.hp-consent {
  position: fixed;
  z-index: 2147483000;
  left: 50%;
  bottom: 22px;
  width: min(980px, calc(100% - 36px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 20px 22px 20px 24px;
  border: 1px solid rgba(255, 255, 255, .92);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(240, 245, 255, .88));
  color: #1d1d1f;
  box-shadow:
    0 24px 70px rgba(48, 66, 112, .18),
    inset 0 1px 0 rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hp-consent-copy strong {
  display: block;
  margin-bottom: 5px;
  color: #1d1d1f;
  font-size: 1rem;
  letter-spacing: -.02em;
}
.hp-consent:focus { outline: none; }
.hp-consent-copy p { margin: 0; color: #626269; font-size: .84rem; line-height: 1.55; }
.hp-consent-copy a { color: #0066cc; text-decoration: underline; text-underline-offset: 3px; }
.hp-consent-actions { display: flex; align-items: center; gap: 10px; }
.hp-consent-actions button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .66);
  color: #1d1d1f;
  cursor: pointer;
  white-space: nowrap;
  font: 600 .8rem/1 Inter, system-ui, sans-serif;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.hp-consent-actions button:hover { transform: translateY(-1px); border-color: rgba(0, 0, 0, .22); background: rgba(255, 255, 255, .92); }
.hp-consent-actions .hp-consent-allow {
  border-color: #1688ff;
  background: linear-gradient(135deg, #1688ff 0%, #6667e8 100%);
  color: #fff;
  box-shadow: 0 9px 24px rgba(55, 102, 220, .2);
}
.hp-consent-actions .hp-consent-allow:hover {
  border-color: #2491ff;
  background: linear-gradient(135deg, #2491ff 0%, #7472ef 100%);
  box-shadow: 0 12px 28px rgba(55, 102, 220, .26);
}
.hp-consent-actions button:focus-visible,
.hp-consent-settings:focus-visible { outline: 2px solid #0071e3; outline-offset: 3px; }

.hp-consent-settings {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #4f5754;
  cursor: pointer;
  font: inherit;
}
.hp-consent-settings:hover { color: #1d1d1f; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 720px) {
  .hp-consent { grid-template-columns: 1fr; gap: 16px; bottom: 10px; width: calc(100% - 20px); padding: 18px; border-radius: 20px; }
  .hp-consent-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .hp-consent-actions button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .hp-consent, .hp-consent * { scroll-behavior: auto !important; transition: none !important; }
}
