/* Misma estructura que MateFácil y GeoFácil; colores de verde azulado y arena, como el icono. */
:root {
  --tinta: #14282b;
  --tinta-suave: #4d6468;
  --papel: #e8f1f0;
  --tarjeta: #fbfefd;
  --borde: #bcd5d3;
  --primario: #11606b;
  --acento: #d9873a;
  --acento-sombra: #8f4a1e;
  --acierto: #3d8b4f;
  --acierto-suave: #e2f1e4;
  --error: #c93838;
  --error-suave: #fae4e2;
  --resaltado: #f3cf75;
  --nota: #fdf1d6;
  --fuente-titulos: 'Fredoka', 'Nunito', system-ui, sans-serif;
  --fuente: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radio: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--fuente);
  -webkit-tap-highlight-color: transparent;
}

button,
textarea {
  font: inherit;
  color: inherit;
}

[hidden] {
  display: none !important;
}

.pantalla {
  display: none;
  min-height: 100dvh;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

.pantalla.activa {
  display: flex;
  flex-direction: column;
}

#inicio,
#resultado {
  background:
    radial-gradient(circle at 88% 8%, rgb(192 80 45 / 0.16), transparent 38%),
    radial-gradient(circle at 8% 92%, rgb(17 96 107 / 0.13), transparent 45%),
    var(--papel);
}

.contenido {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 28px 16px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.antetitulo {
  margin: 0;
  font-family: var(--fuente-titulos);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--acento);
}

h1 {
  margin: -12px 0 0;
  font-family: var(--fuente-titulos);
  font-size: clamp(2.2rem, 9vw, 3.2rem);
  line-height: 1.05;
  color: var(--primario);
}

h1 span {
  color: var(--acento);
}

h2 {
  margin: 0 0 10px;
  font-family: var(--fuente-titulos);
  color: var(--primario);
}

.campo {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.campo > span {
  font-weight: 800;
  color: var(--tinta-suave);
}

/* ---------- Botones ---------- */

.boton {
  border: 0;
  border-radius: 999px;
  padding: 16px 24px;
  font-family: var(--fuente-titulos);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.boton:active {
  transform: translateY(2px);
}

.boton:disabled {
  opacity: 0.45;
  cursor: default;
  transform: none;
}

.boton-principal {
  background: var(--acento);
  color: #fff;
  box-shadow: 0 4px 0 var(--acento-sombra);
}

.boton-secundario {
  background: #fff;
  color: var(--primario);
  box-shadow: inset 0 0 0 2px var(--primario), 0 4px 0 var(--primario);
}

.boton-pequeno {
  padding: 10px 18px;
  font-size: 1rem;
}

.boton-icono {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--primario);
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 2px 6px rgb(42 29 21 / 0.18);
}

.botones {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.enlaces {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
}

.enlace {
  border: 0;
  background: none;
  padding: 10px 12px;
  color: var(--primario);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--acento);
  outline-offset: 2px;
}

/* ---------- Control segmentado (niveles y tipo de sugerencia) ---------- */

.segmentado {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 4px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--borde);
}

.segmentado-dos {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.segmentado label {
  position: relative;
}

.segmentado input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.segmentado span {
  display: block;
  padding: 10px 4px;
  border-radius: 999px;
  text-align: center;
  font-weight: 800;
  color: var(--tinta-suave);
}

.segmentado input:checked + span {
  background: var(--primario);
  color: #fff;
}

.segmentado input:focus-visible + span {
  outline: 3px solid var(--acento);
  outline-offset: 2px;
}

/* ---------- Chips (épocas y actividades) ---------- */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  position: relative;
}

.chip input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.chip span {
  display: block;
  padding: 9px 14px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--borde);
  font-weight: 800;
  font-size: 0.95rem;
}

.chip input:checked + span {
  background: var(--primario);
  color: #fff;
  box-shadow: none;
}

.chip input:focus-visible + span {
  outline: 3px solid var(--acento);
  outline-offset: 2px;
}

.chip input:disabled {
  cursor: default;
}

