:root {
  --ink: #1a2c45;
  --ink-soft: #48586f;
  --paper: #f5f6f8;
  --card: #ffffff;
  --line: #e2e6ec;
  --accent: #b8891f;
  --accent-deep: #8a6b12;
  --accent-soft: #f7f0dd;
  --navy-soft: #2a3f5c;
  --muted: #8792a3;
  --ok: #3f6b39;
  --warn: #8a6b12;
  --danger: #a9432f;
  --shadow: 0 6px 22px rgba(26, 44, 69, 0.08);
  --shadow-lg: 0 14px 40px rgba(26, 44, 69, 0.14);
  --radius: 12px;
}

* { box-sizing: border-box; }

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;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- 页头 ---------- */
.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: 74px; }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand__logo { width: 42px; height: 42px; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1.25; }
.brand__name { font-size: 15.5px; font-weight: 700; letter-spacing: .2px; color: var(--ink); white-space: nowrap; }
.brand__sub { font-size: 11.5px; color: var(--muted); letter-spacing: 1.2px; white-space: nowrap; }
.nav { display: flex; gap: 2px; margin-left: 4px; }
.nav__link {
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 15px;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.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; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 18px; border-radius: 8px; font-size: 14px; cursor: pointer;
  border: 1px solid transparent; transition: all .15s; font-family: inherit;
  white-space: nowrap; line-height: 1.4;
}
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--navy-soft); }
.btn--gold { background: var(--accent); color: #fff; }
.btn--gold: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--danger { background: #fff; border-color: #e3c4bd; color: var(--danger); }
.btn--danger:hover { background: #fdf1ee; }
.btn--block { width: 100%; }
.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: 46px 0; }
.section__head { margin-bottom: 22px; display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap; }
.section__title { font-size: 24px; font-weight: 700; margin: 0 0 6px; display: flex; align-items: center; gap: 10px; }
.section__title::before {
  content: ''; width: 4px; height: 20px; border-radius: 2px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--ink) 100%);
}
.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); }

