/* Torneos: la Copa actual primero, la próxima edición después y el archivo al final. */
body[data-page="torneos"] .page-intro {
  padding-bottom: 22px;
}
body[data-page="torneos"] .page-intro p {
  max-width: 660px;
}
body[data-page="torneos"] .content-section {
  display: grid;
  gap: clamp(32px, 5vw, 68px);
}
body[data-page="torneos"] .content-section > * {
  min-width: 0;
}
body[data-page="torneos"] #copa-castell,
body[data-page="torneos"] #mundial-campeones,
body[data-page="torneos"] #pasochoa-sexta,
body[data-page="torneos"] #pasochoa-cup {
  scroll-margin-top: 110px;
}
.navidad-tournament { position: relative; display: grid; grid-template-columns: minmax(0, .92fr) minmax(390px, 1.08fr); align-items: center; overflow: hidden; border: 1px solid #a7894b; border-radius: 18px; background: radial-gradient(circle at 14% 10%, #1c503d 0, #112b26 38%, #101617 78%); box-shadow: 0 24px 70px rgb(0 0 0 / 24%); scroll-margin-top: 110px; }
.navidad-tournament::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: linear-gradient(#d8b768, #b2121c, #d8b768); }
.navidad-tournament-copy { position: relative; z-index: 1; padding: clamp(28px, 4.5vw, 62px); }
.navidad-tournament h2 { max-width: 520px; margin: 9px 0 18px; color: #fff; font-size: clamp(36px, 4.5vw, 58px); line-height: 1.02; }
.navidad-tournament .tournament-live-status { color: #fff0c7; border-color: #b99550; background: rgb(180 20 30 / 30%); }
.navidad-lead { max-width: 520px; margin: 0 0 26px; color: #d8e3df; line-height: 1.65; }
.navidad-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin: 0 0 20px; }
.navidad-details > div { min-width: 0; padding: 15px 13px; border: 1px solid rgb(218 188 116 / 42%); border-radius: 10px; background: rgb(8 24 21 / 62%); }
.navidad-details small, .navidad-details strong, .navidad-details span { display: block; }
.navidad-details small { margin-bottom: 8px; color: #cdb57d; font-size: 10px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.navidad-details strong { color: #fff; font-size: clamp(18px, 2vw, 25px); line-height: 1.05; }
.navidad-details span { margin-top: 5px; color: #b9c7c3; font-size: 11px; }
.navidad-availability { margin: 0 0 22px; color: #f5deb2; font-size: 13px; font-weight: 750; }
.navidad-register { background: linear-gradient(135deg, #bf1d26, #8e1119); border-color: #dc6970; }
.navidad-register:hover, .navidad-register:focus-visible { background: linear-gradient(135deg, #d42a34, #a3151e); }
.navidad-register[aria-disabled="true"] { pointer-events: none; opacity: .55; }
.navidad-poster { align-self: stretch; min-width: 0; margin: 0; padding: clamp(14px, 2vw, 24px); background: linear-gradient(90deg, rgb(4 12 10 / 15%), rgb(4 12 10 / 55%)); }
.navidad-poster a { display: block; height: 100%; overflow: hidden; border: 1px solid rgb(218 188 116 / 50%); border-radius: 12px; box-shadow: 0 18px 42px rgb(0 0 0 / 35%); }
.navidad-poster img { display: block; width: 100%; height: 100%; max-height: 760px; object-fit: cover; }
.navidad-poster figcaption { margin-top: 9px; color: #c8d1d3; font-size: 11px; text-align: center; }
@media (max-width: 900px) { .navidad-tournament { grid-template-columns: 1fr; } .navidad-poster { order: -1; } .navidad-poster img { max-height: none; } }
@media (max-width: 600px) { .navidad-details { grid-template-columns: 1fr; } .navidad-tournament .tournament-live-actions, .navidad-tournament .btn { width: 100%; text-align: center; } }
.tournament-index {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 10px;
}
.tournament-index a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-height: 64px;
  padding: 17px 18px;
  border: 1px solid #394146;
  border-radius: 9px;
  background: #171b1d;
  color: #f3f3f1;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease;
}
.tournament-index a:hover,
.tournament-index a:focus-visible { background: #22282b; border-color: #aab4b8; }
.tournament-index span { color: #91a7b0; font-size: 12px; font-variant-numeric: tabular-nums; }
.tournament-index small { margin-left: auto; color: #b9c4c7; font-size: 11px; font-weight: 500; text-align: right; }
.tournament-live {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  min-height: 420px;
  overflow: hidden;
  border: 1px solid #485256;
  border-radius: 16px;
  background: radial-gradient(circle at 12% 14%, #293236 0, #171c1e 52%, #111415 100%);
}
.tournament-live-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(26px, 4vw, 58px);
}
.tournament-live-copy .eyebrow { margin: 0 0 20px; }
.tournament-live-status {
  display: inline-block;
  margin-bottom: 15px;
  padding: 7px 11px;
  border: 1px solid #7e969c;
  border-radius: 999px;
  color: #d8e8e9;
  font-size: 12px;
  font-weight: 700;
}
.tournament-live h2 {
  max-width: 640px;
  margin: 0 0 16px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.06;
}
.tournament-live-copy > p:not(.eyebrow) { max-width: 500px; margin: 0 0 25px; color: #d3d9da; line-height: 1.6; }
.tournament-live-actions,
.pasochoa-next-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tournament-live-meta { display: flex; flex-wrap: wrap; gap: 7px 19px; margin-top: 34px; color: #afbdc0; font-size: 12px; }
.tournament-live-photo { position: relative; min-width: 0; min-height: 100%; margin: 0; }
.tournament-live-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #171c1e 0%, transparent 22%); pointer-events: none; }
.tournament-live-photo img { display: block; width: 100%; height: 100%; max-height: 530px; object-fit: cover; object-position: center 58%; }
.tournament-live-photo figcaption { position: absolute; z-index: 1; right: 16px; bottom: 13px; padding: 7px 10px; border-radius: 5px; background: rgba(8, 12, 13, .76); color: #e8ebeb; font-size: 11px; }
body[data-page="torneos"] .mundial-section { margin: 0; padding: clamp(20px, 3vw, 36px); border-color: #394246; border-radius: 15px; background: #121617; }
.copa-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 24px; }
.copa-section-heading .eyebrow { margin: 0 0 10px; }
.copa-section-heading h2 { margin: 0; font-size: clamp(29px, 3vw, 40px); }
.copa-section-heading > p { max-width: 360px; margin: 0; color: #bbc5c7; font-size: 13px; line-height: 1.6; }
.copa-section-nav { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 18px; border-bottom: 1px solid #394246; }
.copa-section-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; padding: 9px 14px; border: 1px solid #465156; border-radius: 7px; background: #1a2022; color: #e5e9e9; font-size: 13px; font-weight: 650; text-decoration: none; }
.copa-section-nav a[hidden] { display: none; }
.copa-section-nav a:hover,
.copa-section-nav a:focus-visible { background: #2a3438; border-color: #9eafb4; }
.copa-section-nav a.is-active { border-color: #ced8da; background: #dce4e4; color: #101617; }
body[data-page="torneos"] .mundial-section > section { margin-top: 24px; }
body[data-page="torneos"] .mundial-section > section[hidden] { display: none; }
body[data-page="torneos"] .mundial-section > section > h3 { margin-top: 0; }
.copa-format-groups, .copa-format-rules, .copa-format-cups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-block: 20px; }
.copa-format-group, .copa-format-rules article, .copa-format-cup { min-width: 0; padding: 18px; border: 1px solid #526065; border-radius: 10px; background: #1b2224; }
.copa-format-group h4, .copa-format-rules h4, .copa-format-cup h4 { margin: 0 0 12px; color: #f5deb2; }
.copa-format-bronce { border-color: #947052; }
.copa-format-group ol { margin: 0; padding: 0; list-style: none; }
.copa-format-group li { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid #394448; font-size: 13px; }
.copa-format-group li b { flex: 0 0 29px; color: #f2cf91; }
.copa-format-group li .mundial-flag { flex: 0 0 auto; width: 30px; height: 20px; object-fit: cover; }
.copa-format-group li span { min-width: 0; }
.copa-format-group li strong, .copa-format-group li small { display: block; }
.copa-format-group li small { color: #aebbbf; }
.copa-format-group > p, .copa-format-rules p, .copa-format-cup p { margin: 12px 0 0; color: #c6d0d3; font-size: 13px; line-height: 1.5; }
.copa-format-bonus { padding: 12px 15px; border-left: 3px solid #e8bc65; background: #2a261e; }
.copa-format-explainer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin-block: 20px; }
.copa-format-explainer article, .copa-bronze-rules { padding: 18px; border: 1px solid #526065; border-radius: 10px; background: #1b2224; }
.copa-format-explainer h4, .copa-bronze-rules h4 { margin: 0 0 10px; color: #f5deb2; }
.copa-format-explainer p, .copa-bronze-rules p, .copa-bronze-rules li { color: #d5dddf; line-height: 1.55; }
.copa-format-explainer p { margin: 8px 0; }
.copa-bronze-rules { border-color: #947052; }
.copa-bronze-rules ul { margin-bottom: 0; padding-left: 20px; }
.copa-format-posters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-block: 24px; }
.copa-format-posters figure { min-width: 0; margin: 0; }
.copa-format-posters a { display: block; border: 1px solid #aa8548; border-radius: 10px; overflow: hidden; }
.copa-format-posters a:focus-visible { outline: 3px solid #f5deb2; outline-offset: 3px; }
.copa-format-posters img { display: block; width: 100%; height: auto; }
.copa-format-posters figcaption { margin-top: 8px; color: #c8d1d3; font-size: 13px; }
.copa-qualified-announcement { display: grid; grid-template-columns: minmax(0, .9fr) minmax(280px, 1.1fr); align-items: center; gap: clamp(18px, 4vw, 38px); margin-top: 24px; padding: clamp(18px, 3vw, 28px); border: 1px solid #aa8548; border-radius: 14px; background: linear-gradient(145deg, #221d14, #15191b 62%); }
.copa-qualified-announcement h4 { margin: 7px 0 12px; color: #fff; font-size: clamp(22px, 3vw, 30px); }
.copa-qualified-announcement > div > p:last-child { margin-bottom: 0; color: #dbe1e2; line-height: 1.65; }
.copa-qualified-plata { grid-template-columns: minmax(0, .85fr) minmax(320px, 1.15fr); border-color: #8ea3ac; background: linear-gradient(145deg, #20292d, #15191b 66%); }
.copa-semifinal-cruces { display: grid; gap: 10px; }
.copa-semifinal-cruces p { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin: 0; padding: 14px; border: 1px solid #53636a; border-radius: 9px; background: #111617; text-align: center; }
.copa-semifinal-cruces .copa-match-label { grid-column: 1 / -1; color: #aebdc3; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.copa-match-team { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; }
.copa-match-team img { flex: 0 0 auto; width: 30px; height: 20px; border: 1px solid #69767b; border-radius: 3px; object-fit: cover; box-shadow: 0 2px 7px rgb(0 0 0 / 34%); }
.copa-semifinal-cruces strong, .copa-semifinal-cruces em { font-size: 13px; font-style: normal; line-height: 1.35; }
.copa-semifinal-cruces strong { color: #f0f4f5; }
.copa-semifinal-cruces em { color: #aab8bd; }
.copa-semifinal-cruces b { color: #d5b56d; font-size: 11px; text-transform: uppercase; }
.copa-media-disclosure { grid-column: 1 / -1; margin-top: 3px; border-top: 1px solid #4b5559; }
.copa-media-disclosure summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 48px; padding: 12px 2px; color: #edf1f1; font-size: 13px; font-weight: 750; cursor: pointer; list-style: none; }
.copa-media-disclosure summary::-webkit-details-marker { display: none; }
.copa-media-disclosure summary span { color: #c8a862; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.copa-media-disclosure[open] summary span { font-size: 0; }
.copa-media-disclosure[open] summary span::after { content: "Ocultar imagen"; font-size: 11px; }
.copa-media-disclosure summary:focus-visible { outline: 3px solid #f5deb2; outline-offset: 4px; border-radius: 4px; }
.copa-media-disclosure .copa-publication-poster { margin: 16px auto 6px; }
.copa-schedule-disclosure { max-width: 760px; margin: 20px auto 26px; padding-inline: 16px; border: 1px solid #4b5559; border-radius: 10px; background: #171d1f; }
.copa-publication-poster { width: min(100%, 650px); margin: 24px auto 0; }
.copa-qualified-announcement .copa-publication-poster { margin: 0 auto; }
.copa-publication-poster a { display: block; overflow: hidden; border: 1px solid #c79a49; border-radius: 12px; background: #090909; box-shadow: 0 18px 38px rgb(0 0 0 / 28%); }
.copa-publication-poster a:focus-visible { outline: 3px solid #f5deb2; outline-offset: 4px; }
.copa-publication-poster img { display: block; width: 100%; height: auto; }
.copa-publication-poster figcaption { margin-top: 9px; color: #c8d1d3; font-size: 13px; text-align: center; }
.copa-schedule-poster { width: min(100%, 560px); }
.copa-format-standings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.copa-format-standings .copa-format-table:last-child:nth-child(odd) { grid-column: 1 / -1; }
.copa-format-table { min-width: 0; overflow-x: auto; }
.copa-format-table table { width: 100%; min-width: 560px; }
.copa-format-table caption { padding: 10px; color: #f5deb2; text-align: left; }
.copa-format-table th, .copa-format-table td { padding: 9px 7px; font-size: 12px; }
.copa-format-table td:nth-child(n+3) { text-align: center; }
.copa-format-table td:nth-child(2) { white-space: nowrap; }
.copa-format-table td:nth-child(2) .mundial-flag { width: 25px; height: 17px; margin-right: 5px; vertical-align: middle; }
.copa-format-table .has-bonus { background: #2c281d; }
.copa-format-table .has-bonus td:nth-child(4) { color: #f6d78d; font-weight: 800; }
.copa-format-position-link { display: inline-flex; margin-top: 12px; padding: 13px 0; color: #f4d58d; font-weight: 750; text-decoration: underline; text-underline-offset: 4px; }
.copa-standings-intro { max-width: 850px; line-height: 1.65; color: #d1dbdd; }
.copa-standings-intro strong { color: #f4d58d; }
.copa-plata-note { margin: 25px 0; padding: 17px 20px; border-left: 4px solid #bccbd2; background: #20272a; color: #dbe3e5; line-height: 1.6; }
.copa-first-phase { margin-top: 25px; }
.copa-format-cups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.copa-more-info { margin-top: 28px; border-top: 1px solid #394246; }
.copa-more-info summary { cursor: pointer; padding: 18px 4px 0; color: #c5d2d5; font-size: 13px; font-weight: 700; }
.copa-more-info-body { padding: 10px 4px 6px; color: #c9d0d2; }
.copa-more-info-body .event-facts { margin-block: 18px; }
.pasochoa-next { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .83fr); overflow: hidden; border: 1px solid #465054; border-radius: 15px; background: #1a1f21; }
.pasochoa-next-copy { padding: clamp(26px, 4vw, 52px); }
.pasochoa-next .eyebrow { margin: 0 0 14px; }
.pasochoa-next h2 { margin: 0 0 17px; font-size: clamp(32px, 3.5vw, 49px); }
.pasochoa-next h2 span { display: block; color: #bdcbd0; font-size: .58em; letter-spacing: -.02em; }
.pasochoa-next-copy > p:not(.eyebrow) { max-width: 560px; color: #d3dbdc; line-height: 1.6; }
.pasochoa-next .tournament-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin-block: 25px; }
.pasochoa-next .tournament-facts > div { min-width: 0; padding: 13px 0; border-top: 1px solid #455155; }
.pasochoa-next .tournament-facts dt { color: #aebdc0; font-size: 12px; }
.pasochoa-next .tournament-facts dd { margin: 5px 0 0; font-weight: 700; }
.pasochoa-next-status { display: inline-block; padding: 8px 11px; border: 1px solid #6d8289; border-radius: 7px; font-size: 12px; font-weight: 700; }
.pasochoa-next-copy .pasochoa-next-note { font-size: 12px; }
.pasochoa-next-actions { margin-top: 22px; }
.pasochoa-facebook { align-self: center; padding: 8px 4px; color: #d0dcde; font-size: 12px; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.pasochoa-facebook:hover { color: #fff; }
.pasochoa-next-photo { position: relative; min-width: 0; margin: 0; }
.pasochoa-next-photo img { display: block; width: 100%; height: 100%; max-height: 620px; object-fit: cover; object-position: center 55%; }
.pasochoa-next-photo figcaption { position: absolute; right: 15px; bottom: 14px; left: 15px; padding: 8px 10px; border-radius: 5px; background: rgba(9, 14, 15, .77); color: #fff; font-size: 11px; text-align: center; }
body[data-page="torneos"] .pasochoa-section { margin: 0; padding: clamp(24px, 3vw, 36px); border: 1px solid #394246; border-radius: 15px; background: #131718; }
body[data-page="torneos"] .pasochoa-intro { margin-bottom: 0; }
body[data-page="torneos"] .pasochoa-intro h2 { margin-bottom: 15px; }
body[data-page="torneos"] .pasochoa-intro .pasochoa-photo img { aspect-ratio: 3 / 2; object-fit: cover; }
.pasochoa-archive-details { margin-top: 23px; border-top: 1px solid #394246; }
.pasochoa-archive-details summary { cursor: pointer; padding: 19px 0; color: #d5e0e1; font-weight: 700; }
.pasochoa-archive-details .pasochoa-gallery { margin-top: 4px; }
@media (max-width: 850px) {
  .copa-format-groups, .copa-format-rules, .copa-format-explainer { grid-template-columns: 1fr; }
  .copa-format-standings { grid-template-columns: 1fr; }
  .tournament-index { grid-template-columns: 1fr; }
  .tournament-index a { min-height: 50px; }
  .tournament-live { grid-template-columns: 1fr; }
  .tournament-live-photo { min-height: 220px; max-height: 250px; }
  .tournament-live-photo::after { background: linear-gradient(0deg, #171c1e, transparent 25%); }
  .tournament-live-photo img { height: 250px; }
  .pasochoa-next { grid-template-columns: 1fr; }
  .pasochoa-next-photo { order: -1; max-height: 360px; }
  .pasochoa-next-photo img { height: 360px; object-position: center 59%; }
}
@media (max-width: 600px) {
  .copa-format-cups, .copa-format-posters { grid-template-columns: 1fr; }
  .copa-qualified-announcement { grid-template-columns: 1fr; padding: 17px; }
  .copa-semifinal-cruces p { grid-template-columns: 1fr; }
  .copa-semifinal-cruces .copa-match-label { grid-column: auto; }
  .copa-media-disclosure summary { align-items: flex-start; }
  body[data-page="torneos"] .page-intro { padding-top: 32px; }
  body[data-page="torneos"] .content-section { gap: 26px; }
  .tournament-index a { padding: 12px 14px; }
  .tournament-live h2 { font-size: clamp(31px, 9vw, 42px); }
  .tournament-live-copy, .pasochoa-next-copy { padding: 25px 21px; }
  .tournament-live-actions .btn, .pasochoa-next-actions .btn { width: 100%; text-align: center; }
  .copa-section-heading { display: block; }
  .copa-section-heading > p { margin-top: 10px; }
  .copa-section-nav { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x proximity; scrollbar-width: thin; }
  .copa-section-nav a { flex: 0 0 auto; scroll-snap-align: start; white-space: nowrap; }
  .pasochoa-next .tournament-facts { gap: 6px 14px; }
  body[data-page="torneos"] .pasochoa-section { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .tournament-index a { transition: none; }
}
.copa-format-intro { max-width: 850px; color: #d2dcdd; line-height: 1.7; }
.copa-format-block-heading { margin: 34px 0 14px; padding-top: 24px; border-top: 1px solid #465053; }
.copa-format-block-heading span { color: #efc77e; font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.copa-format-block-heading h4 { margin: 8px 0 6px; color: #fff; font-size: clamp(21px, 2vw, 28px); }
.copa-format-block-heading p { max-width: 750px; margin: 0; color: #bfcace; line-height: 1.6; }
.copa-format-bonus { display: flex; gap: 22px; align-items: center; margin: 24px 0; padding: 18px 21px; border: 1px solid #ac8346; border-left: 5px solid #e8bc65; border-radius: 8px; background: #302819; }
.copa-format-bonus strong { flex: 0 0 auto; color: #f7d183; font-size: 19px; }
.copa-format-bonus span { color: #f0e9dc; line-height: 1.5; }
.copa-format-details { margin: 30px 0 0; border: 1px solid #586367; border-radius: 10px; background: #1a2123; }
.copa-format-details summary { display: flex; justify-content: space-between; gap: 15px; align-items: center; padding: 20px 22px; cursor: pointer; color: #fff; font-weight: 750; list-style: none; }
.copa-format-details summary::-webkit-details-marker { display: none; }
.copa-format-details summary::before { content: '+'; color: #f0c878; font-size: 24px; line-height: 1; }
.copa-format-details[open] summary::before { content: '−'; }
.copa-format-details summary span { margin-left: auto; color: #efc77e; font-size: 12px; }
.copa-format-details summary:focus-visible { outline: 3px solid #f0c878; outline-offset: 2px; }
.copa-format-detail-body { padding: 0 22px 24px; border-top: 1px solid #394448; }
.copa-format-detail-body > p { max-width: 800px; color: #d5dddf; line-height: 1.65; }
.copa-format-art .copa-format-posters { margin: 0; padding: 0 22px 22px; border-top: 1px solid #394448; }
.copa-format-art .copa-format-posters figure { padding-top: 20px; }
@media (max-width: 600px) { .copa-format-bonus { display: block; } .copa-format-bonus span { display: block; margin-top: 8px; } .copa-format-details summary { padding: 17px; } }
#copa-format-cups[hidden] { display: none; }
