﻿/* =========================================================
   WE Sports - Landing page
   Layout: purple broadcast chrome (util bar + header + scores strip)
   over a calm editorial body; one dark "studio" band for video.
   Mobile-first; breakpoints at 768px (tablet) and 1100px (desktop).
   ========================================================= */

:root {
  /* Brand (fixed in both themes) */
  --we-purple: #5b2c91;
  --we-violet: #7a45c2;
  --we-deep: #2b1157;
  --we-ink: #170a31;
  --we-yellow: #ffd200;
  --we-yellow-ink: #1b1030;

  /* Semantic */
  --live: #ff3b5c;
  --ok: #19b36b;
  --q-cl: #3b82f6;
  --q-cc: #f59e0b;

  /* Theme tokens (dark = default) */
  --bg: #0e0a1a;
  --surface: #18112a;
  --surface-2: #211835;
  --fg: #f1edf9;
  --muted: #a69cbd;
  --line: #2d2343;
  --accent: #c3a6f5;
  --chrome: #1b0d38;
  --chrome-2: #261349;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px -14px rgba(0, 0, 0, .7);

  /* Type */
  --f-display: "Readex Pro", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --f-body: "IBM Plex Sans Arabic", "Readex Pro", "Segoe UI", Tahoma, sans-serif;
  --f-num: "Saira Condensed", "Readex Pro", "Arial Narrow", sans-serif;

  /* Scale */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --gutter: 16px;
  --wrap: 1320px;

  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f4f2f8;
  --surface: #ffffff;
  --surface-2: #efebf6;
  --fg: #1a1230;
  --muted: #6c6383;
  --line: #e3ddee;
  --accent: #5b2c91;
  --chrome: #2b1157;
  --chrome-2: #3a1a70;
  --shadow: 0 1px 2px rgba(35, 15, 70, .06), 0 8px 24px -12px rgba(35, 15, 70, .18);
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
html, body { overflow-x: clip; }
.ws { overflow-x: clip; min-height: 100vh; padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
:where(.ws) a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
.ws h1, .ws h2, .ws h3, .ws h4 { font-family: var(--f-display); margin: 0; line-height: 1.35; text-wrap: balance; }
.ws p { margin: 0; }
.ws svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ws :focus-visible { outline: 2px solid var(--we-yellow); outline-offset: 2px; border-radius: 6px; }
.ws-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ws-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Buttons ---------- */
.ws-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding-inline: 18px; border-radius: 999px; border: 0;
  font: 600 14px/1 var(--f-display); cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, filter .15s ease;
}
.ws-btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.ws-btn--yellow { background: var(--we-yellow); color: var(--we-yellow-ink) !important; }
.ws-btn--block { width: 100%; height: 48px; font-size: 16px; }

.ws-iconbtn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none;
  border-radius: 999px; border: 0; background: transparent; color: inherit; cursor: pointer;
  transition: background .15s ease;
}
.ws-iconbtn:hover { background: rgba(255, 255, 255, .1); }
.ws-iconbtn--sm { width: 32px; height: 32px; }
.ws-iconbtn--sm svg { width: 18px; height: 18px; }

