.prism-player-portrait,.prism-member-face,.prism-noble,.prism-target-level {display:none}
html.prism-phone.mobile-hud #world-hud {
  --pv-player:165px;--pv-party:135px;--pv-mount:40px;--pv-header:16px;--pv-rail:11px;--pv-gap:2px;--pv-top:18px;
  --pv-left:9px;--pv-inset:8px;--pv-party-top:35px;--pv-party-h:25px;--pv-row-h:27px;--pv-head-gap:4px;
  --pv-card:linear-gradient(106deg,#15252ef5,#20323bd1 58%,#1f323a8a 88%,#2c3c414a);
  --pv-cp:linear-gradient(90deg,#a86a31,#d79845 55%,#f2cd85);
  --pv-hp:linear-gradient(90deg,#b42b45,#e55060 62%,#fe8780);
  --pv-mp:linear-gradient(90deg,#2866a2,#428acf 56%,#8fcded);
  --pv-xp:linear-gradient(90deg,#9daaaa,#e7eae4);
  --pv-target:163px;--pv-name:15px;--pv-value:9.5px;
  --pv-heading:linear-gradient(105deg,#172931f5,#172831dd 61%,#28383db0);
  --pv-edge:linear-gradient(90deg,#d6c6a38a,#b5aca373 54%,#94a0a23d);
  --pv-track:linear-gradient(#36454ad4,#172830ef 45%,#172930ec);
  --pv-sheen:linear-gradient(#fff7e52b 0 13%,#fff4de05 18%,transparent 46%,#1e2b3b1b);
}
@media(max-width:710px){
  html.prism-phone.mobile-hud #world-hud {
    --pv-player:133px;--pv-party:112px;--pv-mount:31px;--pv-header:14px;--pv-rail:10px;--pv-gap:1px;--pv-top:16px;
    --pv-left:6px;--pv-inset:5px;--pv-party-top:34px;--pv-party-h:22px;--pv-row-h:26px;--pv-head-gap:3px;
    --pv-target:128px;--pv-name:12.5px;--pv-value:9px;
  }
}
html.prism-phone.obsidian-phone.mobile-hud #world-hud .hud-status-stack:has(#player-hud-grip) {
  --player-hud-left:max(env(safe-area-inset-left,0px),var(--pv-left));
  --player-hud-size:var(--pv-player);top:max(env(safe-area-inset-top,0px),var(--pv-inset));left:var(--player-hud-left);
}
html.prism-phone.obsidian-phone.mobile-hud #world-hud {
  & .hud-status-stack #player-status:has(#player-hud-grip) {
    box-sizing:border-box;width:var(--pv-player);height:calc(var(--pv-top) + (var(--pv-rail) + var(--pv-gap)) * 3 + var(--pv-gap) + 10px);
    margin:0;padding:0;background:none;border:0;border-radius:0;box-shadow:none;overflow:visible;
    &::before,&::after {content:none}
    & .prism-player-portrait {
      position:absolute;z-index:2;display:block;pointer-events:none;top:1px;left:0;width:var(--pv-mount);
      height:calc(var(--pv-top) + var(--pv-rail)*3 + var(--pv-gap)*2);
      clip-path:polygon(15% 0,100% 0,92% 28%,75% 89%,51% 100%,4% 88%,0 84%,0 13%);
      background:linear-gradient(145deg,#e6dbb9,#657a7e 25%,#aebbb2 52%,#dac79f 75%,#6b7c7f);
    }
    & .prism-player-portrait .lobby-portrait {
      position:absolute;inset:1px;width:auto;height:auto;border:0;border-radius:0;clip-path:inherit;
      background:linear-gradient(125deg,#525f61,#344951 36%,#1e343d 57%,#5b665f 58%,#2a3c40 82%);font-size:16px;
    }
    & .prism-player-portrait::after {content:"";position:absolute;inset:0;background:linear-gradient(115deg,transparent 65%,#c6c8b891 66%,#43555c6b 69%,transparent 71%)}
    & header {
      position:absolute;display:block;top:0;left:calc(var(--pv-mount) - 3px);right:0;height:var(--pv-header);
      margin:0;padding:0;border:0;background:var(--pv-edge) top/100% 1px no-repeat,var(--pv-heading);
      clip-path:polygon(4px 0,100% 0,calc(100% - 7px) 100%,0 100%);
    }
    & #open-status {display:flex;justify-content:space-between;align-items:center;min-width:0;width:100%;height:100%;min-height:0;padding:0 7px 1px 5px;gap:3px;border:0;background:none}
    & #hud-name {overflow:hidden;min-width:0;white-space:nowrap;text-overflow:ellipsis;color:#fff6df;font:400 var(--pv-name)/1 Georgia,serif}
    & .hud-level {display:flex;align-items:baseline;gap:2px;flex:none}
    & .hud-level :is(small,#hud-level) {display:inline;font:500 8.4px/1 "Segoe UI",sans-serif;color:#e4ddc7}
    & #player-vitals {position:absolute;inset:var(--pv-top) 0 auto;display:grid;gap:var(--pv-gap);margin:0;padding:0}
    & .vital {--step:0px;position:relative;isolation:isolate;display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:2px;
      margin:0 var(--step) 0 calc(var(--pv-mount) - 2px - var(--step));padding:0 5px 0 1px;height:var(--pv-rail);overflow:visible;border:0;border-radius:0;background:none}
    & .vital-cp {--paint:var(--pv-cp)} & .vital-hp {--paint:var(--pv-hp);--step:3px} & .vital-mp {--paint:var(--pv-mp);--step:6px}
    & .vital b,& .vital-value {position:relative;grid-row:1;z-index:1;text-shadow:0 .65px 1px #09141de8;white-space:nowrap}
    & .vital b {grid-column:1;padding-left:3px;color:#fff8e7;font:650 8px/1 "Segoe UI",sans-serif}
    & .vital-value {grid-column:2;justify-self:center;margin:0 3px 0 0;color:white;font:500 var(--pv-value)/1 "Segoe UI",sans-serif;font-variant-numeric:tabular-nums}
    & .vital-track {position:absolute;inset:0 2px 0 -5px;display:block;width:auto;height:auto;transform:skewX(-29deg);
      background:var(--pv-track);overflow:hidden;border-radius:0;box-shadow:0 -1px 0 #c0c2b17a,0 1px 0 #121f27bb}
    & .vital .vital-track i {clip-path:none;border-radius:0;background:var(--pv-sheen),var(--paint)}
    & .player-exp-row {position:absolute;bottom:0;left:1px;right:6px;height:10px;margin:0;display:grid;grid-template-columns:minmax(0,1fr) 11px;align-items:center;gap:3px;
      background:linear-gradient(90deg,#15272bba,#16262ddd 55%,#1b2a31ef)}
    & #hud-exp:not([hidden]) {display:grid;align-items:center;height:10px;padding:0;margin:0;grid-template-columns:19px minmax(0,1fr) auto;gap:3px}
    & #hud-exp b {font-size:7.5px}
    & #hud-exp .vital-track {position:relative;inset:auto;grid-column:2;grid-row:1;width:100%;height:3px;box-shadow:none;background:#617075ac}
    & #hud-exp .vital-track i {background:var(--pv-xp)}
    & #hud-exp .vital-value {grid-column:3;font-size:8.5px;margin:0}
    & #mobile-exp-lock:not([hidden]) {width:11px;height:10px;min-height:0;overflow:visible;padding:0;color:#e8dbc0}
    & #mobile-exp-lock svg {width:11px;height:11px;stroke-width:2;flex:none}
    & #mobile-exp-lock[data-state="unknown"] svg {opacity:.82}
    & #mobile-exp-lock[data-state="unknown"] :is(.exp-shackle-locked,.exp-shackle-open),
    & #mobile-exp-lock:not([data-state="unknown"]) .prism-exp-unknown {display:none}
    & #mobile-exp-lock[aria-busy="true"] {opacity:.77}
    & #mobile-exp-lock::before {content:"";position:absolute;inset:-5px -5px}
    & #mobile-exp-lock {position:relative}
    & .prism-exp-pulse {
      position:absolute;top:50%;left:50%;translate:-50% -50%;width:18px;height:18px;
      pointer-events:none;opacity:0;color:#f4e4b7;border:1px solid currentColor;border-radius:50%;
      background:repeating-conic-gradient(from 21deg,currentColor 0 7deg,transparent 7deg 60deg);
      mask-image:radial-gradient(circle,transparent 0 45%,#000 48%);
    }
  }
}
/* The companion positions must resolve even on WebKit versions without CSS nesting. */
html.prism-phone.obsidian-phone.mobile-hud #world-hud .hud-status-stack #mobile-companion-huds:not([hidden]) {
  display:block;position:absolute;inset:0 auto auto 0;pointer-events:none;width:var(--pv-player);height:0
}
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-companion-huds .mobile-companion-slot {
  position:absolute;left:0;width:var(--pv-player);top:calc(var(--pv-top) + (var(--pv-rail) + var(--pv-gap))*3 + var(--pv-gap) + 14px)
}
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-companion-huds .mobile-companion-slot:has(#mobile-party-hud) {
  left:calc(100% + 5px);top:var(--pv-party-top);width:var(--pv-party)
}
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-companion-huds .mobile-companion-slot > section {translate:none}
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-companion-huds #mobile-summon-hud {width:100%}
html.prism-phone.obsidian-phone.mobile-hud #world-hud {
  & #mobile-summon-hud .mobile-summon-card {min-height:32px;padding:3px 4px 4px 32px;background:transparent}
  & #mobile-summon-hud .mobile-summon-card::before {
    inset:0;transform:none;width:auto;height:auto;border:0;background:linear-gradient(90deg,#c3c5b77a,transparent) 4px 0/68% 1px no-repeat,var(--pv-card);
    clip-path:polygon(4px 0,100% 0,100% calc(100% - 5px),calc(100% - 5px) 100%,0 100%,0 4px);
  }
  & #mobile-summon-hud .mobile-summon-heading {display:flex;height:14px;align-items:center;gap:2px}
  & #mobile-summon-hud .mobile-summon-heading :is(.mobile-summon-select,.mobile-summon-actions) {height:16px;min-height:16px;padding:0}
  & #mobile-summon-hud .mobile-summon-select {flex:1;min-width:0;align-items:baseline;gap:3px;overflow:visible}
  & #mobile-summon-hud .mobile-summon-name {font:550 10.5px/1.12 "Segoe UI",sans-serif;color:#fff2d7}
  & #mobile-summon-hud .mobile-summon-level {font:450 9px/1 "Segoe UI",sans-serif;color:#ded8be}
  & #mobile-summon-hud .mobile-summon-actions {width:21px;min-width:21px;color:#c8c8ae}
  & #mobile-summon-hud .mobile-summon-actions svg {width:12px;height:12px}
  & #mobile-summon-hud .obsidian-summon-portrait:not([hidden]) {position:absolute;left:5px;top:4px;width:23px;height:24px;object-fit:cover;border-radius:0;clip-path:polygon(3px 0,100% 0,100% 75%,72% 100%,0 100%,0 4px)}
  & #mobile-summon-hud .mobile-summon-vitals {padding:0;margin:1px 16px 0 1px;gap:2px}
  & #mobile-summon-hud .mobile-summon-vital {height:3px}
  & #mobile-summon-hud .mobile-summon-vital progress {height:3px;border-radius:0;transform:skewX(-26deg)}
  & #mobile-summon-hud .mobile-summon-hp {--summon-gauge:var(--pv-hp)} & #mobile-summon-hud .mobile-summon-mp {--summon-gauge:var(--pv-mp)}
  & #mobile-summon-hud .mobile-summon-menu {margin:4px 0 0 -29px;width:calc(100% + 29px);background:#172a32f2;border:1px solid #83939270;border-radius:0}
  & #mobile-summon-hud .mobile-summon-commands button {min-height:29px;grid-auto-flow:column;align-content:center;align-items:center;justify-content:center;font-size:9px;gap:3px}
  & #mobile-summon-hud .mobile-summon-commands img {width:14px;height:14px}
}
html.prism-phone.mobile-hud #world-hud #prism-exp-feedback {
  position:absolute;z-index:7;top:max(18%,52px);left:50%;transform:translateX(-50%);
  max-width:min(66vw,260px);padding:5px 12px;box-sizing:border-box;text-align:center;pointer-events:none;
  color:#ffedc3;background:linear-gradient(100deg,#192b33eb,#283d43f5 55%,#192b33e8);
  border-block:1px solid #c2b18b8c;clip-path:polygon(5px 0,100% 0,calc(100% - 5px) 100%,0 100%);
  font:550 12px/1.2 "Segoe UI",sans-serif;
}
html.prism-phone.mobile-hud #world-hud #prism-exp-feedback:empty {padding:0;border:0;clip-path:none}
html.prism-phone.mobile-hud #world-hud #prism-exp-feedback[data-tone="error"] {color:#ffcebd}
/* The header and the six member buttons share one ribbon. Keep the clipped paint
   on its own layer so the controls and their touch areas stay rectangular. */
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud {
  --party-options-width:26px;
  --party-symbol-size:22px;
  --party-title-size:12px;
  --party-count-size:10px;
  --party-name-size:10.5px;
  --party-level-size:8.5px;
  --party-edge:4px;
  --party-gold:#e3c797;
  --party-ink:#fff5de;
  --party-muted:#e0d6be;
  width:100%;margin:0;padding:0;border:0;border-radius:0;background:none;
}
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud::before {
  inset:0;border:0;transform:none;pointer-events:none;
  clip-path:polygon(5px 0,100% 0,100% calc(100% - 6px),calc(100% - 6px) 100%,0 100%,0 5px);
  background:linear-gradient(106deg,#13262eea,#182b34d4 59%,#25383db8);
}
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud[data-state="minimized"] {
  width:calc(100% - var(--party-options-width));
}
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud[data-state="minimized"]::before {
  inset:2px 0 1px;
  clip-path:polygon(5px 0,100% 0,calc(100% - 6px) 100%,0 100%,0 5px);
  background:linear-gradient(105deg,#20333cf5,#152831f0 62%,#26383de0);
}
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud .mobile-party-heading,
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud:not([data-state="minimized"]) .mobile-party-heading {
  height:var(--pv-party-h,25px);padding:0;
  grid-template-columns:minmax(0,1fr) var(--party-options-width);grid-template-rows:100%;
  background:linear-gradient(110deg,#2e424b9c,#30464c1f);
}
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud[data-state="minimized"] .mobile-party-heading {
  grid-template-columns:minmax(0,1fr);background:none;
}
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud .mobile-party-heading::before,
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud .mobile-party-heading::after {
  content:"";position:absolute;pointer-events:none;height:1px;
}
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud .mobile-party-heading::before {
  left:7px;right:1px;top:2px;
  background:linear-gradient(90deg,#c9c8afa6,#aab9b078 50%,#9aaba238);
}
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud[data-state="expanded"] .mobile-party-heading::after {
  left:5px;right:4px;bottom:0;background:linear-gradient(90deg,#b7bcab63,#b7bcab19);
}
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud .mobile-party-title {
  display:flex;align-items:center;gap:5px;pointer-events:none;
  color:#fff3d9;font:550 var(--party-title-size)/1 "Segoe UI",Arial,sans-serif;
}
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud .mobile-party-title::before {content:none}
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud .mobile-party-count {color:#e6d9b9;font:500 var(--party-count-size)/1 "Segoe UI",Arial,sans-serif;font-variant-numeric:tabular-nums}
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud .mobile-party-symbol {
  position:relative;isolation:isolate;display:grid;place-items:center;flex:none;
  width:var(--party-symbol-size);height:var(--party-symbol-size);color:#f3e2ae;
  clip-path:polygon(22% 0,100% 0,100% 42%,82% 81%,49% 100%,0 80%,0 23%);
  background:linear-gradient(135deg,#ced1be,#7c8e91 38%,#cabe9b 67%,#899d9c);
}
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud .mobile-party-symbol::before {
  content:"";position:absolute;z-index:-1;inset:1px;clip-path:inherit;
  background:linear-gradient(130deg,#465961,#233943 55%,#34484e);
}
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud .mobile-party-symbol svg {display:block;width:15px;height:15px}
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud:not([data-state="minimized"]) .mobile-party-toggle,
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud[data-state="minimized"] .mobile-party-toggle {
  display:flex;align-items:center;justify-content:flex-end;position:absolute;
  inset:0 var(--party-options-width) 0 0;width:auto;height:100%;min-height:0;min-width:0;
  padding:0 9px 0 0;color:#e5e6d7;font-size:0;
}
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud[data-state="minimized"] .mobile-party-toggle {right:0}
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud .mobile-party-toggle::after,
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud:not([data-state="minimized"]) .mobile-party-toggle::after {
  content:"";width:6px;height:6px;border-top:1.5px solid;border-left:1.5px solid;transform:translateY(1px) rotate(45deg);
}
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud[data-state="minimized"] .mobile-party-toggle::after {transform:translateY(-1px) rotate(225deg)}
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud .mobile-party-actions {
  position:relative;grid-column:2;width:var(--party-options-width);min-height:0;height:100%;
  padding:0 4px 0 0;justify-self:end;color:#dfd5b9;
}
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud .mobile-party-actions::before {
  content:"";position:absolute;left:0;top:28%;bottom:28%;width:1px;transform:skewX(-22deg);background:#a1b0a862;
}
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud .mobile-party-actions svg {width:14px;height:14px}
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud .mobile-party-roster {
  display:grid;grid-template-columns:minmax(0,1fr);grid-auto-rows:var(--pv-row-h,27px);
  gap:1px;padding:var(--pv-head-gap,4px) var(--party-edge) var(--party-edge);
}
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud .mobile-party-member,
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud .mobile-party-member:nth-child(n+3) {
  position:relative;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) 3px 5px;
  min-width:0;min-height:0;height:var(--pv-row-h,27px);margin:0;padding:1px var(--party-edge) 2px 0;gap:1px;
  align-items:stretch;align-content:stretch;box-shadow:none;background:transparent;
}
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud .mobile-party-member[aria-pressed="true"] {
  background:#bcb99820;box-shadow:inset 0 0 0 1px #e5ddbead;
}
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud .mobile-party-member:focus-visible {outline:1px solid #ead6a5;outline-offset:-1px}
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud .mobile-party-member-heading {display:flex;align-items:center;min-width:0;gap:var(--party-edge)}
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud .prism-member-face {
  position:relative;inset:auto;flex:none;display:block;width:15px;height:14px;border:0;border-radius:0;
  clip-path:polygon(21% 0,100% 0,100% 42%,83% 85%,46% 100%,0 80%,0 24%);
  background:linear-gradient(125deg,#d4cbbb,#879699 45%,#c8b994 74%,#737e80);
}
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud .prism-member-face::before {
  content:"";display:block;position:absolute;inset:1px;width:auto;height:auto;clip-path:inherit;
}
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud .prism-member-face:not([data-portrait])::before {
  background:#263c43 url("prism-ally.svg") center/contain no-repeat;
}
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud .mobile-party-crown {position:absolute;z-index:1;top:1px;left:0;width:8px;height:8px;pointer-events:none}
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud .mobile-party-name {flex:1;color:#f4f2e8;font:400 var(--party-name-size)/1 "Segoe UI",Arial,sans-serif}
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud .mobile-party-member[data-low] .mobile-party-name {color:#ffb1a6}
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud .mobile-party-member[aria-pressed="true"] .mobile-party-name {color:#ffebbf}
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud .mobile-party-level {color:#e0d6b9;font:400 var(--party-level-size)/1 "Segoe UI",Arial,sans-serif;font-variant-numeric:tabular-nums}
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud .mobile-party-level:not(:empty)::before {content:"("}
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud .mobile-party-level:not(:empty)::after {content:")"}
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud .prism-noble:not([hidden]) {display:block;flex:none;width:10px;height:10px;margin-right:calc(2px - var(--party-edge));object-fit:contain}
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud .mobile-party-gauge {
  height:100%;margin:0 1px 0 0;transform:skewX(-26deg);border:0;border-radius:0;
  background:linear-gradient(180deg,#07161cf2,#33434a);
}
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud .mobile-party-cp i {background:var(--pv-cp)}
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud .mobile-party-hp i {background:var(--pv-hp)}
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud .mobile-party-menu {padding:3px 4px 4px;background:#172a32ef;border:1px solid #83939270;border-radius:0}
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud .mobile-party-command-grid button,
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud .mobile-party-leader-grid button {min-height:32px}
html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud .mobile-party-leader-grid button {font-size:9px}
@media(max-width:710px) {
  html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud {
    --party-options-width:24px;--party-symbol-size:19px;--party-title-size:11px;--party-count-size:9px;
    --party-name-size:9.5px;--party-level-size:8px;--party-edge:3px;
  }
  html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-party-hud .mobile-party-crown {width:7px;height:7px}
}

html.prism-phone.obsidian-phone.mobile-hud #world-hud {
  & > .mobile-target-safe-area {top:max(var(--pv-inset),env(safe-area-inset-top,0px))}
  & #hud-guide {display:none!important}
  & #obsidian-effects {
    --ob-emblem:19px;min-height:24px;padding:2px 2px 2px 4px;gap:1px;
    &::before {height:100%;inset:0;transform:none;border:0;border-left:1px solid #c0b59677;background:var(--pv-card);clip-path:polygon(4px 0,100% 0,100% calc(100% - 4px),calc(100% - 4px) 100%,0 100%,0 4px)}
    & .ob-effect-groups {gap:2px}
    & button,& .ob-effect-chip {width:var(--ob-emblem);height:var(--ob-emblem);min-height:var(--ob-emblem)}
    & .ob-effect-emblem {border:1px solid #a3aa9c62;border-radius:2px}
    & .ob-effect-emblem b {min-width:8px;padding:0 1px;font-size:9px;border-radius:1px 0 0}
    & .ob-effect-expand {width:13px;color:#e5d4ad}
    & .ob-count-only {width:24px}
  }
  & #mobile-target-hud,& #mobile-target-hud:has(#mobile-target-primary[data-content="actions"]) {
    --pt-scale:1.15;
    --pt-heading:calc(20px * var(--pt-scale));--pt-rail:calc(11px * var(--pt-scale));
    --pt-button:calc(37px * var(--pt-scale));--pt-clear:calc(18px * var(--pt-scale));
    --pt-gap:calc(4px * var(--pt-scale));--pt-seal:calc(var(--pt-heading) + 2px);
    --pt-rail-top:calc(var(--pt-heading) + 1px * var(--pt-scale));
    --mobile-target-panel-width:calc(var(--pv-target) * var(--pt-scale));
    grid-template-columns:var(--mobile-target-panel-width) var(--pt-clear);
    width:calc(var(--mobile-target-panel-width) + var(--pt-gap) + var(--pt-clear));gap:var(--pt-gap);
    --mobile-target-gold:#e4cb9d;--mobile-target-ink:#fff6df;--mobile-target-quiet:#d4c3a5;
    &[data-prism-target="ally"] {--prism-target-art:url("prism-ally.svg")}
    & .mobile-target-panel {
      height:calc(var(--pt-rail-top) + var(--pt-rail));border:0;background:transparent;
      &::before,&::after {content:"";position:absolute;z-index:1;inset:0 auto auto 0;width:var(--pt-seal);height:var(--pt-heading);border:0;
        clip-path:polygon(50% 0,94% 16%,100% 31%,90% 71%,50% 100%,10% 72%,0 32%,6% 16%);pointer-events:none;
        background:linear-gradient(135deg,#ecdfba,#899a9f 27%,#d6cba6 43%,#6c8186 75%,#dac395)}
      &::after {z-index:2;left:1px;top:1px;width:calc(var(--pt-seal) - 2px);height:calc(var(--pt-heading) - 2px);
        background:var(--prism-target-art,url("prism-foe.svg")) center/94% 94% no-repeat,linear-gradient(128deg,#536468,#213743 48%,#33434b 49%,#25353b)}
    }
    & .mobile-target-heading,& .mobile-target-panel:has(.mobile-target-vitals:not([hidden]),.mobile-target-loot:not([hidden])) .mobile-target-heading {height:var(--pt-heading);align-items:center}
    & #mobile-target-grip {
      position:absolute;inset:0 0 auto calc(var(--pt-seal) - 5px * var(--pt-scale));height:var(--pt-heading);min-height:0;gap:calc(3px * var(--pt-scale));
      padding:0 calc(8px * var(--pt-scale)) 0 calc(6px * var(--pt-scale));display:flex;align-items:center;justify-content:space-between;border:0;border-radius:0;
      background:var(--pv-edge) top/100% 1px no-repeat,var(--pv-heading);clip-path:polygon(0 0,100% 0,calc(100% - 7px) 100%,0 100%);
    }
    & [data-target-name] {min-width:0;font:550 calc(11.5px * var(--pt-scale))/1.1 "Segoe UI",sans-serif;color:#fff6df}
    & .prism-target-level:not(:empty) {display:block;flex:none;font:450 calc(8px * var(--pt-scale))/1 "Segoe UI",sans-serif;color:#e4ddc7}
    & #mobile-target-primary,& #mobile-target-primary[data-content="actions"] {
      position:absolute;z-index:1;inset:var(--pt-rail-top) calc(4px * var(--pt-scale)) auto auto;min-width:0;width:var(--pt-button);min-height:0;height:var(--pt-rail);
      padding:0 2px;isolation:isolate;border-radius:0;background:none;color:#fff1cf;font:550 calc(8px * var(--pt-scale))/1 "Segoe UI",sans-serif;
      &::before {content:"";position:absolute;z-index:-1;inset:0;transform:skewX(-26deg);background:linear-gradient(135deg,#376251,#1a3b39);border-block:1px solid #acb69c8c}
      &::after {content:"";position:absolute;inset:-1px -2px -10px}
    }
    & .mobile-target-vitals {
      position:absolute;inset:var(--pt-rail-top) calc(var(--pt-button) + 8px * var(--pt-scale)) auto calc(var(--pt-seal) - 3px * var(--pt-scale));
      display:grid;grid-template-columns:1fr;grid-template-rows:var(--pt-rail);height:var(--pt-rail);gap:0;margin:0;padding:0;align-items:center;
      & progress {grid-area:1/1;height:100%;width:100%;margin:0;border:0;border-radius:0;background:var(--pv-track);transform:skewX(-28deg);box-shadow:0 -1px #bcc5ad66}
      & progress::-webkit-progress-bar {background:var(--pv-track);border-radius:0}
      & progress::-webkit-progress-value {border-radius:0;background:var(--pv-sheen),var(--pv-hp)}
      & progress::-moz-progress-bar {border-radius:0;background:var(--pv-sheen),var(--pv-hp)}
      & output {position:relative;grid-area:1/1;text-align:center;color:#fff;font:550 calc(9px * var(--pt-scale))/1 "Segoe UI",sans-serif}
    }
    & .mobile-target-panel:has(#mobile-target-primary[hidden]) .mobile-target-vitals {right:calc(4px * var(--pt-scale))}
    & .mobile-target-loot {position:absolute;inset:var(--pt-rail-top) calc(4px * var(--pt-scale)) auto calc(var(--pt-seal) - 3px * var(--pt-scale));height:var(--pt-rail);margin:0;padding:0 3px;overflow:hidden;background:#253238c9;font:500 calc(9px * var(--pt-scale))/1.1 "Segoe UI",sans-serif}
    & #mobile-target-clear {width:var(--pt-clear);height:var(--pt-clear);min-height:0;min-width:0;padding:0;color:#ffe4a5}
    & #mobile-target-clear::before {inset:0;width:auto;height:auto;transform:none;border:0;border-block:1px solid #d5aa7cc9;border-radius:0;
      clip-path:polygon(24% 0,100% 0,100% 76%,76% 100%,0 100%,0 24%);background:linear-gradient(150deg,#a06656,#60363d 60%,#663e3b)}
    & #mobile-target-clear::after {content:"";position:absolute;inset:-7px -6px -7px -2px}
    & #mobile-target-clear>.mobile-target-icon {width:calc(10px * var(--pt-scale));height:calc(10px * var(--pt-scale))}
    & .mobile-target-actions {background:#172a32f3;border:1px solid #8c958368;border-radius:0}
  }
}
@media(max-width:710px){
  html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-target-hud,
  html.prism-phone.obsidian-phone.mobile-hud #world-hud #mobile-target-hud:has(#mobile-target-primary[data-content="actions"]) {
    --pt-heading:calc(17px * var(--pt-scale));--pt-rail:calc(10px * var(--pt-scale));
    --pt-button:calc(33px * var(--pt-scale));--pt-clear:calc(15px * var(--pt-scale));--pt-gap:calc(3px * var(--pt-scale));
  }
  html.prism-phone.obsidian-phone.mobile-hud #world-hud #obsidian-effects {--ob-emblem:15px;min-height:19px}
  html.prism-phone.obsidian-phone.mobile-hud #world-hud #obsidian-effects .ob-effect-groups {gap:1px}
  html.prism-phone.obsidian-phone.mobile-hud #world-hud #obsidian-effects .ob-effect-expand {width:11px}
}
html.prism-phone.obsidian-phone .ob-effect-dialog[open] {
  background:linear-gradient(120deg,#253941fc,#16262ffd 72%);color:#fff3de;border-color:#87948b;border-radius:5px;
  & >header,& >footer {background:linear-gradient(110deg,#37484a,#253842 62%);border-color:#b6ba9d50}
  & h2 {font-family:Georgia,serif;font-weight:500;color:#fff1cc}
  & .ob-effect-total,& footer small,& .ob-effect-list h3 small {color:#c7ccbb}
  & .ob-effect-list {scrollbar-color:#838d8466 transparent}
  & .ob-effect-cell {background:#293b42;border-color:#7e908454}
  & .ob-effect-cell[aria-pressed="true"] {border-color:#d7be81;background:#41524f}
  & :focus-visible {outline-color:#e6d4a7}
}
@media(orientation:landscape){
  html.prism-phone.obsidian-phone.mobile-hud #world-hud #obsidian-effects {
    max-width:var(--prism-effects-span,none);
    & .ob-effect-groups {min-width:0}
    & .ob-effect-chip {min-width:0;overflow:hidden}
    & .ob-effect-emblem {max-width:100%}
    & .ob-effect-expand {flex:none}
    &[data-prism-total] .ob-effect-groups {display:none}
    &[data-prism-total]::after {content:attr(data-prism-count);order:-1;padding:0 2px;font:600 10px/1 "Segoe UI",sans-serif;color:#fff0d6}
    &[data-mode="icons"] .ob-effect-groups {display:flex;max-width:100%;overflow:auto;scrollbar-width:none}
    &[data-mode="icons"] .ob-effect-chip {flex:none;width:var(--ob-emblem);height:var(--ob-emblem);min-height:0}
  }
}
