:root{color-scheme:dark;--bg:#091720;--panel:#12252f;--ink:#f2f3ed;--muted:#9bafb8;--gold:#edc57c;--teal:#6bd9cc;--border:#ffffff1c;font-family:Inter,'Segoe UI',Arial,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);min-height:100dvh}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;border:1px solid var(--border);border-radius:10px;background:#ffffff05;padding:13px 18px;transition:background .2s,transform .2s}button:hover{background:#ffffff13}button:active{transform:translateY(1px)}button:disabled{cursor:default;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid var(--teal);outline-offset:4px}[hidden]{display:none!important}h1,h2,p{margin-top:0}h1{font-size:clamp(40px,5.2vw,73px);font-weight:650;line-height:1.08;letter-spacing:-3px;margin-bottom:24px}h1 em{font-family:Georgia,serif;font-weight:400;color:var(--gold)}.studio{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:-1;background:radial-gradient(ellipse at 78% 44%,#24636244,transparent 47%),radial-gradient(ellipse at 15% 95%,#15344955,transparent 60%)}.beam{position:absolute;width:25%;height:120%;top:-20%;background:linear-gradient(180deg,#64a4a20a,transparent);filter:blur(6px);transform-origin:top}.b1{left:55%;transform:rotate(25deg)}.b2{left:80%;transform:rotate(-28deg)}.orbit{position:absolute;border:1px solid #83b9b109;border-radius:50%;width:950px;height:950px;right:-180px;top:-60px}.o2{width:1200px;height:1200px;right:-310px;top:-190px}.floor{position:absolute;bottom:-100px;left:-20%;right:-20%;height:300px;transform:perspective(500px) rotateX(55deg);background-image:linear-gradient(#5d8c8c12 1px,transparent 1px),linear-gradient(90deg,#5d8c8c12 1px,transparent 1px);background-size:70px 70px;mask-image:linear-gradient(transparent,#000)}.app{max-width:1320px;margin:auto;padding:0 58px;min-height:100dvh;display:flex;flex-direction:column}header{height:108px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);flex-shrink:0}.brand{color:var(--ink);display:flex;gap:12px;text-decoration:none;font-size:13px;letter-spacing:2px;font-weight:750;align-items:center;line-height:1.5}.brand-icon{width:44px;height:44px;display:grid;place-items:center;font-family:Georgia,serif;border:1px solid #edc57c77;transform:rotate(-6deg);color:var(--gold);font-size:20px;letter-spacing:-3px;border-radius:12px}.brand-second{display:block}.header-right{display:flex;gap:26px;align-items:center}.live{font-size:10px;letter-spacing:1.8px;color:var(--muted);display:flex;align-items:center;gap:9px}.live i{width:5px;height:5px;background:var(--teal);border-radius:50%;box-shadow:0 0 14px var(--teal)}.icon-button{height:44px;min-width:44px;padding:5px;font-size:23px}main{flex:1;display:flex;align-items:center}.screen{width:100%;animation:enter .45s ease both}.home{display:grid;grid-template-columns:1.1fr 1fr;position:relative;padding:57px 0 0}.eyebrow{display:flex;align-items:center;gap:10px;font-size:10px;letter-spacing:2.2px;font-weight:650;color:var(--teal);margin-bottom:23px}.eyebrow>span:first-child:empty{width:23px;height:1px;background:var(--teal)}.intro{font-size:16px;color:var(--muted);line-height:1.8;margin-bottom:27px}.language-tabs{display:flex;gap:5px;margin-bottom:20px}.language-tabs button{border:0;color:var(--muted);padding:9px 13px;font-size:12px}.language-tabs button span{margin-left:7px}.language-tabs button.active{background:#ffffff0c;color:var(--ink);box-shadow:inset 0 0 0 1px #ffffff1a}.primary{background:var(--gold);color:#142028;border:0;font-weight:700;min-height:46px;box-shadow:0 6px 25px #edc57c0b}.primary:hover{background:#ffdaa0}.start{width:284px;display:flex;justify-content:space-between;align-items:center;font-size:15px;padding:19px 23px}.start>span:last-child{font-size:23px;line-height:16px}.secondary{background:#ffffff06}.home-links{display:flex;gap:17px;align-items:center;color:#46616d;margin-top:15px}.text-button{border:0;padding:10px 0;color:var(--muted);background:transparent;font-size:13px}.text-button:hover{color:var(--ink);background:transparent}.hero-art{position:relative;height:400px;align-self:center;display:flex;align-items:center;justify-content:center;flex-direction:column;margin-top:-38px}.ring{position:absolute;aspect-ratio:1;border-radius:50%;border:1px solid #88c9bd25;width:340px;top:8px}.ring1{box-shadow:inset 0 0 90px #63ac9d05,0 0 90px #63ac9d05}.ring2{width:300px;top:28px;border:1px dashed #88c9bd20;animation:spin 100s linear infinite}.gem{height:175px;width:175px;transform:rotate(45deg);border:1px solid #edc57c88;border-radius:29px;background:linear-gradient(135deg,#dec18719,#0b242e88);box-shadow:inset 0 0 0 10px #edc57c05,0 0 55px #e0bb7014;position:relative;display:flex;align-items:center;justify-content:center;margin-top:35px;margin-bottom:42px}.gem:before{content:'';position:absolute;inset:13px;border:1px solid #edc57c28;border-radius:20px}.gem span{transform:rotate(-45deg);font:95px Georgia,serif;color:var(--gold);text-shadow:0 0 30px #eac16b35;position:absolute}.gem span:first-child{left:20px;top:26px}.gem span:last-child{right:13px;bottom:20px;font-size:77px}.art-label{font-size:15px;letter-spacing:5px;color:var(--gold)}.art-caption{font-size:8px;letter-spacing:3.5px;color:#87a5ad;margin-top:13px}.spark{position:absolute;color:var(--gold);animation:glow 4s infinite alternate}.s1{top:14px;right:85px;font-size:35px}.s2{left:70px;top:250px;font-size:24px}.s3{right:55px;top:270px;font-size:19px}.facts{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--border);margin-top:45px;padding:28px 0;gap:30px}.facts>div{display:flex;align-items:center;gap:18px}.facts>div+div{border-left:1px solid var(--border);padding-left:30px}.facts b{font-family:Georgia,serif;font-weight:400;font-size:32px;color:var(--gold);white-space:nowrap}.facts b small{font-size:18px}.facts span{font-size:12px;color:var(--muted);max-width:120px;line-height:1.6}footer{display:flex;justify-content:space-between;align-items:center;min-height:63px;color:#6f8792;font-size:9px;letter-spacing:1.3px;border-top:1px solid var(--border);margin-top:15px}.footer-divider{margin:0 12px;color:#45606b}.gameplay{max-width:960px;margin:25px auto}.game-top{display:flex;align-items:center;gap:45px;margin-bottom:20px}.game-top .eyebrow{margin-bottom:6px}.score{font-size:35px;font-weight:700;letter-spacing:-1px}.score small{font-size:13px;letter-spacing:0;margin-left:10px;color:var(--muted)}.stake-display{margin-left:auto;text-align:right}.stake-display span{font-size:10px;letter-spacing:2px;color:var(--muted);display:block}.stake-display b{font-size:26px;font-weight:500;color:var(--gold);display:block;margin-top:7px}.timer{width:76px;height:76px;flex-shrink:0;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:50%;background:radial-gradient(closest-side,#0d2029 85%,transparent 87%),conic-gradient(var(--teal) var(--progress,100%),#ffffff15 0)}.timer span{font-size:25px;font-weight:650;font-variant-numeric:tabular-nums}.timer small{font-size:8px;color:var(--muted);letter-spacing:2px}.timer.urgent{color:#ff9990;background:radial-gradient(closest-side,#0d2029 85%,transparent 87%),conic-gradient(#ff9990 var(--progress),#ffffff15 0)}.question-card{background:linear-gradient(120deg,#18313b,#10242e);padding:27px 32px;border:1px solid #5c949438;border-radius:16px;position:relative;overflow:hidden}.question-meta{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px;color:var(--teal);font-size:11px;letter-spacing:1px}.question-meta button{padding:0;min-height:30px}.question-card h2{font-size:clamp(21px,2.5vw,31px);font-weight:550;line-height:1.4;margin-bottom:16px;letter-spacing:-.5px}.question-line{height:2px;width:45px;background:var(--gold)}.answers{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}.answer{text-align:left;display:flex;align-items:center;gap:15px;padding:17px 20px;min-height:68px;border-color:#ffffff22;background:#132630;line-height:1.4}.answer .letter{color:var(--gold);background:#edc57c0c;border:1px solid #edc57c26;display:grid;place-items:center;border-radius:7px;width:32px;height:32px;flex-shrink:0;font-size:13px}.answer:disabled{opacity:1}.answer.correct{border-color:var(--teal);background:#20534b;animation:pop .3s}.answer.wrong{border-color:#e77d7d;background:#4b272e}.answer.dim{opacity:.5}.game-hint{text-align:center;font-size:10px;color:var(--muted);margin-top:20px;line-height:1.5}.result{margin-top:18px;border-left:2px solid var(--gold);padding:5px 18px}.result strong{color:var(--gold)}.result p{color:var(--muted);font-size:13px;line-height:1.6;margin:7px 0 12px}.result .primary{padding:11px 22px}.bet-screen,.end-screen{max-width:580px;text-align:center;margin:40px auto}.bet-screen .eyebrow,.end-screen .eyebrow{justify-content:center}.bet-screen h1,.end-screen h1{font-size:48px}.bet-screen>p,.end-screen>p{color:var(--muted);line-height:1.6}.bet-box{padding:25px;border:1px solid var(--border);border-radius:16px;background:#112630;margin-bottom:12px}.bet-box>label,form>label{font-size:12px;color:var(--muted);display:block}.amount-wrap{display:flex;justify-content:center;align-items:baseline;gap:9px;margin:14px 0}.amount-wrap input{width:100%;max-width:260px;background:transparent;color:var(--gold);border:0;border-bottom:1px solid #ffffff20;text-align:center;font-size:45px;font-weight:650}.amount-wrap span{color:var(--muted)}input[type=range]{width:100%;accent-color:var(--gold);min-height:25px}.bet-presets{display:flex;gap:7px;margin:10px 0}.bet-presets button{flex:1;padding:10px 6px;font-size:12px}.bet-box p{font-size:11px;color:var(--muted);line-height:1.6}.bet-box>.primary{width:100%}.trophy{font-size:65px;color:var(--gold);margin-bottom:15px;text-shadow:0 0 60px #edc57c88}.final-score{font-size:58px;color:var(--gold);font-weight:700}.final-score small{font-size:15px;margin-left:12px}form{margin:25px 0}.save-row{display:flex;gap:10px;margin-top:10px}input[type=text],input:not([type]){min-width:0;background:#172c36;color:var(--ink);border:1px solid var(--border);border-radius:9px;padding:13px;flex:1}.end-screen>.primary{margin:5px 15px 5px 0}#saved{color:var(--teal)}dialog{width:min(480px,calc(100% - 28px));max-height:88dvh;background:#10232d;color:var(--ink);border:1px solid #78999f55;border-radius:18px;padding:26px;box-shadow:0 20px 90px #0009}dialog::backdrop{background:#020e18bd;backdrop-filter:blur(8px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}.dialog-heading h2{font-size:22px;margin:0}.setting{display:flex;align-items:center;justify-content:space-between;padding:16px 0;border-bottom:1px solid var(--border);gap:14px;font-size:14px}.setting input[type=checkbox]{width:20px;height:20px;accent-color:var(--gold)}.setting input[type=range]{max-width:100px}#menu>.secondary{width:100%;margin-top:12px}.muted{font-size:11px;color:var(--muted);line-height:1.6;margin:16px 0 0}.dialog-actions{display:flex;gap:10px;justify-content:flex-end}#confirm p,#infoBody{color:var(--muted);font-size:14px;line-height:1.7}#infoBody ol{padding-left:20px}#infoBody li{padding:0 0 10px 6px}.rank-row{display:grid;grid-template-columns:24px 1fr auto;gap:12px;padding:12px 0;border-bottom:1px solid var(--border)}.rank-row b{color:var(--gold)}#toast{position:fixed;bottom:max(25px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:max-content;max-width:90vw;background:#21424b;border:1px solid #6bd9cc66;box-shadow:0 8px 35px #0006;border-radius:12px;padding:16px 23px;z-index:20;font-size:14px;line-height:1.5}#loader{position:fixed;inset:0;z-index:50;display:flex;align-items:center;justify-content:center;flex-direction:column;background:var(--bg);text-align:center;padding:25px}#loader p{color:var(--muted);font-size:14px;max-width:450px;line-height:1.8}.loader-mark{font:60px Georgia,serif;color:var(--gold);letter-spacing:-10px;margin-bottom:20px}.loader-mark span{font-size:48px}.spinner{width:27px;height:27px;border:2px solid #edc57c22;border-top-color:var(--gold);border-radius:50%;animation:spin 1s linear infinite;margin-bottom:22px}#resume{margin-top:12px;width:284px}@keyframes spin{to{transform:rotate(360deg)}}@keyframes glow{from{opacity:.3}to{opacity:1}}@keyframes enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes pop{50%{transform:scale(1.015)}}
@media(min-width:1500px){.app{max-width:1400px}.home{padding-top:65px}.hero-art{transform:scale(1.12)}.facts{margin-top:60px;padding:35px 0}}
@media(max-width:900px){.app{padding:0 30px}header{height:85px}.home{padding-top:45px;grid-template-columns:1.2fr 1fr}h1{font-size:47px}.hero-art{transform:scale(.8);transform-origin:center;width:100%}.facts{gap:15px}.facts>div{gap:10px}.facts>div+div{padding-left:15px}.facts span{font-size:10px}.live{font-size:8px}.question-card{padding:22px}.gameplay{margin:20px auto}.answer{padding:15px}.hero-copy{position:relative;z-index:1}}
@media(max-width:600px){.app{padding:0 20px}header{height:72px}.brand{font-size:10px;gap:9px}.brand-icon{width:36px;height:36px;font-size:17px}.live{display:none}.home{display:flex;flex-direction:column;padding-top:27px}.hero-copy{max-width:100%}.home h1{font-size:clamp(37px,10vw,51px);letter-spacing:-1.8px;margin-bottom:17px}.home .eyebrow{font-size:8px;letter-spacing:1.6px;margin-bottom:20px}.intro{font-size:13px;line-height:1.7;margin-bottom:19px}.hero-art{position:absolute;right:-6px;top:60px;width:140px;height:170px;opacity:.17;transform:scale(.6);transform-origin:right top;z-index:-1}.hero-art .art-label,.hero-art .art-caption{display:none}.language-tabs{margin-bottom:14px}.start,#resume{width:100%;padding:17px 20px}.home-links{margin-top:9px;justify-content:center}.facts{display:grid;grid-template-columns:repeat(3,1fr);margin-top:20px;padding:19px 0;gap:10px}.facts>div{flex-direction:column;align-items:flex-start;gap:5px}.facts>div+div{padding-left:12px}.facts b{font-size:26px}.facts span{font-size:9px;line-height:1.5}footer{font-size:7px;min-height:42px;letter-spacing:.5px;margin-top:0}.footer-divider{margin:0 5px}footer #connection{white-space:nowrap}.gameplay{margin:16px auto}.game-top{gap:18px;margin-bottom:14px}.game-top .eyebrow{font-size:8px;letter-spacing:1.5px}.score{font-size:28px}.stake-display span{font-size:8px}.stake-display b{font-size:22px}.timer{width:60px;height:60px}.timer span{font-size:21px}.question-card{padding:16px 18px;border-radius:12px}.question-meta{font-size:9px;margin-bottom:7px}.question-card h2{font-size:19px;line-height:1.35;letter-spacing:-.3px;margin-bottom:12px}.answers{grid-template-columns:1fr;gap:8px;margin-top:12px}.answer{min-height:51px;padding:10px 13px;gap:11px;font-size:13px;border-radius:9px}.answer .letter{width:27px;height:27px;font-size:11px}.game-hint{font-size:8px;margin-top:12px}.result{padding:3px 12px;margin-top:12px}.result strong{font-size:14px}.result p{font-size:12px}.bet-screen,.end-screen{margin:25px auto}.bet-screen h1,.end-screen h1{font-size:37px;letter-spacing:-1.5px;margin-bottom:17px}.bet-box{padding:19px}.amount-wrap input{font-size:36px}.bet-screen .eyebrow,.end-screen .eyebrow{font-size:8px;margin-bottom:17px}.trophy{font-size:42px;margin-bottom:10px}.final-score{font-size:45px}.save-row{flex-direction:column}.save-row input{width:100%}.end-screen>p{font-size:13px}.end-screen form{margin:16px 0}.end-screen>.primary{display:block;width:100%;margin:10px 0}dialog{padding:21px}}
@media(max-height:720px) and (max-width:600px){header{height:58px}.home{padding-top:19px}.home .eyebrow{margin-bottom:13px}.home h1{font-size:37px}.intro{margin-bottom:12px}.facts{margin-top:12px;padding:13px 0}.gameplay{margin:10px auto}.game-top{margin-bottom:10px}.question-card{padding:12px 15px}.question-card h2{font-size:17px}.answer{min-height:46px;padding:8px 12px}.game-hint{margin-top:8px}.bet-screen,.end-screen{margin:18px auto}.bet-screen h1,.end-screen h1{font-size:32px}.bet-box{padding:15px}}
@media(max-height:500px) and (min-width:601px){header{height:55px}.gameplay{margin:10px auto}.game-top{margin-bottom:8px}.timer{width:48px;height:48px}.game-top .eyebrow{font-size:8px}.score{font-size:24px}.question-card{padding:10px 18px}.question-meta{margin-bottom:0}.question-card h2{font-size:18px;margin-bottom:8px}.answers{margin-top:10px;gap:7px}.answer{padding:8px 12px;min-height:43px;font-size:12px}.game-hint{margin-top:8px}footer{min-height:30px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
@media(max-width:600px){.home{overflow:clip}}
@media(max-height:500px) and (min-width:601px){body[data-screen="game"] footer{display:none}body[data-screen="game"] header{height:48px}body[data-screen="game"] .gameplay{margin:6px auto}}
