/* =========================================================
   United Cricket League — main stylesheet
   Colours and type follow brand-guide.html
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800;900&family=Inter:wght@400;500;600&display=swap');

:root {
  color-scheme: dark;
  /* Brand colours (sampled from the logo) */
  --ucl-black: #121212;      /* Pitch Black — logo background */
  --ucl-red: #CB1F2B;        /* Strike Red — brush stroke */
  --ucl-white: #FFFFFF;      /* Chalk White — wordmark */
  --ucl-grey: #9A9A9A;       /* Tape Grey — fist shading */

  /* Supporting tones */
  --ucl-red-dark: #9E1620;
  --ucl-red-light: #E5444F;
  --ucl-charcoal: #1C1C1C;
  --ucl-graphite: #262626;
  --ucl-line: #333333;
  --ucl-text: #EDEDED;
  --ucl-muted: #A3A3A3;
  --ucl-win: #2FA36B;

  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius: 6px;
  --maxw: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ucl-black);
  color: var(--ucl-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.1;
  margin: 0 0 .5em;
  color: var(--ucl-white);
}
h1 { font-size: clamp(2.2rem, 6vw, 4.2rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--alt { background: var(--ucl-charcoal); }

/* Brush-stroke accent under headings */
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ucl-red-light);
  margin-bottom: .75rem;
}
.title-stroke { position: relative; display: inline-block; z-index: 0; }
.title-stroke::after {
  content: "";
  position: absolute; left: -6px; right: -10px; bottom: .08em; height: .38em;
  background: var(--ucl-red);
  transform: skewX(-18deg) rotate(-1.5deg);
  z-index: -1;
  clip-path: polygon(0 30%, 4% 0, 100% 10%, 97% 70%, 100% 100%, 2% 90%);
}
.section-head { margin-bottom: 2.5rem; max-width: 720px; }
.section-head p { color: var(--ucl-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em; font-size: .85rem;
  padding: .95rem 1.6rem; border-radius: var(--radius);
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--ucl-red); color: var(--ucl-white); }
.btn--primary:hover { background: var(--ucl-red-light); }
.btn--ghost { border-color: var(--ucl-white); color: var(--ucl-white); background: transparent; }
.btn--ghost:hover { background: var(--ucl-white); color: var(--ucl-black); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18,18,18,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--ucl-line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand img { width: 48px; height: 48px; object-fit: cover; border-radius: 4px; }
.brand span {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  line-height: 1; font-size: .95rem; letter-spacing: .04em;
}
.brand span b { display: block; font-size: 1.25rem; font-weight: 900; }
.nav-links { display: flex; gap: 1.3rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-links a {
  font-family: var(--font-display); font-weight: 700; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .1em; color: var(--ucl-muted);
  padding: .4rem 0; border-bottom: 2px solid transparent; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--ucl-white); border-color: var(--ucl-red); }
.nav-links .btn { padding: .6rem 1.1rem; color: var(--ucl-white); border-bottom: 2px solid transparent; }
.nav-toggle {
  display: none; background: none; border: 0; color: var(--ucl-white);
  width: 44px; height: 44px; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 24px; height: 2px; background: currentColor; position: relative; margin: auto;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; } .nav-toggle span::after { top: 7px; }

@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--ucl-black); border-bottom: 1px solid var(--ucl-line);
    padding: .5rem var(--gutter) 1.25rem; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--ucl-line); }
  .nav-links .btn { margin-top: 1rem; display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 110px) 0; }
.hero::before {
  content: ""; position: absolute; right: -10%; top: 10%; width: 70%; height: 70%;
  background: var(--ucl-red); opacity: .12; filter: blur(120px); border-radius: 50%;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero h1 .red { color: var(--ucl-red); }
.hero p.lead { font-size: 1.15rem; color: var(--ucl-muted); max-width: 520px; margin-bottom: 2rem; }
.hero-emblem { position: relative; }
.hero-emblem img { width: 100%; max-width: 520px; margin-left: auto; }
.hero-stats { display: flex; gap: 2.5rem; margin-top: 2.5rem; flex-wrap: wrap; }
.hero-stats div strong {
  display: block; font-family: var(--font-display); font-weight: 900; font-size: 2rem; color: var(--ucl-white);
}
.hero-stats div span { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ucl-muted); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-emblem { order: -1; }
  .hero-emblem img { max-width: 300px; margin: 0 auto; }
}

/* Page banner (inner pages) */
.page-banner {
  padding: clamp(48px, 7vw, 80px) 0 clamp(32px, 5vw, 56px);
  border-bottom: 1px solid var(--ucl-line);
  background:
    linear-gradient(100deg, transparent 55%, rgba(203,31,43,.18) 55%, rgba(203,31,43,.18) 62%, transparent 62%),
    var(--ucl-black);
}
.page-banner p { color: var(--ucl-muted); max-width: 640px; }

/* ---------- Ticker strip ---------- */
.ticker { background: var(--ucl-red); overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-block; padding: .7rem 0; animation: ticker 35s linear infinite; }
.ticker-track span {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  letter-spacing: .1em; font-size: .85rem; margin: 0 2rem;
}
.ticker-track span::before { content: "●"; margin-right: 2rem; opacity: .5; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid > *, .split > *, .hero-grid > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card {
  background: var(--ucl-graphite); border: 1px solid var(--ucl-line);
  border-radius: var(--radius); padding: 1.5rem; position: relative;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--ucl-red); }
.card--accent { border-top: 4px solid var(--ucl-red); }
.card p { color: var(--ucl-muted); margin: 0; }
.card .icon {
  width: 48px; height: 48px; border-radius: var(--radius);
  background: rgba(203,31,43,.15); color: var(--ucl-red-light);
  display: grid; place-items: center; margin-bottom: 1rem;
}
.card .icon svg { width: 24px; height: 24px; }

/* Match card */
.match-card { display: flex; flex-direction: column; gap: 1rem; }
.match-meta {
  display: flex; justify-content: space-between; font-size: .75rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ucl-muted);
}
.match-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .75rem; text-align: center; }
.match-teams .vs { font-family: var(--font-display); font-weight: 900; color: var(--ucl-red); }
.team-mini { display: flex; flex-direction: column; align-items: center; gap: .5rem; font-weight: 600; font-size: .9rem; }
.team-mini .score { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--ucl-white); }
.match-venue { font-size: .85rem; color: var(--ucl-muted); border-top: 1px solid var(--ucl-line); padding-top: .75rem; }
.match-result { font-size: .85rem; color: var(--ucl-win); font-weight: 600; border-top: 1px solid var(--ucl-line); padding-top: .75rem; }

.crest {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 900; font-size: 1rem; color: var(--ucl-white);
  border: 2px solid rgba(255,255,255,.25);
  flex-shrink: 0;
}
.crest--lg { width: 88px; height: 88px; font-size: 1.5rem; }

