/* ==========================================================================
   陌街 Moye Board — design system
   风格：夜色玫瑰（plum + 霓虹粉），偏成人夜生活的暧昧感，卡片式信息流
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --paper: #fdf3f6;
  --paper-2: #f9e7ee;
  --surface: #fffafc;
  --surface-2: #fdf1f5;
  --ink: #241620;
  --ink-2: #5d4753;
  --ink-3: #9a7d8b;
  --line: #f2d7e2;
  --line-strong: #e6bccd;

  --brand: #d6336c;
  --brand-ink: #a61e4d;
  --brand-soft: #ffe4ee;
  --accent: #ff3d7f;
  --accent-soft: #ffe8f1;
  --gold: #b5892c;

  --verified: #d6336c;
  --new: #8b5cf6;
  --hot: #ff3d7f;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;

  --shadow-1: 0 1px 2px rgba(80, 20, 45, .06), 0 8px 24px -18px rgba(160, 30, 80, .35);
  --shadow-2: 0 18px 50px -28px rgba(150, 25, 75, .45);

  --max: 1760px;
  --font: "Inter", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

[data-theme="dark"] {
  --paper: #120a10;
  --paper-2: #180d15;
  --surface: #1e121a;
  --surface-2: #26161f;
  --ink: #fbe9f1;
  --ink-2: #d3b6c5;
  --ink-3: #9c7a8c;
  --line: #35202c;
  --line-strong: #4a2c3b;

  --brand: #ff5c93;
  --brand-ink: #ff9dc0;
  --brand-soft: #35101f;
  --accent: #ff2d78;
  --accent-soft: #3a0f1f;
  --gold: #e2b25f;

  --verified: #ff5c93;
  --new: #b98bff;
  --hot: #ff2d78;

  --shadow-1: 0 1px 2px rgba(0, 0, 0, .5), 0 10px 30px -22px rgba(255, 45, 120, .35);
  --shadow-2: 0 24px 60px -30px rgba(255, 45, 120, .35);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brand); color: #fff; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 18px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- top notice ---------- */
.notice {
  background: var(--ink);
  color: #f4efe6;
  font-size: 12.5px;
  letter-spacing: .01em;
}
[data-theme="dark"] .notice { background: #05070a; border-bottom: 1px solid var(--line); }
.notice .wrap {
  display: flex; align-items: center; gap: 10px;
  min-height: 34px; padding-top: 4px; padding-bottom: 4px;
}
.notice p { flex: 1; min-width: 0; opacity: .82; }
.notice b { color: #fff; font-weight: 600; }
.notice .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); flex: none; }
.notice button {
  color: #f4efe6; opacity: .55; font-size: 16px; line-height: 1;
  padding: 2px 4px; border-radius: 4px;
}
.notice button:hover { opacity: 1; }
.notice.is-hidden { display: none; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.head-inner { display: flex; align-items: center; gap: 22px; height: 64px; }

.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  display: grid; place-items: center;
  background: var(--brand); color: #fff;
  font-weight: 700; font-size: 17px;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15);
}
[data-theme="dark"] .brand-mark { color: #2a0a16; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-size: 16px; font-weight: 700; letter-spacing: .08em; }
.brand-sub {
  font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-3); font-family: var(--mono);
}

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  padding: 7px 12px; border-radius: 999px;
  font-size: 13.5px; color: var(--ink-2); font-weight: 500;
  transition: background .18s, color .18s;
}
.main-nav a:hover { background: var(--paper-2); color: var(--ink); }
.main-nav a.is-active { background: var(--brand-soft); color: var(--brand-ink); font-weight: 600; }

.head-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-btn {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  color: var(--ink-2); border: 1px solid transparent;
  transition: background .18s, color .18s, border-color .18s;
}
.icon-btn:hover { background: var(--paper-2); color: var(--ink); border-color: var(--line); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: block; }
[data-theme="dark"] .theme-toggle .moon { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 18px; border-radius: 11px;
  font-size: 13.5px; font-weight: 600; letter-spacing: .01em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .16s, background .18s, box-shadow .18s, border-color .18s;
}
.btn svg, .chip svg { width: 15px; height: 15px; flex: none; }
.tabbar .pill svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-1); }
[data-theme="dark"] .btn-primary { color: #2a0a16; }
.btn-primary:hover { background: var(--brand-ink); }
[data-theme="dark"] .btn-primary:hover { background: #6fe0c7; }
.btn-ghost { border-color: var(--line-strong); color: var(--ink-2); background: var(--surface); }
.btn-ghost:hover { border-color: var(--ink-3); color: var(--ink); }
.btn-sm { padding: 7px 13px; font-size: 12.5px; border-radius: 9px; }
.btn-block { width: 100%; }

.head-search {
  display: none; align-items: center; gap: 8px;
  flex: 1; min-width: 0; max-width: 280px;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 0 12px; height: 36px; background: var(--surface);
}
.head-search input { border: 0; background: none; width: 100%; min-width: 0; font-size: 13px; outline: none; }
.head-search svg { width: 15px; height: 15px; color: var(--ink-3); flex: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 18px 0 10px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 62%);
  pointer-events: none; filter: blur(6px);
}
.hero::after {
  content: ""; position: absolute; left: -180px; top: 120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 16%, transparent), transparent 65%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 46px; align-items: center;
}
.hero-grid > * { min-width: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--brand-ink);
  background: var(--brand-soft); padding: 5px 12px; border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow .pulse {
  width: 6px; height: 6px; border-radius: 50%; background: currentColor;
  box-shadow: 0 0 0 0 currentColor; animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 55%, transparent); }
  70% { box-shadow: 0 0 0 7px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.hero h1 {
  font-size: clamp(30px, 4.3vw, 50px);
  line-height: 1.1; letter-spacing: -.035em; font-weight: 800;
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal; color: var(--brand);
  position: relative; white-space: nowrap;
}
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .32em;
  background: color-mix(in srgb, var(--brand) 18%, transparent);
  border-radius: 2px; z-index: -1;
}
.hero-lede {
  margin-top: 16px; font-size: 15.5px; color: var(--ink-2);
  max-width: 46ch;
}

.searchbar {
  margin-top: 26px; display: flex; gap: 8px;
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--r-lg); padding: 7px 7px 7px 8px;
  box-shadow: var(--shadow-2);
}
.searchbar:focus-within { border-color: var(--brand); }
.searchbar .sb-field { flex: 1; display: flex; align-items: center; gap: 9px; padding: 0 10px; min-width: 0; }
.searchbar svg { width: 17px; height: 17px; color: var(--ink-3); flex: none; }
.searchbar input {
  border: 0; background: none; outline: none; width: 100%; min-width: 0;
  font-size: 14.5px; padding: 9px 0;
}
.searchbar input::placeholder { color: var(--ink-3); }
.searchbar .btn { flex: none; padding: 11px 20px; }

.quick-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; padding-bottom: 8px; }
.quick-chips .label { font-size: 12px; color: var(--ink-3); margin-right: 2px; }
.chip {
  font-size: 12.5px; padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
  transition: border-color .18s, color .18s, background .18s;
}
.chip:hover { border-color: var(--brand); color: var(--brand-ink); background: var(--brand-soft); }

/* ticker card */
.ticker {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 18px 18px 8px;
  box-shadow: var(--shadow-2);
}
.ticker-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 10px; border-bottom: 1px dashed var(--line);
}
.ticker-head h2 { font-size: 13px; letter-spacing: .06em; font-weight: 700; }
.ticker-head .live {
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em;
  color: var(--accent); display: inline-flex; align-items: center; gap: 5px;
}
.ticker-head .live i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); animation: pulse 1.8s infinite; }
.ticker-list { display: grid; }
.ticker-item {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 4px; border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.ticker-item:last-child { border-bottom: 0; }
.ticker-item:hover .t { color: var(--brand-ink); }
.ticker-item .mono {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  display: grid; place-items: center; font-size: 13px; font-weight: 700;
  background: var(--paper-2); color: var(--ink-2);
}
.ticker-item .ti-body { min-width: 0; flex: 1; }
.ticker-item .t {
  display: block; font-weight: 600; font-size: 12.8px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: color .18s;
}
.ticker-item .m { font-size: 11.5px; color: var(--ink-3); font-family: var(--mono); letter-spacing: .02em; }
.ticker-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 2px 8px; font-size: 11.5px; color: var(--ink-3);
  border-top: 1px dashed var(--line); margin-top: 2px;
}
.ticker-foot a { color: var(--brand-ink); font-weight: 600; }

/* ---------- section heading ---------- */
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: 18px;
}
.sec-head h2 { font-size: 20px; letter-spacing: -.02em; font-weight: 750; }
.sec-head h2 span { color: var(--ink-3); font-weight: 500; font-size: 13px; margin-left: 8px; letter-spacing: 0; }
.sec-head p { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.sec-head .more { font-size: 12.5px; color: var(--brand-ink); font-weight: 600; white-space: nowrap; }

/* ---------- strip ---------- */
.strip { padding: 12px 0 6px; }
.strip-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(216px, 300px);
  gap: 14px; overflow-x: auto; padding-bottom: 12px;
  scroll-snap-type: x mandatory; scrollbar-width: thin;
}
.strip-rail::-webkit-scrollbar { height: 6px; }
.strip-rail::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }
.strip-card {
  scroll-snap-align: start;
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--surface); padding: 12px 13px;
  transition: border-color .18s, transform .18s;
}
.strip-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.strip-card .sc-top { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; }
.strip-card .sc-dot { width: 7px; height: 7px; border-radius: 2px; background: var(--brand); flex: none; }
.strip-card .sc-region { font-size: 11px; font-family: var(--mono); letter-spacing: .06em; color: var(--ink-3); }
.strip-card .sc-title {
  font-size: 13.2px; font-weight: 600; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.strip-card .sc-meta { margin-top: 8px; font-size: 11.5px; color: var(--ink-3); display: flex; justify-content: space-between; }
.strip-card .sc-price { color: var(--accent); font-weight: 700; }

/* ---------- main layout ---------- */
.browse { padding: 34px 0 20px; }
.browse-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; align-items: start; }
.browse-grid.no-filter { grid-template-columns: minmax(0, 1fr); max-width: none; }

/* ---------- 顶部横排广告位（5 个，支持动图） ---------- */
.ad-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; padding: 0 18px; max-width: 1760px; margin: 0 auto; }
.ad-slot {
  position: relative; border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; background: var(--surface); aspect-ratio: 1 / 1;
  box-shadow: var(--shadow-1);
}
.ad-slot > a, .ad-slot > img { display: block; width: 100%; height: 100%; }
.ad-slot img { width: 100%; height: 100%; object-fit: cover; }
.ad-slot.is-filled:hover { border-color: var(--brand); }
.ad-tag {
  position: absolute; right: 6px; bottom: 5px; font-family: var(--mono);
  font-size: 8.5px; letter-spacing: .1em; color: #fff;
  background: rgba(0, 0, 0, .5); padding: 1px 4px; border-radius: 4px;
}
.ad-empty {
  height: 100%; display: grid; place-content: center; justify-items: center;
  gap: 3px; text-align: center;
  color: var(--ink-3); font-size: 10.5px; padding: 8px;
  background: repeating-linear-gradient(45deg, transparent 0 9px,
    color-mix(in srgb, var(--brand) 7%, transparent) 9px 18px);
}
.ad-empty b { font-size: 11.5px; color: var(--ink-2); font-weight: 700; }
.ad-empty a { color: var(--brand-ink); font-weight: 600; }
.ad-empty a:hover { text-decoration: underline; }

@media (max-width: 1080px) {
  .browse-grid { grid-template-columns: 200px minmax(0, 1fr); }
  .ad-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .browse-grid { grid-template-columns: minmax(0, 1fr); }
  .ad-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .ad-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0 12px; }
  .ad-slot { border-radius: 10px; }
}

/* ---------- 城市大按钮 ---------- */
.city-bar {
  display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 0 10px;
  scrollbar-width: thin;
}

/* 分类胶囊 */
.cat-bar {
  display: flex; flex-wrap: wrap; gap: 8px; padding: 0 0 14px;
  scrollbar-width: thin;
}
.cat-chip {
  display: inline-flex; align-items: center; gap: 5px; flex: none;
  font-size: 13px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
  transition: border-color .16s, color .16s, background .16s, transform .16s;
}
.cat-chip:hover { border-color: var(--brand); color: var(--brand-ink); transform: translateY(-1px); }
.cat-chip .ci { font-size: 12px; opacity: .8; }
.cat-chip.is-on {
  color: #fff; border-color: transparent;
  background: linear-gradient(135deg, var(--brand), var(--accent));
}
@media (max-width: 720px) {
  .cat-bar {
    flex-wrap: nowrap; overflow-x: auto; gap: 8px; padding-bottom: 12px;
    -webkit-overflow-scrolling: touch;
  }
  .cat-chip { font-size: 12.5px; padding: 6px 12px; }
}
/* 纽约分区（第二排） */
.sub-bar {
  display: flex; align-items: center; gap: 8px; overflow-x: auto;
  padding: 0 0 18px; scrollbar-width: thin;
}
.sub-label {
  flex: none; font-size: 10.5px; letter-spacing: .12em; color: var(--ink-3);
  font-family: var(--mono); text-transform: uppercase; padding-right: 2px;
}
.sub-chip {
  flex: none; font-size: 12.5px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
  transition: border-color .16s, color .16s, background .16s;
}
.sub-chip:hover { border-color: var(--brand); color: var(--brand-ink); }
.sub-chip.is-on {
  color: #fff; border-color: transparent;
  background: linear-gradient(135deg, var(--brand), var(--accent));
}
.city-bar::-webkit-scrollbar { height: 5px; }
.city-bar::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }
.city {
  flex: none; scroll-snap-align: start; text-align: left; cursor: pointer;
  min-width: 112px; padding: 10px 14px; border-radius: 13px;
  border: 1px solid var(--line-strong); background: var(--surface);
  transition: border-color .18s, transform .18s, box-shadow .18s, background .18s;
}
.city:hover { transform: translateY(-2px); border-color: var(--brand); }
.city .c-name {
  display: block; font-size: 18px; font-weight: 800; letter-spacing: -.02em;
  color: var(--ink); line-height: 1.2; white-space: nowrap;
}
.city .c-en {
  display: block; margin-top: 3px; font-family: var(--mono);
  font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3);
}
.city.is-on {
  border-color: var(--brand);
  background: linear-gradient(180deg, var(--brand-soft), var(--surface) 72%);
  box-shadow: 0 0 0 1px var(--brand), var(--shadow-1);
}
.city.is-on .c-name { color: var(--brand-ink); }
@media (max-width: 560px) {
  .city { min-width: 108px; padding: 9px 13px; }
  .city .c-name { font-size: 15.5px; }
}

