/* ============================================================
   疯媒婆 · 中国风设计系统
   朱砂红 + 鎏金 + 宣纸米白 · 衬线宋体 + 雅致间距
   ============================================================ */

:root {
  /* ---- 主色:朱砂红系 ---- */
  --primary:        #B83A2C;        /* 朱砂红 */
  --primary-deep:   #8B2418;        /* 胭脂深 */
  --primary-soft:   #D86A5E;        /* 朱砂浅 */
  --primary-wash:   #F6E4DF;        /* 朱砂薄染 */

  /* ---- 辅色:鎏金 ---- */
  --gold:           #BC9764;        /* 鎏金 */
  --gold-deep:      #8C6D3E;        /* 老金 */
  --gold-light:     #DCC59C;        /* 浅鎏金 */
  --gold-wash:      #F5ECDB;        /* 金薄染 */

  /* ---- 底色:宣纸 ---- */
  --paper:          #FBF7EE;        /* 宣纸主底 */
  --paper-deep:     #F2EAD6;        /* 旧纸 */
  --cream:          #FFFEFA;        /* 卡片底 */

  /* ---- 文字:墨 ---- */
  --ink:            #2C231D;        /* 浓墨 */
  --ink-soft:       #5A4E45;        /* 淡墨 */
  --ink-gray:       #998B7E;        /* 灰墨 */
  --ink-line:       #E6DDC8;        /* 细线 */

  /* ---- 圆角/阴影 ---- */
  --r-sm: 6px;
  --r:    12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --shadow-1: 0 2px 8px rgba(140, 109, 62, .08);
  --shadow-2: 0 8px 28px rgba(140, 109, 62, .14);
  --shadow-3: 0 24px 56px rgba(75, 36, 24, .18);

  /* ---- 字体 ---- */
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC",
                "STSong", "SimSun", "MS Mincho", serif;
  --font-sans:  -apple-system, BlinkMacSystemFont, "PingFang SC",
                "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* ============================================================
   基础重置
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  padding-bottom: 72px;
  /* 极淡云纹纸质底纹 */
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(188,151,100,.04), transparent 45%),
    radial-gradient(ellipse at 80% 100%, rgba(184,58,44,.03), transparent 50%);
}
@media (min-width: 720px) { body { padding-bottom: 0; } }

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-deep); }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--primary); color: #fff; }

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; color: var(--ink); letter-spacing: .02em; }

/* ============================================================
   工具
   ============================================================ */
.container    { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.container-sm { max-width: 540px; margin: 0 auto; padding: 0 20px; }
.text-center  { text-align: center; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 36px; }
.hidden { display: none !important; }

.divider {
  display: flex; align-items: center; gap: 14px;
  color: var(--ink-gray); font-family: var(--font-serif);
  font-size: 13px; margin: 28px 0; text-align: center; justify-content: center;
}
.divider::before, .divider::after {
  content: ''; flex: 0 0 60px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* SVG 图标系统 */
.icon { width: 1.1em; height: 1.1em; vertical-align: -.18em; fill: currentColor; flex-shrink: 0; }
.icon-lg { width: 22px; height: 22px; }

/* ============================================================
   顶部导航
   ============================================================ */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 247, 238, .82);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--ink-line);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  position: relative; width: 42px; height: 42px; border-radius: 50%;
  background: var(--cream); padding: 2px;
  box-shadow: 0 0 0 1px var(--gold-light), 0 4px 12px rgba(140,109,62,.18);
}
.brand-logo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.brand-text { line-height: 1.15; }
.brand-text .name {
  font-family: var(--font-serif); font-size: 20px; font-weight: 700;
  color: var(--primary-deep); letter-spacing: .12em;
}
.brand-text .slogan {
  font-size: 11px; color: var(--ink-gray); letter-spacing: .25em; margin-top: 2px;
}
@media (max-width: 480px) { .brand-text .slogan { display: none; } }

.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-link {
  padding: 9px 18px; border-radius: 999px; color: var(--ink-soft);
  font-size: 14px; font-weight: 500; transition: all .25s;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-link:hover { color: var(--primary); background: var(--primary-wash); }
.nav-link.primary {
  background: linear-gradient(180deg, var(--primary), var(--primary-deep));
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(184,58,44,.28), inset 0 1px 0 rgba(255,255,255,.18);
}
.nav-link.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(184,58,44,.36);
}

