/* SCUM #9941 — 统一现代界面 · 2026 */

:root {
  --bg-deep: #060807;
  --bg-page: #0a0d0b;
  --bg-elevated: #101412;
  --surface: #141a17;
  --surface2: #1a221e;
  --stroke: rgba(255, 255, 255, 0.08);
  --stroke-strong: rgba(212, 168, 90, 0.22);
  --text: #e6ebe8;
  --muted: #8b9690;
  --accent: #d4a85a;
  --accent-bright: #e8c46c;
  --cyan: #5ec8e0;
  --ok: #6bbf8a;
  --warn: #f090a0;
  --danger: #e07080;
  /* 中文站：UI/正文均以 Noto Sans SC 为先，拉丁回退 Plus Jakarta */
  --font-ui: "Noto Sans SC", "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Noto Sans SC", system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", "Sarasa Gothic SC", monospace;
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 64px;
  --max: 1180px;
  --narrow: 720px;
  --article: 880px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 8px 32px rgba(0, 0, 0, 0.35);
  --glow-accent: 0 0 40px rgba(212, 168, 90, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
  color: var(--text);
  background: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -30%, rgba(212, 168, 90, 0.09), transparent 55%),
    radial-gradient(ellipse 60% 50% at 100% 20%, rgba(94, 200, 224, 0.04), transparent 45%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-page) 100%);
  min-height: 100vh;
}

/* 语义色（正文内） */
.doc .k {
  color: var(--cyan);
  font-weight: 600;
}
.doc .g {
  color: var(--ok);
  font-weight: 600;
}
.doc .hl {
  color: var(--accent-bright);
  font-weight: 650;
}
.doc .w {
  color: var(--warn);
  font-weight: 600;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.92em;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover {
  color: var(--accent-bright);
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 300;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: var(--bg-deep);
  font-weight: 700;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* 全站右侧固定外链坞（由 main.js 注入） */
body.has-site-dock {
  padding-right: calc(64px + env(safe-area-inset-right, 0px));
}

.site-dock {
  position: fixed;
  right: max(10px, env(safe-area-inset-right));
  top: 50%;
  transform: translateY(-50%);
  z-index: 180;
  pointer-events: none;
}

.site-dock__nav {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(8, 11, 10, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-sm), 0 0 0 1px rgba(0, 0, 0, 0.35) inset;
  backdrop-filter: blur(12px);
}

.site-dock__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  width: 3.5rem;
  min-height: 3.65rem;
  padding: 0.4rem 0.3rem 0.35rem;
  border-radius: 999px;
  font-size: max(10px, 0.62rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  color: #e8ece9;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(120% 100% at 50% 0%, rgba(255, 255, 255, 0.07), rgba(12, 16, 14, 0.96));
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  transition: transform 0.12s ease, filter 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}
.site-dock__btn:hover {
  text-decoration: none;
  filter: brightness(1.08);
  transform: scale(1.03);
  border-color: rgba(255, 255, 255, 0.22);
}
.site-dock__btn:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 2px;
}

.site-dock__img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
  pointer-events: none;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
}

.site-dock__txt {
  font-size: max(9px, 0.56rem);
  font-weight: 700;
  opacity: 0.88;
  color: rgba(232, 236, 233, 0.92);
  line-height: 1.1;
}

.site-dock__btn--qq {
  border-color: rgba(18, 183, 245, 0.35);
  box-shadow: 0 2px 12px rgba(12, 140, 200, 0.15);
}
.site-dock__btn--shop {
  border-color: rgba(212, 168, 90, 0.35);
  box-shadow: 0 2px 12px rgba(140, 90, 40, 0.12);
}
.site-dock__btn--yy {
  border-color: rgba(120, 140, 170, 0.35);
  box-shadow: 0 2px 12px rgba(50, 60, 80, 0.2);
}

@media (max-width: 480px) {
  body.has-site-dock {
    padding-right: calc(58px + env(safe-area-inset-right, 0px));
  }
  .site-dock__btn {
    width: 3.15rem;
    min-height: 3.35rem;
    font-size: max(9px, 0.55rem);
    gap: 0.15rem;
  }
  .site-dock__img {
    width: 28px;
    height: 28px;
  }
}

@media print {
  .site-dock {
    display: none !important;
  }
  body.has-site-dock {
    padding-right: 0 !important;
  }
}

section[id],
h2[id],
h3[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

/* —— 顶栏 —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
  background: rgba(6, 8, 7, 0.82);
  border-bottom: 1px solid var(--stroke);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  color: var(--text);
  text-decoration: none;
}
.brand:hover {
  color: var(--accent);
  text-decoration: none;
}

.brand-sub {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.88rem;
}

.server-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 0.3rem 0.5rem;
  border-radius: 8px;
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--accent-bright), #9a7228);
  box-shadow: var(--glow-accent);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.65rem;
  justify-content: flex-end;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.35rem 0.45rem;
  border-radius: 8px;
  text-decoration: none;
}
.site-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: var(--accent-bright);
  font-weight: 650;
  background: rgba(212, 168, 90, 0.1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  position: relative;
}
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s ease;
}
.nav-toggle::before {
  top: 16px;
  box-shadow: 0 6px 0 var(--text);
}
.nav-toggle::after {
  bottom: 16px;
}

@media (max-width: 1100px) {
  .nav-toggle {
    display: block;
  }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(8, 10, 9, 0.97);
    border-bottom: 1px solid var(--stroke);
    padding: 1rem 1.25rem 1.25rem;
    max-height: min(70vh, 420px);
    overflow-y: auto;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.2s ease;
  }
  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }
  .site-nav a {
    padding: 0.6rem 0.75rem;
  }
}

/* —— 首页 Hero —— */
.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 5.5rem) 1.25rem 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(212, 168, 90, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 40% at 85% 60%, rgba(94, 200, 224, 0.06), transparent 50%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
}

