/* Pet v2 (pet-life.js): needs bars, the Home status chip, the pet's speech bubble, the care diary,
   bond level + growth stages, the note sheet and the level-up moment. Colors are theme tokens only. */

/* ---------------------------------------------------------------- Home chip */
#app-screen .immersive-home .pet-status-chip{position:absolute;top:calc(var(--immersive-hud-height,56px) + 8px);right:0;display:flex;align-items:center;gap:7px;min-height:44px;padding:6px 10px 6px 7px;border:1px solid color-mix(in srgb, var(--border-strong) 16.86%, transparent);border-radius:99px;background:color-mix(in srgb, var(--card-background) 87%, transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:var(--text-primary);box-shadow:0 3px 12px color-mix(in srgb, var(--shadow-color) 12%, transparent);pointer-events:auto}
#app-screen .immersive-home .pet-status-chip:active{transform:scale(.97)}
/* The chip face: a round crop of the pet itself. Happy: a quiet hairline ring. Any other mood: the ring
   takes the mood colour and a tiny badge names it (bowl, drop, moon, heart, frown). */
.pet-status-face{--mood:color-mix(in srgb, var(--border-strong) 30%, transparent);position:relative;flex:none;width:32px;height:32px;border-radius:50%;background:var(--selected-background);box-shadow:0 0 0 1.5px var(--mood)}
.pet-status-face img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}
.pet-status-badge{position:absolute;right:-4px;bottom:-3px;display:grid;place-items:center;width:15px;height:15px;border-radius:50%;background:var(--mood);color:var(--on-accent);box-shadow:0 0 0 1.5px var(--card-background)}
.pet-status-chip[data-pet-mood="hungry"] .pet-status-face{--mood:var(--accent)}
.pet-status-chip[data-pet-mood="thirsty"] .pet-status-face{--mood:var(--water)}
.pet-status-chip[data-pet-mood="sleepy"] .pet-status-face{--mood:var(--rest-mark)}
.pet-status-chip[data-pet-mood="lonely"] .pet-status-face{--mood:var(--heart)}
.pet-status-chip[data-pet-mood="sad"] .pet-status-face{--mood:var(--cool-text)}
.pet-status-chip:not([data-pet-mood="happy"]) .pet-status-face{box-shadow:0 0 0 2px var(--mood)}
.pet-mini-needs{display:flex;align-items:center;gap:4px}
.pet-mini-need{display:flex;flex-direction:column;align-items:center;gap:3px;width:17px;color:var(--accent)}
.pet-mini-need[data-need="drink"]{color:var(--water)}
.pet-mini-need[data-need="sleep"]{color:var(--rest-mark)}
.pet-mini-need[data-need="love"]{color:var(--heart)}
.pet-mini-need i{position:relative;display:block;width:100%;height:4px;border-radius:2px;background:color-mix(in srgb, var(--text-secondary) 26%, transparent);overflow:hidden}
.pet-mini-need i::after{content:'';position:absolute;inset:0 auto 0 0;width:var(--v);border-radius:2px;background:currentColor}
.pet-mini-need.is-empty svg{opacity:.45}
.pet-mini-need.is-empty i{box-shadow:inset 0 0 0 1px var(--heart)}
.pet-mini-bars{display:flex;align-items:flex-end;gap:3px;height:22px}
.pet-mini-bars i{position:relative;display:block;width:5px;height:100%;border-radius:3px;background:color-mix(in srgb, var(--text-secondary) 22%, transparent);overflow:hidden}
.pet-mini-bars i{background:color-mix(in srgb, var(--text-secondary) 30%, transparent)}
.pet-mini-bars i::after{content:'';position:absolute;left:0;right:0;bottom:0;height:var(--v);border-radius:3px;background:var(--accent)}
.pet-mini-bars i[data-need="drink"]::after{background:var(--water)}
.pet-mini-bars i[data-need="sleep"]::after{background:var(--rest-mark)}
.pet-mini-bars i[data-need="love"]::after{background:var(--heart)}
.pet-mini-bars i.is-empty{box-shadow:inset 0 0 0 1.5px var(--heart)}
.pet-mini-bars i.is-empty::after{min-height:3px}
/* the stage portrait is missing: the adult portrait, scaled like the room */
.pet-stage-art.is-fallback[data-stage="baby"]{transform:scale(.64);transform-origin:50% 100%}
.pet-stage-art.is-fallback[data-stage="young"]{transform:scale(.82);transform-origin:50% 100%}

