/* =====================================================================
   HoldemQuiz — 다크 테마 (모바일 우선, PC 확장)
   ===================================================================== */
:root {
  --bg: #0b0e0d;
  --bg-2: #101413;
  --panel: #141a17;
  --panel-2: #1a221e;
  --border: #223028;
  --border-2: #2c3b32;
  --text: #e8ede9;
  --muted: #8f9d95;
  --muted-2: #6d7a73;
  --accent: #8ff0a4;
  --accent-2: #5ee08a;
  --accent-ink: #062210;

  --c-fold: #4c7dd4;
  --c-check: #33b37a;
  --c-call: #2fb08a;
  --c-bet-1: #ef9a3c;
  --c-bet-2: #e4644a;
  --c-bet-3: #c8383e;
  --c-allin: #a94ad8;

  --g-best: #8ff0a4;
  --g-good: #5cc8ff;
  --g-inaccuracy: #f2c94c;
  --g-mistake: #f08a4b;
  --g-blunder: #ff5c5c;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --font: "Inter", "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: radial-gradient(1200px 600px at 50% -200px, #14231b 0%, var(--bg) 60%) fixed, var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
code { background: var(--bg-2); border: 1px solid var(--border); border-radius: 6px; padding: 1px 6px; font-size: 12.5px; }
[hidden] { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ---------- 상단바 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px;
  background: rgba(11, 14, 13, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: -.01em; font-size: 17px; }
.brand-mark {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), #35c47a); color: var(--accent-ink); font-size: 16px;
}
.nav { display: flex; gap: 4px; }
.nav-link { padding: 7px 12px; border-radius: 9px; color: var(--muted); font-weight: 600; font-size: 14px; }
.nav-link:hover { color: var(--text); background: var(--panel); }
.nav-link.is-active { color: var(--accent); background: rgba(143, 240, 164, .10); }

/* ---------- 레이아웃 ---------- */
.app { max-width: 760px; margin: 0 auto; padding: 16px 14px 96px; }
.screen { animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 14px;
}
.card-title { font-weight: 700; font-size: 15px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }

/* ---------- 홈 ---------- */
.hero { padding: 22px 4px 18px; }
.hero-tag { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .12em; margin-bottom: 8px; }
.hero h1 { font-size: 30px; line-height: 1.2; margin: 0 0 10px; letter-spacing: -.02em; font-weight: 800; }
.hero h1 .accent { color: var(--accent); }
.hero-sub { color: var(--muted); margin: 0; font-size: 15px; }

.mode-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 6px; }
.mode-card {
  display: flex; flex-direction: column; gap: 3px; align-items: flex-start; text-align: left;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 12px; padding: 12px 12px 11px;
  color: var(--text); cursor: pointer; transition: border-color .15s, background .15s, transform .08s;
}
.mode-card:hover { border-color: var(--border-2); background: var(--panel-2); }
.mode-card:active { transform: scale(.98); }
.mode-card.is-active { border-color: var(--accent); background: rgba(143, 240, 164, .07); box-shadow: 0 0 0 1px var(--accent) inset; }
.mc-tag { font-size: 10px; font-weight: 800; letter-spacing: .1em; padding: 2px 7px; border-radius: 99px; background: var(--panel-2); color: var(--muted); }
.mc-tag.cash { color: #7fd1ff; background: rgba(127, 209, 255, .12); }
.mc-tag.mtt { color: #f0b35a; background: rgba(240, 179, 90, .12); }
.mc-tag.all { color: var(--accent); background: rgba(143, 240, 164, .12); }
.mc-title { font-weight: 800; font-size: 15px; margin-top: 4px; }
.mc-sub { font-size: 11.5px; color: var(--muted); line-height: 1.35; }

.showcase { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; margin-bottom: 14px; }
.showcase-head { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.showcase-title { font-weight: 700; font-size: 13.5px; margin-left: 4px; }
.range-grid.decor .rcell { font-size: 8px; cursor: default; }
.showcase-legend { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--muted); margin-top: 10px; align-items: center; }
.showcase-legend .sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.feature-list { display: grid; gap: 8px; }
.feature { display: flex; gap: 12px; align-items: flex-start; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; }
.feature .f-ic { width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center; background: rgba(143, 240, 164, .12); color: var(--accent); font-weight: 800; font-size: 15px; }
.feature b { display: block; font-size: 14px; margin-bottom: 2px; }
.feature span { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.45; }

.setup-row { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.setup-row:last-of-type { border-bottom: 0; }
.setup-label { width: 72px; color: var(--muted); font-size: 13px; font-weight: 600; flex-shrink: 0; }
.seg { display: inline-flex; background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px; padding: 3px; gap: 2px; }
.seg button {
  border: 0; background: transparent; color: var(--muted); padding: 7px 13px; border-radius: 8px;
  font-weight: 600; font-size: 13.5px; cursor: pointer; white-space: nowrap;
}
.seg button.is-active { background: var(--panel-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--border-2); }
.seg.small button { padding: 5px 10px; font-size: 12.5px; }

.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch-track { width: 40px; height: 22px; border-radius: 99px; background: #2a3630; position: relative; transition: background .2s; flex-shrink: 0; }
.switch-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #9db3a6; transition: transform .2s, background .2s; }
.switch input:checked + .switch-track { background: rgba(143, 240, 164, .35); }
.switch input:checked + .switch-track::after { transform: translateX(18px); background: var(--accent); }
.switch-text { font-size: 13.5px; color: var(--text); }

.btn-primary {
  display: block; width: 100%; border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--accent-ink);
  font-weight: 800; font-size: 16px; padding: 14px 18px; border-radius: 12px; margin-top: 14px;
  box-shadow: 0 8px 24px rgba(94, 224, 138, .22);
  transition: transform .08s ease, filter .15s;
}
.btn-primary:hover { filter: brightness(1.05); }
.btn-primary:active { transform: scale(.985); }
.btn-primary:disabled { opacity: .5; cursor: default; }
.btn-ghost {
  border: 1px solid var(--border-2); background: transparent; color: var(--text); cursor: pointer;
  padding: 9px 14px; border-radius: 10px; font-weight: 600; font-size: 13.5px;
}
.btn-ghost:hover { background: var(--panel-2); }
.btn-ghost.is-active { border-color: var(--accent); color: var(--accent); }
.data-status { margin-top: 12px; font-size: 12.5px; color: var(--muted); text-align: center; }
.data-status.warn { color: var(--g-inaccuracy); }
.data-status a { color: var(--accent); text-decoration: underline; }

.legend-title { font-weight: 700; margin-bottom: 8px; font-size: 14px; }
.legend-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; font-size: 12.5px; color: var(--muted); }
.legend-grid b { color: var(--text); margin-right: 4px; }
.grade-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 7px; vertical-align: middle; }
.grade-dot.best { background: var(--g-best); }
.grade-dot.good { background: var(--g-good); }
.grade-dot.inaccuracy { background: var(--g-inaccuracy); }
.grade-dot.mistake { background: var(--g-mistake); }
.grade-dot.blunder { background: var(--g-blunder); }

/* ---------- 퀴즈 ---------- */
.quiz-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.icon-btn {
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border); background: var(--panel);
  color: var(--muted); cursor: pointer; font-size: 15px; display: grid; place-items: center;
}
.icon-btn:hover { color: var(--text); border-color: var(--border-2); }
.quiz-progress { font-weight: 700; font-size: 14px; color: var(--muted); }
.progress-track { height: 3px; background: var(--border); border-radius: 2px; overflow: hidden; margin-bottom: 12px; }
.progress-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--accent-2), var(--accent)); transition: width .35s ease; }
.quiz-score { font-weight: 700; font-size: 13px; padding: 5px 11px; border-radius: 99px; background: var(--panel); border: 1px solid var(--border); }

