:root{font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans",sans-serif;color:#f5f5fb;background:#080c15;color-scheme:dark;-webkit-text-size-adjust:100%}*{box-sizing:border-box}body{margin:0}[hidden]{display:none!important}button{font:inherit;min-height:44px;color:inherit;background:#1c293d;border:1px solid #77879b;border-radius:8px;touch-action:manipulation}button:disabled{opacity:.45}button:focus-visible,a:focus-visible{outline:3px solid #ffe4a7;outline-offset:-3px}main{max-width:450px;margin:auto;height:calc(100dvh - var(--nav-height,88px));padding:3px 5px max(4px,env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:4px}.stage{position:relative;flex:1;min-height:300px;border:1px solid #b6a079;border-radius:16px;overflow:hidden;background:#153046}#scene{display:block;width:100%;height:100%;position:absolute;inset:0}.hud{position:absolute;inset:6px 7px auto;display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:13px}.hud strong{font-size:19px;color:#ffe6b3}.hud button{width:44px;background:#101b2ce8}.hint{position:absolute;bottom:76px;left:5px;right:5px;text-align:center;font-size:12px;color:#e4edf5;margin:0;pointer-events:none}#hold{position:absolute;bottom:14px;left:8%;width:84%;min-height:52px;font-weight:bold;background:#f1d39a;color:#241d15;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}#hold:active{background:#ffe6b3}.buddy{display:flex;align-items:center;gap:7px;min-height:68px;padding:0 7px;border:1px solid #b6a079;border-radius:12px;background:#182333}.buddy img{object-fit:contain;align-self:flex-end}.buddy b{font-size:11px;color:#ffe6b3}.buddy p{font-size:12px;line-height:1.5;margin:3px 0}.overlay{position:absolute;inset:0;display:grid;place-items:center;background:#050912bd;padding:10px}.panel{width:min(100%,310px);max-height:100%;overflow:auto;display:flex;flex-direction:column;align-items:center;gap:12px;padding:18px;border:1px solid #d8bc83;border-radius:20px;background:radial-gradient(ellipse at top,#302139,#111927 78%)}.panel h2{font-size:20px;color:#ffe6b3;margin:0}.panel img{object-fit:contain}.panel p{font-size:14px;line-height:1.6;text-align:center;margin:0;white-space:pre-line}.panel button{width:100%;background:#f1d39a;color:#241d15;font-weight:bold}.panel #fresh{background:#1c293d;color:#f5f5fb}.panel small{font-size:11px;color:#d3bd94}@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}

/* Keep feedback readable against the valley without covering the aiming mark. */
#outcome{paint-order:stroke;stroke:#102031;stroke-width:5px;stroke-linejoin:round}#hero{filter:drop-shadow(0 2px 3px #07121b)}

@media(max-height:650px){.panel{gap:8px;padding:12px}.panel img{width:80px;height:80px}.buddy{min-height:56px}.buddy img{width:52px;height:52px}.stage{min-height:270px}}