/* ============================================================
   英雄区 - 杂志式
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-deep) 100%);
  padding: 56px 20px 64px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(188,151,100,.10), transparent 32%),
    radial-gradient(circle at 88% 82%, rgba(184,58,44,.08), transparent 38%);
  pointer-events: none;
}
.hero-inner {
  position: relative; max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center;
}
@media (min-width: 900px) {
  .hero { padding: 88px 40px 96px; }
  .hero-inner { grid-template-columns: 1.1fr 1fr; gap: 64px; }
}

/* 左侧文案 */
.hero-text { text-align: left; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-serif); color: var(--gold-deep);
  font-size: 13px; letter-spacing: .4em; margin-bottom: 16px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ''; width: 22px; height: 1px; background: var(--gold);
}
.hero-eyebrow::after { display: none; }
@media (min-width: 900px) { .hero-eyebrow::after { display: block; } }

.hero h1 {
  font-family: var(--font-serif); font-size: clamp(34px, 6vw, 56px);
  line-height: 1.15; color: var(--ink); letter-spacing: .04em;
  margin-bottom: 20px; font-weight: 700;
}
.hero h1 .accent { color: var(--primary); position: relative; }
.hero h1 .accent::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 6px; background: linear-gradient(90deg, var(--gold-light), var(--gold)); border-radius: 3px; opacity: .55;
}
.hero p.lead {
  font-size: 16px; color: var(--ink-soft); line-height: 1.9;
  max-width: 480px; margin-bottom: 32px;
}
@media (min-width: 900px) { .hero p.lead { font-size: 17px; } }

.hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(180deg, var(--primary), var(--primary-deep));
  color: #fff; padding: 16px 36px; border-radius: 999px;
  font-weight: 600; font-size: 16px; letter-spacing: .04em;
  box-shadow: 0 14px 32px rgba(184,58,44,.32),
              inset 0 1px 0 rgba(255,255,255,.2);
  transition: all .3s cubic-bezier(.2,.8,.2,1);
}
.hero-cta:hover {
  color: #fff; transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(184,58,44,.42), inset 0 1px 0 rgba(255,255,255,.2);
}
.hero-cta .arrow { transition: transform .3s; }
.hero-cta:hover .arrow { transform: translateX(4px); }

.hero-stats {
  display: flex; gap: 36px; margin-top: 40px;
  border-top: 1px solid var(--ink-line); padding-top: 24px;
}
.hero-stat .num {
  font-family: var(--font-serif); font-size: 28px; color: var(--primary-deep);
  font-weight: 700; line-height: 1;
}
.hero-stat .lbl { font-size: 12px; color: var(--ink-gray); margin-top: 6px; letter-spacing: .15em; }

/* 右侧照片拼贴 */
.hero-collage {
  position: relative; height: 460px;
  display: none;
}
@media (min-width: 900px) { .hero-collage { display: block; } }
.collage-card {
  position: absolute; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-3);
  transition: transform .8s cubic-bezier(.2,.8,.2,1);
}
.collage-card img { width: 100%; height: 100%; object-fit: cover; }
.collage-card::after {
  content: ''; position: absolute; inset: 0; border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.4),
              inset 0 0 0 6px rgba(220, 197, 154, .25);
  pointer-events: none;
}
.collage-card.c1 { top: 0;   left: 0;   width: 56%; height: 72%; transform: rotate(-3deg); }
.collage-card.c2 { top: 18%; right: 0;  width: 48%; height: 60%; transform: rotate(4deg); z-index: 2; }
.collage-card.c3 { bottom: 0;left: 30%; width: 44%; height: 46%; transform: rotate(-2deg); }
.collage-card:hover { transform: rotate(0) scale(1.04); z-index: 5; }

/* 印章式标识 - 装饰浮在拼贴上 */
.seal {
  position: absolute; top: 12%; right: -8px;
  width: 78px; height: 78px; border-radius: 8px;
  background: var(--primary); color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 14px; line-height: 1.3;
  text-align: center; padding: 8px;
  box-shadow: var(--shadow-2), inset 0 0 0 2px var(--gold-light);
  transform: rotate(8deg); z-index: 6;
  writing-mode: vertical-rl;
}

