/* NewsNotes ⚙️ Settings — mobile jaisi list */
html.hs-lock, html.hs-lock body { overflow: hidden !important; }
#hn-set { position: fixed; inset: 0; z-index: 2147483100; display: flex; flex-direction: column; background: var(--hnt-bg, #f2f2f7); color: var(--hnt-text, #0f172a);
  transform: translateX(100%); transition: transform .26s cubic-bezier(.2, .8, .2, 1); visibility: hidden; }
#hn-set.on { transform: none; visibility: visible; }
#hn-set.rtl { transform: translateX(-100%); } #hn-set.rtl.on { transform: none; }
#hn-set .hs-top { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; height: 54px; padding: env(safe-area-inset-top, 0) 6px 0; background: var(--hnt-surface, #fff); border-bottom: 1px solid var(--hnt-border, #e5e7eb); }
#hn-set .hs-back { border: 0; background: none; color: inherit; font-size: 32px; line-height: 1; width: 44px; height: 44px; cursor: pointer; }
#hn-set.rtl .hs-back { transform: scaleX(-1); }
#hn-set .hs-ttl { text-align: center; font-size: 17px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#hn-set .hs-body { flex: 1; overflow: auto; -webkit-overflow-scrolling: touch; padding: 6px 14px 20px; }
#hn-set .hs-g { margin: 18px 6px 6px; font-size: 12.5px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; color: var(--hnt-muted, #64748b); }
#hn-set .hs-card { background: var(--hnt-surface, #fff); border-radius: 14px; overflow: hidden; border: 1px solid var(--hnt-border, #e5e7eb); }
#hn-set .hs-row { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 14px; border-top: 1px solid var(--hnt-border, #eef2f6); cursor: pointer; -webkit-tap-highlight-color: transparent; }
#hn-set .hs-card > .hs-row:first-child { border-top: 0; }
#hn-set .hs-row:active { background: rgba(127, 127, 127, .08); }
#hn-set .hs-ic { flex: 0 0 32px; height: 32px; border-radius: 9px; background: rgba(249, 115, 22, .12); display: flex; align-items: center; justify-content: center; font-size: 17px; }
#hn-set .hs-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
#hn-set .hs-tx b { font-size: 15px; font-weight: 600; line-height: 1.35; }
#hn-set .hs-tx small { font-size: 12px; color: var(--hnt-muted, #64748b); line-height: 1.4; }
#hn-set .hs-ch { color: var(--hnt-muted, #94a3b8); font-size: 22px; line-height: 1; }
#hn-set.rtl .hs-ch { transform: scaleX(-1); }
#hn-set .hs-val { color: var(--hnt-muted, #64748b); font-size: 13.5px; white-space: nowrap; }
#hn-set .hs-row.dg b { color: #dc2626; }
#hn-set .hs-sw { flex: 0 0 48px; height: 28px; border-radius: 999px; background: #cbd5e1; position: relative; transition: background .2s; }
#hn-set .hs-sw i { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
#hn-set .hs-sw.on { background: #22c55e; } #hn-set .hs-sw.on i { transform: translateX(20px); }
#hn-set.rtl .hs-sw i { left: auto; right: 3px; } #hn-set.rtl .hs-sw.on i { transform: translateX(-20px); }
#hn-set .hs-opt .hs-rd { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #cbd5e1; }
#hn-set .hs-opt.on .hs-rd { border: 7px solid #f97316; }
#hn-set .hs-pane > * { margin-top: 10px !important; }
#hn-set .hs-pane .hn-section, #hn-set .hs-pane > div { background: var(--hnt-surface, #fff); border-radius: 14px; }
#hn-set .hs-foot { padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0)); background: var(--hnt-surface, #fff); border-top: 1px solid var(--hnt-border, #e5e7eb); }
#hn-set .hs-save { display: block; width: 100%; border: 0; border-radius: 14px; padding: 14px; background: #f97316; color: #fff; font: inherit; font-weight: 800; font-size: 16px; cursor: pointer; }
#hn-set.rtl { font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', serif; }
.hs-toast { position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom, 0)); transform: translate(-50%, 10px); opacity: 0; z-index: 2147483200; background: rgba(15, 23, 42, .94); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; transition: opacity .2s, transform .2s; max-width: 90vw; text-align: center; }
.hs-toast.on { opacity: 1; transform: translate(-50%, 0); }
/* andar ke purane "Save Changes" button chhupao — neeche ka ✓ Save kaafi hai */
#hn-set .hs-pane .hn-submit-bar { display: none !important; }

/* v2.31: ye sab ab ⚙️ Settings me — header me dobara nahi (button DOM me rehte hain, Settings unhe hi chalata hai) */
.hn-dash-header .hn-actions #hnThemeToggle, .hn-dash-header .hn-actions #hnLangSelectBtn,
.hn-dash-header .hn-actions #hnFontSettingsBtn, html body .hn-dash-header .hn-actions a.hn-action-icon.hn-logout-btn { display: none !important; }
#hnDashRoot .hn-dash-header .hn-actions .hn-logout-btn, #hnDashRoot .hn-dash-header .hn-actions #hnThemeToggle,
#hnDashRoot .hn-dash-header .hn-actions #hnLangSelectBtn, #hnDashRoot .hn-dash-header .hn-actions #hnFontSettingsBtn { display: none !important; }
/* v2.32: 🔔 Notifications screen */
#hn-set .hs-pane .hs-g { margin: 18px 6px 6px !important; }
#hn-set .hs-pane .hs-card { margin-top: 0 !important; }
#hn-set .hs-pane .hs-plhost { margin-top: 0 !important; background: none !important; }
#hn-set .hs-pane .hs-plhost > div { background: none !important; }
#hn-set .hs-note { margin: 6px 8px 0 !important; font-size: 12px; color: var(--hnt-muted, #64748b); line-height: 1.45; }
#hn-set .hs-pane > .hs-g { background: none !important; }
#hn-set .hs-pane .hs-plhost + .hs-card { margin-top: 10px !important; }
/* v2.33: 🚀 Shuruaat (naya user) */
#hn-set.hs-away { visibility: hidden !important; pointer-events: none !important; }
#hn-set.hs-setup .hs-back { visibility: hidden; }
#hn-set .hs-su-d { margin: 14px 8px 4px; font-size: 14px; line-height: 1.5; color: var(--hnt-muted, #64748b); }
#hn-set .hs-su-later { display: block; margin: 18px auto 4px; border: 0; background: none; color: var(--hnt-muted, #64748b); font: inherit; font-size: 14.5px; font-weight: 700; padding: 10px 18px; cursor: pointer; }
#hn-set .hs-su-pp { margin: 6px 12px 10px; text-align: center; font-size: 11.5px; line-height: 1.5; color: var(--hnt-muted, #94a3b8); }
#hn-set .hs-pick { padding: 12px 14px; }
#hn-set .hs-plmsg { min-height: 18px; margin-top: 6px; font-size: 13px; }
#hnAuth .hs-guest-btn { display: block; width: 100%; margin: 14px 0 0; border: 1px dashed var(--hnt-border, #cbd5e1); background: none; color: inherit; border-radius: 12px; padding: 11px; font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; }
#hn-set .hs-su-pp a { color: inherit; text-decoration: underline; }
