/* GameBuddy prototype - ACCOUNT module (owner: the account module agent). Class prefix: ac-. Colors from tokens only (var(--...)); never restyle pd-* classes, compose them.
   Sections: identity | forms | lists */

/* ---------- identity: avatar, display name, @username (the overview and the profile) ---------- */
.ac-identity { display: flex; align-items: center; gap: 16px; padding: 16px 0; min-width: 0; }
.ac-identity__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ac-identity__name { font-size: var(--fs-title); font-weight: 600; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-identity__sub { font-size: var(--fs-md); color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-form .pd-input, .ac-form .pd-pw { max-width: 100%; }
.ac-form .pd-input.is-readonly { background: var(--bg-sunken); }            /* shown, copyable, not editable here */
.ac-form .pd-input.is-readonly .pd-input__el { color: var(--text-2); }
.pd-section__body > .ac-identity + .ac-form { border-top: 1px solid var(--border-subtle); }

/* ---------- forms ---------- */
.ac-form { padding: 20px 0; }
.ac-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ac-form .pd-check { align-items: flex-start; }

/* ---------- lists (devices and sessions) ---------- */
.ac-block { padding: 14px 0; }
.ac-note { margin: 0; padding: 14px 0; }
.ac-foot { padding: 14px 0 16px; border-top: 1px solid var(--border-subtle); }