/* Team card */
.team-card { text-align: center; padding: 2rem 1.5rem; overflow: hidden; }
.team-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--team-color, var(--ucl-red));
}
.team-card .crest { margin: 0 auto 1rem; }
.team-card h3 { margin-bottom: .25rem; }
.team-card .team-meta { font-size: .85rem; color: var(--ucl-muted); }
.team-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin: 1.25rem 0 0; font-size: .8rem; }
.team-card dt { color: var(--ucl-muted); text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; }
.team-card dd { margin: 0; font-weight: 600; color: var(--ucl-white); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--ucl-line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { padding: .9rem 1rem; text-align: center; border-bottom: 1px solid var(--ucl-line); }
th {
  background: var(--ucl-red); color: var(--ucl-white);
  font-family: var(--font-display); font-weight: 800; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
}
td { font-variant-numeric: tabular-nums; }
tbody tr:nth-child(even) { background: var(--ucl-charcoal); }
tbody tr:hover { background: var(--ucl-graphite); }
td.team-cell { text-align: left; display: flex; align-items: center; gap: .75rem; font-weight: 600; }
td.team-cell .crest { width: 32px; height: 32px; font-size: .65rem; }
td.pts { font-family: var(--font-display); font-weight: 900; color: var(--ucl-white); }
tr.qualify td:first-child { box-shadow: inset 4px 0 0 var(--ucl-red); }
.form-dots { display: inline-flex; gap: 4px; }
.form-dots i { width: 20px; height: 20px; border-radius: 50%; font-style: normal; font-size: .62rem; font-weight: 700; display: grid; place-items: center; }
.form-dots .W { background: var(--ucl-win); } .form-dots .L { background: var(--ucl-red); } .form-dots .N { background: #555; }
.table-note { font-size: .8rem; color: var(--ucl-muted); margin-top: .75rem; }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: .5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.tab {
  background: transparent; color: var(--ucl-muted); border: 1px solid var(--ucl-line);
  font-family: var(--font-display); font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .7rem 1.2rem; border-radius: var(--radius); cursor: pointer;
}
.tab.active, .tab:hover { background: var(--ucl-red); border-color: var(--ucl-red); color: var(--ucl-white); }
.tab-panel { display: none; } .tab-panel.active { display: block; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.1rem; }
label { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ucl-muted); margin-bottom: .4rem; }
input, select, textarea {
  width: 100%; background: var(--ucl-black); color: var(--ucl-white);
  border: 1px solid var(--ucl-line); border-radius: var(--radius);
  padding: .85rem 1rem; font: inherit;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ucl-red); box-shadow: 0 0 0 3px rgba(203,31,43,.25); }
textarea { min-height: 120px; resize: vertical; }
.form-msg { display: none; padding: 1rem; border-radius: var(--radius); background: rgba(47,163,107,.15); border: 1px solid var(--ucl-win); }
.form-msg.show { display: block; }
.check { display: flex; gap: .6rem; align-items: flex-start; text-transform: none; letter-spacing: 0; font-size: .9rem; font-weight: 400; }
.check input { width: auto; margin-top: .3rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.gallery figure { margin: 0; position: relative; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; background: var(--ucl-graphite); border: 1px solid var(--ucl-line); }
.gallery figure.tall { grid-row: span 2; aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .ph { width: 100%; height: 100%; display: grid; place-items: center; color: #555; }
.gallery .ph svg { width: 40px; height: 40px; }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
  font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
}

/* ---------- Sponsors ---------- */
.tier { margin-bottom: 3rem; }
.sponsor-slot {
  aspect-ratio: 3/2; border: 2px dashed var(--ucl-line); border-radius: var(--radius);
  display: grid; place-items: center; text-align: center; color: var(--ucl-muted); font-size: .85rem; padding: 1rem;
}
.price-card .price { font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; color: var(--ucl-white); margin: .5rem 0 1rem; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 1.5rem; color: var(--ucl-muted); font-size: .92rem; }
.price-card li { padding: .45rem 0 .45rem 1.5rem; position: relative; border-bottom: 1px solid var(--ucl-line); }
.price-card li::before { content: ""; position: absolute; left: 0; top: .95rem; width: 10px; height: 3px; background: var(--ucl-red); transform: skewX(-20deg); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ucl-red); color: var(--ucl-white); position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 320px; height: 320px;
  background: url('../assets/img/ucl-emblem.jpg') center/cover; mix-blend-mode: multiply; opacity: .35; border-radius: 50%;
}
.cta-band .container { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; padding-top: 3.5rem; padding-bottom: 3.5rem; }
.cta-band h2 { margin: 0; }
.cta-band .btn--primary { background: var(--ucl-black); }
.cta-band .btn--primary:hover { background: var(--ucl-charcoal); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--ucl-line); padding: 4rem 0 2rem; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid h4 { font-size: .8rem; letter-spacing: .14em; color: var(--ucl-white); margin-bottom: 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .5rem; }
.footer-grid a { color: var(--ucl-muted); } .footer-grid a:hover { color: var(--ucl-white); }
.footer-grid p { color: var(--ucl-muted); }
.socials { display: flex; gap: .6rem; margin-top: 1rem; }
.socials a { width: 38px; height: 38px; border: 1px solid var(--ucl-line); border-radius: 50%; display: grid; place-items: center; color: var(--ucl-muted); }
.socials a:hover { background: var(--ucl-red); border-color: var(--ucl-red); color: var(--ucl-white); }
.socials svg { width: 16px; height: 16px; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--ucl-line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; color: #777; font-size: .8rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Misc ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.steps { counter-reset: step; display: grid; gap: 1.25rem; }
.step { display: flex; gap: 1rem; align-items: flex-start; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; color: var(--ucl-red); line-height: 1; min-width: 2.5rem;
}
.step h3 { margin-bottom: .25rem; }
.step p { color: var(--ucl-muted); margin: 0; }
.demo-badge {
  position: fixed; left: 12px; bottom: 12px; z-index: 60;
  background: #F5B300; color: #111; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .4rem .7rem; border-radius: 4px;
}
.empty { color: var(--ucl-muted); padding: 2rem; text-align: center; border: 1px dashed var(--ucl-line); border-radius: var(--radius); }
.filter-bar { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.filter-bar select { width: auto; min-width: 200px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* =========================================================
   Season sections (v1.1)
   ========================================================= */
.hero-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: -1rem 0 1.75rem; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ucl-muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-meta svg { width: 16px; height: 16px; color: var(--ucl-red-light); }

.entry-mini {
  display: inline-block; border: 1px solid var(--ucl-line); border-left: 4px solid var(--ucl-red);
  background: var(--ucl-graphite); border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 1.75rem;
}
.entry-mini small { display: block; color: var(--ucl-muted); font-size: .78rem; margin-top: .25rem; }
.offer-tag {
  display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: .7rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ucl-white); background: var(--ucl-red); padding: .3rem .6rem; border-radius: 3px; margin-bottom: .6rem;
}
.price-line { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.price-now { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--ucl-white); line-height: 1; }
.price-unit { font-family: var(--font-display); font-weight: 700; color: var(--ucl-muted); text-transform: uppercase; font-size: .85rem; }
.price-line s { color: var(--ucl-muted); font-size: 1rem; }

.hero-media { display: grid; gap: .75rem; }
.media-frame { aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--ucl-line); background: var(--ucl-graphite); }
.media-frame iframe { width: 100%; height: 100%; border: 0; }
.media-ph { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; text-align: center; padding: 1rem;
  background: linear-gradient(115deg, var(--ucl-graphite) 55%, rgba(203,31,43,.25) 55%, rgba(203,31,43,.25) 63%, var(--ucl-graphite) 63%); }
.media-ph b { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em; color: var(--ucl-white); }
.media-ph small { color: var(--ucl-muted); }
.media-ph > svg { width: 36px; height: 36px; color: var(--ucl-red-light); }
.media-ph .play { width: 64px; height: 64px; border-radius: 50%; background: var(--ucl-red); display: grid; place-items: center; margin-bottom: .4rem; }
.media-ph .play svg { width: 26px; height: 26px; color: #fff; margin-left: 3px; }
.media-links { display: flex; gap: 1.25rem; flex-wrap: wrap; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.media-links a { display: inline-flex; align-items: center; gap: .4rem; color: var(--ucl-muted); }
.media-links a:hover { color: var(--ucl-white); }
.media-links svg { width: 16px; height: 16px; }
.is-disabled { pointer-events: none; opacity: .6; }

/* In-page jump bar */
.jumpbar { border-bottom: 1px solid var(--ucl-line); background: var(--ucl-black); }
.jumpbar .container { display: flex; gap: 1.75rem; overflow-x: auto; scrollbar-width: none; }
.jumpbar a { flex-shrink: 0; padding: 1rem 0; font-family: var(--font-display); font-weight: 700; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ucl-muted); border-bottom: 2px solid transparent; }
.jumpbar a:hover { color: var(--ucl-white); border-color: var(--ucl-red); }
section[id] { scroll-margin-top: 80px; }

/* Countdown */
.countdown-band { background: var(--ucl-charcoal); border-bottom: 1px solid var(--ucl-line); }
.countdown { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; flex-wrap: wrap; padding-top: 2rem; padding-bottom: 2rem; }
.cd-label { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--ucl-red-light); margin: 0; }
.cd-label b { display: block; color: var(--ucl-white); font-size: 1.1rem; letter-spacing: .04em; margin-top: .25rem; }
.cd-units { display: flex; gap: .75rem; }
.cd-units div { min-width: 78px; text-align: center; background: var(--ucl-black); border: 1px solid var(--ucl-line); border-radius: var(--radius); padding: .75rem .5rem; position: relative; overflow: hidden; }
.cd-units div::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--ucl-red); }
.cd-units strong { display: block; font-family: var(--font-display); font-weight: 900; font-size: 2rem; line-height: 1; color: var(--ucl-white); font-variant-numeric: tabular-nums; }
.cd-units span { font-size: .65rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ucl-muted); }
@media (max-width: 520px) { .cd-units { width: 100%; } .cd-units div { flex: 1; min-width: 0; } .cd-units strong { font-size: 1.5rem; } }

