/* Cabinet bezel — pixel CRT around the shared arcade shell.
   Must shrink on short phones so the d-pad stays hittable above the host badge. */
.coinop-bezel {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, #2a1a10 0%, #120c08 40%, #1a100a 100%);
  border: 6px solid #c9a227;
  border-radius: 14px;
  box-shadow: inset 0 0 0 3px #4a2a12, 0 8px 20px rgba(0,0,0,.45);
  padding: 6px 6px 4px;
  max-width: 100%;
}
.coinop-bezel .arcade-shell { background: transparent; min-height: 0; }
.coinop-crt {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  background: #071014;
  border-radius: 8px;
  box-shadow: inset 0 0 40px rgba(0,0,0,.55);
}
.coinop-crt .arcade-stage {
  background: #071014;
  image-rendering: pixelated;
  min-height: 10rem;
}
.coinop-crt canvas { image-rendering: pixelated; image-rendering: crisp-edges; }
.coinop-bezel .arcade-pad { margin-top: 4px; }
.coinop-bezel .arcade-action { background: #8a1c14; color: #f3e0a0; border-color: #e8c86a; }
.coinop-bezel .arcade-hud .game-status {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
@media (max-height: 860px) {
  .coinop-bezel { padding: 3px; border-width: 4px; border-radius: 10px; }
  .coinop-crt .arcade-stage { min-height: 7.5rem; }
  .coinop-bezel .arcade-pad { margin-top: 0; }
  .coinop-bezel .arcade-hud { gap: .15rem .4rem; }
  .coinop-bezel .arcade-scores { font-size: .8rem; }
}