/* ------------------------------------------------------- thought cloud (Vincent 2026-11-20: the pet never
   talks; it thinks a picture and says its own sound). A cloud, then two small bubbles down to its head. */
.immersive-home .pet-thought{position:absolute;z-index:25;width:116px;padding-bottom:26px;pointer-events:none;animation:pet-thought-in .42s cubic-bezier(.22,1,.36,1) both}
.immersive-home .pet-thought-tap{position:relative;display:block;width:116px;height:84px;margin:0;padding:0;border:0;background:none;color:inherit;pointer-events:auto;-webkit-tap-highlight-color:transparent}
.immersive-home .pet-thought-cloud{position:absolute;left:4px;top:12px;width:92px;height:70px;display:grid;place-items:center}
.immersive-home .pet-thought-shape{position:absolute;inset:0;overflow:visible;fill:var(--card-background);filter:drop-shadow(0 5px 10px color-mix(in srgb, var(--shadow-color) 26%, transparent))}
.immersive-home .pet-thought-pic{position:relative;top:3px;font-size:31px;line-height:1;animation:pet-thought-bob 3.2s ease-in-out .5s infinite}
.immersive-home .pet-thought-pic.is-art{display:block;width:34px;height:34px;top:2px}
.immersive-home .pet-thought-pic svg{display:block}
.immersive-home .pet-thought-tap:active .pet-thought-cloud{transform:scale(.94);transition:transform .12s ease-out}
.immersive-home .pet-thought-sound{position:absolute;right:0;top:0;padding:3px 9px 4px;border-radius:99px;background:var(--card-background);color:var(--accent);font-size:13px;line-height:16px;font-weight:850;letter-spacing:.01em;transform:rotate(8deg);box-shadow:0 3px 8px color-mix(in srgb, var(--shadow-color) 20%, transparent);animation:pet-thought-sound .42s .28s cubic-bezier(.22,1,.36,1) both}
.immersive-home .pet-thought-trail{position:absolute;left:0;right:0;bottom:0;height:26px;pointer-events:none}
.immersive-home .pet-thought-trail i{position:absolute;border-radius:50%;background:var(--card-background);box-shadow:0 2px 6px color-mix(in srgb, var(--shadow-color) 22%, transparent)}
.immersive-home .pet-thought-trail i:first-child{width:13px;height:13px;left:calc(var(--tail-x,50%) - 2px);top:0}
.immersive-home .pet-thought-trail i:last-child{width:7px;height:7px;left:calc(var(--tail-x,50%) - 5px);top:17px}
.immersive-home .pet-thought[hidden]{display:none}
/* A note from the partner: their words stay readable on a soft card; the pet only adds its sound. */
.immersive-home .pet-thought.is-note{width:auto;max-width:min(260px,calc(100% - 24px))}
.immersive-home .pet-thought-card{position:relative;display:flex;flex-direction:column;gap:8px;padding:12px 14px;border-radius:24px;background:var(--card-background);color:var(--text-primary);border:2px solid var(--accent-soft);box-shadow:0 8px 22px color-mix(in srgb, var(--shadow-color) 22%, transparent);pointer-events:auto}
.immersive-home .pet-thought-card p{margin:0;display:flex;flex-direction:column;gap:2px}
.immersive-home .pet-thought-card p small{font-size:11.5px;line-height:15px;font-weight:700;color:var(--text-secondary)}
.immersive-home .pet-thought-card p span{font-size:16px;line-height:21px;font-weight:800}
.immersive-home .pet-thought-card .pet-thought-sound{top:-12px;right:-6px}
.immersive-home .pet-thought .pet-thought-ok{align-self:stretch;min-height:44px;margin:0;border:0;border-radius:12px;background:var(--accent);color:var(--on-accent);font-weight:800;font-size:14px}
.immersive-home .pet-thought.is-leaving{animation:pet-thought-out .22s ease-in both}
@keyframes pet-thought-in{from{opacity:0;transform:translateY(8px) scale(.86)}to{opacity:1;transform:none}}
@keyframes pet-thought-out{to{opacity:0;transform:translateY(-4px) scale(.96)}}
@keyframes pet-thought-sound{from{opacity:0;transform:rotate(8deg) scale(.4)}to{opacity:1;transform:rotate(8deg) scale(1)}}
@keyframes pet-thought-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-2px)}}
.immersive-home.pet-fan-open .pet-thought{opacity:0;pointer-events:none}
.immersive-home.pet-fan-open .pet-thought *{pointer-events:none}

