/* Car Infotainment UI: bezel around the live 1280x480 build */

.dash { margin: 0; }

.dash__bezel {
  padding: clamp(6px, 1.2vw, 14px);
  border-radius: clamp(12px, 2vw, 22px);
  background:
    linear-gradient(180deg, #2a3040 0%, #0d1018 18%, #07090f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 40px 90px -30px rgba(47, 123, 255, 0.45),
    0 30px 60px -20px rgba(0, 0, 0, 0.8);
}

.dash__screen {
  position: relative;
  aspect-ratio: 1600 / 600;
  border-radius: clamp(6px, 1vw, 10px);
  overflow: hidden;
  background: #000;
}
.dash__screen::after {
  /* glass glare */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0) 35%);
  pointer-events: none;
}

.dash__caption {
  margin: 1rem auto 0;
  max-width: 44rem;
  text-align: center;
  color: var(--ink-2);
  font-size: 0.95rem;
  min-height: 3em;
}

.dash__screen--live { aspect-ratio: 1280 / 480; }
.dash__iframe {
  position: absolute;
  top: 0; left: 0;
  width: 1280px; height: 480px;
  border: 0;
  background: #000;
  transform-origin: 0 0;
  transform: scale(var(--dash-scale, 0.5));
}
