/* MYTHVEIL PUBLIC DEMO 2.1 — ART RECONSTRUCTION / THE LOST RELIQUARY
   Original graphic components: 27 independent transparent PNG assets.
   All character, item, skill, enemy and save-state logic remains Demo 2.0.
   Text remains live DOM for EN / ES / ZH. 1280x720 game layout preserved. */

/* 01 — shared typography and interactive states */
#shell{--mv21-ivory:#ede5d4;--mv21-gold:#dfb97e;--mv21-gold-bright:#f6ddb0;
  --mv21-teal:#81cdd1;--mv21-muted:#b0c3c2;--mv21-ink:#0a151d;
  --mv21-etched:rgba(211,168,100,.62)}
#shell .modal,#shell .dungeon-dialog,#shell .talent-shell,#shell .gear-shell,
#shell .camp-window{color:var(--mv21-ivory)}
#shell button,#shell [role="button"]{touch-action:manipulation}
#shell button:focus-visible,#shell [role="button"]:focus-visible,
#shell select:focus-visible,#shell input:focus-visible{outline:2px solid #f5d391!important;outline-offset:2px}

/* 02 — battle HUD: actual painted backdrop artwork (not gradient replacements) */
#shell.mv25-hud #vitals{
 background:#0a171d url('./art/hud_vitals.webp') center/100% 100% no-repeat!important;
 border:1px solid rgba(195,151,84,.18)!important;border-radius:14px!important;
 box-shadow:0 8px 25px rgba(0,0,0,.38)!important;
}
#shell.mv25-hud #vitals::after,#shell.mv25-hud #vitals::before{display:none!important}
#shell.mv25-hud #vitals .hud-name{font:700 15px/1.25 Georgia,'Microsoft YaHei',serif!important;
 color:#f5daaa!important;letter-spacing:.5px!important;text-shadow:0 2px 5px #000a}
#shell.mv25-hud #vitals #lv{color:#e9cf9f!important;font-size:11px!important}
#shell.mv25-hud #vitals .bar{height:10px!important;border:1px solid #966e3b!important;
 border-radius:6px!important;background:#071017!important;overflow:hidden!important;
 box-shadow:inset 0 2px 5px #000b!important}
#shell.mv25-hud #vitals .bar>i{border-radius:5px!important}
#shell.mv25-hud #vitals .bar.xp{height:7px!important}
#shell.mv25-hud #vitals .bar-label{font:10px/1.25 'Segoe UI','Microsoft YaHei',sans-serif!important;
 color:#bfd2ce!important;letter-spacing:.15px!important}
#shell.mv25-hud #mv25Portrait{border:4px solid rgba(206,165,93,.98)!important;
 box-shadow:0 0 0 3px #0d1a22,0 0 0 5px #7c6039,0 10px 25px #000b!important}
#shell.mv25-hud #mv25Portrait::before{border-color:rgba(246,216,157,.54)!important}
#shell.mv25-hud #mv25Portrait::after{color:#75d1d3!important}
#shell.mv25-hud #mv12Resource,#shell.mv25-hud #motionHUD,
#shell.mv25-hud #mv25QuickInfo,#shell.mv25-hud #bottom .instructions{
 background:#091822 url('./art/hud_compact.webp') center/100% 100% no-repeat!important;
 border:1px solid rgba(183,144,82,.23)!important;border-radius:10px!important;
 box-shadow:0 5px 14px #0008!important}
#shell.mv25-hud #mv12Resource::after,#shell.mv25-hud #motionHUD::after,
#shell.mv25-hud #mv25QuickInfo::after,#shell.mv25-hud #bottom .instructions::after{display:none!important}
#shell.mv25-hud #mv12Resource .mv12-r-track,#shell.mv25-hud #motionTrack{
 background:#08141b!important;border-radius:99px!important;overflow:hidden!important}
