/* Deportivo Boscos · identidad visual
   Rojo, azul y amarillo del escudo; azul noche como fondo de marca; papel cálido
   para las zonas de lectura; verde fosforito reservado a Multideporte. */
@font-face { font-family: Anton; src: url(/fonts/anton-400.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; font-weight: 600; src: url(/fonts/barlow-condensed-600.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; src: url(/fonts/barlow-condensed-700.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; font-weight: 800; src: url(/fonts/barlow-condensed-800.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: Barlow; font-weight: 400; src: url(/fonts/barlow-400.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: Barlow; font-weight: 500; src: url(/fonts/barlow-500.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: Barlow; font-weight: 600; src: url(/fonts/barlow-600.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: Barlow; font-weight: 700; src: url(/fonts/barlow-700.woff2) format('woff2'); font-display: swap; }

:root {
  --night: #070b24;
  --navy: #0b1033;
  --navy-2: #121a4d;
  --blue: #172190;
  --blue-2: #2c3fd6;
  --red: #c7191b;
  --red-2: #e3292b;
  --yellow: #f6d935;
  --paper: #f4f1e9;
  --paper-2: #ebe6da;
  --white: #fff;
  --ink: #0d1230;
  --muted: #5b6182;
  --line: #ddd7c8;
  --multi: #3d7a3a;
  --multi-ink: #ffffff;
  --basket: #8a1538;
  --futsal: #1b2a4e;
  --display: Anton, 'Barlow Condensed', Impact, sans-serif;
  --label: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: Barlow, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: min(1240px, 100% - 32px);
  --radius: 4px;
  --shadow: 0 18px 40px -18px rgba(7, 11, 36, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 17px/1.55 var(--body); color: var(--ink); background: var(--paper); overflow-x: hidden; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--ink); padding: 8px 14px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
main:focus { outline: none; }
.loading { min-height: 60vh; display: grid; place-items: center; font: 700 20px var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- labels & headings ---------- */
.eyebrow { font: 700 14px/1 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--red); display: inline-flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ''; width: 10px; height: 10px; background: currentColor; display: inline-block; }
.on-dark .eyebrow, .eyebrow.on-dark { color: var(--yellow); }
.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .005em; line-height: .92; }
.sectionhead { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.sectionhead h2 { font: 400 clamp(34px, 5vw, 58px)/.92 var(--display); text-transform: uppercase; }
.sectionhead h2 a { text-decoration: none; }
.sectionhead h2 a:hover { color: var(--red); }
.morelink { font: 700 15px/1 var(--label); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; padding: 12px 0; border-bottom: 3px solid var(--red); }
.morelink::after { content: '→'; transition: transform .2s; }
.morelink:hover::after { transform: translateX(4px); }
.on-dark .morelink { border-color: var(--yellow); }

/* ---------- header ---------- */
.masthead { position: sticky; top: 0; z-index: 50; background: var(--navy); color: #fff; }
.masthead__bar { width: var(--wrap); margin-inline: auto; height: 76px; display: flex; align-items: center; gap: 18px; position: relative; }
.crest { position: relative; align-self: flex-start; margin-top: 6px; width: 54px; flex: none; z-index: 2; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45)); transition: transform .2s; }
.crest img { width: 54px; height: auto; }
.crest:hover { transform: translateY(2px) scale(1.03); }
.wordmark { text-decoration: none; display: flex; flex-direction: column; line-height: .85; margin-right: auto; }
.wordmark span { font: 700 13px var(--label); letter-spacing: .32em; text-transform: uppercase; color: var(--yellow); }
.wordmark b { font: 400 34px var(--display); letter-spacing: .03em; text-transform: uppercase; }
.mainnav { display: flex; align-items: center; gap: 6px; }
.mainnav__link, .clubmenu__toggle { font: 700 17px/1 var(--label); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; padding: 14px 14px; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; border-bottom: 3px solid transparent; }
.mainnav__link:hover, .clubmenu__toggle:hover, .clubmenu__toggle[aria-expanded="true"], .mainnav__link[aria-current="page"] { border-bottom-color: var(--yellow); }
.clubmenu__toggle svg { transition: transform .2s; }
.clubmenu__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.cta { font: 800 17px/1 var(--label); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; background: var(--red); color: #fff; padding: 14px 20px; margin-left: 10px; border-radius: var(--radius); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .25); transition: background .2s, transform .2s; white-space: nowrap; }
.cta:hover { background: var(--red-2); transform: translateY(-1px); }
.clubmenu { position: static; }
.clubmenu__panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; color: var(--ink); display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; box-shadow: var(--shadow); border-top: 4px solid var(--red); }
.clubmenu__panel[hidden] { display: none; }
.clubmenu__group { padding: 26px 30px 30px; display: flex; flex-direction: column; gap: 2px; }
.clubmenu__group + .clubmenu__group { border-left: 1px solid var(--line); }
.clubmenu__group p { font: 700 13px var(--label); letter-spacing: .18em; text-transform: uppercase; color: var(--red); margin: 0 0 10px; }
.clubmenu__group a { font: 400 26px/1.25 var(--display); text-transform: uppercase; text-decoration: none; padding: 4px 0; transition: color .15s, padding .15s; }
.clubmenu__group a:hover { color: var(--blue-2); padding-left: 6px; }
.clubmenu__group a.is-multi::after, .clubmenu__group a.is-basket::after, .clubmenu__group a.is-futsal::after { content: ''; display: inline-block; width: 10px; height: 10px; background: var(--multi); margin-left: 10px; vertical-align: middle; border-radius: 50%; }
/* each section with its colour: maroon basketball, blue futsal, green Multideporte */
.clubmenu__group a.is-basket::after { background: var(--basket); }
.clubmenu__group a.is-futsal::after { background: var(--blue-2); }
.burger { display: none; width: 46px; height: 46px; border: 0; background: transparent; flex-direction: column; justify-content: center; gap: 6px; padding: 10px; cursor: pointer; }
.burger span { display: block; height: 3px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
.tricolor { display: grid; grid-template-columns: 2fr 1fr 2fr; height: 5px; }
.tricolor i:nth-child(1) { background: var(--red); }
.tricolor i:nth-child(2) { background: var(--yellow); }
.tricolor i:nth-child(3) { background: var(--blue-2); }

@media (max-width: 900px) {
  .masthead__bar { height: 64px; gap: 10px; }
  .crest { width: 44px; align-self: center; margin-top: 0; }
  .crest img { width: 44px; height: auto; }
  .wordmark b { font-size: 28px; }
  .burger { display: flex; }
  .mainnav { position: fixed; inset: 69px 0 0; background: var(--navy); flex-direction: column; align-items: stretch; padding: 8px 16px 40px; overflow-y: auto; gap: 0; transform: translateX(100%); transition: transform .25s; visibility: hidden; }
  .mainnav.is-open { transform: none; visibility: visible; }
  .mainnav__link, .clubmenu__toggle { font-size: 22px; padding: 18px 4px; border-bottom: 1px solid rgba(255, 255, 255, .12); width: 100%; justify-content: space-between; }
  .clubmenu__panel { position: static; grid-template-columns: 1fr; background: transparent; color: #fff; box-shadow: none; border: 0; }
  .clubmenu__group { padding: 14px 4px 6px; }
  .clubmenu__group + .clubmenu__group { border: 0; }
  .clubmenu__group p { color: var(--yellow); }
  .clubmenu__group a { font-size: 24px; }
  .cta { margin: 22px 0 0; text-align: center; font-size: 20px; padding: 18px; }
}

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; background: var(--night); overflow: hidden; min-height: min(86vh, 760px); display: flex; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media img:nth-child(1):not(:only-child) { width: 58%; }
.hero__media img:nth-child(2) { left: auto; right: 0; width: 52%; clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%); }
.hero__media--mob { display: none; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(7, 11, 36, .92) 0%, rgba(7, 11, 36, .55) 46%, rgba(7, 11, 36, .2) 100%),
  linear-gradient(0deg, rgba(7, 11, 36, .95) 0%, rgba(7, 11, 36, 0) 45%); }
.hero::after { content: ''; position: absolute; z-index: -1; right: -8%; top: -20%; width: 46%; height: 140%; transform: skewX(-14deg); background: repeating-linear-gradient(-14deg, transparent 0 22px, rgba(246, 217, 53, .08) 22px 26px, transparent 26px 48px, rgba(199, 25, 27, .1) 48px 52px); pointer-events: none; }
.hero__inner { width: var(--wrap); margin: auto auto 0; padding: 70px 0 54px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: 40px; align-items: end; }
.hero__crest { width: clamp(70px, 7vw, 96px); margin-bottom: 18px; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .5)); }
.hero h1 { font: 400 clamp(56px, 10vw, 148px)/.86 var(--display); text-transform: uppercase; letter-spacing: .005em; text-shadow: 0 6px 30px rgba(0, 0, 0, .35); }
.hero h1 em { font-style: normal; color: var(--yellow); display: block; }
.hero__sub { font: 600 clamp(18px, 2vw, 22px)/1.35 var(--body); max-width: 34ch; margin: 18px 0 26px; color: rgba(255, 255, 255, .88); }
.sportchips { display: flex; flex-wrap: wrap; gap: 10px; }
.sportchip { font: 800 16px/1 var(--label); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; padding: 12px 16px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; backdrop-filter: blur(6px); background: rgba(7, 11, 36, .3); transition: background .2s, border-color .2s; }
.sportchip:hover { background: #fff; color: var(--navy); border-color: #fff; }
.sportchip i { width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); }
.sportchip.is-basket i { background: #c43a63; box-shadow: 0 0 0 2px #fff; }
.sportchip.is-futsal i { background: var(--blue-2); box-shadow: 0 0 0 2px #fff; }
.sportchip.is-multi i { background: #6fb86a; box-shadow: 0 0 0 2px #fff; }

/* next match card */
.nextmatch { background: rgba(255, 255, 255, .97); color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; position: relative; }
.nextmatch::before { content: ''; position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg, var(--red) 0 40%, var(--yellow) 40% 60%, var(--blue-2) 60%); }
.nextmatch__head { padding: 22px 22px 0; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.nextmatch__team { font: 700 15px var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.nextmatch__vs { padding: 12px 22px 4px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; text-align: center; }
.nextmatch__vs b { font: 400 clamp(22px, 2.4vw, 30px)/1 var(--display); text-transform: uppercase; overflow-wrap: anywhere; }
.nextmatch__vs span { font: 800 16px var(--label); color: var(--red); }
.nextmatch__when { padding: 4px 22px 14px; text-align: center; color: var(--muted); font-weight: 600; font-size: 15px; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--navy); color: #fff; }
.countdown div { padding: 14px 4px 12px; text-align: center; }
.countdown div + div { border-left: 1px solid rgba(255, 255, 255, .12); }
.countdown b { display: block; font: 400 36px/1 var(--display); font-variant-numeric: tabular-nums; }
.countdown small { font: 700 11px var(--label); letter-spacing: .18em; text-transform: uppercase; color: var(--yellow); }
.nextmatch__link { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; font: 800 15px var(--label); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; background: var(--yellow); color: var(--ink); }
.nextmatch__link:hover { background: #ffe55a; }
.nextmatch.is-empty .nextmatch__vs { display: block; padding: 18px 22px 24px; text-align: left; }
.nextmatch.is-empty p { margin: 6px 0 0; color: var(--muted); }

@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero__media img:nth-child(1):not(:only-child) { width: 100%; }
  .hero__media img:nth-child(2) { display: none; }
  .hero.has-mob .hero__media--desk { display: none; }
  .hero.has-mob .hero__media--mob { display: block; }
  .hero__inner { grid-template-columns: 1fr; padding: 54px 0 28px; gap: 28px; }
  .hero::before { background: linear-gradient(0deg, rgba(7, 11, 36, .96) 10%, rgba(7, 11, 36, .45) 70%, rgba(7, 11, 36, .3)); }
}

/* ---------- bands ---------- */
.band { padding: clamp(56px, 8vw, 96px) 0; position: relative; }
.band--paper { background: var(--paper); }
.band--white { background: #fff; }
.band--night { background: var(--navy); color: #fff; }
.band--blue { background: radial-gradient(120% 120% at 0% 0%, #2333b8 0%, var(--blue) 45%, #0e156a 100%); color: #fff; overflow: hidden; }
.band--blue::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 60px, rgba(255, 255, 255, .035) 60px 62px); pointer-events: none; }
.band--stripes::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: repeating-linear-gradient(135deg, var(--red) 0 14px, var(--yellow) 14px 28px); opacity: .9; }

/* ---------- news ---------- */
.newsgrid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 26px; }
.newslead { position: relative; min-height: 460px; display: flex; align-items: flex-end; color: #fff; text-decoration: none; border-radius: var(--radius); overflow: hidden; background: var(--navy-2); isolation: isolate; }
.newslead img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.newslead:hover img { transform: scale(1.04); }
.newslead::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7, 11, 36, .95), rgba(7, 11, 36, .1) 70%); }
.newslead div { padding: 30px; }
.newslead h3 { font: 400 clamp(30px, 3.6vw, 48px)/.95 var(--display); text-transform: uppercase; margin: 12px 0 10px; }
.newslead p { color: rgba(255, 255, 255, .85); margin: 0; max-width: 60ch; }
.newslead.no-img { background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 70%); }
.newslead.no-img::after { content: ''; position: absolute; right: -40px; top: -40px; width: 300px; height: 360px; background: url(/img/escudo-escudo-400.png) center/contain no-repeat; opacity: .14; transform: rotate(-10deg); z-index: -1; }
.newslist { display: flex; flex-direction: column; }
.newsitem { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; align-items: center; }
.newsitem:first-child { padding-top: 0; }
.newsitem img, .newsitem .ph { width: 120px; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); background: var(--paper-2); }
.newsitem .ph { display: grid; place-items: center; background: linear-gradient(135deg, var(--red), var(--red-2)); }
.newsitem .ph img { width: 34px; aspect-ratio: auto; background: none; }
.newsitem h3 { font: 700 21px/1.15 var(--label); margin: 6px 0 0; }
.newsitem:hover h3 { color: var(--red); }
.meta { font: 700 13px var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: flex; gap: 12px; flex-wrap: wrap; }
.meta .tag { color: var(--red); display: inline-flex; gap: 6px; align-items: center; }
.meta .tag::before { content: ''; width: 8px; height: 8px; background: currentColor; }
.on-dark .meta { color: rgba(255, 255, 255, .7); }
.on-dark .meta .tag { color: var(--yellow); }
@media (max-width: 900px) { .newsgrid { grid-template-columns: 1fr; } .newslead { min-height: 340px; } .newsitem { grid-template-columns: 96px 1fr; } .newsitem img, .newsitem .ph { width: 96px; } }

/* ---------- MVP + birthdays ---------- */
.duo { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } }
.mvps { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
.mvp { position: relative; text-decoration: none; color: #fff; border-radius: var(--radius); overflow: hidden; background: linear-gradient(180deg, #1a2580, #0a0f3a); aspect-ratio: 3/4; display: flex; align-items: flex-end; isolation: isolate; }
.mvp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.mvp::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7, 11, 36, .95) 8%, transparent 60%); }
.mvp__num { position: absolute; right: 10px; top: 4px; font: 400 92px/1 var(--display); color: rgba(255, 255, 255, .16); z-index: -1; }
.mvp__badge { position: absolute; left: 12px; top: 12px; background: var(--yellow); color: var(--ink); font: 800 13px/1 var(--label); letter-spacing: .14em; padding: 7px 9px; text-transform: uppercase; }
.mvp div { padding: 16px; }
.mvp h3 { font: 400 28px/.95 var(--display); text-transform: uppercase; }
.mvp p { margin: 6px 0 0; font: 700 14px var(--label); letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); }
.mvp.no-img .mvp__sil { position: absolute; inset: 14% 18% 0; background: url(/img/escudo-escudo-400.png) center 30%/60% no-repeat; opacity: .22; z-index: -1; }
.waiting { border: 2px dashed rgba(255, 255, 255, .35); border-radius: var(--radius); padding: 28px; display: flex; gap: 20px; align-items: center; text-decoration: none; }
.waiting img { width: 54px; opacity: .9; }
.waiting b { font: 400 26px/1 var(--display); text-transform: uppercase; display: block; margin-bottom: 6px; }
.birthdays { background: #fff; color: var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.birthdays header { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; background: var(--red); color: #fff; }
.birthdays header h3 { font: 400 30px/1 var(--display); text-transform: uppercase; }
.birthdays header a { font: 800 13px var(--label); letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.bweek { list-style: none; margin: 0; padding: 0; }
.bweek li { display: grid; grid-template-columns: 58px 1fr; border-top: 1px solid var(--line); min-height: 48px; }
.bweek li > span { font: 800 13px/1.1 var(--label); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 10px; text-align: center; background: var(--paper); }
.bweek li > span b { display: block; font: 400 22px var(--display); color: var(--ink); }
.bweek li > div { padding: 10px 14px; display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.bweek__names { margin: 0; display: grid; gap: 6px; align-self: center; }
.bweek__hoy { flex: none; font: 800 12px/1 var(--label); font-style: normal; letter-spacing: .14em; text-transform: uppercase; background: var(--red); color: #fff; padding: 5px 7px 4px; margin-top: 1px; }
.bweek li > div small { color: var(--muted); font-weight: 500; }
.bweek li.is-today { background: #fffbe1; }
.bweek li.is-today > span { background: var(--yellow); color: var(--ink); }
.bweek .none { color: var(--muted); font-weight: 400; }

/* ---------- fixtures ---------- */
.fixtures { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
@media (max-width: 900px) { .fixtures { grid-template-columns: 1fr; } }
.fixtures h3 { font: 400 32px/1 var(--display); text-transform: uppercase; margin-bottom: 14px; display: flex; gap: 10px; align-items: center; }
.fixtures h3::before { content: ''; width: 14px; height: 14px; background: var(--red); transform: rotate(45deg); }
.fixtures section:nth-child(2) h3::before { background: var(--blue-2); }
.match { display: grid; grid-template-columns: 74px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; background: #fff; border-left: 5px solid var(--blue-2); margin-bottom: 10px; text-decoration: none; border-radius: 0 var(--radius) var(--radius) 0; box-shadow: 0 2px 0 var(--line); transition: transform .15s; }
.match:hover { transform: translateX(3px); }
.match.is-result { border-left-color: var(--red); }
.match__date { text-align: center; font: 800 13px/1.1 var(--label); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.match__date b { display: block; font: 400 30px/1 var(--display); color: var(--ink); }
.match__teams { min-width: 0; }
.match__teams strong { display: block; font: 700 19px/1.15 var(--label); overflow-wrap: anywhere; }
.match__teams small { color: var(--muted); font-weight: 600; font-size: 14px; }
.match__side { text-align: right; font: 400 26px/1 var(--display); white-space: nowrap; }
.match__side small { display: block; font: 700 12px var(--label); letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.match__score { display: inline-flex; gap: 6px; align-items: center; }
.match__score b { background: var(--navy); color: #fff; min-width: 38px; padding: 6px 6px 3px; text-align: center; font: 400 26px/1 var(--display); }
.match__score b.win { background: var(--red); }
.empty { padding: 26px; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--muted); background: rgba(255, 255, 255, .5); }
.empty b { display: block; color: var(--ink); font: 700 19px var(--label); margin-bottom: 4px; }
.on-dark .empty { border-color: rgba(255, 255, 255, .25); color: rgba(255, 255, 255, .75); background: transparent; }
.on-dark .empty b { color: #fff; }

/* ---------- instagram ---------- */
.instarow { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 210px); gap: 16px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.insta { scroll-snap-align: start; text-decoration: none; display: flex; flex-direction: column; gap: 10px; }
.insta__frame { aspect-ratio: 9/16; border-radius: 14px; overflow: hidden; padding: 3px; background: linear-gradient(45deg, var(--yellow), var(--red-2) 50%, var(--blue-2)); }
.insta__frame img, .insta__frame .ph { width: 100%; height: 100%; object-fit: cover; border-radius: 11px; background: var(--navy-2); }
.insta__frame .ph { display: grid; place-items: center; }
.insta__frame .ph img { width: 40%; height: auto; }
.insta.is-post .insta__frame { aspect-ratio: 4/5; border-radius: var(--radius); }
.insta span { font: 700 16px/1.2 var(--label); }

/* ---------- sport tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr; } }
.tile { position: relative; min-height: 340px; display: flex; align-items: flex-end; text-decoration: none; color: #fff; border-radius: var(--radius); overflow: hidden; isolation: isolate; background: var(--navy-2); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.tile:hover img { transform: scale(1.05); }
.tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7, 11, 36, .95), rgba(7, 11, 36, .05) 75%); }
.tile div { padding: 26px; width: 100%; }
.tile h3 { font: 400 clamp(38px, 4vw, 56px)/.9 var(--display); text-transform: uppercase; }
.tile p { margin: 10px 0 0; font: 700 15px var(--label); letter-spacing: .1em; text-transform: uppercase; display: flex; justify-content: space-between; color: var(--yellow); }
.tile p::after { content: '→'; }
.tile.is-multi { background: radial-gradient(circle at 30% 20%, #4c8a48, #1f3d1e 70%); }
.tile.is-multi::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 80% 15%, rgba(255, 255, 255, .14) 0 60px, transparent 61px), radial-gradient(circle at 15% 40%, rgba(255, 255, 255, .1) 0 26px, transparent 27px), repeating-linear-gradient(45deg, transparent 0 30px, rgba(255, 255, 255, .05) 30px 34px); }
.tile.is-multi p { color: #cfe8cc; }

/* ---------- sponsors marquee ---------- */
.sponsorband { background: #fff; padding: 40px 0 34px; border-top: 1px solid var(--line); }
.sponsorband__head { width: var(--wrap); margin: 0 auto 18px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.sponsorband__head h2 { font: 800 18px var(--label); letter-spacing: .18em; text-transform: uppercase; }
.sponsorband__head div { display: flex; gap: 10px; align-items: center; }
.pausebtn { display: inline-flex; align-items: center; gap: 8px; font: 800 14px var(--label); letter-spacing: .1em; text-transform: uppercase; border: 2px solid var(--ink); background: #fff; padding: 9px 14px; border-radius: 999px; cursor: pointer; }
.pausebtn:hover { background: var(--ink); color: #fff; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee var(--marquee-time, 30s) linear infinite; }
.marquee.is-paused .marquee__track, .marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee__track a { flex: none; width: 220px; height: 110px; margin: 0 14px; display: grid; place-items: center; padding: 14px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, transform .2s; }
.marquee__track a:hover, .marquee__track a:focus-visible { border-color: var(--red); transform: translateY(-3px); }
.marquee__track img { max-height: 76px; max-width: 100%; object-fit: contain; }
.marquee__track a span { font: 400 26px var(--display); text-transform: uppercase; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation-duration: calc(var(--marquee-time, 30s) * 3); } }
.sponsorband .empty { width: var(--wrap); margin: auto; }

/* ---------- footer ---------- */
.sitefoot { background: var(--night); color: rgba(255, 255, 255, .8); padding: 56px 0 28px; position: relative; }
.sitefoot::before { content: ''; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--red) 0 40%, var(--yellow) 40% 60%, var(--blue-2) 60%); }
.foot { width: var(--wrap); margin: auto; display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; }
.foot__brand { display: flex; gap: 16px; align-items: center; text-decoration: none; color: #fff; }
.foot__brand img { width: 52px; }
.foot__brand b { font: 400 30px/1 var(--display); text-transform: uppercase; display: block; }
.foot__brand small { font: 700 13px var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--yellow); }
.foot__social { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.foot__social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; transition: background .2s; }
.foot__social a:hover { background: var(--red); }
.foot__mail { color: #fff; font-weight: 600; }
.foot__legal { width: var(--wrap); margin: 40px auto 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; font-size: 14px; }
.foot__legal a { text-decoration: none; }
.foot__legal a:hover { color: #fff; text-decoration: underline; }
.foot__legal .copy { margin-right: auto; }
.foot__junta { opacity: .45; font-size: 13px; }
.foot__junta:hover { opacity: 1; }
@media (max-width: 900px) { .foot { grid-template-columns: 1fr; text-align: left; } .foot__social { justify-content: flex-start; } .foot__legal .copy { width: 100%; } }

/* ---------- page heroes ---------- */
.pagehero { position: relative; background: var(--navy); color: #fff; padding: clamp(56px, 9vw, 110px) 0 clamp(36px, 5vw, 60px); overflow: hidden; isolation: isolate; }
.pagehero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .55; }
.pagehero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 11, 36, .95), rgba(7, 11, 36, .45)); }
.pagehero::after { content: ''; position: absolute; z-index: -1; right: 4%; top: -10%; width: 260px; height: 130%; background: url(/img/escudo-escudo-400.png) center/contain no-repeat; opacity: .07; transform: rotate(-8deg); }
.pagehero h1 { font: 400 clamp(48px, 8vw, 112px)/.88 var(--display); text-transform: uppercase; margin-top: 14px; }
.pagehero p.lead { font-size: clamp(18px, 2vw, 21px); max-width: 60ch; margin: 18px 0 0; color: rgba(255, 255, 255, .85); }
.crumbs { font: 700 14px var(--label); letter-spacing: .12em; text-transform: uppercase; display: flex; gap: 10px; flex-wrap: wrap; color: rgba(255, 255, 255, .7); }
.crumbs a { text-decoration: none; color: var(--yellow); }
.crumbs a:hover { text-decoration: underline; }
.pagehero.is-multi { background: #051a03; }
.pagehero.is-multi::before { background: linear-gradient(90deg, rgba(4, 24, 2, .96), rgba(4, 24, 2, .5)); }
.pagehero.is-multi h1 { color: #d6ecd3; }
.pagehero.is-multi .crumbs a { color: #cfe8cc; }

.prose { max-width: 72ch; font-size: 18px; }
.prose h3 { font: 400 32px/1 var(--display); text-transform: uppercase; margin: 1.4em 0 .5em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: .3em 0; }
.prose a { color: var(--blue-2); font-weight: 600; }
.pagebody { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 50px; }
.pagebody aside { border-left: 4px solid var(--red); padding-left: 20px; align-self: start; position: sticky; top: 110px; }
.pagebody aside h4 { font: 800 14px var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.pagebody aside a { display: block; font: 400 22px/1.4 var(--display); text-transform: uppercase; text-decoration: none; }
.pagebody aside a[aria-current="page"] { color: var(--red); }
.pagebody aside a:hover { color: var(--blue-2); }
@media (max-width: 900px) { .pagebody { grid-template-columns: 1fr; } .pagebody aside { position: static; } }

/* ---------- section (sport) page ---------- */
.teamgroups { display: grid; gap: 44px; }
.teamgroup h2 { font: 400 34px/1 var(--display); text-transform: uppercase; margin-bottom: 6px; }
.teamgroup > p { color: var(--muted); margin-bottom: 18px; }
.teamlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0; border-top: 3px solid var(--ink); }
.teamrow { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 18px 10px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background .15s; }
.teamrow:hover { background: #fff; }
.teamrow__n { font: 400 34px/1 var(--display); color: var(--red); }
.teamrow b { font: 400 26px/1 var(--display); text-transform: uppercase; display: block; }
.teamrow small { font: 700 13px var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.teamrow::after { content: '→'; font-size: 22px; color: var(--muted); }
.is-multi-page .teamrow__n { color: #1ea80a; }
.is-multi-page .teamlist { border-color: var(--multi); }

/* ---------- team page ---------- */
.teamhero { background: var(--navy); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.teamhero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .4; }
.teamhero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--navy) 30%, rgba(11, 16, 51, .4)); }
.teamhero__inner { width: var(--wrap); margin: auto; padding: 46px 0 0; }
.teamhero h1 { font: 400 clamp(48px, 8vw, 104px)/.88 var(--display); text-transform: uppercase; margin: 12px 0 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip { font: 800 13px/1 var(--label); letter-spacing: .12em; text-transform: uppercase; padding: 8px 11px; background: rgba(255, 255, 255, .12); border-radius: 999px; }
.chip.is-yellow { background: var(--yellow); color: var(--ink); }
.chip.is-multi { background: var(--multi); color: var(--multi-ink); }
.tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; position: relative; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { flex: none; font: 800 16px/1 var(--label); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; padding: 16px 18px; color: rgba(255, 255, 255, .78); border-bottom: 4px solid transparent; }
.tabs a:hover { color: #fff; }
.tabs a[aria-current="page"] { color: #fff; border-color: var(--yellow); background: rgba(255, 255, 255, .06); }
.teamhero.is-multi .tabs a[aria-current="page"] { border-color: var(--multi); }
.teamhero.is-multi h1 { color: #fff; }

.roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
@media (max-width: 600px) { .roster, .mvps { grid-template-columns: 1fr 1fr; gap: 10px; } .player__num { font-size: 52px; } .player h3, .mvp h3 { font-size: 21px; } .stage { height: 56vh; } }
.player { background: linear-gradient(180deg, #19227a 0%, #0b1033 100%); color: #fff; border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 3/4; display: flex; align-items: flex-end; isolation: isolate; }
.player img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.player::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7, 11, 36, .92) 6%, transparent 55%); }
.player__num { position: absolute; top: 8px; left: 14px; font: 400 72px/1 var(--display); color: var(--yellow); text-shadow: 0 3px 14px rgba(0, 0, 0, .35); }
.player.no-img .player__sil { position: absolute; inset: 22% 18% 0; z-index: -1; background: radial-gradient(circle at 50% 28%, rgba(255, 255, 255, .16) 0 19%, transparent 20%), radial-gradient(ellipse at 50% 100%, rgba(255, 255, 255, .16) 0 46%, transparent 47%); }
.player div { padding: 14px 16px 16px; }
.player h3 { font: 400 26px/.95 var(--display); text-transform: uppercase; }
.player p { margin: 4px 0 0; font: 700 13px var(--label); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.staff { margin-top: 40px; }
.staff h2, .subhead { font: 400 32px/1 var(--display); text-transform: uppercase; margin: 0 0 16px; }
.staff ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.staff li { background: #fff; padding: 12px 16px; border-left: 4px solid var(--red); font-weight: 600; }
.staff li small { display: block; color: var(--muted); font-weight: 500; }

.table-wrap { overflow-x: auto; background: #fff; border-radius: var(--radius); box-shadow: 0 2px 0 var(--line); }
table.data { width: 100%; border-collapse: collapse; font-size: 16px; }
table.data th { font: 800 13px var(--label); letter-spacing: .1em; text-transform: uppercase; text-align: left; padding: 12px; background: var(--navy); color: #fff; white-space: nowrap; }
table.data td { padding: 11px 12px; border-top: 1px solid var(--line); }
table.data td.num, table.data th.num { text-align: center; font-variant-numeric: tabular-nums; }
table.data tr.is-boscos td { background: #fff7cf; font-weight: 700; }
table.data tr.is-boscos td:first-child { box-shadow: inset 4px 0 0 var(--red); }
.toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.toolbar label { font: 800 14px var(--label); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.select { font: 600 16px var(--body); padding: 10px 12px; border: 2px solid var(--ink); border-radius: var(--radius); background: #fff; min-height: 44px; }
.rounds { display: grid; gap: 12px; }
.round { background: #fff; border-radius: var(--radius); box-shadow: 0 2px 0 var(--line); }
.round summary { cursor: pointer; padding: 14px 18px; display: flex; justify-content: space-between; gap: 10px; font: 800 18px var(--label); letter-spacing: .04em; text-transform: uppercase; list-style: none; }
.round summary::-webkit-details-marker { display: none; }
.round summary::after { content: '+'; font-size: 22px; line-height: 1; }
.round[open] summary::after { content: '−'; }
.round summary small { color: var(--muted); font-weight: 700; margin-left: auto; }
.round ul { list-style: none; margin: 0; padding: 0 18px 12px; }
.round li { padding: 10px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; text-align: center; }
.round li span:first-child { text-align: right; }
.round li span:last-child { text-align: left; }
.round li.is-boscos { font-weight: 700; color: var(--blue); }
.round li em { font-style: normal; color: var(--muted); font-size: 14px; grid-column: 1 / -1; }
.groupteams { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.groupteams li { background: #fff; padding: 6px 12px; border-radius: 999px; font-weight: 600; font-size: 15px; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.week > div { background: #fff; border-radius: var(--radius); min-height: 120px; padding: 12px; border-top: 4px solid var(--line); }
.week > div.has { border-color: var(--red); }
.week h4 { font: 800 14px var(--label); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.week p { margin: 0 0 8px; font-size: 15px; }
.week p b { display: block; font: 400 22px/1 var(--display); }
@media (max-width: 900px) { .week { grid-template-columns: 1fr; } .week > div { min-height: 0; } .week > div:not(.has) { display: none; } }

/* ---------- gallery / projector ---------- */
.projector { background: var(--night); color: #fff; }
.stage { position: relative; height: min(72vh, 720px); background: #000; display: grid; place-items: center; overflow: hidden; touch-action: pan-y; }
.stage img { max-width: 100%; max-height: 100%; object-fit: contain; animation: fade .5s; }
@keyframes fade { from { opacity: 0; } }
.stage__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 26px; cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(4px); }
.stage__nav:hover { background: var(--red); }
.stage__nav.prev { left: 16px; }
.stage__nav.next { right: 16px; }
.stage__bar { width: var(--wrap); margin: auto; display: flex; gap: 16px; align-items: center; padding: 16px 0; flex-wrap: wrap; }
.stage__bar .caption { margin-right: auto; }
.stage__bar .caption b { font: 400 26px/1 var(--display); text-transform: uppercase; display: block; }
.stage__bar .caption small { font: 700 14px var(--label); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .65); }
.stage__bar .count { font: 800 16px var(--label); letter-spacing: .1em; }
.progress { height: 4px; background: rgba(255, 255, 255, .12); }
.progress i { display: block; height: 100%; width: 0; background: var(--yellow); }
.progress.is-running i { animation: grow var(--slide, 5s) linear forwards; }
@keyframes grow { to { width: 100%; } }
.thumbs { width: var(--wrap); margin: auto; display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 26px; }
.thumbs button { flex: none; width: 96px; height: 64px; padding: 0; border: 3px solid transparent; border-radius: 3px; overflow: hidden; cursor: pointer; background: #000; opacity: .6; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button[aria-current="true"] { border-color: var(--yellow); opacity: 1; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button { font: 800 14px var(--label); letter-spacing: .08em; text-transform: uppercase; padding: 10px 14px; border-radius: 999px; border: 2px solid currentColor; background: transparent; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.btn { font: 800 15px/1 var(--label); letter-spacing: .1em; text-transform: uppercase; padding: 12px 16px; border-radius: var(--radius); border: 2px solid currentColor; background: transparent; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; text-decoration: none; min-height: 44px; }
.btn.is-solid { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.photogrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.photogrid a { aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.photogrid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.photogrid a:hover img { transform: scale(1.05); }

/* ---------- archives ---------- */
.archive { display: grid; gap: 0; border-top: 3px solid var(--ink); }
.archive a { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; align-items: center; }
.archive a img, .archive a .ph { width: 200px; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--radius); background: linear-gradient(135deg, var(--blue), var(--navy)); }
.archive h3 { font: 400 30px/1 var(--display); text-transform: uppercase; margin: 8px 0; }
.archive a:hover h3 { color: var(--red); }
.archive p { margin: 0; color: var(--muted); }
@media (max-width: 700px) { .archive a { grid-template-columns: 1fr; } .archive a img, .archive a .ph { width: 100%; } }
.article { max-width: 780px; }
.article > img { width: 100%; border-radius: var(--radius); margin-bottom: 28px; }
.weekblock { margin-bottom: 40px; }
.weekblock h2 { font: 800 16px var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--ink); padding-bottom: 8px; margin-bottom: 16px; }
.mvps.light .mvp { aspect-ratio: 3/4; }
.year { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.month { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 0 var(--line); }
.month h3 { font: 400 26px var(--display); text-transform: uppercase; padding: 12px 16px; background: var(--navy); color: #fff; }
.month.is-now h3 { background: var(--red); }
.month ul { list-style: none; margin: 0; padding: 6px 16px 12px; }
.month li { display: grid; grid-template-columns: 34px 1fr; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.month li b { font: 400 22px/1 var(--display); color: var(--red); }
.month li small { display: block; color: var(--muted); font-weight: 500; font-size: 13px; }
.month li.is-today { background: #fffbe1; }
.month .none { color: var(--muted); padding: 10px 0; font-size: 15px; }

.sponsorgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.sponsorgrid a { background: #fff; border-radius: var(--radius); padding: 26px; display: grid; gap: 14px; place-items: center; text-decoration: none; box-shadow: 0 2px 0 var(--line); transition: transform .2s; }
.sponsorgrid a:hover { transform: translateY(-3px); }
.sponsorgrid img { height: 90px; object-fit: contain; }
.sponsorgrid b { font: 800 16px var(--label); letter-spacing: .1em; text-transform: uppercase; }
.contactcard { background: var(--navy); color: #fff; padding: 30px; border-radius: var(--radius); margin-bottom: 30px; }
.contactcard a.big { font: 400 clamp(24px, 3.4vw, 40px)/1.1 var(--display); color: var(--yellow); overflow-wrap: anywhere; text-decoration: none; }
.contactcard a.big:hover { text-decoration: underline; }
.notfound { min-height: 50vh; display: grid; place-items: center; text-align: center; }

/* ---------- fase 2 ---------- */
.foot__junta { opacity: .7; }
.match.is-rest { border-left-color: #9aa0b8; background: #f8f8fb; }
.match__side .tagged { font: 800 18px var(--label); text-transform: uppercase; color: #9a6400; }
.round li span:nth-child(2) b { font: 400 20px var(--display); color: var(--red); }
.round li small { color: var(--muted); font-weight: 600; }
.minigal { background: var(--night); border-radius: var(--radius); overflow: hidden; }
.minigal__stage { position: relative; aspect-ratio: 16/8; background: #000; }
.minigal figure { margin: 0; position: absolute; inset: 0; animation: fade .6s; }
.minigal figure img { width: 100%; height: 100%; object-fit: cover; }
.minigal figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 24px 18px; color: #fff; background: linear-gradient(0deg, rgba(7, 11, 36, .9), transparent); }
.minigal figcaption b { display: block; font: 400 28px/1 var(--display); text-transform: uppercase; }
.minigal figcaption small { font: 700 14px var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); }
.minigal__bar { display: flex; gap: 14px; align-items: center; padding: 12px 16px; color: #fff; }
.minigal__bar .pausebtn { background: transparent; color: #fff; border-color: #fff; }
.minigal__bar .count { font: 800 15px var(--label); letter-spacing: .1em; }
@media (max-width: 700px) { .minigal__stage { aspect-ratio: 4/3; } .minigal figcaption b { font-size: 22px; } }
.newslead .meta { color: rgba(255, 255, 255, .8); }
.newslead .meta .tag { color: var(--yellow); }

/* ---------- fase 3: colores por deporte, partidos, portada ---------- */
.pagehero.is-multi { background: #23421f; }
.pagehero.is-multi::before { background: linear-gradient(90deg, rgba(25, 48, 22, .95), rgba(25, 48, 22, .45)); }
.is-multi-page .teamrow__n { color: var(--multi); }
.chip.is-multi { background: var(--multi); color: #fff; }
.teamhero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--sc, var(--red)); }
.teamhero .tabs a[aria-current="page"] { border-color: var(--sc); background: rgba(255, 255, 255, .1); }
.teamhero--basket .chip.is-yellow, .teamhero--futsal .chip.is-yellow { background: #fff; color: var(--sc); }
.teamhero.is-multi .tabs a[aria-current="page"] { border-color: #8fca8a; }
.house { width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; display: inline-block; }
.stamp { display: inline-block; align-self: flex-start; font: 800 13px/1 var(--label); letter-spacing: .14em; text-transform: uppercase; padding: 6px 9px 5px; border: 2px solid #9a6400; color: #9a6400; transform: rotate(-3deg); margin-top: 6px; background: #fff8e6; }
.stamp.is-rest { border-color: #5b6182; color: #5b6182; background: #f1f2f7; }
.sportcols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.sportcol h3 { font: 400 28px/1 var(--display); text-transform: uppercase; color: #fff; background: var(--sc); padding: 10px 14px 8px; border-radius: var(--radius) var(--radius) 0 0; margin-bottom: 10px; }
.sportcol--basket { --sc: var(--basket); }
.sportcol--futsal { --sc: var(--futsal); }
.sportcol .muted { color: var(--muted); padding: 10px 2px; }
@media (max-width: 760px) { .sportcols { grid-template-columns: 1fr; gap: 22px; } }
.fx { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; background: #fff; border-radius: var(--radius); border-left: 5px solid var(--sc); margin-bottom: 10px; text-decoration: none; box-shadow: 0 2px 0 var(--line); min-width: 0; }
a.fx:hover { transform: translateX(2px); }
.fx__meta { font: 700 13px var(--label); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); overflow-wrap: anywhere; }
.fx__meta b { color: var(--sc); }
.fx__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.fx__name { font: 700 18px/1.15 var(--label); color: #5d6384; overflow-wrap: anywhere; min-width: 0; }
.fx__score { font: 400 28px/1 var(--display); color: #8a8fa8; min-width: 40px; text-align: right; }
.fx__row.is-us .fx__name { color: var(--sc); font-weight: 800; }
.fx__row.is-us .fx__score { color: var(--sc); }
.fx__venue { font-size: 14px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.fxlist { display: grid; gap: 0; max-width: 720px; }
.round li .us { color: var(--sc, var(--blue)); font-weight: 800; }
.round li b i { font-style: normal; color: #8a8fa8; }
.round li b i.us { color: var(--sc, var(--red)); }
.nextmatch__slide { position: relative; }
.nextmatch__vs b { color: #5d6384; }
.nextmatch__vs b.is-us { color: var(--sc); }
.nextmatch__when .house { width: 14px; height: 14px; }
.nextmatch::before { background: var(--sc, linear-gradient(90deg, var(--red) 0 40%, var(--yellow) 40% 60%, var(--blue-2) 60%)); }
.hero + .sponsorband { border-top: 0; box-shadow: inset 0 6px 0 var(--yellow); padding-top: 34px; }
/* MVP */
.mvp { background: linear-gradient(180deg, var(--sc), #0a0f3a); }
.mvp__badge { background: #fff; color: var(--sc); }
.mvp div p { margin: 0 0 4px; font: 800 13px var(--label); letter-spacing: .14em; text-transform: uppercase; color: #fff; opacity: .85; }
.mvp div small { display: block; margin-top: 4px; font: 800 14px var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); }
/* Cumpleaños */
.bdays { display: grid; gap: 34px; justify-items: center; }
.bdays > .birthdays { width: min(100%, 760px); }
/* today's birthdays: centred, all the same size (a long name wraps without making its card bigger) */
.bday-todays { width: 100%; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); grid-auto-rows: 1fr; align-items: stretch; }
.bday-todays.is-one { width: min(100%, 760px); }
.bday-today { position: relative; isolation: isolate; display: grid; grid-template-columns: 180px 1fr; gap: 22px; align-items: center; background: linear-gradient(135deg, #fff7d1, #ffe98a); border-radius: 10px; padding: 22px; box-shadow: var(--shadow); }
.bday-today h3 { font: 400 clamp(30px, 3.2vw, 42px)/.95 var(--display); text-transform: uppercase; margin: 6px 0; overflow-wrap: anywhere; }
.bday-confetti { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; overflow: visible; }
.bday-confetti g { animation: bdayfall 1.1s cubic-bezier(.2, .7, .3, 1) both; animation-delay: calc(var(--i) * 45ms); }
@keyframes bdayfall { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .bday-confetti g { animation: none; } }
.bday-today p { margin: 0; font-weight: 600; }
.bday-today .cheer { margin-top: 8px; color: var(--red); font-weight: 700; }
.bday-photo { position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 6px solid #fff; background: var(--navy); box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .5); }
.bday-photo img { width: 100%; height: 100%; object-fit: cover; }
.bday-photo img.crestph { object-fit: contain; padding: 22%; }
.hoy { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); background: var(--red); color: #fff; font: 800 18px/1 var(--label); letter-spacing: .14em; text-transform: uppercase; padding: 7px 14px 6px; border-radius: 999px; }
.bday-today.is-none { width: min(100%, 760px); display: block; background: #fff; box-shadow: 0 2px 0 var(--line); }
.bday-today.is-none .hoy { position: static; transform: none; display: inline-block; margin-bottom: 8px; background: var(--muted); }
@media (max-width: 560px) { .bday-today { grid-template-columns: 110px 1fr; gap: 14px; padding: 16px; } .hoy { font-size: 14px; } }
.birthdays header { background: var(--navy); }
/* Collage */
.collage { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 170px; gap: 8px; text-decoration: none; border-radius: var(--radius); overflow: hidden; }
.collage figure { margin: 0; position: relative; overflow: hidden; background: var(--paper-2); }
.collage figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.collage:hover figure img { transform: scale(1.04); }
.collage figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 8px; color: #fff; font: 700 14px var(--label); background: linear-gradient(0deg, rgba(7, 11, 36, .85), transparent); opacity: 0; transition: opacity .2s; }
.collage figure:hover figcaption { opacity: 1; }
.collage figure:first-child { grid-column: span 2; grid-row: span 2; }
.collage.n7 figure:nth-child(4) { grid-row: span 2; }
.collage__cta { position: absolute; right: 12px; bottom: 12px; background: var(--yellow); color: var(--ink); font: 800 15px var(--label); letter-spacing: .1em; text-transform: uppercase; padding: 10px 14px; border-radius: var(--radius); }
@media (max-width: 760px) { .collage { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; } .collage figure:nth-child(n+6) { display: none; } }
/* Gallery page */
.galfilters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
@media (max-width: 760px) { .galfilters { grid-template-columns: 1fr 1fr; } }
.galfilters .select { width: 100%; }
.galbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; }
.galbar span { font-weight: 700; margin-right: auto; }
.galbar .btn { color: var(--ink); }
.galbar .btn.is-solid[disabled] { opacity: .5; }
.photogrid.sel { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.photogrid.sel figure { margin: 0; position: relative; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 0 var(--line); }
.photogrid.sel figure.is-sel { outline: 4px solid var(--yellow); }
.photogrid.sel .ph { display: block; width: 100%; border: 0; padding: 0; cursor: zoom-in; aspect-ratio: 4/3; background: var(--paper-2); }
.photogrid.sel .ph img { width: 100%; height: 100%; object-fit: cover; }
.photogrid.sel .pick { position: absolute; top: 8px; left: 8px; background: #fff; border-radius: 6px; padding: 6px; line-height: 0; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
.photogrid.sel .pick input { width: 22px; height: 22px; accent-color: var(--red); }
.photogrid.sel figcaption { padding: 8px 10px; font-weight: 700; font-size: 14px; }
.photogrid.sel figcaption small { display: block; color: var(--muted); font-weight: 600; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(7, 11, 36, .97); color: #fff; display: flex; flex-direction: column; }
.lightbox .stage { flex: 1; height: auto; background: transparent; }
.lightbox .stage__bar .btn { color: #fff; }
.lightbox .stage__bar .btn.is-solid { color: var(--ink); }

/* ===== Calendario en lista (todas las jornadas abiertas) ===== */
.callegend { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; color: var(--muted); margin: 0 0 18px; }
.callegend__us { background: color-mix(in srgb, var(--sc) 14%, #fff); border-left: 5px solid var(--sc); padding: 4px 10px; font-weight: 800; color: var(--ink); }
.calrounds { display: grid; gap: 18px; }
.calround { background: #fff; border-radius: var(--radius); box-shadow: 0 2px 0 var(--line); overflow: hidden; scroll-margin-top: 90px; }
.calround header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 14px 18px 10px; border-bottom: 1px solid var(--line); }
.calround h3 { margin: 0; font: 400 26px/1 var(--display); text-transform: uppercase; }
.calround header span { color: var(--muted); font-weight: 600; }
.calround header em { margin-left: auto; font: 800 13px var(--label); letter-spacing: .08em; text-transform: uppercase; font-style: normal; background: var(--yellow); color: var(--ink); padding: 4px 10px; border-radius: 3px; }
.calround.is-current { box-shadow: 0 0 0 3px var(--yellow), 0 2px 0 var(--line); }
.calround ol { list-style: none; margin: 0; padding: 0; }
.calround li { display: grid; grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr); align-items: center; gap: 4px 12px; padding: 11px 18px; border-top: 1px solid #eef0f5; font-size: 15px; }
.calround li:first-child { border-top: 0; }
.calround li .h { text-align: right; }
.calround li .s { text-align: center; font: 400 22px var(--display); color: var(--muted); }
.calround li .s b { font-weight: 400; color: var(--ink); }
.calround li .s i { font-style: normal; margin: 0 4px; color: var(--muted); }
.calround li.is-us { background: color-mix(in srgb, var(--sc) 12%, #fff); box-shadow: inset 5px 0 0 var(--sc); }
.calround li.is-us strong { font-weight: 800; color: var(--sc); }
.calround li.is-us .s b { color: var(--sc); }
.calinfo { grid-column: 1 / -1; text-align: center; font-size: 13px; color: var(--muted); font-weight: 600; }
.calinfo.is-ok { color: #16653f; }
.calinfo.is-warn { color: #9a4b00; }
@media (max-width: 640px) {
  .calround li { grid-template-columns: minmax(0, 1fr) 62px minmax(0, 1fr); padding: 10px 10px; font-size: 14px; gap: 4px 8px; }
  .calround li .s { font-size: 19px; }
}

/* ===== Próximo partido (previa) ===== */
.previa { background: #fff; border-radius: 14px; box-shadow: 0 18px 40px -26px rgba(7, 11, 36, .45); overflow: hidden; border-top: 6px solid var(--sc); }
.previa__meta { margin: 0; padding: 14px 22px 0; font: 800 14px var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.previa__match { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; padding: 18px 22px 22px; }
.previa__side { display: grid; justify-items: center; text-align: center; gap: 10px; }
.previa__side b { font: 400 clamp(18px, 2.4vw, 26px)/1.1 var(--display); text-transform: uppercase; color: var(--ink); overflow-wrap: anywhere; }
.previa__side.is-us b { color: var(--sc); }
.previa__side small { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.previa__crest { width: clamp(64px, 9vw, 96px); height: auto; }
.previa__ini { width: clamp(64px, 9vw, 96px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: #eceef4; color: #3b4059; font: 400 clamp(24px, 3.4vw, 36px) var(--display); border: 3px solid #d9dce6; }
.previa__when { display: grid; justify-items: center; text-align: center; gap: 2px; min-width: 150px; }
.previa__date { font: 800 clamp(15px, 1.8vw, 19px) var(--label); text-transform: uppercase; letter-spacing: .05em; color: var(--ink); }
.previa__time { font: 400 clamp(54px, 8vw, 92px)/1 var(--display); color: var(--sc); }
.previa__pending { font: 800 17px var(--label); text-transform: uppercase; color: #9a4b00; background: #fff4e0; padding: 8px 12px; border-radius: 6px; margin-top: 6px; }
.previa__when small { color: var(--muted); font-size: 12px; margin-top: 4px; }
.previa__place { margin: 0; display: flex; justify-content: center; align-items: center; gap: 10px; padding: 14px 22px; background: color-mix(in srgb, var(--sc) 8%, #fff); border-top: 1px solid var(--line); font: 800 18px var(--label); letter-spacing: .03em; color: var(--ink); text-align: center; }
.previa__place svg { width: 26px; height: 26px; flex: none; }
.previa__place .pin { color: var(--sc); }
@media (max-width: 560px) {
  .previa__match { gap: 8px; padding: 16px 12px 18px; }
  .previa__when { min-width: 0; }
  .previa__side b { font-size: 16px; }
}
/* ===== Multideporte ===== */
.multinav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.multinav a { background: #fff; border: 2px solid var(--multi, #3d7a3a); color: var(--ink); padding: 8px 14px; border-radius: 999px; font: 800 15px var(--label); text-transform: uppercase; letter-spacing: .05em; text-decoration: none; }
.multiblock { margin-bottom: 44px; scroll-margin-top: 100px; }
.multiblock > h2 { font: 400 32px/1 var(--display); text-transform: uppercase; margin: 0 0 16px; }
.multiblock .staff { margin-top: 0; }
.staff__img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; float: left; margin-right: 10px; }

/* ===== Tildes y segundas líneas en los titulares =====
   En Anton, las mayúsculas acentuadas (Á, É, Í, Ó, Ú, Ñ) suben un 25 % por encima del resto.
   Con interlineados de 0,86–0,95 invadían la línea de arriba (etiqueta, migas o el primer
   renglón del propio título). Interlineado mínimo de 1,12 y algo de aire encima. */
.sectionhead h2, .newslead h3, .mvp h3, .tile h3, .pagehero h1, .teamhero h1, .player h3, .staff h2, .subhead,
.archive h3, .teamrow b, .bday-today h3, .teamgroup h2, .prose h3, .multiblock > h2, .birthdays header h3,
.fixtures h3, .stage__bar .caption b, .minigal figcaption b, .waiting b, .foot__brand b, .previa__side b, .nextmatch__vs b, .clubmenu__group a {
  line-height: 1.12;
}
.sectionhead h2, .pagehero h1, .teamhero h1, .newslead h3, .bday-today h3, .tile h3, .archive h3 { padding-top: .14em; }
.hero h1 { line-height: .92; }
.hero h1 em { padding-top: .1em; }
.sectionhead .eyebrow { margin-bottom: 2px; }
.toolbar { flex-wrap: wrap; }
.toolbar .select, .galfilters .select { max-width: 100%; min-width: 0; }
.contactcard__name { margin: 10px 0 0; font: 700 16px var(--body); color: rgba(255, 255, 255, .8); }
.contactlist { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 14px; }
.contactlist li { display: grid; gap: 2px; }
.contactlist span { font: 800 13px var(--label); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .65); }
.contactlist b { font: 600 clamp(18px, 2.2vw, 22px)/1.3 var(--body); color: #fff; }
.contactlist a.big { line-height: 1.12; }
.tag-friendly { display: inline-block; background: #fff1c2; color: #7a5600; font: 800 11px var(--label); letter-spacing: .08em; text-transform: uppercase; padding: 2px 7px; border-radius: 3px; vertical-align: 1px; }
.standings td.streak { font-weight: 700; }
.standings td.streak.up { color: #2c3fd6; }
.standings td.streak.down { color: #c7191b; }

/* ===== Calendario anual ===== */
.ac-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 8px; }
.ac-years { display: flex; gap: 6px; }
.ac-years button { font: 800 16px var(--label); letter-spacing: .06em; padding: 8px 16px; border: 2px solid var(--ink); background: #fff; color: var(--ink); border-radius: var(--radius); cursor: pointer; }
.ac-years button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.ac-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 0; font-size: 14px; color: var(--muted); }
.ac-legend li { display: inline-flex; align-items: center; gap: 6px; }
.ac-legend i { width: 18px; height: 18px; border-radius: 4px; border: 1px solid var(--line); background: #fff; display: inline-block; }
.ac-legend i.is-match { background: var(--sc); border-color: var(--sc); }
.ac-legend i.is-rest { background: color-mix(in srgb, var(--sc) 16%, #fff); border-color: color-mix(in srgb, var(--sc) 35%, #fff); }
.ac-legend i.is-friendly { box-shadow: inset 0 -5px 0 #f6d935; }
.ac-months { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.ac-month { background: #fff; border-radius: var(--radius); box-shadow: 0 2px 0 var(--line); padding: 14px 14px 12px; }
.ac-month h3 { margin: 0 0 10px; font: 400 22px/1.12 var(--display); text-transform: uppercase; }
.ac-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.ac-wd { font: 800 11px var(--label); letter-spacing: .08em; color: var(--muted); text-align: center; padding-bottom: 2px; }
.ac-day, .ac-pad { aspect-ratio: 1; min-height: 34px; }
.ac-day { display: grid; place-content: center; text-align: center; border-radius: 6px; font: 600 14px/1.1 var(--body); color: var(--ink); background: #f6f7fa; border: 1px solid transparent; padding: 0; }
.ac-day small { display: block; font: 800 8px/1.1 var(--label); letter-spacing: .02em; text-transform: uppercase; margin-top: 1px; }
button.ac-day { cursor: pointer; }
.ac-day.is-match { background: var(--sc); color: #fff; font-weight: 800; }
.ac-day.is-rest { background: color-mix(in srgb, var(--sc) 16%, #fff); color: var(--sc); border-color: color-mix(in srgb, var(--sc) 30%, #fff); font-weight: 800; }
.ac-day.is-friendly { box-shadow: inset 0 -5px 0 #f6d935; }
.ac-day.is-postponed { background: repeating-linear-gradient(-45deg, var(--sc) 0 6px, color-mix(in srgb, var(--sc) 60%, #fff) 6px 12px); }
.ac-day.is-today { outline: 3px solid var(--yellow); outline-offset: 1px; }
.ac-day[aria-pressed="true"] { outline: 3px solid var(--ink); outline-offset: 1px; }
.ac-info { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 10px; font-size: 14px; }
.ac-info p { margin: 0 0 6px; font: 800 13px var(--label); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ac-info ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ac-info li { border-left: 4px solid var(--sc); padding: 4px 8px; background: color-mix(in srgb, var(--sc) 6%, #fff); }
.ac-info li.is-rest { border-left-color: color-mix(in srgb, var(--sc) 35%, #fff); }
.ac-info small { display: block; color: var(--muted); margin-top: 2px; }
@media (max-width: 420px) { .ac-day small { display: none; } .ac-day.is-rest::after { content: 'D'; font: 800 9px var(--label); } }

/* Revisión con datos reales: títulos largos con coma y tilde, nombres largos en el móvil */
.newslead h3, .archive h3, .pagehero h1 { line-height: 1.22; }
.prose { line-height: 1.6; }
.calround li { line-height: 1.35; }
.calround li .h, .calround li .a { overflow-wrap: anywhere; }
.previa__pending { white-space: normal; max-width: 12em; line-height: 1.25; }
@media (max-width: 560px) { .previa__pending { font-size: 13px; padding: 6px 8px; } .previa__side b { line-height: 1.2; } }

/* ===== Competiciones: chapa con su color, fase en dorado ===== */
.compchip { display: inline-block; font: 800 12px/1.25 var(--label); letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; vertical-align: 1px; max-width: 100%; overflow-wrap: anywhere; }
.phasechip { display: inline-flex; align-items: center; gap: 4px; background: linear-gradient(180deg, #e4c45a, #c9a227); color: #2b2100; font: 800 12px/1.25 var(--label); letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(90, 70, 0, .35); vertical-align: 1px; }
.phasechip::before { content: '★'; font-size: 11px; }
.compchip + .phasechip { margin-left: 4px; }
.fx__meta .compchip, .fx__meta .phasechip { font-size: 11px; padding: 2px 6px; }
.calcomp { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 8px; color: var(--muted); font-weight: 600; }
.calround { border-top: 5px solid var(--cc, var(--sc)); }
.calround header { align-items: center; }
.calround header .compchip { font-size: 13px; }
.calround li.is-us { background: color-mix(in srgb, var(--cc, var(--sc)) 12%, #fff); box-shadow: inset 5px 0 0 var(--cc, var(--sc)); }
.calinfo .phasechip { margin-right: 6px; }
.previas { display: grid; gap: 22px; }
@media (min-width: 980px) { .previas:not(.n1) { grid-template-columns: repeat(2, minmax(0, 1fr)); } .previas:not(.n1) .previa__time { font-size: clamp(48px, 5.4vw, 76px); } .previas:not(.n1) .previa__when { min-width: 120px; } }
.previa { border-top-color: var(--cc, var(--sc)); display: flex; flex-direction: column; }
.previa__match { flex: 1; }
.previa__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.previa__meta .compchip, .previa__meta .phasechip { font-size: 13px; letter-spacing: .08em; }
.previa__meta .phasechip { margin-left: 0; }
/* Calendario anual con el color de cada competición */
.ac-day.is-match { background: var(--cbg, var(--sc)); color: #fff; text-shadow: 0 1px 1px rgba(0, 0, 0, .35); }
.ac-day.is-match.is-light { color: #11152e; text-shadow: none; }
.ac-day.is-rest { background: color-mix(in srgb, var(--cc, var(--sc)) 14%, #fff); color: color-mix(in srgb, var(--cc, var(--sc)) 80%, #000); border-color: color-mix(in srgb, var(--cc, var(--sc)) 30%, #fff); }
.ac-day.is-postponed { background: repeating-linear-gradient(-45deg, var(--cc, var(--sc)) 0 6px, color-mix(in srgb, var(--cc, var(--sc)) 55%, #fff) 6px 12px); }
.ac-legend i.is-match { background: var(--cbg, var(--sc)); border-color: transparent; }
.ac-legend i.is-rest { background: color-mix(in srgb, var(--cc, var(--sc)) 14%, #fff); border-color: color-mix(in srgb, var(--cc, var(--sc)) 30%, #fff); }
.ac-info li .compchip { margin-right: 6px; }
@media (max-width: 440px) {
  .previa__match { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 10px; }
  .previa__when { grid-column: 1 / -1; order: -1; }
  .previa__side b { font-size: 18px; overflow-wrap: normal; hyphens: auto; }
}

/* ===== Vista previa de la junta ===== */
.previewbar { position: sticky; top: 0; z-index: 120; background: #fff4c2; color: #4a3800; border-bottom: 2px solid #e0a100; padding: 10px 16px; font-size: 15px; text-align: center; }
.previewbar a { color: inherit; font-weight: 800; }
.pagehero.is-hidden-ed h1::after { content: 'Oculta'; display: inline-block; vertical-align: middle; margin-left: 12px; font: 800 14px/1 var(--label); letter-spacing: .1em; text-transform: uppercase; background: #fff4c2; color: #4a3800; padding: 6px 10px; border-radius: 4px; }

/* ===== Torneo y Colonias ===== */
.evpage .subhead { margin-top: 40px; scroll-margin-top: 100px; }
.evintro { max-width: 760px; margin-bottom: 18px; }
.evjump { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 18px; }
.evjump a { border: 2px solid var(--ec); color: var(--ink); padding: 8px 14px; border-radius: 999px; font: 800 15px var(--label); letter-spacing: .05em; text-transform: uppercase; text-decoration: none; }
.evfilters { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: end; background: #fff; padding: 14px 16px; border-radius: var(--radius); box-shadow: 0 2px 0 var(--line); position: sticky; top: 76px; z-index: 5; }
.evfilters label { display: grid; gap: 4px; }
.evfilters span { font: 800 13px var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 900px) { .evfilters { position: static; } }
.evdays { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; margin-bottom: 16px; }
.evdays button { display: grid; gap: 2px; padding: 12px 10px; border: 2px solid var(--ink); background: #fff; color: var(--ink); border-radius: var(--radius); cursor: pointer; text-align: center; }
.evdays button b { font: 400 24px/1.12 var(--display); text-transform: uppercase; }
.evdays button span { font-weight: 600; font-size: 14px; }
.evdays button[aria-selected="true"] { background: var(--ec); border-color: var(--ec); color: var(--ect, #fff); }
.evprog { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.evitem { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; background: #fff; border-radius: var(--radius); padding: 14px 16px; box-shadow: 0 2px 0 var(--line); border-left: 6px solid var(--ec); }
.evitem.is-us { background: color-mix(in srgb, var(--ec) 9%, #fff); }
.evitem.is-act { border-left-color: #e0a100; }
.evitem time { font: 400 28px/1.12 var(--display); color: var(--ink); }
.evitem.is-act time { font-size: 22px; }
.evitem p { margin: 0; }
.evitem__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px !important; }
.evchip { font: 800 12px/1.3 var(--label); letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; background: #eef0f5; color: #3b4059; }
.evchip.is-main { background: var(--ec); color: var(--ect, #fff); }
.evitem.is-act .evchip.is-main { background: #e0a100; color: #11152e; }
.evitem__match { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; font: 400 clamp(17px, 2vw, 22px)/1.15 var(--display); text-transform: uppercase; }
.evitem__match .h { display: flex; align-items: center; justify-content: flex-end; gap: 8px; text-align: right; }
.evitem__match .a { display: flex; align-items: center; gap: 8px; }
.evitem__match .h, .evitem__match .a { overflow-wrap: anywhere; }
.evscore { font: 400 26px/1 var(--display); white-space: nowrap; }
.evscore i { font-style: normal; margin: 0 4px; color: var(--muted); }
.evscore.is-vs { font: 800 14px var(--label); color: var(--muted); }
.evitem__title { font: 400 22px/1.15 var(--display); text-transform: uppercase; }
.evitem__desc { color: var(--muted); margin-top: 4px !important; }
.evitem__place { display: flex; align-items: center; gap: 6px; margin-top: 8px !important; font-weight: 700; }
.evitem__place .pin { width: 18px; height: 18px; color: var(--ec); flex: none; }
.evcrest { width: 34px; height: 34px; object-fit: contain; flex: none; }
.evcrest--ini { display: grid; place-items: center; border-radius: 50%; background: #eceef4; color: #3b4059; font: 400 14px var(--display); border: 2px solid #d9dce6; }
.evgroup { font: 800 16px var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 22px 0 10px; }
.evteamgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.evteamgrid li { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; align-items: center; background: #fff; padding: 12px; border-radius: var(--radius); box-shadow: 0 2px 0 var(--line); }
.evteamgrid li .evcrest { grid-row: 1 / 3; width: 44px; height: 44px; }
.evteamgrid li b { font-weight: 800; line-height: 1.2; overflow-wrap: anywhere; }
.evteamgrid li small { color: var(--muted); font-weight: 600; }
.evteamgrid li.is-us { box-shadow: inset 0 0 0 2px var(--ec); }
.evphase h4 { font: 400 22px/1.12 var(--display); text-transform: uppercase; margin: 14px 0 8px; }
.evphase.is-ko h4 { color: #8a6d00; }
.evphase.is-ko h4::before { content: '★ '; color: #c9a227; }
.evtable td.r, .evtable th.r { text-align: right; }
.evtable td.c, .evtable th.c { text-align: center; white-space: nowrap; }
.evtable tr.is-us td { background: color-mix(in srgb, var(--ec) 10%, #fff); font-weight: 700; }
.evlinks { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.evlinks a { background: #fff; padding: 14px 16px; border-radius: var(--radius); box-shadow: 0 2px 0 var(--line); text-decoration: none; color: var(--ink); display: grid; gap: 2px; }
.evlinks span { color: var(--muted); font-size: 14px; }
@media (max-width: 560px) {
  .evitem { grid-template-columns: 1fr; gap: 6px; }
  .evitem time { font-size: 22px; }
  .evitem__match { grid-template-columns: 1fr; gap: 4px; }
  .evitem__match .h { justify-content: flex-start; text-align: left; flex-direction: row-reverse; }
  .evtable { font-size: 14px; }
}
.evfacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; background: #fff; padding: 18px; border-radius: var(--radius); box-shadow: 0 2px 0 var(--line); border-top: 6px solid var(--ec); margin-bottom: 26px; }
.evfacts > div { display: grid; gap: 2px; align-content: start; }
.evfacts span { font: 800 13px var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.evfacts b { font-size: 18px; line-height: 1.3; }
.evfacts__cta { grid-column: 1 / -1; display: flex !important; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.evfacts__cta small { color: var(--muted); }
.evcta { background: var(--ec); color: #fff; border-color: var(--ec); font-size: 18px; padding: 14px 22px; }
.evcta.is-closed { background: #e6e8ee; color: #5d6384; border-color: #d4d7e0; cursor: not-allowed; }
.evcols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 32px; }
.evblock .subhead { margin-top: 26px; }

/* ===== Estadísticas Swish ===== */
.statnav, .swtabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 2px solid var(--line); margin-bottom: 18px; }
.statnav button, .swtabs button { border: 0; background: none; padding: 12px 14px; font: 800 15px var(--label); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom: 4px solid transparent; margin-bottom: -2px; cursor: pointer; }
.statnav button[aria-selected="true"], .swtabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: #e5383b; }
.statnav button:disabled { opacity: .45; cursor: default; }
.statnote { color: var(--muted); }
.seg, .pills, .perpick { display: inline-flex; flex-wrap: wrap; gap: 6px; margin: 0 12px 14px 0; }
.seg button, .pills button { border: 2px solid var(--line); background: #fff; color: var(--ink); padding: 8px 16px; border-radius: 999px; font: 800 14px var(--label); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.seg button[aria-pressed="true"], .pills button[aria-pressed="true"] { background: #e5383b; border-color: #e5383b; color: #fff; }
.perpick { gap: 0; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.perpick button { border: 0; border-right: 1px solid var(--line); background: #fff; color: var(--ink); padding: 10px 16px; min-width: 56px; font: 800 16px var(--label); cursor: pointer; }
.perpick button:last-child { border-right: 0; }
.perpick button[aria-pressed="true"] { background: #e5383b; color: #fff; }
.perpick button.is-pend:not([aria-pressed="true"]) { color: #9aa0b4; background: repeating-linear-gradient(-45deg, #fff 0 6px, #f3f4f8 6px 12px); }
.swscore { background: #fff; border-radius: var(--radius); box-shadow: 0 2px 0 var(--line); overflow: hidden; margin-bottom: 14px; }
.swscore__top { display: flex; justify-content: space-between; align-items: center; background: #14182e; color: #fff; padding: 10px 14px; font-weight: 700; }
.swscore__top em { font-style: normal; background: #3d6ef0; padding: 4px 12px; border-radius: 999px; font-size: 14px; }
.swscore__row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 64px; align-items: center; gap: 12px; padding: 10px 14px; border-top: 1px solid #eef0f5; }
.swscore__row img, .swscore__ini { width: 40px; height: 40px; object-fit: contain; }
.swscore__ini { display: grid; place-items: center; border-radius: 50%; background: #eceef4; font: 400 15px var(--display); color: #3b4059; }
.swscore__row b { font: 400 20px/1.15 var(--display); text-transform: uppercase; overflow-wrap: anywhere; }
.swscore__q { display: flex; gap: 10px; }
.swscore__q span { display: grid; text-align: center; font-weight: 800; color: var(--side); min-width: 24px; }
.swscore__q small { color: var(--muted); font-weight: 600; font-size: 12px; }
.swscore__row strong { font: 400 34px/1 var(--display); color: var(--side); text-align: right; }
@media (max-width: 560px) { .swscore__row { grid-template-columns: 32px minmax(0, 1fr) 52px; } .swscore__q { grid-column: 2 / 4; grid-row: 2; } .swscore__row strong { grid-row: 1; grid-column: 3; } }
.cmp { display: grid; gap: 10px; max-width: 720px; margin: 8px auto 20px; }
.cmp__row { display: grid; grid-template-columns: 44px minmax(0, 1fr) 54px minmax(0, 1fr) 44px; align-items: center; gap: 8px; }
.cmp__row abbr { text-align: center; font: 800 18px var(--label); text-decoration: none; }
.cmp__v { font-weight: 800; font-size: 18px; text-align: center; }
.cmp__bar { display: flex; height: 12px; }
.cmp__bar i { display: block; height: 100%; border-radius: 999px; min-width: 6px; }
.cmp__bar.is-home { justify-content: flex-end; }
.cmp__bar.is-home i { background: #3d6ef0; }
.cmp__bar.is-away i { background: #f39200; }
.rings { display: grid; gap: 14px; background: #fff; border-radius: var(--radius); padding: 16px; max-width: 720px; margin: 0 auto; box-shadow: 0 2px 0 var(--line); }
.rings__row { display: grid; grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr); align-items: center; gap: 10px; }
.rings__row abbr { text-align: center; font: 800 18px var(--label); text-decoration: none; }
.ring { display: grid; grid-template-columns: auto 52px; grid-template-rows: auto auto; align-items: center; justify-content: center; column-gap: 12px; }
.ring b { font: 800 26px/1 var(--label); color: var(--c); }
.ring small { grid-column: 1; font-size: 16px; color: var(--ink); }
.ring i { grid-column: 2; grid-row: 1 / 3; width: 52px; height: 52px; border-radius: 50%; -webkit-mask: radial-gradient(circle, transparent 17px, #000 18px); mask: radial-gradient(circle, transparent 17px, #000 18px); }
.evo { background: #fff; border-radius: var(--radius); padding: 12px; margin: 0 0 14px; box-shadow: 0 2px 0 var(--line); }
.evo svg { width: 100%; height: auto; display: block; }
.evo figcaption { color: var(--muted); font-size: 13px; }
.sumcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sumcard { background: #fff; border-radius: var(--radius); padding: 16px 10px; text-align: center; box-shadow: 0 2px 0 var(--line); display: grid; gap: 4px; }
.sumcard b { font: 800 34px/1.1 var(--label); }
.sumcard span { color: var(--muted); font-weight: 600; }
.sumcard.is-pend b { color: #b9bdcc; }
.data.stats td, .data.stats th { white-space: nowrap; }
.data.stats abbr { text-decoration: none; }
.dorsal { display: inline-grid; place-items: center; min-width: 30px; height: 26px; padding: 0 6px; border-radius: 7px; background: #f39200; color: #fff; font-weight: 800; }
.five { display: inline-flex; gap: 4px; }
.shotmap { margin: 0; background: #fff; padding: 10px; border-radius: var(--radius); box-shadow: 0 2px 0 var(--line); }
.shotmap img { width: 100%; max-width: 720px; display: block; margin: 0 auto; }
.shotmap figcaption { text-align: center; color: var(--muted); font-size: 13px; margin-top: 6px; }
.empty.small { padding: 20px; }
.empty.small b { font-size: 17px; }
.perpick button { text-transform: uppercase; }
.player h3 { line-height: 1.24; }
.glossary { margin-top: 16px; background: #fff; border-radius: var(--radius); box-shadow: 0 2px 0 var(--line); }
.glossary summary { cursor: pointer; padding: 14px 16px; font-weight: 800; color: #0f8b5f; }
.glossary dl { margin: 0; padding: 0 16px 12px; display: grid; }
.glossary dl > div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid #eef0f5; }
.glossary dt { font-weight: 800; }
.glossary dd { margin: 0; color: var(--ink); }

/* ===== Estadísticas · identidad Boscos ===== */
.bx { --night: #0b1430; --night2: #16214d; --night3: #24326b; --gr: #8a1538; --gr2: #b3224f; --yel: #f6d935; --slate: #8b93ad; --slate2: #c9cfe0; --paper2: #f4f5f9; display: grid; gap: 26px; font-variant-numeric: tabular-nums; }
.bx abbr { text-decoration: none; cursor: help; }
.bx-kicker { margin: 0; font: 800 12px/1.3 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--gr); }
.bx-title { margin: 2px 0 0; font: 400 clamp(24px, 2.6vw, 32px)/1.12 var(--display); text-transform: uppercase; color: var(--ink); }
.bx-note { margin: 0; color: var(--muted); font-size: 15px; }
.bx-panel { background: #fff; border-radius: 16px; box-shadow: 0 1px 0 var(--line), 0 18px 40px -32px rgba(11, 20, 48, .5); padding: 20px; }
.bx-sec { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 20px; }
/* switches */
.bx-switch { display: inline-flex; padding: 4px; gap: 4px; background: var(--night); border-radius: 999px; justify-self: start; }
.bx-switch button { border: 0; background: none; color: #c5cbe3; padding: 10px 22px; border-radius: 999px; font: 800 15px var(--label); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.bx-switch button[aria-selected="true"] { background: var(--yel); color: var(--night); }
.bx-switch button:disabled { opacity: .4; cursor: default; }
.bx-seg { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.bx-seg button { border: 2px solid var(--night); background: #fff; color: var(--night); padding: 8px 16px; border-radius: 999px; font: 800 14px var(--label); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.bx-seg button[aria-pressed="true"] { background: var(--night); color: #fff; box-shadow: inset 0 -3px 0 var(--yel); }
.bx-per { display: inline-flex; flex-wrap: wrap; border-radius: 12px; overflow: hidden; background: var(--night); padding: 4px; gap: 4px; }
.bx-per button { border: 0; background: transparent; color: #dfe3f2; padding: 9px 14px; min-width: 54px; border-radius: 9px; font: 800 15px var(--label); letter-spacing: .06em; cursor: pointer; }
.bx-per button:first-child { min-width: 140px; }
.bx-per button[aria-pressed="true"] { background: var(--yel); color: var(--night); }
.bx-per button.is-empty:not([aria-pressed="true"]) { color: #6f7aa3; text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, .25); }
.bx-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.bx-pick label { font: 800 13px var(--label); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.bx-empty { border: 2px dashed var(--slate2); border-radius: 14px; padding: 22px; display: grid; gap: 4px; color: var(--muted); background: #fff; }
.bx-empty b { color: var(--ink); font-size: 17px; }
/* match header */
.bx-head { background: radial-gradient(120% 140% at 50% -20%, var(--night3) 0, var(--night) 60%); color: #fff; border-radius: 20px; padding: 22px clamp(16px, 3vw, 34px) 24px; display: grid; gap: 20px; position: relative; overflow: hidden; }
.bx-head::after { content: ''; position: absolute; inset: auto 0 0 0; height: 4px; background: linear-gradient(90deg, var(--gr) 0 33%, var(--yel) 33% 66%, #1d39c4 66%); }
.bx-head__meta { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font: 700 14px var(--label); letter-spacing: .08em; text-transform: uppercase; color: #aeb6d6; }
.bx-final { background: var(--yel); color: var(--night); padding: 2px 10px; border-radius: 999px; }
.bx-score { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 14px; }
.bx-team { display: flex; align-items: center; gap: 14px; min-width: 0; }
.bx-team.is-away { flex-direction: row-reverse; text-align: right; }
.bx-team img, .bx-ini { width: clamp(46px, 6vw, 72px); height: clamp(46px, 6vw, 72px); flex: none; object-fit: contain; }
.bx-ini { display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .1); border: 2px solid rgba(255, 255, 255, .25); font: 400 22px var(--display); color: #dfe3f2; }
.bx-team span { display: grid; min-width: 0; }
.bx-team small { font: 800 12px var(--label); letter-spacing: .12em; text-transform: uppercase; color: #8f99c4; }
.bx-team b { font: 400 clamp(18px, 2.4vw, 28px)/1.12 var(--display); text-transform: uppercase; overflow-wrap: anywhere; }
.bx-team.is-us b { color: #fff; }
.bx-team.is-us small { color: var(--yel); }
.bx-score__n { display: grid; grid-template-columns: auto auto auto; align-items: center; justify-items: center; column-gap: 10px; }
.bx-score__n b { font: 400 clamp(46px, 7vw, 84px)/1 var(--display); color: #c5cbe3; }
.bx-score__n b.is-us { color: #fff; text-shadow: 0 0 0 transparent; border-bottom: 5px solid var(--gr2); }
.bx-score__n i { font-style: normal; color: #5b679a; font: 400 34px var(--display); }
.bx-score__n em { grid-column: 1 / -1; margin-top: 8px; font: 800 12px var(--label); letter-spacing: .12em; text-transform: uppercase; font-style: normal; padding: 3px 10px; border-radius: 999px; }
.bx-score__n em.is-win { background: var(--gr2); color: #fff; }
.bx-score__n em.is-loss { background: rgba(255, 255, 255, .12); color: #dfe3f2; }
.bx-quarters { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; }
.bx-q { position: relative; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; padding: 10px 12px; display: grid; gap: 2px; }
.bx-q > span { font: 800 13px var(--label); letter-spacing: .12em; color: #8f99c4; }
.bx-q b { font: 400 26px/1.1 var(--display); }
.bx-q b i { font-style: normal; color: #5b679a; margin: 0 4px; }
.bx-q small { font: 700 13px var(--label); letter-spacing: .04em; color: #aeb6d6; }
.bx-q.is-up { border-top: 4px solid var(--gr2); }
.bx-q.is-up small { color: #ffb3c8; }
.bx-q.is-down { border-top: 4px solid var(--slate); }
.bx-q.is-key { border-color: var(--yel); box-shadow: 0 0 0 2px var(--yel) inset; }
.bx-q em { position: absolute; top: -10px; right: 10px; background: var(--yel); color: var(--night); font: 800 11px var(--label); letter-spacing: .08em; text-transform: uppercase; font-style: normal; padding: 2px 8px; border-radius: 999px; }
.bx-roster { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.bx-roster > span { font: 800 13px var(--label); letter-spacing: .12em; text-transform: uppercase; color: #8f99c4; }
.bx-roster ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.bx-roster li { display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .08); border-radius: 999px; padding: 3px 10px 3px 3px; font-size: 13px; color: #dfe3f2; }
.bx-roster li b { display: grid; place-items: center; min-width: 26px; height: 26px; border-radius: 50%; background: var(--gr); color: #fff; font: 800 13px var(--label); }
/* tabs */
.bx-tabs { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 2px solid var(--line); }
.bx-tabs button { border: 0; background: none; padding: 12px 16px 14px; font: 800 16px var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); cursor: pointer; border-bottom: 4px solid transparent; margin-bottom: -2px; display: inline-flex; gap: 8px; align-items: baseline; }
.bx-tabs button small { font-size: 12px; color: var(--slate); }
.bx-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--gr); }
.bx-tabs button[aria-selected="true"] small { color: var(--gr); }
.bx-body { display: grid; gap: 22px; }
/* summary */
.bx-evo figcaption { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 6px 20px; margin-bottom: 10px; }
.bx-evo figcaption > p { flex-basis: 100%; }
.bx-key { list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; font: 700 14px var(--label); letter-spacing: .04em; text-transform: uppercase; }
.bx-key li::before { content: ''; display: inline-block; width: 22px; height: 4px; border-radius: 2px; background: var(--slate); margin-right: 8px; vertical-align: middle; }
.bx-key li.is-us::before { background: var(--gr); height: 5px; }
.bx-evo svg { width: 100%; height: auto; display: block; }
.bx-evo .band { fill: #f4f5f9; }
.bx-evo .grid { stroke: #e3e6ef; stroke-width: 1; }
.bx-evo .ax { fill: #5d6384; font: 600 13px var(--body); }
.bx-evo .ln { fill: none; stroke-width: 3.5; stroke-linejoin: round; }
.bx-evo .ln.us { stroke: var(--gr); stroke-width: 4.5; }
.bx-evo .ln.them { stroke: var(--slate); stroke-dasharray: 7 6; }
.bx-evo .pt.us { fill: var(--gr); stroke: #fff; stroke-width: 2.5; }
.bx-evo .pt.them { fill: #fff; stroke: var(--slate); stroke-width: 2.5; }
.bx-evo .val { font: 800 14px var(--label); }
.bx-evo .val.us { fill: var(--gr); }
.bx-evo .val.them { fill: #5d6384; }
.bx-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.bx-stat { background: var(--night); color: #fff; border-radius: 14px; padding: 16px 18px; display: grid; gap: 4px; }
.bx-stat b { font: 400 40px/1 var(--display); }
.bx-stat b .is-us { color: #ff8fb0; }
.bx-stat b i { font-style: normal; color: #5b679a; margin: 0 4px; }
.bx-stat > span { font: 700 14px var(--label); letter-spacing: .08em; text-transform: uppercase; color: #aeb6d6; display: grid; }
.bx-stat > span small { letter-spacing: .04em; text-transform: none; font-weight: 600; color: #7f89b5; }
.bx-stat.is-empty b { color: #4f5b8d; }
.bx-vs { display: grid; gap: 14px; }
.bx-vs__head { display: flex; justify-content: space-between; font: 800 14px var(--label); letter-spacing: .1em; text-transform: uppercase; color: #5d6384; }
.bx-vs__head .is-us { color: var(--gr); }
.bx-vs__row { display: grid; grid-template-columns: 42px minmax(0, 1fr) minmax(110px, 160px) minmax(0, 1fr) 42px; align-items: center; gap: 10px; }
.bx-vs__row > b { font: 400 26px/1 var(--display); color: #5d6384; text-align: center; }
.bx-vs__row > b.is-lead { color: var(--ink); box-shadow: inset 0 -4px 0 var(--yel); }
.bx-vs__row .bar { height: 14px; background: var(--paper2); border-radius: 999px; overflow: hidden; display: flex; }
.bx-vs__row .bar.us { justify-content: flex-end; }
.bx-vs__row .bar i { display: block; height: 100%; border-radius: 999px; min-width: 4px; }
.bx-vs__row .bar.us i { background: linear-gradient(90deg, var(--gr2), var(--gr)); }
.bx-vs__row .bar.them i { background: var(--slate); }
.bx-vs__row .lab { display: grid; justify-items: center; text-align: center; }
.bx-vs__row .lab abbr { font: 800 18px var(--label); letter-spacing: .08em; }
.bx-vs__row .lab small { font-size: 12px; color: var(--muted); line-height: 1.2; }
.bx-shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.bx-shot { background: #fff; border-radius: 14px; padding: 16px; box-shadow: 0 1px 0 var(--line); display: grid; gap: 10px; }
.bx-shot h4 { margin: 0; font: 800 18px var(--label); letter-spacing: .06em; }
.bx-shot h4 small { font: 600 13px var(--body); letter-spacing: 0; color: var(--muted); }
.bx-meter { display: grid; gap: 4px; }
.bx-meter span { display: flex; align-items: baseline; gap: 8px; }
.bx-meter b { font: 400 24px var(--display); }
.bx-meter small { color: var(--muted); }
.bx-meter i { display: block; height: 8px; background: var(--paper2); border-radius: 999px; overflow: hidden; }
.bx-meter u { display: block; height: 100%; text-decoration: none; }
.bx-meter.us b { color: var(--gr); }
.bx-meter.us u { background: var(--gr); }
.bx-meter.them u { background: var(--slate); }
@media (max-width: 640px) {
  .bx-score { grid-template-columns: 1fr; text-align: center; }
  .bx-team, .bx-team.is-away { flex-direction: column; text-align: center; }
  .bx-score__n { order: 3; }
  .bx-team.is-away { order: 2; }
  .bx-vs__row { grid-template-columns: 34px minmax(0, 1fr) 72px minmax(0, 1fr) 34px; gap: 6px; }
  .bx-vs__row .lab small { display: none; }
  .bx-per button:first-child { min-width: 0; }
}
/* tables */
.bx-find { display: flex; align-items: center; gap: 10px; }
.bx-find label { font: 800 13px var(--label); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.bx-find input { flex: 1; max-width: 320px; padding: 10px 14px; border: 2px solid var(--line); border-radius: 999px; font: inherit; }
.bx-find input:focus { outline: none; border-color: var(--yel); box-shadow: 0 0 0 3px rgba(246, 217, 53, .35); }
.bx-tablewrap { overflow-x: auto; border-radius: 16px; box-shadow: 0 1px 0 var(--line), 0 18px 40px -32px rgba(11, 20, 48, .5); background: #fff; }
.bx-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.bx-table th, .bx-table td { padding: 11px 12px; white-space: nowrap; border-bottom: 1px solid #eef0f5; }
.bx-table thead th { background: var(--night); color: #dfe3f2; font: 800 13px var(--label); letter-spacing: .08em; text-transform: uppercase; border-bottom: 0; }
.bx-table thead tr.bx-groups th { background: var(--night2); color: var(--yel); font-size: 12px; letter-spacing: .14em; padding: 7px 12px; text-align: center; border-left: 1px solid rgba(255, 255, 255, .12); }
.bx-table thead tr.bx-groups th:first-child { border-left: 0; }
.bx-table .num { text-align: right; }
.bx-table thead .num { text-align: right; }
.bx-table .g-start { border-left: 1px solid #e3e6ef; }
.bx-table thead .g-start { border-left: 1px solid rgba(255, 255, 255, .12); }
.bx-table .bx-stick { position: sticky; left: 0; z-index: 1; background: #fff; text-align: left; box-shadow: 6px 0 10px -8px rgba(11, 20, 48, .35); }
.bx-table thead .bx-stick { background: var(--night); z-index: 2; }
.bx-table thead tr.bx-groups .bx-stick { background: var(--night2); }
.bx-table tbody tr:nth-child(even) td, .bx-table tbody tr:nth-child(even) .bx-stick { background: #fafbfd; }
.bx-table tbody tr:hover td, .bx-table tbody tr:hover .bx-stick { background: #fffbe0; }
.bx-table tbody tr { cursor: pointer; }
.bx-table tbody tr.is-sel td, .bx-table tbody tr.is-sel .bx-stick { background: #fff6bf; }
.bx-table tbody tr.is-sel .bx-stick { box-shadow: inset 5px 0 0 var(--yel), 6px 0 10px -8px rgba(11, 20, 48, .35); }
.bx-pl { display: inline-flex; align-items: center; gap: 10px; }
.bx-dorsal { display: grid; place-items: center; min-width: 32px; height: 32px; padding: 0 6px; border-radius: 9px; background: var(--gr); color: #fff; font: 800 15px var(--label); }
.bx-name { font-weight: 700; color: var(--ink); }
.bx-table td.is-top { font-weight: 800; color: var(--ink); }
.bx-table td.is-top::after { content: none; }
.bx-table .hl { background: linear-gradient(transparent 58%, rgba(246, 217, 53, .85) 58%, rgba(246, 217, 53, .85) 92%, transparent 92%); padding: 0 3px; }
.bx-gloss { background: #fff; border-radius: 14px; box-shadow: 0 1px 0 var(--line); }
.bx-gloss summary { cursor: pointer; padding: 14px 18px; font: 800 15px var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--gr); }
.bx-gloss dl { margin: 0; padding: 0 18px 14px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 24px; }
.bx-gloss dl > div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-top: 1px solid #eef0f5; }
.bx-gloss dt { font: 800 15px var(--label); color: var(--night); }
.bx-gloss dd { margin: 0; font-size: 14px; }
.bx-topkey { color: transparent !important; background: linear-gradient(transparent 55%, rgba(246, 217, 53, .9) 55%); width: 28px; }
/* season */
.bx-season { display: grid; gap: 14px; }
.bx-season__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.bx-acta { display: grid; justify-items: end; gap: 4px; min-width: 160px; }
.bx-acta b { font: 400 40px/1 var(--display); color: var(--night); }
.bx-acta b small { font-size: 22px; color: var(--slate); }
.bx-acta span { font: 800 12px var(--label); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.bx-acta i { width: 160px; height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--gr) var(--p), #e3e6ef var(--p)); }
/* shot lab */
.bx-shotlab { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
@media (max-width: 900px) { .bx-shotlab { grid-template-columns: 1fr; } }
.bx-courtcard { margin: 0; background: var(--night); border-radius: 20px; padding: 14px; color: #fff; display: grid; gap: 12px; }
.bx-courtcard figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 4px 6px; }
.bx-courtcard .bx-kicker { color: var(--yel); }
.bx-courtcard figcaption b { font: 400 clamp(20px, 2.2vw, 28px)/1.12 var(--display); text-transform: uppercase; }
.bx-courtcard figcaption em { margin-left: auto; font: 700 12px var(--label); letter-spacing: .1em; text-transform: uppercase; font-style: normal; color: #aeb6d6; border: 1px solid rgba(255, 255, 255, .2); padding: 3px 8px; border-radius: 999px; }
.bx-courtframe { position: relative; border-radius: 14px; overflow: hidden; background: var(--night2); box-shadow: inset 0 0 0 2px rgba(246, 217, 53, .5); }
.bx-courtframe img { display: block; width: 100%; height: auto; }
.bx-court { display: block; width: 100%; height: auto; }
.bx-court * { fill: none; stroke: rgba(255, 255, 255, .28); stroke-width: 3; }
.bx-court > rect:first-child { fill: var(--night2); }
.bx-courtmsg { position: absolute; inset: 0; margin: 0; display: grid; place-content: center; text-align: center; gap: 6px; padding: 20px; background: rgba(11, 20, 48, .55); }
.bx-courtmsg b { font: 400 22px/1.15 var(--display); text-transform: uppercase; }
.bx-courtmsg span { color: #c5cbe3; max-width: 460px; }
.bx-filters { display: grid; gap: 10px; background: #fff; border-radius: 16px; padding: 16px; box-shadow: 0 1px 0 var(--line); }
.bx-filters h4 { margin: 8px 0 0; font: 800 13px var(--label); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.bx-filters h4 small { letter-spacing: 0; text-transform: none; font-weight: 600; }
.bx-filters .bx-per { width: 100%; }
.bx-filters .bx-per button:first-child { min-width: 0; flex-basis: 100%; }
.bx-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bx-chips button { display: inline-flex; align-items: center; gap: 6px; border: 2px solid var(--line); background: #fff; border-radius: 999px; padding: 3px 12px 3px 3px; font: 700 14px var(--body); cursor: pointer; color: var(--ink); }
.bx-chips button b { display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 999px; background: var(--gr); color: #fff; font: 800 13px var(--label); }
.bx-chips button[aria-pressed="true"] { border-color: var(--yel); background: #fff8cf; box-shadow: 0 0 0 2px var(--yel); }
.bx-chips button.is-empty { opacity: .55; }
.bx-chips button.is-empty b { background: var(--slate); }
.bx-avail { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.bx-avail button { border: 1px solid var(--night); background: #fff; border-radius: 8px; padding: 5px 10px; font: 700 13px var(--label); letter-spacing: .06em; cursor: pointer; }
.bx-avail button[aria-pressed="true"] { background: var(--night); color: var(--yel); }
/* lineups */
.bx-lineups { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bx-five { display: grid; grid-template-columns: 34px minmax(0, 1.2fr) auto; grid-template-areas: 'n who main' 'n more more'; gap: 12px 16px; align-items: center; background: #fff; border-radius: 16px; padding: 14px 16px; box-shadow: 0 1px 0 var(--line); border-left: 6px solid var(--night); }
.bx-five.is-top { border-left-color: var(--yel); }
.bx-five__n { grid-area: n; font: 400 24px var(--display); color: var(--slate); }
.bx-five__who { grid-area: who; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bx-five__who li { display: grid; justify-items: center; gap: 3px; min-width: 52px; }
.bx-five__who b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--gr); color: #fff; font: 800 17px var(--label); }
.bx-five__who span { font-size: 12px; color: var(--muted); max-width: 64px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bx-five dl { margin: 0; display: grid; }
.bx-five__main { grid-area: main; grid-template-columns: repeat(4, minmax(56px, auto)); gap: 4px 14px; }
.bx-five__main > div { display: grid; justify-items: center; }
.bx-five__main dt { font: 800 12px var(--label); letter-spacing: .1em; color: var(--muted); }
.bx-five__main dd { margin: 0; font: 400 28px/1.05 var(--display); color: var(--night); }
.bx-five__main .is-pos dd { color: var(--gr); }
.bx-five__main .is-neg dd { color: #5d6384; }
.bx-five__more { grid-area: more; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 6px; padding-top: 10px; border-top: 1px dashed #e3e6ef; }
.bx-five__more > div { display: grid; background: var(--paper2); border-radius: 8px; padding: 5px 8px; }
.bx-five__more dt { font: 800 11px var(--label); letter-spacing: .08em; color: var(--muted); }
.bx-five__more dd { margin: 0; font: 700 15px var(--body); color: var(--ink); }
@media (max-width: 760px) {
  .bx-five { grid-template-columns: 28px minmax(0, 1fr); grid-template-areas: 'n who' 'main main' 'more more'; }
  .bx-five__main { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .bx-score { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); text-align: center; }
  .bx-team, .bx-team.is-away { flex-direction: column; text-align: center; order: 0; }
  .bx-score__n { order: 3; grid-column: 1 / -1; }
  .bx-score__n b { font-size: 64px; }
  .bx-per { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; }
  .bx-per button { min-width: 0; padding: 9px 4px; }
  .bx-per button:first-child { grid-column: 1 / -1; }
  .bx-table .bx-name { display: block; max-width: 112px; white-space: normal; line-height: 1.2; font-size: 14px; }
  .bx-table th, .bx-table td { padding: 9px 8px; }
  .bx-five__who { gap: 4px; flex-wrap: nowrap; }
  .bx-five__who li { min-width: 0; flex: 1; }
  .bx-five__who b { width: 38px; height: 38px; }
  .bx-five__who span { max-width: 52px; font-size: 11px; }
  .bx-five { padding: 12px; gap: 10px; }
  .bx-shotlab .bx-courtcard figcaption em { margin-left: 0; }
}
/* sortable headers */
.bx-sortbtn { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; padding: 2px 0; border-radius: 4px; }
.bx-sortbtn:focus-visible { outline: 2px solid var(--yel); outline-offset: 3px; }
.bx-sortbtn .arr { display: inline-block; min-width: 10px; font-size: 11px; color: var(--yel); }
.bx-table thead th.num .bx-sortbtn { justify-content: flex-end; }
.bx-table thead th.is-sorted { color: var(--yel); box-shadow: inset 0 -3px 0 var(--yel); }
.bx-table thead th:hover .bx-sortbtn .lab { text-decoration: underline; text-underline-offset: 3px; }
.bx-table td.is-sorted { background-color: rgba(11, 20, 48, .035); font-weight: 700; }
.bx-sorthint { margin: -8px 0 0; font-size: 14px; color: var(--muted); }
.bx-from { display: block; font-size: 11px; font-weight: 600; letter-spacing: .03em; color: var(--bx-slate, #8b93ad); text-transform: none; }
.bx-partial { border: 1px solid currentColor; padding: 1px 10px; border-radius: 999px; opacity: .9; }
.bx-incomplete { border-left: 3px solid var(--yel, #f6d935); padding-left: 10px; }

/* ---------- ¡EN JUEGO! ---------- */
.livebadge { display: none; align-items: center; gap: 7px; font: 800 13px/1 var(--label); letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--red); padding: 6px 10px 5px; border-radius: 999px; box-shadow: 0 0 0 0 rgba(199, 25, 27, .55); animation: livepulse 1.6s ease-out infinite; white-space: nowrap; width: max-content; }
.livebadge i { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: liveblink 1.2s steps(2, start) infinite; }
.is-live > .livebadge, .is-live .livebadge { display: inline-flex; }
.fx.is-live { position: relative; outline: 3px solid var(--red); outline-offset: -3px; background: #fff4f2; }
.fx.is-live .livebadge { margin-bottom: 6px; }
.previa.is-live { outline: 4px solid var(--red); outline-offset: -4px; }
.previa.is-live .previa__meta .livebadge { margin-right: 4px; }
.nextmatch__slide.is-live .countdown { display: none; }
.nextmatch__slide.is-live .nextmatch__head .livebadge { font-size: 15px; padding: 8px 12px 7px; }
.evitem.is-live { background: #fff4f2; box-shadow: inset 4px 0 0 var(--red); }
tr.is-live td { background: #fff4f2; }
tr.is-live .livebadge { margin-left: 8px; }
.calinfo .livebadge { margin-right: 6px; }
.calinfo.is-live { color: var(--red); font-weight: 700; }
@keyframes livepulse { 0% { box-shadow: 0 0 0 0 rgba(199, 25, 27, .55); } 70% { box-shadow: 0 0 0 10px rgba(199, 25, 27, 0); } 100% { box-shadow: 0 0 0 0 rgba(199, 25, 27, 0); } }
@keyframes liveblink { to { visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .livebadge, .livebadge i { animation: none; } }
.nextmatch__slide.is-live .nextmatch__head .eyebrow { display: none; }

/* ---------- Temporadas ---------- */
.seasonsel { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; font: 700 14px var(--label); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.teamhero .seasonsel { margin: 14px 0 0; color: rgba(255, 255, 255, .8); }
.seasonsel select { font: 600 16px var(--body, inherit); letter-spacing: 0; text-transform: none; padding: 8px 34px 8px 12px; border-radius: 8px; border: 2px solid var(--line, #d8dbe6); background: #fff; color: var(--ink); }
.seasonnote { background: #fff8d6; color: #4a3b00; border-bottom: 3px solid var(--yellow, #f6d935); padding: 12px 16px; text-align: center; font-weight: 600; }
.seasonnote a { color: inherit; text-decoration: underline; margin-left: 6px; }
.seasonnote.is-warn { background: #fde8e8; color: #7a1010; border-color: var(--red); }
.ac-span { margin: 0 0 8px; font: 700 15px var(--label); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ac-month h3 small { font-size: .7em; color: var(--muted); margin-left: 4px; }

/* ---------- Mis equipos (favoritos de este dispositivo) ---------- */
.myteams { padding-top: 46px; padding-bottom: 46px; }
.myteams .sectionhead { margin-bottom: 20px; }
.myteams__hint { color: var(--muted); font-size: 15px; margin: 0; max-width: 34ch; }
.mycards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); }
.mycard { background: var(--paper); border-radius: 10px; overflow: hidden; border-top: 6px solid var(--sc); box-shadow: 0 2px 0 var(--line); display: flex; flex-direction: column; min-width: 0; }
.mycard__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 18px 12px; }
.mycard__head a { text-decoration: none; color: inherit; min-width: 0; }
.mycard__sport { display: block; font: 800 12px var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--sc); }
.mycard__head h3 { font: 400 clamp(24px, 3vw, 30px)/1 var(--display); text-transform: uppercase; margin: 4px 0 0; padding-top: .1em; overflow-wrap: anywhere; }
.mycard__head h3 span { color: var(--sc); font-family: var(--body); font-size: .7em; }
.mycard__head a:hover h3, .mycard__head a:focus-visible h3 { color: var(--sc); }
.mycard__body { display: grid; gap: 14px; padding: 0 18px 18px; }
.mycard__body h4 { font: 800 13px var(--label); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.mycard__none { margin: 0; font-size: 15px; }
.mynexts { display: grid; gap: 10px; }
.mynexts.n2 { grid-template-columns: 1fr 1fr; }
.mynext { position: relative; background: #fff; border-radius: 8px; padding: 12px 14px; border-left: 5px solid var(--sc); min-width: 0; }
.mynext .livebadge { position: absolute; top: -10px; right: 10px; }
.mynext.is-live { outline: 3px solid var(--red); outline-offset: -3px; background: #fff4f2; }
.mynext p { margin: 0; }
.mynext__when { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 10px; font: 700 17px/1.2 var(--label); text-transform: uppercase; letter-spacing: .03em; }
.mynext__time { font: 400 34px/1 var(--display); color: var(--sc); }
.mynext__tbc { display: inline-block; font: 800 12px/1.2 var(--label); letter-spacing: .08em; text-transform: uppercase; color: #8a5a00; background: #fff3cf; padding: 4px 7px; border-radius: 4px; }
.mynext__vs { margin-top: 6px !important; font-size: 17px; overflow-wrap: anywhere; }
.mynext__vs b { font-weight: 800; }
.mynext__ha { font: 800 11px/1 var(--label); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--sc); padding: 4px 6px; border-radius: 3px; vertical-align: 2px; }
.mynext__place { display: flex; align-items: center; gap: 6px; margin-top: 6px !important; color: var(--muted); font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }
.mynext__place svg { width: 16px; height: 16px; flex: none; }
.mynext__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px !important; font-size: 13px; color: var(--muted); align-items: center; }
.mynext__meta .compchip, .mynext__meta .phasechip { font-size: 11px; padding: 2px 6px; }
.mynote { margin: 0 0 8px; font-size: 15px; padding: 8px 10px; background: #eef1ff; border-radius: 6px; }
.mynote.is-warn { background: #fff3cf; }
.myres { display: block; background: #fff; border-radius: 8px; padding: 10px 14px; text-decoration: none; color: inherit; border-left: 5px solid var(--sc); }
.myres__meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font: 700 13px var(--label); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.myres__v { font-style: normal; padding: 3px 7px; border-radius: 3px; color: #fff; background: #767b95; }
.myres__v.is-win { background: #1f7a3d; }
.myres__v.is-loss { background: #9c2a2a; }
.myres__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; font: 700 18px/1.25 var(--label); color: #5d6384; }
.myres__row span { overflow-wrap: anywhere; min-width: 0; }
.myres__row b { font: 400 30px/1.05 var(--display); color: #8a8fa8; }
.myres__row.is-us { color: var(--sc); font-weight: 800; }
.myres__row.is-us b { color: var(--sc); }
.myres:hover, .myres:focus-visible { box-shadow: 0 0 0 2px var(--sc); }
.followbtn { flex: none; font: 800 14px/1 var(--label); letter-spacing: .06em; text-transform: uppercase; padding: 9px 12px; border-radius: 999px; border: 2px solid var(--sc, var(--blue)); background: #fff; color: var(--sc, var(--blue)); cursor: pointer; white-space: nowrap; }
.followbtn.is-on { background: var(--sc, var(--blue)); color: #fff; }
.followbtn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.followrow { margin: 14px 0 4px; }
.teamhero__title { display: flex; align-items: center; gap: 14px 28px; flex-wrap: wrap; }
.teamhero__title h1 { min-width: 0; }
.teamhero .followbtn { display: inline-flex; align-items: center; gap: 8px; border: 0; background: var(--yellow); color: var(--ink); font-size: 16px; padding: 12px 18px 11px; box-shadow: 0 8px 22px -10px rgba(0, 0, 0, .6); }
.teamhero .followbtn.is-on { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 2px var(--yellow); }
.teamhero .followbtn:hover { filter: brightness(1.05); }
@media (max-width: 700px) {
  .teamhero__title { flex-direction: column; align-items: flex-start; gap: 0; }
  .teamhero__title .followbtn { order: 3; margin: 0 0 4px; }
  .teamhero .chips { margin-top: 14px; }
}
.followrow--light { margin: 0 0 14px; }
@media (max-width: 560px) { .mynexts.n2 { grid-template-columns: 1fr; } .mycard__head { flex-direction: column; } }

/* ---------- Últimos resultados, Horarios, Última jornada e historial ---------- */
:root { --st-rest: #2e7d32; --st-none: #6b7088; --st-post: #d9480f; --st-pend: #a56a00; --st-early: #2c3fd6; }
.sectionhead__note { margin: 0; color: var(--muted); max-width: 46ch; font-size: 15px; }
.wkcol h3 { margin-bottom: 14px; }
.wkteam { margin-bottom: 18px; }
.wkteam h4 { font: 800 15px/1.1 var(--label); letter-spacing: .1em; text-transform: uppercase; margin: 0 0 8px; }
.wkteam h4 a { color: var(--sc); text-decoration: none; }
.wkteam h4 a:hover { text-decoration: underline; }
.wkteam__cards { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
/* result card */
.rc { position: relative; display: flex; flex-direction: column; gap: 6px; background: #fff; border-radius: 10px; border-left: 6px solid var(--sc); padding: 12px 14px 12px; box-shadow: 0 2px 0 var(--line), 0 10px 24px -18px rgba(7, 11, 36, .5); min-width: 0; overflow: hidden; }
.band--white .rc { background: #fbfaf6; }
.rc__meta { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; margin: 0; font: 700 12px/1.2 var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.rc__meta .compchip, .rc__meta .phasechip { font-size: 10px; padding: 2px 6px; }
.rc__day.is-weekday { color: #fff; background: var(--navy); padding: 3px 6px; border-radius: 3px; }
.rc__teams { display: grid; gap: 2px; }
.rc__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rc__name { font: 700 18px/1.15 var(--label); color: #5d6384; overflow-wrap: anywhere; min-width: 0; }
.rc__score { font: 400 36px/1 var(--display); color: #9a9fb5; min-width: 48px; text-align: right; font-variant-numeric: tabular-nums; }
.rc__row.is-us .rc__name { color: var(--sc); font-weight: 800; }
.rc__row.is-us .rc__score { color: var(--sc); }
.rc__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 2px 0 0; }
.rc__foot small { color: var(--muted); font-size: 13px; line-height: 1.3; }
.rc__v { font: 800 12px/1 var(--label); letter-spacing: .1em; text-transform: uppercase; padding: 5px 8px 4px; border-radius: 3px; color: #fff; background: #767b95; }
.rc.is-win .rc__v { background: #1f7a3d; }
.rc.is-loss .rc__v { background: #9c2a2a; }
.rc__msg { margin: 0; font-size: 14px; color: #3b4059; }
.rc__team { font: 800 13px var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--sc); text-decoration: none; }
/* tags */
.tag { display: inline-block; align-self: flex-start; font: 800 11px/1.15 var(--label); letter-spacing: .1em; text-transform: uppercase; padding: 5px 8px 4px; border-radius: 3px; background: #eceef4; color: #3b4059; }
.tag--recovered { background: var(--st-post); color: #fff; }
.tag--early { background: var(--st-early); color: #fff; }
.tag--pending { background: #fff1c7; color: var(--st-pend); box-shadow: inset 0 0 0 2px #f0d27a; }
.tag--postponed { background: #fde6dc; color: var(--st-post); box-shadow: inset 0 0 0 2px var(--st-post); }
/* seals (stamps): Descansa green, Sin jornada grey, Aplazado orange-red */
.seal { display: inline-block; align-self: flex-start; font: 400 24px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; padding: 7px 14px 5px; border: 3px solid currentColor; border-radius: 6px; transform: rotate(-6deg); outline: 2px solid currentColor; outline-offset: 2px; background: rgba(255, 255, 255, .7); }
.seal--sm { font-size: 15px; padding: 4px 8px 3px; border-width: 2px; outline-width: 1px; transform: rotate(-4deg); }
.seal--rest { color: var(--st-rest); background: #ecf7ec; }
.seal--none { color: var(--st-none); background: #f1f2f6; border-style: dashed; outline-style: dashed; }
.seal--postponed { color: var(--st-post); }
.rc--state { align-items: flex-start; justify-content: center; min-height: 128px; }
.rc--state .seal { margin: 4px 0 6px 4px; }
.rc--rest { border-left-color: var(--st-rest); background: #f4fbf3 !important; }
.rc--none { border-left: 6px dashed #b9bdcc; background: #f6f6f8 !important; box-shadow: none; }
.rc--none .rc__msg { color: var(--muted); }
/* postponed: darkened card, names readable, big diagonal stamp */
.rc--postponed { background: #e9e7e1 !important; border-left-color: var(--st-post); }
.rc--postponed::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(11, 16, 51, .045) 0 10px, transparent 10px 20px); pointer-events: none; }
.rc--postponed .rc__name { color: #4a4f68; }
.rc--postponed .rc__row.is-us .rc__name { color: color-mix(in srgb, var(--sc) 80%, #333); }
.rc--postponed .seal--postponed, .hc--postponed .seal--postponed { position: absolute; right: 12px; top: 44%; transform: translateY(-50%) rotate(-14deg); font-size: 34px; padding: 8px 14px 6px; border-width: 4px; background: rgba(255, 244, 236, .82); box-shadow: 0 6px 16px -10px rgba(0, 0, 0, .5); opacity: .93; pointer-events: none; }
.rc--postponed .rc__msg { position: relative; color: #2b2f45; }
.rc--postponed .rc__msg b { color: var(--st-post); text-transform: uppercase; font: 800 13px var(--label); letter-spacing: .08em; }
.rc--pending .rc__score { color: #c3c6d3; }
/* xl: team page, last week */
.rc.xl { padding: 18px 20px 16px; gap: 10px; border-left-width: 8px; }
.rc.xl .rc__meta { font-size: 14px; }
.rc.xl .rc__name { font-size: 26px; }
.rc.xl .rc__score { font-size: 64px; min-width: 80px; }
.rc.xl .rc__v { font-size: 14px; padding: 7px 10px 6px; }
.rc.xl.rc--state { min-height: 210px; }
.rc.xl .seal { font-size: 40px; }
.rc.xl.rc--postponed .seal--postponed { font-size: 52px; right: 22px; }
.rc.xl .rc__msg { font-size: 16px; }
.lastweek { background: linear-gradient(180deg, var(--navy) 0%, #121a4d 100%); color: #fff; padding: 38px 0 44px; position: relative; }
.lastweek::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--red) 0 33%, var(--yellow) 33% 66%, var(--blue-2) 66%); }
.lastweek__head { margin-bottom: 18px; }
.lastweek__head .eyebrow { color: var(--yellow); }
.lastweek__head h2 { font: 400 clamp(36px, 5vw, 60px)/.95 var(--display); text-transform: uppercase; margin: 4px 0 0; padding-top: .1em; }
.lastweek__cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.lastweek__cards.n1 { grid-template-columns: minmax(0, 560px); }
/* Horarios: day by day */
.hday { margin-bottom: 22px; }
.hday h3 { display: flex; align-items: center; gap: 10px; font: 400 clamp(24px, 3vw, 32px)/1 var(--display); text-transform: uppercase; margin: 0 0 12px; padding: 8px 0 6px 12px; border-left: 6px solid var(--red); }
.hday h3 b { font-weight: 400; color: var(--navy); }
.hday h3 em { font: 800 12px var(--label); letter-spacing: .12em; font-style: normal; background: var(--red); color: #fff; padding: 4px 8px; border-radius: 3px; }
.hday.is-past h3 { border-left-color: #b9bdcc; opacity: .7; }
.hday__cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.hc { position: relative; display: flex; gap: 14px; background: #fff; border-radius: 10px; border-left: 6px solid var(--sc); padding: 14px 16px; box-shadow: 0 2px 0 var(--line); overflow: hidden; min-width: 0; }
.hc .livebadge { position: absolute; top: 8px; right: 8px; }
.hc.is-live { outline: 3px solid var(--red); outline-offset: -3px; background: #fff4f2; }
.hc__time { flex: none; width: 74px; font: 400 32px/1 var(--display); color: var(--sc); padding-top: 2px; }
.hc__time small { display: block; font: 800 11px/1.2 var(--label); letter-spacing: .08em; text-transform: uppercase; color: var(--st-pend); }
.hc__time.is-off { color: #9a9fb5; text-decoration: line-through; }
.hc__body { min-width: 0; display: grid; gap: 4px; align-content: start; }
.hc__body p { margin: 0; }
.hc__team { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font: 800 13px var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hc__team a { color: var(--sc); text-decoration: none; }
.hc__team .compchip { font-size: 10px; padding: 2px 6px; }
.hc__vs { font: 700 18px/1.2 var(--label); color: var(--ink); overflow-wrap: anywhere; }
.hc__vs i { font-style: normal; color: var(--muted); font-size: 14px; }
.hc__ha { font: 800 11px/1 var(--label); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--sc); padding: 4px 6px; border-radius: 3px; vertical-align: 2px; }
.hc__place { display: flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; font-size: 14px; }
.hc__place svg { width: 15px; height: 15px; flex: none; }
.hc__sub { font-size: 13px; color: var(--muted); }
.hc__done { justify-self: start; font: 800 12px var(--label); letter-spacing: .1em; text-transform: uppercase; background: var(--navy); color: #fff; padding: 4px 8px; border-radius: 3px; }
.hc.is-done { opacity: .78; }
.hc--postponed { background: #e9e7e1; border-left-color: var(--st-post); }
.hc--postponed::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(11, 16, 51, .045) 0 10px, transparent 10px 20px); pointer-events: none; }
.hc--postponed .hc__body { position: relative; }
.hc--postponed .hc__msg { font-size: 14px; color: #2b2f45; padding-right: 8px; }
.hc--postponed .hc__msg b { color: var(--st-post); font: 800 13px var(--label); letter-spacing: .08em; text-transform: uppercase; }
.hc--postponed .seal--postponed { top: 40%; font-size: 30px; }
.hrest { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 8px 0 0; font-weight: 700; }
.hrest a { color: var(--st-rest); }
/* team history */
.hist__month { font: 400 clamp(28px, 4vw, 40px)/1 var(--display); text-transform: uppercase; margin: 34px 0 6px; padding-top: .1em; border-bottom: 4px solid var(--navy); padding-bottom: 6px; }
.hist__month:first-child { margin-top: 8px; }
.hist__week { font: 800 13px var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin: 18px 0 8px; }
.hist__row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 4px 14px; background: #fff; border-radius: 8px; padding: 10px 14px; margin-bottom: 8px; border-left: 5px solid var(--sc); }
.hist__row > .tag, .hist__row > .hist__info, .hist__row > .hist__note { grid-column: 2 / 4; justify-self: start; }
.hc__body > .tag { justify-self: start; }
.hist__date { display: grid; justify-items: center; font: 800 11px var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); grid-row: span 3; align-self: start; }
.hist__date b { font: 400 28px/1 var(--display); color: var(--ink); }
.hist__match { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font: 700 17px/1.2 var(--label); color: #5d6384; }
.hist__match .is-us { color: var(--sc); font-weight: 800; }
.hist__match i { font-style: normal; color: var(--muted); }
.hist__score { font: 400 24px/1 var(--display); color: var(--ink); }
.hist__v { font: 800 12px var(--label); width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #767b95; }
.hist__row.is-win .hist__v { background: #1f7a3d; }
.hist__row.is-loss .hist__v { background: #9c2a2a; }
.hist__info { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font: 700 12px var(--label); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hist__info .compchip { font-size: 10px; padding: 2px 6px; }
.hist__note { color: var(--muted); font-size: 13px; }
.hist__row.is-postponed { background: #eeece6; border-left-color: var(--st-post); }
@media (max-width: 560px) {
  .rc.xl .rc__score { font-size: 52px; min-width: 64px; }
  .rc.xl .rc__name { font-size: 22px; }
  .rc--postponed .seal--postponed { font-size: 28px; right: 8px; }
  .rc.xl.rc--postponed .seal--postponed { font-size: 40px; }
  .hc__time { width: 62px; font-size: 28px; }
}

/* postponed: the stamp sits behind the text, so the names and the message stay readable */
.rc--postponed > *:not(.seal), .hc--postponed .hc__body, .hc--postponed .hc__time { position: relative; z-index: 2; }
.rc--postponed .seal--postponed, .hc--postponed .seal--postponed { z-index: 1; }
.rc--postponed .rc__name, .hc--postponed .hc__vs, .hc--postponed .hc__team { text-shadow: 0 0 4px #e9e7e1, 0 0 2px #e9e7e1, 0 0 1px #e9e7e1; }
.rc--postponed .rc__msg, .hc--postponed .hc__msg { justify-self: start; align-self: flex-start; background: rgba(255, 255, 255, .9); padding: 5px 9px; border-radius: 5px; box-shadow: 0 1px 0 rgba(0, 0, 0, .08); }

.hc--postponed .hc__post { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; margin-top: 6px; }
.hc--postponed .hc__post .seal--postponed { position: static; transform: rotate(-8deg); font-size: 28px; padding: 6px 12px 4px; margin-right: 4px; }
.hc--postponed .hc__time.is-off { text-decoration: none; }

/* ---------- v2: marcador deportivo, tarjetas pulsables e historial a lo ancho ---------- */
a.rc, a.hc, a.mynext, a.myres, a.hist__row { text-decoration: none; color: inherit; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease; }
a.rc:hover, a.hc:hover, a.hist__row:hover, a.mynext:hover { transform: translateY(-2px); box-shadow: 0 2px 0 var(--line), 0 16px 30px -18px rgba(7, 11, 36, .55); }
a.rc:focus-visible, a.hc:focus-visible, a.hist__row:focus-visible, a.mynext:focus-visible, a.myres:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.is-selected { outline: 4px solid var(--yellow) !important; outline-offset: 2px; box-shadow: 0 0 0 8px rgba(246, 217, 53, .25) !important; }
/* the scoreboard: name and points of each team on one line, BOSCOS in the sport colour */
.sb { display: grid; gap: 0; }
.sb__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 5px 0; }
.sb__row + .sb__row { border-top: 1px solid rgba(13, 18, 48, .1); }
.sb__name { font: 800 20px/1.1 var(--label); text-transform: uppercase; letter-spacing: .02em; color: #2f3550; overflow-wrap: anywhere; min-width: 0; }
.sb__pts { flex: none; font: 400 30px/1 var(--display); color: #2f3550; min-width: 44px; text-align: right; font-variant-numeric: tabular-nums; }
.sb__row.is-us .sb__name, .sb__row.is-us .sb__pts { color: var(--sc); }
.rc--pending .sb__pts { color: #c3c6d3; }
.rc--postponed .sb__name { color: #3b4059; }
.rc--postponed .sb__row.is-us .sb__name { color: color-mix(in srgb, var(--sc) 85%, #222); }
.rc--postponed .sb__row + .sb__row { border-top-color: rgba(13, 18, 48, .08); }
.rc__note { font-size: 13px; line-height: 1.35; color: var(--muted); }
.go { font: 800 11px/1 var(--label); letter-spacing: .1em; text-transform: uppercase; padding: 5px 8px 4px; border-radius: 3px; }
.go--stats { color: var(--sc); box-shadow: inset 0 0 0 2px var(--sc); }
.go--stats::after { content: ' →'; }
.go--pending { color: var(--muted); box-shadow: inset 0 0 0 1px #c3c6d3; }
/* xl: Última jornada */
.rc.xl .sb__row { padding: 10px 0; gap: 18px; }
.rc.xl .sb__name { font-size: clamp(24px, 2.6vw, 34px); }
.rc.xl .sb__pts { font-size: clamp(40px, 4vw, 54px); min-width: 72px; }
.rc.xl .rc__meta { font-size: 13px; }
.lastweek { position: relative; background: linear-gradient(160deg, var(--navy) 0%, #121a4d 100%); color: #fff; padding: 26px 26px 30px; border-radius: 14px; margin: 0 0 40px; overflow: hidden; }
.lastweek::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--red) 0 33%, var(--yellow) 33% 66%, var(--blue-2) 66%); }
.lastweek .rc { background: #fff !important; }
.lastweek .rc--postponed { background: #e9e7e1 !important; }
.lastweek .rc--rest { background: #f4fbf3 !important; }
.lastweek .rc--none { background: #f6f6f8 !important; }
.lastweek__cards, .lastweek__cards.n1 { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); }
.lastweek__cards.n1 { grid-template-columns: minmax(0, 620px); }
.hist__title { margin-top: 8px; }
/* history: date · local · score · visitante */
.hist__row { display: grid; grid-template-columns: 64px minmax(0, 1fr) 30px minmax(0, 1fr) 34px; grid-template-areas: 'date home sep away v' 'date info info info info'; align-items: center; gap: 4px 14px; padding: 12px 16px; }
.hist__date { grid-area: date; grid-row: auto; }
.hist__home { grid-area: home; display: flex; align-items: center; justify-content: flex-end; gap: 14px; min-width: 0; }
.hist__away { grid-area: away; display: flex; align-items: center; gap: 14px; min-width: 0; }
.hist__away .hist__pts { order: -1; }
.hist__name { font: 800 19px/1.15 var(--label); text-transform: uppercase; letter-spacing: .02em; color: #2f3550; overflow-wrap: anywhere; min-width: 0; }
.hist__home .hist__name { text-align: right; }
.hist__pts { flex: none; font: 400 30px/1 var(--display); color: #2f3550; min-width: 40px; font-variant-numeric: tabular-nums; }
.hist__home .hist__pts { text-align: right; }
.is-us .hist__name, .is-us .hist__pts { color: var(--sc); }
.hist__sep { grid-area: sep; text-align: center; font: 400 24px/1 var(--display); color: #9a9fb5; }
.hist__row.is-postponed .hist__sep { font: 800 13px var(--label); text-transform: uppercase; }
.hist__row.is-postponed .hist__pts { color: #9a9fb5; }
.hist__v { grid-area: v; justify-self: end; }
.hist__v.is-post { background: var(--st-post); }
.hist__info { grid-area: info; }
.hist__info > span:not(.tag):not(.go):not(.compchip) { font: 700 12px var(--label); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hist__info .hist__note { text-transform: none !important; letter-spacing: 0 !important; font: 500 13px var(--body) !important; }
.hist__row > .tag, .hist__row > .hist__note { grid-column: auto; }
/* week navigation (Horarios / Resultados pages) */
.weeknav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; background: #fff; border-radius: 10px; padding: 10px 14px; margin: 0 0 8px; box-shadow: 0 2px 0 var(--line); }
.weeknav b { font: 400 clamp(18px, 2.4vw, 26px)/1.1 var(--display); text-transform: uppercase; text-align: center; flex: 1 1 260px; }
.weeknav a { font: 800 13px var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--red); text-decoration: none; padding: 8px 10px; border-radius: 6px; }
.weeknav a:hover { background: #fdf0f0; }
.weeknav__now { margin: 0 0 18px; text-align: center; }
.weeknav__now a { font: 800 13px var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.sectionhead__side { display: grid; gap: 6px; justify-items: end; }
.sectionhead h2 a { color: inherit; }
/* Horarios cards: teams as a small scoreboard */
.hc__tname { color: var(--sc); }
.hc__vs { display: grid; gap: 4px; }
.hc__vs .hc__ha { justify-self: start; }
.hc .sb__row { padding: 2px 0; }
.hc .sb__name { font-size: 18px; color: var(--ink); }
.hc .sb__row.is-us .sb__name { color: var(--sc); }
.hc .sb__row + .sb__row { border-top: 0; }
/* Mis equipos */
a.mynext { display: block; }
.myress { display: grid; gap: 10px; }
.myres .tag, .myres .go { margin-top: 6px; display: inline-block; }
@media (max-width: 640px) {
  .hist__row { grid-template-columns: 48px minmax(0, 1fr) 30px; grid-template-areas: 'date home v' 'date away v' 'date info info'; gap: 4px 12px; padding: 10px 12px; }
  .hist__home, .hist__away { justify-content: space-between; }
  .hist__home .hist__name { text-align: left; }
  .hist__away .hist__pts { order: 0; }
  .hist__pts { text-align: right; font-size: 26px; }
  .hist__name { font-size: 17px; }
  .hist__sep { display: none; }
  .hist__v { align-self: center; }
  .lastweek { padding: 20px 14px 24px; margin-left: -4px; margin-right: -4px; }
  .rc.xl .sb__name { font-size: 22px; }
  .rc.xl .sb__pts { font-size: 40px; min-width: 56px; }
}

/* ---------- v3: historial con el mismo marcador que «Última jornada», a la izquierda y compacto ---------- */
.hist__row { max-width: 640px; grid-template-columns: 62px minmax(0, 1fr) 36px; grid-template-areas: 'date home v' 'date away v' 'date info info'; gap: 0 16px; padding: 14px 18px 12px; border-radius: 10px; }
.hist__home, .hist__away { justify-content: space-between; gap: 16px; padding: 6px 0; }
.hist__home { border-bottom: 1px solid rgba(13, 18, 48, .1); }
.hist__home .hist__name { text-align: left; }
.hist__away .hist__pts { order: 0; }
.hist__name { font: 800 24px/1.1 var(--label); letter-spacing: .02em; color: #2f3550; }
.hist__pts { font: 400 38px/1 var(--display); text-align: right; min-width: 52px; color: #2f3550; }
.hist__sep { display: none; }
.hist__date { align-self: center; }
.hist__date b { font-size: 32px; }
.hist__v { align-self: center; width: 32px; height: 32px; font-size: 13px; }
.hist__info { margin-top: 8px; }
.hist__row.is-postponed .hist__pts { font-size: 26px; }
@media (max-width: 640px) {
  .hist__row { grid-template-columns: 46px minmax(0, 1fr) 30px; gap: 0 12px; padding: 12px 12px 10px; }
  .hist__name { font-size: 21px; }
  .hist__pts { font-size: 34px; min-width: 46px; }
  .hist__date b { font-size: 26px; }
  .hist__v { width: 28px; height: 28px; }
}

/* team lists: two diagonal bars (crest stripes) instead of numbers; more room for long names */
.teamlist { --tc: var(--red); }
.teamlist--basket { --tc: var(--basket); }
.teamlist--futsal { --tc: var(--futsal); }
.teamlist--multi, .is-multi-page .teamlist { --tc: var(--multi); }
.teamrow { grid-template-columns: 24px minmax(0, 1fr) auto; gap: 12px; }
.teamrow b { overflow-wrap: anywhere; }
.teamrow__mark { display: flex; align-items: center; gap: 4px; height: 30px; padding-left: 3px; }
.teamrow__mark i { display: block; width: 5px; height: 26px; background: var(--tc); transform: skewX(-24deg); border-radius: 1px; }
.teamrow:hover .teamrow__mark i { height: 30px; transition: height .15s; }

/* ---------- Comparativa: local izquierda, visitante derecha; BOSCOS granate en su lado ---------- */
.bx-vs__head span { display: grid; gap: 2px; }
.bx-vs__head span:last-child { text-align: right; }
.bx-vs__head small { font: 700 11px var(--label); letter-spacing: .14em; color: var(--muted); }
.bx-vs__head .is-us { color: var(--gr); }
.bx-vs__head .is-them { color: #3b4059; }
.bx-vs__row > b.is-us { color: var(--gr); }
.bx-vs__row > b.is-them { color: #3b4059; }
.bx-vs__row .bar.l { justify-content: flex-end; }
.bx-vs__row .bar.r { justify-content: flex-start; }
.bx-vs__row .bar.is-us i { background: linear-gradient(90deg, var(--gr2), var(--gr)); }
.bx-vs__row .bar.l.is-us i { background: linear-gradient(270deg, var(--gr2), var(--gr)); }
.bx-vs__row .bar.is-them i { background: var(--slate); }
.bx-shot__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bx-shot__pair .bx-meter:last-child span { justify-content: flex-end; }
.bx-meter span { flex-wrap: wrap; }
.bx-meter .who { flex-basis: 100%; font: 800 11px var(--label); letter-spacing: .1em; text-transform: uppercase; }
.bx-meter.is-us b, .bx-meter.is-us .who { color: var(--gr); }
.bx-meter.is-us u { background: var(--gr); }
.bx-meter.is-them b { color: #3b4059; }
.bx-meter.is-them u { background: var(--slate); }
.bx-shot__pair .bx-meter:last-child .who { text-align: right; }
/* Mapas dibujados por la web: media pista de BOSCOS, canasta arriba */
.bx-courtframe.is-drawn { background: #f4f1e9; padding: 10px; box-shadow: inset 0 0 0 2px rgba(246, 217, 53, .5); }
.bx-half { display: block; width: 100%; max-width: 560px; height: auto; margin: 0 auto; }
.bx-half .floor { fill: #f4f1e9; }
.bx-half .cl rect, .bx-half .cl path, .bx-half .cl line, .bx-half .cl circle { fill: none; stroke: #0b1033; stroke-width: 3; }
.bx-half .cl .board { stroke-width: 5; }
.bx-half .cl .rim { stroke: #0b1033; stroke-width: 3; fill: #f6d935; }
.bx-half .made { fill: #8a1538; stroke: #fff; stroke-width: 2; }
.bx-half .miss { fill: #fff; stroke: #8a1538; stroke-width: 3.5; }
.bx-half .dense { fill: rgba(138, 21, 56, .07); stroke: #8a1538; stroke-width: 2; stroke-dasharray: 7 6; }
.bx-half .zone rect { stroke: #fff; stroke-width: 2; }
.bx-half .pct { font: 800 26px var(--label, sans-serif); fill: #0b1033; }
.bx-half .pct.on-dark { fill: #fff; }
.bx-half .pct.is-small { font-size: 20px; }
.bx-half .nodata-bg { fill: #ebe9ef; }
.bx-half .nodata-ln { stroke: #d1cdd9; stroke-width: 3; }
.bx-maplegend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 10px 6px 2px; color: #0b1033; font: 700 14px var(--label); letter-spacing: .06em; text-transform: uppercase; }
.bx-maplegend b { font: 400 20px var(--display); margin-left: 4px; }
.bx-maplegend p { flex-basis: 100%; margin: 0; font: 500 13px/1.4 var(--body); text-transform: none; letter-spacing: 0; color: #5b6182; }
.bx-maplegend .dot { display: inline-block; width: 16px; height: 16px; border-radius: 50%; vertical-align: -3px; margin-right: 6px; }
.bx-maplegend .dot.made { background: #8a1538; }
.bx-maplegend .dot.miss { border: 3px solid #8a1538; background: #fff; }
.bx-maplegend .dot.none { border-radius: 3px; background: repeating-linear-gradient(45deg, #ebe9ef 0 4px, #d1cdd9 4px 6px); }
.bx-maplegend .scale { display: inline-flex; align-items: center; gap: 6px; }
.bx-maplegend .scale i { width: 90px; height: 12px; border-radius: 999px; background: linear-gradient(90deg, rgb(226, 232, 244), rgb(138, 21, 56)); }
.bx-maplegend .scale b { font: 700 14px var(--label); }
/* the match picker never wider than the screen, whatever the rival's name */
.bx-pick { min-width: 0; max-width: 100%; }
.bx-pick select, .bx-pick .select { width: 100%; max-width: 100%; min-width: 0; text-overflow: ellipsis; }
.bx > * { min-width: 0; }
/* Tiro: only the two team maps, the switch above the court */
.bx-shotlab.is-team { display: grid; grid-template-columns: minmax(0, 760px); gap: 14px; justify-content: start; }
.bx-mapswitch { justify-self: start; }
.bx-mapswitch button.is-empty { opacity: .55; }

/* ---------- Portada · jornada: Mis equipos + «Horarios | Últimos resultados» ---------- */
.jornada { padding-top: 40px; overflow-x: clip; }
.jmine { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-bottom: 22px; }
.jmine__head .eyebrow { margin-bottom: 2px; }
.jmine__head h2 { font: 400 clamp(30px, 4.4vw, 46px)/.92 var(--display); text-transform: uppercase; padding-top: .14em; }
.jmine__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.jchip { display: flex; align-items: stretch; background: #fff; border: 2px solid var(--sc); border-radius: 999px; overflow: hidden; box-shadow: 0 2px 0 var(--line); max-width: 100%; }
.jchip a { display: flex; flex-direction: column; justify-content: center; gap: 1px; padding: 7px 6px 7px 16px; text-decoration: none; line-height: 1.05; min-width: 0; }
.jchip small { font: 700 10px/1 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--sc); }
.jchip b { font: 800 16px/1.05 var(--label); letter-spacing: .04em; text-transform: uppercase; color: var(--navy); }
.jchip__next { font-size: 12px; color: var(--muted); }
.jchip a:hover b { text-decoration: underline; }
.jchip__x { flex: none; border: 0; background: var(--sc); color: var(--yellow); font-size: 18px; width: 40px; cursor: pointer; }
.jchip__x:hover { filter: brightness(1.15); }
.jchip__x:focus-visible { outline: 3px solid var(--yellow); outline-offset: -3px; }
.jmine__hint { flex-basis: 100%; margin: 0; color: var(--muted); font-size: 14px; }
/* the two lists share one place; the tabs stay under the header while scrolling (phone and computer) */
.jtabs { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); gap: 8px; position: sticky; top: 81px; z-index: 30; margin: 0 0 18px; padding: 10px 0; background: var(--paper); box-shadow: 0 10px 14px -14px rgba(7, 11, 36, .55); }
.jtabs::before { content: ""; position: absolute; inset: 0 calc(50% - 50vw); background: var(--paper); z-index: -1; box-shadow: inherit; }
.jtabs button { font: 800 18px/1 var(--label); letter-spacing: .08em; text-transform: uppercase; padding: 15px 10px 13px; border-radius: 10px; border: 2px solid var(--navy); background: #fff; color: var(--navy); cursor: pointer; transition: background .15s; }
.jtabs button:hover { background: #fff8d6; }
.jtabs button[aria-selected="true"] { background: var(--navy); color: #fff; box-shadow: inset 0 -4px 0 var(--yellow); }
.jornada[data-tab="horarios"] [data-panel="resultados"], .jornada[data-tab="resultados"] [data-panel="horarios"] { display: none; }
.jfilter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.jfilter button { font: 800 14px/1 var(--label); letter-spacing: .08em; text-transform: uppercase; padding: 10px 16px; border-radius: 999px; border: 2px solid var(--navy); background: #fff; color: var(--navy); cursor: pointer; }
.jfilter button.is-basket { border-color: var(--basket); color: var(--basket); }
.jfilter button.is-futsal { border-color: var(--futsal); color: var(--futsal); }
.jfilter button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.jfilter button.is-basket[aria-pressed="true"] { background: var(--basket); border-color: var(--basket); }
.jfilter button.is-futsal[aria-pressed="true"] { background: var(--futsal); border-color: var(--futsal); }
.jfilter button:focus-visible, .jtabs button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.jpanel__head { margin-bottom: 18px; align-items: center; gap: 6px 22px; justify-content: flex-start; }
.jpanel__head h2 { display: none; }
.jpanel__head .eyebrow { font-size: 15px; margin: 0; }
.jpanel__head .sectionhead__side { display: contents; }
.jpanel__head .morelink { padding: 8px 0; font-size: 14px; margin-left: auto; }
.jempty { margin: 0 0 16px; padding: 18px 20px; background: #fff; border-radius: 10px; border-left: 6px solid var(--st-none); font: 700 18px/1.25 var(--label); color: var(--navy); }
.jempty.is-wait { border-left-color: var(--st-pend); }
/* the teams side by side, as many as fit (one sport: the whole width) */
.sportcols.is-one { grid-template-columns: 1fr; }
.jornada .wkcol { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 0 16px; align-content: start; }
.jornada .wkcol > h3 { grid-column: 1 / -1; }
.jornada .wkteam__cards { grid-template-columns: 1fr; }
.jornada .jpanel__head .sectionhead__note { display: none; }
@media (max-width: 900px) {
  .jornada { padding-top: 26px; }
  .jmine { margin-bottom: 14px; }
  .jtabs { grid-template-columns: 1fr 1fr; gap: 6px; top: 69px; margin: 0 -16px 14px; padding: 8px 16px; }
  .jtabs::before { content: none; }
  .jtabs button { font-size: 16px; padding: 14px 8px 12px; }
  .jpanel__head { margin-bottom: 14px; gap: 6px 16px; }
  .jpanel__head .eyebrow { font-size: 14px; flex-basis: 100%; }
  .jpanel__head .morelink { margin-left: 0; }
  .jfilter { margin-bottom: 16px; }
  .jfilter button { flex: 1; padding: 10px 8px; font-size: 13px; }
}

/* ---------- Añadir a mi calendario y Compartir ---------- */
.calbtn, .sharebtn { display: inline-flex; align-items: center; gap: 8px; font: 800 14px/1 var(--label); letter-spacing: .06em; text-transform: uppercase; padding: 10px 14px; border-radius: 999px; border: 2px solid currentColor; background: transparent; color: var(--blue); cursor: pointer; white-space: nowrap; text-decoration: none; }
.calbtn:hover, .sharebtn:hover { background: rgba(23, 33, 144, .08); }
.calbtn:focus-visible, .sharebtn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.teamhero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 6px; }
.teamhero .calbtn, .teamhero .sharebtn { color: #fff; border-color: rgba(255, 255, 255, .55); }
.teamhero .calbtn:hover, .teamhero .sharebtn:hover { background: rgba(255, 255, 255, .12); }
.jmine .calbtn { margin-top: 4px; }
.sharebtn--sm { padding: 7px 10px; font-size: 12px; border-width: 1.5px; }
.sharerow { display: flex; justify-content: flex-end; margin: -6px 0 14px; }
.popsheet { position: fixed; inset: 0; z-index: 1000; background: rgba(7, 11, 36, .55); display: flex; align-items: center; justify-content: center; padding: 16px; animation: popfade .15s ease-out; }
.popsheet__card { background: #fff; color: var(--ink); width: min(100%, 460px); max-height: calc(100vh - 32px); overflow: auto; border-radius: 18px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .55); }
.popsheet__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 20px 6px; }
.popsheet__head h2 { margin: 0; font: 400 24px/1.05 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.popsheet__x { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--paper); font-size: 24px; line-height: 1; cursor: pointer; color: var(--ink); }
.popsheet__body { padding: 6px 20px 20px; }
.popsheet__lead { margin: 6px 0 14px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.popsheet__lead b { color: var(--ink); }
.popsheet__note { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.popsheet__opts { display: grid; gap: 8px; }
.popopt { display: flex; flex-direction: column; gap: 2px; text-align: left; width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; cursor: pointer; font: inherit; }
.popopt b { font: 800 17px/1.1 var(--label); letter-spacing: .04em; text-transform: uppercase; }
.popopt small { color: var(--muted); font-size: 13px; }
.popopt:hover, .popopt:focus-visible { border-color: var(--blue); outline: none; background: #f7f8ff; }
.popopt--wa b { color: #128c4a; }
@keyframes popfade { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 640px) {
  .popsheet { align-items: flex-end; padding: 0; }
  .popsheet__card { width: 100%; border-radius: 18px 18px 0 0; max-height: 88vh; padding-bottom: env(safe-area-inset-bottom); }
}
.sharerow--dark .sharebtn { color: #fff; border-color: rgba(255, 255, 255, .55); }
.sharerow--dark .sharebtn:hover { background: rgba(255, 255, 255, .12); }

/* ---------- Cabecera del equipo: el color de su deporte y el escudo ---------- */
.teamhero { background: var(--sc, var(--navy)); }
.teamhero::before { background: linear-gradient(90deg, var(--navy) 30%, rgba(11, 16, 51, .4)); background: linear-gradient(90deg, var(--sc, var(--navy)) 30%, color-mix(in srgb, var(--sc, var(--navy)) 45%, transparent)); }
.teamhero.is-multi::before { background: linear-gradient(90deg, var(--navy) 30%, rgba(11, 16, 51, .4)); }
.teamhero__title { position: relative; }
.teamhero__crest { height: clamp(58px, 7.4vw, 92px); width: auto; flex: none; align-self: center; margin-bottom: 4px; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .35)); }
.teamhero__title { margin-top: 10px; }
@media (max-width: 700px) { .teamhero__title { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 14px; } .teamhero__title .followbtn { grid-column: 1 / -1; } .teamhero__crest { height: 56px; } }

/* ---------- Transición del club: cortina a pantalla completa con el escudo ---------- */
.fxscreen { position: fixed; inset: 0; z-index: 9999; pointer-events: none; overflow: hidden; }
.fxscreen__curtain { position: absolute; top: -20%; bottom: -20%; left: -110vw; width: 270vw; transform: translateX(0) skewX(-14deg);
  background: linear-gradient(90deg, transparent 0 9%, #2c3fd6 9% 12%, #f6d935 12% 15%, #c7191b 15% 18%, #0b1033 18% 100%);
  animation: fxCurtain .85s linear both; }
/* the stripes and the crest stay a moment on screen (≈ 0.3 s), then the curtain uncovers the page */
@keyframes fxCurtain { 0%, 36% { transform: translateX(0) skewX(-14deg); animation-timing-function: cubic-bezier(.25, .55, .45, 1); } 100% { transform: translateX(240vw) skewX(-14deg); } }
.fxscreen__crest { position: absolute; left: 50%; top: 50%; width: clamp(90px, 18vw, 150px); height: auto; transform: translate(-50%, -50%); filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .45)); animation: fxCrestOut .85s ease-out both; }
@keyframes fxCrestOut { 0%, 38% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 56%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(.86); } }
@media (prefers-reduced-motion: reduce) { .fxscreen { display: none; } }

/* ---------- Aviso de cambio de hora o pista ---------- */
.chg { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; margin-top: 4px; padding: 4px 9px 4px 8px; border-radius: 6px; background: #fff3c4; border-left: 4px solid #e0a800; color: #5a4300; font: 600 13px/1.3 var(--body, inherit); }
.chg b { font: 800 12px/1.3 var(--label); letter-spacing: .06em; text-transform: uppercase; color: #3d2d00; }
.hc__body .chg { align-self: flex-start; }
.previa__chg { margin: 0; padding: 0 22px 14px; text-align: center; background: color-mix(in srgb, var(--sc) 8%, #fff); }
.nextmatch__when .chg { margin-top: 6px; text-align: left; }
.hc__day { display: block; margin-bottom: 4px; font: 800 11px/1.2 var(--label); letter-spacing: .08em; text-transform: uppercase; color: var(--ink) !important; }

.hc__place { flex-wrap: wrap; }

/* ---------- Acta · Titulares: el quinteto inicial sobre media pista ---------- */
.bx-start__court { position: relative; }
.bx-start__court .bx-half { display: block; width: 100%; height: auto; }
.bx-start__list { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.bx-start__p { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 6px; width: clamp(84px, 22%, 150px); text-align: center; }
.bx-start__ph { position: relative; flex: none; --s: clamp(56px, 13vw, 96px); width: var(--s); height: var(--s); border-radius: 50%; overflow: visible; background: var(--night3, #24326b); box-shadow: 0 0 0 3px var(--yel, #f6d935), 0 10px 22px -10px rgba(0, 0, 0, .8); }
.bx-start__ph img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.bx-start__sil { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 50% 38%, rgba(255, 255, 255, .35) 0 18%, transparent 19%), radial-gradient(ellipse at 50% 100%, rgba(255, 255, 255, .3) 0 40%, transparent 41%); }
.bx-start__n { position: absolute; right: -6px; bottom: -4px; min-width: 30px; height: 30px; padding: 0 6px; display: grid; place-items: center; border-radius: 8px; background: var(--gr, #8a1538); color: #fff; font: 400 18px/1 var(--display); box-shadow: 0 0 0 2px #fff; }
.bx-start__name { padding: 3px 8px 2px; border-radius: 5px; background: rgba(11, 16, 51, .9); font: 800 clamp(12px, 1.6vw, 15px)/1.15 var(--label); letter-spacing: .03em; text-transform: uppercase; color: #fff; }
.bx-start__name small { display: block; font-weight: 600; text-transform: none; color: var(--yel, #f6d935); font-size: 11px; }
.bx-start__hint { margin: 0; padding: 0 6px 4px; font-size: 13px; color: #aeb6d6; }
.bx-start .bx-note { margin: 0; padding: 0 6px; color: #f6d935; }

/* ---------- Próximo partido · «La última vez que nos enfrentamos» / «En la ida» ---------- */
.previa__last { padding: 0 22px 18px; background: color-mix(in srgb, var(--sc) 8%, #fff); }
.lastmeet { display: grid; gap: 8px; max-width: 420px; margin: 0 auto; padding: 12px 14px; border-radius: 10px; background: #fff; border-left: 6px solid var(--sc); box-shadow: 0 2px 0 var(--line), 0 10px 24px -18px rgba(7, 11, 36, .5); color: var(--ink); text-decoration: none; text-align: left; }
.lastmeet:hover { box-shadow: 0 2px 0 var(--line), 0 14px 28px -16px rgba(7, 11, 36, .55); }
.lastmeet:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.lastmeet__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 10px; }
.lastmeet__head b { font: 800 13px/1.2 var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--sc); }
.lastmeet__head span { font: 700 12px var(--label); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.lastmeet__foot { display: flex; gap: 8px; align-items: center; }
.lastmeet.is-win .rc__v { background: #1f7a3d; }
.lastmeet.is-loss .rc__v { background: #9c2a2a; }
.lastmeet .go:not(.go--stats) { color: var(--sc); box-shadow: inset 0 0 0 1px currentColor; }
.lastmeet .go:not(.go--stats)::after { content: ' →'; }

/* ---------- Plantilla: rueda en el móvil, MVP de la última jornada y cumpleaños ---------- */
.player.is-mvp { box-shadow: 0 0 0 5px #d9b23a, 0 0 0 8px rgba(217, 178, 58, .28), 0 12px 26px -12px rgba(0, 0, 0, .55); }
.player__mvp { position: absolute; top: 0; right: 0; z-index: 2; padding: 5px 8px 5px 11px; border-bottom-left-radius: 10px; background: linear-gradient(135deg, #f8e08a, #d9b23a 55%, #b38b1d); color: #2b1f00; font: 800 11px/1 var(--label); letter-spacing: .16em; box-shadow: -2px 3px 10px -4px rgba(0, 0, 0, .5); }
.player__bday { display: inline-flex; align-items: center; gap: 6px; margin: 8px 0 2px; padding: 6px 11px 5px 8px; border-radius: 6px; background: #8a1538; color: #fff; font: 800 13px/1 var(--label); letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 0 0 1.5px rgba(246, 217, 53, .6), 0 6px 14px -6px rgba(0, 0, 0, .6); }
.player__bday svg { width: 17px; height: 17px; flex: none; }
.player__confetti { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.roster.is-wheel { display: block; position: relative; width: 100vw; margin-left: calc(50% - 50vw); height: calc(min(56vw, 300px) * 4 / 3 + 24px); overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.roster.is-wheel > .player { position: absolute; left: 50%; top: 12px; width: min(56vw, 300px); transform-origin: 50% 60%; transition: transform .38s cubic-bezier(.2, .75, .25, 1), filter .38s, opacity .3s; will-change: transform; -webkit-user-drag: none; }
.roster.is-wheel > .player img { pointer-events: none; }
.roster.is-wheel.is-dragging > .player { transition: none; }
.rwheel__nav { display: flex; justify-content: center; margin: 12px 0 4px; }
.rwheel__count { font: 800 13px var(--label); letter-spacing: .14em; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .roster.is-wheel > .player { transition: none; } }

/* ---------- Clasificación de fútbol sala: puntos resaltados y «Últimos» en color ---------- */
.standings--futsal .pts { font-weight: 800; background: rgba(27, 42, 78, .06); }
.standings--futsal th.pts { color: var(--ink); }
.standings .last { white-space: nowrap; }
.lastres { display: inline-flex; gap: 3px; }
.lastres b { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 4px; font: 800 11px/1 var(--label); color: #fff; }
.lastres__G { background: #1f9d4a; }
.lastres__E { background: #e0b400; color: #1f1a00 !important; }
.lastres__P { background: #d23a3a; }
.standings__legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 8px 2px 0; font-size: 13px; color: var(--muted); }
.standings__legend b { color: var(--ink); margin-right: 2px; }

/* ===== Tablas: columnas fijas, encabezado a la vista y abreviaturas explicadas ===== */
.st-wrap table.standings { border-collapse: separate; border-spacing: 0; }
.standings .st-pos { position: sticky; left: 0; z-index: 1; background: #fff; width: 46px; min-width: 46px; max-width: 46px; padding-left: 8px; padding-right: 8px; }
.standings .st-team { position: sticky; left: 46px; z-index: 1; background: #fff; min-width: 180px; transition: box-shadow .15s; }
.st-wrap.is-scrolled .standings .st-team, .sticky-head .standings .st-team { box-shadow: 8px 0 10px -10px rgba(11, 20, 48, .45); }
.standings thead .st-pos, .standings thead .st-team { background: var(--navy); z-index: 2; }
table.data.standings tr.is-boscos td { background: #fff7cf; }
/* Fase de ascenso: the federation's green stripe, on the left of the position */
:root { --zone-up: #16a34a; }
table.data.standings tr.zone-ascenso td.st-pos { box-shadow: inset 5px 0 0 var(--zone-up); }
.standings__zones { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 2px 0; font-size: 13px; color: var(--muted); }
.zone-key::before { content: ''; display: inline-block; width: 5px; height: 14px; margin-right: 7px; vertical-align: -2px; border-radius: 1px; }
.zone-key--ascenso::before { background: var(--zone-up); }
.standings__tip { margin: 8px 2px 0; font-size: 13px; color: var(--muted); }
.colhelp-btn { font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; background: none; border: 0; padding: 2px 0; margin: 0; cursor: help; text-decoration: underline dotted rgba(255, 255, 255, .55); text-underline-offset: 4px; }
.colhelp-btn:focus-visible { outline: 2px solid var(--yel, #f6d935); outline-offset: 2px; border-radius: 2px; }
.colhelp { position: fixed; z-index: 60; max-width: min(320px, calc(100vw - 16px)); background: #0b1033; color: #fff; padding: 10px 13px; border-radius: 10px; font: 500 14px/1.4 var(--body); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .55); text-transform: none; letter-spacing: 0; }
.colhelp b { font: 800 14px var(--label); letter-spacing: .06em; color: #f6d935; }
.colhelp::before { content: ''; position: absolute; top: -6px; left: calc(var(--arrow, 50%) - 6px); border: 6px solid transparent; border-top: 0; border-bottom-color: #0b1033; }
.colhelp.is-above::before { top: auto; bottom: -6px; border: 6px solid transparent; border-bottom: 0; border-top-color: #0b1033; }
.colhelp[hidden] { display: none; }
/* the header copy that stays under the club's bar while the page goes down */
.sticky-head { position: fixed; z-index: 40; pointer-events: auto; box-shadow: 0 8px 14px -12px rgba(11, 20, 48, .6); }
.sticky-head[hidden] { display: none; }
.sticky-head__inner { overflow: hidden; }
.sticky-head table { table-layout: fixed; margin: 0; }
.sticky-head .bx-table thead th, .sticky-head table.data th { box-sizing: border-box; }
@media (max-width: 640px) {
  .standings .st-team { min-width: 0; width: 40vw; max-width: 40vw; white-space: normal; line-height: 1.25; font-size: 14px; }
  .standings .st-pos { width: 38px; min-width: 38px; max-width: 38px; }
  .standings .st-team { left: 38px; }
  table.data.standings td, table.data.standings th { padding-left: 8px; padding-right: 8px; }
}

/* ===== ¡EN JUEGO!: the card under the lights — two soft, still halos in the top corners, in the
   colour of the sport, like the spotlights of a pabellón (behind the text: it stays legible) ===== */
.hc.is-live, .fx.is-live, .mynext.is-live, .previa.is-live, .nextmatch__slide.is-live {
  --spot: color-mix(in srgb, var(--sc, #172190) 30%, transparent);
  --spot-soft: color-mix(in srgb, var(--sc, #172190) 10%, transparent);
  background-image:
    radial-gradient(ellipse 46% 130% at 0 0, var(--spot), var(--spot-soft) 38%, transparent 66%),
    radial-gradient(ellipse 46% 130% at 100% 0, var(--spot), var(--spot-soft) 38%, transparent 66%);
  background-repeat: no-repeat;
}
.nextmatch__slide.is-live { background-color: transparent; }

/* ===== Horarios · «Semana | Hoy en Boscos» ===== */
.hview { display: inline-flex; gap: 4px; padding: 4px; margin: 0 0 18px; background: #fff; border-radius: 999px; box-shadow: 0 2px 0 var(--line); }
.hview a { font: 800 14px var(--label); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--navy); padding: 9px 16px; border-radius: 999px; }
.hview a[aria-current] { background: var(--navy); color: #fff; }
.hview a:focus-visible { outline: 3px solid var(--yel, #f6d935); outline-offset: 2px; }
/* the board: like the scoreboard of a pabellón, in night blue */
.board { --board: #0b1033; --board2: #141b4d; --led: #ffd23f; background: var(--board); color: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 50px -30px rgba(7, 11, 36, .8); }
.board__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 22px 24px 18px; background: linear-gradient(180deg, #121a52, var(--board)); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.board__kicker { margin: 0 0 4px; font: 800 12px var(--label); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.board__head h2 { margin: 0; font: 400 clamp(30px, 5vw, 46px)/.95 var(--display); text-transform: uppercase; color: #fff; padding-top: .1em; }
.board__date { display: grid; justify-items: center; margin: 0; padding: 8px 14px 6px; border: 1px solid rgba(255, 210, 63, .45); border-radius: 10px; background: #050822; color: var(--led); font: 800 12px var(--label); letter-spacing: .14em; text-transform: uppercase; min-width: 92px; text-shadow: 0 0 10px rgba(255, 210, 63, .45); }
.board__date b { font: 400 40px/1 var(--display); letter-spacing: .02em; padding-top: .08em; }
.board__list { list-style: none; margin: 0; padding: 6px 0; }
.board__row a { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; grid-template-areas: 'time teams court' 'time teams state'; align-items: center; gap: 2px 16px; padding: 14px 24px 14px 20px; color: #fff; text-decoration: none; border-left: 4px solid var(--sc); }
.board__row + .board__row a, .board__now + .board__row a { border-top: 1px solid rgba(255, 255, 255, .08); }
.board__row a:hover, .board__row a:focus-visible { background: var(--board2); outline: none; }
.board__time { grid-area: time; font: 400 34px/1 var(--display); color: var(--led); font-variant-numeric: tabular-nums; letter-spacing: .02em; text-shadow: 0 0 12px rgba(255, 210, 63, .35); padding-top: .08em; }
.board__time small { font: 700 12px/1.2 var(--label); letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .7); text-shadow: none; }
.board__teams { grid-area: teams; display: grid; gap: 3px; min-width: 0; }
.board__team { font: 800 16px/1.2 var(--body); color: #fff; }
.board__team small { font: 700 11px var(--label); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .55); margin-left: 6px; }
.board__vs { font-size: 15px; color: rgba(255, 255, 255, .82); overflow-wrap: anywhere; }
.board__vs b { color: #fff; }
.board__court { grid-area: court; justify-self: end; font: 800 12px var(--label); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); padding: 6px 10px 5px; border-radius: 999px; white-space: nowrap; }
.board__done { grid-area: state; justify-self: end; font: 800 12px var(--label); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .65); }
.board__row .livebadge { grid-area: state; justify-self: end; }
.board__row.is-live a { background: linear-gradient(90deg, rgba(199, 25, 27, .22), transparent 70%); }
/* «Ahora»: a thin line between the matches already started and the next ones */
.board__now { position: relative; display: flex; align-items: center; gap: 10px; padding: 2px 24px 2px 20px; color: #ff6b5e; font: 800 11px var(--label); letter-spacing: .16em; text-transform: uppercase; }
.board__now::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, #ff6b5e, rgba(255, 107, 94, .15)); }
.board__now time { order: 3; font-variant-numeric: tabular-nums; letter-spacing: .06em; color: rgba(255, 255, 255, .6); }
.board__empty { margin: 0; padding: 28px 24px; font-size: 17px; color: rgba(255, 255, 255, .85); }
.board__empty a { color: var(--led); font-weight: 700; }
.board__nav { display: flex; justify-content: space-between; gap: 10px; padding: 12px 24px 16px; border-top: 1px solid rgba(255, 255, 255, .08); }
.board__nav a { color: #fff; font: 800 13px var(--label); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; opacity: .85; }
.board__nav a:hover, .board__nav a:focus-visible { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 640px) {
  .board__head { padding: 18px 16px 14px; }
  .board__row a { grid-template-columns: 64px minmax(0, 1fr); grid-template-areas: 'time teams' 'time court' 'time state'; padding: 12px 16px 12px 12px; gap: 4px 12px; }
  .board__court, .board__done, .board__row .livebadge { justify-self: start; }
  .board__time { font-size: 28px; }
  .board__now { padding: 2px 16px 2px 12px; }
  .board__nav { padding: 12px 16px 14px; }
}

/* ===== Titulares: the empty half court first, then the five of BOSCOS walk on, almost together ===== */
@keyframes bx-start-in {
  from { opacity: 0; transform: translate(-50%, -38%) scale(.72); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.bx-start__p { animation: bx-start-in .34s cubic-bezier(.2, .9, .25, 1.15) both; animation-delay: calc(.24s + var(--i, 0) * 40ms); }
@media (prefers-reduced-motion: reduce) { .bx-start__p { animation: none; } }
.rostertitle { margin: 0 0 18px; font: 400 clamp(28px, 4vw, 40px)/1 var(--display); text-transform: uppercase; color: var(--navy); padding-top: .12em; }
.rostertitle small { font: 800 14px var(--label); letter-spacing: .1em; color: var(--muted); vertical-align: 6px; margin-left: 6px; }

/* a figure that could not be read: «—», lighter than the figures */
.standings td.is-unread { color: var(--muted); }

/* ===== Titulares: the cards on the half court (the court and the cards share one box) ===== */
.bx-start__court { width: 100%; max-width: 560px; justify-self: center; margin-left: auto; margin-right: auto; }
.bx-name.is-nameless { color: var(--slate, #8b93ad); font-variant-numeric: tabular-nums; }

/* ===== «Hoy en Boscos» from the portada ===== */
.jpanel__links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
.morelink--today { white-space: nowrap; }
.todaybar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; background: #0b1033; color: #fff; text-decoration: none; box-shadow: 0 10px 24px -18px rgba(7, 11, 36, .8); }
.todaybar__k { font: 400 22px/1 var(--display); text-transform: uppercase; color: #ffd23f; padding-top: .1em; }
.todaybar__t { font: 600 15px/1.3 var(--body); color: rgba(255, 255, 255, .9); flex: 1; min-width: 12em; }
.todaybar__go { font: 800 20px var(--label); color: #ffd23f; }
.todaybar:hover .todaybar__t, .todaybar:focus-visible .todaybar__t { text-decoration: underline; text-underline-offset: 3px; }
.todaybar:focus-visible { outline: 3px solid #ffd23f; outline-offset: 2px; }

/* ---------- Páginas del club y del pie: cada una con la composición de su contenido ---------- */
.is-editor-preview .previewbar { display: none; }
.pagehero img.bg { object-position: var(--x, 50%) var(--y, 50%); }
@media (max-width: 700px) { .pagehero img.bg { object-position: var(--mx, 50%) var(--my, 50%); } }
img.framed { object-fit: cover; object-position: var(--x, 50%) var(--y, 50%); }
@media (max-width: 700px) { img.framed { object-position: var(--mx, 50%) var(--my, 50%); } }
.pagewide { display: block; }
.prose--center { max-width: 70ch; margin: 0 auto 34px; text-align: center; }
.pfig { margin: 0 0 30px; }
.pfig img { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 8px; background: var(--paper-2); }
.pfig--wide img { aspect-ratio: 21 / 9; }
@media (max-width: 700px) { .pfig img, .pfig--wide img { aspect-ratio: 4 / 3; } }
.pfig figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.morenav { margin-top: 56px; padding-top: 18px; border-top: 2px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: baseline; }
.morenav h4 { font: 800 13px var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 6px 0 0; }
.morenav a { font: 400 22px/1.3 var(--display); text-transform: uppercase; text-decoration: none; }
.morenav a[aria-current="page"] { color: var(--red); }

/* Patrocinadores: los logos mandan, con un tamaño visual parecido aunque tengan formas distintas */
.logowall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 18px; }
.logowall li > a, .logowall li > div { display: grid; grid-template-rows: 170px 1fr; height: 100%; background: #fff; border-radius: 10px; text-decoration: none; color: var(--ink); box-shadow: 0 2px 0 var(--line), 0 14px 28px -24px rgba(7, 11, 36, .5); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.logowall li > a:hover { transform: translateY(-3px); box-shadow: 0 2px 0 var(--red), 0 20px 34px -22px rgba(7, 11, 36, .55); }
.logowall__img { display: grid; place-items: center; height: 100%; padding: 18px; min-height: 0; }
.logowall__img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.logowall__word { font: 400 30px/1 var(--display); text-transform: uppercase; text-align: center; color: var(--navy); }
.logowall__cap { display: grid; gap: 2px; padding: 12px 16px 14px; border-top: 1px solid var(--line); font: 700 15px/1.2 var(--label); letter-spacing: .06em; text-transform: uppercase; }
.logowall__cap small { font: 500 13px var(--body); letter-spacing: 0; text-transform: none; color: var(--muted); overflow-wrap: anywhere; }
@media (max-width: 560px) { .logowall { grid-template-columns: 1fr 1fr; gap: 12px; } .logowall li > a, .logowall li > div { grid-template-rows: 120px 1fr; } .logowall__img { padding: 12px; } .logowall__cap small { display: none; } }
.sponsorcta { margin-top: 46px; display: flex; flex-wrap: wrap; gap: 18px 30px; align-items: center; justify-content: space-between; background: var(--navy); color: #fff; border-radius: 10px; padding: 28px 30px; }
.sponsorcta h2 { font: 400 clamp(30px, 4vw, 44px)/1 var(--display); text-transform: uppercase; margin: 8px 0 6px; }
.sponsorcta p { margin: 0; color: rgba(255, 255, 255, .8); }
.sponsorcta .eyebrow { color: var(--yellow); }
.sponsorcta__btn { display: inline-flex; gap: 10px; align-items: center; background: var(--red); color: #fff; font: 800 17px var(--label); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; padding: 15px 22px; border-radius: 6px; min-height: 52px; }
.sponsorcta__btn svg { width: 22px; height: 22px; }

/* Contacto: los canales primero, grandes y fáciles de pulsar con el dedo */
.ctiles { list-style: none; margin: 0 0 36px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 14px; }
.ctile { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center; min-height: 92px; padding: 16px 20px; background: #fff; border-radius: 10px; text-decoration: none; color: var(--ink); box-shadow: 0 2px 0 var(--line); transition: transform .15s, box-shadow .15s; }
.ctile:hover, .ctile:focus-visible { transform: translateY(-2px); box-shadow: 0 2px 0 var(--red), 0 16px 28px -20px rgba(7, 11, 36, .5); }
.ctile__ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; }
.ctile__ico svg { width: 26px; height: 26px; fill: currentColor; }
.ctile__ico svg path[fill="none"], .ctile__ico svg [stroke] { fill: none; }
.ctile--mail .ctile__ico { background: var(--red); }
.ctile--map .ctile__ico { background: var(--blue); }
.ctile__txt { display: grid; gap: 3px; min-width: 0; }
.ctile__txt small { font: 800 13px var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ctile__txt b { font: 700 19px/1.25 var(--body); overflow-wrap: anywhere; }
.ctile > i { font-style: normal; font-size: 22px; color: var(--red); }
.ctiles li.is-wide { grid-column: 1 / -1; }
.ctile--mail { background: var(--navy); color: #fff; min-height: 110px; }
.ctile--mail .ctile__txt small { color: var(--yellow); }
.ctile--mail .ctile__txt b { font: 700 clamp(19px, 2.6vw, 30px)/1.2 var(--body); color: #fff; overflow-wrap: normal; word-break: normal; }
.ctile--mail > i { color: var(--yellow); }
.prose--contact { max-width: 70ch; }
.contactlegal { margin-top: 26px; color: var(--muted); font-size: 15px; }

/* Carta del presidente: una carta, cómoda de leer */
.letter { max-width: 70ch; margin: 0 auto; background: #fff; border-radius: 10px; padding: clamp(26px, 5vw, 60px); box-shadow: 0 2px 0 var(--line), 0 30px 50px -40px rgba(7, 11, 36, .5); position: relative; border-top: 6px solid var(--red); }
.letter__photo { float: right; width: min(42%, 220px); margin: 0 0 18px 26px; }
.letter__photo img { width: 100%; aspect-ratio: 1; border-radius: 50%; border: 6px solid var(--paper); }
.letter__photo figcaption { text-align: center; font-size: 14px; color: var(--muted); margin-top: 6px; }
.letter__hello { font: 700 21px/1.4 var(--body); margin: 0 0 18px; }
.letter__body { font-size: 19px; line-height: 1.75; max-width: none; }
.letter__body p:first-child::first-letter { float: left; font: 400 4.2em/.8 var(--display); color: var(--red); margin: .06em .1em 0 0; }
.letter__sign { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); }
.letter__sign p { margin: 0 0 4px; font-size: 18px; }
.letter__name { font: 400 26px/1.15 var(--display) !important; text-transform: uppercase; color: var(--navy); margin-top: 8px !important; }
@media (max-width: 600px) { .letter__photo { float: none; width: 160px; margin: 0 auto 20px; } .letter__body { font-size: 18px; } }

/* Junta directiva: una tarjeta por persona */
.jcards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.jcard { background: #fff; border-radius: 10px; padding: 20px 22px; display: grid; gap: 6px; box-shadow: 0 2px 0 var(--line); border-left: 5px solid var(--blue); }
.jcard.is-chair { border-left-color: var(--red); background: linear-gradient(135deg, #fff, #fff6d6); }
.jcard__role { font: 800 13px var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.jcard__name { font: 400 26px/1.05 var(--display); text-transform: uppercase; color: var(--navy); }
.jcard__detail { color: var(--muted); font-size: 15px; }
.jsub { margin: 34px 0 14px; }
.jcards--vocal .jcard { border-left-color: var(--yellow); }

/* Historia: los años como hitos de una línea de tiempo */
.prose--history h3.is-year { position: relative; padding-left: 26px; }
.prose--history h3.is-year::before { content: ''; position: absolute; left: 0; top: .3em; width: 14px; height: 14px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(199, 25, 27, .18); }
.prose--history h3.is-year span { color: var(--red); }

/* Instalaciones: las fotos explican el sitio */
.facgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; margin-bottom: 32px; }
.facgrid .pfig { margin: 0; }
.facgrid .pfig img { aspect-ratio: 4 / 3; }
.facgrid .pfig.is-big { grid-column: 1 / -1; }
.facgrid .pfig.is-big img { aspect-ratio: 21 / 9; }
.facgrid.is-one .pfig img { aspect-ratio: 21 / 9; }
@media (max-width: 700px) { .facgrid .pfig.is-big img, .facgrid.is-one .pfig img { aspect-ratio: 4 / 3; } }

/* Estatutos: el documento, fácil de encontrar y abrir */
.doccard { display: grid; grid-template-columns: 64px 1fr auto; gap: 20px; align-items: center; background: #fff; border-radius: 10px; padding: 22px 24px; box-shadow: 0 2px 0 var(--line), 0 20px 36px -30px rgba(7, 11, 36, .55); border-left: 6px solid var(--red); margin-bottom: 34px; }
.doccard__ico svg { width: 56px; height: 66px; color: var(--navy); }
.doccard__txt { display: grid; gap: 4px; }
.doccard__txt b { font: 400 28px/1.05 var(--display); text-transform: uppercase; }
.doccard__txt small { color: var(--muted); }
.doccard__act { display: flex; gap: 10px; flex-wrap: wrap; }
.doccard__act a { min-height: 48px; display: inline-flex; align-items: center; padding: 0 20px; border-radius: 6px; font: 800 16px var(--label); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border: 2px solid var(--navy); color: var(--navy); }
.doccard__act a.doccard__open { background: var(--red); border-color: var(--red); color: #fff; }
@media (max-width: 640px) { .doccard { grid-template-columns: 48px 1fr; } .doccard__act { grid-column: 1 / -1; } .doccard__act a { flex: 1; justify-content: center; } }

/* Pie: textos legales con su índice y ayuda con preguntas que se abren */
.legalsec { scroll-margin-top: 110px; }
.legalsec h2 { font: 400 clamp(26px, 3vw, 34px)/1 var(--display); text-transform: uppercase; margin: 34px 0 12px; padding-top: .1em; }
.legalsec:first-child h2 { margin-top: 0; }
.legalaside a { font-size: 19px !important; line-height: 1.35 !important; margin-bottom: 6px; }
.legalaside h4 + a { margin-top: 2px; }
.legalaside h4:not(:first-child) { margin-top: 22px; }
.faqs { display: grid; gap: 12px; }
.faq { background: #fff; border-radius: 10px; box-shadow: 0 2px 0 var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; position: relative; font: 700 19px/1.3 var(--body); min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font: 400 22px/1 var(--display); }
.faq[open] summary::after { content: '–'; background: var(--red); }
.faq .prose { padding: 0 20px 18px; }
/* on the dark phone menu, the brighter tones of the homepage chips */
@media (max-width: 900px) { .clubmenu__group a.is-basket::after { background: #c43a63; } .clubmenu__group a.is-multi::after { background: #6fb86a; } }

/* ---------- Historia, Estatutos, Instalaciones y páginas del pie ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* una página en preparación: lo dice con calma y propone adónde ir */
.soon { display: grid; grid-template-columns: 76px 1fr; gap: 22px; align-items: start; background: #fff; border-radius: 12px; padding: clamp(22px, 4vw, 36px); box-shadow: 0 2px 0 var(--line), 0 24px 40px -34px rgba(7, 11, 36, .5); position: relative; overflow: hidden; margin-bottom: 30px; }
.soon::after { content: ''; position: absolute; right: -40px; bottom: -50px; width: 210px; height: 250px; background: url(/img/escudo-escudo-400.png) center/contain no-repeat; opacity: .06; transform: rotate(-10deg); pointer-events: none; }
.soon__ico { width: 76px; height: 76px; border-radius: 50%; background: var(--navy); color: var(--yellow); display: grid; place-items: center; }
.soon__ico svg { width: 38px; height: 38px; }
.soon h2 { font: 400 clamp(30px, 4vw, 44px)/1 var(--display); text-transform: uppercase; margin: 8px 0 10px; padding-top: .1em; }
.soon p { margin: 0; max-width: 56ch; font-size: 18px; color: var(--muted); }
.soon__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.soon__links a { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 6px; border: 2px solid var(--navy); font: 800 15px var(--label); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--navy); }
.soon__links a:hover { background: var(--navy); color: #fff; }
.soon__links a i { font-style: normal; color: var(--red); }
@media (max-width: 560px) { .soon { grid-template-columns: 1fr; } .soon__ico { width: 60px; height: 60px; } .soon__ico svg { width: 30px; height: 30px; } }
/* el club hoy, contado con sus equipos */
.clubtoday { margin-top: 34px; background: var(--navy); color: #fff; border-radius: 12px; padding: 24px clamp(20px, 4vw, 34px); }
.clubtoday .eyebrow { color: var(--yellow); }
.clubtoday ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.clubtoday a { display: grid; gap: 4px; padding: 16px 18px; border-radius: 8px; background: rgba(255, 255, 255, .06); border-left: 5px solid var(--blue-2); color: #fff; text-decoration: none; }
.clubtoday a:hover { background: rgba(255, 255, 255, .12); }
.clubtoday .is-basket a { border-left-color: #c43a63; } .clubtoday .is-multi a { border-left-color: #6fb86a; }
.clubtoday b { font: 400 46px/1 var(--display); }
.clubtoday span { font: 700 15px var(--label); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
/* Historia: línea de tiempo */
.prose--lead { font-size: 20px; line-height: 1.6; margin-bottom: 26px; }
.timeline { list-style: none; margin: 10px 0 0; padding: 0 0 0 30px; position: relative; }
.timeline::before { content: ''; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 3px; background: linear-gradient(var(--red), var(--yellow), var(--blue-2)); border-radius: 2px; }
.tl { position: relative; padding: 0 0 28px 22px; }
.tl__year { position: absolute; left: -30px; top: 0; transform: translateX(0); background: var(--red); color: #fff; font: 400 18px/1 var(--display); padding: 6px 8px 5px; border-radius: 4px; box-shadow: 0 0 0 4px var(--paper); }
.tl.is-year { padding-top: 34px; }
.tl__dot { position: absolute; left: -26px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 4px var(--paper); }
.tl__body h3 { font: 400 clamp(24px, 3vw, 32px)/1.05 var(--display); text-transform: uppercase; margin: 0 0 8px; }
/* Instalaciones: dónde jugamos en casa */
.where { margin-top: 30px; background: #fff; border-radius: 12px; padding: clamp(22px, 4vw, 34px); box-shadow: 0 2px 0 var(--line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 26px; align-items: start; }
@media (max-width: 800px) { .where { grid-template-columns: 1fr; } }
.where__head h2 { font: 400 clamp(32px, 4vw, 46px)/1 var(--display); text-transform: uppercase; margin: 8px 0; }
.where__head p { margin: 0 0 16px; color: var(--muted); font-size: 17px; }
.where__map { display: inline-flex; gap: 10px; align-items: center; min-height: 50px; padding: 0 20px; background: var(--blue); color: #fff; border-radius: 6px; font: 800 16px var(--label); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.where__map svg { width: 22px; height: 22px; fill: none; stroke: currentColor; }
.where__map svg circle { fill: currentColor; stroke: none; }
.courts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 420px) { .courts { grid-template-columns: 1fr; } }
.court { display: grid; align-content: start; gap: 4px; padding: 16px 18px; border-radius: 8px; background: var(--paper); border-top: 6px solid var(--navy); }
.court b { font: 400 26px/1 var(--display); text-transform: uppercase; }
.court span { font-size: 15px; color: var(--muted); }
.court--roja { border-top-color: var(--red); } .court--negra { border-top-color: #111; } .court--mini { border-top-color: var(--yellow); } .court--pab { border-top-color: var(--blue-2); }
/* Estatutos aún sin PDF */
.doccard.is-soon { border-left-color: var(--yellow); background: repeating-linear-gradient(135deg, #fff 0 18px, #fbf9f3 18px 36px); }
.doccard.is-soon .doccard__ico { opacity: .55; }
/* Páginas del pie */
.legalmeta { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.legalmeta__ico { width: 54px; height: 54px; border-radius: 50%; background: var(--navy); color: var(--yellow); display: grid; place-items: center; flex: none; }
.legalmeta__ico svg { width: 28px; height: 28px; }
.legalmeta__date { font: 700 14px var(--label); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; }
.legalintro { font-size: 20px; line-height: 1.6; background: #fff; border-left: 5px solid var(--red); border-radius: 0 10px 10px 0; padding: 18px 24px; margin-bottom: 22px; max-width: none; }
.legalintro p { margin: 0; }
.legalsec { background: #fff; border-radius: 10px; padding: clamp(18px, 3vw, 28px) clamp(18px, 3vw, 30px); margin-bottom: 16px; box-shadow: 0 2px 0 var(--line); }
.legalsec h2 { display: flex; align-items: baseline; gap: 14px; margin: 0 0 12px !important; }
.legalsec__n { font: 400 .8em/1 var(--display); color: var(--red); }
.legalsec .prose { max-width: none; font-size: 17px; }
.legalsec .prose ul li::marker { color: var(--red); }
.kv { display: grid; gap: 0; margin: 10px 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.kv > div { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 14px; padding: 11px 14px; border-top: 1px solid var(--line); }
.kv > div:first-child { border-top: 0; }
.kv > div:nth-child(odd) { background: #faf8f2; }
.kv dt { font: 700 14px var(--label); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 560px) { .kv > div { grid-template-columns: 1fr; gap: 2px; } }
mark.pend { background: #fff1b8; color: #6b4a00; border-radius: 4px; padding: 1px 6px; font-weight: 600; }
.legaltoc { display: none; background: #fff; border-radius: 10px; margin-bottom: 16px; box-shadow: 0 2px 0 var(--line); }
.legaltoc summary { padding: 14px 18px; font: 800 15px var(--label); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; min-height: 48px; }
.legaltoc a { display: flex; gap: 10px; padding: 10px 18px; border-top: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.legaltoc a span, .legalaside a span { color: var(--red); font: 400 1em var(--display); margin-right: 8px; }
@media (max-width: 900px) { .legaltoc { display: block; } .legalaside h4:first-child, .legalaside h4:first-child ~ a[href^="#"] { display: none; } }
/* Ayuda: accesos rápidos, buscador y preguntas */
.quick { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 12px; }
.quick a { display: grid; gap: 3px; min-height: 76px; padding: 14px 16px; background: var(--navy); color: #fff; border-radius: 10px; text-decoration: none; border-bottom: 4px solid var(--red); }
.quick li:nth-child(2) a { border-bottom-color: var(--yellow); } .quick li:nth-child(3) a { border-bottom-color: var(--blue-2); }
.quick a:hover { transform: translateY(-2px); }
.quick b { font: 400 22px/1 var(--display); text-transform: uppercase; }
.quick small { color: rgba(255, 255, 255, .78); font-size: 14px; }
.faqsearch { display: flex; align-items: center; gap: 10px; background: #fff; border: 2px solid var(--navy); border-radius: 10px; padding: 0 14px; margin-bottom: 16px; min-height: 56px; }
.faqsearch svg { width: 24px; height: 24px; color: var(--red); flex: none; }
.faqsearch input { flex: 1; border: 0; outline: 0; font: 500 18px var(--body); background: none; min-height: 52px; }
.faqnone { margin-top: 14px; color: var(--muted); }
@media (max-width: 560px) { .quick li:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* ---------- Instalaciones: una tarjeta por pista, con la foto como protagonista ---------- */
.venue { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; background: var(--navy); color: #fff; border-radius: 12px; padding: 22px clamp(20px, 4vw, 32px); margin: 8px 0 34px; }
.venue .eyebrow { color: var(--yellow); }
.venue h2 { font: 400 clamp(30px, 4vw, 44px)/1 var(--display); text-transform: uppercase; margin: 8px 0 4px; padding-top: .1em; }
.venue p { margin: 0; color: rgba(255, 255, 255, .82); font-size: 17px; }
.venue__map { display: inline-flex; gap: 10px; align-items: center; min-height: 52px; padding: 0 22px; background: var(--red); color: #fff; border-radius: 6px; font: 800 16px var(--label); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.venue__map svg { width: 22px; height: 22px; fill: none; stroke: currentColor; }
.venue__map svg circle { fill: currentColor; stroke: none; }


/* ---------- Historia: hitos con foto ---------- */
.tl__ph { margin: 12px 0 0; max-width: 640px; }
.tl__ph img { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 8px; }
.tl__ph figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* ---------- Galería: álbumes y mosaico ---------- */
.galchips { display: flex; flex-wrap: wrap; gap: 8px; }
.galchip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--navy); background: #fff; font: 800 14px var(--label); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.galchip.is-on { background: var(--navy); color: #fff; }
.galfilters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.albums { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.album { --ac: #8a1538; display: block; text-decoration: none; color: var(--ink); background: #fff; border-radius: 12px; padding: 6px; box-shadow: 0 1px 0 var(--line), 0 20px 36px -30px rgba(7, 11, 36, .6); transition: transform .2s; }
.album--futsal { --ac: #1b2a4e; } .album--multi { --ac: #3d7a3a; }
.album:hover, .album:focus-visible { transform: translateY(-3px); }
.album__cover { position: relative; display: block; border-radius: 8px; overflow: hidden; }
.album__cover img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.album:hover .album__cover img { transform: scale(1.04); }
/* the club's corner in maroon */
.album__cover::before { content: ''; position: absolute; z-index: 1; top: 0; left: 0; border-style: solid; border-width: 46px 46px 0 0; border-color: #8a1538 transparent transparent transparent; }
.album__cover::after { content: ''; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--ac); }
.album__n { position: absolute; right: 10px; bottom: 12px; background: rgba(7, 11, 36, .78); color: #fff; font: 800 12px var(--label); letter-spacing: .1em; text-transform: uppercase; padding: 5px 9px; border-radius: 4px; }
.album__txt { display: grid; gap: 4px; padding: 14px 10px 10px; }
.album__txt b { font: 400 clamp(24px, 2.4vw, 29px)/1.02 var(--display); text-transform: uppercase; }
.album__txt small { color: var(--muted); font-size: 15px; }
.pagehero--album h1 { font-size: clamp(40px, 6vw, 84px); }
.galbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; }
.galbar .morelink { margin-right: auto; }
.mtile { position: relative; margin: 0; border-radius: 8px; overflow: hidden; background: var(--paper-2); }
.mtile__open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.mtile img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.mtile:hover img { transform: scale(1.03); }
.mtile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 9px; background: linear-gradient(to top, rgba(7, 11, 36, .8), transparent); color: #fff; font-size: 14px; pointer-events: none; }
.mtile .pick { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; display: grid; place-items: center; background: rgba(255, 255, 255, .88); border-radius: 6px; }
.mtile.is-sel { outline: 4px solid var(--red); outline-offset: -4px; }
.mlead .mtile { aspect-ratio: 16 / 9; max-height: 74vh; width: 100%; margin-bottom: 12px; }
.mlead .mtile.is-port { aspect-ratio: 4 / 3; }
.mosaic { display: flex; flex-wrap: wrap; gap: 12px; }
/* justified rows: each photo keeps its shape, the rows fill the width without holes */
.mosaic .mtile { --ar: 1.5; flex: var(--ar) 1 calc(var(--ar) * 230px); aspect-ratio: var(--ar); max-height: 70vh; }
.mosaic .is-port { --ar: .75; }
.mosaic .is-square { --ar: 1; }
/* an invisible slot the size of one photo: full rows fill the width, a lone last photo does not blow up */
.mosaic::after { content: ''; flex: 0 1 calc(1.5 * 230px); }
@media (max-width: 700px) {
  .mosaic { gap: 8px; }
  .mosaic .mtile { flex-basis: calc(var(--ar) * 150px); }
  .mlead .mtile, .mlead .mtile.is-port { aspect-ratio: 4 / 3; }
  .mtile img, .album__cover img { object-position: var(--mx, 50%) var(--my, 32%) !important; }
}

/* ---------- Instalaciones: el plano del recinto y las fichas (todas con la misma forma) ---------- */
.campus { margin: 36px 0 34px; }
.campus__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 6px 20px; margin-bottom: 14px; }
.campus__head .eyebrow { flex-basis: 100%; }
.campus__head h2 { margin: 0; font: 400 clamp(28px, 3.6vw, 42px)/.95 var(--display); text-transform: uppercase; color: var(--navy); }
.campus__name { margin: 0; min-height: 1.5em; font: 800 14px var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); transition: color .2s ease; }
.campus__name.is-on { color: var(--red); }
.campus__map { position: relative; border-radius: 18px; overflow: hidden; border: 6px solid var(--navy); box-shadow: 0 26px 46px -30px rgba(7, 11, 36, .75); background: #f2deb0; }
.campus__map::after { content: ''; position: absolute; left: 0; top: 0; border-style: solid; border-width: 44px 44px 0 0; border-color: #8a1538 transparent transparent transparent; pointer-events: none; }
.plan { display: block; width: 100%; height: auto; }
.plan__trees { fill: #86c057; stroke: #4e8a2e; stroke-width: 3; }
.plan__roof { font: 400 64px var(--display); letter-spacing: .12em; fill: rgba(255, 255, 255, .92); }
.plan__hl { fill: rgba(242, 194, 48, .14); stroke: #f2c230; stroke-width: 12; opacity: 0; transition: opacity .2s ease; pointer-events: none; }
.plan__court { transition: opacity .2s ease; }
.plan__court.is-link { cursor: pointer; outline: none; }
.plan__court.is-link:hover .plan__hl, .plan__court.is-link:focus-visible .plan__hl, .plan__court.is-on .plan__hl { opacity: 1; }
.plan:has(.plan__court.is-link:hover, .plan__court.is-on) .plan__court:not(:hover):not(.is-on) { opacity: .55; }
.faclist__h { margin: 0 0 16px; }
.facs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.fac { --fc: var(--blue-2); position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 12px; padding: 6px; box-shadow: 0 1px 0 var(--line), 0 18px 34px -28px rgba(7, 11, 36, .55); scroll-margin: 90px; transition: box-shadow .2s ease, transform .2s ease; }
.fac--basket { --fc: #a3214a; } .fac--futsal { --fc: #2f55d4; } .fac--multi { --fc: #1d7a46; }
.fac.is-on { transform: translateY(-3px); box-shadow: 0 0 0 3px #f2c230, 0 18px 34px -24px rgba(7, 11, 36, .6); }
.fac__fig { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: #f2deb0; }
.fac__fig::after { content: ''; position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 5px; background: var(--fc); pointer-events: none; }
.fac__open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.fac__open img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.04) contrast(1.02); transition: transform .35s ease; }
.fac__open:hover img, .fac__open:focus-visible img { transform: scale(1.03); }
.fac__art { display: block; width: 100%; height: 100%; background: #f2deb0; }
.fac__cap { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 46px 14px 15px; background: linear-gradient(to top, rgba(7, 11, 36, .92), rgba(7, 11, 36, .6) 60%, rgba(7, 11, 36, 0)); color: #fff; display: grid; gap: 3px; pointer-events: none; }
.fac__cap b { font: 400 clamp(19px, 1.9vw, 24px)/1.02 var(--display); text-transform: uppercase; text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.fac__sport { display: inline-flex; align-items: center; gap: 6px; font: 800 11px var(--label); letter-spacing: .14em; text-transform: uppercase; }
.fac__sport::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--fc); box-shadow: 0 0 0 2px #fff; }
.fac__txt { margin-top: 3px; font-size: 13.5px; line-height: 1.35; color: rgba(255, 255, 255, .86); }
.fac.is-flash { animation: facflash 1.6s ease; }
@keyframes facflash { 0%, 60% { box-shadow: 0 0 0 4px #f2c230, 0 18px 34px -24px rgba(7, 11, 36, .6); } 100% { box-shadow: 0 1px 0 var(--line), 0 18px 34px -28px rgba(7, 11, 36, .55); } }
@media (max-width: 1000px) { .facs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .campus__map { border-width: 4px; border-radius: 12px; }
  .campus__map::after { border-width: 28px 28px 0 0; }
  .facs { gap: 12px; }
  .fac { padding: 4px; }
  .fac__cap { padding: 34px 10px 10px; }
  .fac__cap b { font-size: 17px; }
  .fac__sport { font-size: 9.5px; letter-spacing: .1em; }
  .fac__txt { font-size: 11.5px; }
  .fac__fig { aspect-ratio: 1 / 1; }
}
@media (prefers-reduced-motion: reduce) { .fac.is-flash { animation: none; outline: 4px solid #f2c230; } .fac.is-on { transform: none; } }
