.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  max-width: 560px;
  margin: 0 auto;
  background: #17171a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 20px 24px;
  z-index: 99999;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.75);
  display: none;
}

html.cookies-pending .cookie-banner,
.cookie-banner.show {
  display: block;
}

html.cookies-pending body {
  padding-bottom: calc(180px + env(safe-area-inset-bottom, 0px));
}

html.cookies-pending footer {
  padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
}

html.light .cookie-banner {
  background: #ffffff;
  border-color: rgba(20, 21, 26, 0.14);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.25);
}

.cookie-banner p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  margin: 0 0 14px;
}

html.light .cookie-banner p {
  color: rgba(20, 21, 26, 0.82);
}

.cookie-banner p a {
  color: #6e9bff;
  text-decoration: underline;
}

html.light .cookie-banner p a {
  color: #1d4ed8;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.cookie-accept {
  background: #1d4ed8;
  color: #fff;
}

.cookie-accept:hover {
  background: #3b63e0;
}

.cookie-decline {
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

html.light .cookie-decline {
  color: rgba(20, 21, 26, 0.72);
  border-color: rgba(20, 21, 26, 0.2);
}

.cookie-decline:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

html.light .cookie-decline:hover {
  border-color: rgba(20, 21, 26, 0.35);
}

@media (max-width: 720px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 16px 18px;
  }
}
