:root{--paper:#fcf9f2;--white:#fffefa;--ink:#292b27;--muted:#777b70;--line:#e5e3d8;--coral:#dc604b;--coral-dark:#b74130;--coral-light:#fbeddf;--green:#48725d;--green-light:#edf2e8;--yellow:#eed79b;--radius:22px;--shadow:0 8px 25px #41402a07;font-family:'Noto Sans JP',system-ui,-apple-system,BlinkMacSystemFont,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none;line-height:1.65}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}button,input,textarea,select{outline-offset:4px}button:focus-visible,a:focus-visible{outline:3px solid var(--green)}a{color:inherit}input,textarea,select{border:1px solid #d5d8cb;border-radius:12px;background:#fffefa;color:var(--ink);padding:13px 15px;width:100%;font-size:16px}input:focus,textarea:focus,select:focus{outline:2px solid #719781;outline-offset:1px}input::placeholder,textarea::placeholder{color:#a1a396}textarea{resize:vertical;min-height:86px}label{display:block;font-size:13px;font-weight:700;margin-bottom:8px}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.5;letter-spacing:-.035em}h1{font-weight:900}h2{font-size:24px;font-weight:800;margin-bottom:16px}h3{font-size:17px;margin-bottom:12px}p{margin-bottom:16px}small{font-size:12px}.site-header{max-width:1376px;padding:30px 48px 24px;margin:auto;display:flex;justify-content:space-between;align-items:center;gap:20px}.brand{text-decoration:none;display:flex;gap:11px;align-items:center;font-weight:800;font-size:19px;white-space:nowrap;letter-spacing:.015em}.brand-icon{display:flex;align-items:center;justify-content:center;width:42px;height:44px;background:var(--coral);color:white;font-size:30px;font-weight:800;border-radius:13px 13px 13px 4px;transform:rotate(-6deg)}.brand small{display:block;font-size:8px;font-weight:600;letter-spacing:.13em;margin-top:2px}.header-right{display:flex;align-items:center;gap:25px}.season-tag{font-size:11px;letter-spacing:.06em;color:var(--muted)}.site-footer{display:flex;justify-content:space-between;gap:20px;padding:26px 48px 30px;max-width:1376px;margin:auto;font-size:11px;color:#8b8c80}.site-footer span:last-child{font-size:9px;letter-spacing:.16em}#app{min-height:calc(100vh - 180px);outline:none;max-width:1280px;margin:auto;padding:20px 48px 44px}.eyebrow{display:block;font-size:10px;letter-spacing:.15em;font-weight:800;color:var(--coral);margin-bottom:18px}.muted{color:var(--muted);font-size:13px}.tiny{font-size:11px;color:var(--muted)}.button{border:0;border-radius:11px;padding:13px 20px;display:inline-flex;align-items:center;justify-content:center;gap:10px;font-size:14px;font-weight:700;text-decoration:none;line-height:1.6;min-height:48px;transition:background .15s,transform .15s}.button:not(:disabled):active{transform:translateY(1px)}.button.primary{color:white;background:var(--coral)}.button.primary:hover:not(:disabled){background:var(--coral-dark)}.button.secondary{background:var(--green-light);color:var(--green)}.button.secondary:hover:not(:disabled){background:#dde7d7}.button.outline{border:1px solid var(--line);background:var(--white)}.button.small{min-height:36px;padding:8px 13px;font-size:12px}.button.text{background:transparent;color:var(--muted);padding:6px 10px;min-height:32px}.button.danger{color:#b33e2d;border:1px solid #eac6bd;background:#fff5f0}.button.full{width:100%}.button-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.button-row.end{justify-content:flex-end}.arrow{font-size:21px;font-weight:400;line-height:1}.card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.field{margin-bottom:20px}.form-note{font-size:11px;line-height:1.8;color:var(--muted);margin:12px 0 0}.badge{display:inline-flex;align-items:center;gap:6px;background:var(--green-light);padding:5px 10px;border-radius:30px;font-size:11px;font-weight:700;color:var(--green)}.badge.coral{background:#fcebe5;color:var(--coral-dark)}.badge.neutral{background:#f2f1e9;color:var(--muted)}.badge i,.connection i{width:6px;height:6px;border-radius:50%;background:currentColor}.connection{font-size:10px;color:var(--green);display:flex;align-items:center;gap:6px}.connection[hidden]{display:none}.connection.offline{color:var(--coral-dark)}

.local-preview{max-width:1184px;margin:0 auto 8px;padding:10px 16px;border:1px solid #e7d7b3;border-radius:10px;background:#f8efdd;color:#8b6a32;font-size:11px;text-align:center}.local-preview[hidden]{display:none}@media(max-width:1279px){.local-preview{margin-left:28px;margin-right:28px}}@media(max-width:760px){.local-preview{margin-left:20px;margin-right:20px;font-size:10px;text-align:left}}
/* The opening screen keeps joining the room as the clearest action. */
.landing-hero{display:grid;grid-template-columns:1.15fr 1fr;gap:50px;align-items:center;padding:38px 0 42px}.hero-copy{position:relative;padding:0 0 16px}.hero-copy .eyebrow{margin-bottom:22px;display:flex;align-items:center;gap:10px}.hero-copy .eyebrow:before{content:'';width:28px;height:1px;background:var(--coral)}.hero-copy h1{font-size:clamp(34px,3.9vw,54px);letter-spacing:-.06em;line-height:1.5;margin-bottom:21px}.hero-copy h1 em{font-style:normal;color:var(--coral);position:relative;white-space:nowrap}.hero-copy h1 em:after{content:'';position:absolute;bottom:-3px;left:1px;width:99%;height:8px;border-top:2px solid #e8b099;border-radius:50%}.hero-copy>p{font-size:13px;line-height:2.1;color:var(--muted);max-width:410px}.hero-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:25px}.hero-tags span{font-size:10px;padding:5px 11px;background:#f0f1e8;color:#66765b;border:1px solid #e4e8d9;border-radius:7px}.join-card{padding:30px 35px 26px;position:relative;overflow:hidden}.join-card:before{content:'';display:block;position:absolute;right:0;top:0;width:90px;height:6px;background:var(--yellow);border-bottom-left-radius:8px}.join-card h2{font-size:24px;margin:12px 0 7px}.join-card .card-intro{font-size:12px;color:var(--muted);margin-bottom:25px}.join-card .field{margin-bottom:17px}.code-input{letter-spacing:.28em;font-size:23px;font-weight:700;text-transform:uppercase;min-height:61px}.code-input::placeholder{font-size:14px;letter-spacing:.08em;font-weight:400}.join-form .button{margin-top:4px;justify-content:space-between;padding:15px 20px}.privacy-note{font-size:10px;color:var(--muted);text-align:center;margin:13px 0 0}.hero-art{position:absolute;width:127px;height:135px;right:-5px;bottom:-18px;pointer-events:none;opacity:.96}.art-circle{position:absolute;width:74px;height:74px;background:#ebcc88;border-radius:50%;right:1px;top:5px}.art-card{position:absolute;display:flex;align-items:center;justify-content:center;width:62px;height:80px;background:var(--green);color:#fef9e9;font-size:46px;font-weight:600;left:13px;top:37px;transform:rotate(-15deg);border:4px solid var(--paper);border-radius:10px}.art-star{position:absolute;color:var(--coral);font-size:41px;right:0;bottom:0;transform:rotate(13deg)}.art-dot{position:absolute;width:7px;height:7px;border-radius:50%;background:var(--coral);left:3px;top:9px}.how-section{border-top:1px solid var(--line);padding-top:27px;margin:10px 0 28px}.section-caption{font-size:11px;font-weight:700;letter-spacing:.06em;display:flex;align-items:center;justify-content:space-between;margin-bottom:19px}.section-caption span{font-size:9px;color:var(--muted);font-weight:500;letter-spacing:.14em}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.step{display:flex;align-items:flex-start;gap:14px}.step-number{font-size:11px;border:1px solid #d9ddcd;min-width:30px;height:30px;border-radius:50%;display:grid;place-items:center;color:var(--green);font-weight:700}.step h3{font-size:13px;margin:1px 0 6px}.step p{font-size:11px;line-height:1.8;color:var(--muted);margin:0}.organizer-banner{display:flex;gap:20px;align-items:center;justify-content:space-between;padding:19px 23px;border-radius:15px;background:#f0f1e8;border:1px solid #e3e6d8}.organizer-banner h3{font-size:13px;margin:0 0 3px}.organizer-banner p{font-size:11px;color:var(--muted);margin:0}.organizer-banner .button{font-size:12px;background:#fffefa;white-space:nowrap}.error-box{padding:12px 15px;background:#fff0e9;color:#a43b2c;border:1px solid #ecc7ba;border-radius:12px;font-size:13px;margin-bottom:18px}.error-box[hidden]{display:none}.loading{text-align:center;padding:90px 20px;color:var(--muted);font-size:13px}.spinner{display:inline-block;border:2px solid #e6e9dc;border-top-color:var(--green);width:26px;height:26px;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:16px}@keyframes spin{to{transform:rotate(360deg)}}

/* Event screens. */
.page-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:12px 0 27px}.page-heading .eyebrow{margin-bottom:7px}.page-heading h1{font-size:28px;margin:0;overflow-wrap:anywhere}.heading-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.event-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}.main-panel{padding:28px}.side-panel{padding:23px;margin-bottom:20px}.panel-top{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:23px}.panel-top h2{font-size:17px;margin:0}.room-code{font-size:44px;font-weight:800;letter-spacing:.15em;line-height:1.3;margin:6px 0 15px;font-variant-numeric:tabular-nums}.join-share{text-align:center;padding:28px;background:#f3f4eb;border-radius:18px;margin-bottom:25px}.join-share .eyebrow{margin-bottom:8px;color:var(--green)}.qr{display:block;margin:18px auto;width:156px;height:156px;border-radius:10px;background:white;border:7px solid white}.join-share .button-row{justify-content:center}.join-url{word-break:break-all;display:block;font-size:10px;color:var(--muted);margin:14px 0 0}.stat-row{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid var(--line);padding-top:20px;margin-top:20px}.stat-row strong{font-size:29px;letter-spacing:-.05em}.stat-row span{font-size:12px;color:var(--muted)}.people-list{display:flex;flex-wrap:wrap;gap:8px;max-height:210px;overflow:auto}.person-chip{font-size:11px;background:#f3f2eb;padding:6px 10px;border-radius:8px;display:flex;align-items:center;gap:6px;overflow-wrap:anywhere}.person-chip:before{content:'';display:block;width:5px;height:5px;border-radius:50%;background:#94a788}.empty{padding:26px 10px;text-align:center;color:var(--muted);font-size:12px;line-height:1.9}.note-box{font-size:11px;color:var(--muted);background:#f6f5ee;padding:15px 17px;border-radius:11px;line-height:1.9;margin:18px 0}.note-box p:last-child{margin-bottom:0}.question-preview-list{padding:0;margin:0;list-style:none;max-height:330px;overflow:auto}.question-preview-list li{display:flex;gap:10px;align-items:flex-start;border-bottom:1px solid var(--line);padding:12px 0;font-size:11px}.question-preview-list li:last-child{border-bottom:0}.question-preview-list span{color:var(--coral);font-weight:700;font-size:10px;white-space:nowrap;margin-top:2px}.question-preview-list p{margin:0}.question-meta{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:11px;color:var(--muted);margin-bottom:19px}.question-number{font-size:11px;letter-spacing:.09em;color:var(--coral);font-weight:800}.question-title{font-size:clamp(21px,2.4vw,31px);line-height:1.7;margin-bottom:25px;overflow-wrap:anywhere;font-weight:800}.question-stage{position:relative;overflow:hidden}.time-wrap{display:flex;gap:10px;align-items:center;color:var(--muted);font-size:11px}.timer{color:var(--green);font-size:28px;line-height:1.2;font-weight:800;font-variant-numeric:tabular-nums;min-width:43px;text-align:right}.timer.urgent{color:var(--coral)}.time-progress{height:4px;background:#e8eadf;border-radius:10px;margin:0 0 24px;overflow:hidden}.time-progress>i{height:100%;display:block;background:var(--green);width:100%;transition:width 1s linear}.option-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.option{border:1px solid #dfe1d6;min-height:90px;padding:16px 17px;border-radius:14px;display:flex;align-items:center;gap:13px;background:var(--white);text-align:left;position:relative;color:var(--ink);font-size:15px;font-weight:600;transition:background .15s,border-color .15s;overflow:hidden}.option button{position:relative}.option .letter{flex-shrink:0;background:#f1f2e8;color:#6f7c61;border-radius:9px;display:grid;place-items:center;width:31px;height:33px;font-size:13px;font-weight:800}.option .option-text{overflow-wrap:anywhere;flex:1;position:relative;z-index:1}.option:not(:disabled):hover{background:#f6f6ed;border-color:#9caa8c}.option.selected{border:2px solid var(--green);background:var(--green-light);padding:15px 16px}.option.correct{border:2px solid var(--green);background:var(--green-light);padding:15px 16px}.option.correct .letter{background:var(--green);color:white}.option.wrong{border-color:#e5a492;background:#fff1e9}.option:disabled{opacity:1;cursor:default}.option-stat{font-size:11px;color:var(--muted);white-space:nowrap}.option-check{font-size:17px;color:var(--green)}.bar-fill{position:absolute;left:0;bottom:0;height:4px;background:#c0cfb2;z-index:0}.answer-actions{margin-top:20px}.answer-hint{text-align:center;font-size:11px;color:var(--muted);margin:12px 0 0}.answered-banner{padding:16px;border-radius:12px;background:var(--green-light);color:var(--green);font-size:13px;font-weight:600;text-align:center;margin-top:22px}.answer-result{padding:22px 23px;border-radius:14px;background:var(--green-light);color:var(--green);margin-top:22px}.answer-result.incorrect{background:#f7eee3;color:#8a6943}.answer-result h3{font-size:22px;margin:0 0 7px}.answer-result p{font-size:12px;margin:0;line-height:1.9}.answer-result .result-points{font-size:27px;font-weight:800;float:right}.explanation{padding:20px 0 0;border-top:1px solid var(--line);margin-top:22px;font-size:13px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.explanation strong{display:block;font-size:11px;color:var(--green);margin-bottom:6px}.host-controls{margin-top:25px;padding-top:22px;border-top:1px solid var(--line);display:flex;gap:9px;align-items:center;flex-wrap:wrap}.answer-count{font-size:11px;color:var(--muted);margin-left:auto}.answer-count strong{font-size:18px;color:var(--ink)}.ranking{list-style:none;margin:0;padding:0}.ranking li{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid var(--line);font-size:12px}.ranking li:last-child{border-bottom:0}.ranking .rank{font-size:13px;font-weight:800;min-width:23px;color:var(--muted)}.ranking .rank.first{color:var(--coral)}.ranking .rank-name{flex:1;overflow-wrap:anywhere}.ranking .rank-score{font-weight:700;white-space:nowrap}.ranking .rank-score small{font-size:9px;font-weight:400;color:var(--muted);margin-left:3px}.ranking .self-row{background:#f1f3e9;margin:0 -9px;padding-left:9px;padding-right:9px;border-radius:7px}.ranking-caption{font-size:10px;color:var(--muted);margin:13px 0 0}.player-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px;font-size:12px;color:var(--muted);gap:10px}.player-name{display:flex;align-items:center;gap:8px;min-width:0;overflow-wrap:anywhere}.avatar{width:28px;height:28px;border-radius:50%;background:#e4ead9;display:inline-flex;align-items:center;justify-content:center;color:var(--green);font-weight:700;flex-shrink:0}.player-shell{max-width:650px;margin:20px auto}.wait-card{text-align:center;padding:45px 32px}.wait-art{width:90px;height:90px;background:#f3e7cb;border-radius:50%;margin:0 auto 25px;display:grid;place-items:center;font-size:41px;color:var(--coral);transform:rotate(-9deg);font-weight:800}.wait-card h2{font-size:24px;margin:15px 0}.wait-card>p{font-size:13px;color:var(--muted);line-height:2}.waiting-dots{display:flex;gap:6px;justify-content:center;margin:23px 0}.waiting-dots i{width:5px;height:5px;background:#9caf89;border-radius:50%;animation:pulse 1.8s infinite}.waiting-dots i:nth-child(2){animation-delay:.2s}.waiting-dots i:nth-child(3){animation-delay:.4s}@keyframes pulse{50%{opacity:.25}}.self-stat{display:flex;justify-content:center;gap:38px;padding:21px 0;margin:22px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.self-stat>div{display:flex;flex-direction:column}.self-stat strong{font-size:29px;font-weight:800;color:var(--green)}.self-stat span{font-size:10px;color:var(--muted)}.finished-card{text-align:center;padding:37px 32px}.finished-card h2{font-size:29px;margin-bottom:8px}.finished-card .ranking{text-align:left;max-height:none}.podium{display:grid;grid-template-columns:1fr 1.15fr 1fr;gap:10px;align-items:end;margin:35px 0 25px}.podium-item{padding:20px 8px 13px;border-radius:15px 15px 6px 6px;background:#f0f2e7;min-height:125px;overflow-wrap:anywhere}.podium-item.winner{background:#f4e6bd;min-height:154px}.podium-item .medal{display:block;font-size:22px;font-weight:800;color:var(--green);margin-bottom:5px}.podium-item.winner .medal{color:#ad7931;font-size:27px}.podium-item .podium-name{font-size:13px;font-weight:700;display:block}.podium-item .podium-score{font-size:10px;color:var(--muted)}.screen-view .site-header{max-width:none}.screen-view #app{max-width:1600px}.screen-view .event-layout{grid-template-columns:minmax(0,1fr) 340px}.screen-view .question-title{font-size:clamp(32px,3.7vw,57px)}.screen-view .option{font-size:22px;min-height:115px}.screen-view .room-code{font-size:64px}.screen-view .qr{width:230px;height:230px}.screen-view .ranking li{font-size:16px}.screen-view .page-heading h1{font-size:34px}.screen-view .timer{font-size:42px}.screen-view .main-panel{padding:36px}

/* Question editor, shared by creation and the host lobby. */
.editor-shell{max-width:850px;margin:auto}.editor-intro{font-size:13px;color:var(--muted);margin-bottom:28px;line-height:1.9}.editor-card{padding:26px;margin-bottom:18px}.editor-card .field:last-child{margin:0}.editor-title-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;gap:12px}.editor-title-row h3{margin:0;font-size:14px;color:var(--green)}.editor-buttons{display:flex;gap:4px}.icon-button{background:transparent;border:1px solid var(--line);border-radius:8px;min-width:34px;height:34px;color:var(--muted);padding:4px 8px;font-size:13px}.icon-button:hover:not(:disabled){background:var(--green-light)}.editor-option{display:flex;align-items:center;gap:10px;margin-bottom:10px}.editor-option input[type=radio]{width:20px;height:20px;flex:0 0 20px;accent-color:var(--green)}.editor-option>label{margin:0;color:var(--muted);font-size:12px;min-width:14px}.editor-option>input[type=text]{flex:1;min-width:0}.editor-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px}.editor-grid label{font-size:11px}.editor-answer-label{font-size:11px;color:var(--green);margin-bottom:11px}.editor-bottom{position:sticky;bottom:14px;z-index:3;padding:16px 21px;background:#fffefaf2;backdrop-filter:blur(8px);border:1px solid var(--line);border-radius:15px;box-shadow:0 5px 25px #33331c12;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:22px}.editor-bottom .tiny{margin:0}.saved-rooms{margin-top:22px}.saved-rooms h3{font-size:12px}.saved-room{display:flex;justify-content:space-between;align-items:center;padding:10px 0;gap:15px;border-bottom:1px solid var(--line);font-size:12px}.saved-room strong{font-size:10px;color:var(--muted);margin-left:7px}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:20;max-width:min(90vw,600px);background:#303d30;color:#fffefa;padding:13px 20px;border-radius:12px;box-shadow:0 8px 25px #0002;font-size:13px}.toast[hidden]{display:none}dialog{border:1px solid var(--line);border-radius:24px;padding:30px;width:calc(100% - 36px);max-width:450px;color:var(--ink);background:var(--paper);box-shadow:0 30px 100px #0002}dialog::backdrop{background:#28312569;backdrop-filter:blur(3px)}dialog .eyebrow{margin-bottom:11px}dialog h2{font-size:21px}.confirm-answer{padding:17px;background:var(--green-light);border-radius:12px;color:var(--green);font-size:17px;font-weight:700;overflow-wrap:anywhere;margin-bottom:15px}dialog .button-row{justify-content:flex-end;margin-top:24px}.noscript{margin:30px;text-align:center}.network-note{position:sticky;top:8px;z-index:7;padding:9px 14px;border-radius:9px;background:#fff0de;color:#945a28;text-align:center;font-size:11px;margin-bottom:12px}.network-note[hidden]{display:none}.error-page{max-width:560px;margin:65px auto;text-align:center;padding:36px}.error-page p{font-size:13px;color:var(--muted)}

@media(min-width:1500px){.landing-hero{gap:95px}}@media(max-width:1000px){.site-header{padding:25px 28px}#app{padding:15px 28px 35px}.site-footer{padding:23px 28px}.landing-hero{gap:34px}.hero-copy h1{font-size:39px}.hero-art{right:-20px;bottom:-33px;transform:scale(.75)}.join-card{padding:28px}.event-layout{grid-template-columns:minmax(0,1fr) 265px;gap:18px}.main-panel{padding:24px}.side-panel{padding:20px}.screen-view .event-layout{grid-template-columns:minmax(0,1fr) 275px}.screen-view .option{font-size:18px}.screen-view .main-panel{padding:25px}.screen-view .qr{width:185px;height:185px}}@media(max-width:760px){.season-tag{display:none}.site-header{padding:23px 20px 18px}.brand{font-size:17px}.brand small{font-size:7px}.brand-icon{width:37px;height:39px;font-size:27px}#app{padding:12px 20px 30px}.site-footer{padding:21px 20px;flex-direction:column;gap:5px;text-align:center}.landing-hero{grid-template-columns:1fr;gap:26px;padding:17px 0 28px}.hero-copy{padding:0}.hero-copy h1{font-size:39px;line-height:1.5;margin-bottom:17px}.hero-copy .eyebrow{font-size:9px;margin-bottom:14px}.hero-copy>p{font-size:12px;margin-bottom:0;max-width:300px}.hero-tags{margin-top:19px;gap:5px}.hero-tags span{font-size:9px;padding:4px 8px}.hero-art{right:-4px;bottom:12px;transform:scale(.7);transform-origin:bottom right}.join-card{padding:25px 23px}.join-card h2{font-size:22px}.join-card .card-intro{margin-bottom:22px}.how-section{margin-top:0;padding-top:22px}.steps{gap:20px;grid-template-columns:1fr}.step p{font-size:11px}.section-caption span{font-size:8px}.organizer-banner{padding:18px;align-items:flex-start;gap:14px;flex-direction:column}.organizer-banner .button{width:100%;justify-content:space-between}.event-layout,.screen-view .event-layout{grid-template-columns:1fr}.page-heading{align-items:flex-start;flex-direction:column;margin:10px 0 22px;gap:13px}.page-heading h1{font-size:23px}.heading-actions{justify-content:flex-start}.heading-actions .button{font-size:11px;padding:7px 10px}.main-panel{padding:21px}.side-panel{padding:21px}.join-share{padding:22px 13px}.room-code{font-size:39px}.question-title{font-size:23px;margin-bottom:22px}.question-meta{margin-bottom:15px}.panel-top{margin-bottom:17px}.option-grid{grid-template-columns:1fr;gap:10px}.option{min-height:68px;padding:13px 15px;font-size:15px}.option.selected,.option.correct{padding:12px 14px}.option .letter{width:29px;height:31px}.host-controls{gap:9px}.answer-count{margin-left:0;width:100%;text-align:center}.host-controls .button{flex:1;white-space:nowrap;font-size:12px}.player-shell{margin:8px auto}.player-top{font-size:11px}.wait-card{padding:34px 23px}.wait-card h2{font-size:23px}.wait-card>p{font-size:12px}.editor-card{padding:20px 16px}.editor-grid{gap:10px;grid-template-columns:1fr 1fr}.editor-grid .field:first-child{grid-column:1/-1}.editor-bottom{bottom:9px;padding:13px;flex-wrap:wrap}.editor-bottom .tiny{display:none}.editor-bottom>.button-row{width:100%;justify-content:space-between}.editor-title-row{gap:6px}.editor-title-row h3{font-size:12px}.finished-card{padding:29px 20px}.finished-card h2{font-size:24px}.podium{gap:7px}.podium-item .podium-name{font-size:11px}.screen-view .question-title{font-size:28px}.screen-view .option{font-size:18px;min-height:82px}.screen-view .page-heading h1{font-size:27px}.screen-view .main-panel{padding:24px}.screen-view .room-code{font-size:46px}.hero-copy h1 em:after{bottom:-4px}.ranking{max-height:420px;overflow:auto}.answer-result .result-points{font-size:23px}}@media(max-width:370px){.hero-copy h1{font-size:34px}.hero-art{display:none}.hero-copy>p{max-width:none}.site-header{padding-left:16px;padding-right:16px}#app{padding-left:16px;padding-right:16px}.join-card{padding:22px 18px}.room-code{font-size:33px}.editor-buttons .icon-button{min-width:29px;padding:3px 5px}.question-title{font-size:21px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.hero-phrase{white-space:nowrap}.hero-narrow-break{display:none}@media(max-width:400px){.hero-narrow-break{display:inline}}

.join-entry .hero-copy,.join-entry .how-section,.join-entry .organizer-banner,.join-entry .saved-rooms{display:none}.join-entry .landing-hero{display:block;max-width:500px;margin:0 auto;padding:25px 0}.join-entry .join-card{width:100%}

/* A scanned invitation goes straight to a single name field. */
.join-entry .season-tag{display:none}.join-entry .site-header{max-width:560px;padding-top:25px;padding-bottom:17px}.join-entry #app{min-height:calc(100dvh - 170px);padding-top:8px;padding-bottom:15px}.join-entry .site-footer{justify-content:center;padding-top:15px}.join-entry .brand{cursor:default}.qr-entry-shell{max-width:480px;margin:0 auto}.qr-entry-card{padding:29px 28px}.qr-entry-card h1{font-size:25px;margin:18px 0 12px;line-height:1.65;overflow-wrap:anywhere}.qr-entry-intro{font-size:13px;color:var(--muted);margin-bottom:13px}.entry-benefits{font-size:10px;font-weight:600;color:var(--green);border-top:1px solid var(--line);padding-top:17px;margin:0 0 24px}.qr-entry-card .field{margin-bottom:23px}.qr-entry-card input[type=text],.qr-entry-card input:not([type]){min-height:57px;font-size:17px}.qr-entry-card .join-form .button{min-height:56px}.qr-entry-card .privacy-note{font-size:10px;line-height:1.9}.entry-code-note{margin-top:25px;padding-top:17px;border-top:1px solid var(--line);display:flex;align-items:center;gap:11px;font-size:10px;color:var(--muted)}.entry-code-note span:first-child{font-size:13px;font-weight:700;letter-spacing:.08em;color:var(--ink)}.entry-code-note span:last-child{margin-left:auto;color:var(--green)}.entry-mobile-note{text-align:center;font-size:10px;line-height:1.9;color:var(--muted);margin:18px 0 0}.join-entry .local-preview{max-width:480px;margin:0 auto 12px}
.qr-share h3{font-size:20px;margin:5px 0 20px}.qr-share .qr{width:280px;max-width:100%;height:auto;aspect-ratio:1/1;border:8px solid white;border-radius:13px;margin:16px auto 21px}.scan-steps{list-style:none;padding:0;margin:0 0 18px;display:flex;justify-content:center;align-items:center;gap:17px;flex-wrap:wrap}.scan-steps li{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:700;white-space:nowrap}.scan-steps li>span{border:1px solid #acb99d;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;font-size:10px;color:var(--green);font-weight:800}.share-benefits{font-size:12px;font-weight:700;color:var(--green);line-height:1.9;margin:0 0 20px}.share-benefits>span{font-size:11px;font-weight:400;color:var(--muted)}.manual-code{margin:20px auto;display:flex;justify-content:center;align-items:center;gap:15px;padding-top:17px;border-top:1px solid #dce2d2}.manual-code>span{font-size:10px;color:var(--muted)}.manual-code strong{font-size:25px;font-weight:800;letter-spacing:.13em;line-height:1.3}.share-placeholder{width:72px;height:72px;margin:23px auto 18px;border:1px dashed #c0c8b5;border-radius:18px;display:grid;place-items:center;color:#7d8a6f;font-size:35px}.share-unavailable h3{font-size:18px;line-height:1.7}.share-unavailable .tiny{line-height:1.9;max-width:370px;margin:0 auto 20px}.share-unavailable .muted{line-height:1.9}.late-join-panel{padding:14px}.late-join-panel .join-share{margin:0;padding:19px 12px}.late-join-panel .qr-share h3{font-size:15px}.late-join-panel .scan-steps{gap:7px;flex-direction:column;align-items:flex-start;width:max-content;margin-left:auto;margin-right:auto}.late-join-panel .manual-code{gap:7px;flex-direction:column}.late-join-panel .join-url{font-size:9px}.late-join-panel .share-benefits{font-size:10px}.late-join-panel .share-benefits>span{font-size:9px}.late-join-panel .share-unavailable h3{font-size:15px}.screen-view .qr-share .qr{width:360px;height:auto}.screen-view .qr-share h3{font-size:27px}.screen-view .scan-steps li{font-size:17px}.screen-view .scan-steps li>span{width:27px;height:27px;font-size:13px}.screen-view .share-benefits{font-size:16px}.screen-view .share-benefits>span{font-size:13px}.screen-view .manual-code strong{font-size:32px}.screen-view .late-join-panel .qr-share h3{font-size:17px}.screen-view .late-join-panel .scan-steps li{font-size:13px}.screen-view .late-join-panel .share-benefits{font-size:11px}.screen-view .late-join-panel .share-benefits>span{font-size:10px}
@media(max-width:760px){.join-entry .site-header{padding-left:22px;padding-right:22px}.qr-entry-card{padding:25px 22px}.qr-entry-card h1{font-size:23px}.join-entry .local-preview{margin-left:20px;margin-right:20px}.qr-share .qr,.screen-view .qr-share .qr{width:280px;max-width:100%;height:auto}.scan-steps{gap:9px}.scan-steps li{font-size:10px;gap:4px}.scan-steps li>span{width:20px;height:20px;font-size:9px}.qr-share h3,.screen-view .qr-share h3{font-size:20px}.screen-view .scan-steps li{font-size:11px}.screen-view .scan-steps li>span{width:22px;height:22px;font-size:10px}.manual-code{gap:10px;flex-wrap:wrap}.screen-view .share-benefits{font-size:12px}.screen-view .share-benefits>span{font-size:11px}.entry-benefits{font-size:9px}.late-join-panel .scan-steps{flex-direction:row;align-items:center;width:auto;justify-content:center}.entry-code-note{gap:7px}.entry-code-note span:first-child{font-size:12px}}@media(max-width:370px){.qr-entry-card{padding:23px 19px}.qr-entry-card h1{font-size:22px}.entry-code-note{font-size:9px;gap:6px}.scan-steps{gap:7px}.scan-steps li{font-size:9px}.qr-share .qr{width:250px}.qr-share h3{font-size:18px}}
