/* storm — 말씀 항해 (scoped under .game-storm) */
.game-storm .stage { gap: 8px; }
.game-storm .st-hud { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; min-height: 36px; font-weight: 800; font-size: 16px; }
.game-storm .st-hearts { display: flex; gap: 3px; line-height: 1; justify-self: start; }
.game-storm .st-heart svg { width: 24px; height: 24px; display: block; fill: #e63946; }
.game-storm .st-heart:not(.on) svg { fill: var(--line); }
.game-storm .st-prog { flex: none; background: var(--card); box-shadow: var(--shadow); border-radius: 999px; padding: 4px 12px; font-size: 16px; }
.game-storm .st-right { display: flex; align-items: center; justify-content: flex-end; gap: 6px; justify-self: end; min-width: 0; }
.game-storm .st-score { display: inline-flex; align-items: center; gap: 3px; color: var(--ink); font-size: 17px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.game-storm .st-ico svg { width: 22px; height: 22px; display: block; }
.game-storm .st-combo { background: #ffc23a; color: #3b2a05; border-radius: 999px; padding: 2px 8px; font-size: 16px; white-space: nowrap; }
.game-storm .st-combo[hidden] { display: none; }
.game-storm .st-heart { display: inline-block; }

.game-storm .st-wrap { position: relative; width: 100%; max-width: 100%; overflow: hidden; border-radius: 18px; box-shadow: var(--shadow); touch-action: none; user-select: none; -webkit-user-select: none; background: #3d8fd1; }
.game-storm .st-canvas { display: block; width: 100%; height: 100%; }

.game-storm .st-panel { position: absolute; top: 8px; left: 8px; right: 8px; pointer-events: none; background: #ffffff; color: #10273a; border-radius: 14px; padding: 10px 12px; box-shadow: 0 4px 14px rgba(8, 40, 70, .25); display: flex; flex-direction: column; gap: 8px; }
.game-storm .st-panel[hidden] { display: none; }
.game-storm .st-panel .bq { background: #fff8e6; }
.game-storm .st-hint { margin: 0; font-weight: 700; font-size: 16px; text-align: center; text-wrap: balance; }
.game-storm .st-q { margin: 0; font-weight: 800; font-size: 17px; line-height: 1.4; overflow-wrap: anywhere; }
.game-storm .st-qno { display: inline-block; margin-right: 6px; background: #0b6e99; color: #fff; border-radius: 8px; padding: 0 7px; font-size: 16px; vertical-align: 1px; }
.game-storm .st-chips { display: grid; gap: 6px; padding-bottom: 6px; }
.game-storm .st-chip { color: #fff; border-radius: 10px; padding: 5px 4px; font-weight: 800; font-size: 16px; line-height: 1.25; text-align: center; overflow-wrap: anywhere; word-break: keep-all; display: flex; align-items: center; justify-content: center; min-height: 38px; position: relative; box-shadow: 0 3px 0 rgba(16, 39, 58, .25); text-shadow: 0 1px 1px rgba(0, 0, 0, .25); }
.game-storm .st-chip::after { content: ''; position: absolute; left: 50%; bottom: -7px; margin-left: -7px; border: 7px solid transparent; border-bottom: 0; border-top-color: inherit; }
.game-storm .st-verdict { margin: 0; font-weight: 800; font-size: 17px; line-height: 1.4; text-wrap: balance; }
.game-storm .st-verdict.good { color: #1f7a6d; }
.game-storm .st-verdict.bad { color: #0b6e99; }
.game-storm .st-verdict b { color: #10273a; }
.game-storm .st-badge { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #fff; font-size: 16px; margin-right: 6px; vertical-align: 2px; }
.game-storm .st-badge.good { background: #2a9d8f; } .game-storm .st-badge.bad { background: #0b6e99; }
.game-storm .st-badge svg { width: 16px; height: 16px; }
.game-storm .st-tag { align-self: flex-start; background: #ffc23a; color: #3b2a05; border-radius: 999px; padding: 2px 10px; font-size: 16px; font-weight: 800; }
.game-storm .st-truth { background: #e8f4fb; border-radius: 14px; padding: 10px 12px; margin: 10px 0 0; }
.game-storm .st-truth-kicker { display: block; font-size: 16px; font-weight: 800; color: #0b6e99; }
.game-storm .st-truth-text { margin: 2px 0 0; font-size: 18px; font-weight: 900; line-height: 1.4; color: #10273a; text-wrap: balance; }
.game-storm .st-arrive-truth { margin: 0; font-size: 19px; font-weight: 900; line-height: 1.4; text-align: center; text-wrap: balance; }
.game-storm .st-panel > .st-truth-kicker { text-align: center; }
.game-storm .st-steer { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; background: rgba(16, 39, 58, .82); color: #fff; border-radius: 999px; padding: 6px 10px; font-weight: 800; font-size: 16px; white-space: nowrap; pointer-events: none; }
.game-storm .st-steer[hidden] { display: none; }
.game-storm .st-arrow { display: grid; width: 28px; height: 28px; place-items: center; background: #ffc23a; color: #3b2a05; border-radius: 50%; }
.game-storm .st-arrow svg { width: 18px; height: 18px; }
.game-storm .st-arrow.l { animation: st-nudge-l .9s ease-in-out infinite; } .game-storm .st-arrow.r { animation: st-nudge-r .9s ease-in-out infinite; }
@keyframes st-nudge-l { 50% { transform: translateX(-5px); } } @keyframes st-nudge-r { 50% { transform: translateX(5px); } }
.game-storm .st-card-icon { display: block; width: 72px; height: 72px; margin: 0 auto 6px; }
.game-storm .st-card-icon svg { width: 100%; height: 100%; }

.game-storm .st-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(8, 40, 70, .35); }
.game-storm .st-overlay[hidden] { display: none; }
.game-storm .st-card { background: var(--card); color: var(--ink); border-radius: 18px; padding: 20px; max-width: 340px; width: 100%; text-align: center; box-shadow: var(--shadow); }
.game-storm .st-card-title { margin: 0; font-size: 24px; font-weight: 900; }
.game-storm .st-card-text { text-wrap: balance; margin: 10px 0 16px; color: var(--ink2); overflow-wrap: anywhere; }
.game-storm .st-go { width: 100%; font-size: 20px; }
.game-storm .st-empty { text-align: center; color: var(--ink2); margin-top: 30vh; }

@media (min-width: 900px) {
  .game-storm .st-q { font-size: 19px; }
  .game-storm .st-chip { font-size: 16px; }
}
.game-storm .st-explain { margin: 6px 0 0; font-size: 16px; line-height: 1.45; color: #44607a; text-wrap: balance; }
