.ph-consent {
  position: fixed;
  z-index: 1400;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  width: min(920px, calc(100vw - 48px));
  max-height: calc(100dvh - 48px);
  margin-inline: auto;
  padding: 24px;
  overflow-y: auto;
  color: #091a3a;
  background: #ffffff;
  border: 1px solid #cdd6e2;
  box-shadow: 0 18px 52px rgba(9, 26, 58, 0.2);
  font-family: inherit;
}

.ph-consent__content {
  max-width: 650px;
}

.ph-consent__eyebrow {
  margin: 0 0 8px;
  color: #0755c7;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ph-consent h2 {
  margin: 0;
  color: #091a3a;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.ph-consent__content > p:not(.ph-consent__eyebrow) {
  margin: 10px 0 0;
  color: #43516a;
  font-size: 0.9rem;
  line-height: 1.55;
}

.ph-consent__status {
  font-weight: 700;
}

.ph-consent__privacy {
  display: inline-block;
  margin-top: 10px;
  color: #0755c7;
  font-size: 0.86rem;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.ph-consent__actions {
  display: grid;
  align-content: center;
  gap: 10px;
  min-width: 190px;
}

.ph-consent__actions button {
  min-height: 44px;
  padding: 10px 16px;
  color: #ffffff;
  background: #0b326f;
  border: 1px solid #0b326f;
  border-radius: 3px;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
}

.ph-consent__actions button:nth-child(2) {
  background: #0755c7;
  border-color: #0755c7;
}

.ph-consent__actions .ph-consent__close {
  color: #091a3a;
  background: transparent;
  border-color: #aeb8c7;
}

.ph-consent__actions button:hover {
  filter: brightness(1.08);
}

.ph-consent__actions button:focus-visible,
.ph-consent__privacy:focus-visible,
.ph-consent-settings-link:focus-visible {
  outline: 3px solid #f0a31b;
  outline-offset: 3px;
}

.ph-consent-settings-link {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  font: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  cursor: pointer;
}

.footer-meta .ph-consent-settings-link {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
}

@media (max-width: 720px) {
  .ph-consent {
    right: 16px;
    bottom: 16px;
    left: 16px;
    grid-template-columns: 1fr;
    gap: 18px;
    width: calc(100vw - 32px);
    max-height: calc(100dvh - 32px);
    padding: 20px;
  }

  .ph-consent__actions {
    grid-template-columns: 1fr;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ph-consent {
    scroll-behavior: auto;
  }
}
