/* ============================================================
   Nuz — "How old, really?" (Pet Portrait · life stage). Tokens from css/tokens via site.css.
   Lavender Nuz page; the pet lives on a dark "stage" so the Mia & Pawl gradients glow.
   Motion: growth, pose pops, confetti, the future crossfade. All off under reduced motion.
   ============================================================ */
@property --glow { syntax: "<color>"; inherits: true; initial-value: #8FB7FF; }

body { background: var(--paper); font-size: 15px; }
.shell { width: min(680px, 100%); margin: 0 auto; padding: 0 16px; }
.site-header { padding: 18px 0 6px; }
main.shell { padding-bottom: 56px; min-height: 60vh; outline: none; }

/* ---------- type ---------- */
.ls-h1 { margin: 8px 0 0; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: var(--tracking-display); line-height: 1.04; font-size: clamp(30px, 7.4vw, 46px); color: var(--ink); text-wrap: balance; outline: none; }
.ls-h1.sm { font-size: clamp(24px, 5.8vw, 32px); line-height: 1.1; }
.ls-h2 { margin: 0; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 17px; letter-spacing: .01em; color: var(--ink); outline: none; }
.ls-h2 small, .ls-h3 small { font: 600 12px/1 var(--font-sans); text-transform: none; letter-spacing: 0; color: var(--ink-3); margin-left: 6px; }
.ls-h2.lg { font-size: clamp(20px, 5vw, 24px); line-height: 1.12; text-wrap: balance; }
.ls-h3 { margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.ls-eyebrow { color: var(--violet-accent); margin: 0; }
.ls-lede { margin: 10px 0 0; font-size: 17px; line-height: 1.5; color: var(--ink-2); max-width: 34em; }
.ls-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; }
.ls-meta span { font-size: 12.5px; font-weight: 700; color: var(--ink-2); background: var(--white); border-radius: 999px; padding: 6px 12px; box-shadow: var(--shadow-inset-border); }
.ls-hint { margin: 6px 0 0; font-size: 13px; line-height: 1.45; color: var(--ink-3); }
.ls-kicker { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--violet-accent); }
.center { text-align: center; }
.ls-src { margin: 10px 0 0; font-size: 12px; color: var(--ink-3); }
.ls-fine { margin: 22px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }
.ls-link { background: none; border: 0; padding: 8px 0; font: 700 14px/1.2 var(--font-sans); color: var(--violet-accent); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ls-back { justify-self: start; background: none; border: 0; padding: 10px 0; font: 700 13.5px/1 var(--font-sans); color: var(--ink-3); cursor: pointer; min-height: 40px; }
.ls-hero { padding: 16px 0 4px; }
.ls-hero.sm { padding-top: 0; }
.ls-block { margin-top: 24px; }
.ls-actions { display: grid; gap: 8px; justify-items: center; margin-top: 20px; }
.ls-actions .btn { font-size: 15px; min-height: 52px; }
.btn[disabled] { opacity: .45; box-shadow: none; cursor: default; }

/* ---------- 1 · look ---------- */
.ls-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ls-chip { border: 0; border-radius: 999px; padding: 10px 16px; min-height: 44px; background: var(--white); box-shadow: var(--shadow-inset-border); font: 700 14px/1 var(--font-sans); color: var(--ink); cursor: pointer; }
.ls-chip small { font-weight: 600; color: var(--ink-3); margin-left: 4px; }
.ls-chip.is-on { background: var(--violet-core); color: var(--paper-on-dark); box-shadow: none; }
.ls-chip.is-on small { color: var(--violet-light); }
.ls-name { display: grid; gap: 8px; }
.ls-name input { font: 600 17px/1.2 var(--font-sans); color: var(--ink); background: var(--white); border: 0; border-radius: var(--radius-md); padding: 14px 16px; box-shadow: var(--shadow-inset-border); max-width: 320px; }
.ls-name input:focus { outline: 3px solid var(--violet-light); outline-offset: 1px; }
.ls-looks-row { margin-top: 16px; }
.ls-looks { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; }
.ls-look { display: grid; gap: 4px; justify-items: center; border: 0; background: var(--white); border-radius: var(--radius-xl); padding: 8px 6px 10px; box-shadow: var(--shadow-1); cursor: pointer; font: 700 13px/1.2 var(--font-sans); color: var(--ink); transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease); }
.ls-look img { width: 100%; max-width: 120px; aspect-ratio: 1; object-fit: contain; border-radius: 16px; background: radial-gradient(circle at 50% 60%, var(--lilac-soft), transparent 70%); }
.ls-look:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.ls-look:active { transform: scale(.96); }
.ls-look.is-on { box-shadow: 0 0 0 3px var(--violet-accent), var(--shadow-2); }

