.cookie-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2000;
  display: grid;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 16px;
  background: rgba(16, 16, 20, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 .75rem 2.5rem rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

@media (min-width: 500px) {
  .cookie-consent {
    left: 24px;
    right: auto;
    max-width: 500px;
  }
}

.cookie-consent__text {
  color: rgba(240, 240, 240, 0.88);
  line-height: 1.4;
  font-size: 14px;
}

.cookie-consent__text a {
  color: rgba(240, 240, 240, 0.92);
  text-decoration: none;
  border-bottom: 1px dashed rgba(240, 240, 240, 0.35);
}

.cookie-consent__text a:hover {
  border-bottom-color: rgba(240, 240, 240, 0.6);
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-consent__btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.18);
  color: rgba(240, 240, 240, 0.92);
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 800;
  line-height: 1;
}

.cookie-consent__btn:hover {
  background: rgba(0, 0, 0, 0.26);
}

.cookie-consent__btn.primary {
  background: rgba(240, 180, 0, 0.95);
  border-color: rgba(240, 180, 0, 0.75);
  color: #101014;
}

.cookie-consent__btn.primary:hover {
  background: rgba(255, 192, 0, 0.98);
}

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

.cookie-settings {
  position: fixed;
  inset: 0;
  z-index: 2100;
}

.cookie-settings__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.cookie-settings__card {
  position: relative;
  width: min(680px, calc(100% - 32px));
  margin: 10vh auto 0;
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: rgba(16, 16, 20, 0.80);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.65);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: rgba(240, 240, 240, 0.92);
}

.cookie-settings__title {
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 12px;
}

.cookie-settings__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 10px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.10);
  margin-bottom: 10px;
}

.cookie-settings__label {
  font-weight: 800;
  margin-bottom: 2px;
}

.cookie-settings__desc {
  color: rgba(240, 240, 240, 0.70);
  font-size: 13px;
  line-height: 1.35;
}

.cookie-settings__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
}

.cookie-switch {
  position: relative;
  width: 46px;
  height: 26px;
  display: inline-block;
  flex: 0 0 auto;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-switch__slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: .2s ease;
  border-radius: 999px;
}
.cookie-switch__slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(240, 240, 240, 0.92);
  transition: .2s ease;
  border-radius: 999px;
}
.cookie-switch input:checked + .cookie-switch__slider {
  background: rgba(240, 180, 0, 0.85);
  border-color: rgba(240, 180, 0, 0.65);
}
.cookie-switch input:checked + .cookie-switch__slider:before {
  transform: translateY(-50%) translateX(20px);
  background: #101014;
}
.cookie-switch.is-disabled {
  opacity: 0.55;
}
.cookie-switch.is-disabled .cookie-switch__slider {
  cursor: not-allowed;
}