@keyframes pet-bob{0%,100%{transform:scaleY(1)}50%{transform:scaleY(1.018)}}
@keyframes pet-hop{0%{transform:translateY(0)}35%{transform:translateY(-12px)}70%{transform:translateY(0) scaleY(.97)}100%{transform:none}}

/* note sheet */
.pet-note-chips{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 12px}
.pet-note-chip{min-height:40px;margin:0;padding:8px 14px;border:1px solid var(--border-strong);border-radius:99px;background:var(--card-background);color:var(--text-primary);font-size:13.5px;font-weight:750}
.pet-note-chip:active{background:var(--selected-background)}

/* level-up moment */
.pet-levelup{text-align:center}
.pet-levelup-art{display:flex;align-items:flex-end;justify-content:center;gap:0;height:160px;margin:4px 0 8px;padding-bottom:6px;background:radial-gradient(ellipse 60% 14% at 50% 96%, color-mix(in srgb, var(--shadow-color) 12%, transparent), transparent)}
.pet-levelup-art>span{display:block;height:100%}
.pet-levelup-art img{display:block;height:100%;width:auto;object-fit:contain;mask-image:none}
.pet-levelup-before{opacity:.7;margin-right:-22px}
.pet-levelup-now{animation:pet-hop .7s .2s cubic-bezier(.22,1,.36,1) both}
.pet-levelup-arrow{align-self:center;height:auto!important;margin:0 -6px;color:var(--accent);z-index:1}
.pet-levelup-copy{margin:6px 0 4px;font-size:14px;line-height:20px;color:var(--text-secondary)}

@media (prefers-reduced-motion: reduce){
 .pet-levelup-now{animation:none}
 .immersive-home .pet-thought,.immersive-home .pet-thought-sound,.immersive-home .pet-thought-pic{animation:none}
}

/* ------------------------------------------- pet page: game profile card (Vincent 2026-11-17)
   Chunky, tactile, warm: a pet card with a level badge and XP bar, a growth path like a game map,
   four ring gauges, three diary lines and a Looks row. Press = the tile sinks onto its own ledge. */
body.cokoon-app #app-screen .petgm .flow-body{gap:14px;padding-bottom:28px}
body.cokoon-app #app-screen .petgm .compact-header{min-height:52px}
.petgm-note{display:grid;place-items:center;width:46px;height:46px;margin:0;padding:0;border:1px solid var(--border-default);border-radius:16px;background:var(--card-background);color:var(--accent);box-shadow:0 3px 0 var(--border-strong);transition:translate .08s ease,box-shadow .08s ease}
.petgm-note:active{translate:0 2px;box-shadow:0 1px 0 var(--border-strong)}

