/* The bottom bars share the measured height, including device safe areas. */
.ga-choice:not([hidden]) {
  position: fixed;
  inset: auto 0 0;
  z-index: 8;
  padding: 4px max(16px, env(safe-area-inset-right)) calc(4px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  border-top: 1px solid #53574f;
  background: #242820;
  color: #f5f3eb;
  font: 400 0.875rem/1.35 system-ui, sans-serif;
}
.ga-choice-inner {
  max-width: 80rem;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 1.25rem;
}
.ga-choice p { margin: 0; font: inherit; color: inherit; }
.ga-choice a, .ga-settings { color: inherit; text-decoration: underline; text-underline-offset: 0.15em; }
.ga-choice-actions { display: flex; gap: 6px; }
.ga-choice button {
  margin: 0;
  min-height: 44px;
  padding: 0.25rem 0.85rem;
  border: 1px solid #8c9184;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font: 600 0.875rem/1.2 system-ui, sans-serif;
  cursor: pointer;
}
.ga-choice button:hover { background: #373c32; }
.ga-choice :focus-visible { outline: 2px solid #f7e4ae; outline-offset: 1px; }
.ga-settings { border: 0; background: transparent; padding: 0.4rem 0; font: inherit; cursor: pointer; }

body:has(> .ga-choice:not([hidden])) :is(.album-dock, .sticky-buy, .narrative-now, .apz-now-playing) {
  bottom: var(--ga-strip-height, 0px);
}
body:has(> .ga-choice:not([hidden]))::after {
  content: "";
  display: block;
  height: var(--ga-strip-height, 0px);
}
html:has(.ga-choice:not([hidden])) { scroll-padding-bottom: calc(100px + var(--ga-strip-height, 0px)); }

@media (max-width: 40rem) {
  .ga-choice:not([hidden]) { padding-top: 6px; font-size: 0.8125rem; }
  .ga-choice-inner { gap: 3px 12px; }
  .ga-choice p { text-align: center; }
}
