/* ══════════════════════════════════
   怪谈游戏 UI — 全息裂隙 · 固屏唯一ID版
   ══════════════════════════════════ */

.game-wrap {
  position: relative;
  background: linear-gradient(135deg, #0a0018, #04081e, #0e0420, #030a1c);
  background-size: 400% 400%;
  animation: bgFlow 25s ease infinite;
  border-radius: 14px;
  padding: 14px 12px 0;
  height: 82vh;
  overflow: hidden;
  border: 1px solid rgba(140, 80, 255, 0.12);
  box-shadow: 0 0 60px rgba(100,40,200,0.08), inset 0 0 80px rgba(0,0,0,0.7);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  color: #d0c8e8;
  font-size: 14px;
  line-height: 1.7;
}
@keyframes bgFlow {
  0%,100% { background-position: 0% 50%; }
  25% { background-position: 50% 0%; }
  50% { background-position: 100% 50%; }
  75% { background-position: 50% 100%; }
}
.game-wrap::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none; z-index: 150;
  background:
    linear-gradient(37deg, transparent 47.5%, rgba(140,70,255,0.12) 48%, rgba(140,70,255,0.25) 48.3%, transparent 49%),
    linear-gradient(152deg, transparent 61%, rgba(0,200,255,0.08) 61.2%, rgba(0,200,255,0.18) 61.4%, transparent 62%),
    linear-gradient(83deg, transparent 33%, rgba(180,100,255,0.06) 33.15%, transparent 33.4%),
    linear-gradient(198deg, transparent 72%, rgba(0,220,255,0.05) 72.1%, transparent 72.3%);
  animation: crackBreathe 8s ease-in-out infinite;
}
@keyframes crackBreathe { 0%,100% { opacity: 0.4; } 50% { opacity: 0.7; } }
.game-wrap::after {
  content: "";
  position: absolute; bottom: 55px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 3%, rgba(140,80,255,0.2) 20%, rgba(0,200,255,0.3) 50%, rgba(140,80,255,0.2) 80%, transparent 97%);
  z-index: 101;
  animation: lineFlicker 4s ease-in-out infinite;
}
@keyframes lineFlicker { 0%,100% { opacity: 0.6; } 50% { opacity: 1; } }

.think-chain { display: none !important; }

/* ══════════════════════════════════
   所有页面——统一尺寸基础
   ══════════════════════════════════ */
