/* Boss 资料页 · 工业怒火版（塔基拉，bi- 前缀，2026-08-15）
   设计语言：焊工屠夫 / 警示工业风 —— 钢、铁锈、黄黑警示斜纹、铆钉、钢板。 */

.bi-page {
  --bi-bg1: #f5f6f7;
  --bi-bg2: #f1f5f9;
  --bi-panel: #ffffff;
  --bi-amber: #3b82f6;
  --bi-amber-hi: #2563eb;
  --bi-red: #ef4444;
  --bi-steel: #909090;
  --bi-text: #1f1f1f;
  --bi-muted: #909090;
  --bi-line: #e5e7eb;
  --bi-stripe: linear-gradient(90deg, #3b82f6, #2563eb);
  --bi-stripe-red: linear-gradient(90deg,#fca5a5,#dc2626);
  margin: 0;
  color: var(--bi-text);
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(1100px 520px at 88% -10%, rgba(59,130,246,0.09), transparent 60%),
    radial-gradient(900px 620px at -12% 22%, rgba(31,41,55,0.05), transparent 55%),
    linear-gradient(180deg, var(--bi-bg1), var(--bi-bg2));
}

html {
  scroll-behavior: smooth;
}

.bi-page * {
  box-sizing: border-box;
}

.bi-page a {
  color: var(--bi-amber-hi);
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  .bi-hero__spark,
  .bi-spark-extra,
  .bi-voice.is-playing .bi-voice__eq i,
  .bi-map__thumb img {
    animation: none !important;
    transition: none !important;
  }
}

.bi-page ::selection {
  background: rgba(59,130,246,0.35);
  color: #fff;
}

.bi-main {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 60px;
}

/* ============ 钢制面板 + 铆钉（通用） ============ */
.bi-panel {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(17, 16, 13, 0.88));
  border: 1px solid var(--bi-line);
  border-radius: 4px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.08), inset 0 1px 0 rgba(0,0,0,0.02);
}

.bi-panel::after {
  content: "";
  position: absolute;
  inset: 6px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background:
    radial-gradient(circle at 0 0, #b9b0a0 0 2px, transparent 2.6px),
    radial-gradient(circle at 100% 0, #b9b0a0 0 2px, transparent 2.6px),
    radial-gradient(circle at 0 100%, #b9b0a0 0 2px, transparent 2.6px),
    radial-gradient(circle at 100% 100%, #b9b0a0 0 2px, transparent 2.6px);
}

.bi-panel > * {
  position: relative;
  z-index: 1;
}

/* ============ 1. Hero ============ */
.bi-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(141, 133, 120, 0.32);
  border-radius: 6px;
  background: linear-gradient(180deg, #161310, #0e0d0b);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  scroll-margin-top: 72px;
}

.bi-hero__stripe {
  position: relative;
  z-index: 3;
  height: 10px;
  background: var(--bi-stripe);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.bi-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.85) contrast(1.05);
}

.bi-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(10, 9, 7, 0.96) 0%,
    rgba(10, 9, 7, 0.82) 42%,
    rgba(15, 13, 10, 0.45) 72%,
    rgba(15, 13, 10, 0.28) 100%);
}

.bi-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  grid-template-rows: minmax(0, 1fr) auto;
  grid-template-areas:
    "copy figure"
    "bar  figure";
  column-gap: 24px;
  align-items: center;
  min-height: 520px;
  padding: 34px 40px 40px;
}

.bi-hero__copy {
  grid-area: copy;
  max-width: 640px;
}

.bi-hero__bar {
  grid-area: bar;
}

.bi-hero__kicker {
  display: inline-flex;
  align-items: center;
  margin: 0 0 16px;
  padding: 5px 14px 5px 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bi-amber-hi);
  background: rgba(245, 158, 11, 0.10);
  border: 1px solid rgba(245, 158, 11, 0.42);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
}

.bi-hero__title {
  margin: 0;
  font-size: clamp(46px, 7.5vw, 84px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0.06em;
  color: #f3ede1;
  text-shadow:
    0 1px 0 #000,
    0 2px 0 #1a1510,
    0 5px 16px rgba(0, 0, 0, 0.85),
    0 0 34px rgba(245, 158, 11, 0.38);
}

.bi-hero__rule {
  width: min(320px, 100%);
  height: 8px;
  margin: 16px 0 14px;
  background: var(--bi-stripe);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
}

.bi-hero__en {
  margin: 0 0 16px;
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 900;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bi-steel);
}

.bi-hero__en b {
  color: var(--bi-amber-hi);
  text-shadow: 0 0 16px rgba(245, 158, 11, 0.4);
}

.bi-hero__desc {
  margin: 0;
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.85;
  color: #d8cfbc;
}

.bi-hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.bi-hero__stat {
  padding: 10px 12px 11px;
  background: linear-gradient(180deg, rgba(29, 26, 21, 0.92), rgba(17, 16, 13, 0.86));
  border: 1px solid var(--bi-line);
  border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 6px 16px rgba(0, 0, 0, 0.35);
}

.bi-hero__stat span {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--bi-muted);
}

.bi-hero__stat strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: var(--bi-amber-hi);
  text-shadow: 0 0 12px rgba(245, 158, 11, 0.35);
}

.bi-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* hero 底部条：按钮 + 语音长条，占左列（copy 列宽），语音延伸到立绘左缘 */
.bi-hero__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.bi-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  border-radius: 3px;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s, background 0.25s;
}

.bi-btn--primary {
  color: #ffffff;
  background: linear-gradient(180deg, var(--bi-amber-hi), var(--bi-amber));
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 22px rgba(59,130,246,0.4), inset 0 -3px 0 rgba(0,0,0,0.04);
}

/* 覆盖全局 .bi-page a 琥珀色链接色（特异性更高），保证按钮文字可读并放大 */
.bi-page .bi-btn--primary,
.bi-page .bi-btn--ghost {
  color: #ffffff;
}

.bi-page .bi-btn--primary {
  padding: 12px 24px;
  font-size: 15px;
  letter-spacing: 0.06em;
}

.bi-page .bi-btn--ghost {
  color: var(--bi-text);
}

.bi-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(59,130,246,0.55), 0 0 24px rgba(59,130,246,0.35), inset 0 -3px 0 rgba(0,0,0,0.04);
}

.bi-btn--ghost {
  color: var(--bi-text);
  background: rgba(255,255,255,0.70);
  border: 1px solid var(--bi-line);
  box-shadow: inset 0 1px 0 rgba(0,0,0,0.02);
}

.bi-btn--ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(59,130,246,0.5);
  box-shadow: 0 8px 20px rgba(0,0,0,0.07);
}

/* hero 内嵌语音播放器：横向长条，紧跟「全部 Boss 图鉴」按钮之后（无边框色块） */
.bi-hero__voice {
  flex: 1 1 240px;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.bi-hero__voice-toggle {
  position: relative;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1a1206;
  background: radial-gradient(circle at 35% 28%, #ffe08a 0%, var(--bi-amber-hi) 42%, var(--bi-amber) 78%, #c2760a 100%);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.45),
    0 5px 16px rgba(245, 158, 11, 0.5),
    inset 0 2px 1px rgba(255, 255, 255, 0.35),
    inset 0 -3px 2px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}

.bi-hero__voice-toggle:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.45),
    0 8px 20px rgba(245, 158, 11, 0.62),
    inset 0 2px 1px rgba(255, 255, 255, 0.35),
    inset 0 -3px 2px rgba(0, 0, 0, 0.25);
}

/* 播放时脉冲光环 */
.bi-hero__voice-toggle::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(245, 158, 11, 0.55);
  opacity: 0;
}

.bi-hero__voice.is-playing .bi-hero__voice-toggle::after {
  animation: bi-voice-ring 1.6s ease-out infinite;
}

@keyframes bi-voice-ring {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* 加载转圈（懒加载：点播放后下载时显示） */
.bi-hero__voice-toggle::before {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(26, 18, 6, 0.22);
  border-top-color: #1a1206;
  opacity: 0;
  animation: bi-voice-spin 0.8s linear infinite;
}

.bi-hero__voice.is-loading .bi-hero__voice-toggle::before {
  opacity: 1;
}

@keyframes bi-voice-spin {
  to { transform: rotate(360deg); }
}

.bi-hero__voice-play,
.bi-hero__voice-pause {
  display: block;
}

.bi-hero__voice-pause {
  display: none;
}

.bi-hero__voice.is-playing .bi-hero__voice-play {
  display: none;
}

.bi-hero__voice.is-playing .bi-hero__voice-pause {
  display: block;
}

.bi-hero__voice.is-loading .bi-hero__voice-play,
.bi-hero__voice.is-loading .bi-hero__voice-pause {
  display: none;
}

.bi-hero__voice-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bi-hero__voice-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.bi-hero__voice-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--bi-amber-hi);
  text-shadow: 0 0 12px rgba(245, 158, 11, 0.35);
}

.bi-hero__voice-time {
  display: flex;
  gap: 6px;
  font-size: 10px;
  color: rgba(239, 233, 221, 0.6);
  font-variant-numeric: tabular-nums;
}

