/* DWC2K install control — brief 2074. Styled from the site's own design
   tokens (paper, ink, hairline, gold) so it reads as part of the site.
   The bar is built by pwa.js and stays hidden until the browser offers
   installation (Chromium) or the visitor is on iOS Safari. It lanes
   above the chat button on small screens and centres clear of it on
   wide screens. Motion only where the visitor has not asked for less. */
.pwa-install {
  position: fixed;
  z-index: 70;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(76px + env(safe-area-inset-bottom));
  width: min(520px, calc(100vw - 24px));
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 10px 16px;
  background: var(--paper, #fff);
  color: var(--ink, #000);
  border: 1px solid var(--hairline, #e4e4e4);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
  font-family: var(--sans, "Archivo", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif);
  font-size: 0.875rem;
  line-height: 1.35;
}
@media (min-width: 768px) {
  .pwa-install { bottom: calc(16px + env(safe-area-inset-bottom)); }
}
.pwa-install[hidden] { display: none; }
.pwa-install .pwa-install-text { flex: 1 1 auto; }
.pwa-install .pwa-install-btn {
  flex: 0 0 auto;
  appearance: none;
  border: 1px solid var(--ink, #000);
  background: var(--ink, #000);
  color: var(--paper, #fff);
  border-radius: 999px;
  padding: 10px 18px;
  min-height: 44px;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}
.pwa-install .pwa-install-btn:hover { background: var(--gold-text, #7a5c14); border-color: var(--gold-text, #7a5c14); }
.pwa-install .pwa-install-dismiss {
  flex: 0 0 auto;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--grey, #555);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
}
.pwa-install .pwa-install-btn:focus-visible,
.pwa-install .pwa-install-dismiss:focus-visible {
  outline: 2px solid var(--gold, #a8842c);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: no-preference) {
  .pwa-install { transition: opacity 0.25s ease, transform 0.25s ease; }
}
html.a11y-reduce-motion .pwa-install { transition: none; }
