.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1000;
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(14, 14, 14, 0.96);
  color: #ffffff;
  font-family: "Reddit Sans", sans-serif;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
}

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

.cookie-banner p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
}

.cookie-banner a {
  color: #f45700;
  text-decoration: underline;
}

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

.cookie-actions button {
  padding: 11px 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  color: #ffffff;
  background: transparent;
}

.cookie-actions button.cookie-accept {
  border-color: transparent;
  background: linear-gradient(90deg, #832604, #f45700);
}

.cookie-actions button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.cookie-preferences {
  margin-left: 6px;
  padding: 0;
  border: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  background: none;
  cursor: pointer;
}

@media (max-width: 520px) {
  .cookie-actions button {
    flex: 1 1 100%;
  }
}