/* the card */
.petgm-card{position:relative;padding:0 16px 16px;border:1px solid var(--border-default);border-radius:28px;background:linear-gradient(180deg,var(--balance-background),var(--card-background) 78%);box-shadow:0 5px 0 color-mix(in srgb, var(--border-strong) 55%, transparent),var(--card-shadow)}
.petgm-hero{position:relative;display:flex;align-items:flex-end;justify-content:center;height:196px;margin:0 -16px;overflow:hidden;border-radius:28px 28px 0 0}
.petgm-glow{position:absolute;inset:0;background:radial-gradient(circle at 50% 58%,color-mix(in srgb, var(--header-highlight) 26%, transparent),transparent 58%),radial-gradient(ellipse 34% 7% at 50% 93%,color-mix(in srgb, var(--shadow-color) 18%, transparent),transparent)}
#app-screen .petgm-hero .petgm-portrait{position:relative;display:block;height:100%;width:auto;max-width:92%;object-fit:contain;mask-image:none;transform-origin:50% 96%;animation:pet-bob 3.2s ease-in-out infinite}
/* the baby and young art carry more empty canvas than the grown portrait: scale them up to fill the card */
#app-screen .petgm-hero[data-stage="baby"] .petgm-portrait{height:130%;margin-bottom:-2%}
#app-screen .petgm-hero[data-stage="young"] .petgm-portrait{height:114%;margin-bottom:-1%}
.petgm-id{display:flex;align-items:center;gap:12px;margin-top:2px}
.petgm-level{flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;width:60px;height:60px;border:3px solid var(--card-background);border-radius:20px;background:linear-gradient(160deg,var(--header-highlight),var(--accent));color:var(--on-accent);box-shadow:0 4px 0 var(--accent-pressed),0 8px 16px color-mix(in srgb, var(--accent) 28%, transparent);transform:rotate(-4deg);animation:petgm-pop .5s .15s cubic-bezier(.22,1,.36,1) both}
.petgm-level small{font-size:10px;line-height:11px;font-weight:900;letter-spacing:1px;opacity:.9}
.petgm-level b{font-size:25px;line-height:26px;font-weight:900}
.petgm-id-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:7px}
.petgm-name{display:flex;align-items:center;gap:8px;max-width:100%;min-height:44px;margin:0;padding:0;border:0;background:none;color:var(--text-primary);text-align:left;box-shadow:none}
.petgm-name h1{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:28px;line-height:32px;font-weight:900;letter-spacing:-.5px}
.petgm-name-pen{flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:10px;background:var(--surface-muted);color:var(--text-secondary)}
.petgm-name:active .petgm-name-pen{background:var(--selected-background);color:var(--accent)}
.petgm-xp{position:relative;height:20px;border-radius:99px;background:var(--surface-muted);box-shadow:inset 0 2px 0 color-mix(in srgb, var(--shadow-color) 10%, transparent);overflow:hidden;animation:petgm-boing .55s .75s ease-out both}
.petgm-xp i{position:absolute;inset:0 auto 0 0;width:var(--v);border-radius:99px;background:linear-gradient(180deg,var(--header-highlight),var(--accent));box-shadow:inset 0 -3px 0 color-mix(in srgb, var(--accent-pressed) 45%, transparent),inset 0 3px 0 color-mix(in srgb, var(--on-accent) 30%, transparent);animation:petgm-fill .9s .2s cubic-bezier(.22,1,.36,1) both}
.petgm-xp span{position:absolute;inset:0;display:grid;place-items:center;font-size:11.5px;line-height:1;font-weight:900;color:var(--text-primary);font-variant-numeric:tabular-nums;text-shadow:0 0 3px var(--card-background),0 0 6px var(--card-background)}
@keyframes petgm-fill{from{width:0}to{width:var(--v)}}
@keyframes petgm-boing{0%,100%{transform:none}35%{transform:scale(1.03,1.22)}65%{transform:scale(.99,.9)}}
@keyframes petgm-pop{0%{transform:rotate(-4deg) scale(.4);opacity:0}65%{transform:rotate(-4deg) scale(1.1);opacity:1}100%{transform:rotate(-4deg) scale(1)}}

