.cookie-panel[hidden] { display: none; }
.cookie-panel { position: fixed; z-index: 200; bottom: 16px; left: 16px; right: 16px; max-width: 1100px; margin: auto; display: flex; gap: 24px; align-items: center; padding: 22px; color: #10233d; background: #fffdf6; border: 1px solid #b7b1a1; border-radius: 12px; box-shadow: 0 8px 40px #061f4740; max-height: 65dvh; overflow-y: auto; }
.cookie-panel h2 { font: 700 22px var(--font-sans); margin: 0 0 8px; }
.cookie-panel p { font: 400 14px/1.5 var(--font-sans); margin: 0 0 8px; }
.cookie-panel summary { cursor: pointer; font: 700 14px/1.5 var(--font-sans); padding: 5px 0; }
.cookie-panel details p { margin-top: 8px; }
.cookie-panel__actions { display: flex; flex-direction: column; gap: 10px; flex: 0 0 225px; }
.cookie-panel__actions button { width: 100%; min-height: 46px; padding: 12px; border: 1px solid #0a2a5e; border-radius: 6px; color: #0a2a5e; background: #fffdf6; font: 700 14px/1.4 var(--font-sans); cursor: pointer; }
.cookie-panel__actions button:hover { background: #ebe7da; }
.cookie-panel__actions button:disabled { opacity: .5; cursor: not-allowed; }
.tracking-settings { background: none; border: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; padding: 8px 0; min-height: 44px; }
.cookie-panel button:focus-visible, .cookie-panel summary:focus-visible, .tracking-settings:focus-visible { outline: 3px solid #b21f2e; outline-offset: 3px; }
@media (max-width: 899px) {
  .footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  .tracking-settings { scroll-margin-bottom: 110px; }
}
@media (max-width: 650px) {
  .cookie-panel { left: 10px; right: 10px; bottom: 10px; padding: 16px; display: block; max-height: 65dvh; }
  .cookie-panel__actions { margin-top: 12px; flex-direction: row; align-items: stretch; }
  .cookie-panel__actions button { flex: 1; }
  .cookie-panel h2 { font-size: 19px; }
}
