/* ==========================================================================
   最汉源 · H5 design system
   Warm editorial marketplace · mobile-first · 2026
   ========================================================================== */

:root {
  --bg: #f6f0e5;
  --bg-deep: #eee5d5;
  --bg-soft: #fbf6ed;
  --surface: #fffdf8;
  --surface-2: #fcf7ee;
  --surface-3: #f5ead8;
  --ink: #2f2114;
  --ink-2: #5e4b36;
  --muted: #8e7c66;
  --muted-2: #b2a28c;
  --line: rgba(79, 57, 32, 0.1);
  --line-strong: rgba(79, 57, 32, 0.16);
  --brown: #5e4124;
  --brown-deep: #332316;
  --gold: #aa7834;
  --gold-2: #d5a45d;
  --gold-soft: #f2e2c4;
  --gold-pale: #fbf3e4;
  --orange: #d56537;
  --orange-soft: #fbe9df;
  --green: #2e7857;
  --green-soft: #e8f3ec;
  --red: #b9543d;
  --blue: #486985;
  --blue-soft: #eaf1f5;
  --purple: #74528d;
  --purple-soft: #f0eaf5;
  --amber: #b47925;
  --amber-soft: #fbf0d9;
  --shadow-xs: 0 2px 8px rgba(63, 43, 20, 0.04);
  --shadow-sm: 0 6px 18px rgba(63, 43, 20, 0.055);
  --shadow-md: 0 14px 36px rgba(63, 43, 20, 0.1);
  --shadow-lg: 0 24px 56px rgba(45, 30, 15, 0.16);
  --r-xs: 9px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 24px;
  --r-2xl: 30px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC",
    system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "STSong", "Songti SC", "Noto Serif CJK SC", "SimSun", serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --tabbar-height: 68px;
  --page-max: 440px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

html {
  -webkit-text-size-adjust: 100%;
  background: #e7ddcc;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100dvh;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 12%, rgba(184, 140, 76, 0.12), transparent 31rem),
    radial-gradient(circle at 82% 78%, rgba(62, 109, 76, 0.1), transparent 34rem),
    #e7ddcc;
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overscroll-behavior-y: none;
}

body.has-overlay {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

::selection {
  color: var(--brown-deep);
  background: var(--gold-soft);
}

.skip-link {
  position: fixed;
  top: 7px;
  left: 50%;
  z-index: 9999;
  padding: 8px 14px;
  color: var(--surface);
  background: var(--brown-deep);
  border-radius: 9px;
  font-size: 12px;
  transform: translate(-50%, -160%);
  transition: transform 0.18s ease;
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

.app-shell {
  position: relative;
  width: 100%;
  max-width: var(--page-max);
  min-height: 100dvh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--bg);
  box-shadow: 0 0 0 1px rgba(79, 57, 32, 0.06), 0 30px 90px rgba(49, 32, 15, 0.17);
}

.page {
  position: relative;
  min-height: 100dvh;
  padding-bottom: calc(var(--tabbar-height) + var(--safe-bottom) + 22px);
}

.page.no-tabbar {
  padding-bottom: 0;
}

.page-inner {
  padding-inline: 16px;
}

.page-loading {
  display: grid;
  min-height: 100dvh;
  place-items: center;
  color: var(--muted);
  font-size: 13px;
}

.noscript-note {
  position: fixed;
  inset: 20px;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  font-size: 15px;
}

/* ---------- Typography / utilities ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 5px;
  height: 5px;
  content: "";
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(170, 120, 52, 0.12);
}

.section-title {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-title .soft {
  margin-left: 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  padding: 6px 0;
  color: var(--muted);
  background: none;
  border: 0;
  font-size: 11px;
}

.text-link .ico {
  width: 13px;
  height: 13px;
  opacity: 0.72;
}

.icon-btn {
  display: inline-grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: var(--shadow-xs);
  transition: transform 0.16s ease, background 0.16s ease;
}

.icon-btn:active {
  transform: scale(0.94);
}

.icon-btn.dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: none;
}

.ico {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex: 0 0 auto;
}

.ico-12 { width: 12px; height: 12px; }
.ico-14 { width: 14px; height: 14px; }
.ico-16 { width: 16px; height: 16px; }
.ico-18 { width: 18px; height: 18px; }
.ico-22 { width: 22px; height: 22px; }
.ico-24 { width: 24px; height: 24px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 24px;
  padding: 3px 9px;
  color: var(--ink-2);
  background: var(--surface-3);
  border: 1px solid rgba(79, 57, 32, 0.06);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.pill.gold {
  color: #865b22;
  background: var(--gold-soft);
}

.pill.green {
  color: var(--green);
  background: var(--green-soft);
}

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 0.16s ease, filter 0.16s ease, background 0.16s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  color: #fffaf0;
  background: linear-gradient(135deg, #6a4a29, #3b2818);
  box-shadow: 0 8px 18px rgba(66, 44, 23, 0.18);
}

.btn-primary:hover {
  filter: brightness(1.06);
}

.btn-gold {
  color: #3f2a16;
  background: linear-gradient(135deg, #e6bb77, #c28b42);
  box-shadow: 0 8px 18px rgba(121, 78, 26, 0.18);
}

.btn-ghost {
  color: var(--ink-2);
  background: var(--surface);
  border-color: var(--line-strong);
}

.btn-outline-light {
  color: #fff8e9;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-block {
  width: 100%;
}

.btn:disabled,
.btn[aria-disabled="true"] {
  cursor: not-allowed;
  filter: saturate(0.7);
  opacity: 0.55;
}

.scroll-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scroll-row::-webkit-scrollbar {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.surface-card {
  background: var(--surface);
  border: 1px solid rgba(79, 57, 32, 0.055);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

/* ---------- Home header ---------- */

.home-header {
  padding: calc(var(--safe-top) + 16px) 16px 0;
}

.brand-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 9px;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #f5e5ca;
  background:
    linear-gradient(135deg, rgba(210, 168, 106, 0.25), transparent 45%),
    var(--brown-deep);
  border: 1px solid rgba(213, 164, 93, 0.55);
  border-radius: 10px;
  box-shadow: inset 0 0 0 2px rgba(255, 247, 230, 0.05), 0 4px 10px rgba(62, 42, 20, 0.14);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
}

.brand-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-name {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.brand-tag {
  padding: 2px 5px;
  color: #805b27;
  background: var(--gold-soft);
  border: 1px solid rgba(170, 120, 52, 0.16);
  border-radius: 4px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transform: translateY(-1px);
}

.tagline {
  margin: 7px 0 0 43px;
  color: var(--muted);
  font-size: 10.5px;
  letter-spacing: 0.01em;
}

.tagline .dot {
  margin: 0 5px;
  color: var(--muted-2);
}

.notify-btn {
  position: relative;
  margin-top: 1px;
}

.notify-btn::after {
  position: absolute;
  top: 9px;
  right: 10px;
  width: 5px;
  height: 5px;
  content: "";
  background: var(--orange);
  border: 1.5px solid var(--bg);
  border-radius: 50%;
}

.searchbox {
  display: flex;
  height: 52px;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  padding: 5px 5px 5px 10px;
  background: var(--surface);
  border: 1px solid rgba(79, 57, 32, 0.08);
  border-radius: 16px;
  box-shadow: 0 5px 16px rgba(78, 54, 28, 0.055);
}

.location-btn {
  display: inline-flex;
  height: 40px;
  align-items: center;
  gap: 3px;
  padding: 0 4px 0 2px;
  color: var(--ink);
  background: none;
  border: 0;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.location-btn .ico {
  width: 14px;
  height: 14px;
  opacity: 0.8;
}

.searchbox-divider {
  width: 1px;
  height: 16px;
  background: var(--line-strong);
}

.search-trigger {
  display: flex;
  min-width: 0;
  flex: 1;
  height: 40px;
  align-items: center;
  gap: 6px;
  padding: 0 2px;
  color: var(--muted);
  background: none;
  border: 0;
  font-size: 12px;
  text-align: left;
}

.search-trigger .ico {
  width: 15px;
  height: 15px;
  opacity: 0.7;
}

.search-trigger span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-submit {
  height: 40px;
  min-width: 60px;
  padding: 0 13px;
  color: #fffaf1;
  background: linear-gradient(135deg, #755130, #4b321c);
  border: 0;
  border-radius: 11px;
  box-shadow: 0 4px 10px rgba(66, 45, 25, 0.16);
  font-size: 12px;
  font-weight: 700;
}

/* ---------- Hero banner ---------- */

.hero-banner {
  position: relative;
  min-height: 172px;
  margin: 14px 16px 0;
  overflow: hidden;
  padding: 18px 18px 18px 19px;
  color: #fff9ed;
  background:
    radial-gradient(92% 120% at 100% 18%, rgba(203, 153, 83, 0.24), transparent 43%),
    radial-gradient(80% 100% at 0% 100%, rgba(116, 79, 41, 0.46), transparent 57%),
    linear-gradient(126deg, #3b2919 0%, #513823 51%, #281b10 100%);
  border: 1px solid rgba(244, 211, 156, 0.12);
  border-radius: var(--r-xl);
  box-shadow: 0 15px 36px rgba(54, 35, 17, 0.2);
  isolation: isolate;
}

.hero-banner::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(238, 209, 162, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 209, 162, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to right, transparent, #000 45%, #000 100%);
}

.hero-banner::after {
  position: absolute;
  z-index: -1;
  top: -56px;
  right: -58px;
  width: 200px;
  height: 200px;
  content: "";
  border: 1px solid rgba(214, 170, 101, 0.15);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(214, 170, 101, 0.03), 0 0 0 55px rgba(214, 170, 101, 0.025);
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: 68%;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #e4c58f;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.hero-kicker::before {
  width: 4px;
  height: 4px;
  content: "";
  background: #e4c58f;
  border-radius: 50%;
}

.hero-title {
  margin: 9px 0 7px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.16;
  text-shadow: 0 2px 8px rgba(20, 12, 5, 0.18);
}

.hero-title em {
  color: #e8c58d;
  font-style: normal;
}

.hero-sub {
  margin: 0;
  color: rgba(255, 246, 230, 0.66);
  font-size: 10.5px;
  line-height: 1.6;
}

.hero-action {
  display: inline-flex;
  min-height: 33px;
  align-items: center;
  gap: 4px;
  margin-top: 13px;
  padding: 0 12px;
  color: #4d341d;
  background: linear-gradient(135deg, #f4e3c5, #e6c896);
  border: 1px solid rgba(255, 246, 229, 0.45);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(22, 13, 6, 0.14);
  font-size: 11px;
  font-weight: 750;
}

.hero-action .ico {
  width: 13px;
  height: 13px;
}

.hero-art {
  position: absolute;
  z-index: 2;
  right: -19px;
  bottom: -17px;
  width: 168px;
  height: auto;
  filter: drop-shadow(0 12px 18px rgba(22, 13, 6, 0.28));
  transform: rotate(-2deg);
  pointer-events: none;
}

/* ---------- Quick actions ---------- */

.quick-card {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  row-gap: 15px;
  margin: 14px 16px 0;
  padding: 16px 6px 14px;
  background: var(--surface);
  border: 1px solid rgba(79, 57, 32, 0.05);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.quick-item {
  display: flex;
  min-width: 0;
  min-height: 62px;
  align-items: center;
  flex-direction: column;
  gap: 7px;
  padding: 0 2px;
  background: none;
  border: 0;
  border-radius: 12px;
  transition: background 0.15s ease;
}

.quick-item:active {
  background: var(--surface-2);
}

.quick-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(79, 57, 32, 0.045);
  border-radius: 14px;
}

.quick-icon .ico {
  width: 21px;
  height: 21px;
}

.quick-item:nth-child(1) .quick-icon { background: #f9efdf; }
.quick-item:nth-child(2) .quick-icon { background: #f9e9e1; }
.quick-item:nth-child(3) .quick-icon { background: #eaf2ea; }
.quick-item:nth-child(4) .quick-icon { background: #f1ecf5; }
.quick-item:nth-child(5) .quick-icon { background: #f7eee0; }
.quick-item:nth-child(6) .quick-icon { background: #f4e5c8; }
.quick-item:nth-child(7) .quick-icon { background: #e9f0eb; }
.quick-item:nth-child(8) .quick-icon { background: #f7ece3; }

.quick-label {
  overflow: hidden;
  width: 100%;
  color: var(--ink-2);
  font-size: 11.5px;
  font-weight: 560;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- Promo switcher ---------- */

.promo-card {
  margin: 14px 16px 0;
  padding: 14px 14px 13px;
  background: var(--surface);
  border: 1px solid rgba(79, 57, 32, 0.05);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.promo-tabs {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  padding: 0 2px 10px;
  border-bottom: 1px solid var(--line);
}

.promo-tab {
  position: relative;
  min-height: 29px;
  padding: 0 1px;
  color: var(--muted);
  background: none;
  border: 0;
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -0.03em;
  transition: color 0.16s ease;
}

.promo-tab::after {
  position: absolute;
  right: 50%;
  bottom: -1px;
  left: 50%;
  height: 2.5px;
  content: "";
  background: var(--gold);
  border-radius: 4px;
  transition: right 0.2s ease, left 0.2s ease;
}

.promo-tab.active {
  color: var(--ink);
}

.promo-tab.active::after {
  right: 7px;
  left: 7px;
}

.promo-panel {
  position: relative;
  display: flex;
  min-height: 137px;
  margin-top: 11px;
  overflow: hidden;
  padding: 15px 14px;
  background:
    radial-gradient(100% 100% at 100% 10%, rgba(210, 167, 101, 0.24), transparent 52%),
    linear-gradient(120deg, #fbf4e8, #f5e8d4);
  border: 1px solid rgba(128, 91, 45, 0.075);
  border-radius: var(--r-md);
}

.promo-panel::after {
  position: absolute;
  top: -25px;
  right: -20px;
  width: 90px;
  height: 90px;
  content: "";
  border: 1px solid rgba(172, 127, 64, 0.13);
  border-radius: 50%;
}

.promo-copy {
  position: relative;
  z-index: 2;
  width: 65%;
}

.promo-kicker {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  color: #9b7137;
  font-size: 9.5px;
  font-weight: 650;
}

.promo-kicker .ico {
  width: 12px;
  height: 12px;
}

.promo-title {
  margin: 7px 0 6px;
  color: #342215;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.35;
}

.promo-desc {
  margin: 0;
  color: #846b4f;
  font-size: 10px;
  line-height: 1.55;
}

.promo-cta {
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  padding: 0 11px;
  color: #fff8ea;
  background: linear-gradient(135deg, #704d2d, #432c19);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(72, 48, 25, 0.16);
  font-size: 10.5px;
  font-weight: 700;
}

.promo-cta .ico {
  width: 12px;
  height: 12px;
}

.promo-art {
  position: absolute;
  z-index: 1;
  right: -4px;
  bottom: -8px;
  width: 124px;
  height: auto;
  filter: drop-shadow(0 8px 12px rgba(76, 49, 24, 0.13));
  pointer-events: none;
}

/* ---------- Latest listings ---------- */

.listing-section {
  margin-top: 19px;
  padding: 0 16px;
}

.listing-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 11px;
}

.listing-title-row {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
}

.listing-title-row .section-title::before {
  display: inline-block;
  width: 3px;
  height: 16px;
  margin-right: 7px;
  vertical-align: -2px;
  content: "";
  background: linear-gradient(to bottom, var(--gold-2), var(--gold));
  border-radius: 3px;
}

.update-note {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--muted);
  font-size: 9.5px;
  white-space: nowrap;
}

.update-note::before {
  width: 4px;
  height: 4px;
  content: "";
  background: #6e9a74;
  border-radius: 50%;
}

.listing-toolbar {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
  margin-bottom: 11px;
}

.type-chips {
  min-width: 0;
  flex: 1;
  padding: 1px 0 2px;
}

.type-chip {
  display: inline-flex;
  min-height: 33px;
  align-items: center;
  gap: 4px;
  padding: 0 12px;
  color: var(--ink-2);
  background: rgba(255, 253, 248, 0.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 560;
  white-space: nowrap;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.type-chip.active {
  color: #fff7e9;
  background: var(--brown-deep);
  border-color: var(--brown-deep);
  box-shadow: 0 5px 12px rgba(51, 35, 22, 0.16);
  font-weight: 650;
}

.type-count {
  display: inline-grid;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  place-items: center;
  color: #855a20;
  background: var(--gold-soft);
  border-radius: 999px;
  font-size: 8.5px;
  font-weight: 700;
}

.type-chip.active .type-count {
  color: #4a321b;
  background: #e7cfa7;
}

.filter-trigger {
  display: inline-flex;
  min-width: 58px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 0 8px;
  color: var(--ink-2);
  background: rgba(255, 253, 248, 0.7);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 11px;
  white-space: nowrap;
}

.filter-trigger.has-active {
  color: #7b5320;
  background: var(--gold-soft);
  border-color: rgba(170, 120, 52, 0.22);
}

.filter-trigger .ico {
  width: 14px;
  height: 14px;
}

.filter-count {
  display: inline-grid;
  min-width: 15px;
  height: 15px;
  padding: 0 3px;
  place-items: center;
  color: #fff8ec;
  background: var(--gold);
  border-radius: 999px;
  font-size: 8px;
}

.active-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: -3px 0 10px;
}

.active-filter-chip {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  gap: 3px;
  padding: 0 7px 0 9px;
  color: #76501f;
  background: var(--gold-soft);
  border: 0;
  border-radius: 7px;
  font-size: 9.5px;
}

.active-filter-chip .ico {
  width: 11px;
  height: 11px;
  opacity: 0.65;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.listing-card {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  color: inherit;
  background: var(--surface);
  border: 1px solid rgba(79, 57, 32, 0.07);
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(69, 47, 23, 0.055);
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.listing-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #e8dac5, #d9c4a7);
}

.listing-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to bottom, rgba(35, 23, 13, 0.16), transparent 36%, transparent 76%, rgba(35, 23, 13, 0.06));
  pointer-events: none;
}

.listing-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.media-badges {
  position: absolute;
  z-index: 2;
  top: 7px;
  right: 7px;
  left: 7px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4px;
  pointer-events: none;
}

.badge-vip,
.badge-top,
.badge-personal,
.badge-soft {
  display: inline-flex;
  min-height: 20px;
  align-items: center;
  gap: 3px;
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 8.5px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
  backdrop-filter: blur(8px);
}

.badge-personal {
  color: #fff7e9;
  background: rgba(55, 39, 22, 0.62);
  border: 1px solid rgba(255, 246, 231, 0.2);
}

.badge-vip {
  color: #f7dfb2;
  background: linear-gradient(105deg, rgba(47, 31, 16, 0.91), rgba(100, 66, 27, 0.82));
  border: 1px solid rgba(244, 206, 139, 0.28);
  box-shadow: 0 2px 5px rgba(28, 17, 7, 0.14);
}

.badge-vip .ico {
  width: 10px;
  height: 10px;
}

.badge-top {
  color: #f6e9d4;
  background: rgba(53, 37, 21, 0.63);
  border: 1px solid rgba(255, 246, 231, 0.2);
}

.badge-soft {
  color: #fffaf1;
  background: rgba(43, 33, 22, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.listing-body {
  padding: 9px 10px 11px;
}

.listing-card-title {
  display: -webkit-box;
  min-height: 39px;
  overflow: hidden;
  margin: 0;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.44;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.listing-location {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 2px;
  margin: 6px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.listing-location .ico {
  width: 10px;
  height: 10px;
  opacity: 0.8;
}

.listing-price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4px;
  margin-top: 8px;
}

.listing-price {
  color: var(--orange);
  font-size: 18px;
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1;
}

.listing-price .unit {
  margin-left: 1px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0;
}

.listing-price-meta {
  display: inline-block;
  margin-left: 3px;
  color: var(--muted-2);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0;
}

.listing-type-tag {
  padding: 2px 5px;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 8px;
  line-height: 1.3;
  white-space: nowrap;
}

.listing-more {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 11px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 11px;
}

.listing-more .ico {
  width: 12px;
  height: 12px;
}

.empty-state {
  display: flex;
  min-height: 165px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  text-align: center;
}

.empty-icon {
  display: grid;
  width: 43px;
  height: 43px;
  margin-bottom: 9px;
  place-items: center;
  background: var(--surface-3);
  border-radius: 50%;
}

.empty-icon .ico {
  width: 20px;
  height: 20px;
  opacity: 0.7;
}

.empty-title {
  margin: 0;
  font-size: 13.5px;
  font-weight: 700;
}

.empty-desc {
  margin: 5px 0 12px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.6;
}

.empty-state .btn {
  min-height: 34px;
  padding: 0 13px;
  font-size: 11px;
}

.home-footer {
  padding: 26px 28px 10px;
  color: var(--muted-2);
  font-size: 9px;
  line-height: 1.8;
  text-align: center;
}

.home-footer strong {
  color: var(--muted);
  font-weight: 650;
}

/* ---------- Bottom tab bar ---------- */

.tabbar-shell {
  position: fixed;
  z-index: 80;
  bottom: 0;
  left: 50%;
  width: 100%;
  max-width: var(--page-max);
  padding: 5px 9px calc(5px + var(--safe-bottom));
  background: rgba(255, 252, 245, 0.95);
  border-top: 1px solid rgba(79, 57, 32, 0.08);
  box-shadow: 0 -9px 28px rgba(61, 42, 22, 0.065);
  backdrop-filter: blur(22px) saturate(1.15);
  transform: translateX(-50%);
}

.tabbar {
  display: grid;
  grid-template-columns: 1fr 1fr 1.16fr 1fr;
  align-items: end;
}

.tab-item {
  display: flex;
  min-width: 0;
  min-height: 54px;
  align-items: center;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2px;
  padding: 4px 0 0;
  color: #95836c;
  background: none;
  border: 0;
  border-radius: 11px;
  font-size: 9.5px;
  line-height: 1.2;
}

.tab-icon-wrap {
  display: grid;
  width: 34px;
  height: 29px;
  place-items: center;
  border-radius: 10px;
  transition: background 0.18s ease;
}

.tab-item .ico {
  width: 21px;
  height: 21px;
  opacity: 0.78;
}

.tab-item.active {
  color: var(--brown);
  font-weight: 700;
}

.tab-item.active .tab-icon-wrap {
  background: #f3e4c9;
}

.tab-item.active .ico {
  opacity: 1;
}

.tab-publish {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 54px;
  align-items: center;
  flex-direction: column;
  justify-content: flex-end;
  gap: 3px;
  padding: 0;
  color: var(--brown);
  background: none;
  border: 0;
  border-radius: 11px;
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1.2;
  transform: translateY(-16px);
}

.publish-orb {
  display: grid;
  width: 49px;
  height: 49px;
  place-items: center;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 235, 201, 0.18), transparent 32%),
    linear-gradient(140deg, #6c4a29, #3a2717);
  border: 4px solid rgba(255, 252, 245, 0.96);
  border-radius: 50%;
  box-shadow: 0 7px 18px rgba(65, 43, 23, 0.25), 0 0 0 1px rgba(170, 120, 52, 0.22);
}

.publish-orb .ico {
  width: 22px;
  height: 22px;
}

.tab-publish .tab-label {
  margin-top: 0;
  color: var(--brown);
  font-size: 9.5px;
  font-weight: 700;
}

/* ---------- Generic top bar ---------- */

.topbar {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 9px;
  padding: calc(var(--safe-top) + 10px) 16px 8px;
}

.topbar-title {
  overflow: hidden;
  min-width: 0;
  flex: 1;
  margin: 0;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar-title.align-left {
  text-align: left;
}

.topbar-spacer {
  width: 40px;
  flex: 0 0 40px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.topbar.dark {
  color: #fff8e9;
}

.topbar.dark .icon-btn {
  color: #fff7e8;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.14);
}

/* ---------- Gold list ---------- */

.gold-page {
  padding-bottom: calc(26px + var(--safe-bottom));
  background: var(--bg);
}

.gold-hero {
  position: relative;
  overflow: hidden;
  padding-bottom: 44px;
  color: #fff9ed;
  background:
    radial-gradient(80% 100% at 100% 5%, rgba(200, 151, 83, 0.19), transparent 48%),
    linear-gradient(138deg, #26190f 0%, #46311e 55%, #2b1d11 100%);
  border-radius: 0 0 30px 30px;
}

.gold-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(232, 199, 149, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 199, 149, 0.055) 1px, transparent 1px);
  background-size: 27px 27px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.gold-hero::after {
  position: absolute;
  top: 96px;
  right: -95px;
  width: 280px;
  height: 280px;
  content: "";
  border: 1px solid rgba(218, 173, 104, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 36px rgba(218, 173, 104, 0.03), 0 0 0 82px rgba(218, 173, 104, 0.025);
}

.gold-hero-inner {
  position: relative;
  z-index: 3;
  padding: 13px 22px 0;
}

.gold-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #d7b981;
  font-size: 9.5px;
  font-weight: 650;
  letter-spacing: 0.06em;
}

.gold-kicker::before {
  width: 4px;
  height: 4px;
  content: "";
  background: #d7b981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(215, 185, 129, 0.1);
}

.gold-title {
  margin: 15px 0 9px;
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 1.06;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.2);
}

.gold-title em {
  color: #dfb976;
  font-style: normal;
}

.gold-sub {
  max-width: 275px;
  margin: 0;
  color: rgba(255, 248, 236, 0.6);
  font-size: 10.5px;
  line-height: 1.65;
}

.gold-points {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
  color: rgba(255, 248, 236, 0.72);
  font-size: 9.5px;
}

.gold-points span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.gold-points .dot {
  width: 3px;
  height: 3px;
  background: #d5a45d;
  border-radius: 50%;
}

.gold-watermark {
  position: absolute;
  z-index: 1;
  top: 82px;
  right: -58px;
  width: 250px;
  opacity: 0.11;
  filter: grayscale(0.3) blur(0.2px);
  pointer-events: none;
}

.gold-sheet {
  position: relative;
  z-index: 4;
  overflow: hidden;
  margin: -29px 13px 0;
  background: var(--surface);
  border: 1px solid rgba(79, 57, 32, 0.05);
  border-radius: 22px;
  box-shadow: 0 16px 38px rgba(60, 41, 21, 0.12);
}

.gold-tabs {
  padding: 13px 12px 0;
}

.gold-tab {
  display: inline-flex;
  min-height: 33px;
  align-items: center;
  gap: 4px;
  padding: 0 10px;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11px;
  white-space: nowrap;
}

.gold-tab.active {
  color: #fff8e9;
  background: var(--brown-deep);
  border-color: var(--brown-deep);
  box-shadow: 0 4px 10px rgba(51, 34, 19, 0.15);
  font-weight: 650;
}

.gold-tab-count {
  color: var(--muted-2);
  font-size: 8.5px;
  font-weight: 500;
}

.gold-tab.active .gold-tab-count {
  color: rgba(255, 248, 233, 0.58);
}

.gold-sort-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px 10px;
  border-bottom: 1px solid var(--line);
}

.gold-update {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 9px;
}

.gold-update .ico {
  width: 11px;
  height: 11px;
}

.gold-sort {
  display: inline-flex;
  padding: 2px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.gold-sort button {
  min-height: 25px;
  padding: 0 8px;
  color: var(--muted);
  background: none;
  border: 0;
  border-radius: 6px;
  font-size: 9px;
}

.gold-sort button.active {
  color: var(--brown);
  background: var(--surface);
  box-shadow: 0 1px 5px rgba(65, 45, 24, 0.09);
  font-weight: 700;
}

.gold-list {
  padding: 2px 8px 4px;
}

.rank-item {
  display: grid;
  grid-template-columns: 27px 91px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  width: 100%;
  padding: 12px 5px;
  color: inherit;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  text-align: left;
}

.rank-item:last-child {
  border-bottom: 0;
}

.rank-no {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  color: var(--muted-2);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.rank-no.top {
  color: var(--gold);
}

.rank-no .ico {
  width: 16px;
  height: 16px;
}

.rank-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface-3);
  border-radius: 9px;
}

.rank-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rank-thumb .mini-vip {
  position: absolute;
  top: 4px;
  left: 4px;
  padding: 2px 4px;
  color: #ffe9bd;
  background: rgba(48, 32, 17, 0.78);
  border-radius: 3px;
  font-size: 6.5px;
  font-weight: 700;
}

.rank-body {
  min-width: 0;
}

.rank-title {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  font-size: 12.8px;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.rank-meta {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 3px;
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted);
  font-size: 8.5px;
  white-space: nowrap;
}

.rank-meta .ico {
  width: 9px;
  height: 9px;
}

.rank-tags {
  display: flex;
  gap: 4px;
  margin-top: 5px;
}

.rank-tags span {
  color: var(--muted);
  font-size: 8px;
}

.rank-tags span + span::before {
  margin-right: 4px;
  content: "·";
  color: var(--muted-2);
}

.rank-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  margin-top: 5px;
}

.rank-price {
  color: var(--orange);
  font-size: 16px;
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1;
}

.rank-price .unit {
  margin-left: 1px;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0;
}

.rank-owner {
  color: var(--muted-2);
  font-size: 8px;
}

.gold-empty {
  padding: 32px 16px;
}

.gold-note {
  margin: 12px 18px 0;
  color: var(--muted-2);
  font-size: 9px;
  line-height: 1.7;
  text-align: center;
}

/* ---------- Search page ---------- */

.search-page {
  min-height: 100dvh;
  padding-bottom: calc(22px + var(--safe-bottom));
  background: var(--bg);
}

.search-header {
  position: sticky;
  z-index: 15;
  top: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: calc(var(--safe-top) + 10px) 14px 10px;
  background: rgba(246, 240, 229, 0.94);
  border-bottom: 1px solid rgba(79, 57, 32, 0.06);
  backdrop-filter: blur(18px);
}

.search-header .icon-btn {
  width: 38px;
  height: 38px;
}

.search-field {
  display: flex;
  height: 42px;
  min-width: 0;
  flex: 1;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: var(--shadow-xs);
}

.search-field .ico {
  width: 16px;
  height: 16px;
  opacity: 0.64;
}

.search-field input {
  min-width: 0;
  flex: 1;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 13px;
}

.search-field input::placeholder {
  color: var(--muted-2);
}

.search-clear {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  padding: 0;
  place-items: center;
  background: var(--surface-3);
  border: 0;
  border-radius: 50%;
}

.search-clear .ico {
  width: 10px;
  height: 10px;
}

.search-cancel {
  padding: 8px 0;
  color: var(--ink-2);
  background: none;
  border: 0;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}

.search-body {
  padding: 15px 16px;
}

.search-block {
  margin-bottom: 16px;
}

.search-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
}

.search-block-title {
  margin: 0;
  font-size: 14px;
  font-weight: 750;
}

.hot-searches {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.hot-chip {
  min-height: 30px;
  padding: 0 11px;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10.5px;
}

.search-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 4px 2px 11px;
}

.search-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 10.5px;
}

.search-summary strong {
  color: var(--ink-2);
  font-size: 12px;
}

.search-result-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.result-card {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 11px;
  width: 100%;
  padding: 9px;
  color: inherit;
  background: var(--surface);
  border: 1px solid rgba(79, 57, 32, 0.06);
  border-radius: 15px;
  box-shadow: var(--shadow-xs);
  text-align: left;
}

.result-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  background: var(--surface-3);
}

.result-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.result-media .mini-badge {
  position: absolute;
  top: 5px;
  left: 5px;
  padding: 2px 5px;
  color: #f7dfb2;
  background: rgba(48, 32, 17, 0.82);
  border-radius: 3px;
  font-size: 6.5px;
  font-weight: 700;
}

.result-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  padding: 1px 0;
}

.result-title {
  display: -webkit-box;
  overflow: hidden;
  margin: 1px 0 0;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.result-location {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 9px;
}

.result-location .ico {
  width: 9px;
  height: 9px;
}

.result-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 5px;
}

.result-tags span {
  padding: 2px 4px;
  color: #8a6b43;
  background: var(--gold-pale);
  border-radius: 3px;
  font-size: 7.5px;
}

.result-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 5px;
  margin-top: 7px;
}

.result-price {
  color: var(--orange);
  font-size: 17px;
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1;
}

.result-price small {
  margin-left: 1px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0;
}

.result-owner {
  color: var(--muted-2);
  font-size: 8px;
}

.search-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.search-tip {
  margin: 3px 2px 13px;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.6;
}

/* ---------- Overlay / sheet primitives ---------- */

.overlay {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

.overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 22, 13, 0.47);
  border: 0;
  backdrop-filter: blur(3px);
  animation: overlay-in 0.2s ease both;
}

.sheet-panel {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  max-width: var(--page-max);
  max-height: min(88dvh, 780px);
  flex-direction: column;
  overflow: hidden;
  background: var(--bg-soft);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -18px 50px rgba(33, 22, 11, 0.2);
  animation: sheet-up 0.28s cubic-bezier(0.16, 0.84, 0.26, 1) both;
}

.sheet-grabber {
  width: 34px;
  height: 4px;
  flex: 0 0 auto;
  margin: 8px auto 1px;
  background: rgba(79, 57, 32, 0.17);
  border-radius: 999px;
}

.sheet-head {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 17px 11px;
}

.sheet-head-copy {
  min-width: 0;
}

.sheet-title {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.sheet-desc {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.sheet-close {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  padding: 0;
  place-items: center;
  background: var(--surface-3);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.sheet-close .ico {
  width: 13px;
  height: 13px;
}

.sheet-scroll {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 2px 17px 8px;
}

.sheet-body {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.sheet-footer {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  padding: 10px 16px calc(10px + var(--safe-bottom));
  background: rgba(251, 246, 237, 0.96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.sheet-footer .btn {
  flex: 1;
  min-height: 46px;
  font-size: 13px;
}

.sheet-footer .btn-reset {
  flex: 0 0 88px;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 13px;
}

.sheet-group {
  padding: 13px 0 3px;
}

.sheet-group + .sheet-group {
  border-top: 1px solid var(--line);
}

.sheet-group-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 9px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}

.sheet-group-hint {
  color: var(--muted-2);
  font-size: 8.5px;
  font-weight: 400;
}

.choice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.choice {
  min-height: 34px;
  padding: 0 12px;
  color: var(--ink-2);
  background: #f8f0e3;
  border: 1px solid rgba(79, 57, 32, 0.06);
  border-radius: 9px;
  font-size: 10.5px;
  line-height: 1.3;
  transition: background 0.14s ease, color 0.14s ease;
}

.choice.active {
  color: #fff8eb;
  background: var(--brown);
  border-color: var(--brown);
  box-shadow: 0 4px 10px rgba(69, 47, 23, 0.14);
  font-weight: 650;
}

.choice-note {
  margin: 8px 0 0;
  color: var(--muted-2);
  font-size: 9px;
  line-height: 1.55;
}

.filter-count-copy {
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 650;
}

.filter-count-copy em {
  color: var(--orange);
  font-style: normal;
  font-weight: 800;
}

/* ---------- Modal (centered) ---------- */

.modal-overlay {
  position: fixed;
  z-index: 320;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
}

.modal-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 370px;
  overflow: hidden;
  background: var(--bg-soft);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  animation: modal-in 0.2s cubic-bezier(0.16, 0.84, 0.26, 1) both;
}

.modal-head {
  position: relative;
  padding: 21px 20px 10px;
}

.modal-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: center;
}

.modal-subtitle {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.6;
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 28px;
  height: 28px;
  padding: 0;
  place-items: center;
  background: var(--surface-3);
  border: 0;
  border-radius: 50%;
}

.modal-close .ico {
  width: 12px;
  height: 12px;
}

.modal-body {
  max-height: 58dvh;
  overflow-y: auto;
  padding: 7px 20px 18px;
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.75;
}

.modal-body p {
  margin: 0 0 11px;
}

.modal-actions {
  display: flex;
  gap: 8px;
  padding: 0 20px calc(18px + var(--safe-bottom));
}

.modal-actions .btn {
  min-height: 46px;
  flex: 1;
  font-size: 13px;
}

/* ---------- Publish sheet ---------- */

.publish-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 4px 15px 10px;
}

.publish-option {
  display: flex;
  min-height: 62px;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid rgba(79, 57, 32, 0.06);
  border-radius: 15px;
  text-align: left;
  transition: transform 0.15s ease;
}

.publish-option:active {
  transform: scale(0.985);
}

.publish-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 50%;
}

.publish-icon.green { background: var(--green); }
.publish-icon.orange { background: #e5733f; }
.publish-icon.gold { background: #b88745; }
.publish-icon.blue { background: var(--blue); }
.publish-icon.purple { background: var(--purple); }

.publish-icon .ico {
  width: 21px;
  height: 21px;
}

.publish-copy {
  min-width: 0;
  flex: 1;
}

.publish-title {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
}

.publish-tag {
  padding: 2px 4px;
  color: #fff7eb;
  background: var(--orange);
  border-radius: 3px;
  font-size: 7px;
  font-weight: 700;
}

.publish-tag.blue {
  background: var(--blue);
}

.publish-desc {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 9.5px;
}

.publish-option > .ico {
  width: 14px;
  height: 14px;
  opacity: 0.55;
}

.publish-sheet-close {
  display: grid;
  width: 34px;
  height: 34px;
  margin: 8px auto calc(12px + var(--safe-bottom));
  place-items: center;
  background: rgba(79, 57, 32, 0.08);
  border: 0;
  border-radius: 50%;
}

.publish-sheet-close .ico {
  width: 14px;
  height: 14px;
}

/* ---------- Listing detail ---------- */

.detail-page {
  min-height: 100dvh;
  padding-bottom: calc(82px + var(--safe-bottom));
  background: var(--bg);
}

.detail-hero {
  position: relative;
  height: min(78vw, 330px);
  min-height: 260px;
  overflow: hidden;
  background: var(--brown-deep);
}

.detail-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to bottom, rgba(26, 17, 9, 0.48), transparent 24%, transparent 65%, rgba(26, 17, 9, 0.2));
  pointer-events: none;
}

.detail-topbar {
  position: absolute;
  z-index: 5;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: calc(var(--safe-top) + 12px) 16px 8px;
}

.detail-hero-badges {
  position: absolute;
  z-index: 4;
  right: 16px;
  bottom: 39px;
  display: flex;
  gap: 6px;
}

.detail-image-count {
  position: absolute;
  z-index: 4;
  right: 16px;
  bottom: 12px;
  padding: 3px 8px;
  color: #f8ecd8;
  background: rgba(37, 25, 14, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  font-size: 8px;
  backdrop-filter: blur(8px);
}

.detail-sheet {
  position: relative;
  z-index: 6;
  margin-top: -24px;
  padding: 20px 16px 0;
  background: var(--bg);
  border-radius: 24px 24px 0 0;
}

.detail-type-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.detail-type {
  display: inline-flex;
  min-height: 23px;
  align-items: center;
  gap: 4px;
  padding: 0 7px;
  color: #81571f;
  background: var(--gold-soft);
  border-radius: 5px;
  font-size: 9px;
  font-weight: 700;
}

.detail-verification {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--green);
  font-size: 9px;
}

.detail-verification .ico {
  width: 12px;
  height: 12px;
}

.detail-title {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.38;
}

.detail-location {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.detail-location .ico {
  width: 12px;
  height: 12px;
}

.detail-price-box {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  margin-top: 15px;
  padding: 14px 15px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: var(--shadow-xs);
}

.detail-price {
  color: var(--orange);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1;
}

.detail-price small {
  margin-left: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
}

.detail-price-note {
  color: var(--muted);
  font-size: 9px;
  text-align: right;
  line-height: 1.5;
}

.detail-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 13px;
  padding: 13px 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 15px;
}

.detail-stat {
  min-width: 0;
  padding: 0 10px;
  text-align: center;
}

.detail-stat + .detail-stat {
  border-left: 1px solid var(--line);
}

.detail-stat strong {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-stat span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 8.5px;
}

.detail-card {
  margin-top: 13px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
}

.detail-card-title {
  margin: 0 0 11px;
  font-size: 15px;
  font-weight: 750;
}

.detail-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.detail-tag {
  padding: 5px 8px;
  color: #855f2c;
  background: var(--gold-pale);
  border: 1px solid rgba(170, 120, 52, 0.1);
  border-radius: 6px;
  font-size: 9px;
}

.detail-desc {
  margin: 0;
  color: var(--ink-2);
  font-size: 11.5px;
  line-height: 1.85;
  white-space: pre-line;
}

.detail-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 12px;
}

.detail-fact {
  min-width: 0;
  padding: 9px 10px;
  background: var(--surface-2);
  border-radius: 9px;
}

.detail-fact span {
  display: block;
  color: var(--muted);
  font-size: 8.5px;
}

.detail-fact strong {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 3px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.45;
  white-space: normal;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.owner-card {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 13px;
  padding: 14px;
  background:
    radial-gradient(85% 130% at 100% 0%, rgba(204, 157, 91, 0.13), transparent 50%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.owner-avatar {
  display: grid;
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  place-items: center;
  color: #f5e5ca;
  background: linear-gradient(135deg, #7b5732, #3f2b19);
  border: 2px solid rgba(255, 252, 244, 0.7);
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
}

.owner-copy {
  min-width: 0;
  flex: 1;
}

.owner-name-row {
  display: flex;
  align-items: center;
  gap: 5px;
}

.owner-name {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.owner-verified {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px 4px;
  color: var(--green);
  background: var(--green-soft);
  border-radius: 3px;
  font-size: 7px;
}

.owner-desc {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 9px;
}

.owner-phone {
  color: var(--muted);
  font-size: 10px;
}

.safety-card {
  display: flex;
  gap: 9px;
  margin-top: 13px;
  padding: 12px 13px;
  background: #f3ece0;
  border: 1px solid rgba(79, 57, 32, 0.055);
  border-radius: 13px;
}

.safety-card .ico {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-top: 1px;
  opacity: 0.75;
}

.safety-card p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.7;
}

.safety-card strong {
  color: var(--ink-2);
  font-weight: 650;
}

.detail-similar {
  margin: 20px 0 0;
}

.detail-similar .section-title {
  font-size: 17px;
}

.detail-similar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.detail-bottom-bar {
  position: fixed;
  z-index: 80;
  right: 0;
  bottom: 0;
  left: 50%;
  display: flex;
  width: 100%;
  max-width: var(--page-max);
  align-items: center;
  gap: 8px;
  padding: 8px 14px calc(8px + var(--safe-bottom));
  background: rgba(255, 252, 245, 0.96);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(63, 43, 22, 0.06);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.detail-action-mini {
  display: flex;
  min-width: 45px;
  min-height: 44px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  padding: 0 4px;
  color: var(--muted);
  background: none;
  border: 0;
  font-size: 8px;
}

.detail-action-mini .ico {
  width: 19px;
  height: 19px;
}

.detail-action-mini.favorited {
  color: var(--orange);
}

.detail-contact-btn {
  min-height: 46px;
  flex: 1;
  color: #fff9ed;
  background: linear-gradient(135deg, #d8703e, #b84f26);
  border: 0;
  border-radius: 13px;
  box-shadow: 0 6px 14px rgba(184, 79, 38, 0.2);
  font-size: 13px;
  font-weight: 750;
}

.detail-phone-btn {
  min-height: 46px;
  flex: 1;
  color: #f7fff9;
  background: linear-gradient(135deg, #368663, #25664a);
  border: 0;
  border-radius: 13px;
  box-shadow: 0 6px 14px rgba(37, 102, 74, 0.2);
  font-size: 13px;
  font-weight: 750;
}

/* ---------- Find shop ---------- */

.find-page {
  min-height: 100dvh;
  padding-bottom: calc(146px + var(--safe-bottom));
  background: var(--bg);
}

.find-hero {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  color: #fff9ed;
  background:
    radial-gradient(94% 120% at 93% 15%, rgba(203, 153, 83, 0.2), transparent 44%),
    linear-gradient(128deg, #26190f 0%, #47321f 58%, #2b1c11 100%);
  border-radius: 0 0 30px 30px;
}

.find-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(232, 199, 149, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 199, 149, 0.05) 1px, transparent 1px);
  background-size: 27px 27px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.find-hero::after {
  position: absolute;
  top: 65px;
  right: -102px;
  width: 286px;
  height: 286px;
  content: "";
  border: 1px solid rgba(218, 173, 104, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(218, 173, 104, 0.03), 0 0 0 85px rgba(218, 173, 104, 0.025);
}

.find-hero-inner {
  position: relative;
  z-index: 3;
  padding: 18px 22px 0;
}

.find-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: #d6b67e;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.05em;
}

.find-kicker::before {
  width: 4px;
  height: 4px;
  content: "";
  background: #d6b67e;
  border-radius: 50%;
}

.find-title {
  margin: 17px 0 11px;
  font-size: 37px;
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 1.18;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.2);
}

.find-title em {
  color: #dfbb7b;
  font-style: normal;
}

.find-sub {
  max-width: 264px;
  margin: 0;
  color: rgba(255, 248, 236, 0.61);
  font-size: 11px;
  line-height: 1.7;
}

.find-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 17px;
}

.find-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  color: rgba(255, 248, 235, 0.76);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 8.5px;
}

.find-chip .ico {
  width: 10px;
  height: 10px;
  opacity: 0.7;
}

.find-form-card {
  position: relative;
  z-index: 4;
  margin: -25px 14px 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(79, 57, 32, 0.05);
  border-radius: 22px;
  box-shadow: 0 15px 36px rgba(60, 41, 21, 0.11);
}

.find-form-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 19px 18px 12px;
}

.find-form-title {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.find-form-sub {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 9.5px;
}

.free-pill {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 24px;
  align-items: center;
  gap: 3px;
  padding: 0 7px;
  color: #6f4e24;
  background: var(--gold-soft);
  border-radius: 999px;
  font-size: 8.5px;
  font-weight: 650;
}

.free-pill .ico {
  width: 9px;
  height: 9px;
}

.form-rows {
  padding: 0 18px;
}

.form-row {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

.form-row.col {
  align-items: stretch;
  flex-direction: column;
  gap: 8px;
  padding: 13px 0 14px;
}

.form-label {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 3px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.form-label .required {
  color: var(--orange);
  font-size: 14px;
  line-height: 1;
}

.form-label .optional {
  color: var(--muted-2);
  font-size: 8px;
  font-weight: 400;
}

.form-value-btn {
  display: flex;
  min-width: 0;
  min-height: 38px;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  padding: 0;
  color: var(--ink-2);
  background: none;
  border: 0;
  font-size: 12px;
  text-align: right;
}

.form-value-btn .placeholder {
  overflow: hidden;
  color: var(--muted-2);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.form-value-btn .selected {
  overflow: hidden;
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.form-value-btn .ico {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  opacity: 0.55;
}

.form-value-btn .change-link {
  margin-right: 3px;
  color: var(--gold);
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-textarea {
  width: 100%;
  min-height: 102px;
  resize: vertical;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 11px;
  outline: 0;
  font-size: 11.5px;
  line-height: 1.65;
}

.form-textarea::placeholder {
  color: var(--muted-2);
}

.form-textarea:focus {
  border-color: rgba(170, 120, 52, 0.45);
  box-shadow: 0 0 0 3px rgba(170, 120, 52, 0.08);
}

.textarea-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.quick-tag {
  min-height: 25px;
  padding: 0 8px;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 8.5px;
}

.quick-tag:active {
  color: var(--brown);
  background: var(--gold-soft);
}

.char-count {
  flex: 0 0 auto;
  color: var(--muted-2);
  font-size: 8.5px;
  font-variant-numeric: tabular-nums;
}

.privacy-hint {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  margin: 0 18px;
  padding: 10px 0 4px;
  color: var(--muted-2);
  font-size: 8.5px;
  line-height: 1.6;
}

.privacy-hint .ico {
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  margin-top: 1px;
  opacity: 0.7;
}

.how-section {
  margin: 25px 16px 0;
}

.how-section-head {
  margin-bottom: 12px;
}

.how-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
}

.how-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 15px;
}

.how-step + .how-step {
  border-top: 1px solid var(--line);
}

.step-number {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  place-items: center;
  color: #7c5725;
  background: var(--gold-soft);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
}

.how-step h3 {
  margin: 1px 0 4px;
  font-size: 13px;
  font-weight: 700;
}

.how-step p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}

.trust-card {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin: 17px 16px 0;
  overflow: hidden;
  padding: 16px 8px;
  background:
    radial-gradient(75% 100% at 50% 0%, rgba(210, 164, 99, 0.2), transparent 60%),
    linear-gradient(140deg, #362417, #4a3421);
  border: 1px solid rgba(233, 196, 138, 0.13);
  border-radius: var(--r-lg);
  box-shadow: 0 10px 24px rgba(55, 36, 18, 0.15);
}

.trust-item {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 6px;
  color: #fff6e6;
  text-align: center;
}

.trust-item .ico {
  width: 23px;
  height: 23px;
  opacity: 0.86;
}

.trust-item strong {
  font-size: 10.5px;
  font-weight: 650;
}

.trust-item span {
  color: rgba(255, 246, 230, 0.5);
  font-size: 8px;
}

.faq-section {
  margin: 22px 16px 0;
}

.faq-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-question {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  color: var(--ink);
  background: none;
  border: 0;
  font-size: 12.5px;
  font-weight: 600;
  text-align: left;
}

.faq-question .ico {
  width: 13px;
  height: 13px;
  opacity: 0.55;
  transition: transform 0.2s ease;
}

.faq-question[aria-expanded="true"] .ico {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 15px 15px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.8;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .faq-question {
  color: var(--brown);
}

.service-footnote {
  margin: 19px 16px 0;
  padding-bottom: 10px;
  color: var(--muted-2);
  font-size: 8.5px;
  line-height: 1.8;
  text-align: center;
}

.find-sticky-footer {
  position: fixed;
  z-index: 90;
  bottom: 0;
  left: 50%;
  width: 100%;
  max-width: var(--page-max);
  padding: 9px 15px calc(9px + var(--safe-bottom));
  background: rgba(255, 252, 245, 0.96);
  border-top: 1px solid rgba(79, 57, 32, 0.08);
  box-shadow: 0 -9px 28px rgba(61, 42, 22, 0.07);
  backdrop-filter: blur(20px);
  transform: translateX(-50%);
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 8.5px;
  line-height: 1.55;
}

.checkbox {
  display: grid;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  margin-top: 0;
  padding: 0;
  place-items: center;
  background: var(--surface);
  border: 1px solid rgba(79, 57, 32, 0.28);
  border-radius: 4px;
}

.checkbox.checked {
  background: var(--brown);
  border-color: var(--brown);
}

.checkbox .ico {
  width: 9px;
  height: 9px;
  opacity: 0;
}

.checkbox.checked .ico {
  opacity: 1;
}

.consent-text {
  flex: 1;
}

.consent-link {
  display: inline;
  padding: 0;
  color: var(--gold);
  background: none;
  border: 0;
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.find-submit {
  display: flex;
  width: 100%;
  min-height: 47px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #f7edda;
  background: linear-gradient(135deg, #ceb185, #c4a376);
  border: 0;
  border-radius: 13px;
  font-size: 13px;
  font-weight: 750;
  transition: background 0.2s ease, color 0.2s ease;
}

.find-submit.ready {
  color: #fff8eb;
  background: linear-gradient(135deg, #6d4b2b, #3e2918);
  box-shadow: 0 7px 17px rgba(65, 43, 22, 0.19);
}

/* ---------- Demand success / picker list ---------- */

.success-body {
  padding: 8px 24px 22px;
  text-align: center;
}

.success-icon {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 6px auto 13px;
  place-items: center;
  background: var(--green-soft);
  border: 1px solid rgba(46, 120, 87, 0.12);
  border-radius: 50%;
}

.success-icon .ico {
  width: 29px;
  height: 29px;
}

.success-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.success-desc {
  margin: 8px auto 0;
  max-width: 270px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.success-summary {
  margin-top: 15px;
  padding: 11px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink-2);
  font-size: 10px;
  line-height: 1.8;
  text-align: left;
}

.success-summary strong {
  color: var(--ink);
  font-weight: 650;
}

.success-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.success-actions .btn {
  min-height: 43px;
  flex: 1;
  font-size: 12px;
}

.choice-sheet-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px 16px 12px;
  overflow-y: auto;
}

.choice-sheet-item {
  display: flex;
  min-height: 45px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 12px;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 12px;
  text-align: left;
}

.choice-sheet-item.active {
  color: var(--brown);
  background: var(--gold-pale);
  border-color: rgba(170, 120, 52, 0.26);
  font-weight: 700;
}

.choice-sheet-item .ico {
  width: 13px;
  height: 13px;
  opacity: 0;
}

.choice-sheet-item.active .ico {
  opacity: 1;
}

.phone-form {
  padding: 2px 20px 10px;
}

.phone-input {
  width: 100%;
  height: 49px;
  padding: 0 13px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  outline: 0;
  font-size: 16px;
  letter-spacing: 0.04em;
}

.phone-input:focus {
  border-color: rgba(170, 120, 52, 0.5);
  box-shadow: 0 0 0 3px rgba(170, 120, 52, 0.08);
}

.phone-form p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
}

.phone-error {
  min-height: 16px;
  margin-top: 5px;
  color: var(--red);
  font-size: 9px;
}

/* ---------- Video page ---------- */

.video-page {
  background: var(--bg);
}

.video-page .topbar {
  padding-bottom: 4px;
}

.video-hero {
  position: relative;
  min-height: 203px;
  overflow: hidden;
  margin-top: 5px;
  padding: 19px 20px 25px;
  color: #fffaf2;
  background:
    radial-gradient(80% 120% at 15% 0%, rgba(255, 225, 186, 0.26), transparent 48%),
    linear-gradient(132deg, #ff9b4a 0%, #f47728 48%, #e6611b 100%);
  border-radius: 0 0 26px 26px;
  isolation: isolate;
}

.video-hero::before {
  position: absolute;
  z-index: -1;
  top: -76px;
  right: -66px;
  width: 230px;
  height: 230px;
  content: "";
  border: 1px solid rgba(255, 246, 231, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(255, 246, 231, 0.04), 0 0 0 64px rgba(255, 246, 231, 0.035);
}

.video-hero::after {
  position: absolute;
  z-index: -1;
  right: -10px;
  bottom: -48px;
  left: -10px;
  height: 110px;
  content: "";
  background: rgba(255, 250, 241, 0.08);
  border-radius: 50% 50% 0 0;
  transform: rotate(-2deg);
}

.video-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255, 249, 239, 0.8);
  font-size: 9px;
  letter-spacing: 0.16em;
}

.video-eyebrow::before,
.video-eyebrow::after {
  width: 22px;
  height: 1px;
  content: "";
  background: rgba(255, 249, 239, 0.42);
}

.video-hero-title {
  margin: 9px 0 8px;
  font-size: 27px;
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 1.22;
  text-align: center;
  text-shadow: 0 2px 10px rgba(137, 58, 12, 0.13);
}

.video-hero-sub {
  margin: 0;
  color: rgba(255, 249, 239, 0.78);
  font-size: 10px;
  text-align: center;
}

.video-feature-pill {
  display: flex;
  width: max-content;
  min-height: 28px;
  align-items: center;
  gap: 5px;
  margin: 13px auto 0;
  padding: 0 10px;
  color: #fff8ed;
  background: rgba(158, 67, 15, 0.2);
  border: 1px solid rgba(255, 246, 230, 0.24);
  border-radius: 999px;
  font-size: 8.5px;
  backdrop-filter: blur(8px);
}

.video-feature-pill .ico {
  width: 11px;
  height: 11px;
}

.video-skyline {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  height: 49px;
  align-items: flex-end;
  gap: 2px;
  padding: 0 14px;
  opacity: 0.24;
  pointer-events: none;
}

.video-skyline span {
  display: block;
  flex: 1;
  background: rgba(255, 248, 236, 0.45);
  border-radius: 2px 2px 0 0;
}

.video-skyline span:nth-child(1) { height: 24px; }
.video-skyline span:nth-child(2) { height: 41px; }
.video-skyline span:nth-child(3) { height: 33px; }
.video-skyline span:nth-child(4) { height: 48px; }
.video-skyline span:nth-child(5) { height: 28px; }
.video-skyline span:nth-child(6) { height: 38px; }
.video-skyline span:nth-child(7) { height: 22px; }

.video-content {
  position: relative;
  z-index: 2;
  margin-top: -13px;
  padding: 16px 16px 0;
  background: var(--bg);
  border-radius: 24px 24px 0 0;
}

.video-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.video-count {
  color: var(--muted);
  font-size: 9.5px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.video-card {
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 0;
  color: inherit;
  background: var(--surface);
  border: 1px solid rgba(79, 57, 32, 0.065);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.video-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface-3);
}

.video-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.video-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to bottom, rgba(30, 20, 10, 0.15), transparent 38%, rgba(30, 20, 10, 0.28));
}

.video-badge {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 8px;
  display: inline-flex;
  min-height: 20px;
  align-items: center;
  gap: 3px;
  padding: 0 6px;
  color: #5f3f17;
  background: linear-gradient(135deg, #f7e7c8, #edcf9d);
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(49, 31, 14, 0.13);
  font-size: 8px;
  font-weight: 700;
}

.video-badge .ico {
  width: 9px;
  height: 9px;
}

.video-play {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  background: rgba(38, 27, 17, 0.48);
  border: 1px solid rgba(255, 249, 239, 0.55);
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(30, 20, 10, 0.16);
  backdrop-filter: blur(5px);
  transform: translate(-50%, -50%);
}

.video-play .ico {
  width: 17px;
  height: 17px;
  margin-left: 1px;
}

.video-duration {
  position: absolute;
  z-index: 2;
  right: 7px;
  bottom: 7px;
  padding: 2px 5px;
  color: #fff8ee;
  background: rgba(35, 24, 13, 0.57);
  border-radius: 3px;
  font-size: 7.5px;
  font-variant-numeric: tabular-nums;
}

.video-body {
  padding: 9px 10px 11px;
}

.video-meta-line {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 2px;
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-meta-line strong {
  color: var(--ink-2);
  font-size: 9.5px;
  font-weight: 650;
}

.video-size-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 5px;
}

.video-size {
  color: var(--ink);
  font-size: 19px;
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 1;
}

.video-layout {
  color: var(--muted);
  font-size: 8.5px;
}

.video-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-top: 7px;
}

.video-tags span {
  padding: 2px 4px;
  color: var(--ink-2);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 7.5px;
}

.video-card-title {
  display: -webkit-box;
  min-height: 30px;
  overflow: hidden;
  margin: 7px 0 0;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.video-price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4px;
  margin-top: 8px;
}

.video-price {
  color: var(--orange);
  font-size: 16px;
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1;
}

.video-area-meta {
  color: var(--muted-2);
  font-size: 7.5px;
}

.video-note {
  margin: 17px 2px 0;
  padding: 12px 14px;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 9px;
  line-height: 1.7;
}

.video-note strong {
  color: var(--ink-2);
  font-weight: 650;
}

/* ---------- Video detail player ---------- */

.video-detail {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 640px;
  overflow: hidden;
  color: #fff9ed;
  background: #17100a;
}

.video-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(90% 70% at 20% 10%, rgba(180, 110, 52, 0.2), transparent 60%),
    #17100a;
}

.video-stage::before {
  position: absolute;
  inset: -6%;
  content: "";
  background-image: var(--video-poster);
  background-position: center;
  background-size: cover;
  filter: blur(24px) saturate(0.82) brightness(0.52);
  transform: scale(1.08);
}

.video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  opacity: 0.96;
  filter: saturate(0.92) brightness(0.94);
  transform: scale(1.01);
}

.video-detail.is-playing .video-poster {
  animation: video-kenburns 30s ease-in-out infinite alternate;
}

.video-stage::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(to bottom, rgba(20, 13, 7, 0.57), transparent 22%, transparent 44%, rgba(20, 13, 7, 0.29) 64%, rgba(20, 13, 7, 0.97));
  pointer-events: none;
}

.video-detail-top {
  position: absolute;
  z-index: 8;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: calc(var(--safe-top) + 12px) 14px 8px;
}

.video-search-pill {
  display: flex;
  height: 35px;
  min-width: 0;
  flex: 1;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  color: rgba(255, 248, 236, 0.66);
  background: rgba(40, 28, 17, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  font-size: 10px;
}

.video-search-pill .ico {
  width: 13px;
  height: 13px;
  opacity: 0.7;
}

.video-utility {
  display: flex;
  gap: 7px;
}

.video-utility .icon-btn {
  width: 36px;
  height: 36px;
  color: #fff8ea;
  background: rgba(40, 28, 17, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.video-utility .icon-btn .ico {
  width: 17px;
  height: 17px;
}

.video-center {
  position: absolute;
  z-index: 6;
  top: 48%;
  left: 50%;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 9px;
  transform: translate(-50%, -50%);
}

.player-toggle {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  background: rgba(44, 30, 17, 0.38);
  border: 1.5px solid rgba(255, 248, 235, 0.74);
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(15, 9, 4, 0.21);
  backdrop-filter: blur(7px);
  transition: transform 0.18s ease, opacity 0.2s ease;
}

.player-toggle:active {
  transform: scale(0.94);
}

.player-toggle .ico {
  width: 25px;
  height: 25px;
}

.is-playing .player-toggle {
  opacity: 0.16;
}

.is-playing .player-toggle:hover,
.is-playing .player-toggle:focus-visible {
  opacity: 1;
}

.video-detail.is-playing .player-toggle {
  opacity: 0.16;
}

.video-detail.is-playing .player-toggle:hover,
.video-detail.is-playing .player-toggle:focus-visible {
  opacity: 1;
}

.video-live-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  color: rgba(255, 247, 233, 0.82);
  background: rgba(35, 23, 13, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 8px;
  backdrop-filter: blur(8px);
}

.video-live-label .dot {
  width: 4px;
  height: 4px;
  background: #ffb36b;
  border-radius: 50%;
}

.video-player-controls {
  position: absolute;
  z-index: 7;
  right: 16px;
  bottom: calc(219px + var(--safe-bottom));
  left: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.player-mini {
  display: grid;
  width: 27px;
  height: 27px;
  padding: 0;
  place-items: center;
  background: rgba(255, 249, 238, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 50%;
  backdrop-filter: blur(8px);
}

.player-mini .ico {
  width: 11px;
  height: 11px;
}

.player-time {
  flex: 0 0 auto;
  color: rgba(255, 248, 236, 0.7);
  font-size: 8.5px;
  font-variant-numeric: tabular-nums;
}

.player-track {
  position: relative;
  height: 3px;
  flex: 1;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.21);
  border-radius: 999px;
}

.player-progress {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  background: linear-gradient(90deg, #e2b76f, #f5dca9);
  border-radius: inherit;
  transition: width 0.3s linear;
}

.video-listing-sheet {
  position: absolute;
  z-index: 9;
  right: 12px;
  bottom: calc(11px + var(--safe-bottom));
  left: 12px;
  overflow: hidden;
  padding: 14px;
  color: #fff8ed;
  background: rgba(32, 23, 15, 0.81);
  border: 1px solid rgba(255, 247, 232, 0.12);
  border-radius: 21px;
  box-shadow: 0 17px 38px rgba(8, 4, 1, 0.28);
  backdrop-filter: blur(20px) saturate(1.1);
}

.video-listing-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.video-price-box {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.video-price-box strong {
  color: #f1c57e;
  font-size: 24px;
  font-weight: 850;
  letter-spacing: -0.05em;
  line-height: 1;
}

.video-price-box span {
  color: rgba(255, 248, 237, 0.59);
  font-size: 8.5px;
}

.video-listing-link {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  gap: 1px;
  padding: 0 8px;
  color: rgba(255, 247, 233, 0.88);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  font-size: 8.5px;
}

.video-listing-link .ico {
  width: 10px;
  height: 10px;
}

.video-listing-title {
  display: -webkit-box;
  overflow: hidden;
  margin: 8px 0 0;
  color: #fff8ed;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.video-listing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
  color: rgba(255, 248, 237, 0.54);
  font-size: 8.5px;
}

.video-listing-meta span + span::before {
  margin-right: 6px;
  content: "·";
}

.video-listing-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 11px;
}

.video-fav {
  display: flex;
  width: 48px;
  min-height: 42px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  color: rgba(255, 248, 236, 0.8);
  background: none;
  border: 0;
  font-size: 7.5px;
}

.video-fav .ico {
  width: 19px;
  height: 19px;
}

.video-fav.active {
  color: #f1ba66;
}

.video-secondary-btn {
  min-height: 42px;
  flex: 1;
  color: #fff8ed;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  font-size: 11px;
  font-weight: 650;
}

.video-primary-btn {
  min-height: 42px;
  flex: 1;
  color: #fff9ef;
  background: linear-gradient(135deg, #3a8562, #266b4e);
  border: 0;
  border-radius: 10px;
  box-shadow: 0 5px 12px rgba(12, 53, 36, 0.22);
  font-size: 11px;
  font-weight: 700;
}

.video-description {
  margin: 9px 0 0;
  padding-top: 9px;
  color: rgba(255, 248, 237, 0.58);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 8.5px;
  line-height: 1.6;
}

.video-detail-note {
  position: absolute;
  z-index: 6;
  top: calc(var(--safe-top) + 68px);
  left: 16px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 248, 236, 0.57);
  font-size: 8px;
}

.video-detail-note .dot {
  width: 3px;
  height: 3px;
  background: rgba(255, 248, 236, 0.5);
  border-radius: 50%;
}

/* ---------- Mine ---------- */

.mine-page {
  background: var(--bg);
}

.mine-header {
  position: relative;
  min-height: 195px;
  overflow: hidden;
  padding: calc(var(--safe-top) + 15px) 18px 72px;
  background:
    radial-gradient(75% 85% at 88% 0%, rgba(111, 172, 141, 0.22), transparent 60%),
    linear-gradient(135deg, #eaf6ee 0%, #f1f7ee 40%, #f6efe3 100%);
  border-radius: 0 0 28px 28px;
}

.mine-header::before {
  position: absolute;
  top: -72px;
  right: -57px;
  width: 230px;
  height: 230px;
  content: "";
  border: 1px solid rgba(50, 122, 91, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 30px rgba(50, 122, 91, 0.03), 0 0 0 67px rgba(50, 122, 91, 0.025);
}

.mine-header::after {
  position: absolute;
  right: -20px;
  bottom: 16px;
  width: 250px;
  height: 76px;
  content: "";
  background:
    linear-gradient(to top, rgba(72, 129, 100, 0.08), transparent),
    repeating-linear-gradient(90deg, transparent 0 15px, rgba(70, 125, 97, 0.07) 15px 31px);
  clip-path: polygon(0 100%, 0 61%, 9% 61%, 9% 36%, 21% 36%, 21% 51%, 34% 51%, 34% 24%, 49% 24%, 49% 43%, 61% 43%, 61% 33%, 77% 33%, 77% 54%, 89% 54%, 89% 43%, 100% 43%, 100% 100%);
  opacity: 0.72;
}

.mine-top-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.mine-top-row .icon-btn {
  width: 36px;
  height: 36px;
  color: #3c6e56;
  background: rgba(255, 255, 255, 0.48);
  border-color: rgba(47, 122, 92, 0.1);
  box-shadow: none;
}

.mine-top-row .icon-btn .ico {
  width: 17px;
  height: 17px;
}

.mine-top-row .icon-text {
  min-height: 28px;
  padding: 0 2px;
  color: #668474;
  background: none;
  border: 0;
  font-size: 8.5px;
  text-align: center;
}

.mine-top-action {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 1px;
}

.mine-top-action .ico {
  width: 21px;
  height: 21px;
}

.mine-profile {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 11px;
}

.mine-avatar-wrap {
  position: relative;
  flex: 0 0 auto;
}

.mine-avatar {
  display: grid;
  width: 63px;
  height: 63px;
  place-items: center;
  color: #47775e;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.89), transparent 35%),
    linear-gradient(135deg, #eff8ee, #e1f0e4);
  border: 3px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(51, 104, 78, 0.11);
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 700;
}

.mine-verified {
  position: absolute;
  right: -1px;
  bottom: 1px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: #fff;
  background: var(--green);
  border: 2px solid #eff7ee;
  border-radius: 50%;
}

.mine-verified .ico {
  width: 11px;
  height: 11px;
}

.mine-name {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.mine-uid {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 5px 0 0;
  color: #789182;
  font-size: 9px;
}

.mine-uid .pill {
  min-height: 18px;
  padding: 1px 5px;
  color: #4f7962;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(54, 118, 85, 0.1);
  font-size: 7px;
}

.mine-stats {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: -45px 16px 0;
  padding: 16px 2px;
  background: var(--surface);
  border: 1px solid rgba(79, 57, 32, 0.055);
  border-radius: var(--r-lg);
  box-shadow: 0 10px 24px rgba(70, 51, 28, 0.07);
}

.mine-stat {
  min-height: 48px;
  padding: 0 8px;
  background: none;
  border: 0;
  border-radius: 10px;
}

.mine-stat + .mine-stat {
  border-left: 1px solid var(--line);
}

.mine-stat strong {
  display: block;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.mine-stat span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 9.5px;
}

.mine-section {
  margin-top: 18px;
  padding: 0 16px;
}

.mine-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
}

.mine-section-title {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.mine-section-title::before {
  display: inline-block;
  width: 3px;
  height: 14px;
  margin-right: 7px;
  content: "";
  background: var(--green);
  border-radius: 3px;
}

.mine-section-link {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  padding: 5px 0;
  color: var(--muted);
  background: none;
  border: 0;
  font-size: 9.5px;
}

.mine-section-link .ico {
  width: 11px;
  height: 11px;
}

.mine-service-card {
  padding: 12px;
  background: var(--surface);
  border: 1px solid rgba(79, 57, 32, 0.055);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
}

.register-banner {
  display: flex;
  min-height: 67px;
  align-items: center;
  gap: 10px;
  padding: 11px;
  background: linear-gradient(120deg, #eaf5ee, #f4faf4);
  border: 1px dashed rgba(47, 122, 92, 0.24);
  border-radius: 12px;
}

.register-icon {
  display: grid;
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  place-items: center;
  background: var(--surface);
  border: 1px solid rgba(47, 122, 92, 0.1);
  border-radius: 9px;
}

.register-icon .ico {
  width: 18px;
  height: 18px;
}

.register-copy {
  min-width: 0;
  flex: 1;
}

.register-title {
  margin: 0;
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 750;
}

.register-desc {
  margin: 3px 0 0;
  color: #779082;
  font-size: 8.5px;
  line-height: 1.45;
}

.register-btn {
  min-height: 29px;
  flex: 0 0 auto;
  padding: 0 10px;
  color: #fff;
  background: var(--green);
  border: 0;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 650;
}

.mine-vip {
  position: relative;
  overflow: hidden;
  margin-top: 9px;
  padding: 13px 12px 12px;
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(198, 146, 75, 0.22), transparent 52%),
    linear-gradient(120deg, #faf1e3, #f7e9d6);
  border: 1px solid rgba(166, 115, 48, 0.12);
  border-radius: 13px;
}

.mine-vip::after {
  position: absolute;
  top: -31px;
  right: -20px;
  width: 100px;
  height: 100px;
  content: "";
  border: 1px solid rgba(166, 115, 48, 0.13);
  border-radius: 50%;
}

.mine-vip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mine-vip-title {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  color: #553a1e;
  font-size: 12.5px;
  font-weight: 750;
}

.mine-vip-title .ico {
  width: 15px;
  height: 15px;
}

.mine-vip-link {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  padding: 2px 0;
  color: #977347;
  background: none;
  border: 0;
  font-size: 8.5px;
}

.mine-vip-link .ico {
  width: 10px;
  height: 10px;
}

.mine-vip-sub {
  margin: 5px 0 9px;
  color: #967959;
  font-size: 8.5px;
}

.vip-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 12px;
}

.vip-benefit {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #7a5b39;
  font-size: 8.5px;
}

.vip-benefit .dot {
  width: 4px;
  height: 4px;
  background: #b58347;
  border-radius: 50%;
}

.vip-open-btn {
  width: 100%;
  min-height: 36px;
  margin-top: 10px;
  color: #fff7e9;
  background: linear-gradient(135deg, #74502d, #4a3019);
  border: 0;
  border-radius: 9px;
  box-shadow: 0 5px 12px rgba(81, 52, 26, 0.15);
  font-size: 10.5px;
  font-weight: 700;
}

.quick-service-card {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  row-gap: 14px;
  padding: 15px 6px 13px;
  background: var(--surface);
  border: 1px solid rgba(79, 57, 32, 0.055);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
}

.quick-service {
  display: flex;
  min-height: 61px;
  align-items: center;
  flex-direction: column;
  gap: 6px;
  padding: 0 2px;
  background: none;
  border: 0;
}

.quick-service-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(79, 57, 32, 0.045);
  border-radius: 11px;
}

.quick-service-icon .ico {
  width: 18px;
  height: 18px;
}

.quick-service:nth-child(1) .quick-service-icon { background: #e8f3ec; }
.quick-service:nth-child(2) .quick-service-icon { background: #f0efe8; }
.quick-service:nth-child(3) .quick-service-icon { background: #f9ece2; }
.quick-service:nth-child(4) .quick-service-icon { background: #edf1f4; }
.quick-service:nth-child(5) .quick-service-icon { background: #f7efdf; }
.quick-service:nth-child(6) .quick-service-icon { background: #f2eaf5; }
.quick-service:nth-child(7) .quick-service-icon { background: #e9f3ee; }
.quick-service:nth-child(8) .quick-service-icon { background: #f7e9dc; }

.quick-service-label {
  overflow: hidden;
  width: 100%;
  color: var(--ink-2);
  font-size: 9.5px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tools-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  padding: 11px;
  background: var(--surface);
  border: 1px solid rgba(79, 57, 32, 0.055);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
}

.tool-item {
  display: flex;
  min-height: 62px;
  align-items: center;
  gap: 9px;
  padding: 9px;
  background: var(--surface-2);
  border: 1px solid rgba(79, 57, 32, 0.045);
  border-radius: 11px;
  text-align: left;
}

.tool-icon {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  place-items: center;
  background: var(--surface);
  border: 1px solid rgba(79, 57, 32, 0.06);
  border-radius: 9px;
}

.tool-icon .ico {
  width: 16px;
  height: 16px;
}

.tool-copy {
  min-width: 0;
}

.tool-title {
  overflow: hidden;
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tool-desc {
  overflow: hidden;
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 7.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mine-footnote {
  padding: 22px 18px 10px;
  color: var(--muted-2);
  font-size: 8px;
  line-height: 1.8;
  text-align: center;
}

/* ---------- Publish form ---------- */

.publish-page {
  min-height: 100dvh;
  padding-bottom: calc(92px + var(--safe-bottom));
  background: var(--bg);
}

.publish-head {
  padding: 3px 16px 4px;
}

.publish-badge {
  display: inline-flex;
  min-height: 23px;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
  color: #82581f;
  background: var(--gold-soft);
  border-radius: 5px;
  font-size: 8.5px;
  font-weight: 650;
}

.publish-title {
  margin: 10px 0 0;
  font-size: 25px;
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 1.2;
}

.publish-subtitle {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}

.form-card {
  margin: 17px 16px 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(79, 57, 32, 0.055);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
}

.form-field {
  padding: 14px 15px;
  border-bottom: 1px solid var(--line);
}

.form-field:last-child {
  border-bottom: 0;
}

.field-label {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 7px;
  color: var(--ink-2);
  font-size: 10px;
  font-weight: 650;
}

.field-label .required {
  color: var(--orange);
}

.field-input {
  width: 100%;
  height: 40px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 13px;
}

.field-input::placeholder,
.field-textarea::placeholder {
  color: var(--muted-2);
}

.field-textarea {
  width: 100%;
  min-height: 82px;
  resize: vertical;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 12px;
  line-height: 1.7;
}

.field-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mini-select {
  display: flex;
  height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  padding: 0 10px;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 11px;
  text-align: left;
}

.mini-select.has-value {
  color: var(--ink);
}

.mini-select .ico {
  width: 12px;
  height: 12px;
  opacity: 0.55;
}

.upload-field {
  display: flex;
  gap: 8px;
}

.upload-box {
  display: flex;
  width: 72px;
  height: 72px;
  align-items: center;
  flex: 0 0 72px;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px dashed rgba(79, 57, 32, 0.2);
  border-radius: 10px;
  font-size: 8px;
}

.upload-box .ico {
  width: 17px;
  height: 17px;
  opacity: 0.6;
}

.upload-preview {
  position: relative;
  width: 72px;
  height: 72px;
  overflow: hidden;
  border-radius: 10px;
}

.upload-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-preview button {
  position: absolute;
  top: 3px;
  right: 3px;
  display: grid;
  width: 17px;
  height: 17px;
  padding: 0;
  place-items: center;
  color: #fff;
  background: rgba(30, 20, 10, 0.65);
  border: 0;
  border-radius: 50%;
}

.upload-preview button .ico {
  width: 8px;
  height: 8px;
}

.publish-tip {
  display: flex;
  gap: 5px;
  margin: 12px 17px 0;
  color: var(--muted-2);
  font-size: 8.5px;
  line-height: 1.7;
}

.publish-tip .ico {
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  margin-top: 1px;
}

.publish-submit-bar {
  position: fixed;
  z-index: 80;
  bottom: 0;
  left: 50%;
  width: 100%;
  max-width: var(--page-max);
  padding: 9px 16px calc(9px + var(--safe-bottom));
  background: rgba(255, 252, 245, 0.96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.publish-submit {
  width: 100%;
  min-height: 47px;
  color: #fff8eb;
  background: linear-gradient(135deg, #6d4b2b, #3f2a18);
  border: 0;
  border-radius: 13px;
  box-shadow: 0 7px 17px rgba(65, 43, 22, 0.18);
  font-size: 13px;
  font-weight: 700;
}

.publish-success {
  display: flex;
  min-height: 100dvh;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 30px 24px;
  background: var(--bg);
  text-align: center;
}

/* ---------- Modal content helpers ---------- */

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.benefit-list .ico {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  margin-top: 2px;
}

.demand-wall-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 18px 12px;
}

.demand-wall-item {
  padding: 11px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 11px;
}

.demand-wall-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.demand-wall-head strong {
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
}

.demand-wall-head span {
  color: var(--muted-2);
  font-size: 8px;
}

.demand-wall-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}

.demand-wall-tags span {
  padding: 2px 5px;
  color: #846037;
  background: var(--gold-pale);
  border-radius: 3px;
  font-size: 7.5px;
}

.demand-wall-note {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.6;
}

/* ---------- Toast ---------- */

.toast-root {
  position: fixed;
  z-index: 500;
  right: 0;
  bottom: calc(var(--tabbar-height) + var(--safe-bottom) + 15px);
  left: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 6px;
  pointer-events: none;
}

.toast {
  max-width: min(320px, calc(100vw - 48px));
  padding: 9px 14px;
  color: #fff9ed;
  background: rgba(51, 35, 21, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  box-shadow: 0 7px 20px rgba(42, 27, 13, 0.18);
  font-size: 10.5px;
  line-height: 1.5;
  text-align: center;
  animation: toast-in 0.2s ease both;
  backdrop-filter: blur(8px);
}

/* ---------- Animations ---------- */

@keyframes overlay-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes sheet-up {
  from { transform: translateY(102%); }
  to { transform: translateY(0); }
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes video-kenburns {
  from { transform: scale(1.01) translate3d(0, 0, 0); }
  to { transform: scale(1.09) translate3d(-1.3%, -1%, 0); }
}

/* ---------- Responsive refinements ---------- */

@media (min-width: 520px) {
  body {
    padding: 18px 0;
  }

  .app-shell {
    min-height: calc(100dvh - 36px);
    border-radius: 28px;
  }

  .page,
  .detail-page,
  .find-page,
  .publish-page {
    min-height: calc(100dvh - 36px);
  }

  .tabbar-shell {
    bottom: 18px;
    border-radius: 0 0 28px 28px;
  }

  .detail-bottom-bar,
  .find-sticky-footer,
  .publish-submit-bar {
    bottom: 18px;
    border-radius: 0 0 28px 28px;
  }

  .sheet-panel {
    margin-bottom: 18px;
    border-radius: 24px;
  }

  .publish-sheet-close {
    margin-bottom: 12px;
  }

  .toast-root {
    bottom: calc(var(--tabbar-height) + var(--safe-bottom) + 31px);
  }

  .video-detail {
    height: calc(100dvh - 36px);
    min-height: 604px;
    border-radius: 28px;
  }

  .video-listing-sheet {
    bottom: calc(11px + var(--safe-bottom));
  }
}

@media (max-width: 374px) {
  .hero-title { font-size: 25px; }
  .hero-copy { width: 70%; }
  .hero-art { right: -27px; width: 151px; }
  .quick-label { font-size: 10.5px; }
  .promo-title { font-size: 16.5px; }
  .promo-art { width: 112px; right: -7px; }
  .gold-title { font-size: 34px; }
  .find-title { font-size: 33px; }
  .rank-item { grid-template-columns: 24px 82px minmax(0, 1fr); gap: 7px; }
  .rank-title { font-size: 12px; }
  .result-card { grid-template-columns: 96px minmax(0, 1fr); }
}

@media (hover: hover) {
  .listing-card:hover {
    box-shadow: 0 12px 26px rgba(69, 47, 23, 0.11);
    transform: translateY(-2px);
  }

  .listing-card:hover .listing-media img {
    transform: scale(1.035);
  }

  .quick-item:hover .quick-icon {
    transform: translateY(-1px);
  }

  .video-card:hover .video-media img {
    transform: scale(1.035);
  }

  .rank-item:hover {
    background: var(--surface-2);
  }

  .rank-item {
    transition: background 0.16s ease;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