/* ---------- filters ---------- */
.filters {
  position: sticky; top: 78px;
  display: grid; gap: 22px;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); padding: 18px;
}
.filter-head { display: flex; align-items: center; justify-content: space-between; }
.filter-head h3 { font-size: 13px; letter-spacing: .04em; font-weight: 700; }
.filter-head button { font-size: 11.5px; color: var(--ink-3); }
.filter-head button:hover { color: var(--accent); }
.fgroup > .fg-label {
  display: block; font-size: 11px; font-family: var(--mono);
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 9px;
}
.fgroup .opts { display: flex; flex-wrap: wrap; gap: 6px; }
.opt {
  font-size: 12.5px; padding: 5px 11px; border-radius: 8px; white-space: nowrap;
  border: 1px solid var(--line); color: var(--ink-2);
  background: var(--surface-2); transition: all .16s;
}
.opt:hover { border-color: var(--line-strong); color: var(--ink); }
.opt.is-on {
  background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600;
}
[data-theme="dark"] .opt.is-on { color: #2a0a16; }

.range-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; }
.range-row .val { font-family: var(--mono); font-size: 12px; color: var(--accent); font-weight: 600; }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 4px;
  border-radius: 2px; background: var(--line-strong); outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 15px; height: 15px; border-radius: 50%;
  background: var(--brand); border: 2px solid var(--surface);
  box-shadow: 0 0 0 1px var(--brand); cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
  width: 13px; height: 13px; border-radius: 50%; background: var(--brand);
  border: 2px solid var(--surface); cursor: pointer;
}
.range-scale { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--ink-3); margin-top: 4px; font-family: var(--mono); }

.switch-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 12.8px; color: var(--ink-2);
}
.switch { position: relative; width: 38px; height: 21px; flex: none; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch span {
  position: absolute; inset: 0; border-radius: 999px; background: var(--line-strong);
  transition: background .2s; pointer-events: none;
}
.switch span::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 17px; height: 17px;
  border-radius: 50%; background: #fff; transition: transform .2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
}
.switch input:checked + span { background: var(--brand); }
.switch input:checked + span::after { transform: translateX(17px); }
.switch input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ---------- toolbar ---------- */
.toolbar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 20px;
}
.toolbar .result { font-size: 13px; color: var(--ink-2); }
.toolbar .result b { color: var(--ink); font-weight: 700; }
.sort-group { display: flex; gap: 4px; margin-left: auto; background: var(--paper-2); padding: 3px; border-radius: 10px; }
.sort-group button {
  font-size: 12.5px; padding: 5px 12px; border-radius: 8px; color: var(--ink-2);
  transition: background .16s, color .16s;
}
.sort-group button:hover { color: var(--ink); }
.sort-group button.is-on { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: var(--shadow-1); }
.mobile-filter-btn { display: none; }

/* ---------- listing grid ---------- */
.grid { display: grid; grid-template-columns: 1fr; gap: 12px; }

/* 网页端一行两个广告 */
@media (min-width: 900px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .ad-row { grid-template-columns: 190px minmax(0, 1fr) 118px; gap: 14px; padding: 12px; }
  .ad-thumb { height: 112px; }
  .ad-title { font-size: 16.5px; }
  .ad-addr { font-size: 13px; }
  .ad-price { font-size: 20px; }
  .ad-meta { font-size: 12px; }
}


.card {
  position: relative; display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); overflow: hidden;
  transition: transform .2s cubic-bezier(.2, .7, .3, 1), box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }

.card-media {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  display: grid; place-items: center;
  background: var(--paper-2);
}
.card-media::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .22) 1px, transparent 1px);
  background-size: 5px 5px; opacity: .35; mix-blend-mode: overlay;
}
.card-mono {
  position: relative; z-index: 1;
  font-size: 54px; font-weight: 800; letter-spacing: -.04em;
  color: rgba(255, 255, 255, .92);
  text-shadow: 0 6px 30px rgba(0, 0, 0, .28);
}
.card-media .corner {
  position: absolute; z-index: 2; top: 10px; left: 10px;
  display: flex; gap: 5px; flex-wrap: wrap; max-width: calc(100% - 20px);
}
.tag-badge {
  font-size: 10.5px; font-weight: 700; letter-spacing: .03em;
  padding: 3px 8px; border-radius: 6px; backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, .84); color: #1a1f26;
}
.tag-badge.verified { color: #a61e4d; background: rgba(255, 228, 238, .94); }
.tag-badge.new { color: #6d3fc4; background: rgba(240, 232, 255, .94); }
.tag-badge.hot { color: #c1185a; background: rgba(255, 226, 238, .95); }
.card-price {
  position: absolute; z-index: 3; right: 12px; bottom: 12px;
  background: rgba(16, 18, 22, .72); color: #fff;
  backdrop-filter: blur(8px);
  padding: 4px 10px; border-radius: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .01em;
  border: 1px solid rgba(255, 255, 255, .16);
}
.card-price small { font-weight: 500; opacity: .72; font-size: 10.5px; margin-left: 2px; }
.card-age {
  position: absolute; z-index: 2; left: 10px; bottom: 10px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .08em;
  color: #fff; opacity: .92; text-shadow: 0 1px 6px rgba(0, 0, 0, .6);
}

.card-body { padding: 16px 18px 0; flex: 1; }
.card-title {
  font-size: 15.8px; font-weight: 650; line-height: 1.45; letter-spacing: -.005em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.9em;
}
.card-meta {
  display: flex; align-items: center; gap: 6px; margin-top: 8px;
  font-size: 11.5px; color: var(--ink-3); flex-wrap: wrap;
}
.card-meta .region { color: var(--ink-2); font-weight: 600; }
.card-meta .sep { opacity: .5; }
.card-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 9px; }
.mini-tag {
  font-size: 10.5px; padding: 2px 7px; border-radius: 5px;
  background: var(--paper-2); color: var(--ink-2); border: 1px solid var(--line);
}
.card-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px 14px; margin-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 11.5px; color: var(--ink-3); font-family: var(--mono); letter-spacing: .02em;
}
.card-foot .views { display: inline-flex; align-items: center; gap: 4px; }
.card-foot svg { width: 12px; height: 12px; }

/* 卡片里的真图 + 简介 + 图数角标 */
.card-media img.card-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.card-media.has-img::after { opacity: .12; }
.card-media .card-mono { z-index: 1; }
.card-media .card-age, .card-media .card-price, .card-media .corner { z-index: 3; }
.card-count {
  position: absolute; z-index: 3; right: 10px; top: 10px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .02em;
  background: rgba(0, 0, 0, .55); color: #fff; padding: 2px 7px; border-radius: 6px;
  backdrop-filter: blur(6px);
}
.card-intro {
  margin-top: 7px; font-size: 12.8px; line-height: 1.6; color: var(--ink-3);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card .card-price { font-size: 13.5px; }

/* ==========================================================================
   列表式广告行（参考 nyincall：缩略图 + 标题 + 地址 + 类型/时间）
   ========================================================================== */
.ad-row {
  display: grid; grid-template-columns: 280px minmax(0, 1fr) 170px;
  gap: 20px; align-items: center;
  padding: 14px; border: 1px solid var(--line); border-radius: 16px;
  background: var(--surface); transition: border-color .18s, background .18s, transform .18s;
}
.ad-row:hover {
  border-color: var(--brand); transform: translateY(-1px);
  background: linear-gradient(90deg, var(--brand-soft), var(--surface) 60%);
}
.ad-thumb {
  position: relative; border-radius: 10px; overflow: hidden;
  height: 158px; display: grid; place-items: center;
}
.ad-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ad-initial { font-size: 38px; font-weight: 800; color: rgba(255, 255, 255, .9); letter-spacing: -.04em; }
.ad-thumb-count {
  position: absolute; right: 8px; bottom: 8px; z-index: 2;
  font-size: 10.5px; font-weight: 700; color: #fff;
  background: rgba(0, 0, 0, .55); padding: 2px 6px; border-radius: 5px;
}
.ad-thumb .tag-badge { position: absolute; left: 8px; top: 8px; z-index: 2; }
.ad-main { min-width: 0; padding: 4px 0; }
.ad-title {
  font-size: 19px; font-weight: 750; letter-spacing: -.01em; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ad-addr {
  margin-top: 7px; font-size: 14px; color: var(--ink-2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ad-meta { display: flex; gap: 10px; align-items: center; flex-wrap: nowrap; margin-top: 8px; font-size: 13px; color: var(--ink-3); overflow: hidden; }
.ad-type {
  font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 4px;
  color: var(--brand-ink); background: var(--brand-soft);
  border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent);
}
.ad-hours { font-family: var(--mono); font-size: 11px; letter-spacing: .02em; }
.ad-region { font-size: 11.5px; }
.ad-tags { display: flex; gap: 6px; margin-top: 9px; flex-wrap: wrap; }
.ad-row .ad-type { font-size: 12px; padding: 2px 9px; }
.ad-side {
  display: flex; flex-direction: column; align-items: flex-end; justify-content: center;
  gap: 2px; padding-left: 10px; border-left: 1px dashed var(--line);
}
.ad-price { font-size: 24px; font-weight: 800; color: var(--accent); letter-spacing: -.02em; }
.ad-price small { font-size: 11px; font-weight: 500; color: var(--ink-3); margin-left: 1px; }
.ad-left { font-size: 13px; color: var(--ink-3); font-family: var(--mono); }
.ad-left b { color: var(--ink); }
.ad-cta { font-size: 11.5px; color: var(--brand-ink); font-weight: 600; }
/* 手机端：信息流（去卡片边框、通栏图片、紧凑文字），滑动更像原生 feed */
@media (max-width: 720px) {
  .browse { padding: 16px 0 8px; }
  .grid { gap: 0; }
  /* 左图右文：一屏能看 4–5 条 */
  .ad-row {
    display: grid; grid-template-columns: 118px minmax(0, 1fr);
    grid-template-rows: auto auto; column-gap: 12px; row-gap: 0;
    padding: 11px 12px; border-radius: 0;
    border: 0; border-bottom: 1px solid var(--line);
    background: transparent; box-shadow: none;
  }
  .ad-row:hover { background: transparent; transform: none; }
  .ad-thumb {
    grid-row: 1 / span 2; width: 100%; height: 100%;
    min-height: 92px; aspect-ratio: auto; border-radius: 10px;
  }
  .ad-initial { font-size: 28px; }
  .ad-thumb-count { right: 5px; bottom: 5px; font-size: 9.5px; padding: 1px 5px; }
  .ad-thumb .tag-badge { left: 5px; top: 5px; font-size: 9.5px; padding: 1px 5px; }

  .ad-main { grid-column: 2; display: flex; flex-direction: column; padding: 0; }
  .ad-main .ad-addr {
    order: 1; margin-top: 0; font-size: 12.8px; color: var(--ink-2);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.45;
  }
  .ad-main .ad-meta { order: 2; margin-top: 4px; gap: 7px; font-size: 11.5px; }
  .ad-main .ad-title {
    order: 3; margin-top: 5px; font-size: 14.8px; font-weight: 750;
    line-height: 1.4; -webkit-line-clamp: 2;
  }
  .ad-main .ad-tags { order: 4; margin-top: 6px; gap: 5px; }
  .ad-main .ad-tags .mini-tag { font-size: 10px; padding: 1px 6px; }
  .ad-side {
    grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between;
    border-left: 0; border-top: 0; padding: 7px 0 0; margin-top: 2px;
  }
  .ad-price { font-size: 16.5px; }
  .ad-left { font-size: 11.5px; }
  .ad-cta { order: 3; font-size: 11.5px; }

  /* 顶部 6 个广告位：一条横滑，别把信息流顶下去 */
  .ad-strip {
    grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 46%;
    overflow-x: auto; gap: 10px; padding: 0 12px 10px;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .ad-strip::-webkit-scrollbar { display: none; }
  .ad-slot { border-radius: 12px; scroll-snap-align: start; }
  .ad-empty { padding: 10px 8px; }
  .ad-empty span { display: none; }

  /* 城市 / 分区：更紧凑，横滑顺手 */
  .city-bar {
    flex-wrap: nowrap; overflow-x: auto; gap: 8px; padding: 2px 0 8px;
    -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity;
  }
  .city { padding: 10px 14px; }
  .sub-bar { padding: 0 0 12px; -webkit-overflow-scrolling: touch; }

  /* 列表工具栏与加载更多：触底自动续接，不再让用户点按钮 */
  .toolbar { margin-bottom: 8px; }
  .load-more { padding: 12px 0 18px; border-top: 0; }
  .load-more .bar { display: none; }
  .load-more .progress { font-size: 11.5px; color: var(--ink-3); }
  #load-btn { display: none !important; }
}

/* 上滑到底自动续接下一页（手机 feed 感） */
#load-more.is-auto { border-top: 0; }


/* skeleton / empty */
.empty {
  grid-column: 1 / -1; padding: 60px 20px; text-align: center;
  border: 1px dashed var(--line-strong); border-radius: var(--r-lg);
  color: var(--ink-3);
}
.empty strong { display: block; color: var(--ink); font-size: 15px; margin-bottom: 6px; }

.load-more { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 30px 0 8px; }
.load-more .progress { font-size: 11.5px; color: var(--ink-3); font-family: var(--mono); letter-spacing: .06em; }
.load-more .bar { width: 160px; height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; }
.load-more .bar i { display: block; height: 100%; background: var(--brand); width: 0; transition: width .3s; }

/* ---------- safety band ---------- */
.safety { padding: 44px 0 20px; }
.safety-inner {
  border: 1px solid var(--line); border-radius: var(--r-xl);
  background: var(--surface); padding: 26px 28px;
  display: grid; grid-template-columns: .9fr 1.6fr; gap: 30px; align-items: center;
}
.safety h2 { font-size: 18px; letter-spacing: -.01em; }
.safety p.sub { font-size: 13px; color: var(--ink-2); margin-top: 6px; }
.safety-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sp .num {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; color: var(--brand);
  display: block; margin-bottom: 6px;
}
.sp strong { display: block; font-size: 13.5px; margin-bottom: 3px; }
.sp p { font-size: 12.2px; color: var(--ink-3); line-height: 1.55; }

/* ---------- footer ---------- */
.site-foot { margin-top: 40px; border-top: 1px solid var(--line); background: var(--paper-2); }
.foot-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px;
  padding: 40px 0 28px;
}
.foot-brand .brand { margin-bottom: 12px; }
.foot-brand p { font-size: 12.5px; color: var(--ink-3); max-width: 32ch; line-height: 1.7; }
.foot-col h4 {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3); font-family: var(--mono); font-weight: 600; margin-bottom: 12px;
}
.foot-col a { display: block; font-size: 12.8px; color: var(--ink-2); padding: 4px 0; }
.foot-col a:hover { color: var(--brand-ink); }
.foot-bottom {
  border-top: 1px solid var(--line); padding: 16px 0 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 11.5px; color: var(--ink-3);
}
.foot-bottom .badge18 {
  border: 1px solid var(--line-strong); border-radius: 6px; padding: 2px 7px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .1em;
}

/* ---------- mobile bottom nav ---------- */
.tabbar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
}
.tabbar ul { display: grid; grid-template-columns: repeat(5, 1fr); }
.tabbar a {
  display: grid; justify-items: center; gap: 2px; padding: 5px 2px;
  font-size: 10px; color: var(--ink-3);
}
.tabbar a svg { width: 20px; height: 20px; }
.tabbar a.is-active { color: var(--brand); }
.tabbar .tab-post .pill {
  background: var(--brand); color: #fff; border-radius: 9px; padding: 4px 12px;
  display: grid; place-items: center; margin-top: -8px;
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .5);
}

/* ==========================================================================
   detail page
   ========================================================================== */
.crumbs {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 22px 0 14px; font-size: 12.2px; color: var(--ink-3);
}
.crumbs a:hover { color: var(--brand-ink); }
.crumbs .sep { opacity: .5; }
.crumbs .now { color: var(--ink-2); }

.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 30px; align-items: start; }
.detail-head { margin-bottom: 20px; }
.detail-head .flags { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.detail-head h1 {
  font-size: clamp(22px, 2.6vw, 31px); line-height: 1.28; letter-spacing: -.025em;
  font-weight: 780; text-wrap: balance;
}
.detail-sub { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; font-size: 12.5px; color: var(--ink-3); }
.detail-sub .item { display: inline-flex; align-items: center; gap: 5px; }
.detail-sub .item svg { width: 14px; height: 14px; flex: none; color: var(--ink-3); }
.detail-sub .item b { color: var(--ink-2); font-weight: 600; }
.detail-sub .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); }

