:root {
  --navy-900: #070d18;
  --navy-850: #0a1526;
  --navy-800: #0d1e34;
  --navy-700: #16365f;
  --navy-600: #1d4575;
  --gold-500: #c8a45c;
  --gold-400: #dcb96f;
  --gold-300: #e8cf95;
  --cyan: #4fd1c5;
  --ink: #eaf0f8;
  --ink-soft: #9dabc0;
  --ink-dim: #6c7b93;
  --line: rgba(255,255,255,.09);
  --line-strong: rgba(200,164,92,.32);
  --bg: #070d18;
  --bg-soft: #0b1424;
  --card: rgba(255,255,255,.035);
  --card-solid: #0e1a2c;
  --shadow: 0 10px 40px rgba(0,0,0,.45);
  --radius: 16px;
  --maxw: 1120px;
  --font: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
}

[data-theme="light"] {
  --ink: #16202e;
  --ink-soft: #4d5a6e;
  --ink-dim: #7b8798;
  --line: rgba(16,42,76,.12);
  --line-strong: rgba(200,164,92,.5);
  --bg: #f4f7fb;
  --bg-soft: #eaf0f7;
  --card: #ffffff;
  --card-solid: #ffffff;
  --shadow: 0 8px 28px rgba(16,42,76,.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .3s ease, color .3s ease;
}

a { color: var(--gold-400); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--gold-300); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ================= 夜景流光 Hero ================= */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 640px;
  display: flex; align-items: center;
  padding: 120px 0 100px;
  overflow: hidden;
  background: #050a14;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -3;
  background-image: url("../img/hero-night.jpg");
  background-size: cover;
  background-position: center 42%;
  transform: scale(1.06);
  animation: heroDrift 34s ease-in-out infinite alternate;
  filter: saturate(1.12) contrast(1.05) brightness(.72);
}
@keyframes heroDrift {
  0%   { transform: scale(1.06) translate3d(0,0,0); }
  50%  { transform: scale(1.14) translate3d(-1.6%, -1.2%, 0); }
  100% { transform: scale(1.08) translate3d(1.4%, .8%, 0); }
}
/* 动态流光：斜向掠过的光带 */
.hero-trails { position: absolute; inset: 0; z-index: -2; overflow: hidden; mix-blend-mode: screen; }
.hero-trails i {
  position: absolute;
  height: 2px;
  border-radius: 2px;
  filter: blur(1.2px);
  opacity: 0;
  background: linear-gradient(90deg, transparent, var(--gold-300), #fff6dc, var(--gold-300), transparent);
  animation: trailRun linear infinite;
}
.hero-trails i:nth-child(1)  { top: 52%; left: -40%; width: 34%; animation-duration: 7.5s;  animation-delay: .2s;  }
.hero-trails i:nth-child(2)  { top: 58%; left: -40%; width: 26%; animation-duration: 9.2s;  animation-delay: 1.6s;  }
.hero-trails i:nth-child(3)  { top: 63%; left: -40%; width: 42%; animation-duration: 11s;   animation-delay: .8s;  }
.hero-trails i:nth-child(4)  { top: 68%; left: -40%; width: 22%; animation-duration: 6.4s;  animation-delay: 2.4s;  }
.hero-trails i:nth-child(5)  { top: 47%; left: -40%; width: 30%; animation-duration: 12.5s; animation-delay: 3.1s;  }
.hero-trails i:nth-child(6)  { top: 72%; left: -40%; width: 38%; animation-duration: 8.6s;  animation-delay: 4.2s;  }
.hero-trails i:nth-child(7)  { top: 56%; left: -40%; width: 18%; animation-duration: 5.8s;  animation-delay: 5.0s;  }
.hero-trails i:nth-child(8)  { top: 79%; left: -40%; width: 28%; animation-duration: 10.4s; animation-delay: 2.0s;  }
@keyframes trailRun {
  0%   { transform: translateX(0) scaleX(.6); opacity: 0; }
  8%   { opacity: .85; }
  70%  { opacity: .55; }
  100% { transform: translateX(420%) scaleX(1.25); opacity: 0; }
}
/* 反向冷色流光（车流另一向） */
.hero-trails.cool i {
  background: linear-gradient(90deg, transparent, #7fd7ff, #d8f4ff, #7fd7ff, transparent);
  animation-name: trailRunBack;
}
.hero-trails.cool i:nth-child(1) { top: 61%; width: 30%; animation-duration: 8.8s;  animation-delay: 1.1s; }
.hero-trails.cool i:nth-child(2) { top: 66%; width: 24%; animation-duration: 10.6s; animation-delay: 3.4s; }
.hero-trails.cool i:nth-child(3) { top: 74%; width: 34%; animation-duration: 13s;   animation-delay: .4s;  }
.hero-trails.cool i:nth-child(4) { top: 83%; width: 20%; animation-duration: 7.2s;  animation-delay: 5.6s; }
@keyframes trailRunBack {
  0%   { transform: translateX(360%) scaleX(.6); opacity: 0; }
  10%  { opacity: .6; }
  70%  { opacity: .35; }
  100% { transform: translateX(-40%) scaleX(1.2); opacity: 0; }
}
/* 漂浮光点 */
.hero-sparks { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.hero-sparks i {
  position: absolute; width: 3px; height: 3px; border-radius: 50%;
  background: var(--gold-300); box-shadow: 0 0 10px 2px rgba(232,207,149,.55);
  opacity: 0; animation: sparkFloat linear infinite;
}
@keyframes sparkFloat {
  0%   { transform: translateY(20px) scale(.4); opacity: 0; }
  20%  { opacity: .9; }
  80%  { opacity: .5; }
  100% { transform: translateY(-160px) scale(1.1); opacity: 0; }
}
/* 暗角与底部过渡 */
.hero-veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 50% 30%, rgba(5,10,20,.30) 0%, rgba(5,10,20,.72) 60%, rgba(5,10,20,.92) 100%),
    linear-gradient(180deg, rgba(5,10,20,.85) 0%, rgba(5,10,20,.35) 35%, rgba(5,10,20,.78) 78%, var(--bg) 100%);
}
[data-theme="light"] .hero-veil {
  background:
    radial-gradient(120% 90% at 50% 30%, rgba(5,10,20,.30) 0%, rgba(5,10,20,.70) 60%, rgba(5,10,20,.90) 100%),
    linear-gradient(180deg, rgba(5,10,20,.85) 0%, rgba(5,10,20,.35) 35%, rgba(5,10,20,.78) 78%, #f4f7fb 100%);
}

.hero-inner { position: relative; z-index: 2; text-align: center; }
.hero .tag {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; letter-spacing: 3px; color: var(--gold-300);
  font-weight: 700; text-transform: uppercase;
  padding: 7px 18px; border-radius: 999px;
  border: 1px solid rgba(200,164,92,.35);
  background: rgba(200,164,92,.08);
  backdrop-filter: blur(6px);
  margin-bottom: 26px;
}
.hero .tag::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-400); box-shadow: 0 0 10px 2px rgba(200,164,92,.8);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.hero h1 {
  font-size: clamp(32px, 5.2vw, 56px);
  line-height: 1.22; font-weight: 800;
  color: #fff; letter-spacing: -0.5px;
  margin-bottom: 20px;
  text-shadow: 0 4px 30px rgba(0,0,0,.6);
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--gold-300), #fff3d4 45%, var(--gold-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lede {
  max-width: 700px; margin: 0 auto 34px;
  color: rgba(233,240,250,.82); font-size: 17px;
  text-shadow: 0 2px 14px rgba(0,0,0,.5);
}
.hero .cta { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.btn {
  display: inline-block; padding: 14px 30px; border-radius: 12px;
  font-weight: 700; font-size: 15px; letter-spacing: .3px;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease;
  border: 1px solid transparent; cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
  color: #21190a;
  box-shadow: 0 10px 30px rgba(200,164,92,.32);
}
.btn-primary:hover { color: #21190a; transform: translateY(-3px); box-shadow: 0 16px 40px rgba(200,164,92,.45); }
.btn-ghost {
  border: 1px solid rgba(255,255,255,.28); color: #eaf0f8;
  background: rgba(255,255,255,.06); backdrop-filter: blur(8px);
}
.btn-ghost:hover { color: #fff; border-color: var(--gold-400); background: rgba(200,164,92,.12); }

/* Hero 数据条 */
.hero-stats {
  position: relative; z-index: 2;
  margin: 52px auto 0; max-width: 900px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.hero-stats .hs {
  padding: 18px 12px; border-radius: 14px; text-align: center;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(10px);
}
.hero-stats .hs b {
  display: block; font-size: 27px; font-weight: 800; color: #fff;
  background: linear-gradient(180deg, #fff, var(--gold-300));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-stats .hs span { font-size: 12.5px; color: rgba(220,230,245,.7); }
@media (max-width: 760px) { .hero-stats { grid-template-columns: repeat(2, 1fr); } }

/* ================= Header ================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(7,13,24,.55);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: background .3s ease;
}
[data-theme="light"] .site-header { background: rgba(255,255,255,.82); border-bottom-color: rgba(16,42,76,.1); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 17px; color: #fff; }
[data-theme="light"] .brand { color: var(--ink); }
.brand .logo {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  display: grid; place-items: center; color: #1a1206; font-weight: 800; font-size: 16px;
  box-shadow: 0 4px 14px rgba(200,164,92,.35);
}
.brand small { color: rgba(220,230,245,.6); font-weight: 500; font-size: 11.5px; display: block; letter-spacing: .5px; }
[data-theme="light"] .brand small { color: var(--ink-dim); }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: rgba(230,238,248,.78); font-size: 14.5px; font-weight: 500; }
.nav-links a:hover { color: var(--gold-300); }
[data-theme="light"] .nav-links a { color: var(--ink-soft); }
[data-theme="light"] .nav-links a:hover { color: var(--navy-600); }
.theme-toggle {
  width: 38px; height: 38px; border-radius: 11px;
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06);
  cursor: pointer; font-size: 15px; display: grid; place-items: center; color: #eaf0f8;
}
[data-theme="light"] .theme-toggle { border-color: var(--line); background: var(--bg-soft); color: var(--ink); }
@media (max-width: 820px) { .nav-links a { display: none; } }

/* ================= Sections ================= */
section { padding: 76px 0; position: relative; }
section.alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,.022), transparent); }
.section-head { margin-bottom: 34px; }
.section-head.center { text-align: center; }
.section-head .eyebrow {
  font-size: 12px; letter-spacing: 2.5px; color: var(--gold-500);
  font-weight: 700; text-transform: uppercase; margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(24px, 3vw, 32px); color: var(--ink); font-weight: 800; letter-spacing: -.3px; }
.section-head.center h2::after {
  content: ""; display: block; width: 56px; height: 3px; margin: 14px auto 0;
  border-radius: 3px; background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}
.section-head p { color: var(--ink-soft); margin-top: 12px; font-size: 15px; max-width: 720px; }
.section-head.center p { margin-left: auto; margin-right: auto; }

/* ================= 案例卡 ================= */
.case-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 18px; }
.case-card {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); padding: 20px 22px;
  backdrop-filter: blur(6px);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.case-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(200,164,92,.10), transparent 45%);
  opacity: 0; transition: opacity .25s ease; pointer-events: none;
}
.case-card:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: 0 18px 44px rgba(0,0,0,.35); }
.case-card:hover::before { opacity: 1; }
.case-card .ct { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; flex-wrap: wrap; }
.case-card h4 { font-size: 16px; color: var(--ink); font-weight: 700; margin-bottom: 12px; line-height: 1.45; }
.case-card .price {
  font-size: 26px; font-weight: 800; letter-spacing: -.5px;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.case-card .price small { font-size: 13px; font-weight: 600; color: var(--ink-dim); -webkit-text-fill-color: var(--ink-dim); }
.case-card .kv { display: flex; gap: 16px; margin-top: 12px; font-size: 13px; color: var(--ink-soft); flex-wrap: wrap; }
.case-card .kv b { color: var(--ink); font-weight: 700; }
.case-card .foot { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 12px; color: var(--ink-dim); display: flex; justify-content: space-between; }

.chip { font-size: 11.5px; padding: 3px 11px; border-radius: 999px; font-weight: 700; letter-spacing: .3px; }
.chip-ind { background: rgba(79,209,197,.14); color: var(--cyan); border: 1px solid rgba(79,209,197,.3); }
.chip-com { background: rgba(200,164,92,.14); color: var(--gold-400); border: 1px solid rgba(200,164,92,.3); }
.chip-city { background: rgba(255,255,255,.06); color: var(--ink-soft); border: 1px solid var(--line); }

/* ================= 租金行情 ================= */
.rent-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 26px; }
@media (max-width: 760px) { .rent-hero { grid-template-columns: 1fr; } }
.rent-big {
  position: relative; overflow: hidden; padding: 28px 30px; border-radius: 18px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(135deg, rgba(200,164,92,.10), rgba(255,255,255,.02));
}
.rent-big.ind { border-color: rgba(79,209,197,.28); background: linear-gradient(135deg, rgba(79,209,197,.09), rgba(255,255,255,.02)); }
.rent-big .lbl { font-size: 13px; color: var(--ink-soft); font-weight: 600; letter-spacing: .5px; }
.rent-big .val {
  font-size: 42px; font-weight: 800; letter-spacing: -1px; margin: 6px 0 2px;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rent-big.ind .val { background: linear-gradient(135deg, #7fe6db, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rent-big .val u { text-decoration: none; font-size: 15px; font-weight: 600; -webkit-text-fill-color: var(--ink-dim); }
.rent-big .rng { font-size: 13.5px; color: var(--ink-soft); }
.rent-big .n { position: absolute; right: 20px; top: 20px; font-size: 12px; color: var(--ink-dim); }

.rent-table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--card); border-radius: var(--radius); overflow: hidden; }
.rent-table th, .rent-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.rent-table th { background: rgba(255,255,255,.04); color: var(--ink); font-weight: 700; font-size: 13px; }
.rent-table td { color: var(--ink-soft); }
.rent-table td b { color: var(--gold-400); font-weight: 700; }
.rent-table tr:last-child td { border-bottom: none; }
.rent-table tbody tr:hover td { background: rgba(255,255,255,.03); }
.rent-bar { display: inline-block; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--gold-500), var(--gold-300)); vertical-align: middle; margin-right: 8px; }

