@charset "utf-8";
/* CSS Document */
:root {
  --bg-base: #02040d;
  --font-base: "Lato", Arial, sans-serif;
  --font-display: "Oswald", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  background: var(--bg-base);
  color: #fff;
  font-family: var(--font-base);
}
.home-menu,
.mode-card,
.mode-circle {
  font-family: var(--font-display);
}
.app-bg {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;

  background:
  /* magenta superior derecha, visible e integrada */
  radial-gradient(
    ellipse 46% 34% at 38% -2%,
    rgba(135, 0, 52, 0.30) 0%,
    rgba(92, 0, 45, 0.18) 36%,
    rgba(55, 0, 32, 0.08) 62%,
    transparent 82%
  ),

  /* magenta superior centro/derecha, más fuera de plano */
  radial-gradient(
    ellipse 54% 30% at 54% -12%,
    rgba(105, 0, 35, 0.22) 0%,
    rgba(65, 0, 35, 0.12) 40%,
    transparent 80%
  ),

  /* rojo superior muy oscuro */
  radial-gradient(
    ellipse 70% 38% at 50% -8%,
    rgba(90, 0, 0, 0.18) 0%,
    rgba(55, 0, 12, 0.10) 34%,
    transparent 72%
  ),

  /* mancha cian izquierda */
  radial-gradient(
    ellipse 35% 55% at -6% 33%,
    rgba(0, 115, 130, 0.22) 0%,
    rgba(0, 70, 110, 0.13) 38%,
    transparent 75%
  ),

  /* mancha azul/verde centro */
  radial-gradient(
    circle at 43% 47%,
    rgba(0, 60, 85, 0.22) 0%,
    rgba(0, 32, 58, 0.13) 28%,
    transparent 58%
  ),

  /* mancha magenta derecha original */
  radial-gradient(
    ellipse 28% 52% at 102% 42%,
    rgba(105, 0, 35, 0.22) 0%,
    rgba(65, 0, 35, 0.13) 42%,
    transparent 78%
  ),

  /* verde/cian inferior derecha */
  radial-gradient(
    ellipse 38% 32% at 72% 108%,
    rgba(0, 130, 105, 0.22) 0%,
    rgba(0, 75, 80, 0.13) 40%,
    transparent 78%
  ),

  /* rojo inferior central muy suave */
  radial-gradient(
    ellipse 38% 24% at 38% 108%,
    rgba(80, 0, 0, 0.16) 0%,
    transparent 76%
  ),

  /* base */
  linear-gradient(
    115deg,
    #02050f 0%,
    #030713 32%,
    #040316 60%,
    #0a020d 100%
  );
}

.app-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;

  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.10) 0%,
      rgba(0, 0, 0, 0.03) 42%,
      rgba(0, 0, 0, 0.10) 100%
    );

  filter: blur(12px);
}

.app-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background:
    /* viñeta */
    radial-gradient(
      ellipse at center,
      transparent 38%,
      rgba(0, 0, 0, 0.34) 100%
    ),

    /* oscurecido arriba y abajo */
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.24) 0%,
      transparent 22%,
      transparent 74%,
      rgba(0, 0, 0, 0.30) 100%
    );

  opacity: 1;
}
/* Header */
.top-header {
  display: flex;
  justify-content: center;
  padding-top: 15vh;
}

.main-logo {
  display: block;
  width: min(450px, 48vw);
  height: auto;
}

/* Menú */
.home-menu {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 8vw;
  margin-top: 11vh;
}

/* Tarjeta */
.mode-card {
  position: relative;
  display: block;
  width: 230px;
  min-height: 560px;
  color: var(--text-main);
  text-decoration: none;
  outline: none;
	transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 420ms ease;
  will-change: transform;
}
.mode-card:hover {
  transform: translateY(-10px);
  filter: brightness(1.04);
}

.mode-card:hover .mode-circle::before {
  transform: rotate(360deg);
}

.mode-circle {
  position: relative;
  z-index: 3;

  width: 205px;
  height: 205px;
  margin: 0 auto -100px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle at 50% 50%,
      rgba(0, 10, 14, 0.94) 0%,
      rgba(0, 8, 14, 0.98) 62%,
      rgba(0, 0, 0, 0.98) 100%
    );

  /* círculo exterior fino */
  border: 2px solid rgba(255, 255, 255, 0.72);

  box-shadow: none;
}

/* Aro principal: cian #00f3ff degradando a negro en el último cuadrante */
.mode-circle::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 1;

  border-radius: 50%;

  background:
    conic-gradient(
      from 180deg,
      #00f3ff 0deg,
      #00f3ff 250deg,
      #00b8c0 282deg,
      #00666a 308deg,
      #00191a 330deg,
      #000000 352deg,
      #000000 360deg
    );

  -webkit-mask:
  radial-gradient(
    farthest-side,
    transparent calc(100% - 8px),
    #000 calc(100% - 7px)
  );

mask:
  radial-gradient(
    farthest-side,
    transparent calc(100% - 8px),
    #000 calc(100% - 7px)
  );

  transform: rotate(0deg);
  transition: transform 850ms ease;
}

/* Eliminamos el segundo círculo */
.mode-circle::after {
  content: none;
}

.mode-circle-inner {
  position: absolute;
  inset: 0;
  z-index: 2;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mode-kicker {
  font-size: 19px;
  line-height: 1;

  font-weight: 600;
  color: #00f3ff;
  text-align: center;
}

.mode-kicker::after {
  content: "";
  display: block;

  width: 118px;
  height: 1px;
  margin: 11px auto 4px;

  background: rgba(255, 255, 255, 0.64);
}

.mode-title {
  position: relative;

  font-size: 35px;
  line-height: 0.95;
  font-weight: 300;

  color: transparent;
  -webkit-text-stroke: 1.2px rgba(255, 255, 255, 0.94);
 
}

.mode-title::after {
  content: "";
  position: absolute;

  left: 5px;
  right: 5px;
  bottom: -11px;

  height: 1px;
  background: var(--pink-line);
  box-shadow: 0 0 6px rgba(255, 45, 80, 0.45);
}

/* Panel inferior */
.mode-panel {
  position: relative;
  z-index: 1;

  width: 205px;
  height: 470px;
  margin: 0 auto;
  padding-top: 130px;

  overflow: visible;

  background: transparent;
}

/* Degradado principal del panel */
.mode-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;

  height: 100%;
  z-index: 0;
  pointer-events: none;

  background:
    linear-gradient(
      180deg,
      rgba(0, 85, 130, 0.58) 0%,
      rgba(0, 55, 95, 0.44) 22%,
      rgba(3, 22, 48, 0.28) 48%,
      rgba(35, 0, 20, 0.16) 74%,
      rgba(35, 0, 20, 0.00) 100%
    );
}

