:root {
  --bg: #f4f1ea;
  --surface: #fffdf8;
  --surface-2: #ece7dc;
  --ink: #161412;
  --ink-2: #57514a;
  --ink-3: #8a8378;
  --line: #e0dacd;
  --accent: #d9481c;
  --accent-ink: #fff;
  --good: #1a7248;
  --good-bg: #dff1e6;
  --warn: #9a5b00;
  --warn-bg: #fbeed2;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(22, 20, 18, 0.05), 0 10px 30px -18px rgba(22, 20, 18, 0.25);
  --nav-h: 64px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11100e;
    --surface: #1b1916;
    --surface-2: #26231f;
    --ink: #f4f1ea;
    --ink-2: #bdb6ab;
    --ink-3: #857e74;
    --line: #2f2b26;
    --accent: #ff6a3d;
    --accent-ink: #11100e;
    --good: #62d69c;
    --good-bg: #163326;
    --warn: #f2b35a;
    --warn-bg: #3a2a10;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--ink); min-height: 100vh; display: flex; flex-direction: column;
  font: 15px/1.5 ui-sans-serif, -apple-system, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}
main { flex: 1; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--ink-3); margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* NAV */
.nav { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav__row { height: var(--nav-h); display: flex; align-items: center; gap: 20px; }
.logo { font-weight: 850; font-size: 24px; letter-spacing: -0.045em; text-decoration: none; flex: none; }
.logo span { color: var(--accent); }
.nav__search { flex: 1; max-width: 560px; display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: 0 14px; height: 42px; }
.nav__search:focus-within { border-color: var(--ink); }
.nav__search svg, .bigsearch svg { width: 18px; height: 18px; fill: none; stroke: var(--ink-3); stroke-width: 2; flex: none; }
.nav__search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--ink-2); display: inline-flex; gap: 6px; align-items: center; }
.nav__links a:hover { background: var(--surface-2); color: var(--ink); }
.nav__links a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.count { background: var(--accent); color: var(--accent-ink); font-size: 11px; border-radius: 999px; padding: 0 6px; line-height: 18px; min-width: 18px; text-align: center; }
.cur select { background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 10px; font-weight: 600; font-size: 14px; }

/* BUTTONS */
.btn { border: 1.5px solid var(--ink); background: transparent; border-radius: 999px; padding: 9px 18px; font-weight: 650; cursor: pointer; white-space: nowrap; }
.btn--primary { background: var(--ink); color: var(--bg); }
.btn--ghost { border-color: var(--line); background: var(--surface); }
.btn--ghost:hover { border-color: var(--ink); }
.btn:hover { opacity: 0.9; }
.icon-btn { border: 0; background: transparent; cursor: pointer; font-size: 18px; padding: 6px; }

/* HERO */
.hero { padding: 72px 0 40px; }
.hero__inner { max-width: 880px; text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px; font-weight: 700; color: var(--ink-3); margin: 0 0 18px; }
.hero h1 { font-size: clamp(40px, 7vw, 76px); line-height: 0.98; letter-spacing: -0.05em; margin: 0 0 32px; font-weight: 850; }
.hero h1 em { font-style: normal; color: var(--accent); }
.bigsearch { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 2px solid var(--ink); border-radius: 999px; padding: 7px 7px 7px 22px; box-shadow: var(--shadow); }
.bigsearch input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 18px; padding: 10px 0; }
.bigsearch .btn { padding: 12px 26px; }
.try { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; }
.try button { border: 1.5px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 13px; cursor: pointer; font-size: 14px; color: var(--ink-2); }
.try button:hover { border-color: var(--ink); color: var(--ink); }

.strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip span { display: inline-flex; align-items: center; gap: 8px; font-weight: 750; font-size: 15px; letter-spacing: -0.01em; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 25%, transparent); }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 48px 0 64px; }
.how h3 { margin: 12px 0 6px; font-size: 18px; letter-spacing: -0.02em; }
.how p { margin: 0; color: var(--ink-2); }
.how__n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--bg); font-weight: 800; }

