:root{color-scheme:dark;--bg:#101b25;--panel:#192835;--panel2:#223646;--line:#314657;--muted:#a3b4c1;--text:#f0f5f8;--lime:#adf06b;--teal:#66d7d1;--red:#ff939b;--shadow:0 16px 40px #0002}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:var(--bg);color:var(--text);font:15px/1.5 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--teal);outline-offset:3px}.topbar{height:88px;display:flex;align-items:center;justify-content:space-between;padding:0 30px;border-bottom:1px solid var(--line);background:#111e29;position:sticky;top:0;z-index:10;gap:18px}.brand{display:flex;align-items:center;gap:10px;font-size:23px;font-weight:850;letter-spacing:-1px;line-height:1.1}.brand-light{color:var(--lime)}.brand small{display:block;color:var(--muted);font-size:8px;letter-spacing:1.4px;margin-top:7px}.brand-mark{display:grid;place-items:center;background:var(--lime);color:#15261a;border-radius:10px;font-size:28px;width:42px;height:45px;transform:skew(-8deg)}.top-actions{display:flex;align-items:center;gap:10px}.wallet{display:flex;align-items:center;gap:10px;background:#243544;padding:9px 10px 9px 14px;border:1px solid #3c4f5e;border-radius:12px;font-variant-numeric:tabular-nums}.wallet small{font-size:8px;letter-spacing:1.5px;color:#b8c9d6;display:block}.wallet strong{font-size:16px}.credit-dot{width:9px;height:9px;border-radius:50%;background:var(--lime)}.wallet button{background:#425a47;border:0;color:var(--lime);width:30px;height:33px;border-radius:7px;font-size:22px}.button{border:1px solid transparent;display:inline-flex;gap:12px;justify-content:center;align-items:center;padding:12px 18px;border-radius:10px;font-weight:700;min-height:46px;transition:background .15s,transform .15s}.button:not(:disabled):active{transform:translateY(1px)}.primary{background:var(--lime);color:#1d3017}.primary:hover:not(:disabled){background:#c4ff8d}.subtle{background:var(--panel2);border-color:#3c5060;color:#e5edf3}.secondary{background:#234841;color:#b9ffe3;border-color:#43876e}.danger{background:#45282e;color:#ffbfc6;border-color:#70424c}.compact{padding:9px 13px;font-size:13px}.full{width:100%;margin-top:14px}.shell{display:flex;max-width:1700px;margin:auto}.sidebar{width:192px;flex-shrink:0;padding:28px 15px;position:sticky;top:88px;height:calc(100dvh - 88px);border-right:1px solid var(--line)}.sidebar-label{font-size:10px;letter-spacing:2px;color:var(--muted);padding:0 13px 18px}nav{display:flex;flex-direction:column;gap:6px}nav a{display:flex;align-items:center;gap:13px;padding:10px 13px;border-radius:9px;color:#b8c9d6;font-size:17px}nav a span{font-size:14px;font-weight:600}nav a:hover{background:#243442}nav a.active{background:#2c3e2d;color:var(--lime)}.sidebar-note{font-size:11px;color:var(--muted);display:flex;gap:8px;margin:28px 10px 0}.status-dot{width:6px;height:6px;background:var(--teal);border-radius:100%;margin-top:5px;flex-shrink:0}.side-disclaimer{color:#8499a9;font-size:11px;margin:18px 10px}main{width:calc(100% - 192px);max-width:1240px;padding:32px 34px 20px;margin:auto}h1,h2,p{margin-top:0}h1{font-size:34px;letter-spacing:-1px;line-height:1.1;margin-bottom:0}h2{font-size:18px;letter-spacing:-.3px}p{color:var(--muted)}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:#b5c8d3;margin-bottom:10px}.hero{position:relative;overflow:hidden;border:1px solid #3a584d;background:radial-gradient(ellipse at 100% 0,#3c7250 0,transparent 50%),linear-gradient(115deg,#233d3d,#1a2b35);border-radius:22px;padding:34px 36px;margin-bottom:28px;box-shadow:var(--shadow)}.hero h1{font-size:clamp(34px,4vw,52px);margin-bottom:14px;max-width:600px}.hero h1 span{color:var(--lime)}.hero p{color:#c0d2cc;max-width:540px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.hero-badge{position:absolute;right:30px;bottom:32px;font-size:10px;letter-spacing:2px;color:#d3eacb;border:1px solid #8cbe7655;border-radius:100%;width:108px;height:108px;display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(10deg)}.hero-badge span{font-size:27px;letter-spacing:-1px;font-weight:800}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px}.section-heading>div{min-width:0}.section-heading h1{overflow-wrap:anywhere}.section-heading h2{margin:0}.section-heading>span,.section-heading>a{font-size:12px;color:var(--muted)}.game-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.game-card{border:1px solid var(--line);background:var(--panel);border-radius:16px;overflow:hidden;transition:transform .18s,border-color .18s}.game-card:hover{transform:translateY(-4px);border-color:#9dce7066}.card-art{height:120px;position:relative;display:flex;align-items:center;justify-content:center;font-size:65px;font-weight:900;text-shadow:0 12px 25px #0004;background:radial-gradient(ellipse at 50% 120%,var(--glow),transparent 80%),#203340;color:var(--accent)}.card-art:before{content:'';position:absolute;width:90px;height:90px;border:1px solid currentColor;opacity:.15;border-radius:24px;transform:rotate(24deg)}.card-copy{padding:14px 17px}.card-copy h3{font-size:17px;margin:0 0 3px}.card-copy p{font-size:11px;margin:0}.benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:28px 0}.benefits div{border-left:2px solid #506448;padding:2px 14px}.benefits b{font-size:13px}.benefits p{font-size:12px;margin:7px 0 0}.card{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:22px}.play-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:16px}.game-controls h2{font-size:15px;margin-bottom:20px}.field{display:block;font-size:12px;color:#afc3d2;font-weight:600;margin-bottom:14px;position:relative}.field input,.field select{display:block;margin-top:7px;width:100%;min-width:0;border:1px solid #496171;border-radius:8px;background:#101f2c;color:var(--text);padding:11px 12px;min-height:44px;font-size:16px}.input-suffix{float:right;font-size:10px;color:#8297a6}.bet-shortcuts{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;margin-top:-6px;margin-bottom:20px}.bet-shortcuts button{background:#293e4f;border:0;color:#d6e0e8;border-radius:5px;padding:8px 0;font-size:12px}.potential{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:12px 0;margin-top:20px;color:var(--lime);font-size:12px;min-height:45px}.game-controls .small{margin:12px 0 0}.muted{color:var(--muted)}.small{font-size:11px}.feedback{font-size:12px;color:var(--red);margin-top:8px;overflow-wrap:anywhere}.stage-label{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;color:var(--muted);margin-bottom:18px}.live-label{font-size:8px;letter-spacing:1.3px;border:1px solid #456253;border-radius:5px;padding:4px 7px;color:#b9d7ab}.game-stage{min-height:470px;display:flex;flex-direction:column;background:radial-gradient(ellipse at 50% 100%,#193b3a80,transparent 60%),#152633}.game-stage #stage-content{flex:1;min-height:300px}.big-result{font-size:clamp(45px,6vw,78px);font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:-3px;text-align:center;margin:60px 0 24px;line-height:1.1}.good{color:var(--lime)}.bad{color:var(--red)}.round-result{text-align:center;margin-top:18px;font-size:13px;color:#bfd0dc;min-height:24px}.result-sub{text-align:center;font-size:12px;color:var(--muted)}.dice-track{height:14px;border-radius:7px;background:#683a49;position:relative;margin:40px 0 30px}.dice-track .win-zone{position:absolute;height:100%;background:#6c9d49;border-radius:7px}.dice-marker{position:absolute;top:-9px;width:5px;height:32px;background:#f5ffe8;border-radius:3px;transform:translateX(-50%);transition:left .3s ease-out}.scale-labels{display:flex;justify-content:space-between;font-size:10px;color:var(--muted)}.tiles{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;max-width:390px;margin:20px auto}.tile{aspect-ratio:1;border:1px solid #496173;border-bottom:4px solid #253948;background:#2b4356;color:#f0fcff;border-radius:10px;font-size:25px;transition:background .15s,transform .15s}.tile:hover:not(:disabled){background:#385c71;transform:translateY(-2px)}.tile.gem{background:#376940;border-color:#6b9f4c;color:#d1ffac}.tile.mine{background:#633640;border-color:#9b5763}.tile:disabled{opacity:1}.keno-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:6px;margin:16px 0}.keno-cell{aspect-ratio:1;border:1px solid #40586a;background:#233c4e;color:#c2d5e4;font-weight:700;border-radius:8px;font-size:13px}.keno-cell.selected{border-color:var(--lime);color:var(--lime);background:#344a34}.keno-cell.drawn{background:#506987;color:white}.keno-cell.hit{background:var(--lime);color:#1d3017;border-color:var(--lime)}.plinko-canvas{width:100%;height:340px;display:block}.crash-graph{height:90px;margin:20px 0;overflow:hidden;border-bottom:1px solid var(--line);position:relative}.crash-progress{height:3px;background:var(--lime);width:100%;transform:scaleX(0);transform-origin:left;position:absolute;bottom:1px;box-shadow:0 -20px 50px #adf06b44}.tag{border:1px solid #46604b;background:#263c2e;border-radius:6px;padding:6px 9px;color:#cae6b7!important;font-size:9px!important;letter-spacing:1px;white-space:nowrap}.recent{margin-top:18px}.history-chips{display:flex;gap:7px;overflow:auto;min-height:32px}.history-chip{padding:7px 11px;background:#253a48;border:1px solid #405563;border-radius:7px;flex-shrink:0;font-size:11px}.history-chip.good{border-color:#516d43}.history-chip.bad{border-color:#63454e}footer{border-top:1px solid var(--line);padding-top:20px;margin-top:32px;font-size:11px;color:#8ea5b6;line-height:1.8}footer b{display:block;color:#c3d4df}.text-button{background:none;border:0;color:var(--teal);padding:0;font-size:inherit}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0}.stat{background:var(--panel);border:1px solid var(--line);padding:20px;border-radius:13px}.stat small{display:block;font-size:10px;color:var(--muted);margin-bottom:8px}.stat strong{font-size:23px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.history-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;padding:14px 0;border-bottom:1px solid var(--line);font-size:12px}.history-row:last-child{border:0}.history-row small{display:block;color:var(--muted);font-size:10px}.history-row>:last-child{text-align:right}.settings{margin-top:20px}.settings-actions{display:flex;gap:10px;flex-wrap:wrap}.empty{padding:24px 0;color:var(--muted);font-size:13px}.profile-banner{display:flex;gap:20px;justify-content:space-between;align-items:center;padding:20px;border-radius:14px;border:1px solid #536748;background:#273d2d}.profile-banner p{font-size:12px;margin:5px 0 0}.view{animation:appear .18s ease-out}dialog{background:#192b39;color:var(--text);border:1px solid #4e6473;border-radius:20px;width:440px;max-width:calc(100vw - 28px);max-height:90dvh;padding:30px;box-shadow:0 24px 100px #0008;overflow:auto}dialog::backdrop{background:#060f19b8;backdrop-filter:blur(5px)}dialog h2{font-size:26px;letter-spacing:-1px;margin:8px 0 12px}dialog p{font-size:13px}.dialog-close{position:absolute;right:14px;top:12px;font-size:24px;background:none;border:0;color:#b3c7d6;width:32px;height:32px}.auth-links{display:flex;justify-content:space-between;gap:10px;margin-top:22px;font-size:12px}.auth-links button{background:none;border:0;padding:0;color:var(--teal)}.form-error{color:var(--red);min-height:18px;margin:8px 0;font-size:12px}.check{font-size:12px;display:flex;align-items:flex-start;gap:9px;margin:18px 0;color:#b8ccd9}.check input{accent-color:var(--lime);width:17px;height:17px;flex-shrink:0}#recovery-key{background:#0f202c;border:1px solid #49616e;color:var(--lime);padding:16px;border-radius:9px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}#toast{position:fixed;bottom:20px;left:50%;transform:translate(-50%,15px);background:#375044;border:1px solid #789b64;border-radius:10px;padding:11px 18px;font-size:12px;max-width:90vw;opacity:0;pointer-events:none;z-index:50;transition:.18s}#toast.show{opacity:1;transform:translate(-50%,0)}@keyframes appear{from{opacity:.4;transform:translateY(3px)}to{opacity:1;transform:none}}@media(max-width:1100px){.hero-badge{display:none}.play-layout{grid-template-columns:225px minmax(0,1fr)}main{padding:25px 22px}.sidebar{width:162px}main{width:calc(100% - 162px)}}@media(max-width:800px){.topbar{padding:12px 16px;height:auto;min-height:78px}.brand{font-size:20px}.brand small{font-size:7px;letter-spacing:1px}.brand-mark{width:33px;height:38px;font-size:24px}.sidebar{width:78px;padding:22px 8px;top:78px}.sidebar-label,.sidebar-note,.side-disclaimer{display:none}nav a{flex-direction:column;gap:1px;font-size:20px;padding:8px 0}nav a span{font-size:9px}main{width:calc(100% - 78px);padding:20px 15px}.game-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{padding:28px}.play-layout{display:flex;flex-direction:column}.game-stage{order:0;min-height:390px}.game-controls{order:1}.game-controls h2{margin-bottom:12px}.game-controls .field{margin-bottom:10px}.game-controls #game-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.potential{margin-top:8px}.benefits{gap:10px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.game-stage #stage-content{min-height:250px}.big-result{margin-top:50px}.wallet{padding:7px 8px}.credit-dot{display:none}.top-actions{gap:6px}#signup-button{display:none}}@media(max-width:520px){.topbar{flex-wrap:wrap;gap:10px;padding:12px}.brand{font-size:20px}.top-actions{margin-left:auto}.wallet{gap:6px}.wallet strong{font-size:12px;max-width:115px;overflow-wrap:anywhere;display:block}.wallet small{font-size:7px}.wallet button{width:25px;height:30px}#account-button{font-size:11px;padding:8px 10px;max-width:95px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shell{display:block}.sidebar{position:static;height:auto;width:100%;padding:8px 10px 0;border:0}nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}nav a{font-size:18px;min-height:48px;border:1px solid #293e4d}nav a span{font-size:9px}main{width:100%;padding:18px 12px}.hero{padding:25px 22px;border-radius:16px}.hero h1{font-size:36px}.hero p{font-size:12px}.hero-actions{gap:8px}.hero-actions .button{padding:10px 13px;font-size:12px}.section-heading>span{font-size:10px}.game-cards{gap:10px}.card-art{height:105px;font-size:56px}.card-copy{padding:12px}.card-copy p{font-size:10px}.benefits{grid-template-columns:1fr;gap:16px}.card{padding:17px}.game-stage{min-height:360px}.game-stage #stage-content{min-height:240px}.plinko-canvas{height:310px}.tiles{gap:6px;margin:15px auto}.tile{font-size:21px;border-radius:8px}.keno-grid{gap:4px}.keno-cell{font-size:11px;border-radius:6px}.round-result{font-size:12px}.big-result{font-size:64px;margin:46px 0 22px}.stats-grid{gap:9px}.stat{padding:15px}.stat strong{font-size:21px}.profile-banner{flex-direction:column;align-items:flex-start;gap:12px}.history-row{font-size:11px;gap:5px}.history-row small{font-size:9px}.settings-actions .button{font-size:12px;padding:10px 12px}dialog{padding:25px 22px}.text-button{display:inline}.stage-label{font-size:10px}.live-label{font-size:7px}.game-controls .full{min-height:50px}.eyebrow{font-size:9px}footer{font-size:10px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}