/* 资料中心 — 与「开荒攻略」一致的透明风格 */
.rs-shell { display: grid; grid-template-columns: 300px 1fr; gap: 34px; align-items: start; min-height: 70vh; margin-top: 24px; margin-bottom: 40px; }

/* 左侧导航栏 — 透明风格（对齐 journey 的 constellation） */
.rs-sidebar { position: sticky; top: 88px; max-height: calc(100vh - 110px); }

.rs-tree { max-height: calc(100vh - 110px); overflow-y: auto; padding-right: 6px; scrollbar-width: thin; scrollbar-color: rgba(232, 193, 109, .35) transparent; }
.rs-tree::-webkit-scrollbar { width: 6px; }
.rs-tree::-webkit-scrollbar-track { background: transparent; }
.rs-tree::-webkit-scrollbar-thumb { background: rgba(232, 193, 109, .28); border-radius: 3px; }
.rs-tree::-webkit-scrollbar-thumb:hover { background: rgba(232, 193, 109, .5); }

/* 分组标题 — 章节标题风格 */
.rs-group { margin-bottom: 18px; }
.rs-group summary { display: flex; align-items: baseline; gap: 8px; padding: 0; cursor: pointer; list-style: none; user-select: none; margin-bottom: 6px; }
.rs-group summary::-webkit-details-marker { display: none; }
.rs-group summary:hover b { color: #fff; }
.rs-icon { width: auto; font-size: 15px; }
.rs-group summary b { font-size: 14px; letter-spacing: .5px; color: var(--text); font-weight: 800; }
.rs-group summary i { color: var(--faint); font-style: normal; font-size: 11px; transition: transform .25s; margin-left: auto; }
.rs-group[open] summary i { transform: rotate(180deg); }

/* 子项 — 圆点风格（对齐 constellation） */
.rs-links { padding: 0 0 0 7px; }
.rs-links a { display: flex; align-items: center; gap: 12px; padding: 6px 0 6px 0; margin-left: -7px; color: var(--muted); font-size: 14.5px; text-decoration: none; transition: all .15s; }
.rs-links a:hover { color: #fff; }
.rs-links a span { flex: none; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--faint); font-size: 0; display: inline-block; transition: all .25s; }
.rs-links a:hover span { border-color: var(--gold); }
.rs-links a em { font-style: normal; flex: 1; }

/* 右侧内容区 */
.rs-content { min-width: 0; }

.rs-hero { padding: 0 0 40px; }
.rs-eyebrow { display: block; font-size: 11px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.rs-hero h1 { font-family: var(--title); font-weight: 400; font-size: clamp(34px, 4.5vw, 54px); line-height: 1.05; margin: 0 0 16px; color: #fff; }
.rs-hero h1 em { font-style: normal; color: var(--gold); }
.rs-hero-copy > p { color: var(--muted); font-size: 15px; max-width: 560px; margin: 0 0 24px; line-height: 1.7; }
.rs-hero-actions { display: flex; gap: 12px; margin-bottom: 28px; flex-wrap: wrap; }
.rs-hero-actions a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 10px; background: var(--gold); color: #0c0709; font-weight: 700; font-size: 13px; text-decoration: none; transition: transform .15s, box-shadow .2s; }
.rs-hero-actions a:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(232,193,109,.25); }
.rs-hero-actions a.is-ghost { background: transparent; border: 1px solid var(--gold); color: var(--gold); }
.rs-hero-actions a.is-ghost:hover { background: rgba(232,193,109,.1); box-shadow: none; }

.rs-hero-stats { display: flex; gap: 20px; }
.rs-hero-stats article { display: flex; align-items: center; gap: 10px; }
.rs-hero-stats i { font-style: normal; font-size: 20px; }
.rs-hero-stats b { display: block; font-family: var(--title); font-weight: 400; font-size: 17px; color: #fff; line-height: 1.1; }
.rs-hero-stats small { color: var(--faint); font-size: 11px; }

.rs-highlight { display: block; padding: 18px 22px; margin-bottom: 40px; border: 1px solid rgba(232,193,109,.35); border-radius: 12px; background: linear-gradient(110deg, rgba(232,193,109,.08), rgba(194,80,143,.06)); text-decoration: none; }
.rs-highlight strong { display: block; font-size: 18px; color: var(--gold); margin-bottom: 4px; }
.rs-highlight span { color: var(--muted); font-size: 13px; }

.rs-info { padding: 0; }
.rs-section-title span { display: inline-block; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.rs-section-title h2 { font-family: var(--title); font-weight: 400; font-size: 28px; color: #fff; margin: 0 0 8px; }
.rs-section-title p { color: var(--muted); font-size: 14px; margin: 0 0 24px; }

.rs-info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 14px; }
.rs-info-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; transition: border-color .2s, transform .2s; }
.rs-info-card:hover { border-color: rgba(232,193,109,.45); transform: translateY(-2px); }
.rs-info-card b { display: block; font-size: 15px; color: #fff; margin-bottom: 8px; }
.rs-info-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

/* 响应式 */
@media (max-width: 900px) {
  .rs-shell { grid-template-columns: 1fr; }
  .rs-sidebar { position: static; max-height: none; }
  .rs-tree { max-height: 40vh; }
  .rs-hero, .rs-info { padding: 0; }
}
