/* AXIS Systems Profile Edit V1 */
.nxts-user-menu{position:relative;display:flex;align-items:center}
.nxts-user-trigger{display:inline-flex;align-items:center;gap:.55rem;min-height:42px;border:1px solid rgba(57,255,136,.32);border-radius:999px;background:linear-gradient(135deg,rgba(12,20,16,.95),rgba(28,44,36,.92));color:var(--text);font:inherit;font-weight:950;padding:.42rem .72rem .42rem .42rem;cursor:pointer;box-shadow:0 14px 34px rgba(0,0,0,.24)}
.nxts-user-trigger:focus-visible{outline:3px solid var(--button-focus);outline-offset:3px}
.nxts-user-avatar{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 34% 26%,rgba(255,255,255,.2),transparent 30%),linear-gradient(135deg,var(--green),var(--neon));color:#06100b;font-weight:950;overflow:hidden;box-shadow:0 0 24px rgba(57,255,136,.22)}
.nxts-user-avatar img{width:100%;height:100%;object-fit:cover}
.nxts-user-panel{position:absolute;right:0;top:calc(100% + 10px);width:220px;display:none;border:1px solid rgba(57,255,136,.2);border-radius:12px;background:rgba(6,12,9,.96);box-shadow:0 24px 70px rgba(0,0,0,.42);padding:.45rem;z-index:90}
.nxts-user-menu.is-open .nxts-user-panel{display:grid;gap:.25rem}
.nxts-user-panel a,.nxts-user-panel button{border:0;border-radius:8px;background:transparent;color:var(--muted);font:inherit;font-weight:850;text-align:left;padding:.7rem .8rem;cursor:pointer}
.nxts-user-panel a:hover,.nxts-user-panel button:hover,.nxts-user-panel a:focus-visible,.nxts-user-panel button:focus-visible{color:#fff;background:rgba(57,255,136,.09);outline:0}
.mobile-panel .nxts-user-menu{display:grid;gap:.5rem;margin:.35rem 0}.mobile-panel .nxts-user-panel{position:static;display:grid;width:100%;background:rgba(245,255,248,.035)}
.profile-shell{width:min(1180px,calc(100% - 32px));margin:auto;padding:3.2rem 0 4.6rem}
.profile-hero{position:relative;overflow:hidden;border:1px solid rgba(57,255,136,.18);border-radius:14px;background:radial-gradient(circle at 16% 10%,rgba(57,255,136,.18),transparent 22rem),linear-gradient(145deg,rgba(15,25,20,.96),rgba(4,7,6,.98));box-shadow:0 34px 90px rgba(0,0,0,.38);padding:1.35rem;display:grid;grid-template-columns:auto 1fr auto;gap:1.2rem;align-items:end}
.profile-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(115deg,transparent 0 45%,rgba(255,255,255,.055) 50%,transparent 56%);transform:translateX(-120%);animation:profile-sheen 9s ease-in-out infinite;pointer-events:none}
.profile-avatar-wrap{position:relative;width:148px;height:148px;border-radius:50%;display:grid;place-items:center;background:rgba(57,255,136,.08);border:1px solid rgba(57,255,136,.24);box-shadow:0 0 70px rgba(34,197,94,.13)}
.profile-avatar{width:124px;height:124px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:linear-gradient(135deg,var(--green),var(--neon));color:#06100b;font-size:2.2rem;font-weight:950}
.profile-avatar img{width:100%;height:100%;object-fit:cover}
.profile-status-dot{position:absolute;right:17px;bottom:18px;width:18px;height:18px;border-radius:50%;background:var(--neon);border:3px solid #07100c;box-shadow:0 0 18px rgba(57,255,136,.75)}
.profile-title h1{font-size:clamp(2rem,4vw,3.4rem);margin:0 0 .35rem;line-height:1}.profile-title p{max-width:720px;margin:.55rem 0 0}.profile-handle{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;color:var(--muted);font-weight:900}.profile-badge{display:inline-flex;align-items:center;gap:.35rem;border:1px solid rgba(57,255,136,.24);border-radius:999px;background:rgba(57,255,136,.07);color:var(--neon);padding:.28rem .58rem;font-size:.78rem;font-weight:950}
.profile-hero-actions{display:flex;gap:.55rem;flex-wrap:wrap;justify-content:flex-end}
.profile-tabs{display:flex;gap:.5rem;flex-wrap:wrap;margin:1.1rem 0}.profile-tab{border:1px solid rgba(57,255,136,.16);border-radius:999px;background:rgba(245,255,248,.045);color:var(--muted);font:inherit;font-weight:950;padding:.72rem 1rem;cursor:pointer}.profile-tab.is-active,.profile-tab:hover,.profile-tab:focus-visible{color:#06100b;background:linear-gradient(135deg,var(--green),var(--neon));outline:0}
.profile-grid{display:grid;grid-template-columns:.72fr 1.28fr;gap:1rem;align-items:start}.profile-card{position:relative;overflow:hidden;border:1px solid rgba(57,255,136,.16);border-radius:10px;background:radial-gradient(circle at var(--spot-x,50%) var(--spot-y,10%),rgba(57,255,136,.12),transparent 15rem),rgba(245,255,248,.045);box-shadow:0 20px 60px rgba(0,0,0,.22);padding:1rem}
.profile-card h2,.profile-card h3{margin-top:0}.profile-panel{display:none}.profile-panel.is-active{display:block;animation:profile-panel-in .24s ease}
.profile-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.profile-stat{border:1px solid rgba(245,255,248,.1);border-radius:8px;background:rgba(5,8,7,.36);padding:.8rem}.profile-stat strong{display:block;color:#fff;font-size:1.35rem}.profile-stat span{color:var(--muted);font-size:.8rem;font-weight:850}
.knowledge-dashboard{display:grid;gap:.85rem}.knowledge-lead-card{position:relative;overflow:hidden;border:1px solid rgba(57,255,136,.22);border-radius:12px;background:radial-gradient(circle at 20% 20%,rgba(57,255,136,.2),transparent 18rem),linear-gradient(145deg,rgba(20,34,27,.95),rgba(4,7,6,.97));padding:1rem;display:grid;grid-template-columns:1fr auto;gap:1rem;align-items:center}
.knowledge-rank-ring{width:114px;height:114px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--neon) calc(var(--rank,0) * 1%),rgba(245,255,248,.08) 0);box-shadow:0 0 44px rgba(57,255,136,.16)}.knowledge-rank-ring span{width:82px;height:82px;border-radius:50%;display:grid;place-items:center;background:#07100c;font-weight:950;color:#fff}
.knowledge-list{display:grid;gap:.62rem}.knowledge-item{border:1px solid rgba(245,255,248,.1);border-radius:8px;background:rgba(5,8,7,.38);padding:.72rem}.knowledge-item-head{display:flex;justify-content:space-between;gap:1rem;font-weight:950}.knowledge-bar{height:9px;border-radius:999px;background:rgba(245,255,248,.1);overflow:hidden;margin-top:.55rem}.knowledge-bar span{display:block;height:100%;width:var(--level,0%);border-radius:inherit;background:linear-gradient(90deg,var(--green),var(--neon));box-shadow:0 0 18px rgba(57,255,136,.42)}
.knowledge-chip-row{display:flex;gap:.4rem;flex-wrap:wrap;margin-top:.75rem}.knowledge-chip{border:1px solid rgba(57,255,136,.2);border-radius:999px;padding:.24rem .52rem;color:var(--neon);font-size:.76rem;font-weight:850;background:rgba(57,255,136,.05)}
.activity-list{display:grid;gap:.7rem}.activity-item{border-left:2px solid var(--neon);padding:.65rem .8rem;background:rgba(245,255,248,.035);border-radius:0 8px 8px 0}.profile-empty{border:1px dashed rgba(57,255,136,.28);border-radius:10px;background:rgba(57,255,136,.045);padding:1rem;color:var(--muted)}
.profile-edit-layout{display:grid;grid-template-columns:.86fr 1.14fr;gap:1rem}.profile-form{display:grid;gap:.82rem}.profile-field{display:grid;gap:.36rem}.profile-field label{color:var(--muted);font-weight:900}.profile-field input,.profile-field textarea,.skill-row input,.skill-row select{width:100%;border:1px solid rgba(245,255,248,.14);border-radius:8px;background:rgba(5,8,7,.68);color:#f5fff8;font:inherit;padding:.86rem;outline:0}.profile-field textarea{min-height:122px;resize:vertical}.profile-field input:focus,.profile-field textarea:focus,.skill-row input:focus,.skill-row select:focus{border-color:rgba(57,255,136,.56);box-shadow:0 0 0 4px rgba(57,255,136,.08)}
.field-help{display:flex;justify-content:space-between;gap:.7rem;color:var(--muted);font-size:.8rem}.profile-error{color:#ffb4b4}.profile-success{color:var(--neon)}
.avatar-drop{border:1px dashed rgba(57,255,136,.32);border-radius:12px;background:rgba(57,255,136,.045);padding:1rem;display:grid;gap:.8rem;place-items:center;text-align:center}.avatar-drop.is-dragover{border-color:var(--neon);box-shadow:0 0 0 4px rgba(57,255,136,.08)}.avatar-preview{width:148px;height:148px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:linear-gradient(135deg,var(--green),var(--neon));color:#06100b;font-size:2rem;font-weight:950}.avatar-preview img{width:100%;height:100%;object-fit:cover}.avatar-actions{display:flex;gap:.5rem;flex-wrap:wrap;justify-content:center}.visually-hidden-input{position:absolute!important;width:1px;height:1px;opacity:0;pointer-events:none}
.skill-editor{display:grid;gap:.75rem}.skill-row{display:grid;grid-template-columns:1.2fr .85fr 1fr auto auto;gap:.55rem;align-items:end;border:1px solid rgba(245,255,248,.1);border-radius:10px;background:rgba(5,8,7,.34);padding:.75rem}.skill-row label{display:grid;gap:.28rem;color:var(--muted);font-size:.78rem;font-weight:900}.skill-row input[type=range]{accent-color:var(--neon);padding:0}.skill-feature{display:flex!important;align-items:center;gap:.4rem}.skill-remove{border:1px solid rgba(255,180,180,.22);border-radius:8px;background:rgba(255,110,110,.06);color:#ffb4b4;font:inherit;font-weight:950;min-height:42px;padding:0 .7rem;cursor:pointer}
.profile-save-row{display:flex;justify-content:flex-end;gap:.65rem;flex-wrap:wrap;margin-top:.4rem}.profile-message{min-height:1.5rem;color:var(--muted);font-weight:850}.owner-only[hidden],.not-owner-only[hidden]{display:none!important}
@keyframes profile-sheen{0%,40%{transform:translateX(-120%)}70%,100%{transform:translateX(120%)}}@keyframes profile-panel-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:980px){.profile-hero{grid-template-columns:1fr;text-align:left}.profile-hero-actions{justify-content:flex-start}.profile-grid,.profile-edit-layout{grid-template-columns:1fr}.skill-row{grid-template-columns:1fr 1fr}.skill-row .skill-remove{grid-column:1/-1}.profile-stats{grid-template-columns:repeat(3,1fr)}}
@media(max-width:640px){.profile-shell{width:min(100% - 24px,1180px);padding-top:2rem}.profile-avatar-wrap{width:128px;height:128px}.profile-avatar{width:106px;height:106px}.profile-tabs{display:grid;grid-template-columns:1fr 1fr}.profile-tab{width:100%;padding:.68rem .5rem}.knowledge-lead-card{grid-template-columns:1fr}.profile-stats{grid-template-columns:1fr 1fr}.skill-row{grid-template-columns:1fr}.profile-save-row .btn-primary,.profile-save-row .btn-secondary{width:100%}}
@media(prefers-reduced-motion:reduce){.profile-hero:before,.profile-panel.is-active{animation:none!important;transition:none!important}}
