.footer-legal button{font:inherit;color:inherit;border:0;padding:0;background:none;cursor:pointer}
.footer-legal button:hover{color:var(--primary);text-decoration:underline;text-underline-offset:4px}
.cookie-panel{position:fixed;z-index:1000;bottom:24px;left:24px;right:24px;max-width:1040px;margin:auto;padding:24px;background:var(--bg);color:var(--ink);border:1px solid var(--line);border-radius:20px;box-shadow:0 10px 50px #173d2b26;display:flex;align-items:center;gap:28px;max-height:calc(100dvh - 32px);overflow:auto}
.cookie-panel[hidden]{display:none}
.cookie-copy{flex:1;min-width:0}.cookie-copy h2{font-size:20px;line-height:1.3;font-weight:600;margin:0 0 10px}.cookie-copy p{font-size:14px;line-height:1.6;color:var(--muted)}.cookie-copy a{text-decoration:underline;text-underline-offset:3px;color:var(--primary)}.cookie-current:empty{display:none}.cookie-current{margin-top:8px}.cookie-copy .cookie-current{color:var(--ink)}
.cookie-actions{display:flex;gap:12px;flex-shrink:0}.cookie-actions .button{cursor:pointer;white-space:nowrap}
@media(max-width:800px){.cookie-panel{flex-direction:column;align-items:stretch;gap:20px;left:16px;right:16px;bottom:16px;padding:20px}.cookie-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.cookie-actions .button{padding:12px 8px;font-size:13px}}

@media(max-width:480px){
 .cookie-panel{left:12px;right:12px;bottom:12px;padding:16px;gap:12px;border-radius:16px}
 .cookie-copy h2{font-size:18px;margin-bottom:6px}
 .cookie-copy p{font-size:13px;line-height:1.45}
 .cookie-current{margin-top:4px}
 .cookie-actions{gap:8px}
 .cookie-actions .button{min-height:44px;padding:10px 8px}
}

/* Reject is the secondary choice: same size and wording weight as Accept, outlined instead of filled. */
.cookie-actions .button[data-cookie-choice="rejected"]{background:#fff;color:var(--ink);border-color:var(--line)}
.cookie-actions .button[data-cookie-choice="rejected"]:hover{background:#f1f5f0;border-color:#c9d6cc}
