/* Lo común a la web y al panel (19-10-2026): las letras (auto-alojadas, LICENCIAS.txt: Lilita One en los títulos y Nunito
   en el texto), la letra del juego con contorno, el agujero y los botones de compartir. Sin estilos en línea: la CSP de la
   web los prohíbe, así que los tamaños (.d28…) y el encuadre de las fotos (.foco-0…100) son clases. */
@font-face { font-family: 'Lilita One'; font-display: swap; src: url('../fuentes/lilita-one-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Lilita One'; font-display: swap; src: url('../fuentes/lilita-one-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Nunito'; font-weight: 700; font-display: swap; src: url('../fuentes/nunito-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Nunito'; font-weight: 800; font-display: swap; src: url('../fuentes/nunito-latin-800-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Nunito'; font-weight: 700; font-display: swap; src: url('../fuentes/nunito-latin-ext-700-normal.woff2') format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Nunito'; font-weight: 800; font-display: swap; src: url('../fuentes/nunito-latin-ext-800-normal.woff2') format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* los idiomas de la familia Fable (17-11-2026, como en Fable Match), con las letras del juego (herramientas/web-letras.py): lo
   añadido a Lilita (ğ ş İ del turco, el cirílico, el hebreo y los signos), el cirílico de Nunito, el hebreo de Fredoka y, para
   títulos y texto, el japonés (M PLUS Rounded 1c), el coreano (Noto Sans KR), el jemer (Noto Sans Khmer) y el árabe (Baloo
   Bhaijaan 2). Van después: donde se pisan los rangos, manda la última; y cada una solo se baja si la página la necesita */
@font-face { font-family: 'Lilita One'; font-display: swap; src: url('../fuentes/lilita-one-fable-400-normal.woff2') format('woff2'); unicode-range: U+011E-011F, U+0130, U+015E-015F, U+0400-045F, U+0490-0491, U+2116, U+05BE, U+05D0-05EA, U+05F3-05F4, U+20AA, U+2190-2195, U+221E, U+2298, U+25B2-25C0, U+2605, U+2713-2715; }
@font-face { font-family: 'Nunito'; font-weight: 700; font-display: swap; src: url('../fuentes/nunito-cyrillic-700-normal.woff2') format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+2116; }
@font-face { font-family: 'Nunito'; font-weight: 800; font-display: swap; src: url('../fuentes/nunito-cyrillic-800-normal.woff2') format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+2116; }
@font-face { font-family: 'Nunito'; font-weight: 600 900; font-display: swap; src: url('../fuentes/fredoka-hebrew-600-normal.woff2') format('woff2'); unicode-range: U+0590-05FF, U+200C-200F, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: 'Lilita One'; font-display: swap; src: url('../fuentes/baloo-bhaijaan-2-arabic-800-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: 'Nunito'; font-weight: 600 900; font-display: swap; src: url('../fuentes/baloo-bhaijaan-2-arabic-800-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: 'Lilita One'; font-display: swap; src: url('../fuentes/noto-sans-khmer-900-normal.woff2') format('woff2'); unicode-range: U+1780-17FF, U+19E0-19FF, U+200B; }
@font-face { font-family: 'Nunito'; font-weight: 600 900; font-display: swap; src: url('../fuentes/noto-sans-khmer-900-normal.woff2') format('woff2'); unicode-range: U+1780-17FF, U+19E0-19FF, U+200B; }
@font-face { font-family: 'Lilita One'; font-display: swap; src: url('../fuentes/mplus-rounded-1c-japanese-900-normal.woff2') format('woff2'); unicode-range: U+3000-30FF, U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FF01-FF5E; }
@font-face { font-family: 'Nunito'; font-weight: 600 900; font-display: swap; src: url('../fuentes/mplus-rounded-1c-japanese-900-normal.woff2') format('woff2'); unicode-range: U+3000-30FF, U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FF01-FF5E; }
@font-face { font-family: 'Lilita One'; font-display: swap; src: url('../fuentes/noto-sans-kr-korean-900-normal.woff2') format('woff2'); unicode-range: U+1100-11FF, U+3130-318F, U+AC00-D7A3; }
@font-face { font-family: 'Nunito'; font-weight: 600 900; font-display: swap; src: url('../fuentes/noto-sans-kr-korean-900-normal.woff2') format('woff2'); unicode-range: U+1100-11FF, U+3130-318F, U+AC00-D7A3; }

:root {
  --f-disp: 'Lilita One', 'Arial Rounded MT Bold', system-ui, sans-serif; --f-texto: 'Nunito', system-ui, sans-serif;
  --noche: #071c4a; --cobalto: #0b2a6b; --azul-real: #1f52c0; --azul-vivo: #3e8ef9;
  --oro: #ffd04a; --aro: #ffcf3a; --canto: #c98a0c; --ambar: #a35f00;
  --marfil: #fff8e8; --tinta: #1b2a4e; --tinta-suave: #4a5675; --blanco: #eef3ff;
  --panel: linear-gradient(#56a2ff, #3380ee 45%, #2766d8);
  --oro-boton: linear-gradient(#ffe48a, #ffbf1a 50%, #f39400);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 700 17px/1.55 var(--f-texto); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; }

/* La letra del juego: Lilita One blanca con contorno grueso (el color y el grosor los pone cada sitio) */
.lil { font-family: var(--f-disp); font-weight: 400; color: #fff; word-spacing: .12em; paint-order: stroke fill;
  -webkit-text-stroke: var(--contorno, 6px) var(--tinta-contorno, var(--cobalto)); }

/* El agujero del juego, negro por dentro y con su aro de oro (5-11-2026, el usuario: sin estrellas ni brillos) */
.agujero { flex: none; display: inline-block; width: var(--d, 58px); height: calc(var(--d, 58px) * .74); margin: calc(var(--d, 58px) * .09); border-radius: 50%; background: #05040c;
  box-shadow: 0 0 0 calc(var(--d, 58px) * .08) #ffc414, 0 calc(var(--d, 58px) * .08) calc(var(--d, 58px) * .14) calc(var(--d, 58px) * .06) rgba(3, 12, 36, .3); }
.d28 { --d: 28px; } .d30 { --d: 30px; } .d32 { --d: 32px; } .d34 { --d: 34px; } .d40 { --d: 40px; } .d46 { --d: 46px; }
.d52 { --d: 52px; } .d58 { --d: 58px; } .d64 { --d: 64px; } .d74 { --d: 74px; } .d92 { --d: 92px; }

/* El encuadre de las fotos de las noticias (Noticias: foco, de 0 arriba a 100 abajo; el filtro |foco de Twig) */
.foco-0 { object-position: 50% 0; } .foco-5 { object-position: 50% 5%; } .foco-10 { object-position: 50% 10%; } .foco-15 { object-position: 50% 15%; }
.foco-20 { object-position: 50% 20%; } .foco-25 { object-position: 50% 25%; } .foco-30 { object-position: 50% 30%; } .foco-35 { object-position: 50% 35%; }
.foco-40 { object-position: 50% 40%; } .foco-45 { object-position: 50% 45%; } .foco-50 { object-position: 50% 50%; } .foco-55 { object-position: 50% 55%; }
.foco-60 { object-position: 50% 60%; } .foco-65 { object-position: 50% 65%; } .foco-70 { object-position: 50% 70%; } .foco-75 { object-position: 50% 75%; }
.foco-80 { object-position: 50% 80%; } .foco-85 { object-position: 50% 85%; } .foco-90 { object-position: 50% 90%; } .foco-95 { object-position: 50% 95%; }
.foco-100 { object-position: 50% 100%; }

/* Botones de compartir: los de Fable Runner (B «La fila de botones», 16-10-2026); «Copiar el enlace», en oro */
.compartir { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.compartir .red { position: relative; flex: none; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; text-decoration: none; transition: transform .1s ease; }
.compartir .red:hover { transform: translateY(-2px); }
.compartir .red svg { width: 25px; height: 25px; fill: #fff; }
.compartir .red .trazo { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; }
.compartir .fb { background: linear-gradient(#4f8ef5, #1877f2 60%, #1160c8); box-shadow: 0 4px 0 #0d4fa6; }
.compartir .wa { background: linear-gradient(#5be38a, #25d366 60%, #1aa851); box-shadow: 0 4px 0 #148a42; }
.compartir .x { background: linear-gradient(#4a4a4a, #161616 60%, #000); box-shadow: 0 4px 0 #000; }
.compartir .copiar { background: var(--oro-boton); box-shadow: 0 4px 0 #b25e00; }
.compartir .copiar .trazo { stroke: #6a3500; }
.compartir .copiar.copiado::after { content: '¡Copiado!'; position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); padding: 5px 10px;
  border-radius: 9px; white-space: nowrap; font: 800 13px/1 var(--f-texto); color: #fff; background: var(--cobalto); }

a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--oro); outline-offset: 3px; }
.solo-lector { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
