/* The rack in 3D (js/home-3d-v1.js). The canvas rides along the top of the scrolling screen; the DOM rack stays in
   place, invisible, and keeps every click, drag and key press. Without WebGL none of this applies. */
/* 19 Nov 2026: the layer is inside the rack (it scrolls with it), not pinned to the screen */
.d3-wrap { position: absolute; left: 0; top: 0; width: 100%; height: 0; z-index: 6; pointer-events: none; }
.d3-canvas { position: absolute; left: 0; top: 0; display: block; pointer-events: none; }
.deck.d3-on { opacity: 0; -webkit-user-select: none; user-select: none; }
.deck.d3-on.d3-orbit { cursor: grabbing; }
/* keyboard focus is drawn in 3D, so the invisible DOM ring is not needed */
.deck.d3-on :focus-visible { outline: none; }
/* arrive with the cabinet: the 3D layer fades in together with the wood and everything else */
.d3-wrap { transition: opacity .5s ease; }
html:not(.d3-shown) .d3-wrap { opacity: 0; }
/* The loaded tape's track list is not part of the 3D picture: it stays the real, scrollable list, shown on top
   (18 Nov 2026: in 3D it was a still picture, blank on desktop and unscrollable on phones). */
.deck.d3-on { opacity: 1; }
.deck.d3-on > :not(.deck__tracks):not(.d3-wrap) { opacity: 0; }
.deck.d3-on > .deck__tracks { position: relative; z-index: 7; -webkit-user-select: text; user-select: text; }
html:not(.d3-shown) .deck.d3-on > .deck__tracks { opacity: 0; }
.deck__tracks { transition: opacity .5s ease; }
