:root {
  --bg: #050b11;
  --bg-soft: #071018;
  --panel: rgba(12, 24, 34, 0.86);
  --panel-solid: #0c1822;
  --panel-2: #101e2a;
  --text: #f5f8fb;
  --muted: #8ea0af;
  --muted-2: #647685;
  --line: rgba(158, 185, 202, 0.14);
  --line-strong: rgba(184, 255, 61, 0.24);
  --accent: #b8ff3d;
  --accent-strong: #8de600;
  --cyan: #24d7ff;
  --violet: #7658ff;
  --danger: #ff5d70;
  --warning: #ffb84d;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.36);
  --page: min(1460px, calc(100% - 40px));
  --header-height: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(36, 215, 255, .08), transparent 30%),
    radial-gradient(circle at 94% 12%, rgba(118, 88, 255, .10), transparent 26%),
    linear-gradient(180deg, #071018 0%, var(--bg) 46%, #05090e 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input, select { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid rgba(36, 215, 255, .45); outline-offset: 3px; }
button, a { -webkit-tap-highlight-color: transparent; }
svg { display: block; }

body.reduce-motion *, body.reduce-motion *::before, body.reduce-motion *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }

.ambient { position: fixed; width: 480px; height: 480px; filter: blur(110px); opacity: .12; border-radius: 50%; pointer-events: none; z-index: -1; }
.ambient-one { top: 18%; left: -260px; background: var(--cyan); }
.ambient-two { top: 62%; right: -270px; background: var(--violet); }

