:root {
  --bg: #0f1420; --panel: #1a2233; --line: #2a3550;
  --text: #e8ecf4; --muted: #93a0b8;
  --home: #4f8ef7; --draw: #6b7690; --away: #f2705b;
  --hit: #33c481; --miss: #e05555; --accent: #ffd166;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font-family: "Pretendard", "Noto Sans KR", system-ui, sans-serif; line-height: 1.6; }
main { max-width: 860px; margin: 0 auto; padding: 16px; }
a { color: inherit; text-decoration: none; }

.site-header { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.logo { font-weight: 800; font-size: 1.1rem; }
.site-header nav a { margin-left: 16px; color: var(--muted); }
.site-header nav a:hover { color: var(--text); }

.hero { text-align: center; padding: 28px 0 20px; }
.hero h1 { font-size: 1.6rem; margin-bottom: 6px; }
.hit-rate { color: var(--muted); }
.hit-rate strong { color: var(--accent); font-size: 1.3rem; }

section { margin: 28px 0; }
h2 { font-size: 1.15rem; margin-bottom: 12px; border-left: 4px solid var(--accent); padding-left: 10px; }

.cards { display: grid; gap: 14px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.card-head { display: flex; justify-content: space-between; color: var(--muted); font-size: 0.85rem; margin-bottom: 10px; }
.round { color: var(--accent); font-weight: 700; }
.teams { display: flex; justify-content: center; align-items: center; gap: 14px; font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; }
.teams img { width: 24px; vertical-align: -3px; border-radius: 2px; }
.vs { color: var(--muted); font-size: 0.9rem; font-weight: 400; }

.bar { display: flex; height: 30px; border-radius: 6px; overflow: hidden; font-size: 0.8rem; font-weight: 700; }
.bar span { display: flex; align-items: center; justify-content: center; min-width: 34px; }
.p-home { background: var(--home); }
.p-draw { background: var(--draw); }
.p-away { background: var(--away); }
.legend { color: var(--muted); font-size: 0.8rem; margin-top: 6px; }

.ai-pick { margin: 4px 0 10px; font-size: 1.02rem; }
.ai-pick strong { color: var(--accent); font-size: 1.15rem; }
.ai-pick .pick-prob { background: var(--accent); color: #14100a; font-weight: 800; border-radius: 8px; padding: 1px 8px; margin-left: 6px; font-size: 0.9rem; }
.ai-pick.big { font-size: 1.25rem; text-align: center; margin-bottom: 14px; }
.ai-pick.big strong { font-size: 1.5rem; }
.hit-rate.top { text-align: center; margin: 14px 0 4px; color: var(--muted); }
.hit-rate.top a { color: var(--accent); }
.map-section { margin-top: 16px; }

.commentary { margin-top: 12px; font-size: 0.95rem; background: rgba(255,255,255,0.03); border-radius: 8px; padding: 12px; }
.rationale { margin-top: 10px; font-size: 0.88rem; }
.rationale summary { cursor: pointer; color: var(--accent); }
.rationale ul { margin: 8px 0 0 18px; color: var(--muted); }
.baseline-note { color: var(--muted); font-size: 0.8rem; margin-top: 8px; }
.pub-time { color: var(--muted); font-size: 0.75rem; margin-top: 10px; }

.badge { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 0.72rem; background: var(--line); margin-left: 6px; }
.badge.fallback { background: #5a4a1a; color: var(--accent); }
.badge.hit { background: var(--hit); color: #06281a; }
.badge.miss { background: var(--miss); color: #2b0b0b; }

.champion { width: 100%; border-collapse: collapse; }
.champion th, .champion td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.champion img { width: 20px; vertical-align: -3px; margin-right: 6px; border-radius: 2px; }
.mini-bar { background: linear-gradient(90deg, var(--home) var(--w), transparent var(--w)); padding: 2px 8px; border-radius: 4px; }

.results { list-style: none; }
.results li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.empty { color: var(--muted); }

.site-footer { text-align: center; color: var(--muted); font-size: 0.78rem; padding: 24px; border-top: 1px solid var(--line); margin-top: 40px; }

.map-wrap { background: linear-gradient(180deg, #131a2a, #0d1320); border: 1px solid var(--line); border-radius: 12px; padding: 8px 8px 0; }
#map { width: 100%; height: auto; display: block; }
#map .landmass path { fill: #222d45; stroke: #3a4a6e; stroke-width: 1; }
#map .venue { cursor: pointer; }
#map .dot { fill: var(--home); stroke: #dfe9ff; stroke-width: 1.2; }
#map .dot.muted { fill: #55617d; stroke: #7a879f; stroke-width: 0.8; }
#map .venue.live .dot { fill: var(--accent); stroke: #fff; }
#map .halo { fill: none; stroke: var(--accent); stroke-width: 2; opacity: 0.6; }
#map .venue:hover .dot { r: 7; }
#map .pin-label rect { fill: rgba(15, 20, 32, 0.88); stroke: var(--line); stroke-width: 1; }
#map .venue:hover .pin-label rect { stroke: var(--accent); }
#map .pin-title { fill: var(--text); font-size: 12px; font-weight: 700; }
#map .pin-time { fill: var(--muted); font-size: 9.5px; }
.map-info { padding: 10px 8px; color: var(--muted); font-size: 0.85rem; border-top: 1px solid var(--line); margin-top: 6px; }
.map-info strong { color: var(--text); }
.dot-legend { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); vertical-align: -1px; }

.teams.big { font-size: 1.5rem; margin: 10px 0; }
.teams.big img { width: 34px; }
.score { font-size: 1.6rem; font-weight: 800; color: var(--accent); }
.venue-line { color: var(--muted); font-size: 0.85rem; }
.analyst-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.card.analyst.no-info { opacity: 0.55; }
.card.analyst p { font-size: 0.9rem; }
.sources a { color: var(--accent); margin-right: 4px; }
.rationale-list { list-style: none; }
.rationale-list li { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; }
.rationale-list p { color: var(--muted); font-size: 0.9rem; margin-top: 4px; }
.back { color: var(--accent); }
.card-head a { color: var(--accent); }

@media (max-width: 600px) { .teams { font-size: 1rem; } .teams.big { font-size: 1.2rem; } #map { height: 280px; } }