/* 数据条 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 30px; }
.stat { padding: 18px 20px; display: flex; flex-direction: column; gap: 2px; }
.stat b { font-size: 24px; color: var(--ink); letter-spacing: .5px; }
.stat span { font-size: 13px; color: var(--muted); }
.stat__bar { height: 4px; border-radius: 2px; background: var(--accent); opacity: .8; margin-top: 10px; }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, #1a2c45 0%, #223650 55%, #2c4460 100%);
  color: #fff;
  padding: 64px 0 58px;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; right: -120px; top: -140px; width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(184,137,31,.32), rgba(184,137,31,0) 65%);
}
.hero::before {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(184,137,31,.6), rgba(255,255,255,0));
}
.hero__inner { display: flex; align-items: center; gap: 46px; flex-wrap: wrap; position: relative; z-index: 2; }
.hero__text { flex: 1 1 430px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; letter-spacing: 2px;
  color: #e6c768; border: 1px solid rgba(230,199,104,.4); border-radius: 20px; padding: 5px 14px; margin-bottom: 18px;
}
.hero__title { font-size: 34px; line-height: 1.35; margin: 0 0 16px; font-weight: 800; letter-spacing: .5px; }
.hero__title em { font-style: normal; color: #e6c768; }
.hero__desc { color: #c3ccd8; font-size: 15.5px; margin: 0 0 26px; max-width: 620px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn--primary { background: var(--accent); color: #fff; }
.hero .btn--primary:hover { background: #d3a232; }
.hero .btn--ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.35); color: #fff; }
.hero .btn--ghost:hover { background: rgba(255,255,255,.16); border-color: #e6c768; color: #fff; }
.hero__panel {
  flex: 1 1 330px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius); padding: 24px;
}
.hero__panel h3 { margin: 0 0 16px; font-size: 16px; letter-spacing: 1px; color: #fff; }
.hero__stats { display: flex; gap: 14px; }
.hero__stat { flex: 1; text-align: center; background: rgba(255,255,255,.06); border-radius: 10px; padding: 14px 6px; }
.hero__stat b { display: block; font-size: 25px; color: #e6c768; letter-spacing: .5px; }
.hero__stat span { font-size: 12.5px; color: #b8c2d0; }
.hero__note { color: #aeb9c8; font-size: 12.8px; margin: 16px 0 0; line-height: 1.65; }

/* ---------- 类目导航 ---------- */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 10px 18px; text-align: center; transition: all .16s; box-shadow: var(--shadow);
}
.cat:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow-lg); }
.cat__icon { width: 34px; height: 34px; color: var(--accent); margin: 0 auto 10px; }
.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 .16s; }
.lcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.lcard__cover { height: 174px; background: #e9ecef; position: relative; overflow: hidden; }
.lcard__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.lcard:hover .lcard__cover img { transform: scale(1.045); }
.lcard__cat {
  position: absolute; left: 12px; top: 12px; background: rgba(26,44,69,.86); color: #fff;
  font-size: 12px; padding: 4px 11px; border-radius: 20px; letter-spacing: .5px;
}
.lcard__price {
  position: absolute; right: 12px; top: 12px; background: rgba(184,137,31,.95); color: #fff;
  font-size: 12px; padding: 3px 11px; border-radius: 20px; font-weight: 700; letter-spacing: .3px;
}
.lcard__body { padding: 16px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.lcard__title { font-size: 16px; font-weight: 700; margin: 0; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lcard__summary { color: var(--ink-soft); font-size: 13.5px; margin: 0; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lcard__meta { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--muted); gap: 10px; }
.lcard__region::before {
  content: ''; display: inline-block; width: 9px; height: 9px; margin-right: 5px;
  border: 1.5px solid var(--muted); border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
}
.lcard__foot {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  border-top: 1px dashed var(--line); padding-top: 11px; margin-top: 2px;
  font-size: 12.5px; color: var(--muted);
}
.lcard__cta {
  background: var(--accent); color: #fff; font-size: 12.5px; font-weight: 600;
  padding: 5px 13px; border-radius: 6px; white-space: nowrap;
}
.lcard.is-unlocked .lcard__cta { background: var(--ok); }

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

/* ---------- 表单元素 ---------- */
input[type=text], input[type=password], input[type=email], input[type=tel], input[type=number], 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, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(184,137,31,.12); }
textarea { resize: vertical; min-height: 130px; line-height: 1.75; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 34px; }

/* ---------- 详情 ---------- */
.detail { display: grid; grid-template-columns: 1fr 344px; gap: 28px; align-items: start; }
.detail__main { padding: 28px; }
.detail__cover { height: 300px; border-radius: 10px; overflow: hidden; background: #e9ecef; margin-bottom: 22px; }
.detail__cover img { width: 100%; height: 100%; object-fit: cover; }
.detail__title { font-size: 27px; margin: 0 0 14px; line-height: 1.4; }
.detail__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.tag { background: var(--accent-soft); color: var(--accent-deep); font-size: 13px; padding: 4px 13px; border-radius: 20px; }
.tag--line { background: #fff; border: 1px solid var(--line); color: var(--ink-soft); }
.tag--price { background: var(--accent); color: #fff; font-weight: 600; }
.detail__content { color: var(--ink-soft); font-size: 15.5px; }
.detail__content p { margin: 0 0 15px; }
.detail__subtitle { font-size: 17px; margin: 26px 0 12px; padding-left: 11px; border-left: 3px solid var(--accent); }
.detail__side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 94px; }
.sidecard { padding: 22px; }
.sidecard h4 { margin: 0 0 14px; font-size: 16px; display: flex; align-items: center; gap: 8px; }
.sidecard h4::before { content: ''; width: 3px; height: 15px; border-radius: 2px; background: var(--accent); }
.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; }
.kv--phone b { color: var(--accent-deep); letter-spacing: .6px; }
.kv--price b { color: var(--danger); font-size: 17px; }
.sidecard__note { font-size: 13px; color: var(--muted); margin: 14px 0 0; line-height: 1.65; }
.phone-lock {
  margin-top: 14px; padding: 12px 14px; border-radius: 9px; background: var(--accent-soft);
  font-size: 13.2px; color: var(--accent-deep); line-height: 1.6;
}
.phone-lock a { text-decoration: underline; font-weight: 600; }
.backlink { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-deep); margin-bottom: 16px; font-size: 14px; }
.notice {
  padding: 12px 16px; border-radius: 9px; font-size: 13.5px; line-height: 1.7;
  background: #fdf6e6; border: 1px solid #f0e0bc; color: #7c6212; margin-bottom: 18px;
}
.qbox {
  background: #fafbfc; border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0; padding: 18px 20px; margin-bottom: 24px;
}
.qbox h4 { margin: 0 0 10px; font-size: 15px; color: var(--ink); }
.qbox p { margin: 0 0 10px; color: var(--ink-soft); font-size: 14.5px; }
.qbox p:last-child { margin-bottom: 0; }

/* ---------- 付费查看区 ---------- */
.lockmask { position: relative; border: 1px dashed var(--line); border-radius: 10px; padding: 22px 20px 18px; background: #fbfcfd; overflow: hidden; }
.lockmask__lines { display: flex; flex-direction: column; gap: 12px; }
.lockmask__lines i { display: block; height: 11px; border-radius: 6px; background: linear-gradient(90deg, #eceff3 0%, #e3e7ed 60%, #eceff3 100%); }
.lockmask__lines i:nth-child(1) { width: 96%; }
.lockmask__lines i:nth-child(2) { width: 88%; }
.lockmask__lines i:nth-child(3) { width: 92%; }
.lockmask__lines i:nth-child(4) { width: 74%; }
.lockmask__tip {
  margin-top: 16px; display: flex; align-items: center; gap: 9px;
  font-size: 13.5px; color: var(--accent-deep); background: var(--accent-soft);
  border-radius: 8px; padding: 11px 14px; line-height: 1.6;
}
.lockmask__tip svg { width: 17px; height: 17px; flex-shrink: 0; }

.paywall { margin-top: 20px; border: 1px solid #edd9a8; background: #fffdf6; border-radius: 12px; padding: 24px; }
.paywall__head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.paywall__head h3 { margin: 0; font-size: 19px; }
.paywall__head .paywall__price { font-size: 22px; font-weight: 800; color: var(--danger); letter-spacing: .5px; }
.paywall__lead { color: var(--ink-soft); font-size: 14px; margin: 0 0 20px; }
.paywall__body { display: flex; gap: 28px; flex-wrap: wrap; align-items: flex-start; }
.paywall__qr { flex: 0 0 208px; text-align: center; }
.paywall__qr img {
  width: 208px; height: 208px; object-fit: contain; background: #fff;
  border: 1px solid var(--line); border-radius: 10px; padding: 8px;
}
.paywall__qr p { margin: 10px 0 0; font-size: 13.5px; color: var(--ink-soft); }
.paywall__qr p b { color: var(--danger); font-size: 16px; }
.paywall__steps { flex: 1 1 300px; }
.paywall__steps ol { margin: 0 0 18px; padding-left: 20px; color: var(--ink-soft); font-size: 14px; }
.paywall__steps li { margin-bottom: 8px; }
.paywall__done {
  background: #eef4ec; border: 1px solid #cfe0c9; border-radius: 10px; padding: 18px 20px;
  color: var(--ok); font-size: 14px; line-height: 1.75;
}
.paywall__done b { display: block; font-size: 15.5px; margin-bottom: 4px; }

.answerbox { border-top: 1px solid var(--line); padding-top: 22px; }
.answerbox__badge {
  display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ok);
  background: #eef4ec; border-radius: 20px; padding: 4px 13px; margin-bottom: 14px;
}
.answerbox__badge svg { width: 15px; height: 15px; }

/* ---------- 表单页 / 登录 ---------- */
.formwrap { max-width: 660px; margin: 0 auto; padding: 34px 0; }
.formwrap__title { font-size: 24px; margin: 0 0 6px; }
.formwrap__sub { color: var(--muted); margin: 0 0 22px; font-size: 14px; }
.field { margin-bottom: 17px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.field label i { font-style: normal; color: var(--accent); margin-left: 3px; }
.field .hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.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: 4px; flex-shrink: 0; }
.check a { color: var(--accent-deep); text-decoration: underline; }
.msg { font-size: 13.5px; padding: 11px 15px; border-radius: 8px; margin-bottom: 16px; display: none; }
.msg--err { background: #fbeae7; color: #973f31; display: block; }
.msg--ok { background: #e9f1e7; color: var(--ok); display: block; }
.authcard { max-width: 428px; margin: 0 auto; padding: 38px 30px; }
.authtabs { display: flex; gap: 8px; margin-bottom: 22px; background: var(--paper); padding: 5px; border-radius: 10px; }
.authtab { flex: 1; text-align: center; padding: 9px; border-radius: 7px; cursor: pointer; color: var(--ink-soft); font-weight: 600; font-size: 14.5px; transition: all .15s; }
.authtab.is-active { background: var(--ink); color: #fff; }
.authpanel { display: none; }
.authpanel.is-active { display: block; }

/* ---------- 关于 ---------- */
.about__hero { padding: 46px 0 26px; }
.about__lead { font-size: 16.5px; color: var(--ink-soft); max-width: 820px; }
.about__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 26px 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: 860px; }
.prose h3 { font-size: 18px; margin: 28px 0 10px; }
.prose p { color: var(--ink-soft); margin: 0 0 12px; }
.prose ul, .prose ol { color: var(--ink-soft); padding-left: 22px; margin: 0 0 14px; }
.prose li { margin-bottom: 7px; }
.contactbox { padding: 26px; margin-top: 26px; }
.contactbox h4 { margin: 0 0 14px; }
.contactbox .kv b { color: var(--ink); }

/* ---------- 个人中心 ---------- */
.account { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: start; }
.profile { padding: 26px 22px; text-align: center; }
.profile__avatar {
  width: 66px; height: 66px; border-radius: 50%; margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--ink) 0%, var(--navy-soft) 100%);
  color: #e6c768; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700;
}
.profile__name { font-size: 17px; font-weight: 700; margin: 0 0 4px; }
.profile__role { font-size: 12.5px; color: var(--accent-deep); background: var(--accent-soft); display: inline-block; padding: 3px 12px; border-radius: 20px; margin-bottom: 18px; }
.profile .kv { text-align: left; }
.acctabs { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.acctab {
  padding: 9px 20px; border-radius: 8px; border: 1px solid var(--line); background: #fff;
  font-size: 14px; cursor: pointer; color: var(--ink-soft); font-family: inherit; transition: all .15s;
}
.acctab:hover { border-color: var(--accent); color: var(--accent-deep); }
.acctab.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.myrow {
  display: grid; grid-template-columns: 116px 1fr auto; gap: 16px; align-items: center;
  padding: 14px; border-bottom: 1px solid var(--line);
}
.myrow:last-child { border-bottom: 0; }
.myrow__cover { height: 72px; border-radius: 8px; overflow: hidden; background: #e9ecef; }
.myrow__cover img { width: 100%; height: 100%; object-fit: cover; }
.myrow__title { font-size: 15px; font-weight: 600; margin: 0 0 6px; }
.myrow__meta { font-size: 12.8px; color: var(--muted); display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.myrow__actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- 状态标签 ---------- */
.status { font-size: 12.5px; padding: 3px 11px; border-radius: 20px; white-space: nowrap; }
.status--approved { background: #e9f1e7; color: var(--ok); }
.status--pending { background: #fbf1db; color: var(--warn); }
.status--rejected { background: #fbeae7; color: #973f31; }
.status--paid { background: #e9f1e7; color: var(--ok); }

/* ---------- 后台 ---------- */
.admintabs { display: flex; gap: 8px; margin-bottom: 22px; flex-wrap: wrap; }
.admintab {
  padding: 10px 22px; border-radius: 8px; border: 1px solid var(--line); background: #fff;
  font-size: 14.5px; cursor: pointer; color: var(--ink-soft); font-family: inherit; font-weight: 600; transition: all .15s;
}
.admintab:hover { border-color: var(--accent); color: var(--accent-deep); }
.admintab.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.adminbar { display: flex; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; align-items: center; }
.seg { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.seg button { border: 0; background: #fff; padding: 9px 17px; cursor: pointer; font-size: 14px; color: var(--ink-soft); font-family: inherit; }
.seg button + button { border-left: 1px solid var(--line); }
.seg button.is-active { background: var(--ink); color: #fff; }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
table.admin { width: 100%; border-collapse: collapse; }
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; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.mini { padding: 6px 13px; font-size: 13px; }

/* ---------- 页脚 ---------- */
.footer { background: var(--ink); color: #cfd6df; margin-top: 60px; }
.footer__inner { display: grid; grid-template-columns: 1.7fr 1fr 1.2fr; gap: 36px; padding: 44px 0 26px; }
.footer__brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 15.5px; margin-bottom: 14px; }
.footer__brand img { width: 36px; height: 36px; }
.footer__desc { font-size: 13.5px; color: #a9b3c0; max-width: 380px; margin: 0; }
.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: #a9b3c0; }
.footer__list--inline { display: flex; gap: 16px; margin-top: 12px; flex-wrap: wrap; }
.footer__list--inline a { color: #cfd6df; text-decoration: underline; }
.footer__note { font-size: 13px; color: #a9b3c0; margin: 0; line-height: 1.65; }
.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: #98a3b1; flex-wrap: wrap; gap: 10px; }
.footer__bottom--icp { justify-content: space-between; }
.footer__icp { color: #cfd6df; text-decoration: underline; }

/* ---------- 空态 ---------- */
.empty { text-align: center; padding: 56px 20px; color: var(--muted); background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); }
.empty a { color: var(--accent-deep); text-decoration: underline; }
.loading { text-align: center; padding: 46px 20px; color: var(--muted); }

/* ---------- 响应式 ---------- */
@media (max-width: 1120px) {
  .brand__name { font-size: 14.5px; }
  .nav__link { padding: 8px 11px; font-size: 14.5px; }
}
@media (max-width: 1020px) {
  .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; }
  .account { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 700px) {
  .nav { display: none; position: absolute; top: 74px; 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; }
  .brand__sub { display: none; }
  .brand__name { font-size: 13.5px; white-space: normal; line-height: 1.3; }
  .grid { grid-template-columns: 1fr; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 40px 0; }
  .hero__title { font-size: 26px; }
  .detail__main { padding: 20px; }
  .field-row { grid-template-columns: 1fr; }
  .myrow { grid-template-columns: 84px 1fr; }
  .myrow__actions { grid-column: 1 / -1; }
  .paywall { padding: 18px; }
  .paywall__qr { flex: 1 1 100%; }
  .paywall__qr img { width: 180px; height: 180px; margin: 0 auto; }
}
