/* Exploration only, near the lower safe edge in every display mode. */
body.emerald-game #screen:has(:is(#battle,#overlay,#dialog,#cinematic,#campaign-scene,#companion-chat):not([hidden]))>#campaign-objective,
body:has(#competitive-arena[open]) #campaign-objective,
body.emerald-game #screen>#campaign-objective[hidden] {display:none!important;}
body.emerald-game #screen>#campaign-objective {position:absolute;display:block;inset:auto 12px max(3px,env(safe-area-inset-bottom));z-index:47;width:auto;max-width:none;margin:0;padding:0;border:0!important;border-radius:0;background:none!important;box-shadow:none!important;color:#fff9d8;font:700 clamp(12px,1.1vw,16px)/1.45 system-ui;text-align:center;overflow-wrap:anywhere;pointer-events:none;text-shadow:0 2px 2px #000,-1px -1px 2px #061a12,1px -1px 2px #061a12,-1px 1px 2px #061a12,0 0 6px #000;}
#campaign-objective .objective-label {display:inline;color:#ffe590;font-weight:800;margin-right:5px;}
#campaign-objective .objective-text {font-weight:750;}
#campaign-objective .objective-cap {display:block;font:600 11px/1.4 system-ui;color:#e6f0c9;}
@media(max-width:760px),(pointer:coarse),(orientation:landscape) and (max-height:600px) and (max-width:1100px){
  body.emerald-game #screen>#campaign-objective {inset:auto 8px max(3px,env(safe-area-inset-bottom));font-size:12px;line-height:1.4;}
  body.emerald-game.mobile-immersive #screen>#campaign-objective {bottom:max(3px,env(safe-area-inset-bottom));}
}
@media(orientation:landscape) and (max-height:600px){body.emerald-game.mobile-immersive #screen>#campaign-objective {left:155px;right:155px;bottom:max(3px,env(safe-area-inset-bottom));font-size:11px;}}