.bi-hero__voice-bar {
  position: relative;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.bi-hero__voice-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--bi-amber), var(--bi-amber-hi));
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
}

.bi-hero__voice-fill::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bi-amber-hi);
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.9), 0 0 0 2px rgba(20, 14, 5, 0.9);
  opacity: 0;
}

.bi-hero__voice.is-playing .bi-hero__voice-fill::after,
.bi-hero__voice.is-loading .bi-hero__voice-fill::after {
  opacity: 1;
}

/* 加载中的进度条呼吸 */
.bi-hero__voice.is-loading .bi-hero__voice-bar {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 25%, rgba(245, 158, 11, 0.5) 50%, rgba(255, 255, 255, 0.08) 75%);
  background-size: 200% 100%;
  animation: bi-voice-shimmer 1.1s linear infinite;
}

@keyframes bi-voice-shimmer {
  to { background-position: -200% 0; }
}

/* boss 全身像放大标注（部位 → 血量框） */
.bi-lightstage {
  position: relative;
  display: inline-block;
}

.bi-annotate {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bi-annotate__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.bi-annotate__line {
  stroke: rgba(59,130,246,0.85);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  filter: drop-shadow(0 0 4px rgba(59,130,246,0.55));
  animation: bi-annotate-draw 0.7s ease forwards;
}

@keyframes bi-annotate-draw {
  to { stroke-dashoffset: 0; }
}

.bi-annotate__dot {
  position: absolute;
  width: 11px;
  height: 11px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe08a, var(--bi-amber-hi) 55%, var(--bi-amber));
  box-shadow: 0 0 10px rgba(59,130,246,0.95), 0 0 0 2px rgba(255,255,255,0.90);
  opacity: 0;
  animation: bi-annotate-fade 0.35s ease forwards;
}

.bi-annotate__box {
  position: absolute;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 6px 11px;
  background: linear-gradient(180deg, rgba(20, 16, 11, 0.92), rgba(255,255,255,0.88));
  border: 1px solid rgba(59,130,246,0.55);
  border-radius: 4px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.12), 0 0 14px rgba(59,130,246,0.15);
  opacity: 0;
  animation: bi-annotate-fade 0.4s ease forwards;
  white-space: nowrap;
}

.bi-annotate__box--left {
  transform: translate(-100%, -50%);
}

.bi-annotate__box em {
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #333333;
}

.bi-annotate__box strong {
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  color: var(--bi-amber-hi);
  text-shadow: 0 0 10px rgba(59,130,246,0.5);
}

.bi-annotate__tag {
  font-size: 9px;
  font-weight: 800;
  color: #b91c1c;
  background: rgba(220, 38, 38, 0.14);
  border: 1px solid rgba(220, 38, 38, 0.45);
  border-radius: 2px;
  padding: 1px 5px;
}

@keyframes bi-annotate-fade {
  to { opacity: 1; }
}

/* 立绘扫描框（监视目标框，点击放大全身像） */
.bi-hero__figure {
  position: relative;
  grid-area: figure;
  align-self: stretch;
  max-height: 520px;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(245, 158, 11, 0.5);
  background: #0c0a08;
  box-shadow: inset 0 0 42px rgba(0, 0, 0, 0.62), 0 12px 32px rgba(0, 0, 0, 0.5);
  cursor: zoom-in;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.bi-hero__figure:hover {
  border-color: rgba(251, 191, 36, 0.95);
  box-shadow: inset 0 0 42px rgba(0, 0, 0, 0.62), 0 0 26px rgba(245, 158, 11, 0.28), 0 12px 32px rgba(0, 0, 0, 0.5);
}

.bi-hero__figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: saturate(0.8) contrast(1.08) brightness(0.88);
}

.bi-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 158, 11, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 158, 11, 0.10) 1px, transparent 1px);
  background-size: 26px 26px;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
}

.bi-hero__line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.95), transparent);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.85), 0 0 34px rgba(245, 158, 11, 0.5);
  animation: bi-scan-move 4.2s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

@keyframes bi-scan-move {
  0% { top: 3%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 96%; opacity: 0; }
}

.bi-hero__corner {
  position: absolute;
  width: 18px;
  height: 18px;
  z-index: 3;
  pointer-events: none;
}

.bi-hero__corner--tl { top: 7px; left: 7px; border-top: 2px solid var(--bi-amber-hi); border-left: 2px solid var(--bi-amber-hi); }
.bi-hero__corner--tr { top: 7px; right: 7px; border-top: 2px solid var(--bi-amber-hi); border-right: 2px solid var(--bi-amber-hi); }
.bi-hero__corner--bl { bottom: 7px; left: 7px; border-bottom: 2px solid var(--bi-amber-hi); border-left: 2px solid var(--bi-amber-hi); }
.bi-hero__corner--br { bottom: 7px; right: 7px; border-bottom: 2px solid var(--bi-amber-hi); border-right: 2px solid var(--bi-amber-hi); }

.bi-hero__cap {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #fbbf24;
  background: rgba(12, 10, 8, 0.75);
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 3px 8px;
}

.bi-hero__cap::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bi-red);
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.9);
  animation: bi-blink 1.2s steps(2, start) infinite;
}

@keyframes bi-blink { 50% { opacity: 0.15; } }

.bi-hero__stamp {
  position: absolute;
  right: 16px;
  top: 48px;
  z-index: 4;
  transform: rotate(-12deg);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.28em;
  color: rgba(245, 158, 11, 0.85);
  border: 2px solid rgba(245, 158, 11, 0.6);
  background: rgba(12, 10, 8, 0.35);
  padding: 5px 10px;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.22), inset 0 0 12px rgba(245, 158, 11, 0.12);
  pointer-events: none;
}

/* ============ 2. sticky 导航 ============ */
.bi-nav {
  position: sticky;
  top: 64px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 18px 0 26px;
  padding: 0 8px;
  background: linear-gradient(180deg, rgba(17, 16, 13, 0.97), rgba(255,255,255,0.92));
  border: 1px solid var(--bi-line);
  border-left:0;border-top:3px solid var(--bi-amber);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  overflow-x: auto;
  white-space: nowrap;
}

.bi-nav__link {
  position: relative;
  display: block;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bi-muted);
  transition: color 0.25s, background 0.25s;
}

.bi-nav__link:hover {
  color: var(--bi-text);
  background: rgba(59,130,246,0.08);
}

.bi-nav__link.is-active {
  color: var(--bi-amber-hi);
  background: linear-gradient(180deg, rgba(59,130,246,0.14), rgba(59,130,246,0.04));
}

.bi-nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 4px;
  height: 4px;
  background: var(--bi-stripe);
}

/* ============ 通用 section ============ */
.bi-section {
  margin: 36px 0 0;
  /* 避开 sticky 顶栏(64px) + sticky 目录导航，锚点定位到标题下方 */
  scroll-margin-top: 122px;
}

.bi-section__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e7eb;
}

.bi-section__no {
  flex: 0 0 auto;
  min-width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--bi-amber-hi);
  background: linear-gradient(180deg, #eff6ff, #eceff3);
  border: 1px solid rgba(59,130,246,0.45);
  box-shadow: inset 0 -4px 0 rgba(59,130,246,0.25), 0 4px 12px rgba(0,0,0,0.07);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}

.bi-section__title h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #1f2937;
}

.bi-section__sub {
  margin: 5px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--bi-muted);
}

/* ============ 3. 地图 ============ */
.bi-maps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.bi-map {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.bi-map__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f8f9fa;
  border-bottom: 1px solid #e5e7eb;
}

.bi-map__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.bi-map:hover .bi-map__thumb img {
  transform: scale(1.05);
}

.bi-map__grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.6;
  background:
    repeating-linear-gradient(0deg, rgba(31,41,55,0.05) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, rgba(31,41,55,0.05) 0 1px, transparent 1px 26px);
}

.bi-map__rate {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ffffff;
  background: var(--bi-amber);
  box-shadow: 0 4px 10px rgba(0,0,0,0.09);
}

.bi-map__zoom {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  z-index: 3;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  color: #1f2937;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(59,130,246,0.6);
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
}

.bi-map:hover .bi-map__zoom,
.bi-map__zoom:focus-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.bi-map__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
  padding: 14px 16px 16px;
}

.bi-map__name {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--bi-amber-hi);
}

.bi-map__name::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  background: var(--bi-amber);
  box-shadow: 0 0 10px rgba(59,130,246,0.7);
}

.bi-map__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: #cfc6b4;
}

.bi-map__cells {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.bi-map__cell {
  padding: 8px 9px;
  background: rgba(255,255,255,0.55);
  border: 1px solid #e5e7eb;
  border-radius: 3px;
}

.bi-map__cell span {
  display: block;
  margin-bottom: 3px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bi-muted);
}

.bi-map__cell strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  color: #333333;
}

.bi-map__link {
  align-self: flex-start;
  position: relative;
  margin-top: 2px;
  padding-bottom: 2px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--bi-amber-hi);
}

.bi-map__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--bi-stripe);
  opacity: 0.85;
  transition: opacity 0.2s;
}

.bi-map__link:hover::after {
  opacity: 1;
}

