/* =========================================================
   FASE DE SELECCIÓN — VISTA INTERNA
   ========================================================= */

#faseSeleccionInterna {
  --fas-gold: #d4af37;
  --fas-gold-light: #fff1a6;
  --fas-gold-soft: #f5d67b;
  --fas-gold-dark: #b8962e;

  --fas-text: #ffffff;
  --fas-muted: rgba(255, 255, 255, 0.7);
  --fas-muted-2: rgba(255, 255, 255, 0.5);

  --fas-line: rgba(255, 255, 255, 0.1);
  --fas-gold-line: rgba(212, 175, 55, 0.3);

  position: relative;

  width: 100%;
  min-height: 100%;

  color: var(--fas-text);

  font-family:
    "Inter",
    "Segoe UI",
    Arial,
    sans-serif;

  background:
    radial-gradient(
      900px 520px at 75% 8%,
      rgba(212, 175, 55, 0.13),
      transparent 68%
    ),
    linear-gradient(
      180deg,
      #090909,
      #030303
    );

  border-radius: 24px;

  /*
   * El scroll real lo controla .chat-page.
   */
  overflow: visible;
}

#faseSeleccionInterna *,
#faseSeleccionInterna *::before,
#faseSeleccionInterna *::after {
  box-sizing: border-box;
}

#faseSeleccionInterna a {
  color: inherit;
  text-decoration: none;
}

#faseSeleccionInterna button {
  font: inherit;
}


/* =========================================================
   CONTENEDOR
   ========================================================= */

#faseSeleccionInterna
.fase-seleccion-wrap {
  width: 100%;
  max-width: 1180px;

  min-height: calc(100vh - 150px);

  margin: 0 auto;
  padding: 42px 28px 50px;
}


/* =========================================================
   ENCABEZADO
   ========================================================= */

#faseSeleccionInterna
.fase-seleccion-hero {
  max-width: 900px;

  margin: 0 auto 34px;

  text-align: center;
}

#faseSeleccionInterna
.fase-seleccion-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 8px;

  margin-bottom: 18px;
  padding: 9px 15px;

  border:
    1px solid
    rgba(212, 175, 55, 0.34);

  border-radius: 999px;

  background:
    rgba(212, 175, 55, 0.065);

  color: var(--fas-gold-soft);

  font-size: 0.78rem;
  font-weight: 850;

  letter-spacing: 0.035em;
  text-transform: uppercase;

  box-shadow:
    0 0 20px
    rgba(212, 175, 55, 0.08);
}

#faseSeleccionInterna
.fase-seleccion-title {
  margin: 0;

  color: #ffffff;

  font-family:
    "Manrope",
    "Inter",
    sans-serif;

  font-size:
    clamp(
      2.4rem,
      4.7vw,
      4.7rem
    );

  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 900;

  text-shadow:
    0 15px 34px
    rgba(0, 0, 0, 0.45);
}

#faseSeleccionInterna
.fase-seleccion-subtitle {
  max-width: 780px;

  margin: 20px auto 0;

  color: var(--fas-muted);

  font-size: 1.02rem;
  line-height: 1.6;
}


/* =========================================================
   SECCIÓN
   ========================================================= */

#faseSeleccionInterna
.fase-seleccion-section {
  width: 100%;
  max-width: 980px;

  margin: 0 auto;
}

#faseSeleccionInterna
.fase-seleccion-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 18px;

  margin-bottom: 18px;
}

#faseSeleccionInterna
.fase-seleccion-kicker {
  display: block;

  margin-bottom: 6px;

  color: var(--fas-gold-soft);

  font-size: 0.72rem;
  font-weight: 900;

  text-transform: uppercase;
  letter-spacing: 0.055em;
}

#faseSeleccionInterna
.fase-seleccion-section-heading h2 {
  margin: 0;

  color: #ffffff;

  font-family:
    "Manrope",
    "Inter",
    sans-serif;

  font-size: 1.45rem;
  font-weight: 900;
}

#faseSeleccionInterna
.fase-seleccion-contador {
  flex: 0 0 auto;

  padding: 7px 11px;

  border:
    1px solid
    rgba(212, 175, 55, 0.25);

  border-radius: 999px;

  background:
    rgba(212, 175, 55, 0.06);

  color: var(--fas-gold-soft);

  font-size: 0.78rem;
  font-weight: 850;
}


/* =========================================================
   CUADRÍCULA
   ========================================================= */

#faseSeleccionInterna
.fase-seleccion-grid {
  display: grid;

  grid-template-columns:
    repeat(
      2,
      minmax(0, 1fr)
    );

  gap: 16px;
}


/* =========================================================
   TARJETAS
   ========================================================= */

