/* 원버튼 대시 전용 */
:root { --bg: #14111f; --panel: #1d1930; --panel-2: #272241; --line: #37305a; --muted: #a9a3c8; --accent: #ffcf4a; --accent-ink: #2a1d00; }
.how { margin: 0; padding-left: 18px; color: var(--muted); display: grid; gap: 6px; }
kbd { background: var(--panel-2); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 0 6px; font: 12px/1.6 var(--font); color: var(--text); }

#play { position: fixed; inset: 52px 0 0 0; background: #0d0b16; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
#canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
.hud { position: absolute; inset: 0 0 auto 0; display: flex; justify-content: space-between; align-items: flex-start; padding: 10px 14px; pointer-events: none; }
.hud-right { display: flex; gap: 8px; align-items: center; pointer-events: auto; }
.dist { font-variant-numeric: tabular-nums; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); line-height: 1; }
.dist b { font-size: clamp(34px, 7vw, 54px); font-weight: 900; letter-spacing: -.03em; }
.dist span { font-size: 18px; font-weight: 800; margin-left: 4px; color: var(--accent); }
.chip { background: rgba(10, 8, 20, .7); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.center-msg { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); text-align: center; pointer-events: none; font-size: clamp(22px, 5vw, 34px); font-weight: 900; text-shadow: 0 3px 16px rgba(0, 0, 0, .6); white-space: nowrap; }
.center-msg small { display: block; font-size: 15px; font-weight: 700; color: var(--muted); margin-top: 6px; }
.center-msg.pulse { animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .55; } }
.big-score { font-size: 54px; font-weight: 900; letter-spacing: -.04em; line-height: 1; margin: 6px 0; font-variant-numeric: tabular-nums; }
.big-score small { font-size: 22px; color: var(--accent); margin-left: 4px; }
.status-line { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--panel-2); font-size: 14px; }
.cause { color: var(--muted); margin: 0; }
.kbd-hint { color: var(--muted); font-size: 12px; margin-top: 10px; }

#btn-quit { background: rgba(10, 8, 20, .8); }
@media (max-width: 560px) {
  .hud { gap: 8px; flex-wrap: wrap; padding: 8px; }
  .hud-right { margin-left: auto; gap: 4px; max-width: 100%; }
  .chip { overflow: hidden; text-overflow: ellipsis; max-width: 52vw; }
  .center-msg { width: calc(100% - 24px); white-space: normal; }
}
