:root {
  --bg: #f5f6f8; --card: #fff; --text: #1d2330; --muted: #6b7280; --line: #e5e7eb;
  --accent: #0b5cd6; --accent-weak: #e8f0fd; --win: #c81e1e; --head: #0f1d3a;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0f1216; --card: #171b21; --text: #e6e8eb; --muted: #9aa3ae; --line: #2a3039;
          --accent: #6ea8ff; --accent-weak: #1c2a40; --win: #ff7a7a; --head: #0a0d12; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text);
       font: 14px/1.5 -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.top { background: var(--head); color: #fff; }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 56px; flex-wrap: wrap; }
.logo { color: #fff; font-weight: 800; font-size: 20px; letter-spacing: -0.5px; }
.logo span { font-weight: 400; margin-left: 4px; opacity: .8; }
.top nav { display: flex; gap: 16px; flex: 1; }
.top nav a { color: #cfd8ea; }
.top nav a:hover { color: #fff; text-decoration: none; }
.search input { width: 180px; padding: 6px 10px; border-radius: 6px; border: 0; }
h1 { font-size: 24px; margin: 24px 0 12px; }
h1 .muted { font-size: 15px; font-weight: 400; margin-left: 8px; }
h2 { font-size: 16px; margin: 0 0 10px; display: flex; justify-content: space-between; align-items: baseline; }
h3 { font-size: 14px; margin: 12px 0 6px; }
.more { font-size: 13px; font-weight: 400; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.hero p { color: var(--muted); margin-top: -4px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px; margin-bottom: 16px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.grid4 .card { padding: 12px; margin: 0; }
.grid4 + h2 { margin-top: 24px; }
@media (max-width: 900px) { .grid2 { grid-template-columns: 1fr; } .grid4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) {
  .grid4 { grid-template-columns: 1fr; }
  .top .wrap { height: auto; padding-top: 10px; padding-bottom: 8px; gap: 8px 12px; }
  .search { flex: 1; } .search input { width: 100%; }
  .top nav { order: 3; width: 100%; flex: none; overflow-x: auto; white-space: nowrap; }
  .profile { flex-direction: column; } .profile > div { width: 100%; }
}
.scroll { overflow-x: auto; }
.tbl { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
.tbl th, .tbl td { padding: 6px 8px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl th { font-weight: 600; color: var(--muted); font-size: 12px; background: var(--card); position: sticky; top: 0; }
.tbl .l { text-align: left; }
.tbl .r { text-align: right; }
.tbl tbody tr:hover { background: var(--accent-weak); }
.tbl tfoot td { font-weight: 700; border-top: 2px solid var(--line); }
.tbl td.hl { font-weight: 700; color: var(--accent); }
.tbl th.sorted { color: var(--accent); }
.tbl.compact td { padding: 4px 6px; }
.sortable th { cursor: pointer; user-select: none; }
.sortable th.asc::after { content: " ▲"; } .sortable th.desc::after { content: " ▼"; }
.games .score { text-align: center; font-weight: 700; width: 70px; }
.games .win { font-weight: 700; color: var(--win); }
.mini { margin: 0; padding-left: 16px; }
.filters { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.filters select, .filters input { padding: 5px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--card); color: var(--text); }
.tabs a { padding: 5px 12px; border: 1px solid var(--line); border-radius: 6px; margin-right: 4px; color: var(--text); }
.tabs a.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.profile { display: flex; gap: 20px; align-items: flex-start; }
.profile h1 { margin-top: 0; }
.profile .photo { width: 110px; border-radius: 8px; }
.profile > div:nth-child(2), .profile > div:first-child:not(.war-box) { flex: 1; }
.facts { display: grid; grid-template-columns: 80px 1fr; gap: 4px 12px; margin: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.war-box { text-align: center; padding: 12px 20px; background: var(--accent-weak); border-radius: 10px; }
.war-box .big { font-size: 32px; font-weight: 800; color: var(--accent); }
.prose li { margin-bottom: 6px; }
.foot { color: var(--muted); font-size: 12px; padding-top: 16px; padding-bottom: 32px; }

/* ===== 대시보드 ===== */
:root {
  --series-1: #2a78d6; --series-2: #eb6834; --series-3: #1baf7a; --series-4: #eda100; --series-5: #e87ba4;
  --series-other: #c3c2b7; --pos: #2a78d6; --neg: #e34948; --grid: #e1e0d9; --axis: #c3c2b7;
  --ink2: #52514e; --tick: #898781; --up: #006300;
}
@media (prefers-color-scheme: dark) {
  :root {
    --series-1: #3987e5; --series-2: #d95926; --series-3: #199e70; --series-4: #c98500; --series-5: #d55181;
    --series-other: #4a4a46; --pos: #3987e5; --neg: #e66767; --grid: #2c2c2a; --axis: #383835;
    --ink2: #c3c2b7; --tick: #898781; --up: #0ca30c;
  }
}
.hero-band {
  margin: 20px 0 16px; padding: 24px; border-radius: 14px; color: #fff;
  background: radial-gradient(120% 140% at 0% 0%, #1f4fa3 0%, #0f1d3a 55%, #0a1226 100%);
  display: grid; grid-template-columns: 1.1fr 1.4fr; gap: 24px; align-items: center;
}
.eyebrow { font-size: 12px; letter-spacing: .08em; opacity: .7; }
.hero-title { font-size: 34px; margin: 6px 0 4px; line-height: 1.15; }
.hero-title span { color: #8fc0ff; }
.hero-sub { margin: 0; opacity: .9; }
.hero-meta { margin: 10px 0 0; font-size: 12px; opacity: .6; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpi { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: 12px; min-width: 0; }
.kpi-label { font-size: 12px; opacity: .75; }
.kpi-val { font-size: 26px; font-weight: 800; letter-spacing: -.5px; }
.kpi-delta { font-size: 12px; opacity: .85; }
.kpi-delta span { opacity: .6; }
.spark { width: 100%; height: 28px; margin-top: 6px; display: block; }
.spark .sp { fill: none; stroke: #8fc0ff; stroke-width: 1.5; }
.spark .spd { fill: #fff; }
.dash-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dash-grid .card { margin: 0; min-width: 0; }
.span2 { grid-column: span 2; } .span3 { grid-column: span 3; }
.h-sub { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 8px; flex: 1; }
.chart { width: 100%; position: relative; }
.chart svg { display: block; overflow: visible; }
.chart .grid { stroke: var(--grid); stroke-width: 1; }
.chart .axis0 { stroke: var(--axis); stroke-width: 1.5; }
.chart .dash { stroke-dasharray: 4 4; }
.chart .tick { fill: var(--tick); font-size: 11px; font-variant-numeric: tabular-nums; }
.chart .lab { fill: var(--ink2); font-size: 11px; font-weight: 600; }
.chart .quad { fill: var(--tick); font-size: 11px; font-style: italic; }
.chart .line { fill: none; stroke-width: 2; stroke-linejoin: round; transition: opacity .15s; }
.chart .line.main { stroke: var(--series-1); }
.chart .area { fill: var(--series-1); opacity: .08; }
.chart .dim { opacity: .12; }
.chart .cross { stroke: var(--axis); stroke-width: 1; display: none; }
.chart .mk { fill: var(--series-1); stroke: var(--card); stroke-width: 2; }
.chart .pt { stroke: var(--card); stroke-width: 2; opacity: .9; }
.legend { display: flex; flex-wrap: wrap; gap: 6px; margin: -2px 0 8px; }
.legend button { font: inherit; font-size: 12px; color: var(--text); background: none; border: 1px solid var(--line);
  border-radius: 999px; padding: 2px 10px 2px 8px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.legend button.on { border-color: var(--text); font-weight: 700; }
.legend i, .tooltip i, .sb-team i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.tooltip { position: absolute; display: none; z-index: 50; pointer-events: none; background: var(--card); color: var(--text);
  border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font-size: 12px; min-width: 130px;
  box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.tooltip .trow { display: flex; align-items: center; gap: 6px; }
.tooltip .trow span { margin-left: auto; padding-left: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.tooltip .trow.dim { opacity: .4; }
.standings-bars { display: flex; flex-direction: column; gap: 6px; }
.sb-row { display: grid; grid-template-columns: 18px 64px 1fr 36px 40px; align-items: center; gap: 8px; font-size: 13px; }
.sb-rank { color: var(--muted); text-align: right; }
.sb-team { display: flex; align-items: center; gap: 6px; font-weight: 600; white-space: nowrap; }
.sb-track { position: relative; height: 14px; }
.sb-mid { position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: var(--axis); }
.sb-bar { position: absolute; top: 0; height: 100%; }
.sb-bar.pos { background: var(--pos); border-radius: 0 4px 4px 0; }
.sb-bar.neg { background: var(--neg); border-radius: 4px 0 0 4px; }
.sb-val { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.sb-pct { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.war-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.war-list li { display: flex; gap: 10px; align-items: center; }
.face { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex: none; background: var(--accent-weak);
  display: grid; place-items: center; color: var(--accent); font-weight: 700; }
.face img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.war-body { flex: 1; min-width: 0; }
.war-top { display: flex; align-items: baseline; gap: 6px; font-size: 13px; }
.war-top a { font-weight: 700; color: var(--text); }
.war-top .muted { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.war-top b { margin-left: auto; font-size: 15px; }
.bar-track { height: 8px; background: var(--grid); border-radius: 4px; margin: 3px 0; }
.bar { height: 100%; border-radius: 4px; }
.bar.bat { background: var(--series-1); } .bar.pit { background: var(--series-2); }
.war-stats { font-size: 11px; color: var(--muted); }
.scorecards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.scorecard { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.sc-row { display: flex; justify-content: space-between; color: var(--muted); }
.sc-row.w { color: var(--text); font-weight: 700; }
.sc-row b { font-variant-numeric: tabular-nums; }
.sc-meta { font-size: 11px; color: var(--muted); margin-top: 2px; }
.upcoming { list-style: none; padding: 0; margin: 0; font-size: 13px; }
.upcoming li { padding: 4px 0; border-bottom: 1px solid var(--line); }
.upcoming .date { color: var(--muted); display: inline-block; width: 92px; font-variant-numeric: tabular-nums; }
.seg { margin-left: auto; display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.seg button { font: inherit; font-size: 12px; border: 0; background: none; color: var(--text); padding: 4px 10px; cursor: pointer; }
.seg button.on { background: var(--accent); color: #fff; }
@media (max-width: 1000px) {
  .hero-band { grid-template-columns: 1fr; }
  .dash-grid { grid-template-columns: 1fr 1fr; }
  .span3 { grid-column: span 2; }
}
@media (max-width: 700px) {
  .dash-grid { grid-template-columns: 1fr; }
  .span2, .span3 { grid-column: span 1; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: 26px; }
  .h-sub { display: block; margin: 2px 0 0; }
  h2 { flex-wrap: wrap; }
}
.titles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.title-tile { display: flex; gap: 8px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 8px; color: var(--text); min-width: 0; }
.title-tile:hover { background: var(--accent-weak); text-decoration: none; }
.face.sm { width: 34px; height: 34px; }
.tt-body { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.tt-label { font-size: 11px; color: var(--muted); }
.tt-body b { font-size: 18px; }
.tt-name { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ===== 지표 설명 ===== */
.g-hero p { color: var(--muted); max-width: 760px; }
.toc { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 8px 0 16px; }
.toc b { font-size: 12px; color: var(--muted); margin: 0 4px 0 10px; }
.toc b:first-child { margin-left: 0; }
.toc a { font-size: 12px; padding: 2px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); background: var(--card); }
.toc a:hover { border-color: var(--accent); text-decoration: none; }
.g-intro { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.g-intro p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.g-sec { font-size: 20px; margin: 28px 0 12px; }
.metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.metric { margin: 0; scroll-margin-top: 16px; }
.metric:target { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-weak); }
.metric header { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.metric h3 { margin: 0; font-size: 18px; }
.m-abbr { color: var(--accent); font-weight: 800; }
.m-ko { font-size: 14px; font-weight: 600; }
.m-dir { font-size: 11px; padding: 2px 8px; border-radius: 999px; background: var(--accent-weak); color: var(--ink2); }
.m-short { margin: 6px 0; font-weight: 600; }
.formula { display: flex; gap: 8px; align-items: baseline; background: var(--bg); border-radius: 8px; padding: 8px 10px; font-size: 13px; }
.formula span { font-size: 11px; color: var(--muted); flex: none; }
.formula code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; overflow-wrap: anywhere; }
.m-note { font-size: 13px; color: var(--ink2); margin: 8px 0 0; }
.range { margin-top: 12px; }
.range-cap { font-size: 11px; color: var(--muted); margin-bottom: 4px; }
.rtrack { position: relative; height: 10px; background: var(--grid); border-radius: 5px; }
.rband { position: absolute; top: 0; height: 100%; background: var(--series-1); opacity: .35; border-radius: 5px; }
.rmed { position: absolute; top: -3px; width: 3px; height: 16px; margin-left: -1.5px; background: var(--series-1); border-radius: 2px; }
.rlabels { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 4px; font-variant-numeric: tabular-nums; }
.rlabels .c { text-align: center; } .rlabels b { color: var(--text); }
.rbest { font-size: 12px; margin-top: 2px; }
.wf { display: flex; flex-direction: column; gap: 8px; margin: 10px 0; }
.wf-row { display: grid; grid-template-columns: 150px 1fr 60px; gap: 10px; align-items: center; }
.wf-lab { font-size: 13px; font-weight: 600; display: flex; flex-direction: column; }
.wf-lab small { font-size: 11px; font-weight: 400; color: var(--muted); }
.wf-track { position: relative; height: 16px; }
.wf-zero { position: absolute; left: 50%; top: -4px; bottom: -4px; width: 1px; background: var(--axis); }
.wf-bar { position: absolute; top: 0; height: 100%; }
.wf-bar.pos { background: var(--pos); border-radius: 0 4px 4px 0; }
.wf-bar.neg { background: var(--neg); border-radius: 4px 0 0 4px; }
.wf-bar.sum { background: var(--text); border-radius: 0 4px 4px 0; }
.wf-val { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.wf-row.total { border-top: 1px solid var(--line); padding-top: 8px; }
.calc { font-size: 15px; margin: 6px 0 0; }
.steps { padding-left: 18px; margin: 8px 0 0; } .steps li { margin-bottom: 8px; font-size: 13px; }
.posadj { display: flex; flex-wrap: wrap; gap: 6px; }
.pa { font-size: 12px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); }
.pa.pos b { color: var(--pos); } .pa.neg b { color: var(--neg); }
.lgdefs { display: grid; grid-template-columns: 140px 1fr; gap: 4px 12px; font-size: 13px; margin: 0 0 12px; }
.lgdefs dt { font-weight: 700; } .lgdefs dd { margin: 0; color: var(--ink2); }
@media (max-width: 800px) {
  .metrics, .g-intro { grid-template-columns: 1fr; }
  .wf-row { grid-template-columns: 110px 1fr 52px; }
  .lgdefs { grid-template-columns: 1fr; }
}

/* ===== 시기별 분위기 ===== */
:root { --phase-a: #1f4fa3; --phase-b: #0f1d3a; --phase-c: #0a1226; --phase-accent: #8fc0ff; --ribbon-bg: #13254a; --ribbon-fg: #dce8ff; }
html[data-phase="regular"][data-time="day"] { --phase-a: #2f8f57; --phase-b: #1d5f3c; --phase-c: #0f3a2a; --phase-accent: #b9f5c8; --ribbon-bg: #e9f6ec; --ribbon-fg: #14532d; }
html[data-phase="regular"][data-time="night"] { --phase-a: #1f4fa3; --phase-b: #0b1a3c; --phase-c: #050b1c; --phase-accent: #ffe9a8; --ribbon-bg: #0b1733; --ribbon-fg: #ffe9a8; }
html[data-phase="post"] { --phase-a: #8f1d24; --phase-b: #3a0b0f; --phase-c: #140507; --phase-accent: #ffc440; --ribbon-bg: #2a0a0d; --ribbon-fg: #ffd36e; }
html[data-phase="champ"] { --phase-a: #b8860b; --phase-b: #5a3e05; --phase-c: #1e1502; --phase-accent: #ffe08a; --ribbon-bg: #3a2903; --ribbon-fg: #ffe08a; }
html[data-phase="spring"] { --phase-a: #c26a8f; --phase-b: #6e3256; --phase-c: #2c1426; --phase-accent: #ffd1e1; --ribbon-bg: #fbe9f0; --ribbon-fg: #7a2950; }
html[data-phase="off"] { --phase-a: #4d6b94; --phase-b: #24364f; --phase-c: #0f1726; --phase-accent: #cfe4ff; --ribbon-bg: #e8eef6; --ribbon-fg: #24364f; }
@media (prefers-color-scheme: dark) {
  html[data-phase="regular"][data-time="day"] { --ribbon-bg: #10301d; --ribbon-fg: #b9f5c8; }
  html[data-phase="spring"] { --ribbon-bg: #2c1426; --ribbon-fg: #ffd1e1; }
  html[data-phase="off"] { --ribbon-bg: #172235; --ribbon-fg: #cfe4ff; }
}
.top { background: var(--phase-c); position: relative; }
.top::after { /* 야구공 솔기 */
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 6px; pointer-events: none;
  background: repeating-linear-gradient(115deg, transparent 0 9px, #d2232a 9px 13px, transparent 13px 22px);
  opacity: .85;
}
.logo::before { content: ""; display: inline-block; width: 22px; height: 22px; margin-right: 8px; vertical-align: -4px;
  background: url(/static/favicon.svg) center/contain no-repeat; }
.phase-ribbon { background: #0b0b0c; color: #ffb547; font-size: 13px; min-height: 34px; display: flex; align-items: center;
  border-bottom: 1px solid #000; overflow: hidden; }
.phase-ribbon:not(.led) { justify-content: center; }
.led { position: relative; }
.led::after { /* LED 점 격자 */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(0,0,0,.55) 0.6px, transparent 1px); background-size: 3px 3px; }
.led-badge { flex: none; z-index: 1; padding: 0 14px; height: 34px; display: flex; align-items: center; font-weight: 800;
  letter-spacing: .04em; color: #111; background: var(--phase-accent); }
.led-window { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
.led-track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.phase-ribbon:hover .led-track { animation-play-state: paused; }
.led-run { display: flex; }
.led-run span { padding: 0 22px; white-space: nowrap; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-weight: 700;
  color: var(--phase-accent); text-shadow: 0 0 6px color-mix(in srgb, var(--phase-accent) 70%, transparent); }
.led-run span::after { content: "◆"; margin-left: 44px; font-size: 9px; opacity: .5; vertical-align: 2px; }
@keyframes ticker { to { transform: translateX(-50%); } }
.hero-band { position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 140% at 0% 0%, var(--phase-a) 0%, var(--phase-b) 55%, var(--phase-c) 100%); }
.hero-band > * { position: relative; z-index: 1; }
.hero-title span { color: var(--phase-accent); }
.spark .sp { stroke: var(--phase-accent); }
.stadium { position: absolute !important; z-index: 0 !important; left: 0; right: 0; bottom: 0; width: 100%; height: auto; max-height: 100%; pointer-events: none; }
.stadium .stands { fill: rgba(0, 0, 0, .32); }
.stadium .stands-rim { fill: none; stroke: color-mix(in srgb, var(--phase-accent) 35%, transparent); stroke-width: 2; }
.stadium .pole { fill: rgba(0, 0, 0, .35); }
.stadium .bank { fill: rgba(0, 0, 0, .45); }
.stadium .lamp { fill: rgba(255, 255, 255, .14); }
.stadium .beam { fill: url(#beam); opacity: 0; }
.stadium.lit .lamp { animation: lampOn .9s steps(1, end) forwards; }
.stadium.lit .beam { animation: beamOn 1.6s ease-out forwards; }
@keyframes lampOn {
  0% { fill: rgba(255,255,255,.14); } 20% { fill: #fffbe6; } 35% { fill: rgba(255,255,255,.2); }
  55%, 100% { fill: #fffbe6; filter: drop-shadow(0 0 4px var(--phase-accent)); } }
@keyframes beamOn { from { opacity: 0; } to { opacity: .55; } }
@media (prefers-reduced-motion: reduce) {
  .led-track { animation: none; } .stadium.lit .lamp { animation: none; fill: #fffbe6; } .stadium.lit .beam { animation: none; opacity: .5; } }

/* ===== 박스스코어·게임 로그 ===== */
.game-card .gc-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.gc-team { font-size: 18px; font-weight: 600; color: var(--muted); }
.gc-team.w { color: var(--text); font-weight: 800; }
.gc-score { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.gc-meta { margin-left: auto; }
.gc-etc { display: grid; grid-template-columns: 70px 1fr; gap: 2px 10px; font-size: 12px; margin: 10px 0 0; }
.gc-etc dt { color: var(--muted); } .gc-etc dd { margin: 0; }
.game-card details { margin-top: 10px; }
.game-card summary { cursor: pointer; font-weight: 600; color: var(--accent); font-size: 13px; }
.bx-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 10px; }
.bx-side h4 { margin: 0 0 6px; }
.bx { margin-bottom: 10px; font-size: 12px; }
.pas { white-space: normal !important; min-width: 180px; }
.pa { display: inline-block; padding: 0 4px; margin: 1px; border-radius: 4px; background: var(--bg); font-size: 11px; }
.pa.hit { background: color-mix(in srgb, var(--neg) 18%, transparent); color: var(--neg); font-weight: 700; }
.pa.bb { background: color-mix(in srgb, var(--pos) 15%, transparent); color: var(--pos); }
.wl-w { color: var(--pos); font-weight: 700; } .wl-l { color: var(--neg); }
.split-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 12px; }
.split-card h3 { margin: 4px 0 6px; font-size: 13px; }
@media (max-width: 900px) { .bx-wrap { grid-template-columns: 1fr; } }
.pa.hr { background: var(--neg); color: #fff; }
.summary { font-size: 14px; line-height: 1.7; color: var(--ink2); margin: 0 0 16px; max-width: 900px; }

/* ===== 역대 기록 카드 ===== */
.rec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; margin-bottom: 8px; }
.rec-card { --rc: var(--series-1); background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.rec-card.pit { --rc: var(--series-2); }
.rec-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(15, 29, 58, .12); }
.rec-head { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 14px 0; }
.rec-label { font-weight: 800; font-size: 15px; letter-spacing: -.2px; }
.rec-label::before { content: ""; display: inline-block; width: 4px; height: 14px; border-radius: 2px; background: var(--rc);
  margin-right: 8px; vertical-align: -1px; }
.rec-scope { font-size: 11px; color: var(--muted); letter-spacing: .02em; }
.rec-top { display: flex; align-items: center; gap: 12px; margin: 10px 10px 4px; padding: 12px; border-radius: 12px; color: var(--text);
  background: linear-gradient(135deg, color-mix(in srgb, var(--rc) 16%, var(--card)), color-mix(in srgb, var(--rc) 4%, var(--card)));
  border: 1px solid color-mix(in srgb, var(--rc) 25%, transparent); }
.rec-top:hover { text-decoration: none; }
.rec-face { position: relative; width: 52px; height: 52px; flex: none; border-radius: 50%; overflow: hidden; display: grid; place-items: center;
  background: color-mix(in srgb, var(--rc) 25%, var(--card)); box-shadow: 0 0 0 2px var(--card), 0 0 0 4px color-mix(in srgb, var(--rc) 60%, transparent); }
.rec-face b { color: var(--rc); font-size: 20px; }
.rec-face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.rec-top-body { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.3; }
.rec-crown { font-size: 10px; font-weight: 800; color: #7a5a00; background: linear-gradient(135deg, #ffe08a, #f5b700);
  border-radius: 999px; padding: 1px 7px; align-self: flex-start; margin-bottom: 3px; }
.rec-name { font-weight: 800; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rec-meta { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rec-big { font-size: 26px; font-weight: 900; letter-spacing: -.5px; color: var(--rc); font-variant-numeric: tabular-nums; }
.rec-list { list-style: none; margin: 4px 0 10px; padding: 0 14px; }
.rec-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr) 54px 54px; align-items: center; gap: 8px; padding: 5px 0;
  border-bottom: 1px dashed var(--line); font-size: 13px; }
.rec-list li:last-child { border-bottom: 0; }
.rk { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700;
  color: var(--muted); background: var(--bg); }
.rk2 { background: linear-gradient(135deg, #e9edf2, #b8c2cc); color: #3b4652; }
.rk3 { background: linear-gradient(135deg, #f3d3b3, #c98a52); color: #5b3412; }
.rec-who { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.rec-who a { color: var(--text); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rec-who small { font-size: 10.5px; color: var(--muted); }
.rec-bar { height: 6px; border-radius: 3px; background: var(--grid); overflow: hidden; }
.rec-bar i { display: block; height: 100%; border-radius: 3px; background: color-mix(in srgb, var(--rc) 70%, transparent); }
.rec-v { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ===== 방송 3사 야구 소식 ===== */
.news-videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; margin: 6px 0 18px; }
.nv { margin: 0; min-width: 0; }
.nv-thumb { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: pointer;
  aspect-ratio: 16 / 9; background: #000; }
.nv-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s, opacity .25s; }
.nv-thumb:hover img { transform: scale(1.04); opacity: .85; }
.nv-play { position: absolute; left: 50%; top: 50%; width: 48px; height: 34px; margin: -17px 0 0 -24px; border-radius: 9px;
  background: rgba(0, 0, 0, .65); }
.nv-play::after { content: ""; position: absolute; left: 19px; top: 9px; border-left: 14px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.nv-thumb:hover .nv-play { background: #e62117; }
.nv-thumb .nb { position: absolute; left: 8px; top: 8px; }
.nv-frame { aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; }
.nv-frame iframe { width: 100%; height: 100%; border: 0; }
.nv figcaption { margin-top: 6px; font-size: 13px; line-height: 1.4; }
.nv figcaption a { color: var(--text); font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nv figcaption small, .nc small { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; }
.nb { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; padding: 2px 7px; border-radius: 5px; color: #fff; }
.nb-kbs { background: #1f4fa3; } .nb-mbc { background: #2b2b2b; } .nb-sbs { background: #0a7f6f; }
.news-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.nc h3 { margin: 0 0 6px; font-size: 13px; }
.nc ul { list-style: none; margin: 0; padding: 0; }
.nc li { padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; line-height: 1.45; }
.nc li:last-child { border-bottom: 0; }
.nc li a { color: var(--text); }
.nc li a:hover { color: var(--accent); }
.news-note { margin: 12px 0 0; }
