.runner-main{max-width:1100px;margin:auto;padding:14px 5% 35px}.game-top{display:flex;justify-content:space-between;align-items:center;gap:20px}.game-top .eyebrow{font-size:14px;margin:0 0 5px}.game-top h1{font-size:clamp(1.8rem,4vw,2.8rem);letter-spacing:-.02em;margin:0 0 18px;line-height:1.05}#best{font-size:14px;font-weight:700;white-space:nowrap}.game-shell{position:relative;max-width:850px;margin:auto;border:2px solid var(--ink);border-radius:16px;overflow:hidden;background:#e9f0e8;isolation:isolate}.hud{background:var(--ink);color:white;display:flex;justify-content:space-between;gap:12px;padding:12px 18px;align-items:center}.hud>div>span{display:block;font-size:12px;letter-spacing:.08em}.hud strong{font-size:27px;line-height:1.1}.game-tools{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end;max-width:245px}.game-tools button{border:1px solid #ffffff60;background:transparent;color:white;border-radius:6px;padding:8px;font:600 14px 'DM Sans',sans-serif;min-height:36px}.game-tools button:disabled{opacity:.4}.route-bar{display:flex;justify-content:space-between;gap:8px;padding:8px 14px;background:#eaf0e5;font-size:14px;font-weight:700}#combo{color:#1745ed;font-size:12px}progress{display:block;width:100%;height:5px;accent-color:var(--blue);border:0}progress::-webkit-progress-bar{background:#d9dedb}progress::-webkit-progress-value{background:var(--blue)}canvas{display:block;width:100%;height:clamp(370px,60svh,590px);touch-action:none}.lane-controls{display:flex;justify-content:space-between;align-items:center;background:var(--ink);padding:9px 18px;gap:12px;color:white}.lane-controls button{width:86px;min-height:44px;background:#d8ff3e;border:0;border-radius:6px;color:var(--ink);font-size:22px;touch-action:manipulation}#lane-label{font-size:12px;font-weight:700;letter-spacing:1px}.powers{position:absolute;top:140px;left:12px;display:flex;gap:6px;flex-wrap:wrap;right:12px;pointer-events:none}.power{background:#142222e8;color:white;font-size:12px;padding:6px 9px;border-radius:6px}.feedback{position:absolute;bottom:115px;left:10px;right:10px;text-align:center;pointer-events:none;font-size:clamp(14px,3vw,21px);font-weight:800;color:#142222;text-shadow:0 1px 4px white,0 -1px 4px white}.feedback:not(:empty){background:#ffffffed;padding:10px 16px;border-radius:6px;width:fit-content;max-width:calc(100% - 20px);margin:auto}.game-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:20px;background:#10283993;backdrop-filter:blur(3px);overflow:auto}.game-overlay[hidden],.screen[hidden]{display:none}.screen{background:#f7f8f5f7;border-radius:14px;padding:28px;max-width:540px;width:100%;max-height:100%;overflow:auto;text-align:center;box-shadow:0 8px 30px #0002}.screen h2{font-size:clamp(2.1rem,5vw,3.4rem);line-height:1.04;letter-spacing:-.02em;margin-bottom:16px}.screen h2 em{font-style:normal;color:var(--blue)}.screen p{font-size:16px}.screen .eyebrow{font-size:12px;margin-bottom:15px}.screen .control-hint{font-size:14px;margin:18px 0 0;color:#52605a}.game-primary,.game-secondary{display:block;width:100%;border:2px solid var(--ink);border-radius:6px;padding:13px 12px;font:700 15px 'DM Sans',sans-serif;text-decoration:none;cursor:pointer;min-height:48px}.game-primary{background:var(--lime);color:var(--ink);box-shadow:0 3px 0 var(--ink)}.game-secondary{margin-top:10px;background:transparent;color:var(--ink)}button{cursor:pointer}button:focus-visible,.game-shell:focus-visible{outline:3px solid #ea8118;outline-offset:-3px}.game-note{font-size:14px;max-width:850px;margin:16px auto;color:#52605a}#results{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:15px 0}#results div{border-top:1px solid #bbc5be;padding-top:8px}#results dt{font-size:12px}#results dd{font-size:21px;font-weight:700;margin:0}#share-status{font-size:14px;margin:10px 0 0}.finish-screen h2{font-size:2.5rem}.finish-screen>p{font-size:14px}@media(max-width:520px){.runner-main{padding:8px 3% 25px}.game-top{align-items:flex-start}.game-top h1{font-size:1.8rem}#best{font-size:12px}.hud{padding:10px;gap:8px}.hud strong{font-size:24px}.game-tools{max-width:148px;gap:4px}.game-tools button{font-size:12px;padding:5px 7px}.screen{padding:22px 18px}.game-overlay{padding:12px}.route-bar{font-size:12px}.powers{top:144px}.game-top .eyebrow{font-size:12px}.runner-page header{padding-block:14px}.runner-page header nav{gap:5px 16px}canvas{height:clamp(350px,56svh,550px)}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}
