/* Luansui mobile account home. Scoped to this page; no data or route changes. */
@media(max-width:760px){
 #luansui-home{--luh-page-inset:14px;--luh-mobile-amount-size:36px}
 #luansui-home>.el-container>.el-container>.el-main,
 html.luansui-client body>#luansui-home>.el-container>.el-container>.el-main{min-width:0;padding:74px 14px 28px!important;background:#f5f7fb;box-sizing:border-box}
 #luansui-home .luh-page{font-size:14px;line-height:1.6;color:#243b55}
 #luansui-home .luh-layout{display:flex;flex-direction:column;gap:14px;min-width:0}
 #luansui-home .luh-main-column,#luansui-home .luh-side-column{display:flex;flex-direction:column;width:100%;min-width:0;gap:14px}
 #luansui-home .luh-panel{width:100%;min-width:0;border:1px solid #e1e8f1;border-radius:14px;background:#fff;box-shadow:none;box-sizing:border-box}
 #luansui-home .luh-panel-heading{min-height:54px;padding:8px 14px;gap:8px;border-bottom:1px solid #edf1f6;align-items:center}
 #luansui-home .luh-panel-heading h1,#luansui-home .luh-panel-heading h2{min-width:0;font-size:16px;line-height:1.5;color:#203653;overflow-wrap:anywhere}
 #luansui-home .luh-panel-heading>a,#luansui-home .luh-text-button{display:inline-flex;align-items:center;justify-content:flex-end;flex-shrink:0;min-height:44px;margin:0;padding:4px 0;font-size:12px;line-height:1.5;color:#426794;white-space:normal;text-align:right}
 #luansui-home .luh-overview{background:linear-gradient(140deg,#eef5ff 0%,#fff 70%);border-color:#dbe6f7}
 #luansui-home .luh-overview>.luh-panel-heading{border:0;padding-bottom:0;min-height:44px}
 #luansui-home .luh-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:0 12px 14px;margin:0}
 #luansui-home .luh-stat{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;min-width:0;min-height:74px;margin:0;padding:8px 4px;border:0;border-right:1px solid #e5ebf3;border-radius:0;background:transparent;text-align:center;box-sizing:border-box}
 #luansui-home .luh-stats>.luh-stat:last-child{border-right:0}
 #luansui-home .luh-stat-label{font-size:12px;line-height:1.6;color:#5b6f89;overflow-wrap:anywhere}
 #luansui-home .luh-stat-number{max-width:100%;margin:8px 0 0;font-size:clamp(16px,4.6vw,20px);font-weight:600;line-height:1.35;letter-spacing:0;white-space:normal;overflow-wrap:anywhere;color:#233d60;font-variant-numeric:tabular-nums}
 #luansui-home .luh-currency{font-size:11px;margin-right:1px;font-weight:400}
 #luansui-home .luh-stat-caption{display:none}
 #luansui-home .luh-stat-balance{grid-column:1/-1;grid-row:auto;display:block;min-height:0;margin:0 0 12px;padding:4px 4px 16px;border:0;border-bottom:1px solid #dfe8f5;text-align:left}
 #luansui-home .luh-stat-balance .luh-stat-label{font-size:13px;color:#506887}
 #luansui-home .luh-stat-balance .luh-stat-number{margin:6px 0 14px;font-size:36px;line-height:1.2;white-space:normal;overflow-wrap:anywhere;color:#183f77}
 #luansui-home .luh-stat-balance .luh-currency{font-size:18px;margin-right:4px}
 #luansui-home .luh-balance-actions{display:flex;gap:10px;max-width:none;flex-wrap:wrap}
 #luansui-home .luh-balance-actions .luh-button{flex:0 1 auto;min-width:104px;min-height:44px;padding:9px 18px;border-radius:8px;font-size:13px;line-height:1.5}
 #luansui-home .luh-button.is-primary{background:#2463dc;border-color:#2463dc;color:#fff}
 #luansui-home .luh-resource-summary{display:flex;gap:8px;padding:14px 14px 0;color:#5c708b;font-size:12px}
 #luansui-home .luh-resource-summary>span{flex:1;min-width:0;padding:8px 4px;text-align:center;line-height:1.6;background:#f7f9fd;border-radius:8px;overflow-wrap:anywhere}
 #luansui-home .luh-resource-summary strong{display:block;margin:3px 0 0;font-size:19px;font-weight:600;line-height:1.35;overflow-wrap:anywhere;color:#255eaa}
 #luansui-home .luh-resource-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:14px}
 #luansui-home .luh-resource-card{display:flex;flex-direction:column;min-width:0;min-height:116px;padding:12px;gap:10px;border:1px solid #e1e8f2;border-radius:10px;background:#fff}
 #luansui-home .luh-card-name{display:flex;align-items:center;gap:8px;min-width:0}
 #luansui-home .luh-card-name strong{min-width:0;font-size:14px;line-height:1.5;font-weight:600;overflow-wrap:anywhere;color:#2a405f}
 #luansui-home .luh-card-icon{width:32px;height:32px;flex:0 0 32px;object-fit:contain}
 #luansui-home .luh-resource-counts{display:flex;flex-direction:column;gap:5px;padding-top:9px;margin-top:auto;border-top:1px solid #edf1f6}
 #luansui-home .luh-resource-counts>span{display:flex;align-items:baseline;justify-content:space-between;gap:4px;min-width:0;font-size:12px;color:#5d708a}
 #luansui-home .luh-resource-counts b{margin:0;font-size:14px;font-weight:600;overflow-wrap:anywhere}
 #luansui-home .luh-resource-error{font-size:12px;line-height:1.5}
 #luansui-home .is-attention,#luansui-home .luh-stat-number.is-attention{color:#9c5b14}
 #luansui-home .luh-recommend-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:14px}
 #luansui-home .luh-recommend-card{display:flex;align-items:center;gap:8px;min-width:0;min-height:76px;padding:12px 10px;border:1px solid #e1e8f2;border-radius:10px;background:#fff}
 #luansui-home .luh-recommend-card strong{min-width:0;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
 #luansui-home .luh-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:14px;gap:9px}
 #luansui-home .luh-shortcuts>a{display:flex;align-items:center;justify-content:center;min-width:0;min-height:52px;padding:10px 6px;border:1px solid #e5ebf3;border-radius:9px;background:#f8faff;color:#335784;font-size:13px;line-height:1.5;text-align:center;overflow-wrap:anywhere}
 #luansui-home .luh-profile-info{gap:12px;min-height:96px;padding:18px 16px}
 #luansui-home .luh-profile-avatar{width:48px;height:48px;font-size:23px;flex:0 0 48px}
 #luansui-home .luh-profile-info h2{font-size:17px;line-height:1.5}
 #luansui-home .luh-profile-info p{margin:4px 0 0;font-size:12px;color:#5e718b}
 #luansui-home .luh-bindings>a{display:flex;flex-direction:row;justify-content:center;gap:8px;min-height:50px;padding:10px 6px;font-size:12px;color:#5e718b;box-sizing:border-box}
 #luansui-home .luh-bindings strong{font-size:12px}
 #luansui-home .luh-profile-actions{gap:24px;padding:0 14px}
 #luansui-home .luh-profile-actions>a{display:inline-flex;align-items:center;justify-content:center;min-height:48px;font-size:13px}
 #luansui-home .luh-announcements{min-height:0}
 #luansui-home .luh-announcements .luh-panel-heading{padding:8px 14px}
 #luansui-home .luh-notice-list{padding:0 14px}
 #luansui-home .luh-notice-list a{padding:12px 0;gap:5px;font-size:14px;line-height:1.6;color:#334e70}
 #luansui-home .luh-notice-list time{font-size:12px;color:#60738d}
 #luansui-home .luh-loading,#luansui-home .luh-empty,#luansui-home .luh-announcements>.luh-empty{padding:26px 16px;color:#5d708a;font-size:13px;line-height:1.7}
 #luansui-home .luh-compact-empty,#luansui-home .luh-shortcut-empty{padding:22px 14px}
 #luansui-home .luh-error.is-contained{margin:12px 14px;padding:12px;font-size:13px}
 #luansui-home .luh-error button{min-height:44px}
 #luansui-home .luh-table-scroll{max-width:100%;overflow-x:visible}
 #luansui-home .luh-products,#luansui-home .luh-products tbody{display:block;width:100%;min-width:0}
 #luansui-home .luh-products thead{display:none}
 #luansui-home .luh-products tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"name name" "status due" "ip action";gap:12px;padding:16px 14px;border-bottom:1px solid #edf1f6}
 #luansui-home .luh-products td{display:block;min-width:0;padding:0;border:0}
 #luansui-home .luh-products td:first-child{grid-area:name;padding:0 0 10px;border-bottom:1px solid #edf1f6}
 #luansui-home .luh-products td:nth-child(2){grid-area:status}
 #luansui-home .luh-products td:nth-child(3){grid-area:ip}
 #luansui-home .luh-products td:nth-child(4){grid-area:due}
 #luansui-home .luh-products td:last-child{grid-area:action;justify-self:end;align-self:end}
 #luansui-home .luh-products td[data-label]::before{content:attr(data-label);display:block;margin-bottom:5px;color:#5f738d;font-size:12px;line-height:1.5}
 #luansui-home .luh-manage{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 14px;border:1px solid #dce6f2;border-radius:8px;box-sizing:border-box}
 #luansui-home .luh-pagination{gap:8px;padding:12px 14px;flex-wrap:wrap;color:#526986}
 #luansui-home .luh-pagination>div{gap:8px}
 #luansui-home .luh-pagination button{min-height:44px;padding:7px 10px}
 #luansui-home a:focus-visible,#luansui-home button:focus-visible{outline:2px solid #2463dc;outline-offset:3px}
}
@media(max-width:359px){
 #luansui-home .luh-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 #luansui-home .luh-stat{min-height:72px;border-right:0;border-radius:8px;background:#f7f9fd}
 #luansui-home .luh-stat-balance{grid-column:1/-1;background:transparent;border-radius:0;margin-bottom:2px}
 #luansui-home .luh-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}
 #luansui-home .luh-resource-grid{padding:12px;gap:8px}
 #luansui-home .luh-resource-card{padding:10px}
 #luansui-home .luh-card-icon{width:28px;height:28px;flex-basis:28px}
}

