.cookie-bar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 90000;
  transform: translateX(-50%);
  width: min(880px, calc(100vw - 24px));
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 14px 14px 16px;
  border-radius: 18px;
  background: #16141c;
  color: #f4f1ea;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
}

.cookie-bar[hidden] {
  display: none !important;
}

.cookie-bar-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 168, 0, 0.16);
  color: #ffc233;
}

.cookie-bar-text {
  margin: 0;
  flex: 1 1 auto;
  font-size: 0.86rem;
  line-height: 1.45;
  color: #d9d3c8;
}

.cookie-bar-text a {
  color: #ffc233;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-bar-actions {
  flex: 0 0 auto;
  display: flex;
  gap: 8px;
}

.cookie-bar-no,
.cookie-bar-yes {
  border-radius: 12px;
  padding: 10px 16px;
  font: 700 0.88rem/1 Inter, "Segoe UI", system-ui, sans-serif;
  cursor: pointer;
}

.cookie-bar-no {
  background: transparent;
  color: #f4f1ea;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.cookie-bar-no:hover {
  background: rgba(255, 255, 255, 0.06);
}

.cookie-bar-yes {
  background: #ffa800;
  color: #171208;
  border: 0;
}

.cookie-bar-yes:hover {
  background: #ffc233;
}

.cookie-policy {
  max-width: 720px;
  margin: 8px auto 24px;
}

.cookie-policy h1 {
  font-size: 1.7rem;
  margin-bottom: 8px;
}

.cookie-policy .cookie-lead {
  color: var(--tx-2);
  margin: 0 0 22px;
}

.cookie-policy h2 {
  font-size: 1.05rem;
  margin: 22px 0 8px;
}

.cookie-policy p {
  margin: 0 0 10px;
  color: var(--tx-2);
  line-height: 1.55;
}

@media (max-width: 720px) {
  .cookie-bar {
    flex-wrap: wrap;
    bottom: 12px;
    gap: 12px;
  }

  .cookie-bar-actions {
    width: 100%;
  }

  .cookie-bar-no,
  .cookie-bar-yes {
    flex: 1;
  }
}
