/* v28A106IQX3 — Elite command rail, desktop progressive enhancement.
   The registry-filtered existing topnav stays present and authoritative;
   mobile drawer and role gates are unchanged. UI only. */
@media(min-width:1200px){
  html body.md106z-ui.md-iqx3-navigation-ready{--md-iqx3-w:258px;}
  html body.md106z-ui.md-iqx3-navigation-ready main.main{
    box-sizing:border-box!important;
    margin-left:var(--md-iqx3-w)!important;
    width:calc(100% - var(--md-iqx3-w))!important;
    max-width:none!important;min-width:0!important;
  }
  html body.md106z-ui.md-iqx3-navigation-ready main.main>.wrap{
    box-sizing:border-box!important;
    max-width:min(100%,1780px)!important;
  }
  html body.md106z-ui.md-iqx3-navigation-ready main.main[data-md-page="city"]>.wrap{
    width:100%!important;max-width:min(100%,1780px)!important;
  }
  html body.md106z-ui.md-iqx3-navigation-ready .topnav-outer .topnav{
    padding-left:calc(var(--md-iqx3-w) + 12px)!important;
  }
  html body.md106z-ui .md-iqx3-rail{
    position:fixed;left:0;top:calc(var(--md-hud-h,90px) + 55px);
    bottom:0;z-index:201;width:258px;display:flex;flex-direction:column;
    background:linear-gradient(162deg,rgba(8,21,36,.995),rgba(3,11,22,.995));
    border-right:1px solid rgba(239,185,77,.28);
    box-shadow:12px 0 36px rgba(0,0,0,.22),inset -1px 0 rgba(255,255,255,.025);
    overflow:hidden;color:#d9e8f5;
  }
  html body.md106z-ui .md-iqx3-rail-head{flex:0 0 auto;display:flex;align-items:center;gap:10px;padding:17px 18px 15px;border-bottom:1px solid rgba(138,166,196,.13)}
  html body.md106z-ui .md-iqx3-crest{font-size:27px;color:#efbd61;text-shadow:0 0 24px rgba(239,185,77,.35)}
  html body.md106z-ui .md-iqx3-heading{display:flex;flex-direction:column;gap:2px}
  html body.md106z-ui .md-iqx3-heading strong{font-size:17px;letter-spacing:-.5px;color:#ffe2aa;line-height:1.1}
  html body.md106z-ui .md-iqx3-heading small{font-size:9px;font-weight:850;letter-spacing:.16em;color:#6ccbdd}
  html body.md106z-ui .md-iqx3-search-wrap{flex:0 0 auto;display:flex;flex-direction:column;gap:8px;padding:14px 14px 12px;color:#a7bbce;font-size:10px;letter-spacing:.09em;text-transform:uppercase;font-weight:850}
  html body.md106z-ui .md-iqx3-search{box-sizing:border-box!important;display:block;width:100%;border:1px solid rgba(108,158,197,.38)!important;border-radius:10px!important;padding:11px 12px!important;background:#0e2336!important;color:#ecf9ff!important;font:600 13px/1.2 system-ui,sans-serif!important;letter-spacing:normal}
  html body.md106z-ui .md-iqx3-search::placeholder{color:#7d9cb4}
  html body.md106z-ui .md-iqx3-groups{display:flex;flex-direction:column;gap:5px;flex:1;overflow:auto;padding:0 11px 26px;scrollbar-width:thin;scrollbar-color:#3e5b75 transparent;overscroll-behavior:contain}
  html body.md106z-ui .md-iqx3-group{flex:0 0 auto;box-sizing:border-box;min-width:0}
  html body.md106z-ui .md-iqx3-direct,html body.md106z-ui .md-iqx3-summary{display:flex;align-items:center;min-height:42px;box-sizing:border-box;padding:10px 11px;color:#d0e0ed;text-decoration:none;border-radius:10px;font-size:13px;font-weight:750;line-height:1.25;border:1px solid transparent;background:transparent;cursor:pointer;list-style:none}
  html body.md106z-ui .md-iqx3-summary{justify-content:space-between}
  html body.md106z-ui .md-iqx3-summary::after{content:'⌄';font-size:16px;opacity:.75;margin-left:8px;transition:transform .16s}
  html body.md106z-ui details[open]>.md-iqx3-summary::after{transform:rotate(180deg)}
  html body.md106z-ui .md-iqx3-summary::-webkit-details-marker{display:none}
  html body.md106z-ui .md-iqx3-items{display:flex;flex-direction:column;gap:3px;padding:3px 0 7px 9px;border-left:1px solid rgba(110,149,185,.26);margin:1px 0 4px 13px}
  html body.md106z-ui .md-iqx3-items a{display:block;box-sizing:border-box;color:#a5bed2;text-decoration:none;padding:9px 12px;border-radius:8px;font:600 12px/1.3 system-ui,sans-serif;border:1px solid transparent}
  html body.md106z-ui .md-iqx3-rail :is(.md-iqx3-direct,.md-iqx3-summary,.md-iqx3-items a):is(:hover,:focus-visible){background:rgba(38,93,128,.23);color:#fff;border-color:rgba(105,174,198,.30)}
  html body.md106z-ui .md-iqx3-rail :is(.md-iqx3-direct,.md-iqx3-summary,.md-iqx3-items a).is-current,html body.md106z-ui .md-iqx3-rail details[open]>.md-iqx3-summary{color:#ffdc8e;background:linear-gradient(105deg,rgba(227,169,61,.2),rgba(48,95,118,.1));border-color:rgba(239,185,77,.40)}
  html body.md106z-ui .md-iqx3-rail :is(a,input,summary):focus-visible{outline:3px solid #f1ba64!important;outline-offset:2px!important}
  html body.md106z-ui .md-iqx3-rail [hidden]{display:none!important}
  html body.md106z-ui .md-iqx3-foot{flex:0 0 auto;background:rgba(2,10,18,.85);border-top:1px solid rgba(126,157,185,.17);padding:13px 16px;color:#799ab0;font-size:9px;letter-spacing:.075em;font-weight:800}
}
@media(max-width:1199px){html body.md106z-ui .md-iqx3-rail{display:none!important}}
@media(prefers-reduced-motion:reduce){html body.md106z-ui .md-iqx3-summary::after{transition:none}}

/* v28A106IQX4 — Unified Command Interface (enhancement; no role authority).
   Hide duplicate desktop topnav only AFTER complete DOM-to-rail link parity.
   The "Show classic menu" button re-exposes the untouched authoritative menu.
   If JS/navigation fails, the original menu remains visible by default. */
@media (min-width:1200px) {
 html body.md106z-ui.md-iqx4-consolidated:not(.md-iqx4-show-native) .topnav-outer {
   display:none!important;
 }
 html body.md106z-ui.md-iqx4-consolidated.md-iqx4-show-native .topnav-outer {
   display:block!important;
 }
 html body.md106z-ui.md-iqx4-consolidated.md-iqx4-show-native .md-iqx3-rail {
   top:calc(var(--md-hud-h,120px) + 55px)!important;
 }
 html body.md106z-ui.md-iqx4-consolidated {
   --md-iqx3-w:286px;
   background:radial-gradient(ellipse 70% 600px at 60% 2%,rgba(25,68,101,.20),transparent 80%),#050d19;
 }
 html body.md106z-ui.md-iqx4-consolidated .md-iqx3-rail {
   width:var(--md-iqx3-w)!important;
   top:var(--md-hud-h,120px)!important;
   background:linear-gradient(175deg,#071829,#081929 50%,#040f1d 100%);
   border-color:rgba(224,172,73,.29);
   box-shadow:14px 0 48px rgba(0,0,0,.26);
 }
 html body.md106z-ui.md-iqx4-consolidated main.main {
   width:calc(100% - var(--md-iqx3-w))!important;
   margin-left:var(--md-iqx3-w)!important;
   min-width:0!important;
   max-width:none!important;
 }
 html body.md106z-ui.md-iqx4-consolidated main.main>.wrap {
   box-sizing:border-box!important;
   width:calc(100% - 48px)!important;
   max-width:1760px!important;
   min-width:0!important;
   margin-inline:auto!important;
   padding-left:0!important;
   padding-right:0!important;
 }
 html body.md106z-ui.md-iqx4-consolidated main.main[data-md-page="city"]>.wrap {
   width:calc(100% - 48px)!important;
   max-width:1760px!important;
   padding:20px 0 72px!important;
 }
 /* Source-confirmed Travel Hub wrapper; override its late inline 1180px cap only
    at desktop sizes. Do NOT alter travel POST forms, locks or route metadata. */
 html body.md106z-ui.md-iqx4-consolidated main.main[data-md-page="travel"] .tv22e-wrap {
   box-sizing:border-box!important;
   width:100%!important;
   max-width:1520px!important;
   min-width:0!important;
   margin-inline:auto!important;
   padding-inline:0!important;
 }
 html body.md106z-ui.md-iqx4-consolidated .md-iqx3-rail-head {
   gap:12px;padding:22px 19px 17px;
   background:linear-gradient(110deg,rgba(223,167,70,.10),rgba(11,36,55,.24));
 }
 html body.md106z-ui.md-iqx4-consolidated .md-iqx3-heading strong {
   font-size:19px;line-height:1.2;color:#fff0ce;
 }
 html body.md106z-ui.md-iqx4-consolidated .md-iqx3-heading small {
   letter-spacing:.14em;font-size:10px;
 }
 html body.md106z-ui.md-iqx4-consolidated .md-iqx4-rail-subhead {
   padding:15px 19px 3px;display:flex;justify-content:space-between;align-items:center;
   gap:6px;color:#e7ba6c;font:800 10px/1.4 system-ui,sans-serif;letter-spacing:.12em;
 }
 html body.md106z-ui.md-iqx4-consolidated .md-iqx4-rail-subhead span:last-child {
   color:#8facbf;font:650 10px/1.4 system-ui,sans-serif;letter-spacing:0;
 }
 html body.md106z-ui.md-iqx4-consolidated .md-iqx3-search-wrap {
   padding:9px 15px 15px;gap:6px;letter-spacing:.08em;
 }
 html body.md106z-ui.md-iqx4-consolidated .md-iqx3-search {
   min-height:44px;font-size:13px!important;border-color:rgba(123,167,197,.44)!important;
 }
 html body.md106z-ui.md-iqx4-consolidated .md-iqx3-groups {
   padding:0 12px 19px;gap:4px;
 }
 html body.md106z-ui.md-iqx4-consolidated .md-iqx3-direct,
 html body.md106z-ui.md-iqx4-consolidated .md-iqx3-summary {
   display:flex;gap:10px;min-height:47px;padding:10px 12px;font-size:14px;
   border-radius:10px;color:#d8e9f5;
 }
 html body.md106z-ui.md-iqx4-consolidated .md-iqx4-icon {
   width:25px;height:25px;flex:0 0 25px;display:inline-flex;align-items:center;justify-content:center;
   border:1px solid rgba(126,176,199,.25);border-radius:8px;background:#102b3c;
   color:#e5bc70;font:800 15px/1 system-ui,sans-serif;
 }
 html body.md106z-ui.md-iqx4-consolidated .md-iqx4-linkword {flex:1;min-width:0;overflow-wrap:anywhere}
 html body.md106z-ui.md-iqx4-consolidated .md-iqx4-chevron {color:#a0b5c4;font-size:17px;transition:transform .15s}
 html body.md106z-ui.md-iqx4-consolidated details[open]>.md-iqx3-summary>.md-iqx4-chevron {transform:rotate(180deg)}
 html body.md106z-ui.md-iqx4-consolidated .md-iqx3-summary::after {display:none!important}
 html body.md106z-ui.md-iqx4-consolidated .md-iqx3-items {
   margin:3px 0 8px 22px;padding:3px 0 7px 13px;
   border-left:1px solid rgba(220,173,79,.32);
 }
 html body.md106z-ui.md-iqx4-consolidated .md-iqx3-items a {
   font-size:13px;min-height:40px;padding:10px 11px;line-height:1.4;
 }
 html body.md106z-ui.md-iqx4-consolidated .md-iqx3-foot {
   display:grid;gap:10px;padding:13px 15px 16px;font-size:10px;letter-spacing:0;
 }
 html body.md106z-ui.md-iqx4-consolidated .md-iqx4-classic {
   width:100%;display:block;min-height:40px;border:1px solid rgba(231,179,75,.5);
   border-radius:10px;background:linear-gradient(145deg,#1f3141,#0d2235);color:#f6d89c;
   font:800 12px/1.3 system-ui,sans-serif;cursor:pointer;
 }
 html body.md106z-ui.md-iqx4-consolidated .md-iqx4-classic:is(:focus-visible,:hover){
   background:#32424d;color:#fff0bc;outline-offset:2px;
 }
 html body.md106z-ui.md-iqx4-consolidated .md-iqx4-provenance {line-height:1.5;color:#8fadc1}
 html body.md106z-ui.md-iqx4-consolidated .md-iqx4-empty {padding:8px 18px;color:#d4b776;font:600 12px/1.4 system-ui,sans-serif}
 html body.md106z-ui.md-iqx4-consolidated .md-iqx3-rail [hidden] {display:none!important}
 html body.md106z-ui.md-iqx4-consolidated .md-iqx3-rail :is(a,summary,input,button):focus-visible {
   outline:3px solid #ffc96d!important;outline-offset:2px!important;
 }
 /* High-legibility HUD without modifying status values or their mobile handling. */
 html body.md106z-ui.md-iqx4-consolidated .topbar.hud {
   padding:12px 22px!important;min-height:104px!important;gap:16px!important;
 }
 html body.md106z-ui.md-iqx4-consolidated .topbar.hud .hud-strip {max-width:1370px!important;gap:8px!important;}
 html body.md106z-ui.md-iqx4-consolidated .topbar.hud .hud-item {
   min-height:48px!important;min-width:122px!important;padding:8px 11px!important;
 }
 html body.md106z-ui.md-iqx4-consolidated .topbar.hud .hud-label {
   font-size:11px!important;line-height:1.3!important;letter-spacing:.04em!important;
 }
 html body.md106z-ui.md-iqx4-consolidated .topbar.hud .hud-meta {
   font-size:14px!important;font-weight:800!important;line-height:1.3!important;
 }
 /* Page content uses full permitted width while legacy game controls retain their semantics. */
 html body.md106z-ui.md-iqx4-consolidated main.main {scroll-margin-top:24px;}
 html body.md106z-ui.md-iqx4-consolidated main.main :is(a,button,select,input,textarea,summary):focus-visible {
   outline:2px solid #f1c46c;outline-offset:3px;
 }
}
@media (max-width:1199px) {
 html body.md106z-ui .md-iqx4-rail-subhead,
 html body.md106z-ui .md-iqx4-empty {display:none!important}
}
@media(prefers-reduced-motion:reduce){
 html body.md106z-ui .md-iqx4-chevron {transition:none!important}
}

/* v28A106IQX5 — Single-brand Top Command HUD
   VISUAL ONLY. No stat cloning, no new values or routes. The canonical HUD
   remains authoritative and is styled only while IQX4's safe sidebar is active.
   The original native menu remains a one-click fallback and mobile is untouched. */
@media (min-width:1200px) {
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command .topbar.hud {
   display:grid!important;
   grid-template-columns:var(--md-iqx3-w,286px) minmax(0,1fr) minmax(196px,236px)!important;
   gap:clamp(9px,1vw,20px)!important;
   align-items:center!important;
   box-sizing:border-box!important;
   width:100%!important;
   min-height:128px!important;
   padding:12px clamp(14px,1.4vw,26px) 12px 0!important;
   background:linear-gradient(108deg,#081725 0%,#07182a 33%,#09172a 72%,#060f1c 100%)!important;
   border-bottom:1px solid rgba(228,178,76,.38)!important;
   box-shadow:inset 0 -1px rgba(255,255,255,.035),0 10px 38px rgba(0,0,0,.22)!important;
 }
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command .topbar.hud .hud-left {
   align-self:stretch!important;display:flex!important;align-items:center!important;
   width:auto!important;min-width:0!important;
   border-right:1px solid rgba(220,173,79,.24);
   padding:0 12px 0 16px;
   background:linear-gradient(90deg,rgba(234,176,70,.06),transparent);
 }
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command .topbar.hud .mdlogo {
   min-width:0!important;width:100%!important;max-width:100%!important;
   display:flex!important;align-items:center!important;gap:10px!important;
   border:0!important;border-radius:0!important;
   box-shadow:none!important;padding:0!important;
   background:transparent!important;
 }
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command .topbar.hud .mdlogo-img {
   height:54px!important;width:auto!important;max-width:70px!important;
   filter:drop-shadow(0 3px 8px rgba(0,0,0,.55)) drop-shadow(0 0 11px rgba(231,172,58,.20))!important;
 }
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command .topbar.hud .mdlogo-wordmark {
   display:flex!important;min-width:0!important;gap:5px!important;
 }
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command .topbar.hud .mdlogo-name {
   font-size:clamp(18px,1.3vw,23px)!important;font-weight:950!important;
   color:#fff1d0!important;letter-spacing:-.04em!important;
 }
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command .topbar.hud .mdlogo-tag {
   color:#e6b75d!important;font-size:9px!important;letter-spacing:.10em!important;
 }
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command .topbar.hud .hud-center {
   display:block!important;min-width:0!important;max-width:none!important;
   width:100%!important;overflow:visible!important;
 }
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command .topbar.hud .hud-strip {
   display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;
   grid-auto-rows:minmax(49px,auto)!important;align-items:stretch!important;
   width:100%!important;max-width:none!important;
   gap:7px!important;justify-content:stretch!important;
 }
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command .topbar.hud .hud-item {
   display:flex!important;flex-direction:column!important;justify-content:center!important;
   min-width:0!important;min-height:49px!important;
   padding:7px 10px!important;gap:4px!important;
   border-radius:10px!important;
   background:linear-gradient(150deg,rgba(28,55,79,.77),rgba(8,23,40,.88))!important;
   border:1px solid rgba(116,165,198,.28)!important;
   box-shadow:inset 0 1px rgba(255,255,255,.04)!important;
 }
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command .topbar.hud .hud-item:is(.hud-location,.hud-health,.hud-armour) {
   border-color:rgba(103,184,213,.43)!important;
 }
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command .topbar.hud .hud-item.hud-cash {
   border-color:rgba(242,188,82,.48)!important;
 }
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command .topbar.hud .hud-label {
   font-size:10px!important;line-height:1.25!important;letter-spacing:.07em!important;
   color:#b6ccdc!important;text-transform:uppercase!important;
 }
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command .topbar.hud .hud-meta {
   min-width:0!important;max-width:100%!important;align-items:center!important;
   font-size:13px!important;line-height:1.35!important;font-weight:800!important;
   white-space:normal!important;overflow-wrap:anywhere!important;
 }
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command .topbar.hud .md-in-hud-value,
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command .topbar.hud .md-in-hud-link {
   min-width:0!important;max-width:100%!important;white-space:normal!important;
   overflow-wrap:anywhere!important;text-overflow:clip!important;
 }
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command .topbar.hud .hud-bar {
   flex:0 0 auto;height:4px!important;border-radius:999px!important;
 }
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command .topbar.hud .hud-right {
   display:flex!important;min-width:0!important;width:100%!important;max-width:236px!important;
   justify-self:end!important;align-items:flex-start!important;
 }
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command .topbar.hud .hud-userbox {
   min-width:0!important;max-width:100%!important;width:100%!important;
   gap:5px!important;align-items:stretch!important;
 }
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command .topbar.hud .userchip {
   max-width:100%!important;min-width:0!important;overflow:hidden!important;
   border:1px solid rgba(233,184,81,.35)!important;
   background:rgba(24,40,58,.76)!important;
 }
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command .topbar.hud .mdal-username {
   min-width:0;overflow:hidden;text-overflow:ellipsis;
 }
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command .topbar.hud :is(.hud-levels,.hud-rank-title,.hud-prog) {
   box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;
 }
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command .topbar.hud .hud-levels {
   grid-template-columns:repeat(3,minmax(0,1fr))!important;
 }
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command .topbar.hud .lvl-badge {
   box-sizing:border-box!important;min-width:0!important;padding:5px 4px!important;
 }
 html body.md106z-ui.md-iqx5-top-command .md-iqx3-rail {
   /* The one brand is already above the rail in the canonical top HUD. */
   border-top:0!important;
 }
 html body.md106z-ui.md-iqx5-top-command .md-iqx4-rail-subhead {
   padding-top:19px!important;padding-bottom:10px!important;
   border-bottom:1px solid rgba(238,184,77,.15);
 }
 html body.md106z-ui.md-iqx5-top-command .md-iqx3-search-wrap {
   padding-top:16px!important;
 }
}
@media (min-width:1200px) and (max-width:1730px) {
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command .topbar.hud {
   grid-template-columns:var(--md-iqx3-w,286px) minmax(0,1fr) minmax(175px,197px)!important;
   gap:10px!important;
 }
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command .topbar.hud .hud-strip {
   grid-template-columns:repeat(5,minmax(0,1fr))!important;
 }
}
@media (prefers-reduced-motion: reduce) {
 html body.md106z-ui.md-iqx5-top-command .mdlogo-img {transition:none!important}
}

/* v28A106IQX6 — compact command ribbon. Scoped to successful IQX5 desktop
   activation. No changes to mobile, native HTML, server values or permissions. */
@media (min-width:1200px) {
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command.md-iqx6-compact .topbar.hud {
   grid-template-columns:var(--md-iqx3-w,286px) minmax(0,1fr) minmax(155px,188px)!important;
   gap:9px!important;min-height:76px!important;padding:6px 14px 6px 0!important;align-items:center!important;
 }
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command.md-iqx6-compact .topbar.hud .hud-left {
   padding:0 8px 0 14px!important;align-self:stretch!important;
 }
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command.md-iqx6-compact .topbar.hud .mdlogo-img {
   height:38px!important;max-width:48px!important;
 }
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command.md-iqx6-compact .topbar.hud .mdlogo-name {
   font-size:clamp(16px,1vw,19px)!important;
 }
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command.md-iqx6-compact .topbar.hud .mdlogo-tag {font-size:8px!important;}
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command.md-iqx6-compact .topbar.hud .hud-center {
   display:flex!important;flex-direction:column!important;gap:5px!important;
 }
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command.md-iqx6-compact .topbar.hud .hud-strip {
   grid-template-columns:repeat(6,minmax(0,1fr))!important;grid-auto-rows:minmax(33px,auto)!important;
   gap:4px!important;align-content:center!important;
 }
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command.md-iqx6-compact .topbar.hud .hud-item {
   position:relative!important;min-height:33px!important;padding:4px 7px!important;gap:1px!important;
   border-radius:7px!important;justify-content:center!important;
 }
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command.md-iqx6-compact .topbar.hud .hud-label {
   font-size:9px!important;line-height:1.1!important;letter-spacing:.045em!important;
 }
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command.md-iqx6-compact .topbar.hud .hud-meta {
   font-size:11px!important;line-height:1.2!important;gap:3px!important;overflow-wrap:anywhere!important;
 }
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command.md-iqx6-compact .topbar.hud .hud-sub {font-size:9px!important;}
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command.md-iqx6-compact .topbar.hud .hud-item .hud-bar {
   display:block!important;order:3!important;width:100%!important;height:4px!important;
   margin-top:1px!important;background:#253d53!important;border-radius:10px!important;overflow:hidden!important;
 }
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command.md-iqx6-compact .topbar.hud .hud-item .hud-fill {
   display:block!important;height:100%!important;border-radius:10px!important;
 }
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command.md-iqx6-compact .topbar.hud .hud-right {
   max-width:188px!important;min-width:0!important;gap:5px!important;
 }
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command.md-iqx6-compact .topbar.hud .hud-userbox {gap:2px!important;}
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command.md-iqx6-compact .topbar.hud .userchip {padding:3px!important;font-size:10px!important;}
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command.md-iqx6-compact .topbar.hud .md-br-wealth {font-size:9px!important;}
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command.md-iqx6-compact .topbar.hud .hud-rank-title {font-size:10px!important;}
 /* Compact read-only mirror of the real progression bars already held by
    .district-progression; it creates no values when the source is absent. */
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command.md-iqx6-compact .md-iqx6-progress {
   box-sizing:border-box;display:grid;width:100%;min-width:0;
   grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;
   font:700 9px/1.15 system-ui,sans-serif;color:#c6dae9;
 }
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command.md-iqx6-compact .md-iqx6-progress-item {
   display:flex;flex-direction:column;gap:3px;min-width:0;padding:2px 5px 3px;
   background:rgba(16,38,56,.65);border:1px solid rgba(110,156,185,.22);border-radius:6px;
 }
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command.md-iqx6-compact .md-iqx6-progress-label {
   display:flex;justify-content:space-between;gap:4px;min-width:0;white-space:nowrap;overflow:hidden;
 }
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command.md-iqx6-compact .md-iqx6-progress-name {
   overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
 }
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command.md-iqx6-compact .md-iqx6-track {
   display:block;height:4px;border-radius:20px;background:#2c4055;overflow:hidden;
 }
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command.md-iqx6-compact .md-iqx6-fill {
   display:block;height:100%;border-radius:20px;background:linear-gradient(90deg,#777cec,#46b8ec);
 }
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command.md-iqx6-compact .md-iqx6-progress-item[data-kind="character"] .md-iqx6-fill {background:linear-gradient(90deg,#dfab43,#ffd16c);}
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command.md-iqx6-compact .md-iqx6-progress-item[data-kind="rank"] .md-iqx6-fill {background:linear-gradient(90deg,#4996c9,#67d7ff);}
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command.md-iqx6-compact .md-iqx6-progress-item[data-kind="pressure"] .md-iqx6-fill {background:linear-gradient(90deg,#df8a4d,#f06666);}
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command.md-iqx6-compact .md-iqx6-progress-item[data-kind="pressure"][data-role="law"] .md-iqx6-fill {background:linear-gradient(90deg,#4eacc3,#e4b966);}
}
@media (min-width:1760px) {
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command.md-iqx6-compact .topbar.hud .hud-strip {
   grid-template-columns:repeat(11,minmax(0,1fr))!important;grid-auto-rows:minmax(37px,auto)!important;
 }
}
@media (min-width:1200px) and (max-width:1759px) {
 html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command.md-iqx6-compact .topbar.hud .hud-strip {grid-template-columns:repeat(6,minmax(0,1fr))!important;}
}
@media (prefers-reduced-motion:reduce) {
 html body.md-iqx6-compact .md-iqx6-fill {transition:none!important;}
}

/* v28A106IQX7 — accountable player identity, restored visual balance.
   Scoped exclusively to IQX6's verified desktop shell. Keep all canonical
   account/role/logout/status markup and the live resource/progression values. */
@media (min-width:1200px) {
  /* Account identity has a hard, readable budget. The old 155–188px column
     allowed username, role badge and logout to fight for the same width. */
  html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command.md-iqx6-compact .topbar.hud {
    grid-template-columns:var(--md-iqx3-w,286px) minmax(0,1fr) 278px!important;
    column-gap:10px!important;
  }
  html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command.md-iqx6-compact .topbar.hud .hud-right {
    display:grid!important;
    grid-template-columns:26px minmax(0,1fr)!important;
    align-items:start!important;
    column-gap:8px!important;
    min-width:0!important;
    max-width:none!important;
    width:100%!important;
    justify-self:stretch!important;
    padding:0!important;
  }
  html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command.md-iqx6-compact .topbar.hud .hud-phone {
    grid-column:1!important;
    grid-row:1!important;
    justify-self:center!important;
    flex:none!important;
    min-width:24px!important;
    margin:2px 0 0!important;
  }
  html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command.md-iqx6-compact .topbar.hud .hud-userbox {
    display:grid!important;
    grid-column:2!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-content:start!important;
    align-items:center!important;
    gap:4px 8px!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    padding:0!important;
  }
  /* A single unified identity tile: full username when it fits, robust
     ellipsis for exceptionally long names, and a never-compressed role badge. */
  html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command.md-iqx6-compact .topbar.hud .userchip {
    box-sizing:border-box!important;
    grid-column:1/-1!important;
    grid-row:1!important;
    display:flex!important;
    justify-content:space-between!important;
    align-items:center!important;
    gap:8px!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    min-height:27px!important;
    padding:4px 8px!important;
    border-radius:7px!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    font-size:11px!important;
    line-height:1.2!important;
  }
  html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command.md-iqx6-compact .topbar.hud .mdal-username {
    display:block!important;
    flex:1 1 auto!important;
    min-width:0!important;
    max-width:none!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-size:11px!important;
    font-weight:850!important;
    color:#f5faff!important;
  }
  html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command.md-iqx6-compact .topbar.hud .userchip-role {
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex:0 0 auto!important;
    min-width:max-content!important;
    width:auto!important;
    max-width:none!important;
    padding:3px 6px!important;
    font:800 9px/1.15 system-ui,sans-serif!important;
    letter-spacing:.045em!important;
    white-space:nowrap!important;
  }
  /* The logout link gets its own position, rather than eating the name. */
  html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command.md-iqx6-compact .topbar.hud .hud-logout {
    grid-column:2!important;
    grid-row:2!important;
    justify-self:end!important;
    align-self:center!important;
    white-space:nowrap!important;
    min-width:max-content!important;
    min-height:23px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:3px 7px!important;
    border-radius:6px!important;
    font-size:10px!important;
  }
  html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command.md-iqx6-compact .topbar.hud .md-br-wealth {
    grid-column:1!important;
    grid-row:2!important;
    min-width:0!important;
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    align-self:center!important;
    justify-self:start!important;
    font-size:10px!important;
    line-height:1.25!important;
  }
  html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command.md-iqx6-compact .topbar.hud .hud-levels {
    grid-column:1/-1!important;
    grid-row:3!important;
    min-width:0!important;
  }
  html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command.md-iqx6-compact .topbar.hud .hud-rank-title {
    grid-column:1/-1!important;
    grid-row:4!important;
    min-width:0!important;
    font-size:10px!important;
  }
  html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command.md-iqx6-compact .topbar.hud .district-progression {
    grid-column:1/-1!important;
    grid-row:5!important;
    min-width:0!important;
    max-width:100%!important;
  }
  html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command.md-iqx6-compact .topbar.hud .userchip :focus-visible,
  html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command.md-iqx6-compact .topbar.hud .hud-logout:focus-visible {
    outline:2px solid #efc36e!important;
    outline-offset:2px!important;
  }
}

/* v28A106IQX8 — Premium line-icon sidebar and redundant-section de-duplication.
   Scoped to the verified role-filtered desktop sidebar only. If JavaScript
   or route parity fails, the original native + section navigation remains.
   The phone/tablet section menu is intentionally retained for reachability. */
@media (min-width:1200px) {
  html body.md106z-ui.md-iqx4-consolidated .md-gd-section {
    display:none!important;
  }
  html body.md106z-ui.md-iqx4-consolidated .md-iqx3-rail .md-iqx4-icon {
    box-sizing:border-box!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex:0 0 28px!important;
    width:28px!important;
    height:28px!important;
    padding:5px!important;
    color:#afcfe4!important;
    background:linear-gradient(150deg,#123047,#0c2537)!important;
    border:1px solid rgba(105,166,194,.33)!important;
    border-radius:8px!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
  }
  html body.md106z-ui.md-iqx4-consolidated .md-iqx3-rail .md-iqx4-icon svg {
    display:block!important;
    width:18px!important;
    height:18px!important;
    flex:none!important;
    overflow:visible;
    shape-rendering:geometricPrecision;
  }
  html body.md106z-ui.md-iqx4-consolidated .md-iqx3-rail .md-iqx3-direct,
  html body.md106z-ui.md-iqx4-consolidated .md-iqx3-rail .md-iqx3-summary {
    gap:12px!important;
    letter-spacing:0!important;
    overflow:hidden;
    align-items:center!important;
  }
  html body.md106z-ui.md-iqx4-consolidated .md-iqx3-rail .md-iqx4-linkword {
    flex:1 1 auto!important;
    min-width:0!important;
    white-space:normal!important;
    overflow-wrap:break-word!important;
    font-weight:740!important;
    line-height:1.35!important;
  }
  html body.md106z-ui.md-iqx4-consolidated .md-iqx3-rail .md-iqx3-summary .md-iqx4-chevron {
    flex:0 0 8px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:12px!important;
    height:12px!important;
    margin-left:auto!important;
    font-size:0!important;
    transform:none!important;
  }
  html body.md106z-ui.md-iqx4-consolidated .md-iqx3-rail .md-iqx3-summary .md-iqx4-chevron::before {
    content:'';display:block;width:6px;height:6px;
    border-right:2px solid #9db9cd;border-bottom:2px solid #9db9cd;
    transform:rotate(45deg);transition:transform .15s ease;
  }
  html body.md106z-ui.md-iqx4-consolidated .md-iqx3-rail details[open]>.md-iqx3-summary>.md-iqx4-chevron::before {
    transform:rotate(225deg);
  }
  html body.md106z-ui.md-iqx4-consolidated .md-iqx3-rail .md-iqx3-items {
    margin-left:23px!important;
    padding-left:10px!important;
    border-left-color:rgba(202,159,85,.32)!important;
  }
  html body.md106z-ui.md-iqx4-consolidated .md-iqx3-rail .md-iqx3-items a.md-iqx8-item {
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    min-width:0!important;
    min-height:39px!important;
    padding:7px 9px!important;
    font-size:12.5px!important;
    line-height:1.35!important;
    color:#bdd3e4!important;
  }
  html body.md106z-ui.md-iqx4-consolidated .md-iqx3-rail .md-iqx3-items .md-iqx8-item-icon {
    width:22px!important;
    height:22px!important;
    flex:0 0 22px!important;
    padding:3px!important;
    border-radius:6px!important;
    color:#91bbd3!important;
    border-color:rgba(108,154,187,.19)!important;
    background:rgba(23,58,80,.38)!important;
  }
  html body.md106z-ui.md-iqx4-consolidated .md-iqx3-rail .md-iqx3-items .md-iqx8-item-icon svg {
    width:15px!important;height:15px!important;
  }
  html body.md106z-ui.md-iqx4-consolidated .md-iqx3-rail .md-iqx8-itemword {
    flex:1 1 auto!important;
    min-width:0!important;
    overflow-wrap:break-word!important;
    font-weight:600!important;
  }
  html body.md106z-ui.md-iqx4-consolidated .md-iqx3-rail .is-current>.md-iqx4-icon,
  html body.md106z-ui.md-iqx4-consolidated .md-iqx3-rail .md-iqx8-item.is-current>.md-iqx4-icon,
  html body.md106z-ui.md-iqx4-consolidated .md-iqx3-rail details[open]>.md-iqx3-summary>.md-iqx4-icon {
    color:#ffd383!important;
    border-color:rgba(242,189,93,.48)!important;
    background:rgba(154,104,39,.21)!important;
  }
  html body.md106z-ui.md-iqx4-consolidated .md-iqx3-rail .md-iqx8-item.is-current .md-iqx8-itemword {
    color:#ffe2a9!important;font-weight:760!important;
  }
}
@media (min-width:1200px) and (prefers-reduced-motion:reduce) {
 html body.md106z-ui.md-iqx4-consolidated .md-iqx4-chevron::before {transition:none!important;}
}

/* MafiaDistrict v28A106IR4C2M — shared mobile command shell.
   Applied only after the untouched, server-role-filtered mobile drawer is
   validated by JS. Without enhancement all original mobile UI survives. */
@media (max-width:980px) {
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready {
    --md-mobile-gold:#f2c36b;--md-mobile-cyan:#52cce6;
  }
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .md103a-mobile-menu-btn {
    display:inline-flex!important;min-width:110px;min-height:46px!important;
    right:12px;bottom:calc(84px + env(safe-area-inset-bottom,0px));
    border-radius:13px!important;border:1px solid rgba(255,206,112,.65)!important;
    color:#101c29!important;background:linear-gradient(130deg,#ffdc8e,#e9ae47)!important;
    box-shadow:0 9px 29px #0008,0 0 0 2px #142f43!important;
    font:850 13px/1.1 system-ui,sans-serif!important;letter-spacing:0!important;
    text-transform:none!important;
  }
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .md103a-mobile-drawer {
    padding:0!important;background:rgba(1,7,13,.85)!important;
    backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  }
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .md103a-mobile-panel {
    box-sizing:border-box;max-width:470px!important;margin:0!important;
    height:100vh!important;height:100dvh!important;max-height:100dvh!important;
    border-radius:0 20px 20px 0!important;border:0!important;
    border-right:1px solid rgba(238,183,79,.38)!important;
    background:linear-gradient(166deg,#0c263b 0%,#061829 44%,#03111f 100%)!important;
    box-shadow:16px 0 60px #000c!important;
  }
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .md103a-mobile-head {
    box-sizing:border-box;padding:20px 15px!important;gap:10px!important;
    background:linear-gradient(105deg,#112f48,#091d30)!important;
    border-bottom:1px solid rgba(223,178,99,.30)!important;
  }
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .md103a-mobile-title strong {
    display:block;font:850 clamp(18px,5vw,23px)/1.2 system-ui,sans-serif!important;
    letter-spacing:-.035em;color:#f5f8ff!important;
  }
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .md103a-mobile-title span {
    font:700 10px/1.4 system-ui,sans-serif!important;color:#f0c47a!important;
    letter-spacing:.05em!important;text-transform:uppercase;
  }
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .md103a-mobile-close {
    min-width:48px!important;min-height:48px!important;
    color:#fff1d8!important;background:#18354a!important;
    border:1px solid rgba(247,193,96,.45)!important;border-radius:12px!important;
  }
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .md103a-mobile-body {
    padding:14px 12px 28px!important;scrollbar-color:#477a95 #091a28;
  }
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .md-iqxm-search {
    display:grid;gap:5px;margin:0 0 14px;padding:10px;
    background:#081e30;border:1px solid rgba(108,170,203,.3);border-radius:12px;
  }
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .md-iqxm-search-title {
    display:grid;gap:7px;color:#a7ddec;font:750 11px/1.3 system-ui,sans-serif;
    letter-spacing:.02em;
  }
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .md-iqxm-search-input {
    width:100%;min-width:0;min-height:46px;padding:11px 12px;border:1px solid #35637c;
    border-radius:8px;outline-offset:3px;background:#091b2b;color:#f2f8ff;
    font:500 16px/1.35 system-ui,sans-serif;
  }
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .md-iqxm-search-input::placeholder{color:#8aafc4;opacity:1}
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .md-iqxm-search-status{color:#f0c47a;font:650 11px/1.35 system-ui,sans-serif}
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .md103a-quick-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;
    margin:0 0 14px!important;
  }
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .md103a-mobile-section {
    margin:0 0 8px!important;overflow:hidden;
    background:#091e30!important;border:1px solid rgba(101,163,198,.32)!important;
    border-radius:11px!important;
  }
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .md103a-mobile-section[open] {
    border-color:rgba(239,190,103,.53)!important;
  }
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .md103a-mobile-section summary {
    display:flex!important;align-items:center!important;justify-content:flex-start!important;
    gap:11px!important;min-height:54px!important;padding:9px 12px!important;
    color:#eaf6ff!important;font:800 14px/1.35 system-ui,sans-serif!important;
  }
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .md103a-mobile-section summary::after {
    content:'';display:block;margin-left:auto;width:8px;height:8px;flex:none;
    border-bottom:2px solid #9fc1d6;border-right:2px solid #9fc1d6;
    transform:rotate(45deg);transition:transform .18s;
  }
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .md103a-mobile-section[open] summary::after {
    transform:rotate(225deg);
  }
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .md103a-mobile-links {
    grid-template-columns:1fr!important;gap:5px!important;
    padding:2px 10px 12px 23px!important;margin-left:15px;
    border-left:1px solid rgba(219,163,71,.32);
  }
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready :is(.md103a-quick-grid a,.md103a-mobile-links a) {
    box-sizing:border-box;display:flex!important;align-items:center!important;justify-content:flex-start!important;
    gap:10px!important;min-width:0!important;min-height:46px!important;padding:9px 10px!important;
    text-align:left!important;background:#102a3f!important;color:#dceefa!important;
    border:1px solid rgba(95,157,188,.26)!important;border-radius:9px!important;
    font:700 13px/1.35 system-ui,sans-serif!important;text-decoration:none!important;
  }
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready :is(.md103a-quick-grid a,.md103a-mobile-links a).md-iqxm-current {
    color:#ffdc91!important;border-color:#dfa94b!important;
    background:linear-gradient(105deg,#59462777,#13364c)!important;
  }
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .md103a-mobile-drawer .md-iqx4-icon {
    box-sizing:border-box;display:inline-flex!important;align-items:center;justify-content:center;
    flex:0 0 28px;width:28px;height:28px;padding:5px;
    color:#9bd5ee;background:#11374c;border:1px solid #34617d;border-radius:8px;
  }
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .md103a-mobile-drawer .md-iqx4-icon svg {
    display:block;width:17px;height:17px;
  }
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .md103a-mobile-drawer .md-iqxm-label {
    min-width:0;flex:1;overflow-wrap:anywhere;
  }
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .md103a-mobile-drawer .md-iqxm-current .md-iqx4-icon,
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .md103a-mobile-section[open] > summary .md-iqx4-icon {
    color:#ffce71;background:#433623;border-color:#b98b3f;
  }
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .md103a-mobile-drawer [hidden]{display:none!important}
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .md103a-mobile-panel :is(a,button,summary,input):focus-visible {
    outline:3px solid #ffd27f!important;outline-offset:2px!important;
  }
  /* HUD — show true, live resource values, first location/cash then energy/health;
     the rest remain horizontally scrollable, never discarded or fabricated. */
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .topbar.hud {
    background:linear-gradient(120deg,#071a2d,#102338)!important;
    border-bottom:1px solid rgba(225,179,91,.28)!important;
  }
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .topbar.hud .hud-center {
    display:block!important;min-width:0!important;width:100%!important;
    overflow-x:auto!important;overflow-y:hidden!important;
    overscroll-behavior-x:contain;scrollbar-width:thin;
    scrollbar-color:#8e754b #0b2438;
  }
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .topbar.hud .hud-strip {
    box-sizing:border-box;display:grid!important;grid-auto-flow:column!important;
    grid-template-rows:repeat(2,minmax(39px,auto))!important;
    grid-auto-columns:minmax(143px,41vw)!important;
    grid-template-columns:none!important;gap:5px!important;
    width:max-content!important;max-width:none!important;min-width:0!important;
    margin:0!important;padding-bottom:5px!important;
  }
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .topbar.hud .hud-item {
    min-width:0!important;max-width:none!important;width:auto!important;min-height:39px!important;
    background:#0e263b!important;border:1px solid #345169!important;
    border-radius:7px!important;padding:5px 8px!important;
  }
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .topbar.hud .hud-location {order:1}
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .topbar.hud .hud-cash {order:2;border-color:#9c7844!important}
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .topbar.hud .hud-energy {order:3}
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .topbar.hud .hud-health {order:4}
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .topbar.hud .hud-armour {order:5}
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .topbar.hud .hud-weapon {order:6}
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .topbar.hud .hud-bank {order:7}
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .topbar.hud .hud-coin {order:8}
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .topbar.hud .hud-heat {order:9}
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .topbar.hud .hud-stealth {order:10}
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .topbar.hud .hud-vip {order:11}
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .topbar.hud .hud-label {
    font-size:9px!important;letter-spacing:.04em;color:#9db8cb;
  }
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .topbar.hud .hud-meta {
    font-size:12px!important;line-height:1.2!important;font-weight:780!important;
    overflow-wrap:anywhere!important;
  }
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .topbar.hud .hud-bar {
    height:3px!important;background:#203d53!important;margin:2px 0!important;
  }
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .topbar.hud .userchip-role {
    border:1px solid #6c87a6!important;border-radius:5px!important;
  }
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .topnav-outer {
    background:#071b2c!important;border-bottom:1px solid #2d4860!important;
  }
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .topnav-outer .topnav-link {
    background:#112d42!important;color:#d8eefb!important;border:1px solid #355e77!important;
    border-radius:9px!important;
  }
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready main.main {
    color:#e4f0fa;min-width:0!important;max-width:100%!important;
  }
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready main.main :is(h1,h2,h3) {
    letter-spacing:-.02em;overflow-wrap:anywhere;
  }
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready main.main :is(a,button,summary,select,input,textarea):focus-visible {
    outline:3px solid #f8c96f!important;outline-offset:2px!important;
  }
}
@media(max-width:390px){
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .md103a-quick-grid{grid-template-columns:1fr!important}
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .topbar.hud .hud-strip{grid-auto-columns:minmax(127px,43vw)!important}
}
@media(max-width:980px) and (prefers-reduced-motion:reduce){
  html body.md-iqxm-mobile-ready .md103a-mobile-drawer .md103a-mobile-section summary::after{transition:none!important}
}
@media(max-width:980px){
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .topnav-outer {
    box-sizing:border-box;max-width:100%!important;overflow:hidden!important;
  }
  html body.md106z-ui.md103c-responsive-shell.md-iqxm-mobile-ready .topnav-outer .topnav {
    box-sizing:border-box;width:100%!important;max-width:100%!important;
    overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;
    flex-wrap:nowrap!important;scrollbar-width:thin;
  }
}


/* v28A106IR4C2M1 — true mobile content and duplicate section recovery.
   No role authority, routes, transaction handlers or server forms changed.
   Only collapse the PHP section when its exact links are safely copied into
   the verified native mobile drawer. No-JS restores the original strip. */
@media (max-width:980px) {
  html body.md106z-ui.md-iqxm-section-bridged .md-gd-section {
    display:none!important;
  }
  html body.md106z-ui.md-iqxm-mobile-ready .md-iqxm-section-links {
    border-color:rgba(224,172,73,.5)!important;
  }
  html body.md106z-ui.md-iqxm-mobile-ready .md103a-mobile-panel {
    width:min(100vw,440px)!important;
  }
  html body.md106z-ui .main,
  html body.md106z-ui .main > .wrap {
    box-sizing:border-box!important;min-width:0!important;
  }
  html body.md106z-ui .main>.wrap {
    width:100%!important;max-width:100%!important;
    padding:12px 12px calc(110px + env(safe-area-inset-bottom,0px))!important;
    margin:0!important;
  }
  /* Unify genuine role-dashboard content with the navigation design. */
  html body.md106z-ui main.main .md24.md92L-command {
    box-sizing:border-box!important;width:100%!important;max-width:100%!important;
    min-width:0!important;padding:0 0 18px!important;margin:0!important;
    color:#eaf4ff;font-family:system-ui,-apple-system,'Segoe UI',sans-serif;
  }
  html body.md106z-ui main.main .md24 :is(.md24-hero,.md24-grid,.md24-lower,.md24-hero-main,.md24-actiongrid,.md24-sidegrid,.md99O-lawdeck) {
    min-width:0!important;max-width:100%!important;box-sizing:border-box!important;
  }
  html body.md106z-ui main.main .md24 .md24-hero,
  html body.md106z-ui main.main .md24 .md24-grid,
  html body.md106z-ui main.main .md24 .md99O-lawdeck,
  html body.md106z-ui main.main .md24 .md24-lower {
    grid-template-columns:minmax(0,1fr)!important;gap:10px!important;
  }
  html body.md106z-ui main.main .md24 .md24-hero-main {
    min-height:0!important;padding:20px 16px!important;
    border-radius:16px!important;
    background:linear-gradient(115deg,#102c42 0%,#081a2d 78%)!important;
    border:1px solid rgba(88,175,212,.45)!important;
  }
  html body.md106z-ui main.main .md24 .md24-title {
    font-size:clamp(24px,7vw,32px)!important;line-height:1.1!important;
    letter-spacing:-.035em!important;margin:6px 0 9px!important;
  }
  html body.md106z-ui main.main .md24 .md24-sub {
    color:#bbd1e0!important;font-size:13px!important;line-height:1.5!important;
  }
  html body.md106z-ui main.main .md24 .md24-pillrow {
    margin-top:11px!important;gap:6px!important;
  }
  html body.md106z-ui main.main .md24 .md24-pill {
    border-radius:8px!important;padding:6px 8px!important;
    font-size:10px!important;min-height:29px!important;
  }
  html body.md106z-ui main.main .md24 .md24-card,
  html body.md106z-ui main.main .md24 .md99O-lawpanel {
    border-radius:14px!important;border:1px solid rgba(89,154,189,.35)!important;
    background:linear-gradient(160deg,#10273b,#081a2d)!important;
    box-shadow:0 7px 22px rgba(0,0,0,.18)!important;
    min-width:0!important;overflow-wrap:anywhere;
  }
  html body.md106z-ui main.main .md24 .md24-pad,
  html body.md106z-ui main.main .md24 .md99O-lawpanel {
    padding:13px!important;
  }
  html body.md106z-ui main.main .md24 .md24-operator .skin {
    height:115px!important;max-height:115px!important;border-radius:10px!important;
  }
  html body.md106z-ui main.main .md24 .md24-operator .skin img {
    max-height:113px!important;
  }
  html body.md106z-ui main.main .md24 .md24-head {gap:8px!important;align-items:flex-start!important;}
  html body.md106z-ui main.main .md24 .md24-actiongrid {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;
  }
  html body.md106z-ui main.main .md24 .md24-action {
    padding:13px!important;min-height:0!important;border-radius:11px!important;
    border-color:rgba(77,166,199,.35)!important;background:#0a2336!important;
    display:flex!important;flex-direction:column!important;gap:6px!important;
  }
  html body.md106z-ui main.main .md24 .md24-action h3 {
    font-size:15px!important;line-height:1.28!important;margin:0!important;
  }
  html body.md106z-ui main.main .md24 .md24-action p {
    font-size:11px!important;line-height:1.45!important;margin:0!important;
    display:block!important;overflow:visible!important;
  }
  html body.md106z-ui main.main .md24 .md24-btn {
    min-height:44px!important;width:100%!important;box-sizing:border-box!important;
    border-radius:9px!important;font-size:12px!important;margin-top:auto!important;
    background:linear-gradient(100deg,#128bb1,#116f91)!important;
    color:white!important;padding:9px 10px!important;
  }
  html body.md106z-ui main.main .md24 .md24-lawtabs {
    box-sizing:border-box!important;display:flex!important;max-width:100%!important;
    gap:6px!important;flex-wrap:nowrap!important;overflow-x:auto!important;
    padding:3px 0 10px!important;margin:0 0 9px!important;
    -webkit-overflow-scrolling:touch;scroll-snap-type:x proximity;
  }
  html body.md106z-ui main.main .md24 .md24-lawtabs a {
    box-sizing:border-box!important;flex:0 0 auto!important;min-height:44px!important;
    display:inline-flex!important;align-items:center!important;padding:9px 12px!important;
    white-space:nowrap!important;border-radius:10px!important;
    background:#10283b!important;border:1px solid rgba(101,156,189,.3)!important;
    color:#d5eafa!important;font-size:12px!important;
  }
  html body.md106z-ui main.main .md24 .md24-lawtabs a.active {
    color:#ffdfa3!important;background:#3a3020!important;
    border-color:#d3a34e!important;
  }
  html body.md106z-ui main.main .md24 .md99O-lawsteps {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;
  }
  html body.md106z-ui main.main .md24 .md99O-lawstep {
    padding:11px!important;border-radius:10px!important;
    background:#0b2437!important;
  }
  html body.md106z-ui main.main .md24 .md99O-lawstep b {font-size:12px!important;}
  html body.md106z-ui main.main .md24 .md99O-lawstep span {font-size:11px!important;line-height:1.45!important;}
  html body.md106z-ui main.main .md24 .md24-map {min-height:0!important;padding:13px!important;}
  html body.md106z-ui main.main .md24 .md24-zones {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;
  }
  html body.md106z-ui main.main .md24 .md24-zone {padding:10px!important;}
  html body.md106z-ui main.main .md24 .md24-zone span {font-size:11px!important;line-height:1.45!important;}
  html body.md106z-ui main.main .md24 .md24-row {
    grid-template-columns:30px minmax(0,1fr)!important;gap:8px!important;
  }
  html body.md106z-ui main.main .md24 .md24-row>span:last-child {
    grid-column:2!important;justify-self:start!important;
  }
  html body.md106z-ui main.main .md24 .md24-statgrid {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;
  }
  html body.md106z-ui main.main .md24 .md24-stat {min-height:0!important;padding:10px!important;}
  html body.md106z-ui main.main .md24 .md24-stat b {font-size:19px!important;}
  html body.md106z-ui main.main .md24 .md24-dossier {
    grid-template-columns:62px minmax(0,1fr)!important;
  }
}
@media (max-width:370px) {
  html body.md106z-ui main.main .md24 .md24-actiongrid,
  html body.md106z-ui main.main .md24 .md99O-lawsteps,
  html body.md106z-ui main.main .md24 .md24-zones {
    grid-template-columns:minmax(0,1fr)!important;
  }
}
@media (prefers-reduced-motion:reduce) {
  html body.md-iqxm-mobile-ready .md103a-mobile-section summary::after {transition:none!important;}
}

/* IR4C2M2: authoritative one-menu mobile composition.
   GATED by verified native role-filtered drawer + bottom-menu controls.
   No server permission, link, purchase form or dashboard source changed. */
@media (max-width:980px) {
 html body.md106z-ui.md-ir4c2m2-unified {overflow-x:hidden!important;}
 /* One menu entry: keep the native persistent bottom navigation; the gold
    legacy floating menu was the SECOND opener, not a separate capability. */
 html body.md106z-ui.md-ir4c2m2-unified .md103a-mobile-menu-btn[data-md103a-open="1"] {display:none!important;}
 /* The role-filtered drawer and bottom bar already contain authorised links.
    Do not show a duplicate legacy horizontal desktop top nav on mobile. */
 html body.md106z-ui.md-ir4c2m2-unified .topnav-outer {display:none!important;}
 /* Mobile drawer owns the full viewport, not a narrow panel beside a ghost page. */
 html body.md106z-ui.md-ir4c2m2-unified #md103aMobileDrawer.md103a-mobile-drawer {
   position:fixed!important;inset:0!important;width:100vw!important;
   height:100dvh!important;max-height:100dvh!important;
   padding:0!important;margin:0!important;z-index:2147482900!important;
   background:#061320!important;backdrop-filter:none!important;
 }
 html body.md106z-ui.md-ir4c2m2-unified #md103aMobileDrawer .md103a-mobile-panel {
   width:100%!important;min-width:0!important;max-width:100%!important;
   height:100dvh!important;max-height:100dvh!important;
   border-radius:0!important;margin:0!important;border:0!important;
   box-sizing:border-box!important;box-shadow:none!important;
 }
 html body.md106z-ui.md-ir4c2m2-unified #md103aMobileDrawer .md103a-mobile-head {
   flex-shrink:0!important;padding:calc(12px + env(safe-area-inset-top,0px)) 16px 13px!important;
 }
 html body.md106z-ui.md-ir4c2m2-unified #md103aMobileDrawer .md103a-mobile-body {
   flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;
   overscroll-behavior:contain!important;box-sizing:border-box!important;
   padding:12px 14px calc(28px + env(safe-area-inset-bottom,0px))!important;
 }
 html body.md106z-ui.md-ir4c2m2-unified .md103a-quick-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
 html body.md106z-ui.md-ir4c2m2-unified :is(.md103a-mobile-section summary,.md103a-quick-grid a,.md103a-mobile-links a) {
   min-height:44px!important;font-size:14px!important;line-height:1.35!important;
 }
 html body.md106z-ui.md-ir4c2m2-unified .topbar.hud {padding:6px 10px!important;}
 html body.md106z-ui.md-ir4c2m2-unified .topbar.hud .hud-strip {
   grid-template-rows:repeat(2,minmax(34px,auto))!important;
   grid-auto-columns:minmax(128px,44vw)!important;gap:4px!important;
 }
 html body.md106z-ui.md-ir4c2m2-unified .topbar.hud .hud-item {
   min-height:34px!important;padding:4px 6px!important;
 }
 /* Keep quick-scroll/page tools reachable without covering bottom navigation. */
 html body.md106z-ui.md-ir4c2m2-unified main.main {padding-bottom:calc(108px + env(safe-area-inset-bottom,0px))!important;}
 html body.md106z-ui.md-ir4c2m2-unified.md-iqxm-section-bridged .md-gd-section {display:none!important;}
}
@media (max-width:365px) {
 html body.md106z-ui.md-ir4c2m2-unified .md103a-quick-grid {grid-template-columns:minmax(0,1fr)!important;}
}

/* IR4C2M4: single mobile menu, indexed in the native role-filtered drawer. */
@media (max-width:980px) {
 html body.md106z-ui.md-ir4c2m2-unified .md-ir4c2m3-jumps{display:none!important}
 html body.md106z-ui.md-ir4c2m2-unified .md-ir4c2m4-sections{border:1px solid #436780;border-radius:12px;background:#10283b;margin:2px 0 12px;padding:0;overflow:hidden}
 html body.md106z-ui.md-ir4c2m2-unified .md-ir4c2m4-sections>summary{color:#ffd18c;font-size:14px;min-height:48px;padding:13px 14px;cursor:pointer;font-weight:750}
 html body.md106z-ui.md-ir4c2m2-unified .md-ir4c2m4-links{max-height:min(48dvh,420px);overflow-y:auto;padding:0 10px 10px;overscroll-behavior:contain}
 html body.md106z-ui.md-ir4c2m2-unified .md-ir4c2m4-link{width:100%;display:block;margin:5px 0;padding:11px 12px;min-height:44px;text-align:left;color:#edf8ff;background:#0b1c2a;border:1px solid #38556a;border-radius:9px;font:inherit;font-size:13px;line-height:1.35}
 html body.md106z-ui.md-ir4c2m2-unified main.main h2,html body.md106z-ui.md-ir4c2m2-unified main.main h3{scroll-margin-top:18px}
}

/* IR4C2M91 — responsive shell. Override retired strip/dock composition only
   after canonical destination capture succeeds; native fallback stays intact. */
html body.md106z-ui .topbar.hud .hud-location .hud-meta,
html body.md106z-ui .topbar.hud .hud-location .md-in-hud-link {
  white-space:normal!important;overflow:visible!important;text-overflow:clip!important;
  overflow-wrap:anywhere!important;line-height:1.35!important;
}
html body.md106z-ui.md103c-responsive-shell.md91-responsive-ready [hidden]{display:none!important}
@media(max-width:1199px){
 html body.md106z-ui.md103c-responsive-shell.md91-responsive-ready .md103a-mobile-menu-btn[data-md103a-open="1"]{
  display:inline-flex!important;position:fixed!important;top:calc(8px + env(safe-area-inset-top,0px))!important;
  left:10px!important;right:auto!important;bottom:auto!important;width:auto!important;
  min-width:86px!important;min-height:44px!important;padding:10px 14px!important;
  z-index:2147482700!important;border:1px solid #b78d48!important;border-radius:10px!important;
  background:#102233!important;color:#ffe1a3!important;font:700 14px/1.3 system-ui!important;
 }
 html body.md106z-ui.md103c-responsive-shell.md91-responsive-ready :is(.bnav,.topnav-outer,.md-gd-section,#mdhj-tools,.md-ir4c2m3-jumps){display:none!important}
 html body.md106z-ui.md103c-responsive-shell.md91-responsive-ready .topbar.hud{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;
  padding:calc(60px + env(safe-area-inset-top,0px)) 12px 12px!important;
  width:100%!important;max-width:100%!important;box-sizing:border-box!important;
  position:relative!important;top:auto!important;height:auto!important;
 }
 html body.md106z-ui.md103c-responsive-shell.md91-responsive-ready .topbar.hud :is(.hud-left,.hud-center,.hud-right){
  width:100%!important;max-width:100%!important;min-width:0!important;flex-basis:auto!important;overflow:visible!important;grid-column:1!important;grid-row:auto!important;
 }
 html body.md106z-ui.md103c-responsive-shell.md91-responsive-ready .topbar.hud .hud-left{display:none!important}
 html body.md106z-ui.md103c-responsive-shell.md91-responsive-ready .topbar.hud .hud-strip{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  grid-template-rows:none!important;grid-auto-flow:row!important;grid-auto-columns:auto!important;
  gap:6px!important;overflow:visible!important;width:100%!important;max-width:100%!important;
  height:auto!important;max-height:none!important;white-space:normal!important;transform:none!important;
 }
 html body.md106z-ui.md103c-responsive-shell.md91-responsive-ready .topbar.hud .hud-item{
  display:flex!important;flex-direction:column!important;justify-content:center!important;
  min-width:0!important;width:auto!important;max-width:100%!important;min-height:48px!important;
  padding:6px 8px!important;margin:0!important;box-sizing:border-box!important;overflow:visible!important;
 }
 html body.md106z-ui.md103c-responsive-shell.md91-responsive-ready .topbar.hud .hud-location{grid-column:1/-1!important;order:-3!important}
 html body.md106z-ui.md103c-responsive-shell.md91-responsive-ready .topbar.hud .hud-cash{order:-2!important}
 html body.md106z-ui.md103c-responsive-shell.md91-responsive-ready .topbar.hud .hud-energy{order:-1!important}
 html body.md106z-ui.md103c-responsive-shell.md91-responsive-ready .topbar.hud .hud-label{font-size:10px!important;line-height:1.3!important;white-space:normal!important}
 html body.md106z-ui.md103c-responsive-shell.md91-responsive-ready .topbar.hud .hud-meta{
  font-size:13px!important;line-height:1.35!important;white-space:normal!important;
  overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere!important;min-width:0!important;
 }
 html body.md106z-ui.md103c-responsive-shell.md91-responsive-ready .topbar.hud .hud-sub{font-size:10px!important;white-space:normal!important}
 html body.md106z-ui.md103c-responsive-shell.md91-responsive-ready .topbar.hud .hud-right{display:flex!important;flex-wrap:wrap!important;gap:8px!important;justify-content:flex-end!important}
 html body.md106z-ui.md103c-responsive-shell.md91-responsive-ready #md103aMobileDrawer.md103a-mobile-drawer{
  position:fixed!important;inset:0!important;width:100%!important;height:100dvh!important;max-height:100dvh!important;
  padding:0!important;margin:0!important;box-sizing:border-box!important;background:rgba(1,7,14,.78)!important;
  backdrop-filter:blur(5px)!important;z-index:2147482900!important;
 }
 html body.md106z-ui.md103c-responsive-shell.md91-responsive-ready #md103aMobileDrawer .md103a-mobile-panel{
  width:min(360px,calc(100% - 24px))!important;max-width:100%!important;min-width:0!important;
  height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0 16px 16px 0!important;
  border:0!important;border-right:1px solid #38556a!important;box-sizing:border-box!important;
 }
 html body.md106z-ui.md103c-responsive-shell.md91-responsive-ready #md103aMobileDrawer .md103a-mobile-head{
  padding:calc(12px + env(safe-area-inset-top,0px)) 12px 12px!important;flex-shrink:0!important;
 }
 html body.md106z-ui.md103c-responsive-shell.md91-responsive-ready #md103aMobileDrawer .md103a-mobile-body{
  flex:1!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain!important;
  padding:12px 12px calc(20px + env(safe-area-inset-bottom,0px))!important;
 }
 html body.md106z-ui.md103c-responsive-shell.md91-responsive-ready #md103aMobileDrawer .md103a-mobile-links{grid-template-columns:minmax(0,1fr)!important}
 html body.md106z-ui.md103c-responsive-shell.md91-responsive-ready #md103aMobileDrawer :is(a,summary){min-height:44px!important;font-size:14px!important;line-height:1.4!important;box-sizing:border-box!important}
 html body.md106z-ui.md103c-responsive-shell.md91-responsive-ready #md103aMobileDrawer .md91-direct{
  display:flex;align-items:center;padding:10px 12px;margin:6px 0;border:1px solid #294155;border-radius:10px;color:#e5eff8;text-decoration:none;
 }
 html body.md106z-ui.md103c-responsive-shell.md91-responsive-ready #md103aMobileDrawer [aria-current="page"]{color:#ffe1a3!important;background:#302b22!important;border-color:#b78d48!important}
 html body.md106z-ui.md103c-responsive-shell.md91-responsive-ready #md103aMobileDrawer input{box-sizing:border-box!important;width:100%!important;min-height:44px!important;font-size:16px!important;margin:8px 0 12px!important}
 html body.md106z-ui.md103c-responsive-shell.md91-responsive-ready main.main{margin-left:0!important;width:100%!important;min-width:0!important;padding-top:0!important;padding-bottom:24px!important}
 html body.md106z-ui.md103c-responsive-shell.md91-responsive-ready main.main>.wrap{box-sizing:border-box!important;width:100%!important;max-width:100%!important;padding-inline:12px!important}
}
@media(min-width:768px) and (max-width:1199px){
 html body.md106z-ui.md103c-responsive-shell.md91-responsive-ready .topbar.hud .hud-strip{grid-template-columns:repeat(5,minmax(0,1fr))!important}
}
@media(max-width:374px){
 html body.md106z-ui.md103c-responsive-shell.md91-responsive-ready .topbar.hud .hud-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
html body.md106z-ui.md103c-responsive-shell.md-iqx5-top-command.md-iqx6-compact .topbar.hud .hud-location :is(.hud-meta,.md-in-hud-link){
 white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere!important;
}

/* IR4C2M92.1: hidden search results must beat IQX8's important flex rule. */
html body.md106z-ui.md103c-responsive-shell.md91-responsive-ready .md-iqx3-rail .md-iqx3-items a.md-iqx8-item[hidden],
html body.md106z-ui.md103c-responsive-shell.md91-responsive-ready .md-iqx3-rail [hidden],
html body.md106z-ui.md103c-responsive-shell.md91-responsive-ready #md103aMobileDrawer [hidden]{display:none!important}