.gallery {
  border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden;
  background: var(--surface);
}
.gallery-main {
  position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center;
  transition: background .3s;
}
.gallery-main::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .2) 1px, transparent 1px);
  background-size: 6px 6px; opacity: .3; mix-blend-mode: overlay;
}
.gallery-main .g-mono { position: relative; z-index: 1; font-size: 92px; font-weight: 800; color: rgba(255, 255, 255, .94); letter-spacing: -.05em; text-shadow: 0 10px 50px rgba(0, 0, 0, .3); }
.gallery-main .g-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery-main.has-img::after { opacity: .1; }
.gthumb.has-pic { padding: 0; overflow: hidden; }
.gthumb.has-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-main .g-note {
  position: absolute; z-index: 2; left: 14px; bottom: 14px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em;
  color: rgba(255, 255, 255, .85); background: rgba(0, 0, 0, .32);
  padding: 4px 9px; border-radius: 6px; backdrop-filter: blur(6px);
}
.gallery-thumbs { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); overflow-x: auto; }
.gthumb {
  flex: none; width: 74px; height: 56px; border-radius: 8px;
  border: 1px solid var(--line); display: grid; place-items: center;
  font-size: 15px; font-weight: 700; color: rgba(255, 255, 255, .9);
  opacity: .65; transition: opacity .18s, border-color .18s;
}
.gthumb:hover, .gthumb.is-on { opacity: 1; border-color: var(--brand); }

.panel {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); padding: 22px; margin-top: 18px;
}
.panel > h2 {
  font-size: 14px; letter-spacing: .02em; font-weight: 700; margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.panel > h2::before {
  content: ""; width: 3px; height: 13px; border-radius: 2px; background: var(--brand);
}
.prose p { font-size: 14px; line-height: 1.85; color: var(--ink-2); margin-bottom: 14px; }
.prose p:last-child { margin-bottom: 0; }
.prose p:first-child { color: var(--ink); font-size: 14.5px; }

.spec-table { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 24px; }
.spec {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 13px;
}
.spec dt { color: var(--ink-3); font-size: 12.2px; }
.spec dd { color: var(--ink); font-weight: 600; text-align: right; }

.tag-list { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-list .mini-tag { font-size: 11.5px; padding: 3px 9px; }

.notice-box {
  display: flex; gap: 12px; align-items: flex-start;
  border: 1px dashed var(--line-strong); border-radius: var(--r-md);
  background: var(--surface-2); padding: 14px 16px; margin-top: 18px;
  font-size: 12.2px; color: var(--ink-2); line-height: 1.7;
}
.notice-box .ico { color: var(--accent); font-size: 15px; line-height: 1.4; }

/* sticky contact aside */
.aside-sticky { position: sticky; top: 78px; display: grid; gap: 14px; }
.contact-card {
  border: 1px solid var(--line); border-radius: var(--r-xl);
  background: var(--surface); padding: 20px; box-shadow: var(--shadow-1);
}
.cc-top { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 46px; height: 46px; border-radius: 13px; flex: none;
  display: grid; place-items: center; font-weight: 800; font-size: 19px;
  color: #fff; background: var(--brand);
}
.cc-name { font-size: 15px; font-weight: 700; }
.cc-region { font-size: 11.5px; color: var(--ink-3); font-family: var(--mono); letter-spacing: .04em; }
.cc-price {
  display: flex; align-items: baseline; gap: 6px;
  margin: 16px 0 4px; padding: 14px 0 0; border-top: 1px dashed var(--line);
}
.cc-price .num { font-size: 27px; font-weight: 800; letter-spacing: -.03em; color: var(--accent); }
.cc-price .unit { font-size: 12.5px; color: var(--ink-3); }
.cc-price .note { margin-left: auto; font-size: 11px; color: var(--ink-3); }
.cc-actions { display: grid; gap: 8px; margin-top: 14px; }
.cc-actions .btn { width: 100%; }
.reveal-box { margin-top: 10px; padding: 14px; border-radius: var(--r-md); background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 28%, transparent); display: grid; gap: 9px; }
.reveal-box[hidden] { display: none; }

/* 直接显示的联系方式 */
.contact-list { margin-top: 14px; border-top: 1px dashed var(--line); padding-top: 10px; display: grid; gap: 2px; }
.c-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 0; }
.c-k { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; font-family: var(--mono); color: var(--ink-3); flex: none; }
.c-v {
  font-family: var(--mono); font-size: 15px; font-weight: 700; color: var(--ink);
  background: none; border: 0; padding: 2px 0; cursor: pointer; text-align: right; word-break: break-all;
}
.c-v:hover { color: var(--brand-ink); }
.reveal-box .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; }
.reveal-box .k { font-size: 10.5px; letter-spacing: .12em; color: var(--brand-ink); font-family: var(--mono); text-transform: uppercase; }
.reveal-box .v { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: .01em; }
.reveal-box .v.masked { color: var(--ink-3); letter-spacing: .08em; }
.reveal-hint { font-size: 11px; color: var(--ink-3); margin-top: 2px; line-height: 1.55; }
.cc-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line);
  font-size: 11.5px; color: var(--ink-3);
}
.cc-foot button { color: var(--ink-3); font-size: 11.5px; }
.cc-foot button:hover { color: var(--accent); }

