/*
 * Club UNIFUTBOL — capa visual curada (2026-09-19)
 *
 * Esta hoja contiene exclusivamente los siete módulos aceptados. Los estilos
 * de portada/acceso, cabecera completa, atmósfera, tipografía general, campos
 * completos y tarjetas genéricas se han eliminado físicamente: no quedan
 * ocultos detrás de un interruptor.
 */

html.uf-design-enabled {
  --uf-ink-950: #07121a;
  --uf-ink-900: #0a1d29;
  --uf-ink-850: #0d2635;
  --uf-blue-700: #075f9a;
  --uf-blue-600: #087fc5;
  --uf-cyan-500: #18b8f2;
  --uf-yellow-500: #fedf54;
  --uf-yellow-400: #ffe97f;
  --uf-muted: #b9cbd7;
  --uf-line: rgba(141, 211, 245, 0.23);
  --uf-shadow-sm: 0 8px 22px rgba(0, 11, 21, 0.24);
  --uf-shadow-lg: 0 24px 60px rgba(0, 8, 17, 0.42);
  --uf-radius-md: 14px;
}

/* 01 — Únicamente menú de navegación --------------------------------------- */
html.uf-design-1-menu header #rt-top .gf-menu.l1 {
  min-height: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background: linear-gradient(180deg, rgba(20, 48, 64, 0.92), rgba(6, 22, 31, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html.uf-design-1-menu header #rt-top .gf-menu.l1 > li > .item {
  position: relative;
  padding-inline: 19px !important;
  color: #eef8fd !important;
  letter-spacing: 0.025em;
  transition: color 170ms ease, background-color 170ms ease;
}

html.uf-design-1-menu header #rt-top .gf-menu.l1 > li > .item::after {
  position: absolute;
  right: 18px;
  bottom: 0;
  left: 18px;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: var(--uf-yellow-500);
  content: '';
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 170ms ease, transform 170ms ease;
}

html.uf-design-1-menu header #rt-top .gf-menu.l1 > li:hover > .item::after,
html.uf-design-1-menu header #rt-top .gf-menu.l1 > li.active > .item::after,
html.uf-design-1-menu header #rt-top .gf-menu.l1 > li:focus-within > .item::after {
  opacity: 1;
  transform: scaleX(1);
}

html.uf-design-1-menu header #rt-top .gf-menu .dropdown {
  overflow: hidden;
  border: 1px solid rgba(119, 203, 239, 0.22) !important;
  border-radius: 0 0 var(--uf-radius-md) var(--uf-radius-md) !important;
  background: rgba(6, 24, 34, 0.98) !important;
  box-shadow: 0 18px 38px rgba(0, 5, 12, 0.42);
}

@media (min-width: 1200px) {
  html.uf-design-1-menu header #rt-top .gf-menu.l1 > li > .dropdown {
    width: 180px !important;
    max-width: calc(100vw - 24px);
  }

  html.uf-design-1-menu header #rt-top .gf-menu.l1 > li:focus-within > .dropdown {
    left: -1px !important;
    top: auto !important;
    opacity: 1 !important;
  }
}

html.uf-design-1-menu header #rt-top .gf-menu.l1 > li > .dropdown .item {
  padding: 10px 15px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color 150ms ease, background-color 150ms ease, padding-left 150ms ease;
}

html.uf-design-1-menu header #rt-top .gf-menu.l1 > li > .dropdown .item:hover,
html.uf-design-1-menu header #rt-top .gf-menu.l1 > li > .dropdown .item:focus {
  padding-left: 18px !important;
  background: rgba(15, 92, 128, 0.5) !important;
  color: #fff !important;
}

/* 02 — Acentos amarillos bajo títulos, sin cambiar la tipografía ----------- */
html.uf-design-2-title-accents #rt-mainbody-surround div.home-block-container h2::after,
html.uf-design-2-title-accents #rt-mainbody-surround .rt-block .component-content h2[itemprop='name']::after,
html.uf-design-2-title-accents #rt-mainbody-surround .cb_template .cb-page-header-title::after {
  display: block;
  width: 54px;
  height: 3px;
  margin: 24px auto 0;
  border-radius: 99px;
  background: var(--uf-yellow-500);
  content: '';
  box-shadow: 0 0 16px rgba(254, 223, 84, 0.35);
}

