:root {
    --bg: #f0f2f7; --surface: #ffffff; --text: #111827; --muted: #6b7280; --border: rgba(0, 0, 0, .09);
    --accent: #2563eb; --accent-soft: rgba(37, 99, 235, .1); --radius: 14px;
}
@media (prefers-color-scheme: dark) {
    :root { --bg: #13161e; --surface: #1a1e2a; --text: #eef0f6; --muted: #8b93ad; --border: rgba(255, 255, 255, .09); --accent: #3d7eff; --accent-soft: rgba(61, 126, 255, .14); }
}
* { box-sizing: border-box; }
body { min-height: 100vh; display: flex; flex-direction: column; margin: 0; font-family: 'Montserrat', system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.5; }
.site-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.site-header { background: var(--surface); border-bottom: 1px solid var(--border); }
.site-header-inner { display: flex; align-items: center; gap: 18px; padding-top: 22px; padding-bottom: 22px; }
.site-logo { height: 64px; width: auto; }
.site-club { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.site-header h1 { margin: 2px 0 0; font-size: 26px; font-weight: 800; }

main.site-wrap { flex: 1 0 auto; width: 100%; padding-top: 28px; padding-bottom: 40px; }
.site-year-nav { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; position: sticky; top: 0; background: var(--bg); padding: 10px 0; z-index: 5; }
.site-year-nav a { padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--text); font-size: 13px; font-weight: 600; text-decoration: none; }
.site-year-nav a:hover { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); }
.site-year { margin-bottom: 30px; scroll-margin-top: 64px; }
.site-year h2 { margin: 0 0 12px; font-size: 18px; font-weight: 700; color: var(--muted); }
.site-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 20px; margin-bottom: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.site-card-title { font-size: 17px; font-weight: 700; }
.site-card-meta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 2px; font-size: 14px; color: var(--muted); }
.site-card-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.site-btn { display: inline-block; padding: 10px 18px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; border: 1px solid var(--accent); }
.site-btn:hover { opacity: .9; }
.site-btn-ghost { background: transparent; color: var(--accent); }
.site-btn-ghost:hover { background: var(--accent-soft); opacity: 1; }
.site-empty { padding: 36px 20px; text-align: center; background: var(--surface); border: 1px dashed var(--border); border-radius: var(--radius); color: var(--muted); }

.site-note { margin: 24px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.site-footer { padding: 22px 0 28px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--border); }
.site-footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 8px 20px; flex-wrap: wrap; }
.site-footer-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.site-footer-sep { opacity: .6; }
.site-note a, .site-footer a { color: inherit; text-decoration: none; font-weight: 600; }
.site-note a:hover, .site-footer a:hover { color: var(--accent); text-decoration: underline; }
.site-heart { color: #ef4444; }
@media (max-width: 560px) { .site-card-actions { width: 100%; } .site-btn { flex: 1; text-align: center; } }

.site-card-title { overflow-wrap: anywhere; }
@media (max-width: 575.98px) {
  .site-header-inner { gap: 12px; padding-top: 14px; padding-bottom: 14px; }
  .site-logo { height: 44px; }
  .site-header h1 { font-size: 21px; }
  .site-year-nav { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; }
  .site-year-nav a { flex-shrink: 0; }
}

.site-live [hidden] { display: none !important; }
.site-live-today { margin-bottom: 30px; }
.site-live-today h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 18px; font-weight: 700; color: var(--text); }
.site-card-live { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.site-live-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 0 rgba(239, 68, 68, .6); animation: site-live-puls 1.8s infinite; flex-shrink: 0; }
@keyframes site-live-puls { 0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, .55); } 70% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); } 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); } }
@media (prefers-reduced-motion: reduce) { .site-live-dot { animation: none; } }

.site-live-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px 20px; flex-wrap: wrap; margin-bottom: 14px; }
.site-live-status { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.site-live-nav { display: flex; gap: 8px; flex-wrap: wrap; position: sticky; top: 0; z-index: 5; padding: 10px 0; margin-bottom: 8px; background: var(--bg); }
.site-live-nav a { padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--text); font-size: 13px; font-weight: 700; text-decoration: none; }
.site-live-nav a:hover { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); }
.site-live-konk { margin-bottom: 18px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); scroll-margin-top: 64px; }
.site-live-konk h2 { margin: 0 0 10px; font-size: 16px; font-weight: 700; overflow-wrap: anywhere; }
.site-live-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.site-live-table th { padding: 6px 8px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); text-align: left; border-bottom: 1px solid var(--border); }
.site-live-table td { padding: 8px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.site-live-table tbody tr:last-child td { border-bottom: 0; }
.site-live-table .site-live-num { width: 1%; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.site-live-pkt { font-weight: 800; }
.site-live-m { width: 1%; white-space: nowrap; }
.site-live-m span { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 999px; background: var(--bg); font-size: 13px; font-weight: 700; }
.site-live-podium-1 .site-live-m span { background: #f5c542; color: #3b2f00; }
.site-live-podium-2 .site-live-m span { background: #cfd5df; color: #1f2937; }
.site-live-podium-3 .site-live-m span { background: #e0a46e; color: #3b1d00; }
.site-live-zaw { font-weight: 700; }
.site-live-klub { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.site-live-back { margin-top: 14px; }
@media (max-width: 575.98px) {
  .site-live-nav { flex-wrap: nowrap; overflow-x: auto; }
  .site-live-nav a { flex-shrink: 0; }
  .site-live-konk { padding: 12px; }
  .site-live-table td, .site-live-table th { padding: 7px 5px; }
}