#shell.mv25-hud #mv12Resource .mv12-r-fill{background:linear-gradient(90deg,#b98a49,#f0cf90)!important}
#shell.mv25-hud #motionFill{background:linear-gradient(90deg,#438b9a,#b9e4c8)!important}
#shell.mv25-hud #objective,#shell.mv25-hud #dungeonHud,#shell.mv25-hud #counters{
 background:#0a1821 url('./art/hud_compact.webp') center/100% 100% no-repeat!important;
 border:1px solid rgba(194,151,88,.24)!important;border-radius:10px!important;
 box-shadow:0 7px 23px #0008!important}
#shell.mv25-hud #objective::before,#shell.mv25-hud #objective::after,
#shell.mv25-hud #dungeonHud::before,#shell.mv25-hud #dungeonHud::after,
#shell.mv25-hud #counters::before,#shell.mv25-hud #counters::after{display:none!important}
#shell.mv25-hud #clock{color:#f2d49c!important;font-variant-numeric:tabular-nums}
#shell.mv25-hud #objectiveText,#shell.mv25-hud #dungeonPhase{color:#d6e3dc!important}

/* 03 — an actually drawn large skill bar and independent slot frame */
#shell.mv25-hud #skillArsenal{
 background:transparent url('./art/hud_hotbar.webp') center/100% 100% no-repeat!important;
 border:0!important;filter:drop-shadow(0 9px 11px rgba(0,0,0,.33));
}
#shell.mv25-hud #skillArsenal::before,#shell.mv25-hud #skillArsenal::after{display:none!important}
#shell.mv25-hud .arsenal-heading{height:27px!important;padding:0 16px!important;
 background:transparent!important;border:0!important;color:#f1d6a9!important;
 font:700 10px/1.3 Georgia,'Microsoft YaHei',serif!important;letter-spacing:.55px!important}
#shell.mv25-hud #activeHotbar{
 background:transparent!important;border:0!important;box-shadow:none!important;
 padding:9px 12px 7px!important;gap:7px!important}
#shell.mv25-hud #activeHotbar .ability-slot{
 position:relative;border:1px solid rgba(170,126,66,.63)!important;border-radius:9px!important;
 background:rgba(8,19,25,.72)!important;overflow:hidden;
 box-shadow:inset 0 2px 12px #0008,0 2px 7px #0006!important}
#shell.mv25-hud #activeHotbar .ability-slot::before{
 content:'';position:absolute;inset:0;z-index:9;pointer-events:none;
 background:url('./art/slot_frame.webp') center/100% 100% no-repeat!important}
#shell.mv25-hud #activeHotbar .ability-slot:hover,#shell.mv25-hud #activeHotbar .ability-slot:focus-visible{
 border-color:#f4d69d!important;box-shadow:0 0 12px #e9c28277!important;transform:translateY(-2px)}
#shell.mv25-hud .ability-key{background:#07131bcf!important;color:#ffe5aa!important;
 border:1px solid #c69b5e!important;border-radius:5px!important;z-index:11!important}
#shell.mv25-hud .ability-name{color:#f6e4be!important;z-index:11!important}
#shell.mv25-hud .ability-cd{color:#ffe7ba!important;text-shadow:0 2px 7px #000!important;z-index:11!important}
#shell.mv25-hud #bottom .skill{
 background:#091822 url('./art/hud_compact.webp') center/100% 100% no-repeat!important;
 border:1px solid rgba(200,163,95,.35)!important;border-radius:11px!important;
 box-shadow:0 6px 17px #0009!important}
#shell.mv25-hud #bottom .skill kbd{border-radius:5px!important;
 border:1px solid #ba965e!important;background:#0a141b!important;color:#f7e0aa!important}
#shell.mv25-hud #autoCastToggle,#shell.mv25-hud #autoCastSettings{
 background:#12252a url('./art/button_secondary.webp') center/100% 100% no-repeat!important;
 border:0!important;color:#eadbb8!important;border-radius:6px!important}

