html.cookie-consent-pending,
html.cookie-consent-pending body {
  overflow: hidden;
}

html.cookie-consent-pending body > * {
  pointer-events: none;
  user-select: none;
}

html.cookie-consent-pending body > .cookie-consent-overlay {
  pointer-events: auto;
  user-select: auto;
}

.cookie-consent-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.cookie-consent-overlay[hidden] {
  display: none;
}

.cookie-consent-modal {
  position: relative;
  width: min(100%, 460px);
  padding: 34px 24px 22px;
  border: 1px solid rgba(204, 0, 0, 0.34);
  border-radius: 18px;
  background: linear-gradient(180deg, #0b0b0b 0%, #160707 100%);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
}

.cookie-consent-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.52);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.cookie-consent-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.8;
  text-align: center;
}

.cookie-consent-actions {
  margin-top: 22px;
  display: grid;
  gap: 12px;
  justify-items: center;
}

.cookie-consent-btn {
  width: 100%;
  min-height: 56px;
  padding: 14px 20px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(22px, 5vw, 28px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cookie-consent-btn-primary {
  background: linear-gradient(135deg, #990000, #cc0000);
  color: #fff;
}

.cookie-consent-decline {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

@media (max-width: 640px) {
  .cookie-consent-overlay {
    padding: 14px;
  }

  .cookie-consent-modal {
    padding: 32px 18px 20px;
    border-radius: 16px;
  }

  .cookie-consent-text {
    font-size: 14px;
  }
}
