.denpulse-preference{position:fixed;z-index:1001;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));width:calc(100% - 24px);max-width:760px;max-height:calc(100dvh - 100px);overflow-y:auto;overscroll-behavior:contain;margin:0 auto;box-sizing:border-box;padding:12px 16px;border:2px solid var(--line, #354156);border-radius:var(--radius, 18px);background:var(--card, #212936);color:var(--ink, #edeef2);box-shadow:var(--shadow, 0 10px 34px #0006);font:16px/1.5 Outfit, "Outfit Fallback", system-ui, sans-serif;color-scheme:dark}.denpulse-preference summary{min-height:44px;display:list-item;cursor:pointer;font-weight:650;align-content:center}.denpulse-preference p{margin:10px 0}.denpulse-preference button,[data-analytics-settings-open]{min-height:44px;padding:8px 16px;border:2px solid var(--ks2-text, #3fd0bf);border-radius:12px;background:var(--ks2, #3fd0bf);color:var(--denpulse-choice-on, #10131a);font:inherit;cursor:pointer}.denpulse-preference button:disabled{background:var(--card2, #283345);color:var(--ink-soft, #a5aec0);cursor:default}.denpulse-preference a{display:block;min-height:44px;margin-top:8px;align-content:center;color:var(--ks2-text, #3fd0bf);text-decoration:underline}.denpulse-preference :focus-visible,[data-analytics-settings-open]:focus-visible{outline:3px solid var(--ks2-text, #3fd0bf);outline-offset:3px}@media print{.denpulse-preference{display:none}}

.denpulse-preference label{display:flex;align-items:center;gap:10px;min-height:44px;font-size:14px;cursor:pointer;margin:10px 0}.denpulse-preference label[hidden]{display:none}.denpulse-preference input[type=checkbox]{width:22px;height:22px;flex:none;margin:0;accent-color:var(--ks2-text, #3fd0bf)}

.denpulse-preference button{margin:4px}.denpulse-preference [hidden]{display:none}.denpulse-preference h2{font-size:1.25rem;margin:0 0 8px}.denpulse-preference details{margin-top:8px}

@media(max-width:400px) and (max-height:700px){.denpulse-preference{padding:8px 12px}.denpulse-preference p{margin:6px 0;line-height:1.3}.denpulse-preference h2{margin-bottom:4px}.denpulse-preference details{margin-top:0}}

/* Keep dismissed settings out of the layout. Reopen them from Privacy settings. */
.denpulse-preference[hidden]{display:none;}

 .denpulse-preference [data-denpulse-choice-actions]{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px;align-items:center}
.denpulse-preference [data-denpulse-choice-actions] button{margin:0}
.denpulse-preference [data-denpulse-reject],.denpulse-preference [data-denpulse-settings-toggle],.denpulse-preference [data-denpulse-close-settings],[data-analytics-settings-open]{background:var(--card, #212936);color:var(--ks2-text, #3fd0bf)}
@media(max-width:400px){.denpulse-preference [data-denpulse-choice-actions]{flex-direction:column;align-items:stretch}.denpulse-preference [data-denpulse-choice-actions] button{width:100%}}

:root[data-theme="light"] .denpulse-preference{color-scheme:light;--denpulse-choice-on:#081b19;--ks2:#0d9488;--ks2-text:#08776f}
@media(prefers-color-scheme:light){:root:not([data-theme="dark"]) .denpulse-preference{color-scheme:light;--denpulse-choice-on:#081b19;--ks2:#0d9488;--ks2-text:#08776f}}

/* Noticeable when opened, without ongoing movement or motion for those who opt out. */
.denpulse-preference{border-color:color-mix(in srgb, var(--ks2-text, #3fd0bf) 65%, var(--line, #354156));animation:denpulse-choice-enter .28s ease-out both}
@keyframes denpulse-choice-enter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.denpulse-preference{animation:none}}

/* Inline policy help stays within the existing choice paragraph. */
.denpulse-preference [data-denpulse-simple-privacy-link]{display:inline;min-height:0;margin-top:0}

/* Keep keyboard targets clear of the actual shared overlays. */
html{scroll-padding-top:var(--tld-focus-top,0px);scroll-padding-bottom:var(--tld-focus-bottom,0px)}
/* Focus padding already reserves the header; retain only the remaining anchor margin. */
html [id]{scroll-margin-top:max(0px,calc(var(--sticky-header-offset,0px) - var(--tld-focus-top,0px)))}
.denpulse-preference{bottom:max(calc(12px + env(safe-area-inset-bottom)),calc(var(--tld-focus-navigation,0px) + 8px))}
.denpulse-preference[data-denpulse-layout="flow"]{position:fixed;left:12px;right:12px;width:calc(100% - 24px);max-height:calc(100dvh - 100px);overflow-y:auto;overscroll-behavior:contain;margin:0 auto}
[data-denpulse-focus-spacer]{display:block;flex:0 0 auto;height:var(--tld-focus-extra-space,0px);pointer-events:none}
@media print{[data-denpulse-focus-spacer]{display:none}}