/* 终端无图卡：警示框 */
.bi-map--nodata .bi-map__warn {
  position: relative;
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #b91c1c;
  background: repeating-linear-gradient(45deg, rgba(220, 38, 38, 0.10) 0 12px, rgba(255,255,255,0.92) 12px 24px);
  border-bottom: 1px solid rgba(220, 38, 38, 0.5);
}

.bi-map--nodata .bi-map__rate {
  top: 10px;
  right: 10px;
  background: var(--bi-red);
  color: #fff;
}

.bi-map__warn-mark {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  background: var(--bi-red);
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.45);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

/* ============ 4. 血量检查表（合并表：部位含护甲卡 | 血量 | 血量条 | 需N发） ============ */
.bi-hp {
  display: block;
}

.bi-hp__panel {
  padding: 14px 16px 10px;
}

.bi-hp__head,
.bi-hp__row {
  display: grid;
  grid-template-columns: minmax(104px, auto) 52px minmax(0, 1fr) 76px;
  gap: 10px;
  align-items: center;
}

/* 总血量（血量表顶部独立块） */
.bi-hp__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  margin-bottom: 10px;
  background: linear-gradient(180deg, rgba(59,130,246,0.16), rgba(59,130,246,0.06));
  border: 1px solid rgba(59,130,246,0.4);
  border-left:0;border-top:3px solid var(--bi-amber);
  border-radius: 3px;
}

.bi-hp__total span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--bi-amber-hi);
}

.bi-hp__total strong {
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  color: var(--bi-amber-hi);
  text-shadow: 0 0 16px rgba(59,130,246,0.45);
}

.bi-hp__head {
  padding: 6px 8px;
  text-align: center;

  margin-bottom: 4px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bi-muted);
}

.bi-hp__head span:nth-child(1) {
  text-align: left;
}

.bi-hp__head span:nth-child(2),
.bi-hp__head span:nth-child(3),
.bi-hp__head span:nth-child(4) {
  text-align: center;
}

.bi-hp__row {
  padding: 8px;
  border-top: 1px dashed #e5e7eb;
  transition: background 0.25s;
}

.bi-hp__row:hover {
  background: rgba(59,130,246,0.06);
}

.bi-hp__part {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 800;
  color: #333333;
}

/* 部位名右侧的护甲小卡片 */
.bi-hp__tag {
  padding: 1px 6px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  border-radius: 2px;
  white-space: nowrap;
}

.bi-hp__tag--has {
  color: #b91c1c;
  background: rgba(220, 38, 38, 0.12);
  border: 1px solid rgba(220, 38, 38, 0.4);
}

.bi-hp__num {
  font-size: 15px;
  font-weight: 900;
  text-align: center;
  font-variant-numeric: tabular-nums;
  color: var(--bi-steel);
}

/* 需N发（随弹药下拉切换）——右对齐，与血量列数字成一条整齐右缘 */
.bi-hp__kill {
  font-size: 15px;
  font-weight: 900;
  text-align: center;
  font-variant-numeric: tabular-nums;
  color: var(--bi-amber-hi);
  text-shadow: 0 0 12px rgba(59,130,246,0.4);
}

/* 总血量行右侧的弹药下拉 */
.bi-hp__ammo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.bi-hp__select {
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--bi-amber-hi);
  background: rgba(255,255,255,0.90);
  border: 1px solid rgba(59,130,246,0.4);
  border-radius: 3px;
  cursor: pointer;
}

.bi-hp__select:focus-visible {
  outline: 1px solid var(--bi-amber-hi);
}

.bi-hp__note {
  margin: 10px 2px 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--bi-muted);
}

.bi-hp__bar {
  height: 14px;
  overflow: hidden;
  background: #f8f9fa;
  border: 1px solid var(--bi-line);
  border-radius: 2px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.11);
}

.bi-hp__bar i {
  display: block;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.bi-hp.is-in .bi-hp__bar i {
  transform: scaleX(1);
}

.bi-hp__row--high .bi-hp__bar i {
  background: var(--bi-stripe-red);
  box-shadow: 0 0 12px rgba(220, 38, 38, 0.5);
}

.bi-hp__row--mid .bi-hp__bar i {
  background: var(--bi-stripe);
  box-shadow: 0 0 10px rgba(59,130,246,0.4);
}

.bi-hp__row--low .bi-hp__bar i {
  background: linear-gradient(180deg, #34d399, #15803d);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.35);
}

/* ============ 击杀参考（高频子弹 × 部位，血量条右侧） ============ */
.bi-killref {
  margin: 0;
  padding: 14px 16px;
}

.bi-killref__title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--bi-amber-hi);
}

.bi-killref__title span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--bi-muted);
}

.bi-killref__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.bi-killref__table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  border: 1px solid var(--bi-line);
}

.bi-killref__table th,
.bi-killref__table td {
  padding: 6px 8px;
  text-align: center;
  border: 1px solid #e5e7eb;
  font-size: 12px;
  white-space: nowrap;
}

.bi-killref__table thead th {
  background: linear-gradient(180deg, rgba(59,130,246,0.14), rgba(59,130,246,0.05));
  color: var(--bi-amber-hi);
}

.bi-killref__table thead th span {
  display: block;
  font-weight: 800;
}

.bi-killref__table thead th em {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: var(--bi-muted);
}

.bi-killref__table tbody td {
  color: #333333;
  font-weight: 700;
}

.bi-killref__table tbody tr:hover td {
  background: rgba(59,130,246,0.05);
}

.bi-killref__table .bi-killref__part-col {
  text-align: center;
  color: var(--bi-muted);
}

.bi-killref__part {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 3px 4px;
}

.bi-killref__part b {
  color: #333333;
  font-size: 13px;
  line-height: 1.3;
}

.bi-killref__hp {
  color: var(--bi-steel);
  font-size: 10px;
  line-height: 1.2;
}

.bi-killref__tag {
  margin-top: 2px;
  padding: 0 5px;
  font-size: 9px;
  font-weight: 800;
  color: #b91c1c;
  background: rgba(220, 38, 38, 0.12);
  border: 1px solid rgba(220, 38, 38, 0.4);
  border-radius: 2px;
}

.bi-killref__row--armored td {
  background: rgba(220, 38, 38, 0.04);
}

.bi-killref__row--armored:hover td {
  background: rgba(220, 38, 38, 0.08);
}

.bi-killref__note {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--bi-muted);
}

/* ============ 5. 战利品清单 ============ */
.bi-loot {
  overflow: hidden;
  border-radius: 4px;
}

.bi-loot__row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-left: 3px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.bi-loot__row + .bi-loot__row {
  border-top: 1px dashed #e5e7eb;
}

.bi-loot__row:hover {
  border-left-color: var(--bi-amber);
  background: linear-gradient(90deg, rgba(59,130,246,0.12), rgba(59,130,246,0.03));
}

.bi-loot__no {
  flex: 0 0 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  color: var(--bi-amber-hi);
  background: linear-gradient(180deg, #eff6ff, #eceff3);
  border: 1px solid rgba(59,130,246,0.4);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%);
}

.bi-loot__info {
  flex: 1 1 auto;
  min-width: 0;
}

.bi-loot__info b {
  display: block;
  font-size: 15px;
  color: #1f2937;
}

.bi-loot__info span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--bi-muted);
}

.bi-loot__val {
  flex: 0 0 auto;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 900;
  color: #ffffff;
  background: var(--bi-amber);
  border-radius: 2px;
  box-shadow: 0 4px 12px rgba(59,130,246,0.3), inset 0 -2px 0 rgba(0,0,0,0.04);
}

/* ---- 完整掉落分页图库 ---- */
.bi-lootgallery {
  overflow: hidden;
  border-radius: 4px;
}

.bi-lootgallery__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
}

.bi-lootgallery__count {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.bi-lootgallery__count strong {
  font-size: 15px;
  font-weight: 900;
  color: var(--bi-amber-hi);
}

.bi-lootgallery__count span {
  font-size: 12px;
  color: var(--bi-muted);
}

.bi-lootgallery__sort {
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--bi-muted);
  background: rgba(31,41,55,0.05);
  border: 1px solid #e5e7eb;
  border-radius: 2px;
}

.bi-lootgallery__frame {
  padding: 14px 16px 4px;
}

.bi-lootgallery__page {
  display: none;
}

.bi-lootgallery__page.is-active {
  display: block;
}

.bi-lootgallery__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.bi-lootcard {
  background: linear-gradient(180deg, rgba(255,255,255,0.90), rgba(17, 16, 13, 0.85));
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.bi-lootcard:hover {
  border-color: rgba(59,130,246,0.5);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.07);
}

.bi-lootcard__img {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  cursor: zoom-in;
  border: 0;
  background: #f8f9fa;
}

.bi-lootcard__img img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #f8f9fa;
}

.bi-lootcard__hint {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 800;
  color: var(--bi-amber-hi);
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(59,130,246,0.5);
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
}

