[hidden] { display: none !important; }
:root {
  --ink: #111111;
  --ink-2: #4A4A4A;
  --quiet: #6B6B6B;
  --line: #E8E6E3;
  --soft: #F6F4F1;
  --bg: #FFFFFF;
  --ok: #1D6B34;
  --ok-bg: #E9F6EC;
  --err: #B43A2A;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px; line-height: 1.5;
}
a { color: inherit; }
main, .top, .foot { max-width: 560px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }

.top { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 20px; letter-spacing: -0.4px; text-decoration: none; }
.top-link { font-size: 14px; font-weight: 600; text-decoration: none; padding: 10px 14px; border-radius: 20px; border: 1px solid var(--line); }

.hero { padding: 28px 0 8px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 20px; background: var(--soft); }
.dot { width: 8px; height: 8px; border-radius: 4px; background: #1FA34A; box-shadow: 0 0 0 4px rgba(31,163,74,0.15); }
h1 { margin: 0; font-size: 40px; line-height: 1.08; letter-spacing: -1.2px; font-weight: 800; }
.lead { margin: 0; font-size: 17px; color: var(--ink-2); max-width: 30em; }
.hero-cats { width: 100%; display: flex; justify-content: center; align-items: flex-end; margin-top: 8px; padding: 20px 0 0; background: var(--soft); border-radius: 24px; overflow: hidden; height: 150px; }
.hero-cats svg { margin: 0 -14px -22px; }
.hero-cats .eye { animation: blink 5s infinite; transform-origin: center 92px; transform-box: fill-box; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(0.1); } }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 24px; border-radius: 26px; font-weight: 700; font-size: 16px; text-decoration: none; border: none; cursor: pointer; font-family: inherit; }
.btn-dark { background: var(--ink); color: #FFFFFF; }
.btn-dark:active { transform: scale(0.98); }
.btn[disabled] { opacity: 0.6; cursor: default; }
.wide { width: 100%; }

.trust { display: flex; flex-direction: column; gap: 14px; padding: 32px 0 8px; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-item .ic { width: 44px; height: 44px; flex-shrink: 0; border-radius: 14px; background: var(--soft); display: flex; align-items: center; justify-content: center; }
.trust-item b { display: block; font-size: 16px; }
.trust-item span { font-size: 14px; color: var(--quiet); }

.join { margin-top: 32px; padding: 24px 20px; border: 1px solid var(--line); border-radius: 24px; scroll-margin-top: 16px; }
h2 { margin: 0; font-size: 26px; letter-spacing: -0.5px; font-weight: 800; }
.sub { margin: 6px 0 18px; color: var(--quiet); font-size: 15px; }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 22px; background: var(--soft); margin-bottom: 18px; }
.seg button { height: 40px; border: none; border-radius: 18px; background: transparent; font: 600 14px Inter, system-ui, sans-serif; color: var(--quiet); cursor: pointer; }
.seg button.on { background: #FFFFFF; color: var(--ink); font-weight: 700; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }

form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; border: none; padding: 0; margin: 0; min-width: 0; }
.field legend { padding: 0; margin-bottom: 6px; }
.field input, .field select {
  height: 50px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: #FFFFFF;
  font: 400 16px Inter, system-ui, sans-serif; color: var(--ink); outline: none; width: 100%;
}
.field input:focus, .field select:focus { border-color: var(--ink); }
.field input.bad { border-color: var(--err); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 20px; border: 1px solid var(--line); font-weight: 600; font-size: 14px; cursor: pointer; }
.chips input:checked + span { background: var(--ink); color: #FFFFFF; border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-2); }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--ink); }
.msg { margin: 0; min-height: 20px; font-size: 14px; color: var(--err); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.done { text-align: center; padding: 20px 0 8px; }
.done-ic { width: 60px; height: 60px; border-radius: 30px; background: var(--ok-bg); color: var(--ok); display: inline-flex; align-items: center; justify-content: center; }
.done h3 { margin: 12px 0 4px; font-size: 22px; }
.done p { margin: 0; color: var(--quiet); }

.how { padding: 40px 0 8px; }
.how ol { list-style: none; margin: 16px 0 0; padding: 0; counter-reset: s; display: flex; flex-direction: column; gap: 14px; }
.how li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; }
.how li::before { content: counter(s); grid-row: span 2; width: 32px; height: 32px; border-radius: 16px; background: var(--ink); color: #FFFFFF; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.how li b { font-size: 16px; }
.how li span { font-size: 14px; color: var(--quiet); }

.foot { display: flex; justify-content: space-between; padding-top: 40px; padding-bottom: 40px; font-size: 13px; color: var(--quiet); }

.legal { padding: 24px 20px 40px; }
.legal h1 { font-size: 32px; }
.legal p, .legal li { color: var(--ink-2); font-size: 15px; }

@media (min-width: 720px) {
  h1 { font-size: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-cats .eye { animation: none; }
  html { scroll-behavior: auto; }
}
.breeder-only:not(.field) { display: flex; flex-direction: column; gap: 14px; }

/* ---------- accounts ---------- */
.top-actions { display: flex; align-items: center; gap: 6px; }
.top-text { font-size: 14px; font-weight: 600; text-decoration: none; padding: 10px 8px; }
.auth { max-width: 420px; margin: 8px auto 0; padding: 0 0 40px; display: flex; flex-direction: column; gap: 16px; }
.auth h1 { font-size: 30px; letter-spacing: -0.8px; }
.auth .sub { margin: 8px 0 0; }
.auth form { gap: 14px; }
.auth .seg { margin-bottom: 0; }
.pw { position: relative; }
.pw input { padding-right: 70px; }
.pw button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); height: 38px; padding: 0 12px; border: none; background: none; font: 600 13px Inter, system-ui, sans-serif; color: var(--quiet); cursor: pointer; }
.hint { font-size: 12px; font-weight: 400; color: var(--quiet); }
.alt { font-size: 14px; color: var(--quiet); text-align: center; margin: 0; }
.alt a { color: var(--ink); font-weight: 600; }
.msg.ok { color: var(--ok); }
.banner { margin: 0; padding: 14px 16px; border-radius: 14px; background: var(--ok-bg); color: var(--ok); font-size: 14px; font-weight: 600; }
.banner.warn { background: #FDF1DC; color: #8A5300; }
.card { border: 1px solid var(--line); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.who { display: flex; align-items: center; gap: 14px; }
.avatar { width: 56px; height: 56px; border-radius: 28px; background: var(--ink); color: #FFFFFF; font-weight: 800; font-size: 20px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.who b { display: block; font-size: 18px; }
.who span { font-size: 13px; color: var(--quiet); word-break: break-all; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 10px; font-size: 12px; font-weight: 700; background: var(--soft); color: var(--ink); }
.field textarea { min-height: 110px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); font: 400 16px Inter, system-ui, sans-serif; color: var(--ink); outline: none; resize: vertical; width: 100%; }
.field textarea:focus { border-color: var(--ink); }
.btn-light { background: #FFFFFF; color: var(--ink); border: 1px solid var(--line); }
.links-row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.links-row a, .links-row button { font-size: 14px; font-weight: 600; color: var(--ink); background: none; border: none; padding: 8px 0; cursor: pointer; font-family: inherit; }
.center { text-align: center; }
.loading { color: var(--quiet); font-size: 14px; text-align: center; padding: 40px 0; }

/* ---------- app pages ---------- */
.nav { display: flex; gap: 2px; }
.nav a { display: flex; flex-direction: column; align-items: center; gap: 1px; min-width: 52px; padding: 6px 4px; border-radius: 12px; text-decoration: none; color: var(--quiet); font-size: 11px; font-weight: 600; }
.nav a.on { color: var(--ink); }
.nav a:active { background: var(--soft); }
.wide-page main, .wide-page .top { max-width: 1040px; }
.page { padding: 8px 0 48px; display: flex; flex-direction: column; gap: 16px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.page-head h1 { font-size: 30px; letter-spacing: -0.8px; }
.count { font-size: 14px; color: var(--quiet); }

/* filters */
.search-bar { display: flex; gap: 8px; }
.search-bar select, .search-bar input { height: 44px; border-radius: 22px; border: 1px solid var(--line); padding: 0 14px; font: 500 15px Inter, system-ui, sans-serif; background: #FFFFFF; color: var(--ink); min-width: 0; }
.search-bar select { flex: 1; }
.chip-btn { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 16px; border-radius: 22px; border: 1px solid var(--line); background: #FFFFFF; font: 600 14px Inter, system-ui, sans-serif; color: var(--ink); cursor: pointer; white-space: nowrap; }
.chip-btn.on { background: var(--ink); color: #FFFFFF; border-color: var(--ink); }
.filters { border: 1px solid var(--line); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.filters .row3 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills button { height: 36px; padding: 0 14px; border-radius: 18px; border: 1px solid var(--line); background: #FFFFFF; font: 600 13px Inter, system-ui, sans-serif; color: var(--ink); cursor: pointer; }
.pills button.on { background: var(--ink); color: #FFFFFF; border-color: var(--ink); }
.empty { text-align: center; padding: 40px 16px; color: var(--quiet); border: 1px dashed var(--line); border-radius: 20px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.empty b { color: var(--ink); font-size: 17px; }

/* kitten cards */
.kgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; }
.kcard { position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.kcover { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: var(--soft); }
.kcover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: rgba(0,0,0,0.25); }
.kstatus { position: absolute; left: 8px; top: 8px; padding: 4px 10px; border-radius: 10px; background: rgba(255,255,255,0.92); font-size: 12px; font-weight: 700; color: #8A5300; }
.kvid { position: absolute; left: 8px; bottom: 8px; width: 28px; height: 28px; border-radius: 14px; background: rgba(0,0,0,0.55); color: #FFFFFF; display: flex; align-items: center; justify-content: center; }
.ksave { position: absolute; right: 8px; top: 8px; width: 36px; height: 36px; border-radius: 18px; border: none; background: rgba(255,255,255,0.92); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.ksave svg, .save-big svg { fill: none; }
.ksave.on, .save-big.on { color: #E0464E; }
.ksave.on svg, .save-big.on svg { fill: currentColor; }
.kbody { display: flex; flex-direction: column; gap: 2px; text-decoration: none; min-width: 0; }
.krow { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.krow b { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kprice { font-weight: 700; font-size: 15px; }
.kmeta { font-size: 13px; color: var(--quiet); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* kitten page */
.gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; border-radius: 20px; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery > * { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 4 / 5; max-height: 70vh; border-radius: 20px; object-fit: cover; background: var(--soft); width: 100%; }
.gallery .kph { border-radius: 20px; }
.dots { display: flex; justify-content: center; gap: 6px; margin-top: -6px; }
.dots span { width: 6px; height: 6px; border-radius: 3px; background: var(--line); }
.dots span.on { background: var(--ink); }
.k-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.k-title h1 { font-size: 32px; letter-spacing: -0.8px; }
.k-title .kprice { font-size: 24px; font-weight: 800; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fact { background: var(--soft); border-radius: 14px; padding: 10px 12px; }
.fact span { display: block; font-size: 12px; color: var(--quiet); }
.fact b { font-size: 15px; }
.incl { display: flex; flex-wrap: wrap; gap: 8px; }
.incl span { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 16px; background: var(--ok-bg); color: var(--ok); font-size: 13px; font-weight: 600; }
.incl span.no { background: var(--soft); color: var(--quiet); }
.desc { margin: 0; color: var(--ink-2); white-space: pre-line; }
.seller-card { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; }
.seller-card .avatar { width: 48px; height: 48px; font-size: 16px; }
.seller-card b { display: block; color: var(--ink); font-size: 16px; }
.seller-card span { font-size: 13px; color: var(--quiet); }
.vbadge { display: inline-flex; align-items: center; gap: 4px; color: var(--ok); font-weight: 700; font-size: 12px; }
.sticky-cta { position: sticky; bottom: 0; background: linear-gradient(rgba(255,255,255,0), #FFFFFF 30%); padding: 20px 0 16px; display: flex; gap: 10px; }
.sticky-cta .btn { flex: 1; }
.save-big { width: 52px; height: 52px; border-radius: 26px; border: 1px solid var(--line); background: #FFFFFF; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); flex-shrink: 0; }
.note { font-size: 13px; color: var(--quiet); text-align: center; margin: 0; }

/* breeder page */
.b-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding-top: 8px; }
.b-head .avatar { width: 84px; height: 84px; border-radius: 42px; font-size: 28px; }
.b-head h1 { font-size: 26px; letter-spacing: -0.5px; }
.b-sub { font-size: 14px; color: var(--quiet); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; max-width: 360px; margin: 4px auto 0; }
.stats div { display: flex; flex-direction: column; align-items: center; }
.stats b { font-size: 20px; }
.stats span { font-size: 12px; color: var(--quiet); }
.b-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; max-width: 360px; }
.b-actions .btn { height: 44px; font-size: 15px; }
.b-about { font-size: 14px; color: var(--ink-2); max-width: 420px; margin: 0; }
.tabs { display: flex; border-bottom: 1px solid var(--line); }
.tabs button { flex: 1; height: 44px; border: none; background: none; font: 600 14px Inter, system-ui, sans-serif; color: var(--quiet); border-bottom: 2px solid transparent; cursor: pointer; }
.tabs button.on { color: var(--ink); border-bottom-color: var(--ink); }
.mgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.mgrid a { position: relative; aspect-ratio: 1; background: var(--soft); overflow: hidden; display: block; }
.mgrid img, .mgrid video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* breeder dashboard + edit */
.mine { display: flex; flex-direction: column; gap: 10px; }
.mine a { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; }
.mine .th { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--soft); display: flex; align-items: center; justify-content: center; color: rgba(0,0,0,0.25); }
.mine .th img { width: 100%; height: 100%; object-fit: cover; }
.mine .th svg { width: 28px; height: 28px; }
.mine b { display: block; }
.mine span { font-size: 13px; color: var(--quiet); }
.pill-s { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 10px; background: var(--ok-bg); color: var(--ok); }
.pill-s.reserved { background: #FDF1DC; color: #8A5300; }
.pill-s.sold, .pill-s.hidden { background: var(--soft); color: var(--quiet); }
.photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.photos .ph { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--soft); }
.photos .ph img, .photos .ph video { width: 100%; height: 100%; object-fit: cover; display: block; }
.photos .ph button.x { position: absolute; right: 4px; top: 4px; width: 26px; height: 26px; border-radius: 13px; border: none; background: rgba(0,0,0,0.6); color: #FFFFFF; font-size: 16px; line-height: 1; cursor: pointer; }
.photos .ph .cover { position: absolute; left: 4px; bottom: 4px; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 8px; background: rgba(255,255,255,0.92); }
.photos .ph button.mk { position: absolute; inset: auto 4px 4px auto; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 8px; border: none; background: rgba(255,255,255,0.92); cursor: pointer; }
.photos .ph.busy::after { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,0.6); }
.addbox { aspect-ratio: 1; border-radius: 12px; border: 1.5px dashed var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 12px; font-weight: 600; color: var(--quiet); cursor: pointer; text-align: center; }
.addbox input { display: none; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checks label { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.checks input { width: 20px; height: 20px; accent-color: var(--ink); }
.danger { color: var(--err) !important; }
.big-link { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-radius: 18px; background: var(--ink); color: #FFFFFF; text-decoration: none; font-weight: 700; }

@media (min-width: 720px) {
  .kgrid { grid-template-columns: repeat(3, 1fr); gap: 24px 16px; }
  .kitten-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: start; }
}
@media (min-width: 980px) { .kgrid { grid-template-columns: repeat(4, 1fr); } }
.link-btn { border: none; background: none; padding: 0; font: inherit; font-weight: 600; color: var(--ink); text-decoration: underline; cursor: pointer; }
.b-about a { font-weight: 600; }

/* Bottom tab bar on phones, top links on wider screens */
@media (max-width: 719px) {
  .nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: rgba(255,255,255,0.96); border-top: 1px solid var(--line);
         justify-content: space-around; padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .nav a { flex: 1; min-width: 0; font-size: 10.5px; }
  body.has-nav { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .sticky-cta { bottom: calc(60px + env(safe-area-inset-bottom)); }
}

/* video feed */
.feed-page main { max-width: 480px; padding-left: 0; padding-right: 0; }
.feed-wrap { position: relative; }
.feed { height: calc(100dvh - 64px - 64px - env(safe-area-inset-bottom)); overflow-y: auto; scroll-snap-type: y mandatory; background: #000; scrollbar-width: none; }
.feed::-webkit-scrollbar { display: none; }
.feed .loading { color: #BBBBBB; }
.fitem { position: relative; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; background: #111; }
.fitem video { width: 100%; height: 100%; object-fit: cover; display: block; }
.fitem.paused::after { content: ''; position: absolute; left: 50%; top: 50%; width: 0; height: 0; margin: -22px 0 0 -14px; border-left: 36px solid rgba(255,255,255,0.85); border-top: 22px solid transparent; border-bottom: 22px solid transparent; pointer-events: none; }
.feed-tabs { position: absolute; top: 12px; left: 0; right: 0; z-index: 5; display: flex; justify-content: center; gap: 18px; pointer-events: none; }
.feed-tabs button { pointer-events: auto; border: none; background: none; color: rgba(255,255,255,0.7); font: 700 16px Inter, system-ui, sans-serif; padding: 6px 2px; text-shadow: 0 1px 4px rgba(0,0,0,0.5); cursor: pointer; border-bottom: 2px solid transparent; }
.feed-tabs button.on { color: #FFFFFF; border-bottom-color: #FFFFFF; }
.fmute { position: absolute; top: 12px; right: 12px; z-index: 4; width: 36px; height: 36px; border-radius: 18px; border: none; background: rgba(0,0,0,0.45); color: #FFFFFF; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.fside { position: absolute; right: 10px; bottom: 120px; display: flex; flex-direction: column; gap: 14px; z-index: 3; }
.fbtn { width: 46px; height: 46px; border-radius: 23px; border: none; background: rgba(0,0,0,0.45); color: #FFFFFF; display: flex; align-items: center; justify-content: center; cursor: pointer; position: static; }
.fbtn.ksave { position: static; width: 46px; height: 46px; border-radius: 23px; background: rgba(0,0,0,0.45); color: #FFFFFF; }
.fbtn.ksave.on { color: #FF5A63; }
.finfo { position: absolute; left: 0; right: 64px; bottom: 0; padding: 60px 14px 16px; background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.65)); color: #FFFFFF; display: flex; flex-direction: column; gap: 8px; z-index: 2; }
.finfo p { margin: 0; font-size: 14px; line-height: 1.4; }
.fwho { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #FFFFFF; }
.fwho .avatar { width: 38px; height: 38px; font-size: 13px; color: var(--ink); }
.fwho b { font-size: 15px; }
.fwho small { display: block; font-size: 12px; opacity: 0.85; }
.vtick { display: inline-flex; width: 16px; height: 16px; border-radius: 8px; background: #1FA34A; color: #FFFFFF; align-items: center; justify-content: center; vertical-align: -2px; }
.vtick svg { width: 10px; height: 10px; }
.fkitten { align-self: flex-start; padding: 8px 12px; border-radius: 14px; background: rgba(255,255,255,0.95); color: var(--ink); text-decoration: none; font-size: 13px; }
.fempty { margin: 80px 16px; background: #FFFFFF; }
.toast { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); background: rgba(0,0,0,0.8); color: #FFFFFF; padding: 10px 16px; border-radius: 20px; font-size: 14px; z-index: 6; }
@media (min-width: 720px) {
  .feed { height: calc(100dvh - 64px - 24px); border-radius: 20px; }
}
.post-del { position: absolute; right: 4px; top: 4px; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 13px; border: none; background: rgba(0,0,0,0.6); color: #FFFFFF; font: 600 13px Inter, system-ui, sans-serif; cursor: pointer; }
.post-del.armed { background: var(--err); }

/* guide (same look as the prototype) */
.tabs .tab { flex: 1; height: 44px; display: flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 600; font-size: 14px; color: var(--quiet); border-bottom: 2px solid transparent; }
.tabs .tab.on { color: var(--ink); border-bottom-color: var(--ink); }
.g-row { display: grid; grid-template-columns: 40px 1fr 18px; gap: 12px; align-items: center; padding: 14px 14px; text-decoration: none; border-top: 1px solid var(--line); color: var(--ink); }
.g-row:first-child { border-top: none; }
.g-row svg { color: var(--quiet); }
.g-rows { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.g-dot { width: 40px; height: 40px; border-radius: 12px; }
.g-txt b { display: block; font-size: 15px; }
.g-txt span { font-size: 13px; color: var(--quiet); }
.g-page, .g-article { gap: 14px; max-width: 560px; }
.g-head h1 { font-size: 26px; letter-spacing: -0.5px; }
.g-head p { margin: 4px 0 0; font-size: 14px; color: #5E5E5E; }
.g-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 22px; background: #F3F1EE; }
.g-seg a { height: 36px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: #5E5E5E; text-decoration: none; white-space: nowrap; }
.g-seg a.on { background: #FFFFFF; color: var(--ink); font-weight: 700; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.g-minute { padding: 18px; border-radius: 20px; background: #F6F4F1; display: flex; flex-direction: column; gap: 14px; animation: gIn .35s ease both; }
.g-minute small { font-size: 12px; font-weight: 700; letter-spacing: 0.6px; color: #8A6A3A; }
.g-minute h2 { font-size: 19px; letter-spacing: -0.3px; margin-top: 4px; }
.g-minute ol, .g-bullets { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.g-minute li { display: flex; gap: 12px; align-items: flex-start; }
.g-minute li > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.g-minute li b { font-size: 15px; }
.g-minute li > span:last-child > span { font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.g-num { width: 30px; height: 30px; flex-shrink: 0; border-radius: 15px; background: var(--ink); color: #FFFFFF; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.g-label { font-size: 15px; margin-top: 6px; }
.g-list-items { display: flex; flex-direction: column; gap: 10px; }
.g-item { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 18px; border: 1px solid #ECE8E3; background: #FFFFFF; text-decoration: none; color: #141414; animation: gIn .35s ease both; transition: transform .15s ease; }
.g-item:active { transform: scale(0.98); }
.g-item:nth-child(2) { animation-delay: .04s; } .g-item:nth-child(3) { animation-delay: .08s; } .g-item:nth-child(4) { animation-delay: .12s; }
.g-item:nth-child(5) { animation-delay: .16s; } .g-item:nth-child(6) { animation-delay: .2s; } .g-item:nth-child(n+7) { animation-delay: .24s; }
.g-item > svg { color: #6B6B6B; flex-shrink: 0; }
.g-item-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.g-item-txt b { font-size: 15px; }
.g-item-txt span { font-size: 12px; color: #5E5E5E; }
.g-item-txt small { font-size: 12px; color: #6B6B6B; }
.g-tile { width: 44px; height: 44px; flex-shrink: 0; border-radius: 14px; color: #2A2A2A; display: flex; align-items: center; justify-content: center; transition: transform .28s cubic-bezier(.3,1.7,.5,1); }
.g-item:active .g-tile { transform: scale(.85) rotate(-6deg); }
.g-tile-cat { width: 64px; height: 64px; }
.g-tile-num { width: 48px; height: 48px; font-weight: 800; font-size: 16px; color: #3A3A3A; }
.g-featured { padding: 18px; border-radius: 20px; background: #141414; color: #FFFFFF; text-decoration: none; display: flex; flex-direction: column; gap: 6px; animation: gIn .35s ease both; }
.g-featured small { font-size: 12px; font-weight: 700; letter-spacing: 0.6px; color: #F5C76B; }
.g-featured b { font-size: 19px; letter-spacing: -0.3px; }
.g-featured span { font-size: 13px; color: #D6D6D6; }
.g-back { width: 44px; height: 44px; border-radius: 22px; background: #F3F1EE; color: #141414; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.g-back-float { position: absolute; top: 16px; left: 16px; background: #FFFFFF; }
.g-read { display: block; font-size: 12px; color: #5E5E5E; font-weight: 600; }
.g-article h1 { font-size: 26px; letter-spacing: -0.5px; line-height: 1.2; margin-top: 4px; }
.g-breed h1 { font-size: 28px; margin: 0 0 4px; }
.g-p { margin: 0; font-size: 15px; line-height: 1.65; }
.g-bullets li { display: flex; gap: 12px; padding: 14px; border-radius: 14px; background: #F6F4F1; font-size: 14px; line-height: 1.5; animation: gIn .35s ease both; }
.g-bullets .g-num { width: 24px; height: 24px; font-size: 12px; }
.g-bullets.warn li { background: #FCEFEA; color: #7A2E1F; }
.g-bullets.warn .g-num { background: #C2410C; }
.g-check { display: flex; flex-direction: column; gap: 8px; }
.g-check-head { display: flex; justify-content: space-between; align-items: center; font-size: 15px; }
.g-check-head span { font-size: 13px; color: #5E5E5E; }
.g-bar-track { height: 6px; border-radius: 3px; background: #ECE8E3; overflow: hidden; }
.g-bar-fill { height: 100%; width: 0; background: var(--ok); border-radius: 3px; transition: width .3s ease; }
.g-check button { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 14px; border-radius: 14px; border: 1px solid #ECE8E3; background: #FFFFFF; text-align: left; color: #141414; font: 400 14px Inter, system-ui, sans-serif; cursor: pointer; }
.g-box { width: 24px; height: 24px; border-radius: 7px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border: 1.5px solid #CFCAC4; color: transparent; transition: background .2s ease; }
.g-check button[aria-pressed="true"] .g-box { background: var(--ok); border-color: var(--ok); color: #FFFFFF; }
.g-check button[aria-pressed="true"] > span:last-child { color: #8A8A8A; text-decoration: line-through; }
.g-note { margin: 0; background: #E8EEFC; color: #1E3A8A; border-radius: 16px; padding: 14px; font-size: 14px; line-height: 1.5; }
.g-hero { position: relative; height: 240px; border-radius: 22px; display: flex; align-items: center; justify-content: center; }
.g-eye { animation: gBlink 5s infinite; transform-origin: center 92px; transform-box: fill-box; }
.g-traits { display: flex; flex-direction: column; gap: 12px; }
.g-trait { display: grid; grid-template-columns: 92px minmax(0, 1fr) 92px; align-items: center; gap: 10px; }
.g-trait > span:first-child { font-size: 13px; font-weight: 600; color: #3A3A3A; line-height: 1.25; }
.g-trait > span:first-child small { display: block; font-size: 11px; font-weight: 400; color: #6B6B6B; }
.g-trait > b { font-size: 12px; font-weight: 600; color: #3A3A3A; text-align: right; line-height: 1.25; }
.g-segs { flex: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.g-segs i { height: 8px; border-radius: 4px; background: #E6E6E6; }
.g-segs i.on { background: #111111; }
.g-soft { background: #F6F4F1; border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.g-soft b { font-size: 15px; }
.g-soft ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.5; }
.g-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.g-two > div { border: 1px solid #ECE8E3; border-radius: 14px; padding: 12px; }
.g-two small { display: block; font-size: 12px; color: #5E5E5E; }
.g-two b { display: block; font-size: 15px; margin-top: 2px; }
.g-two b.g-small { font-size: 13px; font-weight: 600; line-height: 1.4; }
.g-two span { display: block; font-size: 12px; color: #5E5E5E; margin-top: 4px; line-height: 1.35; }
/* breed search */
.bs { display: flex; flex-direction: column; gap: 10px; }
.bs-x { width: 32px; height: 32px; margin-right: -8px; border: 0; border-radius: 16px; background: transparent; color: var(--quiet); display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.bs-x[hidden] { display: none; }
.bs-try { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; color: var(--quiet); }
.bs-try[hidden] { display: none; }
.bs-try button { border: 0; background: none; padding: 2px 0; font: 600 12px Inter, system-ui, sans-serif; color: var(--ink); text-decoration: underline; text-decoration-color: #CFCAC4; text-underline-offset: 3px; cursor: pointer; }
.bs-try button + button::before { content: '·'; color: #B5B0AA; margin-right: 6px; text-decoration: none; display: inline-block; }
.bs-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px 24px 2px 0; -webkit-overflow-scrolling: touch; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
#bq::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.bs-chips::-webkit-scrollbar { display: none; }
.bs-chips button { flex-shrink: 0; height: 36px; padding: 0 14px; border-radius: 18px; border: 1px solid var(--line); background: #FFFFFF; font: 600 13px Inter, system-ui, sans-serif; color: var(--ink); cursor: pointer; white-space: nowrap; }
.bs-chips button[aria-pressed="true"] { background: var(--ink); color: #FFFFFF; border-color: var(--ink); }
.bs-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--quiet); }
.bs-bar label { display: flex; align-items: center; gap: 6px; }
.bs-bar select { height: 34px; border-radius: 17px; border: 1px solid var(--line); background: #FFFFFF; padding: 0 10px; font: 600 13px Inter, system-ui, sans-serif; color: var(--ink); max-width: 180px; }
.bs-und { margin: 0; font-size: 13px; color: #4A4A4A; line-height: 1.45; }
.bs-note { font-size: 13px; }
.bs-offers { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 6px; }
.bs-offers .btn { height: 44px; font-size: 14px; padding: 0 18px; }
.bs-offers .chip-btn { height: 40px; }
.g-list-items.no-anim .g-item { animation: none; }
.g-bitem[hidden] { display: none; }
.g-item-txt b .g-flag, .g-flag-t { font-style: normal; font-size: 11px; font-weight: 700; color: #8A3B12; background: #FCEFE6; border-radius: 8px; padding: 2px 7px; margin-left: 6px; white-space: nowrap; vertical-align: 1px; }
.g-flag-t { margin-left: 0; }
.g-item-txt .g-hl { color: #2F2F2F; font-weight: 600; }
.g-bitem { gap: 12px; padding: 12px; }
.g-bitem .g-tile-cat { width: 56px; height: 56px; }
.g-focus { margin-top: 2px; }
.g-focus[hidden] { display: none; }
.g-mini { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; }
.g-mini em { font-style: normal; color: #5E5E5E; }
.g-mini b { font-size: 12px !important; font-weight: 600; color: #2F2F2F; }
.g-mini-segs { display: inline-grid; grid-template-columns: repeat(5, 12px); gap: 3px; }
.g-mini-segs i { height: 6px; border-radius: 3px; background: #E6E6E6; }
.g-mini-segs i.on { background: #111111; }
/* one breed */
.g-lead { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.4; letter-spacing: -0.2px; }
.g-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.g-facts > div { background: #F6F4F1; border-radius: 14px; padding: 10px 12px; }
.g-facts small { display: block; font-size: 11px; font-weight: 600; color: #6B6B6B; text-transform: uppercase; letter-spacing: 0.4px; }
.g-facts b { display: block; font-size: 15px; margin-top: 2px; }
.g-facts span { display: block; font-size: 12px; color: #5E5E5E; }
.g-sec { display: flex; flex-direction: column; gap: 10px; }
.g-sec h2 { font-size: 18px; letter-spacing: -0.3px; }
.g-fit { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.g-fit > div { border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.g-fit b { font-size: 15px; }
.g-fit ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.45; }
.g-fit-good { background: #EAF5EC; color: #173F22; }
.g-fit-think { background: #FDF3E4; color: #5A3A0A; }
.g-warn { background: #FCEBE6; color: #6E2615; border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.g-warn b { font-size: 15px; }
.g-warn p { margin: 0; font-size: 14px; line-height: 1.5; }
.g-ask { border: 1px solid #ECE8E3; border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.g-ask b { font-size: 15px; }
.g-ask ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.g-ask li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; }
.g-ask li svg { flex-shrink: 0; margin-top: 3px; color: var(--ok); }
.g-sim { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.g-sim a { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 12px 6px; border: 1px solid #ECE8E3; border-radius: 16px; text-decoration: none; color: #141414; }
.g-sim b { font-size: 13px; line-height: 1.25; }
.g-sim small { font-size: 11px; color: #5E5E5E; line-height: 1.3; }
.g-src { margin: 0; }
.bs-cmp { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; padding: 12px 14px; border-radius: 14px; background: #F6F4F1; }
/* compare breeds */
.cmp-head { display: flex; align-items: center; gap: 12px; }
.cmp-head h2 { font-size: 20px; letter-spacing: -0.3px; }
.cmp-picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cmp-pick { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 600; color: #5E5E5E; }
.cmp-pick:last-child { grid-column: 1 / -1; }
.cmp-pick select { height: 44px; border-radius: 14px; border: 1px solid var(--line); background: #FFFFFF; padding: 0 10px; font: 600 15px Inter, system-ui, sans-serif; color: var(--ink); min-width: 0; }
#cmp-out { display: flex; flex-direction: column; gap: 16px; }
.cmp-sum ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.5; }
.cmp-sum p { margin: 0; font-size: 14px; line-height: 1.5; }
.cmp-traits { display: flex; flex-direction: column; gap: 14px; }
.cmp-trait, .cmp-fact { display: flex; flex-direction: column; gap: 6px; }
.cmp-trait > b, .cmp-fact > b { font-size: 14px; }
.cmp-trait > b small { font-weight: 400; font-size: 12px; color: #6B6B6B; }
.cmp-line { display: grid; grid-template-columns: 132px minmax(0, 1fr) 84px; align-items: center; gap: 8px; font-size: 13px; }
.cmp-fact .cmp-line { grid-template-columns: 132px minmax(0, 1fr); align-items: start; }
.cmp-line em { font-style: normal; font-size: 12px; color: #4A4A4A; text-align: right; }
.cmp-line > span:last-child:not(.g-segs) { color: #2F2F2F; line-height: 1.35; }
.cmp-who { display: flex; align-items: center; gap: 6px; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmp-face { width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.cmp-links { display: flex; flex-wrap: wrap; gap: 8px; }
.cmp-links .chip-btn { height: 40px; text-decoration: none; font-size: 13px; }
.g-warn p b { font-weight: 700; }
.g-warn a { color: inherit; }
@media (min-width: 520px) { .g-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } .g-fit { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@keyframes gIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes gBlink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(0.1); } }
@media (prefers-reduced-motion: reduce) { .g-item, .g-minute, .g-featured, .g-bullets li { animation: none; } .g-eye { animation: none; } }

/* messages */
.inbox { display: flex; flex-direction: column; }
.conv { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.conv .avatar { width: 48px; height: 48px; font-size: 16px; color: var(--ink); }
.conv img { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; }
.conv-mid { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.conv-top { display: flex; align-items: center; gap: 6px; }
.conv-top b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv-top time { margin-left: auto; font-size: 12px; color: var(--quiet); flex-shrink: 0; }
.conv-kit { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.conv-last { font-size: 14px; color: var(--quiet); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv.unread .conv-last { color: var(--ink); font-weight: 600; }
.conv.unread .conv-top b::after { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 4px; background: #E0464E; margin-left: 6px; vertical-align: 2px; }
.chat { display: flex; flex-direction: column; height: calc(100dvh - 64px - 64px - env(safe-area-inset-bottom)); }
.chat-head { display: flex; align-items: center; gap: 6px; padding: 4px 0 10px; border-bottom: 1px solid var(--line); }
.chat-back { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 18px; color: var(--ink); }
.chat-who { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.chat-who .avatar { width: 40px; height: 40px; font-size: 14px; color: var(--ink); }
.chat-who b { font-size: 16px; }
.chat-who small { display: block; font-size: 12px; color: var(--quiet); }
.chat-kitten { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 8px 12px 8px 8px; border-radius: 14px; background: var(--soft); text-decoration: none; font-size: 14px; }
.chat-kitten img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.chat-kitten span:nth-child(2), .chat-kitten span:first-child:not(:only-child) { flex: 1; }
.chat-log { flex: 1; overflow-y: auto; padding: 12px 0; display: flex; flex-direction: column; gap: 6px; }
.day { align-self: center; font-size: 12px; color: var(--quiet); font-weight: 600; margin: 8px 0 4px; }
.bub { max-width: 80%; align-self: flex-start; background: var(--soft); border-radius: 18px 18px 18px 6px; padding: 8px 12px; display: flex; flex-direction: column; gap: 2px; }
.bub span { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; line-height: 1.4; }
.bub time { font-size: 11px; color: var(--quiet); align-self: flex-end; }
.bub.me { align-self: flex-end; background: var(--ink); color: #FFFFFF; border-radius: 18px 18px 6px 18px; }
.bub.me time { color: rgba(255,255,255,0.65); }
.risk { align-self: stretch; margin: 2px 0 6px; padding: 10px 12px; border-radius: 12px; background: #FDF1DC; color: #8A5300; font-size: 13px; font-weight: 600; }
.chat-hint { margin: auto 0; text-align: center; color: var(--quiet); font-size: 14px; padding: 0 20px; }
.composer { display: flex; flex-direction: row; gap: 8px; align-items: flex-end; padding: 8px 0 4px; border-top: 1px solid var(--line); }
.composer textarea { flex: 1; resize: none; min-height: 44px; max-height: 140px; padding: 11px 14px; border-radius: 22px; border: 1px solid var(--line); font: 400 16px Inter, system-ui, sans-serif; outline: none; color: var(--ink); }
.composer textarea:focus { border-color: var(--ink); }
.composer .btn { width: 44px; height: 44px; padding: 0; border-radius: 22px; flex-shrink: 0; }
.chat + .msg, .chat .msg { min-height: 0; }
.nav .badge-dot { position: absolute; top: 2px; right: calc(50% - 16px); min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: #E0464E; color: #FFFFFF; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.nav a { position: relative; }
@media (min-width: 720px) { .chat { height: calc(100dvh - 64px - 24px); } }

/* verification + admin */
.vlink { display: block; text-decoration: none; }
.vlink b { white-space: nowrap; }
.vsteps { margin: 0; padding: 0; list-style: none; counter-reset: v; display: flex; flex-direction: column; gap: 12px; }
.vsteps li { counter-increment: v; display: grid; grid-template-columns: 32px 1fr; column-gap: 12px; }
.vsteps li::before { content: counter(v); grid-row: span 2; width: 28px; height: 28px; border-radius: 14px; background: var(--soft); font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.vsteps b { font-size: 15px; }
.vsteps span { font-size: 14px; color: var(--quiet); }
.vok { color: var(--ok); }
.vnote { margin: 0; padding: 10px 12px; border-radius: 12px; background: #FDF1DC; color: #8A5300; font-size: 14px; }
.docs { display: flex; flex-wrap: wrap; gap: 8px; }
.doc { position: relative; display: inline-flex; align-items: center; height: 40px; padding: 0 36px 0 14px; border-radius: 20px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.doc .doc-open { border: none; background: none; font: inherit; color: var(--ink); cursor: pointer; padding: 0; }
.doc .x { position: absolute; right: 6px; top: 7px; width: 26px; height: 26px; border-radius: 13px; border: none; background: var(--soft); cursor: pointer; font-size: 15px; }
.doc.add { padding: 0 14px; border-style: dashed; color: var(--quiet); cursor: pointer; }
.doc.add input { display: none; }
.doc.busy { padding: 0 14px; color: var(--quiet); }
.admin-list { display: flex; flex-direction: column; gap: 14px; }
.areq-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.areq dl { margin: 0; display: grid; grid-template-columns: 140px 1fr; gap: 6px 12px; font-size: 14px; }
.areq dt { color: var(--quiet); }
.areq dd { margin: 0; overflow-wrap: anywhere; }
.areq-docs { display: flex; flex-wrap: wrap; gap: 8px; }
.areq-docs .chip-btn { height: 36px; }
.areq-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.areq-actions .btn { height: 44px; font-size: 14px; padding: 0 8px; }
@media (max-width: 480px) { .areq dl { grid-template-columns: 1fr; } .areq dt { margin-top: 4px; } }

.nav svg { transition: transform .28s cubic-bezier(.3,1.7,.5,1); }
.nav a:active svg { transform: scale(.8) rotate(-6deg); }
.nav a.on svg { transform: translateY(-1px); }

html { scrollbar-gutter: stable; }

/* trust paws */
.pawb { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; white-space: nowrap; vertical-align: middle; }
.pawb-new { color: #7A746A; } .pawb-verified { color: #2860BC; } .pawb-documented { color: #1D7A3D; } .pawb-top { color: #9A6C00; }
.pawb-top { padding: 2px 8px 2px 5px; border-radius: 10px; background: linear-gradient(110deg, #FFF6D8 0%, #FDE9A6 45%, #FFF6D8 60%, #FDF0C4 100%); background-size: 250% 100%; animation: goldShine 3.5s ease-in-out infinite; }
.pawo { display: inline-flex; vertical-align: -2px; }
.paw-top { filter: drop-shadow(0 0 2px rgba(214, 162, 30, 0.45)); }
@keyframes goldShine { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.finfo .pawb { color: #FFFFFF; }
.finfo .pawb-top { color: #5C4000; }
.kmeta .pawo { margin-right: 3px; }
.paw-legend { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; }
.paw-legend li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; padding: 12px 14px; border-radius: 14px; background: #F6F4F1; list-style: none; }
.paw-legend b { display: block; font-size: 15px; }
.paw-legend span { font-size: 13px; color: var(--ink-2); line-height: 1.45; }
@media (prefers-reduced-motion: reduce) { .pawb-top { animation: none; } }
.paw-link { text-decoration: none; }
.trust-pick > span { display: flex; align-items: center; gap: 6px; }

/* ---------- home ---------- */
.h-search { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; padding: 14px; border-radius: 20px; border: 1px solid var(--line); background: #FFFFFF; box-shadow: 0 6px 24px rgba(17,17,17,0.06); }
.h-search .btn { grid-column: 1 / -1; height: 50px; }
.h-search .field input, .h-search .field select { height: 46px; }
.h-alt { font-size: 14px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.h-alt.light { color: #D6D6D6; }
.h-row { display: flex; flex-direction: column; gap: 12px; padding-top: 28px; }
.h-row-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.h-row-head h2 { font-size: 22px; }
.h-row-head a { font-size: 13px; font-weight: 600; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.h-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 0 20px 4px; scrollbar-width: none; }
.h-scroll::-webkit-scrollbar { display: none; }
.h-scroll > * { scroll-snap-align: start; }
.h-br { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 16px 10px; border-radius: 18px; border: 1px solid var(--line); text-decoration: none; min-width: 0; }
.h-br .avatar { width: 56px; height: 56px; font-size: 18px; color: var(--ink); }
.h-br b { font-size: 14px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.h-br small { font-size: 12px; color: var(--quiet); }
.h-paws { margin-top: 28px; display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 20px; background: #F6F4F1; text-decoration: none; }
.h-paws-row { display: flex; gap: 6px; margin-bottom: 4px; }
.h-paws b { font-size: 17px; }
.h-paws > span:last-child { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.h-guide { margin-top: 28px; }
.h-breeder { margin-top: 28px; padding: 22px 20px; border-radius: 22px; background: #141414; color: #FFFFFF; display: flex; flex-direction: column; gap: 10px; }
.h-breeder h2 { font-size: 22px; }
.h-breeder p { margin: 0; color: #D6D6D6; font-size: 15px; line-height: 1.5; }
.h-breeder-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 6px; }
@media (min-width: 720px) {
  .h-search { grid-template-columns: 1fr 1fr auto; align-items: end; }
  .h-search .btn { grid-column: auto; }
  .h-scroll { grid-auto-columns: 30%; margin: 0; padding: 0 0 4px; }
}

/* ---------- "Find your kitten" (first visit) ---------- */
.ob { max-width: 480px; margin: 0 auto; padding: 4px 0 24px; display: flex; flex-direction: column; gap: 18px; min-height: calc(100dvh - 64px - 64px); }
.ob-top { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; }
.ob-dots { display: flex; justify-content: center; gap: 6px; }
.ob-dots i { width: 28px; height: 5px; border-radius: 3px; background: var(--line); transition: background .2s ease; }
.ob-dots i.on { background: var(--ink); }
.ob-skip { justify-self: end; font-size: 14px; font-weight: 600; color: var(--quiet); text-decoration: none; }
.ob-step { display: flex; flex-direction: column; gap: 14px; }
.ob-count { font-size: 12px; font-weight: 700; letter-spacing: 0.5px; color: #8A6A3A; text-transform: uppercase; }
.ob h1 { font-size: 28px; letter-spacing: -0.7px; line-height: 1.15; text-wrap: balance; }
.ob-sub { margin: -6px 0 0; color: var(--ink-2); font-size: 15px; }
.ob-breeds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ob-breed { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px 12px; border-radius: 18px; border: 1.5px solid var(--line); background: #FFFFFF; cursor: pointer; font: inherit; color: var(--ink); transition: border-color .15s ease, transform .15s ease; }
.ob-breed:active { transform: scale(0.97); }
.ob-breed b { font-size: 12.5px; line-height: 1.2; text-align: center; }
.ob-breed.on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.ob-face { width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.ob-face.any { background: var(--soft); gap: 0; }
.ob-help { font-size: 14px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.ob-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ob-chips button { height: 44px; padding: 0 18px; border-radius: 22px; border: 1.5px solid var(--line); background: #FFFFFF; font: 600 15px Inter, system-ui, sans-serif; color: var(--ink); cursor: pointer; }
.ob-chips button.on { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.ob-chips.big { flex-direction: column; }
.ob-chips.big button { height: 52px; border-radius: 16px; text-align: left; padding: 0 18px; }
.ob-foot { margin-top: auto; position: sticky; bottom: calc(68px + env(safe-area-inset-bottom)); background: linear-gradient(rgba(255,255,255,0), #FFFFFF 35%); padding-top: 16px; }
.ob-foot .btn { height: 54px; }
@media (min-width: 720px) { .ob-foot { bottom: 16px; } .ob-breeds { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* picks banner on Kittens */
.picks { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: #F6F4F1; }
.picks > div { flex: 1; min-width: 0; }
.picks b { display: block; font-size: 15px; }
.picks span { font-size: 13px; color: var(--ink-2); }
.picks a { font-size: 13px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.picks-cta { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; border: 1px dashed #CFC8BF; text-decoration: none; }
.picks-cta b { display: block; font-size: 15px; }
.picks-cta span { font-size: 13px; color: var(--ink-2); }
.h-help { grid-column: 1 / -1; text-align: center; font-size: 13px; font-weight: 600; color: var(--ink-2); text-decoration: none; }

/* bell */
.bell { position: relative; width: 40px; height: 40px; border-radius: 20px; display: flex; align-items: center; justify-content: center; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.bell:active { background: var(--soft); }
.bell svg { transition: transform .28s cubic-bezier(.3,1.7,.5,1); }
.bell:active svg { transform: rotate(-12deg) scale(.9); }
.bell-dot { position: absolute; top: 3px; right: 2px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: #E0464E; color: #FFFFFF; font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 2px solid #FFFFFF; }
.bell-dot[hidden] { display: none; }
@media (min-width: 720px) { .top .nav { margin-left: auto; } .top .bell { margin-left: 8px; } }
/* notifications page */
.notif-list { display: flex; flex-direction: column; }
.notif { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: start; padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.notif .n-ic { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.notif b { display: block; font-size: 15px; line-height: 1.3; }
.notif span { font-size: 13px; color: var(--ink-2); }
.notif time { font-size: 12px; color: var(--quiet); white-space: nowrap; }
.notif.unread b::after { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 4px; background: #E0464E; margin-left: 6px; vertical-align: 2px; }
.notif-day { font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--quiet); margin-top: 14px; }

/* location bar */
.locbar { display: flex; flex-direction: column; gap: 10px; }
.locbar-btn { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 18px; border: none; background: var(--soft); font: 600 14px Inter, system-ui, sans-serif; color: var(--ink); cursor: pointer; max-width: 100%; }
.locbar-btn svg { color: #C2410C; flex-shrink: 0; }
.locbar-btn #locText { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.locbar-change { color: var(--quiet); font-weight: 600; margin-left: 4px; text-decoration: underline; }
.locpanel { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 18px; border: 1px solid var(--line); }
.locpanel .btn { height: 46px; gap: 8px; }
.locpanel-zip { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.locpanel-zip input { height: 46px; border-radius: 12px; border: 1px solid var(--line); padding: 0 14px; font: 400 16px Inter, system-ui, sans-serif; min-width: 0; }
.locpanel-zip .btn { height: 46px; padding: 0 18px; }
.locpanel .msg { min-height: 0; }

/* verification steps */
.vstep { display: flex; flex-direction: column; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 20px; }
.vstep-head { display: grid; grid-template-columns: 32px 1fr auto; gap: 10px; align-items: center; }
.vstep-head b { display: block; font-size: 16px; }
.vstep-head span { font-size: 13px; color: var(--quiet); }
.vstep-head .pawb span { color: inherit; font-size: 12px; }
.vnum { width: 30px; height: 30px; border-radius: 15px; background: var(--ink); color: #FFFFFF; font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.vtips { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--ink-2); }
.vcode { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-radius: 16px; background: #FFF6D8; border: 1.5px dashed #D6A21E; }
.vcode span { font-size: 13px; font-weight: 600; color: #7A5A00; }
.vcode b { font-size: 26px; letter-spacing: 2px; font-variant-numeric: tabular-nums; }
.vrules { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.doc.add.big { height: 52px; padding: 0 20px; font-size: 15px; color: var(--ink); border-color: var(--ink); }
.areq-video { display: flex; flex-direction: column; gap: 8px; }
.areq-video video { width: 100%; max-height: 420px; border-radius: 16px; background: #000; }
.vcode.small { padding: 10px 14px; }
.vcode.small b { font-size: 20px; }
.areq-sub { font-size: 13px; font-weight: 700; margin-top: 4px; }
.badge-pick { display: flex; flex-direction: column; gap: 6px; }
.bchips { display: flex; flex-wrap: wrap; gap: 6px; }
.bchip { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 10px; border-radius: 12px; background: var(--paper-2, #F4F1EC); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.seller-card .bchips, #vline .bchips { margin-top: 6px; }
#vline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
#vline .bchips { margin-top: 0; }
.vcode b { white-space: nowrap; }
.vcode span { min-width: 0; }
.vcode { gap: 12px; }
.vstep-head div > span { display: block; line-height: 1.35; margin-top: 2px; }

/* breeder stats */
.stats7 { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 20px; background: var(--soft); }
.stats7-head { display: flex; flex-direction: column; gap: 2px; }
.stats7-head b { font-size: 16px; }
.stats7-head span { font-size: 13px; color: var(--quiet); }
.stats7-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stats7-row > div { display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 14px; background: #FFFFFF; }
.stats7-row b { font-size: 26px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stats7-row span { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--quiet); }
.mine .kstats { display: flex; gap: 12px; margin-top: 4px; }
.mine .kstats span { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.mine .kstats svg { color: var(--quiet); }
.mine b { color: var(--ink); }
.stats7-row span { white-space: nowrap; }

/* cats on empty screens */
.empty { border-style: solid; border-color: transparent; background: var(--soft); }
.empty::before { content: ''; width: 150px; height: 104px; margin-bottom: 4px; background: url(/img/empty-sleep.svg) center / contain no-repeat; }
.empty.art-heart::before { background-image: url(/img/empty-heart.svg); }
.empty.art-chat::before { background-image: url(/img/empty-chat.svg); }
.empty.art-box::before { background-image: url(/img/empty-box.svg); }
.empty.no-art::before { content: none; }

/* bottom sheet (report) */
html.sheet-open { overflow: hidden; }
.sheet-bg { position: fixed; inset: 0; z-index: 100; background: rgba(17,17,17,0.45); display: flex; align-items: flex-end; justify-content: center; }
.sheet { width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; background: #FFFFFF; border-radius: 24px 24px 0 0; padding: 10px 20px calc(20px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px; }
.sheet h2 { margin: 0; font-size: 22px; letter-spacing: -0.4px; }
.sheet-grab { width: 40px; height: 5px; border-radius: 3px; background: var(--line); margin: 0 auto 4px; }
.rep-reasons { display: flex; flex-direction: column; gap: 6px; }
.rep-r { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; font-size: 15px; cursor: pointer; }
.rep-r:has(input:checked) { border-color: var(--ink); background: var(--soft); }
.rep-r input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.report-link { background: none; border: 0; padding: 6px 0; font: inherit; font-size: 13px; color: var(--quiet); text-decoration: underline; cursor: pointer; align-self: center; }
@media (min-width: 600px) { .sheet-bg { align-items: center; } .sheet { border-radius: 24px; } }

.chat-report { margin-left: auto; width: 40px; height: 40px; border-radius: 20px; border: 0; background: transparent; color: var(--quiet); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.chat-report:hover { background: var(--soft); color: var(--ink); }
.rating-line { display: inline-flex !important; align-items: center; gap: 4px; font-size: 13px; color: var(--ink-2) !important; }
.rating-line b { display: inline !important; font-size: 13px; }

/* reviews */
.reviews { display: flex; flex-direction: column; gap: 12px; }
.review { display: flex; flex-direction: column; gap: 8px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; }
.review-top { display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center; }
.review-top b { display: block; font-size: 15px; }
.review-top span span { display: block; font-size: 13px; color: var(--quiet); }
.review p { margin: 0; font-size: 15px; color: var(--ink-2); white-space: pre-line; }
.review .report-link { align-self: flex-start; padding: 0; }
.avatar.sm { width: 36px; height: 36px; border-radius: 18px; font-size: 13px; }
.stars { display: inline-flex; gap: 1px; }
.review-reply { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--soft); font-size: 14px; }
.review-reply span { color: var(--ink-2); white-space: pre-line; }
.reply-form { display: flex; flex-direction: column; gap: 8px; }
.reply-form textarea { min-height: 64px; }
.reply-form .btn { align-self: flex-start; height: 40px; font-size: 14px; }
.review .avatar { color: var(--ink); }
.rv-kitten { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 16px; background: var(--soft); }
.rv-kitten .th { width: 56px; height: 56px; border-radius: 12px; overflow: hidden; background: #FFFFFF; display: flex; align-items: center; justify-content: center; color: rgba(0,0,0,0.25); flex-shrink: 0; }
.rv-kitten .th img { width: 100%; height: 100%; object-fit: cover; }
.rv-kitten .th svg { width: 26px; height: 26px; }
.rv-kitten b { display: block; }
.rv-kitten span span { font-size: 13px; color: var(--quiet); }
.star-pick { display: flex; gap: 4px; }
.star-pick button { padding: 2px; border: 0; background: none; cursor: pointer; border-radius: 10px; }
.star-pick svg path { fill: #E2DED8; transition: fill .12s; }
.star-pick button.on svg path { fill: #E0A100; }

.danger-zone { border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.danger-zone summary { cursor: pointer; font-size: 14px; color: var(--quiet); text-align: center; list-style: none; }
.danger-zone summary::-webkit-details-marker { display: none; }
.danger-zone[open] summary { color: var(--err); font-weight: 600; margin-bottom: 8px; }
.danger-zone p { margin: 0 0 10px; font-size: 14px; color: var(--ink-2); }
.danger-zone .btn { margin-top: 10px; }

.rep-chat { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-radius: 12px; background: var(--soft); font-size: 14px; max-height: 300px; overflow-y: auto; }
.rep-chat p { margin: 0; }

/* account hub (like the prototype's profile screen) */
.acct #hub, .acct #editView, .acct #view { display: flex; flex-direction: column; gap: 16px; }
.acct [hidden] { display: none !important; }
.acct-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding-top: 8px; }
.acct-av { width: 84px; height: 84px; border-radius: 42px; font-size: 32px; background: #F6D9C4; color: var(--ink); margin-bottom: 4px; }
.acct-head h1 { font-size: 26px; letter-spacing: -0.6px; line-height: 1.15; word-break: break-word; }
.acct-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.acct-sub { font-size: 14px; color: var(--quiet); word-break: break-all; }
.acct-stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.acct-stats a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 6px; text-decoration: none; border-left: 1px solid var(--line); }
.acct-stats a:first-child { border-left: none; }
.acct-stats b { font-size: 22px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.acct-stats span { font-size: 12px; color: var(--quiet); font-weight: 600; }
.acct-verify { display: grid; grid-template-columns: 44px 1fr 18px; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 18px; background: #FFF6D8; text-decoration: none; color: var(--ink); }
.acct-verify.pending { background: #E6EEFB; }
.acct-verify .av-ic { width: 44px; height: 44px; border-radius: 22px; background: #FFFFFF; display: flex; align-items: center; justify-content: center; }
.acct-verify b { display: block; font-size: 15px; }
.acct-verify span span { display: block; font-size: 13px; color: var(--ink-2); }
.acct-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.acct-actions .btn { height: 48px; font-size: 15px; text-decoration: none; }
.acct-rows, .edit-extra { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.edit-extra { border: none; gap: 14px; overflow: visible; }
.edit-extra > .acct-row { border: 1px solid var(--line); border-radius: 18px; }
.acct-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; text-decoration: none; color: var(--ink); border-top: 1px solid var(--line); min-height: 64px; }
.acct-row:first-child { border-top: none; }
.acct-row:hover { background: #FBFAF8; }
.ar-ic { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--ink); }
.ar-txt { flex: 1; min-width: 0; }
.ar-txt b { display: block; font-size: 15px; }
.ar-txt span { display: block; font-size: 13px; color: var(--quiet); }
.ar-chev { color: #B9B4AD; flex-shrink: 0; }
.ar-badge { min-width: 22px; height: 22px; padding: 0 7px; border-radius: 11px; background: #E5484D; color: #FFFFFF; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.ar-pill { height: 24px; padding: 0 10px; border-radius: 12px; background: var(--soft); font-size: 12px; font-weight: 700; color: var(--ink-2); display: inline-flex; align-items: center; white-space: nowrap; }
.ar-pill.warn { background: #FDF1DC; color: #8A5300; }
.acct-row .pawb { white-space: nowrap; }
.acct-logout { align-self: center; background: none; border: 0; font: inherit; font-size: 15px; font-weight: 600; color: var(--err); padding: 10px 20px; cursor: pointer; }
.acct-actions.breeder-only:not([hidden]) { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.acct-actions .btn { padding: 0 12px; }

.qsearch { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; border-radius: 24px; background: var(--soft); color: var(--quiet); cursor: text; }
.qsearch input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font: 500 16px Inter, system-ui, sans-serif; color: var(--ink); outline: none; }
.qsearch:focus-within { box-shadow: 0 0 0 2px var(--ink); }
.avatar.has-img { background: var(--soft); overflow: hidden; padding: 0; }
.avatar.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar.has-img { background: var(--soft); overflow: hidden; padding: 0; }
.avatar.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.b-cover { width: calc(100% + 40px); margin: -8px -20px 0; height: 180px; overflow: hidden; background: var(--soft); }
.b-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.b-head.has-cover .avatar { margin-top: -50px; border: 4px solid #FFFFFF; width: 92px; height: 92px; border-radius: 46px; box-sizing: content-box; }
@media (min-width: 600px) { .b-cover { width: 100%; margin: 0; border-radius: 22px; height: 220px; } }

.pf-photos { display: flex; flex-direction: column; gap: 12px; }
.pf-cover { position: relative; }
.pf-cover-img { display: flex; align-items: center; justify-content: center; height: 140px; border-radius: 18px; overflow: hidden; background: var(--soft); border: 1px dashed var(--line); color: var(--quiet); font-size: 13px; text-align: center; padding: 0 20px; }
.pf-cover-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-cover .pf-btn-cover { position: absolute; right: 10px; bottom: 10px; background: rgba(255,255,255,0.92); }
.pf-av { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pf-av .acct-av { width: 72px; height: 72px; border-radius: 36px; font-size: 28px; margin: 0; }
.pf-btn { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 20px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; cursor: pointer; background: #FFFFFF; }
.pf-btn input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pf-btn:focus-within { box-shadow: 0 0 0 2px var(--ink); }
#photoMsg { flex-basis: 100%; }

/* parent cats */
.parents-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pcard { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink); }
.pc-ph { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--soft); display: flex; align-items: center; justify-content: center; color: rgba(0,0,0,0.2); }
.pc-ph img { width: 100%; height: 100%; object-fit: cover; }
.pc-role { position: absolute; left: 8px; top: 8px; height: 24px; padding: 0 10px; border-radius: 12px; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; background: #FCE4EC; color: #8E2450; }
.pc-role.dad { background: #E3EEFB; color: #1F4E8C; }
.pc-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.pc-txt b { font-size: 15px; }
.pc-txt span { font-size: 13px; color: var(--quiet); }
.pc-txt .pc-health { display: flex; gap: 4px; align-items: flex-start; color: var(--ok); font-weight: 600; }
.pc-health svg { flex-shrink: 0; margin-top: 3px; }

.fbtn.flike { flex-direction: column; height: auto; padding: 10px 0 6px; gap: 1px; }
.fbtn.flike svg path { fill: none; }
.fbtn .fcount { font-size: 12px; font-weight: 700; color: #FFFFFF; text-shadow: 0 1px 3px rgba(0,0,0,0.5); }
.fbtn.flike.on svg path { fill: #FF4D6D; stroke: #FF4D6D; }


.k-links { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.share-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 20px; border: 1px solid var(--line); background: #FFFFFF; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; }
.k-links .report-link { align-self: center; }
.tabs button { white-space: nowrap; padding: 0 4px; font-size: 13.5px; }
@media (max-width: 380px) { .tabs button { font-size: 12.5px; } }

.g-btn { gap: 10px; border: 1px solid var(--line); background: #FFFFFF; }
.oauth { display: flex; flex-direction: column; gap: 16px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--quiet); font-size: 13px; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.oauth { margin-bottom: 18px; }

/* photos in chat */
.composer .attach { width: 44px; height: 44px; border-radius: 22px; display: flex; align-items: center; justify-content: center; color: var(--ink-2); cursor: pointer; flex-shrink: 0; }
.composer .attach:hover { background: var(--soft); }
.composer .attach input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.composer .attach:focus-within { box-shadow: 0 0 0 2px var(--ink); }
.bub.has-photo { padding: 4px; }
.bub.has-photo > span, .bub.has-photo > time { padding: 0 8px; }
.bub.has-photo > time { padding-bottom: 4px; }
.bub-photo { border: 0; padding: 0; background: none; cursor: zoom-in; display: block; }
.bub-photo img { display: block; width: 100%; max-width: 260px; max-height: 320px; object-fit: cover; border-radius: 14px; }
.bub-ph-wait { display: block; width: 220px; height: 160px; max-width: 60vw; border-radius: 14px; background: rgba(0,0,0,0.06); }
.photo-view { position: fixed; inset: 0; z-index: 120; background: rgba(0,0,0,0.9); display: flex; align-items: center; justify-content: center; }
.photo-view img { max-width: 100%; max-height: 100%; object-fit: contain; }
.photo-view button { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 22px; border: 0; background: rgba(255,255,255,0.15); color: #FFFFFF; font-size: 26px; cursor: pointer; }

/* upcoming litters */
.litters { display: flex; flex-direction: column; gap: 10px; }
#bLitters { margin-bottom: 16px; }
.lt-head { font-size: 17px; }
.litter { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 18px; background: linear-gradient(135deg, #FFF6E5, #FCEFEA); text-decoration: none; color: var(--ink); }
.litter b { font-size: 17px; }
.lt-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.lt-st { height: 24px; padding: 0 10px; border-radius: 12px; background: #FFFFFF; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; }
.lt-st.born { background: var(--ok-bg); color: var(--ok); }
.lt-wait { font-size: 13px; color: var(--ink-2); font-weight: 600; }
.lt-sub { font-size: 14px; color: var(--ink-2); }
.litter p { margin: 0; font-size: 14px; color: var(--ink-2); }
.lt-join { align-self: flex-start; height: 40px; font-size: 14px; margin-top: 4px; }
.wl { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.wl-row { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; padding: 12px 14px; border-top: 1px solid var(--line); }
.wl-row:first-child { border-top: none; }
.wl-n { width: 26px; height: 26px; border-radius: 13px; background: var(--soft); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.wl-row b { display: block; font-size: 15px; }
.wl-row span span { display: block; font-size: 13px; color: var(--quiet); }
.wl-row time { font-size: 12px; color: var(--quiet); }

/* admin overview */
.ov { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.ov > div { display: flex; flex-direction: column; gap: 1px; padding: 12px; border-radius: 16px; background: var(--soft); min-width: 0; }
.ov b { font-size: 24px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.ov span { font-size: 13px; font-weight: 600; }
.ov small { font-size: 12px; color: var(--quiet); }
.ppl { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.ppl-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; padding: 12px 14px; border-top: 1px solid var(--line); }
.ppl-row:first-child { border-top: none; }
.ppl-row > span:first-child { min-width: 0; }
.ppl-row b { display: block; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ppl-row > span:first-child span { display: block; font-size: 13px; color: var(--quiet); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ppl-row time { font-size: 12px; color: var(--quiet); }
.ppl-row a { font-size: 13px; font-weight: 600; justify-self: end; }
@media (min-width: 700px) { .ov { grid-template-columns: repeat(6, 1fr); } }

.ntabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 6px; }
.ntabs::-webkit-scrollbar { display: none; }
.ntabs button { height: 36px; padding: 0 14px; border-radius: 18px; border: 1px solid var(--line); background: #FFFFFF; font: 600 14px Inter, system-ui, sans-serif; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.ntabs button.on { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.acct-legal { margin: -6px 0 0; text-align: center; font-size: 13px; color: var(--quiet); }
.acct-legal a { color: var(--quiet); }
.legal h2 { font-size: 19px; margin: 24px 0 6px; letter-spacing: -0.3px; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }

/* new breeder checklist */
.setup { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 20px; border: 1px solid var(--line); }
.setup-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.setup-head b { font-size: 17px; }
.setup-head span { font-size: 13px; color: var(--quiet); font-weight: 600; }
.setup-bar { height: 6px; border-radius: 3px; background: var(--soft); overflow: hidden; margin: 6px 0 8px; }
.setup-bar i { display: block; height: 100%; background: #1D8A44; border-radius: 3px; }
.setup-row { display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: center; padding: 10px 2px; text-decoration: none; color: var(--ink); border-top: 1px solid var(--line); }
.setup-row:first-of-type { border-top: none; }
.setup-row b { display: block; font-size: 15px; }
.setup-row span span { display: block; font-size: 13px; color: var(--quiet); }
.setup-tick { width: 24px; height: 24px; border-radius: 12px; border: 2px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; color: #FFFFFF; }
.setup-row.ok .setup-tick { background: #1D8A44; border-color: #1D8A44; }
.setup-row.ok b { color: var(--quiet); text-decoration: line-through; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.alert-cta { display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; padding: 18px 16px; margin-top: 8px; border-radius: 20px; background: var(--soft); }
.alert-cta > span { font-size: 14px; color: var(--ink-2); max-width: 32em; }
.alert-cta .btn { height: 44px; font-size: 15px; gap: 8px; background: #FFFFFF; border: 1px solid var(--line); }
.alert-cta .msg { margin: 0; }

.alerts { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--line); margin-bottom: 12px; }
.alerts-head { display: flex; justify-content: space-between; align-items: baseline; }
.alerts-head a { font-size: 14px; font-weight: 600; }
.alert-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.alert-row .x { width: 30px; height: 30px; border-radius: 15px; border: none; background: var(--soft); cursor: pointer; font-size: 16px; flex-shrink: 0; }

.similar { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.similar h2 { margin: 0; font-size: 22px; letter-spacing: -0.4px; }

/* ---------- Calm motion: short, soft, never bouncy. Off when the device asks to reduce motion. ---------- */
:root { --ease-soft: cubic-bezier(.22, .61, .36, 1); }
.btn, .save-big, .ksave, .fbtn, .follow-pill, .feed-tabs button, .bs-chips button {
  transition: background-color .25s var(--ease-soft), color .25s var(--ease-soft), border-color .25s var(--ease-soft), opacity .25s var(--ease-soft), transform .18s var(--ease-soft);
}
.btn:active, .save-big:active, .ksave:active, .fbtn:active, .follow-pill:active { transform: scale(.97); }
.ksave svg, .save-big svg, .fbtn svg, .fbtn svg path { transition: fill .25s var(--ease-soft), stroke .25s var(--ease-soft); }

/* Heart: a gentle swell and a faint ring that fades out. Un-heart: a tiny dip. */
.pop svg { animation: kkSwell .45s var(--ease-soft); }
.pop { animation: kkRing .7s var(--ease-soft); }
.unpop svg { animation: kkDip .3s var(--ease-soft); }
@keyframes kkSwell { 0% { transform: scale(1); } 35% { transform: scale(1.16); } 100% { transform: scale(1); } }
@keyframes kkDip { 0% { transform: scale(1); } 40% { transform: scale(.9); } 100% { transform: scale(1); } }
@keyframes kkRing { 0% { box-shadow: 0 0 0 0 rgba(224, 70, 78, .22); } 100% { box-shadow: 0 0 0 12px rgba(224, 70, 78, 0); } }

/* Counters slide softly when they change. */
.tick-up, .tick-down { display: inline-block; }
.tick-up { animation: kkUp .32s var(--ease-soft); }
.tick-down { animation: kkDown .32s var(--ease-soft); }
@keyframes kkUp { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
@keyframes kkDown { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }

/* Follow: the check mark draws itself in. */
.follow-check { flex-shrink: 0; }
.follow-check path { stroke-dasharray: 22; stroke-dashoffset: 0; }
.fresh .follow-check path { animation: kkDraw .4s .05s var(--ease-soft) both; }
.fresh > span { animation: kkFade .3s var(--ease-soft); }
@keyframes kkDraw { from { stroke-dashoffset: 22; } to { stroke-dashoffset: 0; } }
@keyframes kkFade { from { opacity: .3; } to { opacity: 1; } }
.btn-follow { gap: 6px; min-width: 128px; }

.follow-pill { display: inline-flex; align-items: center; justify-content: center; gap: 5px; height: 32px; padding: 0 14px; border-radius: 16px; border: 1px solid var(--ink); background: var(--ink); color: #FFFFFF; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; flex-shrink: 0; }
.follow-pill.on { background: #FFFFFF; color: var(--ink); border-color: var(--line); }
.follow-pill.on-dark { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .6); color: #FFFFFF; }
.follow-pill.on-dark.on { background: transparent; border-color: rgba(255, 255, 255, .35); color: rgba(255, 255, 255, .9); }
.fwho-row { display: flex; align-items: center; gap: 12px; }
.fwho-row .fwho { min-width: 0; }
.seller-wrap { position: relative; }
.seller-wrap .follow-pill { position: absolute; right: 14px; top: 14px; }
.seller-card.has-follow { padding-right: 116px; }
.seller-card b .pawb { margin-left: 4px; vertical-align: -2px; }

/* Cards and toasts arrive quietly. */
.kcard { animation: kkIn .4s var(--ease-soft) both; }
.kcard:nth-child(2) { animation-delay: .03s; } .kcard:nth-child(3) { animation-delay: .06s; } .kcard:nth-child(4) { animation-delay: .09s; }
.kcard:nth-child(5) { animation-delay: .12s; } .kcard:nth-child(6) { animation-delay: .15s; } .kcard:nth-child(n+7) { animation-delay: .18s; }
@keyframes kkIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.toast:not([hidden]) { animation: kkToast .3s var(--ease-soft); }
@keyframes kkToast { from { opacity: 0; transform: translate(-50%, 6px); } to { opacity: 1; transform: translate(-50%, 0); } }

@media (prefers-reduced-motion: reduce) {
  .pop, .pop svg, .unpop svg, .tick-up, .tick-down, .fresh .follow-check path, .fresh > span, .kcard, .toast:not([hidden]) { animation: none; }
  .btn, .save-big, .ksave, .fbtn, .follow-pill { transition: none; }
}

/* ---------- Kitten page: quiet sections ---------- */
.kready { align-self: flex-start; display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 15px; background: var(--ok-bg); color: var(--ok); font-size: 13px; font-weight: 700; margin-top: -6px; }
.ktags { display: flex; flex-wrap: wrap; gap: 6px; }
.ktags span { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 15px; background: var(--soft); color: var(--ink); font-size: 13px; font-weight: 600; }
.ksec { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.ksec h2 { margin: 0; font-size: 13px; font-weight: 700; color: var(--quiet); letter-spacing: .2px; }
.krows { margin: 0; display: flex; flex-direction: column; }
.krows div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid #F1EEEA; font-size: 15px; }
.krows div:last-child { border-bottom: none; }
.krows dt { color: var(--quiet); }
.krows dd { margin: 0; font-weight: 600; text-align: right; }
.klist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.klist li { display: flex; align-items: center; gap: 8px; font-size: 15px; min-width: 0; }
.klist li svg { flex-shrink: 0; color: var(--ok); width: 16px; height: 16px; }
.banner.soft { background: var(--soft); color: var(--ink-2); font-weight: 500; line-height: 1.5; }
.banner.soft b { color: var(--ink); }

/* ---------- Chat: sending state, seen, notifications card ---------- */
.bub.pending time { opacity: .7; }
.bub.pending.uploading .bub-photo img { opacity: .55; }
.bub.failed { cursor: pointer; }
.bub.failed time { color: #C0392B; opacity: 1; font-weight: 600; }
.bub { animation: kkBub .22s var(--ease-soft) both; }
@keyframes kkBub { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.seen { align-self: flex-end; margin: -2px 4px 2px 0; font-size: 12px; color: var(--quiet); animation: kkFade .3s var(--ease-soft); }
.push-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; background: #FFFFFF; position: relative; animation: kkIn .35s var(--ease-soft) both; }
.push-card > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding-right: 8px; }
.push-card b { font-size: 14px; }
.push-card span { font-size: 13px; color: var(--quiet); line-height: 1.45; }
.push-card .btn { height: 38px; padding: 0 16px; font-size: 14px; flex-shrink: 0; }
.push-ic { width: 36px; height: 36px; border-radius: 18px; background: var(--soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--ink) !important; }
.push-x { position: absolute; top: 4px; right: 6px; width: 28px; height: 28px; border: none; background: none; font-size: 20px; color: var(--quiet); cursor: pointer; }
.bub.still { animation: none; }
.chat #pushBox { margin: 6px 0 0; }
.page #pushBox { margin-bottom: 14px; }
#pushBox:not([hidden]) + .acct-logout { margin-top: 14px; }
@media (prefers-reduced-motion: reduce) { .bub, .seen, .push-card { animation: none; } }

/* ---------- Feed: right-hand rail (kitten paw, breeder, like, comments, share) ---------- */
.fside { right: 2px; bottom: 92px; gap: 18px; align-items: center; }
.finfo { right: 72px; }
.fact { background: none; border: none; padding: 0; color: #FFFFFF; display: flex; flex-direction: column; align-items: center; gap: 3px; cursor: pointer; font: inherit; filter: drop-shadow(0 1px 3px rgba(0,0,0,0.45)); }
.fact svg path { fill: none; }
.fact .fcount { font-size: 12px; font-weight: 700; color: #FFFFFF; }
.fact.flike.on svg path, .fact.ksave.on svg path { fill: #FF4D6D; stroke: #FF4D6D; }
.fact.ksave { position: static; width: auto; height: auto; background: none; }
.fav { position: relative; margin-bottom: 8px; }
.fav > a { display: block; border-radius: 50%; }
.fav .avatar { width: 48px; height: 48px; font-size: 15px; color: var(--ink); border: 2px solid #FFFFFF; box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.fplus { position: absolute; left: 50%; bottom: -9px; margin-left: -10px; width: 20px; height: 20px; padding: 0; border-radius: 10px; border: none; background: #FF4D6D; color: #FFFFFF; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .25s var(--ease-soft), color .25s var(--ease-soft); }
.fplus.on { background: #FFFFFF; color: #1D8A44; }
.fplus svg { width: 12px; height: 12px; }
.fpaw { align-self: flex-end; margin-right: -2px; display: flex; align-items: center; gap: 6px; padding: 6px 10px 6px 8px; background: rgba(255,250,244,0.96); border-radius: 22px 0 0 22px; text-decoration: none; color: var(--ink); box-shadow: 0 2px 10px rgba(0,0,0,0.25); }
.fpaw svg { flex-shrink: 0; transform-origin: 50% 90%; }
.fpaw span { display: flex; flex-direction: column; line-height: 1.15; }
.fpaw b { font-size: 13px; max-width: 76px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fpaw small { font-size: 11px; color: var(--quiet); font-weight: 600; }
.fitem.playing .fpaw { animation: kkPeek .6s var(--ease-soft) both; }
.fitem.playing .fpaw svg { animation: kkWave 1.1s .55s var(--ease-soft); }
@keyframes kkPeek { from { transform: translateX(105%); } to { transform: none; } }
@keyframes kkWave { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-14deg); } 60% { transform: rotate(8deg); } }

/* ---------- Comments sheet ---------- */
.csheet { position: fixed; inset: 0; z-index: 60; }
.csheet-bg { position: absolute; inset: 0; background: rgba(0,0,0,0.35); animation: kkFade .25s var(--ease-soft); }
.csheet-panel { position: absolute; left: 0; right: 0; bottom: 0; max-width: 480px; margin: 0 auto; height: min(70vh, 560px); background: #FFFFFF; border-radius: 20px 20px 0 0; display: flex; flex-direction: column; animation: kkSheet .3s var(--ease-soft); }
@keyframes kkSheet { from { transform: translateY(100%); } to { transform: none; } }
.csheet-head { position: relative; display: flex; justify-content: center; padding: 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.csheet-x { position: absolute; right: 8px; top: 6px; width: 36px; height: 36px; border: none; background: none; font-size: 24px; color: var(--quiet); cursor: pointer; }
.clist { flex: 1; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 16px; }
.cmt { display: flex; gap: 10px; }
.cmt .avatar { width: 32px; height: 32px; font-size: 12px; flex-shrink: 0; }
.cmt b { font-size: 13px; color: var(--quiet); font-weight: 600; }
.cmt p { margin: 2px 0; font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.cmt small { font-size: 12px; color: var(--quiet); }
.cmt.pending { opacity: .6; }
.cmt.failed small { color: #C0392B; }
.cmt-tag { font-size: 11px; background: var(--soft); color: var(--ink); padding: 1px 6px; border-radius: 8px; margin-left: 4px; }
.cmt-del { border: none; background: none; padding: 0; font: inherit; color: var(--quiet); text-decoration: underline; cursor: pointer; }
.cmt-empty { margin: auto 0; text-align: center; color: var(--quiet); font-size: 14px; }
.cform { display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.cform input { flex: 1; min-width: 0; height: 44px; border: 1px solid var(--line); border-radius: 22px; padding: 0 16px; font: inherit; font-size: 15px; }
.cform .btn { height: 44px; padding: 0 18px; font-size: 15px; }
@media (prefers-reduced-motion: reduce) { .fitem.playing .fpaw, .fitem.playing .fpaw svg, .csheet-bg, .csheet-panel { animation: none; } }
.fav > a, .fav > a:hover { text-decoration: none; }
.cmt .avatar { color: var(--ink); }

/* Back arrow on kitten and breeder pages */
.back-btn { position: absolute; top: 12px; left: 12px; z-index: 5; width: 40px; height: 40px; border-radius: 20px; border: none; background: rgba(255,255,255,0.94); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,0.18); }
.back-btn:active { transform: scale(.94); }
.b-head { position: relative; }
.b-head .back-btn { top: 8px; left: 0; }
.fmute.hint { width: auto; padding: 0 12px 0 10px; gap: 6px; }
.fmute.hint::after { content: 'Tap for sound'; font: 600 13px Inter, system-ui, sans-serif; }

/* ---------- Kittens: one search row + side filter panel ---------- */
.ksearch { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; }
.ksearch .qsearch { flex: 1; min-width: 0; margin: 0; }
.fbutton { position: relative; flex-shrink: 0; width: 48px; height: 48px; border-radius: 24px; border: 1px solid var(--line); background: #FFFFFF; color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.fbutton.on { background: var(--ink); color: #FFFFFF; border-color: var(--ink); }
.fbutton #nf:not(:empty) { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #FF4D6D; color: #FFFFFF; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.fsheet { position: fixed; inset: 0; z-index: 70; }
.fsheet-bg { position: absolute; inset: 0; background: rgba(0,0,0,0.32); animation: kkFade .25s var(--ease-soft); }
.fsheet-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 92vw); background: #FFFFFF; display: flex; flex-direction: column; box-shadow: -8px 0 30px rgba(0,0,0,0.12); animation: kkSide .3s var(--ease-soft); }
@keyframes kkSide { from { transform: translateX(100%); } to { transform: none; } }
.fsheet-head { position: relative; display: flex; align-items: center; justify-content: center; padding: 16px; border-bottom: 1px solid var(--line); font-size: 16px; }
.fsheet-x { position: absolute; right: 10px; top: 8px; width: 40px; height: 40px; border: none; background: none; font-size: 26px; color: var(--quiet); cursor: pointer; }
.fsheet-body { flex: 1; overflow-y: auto; padding: 8px 20px 20px; display: flex; flex-direction: column; }
.fgroup { display: flex; flex-direction: column; gap: 12px; padding: 18px 0; border-bottom: 1px solid #F1EEEA; }
.flabel { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; font-size: 15px; }
.flabel b { font-weight: 600; font-size: 14px; color: var(--quiet); }
.fgroup select { height: 48px; border-radius: 14px; border: 1px solid var(--line); padding: 0 14px; font: inherit; font-size: 15px; background: #FFFFFF; color: var(--ink); }
.fsheet-foot { display: flex; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.fsheet-foot .btn { height: 50px; }
.fsheet-foot .btn-dark { flex: 1; }
/* sliders */
.range1, .range2 input { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; margin: 0; }
.range1::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: var(--ink); }
.range1::-moz-range-track { height: 4px; border-radius: 2px; background: var(--ink); }
.range1::-webkit-slider-thumb, .range2 input::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 13px; background: #FFFFFF; border: 1px solid var(--line); box-shadow: 0 2px 6px rgba(0,0,0,0.18); margin-top: -11px; cursor: pointer; }
.range1::-moz-range-thumb, .range2 input::-moz-range-thumb { width: 26px; height: 26px; border-radius: 13px; background: #FFFFFF; border: 1px solid var(--line); box-shadow: 0 2px 6px rgba(0,0,0,0.18); cursor: pointer; }
.range2 { position: relative; height: 28px; }
.range2::before { content: ''; position: absolute; left: 0; right: 0; top: 12px; height: 4px; border-radius: 2px; background: var(--line); }
.range2-fill { position: absolute; top: 12px; height: 4px; border-radius: 2px; background: var(--ink); }
.range2 input { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.range2 input::-webkit-slider-runnable-track { height: 4px; background: transparent; }
.range2 input::-webkit-slider-thumb { pointer-events: auto; }
.range2 input::-moz-range-thumb { pointer-events: auto; }
/* segmented choice */
.seg { display: flex; background: var(--soft); border-radius: 14px; padding: 4px; gap: 4px; }
.seg button { flex: 1; height: 40px; border: none; border-radius: 10px; background: none; font: 600 14px Inter, system-ui, sans-serif; color: var(--ink-2); cursor: pointer; transition: background-color .2s var(--ease-soft), color .2s var(--ease-soft); }
.seg button.on { background: #FFFFFF; color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
/* on/off switch */
.ftoggle { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid #F1EEEA; font-weight: 700; font-size: 15px; cursor: pointer; }
.ftoggle input { -webkit-appearance: none; appearance: none; width: 48px; height: 28px; border-radius: 14px; background: var(--line); position: relative; cursor: pointer; transition: background-color .2s var(--ease-soft); margin: 0; }
.ftoggle input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 11px; background: #FFFFFF; box-shadow: 0 1px 3px rgba(0,0,0,0.2); transition: transform .2s var(--ease-soft); }
.ftoggle input:checked { background: var(--ok); }
.ftoggle input:checked::after { transform: translateX(20px); }
.falert { padding-top: 18px; display: flex; flex-direction: column; gap: 6px; }
.falert .btn { gap: 8px; }
.falert .hint { margin: 0; font-size: 13px; }
.fgroup .locbar { margin: 0; }
.linkbtn { border: none; background: none; padding: 4px 0; font: inherit; font-size: 14px; color: var(--ink-2); text-decoration: underline; cursor: pointer; align-self: flex-start; }
body.sheet-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .fsheet-bg, .fsheet-panel { animation: none; } }