/* growth path: three stops joined by footsteps, like a map */
.petgm-path{list-style:none;display:flex;align-items:flex-start;margin:0;padding:10px 14px 8px;border:1px solid var(--border-default);border-radius:24px;background:var(--surface-tinted)}
.petgm-stop{flex:none;width:76px;display:flex;flex-direction:column;align-items:center;gap:2px;text-align:center}
.petgm-stop-pic{position:relative;display:flex;align-items:flex-end;justify-content:center;width:54px;height:54px;border-radius:50%;background:var(--card-background);border:3px solid var(--border-default);box-shadow:0 3px 0 var(--border-strong);overflow:visible}
#app-screen .petgm-stop-pic img{display:block;width:50px;height:50px;margin-bottom:1px;object-fit:contain;mask-image:none;animation:none;transform:none}
.petgm-stop.is-now .petgm-stop-pic{width:62px;height:62px;margin-top:-4px;border-color:var(--accent);background:var(--selected-background);box-shadow:0 4px 0 var(--accent-pressed),0 0 0 5px color-mix(in srgb, var(--accent) 16%, transparent)}
#app-screen .petgm-stop.is-now .petgm-stop-pic img{width:58px;height:58px}
.petgm-stop.is-next .petgm-stop-pic{background:var(--surface-muted);border-style:dashed;box-shadow:none}
#app-screen .petgm-stop.is-next .petgm-stop-pic img{filter:brightness(0);opacity:.2}
.petgm-stop-lock{position:absolute;right:-4px;bottom:-4px;display:grid;place-items:center;width:26px;height:26px;border:2px solid var(--card-background);border-radius:50%;background:var(--text-secondary);color:var(--card-background)}
.petgm-stop b{margin-top:4px;font-size:13px;line-height:17px;font-weight:900;color:var(--text-primary)}
.petgm-stop.is-next b{color:var(--text-secondary)}
.petgm-stop small{font-size:11px;line-height:13px;font-weight:800;color:var(--text-secondary)}
.petgm-stop.is-now small{color:var(--accent)}
.petgm-path-link{flex:1;display:flex;align-items:center;justify-content:space-evenly;height:54px;min-width:18px}
.petgm-path-link i{width:7px;height:7px;border-radius:50%;background:var(--border-strong)}
.petgm-path-link.is-done i{background:var(--accent)}

/* needs: four ring gauges, icon only */
.petgm-needs{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0;padding:0}
.petgm-need{position:relative;justify-self:center;width:62px;height:62px;border-radius:50%;background:var(--card-background);box-shadow:0 2px 0 color-mix(in srgb, var(--border-strong) 60%, transparent);color:var(--accent)}
.petgm-need[data-need="drink"]{color:var(--water)}
.petgm-need[data-need="sleep"]{color:var(--rest-mark)}
.petgm-need[data-need="love"]{color:var(--heart)}
.petgm-need-ring{position:absolute;inset:0;border-radius:50%;background:conic-gradient(currentColor calc(var(--v) * 1%),color-mix(in srgb, var(--text-secondary) 16%, transparent) 0);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 8px),currentColor calc(100% - 7px));mask:radial-gradient(farthest-side,transparent calc(100% - 8px),currentColor calc(100% - 7px))}
.petgm-need-icon{position:absolute;inset:12px;display:grid;place-items:center;border-radius:50%;background:color-mix(in srgb, currentColor 11%, var(--card-background))}
.petgm-need.is-low .petgm-need-icon{animation:petgm-nudge 2.4s ease-in-out infinite}
.petgm-need.is-empty{box-shadow:0 2px 0 var(--heart)}
.petgm-need.is-empty .petgm-need-icon{animation:petgm-nudge 1.4s ease-in-out infinite}
@keyframes petgm-nudge{0%,100%{transform:none}8%{transform:rotate(-9deg)}16%{transform:rotate(8deg)}24%{transform:none}}