.chip input:disabled + span {
  background: transparent;
  color: #a8957f;
  box-shadow: inset 0 0 0 2px var(--borde);
  border: 0;
}

.chip small {
  margin-left: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* En el móvil, las épocas se desplazan en una sola fila. */
.chips-areas {
  flex-wrap: nowrap;
  overflow-x: auto;
  margin: 0 -16px;
  padding: 2px 16px 6px;
  scrollbar-width: none;
}

.chips-areas .chip {
  flex-shrink: 0;
}

.record {
  min-height: 1.2em;
  margin: 0;
  font-weight: 800;
  color: var(--acento-sombra);
}

#aviso-inicio:empty {
  display: none;
}

/* ---------- Temas ---------- */

.rejilla-temas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (min-width: 560px) {
  .rejilla-temas {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.tarjeta-tema {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
  min-height: 72px;
  padding: 12px;
  border-radius: var(--radio);
  background: var(--tarjeta);
  box-shadow: 0 0 0 2px var(--borde);
  cursor: pointer;
}

.tarjeta-tema input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tarjeta-tema:has(input:checked) {
  background: #fff;
  box-shadow: 0 0 0 3px var(--acento);
}

.tarjeta-tema:has(input:focus-visible) {
  outline: 3px solid var(--primario);
  outline-offset: 2px;
}

.tema-icono {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--nota);
  box-shadow: inset 0 0 0 2px var(--borde);
  font-size: 1.5rem;
}

.tarjeta-repaso .tema-icono {
  background: var(--acento);
  box-shadow: none;
  color: #fff;
  font-family: var(--fuente-titulos);
  font-weight: 600;
}

.tema-nombre {
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.15;
}

.tema-nota {
  min-height: 1em;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--acento-sombra);
}

/* ---------- Pregunta ---------- */

#ejercicio.activa,
#juego.activa,
#solar.activa {
  height: 100dvh;
}

.cabecera {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
}

.cabecera-titulo {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.cabecera-titulo strong {
  overflow: hidden;
  font-family: var(--fuente-titulos);
  font-size: 1.05rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.cabecera-titulo span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--tinta-suave);
}

.marcador {
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  font-family: var(--fuente-titulos);
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgb(42 29 21 / 0.12);
}

.marcador.poco-tiempo {
  background: var(--error);
  color: #fff;
}

.barra-progreso {
  height: 6px;
  margin: 0 12px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--borde);
}

#progreso,
#juego-progreso,
#solar-progreso {
  width: 0;
  height: 100%;
  background: var(--acento);
  transition: width 0.3s ease;
}

.zona-ejercicio,
.zona-juego,
.zona-solar {
  flex: 1;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 20px 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.zona-juego {
  padding: 14px 12px;
  gap: 12px;
}

.enunciado {
  margin: auto 0 0;
  max-width: 100%;
  text-align: center;
  font-size: clamp(1.15rem, 4.8vw, 1.45rem);
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.enunciado em,
.repaso-enunciado em,
.teoria em,
.explicacion em {
  font-style: normal;
  font-weight: 800;
  color: var(--primario);
}

.aviso {
  margin: 0 0 auto;
  min-height: 1.4em;
  text-align: center;
  font-weight: 700;
}

.aviso.bien {
  font-size: 1.2rem;
  color: var(--acierto);
}

.aviso.mal {
  color: var(--error);
}

.pista {
  display: block;
  margin-top: 6px;
  font-weight: 600;
  color: var(--tinta-suave);
}

.tarjeta {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radio);
  background: #fff;
  box-shadow: 0 2px 8px rgb(42 29 21 / 0.1);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.tarjeta p {
  margin: 0;
}

.sabias {
  background: var(--nota);
}

.explicacion .enlace {
  padding: 8px 0 0;
}

.panel-respuesta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 10px 12px calc(12px + env(safe-area-inset-bottom));
  background: var(--tarjeta);
  box-shadow: 0 -2px 10px rgb(42 29 21 / 0.08);
}

.panel-respuesta:not(:has(> :not([hidden]))) {
  display: none;
}

.opciones-respuesta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 520px;
}

