/* ZeroGrav DM: the curtain js/dcc.js sweeps down over the page on the way to the Clearance Rack. It is the Rack's own
   dark (rack/css/hud.css, --rk-bg) with a faint scan texture, and a thin amber edge (the Rack's --rk-sys) along its
   leading bottom edge. It is only on the page for the 700 ms of the sweep. */
.dcc-sweep {
  position: fixed; inset: 0; z-index: 2147483000; pointer-events: none;
  background-color: #07090c;
  background-image: repeating-linear-gradient(to bottom, rgba(255, 176, 59, .035) 0 1px, transparent 1px 4px);
  transform: translateY(-100%);
  will-change: transform;
}
.dcc-sweep::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: #ffb03b;
  box-shadow: 0 0 8px 1px rgba(255, 176, 59, .55), 0 0 22px 2px rgba(255, 176, 59, .22);
}
.dcc-sweep.is-down {
  transform: translateY(0);
  transition: transform 700ms cubic-bezier(.7, 0, .3, 1);
}
/* The bar doesn't stop at the bottom of the screen and vanish when the page changes: it runs on a little past the edge
   and dims as it goes, so the curtain arrives as plain dark and the Rack's welcome fades in over it. */
.dcc-sweep.is-down::after { animation: dccBar 700ms cubic-bezier(.7, 0, .3, 1) both; }
@keyframes dccBar {
  0%, 55% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(14px); }
}
@media (prefers-reduced-motion: reduce) { .dcc-sweep.is-down::after { animation: none; } }
