/* Full-screen trailer behind the existing entry and authentication controls. */
body.meadow-login .pkw-entry-trailer {
  position:fixed; inset:0; z-index:0; width:100%; height:100%;
  object-fit:cover; object-position:center; pointer-events:none; background:#102c35;
}
body.meadow-login .scene-shade {
  z-index:1; pointer-events:none;
  background:linear-gradient(180deg,#071b314d 0%,#071b3100 30%,#071b3114 56%,#071b31b3 100%);
}
body.meadow-login .entry { position:relative; z-index:2; }
body.meadow-login .top-bar,body.meadow-login .footer { z-index:3; }
body.meadow-login .brand { filter:drop-shadow(0 3px 12px #071b3166); }
body.meadow-login .home-caption { color:#fff; text-shadow:0 2px 5px #061321; }
body.meadow-login .pkw-trailer-controls {
  position:fixed; z-index:4; top:max(16px,env(safe-area-inset-top));
  left:max(16px,env(safe-area-inset-left)); display:flex; align-items:center; gap:6px;
  direction:inherit;
}
.pkw-trailer-controls button {
  display:inline-flex; align-items:center; justify-content:center; gap:7px;
  min-height:44px; min-width:44px; margin:0; padding:9px 13px;
  border:1px solid #ffffffb3; border-radius:24px; background:#102c35cf;
  color:#fff; font:600 12px/1.2 system-ui,sans-serif; cursor:pointer;
  box-shadow:0 3px 12px #06132133; backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
}
.pkw-trailer-controls button:hover { background:#1b4652; }
.pkw-trailer-controls button:focus-visible { outline:3px solid #ffe38b; outline-offset:3px; }
.pkw-trailer-controls svg { width:19px; height:19px; flex:none; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.pkw-trailer-controls .pkw-trailer-pause { width:44px; padding:10px; }
body[data-trailer-state="error"] .pkw-entry-trailer { opacity:0; }
@media (max-width:370px) {
  body.meadow-login .pkw-trailer-controls { top:12px; left:10px; gap:4px; }
  .pkw-trailer-controls button { padding-inline:10px; font-size:11px; }
  .pkw-trailer-controls .pkw-trailer-pause { padding:10px; }
}
@media(prefers-reduced-motion:reduce) { .pkw-trailer-controls button { transition:none; } }