/* Con opciones largas (frases), una debajo de otra. */
.opciones-respuesta.largas {
  grid-template-columns: minmax(0, 1fr);
}

.boton-opcion {
  min-height: 56px;
  padding: 10px 14px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 3px 0 var(--borde), inset 0 0 0 2px var(--borde);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.25;
  cursor: pointer;
  touch-action: manipulation;
}

.opciones-respuesta.largas .boton-opcion {
  min-height: 50px;
  text-align: left;
}

.boton-opcion:disabled {
  cursor: default;
}

.boton-opcion.fallo {
  background: var(--error-suave);
  color: var(--error);
  box-shadow: inset 0 0 0 3px var(--error);
}

.boton-opcion.acierto,
.boton-opcion.correcta {
  background: var(--acierto-suave);
  color: var(--acierto);
  box-shadow: inset 0 0 0 3px var(--acierto);
}

#boton-siguiente,
#juego-siguiente {
  width: 100%;
  max-width: 420px;
}

/* ---------- Juegos ---------- */

.instruccion {
  margin: 0;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.45;
}

.tablero {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@keyframes temblor {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

.temblor {
  animation: temblor 0.25s ease 2;
}

/* Ordena en el tiempo: línea vertical con los hechos colocados y, debajo, los que quedan. */
.linea-tiempo {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0 0 0 26px;
  list-style: none;
}

.linea-tiempo::before {
  content: '';
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 9px;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(var(--primario), var(--acento));
}

.hito {
  position: relative;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 4px rgb(42 29 21 / 0.1);
  line-height: 1.3;
}

.hito::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -23px;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  border-radius: 50%;
  background: var(--acento);
  box-shadow: 0 0 0 3px var(--papel);
}

.hito strong {
  display: block;
  font-weight: 800;
}

.hito small {
  font-weight: 700;
  color: var(--acento-sombra);
}

.hito.hueco {
  background: transparent;
  box-shadow: none;
  border: 2px dashed var(--borde);
  color: #a8957f;
  font-weight: 800;
}

.hito.hueco::before {
  background: var(--borde);
}

.extremo {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tinta-suave);
}

