/* Настройки статистики: самостоятельная компактная плашка, сайт остаётся доступным. */
.analytics-consent{position:fixed;right:20px;bottom:20px;z-index:32;width:min(400px,calc(100vw - 40px));max-height:calc(100dvh - 120px);overflow:auto;padding:18px;border:1px solid var(--card-line,#393939);border-radius:var(--r-card,12px);background:var(--bg,#000);color:var(--text,#f5f5f5);box-shadow:0 8px 30px #0005;font-family:var(--font,"Mauer",Arial,sans-serif)}
.analytics-consent[hidden]{display:none!important}
.analytics-consent__text{font-size:14px;line-height:1.45;max-width:unset;padding-right:0}
.analytics-consent__text a{white-space:nowrap;text-underline-offset:3px}
.analytics-consent__choices{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}
.analytics-consent__button{min-height:44px;padding:10px 8px;border:1px solid var(--muted,#9b9b9b);border-radius:var(--r-s,8px);background:transparent;color:inherit;font:700 13px/1.2 var(--font-h,"Helvetica",Arial,sans-serif)}
.analytics-consent__button:hover{background:var(--line,#242424)}
.analytics-consent__close{display:block;margin:8px 0 -8px auto;width:44px;height:44px;border-radius:var(--r-s,8px);color:var(--muted,#9b9b9b);font-size:24px;line-height:1}
.analytics-consent__close:hover{background:var(--line,#242424);color:inherit}
.analytics-consent__button:focus-visible,.analytics-consent__close:focus-visible,.analytics-consent a:focus-visible{outline:2px solid currentColor;outline-offset:3px}
@media(max-width:720px){
  .analytics-consent{left:var(--gutter,20px);right:var(--gutter,20px);bottom:calc(88px + env(safe-area-inset-bottom));width:auto;max-height:calc(100dvh - 190px - env(safe-area-inset-bottom));padding:14px}
  .analytics-consent__text{font-size:13px}
  .analytics-consent__choices{margin-top:12px}
}