.hero-kicker {
  margin-bottom: 1rem;
}

.hero-tag {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--stroke-strong);
  background: rgba(212, 168, 90, 0.08);
}

.hero h1 {
  font-family: var(--font-ui);
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  max-width: 18ch;
}

.hl-server {
  color: var(--accent-bright);
  text-shadow: 0 0 40px rgba(232, 196, 108, 0.25);
}

.hero-lead {
  font-size: 1.05rem;
  max-width: 42rem;
  color: #b5c0b8;
  margin: 0 0 1.75rem;
  line-height: 1.75;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.chip {
  font-size: 0.82rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--stroke);
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: 12px;
  font-family: var(--font-ui);
  font-weight: 650;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(145deg, #c4923a, #8f6a22);
  color: #0c0e0d;
  box-shadow: 0 8px 28px rgba(196, 146, 58, 0.25);
}
.btn-primary:hover {
  color: #0c0e0d;
}

.btn-xian {
  background: linear-gradient(145deg, rgba(157, 124, 232, 0.35), rgba(90, 70, 140, 0.25));
  border-color: rgba(157, 124, 232, 0.35);
  color: #e8e0ff;
}
.btn-xian:hover {
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: var(--stroke);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: rgba(212, 168, 90, 0.4);
  color: var(--accent-bright);
}

.quick-actions-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.65rem;
  max-width: var(--max);
  margin: 0 auto;
}

.btn-external {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  font-weight: 650;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid var(--stroke);
  transition: filter 0.15s ease;
}
.btn-external:hover {
  text-decoration: none;
  filter: brightness(1.08);
}

