body {
  --archive-end-height: clamp(57.6px, 6vw, 88.8px);
  --archive-label-width: calc(var(--archive-end-height) * 1.95);
  --archive-face-width: calc(var(--archive-end-height) * .77);
  --archive-gutter: 20px;
  --archive-bottom: 20px;
}
.side-archive {
  --archive-open-width: calc(100vw - 2 * var(--archive-gutter) - var(--archive-label-width) - var(--archive-face-width));
  right: var(--archive-gutter);
  bottom: var(--archive-bottom);
  max-width: calc(100vw - 2 * var(--archive-gutter));
}
.oddly-corner-logo {
  position: fixed;
  left: var(--archive-gutter);
  bottom: var(--archive-bottom);
  width: var(--archive-label-width);
  height: var(--archive-end-height);
  object-fit: contain;
  z-index: 71;
  pointer-events: none;
}
.folder-marquee {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 8px;
  width: clamp(101.5px, 14.7vw, 171.5px);
  height: clamp(16.1px, 2.24vw, 25.2px);
  background: #102356;
  box-shadow: inset 0 0 0 1px #172541;
  overflow: hidden;
  pointer-events: auto;
}
.folder-marquee canvas {
  display: block;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
}
.folder-marquee::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 40%, #b2ceff25 50%, transparent 60%);
  animation: folder-led-sweep 5s linear infinite;
}
@keyframes folder-led-sweep {
  from { transform: translateX(-65%); }
  to { transform: translateX(65%); }
}
@media (prefers-reduced-motion: reduce) {
  .folder-marquee::after { animation: none; opacity: 0; }
}
@media (max-width: 650px) {
  body { --archive-gutter: 12px; --archive-bottom: 12px; --archive-end-height: 50.4px; }
}
@media (max-height: 570px) {
  body { --archive-end-height: clamp(32px, 10dvh, 56px); --archive-bottom: 8px; }
  .folder-marquee { height: 16.1px; margin-top: 6px; }
}