.aside-mini { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); padding: 16px; }
.aside-mini h3 { font-size: 12.5px; font-weight: 700; margin-bottom: 12px; letter-spacing: .02em; }
.mini-item { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.mini-item:last-child { border-bottom: 0; padding-bottom: 0; }
.mini-item .mi-mono {
  width: 30px; height: 30px; border-radius: 8px; flex: none; display: grid; place-items: center;
  background: var(--paper-2); color: var(--ink-2); font-weight: 700; font-size: 12px;
}
.mini-item .mi-body { min-width: 0; }
.mini-item .mi-title {
  display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-weight: 500; font-size: 12.4px;
}
.mini-item .mi-meta { font-size: 11px; color: var(--ink-3); font-family: var(--mono); }

/* ==========================================================================
   post page
   ========================================================================== */
.post-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 30px; align-items: start; padding-bottom: 20px; }
.steps { display: flex; align-items: center; gap: 0; margin: 6px 0 24px; }
.step { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--ink-3); }
.step .n {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-strong); font-family: var(--mono); font-size: 11px;
  background: var(--surface);
}
.step.is-on { color: var(--ink); font-weight: 600; }
.step.is-on .n { background: var(--brand); border-color: var(--brand); color: #fff; }
[data-theme="dark"] .step.is-on .n { color: #2a0a16; }
.step.is-done .n { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-ink); }
.step-line { flex: 1; height: 1px; background: var(--line); margin: 0 12px; min-width: 24px; }

.form-card { border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); padding: 26px; }
.form-section + .form-section { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.form-section > h2 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.form-section > p.hint { font-size: 12px; color: var(--ink-3); margin-bottom: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.field label .req { color: var(--accent); margin-left: 3px; }
.field input[type="text"], .field input[type="number"], .field input[type="password"],
.field input[type="tel"], .field input[type="search"], .field textarea, .field select {
  width: 100%; border: 1px solid var(--line-strong); border-radius: 10px;
  background: var(--surface-2); padding: 10px 12px; font-size: 13.5px;
  transition: border-color .18s, background .18s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brand); background: var(--surface);
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.75; }
.field .counter { font-size: 11px; color: var(--ink-3); text-align: right; margin-top: 4px; font-family: var(--mono); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.inline-opts { display: flex; flex-wrap: wrap; gap: 7px; }
.inline-opts label {
  display: inline-flex; align-items: center; gap: 6px; margin: 0;
  border: 1px solid var(--line); border-radius: 8px; padding: 6px 11px;
  font-size: 12.5px; font-weight: 500; color: var(--ink-2); cursor: pointer;
  background: var(--surface-2); transition: all .16s;
}
.inline-opts input { position: absolute; opacity: 0; pointer-events: none; }
.inline-opts label:has(input:checked) {
  background: var(--brand-soft); border-color: var(--brand); color: var(--brand-ink); font-weight: 600;
}
.form-actions { display: flex; align-items: center; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.form-actions .note { font-size: 11.5px; color: var(--ink-3); margin-left: auto; }

.preview-card .card { pointer-events: none; }
.aside-sticky h3.av-title { font-size: 12px; letter-spacing: .12em; font-family: var(--mono); color: var(--ink-3); text-transform: uppercase; }
.checklist { display: grid; gap: 9px; }
.checklist li { display: flex; gap: 8px; font-size: 12.2px; color: var(--ink-2); line-height: 1.6; }
.checklist li::before { content: "✓"; color: var(--brand); font-weight: 700; flex: none; }

/* ==========================================================================
   about page
   ========================================================================== */
.doc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 46px; align-items: start; }
.doc-toc { position: sticky; top: 92px; display: grid; gap: 2px; }
.doc-toc h4 {
  font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  font-family: var(--mono); color: var(--ink-3); font-weight: 600; margin-bottom: 10px;
}
.doc-toc a {
  font-size: 12.5px; color: var(--ink-2); padding: 6px 0 6px 11px;
  border-left: 2px solid var(--line); transition: color .16s, border-color .16s;
}
.doc-toc a:hover { color: var(--brand-ink); border-color: var(--brand); }
.doc-toc-cta {
  margin-top: 18px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--surface);
}
.doc-toc-cta p { font-size: 11.5px; color: var(--ink-3); margin-bottom: 8px; }
.doc-toc .doc-toc-cta .btn-primary { color: #fff; padding: 7px 14px; border-left: 0; }
[data-theme="dark"] .doc-toc .doc-toc-cta .btn-primary { color: #2a0a16; }
.doc { max-width: 780px; padding: 10px 0 30px; }
.doc h1 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.03em; font-weight: 800; margin-bottom: 10px; }
.doc .lede { font-size: 15px; color: var(--ink-2); margin-bottom: 30px; max-width: 60ch; }
.doc h2 { font-size: 17px; margin: 30px 0 10px; letter-spacing: -.01em; }
.doc h2 .idx { font-family: var(--mono); font-size: 11px; color: var(--brand); margin-right: 8px; letter-spacing: .1em; }
.doc p, .doc li { font-size: 13.8px; color: var(--ink-2); line-height: 1.85; }
.doc ul { display: grid; gap: 8px; margin: 10px 0; }
.doc ul li { position: relative; padding-left: 18px; }
.doc ul li::before { content: "—"; position: absolute; left: 0; color: var(--brand); }
.doc details {
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--surface); padding: 14px 16px; margin-bottom: 10px;
}
.doc details summary { cursor: pointer; font-size: 13.5px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
.doc details summary::-webkit-details-marker { display: none; }
.doc details summary::after { content: "+"; color: var(--ink-3); font-family: var(--mono); }
.doc details[open] summary::after { content: "–"; }
.doc details p { margin-top: 10px; font-size: 13px; }

/* ==========================================================================
   age gate + toast
   ========================================================================== */
.gate {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center; padding: 24px;
  background: rgba(10, 12, 15, .72); backdrop-filter: blur(8px);
  animation: fade .3s ease both;
}
.gate[hidden] { display: none; }
.gate-card {
  width: 100%; max-width: 420px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 30px; text-align: center; box-shadow: var(--shadow-2);
}
.gate-mark {
  width: 46px; height: 46px; border-radius: 14px; margin: 0 auto 16px;
  display: grid; place-items: center; background: var(--brand); color: #fff;
  font-weight: 800; font-size: 20px;
}
[data-theme="dark"] .gate-mark { color: #2a0a16; }
.gate-card h2 { font-size: 20px; letter-spacing: -.02em; margin-bottom: 8px; }
.gate-card p { font-size: 13px; color: var(--ink-2); line-height: 1.75; }
.gate-card .gate-actions { display: grid; gap: 9px; margin-top: 22px; }
.gate-card .gate-fine { font-size: 10.5px; color: var(--ink-3); margin-top: 16px; font-family: var(--mono); letter-spacing: .04em; }
.gate-card .denied {
  margin-top: 16px; padding: 12px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent); font-size: 12.5px; line-height: 1.6;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.toast {
  position: fixed; left: 50%; bottom: 34px; transform: translate(-50%, 14px);
  background: var(--ink); color: var(--paper);
  padding: 10px 18px; border-radius: 999px; font-size: 12.8px;
  box-shadow: var(--shadow-2); z-index: 120;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  max-width: calc(100vw - 40px); text-align: center;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* 发布页图片上传 */
.img-strip { display: flex; gap: 8px; flex-wrap: wrap; }
.img-tile {
  position: relative; width: 92px; height: 92px; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line-strong); background: var(--surface-2); flex: none;
}
.img-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-tile .del {
  position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(0, 0, 0, .6); color: #fff; font-size: 11px; line-height: 1; display: grid; place-items: center;
}
.img-tile .del:hover { background: var(--accent); }
.img-tile.is-uploading { display: grid; place-items: center; font-size: 10.5px; color: var(--ink-3); }
.img-add {
  width: 92px; height: 92px; border-radius: 10px; flex: none; cursor: pointer;
  border: 1px dashed var(--line-strong); background: var(--surface-2);
  display: grid; place-items: center; text-align: center; gap: 2px;
  font-size: 11px; color: var(--ink-3); padding: 6px;
}
.img-add:hover { border-color: var(--brand); color: var(--brand-ink); }
.img-add b { font-size: 20px; font-weight: 400; line-height: 1; color: var(--ink-3); }

/* ==========================================================================
   发布页（极简版）
   ========================================================================== */
.compose-head { padding: 24px 0 18px; }
.compose-head h1 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -.03em; font-weight: 800; }
.compose-head p { font-size: 14px; color: var(--ink-2); margin-top: 6px; }
.compose-head p b { color: var(--ink); }
.compose-meta {
  display: inline-block; margin-top: 10px; padding: 4px 10px; border-radius: 7px;
  font-size: 11.5px; font-family: var(--mono); letter-spacing: .02em;
  background: var(--brand-soft); color: var(--brand-ink);
}
.compose-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px; align-items: start; padding-bottom: 40px;
}
.compose {
  border: 1px solid var(--line); border-radius: var(--r-xl);
  background: var(--surface); padding: 22px; box-shadow: var(--shadow-1);
}
.compose .field { margin-bottom: 16px; }
.compose .field:last-of-type { margin-bottom: 8px; }
.compose .field > label { font-size: 12.5px; }
.compose textarea { min-height: 88px; }
.compose-row { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 12px; }
.price-line { display: flex; gap: 6px; }
.price-line input { flex: 1; min-width: 0; }
.price-line select { width: 96px; flex: none; }
.compose-more {
  border: 1px dashed var(--line-strong); border-radius: 12px;
  padding: 0 14px; margin: 4px 0 16px; background: var(--surface-2);
}
.compose-more summary {
  cursor: pointer; font-size: 13px; padding: 12px 0; color: var(--ink-2);
  font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.compose-more summary::-webkit-details-marker { display: none; }
.compose-more summary::after { content: "+"; color: var(--ink-3); font-family: var(--mono); font-size: 15px; }
.compose-more[open] summary::after { content: "–"; }
.compose-more-body { padding: 12px 0 4px; border-top: 1px solid var(--line); }
.tag-picker { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-picker label {
  display: inline-flex; align-items: center; font-size: 11.5px; padding: 4px 9px;
  border: 1px solid var(--line); border-radius: 6px; background: var(--surface);
  color: var(--ink-2); cursor: pointer; margin: 0;
}
.tag-picker input { position: absolute; opacity: 0; pointer-events: none; }
.tag-picker label:has(input:checked) {
  border-color: var(--brand); background: var(--brand-soft); color: var(--brand-ink); font-weight: 600;
}
.agree-line {
  display: flex; gap: 9px; align-items: flex-start; margin: 6px 0 16px;
  font-size: 12.3px; color: var(--ink-2); line-height: 1.65; cursor: pointer;
}
.agree-line input { margin-top: 2px; width: 16px; height: 16px; flex: none; accent-color: var(--brand); }
.compose-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.btn-lg { padding: 13px 28px; font-size: 15px; border-radius: 12px; }
.compose-hint { font-size: 12px; color: var(--ink-3); }
.compose-side { position: sticky; top: 78px; }
.compose-side-title { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; font-family: var(--mono); color: var(--ink-3); margin-bottom: 10px; }
.tips { display: grid; gap: 8px; font-size: 12px; color: var(--ink-3); line-height: 1.6; }
.tips li { padding-left: 14px; position: relative; }
.tips li::before { content: "·"; position: absolute; left: 4px; color: var(--brand); font-weight: 700; }
@media (max-width: 1080px) {
  .compose-grid { grid-template-columns: 1fr; }
  .compose-side { position: static; }
}
@media (max-width: 560px) {
  .compose-row { grid-template-columns: 1fr; }
  .compose { padding: 16px; }
  .compose-head h1 { font-size: 23px; }
}

/* ==========================================================================
   加微信充值说明页
   ========================================================================== */
.wechat-card {
  display: flex; align-items: center; gap: 16px;
  border: 1px solid color-mix(in srgb, #07c160 35%, var(--line));
  border-radius: var(--r-lg); background: var(--surface-2); padding: 16px;
}
.wechat-avatar {
  width: 52px; height: 52px; border-radius: 15px; flex: none;
  display: grid; place-items: center; background: #07c160; color: #fff;
  font-weight: 800; font-size: 21px;
}
.wechat-body { flex: 1; min-width: 0; }
.wechat-label { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; font-family: var(--mono); color: var(--ink-3); }
.wechat-id { font-family: var(--mono); font-size: 21px; font-weight: 700; letter-spacing: .01em; margin: 2px 0; word-break: break-all; }
.wechat-hint { font-size: 11.5px; color: var(--ink-3); line-height: 1.6; }
.flow-list { display: grid; gap: 11px; }
.flow-item { display: flex; gap: 10px; font-size: 13px; color: var(--ink-2); line-height: 1.7; }
.flow-item b {
  width: 20px; height: 20px; border-radius: 50%; flex: none; margin-top: 2px;
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-ink); font-size: 11px; font-family: var(--mono);
}
.faq-mini b { display: block; font-size: 12.5px; margin-top: 12px; }
.faq-mini b:first-child { margin-top: 0; }
.faq-mini p { font-size: 11.8px; color: var(--ink-3); line-height: 1.7; margin-top: 3px; }
@media (max-width: 560px) {
  .wechat-card { flex-wrap: wrap; }
  .wechat-card .btn { width: 100%; }
}

/* ==========================================================================
   account / auth / recharge / admin
   ========================================================================== */

/* header user chip */
.user-slot { position: relative; display: flex; align-items: center; }
.user-chip {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 4px 12px 4px 4px; background: var(--surface);
  transition: border-color .18s, background .18s;
}
.user-chip:hover { border-color: var(--brand); }
.u-avatar {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
  background: var(--brand); color: #fff;
}
[data-theme="dark"] .u-avatar { color: #2a0a16; }
.u-name { font-size: 12.5px; font-weight: 600; max-width: 92px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.u-credit {
  font-size: 10.5px; font-family: var(--mono); color: var(--brand-ink);
  background: var(--brand-soft); padding: 2px 6px; border-radius: 5px;
}
.user-drop {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 60;
  width: 196px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--shadow-2); padding: 6px;
}
.user-drop[hidden] { display: none; }
.user-drop-head { padding: 8px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.user-drop-head b { display: block; font-size: 13px; }
.user-drop-head span { font-size: 11.5px; color: var(--ink-3); font-family: var(--mono); }
.user-drop a, .user-drop button {
  display: flex; width: 100%; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 8px; font-size: 12.8px; color: var(--ink-2);
  text-align: left;
}
.user-drop a:hover, .user-drop button:hover { background: var(--paper-2); color: var(--ink); }
.user-drop .sep-line { height: 1px; background: var(--line); margin: 4px 0; }
.user-drop .danger:hover { color: var(--accent); }
.user-drop .pill-credit { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--brand-ink); }

/* generic page shell */
.page-head { padding: 26px 0 18px; }
.page-head h1 { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.025em; font-weight: 800; }
.page-head p { font-size: 13px; color: var(--ink-3); margin-top: 6px; }

.auth-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: start; padding: 20px 0 50px; }
.auth-pitch h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.25; letter-spacing: -.03em; font-weight: 800; }
.auth-pitch > p { margin-top: 14px; font-size: 13.5px; color: var(--ink-2); line-height: 1.85; max-width: 44ch; }
.auth-points { display: grid; gap: 14px; margin-top: 26px; }
.auth-point { display: flex; gap: 12px; }
.auth-point .n {
  width: 26px; height: 26px; border-radius: 8px; flex: none; display: grid; place-items: center;
  font-family: var(--mono); font-size: 11px; background: var(--brand-soft); color: var(--brand-ink);
  font-weight: 700;
}
.auth-point b { font-size: 13.5px; display: block; }
.auth-point p { font-size: 12.2px; color: var(--ink-3); line-height: 1.65; }

.auth-card {
  border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface);
  padding: 24px; box-shadow: var(--shadow-2);
}
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--paper-2); padding: 4px; border-radius: 11px; margin-bottom: 20px; }
.auth-tabs button { padding: 8px; border-radius: 8px; font-size: 13px; color: var(--ink-2); font-weight: 500; }
.auth-tabs button.is-on { background: var(--surface); color: var(--ink); font-weight: 700; box-shadow: var(--shadow-1); }
.auth-form .field:last-of-type { margin-bottom: 6px; }
.auth-hint { font-size: 11.5px; color: var(--ink-3); line-height: 1.6; margin-top: 10px; }
.auth-foot { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 12px; color: var(--ink-3); }
.auth-foot a { color: var(--brand-ink); font-weight: 600; }
.auth-err {
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  background: var(--accent-soft); color: var(--accent);
  border-radius: 9px; padding: 9px 12px; font-size: 12.3px; margin-bottom: 14px;
}
.auth-err[hidden] { display: none; }

/* account */
.acc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.stat {
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface);
  padding: 16px 18px;
}
.stat .k { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-family: var(--mono); }
.stat .v { font-size: 26px; font-weight: 800; letter-spacing: -.03em; margin-top: 6px; }
.stat .v small { font-size: 12px; font-weight: 500; color: var(--ink-3); margin-left: 4px; }
.stat .sub { font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }
.stat.accent .v { color: var(--accent); }
.stat.stat-credit .v { color: var(--brand); }

.card-block { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.card-block > header {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 18px; border-bottom: 1px solid var(--line);
}
.card-block > header h2 { font-size: 13.5px; font-weight: 700; }
.card-block > header a, .card-block > header span { font-size: 12px; color: var(--ink-3); }
.card-block .pad { padding: 16px 18px; }

.table { width: 100%; border-collapse: collapse; font-size: 12.8px; }
.table th {
  text-align: left; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); font-family: var(--mono); font-weight: 600;
  padding: 10px 18px; border-bottom: 1px solid var(--line); background: var(--surface-2);
  white-space: nowrap;
}
.table td { padding: 12px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.table td.t-title { white-space: normal; min-width: 170px; }
.table tr:last-child td { border-bottom: 0; }
.table .num { font-family: var(--mono); }
.table .muted { color: var(--ink-3); }
.table .t-title { font-weight: 600; }
.table .actions { display: flex; gap: 6px; flex-wrap: wrap; }

.pill {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; padding: 2px 8px; border-radius: 999px; font-weight: 600;
  border: 1px solid transparent; white-space: nowrap;
}
.pill.pending { background: #fdf3e3; color: #96631a; border-color: #f0dfc0; }
.pill.paid { background: var(--brand-soft); color: var(--brand-ink); border-color: color-mix(in srgb, var(--brand) 30%, transparent); }
.pill.rejected { background: var(--accent-soft); color: var(--accent); border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.pill.hidden { background: var(--paper-2); color: var(--ink-3); border-color: var(--line); }
.pill.published { background: var(--brand-soft); color: var(--brand-ink); border-color: color-mix(in srgb, var(--brand) 30%, transparent); }
[data-theme="dark"] .pill.pending { background: #33240d; color: #f0c07a; border-color: #4a3413; }

.empty-row { padding: 34px 18px; text-align: center; color: var(--ink-3); font-size: 12.8px; }
.empty-row a { color: var(--brand-ink); font-weight: 600; }

.side-card {
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface);
  padding: 18px; margin-bottom: 14px;
}
.side-card h3 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-family: var(--mono); margin-bottom: 12px; }
.side-card .big { font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: var(--brand); }
.side-card .big small { font-size: 12px; color: var(--ink-3); font-weight: 500; }
.side-card p { font-size: 12px; color: var(--ink-3); line-height: 1.7; }
.side-card .btn { margin-top: 12px; }
.contact-line { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 12.5px; }
.contact-line:last-child { border-bottom: 0; }
.contact-line span { color: var(--ink-3); font-size: 11.5px; }
.contact-line b { font-family: var(--mono); font-size: 12.3px; }

/* recharge */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.plan {
  position: relative; text-align: left; padding: 18px; border-radius: var(--r-lg);
  border: 1px solid var(--line-strong); background: var(--surface);
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.plan:hover { transform: translateY(-2px); border-color: var(--brand); }
.plan.is-on { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow-1); background: linear-gradient(180deg, var(--brand-soft), var(--surface) 55%); }
.plan .p-name { font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.plan .p-tag { font-size: 10px; padding: 1px 6px; border-radius: 4px; background: var(--accent); color: #fff; font-weight: 600; }
.plan .p-price { font-size: 27px; font-weight: 800; letter-spacing: -.03em; margin: 8px 0 2px; }
.plan .p-price small { font-size: 12px; color: var(--ink-3); font-weight: 500; margin-left: 2px; }
.plan .p-credit { font-size: 12.5px; color: var(--brand-ink); font-weight: 600; }
.plan .p-desc { font-size: 11.5px; color: var(--ink-3); line-height: 1.6; margin-top: 8px; }
.plan .p-check {
  position: absolute; top: 14px; right: 14px; width: 18px; height: 18px; border-radius: 50%;
  border: 1px solid var(--line-strong); display: grid; place-items: center; font-size: 10px; color: transparent;
}
.plan.is-on .p-check { background: var(--brand); border-color: var(--brand); color: #fff; }

.pay-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-opt {
  border: 1px solid var(--line-strong); border-radius: 9px; padding: 8px 14px;
  font-size: 12.8px; background: var(--surface-2); color: var(--ink-2); font-weight: 500;
}
.pay-opt.is-on { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-ink); font-weight: 700; }

.recharge-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; align-items: start; }
.steps-mini { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--ink-3); margin-bottom: 16px; }
.steps-mini b { color: var(--ink); }
.steps-mini .s-n { width: 18px; height: 18px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); font-family: var(--mono); font-size: 10px; font-weight: 700; margin-right: 4px; }

.summary { display: grid; gap: 8px; font-size: 13px; }
.summary .row { display: flex; justify-content: space-between; gap: 10px; }
.summary .row span { color: var(--ink-3); font-size: 12.3px; }
.summary .row b { font-family: var(--mono); }
.summary .total { border-top: 1px dashed var(--line); padding-top: 9px; margin-top: 3px; }
.summary .total b { color: var(--accent); font-size: 17px; }

/* admin */
.admin-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 16px 0 4px; }
.admin-bar .right { margin-left: auto; display: flex; gap: 8px; }
.admin-tabs { display: flex; gap: 4px; background: var(--paper-2); padding: 4px; border-radius: 10px; margin: 16px 0 18px; width: fit-content; }
.admin-tabs button { padding: 7px 16px; border-radius: 8px; font-size: 12.8px; color: var(--ink-2); }
.admin-tabs button.is-on { background: var(--surface); color: var(--ink); font-weight: 700; box-shadow: var(--shadow-1); }
.admin-panel[hidden] { display: none; }
.admin-stat { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 18px; }
.admin-stat .stat .v { font-size: 21px; }

