.cookie-consent {
  position: fixed;
  z-index: 1000;
  right: 18px;
  bottom: 18px;
  width: min(440px, calc(100vw - 36px));
  padding: 18px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: #10110e;
  color: #fff;
  box-shadow: 0 24px 70px rgba(0,0,0,.32);
}

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

.cookie-consent h2 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.15;
}

.cookie-consent p {
  margin: 0 0 14px;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height: 1.55;
}

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

.cookie-actions button,
.cookie-manage {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.cookie-actions button:first-child {
  border-color: transparent;
  background: #f18b23;
  color: #17100a;
}

.cookie-actions button:nth-child(2),
.cookie-actions button:nth-child(3) {
  background: rgba(255,255,255,.07);
  color: #fff;
}

.cookie-manage {
  position: fixed;
  z-index: 999;
  left: 18px;
  bottom: 18px;
  background: #fff;
  color: #101418;
  box-shadow: 0 12px 34px rgba(0,0,0,.18);
}

.cookie-preferences {
  display: grid;
  gap: 12px;
  margin: 10px 0 14px;
}

.cookie-preferences label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  line-height: 1.45;
}

.cookie-preferences input {
  margin-top: 3px;
}

@media (max-width: 640px) {
  .cookie-consent,
  .cookie-manage {
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: auto;
  }

  .cookie-manage {
    right: auto;
  }
}