/* 03 — Jerarquía de acciones, hover y foco; campos por defecto intactos ---- */
html.uf-design-3-controls body .button:not(.btn-secondary):not(.btn-default),
html.uf-design-3-controls body a.uf-button:not(.secondary),
html.uf-design-3-controls body button.btn-primary,
html.uf-design-3-controls body input.btn-primary,
html.uf-design-3-controls #rt-mainbody-surround form#login-form button[type='submit'] {
  border-color: var(--uf-yellow-500) !important;
  background: linear-gradient(180deg, var(--uf-yellow-400), var(--uf-yellow-500)) !important;
  color: #15222b !important;
  box-shadow: 0 8px 20px rgba(254, 223, 84, 0.18);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

html.uf-design-3-controls body .button:not(.btn-secondary):not(.btn-default):hover,
html.uf-design-3-controls body a.uf-button:not(.secondary):hover,
html.uf-design-3-controls body button.btn-primary:hover,
html.uf-design-3-controls body input.btn-primary:hover,
html.uf-design-3-controls #rt-mainbody-surround form#login-form button[type='submit']:hover {
  border-color: #fff3b6 !important;
  background: linear-gradient(180deg, #fff19c, var(--uf-yellow-500)) !important;
  color: #0d1a22 !important;
  filter: brightness(1.03);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(254, 223, 84, 0.25);
}

html.uf-design-3-controls body .btn-secondary,
html.uf-design-3-controls body .btn-default,
html.uf-design-3-controls body a.uf-button.secondary,
html.uf-design-3-controls body input[type='button'] {
  border-color: rgba(143, 211, 241, 0.48) !important;
  background: linear-gradient(180deg, #1187c4, var(--uf-blue-700)) !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(0, 67, 105, 0.22);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

html.uf-design-3-controls body .btn-secondary:hover,
html.uf-design-3-controls body .btn-default:hover,
html.uf-design-3-controls body a.uf-button.secondary:hover,
html.uf-design-3-controls body input[type='button']:hover {
  filter: brightness(1.12);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 88, 137, 0.3);
}

html.uf-design-3-controls body a.uf-button.current,
html.uf-design-3-controls body a.uf-button.uf-button-group.current {
  border-color: #fff !important;
  background: #fff !important;
  color: #2c3238 !important;
  cursor: default;
  filter: none;
  transform: none;
  box-shadow: inset 0 -3px 0 var(--uf-yellow-500), 0 6px 16px rgba(0, 12, 22, 0.2);
}

html.uf-design-3-controls #rt-mainbody-surround .home-partidas-sub-container .uf-post-buttons {
  margin-top: 28px !important;
  transform: none !important;
}

html.uf-design-3-controls #rt-mainbody-surround input:focus,
html.uf-design-3-controls #rt-mainbody-surround select:focus,
html.uf-design-3-controls #rt-mainbody-surround textarea:focus {
  border-color: var(--uf-cyan-500) !important;
  box-shadow: 0 0 0 3px rgba(24, 184, 242, 0.24) !important;
}

html.uf-design-3-controls body a:focus-visible,
html.uf-design-3-controls body button:focus-visible,
html.uf-design-3-controls body input:focus-visible,
html.uf-design-3-controls body select:focus-visible,
html.uf-design-3-controls body textarea:focus-visible {
  outline: 3px solid var(--uf-yellow-500) !important;
  outline-offset: 3px !important;
}

/* 04 — Sólo tarjetas de podio y Salón de la Fama ---------------------------- */
html.uf-design-4-podium .block-area.api-uf-view #uf-podium .grid-container,
html.uf-design-4-podium .block-area.api-uf-view #uf-hall-of-fame .grid-container {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 18px;
}

html.uf-design-4-podium .block-area.api-uf-view #uf-podium .dark-background,
html.uf-design-4-podium .block-area.api-uf-view #uf-hall-of-fame .dark-background {
  box-sizing: border-box;
  width: calc(33.333% - 12px) !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 16px 16px 28px !important;
  overflow: visible;
  border: 1px solid rgba(139, 209, 238, 0.24);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(12, 43, 59, 0.96), rgba(4, 20, 31, 0.97));
  box-shadow: var(--uf-shadow-lg);
}

