/* ============================================================================
   FRONTERA · maquetación del shell (las cartelas flotan en los márgenes).
   El sistema de diseño (tokens, primitivas) está en frontera.css.
   ============================================================================ */

/* — Cartela superior izquierda: el wordmark con la marca — */
.cartela-top {
  top: 22px;
  left: 26px;
}
#marca { display: flex; align-items: center; gap: 12px; }
.marca-texto { display: flex; flex-direction: column; }
.marca-icono { width: 32px; height: 32px; color: var(--paper); flex: 0 0 auto; }
.marca-icono svg { width: 100%; height: 100%; display: block; }
/* La estrella guía respira: único elemento vivo de la sala fría. */
.marca-icono .estrella {
  transform-box: fill-box;
  transform-origin: center;
  animation: latido 4.5s ease-in-out infinite;
}
.wordmark {
  display: block;
  font-size: 22px;
  letter-spacing: 0.06em;
  color: var(--paper);
}
.tagline {
  display: block;
  margin-top: 2px;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-dim);
}

/* — Cartela inferior izquierda: lectores numéricos (instrumento) — */
.cartela-bottom {
  bottom: 20px;
  left: 26px;
  display: flex;
  gap: 22px;
  font-size: 12px;
}
.cartela-bottom .par {
  display: inline-flex;
  gap: 7px;
  align-items: baseline;
}
.cartela-bottom .par b {
  font-weight: 400;
  color: var(--paper-dim);
  text-transform: uppercase;
  font-size: 9.5px;
  letter-spacing: 0.14em;
}
/* Aviso de precisión: el zoom cruzó el umbral del float32 (se empieza a pixelar). */
.cartela-bottom .dato.aviso {
  text-decoration: underline dotted var(--accent-dim);
  text-underline-offset: 3px;
  cursor: help;
}

/* — Bandeja de paletas (abajo, centrada): tray de pintor — */
#paletas {
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.swatch {
  width: 32px;
  height: 16px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0;
  cursor: pointer;
  outline: none;
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease);
}
.swatch:hover { transform: translateY(-2px); }
.swatch.activa { box-shadow: 0 0 0 1.5px var(--accent); border-color: transparent; }

/* — Ajustes (arriba derecha) — */
#ajustes {
  top: 22px;
  right: 26px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  align-items: flex-end;
  font-size: 11px;
}
#ajustes .fila { display: flex; align-items: center; gap: 9px; }
#ajustes .etq {
  color: var(--paper-dim);
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: 0.14em;
}
#ajustes .paso {
  background: none;
  border: none;
  color: var(--paper-dim);
  font: inherit;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  padding: 0 3px;
}
#ajustes .paso:hover { color: var(--accent); }
#ajustes .val { color: var(--paper); min-width: 3.5ch; text-align: center; }
#ajustes .sel {
  background: var(--ink-raised);
  color: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  font: inherit;
  font-size: 11px;
  padding: 2px 6px;
  cursor: pointer;
  outline: none;
}
#ajustes .sel:focus-visible { outline: 1.5px solid var(--accent); }
#ajustes .accion {
  background: none;
  border: none;
  color: var(--paper-dim);
  font: inherit;
  font-size: 11px;
  cursor: pointer;
  padding: 1px 0;
  letter-spacing: 0.03em;
}
#ajustes .accion:hover { color: var(--accent); }
#ajustes .toggle {
  background: none;
  border: 1px solid var(--line);
  color: var(--paper-dim);
  font: inherit;
  font-size: 10.5px;
  border-radius: 3px;
  padding: 2px 9px;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}
#ajustes .toggle:hover { color: var(--accent); border-color: var(--accent-dim); }
#ajustes .toggle.on { color: var(--cool); border-color: var(--cool); }

/* Marca «pert» junto al aumento cuando la precisión profunda (perturbation) está activa. */
.cartela-bottom .dato.profundo::after {
  content: 'pert';
  margin-left: 6px;
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--cool);
  vertical-align: super;
  opacity: 0.85;
}

/* — Destello blanco-estelar al capturar — */
.destello {
  position: fixed;
  inset: 0;
  background: rgba(242, 247, 252, 0.72);
  opacity: 1;
  transition: opacity 480ms var(--ease);
  pointer-events: none;
  z-index: 50;
}

