[data-persistent-world] .world-hud {
  inset: 0 0 auto; width: 100%; max-width: none; min-height: 3.45rem;
  padding: max(.35rem, env(safe-area-inset-top)) max(.65rem, env(safe-area-inset-right))
    .35rem max(.65rem, env(safe-area-inset-left));
  box-sizing: border-box; border: 0; border-bottom: 1px solid #ad8e4e69; border-radius: 0;
  gap: clamp(.3rem, 2vw, 1.5rem);
}
[data-persistent-world] #world-wallet { flex: 1; gap: clamp(.2rem, 1vw, .72rem); justify-content: space-evenly; max-width: 31rem; }
[data-persistent-world] #world-wallet dd { display: flex; align-items: center; gap: clamp(.1rem,.6vw,.4rem); font-size: clamp(.7rem,2.45vw,.9rem); }
[data-persistent-world] #world-wallet img { width: clamp(1.08rem,5vw,1.9rem); height: clamp(1.08rem,5vw,1.9rem); object-fit: contain; }
[data-persistent-world] #world-wallet dd span { color: #f4e8ca; font: inherit; }
[data-persistent-world] .world-tools { top: max(4rem, calc(env(safe-area-inset-top) + 3.65rem)); }
[data-persistent-world] .world-picker { top: max(4rem, calc(env(safe-area-inset-top) + 3.65rem)); }
.auth-panel {
  position: fixed; inset: auto; margin: auto; box-sizing: border-box;
  width: min(27rem,calc(100vw - 1.6rem)); height: auto; max-height: calc(100dvh - 1.6rem);
  border: 1px solid #ad8e4e69; border-radius: .8rem;
}
.auth-panel::backdrop { background: #07121ce0; }
.auth-panel label, .auth-panel input { display: block; width:100%; box-sizing:border-box; }
.auth-panel label { margin-top:.8rem; color:#ead8ae; }
.auth-panel input {
  margin-top:.25rem; min-height:2.7rem; border-radius:.4rem; border:1px solid #607684;
  background:#091825; color:#fcf3df; padding:.55rem .7rem; font:inherit;
}
.auth-panel .primary { min-height:2.7rem; border-radius:.45rem; padding-inline:.9rem; }
.capture-evidence { color:#d9e5ed; font-variant-numeric:tabular-nums; }
@media(max-width:360px) {
  [data-persistent-world] .world-hud { padding-inline: .35rem; }
  [data-persistent-world] #world-profile { min-width:2.8rem; }
}
