/* ============================================================
   公共组件样式（c- 前缀，模板无关）。
   主题色与排版由各模板 style.css 通过覆盖 CSS 变量实现。
   ============================================================ */
:root {
  --c-primary: #2563eb;
  --c-primary-dark: #1d4ed8;
  --c-accent: #0ea5e9;
  --c-bg: #f6f8fb;
  --c-surface: #ffffff;
  --c-text: #1f2937;
  --c-muted: #6b7280;
  --c-border: #e5e7eb;
  --c-radius: 12px;
  --c-shadow: 0 6px 24px rgba(15, 23, 42, .06);
  --c-maxw: 1140px;
  --c-font: system-ui, -apple-system, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--c-font);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.65;
  font-size: 15px;
}
a { color: var(--c-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { line-height: 1.3; }

.c-container { max-width: var(--c-maxw); margin: 0 auto; padding: 0 18px; }

/* ---- 按钮 ---- */
.c-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 18px; border-radius: 9px; border: 1px solid transparent;
  background: #eef2f7; color: var(--c-text); font-size: .95rem; cursor: pointer;
  transition: all .15s ease; text-decoration: none; line-height: 1.2;
}
.c-btn:hover { text-decoration: none; transform: translateY(-1px); }
.c-btn--primary { background: var(--c-primary); color: #fff; }
.c-btn--primary:hover { background: var(--c-primary-dark); color: #fff; }
.c-btn--ghost { background: transparent; border-color: var(--c-border); color: var(--c-text); }
.c-btn--ghost:hover { border-color: var(--c-primary); color: var(--c-primary); }
.c-btn--danger { background: #fee2e2; color: #b91c1c; }
.c-btn--danger:hover { background: #fecaca; }
.c-btn--sm { padding: 6px 12px; font-size: .85rem; border-radius: 7px; }
.c-btn--block { display: flex; width: 100%; }
.c-btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* ---- 卡片 ---- */
.c-card {
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--c-radius); box-shadow: var(--c-shadow); padding: 22px;
}
.c-card + .c-card { margin-top: 18px; }
.c-card__title { margin: 0 0 14px; font-size: 1.1rem; }

/* ---- 表单 ---- */
.c-field { margin-bottom: 16px; }
.c-field > label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.c-field .c-hint { color: var(--c-muted); font-size: .82rem; margin-top: 4px; }
.c-input, .c-select, .c-textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--c-border);
  border-radius: 9px; font-size: .95rem; font-family: inherit; background: #fff; color: var(--c-text);
}
.c-textarea { min-height: 110px; resize: vertical; }
.c-input:focus, .c-select:focus, .c-textarea:focus {
  outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}
.c-row { display: flex; gap: 14px; flex-wrap: wrap; }
.c-row > .c-field { flex: 1 1 200px; }
.c-check { display: flex; align-items: flex-start; gap: 8px; }
.c-check input { margin-top: 4px; }

/* ---- 提示条 ---- */
.c-alert { padding: 12px 15px; border-radius: 9px; margin-bottom: 16px; font-size: .92rem; border: 1px solid transparent; }
.c-alert--ok { background: #f0fdf4; border-color: #bbf7d0; color: #15803d; }
.c-alert--err { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }
.c-alert--info { background: #eff6ff; border-color: #bfdbfe; color: #1d4ed8; }

/* ---- 表格 ---- */
.c-table-wrap { overflow-x: auto; }
.c-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.c-table th, .c-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--c-border); white-space: nowrap; }
.c-table th { color: var(--c-muted); font-weight: 600; background: #fafbfc; }
.c-table tbody tr:hover { background: #f8fafc; }

/* ---- 徽章/状态 ---- */
.c-badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; }
.c-badge--submitting { background: #fef3c7; color: #92400e; }
.c-badge--producing { background: #dbeafe; color: #1e40af; }
.c-badge--completed { background: #dcfce7; color: #166534; }
.c-badge--unpaid { background: #f1f5f9; color: #64748b; }
.c-badge--paid { background: #dcfce7; color: #166534; }
.c-badge--new { background: #fee2e2; color: #b91c1c; }

/* ---- 进度步骤 ---- */
.c-steps { display: flex; gap: 0; margin: 18px 0; }
.c-steps__item { flex: 1; text-align: center; position: relative; padding-top: 30px; color: var(--c-muted); font-size: .85rem; }
.c-steps__item::before {
  content: ''; width: 18px; height: 18px; border-radius: 50%; background: #cbd5e1;
  position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 2;
}
.c-steps__item::after { content: ''; position: absolute; top: 8px; left: 50%; width: 100%; height: 3px; background: #e2e8f0; z-index: 1; }
.c-steps__item:last-child::after { display: none; }
.c-steps__item.is-done { color: var(--c-text); font-weight: 600; }
.c-steps__item.is-done::before { background: var(--c-primary); }
.c-steps__item.is-current::before { background: var(--c-primary); box-shadow: 0 0 0 4px rgba(37, 99, 235, .2); }

/* ---- 分页 ---- */
.c-pager { display: flex; gap: 6px; margin-top: 20px; flex-wrap: wrap; align-items: center; }
.c-pager__item { padding: 6px 12px; border: 1px solid var(--c-border); border-radius: 7px; color: var(--c-text); font-size: .88rem; }
.c-pager__item:hover { border-color: var(--c-primary); text-decoration: none; }
.c-pager__item.is-active { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.c-pager__gap { color: var(--c-muted); }

/* ---- 网格 ---- */
.c-grid { display: grid; gap: 18px; }
.c-grid--2 { grid-template-columns: repeat(2, 1fr); }
.c-grid--3 { grid-template-columns: repeat(3, 1fr); }
.c-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---- 工具类 ---- */
.u-muted { color: var(--c-muted); }
.u-sm { font-size: .85rem; }
.u-center { text-align: center; }
.u-right { text-align: right; }
.u-mt { margin-top: 16px; } .u-mt-lg { margin-top: 28px; }
.u-mb { margin-bottom: 16px; }
.u-flex { display: flex; gap: 12px; align-items: center; }
.u-between { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.u-tag { display: inline-block; background: #eef2f7; padding: 2px 10px; border-radius: 6px; font-size: .8rem; color: var(--c-muted); }
.u-price { color: #dc2626; font-weight: 700; }
.u-strike { text-decoration: line-through; color: var(--c-muted); font-size: .85rem; }

/* ---- 响应式 ---- */
@media (max-width: 1024px) { .c-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .c-grid--2, .c-grid--3, .c-grid--4 { grid-template-columns: 1fr; }
  .c-steps__item { font-size: .78rem; }
}

/* ============================================================
   前台页面区块（颜色随模板变量变化）
   ============================================================ */

/* Hero */
.hero { padding: 64px 0; }
.hero__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.hero__title { font-size: 2.4rem; margin: 0 0 14px; line-height: 1.25; }
.hero__title em { font-style: normal; color: var(--c-primary); }
.hero__sub { font-size: 1.05rem; color: var(--c-muted); margin: 0 0 26px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__art { aspect-ratio: 4/3; border-radius: 18px; background:
  radial-gradient(circle at 30% 30%, rgba(37,99,235,.18), transparent 60%),
  radial-gradient(circle at 70% 70%, rgba(14,165,233,.16), transparent 55%), var(--c-surface);
  border: 1px solid var(--c-border); position: relative; overflow: hidden; }
.hero__art::before { content: ''; position: absolute; inset: 22%; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent)); opacity: .14; }
.hero__badges { display: flex; gap: 18px; margin-top: 22px; flex-wrap: wrap; }
.hero__badge { font-size: .85rem; color: var(--c-muted); display: flex; align-items: center; gap: 6px; }
.hero__badge b { color: var(--c-text); font-size: 1.3rem; }

/* Hero 单列居中版（无右上装饰块，更聚焦、更美观） */
.hero--solo { padding: 76px 0 60px; text-align: center; }
.hero--solo .hero__inner { display: block; max-width: 720px; margin: 0 auto; }
.hero--solo .hero__title { font-size: 2.65rem; }
.hero--solo .hero__sub { max-width: 600px; margin-left: auto; margin-right: auto; }
.hero--solo .hero__cta { justify-content: center; }
.hero--solo .hero__badges { justify-content: center; gap: 26px; margin-top: 26px; }
@media (max-width: 600px) { .hero--solo { padding: 52px 0 44px; } .hero--solo .hero__title { font-size: 1.95rem; } }

/* 区块 */
.section { padding: 48px 0; }
.section--alt { background: var(--c-surface); border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 34px; }
.section__title { font-size: 1.7rem; margin: 0 0 10px; }
.section__desc { color: var(--c-muted); margin: 0; }

/* 流程 */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.flow__item { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--c-radius); padding: 22px; position: relative; }
.flow__num { width: 34px; height: 34px; border-radius: 50%; background: var(--c-primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 12px; }
.flow__title { margin: 0 0 6px; font-size: 1.05rem; }
.flow__desc { margin: 0; color: var(--c-muted); font-size: .9rem; }

/* 特性 */
.feature { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--c-radius); padding: 22px; }
.feature__icon { width: 44px; height: 44px; border-radius: 11px; background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.3rem; margin-bottom: 12px; }
.feature__title { margin: 0 0 6px; font-size: 1.05rem; }
.feature p { margin: 0; color: var(--c-muted); font-size: .92rem; }

/* 套餐 */
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pkg { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 14px; padding: 26px; display: flex; flex-direction: column; }
.pkg--featured { border-color: var(--c-primary); box-shadow: 0 10px 30px rgba(37,99,235,.14); position: relative; }
.pkg--featured::after { content: '推荐'; position: absolute; top: 14px; right: -30px; background: var(--c-primary); color: #fff;
  font-size: .72rem; padding: 3px 32px; transform: rotate(45deg); }
.pkg__name { font-size: 1.2rem; margin: 0 0 8px; }
.pkg__price { font-size: 2rem; font-weight: 800; color: var(--c-primary); margin: 6px 0; }
.pkg__price small { font-size: .85rem; font-weight: 400; color: var(--c-muted); }
.pkg__list { list-style: none; padding: 0; margin: 16px 0; flex: 1; }
.pkg__list li { padding: 7px 0 7px 24px; position: relative; font-size: .92rem; border-bottom: 1px dashed var(--c-border); }
.pkg__list li::before { content: '✓'; position: absolute; left: 0; color: var(--c-primary); font-weight: 700; }

/* 文章 */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--c-radius); padding: 20px; display: block; color: inherit; }
.post:hover { text-decoration: none; box-shadow: var(--c-shadow); transform: translateY(-2px); transition: all .15s; }
.post__title { font-size: 1.08rem; margin: 0 0 8px; color: var(--c-text); }
.post__meta { color: var(--c-muted); font-size: .82rem; margin-bottom: 8px; }
.post__sum { color: var(--c-muted); font-size: .9rem; margin: 0; }
.article { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--c-radius); padding: 32px; }
.article h1 { margin-top: 0; }
.article__meta { color: var(--c-muted); font-size: .85rem; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--c-border); }
.article__body { line-height: 1.9; }
.article__body img { border-radius: 8px; }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 10px; margin-bottom: 12px; overflow: hidden; }
.faq__q { padding: 16px 20px; cursor: pointer; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.faq__q::after { content: '+'; color: var(--c-muted); font-size: 1.3rem; }
.faq.is-open .faq__q::after { content: '−'; }
.faq__a { padding: 0 20px; max-height: 0; overflow: hidden; transition: all .2s ease; color: var(--c-muted); }
.faq.is-open .faq__a { padding: 0 20px 18px; max-height: 600px; }

/* CTA 横幅 */
.cta-band { background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark)); color: #fff; border-radius: 16px; padding: 40px; text-align: center; }
.cta-band h2 { margin: 0 0 10px; }
.cta-band p { margin: 0 0 20px; opacity: .9; }
.cta-band .c-btn { background: #fff; color: var(--c-primary); }

/* 认证页（登录/注册/协议） */
.auth { display: flex; align-items: center; justify-content: center; padding: 50px 18px; min-height: 60vh; }
.auth__card { width: 100%; max-width: 440px; }
.auth__head { text-align: center; margin-bottom: 22px; }
.auth__head h1 { font-size: 1.5rem; margin: 0 0 6px; }
.auth__switch { text-align: center; margin-top: 16px; font-size: .9rem; color: var(--c-muted); }
.agreement-box { max-height: 360px; overflow-y: auto; border: 1px solid var(--c-border); border-radius: 10px; padding: 18px 20px; background: #fcfcfd; font-size: .9rem; line-height: 1.8; }
.agreement-box h3 { margin-top: 0; }

/* 提交表单 */
.form-wide { max-width: 760px; margin: 0 auto; }

/* 会员中心 */
.member-layout { display: grid; grid-template-columns: 230px 1fr; gap: 24px; padding: 30px 0; }
.member-nav { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--c-radius); padding: 12px; height: fit-content; }
.member-nav a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--c-text); font-size: .92rem; margin-bottom: 2px; }
.member-nav a:hover { background: var(--c-bg); text-decoration: none; }
.member-nav a.is-active { background: var(--c-primary); color: #fff; }
.member-nav a .fe-dot { float: right; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--c-radius); padding: 20px; }
.stat__num { font-size: 1.9rem; font-weight: 800; color: var(--c-primary); }
.stat__label { color: var(--c-muted); font-size: .88rem; }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; } .hero__art { display: none; }
  .flow, .pkg-grid, .post-grid, .stat-grid { grid-template-columns: 1fr; }
  .member-layout { grid-template-columns: 1fr; }
  .hero__title { font-size: 1.9rem; }
}
@media (min-width: 641px) and (max-width: 900px) {
  .flow, .pkg-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- 语言切换器（前台顶部 chrome，模板可覆盖外观） ---- */
.fe-lang { display: inline-flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.fe-lang__item { padding: 3px 9px; border-radius: 7px; font-size: .82rem; color: var(--c-muted); line-height: 1.6; }
.fe-lang__item:hover { text-decoration: none; color: var(--c-primary); background: rgba(127, 127, 127, .12); }
.fe-lang__item.is-active { color: var(--c-primary); font-weight: 700; }

/* ---- 方案报告：用户中心醒目入口 + 弹窗（iframe 显示后台录入的报告 URL） ---- */
.report-cta { border: 2px solid var(--c-primary); background: #f3f8ff; margin-top: 16px; }
.report-cta__btn { font-size: 1.05rem; }
.rpt-modal { position: fixed; inset: 0; z-index: 1000; background: rgba(0, 0, 0, .55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.rpt-modal__box { background: #fff; border-radius: 12px; width: min(960px, 100%); height: min(85vh, 100%); display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
.rpt-modal__bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--c-border); }
.rpt-modal__title { font-size: .98rem; }
.rpt-modal__actions { display: inline-flex; gap: 8px; align-items: center; }
.rpt-modal__frame { flex: 1; width: 100%; border: 0; background: #fff; }

/* 悬浮咨询（前台右下角） */
.fe-consult { position: fixed; right: 18px; bottom: 18px; z-index: 900; }
.fe-consult__btn { border: 0; cursor: pointer; background: var(--c-primary); color: #fff; border-radius: 999px; padding: 11px 18px; font-size: .95rem; font-weight: 600; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.fe-consult__panel { position: absolute; right: 0; bottom: 56px; width: 236px; background: #fff; border: 1px solid var(--c-border); border-radius: 12px; padding: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .16); text-align: center; }
.fe-consult__title { font-weight: 700; margin-bottom: 8px; }
.fe-consult__qr { width: 184px; max-width: 100%; border-radius: 8px; border: 1px solid var(--c-border); }
.fe-consult__wx { margin-top: 8px; font-size: .9rem; }
.fe-consult__note { margin-top: 6px; font-size: .82rem; color: var(--c-muted); }

/* 首页限时活动横幅 */
.fe-promo { background: linear-gradient(90deg, #fff7ed, #fef2f2); border-bottom: 1px solid var(--c-border); }
.fe-promo__inner { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; padding: 10px 0; font-size: .92rem; }
.fe-promo__text { font-weight: 600; }
.fe-promo__cd { color: #dc2626; font-weight: 700; font-variant-numeric: tabular-nums; }

/* 订单内沟通（S5）+ 评价星级（S4） */
.omsg-thread { display: flex; flex-direction: column; gap: 10px; max-height: 360px; overflow-y: auto; padding: 4px 0; }
.omsg { max-width: 86%; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--c-border); background: #f8fafc; }
.omsg--admin { align-self: flex-start; background: #eff6ff; border-color: #bfdbfe; }
.omsg--member { align-self: flex-end; background: #f0fdf4; border-color: #bbf7d0; }
.omsg__meta { font-size: .78rem; color: var(--c-muted); margin-bottom: 3px; }
.omsg__body { font-size: .92rem; white-space: normal; word-break: break-word; }
.rv-stars { color: #f59e0b; letter-spacing: 2px; }

/* ============================================================
   后台框架（ad- 前缀，颜色随后台模板变量变化）
   ============================================================ */
.ad-shell { display: grid; grid-template-columns: var(--ad-sidebar-w, 230px) 1fr; min-height: 100vh; }
.ad-sidebar { background: var(--ad-side-bg, #0f172a); color: var(--ad-side-tx, #cbd5e1); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.ad-brand { padding: 18px 20px; font-weight: 800; font-size: 1.1rem; color: #fff; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid rgba(255,255,255,.08); }
.ad-brand img { width: 28px; height: 28px; }
.ad-nav { padding: 12px 10px; flex: 1; }
.ad-nav__label { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ad-side-mut, #64748b); padding: 14px 12px 6px; }
.ad-nav a { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border-radius: 8px; color: var(--ad-side-tx, #cbd5e1); font-size: .92rem; margin-bottom: 1px; }
.ad-nav a:hover { background: rgba(255,255,255,.06); text-decoration: none; color: #fff; }
.ad-nav a.is-active { background: var(--c-primary); color: #fff; }
.ad-nav__badge { background: #ef4444; color: #fff; font-size: .68rem; border-radius: 999px; padding: 0 7px; }
.ad-side-foot { padding: 14px 20px; font-size: .78rem; color: var(--ad-side-mut, #64748b); border-top: 1px solid rgba(255,255,255,.08); }

.ad-main { display: flex; flex-direction: column; min-width: 0; background: var(--c-bg); }
.ad-topbar { height: 60px; background: var(--c-surface); border-bottom: 1px solid var(--c-border); display: flex; align-items: center; justify-content: space-between; padding: 0 24px; position: sticky; top: 0; z-index: 30; }
.ad-topbar__title { font-weight: 700; font-size: 1.05rem; }
.ad-topbar__right { display: flex; align-items: center; gap: 14px; font-size: .9rem; color: var(--c-muted); }
.ad-burger { display: none; background: none; border: 1px solid var(--c-border); border-radius: 7px; font-size: 1.2rem; padding: 2px 10px; cursor: pointer; }
.ad-content { padding: 24px; flex: 1; }
.ad-page-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; gap: 12px; flex-wrap: wrap; }
.ad-page-head h1 { font-size: 1.4rem; margin: 0; }

.ad-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.ad-stat { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--c-radius); padding: 18px 20px; }
.ad-stat__num { font-size: 1.8rem; font-weight: 800; color: var(--c-primary); line-height: 1.1; }
.ad-stat__label { color: var(--c-muted); font-size: .85rem; margin-top: 4px; }
.ad-toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.ad-toolbar form { display: flex; gap: 8px; flex-wrap: wrap; }
.ad-actions { display: flex; gap: 6px; }
.ad-desc { color: var(--c-muted); font-size: .82rem; }
.ad-kv { display: grid; grid-template-columns: 140px 1fr; gap: 0; }
.ad-kv > dt { padding: 9px 0; color: var(--c-muted); font-size: .88rem; border-bottom: 1px dashed var(--c-border); }
.ad-kv > dd { padding: 9px 0; margin: 0; border-bottom: 1px dashed var(--c-border); }

/* 后台登录 */
.ad-auth { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--ad-side-bg, #0f172a); padding: 20px; }
.ad-auth__card { background: #fff; border-radius: 14px; padding: 32px; width: 100%; max-width: 380px; box-shadow: 0 18px 50px rgba(0,0,0,.3); }
.ad-auth__card h1 { font-size: 1.3rem; margin: 0 0 4px; text-align: center; }
.ad-auth__card .sub { text-align: center; color: var(--c-muted); margin: 0 0 22px; font-size: .88rem; }

@media (max-width: 880px) {
  .ad-shell { grid-template-columns: 1fr; }
  .ad-sidebar { position: fixed; left: -260px; width: 240px; z-index: 60; transition: left .2s; }
  .ad-sidebar.is-open { left: 0; }
  .ad-burger { display: block; }
  .ad-stats { grid-template-columns: repeat(2, 1fr); }
  .ad-kv { grid-template-columns: 1fr; }
  .ad-kv > dt { border: 0; padding-bottom: 0; }
}
