/* Winnerz Sports: hockey page. Builds on /shared/base.css. Shares the league-panel
   styles with the football page. */

/* ---- Hero ----------------------------------------------------------------------- */
.hero-bg img { object-position: 52% 22%; }
@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; }

.div-head:not(:first-child) { margin-top: 1.25rem; }

/* ---- Players from the page's country ----------------------------------------------- */
.nat-top { position: relative; height: 4.5rem; display: flex; justify-content: space-between; align-items: flex-start; padding: .75rem .875rem;
  background: linear-gradient(120deg, var(--c1) 0 55%, var(--c2) 55% 60%, var(--c1) 60%); }
.nat-top::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .3)); }
.nat-top > * { position: relative; z-index: 1; }
.nat-num { font-size: .75rem; font-weight: 700; letter-spacing: .14em; color: var(--fg); }
.nat-top .cc { background: rgba(11, 1, 23, .6); color: #fff; }
.cc { display: inline-block; font-size: .625rem; font-weight: 600; letter-spacing: .06em; color: var(--text-3); padding: .0625rem .3125rem; border-radius: .25rem; background: rgba(255, 255, 255, .07); }
.nat-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: .25rem; margin-top: .25rem; text-align: center; }
.nat-stats span { display: grid; padding: .375rem 0; border-radius: .5rem; background: rgba(255, 255, 255, .05); font-size: .625rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; }
.nat-stats b { font-size: 1.125rem; color: #fff; letter-spacing: 0; }
.nat.featured { background: var(--purple); border-color: transparent; box-shadow: var(--glow); }
.nat.featured .nat-stats span { background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .75); }
#nationals { margin-bottom: .5rem; }

/* ---- Promo: a cut-out player standing in the card ---------------------------------- */
.promo-photo { width: auto; height: 15rem; margin: 1rem auto -1.25rem; object-fit: contain; -webkit-mask-image: none; mask-image: none; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35)); }
@media (min-width: 48rem) {
  .promo-photo { width: auto; height: 26rem; margin: -2rem 0 -3.5rem; align-self: end; justify-self: center; object-fit: contain; -webkit-mask-image: none; mask-image: none; }
}

/* Period clock: ten seconds run out, then the horn light turns red. */
.periodclock .li-face { min-width: 4.75rem; }
.periodclock .li-num { color: #ff5a5a; text-shadow: 0 0 12px rgba(255, 90, 90, .55); }
.periodclock.expired .li-light { background: #ff3b5c; box-shadow: 0 0 10px #ff3b5c, 0 0 2px #ff3b5c; }
