/* Fable Runner · web: la composición de las páginas, A «Madera del juego» (16-10-2026; maqueta en
   docs/maquetas/web-2026-10-16/a.html). Las piezas (madera, pergamino, píldoras, cinta) están en base.css. */

body { display: flex; flex-direction: column; min-height: 100vh; background: #0f2512; }
main { flex: 1 0 auto; }
/* El fondo, A «Bosque pintado» (16-10-2026, elegido entre maquetas: docs/maquetas/web-fondo-2026-10-16.png; el usuario
   dijo que el fondo liso era «muy pobre»): el bosque del juego quieto detrás de toda la página, con un velo verde para
   que se lea. Es un elemento fijo y no background-attachment: fixed, que en muchos móviles no se queda quieto. */
body::before { content: ''; position: fixed; inset: -24px; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255,226,140,.18), transparent 70%),
    linear-gradient(180deg, rgba(12,32,14,.38) 0%, rgba(12,32,14,.62) 55%, rgba(8,22,10,.8) 100%),
    url('/assets/img/bosque.webp') center 32% / cover no-repeat;
  filter: blur(2.5px) saturate(1.15); }
/* los textos sueltos sobre el bosque, con sombra para que se lean en las zonas claras */
.cab-sec p, .mas-ayuda, .clasif .nota-p, .entradilla, .paginas { text-shadow: 0 2px 6px rgba(0,0,0,.6), 0 0 2px rgba(0,0,0,.5); }

