.cookie-consent {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1200;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: 16px 18px;
  border: 1px solid rgba(201, 164, 92, 0.22);
  border-radius: 16px;
  background: rgba(26, 17, 53, 0.96);
  color: #f0e6d3;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
}

.cookie-consent[hidden] {
  display: none !important;
}

.cookie-copy {
  display: grid;
  gap: 4px;
}

.cookie-copy strong {
  font-size: 14px;
  color: #f0e6d3;
}

.cookie-copy p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(232, 213, 183, 0.72);
}

.cookie-copy a {
  color: #c9a45c;
}

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

.cookie-actions .primary,
.cookie-actions .secondary {
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.cookie-actions .primary {
  background: #22c55e;
  color: #0d0b1a;
}

.cookie-actions .secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f0e6d3;
}

@media (max-width: 680px) {
  .cookie-consent {
    grid-template-columns: 1fr;
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-actions .primary,
  .cookie-actions .secondary {
    flex: 1;
    min-height: 42px;
  }
}
