﻿/* =========================================================
   WE Sports - Shared design system (landing + portals)
   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; }
}


/* =========================================================
   PORTAL / INNER PAGES
   Shared components for news, video, match centre, standings,
   profiles, competitions and account pages.
   ========================================================= */

/* ---------- Header search (PortalMaster) ---------- */
.ws-search { display: none; }
.ws-search.is-open { display: block; background: var(--chrome); border-top: 1px solid rgba(255, 255, 255, .06); }
.ws-search__in { display: flex; gap: 8px; align-items: center; padding-block: 10px; }
.ws-search__input {
  flex: 1; min-width: 0; height: 44px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06); color: #fff; padding-inline: 18px; font: 500 15px var(--f-body);
}
.ws-search__input::placeholder { color: #a99fc2; }
.ws-search__input:focus { outline: none; border-color: var(--we-yellow); background: rgba(255, 255, 255, .1); }
.ws-search__btn { height: 44px; padding-inline: 20px; border-radius: 999px; border: 0; background: var(--we-yellow); color: var(--we-yellow-ink); font: 600 14px var(--f-display); cursor: pointer; }
.ws-header__badge { display: none; font: 600 12px var(--f-display); color: var(--we-yellow-ink) !important; background: var(--we-yellow); padding: 6px 12px; border-radius: 999px; }
.ws-header__badge:empty { display: none !important; }

/* ---------- Page head + breadcrumbs ---------- */
.ws-pagehead {
  color: #fff; padding-block: 22px 26px;
  background: radial-gradient(80% 140% at 100% 0%, rgba(122, 69, 194, .45), transparent 60%), linear-gradient(180deg, var(--chrome) 0%, var(--chrome-2) 100%);
}
.ws-pagehead__in { display: grid; gap: 8px; }
.ws-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12.5px; color: #c9bde3; }
.ws-crumbs a:hover { color: #fff; }
.ws-crumbs span[aria-hidden] { opacity: .5; }
.ws-pagehead__title { font-size: clamp(24px, 2vw + 16px, 38px); font-weight: 700; }
.ws-pagehead__sub { color: #c9bde3; font-size: 14px; }
.ws-pagehead--logo .ws-pagehead__in { grid-template-columns: auto 1fr; align-items: center; column-gap: 16px; }
.ws-pagehead--logo .ws-crumbs { grid-column: 1 / -1; }
.ws-pagehead__logo { width: 72px; height: 72px; border-radius: 18px; background: #fff; padding: 10px; object-fit: contain; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .5); }

.ws-main { padding-block: 26px 10px; }
.ws-stack { display: grid; gap: 28px; }
.ws-stack > * { min-width: 0; }

/* ---------- Page tabs (anchor or button) ---------- */
.ws-ptabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.ws-ptabs::-webkit-scrollbar { display: none; }
.ws-ptab {
  position: relative; flex: none; border: 0; background: transparent; cursor: pointer; color: var(--muted);
  font: 600 14.5px var(--f-display); padding: 12px 14px 14px; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px;
}
.ws-ptab img { width: 22px; height: 22px; object-fit: contain; }
.ws-ptab::after { content: ""; position: absolute; inset-inline: 10px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--we-yellow); transform: scaleX(0); transition: transform .2s ease; }
.ws-ptab:hover { color: var(--fg); }
.ws-ptab.is-active { color: var(--fg); }
.ws-ptab.is-active::after { transform: scaleX(1); }

/* ---------- Generic grids ---------- */
.ws-grid--4 { grid-template-columns: 1fr; }
.ws-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ws-tile { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 16px; display: grid; gap: 6px; align-content: start; }
.ws-tile__label { font: 500 12.5px var(--f-display); color: var(--muted); display: flex; align-items: center; gap: 8px; }
.ws-tile__label i { width: 10px; height: 14px; border-radius: 2px; background: var(--c, var(--we-purple)); }
.ws-tile__value { font: 800 34px/1 var(--f-num); color: var(--fg); font-variant-numeric: tabular-nums; }
.ws-tile__value small { font: 500 13px var(--f-body); color: var(--muted); margin-inline-start: 6px; }
.ws-tile--accent { background: linear-gradient(135deg, var(--we-purple), var(--we-deep)); color: #fff; }
.ws-tile--accent .ws-tile__label { color: #d9c9ff; }
.ws-tile--accent .ws-tile__value { color: var(--we-yellow); }

/* ---------- Article (news details) ---------- */
.ws-article { display: grid; gap: 28px; }
.ws-article__main { min-width: 0; }
.ws-article__head { display: grid; gap: 14px; margin-bottom: 18px; }
.ws-article__title { font-size: clamp(24px, 1.8vw + 16px, 40px); font-weight: 700; line-height: 1.35; }
.ws-article__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13.5px; padding-block: 12px; border-block: 1px solid var(--line); }
.ws-share { display: flex; gap: 8px; }
.ws-share button {
  width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: var(--surface-2); color: var(--fg); transition: background .15s, color .15s;
}
.ws-share button:hover { background: var(--we-purple); color: #fff; }
.ws-share svg { width: 18px; height: 18px; }
.ws-share .is-copied { background: var(--ok); color: #fff; }
.ws-article__figure { position: relative; margin: 0 0 22px; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); aspect-ratio: 16 / 9; }
.ws-article__figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ws-prose { font-size: 17px; line-height: 2; color: var(--fg); max-width: 72ch; }
.ws-prose p { margin: 0 0 1.1em !important; }
.ws-prose p:empty { display: none; }
.ws-prose img { max-width: 100%; height: auto; border-radius: var(--r-md); margin-block: 10px; }
.ws-prose a { color: var(--accent) !important; text-decoration: underline !important; text-underline-offset: 3px; }
.ws-prose strong, .ws-prose b { font-weight: 700; }
.ws-prose ul, .ws-prose ol { padding-inline-start: 1.4em !important; margin: 0 0 1.1em !important; }
.ws-prose ul li { list-style: disc; margin-bottom: .4em; }
.ws-prose iframe, .ws-prose video { max-width: 100%; border-radius: var(--r-md); }
.ws-aside { display: grid; gap: 16px; align-content: start; }
.ws-aside .ws-ad { margin: 0; }

/* Compact list rows (related / most read) */
.ws-rows { display: grid; }
.ws-row { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: start; padding-block: 12px; }
.ws-row + .ws-row { border-top: 1px solid var(--line); }
.ws-row .ws-media { aspect-ratio: 4 / 3; border-radius: var(--r-sm); }
.ws-row h4 { font-size: 14px; font-weight: 600; line-height: 1.5; }
.ws-row > div:last-child { min-width: 0; }
.ws-row:hover h4 { color: var(--accent); }
.ws-row:hover { color: var(--fg); }
.ws-ranked { counter-reset: rank; display: grid; }
.ws-ranked a { counter-increment: rank; display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; padding-block: 12px; font: 600 14px/1.55 var(--f-display); }
.ws-ranked a + a { border-top: 1px solid var(--line); }
.ws-ranked a::before { content: counter(rank); font: 800 26px/1 var(--f-num); color: var(--we-purple); opacity: .55; }
.ws-ranked a:hover { color: var(--accent); }

/* ---------- Video player ---------- */
.ws-player { position: relative; border-radius: var(--r-lg); overflow: hidden; background: #000; aspect-ratio: 16 / 9; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.ws-player video { width: 100%; height: 100%; display: block; background: #000; }
.ws-videohead { display: grid; gap: 10px; margin-block: 18px 12px; }
.ws-videohead h1 { font-size: clamp(20px, 1.4vw + 14px, 32px); font-weight: 700; }

/* ---------- Pagination ---------- */
.ws-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; padding: 0; margin: 26px 0 0; }
.ws-pager li { list-style: none; }
.ws-pager a { display: grid; place-items: center; min-width: 40px; height: 40px; padding-inline: 10px; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font: 700 15px var(--f-num); color: var(--fg); }
.ws-pager a:hover { box-shadow: inset 0 0 0 2px var(--we-purple); color: var(--fg); }
.ws-pager li.active a { background: var(--we-purple); color: #fff; box-shadow: none; }

/* ---------- Day strip (matches) ---------- */
.ws-days { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; padding-block: 4px; list-style: none; margin: 0; padding-inline: 0; }
.ws-days::-webkit-scrollbar { display: none; }
.ws-days li { flex: none; list-style: none; }
.ws-days a {
  display: grid; justify-items: center; gap: 2px; min-width: 84px; padding: 10px 12px; border-radius: 14px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); color: #d9cfee; transition: background .15s;
}
.ws-days a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.ws-days__d { font: 500 12px var(--f-display); }
.ws-days__n { font: 700 15px var(--f-display); color: #fff; }
.ws-days li.active a { background: var(--we-yellow); border-color: transparent; }
.ws-days li.active a .ws-days__d, .ws-days li.active a .ws-days__n { color: var(--we-yellow-ink); }
.ws-datepick { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding-inline: 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #fff; font: 500 13px var(--f-display); cursor: pointer; position: relative; }
.ws-datepick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.ws-datepick svg { width: 18px; height: 18px; }
.ws-daysbar { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.ws-daysbar .ws-days { flex: 1; min-width: 0; }

/* ---------- Fixture groups and rows ---------- */
.ws-fxgroup { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.ws-fxgroup + .ws-fxgroup { margin-top: 16px; }
.ws-fxgroup__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; background: var(--surface-2); }
.ws-fxgroup__comp { display: flex; align-items: center; gap: 10px; font: 600 15px var(--f-display); min-width: 0; }
.ws-fxgroup__comp img { width: 28px; height: 28px; object-fit: contain; flex: none; background: #fff; border-radius: 50%; padding: 2px; }
.ws-fxgroup__comp span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-fx {
  display: grid; grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr); align-items: center; gap: 10px;
  padding: 14px 16px; transition: background .15s;
}
.ws-fx + .ws-fx { border-top: 1px solid var(--line); }
.ws-fx:hover { background: var(--surface-2); color: var(--fg); }
.ws-fx__team { display: flex; align-items: center; gap: 10px; min-width: 0; font: 600 14.5px var(--f-display); }
.ws-fx__team span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-fx__team img { width: 34px; height: 34px; object-fit: contain; flex: none; }
.ws-fx__team--home { justify-content: flex-start; }
.ws-fx__team--away { justify-content: flex-end; }
.ws-fx__mid { display: grid; justify-items: center; gap: 4px; text-align: center; }
.ws-fx__score { font: 800 20px/1 var(--f-num); letter-spacing: .04em; color: var(--fg); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ws-fx__status { display: inline-flex; align-items: center; gap: 4px; font: 600 11.5px/1 var(--f-display); color: var(--muted); }
.ws-fx__status:empty { display: none; }
.ws-fx.is-live .ws-fx__status { color: #fff; background: var(--live); padding: 4px 8px; border-radius: 6px; }
.ws-fx.is-live .ws-fx__score { color: var(--live); }
.ws-fx__date { font: 500 11.5px var(--f-display); color: var(--muted); }

/* ---------- Match centre hero ---------- */
.ws-mhero {
  color: #fff; padding-block: 20px 26px;
  background:
    radial-gradient(60% 120% at 50% 0%, rgba(255, 210, 0, .12), transparent 60%),
    radial-gradient(80% 120% at 100% 100%, rgba(122, 69, 194, .45), transparent 60%),
    linear-gradient(180deg, var(--chrome), var(--we-ink));
}
.ws-mhero__comp { display: flex; justify-content: center; align-items: center; gap: 8px; font: 500 13px var(--f-display); color: #c9bde3; margin-bottom: 16px; }
.ws-mhero__comp img { width: 26px; height: 26px; object-fit: contain; background: #fff; border-radius: 50%; padding: 2px; }
.ws-mhero__board { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; max-width: 760px; margin-inline: auto; }
.ws-mhero__team { display: grid; justify-items: center; gap: 10px; text-align: center; font: 700 15px var(--f-display); min-width: 0; }
.ws-mhero__team img { width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .4)); }
.ws-mhero__team:hover { color: var(--we-yellow); }
.ws-mhero__mid { display: grid; justify-items: center; gap: 8px; }
.ws-mhero__score { font: 800 clamp(36px, 4vw + 18px, 64px)/1 var(--f-num); letter-spacing: .04em; white-space: nowrap; }
.ws-mhero__status { display: inline-flex; align-items: center; gap: 6px; font: 600 12.5px var(--f-display); background: rgba(255, 255, 255, .1); padding: 6px 12px; border-radius: 999px; }
.ws-mhero.is-live .ws-mhero__status { background: var(--live); }
.ws-mhero__scorers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 760px; margin: 18px auto 0; font-size: 13px; color: #ddd3f0; }
.ws-mhero__scorers > div { display: grid; gap: 4px; align-content: start; }
.ws-mhero__scorers > div:last-child { text-align: end; }
.ws-mhero__scorers a { display: inline-flex; align-items: center; gap: 6px; }
.ws-mhero__scorers a:hover { color: var(--we-yellow); }
.ws-mhero__scorers .ws-ball { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px rgba(255, 255, 255, .25); flex: none; }
.ws-mhero__scorers .is-var { text-decoration: line-through; opacity: .6; }
.ws-mhero__facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 20px; font-size: 12.5px; color: #c9bde3; }
.ws-mhero__facts span { display: inline-flex; align-items: center; gap: 6px; }
.ws-mhero__facts svg { width: 16px; height: 16px; }

/* ---------- Lineup pitch ---------- */
.ws-lineup { display: grid; gap: 18px; }
.ws-pitch {
  position: relative; width: 100%; max-width: 520px; margin-inline: auto; aspect-ratio: 68 / 100; border-radius: 18px; overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, .35), rgba(255, 255, 255, .35)) center / 100% 2px no-repeat,
    radial-gradient(circle at 50% 50%, transparent 13.5%, rgba(255, 255, 255, .35) 13.8%, rgba(255, 255, 255, .35) 14.2%, transparent 14.5%),
    repeating-linear-gradient(0deg, #1f7a43 0 10%, #1a6d3b 10% 20%);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .35), 0 20px 40px -20px rgba(0, 0, 0, .6);
}
.ws-pitch::before, .ws-pitch::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); width: 44%; height: 14%; border: 2px solid rgba(255, 255, 255, .35); }
.ws-pitch::before { top: -2px; border-top: 0; }
.ws-pitch::after { bottom: -2px; border-bottom: 0; }
.ws-pitch .player__item { position: absolute; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 4px; width: 22%; text-align: center; z-index: 1; }
.ws-pitch .player__item--shirt img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: #fff; border: 2px solid #fff; box-shadow: 0 4px 10px rgba(0, 0, 0, .35); }
.ws-pitch .player__item--label p { margin: 0 !important; }
.ws-pitch .player__item--label a { display: inline-block; max-width: 100%; font: 600 11px/1.3 var(--f-display); color: #fff; background: rgba(10, 4, 25, .65); padding: 3px 6px; border-radius: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-pitch .player__item--eleven { left: 50%; top: 9%; }
.ws-pitch .player__item--nine { left: 72%; top: 21%; }
.ws-pitch .player__item--ten { left: 28%; top: 21%; }
.ws-pitch .player__item--eight { left: 14%; top: 36%; }
.ws-pitch .player__item--five { left: 86%; top: 36%; }
.ws-pitch .player__item--seven { left: 26%; top: 52%; }
.ws-pitch .player__item--three { left: 50%; top: 50%; }
.ws-pitch .player__item--two { left: 74%; top: 52%; }
.ws-pitch .player__item--four { left: 30%; top: 72%; }
.ws-pitch .player__item--six { left: 70%; top: 72%; }
.ws-pitch .player__item--gk { left: 50%; top: 89%; }
.ws-bench { display: grid; gap: 14px; align-content: start; }
.ws-people { display: grid; gap: 2px; }
.ws-person { display: grid; grid-template-columns: 40px 28px 1fr; align-items: center; gap: 10px; padding: 8px 4px; border-radius: 10px; font: 500 14px var(--f-display); }
.ws-person:hover { background: var(--surface-2); color: var(--fg); }
.ws-person img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--surface-2); }
.ws-person__num { font: 800 15px var(--f-num); color: var(--accent); text-align: center; }
.ws-person--coach { grid-template-columns: 48px 1fr; }
.ws-person--coach img { width: 48px; height: 48px; }
.ws-person small { display: block; color: var(--muted); font-size: 12px; }

/* ---------- Timeline (min by min, career) ---------- */
.ws-tl { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 10px; }
.ws-tl::before { content: ""; position: absolute; top: 6px; bottom: 6px; inset-inline-start: 50%; width: 2px; background: var(--line); transform: translateX(50%); }
.ws-tl__item { position: relative; display: grid; grid-template-columns: 1fr 56px 1fr; align-items: center; gap: 10px; }
.ws-tl__min { justify-self: center; z-index: 1; min-width: 48px; text-align: center; font: 800 14px/1 var(--f-num); color: var(--we-yellow-ink); background: var(--we-yellow); padding: 7px 8px; border-radius: 999px; }
.ws-tl__card { background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow); padding: 10px 12px; display: grid; gap: 6px; font-size: 13.5px; min-width: 0; }
.ws-tl__card .clearfix { display: none; }
.ws-tl__card span { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ws-tl__card img { width: 16px; height: 16px; }
.ws-tl__card a { font-weight: 600; }
.ws-tl__card a:hover { color: var(--accent); }
.ws-tl__card .badge { display: none; }
/* Direction classes come from the data (divDirection); unknown values fall back to the home side */
.ws-tl__item .ws-tl__card { grid-column: 1; grid-row: 1; }
.ws-tl__item.left .ws-tl__card, .ws-tl__item.away .ws-tl__card { grid-column: 3; }
.ws-tl__item .ws-tl__min { grid-column: 2; grid-row: 1; }

.ws-career { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.ws-career li { position: relative; display: grid; grid-template-columns: 18px 1fr; gap: 12px; padding-bottom: 18px; }
.ws-career li::before { content: ""; position: absolute; inset-inline-start: 8px; top: 18px; bottom: 0; width: 2px; background: var(--line); }
.ws-career li:last-child::before { display: none; }
.ws-career__dot { width: 18px; height: 18px; border-radius: 50%; background: var(--we-yellow); box-shadow: 0 0 0 4px rgba(255, 210, 0, .2); margin-top: 3px; }
.ws-career__body { background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow); padding: 12px 14px; display: grid; gap: 4px; }
.ws-career__body h4 { font-size: 15px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ws-career__body h4 img { width: 26px; height: 26px; object-fit: contain; }
.ws-career__body p { color: var(--muted); font-size: 13px; }

/* ---------- Stat comparison bars ---------- */
.ws-stats { display: grid; gap: 14px; }
.ws-stat { display: grid; gap: 8px; }
.ws-stat__head { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; gap: 8px; font: 500 13px var(--f-display); color: var(--muted); text-align: center; }
.ws-stat__head b { font: 800 18px/1 var(--f-num); color: var(--fg); }
.ws-stat__head span { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.ws-stat__head img { width: 18px; height: 18px; }
.ws-stat__bars { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ws-stat__bar { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; display: flex; }
.ws-stat__bar i { display: block; height: 100%; border-radius: 999px; }
.ws-stat__bar--home { justify-content: flex-start; }
.ws-stat__bar--home i { background: var(--we-yellow); }
.ws-stat__bar--away { justify-content: flex-end; }
.ws-stat__bar--away i { background: var(--accent); }

/* ---------- Teams grid / squad ---------- */
.ws-teams { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ws-teamtile { display: grid; justify-items: center; gap: 8px; padding: 16px 8px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); text-align: center; font: 600 13px/1.4 var(--f-display); transition: transform .15s, box-shadow .15s; }
.ws-teamtile img { width: 56px; height: 56px; object-fit: contain; }
.ws-teamtile:hover { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--we-purple), var(--shadow); color: var(--fg); }
.ws-squad { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ws-pcard2 { display: grid; justify-items: center; gap: 8px; padding: 18px 10px 14px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); text-align: center; transition: transform .15s; }
.ws-pcard2:hover { transform: translateY(-3px); color: var(--fg); }
.ws-pcard2 img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; background: var(--surface-2); box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--line); }
.ws-pcard2 b { font: 600 14px/1.4 var(--f-display); }
.ws-pcard2 small { color: var(--muted); font-size: 12px; }
.ws-pcard2__val { font: 800 22px/1 var(--f-num); color: var(--accent); }

/* ---------- Profile hero (team / player) ---------- */
.ws-phero { color: #fff; padding-block: 26px; background: radial-gradient(70% 120% at 0% 0%, rgba(255, 210, 0, .12), transparent 55%), radial-gradient(80% 140% at 100% 0%, rgba(122, 69, 194, .5), transparent 60%), linear-gradient(180deg, var(--chrome), var(--we-ink)); }
.ws-phero__in { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; }
.ws-phero__img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: #fff; padding: 6px; box-shadow: 0 0 0 4px rgba(255, 255, 255, .15); }
.ws-phero__img--logo { border-radius: 22px; object-fit: contain; padding: 12px; }
.ws-phero__name { font-size: clamp(24px, 2vw + 16px, 40px); font-weight: 700; }
.ws-phero__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.ws-chipx { display: inline-flex; align-items: center; gap: 6px; font: 500 12.5px var(--f-display); background: rgba(255, 255, 255, .1); padding: 6px 10px; border-radius: 999px; }
.ws-chipx img { width: 20px; height: 20px; object-fit: contain; }
.ws-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ws-fact { background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow); padding: 12px 14px; display: grid; gap: 4px; }
.ws-fact small { color: var(--muted); font: 500 12px var(--f-display); }
.ws-fact b { font: 600 15px var(--f-display); }

/* ---------- Comps grid (tournaments) ---------- */
.ws-compgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ws-compgrid table, .ws-compgrid tbody, .ws-compgrid tr, .ws-compgrid td { display: contents; }
.ws-compgrid .ws-comp { width: auto; }

/* ---------- Forms (auth) ---------- */
.ws-auth { min-height: calc(100vh - 160px); display: grid; place-items: center; padding-block: 34px; }
.ws-authcard { width: 100%; max-width: 440px; background: var(--surface); border-radius: 24px; box-shadow: var(--shadow); padding: 28px 22px; display: grid; gap: 18px; position: relative; overflow: hidden; }
.ws-authcard::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--we-yellow), var(--we-purple)); }
.ws-authcard__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--surface-2); color: var(--accent); }
.ws-authcard__icon svg { width: 28px; height: 28px; }
.ws-authcard h1 { font-size: 24px; font-weight: 700; }
.ws-authcard > p, .ws-authcard__lead { color: var(--muted); font-size: 14.5px; }
.ws-field { display: grid; gap: 8px; }
.ws-field label, .ws-field__label { font: 600 13.5px var(--f-display); display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.ws-field label span[style], .ws-field__label span[style] { font: 500 12px var(--f-body) !important; color: var(--live) !important; }
.ws-input {
  width: 100%; height: 52px; border-radius: 14px; border: 2px solid var(--line); background: var(--surface-2); color: var(--fg);
  padding-inline: 16px; font: 500 16px var(--f-body); transition: border-color .15s, box-shadow .15s;
}
.ws-input:focus { outline: none; border-color: var(--we-purple); box-shadow: 0 0 0 4px rgba(91, 44, 145, .2); }
.ws-input[type="tel"], .ws-input--ltr { direction: ltr; text-align: right; letter-spacing: .06em; }
input.ws-btn, .ws-btn--submit { width: 100%; height: 52px; font-size: 16px; }
.ws-btn--ghost2 { background: transparent; color: var(--fg) !important; box-shadow: inset 0 0 0 2px var(--line); }
.ws-authcard__links { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.ws-authcard__links a { color: var(--accent); }
.ws-alert { border-radius: 12px; padding: 12px 14px; font: 500 14px var(--f-display); }
.alert-danger.ws-alert, .ws-authcard .alert-danger { background: rgba(255, 59, 92, .12); color: #ff6b84; border: 0; }
.ws-authcard .alert-success { background: rgba(25, 179, 107, .12); color: #2fd18a; border: 0; }
.ws-authcard div[class=""]:empty, .ws-authcard div:not([class]):empty { display: none; }

/* ---------- Status pages ---------- */
.ws-state { max-width: 560px; margin: 40px auto; text-align: center; display: grid; justify-items: center; gap: 12px; padding: 34px 22px; background: var(--surface); border-radius: 24px; box-shadow: var(--shadow); }
.ws-state__icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--accent); }
.ws-state__icon svg { width: 34px; height: 34px; }
.ws-state h1 { font-size: 22px; font-weight: 700; }
.ws-state p { color: var(--muted); }

/* ---------- Competitions (trivia / predictions list) ---------- */
.ws-rules { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ws-rules li { background: rgba(255, 255, 255, .1); padding: 8px 12px; border-radius: 10px; font-size: 13px; }
.ws-rules a { color: var(--we-yellow); text-decoration: underline !important; }
.ws-qcard { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 18px; display: grid; gap: 14px; }
.ws-qcard + .ws-qcard { margin-top: 14px; }
.ws-qcard__q { font: 700 17px/1.6 var(--f-display); }
.ws-qcard__pts { justify-self: start; display: inline-flex; align-items: center; gap: 6px; font: 600 12px var(--f-display); color: var(--we-yellow-ink); background: var(--we-yellow); padding: 5px 10px; border-radius: 999px; }
/* RadioButtonList renders a table */
.ws-choices table { width: 100%; border-collapse: separate; border-spacing: 0 8px; }
.ws-choices td { padding: 0 !important; }
.ws-choices input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.ws-choices label {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; border-radius: 14px; cursor: pointer;
  background: var(--surface-2); border: 2px solid transparent; font: 600 15px var(--f-display); transition: border-color .15s, background .15s;
}
.ws-choices label::before { content: ""; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--muted); flex: none; transition: border-color .15s, box-shadow .15s; }
.ws-choices input[type="radio"]:checked + label { border-color: var(--we-purple); background: rgba(91, 44, 145, .12); }
.ws-choices input[type="radio"]:checked + label::before { border-color: var(--we-yellow); box-shadow: inset 0 0 0 4px var(--surface), inset 0 0 0 10px var(--we-yellow); }
.ws-choices input[type="radio"]:focus-visible + label { outline: 2px solid var(--we-yellow); outline-offset: 2px; }
.ws-choices input[type="radio"]:disabled + label { opacity: .7; cursor: default; }
.ws-qcard .aspNetDisabled, .ws-qcard .disabled { opacity: .5; pointer-events: none; }
.result-box-success, .result-box-warning, .result-box-error { border-radius: 12px; padding: 12px 14px !important; font: 500 14px/1.7 var(--f-display); }
.result-box-success { background: rgba(25, 179, 107, .12); color: var(--fg); }
.result-box-warning { background: rgba(245, 158, 11, .14); color: var(--fg); }
.result-box-error { background: rgba(255, 59, 92, .12); color: var(--fg); }
.result-box-success .text-success { color: var(--ok) !important; }
.result-box-success .text-muted { color: var(--muted) !important; }
.ws-plist { display: grid; gap: 14px; }
.ws-plist .ws-pcard { box-shadow: var(--shadow); }

/* Trivia teaser on home */
.ws-trivia { display: grid; gap: 22px; padding: 22px; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); }
.ws-trivia__q { font: 700 18px/1.6 var(--f-display); }

/* ---------- Profile (account) ---------- */
.ws-acct { display: grid; gap: 18px; }
.ws-acct__head { display: flex; align-items: center; gap: 14px; }
.ws-acct__avatar { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--we-yellow); color: var(--we-yellow-ink); }
.ws-acct__avatar svg { width: 30px; height: 30px; }
.ws-acct__phone { font: 700 22px var(--f-num); letter-spacing: .06em; direction: ltr; }
.ws-log { display: grid; }
.ws-log__row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding-block: 14px; }
.ws-log__row + .ws-log__row { border-top: 1px solid var(--line); }
.ws-log__row h4 { font-size: 14.5px; font-weight: 600; }
.ws-log__row p { color: var(--muted); font-size: 12.5px; }
.ws-log__pts { font: 800 18px/1 var(--f-num); color: var(--ok); background: rgba(25, 179, 107, .12); padding: 8px 12px; border-radius: 999px; direction: ltr; }

