/* The Boxes entry on the 3D page (boxes3d.js, wu-1a17a7c8): a key on the bar beside Session; a wide glass panel under the bar with the
   tab strip (boxes.css .bx-tabs), the cards (boxes.css) and the game-test tiles (lkviewer.css). */
#as-bar #as-boxes-key { position: relative; }
/* the bar is at its width from 1280 to about 1660 px once this key is on it (measured with the Game tests key it replaced: with the key
   hints and the label it ran over between 1500 and 1660): below 1700 px the hints go (room3d.css does the same below 1500 for the Session
   key) and the key keeps its icon alone */
@media (max-width: 1700px) { #as-bar:has(#as-boxes-key) kbd { display: none; } #as-bar #as-boxes-key span { display: none; } #as-bar #as-boxes-key { padding-left: 10px; padding-right: 10px; } }
#as-boxes-key.corner {
  position: fixed; z-index: 5; top: calc(10px + env(safe-area-inset-top, 0px)); right: calc(10px + 52px + 8px + 52px + 8px); display: grid; place-items: center;
  width: 52px; height: 52px; padding: 0; border-radius: 14px; cursor: pointer; color: var(--text);
  background: rgba(18, 18, 22, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line-2);
}
#as-boxes-key.corner span { display: none; }
#as-boxes-key.corner svg { width: 22px; height: 22px; }
#as-boxes-key.on { color: var(--amber-2, #ffb000); }
#as-boxescol {
  position: fixed; top: calc(12px + 3.4em + var(--top-clear, 0px)); left: 12px; right: 12px; bottom: 12px; z-index: 5; max-width: 1400px; margin: 0 auto;
  display: flex; flex-direction: column; opacity: 0; transform: translateY(-6px) scale(0.985); pointer-events: none;
  transition: opacity var(--t, 0.2s) var(--ease, ease), transform var(--t, 0.2s) var(--ease, ease);
}
#as-boxescol.open { opacity: 1; transform: none; pointer-events: auto; }
#as-boxescol > section { display: flex; flex-direction: column; min-height: 0; flex: 1; overflow: hidden; }
#as-boxes header { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line-2); }
#as-boxes header h2 { margin: 0; font-size: 1em; font-weight: 600; }
#as-boxes header .note { color: var(--muted, rgba(232, 232, 236, 0.6)); font-size: 0.85em; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#as-boxes header .x { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line-2); background: transparent; color: var(--text); cursor: pointer; }
#as-boxes .body { display: flex; flex-direction: column; min-height: 0; flex: 1; overflow: hidden; }
@media (max-aspect-ratio: 999/1000) and (max-width: 600px) { #as-boxescol { top: calc(72px + env(safe-area-inset-top, 0px) + var(--top-clear, 0px)); left: 8px; right: 8px; bottom: 8px; } #as-boxes header .note { display: none; } #as-boxes header .x { width: 44px; height: 44px; } }