/* ============================================================
   筛选条
   ============================================================ */
.filter-bar {
  display: flex; gap: 8px; overflow-x: auto; padding: 24px 0 4px;
  scrollbar-width: none; -ms-overflow-style: none;
  align-items: center;
}
.filter-bar::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; padding: 9px 22px; background: var(--cream);
  border: 1px solid var(--ink-line); border-radius: 999px;
  font-size: 14px; color: var(--ink-soft); cursor: pointer;
  transition: all .2s; font-weight: 500;
}
.chip:hover { border-color: var(--gold); color: var(--ink); transform: translateY(-1px); }
.chip.active {
  background: linear-gradient(180deg, var(--primary), var(--primary-deep));
  color: #fff; border-color: transparent;
  box-shadow: 0 6px 14px rgba(184,58,44,.25);
}
.filter-search {
  margin-left: auto; flex: 0 0 auto;
  display: flex; align-items: center; gap: 8px;
  background: var(--cream); border: 1px solid var(--ink-line); border-radius: 999px;
  padding: 0 16px 0 14px;
}
.filter-search input {
  border: 0; background: transparent; padding: 10px 0; width: 140px; font-size: 13px;
  outline: 0;
}
.filter-search .icon { color: var(--ink-gray); }

/* ============================================================
   章节标题
   ============================================================ */
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin: 36px 0 18px;
}
.section-head h2 {
  font-family: var(--font-serif); font-size: 22px; color: var(--ink);
  font-weight: 700; letter-spacing: .08em;
  display: inline-flex; align-items: center; gap: 12px;
}
.section-head h2::before {
  content: ''; width: 4px; height: 20px; background: var(--primary);
  border-radius: 2px;
}
.section-head .more { font-size: 13px; color: var(--ink-gray); }
.section-head .more:hover { color: var(--primary); }

/* ============================================================
   卡片瀑布
   ============================================================ */
.cards-grid {
  display: grid; gap: 20px; margin: 16px 0 32px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 600px) { .cards-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
@media (min-width: 900px) { .cards-grid { grid-template-columns: repeat(4, 1fr); gap: 26px; } }
@media (min-width: 1200px){ .cards-grid { grid-template-columns: repeat(5, 1fr); } }

.card {
  position: relative; background: var(--cream);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform .35s cubic-bezier(.2,.8,.2,1),
              box-shadow .35s;
  display: block; cursor: pointer;
  border: 1px solid rgba(230, 221, 200, .6);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-2);
}
.card-photo {
  position: relative; padding-top: 130%; overflow: hidden;
  background: linear-gradient(135deg, var(--gold-wash), var(--primary-wash));
}
.card-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.card:hover .card-photo img { transform: scale(1.05); }
.card-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(28,18,12,.65) 100%);
  pointer-events: none;
}

/* 印章式推荐标 */
.card-seal {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 44px; height: 44px;
  background: var(--primary); color: var(--gold-light);
  border-radius: 4px; box-shadow: 0 2px 8px rgba(0,0,0,.2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 11px;
  line-height: 1.1; text-align: center; padding: 4px;
  font-weight: 700; letter-spacing: .1em;
  transform: rotate(-4deg);
}
.card-seal::after {
  content: ''; position: absolute; inset: 3px; border: 1px solid rgba(220,197,156,.55); border-radius: 2px;
}

/* 角标(性别 + 城市)固定在底部 */
.card-overlay {
  position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-end; color: #fff;
}
.card-name-area .name {
  font-family: var(--font-serif); font-size: 19px; font-weight: 600;
  letter-spacing: .04em; line-height: 1.2;
  text-shadow: 0 1px 6px rgba(0,0,0,.4);
}
.card-name-area .meta {
  font-size: 12px; opacity: .92; margin-top: 4px;
  display: flex; align-items: center; gap: 6px;
  white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis;
}
.card-name-area .meta > * { flex-shrink: 0; }
.card-name-area .meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .5; }
.card-name-area { min-width: 0; flex: 1; }
.card-gender {
  width: 26px; height: 26px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; backdrop-filter: blur(10px);
  background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.35);
  flex-shrink: 0;
}

