/* LobbyHub Growth v2.7.1 — Profile Cabinet Redesign */
.profile-page-v271{max-width:1320px!important;padding-top:26px!important;padding-bottom:60px!important}
.profile-page-v271>.alert{max-width:none;margin:0 0 16px}

.profile-hero-v271{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:28px;align-items:center;margin-bottom:22px;padding:30px;border:1px solid rgba(92,239,190,.2);border-radius:24px;background:radial-gradient(circle at 88% 18%,rgba(67,223,176,.16),transparent 25%),radial-gradient(circle at 9% 120%,rgba(91,86,255,.11),transparent 33%),linear-gradient(135deg,#101b2f 0%,#0a1322 58%,#0b1b1b 100%);box-shadow:0 30px 80px rgba(0,0,0,.28);overflow:hidden}
.profile-hero-v271:before{content:"";position:absolute;right:-120px;top:-170px;width:480px;height:480px;border:1px solid rgba(73,231,184,.15);border-radius:42%;transform:rotate(29deg);pointer-events:none}
.profile-hero-v271:after{content:"";position:absolute;left:42%;bottom:-72px;width:260px;height:120px;background:radial-gradient(ellipse,rgba(73,231,184,.08),transparent 68%);pointer-events:none}
.profile-identity-v271,.profile-hero-side-v271{position:relative;z-index:1}
.profile-identity-v271{display:flex;gap:22px;align-items:center;min-width:0}
.profile-avatar-wrap-v271{position:relative;flex:0 0 auto}.profile-avatar-v271{width:104px!important;height:104px!important;border:3px solid rgba(86,242,193,.7)!important;box-shadow:0 0 0 8px rgba(72,225,179,.07),0 20px 50px rgba(0,0,0,.38)}
.profile-presence-v271{position:absolute;right:4px;bottom:5px;width:18px;height:18px;border-radius:50%;border:4px solid #0d1727;background:#5d6d83}.profile-presence-v271.on{background:#47e8ad;box-shadow:0 0 18px rgba(71,232,173,.65)}
.profile-identity-copy-v271{min-width:0;flex:1}.profile-name-row-v271{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.profile-name-row-v271 h1{font-size:2.3rem!important;line-height:1.05;margin:0!important;letter-spacing:-.045em}.profile-role-v271{display:inline-flex;align-items:center;height:25px;padding:0 9px;border-radius:999px;font-size:9px;font-weight:900;letter-spacing:.08em}.profile-role-v271.admin{color:#55efbb;background:#37d39c16;border:1px solid #37d39c3d}.profile-role-v271.premium{color:#ffd76b;background:#ffb42015;border:1px solid #ffb4203d}.profile-role-v271.ai{color:#c5b5ff;background:#7657ff16;border:1px solid #7657ff3c}
.profile-statusline-v271{display:flex;align-items:center;gap:8px 15px;flex-wrap:wrap;margin-top:11px;color:#7789a5;font-size:12px}.profile-statusline-v271 span{position:relative}.profile-statusline-v271 span+span:before{content:"";display:inline-block;width:3px;height:3px;border-radius:50%;background:#43516a;margin:0 10px 3px 0}.profile-statusline-v271 .is-online{color:#57eeb8;font-weight:750}.profile-bio-v271{max-width:700px;margin:14px 0 0!important;color:#9aaac0!important;font-size:13px!important;line-height:1.7!important}.profile-contact-row-v271{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.profile-contact-row-v271 span,.profile-contact-row-v271 a{display:inline-flex;align-items:center;min-height:31px;padding:0 10px;border:1px solid rgba(123,153,196,.14);border-radius:9px;background:rgba(255,255,255,.025);color:#9eb0c8;font-size:11px;text-decoration:none}.profile-contact-row-v271 a:hover{color:#5beeba;border-color:rgba(75,228,180,.3)}
.profile-hero-side-v271{display:grid;gap:12px}.profile-hero-stats-v271{display:grid;grid-template-columns:repeat(3,1fr);overflow:hidden;border:1px solid rgba(127,154,194,.13);border-radius:16px;background:rgba(3,9,18,.28)}.profile-hero-stats-v271>div{padding:17px 14px;min-width:0}.profile-hero-stats-v271>div+div{border-left:1px solid rgba(127,154,194,.12)}.profile-hero-stats-v271 strong{display:block;color:#eef6ff;font-size:1.55rem;line-height:1}.profile-hero-stats-v271 span{display:block;margin-top:7px;color:#657895;font-size:9px;text-transform:uppercase;letter-spacing:.08em}.profile-hero-actions-v271{display:grid;grid-template-columns:1fr 1fr;gap:8px}.profile-hero-actions-v271 .btn{min-height:43px;border-radius:11px;justify-content:center;font-size:12px}.profile-msg-count-v271{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;margin-left:6px;padding:0 5px;border-radius:10px;background:#ef476f;color:white;font-size:10px}

.profile-layout-v271{display:grid;grid-template-columns:250px minmax(0,1fr);gap:20px;align-items:start}.profile-sidebar-v271{position:sticky;top:86px;border:1px solid rgba(124,151,195,.13);border-radius:20px;background:linear-gradient(180deg,rgba(14,23,40,.98),rgba(7,13,24,.99));box-shadow:0 18px 55px rgba(0,0,0,.16);overflow:hidden}.profile-sidebar-head-v271{padding:20px 18px 15px;border-bottom:1px solid rgba(124,151,195,.1)}.profile-sidebar-head-v271 span{display:block;color:#49e6b0;font-size:8px;font-weight:900;letter-spacing:.18em}.profile-sidebar-head-v271 strong{display:block;margin-top:5px;color:#dfeaff;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-sidebar-nav-v271{padding:10px}.profile-nav-group-v271{display:grid;gap:4px;padding:8px 0}.profile-nav-group-v271+ .profile-nav-group-v271{border-top:1px solid rgba(124,151,195,.08)}.profile-nav-group-v271>span{padding:4px 9px 7px;color:#53627a;font-size:8px;font-weight:900;letter-spacing:.16em;text-transform:uppercase}.profile-nav-group-v271>a{position:relative;display:grid;grid-template-columns:34px 1fr auto;gap:9px;align-items:center;min-height:51px;padding:7px 9px;border:1px solid transparent;border-radius:12px;text-decoration:none;transition:.18s ease}.profile-nav-group-v271>a:hover{background:rgba(255,255,255,.025);border-color:rgba(124,151,195,.11);transform:translateX(2px)}.profile-nav-group-v271>a.active{background:linear-gradient(90deg,rgba(65,224,176,.12),rgba(65,224,176,.035));border-color:rgba(70,228,180,.22);box-shadow:inset 3px 0 #49e5af}.profile-nav-group-v271>a>b{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px;background:#111d31;color:#91a3bd;font-size:15px;font-weight:800}.profile-nav-group-v271>a.active>b{background:#45e0aa16;color:#52ecb5}.profile-nav-group-v271>a>div{display:grid;gap:2px;min-width:0}.profile-nav-group-v271 strong{color:#cfd9e8;font-size:11px}.profile-nav-group-v271 small{color:#586881;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-nav-group-v271>a.active strong{color:#ecfff8}.profile-nav-group-v271>a>em{min-width:19px;height:19px;padding:0 5px;border-radius:10px;background:#ffb020;color:#1b1100;font-size:9px;font-style:normal;font-weight:900;display:flex;align-items:center;justify-content:center}.profile-logout-v271{padding:9px 0 2px;border-top:1px solid rgba(124,151,195,.08)}.profile-logout-v271 button{width:100%;display:flex;align-items:center;gap:10px;min-height:44px;padding:8px 10px;border:0;border-radius:11px;background:transparent;color:#ca6073;cursor:pointer;font:inherit;font-size:10px;font-weight:750;text-align:left}.profile-logout-v271 button:hover{background:rgba(239,71,111,.07)}.profile-logout-v271 b{display:flex;align-items:center;justify-content:center;width:31px;height:31px;border-radius:9px;background:rgba(239,71,111,.08)}

.profile-main-v271{min-width:0}.profile-content-head-v271{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin-bottom:16px;padding:4px 3px 17px;border-bottom:1px solid rgba(124,151,195,.11)}.profile-content-head-v271>div{min-width:0}.profile-content-head-v271 span{display:block;color:#48e2ad;font-size:8px;font-weight:900;letter-spacing:.18em;text-transform:uppercase}.profile-content-head-v271 h2{margin:6px 0 3px;font-size:1.85rem;letter-spacing:-.035em}.profile-content-head-v271 p{margin:0;color:#667994;font-size:12px;line-height:1.5}.profile-content-head-v271>.btn{flex:0 0 auto;min-height:40px;border-radius:10px;font-size:11px}.profile-main-v271>.empty-state{min-height:310px;display:flex;flex-direction:column;justify-content:center}.profile-main-v271>.card,.profile-main-v271 .profile-overview-card-v27,.profile-main-v271 .profile-section-v27{border-color:rgba(124,151,195,.12)!important;background:linear-gradient(145deg,rgba(14,22,38,.98),rgba(7,13,24,.99))!important;box-shadow:0 18px 48px rgba(0,0,0,.12)!important}
.profile-post-list-v271{display:grid;gap:11px}.profile-post-item-v271{padding:18px!important;border-radius:16px!important;transition:.18s ease}.profile-post-item-v271:hover{transform:translateY(-2px);border-top-color:rgba(83,234,185,.22)!important;border-right-color:rgba(83,234,185,.22)!important;border-bottom-color:rgba(83,234,185,.22)!important}.profile-list-toolbar-v271{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px;padding:10px 13px;border:1px solid rgba(124,151,195,.1);border-radius:11px;background:rgba(255,255,255,.015)}.profile-list-toolbar-v271 span{color:#bfcce0;font-size:11px;font-weight:800}.profile-list-toolbar-v271 small{color:#586a84;font-size:10px}.profile-wiki-list-v271{display:grid;gap:8px}.profile-wiki-row-v271{display:flex;align-items:center;gap:12px;padding:14px 15px;border:1px solid rgba(124,151,195,.11);border-radius:14px;background:linear-gradient(90deg,rgba(15,24,42,.96),rgba(9,15,27,.98));transition:.18s}.profile-wiki-row-v271:hover{border-color:rgba(74,228,181,.24);transform:translateX(2px)}

.profile-settings-v271{max-width:none!important;padding:28px!important;border-radius:18px!important}.profile-settings-intro-v271{margin-bottom:25px;padding-bottom:20px;border-bottom:1px solid rgba(124,151,195,.11)}.profile-settings-intro-v271>span{color:#4be5af;font-size:8px;font-weight:900;letter-spacing:.16em}.profile-settings-intro-v271 h3{margin:5px 0 4px!important;font-size:1.4rem}.profile-settings-intro-v271 p{max-width:650px;margin:0;color:#667994;font-size:11px;line-height:1.55}.profile-settings-v271 form{max-width:760px}.profile-settings-v271 .form-group{margin-bottom:18px}.profile-settings-v271 .form-label{margin-bottom:7px;color:#8ea0b9;font-size:9px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.profile-settings-v271 .form-control{min-height:46px!important;border-radius:11px!important;background:#07101d!important}.profile-settings-v271 textarea.form-control{min-height:130px!important}.profile-settings-v271 .divider{margin:28px 0 22px!important}

/* Refine existing v2.7 overview inside the new cabinet */
.profile-main-v271 .profile-kpis-v27{gap:10px}.profile-main-v271 .profile-kpis-v27>div{min-height:112px;padding:17px;border-radius:14px}.profile-main-v271 .profile-kpis-v27 strong{font-size:1.75rem}.profile-main-v271 .profile-overview-grid-v27{grid-template-columns:.92fr 1.08fr}.profile-main-v271 .profile-overview-card-v27{border-radius:16px}.profile-main-v271 .profile-quick-actions-v27>a{min-height:66px}.profile-main-v271 .profile-recent-list-v27>a{min-height:55px}

@media(max-width:1100px){
  .profile-hero-v271{grid-template-columns:1fr}.profile-hero-side-v271{grid-template-columns:1fr auto;align-items:center}.profile-hero-actions-v271{min-width:320px}.profile-layout-v271{grid-template-columns:220px minmax(0,1fr)}
}
@media(max-width:840px){
  .profile-page-v271{padding-top:15px!important}.profile-hero-v271{padding:22px;border-radius:18px}.profile-identity-v271{align-items:flex-start}.profile-avatar-v271{width:82px!important;height:82px!important}.profile-name-row-v271 h1{font-size:1.75rem!important}.profile-hero-side-v271{grid-template-columns:1fr}.profile-hero-actions-v271{min-width:0}.profile-layout-v271{display:block}.profile-sidebar-v271{position:relative;top:auto;margin-bottom:16px;border-radius:16px;overflow-x:auto}.profile-sidebar-head-v271{display:none}.profile-sidebar-nav-v271{display:flex;align-items:center;gap:6px;padding:7px;min-width:max-content}.profile-nav-group-v271{display:flex;gap:5px;padding:0}.profile-nav-group-v271+ .profile-nav-group-v271{border:0}.profile-nav-group-v271>span{display:none}.profile-nav-group-v271>a{grid-template-columns:28px auto;min-height:42px;padding:5px 9px;box-shadow:none!important}.profile-nav-group-v271>a>b{width:28px;height:28px;border-radius:8px;font-size:13px}.profile-nav-group-v271>a>div{display:block}.profile-nav-group-v271 small{display:none}.profile-nav-group-v271 strong{font-size:10px;white-space:nowrap}.profile-nav-group-v271>a>em{position:absolute;right:1px;top:0}.profile-logout-v271{border:0;padding:0}.profile-logout-v271 button{min-height:42px;width:auto;padding:5px 9px}.profile-logout-v271 button b{width:28px;height:28px}.profile-logout-v271 button span{display:none}.profile-content-head-v271{align-items:flex-start}.profile-main-v271 .profile-overview-grid-v27{grid-template-columns:1fr}
}
@media(max-width:580px){
  .profile-hero-v271{padding:18px}.profile-identity-v271{gap:15px}.profile-avatar-v271{width:68px!important;height:68px!important}.profile-name-row-v271 h1{font-size:1.45rem!important}.profile-statusline-v271 span+span:before{display:none}.profile-statusline-v271{gap:5px 10px}.profile-bio-v271{font-size:12px!important}.profile-hero-stats-v271 span{font-size:7px}.profile-hero-stats-v271 strong{font-size:1.25rem}.profile-hero-stats-v271>div{padding:13px 9px}.profile-hero-actions-v271{grid-template-columns:1fr}.profile-content-head-v271{display:grid}.profile-content-head-v271 h2{font-size:1.5rem}.profile-content-head-v271>.btn{width:100%;justify-content:center}.profile-settings-v271{padding:19px!important}.profile-wiki-row-v271{align-items:flex-start;flex-wrap:wrap}.profile-wiki-row-v271>div:last-child{width:100%;justify-content:flex-start!important}.profile-list-toolbar-v271{align-items:flex-start;flex-direction:column}.profile-main-v271 .profile-kpis-v27{grid-template-columns:1fr 1fr}.profile-main-v271 .profile-quick-actions-v27{grid-template-columns:1fr}
}
