/**
 * One webapp shell — desktop Safari mirrors mobile Pixel (:8088 bench).
 * Jurisdiction-agnostic layout; driver.html is the single driver entry worldwide.
 */

html {
  background: #05010f;
}

body.cp77-app.has-sw-tabbar {
  width: 100%;
  max-width: var(--sw-app-max-w, 480px);
  margin-inline: auto;
  min-height: 100dvh;
  box-sizing: border-box;
}

@media (min-width: 520px) {
  body.cp77-app.has-sw-tabbar {
    border-inline: 1px solid rgba(5, 217, 232, 0.1);
    box-shadow:
      0 0 80px rgba(0, 0, 0, 0.55),
      0 0 0 1px rgba(123, 44, 191, 0.08);
  }

  .sw-tabbar {
    left: 50%;
    right: auto;
    width: min(var(--sw-app-max-w, 480px), 100%);
    transform: translateX(-50%);
  }
}

body.cp77-app.has-sw-tabbar > .window-pane.active {
  width: 100%;
  max-width: 100%;
}
