/* Notifications: Profile card toggles + the /u/:token unsubscribe page. */

.nt-card h3 { margin: 0 0 6px; }
.nt-sub { margin: 0 0 12px; font-size: 14px; overflow-wrap: anywhere; }
.nt-list { list-style: none; margin: 0; padding: 0; }
.nt-row + .nt-row { border-top: 1px solid var(--line); }
.nt-switch { display: flex; align-items: center; gap: 14px; padding: 12px 0; cursor: pointer; position: relative; }
.nt-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.nt-label { font-weight: 700; font-size: 15px; }
.nt-desc { color: var(--muted); font-size: 13px; line-height: 1.4; }
.nt-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.nt-track {
  flex: none; width: 46px; height: 28px; border-radius: 999px; background: var(--surface3);
  border: 1px solid var(--line2); position: relative; transition: background .18s ease, border-color .18s ease;
}
.nt-thumb {
  position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--muted); transition: transform .18s ease, background .18s ease;
}
.nt-switch input:checked + .nt-track { background: var(--accent); border-color: var(--accent); }
.nt-switch input:checked + .nt-track .nt-thumb { transform: translateX(18px); background: #fff; }
.nt-switch input:focus-visible + .nt-track { outline: 2px solid var(--accent-hi); outline-offset: 2px; }
.nt-switch input:disabled + .nt-track { opacity: .6; }
.nt-dev { margin: 12px 0 0; font-size: 12px; color: var(--dim); line-height: 1.5; }
.nt-dev b { color: var(--brand); margin-right: 4px; }
.nt-dev code { font-size: 12px; }
@media (prefers-reduced-motion: reduce) { .nt-track, .nt-thumb { transition: none; } }

/* Standalone unsubscribe page (served by the server, no app shell). */
.nt-page {
  margin: 0; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px 16px;
  box-sizing: border-box; background: #07070a; color: #f5f5f8;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
.nt-box { width: 100%; max-width: 420px; background: #13131b; border: 1px solid #2a2a3a; border-radius: 20px; padding: 28px 22px; }
.nt-box h1 { font-size: 22px; line-height: 1.3; margin: 18px 0 10px; }
.nt-box p { color: #a1a1b5; line-height: 1.55; margin: 0 0 18px; overflow-wrap: anywhere; }
.nt-box form { margin: 0 0 12px; }
.nt-logo { font-weight: 800; font-size: 20px; color: #f5f5f8; text-decoration: none; letter-spacing: -0.3px; }
.nt-logo span { color: #c8ff3d; }
.nt-btn {
  display: inline-block; background: #c8ff3d; color: #0a0a0d; font: inherit; font-weight: 700; font-size: 15px;
  padding: 11px 18px; border-radius: 999px; border: 0; text-decoration: none; cursor: pointer;
}
.nt-btn.ghost { background: transparent; color: #f5f5f8; border: 1px solid #383849; }
.nt-link { color: #a1a1b5; font-size: 14px; }