/* diary: the last three lines */
.petgm-diary{list-style:none;margin:0;padding:2px 12px;border-radius:18px;background:var(--surface-tinted)}
.petgm-diary li{display:grid;grid-template-columns:24px 1fr auto;align-items:center;gap:9px;min-height:36px;font-size:13.5px;line-height:17px;color:var(--text-secondary)}
.petgm-diary-icon{display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:var(--card-background);color:var(--accent)}
.petgm-diary-line{min-width:0}
.petgm-diary b{font-weight:800;color:var(--text-primary)}
.petgm-diary li[data-by="partner"] b{color:var(--partner-accent)}
.petgm-diary time{font-size:12px;font-weight:800;color:var(--text-secondary);font-variant-numeric:tabular-nums}

/* looks: every pet (owned ones switch with a tap, the others carry a price and a lock), then accessories */
.petgm-looks{display:flex;align-items:center;gap:10px;margin:0 -16px;padding:4px 16px 8px;overflow-x:auto;scrollbar-width:none;-webkit-mask-image:linear-gradient(90deg,currentColor calc(100% - 44px),transparent);mask-image:linear-gradient(90deg,currentColor calc(100% - 44px),transparent)}
.petgm-looks::-webkit-scrollbar{display:none}
.petgm-look{position:relative;flex:none;display:grid;place-items:center;width:58px;height:58px;margin:0;padding:0;border:2px solid var(--border-default);border-radius:18px;background:var(--card-background);color:var(--text-secondary);box-shadow:0 3px 0 var(--border-strong);overflow:hidden;transition:translate .08s ease,box-shadow .08s ease}
button.petgm-look:active{translate:0 2px;box-shadow:0 1px 0 var(--border-strong)}
#app-screen .petgm-look img{display:block;width:54px;height:54px;object-fit:contain;mask-image:none;animation:none;transform:translateY(6px) scale(1.35);transform-origin:50% 100%}
.petgm-pet.is-on{border-color:var(--accent);background:var(--selected-background);box-shadow:0 3px 0 var(--accent-pressed)}
.petgm-pet{height:76px;grid-template-rows:minmax(0,1fr) auto;align-content:stretch}
.petgm-pet-art{display:grid;place-items:end center;width:100%;height:100%;min-height:0;overflow:hidden}
#app-screen .petgm-pet img{width:52px;height:52px;transform:translateY(3px) scale(1.2)}
#app-screen .petgm-pet:not(.is-locked) img{width:64px;height:64px;transform:translateY(4px) scale(1.2)}
.petgm-pet.is-locked{background:var(--surface-muted)}
.petgm-pet.is-locked .petgm-pet-art{opacity:.9;filter:saturate(.85)}
.petgm-pet-lock{position:absolute;top:3px;right:3px;display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:var(--card-background);color:var(--text-secondary);box-shadow:0 1px 0 var(--border-strong)}
.petgm-pet-price{display:flex;align-items:center;justify-content:center;gap:2px;width:100%;padding:2px 0 3px;border-top:1px solid var(--border-default);background:var(--card-background);color:var(--text-primary);font-size:11px;line-height:14px;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap}
.petgm-pet-price svg{color:var(--star-icon);fill:var(--star-fill);flex:none}
.petgm-pet.is-fresh{animation:petgm-fresh .9s ease-out 1}
@keyframes petgm-fresh{0%{scale:.8}55%{scale:1.12}100%{scale:1}}
@media (prefers-reduced-motion:reduce){.petgm-pet.is-fresh{animation:none}}

