.profile-member-grid{display:grid!important;grid-template-columns:1fr 1fr;gap:12px!important}.profile-member-cell{display:flex;min-width:0;flex-direction:column;gap:4px}.profile-member-cell b{text-align:left!important;overflow-wrap:anywhere}.profile-detail-card>div{padding:10px 0}.profile-email-line{align-items:center;flex-wrap:wrap;justify-content:flex-start!important;gap:8px!important}.profile-email-line b{overflow-wrap:anywhere;min-width:0;text-align:left!important}.profile-email-status{font-size:12px;color:#c6a563;white-space:nowrap}.profile-email-status.verified{color:#75c391}.profile-head-card .profile-member-grid{padding-right:72px}.profile-head-card{padding-top:14px!important;padding-bottom:14px!important}.profile-head-card .profile-logo-large{width:60px!important;height:60px!important}.profile-menu-row{padding-top:12px!important;padding-bottom:12px!important;min-height:42px!important}.profile-detail-card button{margin:10px 0}.member-profile-form,.member-accounts-content{display:grid;gap:12px;padding:14px;background:#302b29;border:1px solid #514942;border-radius:16px}.member-profile-form label,.member-accounts-content label{display:grid;gap:6px}.member-profile-form input,.member-accounts-content input,.member-accounts-content select{width:100%;box-sizing:border-box;min-height:42px;border:1px solid #665950;background:#211e1c;color:#eee;border-radius:9px;padding:10px}.member-profile-form input[readonly],.member-accounts-content input[readonly]{color:#b9afa3;background:#292522}.member-profile-form small{color:#b9afa3;line-height:1.4}.member-profile-form [role=alert],.member-accounts-content [role=alert]{color:#ef9691;overflow-wrap:anywhere}.member-account-card{display:grid;gap:8px;padding:12px 0;border-top:1px solid #ffffff18;overflow-wrap:anywhere}.member-account-card>div{display:flex;flex-wrap:wrap;gap:8px}.member-account-card small{color:#cfb475}.member-accounts-content .btn{min-height:40px}.member-profile-form .btn{min-height:42px}@media(max-width:380px){.profile-member-grid{gap:8px!important}.profile-detail-card{padding-left:12px;padding-right:12px}.profile-member-cell{font-size:13px}}

/* Keep the account, nickname and emblem aligned without absolute positioning. */
.profile-page .profile-head-card{display:grid;grid-template-columns:52px minmax(0,1fr);align-items:center;column-gap:12px;min-height:84px!important;padding:12px 14px!important;box-sizing:border-box}
.profile-head-card .profile-member-grid{grid-column:2;grid-row:1;padding-right:0;align-items:center;min-width:0;position:relative;z-index:1}
.profile-head-card .profile-account{font-size:16px!important;padding:6px 8px!important;min-width:0;overflow-wrap:anywhere}
.profile-head-card .profile-nickname{font-size:18px!important;margin:0!important;max-width:none!important;min-width:0;overflow-wrap:anywhere;line-height:1.3}
.profile-head-card .profile-logo-large{position:static!important;grid-column:1;grid-row:1;width:52px!important;height:52px!important;transform:none!important;margin:0;align-self:center}
.profile-head-card .profile-nickname-setup{grid-column:1/-1;grid-row:2;max-width:none!important;min-width:0}

.profile-detail-card>button[data-member-action="edit"]{min-height:32px!important;padding:6px 12px!important;font-size:13px!important;line-height:18px!important;color:#f1d28a!important;background:#443a2c!important;border:1px solid #92754a!important;border-radius:8px!important}
