/* Layout: two-column hero (copy | glowing habitat), then pets, stats, evolution, how-it-works. Dark by design. */
:root {
  color-scheme: dark;
  --bg: #0e0a1c; --card: #191330; --card2: #221a3e; --line: #2f2652; --ink: #f4efff; --muted: #a79dc8;
  --pink: #ff5cad; --violet: #9378ff; --sun: #ffc93c; --mint: #3de0aa; --fire: #ff7a3d; --danger: #ff6b8f;
  --grad: linear-gradient(100deg, #ff5cad, #9378ff);
  --hab1: #ff8fc8;
  --shadow: 0 14px 40px rgba(0, 0, 0, .45), 0 2px 8px rgba(0, 0, 0, .3);
  --head: "Fredoka", "Baloo 2", ui-rounded, system-ui, sans-serif;
  font: 16px/1.5 "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { overflow-x: hidden; }
body { margin: 0; background: var(--bg); color: var(--ink); }
[hidden] { display: none !important; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 16px; }
.blobs { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.blobs i { position: absolute; border-radius: 50%; filter: blur(80px); }
.blobs i:nth-child(1) { width: 460px; height: 460px; background: rgba(255, 92, 173, .20); top: -160px; left: -120px; }
.blobs i:nth-child(2) { width: 420px; height: 420px; background: rgba(147, 120, 255, .24); top: 60px; right: -140px; }
.blobs i:nth-child(3) { width: 380px; height: 380px; background: rgba(61, 224, 170, .10); bottom: -160px; left: 30%; }

/* nav */
.nav { display: flex; align-items: center; justify-content: space-between; padding-block: 18px 6px; }
.logo { font: 700 22px var(--head); display: flex; align-items: center; gap: 10px; }
.logo-egg { width: 22px; height: 28px; border-radius: 50% 50% 46% 46% / 60% 60% 40% 40%; background: var(--grad); box-shadow: inset -4px -4px 0 rgba(255,255,255,.25), 0 0 18px rgba(255, 92, 173, .5); }
.ticker { font: 700 13px var(--head); letter-spacing: .04em; color: var(--pink); background: rgba(255, 92, 173, .12); padding: 3px 9px; border-radius: 8px; }
.chip { font: 700 12px var(--head); letter-spacing: .06em; text-transform: uppercase; color: var(--violet); background: rgba(147, 120, 255, .14); padding: 5px 12px; border-radius: 999px; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px; align-items: center; padding-block: 28px 8px; }
h1 { font: 700 clamp(38px, 6vw, 62px)/1.02 var(--head); margin: 0 0 14px; letter-spacing: -.01em; text-wrap: balance; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: var(--muted); margin: 0 0 22px; max-width: 32em; }
.hatch { display: flex; gap: 8px; background: var(--card); padding: 6px; border-radius: 18px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.hatch input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 10px 12px; font: 600 15px ui-monospace, Menlo, Consolas, monospace; color: var(--ink); }
.hatch input::placeholder { color: var(--muted); }
.hatch:focus-within { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(147, 120, 255, .22), var(--shadow); }
.btn { font: 600 16px var(--head); border: 0; border-radius: 14px; padding: 11px 20px; cursor: pointer; color: var(--ink); transition: transform .12s ease, box-shadow .12s ease, background .12s ease; }
.btn:active { transform: scale(.97); }
.btn:disabled { cursor: not-allowed; opacity: .5; transform: none; }
.btn.primary { background: var(--grad); color: #fff; box-shadow: 0 6px 20px rgba(255, 92, 173, .35); }
.btn.primary:hover { box-shadow: 0 8px 26px rgba(147, 120, 255, .5); }
.btn.soft { background: var(--card2); }
.btn.soft:hover { background: #2c2350; }
.err { color: var(--danger); font-weight: 700; font-size: 14px; margin-top: 8px; }
.err:empty { display: none; }
.sub { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 12px; color: var(--muted); font-size: 14px; }
.linkbtn { border: 0; background: none; padding: 0; font: 700 14px var(--head); color: var(--violet); cursor: pointer; }
.linkbtn:hover { text-decoration: underline; }

/* habitat: night sky with a glow in the pet's colour */
.habitat { position: relative; border-radius: 32px; padding: 20px 22px 18px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line);
  background: radial-gradient(60% 55% at 50% 62%, color-mix(in srgb, var(--hab1) 34%, transparent), transparent 72%), linear-gradient(180deg, #1e1638, #110c22); }
.habitat::before { content: ""; position: absolute; left: -10%; right: -10%; bottom: 52px; height: 110px; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.habitat::after { content: ""; position: absolute; inset: 0 0 45% 0; pointer-events: none; opacity: .8;
  background: radial-gradient(1.5px 1.5px at 12% 30%, #fff, transparent), radial-gradient(1px 1px at 26% 62%, #fff, transparent), radial-gradient(2px 2px at 78% 22%, #fff, transparent),
    radial-gradient(1px 1px at 88% 54%, #fff, transparent), radial-gradient(1.5px 1.5px at 62% 12%, #fff, transparent), radial-gradient(1px 1px at 40% 18%, #fff, transparent), radial-gradient(1px 1px at 70% 70%, #fff, transparent); }
.hab-top { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pet-name { font: 700 28px/1.1 var(--head); }
.pet-addr { font: 600 13px ui-monospace, Menlo, monospace; color: var(--muted); }
.pet-addr.demo { font: 700 14px var(--head); }
.badge { font: 700 13px var(--head); padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: var(--ink); white-space: nowrap; }
.stage-area { position: relative; z-index: 1; height: 300px; display: flex; align-items: flex-end; justify-content: center; }
.pet { width: min(300px, 82%); cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; }
.pet .pet-svg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 0 22px color-mix(in srgb, var(--hab1) 30%, transparent)); }
.fx { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.progress { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; margin-top: 6px; font: 600 14px var(--head); font-variant-numeric: tabular-nums; }
.bar { flex: 1; height: 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--grad); transition: width .3s ease; }

/* pet animation */
.pet-bob { transform-box: fill-box; transform-origin: 50% 100%; animation: bob 2.6s ease-in-out infinite; }
.pet-eyes { transform-box: fill-box; transform-origin: center; animation: blink 4.6s infinite; }
.pet-egg { transform-box: fill-box; transform-origin: 50% 100%; animation: wobble 3.2s ease-in-out infinite; }
.twinkle { transform-box: fill-box; transform-origin: center; animation: twinkle 1.8s ease-in-out infinite; }
.twinkle:nth-of-type(2n) { animation-delay: .9s; }
.pet[data-mood="hungry"] .pet-bob { animation-duration: 4.4s; }
.pet[data-mood="asleep"] .pet-bob { animation: breathe 3.6s ease-in-out infinite; }
.pet[data-mood="love"] .pet-bob { animation: hop .5s ease-in-out infinite; }
.pet.expect .pet-bob { animation: expect .35s ease-out forwards; }
.pet.munch .pet-bob { animation: munch .55s ease-out; }
.pet.munch .pet-eyes { animation: nom .55s ease-out; }
.pet.munch .pet-egg { animation: glow .5s ease-out; }
/* Eating: the mouth opens wide while a treat flies in, then chomps a few times */
.pet-mouth-open { opacity: 0; transform-box: fill-box; transform-origin: 50% 20%; }
.pet.expect .pet-mouth, .pet.munch .pet-mouth { opacity: 0; }
.pet.expect .pet-mouth-open { opacity: 1; animation: gape .25s ease-out; }
.pet.munch .pet-mouth-open { animation: chomp .6s ease-in-out forwards; }
@keyframes gape { from { transform: scale(.3); } to { transform: scale(1); } }
@keyframes chomp { 0% { opacity: 1; transform: scaleY(1); } 18% { transform: scaleY(.15); } 36% { transform: scaleY(.75); } 54% { transform: scaleY(.12); } 72% { transform: scaleY(.55); } 100% { opacity: 1; transform: scaleY(.1); } }
@keyframes bob { 0%, 100% { transform: translateY(0) scale(1.03, .97); } 50% { transform: translateY(-7px) scale(.98, 1.02); } }
@keyframes breathe { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.02, .97); } }
@keyframes hop { 0%, 100% { transform: translateY(0) scale(1.04, .96); } 50% { transform: translateY(-14px) scale(.97, 1.03); } }
@keyframes expect { to { transform: translateY(-6px) scale(.97, 1.04); } }
@keyframes munch { 0% { transform: scale(1); } 18% { transform: scale(1.12, .86); } 36% { transform: scale(.95, 1.06); } 54% { transform: scale(1.07, .93); } 72% { transform: scale(.98, 1.02); } 100% { transform: scale(1); } }
@keyframes nom { 0%, 100% { transform: scaleY(1); } 20%, 60% { transform: scaleY(.25); } 40% { transform: scaleY(.8); } }
@keyframes glow { 50% { transform: scale(1.05); filter: brightness(1.2); } }
@keyframes blink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
@keyframes wobble { 0%, 64%, 100% { transform: rotate(0); } 70% { transform: rotate(-7deg); } 76% { transform: rotate(6deg); } 82% { transform: rotate(-4deg); } 88% { transform: rotate(2deg); } }
@keyframes twinkle { 0%, 100% { transform: scale(.6); opacity: .5; } 50% { transform: scale(1.1); opacity: 1; } }

/* fx */
.treat { position: absolute; left: 0; top: 0; width: 48px; height: 48px; margin: -24px 0 0 -24px; display: grid; place-items: center; pointer-events: none; will-change: transform; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .35)); }
.crumb { position: absolute; left: 0; top: 0; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; pointer-events: none; will-change: transform; }
.absorb { position: absolute; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; border: 3px solid #fff3b0; box-shadow: 0 0 18px #ffd23f; animation: absorb .6s ease-out forwards; pointer-events: none; }
@keyframes absorb { from { transform: scale(.3); opacity: .9; } to { transform: scale(1.8); opacity: 0; } }
.pop { position: absolute; transform: translateX(-50%); font: 700 16px var(--head); color: var(--sun); text-shadow: 0 2px 6px rgba(0, 0, 0, .7); animation: pop 1.3s cubic-bezier(.2, .8, .3, 1) forwards; white-space: nowrap; pointer-events: none; }
@keyframes pop { 0% { opacity: 0; transform: translate(-50%, 6px) scale(.6); } 15% { opacity: 1; transform: translate(-50%, -6px) scale(1.15); } 30% { transform: translate(-50%, -12px) scale(1); } 100% { opacity: 0; transform: translate(-50%, -58px) scale(1); } }
.heart { position: absolute; bottom: 38%; font-size: 24px; animation: heart 1.4s ease-out forwards; }
@keyframes heart { from { opacity: 1; transform: translate(0, 0) scale(.6); } to { opacity: 0; transform: translate(var(--dx), -120px) scale(1.2); } }
.confetti { position: absolute; top: 40%; left: 50%; width: 10px; height: 14px; border-radius: 3px; animation: confetti 1.5s ease-out forwards; }
.ember { position: absolute; bottom: 30%; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle, #ffd27a, #ff7a3d 60%, transparent 70%); animation: ember 1.3s ease-out forwards; }
@keyframes confetti { to { transform: translate(var(--dx), var(--dy)) rotate(var(--r)); opacity: 0; } }
@keyframes ember { to { transform: translate(var(--dx), -160px) scale(.3); opacity: 0; } }

/* cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 18px 20px; box-shadow: var(--shadow); }
.card h2, .how h3 { font: 700 18px var(--head); margin: 0 0 10px; }

.pets-card { margin-top: 26px; }
.pets-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.pets-left { min-width: 0; }
.chip-wrap { flex: 0 0 auto; display: grid; gap: 6px; }
.slow { display: grid; gap: 3px; justify-items: center; font: 700 11px var(--head); letter-spacing: .06em; text-transform: uppercase; color: #6ec8ff; }
.slow-bar { width: 100%; height: 6px; border-radius: 999px; background: rgba(110, 200, 255, .15); overflow: hidden; }
.slow-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #6ec8ff, #9378ff); transition: width .4s linear; }
.claim { background: var(--card2); border-radius: 20px; padding: 14px 16px; display: grid; gap: 8px; }
.claim h3 { font: 700 18px var(--head); margin: 0; }
.claim-avail, .claim-pct { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-weight: 700; font-size: 14px; color: var(--muted); }
.claim-avail b { font: 700 22px var(--head); color: var(--mint); font-variant-numeric: tabular-nums; }
.claim-pct b { font: 700 18px var(--head); color: var(--ink); font-variant-numeric: tabular-nums; }
.claim input[type=range] { width: 100%; accent-color: var(--mint); margin: 2px 0 0; }
.ticks { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; color: var(--muted); margin-top: -4px; }
.claim-prev { font-size: 13px; font-weight: 700; color: var(--ink); background: rgba(255, 255, 255, .04); border-radius: 12px; padding: 8px 10px; }
.claim-prev .warn { color: var(--danger); }
.claim-prev .ok { color: var(--mint); }
.btn.claim-btn { background: linear-gradient(100deg, #3de0aa, #2bb7c9); color: #06231a; }
.btn.claim-btn.armed { background: #fff; color: #0b7a5c; box-shadow: 0 0 0 3px var(--mint); }
.pets-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.count { color: var(--muted); font-weight: 600; }
.hint { color: var(--muted); font-size: 14px; font-weight: 600; }
.pets { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.pet-chip { width: 112px; display: grid; justify-items: center; gap: 2px; padding: 8px 6px 10px; border-radius: 18px; border: 2px solid transparent; background: var(--card2); color: var(--ink); cursor: pointer; font: inherit; }
.pet-chip:hover { background: #2a2149; }
.pet-chip[aria-pressed="true"] { border-color: var(--violet); background: #2b2152; }
.pet-chip svg { width: 76px; height: 76px; }
.pet-chip b { font: 600 15px var(--head); }
.pet-chip small { font-size: 12px; color: var(--muted); font-weight: 700; }
.pets > .pet-chip.slot { flex: 0 0 auto; }
.pet-chip.slot { border: 2px dashed var(--line); background: transparent; color: var(--muted); place-content: center; cursor: default; }
.pet-chip.slot span { font-size: 26px; line-height: 1; }
.burn-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.burn-notes { display: grid; gap: 2px; min-width: 0; }
.burn-time { color: var(--ink); }
.gate { display: grid; gap: 4px; margin-top: 2px; }
.gate-bar { width: min(260px, 100%); height: 6px; border-radius: 999px; background: rgba(255, 201, 60, .15); overflow: hidden; }
.gate-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--sun), var(--fire)); transition: width .4s linear; }
.btn.burn { background: linear-gradient(100deg, #ff7a3d, #ff4f6d); color: #fff; box-shadow: 0 6px 20px rgba(255, 122, 61, .3); }
.btn.burn.armed { background: #fff; color: #c2341d; box-shadow: 0 0 0 3px #ff7a3d; }

.row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tile { background: var(--card2); border-radius: 16px; padding: 12px 14px; min-width: 0; }
.tile span { display: block; font-size: 13px; color: var(--muted); font-weight: 700; }
.tile b { display: block; font: 600 19px var(--head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.tile b.pink { color: var(--pink); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-content: flex-start; }
.actions .btn { flex: 1 1 120px; padding: 11px 12px; font-size: 15px; }
.speed { flex-basis: 100%; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 700; margin-top: 4px; flex-wrap: wrap; }
.speed span { margin-right: 4px; }
.speed button { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 6px 12px; font: 600 13px var(--head); color: var(--muted); cursor: pointer; }
.speed button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.evo { margin-top: 16px; }
.evo-rows { display: grid; gap: 10px; }
.evo-row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px; border-radius: 20px; border: 2px solid transparent; }
.evo-row.sel { border-color: var(--line); background: rgba(147, 120, 255, .06); }
.evo-label { display: grid; gap: 2px; text-align: left; border: 0; background: none; color: var(--ink); cursor: pointer; padding: 4px; font: inherit; border-radius: 12px; }
.evo-label b { font: 600 17px var(--head); }
.evo-label small { color: var(--muted); font-weight: 700; font-size: 12px; }
.evo-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.evo-item { text-align: center; background: var(--card2); border-radius: 18px; padding: 8px 6px 10px; border: 2px solid transparent; }
.evo-item.now { border-color: var(--violet); background: #2b2152; }
.evo-item svg { width: 100%; max-width: 96px; height: auto; display: block; margin: 0 auto; }
.evo-item.locked svg { filter: brightness(0) invert(1) opacity(.12); }
.evo-item small { display: block; font: 600 14px var(--head); }
.evo-item .slow { margin-top: 6px; }
.grow { display: grid; gap: 3px; margin-top: 6px; }
.grow-bar { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.grow-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--grad); transition: width .3s linear; }
.grow-text { font: 700 11px var(--head); color: var(--ink); font-variant-numeric: tabular-nums; }
.evo-item em { display: block; font-style: normal; font-size: 12px; color: var(--muted); font-weight: 700; }

.ledger { margin-top: 16px; }
.ledger-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.big { background: var(--card2); border-radius: 18px; padding: 14px 16px; min-width: 0; display: grid; gap: 2px; }
.big span { font-size: 14px; color: var(--muted); font-weight: 700; }
.big b { font: 700 clamp(22px, 3vw, 30px)/1.15 var(--head); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.big b.fire { color: var(--fire); }
.big b.mint { color: var(--mint); }
.big small { color: var(--muted); font-size: 13px; font-weight: 600; }
.pot { display: flex; align-items: center; gap: 12px; margin-top: 14px; font: 600 14px var(--head); font-variant-numeric: tabular-nums; flex-wrap: wrap; }
.pot-label b { color: var(--sun); }
.pot .bar { flex: 1 1 160px; }
.pot .bar i { background: linear-gradient(100deg, var(--sun), var(--mint)); transition: width .2s linear; }
.pot-next { color: var(--muted); }
.how { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.how p { margin: 0; color: var(--muted); font-size: 15px; }
.num { width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; font: 700 17px var(--head); margin-bottom: 10px; }
.foot { color: var(--muted); font-size: 13px; padding-block: 22px 30px; text-align: center; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 16px); opacity: 0; visibility: hidden; pointer-events: none; background: var(--ink); color: var(--bg); font: 600 16px var(--head); padding: 12px 20px; border-radius: 16px; box-shadow: var(--shadow); transition: transform .35s cubic-bezier(.2, .9, .3, 1.2), opacity .25s ease, visibility .35s; max-width: calc(100% - 32px); text-align: center; z-index: 10; }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.modal { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 16px; background: rgba(5, 3, 12, .7); }
.modal-box { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 16px; width: min(640px, 100%); box-shadow: var(--shadow); display: grid; gap: 10px; }
.modal-box img { width: 100%; height: auto; border-radius: 14px; display: block; }
.boost-note { margin: 0; text-align: center; font: 600 15px var(--head); color: var(--ink); }
.boost-note b { color: var(--sun); }
.btn.post { background: var(--ink); color: var(--bg); text-decoration: none; }
.btn.post:hover { background: #fff; }
.muted-s { margin: 0; font-size: 13px; color: var(--muted); text-align: center; }
.modal-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.modal-row .btn { text-decoration: none; }
.btn:focus-visible, .speed button:focus-visible, .linkbtn:focus-visible, .pet-chip:focus-visible, .evo-label:focus-visible, .claim input:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }

@media (max-width: 960px) { .how { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .pets-grid { grid-template-columns: minmax(0, 1fr); }
  .ledger-grid { grid-template-columns: minmax(0, 1fr); }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-top: 14px; }
  .row { grid-template-columns: minmax(0, 1fr); }
  .stage-area { height: 260px; }
}
@media (max-width: 520px) {
  .tiles, .how { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .how { grid-template-columns: minmax(0, 1fr); }
  .evo-strip { gap: 6px; }
  .evo-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .evo-label { display: flex; gap: 8px; align-items: baseline; }
  .ledger-grid { grid-template-columns: minmax(0, 1fr); }
  .evo-item { padding: 6px 2px 8px; border-radius: 14px; }
  .evo-item .slow { margin-top: 6px; }
.grow { display: grid; gap: 3px; margin-top: 6px; }
.grow-bar { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.grow-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--grad); transition: width .3s linear; }
.grow-text { font: 700 11px var(--head); color: var(--ink); font-variant-numeric: tabular-nums; }
.evo-item em { display: none; }
  .tile b { font-size: 17px; white-space: normal; overflow-wrap: anywhere; }
  .pet-chip { width: 96px; }
  .pet-chip svg { width: 64px; height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition: none !important; }
}
.pop.still { animation: none !important; transform: translate(-50%, -6px); }