.pendientes {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

@media (min-width: 560px) {
  .pendientes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.carta {
  min-height: 52px;
  padding: 10px 14px;
  border: 0;
  border-radius: 14px;
  background: var(--tarjeta);
  box-shadow: 0 3px 0 var(--borde), inset 0 0 0 2px var(--primario);
  color: var(--tinta);
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
}

.carta.mal {
  background: var(--error-suave);
  box-shadow: inset 0 0 0 3px var(--error);
}

/* Clasifica: la tarjeta actual y los grupos donde se deja. */
.tarjeta-actual {
  align-self: center;
  width: min(100%, 420px);
  padding: 18px 16px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 0 var(--borde), 0 0 0 3px var(--acento);
  font-family: var(--fuente-titulos);
  font-size: clamp(1.1rem, 4.6vw, 1.35rem);
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}

.grupos {
  display: grid;
  grid-template-columns: repeat(var(--columnas, 3), minmax(0, 1fr));
  gap: 8px;
}

.grupo {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  min-height: 96px;
  padding: 8px;
  border: 0;
  border-radius: 14px;
  background: var(--tarjeta);
  box-shadow: 0 3px 0 var(--borde), inset 0 0 0 2px var(--primario);
  color: var(--tinta);
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
}

.grupo-nombre {
  display: block;
  width: 100%;
  overflow-wrap: anywhere;
  hyphens: auto;
  padding: 6px 4px;
  border-radius: 10px;
  background: var(--primario);
  color: #fff;
  font-family: var(--fuente-titulos);
  font-size: clamp(0.78rem, 3.3vw, 0.95rem);
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
}

.grupo:disabled {
  cursor: default;
}

.grupo.mal {
  background: var(--error-suave);
  box-shadow: inset 0 0 0 3px var(--error);
}

.grupo.mal .grupo-nombre {
  background: var(--error);
}

.grupo.correcto {
  background: var(--acierto-suave);
  box-shadow: inset 0 0 0 3px var(--acierto);
}

.grupo.correcto .grupo-nombre {
  background: var(--acierto);
}

.colocada {
  padding: 4px 6px;
  border-radius: 8px;
  background: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.colocada.agotada {
  background: #ffe7c7;
  color: var(--acento-sombra);
}

/* ---------- Resultado ---------- */

.nota {
  text-align: center;
  font-family: var(--fuente-titulos);
  font-size: 5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--primario);
}

.nota small {
  font-size: 1.8rem;
  color: var(--tinta-suave);
}

.resumen,
.nuevo-record {
  margin: 0;
  text-align: center;
  font-weight: 800;
}

.nuevo-record {
  color: var(--acento);
}

.lista-repasar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lista-repasar li {
  padding: 12px 14px;
  border-radius: var(--radio);
  background: #fff;
  box-shadow: 0 1px 4px rgb(42 29 21 / 0.1);
  overflow-wrap: anywhere;
}

.repaso-enunciado {
  font-weight: 700;
}

.repaso-respuesta {
  margin-top: 4px;
  font-weight: 700;
  color: var(--acierto);
}

.repaso-explicacion {
  margin-top: 4px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--tinta-suave);
}

.repaso-explicacion:empty {
  display: none;
}

/* ---------- Diálogos ---------- */

.dialogo {
  width: min(560px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: var(--papel);
  color: var(--tinta);
  box-shadow: 0 20px 50px rgb(0 0 0 / 0.3);
}

.dialogo::backdrop {
  background: rgb(42 29 21 / 0.45);
}

.dialogo-contenido {
  max-height: calc(100dvh - 120px);
  padding: 20px 20px 8px;
  overflow-y: auto;
  line-height: 1.55;
}

.dialogo-contenido h3 {
  margin: 18px 0 6px;
  font-family: var(--fuente-titulos);
}

.dialogo-pie {
  display: flex;
  justify-content: flex-end;
  padding: 12px 20px 18px;
}

.teoria table {
  width: 100%;
  margin: 8px 0;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.86rem;
  line-height: 1.35;
}

.teoria th,
.teoria td {
  padding: 5px 8px;
  border: 1px solid var(--borde);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.teoria th {
  background: var(--primario);
  color: #fff;
}

.teoria ul {
  padding-left: 20px;
}

.teoria .ejemplo {
  margin: 8px 0;
  padding: 8px 12px;
  border-radius: 12px;
  background: #fff;
  overflow-wrap: anywhere;
}

.formulario-sugerencia {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
}

.formulario-sugerencia textarea {
  width: 100%;
  padding: 12px;
  border: 0;
  border-radius: 12px;
  box-shadow: inset 0 0 0 2px var(--borde);
  resize: vertical;
}

.sugerencia-pie {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: -6px 0 0;
  font-size: 0.85rem;
  color: var(--tinta-suave);
}

.trampa {
  position: absolute;
  left: -9999px;
}

.sugerencia-estado {
  min-height: 1.2em;
  margin: 0;
  font-weight: 700;
}

.sugerencia-estado.bien {
  color: var(--acierto);
}

.sugerencia-estado.mal {
  color: var(--error);
}

.sugerencia-botones {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

@media (prefers-reduced-motion: reduce) {
  .temblor {
    animation: none;
  }
}

/* ---------- Curso y nivel (como en GeoFácil) ---------- */

.linea-nivel {
  margin: 2px 0 0;
  font-weight: 700;
  color: var(--tinta-suave);
}

.linea-nivel strong {
  color: var(--primario);
}

/* «Cambiar», junto a la línea del nivel en el inicio. */
.enlace-nivel {
  border: 0;
  background: none;
  padding: 0 2px;
  color: var(--primario);
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.curso-explicacion {
  margin: 0 0 14px;
  color: var(--tinta-suave);
  line-height: 1.4;
}

.dialogo-curso h2:focus {
  outline: none;
}

.opciones-curso {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* «Bachillerato o adulto» ocupa toda la fila. */
.opciones-curso .opcion:last-child {
  grid-column: 1 / -1;
}

.opciones-nivel {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.opcion {
  min-height: 48px;
  padding: 10px 12px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 3px 0 var(--borde), inset 0 0 0 2px var(--borde);
  font-weight: 800;
  cursor: pointer;
}

.opcion.elegida {
  background: var(--primario);
  color: #fff;
  box-shadow: none;
}

.cambio-nivel {
  margin: 0;
  padding: 12px 16px;
  border-radius: var(--radio);
  background: #fff;
  box-shadow: 0 0 0 3px var(--borde);
  text-align: center;
  font-weight: 800;
}

.cambio-nivel.sube {
  box-shadow: 0 0 0 3px var(--acierto);
}

/* ---------- Sistema Solar ---------- */

.zona-solar {
  padding: 10px 12px;
  gap: 8px;
}

.zona-solar .enunciado {
  margin: 0;
  font-size: clamp(1.05rem, 4.4vw, 1.3rem);
}

.zona-solar .aviso {
  margin: 0;
}

.dibujo-solar {
  flex: 0 0 auto;
  aspect-ratio: 360 / 520;
  width: auto;
  height: min(calc(100dvh - 290px), calc((100vw - 24px) * 520 / 360), 548px);
  border-radius: var(--radio);
  background: #0b1026;
  touch-action: manipulation;
  user-select: none;
}

.dibujo-solar .fondo {
  fill: #0b1026;
}

.dibujo-solar .orbitas circle {
  fill: none;
  stroke: #2a3563;
  stroke-width: 1.5;
  stroke-dasharray: 3 5;
}

.dibujo-solar .cuerpo {
  cursor: pointer;
}

.dibujo-solar .toque {
  fill: transparent;
}

.dibujo-solar .disco {
  stroke: transparent;
  stroke-width: 3;
}

.dibujo-solar .anillo {
  fill: none;
  stroke: #e6d29a;
  stroke-width: 4;
  opacity: 0.85;
}

.dibujo-solar .c-sol .disco { fill: #ffb300; }
.dibujo-solar .c-mercurio .disco { fill: #b0b0b0; }
.dibujo-solar .c-venus .disco { fill: #e8c27a; }
.dibujo-solar .c-tierra .disco { fill: #3f8fe0; }
.dibujo-solar .c-marte .disco { fill: #d9573b; }
.dibujo-solar .c-ceres .disco { fill: #9a8f85; }
.dibujo-solar .c-jupiter .disco { fill: #d8a56b; }
.dibujo-solar .c-saturno .disco { fill: #e6d29a; }
.dibujo-solar .c-urano .disco { fill: #8fd3de; }
.dibujo-solar .c-neptuno .disco { fill: #4c6fe0; }
.dibujo-solar .c-pluton .disco { fill: #c9a98a; }

.dibujo-solar .resaltado .disco {
  stroke: #ffeb3b;
  stroke-width: 4;
}

.dibujo-solar .marca-seleccionado .disco {
  stroke: #ffffff;
  stroke-width: 4;
}

.dibujo-solar .marca-acertado .disco {
  stroke: #66d17a;
  stroke-width: 5;
}

.dibujo-solar .marca-error .disco {
  stroke: #ff6b6b;
  stroke-width: 5;
}

.dibujo-solar .marca-revelado .disco {
  stroke: #ffeb3b;
  stroke-width: 5;
  stroke-dasharray: 4 3;
}

.dibujo-solar .etiqueta {
  fill: #ffffff;
  font: 700 13px var(--fuente);
  paint-order: stroke;
  stroke: #0b1026;
  stroke-width: 3px;
  pointer-events: none;
}

.entrada-nombre {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 380px;
}

.entrada-nombre input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 2px solid var(--borde);
  border-radius: 12px;
  background: var(--tarjeta);
  font-size: 1.1rem;
}

.dibujo-luna {
  flex: 0 0 auto;
  width: min(70vw, 300px);
  aspect-ratio: 1;
  border-radius: var(--radio);
  background: #0b1026;
}

.dibujo-luna .luna-oscura {
  fill: #2b3350;
}

.dibujo-luna .luna-luz {
  fill: #f3ecd0;
}