/* 04 — one painted dungeon tracker; preserve Demo 2.0 drag & positioning */
#shell.mv20-dungeon #mv15DungeonRoute{
 background:#0a1820 url('./art/hud_tracker.webp') center/100% 100% no-repeat!important;
 border:1px solid rgba(192,154,90,.34)!important;
 border-radius:13px!important;box-shadow:0 10px 28px #0009!important;
 padding:12px 13px 12px!important}
#shell.mv20-dungeon #mv15DungeonRoute::before,#shell.mv20-dungeon #mv15DungeonRoute::after{display:none!important}
#shell.mv20-dungeon #mv20TrackLabel{font-size:9px!important;letter-spacing:.8px!important;color:#e3bb7e!important}
#shell.mv20-dungeon #mv20TrackDivider{background:url('./art/ornament_divider.webp') center/100% 100% no-repeat!important;height:11px!important}
#shell.mv20-dungeon #mv15DungeonTitle{font:700 12px/1.28 Georgia,'Microsoft YaHei',serif!important;color:#f5dca6!important}
#shell.mv20-dungeon #mv15DungeonStatus,#shell.mv20-dungeon #mv15DungeonRouteTip{color:#d3e1d9!important}
#shell.mv20-dungeon #mv15BossTrack span{background:#132831 url('./art/button_secondary.webp') center/100% 100% no-repeat!important;
 border:0!important;border-radius:5px!important;box-shadow:inset 0 0 0 1px #a88b5d36!important}
#shell.mv20-dungeon #mv15BossTrack span.done{background:#183b39 url('./art/button_secondary.webp') center/100% 100% no-repeat!important;color:#c4f5d8!important}
#shell.mv20-dungeon #mv15BossTrack span.active{background:#4b3521 url('./art/button_primary.webp') center/100% 100% no-repeat!important;color:#fff0cd!important}
#shell.mv20-dungeon #mv16KeystoneHud{border:1px solid #a5804850!important;border-radius:9px!important;
 background:linear-gradient(160deg,#0e2229c7,#07151bd5)!important;box-shadow:inset 0 2px 12px #0006!important}
#shell.mv20-dungeon #mv16HudTitle,#shell.mv20-dungeon #mv16HudTime{color:#f5daa7!important}
#shell.mv20-dungeon #mv16ForceTrack{background:#081a22!important;border-radius:100px!important}
#shell.mv20-dungeon #mv16ForceFill{border-radius:100px!important}
#shell.mv20-dungeon .mv20-tool,#shell.mv20-dungeon #mv20DetailsBtn{
 background:#0b252b url('./art/button_secondary.webp') center/100% 100% no-repeat!important;
 color:#f6e1b4!important;border:0!important;border-radius:7px!important;
 box-shadow:0 2px 7px #0007!important}
#shell.mv20-dungeon .mv20-tool:hover,#shell.mv20-dungeon #mv20DetailsBtn:hover{filter:brightness(1.16)}
#shell.mv20-dungeon .mv21-minimap-art{position:relative;display:grid;place-items:center;
 width:118px;height:118px;max-width:118px;flex:none;align-self:center;margin:0 auto;
 background:transparent;pointer-events:none}
#shell.mv20-dungeon .mv21-minimap-art::after{content:'';position:absolute;inset:0;pointer-events:none;z-index:3;
 background:url('./art/minimap_frame.webp') center/100% 100% no-repeat}
#shell.mv20-dungeon .mv21-minimap-art #mv15DungeonMap{margin:0!important;width:104px!important;height:104px!important;align-self:auto!important}
#shell.mv20-dungeon.mv20-compact .mv21-minimap-art{width:98px;height:98px;max-width:98px}
#shell.mv20-dungeon.mv20-compact .mv21-minimap-art #mv15DungeonMap{width:86px!important;height:86px!important}
#shell.mv20-dungeon.mv20-map-off .mv21-minimap-art{display:none!important}
#shell.mv20-dungeon.mv142-in-combat #mv142Details{
 background:#0a1a23 url('./art/hud_tracker.webp') center/100% 100% no-repeat!important;
 border:1px solid rgba(194,150,91,.4)!important;border-radius:12px!important}
