/* Isolated Prestige consent UI. No external fonts/assets or layout changes. */
.prestige-consent {
  position: fixed;
  z-index: 1200;
  inset: auto 16px max(12px, env(safe-area-inset-bottom)) auto;
  box-sizing: border-box;
  width: min(520px, calc(100% - 32px));
  max-height: 55vh;
  max-height: min(380px, 55dvh);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 20px 22px;
  border: 1px solid #b59a61;
  border-radius: 8px;
  background: #f7f5f0;
  color: #34272b;
  box-shadow: 0 6px 28px rgb(45 20 29 / 16%);
  font: 400 14px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: start;
}
.prestige-consent[hidden] { display: none !important; }
.prestige-consent h2 {
  margin: 0 0 8px;
  color: #5b2338;
  font: 500 20px/1.25 Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}
.prestige-consent p { margin: 0 0 10px; font: inherit; color: inherit; }
.prestige-consent__privacy {
  color: #5b2338;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prestige-consent__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  margin-top: 14px;
}
/* Both choices deliberately share identical size, colour, typography and weight. */
.prestige-consent__actions button {
  appearance: none;
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #5b2338;
  border-radius: 4px;
  background: #5b2338;
  color: #fffaf2;
  cursor: pointer;
  font: 500 14px/1.4 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  text-align: center;
  text-transform: none;
  white-space: normal;
}
.prestige-consent__actions button:hover { background: #45192a; border-color: #45192a; }
.prestige-consent__actions button:focus-visible,
.prestige-consent a:focus-visible,
.prestige-consent-settings:focus-visible,
[data-prestige-analytics-settings]:focus-visible {
  outline: 3px solid #8b651e;
  outline-offset: 3px;
}
.prestige-consent .prestige-consent__status { margin: 10px 0 0; font-size: 13px; }
.prestige-consent__status:empty { display: none; }
.prestige-consent-settings {
  appearance: none;
  display: inline-block;
  min-height: 44px;
  padding: 9px 4px;
  margin: 0;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  line-height: 1.5;
  text-align: start;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-transform: none;
}
.prestige-consent-fallback { padding: 8px 20px; background: #f7f5f0; color: #5b2338; }
@media (max-width: 600px) {
  .prestige-consent {
    inset-inline: 10px;
    width: calc(100% - 20px);
    padding: 14px 16px;
    font-size: 12px;
    line-height: 1.45;
  }
  .prestige-consent h2 { font-size: 18px; margin-bottom: 6px; }
  .prestige-consent__actions { margin-top: 10px; gap: 10px; }
  .prestige-consent__actions button { padding-inline: 8px; font-size: 13px; }
}
@media (forced-colors: active) {
  .prestige-consent, .prestige-consent__actions button { border: 1px solid ButtonText; }
}
