/* Winnerz Sports: football page. Builds on /shared/base.css. */

/* ---- Hero ----------------------------------------------------------------------- */
.hero-bg img { object-position: 46% 30%; }
@media (min-width: 60rem) {
  .hero-bg::after { background:
    linear-gradient(90deg, rgba(22, 3, 52, .82) 0%, rgba(22, 3, 52, .45) 30%, transparent 50%),
    linear-gradient(180deg, transparent 55%, rgba(14, 2, 32, .75) 100%); }
}

/* Match of the round */
.mc-league { margin-left: auto; font-size: .75rem; color: var(--text-3); }
.mc-split { margin: .75rem 0 .625rem; height: 5.5rem; border-radius: .875rem; }
.mc-split .ab { font-size: clamp(1.75rem, 7vw, 2.25rem); }
.mc-teams { font-size: .9375rem; display: flex; flex-wrap: wrap; gap: .25rem .375rem; align-items: baseline; }
.mc-teams small { flex-basis: 100%; font-size: .75rem; color: var(--text-3); }
.mc-status { margin: .5rem 0 0; font-size: .875rem; font-weight: 600; display: flex; gap: .5rem; align-items: center; }
.match-card .clock-title { font-size: .9375rem; color: var(--text-2); font-weight: 500; margin: .875rem 0 .5rem; }
@media (min-width: 48rem) { .mc-split { height: 6.5rem; } }

/* ---- League panel ------------------------------------------------------------------ */
#league-tabs { margin-bottom: 1rem; }
.league-panel { overflow: hidden; }
.lp-head { padding: 1.25rem; display: flex; gap: 1rem; align-items: center; justify-content: space-between; background: linear-gradient(120deg, rgba(124, 33, 232, .45), transparent 75%); }
.lp-head h3 { font-size: 1.5rem; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; }
.lp-head p { margin: .25rem 0 0; color: var(--text-2); font-size: .875rem; }
.lp-body { padding: 1rem; display: grid; gap: 1.5rem; }
.lp-body > div { min-width: 0; }
@media (min-width: 48rem) { .lp-body { padding: 1.25rem; } }
@media (min-width: 64rem) { .lp-body { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); } }
.lp-side .panel-h4:not(:first-child) { margin-top: 1.5rem; }
.lp-note { padding: 0 1.25rem 1.25rem; margin: 0; }

td.club { display: flex; align-items: center; gap: .5rem; min-width: 0; max-width: 13rem; }
td.club .tm-name { font-weight: 500; }
.pos { position: relative; display: inline-flex; align-items: center; gap: .375rem; justify-content: flex-end; min-width: 1.75rem; }
.pos[style]::before { content: ''; width: .4375rem; height: .4375rem; border-radius: 50%; background: var(--z); flex-shrink: 0; }
.form { display: inline-flex; gap: .1875rem; }
.form i { display: inline-grid; place-items: center; width: 1.125rem; height: 1.125rem; border-radius: .25rem; font-style: normal; font-size: .5625rem; font-weight: 700; color: #0b0117; }
.form .f-W { background: #3fd37a; }
.form .f-D { background: rgba(255, 255, 255, .45); }
.form .f-L { background: #ff5c7a; }
.zones { list-style: none; margin: .75rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .375rem 1rem; font-size: .75rem; color: var(--text-2); }
.zones li { display: inline-flex; align-items: center; gap: .4375rem; }
.zdot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--z); }

.fx-list li { padding: .4375rem .625rem; font-size: .8125rem; }
.fx-teams { display: flex; align-items: center; gap: .375rem; min-width: 0; }
.fx-teams .tm-name { min-width: 0; }
.fx-teams .score { font-weight: 700; padding: 0 .25rem; font-variant-numeric: tabular-nums; }
.scorers { counter-reset: none; }
.scorers li { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr) auto; gap: .625rem; }
.sc-rank { color: var(--cyan); font-weight: 700; font-size: .75rem; font-variant-numeric: tabular-nums; }
.sc-name { display: grid; min-width: 0; }
.sc-name b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-name small, .sc-goals small { font-size: .6875rem; color: var(--text-3); }
.sc-goals b { font-size: 1rem; }

/* ---- Big games strip ------------------------------------------------------------- */
.strip-intro { margin: -.5rem 0 1rem; }
.bg-split { aspect-ratio: 16 / 7; }
.scard-title .muted { text-transform: none; font-weight: 500; }
.bg-split .ab { font-size: clamp(2rem, 8vw, 2.75rem); }
.bg-split .tag { position: absolute; left: .75rem; top: .75rem; z-index: 2; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); font-size: .75rem; }

/* ---- Promo: the photo is a small graphic on Winnerz purple, so it is shown whole
   and its edges fade into the card. ---------------------------------------------- */
.promo-photo { height: auto; aspect-ratio: 527 / 248; object-fit: contain; width: 100%; margin: 1.25rem 0 -.5rem;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 52%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 52%, transparent 100%); }
@media (min-width: 48rem) {
  .promo-photo { width: 100%; max-width: 527px; height: auto; margin: 0; align-self: center; justify-self: center; object-fit: contain; }
}

/* Added-time board: the match minute runs to 90, then +4 lights up in green. */
.board .li-face { min-width: 4.75rem; }
.board .li-num { color: #ff5a5a; text-shadow: 0 0 12px rgba(255, 90, 90, .55); }
.board.added .li-light { background: #3fd37a; box-shadow: 0 0 10px #3fd37a, 0 0 2px #3fd37a; }
.board.added .li-num { color: #5dff9b; text-shadow: 0 0 14px rgba(93, 255, 155, .65); }
@media (max-width: 47.99rem) { .board .li-face { min-width: 4rem; } }
