/* A readable, complete archive for browsers without WebGL. */
body.nogl #overlay { gap: 28px; }
body.nogl #overlay .hero,
body.nogl #overlay .cap { box-sizing: border-box; width: 100%; }
body.nogl #overlay .cap { padding: 32px; max-height: none; overflow: visible; overscroll-behavior: auto; scroll-margin-top: 100px; }
body.nogl #overlay .hero { scroll-margin-top: 110px; }
body.nogl .browse-tools { display: flex; gap: 8px; }
body.nogl .browse-tools button { min-height: 44px; padding: 10px 14px; font-size: 13px; }
body.nogl .hoverhint { display: block; margin: 20px 0 8px; }
body.nogl .aisles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 14px; }
body.nogl .aisles li { align-items: stretch; }
body.nogl .aisles button { width: 100%; min-height: 44px; text-align: left; font-size: 13px; }
body.nogl .aisles li.on { color: var(--cobalt); }
body.nogl .fallback-dept-label { margin: 20px 0 8px; color: var(--navy); font-size: 13px; font-weight: 600; }
body.nogl .chapter-next { margin-top: 24px; }
.fallback-backdrop { display: none; }
body.nogl.fallback-example-open { overflow: hidden; }
body.nogl.fallback-example-open .fallback-backdrop { display: block; position: fixed; inset: 0; z-index: 89; background: rgba(12, 20, 48, .42); backdrop-filter: blur(4px); }
body.nogl #bx { z-index: 90; left: 50%; right: auto; top: 50%; bottom: auto; width: min(540px, calc(100% - 32px)); max-height: calc(100svh - 48px); transform: translate(-50%, -48%); overscroll-behavior: contain; }
body.nogl #bx.on { transform: translate(-50%, -50%); }
body.nogl #bx .bx-h { padding-right: 58px; }
body.nogl #bx .bx-x { min-width: 44px; min-height: 44px; }
body.nogl #bx .bx-f .example-back { min-height: 44px; }
@media (max-width: 600px) {
  body.nogl #overlay { padding: 108px 16px 36px; gap: 20px; }
  body.nogl #overlay .hero { padding: 12px 8px 28px; margin-bottom: 0; }
  body.nogl #overlay .cap { padding: 22px 18px; }
  body.nogl .aisles { gap: 4px 10px; }
  body.nogl .aisles li::before { display: none; }
  body.nogl .aisles button { padding: 8px 0; line-height: 1.35; }
  body.nogl #bx { width: calc(100% - 24px); max-height: calc(100svh - 24px); }
  body.nogl #bx .bx-h h3 { font-size: 30px; }
  body.nogl #bx .bx-b { padding-left: 18px; padding-right: 18px; }
  body.nogl #bx .v-kan { overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) {
  body.nogl #bx { transition: none; }
}
