/* Online status (like Discord) and privacy: status colours, the status picker on your own card,
   the locked profile page and the per-part audience table in the settings. */
:root { --presence-online:#5fd99a; --presence-away:#ffc24a; --presence-dnd:#ff5e6c; --presence-offline:#70728b; }
.presence-offline i { background: var(--presence-offline) !important; box-shadow: none !important; }
/* Invisible: a hollow grey ring, only ever shown to yourself. */
.presence-invisible i { background: transparent !important; box-shadow: inset 0 0 0 2.5px var(--presence-offline) !important; }
.dm-face.presence-invisible .dm-dot { background: var(--presence-offline); }

.pop-presence { display: grid; gap: 6px; margin: 2px 0 12px; }
.pop-presence-title { font-size: 11px; color: var(--muted); letter-spacing: .02em; }
.pop-presence-options { display: flex; flex-wrap: wrap; gap: 6px; }
.pop-presence-option { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--hairline, #ffffff1f); background: color-mix(in srgb, var(--surface, #1b1b22) 80%, transparent); color: var(--ink); font: inherit; font-size: 12px; cursor: pointer; transition: background .15s var(--ease, ease), border-color .15s var(--ease, ease); }
.pop-presence-option:hover { background: var(--surface-hover, #ffffff14); }
.pop-presence-option.is-on { border-color: var(--accent); background: var(--accent-soft, #8f9bff26); }
.pop-presence-option i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.pop-presence-hint { font-size: 11px; color: var(--muted); }
.settings-presence { margin: 4px 0 6px; }
.pop-full.is-locked { cursor: default; opacity: .8; }

.pp-locked { display: flex; align-items: center; gap: 14px; margin: 18px; padding: 22px 20px; border-radius: 14px; background: color-mix(in srgb, var(--surface, #1b1b22) 70%, transparent); border: 1px dashed var(--hairline, #ffffff26); position: relative; z-index: 1; }
.pp-locked-icon { font-size: 26px; line-height: 1; }
.pp-locked strong { display: block; font-size: 15px; }
.pp-locked small { display: block; color: var(--muted); margin-top: 3px; }
.pp-hidden-note { margin: 10px 18px 0; font-size: 12px; color: var(--muted); position: relative; z-index: 1; }
.pp-hidden-note .text-link { font-size: 12px; }

.aud-table { display: grid; gap: 2px; }
.aud-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--hairline, #ffffff14); }
.aud-row:last-of-type { border-bottom: 0; margin-bottom: 12px; }
.aud-name { font-size: 13px; font-weight: 600; }
.aud-choice { display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px; background: var(--surface-2, #ffffff0d); flex: none; }
.aud-option { position: relative; cursor: pointer; }
.aud-option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.aud-option span { display: block; padding: 5px 12px; border-radius: 999px; font-size: 12px; color: var(--muted); transition: background .15s var(--ease, ease), color .15s var(--ease, ease); }
.aud-option input:checked + span { background: var(--accent); color: var(--on-accent, #10111a); font-weight: 600; }
.aud-option input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.settings-inline-btn { justify-self: start; margin-top: 6px; }
@media (max-width: 560px) {
  .aud-row { flex-direction: column; align-items: flex-start; gap: 6px; }
}
