/* 副本玩法介绍页（guide-dungeon.html）专属样式。
   底座 styles.css 提供色板、顶栏与天空背景；本文件只做副本页的火山主题与版式。
   CSP 禁止内联样式，所有视觉都写在这里。 */
.dg-page {
  --lava: #e2481b;
  --lava-deep: #9c2310;
  --ember: #ffb03a;
  --ash: #3b2620;
  --dg-ink: #3a2a20;
  --dg-line: #ecd9c0;
  --dg-paper: #fffaf1;
  --dg-warm: #fff3e2;
  min-width: 0;
}
.dg-main { width: min(100% - 32px, 1120px); padding-top: 18px; color: var(--dg-ink); }
.dg-main a { color: var(--lava-deep); text-underline-offset: 3px; }
.dg-main a:focus-visible, .dg-main summary:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; }

/* ===== 页头：熔岩夜空 ===== */
.dg-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 38px;
  overflow: hidden;
  color: #fff6e6;
  border: 3px solid #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-hard);
  background:
    radial-gradient(circle at 82% 110%, rgba(255, 140, 40, .75), transparent 46%),
    radial-gradient(circle at 12% -20%, rgba(255, 90, 30, .35), transparent 50%),
    radial-gradient(rgba(255, 210, 150, .12) 1.4px, transparent 2px) 0 0 / 24px 24px,
    linear-gradient(160deg, #3a1610 0%, #6d1d0f 48%, #b2340f 100%);
}
.dg-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10px;
  background: linear-gradient(90deg, #ff6a1a, #ffcf4a, #ff6a1a);
  opacity: .85;
}
.dg-eyebrow { margin: 0 0 10px; color: var(--ember); font-size: 12px; font-weight: 800; letter-spacing: 3px; }
.dg-hero h1 {
  margin: 0;
  color: #fff;
  font-family: var(--font-title);
  font-size: clamp(38px, 6vw, 60px);
  line-height: 1.15;
  letter-spacing: 6px;
  text-shadow: 0 3px 0 #7a1c0a, 0 0 22px rgba(255, 120, 40, .65);
}
.dg-lead { margin: 12px 0 8px; color: #ffd88a; font-size: 21px; font-weight: 800; }
.dg-intro { margin: 0 0 18px; color: #ffe9d2; line-height: 1.85; }
.dg-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.dg-hero-tags li {
  padding: 4px 12px;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border: 1.5px solid rgba(255, 210, 150, .55);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
}
.dg-hero-art {
  position: relative;
  flex: 0 0 210px;
  margin: 0;
  padding: 14px 10px 12px;
  text-align: center;
  background: radial-gradient(circle at 50% 60%, rgba(255, 160, 60, .55), rgba(120, 30, 10, .2) 65%, transparent 72%);
  border-radius: 50%;
}
.dg-hero-art img { width: 135px; height: auto; image-rendering: pixelated; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45)); }
.dg-hero-art figcaption { margin-top: 4px; color: #ffd88a; font-size: 12px; font-weight: 800; letter-spacing: 1px; }
.dg-ember {
  position: absolute;
  width: 7px;
  height: 7px;
  background: #ffcf4a;
  border-radius: 50%;
  box-shadow: 0 0 10px 3px rgba(255, 140, 40, .8);
  animation: dg-rise 4.5s ease-in infinite;
}
.dg-ember-1 { left: 22%; bottom: 10%; }
.dg-ember-2 { left: 70%; bottom: 4%; animation-delay: 1.6s; }
.dg-ember-3 { left: 46%; bottom: 0; animation-delay: 3s; width: 5px; height: 5px; }
@keyframes dg-rise {
  0% { transform: translateY(0); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translateY(-170px) translateX(12px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .dg-ember { animation: none; opacity: 0; } }

/* ===== 提示条与目录 ===== */
.dg-notice {
  margin: 16px 0 0;
  padding: 11px 16px;
  background: #fff4dc;
  border: 2px solid #ffd58a;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  line-height: 1.8;
}
.dg-toc {
  position: sticky;
  top: 8px;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 0;
  padding: 10px 12px;
  background: rgba(255, 250, 241, .96);
  border: 2px solid var(--dg-line);
  border-radius: var(--radius-md);
  box-shadow: 0 6px 16px -10px rgba(90, 40, 10, .4);
}
.dg-toc a {
  padding: 4px 11px;
  color: var(--lava-deep);
  background: #fff;
  border: 1.5px solid var(--dg-line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.dg-toc a:hover, .dg-toc a.is-active { color: #fff; background: var(--lava); border-color: var(--lava); }

/* ===== 分节 ===== */
.dg-section {
  margin-top: 22px;
  padding: 24px 28px 26px;
  background: var(--dg-paper);
  border: 3px solid #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-hard);
  scroll-margin-top: 80px;
  font-size: 14px;
  line-height: 1.85;
}
.dg-section > h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  color: var(--lava-deep);
  font-family: var(--font-title);
  font-size: 26px;
  letter-spacing: 2px;
}
.dg-no {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  color: #fff;
  background: linear-gradient(160deg, #ff8a3a, var(--lava));
  border-radius: 12px;
  box-shadow: 0 3px 0 var(--lava-deep);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
}
.dg-section h3 {
  margin: 20px 0 8px;
  padding-left: 11px;
  color: #7a2c12;
  border-left: 5px solid var(--ember);
  font-family: var(--font-title);
  font-size: 19px;
  letter-spacing: 1px;
}
.dg-section p { margin: 6px 0; }
.dg-section ul, .dg-section ol { margin: 6px 0; padding-left: 22px; }
.dg-section li { margin: 3px 0; }
.dg-section strong { color: #a3290d; }
.dg-fine { color: #7a6553; font-size: 12.5px; }

.dg-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 6px 0 14px; overflow: hidden; border: 2px solid var(--dg-line); border-radius: var(--radius-md); background: var(--dg-warm); }
.dg-facts > div { padding: 14px 12px; text-align: center; }
.dg-facts > div + div { border-left: 2px solid var(--dg-line); }
.dg-facts strong { display: block; color: var(--lava); font-size: 20px; }
.dg-facts span { display: block; color: #6b5442; font-size: 12.5px; line-height: 1.6; }

.dg-check { list-style: none; padding-left: 0 !important; }
.dg-check li { position: relative; padding-left: 22px; }
.dg-check li::before { content: "◆"; position: absolute; left: 2px; top: 0; color: var(--lava); font-size: 11px; line-height: 2.4; }
.dg-steps li::marker { color: var(--lava); font-weight: 900; }

/* ===== 卡片网格 ===== */
.dg-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 10px 0; }
.dg-box { padding: 4px 18px 14px; background: #fff; border: 2px solid var(--dg-line); border-radius: var(--radius-md); }
.dg-box h3 { margin-top: 14px; }
.dg-box ul { padding-left: 18px; }
.dg-box-hot { background: #fff4ea; border-color: #ffc59a; }
.dg-box-safe { background: #f0f8ec; border-color: #c4e2b6; }
.dg-box-safe h3 { color: #2d6b34; border-left-color: #6cc23c; }
.dg-box-guard { background: #f2f4fb; border-color: #c9d1ef; }
.dg-box-guard h3 { color: #34407a; border-left-color: #6b7fe0; }

/* ===== 副本道具 ===== */
.dg-items { display: grid; gap: 10px; margin: 10px 0 4px; }
.dg-items article { display: flex; gap: 14px; align-items: flex-start; padding: 12px 16px; background: #fff; border: 2px solid var(--dg-line); border-radius: var(--radius-md); }
.dg-items img { flex: none; width: 40px; height: 40px; object-fit: contain; image-rendering: pixelated; }
.dg-items h4 { margin: 0 0 2px; color: #7a2c12; font-size: 16px; }
.dg-items h4 small { margin-left: 6px; padding: 1px 8px; color: #fff; background: var(--lava); border-radius: 999px; font-size: 11.5px; vertical-align: 2px; }
.dg-items p { margin: 0; font-size: 13.5px; }

/* ===== 机制名词 ===== */
.dg-terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 12px 0; }
.dg-terms dl { margin: 0; padding: 10px 14px; background: #fff; border: 2px solid var(--dg-line); border-radius: var(--radius-md); }
.dg-terms dt { margin-bottom: 4px; }
.dg-terms dd { margin: 0; font-size: 13.5px; line-height: 1.75; }

/* 技能标签：属性色 + 实心底，文字不用灰色 */
.dg-tag {
  display: inline-block;
  margin: 0 5px 2px 0;
  padding: 0 8px;
  color: #fff;
  border-radius: 6px;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.75;
  vertical-align: 1px;
  white-space: nowrap;
}
.t-charge { background: #e0741a; }
.t-break { background: #b8860b; }
.t-mp { background: #2f6fd6; }
.t-lethal { background: #c4161c; }
.t-guard { background: #3d8b3d; }
.t-ally { background: #8a4fd1; }
.t-silence { background: #4a5bbd; }
.t-imm { background: #5a6b6a; }
.t-rage { background: #d6331d; }
.t-attr { background: #d65a8b; }
.t-dispel { background: #138a9a; }
.t-ban { background: #6d4c41; }

/* ===== 背景与楼层 ===== */
.dg-story { display: flex; gap: 18px; align-items: center; padding: 14px 18px; background: linear-gradient(120deg, #fff3e2, #ffe6cf); border: 2px solid #ffd2a8; border-radius: var(--radius-md); }
.dg-story img { flex: none; width: 59px; height: auto; image-rendering: pixelated; }
.dg-floors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 14px 0 8px; }
.dg-floor { overflow: hidden; background: #fff; border: 2px solid var(--dg-line); border-radius: var(--radius-md); }
.dg-floor header { padding: 10px 14px; color: #fff; background: linear-gradient(135deg, #8a2a12, #d2501b); }
.dg-floor:nth-child(2) header { background: linear-gradient(135deg, #5a1a3a, #b2341f); }
.dg-floor:nth-child(3) header { background: linear-gradient(135deg, #3a1610, #e2481b 70%, #ffb03a); }
.dg-floor header span { font-size: 12px; font-weight: 800; letter-spacing: 2px; color: #ffd88a; }
.dg-floor header h3 { margin: 2px 0 0; padding: 0; color: #fff; border: 0; font-size: 21px; }
.dg-floor ol { padding: 8px 14px 12px 32px; font-size: 13.5px; }
.dg-floor li { margin: 6px 0; }
.dg-floor li::marker { color: var(--lava); font-weight: 900; }

/* ===== 首领卡 ===== */
.dg-boss { margin: 18px 0 0; padding: 0 0 12px; overflow: hidden; background: #fff; border: 2px solid var(--dg-line); border-radius: var(--radius-lg); scroll-margin-top: 80px; }
.dg-boss-head { display: flex; gap: 18px; align-items: center; padding: 16px 18px; background: linear-gradient(120deg, #fff1e0, #ffe0c6); border-bottom: 2px solid #ffd2a8; }
.dg-boss-head > img, .dg-pair-art img { flex: none; height: auto; max-height: 170px; width: auto; image-rendering: pixelated; filter: drop-shadow(0 5px 6px rgba(80, 30, 10, .35)); }
.dg-boss-head > img { max-width: 150px; }
.dg-pair-art { display: flex; flex: none; align-items: flex-end; gap: 4px; }
.dg-pair-art img { max-width: 112px; max-height: 150px; }
.dg-boss-head h3 { margin: 0 0 6px; padding: 0; border: 0; color: #8a2a12; font-size: 24px; }
.dg-boss-where { margin: 0 0 2px !important; color: var(--lava); font-size: 12.5px; font-weight: 800; letter-spacing: 1px; }
.dg-boss-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0 !important; padding: 0 !important; list-style: none; }
.dg-boss-meta li { margin: 0; padding: 1px 10px; color: #6a2a14; background: #fff; border: 1.5px solid #f2c8a4; border-radius: 999px; font-size: 12px; font-weight: 700; }
.dg-boss-final .dg-boss-head { color: #fff6e6; background: linear-gradient(140deg, #3a1610, #8c2410 60%, #d2501b); border-bottom-color: #8c2410; }
.dg-boss-final .dg-boss-head h3 { color: #fff; text-shadow: 0 0 14px rgba(255, 120, 40, .7); }
.dg-boss-final .dg-boss-where { color: #ffd88a; }
.dg-boss-final .dg-boss-head strong { color: #ffd88a; }
.dg-phases { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 18px 0; }
.dg-phases span { padding: 3px 12px; color: #fff; background: #c4521c; border-radius: 999px; font-size: 12.5px; font-weight: 800; }
.dg-phases span:nth-child(2) { background: #b8361a; }
.dg-phases span:nth-child(3) { background: #9c2310; }
.dg-phases span:nth-child(4) { background: #6d1d0f; }
.dg-skills { width: calc(100% - 36px); margin: 12px 18px 4px; border-collapse: collapse; font-size: 13.5px; }
.dg-skills th, .dg-skills td { padding: 8px 10px; text-align: left; vertical-align: top; border: 1px solid #f0dcc4; }
.dg-skills th { color: #7a2c12; background: #fff1e0; font-weight: 800; }
.dg-skills td:first-child { color: #8a2a12; font-weight: 800; white-space: nowrap; }
.dg-skills td:nth-child(2) { color: #6a4a35; font-weight: 700; white-space: nowrap; font-size: 12.5px; }
.dg-skills tbody tr:nth-child(even) td { background: #fffaf3; }
.dg-skills tr.dg-row-p td:first-child { box-shadow: inset 4px 0 0 #3aa0d8; }
.dg-skills tr.dg-row-d td:first-child { box-shadow: inset 4px 0 0 #c4161c; }
.dg-boss > .dg-fine { padding: 0 18px; }

/* ===== 两条路线 ===== */
.dg-routes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 12px; }
.dg-route { overflow: hidden; background: #fff; border: 2px solid var(--dg-line); border-radius: var(--radius-lg); }
.dg-route header { padding: 16px 18px; color: #fff; }
.dg-route header span { display: inline-block; padding: 1px 10px; background: rgba(255, 255, 255, .2); border: 1.5px solid rgba(255, 255, 255, .5); border-radius: 999px; font-size: 12px; font-weight: 800; }
.dg-route header h3 { margin: 8px 0 4px; padding: 0; border: 0; color: #fff; font-size: 28px; letter-spacing: 4px; }
.dg-route header p { margin: 0; font-size: 13.5px; }
.dg-route-p header { background: linear-gradient(135deg, #1f6fa8, #3aa0d8 60%, #ffcf6a); }
.dg-route-d header { background: linear-gradient(135deg, #3a0f0a, #a0170f 55%, #ff6a1a); }
.dg-route ul { padding: 10px 18px 14px 36px; font-size: 13.5px; }
.dg-route-d strong { color: #b1120f; }
.dg-route-p strong { color: #1f5f8f; }

/* ===== 宝珠简介链接（详细内容在 orb-guide.html） ===== */
.dg-main .dg-orb-link { color: var(--dg-ink); }
.dg-orb-link { display: flex; gap: 16px; align-items: center; padding: 16px 18px; color: inherit; text-decoration: none; background: linear-gradient(120deg, #fff7e8, #f3eaff); border: 2px solid #e3d1f3; border-radius: var(--radius-md); transition: transform .2s var(--ease-out), box-shadow .2s; }
.dg-orb-link:hover { transform: translateY(-2px); box-shadow: 0 8px 18px -10px rgba(90, 40, 140, .45); }
.dg-orb-link-icons { display: flex; flex: none; gap: 2px; }
.dg-orb-link-icons img { width: 44px; height: 44px; image-rendering: pixelated; }
.dg-orb-link-copy { display: flex; flex-direction: column; gap: 4px; }
.dg-orb-link-copy strong { color: #5a2a8a; font-size: 16px; }
.dg-orb-link-copy span { font-size: 13.5px; }
.dg-orb-link-copy em { color: #7a2c12; font-style: normal; font-weight: 800; }
.dg-ops { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 10px 0; }
.dg-ops article { padding: 12px 14px; background: #fff; border: 2px solid var(--dg-line); border-radius: var(--radius-md); }
.dg-ops img { width: 36px; height: 36px; image-rendering: pixelated; }
.dg-ops h4 { margin: 4px 0; color: #7a2c12; font-size: 15.5px; }
.dg-ops p { margin: 0; font-size: 13px; line-height: 1.7; }

/* ===== 常见问题 ===== */
.dg-section details { margin: 8px 0; padding: 0 16px; background: #fff; border: 2px solid var(--dg-line); border-radius: var(--radius-md); }
.dg-section summary { padding: 11px 0; color: #8a2a12; font-weight: 800; cursor: pointer; }
.dg-section details[open] { background: #fffaf3; }
.dg-section details p { padding: 0 0 12px; }

.dg-footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin: 22px 0 10px; padding: 14px; background: rgba(255, 250, 241, .9); border-radius: var(--radius-md); }
.dg-footer a { color: var(--lava-deep); font-weight: 800; }

/* ===== 平板 ===== */
@media (max-width: 960px) {
  .dg-floors { grid-template-columns: 1fr; }
  .dg-ops { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ===== 手机 ===== */
@media (max-width: 640px) {
  .dg-main { width: calc(100% - 20px); padding-top: 10px; }
  .dg-hero { flex-direction: column-reverse; align-items: flex-start; gap: 4px; padding: 22px 18px 26px; }
  .dg-hero-art { flex: none; align-self: center; padding: 6px; }
  .dg-hero-art img { width: 96px; }
  .dg-intro br { display: none; }
  .dg-lead { font-size: 18px; }
  .dg-toc { top: 6px; flex-wrap: nowrap; overflow-x: auto; padding: 8px; scrollbar-width: none; }
  .dg-toc::-webkit-scrollbar { display: none; }
  .dg-section { padding: 18px 14px 20px; border-radius: var(--radius-lg); font-size: 13.5px; scroll-margin-top: 70px; }
  .dg-section > h2 { font-size: 21px; gap: 9px; }
  .dg-no { width: 32px; height: 32px; font-size: 14px; border-radius: 10px; }
  .dg-facts { grid-template-columns: 1fr; }
  .dg-facts > div + div { border-left: 0; border-top: 2px solid var(--dg-line); }
  .dg-grid2, .dg-terms, .dg-routes { grid-template-columns: 1fr; }
  .dg-orb-link { flex-direction: column; align-items: flex-start; }
  .dg-ops { grid-template-columns: 1fr; }
  .dg-story { flex-direction: column; align-items: flex-start; }
  .dg-boss-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .dg-boss-head > img { max-height: 120px; }
  .dg-pair-art img { max-height: 110px; max-width: 90px; }
  .dg-boss-head h3 { font-size: 20px; }
  .dg-phases { padding: 10px 12px 0; }
  /* 技能表在手机上改成卡片式逐行堆叠，避免横向滚动 */
  .dg-skills { width: calc(100% - 24px); margin: 10px 12px 4px; }
  .dg-skills thead { display: none; }
  .dg-skills, .dg-skills tbody, .dg-skills tr, .dg-skills td { display: block; }
  .dg-skills tr { margin-bottom: 8px; overflow: hidden; border: 1px solid #f0dcc4; border-radius: 10px; }
  .dg-skills td { border: 0; padding: 6px 10px; }
  .dg-skills td:first-child { display: inline-block; padding-right: 4px; font-size: 14.5px; }
  .dg-skills td:nth-child(2) { display: inline-block; padding-left: 4px; color: #a3290d; }
  .dg-skills td:nth-child(3) { padding-top: 0; }
  .dg-skills tbody tr:nth-child(even) td { background: transparent; }
  .dg-skills tbody tr:nth-child(even) { background: #fffaf3; }
  .dg-skills tr.dg-row-p, .dg-skills tr.dg-row-d { border-left-width: 4px; }
  .dg-skills tr.dg-row-p { border-left-color: #3aa0d8; }
  .dg-skills tr.dg-row-d { border-left-color: #c4161c; }
  .dg-skills tr.dg-row-p td:first-child, .dg-skills tr.dg-row-d td:first-child { box-shadow: none; }
  .dg-items article { padding: 10px 12px; gap: 10px; }
}

/* ===== 掉落列表（guide-dungeon.js 读接口渲染） ===== */
.dg-drops { margin: 10px 0 4px; }
.dg-drops-state { padding: 12px 16px; background: #fff; border: 2px dashed var(--dg-line); border-radius: var(--radius-md); font-weight: 700; }
.dg-drops-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dg-drop-card { padding: 10px 14px 12px; background: #fff; border: 2px solid var(--dg-line); border-radius: var(--radius-md); }
.dg-drop-chest { background: #fff8e6; border-color: #f2d28a; }
.dg-drop-card h4 { margin: 0 0 6px; color: #8a2a12; font-size: 15.5px; }
.dg-drop-note { margin-left: 6px; padding: 0 7px; color: #fff; background: #c4521c; border-radius: 6px; font-size: 11px; vertical-align: 2px; }
.dg-drop-items { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 !important; padding: 0 !important; list-style: none; }
.dg-drop-items li { display: inline-flex; flex-wrap: wrap; gap: 2px 5px; align-items: center; margin: 0; padding: 2px 8px 2px 3px; background: #fff7ec; border: 1px solid #f0dcc4; border-radius: 999px; font-size: 12.5px; }
.dg-drop-items img { width: 28px; height: 28px; object-fit: contain; image-rendering: pixelated; }
.dg-drop-name { font-weight: 700; }
.dg-drop-tag { padding: 0 6px; color: #fff; border-radius: 5px; font-size: 11px; font-weight: 800; }
.dg-drop-route { background: #a0170f; }
.dg-drop-trade.is-yes { background: #23885a; }
.dg-drop-trade.is-no { background: #6b5a7a; }
@media (max-width: 640px) { .dg-drops-grid { grid-template-columns: 1fr; } }

/* ===== 首领卡片里的掉落（2026-10-15：按本期掉落清单与每人概率展示） ===== */
.dg-loot { margin: 10px 18px 14px; padding: 10px 14px 12px; background: #fffaf2; border: 2px solid #f2c8a4; border-radius: var(--radius-md); }
.dg-loot + .dg-loot { margin-top: 0; }
.dg-loot h4 { margin: 0 0 6px; color: #8a2f12; font-size: 15px; }
.dg-loot h4 small { margin-left: 6px; color: #7a6553; font-size: 12px; font-weight: 600; }
.dg-loot-sub { margin: 8px 0 4px; color: #6a2a14; font-size: 13px; font-weight: 800; }
.dg-loot-route { display: inline-block; padding: 1px 10px; border-radius: 999px; color: #fff; font-size: 12px; }
.dg-loot-route.is-p { background: #2f8f6b; }
.dg-loot-route.is-d { background: #b8331c; }
.dg-loot-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; margin: 0 !important; padding: 0 !important; list-style: none; }
.dg-loot-list li { display: flex; align-items: center; gap: 8px; margin: 0; padding: 4px 8px; background: #fff; border: 1.5px solid #f3dcc6; border-radius: 10px; }
.dg-loot-list img { flex: none; width: 32px; height: 32px; object-fit: contain; image-rendering: pixelated; }
.dg-loot-name { flex: 1; min-width: 0; color: #3a2a1c; font-size: 13.5px; font-weight: 700; }
.dg-loot-name small { display: block; color: #7a6553; font-size: 12px; font-weight: 500; }
.dg-loot-pct { flex: none; min-width: 52px; padding: 2px 8px; text-align: center; color: #8a2f12; background: #ffe9d2; border-radius: 999px; font-size: 13px; }
.dg-loot-pct.is-sure { color: #fff; background: #d9662b; }
@media (max-width: 760px) {
  .dg-loot { margin: 10px 12px 12px; padding: 8px 10px 10px; }
  .dg-loot-list { grid-template-columns: 1fr; }
}

/* 官方长篇小说入口横幅卡片 */
.dg-novel-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 16px;
  padding: 20px 24px;
  border-radius: 16px;
  background: linear-gradient(125deg, #2b0f0a 0%, #52180e 60%, #7a2614 100%);
  color: #fff3eb;
  border: 2px solid rgba(255, 190, 92, 0.72);
  box-shadow: 0 10px 24px -10px rgba(72, 18, 8, 0.55);
}
.dg-novel-copy { max-width: 680px; }
.dg-novel-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(255, 190, 92, 0.2);
  border: 1px solid #ffbe5c;
  color: #ffe29a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.dg-novel-copy h3 {
  margin: 0 0 6px !important;
  color: #fff !important;
  font-size: 20px !important;
}
.dg-novel-copy p {
  margin: 0 !important;
  color: #ffe6d6 !important;
  font-size: 13.5px;
  line-height: 1.65;
}
.dg-novel-cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd86b, #f2a922);
  color: #231804 !important;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(242, 169, 34, 0.45);
  white-space: nowrap;
}
.dg-novel-cta:hover { transform: translateY(-1px); }
@media (max-width: 640px) {
  .dg-novel-card { flex-direction: column; align-items: flex-start; padding: 16px; }
}
