.member-dashboard-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;padding:16px;background:linear-gradient(140deg,#35213c,#141828 58%,#112333);border-color:#865580;box-shadow:0 18px 40px #03030b88}
.member-dashboard-header .hero-actions{margin:0}
.member-avatar{width:76px;aspect-ratio:1;display:grid;place-items:center;background:#2b2342;border:2px solid #eb71c7;border-radius:50%;overflow:hidden;color:#ffcfef;font-weight:800;box-shadow:0 0 24px #e12b9166}
.member-avatar img,.transfer-portrait{width:100%;height:100%;aspect-ratio:1;object-fit:cover;border-radius:50%}
.transfer-portrait{width:46px}
.member-badges,.dashboard-nav{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.member-badges span{font-size:.73rem;color:#f0cbde;border:1px solid #8e567c;border-radius:999px;padding:2px 7px}
.member-badges span:nth-child(2){color:#fde294;border-color:#997c43}
.member-badges span:nth-child(3){color:#a6eeff;border-color:#488599}
.dashboard-nav{padding:8px 0}
.dashboard-nav .button{min-height:32px;padding:5px 9px;font-size:.8rem}
.member-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:10px}
.member-metrics>div{display:grid;grid-template-columns:auto 1fr;gap:4px 8px;align-items:center;min-width:0;padding:11px;background:linear-gradient(150deg,#292039,#101725);border:1px solid #5d435f;border-radius:12px}
.member-metrics svg{color:#ff8bd5}
.member-metrics span{color:#ddd7e8;font-size:.8rem}
.member-metrics b{grid-column:1/-1;font-size:1.35rem;color:#f7d998}
.dashboard-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
.dashboard-panels>div:empty{display:none}
.dashboard-panels>div>*+*{margin-top:10px}
.dashboard-panels .room-cards{grid-template-columns:repeat(auto-fill,minmax(min(100%,185px),1fr))}
.wallet-summary .member-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
.wallet-filter{display:flex;align-items:end;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.wallet-filter .field{margin:0}
.wallet-transactions{display:grid;gap:6px}
.wallet-transaction{display:grid;grid-template-columns:32px minmax(0,1fr) auto 85px;gap:8px;align-items:center;padding:8px 10px;border:1px solid #533b57;border-radius:10px;background:#191928}
.wallet-transaction small{display:block;color:#cbc1d6}
.wallet-entry-icon{display:grid;place-items:center;width:30px;height:30px;background:#382444;border-radius:9px;color:#ff9ddd}
.wallet-credit{color:#7cf4bd}.wallet-debit{color:#ffadd8}
.profile-hero.profile-compact{display:grid;grid-template-columns:116px minmax(0,1fr);gap:0 15px;padding:0 16px 14px;text-align:left}
.profile-compact .profile-cover{grid-column:1/-1;height:clamp(120px,16vw,168px);min-height:0;margin:0 -16px 0;overflow:hidden}
.profile-compact .profile-cover img{height:100%;width:100%;object-fit:cover;object-position:center 36%}
.profile-compact .profile-avatar{grid-column:1;width:94px;height:94px;min-height:0;aspect-ratio:1;border-radius:50%;margin:-42px auto 0;z-index:1;align-self:start}
.profile-compact .profile-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover}
.profile-compact .profile-overview{padding:9px 0 1px;min-width:0}
.profile-compact .profile-overview h1{font-size:clamp(1.35rem,3vw,2.45rem);margin:0;overflow-wrap:anywhere}
.profile-compact .profile-overview p{margin:4px 0}
.profile-compact .profile-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:9px}
.profile-compact .profile-actions .button{min-height:34px;padding:5px 10px}
.profile-compact .profile-tags{margin:8px 0 0}
.profile-collection{margin-top:12px}
.lounge-toggle-row{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:start;gap:10px;padding:9px 0}
.lounge-toggle-row span:first-of-type{flex:none;margin-top:2px}
.lounge-toggle-row small{display:block;color:#d0c6df;margin-top:3px;font-weight:400}
.feedback-card{max-width:920px;margin-inline:auto}
.feedback-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px}
.feedback-wide{grid-column:1/-1}
.feedback-form button{justify-self:start}
.feedback-receipt,.feedback-record{border:1px solid #56a6ab;border-radius:12px;background:#142832;padding:10px}
.feedback-record{margin:8px 0}
.feedback-record h3,.feedback-record small{display:block;margin:4px 0}
@media(max-width:760px){
  .member-dashboard-header{grid-template-columns:auto minmax(0,1fr)}
  .member-dashboard-header .hero-actions{grid-column:1/-1}
  .dashboard-panels{grid-template-columns:minmax(0,1fr)}
  .profile-hero.profile-compact{grid-template-columns:76px minmax(0,1fr);gap:0 9px}
  .profile-compact .profile-avatar{width:64px;height:64px;margin-top:-25px}
  .wallet-transaction{grid-template-columns:27px minmax(0,1fr) auto}
  .wallet-reference{grid-column:2/-1}
  .feedback-form{grid-template-columns:minmax(0,1fr)}
}
.ranking-grid{align-items:start}
.ranking-card ol{list-style:none;margin:0;padding:0}
.ranking-card li{display:flex;align-items:center;gap:7px;padding:5px;border-bottom:1px solid #443348;min-height:40px}
.ranking-card li b{margin-left:auto;color:#febbed;white-space:nowrap}
.ranking-card li img{width:32px;height:32px;border-radius:50%;object-fit:cover;flex:none}
.ranking-card li>a{min-width:0;overflow-wrap:anywhere}
.ranking-position{flex:none}
.ranking-position{display:grid;place-items:center;min-width:25px;height:25px;border-radius:7px;background:#2d2338;color:#e9d2e8}
.ranking-card li:nth-child(1) .ranking-position{background:#654321;color:#ffdc88}
.ranking-card li:nth-child(2) .ranking-position{background:#3c5264;color:#c7f6ff}
.ranking-card li:nth-child(3) .ranking-position{background:#603a50;color:#ffbad8}
.assistant-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr));gap:11px}
.assistant-card{display:grid;grid-template-columns:72px 1fr;gap:12px;align-items:center}
.assistant-card>img{border-radius:50%;border:2px solid #966e9c}
.assistant-card h2{font-size:1.03rem;margin:3px 0}
.assistant-card p{margin:2px 0}
.assistant-card .prestige-badge,.profile-overview>.prestige-badge{color:#a6effe;font-size:.74rem}

.page-dashboard .info-content{margin-top:0;gap:16px}
.member-dashboard-label{margin:0 0 2px;color:#d1b7ce;font-size:.82rem}
.member-dashboard-header h1{margin:0 0 5px;font-size:clamp(1.35rem,2.4vw,2.2rem);overflow-wrap:anywhere}
.dashboard-controls>div:is(#edit-profile,#privacy-settings){grid-column:1/-1}
.dashboard-profile-form,#privacy-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
#privacy-settings:empty{display:none}
#privacy-settings>section:only-child{grid-column:1/-1}
.dashboard-controls>#privacy-settings>*+*{margin-top:0}
.page-dashboard .info-card,.dashboard-save{
  background:radial-gradient(ellipse at 100% 0,#26404a65,transparent 47%),linear-gradient(145deg,#2b2136,#151826 56%,#101621);
  border:1px solid #735272;box-shadow:0 14px 33px #050610a8,inset 0 1px #fca6d91f
}
.page-dashboard .info-card{padding:clamp(16px,2vw,24px)}
.page-dashboard .info-card h2{margin-top:0}
.dashboard-save{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:16px;padding:12px 16px;border-radius:12px}
.dashboard-controls .switch,.welcome-option{gap:12px;min-height:45px;padding:7px 10px;margin:6px 0;border:1px solid #59405f;border-radius:10px;background:#101223}
.dashboard-controls .switch>span,.welcome-option>span{width:48px;height:27px;padding:3px;flex:0 0 48px;background:#43435b;box-shadow:inset 0 2px 6px #060613aa}
.dashboard-controls .switch>span::before,.welcome-option>span::before{width:21px;height:21px}
.dashboard-controls .switch input:checked+span,.welcome-option input:checked+span{background:linear-gradient(135deg,#e21783,#9e267e);box-shadow:0 0 12px #ea228c45,inset 0 1px #ffbee15c}
.dashboard-controls .switch input:checked+span::before,.welcome-option input:checked+span::before{transform:translateX(21px)}
.welcome-dialog{width:min(94vw,780px)}
.welcome-dialog[open]:not(:modal){position:relative;margin:auto}
.welcome-dialog .welcome-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.welcome-choices .welcome-option{margin:0;padding:8px 10px}
.welcome-option small{font-weight:400}
.welcome-confirm{padding:10px;border:1px solid #93678c;border-radius:8px;background:#301f39}
.member-profile-hero.profile-compact{grid-template-columns:86px minmax(0,1fr)}
.member-profile-hero .profile-cover{height:clamp(58px,7vw,91px)}
.member-profile-hero .profile-avatar{width:74px;height:74px;margin-top:-28px}
.member-profile-hero .profile-overview h1{font-size:clamp(1.25rem,2.8vw,2rem)}
.member-profile-hero .profile-actions .button{margin-top:0}
.member-profile-hero .profile-overview p{overflow-wrap:anywhere}
.profile-stat-grid{display:flex;flex-wrap:wrap;gap:7px;margin:8px 0}
.profile-stat-grid>div{padding:6px 10px;border:1px solid #684668;border-radius:9px;background:linear-gradient(145deg,#281e38,#131b2a)}
.profile-stat-grid dt{display:flex;align-items:center;gap:6px;color:#ddd1e8;font-size:.78rem}
.profile-stat-grid dt svg{color:#f795d0}
.profile-stat-grid dd{margin:1px 0 0;color:#fff3d4;font-weight:750;font-variant-numeric:tabular-nums}
@media(max-width:760px){
  .dashboard-profile-form,#privacy-settings{grid-template-columns:minmax(0,1fr)}
  .member-profile-hero.profile-compact{grid-template-columns:60px minmax(0,1fr)}
  .member-profile-hero .profile-avatar{width:52px;height:52px;margin-top:-19px}
}
@media(max-width:570px){
  .welcome-dialog .welcome-choices{grid-template-columns:minmax(0,1fr)}
  .welcome-dialog{padding:14px}
}

.dashboard-profile-form .field{margin-block:9px}
.dashboard-profile-form .people-interests{margin:12px 0 0;padding:10px;border:1px solid #59405f;border-radius:10px}

.livesnap-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}
.livesnap-actions .button{margin-top:0}

.dashboard-room-collections .room-cards:empty{display:none}
.dashboard-room-collections .info-card>p:last-of-type{margin-bottom:0}