.ws-link { font: 500 13px var(--f-display); color: var(--accent); white-space: nowrap; }
.ws-link::after { content: " ←"; }
.ws-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Utility bar ---------- */
.ws-util { background: var(--we-ink); color: #cfc5e6; font-size: 13px; }
.ws-util__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 38px; }
.ws-portals { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.ws-portals::-webkit-scrollbar { display: none; }
.ws-portals__link {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px;
  white-space: nowrap; font-family: var(--f-display); font-weight: 500; transition: background .15s, color .15s;
}
.ws-portals__link:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.ws-portals__link.is-active { color: var(--we-yellow-ink); background: var(--we-yellow); }
.dot { width: 7px; height: 7px; border-radius: 50%; }
.dot--local { background: #e5484d; }
.dot--intl { background: #4fa3ff; }
.dot--plus { background: #2ed3a0; }
.ws-util__end { display: none; align-items: center; gap: 8px; }
.ws-util__date { opacity: .75; }

/* ---------- Header ---------- */
.ws-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
  background: var(--we-purple); color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}
.ws-header.is-scrolled { box-shadow: 0 8px 24px -10px rgba(20, 5, 50, .55); }
.ws-header__in { display: flex; align-items: center; gap: 8px; height: 60px; }
.ws-brand { display: flex; align-items: center; margin-inline-end: auto; }
.ws-brand img { height: 34px; width: auto; display: block; }
.ws-nav { display: none; }
.ws-header__end { display: flex; align-items: center; gap: 4px; }
.ws-header__login { display: none; }

/* ---------- Ticker ---------- */
.ws-ticker { background: var(--chrome); color: #fff; border-top: 1px solid rgba(255, 255, 255, .06); }
.ws-ticker__in { display: flex; align-items: center; gap: 12px; height: 40px; }
.ws-ticker__tag {
  flex: none; background: var(--live); color: #fff; font: 600 12px/1 var(--f-display);
  padding: 6px 10px; border-radius: 6px; letter-spacing: .02em;
}
.ws-ticker__viewport { overflow: hidden; flex: 1; min-width: 0; mask-image: linear-gradient(to left, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.ws-ticker__track { display: flex; gap: 40px; width: max-content; animation: ws-ticker 45s linear infinite; font-size: 14px; }
.ws-ticker__track a { white-space: nowrap; opacity: .92; }
.ws-ticker__track a::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--we-yellow); margin-inline-end: 10px; vertical-align: middle; }
.ws-ticker__track a:hover { opacity: 1; text-decoration: underline; }
.ws-ticker:hover .ws-ticker__track { animation-play-state: paused; }
@keyframes ws-ticker { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ---------- Scores strip ---------- */
.ws-scores {
  background: linear-gradient(180deg, var(--chrome) 0%, var(--chrome-2) 100%);
  color: #fff; padding-block: 14px 18px;
}
.ws-scores__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.ws-scores__ctrl { display: flex; align-items: center; gap: 4px; }
.ws-scores__ctrl .ws-link { color: #d9c9ff; margin-inline-end: 8px; display: none; }
.ws-scores__ctrl .ws-iconbtn { display: none; background: rgba(255, 255, 255, .08); }

.ws-seg { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.ws-seg__btn {
  border: 0; background: transparent; color: #d9cfee; cursor: pointer;
  font: 500 13px/1 var(--f-display); padding: 9px 14px; border-radius: 999px; white-space: nowrap;
}
.ws-seg__btn small { font-size: 11px; opacity: .7; margin-inline-start: 4px; }
.ws-seg__btn.is-active { background: #fff; color: var(--we-deep); font-weight: 600; }
.ws-seg__btn.is-active small { color: var(--we-purple); opacity: 1; }

.ws-scores__track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.ws-scores__track::-webkit-scrollbar { display: none; }
.ws-scores__panel { display: flex; gap: 10px; width: max-content; }

.ws-mcard {
  scroll-snap-align: start; flex: none; width: 236px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--r-md); padding: 10px 12px; display: grid; gap: 6px;
  transition: background .15s, border-color .15s, transform .15s;
}
.ws-mcard:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .18); transform: translateY(-2px); }
.ws-mcard.is-live { border-color: rgba(255, 59, 92, .45); background: linear-gradient(180deg, rgba(255, 59, 92, .12), rgba(255, 255, 255, .05)); }
.ws-mcard__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 11.5px; color: #c9bde3; margin-bottom: 2px; }
.ws-mcard__comp { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-mcard__time { font: 700 15px/1 var(--f-num); color: var(--we-yellow); letter-spacing: .04em; }
.ws-mcard__ft { font-weight: 600; color: #b3a7cc; }
.ws-mcard__row { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 8px; }
.ws-mcard__team { font: 500 14px var(--f-display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-mcard__score { font: 800 20px/1 var(--f-num); min-width: 18px; text-align: center; font-variant-numeric: tabular-nums; }
.ws-mcard__score.is-dim { opacity: .55; }
.ws-mcard__score.is-empty { opacity: .35; font-weight: 600; }

.ws-live { display: inline-flex; align-items: center; gap: 6px; color: #fff; background: var(--live); font: 700 12px/1 var(--f-num); letter-spacing: .05em; padding: 4px 8px; border-radius: 6px; }
.ws-live i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: ws-pulse 1.2s ease-in-out infinite; }
.ws-live--ht { background: #f59e0b; color: #1b1030; font-family: var(--f-display); font-weight: 600; font-size: 11px; }
@keyframes ws-pulse { 50% { opacity: .25; } }

.ws-empty { display: flex; align-items: center; gap: 10px; color: #c9bde3; padding: 22px 4px; }
.ws-empty svg { opacity: .7; }

/* ---------- Logos ---------- */
.ws-logo-xs { width: 24px; height: 24px; object-fit: contain; flex: none; }
.ws-logo-lg { width: 72px; height: 72px; object-fit: contain; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .18)); }

/* ---------- Crests (prototype placeholders, unused in production) ---------- */
.ws-crest {
  display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; flex: none;
  background: var(--c1); color: var(--c2); font: 700 10px/1 var(--f-display);
  box-shadow: inset 0 0 0 2px var(--c2), 0 0 0 1px rgba(0, 0, 0, .15);
}
.ws-crest--xs { width: 22px; height: 22px; font-size: 9px; }
.ws-crest--lg { width: 64px; height: 64px; font-size: 20px; box-shadow: inset 0 0 0 4px var(--c2), 0 6px 18px -6px rgba(0, 0, 0, .35); }

/* ---------- Media placeholders (replaced by real images) ---------- */
.ws-media {
  position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-md); overflow: hidden; max-width: 100%;
  background:
    radial-gradient(120% 80% at var(--lx, 70%) 0%, rgba(255, 255, 255, .28), transparent 55%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 22px, transparent 22px 44px),
    linear-gradient(160deg, var(--a1, #3a1a70), var(--a2, #12081f));
}
.ws-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 120%, transparent 30%, rgba(255, 255, 255, .12) 30.3%, transparent 30.8%),
    linear-gradient(0deg, rgba(10, 4, 25, .35), transparent 50%);
}
.ws-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
a:hover > .ws-media img, a:hover .ws-media img { transform: scale(1.04); }
.ws-media::after { z-index: 1; pointer-events: none; }

.ws-play {
  position: absolute; z-index: 2; inset-block-end: 10px; inset-inline-start: 10px;
  width: 34px; height: 34px; border-radius: 50%; background: var(--we-yellow);
  box-shadow: 0 6px 16px -4px rgba(0, 0, 0, .5);
}
.ws-play::before { content: ""; position: absolute; inset: 0; margin: auto; width: 0; height: 0; border-block: 6px solid transparent; border-inline-end: 10px solid var(--we-yellow-ink); transform: translateX(-1px); }
.ws-play--lg { width: 64px; height: 64px; inset: 0; margin: auto; }
.ws-play--lg::before { border-block-width: 11px; border-inline-end-width: 18px; }
.ws-dur { position: absolute; z-index: 2; inset-block-end: 10px; inset-inline-end: 10px; background: rgba(10, 4, 25, .75); color: #fff; font: 600 12px/1 var(--f-num); letter-spacing: .05em; padding: 4px 7px; border-radius: 5px; }

/* ---------- Tags / meta ---------- */
.ws-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.ws-tag { display: inline-block; font: 600 11.5px/1 var(--f-display); padding: 6px 9px; border-radius: 6px; background: rgba(255, 255, 255, .16); color: #fff; backdrop-filter: blur(6px); }
.ws-tag--yellow { background: var(--we-yellow); color: var(--we-yellow-ink); }
.ws-kicker { display: block; font: 600 12px var(--f-display); color: var(--accent); margin-bottom: 4px; letter-spacing: .01em; }
.ws-meta { display: block; font-size: 12px; color: var(--muted); margin-top: 6px; }
.ws-eyebrow { display: inline-block; font: 600 12px var(--f-display); letter-spacing: .04em; color: var(--we-yellow); }

/* ---------- Sections ---------- */
.ws-section { margin-block: 36px; }
.ws-shead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.ws-shead__title { font-size: 22px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.ws-shead__title::before { content: ""; width: 6px; height: 22px; border-radius: 3px; background: linear-gradient(var(--we-yellow), var(--we-yellow) 50%, var(--we-purple) 50%); flex: none; }
.ws-shead__title--sm { font-size: 18px; }
.ws-shead__title--sm::before { height: 18px; }
.ws-shead__end { display: flex; gap: 6px; }
.ws-shead__end .ws-iconbtn { background: var(--surface); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); }
.ws-shead--light .ws-shead__title { color: #fff; }
.ws-shead--light .ws-link { color: #d9c9ff; }

/* ---------- Hero ---------- */
.ws-hero { display: grid; gap: 16px; margin-top: 20px; }
.ws-lead { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; color: #fff; isolation: isolate; }
.ws-media--lead { aspect-ratio: 4 / 5; border-radius: 0; }
.ws-lead::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(14, 5, 34, .95) 0%, rgba(14, 5, 34, .55) 45%, transparent 75%); }
.ws-lead__body { position: absolute; z-index: 2; inset-inline: 0; inset-block-end: 0; padding: 20px; display: grid; gap: 10px; }
.ws-lead__title { font-size: clamp(21px, 2.6vw + 12px, 38px); font-weight: 700; line-height: 1.3; }
.ws-lead__dek { color: #ddd3f0; font-size: 15px; display: none; max-width: 62ch; }
.ws-lead .ws-meta { color: #c9bde3; margin: 0; }
.ws-lead__title { transition: color .2s ease; }
.ws-lead:hover .ws-lead__title { color: var(--we-yellow); }

.ws-side { display: grid; gap: 2px; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.ws-side__item { display: grid; grid-template-columns: 112px 1fr; gap: 12px; align-items: start; padding: 12px; transition: background .15s; }
.ws-side__item + .ws-side__item { border-top: 1px solid var(--line); }
.ws-side__item:hover { background: var(--surface-2); }
.ws-side__item .ws-media { aspect-ratio: 4 / 3; border-radius: var(--r-sm); }
.ws-side__item .ws-play { width: 26px; height: 26px; inset-block-end: 6px; inset-inline-start: 6px; }
.ws-side__item .ws-play::before { border-block-width: 5px; border-inline-end-width: 8px; }
.ws-side__item h3 { font-size: 14.5px; font-weight: 600; }
.ws-side__item > div:last-child { min-width: 0; }

/* ---------- Portal gateways ---------- */
.ws-gates { display: grid; gap: 12px; }
.ws-gate {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  padding: 18px; border-radius: var(--r-lg); color: #fff;
  background: linear-gradient(135deg, var(--g1), var(--g2));
  transition: transform .2s ease, box-shadow .2s ease;
}
.ws-gate::before {
  content: ""; position: absolute; z-index: -1; inset-block: -40%; inset-inline-end: -20%; width: 60%;
  background: radial-gradient(circle, rgba(255, 255, 255, .18), transparent 60%);
}
.ws-gate:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -18px var(--g1); }
.ws-gate--local { --g1: #5b2c91; --g2: #8b1d3c; }
.ws-gate--intl { --g1: #3d1d82; --g2: #1d4fa8; }
.ws-gate--plus { --g1: #46207c; --g2: #0f7a63; }
.ws-gate__badge { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.ws-gate__badge svg { width: 28px; height: 28px; }
.flag-eg { display: grid; width: 30px; height: 21px; border-radius: 3px; overflow: hidden; }
.flag-eg i:nth-child(1) { background: #ce1126; }
.flag-eg i:nth-child(2) { background: #fff; }
.flag-eg i:nth-child(3) { background: #111; }
.ws-gate__txt { min-width: 0; }
.ws-gate__txt h3 { font-size: 19px; font-weight: 700; }
.ws-gate__txt p { font-size: 13px; color: rgba(255, 255, 255, .78); }
.ws-gate__cta { display: none; font: 600 13px var(--f-display); color: var(--we-yellow); }
.ws-gate__go { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .14); display: grid; place-items: center; font-size: 18px; transition: background .2s, color .2s; }
.ws-gate:hover .ws-gate__go { background: var(--we-yellow); color: var(--we-yellow-ink); }

/* ---------- Ads ---------- */
.ws-ad__img { display: block; width: 100%; height: auto; border-radius: var(--r-md); }
.ws-ad { margin-block: 28px; }
.ws-ad__label { display: block; font-size: 10.5px; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; text-align: center; }
.ws-ad__slot {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 18px; text-align: center;
  border-radius: var(--r-md); color: #fff; padding: 18px; min-height: 90px;
  background: radial-gradient(120% 140% at 85% 50%, #8a56d6, transparent 55%), var(--we-purple);
}
.ws-ad__slot--wide { aspect-ratio: 960 / 247; max-width: 100%; }
.ws-ad__slot--promo { aspect-ratio: 2000 / 514; max-width: 100%; background: radial-gradient(120% 140% at 15% 50%, #ffe259, transparent 55%), var(--we-yellow); color: var(--we-yellow-ink); }
.ws-ad__slot b { font: 700 30px/1 var(--f-display); }
.ws-ad__slot span { font: 600 clamp(14px, 1.6vw, 22px) var(--f-display); }
.ws-ad__slot em { font: 600 13px var(--f-display); font-style: normal; background: var(--we-yellow); color: var(--we-yellow-ink); padding: 8px 16px; border-radius: 999px; }
.ws-ad__slot--promo em { background: var(--we-purple); color: #fff; }

/* ---------- Competitions rail ---------- */
.ws-rail { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 8px; }
.ws-rail::-webkit-scrollbar { display: none; }
.ws-comp {
  scroll-snap-align: start; flex: none; width: 132px; display: grid; justify-items: center; gap: 10px;
  padding: 18px 10px 14px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow);
  font: 500 13px var(--f-display); text-align: center; transition: transform .15s, box-shadow .15s;
}
.ws-comp:hover { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--we-purple), var(--shadow); }
.ws-comp__logo { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--c1); color: #fff; font: 800 17px/1 var(--f-num); letter-spacing: .04em; box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .25); }
.ws-comp__logo--xs { width: 30px; height: 30px; font-size: 10px; }

/* ---------- News grid + sidebar ---------- */
.ws-split { display: grid; gap: 28px; }
.ws-split__main, .ws-split__side { min-width: 0; }
.ws-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.ws-card { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: start; }
.ws-card .ws-media { aspect-ratio: 4 / 3; border-radius: var(--r-sm); }
.ws-card__body { min-width: 0; }
.ws-card h3 { font-size: 15px; font-weight: 600; }
.ws-card:hover h3, .ws-side__item:hover h3, .ws-vitem:hover h4 { color: var(--accent); }
.ws-shead--light ~ * .ws-vitem:hover h4 { color: var(--we-yellow); }

.ws-split__side { display: grid; gap: 16px; align-content: start; }
.ws-panel { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 16px; }
.ws-panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.ws-chips { display: flex; gap: 6px; margin-bottom: 10px; overflow-x: auto; scrollbar-width: none; }
.ws-chip { border: 0; cursor: pointer; padding: 8px 14px; border-radius: 999px; background: var(--surface-2); color: var(--fg); font: 500 13px/1 var(--f-display); white-space: nowrap; }
.ws-chip.is-active { background: var(--we-purple); color: #fff; }
.ws-tablewrap { overflow-x: auto; }
.ws-table { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.ws-table th { font: 500 11.5px var(--f-display); color: var(--muted); text-align: center; padding: 8px 4px; border-bottom: 1px solid var(--line); }
.ws-table td { text-align: center; padding: 9px 4px; border-bottom: 1px solid var(--line); font-family: var(--f-display); }
.ws-table tr:last-child td { border-bottom: 0; }
.ws-table .t-team { text-align: start; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.ws-table td:first-child { position: relative; width: 28px; font-weight: 600; }
.ws-table tr.q-cl td:first-child::before, .ws-table tr.q-cc td:first-child::before { content: ""; position: absolute; inset-inline-start: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 2px; background: var(--q-cl); }
.ws-table tr.q-cc td:first-child::before { background: var(--q-cc); }
.ws-table b { font: 800 16px/1 var(--f-num); }
.ws-table tbody tr:hover { background: var(--surface-2); }
.ws-legend { display: flex; gap: 14px; font-size: 11.5px; color: var(--muted); margin-top: 10px; }
.ws-legend span { display: inline-flex; align-items: center; gap: 6px; }
.q { width: 8px; height: 8px; border-radius: 2px; }
.q.q-cl { background: var(--q-cl); }
.q.q-cc { background: var(--q-cc); }

.ws-scorers { list-style: none; margin: 0; padding: 0; display: grid; }
.ws-scorers li { display: grid; grid-template-columns: 22px 40px 1fr auto; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ws-scorers li:last-child { border-bottom: 0; }
.ws-scorers li:first-child .ws-avatar { background: var(--we-yellow); color: var(--we-yellow-ink); }
.ws-scorers b { display: block; font: 600 14px var(--f-display); }
.ws-scorers small { color: var(--muted); font-size: 12px; }
.ws-scorers__rank { font: 700 15px var(--f-num); color: var(--muted); text-align: center; }
.ws-scorers__val { font: 800 24px/1 var(--f-num); color: var(--accent); }
.ws-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font: 700 15px var(--f-display); color: var(--accent); }

/* ---------- Video band ---------- */
.ws-band {
  margin-block: 44px; padding-block: 32px 36px; color: #fff;
  background:
    radial-gradient(70% 90% at 90% 0%, rgba(122, 69, 194, .45), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(255, 210, 0, .08), transparent 60%),
    var(--we-ink);
}
.ws-vids { display: grid; gap: 18px; }
.ws-vfeat { display: grid; gap: 12px; }
.ws-media--wide { aspect-ratio: 16 / 9; border-radius: var(--r-lg); }
.ws-vfeat__body { display: grid; gap: 8px; justify-items: start; }
.ws-vfeat h3 { font-size: clamp(18px, 1.4vw + 10px, 26px); font-weight: 700; }
.ws-vfeat:hover h3 { color: var(--we-yellow); }
.ws-vlist { display: grid; gap: 12px; }
.ws-vitem { display: grid; grid-template-columns: 136px 1fr; gap: 12px; align-items: start; padding: 8px; border-radius: var(--r-md); transition: background .15s; }
.ws-vitem:hover { background: rgba(255, 255, 255, .06); }
.ws-vitem .ws-media { aspect-ratio: 16 / 10; border-radius: var(--r-sm); }
.ws-vitem .ws-play { width: 26px; height: 26px; inset-block-end: 6px; inset-inline-start: 6px; }
.ws-vitem .ws-play::before { border-block-width: 5px; border-inline-end-width: 8px; }
.ws-vitem .ws-dur { inset-block-end: 6px; inset-inline-end: 6px; font-size: 11px; }
.ws-vitem h4 { font-size: 14px; font-weight: 600; }
.ws-vitem > div:last-child { min-width: 0; }
.ws-band .ws-meta { color: #a99fc2; }

/* ---------- Predict & win ---------- */
.ws-predict {
  display: grid; gap: 22px; padding: 22px; border-radius: 24px; color: #fff; overflow: hidden; position: relative; isolation: isolate;
  background: linear-gradient(135deg, var(--we-purple) 0%, var(--we-deep) 100%);
}
.ws-predict::before {
  content: ""; position: absolute; z-index: -1; inset-block-start: -60px; inset-inline-start: -60px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 210, 0, .28), transparent 65%);
}
.ws-predict__intro { display: grid; gap: 10px; align-content: center; }
.ws-predict__title { font-size: clamp(28px, 2.4vw + 16px, 44px); font-weight: 700; }
.ws-predict__intro p { color: #ddd3f0; max-width: 46ch; }
.ws-predict__steps { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ws-predict__steps li { background: rgba(255, 255, 255, .1); padding: 8px 12px; border-radius: 10px; font-size: 13px; }
.ws-predict__steps b { font: 800 18px/1 var(--f-num); color: var(--we-yellow); margin-inline-end: 4px; }

.ws-pcard { background: var(--surface); color: var(--fg); border-radius: var(--r-lg); padding: 18px; display: grid; gap: 18px; box-shadow: 0 24px 50px -24px rgba(10, 2, 30, .7); }
.ws-pcard__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
.ws-countdown { display: inline-flex; gap: 6px; direction: ltr; }
.ws-countdown > span { display: grid; justify-items: center; min-width: 44px; padding: 5px 6px; border-radius: 8px; background: var(--surface-2); }
.ws-countdown b { font: 800 20px/1 var(--f-num); color: var(--accent); font-variant-numeric: tabular-nums; }
.ws-countdown small { font-size: 10px; color: var(--muted); }
.ws-countdown.is-over > span { opacity: .5; }
.ws-pcard__match { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.ws-pcard__team { display: grid; justify-items: center; gap: 8px; font: 600 15px var(--f-display); text-align: center; }
.ws-pcard__inputs { display: flex; align-items: center; gap: 6px; }
.ws-pcard__sep { font: 800 26px var(--f-num); color: var(--muted); }
.ws-score-in {
  width: 56px; height: 64px; border-radius: 14px; border: 2px solid var(--line); background: var(--surface-2); color: var(--fg);
  text-align: center; font: 800 32px/1 var(--f-num); -moz-appearance: textfield; appearance: textfield;
}
.ws-score-in::-webkit-outer-spin-button, .ws-score-in::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ws-score-in:focus { outline: none; border-color: var(--we-purple); box-shadow: 0 0 0 4px rgba(91, 44, 145, .18); }
.ws-pcard__note { text-align: center; font: 600 14px var(--f-display); color: var(--ok); }

/* ---------- Footer ---------- */
.ws-footer { background: var(--we-ink); color: #cfc5e6; margin-top: 44px; padding-top: 36px; }
.ws-footer__grid { display: grid; gap: 26px; grid-template-columns: 1fr 1fr; }
.ws-footer__brand { grid-column: 1 / -1; display: grid; gap: 12px; }
.ws-footer__brand img { height: 40px; width: auto; }
.ws-footer__brand p { max-width: 40ch; font-size: 14px; color: #a99fc2; }
.ws-footer nav { display: grid; gap: 8px; align-content: start; font-size: 14px; }
.ws-footer h4 { color: #fff; font-size: 14px; margin-bottom: 4px; }
.ws-footer nav a:hover { color: var(--we-yellow); }
.ws-footer__base { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 18px; margin-top: 28px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 12.5px; color: #8f85a8; }
.ws-footer__base img { width: 32px; height: 32px; }

/* ---------- Mobile tab bar ---------- */
.ws-tabbar {
  position: fixed; z-index: 50; inset-inline: 0; bottom: 0;
  display: grid; grid-template-columns: repeat(5, 1fr);
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, var(--we-ink) 92%, transparent); backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.ws-tabbar__item { display: grid; justify-items: center; gap: 2px; padding: 6px 2px; border-radius: 12px; color: #a99fc2; font: 500 11px var(--f-display); }
.ws-tabbar__item svg { width: 22px; height: 22px; }
.ws-tabbar__item.is-active { color: var(--we-yellow); }
.ws-tabbar__item.is-active svg { stroke-width: 2.2; }

/* ---------- Drawer ---------- */
.ws-drawer { position: fixed; inset: 0; z-index: 60; }
.ws-drawer__scrim { position: absolute; inset: 0; background: rgba(10, 3, 25, .65); backdrop-filter: blur(4px); animation: ws-fade .2s ease; }
.ws-drawer__panel {
  position: absolute; inset-block: 0; inset-inline-start: 0; width: min(360px, 88vw);
  display: flex; flex-direction: column; overflow: hidden; color: #fff; animation: ws-slide .25s ease;
  background: radial-gradient(120% 40% at 100% 0%, rgba(122, 69, 194, .35), transparent 60%), var(--we-ink);
  box-shadow: -20px 0 50px -20px rgba(0, 0, 0, .6);
}
.ws-drawer__head {
  display: flex; justify-content: space-between; align-items: center; flex: none;
  padding: calc(14px + env(safe-area-inset-top, 0px)) 16px 14px; border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.ws-drawer__head img { height: 30px; width: auto; }
.ws-drawer__head .ws-iconbtn { background: rgba(255, 255, 255, .08); }
.ws-drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 16px; display: grid; gap: 22px; align-content: start; }
.ws-drawer__label { font: 600 11.5px var(--f-display); color: #a99fc2; letter-spacing: .06em; margin: 0 0 8px; }

.ws-drawer__portals { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ws-drawer__portal {
  display: grid; gap: 8px; padding: 12px; border-radius: 14px; min-height: 84px; align-content: space-between;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08);
  font: 600 14px/1.3 var(--f-display); transition: background .15s, border-color .15s;
}
.ws-drawer__portal svg { width: 22px; height: 22px; color: #d9c9ff; }
.ws-drawer__portal:hover { background: rgba(255, 255, 255, .1); }
.ws-drawer__portal.is-active { background: var(--we-yellow); color: var(--we-yellow-ink) !important; border-color: transparent; }
.ws-drawer__portal.is-active svg { color: var(--we-yellow-ink); }
.ws-drawer__portal--local svg { color: #ff8a8f; }
.ws-drawer__portal--intl svg { color: #7cbcff; }
.ws-drawer__portal--plus svg { color: #5fe3b8; }

.ws-drawer__links { display: grid; background: rgba(255, 255, 255, .04); border-radius: 14px; overflow: hidden; }
.ws-drawer__links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 14px; font: 500 15px var(--f-display); }
.ws-drawer__links a + a { border-top: 1px solid rgba(255, 255, 255, .06); }
.ws-drawer__links a::after { content: "\2039"; font-size: 20px; line-height: 1; color: #8f85a8; }
.ws-drawer__links a:hover { background: rgba(255, 255, 255, .06); }
.ws-drawer__links .is-hot { color: var(--we-yellow); }

.ws-drawer__comps { display: grid; gap: 2px; }
.ws-drawer__comps a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; font: 500 14.5px var(--f-display); }
.ws-drawer__comps a:hover { background: rgba(255, 255, 255, .06); }
.ws-drawer__comps img { width: 34px; height: 34px; flex: none; object-fit: contain; background: #fff; border-radius: 50%; padding: 4px; }

.ws-drawer__foot { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(255, 255, 255, .08); }
.ws-drawer__theme { display: inline-flex; align-items: center; gap: 8px; border: 0; background: rgba(255, 255, 255, .08); color: #fff; padding: 9px 14px; border-radius: 999px; font: 500 13px var(--f-display); cursor: pointer; }
.ws-drawer__theme svg { width: 18px; height: 18px; }
.ws-drawer__terms { font-size: 13px; color: #a99fc2; }
.ws-drawer__terms:hover { color: #fff; }
@keyframes ws-fade { from { opacity: 0; } }
@keyframes ws-slide { from { transform: translateX(100%); } }

/* =========================================================
   Production additions (ASP.NET markup, real images, Bootstrap coexistence)
   ========================================================= */
.ws-lead, .ws-lead:hover, .ws-gate, .ws-gate:hover, .ws-vfeat:hover, .ws-vcard:hover, .ws-vitem:hover { color: #fff; }
.ws-card:hover, .ws-side__item:hover, .ws-comp:hover, .ws-table a:hover, .ws-scorers a:hover { color: var(--fg); }
.ws-mcard:hover, .ws-ticker__track a:hover, .ws-drawer a:hover, .ws-brand:hover { color: #fff; }
.ws-link:hover { color: var(--accent); }
.ws-shead--light .ws-link:hover, .ws-scores__ctrl .ws-link:hover { color: #fff; }
.ws-portals__link.is-active:hover { color: var(--we-yellow-ink); }
.ws-tabbar__item:hover { color: #fff; }
.ws-tabbar__item.is-active:hover { color: var(--we-yellow); }
.ws-predict__terms:hover { color: var(--we-yellow); }
.ws-iconbtn:hover { color: inherit; }
.ws ol, .ws ul { padding-inline-start: 0; margin: 0; }
.ws button { font-family: var(--f-display); }
.ws [id] { scroll-margin-top: 96px; }
.ws-header__avatar { display: inline-grid !important; }

/* Scores loading skeleton */
.ws-scores__loading { display: flex; gap: 10px; overflow: hidden; padding-top: 50px; }
.ws-skel { flex: none; width: 236px; height: 98px; border-radius: var(--r-md); background: linear-gradient(90deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .11), rgba(255, 255, 255, .05)); background-size: 200% 100%; animation: ws-shimmer 1.4s linear infinite; }
@keyframes ws-shimmer { to { background-position: -200% 0; } }

/* Match cards with real logos and server status labels */
.ws-mcard__comp { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.ws-mcard__comp img { width: 16px; height: 16px; object-fit: contain; flex: none; }
.ws-mcard__logo { width: 24px; height: 24px; object-fit: contain; }
.ws-mcard__liveimg { display: none; }
.ws-mcard__status { display: inline-flex; align-items: center; gap: 4px; flex: none; font: 600 12px/1 var(--f-display); color: #c9bde3; }
.ws-mcard__status:empty { display: none; }
.ws-mcard:not(.is-live):not(.is-finished) .ws-mcard__label { font: 700 15px/1 var(--f-num); color: var(--we-yellow); letter-spacing: .04em; }
.ws-mcard.is-live .ws-mcard__status { background: var(--live); color: #fff; padding: 4px 8px; border-radius: 6px; font-family: var(--f-num); font-weight: 700; }
.ws-mcard.is-live .ws-mcard__status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: ws-pulse 1.2s ease-in-out infinite; }
.ws-mcard.is-ht .ws-mcard__status { background: #f59e0b; color: #1b1030; }
.ws-mcard.is-ht .ws-mcard__status::before { display: none; }
.ws-mcard.is-finished { opacity: .92; }

/* Competitions with real logos */
.ws-comp__logo { background: #fff; padding: 10px; box-shadow: inset 0 0 0 1px var(--line); }
.ws-comp__logo img { width: 100%; height: 100%; object-fit: contain; }
.ws-comp__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; min-height: 2.8em; }

/* Standings + scorers */
.ws-chip { display: inline-flex; align-items: center; gap: 6px; }
.ws-chip img { width: 18px; height: 18px; object-fit: contain; background: #fff; border-radius: 50%; padding: 1px; }
.ws-table .t-team { display: table-cell; }
.ws-table .t-team a { display: inline-flex; align-items: center; gap: 8px; }
.ws-table .t-team a:hover span { color: var(--accent); }
.ws-league__more { display: inline-block; margin-top: 10px; }
.ws-league__sub { font-size: 15px; font-weight: 600; margin: 18px 0 4px; }
.ws-scorers li a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-scorers li a:hover b { color: var(--accent); }
img.ws-avatar { object-fit: cover; background: var(--surface-2); }
.ws-scorers__val small { font: 500 11px var(--f-body); color: var(--muted); margin-inline-start: 3px; }
.ws-scorers li:first-child .ws-scorers__val { color: var(--we-purple); }
.ws-scorers li:first-child img.ws-avatar { box-shadow: 0 0 0 2px var(--we-yellow); }

/* Videos */
.ws-kicker--yellow { color: var(--we-yellow); }
.ws-vgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); }
.ws-vgrid:empty { display: none; }
.ws-vcard { display: grid; gap: 8px; align-content: start; }
.ws-vcard .ws-media { aspect-ratio: 16 / 10; border-radius: var(--r-md); }
.ws-vcard .ws-play { width: 28px; height: 28px; }
.ws-vcard .ws-play::before { border-block-width: 5px; border-inline-end-width: 8px; }
.ws-vcard h4 { font-size: 13.5px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ws-vcard:hover h4 { color: var(--we-yellow); }
.ws-vcard .ws-meta { margin-top: 0; }

/* Prediction card (content sits inside the UpdatePanel div) */
.ws-pcard > div { display: grid; gap: 18px; }
.ws-pcard__comp { display: inline-flex; align-items: center; gap: 8px; font: 700 16px var(--f-num); color: var(--fg); }
.ws-pcard__comp img { width: 24px; height: 24px; object-fit: contain; }
.ws-countdown__over { font: 600 12.5px var(--f-display); background: var(--surface-2); color: var(--muted); padding: 7px 12px; border-radius: 999px; }
.ws-pcard .alert { margin: 0; border-radius: var(--r-md); font-family: var(--f-display); text-align: center; }
.ws-pcard .alert:empty, .ws-pcard div[class=""]:empty { display: none; }
.ws-predict__terms { color: var(--we-yellow); font: 500 13px var(--f-display); text-decoration: underline !important; text-underline-offset: 4px; justify-self: start; }
.ws-empty--card { color: var(--muted); justify-content: center; padding: 34px 8px; }

.ws-pcard.is-closed .ws-btn--yellow, .ws-pcard.is-closed .ws-score-in { opacity: .5; pointer-events: none; }

/* Buttons used in the modal */
.ws-btn--purple { background: var(--we-purple); color: #fff !important; }
.ws-btn--ghost { background: var(--surface-2); color: var(--fg) !important; }

/* Bootstrap modal restyle */
.ws-modal .modal-content { border: 0; border-radius: var(--r-lg); background: var(--surface); color: var(--fg); font-family: var(--f-body); box-shadow: 0 30px 60px -20px rgba(10, 2, 30, .6); }
.ws-modal .modal-header, .ws-modal .modal-footer { border-color: var(--line); }
.ws-modal .modal-title { font: 700 18px var(--f-display); }
.ws-modal__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* UpdateProgress overlay */
.ws-progress { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; background: rgba(14, 6, 32, .45); backdrop-filter: blur(2px); }
.ws-progress__box { display: flex; align-items: center; gap: 12px; background: var(--surface); color: var(--fg); padding: 16px 22px; border-radius: var(--r-lg); font: 500 14px var(--f-display); box-shadow: var(--shadow); }
.ws-progress__spin { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--surface-2); border-top-color: var(--we-purple); animation: ws-spin .8s linear infinite; }
@keyframes ws-spin { to { transform: rotate(360deg); } }

/* =========================================================
   Tablet >= 768px
   ========================================================= */
@media (min-width: 768px) {
  :root { --gutter: 24px; }
  .ws-util__end { display: flex; }
  .ws-header__in { height: 66px; }
  .ws-brand img { height: 38px; }
  .ws-header__login { display: inline-flex; }
  .ws-header__avatar { display: none; }
  .ws-scores__ctrl .ws-link, .ws-scores__ctrl .ws-iconbtn { display: inline-flex; }
  .ws-scores__ctrl .ws-iconbtn { display: inline-grid; }

  .ws-hero { grid-template-columns: 1fr; }
  .ws-media--lead { aspect-ratio: 16 / 9; }
  .ws-lead__body { padding: 28px; }
  .ws-lead__dek { display: block; }
  .ws-side { grid-template-columns: 1fr 1fr; gap: 0; }
  .ws-side__item + .ws-side__item { border-top: 0; }
  .ws-side__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .ws-side__item:nth-child(even) { border-inline-start: 1px solid var(--line); }

  .ws-gates { grid-template-columns: repeat(3, 1fr); }
  .ws-gate { grid-template-columns: 1fr auto; grid-template-rows: auto auto auto; padding: 22px; min-height: 200px; align-content: space-between; }
  .ws-gate__badge { grid-column: 1; grid-row: 1; }
  .ws-gate__go { grid-column: 2; grid-row: 1; align-self: start; }
  .ws-gate__txt { grid-column: 1 / -1; grid-row: 2; }
  .ws-gate__cta { display: block; grid-column: 1; grid-row: 3; }

  .ws-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 18px; }
  .ws-card { grid-template-columns: 1fr; gap: 10px; }
  .ws-card .ws-media { aspect-ratio: 16 / 10; border-radius: var(--r-md); }
  .ws-card h3 { font-size: 16px; }

  .ws-split__side { grid-template-columns: 1fr 1fr; }

  .ws-predict { padding: 34px; grid-template-columns: 1fr 1fr; }
  .ws-pcard { padding: 22px; }
  .ws-score-in { width: 64px; height: 72px; font-size: 36px; }

  .ws-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .ws-footer__brand { grid-column: auto; }
  .ws-theme-mobile { display: none; }
  .ws-vgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* =========================================================
   Desktop >= 1100px
   ========================================================= */
@media (min-width: 1100px) {
  :root { --gutter: 32px; }
  .ws { padding-bottom: 0; }
  .ws-tabbar { display: none; }
  .ws-burger { display: none; }
  .ws-header__in { height: 72px; gap: 24px; }
  .ws-brand { margin-inline-end: 0; }
  .ws-nav { display: flex; align-items: stretch; gap: 2px; margin-inline-end: auto; height: 100%; }
  .ws-nav__link {
    position: relative; display: flex; align-items: center; padding-inline: 13px;
    font: 500 15px var(--f-display); color: #e7defa; transition: color .15s;
  }
  .ws-nav__link::after { content: ""; position: absolute; inset-inline: 13px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--we-yellow); transform: scaleX(0); transition: transform .2s ease; }
  .ws-nav__link:hover { color: #fff; }
  .ws-nav__link:hover::after, .ws-nav__link.is-active::after { transform: scaleX(1); }
  .ws-nav__link.is-active { color: #fff; font-weight: 600; }
  .ws-nav__link--hot { color: var(--we-yellow); }

  .ws-scores__track { margin-inline: 0; padding-inline: 0; }
  .ws-mcard { width: 248px; }

  .ws-hero { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 20px; margin-top: 28px; }
  .ws-media--lead { aspect-ratio: auto; height: 100%; min-height: 500px; }
  .ws-lead__body { padding: 36px; }
  .ws-side { grid-template-columns: 1fr; }
  .ws-side__item { grid-template-columns: 128px 1fr; padding: 14px; }
  .ws-side__item:nth-child(even) { border-inline-start: 0; }
  .ws-side__item + .ws-side__item { border-top: 1px solid var(--line); }
  .ws-side__item h3 { font-size: 15px; }

  .ws-section { margin-block: 48px; }
  .ws-shead__title { font-size: 26px; }
  .ws-shead__title::before { height: 26px; }
  .ws-rail { margin-inline: 0; padding-inline: 0; }
  .ws-comp { width: calc((100% - 80px) / 9); min-width: 120px; }

  .ws-split { grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; }
  .ws-split__side { grid-template-columns: 1fr; position: sticky; top: 92px; align-self: start; }
  .ws-grid { grid-template-columns: repeat(3, 1fr); }

  .ws-band { padding-block: 48px 56px; }
  .ws-vids { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 26px; }
  .ws-vlist { align-content: start; gap: 6px; }

  .ws-predict { padding: 48px; grid-template-columns: 1fr 1.05fr; gap: 48px; }
  .ws-pcard { padding: 26px; }
  .ws-vgrid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
}

@media (min-width: 1440px) {
  .ws-media--lead { min-height: 560px; }
}

@media (prefers-reduced-motion: reduce) {
  .ws *, .ws *::before, .ws *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .ws-ticker__track { flex-wrap: nowrap; }
}

/* =========================================================
   v1.5 - Video block (featured + side list)
   ========================================================= */
/* Featured video + side list: title overlays the image, side items share the featured height equally */
.ws-vfeat { position: relative; border-radius: var(--r-lg); overflow: hidden; gap: 0; box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .8); }
.ws-vfeat .ws-media--wide { border-radius: 0; }
.ws-vfeat__body { position: absolute; z-index: 2; inset-inline: 0; bottom: 0; padding: 70px 20px 18px; background: linear-gradient(180deg, transparent, rgba(10, 4, 24, .55) 40%, rgba(10, 4, 24, .94)); pointer-events: none; }
.ws-vfeat h3 { color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .5); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ws-vfeat .ws-play--lg { transition: transform .2s ease; }
.ws-vfeat:hover .ws-play--lg { transform: scale(1.08); }
.ws-vlist { gap: 10px; }
.ws-vitem { grid-template-columns: 42% 1fr; align-items: center; gap: 14px; padding: 8px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); border-radius: 14px; min-height: 0; overflow: hidden; }
.ws-vitem:hover { background: rgba(255, 255, 255, .1); }
.ws-vitem .ws-media { aspect-ratio: 16 / 9; border-radius: 10px; }
.ws-vitem h4 { font-size: 14.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 4px; }
@media (min-width: 1100px) {
  .ws-vids { align-items: stretch; }
  .ws-vlist { align-content: stretch; grid-auto-rows: minmax(0, 1fr); gap: 12px; height: 100%; }
  .ws-vitem { height: 100%; }
  .ws-vitem .ws-media { aspect-ratio: auto; height: 100%; min-height: 0; }
  .ws-vitem h4 { -webkit-line-clamp: 3; font-size: 15px; }
  .ws-vfeat__body { padding: 90px 28px 24px; }
}

/* =========================================================
   v1.6 - League standings component, live score flash
   ========================================================= */
/* Grid children must be allowed to shrink, otherwise the chip row stretches the card past the screen */
.ws-split__side > *, .ws-panel { min-width: 0; }
@media (min-width: 768px) and (max-width: 1099px) { .ws-split__side { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* League chips: swipeable rail with snap and soft edges */
.ws-chips--rail {
  gap: 8px; margin: 0 -16px 14px; padding: 2px 16px 6px; scroll-snap-type: x proximity; scroll-padding-inline: 16px; overscroll-behavior-x: contain;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
}
.ws-chips--rail::-webkit-scrollbar { display: none; }
.ws-chips--rail .ws-chip { flex: none; scroll-snap-align: start; height: 40px; padding: 0 14px 0 16px; gap: 8px; font-size: 13.5px; box-shadow: inset 0 0 0 1px var(--line); transition: background .15s, box-shadow .15s; }
.ws-chips--rail .ws-chip img { width: 24px; height: 24px; padding: 2px; }
.ws-chips--rail .ws-chip:hover { box-shadow: inset 0 0 0 1px var(--we-purple); }
.ws-chips--rail .ws-chip.is-active { background: var(--we-purple); color: #fff; box-shadow: 0 8px 18px -10px rgba(91, 44, 145, .9); }

/* Standings table: rank pills, played / won / drawn / lost, leader highlight */
.ws-league .ws-table { font-size: 13.5px; }
.ws-league .ws-table th { padding: 8px 2px; }
.ws-league .ws-table td { padding: 10px 2px; }
.ws-league .ws-table th:not(.t-team), .ws-league .ws-table td:not(.t-team) { width: 34px; }
.ws-league .ws-table td:first-child { width: 36px; }
.ws-league .ws-table .t-team { max-width: 0; width: auto; }
.ws-league .ws-table .t-team a { max-width: 100%; }
.ws-league .ws-table .t-team span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-league .ws-table .ws-logo-xs { width: 26px; height: 26px; flex: none; object-fit: contain; }
.ws-rank { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--surface-2); font: 700 13px/1 var(--f-num); }
.ws-table tr.is-top .ws-rank { background: var(--we-yellow); color: var(--we-yellow-ink); }
.ws-table tr.is-top td { background: linear-gradient(90deg, transparent, rgba(255, 210, 0, .06)); }
.ws-league .ws-table td.t-w { color: #2fd18a; }
.ws-league .ws-table td.t-l { color: #ff6b84; }
.ws-league .ws-table b { font-size: 17px; color: var(--fg); }
.ws-league__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 8px 14px; border-radius: 999px; background: var(--surface-2); }
.ws-league__more:hover { background: var(--we-purple); color: #fff; }

/* Live refresh: brief highlight when a score / status changes */
.ws-fx.is-updated .ws-fx__mid { animation: ws-flash 1.6s ease; }
@keyframes ws-flash { 0%, 40% { background: rgba(255, 210, 0, .18); border-radius: 10px; } 100% { background: transparent; } }
@media (prefers-reduced-motion: reduce) { .ws-fx.is-updated .ws-fx__mid { animation: none; } }

img[src*="/Competitions/" i] { background: #fff; border-radius: 50%; padding: 3px; object-fit: contain; box-sizing: border-box; }
:root:not([data-theme="light"]) img[src*="/Teams/" i] { filter: drop-shadow(0 0 .8px rgba(255, 255, 255, .95)) drop-shadow(0 0 .8px rgba(255, 255, 255, .95)) drop-shadow(0 0 4px rgba(255, 255, 255, .2)); }

/* =========================================================
   v1.7 - Menu icons, rail arrows (desktop), empty states
   ========================================================= */
.ws-nav__ico, .ws-drawer__ico { flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ws-nav__link { gap: 7px; }
.ws-nav__ico { width: 18px; height: 18px; opacity: .85; }
.ws-nav__link:hover .ws-nav__ico, .ws-nav__link.is-active .ws-nav__ico { opacity: 1; color: var(--we-yellow); }
.ws-nav__link--hot .ws-nav__ico { color: var(--we-yellow); opacity: 1; }
@media (min-width: 1100px) and (max-width: 1279px) { .ws-nav__link { padding-inline: 9px; font-size: 14px; } .ws-nav__ico { width: 16px; height: 16px; } }
.ws-drawer__links a { display: flex; align-items: center; gap: 12px; }
.ws-drawer__ico { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--surface-2); color: var(--accent); }
.ws-drawer__links a.is-hot .ws-drawer__ico, .ws-drawer__links a:hover .ws-drawer__ico { background: var(--we-yellow); color: var(--we-yellow-ink); }

/* Horizontal rails: arrow buttons on devices with a mouse (added by JS when the rail overflows) */
.ws-railwrap { position: relative; }
.ws-railbtn {
  position: absolute; z-index: 3; top: calc(50% - 4px); transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; border: 0;
  display: none; place-items: center; background: var(--surface); color: var(--fg); cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .35), inset 0 0 0 1px var(--line); transition: background .15s, opacity .15s;
}
.ws-railbtn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ws-railbtn:hover { background: var(--we-purple); color: #fff; }
.ws-railbtn--prev { inset-inline-start: -6px; }
.ws-railbtn--next { inset-inline-end: -6px; }
@media (hover: hover) and (pointer: fine) {
  .ws-railwrap.is-scrollable .ws-railbtn { display: grid; }
  .ws-railbtn:disabled { opacity: 0; pointer-events: none; }
  .ws-chips--rail { cursor: grab; }
  .ws-chips--rail.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
}

/* Empty states (no standings / scorers / assists) */
.ws-table__empty { display: none; }
.ws-table__empty:only-child { display: table-row; }
.ws-table__empty td { padding: 26px 10px !important; text-align: center !important; color: var(--muted); font: 500 13.5px var(--f-display); background: var(--surface-2); border-radius: 12px; }
.ws-scorers__empty { display: none !important; }
.ws-scorers__empty:only-child { display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 26px 12px; margin-top: 6px; border-radius: 14px; background: var(--surface-2); color: var(--muted); font: 500 13.5px var(--f-display); text-align: center; }
.ws-scorers__empty svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; opacity: .8; }

/* Prediction card label */
.ws-pcard__kick::before { content: "الموعد "; }
.ws-drawer__links a { justify-content: flex-start; } .ws-drawer__links a > span { flex: 1; }
/* v1.7 fixes: icon sizes beat the generic ".ws svg" rule; labels never wrap; icons only where the bar has room */
.ws .ws-nav__ico { width: 18px; height: 18px; }
.ws .ws-drawer__ico { width: 34px; height: 34px; padding: 8px; box-sizing: border-box; }
.ws-nav__link { white-space: nowrap; }
@media (min-width: 1100px) and (max-width: 1279px) { .ws .ws-nav__ico { display: none; } }

/* =========================================================
   Prediction card (same as the portal home pages)
   ========================================================= */
/* ---------- Predictions: page head ---------- */
.ws-phead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; }
.ws-phead__lead { color: #d6cbef; font-size: 14.5px; max-width: 560px; margin-top: 4px; }
.ws-phead__me { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding-inline: 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; font: 600 14px var(--f-display); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.ws-phead__me svg { width: 20px; height: 20px; fill: none; stroke: var(--we-yellow); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ws-phead__me:hover { color: var(--we-yellow); background: rgba(255, 255, 255, .14); }
.ws-ppoints { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ws-ppoints li { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.ws-ppoints b { font: 800 28px/1 var(--f-num); color: var(--we-yellow); }
.ws-ppoints span { font-size: 12.5px; color: #d6cbef; line-height: 1.4; }
@media (min-width: 768px) { .ws-ppoints { max-width: 640px; } .ws-ppoints li { padding: 14px 18px; } .ws-ppoints b { font-size: 34px; } }

/* ---------- Predictions: cards ---------- */
.ws-plist { display: grid; gap: 16px; }
@media (min-width: 900px) { .ws-plist { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1300px) { .ws-plist { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ws-plist .ws-pcard { padding: 0; gap: 0; overflow: hidden; border-radius: 20px; box-shadow: var(--shadow); align-content: start; position: relative; }
.ws-plist .ws-pcard > div { gap: 0; }
.ws-plist .ws-pcard__top { display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.ws-plist .ws-pcard__comp { gap: 10px; font: 700 18px/1 var(--f-num); letter-spacing: .03em; }
.ws-plist .ws-pcard__comp img { width: 26px; height: 26px; border-radius: 50%; background: #fff; padding: 2px; }
.ws-pcard__kick::before { content: "انطلاق "; font: 500 12px var(--f-display); color: var(--muted); letter-spacing: 0; }
.ws-pcard__timer { display: inline-flex; }
.ws-plist .ws-countdown { display: inline-flex; align-items: center; gap: 8px; direction: rtl; height: 32px; padding-inline: 12px; border-radius: 999px; background: rgba(255, 210, 0, .12); box-shadow: inset 0 0 0 1px rgba(255, 210, 0, .3); }
.ws-plist .ws-countdown > span { display: inline; min-width: 0; padding: 0; background: none; border-radius: 0; }
.ws-countdown__lbl { font: 500 12px var(--f-display); color: var(--muted); }
.ws-countdown__clock { font: 700 16px/1 var(--f-num); color: var(--we-yellow); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.ws-plist .ws-countdown b { font: inherit; color: inherit; }
:root[data-theme="light"] .ws-countdown__clock { color: #8a5a00; }
.ws-plist .ws-countdown__over { height: 32px; display: inline-flex; align-items: center; padding: 0 12px; }
.ws-plist .ws-countdown__over[hidden] { display: none; }
.ws-plist .ws-pcard__match { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: start; gap: 8px; padding: 20px 14px 18px; }
.ws-pcard__side { display: grid; justify-items: center; gap: 10px; text-align: center; min-width: 0; }
.ws-pcard__logo { width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .35)); }
.ws-pcard__name { font: 600 14.5px/1.35 var(--f-display); min-height: 2.7em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.ws-pcard__vs { align-self: center; margin-top: -40px; }
.ws-pcard__vs span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--surface-2); color: var(--muted); font: 800 14px var(--f-num); letter-spacing: .06em; box-shadow: inset 0 0 0 1px var(--line); }
.ws-stepper { display: inline-flex; align-items: center; gap: 6px; }
.ws-stepper__btn { width: 36px; height: 36px; flex: none; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--surface-2); color: var(--fg); font: 600 22px/1 var(--f-num); cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); transition: background .15s, transform .1s; }
.ws-stepper__btn:hover { background: var(--we-purple); color: #fff; }
.ws-stepper__btn:active { transform: scale(.92); }
.ws-plist .ws-score-in { width: 58px; height: 62px; font-size: 34px; border-radius: 16px; }
.ws-score-in::placeholder { color: var(--muted); opacity: .6; }
.ws-pcard__msg { padding: 0 16px; }
.ws-pcard__msg .alert { margin: 0 0 12px; padding: 10px 12px; font-size: 13.5px; }
.ws-plist .ws-pcard__note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 12px; padding: 9px 12px; border-radius: 12px; background: rgba(25, 179, 107, .12); color: #2fd18a; font-size: 13.5px; }
.ws-pcard__note svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ws-plist .ws-pcard__save { width: auto; margin: 0 16px 16px; height: 50px; border-radius: 14px; }
.ws-plist .ws-pcard.is-closed .ws-stepper__btn { opacity: .4; pointer-events: none; }
.ws-plist .ws-pcard.is-closed .ws-pcard__save { background: var(--surface-2); color: var(--muted) !important; opacity: 1; }
@media (max-width: 380px) {
  .ws-plist .ws-pcard__match { padding-inline: 8px; }
  .ws-pcard__logo { width: 52px; height: 52px; }
  .ws-stepper { gap: 4px; }
  .ws-stepper__btn { width: 30px; height: 30px; font-size: 18px; }
  .ws-plist .ws-score-in { width: 48px; height: 54px; font-size: 28px; }
  .ws-pcard__vs span { width: 32px; height: 32px; font-size: 12px; }
}
@media (min-width: 900px) { .ws-pcard__logo { width: 72px; height: 72px; } }

/* Home predict: richer intro + the same card as the predictions page */
.ws-predict { background: radial-gradient(80% 120% at 0% 100%, rgba(255, 210, 0, .12), transparent 55%), linear-gradient(135deg, #6a35a8 0%, var(--we-purple) 35%, var(--we-deep) 100%); }
.ws-predict::after { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .08; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 400' fill='none' stroke='%23fff' stroke-width='2'%3E%3Crect x='10' y='10' width='580' height='380' rx='6'/%3E%3Cpath d='M300 10v380'/%3E%3Ccircle cx='300' cy='200' r='60'/%3E%3Crect x='10' y='110' width='90' height='180'/%3E%3Crect x='500' y='110' width='90' height='180'/%3E%3C/svg%3E") no-repeat center / cover; }
.ws-predict__intro { gap: 14px; }
.ws-ppoints--home { margin: 4px 0 0; max-width: 460px; }
.ws-ppoints--home li { padding: 10px 12px; }
.ws-ppoints--home b { font-size: 26px; }
.ws-ppoints--home span { font-size: 12px; }
.ws-predict__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.ws-predict__actions .ws-btn { height: 46px; padding-inline: 20px; font-size: 15px; }
.ws-btn--glass { background: rgba(255, 255, 255, .12); color: #fff !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.ws-btn--glass:hover { background: rgba(255, 255, 255, .2); }
.ws-btn--glass svg { width: 18px; height: 18px; fill: none; stroke: var(--we-yellow); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ws-plist--home { grid-template-columns: 1fr !important; align-content: center; }
.ws-plist--home .ws-pcard { position: relative; box-shadow: 0 30px 60px -24px rgba(10, 2, 30, .8); }
.ws-pcard__badge { position: absolute; z-index: 1; top: -1px; inset-inline-start: 50%; transform: translateX(50%); font: 700 11.5px/1 var(--f-display); letter-spacing: .02em; color: var(--we-yellow-ink); background: var(--we-yellow); padding: 6px 14px 7px; border-radius: 0 0 10px 10px; }
[dir="ltr"] .ws-pcard__badge { transform: translateX(-50%); }
.ws-plist--home .ws-pcard__top { padding-top: 22px; }
.ws-score-in--ro { width: 52px !important; height: 52px !important; font-size: 26px !important; border-radius: 14px; pointer-events: none; background: var(--surface-2); color: var(--fg); border-style: dashed; }
.ws-score-in--ro:placeholder-shown { color: var(--muted); }
.ws-plist--home .ws-pcard__side { gap: 8px; }
.ws-plist--home .ws-pcard__vs { margin-top: -30px; }
@media (min-width: 1100px) { .ws-predict__intro { padding-inline-end: 12px; } }

.ws-countdown__lbl, .ws-pcard__kick { white-space: nowrap; }

/* ---------- v1.8: breaking-news ticker sticks under the header ---------- */
:root { --ws-hdr: 60px; }
@media (min-width: 768px) { :root { --ws-hdr: 66px; } }
@media (min-width: 1100px) { :root { --ws-hdr: 72px; } }
.ws-ticker { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--ws-hdr)); z-index: 39; }
.ws-header.is-scrolled:has(+ .ws-ticker) { box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.ws-header.is-scrolled + .ws-ticker { box-shadow: 0 8px 24px -10px rgba(20, 5, 50, .55); }
.ws-ticker ~ main [id] { scroll-margin-top: calc(var(--ws-hdr) + 64px); }
@media (min-width: 1100px) { .ws-ticker ~ main .ws-split__side { top: calc(var(--ws-hdr) + 60px); } }

/* =========================================================
   v1.9 - Feature carousels: home news hero + videos block
   ========================================================= */
.ws-car { position: relative; display: grid; min-width: 0; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; }
.ws-car > a { grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s linear .7s; }
.ws-car > a.is-active { z-index: 1; opacity: 1; visibility: visible; transition: opacity .7s ease; }
.ws-car > a .ws-media img { transform: scale(1); transition: transform 8s ease-out; }
.ws-car > a.is-active .ws-media img { transform: scale(1.05); }
.ws-car__dots {
  position: absolute; z-index: 3; inset-block-start: 14px; inset-inline-end: 14px;
  display: flex; align-items: center; gap: 6px; padding: 7px 9px; border-radius: 999px;
  background: rgba(10, 4, 24, .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.ws .ws-car__dot {
  position: relative; overflow: hidden; flex: none; width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px;
  background: rgba(255, 255, 255, .5); cursor: pointer; transition: width .3s ease, background .3s ease;
}
.ws .ws-car__dot:hover { background: rgba(255, 255, 255, .8); }
.ws .ws-car__dot.is-active { width: 30px; background: rgba(255, 255, 255, .28); }
.ws-car__dot i { position: absolute; inset-block: 0; inset-inline-start: 0; width: 0; border-radius: inherit; background: var(--we-yellow); }
.ws-car__dot.is-active i { animation: ws-car-fill var(--car-delay, 7000ms) linear forwards; }
.ws-car.is-paused .ws-car__dot.is-active i { animation-play-state: paused; }
@keyframes ws-car-fill { from { width: 0; } to { width: 100%; } }

/* Side items: mark the slide shown in the big card */
.ws-side__item, .ws-vitem { position: relative; }
.ws-side__item.is-current { background: var(--surface-2); }
.ws-side__item.is-current::before, .ws-vitem.is-current::before {
  content: ""; position: absolute; inset-block: 12px; inset-inline-start: 0; width: 3px; border-radius: 3px; background: var(--we-yellow);
}
.ws-side__item.is-current h3 { color: var(--accent); }
.ws-vitem.is-current { background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 210, 0, .45); }
.ws-vitem.is-current h4 { color: var(--we-yellow); }

/* Hero: the stage takes the lead card's place in the grid */
.ws-hero > .ws-car { border-radius: var(--r-lg); }
@media (min-width: 1100px) {
  .ws-hero > .ws-car .ws-media--lead { height: 100%; }
  .ws-vids > .ws-car { align-self: start; }
}

/* Phones: the carousel holds every story, so the side lists are hidden and swipe is used */
@media (max-width: 767px) {
  .ws-hero.is-carousel > .ws-side, .ws-vids.is-carousel > .ws-vlist { display: none; }
  .ws-car__dots { inset-block-start: 10px; inset-inline-end: 10px; padding: 6px 8px; }
  .ws .ws-car__dot.is-active { width: 24px; }
  .ws-vids .ws-car .ws-play--lg { width: 46px; height: 46px; inset-block-end: auto; inset-block-start: 22%; }
  .ws-vids .ws-car .ws-play--lg::before { border-block-width: 8px; border-inline-end-width: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .ws-car > a, .ws-car > a .ws-media img { transition: none; }
  .ws-car > a.is-active .ws-media img { transform: none; }
}

/* =========================================================
   v2.0 - Long competition names, share bar, phone field icon
   ========================================================= */

/* Score cards: a long competition name is cut with "..." and never pushes the status/score out */
.ws-mcard__top > :last-child { flex: none; }
.ws-mcard__comp { display: block; flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-mcard__comp img { display: inline-block; vertical-align: middle; margin-inline-end: 6px; }
.ws-mcard { grid-template-columns: minmax(0, 1fr); }
.ws-mcard > * { min-width: 0; }

/* Share bar */
.ws-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ws-share a, .ws-share button {
  width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; display: inline-grid; place-items: center; flex: none;
  background: var(--surface-2); color: var(--fg); cursor: pointer; text-decoration: none;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.ws-share a:hover, .ws-share button:hover { transform: translateY(-1px); }
.ws .ws-share svg { width: 18px; height: 18px; }
.ws .ws-share svg.ws-share__brand { fill: currentColor; stroke: none; }
.ws-share [data-share="whatsapp"]:hover { background: #25d366; color: #fff; }
.ws-share [data-share="facebook"]:hover { background: #1877f2; color: #fff; }
.ws-share [data-share="x"]:hover { background: #000; color: #fff; }
.ws-share [data-share="telegram"]:hover { background: #229ed9; color: #fff; }
.ws-share [data-share="copy"]:hover { background: var(--we-purple); color: #fff; }
.ws-share .is-copied, .ws-share .is-copied:hover { background: var(--ok); color: #fff; }
.ws .ws-share .ws-share__native {
  width: auto; padding-inline: 14px; gap: 6px; display: inline-flex; align-items: center; border-radius: 999px;
  background: var(--we-yellow); color: var(--we-yellow-ink); font: 700 13.5px var(--f-display);
}
.ws .ws-share .ws-share__native:hover { background: #ffdc3a; color: var(--we-yellow-ink); }
.ws-share .ws-share__native[hidden] { display: none; }
.ws-article__meta--dark .ws-share a, .ws-article__meta--dark .ws-share button:not(.ws-share__native) { background: rgba(255, 255, 255, .1); color: #fff; }

/* Small confirmation message (copy link) */
.ws-toast {
  position: fixed; z-index: 90; inset-inline: 0; margin-inline: auto; bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  width: max-content; max-width: calc(100% - 32px); padding: 10px 18px; border-radius: 999px;
  background: var(--we-ink); color: #fff; font: 600 13.5px var(--f-display); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .6);
  opacity: 0; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease; pointer-events: none;
}
.ws-toast.is-on { opacity: 1; transform: none; }
@media (min-width: 1100px) { .ws-toast { bottom: 28px; } }

/* Phone field: the number is typed left-to-right, so keep its padding on the icon side (right) */
.ws-inputx .ws-input[type="tel"], .ws-inputx .ws-input--ltr { padding-left: 16px; padding-right: 48px; }

/* =========================================================
   v2.1 - Feed icons readable in dark mode
   ========================================================= */
/* Event and statistic icons come from the data feed and are drawn in dark colours:
   in dark mode they sit on a small light chip so they stay visible. */
.ws-tl__card img, .ws-stat__head span img { vertical-align: middle; object-fit: contain; }
:root:not([data-theme="light"]) .ws-tl__card img,
:root:not([data-theme="light"]) .ws-stat__head span img {
  box-sizing: content-box; padding: 3px; border-radius: 50%; background: #f4f1fa; box-shadow: 0 0 0 1px rgba(255, 255, 255, .18);
}