/* Brillo superior justo bajo el círculo */
.mode-panel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;

  height: 135px;
  z-index: 0;
  pointer-events: none;

  background:
    radial-gradient(
      ellipse 100% 75% at 50% 0%,
      rgba(0, 190, 235, 0.28) 0%,
      rgba(0, 120, 180, 0.18) 38%,
      rgba(0, 70, 120, 0.08) 65%,
      transparent 100%
    );
}

/* Líneas laterales */
/* Líneas laterales */
.side-line {
  position: absolute;
  top: 125px;
  z-index: 3;

  width: 3px;
  height: 290px;

  background:
    linear-gradient(
      180deg,
      rgba(240, 252, 255, 1) 0%,
      rgba(190, 245, 255, 1) 62%,
      rgba(255, 205, 255, 0.96) 100%
    );

  box-shadow:
    0 0 3px rgba(255, 255, 255, 0.55),
    0 0 8px rgba(0, 245, 255, 0.38),
    0 0 14px rgba(0, 95, 255, 0.18);
}

.side-line-left {
  left: 25px;
}

.side-line-right {
  right: 25px;
}

/* Flechas SVG */
/* Flechas SVG */
.chevrons {
  position: relative;
  z-index: 3;

  display: block;
  width: 82px;
  height: auto;

  margin-left: auto;
  margin-right: auto;

  filter:
    drop-shadow(0 0 2px rgba(255, 255, 255, 0.55))
    drop-shadow(0 0 5px rgba(0, 245, 255, 0.38))
    drop-shadow(0 0 10px rgba(0, 115, 255, 0.18));
}

.chevrons-up {
  margin-bottom: 10px;
}

.chevrons-down {
  margin-top: 12px;
}

/* Icono infinito */
.mode-icon {
  position: relative;
  z-index: 3;

  width: 84px;
  height: 84px;
  margin: 0 auto;

  border-radius: 50%;
  display: grid;
  place-items: center;

  background:
    radial-gradient(
      circle at 50% 45%,
      rgba(6, 10, 22, 0.96),
      rgba(0, 0, 0, 0.90) 72%
    );

  border: 2px solid rgba(0, 243, 255, 0.98);

  box-shadow:
    0 0 4px rgba(0, 243, 255, 0.70),
    0 0 10px rgba(0, 243, 255, 0.38),
    inset 0 0 10px rgba(0, 245, 255, 0.08);
}

.mode-icon::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.44);
  pointer-events: none;
}

.mode-icon img {
  display: block;
  width: 48px;
  height: auto;

  filter:
    drop-shadow(0 0 2px rgba(255, 255, 255, 0.55))
    drop-shadow(0 0 5px rgba(0, 170, 255, 0.32));
}
/* Ajuste individual del icono del segundo destacado: EXAMEN */
.mode-card-exam .mode-icon img {
  transform: translateY(-4px);
}

/* Ajuste individual del icono del tercer destacado: REPORTES */
.mode-card-reports .mode-icon img {
  width: 38px;
}

/* Opcional: si al hacerlo más pequeño queda un poco bajo */
.mode-card-reports .mode-icon img {
  transform: translateY(-1px);
}

/* Pantalla simulador */
.simulator-screen {
  min-height: 100vh;
  padding: 32px 2.5vw 32px;
}

/* Cabecera */
.sim-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
	max-width: 2000px;
	margin: 0 auto;
  gap: 1.4vw;
}

.sim-logo {
  display: block;
  width: clamp(180px, 15vw, 280px);
  height: auto;
  flex: 0 0 auto;
}

.practice-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
  text-align: right;
  color: rgba(255, 255, 255, 0.94);
}

.practice-heading span {
  font-family: var(--font-base);
  font-size: clamp(18px, 1.2vw, 20px);
  line-height: 1;
  font-weight: 300;
}

.practice-heading strong {
  position: relative;
  font-family: var(--font-base);
  font-size: clamp(20px, 1.4vw, 20px);
  line-height: 1;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
}

.practice-heading strong::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  width: 1px;
  height: 28px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.45);
}

/* Layout principal */
.sim-layout {
  display: grid;
  grid-template-columns: 1fr 1.34fr 0.88fr;
  gap: 1.4vw;
  max-width: 2000px;
  margin: 28px auto 0;
}

.sim-block {
  position: relative;
  min-height: 140px;
  padding: 18px 22px;
  color: #fff;
  overflow: hidden;
  isolation: isolate;

  /*
    Fondo casi neutro: deja ver el color real del app-bg.
    La caja ya no impone tanto azul.
  */
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.035) 0%,
      rgba(255, 255, 255, 0.018) 42%,
      rgba(255, 255, 255, 0.000) 100%
    );
}



/* Líneas muy sutiles */
.sim-block::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;

  opacity: 0.72;

  background:
    /* línea superior con color ambiental */
    linear-gradient(
      90deg,
      rgba(0, 210, 230, 0.32) 0%,
      rgba(235, 250, 255, 0.34) 42%,
      rgba(125, 35, 95, 0.32) 100%
    ) top left / 100% 2px no-repeat,

    /* halo superior */
    linear-gradient(
      90deg,
      rgba(0, 210, 230, 0.08) 0%,
      rgba(235, 250, 255, 0.07) 42%,
      rgba(125, 35, 95, 0.08) 100%
    ) top left / 100% 4px no-repeat,

    /* línea izquierda corta */
    linear-gradient(
      180deg,
      rgba(0, 210, 230, 0.34) 0%,
      rgba(0, 210, 230, 0.34) 10%,
      transparent 10%,
      transparent 100%
    ) left top / 2px 100% no-repeat,

    /* halo izquierda */
    linear-gradient(
      180deg,
      rgba(0, 210, 230, 0.08) 0%,
      rgba(0, 210, 230, 0.08) 10%,
      transparent 10%,
      transparent 100%
    ) left top / 4px 100% no-repeat,

    /* línea derecha degradada */
    linear-gradient(
      180deg,
      rgba(125, 35, 95, 0.36) 0%,
      rgba(95, 45, 100, 0.22) 48%,
      rgba(40, 70, 105, 0.08) 78%,
      transparent 100%
    ) right top / 2px 100% no-repeat,

    /* halo derecha */
    linear-gradient(
      180deg,
      rgba(125, 35, 95, 0.10) 0%,
      rgba(95, 45, 100, 0.06) 48%,
      transparent 100%
    ) right top / 4px 100% no-repeat;
}