#shell.mv20-dungeon.mv142-in-combat #mv12Chain{
 background:#0a1821 url('./art/hud_chain.webp') center/100% 100% no-repeat!important;
 border:1px solid rgba(182,147,90,.26)!important;border-radius:12px!important}
#shell.mv142-in-combat #mv142BossPanel.mv20-boss{
 background:#141b23 url('./art/hud_boss.webp') center/100% 100% no-repeat!important;
 border:1px solid rgba(215,171,105,.38)!important;border-radius:11px!important}

/* 05 — modal system rebuilt with independent artwork, not flat tinted cards */
#talentDialog .talent-shell{
 background:#0c1822 url('./art/panel_talent.webp') center/100% 100% no-repeat!important;
 border:1px solid rgba(209,167,93,.6)!important;border-radius:14px!important;
 box-shadow:0 0 0 5px #060c12a4,0 30px 75px #000c!important}
#talentDialog .talent-shell::before{content:'';position:absolute;left:50%;top:10px;
 transform:translateX(-50%);width:29px;height:29px;pointer-events:none;
 background:url('./art/reliquary_crest.webp') center/contain no-repeat;opacity:.76;z-index:2}
#talentDialog .talent-head{background:linear-gradient(180deg,#19262bdb,#14242bc6)!important;
 border-bottom:1px solid #b9915d87!important;padding-top:17px!important}
#talentDialog .talent-head h2{color:#f4d8a8!important;text-shadow:0 2px 6px #0009}
#talentDialog .talent-head small{color:#dfbe86!important}
#talentDialog .talent-score strong{color:#f6dca8!important}
#talentDialog #talentClasses{background:#081722b9!important;border-bottom:1px solid #98805a78!important}
#talentDialog .talent-class{background:#102832 url('./art/button_secondary.webp') center/100% 100% no-repeat!important;
 border:1px solid rgba(154,126,77,.34)!important;border-radius:9px!important;
 color:#d2dcda!important;min-height:44px;font-weight:700;cursor:pointer;
 padding-left:34px!important;text-align:left!important;transition:filter .13s ease,transform .13s ease}
#talentDialog .talent-class.active{background-image:url('./art/button_primary.webp')!important;color:#ffe9bf!important;border-color:#e7bb76!important}
#talentDialog .talent-class:hover{filter:brightness(1.14)!important}
#talentDialog .talent-class:nth-child(1){background-image:url('./art/crest_warrior.webp'),url('./art/button_secondary.webp')!important;background-position:8px center,center!important;background-size:26px 26px,100% 100%!important;background-repeat:no-repeat!important}
#talentDialog .talent-class:nth-child(2){background-image:url('./art/crest_mage.webp'),url('./art/button_secondary.webp')!important;background-position:8px center,center!important;background-size:26px 26px,100% 100%!important;background-repeat:no-repeat!important}
#talentDialog .talent-class:nth-child(3){background-image:url('./art/crest_ranger.webp'),url('./art/button_secondary.webp')!important;background-position:8px center,center!important;background-size:26px 26px,100% 100%!important;background-repeat:no-repeat!important}
#talentDialog .talent-class:nth-child(4){background-image:url('./art/crest_rogue.webp'),url('./art/button_secondary.webp')!important;background-position:8px center,center!important;background-size:26px 26px,100% 100%!important;background-repeat:no-repeat!important}
#talentDialog .talent-class:nth-child(5){background-image:url('./art/crest_paladin.webp'),url('./art/button_secondary.webp')!important;background-position:8px center,center!important;background-size:26px 26px,100% 100%!important;background-repeat:no-repeat!important}
#talentDialog .talent-class:nth-child(6){background-image:url('./art/crest_warlock.webp'),url('./art/button_secondary.webp')!important;background-position:8px center,center!important;background-size:26px 26px,100% 100%!important;background-repeat:no-repeat!important}
#talentDialog .talent-class.active{filter:brightness(1.16)!important;box-shadow:inset 0 0 12px #f2cb7a2c,0 0 10px #b9894330!important}
#talentDialog .talent-summary{background:#0a1b22ba!important;border-bottom-color:#876f4c69!important}
#talentDialog .talent-branch{
 background:#0b1820 url('./art/panel_subsection.webp') center/100% 100% no-repeat!important;
 border:1px solid #8f79505f!important;border-radius:12px!important;
 box-shadow:inset 0 2px 15px #0005,0 5px 15px #0005!important}
