/* 3D race view (www/bw-race3d.js). Without WebGL nothing here applies and the 2D view stays. */
.bw3d { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.bw3d-canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.bw3d-tag { position: absolute; left: 0; top: 0; padding: 0 5px; border-radius: 3px; background: var(--c, #7dffb0); color: #0a0a0a;
  font: 700 .62rem/14px 'Courier New', monospace; letter-spacing: 1px; white-space: nowrap; pointer-events: none; will-change: transform; }
.bw3d-tag.dnf { background: #777; }
.bw3d-tag:empty { display: none; }
/* The Brass Seal: the 3D course replaces the flat river picture; the tower, title, lights and flag stay on top. */
html[data-view="3d"] .rc-world { visibility: hidden; }
html[data-view="3d"] .rc-backdrop { filter: blur(22px) brightness(.32); }
/* Take the Rock: the 3D Rock and drones replace the flat ones; sky, water, calls and cards stay. */
.bw3d-rock { z-index: 2; }
.bw3d-rock .bw3d-tag { background: none; color: #fff; font: 700 16px/1 system-ui, 'Segoe UI', Roboto, sans-serif; letter-spacing: .12em; text-transform: uppercase; text-shadow: 0 0 8px #000; }
.bw3d-rock .bw3d-tag.you { color: var(--you, #35e6ff); }
.bw3d-rock .bw3d-tag.rival { color: var(--rival, #ff4d5e); }
html[data-view="3d"] .ttr-rock, html[data-view="3d"] .ttr-drone, html[data-view="3d"] .ttr-beam,
html[data-view="3d"] .ttr-ring, html[data-view="3d"] .ttr-sparks { visibility: hidden; }