/* 空状态 */
.empty {
  text-align: center; padding: 80px 20px; color: var(--ink-gray);
}
.empty-icon { width: 64px; height: 64px; margin: 0 auto 16px; color: var(--gold); opacity: .5; }
.empty p { font-family: var(--font-serif); font-size: 15px; }

/* ============================================================
   表单与卡片容器
   ============================================================ */
.form-card {
  background: var(--cream); border-radius: var(--r-xl);
  padding: 40px 32px; box-shadow: var(--shadow-1);
  margin: 28px 0; border: 1px solid var(--ink-line);
  position: relative;
}
@media (max-width: 480px) { .form-card { padding: 28px 22px; } }

.form-title {
  font-family: var(--font-serif); font-size: 26px;
  font-weight: 700; text-align: center; color: var(--ink);
  letter-spacing: .08em; margin-bottom: 8px;
}
.form-sub {
  text-align: center; color: var(--ink-gray); font-size: 13px;
  letter-spacing: .15em; margin-bottom: 28px;
}

.form-row { margin-bottom: 20px; }
.form-row label {
  display: block; font-weight: 600; margin-bottom: 8px;
  font-size: 13px; color: var(--ink-soft); letter-spacing: .12em;
}
.form-row label .req { color: var(--primary); }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--ink-line); border-radius: var(--r);
  background: var(--paper); transition: all .25s;
  font-family: var(--font-sans);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 0; border-color: var(--primary); background: #fff;
  box-shadow: 0 0 0 4px var(--primary-wash);
}
.form-row textarea { min-height: 110px; resize: vertical; line-height: 1.7; }
.form-row .hint { font-size: 12px; color: var(--ink-gray); margin-top: 6px; }
.form-row.inline { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; font-size: 15px; font-weight: 600;
  background: linear-gradient(180deg, var(--primary), var(--primary-deep));
  color: #fff; border: 0; border-radius: var(--r);
  cursor: pointer; transition: all .3s;
  box-shadow: 0 8px 22px rgba(184,58,44,.26),
              inset 0 1px 0 rgba(255,255,255,.18);
  letter-spacing: .06em; text-decoration: none;
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(184,58,44,.36); }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn-block { width: 100%; }
.btn-ghost {
  background: transparent; color: var(--primary); box-shadow: none;
  border: 1px solid var(--primary);
}
.btn-ghost:hover { background: var(--primary); color: #fff; }
.btn-gold {
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  box-shadow: 0 8px 22px rgba(140,109,62,.3);
}

/* 性别选择 */
.gender-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gender-pick label {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 18px 12px; border: 1px solid var(--ink-line); border-radius: var(--r);
  cursor: pointer; transition: all .25s; background: var(--paper);
  font-size: 13px; color: var(--ink-soft);
}
.gender-pick label .icon-lg { color: var(--ink-gray); }
.gender-pick input { display: none; }
.gender-pick label:has(input:checked) {
  border-color: var(--primary); background: var(--primary-wash); color: var(--primary-deep);
}
.gender-pick label:has(input:checked) .icon-lg { color: var(--primary); }

/* 照片上传 */
.photo-uploader {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.photo-slot {
  position: relative; padding-top: 100%; background: var(--paper);
  border: 1.5px dashed var(--ink-line); border-radius: var(--r); overflow: hidden;
  cursor: pointer; transition: all .25s;
}
.photo-slot:hover { border-color: var(--primary); background: var(--primary-wash); }
.photo-slot.filled { border-style: solid; border-color: var(--gold-light); }
.photo-slot .add {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; color: var(--ink-gray); gap: 4px; font-size: 12px;
}
.photo-slot .add svg { width: 26px; height: 26px; opacity: .55; }
.photo-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-slot .del {
  position: absolute; top: 6px; right: 6px;
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(28,18,12,.65); color: #fff; border: 0;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 2; font-size: 14px;
}
.photo-slot .cover-tag {
  position: absolute; bottom: 6px; left: 6px; z-index: 1;
  background: var(--primary); color: var(--gold-light);
  padding: 2px 8px; border-radius: var(--r-sm); font-size: 10px; font-weight: 600;
  letter-spacing: .15em;
}

/* ============================================================
   详情页 - 杂志拍面
   ============================================================ */
.detail-wrap {
  max-width: 1180px; margin: 28px auto 0; padding: 0 20px;
}
@media (max-width: 720px) { .detail-wrap { padding: 0; margin-top: 0; } }
.detail-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px;
}
@media (min-width: 900px) {
  .detail-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
}

/* 左:相册 */
.detail-gallery {
  position: relative; aspect-ratio: 4/5; border-radius: var(--r-xl);
  overflow: hidden; background: var(--ink); box-shadow: var(--shadow-2);
}
@media (max-width: 720px) { .detail-gallery { border-radius: 0; } }
.detail-photos {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  height: 100%; scrollbar-width: none;
}
.detail-photos::-webkit-scrollbar { display: none; }
.detail-photos img {
  flex: 0 0 100%; scroll-snap-align: start; object-fit: cover; width: 100%; height: 100%;
}
.photo-dots {
  position: absolute; bottom: 16px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px; z-index: 2;
}
.photo-dots span {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.5); transition: all .3s;
}
.photo-dots span.on { background: var(--gold-light); width: 20px; border-radius: 4px; }