#talentDialog .talent-branch.active{border-color:var(--spec,#ca9e64)!important}
#talentDialog .talent-branch-heading{color:#f4dfbd!important;text-shadow:0 2px 5px #0008}
#talentDialog .talent-branch-icon{background:#112833!important;border:1px solid var(--spec,#ca9e64)!important}
#talentDialog .talent-node{background:#10242c url('./art/button_secondary.webp') center/100% 100% no-repeat!important;
 border:1px solid #7e775a75!important;border-radius:9px!important;
 box-shadow:inset 0 0 9px #0003!important}
#talentDialog .talent-node:hover{filter:brightness(1.12)}
#talentDialog .talent-node.learned,#talentDialog .talent-node.selected{border-color:var(--spec,#ddb66e)!important;
 box-shadow:inset 0 0 11px #ae974027,0 0 8px #d19b4420!important}
#talentDialog .talent-detail{background:#0a1d24d4 url('./art/panel_subsection.webp') center/100% 100% no-repeat!important;
 border-top:1px solid #a17d4877!important}
#talentDialog .talent-footer{background:#101d23d9!important;border-top:1px solid #98815472!important}

/* 06 — armory, inventory slots and equipment details */
#armoryDialog .gear-shell{
 background:#0d1b25 url('./art/panel_armory.webp') center/100% 100% no-repeat!important;
 border:1px solid #ad895c9c!important;box-shadow:0 25px 80px #000d!important;border-radius:13px!important}
#armoryDialog .gear-top{background:linear-gradient(180deg,#182a30da,#102027b5)!important;border-bottom-color:#bc996376!important}
#armoryDialog .gear-eyebrow{color:#e0bd85!important}
#armoryDialog .gear-top h2{color:#f4d7a9!important}
#armoryDialog .gear-equip-panel,#armoryDialog .gear-inventory-panel,#armoryDialog .gear-detail-panel{
 background:#0d2027 url('./art/panel_subsection.webp') center/100% 100% no-repeat!important;
 border:1px solid rgba(171,137,87,.62)!important;border-radius:12px!important}
#armoryDialog .gear-section-title{color:#efd5a4!important;border-bottom-color:#a88a577a!important}
#armoryDialog .gear-equipped,#armoryDialog .gear-item,
#armoryDialog .gear-detail-icon{background:#10242c url('./art/button_secondary.webp') center/100% 100% no-repeat!important;
 border:1px solid rgba(140,128,91,.84)!important;border-radius:9px!important}
#armoryDialog .gear-item:hover,#armoryDialog .gear-item.selected,#armoryDialog .gear-equipped:hover{
 filter:brightness(1.11)!important;outline:1px solid rgba(245,213,147,.89)!important;outline-offset:-2px!important}
#armoryDialog .gear-item-art,#armoryDialog .gear-slot-art{filter:drop-shadow(0 4px 7px #0008)}
#armoryDialog .gear-controls select,#armoryDialog .gear-live-preview{
 background:#0b1d26 url('./art/panel_subsection.webp') center/100% 100% no-repeat!important;
 border-color:#a4824d85!important;border-radius:8px!important;color:#e2d5b4!important}
