:root {
  --bg: #0a0a0c;
  --bg-2: #121216;
  --panel: #1a1a20;
  --panel-2: #141418;
  --line: rgba(255, 255, 255, 0.08);
  --ink: #f5f5f7;
  --muted: #9a9aa8;
  --accent: #01b5a6;
  --vip: #f2c14e;
  --live: #01b5a6;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --wrap: 100%;
  --pad: clamp(10px, 1.2vw, 20px);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap { width: 100%; padding-inline: var(--pad); margin: 0; box-sizing: border-box; max-width: 100%; overflow-x: clip; }

/* ---------- TOPBAR ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 8, 10, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  width: 100%;
  max-width: 100%;
  padding-inline: var(--pad);
  margin: 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 18px;
  height: 78px;
  min-width: 0;
}
.nav-back {
  display: none;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.06);
  color: #fff;
  place-items: center;
  cursor: pointer;
}
.nav-back[hidden] { display: none !important; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo {
  height: 68px;
  width: auto;
  display: block;
  object-fit: contain;
}
.site-footer .brand-logo { height: 80px; }

.mainnav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
  flex-wrap: nowrap;
}
.navlink {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-weight: 700;
  font-size: 13.5px;
  padding: 8px 12px;
  border-radius: 10px;
  transition: color .15s ease, background .15s ease;
}
.navlink svg { flex-shrink: 0; opacity: .9; }
.navlink:hover { color: var(--ink); }
.navlink.is-active { color: var(--accent); }
.navlink.is-active::after {
  content: "";
  position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px;
  border-radius: 3px; background: var(--accent);
}

.topbar-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  min-width: 0;
  flex: 1 1 auto;
  justify-content: flex-end;
}
.search {
  display: flex; align-items: center; gap: 8px;
  background: #121218;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--muted);
  width: min(320px, 28vw);
  min-width: 180px;
  max-width: 100%;
  transition: border-color .15s ease;
  flex: 0 1 auto;
}
.search:focus-within { border-color: rgba(1, 181, 166, 0.55); color: #fff; }
.search input {
  border: 0; background: transparent; outline: none;
  color: var(--ink); font: inherit; font-size: 13px; width: 100%;
}
.search input::placeholder { color: #7d7d8c; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1);
  background: #121218;
  color: var(--muted);
  display: grid; place-items: center; cursor: pointer;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.icon-btn:hover {
  color: #fff;
  border-color: rgba(1, 181, 166, 0.45);
  background: rgba(1, 181, 166, 0.12);
}
.btn-sports {
  border: 0;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 800;
  font-size: 13px;
  padding: 9px 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.btn-sports:hover { filter: brightness(1.08); }
.btn-login {
  border: 0; cursor: pointer;
  background: var(--accent);
  color: #fff; font: inherit; font-weight: 800; font-size: 13px;
  padding: 9px 16px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 7px;
  white-space: nowrap;
  max-width: min(220px, 46vw);
  flex: 0 0 auto;
  min-width: 0;
}
.btn-login:hover { filter: brightness(1.08); }
.btn-login:active { transform: translateY(1px); }
.btn-login.is-logged-in {
  background: var(--accent);
  color: #fff;
  border: 0;
  box-shadow: none;
}
.btn-login.is-logged-in span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.league-bar {
  border-top: 1px solid rgba(255,255,255,.06);
  background: #0d0d12;
}
.league-bar-inner {
  width: 100%;
  padding: 8px var(--pad);
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.league-bar-inner::-webkit-scrollbar { display: none; }
.league-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  margin-right: 4px;
}
.league-chip {
  border: 0;
  background: #1c1c24;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: color .15s ease, background .15s ease;
}
.league-chip:hover {
  color: #fff;
  background: #26262f;
}
.league-chip.is-active {
  color: #fff;
  background: var(--accent);
}

/* ---------- HERO 1920×670 — full bleed ---------- */
.hero {
  position: relative;
  width: 100%;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 1920 / 670;
  background: var(--panel);
}
.hero-track { display: flex; height: 100%; transition: transform .5s cubic-bezier(.22,.61,.36,1); }
.hero-slide {
  min-width: 100%; height: 100%;
  position: relative;
  display: flex; align-items: center;
  padding: 0 56px;
  color: #fff;
  overflow: hidden;
}
.hero-slide .hero-bg {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.hero-slide .hero-content { display: none; }
.hero-slide::after { display: none; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; letter-spacing: 2px; font-size: 12px;
  color: #7ee8df; text-transform: uppercase; margin-bottom: 10px;
}
.hero-title {
  margin: 0 0 10px;
  font-size: clamp(24px, 3.4vw, 46px);
  font-weight: 800; line-height: 1.02;
}
.hero-title .big { color: var(--accent); }
.hero-sub { margin: 0 0 18px; color: #e8e8ee; font-size: clamp(13px, 1.3vw, 16px); }
.hero-cta {
  display: inline-block;
  background: var(--accent);
  color: #fff; font-weight: 800; padding: 11px 24px; border-radius: 999px;
}
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(0,0,0,.4); color: #fff; border: 1px solid rgba(255,255,255,.2);
  font-size: 24px; line-height: 1; cursor: pointer; z-index: 5;
  display: grid; place-items: center;
}
.hero-prev { left: 14px; }
.hero-next { right: 14px; }
.hero-arrow:hover { background: rgba(0,0,0,.65); }

/* ---------- RAILS ---------- */
.rail { margin-top: 34px; }
.rail-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.rail-head h2 { margin: 0; font-size: 20px; font-weight: 800; }
.more { color: var(--muted); font-weight: 700; font-size: 14px; }
.more:hover { color: var(--accent); }

.hscroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(160px, calc((100% - 98px) / 7));
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 4px 8px;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.hscroll::-webkit-scrollbar { display: none; }

.rail-slider {
  position: relative;
  overflow: hidden;
  max-width: 100%;
}
.rail-arrow {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  display: grid;
  place-items: center;
}
.rail-prev { left: 6px; }
.rail-next { right: 6px; }
.rail-arrow:hover { background: rgba(0, 0, 0, 0.75); }

/* CARD Highlights / Klip — isi penuh lebar */
.card { cursor: pointer; width: 100%; min-width: 0; scroll-snap-align: start; }
.card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 255 / 324;
  height: auto;
  border-radius: 14px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
}
.card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-thumb::after { display: none; }
.card-brandtag {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font-size: 11px; font-weight: 800; color: #fff; opacity: .95;
  display: flex; align-items: center; gap: 5px;
}
.card-brandtag .dot {
  width: 14px; height: 14px; border-radius: 4px;
  background: var(--accent); display: inline-block;
}
.vip {
  position: absolute; top: 8px; right: 8px; z-index: 3;
  background: var(--vip);
  color: #3a2600; font-weight: 800; font-size: 10px;
  padding: 3px 8px; border-radius: 6px; letter-spacing: .5px;
}
.card-overlay {
  position: absolute; left: 12px; bottom: 12px; right: 12px; z-index: 3;
  font-weight: 800; line-height: 1.05;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
}
.card-overlay .type { font-size: 15px; letter-spacing: .5px; }
.card-title {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #e8e8ee;
  line-height: 1.3;
  text-align: center;
}
.card-sub { margin-top: 2px; font-size: 12px; color: var(--muted); }

/* REPLAY score card */
.score-box {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  text-align: center; padding: 12px;
}
.score-box .rep { font-size: 12px; font-weight: 800; letter-spacing: 1px; color: #fff; }
.score-line { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 30px; }
.score-line .vs { font-size: 13px; color: var(--muted); }
.flags { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 10px; }
.flags img { width: 34px; height: 22px; border-radius: 3px; object-fit: cover; box-shadow: 0 2px 6px rgba(0,0,0,.4); }

/* LIVE cards — thumb 1920×1080 (16:9) */
.live-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
}
.live-card { cursor: pointer; }
.live-thumb {
  position: relative;
  aspect-ratio: 1920 / 1080;
  border-radius: 14px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
}
.live-thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.live-meta {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}
.live-time {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  text-align: center;
}

/* PROMO 1840×200 — image only */
.promo-banner {
  margin-top: 34px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--panel);
  line-height: 0;
}
.promo-banner img {
  width: 100%;
  height: auto;
  aspect-ratio: 1840 / 200;
  object-fit: cover;
  display: block;
}

