/* FPSHost V24 Profile Hotfix: scoped, responsive, no changes to server management. */
.profile-avatar-link{display:inline-grid;place-items:center;text-decoration:none;color:inherit;flex:none;border-radius:50%;outline-offset:4px}
.profile-avatar-link #avatar,.profile-avatar-link #admin-avatar{display:grid;place-items:center;overflow:hidden;flex:none}
.profile-avatar-link img{width:100%;height:100%;display:block;object-fit:cover;border-radius:inherit}
.profile-content{max-width:1200px!important}
.profile-hero{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:23px}
.profile-hero h1{font-size:clamp(27px,4vw,36px);margin:7px 0 8px;letter-spacing:-.04em}
.profile-hero p{margin:0;color:#9db0d0;line-height:1.55;font-size:14px}
.profile-id-pill,.profile-admin-identity>span{display:inline-block;border-radius:99px;border:1px solid #574eae;background:#211f4c;color:#d8d3ff;padding:10px 14px;font-size:12px;font-weight:800;white-space:nowrap}
.profile-layout{display:grid;grid-template-columns:minmax(230px,.82fr) minmax(0,1.7fr);gap:18px;align-items:start}
.profile-card{border:1px solid rgba(111,140,196,.28);border-radius:22px;background:linear-gradient(145deg,#101d36,#0b152a);padding:26px;box-shadow:0 18px 40px rgba(0,0,0,.12);min-width:0}
.profile-card h2{font-size:20px;letter-spacing:-.025em;margin:8px 0 24px;color:#f1f5ff}
.profile-picture-card{display:flex;align-items:center;flex-direction:column;text-align:center;gap:12px}
.profile-picture-card>.kicker,.profile-picture-card h2{align-self:flex-start;text-align:left}
.profile-picture-card h2{margin:1px 0 17px}
.profile-big-avatar{width:102px;height:102px;flex:none;display:grid;place-items:center;border-radius:27px;background:linear-gradient(140deg,#535de8,#9b5af4);color:white;font-size:44px;font-weight:800;overflow:hidden;box-shadow:0 11px 35px #493cc644}
.profile-big-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.profile-main-avatar{width:132px;height:132px;border-radius:35px}
.profile-picture-card strong{font-size:20px;word-break:break-word}
.profile-picture-card>small{color:#91a4c5;word-break:break-all;font-size:12px}
.profile-picture-card .profile-upload-btn{margin-top:10px;width:100%;text-align:center;justify-content:center;cursor:pointer}
.profile-picture-card>button{width:100%}
.profile-picture-card p{margin:2px 0 0;color:#91a5c5;font-size:12px;line-height:1.5}
.profile-card-title{display:flex;justify-content:space-between;align-items:center;gap:12px}
.profile-card-title h2{margin-bottom:22px}
.profile-saved-label{font-size:10px;color:#a89bff;background:#272345;border:1px solid #514a91;padding:7px 9px;border-radius:99px;white-space:nowrap}
.profile-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
.profile-fields label{display:grid;gap:8px;min-width:0;color:#b9cae4;font-size:12px;font-weight:700}
.profile-fields input,.profile-admin-extras select{width:100%;min-width:0;box-sizing:border-box;border:1px solid #304464;border-radius:12px;background:#08152d;color:#eff5ff;padding:13px 14px;font:inherit;font-size:14px;outline:none}
.profile-fields input:focus,.profile-admin-extras select:focus{border-color:#8477ef;box-shadow:0 0 0 3px #6c5dde33}
.profile-fields input[readonly]{color:#8da2c5;background:#101e33;cursor:not-allowed}
.profile-meta{display:flex;gap:18px;flex-wrap:wrap;color:#9cb1d4;border-top:1px solid #273957;padding-top:20px;margin-top:23px;font-size:12px}
.profile-meta b{color:#e5edff;margin-left:5px}
.profile-form-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:22px}
.profile-form-footer p,.profile-feedback{color:#8bdcb7;font-size:12px;margin:0;line-height:1.5;overflow-wrap:anywhere}
.profile-form-footer p.error,.profile-feedback.error{color:#ffa3ae}
.profile-admin-dialog{width:min(650px,calc(100vw - 24px));max-height:90vh;overflow-y:auto;box-sizing:border-box}
.profile-admin-identity{display:flex;align-items:center;gap:12px;margin:0 0 15px;color:#a9b8d5}
.profile-editor-avatar{display:flex;align-items:center;gap:18px;padding:14px;border:1px solid #34456d;border-radius:15px;margin-bottom:17px}
.profile-editor-avatar .profile-big-avatar{width:74px;height:74px;border-radius:20px;font-size:29px}
.profile-editor-avatar>div{display:flex;gap:9px;flex-wrap:wrap;align-items:center}
.profile-editor-avatar small{display:block;flex-basis:100%;font-size:11px;color:#9cb0d0}
.profile-editor-avatar .profile-upload-btn{cursor:pointer}
.profile-admin-dialog .profile-fields{gap:11px}
.profile-admin-dialog .profile-fields input{background:#0a1730}
.profile-notice{border-left:3px solid #806ee9;padding-left:11px;font-size:12px;color:#a6b7d6;line-height:1.55}
.profile-admin-extras{margin-top:16px;padding-top:15px;border-top:1px solid #334260;display:grid;gap:15px}
.profile-admin-extras>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.profile-admin-extras strong{font-size:12px}
.profile-admin-extras select{width:auto;min-width:130px}
.profile-admin-extras-actions button{flex:1}
.profile-admin-dialog .profile-feedback{margin-top:12px}
.profile-user-action{white-space:nowrap}
@media(max-width:760px){.profile-layout{grid-template-columns:1fr}.profile-picture-card{align-items:center}.profile-hero{align-items:flex-start}.profile-card{padding:19px}}
@media(max-width:460px){.profile-hero{flex-wrap:wrap}.profile-fields{grid-template-columns:1fr}.profile-card-title{align-items:flex-start;flex-wrap:wrap}.profile-form-footer{align-items:stretch;flex-direction:column}.profile-form-footer button{width:100%}.profile-editor-avatar{flex-direction:column;align-items:flex-start}.profile-admin-extras>div{align-items:stretch;flex-direction:column}.profile-admin-extras select,.profile-admin-extras button{width:100%}}
/* Preserve existing round header avatar after changing its wrapper from span to an accessible link. */
.panel-v9 .user-chip .profile-avatar-link,.admin-v13 .admin-user-chip .profile-avatar-link{width:40px;height:40px;min-width:40px;border:1px solid rgba(130,154,255,.28);background:linear-gradient(135deg,#358aff,#6248ef);box-shadow:0 8px 20px rgba(40,84,218,.22)}
.panel-v9 .user-chip .profile-avatar-link #avatar,.admin-v13 .admin-user-chip .profile-avatar-link #admin-avatar{width:100%;height:100%;border-radius:50%;font-weight:800;color:white}
@media(max-width:600px){.panel-v9 .user-chip .profile-avatar-link,.admin-v13 .admin-user-chip .profile-avatar-link{width:35px;height:35px;min-width:35px}}
