@font-face{font-family:Arcade;src:url('/onboarding/after/demos/product-ready-20261106/prism/releases/a013731d4815e534572f/assets/display.woff2') format('woff2');font-display:swap;font-weight:100 900}
/* Layers: arena 0, home scrim 1, home 2, HUD 3, prompts 4, feedback 5, cutscene 6, errors 7. Dialogs use the browser top layer. */
:root{--ink:#101c20;--panel:#18272c;--field:#102025;--line:#3c5056;--text:#eef3ed;--muted:#afc0bb;--accent:#b5ff6c;--accent-dark:#365e1e;--accent-text:var(--accent);--button-ink:#15271d;--hover:#ffffff0d;color-scheme:dark;font:14px/1.5 Arcade,Arial,sans-serif;font-synthesis:none}
:root[data-theme=light]{--ink:#edf2ed;--panel:#fafcf9;--field:#e8eeea;--line:#bacbc2;--text:#182c2a;--muted:#46615a;--accent-text:var(--accent-dark);--hover:#142d2508;color-scheme:light}
@media(prefers-color-scheme:light){:root:not([data-theme=dark]){--ink:#edf2ed;--panel:#fafcf9;--field:#e8eeea;--line:#bacbc2;--text:#182c2a;--muted:#46615a;--accent-text:var(--accent-dark);--hover:#142d2508;color-scheme:light}}
*{box-sizing:border-box}body{margin:0;background:var(--ink);color:var(--text)}button,input,select{font:inherit}button{cursor:pointer;color:inherit;border:0}a{color:inherit;text-decoration:none}button,input,a{ -webkit-tap-highlight-color:transparent}button:disabled{opacity:.6;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,canvas:focus-visible{outline:3px solid var(--accent-text);outline-offset:4px}[hidden]{display:none!important}.icon{width:22px;height:22px;flex-shrink:0;fill:none}.shell{max-width:1560px;margin:auto;padding:0 32px}.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;font-weight:800;font-size:19px;letter-spacing:-.6px;white-space:nowrap}.brand>svg{width:31px;height:36px}.brand-light{font-weight:400}nav{display:flex;gap:5px;align-items:center}.nav-button,.icon-button{display:inline-flex;justify-content:center;align-items:center;gap:8px;background:transparent;min-width:44px;min-height:44px;border:1px solid transparent;border-radius:8px;padding:9px 12px}.icon-button{padding:9px;width:44px}.nav-button:hover,.icon-button:hover{background:var(--hover);border-color:var(--line)}.nav-button:active,.icon-button:active{transform:scale(.96)}.nav-button{font-size:13px}.layout{display:grid;grid-template-columns:minmax(0,1fr);padding:22px 0}.stage{position:relative;height:min(760px,calc(100dvh - 156px));min-height:540px;overflow:hidden;border:1px solid #425951;border-radius:16px;background:#092c29;color:#eef5e9;color-scheme:dark;isolation:isolate}.stage canvas{position:absolute;inset:0;display:block;width:100%;height:100%;touch-action:none;outline:none}.stage button:focus-visible,.stage canvas:focus-visible{outline-color:var(--accent)}.stage-top,.stage-bottom{position:absolute;left:24px;right:24px;display:flex;align-items:center;justify-content:space-between;gap:12px;pointer-events:none;z-index:3}.stage-top{top:20px;font-size:12px;color:#d0e3d8}.stage-top .eyebrow{font-size:12px;letter-spacing:.8px}.stage-number{font:11px/1.4 monospace;color:#b7cbc0;text-align:right}.stage-bottom{bottom:10px;color:#c0d4c8;font-size:11px;min-height:44px}.stage-bottom button{pointer-events:auto}.stage .icon-button:hover{background:#10262bc9;border-color:#728a7d}.stage .icon-button{color:#eff5e9}.home-panel{position:absolute;z-index:2;left:6%;top:50%;transform:translateY(-50%);width:47%;max-width:470px;pointer-events:none}.home-panel button{pointer-events:auto}.home-panel h1{font-size:clamp(52px,5.4vw,80px);line-height:.99;letter-spacing:-3px;font-weight:700;margin:0 0 22px;color:#efffe8}.title-dot{color:var(--accent)}.home-panel p{font-size:15px;line-height:1.7;color:#c4d8cd;margin:0 0 24px;max-width:340px}.home-mode:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#071f1cef,#071f1cca 29%,#071f1c38 65%,transparent);z-index:1;pointer-events:none}.home-mode .stage-top{display:none}.home-mode .stage-bottom{font-size:11px}.button{display:flex;align-items:center;justify-content:space-between;gap:14px;border-radius:8px;padding:14px 18px;min-height:48px;font-size:14px;font-weight:650;white-space:nowrap;transition:transform .18s,opacity .18s}.button:hover{transform:translateY(-2px)}.button:active{transform:translateY(0) scale(.98)}.primary{background:var(--accent);color:var(--button-ink);border:1px solid transparent}.secondary{background:var(--hover);border:1px solid var(--line);color:var(--text)}.stage .secondary{background:#10212799;border-color:#698378;color:#eef5e9}.home-panel .button{width:100%;max-width:290px;margin-top:10px}.home-panel .button small{display:block;font-size:11px;font-weight:400;letter-spacing:0;margin-top:4px;white-space:normal}.daily-link{background:transparent;color:#d7e8de;display:flex;align-items:center;gap:10px;min-height:52px;padding:16px 0;margin-top:6px;font-size:13px;text-align:left}.daily-link>svg:last-child{width:16px}.daily-link small{display:block;font-size:11px;color:#b9d0c3;margin-top:4px}.daily-link:hover{color:var(--accent)}.footer{display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:11px;padding:0 0 18px}.footer a:hover{color:var(--accent-text)}kbd{display:inline-block;padding:2px 5px;border:1px solid #78948766;border-radius:4px;font:10px/1.4 monospace;white-space:nowrap}
.hud{position:absolute;z-index:3;top:52px;left:22px;right:22px;display:flex;gap:22px;align-items:flex-start;pointer-events:none}.hud:before{content:'';position:absolute;top:-52px;left:-22px;right:-22px;height:150px;background:linear-gradient(#08201fde,#08201fb3 65%,transparent);z-index:-1;pointer-events:none}.hud>div{padding-top:8px}.hud>div>span,.top-score>span:first-child{display:block;font-size:10px;letter-spacing:.7px;color:#c3d9cc;margin-bottom:4px}.hud strong{display:block;font-size:25px;line-height:1.2;font-weight:500;font-variant-numeric:tabular-nums}.hud small{display:block;font-size:10px;color:#b6ccbf;margin-top:5px}.hud .hud-lives{margin-left:auto;min-width:56px}.hud .hud-lives strong{display:flex;align-items:center;gap:3px;color:var(--accent)}.hud-lives .icon{width:16px;height:20px}.hud button{pointer-events:auto}.top-score{min-width:112px;max-width:174px;text-align:center;border:1px solid #95bfa555;border-radius:8px;background:#0c2628;padding:7px 13px;margin-left:auto;color:#eff5e9}.top-score strong{color:var(--accent)}.top-score #top-player{display:block;font-size:11px;letter-spacing:0;margin:4px 0 0;color:#e7f1e8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-score:hover{border-color:var(--accent)}.top-score:active{transform:scale(.98)}.top-score small{color:#f4d69a;font-size:9px}.hud #pause{margin-top:7px}.arena-progress{position:absolute;z-index:3;left:24px;right:24px;bottom:62px;display:flex;justify-content:space-between;gap:10px;font-size:11px;color:#cfe4d6;pointer-events:none}.effects{position:absolute;z-index:3;top:153px;left:22px;right:22px;display:flex;flex-wrap:wrap;gap:6px;pointer-events:none}.effect{display:flex;gap:5px;align-items:center;font-size:11px;background:#102127ed;border:1px solid #81958a77;border-radius:8px;padding:6px 9px}.effect .icon{width:16px;height:16px}.launch-controls{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);z-index:4;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px;width:calc(100% - 128px)}.launch-controls:has(.launch[hidden]){display:none}.launch{position:relative;grid-column:2;flex-shrink:0;min-width:210px}.stage:has(.launch:not([hidden])) #control-help{visibility:hidden}.launch span{font:10px monospace;opacity:.75}.launch:hover{transform:translateY(-2px)}.launch:active{transform:scale(.98)}.toast{position:absolute;z-index:5;left:50%;top:150px;transform:translate(-50%,4px);max-width:85%;background:#102525f5;border:1px solid #95b39c88;border-radius:8px;padding:10px 15px;font-size:12px;color:#eef8e9;text-align:center;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}.toast.visible{opacity:1;transform:translate(-50%,0)}
dialog{background:var(--panel);border:1px solid var(--line);border-radius:16px;color:var(--text);width:460px;max-width:calc(100vw - 28px);max-height:90dvh;padding:32px;box-shadow:0 24px 80px #06161d66}dialog::backdrop{background:#07161ac9;backdrop-filter:blur(6px)}dialog h2{font-size:32px;font-weight:500;line-height:1.12;letter-spacing:-1px;margin:14px 0 16px;padding-right:25px}dialog h3{font-size:18px;font-weight:500;margin:24px 0 14px}dialog p{font-size:14px;line-height:1.65;color:var(--muted)}dialog .button{width:100%;margin-top:12px;justify-content:center}.close{position:absolute;right:10px;top:10px}.wide-dialog{width:740px}.small{font-size:12px!important;line-height:1.6}.muted{color:var(--muted)}.setting{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid var(--line);font-size:14px}.setting input[type=range]{width:150px;accent-color:var(--accent-text)}input[type=checkbox]{width:20px;height:20px;accent-color:var(--accent-text)}select{padding:7px 10px;background:var(--field);border:1px solid var(--line);color:var(--text);border-radius:8px;min-height:42px}.world-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.world-card{display:grid;grid-template-columns:96px minmax(0,1fr);align-items:center;gap:14px;overflow:hidden;background:var(--field);border:1px solid var(--line);border-radius:8px;padding:12px;text-align:left;min-height:112px;transition:transform .2s,background .2s}.world-card:hover{transform:translateY(-2px);background:var(--hover)}.world-card.current{background:var(--hover)}.world-card small{font:11px monospace;color:var(--muted)}.world-card strong{display:block;font-size:19px;font-weight:500;line-height:1.2;margin:8px 0;color:var(--text)}.world-card-copy{min-width:0}.world-preview{display:block;width:96px;height:84px;object-fit:cover;border-radius:4px;background:#101c20}.world-card-meta{display:flex;align-items:center;flex-wrap:wrap;gap:5px 8px;min-height:18px}.world-current,.world-completed{font-size:10px;font-weight:600;line-height:1.2;padding:3px 5px;border:1px solid var(--line);border-radius:4px;background:var(--field);color:var(--text);white-space:nowrap}.world-mechanic{font-size:12px;line-height:1.4;color:var(--muted)}.world-card:active{transform:scale(.98)}.control-guide,.power-guide{display:grid;grid-template-columns:1fr 1fr;gap:14px}.control-guide{margin-top:24px}.control-guide>div{background:var(--field);padding:18px;border-radius:8px}.control-guide .icon{color:var(--accent-text);display:block;margin-bottom:12px}.control-guide strong{font-weight:500}.control-guide p{font-size:12px;margin-bottom:0}.power-guide>div{display:flex;align-items:flex-start;gap:10px}.power-guide .power-symbol{display:flex;align-items:center;justify-content:center;background:#102127;width:36px;height:36px;flex-shrink:0;border-radius:8px}.power-guide .icon{width:21px}.power-guide strong{display:block;font-size:12px;font-weight:600}.power-guide p{font-size:11px;margin:2px 0}.score-tabs{display:flex;align-items:center;gap:8px;margin:22px 0 18px}.score-tabs button{min-height:44px;padding:9px 14px;background:var(--field);border:1px solid var(--line);border-radius:8px;font-size:13px;display:flex;align-items:center;gap:8px}.score-tabs button[aria-pressed=true]{background:var(--accent);color:var(--button-ink);border-color:transparent}.score-tabs button:last-child{margin-left:auto;background:transparent}.score-tabs .icon{width:17px}.leader-summary{display:flex;align-items:center;gap:14px;padding:18px;background:var(--field);border:1px solid var(--line);border-radius:8px}.leader-summary>svg{width:28px;height:28px;color:var(--accent-text)}.leader-summary>div{min-width:0}.leader-summary span{display:block;font-size:11px;color:var(--muted)}.leader-summary>div>strong{display:block;font-size:19px;font-weight:500;overflow-wrap:anywhere}.leader-summary>strong{margin-left:auto;font-size:27px;color:var(--accent-text);font-weight:500;font-variant-numeric:tabular-nums}.table-wrap{max-height:340px;overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:14px}th{position:sticky;top:0;background:var(--panel);font-size:11px;color:var(--muted);font-weight:500;letter-spacing:.5px;padding:12px 8px}td{padding:14px 8px;border-bottom:1px solid var(--line)}td:last-child,th:last-child{text-align:right}td:last-child{font-variant-numeric:tabular-nums;color:var(--accent-text)}tr.leading{background:var(--field)}tr.leading td:first-child{font-weight:700;color:var(--accent-text)}#score-status{font-size:12px;min-height:20px}#score-status.state-panel{padding:24px 18px;background:var(--field);border-radius:8px;font-size:14px;text-align:center}.score-skeleton{display:grid;gap:10px;padding:12px 0}.score-skeleton i{display:block;height:38px;background:var(--field);border-radius:8px}.score-skeleton i:nth-child(2){width:85%}.score-skeleton i:nth-child(3){width:93%}.result-score{padding:8px 0 22px}.result-score span{display:block;color:var(--muted);font-size:12px}.result-score strong{font-size:54px;line-height:1.3;font-weight:500;color:var(--accent-text);font-variant-numeric:tabular-nums}#result-kicker{font-size:12px;color:var(--accent-text)}#score-form label{display:block;font-size:13px;color:var(--text)}.submit-row{display:flex;align-items:center;gap:8px;margin-top:8px}.submit-row input{min-width:0;flex:1;min-height:48px;padding:12px;background:var(--field);border:1px solid var(--line);color:var(--text);border-radius:8px}.submit-row input::placeholder{color:var(--muted);opacity:1}.submit-row .button{width:auto;min-height:48px;margin:0}.error-panel{position:absolute;inset:0;z-index:7;background:#092329fa;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:32px}.error-panel p{max-width:420px;color:#c5d7cd;line-height:1.7}.noscript{position:fixed;inset:20px;z-index:7;padding:30px;background:var(--panel);border:1px solid var(--line)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.stage:fullscreen{width:100vw;height:100dvh;min-height:0;border-radius:0}.stage:fullscreen .home-panel{left:10%}
@media(prefers-reduced-motion:no-preference){dialog[open]{animation:dialog-in .18s ease-out}.score-skeleton i{animation:loading 1.2s ease-in-out infinite}.score-skeleton i:nth-child(2){animation-delay:.1s}.score-skeleton i:nth-child(3){animation-delay:.2s}@keyframes dialog-in{from{opacity:0;transform:translateY(8px) scale(.99)}to{opacity:1;transform:none}}@keyframes loading{50%{opacity:.45}}}
:root[data-reduced-motion=true] *{animation:none!important;transition:none!important}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
@media(max-height:780px) and (min-width:901px){.stage{min-height:540px}.home-panel h1{font-size:62px;margin-bottom:18px}.home-panel p{font-size:14px;margin-bottom:18px}}
@media(max-width:1100px){.shell{padding:0 22px}.layout{grid-template-columns:minmax(0,1fr)}.home-panel{width:53%}.home-panel h1{font-size:62px}.hud-combo{display:none}.hud{gap:14px}}
@media(max-width:900px){.layout{grid-template-columns:1fr}.stage{height:calc(100dvh - 146px);min-height:610px;max-height:880px}.home-panel{width:50%}.home-panel h1{font-size:72px}.hud-combo{display:block}.nav-button{font-size:12px;padding:9px}.topbar{gap:12px}}
@media(max-width:650px){.shell{padding:0 12px}.topbar{height:98px;display:grid;grid-template-columns:1fr;gap:0;padding:8px 0}.brand{font-size:15px;justify-content:center;gap:8px}.brand>svg{width:23px;height:27px}nav{justify-content:center;gap:4px}.nav-button{font-size:10px;gap:5px;padding:7px;min-height:42px}.nav-button .icon{width:17px}.icon-button{min-width:42px;min-height:42px;width:42px;padding:8px}.layout{padding:14px 0}.stage{height:calc(100dvh - 156px);min-height:600px}.home-panel{left:7%;width:86%;top:47%;max-width:none}.home-panel h1{font-size:clamp(52px,14vw,72px);letter-spacing:-2.4px;margin-bottom:20px}.home-panel p{font-size:14px;margin-bottom:20px}.home-panel .button{max-width:290px;font-size:13px}.home-mode:after{background:linear-gradient(90deg,#092320f3,#092320d9 55%,#0923208c)}.stage-top{left:16px;right:16px;top:18px;font-size:10px}.stage-top .eyebrow{font-size:10px;letter-spacing:.2px}.stage-number{font-size:9px}.hud{top:46px;left:15px;right:12px;gap:8px}.hud-combo{display:none}.hud strong{font-size:21px}.hud>div>span,.top-score>span:first-child{font-size:9px;letter-spacing:.2px}.hud #score-chase{max-width:95px;font-size:9px;line-height:1.3}.top-score{min-width:94px;max-width:118px;padding:7px 9px}.top-score #top-player{font-size:10px}.hud .hud-lives{min-width:40px}.hud-lives .icon{width:12px;height:19px}.hud .icon-button{width:42px;min-width:42px;padding:8px}.hud small{font-size:9px}.effects{top:148px;left:14px;right:14px}.effect{font-size:10px;padding:5px 7px}.toast{top:146px;font-size:11px;max-width:88%;width:max-content}.stage-bottom{left:15px;right:12px;font-size:9px;bottom:7px}.stage-bottom kbd{font-size:9px}.arena-progress{left:16px;right:16px;bottom:56px;font-size:10px}.launch-controls{bottom:8px;display:flex;flex-direction:column;gap:6px;width:max-content;max-width:calc(100% - 104px)}.launch{min-width:195px;font-size:13px}.launch span{font-size:9px}dialog{padding:26px 22px}dialog h2{font-size:29px}.world-grid{gap:8px}.world-card{grid-template-columns:minmax(0,1fr);align-content:start;gap:10px;padding:10px;min-height:0}.world-preview{width:100%;height:auto;aspect-ratio:800/420}.world-card-meta{gap:4px 6px}.world-card small{font-size:10px}.world-current{font-size:9px;padding:2px 4px}.world-card strong{font-size:18px}.world-mechanic{font-size:11px}.control-guide{grid-template-columns:1fr}.power-guide{gap:14px 10px}.power-guide p{font-size:10px}.power-guide strong{font-size:11px}.power-guide .power-symbol{width:28px;height:30px}.score-tabs{gap:5px}.score-tabs button{font-size:11px;padding:9px}.score-tabs button:last-child span{display:none}.leader-summary{padding:13px;gap:9px}.leader-summary>strong{font-size:22px}.leader-summary>div>strong{font-size:16px}table{font-size:12px}th,td{padding:12px 5px}.footer{font-size:10px;gap:12px;padding-bottom:12px}.result-score strong{font-size:48px}}
/* Requested Adventure score-age outlines; these communicate retention status. */
#scores-dialog{--score-green:#66d99a;--score-yellow:#edcb62;--score-red:#f28c91}
:root[data-theme=light] #scores-dialog{--score-green:#237747;--score-yellow:#92700a;--score-red:#b13c48}
@media(prefers-color-scheme:light){:root:not([data-theme=dark]) #scores-dialog{--score-green:#237747;--score-yellow:#92700a;--score-red:#b13c48}}
#scores-dialog [data-age-band=green]{--score-age-color:var(--score-green)}
#scores-dialog [data-age-band=yellow]{--score-age-color:var(--score-yellow)}
#scores-dialog [data-age-band=red]{--score-age-color:var(--score-red)}
#score-table.age-outlines{border-collapse:separate;border-spacing:0 7px}
#score-table.age-outlines tbody td{border-top:2px solid var(--score-age-color,var(--line));border-bottom:2px solid var(--score-age-color,var(--line))}
#score-table.age-outlines tbody td:first-child{border-left:2px solid var(--score-age-color,var(--line));border-radius:7px 0 0 7px;padding-left:10px}
#score-table.age-outlines tbody td:last-child{border-right:2px solid var(--score-age-color,var(--line));border-radius:0 7px 7px 0;padding-right:10px}
.score-age-legend{display:flex;flex-wrap:wrap;gap:6px 16px;margin:16px 0 4px!important;font-size:12px;color:var(--muted)}
.score-age-legend span{display:inline-flex;align-items:center;gap:7px}
.score-age-legend i{width:13px;height:13px;border:2px solid var(--score-age-color);border-radius:3px;flex-shrink:0}
/* Arena-focused layout and contextual information. */

.record-result{border-color:#bda260}.record-badge{display:inline-block;font-size:11px;letter-spacing:1.2px;padding:9px 13px;border:1px solid #bda260;border-radius:7px;background:#baa15a17;color:var(--text)}.record-result .result-score strong{color:var(--accent-text)}
.cinematic-mode::before,.cinematic-mode::after{content:'';position:absolute;left:0;right:0;height:7%;background:#050c11;z-index:6;pointer-events:none}.cinematic-mode::before{top:0}.cinematic-mode::after{bottom:0}.cinematic-mode .stage-top,.cinematic-mode .stage-bottom{visibility:hidden}.music-credit{padding:14px;background:var(--field);border-radius:8px;color:var(--accent-text);font-size:12px!important}@media(max-width:650px){.cinematic-mode::before,.cinematic-mode::after{height:6%}}
#arena-status{position:absolute;bottom:46px;left:0;font-size:12px;color:#dcebdc}.touch-controls{display:none}@media(pointer:coarse){.desktop-controls{display:none}.touch-controls{display:inline}}
.stage-top{z-index:4}
@media(max-width:380px){.topbar{position:relative}.brand{justify-content:flex-start;font-size:14px}.brand>svg{width:21px}nav>.icon-button{position:absolute;top:8px}#settings-open{right:0}#sound-toggle{right:44px}.nav-button{white-space:nowrap;gap:5px;padding:7px 10px}.stage-top .eyebrow{font-size:10px}}
@media(max-width:650px){.hud{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) 42px 42px;gap:6px}.hud strong{font-size:clamp(18px,5.4vw,21px)}.top-score{min-width:0;max-width:none;margin-left:0;width:100%}.hud .hud-lives{min-width:0;margin-left:0}.power-guide p{font-size:12px}.power-guide strong{font-size:13px}.power-guide{grid-template-columns:1fr}}

body>div[style*="position: fixed"]:has(a[href^="https://pagelove.com"]){position:static!important;background:var(--ink)!important;color:var(--muted)!important;border-top:1px solid var(--line)!important;opacity:1!important;font-size:11px!important;padding:12px!important}body>div[style*="position: fixed"]:has(a[href^="https://pagelove.com"]) a{color:var(--accent-text)!important}

.home-best{display:grid;grid-template-columns:auto 1fr;gap:3px 14px;align-items:baseline;max-width:290px;margin-top:12px;color:#c4d8cd;font-size:12px}.home-best strong{color:#efffe8;font-size:20px;font-weight:500;font-variant-numeric:tabular-nums}.home-best small{grid-column:1/-1;font-size:10px;color:#afc5b7}.result-best{margin:-8px 0 20px;color:var(--muted);font-size:12px}.journey-summary{font-size:12px;color:var(--muted);margin:14px 0 0!important}.play-tip{grid-column:3;max-width:360px;min-width:0;margin:0;color:#dcebdc;font-size:12px;line-height:1.4;text-align:left;pointer-events:none}
@media(max-width:650px){.home-best{margin-top:8px;font-size:11px}.home-best strong{font-size:19px}.play-tip{font-size:11px;max-width:100%;text-align:center}.journey-summary{font-size:11px}}

/* Cinematic captions keep a fixed dark surface over every world and UI theme. */
.cutscene,.record-celebration{position:absolute;inset:0;z-index:7;color:#f8fafc;color-scheme:dark;pointer-events:none;background:linear-gradient(transparent 45%,#050c1166 70%,#050c11cc)}
.record-celebration{z-index:8}
.cinematic-mode{background:#050c11}
.scene-copy{position:absolute;left:50%;bottom:calc(7% + 12px);transform:translateX(-50%);width:min(780px,calc(100% - 48px));padding:20px 28px;background:#061018f5;border-radius:10px;box-shadow:0 10px 32px #0005;text-align:center;font-family:Arcade,Arial,sans-serif}
.scene-copy .eyebrow{display:block;font-size:13px;line-height:1.4;font-weight:700;letter-spacing:.08em;color:#d0eeff}
.scene-copy h2{margin:10px 0;font-size:clamp(34px,4.2vw,52px);font-weight:700;line-height:1.12;letter-spacing:-.025em;color:#f8fafc;text-wrap:balance;overflow-wrap:anywhere}
.scene-copy p{margin:10px auto 0;max-width:56ch;font-size:16px;font-weight:450;line-height:1.55;color:#e5edf4;text-wrap:pretty}
.scene-copy .cut-next{font-size:15px;font-weight:650;color:#f8fafc}
.cut-next:empty{display:none}
#cut-copy{opacity:1}
.scene-copy .scene-hint{font-size:14px;color:#d0eeff}
.scene-copy h2:focus-visible{outline:2px solid #d0eeff;outline-offset:5px}
.scene-controls{position:absolute;right:22px;top:calc(7% + 12px);display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;max-width:calc(100% - 44px);pointer-events:auto}
.cut-progress{height:3px;width:150px;margin:16px auto 0;border-radius:2px;overflow:hidden;background:#627583}
.cut-progress span{display:block;height:100%;background:#d0eeff;transform-origin:left;transform:scaleX(0)}
.scene-controls .button{min-height:46px;padding:11px 16px;font-size:14px;font-weight:650;background:#061018f5;color:#f8fafc;border:1px solid #71828e;pointer-events:auto}
.scene-controls .button:hover{background:#172a38;border-color:#d0eeff}
.record-copy{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px 28px;text-align:left}
.record-copy h2{font-size:clamp(32px,3.7vw,46px);margin:8px 0 0}
.record-copy .eyebrow{color:#ffe3a0}
.record-score{text-align:center;white-space:nowrap}
.record-score strong{display:block;font-size:clamp(52px,5.8vw,76px);line-height:1.05;font-weight:700;letter-spacing:-.035em;font-variant-numeric:tabular-nums;color:#ffe3a0}
.record-score span{display:block;margin-top:6px;font-size:14px;line-height:1.3;font-weight:600;color:#e5edf4}
.record-copy p{grid-column:1/-1;max-width:58ch;margin:0 auto;text-align:center}
.record-copy .button{grid-column:1/-1;justify-self:center;min-width:210px;min-height:48px;margin:2px 0 0;padding:12px 20px;background:#ffe3a0;color:#14242a;font-size:15px;font-weight:700;pointer-events:auto}
.record-result h2{font-size:clamp(28px,3vw,36px);line-height:1.15;letter-spacing:-.02em;font-weight:700}
.record-result #result-description{font-size:16px;line-height:1.55;color:var(--text)}
.record-result .result-score strong{font-size:64px;line-height:1.15;font-weight:650}
.record-result .record-badge{font-size:12px;line-height:1.4;letter-spacing:.06em;font-weight:650}
.record-result #result-kicker{font-size:13px;font-weight:650}
.record-result #result-best,.record-result #score-form label{font-size:14px;line-height:1.5}
.record-result #player-name{font-size:16px}
.record-result #submit-status{font-size:13px;line-height:1.5}
.record-result .button{font-size:15px}
.record-result{padding:24px 28px}
.record-result h2{margin:12px 0}
.record-result #result-description{margin-bottom:14px}
.record-result .result-score{padding:6px 0 12px}
.record-result .record-badge{padding:7px 10px}
.record-result #result-best{margin:-4px 0 14px}
.record-result .button{margin-top:8px}
@media(max-width:650px){
 .scene-copy{width:calc(100% - 28px);bottom:calc(6% + 12px);padding:18px 16px;border-radius:8px}
 .scene-copy .eyebrow{font-size:12px;letter-spacing:.045em}
 .scene-copy h2{font-size:clamp(28px,7.4vw,36px);line-height:1.14;letter-spacing:-.02em;margin:9px 0}
 .scene-copy p{font-size:15px;line-height:1.5;max-width:34ch}
 .scene-copy .cut-next{font-size:14px;margin-top:12px}
 .scene-controls{right:16px;top:calc(6% + 12px);max-width:calc(100% - 32px)}
 .scene-controls .button{min-height:44px;font-size:14px}
 .record-copy{grid-template-columns:minmax(0,1fr);gap:10px;text-align:center}
 .record-copy h2{margin:7px 0 0}
 .record-score strong{font-size:clamp(52px,15vw,64px)}
 .record-score span{font-size:13px;margin-top:3px}
 .record-copy p{font-size:15px}
 .record-copy .button{font-size:15px;min-height:48px;margin-top:3px}
 .record-result .result-score strong{font-size:56px}
}
@media(max-height:560px) and (min-width:651px){.scene-copy{padding:14px 22px;bottom:calc(7% + 8px)}.scene-copy h2{font-size:32px}.scene-copy p{font-size:15px}.record-score strong{font-size:54px}.record-copy{gap:8px 20px}}

/* Scoring and leaderboard sharing */
.scene-copy .cut-bonus{font-size:15px;line-height:1.4;color:#ffe4a5;margin:8px auto 0;text-align:center}.result-bonuses{font-variant-numeric:tabular-nums;margin:0 0 12px}.leaderboard-sharing{margin-top:18px}.leaderboard-sharing label{display:block;font-size:13px;margin-bottom:8px}.share-link-row{display:flex;align-items:center;gap:8px}.share-link-row input{min-width:0;flex:1;min-height:48px;padding:12px;background:var(--field);border:1px solid var(--line);border-radius:8px;color:var(--text);font:inherit;font-size:12px}.share-link-row .button{width:auto;margin:0;padding:12px;min-height:48px}#share-status:empty{display:none}
.leaderboard-share-actions{display:flex;align-items:stretch;gap:8px}.leaderboard-share-actions #share-leaderboard{flex:1;min-width:0;white-space:normal}.leaderboard-share-actions #copy-leaderboard-link{width:auto;min-width:94px;padding:12px}.share-link-row input{width:100%}
.leaderboard-sharing{margin-bottom:18px}

/* Platform-aware share preview */
.share-dialog{width:720px}.share-dialog h2{margin-top:6px}.share-dialog .share-invitation-copy{font-size:15px;line-height:1.5;color:var(--text)}.scorecard-frame{background:var(--field);border:1px solid var(--line);border-radius:8px;overflow:hidden;text-align:center;min-height:120px;display:grid;place-items:center;margin:18px 0 12px}.scorecard-frame img{display:block;max-width:100%;width:100%;max-height:270px;object-fit:contain}.share-preview-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.share-preview-actions .button{margin:0;min-width:0;white-space:normal;font-size:14px;min-height:48px;gap:8px}.share-dialog #share-platform-hint{margin:10px 0 16px}.share-dialog #share-preview-status:empty{display:none}.share-dialog label{display:block;font-size:13px;margin:12px 0 8px}.share-dialog textarea{width:100%;min-height:110px;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--field);color:var(--text);font:inherit;font-size:13px;line-height:1.5;resize:vertical}.share-qr-block{display:flex;align-items:center;gap:16px;margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}.share-qr-block img{width:92px;height:92px;flex-shrink:0;image-rendering:pixelated}.share-qr-block strong{font-size:14px;font-weight:600}.share-qr-block p{font-size:12px;line-height:1.5;margin:6px 0}.share-dialog[data-platform="ios"] .scorecard-frame img,.share-dialog[data-platform="android"] .scorecard-frame img{max-height:240px}@media(max-width:650px){.share-dialog h2{font-size:27px;margin-bottom:12px}.share-dialog .share-invitation-copy{font-size:14px}.share-preview-actions{gap:8px}.share-preview-actions .button{font-size:12px;padding:12px 8px}.share-preview-actions .icon{width:18px;flex-shrink:0}.scorecard-frame img{max-height:220px}.share-qr-block{gap:12px}}

.share-action-layout{display:grid;grid-template-columns:1fr;gap:18px}.scorecard-frame img{max-height:240px}@media(min-width:651px){.share-action-layout:has(.share-qr-block:not([hidden])){grid-template-columns:minmax(0,1fr) 110px}.share-action-layout .share-qr-block{flex-direction:column;text-align:center;gap:7px;padding:0;margin:0;border:0}.share-action-layout .share-qr-block strong{font-size:12px}.share-action-layout .share-qr-block p{display:none}.share-dialog .share-preview-actions{align-content:start}}
.share-preview-actions:has(#share-image[hidden]):has(#share-invitation:not([hidden])) #save-scorecard{grid-column:1/-1}

/* Both start modes carry the same action weight and detail hierarchy. */
.offline-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-top:1px solid var(--line)}.offline-bar strong{font-size:13px;font-weight:600}.offline-bar p{margin:5px 0 0;color:var(--muted);font-size:12px;line-height:1.5}.offline-actions{display:flex;gap:8px;flex-shrink:0}.offline-actions .button{width:auto;min-height:42px;margin:0;font-size:12px;padding:10px 14px}.pending-scores{margin:18px 0;padding:16px;background:var(--field);border:1px solid var(--line);border-radius:8px}.pending-scores h3{margin:0 0 8px;font-size:16px}.pending-score{padding:12px 0;border-top:1px solid var(--line)}.pending-score p{margin:3px 0;font-size:12px}.pending-score strong{font-size:13px}.pending-actions{display:flex;gap:8px}.pending-actions .button{width:auto;min-height:40px;padding:8px 12px;font-size:12px;margin-top:8px}@media(max-width:650px){.offline-bar{align-items:flex-start;flex-direction:column;gap:10px}.offline-actions{flex-wrap:wrap}.offline-bar p{font-size:11px}}
.home-panel .start-choice{min-height:66px;white-space:normal;text-align:left}.home-panel .start-choice small{font-size:12px;line-height:1.4;opacity:.85}.home-panel .start-choice>span{min-width:0}

/* The guide uses the same high-contrast badge artwork as the 3D bricks. */
.brick-guide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0 24px}.brick-guide>div{display:flex;align-items:flex-start;gap:12px;padding:14px;background:var(--field);border:1px solid var(--line);border-radius:8px}.brick-guide strong{font-size:14px;font-weight:650}.brick-guide p{font-size:13px;line-height:1.6;margin:5px 0 0}.brick-sample{display:flex;align-items:center;justify-content:center;width:76px;height:34px;flex-shrink:0;background:#6ddbcc;border-radius:4px;box-shadow:inset 0 -4px #3e8f83,inset 0 3px #c1fff0}.brick-sample svg{width:30px;height:30px;display:block}@media(max-width:650px){.brick-guide{grid-template-columns:1fr;gap:10px}.brick-guide>div{gap:12px;padding:14px}.brick-guide p{font-size:13px}.brick-sample{width:65px;height:30px}.brick-sample svg{width:27px;height:27px}}
/* The OG wordmark is artwork, so its geometry stays consistent across fonts/devices. */
.brand{min-height:44px}.brand-wordmark{display:block;width:156px;height:auto}.brand-light{font-weight:inherit}:root[data-theme=light] .brand-wordmark{background:#102025;padding:5px 7px;border-radius:3px;width:170px}
.brick-sample{position:relative;background:linear-gradient(145deg,#e1fffa80 0 14%,transparent 15% 77%,#13605e90 78%),linear-gradient(35deg,#0e655c60 0 18%,transparent 19% 81%,#c8ffff80 82%),linear-gradient(160deg,#62ddd594,#1baaa176);clip-path:polygon(9% 0,91% 0,100% 19%,100% 81%,91% 100%,9% 100%,0 81%,0 19%);border-radius:0;box-shadow:inset 0 0 0 1px #c9fffa80,inset 0 5px #b5fff250,inset 0 -5px #16756e70}.brick-sample:before{content:'';position:absolute;inset:5px 7px;background:linear-gradient(30deg,transparent 46%,#dcffff30 47% 61%,transparent 62%);border:1px solid #d2fffa60}.brick-sample svg{position:relative}
@media(max-width:650px){.topbar{height:108px}.brand-wordmark{width:128px}:root[data-theme=light] .brand-wordmark{width:142px}.brick-sample:before{inset:4px 6px}}
/* The active run owns the center; the leaderboard stays available on the left. */
.hud{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,260px) minmax(0,1fr);gap:18px;align-items:start}.hud .top-score{justify-self:start;min-width:0;width:min(100%,174px);max-width:none;margin:0;padding:8px 10px;background:#102127b3;border-color:#83909855;text-align:left}.hud .top-score strong{font-size:22px;color:#e7eee9}.hud .top-score #top-player{color:#b9cbc1}.hud .top-score:hover{border-color:#c0ccc7}.hud .hud-player{padding:6px 14px;text-align:center;background:#0c2628e8;border:1px solid #83909866;border-radius:8px;min-width:0}.hud .hud-player>span{font-size:10px;line-height:1.2;margin-bottom:2px;font-weight:650;letter-spacing:.06em}.hud .hud-player #score{color:var(--accent);font-size:32px;font-weight:700;line-height:1;letter-spacing:-.035em;white-space:nowrap}.hud .hud-player #score-chase{max-width:none;font-size:10px;line-height:1.3;margin:3px 0 0;color:#d0e1d5}.hud .hud-actions{padding:8px 0 0;display:flex;justify-content:flex-end;align-items:flex-start;gap:20px;min-width:0}.hud-actions>div>span{display:block;font-size:10px;letter-spacing:.7px;color:#c3d9cc;margin-bottom:4px}.hud .hud-actions .hud-lives{margin-left:0}.hud .hud-actions #pause{margin-top:0;flex-shrink:0}
@media(max-width:650px){.hud{grid-template-columns:minmax(0,1fr) minmax(116px,1.4fr) minmax(0,1fr);gap:6px}.hud .top-score{width:100%;padding:7px 4px;background:transparent;border-color:transparent}.hud .top-score strong{font-size:17px;line-height:1.2}.hud .top-score #top-player{font-size:10px}.hud .hud-player{padding:6px 8px}.hud .hud-player>span{font-size:9px;letter-spacing:.03em}.hud .hud-player #score{font-size:clamp(24px,7.6vw,30px)}.hud .hud-player #score-chase{font-size:9px}.hud .hud-actions{gap:4px;padding-top:7px}.hud .hud-actions .hud-combo{display:none}.hud-actions>div>span{font-size:9px;letter-spacing:.2px}}
@media(max-width:359px){.hud .top-score strong{font-size:15px}.hud .hud-actions{flex-direction:column;align-items:flex-end;gap:3px;padding-top:0}.hud .hud-actions .hud-lives{min-width:42px}.hud .hud-actions #pause{min-height:42px}.hud .hud-player #score-chase{overflow-wrap:anywhere}}
.brick-hit-key{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.brick-hit-key>span{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;font-size:11px;color:var(--text)}.brick-hit-key svg{display:block;width:24px;height:24px;flex-shrink:0}
#classic-mode-description{display:block;max-width:230px;margin-top:4px;font-size:12px;line-height:1.5;color:var(--muted)}
:root[data-classic=true] .brick-sample{background:#6ddbcc;clip-path:none;border-radius:4px;box-shadow:inset 0 -4px #3e8f83,inset 0 3px #c1fff0}:root[data-classic=true] .brick-sample:before{display:none}
.update-notice{position:sticky;top:8px;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px;padding:12px 16px;border:1px solid var(--line);border-radius:10px;background:var(--panel);box-shadow:0 6px 20px #0002}.update-notice strong{font-size:15px}.update-notice p{margin:4px 0 0;font-size:12px;line-height:1.5;color:var(--muted)}.update-notice .button{flex-shrink:0;justify-content:center}.settings-updates{padding:16px 0;margin-top:12px;border-top:1px solid var(--line)}.settings-updates h3{margin:0;font-size:16px}.settings-updates .offline-actions{flex-wrap:wrap}.settings-updates .offline-actions .button{width:auto}.settings-updates p{line-height:1.5}
@media(max-width:450px){.update-notice{gap:10px;padding:12px}.update-notice strong{font-size:14px}.update-notice p{font-size:11px}.update-notice .button{padding:12px;font-size:12px}}

/* Recovery and enlarged-text reflow: preserve readable labels and reachable actions. */
dialog{overflow-wrap:anywhere}dialog :is(button,input,select){max-width:100%}dialog .button{white-space:normal}dialog :is(.brick-guide,.power-guide){grid-template-columns:repeat(2,minmax(0,1fr))}dialog :is(.brick-guide,.power-guide)>div>div{min-width:0}dialog .score-tabs{flex-wrap:wrap}dialog .submit-row{flex-wrap:wrap}dialog .submit-row input{flex:1 1 140px}#save-recovery-dialog button{width:100%;margin-top:10px}#help-dialog table{table-layout:fixed}#help-dialog th,#help-dialog td{overflow-wrap:anywhere;white-space:normal}@media(max-width:600px){dialog :is(.brick-guide,.power-guide){grid-template-columns:minmax(0,1fr)}}

/* Long or enlarged cinematic captions remain scrollable inside the arena. */
.scene-copy{max-height:80%;overflow:auto;overscroll-behavior:contain;pointer-events:auto}.scene-copy :is(h2,p,.button){overflow-wrap:anywhere;white-space:normal}

.collection-finder{display:flex;flex-wrap:wrap;align-items:end;gap:12px 16px;margin:20px 0 24px;text-align:left}.collection-finder label{display:grid;gap:7px;font:inherit;font-size:14px;letter-spacing:0;text-transform:none}.collection-finder label:first-child{flex:1 1 240px}.collection-finder input,.collection-finder select{width:100%;min-height:44px;border:1px solid #8b9393;border-radius:6px;padding:10px 12px;font:inherit;font-size:16px;color:inherit;background:transparent}.collection-finder select option{color:#1d2830;background:#fff}.collection-finder button{min-height:44px;font:inherit;font-size:14px;letter-spacing:0;text-transform:none}.finder-count{flex:1 1 100%;margin:0;font-size:14px;letter-spacing:0;text-transform:none}.finder-empty{font:inherit;line-height:1.6;padding:24px 0}.collection-finder [hidden],[hidden].track-card,[hidden].level-card,[hidden].world-card{display:none!important}@media(max-width:600px){.collection-finder>*{max-width:100%}.collection-finder label:first-child{flex-basis:100%}.collection-finder label:nth-child(2){flex:1}.collection-finder input,.collection-finder select{font-size:16px}}
