/* 道具栏 75 格 · 宠物栏 15 只扩容专题页（guide-bag75.html）专属样式；
   分节、卡片、目录等共用版式来自 guide-dungeon.css。
   CSP 禁止内联样式，所有视觉都写在这里。 */

/* ===== 页头：森绿琥珀金 ===== */
.bag-page .bag-hero {
  background:
    radial-gradient(circle at 84% 48%, rgba(255, 208, 96, .42), transparent 44%),
    radial-gradient(rgba(255, 248, 225, .14) 1.4px, transparent 2px) 0 0 / 24px 24px,
    linear-gradient(148deg, #163a2c 0%, #1f5c43 52%, #2f7d58 100%);
}
.bag-page .bag-hero::after {
  background: linear-gradient(90deg, #ffcf4a, #5ad1a0, #3b9cf3, #f08a38, #ffcf4a);
}
.bag-page .dg-hero h1 {
  text-shadow: 0 3px 0 #102a20, 0 0 22px rgba(130, 240, 190, .55);
}
.bag-page .dg-eyebrow { color: #ffe08a; }
.bag-page .dg-lead { color: #ffd978; }
.bag-page .dg-intro { color: #eafff4; }

/* 页头右侧微缩背包/宠物栏视觉示意图 */
.bag-hero-visual {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 14px 16px;
  background: rgba(12, 34, 25, .58);
  border: 1.5px solid rgba(255, 224, 138, .42);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .28);
}
.bag-hero-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 11px;
}
.bag-hero-card-title {
  color: #fff6dc;
  font-size: 13px;
  font-weight: 800;
}
.bag-hero-card-sub {
  display: block;
  margin-top: 2px;
  color: #a9ebd0;
  font-size: 11.5px;
  font-weight: 700;
}
.bag-hero-pills {
  display: flex;
  gap: 4px;
}
.bag-pill {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  border-radius: 7px;
  font-size: 11.5px;
  font-weight: 900;
  color: #fff;
}
.bag-pill-base {
  background: linear-gradient(160deg, #5ad1a0, #23885a);
  box-shadow: 0 2px 0 #145336;
}
.bag-pill-free {
  background: linear-gradient(160deg, #4db2ff, #2276c9);
  box-shadow: 0 2px 0 #154c85;
}
.bag-pill-fame {
  background: linear-gradient(160deg, #b684f5, #7b42c8);
  box-shadow: 0 2px 0 #4d2582;
}
.bag-pill-vip {
  background: linear-gradient(160deg, #ffc658, #d47b14);
  box-shadow: 0 2px 0 #8f4f06;
}

/* 本页主色调覆盖 */
.bag-page .dg-toc a { color: #1b5c43; }
.bag-page .dg-toc a:hover,
.bag-page .dg-toc a.is-active {
  color: #fff;
  background: #237a57;
  border-color: #237a57;
}
.bag-page .dg-section > h2 { color: #174d38; }
.bag-page .dg-no {
  background: linear-gradient(160deg, #43b584, #1f7452);
  box-shadow: 0 3px 0 #134631;
}
.bag-page .dg-section h3 {
  color: #1b5c43;
  border-left-color: #43b584;
}
.bag-page .dg-section strong { color: #16593f; }
.bag-page .dg-check li::before { color: #248a61; }
.bag-page .dg-main a { color: #1c6b4c; }
.bag-page .dg-section summary { color: #1b5c43; }
.bag-page .dg-footer a { color: #1b5c43; }

/* ===== 页签可视化档位图 ===== */
.bag-tier-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 14px;
}
.bag-tier-board-pet {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.bag-tier-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px 13px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbf9 100%);
  border: 2px solid #cfe6dc;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(20, 65, 45, .05);
}
.bag-tier-card.is-free {
  background: linear-gradient(180deg, #f2faff 0%, #e7f4ff 100%);
  border-color: #98ccf5;
}
.bag-tier-card.is-fame {
  background: linear-gradient(180deg, #faf5ff 0%, #f2e8ff 100%);
  border-color: #cbaef0;
}
.bag-tier-card.is-vip {
  background: linear-gradient(180deg, #fffdf5 0%, #fff4db 100%);
  border-color: #f0ca7d;
}
.bag-tier-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 6px;
}
.bag-tier-page {
  font-size: 14px;
  font-weight: 900;
  color: #174d38;
}
.bag-tier-badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
}
.badge-open { background: #23885a; }
.badge-free { background: #2276c9; }
.badge-fame { background: #7b42c8; }
.badge-vip { background: #d47b14; }
.bag-tier-slots {
  font-size: 15px;
  font-weight: 900;
  color: #1e352b;
  margin: 2px 0 6px;
}
.bag-tier-desc {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: #465a50;
}

/* ===== 扩容规则与价格表格 ===== */
.bag-table {
  width: 100%;
  margin: 10px 0 14px;
  border-collapse: collapse;
  font-size: 13.5px;
}
.bag-table th,
.bag-table td {
  padding: 9px 10px;
  text-align: center;
  vertical-align: middle;
  border: 1px solid #d5e8df;
}
.bag-table th {
  color: #174d38;
  background: #eaf6f0;
  font-weight: 800;
}
.bag-table td:first-child {
  color: #174d38;
  font-weight: 800;
  white-space: nowrap;
}
.bag-table td.td-left {
  text-align: left;
}
.bag-table tr:nth-child(even) td {
  background: #fbfdfc;
}

/* ===== 操作步骤与亮点横排 ===== */
.bag-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}
.bag-step {
  padding: 12px 14px;
  background: linear-gradient(145deg, #f3fbf7, #fff9ec);
  border: 1.5px solid #cde5d9;
  border-radius: 12px;
}
.bag-step b {
  display: block;
  margin-bottom: 4px;
  color: #174d38;
  font-size: 14px;
}
.bag-step span {
  display: block;
  color: #485b52;
  font-size: 13px;
  line-height: 1.55;
}

/* 响应式适配 */
@media (max-width: 860px) {
  .bag-tier-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bag-tier-board-pet,
  .bag-steps {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .bag-tier-board {
    grid-template-columns: 1fr;
  }
}
