/* =============================================================
   watch.css - load AFTER style.css and brand.css
   Styles for watch.html. The .nav-live rules at the top are the
   same ones you paste into brand.css for the navbar button.
   ============================================================= */
.nav-live { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #e5484d; box-shadow: 0 0 0 0 rgba(229,72,77,.6); animation: livePulse 1.6s infinite; flex: 0 0 auto; }
@keyframes livePulse { 70% { box-shadow: 0 0 0 8px rgba(229,72,77,0); } 100% { box-shadow: 0 0 0 0 rgba(229,72,77,0); } }
body:not(.light-mode) .navbar .nav-link.nav-live { color: #f0d58a !important; }
body.light-mode .navbar .nav-link.nav-live { color: #8a6812 !important; }

body.watch-body {
    --w-bg: #0f1216; --w-surface: #171b21; --w-surface2: #1d2229; --w-line: #262c34;
    --w-text: #e6e9ed; --w-muted: #98a2ae; --w-gold: #d4b155; --w-gold-fg: #1b1608;
    --w-tint: rgba(212,177,85,.10); --w-live: #e5484d; --w-shadow: 0 12px 34px rgba(0,0,0,.4);
    background: var(--w-bg) !important; color: var(--w-text);
}
body.watch-body.light-mode {
    --w-bg: #f3f4f7; --w-surface: #ffffff; --w-surface2: #faf7ec; --w-line: #e2e6ec;
    --w-text: #1f2328; --w-muted: #5d6671; --w-gold: #a37b1b; --w-gold-fg: #ffffff;
    --w-tint: rgba(163,123,27,.09); --w-shadow: 0 12px 30px rgba(31,35,40,.12);
}
.watch-body svg.dx-i { flex: 0 0 auto; }
.w-main { padding-top: 26px; padding-bottom: 16px; }

/* hero */
.w-hero { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.w-eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: .74rem; letter-spacing: 2.4px; text-transform: uppercase; font-weight: 800; color: var(--w-gold); margin-bottom: 8px; }
.w-hero h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 800; margin: 0 0 6px; color: var(--w-text) !important; letter-spacing: -.4px; }
.w-hero p { margin: 0; color: var(--w-muted); max-width: 56ch; }
.w-demo { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: var(--w-tint); border: 1px dashed var(--w-gold); font-size: .85rem; color: var(--w-text); }
.w-demo svg { color: var(--w-gold); }

/* sport tabs */
.w-sports { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.w-sport { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--w-line); background: var(--w-surface); color: var(--w-text); text-align: left; cursor: pointer; transition: transform .16s, border-color .16s, box-shadow .16s; }
.w-sport:hover { transform: translateY(-3px); border-color: var(--w-gold); }
.w-sport.on { border-color: var(--w-gold); background: linear-gradient(135deg, var(--w-tint), transparent 80%), var(--w-surface); box-shadow: 0 0 0 1px var(--w-gold) inset; }
.w-sport-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--w-tint); color: var(--w-gold); flex: 0 0 auto; }
.w-sport b { display: block; font-size: 1rem; }
.w-sport small { display: block; color: var(--w-muted); font-size: .78rem; margin-top: 1px; }
.w-sport .w-livepill { position: absolute; top: 10px; right: 10px; }
.w-livepill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: rgba(229,72,77,.14); color: var(--w-live); font-weight: 800; font-size: .68rem; letter-spacing: .8px; }
@media (max-width: 991.98px) { .w-sports { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479.98px) { .w-sport { padding: 12px; gap: 10px; } .w-sport-ico { width: 40px; height: 40px; } }

/* layout */
.w-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; }
@media (max-width: 991.98px) { .w-layout { grid-template-columns: 1fr; } }

