.cookie-banner {
  position: fixed;
  z-index: 100;
  inset: auto 24px 24px;
  max-width: 1160px;
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  margin: 0 auto;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 32px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #b6c5b8;
  border-radius: 12px;
  box-shadow: 0 10px 45px #20352f26;
}
.cookie-banner[hidden], .cookie-banner [hidden], .cookie-settings[hidden] { display: none; }
.cookie-copy { flex: 1; }
.cookie-copy h2 { margin: 0 0 8px; font-family: Georgia, serif; font-size: 23px; font-weight: 400; }
.cookie-copy p { margin: 0 0 8px; font-size: 12px; line-height: 1.7; color: #526358; }
.cookie-copy a { font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.cookie-copy .cookie-current { margin: 8px 0 0; font-size: 11px; }
.cookie-current:empty { display: none; }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; flex-shrink: 0; }
.cookie-actions button { min-height: 44px; padding: 12px 16px; border: 1px solid var(--green); border-radius: 7px; background: var(--paper); color: var(--green); font-size: 12px; cursor: pointer; }
.cookie-actions button:hover { background: #e8ede3; }
.cookie-actions .cookie-close { grid-column: 1 / -1; min-height: 36px; padding: 6px; border-color: transparent; text-decoration: underline; text-underline-offset: 3px; }
.cookie-settings { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.cookie-settings:hover { color: var(--brass); }
.cookie-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 800px) {
  .cookie-banner { inset: auto 16px 16px; max-height: calc(100dvh - 32px); padding: 22px; gap: 18px; flex-direction: column; align-items: stretch; }
  .cookie-actions { flex-shrink: 1; }
}
@media (max-width: 360px) {
  .cookie-actions { grid-template-columns: 1fr; }
  .cookie-actions .cookie-close { grid-column: auto; }
}
