@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("fonts/manrope-cyrillic.e58febde317b.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("fonts/manrope-latin.938c6e8019b6.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, 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 {
  color-scheme: light;
  --fr-brand: #FFE60F;
  --fr-on-brand: #1F1F1F;
  --fr-text: #1F1F1F;
  --fr-muted: #8A8A8F;
  --fr-muted-on-bg: #8A8A8F;
  --fr-price: #FF4400;
  --fr-bg: #F6F6F6;
  --fr-surface: #FFFFFF;
  --fr-border: #EDEDED;
  --fr-focus: #1F1F1F;
  --fr-radius-card: 16px;
  --fr-radius-pill: 20px;
  --fr-radius-img: 12px;
  --fr-tap: 44px;
  --fr-font: "Manrope", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sidebar-width: 236px;
  --header-h: 84px;
}
*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--fr-bg); color: var(--fr-text); font: 15px/1.6 var(--fr-font); overflow-wrap: anywhere; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
button { color: inherit; }
button:disabled { cursor: wait; opacity: .6; }
:focus-visible { outline: 2px solid var(--fr-focus); outline-offset: 4px; }
img { max-width: 100%; height: auto; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.3; letter-spacing: -.9px; font-weight: 750; margin-bottom: 10px; }
h2 { font-size: 17px; line-height: 1.5; font-weight: 700; }
p { margin-bottom: 12px; }
form { margin: 0; }
svg.svg-icon { flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.muted { color: var(--fr-muted); }
.eyebrow { font-size: 12px; letter-spacing: 2px; font-weight: 800; color: #1F1F1F; margin-bottom: 10px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 12px; background: var(--fr-brand); border-radius: 8px; }
.skip-link:focus { top: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: var(--fr-tap); padding: 11px 18px; border: 1px solid var(--fr-border); border-radius: 9px; background: #F6F6F6; color: var(--fr-text); font-weight: 650; cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s; }
.btn:hover { background: #F6F6F6; border-color: #DCDCE0; }
.btn-primary { background: linear-gradient(125deg, #FFE60F, #FFE60F); border-color: #E6C800; color: var(--fr-on-brand); box-shadow: 0 4px 20px #0000000F; }
.btn-primary:hover { background: #FFE60F; border-color: #E6C800; }
.icon { width: var(--fr-tap); height: var(--fr-tap); padding: 0; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; border: 1px solid transparent; border-radius: 9px; background: transparent; color: var(--fr-muted); }
.icon:hover { color: #1F1F1F; background: #F6F6F6; }
.icon.danger:hover { color: #D92D20; background: #FFECEC; }
.icon[aria-pressed="true"] { color: #1F1F1F; }
.icon[aria-pressed="true"] svg { fill: #FFE60F2E; }
.text-link { color: #1F1F1F; font-weight: 600; }
.text-link:hover { color: #1F1F1F; }
.dot { display: inline-block; width: 6px; height: 6px; background: #34C759; border-radius: 50%; margin-right: 5px; box-shadow: 0 0 8px #0000000F; }
.surface { background: var(--fr-surface); border: 1px solid var(--fr-border); border-radius: var(--fr-radius-card); padding: 24px; }
.nav-caption { margin: 6px 13px 12px; font-size: 13px; font-weight: 700; color: var(--fr-muted); }
.nav-top { display: grid; gap: 6px; }
.nav-top a { display: flex; align-items: center; gap: 12px; min-height: 47px; border-radius: 8px; padding: 10px 13px; color: #333336; font-size: 15px; font-weight: 600; border: 1px solid transparent; }
.nav-top a:hover { background: #F6F6F6; color: #1F1F1F; }
.nav-top a[aria-current="page"] { background: linear-gradient(90deg, #FFE60F3A, #FFE60F14); border-color: #E6C800; color: #1F1F1F; box-shadow: inset 3px 0 #E6C800; }
.sidebar-note { background: linear-gradient(145deg, #F6F6F6, #FFFFFF); border: 1px solid #E6C800; border-radius: 12px; padding: 17px; font-size: 13px; }
.small-radar { display: block; color: #1F1F1F; margin-bottom: 8px; }
.sidebar-note strong { font-size: 14px; }
.sidebar-note p { color: #6B6B70; margin: 7px 0 10px; line-height: 1.7; }
.sidebar-note a { color: #1F1F1F; font-weight: 650; }
.avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #1F1F1F; background: #FFF7B0; font-weight: 700; }
.account strong { display: block; font-size: 14px; max-width: 94px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.account small { color: #6B6B70; font-size: 12px; }
.account form { margin-left: auto; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.page-head .muted { font-size: 14px; margin: 0; max-width: 640px; }
.page-head > .btn { flex-shrink: 0; font-size: 14px; }
.count-pill { font-size: 14px; vertical-align: middle; display: inline-flex; color: #1F1F1F; background: #F6F6F6; border: 1px solid #E6C800; padding: 3px 9px; border-radius: 7px; letter-spacing: 0; margin-left: 6px; }
.banners:empty { display: none; }
.banners > p, .request-error, .detail-warning { display: flex; align-items: center; gap: 10px; background: #F6F6F6; border: 1px solid #E6C800; color: #1F1F1F; padding: 11px 16px; border-radius: 9px; font-size: 14px; margin: 0 0 22px; }
.banners > p a { color: #1F1F1F; margin-left: auto; white-space: nowrap; }
.banners svg { color: #1F1F1F; }
.request-error, .detail-warning { background: #F6F6F6; border-color: #F5D9A8; color: #8A4B00; }
.request-error { position: sticky; top: 10px; z-index: 30; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 28px; }
.stat { display: flex; align-items: center; gap: 14px; padding: 20px; background: linear-gradient(110deg, #FFFFFF, #FFFFFF); border: 1px solid #EDEDED; border-radius: 12px; }
.stat > div > span { display: block; font-size: 12px; color: #6B6B70; }
.stat strong { font-size: 25px; line-height: 1.4; font-weight: 750; }
.stat-icon { width: 42px; height: 42px; flex-shrink: 0; border-radius: 11px; display: inline-grid; place-items: center; }
.purple { color: #1F1F1F; background: #FFE60F2B; }
.green { color: #137A3A; background: #E9F8EE; }
.blue { color: #1F6FEB; background: #E8F1FF; }
.pink { color: #D92D20; background: #FFECEC; }
.monitor-panel { border: 1px solid #EDEDED; border-radius: 13px; background: #FFFFFF; overflow: hidden; }
.panel-head { display: flex; align-items: center; justify-content: space-between; padding: 21px 24px; }
.panel-head h2 { font-size: 15px; margin: 0; }
.panel-head > span { font-size: 13px; }
.radar-table-head, .radar { display: grid; grid-template-columns: minmax(230px, 1fr) 130px minmax(155px, .6fr) 100px; gap: 15px; align-items: center; padding: 16px 24px; }
.radar-table-head { background: #FFFFFF; border-block: 1px solid #EDEDED; font-size: 12px; color: #6B6B70; }
.radar-list { list-style: none; padding: 0; margin: 0; }
.radar { border-bottom: 1px solid #EDEDED; min-height: 108px; }
.radar:last-child { border-bottom: 0; }
.radar:hover { background: #FFFFFF; }
.radar-description { display: flex; align-items: center; gap: 14px; }
.radar-cover { flex-shrink: 0; display: grid; place-items: center; width: 58px; height: 65px; color: #1F1F1F; border: 1px solid #E6C800; border-radius: 9px; overflow: hidden; background: linear-gradient(145deg, #F6F6F6, #FFFFFF); }
.radar-cover img { width: 100%; height: 100%; object-fit: cover; }
.radar-cover svg { width: 27px; height: 27px; }
.radar h2 { font-size: 15px; margin: 0 0 5px; }
.radar p { margin: 2px 0; font-size: 12px; }
.stop-list { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.radar-found strong { display: block; font-size: 17px; color: #1F1F1F; font-weight: 650; }
.radar-found small, .radar-status { display: block; font-size: 12px; color: #6B6B70; }
.switch-control { display: inline-flex; align-items: center; gap: 9px; background: none; border: 0; padding: 5px 0; min-height: 44px; font-size: 13px; color: #333336; }
.switch { width: 33px; height: 19px; border-radius: 20px; background: #EDEDED; padding: 3px; display: inline-block; flex-shrink: 0; }
.switch::after { content: ""; display: block; width: 13px; height: 13px; background: #E8F1FF; border-radius: 50%; transition: transform .15s; }
.switch.on { background: #34C759; }
.switch.on::after { transform: translateX(14px); }
.switch.on + span { color: #137A3A; }
.radar-actions { display: flex; gap: 3px; }
.radar-actions .icon { background: #F6F6F6; border: 1px solid #EDEDED; }
.panel-foot { display: flex; align-items: center; gap: 8px; padding: 15px 24px; border-top: 1px solid #EDEDED; color: #6B6B70; font-size: 12px; }
.panel-foot svg { width: 15px; height: 15px; }
.mobile-label { display: none; }
.hint-line { display: flex; gap: 10px; color: #6B6B70; font-size: 13px; margin-top: 20px; align-items: flex-start; }
.hint-line svg { margin-top: 3px; width: 16px; height: 16px; }
.empty-state { display: flex; align-items: center; flex-direction: column; justify-content: center; padding: 50px 20px; text-align: center; }
.empty-state h2 { font-size: 19px; margin: 17px 0 9px; }
.empty-state p { color: #6B6B70; max-width: 460px; font-size: 14px; }
.empty-state .text-link { margin-top: 16px; font-size: 14px; }
.empty-icon { width: 65px; height: 65px; border: 1px solid #E6C800; color: #1F1F1F; background: #FFF7B0; border-radius: 18px; display: grid; place-items: center; }
.empty-icon svg { width: 30px; height: 30px; }
.empty { grid-column: 1 / -1; }
.card ~ .empty { display: none; }
.chips { display: flex; gap: 24px; overflow-x: auto; border-bottom: 1px solid #EDEDED; scrollbar-width: thin; }
.chip { display: inline-flex; align-items: center; min-height: 44px; flex-shrink: 0; padding: 9px 2px; white-space: nowrap; color: #6B6B70; font-size: 14px; border-bottom: 2px solid transparent; }
.chip[aria-current="true"], .chip.active { color: #1F1F1F; border-bottom-color: #E6C800; }
.feed-filters { margin-bottom: 17px; }
.feed-caption { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; color: #6B6B70; margin: 22px 0 16px; }
.feed-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (min-width: 1700px) { .feed-grid { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 1199px) and (min-width: 801px) { .feed-grid { grid-template-columns: repeat(3, 1fr); } }
#feed-poll { display: none; }
.card { display: flex; flex-direction: column; background: #FFFFFF; border: 1px solid #EDEDED; border-radius: 12px; overflow: hidden; transition: border-color .2s, transform .2s; }
.card:hover { border-color: #E6C800; transform: translateY(-2px); }
.cover { position: relative; display: block; aspect-ratio: 1; background: #F6F6F6; overflow: hidden; }
.cover img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card:hover .cover img { transform: scale(1.035); }
.cover:focus-visible { outline-offset: -4px; }
.ph { display: flex; flex-direction: column; gap: 13px; align-items: center; justify-content: center; height: 100%; padding: 12px; text-align: center; font-size: 13px; color: #6B6B70; }
.ph svg { width: 30px; height: 30px; opacity: .5; }
.badge { position: absolute; top: 9px; left: 9px; padding: 3px 8px; border-radius: 6px; background: #FFE60F; color: #1F1F1F; font-size: 11px; font-weight: 750; box-shadow: 0 2px 9px #0000000F; }
.badge.subtle { background: #FFFFFFD9; color: #1F1F1F; font-weight: 500; }
.badge.sold { background: #EDEDED; }
.card-body { flex: 1; display: flex; flex-direction: column; padding: 12px 13px 7px; font-size: 13px; }
.card-body p { margin: 0 0 5px; }
.card .title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; font-size: 14px; line-height: 1.6; font-weight: 600; min-height: 38px; }
.card-title-link:hover { color: #1F1F1F; }
.card-price-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 8px; margin-top: 5px; }
.price { color: var(--fr-price); font-weight: 750; font-size: 19px; letter-spacing: -.4px; }
.rub { font-size: 12px; }
.old-price { color: var(--fr-muted); font-size: 14px; font-weight: 500; }
.product-price .old-price { font-size: 18px; letter-spacing: 0; }
.translated-note { margin: 18px 0 0; padding: 10px 14px; border-radius: 10px; background: #FFF7B0; font-size: 15px; }
.original { margin-top: 12px; color: var(--fr-muted); }
.original summary { min-height: 44px; display: flex; align-items: center; font-size: 14px; }
.card-meta, .card-labels { font-size: 11px; }
.card-labels { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.card-actions { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
.card .open { font-size: 12px; color: #6B6B70; display: flex; align-items: center; min-height: 44px; }
.card .open:hover { color: #1F1F1F; }
.card-secondary-actions { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #EDEDED; }
.text-button { min-height: 44px; min-width: 44px; border: 0; padding: 4px 0; color: #6B6B70; background: none; font-size: 11px; }
.text-button:hover { color: #1F1F1F; }
.text-button svg { width: 14px; height: 14px; }
.card summary { min-height: 44px; display: flex; align-items: center; color: #6B6B70; font-size: 12px; }
.more, .pagination { display: flex; width: max-content; max-width: 100%; margin: 26px auto 0; gap: 12px; }
.filter-panel { border: 1px solid #EDEDED; background: #FFFFFF; border-radius: 9px; }
.filter-panel > summary { display: flex; align-items: center; gap: 10px; padding: 9px 15px; min-height: 44px; font-size: 14px; }
.filter-panel > summary > span { margin-left: auto; font-size: 12px; }
.filter-form { display: grid; grid-template-columns: 1.5fr 1fr 1fr auto auto auto; gap: 13px; align-items: end; padding: 8px 15px 18px; }
input:not([type="checkbox"]):not([type="hidden"]), select, textarea { min-height: 44px; width: 100%; border: 1px solid #EDEDED; border-radius: 8px; padding: 10px 12px; color: var(--fr-text); background: #F6F6F6; }
input::placeholder, textarea::placeholder { color: #8A8A8F; }
input:disabled, select:disabled { opacity: .7; }
input[type="checkbox"] { accent-color: var(--fr-brand); width: 20px; height: 20px; }
textarea { resize: vertical; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .auth-form > label { font-size: 14px; font-weight: 650; color: #333336; }
.field-hint { font-size: 13px; line-height: 1.8; }
.check-field { min-height: 44px; flex-direction: row-reverse; align-items: center; justify-content: flex-end; padding-bottom: 3px; }
.form-error, .warn { color: #D92D20; font-size: 13px; }
.form-error ul { margin: 0; padding: 0; list-style: none; }
.form-error { background: #FFECEC; padding: 7px 10px; border-radius: 5px; }
.auth-form { display: flex; flex-direction: column; gap: 18px; }
.auth-form > .muted { font-size: 14px; }
.auth-form .errorlist { margin: 0; padding-left: 16px; color: #D92D20; }
.auth-card { max-width: 420px; margin: 35px auto; padding: 30px; }
.auth-card h1 { font-size: 24px; margin-bottom: 23px; }
.auth-card > p { color: #6B6B70; font-size: 14px; margin-top: 20px; }
.auth-card > p a { color: #1F1F1F; }
.auth-shell { background: radial-gradient(ellipse at 50% 30%, #FFF7B0, transparent 55%), #F6F6F6; }
.back-link { display: inline-flex; min-height: 44px; gap: 9px; align-items: center; color: #6B6B70; font-size: 14px; margin-bottom: 18px; }
.editor-layout { display: grid; grid-template-columns: minmax(0, 570px) minmax(220px, 1fr); gap: 60px; max-width: 1100px; }
.editor-card { padding: 30px; }
.form-heading { display: flex; gap: 15px; align-items: center; padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid #EDEDED; }
.form-heading h1 { font-size: 23px; margin: 0; }
.form-heading .eyebrow { font-size: 11px; margin-bottom: 6px; }
.form-actions { display: flex; justify-content: flex-end; gap: 12px; padding-top: 12px; }
.editor-help { padding-top: 35px; }
.editor-help h2 { font-size: 30px; line-height: 1.4; letter-spacing: -1px; margin: 15px 0 30px; }
.editor-help ol { padding-left: 25px; color: #1F1F1F; }
.editor-help li { padding-left: 10px; margin: 25px 0; }
.editor-help li strong { color: #333336; font-size: 15px; }
.editor-help p { color: #6B6B70; font-size: 14px; margin-top: 6px; }
.search-panel { padding: 24px; }
.search-form { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; grid-template-areas: "kw kw min max go" "sort region days new new"; gap: 14px; align-items: end; }
.sf-keyword { grid-area: kw; } .sf-price_min { grid-area: min; } .sf-price_max { grid-area: max; } .sf-sort { grid-area: sort; } .sf-region { grid-area: region; } .sf-days { grid-area: days; } .sf-new_only { grid-area: new; } .search-form .sf-go { grid-area: go; }
.check-field { display: flex; align-items: center; gap: 8px; min-height: 46px; font-size: 15px; white-space: nowrap; cursor: pointer; }
.check-field input { width: 18px; height: 18px; accent-color: #1F1F1F; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; font-size: 14px; color: #6B6B70; }
.cond-tag { padding: 1px 7px; border-radius: 5px; background: #FFF6B8; color: #1F1F1F; }
.search-form .btn { font-size: 14px; }
.suggestions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 20px; font-size: 12px; }
.suggestions > span { color: #6B6B70; margin-right: 8px; }
.suggestions a { padding: 5px 10px; border: 1px solid #EDEDED; background: #F6F6F6; color: #1F1F1F; border-radius: 5px; min-height: 36px; display: flex; align-items: center; gap: 8px; }
.suggestions a:hover { border-color: #E6C800; }
.search-intro { text-align: center; padding: 65px 20px 35px; }
.search-intro h2 { font-size: 24px; margin: 22px 0 9px; }
.search-intro > p { color: #6B6B70; font-size: 14px; line-height: 1.9; }
.radar-illustration { height: 124px; width: 124px; margin: auto; display: grid; place-items: center; border: 1px solid #E6C800; border-radius: 50%; position: relative; background: radial-gradient(circle, #FFF7B0, transparent 70%); }
.radar-illustration span { position: absolute; width: 85px; height: 85px; border: 1px dashed #E6C800; border-radius: 50%; }
.radar-illustration span:nth-child(2) { width: 180px; height: 180px; border: 1px solid #EDEDED; }
.radar-illustration svg { width: 35px; height: 35px; color: #1F1F1F; }
.search-benefits { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; margin-top: 38px; color: #6B6B70; font-size: 13px; }
.search-benefits span { display: flex; align-items: center; gap: 8px; }
.error-state { display: flex; align-items: flex-start; gap: 18px; margin-top: 25px; color: #8A4B00; }
.error-state h2 { margin-bottom: 8px; }
.error-state > svg { margin-top: 4px; }
.detail-breadcrumb { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 20px; font-size: 12px; }
.detail-breadcrumb .back-link { margin: 0; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 38px; align-items: start; }
.gallery-main { aspect-ratio: 1; position: relative; overflow: hidden; background: #FFFFFF; border: 1px solid #EDEDED; border-radius: 13px; }
.gallery-main > img { width: 100%; height: 100%; object-fit: contain; display: block; }
.gallery-count { position: absolute; bottom: 15px; right: 15px; background: #FFFFFFD9; padding: 4px 11px; border-radius: 6px; color: #333336; font-size: 13px; }
.gallery-thumbs { display: flex; gap: 10px; overflow-x: auto; margin: 13px 0; padding: 2px; }
.gallery-thumb { width: 72px; height: 72px; flex-shrink: 0; padding: 3px; border: 1px solid #EDEDED; background: #FFFFFF; border-radius: 8px; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 5px; }
.gallery-thumb[aria-pressed="true"] { border-color: #E6C800; box-shadow: 0 0 0 1px #0000000F; }
.product-info { padding-top: 4px; }
.product-info h1 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; font-size: 20px; line-height: 1.45; font-weight: 700; margin: 14px 0; overflow-wrap: anywhere; }
.product-status { display: flex; align-items: center; gap: 9px; }
.status-tag { font-size: 12px; color: #137A3A; padding: 4px 10px; background: #F6F6F6; border: 1px solid #BFE8CC; border-radius: 6px; }
.status-tag.muted { background: #F6F6F6; border-color: #EDEDED; color: #333336; }
.new-tag { font-size: 12px; padding: 4px 10px; color: #1F1F1F; border-radius: 5px; background: #FFF7B0; }
.product-price { font-size: 38px; letter-spacing: -1.5px; line-height: 1.2; font-weight: 800; color: var(--fr-price); margin: 22px 0 5px; }
.product-price span { font-size: 27px; }
.product-rub { font-size: 16px; }
.product-rub small { font-size: 12px; margin-left: 5px; color: #8A8A8F; }
.product-actions { display: flex; flex-direction: column; gap: 10px; margin: 25px 0; }
.product-actions form .btn { width: 100%; }
.saved { color: #1F1F1F; border-color: #E6C800; background: #FFF7B0; }
.seller-card { padding: 20px; }
.seller-heading { display: flex; align-items: center; gap: 12px; padding-bottom: 17px; border-bottom: 1px solid #EDEDED; }
.seller-heading h2 { margin: 0; font-size: 15px; }
.seller-heading .muted { font-size: 12px; }
.seller-avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; color: #1F1F1F; background: #F6F6F6; }
.seller-card dl { margin: 16px 0 0; font-size: 13px; }
.seller-card dl > div { display: flex; gap: 12px; justify-content: space-between; margin: 15px 0 0; }
.seller-card dt { display: flex; align-items: center; gap: 8px; color: #6B6B70; flex-shrink: 0; }
.seller-card dt svg { width: 14px; height: 14px; }
.seller-card dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.seller-all { width: 100%; margin-top: 18px; }
img.seller-avatar { object-fit: cover; }
.seller-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 3px; }
.credit-icon { height: 16px; width: auto; }
.verified { display: inline-flex; align-items: center; gap: 4px; color: #137A3A; }
.about-card { margin-bottom: 16px; }
.about-card h2 { margin: 0; font-size: 15px; }
.seller-tabs { display: flex; gap: 22px; align-items: center; margin: 22px 0 18px; border-bottom: 1px solid #EDEDED; overflow-x: auto; }
.seller-goofish { margin-left: auto; gap: 6px; }
.seller-goofish svg { width: 12px; height: 12px; }
.description { margin-top: 23px; padding: 23px; }
.description h2 { font-size: 17px; }
.full-description { font-size: 15px; line-height: 1.9; white-space: pre-wrap; overflow-wrap: anywhere; color: #333336; }
.product-matches { margin-top: 20px; }
.product-matches p { font-size: 13px; margin-bottom: 8px; }
.product-matches .chip { padding: 5px 10px; min-height: 30px; margin: 0 5px 5px 0; background: #F6F6F6; border: 1px solid #E6C800; border-radius: 6px; font-size: 12px; color: #1F1F1F; }
.settings-block { margin-top: 20px; max-width: 850px; }
.settings-block h2 { margin-top: 0; }
.settings-block p { color: #6B6B70; }
.inline-form { display: inline-block; margin: 0 8px 8px 0; }
.blocked-list { list-style: none; margin: 0; padding: 0; }
.blocked-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0; border-top: 1px solid var(--fr-border); }
.htmx-request { opacity: .65; }
.htmx-request button { pointer-events: none; }
@media (max-width: 1250px) {
  .stat { padding: 16px 13px; gap: 10px; }
  .stat-icon { width: 34px; height: 34px; }
  .radar-table-head, .radar { grid-template-columns: minmax(175px, 1fr) 85px minmax(140px, .7fr) 92px; padding: 15px; gap: 10px; }
  .radar-description { gap: 10px; }
  .radar-cover { width: 45px; height: 53px; }
  .search-form { grid-template-columns: 1fr 1fr 1fr; grid-template-areas: "kw kw kw" "min max sort" "region days new" "go go go"; }
  .filter-form { grid-template-columns: 1.5fr 1fr 1fr; }
  .editor-layout { gap: 30px; }
}
@media (max-width: 1000px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .radar-table-head { display: none; }
  .radar { grid-template-columns: minmax(170px, 1fr) 120px 90px; }
  .radar-found { display: none; }
  .product-layout { gap: 24px; }
  .editor-layout { grid-template-columns: 1fr; max-width: 650px; }
  .editor-help { padding: 0; }
  .editor-help h2 br { display: none; }
  .editor-help ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
@media (max-width: 800px) {
  .page-head { margin-bottom: 22px; align-items: flex-start; flex-wrap: wrap; gap: 16px; }
  .page-head .muted { font-size: 13px; }
  .page-head h1 { font-size: 27px; }
  .stats-grid { gap: 12px; margin-bottom: 22px; }
  .stat { padding: 16px; }
  .stat strong { font-size: 23px; }
  .feed-grid { grid-template-columns: repeat(2, 1fr); gap: 13px; }
  .product-layout { grid-template-columns: 1fr 1fr; gap: 20px; }
  .product-info h1 { font-size: 19px; }
  .product-price { font-size: 30px; }
  .seller-card { padding: 15px; }
  .search-intro { padding-top: 60px; }
  .banners > p { flex-wrap: wrap; gap: 7px; font-size: 12px; padding: 10px 12px; margin-bottom: 20px; }
  .banners > p > span { flex: 1; }
  .banners > p > a { margin-left: 27px; }
}
@media (max-width: 540px) {
  .page-head > .btn { width: 100%; min-height: 46px; }
  .page-head h1 { font-size: 25px; }
  .eyebrow { font-size: 11px; letter-spacing: 1.5px; }
  .count-pill { font-size: 12px; }
  .stats-grid { gap: 9px; }
  .stat { gap: 11px; padding: 13px 11px; }
  .stat > div > span { font-size: 11px; }
  .stat-icon { width: 31px; height: 31px; border-radius: 8px; }
  .stat-icon svg { width: 17px; height: 17px; }
  .stat strong { font-size: 22px; }
  .radar { grid-template-columns: 1fr auto; padding: 16px; gap: 10px; }
  .radar-description { grid-column: 1 / -1; gap: 12px; }
  .radar-cover { width: 50px; height: 58px; }
  .radar h2 { font-size: 15px; }
  .radar-state { padding-left: 0; }
  .radar-status { max-width: 180px; }
  .radar-actions { align-self: end; }
  .panel-head { padding: 17px; }
  .panel-foot { font-size: 11px; padding: 14px; }
  .chips { gap: 20px; }
  .chip { font-size: 13px; }
  .feed-grid { gap: 10px; }
  .card-body { padding: 10px 9px 4px; }
  .card .title { font-size: 13px; min-height: 35px; }
  .price { font-size: 17px; }
  .card .open { font-size: 11px; }
  .card-meta, .card-labels { font-size: 11px; }
  .feed-caption { font-size: 11px; align-items: flex-start; }
  .feed-caption > span { max-width: 60%; }
  .feed-caption > span + span { text-align: right; max-width: 40%; }
  .filter-form { grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px; }
  .filter-form > .field:first-child { grid-column: 1 / -1; }
  .filter-form > .btn { grid-column: 1 / -1; }
  .filter-panel summary > .muted { font-size: 11px; }
  .search-panel { padding: 16px; }
  .search-form { grid-template-columns: 1fr 1fr; grid-template-areas: "kw kw" "min max" "sort region" "days new" "go go"; gap: 15px 10px; }
  .suggestions { gap: 7px; }
  .suggestions > span { width: 100%; }
  .search-benefits { gap: 15px; font-size: 11px; }
  .search-benefits svg { width: 16px; }
  .search-intro h2 { font-size: 22px; }
  .search-intro p { font-size: 13px; }
  .editor-card { padding: 20px; }
  .form-heading { gap: 12px; }
  .form-heading h1 { font-size: 20px; }
  .form-actions { flex-direction: column-reverse; }
  .editor-help ol { display: block; }
  .editor-help h2 { font-size: 26px; }
  .product-layout { display: flex; flex-direction: column; gap: 26px; }
  .product-gallery, .product-info { width: 100%; }
  .product-gallery { display: contents; }
  .gallery-main { width: 100%; order: 0; }
  .gallery-thumbs { order: 1; width: 100%; margin: -13px 0 0; }
  .product-info { order: 2; }
  .description { order: 3; width: 100%; margin: 0; padding: 20px; }
  .product-info h1 { font-size: 22px; }
  .product-price { font-size: 35px; }
  .detail-breadcrumb > span { display: none; }
  .detail-warning { font-size: 13px; flex-wrap: wrap; }
  .auth-card { padding: 25px; margin: 15px auto; }
  .empty-state h2 { font-size: 17px; }
  .empty-state { padding: 35px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* shell (ADR-013): yellow Goofish header on top, «Ваше пространство» sidebar left, content right */
.gf-header { position: sticky; top: 0; z-index: 40; background: var(--fr-brand); }
.gf-header-in { display: grid; grid-template-columns: calc(var(--sidebar-width) - 24px) minmax(0, 1fr) auto; align-items: center; gap: 24px; min-height: var(--header-h); padding: 10px 24px 8px; }
.gf-logo { display: inline-flex; align-items: center; gap: 9px; font-size: 24px; font-weight: 800; letter-spacing: -1px; white-space: nowrap; }
.gf-logo b { font-weight: 800; color: #4B3B00; }
.gf-logo small { align-self: flex-start; margin-top: 4px; padding: 1px 5px; border-radius: 4px; background: var(--fr-text); color: var(--fr-brand); font-size: 11px; font-weight: 800; letter-spacing: .6px; }
.gf-logo-mark { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--fr-text); color: var(--fr-brand); }
.gf-logo-mark svg { width: 24px; height: 24px; }
.gf-search-box { width: min(640px, 100%); justify-self: center; }
.gf-search { display: flex; align-items: center; height: 44px; padding: 4px; border: 2px solid var(--fr-text); border-radius: 22px; background: #FFFFFF; }
.gf-search input.gf-q { flex: 1; min-height: 0; height: 100%; padding: 0 14px; border: 0; outline: 0; background: transparent; font-size: 15px; }
.gf-search button { height: 100%; padding: 0 22px; border: 0; border-radius: 18px; background: var(--fr-text); color: var(--fr-brand); font-weight: 750; cursor: pointer; }
.gf-search button:hover { background: #000000; }
.gf-hot { display: flex; gap: 16px; padding: 6px 14px 0; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.gf-hot a { flex-shrink: 0; font-size: 14px; color: #5A4E00; }
.gf-hot a:hover { color: var(--fr-text); text-decoration: underline; }
.gf-user { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 650; }
.gf-user > a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding-right: 6px; }
.gf-user > a:hover span:last-child { text-decoration: underline; }
.gf-user .avatar { background: var(--fr-text); color: var(--fr-brand); }
.gf-user .icon { color: var(--fr-text); }
.gf-user .icon:hover { background: #00000014; color: var(--fr-text); }
.shell { display: grid; grid-template-columns: var(--sidebar-width) minmax(0, 1fr); align-items: start; }
.auth-shell .shell { display: block; }
.sidebar { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); overflow-y: auto; display: flex; flex-direction: column; padding: 18px 14px; background: var(--fr-surface); border-right: 1px solid var(--fr-border); }
.sidebar .sidebar-bottom { margin-top: auto; padding-top: 24px; }
.page { min-width: 0; max-width: 1600px; padding: 24px 32px 50px; }
.auth-shell .page { margin: 0 auto; padding: 20px; max-width: 800px; }
.site-footer { padding: 18px 32px 30px; color: var(--fr-muted); font-size: 13px; }
.auth-shell .site-footer { text-align: center; }
.tabbar { display: none; }

/* home = Goofish start page: categories | banner | profile, then «Для вас» feed */
.gf-top { display: grid; grid-template-columns: 312px 238px minmax(0, 1fr); gap: 16px; padding: 16px; border-radius: var(--fr-radius-card); background: var(--fr-surface); }
.gf-cats { display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 6px; border-radius: 14px; background: var(--fr-bg); border: 1px solid var(--fr-border); }
.gf-cat { display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 0 8px; border-radius: 10px; border: 1px solid var(--fr-border); background: var(--fr-surface); }
.gf-cat:hover { border-color: var(--fr-brand); box-shadow: 0 0 0 1px var(--fr-brand); }
.gf-cat-links > * { flex-shrink: 0; }
.gf-cat-ic { display: inline-grid; place-items: center; flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; background: #FFF7B0; font-size: 16px; line-height: 1; }
.gf-cat-links { display: flex; align-items: center; gap: 4px; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13px; }
.gf-cat-links a:hover { font-weight: 750; }
.gf-cat-links i { font-style: normal; color: #C9C9CE; }
.gf-banner { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; min-height: 336px; padding: 26px 24px; border-radius: 12px; background: linear-gradient(135deg, #FFF3A3 0%, var(--fr-brand) 55%, #FFD400 100%); }
.gf-banner h1 { position: relative; z-index: 1; max-width: 420px; margin: 0 0 10px; font-size: 26px; line-height: 1.12; letter-spacing: -1px; }
.gf-banner p { position: relative; z-index: 1; max-width: 400px; margin: 0 0 22px; color: #4A4300; }
.gf-banner-actions { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.gf-banner-art { position: absolute; right: -40px; bottom: -50px; color: #00000014; }
.gf-banner-art svg { width: 260px; height: 260px; stroke-width: 1; }
.gf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 22px; font-weight: 750; white-space: nowrap; }
.gf-btn-dark { background: var(--fr-text); color: var(--fr-brand); }
.gf-btn-dark:hover { background: #000000; }
.gf-btn-light { background: #FFFFFFB3; }
.gf-btn-light:hover { background: #FFFFFF; }
.gf-feed { margin-top: 16px; padding: 16px; border-radius: var(--fr-radius-card); background: var(--fr-surface); }
.gf-tabs { display: flex; gap: 10px; margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; }
.gf-tabs a { display: inline-flex; align-items: center; flex-shrink: 0; min-height: 40px; padding: 0 18px; border-radius: 20px; background: var(--fr-bg); font-size: 15px; font-weight: 600; white-space: nowrap; }
.gf-tabs a:hover { background: var(--fr-border); }
.gf-tabs a[aria-current="true"] { background: var(--fr-brand); font-weight: 800; }
.gf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (min-width: 1700px) { .gf-grid { grid-template-columns: repeat(5, 1fr); } }
.gf-card { display: flex; flex-direction: column; gap: 6px; padding-bottom: 12px; border-radius: 12px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.gf-card:hover { box-shadow: 0 6px 20px #0000001A; transform: translateY(-2px); }
.gf-card-img { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: 12px; background: var(--fr-bg); color: #C4C4C8; }
.gf-card-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gf-card-img svg { width: 32px; height: 32px; }
.gf-sold { position: absolute; top: 8px; left: 8px; padding: 2px 8px; border-radius: 6px; background: #00000099; color: #FFFFFF; font-size: 13px; font-weight: 700; }
.gf-card-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; min-height: 42px; padding: 0 8px; font-size: 15px; line-height: 1.5; }
.gf-card-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 6px; padding: 0 8px; color: var(--fr-price); font-size: 22px; font-weight: 800; letter-spacing: -.5px; }
.gf-card-price small { font-size: 15px; font-weight: 800; margin: 0 2px; }
.gf-card-price em, .gf-card-price s { font-style: normal; text-decoration-thickness: 1px; font-size: 14px; font-weight: 600; color: var(--fr-muted); letter-spacing: 0; }
.gf-card-meta { display: flex; gap: 8px; padding: 0 8px; color: var(--fr-muted); font-size: 14px; }
.gf-more { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 24px; background: var(--fr-bg); font-weight: 700; }
.gf-more:hover { background: var(--fr-border); }
.gf-empty { grid-column: 1 / -1; margin: 0; padding: 48px 16px; text-align: center; color: var(--fr-muted); }
.gf-blocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gf-block { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 12px; border: 2px solid var(--blk); background: linear-gradient(135deg, var(--blk-soft) 0%, #FFFFFF 70%); }
.gf-block:hover { box-shadow: 0 6px 18px #0000001A; }
.gf-block-yellow { --blk: #FFE60F; --blk-soft: #FFF7B0; }
.gf-block-cyan { --blk: #7FDBEA; --blk-soft: #DDF6FA; }
.gf-block-green { --blk: #8FE39B; --blk-soft: #E2F8E5; }
.gf-block-pink { --blk: #F7A8C8; --blk-soft: #FDE6EF; }
.gf-block-head b { display: inline-flex; align-items: center; gap: 4px; font-size: 16px; font-weight: 800; }
.gf-block-head b svg { width: 16px; height: 16px; }
.gf-block-head small { display: block; color: var(--fr-muted); font-size: 14px; }
.gf-block-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gf-mini { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.gf-mini-img { display: block; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: #FFFFFFB3; }
.gf-mini-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gf-mini b { color: var(--fr-price); font-size: 15px; font-weight: 800; }
.gf-block-empty { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 110px; padding: 16px; border-radius: 10px; background: #FFFFFFB3; color: #686868; font-size: 14px; line-height: 1.6; }
.gf-block-empty svg { flex-shrink: 0; width: 26px; height: 26px; color: #8C8C8C; }
.gf-collection-head { margin: -16px -16px 16px; padding: 22px 20px; border-radius: var(--fr-radius-card) var(--fr-radius-card) 0 0; background: linear-gradient(135deg, var(--blk-soft) 0%, #FFFFFF 80%); border-bottom: 2px solid var(--blk); }
.gf-collection-head h1 { margin: 0 0 4px; font-size: 26px; }
.gf-collection-head p { margin: 0; color: var(--fr-muted); }
.similar h2 { margin: 0 0 14px; }
@media (max-width: 1250px) {
  :root { --sidebar-width: 212px; }
  .page { padding: 22px 22px 40px; }
  .gf-top { grid-template-columns: 230px minmax(0, 1fr); }
  .gf-banner { display: none; }
  .gf-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 800px) {
  .gf-header { position: static; }
  .gf-header-in { grid-template-columns: 1fr auto; gap: 10px; padding: 10px 14px 8px; }
  .gf-logo { font-size: 21px; }
  .gf-logo-mark { width: 30px; height: 30px; border-radius: 9px; }
  .gf-search-box { grid-column: 1 / -1; grid-row: 2; width: 100%; }
  .gf-user > a span:last-child { display: none; }
  .shell { display: block; }
  .sidebar { display: none; }
  .tabbar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 50; background: #FFFFFFF5; backdrop-filter: blur(15px); border-top: 1px solid var(--fr-border); padding: 5px 5px calc(5px + env(safe-area-inset-bottom)); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; flex: 1; min-height: 53px; color: var(--fr-muted); font-size: 11px; white-space: nowrap; letter-spacing: -.2px; }
  .tabbar a[aria-current="page"] { color: var(--fr-text); background: var(--fr-brand); border-radius: 9px; font-weight: 700; }
  .page { padding: 16px 14px 30px; }
  .site-footer { padding: 18px 14px 100px; }
  .gf-top { grid-template-columns: 1fr; padding: 12px; gap: 12px; }
  .gf-banner { display: flex; min-height: 0; }
  .gf-blocks { grid-template-columns: 1fr; }
  .gf-cat-links a:not(:first-child), .gf-cat-links i { display: none; }
  .gf-feed { padding: 12px; }
  .gf-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gf-card-title { font-size: 15px; }
  .gf-card-price { font-size: 19px; }
}
.gf-tabs, .gf-hot, .chips { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); padding-right: 40px; }
@media (max-width: 800px) {
  .gf-cats { display: flex; flex-direction: row; justify-content: flex-start; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 8px; }
  .gf-cat { flex: 0 0 72px; flex-direction: column; gap: 6px; min-height: 0; padding: 6px 0; justify-content: flex-start; }
  .gf-cat-ic { width: 44px; height: 44px; border-radius: 14px; font-size: 22px; }
  .gf-cat-links { font-size: 13px; justify-content: center; overflow: visible; }
  .gf-banner { padding: 18px 18px; }
  .gf-banner h1 { font-size: 20px; margin-bottom: 6px; }
  .gf-banner p { display: none; }
  .gf-banner-actions { flex-direction: row; }
  .gf-banner-actions .gf-btn { flex: 1; padding: 0 10px; font-size: 14px; }
  .gf-banner-art svg { width: 160px; height: 160px; }
}
/* buyout orders (ADR-018) */
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 16px; align-items: start; max-width: 1100px; }
.checkout-item { display: flex; gap: 16px; align-items: flex-start; }
.checkout-item img { width: 120px; height: 120px; flex-shrink: 0; object-fit: cover; border-radius: 12px; }
.checkout-title { font-weight: 700; line-height: 1.5; margin-bottom: 8px; }
.checkout-form { display: flex; flex-direction: column; gap: 12px; }
.checkout-form label { font-weight: 700; }
.checkout-sum { margin: 4px 0 0; }
.checkout-sum > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--fr-border); }
.checkout-sum dt { color: var(--fr-muted); }
.checkout-sum dd { margin: 0; font-weight: 650; }
.checkout-total dd { color: var(--fr-price); font-size: 22px; font-weight: 800; }
.checkout-rate { margin: 0; font-size: 14px; }
.checkout-pay { width: 100%; min-height: 50px; font-size: 16px; }
.order-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 1100px; }
.order-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 12px 16px; }
.order-row:hover { border-color: var(--fr-brand); }
.order-thumb { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--fr-bg); }
.order-thumb img { width: 100%; height: 100%; object-fit: cover; }
.order-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.order-main b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.order-sum { font-weight: 800; white-space: nowrap; }
.order-status { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 14px; font-size: 14px; font-weight: 700; white-space: nowrap; background: var(--fr-bg); color: var(--fr-muted); }
.order-status-new { background: #FFF7B0; color: #6B5B00; }
.order-status-paid, .order-status-bought, .order-status-shipped { background: #E9F8EE; color: #137A3A; }
.order-status-done { background: #1F1F1F; color: #FFE60F; }
.order-status-partial, .order-status-cancelled { background: #FFECEC; color: #D92D20; }
.order-steps { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 16px; max-width: 1100px; counter-reset: step; }
.order-steps li { flex: 1; padding: 10px 12px; border-radius: 10px; background: var(--fr-surface); border: 1px solid var(--fr-border); color: var(--fr-muted); font-size: 15px; font-weight: 650; }
.order-steps li.done { background: #FFF7B0; border-color: #FFE60F; color: var(--fr-text); }
.test-pay { max-width: 420px; }
.test-pay-actions { display: flex; gap: 10px; }
.test-pay-actions .btn { flex: 1; }
@media (max-width: 800px) {
  .checkout { grid-template-columns: 1fr; }
  .order-row { grid-template-columns: 56px minmax(0, 1fr); }
  .order-sum, .order-row .order-status { grid-column: 2; justify-self: start; }
  .order-steps { overflow-x: auto; }
  .order-steps li { flex: 0 0 auto; }
}

/* Telegram login and legal pages (ADR-023) */
.tg-login { display: grid; justify-items: center; gap: 14px; padding-bottom: 22px; margin-bottom: 18px; border-bottom: 1px solid var(--fr-border); text-align: center; }
.tg-login .muted { margin: 0; font-size: 15px; }
.tg-btn { width: 100%; min-height: 50px; gap: 10px; background: #2AABEE; border-color: #2AABEE; color: #FFFFFF; font-size: 16px; font-weight: 700; }
.tg-btn:hover { background: #229ED9; }
.tg-btn svg { width: 20px; height: 20px; }
.tg-wait { display: none; margin: 0; font-size: 14px; font-weight: 600; }
.tg-login.waiting .tg-wait { display: block; }
.tg-phone { font-size: 13px; color: #6B6B70; text-decoration: underline; }
.legal-note { margin: 0; color: #6B6B70; font-size: 13px; line-height: 1.6; }
.legal-note a, .check-line a, .tg-who + form a { color: #1F1F1F; text-decoration: underline; }
.password-login summary { font-weight: 650; padding: 6px 0; }
.password-login[open] summary { margin-bottom: 16px; }
.check-line { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 15px; line-height: 1.5; cursor: pointer; }
.check-line input { width: 20px; height: 20px; margin-top: 2px; accent-color: #1F1F1F; }
.tg-who { margin: -8px 0 18px; font-size: 16px; }
.site-footer { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.site-footer a { text-decoration: underline; }
.legal-doc { max-width: 820px; padding: 32px; line-height: 1.7; }
.legal-doc h1 { font-size: 28px; margin: 18px 0 8px; }
.legal-doc h2 { font-size: 19px; margin: 26px 0 8px; }
.legal-doc a { text-decoration: underline; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; }
.legal-nav a[aria-current="page"] { font-weight: 750; text-decoration: none; }
@media (max-width: 800px) { .legal-doc { padding: 20px; } .legal-doc h1 { font-size: 23px; } .site-footer, .site-footer nav { flex-direction: column; align-items: center; text-align: center; } }

/* Photo scan (ADR-022) */
.gf-scan { display: grid; place-items: center; width: 40px; height: 40px; margin-right: 4px; border-radius: 50%; color: #1F1F1F; }
.gf-scan:hover { background: #F6F6F6; }
.gf-scan svg { width: 22px; height: 22px; }
.scan-form { display: grid; gap: 18px; max-width: 640px; padding: 24px; }
.scan-drop { position: relative; display: grid; justify-items: center; gap: 8px; padding: 36px 20px; border: 2px dashed #E6C800; border-radius: 16px; background: #FFFDF0; text-align: center; cursor: pointer; }
.scan-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.scan-drop strong { font-size: 18px; }
.scan-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--fr-brand); }
.scan-icon svg { width: 30px; height: 30px; }
.scan-preview:not([hidden]) { display: block; width: 100%; max-height: 440px; border-radius: 12px; object-fit: contain; background: #F6F6F6; }
.scan-form.has-photo .scan-drop { padding: 12px; }
.scan-form.has-photo .scan-drop > .scan-icon, .scan-form.has-photo .scan-drop > strong, .scan-form.has-photo .scan-drop > .muted { display: none; }
.scan-line, .scan-status, .scan-change { display: none; }
.scan-form.has-photo:not(.scanning) .scan-change { display: block; font-size: 14px; color: #6B6B70; }
.scan-form.scanning .scan-drop { cursor: progress; }
.scan-form.scanning .scan-drop input { pointer-events: none; }
.scan-form.scanning .scan-line { display: block; position: absolute; left: 12px; right: 12px; top: 14px; height: 4px; border-radius: 2px; background: var(--fr-brand); box-shadow: 0 0 18px 6px rgba(255, 230, 15, .75); animation: scan-sweep 1.4s ease-in-out infinite alternate; }
@keyframes scan-sweep { from { top: 14px; } to { top: calc(100% - 18px); } }
.scan-form.scanning .scan-status { display: inline-block; position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); padding: 9px 18px; border-radius: 20px; background: rgba(31, 31, 31, .88); color: #FFFFFF; font-size: 15px; font-weight: 650; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .scan-form.scanning .scan-line { animation: none; top: 50%; } }
.scan-submit { min-height: 50px; font-size: 16px; }
.scan-left { margin: 0; font-size: 14px; }
.translated-note svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; }

/* Seller page (ADR-021): a hero like Goofish's personal page */
.seller-hero { padding: 28px; border-radius: var(--fr-radius-card); background: linear-gradient(100deg, #FFFFFF 55%, #FFF4A8); border: 1px solid var(--fr-border); }
.seller-hero-main { display: flex; align-items: center; gap: 22px; }
.seller-hero-avatar { display: grid; place-items: center; flex-shrink: 0; width: 88px; height: 88px; border-radius: 50%; object-fit: cover; background: #F6F6F6; border: 3px solid #FFFFFF; box-shadow: 0 0 0 1px var(--fr-border); }
.seller-hero-text h1 { margin: 0; font-size: 28px; line-height: 1.2; }
.seller-hero-text .seller-badges { margin: 8px 0 0; font-size: 15px; }
.seller-hero-text .credit-icon { height: 20px; }
.seller-hero-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0 0; color: #6B6B70; font-size: 16px; }
.seller-hero-meta span { display: inline-flex; align-items: center; gap: 5px; }
.seller-hero-meta svg { width: 15px; height: 15px; }
.seller-hero-actions { display: flex; gap: 10px; margin-left: auto; flex-shrink: 0; }
.seller-hero-actions .btn { min-height: 46px; }
.seller-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 24px 0 0; }
.seller-stats > div { padding: 14px 18px; border-radius: 12px; background: rgba(255, 255, 255, .8); border: 1px solid var(--fr-border); }
.seller-stats dt { color: #6B6B70; font-size: 15px; }
.seller-stats dd { margin: 4px 0 0; font-size: 24px; font-weight: 750; }
.seller-follow-note { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; font-size: 16px; }
.seller-follow-note svg { width: 17px; height: 17px; }
.seller-card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.seller-card-actions .seller-all { margin: 0; }
.seller-card-actions .btn { width: 100%; }
.similar-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.similar-head a { font-size: 16px; font-weight: 650; }
.followed-panel { margin-top: 24px; }
.followed-list { list-style: none; margin: 0; padding: 0 20px; }
.followed-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--fr-border); }
.followed-list li:first-child { border-top: 0; }
.followed-list a { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; }
.followed-list svg { width: 18px; height: 18px; }
@media (max-width: 800px) {
  .seller-hero { padding: 20px; }
  .seller-hero-main { flex-wrap: wrap; gap: 16px; }
  .seller-hero-avatar { width: 68px; height: 68px; }
  .seller-hero-text { flex: 1 1 200px; }
  .seller-hero-text h1 { font-size: 23px; }
  .seller-hero-actions { width: 100%; margin: 0; }
  .seller-hero-actions > * { flex: 1; }
  .seller-hero-actions .btn { width: 100%; }
  .seller-stats { grid-template-columns: 1fr 1fr; }
  .seller-stats dd { font-size: 20px; }
}
