/* legal.polish-v1-20261001.css — Acabado de las páginas legales de Multisala (legal/index.html y legal/bonos.html).
   Se enlaza después de legal.css. Ámbito "body > main:first-child" (estructura de estas páginas). */
/* ---------------- Parte B · páginas legales (type-02..06) ---------------- */

/* type-06 · Identidad Multisala (fondo negro-violeta, texto lavanda, dorado). */
:root:has(> body > main:first-child) {
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body:has(> main:first-child) {
  background: radial-gradient(circle at 18% -6%, rgba(183, 18, 151, .16), transparent 30rem) no-repeat, #08050d;
  color: #f4effa;
}

/* type-03 · Medida de lectura (~75–80 caracteres) y 17px desde 768. */
body > main:first-child {
  box-sizing: border-box;
  max-width: calc(38rem + 44px);
  padding: clamp(24px, 5vw, 48px) 22px 72px;
  color: #f4effa;
  font: 16px/1.65 Inter, "Segoe UI", Arial, sans-serif;
}
@media (min-width: 768px) {
  body > main:first-child { font-size: 17px; }
}

/* type-04 · Jerarquía y ritmo vertical. */
body > main:first-child h1 {
  margin: 20px 0 16px;
  font-size: clamp(1.625rem, 1.2rem + 2vw, 2.125rem);
  line-height: 1.15;
  letter-spacing: -.015em;
  text-wrap: balance;
}
body > main:first-child h2 {
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
  line-height: 1.25;
  letter-spacing: -.01em;
  text-wrap: balance;
}
body > main:first-child p { margin: 0 0 14px; }
body > main:first-child section > p:last-child { margin-bottom: 0; }
body > main:first-child section {
  padding: 26px 0;
  border-top: 1px solid #2c1f3c;
}

/* type-06 (cont.) · Aviso con el dorado de la marca, sin divisor duplicado. */
body > main:first-child .warning {
  margin: 0 0 6px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 211, 78, .42);
  border-radius: 12px;
  background: rgba(255, 211, 78, .08);
  color: #fff6dc;
}
body > main:first-child .warning + section { border-top: 0; padding-top: 22px; }

/* type-05 · Enlaces dorados, foco propio y área táctil de 44px al pie.
   (Antes que el bloque del logo: así el anillo de foco del logo sigue redondo.) */
body > main:first-child a {
  color: #ffd34e;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}
body > main:first-child a:hover { color: #ffe58a; }
body > main:first-child a:focus-visible {
  outline: 2px solid #ffd34e;
  outline-offset: 3px;
  border-radius: 6px;
}
body > main:first-child > p:last-child {
  margin: 8px 0 0;
  padding-top: 18px;
  border-top: 1px solid #2c1f3c;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 10px;
}
body > main:first-child > p:last-child > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* type-02 · Logo: emblema de 72px alineado al borde del texto; enlace en bloque. */
body > main:first-child > a:first-child {
  display: inline-block;
  border-radius: 50%;
  line-height: 0;
}
body > main:first-child > a:first-child > img {
  display: block;
  width: 72px;
  height: 72px;
  max-width: none;
  object-fit: contain;
}

/* Revisión legal-images-04 · <360 px: «Información legal · Volver a Multisala.net» no entra en un renglón y el
   separador decorativo «·» quedaba solo al final; se oculta sólo el separador (los enlaces conservan 16 px). */
@media (max-width: 359px) {
  body > main:first-child > p:last-child { font-size: 0; }
  body > main:first-child > p:last-child > a { font-size: 16px; }
}