html.uf-design-4-podium .block-area.api-uf-view #uf-podium .dark-background:nth-child(2),
html.uf-design-4-podium .block-area.api-uf-view #uf-hall-of-fame .dark-background:nth-child(2) {
  border-color: rgba(254, 223, 84, 0.54);
  background:
    radial-gradient(circle at 50% 0, rgba(254, 223, 84, 0.15), transparent 38%),
    linear-gradient(160deg, rgba(15, 48, 64, 0.98), rgba(4, 20, 31, 0.98));
  transform: translateY(-14px);
  box-shadow: 0 24px 58px rgba(0, 7, 15, 0.46), 0 0 28px rgba(254, 223, 84, 0.09);
}

html.uf-design-4-podium .block-area.api-uf-view #uf-podium .dark-background .copas,
html.uf-design-4-podium .block-area.api-uf-view #uf-hall-of-fame .dark-background .copas {
  max-height: 190px;
  margin-bottom: -38px;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.32));
  transform: translateY(-48px);
}

html.uf-design-4-podium .block-area.api-uf-view #uf-podium .dark-background h2,
html.uf-design-4-podium .block-area.api-uf-view #uf-hall-of-fame .dark-background h2 {
  margin: 0 0 10px !important;
  font-size: clamp(70px, 7vw, 108px) !important;
  line-height: 0.9 !important;
  opacity: 0.94;
}

html.uf-design-4-podium .block-area.api-uf-view #uf-podium .dark-background .gold,
html.uf-design-4-podium .block-area.api-uf-view #uf-hall-of-fame .dark-background .gold {
  font-size: clamp(84px, 8.5vw, 124px) !important;
  text-shadow: 0 0 24px rgba(255, 214, 0, 0.18) !important;
}

html.uf-design-4-podium .block-area.api-uf-view #uf-podium .dark-background .name a,
html.uf-design-4-podium .block-area.api-uf-view #uf-hall-of-fame .dark-background .name a {
  width: 100%;
  max-width: 100%;
  font-family: Roboto, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
  font-size: clamp(25px, 2.6vw, 38px) !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
}

html.uf-design-4-podium .block-area.api-uf-view #uf-podium .puntos-title,
html.uf-design-4-podium .block-area.api-uf-view #uf-podium .nivel-title {
  color: var(--uf-muted) !important;
  font-size: 12px !important;
  letter-spacing: 0.08em;
}

html.uf-design-4-podium .block-area.api-uf-view #uf-hall-of-fame .lista-titulos {
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.16);
}

html.uf-design-4-podium .block-area.api-uf-view #uf-podium img.uf-image-broken,
html.uf-design-4-podium .block-area.api-uf-view #uf-hall-of-fame img.uf-image-broken {
  min-width: 32px;
  min-height: 32px;
  padding: 6px;
  border: 1px dashed rgba(177, 218, 236, 0.42) !important;
  border-radius: 50%;
  background: linear-gradient(145deg, #173e53, #0b2534) !important;
  color: transparent;
}

/* 05 — Tablas y datos: sin región de desplazamiento horizontal ------------- */
html.uf-design-5-tables .api-uf-view .table-responsive,
html.uf-design-5-tables .api-uf-view .uf-responsive-table {
  overflow: visible !important;
  border: 1px solid rgba(132, 207, 240, 0.2);
  border-radius: var(--uf-radius-md);
  background: rgba(4, 24, 35, 0.42);
  box-shadow: var(--uf-shadow-sm);
}

html.uf-design-5-tables .api-uf-view table.table {
  width: 100% !important;
  max-width: 100%;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  table-layout: auto;
  background: rgba(4, 25, 37, 0.68);
}

html.uf-design-5-tables .api-uf-view .table thead th {
  padding: 13px 10px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(117, 201, 238, 0.28) !important;
  background: linear-gradient(180deg, #0b4d75, #063650) !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  overflow-wrap: anywhere;
  white-space: normal;
}

html.uf-design-5-tables .api-uf-view .table tbody td,
html.uf-design-5-tables .api-uf-view .table tbody th {
  padding: 11px 10px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055) !important;
  background: rgba(8, 54, 79, 0.76) !important;
  color: #edf8fd;
  font-size: 13.5px !important;
  line-height: 1.35;
  vertical-align: middle;
  overflow-wrap: anywhere;
  white-space: normal;
}

