/* MYTHVEIL D.19.2.1 — compact pause flow. Presentation-only; no gameplay mutation. */
#shell.mv2921-paused #hud,
#shell.mv2921-paused #mv142BossPanel,
#shell.mv2921-paused #mv150CombatInfoRail,
#shell.mv2921-paused #mv25Compass,
#shell.mv2921-paused #mv12Resource,
#shell.mv2921-paused #mv16KeystoneHud,
#shell.mv2921-paused #mv15DungeonRoute,
#shell.mv2921-paused #dungeonHud,
#shell.mv2921-paused #dungeonAffixDisplay,
#shell.mv2921-paused #bossBar,
#shell.mv2921-paused #bossDepth,
#shell.mv2921-paused #bossChoreo,
#shell.mv2921-paused #mv20-dungeon-hud,
#shell.mv2921-paused #mv110-tools,
#shell.mv2921-paused #toast,
#shell.mv2921-paused #mv25QuickInfo,
#shell.mv2921-paused #mv241-hud,
#shell.mv2921-paused #vfxMode,
#shell.mv2921-paused #quality,
#shell.mv2921-paused #cinematicMode,
#shell.mv2921-paused #mv142DetailsToggle,
#shell.mv2921-paused #skillArsenal,
#shell.mv2921-paused #autoCastPanel,
#shell.mv2921-paused #abilityTooltip {visibility:hidden!important;opacity:0!important;pointer-events:none!important}

#shell #pause.mv2921-ready:not(.hidden){z-index:125!important;display:flex!important;align-items:center;justify-content:center;background:rgba(3,9,14,.76)!important;backdrop-filter:blur(6px)!important}
#shell #pause.mv2921-ready .modal.mv2921-pause-card{
  position:relative!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;
  width:454px!important;max-width:calc(100% - 56px)!important;
  height:auto!important;max-height:calc(100% - 92px)!important;
  margin:0 auto!important;padding:21px 28px 20px!important;overflow-y:auto!important;
  background:linear-gradient(157deg,#14252d 0%,#0d1823 64%,#101b25 100%)!important;
  border:1px solid #a48a5a!important;border-radius:11px!important;
  box-shadow:0 24px 72px #000c,inset 0 0 0 2px #18252e,inset 0 0 0 4px #9e84532e!important;
  text-align:center!important;color:#e7d8bf!important;pointer-events:auto!important;
  scrollbar-width:thin;scrollbar-color:#886e4e #16212a;
}
#shell #pause.mv2921-ready .modal.mv2921-pause-card::before{content:'◆';font:13px Georgia,serif;position:absolute;top:-6px;left:50%;transform:translateX(-50%);color:#c8ac73}
#pause .mv2921-kicker{font:700 10px/1.2 'Segoe UI','Microsoft YaHei',sans-serif;letter-spacing:2.1px;color:#bca57d;margin:5px 0 8px}
#pause .mv2921-pause-title{font:700 29px/1.2 Georgia,'Microsoft YaHei',serif;letter-spacing:1.7px;color:#f0d8ac;margin:0 0 8px}
#pause .mv2921-pause-note{font:11px/1.55 'Segoe UI','Microsoft YaHei',sans-serif;color:#aabcc0;max-width:325px;margin:0 auto 18px}
#pause .mv2921-pause-actions{display:grid;gap:9px;width:100%;margin:0}
#pause .mv2921-pause-actions > button{
  display:block!important;width:100%!important;height:45px!important;min-height:45px!important;
  margin:0!important;padding:0 14px!important;border:1px solid #806d4e!important;border-radius:6px!important;
  background:linear-gradient(#26363c,#101f29)!important;color:#e3d0ae!important;
  font:700 13px/1.2 'Segoe UI','Microsoft YaHei',sans-serif!important;letter-spacing:.6px!important;
  box-shadow:inset 0 0 0 1px #35464b,0 2px 8px #0004!important;cursor:pointer!important;
}
#pause .mv2921-pause-actions > button:hover,#pause .mv2921-pause-actions > button:focus-visible{
  border-color:#c7a673!important;background:linear-gradient(#34464b,#1a2c35)!important;color:#fff0cb!important;
}
#pause .mv2921-pause-actions > #resume{background:linear-gradient(180deg,#6f5430,#382a21)!important;border-color:#d4b77f!important;color:#ffedc9!important;font-weight:800!important}
#pause .mv2921-pause-actions > #menuPause{border-color:#67584e!important;color:#b9b8b7!important}
#pause .mv2921-pause-footer{font:10px/1.4 'Segoe UI','Microsoft YaHei',sans-serif;color:#849eab;border-top:1px solid #7a6b4c54;margin-top:17px;padding-top:12px}
#pause .mv2921-legacy{display:none!important}
/* Existing settings window is the SECOND level; place it over the pause card. */
#shell.mv2921-paused #menuSettings:not(.hidden){z-index:235!important;background:rgba(3,8,13,.84)!important}
#shell.mv2921-paused #menuSettings .modal{width:540px!important;max-height:calc(100% - 56px)!important;overflow-y:auto!important;overscroll-behavior:contain;pointer-events:auto;scrollbar-width:thin}
#menuSettings .mv2921-extra-row{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:12px 0;border-top:1px solid #79674750;padding:14px 0 1px;color:#d9c5a3;font-size:12px}
#menuSettings .mv2921-extra-row label{letter-spacing:.6px;color:#dcc391}
#menuSettings .mv2921-extra-row select{padding:8px;border:1px solid #9b7b46;background:#0e1d26;color:#efd9b6;border-radius:5px;min-width:146px}
#menuSettings .mv2921-extra-row button{border:1px solid #937a57;background:#162631;color:#eed6a6;padding:8px 11px;border-radius:5px;max-width:190px}
/* Original skill-loadout modal must stay above the pause (read-only while in combat). */
body:has(#shell.mv2921-paused) #mv12Panel.mv12-visible{z-index:275!important}
/* Existing guide remains above settings when opened from there. */
#shell.mv2921-paused #mv160Guide:not(.hidden){z-index:280!important}
@media(prefers-reduced-motion:reduce){#pause .mv2921-pause-actions > button{transition:none!important}}