.btn-qq {
  background: linear-gradient(135deg, #12b7f5, #0d8ac8);
  color: #fff;
  border-color: rgba(18, 183, 245, 0.4);
}
.btn-shop {
  background: linear-gradient(135deg, #c45c2a, #8a3d18);
  color: #fff;
  border-color: rgba(196, 92, 42, 0.4);
}
.btn-yy {
  background: linear-gradient(135deg, #5a6a8a, #3d4a62);
  color: #e8edf5;
  border-color: rgba(100, 120, 150, 0.4);
}

/* 快捷信息条 */
.quick-strip {
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
  background: rgba(10, 13, 11, 0.85);
}

.quick-strip-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

.quick-strip-inner--core {
  max-width: 560px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-dock-hint {
  margin: 1.25rem 0 0;
  max-width: 28rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

.quick-item {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--stroke);
}

.quick-item.highlight {
  border-color: rgba(212, 168, 90, 0.35);
  background: linear-gradient(145deg, rgba(212, 168, 90, 0.08), var(--surface));
}

.qi-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.qi-value {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

/* 门户 Bento */
.portal-section {
  padding: clamp(3rem, 6vw, 5rem) 1.25rem;
}

.portal-section .section-head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

.section-title {
  font-family: var(--font-ui);
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
}

.section-intro {
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
  font-size: 1.02rem;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  max-width: 1120px;
  margin: 0 auto;
}

.portal-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.35rem;
  min-height: 140px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--stroke);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

a.portal-card:hover {
  border-color: rgba(212, 168, 90, 0.45);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.portal-card-title {
  font-family: var(--font-ui);
  font-size: 1.08rem;
  font-weight: 750;
  margin: 0 0 0.4rem;
  color: var(--text);
}

.portal-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
}

.portal-card-meta {
  margin-top: 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

/* 阅读说明 */
#charter {
  padding: 3rem 1.25rem 4rem;
  border-top: 1px solid var(--stroke);
}

.doc-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1.25rem;
  padding: 1.1rem 1.25rem;
  margin: 0 0 2rem;
  border-radius: var(--radius);
  border: 1px dashed rgba(139, 150, 144, 0.35);
  background: rgba(20, 26, 23, 0.5);
}

.doc-legend span {
  font-size: 0.84rem;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.doc-legend i {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  flex-shrink: 0;
}
.doc-legend .i-k {
  background: var(--cyan);
}
.doc-legend .i-g {
  background: var(--ok);
}
.doc-legend .i-h {
  background: var(--accent-bright);
}
.doc-legend .i-w {
  background: var(--warn);
}

.guide-box {
  padding: 1.5rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: linear-gradient(135deg, rgba(196, 92, 42, 0.12), var(--surface));
}

.guide-box h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 750;
  color: var(--accent-bright);
}

.guide-box ul {
  margin: 0;
  padding-left: 1.2rem;
  color: #a8b5ae;
  font-size: 0.95rem;
}
.guide-box li {
  margin: 0.45em 0;
}

.guide-box .guide-box-lead {
  margin: 0;
  line-height: 1.65;
  color: #a8b5ae;
  font-size: 0.95rem;
}

/* —— 内页通用 —— */
.section {
  padding: clamp(2.5rem, 5vw, 4rem) 1.25rem;
}

.section-alt {
  background: rgba(8, 11, 10, 0.5);
}

.container {
  max-width: var(--max);
  margin: 0 auto;
}

.container.narrow {
  max-width: var(--narrow);
}

.container.article {
  max-width: var(--article);
}

.page-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.page-head h1 {
  font-family: var(--font-ui);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.page-head .lead {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

.page-head .eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

/* 锚点导航条 */
.link-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.link-rail a {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--stroke);
  text-decoration: none;
}
.link-rail a:hover {
  border-color: var(--accent);
  color: var(--accent-bright);
  text-decoration: none;
}

.link-rail--external {
  border: 1px dashed rgba(94, 200, 224, 0.25);
  background: rgba(94, 200, 224, 0.05);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
}

/* 横向大数字 */
.metric-deck {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.metric {
  padding: 1.25rem 1rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--stroke);
  text-align: center;
}

.metric-val {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-bright);
  line-height: 1.1;
}

.metric-label {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.35rem;
}

/* 三列特色卡 */
.grid-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .grid-features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(20, 26, 23, 0.95), rgba(10, 13, 11, 0.98));
  border: 1px solid var(--stroke);
  min-height: 180px;
}

.feature-card h3 {
  font-family: var(--font-ui);
  font-size: 1.05rem;
  font-weight: 750;
  margin: 0 0 0.65rem;
  color: var(--accent-bright);
}

.feature-card p {
  margin: 0;
  font-size: 0.92rem;
  color: #a8b4ad;
  line-height: 1.65;
}

/* 回收页：外链 CTA、交易区卖价表 */
.recycle-external-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.25rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.95rem;
  color: #0d1210;
  background: linear-gradient(145deg, var(--accent-bright), #5ae0a8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}
.recycle-external-cta:hover {
  filter: brightness(1.06);
  color: #0a0f0d;
}

.recycle-mall-sub {
  font-family: var(--font-ui);
  font-size: 1.05rem;
  font-weight: 800;
  margin: 1.5rem 0 0.35rem;
  letter-spacing: -0.02em;
  color: #e4ebe6;
}

.recycle-mall-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.recycle-mall-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid var(--stroke);
  font-size: 0.9rem;
  color: #c5cec9;
  line-height: 1.5;
}

.recycle-mall-items {
  flex: 1 1 12rem;
  min-width: 0;
  color: #e8eeea;
}

.recycle-mall-reward {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--accent-bright);
  white-space: nowrap;
}

.recycle-mall-hint {
  flex: 1 1 100%;
  font-size: 0.8rem;
  color: var(--muted);
}

.trade-sell-table-wrap .trade-sell-foot {
  margin-top: 1rem;
  margin-bottom: 0;
  font-size: 0.92rem;
  color: var(--muted);
}
.trade-sell-table-wrap .table-scroll {
  overflow-x: auto;
  margin: 0.5rem 0 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--stroke);
}
.trade-sell-table-wrap .trade-sell-table {
  width: 100%;
  min-width: 28rem;
  border-collapse: collapse;
  font-size: 0.86rem;
}
.trade-sell-table-wrap .trade-sell-table th,
.trade-sell-table-wrap .trade-sell-table td {
  padding: 0.5rem 0.65rem;
  text-align: left;
  border-bottom: 1px solid var(--stroke);
  vertical-align: top;
}
.trade-sell-table-wrap .trade-sell-table th {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.2);
}
.trade-sell-table-wrap .trade-sell-table tbody tr:last-child td {
  border-bottom: none;
}
.trade-sell-table-wrap .trade-sell-item {
  min-width: 10rem;
}
.trade-sell-table-wrap .trade-sell-name {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.92rem;
  color: #e8eeea;
  line-height: 1.35;
}
.trade-sell-table-wrap .trade-sell-missing {
  color: #c9a227;
  font-weight: 600;
}

/* 宽版块 */
.content-band {
  margin: 3rem 0;
  padding: 2rem 1.75rem;
  border-radius: calc(var(--radius) + 4px);
  background: var(--surface);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-sm);
}

.content-band h2 {
  font-family: var(--font-ui);
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.prose-flow p {
  margin: 0 0 1rem;
  color: #aeb8b2;
  font-size: 0.98rem;
  line-height: 1.75;
}
.prose-flow p:last-child {
  margin-bottom: 0;
}

/* 空投页：按配置分段的简短概括（如「VSS满配」） */
.airdrop-loot-intro {
  margin-bottom: 1rem;
}

.airdrop-loot-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin: 0 0 1.1rem;
  padding: 0;
  list-style: none;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}

