:root {
  --ink: #3d2c3a;
  --purple: #6b52d9;
  --purple-d: #4e38b5;
  --green: #3ccf6e;
  --yellow: #ffd23f;
  --sky: #5ec8f2;
  --white: #ffffff;
  --font: 'Baloo 2', ui-rounded, 'Segoe UI Rounded', system-ui, sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bot: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--sky); font-family: var(--font); color: var(--ink); overscroll-behavior: none; }
body { position: fixed; inset: 0; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
#app, .screen { position: absolute; inset: 0; }
button { font-family: inherit; border: 0; cursor: pointer; color: inherit; }

.big {
  font-size: 30px; font-weight: 800; color: #fff; background: linear-gradient(#7d66ec, var(--purple));
  padding: 10px 44px 14px; border-radius: 22px; box-shadow: 0 6px 0 var(--purple-d), 0 10px 20px rgba(40, 20, 90, .3);
  text-shadow: 0 2px 0 rgba(0, 0, 0, .2); transition: transform .1s;
}
.big:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--purple-d); }

/* ---------- splash ---------- */
.splash { background: linear-gradient(#5ec8f2, #a8e6ff 60%, #fff4c9); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; overflow: hidden; }
.splash .logo { text-align: center; line-height: .85; z-index: 2; margin-top: calc(var(--safe-top) - 20px); }
.splash .super { font-size: 44px; font-weight: 800; color: var(--yellow); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; text-shadow: 0 4px 0 var(--ink); transform: rotate(-6deg); display: inline-block; }
.splash .name { font-size: 84px; font-weight: 800; color: #fff; -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 0 6px 0 var(--ink), 0 12px 24px rgba(0, 0, 0, .2); }
.splash .tag { font-size: 20px; font-weight: 700; color: var(--purple-d); margin-top: 10px; background: #fff; display: inline-block; padding: 4px 16px; border-radius: 99px; box-shadow: 0 3px 0 rgba(0, 0, 0, .1); }
.splash .hero { width: min(68vw, 340px); height: auto; z-index: 2; animation: hover 2.4s ease-in-out infinite; filter: drop-shadow(0 18px 12px rgba(0, 0, 0, .15)); }
.splash .play { z-index: 2; margin-top: 6px; animation: pulse 1.6s ease-in-out infinite; }
.cloud { position: absolute; background: #fff; border-radius: 99px; opacity: .9; }
.cloud::before, .cloud::after { content: ''; position: absolute; background: #fff; border-radius: 50%; }
.cloud.c1 { width: 160px; height: 46px; top: 12%; left: -40px; animation: drift 26s linear infinite; }
.cloud.c2 { width: 120px; height: 36px; top: 26%; left: 60%; animation: drift 34s linear infinite -10s; }
.cloud.c3 { width: 200px; height: 56px; top: 72%; left: 10%; animation: drift 40s linear infinite -20s; opacity: .7; }
.cloud::before { width: 60%; height: 140%; left: 12%; top: -60%; }
.cloud::after { width: 40%; height: 110%; left: 48%; top: -40%; }

@keyframes hover { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-16px) rotate(2deg); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@keyframes drift { from { transform: translateX(-30vw); } to { transform: translateX(110vw); } }

/* ---------- lista de mapas ---------- */
.maps { background: linear-gradient(#5ec8f2, #c5efff); overflow-y: auto; padding: calc(var(--safe-top) + 14px) 16px calc(var(--safe-bot) + 20px); }
.maps header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.maps .avatar { width: 64px; height: 64px; background: #fff; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 4px 0 rgba(0, 0, 0, .12); }
.maps .h1 { font-size: 30px; font-weight: 800; color: #fff; -webkit-text-stroke: 1.5px var(--ink); paint-order: stroke fill; text-shadow: 0 3px 0 var(--ink); line-height: 1; }
.maps .h2 { font-size: 18px; font-weight: 700; color: var(--purple-d); }
.maps .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mapcard { background: #fff; border-radius: 22px; padding: 8px 8px 10px; box-shadow: 0 6px 0 rgba(40, 60, 120, .18); text-align: left; position: relative; display: block; width: 100%; }
.mapcard:first-child { grid-column: 1 / -1; }
.mapcard .thumb { width: 100%; height: auto; border-radius: 16px; display: block; aspect-ratio: 200 / 130; }
.mapcard .mtitle { font-weight: 800; font-size: 19px; margin: 6px 4px 0; line-height: 1.1; }
.mapcard:first-child .mtitle { font-size: 24px; }
.mprog { display: flex; align-items: center; gap: 8px; margin: 4px 4px 0; font-weight: 800; color: var(--purple-d); }
.mbar { flex: 1; height: 12px; background: #e6e1f7; border-radius: 99px; overflow: hidden; }
.mbar div { height: 100%; background: var(--green); border-radius: 99px; }
.tbadge { position: absolute; top: 14px; right: 14px; background: var(--yellow); font-weight: 800; padding: 2px 10px; border-radius: 99px; box-shadow: 0 2px 0 rgba(0, 0, 0, .15); font-size: 14px; }
.mapcard.locked .thumb.soon { background: var(--c); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.mapcard.locked .emoji { font-size: 48px; filter: saturate(.7); }
.lockcloud { position: absolute; inset: auto 0 0 0; background: rgba(255, 255, 255, .9); text-align: center; font-weight: 800; color: #8a80b8; padding: 2px 0; }
.mapcard.locked .mtitle { color: #8a80b8; font-size: 16px; }
.maps footer { text-align: center; margin-top: 26px; }
.maps .reset { background: transparent; color: rgba(40, 40, 90, .55); font-size: 14px; font-weight: 700; text-decoration: underline; }

.loading { background: linear-gradient(#5ec8f2, #c5efff); display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 800; color: #fff; font-size: 22px; -webkit-text-stroke: 1px var(--ink); paint-order: stroke fill; }
.loading .hero { width: 160px; animation: hover 1s ease-in-out infinite; }

/* ---------- jogo ---------- */
.gamewrap, .game { position: absolute; inset: 0; overflow: hidden; background: #7fdcf5; }
svg.world { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; display: block; }

.hud-top { position: absolute; top: calc(var(--safe-top) + 8px); left: 8px; right: 8px; display: flex; align-items: center; gap: 8px; pointer-events: none; }
.hud-top > * { pointer-events: auto; }
.btn.round { width: 52px; height: 52px; border-radius: 50%; background: #fff; box-shadow: 0 4px 0 rgba(0, 0, 0, .15); display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 800; color: var(--purple); flex: none; }
.btn.round:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0, 0, 0, .15); }
.btn.back { position: relative; overflow: visible; }
.btn.back svg { width: 46px; height: 46px; border-radius: 50%; }
.btn.back .chev { position: absolute; left: -6px; top: 50%; transform: translateY(-50%); background: var(--purple); color: #fff; width: 22px; height: 22px; border-radius: 50%; font-size: 22px; line-height: 18px; display: flex; justify-content: center; border: 2px solid #fff; }
.btn.music svg { width: 26px; height: 26px; }
.progress { flex: 1; background: rgba(255, 255, 255, .95); border-radius: 18px; padding: 4px 12px 6px; box-shadow: 0 4px 0 rgba(0, 0, 0, .12); min-width: 0; }
.ptitle { font-weight: 800; font-size: 16px; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pbar { position: relative; height: 12px; background: #e6e1f7; border-radius: 99px; margin-top: 3px; }
.pfill { height: 100%; background: linear-gradient(#5be38a, var(--green)); border-radius: 99px; transition: width .5s; }
.pmark { position: absolute; top: -4px; width: 4px; height: 20px; background: var(--purple); border-radius: 2px; transform: translateX(-2px); }
.pmark::after { content: '🔓'; position: absolute; top: -2px; left: 6px; font-size: 13px; }
.ptext { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; font-weight: 700; color: #7a6fa8; line-height: 1.2; }

.zoom { position: absolute; right: 8px; top: calc(var(--safe-top) + 74px); display: flex; flex-direction: column; gap: 8px; }
.zoom .btn.round { width: 46px; height: 46px; font-size: 32px; line-height: 1; padding-bottom: 4px; }

.hints { position: absolute; right: 10px; bottom: calc(var(--safe-bot) + 118px); display: flex; flex-direction: column; gap: 12px; align-items: center; pointer-events: none; }
.hint { width: 64px; height: 64px; border-radius: 50%; background: #fff; box-shadow: 0 5px 0 rgba(0, 0, 0, .18), 0 0 0 4px var(--yellow); display: flex; align-items: center; justify-content: center; transform: scale(0); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); pointer-events: none; }
.hint svg { width: 44px; height: 44px; }
.hint.show { transform: scale(1); pointer-events: auto; animation: wobble 1.4s ease-in-out infinite .4s; position: relative; }
/* recarregando: cinza com um anel que vai enchendo */
.hint.wait { animation: none; background: #eceaf2; box-shadow: 0 5px 0 rgba(0,0,0,.12), 0 0 0 4px #cfcbe0; }
.hint.wait > * { filter: grayscale(1) opacity(.55); }
.hint.wait::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; background: conic-gradient(var(--yellow) calc(var(--p, 0) * 360deg), transparent 0); -webkit-mask: radial-gradient(circle, transparent 31px, #000 32px); mask: radial-gradient(circle, transparent 31px, #000 32px); }
.hint.earned { animation: hintpop .9s cubic-bezier(.3,1.8,.5,1); }
@keyframes hintpop { 0% { transform: scale(.3); } 40% { transform: scale(1.45) rotate(-12deg); } 70% { transform: scale(.92) rotate(6deg); } 100% { transform: scale(1); } }
.hint.nudge { animation: hintnudge 1.6s ease-in-out 2; }
@keyframes hintnudge { 0%,100% { transform: scale(1); } 15% { transform: translateY(-16px) scale(1.15); } 30% { transform: translateY(0) scale(.95); } 45% { transform: translateY(-10px) scale(1.1); } 60% { transform: none; } }
.hint.nope { animation: hintnope .35s; }
@keyframes hintnope { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
@keyframes wobble { 0%, 100% { rotate: 0deg; } 25% { rotate: -12deg; } 75% { rotate: 12deg; } }

.arrow { position: absolute; left: 0; top: 0; width: 48px; height: 48px; pointer-events: none; opacity: 0; transition: opacity .3s; filter: drop-shadow(0 3px 2px rgba(0, 0, 0, .3)); }
.arrow.show { opacity: 1; }
.arrow svg { width: 100%; height: 100%; }
.arrow.bounce svg { animation: arrowb .6s ease-in-out infinite alternate; }
@keyframes arrowb { from { transform: translateY(0); } to { transform: translateY(-10px); } }

.bar { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 0 calc(var(--safe-bot) + 10px); background: rgba(255, 255, 255, .96); border-radius: 22px 22px 0 0; box-shadow: 0 -4px 14px rgba(0, 0, 0, .12); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 10px 2px; scrollbar-width: none; scroll-snap-type: x proximity; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; width: 76px; height: 82px; border-radius: 18px; background: #d8f7e2; box-shadow: inset 0 0 0 3px #9be8b4; position: relative; display: flex; align-items: center; justify-content: center; scroll-snap-align: center; }
.chip svg { width: 64px; height: 70px; }
.chip .n { position: absolute; right: 2px; bottom: 2px; min-width: 26px; height: 26px; border-radius: 13px; background: var(--purple); color: #fff; font-weight: 800; font-size: 17px; line-height: 26px; padding: 0 6px; text-align: center; border: 2px solid #fff; }
.chip.done { background: #e9e7ee; box-shadow: inset 0 0 0 3px #d6d2df; }
.chip.done svg { opacity: .45; filter: grayscale(.8); }
.chip.done .n { background: var(--green); }
.chip.special { background: #fff3c2; box-shadow: inset 0 0 0 3px var(--yellow); }
.chip.special.done { background: #fff3c2; }
.chip.special.done svg { opacity: 1; filter: none; }
.chip.wiggle { animation: wobble .5s ease-in-out 2; }
.chip.bump { animation: bump .45s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.25); } 100% { transform: scale(1); } }

.flyers { position: absolute; inset: 0; pointer-events: none; }
.flyer { position: absolute; width: 50px; height: 56px; transform: translate(-50%, -50%); filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .25)); }
.flyer svg { width: 100%; height: 100%; }

.modal { position: absolute; inset: 0; background: rgba(40, 30, 90, .45); display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 10; animation: fade .3s; }
.modal.hidden { display: none; }
.modal .card { background: #fff; border-radius: 30px; padding: 20px 24px 28px; text-align: center; width: min(92vw, 380px); box-shadow: 0 10px 0 rgba(40, 30, 90, .25); animation: popin .5s cubic-bezier(.3, 1.6, .5, 1); position: relative; overflow: hidden; }
.modal h2 { margin: 0; font-size: 36px; line-height: 1.1; color: var(--purple); }
.modal p { font-size: 20px; font-weight: 700; margin: 6px 0 18px; }
.modal .area-name { font-size: 26px; color: var(--ink); }
.bigtomas { width: 170px; height: 200px; }
.bigtomas.jump { animation: jump .8s ease-in-out infinite alternate; }
@keyframes jump { from { transform: translateY(6px); } to { transform: translateY(-14px) rotate(3deg); } }
@keyframes popin { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes fade { from { opacity: 0; } }
.confetti { position: absolute; inset: 0; pointer-events: none; }
.confetti i { position: absolute; top: -20px; width: 10px; height: 14px; border-radius: 3px; animation: fall linear infinite; }
@keyframes fall { from { transform: translateY(0) rotate(0); } to { transform: translateY(560px) rotate(720deg); } }

/* ---------- animações dentro do mapa ---------- */
.ents g[class^="a-"], .ents .check { transform-box: fill-box; transform-origin: 50% 100%; }
.a-bob { animation: bob 1.4s ease-in-out infinite; }
.a-wiggle { animation: wig 1.2s ease-in-out infinite; }
.a-float { animation: float 3s ease-in-out infinite; }
.a-sway { animation: swayk 3s ease-in-out infinite; }
.a-shine { animation: shine 2.2s ease-in-out infinite; }
.a-glow { animation: glowk 2s ease-in-out infinite; }
.a-rise { animation: rise 3.5s ease-in-out infinite; }
.a-palm { animation: palmk 4s ease-in-out infinite; }
.a-shipbob { animation: shipbob 4s ease-in-out infinite; }
.a-peek { animation: peek 3.2s ease-in-out infinite; }
.a-drift { animation: cdrift 9s ease-in-out infinite alternate; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px) scaleY(1.03); } }
@keyframes wig { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes swayk { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
@keyframes shine { 0%, 100% { transform: scale(1); filter: brightness(1); } 50% { transform: scale(1.08); filter: brightness(1.2); } }
@keyframes glowk { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.25) drop-shadow(0 0 4px #ffe27a); } }
@keyframes rise { 0% { transform: translateY(0); opacity: .9; } 100% { transform: translateY(-40px); opacity: 0; } }
@keyframes palmk { 0%, 100% { transform: rotate(-1.5deg); } 50% { transform: rotate(1.5deg); } }
@keyframes shipbob { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(5px) rotate(1deg); } }
@keyframes peek { 0%, 70%, 100% { transform: translateY(0); } 80% { transform: translateY(5px); } 90% { transform: translateY(0) rotate(4deg); } }
@keyframes cdrift { from { transform: translate(-10px, 0); } to { transform: translate(10px, 6px); } }

.terrain .foam { animation: foam 6s linear infinite; }
@keyframes foam { to { stroke-dashoffset: -96; } }
.terrain .waves { animation: waves 3s ease-in-out infinite alternate; }
@keyframes waves { from { transform: translateX(-6px); } to { transform: translateX(6px); } }
.terrain .ray { animation: rayk 7s ease-in-out infinite alternate; }
@keyframes rayk { from { opacity: .03; } to { opacity: .12; } }
.glow { animation: glowk 2s ease-in-out infinite; }
.flicker { animation: flick .5s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes flick { from { transform: scaleY(.9); } to { transform: scaleY(1.1) scaleX(.95); } }
.flag { animation: flagk 1.2s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 0 50%; }
@keyframes flagk { from { transform: skewY(-4deg); } to { transform: skewY(4deg); } }
.sway { animation: swayk 3.5s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }

.ents .check { opacity: 0; transform: scale(0); transition: transform .4s cubic-bezier(.3, 1.8, .5, 1) .5s, opacity .3s .5s; }
.ents .found .check { opacity: 1; transform: scale(1); }
.ents .pop > use, .ents .pop > g { animation: popk .5s cubic-bezier(.3, 1.8, .5, 1); transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes popk { 0% { transform: scale(1); } 40% { transform: scale(1.5); } 100% { transform: scale(1); } }

.fx .ring { animation: ringk .9s ease-out forwards; transform-box: fill-box; transform-origin: center; }
@keyframes ringk { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.fx .star { animation: stark .9s ease-out forwards; transform-box: fill-box; transform-origin: center; }
@keyframes stark { from { transform: translate(0, 0) scale(.5); opacity: 1; } to { transform: translate(var(--sx), var(--sy)) scale(1.3) rotate(90deg); opacity: 0; } }
.fx .missfx { animation: missk .7s ease-out forwards; transform-box: fill-box; transform-origin: center; }
@keyframes missk { 0% { transform: scale(.5); opacity: 0; } 25% { transform: scale(1.1); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
.fx .lupafx { animation: lupak 1s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
@keyframes lupak { from { transform: scale(.9); } to { transform: scale(1.12); } }

.clouds .puff { transform-box: fill-box; transform-origin: center; }
.clouds .clearing .puff { animation: puffaway 1.6s ease-in forwards; }
.clouds .clearing .lockbadge { transition: opacity .4s; opacity: 0; }
@keyframes puffaway { to { transform: translate(var(--dx), var(--dy)) scale(1.5); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .a-bob, .a-wiggle, .a-float, .a-sway, .a-shine, .a-palm, .a-shipbob, .a-drift, .terrain .waves { animation: none; }
}

/* ================= v2: motor WebGL ================= */
.game .stage { position: absolute; inset: 0; }
.game .stage canvas { display: block; width: 100%; height: 100%; touch-action: none; }
.gload { position: absolute; inset: 0; z-index: 20; background: linear-gradient(#5ec8f2, #c5efff); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; transition: opacity .5s; }
.gload.done { opacity: 0; pointer-events: none; }
.gload .hero { width: 150px; height: 150px; object-fit: contain; animation: hover 1.2s ease-in-out infinite; }
.gload .lbar { width: min(70vw, 280px); height: 16px; background: rgba(255,255,255,.7); border-radius: 99px; overflow: hidden; box-shadow: inset 0 2px 0 rgba(0,0,0,.08); }
.gload .lbar div { height: 100%; width: 5%; background: linear-gradient(#ffe066, #ffc21a); border-radius: 99px; transition: width .3s; }
.btn.back img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: #fff3c2; }
.chip img { width: 66px; height: 66px; object-fit: contain; filter: drop-shadow(0 2px 1px rgba(0,0,0,.15)); }
.chip.done img { opacity: .45; filter: grayscale(.8); }
.chip.special.done img { opacity: 1; filter: none; }
img.flyer { position: absolute; width: 56px; height: 56px; object-fit: contain; transform: translate(-50%, -50%); filter: drop-shadow(0 4px 4px rgba(0,0,0,.25)); pointer-events: none; }
.hint img { width: 48px; height: 48px; object-fit: contain; }
.bigtomas { width: 190px; height: 210px; object-fit: contain; }

/* desafio com tempo */
.challenge-btn { position: absolute; right: 8px; top: calc(var(--safe-top) + 190px); width: 46px; height: 46px; border-radius: 50%; background: #fff; box-shadow: 0 4px 0 rgba(0,0,0,.15); font-size: 24px; display: flex; align-items: center; justify-content: center; }
.challenge-btn.hidden { display: none; }
.challenge { position: absolute; left: 50%; top: calc(var(--safe-top) + 74px); transform: translateX(-50%); background: #fff; border-radius: 20px; padding: 6px 10px 6px 6px; display: flex; align-items: center; gap: 8px; box-shadow: 0 5px 0 rgba(0,0,0,.14), 0 0 0 4px #ffd23f; animation: popin .45s cubic-bezier(.3,1.6,.5,1); }
.challenge.hidden { display: none; }
.challenge img { width: 46px; height: 46px; object-fit: contain; }
.challenge .ctitle { font-weight: 800; font-size: 17px; line-height: 1.1; }
.challenge .cdots { display: flex; gap: 5px; margin-top: 3px; }
.challenge .cdots i { width: 16px; height: 16px; border-radius: 50%; background: #e6e1f7; box-shadow: inset 0 0 0 2px #cfc8ea; }
.challenge .cdots i.on { background: var(--green); box-shadow: none; animation: bump .4s; }
.challenge .ctime { position: relative; width: 44px; height: 44px; }
.challenge .ctime svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.challenge .ctime .trk { fill: none; stroke: #eee; stroke-width: 5; }
.challenge .ctime .arc { fill: none; stroke: #6b52d9; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 94.2; transition: stroke-dashoffset .25s linear; }
.challenge.hurry .ctime .arc { stroke: #ff5d6c; }
.challenge .ctime span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; }
.challenge.win { box-shadow: 0 5px 0 rgba(0,0,0,.14), 0 0 0 4px var(--green); }
.toast { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%) scale(.6); background: #fff; color: var(--purple-d); font-weight: 800; font-size: 22px; padding: 12px 22px; border-radius: 22px; box-shadow: 0 6px 0 rgba(40,30,90,.2); opacity: 0; transition: all .35s cubic-bezier(.3,1.6,.5,1); pointer-events: none; z-index: 8; white-space: normal; text-align: center; width: max-content; max-width: calc(100vw - 32px); }
.toast.big { font-size: 30px; }
.toast.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.toast.hidden { display: none; }

/* cartinhas */
.tcard { background: linear-gradient(#fff8d6, #ffe9a8); border-radius: 18px; padding: 8px 8px 10px; box-shadow: 0 0 0 4px #ffc21a, 0 6px 0 rgba(0,0,0,.15); text-align: center; position: relative; }
.tcard .art { background: radial-gradient(circle at 50% 40%, #bfe9ff, #5ec8f2); border-radius: 12px; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.tcard .art img { width: 82%; height: 82%; object-fit: contain; filter: drop-shadow(0 4px 2px rgba(0,0,0,.2)); }
.tcard .nm { font-weight: 800; font-size: 16px; margin-top: 6px; line-height: 1.1; color: #4b2f86; text-shadow: none; -webkit-text-stroke: 0; }
.tcard .tx { font-size: 13px; font-weight: 600; color: #7a6a4a; line-height: 1.15; margin-top: 2px; }
.tcard.off { background: #e9e7ee; box-shadow: 0 0 0 4px #d6d2df, 0 6px 0 rgba(0,0,0,.1); }
.tcard.off .art { background: #cfcbe0; }
.tcard.off .art img { filter: brightness(0) opacity(.35); }
.tcard.off .art span { position: absolute; font-size: 54px; font-weight: 800; color: #fff; text-shadow: 0 3px 0 rgba(0,0,0,.15); }
.tcard.big { width: 200px; margin: 0 auto 10px; transform: rotate(-3deg); animation: cardin .7s cubic-bezier(.3,1.6,.5,1); }
@keyframes cardin { from { transform: rotate(-30deg) scale(.2); opacity: 0; } to { transform: rotate(-3deg) scale(1); opacity: 1; } }
.albumscr { background: linear-gradient(#5ec8f2, #c5efff); overflow-y: auto; padding: calc(var(--safe-top) + 12px) 16px calc(var(--safe-bot) + 24px); }
.albumscr header { display: flex; align-items: center; gap: 12px; }
.albumscr .h1 { flex: 1; font-size: 28px; font-weight: 800; color: #fff; -webkit-text-stroke: 1.5px var(--ink); paint-order: stroke fill; text-shadow: 0 3px 0 var(--ink); }
.albumscr .count { background: #fff; border-radius: 99px; padding: 2px 12px; font-weight: 800; color: var(--purple-d); }
.albumscr h3 { color: var(--purple-d); margin: 16px 0 10px; font-size: 20px; }
.albumscr .cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; }
.album-btn { margin-left: auto; background: #fff; border-radius: 18px; padding: 4px 12px; display: flex; align-items: center; gap: 6px; box-shadow: 0 4px 0 rgba(0,0,0,.12); font-size: 26px; }
.album-btn b { font-size: 20px; color: var(--purple-d); }
.maps .avatar { object-fit: cover; }
.thumbwrap { position: relative; }
.thumbwrap .thumb { aspect-ratio: auto; height: 220px; width: 100%; object-fit: cover; object-position: 50% 30%; }
.thumbwrap .thumbhero { position: absolute; right: 6px; bottom: -6px; width: 110px; height: 130px; object-fit: contain; filter: drop-shadow(0 6px 4px rgba(0,0,0,.25)); animation: hover 2.4s ease-in-out infinite; }
.splash .hero { object-fit: contain; height: min(42vh, 380px); }

/* ================= v2: splash e lista de mapas premium ================= */
.splash2 { overflow: hidden; background: #8fd3ff; }
.splash2 .kb { position: absolute; inset: 0; }
.splash2 .kb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; animation: kenburns 24s ease-in-out infinite alternate; transform-origin: 50% 45%; }
@keyframes kenburns { from { transform: scale(1.02) translateY(0); } to { transform: scale(1.12) translateY(-1.5%); } }
.splash2::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(255,255,255,.0) 55%, rgba(30,20,80,.25)); pointer-events: none; }
.splash2 .logo { position: absolute; left: 50%; top: calc(var(--safe-top) + 3vh); width: min(86vw, 460px); transform: translateX(-50%); z-index: 3; filter: drop-shadow(0 10px 16px rgba(30,30,90,.35)); animation: logoin 1s cubic-bezier(.3,1.6,.5,1) both, logofloat 3.6s ease-in-out 1s infinite; }
@keyframes logoin { from { transform: translateX(-50%) scale(.2) rotate(-12deg); opacity: 0; } to { transform: translateX(-50%) scale(1) rotate(0); opacity: 1; } }
@keyframes logofloat { 0%,100% { transform: translateX(-50%) translateY(0) rotate(-1deg); } 50% { transform: translateX(-50%) translateY(-8px) rotate(1deg); } }
.splash2 .tagline { position: absolute; left: 50%; top: calc(var(--safe-top) + 3vh + min(86vw,460px) * .62); transform: translateX(-50%); z-index: 3; white-space: nowrap; background: rgba(255,255,255,.92); color: var(--purple-d); font-weight: 800; font-size: clamp(15px, 4.4vw, 21px); padding: 4px 18px 5px; border-radius: 99px; box-shadow: 0 4px 0 rgba(40,30,90,.18); animation: fadeup .6s .7s both; }
@keyframes fadeup { from { opacity: 0; transform: translate(-50%, 16px); } }
.splash2 .playbtn { position: absolute; left: 50%; bottom: calc(var(--safe-bot) + 7vh); transform: translateX(-50%); z-index: 3; font-size: clamp(30px, 9vw, 42px); font-weight: 800; color: #fff; padding: 12px 64px 16px; border-radius: 999px;
  background: linear-gradient(180deg, #ffde59 0%, #ffb21a 55%, #ff9800 100%); box-shadow: 0 8px 0 #c96a00, 0 14px 30px rgba(120,60,0,.45), inset 0 3px 0 rgba(255,255,255,.7); text-shadow: 0 3px 0 #c96a00;
  overflow: hidden; animation: fadeup .6s 1s both, btnpulse 1.6s ease-in-out 1.6s infinite; }
.splash2 .playbtn::before { content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.7), transparent); transform: skewX(-20deg); animation: shine 2.8s ease-in-out 2s infinite; }
@keyframes shine { 0% { left: -60%; } 40%, 100% { left: 130%; } }
@keyframes btnpulse { 0%,100% { transform: translateX(-50%) scale(1); } 50% { transform: translateX(-50%) scale(1.06); } }
.splash2 .playbtn:active { transform: translateX(-50%) translateY(6px); box-shadow: 0 2px 0 #c96a00; }
.splash2 .sparkles { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.splash2 .sparkles i { position: absolute; width: 14px; height: 14px; transform: scale(var(--s)); background: radial-gradient(circle, #fff 0 18%, rgba(255,240,160,.9) 30%, transparent 62%); animation: twinkle 3.2s ease-in-out infinite; }
.splash2 .sparkles i::before, .splash2 .sparkles i::after { content: ''; position: absolute; left: 50%; top: -6px; width: 2px; height: 26px; margin-left: -1px; background: linear-gradient(transparent, #fff, transparent); }
.splash2 .sparkles i::after { transform: rotate(90deg); }
@keyframes twinkle { 0%,100% { opacity: 0; transform: scale(calc(var(--s) * .4)) rotate(0); } 50% { opacity: 1; transform: scale(var(--s)) rotate(45deg); } }
.splash2 .splash-load { position: absolute; left: 50%; bottom: calc(var(--safe-bot) + 3vh); width: 120px; height: 6px; transform: translateX(-50%); background: rgba(255,255,255,.4); border-radius: 9px; overflow: hidden; z-index: 3; }
.splash2 .splash-load div { height: 100%; width: 0; background: #fff; border-radius: 9px; transition: width .3s; }
.splash2.leaving { animation: zoomout .42s ease-in forwards; }
@keyframes zoomout { to { opacity: 0; transform: scale(1.08); } }

.maps2 { overflow-y: auto; overflow-x: hidden; background: linear-gradient(#56c2f5 0%, #9fe0ff 45%, #e9f8ff 100%); padding: calc(var(--safe-top) + 10px) 14px calc(var(--safe-bot) + 26px); -webkit-overflow-scrolling: touch; }
.maps2 .skybg { position: fixed; inset: 0; pointer-events: none; }
.maps2 header { position: relative; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; animation: fadeup2 .5s both; }
@keyframes fadeup2 { from { opacity: 0; transform: translateY(14px); } }
.maps2 .me { width: 62px; height: 62px; border-radius: 50%; padding: 3px; background: conic-gradient(#ffd23f, #ff9800, #ffd23f); box-shadow: 0 4px 0 rgba(0,0,0,.12); flex: none; }
.maps2 .me img { width: 100%; height: 100%; border-radius: 50%; background: #fff3c2; object-fit: cover; }
.maps2 .htxt { flex: 1; min-width: 0; }
.maps2 .hlogo { height: 46px; width: auto; display: block; filter: drop-shadow(0 3px 4px rgba(0,0,0,.2)); }
.maps2 .h2 { font-weight: 800; color: #fff; font-size: 17px; text-shadow: 0 2px 0 rgba(40,60,140,.45); margin-top: 2px; }
.album2 { position: relative; display: flex; align-items: center; gap: 6px; padding: 6px 12px 6px 8px; border-radius: 18px; background: linear-gradient(#fff, #f1ecff); box-shadow: 0 4px 0 rgba(60,40,140,.2); }
.album2 .cardico { width: 30px; height: 38px; border-radius: 6px; background: linear-gradient(#fff8d6, #ffe08a); box-shadow: 0 0 0 3px #ffc21a, 3px 3px 0 3px rgba(0,0,0,.08); transform: rotate(-8deg); position: relative; }
.album2 .cardico::after { content: '★'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #ff9800; font-size: 18px; }
.album2 b { font-size: 22px; color: var(--purple-d); }
.mlist { display: flex; flex-direction: column; gap: 18px; position: relative; }
.mcard { display: block; width: 100%; text-align: left; padding: 0; border-radius: 28px; background: #fff; box-shadow: 0 8px 0 rgba(40,70,150,.18), 0 16px 30px rgba(40,70,150,.15); overflow: hidden; position: relative; animation: cardup .55s cubic-bezier(.3,1.4,.5,1) var(--d) both; transition: transform .15s; }
@keyframes cardup { from { opacity: 0; transform: translateY(40px) scale(.96); } }
.mcard.pressed { transform: scale(.97); }
.mcard .mart { position: relative; height: clamp(190px, 52vw, 300px); overflow: hidden; }
.mcard .mart > img:first-child { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; transform: scale(1.04); transition: transform 6s ease-out; }
.mcard:hover .mart > img:first-child { transform: scale(1.12); }
.mcard .mart::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(0,0,0,.35)); pointer-events: none; }
.mcard .mhero { position: absolute; right: 8px; bottom: -4px; height: 78%; width: auto; z-index: 2; filter: drop-shadow(0 8px 6px rgba(0,0,0,.3)); animation: hover 2.6s ease-in-out infinite; }
.mcard .mbadge { position: absolute; left: 12px; top: 12px; z-index: 2; background: #ffd23f; color: #5a3a00; font-weight: 800; padding: 3px 12px; border-radius: 99px; box-shadow: 0 3px 0 rgba(0,0,0,.18); font-size: 15px; }
.mcard .mbadge.new { background: #ff5d6c; color: #fff; animation: wobble 1.6s ease-in-out infinite; }
.mcard .playchip { position: absolute; left: 12px; bottom: 12px; z-index: 2; background: linear-gradient(#ffde59, #ffb21a); color: #fff; text-shadow: 0 2px 0 #c96a00; font-weight: 800; font-size: 20px; padding: 6px 18px 8px; border-radius: 99px; box-shadow: 0 4px 0 #c96a00; }
.mcard .minfo { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 12px; padding: 10px 14px 14px; }
.mcard .mnum { grid-row: span 2; width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(#8f7cf2, #6b52d9); color: #fff; font-weight: 800; font-size: 24px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 0 #4e38b5; }
.mcard .mtitle { font-weight: 800; font-size: 22px; line-height: 1.05; color: var(--ink); }
.mcard .mmeta { display: flex; align-items: center; gap: 10px; }
.mcard .adots { display: flex; gap: 4px; }
.mcard .ad { width: 24px; height: 24px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; }
.mcard .ad.ok { background: var(--green); color: #fff; }
.mcard .ad.cur { background: #ffd23f; color: #5a3a00; }
.mcard .ad.lock { background: #ece8f6; font-size: 11px; }
.mcard .mpct { flex: 1; display: flex; align-items: center; gap: 6px; }
.mcard .mbar { flex: 1; height: 10px; border-radius: 9px; background: #ece8f6; overflow: hidden; }
.mcard .mbar div { height: 100%; background: linear-gradient(90deg, #5be38a, #3ccf6e); border-radius: 9px; }
.mcard .mpct b { color: var(--purple-d); font-size: 15px; }
.mcard.soon .mart { height: clamp(130px, 34vw, 200px); }
.mcard.soon .mart img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.mcard.soon .frost { position: absolute; inset: 0; background: linear-gradient(rgba(255,255,255,.05), rgba(220,230,255,.55)); backdrop-filter: blur(1.5px); -webkit-backdrop-filter: blur(1.5px); }
.mcard.soon .ribbon { position: absolute; top: 18px; right: -40px; transform: rotate(35deg); background: #ff5d6c; color: #fff; font-weight: 800; padding: 4px 48px; font-size: 15px; box-shadow: 0 3px 0 rgba(0,0,0,.18); z-index: 2; }
.mcard.soon .lockico { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.92); display: flex; align-items: center; justify-content: center; font-size: 30px; box-shadow: 0 5px 0 rgba(0,0,0,.15); z-index: 2; }
.mcard.soon .mtitle { color: #7a6fa8; }
.mcard.soon .mnum { background: linear-gradient(#c9c2e6, #a99fd0); box-shadow: 0 4px 0 #8a7fb8; }
.mcard.nope { animation: nope .4s; }
@keyframes nope { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.maps2 footer { text-align: center; margin-top: 26px; }
.maps2 .reset { background: transparent; color: rgba(40,40,90,.45); font-size: 13px; font-weight: 700; text-decoration: underline; }
@media (min-width: 760px) { .mlist { display: grid; grid-template-columns: 1fr 1fr; } .mcard:first-child { grid-column: 1 / -1; } }
.maps2 header { justify-content: space-between; }
.maps2 .hlogo { height: clamp(62px, 18vw, 92px); width: auto; flex: 0 1 auto; min-width: 0; filter: drop-shadow(0 4px 6px rgba(0,0,0,.22)); animation: logofloat2 3.6s ease-in-out infinite; }
@keyframes logofloat2 { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-4px) rotate(1deg); } }
.maps2 > .h2 { position: relative; font-weight: 800; color: #fff; font-size: 22px; text-shadow: 0 2px 0 rgba(40,60,140,.45); margin: 0 4px 12px; }
.mcard .mart > img:first-child { object-position: 50% 50%; }
@media (orientation: landscape) and (max-height: 560px) {
  /* paisagem: a arte aparece inteira, logo e botão do lado */
  .splash2 .kb img { object-position: 50% 54%; }
  .splash2 .logo { width: min(36vw, 300px); top: calc(var(--safe-top) + 10px); left: 4vw; transform: none; animation: logoin2 1s cubic-bezier(.3,1.6,.5,1) both; }
  .splash2 .tagline { top: calc(var(--safe-top) + 10px + min(36vw, 300px) * .62); left: 4vw; transform: none; font-size: 15px; }
  .splash2 .playbtn { left: auto; right: 5vw; bottom: calc(var(--safe-bot) + 22px); transform: none; padding: 6px 44px 10px; font-size: 28px; }
  .splash2 .playbtn:active { transform: translateY(6px); }
  .splash2 .splash-load { display: none; }
  /* barra de itens mais baixa para sobrar mapa */
  .bar { padding: 4px 0 calc(var(--safe-bot) + 4px); }
  .chip { width: 60px; height: 62px; border-radius: 14px; }
  .chip img { width: 50px; height: 50px; }
  /* dicas do lado esquerdo (à direita ficam o zoom e o desafio) */
  .hints { right: auto; left: 10px; bottom: calc(var(--safe-bot) + 84px); flex-direction: row; }
  .hint { width: 54px; height: 54px; }
  /* janelas cabem na tela deitada */
  .modal { padding: 8px; }
  .modal .card { max-height: 94vh; padding: 10px 20px 14px; width: min(80vw, 460px); }
  .bigtomas { height: 30vh; width: auto; }
  .modal h2 { font-size: 28px; }
  .modal p { margin: 2px 0 8px; font-size: 17px; }
  .modal .area-name { font-size: 21px; }
  .tcard.big { width: 25vh; margin-bottom: 4px; }
  .tcard.big .tx { display: none; }
  .modal .go.big { padding-top: 8px; padding-bottom: 10px; }
}
@keyframes logoin2 { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@media (max-width: 380px) { .ptext { font-size: 11.5px; } }
.plus1 { position: absolute; transform-origin: 50% 100%; z-index: 3; background: #ff9f1c; color: #fff; font-weight: 800; font-size: 15px; line-height: 1; padding: 4px 7px 5px; border-radius: 99px; box-shadow: 0 2px 0 #c96a00; pointer-events: none; animation: plus1 .9s cubic-bezier(.3,1.6,.5,1) forwards; }
@keyframes plus1 { 0% { transform: scale(.2) translateY(6px); opacity: 0; } 25% { transform: scale(1.15) translateY(-4px); opacity: 1; } 70% { transform: scale(1) translateY(-10px); opacity: 1; } 100% { transform: scale(.9) translateY(-22px); opacity: 0; } }

/* figurinhas especiais */
.chip.card { background: linear-gradient(#fff6c9, #ffe08a); box-shadow: inset 0 0 0 3px #ffc21a; }
.chip.card .star { position: absolute; left: -3px; top: -6px; font-style: normal; font-size: 18px; color: #ffb000; text-shadow: 0 1px 0 #fff, 0 2px 2px rgba(0,0,0,.2); animation: twinkstar 1.8s ease-in-out infinite; }
@keyframes twinkstar { 0%,100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.25) rotate(18deg); } }
.chip.card.done { background: #d8f7e2; box-shadow: inset 0 0 0 3px #9be8b4; }
.modal .rays { position: absolute; left: 50%; top: 34%; width: 520px; height: 520px; margin: -260px 0 0 -260px; pointer-events: none; z-index: 0; border-radius: 50%;
  background: repeating-conic-gradient(rgba(255, 214, 80, .38) 0 10deg, transparent 10deg 22deg); -webkit-mask: radial-gradient(circle, #000 20%, transparent 68%); mask: radial-gradient(circle, #000 20%, transparent 68%); animation: rays 9s linear infinite; }
@keyframes rays { to { transform: rotate(360deg); } }
.modal .card > *:not(.rays):not(.confetti) { position: relative; z-index: 1; }
.tcard.big { box-shadow: 0 0 0 4px #ffc21a, 0 0 28px 6px rgba(255, 200, 40, .7), 0 6px 0 rgba(0,0,0,.15); }

.endcards { display: flex; justify-content: center; gap: 6px; margin: -6px 0 14px; }
.endcards img { width: 58px; height: 70px; object-fit: contain; background: linear-gradient(#fff6c9, #ffe08a); border-radius: 10px; box-shadow: 0 0 0 3px #ffc21a; padding: 3px; }

/* bússola ligada: grande no meio da tela, seta grossa, anel de tempo e quente/frio */
.dial { position: absolute; left: 50%; top: 24%; width: 132px; height: 132px; margin: -66px 0 0 -66px; z-index: 6; pointer-events: none; transform: scale(0); transition: transform .4s cubic-bezier(.3,1.6,.5,1); filter: drop-shadow(0 8px 6px rgba(0,0,0,.3)); --hc: #4aa8ff; }
.dial.show { transform: scale(1); }
.dial .face { position: absolute; inset: 10px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fffdf3, #f3e6c4 70%, #d9c08a); box-shadow: inset 0 0 0 5px #b8873f, inset 0 0 0 9px #f9eccc; }
.dial .needle { position: absolute; left: 22px; top: 22px; width: 88px; height: 88px; }
.dial::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(var(--hc) calc(var(--p, 1) * 360deg), rgba(255,255,255,.45) 0); -webkit-mask: radial-gradient(circle, transparent 57px, #000 58px); mask: radial-gradient(circle, transparent 57px, #000 58px); transition: background .4s; }
.dial .heat { position: absolute; left: 50%; top: 100%; transform: translate(-50%, 4px); background: var(--hc); color: #fff; font-weight: 800; font-size: 20px; padding: 3px 14px 4px; border-radius: 99px; white-space: nowrap; box-shadow: 0 3px 0 rgba(0,0,0,.18); transition: background .4s; }
.dial[data-heat="1"] { --hc: #f5b400; }
.dial[data-heat="2"] { --hc: #ff8a1f; }
.dial[data-heat="3"] { --hc: #ff3b4e; }
.dial[data-heat="3"] .face { animation: hotpulse .5s ease-in-out infinite alternate; }
@keyframes hotpulse { to { box-shadow: inset 0 0 0 5px #b8873f, inset 0 0 0 9px #ffd0d0, 0 0 26px 8px rgba(255,80,80,.7); } }
.dial.next { animation: dialnext .5s cubic-bezier(.3,1.8,.5,1); }
@keyframes dialnext { 40% { transform: scale(1.18) rotate(-8deg); } 100% { transform: scale(1); } }
@media (orientation: landscape) and (max-height: 560px) { .dial { top: 30%; width: 96px; height: 96px; margin: -48px 0 0 -48px; } .dial .needle { left: 16px; top: 16px; width: 64px; height: 64px; } .dial .face { inset: 8px; } .dial::before { -webkit-mask: radial-gradient(circle, transparent 41px, #000 42px); mask: radial-gradient(circle, transparent 41px, #000 42px); } .dial .heat { font-size: 15px; } }

/* bolha de recompensa (lupa/bússola) subindo devagar pela tela */
.bubbles { position: absolute; inset: 0; pointer-events: none; z-index: 7; overflow: hidden; }
.bubble { position: absolute; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; pointer-events: auto; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.95) 0 8%, rgba(255,255,255,.35) 20%, rgba(170,225,255,.28) 60%, rgba(120,200,255,.5) 100%);
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.85), 0 6px 16px rgba(30,60,120,.25); animation: bubbleup 14s linear forwards, bubblesway 2.2s ease-in-out infinite alternate; }
.bubble img, .bubble svg { width: 46px; height: 46px; }
.bubble.got { animation: bubblepop .45s ease-out forwards; }
@keyframes bubbleup { 0% { transform: translateY(40px) scale(.2); opacity: 0; } 6% { transform: translateY(0) scale(1); opacity: 1; } 92% { opacity: 1; } 100% { transform: translateY(-62vh) scale(1); opacity: 0; } }
@keyframes bubblesway { from { margin-left: -46px; } to { margin-left: -30px; } }
@keyframes bubblepop { 0% { transform: scale(1); } 40% { transform: scale(1.35); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
/* cargas guardadas da dica */
.hint[data-n]::before { content: attr(data-n); position: absolute; right: -4px; top: -4px; min-width: 22px; height: 22px; border-radius: 11px; background: #ff5d6c; color: #fff; font-weight: 800; font-size: 14px; line-height: 22px; text-align: center; box-shadow: 0 2px 0 rgba(0,0,0,.2); z-index: 2; }

/* conta */
.accchip { position: relative; display: block; margin: -4px auto 8px; padding: 7px 16px 8px; border: 0; border-radius: 99px; background: rgba(255,255,255,.92); color: var(--purple-d); font-weight: 800; font-size: 15px; line-height: 1; font-family: inherit; box-shadow: 0 3px 0 rgba(40,30,90,.18); }
.accscr { background: linear-gradient(#5ec8f2, #c5efff); overflow-y: auto; padding: calc(var(--safe-top) + 12px) 16px calc(var(--safe-bot) + 24px); }
.accscr header { display: flex; align-items: center; gap: 12px; }
.accscr .h1 { flex: 1; font-size: 28px; font-weight: 800; color: #fff; -webkit-text-stroke: 1.5px var(--ink); paint-order: stroke fill; text-shadow: 0 3px 0 var(--ink); }
.acccard { max-width: 380px; margin: 24px auto 0; background: #fff; border-radius: 26px; padding: 18px 20px 22px; box-shadow: 0 8px 0 rgba(40,30,90,.2); text-align: center; }
.accme { width: 90px; height: 90px; object-fit: contain; }
.acchi { font-size: 17px; font-weight: 700; color: #4b2f86; margin: 6px 0 14px; }
.acccard label { display: block; text-align: left; font-weight: 800; color: #4b2f86; margin: 10px 0 0; font-size: 15px; }
.acccard input { display: block; width: 100%; box-sizing: border-box; margin-top: 4px; padding: 12px 14px; font-weight: 700; font-size: 18px; font-family: inherit; border: 3px solid #cfc6f2; border-radius: 14px; outline: none; }
.acccard input:focus { border-color: #8b6ee8; }
.accerr { min-height: 22px; color: #e0344a; font-weight: 800; margin: 8px 0 2px; }
.accbtn { display: block; width: 100%; margin-top: 10px; padding: 13px; border: 0; border-radius: 16px; font-weight: 800; font-size: 19px; font-family: inherit; color: #fff; background: #ff9f1c; box-shadow: 0 5px 0 #c96a00; }
.accbtn.new { background: #8b6ee8; box-shadow: 0 5px 0 #5d43b5; }
.accbtn.out { background: #e0344a; box-shadow: 0 5px 0 #a51e30; }
.accbtn:disabled { opacity: .6; }