/* ---- La barra de arriba: tablones ---- */
.barra { position: sticky; top: 0; z-index: 20; height: 76px; box-shadow: inset 0 2px 0 rgba(255,255,255,.25), 0 5px 0 #3d2208, 0 10px 18px rgba(0,0,0,.35); }
/* Un solo tablón, con la veta suave: las juntas de .madera (una cada 26 px) cruzaban la barra por debajo del texto como
   una franja (16-10-2026, lo vio el usuario) */
.barra.madera { background: repeating-linear-gradient(179.4deg, rgba(0,0,0,.03) 0 1px, transparent 1px 7px, rgba(255,255,255,.025) 7px 8px, transparent 8px 13px),
  linear-gradient(90deg, rgba(255,255,255,.04), rgba(0,0,0,.05) 50%, rgba(255,255,255,.04)), linear-gradient(#b67c3e, #94602a 55%, #7a4c1e); }
.barra-in { display: flex; align-items: center; gap: 18px; height: 100%; max-width: 1360px; }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.marca img { width: 48px; height: 48px; border-radius: 13px; box-shadow: 0 3px 0 #3d2208; }
.marca .ty-disp { font-size: 27px; }
.vivo { display: flex; gap: 16px; margin-left: 8px; }
.menu { display: flex; gap: 24px; margin-left: auto; }
.menu a { font: 400 19px/1 var(--f-disp); color: #fff3d6; text-decoration: none; -webkit-text-stroke: 4px #3d2208; paint-order: stroke fill; white-space: nowrap; }
.menu a:hover { color: #ffe07a; }
.barra .jugar-ahora { margin-left: 6px; flex: none; }

/* ---- Portada ---- */
/* la portada enseña el mismo bosque, más nítido, y se funde con el de detrás por abajo, sin corte */
.portada { position: relative; overflow: hidden; isolation: isolate; padding: 54px 0 110px; }
.portada::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(22,54,26,.92) 0%, rgba(22,54,26,.72) 36%, rgba(22,54,26,.2) 62%, transparent 100%),
    url('/assets/img/bosque.webp') right 38% / 62% auto no-repeat;
  -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.portada-in { display: grid; grid-template-columns: 1.04fr .96fr; gap: 30px; align-items: center; max-width: 1360px; }
.portada h1 { font-size: clamp(42px, 5.4vw, 80px); margin: 18px 0; }
.portada .lema { font-size: clamp(17px, 1.5vw, 21px); font-weight: 800; color: var(--crema); max-width: 560px; line-height: 1.5; }
.acciones { display: flex; align-items: center; gap: 24px; margin-top: 30px; flex-wrap: wrap; }
.acciones .ver { font: 400 20px/1 var(--f-disp); color: #fff3d6; text-decoration: none; -webkit-text-stroke: 4px #3d2208; paint-order: stroke fill; }
.linea-tienda { display: flex; align-items: center; gap: 14px; margin-top: 26px; font-size: 14px; color: var(--crema-2); font-weight: 800; }
.linea-tienda img { height: 44px; width: auto; }

.hero-visual { position: relative; height: 610px; }
.hero-visual .rayos { position: absolute; left: 50%; top: 46%; width: 760px; height: 760px; margin: -380px 0 0 -380px; border-radius: 50%; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, rgba(255,214,110,.18) 0 7deg, transparent 7deg 18deg);
  -webkit-mask-image: radial-gradient(circle, #000 0 20%, transparent 64%); mask-image: radial-gradient(circle, #000 0 20%, transparent 64%); }
.hero-visual .movil { position: absolute; right: 70px; top: 0; width: 320px; transform: rotate(4deg); }
.hero-visual .fabi { position: absolute; left: -30px; bottom: -64px; width: 380px; transform: rotate(-6deg); filter: drop-shadow(0 18px 18px rgba(0,0,0,.45)); }
.hero-visual .liebre { position: absolute; right: -6px; bottom: -6px; width: 170px; filter: drop-shadow(0 10px 10px rgba(0,0,0,.4)); }
.hero-visual .tortuga { position: absolute; right: 138px; bottom: -34px; width: 150px; filter: drop-shadow(0 10px 10px rgba(0,0,0,.4)); }
.hero-visual .pluma { position: absolute; filter: drop-shadow(0 6px 6px rgba(0,0,0,.35)); }
.hero-visual .k1 { right: 6px; top: 30px; width: 86px; transform: rotate(28deg); }
.hero-visual .k2 { right: -26px; top: 180px; width: 66px; transform: rotate(-14deg); }
.hero-visual .k3 { left: 40px; top: 250px; width: 72px; transform: rotate(-30deg); }
.hero-visual .puerta { position: absolute; }
.hero-visual .p1 { left: 96px; top: 44px; transform: rotate(-8deg); }
.hero-visual .p2 { left: 186px; top: 120px; transform: rotate(-3deg); width: 84px; height: 96px; font-size: 34px; }
.hero-visual .tropa { position: absolute; left: 150px; top: 386px; transform: rotate(-4deg); }

/* las puertas: paneles translúcidos con el número enorme, como las del juego */
.puerta { display: grid; place-items: center; width: 92px; height: 104px; border-radius: 12px; font: 400 40px/1 var(--f-disp); color: #fff;
  -webkit-text-stroke: 6px rgba(0,0,0,.28); paint-order: stroke fill; border: 3px solid rgba(255,255,255,.8); box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.puerta.z { background: linear-gradient(rgba(90,170,255,.75), rgba(40,110,230,.6)); }
.puerta.v { background: linear-gradient(rgba(140,235,90,.78), rgba(60,180,40,.62)); }
.puerta.r { background: linear-gradient(rgba(255,120,100,.78), rgba(220,50,40,.62)); }
/* la insignia de la tropa del HUD */
.tropa { display: inline-flex; align-items: center; gap: 4px; height: 52px; padding: 0 16px 0 6px; border-radius: 16px; box-shadow: inset 0 2px 0 rgba(255,255,255,.3), 0 4px 0 #3d2208, 0 8px 14px rgba(0,0,0,.35); }
.tropa img { width: 46px; height: 46px; object-fit: cover; object-position: 50% 12%; border-radius: 50%; background: #f6e3b8; }
.tropa b { font: 400 30px/1 var(--f-disp); color: #fff; -webkit-text-stroke: 5px #3d2208; paint-order: stroke fill; }
.cara-jefe { border-radius: 50%; border: 4px solid #3d2208; object-fit: cover; object-position: 50% 30%; }

/* ---- Beneficios ---- */
.beneficios { position: relative; z-index: 3; margin-top: -60px; }
.beneficios-in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.beneficio .in { padding: 22px 20px 22px 132px; min-height: 140px; display: flex; flex-direction: column; justify-content: center; }
.beneficio .ilu { position: absolute; left: 12px; top: 50%; width: 112px; height: 112px; transform: translateY(-50%); }
.beneficio .ilu img { position: absolute; filter: drop-shadow(0 4px 4px rgba(0,0,0,.3)); }
.beneficio .b-fabi { left: -44px; top: -52px; width: 200px; max-width: none; }
.beneficio .b-liebre { left: -8px; top: -4px; width: 96px; }
.beneficio .b-tortuga { left: 28px; top: 16px; width: 92px; }
.beneficio .cara-jefe { left: 6px; top: 6px; width: 100px; height: 100px; }
.beneficio h2 { font-size: 25px; }
.beneficio p { margin-top: 6px; font-size: 15px; font-weight: 800; line-height: 1.4; }

/* ---- Secciones y sus títulos ---- */
.seccion { padding: 96px 0 0; }
.cab-sec { text-align: center; margin-bottom: 40px; }
.cab-sec h1, .cab-sec h2 { margin: 0; }
.cab-sec p { margin: 18px auto 0; max-width: 640px; font-size: 18px; font-weight: 800; color: var(--crema); }

/* ---- Galería ---- */
.galeria { display: grid; grid-template-columns: repeat(3, 1fr); gap: 46px; max-width: 1040px; margin: 0 auto; align-items: start; }
.galeria figure { margin: 0; }
.galeria figure:nth-child(2) { transform: translateY(-22px); }
.galeria figcaption { position: relative; margin: 22px 10px 0; padding: 14px 16px 16px; border-radius: 14px; text-align: center; box-shadow: 0 4px 0 rgba(61,34,8,.6), 0 8px 14px rgba(0,0,0,.3); }
.galeria figcaption::before, .galeria figcaption::after { content: ''; position: absolute; top: -6px; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff9a8a, #e2301e 60%, #8e160a); box-shadow: 0 2px 2px rgba(0,0,0,.5); }
.galeria figcaption::before { left: 18px; } .galeria figcaption::after { right: 18px; }
.galeria figcaption b { display: block; font: 400 22px/1.1 var(--f-disp); color: #fff; -webkit-text-stroke: 4px #3d2208; paint-order: stroke fill; }
.galeria figcaption span { display: block; margin-top: 4px; font-size: 14px; font-weight: 800; line-height: 1.35; }
.centro-btn { text-align: center; margin-top: 44px; }

/* ---- Novedades: el tablón con las notas clavadas ---- */
.novedades { display: grid; grid-template-columns: 1.9fr 1fr; gap: 30px; align-items: start; }
.novedades > .tablon { padding: 28px 26px 26px; }
.notas { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 24px; }
.nota { position: relative; border-radius: 8px 8px 14px 14px; padding: 12px 12px 14px; box-shadow: 0 4px 0 rgba(61,34,8,.6), 0 8px 14px rgba(0,0,0,.35); }
.nota:nth-child(4n+1) { transform: rotate(-.6deg); } .nota:nth-child(4n+2) { transform: rotate(1deg); } .nota:nth-child(4n+3) { transform: rotate(.8deg); } .nota:nth-child(4n) { transform: rotate(-1deg); }
.nota .chincheta { top: -8px; left: 50%; margin-left: -10px; }
.nota .mini { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: 50% 40%; border-radius: 6px; }
.meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12.5px; font-weight: 800; color: var(--tinta-p2); }
.nota .meta { margin-top: 10px; }
.nota h3 { margin-top: 6px; font: 400 21px/1.15 var(--f-disp); }
.nota h3 a, .nota-feed h3 a { color: #fff; -webkit-text-stroke: 4px #3d2208; paint-order: stroke fill; text-decoration: none; }
.nota h3 a:hover, .nota-feed h3 a:hover { color: #ffe07a; }
.nota p { margin-top: 4px; font-size: 14px; font-weight: 800; line-height: 1.38; }
.nota.regalo { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; padding: 14px 20px; color: var(--tinta-p);
  background: radial-gradient(ellipse at 50% 20%, #fff8d0, #ffe08a 70%, #f4c04e); box-shadow: 0 0 0 3px #ffd34d, 0 4px 0 rgba(61,34,8,.6), 0 0 30px rgba(255,210,80,.45); }
.nota.regalo .caja { width: 96px; flex: none; filter: drop-shadow(0 4px 4px rgba(0,0,0,.3)); }
.nota.regalo .texto { flex: 1; }
.nota.regalo .btn { flex: none; }
.vacio { padding: 22px; border-radius: 14px; text-align: center; font-weight: 800; }
.pie-tablon { display: flex; justify-content: center; margin-top: 26px; }
.lateral { display: grid; gap: 28px; }
.lateral .in { padding: 22px 20px 20px; }
.lateral .cabeza { display: flex; align-items: center; gap: 12px; }
.lateral .cabeza img { width: 64px; flex: none; filter: drop-shadow(0 3px 3px rgba(0,0,0,.3)); }
.lateral h3 { font-size: 25px; margin-top: 6px; }
.lateral p { margin-top: 10px; font-size: 15px; font-weight: 800; line-height: 1.45; }
.cofres { display: flex; justify-content: space-between; margin-top: 12px; }
.cofres div { text-align: center; font: 400 15px/1 var(--f-disp); color: #fff; -webkit-text-stroke: 3.5px #3d2208; paint-order: stroke fill; }
.cofres img { width: 66px; margin: 0 auto 2px; filter: drop-shadow(0 4px 3px rgba(0,0,0,.35)); }

/* ---- La aventura: la fábula y la clasificación ---- */
.aventura { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: stretch; }
.fabula .in { padding: 16px 16px 22px; display: flex; flex-direction: column; }
.fabula .mapa { position: relative; height: 230px; }
.fabula .mapa .fondo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; border-radius: 12px; }
.fabula .mapa .liebre { position: absolute; left: -18px; bottom: -40px; width: 130px; filter: drop-shadow(0 6px 6px rgba(0,0,0,.4)); }
.fabula .mapa .tortuga { position: absolute; right: -14px; bottom: -42px; width: 124px; filter: drop-shadow(0 6px 6px rgba(0,0,0,.4)); }
.fabula .texto { padding: 30px 10px 0; text-align: center; }
.fabula h3 { font-size: 34px; margin-top: 10px; }
.fabula p { margin: 10px auto 0; max-width: 440px; font-size: 16px; font-weight: 800; line-height: 1.45; }
.pastillas { display: flex; justify-content: center; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.pastillas span { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px 0 8px; border-radius: 99px; background: linear-gradient(#3a2210, #573519);
  box-shadow: inset 0 2px 4px rgba(0,0,0,.6); font: 400 17px/1 var(--f-disp); color: #fff; }
.pastillas img { width: 26px; height: 26px; }
.clasif { display: flex; flex-direction: column; padding: 22px 22px 20px; }
.clasif .cabeza { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.clasif .cabeza img { width: 70px; margin: -14px 0 -8px; filter: drop-shadow(0 4px 4px rgba(0,0,0,.4)); }
.clasif .cabeza h3 { font-size: 28px; }
.clasif .cabeza .cierra { margin-left: auto; }
.filas { list-style: none; padding: 0; }
.fila { display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 14px 0 10px; margin-top: 8px; border-radius: 12px; box-shadow: 0 3px 0 rgba(61,34,8,.6); }
.fila .pos { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font: 400 18px/1 var(--f-disp); color: #fff; -webkit-text-stroke: 3.5px rgba(0,0,0,.35); paint-order: stroke fill; background: #b9a07a; }
.fila .pos.o { background: linear-gradient(#ffe97a, #f2b126); } .fila .pos.p { background: linear-gradient(#f1f4f8, #a9b4c4); } .fila .pos.b { background: linear-gradient(#f2b27a, #b8662a); }
.fila .nom { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 900 16px/1.2 var(--f-ui); }
.fila .pts { display: flex; align-items: center; gap: 6px; font: 400 20px/1 var(--f-disp); color: #fff; -webkit-text-stroke: 4px #3d2208; paint-order: stroke fill; }
.fila .pts img { width: 26px; }
.clasif .vacio { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 30px 22px; }
.clasif .vacio img { width: 110px; flex: none; filter: drop-shadow(0 6px 6px rgba(0,0,0,.25)); }
.clasif .vacio b { font: 400 24px/1.1 var(--f-disp); color: #fff; -webkit-text-stroke: 4px #3d2208; paint-order: stroke fill; }
.clasif .nota-p { margin-top: 12px; text-align: center; font-size: 13px; font-weight: 800; color: #e8cf9a; }

/* ---- Cómo se juega ---- */
.pasos { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.paso .in { padding: 18px 16px 20px; text-align: center; }
.paso .num { position: absolute; left: -12px; top: -14px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(#a8f56c, #4cc424 55%, #2f9a14); box-shadow: inset 0 2px 0 rgba(255,255,255,.4), 0 4px 0 #217a0c; font: 400 24px/1 var(--f-disp); color: #fff; -webkit-text-stroke: 4px #1d5a12; paint-order: stroke fill; }
.paso .vis { position: relative; height: 128px; margin-bottom: 12px; border-radius: 12px; background: linear-gradient(#bfe6ff, #e8f6ff 55%, #9ad06c 55%, #7cbc4e); overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 8px; }
.paso .vis > img { width: 56px; filter: drop-shadow(0 4px 3px rgba(0,0,0,.25)); }
.paso .vis > img:nth-child(odd) { transform: rotate(-16deg); }
.paso h3 { font-size: 23px; }
.paso p { margin-top: 6px; font-size: 14.5px; font-weight: 800; line-height: 1.4; }
.tecla { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(#a8f56c, #4cc424 55%, #2f9a14); box-shadow: inset 0 2px 0 rgba(255,255,255,.4), 0 4px 0 #217a0c;
  font: 400 32px/1 var(--f-disp); color: #fff; -webkit-text-stroke: 5px #1d5a12; paint-order: stroke fill; }
.carriles-mini { width: 120px; height: 100%; background: linear-gradient(90deg, #9a6630 0 5px, #e2c391 5px 37px, #fff6df 37px 41px, #e2c391 41px 79px, #fff6df 79px 83px, #e2c391 83px 115px, #9a6630 115px); }
.paso .puerta { width: 58px; height: 68px; font-size: 25px; border-width: 2px; -webkit-text-stroke-width: 4px; }
.vida { position: absolute; top: 30px; left: 50%; width: 120px; margin-left: -60px; height: 16px; border-radius: 8px; background: #3d2208; padding: 2px; }
.vida i { display: block; height: 100%; width: 72%; border-radius: 6px; background: linear-gradient(#ff8a6a, #e2301e); }
.vida b { position: absolute; left: 0; right: 0; top: -20px; text-align: center; font: 400 18px/1 var(--f-disp); color: #fff; -webkit-text-stroke: 4px #3d2208; paint-order: stroke fill; }
.paso .cara-jefe { width: 70px; height: 70px; margin-top: 44px; }
.paso .tropa { height: 42px; margin-top: 44px; }
.paso .tropa img { width: 34px; height: 34px; }
.paso .tropa b { font-size: 23px; }

/* ---- Banner final ---- */
.reino-cta .in { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; min-height: 340px; padding: 40px 50px;
  background: linear-gradient(90deg, rgba(18,44,20,.96) 0%, rgba(18,44,20,.82) 45%, rgba(18,44,20,.15) 100%), url('/assets/img/mapa-bosque.webp') center 60% / cover; }
.reino-cta h2 { font-size: clamp(38px, 4.2vw, 60px); }
.reino-cta p { margin: 14px 0 26px; font-size: 19px; font-weight: 800; color: var(--crema); }
.reino-cta .ilus { position: relative; height: 300px; }
.reino-cta .ilus .fabi { position: absolute; right: 90px; bottom: -70px; width: 360px; filter: drop-shadow(0 14px 14px rgba(0,0,0,.45)); }
.reino-cta .ilus .liebre { position: absolute; right: -10px; bottom: -40px; width: 160px; }
.reino-cta .ilus .tortuga { position: absolute; left: 0; bottom: -46px; width: 150px; }

/* ---- Preguntas ---- */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px; align-items: start; }
.faq.una { grid-template-columns: 1fr; margin-top: 28px; }
.faq details { border-radius: 16px; box-shadow: 0 0 0 4px #94602a, 0 6px 0 #3d2208, 0 10px 16px rgba(0,0,0,.3); }
.faq summary { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px 10px 20px; list-style: none; cursor: pointer;
  font: 400 21px/1.15 var(--f-disp); color: #fff; -webkit-text-stroke: 4px #3d2208; paint-order: stroke fill; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; margin-left: auto; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(#a8f56c, #4cc424 55%, #2f9a14);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.4), 0 3px 0 #217a0c; font: 400 26px/1 var(--f-disp); -webkit-text-stroke: 4px #1d5a12; padding-bottom: 3px; }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 20px 18px; font-size: 15.5px; font-weight: 800; line-height: 1.5; }
.faq a, .legal-texto a, .n-cuerpo a, .entradilla a, .mas-ayuda a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.legal-texto .in a, .faq a { color: #1f6fb8; }
.mas-ayuda { margin-top: 26px; text-align: center; font-weight: 800; color: var(--crema); }

/* ---- Compartir: B «La fila de botones» (16-10-2026, docs/maquetas/compartir-2026-10-16.png) ---- */
.compartir { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.compartir .t { margin-right: 4px; font: 400 20px/1 var(--f-disp); color: #fff; -webkit-text-stroke: 4px #3d2208; paint-order: stroke fill; }
.compartir .red { position: relative; flex: none; display: grid; place-items: center; width: 50px; height: 50px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.35), 0 3px 0 rgba(0,0,0,.35), 0 6px 10px rgba(0,0,0,.2); transition: transform .12s ease, filter .12s ease; }
.compartir .red:hover { transform: translateY(-2px); filter: brightness(1.08); }
.compartir .red svg { width: 26px; height: 26px; 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); }
.compartir .wa { background: linear-gradient(#5be38a, #25d366 60%, #1aa851); }
.compartir .x { background: linear-gradient(#4a4a4a, #161616 60%, #000); }
.compartir .copiar { background: linear-gradient(#c98e4c, #94602a 60%, #7a4c1e); }
/* «¡Copiado!» un momento encima del botón (web.js) */
.compartir .copiar.copiado::after { content: '¡Copiado!'; position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); padding: 5px 10px; border-radius: 9px;
  background: #3d2208; color: #ffe9b8; font: 900 13px/1 var(--f-ui); white-space: nowrap; }
.compartir.centro { justify-content: center; margin-top: 26px; }
.compartir.en-pie { margin-top: 16px; }
.compartir.en-pie .red { width: 42px; height: 42px; }
.compartir.en-pie .red svg { width: 22px; height: 22px; }

/* ---- Pie: madera oscura ---- */
.pie { flex: none; margin-top: 110px; padding: 54px 0 0; box-shadow: inset 0 6px 0 #94602a, inset 0 9px 0 #3d2208; color: #f0dcb4; }
.pie-cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 34px; }
.pie-juego .marca .ty-disp { font-size: 26px; }
.pie-juego p { margin: 14px 0 16px; font-size: 15px; font-weight: 800; line-height: 1.5; max-width: 320px; }
.pie-juego .play img { width: 150px; }
.pronto-pie { display: inline-block; padding: 8px 14px; border-radius: 99px; background: rgba(0,0,0,.25); font-size: 14px; font-weight: 900; color: #ffe9b8; }
.pie-lista { display: grid; align-content: start; gap: 9px; font-size: 15px; font-weight: 800; }
.pie-lista h2 { font-size: 20px; margin-bottom: 6px; }
.pie-lista a { text-decoration: none; }
.pie-lista a:hover { color: #ffe07a; }
.pie-estudio { display: block; padding: 18px; border-radius: 18px; text-align: center; text-decoration: none; background: linear-gradient(#3a2210, #573519); box-shadow: inset 0 2px 6px rgba(0,0,0,.6), 0 1px 0 rgba(255,255,255,.15); }
.pie-estudio .de { display: block; font: 900 12px/1 var(--f-ui); letter-spacing: 1.4px; text-transform: uppercase; color: #cdb58a; }
.pie-estudio img { width: 200px; margin: 10px auto; }
.pie-estudio .ir { font-weight: 900; color: #ffe9b8; }
.pie-fin { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 44px; padding: 20px 0 26px; border-top: 2px solid rgba(0,0,0,.25); font-size: 14px; font-weight: 800; color: #cdb58a; flex-wrap: wrap; }
.sellos { display: flex; gap: 10px; flex-wrap: wrap; list-style: none; padding: 0; }
.sellos li { padding: 6px 14px; border-radius: 99px; background: rgba(0,0,0,.25); color: #f0dcb4; font-size: 13px; }

/* ---- Páginas de dentro ---- */
.pagina { padding-top: 50px; }
.pagina > .contenedor > h1 { font-size: clamp(36px, 5vw, 54px); }
.entradilla { margin-top: 14px; font-size: 18px; font-weight: 800; color: var(--crema); line-height: 1.5; }
.pagina .contenedor > .marco { margin-top: 30px; }
.pagina .marco > .in { padding: 26px 26px 28px; }
.legal-texto .in h2 { font: 400 25px/1.15 var(--f-disp); color: #fff; -webkit-text-stroke: 4.5px #3d2208; paint-order: stroke fill; margin: 28px 0 10px; }
.legal-texto .in h2:first-child, .legal-texto .in .actualizada + h2 { margin-top: 0; }
.legal-texto .in h3 { font: 900 17px/1.3 var(--f-ui); margin: 18px 0 6px; }
.legal-texto .in p, .legal-texto .in li { font-size: 15.5px; font-weight: 800; line-height: 1.55; }
.legal-texto .in p + p { margin-top: 10px; }
.legal-texto .in ul { padding-left: 1.2em; display: grid; gap: 6px; margin-top: 8px; }
.legal-texto .actualizada { margin-bottom: 18px; font-size: 14px !important; color: var(--tinta-p2); }
.pendiente { padding: 1px 6px; border-radius: 6px; background: #ffe24d; color: #3d2208; font-weight: 900; }
.lista-pasos { list-style: none; padding: 0 !important; display: grid; gap: 12px !important; counter-reset: p; }
.lista-pasos li { position: relative; padding: 6px 0 6px 50px; min-height: 36px; counter-increment: p; }   /* sin flex: juntaría el texto y el <b> sin espacio */
.lista-pasos li::before { content: counter(p); position: absolute; left: 0; top: 50%; margin-top: -18px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(#a8f56c, #4cc424 55%, #2f9a14); box-shadow: inset 0 2px 0 rgba(255,255,255,.4), 0 3px 0 #217a0c; font: 400 20px/1 var(--f-disp); color: #fff; -webkit-text-stroke: 4px #1d5a12; paint-order: stroke fill; }

/* la lista de novedades */
.feed { display: grid; gap: 18px; }
.nota-feed { display: flex; gap: 16px; padding: 14px; border-radius: 16px; box-shadow: 0 0 0 4px #94602a, 0 6px 0 #3d2208, 0 10px 16px rgba(0,0,0,.3); }
.nota-feed > img, .nota-sin { width: 168px; height: 120px; flex: none; object-fit: cover; object-position: 50% 40%; border-radius: 10px; }
.nota-sin { display: grid; place-items: center; background: rgba(122,76,30,.15); }
.nota-sin img { width: 70px; }
.nota-feed h3 { margin-top: 6px; font: 400 23px/1.15 var(--f-disp); }
.nota-feed p:not(.meta) { margin-top: 4px; font-size: 15px; font-weight: 800; line-height: 1.4; }
.nota-feed.regalo { background: radial-gradient(ellipse at 50% 20%, #fff8d0, #ffe08a 70%, #f4c04e); }
.paginas { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 30px; font-weight: 800; }
/* una noticia */
.noticia > .contenedor > .meta { color: var(--crema-2); }
.noticia .volver { margin-right: 6px; font: 400 18px/1 var(--f-disp); color: #fff3d6; text-decoration: none; -webkit-text-stroke: 4px #3d2208; paint-order: stroke fill; }
.noticia h1 { margin-top: 14px; font-size: clamp(34px, 4.6vw, 52px); }
.n-portada { width: 100%; max-height: 460px; object-fit: cover; object-position: 50% 35%; border-radius: 12px; margin-bottom: 18px; }
.n-cuerpo p { font-size: 16.5px; font-weight: 800; line-height: 1.6; }
.n-cuerpo p + p { margin-top: 12px; }
.n-cta { margin-top: 24px; text-align: center; }
.cab-sec.mas { margin: 60px 0 30px; }
/* un mensaje */
.pagina .mensaje.marco > .in { padding: 30px 26px 30px 190px; min-height: 200px; }
.mensaje .m-fabi { position: absolute; left: -10px; top: 50%; width: 210px; transform: translateY(-50%); filter: drop-shadow(0 8px 8px rgba(0,0,0,.3)); }
.mensaje h1 { font-size: 34px; }
.mensaje p { margin-top: 12px; font-size: 16.5px; font-weight: 800; line-height: 1.5; }
.mensaje form { margin-top: 18px; }
.detalle { margin-top: 20px; padding: 16px; border-radius: 12px; overflow: auto; background: #0c1a0e; color: #cfe8c4; font-size: 12px; white-space: pre-wrap; }

/* ---------- Móvil ---------- */
@media (max-width: 1180px) { .vivo .chip:nth-child(2) .l { display: none; } }
@media (max-width: 1080px) { .menu { display: none; } .barra .jugar-ahora { margin-left: auto; } }
@media (max-width: 900px) {
  .portada { padding: 30px 0 70px; }
  .portada::before { background: linear-gradient(180deg, rgba(22,54,26,.9) 0%, rgba(22,54,26,.62) 40%, rgba(22,54,26,.15) 70%, transparent 100%),
    url('/assets/img/bosque.webp') center 70% / cover no-repeat; }
  .portada-in { grid-template-columns: 1fr; }
  .hero-visual { height: 470px; margin-top: 10px; }
  .hero-visual .movil { width: 230px; right: 30px; }
  .hero-visual .fabi { width: 260px; left: -24px; bottom: -40px; }
  .hero-visual .liebre { width: 120px; right: -10px; }
  .hero-visual .tortuga { width: 104px; right: 96px; bottom: -22px; }
  .hero-visual .tropa { left: 120px; top: 300px; }
  .hero-visual .puerta { width: 70px; height: 80px; font-size: 30px; }
  .hero-visual .k3 { display: none; }
  .beneficios { margin-top: -30px; }
  .beneficios-in, .novedades, .aventura, .faq { grid-template-columns: 1fr; }
  .pasos { grid-template-columns: 1fr 1fr; }
  .galeria { display: flex; overflow-x: auto; gap: 18px; scroll-snap-type: x mandatory; padding: 26px 16px 6px; margin: 0 -16px; }
  .galeria figure { flex: 0 0 62%; scroll-snap-align: center; }
  .reino-cta .in { grid-template-columns: 1fr; padding: 30px 22px 0; text-align: center; }
  .reino-cta .ilus { height: 230px; }
  .reino-cta .ilus .fabi { width: 270px; right: 50%; margin-right: -135px; bottom: -50px; }
  .reino-cta .ilus .liebre { width: 110px; right: -6px; } .reino-cta .ilus .tortuga { width: 100px; left: -6px; }
  .pie-cols { grid-template-columns: 1fr 1fr; }
  .pie-cols > :first-child, .pie-cols > :last-child { grid-column: 1 / -1; }
  .seccion { padding-top: 72px; }
}
@media (max-width: 600px) {
  .barra { height: 66px; } .barra .marca .ty-disp { display: none; } .vivo { margin-left: 4px; } .vivo .chip:nth-child(2) { display: none; }
  .barra .jugar-ahora { height: 40px; padding: 0 16px; font-size: 19px; }
  .acciones { gap: 16px; } .acciones .descargar { width: 100%; }
  .btn.xl.pronto { font-size: 24px; padding: 0 20px; }
  .linea-tienda { flex-direction: column; align-items: flex-start; gap: 8px; }
  .beneficio .in { padding-left: 118px; min-height: 124px; } .beneficio .ilu { width: 98px; height: 98px; }
  .notas { grid-template-columns: 1fr; }
  .novedades > .tablon { padding: 24px 16px 20px; }
  .nota.regalo { flex-direction: column; align-items: stretch; text-align: center; } .nota.regalo .caja { margin: 0 auto; } .nota.regalo .btn { align-self: center; }
  .pasos { grid-template-columns: 1fr; gap: 26px; }
  .cinta { padding: 6px 24px; min-height: 52px; } .cinta .ty-disp { font-size: 27px; }
  .clasif .cabeza h3 { font-size: 23px; } .clasif .cabeza .cierra { display: none; }
  .fabula h3 { font-size: 28px; }
  .nota-feed { flex-direction: column; } .nota-feed > img, .nota-sin { width: 100%; height: 150px; }
  .pagina .marco > .in { padding: 20px 16px 22px; }
  .pagina .mensaje.marco > .in { padding: 150px 18px 24px; text-align: center; } .mensaje .m-fabi { left: 50%; top: -20px; width: 180px; transform: translateX(-50%); }
  .pie-fin { flex-direction: column; align-items: flex-start; }
}
