@font-face { font-family: Manrope; src: url("../fonts/manrope-cyr-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Manrope; src: url("../fonts/manrope-lat-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Manrope; src: url("../fonts/manrope-cyr-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Manrope; src: url("../fonts/manrope-lat-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Manrope; src: url("../fonts/manrope-cyr-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Manrope; src: url("../fonts/manrope-lat-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Manrope; src: url("../fonts/manrope-cyr-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Manrope; src: url("../fonts/manrope-lat-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-cyr-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-lat-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-cyr-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-lat-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-cyr-500i.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-lat-500i.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #0c0a09;
  --bg-2: #161311;
  --ink: #f6f1e8;
  --muted: #b7ab9f;
  --gold: #c4a574;
  --gold-2: #e8d7b5;
  --rose: #c48b8b;
  --line: rgba(196, 165, 116, .28);
  --danger: #e0a0a0;
  --ok: #b7d3c3;
  --shadow: 0 22px 50px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: clip;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(196, 165, 116, .16), transparent 55%),
    radial-gradient(900px 420px at -10% 20%, rgba(196, 139, 139, .08), transparent 50%),
    var(--bg);
  color: var(--ink);
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 80;
  opacity: .16;
  background-image: radial-gradient(rgba(255,255,255,.45) .55px, transparent .55px);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-2); text-decoration: none; }
a:hover { color: white; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(196, 165, 116, .35); }

.header, main, .footer { position: relative; z-index: 1; }
main, .footer {
  width: min(1240px, calc(100% - 32px - env(safe-area-inset-left) - env(safe-area-inset-right)));
  margin-left: auto;
  margin-right: auto;
}
main { padding: 28px 0 72px; animation: veil .55s ease both; }
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px max(16px, env(safe-area-inset-right)) 14px max(16px, env(safe-area-inset-left));
  background: rgba(12, 10, 9, .78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(196, 165, 116, .18);
}
.header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.logo { display: flex; gap: 12px; align-items: center; color: var(--ink); min-width: 0; }
.logo span:last-child { min-width: 0; }
.logo strong { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-size: 28px; font-weight: 500; letter-spacing: .04em; line-height: 1; }
.logo small { color: var(--muted); letter-spacing: .14em; text-transform: uppercase; font-size: 11px; }
.logo-mark {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold-2);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 26px;
  box-shadow: inset 0 0 12px rgba(196, 165, 116, .25);
}
.header-nav, .tabbar { display: flex; align-items: center; gap: 16px; min-width: 0; }
.header-nav { flex-wrap: wrap; justify-content: flex-end; }
.header-nav a, .tabbar a { color: var(--muted); }
.tabbar a { min-height: 44px; display: flex; align-items: center; justify-content: center; flex: 1; }
.header-nav a[aria-current="page"], .tabbar a.is-on { color: var(--gold-2); }
.balance, .balance-lg {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--gold-2) !important;
}
.balance-lg { font-family: "Cormorant Garamond", Georgia, serif; font-size: 42px; font-weight: 500; }
.footer {
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--muted);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar {
  display: none;
  position: fixed;
  left: max(12px, env(safe-area-inset-left));
  right: max(12px, env(safe-area-inset-right));
  bottom: max(10px, env(safe-area-inset-bottom));
  z-index: 50;
  justify-content: space-around;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(22, 19, 17, .9);
  backdrop-filter: blur(16px);
}

.eyebrow { margin: 0 0 8px; color: var(--gold); letter-spacing: .18em; text-transform: uppercase; font-size: 12px; }
h1, h2 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; letter-spacing: -.02em; }
h1, h2, .lede, .prose, .pills li, .card-meta p { overflow-wrap: anywhere; }
h1 { font-size: clamp(40px, 8vw, 92px); line-height: .92; margin: 0; }
h1 em { font-style: italic; color: var(--gold-2); }
h1 span, h2 span { color: var(--muted); font-size: .62em; }
h2 { font-size: 34px; margin: 0; }
.lede { max-width: 46rem; color: var(--muted); font-size: 18px; }
.fine { color: var(--muted); }
.hero { margin-bottom: 22px; }
.count { color: var(--muted); }

.filters {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, .8fr) auto;
  gap: 12px;
  align-items: end;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(22, 19, 17, .72);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}