.watch-view[hidden] { display: none !important; }
.watch-view {
  padding: 18px var(--pad) 28px;
  background: var(--bg);
}
.watch-more {
  margin-top: 18px;
  padding-bottom: 8px;
}
.watch-promo {
  margin: 0 0 8px;
}
.watch-more .rail { margin-top: 28px; }
.watch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
  gap: 16px;
  align-items: start;
}
.watch-player-card,
.watch-chat-card {
  border: 1px solid var(--line);
  background: #101015;
  border-radius: 16px;
  overflow: hidden;
}
.watch-player-card { box-shadow: 0 18px 42px rgba(0, 0, 0, .3); }
.watch-back {
  margin: 12px 12px 0;
  border: 1px solid rgba(255,255,255,.1);
  background: #17171e;
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 13px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.watch-back:hover { color: #fff; border-color: rgba(1,181,166,.45); }
.watch-stage {
  position: relative;
  margin-top: 12px;
  aspect-ratio: 16 / 9;
  background: #050508;
  display: grid;
  place-items: center;
}
.watch-video-placeholder {
  display: grid;
  place-items: center;
  gap: 8px;
  text-align: center;
  color: var(--accent);
}
.watch-video-placeholder p {
  margin: 0;
  color: #fff;
  font-size: clamp(15px, 1.8vw, 22px);
  font-weight: 800;
  line-height: 1.45;
  max-width: min(92%, 720px);
}
.watch-fs {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px;
  background: rgba(0,0,0,.5);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.watch-viewers {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  background: transparent;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.watch-viewers span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff2d55;
  box-shadow: 0 0 8px rgba(255, 45, 85, .75);
}
.watch-match-header {
  padding: 18px 14px 16px;
  background: #101015;
}
.watch-kicker {
  margin: 0 0 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  color: #fff;
}
.watch-scoreboard {
  display: grid;
  grid-template-columns: 1fr 1fr auto 1fr 1fr;
  align-items: center;
  gap: 12px;
  max-width: 680px;
  margin: 0 auto;
}
.watch-team {
  display: grid;
  place-items: center;
  gap: 8px;
  text-align: center;
  font-size: 14px;
}
.watch-team img {
  border-radius: 5px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(0,0,0,.35);
}
.watch-score-num {
  justify-self: center;
  color: #fff;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.watch-vs {
  justify-self: center;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .12em;
  font-weight: 700;
}
.watch-meta {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.watch-stats-card {
  border-top: 1px solid var(--line);
  background: #0f0f14;
}
.watch-stats-toggle {
  width: 100%;
  border: 0;
  background: #14141b;
  color: #fff;
  padding: 14px 18px;
  font: inherit;
  font-weight: 800;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.watch-stats-toggle svg { transition: transform .2s ease; }
.watch-stats-toggle[aria-expanded="false"] svg { transform: rotate(-90deg); }
.watch-stats-list[hidden] { display: none !important; }
.watch-stat-row {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
}
.watch-stat-top {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 800;
}
.watch-stat-name {
  text-align: center;
  color: var(--muted);
  font-weight: 700;
}
.watch-stat-right { text-align: right; }
.watch-stat-track {
  display: grid;
  grid-template-columns: 1fr 3px 1fr;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,.06);
}
.watch-stat-left-bar,
.watch-stat-right-bar {
  height: 100%;
  min-width: 0;
}
.watch-stat-left-bar {
  justify-self: end;
  background: #fff;
  border-radius: 999px 0 0 999px;
}
.watch-stat-right-bar {
  justify-self: start;
  background: var(--accent);
  border-radius: 0 999px 999px 0;
  box-shadow: 0 0 12px rgba(1,181,166,.45);
}
.watch-side {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 0;
}
.watch-chat-card {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  height: 100%;
  background: #0f0f0f;
  position: relative;
}
.watch-hearts {
  position: absolute;
  right: 48px;
  left: auto;
  bottom: 62px;
  top: 56px;
  width: 72px;
  pointer-events: none;
  overflow: hidden;
  z-index: 3;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 100%);
}
.watch-float-heart {
  position: absolute;
  bottom: 4px;
  left: 50%;
  right: auto;
  margin-left: calc(var(--heart-size, 26px) / -2);
  width: var(--heart-size, 26px);
  height: var(--heart-size, 26px);
  color: #ff2d55;
  animation: watch-float-heart var(--heart-dur, 1.85s) ease-out forwards;
  filter: drop-shadow(0 2px 5px rgba(255, 45, 85, 0.4));
  will-change: transform, opacity;
  transform-origin: center bottom;
}
.watch-float-heart svg {
  width: 100%;
  height: 100%;
  display: block;
}
@keyframes watch-float-heart {
  0% {
    opacity: 0;
    transform: translate3d(0, 6px, 0) scale(0.45) rotate(-10deg);
  }
  14% {
    opacity: 1;
    transform: translate3d(calc(var(--dx, 0px) * 0.25), -28px, 0) scale(1) rotate(-4deg);
  }
  62% {
    opacity: 0.96;
    transform: translate3d(calc(var(--dx, 0px) * 0.75), calc(var(--heart-rise, -220px) * 0.62), 0) scale(1.08) rotate(8deg);
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--dx, 0px), var(--heart-rise, -220px), 0) scale(1.12) rotate(14deg);
  }
}
.watch-chat-gate {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px 14px;
  text-align: center;
  background: transparent;
}
.watch-chat-gate[hidden] { display: none !important; }
.watch-chat-gate p {
  margin: 0;
  color: #cfd3da;
  font-size: 13px;
  max-width: 260px;
}
.watch-chat-empty {
  color: #8b919a;
  font-size: 13px;
  text-align: center;
  padding: 28px 12px;
}
.watch-chat-avatar-img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  align-self: center;
}
.watch-chat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid #272727;
}
.watch-chat-head strong { font-size: 14px; }
.watch-chat-heading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.watch-chat-icon {
  color: var(--accent);
  flex: 0 0 auto;
}
.watch-chat-head > #watchChatUser {
  color: var(--muted);
  font-size: 12px;
}
.watch-chat-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.watch-chat-title .watch-like-total {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #a7a7b1;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.watch-like-total svg {
  color: #ff2d55;
  flex: 0 0 auto;
  transform-origin: center;
}
.watch-like-total.is-live svg {
  animation: watch-like-pulse .48s ease;
}
.watch-like-total.is-live b {
  color: #ff2d55;
}
@keyframes watch-like-pulse {
  0% { transform: scale(.8); }
  45% { transform: scale(1.38); filter: drop-shadow(0 0 7px rgba(255,45,85,.8)); }
  100% { transform: scale(1); }
}
.watch-chat-messages {
  flex: 1;
  overflow: auto;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 0;
}
.watch-chat-msg {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 6px 4px;
  border-radius: 8px;
}
.watch-chat-msg:hover { background: rgba(255,255,255,.04); }
.watch-chat-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #2c2c34;
  color: #cfd0d8;
  font-size: 11px;
  font-weight: 800;
  align-self: center;
}
.watch-chat-body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 6px;
  font-size: 13px;
  line-height: 1.35;
  min-width: 0;
}
.watch-chat-user {
  color: #aaa;
  font-weight: 700;
  margin-right: 0;
  line-height: 1.35;
}
.watch-chat-text {
  color: #f1f1f1;
  overflow-wrap: anywhere;
  line-height: 1.35;
}
.watch-chat-form {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: center;
  padding: 10px 12px 12px;
  border-top: 1px solid #272727;
}
.watch-chat-form[hidden] { display: none !important; }
.watch-chat-form input {
  width: 100%;
  border: 1px solid transparent;
  background: #212121;
  color: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  outline: none;
  font: inherit;
  font-size: 16px;
}
.watch-chat-form input:focus { border-color: rgba(1,181,166,.55); }
.watch-send-btn {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.watch-send-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.watch-like-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: #fff;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: 0 0 auto;
  transition: transform .15s ease;
}
.watch-like-btn:active { transform: scale(0.88); }
.watch-like-btn.is-hot svg path {
  fill: var(--accent);
  stroke: var(--accent);
}