/* Format strip */
.format-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border: 1px solid var(--ucl-line); border-radius: var(--radius); overflow: hidden; }
.format-strip div { padding: 1.5rem 1.25rem; border-right: 1px solid var(--ucl-line); background: var(--ucl-graphite); }
.format-strip div:last-child { border-right: 0; }
.format-strip strong { display: block; font-family: var(--font-display); font-weight: 900; font-size: 2.2rem; line-height: 1; color: var(--ucl-white); margin-bottom: .4rem; }
.format-strip span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ucl-muted); }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }
.chips span { border: 1px solid var(--ucl-line); border-radius: 999px; padding: .45rem 1rem; font-size: .8rem; font-weight: 600; color: var(--ucl-text); }
.chips span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ucl-red); margin-right: .55rem; }

/* Awards */
.award { background: var(--ucl-graphite); border: 1px solid var(--ucl-line); border-radius: var(--radius); padding: 1.75rem 1.5rem; text-align: center; position: relative; overflow: hidden; }
.award::before { content: ""; position: absolute; left: -20%; right: -20%; top: 0; height: 5px; background: var(--ucl-red); }
.award-icon { width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; background: rgba(203,31,43,.15); color: var(--ucl-red-light); }
.award-icon svg { width: 30px; height: 30px; }
.award h3 { margin-bottom: .35rem; }
.award p { color: var(--ucl-muted); margin: 0; font-size: .9rem; }
.award--gold { background: linear-gradient(160deg, rgba(203,31,43,.28), var(--ucl-graphite) 60%); border-color: var(--ucl-red); }
.award--gold .award-icon { background: var(--ucl-red); color: #fff; }
.award-sub { font-family: var(--font-display); font-weight: 800; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ucl-muted); margin: 2.5rem 0 1rem; }

/* Venue */
.venue-map { display: grid; gap: 1rem; }
.venue-mapbox { position: relative; aspect-ratio: 16/10; max-width: 100%; border-radius: 14px; overflow: hidden; border: 1px solid var(--ucl-line); background: var(--ucl-graphite); }
.venue-mapbox .media-ph { position: absolute; inset: 0; }
.venue-mapbox iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9) hue-rotate(180deg); }
.venue-photo { position: relative; margin: 0; aspect-ratio: 16/10; max-width: 100%; border-radius: 14px; overflow: hidden; border: 1px solid var(--ucl-line); }
.venue-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.venue-photo:hover img { transform: scale(1.05); }
.venue-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.25rem; background: linear-gradient(transparent, rgba(0,0,0,.85)); font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
.venue-photo figcaption span { display: inline-flex; align-items: center; gap: .4rem; }
.venue-photo figcaption svg { width: 16px; height: 16px; color: var(--ucl-red-light); }
.venue-photo figcaption a { color: var(--ucl-red-light); }
.venue-name { font-size: clamp(1.8rem, 4.5vw, 3rem); font-weight: 900; }

/* Entry */
.entry-card { background: var(--ucl-graphite); border: 1px solid var(--ucl-red); border-radius: var(--radius); padding: 2rem; }
.tick-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .55rem; }
.tick-list li { padding-left: 1.6rem; position: relative; color: var(--ucl-text); }
.tick-list li::before { content: ""; position: absolute; left: 0; top: .45rem; width: 12px; height: 7px; border-left: 3px solid var(--ucl-red-light); border-bottom: 3px solid var(--ucl-red-light); transform: rotate(-45deg); }
.btn svg { width: 18px; height: 18px; }

/* Accordions */
.acc { border: 1px solid var(--ucl-line); border-radius: var(--radius); background: var(--ucl-graphite); margin-bottom: .6rem; }
.acc summary { list-style: none; cursor: pointer; padding: 1.1rem 3rem 1.1rem 1.25rem; position: relative; font-family: var(--font-display); font-weight: 700; color: var(--ucl-white); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--ucl-red-light); }
.acc[open] { border-color: var(--ucl-red); }
.acc[open] summary::after { content: "–"; }
.acc > div { padding: 0 1.25rem 1.15rem; color: var(--ucl-muted); }
.rulebook-note { margin-top: 1.25rem; padding: 1.25rem; border: 1px dashed var(--ucl-line); border-radius: var(--radius); display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.rulebook-note p { margin: 0; color: var(--ucl-muted); font-size: .9rem; max-width: 520px; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 70; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.4); transition: transform .15s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

.hero-media .hero-emblem img { max-width: 300px; margin: 0 auto; }
@media (max-width: 860px) { .hero-media .hero-emblem { display: none; } }
table.table--compact { min-width: 0; }
table.table--compact th, table.table--compact td { padding: .75rem .5rem; }

/* =========================================================
   Motion edition (v2)
   ========================================================= */
.scroll-progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; background: var(--ucl-red); transform: scaleX(0); transform-origin: left; z-index: 100; }

/* Split words (mask reveal) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.wi { display: inline-block; will-change: transform; }
[data-fill] .w { overflow: visible; }

/* Parenthetical eyebrow, Captain-Fresh style */
.paren { font-family: var(--font-display); font-weight: 700; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ucl-red-light); display: inline-flex; gap: .6rem; align-items: center; margin-bottom: 1.25rem; }
.paren::before { content: "("; } .paren::after { content: ")"; }
.paren::before, .paren::after { color: var(--ucl-muted); font-weight: 400; font-size: 1rem; }

/* Hero v2 */
.hero2 { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); }
.hero2 .container { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem; align-items: center; }
.hero2 h1 { font-size: clamp(2.8rem, 8.2vw, 7.2rem); line-height: .92; letter-spacing: -.01em; margin-bottom: 1.5rem; }
.hero2 h1 .red { color: var(--ucl-red); }
.hero2 .lead { font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--ucl-muted); max-width: 500px; margin-bottom: 2rem; }
.dial-wrap { position: relative; aspect-ratio: 1; width: 100%; max-width: 520px; margin-left: auto; }
.dial { position: absolute; inset: 0; width: 100%; height: 100%; }
.dial .tick { stroke: rgba(255,255,255,.28); stroke-width: .35; stroke-linecap: round; }
.dial .tick--long { stroke: var(--ucl-red); stroke-width: .6; }
.dial-emblem { position: absolute; inset: 17%; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--ucl-black); box-shadow: 0 0 0 1px var(--ucl-line), 0 30px 80px rgba(203,31,43,.25); }
.dial-emblem img { width: 118%; max-width: none; }
.dial-label { position: absolute; left: 50%; bottom: -.5rem; transform: translateX(-50%); white-space: nowrap; font-family: var(--font-display); font-weight: 700; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ucl-muted); }
.scroll-cue { display: inline-flex; align-items: center; gap: .6rem; margin-top: 2.5rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ucl-muted); }
.scroll-cue i { width: 18px; height: 28px; border: 1.5px solid var(--ucl-muted); border-radius: 10px; position: relative; }
.scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 5px; width: 2px; height: 6px; margin-left: -1px; background: var(--ucl-red); border-radius: 2px; animation: cue 1.6s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 860px) {
  .hero2 .container { grid-template-columns: 1fr; }
  .dial-wrap { order: -1; max-width: 300px; margin: 0 auto; }
}

