:root{color-scheme:dark;--bg:#0c101c;--panel:#141a29;--line:#ffffff13;--gold:#efc56c;--text:#f5f4f1;--muted:#929bad;--green:#6fe0b6;font-family:Inter,Segoe UI,Arial,sans-serif}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 70% 30%,#32304b44,transparent 55%),var(--bg);color:var(--text);min-height:100dvh}body:before{content:"";position:fixed;inset:0;pointer-events:none;background-image:radial-gradient(#ffffff0c 1px,transparent 1px);background-size:24px 24px;z-index:-1}button,input,select{font:inherit}button,a,input{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;border:1px solid var(--line);border-radius:10px;background:#1c2334;color:var(--text);padding:12px 18px;transition:transform .15s,background .15s,border-color .15s}button:hover:not(:disabled){border-color:#efc56c80;background:#2c3041;transform:translateY(-2px)}button:disabled{opacity:.42;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid var(--gold);outline-offset:3px}input{min-width:0;width:100%;background:#0c111e;border:1px solid #ffffff22;border-radius:9px;color:white;padding:13px 15px}input[type=checkbox]{width:22px;height:22px;accent-color:var(--gold)}a{color:inherit;text-decoration:none}.topbar{height:96px;max-width:1320px;margin:auto;padding:0 48px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;gap:13px;align-items:center}.brand-symbol{font-size:25px;font-weight:900;letter-spacing:-2px;border:1px solid #efc56c55;padding:12px 10px;border-radius:12px}.brand-symbol span,.gold{color:var(--gold)}.brand-name{font-size:10px;letter-spacing:2.4px;line-height:1.6}.brand-name b{font-size:14px;letter-spacing:4px}.header-right{display:flex;align-items:center;gap:18px}.connection{font-size:10px;letter-spacing:2px;color:var(--green)}.small-button,.menu-button{background:transparent;padding:10px 13px;font-size:12px}.menu-button{font-size:21px;line-height:1}main{max-width:1224px;margin:auto;padding:48px 0 32px;min-height:calc(100dvh - 153px)}.eyebrow{font-size:11px;letter-spacing:3px;text-transform:uppercase;color:var(--gold);font-weight:650;display:flex;align-items:center;gap:10px}.eyebrow:before{content:"";width:25px;height:1px;background:var(--gold)}.hero{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:30px;min-height:350px}.hero h1{font-size:clamp(48px,5.5vw,76px);letter-spacing:-4px;line-height:1.02;margin:22px 0}.hero h1 em{font-style:normal;color:var(--gold)}.hero p{font-size:16px;color:var(--muted);line-height:1.7;max-width:430px}.hero-art{position:relative;height:340px;display:grid;place-items:center;overflow:hidden}.orbit{position:absolute;border:1px solid #efc56c16;border-radius:50%;width:310px;height:310px;transform:rotateX(60deg) rotateZ(-22deg)}.orbit.two{width:450px;height:450px;transform:rotateX(55deg) rotateZ(20deg)}.spotlight{position:absolute;width:250px;height:300px;clip-path:polygon(45% 0,55% 0,100% 100%,0 100%);background:linear-gradient(#efc56c00,#efc56c12);transform:rotate(23deg);left:30px;top:-10px}.spotlight.right{left:auto;right:30px;transform:rotate(-23deg)}.coin{width:180px;height:180px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#ffe8a8,#c2913e 48%,#f4d583 70%,#a97529);border:8px solid #edc46e;box-shadow:inset 0 0 0 3px #7b522c,inset 0 0 0 12px #eac479,0 18px 0 #825721,0 32px 70px #c8953b33;transform:rotate(-16deg);animation:float 5s ease-in-out infinite;color:#6e471f;font-weight:950;font-size:65px;letter-spacing:-8px;text-shadow:1px 2px #ffe5a2}.art-tag{position:absolute;background:#1b2233;border:1px solid #ffffff20;padding:12px 17px;border-radius:12px;box-shadow:0 12px 50px #0005;font-size:12px}.art-tag.one{top:40px;right:28px;transform:rotate(8deg)}.art-tag.two{bottom:32px;left:35px;transform:rotate(-6deg)}.art-tag b{display:block;color:var(--gold);font-size:22px;margin-top:4px}.star{position:absolute;color:var(--gold);font-size:25px;right:80px;bottom:55px}.section-line{display:flex;align-items:center;justify-content:space-between;margin:24px 0 17px}.section-line h2{font-size:18px;letter-spacing:-.4px;margin:0}.text-button{background:transparent;border:0;color:var(--muted);font-size:12px;padding:8px}.mode-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:18px}.mode-card{border:1px solid var(--line);border-radius:16px;padding:25px;background:linear-gradient(145deg,#1b2233,#111725);position:relative;display:flex;flex-direction:column;gap:14px}.mode-card.featured{border-color:#efc56c66;background:linear-gradient(135deg,#302c23,#191c28)}.mode-icon{width:44px;height:44px;display:grid;place-items:center;font-size:23px;background:#ffffff08;border:1px solid #ffffff10;border-radius:12px;color:var(--gold)}.mode-card h3{margin:0;font-size:22px;letter-spacing:-.5px}.mode-card p{margin:0;color:var(--muted);font-size:13px;line-height:1.65;min-height:44px}.mode-card button{margin-top:auto;width:100%;text-align:left;display:flex;justify-content:space-between}.primary{background:var(--gold);border-color:var(--gold);color:#231c10;font-weight:750}.primary:hover:not(:disabled){background:#ffda88;color:#231c10}.badge{position:absolute;right:22px;top:26px;font-size:9px;letter-spacing:1.4px;color:var(--muted);border:1px solid #ffffff15;padding:5px 7px;border-radius:5px}.features{display:flex;gap:26px;margin-top:22px;color:var(--muted);font-size:11px}.features span:before{content:'✓';margin-right:7px;color:var(--gold)}footer{height:57px;max-width:1320px;margin:auto;padding:0 48px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);font-size:9px;letter-spacing:2px;color:#707b91}.footer-right{display:flex;gap:12px}.settings{position:fixed;z-index:20;right:max(20px,calc((100vw - 1224px)/2));top:80px;width:300px;padding:24px;background:#181f30;border:1px solid #ffffff25;border-radius:16px;box-shadow:0 25px 70px #0009;max-height:calc(100dvh - 100px);overflow:auto}.settings h2{margin:0 0 20px;font-size:20px}.settings label{display:flex;align-items:center;justify-content:space-between;margin:18px 0;font-size:14px}.settings button{display:block;width:100%;margin:9px 0;text-align:left}.settings small{color:var(--muted)}.muted{color:var(--muted);font-size:12px;line-height:1.5}.loading{position:fixed;inset:0;background:var(--bg);z-index:100;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px}.loading[hidden]{display:none}.loader-mark{font-size:48px;font-weight:900;letter-spacing:-4px}.loader-mark span{color:var(--gold)}.spinner{width:32px;height:32px;border:2px solid #efc56c22;border-top-color:var(--gold);border-radius:50%;animation:spin .7s linear infinite}.loading p{color:var(--muted);font-size:14px}.toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 30px);width:max-content;padding:15px 22px;background:#283448;color:white;border:1px solid #ffffff30;border-radius:12px;z-index:110;box-shadow:0 10px 30px #0006}.form-panel{max-width:520px;margin:30px auto;padding:34px;border:1px solid var(--line);background:var(--panel);border-radius:20px}.form-panel h1{font-size:34px;letter-spacing:-1px;margin:18px 0}.form-panel label{display:block;font-size:12px;color:var(--muted);margin:22px 0 8px}.form-panel button[type=submit]{width:100%;margin-top:24px}.form-panel p{line-height:1.6}.back{background:transparent;border:0;padding:0;color:var(--muted)}.arena-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.arena-top h1{font-size:25px;margin:0}.round{font-size:11px;letter-spacing:2px;color:var(--muted)}.teams{display:grid;grid-template-columns:repeat(var(--players,3),1fr);gap:12px;margin:20px 0}.team{padding:17px 20px;border-radius:12px;border:1px solid #ffffff15;background:#151d2c;position:relative;overflow:hidden}.team:before{position:absolute;content:'';width:3px;left:0;top:15px;bottom:15px;border-radius:5px;background:#8fa7ff}.team:nth-child(2):before{background:#ed9b9b}.team:nth-child(3):before{background:#6fe0b6}.team:nth-child(4):before{background:#db9ff0}.team.leading{border-color:#efc56c88;background:#28261f}.team-name{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.team strong{display:block;margin-top:6px;font-size:25px;letter-spacing:-.6px}.team .you{color:var(--gold);font-size:10px}.stage{border:1px solid #ffffff15;border-radius:20px;background:radial-gradient(ellipse at top,#37304555,transparent 65%),#121927;min-height:360px;padding:30px;text-align:center;position:relative;overflow:hidden;animation:appear .3s ease-out}.stage-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.category{font-size:10px;text-transform:uppercase;letter-spacing:2px;color:var(--gold);border:1px solid #efc56c33;padding:8px 12px;border-radius:30px}.timer{font-variant-numeric:tabular-nums;font-size:16px;color:var(--muted)}.progress{height:3px;background:#ffffff0c;margin:16px 0 25px;border-radius:3px}.progress i{height:100%;background:var(--gold);display:block;transition:width .4s}.auction-title{font-size:14px;color:var(--muted);margin:22px 0 8px}.big-money{font-size:clamp(40px,6vw,70px);letter-spacing:-3px;color:var(--gold);font-weight:800}.stage h2{font-size:clamp(20px,2.5vw,32px);line-height:1.35;max-width:900px;margin:20px auto 28px}.stage .sub{color:var(--muted);font-size:13px;line-height:1.5}.bid-actions{display:flex;align-items:center;justify-content:center;gap:10px;margin:22px auto 0}.bid-actions button{min-width:110px}.answers{display:grid;grid-template-columns:1fr 1fr;gap:12px;text-align:left}.answer{display:flex;align-items:center;gap:12px;text-align:left;min-height:62px;font-size:14px}.answer b{color:var(--gold);background:#ffffff08;padding:7px 10px;border-radius:7px}.answer.correct{border-color:var(--green);background:#1d493b;opacity:1}.answer.wrong{border-color:#e48686;background:#4e2930;opacity:1}.result{margin-top:18px;font-size:14px;color:var(--green)}.explanation{font-size:12px;line-height:1.6;color:var(--muted);margin:10px auto;max-width:800px}.arena-foot{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-top:14px;color:var(--muted);font-size:11px}.code{font-family:monospace;font-size:44px;letter-spacing:9px;color:var(--gold);padding:24px 0}.waiting{max-width:750px;margin:20px auto;text-align:center}.waiting .teams{text-align:left}.waiting h1{font-size:36px}.inline-actions{display:flex;gap:12px;justify-content:center;margin-top:20px;flex-wrap:wrap}.podium{font-size:64px;margin:8px 0;color:var(--gold);animation:float 3s ease-in-out infinite}.score-list{max-width:700px;margin:25px auto}.score-row{display:grid;grid-template-columns:40px 1fr auto;gap:10px;padding:17px;border-bottom:1px solid var(--line);font-size:14px}.score-row b{color:var(--gold)}dialog{background:#182031;color:var(--text);border:1px solid #ffffff25;border-radius:20px;padding:35px;max-width:560px;width:calc(100% - 30px);line-height:1.8;box-shadow:0 30px 100px #000b}dialog::backdrop{background:#050914cc;backdrop-filter:blur(5px)}.dialog-close{float:right;padding:2px 10px;font-size:24px}.notice{padding:12px 16px;border:1px solid #efc56c33;border-radius:10px;color:var(--gold);font-size:12px;margin:16px 0}.confetti{position:absolute;top:-15px;left:var(--x);width:7px;height:14px;background:var(--gold);animation:fall var(--d) linear infinite;animation-delay:var(--delay);pointer-events:none}.confetti:nth-child(3n){background:#9a8bdb}.confetti:nth-child(2n){background:#6fe0b6}@keyframes float{50%{transform:translateY(-10px) rotate(-12deg)}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes appear{from{opacity:.3;transform:translateY(6px)}}@keyframes fall{to{transform:translateY(600px) rotate(600deg)}}
@media(min-width:1450px){main{padding-top:60px}.hero{min-height:400px}.mode-card{padding:30px}}
@media(max-width:1320px){main{margin:0 48px}.hero h1{font-size:64px}}
@media(max-width:900px){.topbar{padding:0 24px;height:78px}main{margin:0 24px;padding-top:24px;min-height:calc(100dvh - 126px)}.hero{min-height:300px;gap:0}.hero h1{font-size:52px;letter-spacing:-3px}.hero-art{height:280px}.coin{width:140px;height:140px;font-size:50px}.art-tag.one{right:0;font-size:10px}.art-tag.two{left:0;font-size:10px}.art-tag b{font-size:18px}.mode-card{padding:20px;gap:12px}.mode-card h3{font-size:19px}.badge{right:15px;top:25px;font-size:8px}.mode-card p{font-size:12px}.features{gap:15px;font-size:10px}footer{padding:0 24px;height:48px}.stage{padding:22px}.team{padding:14px}.team strong{font-size:23px}}
@media(max-width:600px){.topbar{height:64px;padding:0 16px}.brand-symbol{font-size:20px;padding:8px;border-radius:9px}.brand-name{font-size:8px;letter-spacing:1px}.brand-name b{font-size:11px;letter-spacing:2px}.header-right{gap:7px}.connection{display:none}.small-button{font-size:10px;padding:9px}.menu-button{padding:7px 10px}main{margin:0 16px;padding:20px 0;min-height:calc(100dvh - 104px)}.hero{min-height:0;display:block;position:relative}.hero-art{display:none}.eyebrow{font-size:9px;letter-spacing:2px}.hero h1{font-size:45px;letter-spacing:-2px;margin:16px 0 12px}.hero p{font-size:13px;line-height:1.6;max-width:310px;margin:0}.section-line{margin:22px 0 12px}.section-line h2{font-size:16px}.mode-grid{grid-template-columns:1fr;gap:10px}.mode-card{padding:16px;display:grid;grid-template-columns:38px 1fr auto;gap:6px 12px;border-radius:12px;align-items:center}.mode-icon{grid-row:1/3;width:38px;height:38px;font-size:20px}.mode-card h3{font-size:17px}.mode-card p{font-size:11px;min-height:0;grid-column:2;line-height:1.35}.mode-card button{grid-column:3;grid-row:1/3;width:43px;padding:12px;justify-content:center}.mode-card button .button-label{display:none}.badge{display:none}.features{gap:12px;flex-wrap:wrap;margin-top:16px;font-size:9px}.features span:last-child{display:none}footer{padding:0 16px;height:40px;font-size:8px;letter-spacing:1px}.footer-right{display:none}.settings{right:12px;top:58px;width:min(310px,calc(100vw - 24px))}.arena-top{margin-bottom:10px}.arena-top h1{font-size:18px}.round{font-size:9px;letter-spacing:1px}.teams{gap:6px;margin:10px 0}.team{padding:9px 8px;border-radius:9px}.team-name{font-size:10px}.team strong{font-size:17px;margin-top:4px}.team .you{font-size:8px}.stage{padding:16px 12px;min-height:290px;border-radius:14px}.category{font-size:8px;letter-spacing:1px;padding:6px 9px;max-width:75%}.timer{font-size:13px}.progress{margin:12px 0 15px}.stage h2{font-size:20px;margin:12px 0 17px}.answers{grid-template-columns:1fr;gap:7px}.answer{min-height:43px;padding:8px 10px;gap:8px;font-size:12px}.answer b{padding:4px 7px}.big-money{font-size:49px;letter-spacing:-2px}.auction-title{margin-top:23px;font-size:12px}.bid-actions{gap:7px;flex-wrap:wrap;margin-top:19px}.bid-actions button{padding:12px 10px;min-width:80px;font-size:12px}.stage .sub{font-size:11px}.arena-foot{margin-top:8px;font-size:9px}.arena-foot button{font-size:10px;padding:6px}.explanation{max-height:90px;overflow:auto;font-size:11px}.result{font-size:12px;margin-top:10px}.form-panel{padding:24px;margin:10px auto}.form-panel h1{font-size:28px}.waiting h1{font-size:27px}.code{font-size:36px}.podium{font-size:48px}}
@media(max-height:700px) and (max-width:600px){main{padding-top:12px}.hero h1{font-size:37px;margin:12px 0 8px}.hero p{font-size:12px}.mode-card{padding:12px}.section-line{margin-top:15px}.features{margin-top:12px}.stage{min-height:260px}.stage h2{font-size:18px}.team{padding:7px}.progress{margin:8px 0 12px}.arena-top{margin-bottom:5px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

@media(max-width:600px){body.in-game footer{display:none}body.in-game main{min-height:calc(100dvh - 64px)}.in-game .arena-top h1{max-width:75%;font-size:16px}.in-game .arena-foot #game-rules{display:none}}
@media(max-width:600px) and (max-height:700px){.in-game .stage h2{font-size:16px;line-height:1.25;margin:9px 0 12px}.in-game .answer{min-height:38px;padding:6px 9px}.in-game .stage{padding:12px}.in-game .stage .sub{margin:9px 0}.in-game .explanation{max-height:55px}}

@media(min-width:901px) and (max-height:950px){main{padding-top:28px;padding-bottom:16px}.hero{min-height:280px}.hero-art{height:280px}.hero h1{font-size:64px}.mode-card{padding:22px;gap:12px}.section-line{margin-top:18px;margin-bottom:14px}}