/* page-level guard */
.guard {
  border: 1px dashed var(--line-strong); border-radius: var(--r-lg);
  background: var(--surface); padding: 40px 24px; text-align: center;
}
.guard h2 { font-size: 19px; letter-spacing: -.01em; margin-bottom: 8px; }
.guard p { font-size: 13px; color: var(--ink-3); max-width: 46ch; margin: 0 auto 18px; line-height: 1.75; }
.guard .acts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 1080px) {
  .auth-grid, .acc-grid, .recharge-grid { grid-template-columns: 1fr; gap: 22px; }
  .admin-stat { grid-template-columns: repeat(3, 1fr); }
  .plan-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .u-name, .u-credit { display: none; }
  .user-chip { padding: 4px; }
  .stat-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat .v { font-size: 21px; }
  .admin-stat { grid-template-columns: 1fr 1fr; }
  .table th, .table td { padding: 10px 12px; }
  .table-wrap { overflow-x: auto; }
  .auth-card { padding: 18px; }
}

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .ticker { max-width: 560px; }
  .browse-grid { grid-template-columns: 1fr; }
  .doc-layout { grid-template-columns: 1fr; gap: 10px; }
  .doc-toc { display: none; }
  .filters {
    position: fixed; inset: auto 0 0 0; top: auto; z-index: 60;
    border-radius: var(--r-xl) var(--r-xl) 0 0; padding: 20px 20px 30px;
    max-height: 82vh; overflow-y: auto;
    transform: translateY(101%); transition: transform .28s cubic-bezier(.3,.8,.2,1);
    box-shadow: 0 -20px 60px -30px rgba(0, 0, 0, .6);
    display: none;
  }
  .filters.is-open { display: grid; transform: translateY(0); }
  .filters .fgroup .opts .opt { font-size: 13px; padding: 7px 13px; }
  .mobile-filter-btn { display: inline-flex; }
  .detail-grid, .post-grid { grid-template-columns: 1fr; }
  .aside-sticky { position: static; }
  .safety-inner { grid-template-columns: 1fr; gap: 22px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

@media (max-width: 820px) {
  .main-nav { display: none; }
  .head-search { display: flex; }
  .head-actions { min-width: 0; }
  .tabbar { display: block; }
  body { padding-bottom: 62px; }
  .notice .wrap { align-items: flex-start; }
  .notice p {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; font-size: 11.4px; line-height: 1.5;
  }
  .notice .wrap { padding-top: 7px; padding-bottom: 7px; }
  .hero { padding: 34px 0 20px; }
  .hero-lede { font-size: 14px; }
  .searchbar { flex-wrap: wrap; }
  .searchbar .btn { width: 100%; }
  .head-inner { height: 58px; gap: 12px; }
  .head-actions .btn-primary { display: none; }
  .brand-sub { display: none; }
  .safety-points { grid-template-columns: 1fr; gap: 14px; }
  .spec-table { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 22px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .filters.is-open { display: grid; }
  .form-card { padding: 20px 18px; }
  .detail-head h1 { font-size: 23px; }
}

@media (max-width: 560px) {
  .head-search { display: none; }
  .grid { grid-template-columns: 1fr; gap: 10px; }
  .ad-row { padding: 7px 7px 0; }
  .ad-thumb { aspect-ratio: 4 / 3; }
  .ad-title { font-size: 14.5px; }
  .ad-side { gap: 6px; }
  .ad-cta { font-size: 11px; }
  .card-mono { font-size: 40px; }
  .card-body { padding: 10px 10px 0; }
  .card-title { font-size: 12.6px; }
  .card-foot { padding: 9px 10px 10px; font-size: 10px; }
  .card-tags .mini-tag:nth-child(n+2) { display: none; }
  .card-meta .hours, .card-meta .hours + .sep { display: none; }
  .card-price { font-size: 11px; padding: 3px 7px; }
  .card-age { display: none; }
  .strip-rail { grid-auto-columns: 76%; }
  .hero h1 { font-size: 30px; }
  .toolbar .sort-group { width: 100%; margin-left: 0; }
  .sort-group button { flex: 1; }
  .ticker { padding: 14px 14px 6px; }
  .notice p { font-size: 11.5px; }
  .field-row { gap: 10px; }
  .field label { font-size: 12px; }
  .field input[type="text"], .field input[type="number"], .field input[type="tel"], .field textarea, .field select { padding: 9px 10px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   管理端「界面外观」实时生效的钩子（site.js 写 data-* / CSS 变量）
   ========================================================================== */
[data-ui-hide] { display: none !important; }

/* 首屏背景图模式：压暗遮罩 + 反白文字 */
.hero.has-photo { background-size: cover; background-position: center; background-repeat: no-repeat; }
.hero.has-photo::before, .hero.has-photo::after { display: none; }
.hero.has-photo h1 { color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.hero.has-photo h1 em { color: #ffd9a8; }
.hero.has-photo h1 em::after { background: rgba(255, 217, 168, .28); }
.hero.has-photo .hero-lede { color: rgba(255, 255, 255, .84); }
.hero.has-photo .eyebrow { background: rgba(255, 255, 255, .14); color: #fff; }
.hero.has-photo .quick-chips .label { color: rgba(255, 255, 255, .7); }
.hero.has-photo .quick-chips .chip { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .25); color: #fff; }
.hero.has-photo .quick-chips .chip:hover { background: rgba(255, 255, 255, .22); border-color: rgba(255, 255, 255, .5); color: #fff; }

/* 模块被关掉后，栅格自动变单列 */
.hero.no-ticker .hero-grid { grid-template-columns: minmax(0, 1fr); }
.hero.no-ticker .ticker { display: none !important; }
.browse-grid.no-filters { grid-template-columns: minmax(0, 1fr); }
.browse-grid.no-filters #filters { display: none !important; }

/* 内容密度 */
[data-density="compact"] .browse { padding: 24px 0 16px; }
[data-density="compact"] .grid { gap: 12px; }
[data-density="compact"] .strip { padding: 8px 0 2px; }
[data-density="compact"] .ticker-item { padding: 8px 2px; }
[data-density="compact"] .card-body { padding: 11px 12px 0; }
[data-density="relaxed"] .browse { padding: 44px 0 26px; }
[data-density="relaxed"] .grid { gap: 26px; }
[data-density="relaxed"] .strip { padding: 18px 0 10px; }
[data-density="relaxed"] .ticker-item { padding: 13px 2px; }

/* ==========================================================================
   聊天交友版块（board.html / thread.html）
   ========================================================================== */
.board-wrap { padding: 22px 18px 70px; max-width: 1020px; }
.board-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin: 10px 0 18px; }
.board-head h1 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -.03em; font-weight: 800; }
.board-head p { margin-top: 7px; font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }

.compose-card {
  border: 1px solid var(--line); border-radius: 16px; background: var(--surface);
  padding: 16px 18px; margin-bottom: 20px; box-shadow: var(--shadow-1);
}
.cc-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 11px; }
.cc-head h2 { font-size: 15.5px; font-weight: 750; }
.cc-head span { font-size: 12px; color: var(--ink-3); }
.cc-head a { color: var(--brand-ink); font-weight: 600; }
.cc-form input, .cc-form textarea {
  width: 100%; border: 1px solid var(--line-strong); background: var(--surface-2);
  border-radius: 10px; padding: 10px 12px; font-size: 13.5px; color: var(--ink);
  margin-bottom: 9px; font-family: inherit; line-height: 1.6;
}
.cc-form input:focus, .cc-form textarea:focus { outline: none; border-color: var(--brand); }
.cc-form textarea { resize: vertical; }
.cc-form.is-locked input, .cc-form.is-locked textarea { opacity: .55; }
.cc-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cc-hint { font-size: 11.5px; color: var(--ink-3); line-height: 1.5; }

.thread-list { display: grid; gap: 10px; }
.tl-head { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--ink-3); font-family: var(--mono); padding: 2px 2px 6px; }
.thread-row {
  display: flex; gap: 14px; justify-content: space-between; align-items: center;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--surface); transition: border-color .18s, transform .18s;
}
.thread-row:hover { border-color: var(--brand); transform: translateY(-1px); }
.tr-main { min-width: 0; }
.tr-title { font-size: 15.5px; font-weight: 750; line-height: 1.4; }
.tr-body { font-size: 12.5px; color: var(--ink-3); margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tr-meta { font-size: 11.5px; color: var(--ink-3); margin-top: 7px; display: flex; gap: 6px; align-items: center; }
.tr-side { flex: none; text-align: center; min-width: 48px; }
.tr-side b { display: block; font-size: 17px; font-weight: 800; color: var(--brand-ink); }
.tr-side span { font-size: 10.5px; color: var(--ink-3); }

.thread-empty { text-align: center; padding: 44px 16px; border: 1px dashed var(--line-strong); border-radius: 16px; color: var(--ink-3); }
.thread-empty strong { display: block; color: var(--ink-2); font-size: 15px; margin-bottom: 6px; }
.thread-empty p { font-size: 12.5px; }
.thread-empty.small { padding: 22px; }

.thread-view { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 22px 24px; }
.tv-title { font-size: clamp(20px, 2.4vw, 27px); line-height: 1.35; letter-spacing: -.02em; font-weight: 800; }
.tv-meta { font-size: 12px; color: var(--ink-3); margin-top: 9px; display: flex; gap: 6px; align-items: center; }
.tv-who { color: var(--brand-ink); font-weight: 600; }
.tv-body { margin-top: 15px; font-size: 14.5px; line-height: 1.9; color: var(--ink); }

.reply-list { margin: 18px 0 4px; }
.rl-head { font-size: 11.5px; color: var(--ink-3); padding: 2px 2px 8px; font-family: var(--mono); }
.reply-row { display: flex; gap: 12px; padding: 13px 4px; border-bottom: 1px solid var(--line); }
.rr-floor { width: 24px; flex: none; font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); padding-top: 2px; }
.rr-main { min-width: 0; }
.rr-meta { font-size: 11.5px; color: var(--ink-3); display: flex; gap: 6px; align-items: center; }
.rr-meta b { color: var(--ink-2); font-weight: 600; }
.rr-body { font-size: 14px; line-height: 1.85; margin-top: 6px; }
.reply-card { margin-top: 20px; }

@media (max-width: 720px) {
  .board-wrap { padding: 16px 12px 80px; }
  .board-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .thread-view { padding: 16px; }
  .thread-row { padding: 12px; }
  .tr-title { font-size: 14.5px; }
  .cc-foot { flex-direction: column; align-items: stretch; }
  .cc-foot .btn { width: 100%; }
}
/* 商户中心：广告到期倒计时 */
.exp-cell { min-width: 168px; }
.exp-date { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }
.exp-cd {
  margin-top: 3px; font-family: var(--mono); font-size: 12.5px; font-weight: 700;
  color: var(--ink); letter-spacing: .01em;
}
.exp-cd.is-urgent { color: var(--accent); }
.exp-cd.is-over { color: var(--ink-3); font-weight: 500; }
.exp-bar {
  margin-top: 5px; height: 3px; border-radius: 2px; overflow: hidden;
  background: var(--line); width: 150px;
}
.exp-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--accent)); }
/* 管理端：聊天交友审核 */
.th-sum { font-size: 12px; color: var(--ink-3); font-family: var(--mono); padding: 2px 0 10px; }
.th-sum b { color: var(--brand-ink); }
.th-row {
  display: flex; gap: 14px; justify-content: space-between; align-items: flex-start;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.th-main { min-width: 0; }
.th-title { font-size: 14px; font-weight: 700; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.th-body { font-size: 12.5px; color: var(--ink-2); margin-top: 5px; line-height: 1.6; }
.th-meta { font-size: 11px; color: var(--ink-3); margin-top: 5px; font-family: var(--mono); }
.th-actions { display: flex; gap: 6px; flex: none; }
.cc-row { display: grid; grid-template-columns: 200px 1fr; gap: 8px; }
.pending-note {
  margin-top: 10px; padding: 10px 12px; border-radius: 10px;
  background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent);
  color: var(--brand-ink); font-size: 12.5px;
}
@media (max-width: 720px) {
  .cc-row { grid-template-columns: 1fr; }
  .th-row { flex-direction: column; }
  .th-actions { width: 100%; }
  .th-actions .btn { flex: 1; }
}
/* 商户中心：到期提醒 + 批量续费 */
/* hidden 优先于 flex，避免空提醒条 */
.expire-banner[hidden] { display: none; }
.expire-banner {
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 14%, transparent), transparent);
  border-radius: 14px; padding: 14px 16px; margin-bottom: 16px;
}
.eb-icon {
  width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #fff; font-weight: 800;
}
.eb-main { flex: 1; min-width: 240px; font-size: 12.8px; line-height: 1.7; color: var(--ink-2); }
.eb-main b { display: block; color: var(--ink); font-size: 13.5px; margin-bottom: 2px; }
.batch-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 9px 14px; border-bottom: 1px solid var(--line);
  font-size: 12px; color: var(--ink-3); font-family: var(--mono);
}
.batch-bar .btn[disabled] { opacity: .45; cursor: not-allowed; }
#tbl-posts td input[type="checkbox"] { width: 15px; height: 15px; accent-color: var(--brand); }
@media (max-width: 720px) {
  /* hidden 优先于 flex，避免空提醒条 */
.expire-banner[hidden] { display: none; }
.expire-banner { flex-direction: column; align-items: flex-start; }
  .batch-bar { position: sticky; bottom: 64px; background: var(--surface); z-index: 5; }
}
/* 注册：手机号 + 验证码 */
.code-row { display: flex; gap: 8px; align-items: stretch; }
.code-row input { flex: 1; min-width: 0; }
.code-row .btn { flex: none; padding: 0 14px; white-space: nowrap; }
@media (max-width: 480px) {
  .code-row { flex-direction: column; }
  .code-row .btn { width: 100%; padding: 9px 14px; }
}
/* ===== 首页：本周新上 / 小搜索 / 招租横幅 ===== */
.fresh {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 10px 14px; margin: 0 0 14px; border-radius: 14px;
  border: 1px solid var(--line); background: linear-gradient(90deg, var(--brand-soft), transparent 70%);
}
.fresh-label {
  font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--brand-ink);
  font-family: var(--mono); text-transform: uppercase; flex: none;
}
.fresh-row { display: flex; gap: 8px; flex-wrap: wrap; min-width: 0; }
.fresh-chip {
  display: inline-flex; align-items: center; gap: 7px; max-width: 320px;
  padding: 6px 11px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--line); font-size: 12.5px; color: var(--ink-2);
}
.fresh-chip:hover { border-color: var(--brand); color: var(--ink); }
.fc-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.fc-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-time { font-size: 10.5px; color: var(--ink-3); font-family: var(--mono); flex: none; }

