/* 第三阶段新副本介绍页（guide-siling.html 伊甸黄昏 / guide-qihei.html 双王逆影）主题与养成扩展样式。
   复用 guide-p2dungeon.css 与 guide-p2walk.css 底座；严格遵守 CSP（零内联样式）。 */

.nd-siling {
  --nd-main: #b86e18;
  --nd-deep: #6e3d0a;
  --nd-accent: #5fe0b4;
  --nd-glow: #ffd470;
  --nd-ink: #2b241d;
  --nd-line: #e5d5bc;
  --nd-paper: #fffcf5;
  --nd-soft: #f9f0df;
  --nd-hero-a: #181326;
  --nd-hero-b: #38253e;
  --nd-hero-c: #6e4514;
  --nd-glow-soft: rgba(255, 212, 112, .44);
  --nd-p2: #985812;
  --nd-p3: #78420b;
  --nd-p4: #562d06;
}

.nd-qihei {
  --nd-main: #6340a8;
  --nd-deep: #39206b;
  --nd-accent: #7be8ff;
  --nd-glow: #d8b4ff;
  --nd-ink: #241f2e;
  --nd-line: #d8cee8;
  --nd-paper: #fcfaff;
  --nd-soft: #f1ebf9;
  --nd-hero-a: #110d1e;
  --nd-hero-b: #261b47;
  --nd-hero-c: #4b2978;
  --nd-glow-soft: rgba(196, 152, 255, .44);
  --nd-p2: #51328c;
  --nd-p3: #3e2470;
  --nd-p4: #2b1850;
}

.nd-siling .nd-diff header {
  background: linear-gradient(135deg, #4b6b58, #7aa082);
}
.nd-siling .nd-diff article.is-hard header {
  background: linear-gradient(135deg, #2b1824, #8c3c1e 60%, #d98a1e);
}

.nd-qihei .nd-diff header {
  background: linear-gradient(135deg, #4a5168, #75809e);
}
.nd-qihei .nd-diff article.is-hard header {
  background: linear-gradient(135deg, #18102b, #5b288e 58%, #b83b72);
}

/* 楼层头图高度适中 */
.nd-siling .nd-floor-head img,
.nd-qihei .nd-floor-head img {
  height: 220px;
  object-fit: cover;
}

/* 首领立绘（高清派生精灵平滑展示） */
.nd-siling .nd-boss-art img,
.nd-qihei .nd-boss-art img {
  image-rendering: auto;
  max-height: 156px;
}

/* 称号横幅展示框 */
.nd-title-board {
  margin: 12px 0 6px;
  padding: 12px;
  background: #191422;
  border: 2px solid var(--nd-line);
  border-radius: var(--radius-md);
  text-align: center;
}
.nd-title-board img {
  display: block;
  width: min(100%, 860px);
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
}
.nd-title-board figcaption {
  margin-top: 8px;
  color: #dcd4ea;
  font-size: 12.5px;
}

/* 远古圣坛 · 宠物血脉进化展示网格 */
.nd-evo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}
.nd-evo-card {
  display: grid;
  grid-template-columns: 144px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  background: #fff;
  border: 2px solid var(--nd-line);
  border-radius: var(--radius-md);
}
.nd-evo-stage {
  display: grid;
  place-items: center;
  height: 144px;
  padding: 8px;
  background:
    radial-gradient(circle at 50% 62%, rgba(255, 224, 150, .24), transparent 68%),
    linear-gradient(165deg, #1b1626, #2d2340);
  border: 1.5px solid rgba(255, 255, 255, .2);
  border-radius: 12px;
}
.nd-qihei .nd-evo-stage {
  background:
    radial-gradient(circle at 50% 62%, rgba(154, 198, 255, .24), transparent 68%),
    linear-gradient(165deg, #141022, #291d46);
}
.nd-evo-stage img {
  max-width: 128px;
  max-height: 128px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45));
}
.nd-evo-body h4 {
  margin: 0 0 4px;
  color: var(--nd-deep);
  font-family: var(--font-title);
  font-size: 19px;
}
.nd-evo-origin {
  display: inline-block;
  margin: 0 0 6px;
  padding: 1px 9px;
  color: var(--nd-deep);
  background: var(--nd-soft);
  border: 1px solid var(--nd-line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}
.nd-evo-body p {
  margin: 4px 0;
  font-size: 13.2px;
  line-height: 1.7;
}
.nd-evo-body ul {
  margin: 6px 0 0;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.7;
}

/* 神兵升阶三阶展示卡 */
.nd-god-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}
.nd-god-card {
  padding: 14px 16px;
  background: #fff;
  border: 2px solid var(--nd-line);
  border-radius: var(--radius-md);
}
.nd-god-card.is-wide {
  grid-column: 1 / -1;
}
.nd-god-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.nd-god-top h4 {
  margin: 0;
  color: var(--nd-deep);
  font-family: var(--font-title);
  font-size: 19px;
}
.nd-god-role {
  padding: 2px 10px;
  color: #fff;
  background: var(--nd-main);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}
.nd-god-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  margin: 6px 0 8px;
  background: #181322;
  border-radius: 10px;
}
.nd-god-strip img {
  max-width: 100%;
  height: auto;
}
.nd-glove-trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}
.nd-glove-cell {
  padding: 8px 6px;
  text-align: center;
  background: #251d34;
  border: 1.5px solid rgba(190, 150, 255, .45);
  border-radius: 10px;
  color: #f3ecff;
  font-size: 12px;
}
.nd-glove-cell.is-legend {
  background: #2f2014;
  border-color: rgba(255, 174, 76, .6);
  color: #ffe6c2;
}
.nd-glove-cell.is-godking {
  background: #33141a;
  border-color: rgba(255, 92, 104, .68);
  color: #ffd6da;
}
.nd-glove-cell img {
  display: block;
  width: 76px;
  height: 76px;
  margin: 0 auto 4px;
  object-fit: contain;
}
.nd-glove-cell b {
  display: block;
  font-size: 13px;
}

/* 苦行誓约与灵脉采集亮点卡 */
.nd-highlight-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0;
}
.nd-hl-card {
  padding: 12px 14px;
  background: #fff;
  border: 2px solid var(--nd-line);
  border-radius: var(--radius-md);
}
.nd-hl-card b {
  display: block;
  margin-bottom: 4px;
  color: var(--nd-deep);
  font-size: 15px;
}
.nd-hl-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
}