/* — Toast (aviso breve) — */
.toast {
  position: fixed;
  top: 68px;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  padding: 7px 14px;
  background: var(--ink-raised);
  color: var(--paper);
  font-size: 12px;
  border-radius: 4px;
  box-shadow: 0 0 0 1px var(--line);
  opacity: 0;
  transition: opacity 280ms var(--ease), transform 280ms var(--ease);
  pointer-events: none;
  z-index: 40;
}
.toast.visible { opacity: 1; transform: translateX(-50%) translateY(0); }
#ajustes input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 96px;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  outline: none;
}
#ajustes input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
}
#ajustes input[type="range"]::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
}

/* — Auto-ocultar el cromo cuando la mano está quieta — */
body.idle .cartela { opacity: 0; pointer-events: none; }

/* — Minimapa (vista general, abajo izquierda sobre la cartela de lectura) — */
#minimapa {
  left: 26px;
  bottom: 52px;
  text-align: center;
  cursor: pointer;
}
.minimapa-lienzo {
  display: block;
  border-radius: 4px;
  background: var(--ink-raised);
  box-shadow: 0 0 0 1px var(--line);
  transition: box-shadow 160ms var(--ease);
  image-rendering: auto;
}
#minimapa:hover .minimapa-lienzo { box-shadow: 0 0 0 1.5px var(--accent); }
.minimapa-cap { margin-top: 6px; font-size: 9.5px; letter-spacing: 0.08em; color: var(--paper-dim); }

/* — Preview de Julia (thumbnail-cartela, abajo derecha) — */
#julia-box { right: 26px; bottom: 54px; cursor: pointer; text-align: center; }
#julia-preview {
  width: 220px;
  height: 220px;
  display: block;
  border-radius: 4px;
  background: var(--ink-raised);
  box-shadow: 0 0 0 1px var(--line);
  transition: box-shadow 160ms var(--ease);
}
#julia-box:hover #julia-preview { box-shadow: 0 0 0 1.5px var(--accent); }
.julia-cap { margin-top: 7px; font-size: 9.5px; letter-spacing: 0.08em; color: var(--paper-dim); }

/* — Distintivo de modo Julia (arriba centro) — */
#julia-badge {
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  font-size: 12px;
}
#julia-badge b { color: var(--cool); font-weight: 500; letter-spacing: 0.12em; }
#julia-badge .salir { color: var(--accent); }

/* — Overlay de fallback (sin WebGL2 / shader roto) — */
.overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--ink);
  z-index: 10;
  transition: opacity var(--fade) var(--ease);
}
.overlay-inner {
  max-width: 30rem;
  padding: 0 2rem;
  text-align: center;
  color: var(--paper-dim);
}
.overlay-inner .display {
  display: block;
  font-size: 28px;
  color: var(--paper);
  margin-bottom: 1.2rem;
  letter-spacing: 0.06em;
}
.overlay-inner p { margin: 0.7rem 0; line-height: 1.6; font-size: 14px; }
.overlay-inner b { color: var(--accent); font-weight: 500; }
.overlay-inner .detalle { font-size: 12px; color: var(--accent-dim); }
.overlay-inner .pista { font-size: 12px; color: var(--paper-dim); opacity: 0.8; }

/* — Panel de atajos (tecla ?) — */
.ayuda {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: grid;
  place-items: center;
  background: rgba(11, 15, 26, 0.82);
  transition: opacity var(--fade) var(--ease);
}
.ayuda-panel {
  max-width: 560px;
  margin: 0 24px;
  padding: 28px 34px;
  background: var(--ink-raised);
  border-radius: 8px;
  box-shadow: 0 0 0 1px var(--line);
  color: var(--paper);
}
.ayuda-panel h2 { font-size: 22px; letter-spacing: 0.05em; }
.ayuda-panel .sub { color: var(--paper-dim); font-size: 12px; margin: 2px 0 6px; }
.ayuda-grupo { margin-top: 18px; }
.ayuda-grupo h3 {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 8px;
  font-weight: 500;
}
.ayuda-fila { display: flex; gap: 16px; align-items: baseline; font-size: 13px; margin: 5px 0; }
.ayuda-fila .k { color: var(--paper); min-width: 150px; font-size: 12px; }
.ayuda-fila .d { color: var(--paper-dim); }
.ayuda-cerrar { margin-top: 22px; font-size: 11px; color: var(--paper-dim); text-align: center; }

#ayuda-btn {
  bottom: 18px;
  right: 24px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink-raised);
  color: var(--paper-dim);
  border: 1px solid var(--line);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1;
  display: grid;
  place-items: center;
  padding: 0;
}
#ayuda-btn:hover { color: var(--accent); border-color: var(--accent-dim); }

