/* Páginas legales y de error: /privacidad/ y 404 */

/* ---------- Marcador de dato pendiente ---------- */
.dato { background: none; color: var(--naranja); font-weight: 700; border-bottom: 1px dashed var(--naranja); padding: 0 .1em; }

/* ---------- Privacidad ---------- */
.legal .chico, .silencio .chico { font-size: 1rem; }
.legal { padding-block: clamp(var(--s7), 8vw, var(--s9)) clamp(var(--s8), 10vw, var(--s9)); }
.legal__cabeza { display: grid; gap: var(--s4); margin-bottom: clamp(var(--s6), 6vw, var(--s8)); }
.legal__cabeza .bajada { max-width: 34em; }
.legal__fecha { margin: 0; }

.legal__grilla { display: grid; gap: var(--s7); align-items: start; }
@media (min-width: 1000px) {
  .legal__grilla { grid-template-columns: minmax(300px, 380px) minmax(0, 70ch); gap: var(--s8); }
}
@media (min-width: 1000px) and (min-height: 1040px) { .legal__lado { position: sticky; top: 96px; } }
.legal__lado { display: grid; gap: var(--s6); }

/* Panel de entradas: lo que está apagado al llegar */
.entradas { background: var(--carbon); border: 1px solid var(--pozo); border-radius: var(--r-panel); padding: var(--s5); box-shadow: var(--sombra-panel); }
.entradas__titulo { font-size: 1.35rem; font-weight: 800; margin-bottom: var(--s4); }
.entradas__lista { list-style: none; margin: 0 0 var(--s5); padding: 0; display: grid; gap: 2px; background: var(--pozo); border-radius: 3px; overflow: hidden; }
.entrada { display: grid; grid-template-columns: auto 1fr; column-gap: var(--s3); row-gap: 2px; align-items: center; padding: var(--s3) var(--s4); background: var(--grafito); }
.entrada__led { grid-row: 1 / 3; width: 10px; height: 10px; border-radius: 50%; background: var(--linea); box-shadow: inset 0 1px 2px var(--pozo), 0 0 0 1px var(--pozo); }
.entrada__nombre { font-weight: 700; line-height: 1.3; }
.entrada__estado { font-size: 1rem; line-height: 1.35; color: var(--hueso-2); }
.entradas__boton { width: 100%; white-space: normal; text-align: center; line-height: 1.2; }
.entradas__nota { margin: var(--s3) 0 0; }

/* Índice: bajo 1000 px es un desplegable «Contenido» (site.js lo cierra al cargar y al elegir una sección);
   desde 1000 px va abierto en la columna lateral, sin botón. */
.indice ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.indice a { display: flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--hueso-2); font-size: 1rem; }
.indice a:hover, .indice a:focus-visible { color: var(--hueso); text-decoration: underline; text-decoration-color: var(--naranja); text-underline-offset: .22em; }
@media (max-width: 999px) {
  .indice__caja { background: var(--carbon); border: 1px solid var(--pozo); border-radius: var(--r-panel); box-shadow: var(--sombra-panel); }
  .indice__boton { display: flex; align-items: center; gap: .6em; min-height: 52px; padding: 0 var(--s5); cursor: pointer; list-style: none;
    font: 800 1.2rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--hueso); }
  .indice__boton::-webkit-details-marker { display: none; }
  .indice__boton::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--linea); box-shadow: inset 0 1px 2px var(--pozo); transition: background .2s, box-shadow .2s; }
  .indice__boton::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid var(--hueso-2); border-bottom: 2px solid var(--hueso-2); transform: translateY(-2px) rotate(45deg); transition: transform .25s var(--ease); }
  .indice__caja[open] > .indice__boton::before { background: var(--naranja); box-shadow: 0 0 8px 1px var(--luz); }
  .indice__caja[open] > .indice__boton::after { transform: translateY(2px) rotate(-135deg); }
  .indice__boton:focus-visible { outline: 2px solid var(--naranja); outline-offset: -2px; border-radius: var(--r-panel); }
  .indice ul { margin: 0 var(--s5) var(--s4); border-top: 1px solid var(--linea); }
  .indice li + li { border-top: 1px solid rgba(255,255,255,.05); }
}
@media (min-width: 1000px) {
  .indice__boton { display: none; }
  .indice ul { padding: 0 0 0 var(--s4); border-left: 1px solid var(--linea); }
  .indice a { font-size: .9375rem; }
}
@media (prefers-reduced-motion: reduce) { .indice__boton::after, .indice__boton::before { transition: none; } }

/* Texto de lectura */
.legal__texto { max-width: 70ch; font-size: 1.0625rem; line-height: 1.7; color: var(--hueso-2); }
.legal__texto section { padding-block: var(--s6); border-top: 1px solid var(--linea); scroll-margin-top: 96px; }
.legal__texto section:first-child { border-top: 0; padding-top: 0; }
.legal__texto h2 { color: var(--hueso); margin-bottom: var(--s4); }
.legal__texto p { max-width: none; }
.legal__texto p:last-child { margin-bottom: 0; }
.legal__texto .enlace { overflow-wrap: anywhere; }
.legal__lista { margin: 0 0 var(--s4); padding-left: 1.2em; display: grid; gap: var(--s2); }
.legal__lista li::marker { color: var(--hueso-3); }

.terceros { margin: var(--s5) 0; display: grid; gap: 1px; background: var(--linea); border: 1px solid var(--linea); border-radius: var(--r-panel); overflow: hidden; }
.terceros > div { display: grid; gap: var(--s1); padding: var(--s4); background: var(--grafito); }
@media (min-width: 640px) { .terceros > div { grid-template-columns: 13rem 1fr; gap: var(--s4); } }
.terceros dt { font-weight: 700; color: var(--hueso); }
.terceros dd { margin: 0; }

.derechos { margin: var(--s4) 0 var(--s5); display: grid; gap: var(--s2); }
.derechos > div { display: grid; gap: 0 var(--s4); }
@media (min-width: 640px) { .derechos > div { grid-template-columns: 9rem 1fr; } }
.derechos dt { font-family: var(--display); font-weight: 800; font-size: 1.25rem; line-height: 1.35; color: var(--hueso); }
.derechos dd { margin: 0; }

/* ---------- 404: el canal en silencio ---------- */
.silencio { padding-block: clamp(var(--s7), 9vw, var(--s9)); background: var(--carbon); }
.silencio__grilla { display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 960px) { .silencio__grilla { grid-template-columns: 1.1fr .9fr; gap: var(--s8); } }
.silencio__titulo { font-size: clamp(3rem, 7.4vw, 6.6rem); font-weight: 900; text-transform: uppercase; line-height: .86; letter-spacing: -.01em; margin-bottom: var(--s5); }
.silencio__botones { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.silencio__nota { margin-top: var(--s5); }
@media (max-width: 559px) { .silencio__botones .boton { flex: 1 1 100%; } }

.mini-consola { justify-self: center; width: 100%; max-width: 560px; }
.mini-consola__rack { grid-auto-flow: column; grid-auto-columns: 1fr; overflow: hidden; cursor: auto; }
.canal--mudo { min-height: 420px; pointer-events: none; }
.canal--mudo .led { justify-content: center; }
.canal__plano { position: absolute; inset: 0; background: var(--pozo); }
.canal__plano::after { content: ""; position: absolute; left: 12%; right: 12%; top: 50%; height: 1px; background: var(--hueso-3); opacity: .6; }
.canal--lado { opacity: .55; }
@media (max-width: 559px) {
  .mini-consola { max-width: 220px; }
  .canal--lado { display: none; }
}
