.player-exp-row {display:contents}

.mobile-hud #world-hud {
  --mobile-hud-action-icon:16px;
  --mobile-hud-header-height:16px;
  --mobile-hud-header-inset:4px;
  --mobile-hud-title-font:600 11px/1 "Segoe UI",Arial,sans-serif;
  --mobile-hud-level-font:600 10px/1 "Segoe UI",Arial,sans-serif;
  --mobile-hud-panel:rgb(0 0 0 / .32);
}
.mobile-hud #world-hud button {-webkit-tap-highlight-color:transparent}
.mobile-hud[data-hud-input="touch"] #world-hud button:focus-visible,
.mobile-hud[data-hud-input="touch"] #world-hud :is(#mobile-target-hud,#mobile-summon-hud,#mobile-party-hud,#mobile-chat,#player-status) button:focus-visible {
  outline:0;
}
.mobile-hud #world-hud #mobile-target-hud :is(.mobile-target-icon,#mobile-target-clear > .mobile-target-icon,.mobile-target-action > .mobile-target-icon) {
  width:var(--mobile-hud-action-icon);
  height:var(--mobile-hud-action-icon);
}

.mobile-hud #world-hud .hud-status-stack #player-status:has(#player-hud-grip) {
  padding:4px 5px;
  border-radius:4px;
  background:var(--mobile-hud-panel);
  font:650 9px/1 "Segoe UI",sans-serif;
  touch-action:none;
}
.mobile-hud #world-hud #player-status:has(#player-hud-grip) header {
  grid-template-columns:1fr;
  margin-bottom:3px;
  padding:0;
}
.mobile-hud #world-hud #player-status #player-hud-grip {
  inset:0;
  width:100%;
  height:100%;
  padding:0;
  pointer-events:none;
}
.mobile-hud #world-hud #player-status #player-hud-grip span {display:none}
.mobile-hud #world-hud #player-status #player-hud-grip:focus-visible {
  outline:1px solid #f3d68e;
  outline-offset:1px;
}
.mobile-hud #world-hud #player-status:has(#player-hud-grip) #open-status {
  justify-content:space-between;
  gap:4px;
  min-height:var(--mobile-hud-header-height);
  touch-action:none;
}
.mobile-hud #world-hud #player-status:has(#player-hud-grip) #hud-name {
  font:var(--mobile-hud-title-font);
}
.mobile-hud #world-hud #player-status:has(#player-hud-grip) .hud-level {
  order:1;
  gap:2px;
  white-space:nowrap;
}
.mobile-hud #world-hud #player-status:has(#player-hud-grip) :is(.hud-level small,#hud-level) {
  display:block;
  color:#ead8b1;
  font:var(--mobile-hud-level-font);
}
.mobile-hud #world-hud #player-status:has(#player-hud-grip) #player-vitals {gap:3px}
.mobile-hud #world-hud #player-status:has(#player-hud-grip) .vital {
  height:10px;
  padding:0 4px;
}
.mobile-hud #world-hud #player-status:has(#player-hud-grip) .vital-track {
  border-radius:2px;
  background:rgb(255 255 255 / .10);
}
.mobile-hud #world-hud #player-status .player-exp-row {
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:3px;
  margin-top:3px;
}
.mobile-hud #world-hud:not(.show-status) #player-status .player-exp-row {display:none}
.mobile-hud #world-hud #player-status:has(#player-hud-grip) #hud-exp:not([hidden]) {
  height:10px;
  margin:0;
  padding:0 4px;
  font:inherit;
}
.mobile-hud #world-hud #player-status:has(#player-hud-grip) #hud-exp > :is(b,.vital-track) {display:block}
.mobile-hud #world-hud #player-status:has(#player-hud-grip) #hud-exp .vital-track {background:rgb(255 255 255 / .19)}
.mobile-hud #world-hud #player-status:has(#player-hud-grip) #hud-exp .vital-track i {background:#9ba1ab}
.mobile-hud #world-hud #player-status #mobile-exp-lock:not([hidden]) {
  display:flex;
  align-items:center;
  justify-content:center;
  width:18px;
  height:10px;
  min-height:0;
  margin:0;
  padding:0;
  border:0;
  border-radius:2px;
  background:transparent;
  color:#fff;
  touch-action:none;
}
#mobile-exp-lock svg {
  display:block;
  flex:none;
  width:14px;
  height:14px;
  pointer-events:none;
}
.mobile-hud #world-hud #player-status #mobile-exp-lock[data-state="locked"] {color:#ffdc87}
#mobile-exp-lock:not([data-state="unlocked"]) .exp-shackle-open,
#mobile-exp-lock[data-state="unlocked"] .exp-shackle-locked {display:none}
#mobile-exp-lock[data-state="unknown"] svg {opacity:.7}
.mobile-hud #world-hud #player-status #mobile-exp-lock:disabled {opacity:.42}
.mobile-hud #world-hud #player-status #mobile-exp-options:not([hidden]) {
  position:absolute;
  z-index:6;
  inset:calc(100% + 4px) 0 auto auto;
  display:grid;
  grid-template-columns:repeat(2,minmax(62px,1fr));
  padding:2px;
  border-radius:4px;
  background:rgb(0 0 0 / .85);
}
.mobile-hud #world-hud #player-status #mobile-exp-options button {
  min-height:44px;
  padding:2px 4px;
  border:0;
  background:none;
  color:#fff;
  font:600 10px "Segoe UI",sans-serif;
}
.mobile-hud #world-hud .hud-status-stack #player-status:has(#mobile-exp-options:not([hidden])) {z-index:8}

