/* Pop Emergency! cookie banner + preferences + embed placeholders. Light and dark (html[data-theme="dark"]). */
.pe-cc{--cc-bg:rgba(255,255,255,.94);--cc-panel:#fff;--cc-ink:#111114;--cc-text:#3f3f46;--cc-mute:#71717a;--cc-line:rgba(17,17,20,.08);--cc-soft:rgba(17,17,20,.04);--cc-red:#ef4444;--cc-pink:#ef589d;--cc-btn:#111114;--cc-btn-ink:#fff;--cc-shadow:0 28px 70px rgba(17,17,20,.18),0 2px 8px rgba(17,17,20,.06);font-family:'DM Sans',system-ui,-apple-system,sans-serif;color:var(--cc-text)}
html[data-theme="dark"] .pe-cc{--cc-bg:rgba(20,20,26,.94);--cc-panel:#14141a;--cc-ink:#f4f4f5;--cc-text:#c4c4cc;--cc-mute:#8b8b94;--cc-line:rgba(255,255,255,.09);--cc-soft:rgba(255,255,255,.05);--cc-btn:#f4f4f5;--cc-btn-ink:#111114;--cc-shadow:0 28px 70px rgba(0,0,0,.6)}
.pe-cc *,.pe-cc *::before,.pe-cc *::after{box-sizing:border-box}
.pe-cc h2,.pe-cc h3,.pe-cc p{margin:0}
.pe-cc button{font-family:inherit;cursor:pointer}

/* ---------- banner ---------- */
.pe-cc-banner{display:none;position:fixed;left:24px;bottom:24px;z-index:2147483000;width:min(460px,calc(100vw - 48px));padding:24px;border-radius:30px;background:var(--cc-bg);-webkit-backdrop-filter:blur(26px) saturate(180%);backdrop-filter:blur(26px) saturate(180%);border:1px solid var(--cc-line);box-shadow:var(--cc-shadow);animation:pe-cc-in .45s cubic-bezier(.2,.9,.3,1.2) both}
html.pe-cc-ask.pe-cc-ready .pe-cc-banner{display:block}
/* Always float bottom-left over the page, whatever other stylesheets or optimisers do. */
html .pe-cc .pe-cc-banner{position:fixed !important;top:auto !important;float:none !important;margin:0 !important}
@keyframes pe-cc-in{from{opacity:0;transform:translateY(24px) scale(.97)}to{opacity:1;transform:none}}
.pe-cc-banner-in{display:grid;grid-template-columns:auto 1fr;gap:0 14px}
.pe-cc-icon{width:44px;height:44px;border-radius:15px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,var(--cc-red),var(--cc-pink));box-shadow:0 10px 22px rgba(239,68,68,.3)}
.pe-cc-icon svg{width:22px;height:22px}
.pe-cc-copy{min-width:0}
.pe-cc-title{font-family:'Archivo Black',sans-serif;font-weight:400;font-size:18px;line-height:1.15;letter-spacing:-.01em;color:var(--cc-ink);margin:2px 0 8px !important}
.pe-cc-desc{font-size:13.5px;line-height:1.6;color:var(--cc-text)}
.pe-cc-desc a,.pe-cc-intro a{color:var(--cc-red);font-weight:700;text-decoration:underline;text-underline-offset:2px;-webkit-text-fill-color:currentColor;background:none}
.pe-cc-actions{grid-column:1 / -1;display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:18px}
.pe-cc-actions .is-ghost{grid-column:1 / -1}

/* ---------- buttons (Accept and Reject look the same, as the ICO expects) ---------- */
.pe-cc-btn{display:inline-flex;align-items:center;justify-content:center;height:46px;padding:0 18px;border-radius:99px;font:800 12px/1 'DM Sans',sans-serif;letter-spacing:.08em;text-transform:uppercase;border:1.5px solid transparent;transition:transform .15s ease,background .2s ease,color .2s ease,border-color .2s ease;white-space:nowrap}
.pe-cc-btn:hover{transform:translateY(-1px)}
.pe-cc-btn:focus-visible,.pe-cc-x:focus-visible,.pe-cc-details summary:focus-visible,.pe-cc-switch input:focus-visible + .pe-cc-track{outline:3px solid var(--cc-red);outline-offset:3px}
.pe-cc-btn.is-solid{background:var(--cc-btn);color:var(--cc-btn-ink);border-color:var(--cc-btn)}
.pe-cc-btn.is-solid:hover{background:var(--cc-red);border-color:var(--cc-red);color:#fff}
.pe-cc-btn.is-ghost{background:transparent;color:var(--cc-ink);border-color:rgba(17,17,20,.16)}
html[data-theme="dark"] .pe-cc-btn.is-ghost{border-color:rgba(255,255,255,.18)}
.pe-cc-btn.is-ghost:hover{border-color:var(--cc-ink)}

/* ---------- preferences ---------- */
.pe-cc-modal{position:fixed;inset:0;z-index:2147483001;display:flex;align-items:center;justify-content:center;padding:20px}
.pe-cc-modal[hidden]{display:none}
html.pe-cc-open,html.pe-cc-open body{overflow:hidden !important}
.pe-cc-backdrop{position:absolute;inset:0;background:rgba(10,10,14,.45);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);opacity:0;transition:opacity .25s ease}
.pe-cc-panel{position:relative;width:min(600px,100%);max-height:min(86vh,780px);display:flex;flex-direction:column;background:var(--cc-panel);border:1px solid var(--cc-line);border-radius:30px;box-shadow:var(--cc-shadow);outline:none;opacity:0;transform:translateY(18px) scale(.98);transition:opacity .25s ease,transform .3s cubic-bezier(.2,.9,.3,1.15)}
html.pe-cc-show .pe-cc-backdrop{opacity:1}
html.pe-cc-show .pe-cc-panel{opacity:1;transform:none}
.pe-cc-phead{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:24px 26px 16px;border-bottom:1px solid var(--cc-line)}
.pe-cc-phead h2{font-family:'Archivo Black',sans-serif;font-weight:400;font-size:22px;letter-spacing:-.01em;color:var(--cc-ink)}
.pe-cc-x{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;border-radius:50%;border:0;background:var(--cc-soft);color:var(--cc-ink);transition:background .2s ease,color .2s ease}
.pe-cc-x:hover{background:var(--cc-red);color:#fff}
.pe-cc-pbody{padding:18px 26px 8px;overflow-y:auto;overscroll-behavior:contain}
.pe-cc-intro{font-size:14px;line-height:1.6;margin-bottom:14px !important}
.pe-cc-cat{padding:16px 0;border-top:1px solid var(--cc-line)}
.pe-cc-cat:first-of-type{border-top:0}
.pe-cc-cat-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.pe-cc-cat h3{font-size:15.5px;font-weight:800;color:var(--cc-ink);margin-bottom:4px !important}
.pe-cc-cat p{font-size:13.5px;line-height:1.55;color:var(--cc-text)}
.pe-cc-always{flex:0 0 auto;margin-top:2px;padding:7px 12px;border-radius:99px;font:800 10.5px/1 'DM Sans',sans-serif;letter-spacing:.1em;text-transform:uppercase;color:#15803d;background:rgba(22,163,74,.1)}
html[data-theme="dark"] .pe-cc-always{color:#4ade80;background:rgba(74,222,128,.1)}
.pe-cc-switch{position:relative;flex:0 0 auto;margin-top:2px;cursor:pointer}
.pe-cc-switch input{position:absolute;opacity:0;width:1px;height:1px}
.pe-cc-track{display:block;width:50px;height:30px;border-radius:99px;background:rgba(17,17,20,.16);position:relative;transition:background .2s ease}
html[data-theme="dark"] .pe-cc-track{background:rgba(255,255,255,.16)}
.pe-cc-track::after{content:"";position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.25);transition:transform .22s cubic-bezier(.2,.9,.3,1.3)}
.pe-cc-switch input:checked + .pe-cc-track{background:linear-gradient(135deg,var(--cc-red),var(--cc-pink))}
.pe-cc-switch input:checked + .pe-cc-track::after{transform:translateX(20px)}
.pe-cc-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.pe-cc-details{margin-top:10px}
.pe-cc-details summary{display:inline-flex;align-items:center;gap:6px;list-style:none;cursor:pointer;font-size:12.5px;font-weight:800;letter-spacing:.04em;color:var(--cc-red);border-radius:99px}
.pe-cc-details summary::-webkit-details-marker{display:none}
.pe-cc-details summary svg{width:15px;height:15px;transition:transform .2s ease}
.pe-cc-details[open] summary svg{transform:rotate(180deg)}
.pe-cc-list{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:6px}
.pe-cc-list li{padding:10px 12px;border-radius:14px;background:var(--cc-soft)}
.pe-cc-li-top{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 10px}
.pe-cc-list code{font:700 12.5px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--cc-ink);background:none;padding:0}
.pe-cc-list span{font-size:11.5px;color:var(--cc-mute)}
.pe-cc-list p{font-size:12.5px !important;margin-top:3px !important}
.pe-cc-cid{padding:4px 26px 0;font-size:11.5px;color:var(--cc-mute)}
.pe-cc-cid code{font-size:11.5px;color:var(--cc-text);background:none}
.pe-cc-pfoot{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;padding:16px 26px 22px;border-top:1px solid var(--cc-line);margin-top:12px}

/* ---------- phones ---------- */
@media (max-width:640px){
    .pe-cc-banner{left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom,0px));width:auto;padding:18px;border-radius:26px}
    .pe-cc-icon{width:38px;height:38px;border-radius:13px}
    .pe-cc-title{font-size:16.5px}
    .pe-cc-desc{font-size:13px;max-height:34vh;overflow:auto}
    .pe-cc-modal{padding:0;align-items:flex-end}
    .pe-cc-panel{width:100%;max-height:92vh;border-radius:28px 28px 0 0;border-bottom:0}
    .pe-cc-phead{padding:20px 20px 14px}
    .pe-cc-pbody{padding:14px 20px 6px}
    .pe-cc-cid{padding:4px 20px 0}
    .pe-cc-pfoot{grid-template-columns:1fr 1fr;padding:14px 20px calc(16px + env(safe-area-inset-bottom,0px))}
    .pe-cc-pfoot .is-ghost{grid-column:1 / -1;order:3}
}
@media (prefers-reduced-motion:reduce){.pe-cc-banner,.pe-cc-panel,.pe-cc-backdrop,.pe-cc-track::after{animation:none !important;transition:none !important}}
@media print{.pe-cc{display:none !important}}

