#combat-hud-options select {
  min-height: 44px;
  max-width: 100%;
  width: 100%;
  font: inherit;
}
#combat-hud-options button {
  min-height: 44px;
}
#game#game#game#game[data-combat-hud]:not([data-combat-hud=native]) :is(#hud-left, #hud) {
  transform: none !important;
  filter: none !important;
  overflow: visible !important;
}
#game#game#game#game[data-combat-hud]:not([data-combat-hud=native]) #hud .meter:has(:is(#hp-fill, #mana-fill)) {
  position: fixed !important;
  top: auto !important;
  bottom: calc(var(--combat-belt-height,80px) + 24px) !important;
  left: calc(50vw - 96px) !important;
  right: auto !important;
  width: 88px !important;
  height: 88px !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  mask: none !important;
  clip-path: none !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  pointer-events: auto !important;
}
#game#game#game#game[data-combat-hud]:not([data-combat-hud=native]) #hud .meter:has(#mana-fill) {
  left: calc(50vw + 8px) !important;
}
#game#game#game#game[data-combat-hud]:not([data-combat-hud=native]) #hud .meter:has(:is(#hp-fill, #mana-fill))::before,
#game#game#game#game[data-combat-hud]:not([data-combat-hud=native]) #hud .meter:has(:is(#hp-fill, #mana-fill))::after,
#game#game#game#game[data-combat-hud]:not([data-combat-hud=native]) #hud .meter:has(:is(#hp-fill, #mana-fill)) > .px-icon {
  display: none !important;
}
#game#game#game#game[data-combat-hud]:not([data-combat-hud=native]) #hud .bar:is(.hp, .mana) {
  position: relative !important;
  inset: auto !important;
  box-sizing: border-box !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  overflow: hidden !important;
  border: 3px solid #b69b59 !important;
  outline: 2px solid #38291d !important;
  background: #241c22 !important;
  box-shadow: inset 0 0 0 2px #1c1722, 0 3px 0 #17151c !important;
  mask: none !important;
  clip-path: none !important;
  transform: none !important;
  isolation: isolate;
}
#game#game#game#game[data-combat-hud=orbs] #hud .bar:is(.hp, .mana) {
  border-radius: 50% !important;
  corner-shape: round !important;
}
#game#game#game#game[data-combat-hud]:not([data-combat-hud=native]) #hud .bar:is(.hp, .mana)::before,
#game#game#game#game[data-combat-hud]:not([data-combat-hud=native]) #hud .bar:is(.hp, .mana)::after {
  display: none !important;
}
#game#game#game#game[data-combat-hud=orbs] :is(#hp-fill, #mana-fill) {
  position: absolute !important;
  top: auto !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: calc(100% - var(--pvlc-empty,0%)) !important;
  border-radius: 0 !important;
  clip-path: none !important;
  mask: none !important;
  transform: none !important;
  transition: none !important;
}
#game#game#game#game[data-combat-hud=orbs] #mana-fill {
  height: var(--resource-fill,0%) !important;
}
#game#game#game#game[data-combat-hud]:not([data-combat-hud=native]) #hp-fill {
  background:
    linear-gradient(
      135deg,
      #f08b74,
      #c32c3e 45%,
      #771e30) !important;
}
#game#game#game#game[data-combat-hud] #mana-fill {
  background:
    linear-gradient(
      135deg,
      #ffffff44,
      transparent 55%),
    var(--resource-colour,#438fe5) !important;
}
#game#game#game#game[data-combat-hud]:not([data-combat-hud=native]) :is(#hp-text, #mana-text) {
  position: absolute !important;
  inset: 0 !important;
  z-index: 3 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: column !important;
  gap: 2px !important;
  font: 800 21px/1.1 var(--read,system-ui) !important;
  letter-spacing: 0 !important;
  color: #fff8e7 !important;
  text-shadow: 0 2px 2px #1d1720 !important;
  white-space: nowrap !important;
  transform: none !important;
  padding: 0 !important;
  pointer-events: none !important;
}
#game#game#game#game[data-combat-hud]:not([data-combat-hud=native]) :is(#hp-text, #mana-text) .max {
  font: 700 11px/1.1 var(--read,system-ui) !important;
  opacity: .85 !important;
}
#game#game#game#game[data-combat-hud]:not([data-combat-hud=native]) #mana-text .rage-word {
  font: 700 10px/1.1 var(--read,system-ui) !important;
}
#game#game#game#game[data-combat-hud=orbs] .hp-trail {
  display: none !important;
}
#game#game#game#game[data-combat-hud=orbs] .hp-orb-trail {
  position: absolute !important;
  inset: 0 !important;
  background: #ffe2a5 !important;
  pointer-events: none !important;
}
#game#game#game#game[data-combat-hud][data-combat-hud=bars] .hp-orb-trail {
  display: none !important;
}
#game#game#game#game[data-combat-hud][data-combat-hud=bars] #hud .meter:has(:is(#hp-fill, #mana-fill)) {
  width: min(200px, calc(50vw - 20px)) !important;
  height: 40px !important;
  left: calc(50vw - min(200px, calc(50vw - 20px)) - 8px) !important;
}
#game#game#game#game[data-combat-hud][data-combat-hud=bars] #hud .meter:has(#mana-fill) {
  left: calc(50vw + 8px) !important;
}
#game#game#game#game[data-combat-hud][data-combat-hud=bars] #hud .bar:is(.hp, .mana) {
  border-radius: 6px !important;
}
#game#game#game#game[data-combat-hud][data-combat-hud=bars] :is(#hp-fill, #mana-fill) {
  height: 100% !important;
  position: absolute !important;
  inset: 0 auto 0 0 !important;
  border-radius: 0 !important;
  clip-path: none !important;
  mask: none !important;
  transform: none !important;
  transition: none !important;
}
#game#game#game#game[data-combat-hud][data-combat-hud=bars] :is(#hp-text, #mana-text) {
  flex-direction: row !important;
  font-size: 16px !important;
  gap: 4px !important;
}
#game#game#game#game[data-combat-belt=joined] #bars {
  display: flex !important;
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  top: auto !important;
  bottom: max(12px, env(safe-area-inset-bottom)) !important;
  width: min(760px, calc(100vw - 24px)) !important;
  height: auto !important;
  transform: translateX(-50%) !important;
  flex-flow: row wrap !important;
  align-items: end !important;
  justify-content: center !important;
  gap: 6px !important;
  pointer-events: none !important;
}
#game#game#game#game[data-combat-belt=joined] :is(#hotbar, #foodbar) {
  display: flex !important;
  flex-flow: row wrap !important;
  position: relative !important;
  inset: auto !important;
  transform: none !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 44px !important;
  gap: 4px !important;
  padding: 4px !important;
  margin: 0 !important;
  pointer-events: auto !important;
}
#game#game#game#game[data-combat-belt=joined] #hotbar {
  flex: 1 1 480px;
  justify-content: center;
}
#game#game#game#game[data-combat-belt=joined] #foodbar {
  flex: 0 1 auto;
  justify-content: center;
}
#game#game#game#game[data-combat-belt=joined] :is(#hotbar, #foodbar) > .hslot {
  position: relative !important;
  inset: auto !important;
  transform: none !important;
  grid-column: auto !important;
  grid-row: auto !important;
  margin: 0 !important;
  flex: 0 0 46px !important;
  width: 46px !important;
  height: 46px !important;
  min-width: 44px !important;
  min-height: 44px !important;
}
#game#game#game#game[data-combat-belt=joined] .belt-divider {
  display: none !important;
}
#game#game#game#game[data-combat-belt=joined] #hotbar .hslot .key {
  display: block !important;
}
@media (max-width: 760px), (pointer: coarse) {
  #game#game#game#game[data-combat-hud]:not([data-combat-hud=native]) #hud .meter:has(:is(#hp-fill, #mana-fill)) {
    bottom: max(190px, calc(var(--combat-belt-height,166px) + 24px)) !important;
    left: calc(50vw - 30px) !important;
    width: 64px !important;
    height: 64px !important;
  }
  #game#game#game#game[data-combat-hud]:not([data-combat-hud=native]) #hud .meter:has(#mana-fill) {
    left: calc(50vw + 46px) !important;
  }
  #game#game#game#game[data-combat-hud][data-combat-hud=bars] #hud .meter:has(:is(#hp-fill, #mana-fill)) {
    width: min(160px, calc((100vw - 116px)/2)) !important;
    height: 36px !important;
    left: 92px !important;
  }
  #game#game#game#game[data-combat-hud][data-combat-hud=bars] #hud .meter:has(#mana-fill) {
    left: calc(104px + min(160px, calc((100vw - 116px)/2))) !important;
  }
  #game#game#game#game[data-combat-belt=joined] #bars {
    left: auto !important;
    right: 8px !important;
    transform: none !important;
    width: calc(100vw - 100px) !important;
    max-height: 45dvh;
    overflow: auto;
    pointer-events: auto !important;
  }
  #game#game#game#game[data-combat-belt=joined] #hotbar .hslot.locked {
    display: none !important;
  }
  #game#game#game#game[data-combat-belt=joined] #hotbar {
    flex-basis: 100%;
  }
}
#game#game#game#game[data-combat-belt=joined][data-combat-quick=false] #foodbar {
  position: absolute !important;
  bottom: calc(100% + 8px) !important;
  top: auto !important;
  right: 0 !important;
  left: auto !important;
}
#game#game#game#game[data-combat-belt=joined] #hotbar > .hslot:not(.locked):not([hidden]):not(.hidden) {
  display: grid !important;
}
#game#game#game#game[data-combat-belt=joined] :is(#bars, #hotbar, #foodbar, .hslot):is([hidden], .hidden),
#game#game#game#game[data-combat-belt=joined] :is(#pvlc-fan-button, #pvlc-fan-next) {
  display: none !important;
}
body.flying #game#game#game#game[data-combat-belt=joined] #bars,
body.demo #game#game#game#game[data-combat-belt=joined] #bars {
  display: none !important;
}
@media (prefers-reduced-motion: reduce) {
  #game#game#game#game[data-combat-hud=orbs] .hp-orb-trail {
    display: none !important;
  }
}
#game#game#game#game[data-combat-hud]:not([data-combat-hud=native]) #hp-fill {
  opacity: 1 !important;
}
#game#game#game#game[data-combat-hud]:not([data-combat-hud=native]) #pvlc-level {
  display: none !important;
}
#game#game#game#game[data-combat-belt=joined] #hotbar {
  flex: 1 1 100% !important;
  order: 0 !important;
}
#game#game#game#game[data-combat-belt=joined] #foodbar {
  order: 1 !important;
  margin-left: auto !important;
}
@media (min-width: 761px) and (pointer: fine) {
  #game#game#game#game[data-combat-belt=joined] #bars {
    left: auto !important;
    right: 80px !important;
    transform: none !important;
    width: min(760px, calc(100vw - 520px)) !important;
    min-width: 280px !important;
  }
}
@media (max-width: 760px), (pointer: coarse) {
  #game#game#game#game[data-combat-belt=joined]:not([data-pvl-clean-ui=true]) #bars {
    bottom: max(70px, calc(env(safe-area-inset-bottom) + 64px)) !important;
  }
  #game#game#game#game[data-combat-belt=joined]:not([data-pvl-clean-ui=true]) #touch-attack {
    left: 16px !important;
    right: auto !important;
    bottom: 160px !important;
  }
  #game#game#game#game[data-combat-belt=joined]:not([data-pvl-clean-ui=true]) #touch-mount {
    left: 16px !important;
    right: auto !important;
    bottom: 230px !important;
  }
  #game#game#game#game[data-combat-hud]:not([data-combat-hud=native]):not([data-pvl-clean-ui=true])[data-combat-belt=joined] #hud .meter:has(:is(#hp-fill, #mana-fill)) {
    bottom: calc(var(--combat-belt-height,166px) + 86px) !important;
  }
}
#game#game#game#game[data-combat-hud]:not([data-combat-hud=native]) :is(#hud-left, #hud) {
  zoom: 1 !important;
}
#game#game#game#game[data-combat-hud]:not([data-combat-hud=native]) #hud :is(.hud-top, .hud-foot, #xp-meter) {
  zoom: var(--ui,1);
}
#game#game#game#game[data-combat-belt=joined] #bars {
  zoom: 1 !important;
}
@media (max-width: 760px), (pointer: coarse) {
  #game#game#game#game[data-combat-hud=orbs] :is(#hp-text, #mana-text) {
    font-size: 18px !important;
  }
}
#game#game#game#game[data-combat-belt=joined] #hotbar > .hslot[data-pvlc-slot=main] {
  padding: 4px !important;
  border-radius: 12px !important;
  corner-shape: bevel !important;
  background: var(--pvlx-key,#f8e8bf) !important;
  box-shadow: inset 0 1px 0 #fff8, 0 2px 0 #342716 !important;
}
#game#game#game#game[data-combat-belt=joined] #hotbar > .hslot .spell-icon {
  position: static !important;
  width: 32px !important;
  height: 32px !important;
  max-width: 100% !important;
  max-height: 100% !important;
  transform: none !important;
  margin: auto !important;
  image-rendering: pixelated;
}
@media (max-width: 760px), (pointer: coarse) {
  #game#game#game#game[data-pvl-clean-ui=true][data-combat-belt=joined]:not([data-combat-hud=native]) #hud .meter:has(:is(#hp-fill, #mana-fill)) {
    bottom: calc(var(--combat-belt-height,166px) + 24px) !important;
  }
}
#game#game#game#game#game[data-combat-hud=orbs] #hud .meter:has(:is(#hp-fill, #mana-fill)) {
  width: 72px !important;
  height: 72px !important;
  left: calc(50vw - 80px) !important;
}
#game#game#game#game#game[data-combat-hud=orbs] #hud .meter:has(#mana-fill) {
  left: calc(50vw + 8px) !important;
}
#game#game#game#game#game[data-combat-hud=orbs] #hud .bar:is(.hp, .mana) {
  border: 3px solid #cba956 !important;
  background: #211d22 !important;
  outline: 2px solid #2b2018 !important;
  box-shadow:
    inset 0 0 0 2px #2c211c,
    0 0 0 3px #efd994,
    0 0 0 5px #35291e,
    0 4px 0 5px #201a16 !important;
}
#game#game#game#game#game[data-combat-hud=orbs] #hud .meter:has(:is(#hp-fill, #mana-fill))::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: -8px !important;
  z-index: 4 !important;
  pointer-events: none !important;
  border: 0 !important;
  --combat-orb-jewel:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1L11 6L6 11L1 6Z' fill='%23cba956' stroke='%23392a1c'/%3E%3Cpath d='M6 2L10 6H6L2 6Z' fill='%23ffe5a0'/%3E%3C/svg%3E");
  background:
    var(--combat-orb-jewel) center top/12px 12px no-repeat,
    var(--combat-orb-jewel) right center/12px 12px no-repeat,
    var(--combat-orb-jewel) center bottom/12px 12px no-repeat,
    var(--combat-orb-jewel) left center/12px 12px no-repeat !important;
  box-shadow: none !important;
  transform: none !important;
  mask: none !important;
  clip-path: none !important;
  border-radius: 0 !important;
}
#game#game#game#game#game[data-combat-hud=orbs] #hud .bar:is(.hp, .mana)::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  pointer-events: none !important;
  border-radius: 50% !important;
  background:
    radial-gradient(
      ellipse at 32% 17%,
      #fff9 0,
      #fff2 16%,
      transparent 41%),
    radial-gradient(
      ellipse at 50% 42%,
      transparent 36%,
      #170c1666 87%,
      #160c17cc 100%) !important;
  box-shadow: inset 0 1px 0 #fff6, inset 0 -4px 7px #170a2266 !important;
}
#game#game#game#game#game[data-combat-hud=orbs] #hud .bar:is(.hp, .mana)::after {
  content: attr(data-resource-name) !important;
  display: block !important;
  position: absolute !important;
  inset: 9px 0 auto !important;
  z-index: 4 !important;
  font: 800 10px/1 var(--read,system-ui) !important;
  text-align: center !important;
  color: #fff5d9 !important;
  text-shadow: 0 1px 2px #21120c !important;
  background: none !important;
  box-shadow: none !important;
  border: 0 !important;
  transform: none !important;
  pointer-events: none !important;
}
#game#game#game#game#game[data-combat-hud=orbs] :is(#hp-fill, #mana-fill) {
  z-index: 0 !important;
  box-shadow: inset 0 2px 0 #fff5 !important;
}
#game#game#game#game#game[data-combat-hud=orbs] #hp-fill {
  background:
    linear-gradient(
      160deg,
      #ed634c,
      #c92f34 46%,
      #8b1b2b) !important;
}
#game#game#game#game#game[data-combat-hud=orbs] #mana-fill {
  background:
    linear-gradient(
      155deg,
      #ffffff30,
      transparent 45%,
      #130c2538),
    var(--resource-colour,#438fe5) !important;
}
#game#game#game#game#game[data-combat-hud=orbs] :is(#hp-text, #mana-text) {
  padding: 11px 0 0 !important;
  box-sizing: border-box !important;
  font-size: 21px !important;
  gap: 2px !important;
  font-variant-numeric: tabular-nums !important;
}
#game#game#game#game#game[data-combat-hud=orbs] :is(#hp-text, #mana-text) .max {
  font-size: 11px !important;
  color: #fff0d6 !important;
  opacity: 1 !important;
}
#game#game#game#game#game[data-combat-hud=orbs] #mana-text .rage-word {
  display: none !important;
}
#game#game#game#game#game[data-combat-hud=orbs] .hp-orb-trail {
  z-index: 1 !important;
}
#game#game#game#game#game[data-combat-hud=orbs][data-combat-belt=native]:is([data-pvl-clean-layout=desktop], [data-pvl-clean-layout=tablet]) #hud .meter:has(:is(#hp-fill, #mana-fill)) {
  width: var(--combat-orb-size,72px) !important;
  height: var(--combat-orb-size,72px) !important;
  bottom: var(--combat-orb-bottom,22px) !important;
  left: calc(50vw - var(--combat-orb-size,72px) - var(--combat-orb-gap,16px)/2) !important;
}
#game#game#game#game#game[data-combat-hud=orbs][data-combat-belt=native]:is([data-pvl-clean-layout=desktop], [data-pvl-clean-layout=tablet]) #hud .meter:has(#mana-fill) {
  left: calc(50vw + var(--combat-orb-gap,16px)/2) !important;
}
@media (max-width: 760px), (pointer: coarse) {
  #game#game#game#game#game[data-combat-hud=orbs] #hud .meter:has(:is(#hp-fill, #mana-fill)) {
    width: 66px !important;
    height: 66px !important;
    left: calc(50vw - 73px) !important;
  }
  #game#game#game#game#game[data-combat-hud=orbs] #hud .meter:has(#mana-fill) {
    left: calc(50vw + 7px) !important;
  }
  #game#game#game#game#game[data-combat-hud=orbs] #hud .bar:is(.hp, .mana)::after {
    inset: 8px 0 auto !important;
    font-size: 9px !important;
  }
  #game#game#game#game#game[data-combat-hud=orbs] :is(#hp-text, #mana-text) {
    padding-top: 11px !important;
    font-size: 20px !important;
    gap: 1px !important;
  }
  #game#game#game#game#game[data-combat-hud=orbs] :is(#hp-text, #mana-text) .max {
    font-size: 10px !important;
  }
}
#game#game#game#game#game[data-combat-hud=orbs][data-combat-belt=native]:is([data-pvl-clean-layout=mobile], [data-pvl-clean-layout=landscape]) #hud .meter:has(:is(#hp-fill, #mana-fill)) {
  top: var(--pvly-orb-top,142px) !important;
  bottom: auto !important;
  left: var(--pvly-orb-left,16px) !important;
  width: var(--pvly-orb,66px) !important;
  height: var(--pvly-orb,66px) !important;
}
#game#game#game#game#game[data-combat-hud=orbs][data-combat-belt=native]:is([data-pvl-clean-layout=mobile], [data-pvl-clean-layout=landscape]) #hud .meter:has(#mana-fill) {
  left: var(--pvly-orb-left2,96px) !important;
}
#game#game#game#game#game[data-combat-hud=orbs][data-combat-belt=native]:is([data-pvl-clean-layout=mobile], [data-pvl-clean-layout=landscape]) #hud .bar:is(.hp, .mana)::after {
  inset: calc(var(--pvly-orb,66px) * 4 / 33) 0 auto !important;
  font-size: max(8px, calc(var(--pvly-orb,66px) * 3 / 22)) !important;
}
#game#game#game#game#game[data-combat-hud=orbs][data-combat-belt=native]:is([data-pvl-clean-layout=mobile], [data-pvl-clean-layout=landscape]) :is(#hp-text, #mana-text) {
  padding-top: calc(var(--pvly-orb,66px) / 6) !important;
  font-size: calc(var(--pvly-orb,66px) * 10 / 33) !important;
}
#game#game#game#game#game[data-combat-hud=orbs][data-combat-belt=native]:is([data-pvl-clean-layout=mobile], [data-pvl-clean-layout=landscape]) :is(#hp-text, #mana-text) .max {
  font-size: max(8px, calc(var(--pvly-orb,66px) * 5 / 33)) !important;
}
