#mobile-party-hud {display:none}
#mobile-party-hud[hidden],#mobile-party-hud [hidden] {display:none!important}
.mobile-hud #world-hud:has(#mobile-party-hud:not([hidden])) .party-hud {display:none!important}
.mobile-hud #world-hud:has(#mobile-party-hud:not([hidden])) .party-hud {display:none!important}
.mobile-hud #world-hud #mobile-party-hud {
  --party-ink:#fffaf0;
  --party-muted:#d4cebe;
  --party-gold:#e8d1a0;
  position:relative;
  display:block;
  width:var(--mobile-party-width,188px);
  min-width:0;
  margin:0;
  padding:0;
  border:0;
  border-radius:5px;
  background:var(--mobile-hud-panel,rgb(0 0 0 / .64));
  box-shadow:none;
  color:var(--party-ink);
  font:11px/1.2 "Segoe UI",Arial,sans-serif;
  pointer-events:auto;
  color-scheme:dark;
}
.mobile-hud #world-hud #mobile-party-hud[data-state="minimized"] {width:var(--mobile-party-min-width,122px)}
.mobile-hud #world-hud #mobile-party-hud *,
.mobile-hud #world-hud #mobile-party-hud *::before {box-sizing:border-box}
.mobile-hud #world-hud #mobile-party-hud button {
  min-width:0;
  min-height:44px;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:none;
  box-shadow:none;
  color:inherit;
  font:inherit;
  text-shadow:none;
  touch-action:manipulation;
}
.mobile-hud #world-hud #mobile-party-hud button:focus-visible,
.mobile-hud #world-hud #mobile-party-hud :is(input,select):focus-visible {outline:2px solid var(--party-gold);outline-offset:-2px}
.mobile-hud #world-hud #mobile-party-hud button:disabled,
.mobile-hud #world-hud #mobile-party-hud button[aria-disabled="true"] {color:#a29c92}
.mobile-hud #world-hud #mobile-party-hud button:active:enabled {background:rgb(255 255 255 / .08)}
.mobile-hud #world-hud #mobile-party-hud .mobile-party-heading {
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto 28px;
  grid-template-rows:var(--mobile-hud-header-height,16px);
  align-items:center;
  padding:var(--mobile-hud-header-inset,4px) 5px;
}
.mobile-hud #world-hud #mobile-party-hud .mobile-party-title {
  min-width:0;
  overflow:hidden;
  font:var(--mobile-hud-title-font);
  text-overflow:ellipsis;
  white-space:nowrap;
}
.mobile-hud #world-hud #mobile-party-hud :is(.mobile-party-toggle,.mobile-party-actions) {
  display:grid;
  place-items:center;
  height:20px;
  min-height:20px;
  padding:0 3px;
  color:var(--party-gold);
}
.mobile-hud #world-hud #mobile-party-hud .mobile-party-toggle {min-width:44px;font-size:10px}
.mobile-hud #world-hud #mobile-party-hud .mobile-party-actions {width:28px}
.mobile-hud #world-hud #mobile-party-hud .mobile-party-icon {
  display:block;
  width:var(--mobile-hud-action-icon,16px);
  height:var(--mobile-hud-action-icon,16px);
}
.mobile-hud #world-hud #mobile-party-hud[data-state="minimized"] .mobile-party-heading {grid-template-columns:minmax(0,1fr) auto}
.mobile-hud #world-hud #mobile-party-hud .mobile-party-roster {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1px;
  padding-block-end:5px;
  overflow:visible;
}
.mobile-hud #world-hud #mobile-party-hud .mobile-party-member {
  display:grid;
  align-content:start;
  gap:1.5px;
  width:100%;
  min-width:0;
  min-height:32px;
  padding:3px 4px 2px;
  text-align:left;
}
.mobile-hud #world-hud #mobile-party-hud .mobile-party-member:nth-child(n+3) {box-shadow:inset 0 1px rgb(255 255 255 / .09)}
.mobile-hud #world-hud #mobile-party-hud .mobile-party-member[aria-pressed="true"] {background:rgb(255 255 255 / .08)}
.mobile-hud #world-hud #mobile-party-hud .mobile-party-member-heading {display:flex;align-items:center;gap:2px;min-width:0;white-space:nowrap}
.mobile-hud #world-hud #mobile-party-hud .mobile-party-name {min-width:0;overflow:hidden;text-overflow:ellipsis;font-weight:500}
.mobile-hud #world-hud #mobile-party-hud .mobile-party-level {flex:none;color:var(--party-muted);font-size:10px;font-variant-numeric:tabular-nums}
.mobile-hud #world-hud #mobile-party-hud .mobile-party-crown {flex:none;width:10px;height:10px;object-fit:contain}
.mobile-hud #world-hud #mobile-party-hud .mobile-party-member[data-low] .mobile-party-name {color:#ffb1a6}
.mobile-hud #world-hud #mobile-party-hud .mobile-party-gauge {position:relative;display:block;overflow:hidden;height:3px;border-radius:2px;background:rgb(255 255 255 / .18)}
.mobile-hud #world-hud #mobile-party-hud .mobile-party-gauge i {position:absolute;inset:0;transform-origin:left;border-radius:inherit}
.mobile-hud #world-hud #mobile-party-hud .mobile-party-cp i {background:var(--hud-cp,#cf8913)}
.mobile-hud #world-hud #mobile-party-hud .mobile-party-hp i {background:var(--hud-hp,#d82730)}
.mobile-hud #world-hud #mobile-party-hud .mobile-party-menu {padding:0 4px 6px;background:rgb(18 18 16 / .76);border-radius:0 0 5px 5px}
.mobile-hud #world-hud #mobile-party-hud :is(.mobile-party-command-grid,.mobile-party-menu-buttons) {display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.mobile-hud #world-hud #mobile-party-hud .mobile-party-command-grid button {
  display:grid;place-content:center;justify-items:center;gap:2px;padding:2px;font-size:11px;white-space:normal
}
.mobile-hud #world-hud #mobile-party-hud .mobile-party-caption {display:block;margin:0;padding:3px;font-size:11px;line-height:1.3;overflow-wrap:anywhere}
.mobile-hud #world-hud #mobile-party-hud .mobile-party-leader-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible}
.mobile-hud #world-hud #mobile-party-hud .mobile-party-leader-grid button {min-width:0;padding-inline:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mobile-hud #world-hud #mobile-party-hud .mobile-party-form {display:grid;margin:0;gap:3px}
.mobile-hud #world-hud #mobile-party-hud :is(input,select) {width:100%;min-width:0;min-height:44px;margin:0;padding:0 4px;border:1px solid rgb(255 255 255 / .15);border-radius:3px;background:rgb(0 0 0 / .32);color:var(--party-ink);font:16px "Segoe UI",Arial,sans-serif;touch-action:manipulation}
.mobile-hud #world-hud #mobile-party-hud input::placeholder {font-size:11px;color:var(--party-muted);opacity:1}
.mobile-hud #world-hud #mobile-party-hud select {font-size:11px}
.mobile-hud #world-hud #mobile-party-hud [data-party-action="leave"],
.mobile-hud #world-hud #mobile-party-hud [data-danger] {color:#ffaea2}
.mobile-hud #world-hud #mobile-party-hud .mobile-party-notice {margin:0;padding:3px;font-size:11px;line-height:1.3;overflow-wrap:anywhere;color:var(--party-gold)}
.mobile-hud #world-hud #mobile-party-hud .mobile-party-notice:empty {display:none}
