/* Stage 26.0.12.38 — original illustrated HUD skin; live game data remains DOM. */
#game .wf-frontier-hud{position:relative;padding:0;padding-top:env(safe-area-inset-top,0px);background:#2b190f;border:0;box-shadow:none;isolation:isolate;flex:none;z-index:4}
#game .wf-frontier-hud .wf-hud-crown{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#game .wf-frontier-hud .wf-hud-main{display:block;position:relative;width:100%;aspect-ratio:941/162;padding:0;margin:0;border:0;background:url('/assets/hud/frontier-frame.png?v=261238') center top/100% 100% no-repeat;isolation:isolate;container-type:inline-size}
#game .wf-frontier-hud #hud-resources{display:block;position:absolute;inset:0;width:100%;height:100%;padding:0;margin:0;pointer-events:none}
#game .wf-frontier-hud #hud-resources .wf-hud-resource{position:absolute;display:block;top:47.5%;height:27%;padding:0;margin:0;min-width:0;border:0;border-radius:0;background:none;box-shadow:none;text-align:center;line-height:1}
#game .wf-frontier-hud .wf-hud-health{left:21.8%;width:11.6%}
#game .wf-frontier-hud .wf-hud-energy{left:41.5%;width:11.6%}
#game .wf-frontier-hud .wf-hud-money{left:63.8%;width:11.3%}
#game .wf-frontier-hud .wf-hud-gold{left:84%;width:6.3%}
#game .wf-frontier-hud #hud-resources .wf-hud-resource strong{display:block;position:absolute;inset:0 0 auto;width:100%;max-width:100%;height:63%;font:700 clamp(8px,2.45vw,24px)/1.2 Georgia,'Times New Roman',serif;font-size:clamp(8px,2.48cqw,24px);font-variant-numeric:tabular-nums;letter-spacing:-.025em;color:#fff1d3;text-shadow:0 1px 1px #1b1009;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal}
#game .wf-frontier-hud #hud-resources :is(.wf-hud-money,.wf-hud-gold) strong{top:4%;font-size:clamp(9px,2.8vw,28px);font-size:clamp(9px,2.8cqw,28px)}
#game .wf-frontier-hud #hud-resources .wf-hud-money strong{color:#c9e79e}
#game .wf-frontier-hud #hud-resources .wf-hud-gold strong{color:#fff0c9}
#game .wf-frontier-hud #hud-resources .wf-hud-resource progress{appearance:none;-webkit-appearance:none;display:block;position:absolute;top:60%;left:0;width:100%;height:29%;margin:0;padding:0;border:1px solid #a16a3c;border-radius:999px;background:#21150e;overflow:hidden;box-shadow:0 1px 2px #110a07,inset 0 1px 2px #0009}
#game .wf-frontier-hud progress::-webkit-progress-bar{background:#21150e;border-radius:999px}
#game .wf-frontier-hud .wf-hud-health progress::-webkit-progress-value{background:linear-gradient(#ffe0b6 0%,#e16d51 24%,#ca3b2c 55%,#9a271f 100%);border-radius:999px}
#game .wf-frontier-hud .wf-hud-health progress::-moz-progress-bar{background:linear-gradient(#ffe0b6 0%,#e16d51 24%,#ca3b2c 55%,#9a271f 100%);border-radius:999px}
#game .wf-frontier-hud .wf-hud-energy progress::-webkit-progress-value{background:linear-gradient(#fff5c2 0%,#ffdf71 24%,#ffbd1d 55%,#b4710b 100%);border-radius:999px}
#game .wf-frontier-hud .wf-hud-energy progress::-moz-progress-bar{background:linear-gradient(#fff5c2 0%,#ffdf71 24%,#ffbd1d 55%,#b4710b 100%);border-radius:999px}
#game .wf-frontier-hud .wf-hud-main .wf-hud-profile,#game .wf-frontier-hud .wf-hud-main #refresh-game{display:block;position:absolute;min-height:0;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent;color:inherit;cursor:pointer;touch-action:manipulation;z-index:2}
#game .wf-frontier-hud .wf-hud-main .wf-hud-profile{left:2.1%;top:17%;width:13.8%;height:83%}
#game .wf-frontier-hud .wf-hud-main #refresh-game{left:91.5%;top:34%;width:8%;height:48%}
#game .wf-frontier-hud .wf-hud-main #refresh-game:disabled{opacity:.55;background:#0003}
#game .wf-frontier-hud #hud-level-badge{position:absolute;left:4%;top:67%;width:29%;height:23%;display:grid;place-items:center;padding:0;margin:0;min-width:0;background:none;color:#fff1d3;font:700 clamp(9px,2.5vw,24px)/1 Georgia,'Times New Roman',serif;font-size:clamp(9px,2.5cqw,24px);text-shadow:0 1px 1px #100905;white-space:nowrap}
#game .wf-frontier-hud .wf-hud-profile :is(img,canvas),#game .wf-frontier-hud #refresh-game svg{display:none!important}
/* Keep the existing live data nodes and hero artwork pipeline, but do not add an extra HUD row. */
#game .wf-frontier-hud .wf-hud-identity,#game .wf-frontier-hud #hud-resources .wf-hud-resource>small{position:absolute;width:1px;height:1px;padding:0;margin:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;pointer-events:none}
#game .wf-frontier-hud :is(.wf-hud-profile,#refresh-game):focus-visible{outline:2px solid #ffdfa0;outline-offset:-2px;border-radius:6px}

/* Stage 26.0.12.42: retain job controller nodes, but never display jobs in the resource HUD. */
#game .wf-frontier-hud #job-execution,
#game .wf-frontier-hud #job-queue-summary{display:none!important}

/* Stage 26.0.12.43: the frame's main horizontal rail ends at y=142/162.
   Let the map fill the transparent 20px tail, retaining the overhanging level shield. */
html.wf-map-swipe-lock #game .wf-frontier-hud{background:transparent;pointer-events:none}
html.wf-map-swipe-lock #game .wf-frontier-hud .wf-hud-profile,
html.wf-map-swipe-lock #game .wf-frontier-hud #refresh-game{pointer-events:auto}
#game #game-content.map-fullscreen{margin-top:-2.1253985%;padding-top:0}
