/* Scoped, fixed-position cookie-consent panel. No existing layout or CSS is affected.
   Sized to its own text (max-content) up to a cap, not a fixed wide box. */
.cookie-choices {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 250;
  width: max-content;
  max-width: min(320px, calc(100vw - 32px));
  padding: 14px 16px;
  background: var(--ink, #141311);
  color: #f3eee4;
  border: 1px solid var(--gold, #b7a27f);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  font:
    400 12px/1.45 'Jost',
    sans-serif;
  box-sizing: border-box;
}
.cookie-choices strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}
.cookie-choices p {
  margin: 0 0 10px;
  color: #e2d8c8;
}
.cookie-choices a {
  color: var(--gold-soft, #d8c7aa);
  text-decoration: underline;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cookie-actions button {
  padding: 6px 11px;
  border: 1px solid var(--gold, #b7a27f);
  background: transparent;
  color: #f3eee4;
  cursor: pointer;
  font: inherit;
  font-size: 11.5px;
  min-height: 32px;
  white-space: nowrap;
}
.cookie-actions button:hover {
  background: #403629;
}
.cookie-actions button:focus-visible,
.cookie-settings:focus-visible {
  outline: 2px solid var(--gold-soft, #d8c7aa);
  outline-offset: 2px;
}
.cookie-settings {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
@media (max-width: 480px) {
  .cookie-choices {
    right: 10px;
    bottom: 10px;
    max-width: calc(100vw - 20px);
  }
}
