:root {
  --navy: #121b2e;
  --navy-2: #1a2740;
  --ink: #162033;
  --muted: #778198;
  --line: #e4e8f0;
  --page: #f5f7fb;
  --card: #ffffff;
  --violet: #6d5dfc;
  --violet-soft: #efedff;
  --mint: #19b98c;
  --orange: #f39a45;
  --shadow: 0 18px 45px rgba(30, 45, 80, .08);
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--ink);
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--page); font-size: 13px; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.topbar { height: 68px; padding: 0 30px; display: flex; align-items: center; justify-content: space-between; color: white; background: var(--navy); box-shadow: 0 5px 24px rgba(15, 24, 44, .22); position: sticky; top: 0; z-index: 20; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: white; text-decoration: none; font-size: 17px; font-weight: 500; letter-spacing: -.25px; }
.brand strong { font-weight: 800; }
.brand-mark { width: 30px; height: 30px; padding: 7px; display: flex; gap: 3px; align-items: end; border-radius: 9px; background: linear-gradient(145deg, #7869ff, #5546e6); box-shadow: 0 6px 15px rgba(109,93,252,.35); }
.brand-mark i { display: block; width: 4px; border-radius: 3px; background: white; }
.brand-mark i:nth-child(1) { height: 8px; opacity: .65; }.brand-mark i:nth-child(2) { height: 15px; }.brand-mark i:nth-child(3) { height: 11px; opacity: .82; }
.top-actions, .connection { display: flex; align-items: center; gap: 10px; }
.connection { color: #aeb7c9; font-size: 12px; }.connection i { width: 7px; height: 7px; border-radius: 50%; background: #f2b94b; box-shadow: 0 0 0 4px rgba(242,185,75,.1); }.connection.online i { background: #2bd3a3; box-shadow: 0 0 0 4px rgba(43,211,163,.1); }.connection.offline i { background: #f0636c; }
.icon-button { width: 36px; height: 36px; border: 1px solid #2f3b51; border-radius: 9px; display: grid; place-items: center; color: #bdc5d4; background: #1a2539; }.icon-button:hover { color: white; border-color: #46546c; }.icon-button.loading svg { animation: rotate .8s linear infinite; }.icon-button svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@keyframes rotate { to { transform: rotate(360deg); } }
.app-shell { max-width: 1600px; margin: auto; display: grid; grid-template-columns: 235px minmax(0, 1fr); gap: 24px; padding: 24px; }
.sidebar { position: sticky; top: 92px; height: calc(100vh - 116px); min-height: 520px; display: flex; flex-direction: column; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.side-heading { padding: 22px 20px 10px; color: #a0a8b8; text-transform: uppercase; font-size: 10px; font-weight: 800; letter-spacing: 1.4px; }
#sports { padding: 0 10px 12px; }
.sport-button { width: 100%; min-height: 45px; padding: 0 12px; display: flex; align-items: center; gap: 11px; border: 0; border-radius: 9px; color: #59647a; background: transparent; font-weight: 600; text-align: left; transition: .16s; }
.sport-button:hover { background: #f6f7fb; color: var(--ink); }.sport-button.active { color: var(--violet); background: var(--violet-soft); }.sport-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }.sport-button .count { margin-left: auto; color: #aab1c0; font-size: 10px; }
.catalog { overflow-y: auto; border-top: 1px solid var(--line); }
.catalog-title { padding: 15px 20px 8px; color: #a0a8b8; text-transform: uppercase; font-size: 9px; font-weight: 800; letter-spacing: 1.2px; }
.region { width: 100%; padding: 8px 20px; border: 0; display: flex; justify-content: space-between; color: #667086; background: transparent; font-size: 11px; text-align: left; }.region:hover, .region.active { color: var(--violet); background: #faf9ff; }.region span { color: #b3b9c5; }
.side-foot { margin-top: auto; min-height: 66px; padding: 15px 18px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }.side-foot strong, .side-foot small { display: block; }.side-foot strong { font-size: 11px; }.side-foot small { margin-top: 2px; color: #9aa3b4; font-size: 9px; }.live-pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(25,185,140,.1); }
.side-foot.cached .live-pulse { background: #f2b94b; box-shadow: 0 0 0 5px rgba(242,185,75,.12); }
.side-foot.offline .live-pulse { background: #f0636c; box-shadow: 0 0 0 5px rgba(240,99,108,.12); }
.side-foot.cached strong { color: #a46b05; }.side-foot.offline strong { color: #c33f49; }
.main { min-width: 0; }.hero { min-height: 110px; padding: 15px 7px 21px; display: flex; align-items: center; justify-content: space-between; }.eyebrow { margin-bottom: 6px; color: var(--violet); text-transform: uppercase; font-size: 10px; font-weight: 800; letter-spacing: 1.5px; }.hero h1 { margin: 0; font-size: 30px; letter-spacing: -1.2px; }.hero p { margin: 8px 0 0; color: var(--muted); }.hero-stat { min-width: 120px; padding: 14px 18px; border-left: 1px solid var(--line); }.hero-stat strong, .hero-stat span { display: block; }.hero-stat strong { font-size: 25px; }.hero-stat span { color: var(--muted); font-size: 10px; }
.filters { min-height: 67px; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 15px; background: var(--card); border: 1px solid var(--line); border-radius: 13px 13px 0 0; }.date-presets { display: flex; gap: 3px; }.date-presets button { padding: 9px 12px; border: 0; border-radius: 8px; color: #727d91; background: transparent; font-size: 11px; font-weight: 700; }.date-presets button:hover { color: var(--ink); background: #f6f7fa; }.date-presets button.active { color: var(--violet); background: var(--violet-soft); }
.filter-actions { display: flex; gap: 8px; }.search { width: 235px; height: 38px; padding: 0 11px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 9px; background: #fbfcfe; }.search:focus-within { border-color: #aa9fff; box-shadow: 0 0 0 3px var(--violet-soft); }.search svg { width: 15px; fill: none; stroke: #9ba3b2; stroke-width: 1.8; }.search input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 11px; }.select-wrap select { height: 38px; padding: 0 30px 0 11px; border: 1px solid var(--line); border-radius: 9px; outline: 0; color: #657086; background: #fbfcfe; font-size: 11px; }
.start-filter { background: #f1f3f6; border-inline: 1px solid var(--line); }.start-filter-summary { width: 100%; padding: 8px 15px; border: 0; border-bottom: 1px solid var(--line); color: #717b8d; background: linear-gradient(#f8f9fb,#eceff3); font-size: 11px; text-align: center; }.start-filter-summary::before,.start-filter-summary::after { content: ""; display: inline-block; margin: 0 12px 2px; border: 4px solid transparent; border-top-color: #9aa3af; }.start-filter-summary strong { color: var(--ink); }.start-filter-open { padding: 10px 14px 13px; border-bottom: 1px solid var(--line); }.start-filter-title { margin-bottom: 8px; color: var(--ink); font-size: 11px; font-weight: 800; }.start-timeline { position: relative; padding-bottom: 15px; user-select: none; }.start-labels { display: flex; }.start-labels span { flex: 1; padding-bottom: 5px; color: #697386; font-size: 9px; text-align: center; }.start-labels .today { color: var(--ink); font-weight: 800; }.start-track { position: relative; height: 23px; border-radius: 3px; background: #565d67; }.start-track > i { position: absolute; inset-block: 0; width: 1px; background: rgba(255,255,255,.16); }.start-range { position: absolute; inset-block: 0; background: var(--violet); }.start-handle { position: absolute; top: 50%; width: 16px; height: 22px; padding: 0; transform: translate(-50%,-50%); border: 1px solid #b7c0cb; border-radius: 3px; background: repeating-linear-gradient(90deg,#fff 0 5px,#cfd5dc 5px 7px,#fff 7px 9px); box-shadow: 0 1px 3px rgba(0,0,0,.35); cursor: ew-resize; }.start-now { position: absolute; top: 48px; transform: translateX(-50%); color: var(--muted); font-size: 9px; }.start-now::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 2px; height: 6px; background: #2a2f37; }
.content { min-height: 350px; overflow: hidden; background: white; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 13px 13px; box-shadow: var(--shadow); }.day-heading { padding: 17px 20px 10px; display: flex; align-items: center; gap: 9px; color: var(--ink); font-size: 13px; font-weight: 800; }.day-heading span { padding: 3px 7px; border-radius: 10px; color: var(--violet); background: var(--violet-soft); font-size: 9px; }
.schedule { width: 100%; border-collapse: collapse; table-layout: fixed; }.schedule th { padding: 9px 14px; border-block: 1px solid #eef0f5; color: #a2a9b7; background: #fafbfc; text-transform: uppercase; font-size: 8px; letter-spacing: .8px; text-align: left; }.schedule td { padding: 13px 14px; border-bottom: 1px solid #f0f2f6; vertical-align: middle; }.schedule tr:last-child td { border-bottom: 0; }.schedule tbody tr { transition: .12s; }.schedule tbody tr:hover td { background: #fbfbfe; }.schedule th:nth-child(1) { width: 8%; }.schedule th:nth-child(2) { width: 20%; }.schedule th:nth-child(3) { width: 34%; }.schedule th:nth-child(4) { width: 12%; }.schedule th:nth-child(5) { width: 14%; }.schedule th:nth-child(6) { width: 12%; }
.schedule th:nth-child(4),.schedule th:nth-child(5),.schedule th:nth-child(6) { font-size: 10px; letter-spacing: .65px; }
.event-time { font-weight: 700; font-variant-numeric: tabular-nums; }.competition { color: #69748a; font-size: 11px; }.teams { display: flex; align-items: center; gap: 8px; font-weight: 700; }.teams .versus { color: #b2b8c5; font-size: 9px; font-weight: 600; }.viewer { padding: 0; border: 0; color: #f29a22; background: transparent; font-size: 10px; font-weight: 700; text-decoration: none; }.viewer:hover { color: #d77e05; text-decoration: underline; }.no-feed { color: #c3c7d0; }.badge { display: inline-block; margin: 1px 3px 1px 0; padding: 4px 7px; border-radius: 6px; font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .3px; }.badge.official { color: #556071; background: #eef1f5; }.badge.exclusive { color: #6a58ea; background: var(--violet-soft); }.meta { color: #8490a4; font-size: 10px; }
.state { min-height: 350px; display: grid; place-items: center; color: var(--muted); text-align: center; }.state-inner { max-width: 330px; padding: 35px; }.state-icon { width: 48px; height: 48px; margin: 0 auto 13px; display: grid; place-items: center; border-radius: 14px; color: var(--violet); background: var(--violet-soft); font-size: 21px; }.state h3 { margin: 0 0 7px; color: var(--ink); }.state p { margin: 0; line-height: 1.6; font-size: 11px; }.skeleton { height: 12px; border-radius: 5px; background: linear-gradient(90deg,#f0f2f6 25%,#fafbfc 45%,#f0f2f6 70%); background-size: 220% 100%; animation: shimmer 1.2s infinite; }@keyframes shimmer { to { background-position: -220% 0; } }
.toast { position: fixed; right: 22px; bottom: 22px; padding: 11px 15px; border-radius: 9px; color: white; background: var(--navy); box-shadow: 0 12px 30px rgba(10,20,40,.22); font-size: 11px; opacity: 0; transform: translateY(10px); pointer-events: none; transition: .2s; z-index: 40; }.toast.show { opacity: 1; transform: none; }
.match-dialog { width: min(600px, calc(100% - 30px)); padding: 0; border: 0; border-radius: 16px; color: var(--ink); box-shadow: 0 30px 80px rgba(11,20,40,.32); }.match-dialog::backdrop { background: rgba(14,22,38,.65); backdrop-filter: blur(4px); }.dialog-close { position: absolute; right: 13px; top: 11px; width: 30px; height: 30px; border: 0; border-radius: 8px; color: #8c96a8; background: #f1f3f7; font-size: 20px; }.dialog-hero { padding: 32px 28px 25px; color: white; background: linear-gradient(135deg,var(--navy),#28395c); }.dialog-kicker { color: #aab5ca; font-size: 10px; text-transform: uppercase; letter-spacing: 1px; }.dialog-teams { margin-top: 19px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 17px; text-align: center; font-size: 15px; font-weight: 800; }.dialog-score { color: #c6bfff; font-size: 26px; }.dialog-body { padding: 22px 28px 28px; }.dialog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }.dialog-data { padding: 12px; border-radius: 9px; background: #f6f7fa; }.dialog-data small,.dialog-data strong { display: block; }.dialog-data small { color: #9ba4b4; font-size: 8px; text-transform: uppercase; letter-spacing: .6px; }.dialog-data strong { margin-top: 5px; font-size: 11px; }
@media (max-width: 900px) { .app-shell { grid-template-columns: 1fr; padding: 14px; }.sidebar { position: static; height: auto; min-height: 0; }.side-heading,.catalog,.side-foot { display: none; } #sports { padding: 8px; display: flex; overflow-x: auto; }.sport-button { min-width: max-content; width: auto; }.hero { padding-inline: 4px; }.filters { align-items: stretch; flex-direction: column; }.filter-actions,.search { width: 100%; }.search { flex: 1; }.schedule th:nth-child(2),.schedule td:nth-child(2),.schedule th:nth-child(5),.schedule td:nth-child(5),.schedule th:nth-child(6),.schedule td:nth-child(6) { display:none; }.schedule th:nth-child(1){width:18%}.schedule th:nth-child(3){width:52%}.schedule th:nth-child(4){width:30%} }
@media (max-width: 560px) { .topbar { height: 60px; padding: 0 15px; }.connection { display:none; }.app-shell { padding: 9px; }.hero { min-height: 95px; }.hero h1 { font-size: 25px; }.hero p { font-size: 11px; }.hero-stat { min-width: 85px; padding-right: 0; }.date-presets { overflow-x: auto; }.date-presets button { white-space: nowrap; }.filter-actions { flex-direction: column; }.select-wrap select { width: 100%; }.start-filter-open { overflow-x: auto; }.start-timeline { min-width: 650px; }.schedule td { padding: 12px 9px; }.schedule th { padding-inline: 9px; }.teams { display: block; }.teams .versus { padding: 0 4px; }.dialog-grid { grid-template-columns: 1fr 1fr; } }