/* player */
.w-player { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #07090c; border: 1px solid var(--w-line); box-shadow: var(--w-shadow); }
.w-player video, .w-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.w-state { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; color: #e6e9ed;
    background: radial-gradient(520px 260px at 50% 0%, rgba(212,177,85,.22), transparent 70%), linear-gradient(160deg, #14181d, #0b0e12); }
.w-state-inner { max-width: 440px; }
.w-state .w-bigico { width: 72px; height: 72px; border-radius: 22px; display: inline-grid; place-items: center; background: rgba(212,177,85,.14); color: #d4b155; margin-bottom: 14px; }
.w-state h3 { font-size: clamp(1.05rem, 2.6vw, 1.4rem); font-weight: 800; margin: 0 0 6px; color: #fff !important; }
.w-state p { margin: 0 0 14px; color: #aab3bd; font-size: .92rem; line-height: 1.5; }
.w-count { display: flex; justify-content: center; gap: 10px; margin: 10px 0 14px; }
.w-count div { min-width: 62px; padding: 9px 6px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.w-count b { display: block; font-size: 1.5rem; font-variant-numeric: tabular-nums; color: #f0d58a; line-height: 1.1; }
.w-count small { display: block; font-size: .64rem; letter-spacing: 1.4px; text-transform: uppercase; color: #8f99a5; }
@media (max-width: 479.98px) { .w-count div { min-width: 52px; } .w-count b { font-size: 1.2rem; } }
.w-unmute { position: absolute; left: 12px; bottom: 56px; z-index: 3; display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 999px; border: 0; background: rgba(11,14,18,.86); color: #f0d58a; font-weight: 700; font-size: .82rem; cursor: pointer; backdrop-filter: blur(6px); }
.w-corner { position: absolute; left: 12px; top: 12px; z-index: 3; }
.w-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 12px; border: 1px solid transparent; font-weight: 700; font-size: .9rem; cursor: pointer; text-decoration: none; transition: transform .15s, filter .15s, border-color .15s; }
.w-btn:hover { transform: translateY(-2px); }
.w-btn-gold { background: var(--w-gold); color: var(--w-gold-fg) !important; }
.w-btn-gold:hover { filter: brightness(1.1); }
.w-btn-ghost { background: transparent; color: var(--w-text) !important; border-color: var(--w-line); }
.w-btn-ghost:hover { border-color: var(--w-gold); color: var(--w-gold) !important; }
.w-state .w-btn-ghost { color: #e6e9ed !important; border-color: rgba(255,255,255,.2); }
.w-btn:focus-visible, .w-sport:focus-visible, .w-item:focus-visible, .w-unmute:focus-visible { outline: 3px solid var(--w-gold); outline-offset: 2px; }

/* meta under player */
.w-meta { padding: 16px 4px 0; }
.w-meta-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 8px; }
.w-badge { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 999px; font-weight: 800; font-size: .72rem; letter-spacing: 1px; text-transform: uppercase; background: var(--w-tint); color: var(--w-gold); }
.w-badge.live { background: var(--w-live); color: #fff; }
.w-badge.ended { background: rgba(138,147,158,.18); color: var(--w-muted); }
.w-when { color: var(--w-muted); font-size: .9rem; }
.w-meta h2 { font-size: clamp(1.15rem, 2.6vw, 1.55rem); font-weight: 800; margin: 0 0 4px; color: var(--w-text) !important; }
.w-meta p { margin: 0 0 12px; color: var(--w-muted); }
.w-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* menu */
.w-menu { background: var(--w-surface); border: 1px solid var(--w-line); border-radius: 18px; overflow: hidden; }
.w-menu-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; background: var(--w-surface2); border-bottom: 1px solid var(--w-line); }
.w-menu-head h3 { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 1rem; font-weight: 800; color: var(--w-text) !important; }
.w-menu-head h3 svg { color: var(--w-gold); }
.w-menu-head span { color: var(--w-muted); font-size: .82rem; }
.w-menu-list { max-height: 560px; overflow-y: auto; padding: 8px; }
.w-day { padding: 12px 8px 6px; font-size: .7rem; letter-spacing: 1.8px; text-transform: uppercase; font-weight: 800; color: var(--w-muted); }
.w-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 10px; align-items: center; width: 100%; text-align: left; padding: 10px; border-radius: 12px; border: 1px solid transparent; background: transparent; color: var(--w-text); cursor: pointer; transition: background .15s, border-color .15s; }
.w-item:hover { background: var(--w-tint); }
.w-item.on { background: var(--w-tint); border-color: var(--w-gold); }
.w-time { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--w-gold); font-size: 1rem; }
.w-item b { display: block; font-size: .92rem; line-height: 1.25; overflow-wrap: anywhere; }
.w-item small { display: block; color: var(--w-muted); font-size: .76rem; margin-top: 2px; }
.w-pill { padding: 3px 9px; border-radius: 999px; font-size: .68rem; font-weight: 800; letter-spacing: .6px; white-space: nowrap; background: var(--w-tint); color: var(--w-gold); }
.w-pill.live { background: var(--w-live); color: #fff; }
.w-pill.ended { background: rgba(138,147,158,.18); color: var(--w-muted); }
.w-empty { padding: 26px 16px; text-align: center; color: var(--w-muted); line-height: 1.55; }
.w-tz { margin: 0; padding: 10px 16px 14px; color: var(--w-muted); font-size: .78rem; border-top: 1px solid var(--w-line); }

/* follow */
.w-follow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; padding: 20px 24px; border-radius: 18px; border: 1px solid var(--w-line); background: radial-gradient(400px 160px at 0% 0%, rgba(212,177,85,.16), transparent 70%), var(--w-surface); }
.w-follow h3 { margin: 0 0 3px; font-size: 1.05rem; font-weight: 800; color: var(--w-text) !important; }
.w-follow p { margin: 0; color: var(--w-muted); font-size: .9rem; }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } .w-sport, .w-btn { transition: none; } }

/* small screens */
@media (max-width: 575.98px) {
    .w-sport .w-livepill { top: 8px; right: 8px; padding: 3px 6px; font-size: 0; gap: 0; }
    .w-sport .w-livepill .live-dot { margin: 0; }
    .w-state { padding: 12px; }
    .w-state .w-bigico { width: 48px; height: 48px; border-radius: 14px; margin-bottom: 8px; }
    .w-state .w-bigico svg { width: 24px; height: 24px; }
    .w-state p { font-size: .8rem; margin-bottom: 8px; }
    .w-state .w-btn { padding: 8px 14px; font-size: .82rem; }
    .w-count { margin: 6px 0 8px; gap: 6px; }
    .w-unmute { bottom: 10px; }
}

@media (max-width: 768px) {
    .navbar .container { flex-wrap: wrap; row-gap: 10px; justify-content: center; }
    .navbar-nav { flex-direction: row !important; flex-wrap: wrap; justify-content: center; }
}