.game-wrap > .page {
  display: none;
  animation: shardAssemble 0.5s cubic-bezier(0.16,1,0.3,1);
  height: calc(82vh - 14px - 54px);
  overflow-y: scroll;
  overflow-x: hidden;
  padding: 14px;
  width: 100%;
  box-sizing: border-box;
}
.game-wrap > [class~="p1"] { display: block; }
.game-wrap > .page:target { display: block; }
.game-wrap > .page:target ~ [class~="p1"]:not(:target) { display: none; }
@keyframes shardAssemble {
  0% { opacity: 0; transform: scale(0.94) translateY(12px); filter: blur(3px); }
  60% { opacity: 1; filter: blur(0.5px); }
  100% { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
}

.game-wrap > .page::-webkit-scrollbar { width: 4px; }
.game-wrap > .page::-webkit-scrollbar-track { background: transparent; }
.game-wrap > .page::-webkit-scrollbar-thumb { background: rgba(140,80,255,0.2); border-radius: 4px; }
.game-wrap > .page::-webkit-scrollbar-thumb:hover { background: rgba(140,80,255,0.4); }

/* ══════════════════════════════════
   Tab栏
   ══════════════════════════════════ */
.tab-bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; justify-content: space-around; align-items: center;
  height: 54px;
  background: rgba(5,3,18,0.96);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(140,80,255,0.1);
  padding: 0 4px; z-index: 100;
}
.tab-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; padding: 6px 4px; font-size: 10px;
  color: rgba(160,140,200,0.4); border-radius: 8px; cursor: pointer;
  transition: all 0.35s ease; flex: 1; text-align: center;
  text-decoration: none; position: relative; letter-spacing: 0.3px;
}
.tab-btn::after {
  content: ""; position: absolute; bottom: 5px; left: 50%;
  transform: translateX(-50%); width: 5px; height: 5px; border-radius: 50%;
  background: rgba(100,60,180,0.2); transition: all 0.4s ease;
}
@keyframes ledPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.6; } }
.tab-1 { color: rgba(180,140,255,0.9); font-weight: 600; }
.tab-1::after {
  background: #b060ff;
  box-shadow: 0 0 8px #b060ff, 0 0 16px rgba(176,96,255,0.4);
  animation: ledPulse 2s ease-in-out infinite;
}
.page:target ~ .tab-bar .tab-1 { color: rgba(160,140,200,0.4); font-weight: 400; }
.page:target ~ .tab-bar .tab-1::after { background: rgba(100,60,180,0.2); box-shadow: none; animation: none; }
[id^="pg1"]:target ~ .tab-bar .tab-1 { color: rgba(180,140,255,0.9) !important; font-weight: 600 !important; }
[id^="pg1"]:target ~ .tab-bar .tab-1::after { background: #b060ff !important; box-shadow: 0 0 8px #b060ff, 0 0 16px rgba(176,96,255,0.4) !important; animation: ledPulse 2s ease-in-out infinite !important; }
[id^="pg2"]:target ~ .tab-bar .tab-2,
[id^="pg3"]:target ~ .tab-bar .tab-3,
[id^="pg4"]:target ~ .tab-bar .tab-4,
[id^="pg5"]:target ~ .tab-bar .tab-5,
[id^="pg6"]:target ~ .tab-bar .tab-6 { color: rgba(180,140,255,0.9); font-weight: 600; }
[id^="pg2"]:target ~ .tab-bar .tab-2::after,
[id^="pg3"]:target ~ .tab-bar .tab-3::after,
[id^="pg4"]:target ~ .tab-bar .tab-4::after,
[id^="pg5"]:target ~ .tab-bar .tab-5::after,
[id^="pg6"]:target ~ .tab-bar .tab-6::after {
  background: #b060ff;
  box-shadow: 0 0 8px #b060ff, 0 0 16px rgba(176,96,255,0.4);
  animation: ledPulse 2s ease-in-out infinite;
}

/* ══════════════════════════════════
   P1 正文页
   ══════════════════════════════════ */
.p1 {
  position: relative;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(100,40,180,0.04) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(0,150,200,0.03) 0%, transparent 50%),
    rgba(8,4,20,0.75);
  border: 1px solid rgba(140,80,255,0.08);
  border-radius: 8px;
  box-shadow: inset 0 0 50px rgba(0,0,0,0.5), 0 0 30px rgba(100,40,200,0.04);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.p1 > p {
  margin: 0 0 18px; text-indent: 2em; text-align: justify; line-height: 2; color: #e0d8f8;
}
.danger-low { border-color: rgba(100,200,150,0.1); }
.danger-mid { border-color: rgba(140,80,255,0.12); animation: riftMid 7s ease-in-out infinite; }
@keyframes riftMid {
  0%,100% { box-shadow: inset 0 0 50px rgba(0,0,0,0.5), 0 0 30px rgba(100,40,200,0.04); }
  50% { box-shadow: inset 0 0 50px rgba(0,0,0,0.5), 0 0 40px rgba(100,40,200,0.08); }
}
.danger-high { border-color: rgba(255,80,120,0.12); animation: riftHigh 4s ease-in-out infinite; }
@keyframes riftHigh {
  0%,100% { box-shadow: inset 0 0 50px rgba(0,0,0,0.5), 0 0 30px rgba(200,40,80,0.05); border-color: rgba(255,80,120,0.12); }
  50% { box-shadow: inset 0 0 50px rgba(0,0,0,0.5), 0 0 50px rgba(200,40,80,0.1); border-color: rgba(255,80,120,0.2); }
}
.danger-extreme { border-color: rgba(255,20,60,0.2); animation: riftExtreme 2s ease-in-out infinite, riftShake 0.1s linear infinite; }
@keyframes riftExtreme {
  0%,100% { box-shadow: inset 0 0 50px rgba(0,0,0,0.5), 0 0 40px rgba(255,0,40,0.08); }
  50% { box-shadow: inset 0 0 50px rgba(0,0,0,0.5), 0 0 60px rgba(255,0,40,0.15), inset 0 0 30px rgba(255,0,40,0.03); }
}
@keyframes riftShake {
  0%,100% { transform: translate(0); }
  20% { transform: translate(0.6px,-0.3px); }
  60% { transform: translate(-0.4px,0.5px); }
}

.actions {
  margin-top: 28px; padding-top: 16px;
  border-top: 1px solid rgba(140,80,255,0.08);
}
.actions-title {
  font-size: 11px; color: rgba(180,140,255,0.5);
  margin: 0 0 12px; text-align: center; letter-spacing: 2px;
}
.act-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.act {
  margin: 0; padding: 12px; font-size: 12px; color: #c0b8e0;
  background: rgba(20,10,50,0.5); border: 1px solid rgba(140,80,255,0.1);
  border-radius: 10px; text-align: center; text-indent: 0; line-height: 1.4;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1); cursor: default;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.act:hover {
  background: rgba(30,15,70,0.6); border-color: rgba(180,100,255,0.3);
  color: #e8e0ff; transform: perspective(600px) rotateY(2deg) translateZ(4px);
  box-shadow: 0 4px 20px rgba(140,60,255,0.12);
}

/* ══════════════════════════════════
   P2 世界信息页
   ══════════════════════════════════ */
.world-header {
  background: rgba(15,8,40,0.5); border: 1px solid rgba(0,200,255,0.1);
  border-radius: 8px; padding: 10px 14px; margin-bottom: 14px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.world-header p { margin: 0 0 3px; font-size: 13px; color: #70c0d8; }
.world-header p:nth-child(2) {
  color: #00e8ff;
  font-weight: 600;
  text-shadow: 0 0 8px rgba(0,232,255,0.3);
  animation: timePulse 3s ease-in-out infinite;
}
@keyframes timePulse {
  0%,100% { text-shadow: 0 0 8px rgba(0,232,255,0.3); }
  50% { text-shadow: 0 0 14px rgba(0,232,255,0.5), 0 0 4px rgba(0,200,255,0.2); }
}

.danmaku {
  background: rgba(8,4,20,0.6); border-radius: 8px;
  padding: 12px 12px 0; margin-bottom: 14px;
  border: 1px solid rgba(139,92,246,0.08); overflow: hidden; position: relative;
}
.danmaku::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(139,92,246,0.015) 3px, rgba(139,92,246,0.015) 4px);
  pointer-events: none; animation: noiseScroll 2s linear infinite;
}
@keyframes noiseScroll { from { transform: translateY(0); } to { transform: translateY(4px); } }
.dm-title { font-size: 12px; color: rgba(167,139,250,0.7); margin: 0 0 10px; font-weight: 600; letter-spacing: 1px; }
.dm-track { position: relative; min-height: 125px; overflow: hidden; }
.dm {
  position: absolute; white-space: nowrap; padding: 4px 14px; border-radius: 20px;
  font-size: 12px; background: rgba(80,50,150,0.12); color: #b8b0d8;
  border: 1px solid rgba(139,92,246,0.08); animation: dmFloat 13s linear forwards;
  opacity: 0; right: -50%; margin: 0;
}
.dm.cn { background: rgba(180,30,60,0.1); color: #f0a0b0; border-color: rgba(255,60,80,0.12); }
.dm:nth-child(1) { top: 2px; animation-delay: 0.4s; }
.dm:nth-child(2) { top: 30px; animation-delay: 2.5s; }
.dm:nth-child(3) { top: 58px; animation-delay: 1.1s; }
.dm:nth-child(4) { top: 86px; animation-delay: 3.8s; }
.dm:nth-child(5) { top: 15px; animation-delay: 5.2s; }
@keyframes dmFloat {
  0% { right: -55%; opacity: 0; }
  6% { opacity: 0.9; }
  80% { opacity: 0.8; }
  100% { right: 110%; opacity: 0; }
}
.world-info {
  background: rgba(12,6,35,0.5); border: 1px solid rgba(0,180,220,0.08);
  border-radius: 8px; padding: 12px; margin-bottom: 14px;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.wi-title { color: #00d8f0; font-weight: 600; margin: 0 0 8px; letter-spacing: 0.5px; }
.world-info p { margin: 0 0 4px; font-size: 13px; }

.rules-panel {
  background: rgba(25,15,8,0.3); border: 1px solid rgba(245,158,11,0.08);
  border-radius: 8px; padding: 12px;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.rp-title {
  color: #e8b020; font-weight: 700; font-size: 14px; margin: 0 0 10px;
  padding-bottom: 6px; border-bottom: 1px solid rgba(245,158,11,0.08); letter-spacing: 0.5px;
}
.rules-panel .rule-section { color: #d0a020; font-weight: 600; font-size: 12px; margin: 8px 0 4px; }
.rules-panel p { margin: 0 0 4px; font-size: 13px; }
.rule-tag {
  background: rgba(245,158,11,0.06); border: 1px solid rgba(245,158,11,0.2);
  color: #f0c030; padding: 2px 8px; border-radius: 4px; font-size: 12px; font-weight: 600;
}

/* ══════════════════════════════════
   P3 主角面板
   ══════════════════════════════════ */
.panel-title {
  font-size: 15px; font-weight: 700; color: #c8a0ff; margin: 0 0 14px;
  padding-bottom: 8px; border-bottom: 1px solid rgba(140,80,255,0.1);
  letter-spacing: 0.5px; text-shadow: 0 0 15px rgba(180,120,255,0.15);
}
.section-divider {
  color: rgba(160,140,200,0.6); font-weight: 600; font-size: 13px;
  margin: 14px 0 8px !important; padding-top: 8px;
  border-top: 1px dashed rgba(140,80,255,0.06);
}

.char-panel {
  padding: 6px 4px; background: rgba(12,6,30,0.3); border-radius: 8px;
  border: 1px solid rgba(140,80,255,0.05);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.char-panel p { margin: 0 0 5px; font-size: 13px; }
.attr-row { color: #a0c0f0; font-weight: 500; padding-left: 10px; }
.sub-info { font-size: 11px !important; color: rgba(150,140,200,0.45); padding-left: 18px; }

.bar-wrap { display: flex; align-items: center; gap: 8px; margin: 6px 0; padding-left: 10px; }
.bar-label { font-size: 12px; color: rgba(160,140,200,0.7); min-width: 70px; margin: 0; flex-shrink: 0; }
.bar {
  flex: 1; height: 14px; background: rgba(255,255,255,0.02);
  border-radius: 7px; overflow: hidden; border: 1px solid rgba(140,80,255,0.08);
}
.bar > span {
  display: block; height: 100%; border-radius: 7px; transition: width 0.6s ease; position: relative;
}
.bar > span::after {
  content: ""; position: absolute; top: 1px; right: 0;
  width: 3px; height: calc(100% - 2px); background: rgba(255,255,255,0.2); border-radius: 0 7px 7px 0;
}
.bar-val { font-size: 11px; color: rgba(160,150,200,0.55); min-width: 52px; text-align: right; margin: 0; flex-shrink: 0; }
.hp-bar > span { background: linear-gradient(90deg,#10b060,#40e890); box-shadow: 0 0 10px rgba(64,232,144,0.25); }
.hp-bar.bar-crit > span { background: linear-gradient(90deg,#d02040,#f06080); box-shadow: 0 0 12px rgba(240,96,128,0.4); animation: barPulse 1.5s ease-in-out infinite; }
.san-bar > span { background: linear-gradient(90deg,#7030e0,#a070ff); box-shadow: 0 0 10px rgba(160,112,255,0.25); }
.san-bar.bar-crit > span { background: linear-gradient(90deg,#8020f0,#c060ff); box-shadow: 0 0 12px rgba(192,96,255,0.5); animation: barPulse 1.2s ease-in-out infinite; }
.sp-bar > span { background: linear-gradient(90deg,#c07010,#f0b030); box-shadow: 0 0 10px rgba(240,176,48,0.25); }
.sp-bar.bar-crit > span { background: linear-gradient(90deg,#d04010,#f06020); box-shadow: 0 0 12px rgba(240,96,32,0.4); animation: barPulse 1.8s ease-in-out infinite; }
@keyframes barPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }

/* ══════════════════════════════════
   P4 交互面板
   ══════════════════════════════════ */
.interact-panel { padding: 0; }
.interact-char {
  background: rgba(12,6,30,0.4); border: 1px solid rgba(120,70,200,0.08);
  border-radius: 10px; padding: 14px; margin-bottom: 14px;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  transition: border-color 0.3s;
}
.interact-char:hover { border-color: rgba(140,80,255,0.15); }
.interact-char.female { border-left: 3px solid rgba(255,90,150,0.25); }
.interact-char.male { border-left: 3px solid rgba(80,160,255,0.25); }
.char-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px; padding-bottom: 8px;
  border-bottom: 1px solid rgba(140,80,255,0.06);
}
.char-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(100,50,180,0.1); border: 1px solid rgba(140,80,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; flex-shrink: 0; box-shadow: 0 0 10px rgba(140,80,255,0.08);
}
.char-name { font-weight: 700; font-size: 14px; color: #d0a8ff; margin: 0; }
.interact-char p { margin: 0 0 4px; font-size: 12px; }

/* ── 身体状况折叠（通用基础 / 女性NPC — 粉色调） ── */
.body-detail { margin-top: 10px; border: none; background: none; }
.body-detail > summary {
  font-size: 12px; font-weight: 600; cursor: pointer; list-style: none;
  padding: 8px 0; color: #ff80a0; border-top: 1px dashed rgba(255,128,160,0.1);
  transition: color 0.2s;
}
.body-detail > summary::-webkit-details-marker { display: none; }
.body-detail > summary::before { content: "◈ "; }
.body-detail[open] > summary::before { content: "◇ "; }
.body-detail[open] > summary { color: #ffa0c0; }
.body-st {
  color: #f0b8d0; font-size: 11px; padding-left: 12px; margin: 0 0 4px !important;
  line-height: 1.6;
}

/* ── 身体状况折叠（男性 — 蓝色调覆盖） ── */
.male-body > summary { color: #80b0ff; border-top-color: rgba(128,176,255,0.1); }
.male-body[open] > summary { color: #a0c8ff; }
.male-body .body-st { color: #a0c0e8; }

/* ── 主角面板身体状况（女性主角 — 粉色调） ── */
.female-body > summary { color: #ff80a0; border-top-color: rgba(255,128,160,0.1); }
.female-body[open] > summary { color: #ffa0c0; }
.female-body .body-st { color: #f0b8d0; }

/* ══════════════════════════════════
   P5 记忆面板 + ITL物资天赋追踪
   ══════════════════════════════════ */
.mem-panel {
  background: rgba(8,4,20,0.3); border-radius: 8px;
  border: 1px solid rgba(140,80,255,0.04);
}
.mem-panel > summary {
  font-size: 15px; font-weight: 700; color: #c8a0ff;
  padding: 14px; cursor: pointer; list-style: none;
  letter-spacing: 0.5px; text-shadow: 0 0 15px rgba(180,120,255,0.15);
}
.mem-panel > summary::-webkit-details-marker { display: none; }
.mem-panel > summary::after { content: " ▸"; font-size: 12px; opacity: 0.5; }
.mem-panel[open] > summary::after { content: " ▾"; }
.mem-section {
  color: #f0d060; font-weight: 600; font-size: 13px;
  margin: 16px 14px 8px; letter-spacing: 0.5px;
  text-shadow: 0 0 10px rgba(240,208,96,0.1);
}

.mem-table {
  width: calc(100% - 20px); margin: 0 10px 12px; border-collapse: collapse;
  font-size: 11px; line-height: 1.5;
  table-layout: fixed;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.mem-table th {
  text-align: left; padding: 6px 8px; font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mem-table td {
  padding: 6px 8px; vertical-align: top;
  border-bottom: 1px solid rgba(255,255,255,0.02);
}
.mem-table tr:last-child td { border-bottom: none; }
.mem-table th:first-child, .mem-table td:first-child { width: 28px; text-align: center; }
.mem-table th:nth-child(2), .mem-table td:nth-child(2) { width: 80px; white-space: nowrap; }
.mem-table th:nth-child(3), .mem-table td:nth-child(3) { width: 70px; }
.ctm-table th { color: #f0d060; border-color: rgba(240,200,60,0.15); }
.ctm-table td { color: #d8c890; }
.ctm-table tr:hover td { background: rgba(240,200,60,0.03); }
.ltm-table th { color: #b080ff; border-color: rgba(180,120,255,0.15); }
.ltm-table td { color: #c0b0e0; }
.ltm-table tr:hover td { background: rgba(180,120,255,0.03); }
.stm-table th { color: #00d0e0; border-color: rgba(0,200,220,0.15); }
.stm-table td { color: #a0d8e0; }
.stm-table tr:hover td { background: rgba(0,200,220,0.03); }

/* ── ITL 物资天赋追踪面板 ── */
.itl-panel {
  background: rgba(8,4,20,0.3); border-radius: 8px;
  border: 1px solid rgba(50,200,120,0.06);
  margin-top: 14px;
}
.itl-panel > summary {
  font-size: 15px; font-weight: 700; color: #60e8a0;
  padding: 14px; cursor: pointer; list-style: none;
  letter-spacing: 0.5px; text-shadow: 0 0 15px rgba(96,232,160,0.15);
}
.itl-panel > summary::-webkit-details-marker { display: none; }
.itl-panel > summary::after { content: " ▸"; font-size: 12px; opacity: 0.5; }
.itl-panel[open] > summary::after { content: " ▾"; }
.itl-section {
  color: #50e890; font-weight: 600; font-size: 13px;
  margin: 12px 14px 8px; letter-spacing: 0.5px;
  text-shadow: 0 0 10px rgba(80,232,144,0.1);
}
.itl-snapshot {
  background: rgba(50,200,120,0.03); border: 1px solid rgba(50,200,120,0.06);
  border-radius: 6px; padding: 10px 12px; margin: 0 10px 12px;
}
.itl-snapshot p { margin: 0 0 4px; font-size: 12px; color: #a0e8c0; }
.itl-sub {
  color: #70d0a0 !important; font-weight: 600; font-size: 12px !important;
  margin: 8px 0 4px !important; padding-top: 6px;
  border-top: 1px dashed rgba(50,200,120,0.08);
}
.itl-sub:first-child { border-top: none; padding-top: 0; }
.itl-table th { color: #50e890; border-color: rgba(80,232,144,0.15); }
.itl-table td { color: #a0e8c8; }
.itl-table tr:hover td { background: rgba(50,200,120,0.03); }

/* ══════════════════════════════════
   P6 选手面板
   ══════════════════════════════════ */
.player-panel, .pvp-panel { padding: 6px 0; margin-bottom: 12px; }
.pvp-panel {
  background: rgba(40,10,20,0.2); border: 1px solid rgba(255,40,80,0.08);
  border-radius: 8px; padding: 12px;
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
}
.player-panel p, .pvp-panel p { margin: 0 0 5px; font-size: 13px; }

/* ══════════════════════════════════
   内联标签
   ══════════════════════════════════ */
.itm { display: inline; }
.itm > summary { display: inline; color: #50e890; cursor: pointer; border-bottom: 1px dashed rgba(80,232,144,0.4); list-style: none; font-weight: 500; }
.itm > summary::-webkit-details-marker { display: none; }
.itm > span { display: block; background: rgba(50,200,120,0.05); border: 1px solid rgba(80,232,144,0.1); border-radius: 6px; padding: 5px 10px; margin: 4px 0; font-size: 12px; color: #90f0c0; }
.tlt { display: inline; }
.tlt > summary { display: inline; color: #c0a0ff; cursor: pointer; border-bottom: 1px dashed rgba(192,160,255,0.4); list-style: none; font-weight: 500; }
.tlt > summary::-webkit-details-marker { display: none; }
.tlt > span { display: block; background: rgba(140,80,255,0.05); border: 1px solid rgba(180,120,255,0.1); border-radius: 6px; padding: 5px 10px; margin: 4px 0; font-size: 12px; color: #d8c0ff; }
.entity-tag { color: #ff3060; font-weight: 700; text-shadow: 0 0 12px rgba(255,48,96,0.35); }

/* ══════════════════════════════════
   响应式
   ══════════════════════════════════ */
@media (max-width: 375px) {
  .game-wrap { height: 78vh; padding: 10px 8px 0; font-size: 13px; }
  .game-wrap > .page { height: calc(78vh - 10px - 54px); padding: 10px; }
  .tab-btn { font-size: 9px; }
  .bar-label { min-width: 60px; font-size: 11px; }
  .bar { height: 12px; }
  .act-grid { gap: 6px; }
  .act { padding: 9px 8px; font-size: 11px; }
  .p1 > p { line-height: 1.85; }
  .char-avatar { width: 30px; height: 30px; font-size: 14px; }
  .mem-table { font-size: 10px; }
  .mem-table th, .mem-table td { padding: 4px 5px; }
  .body-st { font-size: 10px; }
  .itl-snapshot p { font-size: 11px; }
  .itl-snapshot { padding: 8px 10px; }
}
@media (min-width: 768px) {
  .game-wrap { max-width: 700px; margin: 0 auto; height: 85vh; padding: 20px 22px 0; }
  .game-wrap > .page { height: calc(85vh - 20px - 54px); padding: 18px; }
  .p1 > p { font-size: 15px; line-height: 2.1; max-width: 600px; margin-left: auto; margin-right: auto; }
  .tab-btn { font-size: 11px; }
  .bar { height: 16px; }
  .act-grid { gap: 12px; }
  .act { padding: 14px; font-size: 13px; }
  .mem-table { font-size: 12px; }
}