.callsign-block {
  min-height: 140px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  padding: 28px 34px 32px;
}

.callsign-label {
  font-family: var(--font-base);
  font-size: clamp(14px, 1.25vw, 22px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.92);
  text-transform: uppercase;
  white-space: nowrap;
}

.callsign-value {
  font-family: var(--font-base);
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1;
  font-weight: 900;
  color: #fff;
  white-space: nowrap;
}

/* bloque radio */
.radio-block {
  padding: 34px 34px 38px;
}

.radio-action {
  position: relative;
  z-index: 3;

  width: 100%;
  max-width: 560px;
  height: 150px;

  display: grid;
  grid-template-columns: 112px 1fr;
  align-items: center;

  padding: 0 40px 0 28px;

  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: center;
  color: #fff;
}

.radio-action-border {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: fill;
  pointer-events: none;

  opacity: 0.7;

}

.radio-action-circle {
  position: relative;
  z-index: 2;

  width: 112px;
  height: 112px;
  flex: 0 0 112px;

  display: grid;
  place-items: center;

  border-radius: 50%;
  border: 2px solid rgba(0, 243, 255, 0.98);

  background:
    radial-gradient(
      circle at 50% 55%,
      rgba(120, 0, 60, 0.34) 0%,
      rgba(75, 0, 45, 0.18) 28%,
      rgba(20, 5, 22, 0.08) 54%,
      rgba(2, 6, 18, 0.00) 78%
    );

  box-shadow:
    0 0 4px rgba(0, 243, 255, 0.70),
    0 0 10px rgba(0, 243, 255, 0.38),
    inset 0 0 10px rgba(0, 245, 255, 0.08);
}

/* quitamos la línea interior blanca */
.radio-action-circle::before {
  content: none;
}

.radio-action-icon {
  position: relative;
  z-index: 2;

  width: 65px;
  height: 65px;
  object-fit: contain;

  filter:
    drop-shadow(0 0 2px rgba(255, 255, 255, 0.60))
    drop-shadow(0 0 6px rgba(0, 243, 255, 0.18));
}

.radio-talk-text {
  position: relative;
  z-index: 2;

  display: block;
  justify-self: center;
  text-align: center;

  font-family: var(--font-base);
  font-size: clamp(18px, 1.7vw, 28px);
  line-height: 1.06;

  color: rgba(255, 255, 255, 1);
	
  transform: translateY(-20px);
}

.radio-talk-text span {
  display: block;
  font-weight: 300;
}

.radio-talk-text strong {
  display: block;
  margin-top: 4px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.96);
}

/* hover */
.radio-action:hover .radio-action-circle {
  box-shadow:
    0 0 6px rgba(0, 243, 255, 0.85),
    0 0 16px rgba(0, 243, 255, 0.48),
    inset 0 0 12px rgba(0, 245, 255, 0.12);
}

.radio-action:hover .radio-talk-text {
  color: rgba(255, 255, 255, 1);
}

.radio-action:hover .radio-talk-text strong {
  color: #fff;
}

.radio-action--active .radio-action-circle {
  border-color: rgba(0, 255, 214, 0.98);
  box-shadow:
    0 0 8px rgba(0, 255, 214, 0.92),
    0 0 22px rgba(0, 255, 214, 0.58),
    inset 0 0 16px rgba(0, 255, 214, 0.18);
}

.radio-action--active .radio-action-icon {
  filter:
    drop-shadow(0 0 4px rgba(255, 255, 255, 0.92))
    drop-shadow(0 0 12px rgba(0, 255, 214, 0.54));
}

.radio-action--active .radio-talk-text,
.radio-action--active .radio-talk-text strong {
  color: #fff;
}

.radio-action--active .radio-talk-text strong:empty {
  display: none;
}

.radio-content {
  position: relative;
  z-index: 3;

  display: grid;
  grid-template-columns: minmax(0, 1fr) 32%;
  align-items: end;
  gap: 24px;
	
	top: -30px;
}

.radio-title {
  margin: 0 0 28px;

  font-family: var(--font-base);
  font-size: clamp(14px, 1.45vw, 22px);
  line-height: 1.08;
  font-weight: 900;
  color: #fff;
}

.radio-list {
  display: grid;
  gap: 15px;
  margin: 0;
}

.radio-row {
  display: grid;
  grid-template-columns: 135px 1fr;
  align-items: center;
  gap: 12px;
}

.radio-row dt {
  font-family: var(--font-base);
  font-size: clamp(12px, 1.35vw, 18px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.92);
}

.radio-row dd {
  margin: 0;
  display: flex;
  align-items: center;
}

.radio-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 3px 10px;

  border: 1px solid rgba(230, 245, 255, 0.56);
  border-radius: 10px;

  background: rgba(5, 10, 24, 0.22);
  color: #fff;

  font-family: var(--font-base);
  font-size: clamp(12px, 1.05vw, 18px);
  font-weight: 900;
  line-height: 1;
}

.radio-frequency {
  gap: 10px;
  cursor: pointer;
}

.radio-frequency:hover {
  border-color: rgba(255, 255, 255, 0.88);
  box-shadow:
    0 0 8px rgba(0, 243, 255, 0.28);
}

.radio-edit-icon {
  font-size: 0.86em;
  line-height: 1;
  opacity: 0.9;
}

.radio-stepper {
  gap: 8px;
  font-size: clamp(12px, 1.15vw, 18px);
  line-height: 1;
}

.radio-stepper strong {
  color: #fff;
  font-weight: 900;
}

.radio-stepper span {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 900;
}

.radio-stepper button {
  width: 30px;
  height: 28px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(230, 245, 255, 0.56);
  border-radius: 9px;

  background: rgba(5, 10, 24, 0.34);
  color: #fff;

  font-size: 22px;
  line-height: 1;

  cursor: pointer;
  font-weight: 900;
  padding-bottom: 4px;
}

.radio-stepper button:hover {
  border-color: rgba(255, 255, 255, 0.86);
  box-shadow:
    0 0 8px rgba(0, 243, 255, 0.28);
}

.signal-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 22px;
  margin-bottom: 8px;
}