/* 详情页印章 */
.gallery-seal {
  position: absolute; top: 18px; right: 18px; z-index: 3;
  background: var(--primary); color: var(--gold-light);
  width: 56px; height: 56px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 13px; line-height: 1.1;
  text-align: center; padding: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
  transform: rotate(-4deg);
}

/* 右:信息面板 */
.detail-info { padding: 0 20px; }
@media (min-width: 900px) { .detail-info { padding: 12px 0; } }

.detail-eyebrow {
  font-family: var(--font-serif); font-size: 12px; color: var(--gold-deep);
  letter-spacing: .4em; margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 10px;
}
.detail-eyebrow::before {
  content: ''; width: 24px; height: 1px; background: var(--gold);
}

.detail-name {
  font-family: var(--font-serif); font-size: 36px; color: var(--ink);
  letter-spacing: .06em; line-height: 1.15; font-weight: 700;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.detail-name .gender-pill {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-sans); font-size: 12px; padding: 4px 12px;
  background: var(--primary-wash); color: var(--primary-deep);
  border-radius: 999px; font-weight: 600; letter-spacing: .1em;
  vertical-align: middle;
}

.detail-meta-line {
  color: var(--ink-gray); font-size: 14px; margin: 14px 0 24px;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.detail-meta-line .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-gray); opacity: .5; }

.info-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--ink-line); border: 1px solid var(--ink-line);
  border-radius: var(--r); overflow: hidden;
}
.info-cell {
  background: var(--cream); padding: 16px 18px;
}
.info-cell .lbl {
  font-size: 11px; color: var(--ink-gray); letter-spacing: .25em;
  margin-bottom: 4px;
}
.info-cell .val {
  font-family: var(--font-serif); font-size: 16px; color: var(--ink); font-weight: 600;
}

.section {
  margin-top: 36px; padding-top: 24px; border-top: 1px dashed var(--ink-line);
}
.section h3 {
  font-family: var(--font-serif); font-size: 16px; color: var(--ink);
  letter-spacing: .15em; margin-bottom: 14px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
}
.section h3::before {
  content: ''; width: 16px; height: 1px; background: var(--gold);
}
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.detail-tag {
  background: var(--gold-wash); color: var(--gold-deep);
  padding: 6px 16px; border-radius: 999px; font-size: 13px;
  border: 1px solid rgba(188,151,100,.25);
}
.detail-text {
  color: var(--ink); line-height: 2; font-size: 15px; white-space: pre-wrap;
  font-family: var(--font-serif);
}

