:root {
  --ink: #2f3a44;
  --ink-soft: #4a5866;
  --paper: #faf7f6;
  --card: #ffffff;
  --line: #ebe3e5;
  --accent: #b5637a;
  --accent-deep: #8f4560;
  --accent-soft: #f7eaee;
  --gold: #c2944e;
  --muted: #8d96a0;
  --shadow: 0 6px 22px rgba(63, 42, 48, 0.08);
  --radius: 12px;
}

* { box-sizing: border-box; }

/* 保证 hidden 属性始终生效：组件类（如 .btn 的 display）与内联样式会盖过浏览器默认规则 */
[hidden] { display: none !important; }

html, body {
  margin: 0;
  padding: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 15px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1160px, 92vw); margin: 0 auto; }

/* ---------- 页头 ---------- */
.header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 70px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand__logo { width: 42px; height: 42px; }
.brand__name { font-size: 17px; font-weight: 700; letter-spacing: 0.4px; color: var(--ink); }
.nav { display: flex; gap: 4px; margin-left: 6px; }
.nav__link {
  padding: 8px 13px;
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 15px;
  transition: background .15s, color .15s;
}
.nav__link:hover { background: var(--paper); color: var(--ink); }
.nav__link.is-active { color: var(--accent-deep); background: var(--accent-soft); font-weight: 600; }
.header__right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav__user { color: var(--ink-soft); font-size: 14px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 18px; border-radius: 8px; font-size: 14px; cursor: pointer;
  border: 1px solid transparent; transition: all .15s; font-family: inherit;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-deep); }
