/* ============================================================
   深色内页设计系统 · 藏青 + 金
   与首页（密令通行证）同一套色板，供真实记录 / 留言墙 / 售后答疑使用
   ============================================================ */

@font-face {
  font-family: 'Guide Sans';
  src: url('../guide-sans-664465914ee7.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #0a1120;
  --bg-2: #0c1526;
  --panel-1: #142241;
  --panel-2: #101b31;
  --panel-3: #0d1728;
  --gold: #e9c47f;
  --gold-strong: #f7dfae;
  --gold-deep: #c39a4f;
  --ink: #e9eef8;
  --ink-strong: #ffffff;
  --ink-soft: #b7c2d3;
  --muted: #8b98ae;
  --muted-2: #6d7a91;
  --line: rgba(233, 196, 127, .28);
  --line-soft: rgba(255, 255, 255, .08);
  --green: #54d6a2;
  --radius: 16px;
  --font: 'Guide Sans', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1100px 520px at 50% -6%, rgba(233, 196, 127, .10), transparent 66%),
    radial-gradient(820px 460px at 88% 12%, rgba(48, 92, 168, .14), transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

/* 顶栏见 assets/css/nav.css（nav.css 先于本文件加载） */

/* ---------- 页面骨架 ---------- */

.shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0 32px 96px;
}

.page-hero {
  padding: 68px 0 34px;
  border-bottom: 1px solid var(--line-soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--gold);
  opacity: .8;
}

.page-title {
  margin: 16px 0 0;
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.035em;
  color: var(--ink-strong);
}

.page-sub {
  margin: 14px 0 0;
  max-width: 620px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--muted);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  margin-top: 30px;
}

.hero-stats > div { display: flex; flex-direction: column; gap: 3px; }

.hero-stats b {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: var(--gold-strong);
  font-variant-numeric: tabular-nums;
}

.hero-stats span { font-size: 11px; letter-spacing: .06em; color: var(--muted-2); }

/* ---------- 筛选条 ---------- */

.filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.filter-bar + .grid-note { margin-top: 10px; }

.filter-label {
  margin-right: 6px;
  font-size: 11.5px;
  color: var(--muted-2);
  letter-spacing: .06em;
}

.chip {
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, .03);
  color: var(--ink-soft);
  font-size: 12px;
  cursor: pointer;
  transition: all .18s ease;
}

.chip:hover { border-color: rgba(233, 196, 127, .4); color: var(--gold-strong); }

.chip.is-on {
  background: linear-gradient(180deg, var(--gold-strong), var(--gold));
  border-color: transparent;
  color: #20180a;
  font-weight: 700;
}

.chip .n {
  margin-left: 6px;
  font-size: 10.5px;
  opacity: .7;
  font-variant-numeric: tabular-nums;
}

/* ---------- 记录卡网格 ---------- */

.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.tile {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-1) 0%, var(--panel-2) 100%);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.tile:hover {
  transform: translateY(-3px);
  border-color: rgba(233, 196, 127, .34);
  box-shadow: 0 22px 44px -26px rgba(0, 0, 0, .9), 0 0 0 1px rgba(233, 196, 127, .16);
}

.tile-media {
  position: relative;
  border: 0;
  padding: 0;
  background: #0d1728;
  cursor: zoom-in;
  display: block;
  line-height: 0;
  border-bottom: 1px solid var(--line-soft);
}

.tile-media img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: top center;
  opacity: .94;
  transition: opacity .2s ease;
}

/* 竖长截图：整图放进固定高度，不裁掉账单首尾 */
.tile-media.is-tall img {
  height: 190px;
  object-fit: contain;
}

.tile-media:hover img { opacity: 1; }

.tile-media .zoom-tag {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(6, 12, 24, .78);
  border: 1px solid var(--line);
  color: var(--gold-strong);
  font-size: 10.5px;
  line-height: 1.6;
  letter-spacing: .04em;
}

.tile-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px 20px;
  flex: 1;
}

.tile-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.tag {
  padding: 2px 9px;
  border-radius: 6px;
  border: 1px solid rgba(233, 196, 127, .26);
  color: var(--gold-strong);
  font-size: 10.5px;
  letter-spacing: .04em;
  background: rgba(233, 196, 127, .07);
}