/* Statement */
.statement { padding: clamp(80px, 12vw, 160px) 0; }
.statement p { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 4.6vw, 3.9rem); line-height: 1.08; text-transform: uppercase; color: var(--ucl-white); margin: 0; max-width: 1100px; }
.statement p em { font-style: normal; color: var(--ucl-red); }

/* Numbers */
.nums { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--ucl-line); }
.num { min-width: 0; padding: 2rem 1.25rem; border-bottom: 1px solid var(--ucl-line); border-left: 1px solid var(--ucl-line); }
.num:first-child { border-left: 0; }
.num { text-align: center; }
.num strong { display: block; font-family: var(--font-display); font-weight: 900; font-size: clamp(2.6rem, 5.2vw, 5rem); line-height: .9; letter-spacing: -.02em; color: var(--ucl-white); font-variant-numeric: tabular-nums; white-space: nowrap; }
.num strong sup { font-size: .35em; color: var(--ucl-red); vertical-align: top; margin-left: .1em; }
.num span { display: block; margin-top: .6rem; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ucl-muted); }

/* Team rail */
.rail { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 96px) 0; }
.rail-head { position: relative; z-index: 2; }
.rail-viewport { position: relative; z-index: 2; overflow: hidden; padding-left: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); }
.rail-track { display: flex; gap: 1.25rem; width: max-content; padding-right: var(--gutter); will-change: transform; }
.rail-card {
  position: relative; width: clamp(240px, 26vw, 320px); flex-shrink: 0; padding: 1.75rem; border-radius: 14px;
  background: linear-gradient(170deg, rgba(255,255,255,.06), rgba(255,255,255,.015)); border: 1px solid var(--ucl-line);
  backdrop-filter: blur(6px); transition: transform .3s ease, border-color .3s ease;
}
.rail-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 14px 14px 0 0; background: var(--team-color, var(--ucl-red)); }
.rail-card:hover { transform: translateY(-8px); border-color: var(--ucl-red); }
.rail-pos { position: absolute; top: 1.2rem; right: 1.4rem; font-family: var(--font-display); font-weight: 900; font-size: 2.4rem; color: rgba(255,255,255,.08); line-height: 1; }
.rail-card h3 { margin: 1.2rem 0 1rem; font-size: 1.2rem; }
.rail-card dl { display: flex; gap: 1.5rem; margin: 0 0 1.25rem; }
.rail-card dt { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ucl-muted); }
.rail-card dd { margin: 0; font-family: var(--font-display); font-weight: 800; color: var(--ucl-white); }
.rail-more { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ucl-red-light); }
.bigword { position: absolute; left: 0; top: 50%; transform: translateY(-50%); z-index: 1; white-space: nowrap; pointer-events: none;
  font-family: var(--font-display); font-weight: 900; font-size: clamp(8rem, 26vw, 24rem); line-height: 1; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.08); }
@media (max-width: 860px) {
  .rail-viewport { overflow-x: auto; scroll-snap-type: x mandatory; padding-left: var(--gutter); scrollbar-width: none; }
  .rail-card { scroll-snap-align: start; width: 78vw; }
}

/* Crest with logo */
.crest--img { background: #fff; overflow: hidden; padding: 0; }
.crest--img img { width: 100%; height: 100%; object-fit: cover; }
.crest--xl { width: 76px; height: 76px; font-size: 1.3rem; }

/* Finals stack */
.stack { display: grid; gap: 1.5rem; }
.stack-card {
  position: sticky; top: calc(96px + var(--i) * 18px);
  background: linear-gradient(140deg, #1d1d1d, #141414 60%); border: 1px solid var(--ucl-line); border-radius: 18px;
  padding: clamp(1.5rem, 4vw, 3rem); overflow: hidden; transform-origin: top center;
}
.stack-card::after { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; height: 180%; background: var(--ucl-red); opacity: .08; transform: rotate(18deg); }
.stack-meta { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ucl-muted); margin-bottom: 2rem; }
.stack-body { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; text-align: center; }
.stack-team { display: flex; flex-direction: column; align-items: center; gap: .6rem; opacity: .6; }
.stack-team.win { opacity: 1; }
.stack-team b { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.1rem, 2.6vw, 1.9rem); color: var(--ucl-white); line-height: 1.05; }
.stack-team small { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ucl-muted); }
.stack-team.win small { color: var(--ucl-red-light); }
.stack-vs { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; color: var(--ucl-red); }
.stack-result { position: relative; z-index: 1; margin: 2rem 0 0; text-align: center; font-weight: 600; color: var(--ucl-win); }
@media (max-width: 860px) { .stack-card { position: relative; top: 0; } }

/* Win bar in table */
.winbar { display: inline-block; vertical-align: middle; width: 56px; height: 6px; margin-right: .75rem; background: var(--ucl-line); border-radius: 3px; overflow: hidden; }
.winbar i { display: block; height: 100%; background: var(--ucl-red); border-radius: 3px; }
@media (max-width: 520px) { .winbar { display: none; } }

/* Honours with photos */
.honours { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 960px) { .honours { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .honours { grid-template-columns: 1fr; } }
.honour { display: flex; gap: 1.1rem; align-items: center; padding: 1.1rem; border: 1px solid var(--ucl-line); border-radius: 14px; background: var(--ucl-graphite); transition: border-color .25s, transform .25s; }
.honour:hover { border-color: var(--ucl-red); transform: translateY(-4px); }
.honour-photo { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--ucl-red); display: grid; place-items: center; box-shadow: 0 0 0 3px var(--ucl-black), 0 0 0 5px var(--ucl-red); }
.honour-photo img { width: 100%; height: 100%; object-fit: cover; }
.honour-photo span { font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; color: #fff; }
.honour-title { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ucl-red-light); font-weight: 700; }
.honour h3 { margin: .25rem 0 .1rem; font-size: 1.05rem; }
.honour p { margin: 0; color: var(--ucl-muted); font-size: .85rem; }