.page-shell { width: var(--page); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-height);
  padding: 0 max(20px, calc((100vw - 1460px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(5, 11, 17, .76);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; color: var(--accent); border-radius: 13px; background: linear-gradient(145deg, rgba(184,255,61,.14), rgba(36,215,255,.06)); border: 1px solid rgba(184,255,61,.2); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 10px 30px rgba(0,0,0,.2); }
.brand-mark svg { width: 28px; height: 28px; }
.brand-mark.small { width: 36px; height: 36px; }
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong, .footer-brand strong { font-size: 18px; letter-spacing: -.03em; }
.brand-copy small, .footer-brand small { font-size: 9px; color: var(--muted); letter-spacing: .18em; font-weight: 800; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-button, .profile-button, .view-button, .scroll-arrow {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
  cursor: pointer;
  transition: .2s ease;
}
.icon-button { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; position: relative; }
.icon-button:hover, .profile-button:hover, .view-button:hover { border-color: rgba(184,255,61,.28); background: rgba(184,255,61,.07); transform: translateY(-1px); }
.icon-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.profile-button { width: 42px; height: 42px; border-radius: 50%; padding: 3px; }
.profile-button span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: inherit; color: #08100b; font-size: 12px; font-weight: 900; background: linear-gradient(135deg, var(--accent), var(--cyan)); }
.notification-dot { position: absolute; top: 8px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--danger); box-shadow: 0 0 0 3px var(--bg-soft); }

.ticker { height: 42px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 0 max(20px, calc((100vw - 1460px) / 2)); border-bottom: 1px solid var(--line); background: rgba(6, 14, 21, .7); overflow: hidden; }
.ticker-label { display: flex; align-items: center; gap: 8px; color: var(--text); font-size: 10px; font-weight: 900; letter-spacing: .14em; white-space: nowrap; }
.live-dot { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: var(--danger); box-shadow: 0 0 0 4px rgba(255,93,112,.1); animation: pulse 1.4s infinite; }
.ticker-viewport { overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent); }
.ticker-track { width: max-content; display: flex; gap: 44px; animation: ticker 34s linear infinite; }
.ticker-item { color: var(--muted); font-size: 12px; white-space: nowrap; }
.ticker-item strong { color: var(--text); margin-right: 8px; }
.ticker-item b { color: var(--accent); }
.clock { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

.hero-shell { padding-top: 30px; display: grid; grid-template-columns: minmax(0, 1fr) 365px; gap: 20px; }
.hero, .hero-side-panel, .app-promo { border: 1px solid var(--line); box-shadow: var(--shadow); }
.hero { position: relative; min-height: 470px; overflow: hidden; border-radius: var(--radius-xl); display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; background:
  radial-gradient(circle at 76% 20%, rgba(184,255,61,.15), transparent 28%),
  radial-gradient(circle at 20% 0%, rgba(36,215,255,.12), transparent 35%),
  linear-gradient(125deg, #0b1721 4%, #0a141d 45%, #111f28 100%);
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,11,17,.12), transparent 62%), repeating-linear-gradient(135deg, transparent 0 22px, rgba(255,255,255,.012) 22px 23px); pointer-events: none; }
.hero::after { content: ""; position: absolute; width: 330px; height: 330px; right: 5%; top: 2%; border: 1px solid rgba(184,255,61,.11); border-radius: 50%; box-shadow: 0 0 0 55px rgba(36,215,255,.025), 0 0 0 110px rgba(118,88,255,.018); }
.hero-grid-overlay { position: absolute; inset: 0; opacity: .2; background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 46px 46px; mask-image: linear-gradient(90deg, black, transparent 80%); }
.hero-content { position: relative; z-index: 2; padding: 46px; align-self: center; }
.eyebrow-row, .hero-meta, .hero-actions { display: flex; align-items: center; flex-wrap: wrap; }
.eyebrow-row { gap: 12px; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 10px; border-radius: 999px; font-size: 9px; letter-spacing: .14em; font-weight: 900; }
.status-pill.live { color: #ffdbe0; background: rgba(255,93,112,.12); border: 1px solid rgba(255,93,112,.22); }
.status-pill.live span { width: 6px; height: 6px; border-radius: 50%; background: var(--danger); }
.competition { font-size: 12px; color: var(--muted); }
.hero-kicker, .panel-kicker, .section-kicker { display: block; color: var(--accent); font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.hero-kicker { margin: 30px 0 8px; }
.hero h1 { margin: 0; font-size: clamp(42px, 5.2vw, 78px); line-height: .92; letter-spacing: -.065em; max-width: 700px; }
.hero h1 span { color: var(--muted-2); font-weight: 400; font-size: .48em; vertical-align: .23em; margin: 0 .1em; }
.hero-meta { gap: 10px; margin-top: 22px; color: var(--muted); font-size: 13px; }
.meta-separator { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-2); }
.hero-description { max-width: 570px; color: #a9b6c1; line-height: 1.65; margin: 18px 0 26px; }
.hero-actions { gap: 12px; }
.primary-button, .secondary-button, .filter-button, .load-more, .danger-button, .text-button {
  border: 0;
  cursor: pointer;
  transition: .2s ease;
}
.primary-button { min-height: 46px; padding: 0 18px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; color: #071008; background: linear-gradient(135deg, var(--accent), #d8ff83); font-size: 13px; font-weight: 900; box-shadow: 0 13px 34px rgba(141,230,0,.16); }
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(141,230,0,.24); }
.secondary-button { min-height: 46px; padding: 0 17px; border-radius: 13px; color: var(--text); background: rgba(255,255,255,.05); border: 1px solid var(--line); font-size: 13px; font-weight: 800; }
.secondary-button:hover { border-color: rgba(36,215,255,.28); background: rgba(36,215,255,.07); }
.small-button { min-height: 38px; padding-inline: 14px; font-size: 11px; }
.play-icon { font-size: 11px; }

.hero-scoreboard { position: relative; z-index: 2; align-self: end; margin: 0 30px 30px 0; padding: 28px 22px; border-radius: 22px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; background: rgba(5,11,17,.62); border: 1px solid rgba(255,255,255,.09); backdrop-filter: blur(18px); box-shadow: 0 22px 70px rgba(0,0,0,.28); }
.hero-team { display: grid; place-items: center; gap: 9px; text-align: center; }
.hero-team strong { font-size: 11px; }
.team-crest { width: 58px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; color: white; font-size: 12px; font-weight: 950; letter-spacing: .04em; border: 4px solid rgba(255,255,255,.12); box-shadow: inset 0 0 20px rgba(255,255,255,.1), 0 10px 24px rgba(0,0,0,.25); }
.crest-arg { background: linear-gradient(180deg, #73c7ff 0 36%, white 36% 64%, #73c7ff 64%); color: #111; }
.crest-bra { background: radial-gradient(circle, #1547a0 0 34%, #f4dc39 35% 64%, #1f8e4f 65%); }
.score-block { text-align: center; }
.score { font-size: 32px; font-weight: 900; letter-spacing: -.04em; white-space: nowrap; }
.score span { color: var(--muted-2); margin: 0 5px; }
.score-state { display: block; margin-top: 6px; font-size: 8px; letter-spacing: .14em; color: var(--danger); font-weight: 900; }

.hero-side-panel { border-radius: var(--radius-xl); padding: 24px; background: linear-gradient(160deg, rgba(15,29,40,.96), rgba(8,17,25,.96)); }
.side-panel-head, .section-heading-row, .results-head, .drawer-head, .drawer-section-title { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.side-panel-head h2, .section-heading-row h2, .results-head h2, .drawer-head h2, .app-promo h2 { margin: 5px 0 0; letter-spacing: -.04em; }
.side-panel-head h2 { font-size: 22px; }
.trend-flame { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: var(--accent); background: rgba(184,255,61,.08); border: 1px solid rgba(184,255,61,.15); font-size: 19px; }
.trending-list { margin-top: 20px; display: grid; gap: 8px; }
.trending-item { width: 100%; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 11px; padding: 11px; border-radius: 14px; border: 1px solid transparent; color: inherit; background: transparent; text-align: left; cursor: pointer; transition: .2s ease; }
.trending-item:hover { background: rgba(255,255,255,.035); border-color: var(--line); }
.trending-rank { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; color: var(--muted); background: rgba(255,255,255,.04); font-size: 10px; font-weight: 900; }
.trending-copy { min-width: 0; }
.trending-copy strong, .trending-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trending-copy strong { font-size: 12px; }
.trending-copy span { margin-top: 3px; color: var(--muted); font-size: 10px; }
.trending-viewers { color: var(--accent); font-size: 10px; font-weight: 900; }

.ad-slot { position: relative; overflow: hidden; display: grid; place-items: center; text-align: center; border: 1px dashed rgba(142,160,175,.24); background: repeating-linear-gradient(135deg, rgba(255,255,255,.014) 0 10px, transparent 10px 20px), rgba(255,255,255,.018); color: var(--muted); }
.ad-slot::before { content: ""; position: absolute; width: 120px; height: 120px; border-radius: 50%; background: rgba(184,255,61,.08); filter: blur(38px); }
.ad-slot > * { position: relative; }
.ad-slot span { font-size: 8px; font-weight: 900; letter-spacing: .15em; color: var(--muted-2); }
.ad-slot strong { display: block; margin-top: 5px; color: #b9c5ce; font-size: 12px; }
.ad-slot small { display: block; margin-top: 3px; font-size: 9px; color: var(--muted-2); }
.ad-slot-compact { min-height: 94px; margin-top: 18px; border-radius: 14px; }
.ad-slot-wide { min-height: 92px; margin-bottom: 22px; border-radius: 16px; }
.ad-slot-dialog { min-height: 160px; margin-top: 24px; border-radius: 14px; }

.control-zone { padding-top: 62px; }
.section-heading-row h2, .results-head h2 { font-size: clamp(24px, 3vw, 34px); }
.view-switch { display: inline-flex; gap: 5px; padding: 4px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.025); }
.view-button { width: 38px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 9px; color: var(--muted); }
.view-button.active { color: #071008; background: var(--accent); }
.view-button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; }

.sports-filter-wrap { position: relative; margin-top: 26px; }
.sports-filter { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; padding: 2px; }
.sports-filter::-webkit-scrollbar { display: none; }
.sport-chip { flex: 0 0 auto; min-width: 105px; height: 78px; padding: 0 14px; border: 1px solid var(--line); border-radius: 17px; display: grid; place-items: center; align-content: center; gap: 7px; color: var(--muted); background: rgba(255,255,255,.025); cursor: pointer; transition: .2s ease; }
.sport-chip:hover { color: var(--text); border-color: rgba(36,215,255,.25); transform: translateY(-2px); }
.sport-chip.active { color: #08100a; border-color: var(--accent); background: linear-gradient(135deg, var(--accent), #d8ff83); box-shadow: 0 14px 30px rgba(141,230,0,.13); }
.sport-chip .sport-icon { font-size: 23px; line-height: 1; filter: grayscale(.2); }
.sport-chip strong { font-size: 10px; }
.sport-chip small { font-size: 8px; opacity: .72; }
.scroll-arrow { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 23px; background: rgba(7,16,24,.92); backdrop-filter: blur(12px); }
.scroll-arrow.left { left: -18px; }
.scroll-arrow.right { right: -18px; }

.filter-toolbar { margin-top: 18px; padding: 12px; display: grid; grid-template-columns: minmax(240px, 1fr) auto auto; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 18px; background: rgba(10,21,30,.62); backdrop-filter: blur(14px); }
.search-box { min-height: 46px; display: flex; align-items: center; gap: 10px; padding: 0 13px; border-radius: 13px; border: 1px solid var(--line); background: rgba(0,0,0,.16); }
.search-box svg { width: 17px; height: 17px; fill: none; stroke: var(--muted); stroke-width: 1.8; }
.search-box input { min-width: 0; flex: 1; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 12px; }
.search-box input::placeholder { color: var(--muted-2); }
kbd { padding: 4px 7px; border-radius: 6px; border: 1px solid var(--line); color: var(--muted-2); background: rgba(255,255,255,.025); font-size: 9px; }
.status-tabs { display: flex; align-items: center; gap: 4px; }
.status-tab { min-height: 38px; padding: 0 13px; border: 0; border-radius: 10px; color: var(--muted); background: transparent; cursor: pointer; font-size: 11px; font-weight: 800; }
.status-tab.active { color: var(--text); background: rgba(255,255,255,.07); }
.status-tab .live-dot { width: 6px; height: 6px; margin-right: 5px; box-shadow: none; }
.filter-button { min-height: 40px; padding: 0 14px; border-radius: 11px; color: var(--muted); background: rgba(255,255,255,.035); border: 1px solid var(--line); font-size: 11px; font-weight: 800; }
.filter-button.active { color: var(--accent); border-color: rgba(184,255,61,.28); background: rgba(184,255,61,.07); }

.matches-section { padding-top: 46px; }
.results-head { margin-bottom: 20px; }
.results-head p { margin: 0; color: var(--muted); font-size: 12px; }
.match-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.match-card { position: relative; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(160deg, rgba(15,29,40,.88), rgba(7,16,24,.94)); cursor: pointer; transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease; }
.match-card:hover { transform: translateY(-5px); border-color: rgba(184,255,61,.24); box-shadow: 0 24px 55px rgba(0,0,0,.25); }
.match-card::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(184,255,61,.45), transparent); opacity: 0; transition: .24s; }
.match-card:hover::after { opacity: 1; }
.card-topline { min-height: 48px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); }
.card-sport { display: flex; align-items: center; gap: 8px; min-width: 0; }
.card-sport-icon { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: rgba(255,255,255,.045); font-size: 13px; }
.card-sport div { min-width: 0; }
.card-sport strong, .card-sport small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.card-sport strong { color: var(--muted); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.card-sport small { margin-top: 2px; color: var(--muted-2); font-size: 8px; }
.card-status { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 999px; font-size: 8px; font-weight: 900; letter-spacing: .08em; }
.card-status.live { color: #ffd8de; background: rgba(255,93,112,.10); }
.card-status.upcoming { color: #cdefff; background: rgba(36,215,255,.09); }
.card-status.finished { color: #b5c1ca; background: rgba(142,160,175,.09); }
.card-status i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.card-body { padding: 22px 18px 18px; }
.teams-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; }
.team-mini { min-width: 0; display: grid; place-items: center; gap: 9px; text-align: center; }
.mini-crest { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 15px; color: white; background: linear-gradient(135deg, var(--team-color, #263b4c), #0e1720); border: 1px solid rgba(255,255,255,.10); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 10px 28px rgba(0,0,0,.18); font-size: 10px; font-weight: 950; letter-spacing: .04em; }
.team-mini strong { width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.match-score-mini { min-width: 68px; text-align: center; }
.match-score-mini strong { display: block; font-size: 25px; letter-spacing: -.05em; }
.match-score-mini span { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; font-weight: 800; }
.card-footer { margin-top: 22px; padding-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.viewer-count { display: flex; align-items: center; gap: 6px; }
.viewer-count::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.card-actions { display: flex; gap: 5px; }
.card-actions button { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); background: rgba(255,255,255,.025); cursor: pointer; }
.card-actions button:hover, .card-actions button.active { color: var(--accent); border-color: rgba(184,255,61,.24); background: rgba(184,255,61,.07); }
.match-card.compact .card-body { padding-block: 15px 13px; }
.match-card.compact .mini-crest { width: 40px; height: 40px; border-radius: 12px; }
.match-card.compact .card-footer { margin-top: 14px; }
.match-card.compact .card-topline { min-height: 42px; }
.match-grid.list-view { grid-template-columns: 1fr; }
.match-grid.list-view .match-card { display: grid; grid-template-columns: 230px 1fr; }
.match-grid.list-view .card-topline { border-bottom: 0; border-right: 1px solid var(--line); min-height: 100%; align-items: flex-start; padding-top: 20px; }
.match-grid.list-view .teams-row { grid-template-columns: 1fr 100px 1fr; }
.match-grid.list-view .team-mini { grid-template-columns: auto 1fr; text-align: left; justify-items: start; }
.match-grid.list-view .card-footer { margin-top: 14px; }

.load-more { min-width: 190px; min-height: 48px; margin: 26px auto 0; padding: 0 20px; display: flex; align-items: center; justify-content: center; gap: 10px; border-radius: 13px; color: var(--text); background: rgba(255,255,255,.04); border: 1px solid var(--line); font-size: 12px; font-weight: 800; }
.load-more:hover { border-color: rgba(36,215,255,.25); background: rgba(36,215,255,.06); }
.load-more[hidden] { display: none; }
.empty-state { padding: 76px 20px; text-align: center; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.018); }
.empty-icon { width: 64px; height: 64px; margin: 0 auto 17px; display: grid; place-items: center; border-radius: 20px; color: var(--accent); background: rgba(184,255,61,.08); font-size: 27px; }
.empty-state h3 { margin: 0; }
.empty-state p { color: var(--muted); margin: 8px 0 18px; }

.app-promo { min-height: 330px; margin-top: 76px; margin-bottom: 70px; padding: 48px 56px; display: grid; grid-template-columns: 1fr 390px; align-items: center; gap: 40px; overflow: hidden; border-radius: var(--radius-xl); background: radial-gradient(circle at 85% 45%, rgba(36,215,255,.13), transparent 28%), linear-gradient(135deg, rgba(15,29,40,.94), rgba(8,17,25,.97)); }
.app-promo h2 { max-width: 760px; font-size: clamp(32px, 4.7vw, 58px); line-height: 1; }
.app-promo p { max-width: 690px; color: var(--muted); line-height: 1.7; }
.promo-actions { display: flex; align-items: center; gap: 16px; margin-top: 24px; }
.text-button { padding: 8px 0; color: var(--cyan); background: transparent; font-size: 12px; font-weight: 800; }
.pulse-visual { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.pulse-ring { position: absolute; border: 1px solid rgba(36,215,255,.16); border-radius: 50%; animation: pulseRing 3.4s ease-out infinite; }
.ring-one { width: 32%; height: 32%; }
.ring-two { width: 56%; height: 56%; animation-delay: .6s; }
.ring-three { width: 82%; height: 82%; animation-delay: 1.2s; }
.pulse-core { position: relative; width: 96px; height: 96px; display: grid; place-items: center; border-radius: 28px; color: #071008; background: linear-gradient(135deg, var(--accent), var(--cyan)); font-size: 24px; font-weight: 950; box-shadow: 0 22px 60px rgba(36,215,255,.18); }

.site-footer { padding: 34px 0 42px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 26px; border-top: 1px solid var(--line); }
.footer-brand { display: flex; align-items: center; gap: 11px; }
.footer-brand div { display: grid; gap: 2px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links button { padding: 0; border: 0; color: var(--muted); background: transparent; cursor: pointer; font-size: 10px; }
.footer-links button:hover { color: var(--text); }
.site-footer > p { grid-column: 1 / -1; margin: 0; color: var(--muted-2); font-size: 9px; }

.watch-dialog, .info-dialog, .sponsor-dialog { width: min(1280px, calc(100% - 28px)); max-height: calc(100vh - 28px); padding: 0; border: 1px solid var(--line); border-radius: 24px; color: var(--text); background: #08121a; box-shadow: 0 40px 120px rgba(0,0,0,.68); }
dialog::backdrop { background: rgba(0,0,0,.74); backdrop-filter: blur(8px); }
.watch-dialog-inner { position: relative; padding: 18px; }
.dialog-close { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); background: rgba(255,255,255,.045); cursor: pointer; font-size: 22px; }
.watch-dialog .dialog-close { position: absolute; z-index: 5; top: 28px; right: 28px; }
.watch-layout { display: grid; grid-template-columns: minmax(430px, 1fr) 280px 320px; gap: 18px; align-items: start; }
.player-column, .match-details-panel { min-width: 0; }
.video-shell { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 18px; background: #020508; border: 1px solid rgba(255,255,255,.07); }
.video-shell.theater { position: fixed; z-index: 80; inset: 12px; aspect-ratio: auto; border-radius: 20px; box-shadow: 0 0 0 100vw rgba(0,0,0,.94); }
.video-shell video, .video-shell iframe { width: 100%; height: 100%; border: 0; object-fit: contain; }
.video-shell:fullscreen, .video-shell:-webkit-full-screen { width: 100vw; height: 100vh; aspect-ratio: auto; border: 0; border-radius: 0; background: #000; }
.video-shell:fullscreen video, .video-shell:fullscreen iframe, .video-shell:-webkit-full-screen video, .video-shell:-webkit-full-screen iframe { width: 100%; height: 100%; object-fit: contain; }
.video-placeholder { width: 100%; height: 100%; display: grid; place-items: center; align-content: center; gap: 11px; padding: 30px; text-align: center; background: radial-gradient(circle at 50% 40%, rgba(36,215,255,.08), transparent 30%), linear-gradient(145deg, #050b10, #020508); }
.video-placeholder strong { font-size: 18px; }
.video-placeholder p { max-width: 520px; margin: 0 0 8px; color: var(--muted); font-size: 12px; }
.signal-animation { height: 44px; display: flex; align-items: center; gap: 5px; }
.signal-animation span { width: 4px; height: 12px; border-radius: 4px; background: linear-gradient(var(--accent), var(--cyan)); animation: signal 1s ease-in-out infinite; }
.signal-animation span:nth-child(2) { animation-delay: .12s; }
.signal-animation span:nth-child(3) { animation-delay: .24s; }
.signal-animation span:nth-child(4) { animation-delay: .36s; }
.signal-animation span:nth-child(5) { animation-delay: .48s; }
.player-controls-row { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.watch-status { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 10px; }
.watch-status strong { color: var(--danger); font-size: 9px; letter-spacing: .1em; }
.player-utility-buttons { display: flex; gap: 6px; }
.player-utility-buttons button { min-height: 34px; padding: 0 11px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); background: rgba(255,255,255,.025); cursor: pointer; font-size: 9px; }
.match-details-panel { padding: 28px 22px; border-radius: 18px; background: rgba(255,255,255,.025); border: 1px solid var(--line); }
.match-details-panel h2 { margin: 8px 0 5px; font-size: 27px; letter-spacing: -.05em; }
.match-details-panel > p { margin: 0; color: var(--muted); font-size: 11px; }
.dialog-score-card { margin-top: 24px; padding: 18px 14px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; border-radius: 16px; background: rgba(0,0,0,.18); border: 1px solid var(--line); }
.dialog-score-card > div:not(.dialog-score) { min-width: 0; display: grid; place-items: center; gap: 7px; text-align: center; }
.dialog-score-card span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: rgba(255,255,255,.06); font-size: 9px; font-weight: 900; }
.dialog-score-card strong { max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.dialog-score { font-size: 22px; font-weight: 900; white-space: nowrap; }
.detail-list { margin-top: 18px; display: grid; }
.detail-list div { padding: 12px 0; display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); font-size: 10px; }
.detail-list span { color: var(--muted); }
.detail-list strong { text-align: right; }

.live-chat-panel { min-width: 0; height: min(610px, calc(100vh - 92px)); min-height: 470px; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.025); }
.chat-head { min-height: 74px; padding: 17px 16px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); }
.chat-head h3 { margin: 5px 0 0; font-size: 15px; }
.chat-head h3 span { display: inline-grid; place-items: center; min-width: 24px; height: 20px; margin-left: 5px; padding: 0 6px; border-radius: 999px; color: var(--muted); background: rgba(255,255,255,.055); font-size: 9px; }
.chat-connection { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.chat-connection i { width: 7px; height: 7px; border-radius: 50%; background: #7d8993; box-shadow: 0 0 0 3px rgba(125,137,147,.1); }
.chat-connection.online { color: var(--accent); }
.chat-connection.online i { background: var(--accent); box-shadow: 0 0 0 3px rgba(184,255,61,.12); }
.chat-connection.connecting i { background: var(--cyan); animation: pulse 1.1s ease-in-out infinite; }
.chat-connection.error { color: #ff8c98; }
.chat-connection.error i { background: var(--danger); }
.chat-notice { margin: 0; padding: 10px 16px; color: var(--muted); background: rgba(36,215,255,.035); border-bottom: 1px solid var(--line); font-size: 9px; line-height: 1.45; }
.chat-messages { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 10px 12px; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.16) transparent; }
.chat-empty, .chat-loading { height: 100%; min-height: 150px; display: grid; place-items: center; padding: 24px; color: var(--muted-2); text-align: center; font-size: 10px; line-height: 1.55; }
.chat-message { padding: 10px 8px; border-bottom: 1px solid rgba(255,255,255,.055); }
.chat-message:last-child { border-bottom: 0; }
.chat-message-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.chat-message-head strong { min-width: 0; overflow: hidden; color: var(--cyan); text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.chat-message-head time { flex: 0 0 auto; color: var(--muted-2); font-size: 8px; }
.chat-message p { margin: 5px 0 0; overflow-wrap: anywhere; color: #dce6ed; font-size: 10px; line-height: 1.5; }
.chat-form { flex: 0 0 auto; padding: 12px; display: grid; gap: 9px; border-top: 1px solid var(--line); background: rgba(0,0,0,.14); }
.chat-name-row { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 8px; }
.chat-name-row label, .chat-name-row span, .chat-form > small { color: var(--muted); font-size: 8px; }
.chat-name-row input, .chat-compose textarea { width: 100%; border: 1px solid var(--line); color: var(--text); background: #0d1b25; outline: 0; font: inherit; }
.chat-name-row input { min-height: 34px; padding: 0 10px; border-radius: 9px; font-size: 10px; }
.chat-compose { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; align-items: end; }
.chat-compose textarea { min-height: 58px; max-height: 120px; resize: vertical; padding: 10px; border-radius: 10px; font-size: 10px; line-height: 1.45; }
.chat-name-row input:focus, .chat-compose textarea:focus { border-color: rgba(36,215,255,.48); box-shadow: 0 0 0 3px rgba(36,215,255,.07); }
.chat-compose button { min-width: 62px; height: 38px; }
.chat-compose button:disabled { cursor: not-allowed; opacity: .45; transform: none; }
.chat-form > small { line-height: 1.4; }

.settings-drawer { position: fixed; z-index: 70; top: 0; right: 0; width: min(430px, 100%); height: 100vh; overflow-y: auto; padding: 26px; background: #08121a; border-left: 1px solid var(--line); box-shadow: -28px 0 80px rgba(0,0,0,.45); transform: translateX(105%); transition: transform .3s ease; }
.settings-drawer.open { transform: translateX(0); }
.drawer-backdrop { position: fixed; z-index: 65; inset: 0; background: rgba(0,0,0,.58); backdrop-filter: blur(5px); }
.drawer-head { padding-bottom: 22px; }
.drawer-section { padding: 22px 0; border-top: 1px solid var(--line); }
.drawer-section h3 { margin: 0 0 14px; font-size: 14px; }
.drawer-section-title span { color: var(--muted); font-size: 9px; }
.toggle-row { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; }
.toggle-row span { display: grid; gap: 3px; }
.toggle-row strong { font-size: 11px; }
.toggle-row small { color: var(--muted); font-size: 9px; }
.toggle-row input { display: none; }
.toggle-row i { position: relative; flex: 0 0 auto; width: 42px; height: 24px; border-radius: 999px; background: #1a2a36; border: 1px solid var(--line); transition: .2s; }
.toggle-row i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--muted); transition: .2s; }
.toggle-row input:checked + i { background: rgba(184,255,61,.18); border-color: rgba(184,255,61,.35); }
.toggle-row input:checked + i::after { transform: translateX(18px); background: var(--accent); }
.field-label, .admin-form label { display: grid; gap: 7px; color: var(--muted); font-size: 9px; font-weight: 800; }
.field-label select, .admin-form input, .admin-form select { width: 100%; min-height: 42px; padding: 0 11px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); background: #0d1b25; outline: 0; font-size: 11px; }
.drawer-note { margin: 0 0 16px; color: var(--muted); font-size: 10px; line-height: 1.55; }
.admin-form { display: grid; gap: 12px; }
.form-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.danger-button { width: 100%; min-height: 40px; margin-top: 12px; border-radius: 10px; color: #ffc1c9; background: rgba(255,93,112,.08); border: 1px solid rgba(255,93,112,.16); font-size: 10px; font-weight: 800; }

.info-dialog { width: min(620px, calc(100% - 28px)); padding: 30px; }
.info-dialog .dialog-close { position: absolute; right: 22px; top: 22px; }
.info-dialog h2 { margin: 8px 0 18px; font-size: 32px; letter-spacing: -.05em; }
.info-dialog p, .info-dialog li { color: var(--muted); line-height: 1.72; font-size: 12px; }
.info-dialog ul { padding-left: 18px; }
.sponsor-dialog { width: min(480px, calc(100% - 28px)); padding: 36px; text-align: center; }
.sponsor-dialog .dialog-close { position: absolute; right: 17px; top: 17px; }
.sponsor-dialog > span { color: var(--accent); font-size: 9px; font-weight: 900; letter-spacing: .16em; }
.sponsor-dialog h2 { margin: 14px 0 10px; font-size: 33px; letter-spacing: -.05em; }
.sponsor-dialog p { color: var(--muted); line-height: 1.6; font-size: 11px; }
.sponsor-countdown { margin: 20px 0 14px; color: var(--muted); font-size: 10px; }
.sponsor-dialog .primary-button { width: 100%; }
.sponsor-dialog .primary-button:disabled { cursor: wait; opacity: .45; transform: none; }

.toast-region { position: fixed; z-index: 100; right: 20px; bottom: 20px; display: grid; gap: 9px; pointer-events: none; }
.toast { min-width: 250px; max-width: 340px; padding: 13px 15px; border-radius: 12px; color: var(--text); background: rgba(13,27,37,.96); border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(0,0,0,.35); font-size: 10px; animation: toastIn .24s ease; }
.toast strong { color: var(--accent); margin-right: 5px; }
.cookie-banner { position: fixed; z-index: 55; left: 50%; bottom: 18px; transform: translateX(-50%); width: min(940px, calc(100% - 28px)); padding: 15px 16px 15px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid var(--line); border-radius: 15px; background: rgba(9,20,29,.96); backdrop-filter: blur(18px); box-shadow: 0 24px 70px rgba(0,0,0,.5); }
.cookie-banner.hidden { display: none; }
.cookie-banner strong { font-size: 11px; }
.cookie-banner p { margin: 4px 0 0; color: var(--muted); font-size: 9px; }
.cookie-banner > div:last-child { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }

@keyframes pulse { 0%,100% { opacity: .55; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.12); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes pulseRing { 0% { transform: scale(.75); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.15); opacity: 0; } }
@keyframes signal { 0%,100% { height: 10px; } 50% { height: 42px; } }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } }

@media (max-width: 1180px) {
  .watch-layout { grid-template-columns: minmax(0, 1fr) 300px; }
  .live-chat-panel { grid-column: 1 / -1; height: 480px; min-height: 420px; }
  .hero-shell { grid-template-columns: 1fr; }
  .hero-side-panel { display: grid; grid-template-columns: 1fr 280px; gap: 20px; }
  .side-panel-head { grid-column: 1 / -1; }
  .ad-slot-compact { margin-top: 0; }
  .match-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-toolbar { grid-template-columns: 1fr auto; }
  .filter-toolbar .search-box { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --page: min(100% - 26px, 1460px); }
  .hero { min-height: 620px; grid-template-columns: 1fr; align-items: stretch; }
  .hero-content { padding: 36px 30px 20px; }
  .hero-scoreboard { width: min(430px, calc(100% - 40px)); justify-self: center; margin: 0 0 28px; }
  .app-promo { grid-template-columns: 1fr 260px; padding: 40px; }
  .watch-layout { grid-template-columns: 1fr; }
  .live-chat-panel { grid-column: auto; height: 480px; }
  .match-details-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .dialog-score-card, .detail-list, .ad-slot-dialog { margin-top: 0; }
  .watch-dialog { overflow-y: auto; }
}

@media (max-width: 680px) {
  :root { --header-height: 66px; }
  .site-header { padding-inline: 13px; }
  .brand-copy small { display: none; }
  .header-actions .icon-button:first-child { display: none; }
  .ticker { padding-inline: 13px; grid-template-columns: auto 1fr; }
  .clock { display: none; }
  .hero-shell { padding-top: 16px; }
  .hero { min-height: 570px; border-radius: 22px; }
  .hero::after { right: -90px; }
  .hero-content { padding: 28px 22px 16px; }
  .hero h1 { font-size: 46px; }
  .hero-description { font-size: 13px; }
  .hero-actions { align-items: stretch; }
  .hero-actions button { width: 100%; }
  .hero-scoreboard { width: calc(100% - 28px); padding: 20px 12px; gap: 9px; }
  .team-crest { width: 48px; }
  .score { font-size: 26px; }
  .hero-side-panel { display: block; padding: 20px; }
  .ad-slot-compact { margin-top: 16px; }
  .control-zone { padding-top: 46px; }
  .section-heading-row { align-items: flex-end; }
  .section-heading-row h2, .results-head h2 { font-size: 25px; }
  .view-switch { display: none; }
  .sport-chip { min-width: 92px; height: 70px; }
  .scroll-arrow { display: none; }
  .filter-toolbar { grid-template-columns: 1fr; }
  .filter-toolbar .search-box { grid-column: auto; }
  .status-tabs { overflow-x: auto; }
  .filter-button { width: 100%; }
  .match-grid { grid-template-columns: 1fr; }
  .match-grid.list-view .match-card { display: block; }
  .match-grid.list-view .card-topline { border-right: 0; border-bottom: 1px solid var(--line); min-height: 48px; padding-top: 0; align-items: center; }
  .match-grid.list-view .team-mini { display: grid; grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .results-head { align-items: flex-end; }
  .app-promo { grid-template-columns: 1fr; padding: 34px 24px; }
  .pulse-visual { height: 240px; }
  .promo-actions { align-items: stretch; flex-direction: column; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { gap: 12px; }
  .match-details-panel { display: block; }
  .dialog-score-card, .detail-list, .ad-slot-dialog { margin-top: 20px; }
  .player-controls-row { align-items: flex-start; flex-direction: column; padding: 12px 0; }
  .player-utility-buttons { width: 100%; }
  .player-utility-buttons button { flex: 1; }
  .watch-dialog-inner { padding: 10px; }
  .watch-dialog .dialog-close { top: 17px; right: 17px; }
  .live-chat-panel { height: 430px; min-height: 390px; }
  .chat-name-row { grid-template-columns: 1fr auto; }
  .chat-name-row label { grid-column: 1 / -1; }
  .cookie-banner { align-items: flex-start; flex-direction: column; }
  .cookie-banner > div:last-child { width: 100%; justify-content: flex-end; }
}

/* Launch integrations */
.results-meta { display: flex; align-items: flex-end; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.results-meta p { margin: 0; }
.data-source-status { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: rgba(255,255,255,.025); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.data-source-status::before { content: ''; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 12px currentColor; }
.data-source-status.live { color: var(--accent); }
.data-source-status.loading { color: var(--cyan); }
.data-source-status.error { color: var(--danger); }
.official-watch-card { min-height: 100%; display: grid; place-items: center; text-align: center; padding: 34px; background: radial-gradient(circle at 50% 20%, rgba(41,216,151,.14), transparent 44%), #050b11; }
.official-watch-card > div { max-width: 520px; }
.official-watch-card strong { display: block; margin: 14px 0 8px; font-size: clamp(22px, 4vw, 38px); }
.official-watch-card p { color: var(--muted); line-height: 1.7; }
.official-watch-card .primary-button { display: inline-flex; margin-top: 12px; text-decoration: none; }
.ad-slot.ads-live { padding: 0; border-style: solid; background: transparent; overflow: hidden; }
.ad-slot.ads-live > ins { width: 100%; min-height: 90px; }
@media (max-width: 700px) { .results-meta { justify-content: flex-start; align-items: center; } }

/* =========================================================
   Readability upgrade + expanded YouTube-style watch layout
   ========================================================= */

/* Larger small text throughout the interface */
.brand-copy small,
.footer-brand small { font-size: 11px; }
.ticker-label { font-size: 12px; }
.clock { font-size: 13px; }
.status-pill { font-size: 11px; }
.hero-kicker,
.panel-kicker,
.section-kicker { font-size: 12px; }
.small-button,
.play-icon { font-size: 13px; }
.hero-team strong { font-size: 13px; }
.score-state { font-size: 10px; }
.trending-rank { font-size: 12px; }
.trending-copy strong { font-size: 14px; }
.trending-copy span,
.trending-viewers { font-size: 12px; }
.ad-slot span { font-size: 10px; }
.ad-slot strong { font-size: 14px; }
.ad-slot small { font-size: 11px; }

/* Larger and easier-to-read sport filter */
.sports-filter { gap: 12px; }
.sport-chip {
  min-width: 126px;
  height: 90px;
  padding: 0 17px;
  gap: 8px;
}
.sport-chip .sport-icon { font-size: 28px; }
.sport-chip strong { font-size: 14px; }
.sport-chip small { font-size: 11px; }

/* Larger filters, search, cards, and secondary interface text */
.search-box input { font-size: 14px; }
kbd { font-size: 11px; }
.status-tab,
.filter-button { font-size: 13px; }
.results-head p { font-size: 14px; }
.card-sport strong { font-size: 11px; }
.card-sport small { font-size: 10px; }
.card-status { font-size: 10px; }
.mini-crest { font-size: 12px; }
.team-mini strong { font-size: 14px; }
.match-score-mini span,
.card-footer { font-size: 11px; }
.footer-links button { font-size: 12px; }
.site-footer > p { font-size: 11px; }
.data-source-status { font-size: 11px; }

/* Expanded desktop player: video directly beside comments */
@media (min-width: 1024px) {
  .watch-dialog {
    width: min(1780px, calc(100vw - 18px));
    height: calc(100vh - 18px);
    max-height: none;
    border-radius: 20px;
  }

  .watch-dialog-inner {
    height: 100%;
    min-height: 0;
    padding: 14px;
  }

  .watch-layout {
    height: 100%;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(360px, 24vw, 430px);
    grid-template-rows: minmax(0, 1fr) auto;
    grid-template-areas:
      "player chat"
      "details details";
    gap: 14px;
    align-items: stretch;
  }

  .player-column {
    grid-area: player;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .video-shell {
    flex: 1 1 auto;
    min-height: 0;
    aspect-ratio: auto;
    border-radius: 16px;
  }

  .player-controls-row {
    flex: 0 0 auto;
    padding: 11px 2px 0;
  }

  .live-chat-panel {
    grid-area: chat;
    width: 100%;
    height: auto;
    min-height: 0;
    border-radius: 16px;
  }

  .chat-head { padding-right: 56px; }

  .match-details-panel {
    grid-area: details;
    min-width: 0;
    padding: 12px 16px;
    display: grid;
    grid-template-columns: minmax(260px, 1.25fr) auto minmax(300px, 1fr) minmax(185px, .55fr);
    align-items: center;
    gap: 18px;
    border-radius: 16px;
  }

  .match-summary-copy { min-width: 0; }
  .match-summary-copy h2 {
    margin: 5px 0 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 24px;
  }
  .match-summary-copy > p {
    margin: 0;
    overflow: hidden;
    color: var(--muted);
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
  }

  .dialog-score-card {
    min-width: 290px;
    margin: 0;
    padding: 10px 12px;
  }

  .detail-list {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .detail-list div {
    min-width: 0;
    padding: 8px 10px;
    display: grid;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 11px;
  }
  .detail-list strong {
    overflow: hidden;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .ad-slot-dialog {
    min-height: 76px;
    margin: 0;
    padding: 10px;
    border-radius: 12px;
  }
}

/* Readable player controls and chat */
.watch-status { font-size: 12px; }
.watch-status strong { font-size: 11px; }
.player-utility-buttons button {
  min-height: 38px;
  padding-inline: 13px;
  font-size: 11px;
}
.match-details-panel > p,
.match-summary-copy > p { font-size: 13px; }
.dialog-score-card span { font-size: 11px; }
.dialog-score-card strong { font-size: 12px; }
.detail-list div { font-size: 12px; }
.chat-head h3 { font-size: 18px; }
.chat-head h3 span { font-size: 11px; }
.chat-connection { font-size: 10px; }
.chat-notice { font-size: 11px; }
.chat-empty,
.chat-loading { font-size: 12px; }
.chat-message-head strong { font-size: 12px; }
.chat-message-head time { font-size: 10px; }
.chat-message p { font-size: 13px; }
.chat-name-row label,
.chat-name-row span,
.chat-form > small { font-size: 10px; }
.chat-name-row input,
.chat-compose textarea { font-size: 13px; }

/* Settings and small system messages are also easier to read */
.drawer-section-title span,
.field-label,
.admin-form label { font-size: 11px; }
.toggle-row strong { font-size: 13px; }
.toggle-row small,
.drawer-note { font-size: 11px; }
.danger-button,
.toast { font-size: 12px; }
.cookie-banner strong { font-size: 13px; }
.cookie-banner p { font-size: 11px; }

/* Tablet and phone: video first, comments second, details last */
@media (max-width: 1023px) {
  .watch-dialog {
    width: min(960px, calc(100vw - 18px));
    max-height: calc(100vh - 18px);
    overflow-y: auto;
  }

  .watch-layout {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "player"
      "chat"
      "details";
    gap: 14px;
  }

  .player-column { grid-area: player; }
  .live-chat-panel {
    grid-area: chat;
    grid-column: auto;
    height: 500px;
    min-height: 430px;
  }
  .match-details-panel {
    grid-area: details;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .match-summary-copy { min-width: 0; }
  .match-summary-copy h2 { margin: 7px 0 4px; }
  .match-summary-copy > p { margin: 0; color: var(--muted); }
  .ad-slot-dialog { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .sport-chip {
    min-width: 108px;
    height: 80px;
  }
  .sport-chip strong { font-size: 13px; }
  .sport-chip small { font-size: 10px; }

  .match-details-panel { display: block; }
  .match-summary-copy { margin-bottom: 18px; }
  .live-chat-panel {
    height: 450px;
    min-height: 410px;
  }
  .player-utility-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
