.cookie-notice[hidden] {display:none}
.cookie-notice {
  position:fixed;
  z-index:105;
  inset:auto auto max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));
  display:flex;
  align-items:center;
  gap:10px 16px;
  max-width:min(35rem,calc(100% - 24px));
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--bg);
  color:var(--ink);
  box-shadow:0 5px 22px rgb(12 32 40 / .16);
  font-size:.84rem;
  line-height:1.42;
}
.cookie-notice a {text-decoration:underline;text-underline-offset:2px}
.cookie-notice .btn {flex:none;min-height:44px;padding:7px 11px}
.cookie-options {display:flex;flex-wrap:wrap;gap:8px;margin-block:12px 6px}
#analytics-status {font-size:.9rem;color:var(--sub)}
@media(max-width:780px) {
  .cookie-notice {
    bottom:calc(72px + env(safe-area-inset-bottom));
    font-size:.78rem;
  }
  html.hytera-cookie-open .notice {bottom:calc(160px + env(safe-area-inset-bottom))}
}
@media(max-width:360px) {.cookie-notice {gap:7px}}
@media(max-height:480px) and (max-width:780px) {
  .cookie-notice {bottom:calc(66px + env(safe-area-inset-bottom));padding:6px 9px}
}