#armoryDialog .gear-footer{background:#0d1d24df!important;border-top:1px solid #b0906175!important}

/* 07 — settings, result, dungeon selector and their buttons */
#menuSettings .modal{
 background:#0e1c23 url('./art/panel_settings.webp') center/100% 100% no-repeat!important;
 border:1px solid #c39a5c9c!important;box-shadow:0 25px 75px #000e!important;
 border-radius:15px!important}
#menuSettings .modal .setting-row{
 background:linear-gradient(90deg,#112630a6,#0b1d27b5)!important;
 border:1px solid rgba(127,129,107,.23)!important;border-radius:9px!important;
 margin:3px 0!important;padding:9px 12px!important}
#menuSettings .modal .setting-row strong{color:#f1dfba!important}
#menuSettings .modal .setting-row small{color:#bacbc7!important}
#menuSettings .modal .controls-help{background:#0b1d25cf!important;
 border:1px solid #97774e7d!important;border-radius:9px!important}
#menuSettings .modal .controls-help kbd{background:#122d33!important;border-color:#aa8854!important;color:#efdbb2!important}
#dungeonSelect .dungeon-dialog{
 background:#091b26 url('./art/panel_dungeon.webp') center/100% 100% no-repeat!important;
 border:1px solid #ba98699e!important;border-radius:13px!important;
 box-shadow:0 25px 85px #000e!important}
#dungeonSelect .dungeon-head{background:linear-gradient(180deg,#152a30df,#10222ab3)!important;border-bottom:1px solid #a1815478!important}
#dungeonSelect .dungeon-cards > *{
 background:#0c222a url('./art/panel_subsection.webp') center/100% 100% no-repeat!important;
 border:1px solid #8f805d98!important;border-radius:11px!important}
#dungeonSelect .dungeon-cards > :nth-child(1)::before,
#dungeonSelect .dungeon-cards > :nth-child(2)::before,
#dungeonSelect .dungeon-cards > :nth-child(3)::before{
 content:'';position:absolute;top:9px;right:10px;width:35px;height:35px;pointer-events:none;opacity:.68;
 background-position:center;background-size:contain;background-repeat:no-repeat}
#dungeonSelect .dungeon-cards > :nth-child(1)::before{background-image:url('./art/crest_thorn.webp')}
#dungeonSelect .dungeon-cards > :nth-child(2)::before{background-image:url('./art/crest_forge.webp')}
#dungeonSelect .dungeon-cards > :nth-child(3)::before{background-image:url('./art/crest_mirror.webp')}
#dungeonSelect .dungeon-cards > *{position:relative}
#dungeonSelect #mv16KeystonePanel,
#dungeonSelect .mv188-contract-row,#dungeonSelect .dungeon-record,
#dungeonSelect #dungeonAffixPreview{
 background:#0b1d26 url('./art/panel_subsection.webp') center/100% 100% no-repeat!important;
 border:1px solid rgba(159,125,79,.6)!important;border-radius:8px!important}
#shell .overlay .modal:not(#menuSettings .modal){
 background:#0b1b25 url('./art/panel_modal.webp') center/100% 100% no-repeat!important;
 border:1px solid #ba945a8f!important;box-shadow:0 20px 70px #000c!important;border-radius:13px!important}
#shell #profilePanel,#shell #artsPanel{
 background:#0c1b25 url('./art/panel_subsection.webp') center/100% 100% no-repeat!important;
 border:1px solid #ae895b8b!important;border-radius:10px!important}

/* 08 — real engraved button assets across overlay systems */
#talentDialog button:not(.talent-node):not(.talent-class),
#armoryDialog button,#menuSettings button,#dungeonSelect button,
#shell .overlay .modal button,
#shell #mv173Title .mv173-tool{
 background:#10232b url('./art/button_secondary.webp') center/100% 100% no-repeat!important;
 border:1px solid rgba(177,143,88,.36)!important;border-radius:8px!important;color:#f3debb!important;
 text-shadow:0 1px 2px #0008!important;cursor:pointer;
 transition:filter .16s ease,transform .12s ease,box-shadow .16s ease!important}