.tag.is-muted {
  border-color: var(--line-soft);
  color: var(--muted);
  background: transparent;
}

.tile-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.55;
  color: var(--ink-strong);
}

.tile-amount {
  margin: 0;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: .02em;
}

.tile-caption {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--muted);
}

.tile-date {
  margin-top: auto;
  padding-top: 8px;
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--muted-2);
  font-family: var(--mono);
}

/* ---------- 留言卡 ---------- */

.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.quote {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 24px 20px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-1) 0%, var(--panel-3) 100%);
  transition: transform .22s ease, border-color .22s ease;
}

.quote:hover { transform: translateY(-2px); border-color: rgba(233, 196, 127, .3); }

.quote::before {
  content: "“";
  position: absolute;
  top: 6px;
  right: 18px;
  font-family: Georgia, serif;
  font-size: 48px;
  line-height: 1;
  color: rgba(233, 196, 127, .22);
}

.quote-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.quote-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink);
  flex: 1;
}

.quote-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, .1);
  font-size: 11px;
  color: var(--muted-2);
  font-family: var(--mono);
  letter-spacing: .06em;
}

.quote-kind {
  padding: 1px 8px;
  border-radius: 5px;
  font-size: 10px;
  letter-spacing: .06em;
  font-family: var(--font);
}

.quote-kind.is-success { background: rgba(84, 214, 162, .14); color: var(--green); }
.quote-kind.is-help { background: rgba(120, 160, 255, .14); color: #9db4ff; }
.quote-kind.is-experience { background: rgba(233, 196, 127, .14); color: var(--gold-strong); }

/* ---------- 群 / FAQ / 表单 ---------- */

.panel {
  margin-top: 56px;
}

.panel-head { max-width: 640px; }

.panel-title {
  margin: 12px 0 0;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--ink-strong);
  line-height: 1.3;
}

.panel-sub { margin: 10px 0 0; font-size: 13.5px; line-height: 1.85; color: var(--muted); }

/* ---------- 单群大卡 ---------- */

.group-hero {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 38px;
  margin-top: 26px;
  padding: 28px 30px;
  border: 1px solid rgba(233, 196, 127, .24);
  border-radius: 20px;
  background: linear-gradient(180deg, var(--panel-1) 0%, var(--panel-2) 100%);
  align-items: start;
}

.group-shot { margin: 0; display: grid; gap: 12px; }

.group-shot img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line-soft);
  background: #060c18;
  box-shadow: 0 24px 46px -30px rgba(0, 0, 0, .9);
}

.group-shot figcaption {
  text-align: center;
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--muted-2);
}

.group-main { display: grid; gap: 14px; align-content: start; padding-top: 4px; }

.group-main > .tag { justify-self: start; }

.group-main h3 {
  margin: 6px 0 0;
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink-strong);
}

.group-desc {
  margin: 0;
  max-width: 540px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}

.group-number {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 2px;
  padding: 13px 18px;
  border: 1px dashed rgba(233, 196, 127, .34);
  border-radius: 12px;
  background: rgba(233, 196, 127, .06);
}

.group-number-label {
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--muted-2);
}

.group-number b {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--gold-strong);
  font-variant-numeric: tabular-nums;
}

.copy {
  margin-left: auto;
  padding: 5px 13px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(233, 196, 127, .1);
  color: var(--gold-strong);
  font-size: 11.5px;
  cursor: pointer;
  transition: background .18s ease;
}

.copy:hover { background: rgba(233, 196, 127, .22); }

.group-main .check-list { margin-top: 4px; }

.group-main .check-list li {
  grid-template-columns: 44px minmax(0, 1fr);
  padding: 12px 14px;
}

.faq-list { margin-top: 24px; display: grid; gap: 10px; }

/* ---------- 进群前准备清单 ---------- */

.check-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding: 14px 18px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(255, 255, 255, .025);
  font-size: 13px;
}

.check-list b {
  color: var(--gold);
  font-size: 11.5px;
  letter-spacing: .1em;
  font-weight: 700;
}

