*{box-sizing:border-box}body{margin:0;background:#080e1b;color:#fff;font-family:system-ui,-apple-system,'Noto Sans JP',sans-serif}main{max-width:440px;margin:auto;padding:4px 6px max(6px,env(safe-area-inset-bottom))}.arena{position:relative;min-height:510px;height:calc(100svh - var(--nav-height,105px) - 12px);max-height:850px;display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid #45516a;border-radius:10px;background:radial-gradient(ellipse at 50% 38%,#24364d,#080e1b 75%)}button{font:inherit;touch-action:manipulation;min-height:48px;border:1px solid #65728a;border-radius:8px;background:#19283c;color:#fff;font-size:14px}button:disabled{color:#aeb7c5;background:#172130;border-color:#45516a}button:focus-visible{outline:2px solid #ffe0a0;outline-offset:2px}.hud{display:flex;align-items:center;gap:8px;font-size:13px}.hud strong{flex:1}.hud button{width:44px}progress{height:7px;width:100%;accent-color:#dfad68}.coach{display:flex;align-items:center;gap:12px;min-height:104px}.coach img{border:2px solid #dfad68;border-radius:50%;object-fit:cover}.coach strong,.name{font-size:12px;color:#ffe0a0}.coach p{font-size:13px;line-height:1.6;margin:6px 0}#prompt{text-align:center;font-size:16px;margin:6px 0}#symbol{flex:1;min-height:100px;display:grid;place-items:center;font-size:clamp(64px,14svh,108px);font-weight:700;line-height:1;color:#ffe0a0;border:1px solid #65728a;border-radius:12px;background:#142137}#feedback{min-height:44px;margin:0;text-align:center;font-size:14px;line-height:1.5;display:grid;place-items:center}.answers{display:flex;gap:10px}.answers button{flex:1;min-height:66px;font-size:20px;font-weight:700}#next{background:#51412b;color:#ffe0a0;border-color:#dfad68}#next:disabled{background:#172130;color:#aeb7c5;border-color:#45516a}#overlay{position:absolute;inset:0;display:grid;place-items:center;background:#080e1bd9;padding:16px;border-radius:10px}#overlay[hidden]{display:none}.panel{width:100%;max-width:330px;background:#fff;color:#2a2328;border-radius:12px;padding:18px;text-align:center}.panel img{border-radius:50%;border:2px solid #dfad68;object-fit:cover}.panel .name{color:#6e626a;margin:4px 0 12px}.panel h2{font-size:20px;margin:8px 0}.panel p{font-size:14px;line-height:1.6}.panel button{width:100%;background:#eef0f3;color:#2a2328;border:0;font-weight:700}.panel small{display:block;color:#6e626a;font-size:12px;margin-top:10px}.arena[data-feedback=correct] #symbol{border-color:#86dbb3;box-shadow:inset 0 0 18px #86dbb322}.arena[data-feedback=wrong] #symbol{border-color:#efac9a}@media(max-height:700px){.arena{gap:5px;padding:8px}.coach{min-height:76px}.coach img{width:72px;height:72px}.panel img{width:80px;height:80px}.panel{padding:12px}#feedback{min-height:40px}}
/* Design review 1: keep the choice labels stable when a narrow screen wraps. */
.answers button{white-space:nowrap;min-width:0}#symbol{font-family:Arial,"Noto Sans JP",sans-serif}

/* Design review 2: feedback remains distinguishable without color alone. */
.arena[data-feedback=correct] #feedback{color:#b3f2d2}.arena[data-feedback=wrong] #feedback{color:#ffccbb}

/* Design review 3: honor enlarged text without clipping the panel. */
#overlay{overflow-y:auto}.panel{margin:auto}.coach>div{min-width:0}#symbol{flex-shrink:0}