/* Squad grid (teams page) */
.squad { margin-top: 1.25rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: .9rem; }
.player { text-align: center; font-size: .75rem; color: var(--ucl-muted); }
.player .ph2 { width: 72px; height: 72px; margin: 0 auto .45rem; border-radius: 50%; overflow: hidden; background: var(--ucl-graphite); border: 1px solid var(--ucl-line); display: grid; place-items: center; transition: transform .25s, border-color .25s; }
.player:hover .ph2 { transform: scale(1.08); border-color: var(--ucl-red); }
.player .ph2 img { width: 100%; height: 100%; object-fit: cover; }
.player .ph2 span { font-family: var(--font-display); font-weight: 800; color: var(--ucl-muted); }
.player b { display: block; color: var(--ucl-text); font-weight: 600; overflow-wrap: anywhere; }
.player.cap .ph2 { box-shadow: 0 0 0 2px var(--ucl-red); }
.team-block { padding: 2rem 0; border-bottom: 1px solid var(--ucl-line); scroll-margin-top: 90px; }
.team-block-head { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.team-block-head h2 { margin: 0; }
.team-block-head .meta { color: var(--ucl-muted); font-size: .9rem; }

/* Card hover lift everywhere */
.card { transition: border-color .25s ease, transform .25s ease; }
.card:hover { transform: translateY(-4px); }
@media (prefers-reduced-motion: reduce) { .ticker-track, .scroll-cue i::after { animation: none; } .card:hover, .rail-card:hover, .honour:hover { transform: none; } }

/* =========================================================
   Responsive polish (phones & tablets)
   ========================================================= */
.rail-viewport { scroll-padding-inline-start: var(--gutter); }
.nav-links.open { max-height: calc(100vh - 72px); overflow-y: auto; }
.wa-float { right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }

@media (max-width: 860px) {
  .rail-card { width: min(78vw, 320px); }
  .section { padding: clamp(48px, 10vw, 72px) 0; }
  .statement { padding: 64px 0; }
  .section-head { margin-bottom: 1.75rem; }
  .bigword { font-size: 9rem; }
}
@media (max-width: 600px) {
  .dial-wrap { max-width: 210px; }
  .dial-label { font-size: .62rem; }
  .hero2 { padding-top: 24px; }
  .hero2 h1 { font-size: clamp(2.5rem, 13vw, 3.4rem); margin-bottom: 1rem; }
  .hero2 .lead { margin-bottom: 1.5rem; }
  .scroll-cue { display: none; }
  .btn-row .btn { flex: 1 1 auto; justify-content: center; }
  .nums { grid-template-columns: 1fr 1fr; }
  .num { padding: 1.25rem 1rem; }
  .num:nth-child(odd) { border-left: 0; }
  .num:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .num strong { font-size: 3rem; }
  .statement p { font-size: 1.65rem; }
  .col-opt { display: none; }
  th, td { padding: .75rem .5rem; }
  table { min-width: 0; }
  td.team-cell { gap: .5rem; font-size: .9rem; }
  .stack-body { gap: .5rem; }
  .stack-team .crest--xl, .rail-card .crest--xl { width: 60px; height: 60px; }
  .stack-meta { margin-bottom: 1.25rem; }
  .stack-result { margin-top: 1.25rem; font-size: .9rem; }
  .honour-photo { width: 68px; height: 68px; }
  .wa-float { width: 50px; height: 50px; }
  .wa-float svg { width: 26px; height: 26px; }
  .cta-band .container { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .cta-band::after { width: 200px; height: 200px; }
  .footer-grid { gap: 1.5rem; }
  .page-banner h1 { font-size: clamp(2rem, 11vw, 2.8rem); }
  .tabs .tab { flex: 1 1 auto; }
  .filter-bar select { width: 100%; }
  .squad { grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: .75rem; }
  .player .ph2 { width: 60px; height: 60px; }
}
@media (min-width: 601px) and (max-width: 860px) {
  .dial-wrap { max-width: 260px; }
  .nums { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .num:nth-child(3n+1) { border-left: 0; }
  .num:nth-child(4) { border-left: 0; }
}

/* Venue: photo beside text, map as a full-width strip */
.venue-photo { aspect-ratio: 4/3; }
#venue-mapstrip:empty { display: none; }
#venue-mapstrip { margin-top: 2.5rem; }
#venue-mapstrip .venue-mapbox { aspect-ratio: auto; height: clamp(220px, 32vw, 340px); }
@media (max-width: 860px) { .venue-photo { aspect-ratio: 16/10; } }

/* Dial: live animation */
.dial { overflow: visible; }
.dial .tick { transition: stroke .5s ease, stroke-width .5s ease; }
.dial .tick.on { stroke: #fff; stroke-width: .7; transition: none; }
.dial .tick--long.on { stroke: #fff; }
.dial-ticks { transform-origin: 50px 50px; animation: dial-spin 90s linear infinite; }
.dial-track { fill: none; stroke: rgba(255,255,255,.06); stroke-width: .35; }
.dial-orbit { transform-origin: 50px 50px; animation: dial-spin 7s linear infinite; }
.dial-trail { fill: none; stroke: var(--ucl-red); stroke-width: .5; stroke-linecap: round; stroke-dasharray: 22 78; stroke-dashoffset: 22; transform: rotate(-90deg); transform-origin: 50px 50px; opacity: .9; }
.dial-ball { fill: #fff; }
.dial-ball-glow { fill: var(--ucl-red); opacity: .55; filter: blur(.6px); animation: ball-glow 1.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes dial-spin { to { transform: rotate(360deg); } }
@keyframes ball-glow { 50% { opacity: .9; transform: scale(1.5); } }
.dial-emblem { transition: transform .4s ease-out; }
.dial-emblem img { animation: punch 2.8s ease-in-out infinite; }
.dial-wrap::after { content: ""; position: absolute; inset: 17%; border-radius: 50%; box-shadow: 0 0 0 0 rgba(203,31,43,.55); animation: punch-ring 2.8s ease-out infinite; pointer-events: none; }
@keyframes punch { 0%, 100% { transform: scale(1); } 8% { transform: scale(1.06); } 16% { transform: scale(.99); } 24% { transform: scale(1.02); } 34% { transform: scale(1); } }
@keyframes punch-ring { 0% { box-shadow: 0 0 0 0 rgba(203,31,43,.55); } 40% { box-shadow: 0 0 0 26px rgba(203,31,43,0); } 100% { box-shadow: 0 0 0 0 rgba(203,31,43,0); } }
@media (prefers-reduced-motion: reduce) {
  .dial-ticks, .dial-orbit, .dial-ball-glow, .dial-emblem img, .dial-wrap::after { animation: none; }
}

/* Teams page spacing + nav fit */
#squads { margin-top: clamp(3rem, 6vw, 5rem); }
.team-block { padding: 2.5rem 0; border-bottom: 0; border-top: 1px solid var(--ucl-line); }
.team-block-head { margin-bottom: .5rem; }
.team-card { display: flex; flex-direction: column; align-items: center; }
.team-card::before { background: var(--ucl-red); }
.team-card dl { width: 100%; max-width: 220px; margin-top: 1.25rem; }
.team-card .rail-more { margin-top: 1.25rem; }
.brand span { white-space: nowrap; }
@media (min-width: 1181px) and (max-width: 1320px) {
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: .72rem; letter-spacing: .08em; }
}
#teams-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { #teams-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { #teams-grid { grid-template-columns: 1fr; } }

/* Player buttons + profile popup */
[hidden] { display: none !important; }
.pmodal[hidden] { display: none !important; }
button.player { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: center; }
button.player:focus-visible .ph2, .honour:focus-visible { outline: 2px solid var(--ucl-red); outline-offset: 3px; }
.honour[data-player] { cursor: pointer; }
html.modal-open { overflow: hidden; }
.pmodal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.pmodal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.72); backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s ease; }
.pmodal-card { position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: linear-gradient(160deg, #1e1e1e, #141414 55%); border: 1px solid var(--ucl-line); border-top: 4px solid var(--ucl-red); border-radius: 18px; padding: clamp(1.25rem, 4vw, 2rem); transform: translateY(24px) scale(.97); opacity: 0; transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .25s ease; }
.pmodal.show .pmodal-backdrop { opacity: 1; }
.pmodal.show .pmodal-card { transform: none; opacity: 1; }
.pmodal-x { position: absolute; top: .75rem; right: .75rem; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ucl-line); background: var(--ucl-black); color: var(--ucl-white); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.pmodal-x:hover { border-color: var(--ucl-red); }
.pm-hero { display: flex; gap: 1.25rem; align-items: center; margin-bottom: 1.5rem; padding-right: 2.5rem; }
.pm-photo { width: 112px; height: 112px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--ucl-graphite); display: grid; place-items: center; box-shadow: 0 0 0 3px var(--ucl-black), 0 0 0 5px var(--ucl-red); }
.pm-photo img { width: 100%; height: 100%; object-fit: cover; }
.pm-photo span { font-family: var(--font-display); font-weight: 900; font-size: 2rem; color: var(--ucl-muted); }
.pm-team { display: inline-flex; align-items: center; gap: .5rem; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ucl-muted); font-weight: 600; }
.pm-team .crest { width: 26px; height: 26px; font-size: .55rem; border-width: 1px; }
.pm-hero h2 { margin: .35rem 0 .6rem; font-size: clamp(1.4rem, 5vw, 2rem); overflow-wrap: anywhere; }
.pm-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.pm-tag { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .6rem; border-radius: 999px; border: 1px solid var(--ucl-line); color: var(--ucl-text); }
.pm-tag--cap { background: var(--ucl-red); border-color: var(--ucl-red); color: #fff; }
.pm-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--ucl-line); border: 1px solid var(--ucl-line); border-radius: 10px; overflow: hidden; margin: 0 0 1.5rem; }
.pm-facts div { background: var(--ucl-charcoal); padding: .85rem 1rem; }
.pm-facts dt { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ucl-muted); margin-bottom: .2rem; }
.pm-facts dd { margin: 0; font-weight: 600; color: var(--ucl-white); }
.pm-facts div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.pm-h { font-size: .8rem; letter-spacing: .14em; color: var(--ucl-red-light); margin-bottom: .75rem; }
.pm-ach { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .6rem; }
.pm-ach li { display: flex; gap: .75rem; align-items: flex-start; padding: .75rem .9rem; border-radius: 10px; background: rgba(203,31,43,.1); border: 1px solid rgba(203,31,43,.3); }
.pm-ach svg { width: 20px; height: 20px; color: var(--ucl-red-light); flex-shrink: 0; margin-top: .1rem; }
.pm-ach b { display: block; color: var(--ucl-white); }
.pm-ach small { color: var(--ucl-muted); }
.pm-none { color: var(--ucl-muted); margin-bottom: 1.5rem; }
.pm-link { width: 100%; justify-content: center; }
.pmodal-nav { display: flex; justify-content: space-between; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--ucl-line); }
.pmodal-nav button { background: none; border: 0; color: var(--ucl-muted); font-family: var(--font-display); font-weight: 700; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; padding: .5rem 0; }
.pmodal-nav button:hover { color: var(--ucl-white); }
@media (max-width: 480px) {
  .pmodal { place-items: end center; padding: 0; }
  .pmodal-card { border-radius: 18px 18px 0 0; max-height: 88vh; width: 100%; padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)); }
  .pm-hero { flex-direction: column; align-items: flex-start; gap: .9rem; }
  .pm-photo { width: 88px; height: 88px; }
}
@media (prefers-reduced-motion: reduce) { .pmodal-card, .pmodal-backdrop { transition: none; } }