.mobile-hud #world-hud .hud-status-stack #mobile-companion-huds:not([hidden]) {
  --mobile-summon-width:var(--player-hud-size);
  --mobile-party-min-width:var(--player-hud-size);
  --mobile-party-width:min(188px,calc(100vw - var(--player-hud-left) - var(--hud-right)));
  position:absolute;
  z-index:3;
  top:var(--mobile-companion-top,64px);
  left:0;
  width:max-content;
  display:grid;
  align-items:start;
  gap:6px;
  pointer-events:none;
}
#mobile-companion-huds .mobile-companion-slot:has(> section[hidden]) {display:none}
#mobile-companion-huds .mobile-companion-slot > section {
  position:relative;
  pointer-events:auto;
  translate:var(--companion-x,0px) var(--companion-y,0px);
}
.mobile-hud #world-hud #mobile-companion-huds #mobile-summon-hud {width:var(--mobile-summon-width,132px)}
.mobile-hud #world-hud #mobile-summon-hud .mobile-summon-card {position:relative}
.mobile-hud #world-hud .hud-status-stack #mobile-companion-huds:has(#mobile-summon-hud[data-expanded="true"]) {z-index:7}
.mobile-hud #world-hud #mobile-companion-huds .mobile-companion-slot > section,
.mobile-hud #world-hud #mobile-companion-huds button[data-hud-drag-control] {touch-action:none}
.mobile-hud #world-hud :is(#player-status,#mobile-companion-huds .mobile-companion-slot > section)[data-hud-dragging] {
  z-index:5;
  cursor:grabbing;
}
#mobile-companion-huds .mobile-companion-slot > section:focus-visible {
  outline:1px solid #f3d68e;
  outline-offset:2px;
}
@media (orientation:landscape) and (max-height:480px) {
  .mobile-hud #world-hud .hud-status-stack #mobile-companion-huds:not([hidden]) {
    grid-auto-flow:column;
    --mobile-party-width:min(188px,calc(100vw - var(--player-hud-left) - var(--player-hud-size) - var(--hud-right) - 6px));
  }
}
@media (orientation:landscape) and (max-width:650px) {
  .mobile-hud #world-hud .hud-status-stack #mobile-companion-huds:not([hidden]) {
    --mobile-party-width:min(144px,calc(100vw - var(--player-hud-left) - var(--player-hud-size) - var(--hud-right) - 6px));
  }
}
