/* Shared navigation stays in one corner. Aircraft keep their existing radar. */
body{--ground-map-size:120px;--ground-map-vitals:0px;--ground-map-top:max(12px,env(safe-area-inset-top));--ground-utility-right:max(16px,env(safe-area-inset-right));--ground-map-right:var(--ground-utility-right);--ground-map-left:max(20px,env(safe-area-inset-left));--ground-map-height:calc(var(--ground-map-size) + 18px + var(--ground-map-vitals));--ground-utility-top:calc(var(--ground-map-top) + var(--ground-map-height) + 4px);--ground-info-top:var(--ground-map-top);--ground-nav-width:140px}
body:has(#groundMinimap:not([hidden])):has(#pilotHealthHUD:not([hidden])){--ground-map-vitals:34px}
body:has(#groundMinimap:not([hidden])):has(#horseRidingHUD:not([hidden])){--ground-map-vitals:40px}
.ground-minimap-active #flightUI .radar-wrap{display:none!important}
#groundMinimap.ground-minimap{position:fixed;left:auto;right:var(--ground-map-right);top:var(--ground-map-top);bottom:auto;width:calc(var(--ground-map-size) + 8px);height:var(--ground-map-height);min-width:44px;min-height:44px;padding:4px 4px calc(4px + var(--ground-map-vitals));box-sizing:border-box;border:1px solid #c4d3af6b;border-radius:9px;background:linear-gradient(145deg,#19372de8,#102722db);color:#e4e9cc;z-index:9;pointer-events:auto;touch-action:manipulation;cursor:pointer;box-shadow:inset 0 0 0 2px #12281b50,0 2px 8px #071e262b;font:8px/1.2 var(--mono,monospace);font-variant-numeric:tabular-nums}
#groundMinimap[hidden]{display:none!important}
#groundMinimap:hover{border-color:#e4d5a080;background:#183931eb}
#groundMinimap:focus-visible{outline:2px solid #efdda6;outline-offset:3px}
#groundMinimap .ground-minimap-canvas{display:block;width:100%;height:var(--ground-map-size);aspect-ratio:1}
.ground-minimap-legend{display:flex;align-items:center;justify-content:space-between;gap:3px;height:10px;padding:0 2px;white-space:nowrap;letter-spacing:0;pointer-events:none}
.ground-minimap-humans{display:flex;align-items:center;gap:2px;color:#67e8f9;font-size:7px;font-weight:700;white-space:pre}.ground-minimap-human-badge{color:#67e8f9;text-shadow:0 1px #09384b}.ground-minimap-heading{color:#c0d1ba}.ground-minimap-range{color:#f0ebcf}
.ground-minimap-settings .hud-setting-row select{min-height:44px}.ground-minimap-settings .setting-note{max-width:560px}
/* The original host-owned HP and stamina nodes occupy the card footer. Their
   normal position returns as soon as the map is hidden, scoped or disabled. */
body:has(#groundMinimap:not([hidden])) #flightUI #pilotHealthHUD.pilot-health-hud{position:fixed;top:calc(var(--ground-map-top) + var(--ground-map-size) + 15px);left:auto;right:calc(var(--ground-map-right) + 6px);bottom:auto;width:calc(var(--ground-map-size) - 4px);height:var(--ground-map-vitals);max-width:none;padding:0 1px;border:0;border-top:1px solid #c2d0ad30;border-radius:0;background:none;box-shadow:none;z-index:10;pointer-events:none}
body:has(#groundMinimap:not([hidden])) #pilotHealthHUD>div:first-child{font-size:8px;line-height:1.3;padding-top:2px}
body:has(#groundMinimap:not([hidden])) #pilotHealthHUD .pilot-health-track{height:2px;margin-top:2px}
body:has(#groundMinimap:not([hidden])) #pilotHealthHUD .pilot-stamina-hud{grid-template-columns:31px minmax(0,1fr) 21px;height:8px;gap:3px;margin-top:3px;font-size:7px;line-height:1}
body:has(#groundMinimap:not([hidden])) #pilotStaminaHUD output{display:block;font-size:7px;line-height:1}
body:has(#groundMinimap:not([hidden])) #pilotHealthHUD .pilot-stamina-track{height:2px}
body:has(#groundMinimap:not([hidden])) #pilotHealthHUD>small{font-size:7px;margin-top:1px}
/* Compact upper-left match/ammo stack leaves the avatar and horizon clear. */
body:has(#groundMinimap:not([hidden])) #flightUI .flight-top{position:absolute;top:var(--ground-info-top);left:var(--ground-map-left);right:auto;width:112px;min-height:0;gap:0;justify-content:flex-start}
body:has(#groundMinimap:not([hidden])) #flightUI .flight-logo{display:none}
body:has(#groundMinimap:not([hidden])) #flightUI .flight-top .match-state{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;height:24px;padding:2px 5px;gap:5px;box-sizing:border-box;border:1px solid #bfd8b42e;border-radius:5px;background:#12242b50;backdrop-filter:none}
body:has(#groundMinimap:not([hidden])) #flightUI .match-state .match-count{display:flex;min-width:0;align-items:center;justify-content:center;flex-direction:row;gap:4px}
body:has(#groundMinimap:not([hidden])) #flightUI .match-state b{font-size:12px;line-height:1;margin:0}
body:has(#groundMinimap:not([hidden])) #flightUI .match-state .match-short-label{display:block;font-size:6px;line-height:1;letter-spacing:0;margin:0;white-space:nowrap}
body:has(#groundMinimap:not([hidden])) #flightUI .match-state .match-full-label{position:absolute;width:1px;max-width:none;height:1px;padding:0;border:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
body:has(#groundMinimap:not([hidden])) #flightUI .match-state i{display:none}
body:has(#groundMinimap:not([hidden])) .foot-combat-hud{position:fixed;top:calc(var(--ground-info-top) + 28px);bottom:auto;left:var(--ground-map-left);right:auto;width:156px;max-width:calc(100vw - var(--ground-map-left) - 158px);min-height:44px;height:44px;padding:0 4px;gap:4px;box-sizing:border-box;border:0;border-radius:5px;background:#12242b60;font-size:10px}
body:has(#groundMinimap:not([hidden])) .foot-combat-copy{display:flex;flex:1;min-width:0;flex-direction:column;align-items:flex-start;justify-content:center;gap:1px}
body:has(#groundMinimap:not([hidden])) .foot-combat-hud strong{font-size:8px;line-height:1.2;letter-spacing:0;overflow-wrap:anywhere}
body:has(#groundMinimap:not([hidden])) .foot-combat-hud small{font-size:7px;line-height:1.2}
body:has(#groundMinimap:not([hidden])) .foot-gyro-quick{font-size:7px;line-height:1.2;border:0;border-left:1px solid #bfd8b42e;border-radius:0 4px 4px 0;background:#10283238}
body:has(#groundMinimap:not([hidden])) .exotic-tool-hud{top:calc(var(--ground-info-top) + 28px);left:var(--ground-map-left);right:auto;bottom:auto;transform:none;width:156px;max-width:calc(100vw - var(--ground-map-left) - 158px);height:44px;padding:3px 5px;align-items:flex-start;justify-content:center;gap:1px;border-radius:5px;background:#172c2b60}
body:has(#groundMinimap:not([hidden])) .exotic-tool-hud strong{font-size:9px;line-height:1.2}
body:has(#groundMinimap:not([hidden])) .exotic-tool-hud span{font-size:7px;line-height:1.2;text-align:left}
/* Ground notices use the free column below the match counts. Reserve the whole
   navigation cluster, including its buttons, rather than only the map image.
   Text owns its height; Safari must not clamp or paint it underneath controls. */
body:has(#groundMinimap:not([hidden])) #flightUI :is(#announcer,#warning){position:fixed;top:calc(var(--ground-info-top) + 32px);bottom:auto;left:var(--ground-map-left);right:calc(var(--ground-utility-right) + var(--ground-nav-width) + 8px);transform:none;width:auto;min-width:0;max-width:none;height:auto;min-height:0;max-height:none;box-sizing:border-box;padding:6px 9px;border:1px solid #c4dbb34d;border-radius:6px;font-size:11px;line-height:1.45;letter-spacing:0;text-align:left;white-space:normal;overflow-wrap:anywhere;word-break:normal;overflow:visible;-webkit-line-clamp:unset;-webkit-box-orient:initial;line-clamp:none;pointer-events:none;z-index:8}
body:has(#groundMinimap:not([hidden])) #flightUI #announcer{display:block;background:#102832e8}
body:has(#groundMinimap:not([hidden])):has(#announcer.visible:not(:where(.hud-disabled,[hidden]))) :is(.foot-combat-hud,.exotic-tool-hud,#worldCrewHUD,#shootingRangeHUD,#matchmakingBadge){visibility:hidden}
body:not(.phone-ui):has(#groundMinimap:not([hidden])) #flightUI :is(#announcer,#warning){right:auto;width:min(420px,calc(100vw - var(--ground-map-left) - var(--ground-utility-right) - var(--ground-nav-width) - 8px))}
/* Reuse the three desktop actions; their 44px targets sit directly below map. */
body:not(.phone-ui):has(#groundMinimap:not([hidden])) #flightUI :is(#flightMapButton,#inventoryButton,#pauseButton){position:fixed;top:var(--ground-utility-top);bottom:auto;left:auto;transform:none;width:44px;min-width:44px;height:44px;min-height:44px;max-width:44px;margin:0;padding:0;box-sizing:border-box;display:flex;align-items:center;justify-content:center;border:1px solid #bfd8b440;border-radius:7px;background:#10283265;backdrop-filter:none;font-size:0;pointer-events:auto}
body:not(.phone-ui):has(#groundMinimap:not([hidden])) #flightUI #flightMapButton{right:calc(var(--ground-utility-right) + 96px)}
body:not(.phone-ui):has(#groundMinimap:not([hidden])) #flightUI #inventoryButton{right:calc(var(--ground-utility-right) + 48px)}
body:not(.phone-ui):has(#groundMinimap:not([hidden])) #flightUI #pauseButton{right:var(--ground-utility-right)}
body:not(.phone-ui):has(#groundMinimap:not([hidden])) #flightMapButton:before{content:'';display:block;width:18px;height:18px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27m3%205%206-2%206%202%206-2v16l-6%202-6-2-6%202Z%27%2F%3E%3Cpath%20d%3D%27M9%203v16M15%205v16%27%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27m3%205%206-2%206%202%206-2v16l-6%202-6-2-6%202Z%27%2F%3E%3Cpath%20d%3D%27M9%203v16M15%205v16%27%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
body:not(.phone-ui):has(#groundMinimap:not([hidden])) #inventoryButton:before{content:'';display:block;width:18px;height:18px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M8%206V5a4%204%200%200%201%208%200v1M6%206h12a2%202%200%200%201%202%202v12a2%202%200%200%201-2%202H6a2%202%200%200%201-2-2V8a2%202%200%200%201%202-2Z%27%2F%3E%3Cpath%20d%3D%27M8%206v5h8V6M8%2016h8v6%27%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M8%206V5a4%204%200%200%201%208%200v1M6%206h12a2%202%200%200%201%202%202v12a2%202%200%200%201-2%202H6a2%202%200%200%201-2-2V8a2%202%200%200%201%202-2Z%27%2F%3E%3Cpath%20d%3D%27M8%206v5h8V6M8%2016h8v6%27%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
body:not(.phone-ui):has(#groundMinimap:not([hidden])) #pauseButton:before{content:'';display:block;width:18px;height:18px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M5%206h14M5%2012h14M5%2018h14%27%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M5%206h14M5%2012h14M5%2018h14%27%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
body:not(.phone-ui):has(#groundMinimap:not([hidden])) #flightUI :is(#flightMapButton,#inventoryButton) :is(small,span){display:none}
.phone-ui{--ground-map-size:96px;--ground-map-top:calc(var(--phone-viewport-top,0px) + var(--phone-hud-top));--ground-utility-right:var(--phone-right);--ground-map-left:var(--phone-left)}
.phone-ui #groundMinimap.ground-minimap{font-size:7px;box-shadow:inset 0 0 0 2px #12281b35}
.phone-ui:has(#groundMinimap:not([hidden])) #phoneControls[data-state] nav.phone-toolbar{top:calc(var(--phone-hud-top) + var(--ground-map-height) + 4px);right:var(--phone-right);left:auto;bottom:auto;width:140px;height:44px;max-height:44px;display:grid;grid-template-columns:repeat(3,44px);grid-auto-rows:44px;gap:4px}
.phone-ui:has(#groundMinimap:not([hidden])) #phoneControls nav.phone-toolbar button{border-radius:7px;background:#10283248}
.phone-ui:has(#groundMinimap:not([hidden])) #phoneControls nav.phone-toolbar svg{width:16px;height:16px}
.phone-ui:has(#groundMinimap:not([hidden])) #flightUI #worldCrewHUD.world-crew-hud{top:calc(var(--ground-info-top) + 108px);left:var(--ground-map-left);right:auto;width:180px;max-width:calc(100vw - var(--ground-map-left) - 158px);max-height:52px}
.phone-ui.ground-vehicle:has(#groundMinimap:not([hidden])){--ground-info-top:calc(var(--ground-map-top) + 40px)}
.phone-ui.ground-vehicle:has(#groundMinimap:not([hidden])) #drivingHUD.driving-hud{right:calc(var(--ground-map-right) + var(--ground-map-size) + 16px);min-width:0}
.phone-ui.ground-vehicle:has(#groundMinimap:not([hidden])) #drivingHUD .driving-gauges{grid-template-columns:72px minmax(20px,1fr) 20px 28px;gap:3px}
.phone-ui.ground-vehicle:has(#groundMinimap:not([hidden])) #drivingHUD .driving-speed-dial{display:none}
.phone-ui.ground-vehicle:has(#groundMinimap:not([hidden])) #drivingHUD .driving-speed-value output{font-size:20px}
@media(orientation:portrait) and (max-width:340px) and (max-height:650px){
 /* Long notices and both pickup strips fit between the compact information
    row and the action buttons; nothing interactive needs to disappear. */
 .phone-ui:has(#groundMinimap:not([hidden])) #flightUI :is(#announcer,#warning){padding:5px 7px;line-height:1.35}
 .phone-ui:has(#groundMinimap:not([hidden])):has(#announcer.visible:not(:where(.hud-disabled,[hidden]))) #lootPicker.loot-picker,
 .phone-ui:has(#groundMinimap:not([hidden])):has(#announcer.visible:not(:where(.hud-disabled,[hidden]))) .exotic-nearby-picker{top:calc(var(--ground-utility-top) + 92px)}
 .phone-ui:has(#groundMinimap:not([hidden])):has(#announcer.visible:not(:where(.hud-disabled,[hidden]))):has(#lootPicker:not([hidden])) .exotic-nearby-picker{top:calc(var(--ground-utility-top) + 172px)}
}
@media(orientation:landscape) and (max-height:500px){
 .phone-ui{--ground-map-size:76px}
 .phone-ui.on-foot:has(#groundMinimap:not([hidden])):has(#lootPicker:not([hidden]),#exoticNearbyPicker:not([hidden])) #flightUI :is(#announcer,#warning){right:auto;width:164px}
 .phone-ui:has(#groundMinimap:not([hidden])) #flightUI #pilotHealthHUD.pilot-health-hud{padding:0}
 .phone-ui:has(#groundMinimap:not([hidden])) #pilotHealthHUD .pilot-stamina-hud{grid-template-columns:31px minmax(0,1fr);gap:2px}
 .phone-ui:has(#groundMinimap:not([hidden])) #pilotStaminaHUD output{display:none}
}
@media(orientation:landscape) and (max-height:420px){
 .phone-ui #groundMinimap .ground-minimap-legend,.phone-ui .ground-minimap-humans{font-size:6px}
 .phone-ui #groundMinimap .ground-minimap-legend{gap:2px;padding:0}
 /* The upper weapons row stays beside the compact navigation corner. */
 /* Ordinary armed walking already reserves a separate Reload lane. Keep
    this older navigation offset only for seat/tool layouts without that lane. */
 .phone-ui:has(#groundMinimap:not([hidden])) #phoneControls[data-state][data-foot-armed=true]:not([data-foot-action-swap=true]) .phone-foot-combat{right:calc(var(--phone-right) + 148px)}
 .phone-ui:has(#groundMinimap:not([hidden])) #phoneControls:not([data-foot-armed=true]) .phone-foot-actions{right:calc(var(--phone-right) + 148px)}
 .phone-ui:has(#groundMinimap:not([hidden])) #phoneControls:is([data-state=driver],[data-state=passenger]) .phone-interaction{right:calc(var(--phone-right) + 148px)}
 .phone-ui:has(#groundMinimap:not([hidden])) #phoneControls[data-state=foot]:not([data-foot-armed=true]) .phone-interaction{right:calc(var(--phone-right) + 148px)}
}
@media(orientation:landscape) and (max-height:300px){
 .phone-ui{--ground-map-size:60px}
 .phone-ui:has(#groundMinimap:not([hidden])) #pilotHealthLabel{font-size:7px}
 .phone-ui #groundMinimap .ground-minimap-legend{font-size:6px;gap:2px}.phone-ui .ground-minimap-humans{font-size:6px}
 /* The canvas compass still shows north. Keep the player key readable in
    the smallest card rather than squeezing three text groups into 60 px. */
 .phone-ui #groundMinimap .ground-minimap-heading{display:none}
 .phone-ui:has(#groundMinimap:not([hidden])) #phoneControls[data-state=foot] .phone-interaction{bottom:calc(var(--phone-bottom) + 14px)}
}
@media(orientation:landscape) and (max-height:360px){
 .phone-ui{--ground-nav-width:calc(var(--ground-map-size) + 156px)}
 .phone-ui.on-foot:has(#groundMinimap:not([hidden])) #flightUI :is(#announcer,#warning){top:calc(var(--ground-map-top) + 4px)}
 .phone-ui.ground-vehicle:has(#groundMinimap:not([hidden])) #flightUI :is(#announcer,#warning){top:calc(var(--ground-map-top) + 40px)}
 /* Nearby loot already yields the map in this short viewport. Keep its live
    pickup controls, and use the vacant top-left information column for text. */
 .phone-ui.on-foot:has(#groundMinimap[hidden]):has(#phoneControls[data-state=foot]) #flightUI :is(#announcer,#warning){top:calc(var(--phone-viewport-top,0px) + var(--phone-hud-top) + 4px);left:var(--phone-left);right:auto;width:min(252px,calc(100vw - var(--phone-left) - var(--phone-right) - 52px))}
 .phone-ui.on-foot:has(#groundMinimap[hidden]):has(#phoneControls[data-state=foot]):has(#announcer.visible:not(:where(.hud-disabled,[hidden]))) :is(#pilotHealthHUD,.exotic-tool-hud,#worldCrewHUD,#shootingRangeHUD,#matchmakingBadge){visibility:hidden}
 .phone-ui:has(#groundMinimap:not([hidden])) #phoneControls[data-state] nav.phone-toolbar{top:calc(var(--ground-map-top) + 4px);right:calc(var(--ground-map-right) + var(--ground-map-size) + 16px)}
 .phone-ui:has(#groundMinimap:not([hidden])) #phoneControls[data-state=foot][data-foot-armed=true] .phone-foot-combat{bottom:calc(var(--phone-stick-size) + var(--phone-bottom) + 26px);right:calc(var(--phone-right) + 52px)}
 .phone-ui:has(#groundMinimap:not([hidden])) #phoneControls[data-state=foot][data-foot-armed=true] .phone-foot-actions{bottom:calc(var(--phone-stick-size) + var(--phone-bottom) + 26px);right:calc(var(--phone-right) + 250px)}
}
@media(orientation:landscape) and (min-height:301px) and (max-height:360px){
 .phone-ui:has(#groundMinimap:not([hidden])) #phoneControls[data-state=foot][data-foot-armed=true] .phone-foot-combat{right:var(--phone-right)}
 .phone-ui:has(#groundMinimap:not([hidden])) #phoneControls[data-state=foot][data-foot-armed=true] .phone-foot-actions{right:calc(var(--phone-right) + 198px)}
}

/* A highlighted quest occupies only the narrow space left of navigation. */
#questTracker.quest-tracker{position:fixed;top:calc(var(--ground-map-top) + 5px);right:calc(var(--ground-map-right) + var(--ground-map-size) + 16px);width:148px;max-width:calc(100vw - var(--ground-map-size) - var(--ground-map-right) - 44px);box-sizing:border-box;padding:8px 9px;border:1px solid #f1d77b55;border-radius:8px;background:#152d30df;color:#eadba4;z-index:8;pointer-events:none;font:10px/1.5 var(--mono,monospace)}#questTracker strong,#questTracker span{display:block}#questTracker strong{font-size:10px;color:#ffe29a}#questTracker span{font-size:9px;color:#d7dfbd;margin-top:2px}#questTracker[hidden]{display:none!important}/* Phones reserve the gap between the weapon card and crew status. */
.phone-ui #questTracker.quest-tracker{top:calc(var(--ground-info-top) + 76px);left:var(--ground-map-left);right:auto;width:156px;max-width:calc(100vw - var(--ground-map-left) - var(--ground-map-size) - var(--ground-map-right) - 24px);height:30px;padding:3px 6px}
.phone-ui #questTracker strong{font-size:9px;line-height:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.phone-ui #questTracker span{font-size:8px;line-height:10px;margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.phone-ui:has(#groundMinimap:not([hidden])):has(#announcer.visible:not([hidden])) #questTracker,.phone-ui:has(#groundMinimap:not([hidden])):has(#warning.active:not([hidden])) #questTracker{visibility:hidden}