/* — "Ir a coordenadas" (tecla G / clic en la lectura) — */
.cartela-bottom.editable { cursor: text; }
.cartela-bottom.editable:hover .dato { color: var(--accent); }
.goto {
  position: fixed;
  inset: 0;
  z-index: 46;
  display: grid;
  place-items: center;
  background: rgba(11, 15, 26, 0.82);
  transition: opacity var(--fade) var(--ease);
}
.goto-panel {
  width: 360px;
  max-width: calc(100vw - 48px);
  padding: 26px 30px;
  background: var(--ink-raised);
  border-radius: 8px;
  box-shadow: 0 0 0 1px var(--line);
  color: var(--paper);
}
.goto-panel h2 { font-size: 21px; letter-spacing: 0.05em; }
.goto-panel .sub { color: var(--paper-dim); font-size: 12px; margin: 2px 0 16px; }
.goto-fila { display: flex; align-items: center; gap: 12px; margin: 9px 0; }
.goto-fila .k {
  width: 42px;
  flex: 0 0 auto;
  text-align: right;
  color: var(--paper-dim);
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.14em;
}
.goto-in {
  flex: 1 1 auto;
  min-width: 0;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 6px 9px;
  font-size: 13px;
  outline: none;
}
.goto-in:focus-visible { border-color: var(--accent); }
.goto-err { min-height: 16px; margin: 6px 0 2px; font-size: 11.5px; color: var(--accent); }
.goto-acciones { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.goto-cancel, .goto-ir {
  font: inherit;
  font-size: 12px;
  border-radius: 4px;
  padding: 6px 14px;
  cursor: pointer;
  border: 1px solid var(--line);
  background: none;
  color: var(--paper-dim);
}
.goto-ir { border-color: var(--accent-dim); color: var(--accent); }
.goto-cancel:hover { color: var(--paper); }
.goto-ir:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.goto-pista { margin-top: 14px; font-size: 10.5px; color: var(--paper-dim); text-align: center; }

/* — Splash de carga: la cardioide se dibuja sola y funde a la obra — */
.splash {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  background: var(--ink);
  transition: opacity 720ms var(--ease);
}
.splash.oculto { opacity: 0; pointer-events: none; }
.splash-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; color: var(--paper); }
.splash .marca { width: 124px; height: 124px; }
.splash-word { font-size: 27px; letter-spacing: 0.16em; opacity: 0; animation: aparece 900ms var(--ease) 760ms forwards; }
.splash .trazo { stroke-dasharray: 1; stroke-dashoffset: 1; }
.splash .card { animation: dibuja 1300ms var(--ease) 140ms forwards; }
.splash .bulbo { animation: dibuja 760ms var(--ease) 980ms forwards; }
.splash .estrella {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: aparece 700ms var(--ease) 1500ms forwards, latido 4s ease-in-out 1700ms infinite;
}
@keyframes dibuja { to { stroke-dashoffset: 0; } }
@keyframes aparece { to { opacity: 1; } }
@keyframes latido { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ============================================================================
   Web pública (ADR-0005): «Acerca de», «♥ Apoya» y aviso legal. Cartela discreta bajo el wordmark;
   el diálogo y el documento legal usan la misma lámina que los paneles de atajos e «ir a».
   ============================================================================ */
/* La cartela de la marca queda POR ENCIMA del aviso de fallback (z-index 10): sin WebGL2, «Acerca de» y el
   aviso legal siguen a mano. El splash (60) y los paneles (45/46) la siguen tapando. */
#marca { z-index: 11; }
.sitio { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 7px; }
.sitio-enlace {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--paper-dim);
  text-decoration: none;
  cursor: pointer;
  transition: color 160ms var(--ease);
}
.sitio-enlace:hover { color: var(--accent); }
.sitio-enlace.apoya { color: var(--accent); }
.sitio-enlace[hidden] { display: none; }

