
#settingsDrawer .sx-lang{flex-shrink:0;display:flex;background:var(--surface);border-radius:12px;padding:3px;gap:3px;border:1.5px solid var(--border)}
#settingsDrawer .lang-opt{flex:1;padding:6px 6px;margin:0;border-radius:8px;border:none;background:transparent;cursor:pointer;font-size:.7rem;font-weight:800;color:var(--muted);font-family:inherit;display:flex;align-items:center;justify-content:center;gap:4px;transition:.2s}
#settingsDrawer .lang-opt.active{background:var(--theme-accent);color:#fff}
#settingsDrawer .sx-sw{width:42px;height:24px;border-radius:24px;background:var(--border);position:relative;flex-shrink:0;transition:.2s}
#settingsDrawer .sx-sw::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.3);transition:.2s}
#settingsDrawer .sx-sw.on{background:var(--theme-accent)}
#settingsDrawer .sx-sw.on::after{left:21px}
#settingsDrawer .sx-row[hidden]{display:none}


#sxInstallModal{display:none;position:fixed;inset:0;z-index:10050;background:rgba(0,0,0,.6);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);align-items:center;justify-content:center;padding:18px}
#sxInstallModal.open{display:flex}
#sxInstallModal .sxi{background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:24px;box-shadow:var(--shadow-lg,0 20px 50px rgba(0,0,0,.4));width:100%;max-width:400px;padding:22px 20px;font-family:inherit;max-height:calc(100vh - 36px);overflow-y:auto;-webkit-overflow-scrolling:touch}
#sxInstallModal h3{margin:0 0 4px;font-size:1.05rem;font-weight:900}
#sxInstallModal .sxi-s{margin:0 0 12px;font-size:.78rem;font-weight:600;color:var(--muted);line-height:1.45}
#sxInstallModal .sxi-step{display:flex;align-items:center;gap:14px;padding:11px 0;border-bottom:1px solid var(--border);font-size:.84rem;font-weight:700;line-height:1.4}
#sxInstallModal .sxi-step:last-of-type{border-bottom:none}
#sxInstallModal .sxi-n{width:28px;height:28px;border-radius:50%;background:var(--theme-accent);color:#fff;font-size:.75rem;font-weight:900;display:flex;align-items:center;justify-content:center;flex-shrink:0}
#sxInstallModal button.sxi-ok{width:100%;margin-top:12px;padding:12px;border-radius:12px;border:1.5px solid var(--theme-accent);background:var(--theme-accent);color:#fff;font-weight:800;font-size:.85rem;font-family:inherit;cursor:pointer}
#settingsDrawer .sx-row .sx-lbl{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#settingsDrawer .sx-row:has(> .sx-lang){flex-wrap:wrap;row-gap:8px}
#settingsDrawer .sx-row:has(> .sx-lang) > .sx-lbl{flex:0 0 auto;min-width:max-content;overflow:visible;text-overflow:clip}
#settingsDrawer .sx-row:has(> .sx-lang) > .sx-lang{flex:1 1 140px;min-width:140px;margin-left:auto}
