
/* Profile organization: scoped to this page; existing forms retain their handlers. */
.profile-organized body::before{opacity:.19;filter:blur(5px) saturate(.5)}
.profile-organized body::after{background:linear-gradient(180deg,#0c0d15bb,#08090fed)}
.profile-organized main{max-width:1440px;padding:26px 32px 64px}
.profile-organized .profile-title{padding:0 0 22px}
.profile-organized .profile-title h1{font:700 12px var(--font-tech);letter-spacing:.13em;color:#ff6973;margin-bottom:8px}
.profile-organized .profile-title .lede{font-size:14px;color:#a7adbd}
.profile-organized .who{grid-template-columns:auto minmax(0,1fr) auto;gap:20px;padding:22px 26px;margin-bottom:28px;background:linear-gradient(110deg,#26121b,#12141e 55%,#10121a);border:1px solid #643039;border-radius:18px;box-shadow:none}
.profile-organized .avatar-wrap{grid-template-columns:76px}
.profile-organized .avatar-frame{width:76px;height:76px;padding:8px;border-radius:16px}
.profile-organized #avatar{width:58px;height:58px}
.profile-organized .identity .nm{font-size:26px;text-transform:none;letter-spacing:0}
.profile-organized .identity .addr{padding:0;background:none;border:0;font-size:12px;color:#9fa8bb}
.profile-organized .social-preview{margin-top:10px;gap:6px}
.profile-organized .social-chip{font:11px var(--font-ui);min-height:26px;padding:5px 8px}
.profile-hero-actions{display:flex;gap:8px;align-items:center}
.profile-organized .btn{font-size:11px;min-height:44px;padding:11px 14px;box-shadow:none}
.profile-workspace{display:grid;grid-template-columns:205px minmax(0,1fr);gap:28px;align-items:start}
.profile-menu{display:flex;flex-direction:column;gap:5px;position:sticky;top:110px}
.profile-menu-link,.profile-menu-secondary{display:flex;align-items:center;gap:10px;min-height:46px;padding:12px 14px;border:1px solid transparent;border-radius:10px;color:#9da6ba;font:600 13px/1.4 var(--font-ui)}
.profile-menu-link:before{content:'';width:6px;height:6px;border-radius:2px;background:#586174;flex-shrink:0}
.profile-menu-link:hover{color:white;background:#ffffff05}
.profile-menu-link[aria-current]{border-color:#ac35454d;background:#8f233224;color:#fff}
.profile-menu-link[aria-current]:before{background:#ff475a;box-shadow:0 0 10px #f34c6570}
.profile-menu-secondary{border-top:1px solid #ffffff0c;border-radius:0;margin-top:14px;font-size:12px;color:#d8a5ac}
.profile-content,.profile-view{min-width:0}
.profile-view{outline:none}
.profile-view:focus-visible>.profile-view-heading{outline:2px solid #ff6973;outline-offset:6px;border-radius:2px}
.profile-view-heading{margin:0 0 20px}
.profile-view-heading h2{margin:0 0 7px;font:700 22px/1.4 var(--font-tech);letter-spacing:-.02em}
.profile-view-heading p{margin:0;color:#9fa8b9;font-size:13px;line-height:1.6}
.profile-organized .card,.profile-organized .ref-panel{background:linear-gradient(130deg,#191c27,#11141d);border:1px solid #ffffff10;box-shadow:none;border-radius:16px;padding:22px;margin:0 0 16px;backdrop-filter:none}
.profile-organized .card h2,.profile-organized .card h3{font:700 14px/1.5 var(--font-tech);text-transform:none;letter-spacing:0;margin:0 0 9px;text-shadow:none}
.profile-organized .card .sub,.profile-muted{font-size:13px;line-height:1.65;color:#a7afc0;margin:0 0 18px}
.profile-organized .totals{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}
.profile-organized .tot{min-width:0;padding:20px;background:#151823;border:1px solid #ffffff12;border-radius:14px;box-shadow:none}
.profile-organized .tot strong{font-size:29px}
.profile-organized .tot span{font:600 10px/1.5 var(--font-tech);letter-spacing:.035em}
.profile-organized .tot small{font-size:11px;line-height:1.5}
.profile-organized .tot.balance{border-color:#ad394746;background:linear-gradient(135deg,#321821,#17131c)}
.profile-organized .profile-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.profile-organized .profile-actions .btn{width:100%;font:700 12px/1.5 var(--font-ui);white-space:normal}
.profile-detail-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:16px}
.profile-card-heading{display:flex;align-items:center;gap:14px;margin-bottom:16px}
.profile-card-heading h2{margin:0!important}
.profile-facts{margin:20px 0}
.profile-facts>div{padding:12px 0;border-top:1px solid #ffffff0c}
.profile-facts dt{font-size:11px;color:#939db2;margin-bottom:6px}
.profile-facts dd{font-size:14px;margin:0;overflow-wrap:anywhere}
.profile-organized .social-grid{grid-template-columns:1fr;margin:12px 0;gap:16px}
.profile-organized .social-input{background:#0a0d14;border-color:#ffffff16}
.profile-organized .social-field label{font:600 12px var(--font-ui);text-transform:none}
.profile-organized .ref-head h2{font-size:14px}
.profile-organized .bounty-badges{grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:12px}
.profile-organized .bounty-badge{background:#0c111a;border-color:#30394c;padding:16px 10px}
.profile-organized .bounty-badge.earned{border-color:#bd894757}
.profile-organized .bounty-medal{height:115px}
.profile-organized footer{background:#080a11;color:#8f97a8}
@media(max-width:1000px){
.profile-workspace{grid-template-columns:175px minmax(0,1fr);gap:20px}
.profile-detail-grid,.profile-organized .profile-actions{grid-template-columns:1fr}
.profile-organized .totals{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px){
.profile-organized main{padding:18px 14px 40px}
.profile-organized .profile-title{padding-bottom:14px}
.profile-organized .who{padding:16px;gap:12px;margin-bottom:18px;grid-template-columns:auto minmax(0,1fr)}
.profile-organized .identity .nm{font-size:22px}
.profile-organized .identity .addr{font-size:11px}
.profile-hero-actions{grid-column:1/-1;border-top:1px solid #ffffff12;padding-top:12px}
.profile-hero-actions .btn:first-child{flex:1}
.profile-organized .who #refreshBtn{grid-column:auto;grid-row:auto;min-height:44px;padding:11px 14px}
.profile-workspace{display:block}
.profile-menu{position:static;display:flex;flex-direction:row;gap:6px;overflow-x:auto;margin:0 -2px 22px;padding:2px 2px 10px;scrollbar-width:thin;scrollbar-color:#e51b2355 transparent}
.profile-menu-link,.profile-menu-secondary{flex:0 0 auto;white-space:nowrap;min-height:44px;font-size:12px;padding:10px 12px}
.profile-menu-secondary{margin:0;border:1px solid #ffffff12;border-radius:10px}
.profile-view-heading h2{font-size:19px}
.profile-organized .card,.profile-organized .ref-panel{padding:17px}
.profile-organized .totals{gap:9px}
.profile-organized .tot{padding:15px}
.profile-organized .tot strong{font-size:23px}
.profile-organized .tot:last-child{grid-column:1/-1;display:block}
.profile-organized .tot:last-child span{margin-bottom:6px}
.profile-organized .tot:last-child small{margin-top:7px}
.profile-organized .checkin-row{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}
.profile-organized .check-dot{width:100%;height:34px}
.profile-organized .bounty-badges{grid-template-columns:repeat(2,minmax(0,1fr))}
.profile-organized table{display:table;white-space:normal;font-size:11px}
.profile-organized th{font-size:9px;letter-spacing:0}
.profile-organized th,.profile-organized td{padding:10px 5px}
.profile-organized td .g img{width:22px;height:30px}
.profile-organized .ref-head{align-items:flex-start}
}
@media(prefers-reduced-motion:reduce){.profile-organized *{scroll-behavior:auto!important}}

@media(min-width:1001px){.profile-organized .totals{grid-template-columns:repeat(6,minmax(0,1fr))}.profile-organized .tot{grid-column:span 2}.profile-organized .tot:nth-last-child(-n+2){grid-column:span 3}}