.signal-bars span {
  display: block;
  width: 5px;
  border-radius: 2px 2px 0 0;
  background: rgba(255, 255, 255, 1);
}

.signal-bars span:nth-child(1) {
  height: 4px;
}

.signal-bars span:nth-child(2) {
  height: 10px;
}

.signal-bars span:nth-child(3) {
  height: 16px;
}

.signal-bars span:nth-child(4) {
  height: 22px;
	background: rgba(255, 255, 255, 0.5);
}

.radio-device {
  width: min(190px, 100%);
  justify-self: end;
  align-self: end;

  filter:
    drop-shadow(0 14px 18px rgba(0, 0, 0, 0.38));
}

/* botones control */
.practice-status {
  position: relative;
  z-index: 3;
}

.timer-block {
  min-height: 110px;
  padding: 0;

  display: grid;
  grid-template-columns: 0.9fr 0.85fr 1.15fr;
  align-items: center;

  width: 100%;
  max-width: 100%;
}

.timer-cell {
  position: relative;
  z-index: 3;

  min-height: 100px;
  padding: 16px 20px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  min-width: 0;
}

.timer-cell:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 22px;
  bottom: 22px;

  width: 1px;
  background: rgba(255, 255, 255, 0.58);
}

.timer-label {
  display: block;

  font-family: var(--font-base);
  font-size: clamp(15px, 0.95vw, 22px);
  line-height: 1;
  font-weight: 300;

  color: rgba(255, 255, 255, 0.86);
}

.timer-value {
  display: block;
  margin-top: 14px;

  font-family: var(--font-base);
  font-size: clamp(34px, 2.6vw, 54px);
  line-height: 0.9;
  font-weight: 900;

  color: #fff;
}

.pause-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;

  width: 100%;

  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.pause-button img {
  display: block;
  width: 42px;
  height: 42px;

  opacity: 0.92;

  filter:
    drop-shadow(0 0 3px rgba(255, 255, 255, 0.45))
    drop-shadow(0 0 7px rgba(0, 110, 255, 0.28));
}
.pause-button:hover img {
  opacity: 1;
  filter:
    drop-shadow(0 0 4px rgba(255, 255, 255, 0.75))
    drop-shadow(0 0 10px rgba(0, 110, 255, 0.55));
}

.timer-end {
  align-items: center;
}

.end-button {
  width: min(170px, 100%);
  min-height: 54px;

  border: 2px solid rgba(220, 245, 255, 0.82);
  border-radius: 14px;

  background: rgba(5, 10, 24, 0.18);
  color: #fff;

  font-family: var(--font-base);
  font-size: clamp(18px, 1.25vw, 28px);
  line-height: 1;
  font-weight: 900;

  cursor: pointer;

  box-shadow:
    0 0 4px rgba(255, 255, 255, 0.38),
    0 0 9px rgba(0, 110, 255, 0.24),
    inset 0 0 8px rgba(0, 110, 255, 0.06);
}

.end-button:hover {
  border-color: #fff;
  box-shadow:
    0 0 6px rgba(255, 255, 255, 0.72),
    0 0 14px rgba(0, 150, 255, 0.45),
    inset 0 0 10px rgba(0, 110, 255, 0.14);
}

.start-exercise-button {
  width: auto;
  min-width: 0;
  max-width: none;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 42px;
  margin-top: 30px;
  background: rgba(5, 10, 24, 0.18);
  text-transform: uppercase;
}

.start-exercise-container {
  display: flex;
  justify-content: center;
}

.start-exercise-wrap.is-hidden {
  display: none;
}

.is-disabled,
.radio-action:disabled,
.pause-button:disabled,
.end-button:disabled {
  opacity: 0.42;
  cursor: default;
  pointer-events: none;
}

.radio-action:disabled .radio-action-circle,
.pause-button:disabled img,
.end-button:disabled {
  box-shadow: none;
  filter: none;
}

.practice-status,
.timer-block,
.timer-cell,
.end-button {
  box-sizing: border-box;
}

.practice-status {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
/* parte central */
.sim-column-center {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.sim-column-left {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-self: start;
}

/* Bloque dependencia */
.dependency-block {
  min-height: 140px;
  padding: 24px 32px 24px;
}

.dependency-heading {
  position: relative;
  z-index: 3;

  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.dependency-title {
  display: flex;
  align-items: baseline;
  gap: 14px;

  font-family: var(--font-base);
  line-height: 1;
  text-transform: uppercase;
	font-size: clamp(14px, 1.2vw, 18px);
}

.dependency-title span {
  font-weight: 300;
  color: rgba(255, 255, 255, 0.78);
}

.dependency-title strong {
  font-weight: 900;
  color: #fff;
}

.dependency-speaker {
  width: 42px;
  height: 42px;
  object-fit: contain;
  opacity: 0.88;
}

.dependency-line {
  position: relative;
  z-index: 3;

  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 18px;

  margin-top: 10px;
}

.dependency-tower {
  width: 50px;
  height: 50px;
  object-fit: contain;
  opacity: 0.92;
}

.dependency-line span {
  display: block;
  height: 1px;
  background: rgba(255, 255, 255, 0.58);
}

.dependency-audio {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 20px;
  display: flex;
  align-items: center;
}

.dependency-audio-line {
  width: 100%;
}

.dependency-line-track {
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.58);
}

.audio-waveform {
  position: absolute;
  inset: 50% 0 auto 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  width: 100%;
  height: 60px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
  overflow: hidden;
}

.audio-waveform--active {
  opacity: 1;
}

.audio-waveform--silent {
  opacity: 0;
}

.audio-waveform-bar {
  flex: 1 1 0;
  min-width: 1px;
  max-width: 2px;
  height: 2px;
  border-radius: 999px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98) 0%,
      var(--wave-accent, rgba(0, 243, 255, 1)) 40%,
      var(--wave-low, rgba(0, 140, 255, 0.82)) 100%
    );
  box-shadow:
    0 0 4px var(--wave-glow, rgba(0, 243, 255, 0.22)),
    0 0 8px var(--wave-low, rgba(0, 140, 255, 0.12));
  filter: saturate(1.12) brightness(1.04);
  transform-origin: center center;
  transition: height 70ms linear, opacity 90ms ease;
}

.mic-error-message {
  margin: 10px 0 0 60px;
  font-size: clamp(12px, 0.84vw, 14px);
  line-height: 1.35;
  color: rgba(255, 148, 148, 0.96);
}