/* 联系卡片 */
.contact-card {
  margin-top: 32px; padding: 24px;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  border-radius: var(--r-lg); color: #fff; position: relative; overflow: hidden;
  box-shadow: var(--shadow-2);
}
.contact-card::before {
  content: ''; position: absolute; width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(220,197,156,.22), transparent 60%);
  top: -60px; right: -60px;
}
.contact-card .row {
  display: flex; align-items: center; gap: 14px; position: relative; z-index: 1;
}
.contact-card .lock-ico {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(220,197,156,.18); border: 1px solid rgba(220,197,156,.4);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: var(--gold-light);
}
.contact-card .txt { flex: 1; }
.contact-card .txt h4 {
  font-family: var(--font-serif); color: var(--gold-light); font-size: 15px;
  font-weight: 600; letter-spacing: .12em; margin-bottom: 4px;
}
.contact-card .txt p { font-size: 12px; opacity: .85; letter-spacing: .08em; }
.contact-card .reveal-btn {
  background: var(--gold-light); color: var(--primary-deep); border: 0;
  padding: 12px 24px; border-radius: 999px; font-weight: 700;
  font-size: 14px; cursor: pointer; letter-spacing: .1em;
  transition: all .25s;
  display: inline-flex; align-items: center; gap: 6px;
}
.contact-card .reveal-btn:hover { background: #fff; transform: scale(1.03); }

/* 底部 sticky 操作条(移动) */
.detail-actions-bar {
  position: sticky; bottom: 72px; z-index: 50;
  margin: 24px 0 0; padding: 14px 20px;
  background: rgba(251, 247, 238, .92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--ink-line);
  display: flex; gap: 12px;
}
@media (min-width: 720px) {
  .detail-actions-bar { display: none; }
}
.detail-actions-bar .btn-like {
  flex: 0 0 auto; padding: 12px 16px; background: var(--cream);
  color: var(--primary); border: 1px solid var(--primary);
  box-shadow: none; display: inline-flex; align-items: center; gap: 6px;
  border-radius: var(--r);
}
.detail-actions-bar .btn-like.active {
  background: var(--primary); color: #fff;
}
.detail-actions-bar .btn { flex: 1; }

/* ============================================================
   弹窗
   ============================================================ */
.modal-mask {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(28, 18, 12, .6);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.modal-mask.show { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--cream); border-radius: var(--r-xl);
  max-width: 400px; width: 100%; overflow: hidden;
  transform: translateY(20px) scale(.96);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
  position: relative;
  box-shadow: var(--shadow-3);
  border: 1px solid var(--gold-light);
}
.modal-mask.show .modal { transform: translateY(0) scale(1); }
.modal-header {
  background:
    linear-gradient(180deg, var(--primary), var(--primary-deep));
  color: #fff; padding: 36px 24px 28px;
  text-align: center; position: relative; overflow: hidden;
}
.modal-header::before {
  content: ''; position: absolute; top: 14px; left: 50%;
  transform: translateX(-50%); width: 90px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}
.modal-header::after {
  content: ''; position: absolute; bottom: 14px; left: 50%;
  transform: translateX(-50%); width: 90px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}
.modal-header h3 {
  font-family: var(--font-serif); font-size: 22px; letter-spacing: .15em;
  font-weight: 700; color: #fff;
}
.modal-header p {
  font-size: 12px; opacity: .82; letter-spacing: .18em;
  margin-top: 8px; color: var(--gold-light);
}
.modal-body { padding: 28px 24px 32px; text-align: center; }
.qrcode-box {
  width: 200px; height: 200px; margin: 0 auto 18px; padding: 12px;
  background: #fff; border-radius: var(--r);
  box-shadow: 0 0 0 1px var(--ink-line), 0 4px 16px rgba(0,0,0,.06);
  position: relative;
}
.qrcode-box::before, .qrcode-box::after {
  content: ''; position: absolute; width: 24px; height: 24px;
  border: 2px solid var(--primary);
}
.qrcode-box::before { top: -2px; left: -2px; border-right: 0; border-bottom: 0; }
.qrcode-box::after  { bottom: -2px; right: -2px; border-left: 0; border-top: 0; }
.qrcode-box img { width: 100%; height: 100%; object-fit: contain; }

.wechat-line {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--paper); padding: 10px 16px;
  border-radius: 999px; border: 1px solid var(--ink-line);
  font-size: 14px; color: var(--ink); margin-bottom: 14px;
  font-family: 'Menlo','Consolas',monospace;
}
.copy-btn {
  background: var(--primary); color: #fff; border: 0;
  padding: 5px 12px; border-radius: 6px; cursor: pointer;
  font-size: 12px; transition: all .2s; letter-spacing: .05em;
}
.copy-btn:hover { background: var(--primary-deep); }

.modal-tip {
  background: var(--gold-wash); color: var(--gold-deep);
  padding: 14px 16px; border-radius: var(--r); font-size: 12px;
  line-height: 1.7; text-align: left; margin-top: 16px;
  border: 1px solid rgba(188,151,100,.2);
}
.modal-tip b { color: var(--primary-deep); font-weight: 600; }