#faseSeleccionInterna
.fase-seleccion-tool-card {
  position: relative;

  min-height: 150px;

  padding: 22px;

  display: grid;

  grid-template-columns:
    58px
    minmax(0, 1fr)
    24px;

  align-items: center;

  gap: 18px;

  overflow: hidden;

  border:
    1px solid
    rgba(255, 255, 255, 0.1);

  border-radius: 20px;

  background:
    radial-gradient(
      310px 170px at 15% 0%,
      rgba(212, 175, 55, 0.12),
      transparent 70%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.045),
      rgba(255, 255, 255, 0.016)
    ),
    rgba(8, 8, 8, 0.88);

  box-shadow:
    0 15px 32px
    rgba(0, 0, 0, 0.26);

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

#faseSeleccionInterna
.fase-seleccion-tool-card::before {
  content: "";

  position: absolute;
  inset: 0;

  opacity: 0;

  pointer-events: none;

  background:
    radial-gradient(
      360px 190px at 16% 0%,
      rgba(212, 175, 55, 0.18),
      transparent 72%
    );

  transition:
    opacity 0.2s ease;
}

#faseSeleccionInterna
a.fase-seleccion-tool-card:hover {
  transform: translateY(-3px);

  border-color:
    rgba(212, 175, 55, 0.45);

  box-shadow:
    0 20px 42px
    rgba(0, 0, 0, 0.34),
    0 0 24px
    rgba(212, 175, 55, 0.09);
}

#faseSeleccionInterna
a.fase-seleccion-tool-card:hover::before {
  opacity: 1;
}

#faseSeleccionInterna
a.fase-seleccion-tool-card:focus-visible {
  outline:
    2px solid
    var(--fas-gold-light);

  outline-offset: 3px;
}


/* =========================================================
   ICONO
   ========================================================= */

#faseSeleccionInterna
.fase-seleccion-tool-icon {
  position: relative;
  z-index: 1;

  width: 56px;
  height: 56px;

  display: flex;
  align-items: center;
  justify-content: center;

  border:
    1px solid
    rgba(212, 175, 55, 0.3);

  border-radius: 17px;

  background:
    rgba(212, 175, 55, 0.07);

  color: var(--fas-gold-soft);

  font-size: 1.35rem;
  font-weight: 900;

  box-shadow:
    0 0 24px
    rgba(212, 175, 55, 0.09);
}

#faseSeleccionInterna
.fase-seleccion-icon {
  width: 29px;
  height: 29px;

  fill: none;

  stroke: var(--fas-gold-soft);
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;

  filter:
    drop-shadow(
      0 0 8px
      rgba(212, 175, 55, 0.22)
    );
}


/* =========================================================
   CONTENIDO DE TARJETA
   ========================================================= */

#faseSeleccionInterna
.fase-seleccion-tool-content {
  position: relative;
  z-index: 1;

  min-width: 0;
}

#faseSeleccionInterna
.fase-seleccion-tool-status {
  display: inline-flex;
  align-items: center;

  width: max-content;

  margin-bottom: 9px;
  padding: 5px 9px;

  border:
    1px solid
    rgba(212, 175, 55, 0.26);

  border-radius: 999px;

  background:
    rgba(212, 175, 55, 0.07);

  color: var(--fas-gold-soft);

  font-size: 0.68rem;
  font-weight: 900;

  letter-spacing: 0.045em;
  text-transform: uppercase;
}

#faseSeleccionInterna
.fase-seleccion-tool-status-soon {
  border-color:
    rgba(255, 255, 255, 0.13);

  background:
    rgba(255, 255, 255, 0.035);

  color:
    rgba(255, 255, 255, 0.55);
}

#faseSeleccionInterna
.fase-seleccion-tool-title {
  margin: 0 0 8px;

  color: #ffffff;

  font-family:
    "Manrope",
    "Inter",
    sans-serif;

  font-size: 1.05rem;
  font-weight: 900;

  line-height: 1.3;
}

#faseSeleccionInterna
.fase-seleccion-tool-description {
  margin: 0;

  color:
    rgba(255, 255, 255, 0.62);

  font-size: 0.86rem;
  line-height: 1.5;
}

#faseSeleccionInterna
.fase-seleccion-tool-arrow {
  position: relative;
  z-index: 1;

  justify-self: end;

  color: var(--fas-gold);

  font-size: 1.9rem;
  line-height: 1;

  transition:
    transform 0.18s ease,
    color 0.18s ease;
}

#faseSeleccionInterna
a.fase-seleccion-tool-card:hover
.fase-seleccion-tool-arrow {
  transform: translateX(3px);

  color: var(--fas-gold-light);
}


/* =========================================================
   TARJETAS DESHABILITADAS
   ========================================================= */

#faseSeleccionInterna
.fase-seleccion-tool-card-disabled {
  opacity: 0.5;

  cursor: not-allowed;

  filter: saturate(0.65);
}