html.uf-design-5-tables .api-uf-view .table-striped > tbody > tr:nth-child(odd) > td {
  background: rgba(10, 70, 103, 0.76) !important;
}

html.uf-design-5-tables .api-uf-view .table-hover > tbody > tr:hover > td {
  background: rgba(14, 111, 158, 0.82) !important;
  color: #fff;
}

html.uf-design-5-tables .api-uf-view .table tbody tr:last-child td {
  border-bottom: 0 !important;
}

html.uf-design-5-tables .api-uf-view .table a {
  color: var(--uf-yellow-500) !important;
  font-weight: 600;
}

html.uf-design-5-tables .api-uf-view .uf-user-list-avatar-container .img-thumbnail {
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 50% !important;
  background: #173d52 !important;
}

/* 06 — Pie de página --------------------------------------------------------- */
html.uf-design-6-footer #rt-footer {
  position: relative;
  box-sizing: border-box;
  height: auto !important;
  min-height: 290px;
  padding: 62px 24px 46px;
  border-top: 1px solid rgba(130, 207, 240, 0.18);
  background:
    linear-gradient(180deg, rgba(4, 20, 29, 0.75), rgba(3, 14, 21, 0.96)),
    url(../../../images/ver2/fondos/background-footer.png) center 35% / cover no-repeat !important;
  box-shadow: inset 0 18px 45px rgba(0, 0, 0, 0.2);
}

html.uf-design-6-footer #rt-footer .rt-container {
  width: min(1100px, 100%) !important;
}

html.uf-design-6-footer #rt-footer .custom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 34px 70px;
}

html.uf-design-6-footer #rt-footer .custom > p {
  flex: 0 0 100%;
  margin: 0 0 8px !important;
  text-align: center;
}

html.uf-design-6-footer #rt-footer .custom > p img {
  width: min(258px, 70vw) !important;
  height: auto;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.35));
}

html.uf-design-6-footer #rt-footer .rt-container .rt-grid-12 .info-container {
  width: min(310px, 100%) !important;
  color: #d5e4ec;
  font-size: 14px;
  line-height: 1.8;
  text-align: left;
}

html.uf-design-6-footer #rt-footer a {
  color: var(--uf-yellow-500) !important;
  text-decoration-color: rgba(254, 223, 84, 0.38);
  text-underline-offset: 3px;
}

/* 07 — Microanimaciones limitadas a componentes aceptados ------------------- */
@keyframes ufRevealUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

html.uf-design-7-motion .block-area.api-uf-view #uf-podium .dark-background,
html.uf-design-7-motion .block-area.api-uf-view #uf-hall-of-fame .dark-background {
  animation: ufRevealUp 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

html.uf-design-7-motion .block-area.api-uf-view #uf-podium .dark-background:nth-child(2),
html.uf-design-7-motion .block-area.api-uf-view #uf-hall-of-fame .dark-background:nth-child(2) {
  animation-delay: 70ms;
}

html.uf-design-7-motion .block-area.api-uf-view #uf-podium .dark-background:nth-child(3),
html.uf-design-7-motion .block-area.api-uf-view #uf-hall-of-fame .dark-background:nth-child(3) {
  animation-delay: 140ms;
}

html.uf-design-7-motion .div-format-games .uf-folder {
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
  html.uf-design-7-motion .div-format-games .uf-folder:hover,
  html.uf-design-7-motion .div-format-games .uf-folder:focus-within {
    filter: brightness(1.025);
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(0, 10, 19, 0.32);
  }
}

@media (prefers-reduced-motion: reduce) {
  html.uf-design-enabled *,
  html.uf-design-enabled *::before,
  html.uf-design-enabled *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  html.uf-design-7-motion .div-format-games .uf-folder:hover,
  html.uf-design-7-motion .div-format-games .uf-folder:focus-within {
    transform: none;
  }
}
