/* Phase 6D: opt-in content only; shared shell and sporting pages stay independent. */
.x3-ui-next:is(.x3-home, .x3-information) .x3-info-muted { color: var(--x3-next-muted); }
.x3-ui-next:is(.x3-home, .x3-information) .x3-info-section,
.x3-ui-next.x3-home .x3-home-section { padding-block: var(--x3-next-space-4); }
.x3-ui-next:is(.x3-home, .x3-information) .x3-info-section-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.x3-ui-next:is(.x3-home, .x3-information) .x3-info-section-heading h2 { margin: 0; }
.x3-ui-next:is(.x3-home, .x3-information) .x3-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 12px; align-items: start; }
.x3-ui-next:is(.x3-home, .x3-information) .x3-info-empty { padding: 16px; border: 1px solid var(--x3-next-border); border-radius: var(--x3-next-radius-sm); background: var(--x3-next-surface); }
.x3-ui-next:is(.x3-home, .x3-information) .x3-info-empty h3 { font-size: 1.125rem; margin: 0 0 8px; }
.x3-ui-next:is(.x3-home, .x3-information) .x3-info-empty p { margin: 0; }
.x3-ui-next:is(.x3-home, .x3-information) .x3-info-media { display: grid; place-items: center; position: relative; isolation: isolate; aspect-ratio: 16 / 9; background: var(--x3-next-raised); color: var(--x3-next-muted); border-radius: var(--x3-next-radius-sm); overflow: hidden; }
.x3-ui-next:is(.x3-home, .x3-information) .x3-info-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--x3-next-raised); }
.x3-ui-next:is(.x3-home, .x3-information) .x3-info-media img[hidden] { display: none; }
.x3-ui-next:is(.x3-home, .x3-information) .x3-info-links { display: flex; flex-wrap: wrap; gap: 8px; }
.x3-ui-next.x3-information { padding-bottom: 24px; }
.x3-ui-next.x3-information .x3-public-hero { text-align: start; }
.x3-ui-next.x3-information .x3-public-hero .x3-next-button { margin-top: 12px; }
.x3-ui-next.x3-information .x3-info-form { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.x3-ui-next.x3-information .x3-info-form > div { flex: 1 1 16rem; min-width: 0; }
.x3-ui-next.x3-information label { display: block; margin-bottom: 4px; }
.x3-ui-next.x3-information select { display: block; width: 100%; max-width: 100%; min-height: 44px; border: 1px solid var(--x3-next-control-border); border-radius: var(--x3-next-radius-sm); background: var(--x3-next-surface); color: var(--x3-next-text); padding: 8px; font: inherit; }
.x3-ui-next.x3-information .x3-info-club-body { padding: 16px; }
.x3-ui-next.x3-information .x3-info-club-body h2 { margin-bottom: 8px; }
.x3-ui-next.x3-information .x3-info-club-body p { margin-bottom: 12px; }
.x3-ui-next.x3-information .x3-info-back { margin-top: 16px; }
.x3-ui-next.x3-information #losclubes { scroll-margin-top: 80px; }
.x3-ui-next.x3-information .x3-info-prose { max-width: 72ch; padding-bottom: 24px; }
.x3-ui-next.x3-information .x3-info-prose :is(h2,h3,h4) { color: var(--x3-next-text); margin-block: 24px 12px; }
.x3-ui-next.x3-information .x3-info-prose h2 { font-size: 1.5rem; }
.x3-ui-next.x3-information .x3-info-prose :is(img,iframe,video) { max-width: 100%; }
.x3-ui-next.x3-information .x3-info-prose img { height: auto; }
.x3-ui-next.x3-information .x3-info-prose a { color: var(--x3-next-green); text-decoration: underline; text-underline-offset: 3px; }
.x3-ui-next.x3-information .x3-info-prose table { width: 100%; table-layout: fixed; }
.x3-ui-next.x3-home .x3-home-hero { text-align: start; padding-block: 16px; }
.x3-ui-next.x3-home .x3-home-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.x3-ui-next.x3-home .x3-home-actions a { font-size: .875rem; padding-inline: 8px; }
.x3-ui-next.x3-home .x3-home-tournament { display: grid; grid-template-columns: minmax(0,1fr) 64px; gap: 8px 12px; padding: 12px; }
.x3-ui-next.x3-home .x3-home-tournament-info { min-width: 0; }
.x3-ui-next.x3-home .x3-home-tournament h3 { font-size: 1.125rem; line-height: 1.3; margin: 4px 0; }
.x3-ui-next.x3-home .x3-home-tournament p { font-size: .875rem; line-height: 1.5; margin: 0; }
.x3-ui-next.x3-home .x3-home-tournament .x3-info-eyebrow { color: var(--x3-next-muted); font-size: .875rem; }
.x3-ui-next.x3-home .x3-info-status { display: inline-block; font-size: .875rem; color: var(--x3-next-green); line-height: 1.5; }
.x3-ui-next.x3-home .x3-info-status.is-closed { color: var(--x3-next-warning); }
.x3-ui-next.x3-home .x3-info-poster { aspect-ratio: 4 / 5; width: 64px; font-size: .875rem; text-align: center; }
.x3-ui-next.x3-home .x3-info-poster img { object-fit: contain; }
.x3-ui-next.x3-home .x3-home-tournament-link { grid-column: 1 / -1; font-size: .875rem; }
.x3-ui-next.x3-home .card { color: var(--x3-next-text); }
.x3-ui-next.x3-home :is(.home-split-card, #para-organizadores .card-body) { padding: 16px; }
.x3-ui-next.x3-home .home-split-card { background: var(--x3-next-surface); }
.x3-ui-next.x3-home :is(.section-title, .x3-home-section > .x3-next-wide > h2) { font-size: 1.25rem; line-height: 1.3; }
.x3-ui-next.x3-home :is(.btn,select) { min-height: 44px; white-space: normal; }
.x3-ui-next.x3-home select { max-width: 100%; }
.x3-ui-next.x3-home .kpi-card .kpi-label { font-size: .875rem; }
.x3-ui-next.x3-home .kpi-card { min-width: 0; }
.x3-ui-next.x3-home .swiper { min-width: 0; max-width: 100%; }
.x3-ui-next.x3-home .swiper-ranking { min-height: 0; }
.x3-ui-next.x3-home .swiper-pagination { position: static; margin-top: 8px; }
.x3-ui-next.x3-home .swiper-pagination-bullet { width: 44px; height: 44px; border-radius: 0; background: radial-gradient(circle, var(--x3-next-muted) 4px, transparent 5px); opacity: 1; }
.x3-ui-next.x3-home .swiper-pagination-bullet-active { background: radial-gradient(circle, var(--x3-next-green) 6px, transparent 7px); }
.x3-ui-next.x3-home .x3-home-slider-controls { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.x3-ui-next.x3-home .x3-home-slider-controls button { font-size: .875rem; }
.x3-ui-next.x3-home .ranking-table { width: 100%; table-layout: fixed; }
.x3-ui-next.x3-home .ranking-table th { font-size: .875rem; }
.x3-ui-next.x3-home .home-ranking-place-col { width: 52px; }
.x3-ui-next.x3-home .home-ranking-points-col { width: 80px; }
.x3-ui-next.x3-home .ranking-table td a { display: inline-flex; align-items: center; min-height: 44px; }
.x3-ui-next.x3-home .home-club-item .card-complejos { min-height: 0; }
.x3-ui-next.x3-home .home-elo-section .row > div { min-width: 0; }
.x3-ui-next.x3-home .elo-mobile-card .card-body > .d-flex { flex-wrap: wrap; }
.x3-ui-next.x3-home .elo-mobile-card { overflow-wrap: anywhere; }
.x3-ui-next.x3-home .home-elo-section .card-body { padding: 12px; }
.x3-ui-next.x3-home .x3-home-section img.card-img-top:not(.home-complejo-cover) { width: 100%; max-height: 240px; object-fit: contain; }
.x3-ui-next.x3-home .x3-home-section :is(.x3-next-wide,.col-lg-6) { min-width: 0; }
.x3-ui-next.x3-home .x3-next-wide > .row { margin-inline: 0; }
.x3-ui-next.x3-home #rankings-home { scroll-margin-top: 80px; }
@media (min-width: 768px) {
  .x3-ui-next.x3-home .x3-home-actions { grid-template-columns: repeat(4,minmax(0,1fr)); max-width: 52rem; }
  .x3-ui-next.x3-home .x3-home-section { padding-block: 20px; }
}
@media (max-width: 359.98px) {
  .x3-ui-next.x3-home .x3-info-section-heading h2 { flex-basis: 100%; }
  .x3-ui-next.x3-home .x3-home-tournament { grid-template-columns: minmax(0,1fr) 48px; gap: 8px; }
  .x3-ui-next.x3-home .x3-info-poster { width: 48px; }
}
@media (max-width: 279.98px) {
  .x3-ui-next.x3-home .x3-home-actions { grid-template-columns: minmax(0,1fr); }
  .x3-ui-next.x3-home .x3-info-section-heading { align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  .x3-ui-next.x3-home *, .x3-ui-next.x3-information * { animation: none; transition: none; scroll-behavior: auto; }
}
