/* ---------- world3d: the live 3D board (see public/js/world3d.js) ----------
   body.w3d is set only while the 3D board runs. The WebGL canvas fills the window behind the page; the DOM board keeps its size and
   place (layout, logic and tests use it) but its own visuals are hidden, so the world shows through with no frame around the board. */
#w3d{position:fixed;inset:0;width:100vw;height:100vh;display:none;z-index:0;pointer-events:none}
body.w3d #w3d{display:block}
body.w3d #app{position:relative;z-index:1}
body.w3d .map{background:transparent;box-shadow:none;border-radius:0}
body.w3d .map>*,body.w3d .map::after{visibility:hidden}
/* Glass panel (owner, 18 Nov 2026): the same dark tint as before, but translucent and frosted so the world shows through.
   The tint stays dark enough that cream text keeps a high contrast over bright grass or pale city blocks. */
body.w3d .bar,body.w3d .srow,body.w3d .stage,body.w3d .recap{background:linear-gradient(160deg,rgba(38,34,20,.62),rgba(16,14,8,.66));
  border:1px solid rgba(255,246,209,.18);-webkit-backdrop-filter:blur(16px) saturate(150%);backdrop-filter:blur(16px) saturate(150%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16),inset 0 -1px 0 rgba(0,0,0,.2),0 12px 32px rgba(0,0,0,.28)}
body.w3d .bar{border-radius:0 0 16px 16px;border-top:0;padding-left:14px;padding-right:14px}
body.w3d .srow{border-width:2px}
body.w3d .srow.act{border-color:var(--a1);box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 0 0 1px rgba(255,214,10,.35),0 12px 32px rgba(0,0,0,.28)}
body.w3d .recap{border-left:4px solid var(--tc,var(--a1))}
body.w3d .stage,body.w3d .srow,body.w3d .recap,body.w3d .bar{text-shadow:0 1px 2px rgba(0,0,0,.35)}
