html.prism-phone.mobile-hud #world-hud {
  --prism-safe-left:env(safe-area-inset-left,0px);
  --prism-safe-right:env(safe-area-inset-right,0px);
  --prism-safe-top:env(safe-area-inset-top,0px);
  --prism-safe-bottom:env(safe-area-inset-bottom,0px);
  --obsidian-ink:#f3efe3;
  --obsidian-subtle:#d5dbd5;
  --obsidian-accent:#f0d499;
  --obsidian-surface:#192d35dc;
  --obsidian-grain:linear-gradient(transparent,transparent);
  --obsidian-wash:linear-gradient(115deg,#64818525,transparent 60%);
  --obsidian-edge:#788988;
  --obsidian-seam:#b3bdad70;
}
html.prism-phone #world-hud [data-prism-held] {cursor:grabbing;user-select:none;-webkit-touch-callout:none}
/* Keep the fullscreen control clear of the joystick, pickup button and chat. */
@media (orientation:landscape) {
  html.prism-phone.mobile-hud main.in-world:not(.ui-open) #world-hud .mobile-fullscreen:has(button:not([hidden])) {
    display:block;position:absolute;z-index:2;
    top:max(2px,env(safe-area-inset-top))!important;left:calc(50% - 78px)!important;
    right:auto!important;bottom:auto!important;
  }
  html.prism-phone.mobile-hud #world-hud .mobile-fullscreen button {
    width:38px;height:34px;color:#e9d6ab;background:#243032e8;border:1px solid #a48b5d;border-radius:5px;
  }
}
html.prism-phone.mobile-hud #world-hud :is(#player-status,#mobile-target-hud,#mobile-summon-hud,#mobile-party-hud,
  #obsidian-effects,.mobile-nav-rail,#hud-radar,.hunt-shortcut,#movement-stick,.mobile-chat-preview,.mobile-chat-launch,
  #mobile-skill-dock,#prism-combat-group) {touch-action:none;-webkit-touch-callout:none}
.prism-placement-guide {position:fixed;z-index:900;pointer-events:none;box-sizing:border-box;border:1px solid #eacb8e99}
html.prism-phone.mobile-hud #mobile-party-hud :is(.mobile-party-heading,.mobile-party-member,button) {
  touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;
}
html.prism-phone.mobile-hud #mobile-party-hud img {-webkit-user-drag:none}
html.prism-phone #prism-layout-status {display:block;font-size:.8rem;color:#efdaac}