/* Bloque comunicaciones */
.comms-block {
  min-height: 100%;
  padding: 34px 44px 38px;
}

.situation-section,
.communications-section {
  position: relative;
  z-index: 3;
}

.situation-section h2,
.communications-section h2 {
  margin: 0 0 20px;

  font-family: var(--font-base);
  font-size: clamp(14px, 1.35vw, 22px);
  line-height: 1;
  font-weight: 500;
  color: #fff;
}

.situation-section p {
  max-width: 92%;
  margin: 0;

  font-family: var(--font-base);
  font-size: clamp(12px, 0.98vw, 18px);
  line-height: 1.25;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.95);
}

/* Datos dinámicos de la contingencia dentro de SITUACIÓN.
   Presentación compacta en línea. */
.situation-data {
  position: relative;
  z-index: 3;

  max-width: 100%;
  margin: 12px 0 0;

  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
}

.situation-data div {
  display: inline-flex;
  align-items: baseline;
}

.situation-data div:not(:last-child)::after {
  content: " | ";
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.45);
}

.situation-data dt {
  margin: 0 4px 0 0;

  font-family: var(--font-base);
  font-size: clamp(12px, 0.85vw, 15px);
  line-height: 1.3;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}

.situation-data dt::after {
  content: ":";
}

.situation-data dd {
  margin: 0;

  font-family: var(--font-base);
  font-size: clamp(12px, 0.85vw, 15px);
  line-height: 1.3;
  font-weight: 400;
  color: #fff;
}

.communications-section {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.34);
	height: 100%;
}

.communications-panel.is-hidden {
  display: none;
}

.exercise-complete-panel {
  position: relative;
  z-index: 3;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.34);
}

.exercise-complete-panel.is-hidden {
  display: none;
}

.mission-assessment-panel {
  margin-bottom: 22px;
  text-align: center;
}

.mission-assessment-panel.is-hidden {
  display: none;
}

.mission-assessment-title {
  font-family: var(--font-base);
  font-size: clamp(13px, 1.1vw, 16px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 6px;
}

.mission-assessment-global-score {
  font-family: var(--font-base);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: #7fd6ff;
  margin: 0 0 16px;
}

.mission-assessment-segments {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mission-assessment-segment-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-base);
  font-size: clamp(12px, 1vw, 15px);
  color: rgba(255, 255, 255, 0.9);
}

.mission-assessment-segment-score {
  font-weight: 700;
  color: #7fd6ff;
}

.mission-assessment-meta {
  font-family: var(--font-base);
  font-size: clamp(11px, 0.9vw, 14px);
  color: rgba(255, 255, 255, 0.75);
  margin: 4px 0;
}

.exercise-complete-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.exercise-complete-save {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-base);
  font-size: clamp(12px, 1vw, 16px);
  color: rgba(255, 255, 255, 0.9);
}

.exercise-complete-save input {
  width: 16px;
  height: 16px;
  accent-color: #7fd6ff;
}

.communications-log {
  position: relative;
  z-index: 3;
  padding-top: 16px;
}

.communications-empty {
  margin: 0;
  font-size: clamp(12px, 0.98vw, 16px);
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.72);
}

.communications-empty-state {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  padding: 36px 44px 24px 8px;
}

.communications-empty-icon {
  width: 110px;
  height: 110px;
  flex: 0 0 auto;
  opacity: 0.9;
}

.communications-empty-text {
  font-size: clamp(22px, 1.9vw, 28px);
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.critical-alerts {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
}

.notices-block {
  min-height: 150px;
  padding: 26px 28px 28px;
}

.notices-block.has-alerts {
  padding: 0;
}

.notices-block.has-alerts .weather-alert {
  margin: 0;
}

.notices-block.no-alerts {
  padding: 0px 0px;
}

.notices-block h2 {
  position: relative;
  z-index: 3;
  margin: 0 0 20px;
  font-family: var(--font-base);
  font-size: clamp(14px, 1.45vw, 28px);
  line-height: 1;
  font-weight: 700;
  color: #fff;
}

.notices-empty {
  position: relative;
  z-index: 3;
  margin: 0;
  font-size: clamp(13px, 0.95vw, 18px);
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.82);
}

.alerts-empty-state {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 110px;
  padding: 22px 28px;
}

.alerts-empty-icon {
  width: 70px;
  height: 70px;
  object-fit: contain;
  flex: 0 0 auto;
}

.alerts-empty-text {
  max-width: 75%;
  font-size: clamp(13px, 0.9vw, 18px);
  line-height: 1.25;
  font-weight: 500;
  text-transform: uppercase;
  color: #fff;
}

.notices-list {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 14px;
}

.notices-active-alert {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 140px;
  padding: 28px 34px;
  border: 1px solid rgba(255, 42, 42, 0.72);
  background:
    linear-gradient(
      180deg,
      rgba(116, 12, 22, 0.94) 0%,
      rgba(77, 12, 22, 0.9) 52%,
      rgba(26, 18, 28, 0.92) 100%
    );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.notices-active-alert-icon {
  width: clamp(70px, 6.5vw, 112px);
  height: clamp(70px, 6.5vw, 112px);
  object-fit: contain;
  flex: 0 0 auto;
}

.notices-active-alert-text {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.notices-active-alert-text p {
  margin: 0;
  font-size: clamp(22px, 1.6vw, 36px);
  line-height: 1.15;
  font-weight: 700;
  color: #fff;
}

.communications-section h2 {
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
  margin-bottom: 0;
}

.comms-list {
  height: 100%;
  overflow-y: auto;

  padding-right: 10px;
  margin-right: -16px;

  scrollbar-width: thin;
  scrollbar-color: rgba(0, 130, 190, 0.75) transparent;
}

/* Chrome / Edge / Safari */
.comms-list::-webkit-scrollbar {
  width: 8px;
}

.comms-list::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 999px;
}

.comms-list::-webkit-scrollbar-thumb {
  background:
    linear-gradient(
      180deg,
      rgba(0, 210, 230, 0.72) 0%,
      rgba(0, 110, 180, 0.58) 48%,
      rgba(120, 35, 110, 0.52) 100%
    );
  border-radius: 999px;
}

.comms-list::-webkit-scrollbar-thumb:hover {
  background:
    linear-gradient(
      180deg,
      rgba(0, 230, 255, 0.88) 0%,
      rgba(0, 130, 200, 0.72) 48%,
      rgba(150, 45, 130, 0.68) 100%
    );
}

.comms-list::-webkit-scrollbar-button {
  width: 0;
  height: 0;
  display: none;
}

/* Mensajes */
.comm-message {
  position: relative;
  padding: 15px 0;
  border-bottom: 0;
}

.comm-message::after {
  content: "";
  position: absolute;
  left: 0;
  right: 18px;
  bottom: 0;

  height: 1px;
  background: rgba(255, 255, 255, 0.30);
}

.comm-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
  flex-wrap: wrap;
}

