:root{font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans",sans-serif;color:#2a2328;background:#fff;-webkit-text-size-adjust:100%}*{box-sizing:border-box}body{margin:0}[hidden]{display:none!important}button{font:inherit;font-size:14px;min-height:44px;border:0;border-radius:8px;background:#f3f4f6;color:#2a2328;touch-action:manipulation;font-weight:600}button:disabled{opacity:.45}button:focus-visible,a:focus-visible{outline:3px solid #d2a94e;outline-offset:-3px}main{max-width:450px;margin:auto;padding:3px 6px max(4px,env(safe-area-inset-bottom));height:calc(100dvh - var(--nav-height,90px));display:flex;flex-direction:column;gap:4px}.stage{position:relative;flex:1;min-height:270px;border:0;border-radius:10px;overflow:hidden;background:#132437}canvas{display:block;width:100%;height:100%;position:absolute;inset:0;touch-action:none;user-select:none;-webkit-user-select:none}.hud{position:absolute;inset:6px 8px auto;display:flex;justify-content:space-between;align-items:center;color:#fff;font-size:13px;pointer-events:none}.hud div{display:flex;gap:8px;align-items:center}.hud b{color:#ffe2a2}.hud button{width:44px;background:#253b51;color:#fff;pointer-events:auto}.ink{position:absolute;top:55px;left:9px;right:9px;display:flex;align-items:center;gap:10px;pointer-events:none;color:#e5eaf1;font-size:12px}.ink meter{flex:1;height:12px;accent-color:#f2cd7c}.actions{display:flex;gap:6px}.actions button{flex:1}#release{background:#eed299;color:#30291c}#hint{font-size:12px;margin:1px 0;text-align:center;color:#6e626a;min-height:18px}.buddy{display:flex;align-items:center;gap:8px;min-height:65px;padding:0 5px}.buddy img{object-fit:contain;align-self:flex-end}.buddy b{font-size:11px}.buddy p{font-size:12px;margin:4px 0;line-height:1.45}.overlay{position:absolute;inset:0;display:grid;place-items:center;background:#07101bbd;padding:10px}.panel{background:#fff;border-radius:12px;padding:16px;display:flex;flex-direction:column;align-items:center;gap:8px;width:min(100%,340px);max-height:100%;overflow:auto}.panel h2{font-size:20px;margin:0}.panel img{object-fit:contain}.panel p{font-size:13px;margin:0;text-align:center;line-height:1.6}.panel>button{width:100%}.panel #play{background:#eed299}.panel small{font-size:12px;color:#6e626a}#courses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;width:100%}#courses button{font-size:12px;text-align:left;padding:7px 9px;border:0;min-height:44px}#courses button[aria-pressed=true]{box-shadow:inset 3px 0 #b99850;background:#eef0f3}@media(max-height:680px){.panel{gap:7px;padding:12px}.panel img{width:76px;height:76px}.buddy{min-height:52px}.buddy img{width:50px;height:50px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}

/* Ink stays gold on mobile browsers; an empty meter also has a text cue. */
.ink meter{appearance:none;-webkit-appearance:none;border:1px solid #8e9cae;border-radius:8px;background:#101d2d;overflow:hidden}.ink meter::-webkit-meter-bar{background:#101d2d;border:0;border-radius:8px}.ink meter::-webkit-meter-optimum-value{background:#eed299}.ink meter::-moz-meter-bar{background:#eed299}.ink.empty{color:#ffd2bb}.ink.empty meter{border-color:#e2aa8d}

.overlay.success .panel{background:#fffaf0}.overlay.success h2{color:#84611d}.overlay.success #summary{font-size:16px;font-weight:700}.overlay.success .panel img{filter:drop-shadow(0 3px 5px #d0b37266)}

#undo{flex:.9;font-size:12px}#release{flex:1.3}.ink #rings{color:#ffe2a2;font-weight:700;white-space:nowrap}.panel img{width:84px;height:84px}.hud div{min-width:0}.hud #course-name{font-size:12px}.overlay[data-mode=result] .panel img{width:68px;height:68px}@media(max-height:700px){.panel img{width:52px;height:52px}.panel h2{font-size:18px}.panel{gap:6px;padding:10px}#courses button{min-height:44px}.buddy{min-height:46px}.buddy img{width:44px;height:44px}.buddy b{display:none}.buddy p{margin:0}}

.stage.november{background:#132437 url('https://storage.googleapis.com/lenoas-assets/images/games/lenodrawramp/assets/maple-dusk-november-v1.webp') center/cover no-repeat}#season{width:100%;font-size:12px;min-height:44px}#season[aria-pressed=true]{background:#fff3df;color:#765026}