/* Collapsible squads */
details.team-block { padding: 0; }
details.team-block > summary { list-style: none; cursor: pointer; padding: 1.5rem 0; display: flex; align-items: center; gap: 1.25rem; }
details.team-block > summary::-webkit-details-marker { display: none; }
details.team-block > summary .team-block-head { flex: 1; margin: 0; }
details.team-block > summary .toggle { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ucl-line); display: grid; place-items: center; flex-shrink: 0; transition: transform .3s ease, background .2s, border-color .2s; color: var(--ucl-white); font-size: 1.4rem; line-height: 1; }
details.team-block > summary:hover .toggle { border-color: var(--ucl-red); }
details.team-block[open] > summary .toggle { transform: rotate(45deg); background: var(--ucl-red); border-color: var(--ucl-red); }
details.team-block > summary h2 { font-size: clamp(1.3rem, 3.4vw, 2.2rem); }
details.team-block .squad { padding-bottom: 2rem; margin-top: .5rem; }
details.team-block[open] .squad { animation: squad-in .45s ease both; }
@keyframes squad-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { details.team-block[open] .squad { animation: none; } }

/* =========================================================
   League hub (v3): tournaments, detail, players
   ========================================================= */
.pill { display: inline-flex; align-items: center; font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .6rem; border-radius: 999px; border: 1px solid var(--ucl-line); color: var(--ucl-muted); white-space: nowrap; }
.pill--live { background: var(--ucl-red); border-color: var(--ucl-red); color: #fff; animation: livepulse 1.6s ease-in-out infinite; }
.pill--upcoming { background: #2563eb; border-color: #2563eb; color: #fff; }
.pill--completed { color: var(--ucl-win); border-color: rgba(47,163,107,.5); }
@keyframes livepulse { 50% { box-shadow: 0 0 0 6px rgba(203,31,43,.15); } }
.filter-chips { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: 1rem; }
.filter-chip { background: transparent; border: 1px solid var(--ucl-line); color: var(--ucl-muted); font: 700 .74rem/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; padding: .65rem 1rem; border-radius: 999px; cursor: pointer; }
.filter-chip:hover { color: var(--ucl-white); border-color: var(--ucl-white); }
.filter-chip.active { background: var(--ucl-red); border-color: var(--ucl-red); color: #fff; }
.filter-sep { width: 1px; height: 24px; background: var(--ucl-line); margin: 0 .25rem; }
#t-count { color: var(--ucl-muted); font-size: .85rem; margin: 0 0 1.25rem; }
.t-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.tcard { position: relative; display: flex; flex-direction: column; gap: .6rem; padding: 1.4rem; border-radius: 14px; background: var(--ucl-graphite); border: 1px solid var(--ucl-line); overflow: hidden; transition: transform .25s ease, border-color .25s ease; min-width: 0; }
.tcard::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--ucl-line); }
.tcard--live::before, .tcard--upcoming::before { background: var(--ucl-red); }
.tcard--completed::before { background: linear-gradient(90deg, var(--ucl-red), transparent); }
.tcard:hover { transform: translateY(-5px); border-color: var(--ucl-red); }
.tcard-top { display: flex; flex-wrap: wrap; gap: .35rem; }
.tcard-code { font-family: ui-monospace, Consolas, monospace; font-size: .8rem; color: var(--ucl-red-light); overflow-wrap: anywhere; }
.tcard h3 { margin: 0; font-size: 1.05rem; }
.tcard-dates { color: var(--ucl-muted); font-size: .85rem; margin: 0; }
.tcard-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: .75rem; padding-top: .9rem; border-top: 1px solid var(--ucl-line); }
.tcard-champ { display: flex; gap: .6rem; align-items: center; font-weight: 700; color: var(--ucl-white); min-width: 0; }
.tcard-champ svg { width: 26px; height: 26px; color: #f5b300; flex-shrink: 0; }
.tcard-champ span { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.tcard-champ small { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ucl-muted); font-weight: 600; }
.tcard-champ--none { color: var(--ucl-muted); }
.tcard-go { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ucl-red-light); white-space: nowrap; }
td.team-cell-plain { text-align: center; }

