.profile-shell{max-width:69rem;margin:0 auto;padding:clamp(2rem,6vw,5rem) max(1rem,4vw);min-height:85vh}
.profile-shell h1{font-size:clamp(2.4rem,7vw,5rem);line-height:1.04;max-width:19ch;overflow-wrap:anywhere;margin:.55em 0 .2em}
.profile-back,.profile-shell a:not(.btn){color:#9ff0ce;text-underline-offset:.22em}
.profile-shell>#intro{font-size:1.16rem;max-width:59ch;color:#d3ded8}
.profile-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:1rem}.profile-shell [hidden]{display:none!important}
.profile-grid section,.profile-shell>section{background:#14221e;border:1px solid #385547;border-radius:1rem;padding:clamp(1rem,3vw,2rem);margin:1rem 0;color:#edf9f1}
.profile-shell h2{font-size:1.4rem;line-height:1.25;margin:0 0 .6rem}
.profile-shell form{display:grid;gap:.7rem}.profile-shell label{font-weight:650}
.profile-shell input:not([type=checkbox]){display:block;width:100%;border:1px solid #527766;border-radius:.4rem;background:#0a1712;color:#fff;padding:.65rem .75rem;font:inherit}
.profile-shell button:disabled{opacity:.55}.profile-shell .btn,.profile-shell .text-button{width:fit-content;cursor:pointer}.profile-shell .check{display:flex;align-items:flex-start;gap:.6rem;font-weight:400}.check input{margin-top:.4rem;accent-color:#a3ffc3}.profile-shell .text-button{background:none;border:0;padding:.5rem 0;color:#a7ffd4;text-decoration:underline;font:inherit}
.profile-stats{display:flex;flex-wrap:wrap;gap:2rem;margin:1.2rem 0}.profile-stats p{margin:0;color:#d8e5dc}.profile-stats strong{display:block;font-variant-numeric:tabular-nums;font-size:2.1rem;color:#baffd4}
#profile-messages article{border-top:1px solid #365547;padding:1rem 0}#profile-messages p{margin:.3rem 0 .55rem;overflow-wrap:anywhere;white-space:pre-wrap}
.profile-shell :focus-visible{outline:3px solid #adffd8;outline-offset:3px}
@media(max-width:680px){.profile-grid{display:block}.profile-shell .actions{display:flex;flex-direction:column;align-items:stretch}.profile-shell .actions>*{width:100%;text-align:center}}
@media(max-width:360px){.mast .container.topbar{width:calc(100% - 1rem);gap:.25rem}.mast .header-actions{gap:.2rem}.mast .brand{gap:.2rem}.mast .header-actions .btn{padding-inline:.5rem}}
