/* Sports Trend: 스포츠 미디어. 정본: DESIGN.md (라이트 고정, 주황 머리 띠, 굵은 산세리프, 스코어보드 숫자) */
:root {
  --bg: #FFFFFF; --soft: #FFF8F3; --tint: #FFEDD5; --ink: #14110F; --ink-2: #3D3733; --muted: #6B6560;
  --hair: #EEE8E3; --line: #DDD4CC;
  --brand: #C2410C; --brand-ink: #9A3412; --accent: #EA580C; --on-brand: #FFFFFF; --on-brand-2: #FFEDD5;
  --up: #D1242F; --down: #1F5FBF;
  --l-kbo: #C2410C; --l-kleague: #0F766E; --l-kbl: #7C2D12; --l-vleague: #A16207; --l-mlb: #1D4ED8; --l-epl: #6D28D9; --l-ucl: #0E7490; --l-nba: #B91C1C;
  --sans: 'Pretendard Variable', Pretendard, -apple-system, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased; letter-spacing: -0.01em; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.num, td.num { font-variant-numeric: tabular-nums; }

/* 머리: 주황 띠(날짜 줄 + 제호) → 섹션 메뉴 → 숫자 띠 */
.band { background: var(--brand); color: var(--on-brand); }
.band-in { max-width: 1200px; margin: 0 auto; padding: 10px 28px 18px; }
.dateline { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--on-brand-2); }
.dateline a { color: var(--on-brand); font-weight: 800; }
.logo { display: inline-flex; align-items: baseline; gap: 12px; margin-top: 10px; color: var(--on-brand); font-size: 36px; font-weight: 900; letter-spacing: -0.045em; line-height: 1; font-style: italic; }
.logo:hover { text-decoration: none; }
.logo .mk { width: .9em; height: .9em; vertical-align: -0.1em; margin-right: .25em; border-radius: 22%; box-shadow: 0 0 0 2px rgba(255,255,255,.9); }
.logo small { font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; color: var(--on-brand-2); font-style: normal; }
.navbar { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--hair); }
.cats { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; overflow-x: auto; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cats a { padding: 12px 12px 10px; font-size: 15px; font-weight: 700; color: var(--muted); white-space: nowrap; border-bottom: 3px solid transparent; }
.cats a:hover { color: var(--ink); text-decoration: none; }
.cats a.on { color: var(--ink); font-weight: 900; border-bottom-color: var(--accent); }
.ticker { background: var(--ink); color: #F5F1EE; }
.ticker-in { max-width: 1200px; margin: 0 auto; padding: 0 28px; display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; height: 38px; align-items: center; font-size: 13px; white-space: nowrap; }
.ticker-in::-webkit-scrollbar { display: none; }
.tk { display: inline-flex; gap: 6px; align-items: baseline; color: #D6CFC9; }
.tk b { color: #FFFFFF; font-variant-numeric: tabular-nums; font-weight: 800; }
.tk .meta { color: #B5ADA6; }
.tk .up { color: #FF8A80; } .tk .down { color: #8AB4FF; }
.pill { white-space: nowrap; }
.pill .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #BBF7D0; margin-right: 6px; vertical-align: 1px; }
.pill.stale .dot { background: #FDE68A; }

main { width: 100%; max-width: 1200px; margin: 0 auto; padding: 26px 28px 64px; }
.foot { border-top: 1px solid var(--hair); background: var(--soft); }
.foot-in { max-width: 1200px; margin: 0 auto; padding: 18px 28px 40px; color: var(--muted); font-size: 12.5px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-in b { color: var(--brand-ink); font-weight: 900; font-style: italic; }

/* 제목·본문 */
h1 { font-size: 32px; line-height: 1.25; margin: 4px 0 8px; font-weight: 900; letter-spacing: -0.035em; }
h2 { font-size: 19px; font-weight: 900; margin: 40px 0 12px; letter-spacing: -0.025em; }
h2 small, .h-note { color: var(--muted); font-weight: 600; font-size: 12.5px; margin-left: 8px; letter-spacing: 0; }
h3 { font-size: 15.5px; font-weight: 800; margin: 18px 0 8px; }
.desc { color: var(--ink-2); font-size: 15px; margin: 2px 0 16px; max-width: 760px; }
.meta { color: var(--muted); font-size: 12.5px; }
.kicker { display: inline-block; font-size: 12px; font-weight: 900; color: var(--on-brand); background: var(--brand); padding: 2px 9px; border-radius: 4px; letter-spacing: 0.02em; }
.up { color: var(--up); } .down { color: var(--down); }
.empty { color: var(--muted); }

/* 머리기사 */
.hero { padding: 6px 0 4px; }
.hero .lead { font-size: 30px; font-weight: 900; line-height: 1.3; letter-spacing: -0.035em; margin: 12px 0 10px; }
.hero .dek { color: var(--ink-2); font-size: 16px; margin: 0; max-width: 820px; }

/* 칸 */
.front { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 0 36px; }
.two { display: grid; gap: 0 32px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.board { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
@media (max-width: 900px) { .front, .two { grid-template-columns: minmax(0, 1fr); } }
.card { border: 1px solid var(--hair); border-radius: 6px; padding: 14px 16px; background: var(--bg); min-width: 0; }
.card.soft { background: var(--soft); }
.lcard { border-top: 4px solid var(--lc, var(--brand)); }
.lcard h3 { margin: 0 0 6px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.lcard h3 a { font-size: 12.5px; font-weight: 800; color: var(--brand-ink); }
.mini { width: 100%; font-size: 13.5px; }
.mini td { padding: 5px 2px; border-bottom: 1px solid var(--hair); white-space: nowrap; text-align: right; }
.mini td:first-child { width: 22px; color: var(--muted); font-weight: 800; text-align: left; }
.mini td.t { text-align: left; font-weight: 700; white-space: normal; }
.mini tr:last-child td { border-bottom: 0; }
.lcard ul, .pcard ul { margin: 6px 0 0; padding: 0; list-style: none; }
.lcard li, .pcard li { font-size: 13.5px; line-height: 1.45; padding: 7px 0; border-top: 1px solid var(--hair); }
.pcard h3 { margin: 0 0 4px; display: flex; align-items: baseline; gap: 8px; }
.pcard .stat { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; color: var(--muted); }
.pcard .stat b { color: var(--ink); font-size: 18px; font-weight: 900; font-variant-numeric: tabular-nums; margin-right: 3px; }
.ldot { width: 9px; height: 9px; border-radius: 2px; display: inline-block; background: var(--muted); flex: none; }

/* 차트·표 */
.chart { position: relative; height: 320px; border: 1px solid var(--hair); border-radius: 6px; padding: 12px 8px 8px; }
.chart.sm { height: 240px; }
.src { color: var(--muted); font-size: 12px; margin: 8px 2px 0; line-height: 1.55; }
.src::before { content: "출처 · "; font-weight: 800; color: var(--ink-2); }
.src a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 2px; }
.scroll { overflow-x: auto; border: 1px solid var(--hair); border-radius: 6px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 9px 12px; border-bottom: 1px solid var(--hair); text-align: right; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
th:first-child, td:first-child { text-align: left; }
th { color: var(--muted); font-weight: 800; font-size: 12.5px; background: var(--soft); }
table.txt td, table.txt th { text-align: left; white-space: normal; }
td.team { text-align: left; font-weight: 800; }
table.std tbody tr:first-child td { background: var(--tint); }
table.std td.note { text-align: left; color: var(--muted); font-size: 12.5px; white-space: normal; min-width: 160px; }
.score { font-weight: 900; font-variant-numeric: tabular-nums; }

/* 칩·필터 */
.filters { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin: 10px 0 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { font: inherit; font-size: 13px; font-weight: 700; border: 1px solid var(--line); background: var(--bg); border-radius: 4px; padding: 4px 12px; cursor: pointer; color: var(--ink-2); min-height: 32px; }
.chips button.on { background: var(--ink); color: #FFFFFF; border-color: var(--ink); }
.chips button.on .meta { color: #D6CFC9; }
input[type=search] { font: inherit; font-size: 14px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 4px; background: var(--bg); min-width: 180px; min-height: 34px; }
.tagc { display: inline-block; font-size: 11.5px; font-weight: 800; padding: 1px 7px; border-radius: 3px; margin-right: 5px; background: var(--tint); color: var(--brand-ink); white-space: nowrap; }
.tagc.l { background: #F3F1EF; color: var(--ink-2); }
.tagc.biz { background: var(--ink); color: #FFFFFF; }

/* 뉴스 목록 */
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 40px 0 8px; padding-top: 10px; border-top: 3px solid var(--ink); }
.sec-h h2 { margin: 0; }
.sec-h a { font-size: 13px; font-weight: 800; color: var(--brand-ink); white-space: nowrap; }
.feed { display: grid; }
.news { display: block; padding: 12px 0 13px; border-bottom: 1px solid var(--hair); }
.news:hover { text-decoration: none; } .news:hover .t { text-decoration: underline; text-underline-offset: 3px; }
.news .t { font-weight: 800; font-size: 16px; line-height: 1.45; margin: 5px 0 2px; letter-spacing: -0.02em; }
.news .o { color: var(--muted); font-size: 12.5px; margin: 0 0 2px; }
.news .m { color: var(--muted); font-size: 12.5px; }

@media (max-width: 900px) {
  .band-in, .ticker-in, .foot-in { padding-left: 16px; padding-right: 16px; }
  main { padding: 18px 16px 56px; }
  .cats { padding: 0 6px; }
  .logo { font-size: 30px; flex-direction: column; gap: 4px; }
  h1 { font-size: 26px; } .hero .lead { font-size: 23px; }
}
@media print { .band, .navbar, .foot, .ticker { display: none !important; } }
#quote td { padding: 8px 10px; } #quote td:first-child { white-space: normal; }