/* ---------- Bootstrap alert harmonising ---------- */
.ws .alert { border-radius: 12px; font-family: var(--f-display); }

/* =========================================================
   Inner pages: tablet >= 768px
   ========================================================= */
@media (min-width: 768px) {
  .ws-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ws-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ws-teams { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ws-squad { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ws-compgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ws-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ws-fx { grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr); padding: 16px 20px; }
  .ws-fx__team img { width: 38px; height: 38px; }
  .ws-mhero__team img { width: 88px; height: 88px; }
  .ws-mhero__team { font-size: 18px; }
  .ws-lineup { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; }
  .ws-phero__img { width: 120px; height: 120px; }
  .ws-search__in { max-width: 720px; margin-inline: auto; }
}

/* =========================================================
   Inner pages: desktop >= 1100px
   ========================================================= */
@media (min-width: 1100px) {
  .ws-search.is-open { position: absolute; inset-inline: 0; top: 100%; }
  .ws-header__in { position: relative; }
  .ws-header__badge { display: inline-flex; }
  .ws-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ws-article { grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; }
  .ws-aside { position: sticky; top: 96px; }
  .ws-teams { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .ws-squad { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .ws-compgrid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .ws-pagehead { padding-block: 30px 34px; }
  .ws-main { padding-block: 34px 10px; }
}

/* Small tab variant (inside panels) */
.ws-ptabs--sm { margin: 16px 0 6px; }
.ws-ptabs--sm .ws-ptab { font-size: 13.5px; padding: 10px 10px 12px; }
.ws-prose--sm { font-size: 14px; line-height: 1.9; margin-top: 16px; max-height: 50vh; overflow-y: auto; padding-inline-end: 6px; }

/* Content page variants */
.ws-crumbs--dark { color: var(--muted); margin-bottom: 14px; }
.ws-crumbs--dark a:hover { color: var(--fg); }
.ws-band--flush { margin-block: 0; }
.ws-band--player { padding-block: 20px 34px; }
.ws-band--player .ws-crumbs { margin-bottom: 14px; }
.ws-band--player .ws-player { max-width: 1100px; margin-inline: auto; }
.ws-band--player .ws-videohead, .ws-band--player .ws-prose { max-width: 1100px; margin-inline: auto; }
.ws-article__meta--dark { color: #c9bde3; border-color: rgba(255, 255, 255, .1); }
.ws-article__meta--dark .ws-share button { background: rgba(255, 255, 255, .1); color: #fff; }
.ws-prose--dark { color: #ddd3f0; font-size: 15.5px; }
.ws-vcard--light h4 { color: var(--fg); }
.ws-vcard--light:hover, .ws-vcard--light:hover h4 { color: var(--accent); }
.ws-panel--prose { padding: 22px; }
@media (min-width: 768px) { .ws-panel--prose { padding: 34px 40px; } }

/* Football page tweaks */
.ws-mhero__live.is-live .ws-mhero__status { background: var(--live); }
.ws-fx__comp { width: 20px; height: 20px; object-fit: contain; background: #fff; border-radius: 50%; padding: 1px; }
.ws-stat__head--teams { margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.ws-stat__head--teams img { justify-self: center; width: 32px; height: 32px; }
.ws-table--full th, .ws-table--full td { padding-inline: 8px; }
.ws-tile .ws-person--coach { padding: 0; }
.ws-tile .ws-person--coach:hover { background: none; }
.ws-chipx img[src=""], .ws-chipx img:not([src]) { display: none; }
.ws-mhero__comp:hover { color: #fff; }

/* Account / auth tweaks */
.ws-narrow { max-width: 820px; }
.ws-tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ws-chipx--light { background: var(--surface-2); color: var(--fg); }
.ws-field__error { color: #ff6b84 !important; font: 500 12px var(--f-body); }
.ws-input--code { text-align: center !important; font: 700 24px var(--f-num); letter-spacing: .4em; }
.ws-authcard__fine { font-size: 12.5px; color: var(--muted); text-align: center; }
.ws-authcard__fine a { color: var(--accent); }
.ws-authcard__result { margin-top: 10px; color: #f59e0b; font: 500 14px var(--f-display); }
.ws-authcard__result:empty { display: none; }
.ws-qcard__q { display: block; }
@media (max-width: 480px) { .ws-tiles--3 { grid-template-columns: 1fr; } }

/* =========================================================
   v1.2 - Fixture rows, live dot, predictions, auth pages
   ========================================================= */

/* ---------- Live dot (replaces the old live.gif) ---------- */
.ws-livedot, .ws-fx__status img, .ws-mhero__status img {
  display: inline-block; width: 7px; height: 7px; flex: none; border-radius: 50%;
  background: var(--live); animation: ws-pulse 1.1s ease-in-out infinite;
}
.ws-fx.is-live .ws-fx__status img, .ws-mhero.is-live .ws-mhero__status img, .ws-mhero__live.is-live .ws-mhero__status img, .ws-mhero__status img { background: #fff; }
.ws-fx.is-live .ws-fx__status { gap: 6px; font-family: var(--f-display); }
@media (prefers-reduced-motion: reduce) { .ws-livedot, .ws-fx__status img, .ws-mhero__status img { animation: none; } }

/* ---------- Fixture rows: logos aligned next to the score, names never lost ---------- */
.ws-fx { grid-template-columns: minmax(0, 1fr) 108px minmax(0, 1fr); gap: 14px; padding: 14px 20px; min-height: 76px; }
.ws-fx__team { gap: 12px; line-height: 1.35; }
.ws-fx__team span { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.ws-fx__team--home { justify-content: flex-end; text-align: end; }
.ws-fx__team--away { justify-content: flex-start; text-align: start; }
.ws-fx__team img { width: 36px; height: 36px; }
.ws-fx__mid { gap: 6px; }
.ws-fx__status { white-space: nowrap; }
@media (max-width: 599px) {
  .ws-fx { grid-template-columns: minmax(0, 1fr) 86px minmax(0, 1fr); gap: 8px; padding: 14px 10px; align-items: start; }
  .ws-fx__team { flex-direction: column; justify-content: flex-start !important; text-align: center !important; gap: 6px; font-size: 13px; }
  .ws-fx__team--home img { order: -1; }
  .ws-fx__team img { width: 38px; height: 38px; }
  .ws-fx__mid { align-self: center; }
  .ws-fx__score { font-size: 19px; }
  .ws-fx__status { font-size: 11px; }
  .ws-fxgroup__head { padding: 12px 14px; }
}
@media (min-width: 1100px) {
  .ws-fx { grid-template-columns: minmax(0, 1fr) 132px minmax(0, 1fr); padding: 16px 28px; }
  .ws-fx__team { font-size: 15.5px; }
  .ws-fx__team img { width: 40px; height: 40px; }
}

/* ---------- 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; } }

/* ---------- Auth pages: split layout ---------- */
.ws-authx { padding-block: 22px 36px; }
.ws-authx__in { display: grid; gap: 16px; }
.ws-authx__brand {
  position: relative; overflow: hidden; color: #fff; border-radius: 22px; padding: 22px 20px;
  background:
    radial-gradient(60% 80% at 0% 100%, rgba(255, 210, 0, .22), transparent 60%),
    radial-gradient(70% 90% at 100% 0%, rgba(122, 69, 194, .7), transparent 60%),
    linear-gradient(160deg, #3a1a70 0%, #2b1157 60%, #1b0d38 100%);
}
.ws-authx__brand::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .14;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 600' fill='none' stroke='%23fff' stroke-width='2'%3E%3Crect x='20' y='20' width='360' height='560' rx='6'/%3E%3Cpath d='M20 300h360'/%3E%3Ccircle cx='200' cy='300' r='60'/%3E%3Crect x='110' y='20' width='180' height='90'/%3E%3Crect x='155' y='20' width='90' height='36'/%3E%3Crect x='110' y='490' width='180' height='90'/%3E%3Crect x='155' y='544' width='90' height='36'/%3E%3C/svg%3E") no-repeat 110% 50% / auto 140%;
}
.ws-authx__brand > * { position: relative; z-index: 1; }
.ws-authx__kicker { display: inline-flex; align-items: center; gap: 8px; font: 600 12.5px var(--f-display); color: #e6dcf8; background: rgba(255, 255, 255, .1); padding: 6px 12px; border-radius: 999px; }
.ws-authx__title { margin: 12px 0 0; font: 700 22px/1.35 var(--f-display); }
.ws-authx__perks { list-style: none; margin: 14px 0 0; padding: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.ws-authx__perks::-webkit-scrollbar { display: none; }
.ws-authx__perks li { flex: none; display: flex; align-items: center; gap: 8px; padding: 8px 12px 8px 14px; border-radius: 12px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.ws-authx__perks b { display: block; font: 600 13px var(--f-display); white-space: nowrap; }
.ws-authx__perks small { display: none; }
.ws-authx__perkicon { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 9px; background: rgba(255, 210, 0, .16); }
.ws-authx__perkicon svg { width: 18px; height: 18px; fill: none; stroke: var(--we-yellow); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ws-authx__main { display: grid; gap: 14px; justify-items: center; align-content: start; }
.ws-authx .ws-authcard { max-width: 460px; padding: 26px 22px; gap: 16px; }
.ws-authcard__head { display: flex; align-items: center; gap: 14px; }
.ws-authcard__head h1 { margin: 0 0 4px; font-size: 22px; }
.ws-authcard__head .ws-authcard__lead { margin: 0; font-size: 14px; line-height: 1.6; }
.ws-authcard__icon { flex: none; }

/* Step indicator */
.ws-steps { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 460px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; counter-reset: none; }
.ws-steps li { display: flex; align-items: center; gap: 8px; font: 500 12.5px var(--f-display); color: var(--muted); padding-top: 10px; border-top: 3px solid var(--line); }
.ws-steps li span { width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); font: 700 12px var(--f-num); }
.ws-steps li.is-done { border-color: var(--we-purple); color: var(--fg); }
.ws-steps li.is-done span { background: var(--we-purple); color: #fff; }
.ws-steps li.is-current { border-color: var(--we-yellow); color: var(--fg); font-weight: 600; }
.ws-steps li.is-current span { background: var(--we-yellow); color: var(--we-yellow-ink); }

/* Inputs with an icon / password eye */
.ws-inputx { position: relative; }
.ws-inputx .ws-input { padding-inline-start: 48px; }
.ws-inputx--pw .ws-input { padding-inline-end: 48px; }
.ws-inputx__icon { position: absolute; inset-inline-start: 14px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: var(--muted); pointer-events: none; }
.ws-inputx__icon svg, .ws-inputx__eye svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ws-inputx:focus-within .ws-inputx__icon { color: var(--accent); }
.ws-inputx__eye { position: absolute; inset-inline-end: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.ws-inputx__eye:hover, .ws-inputx__eye.is-on { color: var(--accent); }
.ws-inputx .ws-input[type="tel"] { text-align: right; }
.ws-field__hint { font-size: 12px; color: var(--muted); }
.ws-input--code { height: 64px; font-size: 30px !important; letter-spacing: .6em; padding-inline: 0 !important; text-indent: .6em; direction: ltr; }
.ws-authcard__links { flex-wrap: wrap; }
.ws-authcard__links--center { justify-content: center; gap: 6px; color: var(--muted); }
.ws-authcard__or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12.5px; }
.ws-authcard__or::before, .ws-authcard__or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.ws-authx .ws-btn--submit { border-radius: 14px; }

@media (min-width: 900px) {
  .ws-authx { padding-block: 40px 60px; }
  .ws-authx__in {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 0; max-width: 1080px; margin-inline: auto;
    background: var(--surface); border-radius: 28px; box-shadow: var(--shadow); overflow: hidden; min-height: 580px;
  }
  .ws-authx__brand { order: 2; border-radius: 0; padding: 48px 44px; display: flex; flex-direction: column; justify-content: flex-end; }
  .ws-authx__brand::after { background-position: 50% 50%; background-size: auto 115%; }
  .ws-authx__title { font-size: 34px; line-height: 1.3; margin-top: 18px; }
  .ws-authx__perks { flex-direction: column; gap: 12px; margin-top: 28px; overflow: visible; }
  .ws-authx__perks li { padding: 12px 14px; background: rgba(255, 255, 255, .06); }
  .ws-authx__perks b { font-size: 15px; }
  .ws-authx__perks small { display: block; font-size: 12.5px; color: #cdbfe8; margin-top: 2px; }
  .ws-authx__perkicon { width: 40px; height: 40px; border-radius: 12px; }
  .ws-authx__perkicon svg { width: 22px; height: 22px; }
  .ws-authx__main { padding: 48px 44px; align-content: center; }
  .ws-authx .ws-authcard { background: transparent; box-shadow: none; padding: 0; overflow: visible; }
  .ws-authx .ws-authcard::before { display: none; }
  .ws-authcard__head { flex-direction: column; align-items: flex-start; }
  .ws-authcard__head h1 { font-size: 28px; }
  .ws-steps { margin-bottom: 10px; }
}
.ws-authx__brand { display: flex; flex-direction: column; align-items: flex-start; }
.ws-authx__perks { flex-wrap: wrap; overflow: visible; }
.ws-authx__perks li { padding: 6px 10px 6px 12px; }
.ws-authx__perkicon { width: 26px; height: 26px; }
@media (min-width: 900px) {
  .ws-authx__in.ws-wrap { padding-inline: 0; }
  .ws-authx__perks { flex-wrap: nowrap; align-self: stretch; }
  .ws-authx__perks li { padding: 12px 14px; }
  .ws-authx__perkicon { width: 40px; height: 40px; }
}
@media (max-width: 599px) {
  .ws-authx__brand { padding: 18px; border-radius: 18px; }
  .ws-authx__title { font-size: 20px; margin-top: 10px; }
  .ws-authx__perks { display: none; }
}
@media (min-width: 900px) { .ws-authx__perks { margin-top: 32px; } }

/* =========================================================
   v1.3 - WE Plus: portal intro, golden players, news grid
   ========================================================= */
.ws--plus { --plus: #2ed3a0; }
@media (min-width: 1100px) { .ws-grid--news { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Portal intro strip (home) */
.ws-plushead { color: #fff; padding-block: 18px 20px; background: radial-gradient(70% 120% at 0% 0%, rgba(46, 211, 160, .22), transparent 60%), linear-gradient(180deg, var(--chrome) 0%, var(--chrome-2) 100%); }
.ws-plushead__in { display: grid; gap: 14px; }
.ws-plushead__kicker { display: inline-flex; align-items: center; gap: 8px; font: 600 12.5px var(--f-display); color: #d9f7ee; }
.ws-plushead__title { margin: 6px 0 0; font: 700 clamp(24px, 2vw + 16px, 36px)/1.3 var(--f-display); }
.ws-plushead__sub { margin: 4px 0 0; color: #cfc4e6; font-size: 14px; }
.ws-plushead__links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ws-plushead__links a { display: grid; justify-items: center; gap: 6px; padding: 12px 6px; border-radius: 14px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); color: #fff; font: 600 12.5px var(--f-display); text-align: center; transition: background .15s, transform .15s; }
.ws-plushead__links a:hover { background: rgba(255, 255, 255, .14); color: #fff; transform: translateY(-2px); }
.ws-plushead__links svg { width: 24px; height: 24px; fill: none; stroke: var(--plus, #2ed3a0); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 900px) {
  .ws-plushead { padding-block: 26px; }
  .ws-plushead__in { grid-template-columns: 1fr auto; align-items: center; gap: 28px; }
  .ws-plushead__links { grid-template-columns: repeat(4, 112px); }
  .ws-plushead__links a { padding: 16px 8px; font-size: 13.5px; }
}

/* Golden players grid + card */
.ws-gpgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 700px) { .ws-gpgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1100px) { .ws-gpgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } .ws-gpgrid--home { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.ws-gpcard { display: grid; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.ws-gpcard:hover { transform: translateY(-4px); color: var(--fg); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .7); }
.ws-gpcard__media { position: relative; aspect-ratio: 3 / 4; background: linear-gradient(160deg, #3a1a70, #1b0d38); overflow: hidden; }
.ws-gpcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s ease; }
.ws-gpcard:hover .ws-gpcard__media img { transform: scale(1.05); }
.ws-gpcard__media::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(180deg, transparent, rgba(14, 10, 26, .75)); pointer-events: none; }
.ws-gpcard__sport { position: absolute; z-index: 1; inset-inline-start: 10px; bottom: 10px; font: 600 11.5px/1 var(--f-display); padding: 6px 9px; border-radius: 999px; background: var(--we-yellow); color: var(--we-yellow-ink); }
.ws-gpcard__body { padding: 12px 12px 14px; display: grid; gap: 4px; }
.ws-gpcard__body h3 { margin: 0; font: 600 14.5px/1.45 var(--f-display); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Golden player details hero */
.ws-gphero { display: grid; gap: 18px; margin-bottom: 22px; }
.ws-gphero__media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; max-height: 520px; background: linear-gradient(160deg, #3a1a70, #1b0d38); }
.ws-gphero__media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.ws-gphero__body { display: grid; gap: 14px; align-content: start; }
.ws-gphero__badge { justify-self: start; display: inline-flex; align-items: center; gap: 6px; font: 600 12.5px var(--f-display); padding: 7px 12px; border-radius: 999px; background: rgba(255, 210, 0, .14); color: var(--we-yellow); }
:root[data-theme="light"] .ws-gphero__badge { color: #8a5a00; }
.ws-gphero__badge svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ws-gphero__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ws-gphero__facts span { display: grid; gap: 4px; padding: 12px 14px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }
.ws-gphero__facts small { font-size: 12px; color: var(--muted); }
.ws-gphero__facts b { font: 600 15px var(--f-display); }
@media (min-width: 768px) {
  .ws-gphero { grid-template-columns: minmax(0, 300px) 1fr; align-items: end; gap: 26px; }
  .ws-gphero__media { aspect-ratio: 3 / 4; }
}
.ws-row--gp .ws-media { aspect-ratio: 1; border-radius: 50%; }
.ws-row--gp .ws-media img { object-position: top center; }
.ws-row--gp { grid-template-columns: 64px 1fr; align-items: center; }
.ws-panel__head .ws-link { margin-inline-start: auto; }
.ws-gphero { align-items: center !important; }

/* =========================================================
   v1.4 - Logo contrast, date rail, news pager
   ========================================================= */

/* Competition logos are often dark: always show them on a light chip.
   Dark team crests get a soft light outline in dark mode so they never vanish on the background. */
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)); }

/* Date rail (matches) */
.ws-daysbar { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.ws-days__viewport { position: relative; flex: 1; min-width: 0; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%); }
.ws-daysbar .ws-days { gap: 8px; padding: 6px 18px; scroll-snap-type: x mandatory; scroll-padding-inline: 18px; overscroll-behavior-x: contain; }
.ws-days li { scroll-snap-align: center; }
.ws-days a {
  position: relative; display: grid; justify-items: center; align-content: center; gap: 2px; width: 70px; height: 84px; padding: 0;
  border-radius: 16px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .06); color: #fff; text-align: center;
  transition: background .15s, transform .15s, border-color .15s;
}
.ws-days a:hover { background: rgba(255, 255, 255, .12); color: #fff; transform: translateY(-2px); }
.ws-days__d { font: 500 11.5px/1.2 var(--f-display); color: #cdbfe8; white-space: nowrap; }
.ws-days__n { font: 800 26px/1 var(--f-num); color: #fff; letter-spacing: .02em; }
.ws-days__m { font: 500 11px/1.2 var(--f-display); color: #a99fc2; }
.ws-days li.is-today a { border-color: rgba(255, 210, 0, .55); }
.ws-days li.is-today a::after { content: ""; position: absolute; bottom: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--we-yellow); }
.ws-days li.is-today .ws-days__d { color: var(--we-yellow); font-weight: 600; }
.ws-days li.active a { background: var(--we-yellow); border-color: transparent; box-shadow: 0 10px 24px -10px rgba(255, 210, 0, .6); transform: translateY(-2px); }
.ws-days li.active .ws-days__d, .ws-days li.active .ws-days__n, .ws-days li.active .ws-days__m { color: var(--we-yellow-ink); }
.ws-days li.active a::after { background: var(--we-yellow-ink); }
.ws-days__nav { flex: none; display: none; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; transition: background .15s, opacity .15s; }
.ws-days__nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ws-days__nav:hover { background: rgba(255, 255, 255, .2); }
.ws-days__nav:disabled { opacity: .3; cursor: default; }
.ws-datepick { position: relative; flex: none; height: 44px; width: 44px; justify-content: center; padding: 0; }
.ws-datepick span { display: none; }
@media (min-width: 768px) {
  .ws-days__nav { display: inline-grid; }
  .ws-days a { width: 78px; height: 90px; }
  .ws-datepick { width: auto; padding-inline: 14px; }
  .ws-datepick span { display: inline; }
}

/* News pager: previous / numbers / gaps / next */
.ws-pager li.is-active a { background: var(--we-purple); color: #fff; box-shadow: none; }
.ws-pager li.is-gap a { background: none; box-shadow: none; min-width: 24px; padding: 0; color: var(--muted); pointer-events: none; }
.ws-pager li.is-nav a { font: 600 13.5px var(--f-display); padding-inline: 14px; }
.ws-daysbar { min-width: 0; max-width: 100%; }

/* =========================================================
   v1.5 - Video block, home predict card, pager separator
   ========================================================= */

/* 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; }
}

/* 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; } }

/* Pager separated from the list above */
.ws-pager { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); position: relative; }
.ws-pager::before { content: ""; position: absolute; top: -2px; inset-inline-start: 50%; transform: translateX(50%); width: 56px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--we-yellow), var(--we-purple)); }
.ws-countdown__lbl, .ws-pcard__kick { white-space: nowrap; }

/* =========================================================
   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; } }

/* =========================================================
   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; } }

/* ---------- 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);
}