/* ---------- click-to-load placeholders for embeds ---------- */
iframe[data-pe-consent-src]{display:none !important}
.pe-consent-ph{width:100%;display:flex;align-items:center;justify-content:center;min-height:200px;padding:26px 22px;margin:0 0 1em;border-radius:22px;background:linear-gradient(135deg,rgba(239,68,68,.06),rgba(239,88,157,.06)),rgba(17,17,20,.03);border:1px dashed rgba(17,17,20,.16);text-align:center;font-family:'DM Sans',sans-serif;box-sizing:border-box}
.pe-embed .pe-consent-ph{margin:0}
.pe-consent-ph-in{display:flex;flex-direction:column;align-items:center;gap:12px;max-width:440px}
.pe-consent-ph-icon{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#ef4444,#ef589d);box-shadow:0 10px 22px rgba(239,68,68,.28)}
.pe-consent-ph-icon svg{margin-left:3px}
.pe-consent-ph p{margin:0;font-size:13.5px;line-height:1.55;color:#52525b}
.pe-consent-ph strong{display:block;margin-bottom:3px;font-size:15px;color:#111114}
.pe-consent-ph-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
html body .pe-consent-ph .pe-consent-load,html body .pe-consent-ph a.pe-cookie-settings{display:inline-flex;align-items:center;justify-content:center;height:40px;padding:0 18px;border-radius:99px;font:800 11.5px/1 'DM Sans',sans-serif;letter-spacing:.07em;text-transform:uppercase;cursor:pointer;text-decoration:none !important;background-image:none !important;-webkit-text-fill-color:currentColor !important;box-shadow:none !important;border:1.5px solid rgba(17,17,20,.14) !important;background:#fff !important;color:#111114 !important}
html body .pe-consent-ph .pe-consent-load{background:#111114 !important;color:#fff !important;border-color:#111114 !important}
html body .pe-consent-ph .pe-consent-load:hover{background:#ef4444 !important;border-color:#ef4444 !important}
.pe-music-card .pe-consent-ph{min-height:140px;margin:0}
html[data-theme="dark"] .pe-consent-ph{background:linear-gradient(135deg,rgba(239,68,68,.08),rgba(239,88,157,.08)),rgba(255,255,255,.03);border-color:rgba(255,255,255,.14)}
html[data-theme="dark"] .pe-consent-ph p{color:#a1a1aa}
html[data-theme="dark"] .pe-consent-ph strong{color:#f4f4f5}
html[data-theme="dark"] body .pe-consent-ph a.pe-cookie-settings{background:#1a1a20 !important;color:#e4e4e7 !important;border-color:rgba(255,255,255,.12) !important}
html[data-theme="dark"] body .pe-consent-ph .pe-consent-load{background:#f4f4f5 !important;color:#111114 !important;border-color:#f4f4f5 !important}
html[data-theme="dark"] body .pe-consent-ph .pe-consent-load:hover{background:#ef4444 !important;color:#fff !important;border-color:#ef4444 !important}

/* ---------- cookie tables in the Cookie Policy ---------- */
.pe-cc-badge{display:inline-flex;vertical-align:middle;margin-left:8px;padding:5px 10px;border-radius:99px;font:800 10px/1 'DM Sans',sans-serif;letter-spacing:.1em;text-transform:uppercase}
.pe-cc-badge.is-on{color:#15803d;background:rgba(22,163,74,.1)}
.pe-cc-badge.is-choice{color:#b91c1c;background:rgba(239,68,68,.1)}
html[data-theme="dark"] .pe-cc-badge.is-on{color:#4ade80;background:rgba(74,222,128,.1)}
html[data-theme="dark"] .pe-cc-badge.is-choice{color:#fca5a5;background:rgba(239,68,68,.14)}
.pe-cc-table-wrap{container:cctable / inline-size;margin:12px 0 26px;overflow-x:auto;border-radius:18px;border:1px solid rgba(17,17,20,.08)}
html[data-theme="dark"] .pe-cc-table-wrap{border-color:rgba(255,255,255,.09)}
.pe-cc-table{width:100%;border-collapse:collapse;font-size:.9rem;line-height:1.5}
.pe-cc-table th{text-align:left;font:800 11px/1.2 'DM Sans',sans-serif;letter-spacing:.08em;text-transform:uppercase;padding:12px 14px;background:rgba(17,17,20,.03)}
html[data-theme="dark"] .pe-cc-table th{background:rgba(255,255,255,.04)}
.pe-cc-table td{padding:12px 14px;border-top:1px solid rgba(17,17,20,.07);vertical-align:top}
html[data-theme="dark"] .pe-cc-table td{border-color:rgba(255,255,255,.07)}
.pe-cc-table code{font-size:.84em;white-space:nowrap}
.pe-cc-table small{display:block;margin-top:3px;font-size:.75rem;opacity:.7}
@container cctable (max-width:640px){
    .pe-cc-table thead{display:none}
    .pe-cc-table,.pe-cc-table tbody,.pe-cc-table tr,.pe-cc-table td{display:block;width:100%}
    .pe-cc-table tr{padding:10px 14px;border-top:1px solid rgba(17,17,20,.07)}
    .pe-cc-table tr:first-child{border-top:0}
    .pe-cc-table td{border:0;padding:3px 0}
    .pe-cc-table td::before{content:attr(data-label);display:block;font:800 10px/1.4 'DM Sans',sans-serif;letter-spacing:.08em;text-transform:uppercase;opacity:.55}
}
@media print{.pe-cc-table-wrap{border:0}.pe-cc-badge{border:1px solid #999}}
