/* Blackwell Modular Stylesheet: modules/overlays-core.css (merged from 9 files) */

/* --- [CSS MODULE PART] v080a.css --- */
/* 黑井撤离 v0.8.0 · 委托控制台、超级遗物与贵重品展示 */
.contract-console-panel-080a{max-width:1280px;width:min(94vw,1280px);max-height:92vh;overflow:auto;background:linear-gradient(155deg,rgba(16,20,31,.98),rgba(6,9,15,.99));border-color:rgba(155,202,207,.3)}
.contract-console-head-080a{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.contract-console-head-080a h2{margin:.15em 0}.contract-console-head-080a .lead{max-width:760px}
.contract-overview-080a{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0}.contract-overview-080a>div{padding:13px 15px;border:1px solid rgba(132,176,184,.22);border-radius:14px;background:rgba(7,11,18,.72)}.contract-overview-080a span{display:block;color:#8fa6ae;font-size:12px}.contract-overview-080a b{display:block;margin-top:5px;font-size:20px;color:#e9f1f4}
.contract-tabs-080a,.contract-filter-080a{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.contract-tabs-080a button,.contract-filter-080a button{padding:8px 13px}.contract-tabs-080a button.selected,.contract-filter-080a button.selected{border-color:#89ded5;background:rgba(56,125,123,.23);color:#d8fffa}
.contract-list-080a{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.contract-card-080a{position:relative;display:flex;flex-direction:column;min-height:226px;padding:16px;text-align:left;border:1px solid rgba(143,176,187,.24);border-radius:17px;background:radial-gradient(circle at 85% 8%,var(--contract-glow,rgba(133,196,199,.14)),transparent 38%),rgba(8,12,19,.82);overflow:hidden}.contract-card-080a:hover{transform:translateY(-1px);border-color:rgba(148,225,218,.55)}.contract-card-080a.selected{border-color:#a99cff;box-shadow:0 0 0 1px rgba(169,156,255,.24) inset}.contract-card-080a.completed{background:radial-gradient(circle at 85% 8%,rgba(87,220,174,.18),transparent 40%),rgba(8,14,18,.88)}
.contract-card-top-080a{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.contract-kind-080a,.contract-grade-080a{display:inline-flex;padding:3px 8px;border-radius:999px;border:1px solid rgba(154,195,203,.28);font-size:11px;color:#a9c5cb}.contract-grade-080a{color:var(--grade,#9ecad0);border-color:color-mix(in srgb,var(--grade,#9ecad0) 45%,transparent)}.contract-card-080a h3{margin:12px 0 7px;font-size:19px}.contract-card-080a p{margin:0;color:#aebbc0;line-height:1.52}.contract-requirements-080a{display:grid;gap:5px;margin:12px 0}.contract-requirements-080a span{font-size:12px;color:#cad5d8}.contract-rewards-080a{display:flex;gap:6px;flex-wrap:wrap;margin-top:auto}.contract-rewards-080a i{font-style:normal;font-size:11px;padding:4px 7px;border-radius:9px;background:rgba(112,151,159,.12);color:#a9c8cd}.contract-card-actions-080a{display:flex;gap:8px;margin-top:12px}.contract-card-actions-080a button{flex:1;padding:8px 9px}
.active-contract-080a{padding:16px;border:1px solid rgba(178,143,230,.35);border-radius:17px;background:linear-gradient(135deg,rgba(61,38,79,.24),rgba(8,12,19,.76));margin:12px 0}.active-contract-080a header{display:flex;justify-content:space-between;gap:12px;align-items:center}.contract-progress-row-080a{display:grid;grid-template-columns:140px 1fr 64px;gap:8px;align-items:center;margin:8px 0}.contract-progress-track-080a{height:8px;border-radius:10px;background:#111923;overflow:hidden}.contract-progress-track-080a i{display:block;height:100%;background:linear-gradient(90deg,#71d8d1,#b49cff)}.contract-record-grid-080a{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.contract-record-card-080a{padding:13px;border:1px solid rgba(135,173,181,.2);border-radius:14px;background:rgba(7,11,18,.68)}.contract-record-card-080a b{display:block;margin-bottom:5px}.contract-record-card-080a small{display:block;color:#8da0a7;margin-top:4px}
.contract-objective-080a{margin-top:9px;padding:10px 12px;border:1px solid rgba(161,137,211,.26);border-radius:13px;background:rgba(25,18,38,.48)}.contract-objective-080a header{display:flex;justify-content:space-between;gap:8px}.contract-objective-080a p{margin:6px 0 4px;color:#becbd0}.contract-objective-080a .contract-progress-track-080a{margin-top:7px}.contract-objective-080a.failed{border-color:rgba(225,92,126,.42);background:rgba(59,18,30,.48)}.contract-objective-080a.completed{border-color:rgba(98,221,173,.42);background:rgba(17,53,40,.45)}
.super-relic-card-080a{border:1px solid rgba(255,183,108,.68)!important;background:radial-gradient(circle at 50% 0,rgba(255,111,177,.23),transparent 50%),linear-gradient(150deg,rgba(65,31,69,.94),rgba(14,11,24,.98))!important;box-shadow:0 0 28px rgba(255,104,181,.14),inset 0 0 0 1px rgba(255,221,163,.1)}.super-relic-card-080a .super-glyph-080a{font-size:42px;filter:drop-shadow(0 0 10px rgba(255,141,199,.6))}.super-relic-card-080a .super-label-080a{color:#ffd5a7;border-color:#ffbd7b}.super-relic-entry-080a{position:relative;border-color:rgba(255,164,202,.38)!important;background:radial-gradient(circle at 90% 8%,rgba(255,120,188,.16),transparent 36%),rgba(16,10,23,.78)!important}.super-relic-entry-080a::after{content:'超级遗物';position:absolute;right:10px;top:9px;color:#ffc2dd;font-size:10px;letter-spacing:.1em}.super-relic-section-080a{grid-column:1/-1;padding:12px 0}.super-relic-section-080a h3{margin:0 0 10px;color:#ffd2e8}
.warehouse-grid.gallery-080a{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.valuable-gallery-card-080a{position:relative;padding:0!important;overflow:hidden;border-radius:18px!important;background:linear-gradient(150deg,rgba(15,20,30,.96),rgba(6,9,14,.98))!important;cursor:pointer;min-height:370px}.valuable-gallery-card-080a:hover{transform:translateY(-2px);border-color:var(--valuable-color,#b49cff)!important}.valuable-model-frame-080a{height:225px;position:relative;display:grid;place-items:center;overflow:hidden;background:radial-gradient(circle at 50% 42%,var(--valuable-glow,rgba(180,156,255,.22)),transparent 54%),linear-gradient(180deg,rgba(7,10,16,.4),rgba(4,6,10,.9))}.valuable-model-frame-080a::before{content:'';position:absolute;inset:12px;border:1px solid color-mix(in srgb,var(--valuable-color,#b49cff) 26%,transparent);border-radius:15px}.valuable-model-frame-080a::after{content:'';position:absolute;width:70%;height:18%;bottom:13px;background:radial-gradient(ellipse,rgba(0,0,0,.7),transparent 68%);filter:blur(5px)}.valuable-model-frame-080a img{width:88%;height:88%;object-fit:contain;position:relative;z-index:1;transition:transform .35s ease,filter .35s ease;filter:drop-shadow(0 12px 13px rgba(0,0,0,.55))}.valuable-gallery-card-080a:hover img{transform:scale(1.045) rotate(.5deg);filter:drop-shadow(0 16px 18px rgba(0,0,0,.65))}.valuable-card-body-080a{padding:14px 16px 16px}.valuable-card-body-080a h3{margin:7px 0 5px;font-size:18px}.valuable-card-body-080a p{min-height:44px;margin:0;color:#9fadb4;line-height:1.45}.valuable-card-meta-080a,.valuable-card-value-080a{display:flex;justify-content:space-between;gap:10px;align-items:center}.valuable-card-meta-080a span{font-size:11px;color:var(--valuable-color,#c4b2ff);text-transform:uppercase;letter-spacing:.08em}.valuable-card-meta-080a b{font-size:13px}.valuable-card-value-080a{margin-top:11px;padding-top:10px;border-top:1px solid rgba(132,165,175,.15)}.valuable-card-value-080a strong{color:#e9d49b}
.valuable-detail-panel-080a{max-width:980px}.valuable-detail-layout-080a{display:grid;grid-template-columns:minmax(300px,.9fr) 1.1fr;gap:24px;align-items:stretch}.valuable-detail-art-080a{position:relative;min-height:470px;border-radius:22px;display:grid;place-items:center;background:radial-gradient(circle,var(--valuable-glow,rgba(180,156,255,.22)),transparent 58%),#070a10;border:1px solid color-mix(in srgb,var(--valuable-color,#b49cff) 35%,transparent);overflow:hidden}.valuable-detail-art-080a img{width:94%;height:94%;object-fit:contain;filter:drop-shadow(0 20px 22px rgba(0,0,0,.65))}.valuable-detail-info-080a{padding:6px}.valuable-detail-info-080a h2{font-size:30px;margin:8px 0}.valuable-detail-info-080a .lore{color:#b9c4c9;line-height:1.7}.valuable-detail-stats-080a{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:18px 0}.valuable-detail-stats-080a>div{padding:12px;border-radius:13px;border:1px solid rgba(135,172,181,.19);background:rgba(6,10,16,.62)}.valuable-detail-stats-080a span{display:block;color:#849ba4;font-size:11px}.valuable-detail-stats-080a b{display:block;margin-top:4px;font-size:18px}
.contract-console-enabled #preparationExtraV068>.prep-section-v068:first-child{display:none}.contract-console-enabled #buffShopOverlay .meta-panel{max-width:1100px}.contract-console-enabled #buffShopOverlay h2{font-size:28px}
@media(max-width:1000px){.contract-list-080a,.contract-record-grid-080a,.warehouse-grid.gallery-080a{grid-template-columns:repeat(2,minmax(0,1fr))}.contract-overview-080a{grid-template-columns:1fr 1fr}.valuable-detail-layout-080a{grid-template-columns:1fr}.valuable-detail-art-080a{min-height:360px}}
@media(max-width:700px){.contract-console-panel-080a{width:100vw;max-height:100vh;border-radius:0;padding:14px}.contract-console-head-080a{display:block}.contract-console-head-080a>button{position:absolute;right:12px;top:12px}.contract-list-080a,.contract-record-grid-080a,.warehouse-grid.gallery-080a{grid-template-columns:1fr}.contract-overview-080a{grid-template-columns:1fr 1fr}.contract-progress-row-080a{grid-template-columns:100px 1fr 46px}.valuable-model-frame-080a{height:205px}.valuable-detail-art-080a{min-height:290px}.valuable-detail-stats-080a{grid-template-columns:1fr 1fr}}
.valuable-locked-080a{cursor:default;opacity:.7}.valuable-locked-080a .valuable-model-frame-080a img{filter:grayscale(1) brightness(.28) contrast(1.35) drop-shadow(0 10px 12px rgba(0,0,0,.7));transform:scale(.94)}.valuable-locked-080a:hover{transform:none;border-color:rgba(143,176,187,.24)!important}.valuable-locked-080a .valuable-card-body-080a h3{color:#87959b}.valuable-locked-080a .valuable-card-value-080a{color:#6e7c83}

/* --- [CSS MODULE PART] v080b.css --- */
/* 黑井撤离 v0.8.0 · 终极Boss三阶段美术与地图扩展 */

.boss-hud{position:relative;overflow:visible}
.ultimate-portrait-080b{position:absolute;width:86px;height:86px;object-fit:contain;left:-96px;top:-19px;filter:drop-shadow(0 0 14px rgba(225,91,153,.72));pointer-events:none;transition:filter .25s ease,transform .25s ease}
.ultimate-portrait-080b[data-phase="2"]{filter:drop-shadow(0 0 16px rgba(142,217,238,.82));transform:scale(1.05)}
.ultimate-portrait-080b[data-phase="3"]{filter:drop-shadow(0 0 19px rgba(255,203,104,.86));transform:scale(1.1)}
.ultimate-mechanic-080b{margin-top:9px;padding:9px 11px;border:1px solid rgba(239,131,181,.34);border-radius:10px;background:linear-gradient(135deg,rgba(57,18,48,.86),rgba(10,7,20,.9));box-shadow:0 0 18px rgba(160,41,105,.14) inset}
.ultimate-mechanic-080b header{display:flex;justify-content:space-between;gap:12px;align-items:center;color:#ffd0e3;font-size:12px}
.ultimate-mechanic-080b header span{color:#ffe8a6;font-variant-numeric:tabular-nums}
.ultimate-mechanic-080b p{margin:5px 0 0;color:#c9b8cb;font-size:11px;line-height:1.5}

@media (max-width:900px){
  .ultimate-portrait-080b{width:58px;height:58px;left:-62px;top:-8px}
  .ultimate-mechanic-080b{padding:7px 8px;margin-top:6px}
  .ultimate-mechanic-080b p{font-size:10px}
}
body.device-handheld .ultimate-portrait-080b{width:50px;height:50px;left:-52px;top:-5px}
body.device-handheld .ultimate-mechanic-080b{max-height:70px;overflow:hidden}

/* --- [CSS MODULE PART] v080e.css --- */
/* 黑井撤离 v0.8.0 · 任务抽屉、明确按键、独立筹备终端与社交招募 */

/* 桌面任务栏默认只保留一行摘要；悬停、键盘聚焦或点击“任务”后展开。 */
body.ui-desktop #taskToggleBtn {
  display:inline-flex !important;
}
body.ui-desktop .objective {
  width:min(560px,calc(100vw - 360px)) !important;
  max-width:560px !important;
  max-height:62px !important;
  padding:0 !important;
  overflow:hidden !important;
  border-radius:14px !important;
  transition:max-height .18s ease, box-shadow .18s ease, background .18s ease !important;
  scrollbar-width:thin;
}
body.ui-desktop .objective:hover,
body.ui-desktop .objective:focus-within,
body.ui-desktop.tasks-user-open .objective {
  max-height:min(52vh,560px) !important;
  overflow:auto !important;
  box-shadow:0 18px 46px rgba(0,0,0,.48) !important;
}
body.ui-desktop .objective-panel-v067 {
  min-height:58px;
}
body.ui-desktop .objective-header-v067 {
  min-height:58px;
  cursor:default;
}
body.ui-desktop:not(.tasks-user-open) .objective:not(:hover):not(:focus-within) .objective-list-v067,
body.ui-desktop:not(.tasks-user-open) .objective:not(:hover):not(:focus-within) .objective-focus-v067,
body.ui-desktop:not(.tasks-user-open) .objective:not(:hover):not(:focus-within) .objective-contract-v068-final,
body.ui-desktop:not(.tasks-user-open) .objective:not(:hover):not(:focus-within) .contract-objective-080a,
body.ui-desktop:not(.tasks-user-open) .objective:not(:hover):not(:focus-within) .objective-arena-v067,
body.ui-desktop:not(.tasks-user-open) .objective:not(:hover):not(:focus-within) .objective-outcomes-v067,
body.ui-desktop:not(.tasks-user-open) .objective:not(:hover):not(:focus-within) .objective-markers-v0682,
body.ui-desktop:not(.tasks-user-open) .objective:not(:hover):not(:focus-within) .objective-control-hint-v068-final {
  opacity:0;
  pointer-events:none;
}
body.ui-desktop .objective-list-v067,
body.ui-desktop .objective-focus-v067,
body.ui-desktop .objective-contract-v068-final,
body.ui-desktop .contract-objective-080a,
body.ui-desktop .objective-arena-v067,
body.ui-desktop .objective-outcomes-v067,
body.ui-desktop .objective-markers-v0682,
body.ui-desktop .objective-control-hint-v068-final {
  transition:opacity .12s ease;
}
.contract-objective-080a .contract-progress-track-080a i {
  transition:none !important;
}

/* 所有可见的桌面操作尽量同时给出真实键位。 */
.key-badge-080e,
kbd.key-badge-080e {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:30px;
  min-height:24px;
  padding:2px 8px;
  border:1px solid rgba(178,202,221,.34);
  border-bottom-color:rgba(178,202,221,.55);
  border-radius:7px;
  background:linear-gradient(180deg,rgba(35,45,59,.95),rgba(13,19,28,.95));
  color:#eef6f7;
  font:700 12px/1 system-ui,sans-serif;
  box-shadow:inset 0 -2px 0 rgba(0,0,0,.28);
  white-space:nowrap;
}
.interaction-key-row-080e {
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:7px;
  color:#b9cbd0;
  font-size:12px;
}
body.ui-handheld .interaction-key-row-080e { display:none !important; }

/* 独立的困难预设终端。 */
.difficulty-panel-080e { width:min(760px,calc(100vw - 32px)); }
.difficulty-grid-080e { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0; }
.difficulty-card-080e { display:grid;gap:8px;min-height:150px;padding:16px;text-align:left;border-radius:15px; }
.difficulty-card-080e strong { font-size:19px; }
.difficulty-card-080e span { color:#bdc8d0;line-height:1.55; }
.difficulty-card-080e small { color:#98a9b2; }
.difficulty-card-080e.selected { border-color:#b59bff;background:linear-gradient(135deg,rgba(91,66,139,.34),rgba(13,18,27,.9));box-shadow:0 0 0 1px rgba(181,155,255,.2) inset; }
.difficulty-summary-080e { display:grid;gap:7px; }
.difficulty-summary-080e b { font-size:18px; }
.preparation-only-panel-080e .preparation-grid-v068 { margin-top:14px; }
.preparation-only-panel-080e #preparationExtraV068 { display:none !important; }

/* 社交与邀请：人员、在线、私信、全服招募四块明确分区。 */
.social-panel-080e { width:min(1320px,calc(100vw - 36px)); }
.social-layout-080e { display:grid;grid-template-columns:minmax(280px,.85fr) minmax(280px,.85fr) minmax(380px,1.3fr);gap:12px;align-items:stretch; }
.social-people-card-080e { grid-row:span 2; }
.social-online-card-080e { grid-row:span 2; }
.direct-chat-card-080e { min-height:340px; }
.recruitment-card-080e { min-height:235px; }
.social-section-head-080e { display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:9px; }
.social-section-head-080e h3 { margin:0; }
.social-section-head-080e small { display:block;margin-top:3px;color:#92a4ad;line-height:1.4; }
.social-scroll-080e { max-height:330px;overflow:auto;padding-right:3px; }
.compact-social-list-080e { max-height:155px;overflow:auto; }
.direct-chat-card-080e .chat-head > div { display:grid;gap:2px; }
.direct-chat-card-080e .chat-head small { color:#8fa1aa; }
.direct-chat-card-080e .chat-log { min-height:215px;max-height:330px; }
.direct-chat-card-080e form input:disabled { opacity:.55;cursor:not-allowed; }
.recruitment-list-080e { display:grid;gap:8px;max-height:245px;overflow:auto; }
.recruitment-row-080e { display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:11px 12px;border:1px solid rgba(132,175,187,.2);border-radius:12px;background:rgba(6,11,18,.72); }
.recruitment-row-080e b { display:block;font-size:14px; }
.recruitment-row-080e span,.recruitment-row-080e small { display:block;margin-top:3px;color:#9fb0b8; }
.recruitment-code-080e { letter-spacing:.14em;color:#b9a6ff !important;font-weight:800; }
.room-share-actions-080e { display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 12px; }
.room-head-080e b { cursor:pointer;user-select:all;letter-spacing:.15em; }
.copy-feedback-080e { color:#8ee3cf !important; }

@media (max-width:1050px) {
  .social-layout-080e { grid-template-columns:1fr 1fr; }
  .social-people-card-080e,.social-online-card-080e { grid-row:auto; }
  .direct-chat-card-080e,.recruitment-card-080e { grid-column:1/-1; }
}
@media (max-width:700px) {
  .difficulty-grid-080e,.social-layout-080e { grid-template-columns:1fr; }
  .direct-chat-card-080e,.recruitment-card-080e { grid-column:auto; }
  .social-panel-080e { width:100vw;max-height:100dvh;border-radius:0; }
  .social-scroll-080e { max-height:230px; }
  .room-share-actions-080e { display:grid;grid-template-columns:1fr 1fr; }
  .room-share-actions-080e button:last-child { grid-column:1/-1; }
}

/* --- [CSS MODULE PART] v080f.css --- */
/* 黑井撤离 v0.8.0 · 手机/桌面彻底分流与局内遮挡修复 */
.release-card,.version{display:none!important}
#contractConsoleBtn080a{display:none!important}
.terminal-group #contractConsoleShortcut080e{display:flex!important}

/* 脚本加载前先依据 head 中的早期判断隐藏错误设备控件。 */
html.bw-handheld-early body:not(.device-desktop) .right-actions #pauseBtn,
html.bw-handheld-early body:not(.device-desktop) .right-actions #fullscreenBtn,
html.bw-handheld-early body:not(.device-desktop) .right-actions #muteBtn{display:none!important}
html.bw-desktop-early .mobile-controls{display:none!important}

body.device-desktop .mobile-controls{display:none!important}
body.device-desktop .right-actions{display:flex!important}
body.device-desktop .right-actions #pauseBtn{display:inline-flex!important}
body.device-desktop .right-actions #fullscreenBtn,
body.device-desktop .right-actions #muteBtn{display:none!important}
body.device-handheld .right-actions #pauseBtn,
body.device-handheld .right-actions #fullscreenBtn,
body.device-handheld .right-actions #muteBtn{display:none!important}
body.device-handheld .right-actions{pointer-events:none!important}
body.device-handheld .right-actions #taskToggleBtn{pointer-events:auto!important}

/* 任何游戏内面板打开时，底层 HUD 与触摸按钮都完全退场。
   v1.0.13：补齐 v0130/v102 之后新增的 HUD 层（小地图、冲刺组、钻探/互动/Q能力/菜单、顶栏）。
   这些元素 z-index 40~94，高于弹层的 20，之前会穿透盖在构筑卡上。 */
body.modal-open-080f .hud,
body.modal-open-080f .mobile-controls,
body.modal-open-080f .right-actions,
body.modal-open-080f .boss-hud,
body.modal-open-080f .objective,
body.modal-open-080f .interaction-detail-v067,
body.modal-open-080f .topbar,
body.modal-open-080f #interact,
body.modal-open-080f #actionButton,
body.modal-open-080f #mineButton,
body.modal-open-080f #abilityMobile,
body.modal-open-080f #mobileUtilityBtn,
body.modal-open-080f #v0130ActionGroup,
body.modal-open-080f #fogMinimapV0130,
body.modal-open-080f #tutorialPanelV0682{visibility:hidden!important;pointer-events:none!important;opacity:0!important}
body.modal-open-080f .overlay:not(.hidden){visibility:visible!important;opacity:1!important;pointer-events:auto!important}
/* 只抬升升级/构筑弹层，避免影响设备选择（1200）与横屏守卫（10000）的既有层级。 */
body.modal-open-080f #upgradeOverlay:not(.hidden){z-index:1100!important}

/* 桌面保持宽屏布局，只提高可读性。 */
body.device-desktop .topbar .label{font-size:13px!important}
body.device-desktop .topbar .value{font-size:17px!important}
body.device-desktop .right-actions button{min-height:44px!important;font-size:15px!important}
body.device-desktop .terminal-group button{font-size:16px!important}

/* 手机横屏：单独的紧凑 HUD，不再继承桌面按钮堆叠。 */
@media (orientation:landscape) and (max-height:720px){
  body.device-handheld .hud{position:fixed!important;inset:0!important;z-index:20!important;pointer-events:none!important}
  body.device-handheld .topbar{position:fixed!important;left:max(8px,env(safe-area-inset-left))!important;right:max(150px,calc(env(safe-area-inset-right) + 150px))!important;top:max(6px,env(safe-area-inset-top))!important;height:50px!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important;padding:0!important;pointer-events:none!important}
  body.device-handheld .topbar .stat{min-width:0!important;height:50px!important;padding:5px 8px!important;border-radius:10px!important}
  body.device-handheld .topbar .label{font-size:8px!important;line-height:1!important;margin-bottom:3px!important}
  body.device-handheld .topbar .value{font-size:11px!important;line-height:1.1!important;gap:3px!important;white-space:nowrap!important}
  body.device-handheld .topbar .bar{height:4px!important;margin-top:4px!important}
  body.device-handheld .right-actions{position:fixed!important;right:max(76px,calc(env(safe-area-inset-right) + 76px))!important;top:max(7px,env(safe-area-inset-top))!important;display:block!important;width:68px!important;height:42px!important;z-index:45!important}
  body.device-handheld #taskToggleBtn{display:flex!important;width:68px!important;height:42px!important;min-height:42px!important;padding:0!important;align-items:center!important;justify-content:center!important;font-size:13px!important;border-radius:11px!important}
  body.device-handheld .mobile-controls{display:block!important;position:fixed!important;inset:0!important;z-index:42!important;pointer-events:none!important}
  body.device-handheld .mobile-controls button,body.device-handheld .stick{pointer-events:auto!important}
  body.device-handheld #mobileUtilityBtn{display:flex!important;position:fixed!important;right:max(7px,env(safe-area-inset-right))!important;top:max(7px,env(safe-area-inset-top))!important;width:62px!important;height:42px!important;align-items:center!important;justify-content:center!important;font-size:13px!important;border-radius:11px!important}
  body.device-handheld #mobileUtilityPanel{position:fixed!important;right:max(7px,env(safe-area-inset-right))!important;top:max(54px,calc(env(safe-area-inset-top) + 54px))!important;width:138px!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important;padding:7px!important;z-index:60!important}
  body.device-handheld #mobileUtilityPanel.hidden{display:none!important}
  body.device-handheld #mobileUtilityPanel button{min-height:38px!important;padding:5px!important;font-size:11px!important}
  body.device-handheld #stick{left:max(18px,env(safe-area-inset-left))!important;bottom:max(14px,env(safe-area-inset-bottom))!important;width:102px!important;height:102px!important}
  body.device-handheld #stickKnob{width:43px!important;height:43px!important}
  body.device-handheld #actionButton,body.device-handheld #mineButton{position:fixed!important;bottom:max(12px,env(safe-area-inset-bottom))!important;height:70px!important;width:94px!important;border-radius:14px!important;padding:6px!important}
  body.device-handheld #mineButton{right:max(8px,env(safe-area-inset-right))!important}
  body.device-handheld #actionButton{right:max(108px,calc(env(safe-area-inset-right) + 108px))!important}
  body.device-handheld #abilityMobile,body.device-handheld #bagMobileBtn{position:fixed!important;height:46px!important;width:94px!important;border-radius:14px!important;padding:4px!important;font-size:12px!important}
  body.device-handheld #abilityMobile{right:max(108px,calc(env(safe-area-inset-right) + 108px))!important;bottom:max(88px,calc(env(safe-area-inset-bottom) + 88px))!important}
  body.device-handheld #bagMobileBtn{right:max(8px,env(safe-area-inset-right))!important;bottom:max(88px,calc(env(safe-area-inset-bottom) + 88px))!important}
  body.device-handheld #actionButton span,body.device-handheld #mineButton span,body.device-handheld #abilityMobile span{font-size:15px!important}
  body.device-handheld #actionButton small,body.device-handheld #mineButton small,body.device-handheld #abilityMobile small{font-size:8px!important;line-height:1.1!important}
  body.device-handheld .objective{position:fixed!important;left:max(8px,env(safe-area-inset-left))!important;top:max(62px,calc(env(safe-area-inset-top) + 62px))!important;width:min(330px,44vw)!important;max-height:calc(100dvh - 150px)!important;overflow:auto!important;z-index:34!important;font-size:11px!important}
  body.device-handheld:not(.tasks-user-open) .objective{display:none!important}
  body.device-handheld .boss-hud{position:fixed!important;left:50%!important;top:max(60px,calc(env(safe-area-inset-top) + 60px))!important;transform:translateX(-50%)!important;width:min(390px,48vw)!important;z-index:33!important}
  body.device-handheld .interaction-detail-v067{position:fixed!important;left:50%!important;bottom:max(10px,env(safe-area-inset-bottom))!important;transform:translateX(-50%)!important;width:min(390px,44vw)!important;max-height:76px!important;padding:8px 12px!important;z-index:35!important;overflow:hidden!important;font-size:10px!important}
  body.device-handheld #interact{left:50%!important;bottom:max(10px,env(safe-area-inset-bottom))!important;transform:translateX(-50%)!important;max-width:38vw!important;font-size:11px!important}
  body.device-handheld #tutorialPanelV0682{display:none!important}
  body.device-handheld .overlay>.panel{max-height:calc(100dvh - 14px)!important;overflow:auto!important;margin:auto!important;padding:18px!important}
  body.device-handheld #resultOverlay .panel,body.device-handheld #upgradeOverlay .panel{width:min(900px,calc(100vw - 18px))!important}
}

/* 手机竖屏菜单：避免巨型按钮和旧版本横幅。 */
@media (orientation:portrait) and (max-width:900px){
  body.device-handheld #menuOverlay .panel{width:100%!important;max-width:100%!important;padding:18px 16px 36px!important;border-radius:0!important}
  body.device-handheld .menu-hero h1{font-size:42px!important}
  body.device-handheld .menu-hero .lead{font-size:17px!important;line-height:1.65!important}
  body.device-handheld .terminal-dashboard{gap:14px!important}
  body.device-handheld .terminal-group{padding:14px!important;gap:8px!important}
  body.device-handheld .terminal-group button{min-height:58px!important;padding:12px!important;font-size:17px!important}
  body.device-handheld .mode-launch-card{padding:16px!important}
  body.device-handheld .mode-card-actions button{min-height:56px!important;font-size:18px!important}
}
/* 高于旧版 landscape-ready 规则，确保手机面板打开时 HUD 不穿透。 */
body.modal-open-080f.device-handheld .hud,
body.modal-open-080f.ui-handheld .hud{visibility:hidden!important;pointer-events:none!important;opacity:0!important}

/* --- [CSS MODULE PART] v080g.css --- */
/* 黑井撤离 v0.8.0 · 目标防守进度与移动端动态操作标签 */
.objective-defense-strip-080g{display:flex;justify-content:space-between;gap:12px;margin-top:9px;padding:8px 10px;border:1px solid rgba(238,174,94,.48);border-radius:9px;background:rgba(45,24,12,.78);font-size:12px;line-height:1.35}
.objective-defense-strip-080g strong{color:#ffd08b}.objective-defense-strip-080g span{color:#f2dfc5;text-align:right}
body.device-handheld #actionButton[data-action-label="撤离"],body.device-handheld #actionButton[data-action-label="救援"]{box-shadow:0 0 0 2px rgba(119,229,194,.42),0 8px 28px rgba(0,0,0,.35)}
@media (orientation:landscape) and (max-height:720px){body.device-handheld .objective-defense-strip-080g{padding:5px 7px;margin-top:5px;font-size:9px;gap:7px}.objective-defense-strip-080g span{white-space:nowrap}}

/* v0.10.4.3 · 目标流程与现场防守可读性 */
.objective-defense-strip-080g{flex-wrap:wrap;align-items:center}
.objective-defense-strip-080g small{flex:0 0 100%;color:#d8b78e;font-size:10px;line-height:1.45}
.objective-flow-v01032{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:10px}
.objective-flow-v01032 span{padding:6px 7px;border:1px solid rgba(136,164,176,.24);border-radius:8px;background:rgba(5,10,16,.55);color:#87979f;font-size:10px;text-align:center;white-space:nowrap}
.objective-flow-v01032 span.done{border-color:rgba(102,200,177,.34);color:#9edbc9;background:rgba(28,70,61,.32)}
.objective-flow-v01032 span.active{border-color:rgba(255,180,95,.58);color:#ffd08b;background:rgba(75,42,19,.58);box-shadow:0 0 0 1px rgba(255,180,95,.08) inset}
.objective-row-v067.defending{border-color:rgba(255,180,95,.48)!important;background:rgba(77,43,19,.42)!important}
body.ui-desktop.objective-defense-active-v01032:not(.tasks-user-open) .objective{height:118px!important;min-height:118px!important;max-height:118px!important}
body.ui-desktop.objective-defense-active-v01032:not(.tasks-user-open) .objective-defense-strip-080g{display:flex!important;margin:4px 10px 8px!important;padding:7px 9px!important}
body.ui-desktop.objective-defense-active-v01032:not(.tasks-user-open) .objective-defense-strip-080g small{display:none}
body.ui-desktop.objective-core-ready-v01032:not(.tasks-user-open) .objective{border-color:rgba(204,133,191,.52)!important;box-shadow:0 0 0 1px rgba(204,133,191,.10),0 12px 34px rgba(0,0,0,.32)!important}
@media (orientation:landscape) and (max-height:720px){
  body.ui-handheld.objective-defense-active-v01032:not(.tasks-user-open) .objective,body.force-handheld-081.objective-defense-active-v01032:not(.tasks-user-open) .objective{height:96px!important;min-height:96px!important;max-height:96px!important}
  body.ui-handheld.objective-defense-active-v01032:not(.tasks-user-open) .objective-defense-strip-080g,body.force-handheld-081.objective-defense-active-v01032:not(.tasks-user-open) .objective-defense-strip-080g{display:flex!important;margin:3px 6px 5px!important;padding:4px 6px!important}
  body.ui-handheld.objective-defense-active-v01032:not(.tasks-user-open) .objective-defense-strip-080g small,body.force-handheld-081.objective-defense-active-v01032:not(.tasks-user-open) .objective-defense-strip-080g small{display:none}
  .objective-flow-v01032{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.objective-flow-v01032 span{font-size:8px;padding:4px}
}

/* --- [CSS MODULE PART] v080i.css --- */
/* 黑井撤离 v0.8.0 · 外部终端 / 井下 HUD 统一与活动中心预留 */
:root{
  --ui-void:#05080d;
  --ui-panel:rgba(7,12,19,.94);
  --ui-panel-soft:rgba(12,19,29,.82);
  --ui-line:rgba(136,168,192,.22);
  --ui-line-strong:rgba(160,202,218,.38);
  --ui-cyan:#91e2df;
  --ui-violet:#c4a8ff;
  --ui-amber:#f2bd73;
  --ui-red:#f18a9e;
}

/* ---------- 外部：井口作业终端 ---------- */
#menuOverlay{
  align-items:flex-start;
  overflow:auto;
  padding:clamp(14px,2vw,28px);
  background:
    linear-gradient(90deg,rgba(2,5,9,.88),rgba(2,5,9,.64)),
    radial-gradient(circle at 78% 14%,rgba(75,126,135,.16),transparent 35%),
    radial-gradient(circle at 18% 0%,rgba(111,73,160,.2),transparent 36%),
    #030508;
}
#menuOverlay>.panel{
  position:relative;
  width:min(1220px,100%);
  max-height:none;
  margin:auto;
  padding:clamp(18px,2.4vw,32px);
  overflow:visible;
  border:1px solid rgba(148,184,204,.26);
  border-radius:24px;
  background:
    linear-gradient(180deg,rgba(16,24,34,.97),rgba(5,9,15,.98)),
    var(--ui-panel);
  box-shadow:0 36px 140px rgba(0,0,0,.72),inset 0 1px rgba(255,255,255,.035);
}
#menuOverlay>.panel:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border-radius:inherit;
  background:linear-gradient(135deg,rgba(145,226,223,.045),transparent 30%,transparent 70%,rgba(196,168,255,.045));
}
.menu-hero{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px,360px);
  gap:24px;
  align-items:end;
  padding:0 0 22px;
  border-bottom:1px solid rgba(143,174,196,.18);
}
.menu-brand-v080i h1{
  margin:5px 0 10px;
  font-size:clamp(42px,5vw,70px);
  letter-spacing:-.055em;
  line-height:.9;
}
.menu-brand-v080i .lead{max-width:720px;margin-bottom:15px;font-size:15px;line-height:1.65;color:#b9c8d3}
.menu-status-row-v080i{display:flex;flex-wrap:wrap;gap:7px}
.menu-status-row-v080i span{
  display:inline-flex;align-items:center;gap:7px;
  min-height:27px;padding:5px 9px;
  border:1px solid rgba(142,183,198,.2);border-radius:999px;
  background:rgba(6,12,18,.56);color:#bdcad3;font-size:10px;letter-spacing:.035em
}
.menu-status-row-v080i i{width:6px;height:6px;border-radius:50%;background:#79d9c2;box-shadow:0 0 10px rgba(121,217,194,.7)}
.menu-status-row-v080i .network-status-v080i i{background:#d5ad72;box-shadow:0 0 10px rgba(213,173,114,.55)}
.compact-account-card{
  min-height:122px;padding:17px 18px;
  border:1px solid rgba(151,188,205,.2);border-radius:17px;
  background:linear-gradient(145deg,rgba(22,34,47,.8),rgba(8,13,20,.9));
  box-shadow:inset 0 1px rgba(255,255,255,.035)
}
.compact-account-card small{color:#8295a4;font-size:9px;letter-spacing:.14em;text-transform:uppercase}
.compact-account-card strong{display:block;margin:8px 0 12px;font-size:15px;line-height:1.45;color:#eef7f7}
.compact-account-card .menu-online-summary{font-size:11px;color:#a8d9d4}
.launch-section{margin-top:22px}
.section-heading{margin-bottom:10px}.section-heading span{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:#d5e1e7}.section-heading small{font-size:10px}
.mode-launch-grid{grid-template-columns:1.15fr .9fr .95fr;gap:12px}
.mode-launch-card{
  min-height:174px;padding:18px;
  border-radius:17px;border-color:rgba(142,172,194,.23);
  background:linear-gradient(150deg,rgba(21,31,43,.92),rgba(7,12,19,.92));
  box-shadow:inset 0 1px rgba(255,255,255,.035),0 12px 32px rgba(0,0,0,.2)
}
.mode-launch-card:before{background:radial-gradient(circle at 100% 0%,rgba(137,219,218,.1),transparent 55%)}
.mode-launch-card:after{content:"";position:absolute;left:0;top:18px;bottom:18px;width:2px;border-radius:2px;background:rgba(145,226,223,.65)}
.mode-launch-card.daily-card:after{background:rgba(241,138,158,.78)}
.mode-launch-card.coop-card:after{background:rgba(151,222,181,.74)}
.mode-launch-card strong{font-size:20px;letter-spacing:.01em}.mode-launch-card p{font-size:12px;line-height:1.65}
.mode-card-actions button{min-height:39px;box-shadow:none}

.activity-reserve-v080i{
  position:relative;display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:18px;align-items:center;
  margin-top:13px;padding:16px 18px;border:1px solid rgba(208,171,109,.26);border-radius:17px;
  background:linear-gradient(100deg,rgba(56,39,20,.47),rgba(11,17,24,.88) 55%,rgba(30,22,46,.44));overflow:hidden
}
.activity-reserve-v080i:before{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(125deg,transparent 0 22px,rgba(255,255,255,.018) 22px 23px)}
.activity-reserve-copy-v080i,.activity-reserve-state-v080i{position:relative}
.section-kicker-v080i{margin-bottom:6px;font-size:9px;letter-spacing:.16em;color:#c7a66f;text-transform:uppercase;font-weight:800}
.activity-reserve-copy-v080i strong{font-size:17px}.activity-reserve-copy-v080i p{max-width:780px;margin:6px 0 0;color:#aebbc5;font-size:11px;line-height:1.6}
.activity-reserve-state-v080i{display:grid;grid-template-columns:1fr auto;align-items:center;gap:3px 10px;padding-left:17px;border-left:1px solid rgba(209,173,112,.2)}
.activity-reserve-state-v080i span,.activity-reserve-state-v080i small{font-size:9px;color:#8f9da8}.activity-reserve-state-v080i b{justify-self:end;color:#dfbc82;font-size:13px}.activity-reserve-state-v080i small{grid-column:1/-1}.activity-reserve-state-v080i button{grid-column:1/-1;margin-top:7px;padding:8px 10px;font-size:11px;box-shadow:none}

.gameplay-guide{margin-top:14px;padding-top:0;border:0}
.gameplay-guide>summary{padding:10px 12px;border:1px solid rgba(139,169,191,.16);border-radius:11px;background:rgba(8,14,21,.52);font-size:11px;color:#aebdc8;cursor:pointer}
.gameplay-guide[open]>summary{border-radius:11px 11px 0 0;border-bottom-color:transparent}
.gameplay-guide-grid{gap:8px;padding:10px;border:1px solid rgba(139,169,191,.16);border-top:0;border-radius:0 0 12px 12px;background:rgba(6,11,17,.42)}
.gameplay-guide-grid .card{min-height:0;padding:11px;border-radius:10px}.gameplay-guide-grid .card strong{font-size:12px}.gameplay-guide-grid .card p{font-size:10px}
.control-guide-line{font-size:10px;color:#91a3af}
.terminal-dashboard{grid-template-columns:1fr 1.35fr .75fr;gap:11px;margin-top:14px}
.terminal-group{align-content:start;padding:13px;border-radius:14px;background:rgba(7,13,20,.64);border-color:rgba(139,169,190,.17)}
.terminal-group>span{padding-bottom:6px;border-bottom:1px solid rgba(139,169,190,.12);font-size:9px;color:#8fb7bf}
.terminal-group button{flex:1 1 125px;min-height:36px;padding:8px 10px;border-color:rgba(139,169,190,.16);background:rgba(18,27,38,.78);font-size:11px;text-align:left}
.terminal-group button:hover{background:rgba(30,43,57,.9)}

/* ---------- 内部：井下 HUD ---------- */
body.ui-desktop .topbar{
  top:16px!important;left:16px!important;right:auto!important;
  width:min(760px,calc(100vw - 402px))!important;transform:none!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important
}
body.ui-desktop .topbar .stat{
  position:relative;min-width:0;padding:10px 11px!important;border-radius:11px!important;
  border-color:rgba(131,168,190,.2)!important;background:linear-gradient(180deg,rgba(10,17,25,.93),rgba(5,10,16,.9))!important;
  box-shadow:0 9px 28px rgba(0,0,0,.28)!important;overflow:hidden
}
body.ui-desktop .topbar .stat:before{content:"";position:absolute;left:0;right:0;top:0;height:2px;background:#d66d81;opacity:.76}
body.ui-desktop .topbar .stat:nth-child(2):before{background:#d6ac68}
body.ui-desktop .topbar .stat:nth-child(3):before{background:#aa82e8}
body.ui-desktop .topbar .stat:nth-child(4):before{background:#70cbdc}
body.ui-desktop .topbar .label{font-size:9px!important;letter-spacing:.13em!important;margin-bottom:6px!important}
body.ui-desktop .topbar .value{font-size:13px!important}.topbar .bar{height:4px!important;margin-top:7px!important;opacity:.88}
.run-context-080i{
  position:fixed;z-index:34;top:16px;right:16px;width:354px;min-height:72px;
  display:grid;grid-template-columns:1.25fr .8fr 1fr 1fr;gap:0;pointer-events:none;
  border:1px solid rgba(134,173,193,.22);border-radius:12px;overflow:hidden;
  background:linear-gradient(180deg,rgba(9,16,24,.94),rgba(4,9,14,.92));box-shadow:0 10px 34px rgba(0,0,0,.3);backdrop-filter:blur(10px)
}
.run-context-brand-080i,.run-context-item-080i{display:flex;min-width:0;flex-direction:column;justify-content:center;padding:9px 10px;border-right:1px solid rgba(134,173,193,.13)}
.run-context-item-080i:last-child{border-right:0}.run-context-brand-080i span,.run-context-item-080i span{font-size:8px;letter-spacing:.12em;color:#7f929f;text-transform:uppercase}.run-context-brand-080i b,.run-context-item-080i b{margin-top:4px;overflow:hidden;color:#e4edf1;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.run-context-item-080i small{margin-top:2px;color:#7f919d;font-size:8px}
#pressureBadge080i{position:relative}#pressureBadge080i:before{content:"";position:absolute;left:0;top:0;bottom:0;width:2px;background:#72d0bc}.pressure-alert-080i:before{background:#d6b06e!important}.pressure-rising-080i:before{background:#e49270!important}.pressure-high-080i:before{background:#e56b78!important}.pressure-collapse-080i:before{background:#c654e8!important;box-shadow:0 0 11px #c654e8}
.pressure-alert-080i b{color:#e0c086}.pressure-rising-080i b{color:#f0a57f}.pressure-high-080i b{color:#ff8995}.pressure-collapse-080i b{color:#e7a2ff}
body.ui-desktop .right-actions{top:98px!important;right:16px!important;bottom:auto!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:242px!important;gap:6px!important}
body.ui-desktop .right-actions button{min-height:34px!important;padding:7px 9px!important;border-radius:9px!important;font-size:10px!important;box-shadow:none!important}
body.ui-desktop .objective{top:98px!important;left:16px!important;width:390px!important;max-height:calc(100dvh - 126px)!important}
body.ui-desktop .objective-panel-v067{border-color:rgba(139,176,195,.22)!important;background:rgba(5,10,16,.91)!important;box-shadow:0 14px 38px rgba(0,0,0,.3)!important}
body.ui-desktop .objective-header-v067{background:linear-gradient(90deg,rgba(55,91,105,.22),rgba(69,50,99,.18))!important}
body.ui-desktop .boss-hud{top:98px!important;width:min(520px,38vw)!important;padding:9px 12px!important;border-radius:11px!important;background:rgba(8,13,20,.91)!important}
body.ui-desktop .interact{bottom:24px!important;border:1px solid rgba(143,190,193,.3)!important;background:rgba(4,10,15,.92)!important;box-shadow:0 12px 36px rgba(0,0,0,.4)!important}
body.ui-desktop .toast{top:100px!important}

/* ---------- 活动中心弹层 ---------- */
.activity-overlay-080i{z-index:230;background:rgba(1,3,6,.82)}
.activity-panel-080i{width:min(980px,100%);padding:24px;border-color:rgba(201,163,103,.3);background:linear-gradient(150deg,rgba(25,22,23,.98),rgba(7,12,18,.99) 48%,rgba(14,12,25,.98))}
.activity-panel-head-080i{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding-bottom:17px;border-bottom:1px solid rgba(183,157,113,.18)}
.activity-panel-head-080i h2{margin:5px 0 8px}.activity-panel-head-080i .lead{max-width:720px;margin:0;font-size:12px}
.activity-panel-head-080i>button{box-shadow:none}
.activity-layout-080i{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:13px;margin-top:16px}
.activity-feature-080i{min-height:220px;padding:20px;border:1px solid rgba(199,162,103,.27);border-radius:16px;background:radial-gradient(circle at 100% 0%,rgba(194,140,75,.14),transparent 43%),rgba(30,24,20,.56)}
.activity-feature-top-080i{display:flex;justify-content:space-between;gap:12px;color:#a8987e;font-size:9px;letter-spacing:.12em;text-transform:uppercase}.activity-feature-top-080i b{color:#dbb477}.activity-feature-080i h3{margin:42px 0 8px;font-size:28px}.activity-feature-080i p{max-width:580px;color:#abb7c0;font-size:12px;line-height:1.65}
.activity-rule-tags-080i{display:flex;flex-wrap:wrap;gap:6px;margin-top:18px}.activity-rule-tags-080i span{padding:5px 8px;border:1px solid rgba(195,162,110,.18);border-radius:999px;background:rgba(0,0,0,.18);color:#c7bda8;font-size:9px}
.activity-side-080i{display:grid;gap:8px}.activity-side-080i section{display:flex;flex-direction:column;justify-content:center;min-height:68px;padding:11px 13px;border:1px solid rgba(139,169,190,.16);border-radius:12px;background:rgba(7,13,20,.7)}.activity-side-080i span{font-size:8px;letter-spacing:.12em;color:#7f919d;text-transform:uppercase}.activity-side-080i b{margin-top:4px;font-size:13px}.activity-side-080i small{margin-top:3px;color:#8797a2;font-size:9px}
.activity-placeholder-grid-080i{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:10px}.activity-placeholder-grid-080i article{padding:13px;border:1px dashed rgba(139,169,190,.2);border-radius:12px;background:rgba(7,13,20,.42)}.activity-placeholder-grid-080i span{font-size:8px;letter-spacing:.11em;color:#7f919d;text-transform:uppercase}.activity-placeholder-grid-080i b{display:block;margin-top:5px;font-size:12px}.activity-placeholder-grid-080i p{margin:5px 0 0;color:#8797a2;font-size:9px;line-height:1.5}

/* ---------- 手机与平板 ---------- */
body.ui-handheld #menuOverlay>.panel{padding:13px!important;border-radius:17px!important}
body.ui-handheld .menu-hero{grid-template-columns:1fr!important;gap:9px!important;padding-bottom:12px!important}
body.ui-handheld .menu-brand-v080i h1{font-size:33px!important;margin:2px 0 6px!important}
body.ui-handheld .menu-brand-v080i .lead{font-size:11px!important;line-height:1.45!important;margin-bottom:8px!important}
body.ui-handheld .menu-status-row-v080i{gap:4px}body.ui-handheld .menu-status-row-v080i span{min-height:22px;padding:3px 6px;font-size:8px}
body.ui-handheld .compact-account-card{min-height:0;padding:9px 10px!important;margin-top:0!important}.ui-handheld .compact-account-card strong{margin:4px 0;font-size:11px}.ui-handheld .compact-account-card small,.ui-handheld .compact-account-card .menu-online-summary{font-size:8px}
body.ui-handheld .launch-section{margin-top:10px!important}.ui-handheld .section-heading{margin-bottom:5px}
body.ui-handheld .mode-launch-grid{grid-template-columns:1fr 1fr!important;gap:6px!important}.ui-handheld .standard-card{grid-column:1/-1!important}.ui-handheld .mode-launch-card{min-height:104px!important;padding:10px!important}.ui-handheld .mode-launch-card strong{font-size:14px!important}.ui-handheld .mode-launch-card p{font-size:9px!important;line-height:1.4!important}.ui-handheld .mode-card-actions button{min-height:30px!important;padding:6px!important;font-size:9px!important}
body.ui-handheld .activity-reserve-v080i{grid-template-columns:1fr!important;gap:8px;margin-top:7px;padding:10px}.ui-handheld .activity-reserve-copy-v080i strong{font-size:13px}.ui-handheld .activity-reserve-copy-v080i p{font-size:9px;line-height:1.45}.ui-handheld .activity-reserve-state-v080i{grid-template-columns:1fr auto;padding:7px 0 0;border-left:0;border-top:1px solid rgba(209,173,112,.16)}.ui-handheld .activity-reserve-state-v080i button{margin-top:3px;padding:6px;font-size:9px}
body.ui-handheld .gameplay-guide{margin-top:7px}.ui-handheld .gameplay-guide>summary{padding:7px 8px;font-size:9px}.ui-handheld .gameplay-guide-grid{grid-template-columns:1fr 1fr 1fr!important;padding:6px}.ui-handheld .gameplay-guide-grid .card{padding:7px}.ui-handheld .gameplay-guide-grid .card p{display:none}
body.ui-handheld .terminal-dashboard{gap:6px!important;margin-top:7px!important}.ui-handheld .terminal-group{padding:7px!important}.ui-handheld .terminal-group button{min-height:28px!important;padding:5px 6px!important;font-size:9px!important}
body.ui-handheld .run-context-080i{top:max(59px,calc(env(safe-area-inset-top) + 55px));left:50%;right:auto;width:auto;min-height:0;transform:translateX(-50%);display:block;border-radius:999px;background:rgba(5,11,17,.9)}
body.ui-handheld .run-context-brand-080i,body.ui-handheld .run-context-item-080i:not(#pressureBadge080i){display:none}
body.ui-handheld #pressureBadge080i{display:grid;grid-template-columns:auto auto auto;align-items:center;gap:5px;min-width:150px;padding:5px 10px;border:0}
body.ui-handheld #pressureBadge080i span,body.ui-handheld #pressureBadge080i b,body.ui-handheld #pressureBadge080i small{margin:0;font-size:8px;white-space:nowrap}
body.ui-handheld .objective{top:max(91px,calc(env(safe-area-inset-top) + 87px))!important;max-height:calc(100dvh - 101px)!important}
body.ui-handheld .boss-hud{top:max(91px,calc(env(safe-area-inset-top) + 87px))!important}
body.ui-handheld .toast{top:max(94px,calc(env(safe-area-inset-top) + 90px))!important}
body.ui-handheld .activity-panel-080i{width:100%;max-height:calc(100dvh - 12px);padding:13px}.ui-handheld .activity-panel-head-080i h2{font-size:20px}.ui-handheld .activity-panel-head-080i .lead{font-size:9px;line-height:1.45}.ui-handheld .activity-layout-080i{grid-template-columns:1fr 180px;gap:7px;margin-top:9px}.ui-handheld .activity-feature-080i{min-height:160px;padding:12px}.ui-handheld .activity-feature-080i h3{margin:23px 0 5px;font-size:20px}.ui-handheld .activity-feature-080i p{font-size:9px}.ui-handheld .activity-rule-tags-080i{margin-top:8px}.ui-handheld .activity-rule-tags-080i span{font-size:7px}.ui-handheld .activity-side-080i{gap:5px}.ui-handheld .activity-side-080i section{min-height:46px;padding:7px}.ui-handheld .activity-side-080i b{font-size:10px}.ui-handheld .activity-side-080i small{display:none}.ui-handheld .activity-placeholder-grid-080i{gap:5px;margin-top:6px}.ui-handheld .activity-placeholder-grid-080i article{padding:7px}.ui-handheld .activity-placeholder-grid-080i p{display:none}

@media(max-width:920px) and (orientation:portrait){
  .menu-hero,.activity-reserve-v080i,.activity-layout-080i{grid-template-columns:1fr}
  .mode-launch-grid,.terminal-dashboard{grid-template-columns:1fr}
  .activity-placeholder-grid-080i{grid-template-columns:1fr}
  .activity-reserve-state-v080i{padding-left:0;padding-top:12px;border-left:0;border-top:1px solid rgba(209,173,112,.2)}
}
@media(max-height:430px) and (orientation:landscape){
  body.ui-handheld .menu-brand-v080i .lead{display:none}
  body.ui-handheld .menu-status-row-v080i span:nth-child(3){display:none}
  body.ui-handheld .activity-reserve-copy-v080i p{display:none}
  body.ui-handheld .gameplay-guide{display:none}
  body.ui-handheld .run-context-080i{top:54px}
  body.ui-handheld .objective,body.ui-handheld .boss-hud{top:82px!important}
}
/* 保留 v0.8.0e 的桌面任务抽屉行为，新的 HUD 定位不能把折叠高度覆盖掉。 */
body.ui-desktop:not(.tasks-user-open) .objective:not(:hover):not(:focus-within){max-height:62px!important;overflow:hidden!important}
body.ui-desktop.tasks-user-open .objective,
body.ui-desktop .objective:hover,
body.ui-desktop .objective:focus-within{max-height:calc(100dvh - 126px)!important;overflow:auto!important}
/* 初始帧尚未生成结构化任务面板时，给旧目标文本一个明确容器，避免悬浮文字直接压在地图上。 */
body.ui-desktop .objective:not(:has(.objective-panel-v067)){
  padding:10px 12px!important;
  border:1px solid rgba(139,176,195,.22)!important;
  border-radius:12px!important;
  background:rgba(5,10,16,.91)!important;
  color:#aebdc8!important;
  line-height:1.45!important;
}
body.ui-handheld .objective:not(:has(.objective-panel-v067)){
  padding:7px 9px!important;
  border:1px solid rgba(139,176,195,.22)!important;
  border-radius:10px!important;
  background:rgba(5,10,16,.94)!important;
}

/* --- [CSS MODULE PART] v080i-stage2.css --- */
/* 黑井撤离 v0.8.0 · 搜掠、密封载荷与结算界面 */
.run-context-080i{grid-template-columns:minmax(104px,1.15fr) repeat(4,minmax(92px,1fr));}
.cargo-slot-080i2{border-color:rgba(206,162,100,.34);background:linear-gradient(145deg,rgba(51,37,24,.88),rgba(19,24,30,.9));}
.cargo-slot-080i2 b{color:#f1c981;}
.cargo-slot-080i2 small{color:#c9b185;}
.cargo-slot-080i2.cargo-full-080i2{border-color:rgba(244,114,118,.72);box-shadow:0 0 22px rgba(232,80,88,.15) inset,0 0 18px rgba(232,80,88,.12);}
.cargo-slot-080i2.cargo-full-080i2 b{color:#ff9699;}
.mobile-cargo-080i2{display:none;position:fixed;z-index:44;left:50%;top:max(10px,env(safe-area-inset-top));transform:translateX(-50%);min-width:148px;padding:7px 13px;border:1px solid rgba(216,175,104,.42);border-radius:999px;background:rgba(9,12,17,.9);box-shadow:0 8px 24px rgba(0,0,0,.28);color:#f0d39b;font-size:12px;font-weight:800;letter-spacing:.04em;text-align:center;pointer-events:none;backdrop-filter:blur(12px);}

.valuable-swap-overlay-080i2{z-index:185;}
.valuable-swap-panel-080i2{position:relative;width:min(760px,calc(100vw - 36px));max-height:min(86vh,760px);overflow:auto;border-color:rgba(213,168,94,.38);background:radial-gradient(circle at 88% 8%,rgba(140,88,47,.16),transparent 33%),linear-gradient(150deg,rgba(18,22,29,.98),rgba(7,10,14,.99));}
.overlay-close-080i2{position:absolute;right:18px;top:16px;width:38px;height:38px;padding:0;border-radius:12px;font-size:25px;line-height:1;}
.valuable-swap-content-080i2{display:grid;gap:14px;margin:22px 0 6px;}
.valuable-swap-summary-080i2{display:grid;grid-template-columns:1.3fr .7fr;gap:12px;align-items:stretch;}
.valuable-swap-new-080i2,.valuable-swap-progress-080i2{padding:16px;border:1px solid rgba(255,255,255,.08);border-radius:16px;background:rgba(255,255,255,.035);}
.valuable-swap-new-080i2 span,.valuable-swap-progress-080i2 span,.valuable-swap-item-copy-080i2 small{display:block;color:var(--muted,#9aa7b4);font-size:12px;}
.valuable-swap-new-080i2 b{display:block;margin:4px 0;color:#f0ce91;font-size:18px;}
.valuable-swap-new-080i2 small{color:#c0ad88;}
.valuable-swap-progress-080i2{display:grid;place-content:center;text-align:center;}
.valuable-swap-progress-080i2 b{margin-top:5px;font-size:20px;color:#f4f7fb;}
.valuable-swap-progress-080i2.ready{border-color:rgba(98,211,157,.4);background:rgba(49,128,90,.12);}
.valuable-swap-progress-080i2.ready b{color:#8de3b7;}
.valuable-swap-list-080i2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.valuable-swap-item-080i2{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:12px;align-items:center;width:100%;padding:12px;border:1px solid rgba(255,255,255,.09);border-radius:15px;background:rgba(255,255,255,.035);text-align:left;color:inherit;transition:border-color .16s ease,transform .16s ease,background .16s ease;}
.valuable-swap-item-080i2:hover{transform:translateY(-1px);border-color:rgba(216,176,111,.42);}
.valuable-swap-item-080i2.selected{border-color:#d7a75e;background:rgba(166,111,51,.17);box-shadow:0 0 0 1px rgba(215,167,94,.14) inset;}
.valuable-swap-item-art-080i2{width:52px;height:52px;display:grid;place-items:center;border-radius:12px;background:rgba(0,0,0,.25);overflow:hidden;}
.valuable-swap-item-art-080i2 img{width:100%;height:100%;object-fit:cover;}
.valuable-swap-item-art-080i2 span{font-size:22px;font-weight:900;color:#ead4a9;}
.valuable-swap-item-copy-080i2 b{display:block;margin-bottom:3px;color:#eef2f7;}
.valuable-swap-item-copy-080i2 em{display:block;margin-top:5px;color:#c8b17f;font-size:11px;font-style:normal;}
.valuable-swap-item-slots-080i2{display:grid;gap:4px;text-align:right;white-space:nowrap;}
.valuable-swap-item-slots-080i2 b{font-size:15px;color:#efd091;}
.valuable-swap-item-slots-080i2 small{color:var(--muted,#9aa7b4);}
.valuable-swap-empty-080i2{padding:26px;border:1px dashed rgba(255,255,255,.14);border-radius:15px;color:var(--muted,#9aa7b4);text-align:center;}
.valuable-swap-actions-080i2{position:sticky;bottom:-1px;padding-top:14px;background:linear-gradient(180deg,transparent,rgba(8,11,15,.98) 28%);}

.loot-recap-080i2{margin-top:16px;border-color:rgba(205,161,91,.25);background:linear-gradient(145deg,rgba(43,33,23,.35),rgba(15,21,28,.74));}
.loot-recap-head-080i2{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:14px;}
.loot-recap-head-080i2 span{display:block;color:#c7a86f;font-size:11px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;}
.loot-recap-head-080i2 b{display:block;margin-top:4px;font-size:18px;color:#f2ddaf;}
.loot-recap-head-080i2 small{max-width:300px;color:var(--muted,#9aa7b4);text-align:right;line-height:1.5;}
.loot-recap-grid-080i2{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;}
.loot-recap-grid-080i2>div{padding:11px 12px;border:1px solid rgba(255,255,255,.07);border-radius:13px;background:rgba(0,0,0,.13);}
.loot-recap-grid-080i2 span{display:block;color:var(--muted,#9aa7b4);font-size:11px;}
.loot-recap-grid-080i2 b{display:block;margin-top:4px;color:#edf1f5;font-size:15px;overflow-wrap:anywhere;}

@media (max-width:1180px){
  .run-context-080i{grid-template-columns:repeat(4,minmax(88px,1fr));}
  .run-context-brand-080i{display:none;}
}
@media (max-width:760px){
  .valuable-swap-summary-080i2,.valuable-swap-list-080i2{grid-template-columns:1fr;}
  .loot-recap-grid-080i2{grid-template-columns:repeat(2,minmax(0,1fr));}
  .loot-recap-head-080i2{display:block;}
  .loot-recap-head-080i2 small{display:block;margin-top:8px;text-align:left;}
}
@media (pointer:coarse),(max-width:920px){
  body.bw-handheld .mobile-cargo-080i2,html.bw-handheld-early .mobile-cargo-080i2{display:block;}
  body.bw-handheld .cargo-slot-080i2,html.bw-handheld-early .cargo-slot-080i2{display:none;}
  body.bw-handheld .valuable-swap-panel-080i2,html.bw-handheld-early .valuable-swap-panel-080i2{width:min(760px,calc(100vw - max(18px,env(safe-area-inset-left)) - max(18px,env(safe-area-inset-right))));max-height:calc(100dvh - max(18px,env(safe-area-inset-top)) - max(18px,env(safe-area-inset-bottom)));padding-bottom:max(22px,env(safe-area-inset-bottom));}
  body.bw-handheld .valuable-swap-list-080i2,html.bw-handheld-early .valuable-swap-list-080i2{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (pointer:coarse) and (orientation:landscape){
  .mobile-cargo-080i2{top:max(7px,env(safe-area-inset-top));padding:5px 11px;font-size:11px;}
  .valuable-swap-panel-080i2{max-height:94dvh;padding:18px 20px;}
  .valuable-swap-panel-080i2 .lead{font-size:12px;line-height:1.45;}
  .valuable-swap-content-080i2{margin-top:13px;}
  .valuable-swap-item-080i2{padding:8px;grid-template-columns:42px minmax(0,1fr) auto;}
  .valuable-swap-item-art-080i2{width:42px;height:42px;}
}
@media (pointer:coarse) and (orientation:landscape) and (max-height:520px){
  .valuable-swap-panel-080i2 h2{margin:3px 0 5px;font-size:21px;}
  .valuable-swap-summary-080i2{grid-template-columns:1fr 1fr;}
  .valuable-swap-list-080i2{grid-template-columns:repeat(2,minmax(0,1fr));}
  .loot-recap-grid-080i2{grid-template-columns:repeat(3,minmax(0,1fr));}
}

/* --- [CSS MODULE PART] v080i-stage3.css --- */
/* v0.8.0 · 守卫战节奏与今日异常个人守卫说明 */
.boss-tactics-080i4{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:7px;padding-top:7px;border-top:1px solid rgba(255,255,255,.1);font-size:11px;color:#cbd9e6}
.boss-tactics-080i4 strong{color:#f3d58f;font-size:11px;letter-spacing:.04em}
.boss-tactics-080i4 span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.boss-hud.boss-vulnerable-080i4{box-shadow:0 0 24px rgba(244,199,104,.22),inset 0 0 20px rgba(244,199,104,.08)}
.boss-hud.boss-vulnerable-080i4 .boss-bar i{filter:brightness(1.35) saturate(.75)}
.daily-policy-note-080i4{margin-top:10px;padding:10px 12px;border:1px solid rgba(119,210,205,.22);border-radius:10px;background:rgba(22,54,60,.34);color:#cfeceb;font-size:12px;line-height:1.55}
.daily-policy-note-080i4 strong{color:#8de4dd}
@media (max-width:900px){.boss-tactics-080i4{font-size:10px;gap:6px}.boss-tactics-080i4 strong{font-size:10px}.boss-tactics-080i4 span{max-width:58vw}}

/* --- [CSS MODULE PART] v080i-stage4.css --- */
#hunterHud080i4{position:fixed;top:118px;left:50%;transform:translateX(-50%);z-index:24;width:min(420px,72vw);padding:10px 13px;border:1px solid rgba(244,87,151,.58);border-radius:12px;background:linear-gradient(135deg,rgba(24,8,18,.94),rgba(10,13,20,.9));box-shadow:0 10px 32px rgba(0,0,0,.36),0 0 24px rgba(244,70,145,.14);pointer-events:none}#hunterHud080i4>div:first-child{display:flex;justify-content:space-between;gap:16px}#hunterHud080i4 span{font-size:10px;letter-spacing:.12em;color:#df8bb1}#hunterHud080i4 b{font-size:13px;color:#fff0f7}.hunter-hp-080i4{height:6px;margin:8px 0 6px;border-radius:999px;background:#2b1521;overflow:hidden}.hunter-hp-080i4 i{display:block;height:100%;background:linear-gradient(90deg,#9b285f,#ff69a8)}#hunterHud080i4 small{color:#c8aeb9}
#hunterDebuffs080i4{position:fixed;top:190px;left:50%;transform:translateX(-50%);z-index:24;display:flex;gap:6px;flex-wrap:wrap;justify-content:center;max-width:70vw;pointer-events:none}#hunterDebuffs080i4 span{padding:4px 8px;border:1px solid rgba(244,91,151,.38);border-radius:999px;background:rgba(42,14,31,.84);color:#ffc9dd;font-size:10px}
#groundLootPanel080i4{position:fixed;left:50%;bottom:112px;transform:translateX(-50%);z-index:28;display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:10px;width:min(460px,78vw);padding:9px 12px;border:1px solid rgba(116,196,211,.42);border-radius:12px;background:rgba(7,13,20,.92);box-shadow:0 12px 34px rgba(0,0,0,.36);pointer-events:none}.ground-loot-icon-080i4{font-size:22px;text-align:center}#groundLootPanel080i4 div:nth-child(2){display:flex;flex-direction:column;min-width:0}#groundLootPanel080i4 b{color:#eefbff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#groundLootPanel080i4 span,#groundLootPanel080i4 small{color:#9eb5bd;font-size:11px}#groundLootPanel080i4 em{color:#ff9dbd;font-style:normal}#groundLootPanel080i4 kbd{padding:5px 7px;border-radius:6px;background:#172630;color:#ccebf2;font-size:10px}
.quick-swap-panel-080i4{max-width:620px}.quick-swap-incoming-080i4{display:flex;gap:14px;align-items:center;padding:12px;border:1px solid rgba(114,205,214,.24);border-radius:12px;background:rgba(15,26,34,.72)}.quick-swap-incoming-080i4>span{font-size:30px}.quick-swap-incoming-080i4 div{display:flex;flex-direction:column}.quick-swap-incoming-080i4 small,.quick-swap-incoming-080i4 em{color:#9bb5be;font-style:normal}.quick-swap-plan-080i4{margin-top:12px;display:grid;gap:7px}.quick-swap-plan-080i4>small{color:#d4b97b}.quick-swap-plan-080i4>div{display:flex;justify-content:space-between;padding:8px 10px;border-radius:8px;background:rgba(255,255,255,.045)}.quick-swap-plan-080i4 b{color:#f2c6a2}
@media(max-width:900px){#hunterHud080i4{top:76px;width:min(360px,66vw);padding:7px 9px}#hunterDebuffs080i4{top:136px;max-width:62vw}#groundLootPanel080i4{bottom:86px;width:min(420px,68vw);grid-template-columns:34px 1fr;gap:7px;padding:7px 9px}#groundLootPanel080i4 kbd{display:none}}
