.webpush-settings-v20 { display:flow-root; min-width:0; padding:12px; border:1px solid var(--line,#344047); border-radius:12px; background:var(--panel,#172127); color:var(--text,#edf3f4); font:inherit; }
.webpush-settings-v20 h3 { margin:0 0 8px; font:inherit; font-weight:700; }
.webpush-state-v20 { margin:8px 0; font-weight:600; overflow-wrap:anywhere; }
.webpush-help-v20 { margin:8px 0; color:var(--muted,#b3c2c8); overflow-wrap:anywhere; line-height:1.45; }
.webpush-settings-v20 button { min-height:44px; max-width:100%; white-space:normal; margin-top:4px; }
.webpush-settings-v20 button:focus-visible { outline:2px solid var(--accent,#75e5dd); outline-offset:3px; }
@media(prefers-reduced-motion:reduce) { .webpush-settings-v20 * { transition:none; animation:none; } }

/* The Profile uses mobile-open + mobile-static while its navigation remains
   fixed. Keep the last complete 44px settings action scrollable above that row. */
@media (max-width:720px) {
  body.chats-real-v1 #profileView .page-scroll {
    padding-bottom: calc(15px + 63px + env(safe-area-inset-bottom, 0px));
    scroll-padding-bottom: calc(63px + env(safe-area-inset-bottom, 0px));
  }
}
@media (min-width:721px) and (max-width:1024px) and (max-height:500px) {
  body.chats-real-v1 #profileView .page-scroll {
    padding-bottom: calc(clamp(20px, 4vw, 46px) + 63px + env(safe-area-inset-bottom, 0px));
    scroll-padding-bottom: calc(63px + env(safe-area-inset-bottom, 0px));
  }
}
