/* Fonts are served from this site (not Google), so visits aren't shared with anyone. SIL Open Font License, see fonts/. */
@font-face{font-family:'Fredoka';font-style:normal;font-weight:300 700;font-display:swap;src:url(fonts/fredoka.woff2) format('woff2')}
@font-face{font-family:'Nunito';font-style:normal;font-weight:200 1000;font-display:swap;src:url(fonts/nunito.woff2) format('woff2')}
/* Kitty Coin Jar. Look carried over from the prototype: one phone-width column, big countdown, one obvious button. */
:root{
  --bg:#fff6e5; --card:#ffffff; --ink:#22314a; --muted:#66748b;
  --accent:#12a594; --accent-ink:#ffffff; --chart:#12a594; --pop:#ff6b57; --sun:#ffc83d; --line:#eadfc8; --track:#f1e6cc; --bad:#c2410c;
  --f-display:'Fredoka','Trebuchet MS',system-ui,sans-serif; --f-body:'Nunito',system-ui,sans-serif;
  color-scheme:light;
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --bg:#15202e; --card:#1e2c3e; --ink:#f3ecdc; --muted:#a3b0c3; --accent:#2ccbb6; --accent-ink:#0d2a26; --chart:#17a593;
    --pop:#ff8470; --sun:#ffd666; --line:#2f4058; --track:#2a3a50; --bad:#ff9a76; color-scheme:dark;
  }
}
:root[data-theme="dark"]{
  --bg:#15202e; --card:#1e2c3e; --ink:#f3ecdc; --muted:#a3b0c3; --accent:#2ccbb6; --accent-ink:#0d2a26; --chart:#17a593;
  --pop:#ff8470; --sun:#ffd666; --line:#2f4058; --track:#2a3a50; --bad:#ff9a76; color-scheme:dark;
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%}
body{background:var(--bg);color:var(--ink);font-family:var(--f-body);font-weight:700;font-size:16px;line-height:1.4;-webkit-tap-highlight-color:transparent}
button,input,select{font:inherit;color:inherit}
button{cursor:pointer}
button:disabled{opacity:.55;cursor:default}
:focus-visible{outline:3px solid var(--pop);outline-offset:2px}
[hidden]{display:none!important}

.app{max-width:440px;margin:0 auto;padding:16px 16px 160px;display:flex;flex-direction:column;gap:16px}
header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px}
h1{font-family:var(--f-display);font-size:26px;margin:0;font-weight:700}
h2{font-family:var(--f-display);font-size:18px;margin:0 0 10px;font-weight:600}
.link{border:2px solid var(--line);background:transparent;border-radius:12px;padding:8px 12px;font-weight:800;font-size:14px}
.sub{color:var(--muted);font-size:14px}
.note{font-size:13px;color:var(--muted);margin:0}
.textlink{background:none;border:0;color:var(--accent);font-weight:800;font-size:14px;padding:6px;align-self:center;cursor:pointer;text-decoration:none}
.note a{color:var(--accent)}
.footlinks{display:flex;justify-content:center;gap:18px;flex-wrap:wrap}
.textlink.muted{color:var(--muted)}
.card{background:var(--card);border-radius:24px;border:2px solid var(--line);padding:20px}

/* welcome + sign-in */
.hero{text-align:center;padding:28px 0 8px}
.hero .jar{display:block;width:80px;height:80px;margin:0 auto}
.hero h1{font-size:40px;margin-top:8px}
.hero p{color:var(--muted);margin:6px 0 0}
.stack{display:flex;flex-direction:column;gap:12px}
.err{font-size:14px;color:var(--bad);min-height:20px}
.ok{font-size:14px;color:var(--accent);min-height:20px}

.btn{border:0;border-radius:18px;padding:16px 18px;font-weight:800;font-size:18px;width:100%}
.btn.main{background:var(--accent);color:var(--accent-ink);box-shadow:0 4px 0 rgba(0,0,0,.18)}
.btn.main:active{transform:translateY(3px);box-shadow:0 1px 0 rgba(0,0,0,.18)}
.btn.ghost{background:transparent;border:2px solid var(--line)}
.btn.danger{background:transparent;border:2px solid var(--bad);color:var(--bad);font-size:16px;padding:12px}
.btn.small{font-size:16px;padding:12px}
.row{display:flex;gap:10px}
.row>*{flex:1}

