/* Parque das Palavras - livro pop-up de papel color set */
@font-face { font-family: 'Lilita One'; src: url(../fonts/lilita-one-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Andika'; src: url(../fonts/andika-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Andika'; src: url(../fonts/andika-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --tomato: #E8432E; --magenta: #D9338C; --cobalt: #1F5FD1; --emerald: #2E9A47; --sun: #FFC93C; --tangerine: #F07A1A; --teal: #0E9C8C; --violet: #7A4BD6;
  --ink: #1D2550; --ink-2: #4A5480; --sheet: #FFFFFF; --sheet-2: #F3F6FF; --line: #DCE3F5;
  --ok: #2E9A47; --no: #E8432E;
  --display: 'Lilita One', 'Arial Rounded MT Bold', system-ui, sans-serif;
  --body: 'Andika', 'Segoe UI', system-ui, sans-serif;
  /* fibra do papel: ruído bem leve por cima das cores */
  --fiber: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  /* sombra de camada de papel: deslocada e macia */
  --lift: 0 2px 1px rgba(20, 28, 70, .16), 0 10px 18px -8px rgba(20, 28, 70, .45);
  --lift-hi: 0 3px 2px rgba(20, 28, 70, .18), 0 22px 34px -14px rgba(20, 28, 70, .55);
  --c: var(--cobalt);
  --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--cobalt); color: var(--ink); font-family: var(--body); font-size: 20px; line-height: 1.45;
  -webkit-tap-highlight-color: transparent; overscroll-behavior: none; overflow-x: hidden;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
::selection { background: var(--sun); color: var(--ink); }
img { -webkit-user-drag: none; }
button { font: inherit; color: inherit; cursor: pointer; touch-action: manipulation; }
button:disabled { cursor: default; }
:focus-visible { outline: 4px solid var(--sun); outline-offset: 3px; border-radius: 12px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; margin: 0; text-wrap: balance; letter-spacing: .005em; }
img.spr, img.pic, .be-img { display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
u { text-decoration-thickness: 3px; text-underline-offset: 4px; text-decoration-color: var(--tomato); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--c) 55%, #fff); border-radius: 99px; border: 3px solid var(--sheet); }
::-webkit-scrollbar-track { background: transparent; }

/* ---------- papel ---------- */
/* placa de papel recortado: a cor fica numa camada atrás, com borda branca de tesoura */
.plaque { position: relative; isolation: isolate; display: inline-block; color: #fff; font-family: var(--display); padding: .22em .6em .3em; --pc: var(--c);
  text-shadow: 0 2px 0 color-mix(in srgb, var(--pc) 60%, #000); }
.plaque::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 18px 26px 16px 24px / 22px 16px 26px 18px;
  background: var(--fiber), var(--pc); border: 4px solid #fff; box-shadow: var(--lift); filter: url(#torn); }
.plaque.red { --pc: var(--tomato); }
.paper { background: var(--fiber), var(--sheet); border-radius: 20px 26px 22px 18px / 18px 22px 26px 22px; box-shadow: var(--lift); }

.paper-btn { position: relative; isolation: isolate; border: 0; background: none; color: var(--ink); font-family: var(--display); font-size: 24px; line-height: 1;
  padding: 16px 30px 18px; min-height: 62px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: transform .15s; }
.paper-btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--fiber), #fff; border-radius: 22px 30px 20px 28px / 26px 20px 30px 22px;
  box-shadow: var(--lift), inset 0 -5px 0 color-mix(in srgb, var(--c) 22%, #fff); filter: url(#torn); }
.paper-btn.big { color: #fff; font-size: 28px; min-height: 70px; padding: 18px 38px 20px; text-shadow: 0 2px 0 color-mix(in srgb, var(--c) 55%, #000); }
.paper-btn.big::before { background: var(--fiber), var(--c); border: 4px solid #fff; box-shadow: var(--lift), inset 0 -6px 0 color-mix(in srgb, var(--c) 70%, #000); }
.paper-btn:active:not(:disabled) { transform: translateY(3px) scale(.98); }
.paper-btn:disabled { opacity: .45; }
.paper-btn.soft { font-size: 22px; }
.paper-btn.danger { color: var(--tomato); }
.paper-btn.deliver { --c: var(--tangerine); }
.row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: center; }
.row.left { justify-content: flex-start; }

.chip { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; background: var(--fiber), #fff; color: var(--ink); font-weight: 700; font-size: 17px;
  padding: 8px 16px; min-height: 48px; box-shadow: var(--lift); }
.chip svg { width: 22px; height: 22px; color: var(--c); }
.chip.on { background: var(--fiber), var(--sun); }
.chip.big { font-family: var(--display); font-size: 30px; padding: 14px 30px; min-height: 72px; border-radius: 22px; }
.chip.huge { font-family: var(--display); font-size: 48px; padding: 18px 46px; min-height: 96px; border-radius: 26px; color: var(--c); }
.chip.ok { background: var(--fiber), var(--ok); color: #fff; }
.chip.no { opacity: .45; text-decoration: line-through; }

/* ---------- botões redondos ---------- */
.toggles { display: flex; gap: 8px; }
.tog { width: 54px; height: 54px; border-radius: 50%; border: 3px solid #fff; background: var(--fiber), #fff; display: grid; place-items: center; box-shadow: var(--lift); color: var(--ink-2); position: relative; flex: none; }
.tog svg { width: 25px; height: 25px; }
.tog.on, .tog.plain { color: var(--ink); }
.tog:not(.on):not(.home-btn):not(.plain)::after { content: ''; position: absolute; width: 30px; height: 3px; background: var(--tomato); border-radius: 3px; transform: rotate(-40deg); }

/* ---------- capa ---------- */
.welcome { position: relative; height: 100dvh; min-height: 520px; overflow: hidden; display: grid; place-items: center; padding: 16px; background: var(--cobalt); }
.welcome-bg { position: absolute; inset: -3%; width: 106%; height: 106%; object-fit: cover; filter: blur(3px) saturate(1.05) brightness(.92); animation: slowpan 34s ease-in-out infinite alternate; }
.cover { position: relative; display: grid; justify-items: center; gap: 10px; text-align: center; animation: rise .8s cubic-bezier(.2, .9, .3, 1.2) both; }
.cover-be { width: 230px; height: 214px; margin-bottom: -26px; z-index: 2; animation: bob 2.8s ease-in-out infinite; filter: drop-shadow(0 16px 14px rgba(10, 20, 60, .35)); }
.cover h1 { font-size: clamp(54px, 8.4vw, 104px); }
.cover-sub { margin: 6px 0 14px; font-weight: 700; font-size: 22px; color: #fff; text-shadow: 0 2px 8px rgba(10, 20, 60, .6); }
.paper-btn.start { --c: var(--emerald); font-size: 32px; animation: pulse 1.9s ease-in-out infinite; }

/* ---------- HOME: o livro pop-up ---------- */
.book { position: relative; height: 100dvh; min-height: 520px; overflow: hidden; background: var(--cobalt); perspective: 1800px; }
.spread { position: absolute; inset: 0; transform-style: preserve-3d; }
.scene-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 88%; }
.fold { position: absolute; top: 0; bottom: 0; left: 50%; width: 70px; transform: translateX(-50%); pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(20, 28, 70, .10) 44%, rgba(20, 28, 70, .2) 50%, rgba(255, 255, 255, .12) 53%, transparent); mix-blend-mode: multiply; }
.spread.turning { z-index: 3; pointer-events: none; backface-visibility: hidden; }
.spread.turning.fwd { transform-origin: 0 50%; animation: turnFwd .8s cubic-bezier(.45, .05, .35, 1) forwards; }
.spread.turning.back { transform-origin: 100% 50%; animation: turnBack .8s cubic-bezier(.45, .05, .35, 1) forwards; }
.spread.turning::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 28, 70, 0), rgba(20, 28, 70, .45)); animation: fadeIn .8s forwards; }
@keyframes turnFwd { to { transform: rotateY(-96deg); filter: brightness(.7); } }
@keyframes turnBack { to { transform: rotateY(96deg); filter: brightness(.7); } }
.book.pop .scene-img { animation: popRise .85s cubic-bezier(.18, .9, .25, 1.12) both; }
@keyframes popRise { from { transform: perspective(1400px) rotateX(38deg) scale(1.08) translateY(6%); filter: brightness(.85); } to { transform: none; } }

.home-top { position: absolute; z-index: 20; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: max(14px, env(safe-area-inset-top)) 18px 0; pointer-events: none; }
.home-top > * { pointer-events: auto; }
.home-top .plaque { font-size: clamp(30px, 3.9vw, 50px); transform: rotate(-2deg); }
.home-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; max-width: 66%; }
.starcount { display: flex; align-items: center; gap: 4px; background: var(--fiber), #fff; border-radius: 999px; padding: 6px 16px 6px 8px; box-shadow: var(--lift); font-family: var(--display); font-size: 24px; height: 54px; }
.starcount svg { width: 34px; height: 34px; }
.ticket-count { --c: var(--sun); height: 58px; border: 0; display: flex; align-items: center; gap: 10px; padding: 0 22px; font-family: var(--display); color: var(--ink); font-size: 24px;
  background: var(--fiber), var(--sun); box-shadow: var(--lift); transform: rotate(1.5deg);
  -webkit-mask: radial-gradient(circle 9px at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 9px at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 9px at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 9px at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
  border-radius: 6px; }
.ticket-count .tc-label { font-size: 19px; color: #A8281A; }

.sign { position: absolute; z-index: 6; left: 50%; top: 17%; transform: translateX(-50%) rotate(-1.5deg); color: #fff; font-size: clamp(34px, 4.6vw, 62px); white-space: nowrap; padding: .16em .62em .24em; isolation: isolate;
  text-shadow: 0 3px 0 color-mix(in srgb, var(--c) 55%, #000); }
.sign::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--fiber), var(--c); border: 5px solid #fff; border-radius: 26px 34px 24px 30px / 30px 24px 34px 26px; box-shadow: var(--lift-hi); filter: url(#torn); }
.book.pop .sign { animation: signDrop .7s .25s cubic-bezier(.2, .9, .3, 1.35) both; }
@keyframes signDrop { from { transform: translate(-50%, -60px) rotate(-10deg); opacity: 0; } to { transform: translateX(-50%) rotate(-1.5deg); opacity: 1; } }

.be-spot { position: absolute; z-index: 7; left: 19%; bottom: 17%; width: clamp(170px, 21vw, 290px); aspect-ratio: 1300 / 1209; cursor: pointer; filter: drop-shadow(0 18px 12px rgba(10, 20, 60, .35)); transform-origin: 50% 100%; }
.book.pop .be-spot { animation: standUp .7s .35s cubic-bezier(.2, .9, .3, 1.4) both; }
@keyframes standUp { from { transform: scaleY(.1) translateY(20%); opacity: 0; } to { transform: none; opacity: 1; } }
.home-bubble { position: absolute; z-index: 8; left: 2.5%; top: 21%; max-width: min(360px, 30vw); margin: 0; padding: 14px 18px; font-weight: 700; font-size: 20px; line-height: 1.35;
  background: var(--fiber), #fff; border-radius: 22px 26px 22px 18px; box-shadow: var(--lift-hi); }
.home-bubble::after { content: ''; position: absolute; left: 62%; bottom: -18px; border: 12px solid transparent; border-top: 16px solid #fff; border-bottom: 0; filter: drop-shadow(0 3px 1px rgba(20, 28, 70, .12)); }
.home-bubble b { color: var(--c); }
.book.pop .home-bubble { animation: rise .5s .5s both; }

.badge-spot { position: absolute; z-index: 7; right: 6%; top: 44%; display: grid; justify-items: center; gap: 18px; }
.badge { position: relative; width: clamp(130px, 13vw, 176px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--fiber), var(--c); color: #fff;
  border: 7px solid #fff; box-shadow: var(--lift-hi), inset 0 0 0 7px var(--sun); font-family: var(--display); }
.badge-n { font-size: clamp(64px, 7vw, 96px); line-height: 1; text-shadow: 0 4px 0 color-mix(in srgb, var(--c) 55%, #000); margin-top: -8px; }
.badge-ic svg { width: 64px; height: 64px; }
.badge-stars { position: absolute; bottom: -18px; display: flex; gap: 2px; }
.badge-stars svg { width: 34px; height: 34px; filter: drop-shadow(0 2px 1px rgba(20, 28, 70, .3)); }
.badge.is-next { animation: glow 1.8s ease-in-out infinite; }
.badge.done .punch-hole { position: absolute; top: 14%; right: 14%; width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #0d1440, #26306a); box-shadow: inset 0 3px 4px rgba(0, 0, 0, .6), 0 1px 0 rgba(255, 255, 255, .5); }
.book.pop .badge { animation: spinIn .7s .45s cubic-bezier(.2, .9, .3, 1.3) both; }
.book.pop .badge.is-next { animation: spinIn .7s .45s cubic-bezier(.2, .9, .3, 1.3) both, glow 1.8s 1.2s ease-in-out infinite; }
@keyframes spinIn { from { transform: rotate(-200deg) scale(.2); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes glow { 50% { box-shadow: var(--lift-hi), inset 0 0 0 7px var(--sun), 0 0 0 12px rgba(255, 201, 60, .55), 0 0 40px 10px rgba(255, 255, 255, .7); } }
.paper-btn.enter { --c: var(--emerald); }
.book.pop .enter { animation: rise .5s .6s both; }

.turn { position: absolute; z-index: 9; top: 50%; width: 64px; height: 64px; margin-top: -32px; border-radius: 50%; border: 4px solid #fff; background: var(--fiber), rgba(255, 255, 255, .92); color: var(--ink); box-shadow: var(--lift); display: grid; place-items: center; }
.turn svg { width: 32px; height: 32px; }
.turn.back-btn { left: 14px; } .turn.fwd-btn { right: 14px; }
.turn:disabled { opacity: 0; pointer-events: none; }

.trail { position: absolute; z-index: 10; left: 50%; bottom: calc(14px + var(--safe-b)); transform: translateX(-50%); display: flex; align-items: center; gap: clamp(6px, 1.4vw, 18px); padding: 10px 26px 12px;
  background: var(--fiber), #fff; border-radius: 30px 40px 28px 36px / 36px 28px 40px 30px; box-shadow: var(--lift-hi); }
.trail::before { content: ''; position: absolute; left: 40px; right: 40px; top: 50%; border-top: 4px dashed var(--line); z-index: -1; }
.token { position: relative; width: 56px; height: 56px; border-radius: 50%; border: 4px solid #fff; background: var(--fiber), #B8C0D8; color: #fff; font-family: var(--display); font-size: 26px; display: grid; place-items: center; box-shadow: var(--lift); padding: 0; transition: transform .25s cubic-bezier(.2, .9, .3, 1.4); }
.token.done, .token.up, .token.here { background: var(--fiber), var(--c); }
.token.up { animation: glowSmall 1.8s ease-in-out infinite; }
.token.here { transform: translateY(-8px) scale(1.18); }
.token-star { position: absolute; bottom: -12px; width: 26px; height: 26px; }
.token.trophy { --c: var(--sun); background: var(--fiber), var(--sun); color: var(--ink); }
.token.trophy svg { width: 28px; height: 28px; }
@keyframes glowSmall { 50% { box-shadow: var(--lift), 0 0 0 7px rgba(255, 201, 60, .65); } }

/* a atração ganha vida */
.life-layer { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.life i { position: absolute; left: var(--x); bottom: 26%; width: calc(54px * var(--s)); height: calc(54px * var(--s)); opacity: 0; animation: floatUp 7s var(--d) ease-in infinite; color: #fff; }
.life i svg { width: 100%; height: 100%; filter: drop-shadow(0 2px 2px rgba(20, 28, 70, .3)); }
.life-notes i { color: var(--c); }
.life-stars i, .life-sparkles i { animation-name: twinkle; top: calc(10% + var(--x) * .5); bottom: auto; animation-duration: 3.4s; }
.life-balloons i { width: calc(80px * var(--s)); height: calc(110px * var(--s)); animation-duration: 11s; animation-timing-function: linear; }
.life-fish i { bottom: 24%; animation-name: jump; animation-duration: 3.2s; }
@keyframes floatUp { 0% { opacity: 0; transform: translateY(0) scale(.6); } 12% { opacity: 1; } 80% { opacity: .9; } 100% { opacity: 0; transform: translateY(-70vh) translateX(30px) scale(1); } }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.3) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(40deg); } }
@keyframes jump { 0%, 60%, 100% { opacity: 0; transform: translateY(0) rotate(0); } 70% { opacity: 1; transform: translateY(-120px) rotate(-30deg); } 85% { opacity: 1; transform: translateY(-40px) rotate(40deg); } }

/* visão geral do parque */
.overview { position: fixed; inset: 0; z-index: 200; background: rgba(13, 20, 64, .82); display: grid; place-items: center; padding: 18px; animation: fadeIn .3s both; }
.overview.out { animation: fadeOut .4s forwards; }
.ov-map { position: relative; width: min(100%, calc((100dvh - 120px) * 1.6)); aspect-ratio: 16 / 10; border: 8px solid #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--lift-hi); animation: popRise .7s cubic-bezier(.18, .9, .25, 1.12) both; }
.ov-map > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ov-pin { position: absolute; transform: translate(-50%, -50%); width: 54px; height: 54px; border-radius: 50%; border: 4px solid #fff; background: var(--fiber), var(--c); color: #fff; font-family: var(--display); font-size: 26px; box-shadow: var(--lift); display: grid; place-items: center; padding: 0; }
.ov-pin.done::after { content: ''; position: absolute; top: 4px; right: 4px; width: 12px; height: 12px; border-radius: 50%; background: #1a2156; box-shadow: inset 0 2px 2px rgba(0, 0, 0, .6); }
.ov-pin.exam { --c: var(--sun); color: var(--ink); }
.ov-pin svg { width: 28px; height: 28px; }
.ov-close { margin-top: 14px; }

/* ---------- vídeo ---------- */
.film { position: fixed; inset: 0; z-index: 300; background: #0d1440; display: grid; place-items: center; animation: fadeIn .3s both; }
.film.in-box { position: absolute; z-index: 30; }
.film-video { width: 100%; height: 100%; object-fit: cover; }
.film-skip { position: absolute; right: 18px; bottom: calc(18px + var(--safe-b)); border: 0; border-radius: 999px; background: var(--fiber), rgba(255, 255, 255, .92); padding: 10px 22px; font-weight: 700; font-size: 18px; min-height: 50px; box-shadow: var(--lift); }
.film.out { animation: fadeOut .7s forwards; pointer-events: none; }
.finale { height: 100dvh; background: #0d1440; position: relative; }

/* ---------- MISSÃO ---------- */
.mission, .celebrate-wrap { position: relative; min-height: 100dvh; isolation: isolate; }
.mission-bg { position: fixed; inset: -2%; width: 104%; height: 104%; object-fit: cover; z-index: -2; filter: blur(5px) saturate(1.1) brightness(.82); }
.mission::before, .celebrate-wrap::before { content: ''; position: fixed; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 55%, rgba(13, 20, 64, .05), rgba(13, 20, 64, .38)); }
.bar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 14px; padding: max(10px, env(safe-area-inset-top)) 16px 8px; }
.bar-title { font-size: clamp(22px, 2.8vw, 32px); min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-right: auto; }
.dots { display: flex; gap: 7px; padding: 10px 14px; border-radius: 999px; background: var(--fiber), #fff; box-shadow: var(--lift); }
.dots:empty { display: none; }
.dots i { width: 14px; height: 14px; border-radius: 50%; background: var(--line); transition: .3s; }
.dots i.done { background: var(--c); }
.dots i.cur { background: #fff; box-shadow: inset 0 0 0 4px var(--c); transform: scale(1.35); }
@media (max-width: 760px) { .bar .toggles { display: none; } .dots i { width: 10px; height: 10px; } }

.stage { max-width: 1200px; margin: 0 auto; padding: 4px 18px calc(150px + var(--safe-b)); display: grid; gap: 14px; justify-items: center; }
.stage.enter > * { animation: rise .45s cubic-bezier(.2, .9, .3, 1.2) both; }
.step-title { color: #fff; font-size: clamp(26px, 3.2vw, 38px); text-align: center; text-shadow: 0 3px 0 rgba(13, 20, 64, .35), 0 6px 18px rgba(13, 20, 64, .45); }
.count { display: inline-block; vertical-align: middle; font-size: .6em; background: var(--fiber), #fff; color: var(--c); border-radius: 999px; padding: 4px 14px; text-shadow: none; box-shadow: var(--lift); }

/* abertura da missão: placa que salta */
.intro { display: grid; justify-items: center; gap: 4px; padding-top: 5vh; }
.intro-sign { position: relative; isolation: isolate; display: flex; align-items: center; gap: 18px; padding: 18px 36px 22px; color: #fff; animation: signPop .8s cubic-bezier(.2, .9, .3, 1.35) both; }
.intro-sign::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--fiber), var(--c); border: 6px solid #fff; border-radius: 30px 40px 28px 36px / 36px 28px 40px 30px; box-shadow: var(--lift-hi); filter: url(#torn); }
.intro-sign h1 { font-size: clamp(44px, 6vw, 76px); text-shadow: 0 4px 0 color-mix(in srgb, var(--c) 55%, #000); }
.intro-n { width: 84px; height: 84px; border-radius: 50%; background: #fff; color: var(--c); display: grid; place-items: center; font-family: var(--display); font-size: 52px; flex: none; }
.intro-topic { margin: 10px 0 0; font-weight: 700; font-size: 24px; background: var(--fiber), #fff; padding: 6px 22px; border-radius: 999px; box-shadow: var(--lift); }
.intro-be { width: 250px; height: 232px; transform-origin: 50% 100%; animation: standUp .7s .3s cubic-bezier(.2, .9, .3, 1.4) both; filter: drop-shadow(0 14px 10px rgba(10, 20, 60, .35)); }
@keyframes signPop { from { transform: perspective(900px) rotateX(80deg) translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }

/* página de texto */
.page { background: var(--fiber), var(--sheet); border-radius: 22px 28px 24px 20px / 20px 24px 28px 22px; box-shadow: var(--lift-hi); padding: 26px 34px; width: 100%; max-width: 980px; position: relative; }
.page::after { content: ''; position: absolute; inset: 10px; border: 2px dashed var(--line); border-radius: 16px; pointer-events: none; }
.page-title { font-size: 34px; color: var(--c); text-align: center; margin-bottom: 8px; }
.page-art { float: right; width: 34%; margin: 4px 0 10px 22px; aspect-ratio: 4 / 3; position: relative; }
.page-art.with-balloon { float: none; width: 62%; margin: 26px auto 0; }
.page-art .pic { filter: drop-shadow(0 6px 6px rgba(20, 28, 70, .25)); }
.para { margin: 0 0 12px; font-size: 22px; line-height: 1.6; text-indent: 1.6em; transition: background .3s; border-radius: 8px; }
.para.reading { background: color-mix(in srgb, var(--sun) 45%, #fff); box-shadow: 0 0 0 6px color-mix(in srgb, var(--sun) 45%, #fff); }
.page.compact { padding: 18px 22px; max-height: 100%; overflow: auto; }
.page.compact .page-title { font-size: 26px; }
.page.compact .para { font-size: 19px; line-height: 1.55; margin-bottom: 8px; }
.page.compact .page-art { width: 38%; }
.page.compact .page-art.with-balloon { width: 92%; margin-top: 30px; }
.balloon.speech { position: absolute; left: 6%; top: -26px; max-width: 64%; margin: 0; padding: 8px 14px; background: #fff; border: 3px solid var(--ink); border-radius: 20px; font-weight: 700; font-size: 17px; line-height: 1.25; box-shadow: var(--lift); }
.reader { display: grid; gap: 14px; justify-items: center; width: 100%; }

/* palavras tocáveis (caça no texto) */
.tw { border: 0; background: none; padding: 0 3px; margin: 0 -3px; font: inherit; color: inherit; border-radius: 8px; transition: background .2s, color .2s; text-indent: 0; }
.tw:active { background: var(--sheet-2); }
.tw.hit { background: var(--fiber), var(--c); color: #fff; box-shadow: var(--lift); }
.tw.meh { background: var(--sheet-2); color: var(--ink-2); }
.tw.no { background: color-mix(in srgb, var(--tomato) 18%, #fff); }
.hunt { display: grid; gap: 14px; justify-items: center; width: 100%; }

/* ---------- questão ---------- */
.qlayout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 20px; width: 100%; align-items: start; }
.qlayout.comic-q { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.qside { max-height: calc(100dvh - 250px); display: flex; }
.qside .page { max-width: none; }
.qcard { background: var(--fiber), var(--sheet); border-radius: 24px 30px 26px 22px / 22px 26px 30px 24px; box-shadow: var(--lift-hi); padding: 20px 24px 24px; display: grid; gap: 14px; }
.qhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.qnum { font-family: var(--display); color: #fff; background: var(--fiber), var(--c); padding: 5px 16px 7px; border-radius: 12px 16px 12px 14px; font-size: 19px; }
.qtext { font-family: var(--body); font-weight: 700; font-size: 25px; line-height: 1.3; }
.opts { display: grid; gap: 12px; }
.opt { display: flex; align-items: center; gap: 14px; text-align: left; border: 0; padding: 12px 18px 12px 12px; min-height: 66px; font-size: 22px; font-weight: 700; line-height: 1.25; color: var(--ink);
  background: var(--fiber), var(--sheet-2); border-radius: 14px 20px 16px 18px / 18px 14px 20px 16px; box-shadow: 0 2px 1px rgba(20, 28, 70, .12), 0 6px 10px -6px rgba(20, 28, 70, .35); transition: transform .15s, background .2s; }
.opts.long .opt { font-size: 19px; min-height: 58px; }
.opt .letter { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: 24px; color: #fff; background: var(--fiber), var(--c); }
.opt:active:not(:disabled) { transform: scale(.98); }
.opt.picked { background: var(--fiber), color-mix(in srgb, var(--c) 18%, #fff); box-shadow: inset 0 0 0 4px var(--c); }
.opt.ok { background: var(--fiber), var(--ok); color: #fff; }
.opt.ok .letter { background: #fff; color: var(--ok); }
.opt.no { opacity: .5; text-decoration: line-through; text-decoration-thickness: 3px; }
.opt:disabled:not(.ok):not(.no) { opacity: .7; }

/* ---------- cartas de papel (arrastar) ---------- */
.tray { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; min-height: 60px; width: 100%; }
.tray.col { flex-direction: column; flex-wrap: nowrap; }
.card { position: relative; display: grid; justify-items: center; align-content: center; gap: 4px; padding: 10px 14px 12px; min-width: 120px; min-height: 64px; touch-action: none; cursor: grab;
  background: var(--fiber), var(--sheet); border-radius: 16px 20px 14px 18px / 18px 14px 20px 16px; box-shadow: var(--lift); transition: transform .2s, opacity .2s; }
.card-art { width: 84px; height: 72px; }
.card-label { font-weight: 700; font-size: 21px; line-height: 1.2; text-align: center; }
.card.word .card-label, .card.onoma .card-label { font-family: var(--display); font-weight: 400; font-size: 28px; color: var(--c); }
.card.selected { transform: translateY(-6px) rotate(-2deg); box-shadow: var(--lift-hi), 0 0 0 5px var(--sun); }
.card.dragging { opacity: .3; }
.card.ghost { position: fixed; z-index: 400; pointer-events: none; margin: 0; box-shadow: var(--lift-hi); }
.card.placed { cursor: default; }
.can-drop { outline: 4px dashed var(--sun); outline-offset: 4px; }
.over { transform: scale(1.04); box-shadow: var(--lift-hi), 0 0 0 6px var(--sun) !important; }

.sort { display: grid; gap: 16px; width: 100%; justify-items: center; }
.bins { display: grid; gap: 16px; width: 100%; }
.bins.n2 { grid-template-columns: 1fr 1fr; } .bins.n3 { grid-template-columns: repeat(3, 1fr); } .bins.n5 { grid-template-columns: repeat(5, 1fr); }
.bin { --b: var(--c); position: relative; display: grid; align-content: start; justify-items: center; gap: 8px; min-height: 190px; padding: 12px; background: var(--fiber), color-mix(in srgb, var(--b) 14%, #fff);
  border: 4px solid #fff; border-radius: 22px 28px 20px 26px / 26px 20px 28px 22px; box-shadow: var(--lift); transition: transform .2s; }
.bin-head { width: 70px; height: 60px; display: grid; place-items: center; }
.bin-label { font-family: var(--display); font-size: 28px; color: #fff; background: var(--fiber), var(--b); padding: 2px 18px 4px; border-radius: 12px; }
.bin-items { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.bin-items .card { min-width: 0; padding: 6px 10px; transform: scale(.9); }
.bin-items .card-art { width: 54px; height: 46px; }
.bin-items .card-label { font-size: 18px; }
.size { display: grid; place-items: end center; height: 60px; }
.size .spr { width: auto; }
.size.s .spr { height: 26px; } .size.m .spr { height: 40px; } .size.l .spr { height: 58px; }

/* ---------- 1. sequência ---------- */
.sequence { display: grid; gap: 14px; width: 100%; justify-items: center; }
.card.story { width: 250px; grid-template-columns: 70px 1fr; justify-items: start; text-align: left; align-items: center; }
.card.story .card-art { width: 70px; height: 64px; }
.card.story .card-label { font-size: 17px; text-align: left; }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; width: 100%; }
.slot { position: relative; min-height: 130px; border-radius: 20px; border: 4px dashed rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .22); display: grid; place-items: center; padding: 10px; }
.slot.filled { border-style: solid; background: var(--fiber), color-mix(in srgb, var(--c) 18%, #fff); }
.slot-n { position: absolute; top: -18px; left: -12px; width: 46px; height: 46px; border-radius: 50%; background: var(--fiber), var(--c); color: #fff; border: 4px solid #fff; display: grid; place-items: center; font-family: var(--display); font-size: 26px; box-shadow: var(--lift); }
.slot .card.story { width: 100%; }

/* ---------- 2. carrossel ---------- */
.pairs { display: grid; gap: 12px; width: 100%; justify-items: center; }
.carousel { position: relative; width: 100%; max-width: 1060px; padding-top: 74px; }
.canopy { position: absolute; top: 0; left: 4%; right: 4%; height: 82px; border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: var(--fiber), repeating-linear-gradient(90deg, var(--magenta) 0 60px, var(--sun) 60px 120px); border: 5px solid #fff; box-shadow: var(--lift-hi);
  -webkit-mask: radial-gradient(circle 16px at 50% 100%, #0000 97%, #000) 0 0 / 40px 100%; mask: radial-gradient(circle 16px at 50% 100%, #0000 97%, #000) 0 0 / 40px 100%; }
.horses { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; padding: 0 4%; position: relative; }
.platform { height: 26px; margin: -6px 2% 0; border-radius: 50%; background: var(--fiber), var(--tomato); border: 4px solid #fff; box-shadow: var(--lift); }
.horse { position: relative; display: grid; justify-items: center; gap: 2px; padding-bottom: 6px; border-radius: 18px; transition: transform .3s; }
.horse::before { content: ''; position: absolute; top: -12px; bottom: 40%; left: 50%; width: 6px; margin-left: -3px; background: linear-gradient(90deg, #E3B23C, #FFE08A, #C98A00); border-radius: 3px; z-index: -1; }
.horse-art { width: 100%; max-width: 140px; aspect-ratio: 1; }
.flag { font-family: var(--display); font-size: 21px; padding: 3px 12px 5px; border-radius: 10px; background: var(--fiber), var(--cobalt); color: #fff; box-shadow: var(--lift); white-space: nowrap; }
.flag.she { background: var(--fiber), var(--magenta); }
.flag.she.empty { background: rgba(255, 255, 255, .55); color: var(--magenta); border: 3px dashed var(--magenta); box-shadow: none; }
.horse.full { animation: bob 1.6s ease-in-out infinite; }
.horse.full:nth-child(even) { animation-delay: -.8s; }
.carousel.spin .horse { animation: gallop 1.1s ease-in-out infinite; }
.carousel.spin .horse:nth-child(even) { animation-delay: -.55s; }
@keyframes gallop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-22px); } }
.card.she-card { min-width: 150px; }

/* ---------- 3. bolhas ---------- */
.bubbles { display: grid; gap: 14px; justify-items: center; width: 100%; }
.bubble-stage { display: grid; grid-template-columns: 340px 1fr; gap: 26px; align-items: center; width: 100%; max-width: 980px; min-height: 330px; }
.machine { position: relative; display: grid; gap: 14px; justify-items: center; padding: 22px 20px; background: var(--fiber), var(--cobalt); border: 6px solid #fff; border-radius: 30px 30px 18px 18px; box-shadow: var(--lift-hi); }
.machine.working { animation: jiggle .14s linear 5; }
.machine-in { display: grid; justify-items: center; gap: 4px; width: 200px; padding: 12px; background: var(--fiber), #fff; border-radius: 18px; box-shadow: inset 0 4px 8px rgba(20, 28, 70, .25); }
.machine-in .card-art { width: 110px; height: 96px; }
.machine-in .card-label { font-family: var(--display); font-size: 32px; font-weight: 400; color: var(--cobalt); }
.crank { display: flex; align-items: center; gap: 12px; border: 0; background: var(--fiber), var(--sun); color: var(--ink); font-family: var(--display); font-size: 22px; padding: 10px 20px 10px 12px; border-radius: 999px; box-shadow: var(--lift); }
.crank-wheel { width: 46px; height: 46px; border-radius: 50%; border: 5px solid var(--ink); position: relative; transition: transform .7s cubic-bezier(.3, .8, .3, 1); }
.crank-wheel::before { content: ''; position: absolute; left: 50%; top: -2px; bottom: 50%; width: 5px; margin-left: -2.5px; background: var(--ink); }
.crank-wheel::after { content: ''; position: absolute; left: 50%; top: -12px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--tomato); }
.crank:disabled .crank-wheel { transform: rotate(720deg); }
.crank.nudge { animation: pulse 1.6s ease-in-out infinite; }
.bubble-out { position: relative; min-height: 300px; display: grid; place-items: center; }
.soap { width: 330px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; align-content: center; gap: 4px; padding: 30px;
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .95) 0 7%, transparent 8%), radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .35) 55%, rgba(170, 220, 255, .55) 70%, rgba(255, 170, 230, .5) 85%, rgba(255, 255, 255, .9) 100%);
  border: 3px solid rgba(255, 255, 255, .9); box-shadow: 0 16px 30px -12px rgba(20, 28, 70, .5); animation: blowUp .6s cubic-bezier(.2, .9, .3, 1.3) both; }
.bubble-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; max-width: 230px; }
.bubble-items i { width: 76px; height: 66px; display: block; }
.bubble-word { font-family: var(--display); font-size: 36px; color: var(--ink); background: rgba(255, 255, 255, .88); padding: 2px 16px; border-radius: 14px; }
.soap.float { animation: floatAway 2.2s .5s ease-in forwards; }
@keyframes blowUp { from { transform: scale(.1); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes floatAway { to { transform: translateY(-260px) translateX(60px) scale(.7); opacity: 0; } }
@keyframes jiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-1.5deg); } 75% { transform: rotate(1.5deg); } }
.choices { display: flex; gap: 18px; justify-content: center; min-height: 72px; }

/* ---------- 4. sons ---------- */
.sounds { display: grid; gap: 14px; justify-items: center; width: 100%; }
.sources { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; width: 100%; }
.source { display: grid; justify-items: center; gap: 4px; padding: 12px 8px; background: var(--fiber), #fff; border-radius: 20px 24px 18px 22px; box-shadow: var(--lift); min-height: 230px; align-content: start; }
.source .card-art { width: 110px; height: 100px; }
.source-label { font-weight: 700; font-size: 19px; color: var(--ink-2); }
.source-slot { min-height: 64px; width: 100%; display: grid; place-items: center; border: 3px dashed var(--line); border-radius: 14px; }
.source.full .source-slot { border-color: transparent; }
.source.full { animation: shakeHead .5s; }
.source-slot .card { min-width: 0; padding: 6px 8px; }
.card.onoma .card-label { font-size: 25px; }
@keyframes shakeHead { 25% { transform: rotate(-4deg); } 75% { transform: rotate(4deg); } }

/* ---------- 5. espelhos ---------- */
.mirrors { display: grid; gap: 10px; justify-items: center; width: 100%; }
.mirror-ask { margin: 0; font-size: 24px; font-weight: 700; background: var(--fiber), #fff; padding: 10px 24px; border-radius: 20px; box-shadow: var(--lift); }
.mirror-ask b { color: var(--c); font-family: var(--display); font-weight: 400; font-size: 1.2em; }
.mirror-row { display: grid; grid-template-columns: 1fr 240px 1fr; gap: 26px; align-items: center; width: 100%; max-width: 1040px; }
.mirror { display: grid; justify-items: center; gap: 10px; }
.glass { position: relative; width: 100%; max-width: 330px; height: 330px; display: grid; place-items: center; overflow: hidden; border: 14px solid var(--violet); outline: 5px solid #fff;
  background: linear-gradient(115deg, #dfe6f5 0%, #f7f9ff 30%, #c9d3ea 46%, #f3f6ff 62%, #d5dcef 100%); box-shadow: var(--lift-hi); }
.mirror.small .glass { border-radius: 50% 50% 46% 46% / 30% 30% 70% 70%; border-color: var(--cobalt); }
.mirror.big .glass { border-radius: 40% 40% 50% 50% / 60% 60% 40% 40%; border-color: var(--magenta); }
.mirror.lit .glass { box-shadow: var(--lift-hi), 0 0 0 10px rgba(255, 201, 60, .6), 0 0 50px rgba(255, 255, 255, .9); }
.reflect { display: grid; justify-items: center; gap: 4px; }
.mirror.small .reflect .card-art { width: 90px; height: 70px; transform: scaleX(.8); }
.mirror.big .reflect .card-art { width: 210px; height: 170px; transform: scaleX(1.15); }
.reflect .card-label { font-family: var(--display); font-size: 34px; color: var(--ink); }
.reflect .card-label b { font-weight: 400; color: var(--tomato); }
.mirror-label { font-family: var(--display); font-size: 22px; color: #fff; background: var(--fiber), var(--violet); padding: 4px 16px 6px; border-radius: 12px; box-shadow: var(--lift); }
.mirror.small .mirror-label { background: var(--fiber), var(--cobalt); } .mirror.big .mirror-label { background: var(--fiber), var(--magenta); }
.card.object { width: 220px; padding: 16px; }
.card.object .card-art { width: 150px; height: 130px; }
.card.object .card-label { font-family: var(--display); font-weight: 400; font-size: 36px; }
.card.grade-card { min-width: 110px; }

/* ---------- 6. pescaria ---------- */
.fishing { display: grid; gap: 12px; justify-items: center; width: 100%; }
.pond-wrap { display: grid; grid-template-columns: 1fr 170px; gap: 18px; align-items: end; width: 100%; max-width: 1080px; }
.pond { position: relative; height: 420px; overflow: hidden; border: 8px solid #fff; border-radius: 48% 52% 46% 54% / 40% 44% 56% 60%;
  background: var(--fiber), radial-gradient(ellipse at 50% 40%, #3F86E8, var(--cobalt) 70%); box-shadow: var(--lift-hi), inset 0 12px 30px rgba(10, 20, 60, .45); }
.fish { position: absolute; left: -24%; border: 0; background: none; padding: 0; width: 210px; height: 96px; animation: swim linear infinite; display: grid; place-items: center; }
.fish-art { position: absolute; inset: 0; }
.fish-word { position: relative; font-family: var(--display); font-size: 26px; color: var(--ink); background: rgba(255, 255, 255, .92); padding: 0 12px 2px; border-radius: 10px; margin-left: -18px; }
.fish.caught { animation: caught .9s cubic-bezier(.5, -0.4, .6, 1) forwards !important; }
.fish.nope { filter: grayscale(.6); }
.fish.nope .fish-word { text-decoration: line-through; }
@keyframes swim { from { left: -24%; } to { left: 104%; } }
@keyframes caught { 0% { } 30% { transform: translateY(-40px) rotate(-20deg); } 100% { transform: translate(60vw, -60px) rotate(-60deg) scale(.4); opacity: 0; } }
.bucket { display: grid; justify-items: center; gap: 4px; }
.bucket-art { width: 150px; height: 140px; }
.bucket-n { font-family: var(--display); font-weight: 400; font-size: 26px; color: #fff; background: var(--fiber), var(--teal); padding: 2px 16px 4px; border-radius: 12px; box-shadow: var(--lift); }

/* ---------- 6b, 9, 10b: rodadas de palavra ---------- */
.gaps, .digraphs, .buzz, .describe { display: grid; gap: 18px; justify-items: center; width: 100%; }
.mini-dots { display: flex; gap: 8px; padding: 8px 14px; background: var(--fiber), #fff; border-radius: 999px; box-shadow: var(--lift); }
.mini-dots i { width: 16px; height: 16px; border-radius: 50%; background: var(--line); }
.mini-dots i.done { background: var(--c); } .mini-dots i.cur { box-shadow: inset 0 0 0 4px var(--c); background: #fff; transform: scale(1.3); }
.gap-word, .buzz-word { font-family: var(--display); font-size: clamp(72px, 10vw, 128px); line-height: 1.1; color: var(--ink); background: var(--fiber), #fff; padding: 18px 56px 24px; border-radius: 30px 38px 28px 34px; box-shadow: var(--lift-hi); letter-spacing: .02em; }
.gap-word b { font-weight: 400; color: var(--c); }
.hole { display: inline-block; min-width: 1.4em; text-align: center; color: var(--line); border-bottom: 8px solid var(--c); line-height: .9; }
.buzz-word .s-mark { color: var(--c); }
.buzz-word.is-z .s-mark { color: #fff; background: var(--sun); border-radius: 14px; padding: 0 6px; color: var(--ink); }
.buzz-word.is-s .s-mark { color: #fff; background: var(--teal); border-radius: 14px; padding: 0 6px; }
.sound-btn { display: grid; justify-items: center; gap: 0; border: 5px solid #fff; padding: 12px 34px 14px; border-radius: 26px; box-shadow: var(--lift); min-width: 220px; color: var(--ink); }
.sound-btn b { font-family: var(--display); font-weight: 400; font-size: 54px; line-height: 1; }
.sound-btn span { font-weight: 700; font-size: 20px; }
.sound-btn.z { background: var(--fiber), var(--sun); }
.sound-btn.s { background: var(--fiber), color-mix(in srgb, var(--teal) 30%, #fff); }
.letters { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.tile { width: 104px; height: 124px; border: 0; border-radius: 18px 22px 16px 20px; background: var(--fiber), #fff; box-shadow: var(--lift-hi); font-family: var(--display); font-size: 76px; color: var(--ink); display: grid; place-items: center; transition: transform .2s, background .2s; padding: 0 0 8px; }
.tile.on { background: var(--fiber), var(--sun); transform: translateY(-8px); }
.tile.fused { width: auto; padding: 0 22px 8px; background: var(--fiber), var(--c); color: #fff; letter-spacing: -.02em; }
.describe-card { display: grid; justify-items: center; gap: 6px; background: var(--fiber), #fff; padding: 18px 40px 22px; border-radius: 28px; box-shadow: var(--lift-hi); }
.describe-art { width: 240px; height: 200px; }
.describe-line { margin: 0; font-family: var(--display); font-size: 52px; }
.describe-line b { font-weight: 400; color: var(--c); }
.describe-line .hole { font-size: .9em; }

/* ---------- 7. balões ---------- */
.balloons { display: grid; gap: 10px; justify-items: center; width: 100%; }
.sky { position: relative; width: 100%; max-width: 1100px; height: calc(100dvh - 300px); min-height: 400px; overflow: hidden; border-radius: 30px; border: 6px solid #fff;
  background: var(--fiber), linear-gradient(#5D97F0, #A9C9FA); box-shadow: var(--lift-hi); }
.balloon-b { position: absolute; bottom: -230px; width: 150px; height: 210px; border: 0; background: none; padding: 0; animation: riseUp linear forwards; display: grid; justify-items: center; }
.b-art { position: absolute; inset: 0; }
.b-word { position: relative; margin-top: 52px; font-family: var(--display); font-size: 25px; color: var(--ink); background: rgba(255, 255, 255, .93); padding: 0 10px 2px; border-radius: 10px; height: fit-content; }
.balloon-b.boom { animation: boom .4s forwards !important; }
.balloon-b.wobble .b-art { animation: jiggle .15s linear 3; }
@keyframes riseUp { to { bottom: 110%; } }
@keyframes boom { to { transform: scale(1.6); opacity: 0; filter: blur(2px); } }

/* ---------- 8. montanha-russa ---------- */
.coaster .bin { min-height: 220px; }
.car .bin-head { width: 150px; height: 100px; }
.coaster .bins.ride { animation: coasterRide 2.6s cubic-bezier(.5, 0, .5, 1) both; }
@keyframes coasterRide { 0% { transform: none; } 30% { transform: translate(8%, -60px) rotate(-8deg); } 55% { transform: translate(-6%, 30px) rotate(6deg); } 80% { transform: translate(4%, -24px) rotate(-3deg); } 100% { transform: none; } }

/* ---------- 9b. roda-gigante ---------- */
.wheel-game { position: relative; }
.ferris { position: absolute; z-index: -1; top: -30px; left: 50%; width: 520px; height: 520px; margin-left: -260px; opacity: .55; transform: rotate(var(--turn, 0deg)); transition: transform 1s cubic-bezier(.3, .8, .3, 1); }
.ferris.spin { animation: spin 3s linear infinite; opacity: .8; }
.cabin .bin-head { width: 80px; height: 74px; }
.cabin .bin-label { font-size: 32px; }

/* ---------- 10. quadrinhos ---------- */
.comic { margin: 0; display: grid; gap: 8px; }
.comic-title { font-family: var(--display); font-size: 30px; color: var(--c); text-align: center; }
.comic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.frame { position: relative; border: 4px solid var(--ink); border-radius: 6px; overflow: hidden; background: #fff; aspect-ratio: 4 / 3; transition: transform .2s; }
.frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.talk { position: absolute; left: 4px; right: 4px; top: 4px; display: flex; justify-content: space-between; align-items: flex-start; gap: 6px; }
.balloon { margin: 0; max-width: 54%; background: #fff; border: 2.5px solid var(--ink); border-radius: 16px; padding: 4px 9px 5px; font-size: 13.5px; font-weight: 700; line-height: 1.2; box-shadow: 0 3px 4px -2px rgba(20, 28, 70, .4); position: relative; }
.balloon.b1 { margin-left: auto; }
.balloon::after { content: ''; position: absolute; bottom: -10px; left: 24px; border: 7px solid transparent; border-top: 10px solid var(--ink); border-bottom: 0; }
.balloon.b1::after { left: auto; right: 24px; }
.comic-page { padding: 14px; }
.comic-game { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 18px; width: 100%; align-items: start; }
.comic-left { background: var(--fiber), #fff; border-radius: 22px; padding: 14px; box-shadow: var(--lift-hi); }
.comic-left .frame { aspect-ratio: 4 / 3; }
.comic-left .balloon { font-size: 15px; }
.comic-right { display: grid; gap: 8px; }
.comic-right .tray.col { gap: 8px; }
.card.balloon-card { display: block; text-align: left; min-height: 0; padding: 8px 14px; font-weight: 700; font-size: 16.5px; line-height: 1.25; border: 2.5px solid var(--ink); border-radius: 18px; }

/* ---------- comemoração: o ingresso furado ---------- */
.celebrate-wrap { display: grid; place-items: center; padding: 20px 16px 40px; }
.celebrate-wrap.scroll { place-items: start center; }
.celebrate { display: grid; justify-items: center; gap: 12px; text-align: center; max-width: 880px; width: 100%; }
.celebrate > .plaque { font-size: clamp(48px, 6vw, 76px); animation: signPop .7s cubic-bezier(.2, .9, .3, 1.35) both; }
.punch-row { position: relative; }
.punch-stage .ticket { width: min(560px, 86vw); }
.puncher { position: absolute; left: calc(min(560px, 86vw) * .1 - 40px); top: 50%; width: 80px; height: 160px; margin-top: -80px; pointer-events: none; opacity: 0; }
.puncher i { position: absolute; left: 0; right: 0; height: 64px; background: var(--fiber), #8A93B5; border: 4px solid #fff; box-shadow: var(--lift); }
.puncher i:first-child { top: 0; border-radius: 16px 16px 8px 8px; }
.puncher i:last-child { bottom: 0; border-radius: 8px 8px 16px 16px; }
.puncher.chomp { animation: punchIn .9s ease both; }
.puncher.chomp i:first-child { animation: jawTop .9s ease both; }
.puncher.chomp i:last-child { animation: jawBot .9s ease both; }
@keyframes punchIn { 0% { opacity: 0; transform: translateX(-30px); } 20%, 75% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateX(-40px); } }
@keyframes jawTop { 0%, 25% { transform: translateY(-10px); } 40% { transform: translateY(16px); } 60%, 100% { transform: translateY(-10px); } }
@keyframes jawBot { 0%, 25% { transform: translateY(10px); } 40% { transform: translateY(-16px); } 60%, 100% { transform: translateY(10px); } }
.bigstars { display: flex; gap: 10px; }
.bigstars span { width: 76px; height: 76px; animation: starIn .5s var(--d) cubic-bezier(.2, .9, .3, 1.5) both; }
.bigstars span svg { width: 100%; height: 100%; }
@keyframes starIn { from { transform: scale(0) rotate(-90deg); } to { transform: none; } }
.cele-sub { margin: 0; font-weight: 700; font-size: 22px; color: #fff; text-shadow: 0 2px 8px rgba(13, 20, 64, .7); }
.cele-life { margin: 0; font-weight: 700; font-size: 21px; background: var(--fiber), #fff; padding: 8px 22px; border-radius: 16px; box-shadow: var(--lift); }

/* ingresso de papel */
.ticket { --hole: 0px; position: relative; display: grid; grid-template-columns: 26% 1fr; min-height: 150px; text-align: left; color: var(--ink); filter: drop-shadow(0 3px 1px rgba(20, 28, 70, .18)) drop-shadow(0 14px 14px rgba(20, 28, 70, .3));
  transition: --hole .3s; }
.ticket > * { position: relative; }
.ticket::before { content: ''; position: absolute; inset: 0; background: var(--fiber), linear-gradient(90deg, var(--c) 0 26%, #fff 26%);
  -webkit-mask: radial-gradient(circle 13px at 26% 0, #0000 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 13px at 26% 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle 13px at 26% 0, #0000 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 13px at 26% 100%, #0000 97%, #000) bottom / 100% 51% no-repeat; border-radius: 10px; }
.ticket::after { content: ''; position: absolute; left: 26%; top: 16px; bottom: 16px; border-left: 4px dashed var(--line); }
.t-n { display: grid; place-items: center; font-family: var(--display); font-size: 64px; color: #fff; text-shadow: 0 3px 0 color-mix(in srgb, var(--c) 55%, #000); }
.t-body { display: grid; align-content: center; gap: 2px; padding: 12px 18px 12px 26px; }
.t-name { font-family: var(--display); font-size: 30px; line-height: 1.05; color: var(--c); }
.t-topic { font-weight: 700; font-size: 17px; color: var(--ink-2); }
.t-stars { display: flex; gap: 2px; margin-top: 4px; }
.t-stars svg { width: 28px; height: 28px; }
.t-hole { position: absolute; left: 13%; top: 50%; width: 32px; height: 32px; margin: -16px 0 0 -16px; border-radius: 50%; transform: scale(0); background: radial-gradient(circle at 45% 40%, #0b1238, #263068);
  box-shadow: inset 0 4px 5px rgba(0, 0, 0, .65), 0 1px 0 rgba(255, 255, 255, .4); transition: transform .25s cubic-bezier(.2, .9, .3, 1.6); }
.ticket.punched .t-hole { transform: scale(1); }
.ticket.punched .t-n { transform: translateY(-34px) scale(.7); transition: transform .3s; }

/* ---------- MEUS INGRESSOS ---------- */
.passport .stage { gap: 18px; }
.pass-book { width: 100%; display: grid; gap: 12px; }
.tickets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 22px; }
.ticket-btn { border: 0; background: none; padding: 0; text-align: left; transition: transform .2s; }
.ticket-btn:active { transform: scale(.98); }
.ticket-btn .ticket:not(.punched) { opacity: .78; filter: grayscale(.35) drop-shadow(0 6px 8px rgba(20, 28, 70, .25)); }
.tickets .ticket { min-height: 118px; }
.tickets .t-n { font-size: 48px; }
.tickets .t-name { font-size: 25px; }
.pass-foot { margin: 0; text-align: center; font-weight: 700; color: #fff; text-shadow: 0 2px 8px rgba(13, 20, 64, .7); }
.cert { display: flex; gap: 20px; align-items: center; width: 100%; padding: 16px 26px; background: var(--fiber), #fff; border-radius: 28px; box-shadow: var(--lift-hi); border: 6px solid var(--sun); }
.cert.glow { animation: glow 1.8s ease-in-out 3; }
.cert-be { width: 150px; height: 140px; flex: none; }
.cert h2 { font-size: 40px; color: var(--magenta); }
.cert p { margin: 6px 0 10px; font-weight: 700; color: var(--ink-2); }

/* ---------- simulado ---------- */
.card-resp { width: 100%; background: var(--fiber), #fff; border-radius: 18px; box-shadow: var(--lift); padding: 6px 16px; }
.card-resp summary { font-weight: 700; font-size: 18px; cursor: pointer; padding: 8px 0; color: var(--ink-2); }
.answer-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; padding: 6px 0 12px; }
.ag { border: 2px solid var(--line); background: #fff; border-radius: 10px; padding: 4px 2px; font-size: 14px; font-weight: 700; display: grid; justify-items: center; line-height: 1.1; color: var(--ink-2); }
.ag b { font-family: var(--display); font-weight: 400; font-size: 18px; color: var(--c); min-height: 20px; }
.ag.filled { background: color-mix(in srgb, var(--c) 14%, #fff); }
.ag.cur { border-color: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 40%, transparent); }
.exam-q { width: 100%; }
.exam-head { width: 100%; display: flex; gap: 12px; align-items: flex-start; }
.exam-head .card-resp { flex: 1; min-width: 0; }
.exam-head > .paper-btn { flex: none; }
.exam-head > .paper-btn:disabled { opacity: .45; }
.exam-wrap .stage { padding-bottom: calc(150px + var(--safe-b)); }
.exam-result .score { font-family: var(--display); font-size: 46px; color: #fff; text-shadow: 0 3px 10px rgba(13, 20, 64, .6); }
.exam-result .score b { font-weight: 400; font-size: 84px; color: var(--sun); }
.party-be { width: 190px; height: 176px; }
.review { width: 100%; text-align: left; background: var(--fiber), #fff; border-radius: 22px; padding: 16px 22px; box-shadow: var(--lift); }
.review h2 { font-size: 26px; color: var(--c); }
.review ol { padding-left: 0; list-style: none; margin: 8px 0 0; display: grid; gap: 12px; }
.rev { border-top: 2px dashed var(--line); padding-top: 10px; }
.rev p { margin: 2px 0; }
.rev-no { color: var(--tomato); font-weight: 700; } .rev-ok { color: var(--emerald); font-weight: 700; } .rev-ex { color: var(--ink-2); }

/* ---------- área dos pais ---------- */
.parents .mission-bg { display: none; }
.parents { background: var(--fiber), #24306A; }
.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; }
.panel { background: var(--fiber), #fff; border-radius: 20px; padding: 16px 20px; box-shadow: var(--lift); }
.panel.wide { grid-column: 1 / -1; }
.panel h3 { font-size: 24px; color: var(--cobalt); margin-bottom: 8px; }
.panel p { margin: 0 0 10px; font-size: 18px; }
.kv { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 17px; }
.kv li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 4px; }
.kv b { color: var(--tangerine); white-space: nowrap; }

/* ---------- Bê (doca de fala) ---------- */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; padding: 0 16px calc(12px + var(--safe-b)); pointer-events: none; }
.dock-in { max-width: 1240px; margin: 0 auto; display: flex; align-items: flex-end; gap: 10px; }
.dock-buddy { pointer-events: auto; width: 128px; height: 119px; flex: none; border: 0; background: none; padding: 0; filter: drop-shadow(0 10px 8px rgba(10, 20, 60, .4)); }
.dock-buddy.hop { animation: hop .6s; }
.bubble-wrap { pointer-events: auto; position: relative; flex: 1; min-width: 0; margin-bottom: 14px; }
.bubble { margin: 0; background: var(--fiber), #fff; border-radius: 22px 26px 22px 18px; padding: 14px 64px 14px 20px; font-size: 21px; font-weight: 700; line-height: 1.35; box-shadow: var(--lift-hi); min-height: 62px; }
.bubble::before { content: ''; position: absolute; left: -14px; bottom: 18px; border: 10px solid transparent; border-right: 16px solid #fff; border-left: 0; }
.bubble b { color: var(--c); }
.bubble.happy b { color: var(--emerald); } .bubble.oops b { color: var(--tomato); }
.replay { position: absolute; right: 10px; top: 50%; margin-top: -23px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--sheet-2); color: var(--c); display: grid; place-items: center; }
.replay svg { width: 24px; height: 24px; }
.next { pointer-events: auto; position: relative; isolation: isolate; border: 0; background: none; color: #fff; font-family: var(--display); font-size: 28px; padding: 18px 34px 20px; min-height: 72px; margin-bottom: 10px; flex: none;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .25); animation: pulse 1.8s 1s ease-in-out infinite; }
.next::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--fiber), var(--emerald); border: 4px solid #fff; border-radius: 22px 30px 20px 28px / 26px 20px 30px 22px; box-shadow: var(--lift-hi), inset 0 -6px 0 #1f6b31; filter: url(#torn); }

/* ---------- confete de papel ---------- */
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 500; overflow: hidden; }
.confetti i { position: absolute; top: -20px; width: 12px; height: 18px; border-radius: 2px; animation: fall linear forwards; box-shadow: 0 1px 1px rgba(0, 0, 0, .15); }
@keyframes fall { to { transform: translate(var(--x), 105vh) rotate(var(--r)); } }

/* ---------- utilidades de movimento ---------- */
.shake { animation: shake .45s; }
.pop { animation: popAnim .4s cubic-bezier(.2, .9, .3, 1.5); }
@keyframes shake { 20% { transform: translateX(-9px) rotate(-1deg); } 40% { transform: translateX(8px) rotate(1deg); } 60% { transform: translateX(-6px); } 80% { transform: translateX(4px); } }
@keyframes popAnim { 40% { transform: scale(1.1); } }
@keyframes rise { from { transform: translateY(26px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes bob { 50% { transform: translateY(-10px); } }
@keyframes hop { 30% { transform: translateY(-18px) scaleY(1.06); } 60% { transform: translateY(0) scaleY(.94); } }
@keyframes pulse { 50% { transform: scale(1.05); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes slowpan { to { transform: scale(1.1) translateX(-2%); } }

/* ---------- papel por dentro: cada peça é um recorte com outra folha embaixo ---------- */
/* --layer = a folha de baixo aparecendo (sombra dura, deslocada) + sombra curta; --under = a cor dessa folha */
/* declarada em todo elemento pra var(--under) valer com o valor de cada peça (em :root ela congelaria o fallback) */
*, ::before, ::after { --layer: 0 2px 0 rgba(20, 28, 70, .1), 5px 6px 0 -1px var(--under, rgba(20, 28, 70, .2)), 0 14px 18px -12px rgba(20, 28, 70, .45); }

/* trilha: tira de papel creme rasgada de ponta a ponta, como no comp */
.trail { left: 22px; right: 22px; transform: none; justify-content: space-evenly; background: none; box-shadow: none; isolation: isolate; padding: 12px 30px 16px; }
.trail::after { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--fiber), #F3E9D2; border: 4px solid #fff; border-radius: 16px 26px 14px 22px / 22px 14px 26px 16px;
  box-shadow: var(--layer); --under: #D9C9A3; filter: url(#torn); rotate: -.4deg; }
.trail::before { left: 60px; right: 60px; border-top-color: #C9B68C; }
.token { background: var(--fiber), #D3D6E2; color: #8C93AE; }
.token.trophy { background: none; border: 0; box-shadow: none; width: 64px; height: 64px; }
.token.trophy .spr { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 2px rgba(20, 28, 70, .35)); }
.token.trophy:not(.up) .spr { filter: grayscale(.75) brightness(1.05) drop-shadow(0 4px 2px rgba(20, 28, 70, .25)); }
.token.trophy.up { animation: hopSmall 1.6s ease-in-out infinite; }
@keyframes hopSmall { 50% { transform: translateY(-6px) rotate(-4deg); } }

/* chrome da capa do livro: discos de papel sólidos, balão do Bê preso na cabeça dele */
.home-tools .tog { width: 58px; height: 58px; border: 4px solid #fff; color: #fff; background: var(--fiber), var(--cobalt); box-shadow: var(--layer); --under: rgba(13, 20, 64, .35); }
.home-tools .tog[aria-label="Ver o parque todo"] { background: var(--fiber), var(--tomato); }
.home-tools .menu .tog::after, .home-tools .tog::after { content: none; }
.starcount { border: 4px solid #fff; box-shadow: var(--layer); }
.home-bubble { top: auto; bottom: calc(17% + clamp(170px, 21vw, 290px) * 1.02); left: 3%; border: 3px solid #fff; box-shadow: var(--layer); --under: color-mix(in srgb, var(--c) 45%, #fff); rotate: -1deg; }
.home-bubble::after { left: auto; right: 22%; }
.paper-btn.enter { --c: var(--teal); color: var(--teal); font-size: 30px; padding: 16px 40px 18px; }
.paper-btn.enter::before { border: 4px solid #fff; box-shadow: var(--layer), inset 0 -6px 0 color-mix(in srgb, var(--teal) 22%, #fff); --under: color-mix(in srgb, var(--teal) 60%, #000); }
.paper-btn.enter::after { content: ''; position: absolute; inset: -34px -30px; z-index: -2; pointer-events: none; animation: rays 6s linear infinite;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 120'%3E%3Cg stroke='%23FFC93C' stroke-width='7' stroke-linecap='round'%3E%3Cpath d='M18 20l16 12M100 4v14M182 20l-16 12M8 62h16M192 62h-16M18 104l16-12M182 104l-16-12'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat; }
@keyframes rays { 50% { transform: scale(1.08); opacity: .75; } }

/* buraco de picote de verdade: o disco é cortado e a cena aparece por ele */
.badge.done { -webkit-mask: radial-gradient(circle 15px at 79% 21%, #0000 96%, #000 100%); mask: radial-gradient(circle 15px at 79% 21%, #0000 96%, #000 100%); box-shadow: inset 0 0 0 7px var(--sun); }
.badge-wrap:has(.badge.done) { filter: drop-shadow(0 4px 2px rgba(20, 28, 70, .2)) drop-shadow(0 18px 18px rgba(20, 28, 70, .4)); }
.badge.done .punch-hole { display: none; }
.ov-pin.done { -webkit-mask: radial-gradient(circle 7px at 74% 26%, #0000 94%, #000 100%); mask: radial-gradient(circle 7px at 74% 26%, #0000 94%, #000 100%); }
.ov-pin.done::after { content: none; }

/* a tela do cinema passa a HQ */
.cover-box { position: absolute; left: 50%; top: 50%; width: max(100%, 100dvh * 1585 / 992); aspect-ratio: 1585 / 992; transform: translate(-50%, -50%); }
.cine-screen { position: absolute; left: 51.9%; top: 39.4%; width: 26%; height: 23.3%; object-fit: cover; border-radius: 4px; box-shadow: inset 0 0 0 2px rgba(13, 20, 64, .3); animation: fadeIn .5s .9s both; }

/* fundo das missões: a atração continua reconhecível atrás das peças */
.mission-bg { filter: blur(1.6px) saturate(1.05) brightness(.74); }

/* folhas grandes: papel com uma folha colorida da atração embaixo */
.qcard, .page, .comic-left, .panel, .review, .describe-card, .cert, .card-resp, .source, .machine-in, .mirror-ask, .gap-word, .buzz-word, .cele-life, .intro-topic, .bubble, .menu-pop {
  border: 4px solid #fff; box-shadow: var(--layer); --under: color-mix(in srgb, var(--c) 70%, #fff); }
.qcard, .page, .comic-left { box-shadow: var(--layer), 0 0 0 0 transparent; --under: var(--c); }
.bubble { --under: color-mix(in srgb, var(--c) 40%, #fff); }

/* peças de resposta: tiras de papel tingidas, cada uma meio torta */
.opt { background: var(--fiber), color-mix(in srgb, var(--c) 9%, #fff); border: 3px solid #fff; border-radius: 16px 22px 14px 20px / 20px 14px 22px 16px; box-shadow: var(--layer); --under: color-mix(in srgb, var(--c) 35%, #fff); }
.opt:nth-child(odd) { rotate: -.5deg; } .opt:nth-child(even) { rotate: .45deg; }
.card, .tile, .chip:not(.listen) { border: 3px solid #fff; box-shadow: var(--layer); --under: color-mix(in srgb, var(--c) 40%, #fff); }
.tray > .card:nth-child(3n + 1), .letters > .tile:nth-child(odd) { rotate: -1.2deg; }
.tray > .card:nth-child(3n + 2), .letters > .tile:nth-child(even) { rotate: .9deg; }
.card.selected { box-shadow: var(--layer), 0 0 0 5px var(--sun); }

/* caixas de separar: bandejas de cartolina na cor de cada uma */
.bin { background: var(--fiber), color-mix(in srgb, var(--b) 26%, #fff); box-shadow: var(--layer); --under: color-mix(in srgb, var(--b) 75%, #000); }

/* céu dos balões: sem caixa, os balões sobem por cima do parque */
.sky { border: 0; background: none; box-shadow: none; border-radius: 0; }

/* no resultado do simulado e nos ingressos o confete cai só no alto, longe do texto que ela precisa ler */
body:has(.celebrate-wrap.scroll, .passport) .confetti { bottom: 64%; }

/* alternativas curtas (CH, QU...) em 2 colunas: a questão da HQ cabe inteira acima do Bê */
.opts.grid2 { grid-template-columns: 1fr 1fr; }

/* ---------- telas menores ---------- */
@media (max-width: 1000px) {
  .qlayout, .qlayout.comic-q, .comic-game { grid-template-columns: 1fr; }
  .qside { max-height: none; }
  .sources { grid-template-columns: repeat(3, 1fr); }
  .bins.n5 { grid-template-columns: repeat(3, 1fr); }
  .mirror-row { grid-template-columns: 1fr 1fr; } .mirror-mid { grid-column: 1 / -1; order: -1; justify-self: center; }
  .bubble-stage { grid-template-columns: 1fr; }
  .slots { grid-template-columns: 1fr 1fr; }
  .tickets { grid-template-columns: 1fr; }
  .home-bubble { display: none; }
  .answer-grid { grid-template-columns: repeat(8, 1fr); }
}
@media (max-width: 700px) {
  .horses { grid-template-columns: repeat(3, 1fr); }
  .pgrid { grid-template-columns: 1fr; }
  .dock-buddy { width: 84px; height: 78px; }
  .bubble { font-size: 17px; }
  .next { font-size: 22px; padding: 14px 20px; }
  .trail .token { width: 40px; height: 40px; font-size: 19px; }
  .be-spot { left: 4%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .life { display: none; }
  .fish.still, .balloon-b.still { animation: none !important; }
}

/* menu de papel */
.menu { position: relative; }
.menu-pop { position: absolute; right: 0; top: 66px; z-index: 60; display: grid; gap: 10px; padding: 16px; min-width: 250px; background: var(--fiber), #fff; border-radius: 22px 26px 20px 24px; box-shadow: var(--lift-hi); animation: rise .25s both; }
.menu-h { margin: 0; font-weight: 700; font-size: 16px; color: var(--ink-2); }
.menu-item { display: flex; align-items: center; gap: 12px; border: 0; background: var(--sheet-2); border-radius: 14px; padding: 10px 14px; font-weight: 700; font-size: 19px; min-height: 52px; text-align: left; }
.menu-item svg { width: 24px; height: 24px; color: var(--c); flex: none; }
