/* Release images are bundled offline. Contain the entire square on small phones. */
.update-carousel {
  box-sizing: border-box; margin: auto; width: min(100%, 680px);
  height: 100%; height: 100dvh; max-width: 100%; max-height: 100dvh;
  border: 0; padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  background: #121212; color: #eee; font-family: inherit;
  overflow: auto; overscroll-behavior: contain;
}
.update-carousel[open] { display: flex; flex-direction: column; gap: 12px; }
.update-carousel::backdrop { background: #121212; }
.update-carousel h1 { font-size: 20px; margin: 0; flex: 0 0 auto; }
.update-slide { display: block; width: 100%; flex: 1 1 0; min-height: 0; object-fit: contain; }
.update-progress { margin: 0; color: #bbb; font-size: 13px; text-align: center; flex: 0 0 auto; }
.update-error { margin: 0; font-size: 13px; color: #ffc48a; }
.update-error:empty { display: none; }
.update-navigation { display: flex; gap: 12px; flex: 0 0 auto; }
.update-navigation button { flex: 1; min-height: 48px; border: 1px solid #444; border-radius: 10px; background: #292929; color: #eee; font: inherit; cursor: pointer; }
.update-navigation button.primary { background: #ff8c1a; color: #171717; border-color: #ff8c1a; font-weight: 700; }
.update-navigation button:disabled { opacity: .35; cursor: default; }
.update-navigation button:active:not(:disabled) { filter: brightness(.85); }
.update-navigation button:focus-visible { outline: 2px solid white; outline-offset: 2px; }
