/* La misma portada fotográfica de CEM, con video y un acento de celebración. */
.hero.hero-announcements[data-topic='torneo'] {
  --accent: #9cfae2;
  background: #12466f;
}
.tournament-backdrop { position: absolute; inset: 0; overflow: hidden; }
.tournament-backdrop img, .tournament-backdrop video { position: absolute; inset: -30px; width: calc(100% + 60px); height: calc(100% + 60px); max-width: none; object-fit: cover; object-position: center 40%; filter: blur(23px); opacity: .66; }
.hero.hero-announcements[data-topic='torneo']::before {
  opacity: 1;
  background: linear-gradient(90deg, #104975ed 0, #104975dc 31%, #10497580 55%, #10497518 82%), linear-gradient(180deg, #12436960, #12436912 75%, #1243699c);
}
.hero.hero-announcements[data-topic='torneo']::after { content: ''; position: absolute; inset: auto 0 0; height: 2px; background: linear-gradient(90deg, transparent, #8ef4dd, #61dfff, transparent); pointer-events: none; }
#anuncio-torneo { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); min-height: 530px; padding: 30px 0 38px; }
#anuncio-torneo .announcement-copy { max-width: 650px; }
#anuncio-torneo .announcement-media {
  inset: 0 0 auto auto;
  width: 45%;
  height: 100%;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
  z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 16%, #000 93%, transparent);
}
#anuncio-torneo.has-announcement-media::after { display: none; }
.tournament-intro { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.tournament-logo { flex: 0 0 108px; height: 96px; overflow: hidden; border: 1px solid #d9f4ffb3; border-radius: 16px; background: #fff; box-shadow: 0 8px 30px #002e4e30; }
.tournament-logo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
#anuncio-torneo .eyebrow { font: 700 12px/1.5 var(--cem-body); letter-spacing: .11em; margin-bottom: 8px; color: #a8f8ec; }
#anuncio-torneo .eyebrow::before { display: none; }
.tournament-date { display: block; color: #e3f5ff; font-size: 14px; line-height: 1.5; }
.tournament-date strong { color: #fff; font-size: 22px; font-family: var(--cem-heading); }
#anuncio-torneo h2 { font-size: clamp(42px, 4.6vw, 70px); line-height: 1.03; margin-bottom: 20px; text-shadow: 0 3px 28px #12385552; }
#anuncio-torneo .tournament-total { font-size: 17px; margin: 0 0 24px; line-height: 1.55; color: #effaff; }
.tournament-total strong { color: #a2ffe7; font-size: 26px; font-weight: 800; }
.tournament-prizes { display: grid; grid-template-columns: 1.18fr 1fr 1fr; gap: 16px; margin: 0 0 24px; padding: 18px 0; border-top: 1px solid #a8deed52; border-bottom: 1px solid #a8deed52; }
.tournament-prizes > div { min-width: 0; }
.tournament-prizes > div + div { padding-left: 16px; border-left: 1px solid #a8deed52; }
.tournament-prizes dt { font-size: 14px; line-height: 1.5; color: #d3eaf7; }
.tournament-prizes dd { font: 750 clamp(22px, 2.4vw, 36px)/1.3 var(--cem-body); color: #fff; letter-spacing: -.04em; margin: 8px 0 0; }
.tournament-prizes > div:first-child dd { color: #b6ffec; }
#anuncio-torneo .tournament-invite { font-size: 16px; max-width: 530px; line-height: 1.65; color: #e1f1fc; }
.tournament-controls { position: absolute; bottom: 20px; right: 2%; width: 40%; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; z-index: 4; }
.tournament-controls button { min-height: 46px; padding: 12px 16px; border: 1px solid #bde9f58f; border-radius: 99px; background: #103b5de6; backdrop-filter: blur(12px); color: #f3fcff; font: 600 14px/1.4 var(--cem-body); display: inline-flex; align-items: center; justify-content: center; gap: 9px; box-shadow: 0 5px 22px #002e4e42; }
.tournament-controls #tournament-audio { background: #7ef2e3; border-color: #b1fff2; color: #063349; font-weight: 750; }
.tournament-controls svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tournament-controls button:hover { filter: brightness(1.12); }
.tournament-controls button:focus-visible { outline: 3px solid #b5fff2; outline-offset: 4px; }
@media (max-width: 1100px) and (min-width: 761px) {
  #anuncio-torneo { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .tournament-prizes { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
  .tournament-prizes > div:first-child { grid-column: 1 / -1; }
  .tournament-prizes > div:nth-child(2) { padding-left: 0; border-left: 0; }
  .tournament-prizes dd { font-size: 26px; }
  .tournament-prizes > div:first-child dd { font-size: 36px; }
  .tournament-controls { right: 0; width: 44%; }
  .tournament-controls button { font-size: 13px; padding-inline: 13px; }
}
@media (max-width: 760px) {
  .hero.hero-announcements[data-topic='torneo']::before { background: linear-gradient(180deg, #124e7ae8 0, #124e7a70 80px, #124e7a18 180px, #124e7a10 310px, #124e7aeb 445px, #124e7a 620px); }
  .tournament-backdrop img, .tournament-backdrop video { object-position: 50% 20%; opacity: .55; }
  #anuncio-torneo { display: flex; min-height: 0; padding: 364px 0 24px; gap: 0; }
  #anuncio-torneo .announcement-copy { order: 1; }
  #anuncio-torneo .announcement-media { position: absolute; top: 0; left: 50%; right: auto; transform: translateX(-50%); width: 180px; height: 320px; -webkit-mask-image: linear-gradient(180deg, #000 83%, transparent); mask-image: linear-gradient(180deg, #000 83%, transparent); }
  .tournament-controls { bottom: auto; top: 292px; left: 50%; right: auto; transform: translateX(-50%); width: 100%; gap: 8px; }
  .tournament-controls button { font-size: 13px; min-height: 46px; padding: 11px 14px; }
  .tournament-controls svg { width: 18px; height: 18px; }
  .tournament-intro { gap: 14px; margin-bottom: 20px; }
  .tournament-logo { flex-basis: 88px; height: 80px; border-radius: 12px; }
  #anuncio-torneo .eyebrow { font-size: 12px; letter-spacing: .02em; }
  .tournament-date { font-size: 14px; }
  .tournament-date strong { font-size: 20px; }
  #anuncio-torneo h2 { font-size: clamp(34px, 8.6vw, 44px); margin-bottom: 18px; }
  #anuncio-torneo .tournament-total { font-size: 16px; margin-bottom: 18px; }
  .tournament-total strong { font-size: 25px; }
  .tournament-prizes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 20px; }
  .tournament-prizes > div:first-child { grid-column: 1 / -1; }
  .tournament-prizes > div:nth-child(2) { padding-left: 0; border-left: 0; }
  .tournament-prizes dd { font-size: clamp(22px, 6vw, 28px); }
  .tournament-prizes > div:first-child dd { font-size: 36px; }
  .tournament-prizes dt { font-size: 14px; }
}

/* Menos composición y un solo video activo para los navegadores de teléfonos. */
@media (max-width: 760px), (pointer: coarse) {
  .tournament-backdrop video { display: none; }
  #anuncio-torneo .announcement-media { -webkit-mask-image: none; mask-image: none; filter: none; }
  .tournament-controls button { -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (max-width: 760px) {
  #anuncio-torneo .announcement-media { left: calc(50% - 90px); transform: none; }
}
