:root {
  --bg: #f5f6f8;
  --paper: #fff;
  --ink: #182230;
  --muted: #7a8492;
  --line: #e9edf2;
  --red: #d33c00;
  --red-dark: #b83400;
  --red-pale: #fff1eb;
  --orange: #ff8a4c;
  --amber: #e07a2f;
  --green: #249b79;
  --shadow: 0 10px 30px rgba(28, 39, 56, 0.055);
  --radius: 16px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 14px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; height: auto; display: block; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--red); color: #fff; padding: .5rem 1rem; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* —— Header（对齐 zhuye） —— */
.top {
  height: 70px; background: #fff; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; position: sticky; top: 0; z-index: 50;
}
.nav {
  width: min(1160px, calc(100% - 40px)); margin: auto;
  display: flex; align-items: center; gap: 34px;
  flex-wrap: nowrap; min-width: 0;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; min-width: 0; }
.nav-publish .txt-short { display: none; }
.logo {
  width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(145deg, #ff7a45, #d33c00);
  display: grid; place-items: center; color: #fff;
  font-size: 18px; font-weight: 900;
  box-shadow: 0 5px 12px rgba(211, 60, 0, 0.28);
}
.brand-title { font-size: 20px; font-weight: 850; letter-spacing: -.8px; line-height: 1.15; }
.brand-sub { font-size: 9px; color: #9aa2ad; letter-spacing: 1.7px; margin-top: 1px; }
.links { display: flex; gap: 25px; color: #697483; font-size: 13px; }
.links a.is-on, .links a:hover { color: var(--red); font-weight: 700; }
.navright { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.search {
  height: 38px; width: 280px; display: flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); border-radius: 10px; padding: 0 6px 0 10px;
  background: #fafbfc; color: #87919e;
}
.search:focus-within { border-color: rgba(211, 60, 0, 0.35); background: #fff; }
.search-ico { flex: 0 0 auto; font-size: 13px; opacity: .75; }
.search input {
  flex: 1 1 auto; min-width: 0; width: 100%; border: 0; outline: 0;
  background: transparent; font-size: 12px; color: var(--ink);
}
.search-btn {
  flex: 0 0 auto; border: 0; border-radius: 8px; cursor: pointer;
  background: var(--red); color: #fff; font-size: 12px; font-weight: 750;
  padding: 7px 12px; line-height: 1; min-height: 28px;
}
.search-btn:hover { background: var(--red-dark); }
.search-page-form {
  display: flex; gap: 10px; padding: 0 22px 16px; align-items: center;
}
.search-page-form input {
  flex: 1; min-height: 42px; border: 1px solid var(--line); border-radius: 10px;
  padding: 0 14px; font-size: 14px; outline: none; background: #fafbfc;
}
.search-page-form input:focus { border-color: rgba(211, 60, 0, 0.4); background: #fff; }
.search-more-tip { margin: 0; color: #8a94a1; font-size: 12px; text-align: center; }
.btn {
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  padding: 9px 14px; font-size: 12px; font-weight: 700; color: #465160;
  transition: .18s; display: inline-flex; align-items: center; justify-content: center;
  min-height: 38px; cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-hot {
  color: #fff !important; background: var(--red) !important; border-color: var(--red) !important;
  box-shadow: 0 5px 12px rgba(211, 60, 0, 0.22);
}
.btn-hot:hover { background: var(--red-dark) !important; }
.btn-block { width: 100%; }
.nav-toggle {
  display: none; width: 38px; height: 38px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 16px; height: 1.5px; background: var(--ink); margin: auto; position: relative;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

.site-main, main.site-main {
  width: min(1160px, calc(100% - 40px)); margin: auto; padding-bottom: 8px;
}

/* —— Hero —— */
.hero {
  position: relative; overflow: hidden; margin: 27px 0 20px; padding: 30px 34px 28px;
  border-radius: 18px;
  background: linear-gradient(112deg, #fff5f1 0%, #fff 58%, #fff1e5 100%);
  border: 1px solid #f5e7e1;
  display: flex; align-items: center; justify-content: space-between; gap: 25px;
}
.hero::after {
  content: ""; position: absolute; width: 260px; height: 260px;
  border: 38px solid rgba(255, 156, 119, 0.14); border-radius: 50%;
  right: 190px; top: -160px; pointer-events: none;
}
.hero-copy, .hero-cta { position: relative; z-index: 1; }
.kicker {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: 1.5px;
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 0 4px rgba(211, 60, 0, 0.12);
}
.hero h1 {
  font-size: 35px; line-height: 1.2; letter-spacing: -1.5px;
  margin: 11px 0 9px; font-weight: 850;
}
.hero h1 span { color: var(--red); }
.hero p { margin: 0; color: #7d8793; font-size: 13px; max-width: 34em; }
.hero-cta { display: flex; gap: 10px; flex-shrink: 0; }
.hero-cta .btn { padding: 12px 17px; }
.hero-cta .btn-hot { font-size: 13px; }

.trendbar {
  display: flex; align-items: center; gap: 13px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 11px 16px; margin-bottom: 22px; min-width: 0;
}
.trend-title {
  display: flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 800; color: var(--red); white-space: nowrap;
}
.trend-title b { font-size: 15px; }
.trend-items {
  display: flex; gap: 20px; align-items: center; overflow: hidden;
  white-space: nowrap; flex: 1; font-size: 11px; color: #697483;
}
.trend-items span::before {
  content: "↗"; color: var(--red); font-weight: 900; margin-right: 6px;
}
.trend-count { white-space: nowrap; color: #9aa2ad; font-size: 10px; }
.trend-count strong { color: var(--red); font-size: 14px; margin: 0 3px; }

.section-top {
  display: flex; align-items: flex-end; justify-content: space-between; margin: 25px 0 13px;
}
.section-top h2 { font-size: 18px; letter-spacing: -.5px; margin: 0; font-weight: 800; }
.section-top p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.section-note { color: #929ba7; font-size: 11px; }

/* —— 双栏面板 —— */
.columns {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start;
}
.panel {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.panel-head {
  padding: 19px 20px 16px; display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--line);
}
.panel-icon {
  width: 42px; height: 42px; border-radius: 13px;
  display: grid; place-items: center; font-size: 20px; font-weight: 800; flex-shrink: 0;
}
.icon-dist { background: var(--red-pale); color: var(--red); }
.icon-need { background: #fff4e8; color: var(--amber); }
.panel-title { font-size: 17px; font-weight: 850; letter-spacing: -.4px; }
.panel-sub { color: #929ba7; font-size: 10px; margin-top: 2px; }
.panel-num { margin-left: auto; text-align: right; }
.panel-num strong {
  display: block; font-size: 20px; line-height: 1.1; letter-spacing: -.6px; font-weight: 800;
}
.panel-num span { font-size: 10px; color: #929ba7; }
.live-label {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--green); font-size: 10px; margin-top: 4px;
}
.live-label::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--green);
}

.list { padding: 0 20px; }
.item {
  display: block; padding: 17px 0; border-bottom: 1px solid #eef1f4;
  transition: background .15s;
}
.item:last-child { border-bottom: 0; }
a.item:hover { background: transparent; }
.itemline {
  display: flex; align-items: center; gap: 8px; margin-bottom: 7px;
}
.badge {
  font-size: 10px; font-weight: 750; padding: 3px 7px; border-radius: 5px;
  background: var(--red-pale); color: var(--red);
}
.badge.need { background: #fff3e6; color: var(--amber); }
.category { font-size: 10px; color: #9099a5; }
.fresh {
  margin-left: auto; color: var(--red); font-size: 10px; font-weight: 750; white-space: nowrap;
}
.item h3 {
  font-size: 14px; line-height: 1.5; font-weight: 750; letter-spacing: -.2px; margin: 0 0 7px;
}
.item-meta {
  display: flex; align-items: center; gap: 12px; color: #929ba7; font-size: 10px; flex-wrap: wrap;
}
.item-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px;
}
.condition { font-size: 11px; color: #586575; }
.condition strong { color: var(--red); font-size: 12px; }
.condition.need strong { color: var(--amber); }
.arrow {
  width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 8px;
  display: grid; place-items: center; color: #8b95a1; font-size: 15px;
  background: #fff; flex-shrink: 0; transition: .15s;
}
.item:hover .arrow {
  background: var(--red); border-color: var(--red); color: #fff;
}
.panel-foot {
  border-top: 1px solid var(--line); padding: 13px 20px;
  display: flex; align-items: center; justify-content: space-between;
  background: #fcfcfd; color: #929ba7; font-size: 10px;
}
.more { color: var(--red); font-size: 11px; font-weight: 750; }
.more:hover { text-decoration: underline; }
.no-result {
  display: none; padding: 28px; text-align: center; color: #929ba7; font-size: 12px;
}
.no-result.show { display: block; }

.trust {
  display: flex; align-items: center; gap: 12px; padding: 15px 18px;
  border-radius: 12px; background: #fff; border: 1px solid var(--line);
  margin: 19px 0 30px; color: #828d99; font-size: 11px;
}
.trust-icon {
  width: 30px; height: 30px; border-radius: 9px; background: #f2f5f8;
  display: grid; place-items: center; color: #6e7b8a; font-size: 15px; flex-shrink: 0;
}
.trust strong { color: #455160; }
.trust-right { margin-left: auto; white-space: nowrap; color: #9aa2ad; font-size: 10px; }

/* —— 内页 —— */
.inner-hero {
  margin: 22px 0 16px; padding: 22px 24px;
  border-radius: 16px; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.inner-hero.banner-slim { padding: 14px 20px; }
.inner-hero-row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.inner-hero h1 {
  margin: 6px 0 4px; font-size: 24px; font-weight: 850; letter-spacing: -.6px;
}
.inner-hero p { margin: 0; color: var(--muted); font-size: 12px; }
.breadcrumb {
  display: flex; gap: 6px; flex-wrap: wrap; font-size: 11px; color: #929ba7; margin-bottom: 2px;
}
.breadcrumb a:hover { color: var(--red); }

.list-tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.list-tabs a {
  padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; font-size: 12px; font-weight: 700; color: #586575;
}
.list-tabs a.is-on {
  background: var(--red); border-color: var(--red); color: #fff;
}
.list-panel { margin-bottom: 28px; }
.pager-foot { justify-content: center; }
.pager {
  display: flex; align-items: center; gap: 12px; font-size: 12px; color: #697483;
}
.pager a {
  padding: 7px 12px; border-radius: 8px; border: 1px solid var(--line);
  background: #fff; font-weight: 700; color: var(--ink);
}
.pager a:hover { border-color: var(--red); color: var(--red); }

/* 详情 */
.detail-panel { padding: 24px 26px 26px; margin: 0 0 30px; }
.detail-head { margin-bottom: 14px; }
.detail-tags {
  margin-bottom: 12px; gap: 8px;
}
.detail-tags .fresh { font-weight: 700; color: #a0a8b3; }
.cat-pill {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 700; letter-spacing: .01em;
  color: #5c6673; line-height: 1;
  padding: 4px 10px; border-radius: 999px;
  background: #f3f5f7; border: 1px solid #e6eaef;
}
.detail-head h1 {
  margin: 0 0 12px; font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 850; letter-spacing: -.6px; line-height: 1.35;
}
.detail-meta {
  display: flex; flex-wrap: wrap; gap: 8px 14px; color: #929ba7; font-size: 12px;
  padding-top: 2px;
}
.cat-field select {
  width: 100%; margin-top: 6px; padding: 11px 12px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  appearance: auto;
}
.cat-field .form-note { margin-top: 6px; display: block; }
.vip-badge {
  display: inline-block; font-style: normal; font-size: 10px; font-weight: 800;
  background: var(--red); color: #fff; padding: 1px 6px; border-radius: 4px; margin-left: 4px;
}
.vip-tag {
  display: inline-flex; align-items: center; justify-content: center;
  font-style: normal; font-size: 10px; font-weight: 850; letter-spacing: .04em;
  color: #fff; line-height: 1;
  padding: 3px 7px; border-radius: 5px;
  background: linear-gradient(135deg, var(--orange), var(--red));
  box-shadow: 0 2px 6px rgba(211, 60, 0, 0.22);
}
.detail-body {
  font-size: 14px; line-height: 1.85; padding: 16px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #3a4554;
}
.detail-image {
  margin: 16px 0 0; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line); background: #f3f5f7;
}
.detail-image img { width: 100%; max-height: 460px; object-fit: contain; background: #111; }
.contact-box {
  margin: 16px 0 0; padding: 16px 16px 14px;
  background: var(--red-pale); border: 1px solid #f5e0d8; border-radius: 12px;
}
.contact-box-head {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px;
}
.contact-box h2 { margin: 0; font-size: 14px; font-weight: 800; }
.contact-type-pill {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 750; color: var(--red);
  background: #fff; border: 1px solid #f0cbbd; border-radius: 999px;
  padding: 2px 9px;
}
.contact-hint { margin: 0 0 12px; color: #929ba7; font-size: 12px; }
.contact-result {
  margin-top: 12px; gap: 10px; flex-direction: column; align-items: stretch;
}
.contact-result[hidden] { display: none !important; }
.contact-result:not([hidden]) { display: flex; }
.contact-result-main {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.contact-type-tag {
  display: none; font-size: 11px; font-weight: 750; color: #7a8492;
  background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 4px 8px;
}
.contact-type-tag:not(:empty) { display: inline-flex; }
.contact-value {
  display: inline-block; font-size: 16px; font-weight: 800; color: var(--red);
  padding: 8px 12px; background: #fff; border-radius: 8px; border: 1px solid #f0ddd5;
  word-break: break-all;
}
.contact-risk {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #f0b4a0;
  background: linear-gradient(180deg, #fff4ef 0%, #ffe8df 100%);
  box-shadow: 0 0 0 3px rgba(211, 60, 0, 0.06);
}
.contact-risk strong {
  display: inline-flex; align-items: center; gap: 5px;
  margin: 0 0 5px; font-size: 12px; font-weight: 850; color: var(--red);
  letter-spacing: .02em;
}
.contact-risk strong::before {
  content: "!";
  display: inline-grid; place-items: center;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--red); color: #fff; font-size: 11px; font-weight: 900;
  line-height: 1;
}
.contact-risk p {
  margin: 0; font-size: 12px; line-height: 1.65; color: #8a3d28; font-weight: 600;
}
.detail-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.detail-risk {
  margin: 20px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #f0b4a0;
  background: linear-gradient(180deg, #fff4ef 0%, #ffe8df 100%);
  box-shadow: 0 0 0 3px rgba(211, 60, 0, 0.06);
}
.detail-risk strong {
  display: inline-flex; align-items: center; gap: 5px;
  margin: 0 0 6px; font-size: 13px; font-weight: 850; color: var(--red);
}
.detail-risk strong::before {
  content: "!";
  display: inline-grid; place-items: center;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--red); color: #fff; font-size: 11px; font-weight: 900; line-height: 1;
}
.detail-risk p {
  margin: 0; font-size: 12px; line-height: 1.7; color: #8a3d28; font-weight: 600;
}
.contact-fields { margin: 0 0 14px; }
.contact-fields .field-label {
  display: block; font-size: 12px; font-weight: 750; color: #465160; margin-bottom: 6px;
}
.contact-type-switch { margin-bottom: 10px; }
.contact-type-switch label { font-size: 12px; }

/* 用户 / 发布 */
.user-hero {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.auth-flash {
  margin: 0 0 12px; padding: 10px 14px; border-radius: 10px;
  background: var(--red-pale); border: 1px solid #f5e0d8;
}
.auth-layout {
  display: grid; grid-template-columns: 1.35fr .9fr; gap: 18px;
  align-items: start; margin: 0 0 30px;
}
.auth-layout.is-logged { grid-template-columns: 1.4fr .85fr; }
.auth-panel, .publish-form, .user-panel-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); padding: 22px 22px 24px; margin: 0;
  width: 100%; max-width: none;
}
.auth-form-head { margin: 0 0 16px; }
.auth-form-head h2 { margin: 0 0 4px; font-size: 20px; font-weight: 850; letter-spacing: -.4px; }
.auth-form-head p { margin: 0; color: var(--muted); font-size: 12px; }
.auth-tabs { display: flex; gap: 8px; margin-bottom: 18px; padding: 4px; background: #f4f6f8; border-radius: 12px; }
.auth-tabs button,
.auth-tabs .auth-tab {
  flex: 1; border: 0; background: transparent; padding: 11px 10px;
  border-radius: 10px; color: #697483; font-weight: 700; font-size: 13px;
  text-align: center; cursor: pointer; display: block;
}
.auth-tabs button.is-on,
.auth-tabs .auth-tab.is-on {
  background: #fff; color: var(--red);
  box-shadow: 0 4px 12px rgba(28, 39, 56, 0.06);
}
.auth-tabs .auth-tab:hover { color: var(--red); }
.auth-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.auth-form label, .publish-form label {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 12px; font-size: 11px; font-weight: 750;
}
.auth-form input, .publish-form input[type=text],
.publish-form input[type=tel], .publish-form textarea,
.publish-form input[type=file] {
  border: 1px solid var(--line); border-radius: 9px; padding: 11px 12px;
  background: #fff; outline: none; font-size: 13px; font-weight: 400;
}
.auth-form input:focus, .publish-form input:focus, .publish-form textarea:focus {
  border-color: #f19b8c; box-shadow: 0 0 0 3px rgba(211, 60, 0, 0.08);
}
.form-note { font-size: 11px; color: var(--muted); margin: -4px 0 12px; }
.auth-switch { text-align: center; margin: 14px 0 0; }
.auth-switch a { color: var(--red); font-weight: 700; }
.reg-quiz {
  margin: 4px 0 12px; padding: 12px 12px 2px;
  background: var(--red-pale); border: 1px solid #f5e0d8; border-radius: 10px;
}
.reg-quiz label { margin-bottom: 8px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none !important; }
.form-msg { min-height: 1.3em; margin: 10px 0 0; color: var(--red); font-size: 12px; }
.form-msg.is-ok { color: var(--green); }
.pub-overlay {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  padding: 20px;
  background: rgba(24, 34, 48, 0.48);
  backdrop-filter: blur(3px);
}
.pub-overlay[hidden] { display: none !important; }
.pub-overlay-card {
  width: min(360px, 100%);
  text-align: center;
  padding: 28px 22px 24px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #f0ddd4;
  box-shadow: 0 18px 50px rgba(28, 39, 56, 0.18);
}
.pub-spinner {
  width: 42px; height: 42px; margin: 0 auto 14px;
  border-radius: 50%;
  border: 3px solid #f3e0d8;
  border-top-color: var(--red);
  animation: pub-spin .75s linear infinite;
}
@keyframes pub-spin { to { transform: rotate(360deg); } }
.pub-overlay-title {
  margin: 0 0 6px; font-size: 16px; font-weight: 850; color: var(--ink);
}
.pub-overlay-desc {
  margin: 0; font-size: 13px; color: #7a8492; line-height: 1.55;
}
.type-switch { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.type-switch label {
  flex: 1; flex-direction: row !important; align-items: center; justify-content: center;
  gap: 6px !important; margin: 0 !important; padding: 10px;
  border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-size: 12px;
  min-width: 72px;
}
.contact-type-switch label { flex: 1 1 calc(50% - 8px); }
.type-switch label.is-on { border-color: var(--red); background: var(--red-pale); color: var(--red); }
.type-switch input { accent-color: var(--red); }
.char-count { align-self: flex-end; font-size: 10px; color: #929ba7; margin-top: -6px; margin-bottom: 10px; }
.publish-tip {
  margin: 0 0 14px; padding: 12px 14px; border-radius: 10px;
  background: linear-gradient(112deg, #fff5f1, #fff); border: 1px solid #f5e7e1;
  font-size: 12px; color: #586575; line-height: 1.55;
}
.publish-tip strong { color: var(--red); }
.publish-form { margin: 0 0 30px; }
.img-fold {
  margin: 0 0 14px;
  border: 1px solid #f0ddd4;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 241, 235, 0.9) 0%, #fff 46%, #fff 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset, 0 8px 22px rgba(211, 60, 0, 0.04);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.img-fold:hover {
  border-color: #ebc9ba;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 10px 26px rgba(211, 60, 0, 0.07);
}
.img-fold > summary {
  list-style: none; cursor: pointer; user-select: none;
  display: flex; align-items: center; gap: 12px;
  padding: 13px 14px 13px 12px;
  transition: background .18s ease;
}
.img-fold > summary::-webkit-details-marker { display: none; }
.img-fold > summary:hover { background: rgba(255, 245, 241, 0.55); }
.img-fold-ico {
  flex: 0 0 auto;
  width: 36px; height: 36px; border-radius: 11px;
  display: grid; place-items: center;
  color: var(--red);
  background: linear-gradient(160deg, #fff 0%, var(--red-pale) 100%);
  border: 1px solid #f3d8cc;
  box-shadow: 0 4px 10px rgba(211, 60, 0, 0.08);
}
.img-fold-copy {
  flex: 1 1 auto; min-width: 0;
  display: flex; flex-direction: column; gap: 2px;
}
.img-fold-copy strong {
  font-size: 13px; font-weight: 800; color: var(--ink); letter-spacing: 0.01em;
}
.img-fold-copy em {
  font-style: normal; font-size: 11px; color: #8a94a1; font-weight: 550;
}
.img-fold-chev {
  flex: 0 0 auto;
  width: 22px; height: 22px; border-radius: 50%;
  position: relative;
  background: #fff;
  border: 1px solid #efd8ce;
  transition: transform .22s ease, background .18s ease, border-color .18s ease;
}
.img-fold-chev::before,
.img-fold-chev::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  background: var(--red); border-radius: 1px;
  transition: transform .22s ease, opacity .18s ease;
}
.img-fold-chev::before {
  width: 9px; height: 1.5px; transform: translate(-50%, -50%);
}
.img-fold-chev::after {
  width: 1.5px; height: 9px; transform: translate(-50%, -50%);
}
.img-fold[open] {
  border-color: #e8c4b4;
  background: #fff;
}
.img-fold[open] > summary {
  border-bottom: 1px solid #f3e6e0;
  background: linear-gradient(180deg, #fff8f5 0%, #fff 100%);
}
.img-fold[open] .img-fold-chev {
  transform: rotate(90deg);
  background: var(--red-pale);
  border-color: #efc8b8;
}
.img-fold[open] .img-fold-chev::after { opacity: 0; }
.img-fold-body { padding: 14px 14px 14px; }
.img-pick {
  position: relative; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 4px; text-align: center;
  min-height: 108px; padding: 18px 14px;
  border-radius: 12px; cursor: pointer;
  border: 1.5px dashed #e8c9bb;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255, 241, 235, 0.95) 0%, #fff 55%);
  transition: border-color .18s ease, background .18s ease, transform .15s ease;
}
.img-pick:hover {
  border-color: var(--red);
  background: linear-gradient(180deg, #fff5f1 0%, #fff 70%);
  transform: translateY(-1px);
}
.img-pick input {
  position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%;
}
.img-pick-plus {
  width: 28px; height: 28px; border-radius: 9px;
  display: grid; place-items: center;
  font-size: 16px; font-weight: 800; line-height: 1; color: #fff;
  background: linear-gradient(145deg, var(--orange), var(--red));
  box-shadow: 0 6px 14px rgba(211, 60, 0, 0.22);
  margin-bottom: 4px;
}
.img-pick-title { font-size: 13px; font-weight: 800; color: var(--ink); }
.img-pick-sub { font-size: 11px; color: #8a94a1; }
.img-fold-hint {
  margin: 10px 0 0; font-size: 11px; color: #7a8492; line-height: 1.55;
}
.img-preview {
  margin-top: 12px; display: flex; align-items: center; gap: 12px;
  padding: 10px; border-radius: 12px;
  background: #fafbfc; border: 1px solid var(--line);
}
.img-preview img {
  width: 56px; height: 56px; object-fit: cover; border-radius: 10px;
  background: #eee; flex: 0 0 auto;
}
.img-preview-meta { flex: 1 1 auto; min-width: 0; }
.img-preview-name {
  margin: 0 0 6px; font-size: 12px; color: var(--green); font-weight: 700;
  word-break: break-all; line-height: 1.4;
}
.img-preview-name.is-err { color: var(--red); }
.img-preview-clear {
  appearance: none; border: 0; background: transparent; padding: 0;
  font-size: 11px; font-weight: 700; color: #8a94a1; cursor: pointer;
}
.img-preview-clear:hover { color: var(--red); }
.img-choice {
  margin-top: 12px; padding: 12px;
  border-radius: 12px; border: 1px solid #f0ddd4;
  background: linear-gradient(180deg, #fff8f5 0%, #fff 100%);
}
.img-choice-title {
  margin: 0 0 4px; font-size: 13px; font-weight: 800; color: var(--ink);
}
.img-choice-desc {
  margin: 0 0 10px; font-size: 11px; color: #8a94a1; line-height: 1.5;
}
.img-choice-opts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.img-choice-btn {
  appearance: none; text-align: left; cursor: pointer;
  display: flex; flex-direction: column; gap: 3px;
  padding: 11px 12px; border-radius: 11px;
  border: 1.5px solid #ecd5ca; background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.img-choice-btn strong { font-size: 13px; font-weight: 800; color: var(--ink); }
.img-choice-btn span { font-size: 11px; color: #8a94a1; line-height: 1.4; }
.img-choice-btn:hover {
  border-color: #e0b39f; background: #fffaf8;
}
.img-choice-btn.is-on {
  border-color: var(--red);
  background: var(--red-pale);
  box-shadow: 0 0 0 3px rgba(211, 60, 0, 0.08);
}
.img-choice-btn.is-on strong { color: var(--red); }
@media (max-width: 480px) {
  .img-choice-opts { grid-template-columns: 1fr; }
}

.auth-side { display: flex; flex-direction: column; gap: 12px; }
.side-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); padding: 16px 16px 14px;
}
.side-card.accent {
  background: linear-gradient(145deg, #fff5f1 0%, #fff 70%);
  border-color: #f5e0d8;
}
.side-card h3 { margin: 0 0 8px; font-size: 14px; font-weight: 850; }
.side-card p { margin: 0 0 10px; color: #586575; font-size: 12px; line-height: 1.6; }
.side-mini, .side-steps { margin: 0 0 10px; padding-left: 1.1rem; color: #697483; font-size: 11px; line-height: 1.7; }
.side-tiny { font-size: 11px !important; color: #7a8492 !important; }
.side-card .more { font-size: 11px; }

.account-panel { padding: 22px; }
.account-head {
  display: flex; align-items: center; gap: 14px; margin-bottom: 16px;
}
.account-avatar {
  width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(145deg, #ff7a45, #d33c00); color: #fff;
  display: grid; place-items: center; font-weight: 900; font-size: 16px;
  box-shadow: 0 6px 14px rgba(211, 60, 0, 0.25);
}
.account-head h2 { margin: 0 0 3px; font-size: 18px; font-weight: 850; }
.account-head p { margin: 0; color: var(--muted); font-size: 12px; }
.account-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  margin-bottom: 16px;
}
.account-stats div,
.account-stats .stat-link {
  background: #fafbfc; border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 10px; text-align: center; display: block; color: inherit;
}
.account-stats .stat-link:hover {
  border-color: rgba(211, 60, 0, 0.35);
  background: #fff7f3;
  text-decoration: none;
}
.account-stats .stat-link strong { color: var(--red); }
.account-stats span { display: block; font-size: 10px; color: #929ba7; margin-bottom: 4px; }
.account-stats strong { font-size: 15px; font-weight: 850; letter-spacing: -.3px; }
.my-posts-page { margin-bottom: 24px; }
.my-posts-note { margin: 0; padding: 0 22px 12px; }
.my-posts-page-list { padding: 0 22px 18px; }
.account-one-liner {
  margin: 4px 0 0; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: 11px; color: #7a8492; line-height: 1.6;
}
.account-one-liner a { color: var(--red); font-weight: 700; }
.user-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; align-items: center; }
.my-posts {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line);
}
.my-posts-head {
  display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline;
  margin-bottom: 12px;
}
.my-posts-head h3 { margin: 0; font-size: 15px; font-weight: 850; }
.my-posts-list { display: flex; flex-direction: column; gap: 10px; }
.my-post-item {
  padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line); background: #fafbfc;
}
.my-post-top {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 6px;
}
.my-post-item h4 {
  margin: 0 0 4px; font-size: 14px; font-weight: 800; line-height: 1.4;
}
.my-post-excerpt {
  margin: 0 0 8px; font-size: 12px; color: #697483; line-height: 1.5;
}
.my-post-foot {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  justify-content: space-between; font-size: 11px; color: #8a94a1;
}
.my-post-status {
  font-size: 10px; font-weight: 750; padding: 2px 7px; border-radius: 999px;
  background: #eef1f4; color: #697483;
}
.my-post-status.is-public { background: #e8f6f1; color: var(--green); }
.my-post-status.is-hidden { background: #f3f4f6; color: #8a94a1; }
.my-post-status.is-pending { background: #eef4fc; color: #3b6fb8; }
.my-post-status.is-rejected { background: #fdecea; color: #c24f3d; }
.preview-banner {
  margin: 0 0 14px; padding: 14px 16px; border: 1px solid #f0d7a4;
  background: linear-gradient(180deg, #fff9ef, #fff);
}
.preview-banner strong { display: block; font-size: 14px; margin-bottom: 4px; color: #9a6b1f; }
.preview-banner p { margin: 0 0 10px; color: #6b7280; font-size: 13px; line-height: 1.55; }
.auth-hint { text-align: center; padding: 28px 12px; }
.empty { color: #929ba7; padding: 28px; text-align: center; margin: 0; font-size: 12px; }
.wrap.narrow { width: min(520px, 100%); margin-inline: auto; }
.page-banner { margin: 22px 0 0; }
.page-banner h1 { font-size: 22px; font-weight: 850; margin: 6px 0 4px; }
.page-banner p { margin: 0; color: var(--muted); font-size: 12px; }
.section { padding: 0 0 20px; }

/* VIP 权益页 */
.vip-hero {
  margin: 22px 0 16px; padding: 28px 28px 24px; border-radius: 18px;
  background: linear-gradient(112deg, #fff5f1 0%, #fff 55%, #fff1e5 100%);
  border: 1px solid #f5e7e1; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  align-items: flex-end;
}
.vip-hero h1 { margin: 8px 0 8px; font-size: 28px; font-weight: 850; letter-spacing: -.8px; }
.vip-hero-lead { margin: 0; color: #7d8793; font-size: 13px; max-width: 36em; }
.vip-status-pill {
  display: inline-block; margin: 12px 0 0; padding: 6px 10px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: 11px; color: #586575; font-weight: 700;
}
.vip-status-pill.is-vip { color: var(--red); border-color: #f0c2b0; background: var(--red-pale); }
.vip-hero-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.rule-one-liner {
  margin: 0 0 18px; padding: 14px 16px; border-radius: 12px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  font-size: 12px; color: #586575; line-height: 1.7;
}
.rule-one-liner strong { color: var(--ink); }
.vip-compare {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 22px;
}
.vip-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); padding: 18px 16px 16px; display: flex; flex-direction: column;
}
.vip-card.plan-vip { border-color: #f0c2b0; background: linear-gradient(180deg, #fff8f5, #fff 40%); }
.plan-tag {
  display: inline-block; font-size: 10px; font-weight: 800; color: #697483;
  background: #f4f6f8; padding: 3px 8px; border-radius: 6px;
}
.plan-tag.hot { color: #fff; background: var(--red); }
.vip-card h2 { margin: 10px 0 6px; font-size: 18px; font-weight: 850; }
.plan-price { margin: 0 0 12px; }
.plan-price em { font-style: normal; font-size: 26px; font-weight: 900; letter-spacing: -.8px; color: var(--ink); }
.plan-vip .plan-price em { color: var(--red); }
.plan-price span { display: block; font-size: 11px; color: #929ba7; margin-top: 2px; }
.vip-card ul { margin: 0 0 12px; padding-left: 1.05rem; color: #586575; font-size: 12px; line-height: 1.75; flex: 1; }
.plan-tip {
  margin: 0 0 12px; padding: 10px; border-radius: 8px; background: #fafbfc;
  border: 1px dashed var(--line); font-size: 11px; color: #7a8492; line-height: 1.55;
}
.vip-section {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); padding: 18px 18px 16px; margin-bottom: 16px;
}
.section-banner-tip {
  margin: 0 0 14px; padding: 10px 12px; border-radius: 10px;
  background: var(--red-pale); border: 1px solid #f5e0d8;
  font-size: 12px; color: #8a4a32; line-height: 1.55;
}
.pack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pack-item {
  position: relative; border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 14px 14px; text-align: center; background: #fafbfc;
}
.pack-item.recommend, .pack-item.vip.recommend { border-color: #f0c2b0; background: #fff; }
.pack-badge {
  position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: #fff; font-size: 10px; font-weight: 800;
  padding: 2px 8px; border-radius: 999px;
}
.pack-item strong { display: block; font-size: 16px; margin-bottom: 6px; }
.pack-item em { font-style: normal; font-size: 28px; font-weight: 900; color: var(--red); letter-spacing: -.6px; }
.pack-item span { display: block; margin: 4px 0 12px; font-size: 11px;  }
.pack-item s { color: #b0b8c2; }
.vip-table-wrap { overflow: auto; margin-bottom: 14px; }
.vip-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.vip-table th, .vip-table td {
  text-align: left; padding: 11px 12px; border-bottom: 1px solid #eef1f4; vertical-align: top;
}
.vip-table th { background: #fafbfc; color: #697483; font-weight: 750; width: 28%; }
.vip-buy-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 14px; border-radius: 12px; background: linear-gradient(112deg, #fff5f1, #fff);
  border: 1px solid #f5e7e1;
}
.vip-buy-row strong { display: block; font-size: 15px; margin-bottom: 3px; }
.vip-buy-row span { font-size: 11px; color: #7a8492; }
.rule-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rule-cards article {
  padding: 14px; border-radius: 12px; background: #fafbfc; border: 1px solid var(--line);
}
.rule-cards h3 { margin: 0 0 6px; font-size: 13px; font-weight: 850; }
.rule-cards p { margin: 0; font-size: 11px; color: #697483; line-height: 1.65; }
.rule-list-panel { display: flex; flex-direction: column; gap: 0; }
.rule-row {
  display: grid; grid-template-columns: 120px 1fr; gap: 12px;
  padding: 12px 4px; border-bottom: 1px solid #eef1f4; font-size: 12px;
}
.rule-row:last-child { border-bottom: 0; }
.rule-row strong { color: var(--ink); }
.rule-row span { color: #697483; line-height: 1.65; }

/* 扫码支付弹窗 */
.pay-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(24, 34, 48, 0.55);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.pay-overlay[hidden] { display: none !important; }
.pay-modal {
  position: relative; width: min(420px, 100%);
  background: #fff; border-radius: 18px; padding: 22px 20px 20px;
  box-shadow: 0 24px 60px rgba(24, 34, 48, 0.28);
}
.pay-close {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px; border: 0; border-radius: 8px;
  background: #f3f5f7; color: #66717e; font-size: 20px; line-height: 1; cursor: pointer;
}
.pay-modal h2 {
  margin: 0 28px 6px 0; font-size: 18px; font-weight: 850; letter-spacing: -.3px;
}
.pay-product {
  margin: 0 0 14px; color: var(--red); font-size: 13px; font-weight: 750;
}
.pay-qr {
  display: flex; justify-content: center; margin-bottom: 14px;
}
.pay-qr img {
  width: 220px; height: 220px; object-fit: contain;
  border: 1px solid var(--line); border-radius: 12px; background: #fafbfc; padding: 8px;
}
.pay-note { font-size: 12px; color: #586575; line-height: 1.65; }
.pay-note p { margin: 0 0 6px; }
.pay-note ol { margin: 0 0 10px; padding-left: 1.2rem; }
.pay-remark {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin: 0 0 10px; padding: 10px 12px; border-radius: 10px;
  background: var(--red-pale); border: 1px solid #f5e0d8;
}
.pay-remark code {
  flex: 1; font-family: inherit; font-size: 15px; font-weight: 850;
  color: var(--red); letter-spacing: .02em;
}
.pay-remark .btn { padding: 7px 12px; min-height: 34px; }
.pay-warn {
  margin: 0; padding: 8px 10px; border-radius: 8px;
  background: #fff8e8; border: 1px solid #f0e0b8;
  color: #8a5a12; font-size: 12px; font-weight: 700;
}
.trust-right .more {
  border: 0; background: none; cursor: pointer; font: inherit; color: var(--red); font-weight: 750;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line); padding: 22px 0 30px; color: #9aa2ad; font-size: 10px;
  background: transparent;
}
.footer-in {
  width: min(1160px, calc(100% - 40px)); margin: auto;
  display: flex; justify-content: space-between; gap: 15px; flex-wrap: wrap;
}
.footer-in a { margin-left: 12px; }
.footer-in a:hover { color: var(--red); }

/* 兼容旧类名 */
.site-header { display: none; }
.tag { font-size: 10px; font-weight: 750; padding: 3px 7px; border-radius: 5px; color: #fff; }
.tag-supply { background: var(--red); }
.tag-demand { background: var(--amber); }

@media (max-width: 800px) {
  .nav { gap: 10px; }
  .links { display: none; }
  .links.is-open {
    display: flex; position: fixed; inset: 70px 14px auto; flex-direction: column;
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    padding: 12px; box-shadow: var(--shadow); z-index: 60; gap: 4px;
  }
  .links.is-open a { padding: 10px 12px; border-radius: 8px; }
  .nav-toggle { display: grid; flex-shrink: 0; }
  .navright { gap: 6px; flex-shrink: 0; margin-left: auto; }
  /* 手机端：顶栏不放搜索，避免挤占 */
  .search-desktop { display: none; }
  .nav-publish .txt-full { display: none; }
  .nav-publish .txt-short { display: inline; }
  .nav-publish { padding: 8px 12px; flex-shrink: 0; }
  .hero { align-items: flex-start; flex-direction: column; }
  .hero-cta { margin-top: 2px; }
  .columns { gap: 12px; }
  .list { padding: 0 15px; }
  .panel-head { padding: 16px 15px; }
  .panel-foot { padding: 12px 15px; }
}
@media (max-width: 960px) {
  .columns { grid-template-columns: 1fr; }
  .auth-layout, .auth-layout.is-logged { grid-template-columns: 1fr; }
  .vip-compare, .pack-grid, .rule-cards { grid-template-columns: 1fr; }
  .account-stats { grid-template-columns: 1fr 1fr; }
  .auth-grid-2 { grid-template-columns: 1fr; }
  .rule-row { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 580px) {
  .top { height: 56px; }
  .nav, .site-main, main.site-main, .footer-in { width: calc(100% - 24px); }
  .brand-title { font-size: 17px; }
  .brand-sub { display: none; }
  .logo { width: 34px; height: 34px; border-radius: 10px; font-size: 16px; }
  .navright { gap: 5px; }
  .nav-toggle { width: 34px; min-width: 34px; height: 34px; min-height: 34px; }
  .nav-publish { padding: 7px 10px; min-height: 34px; font-size: 12px; }
  .links.is-open { inset: 56px 12px auto; }
  .search-page-form { flex-direction: column; padding: 0 16px 14px; }
  .search-page-form .btn { width: 100%; }
  .hero { margin-top: 17px; padding: 24px 20px; border-radius: 15px; }
  .hero h1 { font-size: 29px; }
  .hero p { font-size: 12px; max-width: 290px; }
  .hero-cta { width: 100%; gap: 8px; }
  .hero-cta .btn { flex: 1; padding: 11px 8px; font-size: 11px; }
  .trendbar { padding: 11px 12px; gap: 10px; }
  .trend-items span:nth-child(n+2) { display: none; }
  .trust { align-items: flex-start; }
  .trust-right { display: none; }
  .footer-in { flex-direction: column; }
  .detail-panel { padding: 18px 16px 20px; }
  .inner-hero { padding: 16px; }
}