.mini-search {
  display: inline-flex; align-items: center; gap: 7px; flex: 1; min-width: 180px; max-width: 380px;
  padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink-3);
}
.mini-search:focus-within { border-color: var(--brand); color: var(--brand-ink); }
.mini-search input {
  flex: 1; min-width: 0; border: 0; background: transparent; outline: none;
  font-size: 12.8px; color: var(--ink);
}
.mini-search input::placeholder { color: var(--ink-3); }

.ad-strip.is-collapsed { display: block; }
.ad-rent {
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 16px 20px; border-radius: 14px;
  border: 1px dashed var(--line-strong);
  background: repeating-linear-gradient(45deg, transparent 0 10px,
    color-mix(in srgb, var(--brand) 6%, transparent) 10px 20px);
  color: var(--ink-2); transition: border-color .18s, background .18s;
}
.ad-rent:hover { border-color: var(--brand); color: var(--ink); }
.ar-badge {
  flex: none; font-family: var(--mono); font-size: 10px; letter-spacing: .12em;
  color: #fff; background: var(--brand); padding: 2px 7px; border-radius: 5px;
}
.ar-main { flex: 1; min-width: 0; display: grid; gap: 2px; text-align: left; }
.ar-main b { font-size: 14.5px; color: var(--ink); }
.ar-main span { font-size: 12px; color: var(--ink-3); }
.ar-cta { flex: none; font-size: 12.5px; font-weight: 700; color: var(--brand-ink); }

@media (max-width: 720px) {
  .fresh { padding: 9px 12px; }
  .fresh-row { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .fresh-chip { flex: none; max-width: 76vw; }
  .toolbar { flex-wrap: wrap; }
  .mini-search { max-width: none; width: 100%; order: 3; }
  .ad-rent { flex-wrap: wrap; gap: 8px; padding: 14px; }
  .ar-main { width: 100%; }
}
/* 卡片里的发布时间 */
.ad-when { font-size: 11px; color: var(--ink-3); font-family: var(--mono); }
/* 详情页大按钮 */
.cc-actions .btn { padding: 13px 14px; font-size: 14px; font-weight: 750; }
.cc-actions .btn + .btn { margin-top: 8px; }
@media (max-width: 720px) {
  .cc-actions { position: sticky; bottom: 64px; z-index: 6; background: var(--surface); padding: 8px 0; }
}
/* 详情页：同城其他广告列表 */
.aside-mini .mini-item {
  display: grid; grid-template-columns: 8px minmax(0, 1fr) auto;
  gap: 10px; align-items: start; padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.aside-mini .mini-item:last-of-type { border-bottom: 0; }
.aside-mini .mi-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand); margin-top: 7px;
}
.aside-mini .mi-body { min-width: 0; display: grid; gap: 3px; }
.aside-mini .mi-body b {
  font-size: 13px; font-weight: 650; line-height: 1.45; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.aside-mini .mi-body small {
  font-size: 11.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.aside-mini .mi-price { font-size: 12.5px; font-weight: 700; color: var(--accent); white-space: nowrap; }

/* 两列布局下压缩卡片信息，避免换行 */
@media (min-width: 900px) {
  .ad-row { grid-template-columns: 150px minmax(0, 1fr) 104px; gap: 13px; }
  .ad-thumb { height: 96px; }
  .ad-title { font-size: 15.5px; }
  .ad-meta { font-size: 11.5px; gap: 7px; }
  .ad-meta .ad-hours { display: none; }
  .ad-price { font-size: 18px; }
}
/* 本周推荐（广告位样式） */
.fresh-chip.is-ad { border-color: color-mix(in srgb, var(--brand) 35%, transparent); background: var(--brand-soft); }
.fc-badge {
  flex: none; font-size: 9.5px; font-weight: 800; letter-spacing: .06em;
  color: #fff; background: var(--brand); padding: 2px 6px; border-radius: 4px;
}
.fresh-chip.is-rent { border-style: dashed; color: var(--ink-3); }
.fresh-chip.is-rent .fc-badge { background: var(--ink-3); }
/* 本周推荐：两排 8 个位 */
.fresh { align-items: flex-start; }
.fresh-row {
  flex: 1; min-width: 0; display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px; width: 100%;
}
.fresh-slot {
  display: grid; gap: 4px; padding: 10px 12px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface);
  min-width: 0; transition: border-color .16s, transform .16s;
}
.fresh-slot:hover { border-color: var(--brand); transform: translateY(-1px); }
.fs-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.fs-badge {
  font-size: 9.5px; font-weight: 800; letter-spacing: .06em; color: #fff;
  background: var(--brand); padding: 2px 6px; border-radius: 4px;
}
.fs-region { font-size: 10.5px; color: var(--ink-3); font-family: var(--mono); }
.fs-title {
  font-size: 13px; font-weight: 650; line-height: 1.4; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.fs-foot { font-size: 11px; color: var(--ink-3); font-family: var(--mono); }
.fresh-slot.is-ad { border-color: color-mix(in srgb, var(--brand) 28%, transparent); background: var(--brand-soft); }
.fresh-slot.is-rent { border-style: dashed; }
.fresh-slot.is-rent .fs-badge { background: var(--ink-3); }
.fresh-slot.is-rent .fs-title { color: var(--ink-3); font-weight: 600; }

@media (max-width: 1080px) {
  .fresh-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .fresh { flex-direction: column; gap: 8px; }
  .fresh-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fs-title { font-size: 12.5px; }
}
/* 空广告位：只留框，不放文字 */
.ad-slot.is-empty {
  background: repeating-linear-gradient(45deg, transparent 0 10px,
    color-mix(in srgb, var(--brand) 6%, transparent) 10px 20px);
  border-style: dashed;
}
.ad-slot.is-empty:hover { border-color: var(--brand); }
.fresh-slot.is-rent {
  min-height: 74px; padding: 0;
  background: repeating-linear-gradient(45deg, transparent 0 9px,
    color-mix(in srgb, var(--brand) 5%, transparent) 9px 18px);
}
/* 空广告位上的小 AD 角标 */
.ad-slot.is-empty { position: relative; }
.ad-slot.is-empty .ad-tag {
  position: absolute; right: 6px; bottom: 5px;
  font-family: var(--mono); font-size: 8.5px; letter-spacing: .1em;
  color: var(--ink-3); background: transparent; padding: 0;
}
.fresh-slot.is-rent { position: relative; }
.fs-ad {
  position: absolute; right: 8px; bottom: 6px;
  font-family: var(--mono); font-size: 8.5px; letter-spacing: .1em; color: var(--ink-3);
}
/* 发布页：单栏简化版 */
.post-wrap { max-width: 720px; }
.post-wrap .compose-head { padding: 18px 0 14px; }
.post-wrap .compose-head h1 { font-size: clamp(24px, 3vw, 30px); }
.post-wrap .compose-head p { font-size: 13.5px; color: var(--ink-2); margin-top: 6px; }
.compose-simple { padding: 18px 18px 20px; }
.compose-simple .field { margin-bottom: 14px; }
.compose-simple textarea#c-intro { font-size: 15px; line-height: 1.7; }
.compose-simple .compose-more { margin: 6px 0 14px; }
.compose-simple .compose-actions { margin-top: 6px; }
.compose-simple .btn-lg { padding: 14px 30px; font-size: 15px; }
@media (max-width: 720px) {
  .post-wrap { padding: 0 12px; }
  .compose-simple { padding: 14px 12px 16px; }
  .compose-simple .compose-actions { flex-direction: column; align-items: stretch; }
  .compose-simple .btn-lg { width: 100%; }
}
/* 价目表：不公开价格 */
.p-price.is-quote { font-size: 22px; letter-spacing: -.01em; }
.plan-note { margin-top: 12px; font-size: 12px; color: var(--ink-3); }
/* 手机端页脚：两列紧凑排，别拉成一整屏 */
@media (max-width: 720px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px 20px;
    padding: 24px 0 18px;
  }
  .foot-brand {
    grid-column: 1 / -1;
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  }
  .foot-brand .brand { margin-bottom: 0; }
  .foot-brand p {
    max-width: none; font-size: 12px; line-height: 1.5;
    flex: 1 1 100%;
  }
  .foot-col h4 { margin-bottom: 6px; font-size: 10px; letter-spacing: .12em; }
  .foot-col a { font-size: 12.5px; padding: 3px 0; line-height: 1.5; }
  .foot-bottom { padding: 12px 0 18px; font-size: 10.5px; }
}
/* 顶部广告条：自动滑动循环 */
.ad-strip.is-track {
  display: block; overflow: hidden; padding: 0;
  max-width: none; margin: 0;
  mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}
.ad-track {
  display: flex; gap: 12px; width: max-content;
  padding: 2px 18px;
  animation: ad-scroll var(--dur, 40s) linear infinite;
  will-change: transform;
}
.ad-track.is-paused { animation-play-state: paused; }
@keyframes ad-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ad-slide {
  position: relative; flex: none; width: 190px; height: 190px;
  border-radius: 12px; overflow: hidden; border: 1px solid var(--line);
  background: var(--surface); display: block;
}
.ad-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ad-slide-ph {
  display: grid; place-items: center; height: 100%;
  font-size: 46px; font-weight: 800; color: rgba(255,255,255,.9);
  background: linear-gradient(135deg, #3a1626, #6b1435);
}
.ad-slide-info {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 10px 8px; display: grid; gap: 1px;
  background: linear-gradient(to top, rgba(0,0,0,.72), transparent);
}
.ad-slide-info b {
  font-size: 11.5px; font-weight: 650; color: #fff; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ad-slide-info i { font-size: 10px; font-style: normal; color: rgba(255,255,255,.7); }
.ad-slide .ad-tag { right: 6px; top: 6px; bottom: auto; }
@media (max-width: 720px) {
  .ad-slide { width: 132px; height: 132px; border-radius: 10px; }
  .ad-slide-info b { font-size: 10.5px; }
  .ad-slide-info i { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ad-track { animation: none; overflow-x: auto; }
}
/* 顶部付费位：无缝循环（按一份内容的宽度位移，配合多份复制） */
.ad-track {
  display: flex; gap: 12px; width: max-content;
  padding: 2px 0;
  opacity: 0;
}
.ad-track.is-ready {
  opacity: 1;
  animation: ad-scroll var(--dur, 25s) linear infinite;
}
.ad-track.is-paused { animation-play-state: paused; }
@keyframes ad-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-1 * var(--shift, 0px))); }
}
.ad-set { display: flex; gap: 12px; }
.ad-slide.is-empty {
  background: repeating-linear-gradient(45deg, transparent 0 10px,
    color-mix(in srgb, var(--brand) 6%, transparent) 10px 20px);
  border-style: dashed;
}
@media (prefers-reduced-motion: reduce) {
  .ad-track.is-ready { animation: none; }
}
/* 增值位（顶部 / 推荐） */
.boost-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.boost {
  border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px;
  background: linear-gradient(180deg, var(--brand-soft), transparent 70%);
}
.b-top { display: flex; align-items: center; gap: 8px; }
.b-badge {
  font-size: 10px; font-weight: 800; letter-spacing: .06em; color: #fff;
  background: var(--accent); padding: 2px 7px; border-radius: 4px;
}
.b-badge.alt { background: var(--brand); }
.boost b { font-size: 14.5px; color: var(--ink); }
.b-price { margin-top: 8px; font-size: 24px; font-weight: 800; color: var(--accent); letter-spacing: -.02em; }
.b-price small { font-size: 11.5px; font-weight: 500; color: var(--ink-3); margin-left: 4px; }
.boost p { margin-top: 6px; font-size: 12.5px; line-height: 1.7; color: var(--ink-3); }
@media (max-width: 720px) {
  .boost-grid { grid-template-columns: 1fr; }
}
/* 顶一下的冷却倒计时 */
.bump-wrap { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.bump-cd { font-size: 10.5px; color: var(--ink-3); font-family: var(--mono); letter-spacing: .02em; }
/* 发布页：其他手机号 */
.extra-phones { display: grid; gap: 8px; margin-bottom: 8px; }
.extra-phone { display: flex; gap: 8px; align-items: center; }
.extra-phone input { flex: 1; min-width: 0; }
.extra-phone .btn { flex: none; }
/* 页脚：客服微信 + 管理入口 */
.foot-contact { margin-top: 10px; font-size: 12.5px; color: var(--ink-2); line-height: 1.6; }
.foot-contact b { color: var(--accent); font-family: var(--mono); letter-spacing: .02em; }
.fc-sub { display: block; font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.foot-admin a {
  font-size: 10.5px; color: var(--ink-3); opacity: .45;
  text-decoration: none; font-family: var(--mono); letter-spacing: .08em;
}
.foot-admin a:hover { opacity: 1; color: var(--brand); }
/* 城市落地页补充内容 */
.city-sec { margin-top: 32px; border-top: 1px solid var(--line); padding-top: 22px; }
.city-sec h2 { font-size: 19px; font-weight: 750; letter-spacing: -.01em; margin-bottom: 12px; }
.city-sec p { color: var(--ink-2); font-size: 13.5px; line-height: 1.9; max-width: 820px; margin-bottom: 8px; }
.area-list { display: grid; gap: 8px; list-style: none; padding: 0; max-width: 820px; }
.area-list li {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: baseline;
  padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface);
}
.area-list b { font-size: 13.5px; color: var(--ink); flex: none; }
.area-list span { font-size: 12.5px; color: var(--ink-3); }
.faq-list { display: grid; gap: 14px; color: var(--ink-2); font-size: 13.5px; line-height: 1.85; max-width: 820px; }
.faq-list b { color: var(--ink); }
.city-links { display: flex; flex-wrap: wrap; gap: 8px; }
.city-links a {
  font-size: 12.5px; padding: 5px 11px; border: 1px solid var(--line);
  border-radius: 999px; color: var(--ink-2); background: var(--surface);
}
.city-links a:hover { border-color: var(--brand); color: var(--brand); }
/* 首页 H1 + 说明文案（SEO 用，视觉上保持克制） */
.home-intro { padding: 22px 0 4px; }
.home-h1 {
  font-size: clamp(20px, 2.4vw, 27px); font-weight: 800; letter-spacing: -.02em;
  color: var(--ink); margin-bottom: 6px;
}
.home-sub { font-size: 13px; line-height: 1.8; color: var(--ink-3); max-width: 74ch; }

.home-copy { margin-top: 34px; border-top: 1px solid var(--line); padding-top: 26px; }
.hc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.hc-col h2 { font-size: 14.5px; font-weight: 750; color: var(--ink); margin-bottom: 8px; }
.hc-col p { font-size: 12.5px; line-height: 1.85; color: var(--ink-3); margin-bottom: 8px; }
.hc-list { margin: 0 0 8px; padding-left: 16px; }
.hc-list li { font-size: 12.5px; line-height: 1.8; color: var(--ink-3); }
.hc-list b { color: var(--ink-2); }
.hc-links { display: flex; flex-wrap: wrap; gap: 6px; }
.hc-links a {
  font-size: 12px; padding: 3px 9px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink-2);
}
.hc-links a:hover { border-color: var(--brand); color: var(--brand); }
.hc-faq div { font-size: 12.5px; line-height: 1.8; color: var(--ink-3); margin-bottom: 8px; }
.hc-faq b { color: var(--ink-2); }
@media (max-width: 1080px) { .hc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .hc-grid { grid-template-columns: 1fr; gap: 20px; }
  .home-intro { padding: 16px 0 2px; }
}
/* 首页热门关键词 */
.kw-bar {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin: 14px 0 10px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
}
.kw-label {
  font-size: 10px; font-family: var(--mono); letter-spacing: .12em;
  color: var(--ink-3); text-transform: uppercase;
}
.kw {
  font-size: 12.5px; padding: 3px 10px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink-2); background: var(--bg);
}
.kw:hover { border-color: var(--brand); color: var(--brand); }
@media (max-width: 720px) { .kw { font-size: 12px; padding: 3px 9px; } }
/* 热门关键词：一排可横滑 */
.kw-scroll {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  flex: 1; min-width: 0; padding-bottom: 2px;
}
.kw-scroll::-webkit-scrollbar { display: none; }
.kw-scroll .kw { flex: none; white-space: nowrap; }
@media (max-width: 720px) {
  .kw-bar { padding: 8px 10px; gap: 6px; }
  .kw-label { flex: none; }
}
/* 顶部广告位：改成横长条，一屏 6 个席位 */
.ad-strip.is-track { padding: 0; }
.ad-slide {
  width: clamp(170px, calc((100vw - 110px) / 6), 320px);
  height: clamp(104px, calc((100vw - 110px) / 6 * 0.62), 198px);
  border-radius: 12px;
}
.ad-slide img { object-fit: cover; }
.ad-slide-ph { font-size: 40px; }
.ad-slide-info { padding: 26px 10px 8px; }
.ad-slide-info b { font-size: 12px; }
.ad-slide-info i { font-size: 10.5px; }

