.analytics-preferences {
  box-sizing:border-box;
  color:var(--tx2,light-dark(#333,#eee));
  color-scheme:light dark;
  display:flex;
  justify-content:flex-end;
  padding:6px max(12px,env(safe-area-inset-right));
  font-size:12px;
}
.analytics-preferences.analytics-open {
  position:fixed;
  z-index:45;
  right:max(12px,env(safe-area-inset-right));
  bottom:max(12px,env(safe-area-inset-bottom));
  display:block;
  width:min(340px,calc(100% - 24px));
  padding:12px;
  border:1px solid var(--line,light-dark(#dedede,#494949));
  border-radius:14px;
  box-shadow:var(--sh1,0 8px 22px #0002);
  background:var(--bg2,light-dark(#fff,#202020));
}
.analytics-preferences p { margin:0 0 8px; line-height:1.55 }
.analytics-choices { display:flex; align-items:center; justify-content:flex-end; gap:8px; flex-wrap:wrap }
.analytics-preferences a { color:inherit; text-decoration:underline; margin-inline-end:auto }
.analytics-preferences button {
  font:inherit;
  color:inherit;
  background:var(--sf,light-dark(#f5f5f5,#282828));
  padding:6px 10px;
  border:1px solid var(--line,light-dark(#dedede,#494949));
  border-radius:8px;
  cursor:pointer;
}
.analytics-preferences [data-analytics-settings] { border:0; background:transparent; text-decoration:underline }