.btn--ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-deep); }
.btn--block { width: 100%; }
.btn--danger { background: #b3503f; color: #fff; }
.btn--danger:hover { background: #973f31; }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: #ad8038; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

.nav__toggle { display: none; flex-direction: column; gap: 4px; background: none; border: 0; cursor: pointer; padding: 6px; margin-left: auto; }
.nav__toggle span { width: 22px; height: 2px; background: var(--ink); display: block; }

/* ---------- 通用区块 ---------- */
.section { padding: 48px 0; }
.section__head { margin-bottom: 24px; }
.section__title { font-size: 24px; font-weight: 700; margin: 0 0 6px; }
.section__sub { color: var(--muted); margin: 0; font-size: 14px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- 首页 Hero ---------- */
.hero {
  background: linear-gradient(180deg, #fff 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
  padding: 56px 0 48px;
}
.hero__inner { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.hero__text { flex: 1 1 420px; }
.hero__title { font-size: 32px; line-height: 1.35; margin: 0 0 14px; font-weight: 800; }
.hero__title span { color: var(--accent-deep); }
.hero__desc { color: var(--ink-soft); font-size: 16px; margin: 0 0 24px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__panel {
  flex: 1 1 320px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px;
}
.hero__panel h3 { margin: 0 0 14px; font-size: 17px; }
.hero__stats { display: flex; gap: 18px; }
.hero__stat { flex: 1; text-align: center; }
.hero__stat b { display: block; font-size: 26px; color: var(--accent-deep); }
.hero__stat span { font-size: 13px; color: var(--muted); }

/* ---------- 类目导航 ---------- */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 10px; text-align: center; transition: all .15s; box-shadow: var(--shadow);
}
.cat:hover { transform: translateY(-3px); border-color: var(--accent); }
.cat__icon { width: 34px; height: 34px; color: var(--accent); margin: 0 auto 8px; }
.cat__icon svg { width: 100%; height: 100%; }
.cat__name { font-size: 14px; font-weight: 600; }

/* ---------- 信息卡片网格 ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lcard { overflow: hidden; display: flex; flex-direction: column; transition: all .15s; }
.lcard:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(63,42,48,.13); }
.lcard__cover { height: 196px; background: #f1ecee; position: relative; overflow: hidden; }
.lcard__cover img { width: 100%; height: 100%; object-fit: cover; }
.lcard__cat {
  position: absolute; left: 12px; top: 12px; background: rgba(47,58,68,.82); color: #fff;
  font-size: 12px; padding: 4px 10px; border-radius: 20px;
}
.lcard__body { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.lcard__title { font-size: 16px; font-weight: 700; margin: 0; line-height: 1.45; }
.lcard__meta { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--muted); margin-top: auto; }
.lcard__region { display: inline-flex; align-items: center; gap: 4px; }
.lcard__pub { max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lcard__foot { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 10px; }

/* ---------- 筛选条 ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip {
  padding: 7px 16px; border-radius: 20px; border: 1px solid var(--line); background: #fff;
  font-size: 14px; cursor: pointer; color: var(--ink-soft); transition: all .15s;
}
.chip:hover { border-color: var(--accent); }
.chip.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.search { display: flex; gap: 8px; flex: 1 1 280px; }
.search input { flex: 1; }

input[type=text], input[type=password], input[type=email], input[type=tel], select, textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px;
  font-size: 14px; font-family: inherit; color: var(--ink); background: #fff; outline: none; transition: border .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); }
textarea { resize: vertical; min-height: 150px; line-height: 1.7; }

/* ---------- 详情 ---------- */
.detail { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.detail__main { padding: 28px; }
.detail__cover { height: 320px; border-radius: var(--radius); overflow: hidden; background: #f1ecee; margin-bottom: 22px; }
.detail__cover img { width: 100%; height: 100%; object-fit: cover; }
.detail__title { font-size: 26px; margin: 0 0 12px; }
.detail__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.tag { background: var(--accent-soft); color: var(--accent-deep); font-size: 13px; padding: 4px 12px; border-radius: 20px; }
.detail__lead { color: var(--ink); background: #fcf8f9; border-left: 3px solid var(--accent); padding: 12px 16px; border-radius: 0 8px 8px 0; margin: 0 0 20px; font-size: 15px; }
.detail__content { color: var(--ink-soft); font-size: 15.5px; }
.detail__content p { margin: 0 0 14px; }
.detail__side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 92px; }
.sidecard { padding: 22px; }
.sidecard h4 { margin: 0 0 14px; font-size: 16px; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.kv:last-child { border-bottom: 0; }
.kv span { color: var(--muted); flex-shrink: 0; }
.kv b { font-weight: 600; text-align: right; word-break: break-all; }
.sidecard__note { font-size: 13px; color: var(--muted); margin: 14px 0 0; line-height: 1.6; }
.backlink { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-deep); margin-bottom: 16px; font-size: 14px; }
.lock { color: var(--accent-deep); }
.lock a { text-decoration: underline; }

/* ---------- 表单页 ---------- */
.formwrap { max-width: 620px; margin: 0 auto; padding: 36px 0; }
.formwrap__title { font-size: 24px; margin: 0 0 6px; }
.formwrap__sub { color: var(--muted); margin: 0 0 24px; font-size: 14px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.field .hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-soft); margin-bottom: 12px; }
.check input { width: auto; margin-top: 5px; }
.check a { color: var(--accent-deep); text-decoration: underline; }
.msg { font-size: 13.5px; padding: 10px 14px; border-radius: 8px; margin-bottom: 16px; display: none; }
.msg--err { background: #fbeae7; color: #973f31; display: block; }
.msg--ok { background: #e9f2e7; color: #3f6b39; display: block; }
.msg--info { background: #f3edf0; color: var(--accent-deep); display: block; }
.authcard { max-width: 440px; margin: 0 auto; padding: 40px 28px; }
.authtabs { display: flex; gap: 8px; margin-bottom: 22px; }
.authtab { flex: 1; text-align: center; padding: 10px; border-radius: 8px; cursor: pointer; background: var(--paper); color: var(--ink-soft); font-weight: 600; }
.authtab.is-active { background: var(--accent); color: #fff; }
.authpanel { display: none; }
.authpanel.is-active { display: block; }

/* ---------- 关于 ---------- */
.about__hero { padding: 48px 0 30px; }
.about__lead { font-size: 17px; color: var(--ink-soft); max-width: 780px; }
.about__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 28px 0; }
.feature { padding: 24px; }
.feature__icon { width: 38px; height: 38px; color: var(--accent); margin-bottom: 12px; }
.feature__icon svg { width: 100%; height: 100%; }
.feature h4 { margin: 0 0 8px; font-size: 16px; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.prose { max-width: 840px; }
.prose h3 { font-size: 19px; margin: 28px 0 10px; }
.prose p { color: var(--ink-soft); }
.contactbox { padding: 26px; margin-top: 24px; max-width: 840px; }
.contactbox h4 { margin: 0 0 14px; }
.contactbox .kv b { color: var(--ink); }

/* ---------- 会员充值 ---------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.plan { padding: 26px 22px; display: flex; flex-direction: column; position: relative; transition: all .15s; }
.plan:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(63,42,48,.13); }
.plan--featured { border-color: var(--accent); }
.plan__flag { position: absolute; right: 16px; top: -11px; background: var(--gold); color: #fff; font-size: 12px; padding: 3px 12px; border-radius: 20px; }
.plan__name { font-size: 16px; font-weight: 700; margin: 0 0 4px; }
.plan__desc { font-size: 13px; color: var(--muted); margin: 0 0 16px; min-height: 38px; }
.plan__price { font-size: 30px; font-weight: 800; color: var(--accent-deep); }
.plan__price small { font-size: 14px; font-weight: 600; color: var(--muted); margin-left: 4px; }
.plan__list { list-style: none; padding: 0; margin: 16px 0 20px; font-size: 13.5px; color: var(--ink-soft); }
.plan__list li { padding: 6px 0 6px 22px; position: relative; }
.plan__list li::before { content: ""; position: absolute; left: 0; top: 12px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.plan .btn { margin-top: auto; }
.notice { max-width: 840px; }
.notice h3 { font-size: 17px; margin: 24px 0 8px; }
.notice p, .notice li { color: var(--ink-soft); font-size: 14.5px; }

/* ---------- 个人中心 ---------- */
.profile { display: grid; grid-template-columns: 320px 1fr; gap: 24px; align-items: start; }
.profile__side { padding: 24px; }
.profile__name { font-size: 18px; font-weight: 700; margin: 0 0 2px; }
.profile__role { color: var(--muted); font-size: 13px; margin: 0 0 16px; }
.balance { display: flex; gap: 12px; margin: 16px 0; }
.balance__item { flex: 1; background: #fcf8f9; border: 1px solid var(--line); border-radius: 10px; padding: 12px; text-align: center; }
.balance__item b { display: block; font-size: 20px; color: var(--accent-deep); }
.balance__item span { font-size: 12.5px; color: var(--muted); }
.panel { padding: 26px; }
.panel__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.panel__head h3 { margin: 0; font-size: 18px; }
.tabs { display: flex; gap: 6px; background: var(--paper); padding: 5px; border-radius: 10px; border: 1px solid var(--line); flex-wrap: wrap; }
.tabs button { border: 0; background: transparent; padding: 8px 16px; border-radius: 7px; cursor: pointer; font-size: 14px; color: var(--ink-soft); font-family: inherit; }
.tabs button.is-active { background: #fff; color: var(--accent-deep); font-weight: 600; box-shadow: var(--shadow); }

/* ---------- 列表（个人中心/后台） ---------- */
.mylist { display: flex; flex-direction: column; gap: 12px; }
.myitem { display: flex; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.myitem__thumb { width: 92px; height: 66px; border-radius: 8px; overflow: hidden; background: #f1ecee; flex-shrink: 0; }
.myitem__thumb img { width: 100%; height: 100%; object-fit: cover; }
.myitem__body { flex: 1; min-width: 0; }
.myitem__title { font-weight: 600; font-size: 15px; margin: 0 0 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.myitem__meta { font-size: 12.5px; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }
.myitem__acts { display: flex; gap: 8px; flex-shrink: 0; }

/* ---------- 后台 ---------- */
.adminbar { display: flex; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; align-items: center; }
.statgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.statcard { padding: 18px 20px; }
.statcard b { display: block; font-size: 26px; color: var(--accent-deep); }
.statcard span { font-size: 13px; color: var(--muted); }
.tablewrap { overflow-x: auto; }
table.admin { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
table.admin th, table.admin td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: middle; }
table.admin th { background: var(--paper); color: var(--ink-soft); font-weight: 600; white-space: nowrap; }
table.admin tr:last-child td { border-bottom: 0; }
table.admin td.nowrap { white-space: nowrap; }
.status { font-size: 12.5px; padding: 3px 10px; border-radius: 20px; white-space: nowrap; }
.status--approved { background: #e9f2e7; color: #3f6b39; }
.status--pending { background: #f6ecd6; color: #8a6220; }
.status--rejected { background: #fbeae7; color: #973f31; }
.status--paid { background: #e9f2e7; color: #3f6b39; }
.status--closed { background: #eef0f2; color: #6b7480; }
.row-actions { display: flex; gap: 8px; }
.mini { padding: 6px 12px; font-size: 13px; }
.inline-input { width: 150px; padding: 7px 10px; font-size: 13px; }

/* ---------- 页脚 ---------- */
.footer { background: #33343c; color: #cfd3da; margin-top: 56px; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 36px; padding: 44px 0 28px; }
.footer__brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 16px; margin-bottom: 14px; }
.footer__brand img { width: 36px; height: 36px; }
.footer__desc { font-size: 13.5px; color: #a7adb7; max-width: 380px; }
.footer__title { color: #fff; font-size: 15px; margin: 0 0 14px; }
.footer__list { list-style: none; padding: 0; margin: 0; font-size: 13.5px; }
.footer__list li { margin-bottom: 8px; color: #a7adb7; }
.footer__list--inline { display: flex; gap: 16px; margin-top: 12px; flex-wrap: wrap; }
.footer__list--inline a { color: #cfd3da; text-decoration: underline; }
.footer__note { font-size: 13px; color: #a7adb7; margin: 0; line-height: 1.6; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: #99a0ab; flex-wrap: wrap; gap: 10px; }
.footer__icp { display: inline-flex; align-items: center; }
.footer__icp { color: #cfd3da; text-decoration: underline; }

/* ---------- 空态 ---------- */
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty svg { width: 54px; height: 54px; color: var(--line); margin-bottom: 12px; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .cats { grid-template-columns: repeat(3, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .detail { grid-template-columns: 1fr; }
  .detail__side { position: static; }
  .about__grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .profile { grid-template-columns: 1fr; }
  .statgrid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 680px) {
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: #fff;
    flex-direction: column; padding: 12px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .header.is-open .nav { display: flex; }
  .header__right { display: none; }
  .nav__toggle { display: flex; }
  .grid { grid-template-columns: 1fr; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .hero { padding: 36px 0; }
  .hero__title { font-size: 25px; }
  .myitem { flex-wrap: wrap; }
}


/* ---------- 发布人档案与证件查看 ---------- */
.statgrid { grid-template-columns: repeat(auto-fit, minmax(158px, 1fr)); }

.docset { display: flex; gap: 6px; align-items: center; }
.docthumb {
  width: 46px; height: 32px; object-fit: cover; border-radius: 5px;
  border: 1px solid var(--line); cursor: zoom-in; background: var(--paper);
}
.docthumb--none {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11.5px; color: var(--muted); background: var(--paper);
  border: 1px dashed var(--line); border-radius: 5px; padding: 0 7px; height: 32px;
  white-space: nowrap;
}

.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__mask { position: absolute; inset: 0; background: rgba(47, 58, 68, 0.45); }
.modal__panel {
  position: relative; width: min(880px, 96vw); max-height: 90vh; overflow: auto;
  background: #fff; border-radius: 14px; box-shadow: 0 20px 60px rgba(40, 25, 30, 0.25);
}
.modal__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 22px; border-bottom: 1px solid var(--line);
}
.modal__head h3 { margin: 0; font-size: 17px; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.modal__close {
  border: 0; background: transparent; font-size: 24px; line-height: 1;
  color: var(--muted); cursor: pointer; padding: 0 4px;
}
.modal__close:hover { color: var(--ink); }
.modal__body { display: grid; grid-template-columns: 280px 1fr; gap: 22px; padding: 22px; }
.modal__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 22px; border-top: 1px solid var(--line); background: var(--paper);
  border-radius: 0 0 14px 14px;
}
.pm-hint { font-size: 13px; color: var(--muted); }

.pm-media { display: flex; flex-direction: column; gap: 12px; }
.pm-thumb {
  margin: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  background: var(--paper); cursor: zoom-in;
}
.pm-thumb img { width: 100%; height: 150px; object-fit: contain; background: #f4f1f0; transition: opacity .15s; }
.pm-thumb:hover img { opacity: .88; }
.pm-thumb figcaption {
  font-size: 12.5px; color: var(--ink-soft); padding: 6px 10px;
  border-top: 1px solid var(--line); background: #fff; text-align: center;
}
.pm-thumb.is-empty { cursor: default; border-style: dashed; }
.pm-thumb.is-empty img { display: none; }
.pm-thumb.is-empty figcaption::after { content: "（未归档）"; color: var(--muted); }

.pm-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.pm-field { display: flex; flex-direction: column; gap: 6px; }
.pm-field--wide { grid-column: 1 / -1; }
.pm-field span { font-size: 13px; color: var(--muted); }
.pm-field input {
  padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px;
  font-size: 14px; font-family: inherit; color: var(--ink); background: #fff;
}
.pm-field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.pm-field input[readonly] { background: var(--paper); color: var(--muted); }
.pm-check {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 9px;
  padding: 11px 13px; background: var(--accent-soft); border-radius: 9px; font-size: 14px;
}
.pm-check input { width: 17px; height: 17px; accent-color: var(--accent-deep); }

.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(30, 22, 25, 0.86);
  display: flex; align-items: center; justify-content: center; padding: 26px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 96vw; max-height: 92vh; border-radius: 8px; object-fit: contain; }
.lightbox__close {
  position: absolute; top: 14px; right: 20px; border: 0; background: transparent;
  color: #fff; font-size: 34px; line-height: 1; cursor: pointer; opacity: .85;
}
.lightbox__close:hover { opacity: 1; }

/* 详情页实名标识 */
.tag--verified { background: #e9f2e7; color: #3f6b39; display: inline-flex; align-items: center; gap: 5px; }
.tag--verified svg { width: 13px; height: 13px; }

@media (max-width: 760px) {
  .modal { padding: 10px; }
  .modal__body { grid-template-columns: 1fr; padding: 16px; gap: 16px; }
  .pm-fields { grid-template-columns: 1fr; }
  .pm-media { flex-direction: row; overflow-x: auto; }
  .pm-thumb { min-width: 176px; }
  .modal__foot { flex-direction: column; align-items: stretch; }
}
