/* Mobile account screen; shared business and administration styles stay separate. */
.account-shell{background:#0d0a12}
.account-shell .topbar{height:60px;padding:0 20px;border:0;background:#100c16f5}
.account-page-title{font-size:23px;font-weight:650;letter-spacing:1px}
.account-header-actions{display:flex;align-items:center;gap:8px}
.account-header-actions button{display:grid;place-items:center;width:38px;height:38px;padding:8px;border-radius:50%;background:transparent;color:#d2c2d9}
.account-header-actions svg{width:22px;height:22px}
.account-shell .main-content{padding:0 16px calc(95px + env(safe-area-inset-bottom))}
.account-page{padding-top:10px}
.account-page button,.account-page a,.account-header-actions button,.account-settings-menu button{transition:background .18s,opacity .18s,transform .18s}
.account-page button:active,.account-page a:active,.account-header-actions button:active,.account-settings-menu button:active{background-color:#ffffff08;transform:scale(.985)}
.account-identity{display:flex;align-items:center;gap:14px;width:100%;padding:8px 3px 22px;background:transparent;text-align:left}
.account-avatar{flex:0 0 60px;width:60px;height:60px;display:grid;place-items:center;border-radius:20px;background:linear-gradient(145deg,#6b244b,#2b182d);border:1px solid #9d3c6b66;color:#ffe0ed;font-size:27px;font-weight:600;box-shadow:0 6px 18px #0002}
.account-identity-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:6px}
.account-identity-copy strong{font-size:21px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.45}
.account-identity-copy small{font-size:11px;color:#9b8ca5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-chevron{display:grid;place-items:center;flex:0 0 15px;width:15px;height:20px;color:#756780}
.account-chevron svg{width:15px;height:15px}
.account-assets{padding:4px 4px 0}
.account-asset-label{display:flex;align-items:center;gap:10px;color:#ac9ab5;font-size:12px}
.account-asset-label small{margin-left:4px;font-size:10px;letter-spacing:.5px}
.account-asset-label button{display:grid;place-items:center;width:28px;height:28px;padding:5px;color:#a38bac;background:transparent;border-radius:50%}
.account-asset-label svg{width:17px;height:17px}
.account-asset-label .account-refresh{margin-left:auto}
.account-asset-total{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;margin:4px 0 21px}
.account-asset-total>strong{font:600 clamp(28px,9.5vw,39px)/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-1px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.account-asset-total>button{display:flex;align-items:center;gap:2px;padding:9px 0 9px 7px;background:none;color:#a28da9;font-size:11px;white-space:nowrap}
.account-asset-total>button svg{width:13px;height:13px}
.account-asset-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:0 0 22px}
.account-asset-stats>div{display:flex;flex-direction:column;align-items:center;gap:7px;min-width:0;padding:0 5px;border-right:1px solid #ffffff0b}
.account-asset-stats>div:last-child{border:0}
.account-asset-stats strong{font:550 16px/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-variant-numeric:tabular-nums;max-width:100%;overflow-wrap:anywhere}
.account-asset-stats span{font-size:11px;color:#9988a4}
.account-money-actions{display:grid;grid-template-columns:1fr 1fr;background:#1a1322;border:1px solid #48304088;border-radius:14px;margin-bottom:14px;padding:17px 0}
.account-money-actions>button{display:flex;align-items:center;justify-content:center;gap:11px;padding:0 12px;min-height:40px;background:transparent;font-size:17px;font-weight:550}
.account-money-actions>button:first-child{border-right:1px solid #ffffff10}
.account-money-actions>button>svg{width:12px;height:12px;margin-left:1px;color:#8c728f}
.account-action-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#ff3b8614;color:#ff71aa}
.account-action-icon svg{width:24px;height:24px}
.account-money-actions>button:last-child .account-action-icon{color:#ceb2ff;background:#a87df015}
.account-business,.account-menu{background:#17121d;border-radius:14px;margin-bottom:12px;overflow:hidden}
.account-business{padding:15px 15px 17px}
.account-business h2{font-size:13px;font-weight:550;margin-bottom:16px;color:#c7b6d0}
.account-business>div{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.account-business a{display:flex;flex-direction:column;align-items:center;gap:8px;border-radius:10px;padding:0 0 3px}
.account-business a>span{display:grid;place-items:center;width:36px;height:32px;color:#ee85b3}
.account-business a:nth-child(2)>span{color:#c4a2f0}
.account-business a:nth-child(3)>span{color:#e0b078}
.account-business svg{width:26px;height:26px}
.account-business b{font-size:12px;font-weight:450;color:#e3d9e8}
.account-row{display:flex;align-items:center;gap:13px;width:100%;min-height:56px;padding:0 15px;position:relative;background:transparent;text-align:left}
.account-row+.account-row:before{content:"";position:absolute;top:0;right:15px;left:50px;height:1px;background:#ffffff08}
.account-row-icon{display:grid;place-items:center;flex:0 0 21px;height:24px;color:#c0a8cb}
.account-row-icon svg{width:21px;height:21px}
.account-row-label{flex:1;min-width:0;font-size:14px;line-height:1.5;color:#eee5f3}
.account-row-hint{font-size:11px;color:#9985a5;max-width:30%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-signout{background:#17121d;border-radius:14px;margin-top:18px}
.account-signout .account-row{justify-content:center;gap:9px}
.account-signout .account-row-label{flex:initial;font-size:13px;color:#a795b1}
.account-signout .account-row-icon{color:#9c87a7}
.account-signout .account-chevron{display:none}
.account-detail-total{display:flex;flex-direction:column;gap:10px;padding:0 0 18px}
.account-detail-total>span{font-size:12px;color:#a38bac}
.account-detail-total>strong{font-size:28px;overflow-wrap:anywhere}
.account-settings-menu{margin-bottom:0}
/* Every route uses the same navigation geometry and icon set. */
.app-shell .bottom-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));height:calc(68px + env(safe-area-inset-bottom));padding:8px 7px calc(8px + env(safe-area-inset-bottom));background:#110c18f5;border-top:1px solid #ffffff0a}
.app-shell .bottom-nav>a{height:51px;min-width:0;padding:3px 2px;gap:5px;font-size:11px;line-height:1.5;color:#9b77a4}
.app-shell .bottom-nav>a>i{display:grid;place-items:center;width:23px;height:23px;font-size:23px;line-height:1}
.app-shell .bottom-nav>a>i svg{display:block;width:23px;height:23px}
.app-shell .bottom-nav>a.active{color:#ff72ab}
@media(prefers-reduced-motion:no-preference){
 .account-page>section,.account-identity{animation:account-appear .25s ease-out both}
 .account-page>section:nth-of-type(2){animation-delay:.025s}
 .account-page>section:nth-of-type(3){animation-delay:.05s}
 .account-page>section:nth-of-type(4){animation-delay:.075s}
 .account-page>section:nth-of-type(5){animation-delay:.1s}
 @keyframes account-appear{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
}
@media(max-width:350px){
 .account-shell .main-content{padding-inline:12px}
 .account-shell .topbar{padding-inline:16px}
 .account-identity{gap:11px}
 .account-avatar{flex-basis:54px;width:54px;height:54px;border-radius:18px}
 .account-identity-copy strong{font-size:19px}
 .account-asset-stats strong{font-size:14px}
 .account-money-actions>button{gap:8px;font-size:16px;padding-inline:8px}
 .account-action-icon{width:32px;height:34px}
}

/* Partner avatars use the shared Huangguo brand mark. */
.account-avatar{overflow:hidden;padding:0;background:transparent;border:0}
.account-avatar>img{width:100%;height:100%;object-fit:contain;border-radius:inherit}
.app-shell .topbar-actions>.avatar{overflow:hidden;padding:0;background:transparent;border:0}
.app-shell .topbar-actions>.avatar>img{width:100%;height:100%;object-fit:contain;border-radius:inherit}
