/* theme-261017-card — 角色详情 viewer 壳对齐偏白 261017
 * 不改 viewer.js / card-config；只覆盖色板与边框气质。
 * 详情模板原稿偏金，按调度：对照列表/入坑/配队视觉语言统一奶油白强调。
 */
html[data-theme="261017"] {
  --gold: #f5f1e8;
  --gold-soft: #e8e0d0;
  --gold-dim: #8f8570;
  --gold-faint: rgba(245, 241, 232, 0.16);
  --gold-line: rgba(245, 241, 232, 0.18);
  --cream: #f5f1e8;
  --cream-2: #f0ebe0;
  --cream-3: #d4d4d8;
  --cream-4: #a1a1aa;
  --cream-5: #71717a;
  --line: rgba(255, 255, 255, 0.09);
  --red: #f5f1e8;
}
html[data-theme="261017"] body {
  background: #000 !important;
  color: var(--cream);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}
html[data-theme="261017"] ::selection {
  background: #f5f1e8;
  color: #000;
}
html[data-theme="261017"] .backbtn,
html[data-theme="261017"] .paneback {
  background: rgba(0, 0, 0, 0.65);
  color: var(--cream);
  border: 1px solid rgba(245, 241, 232, 0.35);
  backdrop-filter: blur(12px);
}
html[data-theme="261017"] .backbtn:hover,
html[data-theme="261017"] .paneback:hover {
  border-color: #f5f1e8;
  color: #fff;
  box-shadow: 0 0 14px rgba(245, 241, 232, 0.25);
}
html[data-theme="261017"] .guide,
html[data-theme="261017"] .dossier,
html[data-theme="261017"] .archives,
html[data-theme="261017"] .panel {
  background: linear-gradient(168deg, rgba(24, 24, 27, 0.45) 0%, rgba(0, 0, 0, 0.62) 100%) !important;
  border-color: rgba(245, 241, 232, 0.16) !important;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.4);
}
html[data-theme="261017"] .gtag,
html[data-theme="261017"] .gtab.on {
  color: var(--cream);
  border-color: rgba(245, 241, 232, 0.35);
}
html[data-theme="261017"] .gtab.on {
  border-bottom-color: #f5f1e8;
}
html[data-theme="261017"] .gh2,
html[data-theme="261017"] .clink,
html[data-theme="261017"] .rlv,
html[data-theme="261017"] .tlab {
  color: var(--cream);
}
html[data-theme="261017"] .clink {
  border-bottom-color: rgba(245, 241, 232, 0.45);
}
html[data-theme="261017"] .topline .tit {
  color: #fff;
}
html[data-theme="261017"] .lu-i img.lu-p {
  border-color: rgba(245, 241, 232, 0.18);
  background: linear-gradient(180deg, rgba(245, 241, 232, 0.07), rgba(245, 241, 232, 0.015));
}


/* gtabs sticky：贴顶与 .guide 内容框顶齐平无缝（抵消 padding 18/20）；毛玻璃对齐 tocbar */
html[data-theme="261017"] .gtabs {
  position: sticky;
  top: -18px; /* .guide padding-top:18px → 贴边框顶，上方不漏后层 */
  z-index: 6;
  margin: 0 -20px 12px; /* 横向吃掉 padding，条满宽贴左右内框 */
  padding: 18px 20px 10px; /* 顶部垫回，未 sticky 时与 g-head 间距仍自然 */
  border-bottom: 1px solid rgba(245, 241, 232, 0.16);
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}
@media (max-width: 1100px) {
  html[data-theme="261017"] .gtabs {
    top: -52px; /* 窄屏 .guide padding:52px 14px 84px */
    margin-left: -14px;
    margin-right: -14px;
    padding: 14px 14px 8px;
  }
}

/* 右侧 guide 正文统一 15px 口径（偏小抬齐；脚注/徽标等超小标签不动） */
html[data-theme="261017"] .guide .gline,
html[data-theme="261017"] .guide .gh2,
html[data-theme="261017"] .guide .awt,
html[data-theme="261017"] .guide .awd,
html[data-theme="261017"] .guide .rd,
html[data-theme="261017"] .guide .prio,
html[data-theme="261017"] .guide .trow,
html[data-theme="261017"] .guide .tname,
html[data-theme="261017"] .guide .gtp,
html[data-theme="261017"] .guide .gcap,
html[data-theme="261017"] .guide .sig-text,
html[data-theme="261017"] .guide .sig-lv,
html[data-theme="261017"] .guide .sig-main .sig-maink,
html[data-theme="261017"] .guide .abinner,
html[data-theme="261017"] .guide .lu-note,
html[data-theme="261017"] .guide .arc .nm,
html[data-theme="261017"] .guide .rlv {
  font-size: 15px;
}