.check-list span { color: var(--ink-soft); line-height: 1.85; }

.faq-list details {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(255, 255, 255, .025);
  padding: 2px 18px;
}

.faq-list details[open] { border-color: rgba(233, 196, 127, .3); background: rgba(233, 196, 127, .05); }

.faq-list summary {
  padding: 15px 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 16px;
  color: var(--gold);
  transition: transform .2s ease;
}

.faq-list details[open] summary::after { transform: rotate(45deg); }

.faq-list details p {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
  max-width: 720px;
}

.field { display: grid; gap: 7px; font-size: 12px; color: var(--muted); }
.field.is-wide { grid-column: 1 / -1; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  color: var(--ink);
  font-family: var(--font);
  font-size: 13.5px;
  outline: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(233, 196, 127, .55);
  box-shadow: 0 0 0 3px rgba(233, 196, 127, .12);
}

.field textarea { resize: vertical; min-height: 108px; }

.field select option { background: #101b31; color: var(--ink); }

.form-foot {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.form-status { margin: 0; font-size: 12.5px; color: var(--green); }
.form-status.is-warn { color: #ffab9b; }

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 20px;
  border-radius: 10px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, .04);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .18s ease;
}

.btn:hover { border-color: rgba(233, 196, 127, .45); color: var(--gold-strong); }

.btn-gold {
  background: linear-gradient(180deg, var(--gold-strong), var(--gold));
  border-color: transparent;
  color: #20180a;
}

.btn-gold:hover { color: #20180a; filter: brightness(1.05); }

.btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ---------- 空状态 / 说明 ---------- */

.empty {
  margin-top: 24px;
  padding: 40px 24px;
  border: 1px dashed var(--line-soft);
  border-radius: var(--radius);
  text-align: center;
  color: var(--muted-2);
  font-size: 13px;
}

.foot-note {
  margin-top: 26px;
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted-2);
}

.foot-note b { color: var(--gold); font-weight: 600; }

/* ---------- 页脚 ---------- */

.foot {
  border-top: 1px solid var(--line-soft);
  background: rgba(8, 14, 27, .6);
}

.foot-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 30px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.foot p { margin: 0; font-size: 12px; line-height: 1.9; color: var(--muted-2); }

.foot-links { display: flex; gap: 20px; font-size: 12px; color: var(--muted); }
.foot-links a:hover { color: var(--gold-strong); }

/* ---------- 图片弹窗 ---------- */

.shot-modal {
  width: min(1080px, calc(100% - 32px));
  max-height: 92vh;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0;
  background: var(--panel-3);
  color: var(--ink);
  box-shadow: 0 40px 80px rgba(0, 0, 0, .6);
}

.shot-modal::backdrop { background: rgba(4, 8, 16, .78); }

.shot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line-soft);
}

.shot-head h2 { margin: 0; font-size: 15px; font-weight: 700; color: var(--ink-strong); }

.shot-close {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line-soft);
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.shot-close:hover { border-color: var(--gold); color: var(--gold); }

.shot-body { padding: 18px 22px; overflow: auto; max-height: 66vh; background: #060c18; }

.shot-body img { margin: 0 auto; border-radius: 8px; }

.shot-cap {
  margin: 0;
  padding: 14px 22px 18px;
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%, 14px);
  padding: 11px 18px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(12, 21, 38, .96);
  color: var(--gold-strong);
  font-size: 12.5px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 40;
}

.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 响应式 ---------- */

@media (max-width: 900px) {
  .shell, .foot-inner { padding-left: 22px; padding-right: 22px; }
  .page-hero { padding: 46px 0 28px; }
  .page-title { font-size: 30px; }
  .tile-grid, .quote-grid { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .group-hero { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 22px 20px; }
  .group-shot { max-width: 300px; margin: 0 auto; }
}

@media (max-width: 560px) {
  .page-title { font-size: 26px; }
  .hero-stats { gap: 8px 24px; }
  .tile-media img { height: 168px; }
  .group-hero { padding: 18px 16px; }
  .group-shot { max-width: 260px; }
  .group-number { gap: 10px; padding: 12px 14px; }
  .group-number b { font-size: 19px; }
  .group-main .check-list li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
