.cookie-consent {
  position: fixed;
  inset: auto clamp(16px, 3vw, 32px) clamp(16px, 3vw, 32px);
  z-index: 9999;
  max-width: 980px;
  margin: 0 auto;
  background: #11100f;
  color: #f7f2ea;
  border: 1px solid rgba(199, 160, 92, .5);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .42);
  padding: clamp(20px, 3vw, 30px);
}
.cookie-consent[hidden],
.cookie-modal[hidden] { display: none !important; }
.cookie-consent h2,
.cookie-modal h2 {
  margin: 0 0 12px;
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: 0;
}
.cookie-consent p,
.cookie-modal p,
.cookie-modal li {
  color: rgba(247, 242, 234, .78);
  line-height: 1.6;
  font-size: 14px;
}
.cookie-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}
.cookie-btn {
  appearance: none;
  border: 1px solid rgba(199, 160, 92, .65);
  background: transparent;
  color: #f7f2ea;
  min-height: 46px;
  padding: 12px 16px;
  font-family: var(--mono, monospace);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}
.cookie-btn.primary { background: #c7a05c; color: #11100f; }
.cookie-btn:hover { border-color: #f7f2ea; }
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, .62);
  padding: 18px;
}
.cookie-modal-box {
  width: min(760px, 100%);
  max-height: min(86vh, 780px);
  overflow: auto;
  background: #11100f;
  color: #f7f2ea;
  border: 1px solid rgba(199, 160, 92, .55);
  padding: clamp(22px, 4vw, 38px);
}
.cookie-option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid rgba(247, 242, 234, .12);
}
.cookie-option h3 {
  margin: 0 0 4px;
  font-size: 16px;
  color: #f7f2ea;
}
.cookie-option p { margin: 0; }
.cookie-switch {
  width: 48px;
  height: 28px;
  accent-color: #c7a05c;
}
.cookie-link-button {
  border: 0;
  background: none;
  color: inherit;
  padding: 0;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.third-party-placeholder {
  min-height: 320px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 28px;
  border: 1px solid var(--border, rgba(255, 255, 255, .14));
  background: var(--surface, #151311);
  color: var(--fg-2, #d7cec0);
}
.third-party-placeholder p { max-width: 44ch; margin: 0 0 16px; }
@media (max-width: 640px) {
  .cookie-actions { grid-template-columns: 1fr; }
  .cookie-option { grid-template-columns: 1fr; }
}