/* ================= 步骤 ================= */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.step {
  position: relative; padding: 26px 24px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--card); backdrop-filter: blur(6px);
  transition: transform .2s ease, border-color .2s ease;
}
.step:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.step .n {
  width: 38px; height: 38px; border-radius: 12px; margin-bottom: 14px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
  color: #201806; font-weight: 800; display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(200,164,92,.28);
}
.step h4 { color: var(--ink); margin-bottom: 8px; font-size: 16.5px; font-weight: 700; }
.step p { font-size: 14px; color: var(--ink-soft); }

/* ================= 表单 ================= */
.form-card {
  border: 1px solid var(--line); border-radius: 20px; padding: 32px;
  background: var(--card); backdrop-filter: blur(8px); box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field .hint { font-size: 12px; color: var(--ink-dim); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; padding: 11px 13px; border: 1px solid var(--line); border-radius: 11px;
  background: rgba(255,255,255,.04); color: var(--ink); outline: none;
  transition: border-color .18s ease, background .18s ease;
}
[data-theme="light"] .field input, [data-theme="light"] .field select, [data-theme="light"] .field textarea { background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold-500); background: rgba(200,164,92,.06); }
.field textarea { resize: vertical; min-height: 76px; }
.field select option { background: #0e1a2c; color: #eaf0f8; }
[data-theme="light"] .field select option { background: #fff; color: #16202e; }
.form-actions { grid-column: 1 / -1; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.form-note { font-size: 13px; color: var(--ink-soft); }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* ================= 筛选条 ================= */
.filter-bar { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; align-items: center; }
.filter-bar select, .filter-bar input {
  font: inherit; padding: 9px 12px; border: 1px solid var(--line); border-radius: 11px;
  background: rgba(255,255,255,.04); color: var(--ink);
}
[data-theme="light"] .filter-bar select, [data-theme="light"] .filter-bar input { background: #fff; }
.filter-bar select option { background: #0e1a2c; color: #eaf0f8; }
[data-theme="light"] .filter-bar select option { background: #fff; color: #16202e; }
.filter-bar .count { margin-left: auto; color: var(--ink-dim); font-size: 13.5px; }

/* ================= 意向卡 ================= */
.intent-list { display: flex; flex-direction: column; gap: 14px; }
.intent-item {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px;
  background: var(--card); backdrop-filter: blur(6px);
  transition: border-color .2s ease, transform .2s ease;
}
.intent-item:hover { border-color: var(--line-strong); transform: translateX(3px); }
.intent-item .top { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.intent-item h3 { font-size: 16.5px; color: var(--ink); font-weight: 700; }
.intent-item .meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-soft); margin-bottom: 6px; }
.intent-item .meta b { color: var(--gold-400); }
.intent-item .remark { font-size: 13.5px; color: var(--ink-soft); }
.intent-item .when { font-size: 12px; color: var(--ink-dim); margin-top: 8px; }
.badge { font-size: 11.5px; padding: 3px 11px; border-radius: 999px; font-weight: 700; }
.badge-open { background: rgba(79,209,197,.14); color: var(--cyan); border: 1px solid rgba(79,209,197,.28); }
.badge-closed { background: rgba(255,255,255,.06); color: var(--ink-dim); border: 1px solid var(--line); }
.tag-type { background: rgba(200,164,92,.16); color: var(--gold-400); border: 1px solid rgba(200,164,92,.3); }
.tag-city { background: rgba(255,255,255,.06); color: var(--ink-soft); border: 1px solid var(--line); }

/* ================= 文章 ================= */
.post-list { display: flex; flex-direction: column; gap: 14px; }
.post-item {
  display: flex; gap: 20px; align-items: flex-start; padding: 22px 24px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--card);
  transition: border-color .2s ease, transform .2s ease;
}
.post-item:hover { border-color: var(--line-strong); transform: translateX(3px); }
.post-date { flex: 0 0 96px; color: var(--ink-dim); font-size: 13px; font-weight: 600; padding-top: 3px; }
.post-body h3 { font-size: 17.5px; margin-bottom: 6px; font-weight: 700; }
.post-body h3 a { color: var(--ink); }
.post-body .cat {
  display: inline-block; font-size: 11.5px; color: var(--gold-400);
  background: rgba(200,164,92,.12); border: 1px solid rgba(200,164,92,.25);
  padding: 2px 11px; border-radius: 999px; margin-bottom: 9px; font-weight: 700;
}
.post-body p { font-size: 14px; color: var(--ink-soft); }
@media (max-width: 600px) { .post-item { flex-direction: column; gap: 6px; } }

/* ================= 关于 / 文章页 ================= */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; }
@media (max-width: 760px) { .about-grid { grid-template-columns: 1fr; } }
.about-text p { margin-bottom: 14px; color: var(--ink-soft); }
.about-text strong { color: var(--ink); }
.skills { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.skills li { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--card); }
.skills li b { color: var(--gold-400); display: block; margin-bottom: 2px; }
.skills li span { font-size: 13px; color: var(--ink-soft); }

.article { max-width: 780px; margin: 0 auto; padding: 110px 24px 40px; }
.article .meta { color: var(--ink-dim); font-size: 13.5px; margin-bottom: 14px; }
.article h1 { font-size: 32px; line-height: 1.3; margin-bottom: 18px; font-weight: 800; }
.article h2 { font-size: 21px; margin: 32px 0 12px; color: var(--gold-400); }
.article p { margin-bottom: 16px; color: var(--ink-soft); }
.article ul, .article ol { margin: 0 0 16px 22px; color: var(--ink-soft); }
.article li { margin-bottom: 8px; }
.article blockquote {
  border-left: 3px solid var(--gold-500); background: rgba(200,164,92,.07);
  padding: 14px 18px; border-radius: 0 12px 12px 0; margin: 0 0 18px; color: var(--ink-soft); font-style: italic;
}
.article .formula { background: rgba(255,255,255,.04); padding: 12px 16px; border-radius: 12px; font-family: ui-monospace, monospace; text-align: center; margin-bottom: 16px; color: var(--ink); }
.back-link { display: inline-block; margin-top: 20px; color: var(--gold-400); font-weight: 600; }

/* ================= 提示框 ================= */
.token-box { background: rgba(200,164,92,.08); border: 1px dashed var(--line-strong); border-radius: 14px; padding: 18px 20px; margin: 18px 0; }
.token-box code { color: var(--gold-300); font-weight: 700; word-break: break-all; }
.callout { background: rgba(255,255,255,.03); border-left: 3px solid var(--gold-500); padding: 14px 18px; border-radius: 0 12px 12px 0; color: var(--ink-soft); font-size: 14px; margin-bottom: 18px; }
.note { font-size: 12.5px; color: var(--ink-dim); margin-top: 20px; line-height: 1.7; }

/* ================= 后台 ================= */
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; background: var(--card); border-radius: var(--radius); overflow: hidden; }
.admin-table th, .admin-table td { padding: 11px 13px; border-bottom: 1px solid var(--line); text-align: left; }
.admin-table th { background: rgba(255,255,255,.04); color: var(--ink); font-weight: 700; }
.admin-table tbody tr:hover td { background: rgba(255,255,255,.03); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 22px; }
.stat { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: var(--card); }
.stat .num { font-size: 28px; font-weight: 800; color: var(--gold-400); }
.stat .lbl { font-size: 13px; color: var(--ink-soft); margin-top: 4px; }
.admin-wrap { overflow-x: auto; }
.page-top { padding: 110px 0 10px; }

/* ================= Footer ================= */
.site-footer { border-top: 1px solid var(--line); padding: 34px 0; color: var(--ink-dim); font-size: 13.5px; background: rgba(0,0,0,.2); }
[data-theme="light"] .site-footer { background: var(--bg-soft); }
.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.site-footer a { color: var(--ink-dim); margin-left: 18px; }
.site-footer a:hover { color: var(--gold-400); }

/* ================= 滚动入场 ================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg, .hero-trails i, .hero-sparks i { animation: none !important; }
}

@media (max-width: 600px) {
  section { padding: 56px 0; }
  .hero { min-height: 560px; padding: 108px 0 72px; }
}