/* 道具小图标圆润适配 */
.nd-loot img.is-p3icon,
.nd-shop img.is-p3icon {
  border-radius: 6px;
}

@media (max-width: 860px) {
  .nd-evo-grid,
  .nd-god-grid,
  .nd-highlight-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .nd-evo-card {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .nd-evo-stage {
    height: 128px;
  }
}

/* 掉落表、使者兑换总表与神兵三阶品质高亮 */
.nd-item-cell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  white-space: nowrap;
}
.nd-item-cell img {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: contain;
  background: rgba(24, 19, 34, .06);
}
.nd-badge-bind,
.nd-badge-trade {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  vertical-align: middle;
  white-space: nowrap;
}
.nd-badge-bind {
  color: #8a4212;
  background: #fdebd2;
  border: 1px solid #f0c48c;
}
.nd-badge-trade {
  color: #146c43;
  background: #dcfce7;
  border: 1px solid #86efac;
}
.nd-tier-epic {
  color: #7c3aed;
  font-weight: 800;
}
.nd-tier-legend {
  color: #c25e00;
  font-weight: 800;
}
.nd-tier-godking {
  color: #c81e3a;
  font-weight: 800;
}
.nd-subnote {
  margin: 8px 0 0;
  color: #5b5266;
  font-size: 12.8px;
  line-height: 1.7;
}

/* ---------- 宠物专属技能详解与 PVE / PVP 对照样式 (2026-11-23) ---------- */
.nd-pve-pvp-box {
  margin: 18px 0 14px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #f6fdf9, #f7f4ff);
  border: 1.5px solid #cbd5e1;
  border-left: 5px solid #15803d;
  border-radius: 12px;
  font-size: 13.8px;
  line-height: 1.72;
}
.nd-pve-pvp-box strong {
  color: #1e293b;
}
.nd-target-pill {
  display: inline-block;
  margin-top: 3px;
  padding: 1px 8px;
  color: #334155;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}
.nd-target-pill.is-sure {
  color: #7c2d12;
  background: #ffedd5;
  border-color: #fdba74;
}
.nd-pve {
  color: #15803d;
  font-weight: 800;
}
.nd-pvp {
  color: #9333ea;
  font-weight: 800;
}
.nd-same-pill {
  display: inline-block;
  padding: 1px 8px;
  color: #0369a1;
  background: #e0f2fe;
  border: 1px solid #7dd3fc;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}
.nd-table-wrap {
  width: 100%;
  overflow-x: auto;
}
.nd-skill-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 13px;
}
.nd-skill-table th,
.nd-skill-table td {
  padding: 9px 10px;
  vertical-align: middle;
  line-height: 1.58;
  white-space: normal;
  word-break: break-word;
}
.nd-skill-table th:nth-child(1),
.nd-skill-table td:nth-child(1) {
  width: 15%;
}
.nd-skill-table th:nth-child(2),
.nd-skill-table td:nth-child(2) {
  width: 15%;
}
.nd-skill-table th:nth-child(3),
.nd-skill-table td:nth-child(3) {
  width: 28%;
}
.nd-skill-table th:nth-child(4),
.nd-skill-table td:nth-child(4) {
  width: 21%;
}
.nd-skill-table td:nth-child(4) {
  background: rgba(21, 128, 61, .04);
}
.nd-skill-table th:nth-child(5),
.nd-skill-table td:nth-child(5) {
  width: 21%;
}
.nd-skill-table td:nth-child(5) {
  background: rgba(147, 51, 234, .04);
}
@media (max-width: 820px) {
  .nd-skill-table {
    min-width: 780px;
  }
}