/* adoption sheet (pet-adopt.js): title, portrait, price | You have N, one button */
.modal-card:has(.pet-adopt){position:relative}.modal-card:has(.pet-adopt)>.modal-close{position:absolute;right:16px;top:16px;float:none;margin:0}
.pet-adopt{clear:both;display:grid;gap:14px;min-width:0}.pet-adopt .sheet-title{padding-right:52px}
.pet-adopt-art{display:block;height:min(34dvh,230px);border-radius:22px;background:var(--surface-tinted,var(--surface-muted));overflow:hidden}
.pet-adopt-art.is-small{height:min(22dvh,150px)}
.pet-adopt-art img.pet-adopt-portrait{display:block;width:100%;height:100%;margin:0;padding:8% 0 4%;box-sizing:border-box;object-fit:contain;object-position:50% 100%}
.pet-adopt-art img.pet-stage-art{transform:scale(1.55);transform-origin:50% 96%}
.pet-adopt-price{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin:0;line-height:1.5}
.pet-adopt-price strong,.pet-adopt-price>span{display:inline-flex;align-items:center;gap:4px}
.pet-adopt-price strong{font-size:1.25rem;font-variant-numeric:tabular-nums;color:var(--text-primary)}
.pet-adopt-price>span{font-size:.875rem;color:var(--text-secondary)}
.pet-adopt-star{display:inline-flex;color:var(--star-icon)}.pet-adopt-star svg{fill:var(--star-fill)}
[data-pet-adopt-cta]{display:inline-flex;align-items:center;justify-content:center;gap:5px}
[data-pet-adopt-cta] .pet-adopt-star{color:currentColor}[data-pet-adopt-cta] .pet-adopt-star svg{fill:currentColor}
.petgm-looks-sep{flex:none;width:2px;height:34px;border-radius:2px;background:var(--border-default)}
.petgm-extra{gap:0;align-content:center;background:var(--surface-muted);border-style:dashed;box-shadow:none}
.petgm-extra small{font-size:10.5px;line-height:12px;font-weight:900}
.petgm-extra.is-on{border-style:solid;background:var(--selected-background);color:var(--accent);box-shadow:0 3px 0 var(--accent-pressed)}

/* weekly pet reveal (pet-adopt.js P.openWeekly): the gift box unwraps, then the pet rises in */
.pet-weekly-unwrap{padding:4px 0 0}
.pet-weekly-copy{margin:0;color:var(--text-secondary);line-height:1.45;text-align:center}
.pet-weekly.is-fresh .pet-weekly-art{animation:eco-rise .5s ease-out both}
.pet-weekly.is-fresh .pet-weekly-copy{animation:eco-rise .5s ease-out .14s both}
@media (prefers-reduced-motion:reduce){.pet-weekly.is-fresh .pet-weekly-art,.pet-weekly.is-fresh .pet-weekly-copy{animation:none}}
#phone.reduced-motion .pet-weekly.is-fresh .pet-weekly-art,#phone.reduced-motion .pet-weekly.is-fresh .pet-weekly-copy{animation:none}

/* 360 px and large text: the card stays one column, the path shrinks its footsteps */
@media (max-width:370px){.petgm-stop{width:66px}.petgm-need{width:58px;height:58px}.petgm-name h1{font-size:25px}}
.large-text .petgm-name h1{font-size:30px;line-height:34px}
.large-text .petgm-diary li{font-size:16px;line-height:21px}
.large-text .petgm-stop b{font-size:15px}
.large-text .petgm-stop small,.large-text .petgm-diary time{font-size:13.5px}
.large-text .petgm-xp{height:22px}
.large-text .petgm-xp span{font-size:13px}

@media (prefers-reduced-motion: reduce){
 #app-screen .petgm-hero .petgm-portrait,.petgm-level,.petgm-xp,.petgm-xp i,.petgm-need-icon{animation:none!important}
}
#phone.reduced-motion #app-screen .petgm :is(.petgm-portrait,.petgm-level,.petgm-xp,.petgm-xp i,.petgm-need-icon){animation:none!important}
