:root {
  color-scheme: light;
  --ink: #18212f;
  --muted: #667085;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --line: #e6e1d8;
  --teal: #117f7a;
  --teal-dark: #0a5655;
  --coral: #ef6f51;
  --mustard: #d9a018;
  --lavender: #7467b3;
  --shadow: 0 18px 55px rgba(24, 33, 47, 0.11);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(251, 250, 247, .92), rgba(251, 250, 247, .98)),
    radial-gradient(circle at 12% 8%, rgba(239, 111, 81, .13), transparent 27rem),
    radial-gradient(circle at 86% 0%, rgba(17, 127, 122, .13), transparent 31rem),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.shell { width: calc(100% - 48px); max-width: 1440px; margin: 0 auto; }
.topbar {
  position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(230,225,216,.78);
  background: rgba(251,250,247,.88); backdrop-filter: blur(18px);
}
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 950; letter-spacing: 0; }
.brand-mark {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 8px;
  background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(248,244,236,.86));
  border: 1px solid rgba(24,33,47,.08); box-shadow: 0 10px 24px rgba(24,33,47,.14);
}
.brand-mark img { width: 36px; height: 36px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 22px; color: var(--muted); font-size: .94rem; font-weight: 750; }
.nav-links a:hover { color: var(--ink); }
.nav-link-button { border: 0; padding: 0; background: transparent; color: inherit; cursor: pointer; font: inherit; font-weight: inherit; }
.nav-link-button:hover { color: var(--ink); }
.icon { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.hero {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  align-items: center; gap: clamp(28px, 5vw, 70px); min-height: min(760px, calc(100svh - 72px)); padding: 64px 0 46px;
}
.hero > * { min-width: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content; border: 1px solid rgba(17,127,122,.22);
  border-radius: 999px; padding: 7px 12px; background: rgba(255,255,255,.72); color: var(--teal-dark); font-size: .82rem; font-weight: 900;
}
h1, h2, h3, p { margin: 0; }
h1 { margin-top: 22px; max-width: 760px; font-size: clamp(3rem, 7vw, 6.4rem); line-height: .94; letter-spacing: 0; }
.hero-copy { margin-top: 22px; max-width: 650px; color: #4e5b6d; font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-command {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px;
  width: min(100%, 470px); margin-top: 18px; border: 1px solid rgba(24,33,47,.1);
  border-radius: 8px; padding: 10px 10px 10px 14px; background: rgba(255,255,255,.78);
  box-shadow: 0 12px 32px rgba(24,33,47,.07);
}
.hero-command code { color: #25313f; }
.hero-command .icon-button { background: var(--ink); color: #fff; }
.hero-proof {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;
  width: min(100%, 520px); margin-top: 22px;
}
.proof-item {
  border: 1px solid rgba(230,225,216,.9); border-radius: 8px; padding: 13px 14px;
  background: rgba(255,255,255,.62);
}
.proof-item strong { display: block; font-size: 1.05rem; }
.proof-item span { display: block; margin-top: 3px; color: var(--muted); font-size: .78rem; font-weight: 800; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; border: 1px solid transparent;
  border-radius: 8px; padding: 0 16px; cursor: pointer; font-weight: 900; transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--ink); color: #fff; box-shadow: 0 12px 26px rgba(24,33,47,.18); }
.button.secondary { border-color: var(--line); background: rgba(255,255,255,.78); color: var(--ink); }
.hero-panel { position: relative; min-width: 0; min-height: 560px; }
.featured-pet {
  position: absolute; inset: 0; overflow: hidden; border: 1px solid rgba(230,225,216,.92); border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.34), rgba(255,255,255,.94)),
    radial-gradient(circle at 38% 26%, rgba(17,127,122,.16), transparent 21rem),
    radial-gradient(circle at 72% 66%, rgba(239,111,81,.16), transparent 18rem),
    #f6efe8;
  box-shadow: var(--shadow);
}
.stage-grid {
  position: absolute; inset: 0; background-image: linear-gradient(rgba(24,33,47,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(24,33,47,.045) 1px, transparent 1px);
  background-size: 32px 32px; mask-image: linear-gradient(180deg, black, transparent 88%);
}
.pet-scene {
  position: absolute; inset: 30px 34px 202px; display: grid; place-items: center; border: 1px solid rgba(24,33,47,.08);
  border-radius: 8px; background: linear-gradient(145deg, rgba(17,127,122,.1), transparent 42%), linear-gradient(330deg, rgba(239,111,81,.15), transparent 48%), rgba(255,255,255,.55);
}
.pet-scene img { width: min(340px, 70%); max-height: 82%; object-fit: contain; filter: drop-shadow(0 28px 24px rgba(24,33,47,.18)); animation: float 3.7s ease-in-out infinite; }
.hero-sprite-viewport {
  display: grid; place-items: center; width: min(48%, 245px); aspect-ratio: 12 / 13;
  animation: float 3.7s ease-in-out infinite;
}
.hero-sprite-frame {
  width: 100%; height: 100%; background-repeat: no-repeat; background-size: 800% var(--sprite-sheet-height, 900%);
  background-position: 0% var(--sprite-row-y, 62.5%); filter: drop-shadow(0 28px 24px rgba(24,33,47,.18));
  animation: sprite-row-six 1200ms steps(1) infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.pet-meta { position: absolute; right: 24px; bottom: 24px; left: 24px; display: block; }
.pet-meta h2 { font-size: clamp(1.45rem, 3vw, 2.1rem); line-height: 1; }
.pet-meta p { margin-top: 8px; max-width: 390px; color: var(--muted); line-height: 1.5; }
.hero-panel-label {
  display: inline-flex; align-items: center; width: fit-content; margin-bottom: 10px;
  border-radius: 999px; padding: 5px 9px; background: rgba(17,127,122,.1);
  color: var(--teal-dark); font-size: .76rem; font-weight: 900;
}
code { overflow: hidden; font-family: "SFMono-Regular", Consolas, monospace; font-size: .88rem; text-overflow: ellipsis; white-space: nowrap; }
.icon-button { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 8px; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; }
.section { padding: 74px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; }
.section-head p { max-width: 520px; color: var(--muted); line-height: 1.65; }
.spotlight { padding: 28px 0 8px; }
.spotlight-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.spotlight-panel { border: 1px solid var(--line); border-radius: 8px; padding: 18px; background: rgba(255,255,255,.74); box-shadow: 0 14px 40px rgba(24,33,47,.07); }
.spotlight-panel h2 { margin: 0 0 14px; font-size: 1.25rem; }
.mini-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.mini-card { display: grid; grid-template-columns: 76px minmax(0,1fr); gap: 10px; align-items: center; border: 1px solid rgba(230,225,216,.9); border-radius: 8px; padding: 9px; background: rgba(255,255,255,.86); }
.mini-preview { display: grid; place-items: center; width: 76px; aspect-ratio: 1; border-radius: 8px; background: linear-gradient(135deg, rgba(17,127,122,.1), transparent 46%), #f5f2ec; }
.mini-preview img { width: 68%; max-height: 72%; object-fit: contain; filter: drop-shadow(0 12px 10px rgba(24,33,47,.12)); }
.mini-sprite-viewport { display: grid; place-items: center; width: 62%; aspect-ratio: 12 / 13; }
.mini-sprite-frame { width: 100%; height: 100%; background-repeat: no-repeat; background-size: 800% var(--sprite-sheet-height, 900%); background-position: 0% var(--sprite-row-y, 62.5%); animation: sprite-row-six 1200ms steps(1) infinite; filter: drop-shadow(0 12px 10px rgba(24,33,47,.12)); }
.mini-card strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-card span { display: block; margin-top: 3px; color: var(--muted); font-size: .78rem; font-weight: 850; }
.toolbar { display: grid; grid-template-columns: minmax(220px, 1fr) auto; gap: 12px; margin-bottom: 20px; }
.view-switch { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 16px; }
.view-button { min-height: 36px; border: 1px solid rgba(24,33,47,.1); border-radius: 999px; padding: 0 13px; background: rgba(255,255,255,.86); color: #40515c; cursor: pointer; font-weight: 900; }
.view-button.active { border-color: rgba(17,127,122,.48); background: var(--ink); color: #fff; }
.field, .select { min-height: 46px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.84); color: var(--ink); }
.field { display: flex; align-items: center; gap: 10px; padding: 0 14px; }
.field input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: inherit; }
.select { padding: 0 12px; cursor: pointer; }
.category-filter {
  display: grid; gap: 10px; margin: -6px 0 22px; border: 1px solid var(--line); border-radius: 8px;
  padding: 12px; background: rgba(255,255,255,.62);
}
.category-row { display: flex; flex-wrap: wrap; gap: 8px; }
.category-button {
  min-height: 36px; border: 1px solid rgba(24,33,47,.1); border-radius: 999px; padding: 0 13px;
  background: rgba(255,255,255,.86); color: #40515c; cursor: pointer; font-weight: 900;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.category-button:hover { transform: translateY(-1px); border-color: rgba(17,127,122,.28); color: var(--teal-dark); }
.category-button.active { border-color: rgba(17,127,122,.48); background: var(--ink); color: #fff; }
.category-button.child { min-height: 32px; font-size: .86rem; }
.pet-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pet-card { display: flex; flex-direction: column; min-height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.9); box-shadow: 0 10px 35px rgba(24,33,47,.06); cursor: zoom-in; transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.pet-card:hover { transform: translateY(-2px); border-color: rgba(17,127,122,.26); box-shadow: 0 18px 48px rgba(24,33,47,.1); }
.preview { position: relative; display: grid; place-items: center; aspect-ratio: 1.22; background: linear-gradient(135deg, rgba(17,127,122,.11), transparent 46%), linear-gradient(315deg, rgba(217,160,24,.15), transparent 48%), #f5f2ec; }
.preview img { width: 66%; max-width: 245px; max-height: 78%; object-fit: contain; filter: drop-shadow(0 20px 18px rgba(24,33,47,.15)); }
.favorite-toggle {
  position: absolute; right: 10px; top: 10px; z-index: 2; display: grid; place-items: center;
  width: 38px; height: 38px; border: 1px solid rgba(24,33,47,.1); border-radius: 999px;
  background: rgba(255,255,255,.9); color: #667085; cursor: pointer; box-shadow: 0 10px 22px rgba(24,33,47,.1);
}
.favorite-toggle.active { color: #ef6f51; border-color: rgba(239,111,81,.32); background: #fff7f3; }
.favorite-toggle .icon { fill: currentColor; stroke: currentColor; }
.sprite-viewport {
  display: grid; place-items: center; width: min(54%, 185px); aspect-ratio: 12 / 13;
  transform: translateY(2px);
}
.sprite-frame {
  width: 100%; height: 100%; background-repeat: no-repeat; background-size: 800% var(--sprite-sheet-height, 900%);
  background-position: 0% var(--sprite-row-y, 62.5%); filter: drop-shadow(0 20px 18px rgba(24,33,47,.15));
}
.pet-card:hover .sprite-frame,
.pet-card:focus-within .sprite-frame { animation: sprite-row-six 1100ms steps(1) infinite; }
@keyframes sprite-row-six {
  0% { background-position: 0% var(--sprite-row-y, 62.5%); }
  12.5% { background-position: 14.2857% var(--sprite-row-y, 62.5%); }
  25% { background-position: 28.5714% var(--sprite-row-y, 62.5%); }
  37.5% { background-position: 42.8571% var(--sprite-row-y, 62.5%); }
  50% { background-position: 57.1429% var(--sprite-row-y, 62.5%); }
  62.5% { background-position: 71.4286% var(--sprite-row-y, 62.5%); }
  75% { background-position: 85.7143% var(--sprite-row-y, 62.5%); }
  87.5%, 100% { background-position: 100% var(--sprite-row-y, 62.5%); }
}
.card-body { display: flex; flex: 1; flex-direction: column; padding: 16px; }
.card-title h3 { font-size: 1.2rem; }
.description { margin-top: 9px; min-height: 52px; color: var(--muted); line-height: 1.55; }
.uploader-line { margin-top: 8px; color: var(--teal-dark); font-size: .82rem; font-weight: 900; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 16px 0; }
.tag { border-radius: 999px; padding: 5px 9px; background: #f1f5f5; color: #40515c; font-size: .76rem; font-weight: 800; }
.card-actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: auto; }
.install-line { display: grid; grid-template-columns: minmax(0, 1fr) 36px; gap: 8px; align-items: center; min-width: 0; border: 1px solid #dfe5e2; border-radius: 8px; padding: 7px 7px 7px 9px; background: #f8fbfa; }
.install-line code { color: #25313f; font-size: .82rem; }
.install-line .icon-button { background: var(--teal); }
.download { width: 42px; min-height: 42px; padding: 0; }
.docs-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.52); }
.brand-strip {
  display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 18px;
  margin-top: -28px; margin-bottom: 28px; border: 1px solid var(--line); border-radius: 8px;
  padding: 16px; background: rgba(255,255,255,.82); box-shadow: 0 16px 42px rgba(24,33,47,.07);
}
.brand-strip img { width: 64px; height: 64px; object-fit: contain; }
.brand-strip strong { display: block; font-size: 1.05rem; }
.brand-strip span { display: block; margin-top: 4px; color: var(--muted); line-height: 1.5; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.step { border: 1px solid var(--line); border-radius: 8px; padding: 20px; background: rgba(255,255,255,.78); }
.step-number { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--ink); color: #fff; font-weight: 900; }
.step h3 { margin-top: 18px; font-size: 1.08rem; }
.step p { margin-top: 9px; color: var(--muted); line-height: 1.6; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 50; transform: translateY(18px); border-radius: 8px; padding: 12px 14px; background: rgba(24,33,47,.94); color: #fff; font-size: .92rem; font-weight: 800; opacity: 0; pointer-events: none; transition: opacity 180ms ease, transform 180ms ease; }
.toast.visible { transform: translateY(0); opacity: 1; }
.to-top {
  position: fixed; right: 22px; bottom: 82px; z-index: 45; display: inline-grid; place-items: center;
  width: 46px; height: 46px; border: 1px solid rgba(24,33,47,.12); border-radius: 999px;
  background: rgba(255,255,255,.92); color: var(--ink); box-shadow: 0 16px 38px rgba(24,33,47,.16);
  opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease;
}
.to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { border-color: rgba(17,127,122,.32); color: var(--teal-dark); }
.to-top .icon { width: 21px; height: 21px; }
.random-pet-fab {
  position: fixed; right: 22px; bottom: 142px; z-index: 46; display: inline-flex; align-items: center; gap: 11px;
  max-width: min(330px, calc(100vw - 44px)); border: 1px solid rgba(17,127,122,.22); border-radius: 999px;
  padding: 10px 15px 10px 11px; background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(238,249,247,.96));
  color: var(--ink); box-shadow: 0 18px 42px rgba(24,33,47,.18); font-weight: 950;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.random-pet-fab:hover { transform: translateY(-2px); border-color: rgba(17,127,122,.42); box-shadow: 0 22px 52px rgba(24,33,47,.22); }
.random-pet-fab:focus-visible { outline: 3px solid rgba(17,127,122,.25); outline-offset: 3px; }
.random-pet-fab-icon {
  display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 auto; border-radius: 999px;
  background: var(--ink); color: #fff;
}
.random-pet-fab-icon .icon { width: 20px; height: 20px; }
.random-pet-fab-copy { display: grid; gap: 2px; min-width: 0; line-height: 1.08; }
.random-pet-fab-copy span:first-child { color: var(--muted); font-size: .76rem; font-weight: 900; }
.random-pet-fab-copy span:last-child { font-size: .98rem; }
.sheet-modal {
  position: fixed; inset: 0; z-index: 60; display: none; padding: 28px;
  background: rgba(10,15,24,.72); backdrop-filter: blur(12px);
}
.sheet-modal.visible { display: grid; place-items: center; }
.sheet-dialog {
  display: grid; grid-template-rows: auto minmax(0, 1fr); width: min(1180px, 100%); max-height: min(920px, calc(100svh - 56px));
  overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; background: #fbfaf7; box-shadow: 0 30px 90px rgba(0,0,0,.38);
}
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.sheet-title { min-width: 0; font-weight: 950; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sheet-close { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); cursor: pointer; }
.sheet-body {
  min-height: 0; overflow: auto; padding: 18px;
  background-color: #e7e3da;
  background-image:
    linear-gradient(45deg, rgba(255,255,255,.56) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,.56) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255,255,255,.56) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255,255,255,.56) 75%);
  background-position: 0 0, 0 10px, 10px -10px, -10px 0;
  background-size: 20px 20px;
}
.sheet-body img { display: block; width: min(100%, 960px); height: auto; margin: 0 auto; image-rendering: auto; }
.guide-dialog { width: min(860px, 100%); }
.guide-body { min-height: 0; overflow: auto; padding: 20px; background: #fbfaf7; }
.guide-intro { color: var(--muted); line-height: 1.62; margin-bottom: 16px; }
.download-dialog { width: min(720px, 100%); }
.download-body { min-height: 0; overflow: auto; padding: 20px; background: #fbfaf7; }
.download-intro { color: var(--muted); line-height: 1.6; }
.install-option {
  border: 1px solid var(--line); border-radius: 8px; padding: 16px;
  background: rgba(255,255,255,.72);
}
.install-option + .install-option { margin-top: 14px; }
.install-option h3 { margin: 0 0 8px; font-size: 1rem; }
.install-option p { margin: 0; color: var(--muted); line-height: 1.58; }
.support-note {
  margin: 0 0 16px; border: 1px solid rgba(17,127,122,.18); border-radius: 8px;
  padding: 10px 12px; background: rgba(17,127,122,.07); color: var(--teal-dark); font-size: .92rem; font-weight: 850;
}
.quick-install {
  display: grid; grid-template-columns: minmax(0, 1fr) 38px; gap: 8px; align-items: center;
  margin: 12px 0 8px; border: 1px solid #dfe5e2; border-radius: 8px; padding: 9px 9px 9px 12px; background: #f8fbfa;
}
.quick-install .icon-button { background: var(--teal); }
.inline-copy-status {
  display: none; margin-top: 8px; border-radius: 8px; padding: 9px 10px;
  background: rgba(17,127,122,.1); color: var(--teal-dark); font-weight: 900; font-size: .9rem;
}
.inline-copy-status.visible { display: block; }
.manual-steps { display: grid; gap: 10px; margin: 14px 0 0; }
.manual-step { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: start; color: #42526a; line-height: 1.55; }
.manual-step strong {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px;
  background: var(--ink); color: #fff; font-size: .84rem;
}
.path-list { display: grid; gap: 6px; margin-top: 8px; }
.path-list code { display: block; white-space: normal; word-break: break-all; color: #25313f; }
.activation-note {
  margin-top: 14px; border: 1px solid rgba(217,160,24,.28); border-radius: 8px;
  padding: 12px; background: rgba(217,160,24,.09); color: #5f4611; line-height: 1.55;
}
.activation-note strong { color: var(--ink); }
.download-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.download-actions .primary { min-width: 150px; }
footer { padding: 34px 0 46px; color: var(--muted); }
.seo-footer {
  display: grid; grid-template-columns: minmax(0, 1.45fr) repeat(3, minmax(0, 1fr)); gap: 28px;
  border-top: 1px solid var(--line); padding-top: 28px;
}
.footer-brand { display: grid; gap: 12px; max-width: 380px; }
.footer-brand strong, .footer-block strong { color: var(--ink); font-size: .96rem; }
.footer-brand p { margin: 0; line-height: 1.62; }
.footer-block { display: grid; align-content: start; gap: 10px; }
.footer-block a { color: var(--muted); font-weight: 760; }
.footer-block a:hover { color: var(--teal-dark); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; margin-top: 24px;
  border-top: 1px solid rgba(224,229,226,.74); padding-top: 16px; font-size: .92rem;
}
.empty { grid-column: 1 / -1; border: 1px solid var(--line); border-radius: 8px; padding: 24px; background: rgba(255,255,255,.84); color: var(--muted); }
.pet-loader {
  display: none; align-items: center; justify-content: center; gap: 10px; min-height: 74px; margin-top: 18px;
  border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.62); color: var(--muted); font-weight: 850; cursor: pointer;
}
.pet-loader.visible { display: flex; }
.pet-loader.done { display: none; }
.loader-dot {
  width: 18px; height: 18px; border-radius: 999px; border: 3px solid rgba(17,127,122,.18);
  border-top-color: var(--teal); animation: loader-spin 760ms linear infinite;
}
@keyframes loader-spin { to { transform: rotate(360deg); } }
.noscript-pets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.noscript-pets article { border: 1px solid var(--line); border-radius: 8px; padding: 18px; background: rgba(255,255,255,.84); }
.noscript-pets h3 { margin: 0 0 8px; font-size: 1.05rem; }
.noscript-pets p { margin: 0; }
@media (max-width: 940px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 48px; }
  .hero-panel { min-height: 500px; }
  .pet-grid, .steps, .noscript-pets, .spotlight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mini-list { grid-template-columns: 1fr; }
  .section-head { align-items: start; flex-direction: column; }
}
@media (max-width: 680px) {
  body { overflow-x: hidden; }
  .shell { width: calc(100% - 28px); }
  .hero-panel, .hero > div:first-child { width: 100%; max-width: 340px; }
  .hero-panel { min-height: 440px; }
  .hero-copy { max-width: 320px; font-size: 1rem; }
  .hero-proof { grid-template-columns: 1fr; }
  .eyebrow { max-width: 100%; white-space: normal; }
  .pet-scene { inset: 20px 20px 188px; }
  .pet-meta { grid-template-columns: 1fr; right: 18px; bottom: 18px; left: 18px; }
  .pet-meta p { max-width: 290px; }
  .quick-command { width: 100%; max-width: 292px; }
  .toolbar, .pet-grid, .steps, .noscript-pets, .spotlight-grid { grid-template-columns: 1fr; }
  .category-filter { margin-top: -2px; }
  .brand-strip { grid-template-columns: 1fr; align-items: start; }
  .select { width: 100%; }
  .sheet-modal { padding: 12px; }
  .sheet-body { padding: 10px; }
  .download-body { padding: 16px; }
  .download-actions { justify-content: stretch; }
  .download-actions .button { width: 100%; }
  .to-top { right: 14px; bottom: 78px; width: 42px; height: 42px; }
  .random-pet-fab { right: 14px; bottom: 132px; padding: 9px 12px 9px 9px; }
  .random-pet-fab-icon { width: 38px; height: 38px; }
  .random-pet-fab-copy span:first-child { font-size: .7rem; }
  .random-pet-fab-copy span:last-child { font-size: .88rem; }
  .seo-footer { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom { flex-direction: column; }
}
