:root {
  --outside:#baa996;
  --canvas:#eee4d7;
  --surface:#f7f0e6;
  --well:#e9ddce;
  --snow:#fffdf8;
  --paper:#fcf8f0;
  --ink:#372b25;
  --muted:#735d4f;
  --line:#ddcebc;
  --edge:rgba(255,255,255,.68);
  --accent:#e9b99d;
  --accent-ink:#673c2d;
  --focus:#8b4d36;
  --coral:#c78668;
  --blue:#7c885d;
  --lilac:#9a7e68;
  --gap:12px;
  --pad:13px;
  --r:17px;
  --ease:cubic-bezier(.22,.75,.24,1);
  color:var(--ink);
  background:var(--outside);
  color-scheme:light;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,sans-serif;
  font-size:14px;
  font-synthesis:none;
}
*,*::before,*::after {box-sizing:border-box}
body {margin:0;min-width:280px;min-height:100vh;padding:clamp(14px,6.66vh,80px) clamp(12px,5vw,80px)}
button,input,select {color:inherit;font:inherit}
button,select {cursor:pointer}
button {border:0}
button:disabled {cursor:not-allowed;opacity:.55}
a {color:inherit}
img,svg {display:block}
svg {flex:none}
h1,h2,h3,p,dl,dd,fieldset,ol {margin:0}
h1,h2,h3 {font-weight:570;line-height:1.19;letter-spacing:-.025em}
strong,b {font-weight:540}
h1 {font-size:22px}
h2 {font-size:17px}
h3 {font-size:14px}
small {font-size:.86em}
button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible,[tabindex="0"]:focus-visible {outline:2px solid var(--focus);outline-offset:3px}
#view-title:focus,#main:focus,#dialog-title:focus {outline:none}
[hidden] {display:none!important}
.visually-hidden {
  position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;clip-path:inset(50%);padding:0;border:0;
}
.skip {position:fixed;top:9px;left:9px;z-index:20;background:var(--accent);padding:9px 16px;border-radius:8px;transform:translateY(-200%)}
.skip:focus {transform:translateY(0)}
.muted {color:var(--muted)}
.bare,.text-btn {background:transparent;padding:0}
.text-btn {font-weight:480;text-align:left}
.mini-link {display:inline-flex;gap:5px;align-items:center;background:transparent;color:var(--muted);padding:5px 0;white-space:nowrap;font-size:11px}
.mini-link svg {transition:translate .16s var(--ease)}
.panel {min-width:0;border:1px solid var(--edge);border-radius:var(--r);background:var(--surface);padding:var(--pad)}
.inset {border-radius:13px;background:var(--snow)}
.panel-heading,.detail-line {display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
.panel-heading > div:first-child {min-width:0}
.subtitle {margin:5px 0 8px;font-size:12px}
.inline-empty {padding:10px 3px;font-size:12px;line-height:1.5}
.app-shell {
  max-width:1600px;margin:auto;min-height:calc(100dvh - clamp(28px,13.32vh,160px));display:grid;grid-template-rows:auto minmax(min-content,1fr) auto;
  background:var(--canvas);border:1px solid var(--edge);border-radius:20px;
  padding:clamp(12px,1.4vw,23px);
}
.app-header {
  min-height:51px;display:grid;grid-template-columns:minmax(100px,.85fr) minmax(345px,3.45fr) minmax(245px,2.55fr);
  align-items:center;gap:clamp(12px,3vw,50px);margin-bottom:clamp(22px,3vw,46px);
}
.brand {display:inline-flex;align-items:center;gap:7px;text-align:left;justify-self:start;white-space:nowrap;color:var(--ink)}
.brand-mark {width:35px;height:35px}
.brand-mark img {width:100%;height:100%;object-fit:contain}
.brand-label {display:grid;gap:2px}
.brand-label strong {font-size:17px;font-weight:650;letter-spacing:-.04em;line-height:1}
.brand-label > span {font-size:10px;color:var(--muted)}
.nav-pill {
  background:#372b25;color:var(--snow);border-radius:999px;display:flex;align-items:center;gap:2px;padding:3px;
  box-shadow:0 13px 21px #372b2522;min-width:0;position:relative;isolation:isolate;
}
.motion-nav-indicator {position:absolute;inset:0 auto auto 0;border-radius:999px;background:#fff;pointer-events:none}
.nav-pill > button {
  position:relative;flex:1;display:inline-flex;align-items:center;justify-content:center;gap:6px;
  padding:0 12px;background:transparent;color:#eaded1;border-radius:999px;min-height:43px;white-space:nowrap;font-size:16px;
  transition:background .16s,color .16s,transform .12s;
}
.nav-pill > button svg {display:none}
.nav-pill > button[aria-current] {color:#372b25;background:#fff}
.nav-pill:has(.motion-nav-indicator:not([hidden])) > button[aria-current] {background:transparent}
.nav-pill.motion-nav-moving > button {color:#fff;mix-blend-mode:difference}
.nav-pill.motion-nav-moving > button[aria-current] {color:#fff}
.nav-pill.motion-nav-moving .nav-saved {color:var(--accent-ink)}
.nav-pill > button[aria-current] svg {display:block}
.nav-pill > button:focus-visible {outline-color:var(--accent);outline-offset:0}
.nav-pill > button:active,.button:active,.icon-button:active,.filter-chip:active {transform:translateY(1px)}
.header-actions {justify-self:end;display:flex;gap:7px;align-items:center;min-width:0;width:100%}
.global-search {display:flex;align-items:center;gap:9px;min-width:0;flex:1;padding:0 15px;background:var(--surface);border:1px solid var(--edge);border-radius:999px;height:48px}
.global-search:focus-within {outline:2px solid var(--focus);outline-offset:2px}
.global-search input {width:100%;min-width:0;background:transparent;border:0;outline:none;font-size:14px;padding:0}
.global-search input:focus-visible {outline:none}
.global-search input::placeholder {color:var(--muted);opacity:1}
.icon-button {
  position:relative;display:grid;place-items:center;flex:none;width:38px;height:38px;padding:0;
  border-radius:50%;background:var(--paper);border:1px solid var(--edge);transition:background .17s,transform .14s,color .17s;
}
.bag-button {width:48px;height:48px;background:var(--surface)}
.icon-button.compact {width:34px;height:34px}
.icon-button.dark {border-radius:11px;background:var(--ink);color:var(--snow);border-color:transparent}
.bag-count,.nav-saved {display:grid;place-items:center;min-width:16px;height:16px;padding:0 4px;background:var(--accent);border-radius:999px;color:var(--accent-ink);font-size:10px;font-weight:700}
.bag-count {position:absolute;right:-2px;top:-2px}
.nav-saved {margin-left:-2px}
.profile-button {display:flex;align-items:center;gap:8px;min-height:48px;text-align:left;background:var(--surface);border:1px solid var(--edge);border-radius:999px;padding:2px 13px 2px 3px;white-space:nowrap}
.profile-button strong,.profile-button small {display:block}
.profile-button strong {font-size:16px;font-weight:480}
.profile-button small {color:var(--muted);font-size:10px}
.profile-avatar {display:grid;place-items:center;width:40px;height:40px;flex:none;border-radius:50%;font-size:15px;font-weight:650}
.tint-sage {background:#dfe3ca;color:#515b36}
.tint-peach {background:#efd5c3;color:#75442f}
.tint-butter {background:#ede1bd;color:#6a5731}
.tint-lilac {background:#e7dacf;color:#695140}
.tint-blue {background:#ddd6ca;color:#5e5548}
.app-footer {
  display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);padding:12px 0 0;
  font-size:10px;margin-top:auto;
}
.footer-slash {margin:0 5px}

.button {display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:10px;padding:8px 12px;min-height:38px;line-height:1.2;font-size:13px;text-align:center;transition:background .16s,transform .14s,color .16s}
.button.primary {background:var(--ink);color:#fff}
.button.soft {background:var(--well);color:var(--ink)}
.button.wide {width:100%}
.filter-chip {
  display:inline-flex;align-items:center;justify-content:center;gap:4px;background:var(--well);color:var(--ink);
  padding:6px 10px;border-radius:999px;min-height:29px;font-size:11px;white-space:nowrap;transition:background .16s,color .16s;
}
.filter-chip[aria-pressed="true"] {background:var(--ink);color:#fff}
.capsule-group {display:flex;flex-wrap:wrap;gap:5px}
.select-control {display:inline-flex;align-items:center;position:relative;min-width:0;max-width:100%}
.select-control select {appearance:none;background:var(--well);border:0;border-radius:999px;padding:6px 23px 6px 9px;max-width:100%;min-height:30px;font-size:11px}
.select-control svg {position:absolute;right:7px;pointer-events:none}
.select-control.has-label {display:grid;gap:3px}
.select-control.has-label svg {bottom:8px}
.select-caption {padding-left:5px;font-size:11px;color:var(--muted)}
.status-chip,.accent-chip {
  display:inline-flex;align-items:center;gap:4px;line-height:1.2;width:max-content;max-width:100%;
  background:#dfe3ca;color:#4c5634;border-radius:999px;padding:4px 8px;
  font-size:10px;white-space:nowrap;font-weight:520;
}
.status-chip i {display:none}
.status-chip.held,.tag-toys {background:#f0d4c3;color:#76432e}
.tag-feeding {background:#dfe3ca;color:#515b36}
.tag-walks {background:#ebdfc1;color:#6a5731}
.tag-home {background:#ecded7;color:#705446}
[data-action="favorite"][aria-pressed="true"] {background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}
[data-action="favorite"][aria-pressed="true"] svg {fill:currentColor}
.check-control {display:flex;align-items:flex-start;gap:8px;color:var(--muted);line-height:1.45;cursor:pointer}
input[type="checkbox"],input[type="radio"] {accent-color:var(--ink)}
.check-control input {flex:none;width:13px;height:13px;margin:2px 0 0}
.shop-avatar {width:35px;height:35px;display:grid;place-items:center;border-radius:50%;flex:none;background-color:var(--well)}
.shop-avatar.tint-sage {background:#dfe3ca}
.shop-avatar.tint-peach {background:#efd5c3}
.shop-avatar.tint-butter {background:#ede1bd}
.shop-avatar.tint-lilac {background:#e7dacf}
.shop-avatar.large {width:52px;height:52px}
.photo {position:relative;display:block;overflow:hidden;isolation:isolate}
.photo > img,.sprite {width:100%;height:100%;object-fit:cover}
.photo > img {object-position:58% 46%}
.sprite {position:absolute;inset:0;display:block;background-repeat:no-repeat;background-position:var(--sprite-x) var(--sprite-y)}
.pet-sprite {background-image:url(assets/pet-sheet.png);background-size:300% 200%}
.supply-sprite {background-image:url(assets/supply-sheet.png);background-size:200% 200%}
.small-photo {flex:none;width:34px;height:34px;border-radius:50%}
.small-photo > img,.slot-photo > img,.identity-photo > img {object-position:63% 39%}

.gate-header {grid-template-columns:1fr auto;margin-bottom:13px}
.environment {font-size:11px;color:var(--muted)}
.gate {display:grid;place-items:center;flex:1;padding:7px 0 16px}
.gate-card {width:min(100%,490px);border-radius:22px;padding:clamp(22px,3.4vw,39px);border:1px solid var(--edge);background:var(--surface)}
.gate-card .accent-chip {padding:5px 10px;font-size:11px}
.gate h1 {font-size:clamp(30px,3.2vw,43px);letter-spacing:-.055em;margin:13px 0 8px}
.gate-copy {font-size:14px;line-height:1.5;color:var(--muted);margin-bottom:18px}
.gate-fields {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 8px}
.gate-fields > label {display:grid;gap:5px;min-width:0;font-size:12px;color:var(--muted)}
.gate-fields .full {grid-column:1/-1}
.field-well {display:flex;align-items:center;gap:8px;padding:0 11px;background:var(--paper);border-radius:8px;min-height:42px}
.field-well input {background:transparent;border:0;width:100%;min-width:0;padding:6px 0;color:var(--ink);font-size:13px}
.gate-note,.dialog-note {font-size:11px;line-height:1.5;color:var(--muted);margin:10px 0}
.profile-choices,.topics {padding:0;border:0;min-inline-size:0;margin:12px 0}
.profile-choices legend,.topics legend {margin-bottom:6px;color:var(--muted);font-size:12px}
.profile-options {display:flex;gap:5px}
.profile-option {position:relative;cursor:pointer}
.profile-option input {position:absolute;opacity:0;width:1px;height:1px}
.profile-option > span {display:block;padding:7px 12px;border-radius:999px;background:var(--well);font-size:12px}
.profile-option input:checked + span {background:var(--ink);color:#fff}
.profile-option input:focus-visible + span {outline:2px solid var(--focus);outline-offset:3px}
.gate-check {font-size:12px;margin-bottom:15px}
.gate .button {min-height:43px}
.auth-switch {font-size:12px;margin-top:13px;color:var(--muted);text-align:center}
.auth-switch button {color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.login-card {display:flex;gap:10px;align-items:center;background:var(--well);border-radius:12px;padding:10px;margin-bottom:13px}
.login-card > div {flex:1;display:grid;gap:3px}
.login-card strong {font-size:14px}
.login-card small {color:var(--muted)}

.workspace {flex:1;min-width:0}
.framed-workspace {display:flex;flex-direction:column}
.framed-workspace > .market-grid,.framed-workspace > .table-grid {flex:1}
.market-grid {display:grid;grid-template-columns:minmax(0,23fr) minmax(0,46fr) minmax(0,30fr);grid-template-areas:"left center right";gap:var(--gap);align-items:stretch}
.left-rail,.right-rail,.central-stack {display:flex;flex-direction:column;gap:var(--gap);min-width:0}
.market-grid > .left-rail {grid-area:left}
.market-grid > .right-rail {grid-area:right}
.market-grid > .central-stack,.directory-panel {grid-area:center}
.list-row {
  display:flex;gap:8px;align-items:center;text-align:left;min-width:0;width:100%;padding:5px 6px;border-radius:9px;
  background:transparent;transition:background .17s;
}
.list-row > span:nth-child(2),.visit-row > span:nth-child(2) {flex:1;min-width:0}
.list-row strong,.list-row small,.visit-row strong,.visit-row small,.activity-row strong,.activity-row small {display:block;line-height:1.35}
.list-row strong,.visit-row strong,.activity-row strong {font-size:14px;font-weight:480}
.list-row small,.visit-row small,.activity-row small {font-size:12px;margin-top:2px;color:var(--muted)}
.list-row.selected {background:var(--snow)}
.pet-list .list-row {min-height:49px}
.saved-list {min-height:132px}
.saved-list .panel-heading {margin-bottom:8px}
.checklist {flex:1;min-height:184px}
.checklist .icon-button {width:33px;height:33px}
.checklist-content {margin-top:9px;padding:10px}
.checklist-content p {margin-bottom:10px;font-weight:590;font-size:13px}
.checklist-content .check-control {font-size:12px;padding-block:4px}
.pet-identity {display:grid;grid-template-columns:61px minmax(0,1fr) auto;align-items:center;gap:11px;min-height:85px}
.identity-photo {width:61px;height:61px;border-radius:12px}
.identity-title {display:flex;flex-wrap:wrap;align-items:center;gap:5px 8px;margin-bottom:7px}
.identity-title h2 {font-size:25px;font-weight:600}
.identity-summary {display:flex;align-items:center;gap:7px 15px;flex-wrap:wrap}
.identity-summary > span {display:flex;align-items:center;gap:5px}
.identity-summary svg {padding:5px;width:27px;height:27px;border-radius:6px;background:var(--well)}
.identity-summary small,.identity-summary strong {display:block;font-size:10px;line-height:1.25}
.identity-summary strong {font-size:12px;font-weight:480}
.identity-summary small {color:var(--muted)}
.identity-actions {display:flex;gap:6px}
.discover-stage {display:grid;align-items:end;position:relative;flex:1;min-height:clamp(380px,36vw,570px)}
.pet-scene {position:relative;min-width:0;perspective:1050px;overflow:hidden}
.discover-stage .pet-scene {position:absolute;inset:0}
.depth-scene,.motion-pet-previous {position:absolute;inset:8px 10px 12px;display:grid;grid-template:minmax(0,1fr) / minmax(0,1fr);place-items:center;transform-style:preserve-3d}
.ground-plane {
  position:absolute;top:86%;left:18%;width:61%;height:9%;border-radius:50%;background:#6b513623;filter:blur(15px);
  transform:translate3d(calc(var(--drag-x,0px)*-.4),calc(var(--drag-y,0px)*-.4),-12px);pointer-events:none;
}
.focus-cutout,.focus-photo {grid-area:1/1;transform:translate3d(var(--drag-x,0px),var(--drag-y,0px),20px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg))}
.motion-pet-previous {pointer-events:none;z-index:1;--drag-x:0px;--drag-y:0px;--rx:0deg;--ry:0deg}
.focus-cutout {width:90%;height:100%;min-width:0;min-height:0;object-fit:contain;object-position:center}
.discover-stage .focus-cutout,.discover-stage .focus-photo {margin-right:12%}
.focus-photo,.fallback-photo {width:auto;height:88%;max-width:min(65%,370px);min-width:0;min-height:0;aspect-ratio:1;border-radius:22px;object-fit:cover}
.focus-photo img {position:absolute;inset:0}
.floating-pets {align-self:end;justify-self:end;position:relative;width:min(42%,258px);display:grid;gap:4px;margin:0 8px 8px 0;z-index:1}
.floating-pets > button {display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:5px;align-items:center;text-align:left;min-height:37px;border-radius:10px;background:var(--surface);padding:5px 7px;box-shadow:0 3px 10px #372b250b}
.floating-pets > button.current {background:var(--ink);color:#fff}
.floating-pets strong,.floating-pets small {display:block;font-size:12px;line-height:1.25}
.floating-pets small {font-size:9px;color:var(--muted)}
.floating-pets .current small {color:#ddcbb9}
.number-tag {display:grid;place-items:center;width:22px;height:22px;border-radius:6px;background:var(--snow);color:var(--ink);font-size:9px;font-weight:700}
.plan-price {font-size:10px;white-space:nowrap}
.compare-actions {display:grid;grid-template-columns:1fr 1fr;gap:4px}
.compare-actions .button {min-height:34px;padding:5px;font-size:11px}
.compare-actions .button.soft {background:var(--surface)}
.overview-stats {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.summary-card {display:grid;grid-template-columns:1fr;gap:7px}
.summary-card span,.metric-card span {font-size:12px;color:var(--muted)}
.summary-card strong,.metric-card strong {font-size:34px;font-weight:520;letter-spacing:-.05em;line-height:1}
.summary-card > i {height:25px;border-radius:6px;background:#a6ae80}
.summary-card.coral > i {background:#cf9073}
.dot-grid {height:17px;background-image:radial-gradient(#8b735f 0.6px,transparent 0.7px);background-size:5px 5px;width:var(--bar-fill)}
.assistant-panel {flex:1;display:flex;flex-direction:column;min-height:332px}
.assistant-panel .panel-heading {justify-content:flex-start}
.assistant-panel .panel-heading h2 {font-size:15px}
.assistant-panel .panel-heading small {font-size:11px}
.assistant-mark {width:35px;height:35px;border-radius:50%;display:grid;place-items:center;flex:none;background:var(--ink);color:#fff}
.assistant-messages {flex:1;display:flex;flex-direction:column;gap:12px;padding:12px 0;font-size:12px;line-height:1.45}
.assistant-question {align-self:flex-end;background:var(--ink);color:var(--snow);padding:7px 9px;border-radius:9px;max-width:78%}
.assistant-answer {display:flex;align-items:start;gap:6px;max-width:90%}
.assistant-answer .assistant-mark,.assistant-bar .assistant-mark {width:27px;height:27px}
.assistant-answer p {background:var(--snow);padding:8px;border-radius:9px}
.prompt-chips {display:flex;gap:4px;flex-wrap:wrap;margin-bottom:10px}
.prompt-chips .filter-chip {font-size:9px;padding:5px 7px;min-height:26px}
.prompt-chips .filter-chip:not([aria-pressed=true]) {background:var(--snow)}
.assistant-bar {display:flex;align-items:center;justify-content:space-between;gap:7px;background:var(--snow);min-height:37px;border-radius:999px;padding:3px 4px 3px 10px;color:var(--muted);font-size:11px}
.assistant-bar > span:first-child {display:flex;align-items:center;gap:7px}
.overview-history .panel-heading {margin-bottom:8px}

.catalog-left,.catalog-center,.catalog-right {min-height:0}
.profile-panel .panel-heading {margin-bottom:11px}
.profile-tile {display:flex;align-items:center;gap:8px;padding:7px}
.profile-tile strong,.profile-tile small {display:block}
.profile-tile small {color:var(--muted);margin-top:2px}
.profile-panel .capsule-group {margin-top:11px}
.pet-filters .panel-heading {margin-bottom:7px}
.pet-legend {display:grid;gap:2px}
.legend-row {display:grid;grid-template-columns:12px minmax(0,1fr) auto;align-items:center;gap:7px;width:100%;padding:4px 2px;min-height:27px;background:none;text-align:left;color:var(--muted);font-size:12px;border-radius:7px}
button.legend-row[aria-pressed="true"] {color:var(--ink);font-weight:550}
.legend-row strong {color:var(--ink);font-weight:520;font-variant-numeric:tabular-nums}
.legend-dot {width:8px;height:8px;display:block;border-radius:50%;background:#9a8c7b;flex:none}
.dot-all {background:#9a8c7b}
.dot-cat {background:var(--blue)}
.dot-dog,.dot-hold {background:#b57454}
.dot-small {background:var(--lilac)}
.dot-sale {background:#75814f}
.catalog-chart h1 {font-size:19px}
.catalog-chart .panel-heading {margin-bottom:9px}
.catalog-tools {display:flex;align-items:center;justify-content:flex-end;gap:6px;min-width:0}
.catalog-tools > .muted {font-size:11px;white-space:nowrap}
.catalog-strips {display:grid;gap:8px}
.catalog-strip {padding:8px 9px;background:var(--paper)}
.catalog-strip > p {color:var(--muted);font-size:12px;margin-bottom:6px}
.strip-slots {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;min-height:72px}
.pet-slot {
  display:grid;align-content:start;justify-items:center;grid-template-columns:1fr;gap:3px;width:100%;min-width:0;
  padding:1px 1px 3px;background:transparent;border-radius:9px;font-size:11px;transition:background .17s;
}
.slot-photo {width:clamp(32px,3.3vw,53px);height:clamp(32px,3.3vw,53px);border-radius:11px}
.pet-slot > span:last-child {display:flex;align-items:center;gap:4px;border-radius:6px;max-width:100%;padding:3px 6px;background:var(--well);line-height:1.1}
.pet-slot .legend-dot {width:6px;height:6px}
.pet-slot[aria-pressed="true"] > span:last-child {background:var(--ink);color:#fff}
.strip-empty {grid-column:1/-1;align-self:center;padding:4px;font-size:12px;color:var(--muted)}
#pet-viewer {display:flex;flex:1;min-height:0}
.catalog-viewer {flex:1;display:flex;flex-direction:column;min-height:clamp(370px,36vw,600px)}
.catalog-viewer .pet-scene {flex:1;min-height:250px}
.catalog-viewer .focus-cutout {height:95%}
.catalog-viewer .ground-plane {top:86%;width:60%}
.catalog-viewer .panel-heading small {display:block;margin-top:5px}
.view-actions {display:flex;gap:6px}
.view-actions .icon-button {width:33px;height:33px}
.catalog-identity {display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;margin-bottom:10px}
.catalog-identity h2 {margin-bottom:3px}
.profile-index {width:43px;height:43px;display:grid;place-items:center;background:var(--ink);color:var(--snow);border-radius:12px;font-size:17px;font-weight:570}
.catalog-profile {container-type:inline-size}
.catalog-facts {display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));gap:6px;margin-bottom:10px}
.catalog-facts > div {background:var(--snow);border-radius:10px;padding:9px 7px;min-width:0}
.catalog-facts dt {font-size:11px;color:var(--muted);margin-bottom:5px}
.catalog-facts dd {font-size:13px;font-weight:480;overflow-wrap:anywhere}
.catalog-facts > div:last-child dd {white-space:nowrap;overflow-wrap:normal}
@container (max-width:330px) {
  .catalog-facts {grid-template-columns:repeat(2,minmax(0,1fr))}
}
.listing-visit {padding:10px;margin-bottom:10px}
.listing-visit h3 {margin-bottom:6px}
.visit-row {display:flex;gap:8px;align-items:center;text-align:left;width:100%;background:transparent;border-radius:9px;padding:4px 0;min-height:38px}
.visit-row .shop-avatar {width:32px;height:32px}
.catalog-actions {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.catalog-actions .button {padding-inline:5px}
.paired-products .panel-heading {margin-bottom:9px}
.mini-products {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.mini-product {text-align:left;background:none;min-width:0;padding:0;border-radius:9px}
.paired-photo {width:100%;height:clamp(58px,7vw,112px);border-radius:9px}
.mini-product > span:last-child {display:block;margin-top:6px;font-size:10px;color:var(--muted)}
.activity-panel {flex:1;min-height:174px}
.activity-panel .panel-heading {margin-bottom:8px}
.activity-row {
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:7px 8px;
  border-radius:9px;background:var(--paper);min-height:40px;font-size:11px;
}
.activity-row + .activity-row {margin-top:6px}

.supply-metrics {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--gap);margin-bottom:var(--gap)}
.metric-card {display:grid;gap:8px}
.metric-card > div {display:flex;justify-content:space-between;align-items:center;gap:5px}
.metric-card small {color:var(--muted);font-size:11px}
.type-icon {width:27px;height:27px;display:grid;place-items:center;border-radius:50%;background:var(--well);flex:none}
.table-grid {display:grid;grid-template-columns:minmax(0,3fr) minmax(0,1.13fr);gap:var(--gap)}
.supply-list {min-height:420px}
.page-heading .button {border-radius:999px}
.filters-line {display:flex;justify-content:space-between;align-items:center;gap:8px;margin:10px 0}
.filters-line > span {font-size:11px;white-space:nowrap}
.table-scroll {position:relative;max-width:100%;min-width:0;overflow-x:auto;scrollbar-width:thin}
.compact-table {width:100%;border-collapse:separate;border-spacing:0 4px;text-align:left;font-size:12px}
.compact-table th {font-weight:500;color:var(--muted);background:var(--snow)}
.compact-table th,.compact-table td {padding:8px 7px;line-height:1.35}
.compact-table tr > :first-child {border-radius:8px 0 0 8px}
.compact-table tr > :last-child {border-radius:0 8px 8px 0}
.compact-table tr + tr td {border-top:1px solid #e8ddcf}
.overview-history .compact-table th,.overview-history .compact-table td {padding:7px 4px}
.overview-history td:first-child {min-width:44px}
.overview-history td:last-child {white-space:nowrap}
.supply-table {min-width:545px}
.supply-table td {background:var(--paper);font-size:12px}
.supply-table tr > :last-child {text-align:right}
.supply-table .list-row {padding:0;min-width:120px}
.supply-table .list-row strong {font-size:14px}
.supply-table .small-photo {width:35px;height:35px;border-radius:8px}
.supply-table .icon-button {background:var(--well);margin-left:auto}
.supplies-workspace .supply-catalog:last-child {flex:1}
.supply-catalog .panel-heading {margin-bottom:7px}
.supply-catalog .visit-row {background:var(--paper);border-radius:9px;padding:6px;margin-top:4px}
.supply-catalog .visit-row b {font-size:11px;white-space:nowrap}
.supply-catalog .small-photo,.shop-supply-row .small-photo {border-radius:7px}
.bag-summary .activity-row {font-size:11px}
.bag-summary .activity-row > span:last-child {color:var(--muted)}

.store-grid {grid-template-columns:minmax(0,23fr) minmax(0,56fr) minmax(0,21fr)}
.directory-filter .pet-legend {margin-top:9px}
.directory-filter button[aria-pressed="true"] {background:var(--ink);color:#fff;padding-inline:7px}
.directory-filter button[aria-pressed="true"] strong {color:var(--accent)}
.directory-panel .subtitle {margin:4px 0 11px}
.store-cards {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.store-card {display:flex;flex-direction:column;padding:13px;border:1px solid transparent;border-radius:11px;background:var(--paper);min-width:0}
.store-card.store-selected {border-color:#92775e}
.store-identity {display:flex;align-items:center;gap:7px}
.store-identity h2,.store-identity h3 {overflow-wrap:anywhere}
.store-identity h3 {font-size:16px;font-weight:530}
.store-identity p {color:var(--muted);font-size:11px;margin-top:4px}
.store-facts {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:12px 0}
.store-facts > div {background:var(--snow);border-radius:7px;padding:8px 7px;min-width:0}
.store-facts dt {font-size:11px;color:var(--muted)}
.store-facts dd {margin-top:3px;font-size:13px;font-weight:500;overflow-wrap:anywhere}
.store-listings {margin-bottom:10px}
.store-listings > p {margin-bottom:5px;font-size:11px}
.store-listings .listing-hold {background:#f0d4c3;color:#76432e}
.store-actions {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin-top:auto}
.store-actions .button {padding:6px 3px;min-height:37px;font-size:12px;border-radius:999px}
.store-preview {display:flex;flex-direction:column;flex:1}
.store-preview h3 {margin:15px 0 6px}
.store-preview .list-row {background:var(--paper);margin-bottom:4px}
.store-preview > p,.shop-overview > p {font-size:12px;line-height:1.55;margin:8px 0}
.store-preview-action {margin-top:auto;padding-top:11px}
.store-preview .shop-avatar,.shop-overview .shop-avatar {width:48px;height:48px}
.shop-overview .store-identity {margin-top:10px}
.shop-workspace .result-panel > .panel-heading:nth-child(2) {margin-top:10px}

.simple-workspace {display:grid;align-content:start;gap:var(--gap)}
.result-panel .panel-heading {margin-bottom:7px}
.result-panel .panel-heading + .subtitle {margin-top:-3px}
.result-row {
  display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1.2fr) auto auto auto;gap:7px;align-items:center;
  padding:4px 6px;background:var(--paper);border-radius:9px;min-width:0;
}
.result-row + .result-row {margin-top:4px}
.result-row > strong {font-size:12px;white-space:nowrap}
.result-shop {color:var(--muted);font-size:11px}
.result-row .icon-button {width:34px;height:34px}
.shop-workspace .result-row {grid-template-columns:minmax(0,1fr) auto auto auto}
.shop-workspace .result-shop {display:none}
.shop-supply-row {display:flex;align-items:center;gap:3px;min-width:0;background:var(--paper);border-radius:9px;padding:4px}
.shop-supply-row + .shop-supply-row {margin-top:5px}
.empty-state {display:grid;justify-items:center;align-content:center;gap:6px;padding:19px 9px;text-align:center;border:0;background:var(--paper)}
.empty-state > span {display:grid;place-items:center;border-radius:50%;background:var(--well);width:39px;height:39px}
.empty-state p {font-size:12px;color:var(--muted)}
.empty-state .button {margin-top:4px}

.dialog {
  width:min(650px,calc(100vw - 24px));max-height:calc(100dvh - 30px);padding:0;background:var(--surface);
  color:var(--ink);border:1px solid var(--edge);border-radius:17px;box-shadow:0 18px 55px #372b2550;
}
.dialog::backdrop {background:#372b2588}
@supports (transition-behavior:allow-discrete) {
  .dialog {
    opacity:0;translate:0 12px;scale:.982;
    transition:opacity .17s var(--ease),translate .22s var(--ease),scale .22s var(--ease),
      display .22s allow-discrete,overlay .22s allow-discrete;
  }
  .dialog[open] {opacity:1;translate:0 0;scale:1}
  .dialog:not([open]),.dialog:not([open])::backdrop {pointer-events:none}
  .dialog::backdrop {
    background-color:#372b2500;
    transition:background-color .19s var(--ease),display .19s allow-discrete,overlay .19s allow-discrete;
  }
  .dialog[open]::backdrop {background-color:#372b2588}
  @starting-style {
    .dialog[open] {opacity:0;translate:0 15px;scale:.975}
    .dialog[open]::backdrop {background-color:#372b2500}
  }
  .dialog.motion-quick-close:not([open]),.dialog.motion-quick-close:not([open])::backdrop {transition:none}
}
.motion-bag-flight {position:fixed;z-index:8;pointer-events:none;overflow:hidden;border-radius:10px;box-shadow:0 5px 12px #372b2533}
.motion-bag-flight > .photo {width:100%;height:100%;border-radius:inherit}
.dialog-bag {width:min(510px,calc(100vw - 24px))}
.dialog-account,.dialog-guide,.dialog-inquiry,.dialog-order-result,.dialog-inquiry-result {width:min(432px,calc(100vw - 24px))}
.dialog-inner {padding:18px}
.dialog-heading {display:flex;gap:8px;align-items:start;justify-content:space-between;margin-bottom:13px}
.dialog-heading .kicker {font-size:11px;color:var(--muted)}
.dialog-heading h2 {font-size:clamp(23px,4vw,30px);letter-spacing:-.04em;line-height:1.1;margin-top:5px}
.dialog-close {background:var(--well);width:34px;height:34px}
.detail-layout {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.detail-photo {aspect-ratio:1;align-self:start;border-radius:12px}
.detail-body {min-width:0}
.detail-price {font-size:22px;letter-spacing:-.04em}
.detail-body > p,.dialog-copy,.guide-list,.result-message p {font-size:13px;line-height:1.6;color:var(--muted);margin:9px 0}
.merchant-row {display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;text-align:left;gap:7px;width:100%;padding:6px;border-radius:9px;background:var(--well)}
.merchant-row strong,.merchant-row small {display:block}
.merchant-row strong {font-size:13px}
.merchant-row small {color:var(--muted);font-size:11px}
.dialog-actions {display:flex;align-items:center;gap:7px;margin-top:10px}
.dialog-actions .button {flex:1}
.dialog-actions .icon-button {background:var(--well)}
.dialog-product .detail-body > .button {margin-top:10px}
.unavailable {color:var(--muted);background:var(--well);border-radius:8px;padding:9px 6px;font-size:12px;text-align:center;flex:1}
.facts {display:grid;grid-template-columns:minmax(85px,1.45fr) repeat(2,minmax(0,1fr));gap:4px;margin-top:8px}
.facts > div {min-width:0;padding:6px;background:var(--snow);border-radius:8px}
.facts dt {font-size:10px;color:var(--muted)}
.facts dd {font-size:12px;font-weight:500;margin-top:3px;line-height:1.4}
.bag-lines {display:grid;gap:6px}
.bag-line {background:var(--paper);border-radius:9px;display:grid;grid-template-columns:43px minmax(0,1fr) auto;gap:8px;align-items:center;padding:6px}
.bag-line .photo {width:43px;aspect-ratio:1;border-radius:7px}
.bag-line strong,.bag-line small {display:block;font-size:13px}
.bag-line small {font-size:11px;color:var(--muted);margin-top:3px}
.stepper {display:flex;align-items:center;border-radius:8px;border:1px solid var(--line);background:var(--snow);white-space:nowrap}
.stepper button {width:30px;height:33px;display:grid;place-items:center;border-radius:7px}
.stepper span {min-width:21px;text-align:center;font-size:12px;font-weight:650}
.bag-total {margin-top:11px;border-top:1px solid var(--line);padding-top:10px}
.bag-total > div {display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:12px;color:var(--muted)}
.bag-total strong {font-size:21px;color:var(--ink);letter-spacing:-.04em}
.bag-total p {text-align:center;font-size:11px;color:var(--muted);margin-top:7px;line-height:1.5}
.topics {display:grid;gap:4px}
.topics label {display:flex;align-items:center;gap:6px;font-size:13px;padding:6px;background:var(--well);border-radius:8px}
.guide-list {padding-left:20px;margin-bottom:13px}
.guide-list li + li {margin-top:6px}
.result-message .button {margin-top:6px}
.result-icon {background:var(--accent);color:var(--accent-ink);width:40px;height:40px;display:grid;place-items:center;border-radius:50%}
.toast {
  opacity:0;visibility:hidden;pointer-events:none;position:fixed;z-index:5;bottom:16px;left:50%;transform:translate(-50%,8px);
  background:var(--ink);color:var(--snow);box-shadow:0 5px 16px #372b2539;border-radius:999px;padding:8px 14px;
  font-size:12px;text-align:center;max-width:95vw;transition:transform .18s,opacity .16s,visibility .16s;
}
.toast.shown {opacity:1;visibility:visible;transform:translate(-50%,0)}

@media (hover:hover) {
  .nav-pill > button:hover:not([aria-current]) {background:#574033;color:#fff}
  .button.primary:hover:not(:disabled),.icon-button.dark:hover {background:#5c4131}
  .button.soft:hover,.icon-button:not(.dark):hover,.profile-button:hover,.filter-chip:not([aria-pressed="true"]):hover,.stepper button:hover {background:#dfceba}
  .list-row:hover,button.legend-row:hover:not([aria-pressed="true"]),.visit-row:hover,.merchant-row:hover,.pet-slot:hover {background:#e9dccb}
  .floating-pets > button:not(.current):hover {background:var(--snow)}
  .mini-link:hover,.text-btn:hover,.mini-product:hover > span:last-child {color:var(--ink);text-decoration:underline;text-underline-offset:2px}
  .mini-link:hover svg {translate:2px 0}
}
@media (min-width:861px) {
  .supply-table td {padding-block:11px}
  .supply-catalog .visit-row {min-height:52px}
  .store-cards {gap:10px}
  .store-card {min-height:220px}
  .store-grid .directory-filter .legend-row {min-height:33px}
}
@media (max-width:1200px) {
  body {padding-inline:3vw}
  .app-header {gap:14px}
  .nav-pill > button {padding-inline:9px;font-size:14px}
  .catalog-facts > div {padding-inline:5px}
  .store-card {padding:7px}
  .store-card .shop-avatar {width:39px;height:39px}
}
@media (max-width:1040px) {
  :root {--gap:9px;--pad:10px}
  .app-header {grid-template-columns:auto minmax(0,1fr) minmax(200px,1fr);gap:12px}
  .gate-header {grid-template-columns:1fr auto}
  .nav-pill > button {font-size:12px;padding-inline:7px;min-height:39px}
  .nav-pill > button[aria-current] svg {display:none}
  .global-search,.bag-button,.profile-button {height:42px;min-height:42px}
  .bag-button {width:42px}
  .profile-button .profile-avatar {width:34px;height:34px}
  .profile-button small {display:none}
  .profile-button {padding-right:9px}
  .global-search {padding-inline:10px;gap:4px}
  .catalog-identity {grid-template-columns:auto minmax(0,1fr);gap:6px}
  .catalog-identity .status-chip {grid-column:2}
  .profile-panel .filter-chip {padding-inline:7px;font-size:10px}
  .result-shop {display:none}
  .result-row {grid-template-columns:minmax(0,1fr) auto auto auto}
  .table-grid {grid-template-columns:minmax(0,1fr) minmax(190px,.39fr)}
}
@media (max-width:860px) {
  .market-grid {grid-template-columns:minmax(0,1fr) minmax(0,2.1fr);grid-template-areas:"left center" "right right"}
  .market-grid > .right-rail {grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start}
  .market-grid > .right-rail.catalog-right {grid-template-columns:repeat(2,minmax(0,1fr))}
  .catalog-right .catalog-profile {grid-row:span 2}
  .catalog-identity {grid-template-columns:auto minmax(0,1fr) auto}
  .catalog-identity .status-chip {grid-column:auto}
  .market-grid > .right-rail:empty {display:none}
  .discover-stage {min-height:380px}
  .app-header:not(.gate-header) {grid-template-columns:auto minmax(0,1fr)}
  .nav-pill {grid-column:1/-1;grid-row:2;width:min(100%,550px);justify-self:center}
  .header-actions {max-width:335px}
  .table-grid {grid-template-columns:1fr}
  .table-grid > .right-rail {display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .supply-list {min-height:0}
}
@media (max-width:590px) {
  :root {--gap:8px;--pad:11px;--r:13px}
  body {padding:0}
  .app-shell {min-height:100dvh;border:0;border-radius:0;padding:10px}
  .app-header {margin-bottom:16px;gap:7px}
  .brand {gap:4px}
  .brand-mark {width:30px;height:30px}
  .brand-label strong {font-size:14px}
  .brand-label > span {font-size:9px}
  .header-actions {gap:4px}
  .global-search {padding-inline:7px}
  .global-search input {font-size:11px}
  .select-caption {font-size:10px}
  .supply-table .list-row strong {font-size:12px}
  .global-search svg {width:14px}
  .global-search,.bag-button,.profile-button {min-height:35px;height:35px}
  .bag-button {width:35px}
  .bag-button svg {width:16px}
  .profile-button {width:35px;padding:2px}
  .profile-button > span:nth-child(2) {display:none}
  .profile-button .profile-avatar {width:29px;height:29px;font-size:13px}
  .nav-pill > button,.filter-chip,.select-control select {min-height:38px}
  .nav-pill > button {font-size:11px;padding-inline:3px}
  .nav-saved {height:13px;min-width:13px;font-size:9px;padding:0 2px}
  .app-footer {font-size:9px}
  .gate {padding-block:14px}
  .gate-card {padding:20px}
  .market-grid,.market-grid > .right-rail,.market-grid > .right-rail.catalog-right,.table-grid > .right-rail {grid-template-columns:minmax(0,1fr)}
  .market-grid > .right-rail {grid-column:auto}
  .catalog-right .catalog-profile {grid-row:auto}
  .market-grid {grid-template-areas:"center" "left" "right"}
  .catalog-workspace .market-grid {grid-template-areas:"center" "right" "left"}
  .discover-stage {min-height:340px}
  .discover-stage .focus-cutout,.discover-stage .focus-photo {margin-right:14%}
  .pet-identity {grid-template-columns:51px minmax(0,1fr) auto;gap:7px}
  .identity-photo {width:51px;height:51px}
  .identity-actions .icon-button {width:33px;height:33px}
  .identity-title h2 {font-size:19px}
  .identity-summary {gap:4px 7px}
  .identity-summary svg {width:22px;height:22px}
  .floating-pets {width:48%;margin-right:0}
  .plan-price {font-size:9px}
  .floating-pets > button {padding:4px;gap:4px}
  .summary-card strong,.metric-card strong {font-size:28px}
  .summary-card > i {height:17px}
  .assistant-panel {min-height:270px}
  .catalog-viewer {min-height:330px}
  .slot-photo {width:43px;height:43px}
  .strip-slots {min-height:64px}
  .paired-photo {height:105px}
  .supply-metrics {grid-template-columns:repeat(2,minmax(0,1fr))}
  .compact-table th,.compact-table td {padding-inline:5px}
  .supply-table {min-width:495px}
  .detail-layout {grid-template-columns:1fr}
  .detail-photo {width:min(100%,250px);margin:auto}
}
@media (max-width:340px) {
  .brand-label > span {display:none}
  .global-search svg {display:none}
  .nav-pill > button {min-height:35px;font-size:10px}
  .profile-button {width:32px;height:32px;min-height:32px;padding:1px}
  .identity-actions {gap:2px}
  .checklist-content {padding:8px}
  .result-row {grid-template-columns:minmax(0,1fr) auto auto}
  .result-row .status-chip {display:none}
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after {animation:none!important;transition:none!important;scroll-behavior:auto!important}
  .focus-cutout,.focus-photo,.ground-plane {transform:none!important}
}

/* Motion V2: independent entrance transforms compose with input-depth properties. */
:root {--motion-spring:cubic-bezier(.18,.9,.24,1.18);--motion-settle:cubic-bezier(.16,1,.3,1)}
.app-shell {isolation:isolate}
.brand,.global-search,.profile-button,.list-row,.visit-row,.merchant-row,.pet-slot,.mini-product,.store-card,.filter-chip,.select-control select,.floating-pets > button {
  transition:background-color .25s,color .25s,box-shadow .45s var(--motion-settle),translate .45s var(--motion-spring),rotate .5s var(--motion-settle),scale .45s var(--motion-spring);
}
.pet-scene {isolation:isolate}
.motion-pet-previous {z-index:1;transform-origin:center center}
.depth-scene {transform-origin:50% 62%}
.focus-cutout,.focus-photo {transition:filter .45s var(--motion-settle)}
.photo {overflow:hidden}
.photo > img {transition:scale .75s var(--motion-settle)}
.summary-card > strong,.metric-card > strong {transform-origin:left bottom;font-variant-numeric:tabular-nums}
.summary-card > i,.dot-grid {transform-origin:left center}
.gate-fields label,.check-control,.catalog-identity,.catalog-facts > div,.listing-visit,.catalog-actions,.assistant-answer,.assistant-question,.bag-line {transform-origin:left center}
.global-search:focus-within {box-shadow:0 8px 18px #372b2514;translate:0 -2px;background:var(--snow)}
.global-search > svg {transition:rotate .5s var(--motion-spring),scale .5s var(--motion-spring)}
.global-search:focus-within > svg {rotate:-18deg;scale:1.22}
.check-control {transition:color .3s,background-color .3s}
.check-control:has(input:checked) {color:var(--ink)}
.checklist-content .check-control:has(input:checked) {background:#a6ae8055;border-radius:5px}
.field-well {transition:box-shadow .4s,translate .4s var(--motion-spring)}
.field-well:focus-within {box-shadow:0 6px 13px #372b2515;translate:0 -2px}
.profile-option > span {transition:background .3s,scale .4s var(--motion-spring)}
.profile-option:has(input:checked) > span {scale:1.04}
.filter-chip[aria-pressed=true],.legend-row[aria-pressed=true] .legend-dot {box-shadow:0 3px 9px #372b2519}
.filter-chip:active,.legend-row:active {scale:.9}
button:not(:disabled):active .photo {scale:.94}
.button > svg,.icon-button > svg,.visit-row > svg:last-child,.merchant-row > svg:last-child {transition:translate .45s var(--motion-spring),rotate .4s var(--motion-spring),scale .4s var(--motion-spring)}
.button:focus-visible > svg,.visit-row:focus-visible > svg:last-child,.merchant-row:focus-visible > svg:last-child {translate:4px 0}
.list-row:focus-visible,.visit-row:focus-visible,.merchant-row:focus-visible,.pet-slot:focus-visible,.mini-product:focus-visible,.floating-pets > button:focus-visible {translate:0 -3px;box-shadow:0 9px 14px #372b251a}
.store-card:focus-within {box-shadow:0 12px 20px #372b2518}
.icon-button:focus-visible > svg {rotate:-10deg;scale:1.15}
.profile-button:focus-visible {translate:0 -3px}
/* Native modal semantics are immediate. WAAPI owns its actual entrance and flows. */
.dialog,.dialog[open] {transition:none;translate:none;scale:none;opacity:1}
.dialog::backdrop {transition:none}
.dialog-inner {overflow:hidden}
.motion-bag-flight {z-index:10;border-radius:14px;box-shadow:0 16px 26px #372b2535;transform-origin:center}
.toast {transition:opacity .2s,visibility .2s;transform:translateX(-50%)}
.toast.shown {transform:translateX(-50%)}
@media (hover:hover) and (pointer:fine) {
  .brand:hover {rotate:-3deg;scale:1.04}
  .profile-button:hover {translate:0 -4px;box-shadow:0 8px 16px #372b2518}
  .list-row:hover,.visit-row:hover,.merchant-row:hover {translate:4px -2px;box-shadow:0 8px 14px #372b2512}
  .pet-slot:hover {translate:0 -6px;rotate:-3deg;box-shadow:0 9px 15px #372b2518}
  .photo:hover > img,.list-row:hover .photo > img,.mini-product:hover .photo > img,.pet-slot:hover .photo > img {scale:1.09}
  .mini-product:hover {translate:0 -5px;rotate:1.5deg}
  .store-card:hover {translate:0 -6px;rotate:1deg;box-shadow:0 16px 23px #372b251c}
  .floating-pets > button:hover {translate:-7px -3px;rotate:-2deg;box-shadow:0 11px 18px #372b2522}
  .button:hover:not(:disabled) > svg,.visit-row:hover > svg:last-child,.merchant-row:hover > svg:last-child {translate:4px 0}
  .icon-button:hover:not(:disabled) > svg {rotate:-13deg;scale:1.17}
  .filter-chip:hover:not(:disabled) {translate:0 -3px;box-shadow:0 5px 9px #372b2514}
  .select-control:hover select {translate:0 -2px}
}
@media (max-width:590px) {
  .motion-bag-flight {max-width:48px;max-height:48px}
  .pet-scene {perspective:1200px}
  .list-row:focus-visible,.visit-row:focus-visible,.pet-slot:focus-visible {translate:0 -2px}
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after {animation:none!important;transition:none!important;scroll-behavior:auto!important}
  .brand,.profile-button,.global-search,.global-search > svg,.field-well,.profile-option > span,.list-row,.visit-row,.merchant-row,.pet-slot,.mini-product,.store-card,.filter-chip,.select-control select,.floating-pets > button,.button > svg,.icon-button > svg {translate:none!important;rotate:none!important;scale:none!important}
  .photo > img {scale:none!important}
}

/* Depth interaction creates additional silhouette clearance only while active. */
.focus-cutout,.focus-photo {transition:scale .45s var(--motion-settle)}
.depth-active .focus-cutout,.depth-active .focus-photo {scale:.93}
.photo > .sprite {transition:scale .75s var(--motion-settle)}
@media (hover:hover) and (pointer:fine) {
  .list-row:hover .sprite,.mini-product:hover .sprite,.pet-slot:hover .sprite {scale:1.09}
}
@media (prefers-reduced-motion:reduce) {
  .focus-cutout,.focus-photo,.photo > .sprite {scale:none!important}
}
/* Source portraits and sprite sheets receive the same keyboard media depth. */
.list-row:focus-visible .photo > img,.list-row:focus-visible .photo > .sprite,
.mini-product:focus-visible .photo > img,.mini-product:focus-visible .photo > .sprite,
.pet-slot:focus-visible .photo > img,.pet-slot:focus-visible .photo > .sprite {scale:1.09}
@media (prefers-reduced-motion:reduce) {
  .photo > img,.photo > .sprite {scale:none!important}
}