.spot-head { margin: 2px 0 8px; }
.badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.badge {
  font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 3px 8px; border-radius: 99px;
  background: var(--panel-2); border: 1px solid var(--border-2); color: var(--muted);
}
.badge.cash { color: #7fd1ff; border-color: rgba(127, 209, 255, .35); }
.badge.mtt { color: #f0b35a; border-color: rgba(240, 179, 90, .35); }
.badge.street { color: var(--accent); border-color: rgba(143, 240, 164, .35); }
.spot-title { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }

.table-wrap { position: relative; }
.table-svg { width: 100%; height: auto; display: block; }
.table-svg text { font-family: var(--font); }

.history { padding: 10px 14px; font-size: 13px; color: var(--muted); line-height: 1.7; margin-top: 10px; }
.history .st { color: var(--text); font-weight: 700; margin-right: 6px; }
.history .h-item { white-space: nowrap; }
.history .h-item.is-hero { color: var(--accent); font-weight: 700; }
.history .h-item.raise, .history .h-item.bet, .history .h-item.allin { color: #f0a06a; }
.history .h-item.call, .history .h-item.check { color: #7fd8a8; }
.history .dot { margin: 0 6px; color: var(--muted-2); }

.question-line { font-weight: 700; font-size: 15px; margin: 12px 0 10px; display: flex; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.question-line .pot { color: var(--muted); font-weight: 600; font-size: 13.5px; }

.actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }
.action-btn {
  --c: #4c7dd4;
  border: 0; cursor: pointer; color: #fff; font-weight: 800; font-size: 15px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, .12)), var(--c);
  padding: 15px 10px; border-radius: 12px; box-shadow: 0 6px 18px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .18);
  transition: transform .08s ease, filter .15s, opacity .2s; position: relative; overflow: hidden;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .25);
}
.action-btn small { display: block; font-weight: 600; font-size: 11.5px; opacity: .85; margin-top: 2px; }
.action-btn:hover { filter: brightness(1.08); }
.action-btn:active { transform: scale(.97); }
.action-btn:disabled { cursor: default; filter: saturate(.6); }
.action-btn.is-chosen { outline: 3px solid #fff; outline-offset: -3px; }
.action-btn.is-best::after { content: "★ GTO"; position: absolute; top: 5px; right: 8px; font-size: 10px; font-weight: 800; opacity: .95; }
.action-btn.dim { opacity: .55; }

.result { margin-top: 12px; }
.result-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.grade-badge { font-weight: 800; font-size: 14px; padding: 5px 12px; border-radius: 99px; color: #08130c; }
.grade-badge.best { background: var(--g-best); }
.grade-badge.good { background: var(--g-good); }
.grade-badge.inaccuracy { background: var(--g-inaccuracy); }
.grade-badge.mistake { background: var(--g-mistake); }
.grade-badge.blunder { background: var(--g-blunder); }
.result-score { font-weight: 800; font-size: 18px; }
.result-freq { color: var(--muted); font-size: 13px; }
.explain { margin: 10px 0 12px; font-size: 14px; color: #cdd6d0; }

.strategy-bars { display: flex; flex-direction: column; gap: 7px; }
.sbar { display: grid; grid-template-columns: minmax(84px, max-content) 1fr 48px 64px; gap: 8px; align-items: center; font-size: 13px; }
.sbar .lbl { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sbar .lbl .tag { font-size: 10px; margin-left: 4px; color: var(--muted); font-weight: 600; }
.sbar .track { height: 12px; border-radius: 6px; background: var(--bg-2); overflow: hidden; border: 1px solid var(--border); }
.sbar .fill { height: 100%; border-radius: 6px; }
.sbar .pct { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.sbar .ev { text-align: right; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.sbar.is-chosen .lbl { color: #fff; }
.sbar.is-chosen .lbl::before { content: "▶ "; color: var(--accent); }

.result-tools { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.spot-desc { margin-top: 10px; font-size: 13.5px; color: var(--muted); border-top: 1px dashed var(--border); padding-top: 10px; }
.spot-desc .ctx { color: var(--g-inaccuracy); display: block; margin-top: 4px; font-size: 12.5px; }
.btn-next { margin-top: 14px; }

/* ---------- 레인지 그리드 ---------- */
.range-panel { margin-top: 12px; }
.range-legend { display: flex; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.range-legend .sw { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.range-grid { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 2px; }
.rcell {
  aspect-ratio: 1; min-width: 0; border-radius: 3px; background: #1a201d; display: grid; place-items: center;
  font-size: 9.5px; font-weight: 700; color: rgba(255, 255, 255, .92); text-shadow: 0 1px 2px rgba(0, 0, 0, .7);
  position: relative; cursor: default; letter-spacing: -.02em;
}
.rcell.empty { color: rgba(255, 255, 255, .18); text-shadow: none; }
.rcell.is-hero { outline: 2px solid #fff; outline-offset: -2px; z-index: 1; }
.rcell .tip {
  display: none; position: absolute; bottom: 105%; left: 50%; transform: translateX(-50%);
  background: #0b0e0d; border: 1px solid var(--border-2); color: var(--text); padding: 4px 8px; border-radius: 6px;
  font-size: 11px; white-space: nowrap; z-index: 5; text-shadow: none;
}
.rcell:hover .tip { display: block; }
.range-summary { margin-top: 8px; font-size: 12.5px; color: var(--muted); }

.combo-list { display: flex; flex-direction: column; gap: 6px; }
.combo-row { display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: center; font-size: 13px; }
.combo-row .combo { font-weight: 800; letter-spacing: .02em; }
.combo-row.is-hero .combo { color: var(--accent); }
.combo-row .stack { display: flex; height: 14px; border-radius: 6px; overflow: hidden; border: 1px solid var(--border); background: var(--bg-2); }
.combo-row .stack span { display: block; height: 100%; }

/* ---------- 요약 / 통계 ---------- */
.summary-card { text-align: center; padding: 24px 16px; }
.summary-title { color: var(--muted); font-weight: 700; font-size: 13px; letter-spacing: .1em; }
.summary-score { font-size: 56px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: var(--accent); margin: 6px 0 2px; }
.summary-sub { color: var(--muted); font-size: 13.5px; margin-bottom: 14px; }
.grade-bars { display: flex; flex-direction: column; gap: 6px; }
.gbar { display: grid; grid-template-columns: 56px 1fr 40px; gap: 8px; align-items: center; font-size: 12.5px; }
.gbar .track { height: 10px; border-radius: 5px; background: var(--bg-2); border: 1px solid var(--border); overflow: hidden; }
.gbar .fill { height: 100%; }
.gbar .n { text-align: right; font-weight: 700; }
.summary-actions { display: flex; gap: 10px; flex-direction: column; }
.summary-actions .btn-ghost { padding: 13px; font-size: 15px; }

.answer-list { display: flex; flex-direction: column; }
.answer-row {
  display: grid; grid-template-columns: 58px 1fr auto; gap: 10px; align-items: center;
  padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 13px;
}
.answer-row:last-child { border-bottom: 0; }
.answer-row .hand { font-weight: 800; font-size: 14px; letter-spacing: .02em; }
.answer-row .ttl { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.answer-row .pick { font-size: 12px; color: var(--text); }
.answer-row .pick .vs { color: var(--muted-2); margin: 0 4px; }
.gpill { font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 99px; color: #08130c; white-space: nowrap; }
.gpill.best { background: var(--g-best); }
.gpill.good { background: var(--g-good); }
.gpill.inaccuracy { background: var(--g-inaccuracy); }
.gpill.mistake { background: var(--g-mistake); }
.gpill.blunder { background: var(--g-blunder); }

.stat-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin-bottom: 12px; }
.tile { background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; }
.tile .k { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.tile .v { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin-top: 2px; }
.tile .v small { font-size: 12px; color: var(--muted); font-weight: 600; margin-left: 3px; }

.table-scroll { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th { text-align: left; color: var(--muted); font-weight: 600; font-size: 12px; padding: 6px 8px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.tbl td { padding: 8px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td.num, .tbl th.num { text-align: right; font-variant-numeric: tabular-nums; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.spot-list { display: flex; flex-direction: column; }
.spot-row {
  display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--border); cursor: pointer;
}
.spot-row:last-child { border-bottom: 0; }
.spot-row:hover .sr-title { color: var(--accent); }
.sr-title { font-weight: 700; font-size: 14px; }
.sr-meta { color: var(--muted); font-size: 12px; margin-top: 2px; display: flex; gap: 6px; flex-wrap: wrap; }
.sr-actions { display: flex; gap: 6px; }
.sr-actions .btn-ghost { padding: 6px 10px; font-size: 12px; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }

/* ---------- 모달 / 토스트 ---------- */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); backdrop-filter: blur(4px); }
.modal-box {
  position: relative; width: min(720px, 100%); max-height: 88vh; overflow: auto;
  background: var(--panel); border: 1px solid var(--border-2); border-radius: 16px; box-shadow: var(--shadow); padding: 16px;
}
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.modal-title { font-weight: 800; font-size: 15px; }
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60;
  background: #1c2521; border: 1px solid var(--border-2); color: var(--text); padding: 10px 16px; border-radius: 10px;
  font-size: 13.5px; box-shadow: var(--shadow); max-width: min(92vw, 520px);
}

/* ---------- 반응형: PC ---------- */
@media (min-width: 1000px) {
  .app { max-width: 1120px; padding: 24px 24px 60px; }
  #screen-stats, #screen-data, #screen-summary { max-width: 860px; margin: 0 auto; }
  .home-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); gap: 28px; align-items: start; }
  .home-right { padding-top: 26px; }
  .grade-legend { max-width: 100%; }
  .legend-grid { grid-template-columns: repeat(5, 1fr); }
  .quiz-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(360px, 1fr); gap: 22px; align-items: start; }
  .question-line { margin-top: 4px; font-size: 16px; }
  .actions { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
  .action-btn { padding: 17px 12px; font-size: 16px; }
  .rcell { font-size: 10px; }
  .summary-actions { flex-direction: row; }
  .summary-actions > * { flex: 1; margin-top: 0; }
  .hero { padding-top: 34px; }
  .hero h1 { font-size: 40px; }
}
@media (max-width: 999px) {
  .home-right { display: none; }
}

/* ---------- 반응형: 작은 폰 ---------- */
@media (max-width: 380px) {
  .app { padding: 12px 10px 90px; }
  .setup-label { width: 100%; }
  .action-btn { font-size: 14px; padding: 13px 8px; }
  .sbar { grid-template-columns: 80px 1fr 44px 56px; }
  .rcell { font-size: 8px; }
}

/* 모바일: 액션 버튼을 하단에 고정해서 엄지로 누르기 쉽게 */
@media (max-width: 999px) {
  .actions.is-live {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(11, 14, 13, 0) 0%, rgba(11, 14, 13, .96) 30%);
  }
}