.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.2); color: #fff; border: 0;
  cursor: pointer; line-height: 0; z-index: 10;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.modal-close:hover { background: rgba(255,255,255,.35); }

/* ============================================================
   底部 tabbar(仅移动)
   ============================================================ */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: rgba(251, 247, 238, .96);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--ink-line);
  display: flex; padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
}
@media (min-width: 720px) { .tabbar { display: none; } }
.tabbar a {
  flex: 1; text-align: center; padding: 4px 0;
  color: var(--ink-gray); font-size: 11px;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  transition: color .2s; letter-spacing: .1em;
}
.tabbar a.active { color: var(--primary); }
.tabbar a svg { width: 22px; height: 22px; }
.tabbar a.publish svg {
  width: 30px; height: 30px; padding: 8px; box-sizing: content-box;
  background: linear-gradient(180deg, var(--primary), var(--primary-deep));
  color: var(--gold-light); border-radius: 50%;
  margin-top: -22px; box-shadow: 0 8px 18px rgba(184,58,44,.35);
}
.tabbar a.publish { color: var(--primary); font-weight: 600; }

/* ============================================================
   状态条
   ============================================================ */
.alert {
  padding: 14px 18px; border-radius: var(--r); margin: 16px 0;
  font-size: 14px; display: flex; align-items: flex-start; gap: 10px;
  border-left: 3px solid;
}
.alert.success { background: #ECF6EC; color: #2C5E2F; border-color: #5E8C5F; }
.alert.error   { background: var(--primary-wash); color: var(--primary-deep); border-color: var(--primary); }
.alert.warning { background: var(--gold-wash); color: var(--gold-deep); border-color: var(--gold); }
.alert.info    { background: #E8F1F8; color: #1F4E79; border-color: #5887AE; }

/* 我的-状态卡 */
.status-card {
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  color: #fff; padding: 28px;
  border-radius: var(--r-xl); margin: 20px 0;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-2);
}
.status-card::after {
  content: ''; position: absolute; bottom: -60px; right: -50px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(220,197,156,.2), transparent 60%);
}
.status-card h3 {
  font-family: var(--font-serif); color: var(--gold-light);
  font-size: 13px; letter-spacing: .25em; font-weight: 500;
}
.status-card .big {
  font-family: var(--font-serif); font-size: 28px; margin-top: 8px; letter-spacing: .04em;
  position: relative; z-index: 1;
}
.status-card .desc { font-size: 13px; opacity: .92; margin-top: 8px; position: relative; z-index: 1; line-height: 1.8; }
.status-card .actions { margin-top: 18px; display: flex; gap: 8px; position: relative; z-index: 1; flex-wrap: wrap; }
.status-card .actions a {
  background: rgba(220,197,156,.2); color: var(--gold-light);
  padding: 9px 18px; border-radius: 999px; font-size: 13px;
  border: 1px solid rgba(220,197,156,.4);
}
.status-card .actions a:hover { background: var(--gold-light); color: var(--primary-deep); }

/* ============================================================
   Toast
   ============================================================ */