.bi-lootcard:hover .bi-lootcard__hint,
.bi-lootcard__img:focus-visible .bi-lootcard__hint {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.bi-lootcard__copy {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  padding: 8px 10px;
}

.bi-lootcard__copy b {
  font-size: 13px;
  font-weight: 800;
  color: #1f2937;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bi-lootcard__copy span {
  font-size: 12px;
  font-weight: 800;
  color: var(--bi-amber-hi);
  white-space: nowrap;
}

.bi-lootgallery__pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 16px 16px;
}

.bi-lootgallery__nav {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--bi-amber-hi);
  background: rgba(255,255,255,0.90);
  border: 1px solid rgba(59,130,246,0.4);
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.bi-lootgallery__nav:hover:not(:disabled) {
  background: rgba(59,130,246,0.15);
  transform: translateY(-1px);
}

.bi-lootgallery__nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.bi-lootgallery__indicator {
  min-width: 64px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: center;
  color: var(--bi-muted);
}

.bi-tasks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 14px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--bi-muted);
  background: rgba(255,255,255,0.50);
  border: 1px solid #e5e7eb;
  border-radius: 4px;
}

.bi-tasks a {
  padding: 5px 12px;
  font-weight: 800;
  color: var(--bi-amber-hi);
  background: rgba(59,130,246,0.07);
  border: 1px solid rgba(59,130,246,0.4);
  border-radius: 2px;
  transition: background 0.25s, transform 0.25s;
}

.bi-tasks a:hover {
  transform: translateY(-1px);
  background: rgba(59,130,246,0.16);
}

/* ============ 6. 装备页签 ============ */
.bi-tabs__nav {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.bi-tabs__tab {
  padding: 10px 26px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  cursor: pointer;
  color: var(--bi-muted);
  background: linear-gradient(180deg, #f1f5f9, #eceff3);
  border: 1px solid var(--bi-line);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
  transition: color 0.25s, background 0.25s, box-shadow 0.25s;
}

.bi-tabs__tab:hover {
  color: var(--bi-text);
}

.bi-tabs__tab.is-active {
  color: #ffffff;
  background: var(--bi-amber);
  box-shadow: 0 6px 18px rgba(59,130,246,0.35), inset 0 -3px 0 rgba(0,0,0,0.04);
}

.bi-gear {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.bi-gear__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.90), rgba(17, 16, 13, 0.85));
  border: 1px solid var(--bi-line);
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.07), inset 0 1px 0 rgba(0,0,0,0.02);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.bi-gear__item:hover {
  transform: translateY(-2px);
  border-color: rgba(59,130,246,0.5);
  box-shadow: 0 14px 30px rgba(0,0,0,0.09), 0 0 18px rgba(59,130,246,0.12);
}

.bi-gear__img {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f8f9fa;
  border: 1px solid var(--bi-line);
  border-radius: 4px;
}

.bi-gear__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bi-gear__info {
  min-width: 0;
}

.bi-gear__info b {
  display: block;
  font-size: 14px;
  color: #1f2937;
}

.bi-gear__info span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--bi-muted);
}

.bi-gear__ammo {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 8px;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--bi-steel);
  background: rgba(255,255,255,0.50);
  border: 1px solid var(--bi-line);
  border-radius: 2px;
}

/* ============ 7. 语音电台播放器 ============ */
.bi-voice {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(17, 16, 13, 0.88)),
    repeating-linear-gradient(90deg, rgba(59,130,246,0.05) 0 20px, transparent 20px 40px);
  border: 1px solid var(--bi-line);
  border-left:0;border-top:3px solid var(--bi-amber);
  border-radius: 4px;
  box-shadow: 0 16px 36px rgba(0,0,0,0.08), inset 0 1px 0 rgba(0,0,0,0.02);
}

.bi-voice__toggle {
  position: relative;
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  cursor: pointer;
  border: 3px solid #e5e7eb;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--bi-amber-hi), var(--bi-amber) 55%, #b45309);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.35), 0 10px 24px rgba(59,130,246,0.4), inset 0 -4px 8px rgba(0,0,0,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}

.bi-voice__toggle:hover {
  transform: scale(1.06);
  box-shadow: 0 0 0 4px rgba(59,130,246,0.5), 0 12px 30px rgba(59,130,246,0.5), inset 0 -4px 8px rgba(0,0,0,0.06);
}

.bi-voice__toggle svg {
  position: absolute;
  inset: 0;
  margin: auto;
  color: #1a1105;
}

.bi-voice__toggle .bi-voice__pause {
  display: none;
}

.bi-voice.is-playing .bi-voice__toggle .bi-voice__pause {
  display: block;
}

.bi-voice.is-playing .bi-voice__toggle .bi-voice__play {
  display: none;
}

.bi-voice__body {
  flex: 1 1 auto;
  min-width: 0;
}

.bi-voice__bar {
  position: relative;
  height: 14px;
  cursor: pointer;
  background: linear-gradient(180deg, #f8f9fa, #f8f9fa);
  border: 1px solid var(--bi-line);
  border-radius: 2px;
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.12);
}

.bi-voice__fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--bi-stripe);
  box-shadow: 0 0 14px rgba(59,130,246,0.5);
}

.bi-voice__knob {
  position: absolute;
  top: 50%;
  left: 0;
  width: 20px;
  height: 20px;
  transform: translate(-50%, -50%);
  border: 2px solid #e5e7eb;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--bi-amber-hi));
  box-shadow: 0 3px 8px rgba(0,0,0,0.11);
}

.bi-voice__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--bi-muted);
}

.bi-voice__meta span:nth-child(2) {
  flex: 1 1 auto;
  text-align: center;
  letter-spacing: 0.04em;
}

/* EQ 竖条 */
.bi-voice__eq {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 40px;
}

.bi-voice__eq i {
  width: 5px;
  height: 100%;
  background: var(--bi-amber);
  box-shadow: 0 0 8px rgba(59,130,246,0.6);
  transform: scaleY(0.18);
  transform-origin: bottom;
  opacity: 0.35;
}

.bi-voice.is-playing .bi-voice__eq i {
  opacity: 1;
  animation: bi-eq 0.9s ease-in-out infinite alternate;
}

.bi-voice__eq i:nth-child(1) { animation-delay: 0s; }
.bi-voice__eq i:nth-child(2) { animation-delay: 0.15s; }
.bi-voice__eq i:nth-child(3) { animation-delay: 0.3s; }
.bi-voice__eq i:nth-child(4) { animation-delay: 0.1s; }
.bi-voice__eq i:nth-child(5) { animation-delay: 0.22s; }

@keyframes bi-eq {
  from { transform: scaleY(0.18); }
  to { transform: scaleY(1); }
}

/* ============ 8. 同图目标 ============ */
.bi-related {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.bi-related__group {
  overflow: hidden;
}

.bi-related__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: linear-gradient(180deg, #eff6ff, #f8f9fa);
  border-bottom: 1px solid var(--bi-line);
}

.bi-related__no {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--bi-amber-hi);
}

.bi-related__head strong {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #1f2937;
}

.bi-related__head em {
  margin-left: auto;
  padding: 2px 8px;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--bi-steel);
  border: 1px solid var(--bi-line);
  border-radius: 2px;
}

.bi-related__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
}

.bi-related__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px;
  overflow: hidden;
  background: rgba(255,255,255,0.50);
  border: 1px solid #e5e7eb;
  border-radius: 3px;
  transition: border-color 0.25s, transform 0.25s;
}

.bi-related__item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bi-stripe);
  opacity: 0;
  transition: opacity 0.3s;
}

.bi-related__item:hover::before {
  opacity: 0.14;
}

.bi-related__item:hover {
  transform: translateY(-2px);
  border-color: rgba(59,130,246,0.55);
}

.bi-related__item img {
  position: relative;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  object-fit: cover;
  background: #f8f9fa;
  border: 1px solid var(--bi-line);
  border-radius: 3px;
}

.bi-related__item div {
  position: relative;
  min-width: 0;
}

.bi-related__item b {
  display: block;
  font-size: 13px;
  color: #333333;
}

.bi-related__item span {
  display: block;
  margin-top: 1px;
  font-size: 11px;
  color: var(--bi-muted);
}

/* ============ 升级版 lightbox（总血量 + 部位速览条） ============ */
.bi-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px;
  background: rgba(10, 9, 7, 0.94);
  backdrop-filter: blur(3px);
  cursor: zoom-out;
}

.bi-lightbox__close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(59,130,246,0.6);
  border-radius: 999px;
  background: rgba(255,255,255,0.90);
  color: #3b82f6;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.bi-lightbox__close:hover {
  background: rgba(59,130,246,0.2);
  transform: translateY(-1px);
}

.bi-lightbox__img {
  display: block;
  max-width: 92vw;
  max-height: 82vh;
  border: 1px solid var(--bi-line);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(0,0,0,0.12);
}

.bi-lightstage {
  max-width: min(92vw, 640px);
}

.bi-lightstage img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 70vh;
  margin: 0 auto;
  border: 1px solid rgba(59,130,246,0.5);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(0,0,0,0.12);
}

.bi-lightbox__meta {
  display: grid;
  gap: 10px;
  max-width: min(92vw, 640px);
  color: var(--bi-text);
}

.bi-lightbox__title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 18px;
  font-weight: 900;
  color: #1f2937;
}