.comm-meta time {
  font-size: clamp(13px, 0.85vw, 18px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.92);
}

.comm-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 22px;
  padding: 2px 10px;

  border-radius: 999px;
  background: rgba(0, 120, 160, 0.80);

  font-size: clamp(12px, 0.78vw, 16px);
  line-height: 1;
  font-weight: 400;
  color: #fff;
}

.comm-message p {
  margin: 0;
  font-size: clamp(12px, 0.98vw, 16px);
  line-height: 1.35;
  color: #fff;
}

.comm-body {
  display: grid;
  gap: 10px;
}

.comm-status {
  color: rgba(255, 255, 255, 0.74);
  font-style: italic;
}

.comm-audio-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  margin-left: 2px;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: transform 140ms ease, filter 140ms ease, opacity 140ms ease;
}

.comm-audio-button:hover {
  transform: scale(1.05);
  filter: brightness(1.08);
}

.comm-audio-button.is-playing {
  filter: brightness(1.12);
}

.comm-audio-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  opacity: 0.94;
}

.comm-row {
  display: grid;
  grid-template-columns: 1fr 46px;
  align-items: center;
  gap: 20px;
}

.comm-result-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
	margin-top: -20px;
}

/* Variantes */
.comm-atc .comm-badge {
  background: rgba(0, 112, 160, 0.82);
}

.comm-student .comm-badge {
  background: rgba(0, 110, 66, 0.86);
}

.comm-good p {
  color: #2ed95c;
  font-weight: 700;
}

.comm-bad p {
  color: #ff6336;
  font-weight: 700;
}

/* Aviso */
.comm-alert {
  position: relative;

  display: flex;
  align-items: center;
  gap: 26px;

  margin: 10px 18px 10px 0;
  padding: 14px 28px;

  background:
    linear-gradient(
      90deg,
      rgba(105, 0, 30, 0.88) 0%,
      rgba(120, 0, 35, 0.82) 48%,
      rgba(85, 0, 28, 0.55) 100%
    );

  color: #fff;
}
.comm-alert::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0px;
  bottom: -11px;

  height: 1px;
  background: rgba(255, 255, 255, 0.30);
  pointer-events: none;
}
.comm-alert img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.comm-alert strong {
  font-size: clamp(12px, 0.95vw, 16px);
  line-height: 1.25;
  font-weight: 700;
}

/* columna derecha */
.sim-column-right {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-self: start;
}

/* PLAN DE OPERACIONES */
.plan-block {
  min-height: 410px;
  padding: 34px 42px 38px;
}

.plan-block h2,
.weather-block h2 {
  position: relative;
  z-index: 3;

  margin: 0 0 30px;

  font-family: var(--font-base);
  font-size: clamp(14px, 1.45vw, 28px);
  line-height: 1;
  font-weight: 700;
  color: #fff;
}

.plan-list {
  position: relative;
  z-index: 3;

  display: grid;
  gap: 14px;
  margin: 0;
}

.plan-list div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-items: baseline;
}

.plan-list dt {
  font-family: var(--font-base);
  font-size: clamp(13px, 0.95vw, 18px);
  line-height: 1.1;
  font-weight: 300;
  color: rgba(255, 255, 255, 1);
  text-transform: uppercase;
}

.plan-list dd {
  margin: 0;

  font-family: var(--font-base);
  font-size: clamp(13px, 0.95vw, 18px);
  line-height: 1.15;
  font-weight: 900;
  color: #fff;
}

/* Subtítulo de bloque del PLAN DE OPERACIONES (BLOQUE 2). Etiqueta de
   sección discreta; no altera el estilo de las filas dt/dd. */
.plan-section {
  position: relative;
  z-index: 3;

  margin: 22px 0 12px;

  font-family: var(--font-base);
  font-size: clamp(12px, 0.85vw, 16px);
  line-height: 1;
  font-weight: 900;
  color: rgba(255, 255, 255, 1);
  text-transform: uppercase;
	border-bottom: thin solid white;
padding-bottom: 10px;
}

.plan-block .plan-section:first-of-type {
  margin-top: 0;
}

.plan-objective {
  position: relative;
  z-index: 3;

  margin-top: 20px;
}

.plan-objective span {
  display: block;
  margin-bottom: 10px;

  font-size: clamp(13px, 0.95vw, 18px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.78);
  text-transform: uppercase;
}

.plan-objective p {
  margin: 0;
  max-width: 92%;

  font-size: clamp(13px, 0.95vw, 18px);
  line-height: 1.25;
  font-weight: 300;
  color: #fff;
}

/* METEOROLOGÍA */
.weather-block {
  min-height: 165px;
  padding: 26px 28px 28px;
}

.weather-block h2 {
  margin-bottom: 24px;
}

.weather-grid {
  position: relative;
  z-index: 3;

  display: grid;
  grid-template-columns: 0.9fr 1px 0.85fr 1px 0.9fr;
  align-items: center;
  gap: 20px;
}
.weather-temp strong {
  display: block;

  font-size: clamp(44px, 4vw, 76px);
  line-height: 0.85;
  font-weight: 900;
  color: #fff;
}

.weather-separator {
  width: 1px;
  height: 70px;
  background: rgba(255, 255, 255, 0.72);
}

.weather-icon img {
  display: block;
  width: clamp(50px, 4.3vw, 78px);
  height: auto;
	margin: 0 auto;

  filter:
    drop-shadow(0 0 3px rgba(255, 255, 255, 0.30));
}

.weather-wind {
  --wind-direction: 0deg;

  position: relative;
  width: clamp(82px, 5.2vw, 104px);
  height: clamp(82px, 5.2vw, 104px);
  margin: 0 auto;
  flex: 0 0 auto;
}

.weather-wind-bg {
  position: absolute;
  inset: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  object-fit: contain;
  z-index: 1;
  opacity: 0.82;
}

.weather-wind-needle {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 2;
  transform: rotate(var(--wind-direction));
  transform-origin: center center;
  pointer-events: none;
}