.airdrop-loot-legend li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.airdrop-loot-legend__swatch {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 4px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.airdrop-loot-legend__swatch--rifle {
  background: linear-gradient(145deg, #1a1c1b, #0a0c0b);
}

.airdrop-loot-legend__swatch--clothing {
  background: linear-gradient(145deg, rgba(232, 140, 180, 0.95), rgba(180, 90, 130, 0.85));
}

.airdrop-loot-legend__swatch--tool {
  background: linear-gradient(145deg, rgba(70, 130, 210, 0.55), rgba(40, 90, 170, 0.65));
}

.airdrop-loot-legend__swatch--pistol {
  background: linear-gradient(145deg, #c8ced4, #9aa3ac);
}

.airdrop-loot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

@media (min-width: 640px) {
  .airdrop-loot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .airdrop-loot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.airdrop-loot-card {
  border-radius: var(--radius-sm);
  border: 1px solid var(--stroke);
  background: var(--bg-elevated);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.airdrop-loot-card__body {
  flex: 1;
  padding: 0.75rem 0.85rem 0.65rem;
  min-height: 2.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
}

/* 其它：默认青灰底（如医疗等） */
.airdrop-loot-card--other .airdrop-loot-card__body {
  background: linear-gradient(165deg, rgba(94, 200, 224, 0.06), rgba(8, 11, 10, 0.15));
}
.airdrop-loot-card--other .airdrop-loot-brief {
  color: #e4ebe6;
}

.airdrop-loot-brief {
  margin: 0;
  font-family: var(--font-ui);
  font-size: clamp(0.98rem, 2vw, 1.08rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: #e4ebe6;
}

/* 黑色系：大枪 / 长枪 / 重火力 */
.airdrop-loot-card--rifle {
  border-color: rgba(255, 255, 255, 0.1);
}
.airdrop-loot-card--rifle .airdrop-loot-card__body {
  background: linear-gradient(160deg, #1e2220 0%, #0c0e0d 55%, #060807 100%);
  border-left: 3px solid rgba(255, 255, 255, 0.14);
}
.airdrop-loot-card--rifle .airdrop-loot-brief {
  color: #eef2f0;
}

/* 粉色系：衣服 */
.airdrop-loot-card--clothing {
  border-color: rgba(232, 150, 185, 0.35);
}
.airdrop-loot-card--clothing .airdrop-loot-card__body {
  background: linear-gradient(160deg, rgba(90, 42, 58, 0.45) 0%, rgba(48, 22, 32, 0.55) 50%, rgba(28, 14, 22, 0.65) 100%);
  border-left: 3px solid rgba(236, 130, 168, 0.75);
}
.airdrop-loot-card--clothing .airdrop-loot-brief {
  color: #fde8f0;
}

/* 蓝色系：工具 */
.airdrop-loot-card--tool {
  border-color: rgba(80, 150, 220, 0.35);
}
.airdrop-loot-card--tool .airdrop-loot-card__body {
  background: linear-gradient(160deg, rgba(24, 48, 72, 0.55) 0%, rgba(14, 32, 52, 0.65) 100%);
  border-left: 3px solid rgba(100, 170, 240, 0.85);
}
.airdrop-loot-card--tool .airdrop-loot-brief {
  color: #e4f2ff;
}

/* 浅灰系：手枪 / 左轮 */
.airdrop-loot-card--pistol {
  border-color: rgba(180, 188, 196, 0.45);
}
.airdrop-loot-card--pistol .airdrop-loot-card__body {
  background: linear-gradient(160deg, #d8dde3 0%, #b4bcc6 55%, #9ca6b0 100%);
  border-left: 3px solid #7a8490;
}
.airdrop-loot-card--pistol .airdrop-loot-brief {
  color: #1a1e22;
}

/* 政策列表（建家等） */
.policy-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.policy-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--stroke);
  font-size: 0.95rem;
  color: #aeb8b2;
  line-height: 1.7;
}
.policy-list li:last-child {
  border-bottom: 0;
}

.policy-list strong {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--cyan);
  margin-bottom: 0.35rem;
}

/* 种植 / 表格 */
.table-shell {
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  overflow: hidden;
  background: var(--bg-elevated);
  margin-top: 1rem;
}

.table-shell table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.table-shell th,
.table-shell td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--stroke);
}

.table-shell thead th {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0, 0, 0, 0.35);
}

.table-shell tbody tr:hover td {
  background: rgba(212, 168, 90, 0.04);
}

.table-shell tbody tr:last-child td {
  border-bottom: 0;
}

.table-shell .ico {
  width: 2.5rem;
  text-align: center;
  font-size: 1.1rem;
}

/* 探索页 spotlight */
.spotlight-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .spotlight-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.spotlight {
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(94, 200, 224, 0.06), var(--surface));
  min-height: 200px;
}

.spotlight h3 {
  font-family: var(--font-ui);
  font-size: 1.05rem;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.spotlight p {
  margin: 0;
  font-size: 0.92rem;
  color: #a8b4ad;
  line-height: 1.7;
}

/* 回收：分类标签 */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tag-pill {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--stroke);
  color: #b8c4bd;
}

.split-2 {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .split-2 {
    grid-template-columns: 1fr 1fr;
  }
}

/* 游戏规则页 — 通栏编辑排版（仅 rules.html） */
.rules-page {
  padding-bottom: clamp(3rem, 8vw, 5rem);
}

.rules-masthead {
  position: relative;
  overflow: hidden;
  padding: clamp(2.75rem, 7vw, 4.5rem) 1.25rem clamp(2rem, 5vw, 3.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(ellipse 80% 120% at 80% -20%, rgba(212, 168, 90, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 80% at 0% 50%, rgba(94, 200, 224, 0.06), transparent 50%),
    linear-gradient(180deg, rgba(12, 16, 14, 0.95) 0%, rgba(8, 11, 10, 0.65) 100%);
}

.rules-masthead__glow {
  position: absolute;
  inset: -40% -20% auto auto;
  width: min(70vw, 520px);
  height: min(70vw, 520px);
  background: radial-gradient(circle, rgba(212, 168, 90, 0.08), transparent 68%);
  pointer-events: none;
}

.rules-container {
  position: relative;
  max-width: min(56rem, 100%);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.rules-masthead .page-head {
  max-width: 44rem;
  margin-bottom: 0;
}

.rules-masthead .page-head h1 {
  font-size: clamp(2rem, 4.5vw, 2.85rem);
}

.rules-deck {
  margin: 1rem 0 0;
  max-width: 40rem;
  font-size: 1.08rem;
  line-height: 1.75;
  color: #9aa69e;
}

.rules-note {
  margin: 1.75rem 0 0;
  max-width: 42rem;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
}

.rules-wrap {
  padding-top: clamp(2rem, 4vw, 3rem);
}

.rules-toc {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(1.75rem, 3vw, 2.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.rules-toc__title {
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(139, 150, 144, 0.85);
}

.rules-toc__links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.15rem;
  font-family: var(--font-ui);
  font-size: clamp(0.88rem, 1.5vw, 0.98rem);
  font-weight: 600;
  line-height: 1.6;
}

.rules-toc__links a:not(:first-child)::before {
  content: "·";
  margin-right: 0.55rem;
  color: rgba(255, 255, 255, 0.14);
  font-weight: 400;
  pointer-events: none;
}

.rules-toc__links a {
  color: #9eada6;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.1em;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.rules-toc__links a:hover {
  color: var(--accent-bright);
  border-bottom-color: rgba(212, 168, 90, 0.45);
}

.rules-toc__sep {
  color: rgba(255, 255, 255, 0.12);
  user-select: none;
  font-weight: 400;
}

.rules-body {
  max-width: 48rem;
}

.rules-chapter {
  padding: clamp(2.25rem, 4.5vw, 3.75rem) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.rules-chapter:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.rules-chapter__lead {
  display: grid;
  grid-template-columns: minmax(3rem, 4.25rem) 1fr;
  gap: 0.75rem 1.25rem;
  align-items: start;
  margin-bottom: 1.35rem;
}

@media (max-width: 520px) {
  .rules-chapter__lead {
    grid-template-columns: 1fr;
  }
}

.rules-chapter__index {
  font-family: var(--font-ui);
  font-size: clamp(2.35rem, 6vw, 3.25rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(212, 168, 90, 0.22);
  user-select: none;
}

.rules-chapter__title {
  margin: 0;
  font-family: var(--font-ui);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--text);
}

.rules-list {
  margin: 0;
  padding: 0 0 0 1.15rem;
  font-size: clamp(0.95rem, 1.35vw, 1.02rem);
  line-height: 1.72;
  color: #aeb8b2;
}

.rules-list li {
  margin: 0.55em 0;
}

.rules-list li::marker {
  color: rgba(212, 168, 90, 0.35);
}

.rules-cta {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  padding: clamp(1.35rem, 3vw, 1.85rem) clamp(1.25rem, 3vw, 2rem);
  text-align: center;
  border-radius: var(--radius);
  border: 1px solid rgba(212, 168, 90, 0.22);
  background:
    linear-gradient(135deg, rgba(212, 168, 90, 0.07), rgba(8, 11, 10, 0.5)),
    rgba(12, 16, 14, 0.6);
}

.rules-cta__num {
  font: 750 1.35rem/1.2 var(--font-mono);
  letter-spacing: 0.06em;
  color: var(--accent-bright);
}

.rules-cta__hint {
  margin: 0.65rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
}

.guide-box h3 {
  font-family: var(--font-ui);
}

/* VIP（保留结构，微调） */
.vip-page .container {
  max-width: 960px;
}

.vip-hero {
  text-align: center;
  margin-bottom: 2rem;
}

.vip-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

a.btn-vip-primary,
.btn-vip-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 12px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  color: #1a1208;
  background: linear-gradient(145deg, #f0d78c 0%, #c9a227 35%, #8b6914 100%);
  border: 1px solid rgba(240, 215, 140, 0.5);
  box-shadow: 0 8px 28px rgba(201, 162, 39, 0.25);
}
a.btn-vip-primary:hover {
  text-decoration: none;
  color: #1a1208;
  filter: brightness(1.05);
}

.btn-vip-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.15rem;
  border-radius: 11px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--accent);
  background: rgba(212, 168, 90, 0.08);
  border: 1px solid rgba(212, 168, 90, 0.35);
}
.btn-vip-ghost:hover {
  background: rgba(212, 168, 90, 0.15);
  color: var(--accent-bright);
  text-decoration: none;
}

.vip-img-hint {
  margin: 0 auto 1.75rem;
  max-width: 44rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(94, 200, 224, 0.2);
  background: rgba(94, 200, 224, 0.06);
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
}

.vip-toc,
.playbook-local-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  justify-content: center;
  margin: 0 0 2rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: rgba(16, 20, 18, 0.6);
}

.playbook-local-nav a,
.vip-toc a {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--stroke);
  text-decoration: none;
}
.playbook-local-nav a:hover,
.vip-toc a:hover {
  border-color: var(--accent);
  color: var(--accent-bright);
  text-decoration: none;
}

.playbook-local-nav--out {
  border-style: dashed;
  background: rgba(94, 200, 224, 0.04);
}

.vip-block {
  margin-bottom: 3.5rem;
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.vip-block-title {
  font-family: var(--font-ui);
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
  color: var(--accent-bright);
}

.vip-block-lead {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 48rem;
}

.vip-detail-list {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.vip-detail-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: linear-gradient(165deg, var(--surface) 0%, rgba(7, 9, 8, 0.92) 100%);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

@media (min-width: 720px) {
  .vip-detail-card {
    grid-template-columns: minmax(200px, 300px) 1fr;
  }
}

.vip-detail-card--featured {
  border-color: rgba(232, 196, 108, 0.45);
}

.vip-detail-media {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  background: radial-gradient(ellipse 80% 60% at 50% 30%, rgba(212, 168, 90, 0.1), transparent 60%), var(--bg-elevated);
  border-bottom: 1px solid var(--stroke);
}

@media (min-width: 720px) {
  .vip-detail-media {
    border-bottom: 0;
    border-right: 1px solid var(--stroke);
    min-height: 200px;
  }
}

.vip-detail-media img {
  width: 100%;
  height: 100%;
  max-height: 220px;
  object-fit: contain;
  display: block;
}

.vip-detail-media--empty {
  background: linear-gradient(145deg, rgba(40, 48, 44, 0.9), rgba(14, 17, 16, 0.95));
}
.vip-detail-media--empty::after {
  content: "配图未加载 · 请检查 img 目录内文件名";
  font-size: 0.78rem;
  color: var(--muted);
  padding: 1rem;
  text-align: center;
}
.vip-detail-media--empty img {
  display: none;
}

.vip-detail-body {
  padding: 1.15rem 1.25rem 1.35rem;
}

.vip-detail-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 0.65rem;
}

.vip-detail-tag {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-bright);
}

.vip-detail-lv {
  font-size: 0.88rem;
  color: var(--muted);
}

.vip-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.5rem;
  margin-bottom: 0.85rem;
  font-size: 0.92rem;
}

.vip-detail-meta em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-right: 0.35rem;
}

