/* Reconstructed from the generated r25 target; live text, bars and inputs. */
#field-recovery-markers {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.field-recovery-cell {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  justify-items: center;
  color: #e8fff6;
  font: 700 12px sans-serif;
  text-shadow: 0 2px 3px #071b16;
}
.field-recovery-cell b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 2px solid #bdffe4;
  border-radius: 50%;
  background: #146b50ed;
  box-shadow: 0 0 12px #58d99c88;
  font-size: 30px;
  line-height: 1;
}
.field-recovery-cell.expiring {
  opacity: 0.5;
}
.playing #mast {
  display: none;
}
#hud {
  --hud-edge: #b4bab4;
  --hud-dark: #152029;
  --hud-gold: #e6be75;
}
#field-momentum {
  position: absolute;
  top: max(126px, calc(env(safe-area-inset-top) + 108px));
  left: max(24px, env(safe-area-inset-left));
  width: 172px;
  padding: 7px 10px;
  color: #d7f8ed;
  background: #15292ee8;
  border-left: 3px solid #71c7ae;
  font-size: 13px;
  pointer-events: none;
  z-index: 2;
}
#field-momentum[hidden] {
  display: none;
}
#field-momentum.is-overdrive {
  color: #ffe3a0;
  border-color: #ffc348;
}
#field-momentum progress {
  display: block;
  width: 100%;
  height: 4px;
  margin: 5px 0 0;
  accent-color: #71c7ae;
}
#field-momentum.is-overdrive progress {
  accent-color: #ffc348;
}
@media (max-width: 600px) {
  #field-momentum {
    top: 194px;
    left: 12px;
    width: 132px;
    padding: 5px 8px;
    font-size: 11px;
  }
}
@media (max-height: 500px) and (min-width: 601px) {
  #field-momentum {
    top: 94px;
    left: 14px;
    width: 144px;
  }
}
#hud .status {
  top: max(18px, env(safe-area-inset-top));
  left: max(20px, env(safe-area-inset-left));
  width: 320px;
  height: 98px;
  padding: 0;
  background: none;
  border: 0;
  display: flex;
  align-items: center;
  filter: drop-shadow(0 3px 1px #07141c99);
}
.pilot-frame {
  flex: 0 0 94px;
  height: 94px;
  padding: 7px;
  position: relative;
  background: linear-gradient(
    135deg,
    #fff2c1,
    #ae7848 21%,
    #2c3842 22%,
    #d1d8d8 50%,
    #27343e 72%,
    #dbaa61 73%,
    #ffe0a0
  );
  clip-path: polygon(
    16% 0,
    84% 0,
    100% 16%,
    100% 84%,
    84% 100%,
    16% 100%,
    0 84%,
    0 16%
  );
  z-index: 2;
}
.pilot-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: radial-gradient(ellipse at 50% 75%, #435242, #111e28 75%);
  clip-path: polygon(
    13% 0,
    87% 0,
    100% 13%,
    100% 87%,
    87% 100%,
    13% 100%,
    0 87%,
    0 13%
  );
}
.vital-bars {
  flex: 1;
  margin-left: -6px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.meter-shell {
  padding: 5px 8px 5px 3px;
  background: linear-gradient(#cbd2d0, #59656b 30%, #18252d 50%, #71807f);
  clip-path: polygon(0 0, 94% 0, 100% 50%, 94% 100%, 0 100%);
}
#hud .meter-shell progress {
  appearance: none;
  height: 20px;
  margin: 0;
  background: #18251b;
  border: 2px solid #101a21;
}
#hud .meter-shell progress::-webkit-progress-bar {
  background: #1c2b26;
}
#hud #hp::-webkit-progress-value {
  background: linear-gradient(
    #c5ff78 5%,
    #7ff12c 20%,
    #56c41e 72%,
    #398216 75%
  );
}
#hud #mana::-webkit-progress-value {
  background: linear-gradient(#acf8ff, #1acbfa 35%, #0098d4 76%, #156685 77%);
}
#hud #hp::-moz-progress-bar {
  background: #77df2c;
}
#hud #mana::-moz-progress-bar {
  background: #1acbfa;
}
#hud .mana-meter {
  width: 85%;
  padding-top: 3px;
  padding-bottom: 3px;
}
#hud .mana-meter progress {
  height: 11px;
}
#hud .fuel-meter {
  display: none;
  width: 76%;
  margin: 0;
  gap: 0;
  padding-top: 2px;
  padding-bottom: 2px;
}
#hud.has-jet .fuel-meter {
  display: block;
}
#hud .fuel-meter progress {
  height: 7px;
}
#hud #fuel::-webkit-progress-value {
  background: #eebc5b;
}
#damage-feedback {
  position: absolute;
  bottom: -6px;
  left: 102px;
  color: #ffc1ad;
  text-shadow: 0 2px #4b2016;
  font-weight: 800;
}
#hud.low-health .health-meter {
  background: linear-gradient(#ffd5b2, #a03e2d);
}
#encounter {
  position: absolute;
  top: max(18px, env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: min(450px, 34vw);
  z-index: 3;
}
#core-status {
  display: inline-block;
  padding: 7px 22px;
  color: #fff0d2;
  font-size: 14px;
  font-weight: 900;
  background: linear-gradient(#37444b, #19252c);
  border: 2px solid #b69f72;
  box-shadow:
    inset 0 1px #e6dcbd,
    0 3px #17232b;
  clip-path: polygon(
    9px 0,
    calc(100% - 9px) 0,
    100% 9px,
    100% calc(100% - 9px),
    calc(100% - 9px) 100%,
    9px 100%,
    0 calc(100% - 9px),
    0 9px
  );
}
#hud #battle-clock {
  position: static;
  transform: none;
  width: 72%;
  height: 5px;
  padding: 0;
  margin: 9px auto 0;
  background: #21313a;
}
#boss-panel {
  left: 50%;
  transform: translateX(-50%);
  top: 66px;
  width: min(520px, 38vw);
  padding: 0;
  background: none;
  border: 0;
  text-align: center;
  text-shadow: 0 2px 3px #15252a;
}
#boss-name {
  display: block;
  font-size: 20px;
  font-weight: 900;
  color: #fff3d2;
  margin-bottom: 7px;
}
#hud #boss-health {
  appearance: none;
  box-sizing: border-box;
  height: 20px;
  margin: 0;
  border: 4px solid #bd9b68;
  border-top-color: #ffe4b9;
  background: #3b2429;
  box-shadow: 0 3px #15212a;
  clip-path: polygon(
    8px 0,
    calc(100% - 8px) 0,
    100% 50%,
    calc(100% - 8px) 100%,
    8px 100%,
    0 50%
  );
}
#boss-health::-webkit-progress-bar {
  background: #3b2429;
}
#boss-health::-webkit-progress-value {
  background: linear-gradient(#ffaaa0, #ef463e 35%, #c72d2e 80%);
}
#boss-health::-moz-progress-bar {
  background: #ee5147;
}
#boss-warning {
  display: block;
  min-height: 18px;
  padding-top: 4px;
  font-weight: 800;
  color: #ffce96;
}
#boss-warning:empty {
  display: none;
}
#field-map {
  width: 128px;
  height: 128px;
  top: max(18px, env(safe-area-inset-top));
  right: max(82px, env(safe-area-inset-right));
  bottom: auto;
  background:
    repeating-linear-gradient(0deg, #ffffff06 0 1px, transparent 1px 16px),
    repeating-linear-gradient(90deg, #ffffff06 0 1px, transparent 1px 16px),
    #36533aeb;
  border: 5px solid #6c7976;
  border-top-color: #d4d7c2;
  border-left-color: #c5b389;
  box-shadow:
    0 3px 0 #17232b,
    inset 0 0 12px #0b1d21;
}
.map-terrain {
  position: absolute;
  background: #71914a;
  border-top: 1px solid #b2b667;
  transform: translate(-50%, -50%);
  min-width: 2px;
  min-height: 2px;
}
#field-map .self {
  background: #fff5cd;
  width: 10px;
  height: 13px;
  z-index: 2;
}
#field-map .mob {
  background: #de9270;
  width: 4px;
  height: 4px;
}
#field-map b {
  color: #ffe29f;
  font-size: 12px;
  transform: translate(-50%, -50%);
}
#mode-label {
  position: absolute;
  right: 82px;
  top: 151px;
  width: 128px;
  text-align: center;
  font-size: 10px;
  font-weight: 800;
  color: #fff4d9;
  text-shadow: 0 1px 3px #142326;
}
#core-meter {
  position: absolute;
  right: 82px;
  top: 171px;
  width: 128px;
  display: flex;
  gap: 6px;
  align-items: center;
  color: #f2cc83;
}
#core-meter progress {
  appearance: none;
  height: 6px;
  margin: 0;
  box-shadow: 0 1px 2px #17232b;
  border: 1px solid #37443d;
}
#core-hp::-webkit-progress-value {
  background: #efc65e;
}
#battle-menu-button {
  position: absolute;
  right: max(20px, env(safe-area-inset-right));
  top: max(18px, env(safe-area-inset-top));
  width: 48px;
  height: 48px;
  min-height: 44px;
  padding: 10px;
  pointer-events: auto;
  z-index: 4;
  background: linear-gradient(#46545a, #17252c);
  border: 3px solid #b5b9aa;
  border-bottom-color: #696b62;
  box-shadow: 0 3px #12202a;
  clip-path: polygon(
    9px 0,
    calc(100% - 9px) 0,
    100% 9px,
    100% calc(100% - 9px),
    calc(100% - 9px) 100%,
    9px 100%,
    0 calc(100% - 9px),
    0 9px
  );
}
#battle-menu-button svg {
  width: 100%;
  height: 100%;
  fill: #fff1cb;
  display: block;
}
#weapon-status {
  position: absolute;
  left: 160px;
  bottom: 30px;
  display: flex;
  gap: 8px;
  margin: 0;
  z-index: 3;
}
.weapon-tile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  width: 100px;
  height: 48px;
  background: linear-gradient(#34434a, #17252c);
  border: 2px solid #9ca59a;
  border-top-color: #f1d3a1;
  box-shadow: 0 3px #14232b;
  padding: 4px 7px;
  clip-path: polygon(
    8px 0,
    calc(100% - 8px) 0,
    100% 8px,
    100% calc(100% - 8px),
    calc(100% - 8px) 100%,
    8px 100%,
    0 calc(100% - 8px),
    0 8px
  );
}
.weapon-phase {
  position: absolute;
  inset: auto 2px 1px;
  background: #173344;
  color: #d3edff;
  font-size: 10px;
  font-weight: 800;
  line-height: 13px;
  text-align: center;
}
.weapon-tile img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
#hud .weapon-tile progress {
  height: 9px;
  margin: 0;
  appearance: none;
  background: #18252b;
}
.weapon-tile progress::-webkit-progress-value {
  background: repeating-linear-gradient(90deg, #f0d69b 0 7px, #766e5c 7px 9px);
}
.weapon-tile.reloading {
  border-top-color: #8bbce2;
}
.weapon-tile.reloading progress::-webkit-progress-value {
  background: #8bbce2;
}
.weapon-tile.charging progress::-webkit-progress-value {
  background: #96e7df;
}
#field-progress {
  position: absolute;
  top: 63px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  font-weight: 900;
  color: #fff3d3;
  text-shadow: 0 3px #17252b;
}
#field-progress.is-respawning {
  top: 39%;
  font-size: 22px;
}
@media (max-width: 600px) {
  #field-progress {
    top: 137px;
    left: 12px;
    width: calc(100vw - 112px);
    transform: none;
    text-align: center;
    font-size: 12px;
  }
  #field-progress.is-respawning {
    top: 39%;
    left: 50%;
    width: auto;
    transform: translateX(-50%);
  }
}
#actions {
  bottom: max(22px, env(safe-area-inset-bottom));
  padding: 0 max(20px, env(safe-area-inset-right)) 0
    max(20px, env(safe-area-inset-left));
}
#stick {
  width: 116px;
  height: 116px;
  border: 2px solid #fff5ce70;
  background: #1a33352b;
}
#stick-thumb {
  background: #eee8bb36;
  border-color: #fff3c56b;
}
#stick small {
  display: none;
}
.action-buttons {
  gap: 10px;
  opacity: 1;
}
#hud .action-buttons button {
  width: 78px;
  height: 84px;
  padding: 5px;
  border: 0;
  border-radius: 0;
  position: relative;
  background: linear-gradient(
    135deg,
    #d6d9cb,
    #647171 35%,
    #17232a 65%,
    #9fa99c
  );
  clip-path: polygon(
    19% 0,
    81% 0,
    100% 19%,
    100% 81%,
    81% 100%,
    19% 100%,
    0 81%,
    0 19%
  );
  box-shadow: none;
}
.action-face {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1px;
  background: radial-gradient(ellipse at 30% 20%, #3e5359, #16242c);
  clip-path: inherit;
  z-index: 1;
}
.action-face svg {
  width: 42px;
  height: 42px;
  fill: #fff1c8;
  filter: drop-shadow(0 2px #132129);
}
.action-name {
  font-size: 10px;
  line-height: 13px;
  color: #fff1c8;
  white-space: nowrap;
}
#hud .action-buttons #attack {
  width: 100px;
  height: 110px;
  background: linear-gradient(
    135deg,
    #fff5c8,
    #f6ba50 35%,
    #8a4e1c 65%,
    #ffd27c
  );
}
#attack .action-face {
  background: radial-gradient(ellipse at 30% 20%, #bc7a21, #703d13);
}
#attack .action-face svg {
  width: 55px;
  height: 55px;
  fill: #ffe3a0;
}
.action-cooldown {
  position: absolute;
  inset: 5px;
  background: conic-gradient(#0c202ad6 var(--cooldown, 0deg), transparent 0);
  z-index: 2;
  clip-path: inherit;
  pointer-events: none;
}
#skill.unavailable .action-face {
  opacity: 0.65;
}
#skill .action-name {
  max-width: 64px;
  white-space: normal;
}
#hud .action-buttons button:active .action-face {
  background: #10212c;
  transform: translateY(1px);
}
#hud .action-buttons button:focus-visible,
#battle-menu-button:focus-visible {
  outline: 0;
  filter: drop-shadow(0 0 3px #fff5ad);
}
.battle-menu {
  width: min(330px, calc(100vw - 28px));
  padding: 26px;
  background: linear-gradient(135deg, #304550, #172733);
  border: 3px solid #b8ab88;
  border-top-color: #f3d398;
  color: #fff1d4;
  box-shadow: 0 14px 60px #0a182d88;
}
.battle-menu::backdrop {
  background: #0b1b2b45;
}
.battle-menu h2 {
  margin-bottom: 24px;
}
.battle-menu button {
  width: 100%;
  margin: 5px 0;
  min-height: 48px;
  background: #283e49;
  border-color: #9b9f8b;
}
.battle-menu #resume-battle {
  background: #eabd65;
  color: #1b2a31;
}
.battle-menu #leave-game {
  position: static;
  transform: none;
  margin-top: 22px;
  color: #f2ba9c;
  background: #372f31;
}
#battle-settings {
  border-top: 1px solid #8c927663;
  margin-top: 16px;
  padding-top: 12px;
}
.world-target small {
  display: none;
}
@media (max-width: 1000px) {
  #hud .status {
    width: 270px;
    height: 82px;
    left: 14px;
    top: 14px;
  }
  .pilot-frame {
    flex-basis: 78px;
    height: 78px;
  }
  #hud .meter-shell progress {
    height: 17px;
  }
  #hud .mana-meter progress {
    height: 9px;
  }
  #hud .fuel-meter progress {
    height: 6px;
  }
  #encounter {
    top: 108px;
    width: min(440px, 70vw);
  }
  #boss-panel {
    top: 153px;
    width: min(440px, 70vw);
  }
  #field-map {
    width: 96px;
    height: 96px;
    right: 76px;
    top: 14px;
  }
  #mode-label {
    right: 76px;
    top: 115px;
    width: 96px;
  }
  #core-meter {
    right: 76px;
    top: 132px;
    width: 96px;
  }
  #battle-menu-button {
    right: 14px;
    top: 14px;
  }
}
@media (max-width: 600px) {
  #hud .status {
    left: max(12px, env(safe-area-inset-left));
    top: max(12px, env(safe-area-inset-top));
    width: calc(100vw - 108px);
    max-width: 282px;
    height: 74px;
  }
  .pilot-frame {
    flex-basis: 68px;
    height: 68px;
    padding: 5px;
  }
  #hud .meter-shell progress {
    height: 15px;
  }
  .vital-bars {
    gap: 5px;
  }
  #hud .mana-meter progress {
    height: 8px;
  }
  #battle-menu-button {
    right: 12px;
    top: 12px;
  }
  #field-map {
    right: 12px;
    top: 72px;
    width: 74px;
    height: 74px;
    border-width: 3px;
  }
  #mode-label {
    right: 8px;
    top: 151px;
    width: 84px;
    font-size: 9px;
  }
  #core-meter {
    right: 12px;
    top: 170px;
    width: 74px;
  }
  #encounter {
    left: 12px;
    transform: none;
    top: 100px;
    width: calc(100vw - 112px);
  }
  #core-status {
    padding: 6px 12px;
    font-size: 12px;
  }
  #boss-panel {
    left: 12px;
    transform: none;
    top: 142px;
    width: calc(100vw - 112px);
  }
  #boss-name {
    font-size: 15px;
    margin-bottom: 5px;
  }
  #hud #boss-health {
    height: 16px;
    border-width: 3px;
  }
  #boss-warning {
    font-size: 11px;
  }
  #weapon-status {
    left: 12px;
    bottom: 146px;
    gap: 5px;
  }
  .weapon-tile {
    width: 76px;
    height: 38px;
    padding: 3px 5px;
  }
  .weapon-tile img {
    width: 27px;
    height: 27px;
  }
  #actions {
    padding: 0 12px;
    bottom: max(20px, env(safe-area-inset-bottom));
  }
  #stick {
    width: 88px;
    height: 88px;
  }
  #stick-thumb {
    width: 38px;
    height: 38px;
  }
  .action-buttons {
    gap: 6px;
  }
  #hud .action-buttons button {
    width: 56px;
    height: 62px;
    padding: 4px;
  }
  #hud .action-buttons #attack {
    width: 74px;
    height: 82px;
  }
  .action-face svg {
    width: 30px;
    height: 30px;
  }
  #attack .action-face svg {
    width: 40px;
    height: 40px;
  }
  .action-name {
    font-size: 9px;
    line-height: 11px;
  }
}
@media (max-height: 500px) and (min-width: 601px) {
  #hud .status {
    width: 240px;
    height: 68px;
    left: 12px;
    top: 12px;
  }
  .pilot-frame {
    flex-basis: 64px;
    height: 64px;
    padding: 5px;
  }
  #encounter {
    top: 12px;
    left: 50%;
    width: 260px;
    transform: translateX(-50%);
  }
  #boss-panel {
    top: 51px;
    width: 280px;
    left: 50%;
    transform: translateX(-50%);
  }
  #boss-name {
    font-size: 16px;
  }
  #field-map {
    top: 12px;
    right: 72px;
    width: 74px;
    height: 74px;
  }
  #mode-label {
    top: 90px;
    right: 72px;
    width: 74px;
    font-size: 9px;
  }
  #core-meter {
    top: 108px;
    right: 72px;
    width: 74px;
  }
  #weapon-status {
    left: 116px;
    bottom: 18px;
  }
  .weapon-tile {
    width: 76px;
    height: 38px;
  }
  .weapon-tile img {
    width: 28px;
    height: 28px;
  }
  #actions {
    bottom: 14px;
    padding: 0 14px;
  }
  #stick {
    width: 78px;
    height: 78px;
  }
  #hud .action-buttons button {
    width: 56px;
    height: 62px;
  }
  #hud .action-buttons #attack {
    width: 76px;
    height: 82px;
  }
  .action-face svg {
    width: 32px;
    height: 32px;
  }
  #attack .action-face svg {
    width: 44px;
    height: 44px;
  }
}

#hud.has-boss #field-progress:not(.is-respawning){top:148px;max-width:min(520px,50vw);text-align:center}
@media(max-width:600px){#hud.has-boss #field-progress:not(.is-respawning){top:201px;max-width:none;left:12px;width:calc(100vw - 24px);font-size:12px}}