/* Tournament detail */
.td-title { font-size: clamp(1.8rem, 5vw, 3.4rem); }
.td-meta { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; color: var(--ucl-muted); font-size: .9rem; margin-top: .5rem; }
.td-meta code { color: var(--ucl-white); background: var(--ucl-black); border: 1px dashed var(--ucl-red); border-radius: 6px; padding: .35rem .6rem; font-size: .9rem; overflow-wrap: anywhere; }
.champ-card { display: flex; gap: 1.5rem; align-items: center; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 18px; background: linear-gradient(120deg, rgba(203,31,43,.28), var(--ucl-graphite) 55%); border: 1px solid var(--ucl-red); }
.champ-card h2 { margin: 0 0 .35rem; font-size: clamp(1.6rem, 4.5vw, 2.8rem); }
.champ-card p { margin: 0; color: var(--ucl-text); }
.champ-trophy { width: clamp(64px, 12vw, 96px); height: clamp(64px, 12vw, 96px); border-radius: 50%; background: #f5b300; color: #121212; display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 0 0 6px rgba(245,179,0,.15); }
.champ-trophy svg { width: 55%; height: 55%; }
.ko-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .75rem; margin-top: 1rem; }
.ko { display: flex; flex-direction: column; gap: .25rem; padding: 1rem 1.1rem; border-radius: 12px; border: 1px solid var(--ucl-line); background: var(--ucl-charcoal); }
.ko small { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ucl-muted); }
.ko b { color: var(--ucl-white); }
.ko span { color: var(--ucl-win); font-size: .88rem; font-weight: 600; }
.pt-h { font-size: .85rem; letter-spacing: .12em; color: var(--ucl-red-light); margin: 1.75rem 0 .75rem; }
.pt-h:first-of-type { margin-top: 0; }
.leaders { list-style: none; padding: 0; margin: .75rem 0 0; display: grid; gap: .25rem; }
.leaders li { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr) auto; gap: .6rem; align-items: center; padding: .55rem .4rem; border-radius: 8px; }
.leaders li[data-career] { cursor: pointer; }
.leaders li[data-career]:hover { background: rgba(255,255,255,.04); }
.ld-rank { font-family: var(--font-display); font-weight: 900; color: var(--ucl-red); }
.ld-name b { display: block; color: var(--ucl-white); font-weight: 600; overflow-wrap: anywhere; }
.ld-name small { color: var(--ucl-muted); font-size: .75rem; }
.ld-val { font-family: var(--font-display); font-weight: 900; color: var(--ucl-white); white-space: nowrap; }
.ld-val small { font-family: var(--font-body); font-weight: 400; color: var(--ucl-muted); font-size: .7rem; }
.team-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.team-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .9rem; border-radius: 999px; border: 1px solid var(--ucl-line); background: var(--ucl-graphite); font-weight: 600; font-size: .88rem; color: var(--ucl-text); }
.team-chip svg { width: 16px; height: 16px; color: #f5b300; }
.team-chip.is-champ { border-color: #f5b300; }
a.team-chip:hover { border-color: var(--ucl-red); }

/* Players */
.lead-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-bottom: 2.5rem; }
@media (max-width: 900px) { .lead-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lead-card { text-align: left; display: flex; flex-direction: column; gap: .3rem; padding: 1.25rem; border-radius: 14px; border: 1px solid var(--ucl-line); background: var(--ucl-graphite); color: inherit; font: inherit; cursor: pointer; transition: border-color .2s, transform .2s; min-width: 0; }
.lead-card:hover { border-color: var(--ucl-red); transform: translateY(-4px); }
.lead-card b { font-family: var(--font-display); font-size: 1.1rem; color: var(--ucl-white); text-transform: uppercase; overflow-wrap: anywhere; }
.lead-val { font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; color: var(--ucl-red-light); }
.lead-card small { color: var(--ucl-muted); font-size: .75rem; overflow-wrap: anywhere; }
.pl-tools { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: .75rem; margin-bottom: .75rem; }
@media (max-width: 700px) { .pl-tools { grid-template-columns: 1fr 1fr; } .pl-tools > :first-child { grid-column: 1 / -1; } }
.pl-sub { display: block; color: var(--ucl-muted); font-size: .72rem; }
#pl-body tr { cursor: pointer; }
#pl-body td:nth-child(2) { min-width: 140px; }
.pm-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Home v3 */
.next-band { position: relative; overflow: hidden; border-radius: 18px; border: 1px solid var(--ucl-red); background: linear-gradient(120deg, rgba(203,31,43,.25), var(--ucl-graphite) 60%); padding: clamp(1.5rem, 4vw, 2.5rem); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 2.5rem; align-items: center; }
@media (max-width: 860px) { .next-band { grid-template-columns: 1fr; } }
.next-band h2 { margin: .25rem 0 .5rem; font-size: clamp(1.5rem, 4vw, 2.4rem); }
.next-band p { color: var(--ucl-text); margin: 0 0 1.25rem; }
.next-band code { color: var(--ucl-red-light); font-size: .85rem; }
.next-band .cd-units div { background: rgba(0,0,0,.35); }
.champ-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .75rem; }
.champ-tile { display: flex; flex-direction: column; gap: .2rem; padding: 1.1rem; border-radius: 12px; border: 1px solid var(--ucl-line); background: var(--ucl-graphite); transition: border-color .2s, transform .2s; min-width: 0; }
.champ-tile:hover { border-color: #f5b300; transform: translateY(-4px); }
.champ-ico svg { width: 26px; height: 26px; color: #f5b300; }
.champ-tile b { color: var(--ucl-white); font-family: var(--font-display); text-transform: uppercase; font-size: .95rem; overflow-wrap: anywhere; }
.champ-tile small { color: var(--ucl-muted); font-size: .72rem; overflow-wrap: anywhere; }
.champ-tile small:first-of-type { font-family: ui-monospace, Consolas, monospace; color: var(--ucl-red-light); }
main { overflow-x: clip; }
h1, h2 { overflow-wrap: break-word; }
@media (max-width: 600px) {
  .page-banner h1 { font-size: clamp(1.8rem, 9.2vw, 2.6rem); }
  .td-title { font-size: clamp(1.5rem, 7.5vw, 2.2rem); }
  .section-head h2, .next-band h2 { font-size: clamp(1.4rem, 7vw, 2rem); }
}
.num strong { font-size: clamp(2.2rem, 4.2vw, 4.4rem); }
@media (max-width: 600px) { .num strong { font-size: clamp(1.9rem, 9vw, 2.6rem); } }

/* Number row: size each number to its own column (never overlaps) */
.num { container-type: inline-size; overflow: hidden; }
.num strong { font-size: clamp(1.6rem, 19cqi, 4.4rem); }

/* Menu bar: switch to the menu button earlier so items never crowd */
@media (max-width: 1340px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--ucl-black); border-bottom: 1px solid var(--ucl-line);
    padding: .5rem var(--gutter) 1.25rem; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--ucl-line); font-size: .8rem; }
  .nav-links .btn { margin-top: 1rem; display: inline-flex; }
}
@media (min-width: 1341px) and (max-width: 1500px) {
  .nav-links { gap: 1.1rem; }
  .nav-links a { font-size: .72rem; letter-spacing: .08em; }
}
.brand { flex-shrink: 0; gap: .75rem; }
.brand img { flex-shrink: 0; }
.site-header .container.nav { max-width: 1440px; gap: 2rem; }
#home-champs + p, #home-upcoming + p { margin-top: 2rem !important; }

