:root{font-family:Segoe UI,Inter,-apple-system,BlinkMacSystemFont,sans-serif;color:#28243b;background:#f8f7fc;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--purple: #6b43f5;--purple-dark: #5130cf;--ink: #28243b;--muted: #77738a;--line: #eae7f2;--soft: #f1ecff}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,textarea,select{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{cursor:default;opacity:.55}button,a,input,textarea,select,summary{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #a992ff;outline-offset:4px}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:Trebuchet MS,Segoe UI,sans-serif;letter-spacing:-.035em}h1{font-size:2.4rem;line-height:1.12;font-weight:800}h2{font-size:1.75rem;line-height:1.2}h3{font-size:1.27rem}a{color:var(--purple)}svg{flex-shrink:0}.muted{color:var(--muted);line-height:1.65}.small{font-size:.84rem}.center{text-align:center}.full{width:100%}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.button{display:inline-flex;justify-content:center;align-items:center;gap:10px;min-height:46px;padding:12px 21px;border-radius:13px;border:0;font-weight:750;font-size:.92rem;transition:transform .16s,box-shadow .16s,background .16s}.button:hover:not(:disabled){transform:translateY(-2px)}.button:active:not(:disabled){transform:translateY(1px)}.primary{background:var(--purple);color:#fff;box-shadow:0 4px #4a26c1,0 8px 18px #6b43f526}.primary:hover:not(:disabled){background:#7954fc}.soft{background:var(--soft);color:#5b37d5}.dark{background:var(--ink);color:#fff}.danger{background:#c93353;color:#fff}.text-button{border:0;padding:8px 0;background:transparent;display:inline-flex;align-items:center;gap:7px;color:var(--purple);font-weight:650;font-size:.85rem}.text-button:hover{color:var(--purple-dark);text-decoration:underline}.icon-button{width:40px;height:40px;background:#f6f4fa;border:1px solid var(--line);border-radius:12px;display:inline-flex;align-items:center;justify-content:center;color:#625a78}.icon-button:hover{background:#eee8fc}.eyebrow{font-size:.67rem;font-weight:800;letter-spacing:.13em;display:inline-flex;gap:7px;align-items:center}.eyebrow.subtle{color:#635b73}.live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:23px}.section-heading h2{margin-top:7px}.pack-count{color:#645e71;font-size:.79rem;white-space:nowrap}.error-text{padding:12px 16px;background:#fff0f3;color:#a82c48;border:1px solid #f7cad5;border-radius:12px;line-height:1.5;font-size:.88rem}.error-banner{max-width:1192px;margin:16px auto 0;border:1px solid #f1c4cd;border-radius:13px;background:#fff0f3;color:#a82c48;padding:13px 18px;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:.87rem}.error-banner button{background:transparent;color:inherit;border:0;display:flex}.connection-notice{padding:10px 20px;display:flex;align-items:center;justify-content:center;gap:9px;background:#fff4d9;color:#785813;font-size:.8rem}input:not([type=range]){border:1.5px solid #e6e1f0;border-radius:12px;background:#fff;color:var(--ink);padding:13px 15px;min-width:0}input::placeholder{color:#615c6c}.app-shell{min-height:100vh}.arcade-shell{color:#f8f5ff;background-color:#151022;background-image:radial-gradient(ellipse at 18% 55%,#7842f531,transparent 55%),radial-gradient(ellipse at 90% 12%,#ed4faf14,transparent 45%),radial-gradient(#6b527c2b 1px,transparent 1px);background-size:auto,auto,28px 28px;--purple: #bca1ff;--purple-dark: #cfbbff;--ink: #f8f5ff;--muted: #b6accb;--line: #49365e;--soft: #342548}.arcade-shell :is(button,input,select,textarea,summary):focus-visible{outline:3px solid #e4fc7a;outline-offset:4px}.arcade-shell .audio-panel :is(button,input):focus-visible{outline-color:#6b43f5}.topbar{height:78px;background:#151022e8;border-bottom:1px solid #ffffff12;position:sticky;top:0;z-index:15;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);--purple: #bca1ff}.topbar-inner{max-width:1224px;height:100%;margin:auto;padding:0 22px;display:flex;align-items:center;gap:52px}.brand{display:inline-flex;align-items:center;gap:10px;color:#32254a;font-family:Trebuchet MS,sans-serif;font-size:2rem;font-weight:900;letter-spacing:-.075em}.brand-mark{width:37px;height:39px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;background:var(--purple);color:#fff16c;box-shadow:0 3px #5030bc;transform:rotate(-7deg)}.brand-mark svg{width:25px;height:25px;transform:rotate(7deg)}.brand-dot{color:#7b5c15}.topbar .brand{color:#f8f5ff}.topbar .brand-mark{background:#9465fa;color:#f0ff80;box-shadow:0 3px #563291}.topbar .brand-dot{color:#d9f66e}.brand-large{font-size:2.9rem;gap:13px}.brand-large .brand-mark{width:53px;height:55px;border-radius:16px}.brand-large .brand-mark svg{width:34px;height:34px}.brand-button{border:0;background:transparent;padding:0}.main-nav{display:flex;align-items:center;height:100%;gap:25px;white-space:nowrap}.main-nav button{display:flex;align-items:center;gap:7px;height:100%;border:0;border-bottom:3px solid transparent;padding:3px 0 0;background:transparent;color:#c5b9d8;font-size:.85rem;font-weight:650}.main-nav button.active{border-bottom-color:var(--purple);color:var(--purple)}.topbar-right{margin-left:auto;display:flex;align-items:center;gap:19px}.connection-badge{font-size:.7rem;font-weight:650;color:#f0d390;display:flex;gap:6px;align-items:center;white-space:nowrap}.connection-badge.online{color:#b6edcf}.topbar-avatar{width:35px;height:35px;border:3px solid #251834;outline:1px solid #61447a;border-radius:50%;background:#3e2554;color:#e8d4ff;display:grid;place-items:center;font-size:.84rem;font-weight:750}.topbar :is(button,summary):focus-visible{outline:3px solid #e4fc7a;outline-offset:4px}.audio-menu{position:relative}.audio-menu-toggle{min-height:40px;display:flex;align-items:center;justify-content:center;gap:7px;padding:9px 11px;border:1px solid #ffffff1c;border-radius:11px;color:#dfd3f0;background:#ffffff08;cursor:pointer;list-style:none;font-size:.77rem;font-weight:700}.audio-menu-toggle::-webkit-details-marker{display:none}.audio-menu[open] .audio-menu-toggle{box-shadow:0 0 0 2px #bca1ff55}.audio-panel{position:absolute;right:0;top:calc(100% + 14px);width:min(290px,calc(100vw - 28px));padding:22px;border:1px solid #dcd1ee;border-radius:19px;color:#28243b;background:#fff;box-shadow:0 14px 45px #16062530;z-index:20;--line: #eae7f2;--ink: #28243b;--purple: #6b43f5}.audio-panel h2{font-size:1.22rem;margin-bottom:19px}.audio-channel{display:flex;align-items:center;gap:9px;font-size:.79rem;font-weight:700}.audio-channel>svg{color:#7951c5}.audio-channel>span{flex:1}.audio-toggle{min-width:45px;min-height:36px;border:1px solid #d7cce7;border-radius:10px;background:#f3eff9;color:#665578;font-size:.75rem;font-weight:750}.audio-toggle[aria-pressed=true]{background:#6b43f5;border-color:#6b43f5;color:#fff}.audio-volume{display:block;margin:12px 0 22px}.audio-volume>span{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:.72rem;color:#6a5e7a}.audio-volume small{font-size:.7rem}.audio-volume input{display:block;width:100%;min-height:27px;margin:7px 0 0;accent-color:#6b43f5;cursor:pointer}.audio-panel>p{margin-top:-3px;font-size:.7rem;color:#6a5e7a;line-height:1.5}.audio-panel :is(button,input):focus-visible{outline:3px solid #6b43f5;outline-offset:4px}@media(max-width:600px){.audio-menu-toggle{padding:9px}.audio-menu-toggle>span{display:none}.audio-panel{right:-38px}}@media(max-width:480px){.audio-panel{right:0}}.auth-startup{display:grid;place-items:center;padding:20px}.auth-startup .auth-loading{padding:16px 24px}.auth-page{min-height:100vh;background:radial-gradient(ellipse at 10% 15%,#dfd3ff77,transparent 40%),radial-gradient(ellipse at 90% 80%,#ffefb4aa,transparent 35%),#faf8ff;display:grid;place-items:center;overflow:hidden;padding:42px 20px;position:relative}.auth-card{width:min(100%,610px);padding:49px 55px 29px;text-align:center;background:#ffffffed;border:1px solid #eee7fb;border-radius:32px;box-shadow:0 20px 75px #4020680e;position:relative}.auth-card>.eyebrow{color:var(--purple);margin-top:32px;font-size:.64rem}.auth-card h1{font-size:clamp(3.4rem,6vw,4.9rem);margin:20px 0 22px;letter-spacing:-.06em}.auth-card h1 span{color:var(--purple)}.auth-card>.muted{max-width:440px;margin:auto;font-size:.97rem}.auth-features{display:flex;justify-content:center;gap:19px;margin:27px -15px 35px;color:#645c74;font-size:.73rem}.auth-features span{display:inline-flex;align-items:center;gap:5px}.auth-features svg{color:#675591}.auth-card>.button{width:100%;min-height:53px}.auth-loading{display:flex;align-items:center;justify-content:center;gap:10px;color:var(--purple);background:var(--soft);min-height:58px;border-radius:13px;font-size:.9rem}.entry-note{display:flex;gap:11px;align-items:center;text-align:left;padding:19px 23px;color:#695882;border-radius:16px;background:#f4effe;font-size:.89rem;line-height:1.5}.auth-card .error-text{margin-top:17px}.auth-footer{margin-top:35px;padding-top:23px;border-top:1px solid var(--line);color:#615d6b;font-size:.69rem}.auth-footer strong{color:#665c7b;font-weight:700}.auth-footer span{margin:0 7px}.nickname-form{display:grid;gap:13px;text-align:left;padding:22px;border-radius:18px;background:#faf8ff;border:1px solid var(--line)}.nickname-form label{font-size:1.1rem;font-weight:700}.nickname-form p{font-size:.8rem}.nickname-form button{margin-top:4px}.auth-art{position:absolute;inset:0;pointer-events:none}.orbit-circle{position:absolute;width:790px;height:790px;border:1px dashed #ded2f4;border-radius:50%;top:50%;left:50%;transform:translate(-50%,-50%)}.floating-icon{position:absolute;width:86px;height:86px;display:grid;place-items:center;border-radius:25px;box-shadow:0 15px 30px #4121640b;transform:rotate(-10deg);animation:float 5s ease-in-out infinite}.floating-icon svg{width:45px;height:45px}.float-one{top:18%;left:calc(50% - 430px);background:#fff3c9;color:#775a1a}.float-two{bottom:17%;left:calc(50% - 400px);background:#d8f5ed;color:#1c6b5e;animation-delay:-2s}.float-three{top:27%;right:calc(50% - 430px);background:#eee2ff;color:#735199;animation-delay:-1s}.home-page{max-width:1160px;padding:42px 26px 0;margin:auto}.arcade-start{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:center;gap:66px;min-height:calc(100svh - 192px)}.arcade-hero{position:relative;min-width:0}.arcade-eyebrow{display:inline-flex;gap:8px;align-items:center;color:#d5c0fc;font-size:.71rem;letter-spacing:.16em;font-weight:800}.arcade-hero h1{font-family:Trebuchet MS,Segoe UI,sans-serif;font-size:clamp(3rem,5.7vw,4.9rem);font-weight:900;line-height:.98;letter-spacing:-.06em;margin-top:22px}.arcade-hero h1>span{color:#e2f888;text-shadow:0 5px 0 #6a763733}.arcade-hero>p{color:#c2b5d6;font-size:.95rem;line-height:1.7;margin-top:20px}.arcade-menu-column{min-width:0}.arcade-loading{color:#c2b5d6;font-size:.8rem;text-align:center;margin:16px 0}.arcade-menu-column>.error-text{margin-top:16px}.home-footer{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:25px 0 28px;color:#b5a9c9;font-size:.72rem}.home-footer span:last-child{display:inline-flex;gap:7px;align-items:center}@media(max-width:980px){.arcade-start{gap:30px}.arcade-hero h1{font-size:3.7rem}.home-page{padding-top:30px}}@media(max-width:760px){.home-page{max-width:560px;padding:32px 18px 0}.arcade-start{grid-template-columns:1fr;min-height:0;gap:28px}.arcade-hero{padding-right:95px}.arcade-hero h1{font-size:clamp(2.55rem,8vw,3.6rem)}.arcade-hero>p{font-size:.86rem}.arcade-eyebrow{font-size:.62rem}.home-footer{font-size:.66rem;padding-top:26px}}@media(max-width:400px){.arcade-hero{padding-right:0}}.arcade-art{height:296px;margin-top:10px;position:relative;display:grid;place-items:center;isolation:isolate}.arcade-halo{position:absolute;width:285px;height:285px;border:1px solid #ac70ff40;border-radius:50%;background:radial-gradient(circle,#9157ed26,transparent 68%);animation:arcade-glow 5s ease-in-out infinite}.arcade-halo:after{content:"";position:absolute;inset:24px;border:1px dashed #c391fc40;border-radius:50%}.arcade-floor{position:absolute;bottom:4px;width:300px;height:45px;background:radial-gradient(ellipse,#06020dad,transparent 70%)}.arcade-cabinet{position:relative;width:211px;background:#8550dc;border:3px solid #cd9fff;border-radius:19px 19px 14px 14px;box-shadow:12px 12px #291641,0 0 55px #ad50f42b;transform:rotate(-6deg);animation:cabinet-float 6s ease-in-out infinite;overflow:hidden}.cabinet-marquee{display:flex;align-items:center;justify-content:center;gap:7px;padding:13px 7px;color:#effe9a;background:#422461;font-weight:900;font-size:1.2rem;letter-spacing:-.05em}.cabinet-marquee>span{font-size:.53rem;letter-spacing:.12em;color:#f4e7ff}.cabinet-screen{position:relative;display:flex;align-items:center;flex-direction:column;justify-content:center;height:158px;margin:12px;background:#170e29;border:3px solid #4c286d;border-radius:10px;overflow:hidden}.cabinet-screen:after{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(transparent 0 3px,#0e091c22 3px 4px)}.cabinet-screen-label{position:absolute;top:10px;z-index:1;font-size:.48rem;font-weight:800;letter-spacing:.16em;color:#d7c0fc}.cabinet-orbit{position:absolute;width:130px;height:130px;border-radius:50%;background:#b580ef16;border:1px solid #9460c654}.cabinet-trophy{position:relative;color:#ffdd74;fill:#ffdd742e;filter:drop-shadow(0 5px 0 #a7612f52);transform:rotate(6deg)}.cabinet-screen-caption{position:absolute;bottom:9px;font-size:.44rem;letter-spacing:.14em;color:#e5f6a6;font-weight:800}.cabinet-controls{display:flex;gap:10px;align-items:center;justify-content:center;padding:2px 10px 17px}.cabinet-controls>span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#ff98d2;color:#3b2156;box-shadow:0 4px #60256d;font-size:.65rem;font-weight:800}.cabinet-controls>span:nth-child(2){background:#b4f5e3}.cabinet-controls>span:nth-child(3){background:#ffdc94}.cabinet-controls>span:nth-child(4){background:#d3b9ff}.cabinet-base{display:flex;align-items:center;justify-content:center;gap:5px;height:24px;background:#4c2d71}.cabinet-base>span{width:19px;height:3px;border-radius:4px;background:#9760c7}.arcade-sticker{position:absolute;display:inline-flex;align-items:center;gap:7px;padding:12px 14px;border:2px solid #d4bdf7;border-radius:13px;font-size:.58rem;letter-spacing:.06em;font-weight:850;white-space:nowrap}.streak-sticker{background:#3c254f;color:#ffd19e;top:59px;left:-4px;transform:rotate(-10deg);box-shadow:0 5px #0e061b7d}.crown-sticker{background:#e0f485;color:#303c1b;bottom:32px;right:-1px;transform:rotate(8deg);border-color:#edffa9;box-shadow:0 5px #76864173}.arcade-spark{position:absolute;font-size:35px;color:#d5b3ff}.spark-a{top:21px;right:30px;transform:rotate(12deg)}.spark-b{bottom:35px;left:40px;color:#e0f485}@keyframes cabinet-float{0%,to{transform:translateY(0) rotate(-6deg)}50%{transform:translateY(-9px) rotate(-4deg)}}@keyframes arcade-glow{0%,to{opacity:.65}50%{opacity:1}}@media(max-width:980px){.arcade-sticker{font-size:.5rem;padding:10px}.streak-sticker{left:-9px}.crown-sticker{right:-6px}}@media(max-width:760px){.arcade-art{position:absolute;width:108px;height:145px;right:-4px;bottom:0;margin:0}.arcade-cabinet{flex-shrink:0;scale:.48}.arcade-halo{width:146px;height:146px}.arcade-floor{width:138px;bottom:0}.arcade-sticker,.arcade-spark{display:none}}@media(max-width:400px){.arcade-art{display:none}}.start-menu{color:#f8f5ff;background:linear-gradient(150deg,#322344,#231a34);border:2px solid #755391;border-radius:25px;padding:28px;box-shadow:0 8px #0b0716,0 26px 65px #05020c38,inset 0 1px #ffffff16}.start-greeting{display:block;font-size:.78rem;color:#cbb9de;overflow-wrap:anywhere}.start-menu h2{font-size:2rem;margin:6px 0 23px;letter-spacing:-.04em}.start-form{min-width:0}.play-modes{display:flex;gap:10px;margin-bottom:23px}.play-modes button{flex:1;min-width:0;border-radius:13px;border:1px solid #705082;background:#ffffff04;color:#e3d3f0;padding:14px 11px;display:flex;align-items:center;gap:9px;text-align:left;transition:transform .15s,background .15s}.play-modes button>span{display:grid;gap:4px;font-size:.87rem;font-weight:800}.play-modes button small{display:block;color:#beacd0;font-size:.62rem;font-weight:500;line-height:1.3}.play-modes button.selected{border-color:#c7ea7a;background:#dff28a;color:#293219;box-shadow:0 3px #6a7939}.play-modes button.selected small{color:#4a5a27}.play-modes button:hover:not(:disabled){transform:translateY(-2px)}.start-label{display:block;font-size:.77rem;font-weight:750;color:#e0d3ef;margin-bottom:8px}.custom-topic{margin-top:18px}.custom-topic textarea{width:100%;min-height:93px;resize:vertical;border:1px solid #7c6591;background:#181024;color:#f2ecfa;padding:11px 14px;line-height:1.5;border-radius:12px;font-size:.87rem}.custom-topic textarea::placeholder{color:#baa8cb}.custom-topic p{font-size:.68rem;color:#c5b5d5;line-height:1.5;margin-top:7px}.race-options{margin:15px 0 22px}.race-options>summary{cursor:pointer;list-style:none;padding:12px 3px;display:flex;align-items:center;gap:10px;color:#d2c1e3}.race-options>summary::-webkit-details-marker,.invite-menu>summary::-webkit-details-marker{display:none}.race-options>summary>span{flex:1;display:grid;gap:4px;font-size:.76rem;font-weight:650}.race-options>summary small{display:block;font-size:.67rem;font-weight:400;color:#c1afcf}.race-options[open]>summary>svg:last-child,.invite-menu[open]>summary>svg:last-child{transform:rotate(180deg)}.race-options[open]>summary{border-bottom:1px solid #655076;margin-bottom:16px}.start-menu .quiz-settings{padding:0;border:0;margin:0}.start-menu .quiz-settings legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.start-menu .quiz-setting-row{grid-template-columns:1fr 1fr;gap:17px}.start-menu .quiz-setting-row>div:first-child{grid-column:1 / -1}.start-menu .setting-label{font-size:.74rem}.start-menu .question-level{background:#191125;padding:4px}.start-menu .question-level button{color:#ccbddc}.start-menu .question-level button.active{background:#ae83f1;color:#211034;font-weight:750}.start-menu .setting-label input,.start-menu .setting-label select{background:#191125;color:#f4ebfc;border-color:#756189;font-size:.83rem;color-scheme:dark}.start-menu .feature-switches{grid-template-columns:1fr;gap:14px;margin-top:20px}.start-menu .feature-switches label{font-size:.74rem;color:#e0d2ee}.start-menu .feature-switches small{color:#bbacce;font-size:.67rem;margin-top:3px}.start-menu .feature-switches input{accent-color:#c6a1ff}.bot-options{margin-top:20px}.bot-options>span{font-size:.74rem;font-weight:700}.bot-options>div{display:flex;gap:6px;margin-top:10px}.bot-options button{flex:1;padding:10px 6px;border:1px solid #735982;border-radius:9px;background:#191125;color:#d7c7e8;text-transform:capitalize;font-size:.78rem}.bot-options button[aria-pressed=true]{color:#211034;background:#ae83f1;border-color:#ae83f1;font-weight:750}.start-menu .play-button{width:100%;min-height:58px;font-size:1.18rem;letter-spacing:-.02em;border:1px solid #eaffaa;border-radius:13px;background:#dff28a;color:#263018;box-shadow:0 5px #809347,0 12px 24px #c6ed6820}.start-menu .play-button:hover:not(:disabled){background:#eaff9c;box-shadow:0 7px #809347,0 15px 24px #c6ed682a}.start-menu .play-button:active:not(:disabled){transform:translateY(3px);box-shadow:0 2px #809347}.start-hint{color:#c4b2d3;font-size:.7rem;line-height:1.5;margin-top:19px;text-align:center}.start-menu>.error-text{margin-top:16px}.invite-menu{margin-top:25px}.invite-menu>summary{display:flex;gap:9px;align-items:center;justify-content:center;list-style:none;color:#d7c5ea;cursor:pointer;font-size:.79rem;font-weight:650;min-height:42px}.invite-menu .join-form{margin-top:9px;padding:18px;border:1px dashed #816493;border-radius:16px;background:#291d3c}.invite-menu .join-form>p{color:#d5c6e5;font-size:.74rem;line-height:1.5;margin-bottom:14px}.join-input{display:flex;gap:10px}.invite-menu .join-input input{min-width:0;width:0;flex:1;background:#181024;color:#f4ecfc;border-color:#7c6591;text-transform:uppercase;letter-spacing:.12em;font-size:.85rem}.invite-menu .join-input input::placeholder{color:#baa8cb}.invite-menu .join-input .button{background:#bda0f8;color:#211034;padding:11px 15px;font-size:.86rem}@media(max-width:980px){.start-menu{padding:24px}.play-modes button{padding:12px 9px;gap:7px}.play-modes button svg{width:19px}}@media(max-width:400px){.start-menu{padding:22px 18px}.play-modes button>span{font-size:.8rem}.play-modes button small{font-size:.58rem}.start-menu h2{font-size:1.85rem}}@media(prefers-reduced-motion:reduce){.play-modes button:hover:not(:disabled){transform:none}}.topic-choice-button{display:flex;align-items:center;gap:13px;width:100%;min-height:80px;border:1px solid #7c6591;border-radius:14px;background:#181024;color:#f2ecfa;padding:9px 13px 9px 9px;text-align:left;transition:border-color .16s,background .16s}.topic-choice-button:hover:not(:disabled){border-color:#c6a1ff;background:#211631}.topic-choice-button>img,.custom-topic-cover{width:79px;height:58px;flex-shrink:0;object-fit:cover;border-radius:8px}.custom-topic-cover{display:grid;place-items:center;color:#e0f485;background:linear-gradient(135deg,#724c9b,#3c2556)}.topic-choice-copy{min-width:0;flex:1;display:grid;gap:6px}.topic-choice-copy strong{display:block;font-size:.88rem;font-weight:800;line-height:1.3;overflow-wrap:anywhere}.topic-choice-copy small{font-size:.65rem;line-height:1.5;color:#c5b4d6}.topic-choice-button>svg{color:#c9addf}.topic-customize{margin-top:9px}.topic-customize>summary{min-height:40px;display:flex;align-items:center;gap:8px;color:#d5c4e5;font-size:.72rem;list-style:none;cursor:pointer;padding:8px 3px}.topic-customize>summary::-webkit-details-marker{display:none}.topic-customize>summary>span{flex:1}.topic-customize[open]>summary>svg:last-child{transform:rotate(180deg)}.topic-customize .custom-topic{margin-top:10px}@media(max-width:400px){.topic-choice-button{gap:10px}.topic-choice-button>img,.custom-topic-cover{width:64px;height:54px}}.topic-browser{width:min(880px,calc(100vw - 40px));max-width:none;max-height:calc(100svh - 48px);padding:0;border:2px solid #8059a1;border-radius:23px;background:#21162f;color:#f8f3ff;box-shadow:0 24px 100px #07020dcc;overflow:hidden}.topic-browser::backdrop{background:#0b061bcc;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.topic-browser-body{display:flex;flex-direction:column;max-height:calc(100svh - 52px)}.topic-browser-header,.topic-browser-search,.topic-browser-footer{flex-shrink:0}.topic-browser-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:25px 27px 20px}.topic-browser-header>div{min-width:0}.topic-browser-header>div>span{display:flex;gap:7px;align-items:center;font-size:.61rem;letter-spacing:.12em;font-weight:800;color:#d3b4f5}.topic-browser-header h2{font-size:1.8rem;margin:9px 0 8px}.topic-browser-header p{color:#c2afd4;font-size:.78rem;line-height:1.5}.topic-browser-close{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;border:1px solid #745387;background:#332040;color:#e1cfee;border-radius:12px}.topic-browser-search{padding:0 27px 15px}.topic-browser-search label{display:flex;align-items:center;gap:10px;background:#140c21;border:1px solid #785c8d;border-radius:12px;padding:0 14px;color:#c7b3dc}.topic-browser-search input{width:100%;min-width:0;min-height:48px;border:0;border-radius:10px;background:transparent;color:#f5ecff;padding:11px 0;font-size:.88rem;color-scheme:dark}.topic-browser-search input::placeholder{color:#bcabcd}.topic-browser-search label:focus-within{outline:3px solid #e4fc7a;outline-offset:3px}.topic-browser-search input:focus-visible{outline:none}.topic-browser-search p{color:#bda8d0;font-size:.69rem;margin-top:12px}.topic-browser-results{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#76558e #21162f;padding:3px 27px 24px}.topic-browser-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.topic-tile{display:flex;flex-direction:column;text-align:left;min-width:0;padding:0;border:2px solid #5b3f71;border-radius:14px;background:#30203e;color:#f1e7fa;transition:transform .16s,border-color .16s}.topic-tile:hover{border-color:#b589dc;transform:translateY(-3px)}.topic-tile.is-selected{border-color:#deef8c;box-shadow:0 0 0 1px #deef8c}.topic-tile-cover{position:relative;display:block;width:100%;overflow:hidden;border-radius:11px 11px 0 0}.topic-tile-cover>img{width:100%;height:auto;aspect-ratio:12 / 7;display:block;object-fit:cover}.topic-tile-selected{position:absolute;bottom:7px;left:7px;display:inline-flex;gap:3px;align-items:center;padding:4px 6px;border-radius:6px;background:#e0f485;color:#303c1b;font-size:.57rem;font-weight:800}.topic-tile-copy{display:grid;gap:6px;padding:12px}.topic-tile-copy small{color:#c4acd8;font-size:.61rem;line-height:1.3}.topic-tile-copy strong{color:#f1e7fa;font-size:.79rem;font-weight:750;line-height:1.4}.topic-browser-empty{min-height:160px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;text-align:center;color:#c9b6de}.topic-browser-empty h3{color:#f5ecff;font-size:1.08rem}.topic-browser-empty p{font-size:.8rem;line-height:1.6}.topic-browser-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 27px;border-top:1px solid #5c3f73;background:#2b1b3a}.topic-browser-footer>span{color:#c2afd4;font-size:.72rem;line-height:1.5}.topic-browser-footer button{display:inline-flex;gap:8px;align-items:center;justify-content:center;border:1px solid #edffb1;border-radius:10px;color:#293319;background:#dff28a;padding:11px 14px;font-size:.77rem;font-weight:800;min-height:43px;white-space:nowrap}.topic-browser :is(button,input):focus-visible{outline:3px solid #e4fc7a;outline-offset:3px}.topic-browser .topic-browser-search input:focus-visible{outline:none}@media(max-width:700px){.topic-browser-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:520px){.topic-browser{width:calc(100vw - 20px);max-height:calc(100svh - 20px);border-radius:19px}.topic-browser-body{max-height:calc(100svh - 24px)}.topic-browser-header{padding:20px 17px 18px;gap:10px}.topic-browser-header h2{font-size:1.45rem}.topic-browser-header>div>span{font-size:.5rem}.topic-browser-search{padding:0 17px 13px}.topic-browser-results{padding:3px 17px 19px}.topic-browser-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.topic-browser-footer{padding:14px 17px}.topic-browser-footer>span{display:none}.topic-browser-footer button{width:100%}}@media(prefers-reduced-motion:reduce){.topic-tile:hover{transform:none}}.pack-art{height:139px;position:relative;display:grid;place-items:center;overflow:hidden;--art-color: #9265cc;--art-bg: #eee1fc;color:var(--art-color);background:var(--art-bg)}.art-general{--art-color: #ae76d8;--art-bg: #f0e0fa}.art-science{--art-color: #45a891;--art-bg: #dff3e9}.art-geography{--art-color: #589fd0;--art-bg: #e0effb}.art-technology{--art-color: #7182d5;--art-bg: #e7eafa}.art-sports{--art-color: #d89439;--art-bg: #fcf0d8}.art-entertainment{--art-color: #d78093;--art-bg: #fbe6ec}.pack-illustration{position:relative;z-index:2;width:70px;height:70px;transform:rotate(-8deg);transition:transform .4s;filter:drop-shadow(0 5px 0 color-mix(in srgb,var(--art-color) 17%,transparent))}.art-orbit{width:142px;height:142px;border-radius:50%;border:1px dashed color-mix(in srgb,var(--art-color) 25%,transparent);position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}.art-orbit:after{content:"";position:absolute;inset:10px;border-radius:50%;background:color-mix(in srgb,var(--art-color) 8%,transparent)}.art-spark{position:absolute;opacity:.5}.spark-one{left:19%;top:21%;font-size:24px;transform:rotate(-13deg)}.spark-two{right:17%;bottom:19%;font-size:29px}.art-dot{width:6px;height:6px;border-radius:50%;position:absolute;background:currentColor;opacity:.4}.dot-one{right:24%;top:25%}.dot-two{left:24%;bottom:25%;width:4px;height:4px}.art-tile{width:26px;height:26px;border:2px solid currentColor;opacity:.15;border-radius:7px;transform:rotate(20deg);position:absolute;right:7%;top:46%}.category-label{display:inline-flex;align-items:center;font-size:.57rem;font-weight:750;color:#6c597e;border-radius:5px;background:#f2eaf9;padding:4px 6px;text-transform:uppercase;letter-spacing:.055em}.preparation-status{margin:20px 0;padding:17px;border-radius:14px;display:flex;align-items:center;gap:13px;background:var(--soft);color:#5130cf;font-size:.85rem}.preparation-status p{margin-top:7px;line-height:1.6}.preparation-ready{background:#eefaf4;color:#236e4a}.preparation-failed{display:block;background:#fff0f3;color:#a82c48}.preparation-failed .button{margin-top:12px}.lobby-topic{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.85rem;line-height:1.6;padding-top:20px}.lobby-settings,.result-settings{font-size:.75rem;line-height:1.6;color:#625b73;margin-top:13px}.personal-bests{display:grid;gap:10px;margin-top:25px}.personal-bests>div{padding:15px;border:1px solid var(--line);border-radius:12px;background:#fff;display:grid;gap:6px;font-size:.8rem}.personal-bests small{line-height:1.6;color:#625b73}.topic-spinner{animation:topic-spin 1s linear infinite}@keyframes topic-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.topic-spinner{animation:none}}.quiz-settings{border:1px solid var(--line);border-radius:15px;padding:19px;margin:24px 0;min-width:0}.quiz-settings legend{font-size:.85rem;font-weight:750;padding:0 7px}.quiz-setting-row{display:grid;grid-template-columns:1.3fr .7fr 1fr;gap:19px;align-items:end}.setting-label{display:block;font-size:.8rem;font-weight:700}.question-count-label{display:flex;align-items:center;justify-content:space-between;gap:8px}.question-count-label small{font-size:.68rem;font-weight:400;color:var(--muted)}.quiz-settings .setting-label{margin:0}.setting-label input,.setting-label select{display:block;width:100%;margin-top:10px;min-height:46px}.setting-label select{border:1.5px solid #e6e1f0;border-radius:12px;background:#fff;color:var(--ink);padding:11px}.question-level{display:flex;gap:5px;margin-top:10px;padding:5px;border-radius:12px;background:var(--soft)}.question-level button{flex:1;border:0;border-radius:8px;padding:9px;color:#625b73;background:transparent;font-size:.8rem;text-transform:capitalize}.question-level button.active{color:#fff;background:var(--purple)}.feature-switches{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px;margin-top:22px}.quiz-settings .feature-switches label{display:flex;align-items:flex-start;gap:10px;margin:0;font-size:.77rem;line-height:1.5;cursor:pointer}.feature-switches input[type=checkbox]{width:18px;height:18px;margin:2px 0 0;accent-color:var(--purple);flex-shrink:0}.feature-switches small{display:block;margin-top:5px;font-size:.68rem;font-weight:400;color:#625b73}@media(max-width:650px){.quiz-settings{padding:16px}.quiz-setting-row{grid-template-columns:1fr 1fr;gap:16px}.quiz-setting-row>div:first-child{grid-column:1 / -1}.feature-switches{grid-template-columns:1fr;gap:16px}}.game-page{max-width:1200px;padding:36px 24px 55px;margin:auto}.game-page-title{margin-bottom:30px}.game-page-title h1{margin:10px 0}.game-page-title p{font-size:.9rem}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:25px;align-items:start}.waiting-panel{border:1px solid var(--line);background:#fff;padding:30px;border-radius:24px}.lobby-pack{display:flex;gap:19px;align-items:center;padding-bottom:27px;border-bottom:1px solid var(--line)}.lobby-pack .pack-art{height:96px;width:110px;flex-shrink:0;border-radius:16px}.lobby-pack .pack-illustration{width:48px;height:48px}.lobby-pack .art-orbit{width:94px;height:94px}.lobby-pack .art-spark{display:none}.lobby-pack h2{font-size:1.6rem;margin:9px 0}.lobby-pack p{display:flex;align-items:center;gap:7px;color:#645b6c;font-size:.75rem}.invite-panel{text-align:center;padding:30px 12px 27px}.invite-code{font-size:clamp(2.4rem,5vw,3.8rem);font-weight:900;letter-spacing:.18em;color:#6b43d4;margin:13px 0 17px;font-variant-numeric:tabular-nums;-webkit-user-select:all;user-select:all;padding-left:.18em}.invite-panel .button{min-height:40px;font-size:.8rem}.invite-panel p{font-size:.74rem;color:#635a6b;margin-top:14px}.lobby-rules{border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:grid;gap:13px;padding:21px 0;margin-bottom:25px}.lobby-rules span{display:flex;gap:10px;align-items:center;font-size:.79rem;color:#685c72}.lobby-rules svg{color:#625773}.waiting-panel .center{margin-top:16px;font-size:.71rem}.leave-button{display:flex;margin:17px auto -6px;color:#635a6b;font-size:.76rem}.waiting-for-host{background:#f4efff;color:#6f4f98;border-radius:13px;padding:17px;display:flex;align-items:center;justify-content:center;gap:9px;font-size:.85rem}.countdown-page{min-height:calc(100vh - 78px);display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;background:radial-gradient(ellipse at center,#eee5ff 0,#faf8ff 65%);position:relative;text-align:center;padding:30px}.countdown-page>.eyebrow{color:#6b508f;position:relative;z-index:1}.countdown-page h1{font-size:2.6rem;margin:22px 0 15px;position:relative;z-index:1}.countdown-number{font-family:Trebuchet MS,sans-serif;font-size:clamp(7rem,20vw,11rem);font-weight:900;line-height:1.2;color:var(--purple);text-shadow:0 8px 0 #d7c1f9;position:relative;z-index:1;animation:countdown-pop .4s cubic-bezier(.1,.7,.1,1)}.countdown-page>p{margin-top:12px;color:#685976;font-size:.91rem;position:relative;z-index:1}.countdown-tips{margin-top:32px;display:flex;align-items:center;gap:7px;font-size:.76rem;color:#6c5a7b;position:relative;z-index:1}.countdown-orbit{position:absolute;top:50%;left:50%;width:365px;height:365px;transform:translate(-50%,-50%);border:1px dashed #cbb5ed;border-radius:50%}.countdown-orbit span{position:absolute;inset:-45px;border:1px solid #e5d7f6;border-radius:50%}.countdown-orbit span:last-child{inset:-90px;border-color:#eee5f9}.race-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 28px}.race-header h1{margin-top:8px;font-size:1.9rem}.score-hud{display:flex;gap:8px}.score-hud>span{display:grid;grid-template-columns:auto auto;gap:5px 7px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:13px;padding:11px 16px;min-width:80px}.score-hud svg{color:#66567b}.score-hud strong{color:#664e83;font-size:1.1rem;animation:score-pop .3s ease-out}.score-hud small{grid-column:1 / 3;color:#665c6d;font-size:.55rem;text-transform:uppercase;letter-spacing:.08em;text-align:center}.score-hud .streak-hot{background:#fff1df;border-color:#f8d9ac}.score-hud .streak-hot svg,.score-hud .streak-hot strong{color:#825625}.question-card{background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:0 5px 20px #48236905}.question-topline{display:flex;align-items:center;justify-content:space-between;padding:23px 28px 19px}.question-counter{font-size:.65rem;letter-spacing:.08em;font-weight:750;color:#665d6e;display:flex;align-items:baseline;gap:7px}.question-counter strong{color:#71509d;font-size:1.15rem}.question-counter>span{font-size:.79rem;color:#635c6b}.question-clock{display:flex;gap:7px;align-items:center;color:#705396;border-radius:100px;padding:6px 10px;background:#f4effa;font-variant-numeric:tabular-nums}.question-clock strong{font-size:1.1rem;min-width:23px;text-align:center}.question-clock>span{font-size:.62rem}.question-timebar{margin:0 28px;height:5px;background:#f2ebfb;border-radius:4px;overflow:hidden}.question-timebar span{height:100%;display:block;background:#ad8dda;transition:width 80ms linear;border-radius:inherit}.time-low .question-timebar span{background:#ec8b8f}.time-low .question-clock{color:#904950;background:#fff0f1}.question-content{padding:38px 28px 29px;animation:question-enter .25s ease-out}.question-content h2{font-size:clamp(1.5rem,2.7vw,2rem);text-align:center;min-height:76px;display:flex;align-items:center;justify-content:center;line-height:1.35;letter-spacing:-.025em;color:#4b365e;outline:none}.question-content>p{margin:15px 0 30px;color:#655a6c;font-size:.74rem;text-align:center}.answer-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.answer-tile{--tile: #7746bf;--shadow: #5a2f9b;min-height:112px;display:flex;align-items:center;gap:13px;padding:20px 17px;border:0;border-radius:15px;background:var(--tile);color:#fff;box-shadow:0 5px 0 var(--shadow);font-size:1rem;font-weight:700;text-align:left;position:relative;transition:transform .12s,box-shadow .12s,filter .12s}.answer-1{--tile: #c23d60;--shadow: #9d2545}.answer-2{--tile: #177d73;--shadow: #0f6158}.answer-3{--tile: #ffd17b;--shadow: #d5a04d;color:#614923}.answer-tile:hover:not(:disabled){filter:brightness(1.07);transform:translateY(-2px);box-shadow:0 7px 0 var(--shadow)}.answer-tile:active:not(:disabled){transform:translateY(4px);box-shadow:0 1px 0 var(--shadow)}.answer-tile:disabled{opacity:.64}.answer-key{display:grid;place-items:center;flex-shrink:0;width:27px;height:27px;border-radius:7px;background:#ffffff25;font-size:.68rem;color:inherit}.answer-tile>span:nth-child(2){position:relative;z-index:1;overflow-wrap:anywhere}.answer-shape{margin-left:auto;position:absolute;right:11px;bottom:7px;font-size:34px;line-height:1;opacity:.17}.question-footer{padding:19px 24px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;color:#665b6e;font-size:.63rem;background:#fcfaff;border-top:1px solid #f0eaf7}.question-footer>span:first-child{display:flex;gap:4px;align-items:center}kbd{display:inline-block;font-size:.58rem;padding:2px 5px;border:1px solid #e7ddef;border-bottom:2px solid #e0d4ea;border-radius:4px;color:#685b71}.race-bottom{padding:17px 3px 0;display:flex;align-items:center;justify-content:space-between;font-size:.7rem;color:#61596b}.race-bottom .text-button{font-size:.7rem;color:#695c71}.leave-confirm{margin-top:16px;background:#fff4ed;border:1px solid #f5d7c9;border-radius:15px;padding:18px;color:#775648}.leave-confirm p{font-size:.83rem;line-height:1.6;margin-bottom:15px}.leave-confirm>div{display:flex;gap:10px}.leave-confirm .button{min-height:38px;font-size:.74rem;padding:9px 14px}.finished-waiting{background:#fff;border:1px solid var(--line);border-radius:24px;text-align:center;padding:52px 30px}.finish-icon{display:grid;place-items:center;width:88px;height:88px;background:#eee5fc;color:#6e5091;border-radius:27px;margin:0 auto 28px;transform:rotate(-6deg)}.finished-waiting h2{margin:16px 0}.finished-waiting>p{color:#675971;line-height:1.8;font-size:.86rem}.finished-waiting p strong{color:#72548d}.waiting-dots{display:flex;justify-content:center;gap:6px;margin:27px 0}.waiting-dots i{width:7px;height:7px;border-radius:50%;background:#bda2d9;animation:dot-bounce 1.2s ease infinite}.waiting-dots i:nth-child(2){animation-delay:.15s}.waiting-dots i:nth-child(3){animation-delay:.3s}.leaderboard{background:#fff;border:1px solid var(--line);border-radius:21px;overflow:hidden;position:sticky;top:101px}.leaderboard-heading{display:flex;align-items:center;justify-content:space-between;padding:20px 22px;border-bottom:1px solid var(--line)}.leaderboard-heading>span:first-child{display:flex;align-items:center;gap:8px;font-size:.94rem;font-weight:750;color:#715582}.leaderboard-heading svg{color:#665972}.live-tag{border-radius:5px;padding:3px 6px;font-size:.49rem;font-weight:800;letter-spacing:.08em;background:#edf7f2;color:#406759}.leaderboard-list{padding:12px;display:flex;flex-direction:column;gap:7px;max-height:590px;overflow-y:auto}.competitor{display:flex;align-items:center;gap:9px;border:1px solid transparent;border-radius:11px;position:relative;padding:11px 10px 15px;min-height:65px}.competitor.is-you{background:#f5efff;border-color:#eadbfc}.competitor.is-forfeit{opacity:.55}.rank-number{width:16px;flex-shrink:0;color:#655a6d;font-size:.71rem;text-align:center}.rank-first{color:#705a2d;display:grid;place-items:center}.competitor-avatar{width:30px;height:30px;display:grid;place-items:center;color:#fff;border-radius:10px;flex-shrink:0;font-size:.73rem;font-weight:750}.competitor-info{display:flex;flex-direction:column;gap:5px;min-width:0}.competitor-name{font-size:.75rem;font-weight:650;color:#6c5579;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.competitor-name small{padding:2px 3px;font-size:.43rem;font-weight:750;border-radius:3px;color:#695b74;margin-left:3px;background:#f3edf8}.is-you .competitor-name small{color:#6d5186;background:#ebdef9}.competitor-detail{font-size:.58rem;color:#665b6d;display:flex;align-items:center;gap:3px}.competitor-score{margin-left:auto;text-align:right;display:flex;flex-direction:column;gap:4px;flex-shrink:0}.competitor-score strong{font-size:.84rem;color:#6f557f;animation:score-pop .3s ease-out;font-variant-numeric:tabular-nums}.competitor-score span{display:flex;align-items:center;justify-content:flex-end;gap:2px;color:#7a5b37;font-size:.55rem}.race-progress{height:2px;position:absolute;bottom:6px;left:36px;right:12px;border-radius:3px;background:#f5f0f9;overflow:hidden}.race-progress span{display:block;height:100%;opacity:.45;transition:width .4s}.leaderboard-note{padding:14px 21px 17px;color:#685c71;font-size:.63rem;line-height:1.7;border-top:1px solid #f4edf8}.results-page{max-width:1200px;margin:auto;padding:32px 24px 60px}.result-celebration{position:relative;text-align:center;background:linear-gradient(#f2eaff,#fff);border:1px solid #eae0f6;border-radius:26px;padding:33px 30px 25px;overflow:hidden}.result-celebration>.eyebrow{color:#68547b;position:relative;z-index:1}.result-celebration h1{margin:17px 0 12px;color:#6c438f;position:relative;z-index:1}.result-celebration>p.muted{font-size:.84rem;color:#675972}.podium{display:flex;align-items:flex-end;justify-content:center;gap:10px;max-width:510px;margin:22px auto 0;min-height:240px}.podium-place{width:155px;display:flex;flex-direction:column;align-items:center;z-index:1}.podium-crown{color:#67596c;height:25px}.podium-slot-1 .podium-crown{color:#745c29;height:34px}.podium-avatar{height:62px;width:62px;border:4px solid white;outline:1px solid #decbe9;display:grid;place-items:center;color:#fff;border-radius:21px;font-size:1.55rem;font-weight:750}.podium-slot-1 .podium-avatar{width:75px;height:75px;border-radius:24px;outline-color:#e7cd8f}.podium-name{max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.83rem;color:#6d557b;margin-top:10px}.podium-label{font-size:.45rem;color:#675771;letter-spacing:.1em;margin:4px 0 12px;font-weight:750}.podium-block{border-radius:13px 13px 0 0;background:#e8ddf4;width:100%;height:79px;padding-top:15px;display:flex;flex-direction:column;gap:7px;color:#6f5682;border:1px solid #dfd1ed}.podium-block strong{font-size:1.7rem}.podium-block span{font-size:.68rem}.podium-slot-1 .podium-block{height:115px;padding-top:21px;background:#fbebbd;color:#735826;border-color:#edd9a9}.podium-slot-3 .podium-block{height:61px;padding-top:8px;background:#f1e6ef;border-color:#e9d8e6;color:#6c5869}.podium-slot-3 .podium-block strong{font-size:1.4rem}.result-stats{display:flex;justify-content:center;gap:40px;padding-top:24px;margin:0 auto;border-top:1px solid #f0e6f7}.result-stats>span{display:grid;grid-template-columns:auto auto;align-items:center;gap:5px 6px}.result-stats svg{color:#695c71}.result-stats strong{color:#705582;font-size:1.12rem}.result-stats small{grid-column:1 / 3;font-size:.58rem;color:#685a72}.result-actions{display:flex;gap:11px;justify-content:center;margin:26px 0 14px;position:relative;z-index:1}.result-actions .button{font-size:.8rem}.save-status{display:flex;align-items:center;gap:5px;justify-content:center;font-size:.66rem;color:#675872}.save-status.saved{color:#4b6758}.result-celebration>p.small{margin-top:10px;font-size:.67rem}.results-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:25px;margin-top:34px;align-items:start}.answer-review>.section-heading h2{font-size:1.5rem}.answer-review>.section-heading{margin-bottom:21px}.review-item{background:#fff;border:1px solid var(--line);border-radius:14px;margin-bottom:11px}.review-item summary{display:flex;align-items:center;gap:13px;padding:18px;cursor:pointer;list-style:none}.review-item summary::-webkit-details-marker{display:none}.review-item summary:after{content:"+";color:#685c6f;font-size:1.2rem;margin-left:3px}.review-item[open] summary:after{content:"−"}.review-outcome{color:#75555a;display:flex}.review-correct .review-outcome{color:#486657}.review-prompt{display:flex;flex-direction:column;gap:6px;color:#6b5579;font-size:.83rem;line-height:1.4;flex:1}.review-prompt small{font-size:.5rem;font-weight:700;letter-spacing:.08em;color:#685a71}.review-points{margin-left:auto;font-size:.76rem;color:#6a5c73;white-space:nowrap}.review-content{padding:0 19px 19px 51px}.review-options{display:grid;gap:6px}.review-options>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 12px;border:1px solid #f0eaf7;border-radius:8px;color:#665a6e;font-size:.75rem}.review-options small{font-size:.57rem;white-space:nowrap}.review-options .option-correct{background:#f0f9f2;border-color:#d5ead9;color:#486752}.review-options .option-selected-wrong{background:#fff3f4;border-color:#f2d8dd;color:#79565f}.review-content p{padding:14px 13px;background:#faf7fe;border-radius:10px;color:#6c5a76;font-size:.73rem;line-height:1.7;margin-top:13px}.review-content p strong{color:#6d597b}.confetti{position:absolute;inset:0;overflow:hidden;pointer-events:none}.confetti i{position:absolute;top:-15px;left:var(--left);width:7px;height:12px;border-radius:2px;opacity:0;animation:confetti-fall 2.5s var(--delay) ease-in forwards}.rematch-setup{width:min(600px,calc(100vw - 40px));max-width:none;max-height:calc(100svh - 48px);padding:0;text-align:left;overflow:hidden}.rematch-setup::backdrop{background:#0b061bcc;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.rematch-body{padding:28px;max-height:calc(100svh - 52px);overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#76558e #231a34}.rematch-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.rematch-header>div{min-width:0}.rematch-header h2{margin-bottom:12px;font-size:1.7rem}.rematch-close{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;border:1px solid #745387;background:#332040;color:#e1cfee;border-radius:12px}.rematch-intro{color:#cbb9de;line-height:1.6;font-size:.82rem;margin-bottom:23px}.rematch-actions{display:flex;gap:12px;align-items:center;margin-top:27px}.rematch-actions .play-button{flex:1;width:auto;min-height:50px;font-size:1rem}.rematch-cancel{min-height:50px;border:1px solid #735982;background:#191125;color:#d7c7e8}.rematch-setup :is(button,input,select,textarea,summary):focus-visible{outline:3px solid #e4fc7a;outline-offset:4px}@media(max-width:520px){.rematch-setup{width:calc(100vw - 20px);max-height:calc(100svh - 20px);padding:0;border-radius:19px}.rematch-body{padding:20px 18px;max-height:calc(100svh - 24px)}.rematch-header h2{font-size:1.45rem}.rematch-actions{flex-direction:column}.rematch-actions .button{width:100%}}.history-page{max-width:1160px;padding:42px 26px 60px;margin:auto}.history-intro{align-items:center}.history-intro>div{min-width:0}.history-intro .eyebrow{color:#d5c0fc}.history-intro h1{font-size:clamp(2rem,4vw,3.1rem);margin:15px 0 12px;color:#f8f5ff}.history-intro h1>span{color:#e2f888}.history-intro p{color:#c2b5d6;font-size:.88rem}.history-intro .icon-button{flex-shrink:0;color:#dfd3f0;background:#30203e;border-color:#735387}.history-intro .icon-button:hover{background:#3c2850}.history-page .pack-count{color:#c2b5d6}.history-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:30px 0 38px}.history-stats>div{display:grid;grid-template-columns:auto minmax(0,1fr);gap:7px 15px;align-items:center;background:linear-gradient(150deg,#322344,#231a34);border:2px solid #755391;border-radius:20px;padding:23px;box-shadow:0 5px #0b0716,inset 0 1px #ffffff16}.history-stats svg{padding:11px;width:46px;height:46px;background:#dff28a;border-radius:13px;color:#293219;grid-row:1 / 3}.history-stats strong{font-size:1.9rem;color:#e2f888;font-variant-numeric:tabular-nums}.history-stats>div>span{color:#cbb9de;font-size:.72rem;line-height:1.4}.history-stat-accuracy svg{background:#a8e6e1;color:#183937}.history-stat-accuracy strong{color:#a8e6e1}.history-stat-streak svg{background:#ffd1a5;color:#54371d}.history-stat-streak strong{color:#ffd1a5}.history-page>.error-text{margin-bottom:24px}.history-page>p[role=status]{margin-bottom:20px}.history-list{display:grid;gap:12px}.history-game{width:100%;display:grid;grid-template-columns:50px minmax(0,1fr) auto 90px 19px;align-items:center;gap:18px;border:1px solid #735387;padding:19px;background:#281c39;border-radius:16px;text-align:left;color:#e4d8ef;transition:border-color .2s,transform .2s,background .2s;box-shadow:0 3px #0b0716}.history-game:hover{transform:translate(3px);border-color:#bda0f8;background:#322344}.history-rank{width:50px;height:50px;border-radius:13px;display:grid;place-items:center;background:#49305f;color:#e5d3fa;font-weight:800;font-size:.98rem}.history-rank.won{background:#dff28a;color:#293219;box-shadow:0 3px #6a7939}.history-game-title{min-width:0;display:flex;flex-direction:column;gap:8px}.history-game-title strong{color:#f2eafa;font-size:.94rem;line-height:1.5;overflow-wrap:anywhere}.history-game-title small{font-size:.7rem;color:#c5b5d5;line-height:1.5}.history-game-result{display:grid;justify-items:start;gap:8px}.history-game-status{font-size:.62rem;font-weight:750;padding:4px 7px;border-radius:6px;color:#b6edcf;background:#233e36}.history-game-status.forfeited{color:#ffd1b5;background:#513347}.history-game-accuracy{font-size:.7rem;color:#cbb9de}.history-game-score{text-align:right;display:flex;flex-direction:column;gap:5px}.history-game-score strong{font-size:1.04rem;color:#e2f888;font-variant-numeric:tabular-nums}.history-game-score small{font-size:.65rem;color:#c5b5d5}.history-game>svg{color:#c9addf}.history-note{display:flex;align-items:flex-start;gap:8px;font-size:.72rem;line-height:1.7;color:#c2b5d6;margin-top:25px}.history-note svg{margin-top:3px}.empty-history{text-align:center;padding:48px 25px;background:linear-gradient(150deg,#322344,#231a34);border:2px solid #755391;border-radius:24px;box-shadow:0 6px #0b0716}.empty-history>svg{box-sizing:content-box;color:#e2f888;background:#49305f;padding:22px;border-radius:24px;transform:rotate(-7deg)}.empty-history h2{color:#f8f5ff;font-size:1.6rem;margin:25px 0 13px}.empty-history p{color:#cbb9de;font-size:.86rem;line-height:1.6;margin-bottom:26px}.empty-history .primary{background:#dff28a;color:#293219;box-shadow:0 4px #809347}.empty-history .primary:hover:not(:disabled){background:#eaff9c}.history-page .personal-bests{margin-top:36px;gap:13px}.history-page .personal-bests h2{margin-bottom:8px}.history-page .personal-bests>div{background:#281c39;border-color:#735387;padding:18px;gap:8px;color:#e2d3ee}.history-page .personal-bests strong{color:#e2f888;overflow-wrap:anywhere;line-height:1.5}.history-page .personal-bests small{color:#c5b5d5}@media(max-width:820px){.history-stats{gap:12px}.history-stats>div{padding:18px 15px;gap:7px 10px}.history-stats strong{font-size:1.6rem}.history-game{gap:12px;grid-template-columns:46px minmax(0,1fr) auto 78px 19px;padding:17px}.history-rank{width:46px;height:46px}}@media(max-width:600px){.history-page{padding:30px 18px 40px}.history-intro{align-items:flex-start}.history-intro h1{font-size:2rem}.history-intro p{font-size:.81rem}.history-intro .eyebrow{font-size:.55rem}.history-stats{gap:9px;margin:26px 0 32px}.history-stats>div{display:flex;flex-direction:column;padding:17px 8px;gap:10px}.history-stats strong{font-size:1.45rem}.history-stats svg{width:38px;height:38px;padding:9px}.history-stats>div>span{text-align:center;font-size:.64rem}.history-game{grid-template-columns:39px minmax(0,1fr) auto;gap:12px;padding:15px 13px}.history-rank{width:39px;height:40px;font-size:.8rem}.history-game-title strong{font-size:.85rem}.history-game-title small{font-size:.65rem}.history-game-score{grid-column:3;grid-row:1}.history-game-score strong{font-size:.94rem}.history-game-result{grid-column:2 / 4;grid-row:2;display:flex;align-items:center;flex-wrap:wrap;gap:9px}.history-game>svg{display:none}.empty-history{padding:35px 20px}.empty-history h2{font-size:1.35rem}.history-note{font-size:.68rem}}@media(max-width:400px){.history-stats>div{padding:16px 5px}.history-game{gap:9px}}.history-review .result-celebration{background:linear-gradient(150deg,#322344,#231a34);border:2px solid #755391;box-shadow:0 6px #0b0716}.history-review .result-celebration>.eyebrow{color:#d5c0fc}.history-review .result-celebration h1{color:#e2f888}.history-review .result-celebration>p.muted{color:#cbb9de}.history-review .result-settings{color:#c5b5d5}.history-review .podium-crown{color:#c9addf}.history-review .podium-slot-1 .podium-crown{color:#e2f888}.history-review .podium-avatar{border-color:#49305f;outline-color:#755391}.history-review .podium-slot-1 .podium-avatar{outline-color:#dff28a}.history-review .podium-name{color:#f2eafa}.history-review .podium-label{color:#c5b5d5}.history-review .podium-block{background:#49305f;color:#f2eafa;border-color:#755391}.history-review .podium-slot-1 .podium-block{background:#dff28a;color:#293219;border-color:#eaffaa}.history-review .podium-slot-3 .podium-block{background:#573744;color:#ffd1b5;border-color:#8b596f}.history-review .result-stats{border-color:#755391}.history-review .result-stats svg,.history-review .result-stats small{color:#cbb9de}.history-review .result-stats strong{color:#e2f888}.history-review .result-actions .soft{background:#ae83f1;color:#211034;box-shadow:0 3px #64468e}.history-review .eyebrow.subtle,.history-review .pack-count{color:#c5b5d5}.history-review .review-item{background:#281c39;border-color:#735387}.history-review .review-item summary:after{color:#c9addf}.history-review .review-outcome{color:#ffb9c8}.history-review .review-correct .review-outcome{color:#b6edcf}.history-review .review-prompt{color:#f2eafa;overflow-wrap:anywhere}.history-review .review-prompt small,.history-review .review-points{color:#cbb9de}.history-review .review-options>div{background:#21162f;color:#e4d8ef;border-color:#624774}.history-review .review-options>div>span{min-width:0;overflow-wrap:anywhere}.history-review .review-options small{white-space:normal;text-align:right}.history-review .review-options .option-correct{background:#233e36;color:#b6edcf;border-color:#72ae91}.history-review .review-options .option-selected-wrong{background:#513347;color:#ffc6d2;border-color:#ae6d86}.history-review .review-content p{background:#352445;color:#d7c6e7}.history-review .review-content p strong{color:#f2eafa}.history-review .leaderboard{background:#281c39;border-color:#735387;box-shadow:0 4px #0b0716}.history-review .leaderboard-heading{border-color:#735387}.history-review .leaderboard-heading>span:first-child{color:#f2eafa}.history-review .leaderboard-heading svg{color:#c9addf}.history-review .live-tag{color:#b6edcf;background:#233e36}.history-review .competitor.is-you{background:#49305f;border-color:#8b68ab}.history-review .rank-number{color:#c9addf}.history-review .rank-first{color:#e2f888}.history-review .competitor-name{color:#f2eafa}.history-review .competitor-name small{background:#49305f;color:#d9c7eb}.history-review .is-you .competitor-name small{background:#64447f;color:#f2eafa}.history-review .competitor-detail{color:#c5b5d5}.history-review .competitor-score strong{color:#e2f888}.history-review .competitor-score span{color:#ffd1a5}.history-review .race-progress{background:#49305f}.history-review .leaderboard-note{border-color:#735387;color:#c5b5d5}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@keyframes float{0%,to{transform:translateY(0) rotate(-10deg)}50%{transform:translateY(-12px) rotate(-4deg)}}@keyframes score-pop{0%{transform:scale(1.16)}to{transform:scale(1)}}@keyframes question-enter{0%{opacity:.3;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}@keyframes countdown-pop{0%{transform:scale(.75);opacity:.5}to{transform:scale(1);opacity:1}}@keyframes dot-bounce{0%,60%,to{transform:translateY(0);opacity:.5}30%{transform:translateY(-5px);opacity:1}}@keyframes confetti-fall{0%{opacity:.7;transform:translateY(-15px) rotate(var(--rotate))}85%{opacity:.5}to{opacity:0;transform:translateY(520px) rotate(calc(var(--rotate) + 330deg))}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.confetti{display:none}.button:hover:not(:disabled),.history-game:hover{transform:none}}@media(max-width:1030px){.topbar-inner{gap:30px}.game-layout,.results-layout{grid-template-columns:minmax(0,1fr) 295px;gap:19px}.question-content{padding-left:20px;padding-right:20px}.answer-tile{min-height:100px;font-size:.87rem;gap:9px;padding:15px 12px}.answer-grid{gap:13px}}@media(max-width:820px){.connection-badge{display:none}.game-layout,.results-layout{grid-template-columns:1fr}.leaderboard{position:static}.leaderboard-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:none}.question-content h2{min-height:68px}.question-content{padding:34px 25px 29px}.answer-tile{font-size:1rem;min-height:108px;padding:18px}.answer-grid{gap:17px}}@media(max-width:600px){.topbar{height:65px}.topbar-inner{padding:0 17px;gap:18px}.brand{font-size:1.65rem;gap:8px}.brand-mark{width:31px;height:33px;border-radius:10px}.brand-mark svg{width:22px;height:22px}.main-nav{gap:15px}.main-nav button{font-size:.73rem;gap:5px}.main-nav button svg{display:none}.connection-badge{display:none}.topbar-right{gap:9px}.topbar-avatar{width:30px;height:30px;font-size:.68rem}.section-heading h2{font-size:1.4rem}.section-heading{gap:9px;margin-bottom:18px}.eyebrow{font-size:.55rem}.pack-count{font-size:.57rem}.pack-art{height:107px}.pack-illustration{width:57px;height:57px}.art-orbit{width:108px;height:108px}.spark-one{left:12%;font-size:17px}.spark-two{right:8%;font-size:20px}.category-label{font-size:.46rem;letter-spacing:.01em;padding:3px 5px}.game-page,.results-page{padding:26px 17px 40px}.game-page-title h1{font-size:1.9rem}.game-page-title p{font-size:.78rem}.waiting-panel{padding:22px;border-radius:19px}.lobby-pack{gap:12px}.lobby-pack .pack-art{width:80px;height:82px}.lobby-pack h2{font-size:1.2rem}.lobby-pack p{font-size:.59rem;gap:5px}.leaderboard-list{grid-template-columns:1fr}.leaderboard-heading{padding:17px 20px}.race-header{align-items:flex-start;flex-direction:column;gap:19px}.race-header h1{font-size:1.6rem}.score-hud{width:100%}.score-hud>span{flex:1;justify-content:center;padding:10px 14px}.question-topline{padding:19px 19px 15px}.question-timebar{margin:0 19px}.question-content{padding:29px 18px 24px}.question-content h2{font-size:1.42rem;min-height:80px}.question-content>p{margin:11px 0 22px;font-size:.67rem}.answer-grid{gap:13px}.answer-tile{padding:16px 11px;font-size:.85rem;min-height:107px;gap:9px}.answer-key{width:22px;height:23px;font-size:.6rem}.question-footer{padding:15px 19px;font-size:.54rem;justify-content:center}.finished-waiting{padding:40px 23px}.finished-waiting h2{font-size:1.5rem}.countdown-page{min-height:calc(100vh - 65px)}.result-celebration{padding:27px 15px 22px}.result-celebration h1{font-size:1.8rem}.result-celebration>p.muted{font-size:.74rem}.podium{gap:7px}.podium-place{width:30%}.podium-avatar{width:51px;height:51px;border-radius:17px;font-size:1.2rem}.podium-slot-1 .podium-avatar{width:65px;height:65px}.podium-name{max-width:88px;font-size:.67rem}.podium-block span{font-size:.53rem}.result-stats{gap:18px}.result-stats strong{font-size:.87rem}.result-stats small{font-size:.51rem}.result-stats svg{width:14px}.result-actions{flex-direction:column;padding:0 16px}.review-item summary{padding:15px 13px;gap:9px}.review-prompt{font-size:.73rem}.review-prompt small{font-size:.43rem}.review-points{font-size:.62rem}.review-content{padding:0 13px 15px}.auth-card{padding:35px 22px 24px;border-radius:25px}.auth-card h1{font-size:3.7rem}.auth-features{gap:11px;font-size:.57rem}.auth-footer{font-size:.55rem}.error-banner{margin:14px 17px 0;font-size:.74rem}.connection-notice{font-size:.64rem;padding:10px 16px}}@media(max-width:480px){.topbar-inner{gap:12px;padding:0 12px}.topbar-right{gap:7px}.topbar-avatar{display:none}.main-nav{gap:12px}}
