/* CookiePew | GPL-2.0-or-later. All assets are local. */
#cookiepew { --cp-accent:#7537b3; --cp-on-accent:#fff; font:15px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; color:#252331; text-align:left; }
#cookiepew *, .cp-placeholder * { box-sizing:border-box; }
#cookiepew [hidden] { display:none !important; }
#cookiepew h2 { font:700 21px/1.3 system-ui,sans-serif; color:#201d2b; margin:0 0 12px; letter-spacing:-.3px; }
#cookiepew p { font:inherit; color:inherit; margin:0 0 14px; }
#cookiepew button, .cp-placeholder button { font:600 14px/1.3 system-ui,sans-serif; text-transform:none; letter-spacing:normal; cursor:pointer; min-height:44px; border:1px solid transparent; border-radius:8px; padding:11px 15px; margin:0; box-shadow:none; transition:filter .15s ease; }
#cookiepew button:hover, .cp-placeholder button:hover { filter:brightness(.93); }
#cookiepew button:focus-visible, #cookiepew a:focus-visible, #cookiepew summary:focus-visible, #cookiepew input:focus-visible, .cp-placeholder button:focus-visible { outline:3px solid #2563eb; outline-offset:3px; }
#cookiepew .cp-banner { position:fixed; bottom:22px; left:22px; z-index:2147483600; width:430px; max-width:calc(100vw - 44px); max-height:calc(100dvh - 44px); overflow:auto; background:#fff; padding:24px; border:1px solid #e6e2ed; border-radius:16px; box-shadow:0 12px 48px #21163229; }
#cookiepew.cp-right .cp-banner { left:auto; right:22px; }
#cookiepew.cp-bar .cp-banner { left:22px; right:22px; width:auto; }
#cookiepew .cp-actions { display:flex; gap:9px; flex-wrap:wrap; margin-top:18px; }
#cookiepew .cp-actions button { flex:1 1 auto; background:var(--cp-accent); color:var(--cp-on-accent); }
#cookiepew .cp-actions .cp-secondary { flex-basis:100%; background:#f5f2f8; color:#252331; border-color:#d8d1e0; }
#cookiepew .cp-links { font-size:13px; margin:10px 0; }
#cookiepew a { color:#3a3164; text-decoration:underline; text-underline-offset:3px; }
#cookiepew .cp-reopen { position:fixed; left:18px; bottom:18px; z-index:2147483599; display:inline-flex; align-items:center; justify-content:center; width:56px; height:56px; min-width:56px; min-height:56px; max-width:56px; max-height:56px; padding:0; overflow:hidden; border-radius:50%; background:#fff; color:#252331; border-color:#d8d1e0; box-shadow:0 3px 15px #21163222; }
#cookiepew .cp-reopen img { display:block; width:100%; height:100%; max-width:100%; margin:0; padding:0; border:0; border-radius:inherit; object-fit:cover; pointer-events:none; }
#cookiepew.cp-right .cp-reopen { left:auto; right:18px; }
#cookiepew .cp-overlay { position:fixed; inset:0; z-index:2147483640; background:#15122199; display:flex; align-items:center; justify-content:center; padding:20px; }
#cookiepew .cp-dialog { position:relative; background:#fff; border-radius:18px; padding:28px; width:650px; max-width:100%; max-height:calc(100dvh - 40px); overflow:auto; overscroll-behavior:contain; outline:none; box-shadow:0 16px 64px #0003; }
#cookiepew .cp-dialog-head { display:flex; align-items:flex-start; gap:15px; justify-content:space-between; }
#cookiepew .cp-close { background:#f5f2f8; color:#252331; font-size:25px; min-width:44px; padding:3px 10px; flex-shrink:0; }
#cookiepew .cp-category { display:flex; gap:20px; align-items:center; justify-content:space-between; padding:17px 0; border-top:1px solid #e9e5ed; }
#cookiepew .cp-category label { font-weight:700; display:block; margin:0 0 4px; color:#252331; }
#cookiepew .cp-category p { font-size:13px; margin:0; color:#5e586b; }
#cookiepew .cp-category input { appearance:auto; -webkit-appearance:checkbox; position:static; opacity:1; width:22px; height:22px; flex:0 0 22px; margin:0 3px; accent-color:var(--cp-accent); cursor:pointer; }
#cookiepew .cp-category input:disabled { cursor:default; }
#cookiepew details { border-top:1px solid #e9e5ed; padding:16px 0; }
#cookiepew summary { cursor:pointer; font-weight:600; }
.cp-cookie-list dl { margin:14px 0; padding:12px; background:#f7f5f9; color:#252331; border-radius:6px; font:13px/1.55 system-ui,sans-serif; overflow-wrap:anywhere; }
.cp-cookie-list dt { font-weight:700; margin:0 0 4px; }.cp-cookie-list dd { margin:3px 0; }
.cp-placeholder { font:14px/1.5 system-ui,sans-serif; padding:28px 20px; border:1px solid #ddd6e6; border-radius:10px; text-align:center; color:#51485e; background:#f7f5f9; min-height:140px; display:flex; align-items:center; justify-content:center; flex-direction:column; gap:10px; }
.cp-placeholder p { margin:0; }.cp-placeholder button { background:#fff; color:#252331; border-color:#c9bfd4; }
.cp-noscript { padding:15px; background:#f7f5f9; color:#252331; font:14px/1.5 system-ui,sans-serif; }
img[data-cookiepew-blocked] { visibility:hidden; }
@media (max-width:600px) { #cookiepew .cp-banner, #cookiepew.cp-right .cp-banner, #cookiepew.cp-bar .cp-banner { left:12px; right:12px; bottom:12px; width:auto; max-width:calc(100vw - 24px); max-height:calc(100dvh - 24px); padding:20px; border-radius:12px; } #cookiepew .cp-overlay { padding:12px; } #cookiepew .cp-dialog { padding:20px; max-height:calc(100dvh - 24px); border-radius:12px; } #cookiepew h2 { font-size:20px; } }
@media (prefers-reduced-motion:reduce) { #cookiepew button { transition:none; } }
