
/* Settings windows: pop-up (default), a bigger window, or a full page. Chosen in Settings > Appearance. */
@media (min-width: 861px) {
  html[data-sv="wide"] dialog.fullscreen .settings-shell { width: min(1560px, 98vw); height: min(960px, 96vh); }
  html[data-sv="wide"] dialog.fullscreen .settings-content { max-width: 960px; }
  html[data-sv="page"] dialog.fullscreen { background: var(--bg-2); backdrop-filter: none; -webkit-backdrop-filter: none; align-items: stretch; justify-content: stretch; }
  html[data-sv="page"][data-theme="system24"] dialog.fullscreen { background: var(--bg-0); }
  html[data-sv="page"] dialog.fullscreen::backdrop { background: transparent; }
  html[data-sv="page"] dialog.fullscreen .settings-shell { width: 100vw; height: 100dvh; max-height: none; border-radius: 0; border: 0; box-shadow: none; animation: none; }
  html[data-sv="page"] dialog.fullscreen .settings-nav { width: 34%; min-width: 260px; max-width: 460px; padding: 60px 8px 24px 20px; }
  html[data-sv="page"] dialog.fullscreen .settings-body { padding: 60px 56px 90px; border-top-right-radius: 0; }
  html[data-sv="page"] dialog.fullscreen .settings-content { max-width: 820px; }
  html[data-sv="page"] dialog.fullscreen .settings-close { top: 36px; right: 40px; width: 38px; height: 38px; }
  html[data-sv="page"] dialog.fullscreen .settings-close small { display: block; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 4px; font-size: 10px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
  :root[dir="rtl"][data-sv="page"] dialog.fullscreen .settings-close { right: auto; left: 40px; }
  html[data-sv="page"] #user-settings-dialog.pe-modal #sp-profile { top: 2%; bottom: 2%; }
}