#talentDialog #talentLearn,#armoryDialog #armoryEquip,#dungeonSelect #dungeonLaunch,
#menuSettings #settingsDone,#shell .overlay .modal button.primary,
#shell #mv173Title .mv173-primary{
 background:#332619 url('./art/button_primary.webp') center/100% 100% no-repeat!important;
 border-color:rgba(220,176,106,.48)!important;color:#ffe9c2!important}
#talentDialog button:hover:not(:disabled),#armoryDialog button:hover:not(:disabled),
#menuSettings button:hover:not(:disabled),#dungeonSelect button:hover:not(:disabled),
#shell .overlay .modal button:hover:not(:disabled){filter:brightness(1.16)!important}
#talentDialog button:active:not(:disabled),#armoryDialog button:active:not(:disabled),
#menuSettings button:active:not(:disabled),#dungeonSelect button:active:not(:disabled){transform:translateY(1px)}
#talentDialog button:disabled,#armoryDialog button:disabled,
#menuSettings button:disabled,#dungeonSelect button:disabled{opacity:.43;filter:grayscale(.4)}
#shell #mv173Title .mv173-main-action{
 background:#0e2330 url('./art/button_secondary.webp') center/100% 100% no-repeat!important;
 border:1px solid #ba955e58!important;border-radius:9px!important;box-shadow:0 5px 16px #0008!important}
#shell #mv173Title .mv173-main-action:hover{filter:brightness(1.16)}
#shell #mv173Title .mv173-primary{
 background:#35291d url('./art/button_primary.webp') center/100% 100% no-repeat!important}
#shell #mv173Title .mv173-center{
 background:#0e1b2a url('./art/panel_subsection.webp') center/100% 100% no-repeat!important;
 border:1px solid rgba(166,129,82,.34)!important;border-radius:11px!important}

/* 09 — preserve reduced motion and precise 2.0 controls */
@media(prefers-reduced-motion:reduce){
 #shell button,#shell [role="button"],#shell.mv25-hud #activeHotbar .ability-slot{
 transition:none!important;animation:none!important}}

/* 10 — high-specificity compatibility with Demo 1.9+ in-combat layout.
   Their older HUD rules use three-class selectors with !important; the artwork
   must win *without* changing the position, size or display state. */
#shell.mv25-hud.mv142-in-combat #vitals{
  background:#091921 url('./art/hud_vitals.webp') center/100% 100% no-repeat!important;
  border:1px solid rgba(194,151,88,.4)!important;border-radius:13px!important;
  box-shadow:0 9px 22px #0009!important;
}
#shell.mv25-hud.mv142-in-combat #vitals::before,
#shell.mv25-hud.mv142-in-combat #vitals::after{display:none!important}
#shell.mv25-hud.mv20-dungeon #mv15DungeonRoute{
  background:#0b1a22 url('./art/hud_tracker.webp') center/100% 100% no-repeat!important;
  border:1px solid rgba(194,154,90,.5)!important;border-radius:13px!important;
  box-shadow:0 10px 28px #0009!important;
}
#shell.mv25-hud.mv20-dungeon #mv15DungeonRoute::before,
#shell.mv25-hud.mv20-dungeon #mv15DungeonRoute::after{display:none!important}
#shell.mv25-hud.mv142-in-combat #vitals .hud-name{font-size:14px!important}
#shell.mv25-hud.mv142-in-combat #vitals .bar-label{font-size:10px!important}
#shell.mv25-hud.mv20-dungeon #mv15DungeonTitle{color:#f6dbaa!important;font-size:12px!important}

/* 11 — quieter repeated rows; special artwork is reserved for the main frame,
   selected actions and class medallions. Avoid stacking ornate borders everywhere. */