/* Mobile-only unified identity, balance and security card. Desktop copies stay hidden. */
#luansui-home .luh-mobile-identity,#luansui-home .luh-mobile-footer{display:none}
@media(max-width:760px){
 #luansui-home .luh-mobile-identity,#luansui-home .luh-mobile-footer{display:block}
 #luansui-home .luh-side-column>.luh-profile{display:none}
 #luansui-home .luh-overview{overflow:hidden}
 #luansui-home .luh-mobile-identity .luh-profile-info{padding:18px 16px 14px;min-height:0;align-items:center;border-bottom:1px solid #e1e9f5}
 #luansui-home .luh-mobile-identity .luh-profile-info>div{min-width:0}
 #luansui-home .luh-mobile-identity h2{margin:0;overflow-wrap:anywhere}
 #luansui-home .luh-mobile-identity a{display:inline-flex;align-items:center;min-height:44px;font-size:12px}
 #luansui-home .luh-mobile-identity .luh-profile-avatar img{display:block;width:100%;height:100%;object-fit:cover}
 #luansui-home .luh-overview>.luh-panel-heading{min-height:44px;padding-top:4px}
 #luansui-home .luh-overview>.luh-panel-heading h1{font-size:13px;font-weight:400;color:#536b89}
 #luansui-home .luh-mobile-footer{border-top:1px solid #e1e9f5;background:rgba(255,255,255,.7)}
 #luansui-home .luh-mobile-footer .luh-bindings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:0}
 #luansui-home .luh-mobile-footer .luh-bindings>a{min-height:44px;flex-wrap:wrap;gap:4px 8px}
 #luansui-home .luh-mobile-footer .luh-profile-actions{display:flex;align-items:center;justify-content:center;gap:24px;border-top:1px solid #edf1f6}
 #luansui-home .luh-mobile-footer .luh-profile-actions>a{min-height:44px}
}
