.profile-access,.profile-save-result,.profile-merge{margin:32px 0;padding:24px 0;border-top:1px solid #33463d;overflow-wrap:anywhere}
.profile-access h2,.profile-save-result h2,.profile-merge h2{font-size:24px;line-height:1.25;margin:0 0 12px;letter-spacing:-.02em}
.profile-access p,.profile-save-result p,.profile-merge p{color:#b7c7bd;max-width:68ch;line-height:1.5;margin:0 0 18px}
.profile-buttons{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.profile-buttons button{min-height:48px}.profile-buttons input{font-size:16px;max-width:100%;padding:12px;color:inherit;background:#152219}
.profile-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px}.profile-section-heading .text-button{flex-shrink:0}
.profile-identities{display:grid;gap:16px;margin:20px 0}.profile-identities>div{display:flex;align-items:center;justify-content:space-between;gap:16px}.profile-identities>div>span:first-child{display:grid;gap:4px;min-width:0}.profile-identities strong{font-size:18px}.profile-identities>div>span>span{color:#b7c7bd}
.profile-error{background:#34221c;color:#ffc5b8;padding:20px;margin-bottom:24px;border-radius:12px;line-height:1.5}.profile-error[hidden]{display:none}.profile-error .profile-buttons{margin-top:16px}
.profile-merge dl{display:flex;flex-wrap:wrap;gap:24px;margin:24px 0}.profile-merge dt{color:#b7c7bd;margin-bottom:8px}.profile-merge dd{margin:0;font-weight:650;font-variant-numeric:tabular-nums}
.credit-account .personal-link-card{display:none}.profile-access button:focus-visible,.profile-save-result button:focus-visible,.profile-merge button:focus-visible{outline:2px solid #a2f2cc;outline-offset:4px}
.profile-access button:disabled,.profile-save-result button:disabled{opacity:.6;cursor:wait}.profile-dev-note{font-size:14px;line-height:1.5;padding:10px 20px;text-align:center;background:#1b2d24;color:#c4d6cc}
/* The landing already has an inline wallet and profile link. Its duplicate
   floating shortcut covered those controls on narrow screens. */
.mw-site .wallet-shortcut{display:none}
@media(max-width:520px){.profile-access,.profile-save-result,.profile-merge{margin:24px 0;padding:20px 0}.profile-buttons{align-items:stretch}.profile-buttons button{flex:1 1 180px}.profile-identities>div{align-items:flex-start;flex-wrap:wrap}.profile-access h2,.profile-save-result h2,.profile-merge h2{font-size:22px}}
/* Profile composition: wallet and costs first; account maintenance comes last. */
.credit-account.profile-account{display:block;max-width:960px;margin:0 auto;padding:0}
.profile-heading{margin:0 0 24px}.profile-heading h1{font-size:34px;line-height:1.2;letter-spacing:-.03em;margin:0}.profile-heading h1 a{display:inline-flex;align-items:center;gap:10px;min-height:44px;color:inherit;text-decoration:none;max-width:100%;overflow-wrap:anywhere}.profile-heading h1 svg{width:18px;height:18px;fill:none;stroke:#adbbb2;stroke-width:1.6;flex-shrink:0}.profile-heading>p{font-size:14px;line-height:1.5;color:#adbbb2;margin:6px 0 0}
.profile-heading a:focus-visible,.profile-new-photo:focus-visible{outline:2px solid #9af0c4;outline-offset:4px;border-radius:4px}
.profile-account>.credit-balance{margin:0}.profile-account>.credit-action-costs{margin:14px 0 0;padding:18px 20px}.profile-account>.credit-action-costs h2{font-size:17px;line-height:1.4;margin-bottom:12px}.profile-account>.credit-action-costs>div{font-size:14px;line-height:1.5;margin-top:8px}
.profile-account>.account-history-heading{margin:28px 0 12px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.profile-account>.account-history-heading h2{font-size:24px;line-height:1.3;margin:0}.profile-new-photo{font-size:14px;line-height:1.4;min-height:44px;display:inline-flex;align-items:center;margin-left:auto;text-align:right;color:#9af0c4;text-underline-offset:4px}
.profile-account>.profile-access{margin:24px 0 0;padding:20px 0 0}.profile-account .profile-access h2{font-size:20px;margin:0 0 10px}.profile-account .profile-access p{font-size:14px;line-height:1.5;margin-bottom:14px}.profile-account .profile-buttons{gap:8px}.profile-account .profile-buttons:empty{display:none}
.profile-signin{scroll-margin-top:24px}.profile-signin .profile-identities{gap:0;margin:6px 0 12px}.profile-signin .profile-identities>div{min-height:58px;padding:10px 0;align-items:center;flex-wrap:nowrap;gap:12px}.profile-signin .profile-identities>div+div{border-top:1px solid #273b2f}.profile-signin .profile-identities strong{font-size:14px;font-weight:600}.profile-signin .profile-identities>div>span>span{font-size:12px;line-height:1.4;overflow-wrap:anywhere}.profile-signin .profile-identities .text-button{font-size:13px;min-height:44px;padding:8px 0;flex-shrink:0}.profile-signin .profile-linked{font-size:12px;color:#adbbb2;flex-shrink:0}.profile-signin .profile-section-heading{align-items:center}.profile-signin .profile-section-heading h2{margin-bottom:0}.profile-signin .profile-section-heading>.text-button{min-height:44px;font-size:14px}
@media(max-width:520px){.profile-heading{margin-bottom:20px}.profile-heading h1{font-size:28px}.profile-account>.credit-action-costs{padding:16px}.profile-account>.account-history-heading h2{font-size:22px}.profile-new-photo{font-size:13px}.profile-account>.profile-access{margin-top:24px;padding-top:18px}.profile-signin .profile-identities>div{min-height:56px}.profile-signin .profile-buttons button{flex-basis:140px;font-size:13px}}
