:root{--bg:#14121f;--surface:#1e1a2e;--surface-2:#2a2541;--border:#3a3456;--fg:#f4f1ff;--muted:#a8a1c4;--accent:#ffb703;--accent-ink:#14121f;--danger:#ff5d73;--ok:#3ddc97;--accent-text:var(--accent);--danger-text:var(--danger);--ok-text:var(--ok);--radius:14px;--serif:Georgia, "Times New Roman", serif;--sans:system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--a0:#8b5cf6;--a1:#14b8a6;--a2:#e0479e;--a3:#fb923c;--a4:#38bdf8;--a5:#a3e635;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-family:var(--sans)}:root[data-theme=light]{--bg:#f4f1ff;--surface:#fff;--surface-2:#ebe7f7;--border:#d4cde8;--fg:#14121f;--muted:#5f5880;--danger:#e5304f;--ok:#1fae73;--accent-text:#8a5a00;--danger-text:#c0213d;--ok-text:#0b7a4b;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}html,body{background:var(--bg);min-height:100%;color:var(--fg);margin:0}#main{visibility:visible}body{-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}a{color:var(--accent-text)}h1,h2,h3{margin:0;line-height:1.15}h1{font-family:var(--serif);font-size:2rem}h2{font-size:1.25rem}h3{font-size:1.05rem}input,textarea,button,select{font:inherit;color:inherit}textarea{background:var(--bg);border:1px solid var(--border);border-radius:10px;outline:none;width:100%;min-width:0;padding:.65rem .8rem}input:not([type=checkbox]):not([type=radio]):not([type=file]){background:var(--bg);border:1px solid var(--border);border-radius:10px;outline:none;width:100%;min-width:0;padding:.65rem .8rem}select{background:var(--bg);border:1px solid var(--border);border-radius:10px;outline:none;padding:.65rem .8rem}input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px}select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}a:focus-visible{outline:2px solid var(--accent);outline-offset:2px}label:focus-within{outline:2px solid var(--accent);outline-offset:2px}textarea{resize:vertical}.page{width:100%;max-width:760px;margin:0 auto;padding:1.5rem 1rem 4rem}.page.wide{max-width:1000px}.page.narrow{max-width:420px}.page.center{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:100dvh;display:flex}.stack{flex-direction:column;gap:1rem;display:flex}.page.center.stack{align-items:stretch}.page.center.stack>.brand,.page.center.stack>.tagline,.page.center.stack>a{align-self:center}.row{flex-wrap:wrap;align-items:center;gap:.6rem;display:flex}.row.between{justify-content:space-between}.grow{flex:12rem;min-width:0}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);text-align:left;padding:1.25rem}.muted{color:var(--muted)}.small{font-size:.875rem}.strong{font-weight:700}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.brand{color:var(--fg);align-items:center;gap:.5rem;text-decoration:none;display:inline-flex}.brand img{width:2rem;height:2rem}.brand .wordmark{font-family:var(--serif);letter-spacing:-.02em;color:var(--accent-text);font-size:1.4rem;font-weight:700}.brand.large img{width:4.5rem;height:4.5rem}.brand.large .wordmark{font-size:3.2rem}.tagline{color:var(--muted);margin:0;font-size:1.15rem}.topbar{border-bottom:1px solid var(--border);background:var(--surface);z-index:5;grid-template-columns:minmax(max-content,1fr) auto minmax(max-content,1fr);align-items:center;gap:1rem;padding:.75rem 1rem;display:grid;position:sticky;top:0}.topbar a{text-decoration:none}.topbar>:first-child{justify-self:start}.topbar>:last-child{justify-self:end}.icon-svg{flex:none;width:1.15em;height:1.15em}.corner-links{top:max(.75rem, env(safe-area-inset-top));right:max(.75rem, env(safe-area-inset-right));gap:.25rem;display:flex;position:fixed}.corner-link{color:var(--muted);opacity:.7;border-radius:50%;padding:.55rem;font-size:1.1rem;transition:opacity .15s,color .15s;display:inline-flex}button.corner-link{font:inherit;cursor:pointer;background:0 0;border:none}.corner-link:hover{color:var(--fg);opacity:1}.corner-link:focus-visible{color:var(--fg);opacity:1}.button{border:1px solid var(--border);background:var(--surface-2);color:var(--fg);cursor:pointer;white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:.4rem;padding:.6rem 1rem;font-weight:600;text-decoration:none;transition:transform 80ms,filter .15s;display:inline-flex}.button:hover:not(:disabled){filter:brightness(1.15)}.button:active:not(:disabled){transform:scale(.97)}.button:disabled,.button.disabled{opacity:.4;cursor:default}.button.disabled{pointer-events:none}.button.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.button.ghost{background:0 0}.button.danger{background:var(--danger);border-color:var(--danger);color:var(--accent-ink)}.button.icon{padding:.5rem .7rem}.button.icon .icon-svg{vertical-align:-.2em;width:1.15em;height:1.15em}.button.danger-icon{color:var(--danger-text)}.button.big{padding:1rem 1.5rem;font-size:1.2rem}.field{text-align:left;flex-direction:column;gap:.35rem;display:flex}.field>span{color:var(--muted);font-size:.875rem}.field.inline{flex-direction:row;align-items:center;gap:.6rem}.field:not(:is(.beside,:has(>span~span))){gap:0;margin-top:.4rem;display:grid}.field:not(:is(.beside,:has(>span~span)))>*{grid-area:1/1}.field:not(:is(.beside,:has(>span~span)))>span{z-index:1;white-space:nowrap;background:linear-gradient(transparent calc(50% - 1px), var(--bg) calc(50% - 1px));pointer-events:none;place-self:start;margin:0 .6rem;padding:0 .3rem;font-size:.75rem;line-height:1;transform:translateY(-50%)}.field:not(:is(.beside,:has(>span~span))):focus-within{outline:none}.field:not(:is(.beside,:has(>span~span))):focus-within>span{color:var(--accent)}.field:not(:is(.beside,:has(>span~span)))>:is(input,select):focus{border-color:var(--accent)}.field:not(:is(.beside,:has(>span~span)))>:is(input,select){min-width:100%}.select-sizer{visibility:hidden;white-space:nowrap;border:1px solid transparent;height:0;padding:0 2.2rem 0 .8rem;overflow:hidden}input:disabled,select:disabled{opacity:.5;cursor:not-allowed}.quiz-filters{flex-wrap:wrap}.search{align-items:center;min-width:12rem;display:flex;position:relative}.search svg{color:var(--muted);pointer-events:none;position:absolute;left:.75rem}.quiz-filters .search input[type=search]{width:100%;padding-left:2.4rem}input.short-number{flex:none;width:5.5rem!important}.library-passage{white-space:pre-line;font-style:italic}.library-answer{color:var(--ok-text)}.list-row.library-row{border-left:3px solid var(--category);padding-left:.75rem}.card.library-main{padding-inline:0}.card.library-main>:not(.library-list){margin-inline:1.25rem}.card.library-main .list-row.library-row{margin-left:-1px;padding-left:calc(1.25rem - 2px);padding-right:1.25rem}.category-icon{flex:none;display:inline-flex}.library-meta{flex-wrap:wrap;justify-content:space-between;gap:0 1rem;display:flex}.library-meta .category-icon{vertical-align:-.15em;margin-right:.35rem}.library-category.selected .category-icon{color:inherit!important}.link-button{color:var(--accent-text);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}.library-row-actions{align-items:center;display:flex}.library-edited{color:var(--accent-text)}.dialog.edit-library-dialog{width:min(52rem,100%)}.library-sync.in-step{color:var(--ok-text)}.library-sync.changed{color:var(--accent-text);border-color:var(--accent-text)}.dialog.library-sync-dialog{width:min(52rem,100%)}.library-versions{grid-template-columns:repeat(auto-fit,minmax(16rem,1fr));gap:.75rem;display:grid}.library-version{border:1px solid var(--border);border-radius:var(--radius);padding:.75rem}.library-version h3{margin:0;font-size:.95rem}.library-duplicate{color:var(--accent-text)}.library-options{flex-wrap:wrap;gap:.2rem .9rem;display:flex}.library-wrong{color:var(--muted)}.random-categories .list-row{padding:.45rem 0}.number-edit{flex-wrap:wrap}.number-edit input.short{width:7rem!important}.field-error{color:var(--danger-text);margin:0;font-size:.875rem}input.short{width:6rem!important}.error{background:color-mix(in srgb, var(--danger) 18%, transparent);border:1px solid var(--danger);text-align:left;border-radius:10px;margin:0;padding:.7rem .9rem}.spinner{border:4px solid var(--surface-2);border-top-color:var(--accent);border-radius:50%;width:2.5rem;height:2.5rem;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.transfer progress{appearance:none;background:var(--surface-2);border:none;border-radius:999px;width:100%;height:.5rem;overflow:hidden}.transfer progress::-webkit-progress-bar{background:var(--surface-2)}.transfer progress::-webkit-progress-value{background:var(--accent);transition:width .2s}.transfer progress::-moz-progress-bar{background:var(--accent)}.transfer progress:indeterminate{background:linear-gradient(90deg, var(--surface-2) 30%, var(--accent) 50%, var(--surface-2) 70%);background-size:300% 100%;animation:1.4s linear infinite sweep}.transfer progress:indeterminate::-webkit-progress-bar{background:0 0}.transfer progress:indeterminate::-moz-progress-bar{background:0 0}@keyframes sweep{0%{background-position:100% 0}to{background-position:0 0}}.list{margin:0;padding:0;list-style:none}.list-row{border-top:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:.75rem;padding:.85rem 0;display:flex}.list-row a.strong{color:var(--fg);text-decoration:none}.code{letter-spacing:.12em;color:var(--accent-text);font-family:ui-monospace,monospace;font-weight:700}.save-state{color:var(--muted);font-size:.875rem}.title-input{font-family:var(--serif);font-weight:700;background:0 0!important;border-color:transparent!important;padding-left:0!important;font-size:1.8rem!important}.title-input:hover,.title-input:focus{border-color:var(--border)!important;padding-left:.8rem!important}.ready{color:var(--ok-text);margin:0;font-weight:600}.not-playable{color:var(--accent-text);font-weight:600}.issues{border:1px solid var(--accent);background:color-mix(in srgb, var(--accent) 10%, transparent);border-radius:10px;padding:.8rem 1rem}.issues ul{margin:.4rem 0 0;padding-left:1.2rem}.settings-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem;display:grid}.choice,.media-box{border:1px solid var(--border);border-radius:10px;min-width:0;margin:0;padding:.75rem}.choice legend,.media-box legend{padding:0 .35rem;font-weight:600}.choice p{margin:.5rem 0 0}.segmented{background:var(--bg);border-radius:10px;gap:3px;padding:3px;display:flex}.segmented button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:8px;flex:1;padding:.5rem;font-weight:600}.segmented button.selected{background:var(--accent);color:var(--accent-ink)}.question-text{font-size:1.1rem}.slide-card{border-style:dashed;border-color:color-mix(in srgb, var(--accent) 60%, var(--border))}.slide-title-input{font-family:var(--serif);font-weight:700;font-size:1.4rem!important}.thumb{object-fit:cover;border-radius:8px;max-width:10rem;height:5rem}.answers-edit{flex-direction:column;gap:.5rem;margin:0;padding:0;list-style:none;display:flex}.answer-edit{border:1px solid transparent;border-radius:12px;align-items:center;gap:.5rem;padding:.35rem;display:flex}.parts-edit{flex-direction:column;gap:.8rem;display:flex}.part-edit{border:1px solid var(--border);border-radius:12px;padding:.8rem}.answer-thumb{object-fit:cover;border-radius:6px;width:3.4rem;height:2.6rem}.answer-edit.correct{border-color:var(--ok);background:color-mix(in srgb, var(--ok) 8%, transparent)}.correct-toggle{cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:.35rem;font-size:.875rem;display:flex}.check-field{cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:.5rem;display:flex}.check-field input{width:1.2rem;height:1.2rem;accent-color:var(--accent)}.correct-toggle input{width:1.2rem;height:1.2rem;accent-color:var(--ok)}.page.editor{grid-template-columns:minmax(10rem,1fr) minmax(0,1000px) minmax(10rem,1fr);grid-template-areas:".top.""add list shuffle";gap:1rem;max-width:1480px;display:grid}.editor-top{grid-area:top}.editor-list{grid-area:list}.editor-add{grid-area:add}.editor-shuffle{grid-area:shuffle}.editor-side{flex-direction:column;align-self:start;gap:.6rem;display:flex;position:sticky;top:5rem}.editor-shuffle{height:calc(100vh - 6rem)}.editor-tools{flex-direction:column;gap:.6rem;display:flex}.quiz-table-card{padding:0;overflow-x:auto}.quiz-table{border-collapse:collapse;width:100%;font-size:.9rem}.quiz-table th{border-bottom:1px solid var(--border);color:var(--muted);text-align:left;white-space:nowrap;padding:.6rem;font-size:.8rem;font-weight:600}.quiz-table td{border-bottom:1px solid var(--border);white-space:nowrap;padding:.5rem .6rem}.quiz-table tbody tr:last-child td{border-bottom:0}.quiz-table tbody tr{cursor:pointer}.quiz-table tbody tr:hover{background:color-mix(in srgb, var(--accent) 8%, transparent)}.quiz-table .slide-row{background:color-mix(in srgb, var(--muted) 10%, transparent)}.quiz-table tbody{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.quiz-table tbody tr{transition:transform .15s}.quiz-table.dragging tbody{cursor:grabbing}.quiz-table.dragging tbody tr:hover{background:0 0}.quiz-table.dragging tbody tr.slide-row{background:color-mix(in srgb, var(--muted) 10%, transparent)}.quiz-table.dragging tbody tr.dragged{z-index:1;background:var(--surface-2);transition:none;position:relative;box-shadow:0 6px 18px rgba(0,0,0,.3)}.quiz-table.settling tbody tr{transition:none}.quiz-table .col-index{white-space:nowrap;font-variant-numeric:tabular-nums}.quiz-table .col-index a{color:var(--accent-text);font-weight:700;text-decoration:none}.table-problem{color:var(--danger-text);margin-left:.3rem;font-size:.7rem}.quiz-table .col-kind,.quiz-table .col-subject{color:var(--muted);font-size:.8rem}.quiz-table .col-text{width:100%;max-width:0}.quiz-table .col-number{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.quiz-table .single-line{text-overflow:ellipsis;overflow:hidden}@media (width<=800px){.quiz-table .col-subject{display:none}}@media (width<=520px){.quiz-table .col-points,.quiz-table .col-kind{display:none}}.editor-nav[hidden]{display:none}.editor-nav{touch-action:none;flex-direction:column;flex:1;gap:2px;min-height:0;display:flex;overflow:hidden}.editor-nav a{background:var(--border);color:transparent;white-space:nowrap;border-radius:3px;flex:none;align-items:center;gap:.4rem;min-width:0;min-height:0;padding:0 .5rem;font-size:.8rem;text-decoration:none;transition:flex-basis .15s,background-color .15s;display:flex;position:relative;overflow:hidden}.editor-nav a.nav-slide{background:var(--muted)}.editor-nav a[data-visible]{background:color-mix(in srgb, var(--accent) 45%, transparent)}.editor-nav a[aria-current]{background:var(--accent)}.editor-nav a.flagged{background:var(--danger)}.editor-nav a[data-open]{border:1px solid var(--border);color:var(--muted);background:0 0;border-radius:8px}.editor-nav a[data-open].nav-slide{border-style:dashed}.editor-nav a[data-open][data-visible]{background:color-mix(in srgb, var(--accent) 15%, transparent);color:var(--fg)}.editor-nav a[data-open][aria-current]{border-color:var(--accent);color:var(--accent-text);font-weight:700}.editor-nav a[data-open]:hover{border-color:var(--accent)}.editor-nav a[data-open].flagged:after{content:"";background:var(--danger);border-radius:50%;width:6px;height:6px;position:absolute;top:3px;right:3px}.editor-nav .nav-number{text-align:center;font-variant-numeric:tabular-nums;flex:none;min-width:1.6rem}.editor-nav .nav-text{text-overflow:ellipsis;overflow:hidden}@media (width<=1300px){.page.editor{grid-template-columns:minmax(0,1fr);grid-template-areas:"top""nav""add""shuffle""list";max-width:1000px}.editor-side,.editor-tools{flex-flow:wrap;align-content:center;gap:.4rem}.editor-add,.editor-tools{top:calc(var(--topbar-height,4rem) + var(--editor-nav-held,2.8rem));z-index:4;background:var(--bg);justify-content:center;align-self:stretch;margin-top:-1rem;padding-block:.2rem;position:sticky}.editor-tools{top:calc(var(--topbar-height,4rem) + var(--editor-nav-held,2.8rem) + var(--editor-add-height,3rem));grid-area:shuffle}.editor-shuffle{display:contents}.page.editor:has(.editor-nav[hidden]){--editor-nav-held:0rem}.editor-nav{top:var(--topbar-height,4rem);z-index:4;border-block:.4rem solid var(--bg);background:var(--bg);flex-direction:row;grid-area:nav;height:2.8rem;position:sticky}.editor-nav a{justify-content:center;padding:0}.editor-nav .nav-text{display:none}.editor-nav .nav-number{min-width:0}}.page.library-page{max-width:1480px}.library-layout{grid-template-columns:minmax(12rem,16rem) minmax(0,1000px) minmax(12rem,16rem);grid-template-areas:".search.""nav list filters";justify-content:center;align-items:start;gap:1rem;display:grid}.library-search{grid-area:search}.library-search input[type=search]{width:100%;padding-left:2.4rem!important}.library-nav{flex-direction:column;grid-area:nav;gap:.15rem;max-height:calc(100vh - 6rem);display:flex;position:sticky;top:5rem;overflow-y:auto}.library-filters{flex-direction:column;grid-area:filters;gap:1rem;display:flex;position:sticky;top:5rem}.library-main{grid-area:list}@media (width<=1100px){.library-layout{grid-template-columns:minmax(12rem,16rem) minmax(0,1fr);grid-template-areas:"nav search""nav filters""nav list"}.library-filters{flex-flow:wrap;align-items:flex-start;gap:1rem;position:static}}.dialog.library-dialog{width:min(96rem,100%)}@media (width>=1101px){.dialog .library-layout{grid-template-columns:minmax(11rem,15rem) minmax(0,1fr) minmax(11rem,15rem)}}.dialog .library-nav,.dialog .library-filters{max-height:calc(90vh - 7rem);top:0}.dialog .library-main{background:0 0;border:0;padding:0}@media (width<=800px){.library-layout,.dialog .library-layout{grid-template-columns:minmax(0,1fr);grid-template-areas:"nav""search""filters""list"}.library-nav{max-height:40vh;position:static}}.admin-tabs{align-self:center;width:min(24rem,100%)}.admin-tabs a{color:var(--muted);text-align:center;border-radius:8px;flex:1;padding:.5rem;font-weight:600;text-decoration:none}.admin-tabs a.selected{background:var(--accent);color:var(--accent-ink)}.library-category,.library-topic,.library-option{width:100%;color:var(--fg);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:.5rem;padding:.45rem .7rem;font-weight:600;display:flex}.library-topic{color:var(--muted);padding:.3rem .7rem .3rem 1.4rem;font-size:.875rem;font-weight:500}.library-category:hover:not(:disabled),.library-topic:hover,.library-option:hover:not(:disabled){background:var(--surface-2)}.library-category.selected,.library-topic.selected,.library-option.selected{background:var(--accent);color:var(--accent-ink)}.library-category .count,.library-topic .count,.library-option .count{opacity:.75;font-size:.8rem;font-weight:500}.library-topic-row{align-items:center;gap:.2rem;display:flex}.library-topic-row .remove-topic{flex:none}.library-nav .add-topic{margin-top:.8rem}.add-topic-dialog{max-width:34rem}.category-preview{flex-wrap:wrap;align-items:center;gap:.4rem;margin:0;font-weight:700;display:flex}.look-choices{flex-wrap:wrap;gap:.4rem;display:flex}.look-choice{border:2px solid var(--border);background:var(--surface-2);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;width:2.4rem;height:2.4rem;display:inline-flex}.look-choice.swatch{background:var(--swatch)}.look-choice.selected{border-color:var(--fg);box-shadow:0 0 0 2px var(--accent)}.look-choice:disabled{opacity:.2;cursor:not-allowed}.library-filter-list{flex-direction:column;gap:.1rem;min-width:12rem;display:flex}.library-filter-title{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;padding:0 .7rem .2rem;font-size:.8rem;font-weight:700}.library-option{font-weight:500}.library-option:disabled{opacity:.4;cursor:default}.library-topics{flex-direction:column;gap:.1rem;margin:.15rem 0 .4rem;display:flex}.badge{color:#fff;border-radius:8px;flex:none;justify-content:center;align-items:center;width:2.2rem;height:2.2rem;font-size:1.1rem;line-height:1;display:inline-flex}.a0{background:var(--a0)}.a1{background:var(--a1);color:var(--accent-ink)}.a2{background:var(--a2)}.a3{background:var(--a3);color:var(--accent-ink)}.a4{background:var(--a4);color:var(--accent-ink)}.a5{background:var(--a5);color:var(--accent-ink)}svg.shape{flex:none;display:block}.host{flex-direction:column;gap:2vh;height:100dvh;padding:2vh 3vw;font-size:clamp(.75rem,min(1.6vw,2.8vh),2.2rem);display:flex}.host-bar{color:var(--muted);justify-content:space-between;align-items:center;gap:1rem;display:flex}.host-bar .brand img{width:2.2em;height:2.2em}.host-bar .brand .wordmark{font-size:1.5em}.overlay{z-index:20;background:color-mix(in srgb, var(--bg) 70%, transparent);place-items:center;padding:1rem;font-size:1rem;display:grid;position:fixed;inset:0}.panel{width:min(40rem,100%);max-height:90vh;overflow-y:auto}.panel h2{margin:0}.lobby-limit{text-align:center;margin:0}.dialog{width:min(28rem,100%)}.wide-panel{width:min(70rem,100%)}.results-scroll{overflow-x:auto}table.results{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%}.results th,.results td{border-bottom:1px solid var(--border);text-align:right;white-space:nowrap;padding:.4rem .6rem}.results th:nth-child(2),.results td:nth-child(2){text-align:left}.results .total{color:var(--accent-text);font-weight:800}@media print{body *{visibility:hidden}.results-overlay,.results-overlay *{visibility:visible}.results-overlay{color:#000;background:#fff;position:absolute;inset:0}.results-overlay .card{background:#fff;border:0;max-height:none}.results-overlay .total{color:#000}.results-overlay .row:not(.between),.no-print{display:none!important}}.team-row .avatar{width:2.4rem;height:2.4rem}.stack-tight{flex-direction:column;gap:.25rem;display:flex}.host:focus{outline:none}.host-main{flex-direction:column;flex:1;gap:2vh;min-height:0;display:flex;overflow-y:auto}.host-controls{justify-content:flex-end;align-items:center;gap:1rem;display:flex}.host-tools .button{font-size:.8em}.paused-banner{z-index:10;background:var(--accent);color:var(--accent-ink);border-radius:999px;padding:.3em 1.2em;font-weight:700;animation:1.6s ease-in-out infinite pulse;position:fixed;top:1.5vh;left:50%;transform:translate(-50%)}@keyframes pulse{50%{opacity:.6}}.lobby{flex:1;grid-template-columns:auto 1fr;align-items:center;gap:4vw;display:grid}.join-panel{text-align:center;flex-direction:column;align-items:center;gap:1.5vh;display:flex}.qr{border-radius:var(--radius);aspect-ratio:1;background:#fff;width:min(32vw,46vh);padding:1vw}.qr svg{width:100%;height:100%;display:block}.join-url{color:var(--muted);word-break:break-all;font-size:.9em}.join-code{letter-spacing:.15em;color:var(--accent-text);font-family:ui-monospace,monospace;font-size:3.2em;font-weight:800;line-height:1}.wifi-details{gap:4vh}.wifi-field{flex-direction:column;gap:.5vh;font-size:1.4em;display:flex}.wifi-value{color:var(--accent-text);overflow-wrap:anywhere;font-family:ui-monospace,monospace;font-size:1.8em;font-weight:800}.lobby-art{object-fit:contain;align-self:center;max-width:100%;max-height:42vh}.teams-grid{flex-wrap:wrap;align-content:flex-start;gap:1.2vw;display:flex}.team-chip{background:var(--surface-2);border-radius:999px;align-items:center;gap:.5em;padding:.4em .9em .4em .4em;animation:.35s cubic-bezier(.34,1.56,.64,1) pop;display:flex}.team-chip.offline{opacity:.45}.avatar{object-fit:cover;background:var(--accent);width:2.4em;height:2.4em;color:var(--accent-ink);border-radius:50%;flex:none;justify-content:center;align-items:center;font-weight:800;display:inline-flex}.avatar.large{width:6rem;height:6rem;font-size:2.5rem}@keyframes pop{0%{opacity:0;transform:scale(.4)}}.multiplier{background:var(--accent);color:var(--accent-ink);border-radius:999px;margin-left:.8em;padding:.1em .6em;font-weight:800}.question-count{flex-wrap:wrap;align-items:center;gap:.5em;display:inline-flex}.question-count .multiplier{margin-left:.3em}.question-subject{color:var(--category);align-items:center;gap:.35em;font-weight:700;display:inline-flex}.question-topic{color:var(--muted);font-weight:500}.question-head{justify-content:space-between;align-items:center;gap:1rem;display:flex}.question-title{font-family:var(--serif);text-align:center;margin:0;font-size:2.4em}.question-passage{white-space:pre-line;text-align:center;max-width:60rem;max-height:40vh;font-family:var(--serif);margin:0 auto;font-size:1.5em;line-height:1.4;overflow-y:auto}.phone-question{white-space:pre-line}.bonus-line{text-align:center;color:var(--muted);margin:0;font-size:1.2em}.bonus-line strong,.bonus-reveal h3,.bonus-field strong{color:var(--accent-text)}.bonus-edit{border:1px dashed var(--accent);border-radius:10px;min-width:0;margin:0;padding:.75rem}.bonus-edit legend{color:var(--accent-text);font-weight:700}.question-body{flex:1;justify-content:center;align-items:center;gap:3vw;min-height:0;display:flex}.question-image{border-radius:var(--radius);object-fit:contain;max-width:60vw;max-height:min(38vh,100%)}.question-split{flex:1 0 auto;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:3vw;display:grid}.question-split>.question-image,.question-split>.reveal-frame{justify-self:end;max-width:100%}.question-split>.question-image,.question-split>.reveal-frame .question-image{max-width:100%;max-height:45vh}.question-split.wide-text{grid-template-columns:minmax(0,2fr) minmax(0,3fr)}.passage-box{min-width:0;container-type:inline-size}.question-split .question-passage{text-align:left;max-width:none;max-height:45vh;font-size:clamp(1em, calc(100cqi / (var(--longest) * .52)), 1.5em);margin:0}@media (width<=800px){.question-split{grid-template-columns:minmax(0,1fr);justify-items:center}.question-split>.question-image,.question-split>.reveal-frame{justify-self:center}.question-split>.question-image,.question-split>.reveal-frame .question-image{max-height:38vh}.question-split.wide-text{grid-template-columns:minmax(0,1fr)}.passage-box{width:100%}.question-split .question-passage{text-align:center}}.reveal-frame{border-radius:var(--radius);display:flex;position:relative;overflow:hidden}.reveal-frame .question-image{border-radius:0}.revealed-picture{align-self:center;max-height:24vh}.question-image.zoomed{transition:transform .25s linear}.tiles{grid-template-rows:repeat(4,1fr);grid-template-columns:repeat(6,1fr);display:grid;position:absolute;inset:0}.tile{background:var(--surface-2);box-shadow:inset 0 0 0 1px var(--bg);transition:opacity .5s,transform .5s}.tile.gone{opacity:0;transform:scale(.6)}.question-video{cursor:pointer;background:#000}.timer{flex:none;width:4.5em;height:4.5em;position:relative}.timer svg{width:100%;height:100%;transform:rotate(-90deg)}.timer circle{fill:none;stroke-width:10px}.timer .track{stroke:var(--surface-2)}.timer .progress{stroke:var(--accent);stroke-linecap:round;transition:stroke-dashoffset .25s linear}.timer.urgent .progress{stroke:var(--danger)}.timer span{justify-content:center;align-items:center;font-size:1.4em;font-weight:800;display:flex;position:absolute;inset:0}.answered{text-align:center}.answered strong{font-size:2em;display:block}.answer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.2vw;padding:8px;display:grid}.answer-tile{border-radius:var(--radius);color:#fff;align-items:center;gap:.8em;padding:.9em 1em;font-size:1.3em;font-weight:700;transition:opacity .4s,transform .4s;display:flex;position:relative}.answer-tile .shape{font-size:1.2em}.answer-tile .text{overflow-wrap:anywhere;flex:1;min-width:0}.tile-image{object-fit:contain;background:rgba(0,0,0,.15);border-radius:10px;max-width:45%;height:15vh}.answer-tile .picks{opacity:.9;font-size:.85em}.answer-tile.dim{opacity:.25}.answer-tile.right{box-shadow:0 0 0 3px var(--bg), 0 0 0 7px var(--fg)}.answer-tile.right:after{content:"✓";margin-left:.4em}.standings{flex-direction:column;gap:.6vh;margin:0;padding:0;list-style:none;display:flex}.standing{background:var(--surface);border-radius:12px;align-items:center;gap:.8em;padding:.45em .8em;animation:.4s both slide-in;display:flex}.standing .rank{text-align:right;width:2em;color:var(--muted);font-weight:800}.standing .name{overflow-wrap:anywhere;flex:1;min-width:0;font-weight:700;line-height:1.2}.standing .round,.guess .small{white-space:nowrap}.standing .round{font-variant-numeric:tabular-nums;color:var(--ok-text);font-size:.75em}.rank-change{text-align:center;width:2.2em;font-size:.7em;font-weight:800}.rank-change.up{color:var(--ok-text)}.rank-change.down{color:var(--danger-text)}.rank-change.same{color:var(--muted)}.fastest{text-align:center;color:var(--muted);margin:0}.fastest strong{color:var(--accent-text)}.explanation{border-left:4px solid var(--accent);border-radius:var(--radius);background:var(--surface);justify-content:center;align-items:center;gap:1.5vw;max-width:60rem;margin:0 auto;padding:.8em 1.2em;display:flex}.explanation-image{border-radius:var(--radius);object-fit:contain;max-width:40%;min-height:0;max-height:24vh}.explanation-text{white-space:pre-line;margin:0;font-size:1.3em;line-height:1.4}.results-slide .standings{text-align:left;width:min(60rem,90vw);font-size:min(1.3em, (100dvh - 13em) / (var(--rows,6) * 3.6))}.standing .score{font-variant-numeric:tabular-nums;color:var(--accent-text);font-weight:800}@keyframes slide-in{0%{opacity:0;transform:translate(-2rem)}}.closed-layout{flex:1;grid-template-columns:minmax(0,3fr) minmax(0,2fr);align-items:start;gap:3vw;display:grid}.slide{text-align:center;flex-direction:column;flex:1;justify-content:safe center;align-items:center;gap:3vh;min-height:0;display:flex}.slide-title{font-family:var(--serif);margin:0;font-size:3.4em}.slide-image{border-radius:var(--radius);object-fit:contain;max-width:80vw;min-height:0;max-height:55vh}.slide-text{white-space:pre-line;max-width:50em;margin:0;font-size:1.6em}.slide-split{grid-template-columns:minmax(0,3fr) minmax(0,2fr);align-items:center;gap:3vw;width:100%;min-height:0;display:grid}.slide-split .slide-image{justify-self:end;max-width:100%;max-height:70vh}.slide-split .slide-text{text-align:left}@media (width<=800px){.slide-split{grid-template-columns:minmax(0,1fr);justify-items:center}.slide-split .slide-image{justify-self:center;max-height:45vh}.slide-split .slide-text{text-align:center}}.waiting-note{text-align:center;color:var(--muted);margin:auto;font-size:1.6em}.open-prompt{border:2px dashed var(--border);border-radius:var(--radius);text-align:center;color:var(--muted);margin:auto 0 0;padding:1.2em;font-size:1.6em}.open-reveal{flex-direction:column;gap:1.2vh;min-width:0;display:flex}.open-reveal .accepted{margin:0;font-size:1.4em}.open-reveal .accepted strong{color:var(--ok-text)}.text-groups,.order-items{flex-wrap:wrap;justify-content:center;gap:1vh 1vw;margin:0;padding:0;list-style:none;display:flex}ol.order-items{flex-flow:column}.order-item{background:var(--surface);border-radius:12px;padding:.5em 1em;font-size:1.2em;font-weight:700}.order-item.revealed{border-left:6px solid var(--ok);align-items:center;gap:1rem;display:flex}.order-item.revealed .strong{flex:1}.order-rank{color:var(--accent-text);min-width:1.5em;font-weight:800}.part-cards{flex-wrap:wrap;justify-content:center;align-items:flex-start;gap:1vw;margin:0;padding:0;list-style:none;display:flex}.part-card>span{gap:.4em;display:flex}.part-card{background:var(--surface);border-radius:12px;flex-direction:column;align-items:center;gap:.4em;padding:.5em .8em;font-weight:700;display:flex}.part-card img{object-fit:contain;border-radius:8px;max-width:18vw;height:22vh}.parts-reveal{grid-template-columns:repeat(auto-fit,minmax(16em,1fr));align-items:start;gap:1vh 1.5vw;display:grid}.part-reveal .text-groups{flex-flow:column}.part-reveal .text-group{flex-wrap:wrap;gap:.4rem;font-size:.95em}.part-reveal .group-text{flex-basis:100%}.part-reveal .judge{flex-wrap:wrap}.part-reveal .accepted{font-size:.9em}.part-reveal h3{gap:.5em;margin:0 0 .4em;display:flex}.guesses{flex-direction:column;gap:.8vh;margin:0;padding:0;list-style:none;display:flex}.text-group,.guess{background:var(--surface);border-left:6px solid var(--border);border-radius:12px;flex-wrap:wrap;align-items:center;gap:1rem;padding:.6em .9em;font-size:1.15em;display:flex}.text-group.full,.guess.closest{border-left-color:var(--ok)}.text-group.half{border-left-color:var(--accent)}.text-group.wrong{border-left-color:var(--danger)}.group-text{overflow-wrap:anywhere;flex-direction:column;flex:1;min-width:7em;display:flex}.judge{align-items:center;gap:.3rem;display:flex}.judge-button{border:1px solid var(--border);background:var(--surface-2);min-width:2.2em;height:2.2em;color:var(--muted);font:inherit;cursor:pointer;border-radius:8px;font-weight:700}.judge-button:disabled{opacity:.35;cursor:default}.judge-button.selected{color:var(--accent-ink);background:var(--fg)}.text-group.full .judge-button.selected{background:var(--ok)}.text-group.half .judge-button.selected{background:var(--accent)}.text-group.wrong .judge-button.selected{background:var(--danger)}.bonus{text-align:center;min-width:3.2em;color:var(--accent-text);font-weight:700}.number-answer{font-family:var(--serif);color:var(--ok-text);margin:0;font-size:3.2em;font-weight:700}.guess .strong{flex:1}.pin-reveal .guess{flex-wrap:wrap;row-gap:.2rem}.pin-reveal .guess .strong{flex-basis:100%}.guess.closest:after{content:"🏆"}.podium{flex:1;justify-content:center;align-items:flex-end;gap:2vw;min-height:0;padding-top:2vh;display:flex}.podium-spot{flex-direction:column;align-items:center;gap:1vh;width:22vw;max-height:100%;display:flex}.podium-spot:not(.hidden) .podium-block{transform-origin:bottom;animation:.6s ease-out both rise}.podium-spot:not(.hidden)>:not(.podium-block){animation:.4s ease-out .4s both pop}.podium-spot .avatar{width:11vh;height:11vh;font-size:5vh}.podium-spot .team-name{text-align:center;font-size:1.4em;font-weight:800}.podium-spot .points{color:var(--accent-text);font-weight:800}.podium-block{width:100%;font-family:var(--serif);color:var(--accent-ink);border-radius:12px 12px 0 0;justify-content:center;align-items:flex-start;padding-top:1vh;font-size:3em;font-weight:800;display:flex}.podium-spot.p1 .podium-block{background:linear-gradient(var(--accent), #e09f00);height:20vh}.podium-spot.p2 .podium-block{background:linear-gradient(#d9d9e6,#a9a9bb);height:14vh}.podium-spot.p3 .podium-block{background:linear-gradient(#e2a072,#b8764a);height:9vh}.podium-spot.hidden{visibility:hidden}.podium-spot.p1{order:2}.podium-spot.p2{order:1}.podium-spot.p3{order:3}@keyframes rise{0%{transform:scaleY(0)}}.runners-up{color:var(--muted);flex-wrap:wrap;justify-content:center;gap:.6vw;font-size:.8em;display:flex}.runners-up .team-chip{animation-timing-function:ease-out}.auto-note{color:var(--muted);font-size:.85em}.soundtrack{color:var(--muted);align-items:center;gap:.6rem;margin-right:auto;font-size:1.6rem;display:flex}.audio-preview{max-width:100%;height:2.4rem}.soundtrack.playing{color:var(--accent-text)}.equalizer{visibility:hidden;align-items:flex-end;gap:3px;height:1.1em;display:inline-flex}.soundtrack.playing .equalizer{visibility:visible}.equalizer span{background:currentColor;border-radius:2px;width:4px;height:30%;animation:.9s ease-in-out infinite alternate equalize}.equalizer span:nth-child(2){animation-delay:-.3s}.equalizer span:nth-child(3){animation-delay:-.6s}@keyframes equalize{to{height:100%}}.player{min-height:100dvh;padding:max(.75rem, env(safe-area-inset-top)) 1rem max(1rem, env(safe-area-inset-bottom));flex-direction:column;gap:1rem;display:flex}.player-bar{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.player-bar .team{align-items:center;gap:.5rem;min-width:0;font-weight:700;display:flex}.player-bar .team span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.player-bar .avatar{width:2.2rem;height:2.2rem}.player-score{color:var(--accent-text);white-space:nowrap;font-weight:800}.player-main{text-align:center;flex-direction:column;flex:1;justify-content:center;gap:1rem;display:flex}.player-main.top{justify-content:flex-start}.big-icon{font-size:4rem;line-height:1}.status-title{font-family:var(--serif);margin:0;font-size:1.8rem}.open-form input{text-align:center;padding:.8rem 1rem;font-size:1.4rem}.joker{border:2px dashed var(--accent);color:var(--accent-text);font:inherit;text-align:center;background:0 0;border-radius:12px;margin:0;padding:.7rem 1rem;font-weight:700}button.joker{cursor:pointer}.joker.armed{background:var(--accent);color:var(--accent-ink);border-style:solid}.order-pad{flex-direction:column;gap:.5rem;margin:0;padding:0;list-style:none;display:flex}.order-choice{border:2px solid var(--border);background:var(--surface);width:100%;color:var(--fg);font:inherit;text-align:left;cursor:pointer;border-radius:12px;align-items:center;gap:.8rem;padding:.9rem 1rem;font-weight:700;display:flex}.order-choice.picked{border-color:var(--accent)}.pairs-pad{grid-template-columns:1fr 1fr;gap:.5rem;display:grid}.pair-column{flex-direction:column;gap:.5rem;margin:0;padding:0;list-style:none;display:flex}.pair-choice{border:2px solid var(--border);background:var(--surface);width:100%;min-height:3.4rem;color:var(--fg);font:inherit;text-align:left;cursor:pointer;border-radius:12px;align-items:center;gap:.5rem;padding:.5rem;font-weight:700;display:flex}.pair-choice.picked{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent)}.pair-choice .badge{width:1.6rem;height:1.6rem}.pair-body{overflow-wrap:anywhere;flex-direction:column;flex:1;align-items:flex-start;gap:.25rem;min-width:0;display:flex}.pair-image{object-fit:contain;border-radius:6px;max-width:100%;max-height:3.5rem}.pair-mark{color:var(--accent-text);white-space:nowrap}.pair-board{flex-direction:column;align-items:center;gap:2vh;display:flex}.pair-board .pair-column{flex-flow:wrap;justify-content:center;gap:1vw}.pair-card{background:var(--surface);border-radius:12px;align-items:center;gap:.8em;padding:.4em 1em;font-size:1.2em;font-weight:700;display:flex}.pair-board .pair-card{max-width:22vw}.pair-board .pair-image{max-height:10vh}.pairs-reveal{flex-direction:column;gap:1vh;width:min(100%,80rem);margin:0 auto;padding:0;list-style:none;display:flex}.pair-row{grid-template-columns:1fr auto 1fr auto;align-items:center;gap:1vw;display:grid}.pair-row .pair-card{border-left:6px solid var(--ok)}.pair-row .pair-image{max-height:7vh}.pair-edit{flex-wrap:wrap}.locked-parts{flex-direction:column;gap:.5rem;margin:0;padding:0;list-style:none;display:flex}.locked-parts li{background:var(--surface);border-radius:10px;flex-direction:column;padding:.5rem .8rem;display:flex}.locked-answer{background:var(--surface);text-align:center;overflow-wrap:anywhere;border-radius:12px;margin:0;padding:.8rem 1rem;font-size:1.4rem}.number-slider input[type=range]{width:100%;accent-color:var(--accent)}.phone-question{font-family:var(--serif);margin:0;font-size:1.3rem}.phone-timer{background:var(--surface-2);border-radius:3px;height:6px;overflow:hidden}.phone-timer div{background:var(--accent);height:100%;transition:width .25s linear}.phone-answers{flex:1;grid-template-columns:repeat(2,1fr);grid-auto-rows:minmax(5.5rem,1fr);gap:.6rem;display:grid}.phone-answers.with-text{grid-template-columns:1fr;grid-auto-rows:minmax(3.5rem,auto)}.phone-answer{border-radius:var(--radius);color:#fff;cursor:pointer;border:0;justify-content:center;align-items:center;gap:.6rem;font-size:2.6rem;font-weight:700;transition:transform 80ms,opacity .2s,box-shadow .2s;display:flex}.phone-answer-image{object-fit:contain;border-radius:8px;max-width:40%;height:3.2rem}.phone-answers.with-text .phone-answer{text-align:left;justify-content:flex-start;padding:.75rem 1rem;font-size:1.05rem}.phone-answers.with-text .phone-answer .shape{font-size:1.4rem}.phone-answer:active{transform:scale(.96)}.phone-answer.selected{box-shadow:0 0 0 4px var(--bg), 0 0 0 8px var(--fg)}.phone-answer.faded{opacity:.3}.result{border-radius:var(--radius);padding:1.25rem}.result.good{background:color-mix(in srgb, var(--ok) 20%, transparent);border:1px solid var(--ok)}.result.bad{background:color-mix(in srgb, var(--danger) 20%, transparent);border:1px solid var(--danger)}.result .points{font-size:2.2rem;font-weight:800}.avatar-picker{cursor:pointer;flex-direction:column;align-items:center;gap:.5rem;display:flex}.mascot-picker{grid-template-columns:repeat(4,3.4rem);justify-content:center;gap:.5rem;display:grid}.team-name-field{width:min(20rem,100%);margin-inline:auto}.team-look{flex-direction:column;align-items:center;display:flex}.team-look>summary{cursor:pointer;flex-direction:column;align-items:center;gap:.5rem;list-style:none;display:flex}.team-look>summary::-webkit-details-marker{display:none}.team-look[open]>summary .button{display:none}.team-look[open]{gap:1rem}.team-look[open]>:not(summary){margin-top:1rem}.mascot-choice{cursor:pointer;background:0 0;border:0;border-radius:50%;width:3.4rem;height:3.4rem;padding:0;display:flex}.mascot-choice .avatar{width:3.4rem;height:3.4rem}.mascot-choice.selected{outline:3px solid var(--fg);outline-offset:2px}.backdrop-picker{grid-template-columns:repeat(6,2.2rem);justify-content:center;gap:.5rem;display:grid}.backdrop-swatch{border:2px solid var(--border);cursor:pointer;border-radius:50%;width:2.2rem;height:2.2rem;padding:0}.backdrop-swatch.default{background:var(--accent)}.backdrop-0{background:var(--a0)}.backdrop-1{background:var(--a1)}.backdrop-2{background:var(--a2)}.backdrop-3{background:var(--a3)}.backdrop-4{background:var(--a4)}.backdrop-5{background:var(--a5)}.backdrop-6{background:linear-gradient(135deg, var(--a0), var(--a2))}.backdrop-7{background:linear-gradient(135deg, var(--a1), var(--a4))}.backdrop-8{background:linear-gradient(135deg, var(--a3), var(--a2))}.backdrop-9{background:linear-gradient(135deg, var(--a5), var(--a1))}.backdrop-10{background:linear-gradient(135deg, var(--a4), var(--a0))}.avatar.mascot{overflow:hidden}.mascot-art{object-fit:cover;filter:hue-rotate(-156deg);width:100%;height:100%}.backdrop-0>.mascot-art{filter:hue-rotate(60deg)}.backdrop-1>.mascot-art{filter:hue-rotate(-25deg)}.backdrop-2>.mascot-art{filter:hue-rotate(127deg)}.backdrop-3>.mascot-art{filter:hue-rotate(-171deg)}.backdrop-4>.mascot-art{filter:hue-rotate()}.backdrop-5>.mascot-art{filter:hue-rotate(-116deg)}.backdrop-6>.mascot-art{filter:hue-rotate(94deg)}.backdrop-7>.mascot-art{filter:hue-rotate(-13deg)}.backdrop-8>.mascot-art{filter:hue-rotate(158deg)}.backdrop-9>.mascot-art{filter:hue-rotate(-70deg)}.backdrop-10>.mascot-art{filter:hue-rotate(30deg)}.backdrop-swatch.selected{outline:3px solid var(--fg);outline-offset:2px}.backdrop-hint{text-align:center;max-width:20rem;margin:0 auto}.code-input{text-align:center;letter-spacing:.3em;font-family:ui-monospace,monospace;font-size:2rem!important}.connection{background:var(--surface-2);border:1px solid var(--border);z-index:10;border-radius:999px;padding:.5rem 1rem;font-size:.875rem;position:fixed;bottom:1rem;left:50%;transform:translate(-50%)}.answer-tile.a1,.answer-tile.a3,.answer-tile.a4,.answer-tile.a5,.phone-answer.a1,.phone-answer.a3,.phone-answer.a4,.phone-answer.a5{color:var(--accent-ink)}@media (width<=700px) and (orientation:portrait){.lobby,.closed-layout{grid-template-columns:1fr}.qr{width:min(70vw,40vh)}.answer-grid{grid-template-columns:minmax(0,1fr)}}@media (width<=700px){.topbar{flex-wrap:wrap;justify-content:space-between;display:flex}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}.test-page{flex-direction:column;gap:1rem;padding:1rem;display:flex}.test-tools{flex-wrap:wrap}.test-layout{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:1rem;display:grid}.test-screen iframe{border:1px solid var(--border);border-radius:var(--radius);background:var(--bg);width:100%;height:max(30rem,100vh - 10rem)}.test-phones{flex-wrap:wrap;gap:1rem;max-width:calc(660px + 1rem);display:flex}.test-phone{flex-direction:column;gap:.3rem;display:flex}.test-phone iframe,.test-phone-waiting{background:var(--bg);border:8px solid #000;border-radius:28px;width:330px;height:640px}@media (width<=1100px){.test-layout{grid-template-columns:1fr}.test-phones{max-width:none}}.test-phone-waiting{place-items:center;display:grid}.playground-screen{border:1px solid var(--border);border-radius:var(--radius);background:var(--bg);height:max(30rem,100dvh - 6rem);overflow:hidden;container-type:size}.playground-screen .host{gap:2cqh;height:100%;padding:2cqh 3cqw;font-size:clamp(.75rem,min(1.6cqw,2.8cqh),2.2rem)}.playground-screen .host-main{gap:2cqh}.playground-screen .slide{gap:3cqh}.playground-screen .closed-layout{gap:3cqw}@container (width<=720px){.playground-screen .closed-layout{grid-template-columns:1fr}}.playground-screen .results-slide .standings{width:min(60rem,90cqw);font-size:min(1.3em, (100cqh - 13em) / (var(--rows,6) * 3.6))}.playground-screen .podium{gap:2cqw;padding-top:2cqh}.playground-screen .podium-spot{width:22cqw}.playground-screen .podium-spot .avatar{width:11cqh;height:11cqh;font-size:5cqh}.playground-screen .podium-spot.p1 .podium-block{height:20cqh}.playground-screen .podium-spot.p2 .podium-block{height:14cqh}.playground-screen .podium-spot.p3 .podium-block{height:9cqh}.playground-intro{text-align:center}@media (width>=801px) and (width<=1100px){.playground .test-layout{grid-template-columns:minmax(0,1fr) auto}}.playground-phone{background:var(--bg);border:8px solid #000;border-radius:28px;width:330px;height:max(30rem,min(640px,100dvh - 8rem));overflow-y:auto}.playground-phone .player,.playground-phone .page.center{min-height:100%}.pin-map{border-radius:var(--radius);-webkit-user-select:none;user-select:none;width:100%;max-width:100%;height:auto;display:block}div.pin-map img{border-radius:var(--radius);max-width:100%;display:block}.pin-map.pickable{cursor:crosshair}.map-pin circle{fill:var(--surface-2);stroke:#fff;stroke-width:4px}.map-pin text{fill:#fff;pointer-events:none;font-size:32px;font-weight:800}.map-pin.own circle{fill:var(--accent)}.map-pin polygon,.map-pin circle.dot{fill:#fff;stroke:none}.map-pin.answer polygon{fill:#000}.map-pin.own circle.dot,.map-pin.own text{fill:var(--accent-ink)}.map-pin.answer circle{fill:var(--ok)}.map-pin.answer text{fill:#000}.pin-reveal{grid-template-columns:minmax(0,3fr) minmax(0,2fr);align-items:start;gap:1.5vw;display:grid}.pin-reveal .pin-map{max-height:50vh}.pin-edit .pin-map{max-height:60vh}