/* LiveScoreTV v2: dark sports-listings design system */
:root {
  --bg: #0a0d12; --bg-2: #0e1219; --card: #131822; --card-h: #18202d; --border: #1f2735; --border-2: #2a3446;
  --text: #f1f5f9; --text-2: #94a3b8; --text-3: #7c8aa0;
  --accent: #22c55e; --accent-2: #16a34a; --live: #ef4444; --star: #fbbf24; --link: #60a5fa;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; --display: 'Barlow Condensed', 'Inter', sans-serif; --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --r: 10px; --r-l: 14px; --hh: 60px; --wrap: 1360px; --g: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hh) + 56px); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--g) * 2); margin-inline: auto; padding-inline: var(--g); }
.i { width: 18px; height: 18px; flex: none; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; padding: 10px 14px; background: var(--accent); color: #04130a; font-weight: 700; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 10px; }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 60; background: rgba(10, 13, 18, 0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.hdr-in { height: var(--hh); display: flex; align-items: center; gap: 14px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.55rem; letter-spacing: 0.01em; white-space: nowrap; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--accent); color: #04130a; display: grid; place-items: center; }
.brand-mark svg { width: 18px; height: 18px; }
.brand b { color: var(--accent); font-weight: 800; }
.search { position: relative; flex: 1; min-width: 0; max-width: 420px; }
.search .inp { min-width: 0; }
@media (max-width: 420px) { .brand { font-size: 1.3rem; } .brand-mark { width: 26px; height: 26px; } .hdr-in { gap: 10px; } }
.tabs { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; }
.controls > * { min-width: 0; }
.search .i { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--text-3); pointer-events: none; }
.inp { width: 100%; min-height: 40px; padding: 8px 12px 8px 36px; border-radius: 9px; border: 1px solid var(--border); background: var(--card); font-size: 0.92rem; }
.inp:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15); }
.inp::placeholder { color: var(--text-3); }
.menu { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.menu > li { position: relative; list-style: none; }
.menu-btn, .menu > li > a { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 8px 10px; border: 0; border-radius: 8px; background: none; color: var(--text-2); font-weight: 600; font-size: 0.9rem; text-decoration: none; }
.menu-btn:hover, .menu > li > a:hover, .menu-btn[aria-expanded='true'] { color: var(--text); background: var(--card); }
.dd { position: absolute; right: 0; top: calc(100% + 6px); z-index: 70; min-width: 240px; max-height: 70vh; overflow: auto; padding: 6px; border-radius: 12px; background: #141a25; border: 1px solid var(--border-2); box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.8); }
.dd a, .dd button { display: flex; justify-content: space-between; gap: 10px; width: 100%; padding: 8px 10px; border-radius: 7px; border: 0; background: none; text-align: left; text-decoration: none; font-size: 0.9rem; color: var(--text); }
.dd a:hover, .dd button:hover { background: var(--card-h); }
.dd small { color: var(--text-3); font-family: var(--mono); }
.dd h4 { margin: 8px 10px 4px; font-size: 0.72rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; }
.tz-sel { min-height: 36px; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--border); background: var(--card); font-size: 0.82rem; max-width: 180px; }
.leaguebar { border-bottom: 1px solid var(--border); background: var(--bg-2); }
.leaguebar .wrap { display: flex; gap: 6px; overflow-x: auto; padding-block: 8px; scrollbar-width: none; }
.leaguebar .wrap::-webkit-scrollbar { display: none; }
.lpill { flex: none; display: inline-flex; align-items: center; min-height: 34px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--card); color: var(--text-2); font-size: 0.84rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.lpill:hover, .lpill[aria-current] { color: var(--text); border-color: var(--accent); }
@media (max-width: 1023.98px) { .menu, .tz-wrap { display: none; } .search { max-width: none; } }

/* ---------- 3-column layout ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding-block: 18px 40px; }
@media (min-width: 1024px) { .layout { grid-template-columns: 250px minmax(0, 1fr); } }
@media (min-width: 1280px) { .layout { grid-template-columns: 250px minmax(0, 1fr) 300px; } }
.col-l, .col-r { display: grid; gap: 14px; align-content: start; }
@media (min-width: 1024px) { .col-l { position: sticky; top: calc(var(--hh) + 64px); max-height: calc(100vh - var(--hh) - 80px); overflow-y: auto; scrollbar-width: thin; } }
@media (max-width: 1023.98px) {
  .col-l, .col-r { position: fixed; inset: 0 0 64px 0; z-index: 80; padding: 16px; background: var(--bg); overflow-y: auto; transform: translateX(-100%); transition: transform 0.22s ease; visibility: hidden; }
  .col-r { transform: translateX(100%); }
  html[data-drawer='left'] .col-l, html[data-drawer='right'] .col-r { transform: none; visibility: visible; }
  .drawer-head { display: flex !important; }
}
@media (min-width: 1024px) and (max-width: 1279.98px) { .col-r { display: none; } }
.drawer-head { display: none; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.drawer-head b { font-size: 1.1rem; }
.box { border-radius: var(--r-l); background: var(--card); border: 1px solid var(--border); overflow: hidden; }
.box-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 14px; border-bottom: 1px solid var(--border); font-weight: 700; font-size: 0.9rem; }
.box-h small { color: var(--text-3); font-weight: 500; }
.box details > summary { list-style: none; cursor: pointer; }
.box details > summary::-webkit-details-marker { display: none; }
.box details > summary::after { content: '▾'; color: var(--text-3); transition: transform 0.2s; }
.box details:not([open]) > summary::after { transform: rotate(-90deg); }
.nav-list { margin: 0; padding: 6px; list-style: none; }
.nav-list a, .nav-list button { display: flex; align-items: center; gap: 9px; width: 100%; min-height: 36px; padding: 6px 8px; border-radius: 7px; border: 0; background: none; text-align: left; color: var(--text); text-decoration: none; font-size: 0.88rem; }
.nav-list a:hover, .nav-list button:hover { background: var(--card-h); }
.nav-list .n { margin-left: auto; min-width: 26px; padding: 1px 7px; border-radius: 999px; background: var(--bg-2); color: var(--text-2); font-family: var(--mono); font-size: 0.75rem; text-align: center; }
.nav-list .n.live { background: rgba(239, 68, 68, 0.15); color: #fca5a5; }
.nav-list .ellip { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crest { width: 20px; height: 20px; border-radius: 4px; object-fit: contain; flex: none; background: transparent; }
.crest-ph { width: 20px; height: 20px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--border); color: var(--text-2); font-size: 0.6rem; font-weight: 700; }
.empty-s { padding: 12px 14px; color: var(--text-3); font-size: 0.85rem; }

/* ---------- center: date bar + controls ---------- */
.col-c { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-content: start; }
.col-l, .col-r { grid-template-columns: minmax(0, 1fr); }
.page-h h1 { font-family: var(--display); font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; letter-spacing: 0.005em; }
.page-h p { margin-top: 4px; color: var(--text-2); font-size: 0.92rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 6px; padding: 0; list-style: none; font-size: 0.82rem; color: var(--text-3); }
.crumbs li + li::before { content: '›'; margin-right: 6px; }
.crumbs a { text-decoration: none; color: var(--text-2); }
.crumbs a:hover { color: var(--accent); }
.dates { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.dates::-webkit-scrollbar { display: none; }
.date { flex: none; min-width: 64px; min-height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--border); background: var(--card); text-decoration: none; color: var(--text-2); font-size: 0.78rem; }
.date b { color: var(--text); font-size: 0.92rem; }
.date:hover { border-color: var(--border-2); }
.date[aria-current='date'] { background: var(--accent); border-color: var(--accent); color: #04130a; }
.date[aria-current='date'] b { color: #04130a; }
.date.pick { position: relative; }
.date.pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tabs { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--card); border: 1px solid var(--border); }
.tab { min-height: 34px; padding: 5px 12px; border: 0; border-radius: 7px; background: none; color: var(--text-2); font-weight: 600; font-size: 0.85rem; display: inline-flex; align-items: center; gap: 6px; }
.tab[aria-pressed='true'] { background: var(--card-h); color: var(--text); box-shadow: inset 0 0 0 1px var(--border-2); }
.tab .n { font-family: var(--mono); font-size: 0.72rem; color: var(--text-3); }
.switch { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 4px 10px; border-radius: 10px; border: 1px solid var(--border); background: var(--card); font-size: 0.85rem; font-weight: 600; color: var(--text-2); }
.switch input { appearance: none; width: 34px; height: 20px; border-radius: 999px; background: var(--border-2); position: relative; transition: background 0.2s; margin: 0; }
.switch input::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform 0.2s; }
.switch input:checked { background: var(--accent); }
.switch input:checked::after { transform: translateX(14px); }
.sel { min-height: 40px; padding: 6px 30px 6px 10px; border-radius: 10px; border: 1px solid var(--border); background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2394a3b8' fill='none' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 10px center; appearance: none; font-size: 0.85rem; font-weight: 600; color: var(--text-2); }
.ml-auto { margin-left: auto; }
.sport-sel { max-width: 160px; }

/* ---------- match list ---------- */
.list { display: grid; gap: 12px; }
.grp { border-radius: var(--r-l); background: var(--card); border: 1px solid var(--border); overflow: hidden; }
.grp-h { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 8px 12px; border: 0; background: var(--bg-2); border-bottom: 1px solid var(--border); text-align: left; }
.grp-h a { text-decoration: none; font-weight: 700; font-size: 0.9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.grp-h a:hover { color: var(--accent); }
.grp-h small { color: var(--text-3); font-size: 0.75rem; white-space: nowrap; }
.grp-h .tog { margin-left: auto; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 7px; border: 0; background: none; color: var(--text-3); transition: transform 0.2s; }
.grp.collapsed .tog { transform: rotate(-90deg); }
.grp.collapsed .rows { display: none; }
.star { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px; border: 0; background: none; color: var(--text-3); font-size: 1.05rem; line-height: 1; }
.star:hover { color: var(--star); background: var(--card-h); }
.star[aria-pressed='true'] { color: var(--star); }
.row { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 64px; padding: 8px 6px 8px 12px; border-bottom: 1px solid var(--border); text-decoration: none; transition: background-color 0.12s; }
.row:last-child { border-bottom: 0; }
.row:hover { background: var(--card-h); }
.r-time { font-family: var(--mono); font-size: 0.85rem; color: var(--text-2); text-align: center; line-height: 1.2; }
.r-time .st { display: block; font-size: 0.7rem; color: var(--text-3); margin-top: 2px; }
.r-live { color: var(--live); font-weight: 700; }
.r-live .st { color: var(--live); }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--live); margin-right: 4px; vertical-align: 1px; }
@media (prefers-reduced-motion: no-preference) { .dot { animation: pulse 1.4s infinite; } @keyframes pulse { 50% { opacity: 0.25; } } }
.r-teams { min-width: 0; display: grid; gap: 4px; }
.team { display: flex; align-items: center; gap: 8px; min-width: 0; }
.team span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.92rem; }
.team b { margin-left: auto; padding-left: 8px; font-family: var(--mono); font-size: 0.95rem; }
.team.win span { font-weight: 700; }
.hide-scores .team b { visibility: hidden; }
.hide-scores .team b::before { content: '–'; visibility: visible; color: var(--text-3); }
.r-side { display: flex; align-items: center; gap: 4px; }
.tvs { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; max-width: 170px; }
.tv { padding: 1px 7px; border-radius: 5px; background: rgba(96, 165, 250, 0.1); color: #93c5fd; font-size: 0.7rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.tv.muted { background: var(--bg-2); color: var(--text-3); }
@media (max-width: 520px) { .tvs { display: none; } .row { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 8px; } }
.note-s { font-size: 0.8rem; color: var(--text-3); }
.empty { padding: 28px 16px; text-align: center; color: var(--text-2); border: 1px dashed var(--border-2); border-radius: var(--r-l); }
/* skeleton (same height as a row: no layout shift) */
.sk-row { height: 64px; border-bottom: 1px solid var(--border); background: linear-gradient(90deg, var(--card) 0%, var(--card-h) 50%, var(--card) 100%); background-size: 200% 100%; }
@media (prefers-reduced-motion: no-preference) { .sk-row { animation: sk 1.2s linear infinite; } @keyframes sk { to { background-position: -200% 0; } } }

/* ---------- right column ---------- */
.up { display: grid; }
.up a { display: grid; grid-template-columns: 46px 1fr; gap: 10px; align-items: center; padding: 9px 12px; border-bottom: 1px solid var(--border); text-decoration: none; font-size: 0.85rem; }
.up a:last-child { border-bottom: 0; }
.up a:hover { background: var(--card-h); }
.up .t { font-family: var(--mono); color: var(--text-2); font-size: 0.75rem; line-height: 1.25; text-align: center; }
.up .m { min-width: 0; }
.up .m b, .up .m span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.up .m span { color: var(--text-3); font-size: 0.75rem; }

/* ---------- editorial content (guides) ---------- */
.prose { border-radius: var(--r-l); background: var(--card); border: 1px solid var(--border); padding: clamp(18px, 3vw, 30px); }
.prose h1 { font-family: var(--display); font-size: clamp(1.9rem, 4.5vw, 2.7rem); font-weight: 800; }
.prose h2 { margin: 30px 0 10px; font-size: 1.3rem; }
.prose h3 { margin: 20px 0 8px; font-size: 1.05rem; }
.prose p, .prose li { color: #cbd5e1; }
.prose p { margin: 10px 0; }
.prose ul, .prose ol { padding-left: 20px; }
.prose a { color: var(--link); }
.prose .eyebrow { color: var(--accent); font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.prose .hero-panel > p { font-size: 1.05rem; color: var(--text-2); margin-top: 10px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 9px 16px; border-radius: 10px; border: 1px solid var(--accent); background: var(--accent); color: #04130a !important; font-weight: 700; text-decoration: none !important; font-size: 0.92rem; }
.btn:hover { background: #4ade80; }
.btn.secondary { background: transparent; color: var(--text) !important; border-color: var(--border-2); }
.btn.secondary:hover { border-color: var(--accent); }
.prose .notice, .prose .editorial-note, .prose .source-note, .prose .table-note { margin: 14px 0; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(34, 197, 94, 0.3); background: rgba(34, 197, 94, 0.06); color: #cbd5e1; font-size: 0.9rem; }
.prose .table-note, .prose .source-note { border-color: var(--border); background: var(--bg-2); }
.broadcast-table-wrap { overflow-x: auto; margin: 14px 0; border: 1px solid var(--border); border-radius: 10px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.prose th, .prose td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose th { background: var(--bg-2); color: var(--text-2); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; }
.prose tr:last-child td { border-bottom: 0; }
.prose .content-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.prose { min-width: 0; overflow-wrap: anywhere; }
.prose table { overflow-wrap: normal; }
.prose .sidebar { display: grid; gap: 12px; align-content: start; }
.prose .sidebar > * { padding: 14px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--border); }
.prose .sidebar h2, .prose .sidebar h3 { margin-top: 0; font-size: 1rem; }
.prose .quick-links, .prose .source-list, .prose .speed-list, .prose .device-list { padding-left: 18px; }
.prose .section { margin-top: 10px; }
.faq details, .prose details { border-bottom: 1px solid var(--border); }
.faq summary, .prose details summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; padding: 14px 2px; font-weight: 600; color: var(--text); }
.faq summary::-webkit-details-marker, .prose details summary::-webkit-details-marker { display: none; }
.faq summary::after, .prose details summary::after { content: '+'; color: var(--accent); font-family: var(--mono); font-size: 1.15rem; line-height: 1; }
.faq details[open] summary::after, .prose details[open] summary::after { content: '−'; }
.faq details p, .prose details p { margin: 0 2px 14px; color: var(--text-2); }
.seo-block { display: grid; gap: 10px; }
.prose .grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); margin: 14px 0; }
.prose .grid .card { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--border); text-decoration: none; color: var(--text); transition: border-color 0.15s, transform 0.15s; }
.prose .grid .card:hover { border-color: var(--accent); transform: translateY(-2px); }
.prose .grid .card h3 { margin: 4px 0 0; font-size: 1rem; }
.prose .grid .card p { margin: 0; font-size: 0.86rem; color: var(--text-2); }
.prose .grid .icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(34, 197, 94, 0.1); color: var(--accent); }
.prose .grid .icon .i { width: 20px; height: 20px; }
.prose .section-head h2 { margin-top: 0; }
@media (min-width: 1024px) { .tz-box { display: none; } }
.seo-block h2 { font-size: 1.15rem; }

/* ---------- match page ---------- */
.mh { border-radius: 18px; border: 1px solid var(--border); padding: 18px; background: radial-gradient(120% 90% at 50% 0%, rgba(34, 197, 94, 0.12), transparent 60%), var(--card); }
.mh-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mh-league { font-weight: 700; text-decoration: none; color: var(--text-2); }
.mh-league:hover { color: var(--accent); }
.mh-h1 { margin-top: 10px; text-align: center; font-family: var(--display); font-size: clamp(1.5rem, 4.5vw, 2.2rem); font-weight: 800; }
.mh-teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; margin: 18px 0 8px; }
.mh-team { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; text-decoration: none; min-width: 0; }
.mh-team b { font-size: clamp(0.95rem, 3vw, 1.2rem); line-height: 1.2; overflow-wrap: anywhere; }
.mh-team small { color: var(--text-3); font-size: 0.75rem; }
.mh-team:hover b { color: var(--accent); }
.mh-crest { width: clamp(52px, 14vw, 76px); height: clamp(52px, 14vw, 76px); object-fit: contain; }
.mh-ph { display: grid; place-items: center; border-radius: 50%; background: var(--border); font-weight: 800; font-size: 1.6rem; color: var(--text-2); }
.mh-mid { text-align: center; min-width: 96px; }
.mh-score { font-family: var(--mono); font-size: clamp(1.9rem, 7vw, 2.8rem); font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.mh-st { color: var(--text-2); font-size: 0.82rem; }
.mh-live { color: var(--live); font-weight: 700; font-family: var(--mono); }
.mh-cd { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 14px; padding: 12px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--border); }
.mh-cd > span { color: var(--text-2); font-size: 0.85rem; font-weight: 600; margin-right: 4px; }
.mh-cd div { min-width: 54px; text-align: center; }
.mh-cd b { display: block; font-family: var(--mono); font-size: 1.4rem; color: var(--accent); }
.mh-cd small { color: var(--text-3); font-size: 0.7rem; }
.mh-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.mh-meta li { padding: 10px 12px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--border); font-size: 0.88rem; }
.mh-meta span { display: block; color: var(--text-3); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; }
.pad { padding: 16px 18px; }
.box.pad h2 { font-size: 1.1rem; margin-bottom: 12px; }
.tv-list { margin: 0 0 12px; padding: 0; list-style: none; display: grid; gap: 6px; }
.tv-list li { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 12px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--border); }
.tv-list li span { color: var(--text-2); font-size: 0.85rem; }
.tv-list li b { color: #93c5fd; font-size: 0.9rem; }
.tv-list li.is-mine { border-color: rgba(34, 197, 94, 0.5); background: rgba(34, 197, 94, 0.06); }
.muted-s { color: var(--text-3); font-size: 0.85rem; }
.notice-s { margin-top: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(34, 197, 94, 0.3); background: rgba(34, 197, 94, 0.06); color: #cbd5e1; font-size: 0.84rem; }
.zones { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px; margin: 0 0 10px; padding: 0; list-style: none; }
.zones li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--border); font-size: 0.88rem; }
.zones abbr { display: inline-block; min-width: 26px; margin-right: 6px; padding: 0 4px; border-radius: 4px; background: var(--border); color: var(--text-2); font-size: 0.68rem; font-weight: 700; text-align: center; text-decoration: none; }
.zones b { font-family: var(--mono); font-size: 0.85rem; white-space: nowrap; }
.more { display: grid; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.mm { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 46px; padding: 8px 12px; border-bottom: 1px solid var(--border); text-decoration: none; font-size: 0.9rem; }
.mm:last-child { border-bottom: 0; }
.mm:hover { background: var(--card-h); }
.mm-t { font-family: var(--mono); color: var(--text-2); font-size: 0.82rem; }
.mm-n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mm b { font-family: var(--mono); }

/* match page v2.1 */
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-family: var(--mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; }
.pill-live { background: rgba(239, 68, 68, 0.16); color: #fca5a5; }
.pill-ft { background: var(--bg-2); color: var(--text-2); border: 1px solid var(--border); }
.pill-ns { background: rgba(34, 197, 94, 0.12); color: #86efac; }
.mh-tools { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; }
.switch-sm { min-height: 34px; padding: 2px 8px; font-size: 0.78rem; }
.mh-h1 span { display: block; margin-top: 4px; font-family: var(--font); font-size: 0.9rem; font-weight: 600; color: var(--text-2); letter-spacing: 0; }
.mh-when { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 12px; margin: 6px 0 0; color: var(--text-2); font-size: 0.88rem; }
.mh-utc { font-family: var(--mono); color: var(--text-3); font-size: 0.8rem; }
.hide-scores .mh-score.is-score { filter: blur(9px); user-select: none; }
.tv-sub { margin: 4px 0 8px; font-size: 0.82rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.05em; }
.tv-sub a { color: var(--text); text-decoration: none; text-transform: none; letter-spacing: 0; font-size: 1rem; }
.tv-sub a:hover { color: var(--accent); }
.tv-table { width: 100%; border-collapse: collapse; margin-bottom: 12px; font-size: 0.9rem; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.tv-table th, .tv-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.tv-table tr:last-child th, .tv-table tr:last-child td { border-bottom: 0; }
.tv-table th { width: 38%; color: var(--text-2); font-weight: 600; background: var(--bg-2); }
.tv-table td { color: #93c5fd; font-weight: 600; }
.tv-table tr.is-mine th { color: var(--accent); }
.info { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 8px; margin: 0; }
.info div { padding: 10px 12px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--border); min-width: 0; }
.info dt { color: var(--text-3); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; }
.info dd { margin: 2px 0 0; font-size: 0.92rem; font-weight: 600; overflow-wrap: anywhere; }
.info a { color: var(--link); text-decoration: none; }
.info a:hover { text-decoration: underline; }
.form-cols { display: grid; gap: 14px; }
@media (min-width: 720px) { .form-cols { grid-template-columns: 1fr 1fr; } }
.res { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-left: 6px; border-radius: 6px; font-family: var(--mono); font-size: 0.72rem; font-weight: 700; }
.res-w { background: rgba(34, 197, 94, 0.18); color: #86efac; }
.res-l { background: rgba(239, 68, 68, 0.16); color: #fca5a5; }
.res-d { background: var(--border); color: var(--text-2); }
.mm { grid-template-columns: 56px minmax(0, 1fr) auto auto; }

/* ---------- footer ---------- */
.ftr { border-top: 1px solid var(--border); background: #070a0e; padding: 36px 0 calc(90px + env(safe-area-inset-bottom)); color: var(--text-2); font-size: 0.88rem; }
@media (min-width: 1024px) { .ftr { padding-bottom: 32px; } }
.ftr-grid { display: grid; gap: 24px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .ftr-grid { grid-template-columns: 1.4fr repeat(4, 1fr); } }
.ftr h2 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-3); margin-bottom: 8px; }
.ftr ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.ftr a { text-decoration: none; color: #cbd5e1; }
.ftr a:hover { color: var(--accent); }
.ftr-legal { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--border); font-size: 0.8rem; color: var(--text-3); }
.ftr-about { grid-column: 1 / -1; }
@media (min-width: 900px) { .ftr-about { grid-column: auto; } }

/* ---------- mobile bottom nav ---------- */
.bnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: repeat(4, 1fr); padding-bottom: env(safe-area-inset-bottom); background: rgba(10, 13, 18, 0.97); border-top: 1px solid var(--border); }
.bnav a, .bnav button { min-height: 60px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; background: none; color: var(--text-3); font-size: 0.7rem; font-weight: 600; text-decoration: none; }
.bnav .i { width: 22px; height: 22px; }
.bnav [aria-current], .bnav [aria-pressed='true'] { color: var(--accent); }
@media (min-width: 1024px) { .bnav { display: none; } }
.scrim { position: fixed; inset: 0; z-index: 79; background: rgba(0, 0, 0, 0.5); }
