/* Reserve room for the pending fixed notice and keep focused controls visible. */
body {
  padding-bottom: var(--ronin-consent-space, 0px);
}
html {
  scroll-padding-bottom: calc(var(--ronin-consent-space, 0px) + 16px);
}
.analytics-preferences.is-pending {
  position: fixed;
  inset: auto 0 0;
  z-index: 100;
  max-height: 75dvh;
  overflow-y: auto;
  box-shadow: 0 -8px 28px #0005;
}
.analytics-preferences {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(16px, 4vw, 64px);
  border-top: 1px solid #34392e;
  background: #171a15;
  color: #d9ddcf;
  font: 13px/1.65 sans-serif;
}
.analytics-copy {
  max-width: 700px;
}
.analytics-copy strong {
  display: block;
  font-weight: 600;
}
.analytics-copy p {
  margin: 4px 0 0;
  color: #a7b19a;
}
.analytics-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.analytics-actions button,
.analytics-actions a {
  box-sizing: border-box;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #59634b;
  border-radius: 4px;
  background: transparent;
  color: #d9ddcf;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.analytics-actions :is(button, a):hover {
  background: #293023;
}
.analytics-actions :is(button, a):focus-visible {
  outline: 2px solid #d7e8ad;
  outline-offset: 3px;
}
@media (max-width: 760px) {
  .analytics-preferences {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }
  .analytics-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .analytics-actions a {
    grid-column: 1/-1;
    text-align: center;
  }
  .analytics-actions button {
    white-space: normal;
  }
}
