.omae-form-privacy {
  max-width: 55ch;
  margin: 12px 0 0;
  color: #d5d1d3;
  font-size: 13px;
  line-height: 1.5;
}

.omae-form-privacy a,
.omae-policy-content a,
.omae-consent-intro a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.omae-form-privacy a:hover,
.omae-policy-content a:hover,
.omae-consent-intro a:hover {
  color: #ffa6c7;
}

.omae-consent[hidden],
.omae-consent-options[hidden],
.omae-consent button[hidden],
.omae-consent-shortcut[hidden] {
  display: none;
}

.omae-consent {
  position: fixed;
  z-index: 1000;
  inset-inline-end: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  width: min(420px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: clamp(16px, 4vw, 22px);
  background: #222122;
  color: #fbf8fa;
  border: 1px solid #4e454b;
  border-radius: 16px;
  box-shadow: 0 14px 40px #180a1a45, 0 2px 8px #180a1a26;
  font: 14px/1.5 var(--font, Arial, sans-serif);
}

.omae-consent-shortcut {
  position: fixed;
  z-index: 1000;
  inset-inline-end: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  min-height: 44px;
  padding: 8px 15px;
  border: 1px solid #6f5464;
  border-radius: 999px;
  color: #fdf7fb;
  background: #222122;
  box-shadow: 0 4px 16px #180a1a38;
  font: 13px/1.4 var(--font, Arial, sans-serif);
}

.omae-consent-shortcut:hover { background: #453641; }
.omae-consent-shortcut:focus-visible { outline: 2px solid #ffa6c7; outline-offset: 2px; }

.omae-consent-intro h2 {
  margin: 0 34px 8px 0;
  font: 700 19px/1.25 var(--display, var(--font, Arial, sans-serif));
  letter-spacing: normal;
}

.omae-consent-intro p { margin: 0; color: #e1d8de; }
.omae-consent-intro a { display: inline-block; margin-top: 7px; color: #f2b6d7; font-size: 13px; }

.omae-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.omae-consent-actions button {
  flex: 1 1 auto;
  min-height: 44px;
  padding: 8px 11px;
  font: 600 13px/1.25 var(--font, Arial, sans-serif);
  color: #fbf8fa;
  background: #363035;
  border: 1px solid #685761;
  border-radius: 7px;
}

.omae-consent-actions button:hover { background: #4a3945; }
.omae-consent :focus-visible { outline: 2px solid #ffa6c7; outline-offset: 2px; }

.omae-consent-actions button[data-consent-action="settings"] {
  flex-grow: 0;
  border-color: transparent;
  background: transparent;
  color: #f2b6d7;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.omae-consent-actions button[data-consent-action="settings"]:hover { color: #fff; }

.omae-consent-actions button[data-consent-action="save"] {
  background: #e6a7cc;
  color: #271723;
  border-color: #e6a7cc;
}

.omae-consent-actions button[data-consent-action="save"]:hover { background: #f5c0df; }

.omae-consent-close {
  position: absolute;
  inset-block-start: 10px;
  inset-inline-end: 10px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #eadce5;
  font: 24px/1 Arial, sans-serif;
}

.omae-consent-close:hover { background: #39323a; }

.omae-consent-options {
  min-inline-size: 0;
  margin: 15px 0 0;
  padding: 0;
  border: 0;
}

.omae-consent-options legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.omae-consent-options .omae-consent-choice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 57px;
  padding: 8px 11px;
  margin: 0;
  border: 1px solid #473d46;
  border-radius: 8px;
  background: #2b272b;
  cursor: pointer;
}

.omae-consent-choice + .omae-consent-choice { margin-top: 6px; }
.omae-consent-choice:hover { border-color: #87697f; }
.omae-consent-choice-copy { min-width: 0; color: #fbf8fa; font-size: 14px; }
.omae-consent-choice-copy small { display: block; color: #dfcbd8; font-size: 12px; line-height: 1.3; }

.omae-consent-choice input.omae-consent-switch {
  appearance: none;
  width: 40px;
  height: 24px;
  margin: 0;
  padding: 0;
  border: 1px solid #897783;
  border-radius: 999px;
  background: #463b44 radial-gradient(circle, #faf6f9 0 6px, transparent 6.5px) left 4px center / 14px 14px no-repeat;
  cursor: pointer;
}

.omae-consent-choice input.omae-consent-switch:checked {
  border-color: #e6a7cc;
  background: #e6a7cc radial-gradient(circle, #2b1b26 0 6px, transparent 6.5px) right 4px center / 14px 14px no-repeat;
}

@media (forced-colors: active) {
  .omae-consent-choice input.omae-consent-switch { appearance: auto; width: 24px; background: none; }
}

.omae-policy,
.omae-not-found {
  padding-block: clamp(52px, 7vw, 105px);
  background: var(--ink, #222);
  color: #f5f2f3;
}

.omae-policy-content { max-width: 780px; font-size: 16px; line-height: 1.65; }
.omae-policy h1,
.omae-not-found h1 { margin: 0 0 18px; font-size: clamp(25px, 5vw, 48px); overflow-wrap: break-word; }
.omae-policy h2 { margin: 30px 0 8px; font-size: clamp(17px, 2.2vw, 22px); letter-spacing: normal; }
.omae-policy p { margin: 0 0 13px; }
.omae-policy #cookies { scroll-margin-top: 100px; }
.omae-privacy-vendor { color: #ffa2ac; }
.omae-not-found .omae-editorial-kicker { color: #ffa6c7; }
.omae-not-found p { margin: 0 0 18px; }
.omae-not-found nav { display: flex; flex-wrap: wrap; gap: 10px; }
.omae-not-found nav .button:not(.pink) { border: 1px solid #ad8f9f; }
