.profile-page{min-height:calc(100vh - 165px);padding:55px 0 90px;background:linear-gradient(140deg,#9ad9e926,transparent 55%),var(--account-bg);box-sizing:border-box}
.profile-wrap{width:min(900px,calc(100% - 40px));margin:auto}
.profile-back{display:block;width:max-content;margin-bottom:38px;color:var(--account-muted)!important;text-decoration:none;font-weight:800}.profile-back:hover{text-decoration:underline}
.profile-page h1{margin:15px 0 7px;color:var(--account-text);font-size:clamp(2.6rem,6vw,4.7rem);line-height:1.15;letter-spacing:-.04em;text-shadow:3px 3px 0 #e9dbab}
html[data-theme=night] .profile-page h1{text-shadow:3px 3px 0 #373737}
.profile-intro{color:var(--account-muted);font-size:1.08rem}.profile-message{min-height:1.4em;color:var(--account-muted);font-weight:700}
.profile-panel{margin-top:30px;background:var(--account-card);border:3px solid var(--account-line);border-radius:12px;box-shadow:9px 9px 0 var(--account-shadow);padding:34px;box-sizing:border-box}
.profile-heading{display:flex;align-items:center;gap:28px}.profile-avatar-frame{width:128px;height:128px;flex:none;display:grid;place-items:center;background:#ffdc66;border:3px solid var(--account-line);border-radius:7px;box-shadow:5px 5px 0 var(--account-shadow)}.profile-avatar-frame img{width:112px;height:112px;object-fit:cover;image-rendering:pixelated;border-radius:3px}
.profile-kicker{color:#a76f2c;font-size:.75rem;font-weight:900;letter-spacing:.15em}.profile-heading h2{margin:7px 0 14px;color:var(--account-text);font-size:clamp(2rem,5vw,3.2rem);overflow-wrap:anywhere}.profile-online{display:inline-flex;align-items:center;gap:9px;color:#26804b;font-weight:800}
.profile-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:35px}.profile-details>div{min-width:0;padding:17px 20px;background:var(--account-bg);border:2px solid var(--account-line);border-radius:5px}.profile-details span{display:block;color:var(--account-muted);font-size:.85rem;font-weight:700}.profile-details strong{display:block;margin-top:8px;color:var(--account-text);font-size:1.23rem;overflow-wrap:anywhere}
.profile-note{margin:24px 0 0;color:var(--account-muted);line-height:1.7}.profile-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}.profile-actions a,.profile-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 17px;box-sizing:border-box;border:2px solid var(--account-line);border-radius:4px;text-decoration:none;font-family:inherit;font-size:1rem;font-weight:800;line-height:1.2;cursor:pointer}.profile-actions a{background:#277ded;border-color:#1454ae;color:#fff!important;box-shadow:4px 4px 0 var(--account-line)}.profile-actions a:hover{background:#1768d8}.profile-actions button{background:transparent;color:var(--account-text)}.profile-actions button:hover{background:var(--account-bg)}.profile-actions button:disabled{opacity:.6;cursor:wait}
.profile-actions a[hidden]{display:none!important}
html[data-theme=night] .profile-avatar-frame{background:#494035}html[data-theme=night] .profile-kicker{color:#ffda72}html[data-theme=night] .profile-online{color:#8bdfaa}
@media(max-width:620px){.profile-page{padding:34px 0 60px}.profile-wrap{width:calc(100% - 28px)}.profile-back{margin-bottom:24px}.profile-panel{padding:22px}.profile-heading{gap:18px}.profile-heading-copy{min-width:0}.profile-avatar-frame{width:86px;height:86px}.profile-avatar-frame img{width:74px;height:74px}.profile-details{grid-template-columns:1fr}.profile-heading h2{font-size:clamp(1.18rem,5.4vw,1.55rem)}}
