:root{
  --ink:#0E0F0C;
  --bg:#F5F5EF;
  --card:#FFFFFF;
  --muted:#63665E;
  --line:rgba(14,15,12,.09);
  --line-strong:rgba(14,15,12,.16);
  --lime:#C4F546;
  --lime-deep:#A6E31C;
  --emerald:#0E9D66;
  --emerald-soft:#E4F6EE;
  --coral:#FF6A3D;
  --coral-soft:#FFE9E1;
  --amber:#F4B740;
  --amber-soft:#FDF3DF;
  --radius:24px;
  --radius-sm:16px;
  --shadow:0 18px 50px -20px rgba(14,15,12,.28);
  --shadow-sm:0 6px 22px -12px rgba(14,15,12,.24);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;overflow-x:hidden}
body{
  font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  background:var(--bg);color:var(--ink);line-height:1.55;
  -webkit-font-smoothing:antialiased;overflow-x:hidden;
}
h1,h2,h3,h4{font-family:'Space Grotesk','Inter',sans-serif;letter-spacing:-.02em;line-height:1.1}
a{color:inherit;text-decoration:none}
img{max-width:100%}
.wrap{max-width:1180px;margin:0 auto;padding:0 24px}
.wrap-narrow{max-width:860px;margin:0 auto;padding:0 24px}

.grain{position:fixed;inset:0;pointer-events:none;z-index:9999;opacity:.035;mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>")}

/* ---------- primitives ---------- */
.eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:600;
  color:var(--ink);background:var(--card);border:1px solid var(--line);border-radius:999px;
  padding:7px 14px;box-shadow:var(--shadow-sm)}
.eyebrow .dot{width:7px;height:7px;border-radius:50%;background:var(--emerald);box-shadow:0 0 0 4px var(--emerald-soft)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;
  font-family:'Space Grotesk',sans-serif;font-weight:600;font-size:15px;
  padding:14px 22px;border-radius:14px;border:1px solid transparent;cursor:pointer;
  transition:transform .15s ease,box-shadow .2s ease,background .2s ease;white-space:nowrap}
