.cookie-consent[hidden], .cookie-settings[hidden] { display: none; }
.cookie-consent { position: fixed; z-index: 20; left: 24px; bottom: 24px; width: min(480px, calc(100% - 48px)); max-height: calc(100dvh - 48px); overflow-y: auto; padding: 24px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); box-shadow: 0 8px 32px #0005; }
.cookie-consent h2 { margin: 0 0 12px; font-size: 1.25rem; line-height: 1.4; letter-spacing: -.02em; }
.cookie-consent p { margin: 0 0 14px; font-size: 1rem; line-height: 1.55; }
.cookie-consent .cookie-detail { font-size: .875rem; }
.cookie-consent a { text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: 12px; }
.cookie-actions button { flex: 1; min-height: 44px; padding: 10px 14px; border: 1px solid var(--muted); border-radius: 4px; background: var(--bg); font-size: 1rem; }
.cookie-actions button:hover { border-color: var(--blue); }
.cookie-settings { border: 0; border-bottom: 1px solid var(--muted); padding: 8px 0; background: transparent; font-size: .875rem; white-space: nowrap; }
footer { flex-wrap: wrap; }
@media (max-width: 520px) { .cookie-consent { left: 12px; bottom: 12px; width: calc(100% - 24px); max-height: calc(100dvh - 24px); padding: 18px; } }