#faseSeleccionInterna
.fase-seleccion-tool-card-disabled::before {
  display: none;
}

#faseSeleccionInterna
.fase-seleccion-tool-card-disabled
.fase-seleccion-tool-arrow {
  color:
    rgba(255, 255, 255, 0.25);
}


/* =========================================================
   AVISO
   ========================================================= */

#faseSeleccionInterna
.fase-seleccion-notice {
  width: 100%;
  max-width: 980px;

  margin: 26px auto 0;
  padding: 17px 19px;

  display: grid;

  grid-template-columns:
    34px
    minmax(0, 1fr);

  align-items: center;

  gap: 13px;

  border:
    1px solid
    rgba(212, 175, 55, 0.2);

  border-radius: 16px;

  background:
    rgba(212, 175, 55, 0.045);

  color:
    rgba(255, 255, 255, 0.67);
}

#faseSeleccionInterna
.fase-seleccion-notice-icon {
  width: 32px;
  height: 32px;

  display: flex;
  align-items: center;
  justify-content: center;

  border:
    1px solid
    rgba(212, 175, 55, 0.32);

  border-radius: 50%;

  color: var(--fas-gold-soft);

  font-family:
    "Manrope",
    sans-serif;

  font-weight: 900;
}

#faseSeleccionInterna
.fase-seleccion-notice p {
  margin: 0;

  font-size: 0.84rem;
  line-height: 1.55;
}


/* =========================================================
   PIE INTERNO
   ========================================================= */

#faseSeleccionInterna
.fase-seleccion-footer {
  max-width: 980px;

  margin: 38px auto 0;
  padding: 20px 12px 0;

  border-top:
    1px solid
    rgba(255, 255, 255, 0.07);

  text-align: center;
}

#faseSeleccionInterna
.fase-seleccion-footer p {
  margin: 0;

  color: var(--fas-muted-2);

  font-size: 0.8rem;
  line-height: 1.5;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {
  #faseSeleccionInterna
  .fase-seleccion-wrap {
    padding: 34px 20px 46px;
  }

  #faseSeleccionInterna
  .fase-seleccion-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 620px) {
  #faseSeleccionInterna {
    border-radius: 18px;
  }

  #faseSeleccionInterna
  .fase-seleccion-wrap {
    min-height: auto;

    padding: 27px 13px 92px;
  }

  #faseSeleccionInterna
  .fase-seleccion-hero {
    margin-bottom: 26px;
  }

  #faseSeleccionInterna
  .fase-seleccion-badge {
    max-width: 100%;

    padding: 7px 11px;

    font-size: 0.66rem;
    line-height: 1.35;
  }

  #faseSeleccionInterna
  .fase-seleccion-title {
    font-size: 2.3rem;
    line-height: 1;
  }

  #faseSeleccionInterna
  .fase-seleccion-subtitle {
    margin-top: 15px;

    font-size: 0.9rem;
    line-height: 1.5;
  }

  #faseSeleccionInterna
  .fase-seleccion-section-heading {
    align-items: flex-start;
    flex-direction: column;

    gap: 10px;
  }

  #faseSeleccionInterna
  .fase-seleccion-tool-card {
    min-height: 125px;

    padding: 17px;

    grid-template-columns:
      47px
      minmax(0, 1fr)
      18px;

    gap: 13px;

    border-radius: 18px;
  }

  #faseSeleccionInterna
  .fase-seleccion-tool-icon {
    width: 46px;
    height: 46px;

    border-radius: 14px;

    font-size: 1.15rem;
  }

  #faseSeleccionInterna
  .fase-seleccion-icon {
    width: 25px;
    height: 25px;
  }

  #faseSeleccionInterna
  .fase-seleccion-tool-title {
    font-size: 0.96rem;
  }

  #faseSeleccionInterna
  .fase-seleccion-tool-description {
    display: none;
  }

  #faseSeleccionInterna
  .fase-seleccion-tool-arrow {
    font-size: 1.55rem;
  }

  #faseSeleccionInterna
  .fase-seleccion-notice {
    grid-template-columns: 1fr;

    text-align: center;
  }

  #faseSeleccionInterna
  .fase-seleccion-notice-icon {
    margin: 0 auto;
  }
}


/* =========================================================
   MÓVIL PEQUEÑO
   ========================================================= */

@media (max-width: 390px) {
  #faseSeleccionInterna
  .fase-seleccion-title {
    font-size: 2rem;
  }

  #faseSeleccionInterna
  .fase-seleccion-tool-card {
    grid-template-columns:
      42px
      minmax(0, 1fr)
      16px;

    padding: 15px;
  }

  #faseSeleccionInterna
  .fase-seleccion-tool-icon {
    width: 41px;
    height: 41px;
  }
}