.filters label, .stack label, .form-grid label { display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
input, select, textarea {
  width: 100%;
  background: #100e0c;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  outline: none;
  text-transform: none;
  letter-spacing: 0;
  font-size: 16px;
  color: var(--ink);
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(196, 165, 116, .16); }
.filter-actions { display: flex; gap: 12px; align-items: center; }

.btn, button.btn {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 18px;
  background: linear-gradient(180deg, #ead9b8, #c4a574);
  color: #1a140e;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
.btn, button.btn, .frame-nav, .linkish { touch-action: manipulation; }
.btn.ghost { background: transparent; color: var(--gold-2); border: 1px solid var(--line); }
.linkish { background: none; border: 0; padding: 0; color: var(--gold-2); cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; }
.linkish.danger, .minus { color: var(--danger); }
.plus { color: var(--ok); }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 18px; }
.grid > *, .profile > *, .form-grid > *, .filters > *, .prices > *, .stats > * { min-width: 0; }
.card {
  display: block;
  color: inherit;
  background: var(--bg-2);
  border: 1px solid rgba(196, 165, 116, .16);
  border-radius: 22px;
  overflow: hidden;
  animation: veil .55s ease both;
  animation-delay: var(--d, 0ms);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.card-meta h2 { font-size: clamp(24px, 2.4vw, 30px); }
.card.is-highlight { box-shadow: 0 0 0 1px rgba(196, 165, 116, .35), 0 0 32px rgba(196, 165, 116, .12); }
.card-photo { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #100e0c; }
.card-photo img, .frame img, .own-photo img, .current-photos img, .photo-preview img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.card-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 36%, rgba(255,255,255,.2) 48%, transparent 60%);
  transform: translateX(-130%);
  transition: transform .8s ease;
}
.ribbon, .price {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  background: rgba(12, 10, 9, .72);
  border: 1px solid rgba(196, 165, 116, .45);
  color: var(--gold-2);
  backdrop-filter: blur(8px);
}
.ribbon { top: 12px; left: 12px; padding: 4px 10px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.price { left: 12px; bottom: 12px; padding: 6px 10px; }
.card-meta { padding: 14px 14px 16px; }
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-6px); border-color: rgba(196, 165, 116, .75); box-shadow: var(--shadow); color: inherit; }
  .card:hover .card-photo img { transform: scale(1.06); }
  .card:hover .card-photo::after { transform: translateX(130%); }
  .btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
}
.card-meta p, .own p { margin: 4px 0 0; color: var(--muted); }
.fallback { display: grid; place-items: center; width: 100%; height: 100%; font-family: "Cormorant Garamond", Georgia, serif; font-size: 80px; color: var(--gold-2); }

.pager { display: flex; gap: 14px; align-items: center; justify-content: center; margin-top: 28px; }
.pager a, .subnav a { color: var(--muted); }
.pager a.is-on, .subnav a.is-on { color: var(--gold-2); border-bottom: 1px solid var(--gold); }
.subnav { display: flex; flex-wrap: wrap; gap: 14px 18px; margin: 8px 0 18px; }

