@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700&display=swap";
:root{color:#eff7ff;background:#081321;font-family:Inter,PingFang SC,Noto Sans SC,sans-serif}*{box-sizing:border-box}body{background:radial-gradient(circle at 78% 8%,#17639b88 0,#0000 28%),radial-gradient(circle at 8% 74%,#7b3fbd66 0,#0000 32%),linear-gradient(135deg,#06101d,#0d2340 52%,#0d1a34);min-width:320px;margin:0}button{font:inherit;color:inherit;cursor:pointer;border:0}.shell{width:min(1180px,100% - 40px);margin:auto;padding:22px 0 70px}.glass{-webkit-backdrop-filter:blur(20px)saturate(150%);backdrop-filter:blur(20px)saturate(150%);background:linear-gradient(135deg,#ffffff1c,#ffffff09);border:1px solid #ffffff2a;box-shadow:inset 0 1px #ffffff26,0 20px 60px #00000028}.nav{border-radius:22px;align-items:center;gap:22px;min-height:66px;padding:10px 14px 10px 20px;display:flex}.brand{align-items:center;gap:10px;font-size:20px;font-weight:700;display:flex}.brand-orb{background:linear-gradient(135deg,#bff5ff,#42a4ff 48%,#8869ff);border-radius:9px;width:22px;height:22px;box-shadow:0 0 25px #6ccfff}.nav-caption{color:#b4c4db;flex:1;font-size:13px}.glass-button,.primary-button{border-radius:15px;min-height:42px;padding:0 17px;transition:transform .2s,box-shadow .2s}.glass-button{background:#ffffff12;border:1px solid #ffffff2b}.primary-button{background:linear-gradient(135deg,#7edfff,#4989ff 55%,#7668ff);font-weight:600;box-shadow:0 10px 28px #398cf055}.glass-button:hover,.primary-button:hover{transform:translateY(-2px)}.hero{grid-template-columns:1.35fr .65fr;align-items:center;min-height:395px;padding:58px 7%;display:grid}.eyebrow{color:#84cfff;letter-spacing:.13em;margin:0 0 13px;font-size:11px;font-weight:700}h1{letter-spacing:-.075em;margin:0;font-size:clamp(42px,6vw,72px);line-height:1.06}.lead{color:#bfd0e5;max-width:480px;margin:22px 0;line-height:1.75}.hero-actions{gap:12px;display:flex}.hero-actions span{margin-left:10px}.orbital{place-items:center;height:280px;display:grid;position:relative}.ring{text-align:center;border-radius:50%;place-content:center;width:200px;height:200px;display:grid;position:relative}.ring:after{content:"";border:1px solid #85d9ff70;border-radius:50%;position:absolute;inset:-13px}.ring b{letter-spacing:-.07em;font-size:58px}.ring span{color:#bdd1e8;font-size:13px}.float-dot{background:#a4efff;border-radius:50%;position:absolute;box-shadow:0 0 28px #6bc8ff}.one{width:13px;height:13px;top:42px;right:42px}.two{background:#c89dff;width:8px;height:8px;bottom:52px;left:38px}.three{background:#8ba5ff;width:18px;height:18px;bottom:20px;right:60px}.metrics{grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:36px;display:grid}.metric{border-radius:20px;gap:5px;padding:20px;display:grid}.metric span,.metric small{color:#b5c8dd;font-size:12px}.metric b{font-size:22px}.preview-grid{grid-template-columns:1.4fr .9fr;gap:16px;display:grid}.exam,.leaderboard{border-radius:26px;padding:28px}.exam header,.leaderboard header{justify-content:space-between;align-items:start;display:flex}.exam h2,.leaderboard h2{margin:0;font-size:20px}.timer{text-align:center;border:3px solid #78d9ff;border-radius:50%;place-content:center;width:58px;height:58px;font-size:21px;font-weight:700;display:grid}.timer span{color:#a8c5df;font-size:10px;font-weight:400}.progress{background:#ffffff15;border-radius:9px;height:6px;margin:25px 0 12px;overflow:hidden}.progress span{border-radius:inherit;background:linear-gradient(90deg,#72dfff,#7784ff);height:100%;display:block}.question-count{color:#9eb8d5;font-size:12px}.exam h3{margin:15px 0 22px;font-size:22px;line-height:1.45}.options{grid-template-columns:1fr 1fr;gap:11px;display:grid}.option{text-align:left;background:#ffffff0c;border:1px solid #fff2;border-radius:17px;align-items:center;gap:12px;padding:15px;display:flex}.option strong{color:#bce9ff;background:#ffffff16;border-radius:9px;place-items:center;width:26px;height:26px;display:grid}.option.selected{background:#5abfff23;border-color:#77dfff;box-shadow:inset 0 0 18px #58bcff22}.submit{width:100%;margin-top:18px}.submit:disabled{opacity:.45;cursor:not-allowed}.top-ten{color:#8bcfff;letter-spacing:.1em;font-size:10px;font-weight:700}.leaderboard ol{gap:4px;margin:20px 0 0;padding:0;list-style:none;display:grid}.leaderboard li{border-bottom:1px solid #ffffff0d;grid-template-columns:24px 28px 1fr auto;align-items:center;gap:9px;padding:7px 2px;font-size:13px;display:grid}.place{color:#91a9c3;font-weight:600}.podium{color:#f9d879}.p2{color:#c7dbef}.p3{color:#e4a779}.avatar{color:#bde6ff;background:#ffffff16;border-radius:9px;place-items:center;width:26px;height:26px;font-size:11px;display:grid}.leaderboard em{color:#9adfff;font-variant-numeric:tabular-nums;font-style:normal}@media (max-width:800px){.nav-caption{display:none}.hero,.preview-grid{grid-template-columns:1fr}.hero{text-align:center;padding:54px 3%}.lead{margin-inline:auto}.hero-actions{justify-content:center}.orbital{height:220px}.metrics,.options{grid-template-columns:1fr}.leaderboard{max-height:none}}@media (max-width:440px){.shell{width:min(100% - 24px,1180px)}.nav{padding-left:14px}.glass-button{padding-inline:11px}.exam,.leaderboard{padding:20px}.hero-actions{flex-direction:column}.hero-actions button{width:100%}}
.room-shell{place-items:center;min-height:100vh;padding:24px;display:grid}.join-card,.live-room{border-radius:28px;width:min(760px,100%);padding:clamp(26px,5vw,52px)}.join-card h1,.live-room h1{letter-spacing:-.06em;margin:0;font-size:clamp(30px,5vw,48px)}.join-card label{color:#b9cce2;gap:9px;margin:24px 0 14px;font-size:13px;display:grid}.join-card input{color:#f1f8ff;min-height:50px;font:inherit;background:#ffffff0d;border:1px solid #ffffff28;border-radius:15px;outline:none;padding:0 15px}.join-card input:focus{border-color:#78dfff;box-shadow:0 0 0 4px #57c2ff22}.role-toggle{background:#02081636;border:1px solid #ffffff1d;border-radius:15px;grid-template-columns:1fr 1fr;margin-top:26px;padding:4px;display:grid}.role-toggle button{color:#a9c0d7;background:0 0;border-radius:11px;padding:11px}.role-toggle .active{color:#fff;background:#ffffff1c;box-shadow:inset 0 1px #ffffff2e}.join-submit{width:100%}.form-error{color:#ffb1bc;margin:14px 0 0;font-size:13px}.room-header{border-bottom:1px solid #ffffff16;justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:24px;display:flex}.room-header h1{letter-spacing:-.04em;font-size:26px}.online-dot{background:#64e3b1;border-radius:50%;width:8px;height:8px;margin:0 8px 1px 0;display:inline-block;box-shadow:0 0 12px #64e3b1}.role-badge{color:#bceaff;white-space:nowrap;background:#70caff1c;border:1px solid #8cdfff54;border-radius:999px;padding:8px 11px;font-size:12px}.waiting-state,.ranking-state{text-align:center;padding:46px 0 12px}.waiting-state h2,.ranking-state h2,.question-card h2{letter-spacing:-.04em;margin:16px 0 8px;font-size:28px}.waiting-state p{color:#b8cbe0;max-width:430px;margin:0 auto 24px;line-height:1.7}.small-ring{width:94px;height:94px;margin:auto}.small-ring b{font-size:30px}.question-card{padding-top:28px}.question-card header{justify-content:space-between;align-items:center;display:flex}.question-card h2{margin:28px 0;font-size:28px;line-height:1.4}.ranking-state ol{text-align:left;max-width:520px;margin:28px auto 0;padding:0;list-style:none}.ranking-state li{border-bottom:1px solid #ffffff12;grid-template-columns:32px 34px 1fr auto;align-items:center;gap:11px;padding:12px 4px;display:grid}.ranking-state .avatar{width:30px;height:30px}.final-note{color:#b7cce1;margin-top:24px;font-size:13px}@media (max-width:520px){.room-header{flex-direction:column}.room-shell{padding:12px}.join-card,.live-room{border-radius:22px;padding:24px}.question-card h2{font-size:23px}}
:root{--ink:#1c1230;--muted:#6d647b;--purple:#8647ff;--violet:#5c26cc;--cream:#faf8fd;--mint:#c8f3e0}body{background:var(--cream);color:var(--ink)}.launch-shell{background:radial-gradient(circle at 74% 32%,#e9dfff 0,#0000 25%),linear-gradient(#fbf9ff,#f4effd);min-height:100vh;padding:24px max(28px,50vw - 585px)}.launch-header{align-items:center;gap:24px;height:64px;display:flex}.wordmark{color:var(--ink);letter-spacing:-.07em;font-size:23px;font-weight:850;text-decoration:none}.wordmark span{color:var(--purple);padding-left:2px}.launch-header p{color:var(--muted);flex:1;margin:0;font-size:13px}.header-link{color:var(--ink);border-bottom:2px solid var(--ink);padding-bottom:4px;font-size:14px;font-weight:700;text-decoration:none}.launch-hero{max-width:810px;padding:86px 0 52px}.kicker{letter-spacing:.13em;color:var(--violet);margin:0 0 16px;font-size:11px;font-weight:800}.launch-hero h1{letter-spacing:-.085em;margin:0;font-size:clamp(45px,7vw,82px);line-height:.97}.hero-copy{color:var(--muted);max-width:560px;margin:27px 0 0;font-size:18px;line-height:1.65}.role-cards{grid-template-columns:1fr 1fr;gap:18px;display:grid}.role-card{border-radius:26px;flex-direction:column;align-items:flex-start;min-height:300px;padding:31px;display:flex;position:relative;overflow:hidden}.host-card{color:#fff;background:linear-gradient(135deg,#9656ff,#692bd4);box-shadow:0 24px 42px #7435c33d}.player-card{background:#fff;border:1px solid #e2d8f1;box-shadow:0 20px 44px #27113d10}.role-index{opacity:.75;font-size:14px;font-weight:800;position:absolute;top:30px;right:30px}.role-card .kicker{color:inherit;opacity:.75}.role-card h2{letter-spacing:-.055em;margin:4px 0 8px;font-size:32px}.role-card>p:not(.kicker){max-width:330px;color:inherit;opacity:.8;margin:0;font-size:15px;line-height:1.6}.role-action{border-radius:999px;margin-top:auto;padding:13px 19px;font-size:14px;font-weight:800;text-decoration:none}.dark-action{color:var(--ink);background:#fff}.light-action{color:#fff;background:var(--ink)}.launch-shell footer{color:#847a91;padding:45px 0 10px;font-size:12px}.join-shell{background:radial-gradient(circle at 20% 10%,#e7d9ff 0,transparent 32%),var(--cream);min-height:100vh;padding:28px}.join-panel{background:#fff;border:1px solid #e8ddf7;border-radius:28px;max-width:480px;margin:13vh auto 0;padding:42px;box-shadow:0 28px 70px #44216c15}.join-panel h1{letter-spacing:-.07em;margin:0;font-size:42px}.join-panel>p:not(.kicker){color:var(--muted);line-height:1.6}.pin-form{gap:10px;margin-top:30px;display:grid}.pin-form label{font-size:13px;font-weight:800}.pin-form input{letter-spacing:.18em;text-transform:uppercase;color:var(--ink);border:2px solid #ded3ed;border-radius:15px;outline:none;padding:17px;font:700 29px/1 Inter,sans-serif}.pin-form input:focus{border-color:var(--purple);box-shadow:0 0 0 4px #8647ff1c}.pin-form button{background:var(--purple);color:#fff;cursor:pointer;border:0;border-radius:15px;margin-top:5px;padding:16px;font-size:15px;font-weight:800}.pin-form p{color:#b23855;margin:2px 0;font-size:13px}.join-note{text-align:center;color:#80768b;margin-top:22px;font-size:13px}@media (max-width:650px){.launch-shell{padding:16px 18px}.launch-hero{padding:66px 0 42px}.role-cards{grid-template-columns:1fr}.role-card{min-height:260px}.join-panel{margin-top:11vh;padding:28px 24px}}
.room-shell{background:radial-gradient(circle at 75% 10%,#e9deff 0,transparent 32%),var(--cream)}.room-shell .glass{-webkit-backdrop-filter:none;backdrop-filter:none;background:#fff;border-color:#e5daf2;box-shadow:0 25px 60px #4a21751c}.room-shell .eyebrow{color:var(--violet)}.room-shell .lead,.room-shell .waiting-state p{color:var(--muted)}.room-shell h1,.room-shell h2{color:var(--ink)}.room-shell .role-toggle{background:#f6f1fc;border-color:#e7dcf2}.room-shell .role-toggle button{color:#776b84}.room-shell .role-toggle .active{color:var(--ink);background:#fff;box-shadow:0 2px 8px #3a1c5914}.room-shell .join-card input{color:var(--ink);background:#fff;border-color:#ddd0ea}.room-shell .primary-button{background:var(--purple);box-shadow:none}.room-shell .role-badge{color:var(--violet);background:#f0eaff;border-color:#d8c5ff}.room-shell .online-dot{box-shadow:none;background:#20b876}.room-shell .option{color:var(--ink);background:#fff;border-color:#ded3eb}.room-shell .option strong{color:var(--violet);background:#efe6ff}.room-shell .option.selected{border-color:var(--purple);background:#f5efff;box-shadow:0 0 0 3px #8647ff17}.room-shell .timer{color:var(--violet);border-color:#d8c5ff}.room-shell .timer span{color:#776b84}.room-shell .ranking-state li{border-color:#eee8f4}.room-shell .avatar{color:var(--violet);background:#eee6fb}.room-shell .place{color:#83758f}.room-shell .podium{color:#b17100}.room-shell .final-note{color:var(--muted)}.lobby-pin{gap:4px;margin:0 auto 24px;display:grid}.lobby-pin span{letter-spacing:.15em;color:var(--muted);font-size:11px;font-weight:800}.lobby-pin b{letter-spacing:.08em;color:var(--violet);font-size:clamp(52px,9vw,85px);line-height:1}.host-settings{gap:8px;max-width:430px;margin:0 auto 22px;display:flex}.host-settings label{text-align:left;color:var(--muted);flex:1;gap:6px;font-size:12px;font-weight:800;display:grid}.host-settings input{min-width:0;font:inherit;color:var(--ink);border:1px solid #ded3eb;border-radius:11px;padding:10px}.host-settings button{color:var(--violet);cursor:pointer;white-space:nowrap;background:#f0e9fb;border:0;border-radius:11px;align-self:end;padding:11px 13px;font-weight:800}@media (max-width:520px){.host-settings{flex-direction:column}.host-settings button{align-self:stretch}}.join-qr{background:#fff;border:1px solid #e7dcf2;border-radius:14px;justify-items:center;gap:7px;width:142px;margin:0 auto 24px;padding:9px;display:grid;box-shadow:0 10px 25px #4a217510}.join-qr img{width:124px;height:124px;display:block}.join-qr figcaption{color:var(--muted);font-size:11px;font-weight:800}.join-qr.loading{background:linear-gradient(110deg,#f6f0fc,#fff,#f6f0fc) 0 0/200% 100%;height:142px;animation:1.2s linear infinite qr-loading}@keyframes qr-loading{to{background-position:-200% 0}}.join-link{grid-template-columns:auto minmax(0,1fr);gap:8px;max-width:430px;margin:-8px auto 24px;display:grid}.join-link input{min-width:0;color:var(--muted);background:#fff;border:1px solid #ded3eb;border-radius:10px;padding:10px;font:12px ui-monospace,SFMono-Regular,Menlo,monospace}.join-link .secondary-button{white-space:nowrap}@media (max-width:520px){.join-link{grid-template-columns:1fr}.join-link .secondary-button{width:100%}}
.host-editor{text-align:left;background:#fcfaff;border:1px solid #e5daf2;border-radius:18px;max-width:760px;margin:0 auto 26px;padding:22px}.host-editor-title,.editor-question-head,.editor-actions{justify-content:space-between;align-items:center;gap:14px;display:flex}.host-editor-title{margin-bottom:16px}.host-editor-title h2{margin:3px 0 0;font-size:20px}.host-editor-title>span{color:var(--violet);background:#f0e9fb;border-radius:99px;padding:6px 9px;font-size:12px;font-weight:800}.host-editor>label{color:var(--muted);gap:6px;margin-bottom:14px;font-size:12px;font-weight:800;display:grid}.host-editor input,.host-editor select{width:100%;color:var(--ink);font:inherit;background:#fff;border:1px solid #ded3eb;border-radius:10px;padding:10px}.editor-questions{gap:14px;display:grid}.editor-question{background:#fff;border:1px solid #ece4f3;border-radius:14px;padding:16px}.editor-question-head{margin-bottom:10px}.text-button{color:var(--violet);font:inherit;cursor:pointer;background:0 0;border:0;font-size:13px;font-weight:800}.text-button.danger{color:#b43d5a}.editor-options{grid-template-columns:1fr 1fr;gap:8px;margin:10px 0;display:grid}.editor-options label{align-items:center;gap:6px;display:flex}.editor-options span{width:27px;height:27px;color:var(--violet);background:#efe6ff;border-radius:8px;place-items:center;font-size:12px;font-weight:900;display:grid}.editor-controls{gap:12px;display:flex}.editor-controls label{color:var(--muted);grid-template-columns:auto 1fr;align-items:center;gap:6px;font-size:12px;font-weight:800;display:grid}.editor-actions{margin-top:14px}.secondary-button{color:var(--violet);font:inherit;cursor:pointer;background:#fff;border:1px solid #d8c5ff;border-radius:10px;padding:10px 13px;font-weight:800}.secondary-button:disabled{opacity:.45;cursor:not-allowed}@media (max-width:620px){.editor-options{grid-template-columns:1fr}.editor-controls{grid-template-columns:1fr 1fr;display:grid}.editor-controls label{grid-template-columns:1fr}.host-editor{padding:15px}}@media (max-width:420px){.editor-actions{flex-direction:column;align-items:stretch}.editor-actions button{width:100%}}
.student-result{text-align:left;background:linear-gradient(135deg,#fcfaff,#f3eeff);border:1px solid #e5daf2;border-radius:18px;max-width:760px;margin:18px auto 0;padding:22px;box-shadow:0 18px 42px #4a217511}.student-result h2{margin:4px 0 18px}.student-result>div{grid-template-columns:repeat(4,1fr);gap:10px;display:grid}.student-result span{color:var(--muted);background:#fff;border:1px solid #e9dff5;border-radius:12px;gap:4px;padding:13px;font-size:12px;display:grid}.student-result b{color:var(--violet);font-size:22px;line-height:1.1}.student-result>p:last-child{color:var(--muted);margin:14px 0 0;font-size:13px}@media (max-width:560px){.student-result{padding:17px}.student-result>div{grid-template-columns:1fr 1fr}}.host-export{text-align:center;background:#fbf9ff;border:1px solid #e5daf2;border-radius:16px;max-width:760px;margin:18px auto 0;padding:18px}.host-export p{color:var(--muted);margin:0 0 12px;font-size:13px}.template-tools{align-items:center;gap:14px;margin:-2px 0 16px;display:flex}.template-tools label{cursor:pointer;display:inline-flex}.template-tools input{display:none}.template-tools a{color:var(--violet);font-size:13px;font-weight:800;text-decoration:none}.template-tools a:hover{text-decoration:underline}
.question-type{color:var(--muted);align-items:center;gap:8px;margin:0 0 10px;font-size:12px;font-weight:800;display:flex}.question-type select{max-width:150px}.editor-controls fieldset{color:var(--muted);border:0;align-items:center;gap:10px;margin:0;padding:0;font-size:12px;font-weight:800;display:flex}.editor-controls legend{margin:0 3px 0 0;padding:0}.editor-controls fieldset label{align-items:center;gap:3px;display:flex}.editor-controls fieldset input{width:auto;accent-color:var(--violet);padding:0}@media (max-width:620px){.editor-controls fieldset{flex-direction:column;align-items:flex-start;gap:5px}}.leaderboard-setting{align-items:center;gap:8px;margin:-2px 0 14px;color:var(--ink)!important;font-size:13px!important;display:flex!important}.leaderboard-setting input{accent-color:var(--violet);width:auto!important}