.toast {
  position: fixed; top: 30px; left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: var(--ink); color: var(--cream);
  padding: 12px 22px; border-radius: 999px;
  font-size: 13px; z-index: 9999; letter-spacing: .08em;
  opacity: 0; transition: all .3s;
  box-shadow: var(--shadow-2);
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast.success { background: #2C5E2F; }
.toast.error { background: var(--primary-deep); }

/* ============================================================
   后台
   ============================================================ */
.admin-wrap { display: flex; min-height: 100vh; }
.admin-side {
  width: 232px; flex-shrink: 0;
  background: linear-gradient(180deg, #1F1813, #2C231D);
  color: var(--paper-deep); padding: 28px 0;
}
.admin-side .brand {
  padding: 0 24px 20px; border-bottom: 1px solid rgba(255,255,255,.06);
  display: flex; align-items: center; gap: 12px; color: var(--gold-light);
}
.admin-side .brand .brand-logo {
  background: var(--cream); padding: 2px;
  width: 38px; height: 38px;
}
.admin-side .brand strong { font-family: var(--font-serif); font-size: 17px; letter-spacing: .1em; }
.admin-side .brand small { color: var(--ink-gray); font-size: 10px; letter-spacing: .25em; }

.admin-side a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 24px; color: rgba(220,197,156,.7); transition: all .2s;
  border-left: 3px solid transparent; font-size: 14px; letter-spacing: .05em;
}
.admin-side a:hover { color: var(--gold-light); background: rgba(220,197,156,.04); }
.admin-side a.active {
  color: var(--gold-light); background: rgba(220,197,156,.08);
  border-left-color: var(--primary);
}
.admin-side a .icon { color: inherit; }

.admin-main { flex: 1; padding: 32px; background: #FAF6EC; }
.admin-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--ink-line);
}
.admin-header h1 { font-family: var(--font-serif); font-size: 24px; letter-spacing: .08em; }

.stat-cards { display: grid; grid-template-columns: repeat(auto-fill,minmax(180px,1fr)); gap: 18px; margin-bottom: 28px; }
.stat-card {
  background: var(--cream); padding: 22px;
  border-radius: var(--r); box-shadow: var(--shadow-1);
  border: 1px solid var(--ink-line);
}
.stat-card .lbl { color: var(--ink-gray); font-size: 12px; letter-spacing: .15em; }
.stat-card .num {
  font-family: var(--font-serif); font-size: 32px; font-weight: 700;
  color: var(--ink); margin-top: 6px; letter-spacing: .02em;
}
.stat-card.primary .num { color: var(--primary); }

.admin-table {
  width: 100%; background: var(--cream); border-radius: var(--r);
  overflow: hidden; box-shadow: var(--shadow-1); border-collapse: collapse;
  border: 1px solid var(--ink-line);
}
.admin-table th, .admin-table td {
  padding: 14px; text-align: left; border-bottom: 1px solid #F4ECDC; vertical-align: middle;
}
.admin-table th {
  background: #F8F0DE; font-size: 12px; color: var(--ink-soft);
  font-weight: 600; letter-spacing: .15em;
}
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table img.thumb { width: 56px; height: 56px; border-radius: var(--r-sm); object-fit: cover; }
.admin-table .actions { display: flex; gap: 6px; flex-wrap: wrap; }
.admin-table .actions a, .admin-table .actions button {
  padding: 6px 12px; border-radius: var(--r-sm); font-size: 12px;
  background: var(--paper); color: var(--ink-soft); border: 1px solid var(--ink-line);
  cursor: pointer; transition: all .2s;
}
.admin-table .actions a:hover, .admin-table .actions button:hover {
  background: var(--primary); color: #fff; border-color: var(--primary);
}
.admin-table .actions .danger { color: var(--primary); }
.admin-table .actions .danger:hover { background: var(--primary); color: #fff; }
.admin-table .actions .ok { color: #2C5E2F; }
.admin-table .actions .ok:hover { background: #2C5E2F; color: #fff; border-color: #2C5E2F; }

.status-pill {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: .12em;
}
.status-pill.pending { background: var(--gold-wash); color: var(--gold-deep); }
.status-pill.approved { background: #ECF6EC; color: #2C5E2F; }
.status-pill.rejected { background: var(--primary-wash); color: var(--primary-deep); }

@media (max-width: 720px) {
  .admin-wrap { flex-direction: column; }
  .admin-side { width: 100%; padding: 16px; }
  .admin-side a { padding: 10px 14px; }
  .admin-main { padding: 16px; }
  .admin-table { font-size: 13px; }
  .admin-table th, .admin-table td { padding: 10px 8px; }
}

/* ============================================================
   动效
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; animation: fadeUp .8s cubic-bezier(.2,.8,.2,1) forwards; }
.reveal.d1 { animation-delay: .08s; }
.reveal.d2 { animation-delay: .16s; }
.reveal.d3 { animation-delay: .24s; }
.reveal.d4 { animation-delay: .32s; }

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes shine {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.skel {
  background: linear-gradient(90deg, #f0e9d6 25%, #fbf7ee 50%, #f0e9d6 75%);
  background-size: 200% 100%; animation: shine 1.6s ease infinite;
  border-radius: var(--r);
}

/* 滚动揭示(JS 触发) */
.scroll-in { opacity: 0; transform: translateY(28px); transition: opacity .8s, transform .8s; }
.scroll-in.is-visible { opacity: 1; transform: translateY(0); }