.weather-wind-center {
  position: absolute;
  inset: 0;
  z-index: 3;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  color: #fff;
  text-align: center;
}

.weather-wind-speed {
  display: block;
  font-size: clamp(18px, 2vw, 32px);
  line-height: 0.85;
  font-weight: 900;
}

.weather-wind-unit {
  display: block;
  font-size: clamp(10px, 0.72vw, 14px);
  font-weight: 400;
}
/* AVISO METEO */
.weather-alert {
  position: relative;

  display: flex;
  align-items: center;
  gap: 22px;

  min-height: 110px;
  padding: 22px 28px;

  color: #fff;
  overflow: hidden;

  background:
    linear-gradient(
      180deg,
      rgba(125, 0, 35, 0.72) 0%,
      rgba(85, 0, 32, 0.54) 48%,
      rgba(35, 5, 18, 0.28) 100%
    );
}

/* Bordes estilo sim-block, pero en rojo */
.weather-alert::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;

  background:
    /* línea superior */
    linear-gradient(
      90deg,
      rgba(255, 40, 70, 0.72),
      rgba(255, 85, 105, 0.46),
      rgba(255, 40, 70, 0.28)
    ) top left / 100% 1px no-repeat,

    /* línea izquierda corta */
    linear-gradient(
      180deg,
      rgba(255, 40, 70, 0.78) 0%,
      rgba(255, 40, 70, 0.78) 18%,
      transparent 18%,
      transparent 100%
    ) left top / 1px 100% no-repeat,

    /* línea derecha completa degradada */
    linear-gradient(
      180deg,
      rgba(255, 40, 70, 0.56) 0%,
      rgba(180, 35, 75, 0.24) 56%,
      rgba(120, 20, 55, 0.06) 82%,
      transparent 100%
    ) right top / 1px 100% no-repeat;
}

.weather-alert img {
  position: relative;
  z-index: 3;

  width: 70px;
  height: 70px;
  object-fit: contain;
}

.weather-alert strong {
  position: relative;
  z-index: 3;

  max-width: 75%;

  font-size: clamp(13px, 0.9vw, 18px);
  line-height: 1.25;
  font-weight: 500;
}
/* Responsive */
@media (max-width: 900px) {
  .top-header {
    padding-top: 8vh;
  }

  .main-logo {
    width: min(350px, 78vw);
  }

  .home-menu {
    margin-top: 8vh;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .home-menu {
    flex-direction: column;
    align-items: center;
    margin-top: 6vh;
    padding-bottom: 60px;
  }
}
/* =========================================================
   LISTADO DE PRÁCTICAS
   ========================================================= */

.practice-list-screen {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 32px 2.5vw 70px;
  overflow: visible;
}

.practice-list-container {
  width: 90%;
  max-width: 1200px;
  min-height: 0;
  margin: 30px auto 0;
  padding: 0;
  text-align: left;
}

/* Cerrar */
.practice-list-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  margin: 0 auto 60px;
  border: 0;
  text-decoration: none;
  background: transparent;
  transition: transform 180ms ease;
}

.practice-list-close:hover {
  transform: scale(1.04);
}

.practice-list-close-icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 1;
  filter:
    brightness(0)
    invert(1)
    drop-shadow(0 0 4px rgba(255, 255, 255, 0.60))
    drop-shadow(0 0 10px rgba(120, 160, 255, 0.20));
  transition:
    filter 180ms ease,
    opacity 180ms ease;
}

.practice-list-close:hover .practice-list-close-icon {
  filter:
    brightness(0)
    invert(1)
    drop-shadow(0 0 8px rgba(255, 255, 255, 0.85))
    drop-shadow(0 0 18px rgba(0, 243, 255, 0.30));
}

/* =========================================================
   CABECERA DEL LISTADO
   ========================================================= */

.practice-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
}

.practice-list-title {
  margin: 0;
  font-family: var(--font-base);
  font-size: clamp(30px, 2.3vw, 44px);
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
}

.practice-list-separator {
  width: 100%;
  height: 1px;
  margin: 28px 0 0;
  background: rgba(255, 255, 255, 0.60);
}

/* Ajustes del listado: dificultad global (FÁCIL | DIFÍCIL) + Ayuda.
   La dificultad se elige aquí, antes de entrar a una práctica. */
.practice-list-settings {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 0 0 auto;
}

.practice-difficulty {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.practice-difficulty-label {
  font-family: var(--font-base);
  font-size: clamp(18px, 1.3vw, 20px);
  line-height: 1;
  font-weight: 300;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.96);
}

.practice-difficulty-option {
  font-family: var(--font-base);
  font-size: clamp(13px, 0.95vw, 16px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 7px 16px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.12s, background-color 0.12s, border-color 0.12s;
}

.practice-difficulty-option:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.practice-difficulty-option.is-active {
  color: #0b2a4a;
  background: #fff;
  border-color: #fff;
}

/* =========================================================
   AYUDA
   ========================================================= */

.practice-help-toggle {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
  cursor: pointer;
  user-select: none;
}

.practice-help-label {
  font-family: var(--font-base);
  font-size: clamp(18px, 1.3vw, 20px);
  line-height: 1;
  font-weight: 300;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.96);
}

.practice-help-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.practice-help-switch {
  position: relative;
  display: block;
  width: 60px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.20);
  transition:
    background 180ms ease,
    box-shadow 180ms ease;
}

.practice-help-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.28);
  transition: transform 180ms ease;
}

.practice-help-input:checked + .practice-help-switch {
  background: #0686ce;
  box-shadow: 0 0 8px rgba(0, 145, 220, 0.18);
}

.practice-help-input:checked + .practice-help-switch::after {
  transform: translateX(32px);
}

.practice-help-input:focus-visible + .practice-help-switch {
  outline: 2px solid #fff;
  outline-offset: 5px;
}

/* =========================================================
   LISTADO
   ========================================================= */

.practice-list {
  list-style: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

.practice-list-item {
  width: 100%;
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

/* Categorías sin subprácticas */
.practice-list-link {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 90px;
  padding: 18px 0;
  color: rgba(255, 255, 255, 0.96);
  text-decoration: none;
  font-family: var(--font-base);
  font-size: clamp(18px, 1.45vw, 24px);
  line-height: 1.12;
  font-weight: 300;
  text-transform: uppercase;
  transition:
    color 180ms ease,
    text-shadow 180ms ease,
    font-weight 180ms ease;
}

.practice-list-link:hover {
  color: #fff;
  font-weight: 900;
  text-shadow: 0 0 10px rgba(0, 243, 255, 0.18);
}

/* =========================================================
   CATEGORÍAS DESPLEGABLES
   ========================================================= */

.practice-category-details {
  width: 100%;
}

.practice-category-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
  min-height: 90px;
  padding: 18px 16px 18px 0;
  list-style: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.96);
}

