/* Keep the app's top surfaces opaque under iOS status/scroll treatments. */
@media (display-mode: standalone) {
  html, body, #main-col, .sidebar { background-color: var(--app-bg, #18181b); }
  #main-col > main { isolation: isolate; }
}

@media (max-width: 767px), (hover: none) and (pointer: coarse) {
 .cptr-desktop-dictation { display: none !important; }
}

/* All main dark surfaces follow the account's selected background. */
html.dark [class~="dark:bg-black"], html.dark[class~="dark:bg-black"],
html.dark [class~="dark:bg-[#000]"], html.dark [class~="dark:bg-[#000000]"] {
 background-color: var(--app-bg) !important;
}