@media (max-width: 1080px) {
  .ad-slide {
    width: calc((100vw - 80px) / 4);
    height: calc((100vw - 80px) / 4 * 0.64);
  }
}
@media (max-width: 720px) {
  .ad-slide {
    width: calc((100vw - 56px) / 2.15);
    height: calc((100vw - 56px) / 2.15 * 0.66);
    border-radius: 10px;
  }
  .ad-slide-info b { font-size: 10.5px; }
  .ad-slide-info i { display: none; }
}
/* 顶部广告：留出左右边距，6 席位等宽铺满 */
.ad-strip.is-track {
  padding-left: 18px; padding-right: 18px;
  mask-image: linear-gradient(90deg, transparent, #000 34px, #000 calc(100% - 34px), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 34px, #000 calc(100% - 34px), transparent);
}
.ad-track { gap: 10px; }
.ad-set { gap: 10px; }
.ad-slide {
  width: calc((min(100vw, 1800px) - 36px - 50px) / 6);
  height: calc((min(100vw, 1800px) - 36px - 50px) / 6 * 0.62);
}
@media (max-width: 1080px) {
  .ad-slide {
    width: calc((100vw - 36px - 30px) / 4);
    height: calc((100vw - 36px - 30px) / 4 * 0.64);
  }
}
@media (max-width: 720px) {
  .ad-strip.is-track { padding-left: 12px; padding-right: 12px; }
  .ad-slide {
    width: calc((100vw - 24px - 10px) / 2.15);
    height: calc((100vw - 24px - 10px) / 2.15 * 0.66);
  }
}
/* 商户中心：观看次数 */
.views-cell { font-family: var(--mono); color: var(--ink-2); font-weight: 600; }
/* 卡片上的观看数 */
.ad-views {
  font-family: var(--mono); font-size: 11px; color: var(--ink-3);
  display: inline-flex; align-items: center; gap: 3px;
}
@media (max-width: 720px) {
  .ad-views { font-size: 10.5px; }
}
/* 手机端广告页底部固定 CTA */
.m-cta { display: none; }
@media (max-width: 720px) {
  .m-cta {
    display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 62px;
    padding: 8px 12px; z-index: 60;
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(8px);
  }
  .m-cta a, .m-cta button {
    flex: 1; text-align: center; padding: 12px 8px; border-radius: 10px;
    font-size: 14px; font-weight: 700; border: none;
  }
  .m-cta-call { background: var(--brand); color: #fff; }
  .m-cta-wx { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
  body.has-mcta { padding-bottom: 122px; }
}
/* SSR 广告页：封面 + 直接联系 */
.ad-top { display: grid; grid-template-columns: 300px 1fr; gap: 20px; margin: 16px 0 18px; align-items: start; }
.ad-cover { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); }
.ad-acts { display: flex; gap: 10px; flex-wrap: wrap; margin: 6px 0 14px; }
.ad-acts .btn { flex: 1 1 200px; }
@media (max-width: 720px) {
  .ad-top { grid-template-columns: 1fr; gap: 12px; }
  .ad-cover { max-height: 62vh; aspect-ratio: auto; }
  .ad-acts { flex-direction: column; }
}
/* 广告页：封面限高 + 详情段落 */
.ad-cover { max-height: 420px; object-fit: cover; }
.ad-detail { margin: 18px 0 10px; max-width: 820px; }
.ad-detail h2 { font-size: 15px; font-weight: 750; margin-bottom: 8px; color: var(--ink); }
.ad-detail p { font-size: 13px; line-height: 1.9; color: var(--ink-2); margin-bottom: 6px; }
.ad-taglist { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0 4px; }
@media (max-width: 720px) {
  .ad-cover { max-height: 52vh; }
}
/* 广告页：同城其他广告 */
.ad-nearby { margin: 22px 0 10px; border-top: 1px solid var(--line); padding-top: 16px; }
.ad-nearby h2 { font-size: 15px; font-weight: 750; margin-bottom: 10px; }
.ad-nearby ul { list-style: none; padding: 0; display: grid; gap: 8px; max-width: 720px; }
.ad-nearby li { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.ad-nearby a { color: var(--ink); }
.ad-nearby a:hover { color: var(--brand); }
.ad-nearby span { color: var(--ink-3); font-size: 12px; flex: none; }
/* 广告页缩略图行 */
.ad-thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 10px; }
.ad-thumbs img { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
@media (max-width: 720px) { .ad-thumbs img { width: 76px; height: 76px; } }
/* 广告页：信息栏限宽，别拉成一整行 */
.ad-top { grid-template-columns: 300px minmax(0, 620px); }
.ad-top .spec { border-bottom: none; }
.ad-top .spec dt { width: 72px; }
@media (max-width: 900px) {
  .ad-top { grid-template-columns: 1fr; }
}
/* 广告页：按钮组限宽，跟信息栏对齐 */
.ad-acts { max-width: 640px; }
.ad-thumbs { max-width: 640px; }
/* 广告页：图片在上、文字在下 */
.ad-gallery { margin: 14px 0 18px; }
.ad-gallery .ad-cover {
  width: 100%; max-height: 560px; object-fit: cover;
  border-radius: 16px; border: 1px solid var(--line); display: block;
}
.ad-gallery .ad-thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; max-width: none; }
.ad-gallery .ad-thumbs img {
  width: 104px; height: 104px; object-fit: cover; border-radius: 10px;
  border: 1px solid var(--line); cursor: pointer;
}
.ad-h1 { margin: 6px 0 10px; font-size: clamp(22px, 2.8vw, 32px); font-weight: 800; line-height: 1.35; }
.ad-priceline { display: flex; align-items: baseline; gap: 22px; flex-wrap: wrap; margin: 8px 0 10px; }
.ad-price { font-size: 26px; font-weight: 800; color: var(--accent); }
.ad-sub { color: var(--ink-3); font-size: 12.5px; }
.ad-intro { color: var(--ink-2); font-size: 14px; line-height: 1.9; max-width: 820px; margin-bottom: 14px; }
.ad-acts { display: flex; gap: 10px; flex-wrap: wrap; max-width: 820px; margin: 10px 0 16px; }
.ad-acts .btn { flex: 1 1 240px; }
.spec-list { display: grid; gap: 0; max-width: 820px; margin: 6px 0 18px; }
.spec-list .spec { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.spec-list dt { width: 76px; flex: none; color: var(--ink-3); font-size: 12.5px; }
.spec-list dd { margin: 0; font-size: 13.5px; color: var(--ink); }
.ad-note { color: var(--ink-3); font-size: 12.5px; line-height: 1.9; margin: 16px 0 6px; }
@media (max-width: 720px) {
  .ad-gallery .ad-cover { max-height: 60vh; border-radius: 12px; }
  .ad-gallery .ad-thumbs img { width: 76px; height: 76px; }
  .ad-acts .btn { flex: 1 1 100%; }
}
/* 广告图：竖图别裁太狠，等比显示 */
.ad-gallery { max-width: 720px; }
.ad-gallery .ad-cover {
  width: 100%; height: auto; max-height: 620px;
  object-fit: contain; background: #0b0810; border-radius: 14px;
}
@media (max-width: 720px) {
  .ad-gallery { max-width: none; }
  .ad-gallery .ad-cover { max-height: 58vh; }
}
/* 广告图：一排 6 张 */
.ad-gallery {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px; margin: 14px 0 6px; max-width: 100%;
}
.ad-shot { display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #0b0810; }
.ad-shot img { width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover; display: block; }
.ad-shot:hover { border-color: var(--brand); }
.ad-more { color: var(--ink-3); font-size: 12px; margin-bottom: 10px; }
@media (max-width: 1080px) {
  .ad-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .ad-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
}
/* 广告图：固定大小，一排最多 6 张 */
.ad-gallery {
  display: flex; gap: 8px; flex-wrap: nowrap; overflow-x: auto;
  margin: 14px 0 8px; padding-bottom: 2px; scrollbar-width: thin;
}
.ad-shot {
  flex: 0 0 auto;
  width: clamp(120px, calc((100% - 40px) / 6), 190px);
  border-radius: 10px; overflow: hidden; border: 1px solid var(--line);
}
.ad-shot img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
@media (max-width: 720px) {
  .ad-shot { width: 118px; }
}
/* 图片放大：灯箱 */
.ad-shot { padding: 0; background: none; cursor: zoom-in; }
.ad-shot img { pointer-events: none; }
.ad-lightbox {
  position: fixed; inset: 0; z-index: 200; display: flex;
  align-items: center; justify-content: center; flex-direction: column; gap: 10px;
  background: rgba(8, 6, 10, .92); backdrop-filter: blur(6px);
  cursor: zoom-out; padding: 24px;
}
.ad-lightbox[hidden] { display: none; }
.ad-lightbox img {
  max-width: min(92vw, 1100px); max-height: 86vh; width: auto; height: auto;
  border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.lb-hint { color: rgba(255,255,255,.55); font-size: 12px; }
/* 发布页：广告位余额卡 */
.pub-balance {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap; margin: 14px 0 6px; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 14px;
  background: linear-gradient(120deg, var(--brand-soft), transparent 70%);
}
.pb-label { font-size: 11px; letter-spacing: .1em; color: var(--ink-3); font-family: var(--mono); }
.pb-num { display: flex; align-items: baseline; gap: 6px; margin: 2px 0 2px; }
.pb-num b { font-size: 30px; font-weight: 800; color: var(--accent); line-height: 1.1; }
.pb-num.is-zero b { color: #ff6b6b; }
.pb-num span { font-size: 12px; color: var(--ink-3); }
.pb-sub { font-size: 12.5px; color: var(--ink-2); }
.pb-right { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 720px) {
  .pub-balance { padding: 12px; }
  .pb-right { width: 100%; }
  .pb-right .btn { flex: 1; }
}
/* 发布按钮：余额不足时锁定态 */
.btn.is-locked, .btn:disabled {
  opacity: .55; cursor: not-allowed; filter: grayscale(.35);
}
.btn.is-locked:hover { background: var(--brand); }
/* 城市页：大家还在搜 */
.city-kw { display: flex; flex-wrap: wrap; gap: 8px; }
.city-kw a {
  font-size: 12.5px; padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink-2); background: var(--surface);
}
.city-kw a:hover { border-color: var(--brand); color: var(--brand); }
/* 价格不换行（城市页卡片窄） */
.ad-price, .ad-row .ad-price { white-space: nowrap; }
@media (max-width: 900px) {
  .ad-row .ad-price { font-size: 19px; }
  .ad-row .ad-price small { font-size: 10px; }
}
/* 城市词条：长尾词小一号，视觉分层 */
.city-kw a:nth-child(n+13) { font-size: 11.5px; opacity: .85; }

/* 广告页评论 */
.ad-comments { margin: 26px 0 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.ad-comments h2 { font-size: 16px; font-weight: 800; margin-bottom: 12px; }
.cm-list { display: flex; flex-direction: column; gap: 10px; }
.cm-item { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; }
.cm-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 5px; }
.cm-head b { font-size: 13px; }
.cm-head span { font-size: 11.5px; color: var(--ink-3); font-family: var(--mono); }
.cm-item p { font-size: 13.5px; line-height: 1.75; color: var(--ink-2); white-space: pre-wrap; word-break: break-word; }
.cm-empty { font-size: 13px; color: var(--ink-3); padding: 6px 0 2px; }
.cm-form { margin-top: 14px; display: flex; flex-direction: column; gap: 9px; }
.cm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.cm-form input, .cm-form textarea {
  width: 100%; border: 1px solid var(--line-strong); border-radius: 10px;
  background: var(--surface-2); padding: 9px 11px; font-size: 13px; font-family: var(--font);
  color: var(--ink); resize: vertical;
}
.cm-form input:focus, .cm-form textarea:focus { outline: none; border-color: var(--brand); background: var(--surface); }
.cm-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.cm-tip { font-size: 11.5px; color: var(--ink-3); }
.cm-msg { font-size: 12.5px; padding: 8px 11px; border-radius: 9px; }
.cm-msg.is-ok { background: rgba(46, 160, 67, .12); color: #2ea043; }
.cm-msg.is-err { background: rgba(255, 90, 90, .12); color: #ff6b6b; }
@media (max-width: 620px) { .cm-row { grid-template-columns: 1fr; } }


/* 后台流量面板 */
.tr-kpi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.tr-kpi-item { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.tr-kpi-item .k { font-size: 11px; color: var(--ink-3); letter-spacing: .08em; }
.tr-kpi-item .v { font-size: 26px; font-weight: 800; color: var(--accent); line-height: 1.2; margin-top: 2px; }
.tr-bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; padding: 8px 0 0; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.tr-bar { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; height: 100%; }
.tr-bar i { display: block; width: 100%; background: linear-gradient(180deg, var(--brand), rgba(233,77,148,.35)); border-radius: 4px 4px 0 0; min-height: 2px; }
.tr-bar span { font-size: 10px; color: var(--ink-3); font-family: var(--mono); }
.tr-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tr-cols h3, .tr-hour h3 { font-size: 12px; color: var(--ink-3); letter-spacing: .08em; margin-bottom: 8px; }
.tr-row { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.tr-row b { font-family: var(--mono); color: var(--ink); }
.tr-hour { margin-top: 18px; }
.tr-hourbar { display: flex; gap: 3px; align-items: flex-end; height: 60px; }
.tr-hourbar i { flex: 1; background: var(--brand-soft); border-radius: 2px; min-height: 2px; }
@media (max-width: 720px) { .tr-kpi { grid-template-columns: 1fr 1fr; } .tr-cols { grid-template-columns: 1fr; } }

/* 区域专题页 */
.area-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0 22px; }
.area-facts > div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.area-facts span { display: block; font-size: 11px; color: var(--ink-3); letter-spacing: .08em; margin-bottom: 5px; }
.area-facts b { font-size: 12.8px; line-height: 1.8; color: var(--ink-2); font-weight: 500; }
.area-h2, .city-sec h2 { font-size: 17px; font-weight: 800; margin: 22px 0 12px; }
.area-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.faq-item b { font-size: 13.5px; display: block; margin-bottom: 5px; }
.faq-item p { font-size: 13px; line-height: 1.8; color: var(--ink-2); }
@media (max-width: 860px) {
  .area-facts { grid-template-columns: 1fr; }
  .area-list { grid-template-columns: 1fr; }
}
/* 同街区广告 */
.ad-nearby { margin: 24px 0 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.ad-nearby h2 { font-size: 15px; font-weight: 800; margin-bottom: 10px; }
.nb-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nb-row { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.nb-row:hover { border-color: var(--brand); }
.nb-row b { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nb-row span { font-size: 11.5px; color: var(--ink-3); }
@media (max-width: 720px) { .nb-list { grid-template-columns: 1fr; } }
/* 顶部广告位：空位招租样式 */
.ad-slide.is-empty { display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(233,77,148,.18), rgba(233,77,148,.05)); }
.ad-empty-txt { font-size: 12.5px; color: var(--ink-2); display: flex; flex-direction: column; gap: 3px; text-align: center; }
.ad-empty-txt em { font-style: normal; font-size: 11px; color: var(--brand); }

/* ==== 移动端专项 ==== */
@media (max-width: 820px) {
  /* SSR 页面（广告页/城市页/专题页）顶部导航：单行可滑，不再换行 */
  .ssr-page .head-inner { height: 58px; gap: 12px; flex-wrap: nowrap; }
  .ssr-page .main-nav {
    display: flex; flex: 1 1 auto; min-width: 0;
    gap: 6px; overflow-x: auto; white-space: nowrap;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
    font-size: 13px;
  }
  .ssr-page .main-nav::-webkit-scrollbar { display: none; }
  .ssr-page .main-nav a { padding: 6px 10px; border-radius: 999px; background: var(--paper-2); flex: none; }
  .ssr-page .brand-sub { display: none; }
  .ssr-page .brand-name { font-size: 15px; }

  /* SSR 页面底部固定 CTA 与底部 tabbar 分层，正文留出空间 */
  .ssr-page { padding-bottom: 0; }
  .ssr-page main { padding-bottom: 150px !important; }

  /* 图集：横向滑动更顺，边缘吸附 */
  .ad-gallery { scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
  .ad-shot { scroll-snap-align: start; width: 128px; }

  /* 城市/关键词 chips：单行横滑 */
  .city-kw, .city-links, .kw-bar { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .city-kw::-webkit-scrollbar, .city-links::-webkit-scrollbar, .kw-bar::-webkit-scrollbar { display: none; }
  .city-kw a, .city-links a, .kw-bar .kw { flex: none; }

  /* 点按区域不小于 44px */
  .btn, .btn-sm, .ad-thumbs a, .cm-form button { min-height: 40px; }
  .btn-sm { padding-top: 9px; padding-bottom: 9px; }

  /* 首页城市卡：两列变紧凑 */
  .city-grid { grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
  .city-card { padding: 10px 12px !important; }

  /* 推荐卡片：两列时压缩字号，避免文字被截断 */
  .hc-card, .boost-card { font-size: 12.5px; }
  .hc-card h3, .hc-card .t { font-size: 13px; line-height: 1.45; }

  /* 详情页规格表：值可以换行，不要溢出 */
  .spec-list .v, .spec-list dd { word-break: break-word; }

  /* 留言表单：输入框 16px 防止 iOS 缩放 */
  .cm-form input, .cm-form textarea { font-size: 16px; }
}

@media (max-width: 560px) {
  /* 首页顶部广告位：单张占 78% 宽，露出下一张提示可滑 */
  .ad-set .ad-slide { width: 78vw; }
  /* 推荐区：一列 */
  .boost-grid, .hc-grid { grid-template-columns: 1fr !important; }
  /* 详情页价格行不换行 */
  .ad-price, .ad-priceline { white-space: nowrap; }
  /* 图集再小一点，一屏看到 2.5 张 */
  .ad-shot { width: 112px; }
  /* 正文行高稍微放宽，手机阅读更舒服 */
  .ad-intro, .ad-note { line-height: 1.85; }
}

/* 推荐位（本周推荐）移动端：两列 → 一列横排 */
@media (max-width: 820px) {
  .fresh { gap: 8px; padding: 10px 12px; }
  .fresh-row { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .fs-title { font-size: 12px; }
}
@media (max-width: 560px) {
  .fresh { flex-direction: column; align-items: stretch; }
  .fresh-row { grid-template-columns: 1fr !important; gap: 6px; }
  .fresh-slot {
    display: flex; align-items: center; gap: 8px;
    padding: 9px 11px; border-radius: 10px;
  }
  .fs-top { flex: none; }
  .fs-badge { font-size: 9px; padding: 1px 5px; }
  .fs-region { display: none; }
  .fs-title {
    flex: 1 1 auto; min-width: 0; font-size: 12.5px; line-height: 1.4;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .fs-foot { flex: none; font-size: 11px; opacity: .8; }
}
/* 移动端：广告卡片改「横排 + 价格贴右下」，避免文字挤压 */
@media (max-width: 560px) {
  .ad-row {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    grid-template-areas: "thumb main" "thumb side";
    gap: 8px 10px;
    padding: 10px;
    align-items: start;
  }
  .ad-row .ad-thumb { grid-area: thumb; width: 104px; height: 104px; }
  .ad-row .ad-main { grid-area: main; min-width: 0; }
  .ad-row .ad-side {
    grid-area: side; display: flex; align-items: center;
    justify-content: space-between; gap: 8px; width: auto;
  }
  .ad-row .ad-title { font-size: 13.5px; line-height: 1.45; display: -webkit-box;
    -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .ad-row .ad-addr { font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ad-row .ad-meta { font-size: 11px; gap: 6px; flex-wrap: wrap; }
  .ad-row .ad-price { font-size: 18px; }
  .ad-row .ad-cta { font-size: 11.5px; }

  /* 排序：紧凑右对齐 */
  .toolbar { gap: 8px; }
  .sort-group { display: flex; gap: 6px; }
  .sort-group button {
    font-size: 12.5px; padding: 6px 14px; border-radius: 999px;
    border: 1px solid var(--line); background: var(--surface);
  }
  .sort-group button.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }
}
/* 移动端卡片内容顺序：标题 → 地址 → 类型/时间 */
@media (max-width: 820px) {
  .ad-row .ad-main .ad-title { order: 1 !important; margin-top: 0 !important; font-size: 14px !important; }
  .ad-row .ad-main .ad-addr { order: 2 !important; font-size: 11.5px !important; }
  .ad-row .ad-main .ad-meta { order: 3 !important; font-size: 11px !important; }
}

/* 本周推荐：带图 */
.fresh-slot { display: flex; align-items: center; gap: 10px; }
.fs-thumb {
  flex: none; width: 54px; height: 54px; border-radius: 9px; overflow: hidden;
  background: linear-gradient(135deg, #a2336b, #43132f);
  display: grid; place-items: center;
}
.fs-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fs-thumb.is-empty { font-size: 20px; font-weight: 800; color: rgba(255,255,255,.9); }
.fs-body { display: grid; gap: 3px; min-width: 0; flex: 1 1 auto; }
.fresh-slot .fs-title { min-width: 0; }
@media (max-width: 560px) {
  .fs-thumb { width: 46px; height: 46px; border-radius: 8px; }
}


/* 纽约周边（子区域）强化版 */
.sub-bar {
  display: block; overflow: visible; padding: 0 0 16px;
  margin: 0 0 4px;
}
.sub-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 9px; }
.sub-bar .sub-label {
  font-size: 13px; font-family: var(--font); letter-spacing: 0;
  text-transform: none; color: var(--ink); font-weight: 750;
  padding-left: 10px; position: relative;
}
.sub-bar .sub-label::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 14px; border-radius: 2px;
  background: linear-gradient(180deg, var(--brand), var(--accent));
}
.sub-hint { font-size: 11.5px; color: var(--ink-3); }

.sub-chips {
  display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 4px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.sub-chips::-webkit-scrollbar { display: none; }

.sub-chip {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; padding: 9px 14px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: var(--surface);
  color: var(--ink-2); font-weight: 550;
  transition: border-color .16s, background .16s, color .16s, transform .12s;
}
.sub-chip:hover { border-color: var(--brand); color: var(--ink); transform: translateY(-1px); }
.sub-chip .sc-count {
  font-family: var(--mono); font-size: 11.5px; font-weight: 700;
  min-width: 22px; text-align: center; padding: 2px 6px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-ink);
}
.sub-chip .sc-count.is-zero { background: var(--paper-2); color: var(--ink-3); }
.sub-chip.is-all { border-style: dashed; }
.sub-chip.is-on {
  color: #fff; border-color: transparent;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 6px 18px -8px rgba(233, 77, 148, .8);
}
.sub-chip.is-on .sc-count { background: rgba(255, 255, 255, .22); color: #fff; }

@media (max-width: 560px) {
  .sub-chip { font-size: 13px; padding: 8px 12px; border-radius: 10px; }
  .sub-hint { display: none; }
}

/* 城市栏：移动端横滑 + 渐变提示 + 展开 */
.city-bar { position: relative; scroll-snap-type: x proximity; }
.city-bar::-webkit-scrollbar { height: 0; }

.city-more { border-style: dashed; min-width: 96px; }
.city-more .c-name { color: var(--brand-ink); }

/* 右侧渐隐，提示还能滑 */
.city-wrap { position: relative; }
.city-wrap.has-more::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 10px; width: 54px;
  pointer-events: none; border-radius: 0 12px 12px 0;
  background: linear-gradient(90deg, transparent, var(--paper) 78%);
}

@media (max-width: 820px) {
  .city-bar { flex-wrap: nowrap; gap: 7px; padding-bottom: 8px; }
  .city-bar .city { min-width: 104px; padding: 9px 12px; border-radius: 11px; }
  .city-bar .c-name { font-size: 13.5px; }
  .city-bar .c-en { font-size: 9.5px; }
  /* 展开后变网格，全部可见 */
  .city-bar.is-expanded {
    flex-wrap: wrap; overflow: visible; max-height: none;
  }
  .city-bar.is-expanded .city { min-width: calc(50% - 4px); flex: 0 0 calc(50% - 4px); }
  .city-wrap.is-expanded::after { display: none; }
}
.city-bar { scrollbar-width: none; -ms-overflow-style: none; }
.city-bar::-webkit-scrollbar { display: none !important; width: 0 !important; height: 0 !important; }

/* 推荐位招租卡 */
.fresh-slot.is-rent { border-style: dashed; background: linear-gradient(120deg, rgba(233,77,148,.10), transparent 70%); }
.fresh-slot.is-rent:hover { border-color: var(--brand); }
.fs-thumb.is-rent { background: rgba(233,77,148,.14); border: 1px dashed rgba(233,77,148,.5); }
.fs-thumb.is-rent span { font-size: 11.5px; color: var(--brand); font-weight: 700; }
.fs-badge.is-rent { background: rgba(233,77,148,.16); color: var(--brand); }
.fresh-slot.is-rent .fs-title { color: var(--ink-2); }
.fresh-slot.is-rent .fs-foot { color: var(--brand); }