.profile { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .9fr); gap: 28px; }
.frame { position: relative; aspect-ratio: 3 / 4; max-height: min(82dvh, 920px); width: 100%; border-radius: 28px; overflow: hidden; background: #100e0c; border: 1px solid var(--line); }
.frame img { transition: opacity .28s ease, transform .6s ease; }
.frame.is-fading img { opacity: .35; }
.frame-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(196, 165, 116, .5);
  background: rgba(12, 10, 9, .5);
  color: white;
  backdrop-filter: blur(8px);
  cursor: pointer;
  font-size: 28px;
}
.frame-nav.prev { left: 12px; }
.frame-nav.next { right: 12px; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; padding-top: 10px; }
.thumbs button { width: 72px; height: 92px; padding: 0; border-radius: 12px; overflow: hidden; border: 1px solid transparent; background: none; cursor: pointer; flex: 0 0 auto; }
.thumbs button.is-on { border-color: var(--gold); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 18px 0; }
.stats div { padding: 12px; border-radius: 16px; background: rgba(22, 19, 17, .8); border: 1px solid var(--line); }
.stats dt { color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.stats dd { margin: 4px 0 0; font-size: 18px; }
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.prices div { padding: 14px; border-radius: 18px; background: linear-gradient(180deg, rgba(196,165,116,.16), rgba(22,19,17,.4)); border: 1px solid var(--line); }
.prices span { display: block; color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.prices strong { font-family: "Cormorant Garamond", Georgia, serif; font-size: 28px; font-weight: 500; }
.contacts { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.reveal { border: 1px solid var(--line); border-radius: 16px; background: rgba(22,19,17,.75); }
.reveal summary { cursor: pointer; list-style: none; padding: 12px 14px; color: var(--gold-2); }
.reveal summary::-webkit-details-marker { display: none; }
.reveal a, .reveal span { display: block; padding: 0 14px 14px; color: white; font-size: 18px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.pills li { padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); max-width: 100%; }
.pills span { color: var(--gold-2); margin-left: 6px; }
.prose { white-space: normal; color: #efe8dc; font-size: 17px; }
.back { margin-top: 0; }

.page-head, .own, .auth-card, .metrics { animation: veil .5s ease both; }
.page-head { display: flex; justify-content: space-between; gap: 16px; align-items: end; flex-wrap: wrap; }
.page-head h1 { font-size: clamp(42px, 6vw, 68px); }
.stack-list { display: flex; flex-direction: column; gap: 12px; }
.own { display: grid; grid-template-columns: 92px 1fr auto; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 20px; background: rgba(22,19,17,.66); }
.own-photo { width: 92px; height: 122px; border-radius: 14px; overflow: hidden; background: #100e0c; }
.own-actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.status { display: inline-block; margin: 6px 0 0; color: var(--gold-2); letter-spacing: .04em; }
.status-rejected { color: var(--danger); }
.status-active { color: var(--ok); }
.auth-card, .empty { max-width: 520px; }
.auth-card { margin: 24px auto; padding: 28px; border-radius: 28px; border: 1px solid var(--line); background: rgba(22,19,17,.72); }
.auth-card h1 { font-size: 64px; margin-bottom: 12px; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wide, .form-actions { grid-column: 1 / -1; }
.check { flex-direction: row !important; align-items: center; text-transform: none !important; letter-spacing: 0 !important; font-size: 15px !important; color: var(--ink) !important; }
.check input { width: auto; }
.field-error, .flash-error { color: var(--danger); }
.flash { padding: 12px 14px; border-radius: 14px; background: rgba(22,19,17,.8); border: 1px solid var(--line); }
.flash-ok { color: var(--ok); }
.current-photos, .photo-preview { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.current-photos label, .photo-preview img { width: 88px; }
.current-photos img { height: 116px; border-radius: 12px; }
.photo-preview img { height: 116px; object-fit: cover; border-radius: 12px; }
.current-photos span { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: 13px; text-transform: none; letter-spacing: 0; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.metrics a, .metrics div { display: flex; flex-direction: column; padding: 18px; border-radius: 20px; border: 1px solid var(--line); background: rgba(22,19,17,.7); color: inherit; }
.metrics strong { font-family: Manrope, sans-serif; font-size: 40px; font-weight: 600; line-height: 1; font-variant-numeric: lining-nums tabular-nums; letter-spacing: 0; }
.metrics span { color: var(--muted); }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 12px 8px; border-bottom: 1px solid rgba(196,165,116,.15); vertical-align: top; }
.inline-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.inline-form input { width: auto; min-width: 160px; }
.actions { margin-top: 8px; }
.actions summary { cursor: pointer; color: var(--gold-2); }
fieldset { border: 1px solid var(--line); border-radius: 20px; padding: 16px; }
legend { padding: 0 8px; color: var(--gold-2); }

.gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(12, 10, 9, .28);
}
.gate-card {
  width: min(460px, 100%);
  padding: 28px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(16, 14, 12, .88);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  animation: gateIn .5s ease both;
}
.gate-card h2 { font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(32px, 9vw, 48px); font-weight: 500; line-height: .95; margin: 0 0 8px; }
.gate-card form, .gate-card .btn { margin-top: 8px; }
.gate-card .btn { display: inline-flex; margin-right: 8px; }
body.is-gated { overflow: hidden; }
body.is-gated .header,
body.is-gated main,
body.is-gated .footer,
body.is-gated .tabbar { filter: blur(16px); pointer-events: none; user-select: none; }

@keyframes veil { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes gateIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }

@media (min-width: 1600px) {
  main, .footer { width: min(1360px, calc(100% - 80px)); }
}
@media (max-width: 1280px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .filters { grid-template-columns: 1fr 1fr 1fr; }
  .filters .wide, .filter-actions { grid-column: 1 / -1; }
  .profile { grid-template-columns: 1fr; gap: 18px; }
  .frame { max-height: min(74dvh, 780px); border-radius: 22px; }
  .auth-card h1 { font-size: clamp(40px, 8vw, 64px); }
}
@media (max-width: 820px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .metrics, .form-grid { grid-template-columns: 1fr 1fr; }
  .header-nav .desk { display: none; }
  .tabbar { display: flex; }
  body { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  main { padding-top: 18px; padding-bottom: 28px; }
  .page-head .btn { width: auto; }
  .own { grid-template-columns: 84px minmax(0, 1fr); }
  .own-actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px; }
  .auth-card { padding: 20px 16px; }
  .gate-card { padding: 22px 16px; }
  .gate-card .btn { display: flex; width: 100%; margin: 8px 0 0; justify-content: center; }
  .inline-form input { min-width: 0; flex: 1 1 140px; }
  .hero { margin-bottom: 14px; }
}
@media (max-width: 560px) {
  .filters, .stats { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .filters .wide, .filter-actions, .form-grid .wide { grid-column: 1 / -1; }
  .prices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .prices strong { font-size: clamp(18px, 5vw, 24px); }
  .prices div, .stats div { padding: 10px; }
  .card { border-radius: 16px; }
  .card-meta { padding: 10px 10px 12px; }
  .logo-mark { width: 36px; height: 36px; font-size: 22px; }
  .logo strong { font-size: 24px; }
  .lede { font-size: 16px; }
  .thumbs button { width: 64px; height: 84px; }
  .frame-nav { width: 40px; height: 40px; }
}
@media (max-width: 480px) {
  .grid { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .stats, .prices, .filters { grid-template-columns: 1fr; }
  .logo small { display: none; }
  .header { padding-top: 10px; padding-bottom: 10px; }
  .balance { display: none; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .frame { max-height: 88dvh; }
  .hero h1 { font-size: 40px; }
  .tabbar { bottom: max(6px, env(safe-area-inset-bottom)); }
  body { padding-bottom: 70px; }
  .profile { grid-template-columns: minmax(0, 1fr) minmax(220px, .8fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