/* FOOTER SEO */
.site-footer {
  margin-top: 46px;
  border-top: 1px solid var(--line);
  padding: 36px 0 22px;
  background: var(--panel-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.footer-about {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  max-width: 360px;
}
.footer-col h3 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.footer-col a:hover { color: var(--accent); }
.footer-seo-note { display: none; }
.footer-bottom { padding-top: 18px; }
.footer-note { color: var(--muted); font-size: 13px; margin: 0 0 6px; }
.footer-disclaimer {
  margin: 0;
  color: #6f6f7c;
  font-size: 12px;
  line-height: 1.55;
  max-width: 980px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .search { width: 180px; min-width: 140px; }
  .live-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hscroll { grid-auto-columns: minmax(150px, calc((100% - 56px) / 5)); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .navlink span { display: none; }
  .navlink { padding: 8px 10px; }
  .watch-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .watch-player-card,
  .watch-side { display: contents; }
  .watch-back { order: 0; }
  .watch-stage { order: 1; }
  .watch-match-header { order: 2; }
  .watch-chat-card { order: 3; min-height: min(58vh, 560px); }
  .watch-stats-card { order: 4; }
}
@media (max-width: 900px) {
  .mainnav { display: none; }
  .topbar-inner { height: 68px; gap: 8px; }
  .brand-logo { height: 54px; }
  .site-footer .brand-logo { height: 64px; }
  .btn-sports { display: none !important; }
  .topbar-tools { gap: 6px; }
  body.is-watch .nav-back:not([hidden]) { display: grid; }
  body.is-watch .watch-back { display: none !important; }
  .search input { font-size: 16px; }
  .search {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    max-width: none;
  }
  .btn-login {
    max-width: min(132px, 36vw);
    padding: 8px 12px;
  }
  .hscroll { grid-auto-columns: minmax(140px, 42vw); }
  .rail-arrow { display: none; }
  .rail { margin-top: 24px; }
  .rail-head h2 { font-size: 17px; }
  .league-label span,
  .league-label { font-size: 11px; }
  .league-bar { max-width: 100%; overflow: hidden; }
  body.is-watch .league-bar { display: none; }
  .watch-view {
    padding: 0 0 calc(18px + env(safe-area-inset-bottom, 0px));
    overflow-x: hidden;
    max-width: 100%;
  }
  .watch-layout,
  .watch-more {
    max-width: 100%;
    overflow-x: hidden;
  }
  .watch-back,
  .watch-stage,
  .watch-match-header,
  .watch-chat-card,
  .watch-stats-card {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    max-width: 100%;
  }
  .watch-back {
    margin: 10px 12px;
    display: inline-flex;
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
  }
  .watch-back span { display: none; }
  .watch-stage {
    margin-top: 0;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: min(56vw, 42vh);
  }
  .watch-video-placeholder svg { width: 52px; height: 52px; }
  .watch-video-placeholder p { font-size: clamp(15px, 4.2vw, 22px); padding: 0 16px; }
  .watch-video-placeholder span { font-size: 12px; }
  .watch-fs,
  .watch-viewers { bottom: 10px; }
  .watch-fs { right: 10px; width: 36px; height: 36px; }
  .watch-viewers { left: 10px; font-size: 11px; }
  .watch-match-header { padding: 14px 12px 12px; }
  .watch-kicker {
    margin-bottom: 12px;
    font-size: 11px;
    letter-spacing: .1em;
  }
  .watch-scoreboard {
    grid-template-columns: minmax(0, 1fr) 1fr auto 1fr minmax(0, 1fr);
    gap: 6px;
    max-width: none;
  }
  .watch-team { font-size: 13px; gap: 6px; }
  .watch-team img { width: 48px; height: 32px; }
  .watch-score-num { font-size: clamp(24px, 7vw, 36px); }
  .watch-vs { font-size: 11px; }
  .watch-meta {
    margin-top: 10px;
    gap: 6px 10px;
    font-size: 11px;
  }
  .watch-chat-card {
    min-height: clamp(380px, 56dvh, 620px);
    height: clamp(380px, 56dvh, 620px);
    border-radius: 0;
    border-top: 1px solid var(--line);
  }
  .watch-hearts { bottom: 64px; }
  .watch-chat-messages { padding: 8px 10px; }
  .watch-chat-form,
  .watch-chat-gate { padding: 10px; }
  .watch-chat-gate .btn-login { width: auto; }
  .watch-stats-toggle { padding: 12px 14px; font-size: 13px; }
  .watch-stat-row { padding: 10px 12px; }
}
@media (max-width: 560px) {
  .topbar-tools .icon-btn { display: none; }
  .btn-login { padding: 0; width: 38px; height: 38px; justify-content: center; max-width: none; }
  .btn-login span { display: none !important; }
  .search { width: auto; min-width: 0; padding: 7px 10px; }
  .brand-logo { height: 48px; }
  .site-footer .brand-logo { height: 56px; }
  .live-grid { grid-template-columns: 1fr; gap: 12px; }
  .hscroll {
    grid-auto-columns: minmax(42vw, 160px);
    margin-inline: 0;
    padding-inline: 2px;
  }
  .hero-arrow { width: 34px; height: 34px; font-size: 20px; }
  .hero-prev { left: 8px; }
  .hero-next { right: 8px; }
  .footer-grid { grid-template-columns: 1fr; }
  .league-label { display: none; }
  .watch-stage {
    max-height: none;
    aspect-ratio: 16 / 9;
  }
  .watch-team strong {
    font-size: 12px;
    line-height: 1.25;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .watch-chat-card {
    min-height: clamp(360px, 54dvh, 560px);
    height: clamp(360px, 54dvh, 560px);
  }
  .watch-stat-top { grid-template-columns: 48px minmax(0, 1fr) 48px; }
  .site-footer { margin-top: 18px; padding-top: 22px; }
}