.about {
  width: min(30rem, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  overflow: auto;
  overscroll-behavior: contain;
  background: var(--ink-raised);
  color: var(--paper);
  border: none;
  border-radius: 8px;
  box-shadow: 0 0 0 1px var(--line);
}
.about::backdrop { background: rgba(11, 15, 26, 0.82); }
.about-body { position: relative; padding: 26px 30px 22px; }
.about-close { position: absolute; top: 10px; right: 12px; }
.about-close button {
  background: none;
  border: none;
  color: var(--paper-dim);
  font: inherit;
  font-size: 15px;
  line-height: 1;
  padding: 6px 8px;
  cursor: pointer;
}
.about-close button:hover { color: var(--accent); }
.about h2 { font-size: 22px; letter-spacing: 0.05em; margin-right: 2em; }
.about-meta { margin: 3px 0 14px; font-size: 11px; color: var(--paper-dim); }
.about p { margin-top: 0.75em; font-size: 13.5px; line-height: 1.6; }
.about strong { font-weight: 500; }
.about a { color: var(--accent); }
.about .micro { font-size: 12px; color: var(--paper-dim); }
.about .about-links { margin-top: 1.1em; padding-top: 0.8em; border-top: 1px solid var(--line); font-size: 12px; }

/* Aviso legal y 404: documentos que desplazan con normalidad (la app, en cambio, no scrollea). */
html.documento, html.documento body { height: auto; overflow: auto; }
.legal { max-width: 720px; margin: 0 auto; padding: 32px 20px 56px; font-size: 14.5px; line-height: 1.65; }
.legal h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 6vw, 34px);
  letter-spacing: 0.04em;
  line-height: 1.15;
  margin: 0.5em 0 0.15em;
}
.legal h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.04em;
  margin: 1.6em 0 0.4em;
  padding-top: 0.7em;
  border-top: 1px solid var(--line);
}
.legal p, .legal li { margin-top: 0.5em; }
.legal ul { padding-left: 1.2em; }
.legal strong { font-weight: 500; }
.legal a { color: var(--accent); }
.legal-back a { color: var(--paper-dim); text-decoration: none; font-size: 13px; }
.legal-back a:hover { color: var(--accent); }
.legal-date { font-family: var(--font-mono); font-size: 11px; color: var(--paper-dim); }
.legal-owner {
  margin-top: 0.7em;
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--ink-raised);
  border-radius: 4px;
  box-shadow: 0 0 0 1px var(--line);
}

/* ============================================================================
   Móvil «usable sin rehacer» (rebanada 2 de la web pública, ADR-0005). El escritorio NO cambia: todo vive en
   max-width:880px (encaje y letra) y pointer:coarse (objetivos de dedo). Las cartelas se reparten para no
   pisarse, el panel de ajustes se pliega tras un botón y nada baja de 11 px. El rediseño móvil de verdad es
   la fase 2 (CONTEXTO §6).
   ============================================================================ */
#ajustes-btn { display: none; }

