/* Phase 3.30: isolated, small 3D presentation overrides. All game styling is /styles.css. */
.player-token .vehicle-3d-canvas { display:none; }
.player-token.vehicle-3d-active { background:rgba(3,38,56,.86); border:2px solid rgba(255,255,255,.9); overflow:visible; }
.player-token.vehicle-3d-active .vehicle-icon,
.player-token.vehicle-3d-active .token-avatar,
.player-token.xerxus-token.vehicle-3d-active > img { display:none !important; }
.player-token.vehicle-3d-active .vehicle-3d-canvas {
  position:absolute; left:50%; top:0; transform:translateX(-50%);
  width:51px; height:44px; display:block; pointer-events:none;
  filter:drop-shadow(0 3px 3px rgba(0,0,0,.25));
}
.player-token.vehicle-3d-active .vehicle-label {
  position:absolute; bottom:1px; left:50%; transform:translateX(-50%);
  white-space:nowrap; font-size:9px; letter-spacing:.25px;
  color:#fff; text-shadow:0 1px 3px #002234,0 0 3px #002234;
  z-index:2; visibility:visible !important;
}
.player-token.xerxus-token.vehicle-3d-active {border-color:#d9b9ff; background:rgba(49,18,87,.86);}
.player-token.xerxus-token.vehicle-3d-active .vehicle-label {color:#f5dcff; font-size:9px; letter-spacing:.15px;}
.garage-3d-stage {
  position:relative; height:164px; margin:11px 0 14px;
  border:1px solid rgba(126,240,221,.38); border-radius:19px;
  background:radial-gradient(ellipse at 50% 15%,#215e7a,#032a43 73%);
  box-shadow:inset 0 0 30px rgba(0,19,35,.25);overflow:hidden;
}
.garage-3d-canvas{display:block;width:100%;height:100%;object-fit:contain;touch-action:none;cursor:grab;}
.garage-3d-canvas:active{cursor:grabbing;}
.garage-3d-caption {
  position:absolute;left:50%;bottom:8px;transform:translateX(-50%);
  font-size:9px; font-weight:850; letter-spacing:.5px;
  text-align:center;color:#d6fff6;white-space:nowrap;
  pointer-events:none;text-shadow:0 1px 5px #02293d;
}
.garage-3d-stage.three-inactive {display:none;}
/* Do not shrink the original vehicle-choice emoji tiles as the previous 3D build did. */
@media(max-height:700px){.garage-3d-stage{height:126px;margin:6px 0 8px;}.garage-3d-caption{font-size:8px;}}
