.compact-rankings{min-width:0;margin:10px 0}.compact-rankings .section-top{margin-bottom:6px}.compact-rankings h2{font-size:clamp(1.2rem,3vw,1.8rem)}.podium-stage{isolation:isolate;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:clamp(6px,2vw,18px);max-width:760px;margin:12px auto 8px;padding-top:12px;display:grid;position:relative}.podium-slot{text-align:center;min-width:0;position:relative}.podium-rank-2{grid-column:1}.podium-rank-1{grid-column:2}.podium-rank-3{grid-column:3}.podium-award{color:#254c3c;isolation:isolate;place-items:center;width:48px;height:48px;margin:0 auto 6px;font-size:25px;font-weight:800;display:grid;position:relative}.podium-award>span{z-index:-1;background:#e8cd86;border-radius:50%;position:absolute;inset:0}.podium-rank-2 .podium-award>span{background:#dce3d9}.podium-rank-3 .podium-award>span{background:#d8b497}.podium-names{z-index:2;overflow-wrap:anywhere;flex-direction:column;justify-content:end;min-height:2.5em;font-size:clamp(12px,1.8vw,20px);font-weight:700;display:flex;position:relative}.podium-names strong{line-height:1.2;display:block}.podium-points{z-index:2;white-space:nowrap;font-variant-numeric:tabular-nums;margin:4px 0 7px;font-size:clamp(11px,1.4vw,16px);display:block;position:relative}.podium-step{z-index:1;color:#fffaf0;background:#254c3c;border-radius:9px 9px 3px 3px;justify-content:center;align-items:end;height:48px;padding:10px 3px;font-size:clamp(13px,1.8vw,21px);font-weight:750;display:flex;position:relative}.podium-rank-1 .podium-step{height:94px}.podium-rank-2 .podium-step{height:69px}.podium-rain{pointer-events:none;z-index:0;width:100%;height:100%;position:absolute;inset:0}.podium-static-decoration{color:#ac8134;pointer-events:none;justify-content:space-between;display:none;position:absolute;top:0;left:8%;right:8%}.rank-tie-note{margin:4px 0;font-size:12px}.compact-rankings .ranking-list{gap:5px;margin:8px 0}.compact-rankings .ranking-list li{gap:7px;min-height:44px;padding:6px 10px}.compact-rankings .rank-name{font-size:14px;line-height:1.15}.compact-rankings .rank-score strong{font-size:16px}.rank-pagination{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;font-size:12px;display:flex}.rank-pagination button{min-width:44px;min-height:44px;padding:6px 12px}.rank-pagination .own-rank-link{font-size:12px}@media (width<=600px),(height<=650px){.podium-stage{margin-top:4px;padding-top:5px}.podium-award{width:32px;height:32px;margin-bottom:4px;font-size:20px}.podium-step{height:32px;padding-bottom:7px}.podium-rank-1 .podium-step{height:66px}.podium-rank-2 .podium-step{height:49px}.compact-rankings .rank-number{width:27px;height:27px;line-height:27px}.compact-rankings .ranking-list li{grid-template-columns:27px minmax(0,1fr) auto}.compact-rankings .rank-score{font-size:11px}.compact-rankings .rank-score strong{font-size:14px}}@media (prefers-reduced-motion:reduce){.podium-rain{display:none}.podium-static-decoration{display:flex}}:root{color:#243c36;font-synthesis:none;background:#f5f4ed;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-weight:400;line-height:1.55}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-underline-offset:4px}button,input,select,textarea{font:inherit}button{cursor:pointer;color:#234638;background:#fff;border:1px solid #bac9bf;border-radius:12px;min-height:46px;padding:10px 18px;transition:background .15s}button:hover:not(:disabled){background:#e9f2e8}button:disabled{opacity:.5;cursor:not-allowed}button.primary{color:#fff;background:#244c3d;border-color:#244c3d;font-weight:650}button.primary:hover:not(:disabled){background:#163728}:focus-visible{outline-offset:4px;outline:3px solid #b56529}.header{border-bottom:1px solid #d8ded5;justify-content:space-between;align-items:center;max-width:1200px;margin:auto;padding:26px 32px;display:flex}.brand{letter-spacing:-1px;font-size:25px;font-weight:850;text-decoration:none}.brand>span:first-child{color:#739344}.version{letter-spacing:0;vertical-align:top;background:#e3ebda;border-radius:5px;margin-left:7px;padding:3px 6px;font-size:11px}.header nav{gap:24px;font-size:14px;display:flex}.header nav a{text-decoration:none}main{max-width:1060px;min-height:78vh;margin:auto;padding:48px 24px 64px}.hero{max-width:740px;padding:8px 0 40px}.eyebrow{text-transform:uppercase;letter-spacing:2px;color:#657c55;margin:0 0 12px;font-size:12px;font-weight:750}h1{letter-spacing:-2px;margin:12px 0 24px;font-size:clamp(32px,5.5vw,60px);font-weight:780;line-height:1.08}h1 em{color:#668347;font-family:Georgia,serif;font-weight:400}h2{letter-spacing:-.5px;margin:0 0 18px;font-size:23px}h3{margin:24px 0 6px;font-size:16px}.hero>p:not(.eyebrow){color:#647268;max-width:610px;font-size:18px}.panel{background:#fff;border:1px solid #e1e5dc;border-radius:22px;margin-bottom:24px;padding:32px;box-shadow:0 12px 40px #334b3510}.section-top{justify-content:space-between;align-items:baseline;gap:16px;display:flex}.step{color:#76816e;white-space:nowrap;font-size:12px}.selection{border:0;margin:0;padding:0}.selection legend{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.style-options{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;display:grid}.style-choice{cursor:pointer;border:1px solid #dae1d5;border-radius:12px;align-items:flex-start;gap:10px;padding:14px;font-size:15px;font-weight:650;display:flex}.style-choice.selected{background:#eef3e9;border-color:#8ca37c}.style-choice input{accent-color:#456b41;width:17px;height:17px;margin:4px 0}.style-choice small{color:#65735e;font-size:11px;font-weight:400;display:block}.muted{color:#647268;font-size:13px}.fields{flex-wrap:wrap;gap:16px;margin:24px 0;display:flex}.fields label{flex:1;min-width:100px}label{font-size:13px;font-weight:600;display:block}input:not([type=checkbox]),select,textarea{color:#263c31;background:#fafbf8;border:1px solid #cdd7c6;border-radius:8px;width:100%;margin-top:6px;padding:11px 12px;display:block}textarea{resize:vertical;min-height:100px}input[type=checkbox]{accent-color:#365d42}figure{margin:24px 0}figure img{object-fit:contain;background:#f4f4ee;border-radius:14px;width:100%;height:min(51vh,460px)}figcaption,.credits{color:#637164;margin-top:12px;font-size:12px}.answers{grid-template-columns:repeat(2,1fr);gap:12px;display:grid}.answers button{padding:17px;font-size:18px;font-weight:650}.unknown{color:#627060;background:0 0;border-color:#0000;margin:18px auto 0;display:block}.question h1{margin-bottom:16px;font-size:36px}progress{accent-color:#6f8e54;border:0;width:100%;height:5px}.reveal-grid{grid-template-columns:1fr 1fr;gap:32px;margin:24px 0;display:grid}.reveal-grid img{object-fit:contain;background:#f5f5ef;border-radius:14px;width:100%;max-height:440px}.reveal li{margin-bottom:10px}.object-title{color:#647268}.credits{border-top:1px solid #e2e6dd;padding:12px 0}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;margin:12px 0 26px;font-size:14px}th,td{text-align:left;border-bottom:1px solid #dce3d6;padding:12px}caption{text-align:left;margin:12px 0;font-weight:650}footer{color:#6b7868;border-top:1px solid #d8ded5;flex-wrap:wrap;justify-content:space-between;gap:20px;max-width:1200px;margin:auto;padding:24px 32px;font-size:12px;display:flex}.legal-links{flex-wrap:wrap;align-items:center;gap:4px 20px;display:flex}.contact-dialog{font-size:1rem}.contact-dialog a{overflow-wrap:anywhere}.legal-links a{align-items:center;min-height:44px;display:inline-flex}.error{color:#843914;background:#fff0e8;border:1px solid #dfb397;border-radius:10px;margin-bottom:20px;padding:14px 18px}.notice{background:#edf5e9;border-radius:10px;margin:14px 0;padding:14px}.admin-nav{flex-wrap:wrap;gap:8px;margin:24px 0;display:flex}.admin-nav button[aria-pressed=true]{color:#fff;background:#294f3e}.admin-layout{grid-template-columns:250px minmax(0,1fr);gap:22px;display:grid}.record-list{flex-direction:column;gap:6px;max-height:75vh;display:flex;overflow:auto}.record-list button{text-align:left;overflow-wrap:anywhere;font-size:12px}.record-list small{color:#7b846f;display:block}.editor-field{margin:16px 0}.editor-field textarea{font-size:13px;line-height:1.6}.toolbar{flex-wrap:wrap;gap:10px;margin:18px 0;display:flex}.quality-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;display:grid}.quality-card{border:1px solid #dce3d6;border-radius:14px;padding:20px}.quality-card h3{margin-top:0}.quality-card dl{font-size:13px}.quality-card dt{font-weight:650}.quality-card dd{overflow-wrap:anywhere;margin:0 0 10px}.review-check{align-items:start;gap:12px;margin:12px 0;display:flex}.admin-image{object-fit:contain;max-width:100%;height:330px}.qr{background:#fff;max-width:180px;padding:10px}.qr svg{width:100%;height:auto;display:block}.preset-link{overflow-wrap:anywhere}.login{max-width:480px;margin:40px auto}.login label{margin:18px 0}.status-badge{background:#edf0e7;border-radius:7px;padding:4px 8px;font-size:11px;display:inline-block}.import-report{white-space:pre-wrap;max-height:400px;font-size:12px;overflow:auto}code,pre{overflow-wrap:anywhere}.sr-only{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}@media (width<=700px){.header{padding:20px}.header nav{gap:14px}main{padding:28px 16px 40px}.panel{border-radius:16px;padding:20px}.style-options{grid-template-columns:1fr 1fr}.reveal-grid,.admin-layout{grid-template-columns:1fr}.record-list{max-height:240px}.section-top{align-items:flex-start}footer{flex-direction:column;padding:20px}h1{letter-spacing:-1px}.fields{gap:10px}.hero{padding-bottom:24px}.answers button{font-size:16px}.table-wrap{margin:0 -10px}.version{display:none}}.mode-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1.5rem 0;display:grid}.mode-card{text-align:left;background:var(--paper,#f7f3e9);border-radius:16px;flex-direction:column;gap:.9rem;min-height:200px;padding:1.4rem;display:flex}.mode-card strong{font-size:1.3rem}.mode-card span:last-child{font-size:.95rem;line-height:1.5}.mode-icon{color:#a45e38;font-size:1.7rem}.mode-card:hover{border-color:#a45e38;transform:translateY(-3px)}.mode-card:focus-visible{outline-offset:4px;outline:3px solid #a45e38}.test-banner{background:#ffebc5;border:2px solid #ac6515;border-radius:10px;padding:1rem;font-weight:700;line-height:1.5}dialog{box-sizing:border-box;color:#243d38;background:#fbf8f0;border:1px solid #c8bfb0;border-radius:20px;width:min(620px,100vw - 2rem);max-height:calc(100dvh - 2rem);padding:1.5rem;overflow:auto;box-shadow:0 24px 90px #14251e55}dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#10292099}dialog h2{margin:0}dialog .fields{grid-template-columns:repeat(2,minmax(0,1fr))}dialog .fields label:last-child:nth-child(3){grid-column:1/-1}dialog input,dialog select{width:100%;min-width:0}.room-code{letter-spacing:.12em;font-size:1.7rem}.room-link{flex-wrap:wrap;align-items:center;gap:1rem;display:flex}.room-link a{overflow-wrap:anywhere}.room-link [role=img]{max-width:150px}.participants{flex-wrap:wrap;gap:.6rem 1.5rem;padding-left:1.2rem;display:flex}.classroom figure img{object-fit:contain;max-width:100%;max-height:520px;margin:auto;display:block}.classroom figcaption{margin-top:.5rem;font-size:.85rem}.classroom details{margin:1rem 0}.join-panel{margin-top:1.5rem}.start-join .join-panel{box-shadow:none;background:0 0;border:0;border-bottom:1px solid #d8ded5;border-radius:0;padding:0 0 24px}@media (width<=700px){.mode-grid{grid-template-columns:1fr}.mode-card{min-height:0;padding:1rem}.mode-card .mode-icon{display:none}dialog .fields{grid-template-columns:1fr}.room-code{font-size:1.35rem}}.room-link [role=img]{flex:0 0 150px;width:150px}.room-link svg{width:100%;height:auto;display:block}.join-panel .fields{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:20px;display:grid}.join-panel .fields label{min-width:0}.join-panel input{min-height:48px;font-size:16px}.guess-controls fieldset{border:0;min-width:0;margin:0;padding:0}.guess-controls legend{margin-bottom:12px;font-weight:650}.guess-top,.timeline-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.guess-top h2{margin:0}.guess-top{margin-bottom:20px}.chances{color:#668347;align-items:center;gap:5px;display:flex}.chances .used{color:#bfc7bd}.chances span:last-child{color:#516650;margin-left:6px;font-size:12px}.answers button[aria-pressed=true]{color:#fff;background:#244c3d;border-color:#244c3d;box-shadow:inset 0 0 0 2px #fff}.answers button.rejected{color:#85452e;opacity:1;background:#f7eeea;border-color:#c9947b;text-decoration:line-through}.answers button.locked{opacity:1;color:#234638;box-shadow:none;background:#e6f2dd;border-color:#69834d}.choice-mark{text-decoration:none;display:inline-block}.timeline-control{background:#f5f4ed;border:1px solid #e1e5dc;border-radius:16px;margin:28px 0;padding:22px}.timeline-heading label{font-size:16px}.timeline-heading output{font-variant-numeric:tabular-nums;color:#244c3d;font-size:28px;font-weight:750}input[type=range]{accent-color:#244c3d;cursor:pointer;touch-action:pan-y;background:0 0;border:0;min-height:44px;margin:16px 0 0;padding:0}input[type=range]:disabled{opacity:.75;cursor:default}.timeline-ticks{color:#596d57;justify-content:space-between;font-size:12px;display:flex}.timeline-control .muted{margin-bottom:0}.guess-feedback{background:#f0f5ea;border-left:4px solid #8ca37c;border-radius:6px;margin:20px 0;padding:6px 18px;animation:.25s ease-out feedback-in}.check-guess{width:100%;margin-top:18px}.game-result{text-align:center;padding:20px 0}.game-result h1{font-size:clamp(30px,5vw,52px)}.result-celebration{width:220px;height:190px;margin:0 auto 20px;position:relative}.result-medal{width:140px;height:160px;animation:.7s cubic-bezier(.2,.8,.3,1.2) both medal-in;position:absolute;top:12px;left:40px}.result-celebration i{width:8px;height:14px;transform:rotate(calc(var(--particle) * 30deg)) translateY(-90px);animation:1.1s ease-out both celebrate;animation-delay:calc(var(--particle) * 25ms);background:#a85c39;border-radius:2px;position:absolute;top:85px;left:108px}.result-celebration i:nth-child(3n){background:#739344}.result-celebration i:nth-child(3n+1){background:#d5ac52}.result-score{margin:14px 0;font-size:22px}.result-score strong{color:#244c3d;font-size:44px}.result-message{color:#647268;max-width:550px;margin:0 auto 30px}.result-details{text-align:left;border:1px solid #dce3d6;border-radius:12px;padding:16px}.result-details summary{cursor:pointer;min-height:30px;font-weight:650}.result-again{margin:0 auto;display:block}.environment-note{font-size:11px}@keyframes medal-in{0%{opacity:0;transform:translateY(24px)scale(.7)rotate(-12deg)}to{opacity:1;transform:none}}@keyframes celebrate{0%{opacity:0;transform:rotate(calc(var(--particle) * 30deg)) translateY(-30px) scale(.2)}45%{opacity:1}to{opacity:.7;transform:rotate(calc(var(--particle) * 30deg)) translateY(-95px)}}@keyframes feedback-in{0%{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:none}}@media (width<=600px){.join-panel .fields{grid-template-columns:minmax(0,1fr)}.join-panel .primary{width:100%}.timeline-control{padding:16px}.timeline-heading{align-items:flex-start}.timeline-heading label{max-width:180px}.guess-top{flex-wrap:wrap;gap:8px}.header{flex-wrap:wrap;gap:12px}.answers{gap:8px}.answers button{overflow-wrap:anywhere;padding:14px 8px}.section-top{flex-wrap:wrap}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}.mode-card:hover{transform:none}}.timeline-heading output{white-space:nowrap;flex-shrink:0}.mode-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mode-note{color:#4d4535;background:#f8f3e6;border-left:3px solid #9b713b;border-radius:0 10px 10px 0;padding:14px 18px}.room-layout{grid-template-columns:minmax(0,1fr);gap:28px;display:grid}.room-main,.room-dashboard{min-width:0}.room-dashboard{background:#f2f5ed;border:1px solid #d4decf;border-radius:18px;align-self:start;padding:20px}.room-dashboard .section-top{flex-wrap:wrap;gap:4px}.room-dashboard h2{margin-bottom:8px}.dashboard-code{margin:14px 0;font-size:12px}.dashboard-code strong{letter-spacing:3px;color:#244c3d;overflow-wrap:anywhere;font-size:clamp(23px,3vw,36px);display:block}.dashboard-qr{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.dashboard-qr [role=img]{flex:0 0 110px;width:110px}.dashboard-qr svg{width:100%;height:auto;display:block}.room-metrics{grid-template-columns:1fr 1fr;gap:12px;margin:20px 0;display:grid}.room-metrics span{font-size:13px}.room-metrics strong{font-variant-numeric:tabular-nums;font-size:23px;display:block}.room-control{width:100%;margin:10px 0}.participant-cards{gap:10px;margin:0;padding:0;list-style:none;display:grid}.participant-cards>li{background:#fff;border:1px solid #dde4d7;border-radius:12px;padding:12px}.participant-main{flex-wrap:wrap;justify-content:space-between;gap:3px 8px;display:flex}.participant-main strong{overflow-wrap:anywhere}.connection-dot{color:#6c6559;font-size:11px}.connection-dot:before{content:"○ "}.connection-dot.online{color:#345d39}.connection-dot.online:before{content:"● "}.participant-meta{flex-wrap:wrap;justify-content:space-between;gap:4px;margin-top:5px;font-size:12px;display:flex}.moderate-button{background:0 0;border-color:#0000;padding:8px 0;font-size:12px;text-decoration:underline}.moderation-form{margin-top:12px}.moderation-actions{flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}.moderation-actions button{padding:8px 10px;font-size:12px}.lobby-card{background:#faf8f0;border-radius:16px;padding:24px}.lobby-card .room-code,.room-link{overflow-wrap:anywhere}.room-timer{background:#edf3e7;border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px 16px;padding:12px 18px;display:flex}.room-timer strong{font-variant-numeric:tabular-nums;font-size:24px}.room-timer small{width:100%}.time-short{color:#704419;background:#f9eedb}.submitted-answer{background:#edf5e9;border:1px solid #b7cfb5;border-radius:14px;padding:18px}.submitted-answer p{margin-bottom:0}.projection .room-dashboard{font-size:18px}.projection .participant-cards{gap:12px}.projection .participant-meta,.projection .connection-dot{font-size:15px}.projection .dashboard-code strong{font-size:clamp(30px,4vw,44px)}.projection .room-metrics strong{font-size:30px}.personal-result{margin:24px 0}.personal-result summary{cursor:pointer;padding:14px 0}.rankings{margin:30px 0}.rankings .section-top{flex-wrap:wrap;gap:10px}.rankings h2{margin:0}.ranking-list{gap:8px;margin:20px 0;padding:0;list-style:none;display:grid}.ranking-list li{background:#fff;border:1px solid #dbe3d5;border-radius:12px;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:10px;padding:14px;display:grid}.ranking-list .own-rank{background:#edf3e7;border-color:#54764b;box-shadow:inset 4px 0 #54764b}.rank-number{text-align:center;background:#f1e8cf;border-radius:50%;width:32px;height:32px;font-weight:750;line-height:32px}.rank-name{overflow-wrap:anywhere;font-weight:650}.rank-name small{color:#355338;background:#dce8d4;border-radius:8px;margin-left:7px;padding:1px 6px;display:inline-block}.rank-score{text-align:right;font-variant-numeric:tabular-nums;font-size:13px}.rank-score strong{font-size:18px}.rank-score small{color:#5a6e52;font-size:11px;display:block}.podium{flex-wrap:wrap;justify-content:center;align-items:end;gap:12px;padding-top:24px;display:flex;position:relative;overflow:hidden}.podium-place{text-align:center;min-width:0;max-width:230px;animation:.6s both podium-enter;animation-delay:calc((3 - var(--rank)) * .35s);flex-direction:column;flex:110px;align-items:center;display:flex;position:relative}.podium-place strong{overflow-wrap:anywhere;max-width:100%}.podium-place>span{margin:6px 0 12px;font-size:12px}.podium-medal{color:#c9a983;width:74px;height:82px}.place-1 .podium-medal{color:#efd38b}.place-2 .podium-medal{color:#d1dcd4}.podium-block{width:100%;height:calc(145px - var(--rank) * 25px);color:#344b37;background:#f0e5c8;border:1px solid #d3c6a4;border-radius:12px 12px 0 0;place-items:center;font-weight:700;display:grid}.place-1 .podium-block{color:#fff;background:#244c3d}.place-2 .podium-block{background:#dfe8dc}.podium-sparks{pointer-events:none;position:absolute;inset:0}.podium-sparks i{left:calc(5% + var(--particle) * 9%);width:5px;height:11px;transform:rotate(calc(var(--particle) * 30deg));background:#b88a42;border-radius:2px;animation:1.3s 1s both podium-spark;position:absolute;top:8%}@keyframes podium-enter{0%{opacity:0;transform:translateY(26px)}to{opacity:1;transform:none}}@keyframes podium-spark{0%{opacity:0;transform:translateY(-8px)rotate(0)}20%{opacity:1}to{opacity:0;transform:translateY(130px)rotate(130deg)}}.answer-feedback{background:#f6efdf;border-radius:14px;flex-wrap:wrap;align-items:baseline;gap:9px 20px;margin:18px 0;padding:18px;display:flex}.answer-feedback.recognized{background:#eaf3e5;border:1px solid #c2d4ba;animation:.45s ease-out recognized}.answer-feedback .year-hint{flex-basis:100%}.round-points{font-weight:750}.year-hint.earlier{animation:.45s ease-out earlier}.year-hint.later{animation:.45s ease-out later}@keyframes earlier{0%{opacity:.4;transform:translate(14px)}to{opacity:1;transform:none}}@keyframes later{0%{opacity:.4;transform:translate(-14px)}to{opacity:1;transform:none}}@keyframes recognized{0%{opacity:.4;transform:translateY(5px)}to{opacity:1;transform:none}}.endless-stats{font-variant-numeric:tabular-nums;background:#f6f1e3;border-radius:14px;flex-wrap:wrap;justify-content:space-between;gap:14px;margin:16px 0;padding:16px 18px;display:flex}.lives{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.lives b{color:#92482f;padding-right:3px;font-size:25px}.lives b.lost{color:#c8c4b8}.endless-total{font-size:20px}.endless-total strong{letter-spacing:-2px;font-variant-numeric:tabular-nums;font-size:clamp(44px,8vw,76px)}.endless-finish{border-top:1px solid #d9e0d3;margin-top:28px;padding-top:12px}.endless-finish button{margin:6px 8px 6px 0}.leaderboard-submit{background:#f5f7f0;border-radius:16px;margin:24px 0;padding:22px}.leaderboard-submit label{max-width:380px}.leaderboard-submit button{margin-top:14px}.public-board{padding:24px 0 0}.public-board>label{max-width:280px}.own-entry{margin:12px 0}.own-entry button{margin:4px 8px 4px 0}.leaderboard-home{padding:12px 24px}.gallery-strip{scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:thin;background:#f6f5ef;border-radius:14px;display:flex;overflow-x:auto}.gallery-slide{scroll-snap-align:center;flex:0 0 100%;min-width:0}.gallery-slide img{-webkit-user-select:none;user-select:none;border-radius:0;display:block}.gallery-controls{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;margin:12px 0;display:flex}.gallery-controls>span{font-variant-numeric:tabular-nums;font-size:13px}.gallery-controls button{padding:8px 14px}.gallery-controls .gallery-zoom{margin-left:auto}.gallery-help{margin-top:5px;display:block}.image-zoom-dialog{width:min(1100px,96vw);max-width:96vw;max-height:96dvh;padding:22px}.image-zoom-dialog .section-top{align-items:center}.image-zoom-dialog h2{margin:0}.zoom-surface{touch-action:none;cursor:grab;-webkit-user-select:none;user-select:none;background:#f1efe6;border-radius:12px;place-items:center;width:100%;height:min(60dvh,700px);display:grid;overflow:hidden}.zoom-surface:active{cursor:grabbing}.zoom-surface img{object-fit:contain;transform-origin:50%;pointer-events:none;will-change:transform;width:100%;height:100%;max-height:min(60dvh,700px)}.zoom-controls{flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;margin:12px 0;display:flex}.zoom-controls output{text-align:center;font-variant-numeric:tabular-nums;min-width:65px}@media (width>=1200px){main:has(.teacher-room){max-width:1320px}main:has(.projection){max-width:1560px}.projection .room-layout{grid-template-columns:minmax(0,1.4fr) minmax(350px,1fr)}}@media (width<=800px){.teacher-room .room-layout{grid-template-columns:minmax(0,1fr)}.teacher-room .room-dashboard{grid-row:1}.teacher-room .participant-cards{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.room-dashboard{padding:16px}}@media (width<=480px){.mode-grid{grid-template-columns:minmax(0,1fr)}.room-layout{gap:18px}.room-dashboard{padding:12px}.room-metrics{grid-template-columns:minmax(0,1fr)}.lobby-card{padding:16px}.teacher-room .participant-cards{grid-template-columns:minmax(0,1fr)}.ranking-list li{grid-template-columns:28px minmax(0,1fr) auto;gap:8px;padding:10px 8px}.rank-number{width:26px;height:26px;font-size:13px;line-height:26px}.rank-score strong{font-size:16px}.rank-score>span:not(.sr-only){font-size:11px}.podium{gap:6px}.podium-place{flex-basis:72px;font-size:12px}.podium-place>span{font-size:11px}.podium-medal{width:56px;height:65px}.podium-block{font-size:12px}.endless-stats{padding:12px}.gallery-controls .gallery-zoom{margin-left:0}.image-zoom-dialog{padding:12px}.image-zoom-dialog h2{font-size:18px}.image-zoom-dialog .section-top{gap:8px}.zoom-surface{height:48dvh}.zoom-surface img{max-height:48dvh}}@media (prefers-reduced-motion:reduce){.podium-place,.podium-sparks i,.answer-feedback.recognized,.year-hint{animation:none!important}.podium-sparks{display:none}.gallery-strip{scroll-behavior:auto}}#root{flex-direction:column;min-height:100dvh;display:flex}.header{width:100%;min-height:48px;padding:0 16px}.header nav a{align-items:center;min-height:44px;display:inline-flex}main:not(.admin-page){flex:1;width:100%;max-width:1440px;min-height:0;padding:12px 20px}footer{flex-direction:row;align-items:center;gap:4px 16px;width:100%;padding:0 16px}footer .legal-links{gap:4px 14px}footer .unknown{margin:0}footer .environment-note{margin-left:auto}.home-page{flex-direction:column;justify-content:center;gap:10px;display:flex;max-width:1000px!important}.home-page .hero{max-width:none;padding:0}.home-page .hero h1{margin:4px 0;font-size:clamp(30px,5vw,52px)}.home-page .hero h1 br{display:none}.home-page .hero h1 em:before{content:" "}.home-page .hero>p:not(.eyebrow){margin:4px 0;font-size:15px}.home-page .eyebrow{margin:0}.home-page .panel{margin:0;padding:16px}.home-page h2{margin:0;font-size:20px}.home-page .mode-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0 0}.home-page .mode-card{gap:4px;min-height:100px;padding:12px}.home-page .mode-icon{display:none}.home-page .mode-card strong{font-size:18px}.home-page .mode-card span:last-child{font-size:13px;line-height:1.35}.home-page .panel>.muted{margin:8px 0 0}.home-page .leaderboard-home{box-shadow:none;background:0 0;border:0;padding:0}.home-page .leaderboard-home>button{margin:0 auto}.classroom,.game-page>.question{margin:0;padding:12px}.classroom>.section-top{flex-wrap:nowrap;align-items:center;gap:8px}.classroom .eyebrow{letter-spacing:1px;overflow-wrap:anywhere;margin:0;font-size:11px}.classroom>h1,.game-page .question h1{letter-spacing:-.5px;margin:4px 0 8px;font-size:clamp(22px,3vw,32px)}.room-layout,.teacher-room .room-layout{gap:12px}.room-bottom{justify-content:space-between;align-items:center;gap:8px;display:flex}.room-bottom p{margin:4px 0}.room-bottom .unknown{margin:0}.classroom figure,.question figure{margin:0 0 6px;position:relative}.classroom figure img,.question figure img{height:clamp(100px,100dvh - 430px,440px);max-height:none}.classroom figcaption,.question figcaption{margin-top:2px;font-size:11px;line-height:1.25}.classroom .gallery-controls,.question .gallery-controls{background:#ffffffeb;border-radius:10px;gap:4px;margin:0;position:absolute;top:4px;right:4px}.classroom .gallery-controls button,.question .gallery-controls button{min-width:44px;min-height:44px;padding:4px}.classroom .gallery-controls .zoom-label,.question .gallery-controls .zoom-label{display:none}.gallery-zoom>span:first-child{font-size:24px;line-height:1}.classroom .gallery-source-note,.question .gallery-source-note,.classroom .gallery-help,.question .gallery-help{display:none}.guess-top{gap:8px;margin:0}.guess-top h2{font-size:15px}.chances{font-size:12px}.timeline-control{border-radius:10px;margin:4px 0;padding:4px 8px}.timeline-heading{align-items:center;gap:8px}.timeline-heading label{max-width:none;font-size:12px}.timeline-heading output{font-size:19px;line-height:1.2}.year-input-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;display:grid}.year-input-row input[type=range]{min-height:44px;margin:0}.year-input-row .timeline-ticks{margin-top:-7px;font-size:10px}.year-lock{min-height:44px;padding:4px 8px;font-size:12px}.year-instruction{margin:0;font-size:11px;line-height:1.3}.guess-controls legend{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.guess-controls .answers{grid-template-columns:repeat(6,minmax(0,1fr));gap:4px}.guess-controls .answers button{overflow-wrap:anywhere;grid-column:span 2;min-height:44px;padding:4px;font-size:14px}.guess-controls .answers button:nth-child(-n+2){grid-column:span 3}.guess-controls>.unknown{min-height:44px;margin:0 auto;padding:4px 8px;font-size:12px}.guess-feedback{margin:4px 0;padding:3px 8px;font-size:12px}.guess-feedback p{margin:0}.submission-state p{margin:4px 0}.room-timer{margin:0 0 4px;padding:0 8px;font-size:12px;line-height:1.3}.room-timer strong{font-size:18px}.teacher-room .room-layout{grid-template-columns:minmax(0,1fr) minmax(280px,.7fr)}.room-dashboard{border-radius:12px;padding:10px}.room-dashboard h2{margin:0;font-size:18px}.room-dashboard .section-top{flex-wrap:nowrap;align-items:center}.room-dashboard .section-top button{padding:4px 8px;font-size:12px}.dashboard-code{align-items:center;gap:8px;margin:4px 0;display:flex}.dashboard-code strong,.projection .dashboard-code strong{font-size:22px;line-height:1.2}.dashboard-qr{float:right;gap:4px;font-size:12px}.dashboard-qr [role=img]{flex-basis:44px;width:44px}.dashboard-qr .qr{padding:0}.room-metrics{gap:6px;margin:4px 0}.room-metrics strong,.projection .room-metrics strong{font-size:20px;line-height:1.2}.room-control{margin:4px 0}.room-dashboard>.muted{margin:4px 0;font-size:11px}.participant-cards,.projection .participant-cards{gap:4px}.participant-cards>li{padding:4px 8px;position:relative}.participant-main strong{font-size:14px}.participant-meta,.projection .participant-meta{margin-top:0;font-size:11px}.projection .connection-dot{font-size:11px}.moderate-button{min-height:44px;padding:0;font-size:11px}.roster-pagination{justify-content:center;align-items:center;gap:8px;margin-top:4px;display:flex}.roster-pagination button{min-width:44px;min-height:44px;padding:4px}.dashboard-privacy{display:none}.lobby-card{padding:12px}.lobby-card p{margin:4px 0}.lobby-card .room-link{gap:8px}.lobby-card .room-link a{font-size:12px}.student-room.phase-lobby .room-layout{grid-template-columns:1fr 1fr}.student-room .lobby-card .room-link [role=img]{flex-basis:80px;width:80px}.student-room .lobby-card .eyebrow{display:none}.classroom .reveal-details{margin:4px 0}.classroom summary{cursor:pointer;align-items:center;min-height:44px;display:flex}.classroom .personal-result{margin:4px 0}.classroom .personal-result summary{padding:0;font-size:13px}.classroom.phase-reveal .room-main{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:8px;display:grid}.classroom.phase-reveal .room-main>.reveal{grid-column:1}.classroom.phase-reveal .room-main>.rankings{grid-area:1/2/span 3}.classroom.phase-reveal figure img{height:clamp(90px,100dvh - 460px,230px)}.classroom.phase-reveal .object-title{margin:0;font-size:13px}.classroom.phase-reveal .answer-feedback{margin:4px 0;padding:6px;font-size:13px}.classroom .rankings{margin:0}.classroom .rankings h2{font-size:18px}.classroom .ranking-list{gap:4px;margin:4px 0}.classroom .ranking-list li{gap:5px;padding:5px;font-size:12px}.classroom.phase-finished>h1{font-size:24px}.invitation h1{font-size:30px}.invitation dialog .join-panel{box-shadow:none;background:0 0;border:0;margin:0;padding:0}@media (width<=700px){.header{flex-wrap:nowrap;gap:0;min-height:44px;padding:0 10px}.brand{font-size:21px}.header nav{gap:10px;font-size:12px}main:not(.admin-page){padding:4px 6px}footer{padding:0 6px env(safe-area-inset-bottom);justify-content:center;gap:0}.footer-description{display:none}footer .legal-links{gap:0 12px}footer .environment-note{margin:0 0 0 6px;font-size:9px}.home-page{gap:4px}.home-page .hero{padding:4px}.home-page .hero h1{font-size:30px}.home-page .hero>p:not(.eyebrow){font-size:12px;line-height:1.35}.home-page .hero .eyebrow{font-size:10px}.home-page .panel{padding:10px}.home-page h2{font-size:17px}.home-page .section-top .step{display:none}.home-page .mode-grid{gap:6px;margin-top:8px}.home-page .mode-card{min-height:90px;padding:8px}.home-page .mode-card strong{font-size:16px}.home-page .mode-card span:last-child{font-size:12px}.home-page .panel>.muted{font-size:11px}.home-page .leaderboard-home{padding:0}.classroom,.game-page>.question{border-radius:12px;padding:6px}.classroom>h1{margin:2px 0 4px;font-size:21px}.classroom>.section-top{font-size:11px}.classroom .eyebrow{letter-spacing:0;font-size:10px}.classroom .step{font-size:10px}.classroom figure img,.question figure img{height:clamp(80px,100dvh - 423px,420px)}.guess-top h2{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.guess-top{justify-content:flex-end;line-height:1.2}.chances{font-size:10px}.timeline-control{margin:2px 0 4px}.classroom .room-layout{gap:6px}.teacher-room .room-layout{grid-template-columns:1fr}.teacher-room figure img{height:100px}.student-room.phase-lobby .room-layout{grid-template-columns:1fr}.student-room:not(.host-room) .lobby-card .room-link{display:none}.lobby-card{padding:8px;font-size:12px}.lobby-card .muted{font-size:11px}.room-dashboard{padding:6px}.participant-cards{grid-template-columns:1fr 1fr}.participant-main strong{font-size:12px}.participant-meta{gap:2px}.room-bottom{flex-wrap:wrap;justify-content:center}.room-retention{font-size:10px}.classroom.phase-reveal .room-main{display:block}.classroom.phase-reveal figure img{height:90px}.classroom.phase-reveal .rankings{margin-top:4px}.classroom.phase-reveal .reveal-details{margin:0}.classroom.phase-reveal .room-timer{margin-bottom:2px}.classroom.phase-reveal .personal-result{margin:0}.classroom.phase-finished>h1{font-size:20px}.classroom.phase-finished>p{margin:0;font-size:12px}}@media (height<=600px) and (width<=700px){.classroom figure img,.question figure img{height:88px}.home-page .hero h1{font-size:28px}footer .environment-note{pointer-events:none;font-size:8px;position:absolute;bottom:0;right:8px}}@media (height<=450px){#root{min-height:100dvh}main:not(.admin-page){flex:auto}.classroom figure img,.question figure img{height:120px}}.phase-tabs{gap:6px;margin-bottom:6px;display:flex}.phase-tabs button{min-height:44px;padding:4px 10px;font-size:12px}.phase-tabs button[aria-pressed=true]{color:#fff;background:#244c3d}.classroom.phase-reveal .room-main{display:block}.classroom.phase-reveal.show-standings .room-main>figure,.classroom.phase-reveal.show-standings .room-main>.reveal,.classroom.phase-reveal.show-object .room-main>.rankings,.roster-toggle{display:none}.room-metrics{grid-template-columns:1fr 1fr}@media (width>=701px){.student-room.phase-question .room-main{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:start;gap:12px;display:grid}.student-room.phase-question .room-main>.room-timer{grid-column:1/-1}.student-room.phase-question figure img{height:clamp(180px,100dvh - 250px,580px)}.teacher-room .room-dashboard{grid-row:auto}}@media (width<=700px){.home-page .hero>p:not(.eyebrow){max-width:30em}.home-page .hero h1{font-size:27px}.home-page .panel>.muted{display:none}.classroom figure img,.question figure img{height:clamp(80px,100dvh - 500px,400px)}.guess-feedback{margin:2px 0;padding:2px 6px;font-size:11px;line-height:1.3}.teacher-room .room-dashboard{grid-row:auto}.teacher-room .room-dashboard .section-top h2{display:none}.teacher-room .room-dashboard .section-top{float:right}.teacher-room .room-dashboard .dashboard-code{font-size:10px}.teacher-room .room-dashboard .dashboard-code strong{letter-spacing:1px;font-size:15px}.teacher-room .room-metrics{clear:both}.teacher-room .dashboard-qr{display:none}.teacher-room .participant-cards{grid-template-columns:1fr 1fr}.teacher-room .roster-toggle{width:100%;min-height:44px;padding:4px;font-size:12px;display:block}.teacher-room.roster-closed .participant-cards,.teacher-room.roster-closed .roster-pagination,.teacher-room.roster-open:not(.phase-finished) .room-main{display:none}.teacher-room.phase-lobby .room-link [role=img]{flex-basis:80px;width:80px}.teacher-room.phase-lobby .lobby-card>.eyebrow{display:none}.teacher-room.phase-lobby .room-link a{max-width:150px;font-size:10px}.classroom.phase-reveal .room-main{display:block}}.mobile-roster-tab{display:none}.teacher-room.phase-reveal .room-dashboard{padding:6px}@media (width<=700px){.teacher-room.phase-reveal .mobile-roster-tab{display:block}.teacher-room.phase-reveal .phase-tabs{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.teacher-room.phase-reveal .phase-tabs button{padding:4px}.teacher-room.phase-reveal .room-dashboard>.section-top,.teacher-room.phase-reveal .dashboard-code,.teacher-room.phase-reveal .room-metrics,.teacher-room.phase-reveal .roster-toggle{display:none}.teacher-room.phase-reveal.roster-open .participant-cards{display:grid}}.classroom.phase-finished .room-layout{grid-template-columns:minmax(0,1fr)}.classroom.phase-finished .final-rankings>.section-top{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}@media (width>=701px){.classroom.phase-finished .final-rankings{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:center;gap:8px 20px;display:grid}.classroom.phase-finished .podium-stage{grid-area:1/1/span 3;width:100%}.classroom.phase-finished .ranking-list,.classroom.phase-finished .rank-pagination,.classroom.phase-finished .rank-tie-note{grid-column:2}.student-room.phase-question figure img{height:clamp(180px,100dvh - 290px,560px)}.teacher-room.phase-question figure img{height:clamp(180px,100dvh - 270px,700px)}.projection .participant-main strong{font-size:18px}}@media (width<=319px){.header,.header nav{flex-wrap:wrap}.guess-controls .answers{grid-template-columns:repeat(2,minmax(0,1fr))}.guess-controls .answers button,.guess-controls .answers button:nth-child(-n+2){grid-column:auto}.year-input-row,.home-page .mode-grid{grid-template-columns:minmax(0,1fr)}}@media (width<=700px){.game-page .question>.section-top{flex-wrap:nowrap;align-items:center;gap:8px}.game-page .question>.section-top .eyebrow{letter-spacing:0;margin:0;font-size:10px}.game-page .question>.section-top .step{font-size:10px}.game-page .question>progress{margin:2px 0;display:block}.game-page .question>h1{margin:2px 0 4px;font-size:21px}}@media (width>=701px){.game-page>.question{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:start;gap:6px 16px;display:grid}.game-page>.question>.section-top,.game-page>.question>progress,.game-page>.question>h1,.game-page>.question>.lives{grid-column:1/-1}.game-page>.question>figure{grid-column:1}.game-page>.question>.guess-controls,.game-page>.question>.endless-finish{grid-column:2}.game-page>.question figure img{height:clamp(180px,100dvh - 300px,560px)}}.game-page>.reveal{margin:0;padding:12px}.game-page>.reveal>.eyebrow{margin:0;font-size:11px}.game-page>.reveal>h1{margin:2px 0 6px;font-size:30px}.game-page>.reveal>.answer-feedback{gap:4px 12px;margin:4px 0;padding:6px 8px;font-size:13px}.game-page>.reveal>.object-title{margin:4px 0;font-size:13px}.game-page>.reveal .reveal-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:start;gap:12px;margin:6px 0}.game-page>.reveal figure{margin:0;position:relative}.game-page>.reveal .gallery-controls{background:#ffffffeb;border-radius:10px;gap:4px;margin:0;position:absolute;top:4px;right:4px}.game-page>.reveal .gallery-controls button{min-width:44px;min-height:44px;padding:4px}.game-page>.reveal .gallery-controls .zoom-label{display:none}.game-page>.reveal figcaption{margin-top:2px;font-size:11px;line-height:1.25}.game-page>.reveal .gallery-help{display:none}.reveal-key-feature{margin:0 0 4px;font-size:15px}.reveal-explanation summary{cursor:pointer;align-items:center;min-height:44px;font-size:13px;display:flex}.reveal-sources{margin:4px 0;padding:4px 0}.reveal-sources p{margin:0}@media (width<=700px){.game-page>.reveal{padding:6px}.game-page>.reveal>h1{margin:2px 0 4px;font-size:21px}.game-page>.reveal>.eyebrow{letter-spacing:0;font-size:10px}.game-page>.reveal>.answer-feedback{padding:4px 6px;font-size:11px}.game-page>.reveal .round-points{font-size:14px}.game-page>.reveal>.object-title{font-size:11px}.game-page>.reveal .reveal-grid{gap:8px}.game-page>.reveal figure img{height:clamp(100px,100dvh - 410px,320px)}.reveal-key-feature{font-size:12px;line-height:1.4}.reveal-explanation summary{font-size:11px}.reveal-sources{font-size:10px}.game-page>.reveal>.primary{min-height:44px;padding:4px 12px}}.game-page>.question>.endless-stats{grid-column:1/-1}.game-page .endless-stats{gap:4px 10px;margin:2px 0;padding:4px 8px;font-size:12px}.game-page .lives{gap:6px}.game-page .lives b{font-size:16px}.game-page .endless-finish{margin-top:2px;padding-top:2px}.game-page .endless-finish button{min-height:44px;margin:0;padding:4px 8px;font-size:12px}.game-page>.panel:not(.question):not(.reveal){margin:0;padding:12px}.game-page .game-result{padding:4px 0}.game-page .result-celebration{width:160px;height:110px;margin:0 auto 4px}.game-page .result-medal{width:80px;height:100px;top:0}.game-page .result-celebration i{top:48px;left:78px}.game-page .game-result .eyebrow{margin:0;font-size:10px}.game-page .game-result h1{margin:4px 0;font-size:clamp(24px,4vw,32px)}.game-page .result-score{margin:4px 0;font-size:14px}.game-page .result-score strong{font-size:30px}.game-page .result-message{margin:4px auto 8px;font-size:12px}.game-page .result-details{padding:0 8px}.game-page .result-details summary{align-items:center;min-height:44px;font-size:12px;display:flex}.game-page .result-again{min-height:44px;margin-top:8px}.guess-footer{justify-content:center;align-items:center;gap:6px;display:flex}.guess-footer>.unknown{min-height:44px;margin:0;padding:4px 8px;font-size:12px}.guess-footer>.endless-finish{border:0;margin:0;padding:0}.guess-footer .endless-finish>.unknown{margin:0}.game-page>.reveal figure img{height:clamp(110px,100dvh - 370px,450px)}@media (width>=701px){.game-page>.question:has(.endless-stats) figure img{height:clamp(180px,100dvh - 320px,540px)}}@media (width<=700px){.game-page>.question:has(.endless-stats) figure img{height:clamp(80px,100dvh - 520px,380px)}.game-page>.reveal figure img{height:clamp(100px,100dvh - 410px,320px)}}.game-page>.reveal:has(>.endless-stats):not(:has(details[open])){grid-template:"eyebrow eyebrow""title lives""feedback feedback""object-title object-title""object object"minmax(100px,1fr)"sources sources""action action"/minmax(0,1fr) auto;gap:4px 8px;height:calc(100dvh - 124px);display:grid}.game-page>.reveal:has(>.endless-stats)>.eyebrow{grid-area:eyebrow}.game-page>.reveal:has(>.endless-stats)>h1{grid-area:title}.game-page>.reveal:has(>.endless-stats)>.endless-stats{grid-area:lives;align-self:center;margin:0;padding:0 4px;font-size:11px}.game-page>.reveal:has(>.endless-stats)>.answer-feedback{grid-area:feedback;margin:0}.game-page>.reveal:has(>.endless-stats)>.object-title{grid-area:object-title;margin:0}.game-page>.reveal:has(>.endless-stats)>.reveal-grid{grid-area:object}.game-page>.reveal:has(>.endless-stats)>.reveal-sources{grid-area:sources;margin:0}.game-page>.reveal:has(>.endless-stats)>.primary{grid-area:action;justify-self:start}.game-page>.reveal:has(>.endless-stats):not(:has(details[open])) .reveal-grid{align-items:stretch;min-height:0;margin:0}.game-page>.reveal:has(>.endless-stats):not(:has(details[open])) figure{grid-template-rows:minmax(44px,1fr) auto;min-height:0;display:grid}:is(.game-page>.reveal:has(>.endless-stats):not(:has(details[open])) .gallery-strip,.game-page>.reveal:has(>.endless-stats):not(:has(details[open])) .gallery-slide){height:100%;min-height:0}.game-page>.reveal:has(>.endless-stats):not(:has(details[open])) figure img{height:100%;min-height:0;max-height:none}@media (width<=700px){.game-page>.reveal:has(>.endless-stats):not(:has(details[open])){gap:3px 6px;height:calc(100dvh - 104px)}.game-page>.reveal:has(>.endless-stats)>.endless-stats{justify-content:flex-end;gap:0 6px;max-width:160px}.game-page>.reveal:has(>.endless-stats) .lives{flex-wrap:nowrap;gap:3px}}.game-page .endless-result>.eyebrow{letter-spacing:0;margin:0;font-size:10px}.game-page .endless-result>h1{margin:4px 0;font-size:clamp(24px,4vw,32px)}.game-page .endless-result>p{margin:6px 0;font-size:12px}.game-page .endless-result .endless-total strong{font-size:36px;line-height:1.1}.game-page .endless-result>.mode-note{margin:6px 0;padding:8px}.game-page .endless-result>.unknown{min-height:44px;margin-top:4px;padding:4px 8px;font-size:12px}@media (width<=700px){.teacher-room .room-dashboard>.section-top{display:none}}.game-page>.reveal:has(>.endless-stats):not(:has(details[open])){height:calc(100dvh - 140px)}@media (width<=700px){.game-page>.reveal:has(>.endless-stats):not(:has(details[open])){height:calc(100dvh - 136px)}.teacher-room .participant-main strong{line-height:1.2}.teacher-room .participant-meta{line-height:1.3}.teacher-room .connection-dot{line-height:1.2}}@media (width>=1200px){.teacher-room .room-dashboard>.section-top{float:right}.teacher-room .room-dashboard>.section-top h2{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.teacher-room .dashboard-code{min-height:44px;margin:0}.teacher-room .room-metrics{clear:both;align-items:center;margin:4px 0}.teacher-room .room-metrics strong{font-size:18px;display:inline}}@media (width>=701px){.teacher-room .participant-cards>li{grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:8px;display:grid}.teacher-room .participant-main{grid-area:1/1;line-height:1.2}.teacher-room .participant-meta{grid-area:2/1;line-height:1.2}.teacher-room .moderate-button{grid-area:1/2/span 2;min-height:44px;padding:0 4px;font-size:11px}.teacher-room .moderation-form{grid-area:3/1/auto/-1}.teacher-room .participant-cards>li{padding:0 8px}}@media (width>=1200px){.teacher-room.phase-question .room-dashboard{position:relative}.teacher-room.phase-question .dashboard-qr{float:none;position:absolute;top:54px;right:10px}.teacher-room.phase-question .room-metrics,.teacher-room.phase-question .room-dashboard>progress{width:calc(100% - 140px)}}.host-room-info{width:100%}.host-room-info summary{font-size:12px}@media (width<=700px){.host-room .lobby-invitation{grid-template-columns:80px minmax(0,1fr);align-items:center;column-gap:8px;display:grid}.host-room .lobby-invitation>p{grid-area:1/2;margin:0;font-size:11px}.host-room .lobby-invitation .room-code{font-size:18px}.host-room .lobby-card .room-link{display:contents}.host-room .room-link>[role=img]{grid-area:1/1/span 2;width:80px}.host-room .room-link>a{grid-area:2/2;align-items:center;min-height:44px;font-size:11px;display:flex}.host-room .room-dashboard h2{font-size:15px;line-height:1.3}.host-room .participant-main strong,.host-room .connection-dot,.host-room .participant-meta{line-height:1.2}.classroom .host-room-info{margin:0}.host-room-info summary{justify-content:center}}@media (width>=320px) and (width<=340px) and (height>=450px) and (height<=600px){.guess-controls .answers button{white-space:nowrap;overflow-wrap:normal;padding-inline:2px;font-size:13px;position:relative}.guess-controls .answers .choice-mark{font-size:10px;line-height:1;position:absolute;top:2px;right:3px}.student-room.phase-question:has(.room-timer) figure img{height:64px}}@media (width>=701px) and (width<=1199px) and (height>=450px) and (height<=800px){.game-page>.reveal:not(:has(>.endless-stats)) figure img{height:clamp(110px,100dvh - 394px,426px)}}@media (width>=320px) and (width<=340px) and (height>=450px) and (height<=600px){.home-page{gap:2px}.home-page .hero{padding-block:0}.home-page .mode-card{padding-block:6px}.home-page .mode-card strong{font-size:15px;line-height:1.2}}@media (height>=450px) and (height<=800px){.game-page>.reveal:not(:has(>.endless-stats)):not(:has(details[open])){grid-template-rows:auto auto auto auto minmax(100px,1fr) auto auto;grid-template-columns:minmax(0,1fr);gap:4px;height:calc(100dvh - 140px);display:grid}.game-page>.reveal:not(:has(>.endless-stats)):not(:has(details[open]))>:is(.answer-feedback,.object-title,.reveal-sources){margin:0}.game-page>.reveal:not(:has(>.endless-stats)):not(:has(details[open]))>.reveal-grid{align-items:stretch;min-height:0;margin:0}.game-page>.reveal:not(:has(>.endless-stats)):not(:has(details[open])) figure{grid-template-rows:minmax(44px,1fr) auto;min-height:0;display:grid}.game-page>.reveal:not(:has(>.endless-stats)):not(:has(details[open])) :is(.gallery-strip,.gallery-slide){height:100%;min-height:0}.game-page>.reveal:not(:has(>.endless-stats)):not(:has(details[open])) figure img{height:100%;min-height:0;max-height:none}.game-page>.reveal:not(:has(>.endless-stats)):not(:has(details[open]))>.primary{justify-self:start}}