@media (max-width: 880px) {
  /* Penumbra arriba y abajo para que las cartelas se lean sobre paletas claras; se desvanece con el cromo, así
     que con la mano quieta el fractal queda limpio. Por encima del lienzo y por debajo de las cartelas. */
  body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
      linear-gradient(to bottom, rgba(11, 15, 26, 0.72), rgba(11, 15, 26, 0.6) calc(135px + env(safe-area-inset-top)),
        rgba(11, 15, 26, 0) calc(200px + env(safe-area-inset-top))),
      linear-gradient(to top, rgba(11, 15, 26, 0.72), rgba(11, 15, 26, 0.6) calc(105px + env(safe-area-inset-bottom)),
        rgba(11, 15, 26, 0) calc(165px + env(safe-area-inset-bottom)));
    transition: opacity var(--fade) var(--ease);
  }
  body.idle::after { opacity: 0; }
  .cartela { z-index: 1; }

  /* Arriba: la marca a la izquierda (deja sitio al botón de ajustes), el botón a la derecha. */
  #marca { top: calc(16px + env(safe-area-inset-top)); left: calc(16px + env(safe-area-inset-left)); right: 112px; align-items: flex-start; }
  .tagline { font-size: 11px; }
  #ajustes-btn {
    display: block;
    top: calc(16px + env(safe-area-inset-top));
    right: calc(16px + env(safe-area-inset-right));
    padding: 6px 12px;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--paper);
    background: rgba(20, 26, 40, 0.88);
    border: 1px solid var(--line);
    border-radius: 4px;
    cursor: pointer;
  }
  body.ajustes-abierto #ajustes-btn { border-color: var(--accent-dim); color: var(--accent); }

  /* El panel, plegado por defecto; abierto, es una lámina legible sobre el fractal (y desplaza si no cabe). */
  #ajustes {
    display: none;
    top: calc(64px + env(safe-area-inset-top));
    left: calc(12px + env(safe-area-inset-left));
    right: calc(12px + env(safe-area-inset-right));
    z-index: 12;
    max-height: calc(100dvh - 200px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 12px 14px;
    font-size: 12px;
    background: rgba(20, 26, 40, 0.94);
    border-radius: 8px;
    box-shadow: 0 0 0 1px var(--line);
  }
  body.ajustes-abierto #ajustes { display: flex; }
  #ajustes .fila { width: 100%; justify-content: flex-end; }
  #ajustes .sel { min-width: 0; }   /* los nombres largos de «lugares» no empujan el panel fuera de la pantalla */
  #ajustes .etq { font-size: 11px; }
  #ajustes .toggle, #ajustes .accion, #ajustes .sel { font-size: 12px; }

  /* Abajo, de abajo arriba: paletas a todo el ancho · lectura (puede ir en dos líneas) y «?» · minimapa. */
  #paletas {
    left: calc(12px + env(safe-area-inset-left));
    right: calc(12px + env(safe-area-inset-right));
    bottom: calc(12px + env(safe-area-inset-bottom));
    transform: none;
    justify-content: space-between;
    gap: 4px;
  }
  .swatch { flex: 1 1 0; min-width: 0; height: 24px; }
  .cartela-bottom {
    left: calc(16px + env(safe-area-inset-left));
    right: 72px;
    bottom: calc(64px + env(safe-area-inset-bottom));
    flex-wrap: wrap;
    gap: 2px 14px;
  }
  .cartela-bottom .par b { font-size: 11px; }
  .cartela-bottom .dato.profundo::after { font-size: 11px; }
  #ayuda-btn { right: calc(16px + env(safe-area-inset-right)); bottom: calc(60px + env(safe-area-inset-bottom)); }
  #minimapa { left: calc(16px + env(safe-area-inset-left)); bottom: calc(118px + env(safe-area-inset-bottom)); }
  #julia-box { right: calc(16px + env(safe-area-inset-right)); bottom: calc(118px + env(safe-area-inset-bottom)); }
  .minimapa-cap, .julia-cap { font-size: 11px; }

  /* Distintivo de Julia: bajo la marca, a todo el ancho (centrado arriba pisaba el wordmark). */
  #julia-badge {
    top: calc(140px + env(safe-area-inset-top));
    left: 16px;
    right: 16px;
    transform: none;
    text-align: center;
  }

  /* Avisos breves: bajo la marca y sin salirse de la pantalla. */
  .toast { top: calc(140px + env(safe-area-inset-top)); width: max-content; max-width: calc(100vw - 32px); text-align: center; }

  /* Paneles de atajos e «ir a»: caben y desplazan en pantallas bajas. */
  .ayuda-panel { margin: 0 16px; padding: 22px 20px; max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; }
  .ayuda-fila .k { min-width: 108px; }
  .ayuda-grupo h3, .goto-fila .k, .goto-pista { font-size: 11px; }
  .goto-panel { padding: 22px 20px; }
}

@media (pointer: coarse) {
  /* La página no se desplaza ni se amplía por debajo: arrastrar y pellizcar son SOLO del fractal (el lienzo ya
     es touch-action:none). Los paneles que desplazan (ajustes, atajos, «Acerca de») lo hacen dentro de sí. Los
     documentos (aviso legal, 404) cargan esta hoja y SÍ deben desplazar con el dedo: quedan fuera. */
  html:not(.documento), html:not(.documento) body { touch-action: none; }
  /* Objetivos de dedo ≥ 40 px (WCAG 2.5.8 pide 24; Apple y Material, 44/48). */
  .sitio-enlace { min-height: 40px; display: inline-flex; align-items: center; }
  #ajustes-btn { min-height: 40px; }
  .swatch { height: 40px; }
  #ayuda-btn { width: 40px; height: 40px; font-size: 16px; }
  #ajustes { gap: 4px; }
  #ajustes .fila { min-height: 40px; }
  #ajustes .paso { min-width: 40px; min-height: 40px; font-size: 18px; }
  #ajustes .toggle, #ajustes .accion { min-height: 40px; padding: 0 12px; }
  #ajustes .sel { min-height: 40px; font-size: 16px; }   /* 16 px: iOS no amplía la página al enfocar */
  #ajustes input[type="range"] { width: 140px; height: 40px; padding: 19px 0; background-clip: content-box; }
  #ajustes input[type="range"]::-webkit-slider-thumb { width: 24px; height: 24px; }
  #ajustes input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; }
  #julia-badge { min-height: 40px; display: flex; align-items: center; justify-content: center; }
  .goto-in { font-size: 16px; min-height: 40px; }
  .goto-cancel, .goto-ir { min-height: 40px; }
  .about-close button { min-width: 40px; min-height: 40px; }
}
