@font-face {
  font-family: "Manrope"; src: url("/assets/manrope.ttf") format("truetype"); font-weight: 200 800; font-display: swap;
}
@font-face {
  font-family: "Noto Armenian"; src: url("/assets/noto-sans-armenian.ttf") format("truetype");
  font-weight: 100 900; font-display: swap; unicode-range: U+0530-058F, U+FB13-FB17;
}
:root {
  color-scheme: light;
  --canvas: #f8f7f3;
  --white: #fff;
  --ink: #192b24;
  --green: #133b33;
  --green-deep: #0e3028;
  --quiet: #56645c;
  --line: #e4e5dd;
  --line-strong: #d4d9cf;
  --warm: #ffd0ae;
  --amber: #ffe9d9;
  --rust: #9e321f;
  --mint: #e6efe7;
  --paper: #efeee6;
  --radius: 17px;
  --max: 1312px;
  font-family: "Noto Armenian", "Manrope", "Segoe UI", Arial, sans-serif;
  font-size: 100%;
  font-optical-sizing: auto;
  background: var(--canvas);
  color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 290px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button[disabled] { opacity: .55; cursor: not-allowed; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
h1,h2,h3,h4,p { margin: 0; }
ul,ol { list-style: none; padding: 0; margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #bd5637; outline-offset: 4px; }
:target { scroll-margin-top: 115px; }
::selection { background: var(--warm); color: var(--green-deep); }
.shell { width: min(calc(100% - 88px), var(--max)); margin-inline: auto; }
#main { min-height: 65vh; padding-block: 26px 70px; outline: none; }
.ico { width: 21px; height: 21px; flex: 0 0 auto; vertical-align: middle; }
.icon-knob { fill: var(--white); }
.skip { position: fixed; z-index: 40; top: 10px; left: 20px; transform: translateY(-180%); background: white; padding: 10px 16px; border-radius: 9px; }
.skip:focus { transform: none; }
.sr { width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(100%); position: absolute; white-space: nowrap; }
.initial { padding: 40px 0; color: var(--quiet); }

#top { background: var(--canvas); border-bottom: 1px solid var(--line); }
.header-row { min-height: 77px; display: flex; align-items: center; gap: clamp(15px, 2.65vw, 38px); }
.brand { display: inline-flex; align-items: center; gap: 9px; flex: none; }
.brand img { width: 40px; height: 40px; }
.wordmark { font-size: 1.55rem; font-weight: 850; letter-spacing: -.06em; line-height: 1; color: var(--green); }
:lang(hy) .wordmark { letter-spacing: -.07em; }
.brand-dot { color: #bf4d32; }
.nav-desktop { display: flex; align-items: center; gap: clamp(12px, 1.7vw, 25px); white-space: nowrap; }
.nav-desktop a { font-size: .89rem; font-weight: 720; color: var(--quiet); }
.nav-desktop a[aria-current], .nav-desktop a:hover { color: var(--green); }
.header-search { display: flex; align-items: center; gap: 9px; flex: 1; min-width: 130px; max-width: 380px; height: 43px; padding: 0 13px; border: 1px solid var(--line); background: #f1f0eb; border-radius: 10px; }
.header-search:focus-within { border-color: var(--green); background: white; }
.header-search .ico { width: 19px; height: 19px; color: var(--quiet); }
.header-search input { min-width: 0; width: 100%; border: 0; background: transparent; padding: 0; outline: none; font-size: .9rem; }
.header-search input:focus-visible { outline: none; }
.header-search input::placeholder { color: #63736a; opacity: 1; }
.header-search kbd { padding: 2px 5px; border: 1px solid #dedfd6; border-radius: 4px; color: var(--quiet); font: inherit; font-size: .77rem; line-height: 1; }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex: none; }
.lang { display: inline-flex; position: relative; align-items: center; }
.lang .ico:first-child { position: absolute; left: 8px; width: 16px; height: 16px; pointer-events: none; }
.lang .ico:last-child { position: absolute; right: 6px; width: 13px; height: 13px; pointer-events: none; }
.lang select { appearance: none; height: 41px; padding: 0 23px 0 28px; font-size: .83rem; font-weight: 800; border: 0; background: transparent; border-radius: 8px; cursor: pointer; }
.button, .icon-button { display: inline-flex; align-items: center; justify-content: center; font-weight: 790; border: 1px solid transparent; border-radius: 10px; background: transparent; line-height: 1.25; transition: background .15s, color .15s, border-color .15s; }
.button { min-height: 44px; padding: 10px 16px; gap: 8px; font-size: .89rem; text-align: center; }
.button .ico { width: 18px; height: 18px; }
.button.primary { color: #fff; background: var(--green); border-color: var(--green); }
.button.primary:hover { background: #205448; border-color: #205448; }
.button.accent { color: var(--green-deep); background: var(--warm); border-color: var(--warm); }
.button.accent:hover { background: #ffddc5; border-color: #ffddc5; }
.button.outline { border-color: var(--line-strong); background: var(--white); }
.button.outline:hover, .button.ghost:hover, .icon-button:hover { background: var(--mint); }
.button.danger { background: #fae6e0; color: var(--rust); border-color: #e9c4b9; }
.button.danger:hover { background: #f7d9d1; }
.button.light-link { color: #f5f4eb; border-color: #75938a; }
.button.light-link:hover { background: #254d43; }
.button.block { width: 100%; }
.icon-button { width: 42px; height: 42px; position: relative; padding: 0; color: var(--ink); }
.icon-button.ring { border-color: var(--line-strong); background: var(--white); }
.icon-button.ring:hover { background: var(--mint); }
.badge-count { position: absolute; top: 2px; right: 1px; min-width: 17px; height: 17px; display: grid; place-items: center; padding-inline: 3px; border-radius: 10px; background: #b33c26; color: white; font-size: .69rem; font-weight: 850; }
.header-profile { max-width: 135px; white-space: nowrap; }
.header-profile span { overflow: hidden; text-overflow: ellipsis; }

.hero { min-height: 414px; display: grid; grid-template-columns: 52.5% 47.5%; overflow: hidden; border-radius: 22px; background: var(--green); color: #fffdf6; }
.hero-copy { align-self: center; position: relative; padding: clamp(42px, 5vw, 72px); padding-right: clamp(22px, 3vw, 50px); }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 19px; color: #d8eee2; font-size: .85rem; font-weight: 760; letter-spacing: .035em; }
.hero-kicker .ico { width: 16px; height: 16px; color: #ffbd94; }
.hero h1 { font-weight: 880; font-size: clamp(2.85rem, 5.0vw, 5rem); line-height: 1.055; letter-spacing: -.07em; }
.hero h1 span { display: block; color: var(--warm); }
.hero p { margin-top: 19px; color: #edeee4; line-height: 1.62; max-width: 440px; font-size: 1.02rem; }
.hero-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 25px; }
.hero-download { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; margin-top: 5px; color: #f5f4eb; font-size: .9rem; font-weight: 750; }
.hero-download:hover { text-decoration: underline; text-underline-offset: 3px; }
.hero-download .ico { width: 18px; height: 18px; }
.hero-art { display: block; width: 100%; min-height: 100%; position: relative; isolation: isolate; background: #ad4520; overflow: hidden; }
.hero-art img { position: absolute; height: 100%; object-fit: cover; object-position: 50% 55%; transition: transform .3s ease; }
.hero-art:hover img { transform: scale(1.022); }
.hero-art:focus-visible { outline-offset: -6px; }
.hero-art::after { content: ""; position: absolute; inset: 38% 0 0; background: linear-gradient(transparent,#211209b0); pointer-events: none; }
.hero-caption { position: absolute; left: clamp(15px, 2vw, 27px); bottom: clamp(15px, 2vw, 27px); right: clamp(15px, 2vw, 27px); z-index: 1; display: flex; gap: 12px; align-items: end; justify-content: space-between; border: 1px solid #ffffff50; border-radius: 12px; padding: 13px 15px; background: #21171190; backdrop-filter: blur(10px); color: white; }
.hero-caption small { display: block; color: #ffdec7; font-size: .78rem; font-weight: 740; margin-bottom: 3px; }
.hero-caption strong { display: block; font-size: .96rem; font-weight: 820; }
.hero-price { display: flex; flex-direction: column; text-align: right; white-space: nowrap; }
.hero-price strong { font-size: 1.24rem; font-variant-numeric: tabular-nums; line-height: 1.05; }

.categories { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 9px; padding: 24px 0 4px; }
.category { min-width: 0; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 12px 9px; min-height: 53px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink); font-size: .83rem; font-weight: 795; line-height: 1.23; text-align: left; }
.category:hover { border-color: #7e9a88; }
.category[aria-pressed=true] { background: var(--mint); border-color: #abc3b4; color: var(--green); }
.category .ico { width: 19px; height: 19px; }
.catalog { padding-top: 30px; scroll-margin-top: 22px; }
.section-top { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.section-title h2, .section-top h2 { font-size: clamp(1.55rem, 2.4vw, 2.25rem); letter-spacing: -.049em; line-height: 1.15; font-weight: 860; }
.count { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 30px; background: var(--paper); color: #45534b; font-size: .76rem; font-weight: 780; white-space: nowrap; }
.toolbar { display: flex; align-items: center; gap: 8px; flex: none; }
.select-wrap { position: relative; display: flex; min-width: 0; }
.select-wrap select { appearance: none; width: 100%; padding-right: 36px; cursor: pointer; }
.select-wrap > .ico { width: 17px; height: 17px; position: absolute; right: 12px; top: calc(50% - 8px); pointer-events: none; color: var(--quiet); }
.sort select { height: 44px; padding-left: 11px; border: 1px solid var(--line-strong); border-radius: 10px; background: white; font-size: .84rem; font-weight: 720; }
.status-row { display: flex; gap: 6px; margin-bottom: 15px; align-items: center; flex-wrap: wrap; }
.status-row button { border: 1px solid transparent; border-radius: 24px; min-height: 33px; padding: 5px 12px; font-size: .84rem; font-weight: 760; color: var(--quiet); background: transparent; }
.status-row button:hover { background: #eeeee7; }
.status-row button[aria-pressed=true] { color: var(--green); background: var(--mint); border-color: #ccdbce; }
.status-row .filter-summary { display: inline-flex; gap: 4px; color: var(--quiet); font-size: .83rem; margin-left: auto; }
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; }
.lot-card { display: grid; grid-template-rows: auto 1fr; position: relative; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: white; overflow: hidden; transition: border-color .17s, box-shadow .17s; }
.lot-card:hover { border-color: #b0bfb1; box-shadow: 0 8px 22px #23403113; }
.cover-link { display: block; overflow: hidden; position: relative; background: var(--paper); }
.cover-link img { aspect-ratio: 1.32; object-fit: cover; }
.cover-link:focus-visible { outline-offset: -5px; }
.heart-button { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; background: #fffdf8; border: 1px solid #ffffff65; color: var(--green); border-radius: 50%; }
.heart-button .ico { width: 19px; height: 19px; }
.heart-button[aria-pressed=true] { color: var(--rust); }
.heart-button[aria-pressed=true] .ico { fill: #f8a086; }
.lot-time { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 7px; background: #f9faf3; color: var(--green); font-size: .8rem; font-weight: 850; font-variant-numeric: tabular-nums; line-height: 1.15; }
.cover-link .lot-time { position: absolute; bottom: 10px; left: 10px; }
.lot-time .ico { width: 14px; height: 14px; }
.lot-time.urgent { background: #fff0e5; color: #9e3426; }
.lot-time.past { color: #47554d; background: #f3f4ec; }
.lot-time.future { color: #164d40; background: #e0f1e8; }
.lot-time.review { color: #743c24; background: #ffe9d9; }
.card-content { display: flex; flex-direction: column; min-width: 0; gap: 7px; padding: 14px; }
.card-meta { display: flex; align-items: center; color: var(--quiet); gap: 6px; font-size: .79rem; font-weight: 700; flex-wrap: wrap; }
.card-meta .ico { width: 14px; height: 14px; }
.sale-tag { width: fit-content; padding: 3px 7px; border-radius: 6px; background: var(--mint); color: var(--green); font-size: .74rem; font-weight: 790; line-height: 1.25; }
.sale-tag.review { color: #743c24; background: #ffe9d9; }
.separator-dot { color: #8a9486; }
.card-content h3 { font-size: .99rem; line-height: 1.34; font-weight: 850; letter-spacing: -.022em; overflow-wrap: anywhere; }
.card-content h3 a:hover { color: #a23e27; }
.card-pricing { display: flex; justify-content: space-between; align-items: end; gap: 8px; border-top: 1px solid #edeee8; margin-top: auto; padding-top: 10px; }
.card-pricing small { display: block; font-size: .73rem; color: var(--quiet); font-weight: 700; }
.price { color: var(--green-deep); font-weight: 875; letter-spacing: -.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.card-pricing .price { font-size: clamp(1.1rem, 1.65vw, 1.5rem); line-height: 1.13; display: block; margin-top: 3px; }
.offer-count { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; color: var(--quiet); font-weight: 760; font-size: .75rem; padding-bottom: 2px; }
.offer-count .ico { width: 13px; height: 13px; }
.helper-box { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 25px; margin-top: 28px; border-radius: var(--radius); background: #edf1e6; }
.helper-box h2 { font-size: 1.19rem; font-weight: 860; }
.helper-box p { margin-top: 5px; color: var(--quiet); }
.helper-box .button { flex: none; }
.empty { padding: 38px 20px; border: 1px dashed var(--line-strong); border-radius: var(--radius); text-align: center; background: #fffdf8; }
.empty > .ico { width: 29px; height: 29px; color: #637b6b; }
.empty strong { display: block; margin-top: 8px; font-size: 1.14rem; }
.empty p { margin-top: 4px; color: var(--quiet); }
.empty .button { margin-top: 15px; }

.page-title { margin: 13px 0 24px; }
.page-title h1, .lot-intro h1 { font-size: clamp(1.85rem, 3.6vw, 3.3rem); font-weight: 880; line-height: 1.1; letter-spacing: -.061em; overflow-wrap: anywhere; }
.page-title p { color: var(--quiet); margin-top: 9px; max-width: 65ch; line-height: 1.62; }
.back-link { display: inline-flex; min-height: 36px; align-items: center; gap: 3px; color: var(--quiet); font-weight: 780; font-size: .87rem; margin-bottom: 10px; }
.back-link .ico { width: 17px; height: 17px; }
.back-link:hover { color: var(--green); }
.detail-grid { display: grid; grid-template-columns: 1.15fr 1fr; align-items: start; gap: clamp(18px, 3vw, 36px); }
.detail-grid > * { min-width: 0; }
.gallery { position: relative; overflow: hidden; background: var(--paper); border-radius: var(--radius); }
.gallery > img { object-fit: cover; aspect-ratio: 1.32; }
.gallery .gallery-nav { position: absolute; bottom: 14px; right: 14px; display: flex; align-items: center; gap: 5px; padding: 4px; border-radius: 10px; background: #fffdf7ed; }
.gallery-nav .icon-button { height: 35px; width: 35px; }
.gallery-nav .ico { width: 16px; height: 16px; }
.gallery-nav output { font-size: .85rem; min-width: 35px; text-align: center; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 20px; }
.thumbs button { padding: 0; width: 60px; border: 2px solid transparent; background: none; border-radius: 8px; overflow: hidden; }
.thumbs button[aria-pressed=true] { border-color: var(--green); }
.thumbs img { aspect-ratio: 1.15; object-fit: cover; }
.lot-intro { display: grid; gap: 12px; margin-bottom: 17px; }
.lot-overline { display: flex; align-items: center; justify-content: space-between; align-self: start; gap: 8px; flex-wrap: wrap; }
.lot-overline > span { color: var(--quiet); font-size: .84rem; font-weight: 780; }
.lot-overline .button-row .icon-button { width: 38px; height: 38px; }
.lot-overline .icon-button[aria-pressed=true] { background: #f9e6d9; color: var(--rust); }
.lot-overline .icon-button[aria-pressed=true] .ico { fill: #f8a086; }
.lot-intro .line-icons { margin-top: 1px; }
.line-icons { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; color: var(--quiet); font-size: .88rem; font-weight: 700; }
.line-icons span { display: inline-flex; align-items: center; gap: 6px; }
.line-icons .ico { width: 17px; height: 17px; }
.panel { border: 1px solid var(--line); background: white; padding: clamp(16px, 2.15vw, 28px); border-radius: var(--radius); }
.panel + .panel { margin-top: 13px; }
.panel > h2 { font-size: 1.16rem; font-weight: 870; margin-bottom: 12px; }
.panel .body-copy { font-size: 1rem; line-height: 1.66; white-space: pre-wrap; overflow-wrap: anywhere; color: #3b4a41; }
.bid-panel { border-color: #cfd9cd; }
.bid-head { display: flex; align-items: start; justify-content: space-between; gap: 10px; margin-bottom: 13px; }
.bid-head small { display: block; color: var(--quiet); font-size: .87rem; font-weight: 760; }
.bid-head .price { display: block; font-size: clamp(1.9rem, 3vw, 2.85rem); line-height: 1.12; margin-top: 4px; }
.bid-clock { display: flex; flex-direction: column; align-items: end; gap: 5px; text-align: right; }
.bid-clock .lot-time { padding: 8px 10px; font-size: .9rem; background: var(--mint); }
.bid-clock .urgent { background: #fff0e5; }
.details-list { display: grid; gap: 9px; margin: 0; }
.details-list > div { display: flex; align-items: baseline; justify-content: space-between; gap: 13px; font-size: .92rem; }
.details-list dt { color: var(--quiet); }
.details-list dd { margin: 0; font-weight: 795; text-align: right; }
.rule { border: 0; height: 1px; background: var(--line); margin: 15px 0; }
.notice { display: flex; gap: 8px; align-items: start; padding: 10px 12px; border-radius: 9px; background: var(--mint); color: var(--green); font-size: .88rem; font-weight: 730; line-height: 1.45; }
.notice .ico { width: 18px; height: 18px; }
.notice.warm { background: #f9ebde; color: #713826; }
.notice.error { background: #fae7e3; color: var(--rust); }
.notice + .notice { margin-top: 8px; }
.lot-notice { margin-top: 11px; }
.offline { margin-bottom: 17px; align-items: center; }
.offline button { margin-left: auto; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bid-actions { margin-top: 15px; }
.bid-actions .button { flex: 1 1 auto; }
.hint { font-size: .84rem; color: var(--quiet); line-height: 1.54; }
.history { margin-top: 15px; }
.history summary, .guide-faq summary, .translations summary { cursor: pointer; font-size: 1.01rem; font-weight: 855; color: var(--green); }
.tabular { font-variant-numeric: tabular-nums; }
.history li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; font-size: .88rem; margin-top: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.history li small { color: var(--quiet); }
.history li:last-child { padding-bottom: 0; border: 0; }
.bid-options { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.bid-options label { position: relative; cursor: pointer; }
.bid-options input { position: absolute; top: 50%; left: 13px; margin: 0; transform: translateY(-50%); accent-color: var(--green); }
.bid-options span { display: flex; align-items: center; min-height: 46px; background: #fff; border: 1px solid var(--line-strong); border-radius: 9px; padding: 8px 10px 8px 34px; font-size: .86rem; font-weight: 790; }
.bid-options input:checked + span { background: var(--mint); border-color: #9db8a5; }
.bid-step { display: grid; grid-template-columns: 43px 1fr 43px; gap: 6px; }
.bid-step .icon-button { border: 1px solid var(--line-strong); border-radius: 9px; height: 46px; width: 100%; }

.layout-form { display: grid; grid-template-columns: 1.13fr 1fr; gap: 16px; align-items: start; }
.form-flow { display: grid; gap: 12px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sale-options, .listing-toggle { min-width: 0; margin: 0; padding: 0; border: 0; }
.sale-options legend, .listing-toggle legend { font-size: .89rem; font-weight: 820; padding: 0; margin-bottom: 8px; }
.sale-options { display: grid; gap: 6px; }
.sale-option { display: flex; align-items: start; gap: 9px; padding: 8px 11px; border: 1px solid var(--line-strong); border-radius: 9px; cursor: pointer; }
.sale-option:has(input:checked) { border-color: #9db8a5; background: var(--mint); }
.sale-option input { flex: 0 0 auto; margin: 4px 0 0; accent-color: var(--green); }
.sale-option strong { display: block; font-size: .88rem; font-weight: 830; line-height: 1.35; }
.sale-option small { display: block; margin-top: 3px; }
.vehicle-fields { padding-top: 8px; border-top: 1px solid var(--line); }
.field { display: grid; gap: 5px; font-size: .89rem; line-height: 1.36; font-weight: 775; }
.field small { font-size: .8rem; color: var(--quiet); font-weight: 650; }
.field input, .field textarea, .field select { width: 100%; min-width: 0; min-height: 46px; border: 1px solid var(--line-strong); border-radius: 9px; background: #fff; padding: 10px 11px; font-size: 1rem; font-weight: 600; }
.field .select-wrap select { padding-right: 35px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: #568071; }
.field textarea { resize: vertical; min-height: 108px; }
.field input::placeholder { color: #69776f; }
.photos-field { display: grid; gap: 9px; }
.photos-field h2 { font-size: 1.04rem; font-weight: 850; }
.photo-list { display: flex; flex-wrap: wrap; gap: 8px; }
.photo-list > div { position: relative; width: 79px; height: 68px; }
.photo-list img { aspect-ratio: 1.16; object-fit: cover; height: 100%; border-radius: 8px; }
.photo-list .icon-button { position: absolute; top: 3px; right: 3px; width: 26px; height: 26px; background: white; }
.photo-list .ico { width: 15px; height: 15px; }
.photo-input { font-size: .88rem; max-width: 100%; }
.photo-input::file-selector-button { background: var(--mint); border: 1px solid #b9cbbd; color: var(--green); padding: 9px; border-radius: 8px; font: inherit; margin-right: 6px; cursor: pointer; }
.file-label { cursor: pointer; }
.file-label:focus-within { outline: 3px solid #bd5637; outline-offset: 4px; }
.form-error { margin-top: 7px; }
.auth-buttons { justify-content: center; }
.lot-description { margin-top: 13px; }
.entry:is(a):hover { border-color: #a9bfb0; }
.translations[open] summary { margin-bottom: 10px; }
.lang-block { border-top: 1px solid var(--line); padding-block: 9px; display: grid; gap: 8px; }
.lang-block h3 { font-size: .9rem; }
.seller-submit { display: flex; justify-content: end; margin-top: 14px; }

.account-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.account-head > .page-title { min-width: 0; }
.account-tabs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 15px; }
.account-tabs a { min-height: 43px; border: 1px solid var(--line); border-radius: 9px; padding: 9px 13px; font-size: .9rem; font-weight: 780; display: flex; align-items: center; gap: 6px; background: white; }
.account-tabs a[aria-current=page] { background: var(--mint); border-color: #abc3b4; color: var(--green); }
.account-tabs .ico { width: 16px; height: 16px; }
.auth-card { max-width: 480px; margin: 24px auto 20px; }
.entry-list { display: grid; gap: 8px; }
.entry { padding: 12px; display: flex; align-items: center; gap: 11px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.entry.unread { background: #f0f7ee; border-color: #ccdecd; }
.entry-main { flex: 1; min-width: 0; }
.entry-main strong { display: block; overflow-wrap: anywhere; }
.entry-main p { color: var(--quiet); font-size: .84rem; line-height: 1.4; margin-top: 3px; }
.entry-price { font-size: 1.18rem; }
.entry img { width: 65px; height: 53px; object-fit: cover; border-radius: 7px; }
.entry-icon { width: 38px; height: 38px; display: grid; place-items: center; background: var(--mint); border-radius: 9px; flex: none; color: var(--green); }
.entry-section { max-width: 780px; }
.entry-section .entry-list { margin-top: 12px; }
.guide-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.guide-steps .panel { margin: 0; }
.guide-steps .entry-icon { margin-bottom: 11px; }
.guide-links { margin-top: 14px; max-width: 850px; }
.guide-faq details + details { border-top: 1px solid var(--line); margin-top: 13px; padding-top: 13px; }
.guide-faq details p { margin-top: 8px; }

#footer { background: #edeee6; border-top: 1px solid var(--line); }
.footer-row { min-height: 135px; display: flex; gap: 15px; justify-content: space-between; align-items: center; }
.footer-brand p { font-size: .85rem; color: var(--quiet); margin-top: 8px; }
.footer-links { display: flex; gap: 8px 14px; flex-wrap: wrap; justify-content: end; align-items: center; }
.footer-links a, .text-button { background: transparent; padding: 5px 0; border: 0; color: var(--green); font-size: .87rem; font-weight: 790; }
.text-button:hover, .footer-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mobile-nav { display: none; }
dialog { margin: auto; width: min(calc(100vw - 28px), 508px); max-height: calc(100dvh - 30px); padding: 0; border: 1px solid var(--line-strong); border-radius: 17px; color: var(--ink); background: #fff; box-shadow: 0 24px 80px #132a2450; }
dialog::backdrop { background: #12231c88; backdrop-filter: blur(2px); }
.dialog-content { padding: 22px; }
.dialog-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.dialog-title h2 { font-size: 1.43rem; font-weight: 875; line-height: 1.2; letter-spacing: -.04em; }
.dialog-title .icon-button { width: 37px; height: 37px; }
.dialog-content .hero-actions { margin-top: 12px; }
.dialog-content .details-list { margin-block: 13px; }
.dialog-content .form-flow .primary { margin-top: 4px; }
.toast { position: fixed; z-index: 90; bottom: 24px; left: max(18px, calc((100vw - var(--max)) / 2)); max-width: min(430px, calc(100vw - 36px)); background: var(--green-deep); color: white; border-radius: 10px; box-shadow: 0 8px 25px #17312940; padding: 12px 16px; font-size: .92rem; font-weight: 740; line-height: 1.4; }

@media (max-width: 1100px) {
  .shell { width: calc(100% - 54px); }
  .header-row { gap: 15px; }
  .nav-desktop { gap: 14px; }
  .category { font-size: .78rem; padding-inline: 6px; }
}
@media (max-width: 930px) {
  .nav-desktop a:nth-child(2) { display: none; }
  .header-row { gap: 13px; }
  .header-actions { gap: 2px; }
  .hero h1 { font-size: clamp(2.7rem, 5.65vw, 4.4rem); }
  .hero-copy { padding-inline: 32px 20px; }
  .hero { min-height: 367px; }
  .categories { display: flex; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
  .category { flex: none; padding-inline: 12px; font-size: .84rem; }
  .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 735px) {
  .shell { width: calc(100% - 34px); }
  #main { padding-block: 14px 34px; }
  .header-row { flex-wrap: wrap; padding-block: 11px 10px; gap: 8px; min-height: unset; }
  .brand img { width: 36px; height: 36px; }
  .wordmark { font-size: 1.38rem; }
  .nav-desktop, .header-profile:not(.header-login), .header-sell, .header-saved { display: none; }
  .header-login { padding-inline: 9px; }
  .header-login .ico { display: none; }
  .header-search { order: 3; flex: 1 0 100%; max-width: none; height: 40px; }
  .header-search kbd { display: none; }
  .header-actions .icon-button { height: 37px; width: 37px; }
  .lang select { height: 36px; }
  .hero { min-height: unset; }
  .hero-copy { padding: 30px 21px; }
  .hero-kicker { margin-bottom: 12px; font-size: .78rem; }
  .hero p { margin-top: 13px; font-size: .94rem; line-height: 1.5; }
  .hero-actions { margin-top: 17px; }
  .hero-actions .button { padding-inline: 12px; }
  .hero-caption { padding: 8px 10px; left: 10px; right: 10px; bottom: 10px; }
  .hero-caption strong { font-size: .88rem; }
  .hero-caption small { font-size: .73rem; }
  .hero-price strong { font-size: 1.02rem; }
  .categories { padding-top: 14px; }
  .catalog { padding-top: 18px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .card-content { padding: 10px; }
  .footer-row { min-height: 0; align-items: start; flex-direction: column; padding-block: 20px 80px; }
  .footer-links { justify-content: start; }
  .mobile-nav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 15; inset: auto 0 0; background: #fffdf9; min-height: 59px; padding: 4px 4px calc(env(safe-area-inset-bottom) + 4px); border-top: 1px solid var(--line); }
  .mobile-nav a, .mobile-nav button { background: transparent; border: 0; border-radius: 7px; display: grid; gap: 2px; justify-items: center; align-content: center; color: var(--quiet); font-size: .69rem; font-weight: 810; padding: 4px 1px; text-align: center; }
  .mobile-nav a[aria-current=page], .mobile-nav button[aria-current=page] { color: var(--green); background: var(--mint); }
  .mobile-nav .ico { width: 20px; height: 20px; }
  .mobile-nav .mobile-sell { color: var(--green); }
  .mobile-nav .mobile-sell .ico { background: var(--warm); border-radius: 8px; width: 25px; height: 25px; padding: 3px; }
  .toast { bottom: calc(68px + env(safe-area-inset-bottom)); }
  .detail-grid { gap: 15px; }
  .guide-steps { grid-template-columns: 1fr; }
}
@media (max-width: 550px) {
  .hero { grid-template-columns: 1fr; border-radius: 16px; }
  .hero-copy { padding-bottom: 22px; }
  .hero h1 { font-size: clamp(2.3rem, 10.2vw, 3.35rem); }
  .hero-art { height: 240px; }
  .hero-art img { object-position: 50% 57%; }
  .toolbar { margin-left: auto; }
  .section-top { gap: 7px; align-items: start; flex-wrap: wrap; margin-bottom: 10px; }
  .section-title { gap: 6px; }
  .section-title h2, .section-top h2 { font-size: 1.44rem; }
  .toolbar .button { min-height: 37px; padding: 5px 8px; font-size: .8rem; }
  .sort select { height: 37px; max-width: 128px; }
  .status-row { gap: 3px; margin-bottom: 12px; }
  .status-row button { padding-inline: 8px; }
  .card-pricing { flex-wrap: wrap; gap: 5px; }
  .card-meta { font-size: .73rem; gap: 4px; }
  .card-content h3 { font-size: .88rem; }
  .lot-card { border-radius: 12px; }
  .heart-button { width: 33px; height: 33px; top: 6px; right: 6px; }
  .cover-link .lot-time { bottom: 6px; left: 6px; }
  .lot-time { padding: 4px 5px; font-size: .73rem; }
  .lot-time .ico { width: 12px; height: 12px; }
  .helper-box { align-items: start; flex-direction: column; padding: 14px; }
  .detail-grid, .layout-form { grid-template-columns: 1fr; }
  .bid-head { flex-wrap: wrap; }
  .detail-copy { display: contents; }
  .lot-intro { grid-row: 1; }
  .lot-details-left { grid-row: 2; display: contents; }
  .lot-photos { grid-row: 2; }
  .bid-section { grid-row: 3; }
  .lot-description { grid-row: 4; }
  .thumbs { margin-bottom: 0; }
  .entry { flex-wrap: wrap; }
  .entry-main { min-width: 115px; }
  .account-tabs a { min-height: 36px; padding-inline: 8px; font-size: .79rem; }
  .account-tabs a .ico { display: none; }
  dialog { margin: auto auto 0; width: 100%; max-width: 100%; max-height: 91dvh; border-radius: 18px 18px 0 0; }
  .dialog-content { padding: 18px 16px calc(19px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; }
}
