@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');
:root{font-family:'DM Sans',Arial,sans-serif;color:#1d1b34;background:#f5f4fa;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 50% -25%,#e3dcff 0,transparent 45%),#f5f4fa}.app-shell{max-width:1180px;margin:0 auto;padding:22px 28px 16px}.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px}.brand,.player-brand{display:flex;align-items:center;gap:7px;text-decoration:none;color:#201d3d;font-family:'Space Grotesk',sans-serif;font-size:21px;font-weight:700;letter-spacing:-1px}.brand>span:last-child,.player-brand>span:last-child{color:#7658ed;margin-left:-7px}.brand-mark{display:grid;place-items:center;width:31px;height:31px;border-radius:10px;color:white!important;background:#7658ed;font-size:17px;letter-spacing:0;margin:0!important}.top-note,footer{font-size:12px;color:#8d8aa3}.panel{min-height:590px;background:#fff;border:1px solid #eceaf4;border-radius:24px;box-shadow:0 18px 55px #3427600d;overflow:hidden}.welcome{max-width:860px;margin:auto;padding:46px 34px 52px}.eyebrow{font-size:11px;letter-spacing:1.4px;color:#8065e8;font-weight:800}.welcome h1,.host-lobby h1,.finished h1{font:700 40px 'Space Grotesk',sans-serif;letter-spacing:-1.5px;margin:10px 0}.muted{color:#85829a;line-height:1.65;margin:0}.home-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:32px}.choice-card{border:1px solid #eceaf4;border-radius:18px;padding:24px}.choice-card h2{font:700 19px 'Space Grotesk',sans-serif;margin:17px 0 5px}.choice-card p{font-size:13px;color:#8b889e;margin:0 0 22px}.choice-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;font-size:22px}.purple{color:#7354e8;background:#eee9ff}.green{color:#13a77d;background:#e4f8f0}label{display:block;font-size:12px;font-weight:700;margin:13px 0 6px}input{width:100%;border:1px solid #e7e5ef;border-radius:10px;padding:12px 13px;font:inherit;outline:none}input:focus{border-color:#856ef0;box-shadow:0 0 0 3px #856ef01c}.button{border:0;border-radius:11px;padding:13px 16px;font:700 13px 'DM Sans',sans-serif;cursor:pointer;transition:transform .15s,opacity .15s}.button:hover:not(:disabled){transform:translateY(-1px)}.button span{font-size:17px;margin-left:8px}.button.primary{background:#7658ed;color:white}.button.dark{background:#24213f;color:white}.button.light{background:#efecfa;color:#51438e}.button:disabled{opacity:.4;cursor:not-allowed}.choice-card>.button{width:100%;margin-top:5px}.choice-card form .button{width:100%;margin-top:17px}.alert{margin-top:16px;padding:11px 14px;border-radius:10px;background:#fff0ef;color:#ba3e44;font-size:13px}.host-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;min-height:590px}.host-main{padding:27px 34px 34px}.session-bar{font-size:10px;letter-spacing:1px;font-weight:800;color:#8a879c;display:flex;align-items:center;gap:8px;margin-bottom:26px}.live-dot{width:8px;height:8px;border-radius:50%;background:#22ba8a;box-shadow:0 0 0 4px #e4f8f0}.session-code{margin-left:auto;border-radius:7px;padding:6px 9px;background:#f1eff8;color:#565171;letter-spacing:1px}.score-panel{background:#faf9fd;border-left:1px solid #efedf5;padding:26px 20px}.score-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.score-head .eyebrow{font-size:9px}.score-head h2{font:700 20px 'Space Grotesk',sans-serif;margin:5px 0 0}.count-pill{background:#eeeaff;color:#7658ed;border-radius:20px;padding:6px 10px;font-size:12px;font-weight:800}.leaderboard{list-style:none;padding:0;margin:0}.leaderboard li{display:flex;align-items:center;gap:10px;padding:11px 8px;border-bottom:1px solid #eeecf3;font-size:13px}.leaderboard li.leader{background:#f1edff;border-radius:10px;border:0}.rank{width:24px;color:#8c889e;font-weight:800;font-size:11px}.player-name{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;flex:1;font-weight:600}.leaderboard strong{font-size:13px}.leaderboard small{font-size:9px;color:#8a879e}.empty-players{min-height:180px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;color:#9692a8;font-size:12px;gap:5px}.empty-players strong{color:#514d68;font-size:13px}.empty-icon{font-size:27px;margin-bottom:7px}.host-lobby{text-align:center;padding:28px 10px}.host-lobby .muted{font-size:14px}.join-url{display:flex;justify-content:space-between;align-items:center;gap:10px;max-width:420px;margin:25px auto 20px;padding:8px 10px 8px 14px;border:1px solid #ebe9f2;border-radius:10px;color:#77738a;font-size:12px}.copy{border:0;background:#eeebfa;color:#6653bc;border-radius:7px;padding:7px 10px;font-weight:700;cursor:pointer}.pin-label{font-size:9px;letter-spacing:2px;color:#8d89a1;font-weight:800}.pin{font:700 58px 'Space Grotesk',sans-serif;letter-spacing:9px;color:#292544;margin:4px 0}.lobby-count{color:#858199;font-size:12px;margin:12px 0 20px}.button.big{padding:15px 27px;font-size:14px}.tiny{font-size:10px;color:#9a97aa;margin-top:12px}.question-top{display:flex;align-items:center;justify-content:space-between}.timer{padding:8px 13px;border-radius:9px;background:#f0edfb;color:#6956bf;font-size:13px}.timer.urgent{background:#fff0ef;color:#c34950}.big-question{font:700 clamp(25px,3.2vw,39px) 'Space Grotesk',sans-serif;line-height:1.18;letter-spacing:-1.1px;margin:25px 0 28px;max-width:750px}.answer-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.answer-tile{background:var(--tile);border-radius:12px;padding:17px;color:white;font-weight:700;font-size:15px;display:flex;align-items:center;gap:12px;min-height:65px;position:relative}.answer-tile>span,.player-answer>span{width:25px;font-size:18px;text-align:center}.answer-tile.correct{outline:4px solid #24c18d}.answer-tile.dim{opacity:.45}.check{margin-left:auto;font-size:18px}.host-actions{display:flex;align-items:center;justify-content:space-between;margin-top:24px}.answered{font-size:12px;color:#878399}.finished{text-align:center;padding:70px 10px}.trophy{font-size:54px;margin:18px 0}.finished .button{margin-top:25px}.player-shell{min-height:590px;background:#211e3d;padding:24px;display:flex;flex-direction:column;align-items:center;position:relative;overflow:hidden}.player-shell:before,.player-shell:after{content:'';position:absolute;border:1px solid #ffffff0b;border-radius:50%;width:480px;height:480px;top:-250px;left:-220px}.player-shell:after{width:400px;height:400px;top:auto;left:auto;bottom:-250px;right:-170px}.player-brand{color:white;position:relative;z-index:1}.player-brand>span:last-child{color:#b8a9ff}.player-card{z-index:1;width:min(100%,470px);margin:auto 0;background:white;border-radius:20px;padding:28px;box-shadow:0 20px 60px #0d0b1f4a}.player-wait{text-align:center;padding:14px 0}.waiting-orbit{width:72px;height:72px;border-radius:25px;margin:0 auto 21px;background:#eeeaff;display:grid;place-items:center;color:#7759ec;font-size:35px;animation:bob 2s ease-in-out infinite}.player-wait h1{font:700 28px 'Space Grotesk',sans-serif;letter-spacing:-.8px;margin:10px 0}.player-wait .muted{font-size:13px}.waiting-dots{display:flex;gap:6px;justify-content:center;margin-top:22px}.waiting-dots i{width:6px;height:6px;background:#987ff2;border-radius:50%;animation:pulse 1s infinite}.waiting-dots i:nth-child(2){animation-delay:.15s}.waiting-dots i:nth-child(3){animation-delay:.3s}.player-foot{z-index:1;color:#a7a3bd;font-size:11px;margin-top:18px}.player-meta{display:flex;justify-content:space-between;color:#8a869f;font-size:9px;letter-spacing:1px;font-weight:800}.player-timer{color:#795fea}.player-question h1{font:700 24px 'Space Grotesk',sans-serif;line-height:1.2;margin:18px 0 23px}.player-answers{display:grid;gap:9px}.player-answer{border:0;border-radius:10px;text-align:left;display:flex;gap:10px;align-items:center;padding:14px;color:white;background:var(--tile);font:700 14px 'DM Sans',sans-serif;cursor:pointer;min-height:50px}.player-answer:disabled{opacity:.7}.answer-confirm{border-radius:11px;background:#f0edfb;color:#51487c;text-align:center;padding:18px;font-weight:700;font-size:14px}.answer-confirm.is-right{background:#e4f8f0;color:#148662}.answer-confirm.is-wrong{background:#fff0ef;color:#b34b52}.center{text-align:center;font-size:12px;margin-top:18px}.my-score{font:700 49px 'Space Grotesk',sans-serif;color:#7558e8;margin:13px}.my-score span{display:block;font:600 11px 'DM Sans',sans-serif;color:#89849e;letter-spacing:1px;text-transform:uppercase}.loading{padding:70px;text-align:center;color:#87839a}.spinner{display:inline-block;width:13px;height:13px;border:2px solid #d8d3e9;border-top-color:#7658ed;border-radius:50%;animation:spin .8s linear infinite;margin-right:7px}footer{text-align:center;padding:13px}@keyframes spin{to{transform:rotate(360deg)}}@keyframes bob{50%{transform:translateY(-6px) rotate(4deg)}}@keyframes pulse{50%{opacity:.3;transform:translateY(-3px)}}
@media(max-width:760px){.app-shell{padding:15px 12px}.topbar{margin-bottom:16px}.top-note{display:none}.panel{border-radius:17px;min-height:calc(100vh - 108px)}.welcome{padding:30px 18px}.welcome h1{font-size:32px}.home-grid{grid-template-columns:1fr;gap:12px;margin-top:23px}.choice-card{padding:19px}.choice-card h2{margin-top:12px}.choice-card p{margin-bottom:15px}.host-layout{grid-template-columns:1fr}.host-main{padding:22px 18px}.score-panel{border-left:0;border-top:1px solid #efedf5;padding:20px 18px;min-height:150px}.leaderboard{display:grid;grid-template-columns:1fr 1fr;gap:3px 8px}.leaderboard li{padding:8px 5px}.host-lobby{padding:30px 0}.pin{font-size:49px}.big-question{font-size:29px;margin:22px 0}.answer-grid{gap:8px}.answer-tile{padding:13px 11px;font-size:13px;min-height:59px}.host-actions{gap:10px}.host-actions .button{padding:12px 10px;font-size:11px}.player-shell{margin:-1px;min-height:calc(100vh - 108px);padding:20px 14px}.player-card{padding:23px 18px}.player-question h1{font-size:22px}.player-wait h1{font-size:25px}}
/* HCC QUIZZ live presentation and host question editor */
.topbar{justify-content:center;margin:12px 0 22px}.brand{font-size:22px}.welcome{max-width:920px}.welcome .brand-title{display:none}.welcome>h1{margin-top:0}.home-grid.join-only-grid{display:flex;justify-content:center}.join-only .brand-title{display:flex;align-items:center;justify-content:center;gap:9px;color:#292544;font:700 20px 'Space Grotesk',sans-serif;margin-bottom:26px}.join-card{width:min(100%,470px)}.launch-layout{display:grid;grid-template-columns:220px 1fr;align-items:center;gap:30px;max-width:710px;margin:26px auto}.qr-box{background:#fff;border:1px solid #eceaf4;border-radius:17px;padding:12px;display:flex;flex-direction:column;align-items:center;gap:8px;color:#77738a;font-size:11px}.qr-box img{display:block;width:190px;height:190px;image-rendering:pixelated}.launch-info{text-align:left}.launch-info .pin{text-align:left;font-size:56px;letter-spacing:7px}.launch-info .join-url{max-width:none;margin:12px 0}.join-url span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.text-button{border:0;background:transparent;color:#7558df;font:700 12px 'DM Sans',sans-serif;padding:12px 0;cursor:pointer}.text-button:hover{text-decoration:underline}.timer-row{display:flex;align-items:center;gap:9px;color:#6555bd;margin:-10px 0 7px}.timer-row>span{font-size:23px}.timer-row strong{font:700 25px 'Space Grotesk',sans-serif}.timer-row small{font:600 12px 'DM Sans',sans-serif}.progress-track{height:14px;border-radius:20px;background:#eeeaf8;overflow:hidden;margin:0 0 19px}.progress-fill{height:100%;border-radius:20px;background:linear-gradient(90deg,#8061ed,#a58bf9);transition:width .55s linear}.progress-fill.urgent{background:linear-gradient(90deg,#f09356,#e94d66)}.big-question.compact{font-size:clamp(21px,2.6vw,31px);margin:13px 0 18px}.intro-stage{min-height:390px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:35px}.intro-stage h1{font:700 clamp(39px,5vw,64px) 'Space Grotesk',sans-serif;line-height:1.08;letter-spacing:-2px;max-width:880px;margin:28px 0;animation:question-in .55s ease both}.ready-note{font-size:13px;color:#9691a8}.host-actions{margin-top:18px}.score-stage{text-align:center;max-width:690px;margin:0 auto;padding:14px 0 22px}.score-stage>h1{font:700 clamp(25px,3vw,38px) 'Space Grotesk',sans-serif;margin:10px 0 22px}.scoreboard-main{text-align:left;max-height:355px;overflow:auto;margin:0 0 19px}.score-stage .leaderboard{display:grid;grid-template-columns:1fr 1fr;gap:2px 10px}.movement{font-style:normal;font-size:9px;font-weight:800;min-width:34px;text-align:center}.movement.up{color:#13996e}.movement.down{color:#d54f60}.movement.same{color:#aaa6b6}.movement.new{color:#8063e7}.leaderboard li{animation:row-in .38s ease both;animation-delay:calc(var(--row,0)*35ms)}.leaderboard li:nth-child(1){--row:1}.leaderboard li:nth-child(2){--row:2}.leaderboard li:nth-child(3){--row:3}.leaderboard li:nth-child(4){--row:4}.leaderboard li:nth-child(5){--row:5}.leaderboard li:nth-child(6){--row:6}.leaderboard li:nth-child(7){--row:7}.leaderboard li:nth-child(8){--row:8}.leaderboard li:nth-child(9){--row:9}.leaderboard li:nth-child(10){--row:10}.podium-page{text-align:center;padding:14px 8px 30px}.podium-page h1{font:700 clamp(28px,3vw,40px) 'Space Grotesk',sans-serif;margin:8px 0 22px}.podium{height:270px;display:flex;align-items:flex-end;justify-content:center;gap:10px;margin:0 auto 18px;max-width:580px}.podium-slot{width:29%;display:flex;flex-direction:column;align-items:center;opacity:0;animation:podium-enter .7s cubic-bezier(.2,.8,.2,1) forwards;animation-delay:var(--delay)}.podium-person{height:105px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:4px;font-size:30px}.podium-person strong{font-size:14px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.podium-person small{font-size:10px;color:#817c95}.podium-step{width:100%;border-radius:12px 12px 0 0;padding-top:12px;font:700 27px 'Space Grotesk',sans-serif;color:#4e456a;background:#e8e5ef}.podium-step sup{font:500 11px 'DM Sans',sans-serif}.bronze .podium-step{height:82px;background:linear-gradient(#f7e6d5,#eed0b2)}.silver .podium-step{height:118px;background:linear-gradient(#f0eff5,#d7d5e2)}.gold .podium-step{height:153px;background:linear-gradient(#fff0be,#f4d768)}.podium-slot.silver .podium-person{height:105px}.podium-slot.gold .podium-person{height:105px}.podium-page>.button{margin-top:10px}.player-shell .podium{height:190px;gap:5px}.player-shell .podium-person{height:75px;font-size:23px}.player-shell .podium-person strong{font-size:11px}.player-shell .podium-person small{font-size:9px}.player-shell .bronze .podium-step{height:55px}.player-shell .silver .podium-step{height:78px}.player-shell .gold .podium-step{height:100px}.player-shell .podium-page{padding:0}.player-shell .podium-page h1{font-size:27px;margin:8px 0}.player-shell .my-score{font-size:28px;margin:0}.player-results h1{font:700 20px 'Space Grotesk',sans-serif;margin:12px 0}.my-result{border-radius:10px;background:#f1edff;padding:12px;color:#6453b3;font-size:13px;font-weight:700}.mobile-board{margin-top:19px;text-align:left}.mobile-board .leaderboard{max-height:205px;overflow:auto}.mobile-board .leaderboard li{padding:7px 5px}.mobile-board .player-name{font-size:11px}.mobile-board .leaderboard strong{font-size:11px}.player-question.intro-player{text-align:center;padding:30px 0}.intro-player h1{font:700 34px 'Space Grotesk',sans-serif;line-height:1.13;margin:26px 0}.player-question h1.compact{font-size:21px;margin:15px 0}.editor{padding:5px 0}.editor-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.editor-title h1{font:700 26px 'Space Grotesk',sans-serif;margin:6px 0 15px}.edit-question{border:1px solid #eae8f1;border-radius:13px;padding:15px;margin:11px 0}.edit-question-head{display:flex;align-items:center;justify-content:space-between}.remove-question{border:0;background:#fff0ef;color:#bc4850;padding:7px 9px;border-radius:7px;font-weight:700;font-size:10px;cursor:pointer}.edit-question>input{margin-bottom:7px}.edit-answers{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:8px 0}.edit-answer{display:flex;align-items:center;gap:6px;padding:4px;border:1px solid #efedf4;border-radius:8px;margin:0}.edit-answer input[type=radio]{width:15px;height:15px;accent-color:#785bea;flex:none}.edit-answer input[data-answer]{min-width:0;border:0;padding:7px;font-size:12px;box-shadow:none}.edit-question input[type=number]{width:100px}.save-questions{display:block;margin-top:10px}.editor .tiny{line-height:1.5}
@keyframes podium-enter{0%{opacity:0;transform:translateY(45px) scale(.94)}70%{opacity:1;transform:translateY(-5px) scale(1.02)}100%{opacity:1;transform:translateY(0) scale(1)}}@keyframes row-in{from{opacity:.2;transform:translateX(-12px)}to{opacity:1;transform:translateX(0)}}@keyframes question-in{from{opacity:0;transform:translateY(14px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:760px){.app-shell{padding:12px 9px}.topbar{margin:5px 0 12px}.brand{font-size:18px}.panel{min-height:calc(100vh - 66px)}.welcome{padding:25px 15px}.launch-layout{grid-template-columns:1fr;gap:16px;margin:17px auto}.qr-box{width:max-content;margin:0 auto}.qr-box img{width:150px;height:150px}.launch-info{text-align:center}.launch-info .pin{text-align:center;font-size:47px}.launch-info .join-url{margin:10px 0}.launch-info .lobby-count{margin:9px 0}.intro-stage{min-height:320px;padding:24px 5px}.intro-stage h1{font-size:40px}.score-stage .leaderboard{grid-template-columns:1fr}.score-stage{padding-top:8px}.score-stage>h1{font-size:25px}.scoreboard-main{max-height:none}.podium{height:215px;gap:5px}.podium-person{height:83px;font-size:25px}.podium-person strong{font-size:11px}.podium-person small{font-size:9px}.bronze .podium-step{height:62px}.silver .podium-step{height:92px}.gold .podium-step{height:118px}.edit-answers{grid-template-columns:1fr}.editor-title h1{font-size:21px}.leaderboard li{gap:6px}.movement{min-width:28px}.player-card{max-height:calc(100vh - 130px);overflow:auto}.player-shell{min-height:calc(100vh - 66px)}}
