/* ==========================================================================
   FIDE World U7–U17 Championships 2026 · Web pública
   Identidad: menta y grafito del logotipo, azul del cielo del cartel,
   blanco porcelana de la mascota y el damero de su pecho.
   ========================================================================== */

@font-face { font-family: "Chakra Petch"; font-weight: 500; font-display: swap; src: url(../fonts/chakra-petch-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Chakra Petch"; font-weight: 600; font-display: swap; src: url(../fonts/chakra-petch-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Chakra Petch"; font-weight: 600; font-display: swap; src: url(../fonts/chakra-petch-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: "Chakra Petch"; font-weight: 700; font-display: swap; src: url(../fonts/chakra-petch-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Chakra Petch"; font-weight: 700; font-display: swap; src: url(../fonts/chakra-petch-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF; }

@font-face { font-family: "Source Sans 3"; font-weight: 400; font-display: swap; src: url(../fonts/source-sans-3-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-display: swap; src: url(../fonts/source-sans-3-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: italic; font-display: swap; src: url(../fonts/source-sans-3-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-display: swap; src: url(../fonts/source-sans-3-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 700; font-display: swap; src: url(../fonts/source-sans-3-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 700; font-display: swap; src: url(../fonts/source-sans-3-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF; }

/* FEDA results use the site's typography and mint / graphite palette. */
.lr-sources { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.lr-source { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 6px; color: var(--graphite-d); text-decoration: none; font-weight: 700; }
.lr-source:has(input:checked), .lr-source:hover { background: var(--mint-l); border-color: var(--mint-d); color: var(--mint-d); }
.lr-source { cursor: pointer; flex: 1 1 300px; }
.lr-source input { width: 19px; height: 19px; margin: 0; accent-color: var(--mint-d); flex-shrink: 0; }
.lr-tournaments { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
.lr-tournaments legend { font: 700 var(--step-2) var(--f-d); }
.lr-tournaments > p { color: var(--muted); margin: 6px 0 16px; }
.lr-tournament { margin: 32px 0 44px; }
.lr-app--js .lr-pages, .lr-app--js [data-results-page] > .lr-summary { display: none; }
.lr-app--js [data-results-page]:not(:first-child) .lr-footnote { display: none; }
.lr-summary--filtered { padding: 20px 0 0; }
.lr-filter-hint { color: var(--muted); font-size: .95rem; margin: 10px 0 0; }
.lr-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; }
.lr-heading h2 { font-size: var(--step-3); margin: 0; }
.lr-heading p { color: var(--muted); margin: 8px 0 0; }
.lr-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 20px; padding: 20px; border: 1px solid var(--line); background: var(--porcelain); border-radius: 8px; }
.lr-search { display: grid; gap: 6px; font-weight: 600; width: min(100%, 410px); }
.lr-search input, .lr-search select { width: 100%; min-width: 0; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 5px; background: white; font: inherit; font-weight: 400; color: var(--ink); }
.lr-filter { width: min(100%, 280px); }
.lr-connection:empty { display: none; }
.lr-connection { padding: 12px 16px; margin: 16px 0; background: #fff4df; color: #704900; border-left: 3px solid #b67814; }
.lr-meta { display: flex; gap: 18px; align-items: center; justify-content: space-between; margin: 24px 0; font-size: 1rem; }
.lr-meta > a { flex-shrink: 0; }
.lr-state { display: flex; gap: 10px; align-items: center; margin: 0; color: var(--mint-d); font-weight: 600; }
.lr-state small { display: block; color: var(--muted); font-size: .9rem; font-weight: 400; }
.lr-state__dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.lr-state--stale { color: #8b5a0b; }
.lr-summary { display: flex; flex-wrap: wrap; gap: 12px 28px; padding-bottom: 22px; color: var(--muted); }
.lr-summary strong { font: 700 1.5rem var(--f-d); color: var(--graphite-d); margin-right: 4px; }
.lr-pages { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 22px; }
.lr-pages [aria-current] { background: var(--mint); color: var(--graphite-xd); }
.lr-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.lr-group { min-width: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; box-shadow: var(--sh); }
.lr-group__head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; background: var(--graphite-d); color: white; padding: 18px 20px; border-top: 4px solid var(--mint); }
.lr-group__head h3 { color: white; font-size: 1.3rem; margin: 0; display: flex; align-items: center; gap: 10px; }
.lr-group__head h3 span { font-size: .9rem; padding: 4px 8px; border-radius: 4px; background: var(--mint); color: var(--graphite-xd); }
.lr-group__head > span { font-size: 1rem; }
.lr-notice { padding: 10px 16px; margin: 0; font-size: .9rem; color: var(--muted); background: var(--porcelain); border-bottom: 1px solid var(--line); }
.lr-table-scroll { overflow-x: auto; }
.lr-table { border-collapse: collapse; width: 100%; min-width: 470px; font-size: 1rem; line-height: 1.35; }
.lr-table th, .lr-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.lr-table thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; background: var(--porcelain); color: var(--muted); }
.lr-table th:first-child { width: 45px; text-align: center; }
.lr-table td:nth-child(2), .lr-table td:nth-child(4) { width: 40%; overflow-wrap: anywhere; }
.lr-table td:nth-child(3), .lr-table th:nth-child(3) { text-align: center; white-space: nowrap; }
.lr-table tbody tr:nth-child(even) { background: #f7fafb; }
.lr-table tbody tr:last-child > * { border-bottom: 0; }
.lr-table small { display: block; color: var(--muted); font-size: .8rem; margin-top: 3px; }
.lr-player-name { font-weight: 600; }
.lr-table .lr-player-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 9px; margin-top: 7px; font-size: .85rem; }
.lr-player-meta > span { white-space: nowrap; }
.lr-rating strong { font-variant-numeric: tabular-nums; color: var(--ink); }
.lr-federation { padding: 2px 6px; background: var(--mint-l); color: var(--mint-d); border: 1px solid #bcdfd6; border-radius: 4px; font-weight: 700; letter-spacing: .03em; }
.lr-promo { display: flex; align-items: center; gap: 20px; padding: 24px 28px; margin: 0 0 22px; border-radius: 10px; border: 2px solid var(--graphite-d); background: var(--graphite-d); color: white; text-decoration: none; box-shadow: 0 7px 0 var(--mint); transition: background .2s, transform .2s; }
.lr-promo:hover { background: var(--graphite-xd); color: white; transform: translateY(-2px); }
.lr-promo__icon { display: grid; place-items: center; flex-shrink: 0; width: 54px; height: 54px; border-radius: 10px; background: var(--mint); color: var(--graphite-xd); }
.lr-promo__icon .ico { width: 30px; height: 30px; }
.lr-promo__text { display: grid; gap: 5px; }
.lr-promo__text strong { font: 700 clamp(1.35rem, 2.2vw, 1.85rem)/1.15 var(--f-d); }
.lr-promo__text > span { font-size: 1rem; color: #d4eee7; line-height: 1.35; }
.lr-promo__arrow { margin-left: auto; color: var(--mint); flex-shrink: 0; }
.lr-board { font-family: var(--f-d); color: var(--muted); }
.lr-score { display: inline-block; border-radius: 4px; padding: 5px 7px; background: var(--mint-l); color: var(--mint-d); font-weight: 700; font-variant-numeric: tabular-nums; }
.lr-score--pending { background: transparent; color: var(--muted); letter-spacing: 2px; }
.lr-footnote { color: var(--muted); font-size: .95rem; margin: 22px 0 0; }
.lr-app [hidden] { display: none !important; }
@media (max-width: 1000px) { .lr-groups { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .lr-controls, .lr-heading, .lr-meta { align-items: stretch; flex-direction: column; }
  .lr-search { width: 100%; }
  .lr-heading .btn { align-self: start; }
  .lr-controls { padding: 14px; }
  .lr-source { padding: 10px 14px; }
  .lr-source { flex-basis: 100%; }
  .lr-promo { padding: 20px 16px; gap: 12px; }
  .lr-promo__icon { width: 40px; height: 40px; }
  .lr-promo__icon .ico { width: 25px; height: 25px; }
  .lr-table { min-width: 0; font-size: .93rem; }
  .lr-table th, .lr-table td { padding: 11px 6px; }
  .lr-table thead th { font-size: .65rem; letter-spacing: 0; }
}

:root {
  /* Marca */
  --mint: #7bd2bf;          /* «FIDE» del logotipo */
  --mint-d: #1d7a67;        /* menta legible sobre blanco */
  --mint-l: #e4f6f1;
  --graphite: #4a4a4a;      /* «WORLD CHAMPIONSHIPS» */
  --graphite-d: #2d3236;
  --graphite-xd: #1d2124;
  --sky: #0290d1;           /* cielo del cartel */
  --sky-d: #0272ad;         /* azul de botones (contraste AA con blanco) */
  --sky-l: #5ed2f6;
  --sky-xl: #e2f5fc;
  --porcelain: #f2f6f9;     /* cuerpo de la mascota */
  --white: #fff;
  --eye: #1ea7ff;           /* ojos de la mascota */
  --live: #e5484d;

  --ink: #22282c;
  --muted: #59646d;
  --line: #d9e3e9;

  --f-d: "Chakra Petch", "Bai Jamjuree", "Segoe UI", system-ui, sans-serif;
  --f-b: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: .875rem;
  --step-0: 1.125rem;
  --step-1: 1.25rem;
  --step-2: 1.5625rem;
  --step-3: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem);
  --step-4: clamp(2.1rem, 1.5rem + 2.4vw, 3.05rem);

  --gut: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --cut: 14px;              /* esquina achaflanada, como la tipografía */
  --sh: 0 1px 2px rgba(29, 33, 36, .06), 0 8px 24px -12px rgba(29, 33, 36, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
html, body { overflow-x: clip; }
body { margin: 0; font: 400 var(--step-0)/1.6 var(--f-b); color: var(--ink); background: var(--porcelain); overflow-x: hidden; }
img, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--sky-d); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--f-d); font-weight: 700; line-height: 1.12; margin: 0 0 .5em; color: var(--graphite-d); letter-spacing: -.005em; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--eye); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--graphite-d); color: #fff; padding: .6rem 1rem; border-radius: 6px; }
.skip:focus { top: 8px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.narrow { max-width: 820px; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.ico--s { width: 1em; height: 1em; }
.ico--l { width: 2.2em; height: 2.2em; }

/* --------------------------------------------------------------------------
   Damero (pecho de la mascota)
   -------------------------------------------------------------------------- */
.checker {
  --sq: 14px;
  height: calc(var(--sq) * 2);
  background:
    conic-gradient(var(--graphite) 25%, var(--white) 0 50%, var(--graphite) 0 75%, var(--white) 0)
    0 0 / calc(var(--sq) * 2) calc(var(--sq) * 2);
}

/* --------------------------------------------------------------------------
   Botones
   -------------------------------------------------------------------------- */
.btn {
  --bg: var(--white); --fg: var(--graphite-d); --bd: var(--line);
  display: inline-flex; align-items: center; gap: .55em;
  min-height: 46px; padding: .6em 1.15em;
  font: 600 1rem/1.1 var(--f-d); letter-spacing: .01em; text-decoration: none;
  color: var(--fg); background: var(--bg); border: 1.5px solid var(--bd);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { --bd: var(--graphite); }
.btn--primary { --bg: var(--sky-d); --fg: #fff; --bd: var(--sky-d); }
.btn--primary:hover { --bg: #025f90; --bd: #025f90; }
.btn--ghost { --bg: rgba(255,255,255,.75); --bd: var(--graphite); }
.btn--ghost:hover { --bg: #fff; }
.btn--mint { --bg: var(--mint); --fg: var(--graphite-xd); --bd: var(--mint); }
.btn--mint:hover { --bg: #9de0d1; --bd: #9de0d1; }
.btn--line { --bg: transparent; --fg: inherit; --bd: currentColor; }
.btn--live { --bg: var(--live); --fg: #fff; --bd: var(--live); }
.btn--live:hover { --bg: #c93439; --bd: #c93439; }
.btns { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.2rem 0 0; }

.dot { width: .6em; height: .6em; border-radius: 50%; background: var(--live); display: inline-block; flex: none; }
.more { display: inline-flex; align-items: center; gap: .4em; font: 600 1rem var(--f-d); text-decoration: none; color: inherit; white-space: nowrap; border-bottom: 2px solid var(--mint); padding-bottom: 2px; }
.more:hover { border-color: currentColor; }

/* --------------------------------------------------------------------------
   Aviso y cabecera
   -------------------------------------------------------------------------- */
.announce { background: var(--graphite-d); color: #fff; font-size: var(--step--1); }
.announce .wrap { display: flex; align-items: center; gap: .6rem; padding-block: .55rem; }
.announce .ico { color: var(--mint); }
.announce a { color: #fff; }

.top { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 1rem; min-height: 72px; }
.top__logo { flex: none; display: block; }
.top__logo img { width: auto; height: 44px; }
.nav { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.nav__list { display: flex; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link { display: flex; align-items: center; gap: .3rem; padding: .55rem .75rem; font: 600 1rem var(--f-d); color: var(--graphite-d); text-decoration: none; background: none; border: 0; cursor: pointer; border-radius: 6px; }
.nav__link:hover, .nav__item.is-active > .nav__link { color: var(--mint-d); }
.nav__item.is-active > .nav__link { box-shadow: inset 0 -3px 0 var(--mint); border-radius: 0; }
.nav__sub { position: absolute; top: 100%; left: 0; min-width: 240px; list-style: none; margin: 0; padding: .5rem; background: #fff; border: 1px solid var(--line); border-radius: 0 0 10px 10px; box-shadow: var(--sh); opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s; }
.nav__item:hover > .nav__sub, .nav__item.open > .nav__sub, .nav__item:focus-within > .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: block; padding: .5rem .7rem; color: var(--ink); text-decoration: none; border-radius: 6px; }
.nav__sub a:hover, .nav__sub a[aria-current] { background: var(--mint-l); color: var(--mint-d); }
.langs { display: flex; border: 1.5px solid var(--line); border-radius: 8px; overflow: hidden; }
.langs a { padding: .3rem .55rem; font: 600 .82rem var(--f-d); color: var(--muted); text-decoration: none; }
.langs a[aria-current] { background: var(--graphite); color: #fff; }
.langs a:not([aria-current]):hover { background: var(--porcelain); color: var(--ink); }
.livepill { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .9rem; border-radius: 999px; font: 700 .9rem var(--f-d); text-decoration: none; color: var(--graphite-d); border: 1.5px solid var(--graphite); white-space: nowrap; }
.livepill .dot { background: var(--graphite); }
.livepill--live { background: var(--live); border-color: var(--live); color: #fff; }
.livepill--live .dot { background: #fff; animation: pulse 1.6s ease-in-out infinite; }
.burger { display: none; width: 46px; height: 46px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.burger .ico { width: 24px; height: 24px; }

@keyframes navin { from { opacity: 0; transform: translateY(-8px); } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.75); } }

@media (max-width: 1080px) {
  .burger { display: inline-flex; }
  .top__in { min-height: 64px; }
  .top__logo img { height: 36px; }
  .livepill { margin-left: auto; }
  .nav { position: fixed; inset: 64px 0 0 0; background: #fff; flex-direction: column; align-items: stretch; gap: 1rem; padding: 1rem var(--gut) 2rem; overflow-y: auto; display: none; }
  .nav.open { display: flex; animation: navin .2s ease; }
  .nav__list { flex-direction: column; }
  .nav__link { width: 100%; justify-content: space-between; padding: .85rem .25rem; font-size: 1.15rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__item.is-active > .nav__link { box-shadow: none; }
  .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: .25rem 0 .5rem .75rem; display: none; }
  .nav__item.open > .nav__sub { display: block; }
  .nav__item:hover > .nav__sub { display: none; }
  .nav__item.open:hover > .nav__sub { display: block; }
  .langs { align-self: flex-start; }
  .langs a { padding: .55rem .9rem; font-size: 1rem; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 520px) {
  .top__logo img { height: 28px; }
  .livepill__txt { display: none; }
  .livepill { padding: .6rem; }
}

/* --------------------------------------------------------------------------
   Portada · cabecera
   -------------------------------------------------------------------------- */
.hero { position: relative; background: var(--white); overflow: hidden; }
.hero__sky { position: absolute; inset: 0; background:
  radial-gradient(120% 90% at 100% 0%, var(--sky-xl) 0%, rgba(226,245,252,0) 60%),
  linear-gradient(180deg, #fff 0%, var(--porcelain) 100%); }
.hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding-block: clamp(2rem, 5vw, 4.5rem) clamp(2rem, 4vw, 3.5rem); }
.hero__title { margin: 0 0 1.4rem; }
.hero__title img { width: 100%; max-width: 640px; }
.hero__place { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem 1.1rem; margin: 0 0 1rem; font-family: var(--f-d); }
.hero__city { font-size: var(--step-3); font-weight: 700; color: var(--sky-d); line-height: 1.1; }
.hero__dates { font-size: var(--step-2); font-weight: 600; color: var(--graphite); }
.hero__sub { font-size: var(--step-1); color: var(--muted); max-width: 34ch; margin-bottom: 1.5rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 2rem; }
.hero__art { position: relative; justify-self: center; width: 100%; max-width: 440px; }
.arch { position: relative; border-radius: 999px 999px 18px 18px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--sky); box-shadow: 0 30px 60px -30px rgba(2, 114, 173, .55); }
.arch::after { content: ""; position: absolute; inset: 10px; border: 2px solid rgba(255,255,255,.65); border-radius: inherit; pointer-events: none; }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero__art::before { content: ""; position: absolute; inset: -18px -18px auto auto; width: 120px; height: 120px; border-radius: 50%; background: var(--mint); opacity: .5; z-index: -1; }

@media (max-width: 860px) {
  .hero__in { grid-template-columns: 1fr; }
  .hero__art { max-width: 340px; order: -1; }
  .hero--results .hero__art { order: 0; }
  .arch { aspect-ratio: 1 / 1; border-radius: 999px 999px 16px 16px; }
}

/* --------------------------------------------------------------------------
   Reloj de ajedrez (cuenta atrás)
   -------------------------------------------------------------------------- */
.clock { position: relative; max-width: 560px; padding-top: 14px; }
.clock__btn { position: absolute; top: 0; height: 16px; width: 64px; background: var(--graphite); border-radius: 6px 6px 0 0; }
.clock__btn--a { left: 22%; height: 10px; top: 6px; background: var(--mint); }
.clock__btn--b { right: 14%; }
.clock__body { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 12px; background: linear-gradient(180deg, var(--graphite) 0%, var(--graphite-d) 100%); color: #fff;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut))); }
.clock__face { border-radius: 6px; padding: .7rem .9rem; }
.clock__face--main { background: #16262a; box-shadow: inset 0 0 0 1px rgba(123,210,191,.25), inset 0 8px 24px rgba(0,0,0,.35); }
.clock__face--side { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-width: 108px; background: rgba(255,255,255,.08); }
.clock__label { display: block; font: 600 .9rem var(--f-d); color: rgba(255,255,255,.8); margin-bottom: .25rem; }
.clock__digits { display: flex; gap: .6rem; font-family: var(--f-d); }
.clock__digits > span { display: flex; flex-direction: column; align-items: center; min-width: 2.7ch; }
.clock__digits b { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 2.9rem); font-weight: 600; line-height: 1; color: var(--mint); font-variant-numeric: tabular-nums; text-shadow: 0 0 18px rgba(123,210,191,.45); }
.clock__digits i { font-style: normal; font-size: .72rem; color: rgba(255,255,255,.6); margin-top: .2rem; }
.clock__digits > span + span::before { content: ""; }
.clock__digits--msg { align-items: center; gap: .6rem; font-size: var(--step-2); font-weight: 700; color: var(--mint); min-height: 3.2rem; }
.clock__round { font: 700 var(--step-3) var(--f-d); color: var(--mint); line-height: 1; }
.clock__when { font-size: .8rem; color: rgba(255,255,255,.75); margin-top: .35rem; line-height: 1.35; }
.clock__digits--msg > .dot { min-width: 0; width: .55em; height: .55em; }
.clock__when b { display: block; font-weight: 600; color: #fff; }
.clock--live .clock__digits--msg .dot { animation: pulse 1.6s ease-in-out infinite; }
@media (max-width: 460px) {
  .clock__body { grid-template-columns: 1fr; }
  .clock__face--side { flex-direction: row; gap: .8rem; justify-content: flex-start; min-width: 0; }
  .clock__when { margin: 0; }
  .clock__when b { display: inline; margin-left: .3em; }
  .clock__digits { gap: .35rem; }
}

/* --------------------------------------------------------------------------
   Marcador de rondas
   -------------------------------------------------------------------------- */
.status { background: var(--graphite-d); color: #fff; }
.status__in { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 2fr) auto; gap: 1.5rem 2rem; align-items: center; padding-block: 1.6rem; }
.status__label { display: flex; align-items: center; gap: .55rem; font: 700 var(--step-1) var(--f-d); margin: 0; }
.status--live .status__label .dot { animation: pulse 1.6s ease-in-out infinite; }
.status__sub { margin: .2rem 0 0; color: rgba(255,255,255,.72); font-size: var(--step--1); }
.status__cta { display: flex; gap: .6rem; flex-wrap: wrap; }
.status .btn--line { --fg: #fff; --bd: rgba(255,255,255,.55); }
.track { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 0; list-style: none; margin: 0; padding: 0; border: 2px solid var(--graphite); }
.track__sq { position: relative; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--f-d); background: var(--graphite); color: rgba(255,255,255,.7); min-width: 0; }
.track__sq:nth-child(even) { background: #3c4145; }
.track__n { font-size: clamp(.95rem, .6rem + 1vw, 1.4rem); font-weight: 700; line-height: 1; }
.track__d { font-size: .62rem; opacity: .75; margin-top: .2rem; white-space: nowrap; }
.track__sq--done { background: var(--mint) !important; color: var(--graphite-xd); }
.track__sq--live { background: #fff !important; color: var(--graphite-xd); box-shadow: inset 0 0 0 3px var(--live); }
.track__sq--live::after { content: ""; position: absolute; top: 5px; right: 5px; width: 7px; height: 7px; border-radius: 50%; background: var(--live); animation: pulse 1.6s ease-in-out infinite; }
.track__sq--next { box-shadow: inset 0 0 0 2px var(--mint); color: #fff; }
@media (max-width: 1000px) {
  .status__in { grid-template-columns: 1fr; }
  .track__d { display: none; }
}

/* --------------------------------------------------------------------------
   Bloques: estructura y fondos
   -------------------------------------------------------------------------- */
.blk { padding-block: clamp(2.75rem, 6vw, 5rem); }
.blk--tight { padding-block: 1.5rem 3rem; }
.theme-light { background: var(--porcelain); }
.theme-white { background: var(--white); }
.theme-sky { background: var(--sky-d); color: #fff; }
.theme-sky h2, .theme-sky h3 { color: #fff; }
.theme-sky a:not(.btn) { color: #fff; }
.theme-graphite { background: var(--graphite-d); color: #fff; }
.theme-graphite h2, .theme-graphite h3 { color: #fff; }
.theme-graphite .bhead__s, .theme-sky .bhead__s { color: rgba(255,255,255,.78); }
.theme-mint { background: var(--mint-l); }
.theme-sky .btn--ghost, .theme-graphite .btn--ghost { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.7); }

.bhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: clamp(1.4rem, 3vw, 2.2rem); }
.bhead__t { font-size: var(--step-4); margin: 0; }
.bhead__s { margin: .55rem 0 0; max-width: 62ch; color: var(--muted); font-size: var(--step-1); line-height: 1.45; }
.note { display: flex; align-items: center; gap: .5rem; color: var(--muted); font-size: var(--step--1); margin: 1.4rem 0 0; }
.theme-graphite .note, .theme-sky .note { color: rgba(255,255,255,.75); }
.empty { display: flex; align-items: center; gap: 1rem; padding: 1.4rem; background: var(--porcelain); border-radius: 12px; color: var(--muted); max-width: 640px; }
.empty img { width: 64px; height: auto; }
.meta, .status__sub, .clock__when, .day__m, .vcard__date, .ev__t { font-family: var(--f-d); }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: var(--step--1); color: var(--muted); margin: 0 0 .4rem; }
.tag { display: inline-block; padding: .1rem .5rem; font: 600 .78rem var(--f-d); background: var(--mint-l); color: var(--mint-d); border-radius: 4px; }
.lead-p { font-size: var(--step-1); color: var(--muted); max-width: 62ch; }

/* --------------------------------------------------------------------------
   Accesos rápidos
   -------------------------------------------------------------------------- */
.quick { background: var(--porcelain); padding-block: 2.2rem; }
.quick .bhead { margin-bottom: 1.2rem; }
.quick__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .75rem; list-style: none; margin: 0; padding: 0; }
.qtile { display: flex; align-items: center; gap: .9rem; height: 100%; padding: 1rem 1.1rem; text-decoration: none; color: var(--ink); background: #fff; border: 1.5px solid var(--line);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); transition: border-color .15s; }
.qtile:hover { border-color: var(--graphite); }
.qtile__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; background: var(--sky-xl); color: var(--sky-d); flex: none; }
.qtile__ico .ico { width: 24px; height: 24px; }
.qtile__txt { display: flex; flex-direction: column; min-width: 0; }
.qtile__l { display: flex; align-items: center; gap: .35rem; font: 700 1.08rem/1.2 var(--f-d); color: var(--graphite-d); }
.qtile__l .ico { color: var(--muted); }
.qtile__s { font-size: .9rem; color: var(--muted); line-height: 1.35; margin-top: .15rem; }
.qtile--hl { background: var(--graphite-d); border-color: var(--graphite-d); color: #fff; }
.qtile--hl .qtile__l { color: #fff; }
.qtile--hl .qtile__s { color: rgba(255,255,255,.75); }
.qtile--hl .qtile__ico { background: var(--live); color: #fff; }
.qtile--hl .qtile__l .ico { color: rgba(255,255,255,.7); }

/* --------------------------------------------------------------------------
   Resultados: el tablero
   -------------------------------------------------------------------------- */
.board { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); border: 3px solid var(--graphite); background: var(--graphite); }
.board__row-label { grid-column: 1 / -1; margin: 0; padding: .45rem .9rem; font: 700 .95rem var(--f-d); color: var(--graphite-xd); background: var(--mint); }
.sq { position: relative; display: flex; flex-direction: column; min-height: 210px; padding: 1rem; background: var(--porcelain); color: var(--ink); }
.sq--dark { background: var(--graphite); color: #fff; }
.sq--empty { min-height: 0; }
h3.sq__code { color: var(--graphite-d); }
.sq--dark h3.sq__code { color: #fff; }
.sq__code { font: 700 clamp(2rem, 1.2rem + 2.6vw, 3.3rem)/1 var(--f-d); margin: 0 0 .35rem; letter-spacing: -.02em; }
.sq__main { color: inherit; text-decoration: none; }
.sq__main::after { content: ""; position: absolute; inset: 0; }
.sq:hover { box-shadow: inset 0 0 0 3px var(--mint); }
.sq__name { font-size: .9rem; margin: 0 0 .6rem; opacity: .85; }
.sq__leader { font-size: .88rem; margin: 0 0 .3rem; }
.sq__leader span { font: 600 .75rem var(--f-d); color: var(--mint-d); }
.sq--dark .sq__leader span { color: var(--mint); }
.sq__meta { font-size: .82rem; margin: 0; opacity: .75; }
.sq__links { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: .3rem; margin: auto 0 0; padding-top: .8rem; }
.sq__links a { font: 600 .78rem var(--f-d); padding: .25rem .5rem; border: 1px solid currentColor; border-radius: 4px; color: inherit; text-decoration: none; opacity: .9; }
.sq__links a:hover { background: var(--mint); color: var(--graphite-xd); border-color: var(--mint); opacity: 1; }
.sq__links a.is-live { border-color: var(--live); color: var(--live); }
.sq--dark .sq__links a.is-live { color: #ff8b8f; border-color: #ff8b8f; }
@media (max-width: 900px) {
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; }
  .board__row-label { display: none; }
  .sq { min-height: 170px; }
}
@media (max-width: 900px) {
  /* En móvil: columna Open / columna Femenino, y el damero se mantiene */
  .sq { order: var(--o); }
}

/* --------------------------------------------------------------------------
   Noticias
   -------------------------------------------------------------------------- */
.newsgrid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.lead__img { display: block; overflow: hidden; border-radius: 14px; aspect-ratio: 16 / 10; background: var(--sky-xl); }
.lead__img img { width: 100%; height: 100%; object-fit: cover; }
.lead__txt { padding-top: 1.1rem; }
.lead h3 { font-size: var(--step-3); margin-bottom: .5rem; }
.lead h3 a, .nlist__a, .card h2 a, .card h3 a { color: var(--graphite-d); text-decoration: none; }
.lead h3 a:hover, .card h2 a:hover, .card h3 a:hover { text-decoration: underline; text-decoration-color: var(--mint); text-decoration-thickness: 3px; }
.lead p:last-child { color: var(--muted); font-size: var(--step-1); line-height: 1.5; max-width: 60ch; }
.nlist { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--graphite); }
.nlist li { border-bottom: 1px solid var(--line); }
.nlist__a { display: grid; grid-template-columns: 112px 1fr; gap: 1rem; padding: 1rem 0; align-items: center; }
.nlist__img { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: var(--porcelain); }
.nlist__img img { width: 100%; height: 100%; object-fit: cover; }
.nlist__a:not(:has(.nlist__img)) { grid-template-columns: 1fr; }
.nlist__t { display: block; font: 700 1.12rem/1.25 var(--f-d); }
.nlist__a:hover .nlist__t { color: var(--mint-d); }
@media (max-width: 860px) { .newsgrid { grid-template-columns: 1fr; } }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem 1.5rem; }
.cards--3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { display: flex; flex-direction: column; }
.card--wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 1.5rem 2rem; align-items: center; }
.card__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 12px; background: var(--sky-xl); }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__ph { display: grid; place-items: center; height: 100%; background: linear-gradient(180deg, var(--sky) 0%, var(--sky-l) 100%); }
.card__ph img { width: 34%; height: auto; object-fit: contain; }
.card__txt { padding-top: .9rem; }
.card h2, .card h3 { font-size: var(--step-1); margin-bottom: .4rem; }
.card--wide h2 { font-size: var(--step-3); }
.card p:last-child { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .card--wide { grid-template-columns: 1fr; } }
.pager { display: flex; justify-content: center; align-items: center; gap: 1.5rem; margin-top: 3rem; font-family: var(--f-d); font-weight: 600; }
.pager a { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; }

/* --------------------------------------------------------------------------
   Calendario
   -------------------------------------------------------------------------- */
.days { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 0; list-style: none; margin: 0; padding: 0; overflow-x: auto; scroll-snap-type: x mandatory; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; scrollbar-width: thin; }
.day { scroll-snap-align: start; border-right: 1px solid var(--line); min-width: 0; }
.day:last-child { border-right: 0; }
.day__h { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "n wd" "n m"; column-gap: .55rem; align-items: center; margin: 0; padding: .9rem .9rem .7rem; border-bottom: 1px solid var(--line); font-family: var(--f-d); position: relative; }
.day__n { grid-area: n; font-size: 2.1rem; font-weight: 700; line-height: 1; color: var(--graphite-d); }
.day__wd { grid-area: wd; font-weight: 700; font-size: .95rem; color: var(--graphite-d); line-height: 1.1; }
.day__m { grid-area: m; font-size: .8rem; color: var(--muted); line-height: 1.1; }
.day__today { position: absolute; top: .5rem; right: .6rem; font-size: .7rem; font-weight: 700; padding: .05rem .4rem; background: var(--live); color: #fff; border-radius: 4px; }
.day--today { background: var(--sky-xl); }
.day--today .day__h { border-bottom-color: var(--sky); box-shadow: inset 0 3px 0 var(--sky); }
.day--past { color: var(--muted); }
.day--past .day__n { color: #9aa6ae; }
.day--rest { background: repeating-linear-gradient(135deg, transparent 0 10px, rgba(123,210,191,.12) 10px 20px); }
.day__ev { list-style: none; margin: 0; padding: .55rem .6rem .9rem; display: flex; flex-direction: column; gap: .35rem; }
.ev { display: grid; grid-template-columns: auto 1fr; column-gap: .5rem; align-items: baseline; padding: .4rem .45rem; border-radius: 6px; font-size: .93rem; line-height: 1.3; }
.ev__t { font: 600 .85rem var(--f-d); color: var(--muted); font-variant-numeric: tabular-nums; }
.ev:not(:has(.ev__t)) .ev__l { grid-column: 1 / -1; }
.ev__l { font-weight: 700; }
.ev--round { background: var(--porcelain); }
.ev--round .ev__l { font-family: var(--f-d); font-size: 1rem; }
.ev--ceremony { background: var(--mint-l); }
.ev--done { opacity: .55; }
.ev--done.ev--round { background: transparent; }
.ev--now { background: #fff; box-shadow: inset 0 0 0 2px var(--live); }
.ev__now { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: .3rem; font: 700 .72rem var(--f-d); color: var(--live); margin-top: .15rem; }
.ev__now .dot { width: .5rem; height: .5rem; animation: pulse 1.6s infinite; }
.ev__p { grid-column: 1 / -1; display: flex; align-items: center; gap: .3rem; font-size: .82rem; color: var(--muted); }
/* Página completa: lista vertical */
.days--full { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr; overflow: visible; }
.days--full .day { display: grid; grid-template-columns: 200px 1fr; border-right: 0; border-bottom: 1px solid var(--line); }
.days--full .day:last-child { border-bottom: 0; }
.days--full .day__h { border-bottom: 0; border-right: 1px solid var(--line); align-content: start; padding: 1.1rem; }
.days--full .day--today .day__h { box-shadow: inset 4px 0 0 var(--sky); }
.days--full .day__ev { flex-direction: row; flex-wrap: wrap; padding: .9rem; gap: .5rem; align-content: center; }
.days--full .ev { min-width: 200px; padding: .6rem .8rem; }
@media (max-width: 640px) {
  .days--full .day { grid-template-columns: 1fr; }
  .days--full .day__h { border-right: 0; border-bottom: 1px solid var(--line); }
  .days--full .ev { min-width: 0; flex: 1 1 100%; }
}

/* --------------------------------------------------------------------------
   Fotos
   -------------------------------------------------------------------------- */
.photo { display: block; overflow: hidden; background: var(--porcelain); border-radius: 8px; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.photo:hover img { transform: scale(1.03); }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(120px, 15vw, 200px); grid-auto-flow: dense; gap: 8px; }
.mosaic .photo:first-child { grid-column: span 2; grid-row: span 2; }
.mosaic--post { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 160px; }
.mosaic--post .photo:first-child { grid-column: span 1; grid-row: span 1; }
@media (max-width: 700px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 120px; }
  .mosaic .photo:first-child { grid-column: span 2; grid-row: span 2; }
  .mosaic--post { grid-template-columns: repeat(2, 1fr); }
}
.masonry { columns: 3 280px; column-gap: 10px; }
.masonry .photo { margin-bottom: 10px; break-inside: avoid; }
.masonry .photo img { height: auto; }
.strip { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; height: 100%; min-height: 320px; }
.strip .photo:first-child { grid-row: span 2; }
.strip .photo:nth-child(n+4) { display: none; }
.strip .photo:only-child { grid-column: span 2; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 1.2rem 0 0; padding: 0; }
.chips a { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .8rem; border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: .92rem; }
.chips a span { font: 600 .78rem var(--f-d); color: var(--muted); }
.chips a:hover { border-color: var(--graphite); }
.albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.album { display: block; text-decoration: none; color: inherit; }
.album__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px; background: var(--porcelain); position: relative; }
.album__img::after { content: ""; position: absolute; inset: auto 0 0 0; height: 10px; background: conic-gradient(var(--graphite) 25%, #fff 0 50%, var(--graphite) 0 75%, #fff 0) 0 0 / 10px 10px; opacity: .9; }
.album__img img { width: 100%; height: 100%; object-fit: cover; }
.album__txt { display: block; padding-top: .7rem; }
.album__t { display: block; font: 700 var(--step-1) var(--f-d); color: var(--graphite-d); }
.album:hover .album__t { color: var(--mint-d); }

/* --------------------------------------------------------------------------
   Vídeos
   -------------------------------------------------------------------------- */
.vgrid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 1.2rem; }
.vgrid--one { grid-template-columns: minmax(0, 900px); }
.vgrid__side { display: grid; gap: 1rem; align-content: start; }
.vgrid__side .vcard { display: grid; grid-template-columns: 150px 1fr; gap: .8rem; align-items: center; text-align: left; }
.vgrid__side .vcard__img { aspect-ratio: 16 / 9; }
.vcard { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: inherit; }
.vcard__img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; background: var(--graphite-d); }
.vcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.vcard:hover .vcard__img img { transform: scale(1.03); }
.vcard__ph { display: grid; place-items: center; height: 100%; color: var(--mint); }
.vcard__ph .ico { width: 48px; height: 48px; }
.vcard__play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; display: grid; place-items: center; background: rgba(255,255,255,.95); color: var(--sky-d); border-radius: 50%; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.vcard__play svg { width: 26px; height: 26px; margin-left: 4px; }
.vgrid__side .vcard__play { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
.vgrid__side .vcard__play svg { width: 16px; height: 16px; }
.vcard__title { display: block; font: 700 1.05rem/1.25 var(--f-d); margin-top: .6rem; }
.vgrid__side .vcard__title { margin: 0; }
.vgrid__side .vcard__date { display: none; }
.vcard--big .vcard__title { font-size: var(--step-2); }
.vcard__date { display: block; font-size: .85rem; opacity: .75; margin-top: .2rem; }
.vlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem 1.5rem; }
.vlist__d { color: var(--muted); margin: .4rem 0 0; font-size: .95rem; }
.player { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; margin-bottom: 1.2rem; }
.player iframe, .player video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 860px) {
  .vgrid { grid-template-columns: 1fr; }
  .vgrid__side .vcard { grid-template-columns: 120px 1fr; }
}

/* --------------------------------------------------------------------------
   Sede y hoteles
   -------------------------------------------------------------------------- */
.venue { display: grid; gap: 1.5rem; }
.venue__main { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); background: #fff; border: 1.5px solid var(--line); border-radius: 16px; overflow: hidden; }
.venue__photos { min-height: 360px; padding: 6px; }
.venue__txt { padding: clamp(1.4rem, 3vw, 2.4rem); align-self: center; }
.venue__role { display: inline-flex; align-items: center; gap: .4rem; font: 700 .85rem var(--f-d); color: var(--mint-d); background: var(--mint-l); padding: .25rem .6rem; border-radius: 4px; margin-bottom: .8rem; }
.venue__txt h3 { font-size: var(--step-3); }
.stars { color: #e3a008; font-size: .6em; letter-spacing: .05em; vertical-align: middle; }
.venue__addr { display: flex; gap: .4rem; align-items: flex-start; color: var(--muted); font-size: .95rem; }
.venue__addr .ico { margin-top: .25em; }
.hotels { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.hotel { display: grid; grid-template-columns: 150px 1fr; gap: 1rem; align-items: start; padding: .75rem; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; }
.hotel__img { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 10px; }
.hotel__img img { width: 100%; height: 100%; object-fit: cover; }
.hotel__txt { padding: .3rem .3rem 0 0; }
.hotel h3 { font-size: var(--step-1); margin-bottom: .2rem; }
.hotel__role { color: var(--muted); font-size: .92rem; margin-bottom: .5rem; }
.hotel__map { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; font-size: .92rem; }
@media (max-width: 860px) {
  .venue__main { grid-template-columns: 1fr; }
  .venue__photos { min-height: 260px; }
}
@media (max-width: 420px) { .hotel { grid-template-columns: 96px 1fr; } }
.map { position: relative; aspect-ratio: 16 / 7; border-radius: 14px; overflow: hidden; background: var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 700px) { .map { aspect-ratio: 4 / 3; } }

/* --------------------------------------------------------------------------
   Actividades, cartel, preguntas, cifras, patrocinadores, bloque libre
   -------------------------------------------------------------------------- */
.event { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.event + .event { margin-top: 3rem; padding-top: 3rem; border-top: 1px solid var(--line); }
.event__when { display: inline-flex; align-items: center; gap: .4rem; font: 700 .95rem var(--f-d); color: var(--mint-d); margin-bottom: .5rem; }
.event h3 { font-size: var(--step-3); }
.event__media { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.event__media > :first-child { grid-column: 1 / -1; }
.event__img { border-radius: 12px; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1px; margin: 1.4rem 0 0; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.facts div { background: #fff; padding: .7rem .9rem; }
.facts dt { font: 600 .8rem var(--f-d); color: var(--muted); }
.facts dd { margin: .1rem 0 0; font-weight: 700; line-height: 1.35; }
.theme-mint .facts div { background: #fff; }
@media (max-width: 860px) { .event { grid-template-columns: 1fr; } }

.poster { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.poster__img { display: block; border-radius: 6px; overflow: hidden; box-shadow: 0 30px 60px -25px rgba(0,0,0,.5); transform: rotate(-2deg); transition: transform .3s; }
.poster__img:hover { transform: rotate(0); }
.poster__lead { font-size: var(--step-1); line-height: 1.5; max-width: 56ch; opacity: .92; }
.poster__mail { display: flex; align-items: center; gap: .5rem; margin-top: 1.4rem; font-weight: 700; }
.theme-sky .btn--primary { --bg: #fff; --fg: var(--sky-d); --bd: #fff; }
@media (max-width: 760px) { .poster { grid-template-columns: 1fr; } .poster__img { max-width: 260px; } }

.faqwrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.faqwrap__bot { width: 120px; margin: .5rem 0 1rem; }
.faqwrap__ask { color: var(--muted); max-width: 36ch; }
.faqs { border-top: 3px solid var(--graphite); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0; font: 700 var(--step-1)/1.3 var(--f-d); color: var(--graphite-d); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { transition: transform .2s; flex: none; }
.faq[open] summary .ico { transform: rotate(180deg); }
.faq .prose { padding: 0 0 1.2rem; color: var(--ink); }
@media (max-width: 860px) { .faqwrap { grid-template-columns: 1fr; } .faqwrap__bot { display: none; } }

.nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0; margin: 0; border-top: 2px solid rgba(255,255,255,.25); }
.nums div { display: flex; flex-direction: column-reverse; padding: 1.2rem 1rem 0 0; }
.nums dd { margin: 0; font: 700 clamp(2.6rem, 2rem + 3vw, 4.2rem)/1 var(--f-d); color: var(--mint); }
.nums dt { font-size: var(--step-0); opacity: .85; margin-top: .3rem; }

.orgs-band { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.2rem clamp(2rem, 5vw, 4.5rem); }
.orgs__h { text-align: center; font: 600 .82rem var(--f-d); color: var(--muted); margin: 0 0 .9rem; }
.orgs ul { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .8rem 1.4rem; list-style: none; margin: 0; padding: 0; }
.orgs li a { display: block; padding: .35rem; border-radius: 8px; transition: background .15s; }
.orgs li a:hover { background: var(--porcelain); }
.orgs li img { height: 76px; width: auto; max-width: 230px; object-fit: contain; }
.orgs--strip { flex-basis: 100%; }
.orgs--strip li img { height: auto; max-height: none; width: 100%; max-width: 1100px; }
@media (max-width: 760px) {
  .orgs { flex-basis: 100%; }
  .orgs + .orgs { border-top: 1px solid var(--line); padding-top: 1.4rem; }
  .orgs li img { height: 54px; max-width: 160px; }
}
.blk--orgs { padding-block: 2.5rem; border-top: 1px solid var(--line); }

.custom { display: grid; gap: 2rem; }
.custom--img { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.custom__img img { border-radius: 14px; }
@media (max-width: 760px) { .custom--img { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Páginas interiores
   -------------------------------------------------------------------------- */
.phead { position: relative; background: var(--graphite-d); color: #fff; padding-block: clamp(2.4rem, 6vw, 4.2rem) clamp(2rem, 5vw, 3.4rem); overflow: hidden; }
.phead::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: conic-gradient(var(--graphite) 25%, #fff 0 50%, var(--graphite) 0 75%, #fff 0) 0 0 / 14px 14px; opacity: .9; }
.phead--img { background: linear-gradient(90deg, rgba(29,33,36,.88) 0%, rgba(29,33,36,.55) 60%, rgba(29,33,36,.25) 100%), var(--hero-img) var(--hero-pos, center) / cover no-repeat; }
.phead h1 { color: #fff; font-size: var(--step-4); margin: 0; max-width: 22ch; }
.phead__lead { font-size: var(--step-1); color: rgba(255,255,255,.85); margin: .8rem 0 0; max-width: 60ch; line-height: 1.45; }
.phead__kicker { margin: 0 0 .6rem; }
.phead__kicker a { display: inline-flex; align-items: center; gap: .35rem; color: var(--mint); font-weight: 700; text-decoration: none; }

.pagegrid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.sidenav { position: sticky; top: 100px; display: flex; flex-direction: column; border-top: 3px solid var(--graphite); }
.sidenav a { display: flex; align-items: center; gap: .55rem; padding: .75rem .2rem; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; }
.sidenav a .ico { color: var(--sky-d); }
.sidenav a:hover { color: var(--mint-d); }
@media (max-width: 860px) { .pagegrid { grid-template-columns: 1fr; } .sidenav { position: static; } }

.prose { max-width: 70ch; }
.prose--s { font-size: .95rem; }
.prose h2 { font-size: var(--step-2); margin: 2rem 0 .6rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--step-1); margin: 1.6rem 0 .5rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--mint-d); font-weight: 700; }
.prose img { border-radius: 10px; margin: 1.2rem 0; }
.prose blockquote { margin: 1.5rem 0; padding: .4rem 0 .4rem 1.2rem; border-left: 4px solid var(--mint); font-size: var(--step-1); color: var(--graphite-d); }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.4rem; font-size: .95rem; }
.prose th, .prose td { padding: .6rem .7rem; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { font: 700 .88rem var(--f-d); background: var(--porcelain); }
.prose td { font-variant-numeric: tabular-nums; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; }
.prose--post { font-size: 1.12rem; line-height: 1.7; }
.prose .report-photo { margin: 1.8rem 0; }
.prose .report-photo img { display: block; width: 100%; height: auto; margin: 0; }
.prose .report-photo figcaption { margin-top: .5rem; font-size: .88rem; line-height: 1.5; color: var(--muted); }
.prose .report-photo--portrait { max-width: 480px; margin-inline: auto; }
.prose .report-photo--diagram { max-width: 520px; margin-inline: auto; }
.prose .report-photo--diagram img { border-radius: 4px; box-shadow: var(--sh); }
.fallback-note { display: table; font-size: .85rem; color: var(--muted); background: var(--porcelain); border-left: 3px solid var(--mint); padding: .3rem .7rem; border-radius: 0 6px 6px 0; }

.files { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .6rem; }
.files a { display: flex; align-items: center; gap: .9rem; padding: .9rem 1rem; border: 1.5px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); background: #fff; }
.files a:hover { border-color: var(--graphite); }
.files a > .ico:first-child { color: var(--sky-d); width: 28px; height: 28px; }
.files a > span { flex: 1; font-weight: 700; display: flex; flex-direction: column; }
.files small { font-weight: 400; color: var(--muted); font-size: .88rem; }
.files--big a { padding: 1.2rem 1.3rem; font-size: 1.08rem; }

.post__head { background: #fff; padding-block: clamp(2rem, 5vw, 3.5rem) 1.5rem; }
.post__head h1 { font-size: var(--step-4); }
.post__lead { font-size: var(--step-1); color: var(--muted); line-height: 1.5; }
.crumb { margin-bottom: 1rem; }
.crumb a { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; text-decoration: none; }
.post__img { margin: 0 auto 2rem; max-width: 1080px; }
.post__img img { width: 100%; border-radius: 14px; }
.post__img figcaption { font-size: .88rem; color: var(--muted); margin-top: .5rem; }
.post { background: #fff; padding-bottom: 3rem; }
.post__h { font-size: var(--step-2); margin-top: 2.5rem; }
.share { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.share a, .share button { padding: .45rem .9rem; border: 1.5px solid var(--line); border-radius: 999px; font: 600 .9rem var(--f-d); text-decoration: none; color: var(--ink); background: #fff; cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--graphite); }

.contact { display: grid; gap: 2rem; }
.contact__card { display: grid; grid-template-columns: 180px 1fr; gap: 2rem; align-items: center; padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--porcelain); border-radius: 16px; }
.contact__bot { width: 100%; }
.contact__k { font: 700 .85rem var(--f-d); color: var(--muted); margin: 1rem 0 .2rem; }
.contact__k:first-child { margin-top: 0; }
.contact__mail { font: 700 var(--step-2) var(--f-d); margin: 0; word-break: break-word; }
@media (max-width: 600px) { .contact__card { grid-template-columns: 1fr; } .contact__bot { width: 120px; } }

.notfound { text-align: center; padding-block: 5rem; background: #fff; }
.notfound img { margin: 0 auto 1.5rem; width: 140px; }
.notfound .btns { justify-content: center; }

/* --------------------------------------------------------------------------
   Pie
   -------------------------------------------------------------------------- */
.foot { background: var(--graphite-xd); color: rgba(255,255,255,.82); }
.foot .checker { --sq: 12px; }
.foot__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); gap: 2.5rem; padding-block: 3rem 2rem; }
.foot__brand { display: grid; grid-template-columns: 96px 1fr; gap: 1.2rem; align-items: start; }
.foot__mascot { width: 96px; }
.foot__name { font: 700 1.2rem/1.2 var(--f-d); color: #fff; margin-bottom: .4rem; }
.foot__meta { font-family: var(--f-d); color: var(--mint); font-weight: 700; font-size: .95rem; }
.foot__text { font-size: .9rem; line-height: 1.55; max-width: 46ch; }
.foot__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.5rem; }
.foot__h { font: 700 .95rem var(--f-d); color: #fff; margin-bottom: .6rem; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: .4rem; }
.foot a { color: rgba(255,255,255,.82); text-decoration: none; font-size: .94rem; }
.foot a:hover { color: var(--mint); }
.social { display: flex; gap: .4rem; margin-top: 1rem; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1.5px solid rgba(255,255,255,.25); border-radius: 50%; }
.social a:hover { border-color: var(--mint); }
.social .ico { width: 18px; height: 18px; }
.social--dark a { border-color: var(--line); color: var(--graphite-d); }
.foot__legal { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.2rem 1.6rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; }
@media (max-width: 860px) { .foot__in { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Visor de fotos y vídeos
   -------------------------------------------------------------------------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; background: rgba(15, 19, 21, .94); }
.lightbox[hidden] { display: none; }
.lightbox__stage { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100vh; height: 100dvh; padding: 56px 0 24px; min-width: 0; }
.lightbox__media { display: flex; align-items: center; justify-content: center; width: 100%; flex: 1; min-height: 0; }
.lightbox__media img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.lightbox__media .player { width: min(100%, 1200px); margin: 0; }
.lightbox__cap { color: rgba(255,255,255,.85); font-size: .95rem; padding-top: .8rem; text-align: center; min-height: 1.5em; }
.lightbox__close { position: absolute; top: 12px; right: 12px; z-index: 2; }
.lightbox__close, .lightbox__nav { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; justify-self: center; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.25); }
.lightbox.single .lightbox__nav { visibility: hidden; }
@media (max-width: 640px) {
  .lightbox { grid-template-columns: 1fr; }
  .lightbox__nav { position: absolute; bottom: 16px; }
  .lightbox__nav--prev { left: 16px; } .lightbox__nav--next { right: 16px; }
  .lightbox__stage { padding: 60px 8px 80px; }
}


/* --------------------------------------------------------------------------
   Animación de los hoteles
   -------------------------------------------------------------------------- */
.dtabs { display: flex; gap: 6px; overflow-x: auto; padding: 4px 2px 10px; margin-bottom: 1.4rem; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.dtab { flex: 1 0 74px; scroll-snap-align: start; display: grid; justify-items: center; gap: 0; padding: .6rem .4rem .55rem; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; font-family: var(--f-d); color: var(--graphite-d); }
.dtab:hover { border-color: var(--graphite); }
.dtab__wd { font-size: .8rem; font-weight: 600; color: var(--muted); }
.dtab__n { font-size: 1.7rem; font-weight: 700; line-height: 1.05; }
.dtab__m { font-size: .72rem; color: var(--muted); }
.dtab--past { opacity: .6; }
.dtab--today .dtab__wd { color: var(--live); }
.dtab[aria-selected=true] { background: var(--graphite-d); border-color: var(--graphite-d); color: #fff; opacity: 1; }
.dtab[aria-selected=true] .dtab__wd, .dtab[aria-selected=true] .dtab__m { color: var(--mint); }
.dpanel__h { font-size: var(--step-2); margin-bottom: 1rem; }
.js .dpanel__h { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.dpanel + .dpanel { margin-top: 2.5rem; }
.js .dpanel + .dpanel { margin-top: 0; }
.anim-cols { display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); gap: 1.2rem; align-items: start; }
@media (max-width: 760px) { .anim-cols { grid-template-columns: 1fr; } }
.anim-cols[style*="--n:1"] { max-width: 640px; }
.anim { background: #fff; border: 1.5px solid var(--line); border-radius: 16px; overflow: hidden; }
.theme-white .anim { background: var(--porcelain); border-color: transparent; }
.anim__head { display: flex; align-items: center; gap: .9rem; padding: .9rem 1.1rem; border-bottom: 3px solid var(--mint); }
.anim__head h3 { font-size: var(--step-1); margin: 0; }
.anim__head p { margin: 0; font-size: .88rem; color: var(--muted); }
.anim__img { flex: none; width: 56px; height: 56px; border-radius: 10px; overflow: hidden; }
.anim__img img { width: 100%; height: 100%; object-fit: cover; }
.anim__list { list-style: none; margin: 0; padding: .4rem .5rem .6rem; }
.anim__row { display: grid; grid-template-columns: 5.6rem 1.9rem 1fr; align-items: center; gap: .25rem .4rem; padding: .55rem .6rem; border-radius: 10px; }
.anim__row + .anim__row { border-top: 1px dashed var(--line); }
.anim__t { font: 700 1rem var(--f-d); color: var(--graphite-d); font-variant-numeric: tabular-nums; }
.anim__end { font-weight: 500; color: var(--muted); font-size: .85rem; }
.anim__e { font-size: 1.35rem; line-height: 1; text-align: center; }
.anim__title { display: block; font-weight: 700; line-height: 1.25; }
.anim__meta { display: block; font-size: .86rem; color: var(--muted); line-height: 1.3; }
.anim__none { padding: 1.2rem 1.1rem; margin: 0; color: var(--muted); }
.anim__more { margin: 0; padding: 0 1.1rem .9rem; font-weight: 700; }
.anim--compact .anim__head { padding: .75rem 1rem; }
.anim--compact .anim__row { grid-template-columns: 4.9rem 1.7rem 1fr; padding: .45rem .5rem; }
.anim-day { display: flex; align-items: baseline; gap: .6rem; font: 600 var(--step-1) var(--f-d); color: var(--graphite-d); margin: -.6rem 0 1.2rem; }
.anim-day__l { padding: .1rem .6rem; border-radius: 6px; background: var(--graphite-d); color: var(--mint); font-size: .9rem; }
.anim-notes { margin-top: 1.6rem; display: grid; gap: .4rem; color: var(--muted); font-size: .95rem; max-width: 80ch; }
.anim-notes p { margin: 0; padding-left: 1.5rem; text-indent: -1.5rem; }
.anim-notes .ico { display: inline-block; width: 1rem; margin-right: .5rem; vertical-align: -2px; }

@media (max-width: 560px) {
  .quick__list { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .qtile { flex-direction: column; align-items: flex-start; gap: .6rem; padding: .9rem; }
  .qtile__s { font-size: .82rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .top, .announce, .foot, .lightbox, .status__cta, .hero__cta, .share { display: none !important; }
  body { background: #fff; }
}

/* Playing hall video and Lichess broadcasts */
.venue-stream { margin-top: 2rem; padding: clamp(1rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 8px; background: var(--sky-xl); }
.venue-stream__heading { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-bottom: 1.5rem; }
.venue-stream__icon { display: grid; place-items: center; width: 64px; height: 64px; flex: none; border-radius: 50%; background: #fff; color: var(--sky-d); }
.venue-stream__text { flex: 1 1 320px; min-width: 0; }
.venue-stream h2 { font-size: var(--step-2); }
.venue-stream p { margin: 0; }
.venue-stream__player { overflow-x: auto; border-radius: 6px; background: #0e0e10; }
.venue-stream__player iframe { display: block; width: 100%; min-width: 400px; max-width: none; height: auto; min-height: 300px; aspect-ratio: 16 / 9; border: 0; }
@media (max-width: 600px) { .venue-stream__icon { display: none; } .venue-stream .btn { width: 100%; justify-content: center; } }
.broadcast-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 1rem; margin-bottom: 1.5rem; }
.broadcast-controls label { display: grid; gap: .4rem; font-weight: 700; flex: 1 1 220px; }
.broadcast-controls select { width: 100%; min-height: 48px; padding: .65rem; border: 1px solid var(--graphite); border-radius: 6px; background: #fff; color: var(--graphite); font: inherit; }
.broadcast-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.broadcast-heading h2 { margin: 0; }
.broadcast-frame { display: block; width: 100%; height: 820px; border: 1px solid #dfe6ec; border-radius: 8px; background: #fff; }
@media (max-width: 600px) { .broadcast-frame { height: 760px; } }

/* ==========================================================================
   Ajustes para móvil (15/10/2026)
   ========================================================================== */

/* Botones con borde: el recorte de esquinas cortaba el borde y parecían descuadrados.
   Los botones de color sólido mantienen el corte; los de contorno usan esquinas suaves. */
.btn:not(.btn--primary):not(.btn--mint):not(.btn--live) { clip-path: none; border-radius: 6px; }

@media (max-width: 1080px) {
  /* El desenfoque de la cabecera convertía el menú (position: fixed) en una caja de 0 px:
     el menú se abría transparente y encima del contenido. */
  .top { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
  .nav { inset: var(--nav-top, 64px) 0 0 0; z-index: 60; box-shadow: 0 12px 24px -16px rgba(29, 33, 36, .35); }
  .nav__sub a { padding: .7rem .7rem; }
  /* Idiomas arriba del menú, siempre a la vista sin desplazarse */
  .langs { order: -1; }
  .nav > * { flex-shrink: 0; } /* al abrir un submenú, los idiomas no se aplastan */
}

@media (max-width: 760px) {
  /* iOS amplía la página al escribir si el texto del campo es menor de 16 px */
  input, select, textarea { font-size: max(16px, 1em); }
  .announce { font-size: .85rem; line-height: 1.35; }
  .announce .wrap { padding-block: .45rem; }
}

@media (max-width: 600px) {
  /* Portada: botones a todo el ancho y logotipo algo más contenido (ya está en la cabecera) */
  .hero__title { margin-bottom: 1rem; }
  .hero__title img { max-width: 300px; }
  .hero__cta, .status__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn, .status__cta .btn { justify-content: center; width: 100%; }
  .hero__art { max-width: 280px; }

  /* Resultados por categoría: casillas más bajas y enlaces fáciles de pulsar */
  .sq { min-height: 0; padding: .85rem; }
  .sq__links { gap: .4rem; }
  .sq__links a { display: inline-flex; align-items: center; min-height: 36px; padding: .35rem .65rem; font-size: .85rem; }

  /* Contacto: el correo no se parte por la mitad */
  .contact__mail { font-size: 1.2rem; word-break: normal; overflow-wrap: anywhere; }

  /* Pie: la mascota encima del texto, que así ocupa todo el ancho */
  .foot__brand { grid-template-columns: 1fr; gap: .8rem; }
  .foot__mascot { width: 64px; }
  .foot__cols > :last-child:nth-child(even) { grid-column: 1 / -1; } /* Contacto a todo el ancho: el correo cabe en una línea */
  .foot li { margin-bottom: .6rem; }

  /* Tablas de texto: desplazamiento horizontal dentro de la tabla, nunca de la página */
  .prose table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

}

@media (max-width: 380px) {
  .top__logo img { height: 26px; }
  .top__in { gap: .6rem; }
}

/* Rejillas que no deben ensancharse con palabras largas o fotos (móviles de 320 px) */
.strip { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.strip .photo { min-width: 0; }
@media (max-width: 560px) {
  .quick__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qtile { min-width: 0; }
  .qtile__l { overflow-wrap: anywhere; hyphens: auto; }
}
@media (max-width: 860px) { .venue__main { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) {
  .venue__txt { padding: 1.1rem; }
  .prose th, .prose td { padding-inline: .45rem; }
}

/* ==========================================================================
   Compartir en redes (fotos, vídeos y álbumes)
   ========================================================================== */
.sharebar { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin: 1rem 0 0; }
.sharebar__l { display: inline-flex; align-items: center; gap: .4rem; margin-right: .2rem; font: 600 .9rem var(--f-d); color: var(--muted); }
.sharebar a, .sharebar button, .lightbox__share a, .lightbox__share button {
  position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0;
  border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--graphite-d); cursor: pointer; text-decoration: none;
}
.sharebar a:hover, .sharebar button:hover { border-color: var(--graphite); color: var(--mint-d); }
.sharebar [hidden], .lightbox__share [hidden] { display: none; }
.sharebar .ico, .lightbox__share .ico { width: 20px; height: 20px; }
.theme-sky .sharebar a, .theme-sky .sharebar button, .theme-graphite .sharebar a, .theme-graphite .sharebar button { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.vlist .sharebar { margin-top: .6rem; }

/* Aviso «Enlace copiado» junto al botón */
.is-done::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); white-space: nowrap;
  padding: .25rem .55rem; border-radius: 6px; background: var(--graphite-d); color: #fff; font: 600 .78rem var(--f-b); pointer-events: none; }

/* Barra de compartir del visor */
.lightbox__share { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .45rem; padding-top: .7rem; }
.lightbox__share[hidden] { display: none; }
.lightbox__share-l { display: inline-flex; align-items: center; gap: .4rem; margin-right: .2rem; font: 600 .88rem var(--f-d); color: rgba(255,255,255,.8); }
.lightbox__share a, .lightbox__share button { background: rgba(255,255,255,.12); border-color: transparent; color: #fff; }
.lightbox__share a:hover, .lightbox__share button:hover { background: rgba(255,255,255,.25); }
.lightbox__share .is-done::after { background: #fff; color: var(--graphite-d); }
@media (max-width: 760px) {
  .lightbox__stage { padding-bottom: 76px; }
  .lightbox__share-l > span { display: none; }
  .lightbox__share a, .lightbox__share button { width: 42px; height: 42px; }
}
@media print { .sharebar, .lightbox__share { display: none !important; } }

/* ==========================================================================
   Anuncio destacado (19/10/2026): banda grande en todas las páginas y ventana al entrar.
   Ajustes › Anuncio destacado. Azul del cartel → grafito, acentos menta y dorado de trofeo.
   ========================================================================== */
.spot {
  --gold: #ffcf4d;
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(120% 180% at 0% 0%, rgba(94, 210, 246, .45), transparent 55%),
    radial-gradient(90% 160% at 100% 100%, rgba(123, 210, 191, .35), transparent 60%),
    linear-gradient(110deg, var(--sky-d) 0%, #064f7a 45%, var(--graphite-xd) 100%);
  border-bottom: 4px solid var(--mint);
}
.spot::before { /* damero de la mascota, muy sutil */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .09;
  background: conic-gradient(#fff 25%, transparent 0 50%, #fff 0 75%, transparent 0) 0 0 / 28px 28px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 60%); mask-image: linear-gradient(90deg, transparent 0%, #000 60%);
}
.spot::after { /* brillo que recorre la banda */
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -45%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .16), transparent);
  animation: spot-shine 5.5s ease-in-out infinite;
}
@keyframes spot-shine { 0%, 55% { left: -45%; } 100% { left: 110%; } }
.spot__in { position: relative; z-index: 1; display: flex; align-items: center; gap: clamp(.8rem, 2.4vw, 1.6rem); padding-block: clamp(.85rem, 2vw, 1.25rem); }
.spot__icon {
  display: grid; place-items: center; flex: none; width: clamp(48px, 6vw, 64px); aspect-ratio: 1; border-radius: 50%;
  background: var(--gold); color: var(--graphite-xd); box-shadow: 0 0 0 5px rgba(255, 207, 77, .25), 0 10px 24px -8px rgba(0, 0, 0, .5);
  animation: spot-bob 2.6s ease-in-out infinite;
}
.spot__icon .ico { width: 58%; height: 58%; stroke-width: 2; }
@keyframes spot-bob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-3px) rotate(4deg); } }
.spot__body { min-width: 0; display: grid; gap: .3rem; justify-items: start; }
.spot__badge {
  display: inline-flex; align-items: center; gap: .45em; padding: .28em .7em; border-radius: 999px;
  background: var(--mint); color: var(--graphite-xd); font: 700 .78rem/1 var(--f-d); letter-spacing: .08em; text-transform: uppercase;
}
.spot__dot { width: .55em; height: .55em; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(229, 72, 77, .7); animation: spot-pulse 1.6s infinite; }
@keyframes spot-pulse { 0% { box-shadow: 0 0 0 0 rgba(229, 72, 77, .7); } 70% { box-shadow: 0 0 0 .55em rgba(229, 72, 77, 0); } 100% { box-shadow: 0 0 0 0 rgba(229, 72, 77, 0); } }
.spot__title { margin: 0; font: 700 clamp(1.25rem, 1rem + 1.3vw, 1.9rem)/1.1 var(--f-d); color: #fff; }
.spot__when { display: inline-block; font-weight: 600; font-size: .72em; color: var(--sky-l); white-space: nowrap; }
.spot__time { margin: 0 0 0 auto; display: flex; align-items: baseline; gap: .6rem; white-space: nowrap; font-family: var(--f-d); }
.spot__time s { font-size: clamp(1rem, .9rem + .5vw, 1.3rem); color: rgba(255, 255, 255, .6); text-decoration-thickness: 2px; text-decoration-color: var(--live); }
.spot__time strong { font-size: clamp(2.2rem, 1.6rem + 2.8vw, 3.6rem); line-height: 1; color: var(--gold); letter-spacing: .01em; text-shadow: 0 0 22px rgba(255, 207, 77, .45); }
.spot__cta {
  display: inline-flex; align-items: center; gap: .45em; flex: none; padding: .7em 1.05em; border-radius: 8px;
  font: 600 .95rem/1 var(--f-d); text-decoration: none; color: var(--graphite-xd); background: #fff;
  transition: transform .15s, background .15s;
}
.spot__cta:hover { background: var(--mint); color: var(--graphite-xd); transform: translateY(-1px); }
@media (max-width: 760px) {
  .spot__in { flex-wrap: wrap; row-gap: .6rem; }
  .spot__body { flex: 1 1 0; }
  .spot__time { margin-left: 0; order: 3; }
  .spot__cta { order: 4; margin-left: auto; }
}
@media (max-width: 420px) {
  .spot__cta { width: 100%; justify-content: center; margin-left: 0; }
}

/* Ventana al entrar */
.spotm { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; }
.spotm[hidden] { display: none; }
.spotm__bg { position: absolute; inset: 0; background: rgba(13, 22, 30, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: spotm-fade .25s ease-out; }
.spotm__card {
  --gold: #ffcf4d;
  position: relative; overflow: hidden; width: min(100%, 520px); max-height: calc(100dvh - 32px);
  padding: clamp(2rem, 6vw, 2.75rem) clamp(1.25rem, 5vw, 2.5rem) clamp(1.5rem, 5vw, 2.25rem);
  border-radius: 20px; text-align: center; color: #fff;
  background:
    radial-gradient(100% 70% at 50% 0%, rgba(94, 210, 246, .55), transparent 70%),
    linear-gradient(165deg, var(--sky-d) 0%, #064f7a 40%, var(--graphite-xd) 100%);
  border: 2px solid rgba(123, 210, 191, .7);
  box-shadow: 0 0 0 6px rgba(123, 210, 191, .15), 0 40px 80px -20px rgba(0, 0, 0, .65);
  animation: spotm-pop .45s cubic-bezier(.2, 1.3, .4, 1);
}
@keyframes spotm-fade { from { opacity: 0; } }
@keyframes spotm-pop { from { opacity: 0; transform: translateY(18px) scale(.92); } }
.spotm__fw { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.spotm__card > :not(.spotm__fw) { z-index: 1; }
.spotm__title, .spotm__when, .spotm__text { text-shadow: 0 1px 10px rgba(6, 30, 48, .75); }
.spotm__x { position: absolute; top: 10px; right: 10px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; }
.spotm__x:hover { background: rgba(255, 255, 255, .25); }
.spotm__icon {
  position: relative; display: grid; place-items: center; width: 92px; height: 92px; margin: 0 auto 1rem; border-radius: 50%;
  background: var(--gold); color: var(--graphite-xd);
  box-shadow: 0 0 0 8px rgba(255, 207, 77, .22), 0 0 50px rgba(255, 207, 77, .55);
  animation: spot-bob 2.6s ease-in-out infinite;
}
.spotm__icon .ico { width: 54px; height: 54px; stroke-width: 1.9; }
.spotm__card .spot__badge { position: relative; font-size: .85rem; }
.spotm__title { position: relative; margin: .85rem 0 .2rem; font: 700 clamp(1.9rem, 1.4rem + 2.4vw, 2.6rem)/1.05 var(--f-d); color: #fff; }
.spotm__when { position: relative; margin: 0; font: 600 1.15rem var(--f-d); color: var(--sky-l); }
.spotm__time { position: relative; display: flex; justify-content: center; align-items: baseline; flex-wrap: wrap; gap: .3rem 1rem; margin: .8rem 0 1rem; font-family: var(--f-d); }
.spotm__time s { font-size: 1.5rem; color: rgba(255, 255, 255, .6); text-decoration-thickness: 3px; text-decoration-color: var(--live); }
.spotm__time strong { font-size: clamp(3.6rem, 2.5rem + 6vw, 5.2rem); line-height: .95; color: var(--gold); text-shadow: 0 0 34px rgba(255, 207, 77, .5); }
.spotm__text { position: relative; margin: 0 auto 1.4rem; max-width: 40ch; font-size: 1.05rem; line-height: 1.45; color: rgba(255, 255, 255, .9); }
.spotm__actions { position: relative; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .9rem 1.4rem; }
.spotm__actions .btn { min-width: 160px; justify-content: center; font-size: 1.05rem; }
.spotm__link { display: inline-flex; align-items: center; gap: .4em; font: 600 1rem var(--f-d); color: #fff; text-decoration: none; border-bottom: 2px solid var(--mint); padding-bottom: 2px; }
.spotm__link:hover { color: var(--mint); }
body.spot-open { overflow: hidden; }
@media (max-width: 420px) { .spotm__actions .btn { width: 100%; } }
/* Sin barra de desplazamiento: en pantallas bajas (portátiles, Windows al 125 %) la ventana se compacta para caber entera */
@media (max-height: 860px) {
  .spotm__card { padding-top: 1.6rem; padding-bottom: 1.4rem; }
  .spotm__icon { width: 72px; height: 72px; margin-bottom: .7rem; }
  .spotm__icon .ico { width: 42px; height: 42px; }
  .spotm__title { margin-top: .6rem; font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.2rem); }
  .spotm__time { margin: .5rem 0 .7rem; }
  .spotm__time strong { font-size: clamp(3rem, 2.2rem + 4vw, 4.2rem); }
  .spotm__text { margin-bottom: 1.1rem; font-size: 1rem; }
}
@media (max-height: 680px) {
  .spotm__card { padding-top: 1.1rem; padding-bottom: 1rem; }
  .spotm__icon { width: 56px; height: 56px; margin-bottom: .5rem; box-shadow: 0 0 0 5px rgba(255, 207, 77, .22); }
  .spotm__icon .ico { width: 32px; height: 32px; }
  .spotm__title { font-size: 1.6rem; }
  .spotm__time strong { font-size: 2.8rem; }
  .spotm__time s { font-size: 1.2rem; }
  .spotm__text { font-size: .95rem; line-height: 1.35; margin-bottom: .9rem; }
  .spotm__actions .btn { min-height: 42px; }
}
@media (max-height: 540px) { .spotm__icon { display: none; } }
@media print { .spotm { display: none !important; } .spot::after { display: none; } }

/* --------------------------------------------------------------------------
   Clasificaciones finales (20/10/2026): podios y clasificación por delegaciones
   -------------------------------------------------------------------------- */
.blk--standings { --gold: #c9a227; --silver: #98a4ae; --bronze: #b0703a; }
.podiums { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1rem; }
.podium { display: flex; flex-direction: column; min-width: 0; background: #fff; color: var(--ink); border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; }
.theme-white .podium { background: var(--porcelain); border-color: transparent; }
.podium__head { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; flex-wrap: wrap; padding: .7rem 1rem .6rem; border-bottom: 3px solid var(--mint); }
.podium__head h3 { margin: 0; font: 700 1.6rem/1 var(--f-d); color: var(--graphite-d); }
.podium__head h3 a { color: inherit; text-decoration: none; }
.podium__head h3 a:hover { color: var(--sky-d); }
.podium__head p { margin: 0; font-size: .88rem; color: var(--muted); }
.podium__list { list-style: none; margin: 0; padding: .35rem 0; }
.podium__list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .7rem; align-items: center; padding: .45rem 1rem; }
.podium__who { min-width: 0; line-height: 1.25; }
.podium__who a { color: var(--ink); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.podium__who a:hover { color: var(--sky-d); text-decoration: underline; }
.podium__fed { display: block; font: 600 .75rem var(--f-d); letter-spacing: .06em; color: var(--muted); }
.podium__pts { font-size: .88rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.podium__more { margin: auto 0 0; padding: .3rem 1rem .8rem; font-size: .92rem; }
.podium__more a { display: inline-flex; align-items: center; gap: .3rem; color: var(--sky-d); font-weight: 700; text-decoration: none; }
.podium__more a:hover { text-decoration: underline; }
.medal { display: inline-grid; place-items: center; width: 1.85rem; height: 1.85rem; border-radius: 50%; font: 700 .85rem var(--f-d); color: #fff; box-shadow: inset 0 -2px 0 rgba(0,0,0,.15); }
.medal--g { background: var(--gold); } .medal--s { background: var(--silver); } .medal--b { background: var(--bronze); }
.medal--xs { width: .7rem; height: .7rem; margin-right: .35rem; vertical-align: -.05rem; box-shadow: none; }
.medals__t { margin: clamp(2.5rem, 5vw, 3.5rem) 0 .3rem; font: 700 var(--step-2) var(--f-d); }
.medals__s, .medals__note { margin: 0; color: var(--muted); font-size: .95rem; max-width: 70ch; }
.medals__note { margin-top: .8rem; font-size: .88rem; }
.theme-graphite .medals__s, .theme-graphite .medals__note, .theme-sky .medals__s, .theme-sky .medals__note { color: rgba(255,255,255,.78); }
.medals__scroll { margin-top: 1rem; overflow-x: auto; background: #fff; border: 1.5px solid var(--line); border-radius: 10px; }
.medals { width: 100%; border-collapse: collapse; color: var(--ink); font-variant-numeric: tabular-nums; }
.medals th { padding: .6rem .7rem; text-align: left; font: 600 .74rem var(--f-d); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); background: var(--porcelain); border-bottom: 1px solid var(--line); white-space: nowrap; }
.medals td { padding: .6rem .7rem; border-bottom: 1px solid var(--line); }
.medals .n { text-align: right; white-space: nowrap; }
.medals .is-zero { color: #9aa5ad; }
.medals__fed { font-weight: 700; }
.medals__fed span { margin-left: .35rem; font: 600 .74rem var(--f-d); letter-spacing: .06em; color: var(--sky-d); }
.medals tr.is-top td { background: var(--mint-l); }
.medals tr.is-top td:first-child { font-weight: 700; }
.medals tfoot td { font-weight: 700; background: var(--porcelain); border-bottom: 0; }
@media (max-width: 560px) {
  .medals { font-size: .86rem; }
  .medals th, .medals td { padding: .45rem .35rem; }
  .medals th { font-size: .62rem; letter-spacing: .02em; white-space: normal; }
  .medal--xs { display: none; }
}