.practice-category-summary::-webkit-details-marker {
  display: none;
}

.practice-category-summary::marker {
  content: "";
}

.practice-category-title {
  font-family: var(--font-base);
  font-size: clamp(18px, 1.45vw, 24px);
  line-height: 1.12;
  font-weight: 300;
  text-transform: uppercase;
  transition:
    font-weight 180ms ease,
    color 180ms ease;
}

.practice-category-details.is-open .practice-category-title {
  font-weight: 900;
}

/* =========================================================
   FLECHA
   ========================================================= */

.practice-category-chevron {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin-right: 4px;
  border-right: 3px solid rgba(255, 255, 255, 0.96);
  border-bottom: 3px solid rgba(255, 255, 255, 0.96);
  transform: rotate(-45deg);
  transition: transform 220ms ease;
}


/* =========================================================
   PRÁCTICAS INTERNAS
   ========================================================= */

.practice-focus-options {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  max-height: 0;
  transform: translateY(-8px);
  transition:
    max-height 350ms cubic-bezier(0.22, 1, 0.36, 1),
    padding-bottom 350ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms ease,
    transform 350ms cubic-bezier(0.22, 1, 0.36, 1);
}
.practice-category-details.is-open .practice-focus-options {
  padding-bottom: 34px;
  opacity: 1;
  transform: translateY(0);
}
.practice-category-details.is-open .practice-category-title {
  font-weight: 900;
}

.practice-category-chevron {
  transition: transform 350ms cubic-bezier(0.22, 1, 0.36, 1);
}

.practice-category-details.is-open .practice-category-chevron {
  transform: rotate(45deg);
}

.practice-focus-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 300px;
  min-height: 52px;
  padding: 9px 30px;
  border: 1px solid rgba(245, 250, 255, 0.94);
  border-radius: 18px;
  background: rgba(4, 10, 24, 0.12);
  color: rgba(255, 255, 255, 0.96);
  text-decoration: none;
  font-family: var(--font-base);
  font-size: clamp(14px, 1.05vw, 18px);
  line-height: 1;
  font-weight: 300;
  text-align: center;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    font-weight 180ms ease;
}

.practice-focus-option:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(0, 130, 190, 0.07);
  box-shadow: 0 0 8px rgba(0, 180, 255, 0.20);
}

/* Mensaje de error */
.practice-list-message {
  margin: 32px 0 0;
  font-family: var(--font-base);
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}


/* Subpráctica todavía no seleccionable: misma pastilla, pero no es un
   enlace y no debe insinuar que se puede iniciar. */
span.practice-focus-option {
  cursor: default;
}

span.practice-focus-option:hover {
  border-color: rgba(245, 250, 255, 0.94);
  color: rgba(255, 255, 255, 0.96);
  background: rgba(4, 10, 24, 0.12);
  box-shadow: none;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {
  .practice-list-screen {
    padding: 32px 4vw 60px;
  }

  .practice-list-container {
    width: 94%;
    margin-top: 55px;
  }

  .practice-list-close {
    width: 62px;
    height: 62px;
    margin-bottom: 48px;
  }

  .practice-list-link,
  .practice-category-summary {
    min-height: 80px;
  }

  .practice-focus-option {
    min-width: 250px;
  }
}


@media (max-width: 640px) {
  .practice-list-container {
    width: 100%;
    margin-top: 42px;
  }

  .practice-list-heading {
    align-items: flex-end;
    gap: 20px;
    flex-wrap: wrap;
  }

  .practice-list-settings {
    gap: 18px;
    flex-wrap: wrap;
  }

  .practice-difficulty-label {
    font-size: 15px;
  }

  .practice-difficulty-option {
    padding: 6px 12px;
    font-size: 13px;
  }

  .practice-list-title {
    font-size: 26px;
  }

  .practice-help-toggle {
    gap: 10px;
  }

  .practice-help-label {
    font-size: 15px;
  }

  .practice-help-switch {
	  width: 50px;
	  height: 24px;
	}

	.practice-help-switch::after {
	  width: 20px;
	  height: 20px;
	}

	.practice-help-input:checked + .practice-help-switch::after {
	  transform: translateX(26px);
	}

  .practice-list-link,
  .practice-category-title {
    font-size: 18px;
  }

  .practice-category-summary {
    gap: 20px;
  }

  .practice-category-chevron {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
    border-width: 0 2px 2px 0;
  }

  .practice-focus-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.practice-category-details.is-open .practice-focus-options {
  padding-bottom: 28px;
}

  .practice-focus-option {
    width: 100%;
    min-width: 0;
    font-size: 16px;
  }
}

.comm-feedback {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border-left: 2px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.04);
}

.comm-feedback strong,
.comm-suggestion strong {
  font-size: clamp(11px, 0.82vw, 14px);
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.84);
}

.comm-feedback p,
.comm-suggestion p {
  margin: 0;
  font-size: clamp(12px, 0.94vw, 15px);
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.96);
  font-weight: 400;
}

.comm-feedback--correct {
  border-left-color: rgba(46, 217, 92, 0.9);
}

.comm-feedback--partial {
  border-left-color: rgba(255, 196, 72, 0.9);
}

.comm-feedback--incorrect {
  border-left-color: rgba(255, 99, 54, 0.92);
}

.comm-suggestion {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border-left: 2px solid rgba(0, 210, 255, 0.42);
  background: rgba(0, 120, 170, 0.08);
}

.comm-help {
  opacity: 0.72;
}

.comm-help .comm-body {
  gap: 0;
}

.comm-help-text {
  margin: 0;
  font-style: italic;
  color: rgba(255, 255, 255, 0.76);
}

.comm-situation-update {
  align-self: center;
  max-width: 92%;
  border: 1px dashed rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  padding: 10px 14px;
  text-align: center;
}

.comm-situation-update .comm-body {
  gap: 4px;
}

.comm-situation-update-title {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.8);
}

.comm-situation-update-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
}

.comm-situation-update-changes {
  justify-content: center;
  margin-top: 4px;
}
