/* One Sanctum — restrained marketing consent, intentionally independent of page layout. */
.os-consent,
.os-consent * {
  box-sizing: border-box;
}

.os-consent {
  --os-ink: #17130f;
  --os-ink-soft: #211b15;
  --os-parchment: #efeae0;
  --os-sand: #d9cebb;
  --os-muted: #b5a991;
  --os-gold: #b08968;
  --os-gold-soft: #c9a887;
  --os-rule: rgba(201, 168, 135, .34);
  position: fixed;
  z-index: 9000;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  width: min(390px, calc(100vw - 28px));
  color: var(--os-parchment);
  font-family: var(--ff-sans, "Jost", "Helvetica Neue", Arial, sans-serif);
  line-height: 1.55;
  pointer-events: none;
}

.os-consent__panel {
  width: 100%;
  margin: 0 0 8px;
  padding: 16px 18px;
  border: 1px solid var(--os-rule);
  background: var(--os-ink);
  max-height: calc(100dvh - 70px);
  overflow-y: auto;
  box-shadow: 0 7px 20px rgba(0, 0, 0, .24);
  pointer-events: auto;
}

.os-consent__panel[hidden] {
  display: none;
}

.os-consent__title {
  margin: 0 0 6px;
  color: var(--os-parchment);
  font-family: var(--ff-serif, "Cormorant Garamond", Georgia, serif);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.12;
}

.os-consent__copy {
  margin: 0;
  color: var(--os-sand);
  font-family: var(--ff-serif, "Cormorant Garamond", Georgia, serif);
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.os-consent__copy + .os-consent__copy {
  margin-top: 6px;
}

.os-consent__link {
  color: var(--os-gold-soft);
  text-decoration: underline;
  text-decoration-color: rgba(201, 168, 135, .55);
  text-underline-offset: 3px;
}

.os-consent__link:hover {
  color: var(--os-parchment);
}

.os-consent__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.os-consent__button {
  min-width: 0;
  min-height: 46px;
  padding: 10px 11px;
  border: 1px solid var(--os-gold-soft);
  border-radius: 0;
  background: transparent;
  color: var(--os-parchment);
  font: 500 11px/1.4 var(--ff-sans, "Jost", "Helvetica Neue", Arial, sans-serif);
  letter-spacing: .04em;
  text-align: center;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.os-consent__button:hover {
  background: var(--os-ink-soft);
  border-color: var(--os-gold-soft);
}

.os-consent__settings {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-left: auto;
  min-height: 38px;
  padding: 7px 10px;
  border: 1px solid rgba(201, 168, 135, .38);
  background: rgba(23, 19, 15, .94);
  color: var(--os-sand);
  font: 500 9px/1.4 var(--ff-sans, "Jost", "Helvetica Neue", Arial, sans-serif);
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  pointer-events: auto;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.os-consent__settings:hover {
  border-color: var(--os-gold-soft);
  background: var(--os-ink);
  color: var(--os-parchment);
}

.os-consent button:focus-visible,
.os-consent a:focus-visible {
  outline: 2px solid var(--os-gold-soft);
  outline-offset: 3px;
}

@media (max-width: 420px) {
  .os-consent {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    width: calc(100vw - 24px);
  }

  .os-consent__panel {
    padding: 14px 15px;
  }

  .os-consent__actions {
    gap: 8px;
  }

  .os-consent__button {
    padding-inline: 8px;
    font-size: 11px;
    letter-spacing: .04em;
  }
}

@media (max-height: 480px) {
  .os-consent {
    bottom: max(8px, env(safe-area-inset-bottom));
  }

  .os-consent__panel {
    max-height: calc(100dvh - 58px);
    padding: 11px 14px;
  }

  .os-consent__title {
    margin-bottom: 4px;
    font-size: 18px;
  }

  .os-consent__copy {
    font-size: 12px;
    line-height: 1.35;
  }

  .os-consent__copy + .os-consent__copy {
    margin-top: 4px;
  }

  .os-consent__actions {
    margin-top: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .os-consent__button,
  .os-consent__settings {
    transition: none;
  }
}