label{display:flex;flex-direction:column;gap:6px;font-size:14px;color:var(--muted)}
input,select{background:var(--bg);border:2px solid var(--line);border-radius:14px;padding:12px 14px;font-size:18px;color:var(--ink);width:100%;min-width:0}
input.code{font-family:var(--f-display);font-size:28px;letter-spacing:4px;text-align:center;text-transform:uppercase}

.tabs{display:flex;gap:6px;background:var(--bg);padding:4px;border-radius:14px;border:2px solid var(--line)}
.tabs button{flex:1;border:0;background:transparent;border-radius:10px;padding:10px 4px;font-weight:800;font-size:15px;color:var(--muted)}
.tabs button[aria-selected="true"]{background:var(--card);color:var(--ink);box-shadow:0 1px 3px rgba(0,0,0,.15)}

/* kid sign-in */
.names{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.name-btn{border:2px solid var(--line);background:var(--card);border-radius:22px;padding:18px 10px;display:flex;flex-direction:column;align-items:center;gap:10px;font-family:var(--f-display);font-size:20px;font-weight:600;overflow-wrap:anywhere}
.dots{display:flex;justify-content:center;gap:16px;margin:8px 0}
.dots i{width:28px;height:28px;border-radius:50%;border:3px solid var(--muted);display:grid;place-items:center;font-style:normal;font-size:18px}
.dots i.on{border-color:var(--accent);background:none}
.dots i.on::after{content:'🐾'}
.pad{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.pad button{border:2px solid var(--line);background:var(--card);border-radius:20px;padding:16px 0;font-family:var(--f-display);font-size:28px;font-weight:600}
.pad button.blank{visibility:hidden}

/* goals */
.chips{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px}
.chip{flex:none;border:2px solid var(--line);background:var(--card);border-radius:999px;padding:8px 14px;font-weight:800}
.chip[aria-pressed="true"]{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.chip.add{border-style:dashed;color:var(--accent)}
.goalhead{display:flex;gap:14px;align-items:center}
.goalhead .grow{flex:1;min-width:0}
.goalpic{display:block;width:100%;padding:0;border:0;background:#fff;border-radius:18px;overflow:hidden;margin-bottom:14px;cursor:pointer}
.goalpic img{display:block;width:100%;height:220px;object-fit:contain}
.picpreview{background:#fff;border-radius:18px;overflow:hidden;border:2px solid var(--line)}
.picpreview img{display:block;width:100%;height:200px;object-fit:contain}
.filebtn{text-align:center;cursor:pointer}
.filebtn input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.or{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:13px;font-weight:800}
.or::before,.or::after{content:"";flex:1;border-top:2px dashed var(--line)}
#picForm .row input{flex:1;min-width:0}
#picFind{flex:none}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.badge{width:64px;height:64px;border-radius:20px;display:grid;place-items:center;font-family:var(--f-display);font-size:32px;font-weight:700;color:#fff;flex:none}
.badge.sm{width:44px;height:44px;border-radius:14px;font-size:22px}
.badge.cat{padding:0;overflow:hidden;background:transparent}
.badge.cat svg{width:100%;height:100%;display:block}
img.badge{object-fit:cover;background:#fff;padding:0}
.titlewho{display:flex;align-items:center;gap:10px;min-width:0}
.titlewho h1{overflow-wrap:anywhere}
.avatar-btn{border:0;background:none;padding:0;cursor:pointer;flex:none;position:relative}
.avatar-btn::after{content:"✎";position:absolute;right:-4px;bottom:-4px;width:20px;height:20px;border-radius:50%;background:var(--card);border:2px solid var(--line);font-size:11px;display:grid;place-items:center;color:var(--ink)}
.catgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.catgrid button{border:3px solid transparent;border-radius:20px;background:none;padding:4px;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:12px;font-weight:800;color:var(--muted);cursor:pointer}
.catgrid button[aria-pressed="true"]{border-color:var(--accent);color:var(--ink)}
.catgrid .badge{width:72px;height:72px;font-size:32px}
.kg-top{display:flex;align-items:center;gap:8px}
.thumb{width:36px;height:36px;border-radius:10px;object-fit:cover;background:#fff;flex:none}
.goalname{font-family:var(--f-display);font-size:22px;font-weight:600;margin:0;overflow-wrap:anywhere}
.countdown{text-align:center;padding:18px 0 6px}
.lead{font-size:14px;color:var(--muted)}
.big{font-family:var(--f-display);font-weight:700;font-size:84px;line-height:1;color:var(--accent);font-variant-numeric:tabular-nums}
.unit{font-family:var(--f-display);font-size:26px;font-weight:600}
.eta{margin-top:6px;color:var(--muted);font-size:14px}
.bar{height:26px;border-radius:999px;background:var(--track);margin-top:22px;position:relative}
.bar .fill{overflow:hidden}
.walker{position:absolute;top:50%;width:38px;height:38px;transform:translate(-50%,-55%);transition:left .5s ease;filter:drop-shadow(0 2px 2px rgba(0,0,0,.25))}
.walker svg{width:100%;height:100%;display:block}
.bar.thin .walker{display:none}
.bar.thin{height:12px;margin-top:8px}
.fill{height:100%;background:linear-gradient(90deg,var(--sun),var(--pop));border-radius:999px;transition:width .5s ease;min-width:12px}
.money{display:flex;justify-content:space-between;margin-top:8px;font-variant-numeric:tabular-nums;gap:8px}
.dash{border:0;border-top:2px dashed var(--line);margin:16px 0 12px}
.plan{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.win{text-align:center;padding:10px 0}
.win .big{color:var(--pop);font-size:56px}
.empty{text-align:center;padding:28px 20px}
.empty .jar{font-size:56px}
img.jar{width:72px;height:72px}
.hero img.jar{width:80px;height:80px}

.set{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.set h2{margin:0}
.log{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.log li{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;background:var(--bg);border-radius:14px}
.log .what{min-width:0;overflow-wrap:anywhere}
.log .amt{color:var(--accent);font-variant-numeric:tabular-nums;margin-right:4px;white-space:nowrap}
.log .acts{display:flex;gap:6px;align-items:center;flex:none}
.mini{border:2px solid var(--line);background:transparent;border-radius:12px;padding:6px 10px;font-weight:800;font-size:13px}

/* parent home */
.code-card{text-align:center}
.grown{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;background:var(--bg);border-radius:14px}
.grown .who{min-width:0;overflow-wrap:anywhere;display:flex;flex-direction:column}
.grown .who small{color:var(--muted);font-size:13px}
.grown button{flex:none}
.code-card .code{font-family:var(--f-display);font-size:34px;letter-spacing:4px;font-weight:700;color:var(--accent);margin:6px 0}
.kid-card{display:flex;flex-direction:column;gap:12px;width:100%;text-align:left;color:var(--ink);font-weight:700;cursor:pointer}
.kid-card .top{display:flex;align-items:center;gap:12px}
.kid-card .nm{font-family:var(--f-display);font-size:22px;font-weight:600;flex:1;overflow-wrap:anywhere}
.kid-goal{font-size:14px}
.kid-goal .money{margin-top:4px;font-size:13px;color:var(--muted)}

/* sheets + snack */
.sheet-wrap{position:fixed;inset:0;background:rgba(10,18,30,.55);display:none;align-items:flex-end;justify-content:center;z-index:5}
.sheet-wrap.open{display:flex}
.sheet{background:var(--card);width:100%;max-width:440px;max-height:92%;overflow:auto;border-radius:28px 28px 0 0;padding:20px 16px 28px;display:flex;flex-direction:column;gap:14px}
.sheet h3{font-family:var(--f-display);font-size:22px;margin:0}
.quick{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.quick button{border:2px solid var(--line);background:var(--bg);border-radius:14px;padding:12px 0;font-weight:800;font-size:18px}
.quick button[aria-pressed="true"]{border-color:var(--accent);background:var(--accent);color:var(--accent-ink)}
.snack{position:fixed;bottom:calc(12px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%,160%);box-shadow:0 6px 24px rgba(0,0,0,.25);width:calc(100% - 32px);max-width:408px;background:var(--ink);color:var(--bg);border-radius:20px;padding:14px 16px;z-index:9;transition:transform .35s ease;display:flex;flex-direction:column;gap:10px}
.snack.show{transform:translate(-50%,0)}
.snack:not(.show){pointer-events:none}
.snack .row button{border:0;border-radius:12px;padding:10px;font-weight:800;background:var(--sun);color:#22314a}
.snack .row button.later{background:transparent;color:var(--bg);border:2px solid var(--muted)}
.confetti i{position:fixed;top:-40px;z-index:8;animation:fall 2.6s ease-in forwards;font-style:normal;line-height:1}
@keyframes fall{to{transform:translateY(105vh) rotate(540deg);opacity:.9}}
.loading{text-align:center;color:var(--muted);padding:40px 0}
@media (prefers-reduced-motion:reduce){.fill,.snack{transition:none}.confetti{display:none}}

/* jars, approvals, chores, trophies */
.jars{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:10px 0}
.jar-tile{border-radius:16px;padding:10px 8px;text-align:center;background:var(--bg);border:2px solid var(--line)}
.jar-tile b{display:block;font-family:var(--f-display);font-size:22px}
.jar-tile span{font-size:13px;color:var(--muted)}
.jar-tile.save b{color:var(--accent)} .jar-tile.spend b{color:var(--pop)} .jar-tile.give b{color:#7a5af8}
.jar-actions{display:flex;flex-wrap:wrap;gap:8px}
.jar-actions .mini{flex:1 1 auto}
.streak{display:inline-block;background:var(--sun);color:#3b2a00;border-radius:999px;padding:3px 10px;font-size:13px;font-weight:800;margin-top:6px}
.waitcard{border-color:var(--sun)}
.wait-item{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;background:var(--bg);border-radius:14px;flex-wrap:wrap}
.wait-item .what{min-width:0;overflow-wrap:anywhere;flex:1 1 180px}
.wait-item .acts{display:flex;gap:6px}
.mini.yes{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
.tag{display:inline-block;font-size:12px;font-weight:800;border-radius:999px;padding:1px 8px;margin-left:4px;vertical-align:middle}
.tag.wait{background:var(--sun);color:#3b2a00} .tag.no{background:var(--bad);color:#fff}
.log li.declined .amt{text-decoration:line-through;color:var(--muted)}
.waitnote{margin-top:4px}
.choice{display:flex;flex-direction:column;gap:8px}
.opt{display:flex;gap:10px;align-items:flex-start;border:2px solid var(--line);border-radius:14px;padding:10px 12px;cursor:pointer}
.opt input{width:auto;margin-top:3px}
.opt small{display:block;color:var(--muted);font-size:13px;font-weight:700}
.chore{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;background:var(--bg);border-radius:14px;margin-bottom:8px}
.chore .what{min-width:0;overflow-wrap:anywhere}
.chore .done{color:var(--accent);font-weight:800;font-size:14px}
.shelf{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px}
.trophy{background:var(--bg);border-radius:16px;padding:10px;text-align:center;font-size:14px}
.trophy img,.trophy .badge{width:100%;height:96px;object-fit:contain;border-radius:12px;background:#fff;margin:0 auto 6px}
.trophy .badge{width:96px}
.trophy b{display:block;overflow-wrap:anywhere}
.splitset{border:2px solid var(--line);border-radius:14px;padding:10px 12px;margin:0}
.splitset legend{font-weight:800;font-size:14px;padding:0 4px}
.row3{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.kid-jars{font-size:13px;color:var(--muted)}
.pending-pill{background:var(--sun);color:#3b2a00;border-radius:999px;padding:2px 8px;font-size:12px;font-weight:800}
.milestone{font-family:var(--f-display);font-size:22px;color:var(--accent);text-align:center;margin:0 0 8px}
.trophy{border:0;cursor:pointer;color:var(--ink);font-weight:700}
.log li{flex-wrap:wrap}
.log li .what{flex:1 1 170px}
.log li .acts{flex-wrap:wrap;justify-content:flex-end}
.waitcard .tag.wait{display:none}

/* cat ears on the jars */
.jar-tile{position:relative;margin-top:10px}
.jar-tile::before,.jar-tile::after{content:"";position:absolute;top:-11px;width:0;height:0;border-left:11px solid transparent;border-right:11px solid transparent;border-bottom:14px solid var(--line)}
.jar-tile::before{left:14px}.jar-tile::after{right:14px}
.jar-tile.save::before,.jar-tile.save::after{border-bottom-color:var(--accent)}
.jar-tile.spend::before,.jar-tile.spend::after{border-bottom-color:var(--pop)}
.jar-tile.give::before,.jar-tile.give::after{border-bottom-color:#7a5af8}
.catgrid button.locked{opacity:.55}
.catgrid button.locked .badge{filter:grayscale(1)}
.catgrid button small{font-size:11px;font-weight:800}
.swatches{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.swlabel{width:100%;font-size:13px;font-weight:800;color:var(--muted)}
.swatch{width:34px;height:34px;border-radius:50%;border:3px solid var(--line);padding:0;cursor:pointer}
.swatch[aria-pressed="true"]{border-color:var(--accent);box-shadow:0 0 0 3px var(--card),0 0 0 5px var(--accent)}
.catgrid button.seasonal small{color:var(--pop)}
.streakline{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:13px}
.streakline .streak{margin-top:0}
.sooner summary{cursor:pointer;font-family:var(--f-display);font-size:18px;font-weight:600;list-style:none}
.sooner summary::-webkit-details-marker{display:none}
.sooner summary::after{content:" ›";color:var(--muted)}
.sooner[open] summary::after{content:" ⌄"}
.sooner[open] summary{margin-bottom:8px}
.ideas{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-direction:column;gap:8px}
.ideas li{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:10px 12px;background:var(--bg);border-radius:14px}
.ideas .what{flex:1 1 180px;min-width:0}
.ideas .acts{display:flex;gap:6px;align-items:center}
.ideas .pill{background:var(--accent);color:var(--accent-ink);border-radius:999px;padding:3px 10px;font-size:13px;font-weight:800;white-space:nowrap}
.ideas li.tip .what{color:var(--muted)}
/* savings chart */
.chart-wrap{position:relative}
.chart svg{display:block;width:100%;height:auto;touch-action:pan-y}
.chart .grid{stroke:var(--line);stroke-width:1}
.chart .goal-line{stroke:var(--muted);stroke-width:1}
.chart .axis-text{fill:var(--muted);font-size:11px;font-family:var(--f-body);font-weight:700}
.chart .goal-text{fill:var(--ink);font-size:11px;font-family:var(--f-body);font-weight:800}
.chart .line{fill:none;stroke:var(--chart);stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.chart .area{fill:var(--chart);opacity:.1}
.chart .dot{fill:var(--chart);stroke:var(--card);stroke-width:2}
.chart .cross{stroke:var(--muted);stroke-width:1}
.chart-tip{position:absolute;top:0;transform:translateX(-50%);background:var(--ink);color:var(--card);font-size:13px;font-weight:800;
  padding:4px 8px;border-radius:8px;white-space:nowrap;pointer-events:none}
/* guided tour */
.headbtns{display:flex;gap:8px;align-items:center}
.link.help{width:40px;padding:8px 0;font-size:18px;font-family:var(--f-display)}
.tour{position:fixed;inset:0;z-index:20}
.tour-hole{position:absolute;border-radius:18px;box-shadow:0 0 0 9999px rgba(10,16,28,.72);transition:all .25s ease;pointer-events:none;outline:3px solid var(--sun);outline-offset:3px}
.tour-hole.none{width:0;height:0;left:50%;top:40%;outline:none}
.tour-bubble{position:absolute;left:12px;right:12px;max-width:420px;margin:0 auto;background:var(--card);color:var(--ink);border-radius:22px;padding:16px 16px 10px;
  box-shadow:0 10px 30px rgba(0,0,0,.35);display:flex;flex-direction:column;gap:10px}
.tour-bubble p{margin:0;font-size:18px;line-height:1.4;font-weight:700}
.tour-cat{width:56px;height:56px;margin:-44px auto 0}
.tour-cat svg{width:100%;height:100%;display:block;filter:drop-shadow(0 3px 4px rgba(0,0,0,.3))}
.tour-dots{display:flex;justify-content:center;gap:6px}
.tour-dots i{width:8px;height:8px;border-radius:50%;background:var(--line)}
.tour-dots i.on{background:var(--accent)}
.tour .row .btn{flex:1}
@media (prefers-reduced-motion:reduce){.tour-hole{transition:none}}
.wish{display:flex;align-items:center;gap:10px;padding:10px 12px;background:var(--bg);border-radius:14px;margin-bottom:8px;flex-wrap:wrap}
.wish .what{flex:1 1 140px;min-width:0;overflow-wrap:anywhere}
.wish .what a{color:var(--accent)}
.wish .acts{display:flex;gap:6px}
.wish-pic{width:52px;height:52px;border-radius:12px;border:2px dashed var(--line);background:#fff;padding:0;overflow:hidden;cursor:pointer;flex:none;display:grid;place-items:center;font-size:22px}
.wish-pic img{width:100%;height:100%;object-fit:cover;display:block}
.matchnote{margin:8px 0 0;font-weight:800;color:var(--accent)}
.row.lookup input{flex:1;min-width:0}
.row.lookup .mini{flex:none}
.goal-links{margin:6px 0 0;font-size:14px}
.goal-links a,.goal-links button{color:var(--accent);font-weight:800}
.goal-links button{background:none;border:0;padding:0;font-size:14px;cursor:pointer}
/* kitty coin jar */
.jarrow{display:flex;align-items:center;gap:6px;position:relative}
.kjar{width:96px;flex:none;overflow:visible}
.jarside{flex:1;min-width:0}
.kcoins{transition:transform .9s cubic-bezier(.3,1.4,.5,1)}
.dropcoin{position:absolute;top:-6px;font-size:16px;animation:coindrop .9s ease-in forwards;pointer-events:none}
@keyframes coindrop{0%{transform:translateY(-40px);opacity:0}25%{opacity:1}100%{transform:translateY(70px);opacity:0}}
.treatpop{position:fixed;left:50%;bottom:120px;z-index:15;width:130px;margin-left:-65px;animation:catpop 2.2s ease forwards;pointer-events:none}
.treatcat{width:110px;height:110px;margin:0 auto;filter:drop-shadow(0 6px 10px rgba(0,0,0,.3))}
.treatcat svg{width:100%;height:100%;display:block}
.treat{position:absolute;left:50%;top:40px;font-size:34px;animation:fishfly .7s .35s ease-in both}
.treatsay{position:absolute;left:50%;top:-34px;transform:translateX(-50%);background:var(--card);color:var(--ink);border:2px solid var(--line);
  border-radius:14px;padding:4px 12px;font-family:var(--f-display);font-size:18px;white-space:nowrap;animation:say 2.2s ease both}
@keyframes catpop{0%{transform:translateY(260px);opacity:0}12%{opacity:1}18%{transform:translateY(-12px)}26%{transform:translateY(0)}78%{transform:translateY(0);opacity:1}100%{transform:translateY(260px);opacity:0}}
@keyframes fishfly{0%{transform:translate(-160px,-260px) rotate(-40deg);opacity:1}85%{transform:translate(-20px,10px) rotate(10deg) scale(.7);opacity:1}100%{transform:translate(-18px,20px) scale(.2);opacity:0}}
@keyframes say{0%,40%{opacity:0;transform:translate(-50%,8px)}50%,85%{opacity:1;transform:translate(-50%,0)}100%{opacity:0}}
@media (prefers-reduced-motion:reduce){.kcoins{transition:none}.dropcoin,.treatpop{display:none}}
@media (max-width:360px){.kjar{width:78px}}
.lookupnote{display:flex;flex-direction:column;gap:8px}
.foundpic{display:flex;align-items:center;gap:10px;font-weight:800;color:var(--ink);cursor:pointer}
.foundpic img{width:64px;height:64px;object-fit:contain;background:#fff;border-radius:12px;border:2px solid var(--line)}
.foundpic input{width:auto;margin-right:4px}
.lookupnote .foundpic{flex-direction:row;justify-content:flex-start;align-items:center;font-size:15px}
label.opt{flex-direction:row;color:var(--ink);font-size:15px;font-weight:800}