#talentDialog .talent-node,
#armoryDialog .gear-item,#armoryDialog .gear-equipped{
  background:#0c2028 url('./art/hud_compact.webp') center/100% 100% no-repeat!important;
  border:1px solid rgba(113,140,133,.49)!important;box-shadow:inset 0 0 9px #0005!important}
#talentDialog .talent-node.selected,#talentDialog .talent-node.learned,
#armoryDialog .gear-item.selected,#armoryDialog .gear-equipped.has-equipment{
  border-color:#cba16a!important;box-shadow:inset 0 0 12px #e7bd8020,0 0 9px #d1a15d26!important}
#talentDialog .talent-node-name{font-size:12px!important;color:#dce4dd!important}
#talentDialog .talent-branch-spent{font-size:11px!important}
#armoryDialog .gear-item-name{font-size:10.5px!important;color:#ebddc2!important}
#armoryDialog .gear-section-title{font-size:13px!important}
#armoryDialog .gear-note{font-size:10px!important;line-height:1.45!important}
#menuSettings .modal{
  box-sizing:border-box!important;max-height:calc(100% - 36px)!important;
  overflow-y:auto!important;overscroll-behavior:contain;scrollbar-width:thin;
  scrollbar-color:#9c7c4d #0d2029}
#menuSettings .modal .setting-row strong{font-size:12px!important}
#menuSettings .modal .setting-row small{font-size:10.5px!important}
#dungeonSelect .dungeon-dialog{
  box-sizing:border-box!important;max-height:calc(100% - 12px)!important;
  overflow-y:auto!important;overscroll-behavior:contain;scrollbar-width:thin;
  scrollbar-color:#b08d57 #0c1b24}
#dungeonSelect .dungeon-bottom{
  position:sticky!important;bottom:-2px!important;z-index:6;
  background:linear-gradient(180deg,rgba(10,22,28,.96),rgba(8,17,23,.99))!important;
  border-top:1px solid rgba(185,151,93,.55)!important;
  padding:9px 10px 9px!important;margin:8px -4px -4px!important;
  box-shadow:0 -8px 21px #0009!important}
#dungeonSelect .dungeon-launch{min-width:152px;white-space:nowrap}
#talentDialog .talent-class:nth-child(1).active{background-image:url('./art/crest_warrior.webp'),url('./art/button_primary.webp')!important}
#talentDialog .talent-class:nth-child(2).active{background-image:url('./art/crest_mage.webp'),url('./art/button_primary.webp')!important}
#talentDialog .talent-class:nth-child(3).active{background-image:url('./art/crest_ranger.webp'),url('./art/button_primary.webp')!important}
#talentDialog .talent-class:nth-child(4).active{background-image:url('./art/crest_rogue.webp'),url('./art/button_primary.webp')!important}
#talentDialog .talent-class:nth-child(5).active{background-image:url('./art/crest_paladin.webp'),url('./art/button_primary.webp')!important}
#talentDialog .talent-class:nth-child(6).active{background-image:url('./art/crest_warlock.webp'),url('./art/button_primary.webp')!important}

/* Language-safe live button labels; all art files intentionally contain no text. */
#talentDialog .talent-class{min-width:0!important;white-space:normal!important;overflow-wrap:anywhere;
 line-height:1.2!important;font-size:11px!important}
#dungeonSelect .dungeon-card h3,#dungeonSelect .dungeon-card strong,
#dungeonSelect .dungeon-head h2{overflow-wrap:anywhere}
#menuSettings .modal .setting-row button{min-width:109px;white-space:normal;overflow-wrap:anywhere}

/* Keep the game's existing AUTO label above the painted slot border. */
#shell.mv25-hud #activeHotbar .ability-slot::before{z-index:5!important}
#shell.mv25-hud #activeHotbar .ability-slot.auto-enabled::after{z-index:13!important}