/* RESULTS LAYOUT */
.results { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding-top: 24px; padding-bottom: 40px; align-items: start; }
.filters { position: sticky; top: calc(var(--nav-h) + 16px); max-height: calc(100vh - var(--nav-h) - 32px); overflow: auto; padding-right: 4px; }
.filters__head { display: flex; align-items: center; justify-content: space-between; }
.filters__head h2 { margin: 0; font-size: 18px; }
.filters__close, .filters__apply { display: none; }
.fgroup { padding: 16px 0; border-bottom: 1px solid var(--line); }
.fgroup h3 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); margin: 0 0 10px; }
.fgroup__title { display: flex; justify-content: space-between; align-items: baseline; }
.fgroup__links { font-size: 12px; color: var(--ink-3); }
.fgroup__links button { border: 0; background: none; padding: 0; cursor: pointer; color: var(--ink-2); text-decoration: underline; font-size: 12px; }
.sources { display: flex; flex-direction: column; gap: 2px; }
.src-row { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 10px; cursor: pointer; }
.src-row:hover { background: var(--surface-2); }
.src-row input { accent-color: var(--ink); width: 16px; height: 16px; margin: 0; }
.src-row .name { flex: 1; font-weight: 600; font-size: 14px; }
.src-row .n { font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.src-row .n.err { color: var(--accent); }
.src-row .region { font-size: 10px; color: var(--ink-3); border: 1px solid var(--line); border-radius: 4px; padding: 0 4px; }
.price-row { display: flex; align-items: center; gap: 8px; }
.price-row input, .field select { width: 100%; background: var(--surface); border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 10px; min-height: 40px; }
.check { display: flex; align-items: center; gap: 10px; padding: 5px 0; cursor: pointer; font-size: 14px; }
.check input { accent-color: var(--ink); width: 16px; height: 16px; margin: 0; }
.field { display: grid; grid-template-columns: 60px 1fr; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 14px; }

.reshead { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.reshead h1 { font-size: 28px; letter-spacing: -0.03em; margin: 0 0 2px; }
.reshead__actions { display: flex; gap: 8px; align-items: center; }
.sort select { background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 14px; font-weight: 600; }
.only-mobile { display: none; }
.errors { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.errors div { background: var(--warn-bg); color: var(--warn); border-radius: 10px; padding: 8px 12px; font-size: 13px; }

/* GRID + CARDS */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.card:hover { transform: translateY(-2px); }
.card > a { text-decoration: none; color: inherit; display: flex; flex-direction: column; flex: 1; }
.card__img { position: relative; aspect-ratio: 4 / 5; background: var(--surface-2); }
.card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card__img img.contain { object-fit: contain; background: #fff; padding: 8px; }
.src { position: absolute; top: 10px; left: 10px; font-size: 11px; font-weight: 750; letter-spacing: 0.03em; padding: 4px 8px; border-radius: 6px; color: #fff; }
.deal { position: absolute; bottom: 10px; left: 10px; font-size: 11px; font-weight: 750; padding: 4px 8px; border-radius: 6px; background: var(--good-bg); color: var(--good); }
.heart { position: absolute; top: 8px; right: 8px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.92); cursor: pointer; display: grid; place-items: center; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15); }
.heart svg { width: 18px; height: 18px; fill: none; stroke: #161412; stroke-width: 2; }
.heart[aria-pressed="true"] svg { fill: #d9481c; stroke: #d9481c; }
.card__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price b { font-size: 19px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price s { color: var(--ink-3); font-size: 13px; }
.sub { color: var(--ink-3); font-size: 12px; font-variant-numeric: tabular-nums; }
.brand { font-weight: 750; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.title { color: var(--ink-2); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.meta { margin-top: auto; padding-top: 8px; display: flex; gap: 5px; flex-wrap: wrap; font-size: 11.5px; color: var(--ink-3); }
.meta span { border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
.meta .flag { border-color: transparent; background: var(--warn-bg); color: var(--warn); }

.skeleton { background: var(--surface); border-radius: var(--radius); aspect-ratio: 4 / 6.3; border: 1px solid var(--line); position: relative; overflow: hidden; }
.skeleton::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--line) 70%, transparent), transparent); animation: shimmer 1.2s infinite; transform: translateX(-100%); }
@keyframes shimmer { to { transform: translateX(100%); } }
.notice { grid-column: 1 / -1; padding: 40px 24px; text-align: center; color: var(--ink-2); background: var(--surface); border-radius: var(--radius); border: 1px dashed var(--line); }
.more { display: flex; justify-content: center; padding: 28px 0; }

/* PAGES */
.page { padding-top: 36px; padding-bottom: 60px; }
.page h1 { font-size: 36px; letter-spacing: -0.035em; margin: 0 0 4px; }
.h2 { font-size: 18px; letter-spacing: -0.02em; margin: 32px 0 14px; }
.prose { max-width: 720px; }
.prose p, .prose li { color: var(--ink-2); }
.prose li { margin-bottom: 6px; }
.saved-searches { display: flex; flex-wrap: wrap; gap: 10px; }
.ss { display: inline-flex; align-items: center; gap: 4px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: 4px 4px 4px 14px; }
.ss a { text-decoration: none; font-weight: 650; }
.ss small { color: var(--ink-3); margin-left: 6px; }
.ss button { border: 0; background: none; cursor: pointer; color: var(--ink-3); padding: 4px 8px; border-radius: 999px; }
.ss button:hover { background: var(--surface-2); color: var(--ink); }
.market-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 24px; }
.mcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.mcard h3 { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 18px; }
.mcard p { margin: 0; color: var(--ink-2); font-size: 14px; }
.mcard .tagline { display: flex; gap: 6px; flex-wrap: wrap; }
.mcard .tagline span { font-size: 11px; border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; color: var(--ink-3); }
.mcard .status { font-size: 12.5px; margin-top: auto; padding-top: 8px; color: var(--ink-3); }
.mcard .status.ok { color: var(--good); }
.mcard .status.err { color: var(--accent); }

.foot { border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13px; padding: 22px 0 32px; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; z-index: 50; box-shadow: var(--shadow); }

/* RESPONSIVE */
@media (max-width: 960px) {
  .results { grid-template-columns: 1fr; }
  .only-mobile { display: inline-flex; }
  .filters { position: fixed; inset: 0 0 0 auto; width: min(360px, 100%); max-height: none; background: var(--bg); z-index: 40; padding: 18px 20px 90px; transform: translateX(105%); transition: transform 0.2s ease; box-shadow: -10px 0 40px rgba(0, 0, 0, 0.25); }
  .filters.open { transform: none; }
  .filters__close { display: inline-block; }
  .filters__apply { display: block; position: fixed; bottom: 16px; left: 20px; right: 20px; width: calc(100% - 40px); padding: 13px; }
  .how { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .nav__row { gap: 10px; }
  .nav__links { display: none; }
  .nav__search { height: 38px; }
  .hero { padding: 44px 0 28px; }
  .bigsearch { padding-left: 16px; }
  .bigsearch input { font-size: 16px; }
  .bigsearch .btn { padding: 11px 16px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .price b { font-size: 17px; }
  .reshead h1 { font-size: 22px; }
  .nav__search { min-width: 0; padding: 0 10px; }
  .cur select { padding: 5px 6px; font-size: 13px; }
  .reshead__actions { width: 100%; gap: 6px; }
  .reshead__actions .btn { padding: 8px 12px; font-size: 14px; }
  .reshead__actions .sort { margin-left: auto; min-width: 0; }
  .sort select { padding: 8px 10px; font-size: 14px; max-width: 150px; }
  .mobile-tabs { display: flex; }
}
.mobile-tabs { display: none; position: sticky; bottom: 0; z-index: 25; background: var(--bg); border-top: 1px solid var(--line); justify-content: space-around; padding: 6px 0 calc(6px + env(safe-area-inset-bottom)); }
.mobile-tabs a { text-decoration: none; font-size: 12px; font-weight: 650; color: var(--ink-3); padding: 6px 10px; }
.mobile-tabs a[aria-current="page"] { color: var(--ink); }

/* regions */
.presets { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 10px; }
.presets button { border: 1.5px solid var(--line); background: var(--surface); border-radius: 999px; padding: 4px 11px; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--ink-2); }
.presets button:hover { border-color: var(--ink); color: var(--ink); }
.presets button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.src-group { margin-top: 8px; }
.src-group:first-child { margin-top: 0; }
.src-group__head { display: flex; align-items: center; gap: 10px; padding: 6px 8px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); font-weight: 700; cursor: pointer; border-radius: 8px; }
.src-group__head:hover { background: var(--surface-2); }
.src-group__head input { accent-color: var(--ink); width: 14px; height: 14px; margin: 0; }
.src-group__head .n { margin-left: auto; font-variant-numeric: tabular-nums; letter-spacing: 0; text-transform: none; font-weight: 600; }
.market-region { margin-top: 36px; }
.market-region h2 { font-size: 20px; letter-spacing: -0.02em; margin: 0 0 4px; display: flex; align-items: baseline; gap: 10px; }
.market-region h2 small { font-size: 13px; color: var(--ink-3); font-weight: 600; letter-spacing: 0; }
.market-region .market-cards { margin-top: 14px; }
.strip-group { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 18px; width: 100%; }
.strip-group b { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3); margin-right: 4px; }
.strip { flex-direction: column; gap: 12px; }

/* ---------- 3D home ---------- */
.hero3d { padding: 40px 0 24px; overflow: hidden; }
.hero3d__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 24px; min-height: 560px; }
.hero3d__copy h1 { font-size: clamp(44px, 6.4vw, 84px); line-height: 0.95; letter-spacing: -0.055em; margin: 0 0 28px; font-weight: 850; }
.hero3d__copy h1 em { font-style: normal; color: var(--accent); }
.hero3d__copy .eyebrow { margin-bottom: 16px; }
.hero3d__copy .try { justify-content: flex-start; }
.hero3d__copy .try button:nth-child(n + 5) { display: none; }

.stage { position: relative; height: 560px; perspective: 1400px; perspective-origin: 50% 35%; }
.stage__tilt { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(calc(-8deg + var(--ry, 0deg))) rotateZ(calc(var(--rx, 0deg) * 0.2)); transition: transform 0.4s ease-out; }
.orbit { position: absolute; left: 50%; top: 42%; width: 0; height: 0; transform-style: preserve-3d; animation: spin 48s linear infinite; }
.stage:hover .orbit { animation-play-state: paused; }
@keyframes spin { from { transform: rotateY(0deg); } to { transform: rotateY(-360deg); } }
.float { position: absolute; left: -85px; top: -115px; width: 170px; height: 230px; transform-style: preserve-3d; transform: rotateY(var(--a)) translateZ(var(--r, 320px)); }
.float__card { position: absolute; inset: 0; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; backface-visibility: hidden; animation: bob 6s ease-in-out infinite; animation-delay: var(--d); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.float__img { flex: 1; display: grid; place-items: center; background: var(--tint); }
.float__img svg { width: 70%; height: 70%; }
.float__meta { padding: 8px 10px 10px; display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.float__meta b { font-size: 15px; letter-spacing: -0.02em; }
.float__meta span { font-size: 10px; font-weight: 750; color: #fff; padding: 2px 6px; border-radius: 5px; white-space: nowrap; }
.float__tag { position: absolute; top: 10px; left: 10px; font-size: 10px; font-weight: 750; padding: 3px 7px; border-radius: 6px; background: var(--good-bg); color: var(--good); }
.stage__floor { position: absolute; left: 10%; right: 10%; bottom: 40px; height: 90px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--ink) 16%, transparent), transparent); filter: blur(6px); }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; perspective: 1000px; margin: 8px 0 28px; }
.tile { position: relative; text-align: left; border: 1px solid var(--line); background: var(--surface); border-radius: 18px; padding: 18px 18px 16px; cursor: pointer; transform-style: preserve-3d; transform: rotateX(8deg) rotateY(var(--ty, 0deg)); box-shadow: 0 18px 30px -22px rgba(22, 20, 18, 0.5); transition: transform 0.25s ease, box-shadow 0.25s ease; min-height: 128px; display: flex; flex-direction: column; gap: 8px; }
.tile:hover, .tile:focus-visible { transform: rotateX(0deg) rotateY(0deg) translateY(-6px) translateZ(30px); box-shadow: 0 30px 40px -24px rgba(22, 20, 18, 0.55); }
.tile[aria-pressed="true"] { border-color: var(--ink); }
.tile h3 { margin: 0; font-size: 20px; letter-spacing: -0.03em; display: flex; justify-content: space-between; align-items: baseline; }
.tile h3 small { font-size: 12px; color: var(--ink-3); font-weight: 650; letter-spacing: 0; }
.tile__dots { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; }
.tile__dots i { width: 10px; height: 10px; border-radius: 50%; display: block; box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 20%, transparent); }
.tile__you { position: absolute; top: -10px; right: 14px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 3px 8px; }
.steps { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; padding: 6px 0 56px; margin: 0; color: var(--ink-2); font-weight: 650; }
.steps li { display: inline-flex; align-items: center; gap: 10px; }
.steps__ico { width: 34px; height: 34px; border-radius: 10px; display: inline-grid; place-items: center; background: var(--ink); color: var(--bg); font-size: 17px; transform: rotate(-6deg); }

