/* DD Site — 24 Nov mobile-only Vault refinements; desktop styles are untouched. */
@media(max-width:760px){
 body.vault-wall-page .vw-mobile-trigger{
  position:fixed;z-index:119;
  top:calc(12px + env(safe-area-inset-top,0px));left:11px;
  display:grid;place-items:center;
  width:48px;height:48px;min-width:48px;min-height:48px;
  padding:0;border:1px solid #c2a0e9a3;border-radius:10px;
  background:linear-gradient(140deg,#3a2855f5,#17121fe8);
  color:#eddcff;font:800 1.6rem/1 'DM Sans',sans-serif;
  box-shadow:0 7px 25px #0008,0 0 15px #b28ce82a;
  backdrop-filter:blur(8px);
 }
 body.vault-wall-page .vw-mobile-nav-open .vw-mobile-trigger{
  opacity:0;pointer-events:none;
 }
 body.vault-wall-page .vw-mobile-trigger:focus-visible,
 body.vault-wall-page .vw-mobile-close:focus-visible{
  outline:3px solid #dcb3ff;outline-offset:2px;
 }
 body.vault-wall-page .vw-mobile-backdrop{
  position:fixed;z-index:120;inset:0;
  background:#02020aba;backdrop-filter:blur(3px);
  transition:opacity .25s ease;
 }
 body.vault-wall-page .vw-mobile-backdrop[hidden]{display:none!important}
 body.vault-wall-page .vw-mobile-drawer{
  position:fixed!important;z-index:121!important;
  top:0!important;bottom:0!important;left:0!important;right:auto!important;
  box-sizing:border-box;width:min(91vw,415px)!important;height:100dvh!important;
  max-height:100dvh!important;
  display:flex!important;flex-direction:column!important;
  gap:0!important;padding:0 0 calc(.8rem + env(safe-area-inset-bottom,0px))!important;
  border:0!important;border-right:1px solid #b79fce9e!important;
  border-radius:0 15px 15px 0!important;
  background:linear-gradient(155deg,#251731fd,#12101cfc 55%,#080910fe)!important;
  box-shadow:20px 0 70px #000c!important;
  overflow-y:auto!important;overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  transform:translateX(-104%);
  visibility:hidden;pointer-events:none;
  transition:transform .29s cubic-bezier(.22,.83,.26,1),visibility .29s!important;
 }
 body.vault-wall-page .vw-mobile-nav-open .vw-mobile-drawer{
  transform:translateX(0)!important;visibility:visible;pointer-events:auto;
 }
 body.vault-wall-page .vw-mobile-drawer-head{
  display:flex;flex:none;align-items:center;justify-content:space-between;
  min-height:58px;gap:1rem;padding:calc(.65rem + env(safe-area-inset-top,0px)) 1rem .65rem;
  border-bottom:1px solid #b18ccc4c;background:#2f1f3ec7;
 }
 body.vault-wall-page .vw-mobile-drawer-head strong{
  color:#dfbffc;font:800 .63rem/1.4 'IBM Plex Mono',monospace;
  letter-spacing:.075em;
 }
 body.vault-wall-page .vw-mobile-close{
  display:grid;place-items:center;flex:none;
  width:44px;height:44px;min-width:44px;min-height:44px;padding:0;
  border:1px solid #bd99d97a;border-radius:8px;
  background:#37254f;color:#f5e6ff;font:750 1.6rem/1 'DM Sans',sans-serif;
 }
 /* The approved desktop Vault header and exact original controls are
    physically moved into the drawer on mobile, never rebuilt or duplicated. */
 body.vault-wall-page .vw-mobile-drawer .vw-intro{
  position:relative!important;inset:auto!important;top:auto!important;
  left:auto!important;right:auto!important;
  flex:none;width:auto!important;max-width:none!important;
  padding:1rem 1rem .45rem!important;
  margin:0!important;pointer-events:auto!important;
  z-index:auto!important;
 }
 body.vault-wall-page .vw-mobile-drawer .vw-intro h1{
  margin:.55rem 0 .65rem!important;
  font-size:clamp(2rem,9.2vw,2.75rem)!important;
  line-height:.96!important;
 }
 body.vault-wall-page .vw-mobile-drawer .vw-intro>p:last-child{
  max-width:335px!important;font-size:.77rem!important;
  line-height:1.55!important;color:#c9b8d8!important;
  display:block!important;
 }
 body.vault-wall-page .vw-mobile-drawer .vw-overline{
  font-size:.52rem!important;
 }
 body.vault-wall-page .vw-mobile-drawer .vw-controls{
  position:relative!important;inset:auto!important;
  left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;
  width:100%!important;max-width:100%!important;max-height:none!important;
  min-height:0!important;flex:none!important;
  padding:.5rem 1rem .7rem!important;
  margin:0!important;display:flex!important;flex-direction:column!important;
  gap:.52rem!important;overflow:visible!important;
  transition:none!important;
  z-index:auto!important;
 }
 body.vault-wall-page .vw-mobile-drawer .vw-controls.is-search-open{
  width:100%!important;max-width:100%!important;
 }
 body.vault-wall-page .vw-mobile-drawer .vw-control-item{
  flex:none!important;min-height:0!important;max-height:none!important;
 }
 body.vault-wall-page .vw-mobile-drawer .vw-search-contents{
  max-height:none!important;overflow:visible!important;
  padding:.75rem!important;
 }
 body.vault-wall-page .vw-mobile-drawer .vw-results{
  max-height:min(25dvh,210px)!important;
  overflow-y:auto!important;touch-action:pan-y!important;
 }
 body.vault-wall-page .vw-mobile-drawer .vw-wings-menu{
  position:relative!important;top:auto!important;left:auto!important;
  max-height:none!important;overflow:visible!important;
 }
 body.vault-wall-page .vw-mobile-drawer .vw-wings-grid{
  max-height:min(31dvh,275px)!important;
  overflow-y:auto!important;touch-action:pan-y!important;
 }
 body.vault-wall-page .vw-mobile-drawer .vw-evidence button{
  min-height:35px!important;
 }
 /* Immersive full-screen detail: treat this as another part of the same
    Vault experience rather than a short floating card at the bottom. */
 body.vault-wall-page .vw-inspector:not([hidden]){
  position:fixed!important;z-index:141!important;
  inset:0!important;top:0!important;bottom:0!important;
  left:0!important;right:0!important;
  width:100vw!important;height:100dvh!important;
  min-height:0!important;max-height:100dvh!important;
  border:0!important;border-radius:0!important;
  display:flex!important;flex-direction:column!important;
  padding:env(safe-area-inset-top,0px) 0 0!important;
  background:linear-gradient(155deg,#251b32fb,#171121fc 52%,#090a14ff 100%)!important;
  box-shadow:none!important;backdrop-filter:none!important;
 }
 body.vault-wall-page .vw-inspector-head{
  position:sticky;top:0;z-index:2;
  min-height:58px!important;padding:.72rem 1rem!important;
  border-bottom:1px solid #b99ad45e!important;
  background:linear-gradient(110deg,#39264bbc,#21172edc)!important;
 }
 body.vault-wall-page .vw-inspector-head>span{
  font-size:.69rem!important;
 }
 body.vault-wall-page .vw-inspector-head button{
  width:42px!important;height:42px!important;min-width:42px!important;
  min-height:42px!important;font-size:1.2rem!important;
 }
 body.vault-wall-page .vw-inspector-scroll{
  flex:1;min-height:0!important;max-height:none!important;
  padding:1.15rem 1.4rem calc(1.5rem + env(safe-area-inset-bottom,0px))!important;
  overflow-y:auto!important;overscroll-behavior:contain!important;
  scrollbar-width:thin!important;
 }
 body.vault-wall-page .vw-record-seal{
  width:64px!important;height:64px!important;margin:.25rem auto .8rem!important;
  border-width:6px!important;
 }
 body.vault-wall-page .vw-inspector-scroll h2{
  font-size:clamp(1.8rem,6vw,2.5rem)!important;
  letter-spacing:-.045em!important;
 }
 body.vault-wall-page .vw-record-summary{
  font-size:.91rem!important;line-height:1.5!important;
 }
 body.vault-wall-page .vw-record-evidence{
  padding:1rem!important;margin:.9rem 0!important;
  border-radius:7px!important;background:#33264086!important;
 }
 body.vault-wall-page .vw-inspector-scroll>p:not(.vw-record-id){
  font-size:.82rem!important;line-height:1.55!important;
 }
 body.vault-wall-page .vw-inspector-scroll .vw-atlas-link,
 body.vault-wall-page .vw-inspector-scroll .vw-copy{
  min-height:49px!important;padding:.95rem 1rem!important;
  font-size:.71rem!important;
 }
 body.vault-wall-page .vw-stage:focus-visible{outline-offset:-4px}
}
@media(max-width:760px) and (prefers-reduced-motion:reduce){
 body.vault-wall-page .vw-mobile-drawer,
 body.vault-wall-page .vw-mobile-backdrop{transition:none!important}
}
