/* Scoped consent presentation only; existing Roboto resources come from fonts.css. */
.statistics-consent{position:fixed;z-index:100000;left:auto;right:max(24px,env(safe-area-inset-right));bottom:max(24px,env(safe-area-inset-bottom));width:430px;max-width:calc(100% - 48px);margin:0;padding:22px;background:#080808;color:#fff;border:1px solid #6eece0;border-radius:12px;font:400 15px/1.5 Roboto,Arial,sans-serif;font-stretch:normal;letter-spacing:0;text-align:left;box-sizing:border-box;max-height:calc(100dvh - 48px);overflow-y:auto;overflow-wrap:break-word}
.statistics-consent[hidden]{display:none!important}
.statistics-consent h2{font:700 18px/1.25 Roboto,Arial,sans-serif;font-stretch:normal;letter-spacing:0;text-transform:none;margin:0 0 7.5px}
.statistics-consent p{font:400 15px/1.5 Roboto,Arial,sans-serif;font-stretch:normal;letter-spacing:0;color:inherit;text-transform:none;margin:0 0 14px}
.statistics-consent [data-consent-body]{font-size:14.25px;margin-bottom:15.5px}
.statistics-consent-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin:0 0 13.5px}
.statistics-consent button{box-sizing:border-box;width:100%;height:44px;min-height:44px;border:1px solid transparent;border-radius:22px;padding:0 10px;font:500 14px/1.3 Roboto,Arial,sans-serif;font-stretch:normal;letter-spacing:0;text-transform:none;cursor:pointer;white-space:normal}
.statistics-consent [data-consent-no]{background:#ff2d7a;border-color:#ff2d7a;color:#080808}
.statistics-consent [data-consent-yes]{background:#6eece0;border-color:#6eece0;color:#080808}
.statistics-consent button:hover{filter:brightness(1.08)}
.statistics-consent :is(button,summary,a):focus-visible,.statistics-settings:focus-visible{outline:3px solid #6eece0!important;outline-offset:3px!important}
.statistics-consent summary{font:400 13px/1.5 Roboto,Arial,sans-serif;letter-spacing:0;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.statistics-consent details p{margin-top:12px}
.statistics-consent a{font:400 13px/1.5 Roboto,Arial,sans-serif;letter-spacing:0;color:#6eece0;text-decoration:underline;text-underline-offset:3px}
.statistics-consent [data-consent-note]{font:400 13px/1.5 Roboto,Arial,sans-serif;margin:10px 0 0}
.statistics-consent [data-consent-note]:empty{display:none}
.statistics-settings{display:block;background:transparent;color:#6eece0;border:1px solid currentColor;padding:10px 16px;margin:18px 0;font:500 14px/1.5 Roboto,Arial,sans-serif;letter-spacing:0;cursor:pointer;min-height:44px}
body:has(>.statistics-consent:not([hidden])){padding-bottom:var(--statistics-consent-space,0px)}
body:has(>.statistics-consent:not([hidden])) footer{bottom:var(--statistics-consent-space,0px)}
@media(max-width:760px){.statistics-consent{left:max(16px,env(safe-area-inset-left));right:max(16px,env(safe-area-inset-right));bottom:calc(max(8px,env(safe-area-inset-bottom)) - 8px);width:auto;max-width:none;padding:18px;max-height:calc(100dvh - max(16px,env(safe-area-inset-top)) - max(16px,env(safe-area-inset-bottom)))}.statistics-consent-actions{gap:8px}}
@media(max-width:350px){.statistics-consent-actions{grid-template-columns:minmax(0,1fr)}}
/* Large desktop only; the approved intermediate-width panel remains unchanged. */
@media(min-width:1100px){
.statistics-consent{width:480px;display:grid;grid-template-columns:minmax(0,1fr) 130px;column-gap:16px}
.statistics-consent h2{grid-column:1;grid-row:1;margin-bottom:6px}
.statistics-consent [data-consent-body]{grid-column:1;grid-row:2;margin:0}
.statistics-consent-actions{grid-column:2;grid-row:1 / span 2;align-self:end;grid-template-columns:minmax(0,1fr);gap:8px;margin:0}
.statistics-consent button{white-space:nowrap;padding-inline:8px}
.statistics-consent details{grid-column:1 / -1;grid-row:3;margin-top:12px}
.statistics-consent [data-consent-note]{grid-column:1 / -1;grid-row:4}
}
/* Compact mobile rhythm; preserve 44px touch targets and the existing disclosure. */
@media(max-width:760px){
.statistics-consent{padding:16px;font-size:14px;line-height:1.4}
.statistics-consent h2{font-size:17px;line-height:1.4;margin-bottom:4.5px}
.statistics-consent p{font-size:14px;line-height:1.4;margin-bottom:8px}
.statistics-consent [data-consent-body]{font-size:13.3px;margin-bottom:7.5px}
.statistics-consent-actions{margin-bottom:5.5px}
.statistics-consent details p{margin-top:10px}
}

.statistics-consent [data-consent-detail]{white-space:pre-line}