@media (max-width: 960px) {
  .hero3d__grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .bigsearch .cam { width: 32px; height: 32px; }
  .hero3d__copy { text-align: center; }
  .hero3d__copy .try { justify-content: center; }
  .stage { height: 380px; margin-top: -10px; }
  .float { --r: 230px !important; left: -64px; top: -86px; width: 128px; height: 172px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .stage { height: 320px; }
  .float { --r: 180px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .orbit, .float__card { animation: none; }
  .orbit { transform: rotateY(-20deg); }
}

/* ---------- scam check ---------- */
.shield { position: absolute; bottom: 8px; right: 8px; z-index: 2; height: 30px; min-width: 30px; padding: 0 8px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, 0.92); color: #161412; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 750; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15); }
.shield svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.shield[data-risk="high"] { background: #c62828; color: #fff; }
.shield[data-risk="medium"] { background: #f2b33d; color: #2a1c00; }
.shield[data-risk="low"] { color: #1a7248; }
.shield .lbl { display: none; }
.shield[data-risk="high"] .lbl, .shield[data-risk="medium"] .lbl { display: inline; }
.card .deal { bottom: 44px; }

.modal { border: 0; padding: 0; border-radius: 20px; width: min(760px, calc(100% - 24px)); max-height: calc(100vh - 40px); background: var(--bg); color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35); }
.modal::backdrop { background: rgba(10, 9, 8, 0.55); backdrop-filter: blur(3px); }
.check__inner { padding: 22px; display: grid; grid-template-columns: 200px 1fr; gap: 20px; }
.check__inner > img { width: 200px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; background: var(--surface-2); }
.check__head { display: flex; justify-content: space-between; align-items: start; gap: 10px; }
.check__head h2 { margin: 0; font-size: 20px; letter-spacing: -0.02em; }
.verdict { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; padding: 6px 12px; border-radius: 999px; margin: 10px 0 12px; font-size: 14px; }
.verdict--high { background: #fde2e1; color: #a61b1b; }
.verdict--medium { background: var(--warn-bg); color: var(--warn); }
.verdict--low { background: var(--good-bg); color: var(--good); }
.verdict--unknown, .verdict--loading { background: var(--surface-2); color: var(--ink-2); }
.signals { margin: 0 0 14px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.signals li { padding-left: 18px; position: relative; color: var(--ink-2); }
.signals li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.signals li.high::before { background: #c62828; }
.signals li.medium::before { background: #f2b33d; }
.signals li.low::before { background: #1a7248; }
.matches { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin: 6px 0 14px; }
.matches a { text-decoration: none; color: inherit; font-size: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.matches img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: var(--surface-2); }
.matches div { padding: 6px 8px; }
.matches b { display: block; }
.rev { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.rev a { text-decoration: none; font-weight: 650; font-size: 13px; border: 1.5px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 12px; }
.rev a:hover { border-color: var(--ink); }
.fine { font-size: 12px; color: var(--ink-3); margin: 0; }
.h3 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); margin: 14px 0 6px; }
.detected { font-size: 12px; color: var(--ink-3); margin: -2px 0 8px; }
@media (max-width: 640px) {
  .check__inner { grid-template-columns: 1fr; }
  .check__inner > img { width: 100%; max-height: 260px; }
}

/* ---------- image search ---------- */
.cam { border: 0; background: transparent; cursor: pointer; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); flex: none; }
.cam:hover { background: var(--surface-2); color: var(--ink); }
.cam svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.nav__search .cam { width: 30px; height: 30px; margin-right: -8px; }
.dropzone { position: fixed; inset: 0; z-index: 60; background: rgba(10, 9, 8, 0.55); display: grid; place-items: center; }
.dropzone div { border: 3px dashed #fff; color: #fff; border-radius: 24px; padding: 60px 70px; font-size: 22px; font-weight: 800; }
.imgsearch .check__inner > img { object-fit: contain; background: var(--surface); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
.tags button { border: 1.5px solid var(--line); background: var(--surface); border-radius: 999px; padding: 4px 11px; font-size: 13px; cursor: pointer; }
.tags button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tags small { color: var(--ink-3); font-size: 11px; margin-left: 4px; }
.qedit { display: flex; gap: 8px; margin: 8px 0 12px; }
.qedit input { flex: 1; min-width: 0; background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 14px; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--line); border-top-color: var(--ink); animation: rot 0.8s linear infinite; display: inline-block; vertical-align: -4px; margin-right: 8px; }
@keyframes rot { to { transform: rotate(360deg); } }
.restitle { display: flex; align-items: center; gap: 12px; }
.restitle img { width: 52px; height: 52px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.match { position: absolute; top: 44px; left: 10px; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 6px; background: var(--ink); color: var(--bg); }

/* trending */
.trend-label { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); z-index: 2; margin: 0; font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; }
.trend-label span { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px transparent; } }
a.float__card { text-decoration: none; color: inherit; }
a.float__card:hover { border-color: var(--ink); }
.float__img--photo { background: var(--surface-2); overflow: hidden; }
.float__img--photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.float__tag--hot { background: #fde2e1; color: #a61b1b; }

/* ---------- affiliate / earnings ---------- */
.aff { border-color: transparent !important; background: var(--surface-2); color: var(--ink-3); }
.owner-link { color: var(--ink-3); margin-left: 8px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 24px 0 18px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.kpi b { display: block; font-size: 28px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.kpi span { font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.earn-days { display: flex; align-items: end; gap: 3px; height: 90px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.earn-days i { flex: 1; background: var(--ink); border-radius: 3px 3px 0 0; min-height: 2px; opacity: 0.85; }
.earn-days i:hover { background: var(--accent); }
.programs { display: flex; flex-direction: column; gap: 10px; margin: 16px 0; }
.prog { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: grid; grid-template-columns: 170px 150px 1fr 110px; gap: 10px 14px; align-items: center; }
.prog__name { font-weight: 750; display: flex; align-items: center; gap: 8px; }
.prog__name small { display: block; font-weight: 600; font-size: 11px; color: var(--ink-3); }
.prog select, .prog input, .field--wide input { background: var(--bg); border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 10px; width: 100%; min-width: 0; }
.prog__fields { display: flex; gap: 8px; }
.prog__hint { grid-column: 1 / -1; font-size: 12.5px; color: var(--ink-3); margin: 0; }
.prog__hint a { color: var(--ink-2); }
.prog__status { font-size: 12px; font-weight: 700; }
.prog__status.on { color: var(--good); }
.earn-settings { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; margin: 6px 0 18px; }
.field--wide { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.field--wide input { width: 80px; }
@media (max-width: 860px) {
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .prog { grid-template-columns: 1fr 1fr; }
  .prog__fields { grid-column: 1 / -1; flex-wrap: wrap; }
}

/* ---------- smart search chips, size filter, alerts ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 4px 10px; font-size: 13px; font-weight: 600; cursor: pointer; }
.chip span { color: var(--ink-3); font-size: 11px; }
.chip:hover { border-color: var(--accent); }
.sizes { width: 100%; background: var(--surface); border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 10px; min-height: 40px; margin-bottom: 8px; color: var(--ink); }
.count.hot { background: var(--accent); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); } }
@media (prefers-reduced-motion: reduce) { .count.hot { animation: none; } }
.watch { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin-bottom: 14px; min-width: 0; }
.watch--new { border-color: var(--accent); }
.watch__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-bottom: 10px; }
.watch__q { font-weight: 800; font-size: 17px; color: var(--ink); }
.watch__btns { margin-left: auto; display: flex; gap: 12px; }
.watch__empty { margin: 0; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--ink-2); font-weight: 600; font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.linkbtn:disabled { opacity: 0.6; cursor: default; }
.grid--mini { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.grid--mini .title { font-size: 13px; }
.saved-searches { display: block; }
.saved-searches .ss { margin: 0 8px 8px 0; }
.alerts-box { background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); padding: 14px; margin: 4px 0 24px; }
.alerts-box h3 { margin: 0 0 4px; }
.notify-row { display: flex; flex-wrap: wrap; gap: 8px; }
.notify-row input { flex: 1 1 220px; min-width: 0; background: var(--bg); border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 10px; min-height: 40px; color: var(--ink); }

/* ---------- browser extension page ---------- */
.ext-cta { display: flex; align-items: center; gap: 14px; margin: 8px 0 40px; padding: 16px 18px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: border-color 0.15s, transform 0.15s; }
.ext-cta:hover { border-color: var(--accent); transform: translateY(-1px); }
.ext-cta > span:nth-child(2) { flex: 1; min-width: 0; }
.ext-cta small { color: var(--ink-2); }
.ext-cta__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); font-size: 20px; font-weight: 800; flex: none; }
.ext__hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 16px 0 24px; }
.ext h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.02; letter-spacing: -0.03em; margin: 0 0 14px; }
.ext h1 em { font-style: normal; color: var(--accent); }
.ext__lead { font-size: 17px; max-width: 46ch; margin: 0 0 22px; }
.btn--big { font-size: 17px; padding: 14px 22px; display: inline-block; text-decoration: none; }
.ext__ver { margin-top: 10px; font-size: 13px; }
.ext__mock { position: relative; height: 320px; perspective: 1000px; }
.mock-page { position: absolute; inset: 0 60px 30px 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); transform: rotateY(8deg) rotateX(4deg); }
.mock-img { height: 150px; border-radius: 10px; background: linear-gradient(135deg, #2b2b2b, #555); margin-bottom: 14px; }
.mock-line { height: 10px; border-radius: 5px; background: var(--surface-2); margin-bottom: 8px; }
.mock-line.w70 { width: 70%; }
.mock-line.w40 { width: 40%; }
.mock-price { font-weight: 800; font-size: 20px; text-decoration: line-through; color: var(--ink-3); }
.mock-panel { position: absolute; right: 0; bottom: 0; width: 260px; max-width: 80%; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 50px -12px rgba(0, 0, 0, 0.45); padding: 10px; animation: mockIn 4s ease-in-out infinite alternate; }
@keyframes mockIn { from { transform: translateY(6px); } to { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .mock-panel { animation: none; } }
.mock-panel__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 2px 4px 8px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.mock-panel__head span { color: var(--accent); }
.mock-panel__head small { color: var(--ink-2); font-size: 11px; }
.mock-row { display: flex; gap: 10px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 6px; margin-bottom: 6px; }
.mock-row i { width: 38px; height: 38px; border-radius: 6px; flex: none; }
.mock-row b { display: block; font-size: 13px; }
.mock-row em { font-style: normal; color: #1f7a4a; font-size: 11px; margin-left: 4px; }
.mock-row small { color: var(--ink-2); font-size: 11px; }
.ext-steps { counter-reset: s; list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 10px; }
.ext-steps li { counter-increment: s; position: relative; padding: 12px 14px 12px 52px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.ext-steps li::before { content: counter(s); position: absolute; left: 14px; top: 11px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--bg); font-weight: 800; font-size: 13px; }
.ext-steps code { background: var(--surface-2); padding: 2px 6px; border-radius: 6px; font-size: 13px; }
.ext-feats { padding-left: 20px; display: grid; gap: 8px; max-width: 70ch; }
@media (max-width: 760px) {
  .ext__hero { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .ext__mock { height: 280px; }
  .mock-page { inset: 0 40px 30px 0; }
}

/* ---------- size picker ---------- */
.sizepick details { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); margin-bottom: 8px; }
.sizepick summary { cursor: pointer; padding: 9px 12px; font-weight: 650; font-size: 14px; display: flex; align-items: center; gap: 6px; list-style: none; }
.sizepick summary::-webkit-details-marker { display: none; }
.sizepick summary::after { content: '▾'; margin-left: auto; color: var(--ink-3); transition: transform 0.15s; }
.sizepick details[open] summary::after { transform: rotate(180deg); }
.sizepick summary .n { background: var(--accent); color: var(--accent-ink); font-size: 11px; border-radius: 999px; padding: 0 6px; line-height: 18px; }
.szgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 2px 10px 10px; }
.szgrid--shoes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.szchip { border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 8px; padding: 6px 2px; font-weight: 650; font-size: 13px; cursor: pointer; display: flex; flex-direction: column; align-items: center; line-height: 1.15; min-height: 34px; justify-content: center; }
.szchip small { font-size: 10px; color: var(--ink-3); font-weight: 600; }
.szchip:hover { border-color: var(--ink-3); }
.szchip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.szchip[aria-pressed="true"] small { color: color-mix(in srgb, var(--bg) 70%, transparent); }

/* ---------- browse (home) ---------- */
.browse { margin: 8px 0 40px; }
.browse__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 14px; }
.browse__head h2 { margin: 0; font-size: 26px; letter-spacing: -0.03em; }
.browse__head p { margin: 0; }
.cats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.cat { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 8px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14px; transform: perspective(500px) rotateX(10deg); transform-origin: bottom; box-shadow: 0 14px 24px -20px rgba(22, 20, 18, 0.45); transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s; }
.cat svg { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; padding: 8px; border-radius: 14px; background: var(--surface-2); box-sizing: content-box; transition: background 0.2s, color 0.2s; }
.cat:hover, .cat:focus-visible { transform: perspective(500px) rotateX(0) translateY(-5px); border-color: var(--ink-3); box-shadow: 0 22px 30px -22px rgba(22, 20, 18, 0.55); }
.cat:hover svg, .cat:focus-visible svg { background: var(--accent); color: var(--accent-ink); }
.brands { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; counter-reset: b; }
.brandtile { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 14px 14px 12px 44px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; min-width: 0; transition: border-color 0.15s, transform 0.15s; }
.brandtile:hover, .brandtile:focus-visible { border-color: var(--accent); transform: translateY(-2px); }
.brandtile b { font-size: 16px; letter-spacing: -0.02em; overflow-wrap: anywhere; line-height: 1.2; }
.brandtile small { color: var(--ink-3); font-size: 12px; font-weight: 600; }
.brandtile__rank { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; background: var(--surface-2); color: var(--ink-2); }
.brandtile:nth-child(-n+3) .brandtile__rank { background: var(--ink); color: var(--bg); }
@media (prefers-reduced-motion: reduce) { .cat, .brandtile { transition: none; } }
@media (max-width: 960px) {
  .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .brands { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .cat { padding: 14px 4px 10px; font-size: 13px; }
  .cat svg { width: 36px; height: 36px; }
  .brands { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}

/* ---------- accounts ---------- */
.acct { display: inline-flex !important; align-items: center; gap: 8px; }
.acct__avatar { display: none; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 13px; place-items: center; }
.acct--in .acct__avatar { display: inline-grid; }
.acct:not(.acct--in) { border: 1.5px solid var(--line); background: var(--surface); }
.acct__label { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.authdlg { width: min(440px, calc(100% - 24px)); }
.auth__inner { padding: 22px; }
.auth__inner > p { margin: 4px 0 14px; }
.auth { display: grid; gap: 12px; }
.auth__tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface-2); border-radius: 12px; padding: 4px; gap: 4px; }
.auth__tabs button { border: 0; background: transparent; border-radius: 9px; padding: 9px; font-weight: 700; color: var(--ink-2); cursor: pointer; font-size: 14px; }
.auth__tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.auth .field--wide, .account__card .field--wide { display: flex; flex-direction: column; align-items: stretch; gap: 4px; margin: 0; }
.auth .field--wide > span, .account__card .field--wide > span { font-weight: 650; font-size: 13px; }
.auth .field--wide input, .account__card .field--wide input { width: 100%; min-height: 42px; font-size: 15px; color: var(--ink); }
.auth .field--wide input:focus, .account__card .field--wide input:focus { border-color: var(--ink); outline: none; }
.auth__err { margin: 0; color: var(--accent); font-weight: 650; font-size: 14px; }
.auth__go { width: 100%; padding: 12px; font-size: 15px; }
.auth__go:disabled { opacity: 0.6; }
.auth__note { margin: 0; font-size: 12px; }
.account__out { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 40px; align-items: start; padding-top: 12px; }
.account__out h1 { font-size: clamp(32px, 5vw, 48px); letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 20px; }
.account__perks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: 17px; color: var(--ink-2); }
.account__perks li { padding-left: 30px; position: relative; }
.account__perks li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.account__perks b { color: var(--ink); }
.account__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); display: grid; gap: 12px; align-content: start; }
.account__card h2 { margin: 0; font-size: 18px; }
.account__card p { margin: 0; }
.account__top { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 8px; }
.account__top h1 { margin: 0; font-size: 32px; letter-spacing: -0.03em; }
.account__top p { margin: 2px 0 0; }
.account__top .btn { margin-left: auto; }
.account__avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 28px; font-weight: 800; flex: none; }
.account__kpis { grid-template-columns: 1fr 1fr 2fr; }
.account__kpis a.kpi { color: var(--ink); text-decoration: none; transition: border-color 0.15s; }
.account__kpis a.kpi:hover { border-color: var(--accent); }
.kpi__small { font-size: 16px !important; letter-spacing: 0 !important; line-height: 1.4; padding: 6px 0 4px; }
.account__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.btn--danger { background: transparent; border: 1.5px solid var(--accent); color: var(--accent); }
.btn--danger:hover { background: var(--accent); color: var(--accent-ink); }
@media (max-width: 760px) {
  .account__out, .account__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .account__kpis { grid-template-columns: 1fr 1fr; }
  .account__kpis .kpi:last-child { grid-column: 1 / -1; }
  .account__top .btn { margin-left: 0; }
}

/* Same item listed on other sites (merged into its cheapest listing) */
.also { padding: 8px 14px 12px; margin-top: -4px; font-size: 12px; color: var(--ink-3); border-top: 1px dashed var(--line); }
.also a { color: var(--ink-2); font-weight: 650; }
.meta .drop { border-color: transparent; background: var(--good-bg); color: var(--good); font-weight: 650; }

/* Forgotten password */
.auth__head { margin: 0; font-size: 18px; }
.auth > p { margin: 0; }
.auth .linkbtn { justify-self: start; }
.auth .field .linkbtn { align-self: flex-start; margin-top: 4px; }
.reset-page { max-width: 420px; padding-top: 12px; }
