.cookie-dialog {
  --cookie-black: #000;
  position: fixed;
  inset: auto 0 0;
  z-index: 10000;
  isolation: isolate;
  box-sizing: border-box;
  width: 100%;
  max-height: calc(100dvh - 16px);
  margin: 0;
  padding: 24px max(24px, 3vw);
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
  padding-left: max(24px, 3vw, env(safe-area-inset-left));
  padding-right: max(24px, 3vw, env(safe-area-inset-right));
  border: 0;
  border-radius: 0;
  background: var(--cookie-black);
  color: #fff;
  font-family: Figtree, Arial, sans-serif;
  line-height: 1.5;
  overflow: auto;
  overscroll-behavior: contain;
}
.cookie-dialog:not([hidden]) { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px 40px; animation: cookie-enter .28s cubic-bezier(.16, 1, .3, 1) both; }
.cookie-dialog[hidden] { display: none !important; }
html body .cookie-dialog, html body .cookie-dialog * { cursor: auto !important; }
html body .cookie-dialog :is(button, a) { cursor: pointer !important; }
.cookie-dialog *, .cookie-dialog *::before, .cookie-dialog *::after { box-sizing: border-box; }
.cookie-content { display: flex; flex-direction: column; min-width: 0; gap: 6px; }
.cookie-dialog #cookie-title { margin: 0; font-family: 'DM Sans', Arial, sans-serif; font-size: 20px; font-weight: 600; line-height: 1.25; letter-spacing: -.025em; text-align: left; }
.cookie-description { max-width: 76ch; margin: 0; color: #b9c2c9; font-size: 16px; line-height: 1.5; text-align: left; }
.cookie-description a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: grid; grid-template-columns: repeat(2, minmax(120px, 1fr)); gap: 12px; margin: 0; }
.cookie-choice { position: relative; isolation: isolate; display: flex; justify-content: center; align-items: center; min-height: 48px; padding: 12px 20px; border: 0; border-radius: 0; background: #fff; color: #fff; clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%); font-family: 'DM Sans', Arial, sans-serif; font-size: 14px; font-weight: 500; line-height: 1.3; text-align: center; }
.cookie-choice::before { content: ''; position: absolute; inset: 1px; z-index: -1; background: var(--cookie-black); clip-path: polygon(0 0, calc(100% - 15.4px) 0, 100% 15.4px, 100% 100%, 0 100%); transition: background-color .2s; }
.cookie-choice:hover::before { background: #1a2229; }
.cookie-dialog :is(button, a):focus-visible { outline: 2px solid #67c2ff; outline-offset: -4px; }
.cookie-description a:focus-visible { outline-offset: 3px; }
.cookie-settings-link { max-width: 100%; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; }
.cookie-settings-link:not(.site-footer__link) { font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.cookie-settings-link:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
@keyframes cookie-enter { from { opacity: 0; transform: translateY(100%); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 900px) {
  .cookie-dialog:not([hidden]) { grid-template-columns: 1fr; gap: 20px; }
  .cookie-actions { justify-self: start; }
}
@media (max-width: 600px) {
  .cookie-dialog { padding: 20px max(20px, env(safe-area-inset-left)) calc(20px + env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-right)); }
  .cookie-dialog #cookie-title { font-size: 18px; }
  .cookie-actions { justify-self: stretch; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cookie-choice { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) { .cookie-dialog:not([hidden]) { animation: none; } .cookie-choice::before { transition: none; } }
