.consent-backdrop {
  display: none;
}

.consent-modal[hidden],
.consent-backdrop[hidden] {
  display: none !important;
}

.consent-modal {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  width: min(calc(100vw - 1.5rem), 28rem);
}

.consent-modal__panel {
  width: 100%;
  padding: 1.1rem 1.1rem 1rem;
  border: 1px solid rgba(20, 33, 24, 0.12);
  border-radius: 1.35rem;
  box-shadow: 0 24px 60px rgba(9, 14, 23, 0.16);
  background:
    radial-gradient(circle at top right, rgba(195, 138, 54, 0.12), transparent 34%),
    rgba(252, 250, 244, 0.97);
  color: #142118;
  backdrop-filter: blur(16px);
}

.consent-modal__panel h2 {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.consent-modal__copy,
.consent-modal__note {
  margin: 0.7rem 0 0;
  color: #4d5b50;
  line-height: 1.55;
  font-size: 0.95rem;
}

.consent-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: flex-end;
  margin-top: 1rem;
}

.consent-modal__actions .button {
  min-height: 2.9rem;
  padding: 0 1.2rem;
  border-radius: 0.95rem;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease, background 140ms ease;
}

.consent-modal__actions .button:hover {
  transform: translateY(-1px);
}

.consent-modal__actions .button--ghost {
  border-color: rgba(20, 33, 24, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: #142118;
}

.consent-modal__actions .button--solid {
  background: linear-gradient(135deg, #153426, #1f5a3d);
  color: #f7f2e7;
  box-shadow: 0 14px 28px rgba(21, 52, 38, 0.2);
}

.consent-footer-link {
  appearance: none;
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.site-footer .consent-footer-link {
  margin-top: 0.95rem;
  color: #4d5b50;
  font-weight: 700;
}

.site-footer .consent-footer-link:hover,
.site-footer .consent-footer-link:focus-visible {
  color: #153426;
}

.play-consent-footer {
  position: fixed;
  left: 0.85rem;
  bottom: 0.85rem;
  z-index: 65;
  pointer-events: none;
}

.play-consent-footer .consent-footer-link {
  pointer-events: auto;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(17, 24, 39, 0.76);
  color: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.play-consent-footer .consent-footer-link:hover,
.play-consent-footer .consent-footer-link:focus-visible {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
}

@media (max-width: 720px) {
  .consent-modal {
    right: 0.75rem;
    left: 0.75rem;
    bottom: 0.75rem;
    width: auto;
  }

  .consent-modal__panel {
    padding: 1rem;
    border-radius: 1.15rem;
  }

  .consent-modal__actions {
    justify-content: stretch;
  }

  .consent-modal__actions .button {
    flex: 1 1 12rem;
    justify-content: center;
  }

  .play-consent-footer {
    left: 0.75rem;
    bottom: 0.75rem;
  }
}