.vip-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.vip-spec-table th,
.vip-spec-table td {
  padding: 0.4rem 0.5rem;
  border-bottom: 1px solid rgba(42, 53, 50, 0.65);
  text-align: left;
}

.vip-spec-table th {
  width: 38%;
  color: var(--muted);
  font-weight: 650;
}

.vip-spec-table td {
  color: #c5cec9;
}

.vip-spec-table tr:last-child th,
.vip-spec-table tr:last-child td {
  border-bottom: 0;
}

.vip-detail-extra {
  margin: 1rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--stroke);
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ok);
}

.vip-embed-hint {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: var(--surface2);
  text-align: center;
}

.vip-embed-hint h2 {
  font-family: var(--font-ui);
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
}

.vip-embed-hint p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

/* 修仙 — 统一琥珀描边，去冲突紫橙 */
.xian-section {
  border-top: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(212, 168, 90, 0.04) 0%, transparent 50%);
}

/* 修仙 · 总览双入口 */
.xian-hub-page {
  padding-bottom: clamp(3rem, 8vw, 5rem);
}

.xian-hub-cards {
  display: grid;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

@media (min-width: 720px) {
  .xian-hub-cards {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

.xian-hub-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--stroke);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.xian-hub-card:hover {
  text-decoration: none;
  border-color: rgba(212, 168, 90, 0.45);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.xian-hub-card--ti {
  background: linear-gradient(165deg, rgba(212, 168, 90, 0.1), var(--surface));
}
.xian-hub-card--fa {
  background: linear-gradient(165deg, rgba(94, 200, 224, 0.08), var(--surface));
}

.xian-hub-card__icon {
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

.xian-hub-card__title {
  font-family: var(--font-ui);
  font-size: 1.45rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.xian-hub-card__desc {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--muted);
  flex: 1;
}

.xian-hub-card__go {
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  color: var(--accent-bright);
}

/* 修仙 · 分册单页（体修卡片 / 法修段位条）— 宽屏多列 + 紧凑排版 */
.xian-single-container {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.xian-single-page {
  padding-bottom: clamp(2.25rem, 5vw, 3.5rem);
}

/* 收紧上下边距；左右与 safe-area 对齐（内层 container 不再二次缩进） */
.xian-single-page.section {
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
}

.xian-single-page .page-head {
  max-width: none;
  margin-bottom: 1rem;
}

.xian-single-page .page-head .lead {
  max-width: 62rem;
}

.xian-single-page .link-rail {
  margin-bottom: 0.85rem;
}

/* 法修单页：主栏与顶栏同宽，内容区统一收进一块面板，避免「上宽下窄」 */
.xian-fa-page .xian-single-container {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.xian-fa-page .xian-fa-shell {
  width: 100%;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: linear-gradient(
    165deg,
    rgba(16, 20, 18, 0.97) 0%,
    rgba(10, 13, 11, 0.98) 55%,
    rgba(8, 11, 10, 0.99) 100%
  );
  padding: clamp(1.35rem, 2.8vw, 2rem) clamp(1.15rem, 2.2vw, 1.65rem);
  box-shadow: var(--shadow-sm);
}

.xian-fa-page .xian-fa-shell .page-head {
  margin-bottom: 1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.xian-fa-page .xian-fa-shell .page-head .lead {
  max-width: none;
}

.xian-fa-page .xian-fa-shell .link-rail--external {
  margin-bottom: 1rem;
  border-style: solid;
  border-color: rgba(94, 200, 224, 0.18);
  background: rgba(94, 200, 224, 0.06);
}

.xian-fa-page .xian-footnote {
  margin-top: 1.5rem;
  padding-top: 1rem;
}

/* 体修单页：与法修同构（顶栏同宽 + 内容壳），分册条用琥珀色以呼应体修卡片 */
.xian-ti-page .xian-single-container {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.xian-ti-page .xian-ti-shell {
  width: 100%;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: linear-gradient(
    165deg,
    rgba(22, 20, 16, 0.97) 0%,
    rgba(12, 14, 12, 0.98) 52%,
    rgba(8, 11, 10, 0.99) 100%
  );
  padding: clamp(1.35rem, 2.8vw, 2rem) clamp(1.15rem, 2.2vw, 1.65rem);
  box-shadow: var(--shadow-sm);
}

.xian-ti-page .xian-ti-shell .page-head {
  margin-bottom: 1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.xian-ti-page .xian-ti-shell .page-head .lead {
  max-width: none;
}

.xian-ti-page .xian-ti-shell .link-rail--external {
  margin-bottom: 1rem;
  border-style: solid;
  border-color: rgba(212, 168, 90, 0.22);
  background: rgba(212, 168, 90, 0.07);
}

.xian-ti-page .xian-footnote {
  margin-top: 1.5rem;
  padding-top: 1rem;
}

.xian-ti-page .xian-tier-stack {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

/* 体修分册：与法修同构的段位卡 + 标签列；表头用琥珀色呼应体修主题 */
.xian-ti-page .xian-stage-stack {
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.xian-ti-page .xian-stage__head {
  background: linear-gradient(135deg, rgba(212, 168, 90, 0.12), rgba(8, 11, 10, 0.2));
}

.xian-ti-page .xian-stage__usd-num {
  color: #e8c078;
}

.xian-ti-page .xian-stage__body .xian-reward-chips + .xian-stage__reward-h {
  margin-top: 0.85rem;
}

.xian-tier-stack,
.xian-stage-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-top: 0.25rem;
  align-items: stretch;
}

.xian-stage-stack {
  max-width: min(48rem, 100%);
  margin-left: auto;
  margin-right: auto;
}

.xian-fa-page .xian-stage-stack {
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

@media (min-width: 880px) {
  .xian-tier-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem 0.9rem;
  }
}

/* 法修段位块仅用于 cultivation-fa：单列居中，避免多列过窄导致礼包换行难读 */
@media (min-width: 880px) {
  .xian-stage-stack {
    gap: 0.85rem;
  }
}

.xian-tier {
  border-radius: var(--radius-sm);
  border: 1px solid var(--stroke);
  background: var(--bg-elevated);
  overflow: hidden;
  scroll-margin-top: calc(var(--header-h) + 12px);
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.xian-tier__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem 0.85rem;
  padding: 0.65rem 0.9rem 0.55rem;
  border-bottom: 1px solid var(--stroke);
  background: linear-gradient(135deg, rgba(212, 168, 90, 0.12), rgba(8, 11, 10, 0.2));
}

.xian-tier__lv {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent-bright);
}

.xian-tier__realm {
  margin: 0;
  font-family: var(--font-ui);
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.xian-tier__dl {
  margin: 0;
  padding: 0 0.9rem 0.65rem;
  flex: 1;
}

.xian-tier__block {
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.xian-tier__block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.xian-tier__block dt {
  margin: 0 0 0.28rem;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}

.xian-tier__block dd {
  margin: 0;
}

.xian-prose {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.52;
  color: #b4bfb8;
  word-break: break-word;
}

.xian-stage {
  border-radius: var(--radius-sm);
  border: 1px solid var(--stroke);
  background: var(--bg-elevated);
  overflow: hidden;
  scroll-margin-top: calc(var(--header-h) + 12px);
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.xian-stage__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 0.75rem;
  padding: 0.6rem 0.9rem;
  border-bottom: 1px solid var(--stroke);
  background: linear-gradient(135deg, rgba(94, 200, 224, 0.1), rgba(8, 11, 10, 0.15));
}

.xian-stage__name {
  margin: 0;
  font-family: var(--font-ui);
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  font-weight: 800;
}

.xian-stage__usd {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.xian-stage__usd-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.xian-stage__usd-num {
  font-family: var(--font-mono);
  font-size: clamp(0.92rem, 1.4vw, 1.05rem);
  font-weight: 800;
  color: var(--cyan);
}

.xian-stage__body {
  padding: 0.65rem 1rem 0.9rem;
  flex: 1;
}

.xian-stage__reward-h {
  margin: 0 0 0.55rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.xian-reward-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
  align-items: flex-start;
}

.xian-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.6rem;
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #c8d2cc;
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.09);
  max-width: 100%;
  word-break: break-word;
}

.xian-footnote {
  margin: 1.35rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: none;
}

.xian-path-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .xian-path-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
  }
}

.xian-path {
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(145deg, rgba(212, 168, 90, 0.45), rgba(94, 200, 224, 0.25));
  box-shadow: var(--shadow-sm);
}

.xian-path-inner {
  border-radius: 19px;
  background: var(--bg-page);
}

.xian-path-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.35rem 1rem;
  border-bottom: 1px solid var(--stroke);
}

.xian-path-title {
  font-family: var(--font-ui);
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0.25rem 0 0;
}

.xian-path-sub {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}

.xian-badge-path {
  flex-shrink: 0;
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--accent-bright), #9a7228);
}

.xian-ladder {
  list-style: none;
  margin: 0;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.xian-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: var(--surface);
}

.xian-step-rank {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-bright);
  padding: 0.45rem 0.5rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(212, 168, 90, 0.25);
  text-align: center;
  min-width: 3.2rem;
}

.xian-step-body h4 {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
}

.xian-step-body p {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
  color: #a8b4ad;
  line-height: 1.5;
}

.xian-path-inner .table-shell {
  margin-top: 0;
  border-radius: 0;
  border: none;
  border-top: 1px solid var(--stroke);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.xian-path-inner .table-shell table {
  min-width: 100%;
}

.xian-data-table td {
  vertical-align: top;
  font-size: 0.84rem;
  line-height: 1.55;
  color: #b0bbb4;
}

.xian-data-table th {
  white-space: nowrap;
}

.xian-data-table .xian-col--rank {
  font-weight: 800;
  color: var(--accent-bright);
  white-space: nowrap;
  width: 1%;
}

.xian-data-table .xian-col--usd {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--cyan);
  white-space: nowrap;
}

.xian-data-table .xian-col--long {
  min-width: 12rem;
  max-width: 28rem;
}

.xian-data-table .xian-realm {
  font-weight: 750;
  color: var(--text);
}

.xian-data-table--wide {
  min-width: 880px;
}

@media (max-width: 640px) {
  .xian-data-table td,
  .xian-data-table th {
    padding: 0.6rem 0.65rem;
    font-size: 0.8rem;
  }
}

/* 社群卡片 */
.card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.info-card {
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--stroke);
}

.info-card h3 {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 750;
  margin: 0 0 0.65rem;
  color: var(--accent-bright);
}

.info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.info-card-note {
  margin-top: 0.75rem !important;
  font-size: 0.85rem;
  line-height: 1.5;
}

.btn-copy {
  margin-top: 0.65rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  font-family: var(--font-body);
  border: 1px solid var(--stroke);
  border-radius: 8px;
  background: var(--bg-elevated);
  color: var(--text);
  cursor: pointer;
}
.btn-copy:hover {
  border-color: var(--accent);
  color: var(--accent-bright);
}

.btn-copy.is-done {
  border-color: var(--ok);
  color: var(--ok);
}

/* 占位 */
.placeholder-card {
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  border: 1px dashed rgba(139, 150, 144, 0.4);
  background: rgba(20, 26, 23, 0.4);
  text-align: center;
}

.badge-soon {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  color: var(--accent);
  border: 1px solid rgba(212, 168, 90, 0.35);
  margin-bottom: 0.75rem;
}

/* Legal */
.legal-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .legal-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.legal-block h3 {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0 0 0.6rem;
  color: var(--accent-bright);
}

.legal-block p,
.legal-block li {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
}

.legal-block ul {
  margin: 0;
  padding-left: 1.1rem;
}

.footer-copy {
  margin-top: 2rem !important;
  padding-top: 1.25rem;
  border-top: 1px solid var(--stroke);
  text-align: center;
  font-size: 0.88rem !important;
  color: var(--muted) !important;
}

/* 页脚 */
.site-footer {
  padding: 2.5rem 1.25rem;
  border-top: 1px solid var(--stroke);
  background: rgba(5, 7, 6, 0.95);
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.site-footer p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
  text-align: center;
}

/* 兼容旧类名（子页逐步弃用） */
.page-hero {
  padding-top: 0.5rem;
  padding-bottom: 0.25rem;
}

.section-head {
  margin-bottom: 2rem;
}

.container-playbook {
  max-width: min(1080px, 100%);
}

.container-playbook.narrow {
  max-width: min(920px, 100%);
}