/* Teams page v3 */
.team-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .9rem; }
.team-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .45rem; padding: 1.4rem 1rem; border-radius: 14px; background: var(--ucl-graphite); border: 1px solid var(--ucl-line); transition: transform .25s, border-color .25s; min-width: 0; }
.team-tile:hover { transform: translateY(-5px); border-color: var(--ucl-red); }
.team-tile.is-champ { border-color: rgba(245,179,0,.55); }
.team-tile b { color: var(--ucl-white); font-family: var(--font-display); text-transform: uppercase; font-size: .88rem; line-height: 1.2; overflow-wrap: anywhere; }
.team-tile small { color: var(--ucl-muted); font-size: .72rem; }
.tt-rec { font-family: var(--font-display); font-weight: 800; color: var(--ucl-text); font-size: .85rem; }
.tt-titles { display: inline-flex; align-items: center; gap: .3rem; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #f5b300; }
.tt-titles svg { width: 14px; height: 14px; }
.crest--lg { width: 72px; height: 72px; }
#s13-teams .squad { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }

/* Our grounds */
.grounds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 1100px) { .grounds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grounds { grid-template-columns: 1fr; } }
.ground { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: var(--ucl-graphite); border: 1px solid var(--ucl-line); transition: border-color .25s, transform .25s; min-width: 0; }
.ground:hover { border-color: var(--ucl-red); transform: translateY(-4px); }
.ground .venue-photo { border-radius: 0; border: 0; aspect-ratio: 16/10; }
.ground-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.ground-body h3 { margin: 0; font-size: 1.3rem; }
.ground-area { color: var(--ucl-white); font-weight: 600; margin: 0; }
.ground-note { color: var(--ucl-muted); margin: 0 0 .75rem; }
.ground-body .btn { margin-top: auto; align-self: flex-start; }
.cd-when { margin: 0 0 .9rem; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ucl-red-light, #e0464e); text-align: center; }
.rail-cap { margin: -.5rem 0 1rem; color: var(--ucl-muted); font-size: .9rem; }
#home-countdown { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.c-socials { display: grid; gap: .6rem; margin-top: .4rem; }
.c-socials a { display: flex; align-items: center; gap: .6rem; color: var(--ucl-muted); text-decoration: none; transition: color .2s; }
.c-socials a:hover { color: var(--ucl-white); }
.c-socials svg { width: 20px; height: 20px; flex: none; color: var(--ucl-red); }
.dial-info { font-family: var(--font-display); font-weight: 800; font-size: 3.1px; letter-spacing: .5px; fill: rgba(255,255,255,.85); text-transform: uppercase; }
.dial-info .di-hot { fill: var(--ucl-red); }
.dial-info-g { transform-origin: 50px 50px; animation: dial-spin 40s linear infinite reverse; }
@media (prefers-reduced-motion: reduce) { .dial-info-g { animation: none; } }

/* Team rail: normal sideways scroll with arrows + bar (no scroll hijack) */
.rail-viewport { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.rail-viewport::-webkit-scrollbar { display: none; }
.rail-card { scroll-snap-align: start; }
.rail-viewport:focus-visible { outline: 2px solid var(--ucl-red); outline-offset: 4px; }
.rail-controls { position: relative; z-index: 2; display: flex; align-items: center; gap: 1rem; margin-top: 1.75rem; }
.rail-btn { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: transparent; color: var(--ucl-white); border: 1px solid var(--ucl-line); cursor: pointer; transition: background .2s, border-color .2s, opacity .2s; }
.rail-btn:hover:not(:disabled) { background: var(--ucl-red); border-color: var(--ucl-red); }
.rail-btn:disabled { opacity: .3; cursor: default; }
.rail-btn svg { width: 20px; height: 20px; }
.rail-bar { position: relative; flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.1); cursor: pointer; }
.rail-bar i { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 4px; background: var(--ucl-red); }

/* Players page: five leader cards */
.lead-cards { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .lead-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lead-cards > :last-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .lead-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lead-cards > :last-child { grid-column: 1 / -1; } }
.lead-card .lead-val { font-size: clamp(1.15rem, 1.9vw, 1.6rem); line-height: 1.15; }
.lead-card b { overflow-wrap: normal; word-break: normal; hyphens: none; }
@media (max-width: 640px) { .lead-card b { font-size: .92rem; } .lead-card .lead-val { font-size: 1.25rem; } }
/* Leader cards: label, name, value and team line up across each row */
.lead-cards { row-gap: 1rem; }
.lead-card { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: .35rem; align-content: start; }
.lead-card > * { min-width: 0; }
.lead-card b { align-self: start; font-size: 1rem; line-height: 1.3; }
.lead-card .lead-val { align-self: end; white-space: nowrap; font-size: clamp(1.15rem, 1.7vw, 1.5rem); }
.lead-card small { align-self: start; }
@media (max-width: 640px) { .lead-card .lead-val { font-size: 1.2rem; } }

/* Player photos (matched by CricHeroes id) */
.av { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--ucl-black); display: grid; place-items: center; box-shadow: 0 0 0 1px var(--ucl-line); }
.av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.av i { font-style: normal; font-family: var(--font-display); font-weight: 900; font-size: .72rem; color: var(--ucl-muted); }
.av-lg { width: 64px; height: 64px; box-shadow: 0 0 0 2px var(--ucl-black), 0 0 0 4px var(--ucl-red); margin: .25rem 0 .2rem; }
.av-lg i { font-size: 1.15rem; }
.lead-card { grid-row: span 5; }
.leaders li:has(.av) { grid-template-columns: 1.6rem 34px minmax(0, 1fr) auto; }
.pl-cell { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.pl-cell > div { min-width: 0; }
@media (max-width: 640px) { .av-lg { width: 52px; height: 52px; } .pl-cell .av { width: 28px; height: 28px; } }
.sq-p { display: inline-flex; align-items: center; gap: .55rem; min-width: 0; }
.sq-p .av { width: 28px; height: 28px; }

/* Grounds: rows of 3, a short last row stays centred */
.grounds { display: flex; flex-wrap: wrap; justify-content: center; }
.grounds > * { flex: 0 1 calc((100% - 3rem) / 3); min-width: 0; }
@media (max-width: 1100px) { .grounds > * { flex-basis: calc((100% - 1.5rem) / 2); } }
@media (max-width: 760px) { .grounds > * { flex-basis: 100%; } }

/* Compact grounds: 5 across on desktop */
.grounds { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.grounds > * { flex: none; }
@media (max-width: 1100px) { .grounds { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grounds { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; } }
.ground { border-radius: 12px; }
.ground:hover { transform: translateY(-3px); }
.ground .venue-photo { aspect-ratio: 4/3; }
.ground-body { padding: .8rem .9rem .9rem; gap: .25rem; }
.ground-body h3 { font-size: .9rem; line-height: 1.25; }
.ground-area { font-size: .74rem; font-weight: 500; color: var(--ucl-text); line-height: 1.35; }
.ground-note { font-size: .74rem; line-height: 1.4; margin: 0 0 .4rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ground-dir { margin-top: auto; display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ucl-red-light); }
.ground-dir svg { width: 14px; height: 14px; }
.ground-dir:hover { color: var(--ucl-white); }
@media (max-width: 760px) { .ground-note { display: none; } }

/* Champion tiles with team badges */
.champ-wall { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .65rem; }
.champ-tile { flex-direction: row; align-items: center; gap: .85rem; padding: .75rem .9rem; }
.champ-badge { position: relative; width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%; background: #1b1b1b; box-shadow: 0 0 0 2px #f5b300; display: grid; place-items: center; }
.champ-badge img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.champ-badge i { font-style: normal; font-family: var(--font-display); font-weight: 900; font-size: 1rem; color: #f5b300; }
.champ-cup { position: absolute; right: -4px; bottom: -4px; width: 22px; height: 22px; border-radius: 50%; background: #f5b300; color: #121212; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--ucl-graphite); }
.champ-cup svg { width: 13px; height: 13px; }
.champ-txt { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.champ-tile b { font-size: .85rem; line-height: 1.25; }
.champ-tile small:first-of-type { font-family: inherit; color: var(--ucl-red-light); font-weight: 600; }
#rules-list .acc ul { margin: .25rem 0 0; padding-left: 1.1rem; }
#rules-list .acc li { margin: .3rem 0; }
@media (max-width: 760px) {
  .grounds { display: flex !important; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; gap: .75rem; padding-bottom: .5rem; margin-right: -16px; padding-right: 16px; scrollbar-width: thin; }
  .grounds > .ground { flex: 0 0 62%; scroll-snap-align: start; }
  .champ-wall { grid-template-columns: 1fr; gap: .5rem; }
  .champ-tile { padding: .6rem .75rem; }
  .champ-badge { width: 42px; height: 42px; }
  .champ-cup { width: 19px; height: 19px; } .champ-cup svg { width: 11px; height: 11px; }
  .champ-tile small + small { display: none; }
}
@media (max-width: 760px) {
  .champ-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .champ-tile { gap: .55rem; padding: .55rem .6rem; }
  .champ-badge { width: 36px; height: 36px; }
  .champ-badge i { font-size: .8rem; }
  .champ-tile b { font-size: .72rem; }
  .champ-tile small { font-size: .66rem; }
}
.champ-tile b { overflow-wrap: break-word; hyphens: auto; }