.btn:active{transform:translateY(1px)}
.btn-primary{background:var(--lime);color:var(--ink);box-shadow:0 10px 24px -10px rgba(166,227,28,.85)}
.btn-primary:hover{background:var(--lime-deep);box-shadow:0 14px 30px -10px rgba(166,227,28,.95)}
.btn-dark{background:var(--ink);color:#fff}
.btn-dark:hover{background:#23251f}
.btn-ghost{background:transparent;border-color:var(--line-strong);color:var(--ink)}
.btn-ghost:hover{background:var(--card);box-shadow:var(--shadow-sm)}
.btn-sm{padding:9px 15px;font-size:13.5px;border-radius:11px}
.btn-danger{background:transparent;border-color:var(--line-strong);color:#b3402a}
.btn-danger:hover{background:var(--coral-soft);border-color:var(--coral)}
.kick{font-family:'Space Grotesk';font-weight:600;font-size:13px;letter-spacing:.06em;
  text-transform:uppercase;color:var(--emerald);margin-bottom:14px;display:block}

/* ---------- nav ---------- */
header.nav{position:sticky;top:0;z-index:100;backdrop-filter:blur(12px);
  background:rgba(245,245,239,.78);border-bottom:1px solid transparent;transition:border-color .3s,box-shadow .3s}
header.nav.scrolled{border-bottom-color:var(--line);box-shadow:0 6px 24px -20px rgba(14,15,12,.5)}
.nav-inner{display:flex;align-items:center;justify-content:space-between;height:72px;gap:20px}
.logo{display:flex;align-items:center;gap:10px;font-family:'Space Grotesk';font-weight:700;font-size:22px;letter-spacing:-.03em}
.logo .mark{width:30px;height:30px;border-radius:9px;background:var(--ink);display:grid;place-items:center;position:relative;overflow:hidden}
.logo .mark::after{content:"";position:absolute;width:14px;height:14px;border-radius:4px;background:var(--lime);transform:rotate(45deg)}
.nav-links{display:flex;gap:28px;align-items:center}
.nav-links a{font-size:14.5px;font-weight:500;color:var(--muted);transition:color .15s;position:relative}
.nav-links a:hover{color:var(--ink)}
.nav-links a.on{color:var(--ink);font-weight:600}
.nav-links a.on::after{content:"";position:absolute;left:0;right:0;bottom:-7px;height:2px;background:var(--lime-deep);border-radius:2px}
.nav-right{display:flex;align-items:center;gap:14px}
.lang{display:flex;gap:2px;background:var(--card);border:1px solid var(--line);border-radius:999px;padding:3px}
.lang a{font-family:'Space Grotesk';font-weight:600;font-size:12.5px;color:var(--muted);
  padding:5px 10px;border-radius:999px;transition:.15s}
.lang a:hover{color:var(--ink)}
.lang a.active{background:var(--ink);color:#fff}
.link-plain{font-size:14.5px;font-weight:600;color:var(--ink)}
.nav-post-sm{display:none}

/* ---------- page header ---------- */
.page-head{padding:52px 0 32px}
.page-head h1{font-size:clamp(32px,4vw,46px);font-weight:700;margin-bottom:14px}
.page-head p{font-size:17px;color:var(--muted);max-width:640px}
.crumbs{display:flex;gap:8px;align-items:center;font-size:13.5px;color:var(--muted);margin-bottom:18px}
.crumbs a:hover{color:var(--ink)}
.crumbs span{opacity:.5}

/* ---------- section ---------- */
section.blk{padding:80px 0}
.sec-head{max-width:640px;margin-bottom:48px}
.sec-head.center{margin:0 auto 48px;text-align:center}
.sec-head h2{font-size:clamp(29px,3.4vw,44px);font-weight:700;margin-bottom:16px}
.sec-head p{font-size:17px;color:var(--muted)}
.surface{background:var(--card);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}

/* ---------- listing cards ---------- */
.feed{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.lst{background:var(--card);border:1px solid var(--line);border-radius:20px;overflow:hidden;
  display:flex;flex-direction:column;transition:transform .3s cubic-bezier(.16,1,.3,1),box-shadow .3s}
.lst:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.lst-img{position:relative;aspect-ratio:4/3;display:grid;place-items:center;color:rgba(255,255,255,.94)}
.lst-img .art{width:58%;height:58%;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;
  stroke-linejoin:round;filter:drop-shadow(0 10px 20px rgba(0,0,0,.32))}
.lst-badge{position:absolute;top:12px;left:12px;font-size:11.5px;font-weight:700;padding:5px 10px;
  border-radius:999px;background:rgba(255,255,255,.94);display:flex;align-items:center;gap:5px}
.lst-badge.below{color:#0b7a50}
.lst-badge.fair{color:var(--ink)}
.lst-badge.above{color:#b3402a}
.lst-fav{position:absolute;top:10px;right:10px;width:32px;height:32px;border-radius:50%;
  background:rgba(255,255,255,.88);display:grid;place-items:center;transition:.18s;border:none;cursor:pointer}
.lst-fav svg{width:17px;height:17px;stroke:var(--ink);fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.lst:hover .lst-fav{background:#fff}
.lst-fav.on svg{fill:var(--coral);stroke:var(--coral)}
.lst-body{padding:15px 16px 16px;display:flex;flex-direction:column;flex:1}
.lst-title{font-size:15px;font-weight:600;margin-bottom:8px;line-height:1.35}
.lst-price{font-family:'Space Grotesk';font-weight:700;font-size:22px;margin-bottom:5px}
.lst-meta{font-size:12.5px;color:var(--muted);margin-bottom:13px}
.lst-seller{display:flex;align-items:center;gap:8px;padding-top:12px;border-top:1px solid var(--line);margin-top:auto}
.lst-av{width:26px;height:26px;border-radius:8px;display:grid;place-items:center;font-family:'Space Grotesk';
  font-size:11px;font-weight:700;color:var(--ink);background:var(--lime);flex:none}
.lst-seller b{font-size:12.5px;font-weight:600}
.lst-ver{display:flex;align-items:center;gap:4px;font-size:11.5px;font-weight:600;color:var(--emerald);margin-left:auto}
.lst-ver svg{width:14px;height:14px;stroke:var(--emerald);fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}

/* ---------- filters ---------- */
.filters{display:flex;flex-direction:column;gap:16px;margin-bottom:30px}
.search-row{display:flex;gap:10px;flex-wrap:wrap}
.search-box{flex:1;min-width:240px;display:flex;gap:11px;align-items:center;background:var(--card);
  border:1px solid var(--line);border-radius:14px;padding:0 16px;box-shadow:var(--shadow-sm)}
.search-box svg{width:19px;height:19px;flex:none;stroke:var(--muted);fill:none;stroke-width:1.8;stroke-linecap:round}
.search-box input{flex:1;border:none;background:none;font-family:inherit;font-size:15px;padding:14px 0;color:var(--ink);outline:none}
.select{border:1px solid var(--line);background:var(--card);border-radius:14px;padding:13px 16px;
  font-family:inherit;font-size:14.5px;font-weight:500;color:var(--ink);cursor:pointer;box-shadow:var(--shadow-sm)}
.chips{display:flex;gap:8px;flex-wrap:wrap}
.chip{font-family:'Inter',sans-serif;font-size:13.5px;font-weight:600;padding:8px 15px;border-radius:999px;
  border:1px solid var(--line);background:var(--card);cursor:pointer;transition:.18s;color:var(--muted)}
.chip:hover{border-color:var(--line-strong);color:var(--ink)}
.chip.on{background:var(--ink);color:#fff;border-color:var(--ink)}
.result-line{display:flex;justify-content:space-between;align-items:baseline;gap:14px;
  font-size:14px;color:var(--muted);margin-bottom:20px;flex-wrap:wrap}
.result-line b{font-family:'Space Grotesk';color:var(--ink);font-size:15px}
.empty{text-align:center;padding:70px 24px;background:var(--card);border:1px solid var(--line);border-radius:var(--radius)}
.empty h3{font-size:21px;margin-bottom:10px}
.empty p{color:var(--muted);margin-bottom:22px}

/* ---------- price gauge ---------- */
.price-box{background:var(--bg);border:1px solid var(--line);border-radius:16px;padding:16px 18px}
.price-top{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:12px}
.price-label{font-size:12.5px;font-weight:600;color:var(--muted)}
.price-val{font-family:'Space Grotesk';font-weight:700;font-size:26px}
.price-val small{font-size:15px;color:var(--muted);font-weight:600}
.gauge{position:relative;height:8px;border-radius:999px;overflow:hidden;
  background:linear-gradient(90deg,var(--emerald) 0%,var(--emerald) 33%,var(--amber) 33%,var(--amber) 66%,var(--coral) 66%,var(--coral) 100%)}
.gauge-marker{position:absolute;top:-4px;width:4px;height:16px;background:var(--ink);border-radius:2px;
  box-shadow:0 0 0 3px var(--card);transition:left 1s cubic-bezier(.16,1,.3,1)}
.gauge-labels{display:flex;justify-content:space-between;font-size:11px;font-weight:600;color:var(--muted);margin-top:8px}
.verdict{display:inline-flex;align-items:center;gap:7px;font-size:12.5px;font-weight:700;
  padding:5px 11px;border-radius:999px;margin-top:12px}
.verdict.below{color:var(--emerald);background:var(--emerald-soft)}
.verdict.fair{color:var(--ink);background:rgba(14,15,12,.06)}
.verdict.above{color:#b3402a;background:var(--coral-soft)}

/* ---------- listing detail ---------- */
.detail{display:grid;grid-template-columns:1.15fr .85fr;gap:40px;align-items:start;padding-bottom:70px}
.detail-photo{position:relative;aspect-ratio:4/3;border-radius:var(--radius);display:grid;place-items:center;
  color:rgba(255,255,255,.94);overflow:hidden;box-shadow:var(--shadow)}
.detail-photo .art{width:52%;height:52%;fill:none;stroke:currentColor;stroke-width:2.6;
  stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 14px 26px rgba(0,0,0,.34))}
/* Плашка и «в избранное» позиционируются от обёртки. С галереей внизу
   обёртки лежат миниатюры, поэтому плашку прижимаем к самому снимку. */
.detail-photo-wrap:has(.gallery) .ai-stamp{bottom:auto;top:14px;left:14px}
.detail-photo-wrap:has(.gallery) .detail-fav{top:14px;right:14px}
.ai-stamp{position:absolute;bottom:14px;left:14px;display:flex;align-items:center;gap:7px;
  background:rgba(14,15,12,.6);color:#fff;font-size:11.5px;font-weight:600;padding:6px 12px;
  border-radius:999px;backdrop-filter:blur(6px)}
.ai-stamp svg{width:13px;height:13px;stroke:var(--lime);fill:none;stroke-width:1.8;stroke-linejoin:round}
.detail h1{font-size:clamp(25px,3vw,34px);font-weight:700;margin-bottom:12px}
.detail-meta{display:flex;gap:14px;flex-wrap:wrap;font-size:13.5px;color:var(--muted);margin-bottom:22px}
.detail-meta span{display:flex;align-items:center;gap:6px}
.detail-desc{font-size:15.5px;color:var(--ink);opacity:.86;margin:22px 0}
.side-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  padding:22px;box-shadow:var(--shadow-sm);margin-bottom:18px}
.side-card h3{font-size:16px;margin-bottom:16px}
.buy-actions{display:flex;flex-direction:column;gap:10px;margin-top:18px}
.buy-actions .btn{width:100%}
.escrow-note{background:var(--emerald-soft);border:1px solid rgba(14,157,102,.25);border-radius:12px;
  padding:12px 14px;display:flex;gap:11px;align-items:center;font-size:13px;font-weight:500;margin-top:14px}
.escrow-note svg{width:22px;height:22px;flex:none;stroke:var(--emerald);fill:none;stroke-width:1.6}
.seller-row{display:flex;align-items:center;gap:12px}
.seller-row .av{width:46px;height:46px;border-radius:13px;background:linear-gradient(135deg,#C4F546,#0E9D66);
  display:grid;place-items:center;font-family:'Space Grotesk';font-weight:700;font-size:16px;color:var(--ink);flex:none}
.seller-row b{font-size:15.5px;display:block}
.seller-row .ver{font-size:12.5px;color:var(--emerald);font-weight:600;display:flex;align-items:center;gap:5px}

/* ---------- attributes ---------- */
.attrs{border:1px solid var(--line);border-radius:var(--radius-sm);overflow:hidden;background:var(--card)}
.attr-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:13px 18px;border-bottom:1px solid var(--line);font-size:14.5px}
.attr-row:last-child{border-bottom:none}
.attr-row dt{color:var(--muted)}
.attr-row dd{font-weight:600;display:flex;align-items:center;gap:8px}
.tag-ai{font-size:10px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;
  color:var(--emerald);background:var(--emerald-soft);padding:3px 7px;border-radius:6px;flex:none}
.tag-edit{font-size:10px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;
  color:#8a6d1f;background:var(--amber-soft);padding:3px 7px;border-radius:6px;flex:none}
.attrs-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:34px 0 14px}
.attrs-head h2{font-size:21px}

/* ---------- forms ---------- */
.form-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  padding:30px;box-shadow:var(--shadow-sm)}
.field{margin-bottom:20px}
.field label{display:block;font-size:13.5px;font-weight:600;color:var(--muted);margin-bottom:7px}
/* Перечислять типы по одному опасно: забытый type=email молча остаётся
   без ширины. Берём все текстовые поля и исключаем чекбоксы и радио. */
.field input:not([type=checkbox]):not([type=radio]),.field textarea,.field select{
  width:100%;border:1px solid var(--line-strong);border-radius:12px;padding:12px 14px;
  font-family:inherit;font-size:15px;color:var(--ink);background:var(--bg);outline:none;transition:.15s}
.field input[type=file]{padding:10px 14px;font-size:14px;cursor:pointer}
.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--emerald);background:var(--card);
  box-shadow:0 0 0 3px var(--emerald-soft)}
.field textarea{min-height:110px;resize:vertical;line-height:1.5}
.field .hint{font-size:12.5px;color:var(--muted);margin-top:6px}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.form-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px;padding-top:22px;border-top:1px solid var(--line)}

/* attribute editor */
.attr-editor{display:flex;flex-direction:column;gap:10px}
.attr-edit-row{display:grid;grid-template-columns:1fr 1.3fr auto;gap:10px;align-items:center}
.attr-edit-row input{width:100%;border:1px solid var(--line-strong);border-radius:11px;padding:11px 13px;
  font-family:inherit;font-size:14.5px;background:var(--bg);outline:none;transition:.15s}
.attr-edit-row input:focus{border-color:var(--emerald);background:var(--card);box-shadow:0 0 0 3px var(--emerald-soft)}
.attr-edit-row input.touched{border-color:var(--amber);background:var(--amber-soft)}
.attr-del{width:38px;height:38px;border-radius:11px;border:1px solid var(--line-strong);background:var(--card);
  cursor:pointer;display:grid;place-items:center;transition:.15s;flex:none}
.attr-del:hover{background:var(--coral-soft);border-color:var(--coral)}
.attr-del svg{width:16px;height:16px;stroke:var(--muted);fill:none;stroke-width:1.9;stroke-linecap:round}
.attr-del:hover svg{stroke:#b3402a}
.ai-notice{display:flex;gap:12px;align-items:flex-start;background:var(--emerald-soft);
  border:1px solid rgba(14,157,102,.25);border-radius:14px;padding:14px 16px;margin-bottom:24px;font-size:14px}
.ai-notice svg{width:20px;height:20px;flex:none;stroke:var(--emerald);fill:none;stroke-width:1.7;margin-top:1px}
.ai-notice b{display:block;margin-bottom:3px}
.ai-notice.warn{background:var(--amber-soft);border-color:rgba(244,183,64,.4)}
.ai-notice.warn svg{stroke:#8a6d1f}

/* ---------- sell: photo picker ---------- */
.pick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:24px}
.pick{background:var(--card);border:1px solid var(--line);border-radius:var(--radius-sm);padding:0;
  cursor:pointer;overflow:hidden;transition:.22s;text-align:center}
.pick:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:var(--line-strong)}
.pick .ph{aspect-ratio:4/3;display:grid;place-items:center;color:rgba(255,255,255,.92)}
.pick .ph svg{width:52%;height:52%;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.pick b{display:block;padding:12px;font-size:14px;font-weight:600}
.upload{display:block;border:2px dashed var(--line-strong);border-radius:var(--radius);padding:34px 24px;
  text-align:center;background:var(--card);transition:.2s;cursor:pointer}
.upload:hover{border-color:var(--emerald)}
.upload svg{display:block;width:34px;height:34px;stroke:var(--muted);fill:none;stroke-width:1.5;margin:0 auto 12px}
.upload h3{font-size:17px;margin-bottom:7px}
.upload p{font-size:14px;color:var(--muted);margin-bottom:16px}
.upload input[type=file]{display:none}
.or{text-align:center;font-size:13px;font-weight:600;color:var(--muted);margin:26px 0;
  display:flex;align-items:center;gap:14px}
.or::before,.or::after{content:"";flex:1;height:1px;background:var(--line)}

/* steps */
.steps{display:flex;gap:10px;margin-bottom:34px;flex-wrap:wrap}
.step-pill{display:flex;align-items:center;gap:9px;font-size:13.5px;font-weight:600;color:var(--muted);
  background:var(--card);border:1px solid var(--line);border-radius:999px;padding:8px 15px}
.step-pill b{width:22px;height:22px;border-radius:7px;background:var(--bg);color:var(--muted);
  display:grid;place-items:center;font-family:'Space Grotesk';font-size:12px}
.step-pill.on{color:var(--ink);border-color:var(--ink)}
.step-pill.on b{background:var(--lime);color:var(--ink)}
.step-pill.done b{background:var(--emerald);color:#fff}

/* ---------- compare table ---------- */
.compare{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;box-shadow:var(--shadow-sm)}
.cmp-row{display:grid;grid-template-columns:1.15fr 1fr 1fr;align-items:stretch;border-bottom:1px solid var(--line)}
.cmp-row:last-child{border-bottom:none}
.cmp-row>div{padding:18px 22px;display:flex;align-items:center}
.cmp-row.head>div{font-family:'Space Grotesk';font-weight:700;font-size:15px}
.cmp-row .old{background:var(--coral-soft);gap:10px;font-size:14.5px;color:#a33;font-weight:500}
.cmp-row .new{background:linear-gradient(90deg,rgba(196,245,70,.16),rgba(14,157,102,.1));gap:10px;font-size:14.5px;font-weight:600}
.cmp-row .feat-lbl{font-size:15px;font-weight:600}
.cmp-row .head-old{color:var(--coral)}
.cmp-row .head-new{color:var(--emerald);gap:8px}
.cmp-group{padding:22px 22px 10px;font-family:'Space Grotesk';font-weight:700;font-size:13px;
  letter-spacing:.05em;text-transform:uppercase;color:var(--muted);background:var(--bg);border-bottom:1px solid var(--line)}

/* ---------- misc ---------- */
.pillars{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.pillar{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:30px;
  position:relative;overflow:hidden;transition:transform .3s,box-shadow .3s}
.pillar:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.pillar .ic{width:52px;height:52px;border-radius:14px;display:grid;place-items:center;margin-bottom:20px;
  background:var(--bg);border:1px solid var(--line)}
.pillar .ic svg{width:26px;height:26px;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.pillar h3{font-size:21px;font-weight:700;margin-bottom:10px}
.pillar p{font-size:15px;color:var(--muted)}
.pillar .num{position:absolute;top:22px;right:26px;font-family:'Space Grotesk';font-weight:700;font-size:15px;color:var(--line-strong)}
.pillar.feat{grid-column:span 2;background:var(--ink);color:#fff;display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:center}
.pillar.feat h3{color:#fff;font-size:26px}
.pillar.feat p{color:rgba(255,255,255,.7);font-size:16px}
.pillar.feat .ic{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.14)}
.mini-flow{display:flex;flex-direction:column;gap:12px}
.mini-flow .step{display:flex;gap:14px;align-items:center;background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.1);border-radius:14px;padding:14px 16px}
.mini-flow .step b{width:26px;height:26px;border-radius:8px;background:var(--lime);color:var(--ink);
  display:grid;place-items:center;font-family:'Space Grotesk';font-size:13px;flex:none}
.mini-flow .step span{font-size:14.5px;color:#fff}

.cats{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}
.cat{background:var(--card);border:1px solid var(--line);border-radius:var(--radius-sm);padding:22px 18px;
  text-align:center;transition:.25s;display:block}
.cat:hover{transform:translateY(-3px);box-shadow:var(--shadow-sm);border-color:var(--line-strong)}
.cat .icn{width:30px;height:30px;display:block;margin:0 auto 12px;stroke:var(--ink);fill:none;
  stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;transition:stroke .2s}
.cat:hover .icn{stroke:var(--emerald)}
.cat b{font-size:14.5px;font-weight:600;display:block}
.cat span{font-size:12.5px;color:var(--muted)}

.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.stat{text-align:center;padding:20px}
.stat .big{font-family:'Space Grotesk';font-weight:700;font-size:clamp(36px,4.2vw,52px);letter-spacing:-.03em;line-height:1}
.stat .big .u{color:var(--emerald)}
.stat p{font-size:14.5px;color:var(--muted);margin-top:10px}

.cta{background:var(--ink);border-radius:32px;padding:60px 52px;text-align:center;position:relative;overflow:hidden;color:#fff}
.cta-glow{position:absolute;bottom:-140px;left:50%;transform:translateX(-50%);width:520px;height:320px;
  border-radius:50%;background:radial-gradient(circle,rgba(196,245,70,.4),transparent 65%);filter:blur(10px)}
.cta h2{font-size:clamp(30px,3.8vw,48px);font-weight:700;margin-bottom:16px;position:relative}
.cta p{font-size:18px;color:rgba(255,255,255,.7);max-width:520px;margin:0 auto 30px;position:relative}
.cta-form{display:flex;gap:10px;max-width:460px;margin:0 auto;position:relative;flex-wrap:wrap;justify-content:center}
.cta-form input{flex:1;min-width:220px;padding:15px 20px;border-radius:14px;border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.07);color:#fff;font-size:15px;font-family:inherit}
.cta-form input::placeholder{color:rgba(255,255,255,.5)}
.cta-note{font-size:13px;color:rgba(255,255,255,.5);margin-top:16px;position:relative}

/* ---------- footer ---------- */
footer{padding:56px 0 40px;border-top:1px solid var(--line);background:var(--card)}
.foot-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:40px;padding-bottom:38px;border-bottom:1px solid var(--line)}
.foot-brand p{font-size:14.5px;color:var(--muted);max-width:280px;margin-top:14px}
.foot-langs{display:flex;gap:7px;margin-top:18px;flex-wrap:wrap}
.foot-langs a{font-family:'Space Grotesk';font-weight:600;font-size:12px;color:var(--muted);
  background:var(--bg);border:1px solid var(--line);border-radius:8px;padding:6px 11px;transition:.15s}
.foot-langs a:hover{color:var(--ink);border-color:var(--line-strong)}
.foot-langs a.on{color:var(--ink);border-color:var(--ink)}
.foot-col h5{font-family:'Space Grotesk';font-size:13px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);margin-bottom:16px}
.foot-col a{display:block;font-size:14.5px;color:var(--ink);margin-bottom:11px;opacity:.8;transition:.15s}
.foot-col a:hover{opacity:1;color:var(--emerald)}
.foot-bot{display:flex;justify-content:space-between;align-items:center;padding-top:24px;
  font-size:13.5px;color:var(--muted);flex-wrap:wrap;gap:12px}

.reveal{opacity:0;transform:translateY(24px);transition:opacity .7s cubic-bezier(.16,1,.3,1),transform .7s cubic-bezier(.16,1,.3,1)}
.reveal.in{opacity:1;transform:none}

/* ---------- responsive ---------- */
@media(max-width:1000px){
  .detail{grid-template-columns:1fr;gap:28px}
  .cats{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:960px){
  .feed{grid-template-columns:repeat(2,1fr)}
  .pillar.feat{grid-template-columns:1fr}
  .stats{grid-template-columns:repeat(2,1fr)}
  .foot-grid{grid-template-columns:1fr 1fr}
  .nav-links{display:none}
}
@media(max-width:760px){
  .nav-right .link-plain{display:none}
  .nav-inner{gap:10px}
  .logo{font-size:18px}
  .logo .mark{width:26px;height:26px}
  .lang button{padding:4px 7px;font-size:11px}
  .nav-right .btn-primary{font-size:13px;padding:10px 14px}
}
@media(max-width:680px){
  .pillars{grid-template-columns:1fr}
  .pillar.feat{grid-column:span 1}
  .cats{grid-template-columns:repeat(2,1fr)}
  .feed{grid-template-columns:1fr}
  .pick-grid{grid-template-columns:repeat(2,1fr)}
  .field-row{grid-template-columns:1fr}
  .attr-edit-row{grid-template-columns:1fr 1fr auto}
  .cmp-row{grid-template-columns:1fr}
  .cmp-row.head{display:none}
  .cmp-row>div{padding:14px 18px}
  .attr-row{grid-template-columns:1fr;gap:3px}
  .cta{padding:46px 24px}
  .form-card{padding:22px}
}
@media(max-width:620px){
  .nav-post-full{display:none}
  .nav-post-sm{display:inline-flex}
}
/* На узких экранах в шапке помещается не всё. Избранное и переключатель
   языка уводим — оба доступны из кабинета и подвала. */
@media(max-width:460px){
  .icon-link{display:none}
  .nav-right{gap:8px}
  .nav-user{width:30px;height:30px;font-size:12px}
}
@media(max-width:400px){
  header.nav .lang{display:none}
}

/* ---------- фото объявлений ---------- */
/* Картинку кладём абсолютом внутрь рамки: как grid-элемент она тянула бы
   контейнер до своей натуральной высоты и ломала пропорцию 4:3, отчего
   карточки в сетке получались разной высоты. */
.lst-img.has-photo,.detail-photo.has-photo,.deal-thumb.has-photo{
  background:var(--bg);padding:0;position:relative;overflow:hidden}
.lst-img.has-photo img,.detail-photo.has-photo img,.deal-thumb.has-photo img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.lst{position:relative}
.lst-link{display:flex;flex-direction:column;flex:1;color:inherit}
.lst-sold{position:absolute;top:12px;left:12px;font-size:11.5px;font-weight:700;padding:5px 10px;
  border-radius:999px;background:var(--ink);color:#fff;z-index:2}
.fav-form{position:absolute;top:10px;right:10px;z-index:3;margin:0}
.detail-photo-wrap{position:relative}
.detail-fav{top:14px;right:14px}
.draft-photo{border-radius:var(--radius);overflow:hidden;margin-bottom:20px;
  border:1px solid var(--line);background:var(--card);max-height:340px}
.draft-photo img{width:100%;height:100%;max-height:340px;object-fit:cover;display:block}
.draft-photo.small{max-height:160px;margin-bottom:12px}
.draft-photo.small img{max-height:160px}

/* ---------- шапка: пользователь ---------- */
.nav-user{width:34px;height:34px;border-radius:11px;background:var(--lime);color:var(--ink);
  display:grid;place-items:center;font-family:'Space Grotesk';font-weight:700;font-size:13px;
  flex:none;transition:.15s}
.nav-user:hover,.nav-user.on{background:var(--ink);color:#fff}
.icon-link{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;
  border:1px solid var(--line);background:var(--card);transition:.15s;flex:none}
.icon-link svg{width:17px;height:17px;stroke:var(--ink);fill:none;stroke-width:1.8;
  stroke-linejoin:round;stroke-linecap:round}
.icon-link:hover{border-color:var(--line-strong)}
.icon-link.on{background:var(--ink);border-color:var(--ink)}
.icon-link.on svg{stroke:#fff}
/* Заливка сердечка — только для избранного: колокольчик и конверт
   от общего правила становились сплошь коралловыми. */
.icon-link.fav-nav.on{background:var(--coral-soft);border-color:var(--coral)}
.icon-link.fav-nav.on svg{fill:var(--coral);stroke:var(--coral)}

/* ---------- уведомления ---------- */
.flash-wrap{padding-top:18px;display:flex;flex-direction:column;gap:10px}
.flash{padding:13px 18px;border-radius:14px;font-size:14.5px;font-weight:500;
  border:1px solid var(--line);background:var(--card)}
.flash.error{background:var(--coral-soft);border-color:rgba(255,106,61,.35);color:#8f3117}
.flash.ok{background:var(--emerald-soft);border-color:rgba(14,157,102,.3);color:#0b6b48}

/* ---------- фильтры каталога ---------- */
.filter-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.range{display:flex;align-items:center;gap:8px;background:var(--card);border:1px solid var(--line);
  border-radius:14px;padding:8px 14px;box-shadow:var(--shadow-sm);font-size:13.5px;color:var(--muted)}
.range input{width:78px;border:none;background:none;font-family:inherit;font-size:14.5px;
  color:var(--ink);outline:none;padding:4px 0}
.parsed{display:block;margin-top:4px;font-size:13px;color:var(--muted)}
.parsed em{font-style:normal;font-weight:600;color:var(--emerald);background:var(--emerald-soft);
  padding:2px 8px;border-radius:999px;margin-left:4px}
.pager{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:38px}
.pager-info{font-size:14px;color:var(--muted);font-weight:500}

/* ---------- кабинет ---------- */
.acc-grid{display:grid;grid-template-columns:320px 1fr;gap:32px;align-items:start}
.stat-row{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:34px}
.mini-stat{background:var(--card);border:1px solid var(--line);border-radius:var(--radius-sm);
  padding:18px;text-align:center;transition:.2s;display:block;color:inherit}
a.mini-stat:hover{border-color:var(--line-strong);box-shadow:var(--shadow-sm);transform:translateY(-2px)}
.mini-stat b{display:block;font-family:'Space Grotesk';font-weight:700;font-size:26px;line-height:1.1}
.mini-stat span{font-size:12.5px;color:var(--muted)}
.side-note{font-size:14px;color:var(--muted);text-align:center;margin:0;padding:10px 0}
.feed-2{grid-template-columns:repeat(2,1fr)}

/* ---------- сделки ---------- */
.deal-list{display:flex;flex-direction:column;gap:12px;margin-bottom:34px}
.deal-card{display:flex;align-items:center;gap:16px;background:var(--card);border:1px solid var(--line);
  border-radius:var(--radius-sm);padding:14px 18px;transition:.2s;color:inherit}
.deal-card:hover{border-color:var(--line-strong);box-shadow:var(--shadow-sm);transform:translateY(-2px)}
.deal-thumb{width:56px;height:56px;border-radius:12px;flex:none;display:grid;place-items:center;
  overflow:hidden;color:rgba(255,255,255,.9)}
.deal-thumb .art{width:60%;height:60%;fill:none;stroke:currentColor;stroke-width:4;
  stroke-linecap:round;stroke-linejoin:round}
.deal-main{flex:1;min-width:0}
.deal-main b{display:block;font-size:15px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.deal-sub{font-size:13px;color:var(--muted)}
.deal-status{font-size:12px;font-weight:700;padding:6px 12px;border-radius:999px;flex:none;white-space:nowrap}
.s-held{background:var(--amber-soft);color:#8a6d1f}
.s-shipped{background:rgba(14,15,12,.06);color:var(--ink)}
.s-completed{background:var(--emerald-soft);color:var(--emerald)}
.s-cancelled,.s-refunded{background:var(--coral-soft);color:#8f3117}
.deal-item{display:flex;gap:14px;align-items:center;color:inherit}
.deal-item b{display:block;font-size:14.5px;font-weight:600;line-height:1.35}
.deal-item span{font-family:'Space Grotesk';font-weight:700;font-size:17px}

/* ход сделки */
.track{display:flex;gap:10px}
.track-step{flex:1;background:var(--card);border:1px solid var(--line);border-radius:14px;
  padding:16px 14px;text-align:center;transition:.25s}
.track-step .dot{width:28px;height:28px;border-radius:9px;background:var(--bg);color:var(--muted);
  display:grid;place-items:center;margin:0 auto 10px;font-family:'Space Grotesk';font-weight:700;font-size:13px}
.track-step b{font-size:13.5px;font-weight:600;color:var(--muted)}
.track-step.on{border-color:rgba(14,157,102,.35);background:var(--emerald-soft)}
.track-step.on .dot{background:var(--emerald);color:#fff}
.track-step.on b{color:var(--ink)}
.track-step.now{border-color:var(--ink);box-shadow:var(--shadow-sm)}

/* чат */
.chat{background:var(--card);border:1px solid var(--line);border-radius:var(--radius-sm);
  padding:18px;max-height:380px;overflow-y:auto;display:flex;flex-direction:column;gap:14px}
.chat-empty{text-align:center;color:var(--muted);font-size:14px;margin:22px 0}
.msg{display:flex;gap:11px;align-items:flex-start}
.msg-av{width:30px;height:30px;border-radius:9px;background:var(--bg);border:1px solid var(--line);
  display:grid;place-items:center;font-family:'Space Grotesk';font-weight:700;font-size:11px;flex:none}
.msg-body{background:var(--bg);border-radius:14px;padding:10px 14px;font-size:14.5px;max-width:78%}
.msg-meta{font-size:11.5px;color:var(--muted);font-weight:600;margin-bottom:3px}
.msg.mine{flex-direction:row-reverse}
.msg.mine .msg-body{background:var(--emerald-soft)}
.msg.mine .msg-av{background:var(--lime);border-color:var(--lime)}
.chat-form{display:flex;gap:10px;margin-top:14px}
.chat-form input{flex:1;border:1px solid var(--line-strong);border-radius:12px;padding:12px 14px;
  font-family:inherit;font-size:15px;background:var(--card);outline:none}
.chat-form input:focus{border-color:var(--emerald);box-shadow:0 0 0 3px var(--emerald-soft)}

@media(max-width:1000px){
  .acc-grid{grid-template-columns:1fr}
}
@media(max-width:680px){
  .stat-row{grid-template-columns:repeat(2,1fr)}
  .feed-2{grid-template-columns:1fr}
  .track{flex-direction:column}
  .deal-card{flex-wrap:wrap}
  .range{width:100%;justify-content:space-between}
}

/* ---------- звёзды ---------- */
.stars{display:inline-flex;gap:2px;vertical-align:middle}
.stars svg{fill:var(--line-strong);width:15px;height:15px}
.stars svg.on{fill:var(--amber)}
.stars.sm svg{width:13px;height:13px}
.stars.lg svg{width:22px;height:22px}

/* ---------- профиль продавца ---------- */
.prof-head{display:flex;align-items:center;gap:20px}
.prof-av{width:76px;height:76px;border-radius:22px;flex:none;display:grid;place-items:center;
  background:linear-gradient(135deg,#C4F546,#0E9D66);font-family:'Space Grotesk';
  font-weight:700;font-size:26px;color:var(--ink)}
.prof-meta{display:flex;gap:10px;flex-wrap:wrap;align-items:center;font-size:14px;
  color:var(--muted);margin-top:8px}
.prof-ver{display:flex;align-items:center;gap:5px;color:var(--emerald);font-weight:600}
.rating-card{text-align:center}
.rating-big{font-family:'Space Grotesk';font-weight:700;font-size:52px;line-height:1;margin-bottom:10px}
.rating-big.muted{color:var(--line-strong)}
.rating-count{font-size:13.5px;color:var(--muted);margin-top:10px}
.rating-bars{margin-top:18px;display:flex;flex-direction:column;gap:7px}
.rating-bar{display:flex;align-items:center;gap:9px;font-size:12.5px;color:var(--muted)}
.rating-bar .bar{flex:1;height:7px;border-radius:999px;background:var(--bg);overflow:hidden}
.rating-bar .bar i{display:block;height:100%;background:var(--amber);border-radius:999px}
.rating-bar b{width:20px;text-align:right;font-weight:600;color:var(--ink)}
.seller-rating{display:flex;align-items:center;gap:9px;margin-top:14px;padding-top:14px;
  border-top:1px solid var(--line);font-size:13.5px;font-weight:600}
.seller-rating .muted{color:var(--muted);font-weight:400}
.ver-line{font-size:12.5px;color:var(--muted);display:block}
a.seller-row{transition:.15s}
a.seller-row:hover b{color:var(--emerald)}

/* ---------- отзывы ---------- */
.review-list{display:flex;flex-direction:column;gap:14px}
.review{display:flex;gap:14px;background:var(--card);border:1px solid var(--line);
  border-radius:var(--radius-sm);padding:18px}
.review-av{width:38px;height:38px;border-radius:12px;flex:none;display:grid;place-items:center;
  background:var(--bg);border:1px solid var(--line);font-family:'Space Grotesk';
  font-weight:700;font-size:13px}
.review-body{flex:1;min-width:0}
.review-top{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.review-top b{font-size:14.5px}
.review-ago{font-size:12.5px;color:var(--muted);margin-left:auto}
.review-item{font-size:12.5px;color:var(--muted);margin-top:3px}
.review-body p{font-size:14.5px;margin-top:8px}
.rate-picker{display:flex;flex-direction:column;gap:8px}
.rate-picker label{display:flex;align-items:center;gap:10px;padding:11px 14px;border-radius:12px;
  border:1px solid var(--line);cursor:pointer;transition:.15s;font-size:14.5px}
.rate-picker label:hover{border-color:var(--line-strong)}
.rate-picker input{accent-color:var(--emerald)}
.rate-picker input:checked + span{font-weight:600}
.rate-picker label:has(input:checked){border-color:var(--emerald);background:var(--emerald-soft)}

/* ---------- мессенджер ---------- */
.deal-card.unread{border-color:var(--emerald);background:linear-gradient(90deg,var(--emerald-soft),var(--card) 40%)}
.deal-last{display:block;font-size:13px;color:var(--muted);margin-top:3px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:46ch}
.deal-side{display:flex;flex-direction:column;align-items:flex-end;gap:7px;flex:none}
.deal-ago{font-size:12px;color:var(--muted);white-space:nowrap}
.badge-count{min-width:22px;height:22px;padding:0 7px;border-radius:999px;background:var(--emerald);
  color:#fff;font-size:11.5px;font-weight:700;display:grid;place-items:center}
.thread-head{background:var(--card);border:1px solid var(--line);border-radius:var(--radius-sm);
  padding:16px 18px;margin-bottom:16px}
.dot-badge{position:absolute;top:-5px;right:-5px;min-width:17px;height:17px;padding:0 4px;
  border-radius:999px;background:var(--coral);color:#fff;font-size:10px;font-weight:700;
  display:grid;place-items:center;border:2px solid var(--bg)}
.icon-link{position:relative}

/* ---------- уведомления ---------- */
.notif-list{display:flex;flex-direction:column;gap:10px}
.notif{display:flex;gap:14px;align-items:flex-start;background:var(--card);
  border:1px solid var(--line);border-radius:var(--radius-sm);padding:16px 18px;transition:.2s}
.notif:hover{border-color:var(--line-strong);box-shadow:var(--shadow-sm)}
.notif.fresh{border-color:rgba(14,157,102,.35);background:linear-gradient(90deg,var(--emerald-soft),var(--card) 45%)}
.notif-av{width:34px;height:34px;border-radius:11px;flex:none;display:grid;place-items:center;
  background:var(--bg);border:1px solid var(--line);font-family:'Space Grotesk';
  font-weight:700;font-size:12px}
.notif-body p{font-size:14.5px;margin:0}
.notif-ago{font-size:12.5px;color:var(--muted)}

@media(max-width:760px){
  .fav-nav{display:none}
  .deal-last{max-width:24ch}
}
@media(max-width:680px){
  .prof-head{gap:14px}
  .prof-av{width:58px;height:58px;border-radius:17px;font-size:20px}
}

/* рейтинг на карточке и настройка писем */
.lst-rating{display:flex;align-items:center;gap:4px;margin-left:auto;font-size:11.5px;
  font-weight:700;color:#8a6d1f;background:var(--amber-soft);padding:3px 8px;border-radius:999px}
.lst-rating svg{width:11px;height:11px;fill:var(--amber)}
.check{display:flex;align-items:flex-start;gap:10px;margin-bottom:14px;cursor:pointer;font-size:14px}
.check input{width:auto;margin-top:2px;accent-color:var(--emerald);flex:none}
/* Новое сообщение проявляется, а не выпрыгивает. */
.msg.arrived{animation:msgIn .28s ease-out}
@keyframes msgIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}

/* ---------- фото в отзывах ---------- */
.review-photos{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}
.review-photos a{width:78px;height:78px;border-radius:12px;overflow:hidden;
  border:1px solid var(--line);display:block;transition:.18s}
.review-photos a:hover{transform:scale(1.04);box-shadow:var(--shadow-sm)}
.review-photos img{width:100%;height:100%;object-fit:cover;display:block}

/* ---------- платёж на странице сделки ---------- */
.pay-box{margin-top:14px;padding:14px 16px;border-radius:14px;background:var(--bg);
  border:1px solid var(--line)}
.pay-top{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:13px}
.pay-top span{color:var(--muted)}
.pay-top b{font-size:13.5px}
.pay-authorized{color:#8a6d1f}
.pay-captured{color:var(--emerald)}
.pay-refunded,.pay-failed{color:#b3402a}
.pay-meta{font-size:12px;color:var(--muted);margin-top:6px}
.pay-meta em{font-style:normal;display:block;margin-top:3px}

/* ---------- код Smart-ID ---------- */
.sid-code{font-family:'Space Grotesk';font-weight:700;font-size:clamp(52px,11vw,86px);
  letter-spacing:.12em;text-align:center;padding:34px 20px;border-radius:var(--radius);
  background:var(--ink);color:var(--lime);margin-bottom:16px}
.sid-hint{text-align:center;font-size:14px;color:var(--muted);margin-bottom:22px}

/* ---------- комиссия и выплата ---------- */
.payout{
  border:1px solid var(--line); border-radius:16px; padding:16px 18px;
  background:linear-gradient(180deg,rgba(19,190,124,.06),rgba(19,190,124,0));
  margin-bottom:20px;
}
.payout-top{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.payout-label{font-size:13px;color:var(--muted);font-weight:600}
.payout-sum{font-family:var(--display);font-size:28px;letter-spacing:-.02em;color:var(--emerald)}
.payout-rows{margin:10px 0 0;display:grid;gap:4px;font-size:13px}
.payout-rows>div{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.payout-rows dt{color:var(--muted)}
.payout-rows dd{margin:0;color:var(--ink);font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.payout-rows>div:first-child{padding-bottom:4px;border-bottom:1px solid var(--line)}
.payout-note{margin-top:10px;font-size:12px;line-height:1.5;color:var(--muted);opacity:.85}

.earn-box{
  display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;
  border:1px solid var(--line);border-radius:18px;padding:18px 20px;margin-bottom:22px;
  background:linear-gradient(135deg,rgba(19,190,124,.08),rgba(19,190,124,0) 60%);
}
.earn-main{display:flex;flex-direction:column;gap:2px}
.earn-label{font-size:13px;color:var(--muted);font-weight:600}
.earn-sum{font-family:var(--display);font-size:30px;letter-spacing:-.02em}
.earn-sub{font-size:12px;color:var(--muted)}
.earn-fee{text-align:right;font-size:13px;color:var(--muted)}
.earn-fee b{display:block;font-size:17px;color:var(--ink);margin-top:2px}
@media (max-width:560px){
  .earn-box{flex-direction:column;align-items:flex-start}
  .earn-fee{text-align:left}
}

/* ---------- подключение выплат ---------- */
.payouts{
  border:1px solid var(--line);border-radius:18px;padding:18px 20px;margin-bottom:22px;
}
.payouts-head{display:flex;align-items:center;gap:10px;margin-bottom:6px}
.payouts-head h2{font-size:18px;margin:0}
.payouts-dot{width:9px;height:9px;border-radius:50%;background:var(--muted);flex:none}
.payouts p{margin:0 0 14px;font-size:13.5px;line-height:1.55;color:var(--muted)}
.payouts-none{background:linear-gradient(135deg,rgba(255,138,101,.10),transparent 60%)}
.payouts-none .payouts-dot{background:var(--coral)}
.payouts-pending{background:linear-gradient(135deg,rgba(245,190,80,.14),transparent 60%)}
.payouts-pending .payouts-dot{background:#f0b429}
.payouts-ready{background:linear-gradient(135deg,rgba(19,190,124,.08),transparent 60%)}
.payouts-ready .payouts-dot{background:var(--emerald)}
.payouts-ready p{margin-bottom:0}

/* ---------- форма оплаты ---------- */
.pay-form{border:1px solid var(--line);border-radius:16px;padding:16px 18px;margin-top:16px;
  background:linear-gradient(180deg,rgba(19,190,124,.05),transparent)}
.pay-form-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:12px}
.pay-form-head span{font-size:13px;color:var(--muted);font-weight:600}
.pay-form-head b{font-family:var(--display);font-size:22px}
.pay-form-note{font-size:12.5px;color:var(--muted);line-height:1.5;margin:0 0 12px}
.card-el{margin-bottom:12px;min-height:44px}
.pay-error{margin:0 0 10px;font-size:13px;color:var(--coral)}
.pay-pending{color:var(--muted)}
.pay-paid{color:var(--emerald)}
.pay-released{color:var(--emerald)}
.pay-deadline{margin:-4px 0 12px;font-size:12.5px;color:var(--coral);font-weight:600}

/* ---------- юридические страницы ---------- */
.doc{max-width:760px;font-size:15.5px;line-height:1.72;color:var(--muted)}
.doc h2{font-family:var(--display);font-size:22px;color:var(--ink);
  margin:38px 0 12px;letter-spacing:-.01em}
.doc h2:first-child{margin-top:0}
.doc h3{font-size:17px;color:var(--ink);margin:26px 0 8px}
.doc p{margin:0 0 14px}
.doc ul{margin:0 0 16px;padding-left:20px}
.doc li{margin-bottom:6px}
.doc strong{color:var(--ink);font-weight:600}
.doc a{color:var(--ink);text-decoration:underline;text-underline-offset:3px}

/* ---------- твои данные ---------- */
.data-box{border:1px solid var(--line);border-radius:18px;padding:18px 20px;margin:26px 0}
.data-box h2{font-size:18px;margin:0 0 6px}
.data-box>p{font-size:13.5px;color:var(--muted);margin:0 0 14px}
.danger-zone{margin-top:18px;border-top:1px solid var(--line);padding-top:14px}
.danger-zone summary{cursor:pointer;font-size:14px;font-weight:600;color:var(--coral)}
.danger-zone p{font-size:13px;color:var(--muted);line-height:1.55;margin:12px 0 14px}
.danger-zone .field{margin-bottom:12px}

/* ---------- жалобы и модерация ---------- */
.report-box{margin-top:14px;border-top:1px solid var(--line);padding-top:12px}
.report-box summary{cursor:pointer;font-size:13px;color:var(--muted)}
.report-box form{margin-top:12px}
.report-box .field{margin-bottom:10px}
.side-note.removed{color:var(--coral);font-weight:600}

.report{border:1px solid var(--line);border-radius:18px;padding:18px 20px;margin-bottom:16px}
.report-head{display:flex;align-items:center;gap:14px}
.report-what{flex:1;min-width:0}
.report-what a{text-decoration:none}
.report-what b{display:block;font-size:15.5px}
.report-what span{font-size:13px;color:var(--muted)}
.report-what em{font-style:normal;font-weight:600;margin-left:8px;font-size:12px}
.report-what .banned{color:var(--coral)}
.report-what .hidden-mark{color:#b07d00}
.report-count{flex:none;min-width:34px;height:34px;border-radius:50%;background:var(--coral);
  color:#fff;font-weight:700;display:grid;place-items:center;font-size:14px}
.report-reasons{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 0}
.report-reasons .tag{font-size:12px;padding:4px 10px;border-radius:99px;
  background:var(--sand);color:var(--ink);font-weight:600}
.report-comment{margin:10px 0 0;font-size:13.5px;color:var(--muted);font-style:italic}
.report-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.report-actions form{margin:0}
.nav-count{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;
  border-radius:99px;background:var(--coral);color:#fff;font-size:11px;vertical-align:middle}

/* ---------- подтверждение сделки без денег ---------- */
.handshake h3{margin-bottom:8px}
.hs-note{font-size:13.5px;color:var(--muted);line-height:1.55;margin:0 0 14px}
.hs-note.ok{color:var(--emerald);font-weight:600}
.handshake-both{background:linear-gradient(180deg,rgba(19,190,124,.06),transparent)}
.hs-rate{font-size:14px;margin:0 0 10px}
.hs-done{margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}
.hs-done p{font-size:13.5px;color:var(--muted);margin:8px 0 0}

/* ---------- галерея объявления ---------- */
.gallery-main{position:relative;border-radius:20px;overflow:hidden;background:var(--sand);
  aspect-ratio:4/3}
.gallery-main img{width:100%;height:100%;object-fit:cover;display:block}
.gallery-count{position:absolute;right:12px;bottom:12px;padding:5px 11px;border-radius:99px;
  background:rgba(14,15,12,.72);color:#fff;font-size:12.5px;font-weight:600}
.gallery-thumbs{display:flex;gap:8px;margin-top:10px;overflow-x:auto;padding-bottom:2px}
.gallery-thumbs button{flex:none;width:72px;height:56px;padding:0;border-radius:10px;
  overflow:hidden;border:2px solid transparent;background:none;cursor:pointer}
.gallery-thumbs button.on{border-color:var(--ink)}
.gallery-thumbs img{width:100%;height:100%;object-fit:cover;display:block}

.photo-keep{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:12px}
.photo-keep label{width:88px;cursor:pointer;font-size:11.5px;color:var(--muted);text-align:center}
.photo-keep img{width:100%;height:66px;object-fit:cover;border-radius:9px;display:block;
  margin-bottom:4px;border:2px solid var(--line)}
.photo-keep input{margin-right:4px}
.photo-keep input:not(:checked)+img{opacity:.35}

/* ---------- подписки, телефон, срок ---------- */
.sub-form{margin:0}
.sub-form .btn.on{border-color:var(--emerald);color:var(--emerald)}
.subs-box{border:1px solid var(--line);border-radius:18px;padding:18px 20px;margin:26px 0}
.subs-box h2{font-size:18px;margin:0 0 6px}
.subs-box>p{font-size:13.5px;color:var(--muted);margin:0 0 14px}
.sub-row{display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:9px 0;border-top:1px solid var(--line)}
.sub-row a{font-size:14px;color:var(--ink);text-decoration:none}
.sub-row a:hover{text-decoration:underline}
.sub-row form{margin:0}
.sub-row button{border:none;background:none;cursor:pointer;color:var(--muted);
  font-size:20px;line-height:1;padding:0 4px}
.sub-row button:hover{color:var(--coral)}
.phone-link{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;
  font-variant-numeric:tabular-nums}
.phone-link svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;
  stroke-linejoin:round}
.side-note.soon{color:var(--coral);font-weight:600}

/* ---------- приглашение первым продавцам ---------- */
.start-hero{padding:70px 0 56px;background:
  radial-gradient(900px 420px at 78% -10%, rgba(196,245,70,.30), transparent 62%)}
.start-hero h1{font-family:var(--display);font-size:clamp(34px,5.4vw,58px);
  letter-spacing:-.03em;line-height:1.04;margin:18px 0 16px;max-width:14ch}
.start-hero .lead{max-width:60ch;font-size:17px;line-height:1.65;color:var(--muted)}
.start-hero .hero-cta{margin-top:28px}
.start-count{margin-top:20px;font-size:13.5px;color:var(--muted)}

.start-why{padding:20px 0 10px}
.start-why h2,.start-how h2{font-family:var(--display);font-size:clamp(24px,3vw,32px);
  letter-spacing:-.02em;margin-bottom:26px}
.start-grid{display:grid;gap:18px;grid-template-columns:repeat(3,1fr)}
.start-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  padding:24px;box-shadow:var(--shadow-sm)}
.start-card svg{width:26px;height:26px;fill:none;stroke:var(--ink);stroke-width:1.6;
  stroke-linejoin:round;stroke-linecap:round;margin-bottom:14px}
.start-card h3{font-size:17px;margin-bottom:8px}
.start-card p{font-size:14px;line-height:1.6;color:var(--muted)}

.start-honest{margin:46px 0;padding:26px 28px;border-radius:var(--radius);
  border:1px solid var(--line);background:linear-gradient(135deg,rgba(255,138,101,.10),transparent 62%)}
.start-honest h2{font-size:20px;margin-bottom:10px}
.start-honest p{font-size:15px;line-height:1.68;color:var(--muted);max-width:72ch}

.start-how{padding:10px 0 20px}
.start-steps{list-style:none;margin:0 0 28px;padding:0;display:grid;gap:14px;max-width:70ch}
.start-steps li{display:flex;gap:14px;align-items:flex-start}
.start-steps b{flex:none;width:30px;height:30px;border-radius:50%;background:var(--ink);
  color:var(--lime);display:grid;place-items:center;font-size:14px}
.start-steps span{font-size:15.5px;line-height:1.55;padding-top:3px}
.btn-lg{padding:15px 30px;font-size:16px}

.start-rules{padding:34px 0 76px;border-top:1px solid var(--line);margin-top:46px}
.start-rules h3{font-size:16px;margin-bottom:8px}
.start-rules p{font-size:14px;color:var(--muted);line-height:1.6;max-width:66ch}
.start-links{display:flex;gap:18px;margin-top:14px}
.start-links a{font-size:14px;color:var(--ink);text-decoration:underline;text-underline-offset:3px}

@media (max-width:860px){.start-grid{grid-template-columns:1fr}}
.sources-box{border:1px solid var(--line);border-radius:18px;padding:18px 20px;margin-bottom:22px}
.sources-box h2{font-size:18px;margin:0 0 12px}
.sources-box table{width:100%;border-collapse:collapse;font-size:14px}
.sources-box th{text-align:left;font-size:12px;color:var(--muted);font-weight:600;
  padding-bottom:8px;border-bottom:1px solid var(--line)}
.sources-box td{padding:8px 0;border-bottom:1px solid var(--line)}
.sources-box td:not(:first-child),.sources-box th:not(:first-child){text-align:right;width:120px}

.upload.over{border-color:var(--emerald);background:rgba(19,190,124,.06)}
.upload-ways{margin:12px 0 0;font-size:12.5px;color:var(--muted)}

.escrow-note.warn-note{background:linear-gradient(135deg,rgba(255,138,101,.12),transparent 70%);
  border-color:rgba(255,138,101,.35)}
.escrow-note.warn-note svg{stroke:var(--coral)}

.cta-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin:22px 0 14px}

.feed-empty{text-align:center;padding:44px 24px;background:var(--card);
  border:1px dashed var(--line-strong);border-radius:var(--radius)}
.feed-empty p{color:var(--muted);max-width:440px;margin:0 auto 20px;font-size:15.5px}

/* ---------- платное продвижение ---------- */

/* Выделенная карточка. Рамка и тёплая подложка, а не кричащий цвет:
   выделение должно притягивать взгляд, но не обесценивать соседей —
   иначе каталог читается как реклама, и доверие к нему падает. */
.lst-boost{box-shadow:0 0 0 2px var(--lime-deep), var(--shadow);border-radius:var(--radius)}
.lst-boost .lst-img::after{content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(196,245,70,.16),transparent 45%)}
/* Обе плашки живут в левом верхнем углу, поэтому оценку цены сдвигаем
   вниз ровно у продвинутых карточек. Иначе метка накрывает её, и продавец
   платит за то, чтобы спрятать собственное «на 33% ниже рынка». */
.lst-boost .lst-badge{top:46px}
.lst-promo{position:absolute;top:12px;left:12px;z-index:3;display:inline-flex;
  align-items:center;gap:5px;font-size:11.5px;font-weight:700;letter-spacing:.01em;
  background:var(--ink);color:var(--lime);padding:5px 10px;border-radius:999px}
.lst-promo svg{width:12px;height:12px;fill:var(--lime);stroke:none}

.promo-honest{display:flex;gap:12px;align-items:flex-start;margin:26px 0 30px;
  padding:16px 18px;border:1px solid rgba(255,138,101,.35);border-radius:14px;
  background:linear-gradient(135deg,rgba(255,138,101,.1),transparent 70%);
  font-size:14.5px;line-height:1.5;color:var(--muted)}
.promo-honest svg{width:20px;height:20px;flex:none;margin-top:1px;fill:none;
  stroke:var(--coral);stroke-width:1.8;stroke-linecap:round}

.promo-item{display:flex;gap:14px;align-items:center;padding:14px;margin-bottom:30px;
  background:var(--card);border:1px solid var(--line);border-radius:16px}
.promo-thumb{width:64px;height:64px;border-radius:11px;flex:none;overflow:hidden;
  position:relative;display:grid;place-items:center}
.promo-item b{display:block;font-size:15.5px}
.promo-item span{font-size:13.5px;color:var(--muted)}

.promo-block{margin-bottom:36px}
.promo-head{display:flex;gap:15px;align-items:flex-start;margin-bottom:18px}
.promo-ic{width:46px;height:46px;border-radius:13px;flex:none;display:grid;place-items:center}
.promo-ic svg{width:23px;height:23px;fill:none;stroke-width:1.9;stroke-linecap:round;
  stroke-linejoin:round}
.promo-ic-top{background:var(--emerald-soft)}
.promo-ic-top svg{stroke:var(--emerald)}
.promo-ic-highlight{background:rgba(196,245,70,.28)}
.promo-ic-highlight svg{stroke:var(--lime-deep);fill:var(--lime-deep)}
.promo-head h2{font-size:20px;margin-bottom:4px}
.promo-head p{font-size:14.5px;color:var(--muted);max-width:420px}
.promo-live{margin-left:auto;flex:none;font-size:12px;font-weight:600;
  color:var(--emerald);background:var(--emerald-soft);padding:5px 11px;border-radius:999px}

.promo-plans{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.promo-plan{position:relative;text-align:center;padding:22px 14px 18px;
  background:var(--card);border:1px solid var(--line);border-radius:16px;
  transition:transform .22s,box-shadow .22s,border-color .22s}
.promo-plan:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.promo-best{border-color:var(--lime-deep)}
.promo-tag{position:absolute;top:-9px;left:50%;transform:translateX(-50%);
  font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;
  background:var(--lime);color:var(--ink);padding:3px 9px;border-radius:999px;white-space:nowrap}
.promo-days{font-size:13px;color:var(--muted);margin-bottom:6px}
.promo-price{font-family:'Space Grotesk';font-weight:700;font-size:26px;line-height:1}
.promo-price small{font-size:15px;font-weight:600}
.promo-perday{font-size:12px;color:var(--muted);margin:5px 0 14px}

.promo-table{width:100%;border-collapse:collapse;font-size:14px}
.promo-table td{padding:10px 6px;border-bottom:1px solid var(--line)}
.promo-table td:last-child{text-align:right}
.promo-status{font-size:12px;font-weight:600;padding:3px 9px;border-radius:999px}
.promo-active{background:var(--emerald-soft);color:var(--emerald)}
.promo-pending{background:rgba(255,138,101,.16);color:var(--coral)}
.promo-expired,.promo-refunded{background:var(--bg);color:var(--muted)}

.promo-receipt{background:var(--card);border:1px solid var(--line);border-radius:16px;
  padding:6px 20px}
.promo-receipt-row{display:flex;justify-content:space-between;align-items:center;
  padding:15px 0;font-size:15px}
.promo-receipt-row + .promo-receipt-row{border-top:1px solid var(--line)}
.promo-receipt-total b{font-family:'Space Grotesk';font-size:22px}

@media(max-width:620px){
  .promo-plans{grid-template-columns:1fr}
  .promo-head{flex-wrap:wrap}
  .promo-live{margin-left:0}
}
