/* Jurnee's Check In — made for Jurnee */
:root {
  --ink: #3A2440;
  --ink-soft: #5E4458;
  --ink-faint: #8A6F84;
  --bg: #FFF8FB;
  --card: #FFFFFF;
  --line: #F3E2EB;
  --pink: #F06BA8;  --pink-soft: #FFE3EE;  --pink-deep: #B8336F;
  --blue: #5BA4E6;  --blue-soft: #E2F0FF;  --blue-deep: #2F67A8;
  --green: #4FBF95; --green-soft: #DDF5EC; --green-deep: #237A5A;
  --purple: #9B7BEA; --purple-soft: #EFE9FB; --purple-deep: #6A4BB8;
  --yellow: #F2C14E; --yellow-soft: #FFF4D9; --yellow-deep: #9A6B00;
  --gold: #E8B33C;
  --radius: 24px;
  --shadow: 0 6px 0 rgba(58, 36, 64, .08);
  --display: 'Fredoka', 'Nunito', system-ui, sans-serif;
  --body: 'Nunito', system-ui, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 600;
  font-size: 17px;
  overscroll-behavior: none;
  -webkit-user-select: none; user-select: none;
  -webkit-text-size-adjust: 100%;
}
input, textarea { -webkit-user-select: text; user-select: text; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Shell ---------- */
.shell { display: grid; grid-template-columns: 112px 1fr; height: 100dvh; }
.nav {
  background: #FFFFFF; border-right: 2px solid var(--line);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 14px 8px calc(14px + var(--safe-b)); overflow-y: auto;
}
.crest {
  width: 64px; height: 64px; border-radius: 22px; margin-bottom: 8px;
  background: linear-gradient(140deg, var(--pink) 0%, var(--purple) 55%, var(--blue) 100%);
  display: grid; place-items: center; color: #fff; font-family: var(--display); font-size: 36px; font-weight: 700;
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.12), 0 0 0 3px #fff, 0 0 0 5px var(--gold);
  position: relative;
}
.crest::after { content: ''; position: absolute; top: -6px; right: -6px; width: 18px; height: 18px;
  background: var(--gold); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.nav a {
  width: 92px; min-height: 64px; border-radius: 20px; text-decoration: none; color: var(--ink-soft);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font-size: 13px; font-weight: 800;
}
.nav a svg { width: 28px; height: 28px; }
.nav a.on { background: var(--ink); color: #fff; }
.nav .spacer { flex: 1; }
.nav .grownups {
  width: 92px; min-height: 48px; border-radius: 16px; border: 2px dashed var(--line); background: transparent;
  font-size: 12px; font-weight: 800; color: var(--ink-faint); position: relative; overflow: hidden;
}
.nav .grownups .fill { position: absolute; inset: 0; background: var(--purple-soft); transform-origin: left; transform: scaleX(0); }
.nav .grownups span { position: relative; }

main { overflow-y: auto; padding: 22px 28px calc(28px + var(--safe-b)); position: relative; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.topbar .date { font-weight: 800; color: var(--ink-faint); font-size: 15px; }
.topbar .right { display: flex; gap: 10px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 2px solid var(--line);
  border-radius: 999px; padding: 8px 16px; font-weight: 800; font-size: 16px; min-height: 44px; text-decoration: none; color: var(--ink);
}
.pill svg { width: 22px; height: 22px; }
.pill.money { border-color: #F5DFA3; background: var(--yellow-soft); }
.save-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); display: inline-block; }
.save-dot.saving { background: var(--yellow); }
.save-dot.offline { background: #C9B6C3; }

@media (orientation: portrait), (max-width: 760px) {
  .shell { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .nav { order: 2; flex-direction: row; border-right: 0; border-top: 2px solid var(--line); overflow-x: auto; overflow-y: hidden; padding: 6px 8px calc(6px + var(--safe-b)); gap: 2px; }
  .nav .crest, .nav .spacer { display: none; }
  .nav a { width: auto; min-width: 50px; min-height: 58px; flex: 1 1 0; font-size: 11px; }
  .nav a svg { width: 24px; height: 24px; }
  .nav .grownups { width: auto; min-width: 62px; flex: 0 0 auto; font-size: 10px; padding: 0 4px; }
  main { padding: 18px 18px 24px; }
}

/* ---------- Building blocks ---------- */
.card { background: var(--card); border: 2px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card.pink { background: var(--pink-soft); border-color: #F9CFE0; }
.card.blue { background: var(--blue-soft); border-color: #C8E0FA; }
.card.green { background: var(--green-soft); border-color: #BFE8D7; }
.card.purple { background: var(--purple-soft); border-color: #DCD0F6; }
.card.yellow { background: var(--yellow-soft); border-color: #F5DFA3; }
.eyebrow { font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
.title-xl { font-family: var(--display); font-weight: 700; font-size: 44px; line-height: 1.05; }
.title-l { font-family: var(--display); font-weight: 600; font-size: 30px; line-height: 1.1; }
.title-m { font-family: var(--display); font-weight: 600; font-size: 22px; }
.muted { color: var(--ink-soft); }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .grid3, .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid2, .grid3, .grid4 { grid-template-columns: 1fr; } }

.btn {
  border: 3px solid var(--ink); border-radius: 20px; background: #fff; min-height: 56px; padding: 10px 22px;
  font-family: var(--display); font-weight: 600; font-size: 20px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 4px 0 var(--ink); transition: transform .08s, box-shadow .08s; text-decoration: none; color: var(--ink);
}
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn.primary { background: var(--pink); color: #fff; }
.btn.blue { background: var(--blue); color: #fff; }
.btn.green { background: var(--green); color: #fff; }
.btn.purple { background: var(--purple); color: #fff; }
.btn.yellow { background: var(--yellow); }
.btn.small { min-height: 44px; font-size: 16px; padding: 6px 14px; border-radius: 14px; border-width: 2px; box-shadow: 0 3px 0 var(--ink); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn svg { width: 24px; height: 24px; }
.chip { border: 2px solid var(--line); background: #fff; border-radius: 999px; min-height: 44px; padding: 6px 16px; font-weight: 800; }
.chip.on { border: 3px solid var(--ink); background: var(--pink-soft); }

.link-card { text-decoration: none; color: inherit; display: block; transition: transform .1s; }
.link-card:active { transform: scale(.98); }
.go { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-weight: 900; color: var(--blue-deep); }

/* ---------- Home ---------- */
.hero {
  border-radius: 32px; padding: 26px 30px; position: relative; overflow: hidden; min-height: 170px;
  background: linear-gradient(120deg, #FFE3EE 0%, #EFE9FB 50%, #E2F0FF 100%); border: 2px solid #F0D8EA;
}
.hero .hello { font-family: var(--display); font-weight: 700; font-size: 46px; line-height: 1.05; }
.hero .sub { margin-top: 8px; font-size: 18px; color: var(--ink-soft); max-width: 60%; }
.hero .pets-peek { position: absolute; right: 18px; bottom: -6px; display: flex; align-items: flex-end; }
.hero .pets-peek svg { width: 130px; height: 130px; margin-left: -26px; }
@media (max-width: 760px) { .hero .pets-peek svg { width: 92px; height: 92px; } .hero .hello { font-size: 34px; } .hero .sub { max-width: 55%; } }
.sparkle { position: absolute; width: 16px; height: 16px; background: var(--gold); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: twinkle 2.4s infinite ease-in-out; }
@keyframes twinkle { 0%, 100% { transform: scale(.6); opacity: .5 } 50% { transform: scale(1.1); opacity: 1 } }

.sched { display: flex; flex-direction: column; gap: 8px; }
.sched .it { display: grid; grid-template-columns: 92px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 16px; background: #fff; border: 2px solid var(--line); }
.sched .it.now { border-color: var(--ink); background: var(--yellow-soft); }
.sched .it.done { opacity: .55; }
.sched .t { font-weight: 900; font-size: 15px; color: var(--ink-soft); }
.sched .what { font-weight: 800; }
.sched .tag { font-size: 12px; font-weight: 900; padding: 3px 10px; border-radius: 999px; background: var(--purple-soft); color: var(--purple-deep); }

.todo { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; background: #fff; border: 2px solid var(--line); width: 100%; text-align: left; min-height: 56px; }
.todo .box { width: 30px; height: 30px; border-radius: 10px; border: 3px solid var(--ink); flex: none; display: grid; place-items: center; }
.todo.on .box { background: var(--green); border-color: var(--green-deep); }
.todo.on .label { text-decoration: line-through; color: var(--ink-faint); }
.todo .reward { margin-left: auto; font-size: 13px; font-weight: 900; color: var(--yellow-deep); }

.joke { cursor: pointer; }
.joke .line { font-family: var(--display); font-size: 24px; font-weight: 600; min-height: 34px; }
.joke .who { color: var(--pink-deep); }

/* ---------- Pets ---------- */
.pet-tile { text-align: center; border-radius: 26px; padding: 14px 10px 16px; border: 2px solid var(--line); background: #fff; text-decoration: none; color: inherit; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.pet-tile svg { width: 140px; height: 140px; }
.pet-tile .nm { font-family: var(--display); font-size: 22px; font-weight: 600; }
.pet-tile .sp { font-size: 14px; color: var(--ink-soft); font-weight: 800; }
.room {
  position: relative; border-radius: 30px; overflow: hidden; border: 3px solid var(--ink); min-height: 470px;
}
.room .wall { position: absolute; inset: 0 0 34% 0; }
.room .floor { position: absolute; left: 0; right: 0; bottom: 0; height: 34%; border-top: 3px solid var(--ink); }
.room .furn { position: absolute; }
.room .pet-stage { position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%); width: 300px; height: 300px; cursor: pointer; }
.room .pet-stage svg { width: 100%; height: 100%; }
.room .bubble {
  position: absolute; left: calc(50% + 70px); bottom: calc(7% + 250px); max-width: 260px; background: #fff; border: 3px solid var(--ink);
  border-radius: 22px; padding: 12px 16px; font-family: var(--display); font-weight: 600; font-size: 20px; line-height: 1.25; z-index: 3;
}
@media (max-width: 760px) { .room .pet-stage { width: 220px; height: 220px; } .room .bubble { left: 50%; transform: translateX(-50%); bottom: calc(7% + 220px); } .room { min-height: 400px; } }
.meter { display: flex; flex-direction: column; gap: 6px; }
.meter .lbl { display: flex; justify-content: space-between; font-weight: 900; font-size: 15px; }
.meter .bar { height: 14px; background: #F3EAF0; border-radius: 999px; overflow: hidden; }
.meter .bar > div { height: 100%; border-radius: 999px; transition: width .5s ease; }
.actions { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .actions { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.act { min-height: 82px; border: 3px solid var(--ink); border-radius: 22px; font-family: var(--display); font-weight: 600; font-size: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; box-shadow: 0 4px 0 var(--ink); text-decoration: none; color: var(--ink); }
.act:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.act svg { width: 30px; height: 30px; }
.swatch { width: 52px; height: 52px; border-radius: 16px; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--line); }
.swatch.on { box-shadow: 0 0 0 4px var(--ink); }
.closet { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.closet button { background: #fff; border: 2px solid var(--line); border-radius: 18px; padding: 8px; display: flex; flex-direction: column; align-items: center; gap: 4px; font-weight: 800; font-size: 14px; min-height: 120px; }
.closet button.on { border: 3px solid var(--ink); background: var(--pink-soft); }
.closet button svg { width: 72px; height: 72px; }
.lock { font-size: 12px; color: var(--ink-faint); font-weight: 900; }

/* ---------- Learn / quiz ---------- */
.q-card { background: #fff; border: 3px solid var(--ink); border-radius: 30px; padding: 26px; box-shadow: var(--shadow); }
.q-prompt { font-family: var(--display); font-weight: 600; font-size: 28px; line-height: 1.25; }
.q-opts { display: grid; gap: 12px; margin-top: 18px; }
.q-opt { text-align: left; border: 3px solid var(--line); background: #fff; border-radius: 20px; padding: 14px 18px; font-size: 20px; font-weight: 800; min-height: 64px; display: flex; gap: 14px; align-items: center; }
.q-opt .letter { width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--purple-soft); display: grid; place-items: center; font-weight: 900; }
.q-opt.right { border-color: var(--green-deep); background: var(--green-soft); }
.q-opt.wrong { border-color: #E3A0B9; background: #FFF0F5; }
.q-opt.dim { opacity: .5; }
.q-feedback { margin-top: 16px; border-radius: 20px; padding: 16px 18px; font-size: 18px; }
.q-feedback.good { background: var(--green-soft); }
.q-feedback.try { background: var(--yellow-soft); }
.progress-dots { display: flex; gap: 6px; flex-wrap: wrap; }
.progress-dots i { width: 16px; height: 16px; border-radius: 50%; background: #EEE2EA; display: block; }
.progress-dots i.done { background: var(--green); }
.progress-dots i.bonus { background: #F7E4A8; }
.progress-dots i.bonus.done { background: var(--gold); }
textarea.answer { width: 100%; min-height: 130px; border: 3px solid var(--line); border-radius: 20px; padding: 14px; font: inherit; font-size: 20px; resize: vertical; }
textarea.answer:focus, input.field:focus, textarea.field:focus { outline: none; border-color: var(--purple); }
.check { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 16px; border: 2px solid var(--line); background: #fff; width: 100%; text-align: left; font-weight: 800; min-height: 56px; }
.check.on { background: var(--green-soft); border-color: var(--green); }
.story { font-size: 22px; line-height: 1.6; font-weight: 600; max-width: 760px; }
.story p + p { margin-top: 14px; }
.big-timer { font-family: var(--display); font-size: 96px; font-weight: 600; line-height: 1; letter-spacing: 2px; }
.ticket {
  border: 3px dashed var(--ink); border-radius: 26px; background: linear-gradient(120deg, var(--yellow-soft), var(--pink-soft));
  padding: 26px; text-align: center; position: relative;
}
.ticket .t1 { font-family: var(--display); font-size: 44px; font-weight: 700; }
.ticket .mins { font-family: var(--display); font-size: 72px; font-weight: 700; color: var(--pink-deep); line-height: 1; }

/* ---------- Store / bank ---------- */
.shop-item { background: #fff; border: 2px solid var(--line); border-radius: 22px; padding: 12px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.shop-item svg { width: 96px; height: 96px; }
.shop-item .nm { font-weight: 900; }
.shop-item .price { font-family: var(--display); font-size: 20px; font-weight: 600; color: var(--green-deep); }
.shop-item.owned { background: var(--green-soft); border-color: #BFE8D7; }
.atm { background: linear-gradient(160deg, #3A2440, #5A3A66); color: #fff; border-radius: 34px; padding: 26px; border: 4px solid var(--ink); max-width: 620px; }
.atm .screen { background: #DDF5EC; color: var(--ink); border-radius: 18px; padding: 22px; min-height: 220px; border: 4px solid #2A1830; font-family: var(--display); }
.atm .keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.atm .keys button { min-height: 58px; border-radius: 14px; border: 0; background: #F5EEF3; font-family: var(--display); font-size: 26px; font-weight: 600; color: var(--ink); box-shadow: 0 4px 0 #1E1022; }
.atm .keys button:active { transform: translateY(3px); box-shadow: 0 1px 0 #1E1022; }
.tx { display: grid; grid-template-columns: 1fr auto; gap: 6px; padding: 10px 0; border-bottom: 2px dashed var(--line); }
.tx .amt.plus { color: var(--green-deep); font-weight: 900; }
.tx .amt.minus { color: var(--pink-deep); font-weight: 900; }

/* ---------- Grown-ups ---------- */
.field { width: 100%; border: 3px solid var(--line); border-radius: 18px; padding: 12px 14px; font: inherit; font-size: 18px; background: #fff; }
textarea.field { min-height: 84px; resize: vertical; }
label.lbl { font-weight: 900; display: block; margin-bottom: 6px; }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.thumbs img { width: 92px; height: 92px; object-fit: cover; border-radius: 14px; border: 2px solid var(--line); }

/* ---------- Overlays ---------- */
.overlay { position: fixed; inset: 0; background: rgba(58, 36, 64, .45); display: grid; place-items: center; z-index: 50; padding: 18px; animation: fade .15s; }
.modal { background: #fff; border-radius: 30px; border: 3px solid var(--ink); padding: 24px; max-width: 560px; width: 100%; max-height: 90dvh; overflow-y: auto; animation: pop .18s; }
@keyframes fade { from { opacity: 0 } }
@keyframes pop { from { transform: scale(.92); opacity: 0 } }
.toast { position: fixed; left: 50%; top: 18px; transform: translateX(-50%); background: var(--ink); color: #fff; border-radius: 999px; padding: 12px 22px; font-weight: 800; z-index: 60; animation: pop .2s; max-width: 92vw; text-align: center; }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 70; overflow: hidden; }
.confetti i { position: absolute; top: -20px; width: 12px; height: 18px; border-radius: 3px; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); } }
.coin-pop { position: fixed; z-index: 65; font-family: var(--display); font-size: 34px; font-weight: 700; color: var(--green-deep); pointer-events: none; animation: rise 1.2s ease-out forwards; text-shadow: 0 2px 0 #fff; }
@keyframes rise { to { transform: translateY(-80px); opacity: 0; } }
.bounce { animation: bounce .5s; }
@keyframes bounce { 30% { transform: translateY(-14px) scale(1.04) } 60% { transform: translateY(0) scale(.98) } }
.wiggle { animation: wiggle .6s; }
@keyframes wiggle { 25% { transform: rotate(-6deg) } 75% { transform: rotate(6deg) } }
.idle-bob { animation: bob 3s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes bob { 50% { transform: translateY(-4px) scaleY(1.02) } }

/* ---------- Welcome ---------- */
.welcome { min-height: 100dvh; display: grid; place-items: center; padding: 24px; background: linear-gradient(140deg, #FFE3EE, #EFE9FB 50%, #E2F0FF); }
.welcome .inner { max-width: 900px; width: 100%; text-align: center; }
.starter-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 18px; }
.starter-grid button { background: #fff; border: 3px solid var(--line); border-radius: 24px; padding: 10px; display: flex; flex-direction: column; align-items: center; font-family: var(--display); font-size: 20px; font-weight: 600; }
.starter-grid button.on { border-color: var(--ink); background: var(--pink-soft); }
.starter-grid svg { width: 120px; height: 120px; }
.gen-toggle { display: inline-flex; gap: 8px; }
.name-input { font-family: var(--display); font-size: 32px; text-align: center; border: 3px solid var(--ink); border-radius: 22px; padding: 12px; width: min(420px, 100%); }

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

/* ---------- Hands-on activities ---------- */
.activity { position: fixed; inset: 0; z-index: 45; background: var(--bg); display: flex; flex-direction: column; animation: fade .15s; }
.act-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 2px solid var(--line); background: #fff; flex-wrap: wrap; }
.act-step { font-family: var(--display); font-size: 24px; font-weight: 600; margin-top: 2px; }
.act-stage { position: relative; flex: 1; overflow: hidden; touch-action: none; -webkit-user-select: none; user-select: none; }
.act-tray { display: flex; gap: 10px; justify-content: center; padding: 12px 16px calc(12px + var(--safe-b)); background: #fff; border-top: 2px solid var(--line); flex-wrap: wrap; }
.tool { min-width: 96px; min-height: 84px; border: 3px solid var(--line); border-radius: 20px; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-weight: 900; font-size: 14px; }
.tool svg { width: 46px; height: 46px; }
.tool.on { border-color: var(--ink); background: var(--yellow-soft); box-shadow: 0 4px 0 var(--ink); }
.tool.done { opacity: .45; }
.tool-cursor { position: absolute; left: 0; top: 0; width: 80px; height: 80px; pointer-events: none; z-index: 30; opacity: 0; transition: opacity .1s; filter: drop-shadow(0 4px 4px rgba(58,36,64,.25)); }
.tool-cursor svg { width: 100%; height: 100%; }
.pt { position: absolute; pointer-events: none; border-radius: 50%; z-index: 12; }
.pt.bubble { background: radial-gradient(circle at 30% 30%, #fff 0 25%, rgba(191,224,255,.55) 26% 100%); border: 2px solid rgba(91,164,230,.55); animation: bubIn .25s; }
.pt.drop { background: #8FC9F2; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); opacity: .9; }
.pt.sparkle { background: #F2C14E; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: sparkOut .7s forwards; }
.pt.heart { background: #F06BA8; clip-path: path('M10 18 L2 10 A5 5 0 0 1 10 3 A5 5 0 0 1 18 10 Z'); animation: sparkOut 1s forwards; }
@keyframes bubIn { from { transform: scale(.2); } }
@keyframes sparkOut { to { transform: translateY(-40px) scale(.4); opacity: 0; } }
.mud { position: absolute; border-radius: 50%; background: #9C7A5B; opacity: .85; pointer-events: none; z-index: 6; transition: opacity .2s; }
.draggable { cursor: grab; touch-action: none; position: relative; z-index: 5; }
.drop-hint { outline: 4px dashed var(--pink); outline-offset: 6px; border-radius: 24px; }
.scene-pet { position: absolute; z-index: 4; }
.scene-pet svg { width: 100%; height: 100%; }
.pill-label { position: absolute; transform: translateX(-50%); background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 4px 12px; font-weight: 900; font-size: 14px; white-space: nowrap; z-index: 8; }
.care-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.care-btn { min-height: 92px; border: 3px solid var(--ink); border-radius: 22px; font-family: var(--display); font-weight: 600; font-size: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; box-shadow: 0 4px 0 var(--ink); text-decoration: none; color: var(--ink); position: relative; }
.care-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.care-btn svg { width: 34px; height: 34px; }
.care-btn .chk { position: absolute; top: 6px; right: 8px; width: 24px; height: 24px; border-radius: 50%; background: var(--green); display: grid; place-items: center; }
.care-btn .chk svg { width: 16px; height: 16px; }
.companions { display: flex; align-items: flex-end; }
.companions svg { width: 92px; height: 92px; margin-left: -18px; }