.bi-lightbox__title span {
  color: var(--bi-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.bi-lightbox__label {
  color: var(--bi-amber-hi);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-shadow: 0 0 10px rgba(59,130,246,0.3);
}

.bi-lightbox__parts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.bi-lightbox__part {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid var(--bi-line);
  border-radius: 4px;
  background: rgba(255,255,255,0.55);
  color: var(--bi-text);
  font-size: 12px;
  font-weight: 800;
}

.bi-lightbox__part strong {
  color: var(--bi-amber-hi);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 12px rgba(59,130,246,0.35);
}

.bi-lightbox__part em {
  font-style: normal;
  font-size: 11px;
  color: #b91c1c;
}

.bi-lightbox__cap {
  max-width: min(92vw, 640px);
  margin: 0;
  color: var(--bi-muted);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-align: center;
}

.bi-lightbox__hint {
  color: var(--bi-muted);
  font-size: 12px;
}

@media (prefers-reduced-motion: reduce) {
  .bi-annotate__line,
  .bi-annotate__dot,
  .bi-annotate__box {
    animation: none !important;
  }
}

@media (max-width: 620px) {
  .bi-lightbox {
    padding: 12px;
  }

  .bi-lightbox__title {
    font-size: 16px;
  }

  .bi-lightbox__part {
    gap: 4px;
    padding: 4px 8px;
    font-size: 11px;
  }

  .bi-lightbox__meta {
    max-width: 96vw;
  }
}

/* ============ 响应式 ≤960 ============ */
@media (max-width: 960px) {
  .bi-hero__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "figure"
      "bar";
    align-items: stretch;
    min-height: 0;
    padding: 26px 22px 30px;
  }

  .bi-hero__copy {
    max-width: none;
  }

  .bi-hero__figure {
    width: 100%;
    height: 300px;
    max-height: 320px;
    min-height: 0;
  }

  .bi-hero__figure img {
    object-position: center top;
  }

  .bi-hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bi-maps,
  .bi-related {
    grid-template-columns: 1fr;
  }

  .bi-gear {
    grid-template-columns: 1fr;
  }

  .bi-hp {
    grid-template-columns: 1fr;
  }

  .bi-lootgallery__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .bi-hero__voice {
    width: 100%;
    max-width: none;
  }

  .bi-hero__voice-info {
    max-width: none;
  }

  .bi-hero__bar {
    width: 100%;
    margin-top: 16px;
  }

  .bi-section__head {
    gap: 12px;
  }
}

/* ============ 响应式 ≤620 ============ */
@media (max-width: 620px) {
  .bi-main {
    width: calc(100% - 24px);
  }

  .bi-nav {
    top: 58px;
    margin: 12px 0 20px;
  }

  .bi-nav__link {
    padding: 10px 12px;
    font-size: 12px;
  }

  .bi-hero__title {
    font-size: clamp(34px, 11vw, 54px);
  }

  .bi-hero__en {
    letter-spacing: 0.18em;
  }

  .bi-hero__stats {
    gap: 8px;
  }

  .bi-hero__stat strong {
    font-size: 15px;
  }

  .bi-section {
    margin: 28px 0 0;
  }

  .bi-section__title h2 {
    font-size: 22px;
  }

  .bi-section__no {
    min-width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .bi-map__cells {
    grid-template-columns: 1fr;
  }

  .bi-hp__head {
    display: none;
  }

  .bi-hp__row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "part num"
      "bar  kill";
    gap: 8px;
  }

  .bi-hp__part { grid-area: part; }
  .bi-hp__num { grid-area: num; }
  .bi-hp__bar { grid-area: bar; }
  .bi-hp__kill { grid-area: kill; }

  .bi-lootgallery__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .bi-loot__row {
    gap: 10px;
    padding: 11px 12px;
  }

  .bi-loot__val {
    padding: 4px 9px;
    font-size: 12px;
  }

  .bi-tabs__tab {
    padding: 9px 18px;
    font-size: 13px;
  }

  .bi-gear__item {
    padding: 10px;
  }

  .bi-gear__img {
    flex-basis: 56px;
    width: 56px;
    height: 56px;
  }

  .bi-voice {
    flex-wrap: wrap;
    gap: 14px;
    padding: 16px;
  }

  .bi-voice__eq {
    display: none;
  }

  .bi-voice__meta span:nth-child(2) {
    display: none;
  }

  .bi-related__list {
    grid-template-columns: 1fr;
  }
}


/* ===== LightSNS 皮肤 · 内页方案 A「社区原味」 ===== */
html{background:#f5f6f7}
body.bi-page{background:#f5f6f7;color:#1f1f1f}
body.bi-page .bi-main{width:100%;max-width:none;margin:0;padding:0 0 24px}
body.bi-page .bi-nav,body.bi-page .bi-section{max-width:1280px;margin-left:auto;margin-right:auto}
body.bi-page .bi-hero{border-radius:0;border-left:0;border-right:0;box-shadow:none;overflow:hidden;margin-bottom:14px}
body.bi-page .bi-hero__stripe{display:none}
body.bi-page .bi-hero__inner{max-width:1280px;margin-left:auto;margin-right:auto;padding-left:24px;padding-right:24px}
body.bi-page .bi-hero__figure{border-radius:8px}
body.bi-page .bi-hero__stat{background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.18);border-radius:8px;box-shadow:none}
body.bi-page .bi-hero__stat span{color:rgba(255,255,255,.66)}
body.bi-page .bi-hero__stat strong{color:#fff}
body.bi-page .bi-hero *{--bi-text:#e8e2d6;--bi-muted:rgba(255,255,255,.76);--bi-line:rgba(255,255,255,.18)}
body.bi-page .bi-nav{background:#ffffff;border:0;border-radius:10px;box-shadow:0 1px 2px rgba(0,0,0,.04);padding:6px;display:flex;gap:6px;flex-wrap:wrap;margin:14px auto}
body.bi-page .bi-nav a{color:#1f1f1f;border-radius:4px;padding:6px 14px;font-size:13px;transition:all .15s ease}
body.bi-page .bi-nav a:hover{background:rgba(59,130,246,.10);color:#3b82f6}
body.bi-page .bi-nav a.is-active{background:#3b82f6;color:#fff;font-weight:600}
body.bi-page .bi-nav__link.is-active::after,body.bi-page .bi-nav a.is-active::after{display:none}
body.bi-page .bi-nav__link{position:relative;border-radius:4px;transition:all .15s ease}
body.bi-page .bi-section{background:#ffffff;border:0;box-shadow:0 1px 3px rgba(15,23,42,.07), 0 0 0 1px rgba(15,23,42,.045);border-radius:10px;padding:20px;margin:14px auto}
body.bi-page .bi-section h2,body.bi-page .bi-section h3,body.bi-page .bi-section h4{color:#1f2937}
body.bi-page .bi-section p,body.bi-page .bi-section li,body.bi-page .bi-section td{color:#1f1f1f}
body.bi-page .bi-section a{color:#3b82f6}
body.bi-page .bi-section a:hover{color:#2563eb}
body.bi-page .bi-section th{background:#f8fafc;color:#1f2937;border-color:#e5e7eb}
body.bi-page .bi-section__head{display:flex;align-items:center;gap:10px;padding:0 0 12px;margin-bottom:16px;border-bottom:1px solid #e5e7eb}
body.bi-page .bi-section__no{width:auto;height:auto;min-width:0;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;font-size:13px;font-weight:700;color:#3b82f6;letter-spacing:0}
body.bi-page .bi-section__title h2{font-size:17px;font-weight:600;letter-spacing:0;color:#1f2937;margin:0}
body.bi-page .bi-section__sub{font-size:12px;color:#909090;margin-top:2px}
body.bi-page .bi-related__group,body.bi-page .bi-panel{background:#fff;box-shadow:0 1px 3px rgba(15,23,42,.07), 0 0 0 1px rgba(15,23,42,.045);border-radius:10px;overflow:hidden}
body.bi-page .bi-related__head{background:#f8fafc;border-bottom:1px solid #e5e7eb;padding:10px 12px}
body.bi-page .bi-related__head strong{color:#1f2937;font-size:14px;font-weight:600;letter-spacing:0}
body.bi-page .bi-related__no{color:#3b82f6;font-size:12px;font-weight:700}
body.bi-page .bi-related__head em{color:#909090;border:1px solid #e5e7eb;border-radius:4px}
body.bi-page .bi-related__item{background:#fff;border:1px solid #e5e7eb;border-radius:8px}
body.bi-page .bi-related__item:hover{border-color:#3b82f666;box-shadow:0 2px 4px rgba(0,0,0,.06)}
body.bi-page .bi-section td{border-color:#e5e7eb}
body.bi-page .bi-section table{border-radius:8px;overflow:hidden}
body.bi-page .bi-main select,body.bi-page .bi-main input,body.bi-page .bi-main textarea{background:#f8fafc;border:1px solid #e5e7eb;border-radius:10px;color:#1f1f1f}
body.bi-page .bi-main select:focus,body.bi-page .bi-main input:focus{border-color:#3b82f6;background:#fff;box-shadow:0 0 0 3px rgba(59,130,246,.10);outline:0}
body.bi-page .bi-tabs{background:#f8fafc;border:1px solid #e5e7eb;border-radius:4px;padding:4px;display:inline-flex;gap:4px}
body.bi-page .bi-tabs button,body.bi-page .bi-tabs a{background:transparent;border:0;border-radius:4px;color:#606060;padding:6px 16px;font-size:13px;cursor:pointer;transition:all .15s ease}
body.bi-page .bi-tabs button:hover{color:#3b82f6}
body.bi-page .bi-tabs button.is-active,body.bi-page .bi-tabs button[aria-selected="true"],body.bi-page .bi-tabs a.is-active{background:#3b82f6;color:#fff;box-shadow:0 2px 6px rgba(59,130,246,.10)}
body.bi-page .bi-tabs__tab{background:#fff;border:1px solid #e5e7eb;border-radius:4px;color:#606060;clip-path:none;font-weight:600;letter-spacing:0;padding:8px 16px}
body.bi-page .bi-tabs__tab:hover{background:#f8fafc;color:#3b82f6}
body.bi-page .bi-tabs__tab.is-active{background:#eff6ff;border-color:#3b82f655;color:#2563eb;box-shadow:none}
body.bi-page .bi-tabs__nav{display:flex;flex-direction:column;gap:6px}
body.bi-page .bi-lootcard{background:#fff;border:0;border-radius:10px;padding:8px;box-shadow:0 1px 2px rgba(0,0,0,.04);transition:all .15s ease}
body.bi-page .bi-lootcard:hover{background:#fff;box-shadow:0 4px 12px rgba(0,0,0,.08);transform:translateY(-2px)}
body.bi-page .bi-lootcard__img{border-radius:undefined;overflow:hidden;box-shadow:0 1px 3px rgba(15,23,42,.10)}
body.bi-page .bi-lootcard__img img{border-radius:undefined}
body.bi-page .bi-lootcard b,body.bi-page .bi-lootcard strong{color:#1f2937}
body.bi-page .bi-lootcard span,body.bi-page .bi-lootcard small{color:#606060}
body.bi-page .bi-hp > *,body.bi-page .bi-gear > *{background:#f8fafc;border:1px solid #e5e7eb;border-radius:8px}
body.bi-page .bi-hp__total{background:#f8fafc;border:1px solid #e5e7eb;border-radius:8px;box-shadow:none}
body.bi-page .bi-hp__total span{color:#606060}
body.bi-page .bi-hp__total strong{color:#1f2937;font-weight:700}
body.bi-page .bi-hp__head,body.bi-page .bi-hp__row{border-bottom:1px solid #e5e7eb}
@media (max-width:900px){body.bi-page .bi-related__list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){body.bi-page .bi-related{grid-template-columns:1fr}body.bi-page .bi-related__list{grid-template-columns:repeat(2,minmax(0,1fr))}}
body.bi-page .bi-hp strong,body.bi-page .bi-gear strong{color:#1f2937}
body.bi-page .bi-map__thumb{border:1px solid #e5e7eb;border-radius:8px;overflow:hidden;background:#f3f4f6}
body.bi-page .bi-related a{background:#f8fafc;border:1px solid #e5e7eb;border-radius:4px;color:#1f1f1f;transition:all .15s ease}
body.bi-page .bi-related a:hover{background:rgba(59,130,246,.10);border-color:#3b82f6;color:#3b82f6}
body.bi-page .bi-lootcard{border-left:0}
body.bi-page .bi-lootcard::after{content:"";position:absolute;inset:auto 0 0 0;height:2px;background:linear-gradient(90deg,#3b82f6,#8b5cf6);opacity:0;transition:opacity .15s ease}
body.bi-page .bi-lootcard{position:relative;overflow:hidden}
body.bi-page .bi-lootcard:hover::after{opacity:1}
body.bi-page ::-webkit-scrollbar{width:10px;height:10px}
body.bi-page ::-webkit-scrollbar-track{background:#f1f5f9}
body.bi-page ::-webkit-scrollbar-thumb{background:#cfd6de;border-radius:9999px;border:2px solid #f1f5f9}

/* ==========================================================================
   放大 lightbox 的缩放/平移（2026-09-26）
   互动规则对齐文章页 eyou-template-modern.js 的 Fancybox panzoom：
   滚轮 ×1.18 / ÷0.86、区间 1–6、双击 1×↔2×、以光标为原点、放大后拖拽平移。
   transform 统一作用在 .bi-lightstage（图片 + 标注层一起变换）。
   ========================================================================== */
.bi-lightbox { cursor: default; }
.bi-lightstage {
  position: relative; display: inline-block; max-width: min(92vw, 640px);
  transform-origin: 0 0; will-change: transform; touch-action: none; cursor: zoom-in;
}
.bi-lightstage.is-zoomed { cursor: grab; }
.bi-lightstage.is-dragging { cursor: grabbing; }
/* 无标注（掉落物资 / 刷新地图）时放宽尺寸上限，与独立 img 版一致 */
.bi-lightstage--plain { max-width: 92vw; }
.bi-lightstage--plain img { max-width: 92vw; max-height: 82vh; }

.bi-lightzoom {
  position: absolute; left: 50%; bottom: 18px; z-index: 2; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 4px; padding: 5px 8px;
  border: 1px solid var(--bi-line); border-radius: 999px;
  background: rgba(255, 255, 255, 0.94); box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
}
.bi-lightzoom button {
  min-width: 32px; height: 30px; padding: 0 8px;
  border: 1px solid var(--bi-line); border-radius: 6px;
  background: #fff; color: #1f1f1f; font-size: 14px; font-weight: 900; line-height: 1; cursor: pointer;
}
.bi-lightzoom button:hover { border-color: var(--bi-amber); color: var(--bi-amber-hi); }
.bi-lightzoom__value {
  min-width: 46px; color: var(--bi-muted); font-size: 12px; font-weight: 800;
  text-align: center; font-variant-numeric: tabular-nums;
}

/* 放大后图片会溢出自身盒子压住下方说明：缩放期间淡出说明区（工具条保留，含百分比读数） */
.bi-lightbox__cap, .bi-lightbox__meta { transition: opacity 0.18s ease; }
.bi-lightbox.is-zoomed .bi-lightbox__cap,
.bi-lightbox.is-zoomed .bi-lightbox__meta { opacity: 0; pointer-events: none; }

/* 标注文字/圆点反向缩放：位置随图走，字号保持可读（transform-origin 对齐各自锚点） */
.bi-annotate__box { transform-origin: 0 50%; transform: translateY(-50%) scale(var(--bi-anno-inv, 1)); }
.bi-annotate__box--left { transform-origin: 100% 50%; transform: translate(-100%, -50%) scale(var(--bi-anno-inv, 1)); }
.bi-annotate__dot { transform-origin: 50% 50%; transform: translate(-50%, -50%) scale(var(--bi-anno-inv, 1)); }

/* ===== 2026-09-30 内页返修：页签布局bug + 装备/同图版面 + 打法攻略模块 =====
   1) 09-24 浅色层误把 .bi-tabs（页签容器整体）设为 inline-flex（本意只改页签条），
      装备网格被压成收缩宽度 → 右侧大片空白；容器复原 block，胶囊样式下放到 __nav。
   2) 装备网格 auto-fill 铺满；卡片去旧工业白黑渐变。
   3) 同图会遇到谁：组列 auto-fit（单组也铺满），组内条目自适应列数。
   4) 新增 .bi-guide 打法攻略（要点 + B 站教学视频）。 */
body.bi-page .bi-tabs{display:block;background:transparent;border:0;padding:0;box-shadow:none}
body.bi-page .bi-tabs__nav{display:inline-flex;gap:4px;padding:4px;background:#f1f5f9;border:1px solid #e5e7eb;border-radius:999px}
body.bi-page .bi-tabs button{border-radius:999px;padding:7px 18px}
body.bi-page .bi-gear{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px}
body.bi-page .bi-gear__item{background:#ffffff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:none}
body.bi-page .bi-gear__item:hover{transform:translateY(-2px);border-color:rgba(59,130,246,.45);box-shadow:0 8px 20px rgba(15,23,42,.10)}
body.bi-page .bi-gear__img{background:#ffffff;border:1px solid #f1f5f9}
body.bi-page .bi-gear__info b{color:#1f2937}
body.bi-page .bi-gear__info span{color:#909090}
body.bi-page .bi-related{grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr))}
body.bi-page .bi-related__head{background:#ffffff;border-bottom:1px solid #e5e7eb}
body.bi-page .bi-related__no{color:#2563eb}
body.bi-page .bi-related__list{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:8px;padding:12px}
body.bi-page .bi-related__item{border:1px solid #e5e7eb;border-radius:8px;background:#ffffff;padding:8px 10px}
body.bi-page .bi-related__item img{border-radius:8px}
body.bi-page .bi-related__item:hover{border-color:rgba(59,130,246,.45)}
body.bi-page .bi-section__no{color:#2563eb}
body.bi-page .bi-guide__body{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:16px;align-items:start}
body.bi-page .bi-guide__points{display:grid;gap:10px}
body.bi-page .bi-guide__point{display:grid;grid-template-columns:112px minmax(0,1fr);gap:12px;padding:12px 14px;background:#f8fafc;border:1px solid #e5e7eb;border-radius:8px}
body.bi-page .bi-guide__point b{color:#1f2937;font-size:13px;font-weight:800}
body.bi-page .bi-guide__point p{margin:0;color:#606060;font-size:13px;line-height:1.7}
body.bi-page .bi-guide__video{display:grid;gap:8px}
body.bi-page .bi-guide__frame{position:relative;aspect-ratio:16/9;border-radius:10px;overflow:hidden;border:1px solid #e5e7eb;background:#0f172a}
body.bi-page .bi-guide__frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
body.bi-page .bi-guide__vlink{font-size:12px;color:#606060;text-decoration:none}
body.bi-page .bi-guide__vlink:hover{color:#2563eb}
@media (max-width:960px){
  body.bi-page .bi-guide__body{grid-template-columns:1fr}
  body.bi-page .bi-guide__point{grid-template-columns:1fr;gap:4px}
}

/* ===== 2026-09-30 内页二次返修：去序号 + 地图单卡铺满 + 页签重做 + 语音播放器 ===== */
/* 1) 区块标题前序号去掉（原徽章 16px 宽裁字，用户指令直接移除） */
body.bi-page .bi-section__no{display:none}
/* 2) 刷新地图：原固定 2 列，单图 Boss 右半空白被看成"缺图"；auto-fit 单卡铺满 */
body.bi-page .bi-maps{grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr))}
/* 3) 武器/装备页签重做：等宽分段控件 */
body.bi-page .bi-tabs__nav{display:inline-flex;gap:4px;padding:4px;background:#f1f5f9;border:1px solid #e5e7eb;border-radius:10px}
body.bi-page .bi-tabs button{display:inline-flex;align-items:center;justify-content:center;min-width:96px;border-radius:7px;padding:8px 20px;font-weight:700}
body.bi-page .bi-tabs button.is-active,body.bi-page .bi-tabs button[aria-selected="true"]{background:#2563eb;color:#ffffff}
/* 4) Boss 语音条：深色玻璃胶囊播放器（位于深色 hero 上） */
body.bi-page .bi-hero__voice{display:inline-flex;align-items:center;gap:10px;min-height:46px;padding:7px 16px 7px 7px;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:rgba(15,23,42,.55);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
body.bi-page .bi-hero__voice-toggle{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:0;border-radius:999px;background:#2563eb;color:#ffffff;cursor:pointer;transition:background .15s ease}
body.bi-page .bi-hero__voice-toggle:hover{background:#1d4ed8}
body.bi-page .bi-hero__voice-meta{display:flex;align-items:center;gap:8px}
body.bi-page .bi-hero__voice-label{color:rgba(255,255,255,.92);font-size:12px;font-weight:700;letter-spacing:.06em}
body.bi-page .bi-hero__voice-time{color:rgba(255,255,255,.66);font-size:12px;font-variant-numeric:tabular-nums}
body.bi-page .bi-hero__voice-bar{height:3px;border-radius:999px;background:rgba(255,255,255,.18);overflow:hidden}
body.bi-page .bi-hero__voice-fill{background:#60a5fa}
/* 攻略要点左侧标签自适应防裁 */
body.bi-page .bi-guide__point{grid-template-columns:auto minmax(0,1fr)}
body.bi-page .bi-guide__point b{white-space:nowrap}
/* 攻略要点行回退：auto+nowrap 组合会把正文列挤爆（内容溢出 29px），恢复固定标签列 */
body.bi-page .bi-guide__point{grid-template-columns:112px minmax(0,1fr)}
body.bi-page .bi-guide__point b{white-space:normal}
/* 款E「霓虹终端」：深蓝黑底 + 青色霓虹描边 + 发光数字，游戏味最浓 */
.bi-lightbox{background:rgba(6,10,20,.97);gap:14px}
.bi-lightbox__close{top:16px;right:18px;width:42px;height:42px;border:1px solid rgba(34,211,238,.5);border-radius:6px;background:rgba(8,15,30,.9);color:#22d3ee;font-size:20px;box-shadow:0 0 18px rgba(34,211,238,.25)}
.bi-lightbox__close:hover{background:rgba(34,211,238,.15);box-shadow:0 0 24px rgba(34,211,238,.45);transform:none}
.bi-lightstage{max-width:min(92vw,700px);position:relative}
.bi-lightstage img,.bi-lightbox__img{border:1px solid rgba(34,211,238,.35);border-radius:8px;background:#060a14;box-shadow:0 0 0 1px rgba(34,211,238,.12),0 0 42px rgba(34,211,238,.16),0 30px 80px rgba(0,0,0,.6)}
.bi-lightzoom{background:rgba(8,15,30,.92);border:1px solid rgba(34,211,238,.4);border-radius:8px;padding:4px;gap:2px;box-shadow:0 0 20px rgba(34,211,238,.18)}
.bi-lightzoom button{border:0;border-radius:6px;background:transparent;color:#7dd3fc;min-width:36px;height:32px;font-size:15px}
.bi-lightzoom button:hover{background:rgba(34,211,238,.16);color:#e0faff}
.bi-lightzoom__value{color:#22d3ee;font-variant-numeric:tabular-nums;min-width:54px;text-align:center;font-size:12px;letter-spacing:.06em}
.bi-lightbox__meta{gap:8px;max-width:min(92vw,700px)}
.bi-lightbox__title{color:#e0faff;font-size:17px;text-shadow:0 0 14px rgba(34,211,238,.35)}
.bi-lightbox__title span{color:#22d3ee}
.bi-lightbox__label{color:#22d3ee;letter-spacing:.3em;text-shadow:0 0 12px rgba(34,211,238,.5);font-size:10px}
.bi-lightbox__parts{gap:6px}
.bi-lightbox__part{border:1px solid rgba(34,211,238,.28);border-radius:4px;background:rgba(8,15,30,.85);color:#b6ecf7;font-weight:600}
.bi-lightbox__part strong{color:#22d3ee;text-shadow:0 0 10px rgba(34,211,238,.45)}
.bi-lightbox__part em{color:#fda4af}
.bi-lightbox__cap{color:#5b7d95;letter-spacing:.05em}
.bi-lightbox__hint{color:#3f5a70;font-size:11.5px}
/* E 款补充：部位标注层霓虹化（引线/圆点/标签统一青色系，在深蓝黑底上更醒目） */
.bi-annotate__line{stroke:rgba(34,211,238,.9);filter:drop-shadow(0 0 5px rgba(34,211,238,.6))}
.bi-annotate__dot{background:radial-gradient(circle at 35% 30%,#e0faff,#22d3ee 55%,#0891b2);box-shadow:0 0 12px rgba(34,211,238,.95),0 0 0 2px rgba(224,250,255,.9)}
.bi-annotate__box{background:linear-gradient(180deg,rgba(8,15,30,.94),rgba(12,22,40,.92));border-color:rgba(34,211,238,.5);box-shadow:0 8px 22px rgba(0,0,0,.4),0 0 16px rgba(34,211,238,.18)}
.bi-annotate__box em{color:#b6ecf7}
.bi-annotate__box strong{color:#22d3ee;text-shadow:0 0 10px rgba(34,211,238,.5)}

/* ===== 2026-09-30 血量检查表返修：去旧工业风残留，统一白卡蓝系 ===== */
/* 总血量块：去掉蓝渐变横幅+顶部色条+发光，改浅灰圆角信息条 */
body.bi-page .bi-hp__total{background:#f8fafc;border:1px solid #e5e7eb;border-top:1px solid #e5e7eb;border-radius:8px;padding:12px 16px}
body.bi-page .bi-hp__total span{color:#606060;letter-spacing:.1em}
body.bi-page .bi-hp__total strong{color:#1f2937;font-size:26px;text-shadow:none}
/* 部位名/数字：深灰统一中性色，发光全去 */
body.bi-page .bi-hp__part{color:#1f2937}
body.bi-page .bi-hp__num{color:#606060}
body.bi-page .bi-hp__kill{color:#2563eb;text-shadow:none}
/* 血量条：去内阴影和发光，细条圆角浅轨道 */
body.bi-page .bi-hp__bar{height:10px;border:1px solid #e5e7eb;border-radius:999px;background:#f1f5f9;box-shadow:none}
body.bi-page .bi-hp__row--high .bi-hp__bar i{background:linear-gradient(90deg,#f87171,#dc2626);box-shadow:none}
body.bi-page .bi-hp__row--mid .bi-hp__bar i{background:linear-gradient(90deg,#60a5fa,#2563eb);box-shadow:none}
body.bi-page .bi-hp__row--low .bi-hp__bar i{background:linear-gradient(90deg,#34d399,#059669);box-shadow:none}
/* 行分隔与悬停、护甲标签、弹药下拉对齐蓝系 */
body.bi-page .bi-hp__row{border-top:1px solid #f1f5f9}
body.bi-page .bi-hp__row:hover{background:#f8fafc}
body.bi-page .bi-hp__tag--has{color:#b91c1c;background:rgba(220,38,38,.08);border-color:rgba(220,38,38,.28)}
body.bi-page .bi-hp__select{color:#1f2937;background:#ffffff;border:1px solid #e5e7eb;border-radius:6px}
body.bi-page .bi-hp__select:focus-visible{outline:2px solid rgba(59,130,246,.35);outline-offset:1px}

/* ==========================================================================
   2026-10-19 Boss 内页「刷新地图」卡片重做
   问题（截图 + DOM 实测）：
   1) 卡片圆角 10px、缩略图另有 8px 圆角 + 1px 边框 → 图片四角出现白缝/直角；
   2) 「刷新率 xx%」是纯蓝方块（3b82f6），压在图上边界发虚，圆角语言与卡片不一致；
   3) 时机/触发/位置被画成三个独立白框（框套框），桌面单行内容却占 89px 高；
   4) 无链接的卡片靠 flex 撑满，底部留大片空白，两卡内容基线不对齐；
   5) 标题前 8px 实心方块 + 链接下 3px 蓝条，层级弱、观感偏旧；
   6) 移动端三格逐行堆叠，单卡 486px 过长。
   改法：统一圆角与描边 → 深色玻璃徽章 → 信息并入一个内嵌面板（列间细线）
        → 卡片按内容高度对齐 → 菱形点 + 轻量按钮链接 → 窄屏两列并排。
   仅覆盖样式，不改模板/正文结构。
   ========================================================================== */

/* 1) 卡片本体：与缩略图共用一套圆角，消除"双层圆角白缝" */
body.bi-page .bi-map{
  border-radius:12px;
  border:1px solid #e5e7eb;
  background:#fff;
  box-shadow:0 1px 2px rgba(15,23,42,.05);
  overflow:hidden;
  transition:border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
body.bi-page .bi-map:hover{
  border-color:rgba(59,130,246,.38);
  box-shadow:0 8px 24px rgba(15,23,42,.10);
  transform:translateY(-2px);
}
body.bi-page .bi-map__thumb{
  border:0;
  border-radius:0;
  border-bottom:1px solid #eef1f4;
  background:#f3f4f6;
  /* 单卡铺满整行时 16:9 会高达 500px+，给缩略图一个上限，信息不被图挤到屏外 */
  max-height:340px;
}
body.bi-page .bi-map__thumb img{max-height:340px}
/* 无图 Boss（破冰船/终端等）：占位条不再按 16:9 拉满整行 */
body.bi-page .bi-map--nodata .bi-map__warn,
body.bi-page .bi-map__warn{
  aspect-ratio:auto;
  min-height:180px;
  max-height:260px;
}

/* 2) 刷新率徽章：深色玻璃 + 细描边，压任意底图都清晰，圆角统一 */
body.bi-page .bi-map__rate{
  top:12px;
  right:12px;
  padding:5px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.02em;
  color:#fff;
  background:rgba(15,23,42,.72);
  border:1px solid rgba(255,255,255,.22);
  box-shadow:0 2px 8px rgba(15,23,42,.24);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
}
body.bi-page .bi-map--nodata .bi-map__rate{
  background:rgba(185,28,28,.86);
  border-color:rgba(255,255,255,.28);
}

/* 3) 卡片正文：紧凑间距；链接贴底但不硬撑 */
body.bi-page .bi-map__body{
  padding:14px 16px 16px;
  gap:12px;
  flex:0 1 auto;
}
body.bi-page .bi-map__name{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:17px;
  font-weight:800;
  letter-spacing:0;
  color:#111827;
}
/* 菱形小点：工业语气，非"左侧竖条"装饰 */
body.bi-page .bi-map__name::before{
  content:"";
  flex:none;
  width:7px;
  height:7px;
  margin:0;
  border-radius:1px;
  background:#3b82f6;
  transform:rotate(45deg);
  box-shadow:none;
}

/* 4) 信息区：一个内嵌面板 + 三列；「位置」内容长，给更多宽度 */
body.bi-page .bi-map__cells{
  display:grid;
  grid-template-columns:minmax(0,.85fr) minmax(0,.85fr) minmax(0,1.3fr);
  gap:0;
  padding:0;
  background:#f8fafc;
  border:1px solid #eef1f4;
  border-radius:10px;
  overflow:hidden;
}
body.bi-page .bi-map__cell{
  padding:10px 12px;
  background:transparent;
  border:0;
  border-radius:0;
  border-left:1px solid #eef1f4;
}
body.bi-page .bi-map__cell:first-child{border-left:0}
body.bi-page .bi-map__cell span{
  display:block;
  margin-bottom:4px;
  font-size:11px;
  font-weight:600;
  letter-spacing:.02em;
  text-transform:none;
  color:#8b95a1;
}
body.bi-page .bi-map__cell strong{
  display:block;
  font-size:13px;
  font-weight:700;
  line-height:1.55;
  color:#111827;
  overflow-wrap:anywhere;
}

/* 5) 互动地图链接：模板已带 ➽ 字形，只做轻量按钮，不叠箭头伪元素 */
body.bi-page .bi-map__link{
  display:inline-flex;
  align-items:center;
  align-self:flex-start;
  padding:6px 11px;
  border-radius:8px;
  font-size:12px;
  font-weight:700;
  letter-spacing:0;
  color:#2563eb;
  background:rgba(59,130,246,.08);
  border:1px solid rgba(59,130,246,.18);
  transition:background .16s ease, border-color .16s ease, color .16s ease;
}
body.bi-page .bi-map__link::after{
  content:none;
  display:none;
}
body.bi-page .bi-map__link:hover{
  color:#1d4ed8;
  background:rgba(59,130,246,.14);
  border-color:rgba(59,130,246,.34);
}

/* 6) 同一行卡片等高对齐（多图 Boss 的 4/5 张卡不再像散落方块） */
body.bi-page .bi-maps{
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  align-items:stretch;
}
body.bi-page .bi-map__body{flex:1 1 auto;justify-content:flex-start}
body.bi-page .bi-map__link{margin-top:auto}

/* 7) 窄屏：860 以下单列（多列时「位置」只剩约 190px，碎行严重）；
      手机档把时机/触发并排、位置跨列，单卡明显变短 */
@media (max-width:860px){
  body.bi-page .bi-maps{grid-template-columns:1fr}
}
@media (max-width:620px){
  body.bi-page .bi-map__cells{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  body.bi-page .bi-map__cell{
    border-left:1px solid #eef1f4;
    border-top:1px solid #eef1f4;
  }
  body.bi-page .bi-map__cell:first-child{border-top:0}
  body.bi-page .bi-map__cell:nth-child(2){border-top:0}
  body.bi-page .bi-map__cell:nth-child(2n+1){border-left:0}
  body.bi-page .bi-map__cell:nth-child(3){
    grid-column:1 / -1;
    border-left:0;
  }
}

/* ==========================================================================
   2026-10-19 Boss 血量检查表「弹药选择」移动端溢出修复
   实测（390 视口）：.bi-hp__total 宽 316px 但 scrollWidth 446px，
   原因是"总血量 890 + 弹药 <select>"同处一个 nowrap flex 行，
   select 的 option 文本把行撑破，右侧超出容器 130px（被裁掉）。
   改法：≤560px 把弹药选择换行到第二行并占满整行。
   ========================================================================== */
@media (max-width: 560px) {
  body.bi-page .bi-hp__total {
    flex-wrap: wrap;
    row-gap: 8px;
  }
  body.bi-page .bi-hp__ammo {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  body.bi-page .bi-hp__ammo .bi-hp__select {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    max-width: 100%;
  }
}

/* ==========================================================================
   2026-10-20 刷新地图放大体验修复
   1) 根因：2396 行的 .bi-lightstage--plain{max-width:92vw} 被 2492 行后出现的
      .bi-lightstage{max-width:min(92vw,700px)} 覆盖（同特异性、后者在后），而
      --plain img 的 max-width 是 92vw。1358px 宽的刷新地图于是按 1151px 渲染、
      塞进 700px 的 stage 里向右溢出 → 弹层整体偏右、右侧被视口裁掉，clampPan
      又按 stage 边界判定，图片真实边界失效，拖拽手感错乱。
      这里在文件末尾重置：stage 宽度跟随图片，图片始终完整落在视口内。
   2) 100% 时图片若仍高于可视区（矮屏/长图），同步收窄高度上限，避免压住底部说明。
   3) 放大后 stage 铺满视口会盖住关闭按钮，给 __close 提层。
   4) 缩略图整块可点（cursor: zoom-in），图片本身不吃指针事件，命中统一交给容器。
   ========================================================================== */
.bi-lightstage--plain { max-width: 100%; }
.bi-lightstage--plain img {
  max-width: 100%;
  max-height: calc(100vh - 168px);
  margin: 0;
}
/* 放大后图片铺满视口：关闭按钮必须在 stage 之上，否则被覆盖导致"关不掉" */
.bi-lightbox__close { z-index: 6; }
.bi-map__thumb { cursor: zoom-in; }
.bi-map__thumb img { pointer-events: none; }

