:root {
  --pink: #ff7597;
  --pink-pale: #fff0f4;
  --ink: #242723;
  --muted: #697067;
  --line: #e1e4dc;
  --paper: #fffefa;
  --soft: #f4f4ec;
  --green: #dfead8;
  --yellow: #f5edbd;
  --blue: #dce7f2;
  --wine: #682c36;
  --hero-paper: #f4eee4;
  font: 15px/1.55 Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
button, select { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button:disabled { opacity: .55; cursor: wait; }
button { background: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
svg { display: block; width: 22px; height: 22px; flex-shrink: 0; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid #2567a6; outline-offset: 4px; }
.wrap { width: min(1400px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 20; padding: 10px; background: white; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 20px; min-height: 46px; border: 1px solid var(--ink); background: var(--pink); border-radius: 4px; font-size: 13px; font-weight: 650; }
.button.dark { background: var(--ink); color: white; }
.button.outline { background: transparent; }
.button:hover { background: #ff90ac; }
.button.dark:hover { background: #444b40; }
.button.outline:hover { background: var(--soft); }
.icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; padding: 0; cursor: pointer; position: relative; }
.icon:hover { color: #b7164d; }
.brand-dot { display: inline-block; width: 10px; height: 10px; background: var(--wine); border-radius: 50%; margin-left: 8px; }
#header { position: sticky; top: 0; z-index: 5; }
.mainbar { background: #fffefaf5; border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { display: flex; align-items: center; min-height: 76px; gap: 24px; }
.brand { display: grid; align-content: center; min-height: 44px; flex: none; color: var(--wine); line-height: 1.15; font-size: 12px; }
.brand strong { font-family: Georgia, "Times New Roman", serif; font-size: 22px; white-space: nowrap; letter-spacing: -.035em; }
.zone-nav { display: flex; align-self: stretch; align-items: stretch; gap: 23px; }
.zone-nav a { display: flex; align-items: center; position: relative; font-weight: 600; font-size: 13px; white-space: nowrap; }
.zone-nav a::after { position: absolute; content: ""; left: 0; right: 0; height: 3px; bottom: 17px; background: transparent; }
.zone-nav a:hover::after, .zone-nav a[aria-current]::after { background: var(--wine); }
.search { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 30px; background: white; padding-left: 16px; }
.search input { min-width: 0; width: 100%; flex: 1; background: none; border: 0; padding: 10px 0; font-size: 13px; }
.search button { min-height: 44px; min-width: 44px; display: grid; place-items: center; border: 0; padding: 0; }
.header-search { margin-left: auto; flex: 1; max-width: 300px; }
.tools { position: relative; display: flex; align-items: center; gap: 9px; }
.tools .post-button { white-space: nowrap; padding-inline: 14px; background: var(--wine); color: white; border-color: var(--wine); }
.tools .post-button:hover { background: #51202a; }
.tools svg { width: 20px; }
.badge { position: absolute; right: 0; top: 0; min-width: 17px; height: 17px; border-radius: 50%; background: var(--pink); font-size: 11px; font-weight: 750; text-align: center; }
.mobile-menu { display: none; }
.eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; font-weight: 650; }
.eyebrow > span { display: inline-block; width: 7px; height: 7px; background: var(--pink); margin-right: 6px; border-radius: 50%; }
.section { margin-block: 64px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 26px; }
.section-heading h1, .section-heading h2 { font-size: clamp(27px, 3.1vw, 40px); letter-spacing: -.05em; font-weight: 650; line-height: 1.15; }
.section-heading .eyebrow { margin-bottom: 10px; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; border-bottom: 1px solid var(--ink); padding-bottom: 5px; white-space: nowrap; }
.text-link svg { width: 17px; }
.zone-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.zone-card { display: flex; flex-direction: column; padding: 24px; border: 1px solid transparent; border-radius: 4px; min-height: 250px; }
.zone-card:hover { border-color: var(--ink); }
.pink { background: var(--pink-pale); }
.green { background: var(--green); }
.yellow { background: var(--yellow); }
.blue { background: var(--blue); }
.zone-mark { align-self: start; border: 1px solid currentColor; border-radius: 20px; padding: 3px 10px; font-size: 9px; font-weight: 650; letter-spacing: .1em; }
.zone-card h3 { font-size: 22px; letter-spacing: -.04em; font-weight: 650; margin: 26px 0 7px; }
.zone-card p { font-size: 12px; line-height: 1.6; color: #50564c; margin-bottom: 22px; }
.zone-link { display: flex; align-items: center; justify-content: space-between; font-size: 12px; margin-top: auto; }
.listing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 20px; }
.listing-card { position: relative; min-width: 0; }
.card-photo { display: block; position: relative; }
.media { display: block; aspect-ratio: 4 / 4.6; overflow: hidden; background: #eeece8; }
.card-photo img { object-position: center 28%; }
.photo-label { position: absolute; left: 10px; bottom: 10px; padding: 5px 9px; background: #fffefaf2; font-size: 10px; border-radius: 3px; }
.photo-placeholder { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; }
.photo-placeholder > span { display: grid; justify-items: center; gap: 7px; }
.photo-placeholder svg { width: 28px; height: 28px; color: #6a7567; }
.photo-placeholder small { font-size: 11px; color: #5c655b; }
.photo-placeholder > strong { position: absolute; font-size: clamp(23px, 2.9vw, 48px); letter-spacing: -.04em; bottom: 40px; opacity: .09; }
.media.pink { background: var(--pink-pale); }
.media.green { background: var(--green); }
.media.yellow { background: var(--yellow); }
.media.blue { background: var(--blue); }
.save { position: absolute; right: 8px; top: 8px; background: #fffefaed; border-radius: 50%; }
[data-save][aria-pressed="true"] { color: #ab1242; }
[data-save][aria-pressed="true"] svg { fill: #ab1242; }
.card-copy { padding: 12px 0 0; }
.card-category { font-size: 10px; color: var(--muted); margin-bottom: 5px; }
.listing-card h3 { font-size: 16px; font-weight: 600; letter-spacing: -.025em; line-height: 1.4; margin-bottom: 7px; }
.listing-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.price { font-size: 18px; font-weight: 750; letter-spacing: -.03em; }
.price small, .detail-price small { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 3px; }
.location { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--muted); margin-top: 10px; }
.location svg { width: 14px; height: 14px; }
.invite { background: var(--pink); border-radius: 5px; padding: 40px 45px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 70px; }
.invite h2 { font-size: clamp(30px, 4vw, 54px); line-height: 1.08; letter-spacing: -.055em; margin-top: 12px; font-weight: 700; }
.invite > div:last-child { align-self: center; }
.invite p:not(.eyebrow) { max-width: 43ch; font-size: 14px; margin-bottom: 19px; }
.zone-hero { padding-block: 44px; }
.zone-hero h1 { font-size: clamp(34px, 4.6vw, 62px); letter-spacing: -.055em; line-height: 1.07; font-weight: 700; margin: 14px 0 15px; }
.zone-hero > .wrap > p:last-child { font-size: 14px; max-width: 60ch; color: #4d5549; }
.catalog-layout { display: grid; grid-template-columns: 215px minmax(0, 1fr); gap: 36px; margin-block: 40px 70px; }
.catalog-layout .listing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.filters { border-right: 1px solid var(--line); padding-right: 24px; }
.filters form { display: grid; gap: 17px; }
.field { display: grid; gap: 6px; font-size: 12px; font-weight: 600; }
.field :is(input, select, textarea) { width: 100%; min-width: 0; min-height: 43px; padding: 9px 10px; border: 1px solid #cdd1c7; border-radius: 3px; background: white; font-size: 13px; font-weight: 400; }
.field textarea { resize: vertical; }
.field small, .field-hint { font-size: 11px; font-weight: 400; color: var(--muted); }
.price-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.clear-link { font-size: 12px; text-decoration: underline; text-align: center; }
.results-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.results-heading p { font-size: 14px; font-weight: 650; }
.results-heading label { font-size: 12px; display: flex; gap: 6px; align-items: center; }
.results-heading select { border: 1px solid var(--line); background: white; padding: 9px; border-radius: 3px; font-size: 12px; }
.empty { background: var(--soft); padding: 50px 24px; text-align: center; }
.empty h2 { font-size: 23px; font-weight: 600; letter-spacing: -.03em; }
.empty p { margin: 8px 0 20px; font-size: 14px; color: var(--muted); }
.breadcrumb { display: flex; gap: 9px; font-size: 12px; color: var(--muted); margin-bottom: 24px; }
.breadcrumb a:hover { text-decoration: underline; }
.detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); }
.detail-photo .media { aspect-ratio: 1.05; }
.detail-photo .gallery-stage img { object-fit: contain; }
.photo-thumbnails, .photo-previews { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.photo-thumbnails { margin-top: 10px; }
.photo-thumbnails button { padding: 2px; border: 1px solid var(--line); border-radius: 5px; min-width: 0; background: var(--hero-paper); }
.photo-thumbnails button[aria-pressed="true"] { outline: 2px solid var(--wine); outline-offset: -2px; }
.photo-thumbnails button:focus-visible { outline: 2px solid #2567a6; outline-offset: 2px; }
.photo-thumbnails img, .photo-preview-image { aspect-ratio: 1; border-radius: 3px; overflow: hidden; }
.photo-preview-image { position: relative; background: var(--hero-paper); }
.photo-preview-image button { position: absolute; top: 2px; right: 2px; width: 32px; height: 32px; border-radius: 50%; background: var(--paper); }
.photo-preview { display: grid; gap: 4px; min-width: 0; }
.cover-label, .cover-button { display: grid; place-items: center; min-height: 36px; padding: 2px; text-align: center; font-size: 12px; }
.cover-label { color: var(--wine); background: var(--hero-paper); border-radius: 4px; font-weight: 650; }
.cover-button { border: 0; color: var(--wine); text-decoration: underline; }
#photo-status { color: var(--muted); font-size: 13px; }
.detail-copy { align-self: center; }
.detail-copy h1 { font-size: clamp(28px, 3.6vw, 48px); font-weight: 650; line-height: 1.15; letter-spacing: -.045em; margin: 14px 0; }
.detail-price { font-size: 29px; font-weight: 700; }
.facts { margin: 22px 0; }
.facts > div { display: flex; align-items: start; justify-content: space-between; gap: 14px; padding-block: 11px; border-bottom: 1px solid var(--line); font-size: 13px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; text-align: right; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.tags span { background: var(--soft); border-radius: 20px; padding: 5px 10px; font-size: 11px; }
.detail-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.back-to-results { margin-bottom: 18px; }
.buyer-saved .section-heading p { margin-top: 6px; color: var(--muted); }
.detail-description { margin-top: 36px; border-top: 1px solid var(--line); padding-top: 28px; max-width: 80ch; }
.detail-description h2 { font-size: 22px; font-weight: 600; margin-bottom: 9px; }
.detail-description p, .message-preview { white-space: pre-line; overflow-wrap: anywhere; }
.post-page { max-width: 740px; }
.post-page h1, .about > h1 { font-size: clamp(35px, 5vw, 64px); letter-spacing: -.055em; line-height: 1.1; margin: 13px 0; }
.page-lead { font-size: 14px; color: var(--muted); margin-bottom: 30px; }
.post-form { display: grid; gap: 20px; }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-form > .button { justify-self: start; }
.draft-note { color: var(--muted); }
#post-error:empty, #photo-errors:empty { display: none; }
#photo-errors { white-space: pre-line; overflow-wrap: anywhere; }
.form-error { color: #ae143f; font-size: 13px; }
.delete-link { border: 0; font-size: 12px; padding: 10px 0; text-decoration: underline; cursor: pointer; }
.about-lead { max-width: 50ch; font-size: 20px; margin-bottom: 38px; color: var(--muted); }
.about-text { max-width: 72ch; margin-top: 40px; }
.about-text h2 { font-size: 23px; margin: 28px 0 10px; font-weight: 600; }
.about-text .button { margin-top: 22px; }
footer { border-top: 1px solid var(--line); background: var(--soft); }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 40px; padding-block: 42px; }
.footer-name { font-size: 23px; font-weight: 750; letter-spacing: -.04em; }
.footer-grid p { color: var(--muted); font-size: 12px; margin-top: 6px; }
.footer-grid nav { display: grid; align-content: start; gap: 6px; }
.footer-grid h2 { font-size: 13px; font-weight: 650; margin-bottom: 5px; }
.footer-grid nav a { font-size: 12px; color: #62695e; }
.footer-grid nav a:hover { text-decoration: underline; }
.footer-base { border-top: 1px solid #dce0d3; display: flex; justify-content: space-between; gap: 16px; padding-block: 16px; font-size: 10px; color: var(--muted); }
dialog { padding: 0; border: 1px solid var(--line); border-radius: 5px; width: min(520px, calc(100% - 30px)); max-height: calc(100dvh - 32px); color: var(--ink); }
dialog::backdrop { background: #1c211b88; }
.dialog-top { display: flex; justify-content: space-between; align-items: center; padding: 7px 10px 7px 20px; border-bottom: 1px solid var(--line); }
.dialog-top h2 { font-size: 19px; font-weight: 650; }
.dialog-body { padding: 22px; }
.account-menu {
  position: absolute;
  z-index: 1;
  top: calc(100% + 10px);
  right: 0;
  width: min(270px, calc(100vw - 32px));
  padding: 6px;
  border: 1px solid #ddc9c3;
  border-radius: 10px;
  background: var(--paper);
  box-shadow: 0 12px 28px #33262324;
}
.account-menu-heading { display: flex; gap: 10px; align-items: center; padding: 8px 9px 12px; overflow-wrap: anywhere; }
.account-avatar { display: grid; place-items: center; flex: 0 0 36px; height: 36px; border-radius: 50%; background: var(--hero-paper); color: var(--wine); }
.account-menu-group { border-top: 1px solid var(--line); padding-block: 4px; }
.account-menu-row { display: flex; gap: 10px; align-items: center; width: 100%; min-height: 44px; text-align: left; padding: 8px 9px; border: 0; border-radius: 5px; font-size: 14px; }
.account-menu-row:hover { background: var(--hero-paper); color: var(--wine); }
.account-menu-row svg { color: var(--wine); }
.report-form, .admin-report-list { display: grid; gap: 12px; }
.report-form .form-error:empty { display: none; }
.admin-report { display: grid; gap: 6px; padding-block: 10px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.admin-report summary { cursor: pointer; }
.admin-report details p { white-space: pre-wrap; }
.report-audit { padding-left: 20px; margin: 0; color: var(--muted); font-size: 12px; }
.account-menu-row small { margin-left: auto; padding-inline: 8px; border-radius: 12px; color: var(--wine); background: var(--hero-paper); }
#account-toggle[aria-expanded="true"] { color: var(--wine); background: var(--hero-paper); border-radius: 50%; }
.dialog-menu { display: grid; gap: 2px; margin-bottom: 16px; }
.dialog-menu a { border-bottom: 1px solid var(--line); padding-block: 10px; font-size: 14px; }
#message-form { display: grid; gap: 16px; }
.dialog-actions { display: flex; gap: 9px; margin-top: 20px; }
.toast { position: fixed; right: 18px; bottom: 18px; background: var(--ink); color: white; border-radius: 3px; padding: 12px 18px; max-width: calc(100% - 36px); z-index: 20; font-size: 13px; }
@media (min-width: 1550px) {
  .header-inner { min-height: 82px; gap: 32px; }
  .zone-nav { gap: 30px; }
  .zone-nav a { font-size: 14px; }
}
@media (max-width: 1150px) {
  .wrap { width: calc(100% - 48px); }
  .header-inner { gap: 20px; flex-wrap: wrap; padding-block: 12px; }
  .zone-nav { gap: 18px; }
  .header-search { order: 3; margin-left: 0; flex: 0 0 100%; max-width: none; }
  .tools { margin-left: auto; }
  .mobile-menu { display: inline-grid; }
  .zone-card { padding: 18px; }
  .zone-card h3 { font-size: 19px; }
  .catalog-layout { grid-template-columns: 185px minmax(0, 1fr); gap: 22px; }
  .catalog-layout .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { gap: 10px; padding-block: 10px 0; min-height: 0; }
  .brand strong { font-size: 20px; }
  .tools { order: 1; gap: 2px; }
  .tools .button { min-height: 40px; padding-inline: 10px; font-size: 11px; }
  .tools .icon { width: 36px; }
  .zone-nav { order: 2; width: 100%; gap: 0; justify-content: space-between; overflow-x: auto; }
  .zone-nav a { font-size: 12px; padding: 15px 3px; min-height: 48px; }
  .zone-nav a::after { bottom: 0; }
  .section { margin-block: 40px; }
  .section-heading { align-items: start; }
  .section-heading h2 { font-size: 28px; }
  .section-heading .eyebrow { font-size: 9px; }
  .zone-grid, .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .zone-grid { gap: 10px; }
  .zone-card { padding: 16px 13px; min-height: 245px; }
  .zone-card h3 { font-size: 20px; margin-top: 20px; }
  .zone-card p { font-size: 12px; }
  .zone-link { font-size: 12px; }
  .listing-card h3 { font-size: 14px; }
  .price { font-size: 16px; }
  .card-category { font-size: 9px; }
  .location { font-size: 10px; flex-wrap: wrap; }
  .save { width: 36px; height: 36px; }
  .photo-label { left: 6px; bottom: 6px; font-size: 9px; padding: 4px 6px; }
  .photo-placeholder > strong { font-size: 24px; bottom: 30px; }
  .invite { grid-template-columns: 1fr; padding: 27px 24px; gap: 20px; margin-bottom: 40px; }
  .invite h2 { font-size: 38px; }
  .zone-hero { padding-block: 30px; }
  .zone-hero h1 { font-size: 39px; }
  .catalog-layout { grid-template-columns: 1fr; margin-top: 24px; }
  .filters { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 22px; }
  .filters form { grid-template-columns: 1fr 1fr; gap: 12px; }
  .filters form > :first-child { grid-column: 1 / -1; }
  .price-fields { grid-column: 1 / -1; }
  .filters .button { padding-inline: 8px; }
  .clear-link { align-self: center; }
  .results-heading { align-items: start; }
  .results-heading label { flex-wrap: wrap; justify-content: end; }
  .detail-layout { grid-template-columns: 1fr; gap: 22px; }
  .detail-photo .media { aspect-ratio: 1.1; }
  .detail-copy h1 { font-size: 33px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-block: 30px; }
  .footer-grid > section { grid-column: 1 / -1; }
  .footer-base { flex-direction: column; gap: 5px; }
  .form-pair { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
  .photo-previews { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}

.market-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: clamp(440px, 44vw, 680px);
  padding: 36px 16px;
  background: #5c4b40;
}
.market-hero-photo { position: absolute; inset: 0; z-index: -2; object-position: center 45%; }
.market-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #25191024; }
.market-hero-copy {
  width: min(100%, 490px);
  padding: clamp(28px, 4vw, 48px) clamp(16px, 3vw, 36px);
  border-radius: 3px;
  background: var(--hero-paper);
  color: var(--wine);
  text-align: center;
}
.market-hero-copy h1 { font: 400 clamp(33px, 4.1vw, 61px)/1.08 Georgia, "Times New Roman", serif; letter-spacing: -.045em; text-wrap: balance; }
.market-hero-copy p { max-width: 35ch; margin: 14px auto 23px; font-size: clamp(14px, 1.15vw, 16px); color: #534a44; text-wrap: pretty; }
.market-hero-copy .button { background: var(--wine); border-color: var(--wine); color: white; border-radius: 2px; }
.market-hero-copy .button:hover { background: #51202a; }
.landing-header { background: var(--paper); }
.landing-nav, .landing-nav nav { display: flex; align-items: center; gap: clamp(12px, 3vw, 30px); }
.landing-nav { justify-content: space-between; min-height: 72px; padding-block: 10px; }
.landing-nav nav { font-size: 13px; }
.landing-hero { position: relative; isolation: isolate; color: white; background: #321f1e; }
.landing-photo, .landing-hero::before { position: absolute; inset: 0; }
.landing-photo { object-position: 58% 45%; z-index: -2; }
.landing-hero::before { content: ""; z-index: -1; background: linear-gradient(90deg, #251612 0%, #251612c9 42%, #25161225 100%); }
.landing-hero-inner { display: grid; align-items: center; min-height: clamp(440px, 47vw, 660px); padding-block: 54px; }
.landing-intro { max-width: 680px; }
.landing-intro h1, .landing-post h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.045em; }
.landing-intro h1 { font-size: clamp(56px, 8vw, 118px); line-height: 1; text-wrap: balance; }
.landing-intro p { max-width: 36ch; margin-block: 22px 28px; color: #f5e9df; font-size: clamp(15px, 1.5vw, 20px); }
.landing-primary { border-color: var(--hero-paper); background: var(--hero-paper); color: var(--wine); }
.landing-primary:hover { background: #fffaf3; }
.landing-zone-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.landing-zone-list a { display: grid; grid-template-rows: auto 1fr auto; gap: 10px; min-height: 100%; padding: 20px; border: 1px solid transparent; border-radius: 4px; }
.landing-zone-list a:hover { border-color: var(--wine); }
.landing-zone-list h3 { font-size: clamp(17px, 1.7vw, 23px); line-height: 1.2; }
.landing-zone-list p { color: #3e413a; }
.landing-zone-list span { justify-self: end; color: var(--wine); font-size: 20px; }
.landing-post { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(20px, 4vw, 44px); background: var(--hero-paper); }
.landing-post h2 { font-size: clamp(27px, 4vw, 44px); line-height: 1.14; color: var(--wine); }
.landing-post p { margin-top: 8px; }
.landing-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 27px; color: var(--muted); font-size: 13px; }
.landing-footer a { text-decoration: underline; }
@media (max-width: 760px) {
  .landing-photo { object-position: 62% center; }
  .landing-hero::before { background: linear-gradient(90deg, #251612e8, #25161273); }
  .landing-hero-inner { min-height: 420px; }
  .landing-zone-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .landing-zone-list a { padding: 14px; }
}
.home-zones { scroll-margin-top: 130px; }
.home-zones h2 { letter-spacing: -.035em; }
.recommendations .section-heading { flex-wrap: wrap; align-items: center; }
.recommendations .section-heading p { margin-top: 6px; color: var(--muted); }
.recommendations button.text-link { border: 0; padding: 8px 0; min-height: 44px; color: var(--wine); text-decoration: underline; text-underline-offset: 4px; }
.stock-count { font-size: 13px; color: var(--muted); margin-block: 3px; }
.sold-out { color: white; background: var(--wine); border-radius: 3px; }
.detail-copy .stock-count { margin-block: 10px; }
.detail-copy .sold-out { display: inline-block; padding: 4px 8px; }
.listing-tools { display: flex; flex-wrap: wrap; gap: 0 12px; margin-top: 6px; }
.seller-filters { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 210px); gap: 12px; margin-bottom: 14px; }
.seller-count { margin-bottom: 12px; color: var(--muted); font-size: 13px; }
@media (max-width: 540px) {
  .seller-filters { grid-template-columns: 1fr; }
}
#stock-form { display: grid; gap: 12px; }
#stock-form .form-error:empty { position: absolute; }
.zone-categories { padding-block: 28px 23px; border-bottom: 1px solid var(--line); }
.zone-categories .section-heading { align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.zone-categories .section-heading h2 { font-size: clamp(22px, 2.6vw, 31px); }
.zone-categories .category-link[aria-current] { border-color: var(--wine); background: var(--hero-paper); }
#tin-trong-khu { scroll-margin-top: 125px; }
.category-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 0; list-style: none; }
.category-link { display: grid; justify-items: center; align-content: start; gap: 10px; height: 100%; padding: 12px 4px; border: 1px solid transparent; border-radius: 4px; text-align: center; font-weight: 600; font-size: 13px; }
.category-link:hover { border-color: #d9c7bc; background: #f8f1e9; }
.category-art { display: grid; place-items: center; width: 76px; height: 76px; background: #f5eae2; color: var(--wine); border-radius: 6px; overflow: hidden; }
.category-art:has(img) { background: white; }
.category-art img { object-fit: contain; }
.category-art svg { width: 34px; height: 34px; }
.market-empty { padding: 24px; background: var(--pink-pale); }
.market-empty a { text-decoration: underline; }
.connection-help { margin-top: 135px; }
.connection-help p { margin-top: 12px; }
.check-field { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.check-field input { width: 18px; height: 18px; accent-color: #a20047; }
[data-location]:not(.form-pair), #auth-form { display: grid; gap: 12px; }
dialog:has(#auth-form) { width: min(440px, calc(100% - 30px)); }
#auth-form .form-error:empty { position: absolute; }
.auth-switch { text-align: center; font-size: 13px; }
.auth-switch button { padding: 5px 2px; border: 0; color: #a20047; font-weight: 650; text-decoration: underline; }
.auth-contact { min-width: 0; margin: 0; padding: 10px 12px 12px; border: 1px solid var(--line); border-radius: 4px; }
.auth-contact legend { padding-inline: 4px; font-weight: 650; }
.auth-contact p { color: var(--muted); font-size: 12px; }
.auth-contact .field { margin-top: 8px; }
.messages time { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.recovery-code { display: block; margin-top: 10px; padding: 10px; background: var(--soft); user-select: all; overflow-wrap: anywhere; }
.threads, .messages { display: grid; gap: 10px; }
.thread-row { text-align: left; display: grid; padding: 10px; border: 1px solid var(--line); border-radius: 4px; }
.thread-row:hover { background: var(--pink-pale); }
.messages { max-height: 35vh; overflow: auto; margin-block: 12px; }
.messages .message-preview { max-width: 90%; padding: 10px 14px; background: var(--soft); border-radius: 6px; }
.messages .my-message { justify-self: end; background: var(--pink-pale); }
.dialog-body form { margin: 0; }
@media (max-width: 760px) {
  .market-hero { min-height: clamp(360px, 70vw, 435px); }
  .market-hero-photo { object-position: 62% center; }
  .market-hero-copy { width: min(100%, 410px); }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .category-art { width: 60px; height: 60px; }
}
@media (max-width: 380px) {
  .header-inner { column-gap: 4px; }
  .tools .post-button { padding-inline: 7px; gap: 3px; }
  .zone-nav { gap: 6px; }
}