/* ---------- the dark stage (vibe, time machine, reveal, card art) ---------- */
.ls-vibe-stage, .ls-stage, .ls-reveal, .ls-card-art, .ls-lcard {
  background:
    radial-gradient(ellipse 70% 60% at 50% 58%, color-mix(in srgb, var(--glow) 42%, transparent), transparent 72%),
    linear-gradient(180deg, #1C2046, #11142B);
  transition: --glow .5s var(--ease);
}
.ls-pet { display: block; width: 100%; height: auto; overflow: visible; }
.ls-pet.swap { animation: ls-pop .42s var(--ease); }
@keyframes ls-pop { 0% { transform: scale(.86); filter: brightness(1.5); } 60% { transform: scale(1.05); } 100% { transform: none; filter: none; } }

.ls-vibe-stage { margin-top: 16px; border-radius: var(--radius-2xl); padding: 8px 16px 16px; display: grid; justify-items: center; }
.ls-vibe-stage .ls-pet { width: min(260px, 70%); }
.ls-vibe-now { margin: 0; color: #DCE0F5; font-size: 14px; text-align: center; }
.ls-vibe-now b { color: #fff; }
.ls-vibes { display: grid; gap: 16px; margin-top: 20px; }
.ls-vibe-row { display: flex; flex-wrap: wrap; gap: 8px; }
.ls-vibe { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 8px 14px 8px 8px; min-height: 42px; background: var(--white); box-shadow: var(--shadow-inset-border); font: 700 13.5px/1 var(--font-sans); color: var(--ink); cursor: pointer; transition: transform var(--dur-fast) var(--ease); }
.ls-vibe i { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--a), var(--b)); flex: none; }
.ls-vibe.is-on { background: var(--ink); color: #fff; box-shadow: 0 0 0 2px var(--b); }
.ls-vibe:active { transform: scale(.96); }

/* time machine */
.ls-stage { position: relative; margin-top: 14px; border-radius: var(--radius-2xl); padding: 14px 14px 12px; min-height: 320px; display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; }
.ls-stage-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.ls-bubble { margin: 0; display: grid; gap: 2px; background: rgba(255, 255, 255, .1); border-radius: 16px; padding: 8px 12px; backdrop-filter: blur(4px); }
.ls-bubble b { font: 400 20px/1.05 var(--font-display); text-transform: uppercase; color: #fff; letter-spacing: .01em; }
.ls-bubble span { font-size: 13px; color: color-mix(in srgb, var(--glow) 70%, #fff); font-weight: 700; }
.ls-bubble.flip { animation: ls-flip .38s var(--ease); }
@keyframes ls-flip { 0% { transform: rotateX(80deg); opacity: .2; } 100% { transform: none; opacity: 1; } }
.ls-hy { margin: 0; text-align: right; color: #C9CFEA; display: grid; }
.ls-hy b { font: 400 34px/1 var(--font-display); color: #fff; font-variant-numeric: tabular-nums; }
.ls-hy span { font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ls-pet-wrap { position: relative; align-self: end; justify-self: center; width: min(280px, 74%); transform: scale(var(--g, 1)); transform-origin: 50% 88%; transition: transform .18s var(--ease); }
.ls-pet-wrap .ls-pet { position: relative; z-index: 1; }
.ls-shadow { position: absolute; left: 22%; right: 22%; bottom: 13%; height: 7%; border-radius: 50%; background: rgba(0, 0, 0, .38); filter: blur(3px); }
.ls-pet-wrap[data-pose=tired] .ls-shadow { bottom: 19%; left: 16%; right: 16%; }
.ls-age { margin: 0; text-align: center; color: #fff; font: 800 18px/1.2 var(--font-sans); letter-spacing: .01em; }
/* idle life: young ones hop, adults breathe, seniors breathe slowly */
.ls-stage[data-i="0"] .ls-pet, .ls-stage[data-i="1"] .ls-pet { animation: ls-hop 1.1s var(--ease) infinite; }
.ls-stage[data-i="2"] .ls-pet, .ls-stage[data-i="3"] .ls-pet { animation: ls-breathe 2.6s ease-in-out infinite; transform-origin: 50% 85%; }
.ls-stage[data-i="4"] .ls-pet, .ls-stage[data-i="5"] .ls-pet { animation: ls-breathe 4.2s ease-in-out infinite; transform-origin: 50% 85%; }
.ls-stage .ls-pet.swap { animation: ls-pop .42s var(--ease); }
@keyframes ls-hop { 0%, 100% { transform: none; } 40% { transform: translateY(-5%); } 60% { transform: translateY(-5%) scaleY(1.02); } }
@keyframes ls-breathe { 0%, 100% { transform: none; } 50% { transform: scaleY(1.018) scaleX(.994); } }

/* slider: the track is the life map */
.ls-slider { position: relative; margin: 26px 4px 0; }
.ls-slider input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: none; margin: 0; cursor: pointer; }
.ls-slider input[type=range]::-webkit-slider-runnable-track { height: 16px; border-radius: 999px; background: var(--track); box-shadow: inset 0 0 0 1.5px rgba(30, 27, 46, .12); }
.ls-slider input[type=range]::-moz-range-track { height: 16px; border-radius: 999px; background: var(--track); }
.ls-slider input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 38px; height: 38px; margin-top: -11px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231E1B2E'%3E%3Cellipse cx='12' cy='15.5' rx='5' ry='4.2'/%3E%3Ccircle cx='6' cy='10.5' r='2'/%3E%3Ccircle cx='9.6' cy='6.6' r='2.1'/%3E%3Ccircle cx='14.4' cy='6.6' r='2.1'/%3E%3Ccircle cx='18' cy='10.5' r='2'/%3E%3C/svg%3E") center/22px no-repeat; box-shadow: 0 0 0 3px var(--ink), 0 6px 14px rgba(30, 27, 46, .3); }
.ls-slider input[type=range]::-moz-range-thumb { width: 34px; height: 34px; border: 3px solid var(--ink); border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231E1B2E'%3E%3Cellipse cx='12' cy='15.5' rx='5' ry='4.2'/%3E%3Ccircle cx='6' cy='10.5' r='2'/%3E%3Ccircle cx='9.6' cy='6.6' r='2.1'/%3E%3Ccircle cx='14.4' cy='6.6' r='2.1'/%3E%3Ccircle cx='18' cy='10.5' r='2'/%3E%3C/svg%3E") center/20px no-repeat; }
.ls-slider input[type=range]:focus-visible { outline: 3px solid var(--violet-light); outline-offset: 4px; border-radius: 999px; }
.ls-ticks { position: relative; height: 18px; margin: 2px 19px 0; }
.ls-ticks span { position: absolute; transform: translateX(-50%); font-size: 11.5px; font-weight: 700; color: var(--ink-3); }
.ls-drag-hint { position: absolute; left: 46px; top: -18px; margin: 0; font: 800 13px/1 var(--font-sans); color: var(--violet-accent); animation: ls-nudge 1.4s ease-in-out infinite; pointer-events: none; }
@keyframes ls-nudge { 0%, 100% { transform: none; } 50% { transform: translateX(8px); } }
.ls-sizes { margin-top: 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.ls-sizes .ls-h3, .ls-sizes .ls-hint { grid-column: 1 / -1; margin: 0; }
.ls-size { display: grid; gap: 2px; border: 0; border-radius: 14px; padding: 9px 4px; min-height: 52px; background: var(--white); box-shadow: var(--shadow-inset-border); cursor: pointer; font-family: var(--font-sans); color: var(--ink); }
.ls-size b { font-size: 14px; }
.ls-size small { font-size: 11px; color: var(--ink-3); font-weight: 600; }
.ls-size.is-on { background: var(--violet-core); color: #fff; box-shadow: none; }
.ls-size.is-on small { color: var(--violet-light); }

/* ---------- 4 · story ---------- */
.ls-story-top { display: grid; gap: 4px; }
.ls-bar { list-style: none; display: flex; gap: 4px; margin: 4px 0 0; padding: 0; }
.ls-bar li { flex: 1; height: 5px; border-radius: 999px; background: var(--cream); overflow: hidden; position: relative; }
.ls-bar li.done { background: var(--violet-accent); }
.ls-bar li.now::after { content: ""; position: absolute; inset: 0; background: var(--violet-accent); transform-origin: left; animation: ls-fill .7s var(--ease) forwards; }
@keyframes ls-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.ls-frame { animation: ls-in .38s var(--ease); }
@keyframes ls-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.ls-tease { margin: 0; font-size: 13.5px; font-weight: 700; color: var(--ink-3); text-align: center; }
.ls-tease::before { content: "✦ "; color: var(--orange-accent); }

/* reveal */
.ls-reveal { position: relative; border-radius: var(--radius-2xl); padding: 22px 16px 18px; text-align: center; color: #fff; overflow: hidden; }
.ls-reveal-k { margin: 0; font-size: 15px; font-weight: 700; color: #C9CFEA; }
.ls-reveal-h { margin: 2px 0 0; font: 400 clamp(40px, 12vw, 64px)/1 var(--font-display); text-transform: uppercase; color: #fff; outline: none; animation: ls-zoom .6s var(--ease) both; text-shadow: 0 4px 24px color-mix(in srgb, var(--glow) 60%, transparent); }
@keyframes ls-zoom { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.ls-reveal-nick { margin: 6px 0 0; font-size: 16px; font-weight: 800; color: color-mix(in srgb, var(--glow) 75%, #fff); }
.ls-pet-wrap.big { width: min(280px, 74%); margin: 4px auto 0; }
.ls-reveal .ls-pet-wrap .ls-pet { animation: ls-breathe 3s ease-in-out infinite; transform-origin: 50% 85%; }
.ls-reveal-line { margin: 0 auto; max-width: 30em; font-size: 16px; line-height: 1.45; color: #E4E7F7; }
.ls-confetti { position: absolute; left: 50%; top: 42%; width: 0; height: 0; pointer-events: none; z-index: 3; }
.ls-confetti i { position: absolute; width: 9px; height: 14px; border-radius: 3px; animation: ls-conf 1.5s cubic-bezier(.2, .6, .4, 1) var(--d) both; }
@keyframes ls-conf { 0% { transform: translate(0, 0) rotate(0); opacity: 1; } 70% { opacity: 1; } 100% { transform: translate(var(--x), calc(var(--y) + 260px)) rotate(var(--r)); opacity: 0; } }
.ls-hy-card { margin-top: 12px; background: var(--white); border-radius: var(--radius-xl); box-shadow: var(--shadow-1); padding: 14px 16px; display: grid; gap: 8px; }
.ls-hy-card div { display: flex; align-items: baseline; gap: 10px; }
.ls-hy-card b { font: 400 40px/1 var(--font-display); color: var(--ink); }
.ls-hy-card div span { font-size: 13px; font-weight: 700; color: var(--ink-3); }
.ls-hy-card p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.ls-hy-card s { color: var(--ink-3); font-weight: 700; margin-right: 4px; text-decoration-thickness: 2px; text-decoration-color: var(--orange-accent); }
.ls-map { margin-top: 12px; }
.ls-map ol { list-style: none; display: flex; gap: 3px; padding: 0; margin: 0; }
.ls-map li { background: var(--c); height: 12px; border-radius: 999px; position: relative; min-width: 10px; opacity: .55; }
.ls-map li.here { opacity: 1; box-shadow: 0 0 0 2px var(--ink); }
.ls-map li span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ls-map li.here span { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: auto; height: auto; clip: auto; white-space: nowrap; font-size: 11.5px; font-weight: 800; color: var(--ink); }
.ls-map p { margin: 26px 0 0; font-size: 14px; color: var(--ink-2); }

/* cards */
.ls-card { background: var(--white); border-radius: var(--radius-2xl); box-shadow: var(--shadow-1); overflow: hidden; }
.ls-card-art { display: grid; place-items: center; padding: 6px 0 0; position: relative; }
.ls-card-art .ls-pet { width: min(220px, 60%); }
.ls-card-body { padding: 16px 18px 20px; }
.ls-card-body p { margin: 10px 0 0; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.ls-card-body p.ls-kicker { margin: 0 0 6px; font-size: 12px; line-height: 1.2; color: var(--violet-accent); }
.ls-card-body p.ls-src { font-size: 12px; color: var(--ink-3); }
.ls-note { background: var(--peach-soft); border-radius: 14px; padding: 10px 12px; font-size: 14.5px !important; color: var(--ink) !important; }
.ls-list { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ls-list li { position: relative; padding-left: 22px; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.ls-list li::before { content: ""; position: absolute; left: 4px; top: .5em; width: 9px; height: 9px; border-radius: 50%; background: var(--orange-accent); }
.ls-card-body .ls-h3 { margin-top: 18px; }
.ls-time { display: inline-block; margin-top: 8px !important; font-size: 12.5px !important; font-weight: 800; background: var(--lilac-soft); color: var(--violet-core) !important; border-radius: 999px; padding: 4px 10px; }

/* noticed */
.ls-seen { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.ls-seen li { background: var(--white); border-radius: var(--radius-xl); box-shadow: var(--shadow-1); padding: 12px 14px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 10px; }
.ls-seen-t { margin: 0; font-weight: 800; font-size: 15.5px; color: var(--ink); }
.ls-yn { display: inline-flex; background: var(--cream); border-radius: 999px; padding: 3px; gap: 3px; }
.ls-yn button { border: 0; background: none; border-radius: 999px; padding: 9px 12px; min-height: 40px; font: 700 13px/1 var(--font-sans); color: var(--ink-3); cursor: pointer; white-space: nowrap; }
.ls-yn button[aria-pressed=true] { background: var(--ink); color: #fff; }
.ls-seen-m { grid-column: 1 / -1; margin: 0; font-size: 14px; line-height: 1.45; color: var(--ink-2); display: none; }
.ls-seen li.open .ls-seen-m { display: block; animation: ls-in .3s var(--ease); }
.ls-seen-m em { font-style: normal; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; background: var(--peach); color: var(--orange-core); border-radius: 999px; padding: 2px 8px; margin-right: 4px; }
.ls-seen-m em.soon { background: #FDE2D2; color: #9A2E0A; }
.ls-sum { margin-top: 14px; background: var(--violet-core); color: var(--paper-on-dark); border-radius: var(--radius-xl); padding: 14px 16px; animation: ls-in .35s var(--ease); }
.ls-sum p { margin: 0; font-size: 15px; line-height: 1.5; }
.ls-sum .ls-vet { margin-top: 8px; color: #E6DEF7; font-size: 14px; }
@media (max-width: 420px) { .ls-seen li { grid-template-columns: 1fr; } .ls-yn { justify-self: start; } }

/* myth or fact */
.ls-myth { position: relative; margin: 8px 0 0; background: var(--white); border-radius: var(--radius-2xl); box-shadow: var(--shadow-1); padding: 34px 22px; text-align: center; }
.ls-myth p { margin: 0; font: 400 clamp(20px, 5.2vw, 26px)/1.25 var(--font-display); text-transform: uppercase; color: var(--ink); text-wrap: balance; }
.ls-stamp { position: absolute; right: 14px; top: -14px; transform: rotate(8deg); font: 400 22px/1 var(--font-display); text-transform: uppercase; padding: 8px 14px; border-radius: 12px; border: 3px solid currentColor; background: var(--white); animation: ls-stamp .45s cubic-bezier(.3, 1.6, .5, 1) both; }
.ls-stamp.myth { color: #C2410C; }
.ls-stamp.fact { color: #15803D; }
@keyframes ls-stamp { from { transform: rotate(8deg) scale(2.2); opacity: 0; } to { transform: rotate(8deg) scale(1); opacity: 1; } }
.ls-mf { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.ls-mf-b { border: 0; border-radius: var(--radius-xl); min-height: 64px; font: 400 22px/1 var(--font-display); text-transform: uppercase; cursor: pointer; background: var(--white); box-shadow: var(--shadow-1); color: var(--ink); transition: transform var(--dur-fast) var(--ease); }
.ls-mf-b:first-child { color: #C2410C; }
.ls-mf-b:last-child { color: #15803D; }
.ls-mf-b:active { transform: scale(.96); }
.ls-myth-why { margin-top: 14px; background: var(--white); border-radius: var(--radius-xl); padding: 14px 16px; box-shadow: var(--shadow-1); animation: ls-in .35s var(--ease); }
.ls-myth-why p { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.ls-myth-why p.ls-src { margin-top: 8px; font-size: 12px; }

/* a peek ahead: now → then crossfade */
.ls-future { min-height: 250px; background:
  radial-gradient(ellipse 45% 55% at 28% 58%, color-mix(in srgb, var(--glow) 40%, transparent), transparent 72%),
  radial-gradient(ellipse 45% 55% at 72% 58%, color-mix(in srgb, var(--glow2) 40%, transparent), transparent 72%),
  linear-gradient(180deg, #1C2046, #11142B); }
.ls-f-now, .ls-f-then { position: absolute; top: 10px; width: 50%; display: grid; place-items: center; }
.ls-f-now { left: 0; animation: ls-left .9s var(--ease) both; }
.ls-f-then { right: 0; animation: ls-right .9s .5s var(--ease) both; }
.ls-f-now .ls-pet, .ls-f-then .ls-pet { width: min(190px, 92%); }
@keyframes ls-left { from { transform: translateX(50%); } to { transform: none; } }
@keyframes ls-right { from { transform: translateX(-60%) scale(.8); opacity: 0; } to { transform: none; opacity: 1; } }
.ls-f-label { position: absolute; left: 0; right: 0; bottom: 8px; margin: 0; display: flex; justify-content: space-around; font-size: 12px; font-weight: 800; color: #DCE0F5; }

/* the life stage card */
.ls-lcard { position: relative; margin: 14px auto 0; max-width: 420px; border-radius: 26px; padding: 16px; color: #fff; overflow: hidden; box-shadow: var(--shadow-3), inset 0 0 0 2px color-mix(in srgb, var(--a) 50%, transparent); }
.ls-lcard::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, color-mix(in srgb, var(--a) 22%, transparent), transparent 45%, color-mix(in srgb, var(--b) 26%, transparent)); pointer-events: none; }
.ls-lcard-art { display: grid; place-items: center; }
.ls-lcard-art .ls-pet { width: min(230px, 66%); }
.ls-lcard-txt { position: relative; text-align: center; }
.ls-lcard-name { margin: 0; font-size: 15px; font-weight: 800; color: #DCE0F5; }
.ls-lcard-stage { margin: 2px 0 0; font: 400 34px/1 var(--font-display); text-transform: uppercase; background: linear-gradient(180deg, #fff, var(--a)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ls-lcard-nick { margin: 4px 0 0; font-size: 14px; font-weight: 700; color: color-mix(in srgb, var(--glow) 70%, #fff); }
.ls-lcard dl { margin: 14px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; text-align: left; }
.ls-lcard dl div { background: rgba(255, 255, 255, .08); border-radius: 12px; padding: 8px 10px; }
.ls-lcard dt { font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #AEB5D6; }
.ls-lcard dd { margin: 2px 0 0; font-size: 14px; font-weight: 800; color: #fff; }
.ls-lcard-foot { position: relative; margin: 12px 0 0; text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .06em; color: #8D95BD; }
.ls-all { margin-top: 18px; background: var(--white); border-radius: var(--radius-xl); box-shadow: var(--shadow-1); padding: 4px 16px; }
.ls-all summary { cursor: pointer; padding: 12px 0; font-weight: 800; color: var(--ink); }
.ls-all ol { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.ls-all li { border-left: 6px solid var(--c); padding: 4px 0 4px 10px; display: grid; gap: 2px; }
.ls-all li b { font-size: 15px; }
.ls-all li small { font-size: 12px; font-weight: 700; color: var(--ink-3); }
.ls-all li span { font-size: 13.5px; color: var(--ink-2); line-height: 1.4; }
.ls-all li.here { background: var(--lilac-soft); border-radius: 0 12px 12px 0; }
.ls-more { margin-top: 22px; display: grid; gap: 8px; }
.ls-more-a { display: grid; gap: 2px; background: var(--white); border-radius: var(--radius-xl); box-shadow: var(--shadow-1); padding: 12px 16px; text-decoration: none; }
.ls-more-a b { color: var(--ink); font-size: 15px; }
.ls-more-a span { color: var(--ink-3); font-size: 13.5px; }

.ls-toast { position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 20px); margin: 0; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; padding: 10px 16px; border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 30; max-width: calc(100% - 32px); text-align: center; }
.ls-toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
