/* Bosque de otoño (/bosque): un claro del bosque a última hora de la tarde. El suelo de
   hojarasca es el protagonista: en él brota una seta por día del 3 al 30 de noviembre.
   Portado del prototipo aprobado (oct-2026). Un solo aspecto, el atardecer, a propósito.
   Ver docs/BOSQUE.md. */
.bq-page {
  --bq-sky-top: #2a1b3d;
  --bq-sky-mid: #8a3b3b;
  --bq-sky-low: #e48a3c;
  --bq-leaf: #f5e6c8;   /* texto principal, crema */
  --bq-muted: #e9c9a0;
  --bq-soil: #3b2414;
  --bq-soil-2: #57351c;
  --bq-moss: #4d5b23;
  --bq-amber: #f59e0b;
  --bq-gold: #fde68a;
}
/* Las hojas y el suelo desbordan a propósito: se recorta en el documento (el overflow del
   body no basta, scrollea el <html>). Con :has deja de aplicar al salir por soft-nav. */
html:has(body.bq-page) { overflow-x: clip; background: #2a1b3d; }
.bq-page { overflow-x: hidden; min-height: 100dvh;
  background: linear-gradient(180deg, var(--bq-sky-top) 0, var(--bq-sky-mid) 230px, var(--bq-sky-low) 400px, #6b3a1a 600px, var(--bq-soil) 1000px, #24150a 100%); }
.bq-main { position: relative; max-width: 560px; margin: 0 auto; padding: 8px 16px 120px; color: var(--bq-leaf); }

/* Cabecera */
.bq-hero { position: relative; z-index: 7; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0 6px; }
.bq-title { margin: 0; font-weight: 800; font-size: clamp(1.5rem, 6.5vw, 2rem); color: var(--bq-leaf); text-wrap: balance;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .25), 0 0 20px rgba(245, 158, 11, .35); }
.bq-sub { margin: 4px 0 0; color: var(--bq-muted); font-weight: 700; font-size: .9rem; }
/* Las castañas llevan al puesto: se balancean y destellan cada pocos segundos para invitar
   a tocarlas (y el contador de la cabecera, igual, solo en el bosque). */
.bq-nuts { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto;
  padding: 8px 14px; border-radius: 999px; font: inherit; font-weight: 800; font-size: 1rem; color: var(--bq-leaf); cursor: pointer;
  background: rgba(120, 53, 15, .45); border: 1px solid rgba(251, 191, 36, .45); -webkit-tap-highlight-color: transparent; }
.bq-nuts:active { transform: scale(.95); }
.bq-nuts:focus-visible { outline: 3px solid var(--bq-gold); outline-offset: 2px; }
.bq-nuts-ic, .bq-page .hsb-candy > span:first-child { display: inline-block; transform-origin: 50% 90%; animation: bq-nut-wobble 5s ease-in-out infinite; }
.bq-page .hsb-candy > span:first-child { animation-delay: 2.5s; }
@keyframes bq-nut-wobble { 0%, 76%, 100% { transform: none; } 80% { transform: rotate(-16deg) translateY(-3px); } 86% { transform: rotate(12deg) translateY(-5px); } 92% { transform: rotate(-5deg); } }
.bq-nuts::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; pointer-events: none; transform: skewX(-20deg);
  background: linear-gradient(100deg, transparent, rgba(255, 236, 200, .6), transparent); animation: bq-shine 5s ease-in-out infinite; }
@keyframes bq-shine { 0%, 84% { left: -60%; } 96%, 100% { left: 130%; } }
.bq-stats { position: relative; z-index: 7; display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.bq-pill { padding: 5px 11px; border-radius: 999px; font-weight: 800; font-size: .8rem; color: var(--bq-leaf);
  background: rgba(42, 27, 61, .45); border: 1px solid rgba(251, 191, 36, .3); }
.bq-share { position: relative; z-index: 7; display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 9px 18px; border-radius: 999px;
  font: inherit; font-weight: 800; font-size: .88rem; color: #3a2208; cursor: pointer; overflow: hidden; -webkit-tap-highlight-color: transparent;
  background: linear-gradient(180deg, #fde68a, #f59e0b); border: 1px solid rgba(255, 244, 214, .7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 6px 16px -6px rgba(245, 158, 11, .7); transition: transform .12s, filter .12s; }
.bq-share[hidden] { display: none; }
.bq-share:hover { filter: brightness(1.05); }
.bq-share:active { transform: scale(.96); }
.bq-share:focus-visible { outline: 3px solid var(--bq-gold); outline-offset: 2px; }
.bq-share.is-busy { cursor: progress; filter: saturate(.6); }
.bq-nuts-toast { position: relative; z-index: 7; margin: 8px auto 0; width: fit-content; max-width: 100%; padding: 8px 16px; border-radius: 999px;
  background: linear-gradient(90deg, var(--bq-amber), var(--bq-gold)); color: #3a2208; font-weight: 800; text-align: center;
  box-shadow: 0 0 22px rgba(245, 158, 11, .5); animation: bq-toast-in .5s ease; }
@keyframes bq-toast-in { from { opacity: 0; transform: translateY(-8px) scale(.95); } }

/* Escena */
.bq-scene { position: relative; margin-top: 4px; }
.bq-sun { position: absolute; top: 18px; left: 50%; width: 120px; height: 120px; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle, #ffe2a8 0%, #fbbf6a 45%, rgba(251, 146, 60, 0) 70%); filter: blur(2px); opacity: .9; }
/* A sangre: de borde a borde de la pantalla, para que no se vea el corte del dibujo. */
.bq-trees { position: relative; height: 170px; margin: 0 -32px; pointer-events: none; }
.bq-trees svg { position: absolute; inset: 0; width: 100%; height: 100%;
  /* Que las colinas se fundan con el cielo en los bordes, sin corte recto. */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.bq-leaves { position: absolute; top: 0; left: -16px; width: calc(100% + 32px); height: 100%; pointer-events: none; }
.bq-leaves.is-back { z-index: 1; }
.bq-leaves.is-front { z-index: 6; }
.bq-owl-eyes { position: absolute; z-index: 3; right: calc(7.5% - 11px); top: 62px; width: 22px; height: 10px; pointer-events: none; opacity: 0; }
.bq-owl-eyes::before, .bq-owl-eyes::after { content: ''; position: absolute; top: 0; width: 8px; height: 8px; border-radius: 50%; background: #fde047; box-shadow: 0 0 8px #facc15; }
.bq-owl-eyes::before { left: 0; }
.bq-owl-eyes::after { right: 0; }
.bq-rain { position: absolute; top: -60px; left: -16px; width: calc(100% + 32px); height: calc(100% + 60px); pointer-events: none; z-index: 6;
  opacity: 0; transition: opacity 1.2s; }
.bq-rain.is-on { opacity: 1; }

/* Suelo del claro, con el sendero que serpentea entre las setas. */
.bq-floor { position: relative; z-index: 2; margin: -26px -6px 0; padding: 28px 12px 26px; border-radius: 48% 52% 14px 14px / 40px 40px 14px 14px;
  /* Hojarasca: grano de tierra, hojas caídas y luz cálida del sol bajo por arriba. */
  background:
    radial-gradient(90% 60px at 50% 0, rgba(255, 190, 110, .22), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='150'%3E%3Cg opacity='.75'%3E%3Cpath d='M20 30 q8 -9 16 0 q-8 9 -16 0z' fill='%23b45309' transform='rotate(25 28 30)'/%3E%3Cpath d='M100 20 q7 -8 14 0 q-7 8 -14 0z' fill='%239a3412' transform='rotate(-40 107 20)'/%3E%3Cpath d='M70 80 q9 -10 18 0 q-9 10 -18 0z' fill='%23a16207' transform='rotate(70 79 80)'/%3E%3Cpath d='M130 110 q7 -8 14 0 q-7 8 -14 0z' fill='%23c2410c' transform='rotate(15 137 110)'/%3E%3Cpath d='M30 120 q8 -9 16 0 q-8 9 -16 0z' fill='%237c2d12' transform='rotate(-65 38 120)'/%3E%3Ccircle cx='60' cy='40' r='2' fill='%2378350f'/%3E%3Ccircle cx='120' cy='60' r='1.6' fill='%2378350f'/%3E%3Ccircle cx='90' cy='135' r='2' fill='%2378350f'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(180deg, var(--bq-moss) 0, #5a3a1c 34px, var(--bq-soil-2) 60%, var(--bq-soil));
  background-size: 100% 100%, 160px 150px, 140px 140px, 100% 100%;
  background-blend-mode: normal, normal, overlay, normal;
  box-shadow: inset 0 14px 22px rgba(0, 0, 0, .25), inset 0 -40px 50px rgba(0, 0, 0, .35), 0 30px 40px -20px rgba(0, 0, 0, .7); }
/* Niebla baja que se arrastra por el claro. */
.bq-mist { position: absolute; left: -10%; right: -10%; height: 90px; z-index: 4; pointer-events: none; border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%, rgba(255, 228, 196, .16), transparent 70%); filter: blur(8px);
  animation: bq-mist 20s ease-in-out infinite alternate; }
.bq-mist.is-a { top: 18%; }
.bq-mist.is-b { top: 58%; animation-duration: 26s; animation-direction: alternate-reverse; }
@keyframes bq-mist { from { transform: translateX(-6%); } to { transform: translateX(6%); } }
/* Rayos de sol entre los árboles, que respiran despacio. */
.bq-rays { position: absolute; top: 30px; left: 50%; width: 140%; height: 420px; transform: translateX(-50%); z-index: 3; pointer-events: none;
  background: repeating-conic-gradient(from 160deg at 50% 0, rgba(255, 214, 150, .13) 0deg 4deg, transparent 4deg 13deg);
  -webkit-mask-image: radial-gradient(ellipse 60% 100% at 50% 0, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 60% 100% at 50% 0, #000 20%, transparent 75%);
  mix-blend-mode: screen; animation: bq-rays 9s ease-in-out infinite alternate; }
@keyframes bq-rays { from { opacity: .55; transform: translateX(-50%) rotate(-2deg); } to { opacity: 1; transform: translateX(-50%) rotate(2deg); } }
.bq-trail { position: absolute; top: 20px; left: 0; width: 100%; height: calc(100% - 30px); z-index: 0; pointer-events: none; }
.bq-spots { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 8px; perspective: 800px; perspective-origin: 50% 10%; }
/* Filas alternas desplazadas: las setas siguen el sendero y no forman una cuadrícula. */
.bq-spot:nth-child(8n+5), .bq-spot:nth-child(8n+6), .bq-spot:nth-child(8n+7), .bq-spot:nth-child(8n+8) { transform: translateX(12%); }

/* Cada seta: montículo, la seta (SVG de bosque.js), etiqueta y chapa con el número. */
.bq-spot { --tilt: 0deg; position: relative; display: block; aspect-ratio: 1 / 1.08; max-width: 100%; color: inherit; text-decoration: none;
  -webkit-tap-highlight-color: transparent; }
a.bq-spot { cursor: pointer; }
a.bq-spot:focus-visible { outline: 3px solid var(--bq-gold); outline-offset: 2px; border-radius: 14px; }
.bq-mound { position: absolute; left: 10%; right: 10%; bottom: 12%; height: 24%; border-radius: 50% 50% 40% 40% / 70% 70% 30% 30%;
  background: radial-gradient(70% 90% at 40% 15%, rgba(255, 200, 140, .25), transparent 60%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E"), radial-gradient(70% 90% at 50% 20%, #6b4423, #3a2311);
  background-blend-mode: normal, overlay, normal;
  box-shadow: inset 0 2px 3px rgba(255, 210, 160, .15), 0 6px 8px -4px rgba(0, 0, 0, .6); }
.bq-shroom { position: absolute; left: 50%; bottom: 18%; width: 94%; transform-origin: 50% 100%;
  transform: translateX(-50%) rotate(var(--lean, var(--tilt))) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .3s cubic-bezier(.2, .8, .3, 1); transform-style: preserve-3d;
  filter: drop-shadow(0 5px 4px rgba(0, 0, 0, .5)) drop-shadow(0 0 1px rgba(255, 220, 170, .35)); }
.bq-shroom svg { display: block; width: 100%; height: auto; overflow: visible; }
.bq-num { position: absolute; z-index: 4; left: 50%; bottom: 2%; transform: translateX(-50%); min-width: 26px; padding: 1px 7px; border-radius: 999px;
  text-align: center; font-weight: 800; font-size: .74rem; line-height: 1.35; color: #3a2208; background: #f3dcae; box-shadow: 0 2px 0 #8a6a45; white-space: nowrap; }
.bq-stars { margin-left: 3px; color: #a16207; }
.bq-stars:empty { display: none; }
.bq-tag { position: absolute; z-index: 5; left: 50%; top: 4%; transform: translateX(-50%); font-weight: 800; font-size: .62rem; line-height: 1.4;
  color: #3a2200; background: var(--bq-gold); padding: 2px 7px; border-radius: 999px; white-space: nowrap; pointer-events: none; box-shadow: 0 2px 0 #a16207; }

/* Estados */
/* Futura: el montículo con un brote que asoma. */
.bq-spot.is-locked { opacity: .78; }
.bq-spot.is-locked .bq-shroom { display: none; }
.bq-spot.is-locked .bq-mound::after { content: ''; position: absolute; left: 50%; top: -7px; width: 4px; height: 9px; border-radius: 3px;
  background: #65a30d; transform: translateX(-50%) rotate(8deg); box-shadow: 4px 2px 0 -1px #4d7c0f; opacity: .7; }
/* Hoy: un botón de seta que late, con halo. */
.bq-spot.is-today:not(.is-claimable) .bq-shroom { width: 60%; bottom: 20%; animation: bq-bud 2.4s ease-in-out infinite; }
.bq-spot.is-today:not(.is-claimable)::before { content: ''; position: absolute; left: 8%; right: 8%; bottom: 8%; height: 38%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(253, 230, 138, .55), rgba(253, 230, 138, 0)); animation: bq-halo 2.4s ease-in-out infinite; }
/* Luciérnagas que rondan la seta de hoy. */
.bq-spot.is-today:not(.is-claimable)::after { content: ''; position: absolute; left: 50%; top: 40%; width: 4px; height: 4px; border-radius: 50%; z-index: 6;
  pointer-events: none; background: #fef08a; box-shadow: 0 0 6px 2px #facc15, 22px -14px 0 0 #fef08a, 22px -14px 6px 2px #facc15, -20px 8px 0 -.5px #fef08a, -20px 8px 6px 1px #facc15;
  animation: bq-fireflies 5.5s ease-in-out infinite; }
@keyframes bq-fireflies {
  0% { transform: translate(-50%, 0) rotate(0deg) translateX(14px) rotate(0deg); opacity: .9; }
  25% { opacity: .3; }
  50% { transform: translate(-50%, -10px) rotate(180deg) translateX(18px) rotate(-180deg); opacity: 1; }
  75% { opacity: .4; }
  100% { transform: translate(-50%, 0) rotate(360deg) translateX(14px) rotate(-360deg); opacity: .9; } }
@keyframes bq-bud { 0%, 100% { transform: translateX(-50%) scale(1); } 50% { transform: translateX(-50%) scale(1.08) rotate(-3deg); } }
@keyframes bq-halo { 50% { opacity: .5; transform: scale(1.1); } }
/* Por cobrar: un brillo dorado que late. */
.bq-spot.is-claimable .bq-shroom { animation: bq-claim 1.6s ease-in-out infinite; }
@keyframes bq-claim { 50% { filter: drop-shadow(0 0 10px rgba(253, 230, 138, .95)) drop-shadow(0 4px 3px rgba(0, 0, 0, .45)); } }
/* Pasada sin recoger, aún recuperable: una seta más pequeña y apagada. */
.bq-spot.is-open:not(.is-claimable) .bq-shroom { width: 66%; filter: grayscale(.35) brightness(.8) drop-shadow(0 4px 3px rgba(0, 0, 0, .45)); }
.bq-spot.is-open:not(.is-claimable) .bq-tag { background: #f3dcae; box-shadow: 0 2px 0 #8a6a45; }
/* Perdida (acabado el bosque): marchita. */
.bq-spot.is-missed .bq-shroom { width: 60%; filter: grayscale(.8) brightness(.55) drop-shadow(0 4px 3px rgba(0, 0, 0, .45)); }
.bq-spot.is-missed { opacity: .8; }
/* Recogida y con rocío en algunas. */
.bq-shroom.is-dew::after { content: ''; position: absolute; left: 30%; top: 12%; width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255, 255, 255, .85); box-shadow: 14px 6px 0 -1px rgba(255, 255, 255, .7); }

/* Al entrar, las setas recogidas brotan una tras otra. */
.bq-spot.is-sprouting .bq-shroom { animation: bq-sprout .7s cubic-bezier(.3, 1.5, .5, 1) both; animation-delay: calc(120ms + var(--k, 0) * 85ms); }
@keyframes bq-sprout { from { transform: translateX(-50%) scale(.2, 0); } 60% { transform: translateX(-50%) scale(1.05, 1.15); } to { transform: translateX(-50%) scale(1); } }
/* Al pinchar: la seta da un salto y suelta esporas. */
/* Doble clase: tiene que ganar al latido de la seta de hoy (is-today). */
.bq-spot.is-popping.is-popping .bq-shroom { width: 94%; bottom: 18%; animation: bq-pop .9s cubic-bezier(.3, 1.4, .5, 1) both; }
.bq-spot.is-popping::before, .bq-spot.is-popping::after { opacity: 0; transition: opacity .2s; }
.bq-spot.is-popping .bq-tag { opacity: 0; transition: opacity .2s; }
.bq-spot.is-popping { z-index: 6; }
/* Sale de golpe del suelo, tiembla y se viene hacia ti, como la lápida que se arranca. */
@keyframes bq-pop {
  0% { transform: translateX(-50%) scale(.6); }
  18% { transform: translateX(-50%) scale(.55, .45) rotate(-4deg); }
  30% { transform: translateX(-50%) scale(.6, .5) rotate(4deg); }
  55% { transform: translateX(-50%) scale(1.25, 1.45) translateY(-6%); }
  72% { transform: translateX(-50%) scale(1.05, .95); opacity: 1; }
  100% { transform: translateX(-50%) scale(1.55) translateY(-22%) translateZ(160px); opacity: 0; } }
.bq-clod { position: absolute; left: 50%; bottom: 20%; z-index: 7; width: 7px; height: 6px; margin-left: -3px; pointer-events: none;
  border-radius: 40% 60% 50% 45%; background: #4a3122; box-shadow: inset -1px -1px 0 rgba(0, 0, 0, .4);
  opacity: 0; animation: bq-clod .6s cubic-bezier(.2, .6, .4, 1) forwards; }
.bq-clod:nth-child(3n) { background: #b45309; border-radius: 50% 0; }
@keyframes bq-clod {
  0% { opacity: 1; transform: translate(0, 0) scale(var(--s)); }
  60% { opacity: 1; transform: translate(calc(var(--dx) * .8), var(--dy)) scale(var(--s)) rotate(140deg); }
  100% { opacity: 0; transform: translate(var(--dx), calc(var(--dy) + 40px)) scale(var(--s)) rotate(240deg); } }
.bq-spore { position: absolute; z-index: 8; left: 0; top: 0; width: 6px; height: 6px; border-radius: 50%; background: #fff3c4; pointer-events: none; box-shadow: 0 0 6px #fde68a; }

/* Visitantes (bosque-visitors.js): de uno en uno, sin tapar los toques. La trayectoria la
   lleva la Web Animations API; aquí solo el aspecto. */
.bq-visitor { position: absolute; left: 0; top: 0; z-index: 5; pointer-events: none; will-change: transform;
  /* Borde de luz del atardecer: sin él, la silueta se pierde sobre la hojarasca. */
  filter: drop-shadow(0 0 1.2px rgba(255, 220, 170, .6)) drop-shadow(0 3px 2px rgba(0, 0, 0, .55)); }
.bq-visitor svg { display: block; width: 100%; height: 100%; overflow: visible; }
.bq-squirrel { width: 46px; height: 38px; }
.bq-hedgehog { width: 44px; height: 28px; }
.bq-snail { width: 30px; height: 18px; }
.bq-squirrel .bq-tail { transform-box: fill-box; transform-origin: 80% 95%; animation: bq-tail .9s ease-in-out infinite alternate; }
@keyframes bq-tail { from { transform: rotate(-6deg); } to { transform: rotate(8deg); } }
.bq-visitor .bq-feet { animation: bq-feet .22s steps(2, end) infinite; transform-box: fill-box; transform-origin: 50% 0; }
.bq-hedgehog .bq-feet { animation-duration: .3s; }
@keyframes bq-feet { 50% { transform: scaleX(.7) translateY(-.6px); } }
.bq-snail .bq-antennae { transform-box: fill-box; transform-origin: 30% 100%; animation: bq-antennae 1.6s ease-in-out infinite alternate; }
@keyframes bq-antennae { from { transform: rotate(-8deg); } to { transform: rotate(6deg); } }

/* Leyenda, cómo se ganan, premio, puesto y conversión */
.bq-legend { display: flex; flex-wrap: wrap; gap: 8px 14px; justify-content: center; margin: 16px 0 6px; font-weight: 700; font-size: .82rem; color: var(--bq-muted); }
.bq-panel { position: relative; margin-top: 16px; padding: 16px; border-radius: 18px; background: rgba(40, 22, 10, .62); border: 1px solid rgba(251, 191, 36, .22);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.bq-panel h2 { margin: 0 0 4px; font-size: 1.15rem; font-weight: 800; color: var(--bq-leaf); }
.bq-panel p { margin: 0; color: var(--bq-muted); font-weight: 600; font-size: .9rem; }
.bq-how summary { cursor: pointer; font-weight: 800; color: var(--bq-gold); }
.bq-how ul { margin: 10px 0 0; padding-left: 1.1rem; display: grid; gap: 6px; }
.bq-how p { margin-top: 10px; }
.bq-prize { display: flex; gap: 14px; align-items: center; }
.bq-prize-emoji { font-size: 2.6rem; line-height: 1; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .4)); }
.bq-prize-txt { flex: 1; min-width: 0; }
.bq-prize.is-owned { border-color: #86efac; }
.bq-bar { height: 8px; border-radius: 999px; background: rgba(0, 0, 0, .35); margin-top: 8px; overflow: hidden; }
.bq-bar i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--bq-amber), var(--bq-gold)); transition: width .8s ease; }
.bq-shop { scroll-margin-top: 84px; outline: none; }
/* Llegada al puesto: un resplandor cálido que se apaga. */
.bq-shop.is-spotlight { animation: bq-spotlight 1.8s ease-out; }
@keyframes bq-spotlight { 25% { box-shadow: 0 0 0 6px rgba(245, 158, 11, .35), 0 0 40px 10px rgba(245, 158, 11, .35); } }
.bq-shop-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 12px; }
.bq-item { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px; border-radius: 14px; text-align: center;
  background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .08); font-weight: 700; font-size: .8rem; }
.bq-item.is-owned { border-color: #86efac; }
.bq-item-emoji { font-size: 1.9rem; line-height: 1.15; }
.bq-item-swatch { width: 40px; height: 40px; border-radius: 12px; border: 3px solid var(--bq-amber); background: linear-gradient(180deg, #8a3b3b, #3b2414); }
.bq-item-name { font-weight: 800; color: var(--bq-leaf); }
.bq-item-btn { min-width: 100%; margin-top: 2px; padding: 6px 8px; border-radius: 999px; border: 1px solid rgba(251, 191, 36, .45); font: inherit; font-weight: 800;
  cursor: pointer; background: rgba(120, 53, 15, .5); color: var(--bq-gold); }
.bq-item-btn:disabled { opacity: .5; cursor: default; }
.bq-item-btn.is-use { background: rgba(134, 239, 172, .18); color: #bbf7d0; border-color: #86efac; }
.bq-item-inuse { font-size: .8rem; font-weight: 800; color: #86efac; }
.bq-conversion { position: relative; z-index: 5; margin: 10px auto 0; padding: 12px 16px; border-radius: 14px; text-align: center;
  background: rgba(34, 197, 94, .15); border: 1px solid rgba(134, 239, 172, .5); font-weight: 700; }
.bq-ended { text-align: center; margin-top: 18px; }

@media (prefers-reduced-motion: reduce) {
  .bq-page *, .bq-page *::before, .bq-page *::after { animation: none !important; transition: none !important; }
  .bq-leaves, .bq-rain, .bq-visitor { display: none; }
}

/* `hidden` frente a los display de arriba (flex/grid). */
.bq-main [hidden] { display: none !important; }

/* Modo ligero (fxLite.js): en móviles modestos, fuera lo más caro de pintar —
   desenfoques, fusión de los rayos y sombras con filtro en cada seta—. La escena es
   la misma; solo pesa menos. */
.fx-lite .bq-panel { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(40, 22, 10, .86); }
.fx-lite .bq-sun, .fx-lite .bq-mist { filter: none; }
.fx-lite .bq-mist { animation: none; }
.fx-lite .bq-rays { mix-blend-mode: normal; animation: none; opacity: .7; }
.fx-lite .bq-shroom { filter: none; transition: none; }
.fx-lite .bq-spot.is-claimable .bq-shroom { animation: none; }
.fx-lite .bq-visitor { filter: none; }

/* Aviso «¡Ya te llega para…!»: baja al puesto (eventShopNudge.js). */
.bq-shop-nudge { position: relative; z-index: 7; display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap;
  margin: 10px auto 0; max-width: 100%; padding: 10px 18px; border: 0; border-radius: 16px; cursor: pointer; font: inherit;
  background: linear-gradient(90deg, var(--bq-amber), var(--bq-gold)); color: #3a2208; font-weight: 700; text-align: center;
  box-shadow: 0 0 22px rgba(245, 158, 11, .45); animation: bq-toast-in .5s ease; }
.bq-shop-nudge[hidden] { display: none; }
.bq-shop-nudge strong { font-weight: 900; white-space: nowrap; }
.bq-shop-nudge .shop-nudge-ic { font-size: 1.3rem; line-height: 1; }
.bq-shop-nudge:active { transform: scale(.97); }
.bq-shop-nudge:focus-visible { outline: 3px solid var(--bq-gold); outline-offset: 2px; }
