.user-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.account-dialog{border:1px solid #e2e8f0;border-radius:20px;padding:0;width:min(720px,calc(100vw - 40px));max-width:720px;max-height:85vh;color:#172b46;box-shadow:0 24px 80px #18345630;animation:account-in .2s ease}.account-dialog::backdrop{background:#152d4d55;backdrop-filter:blur(3px)}.account-dialog header{display:flex;align-items:center;justify-content:space-between;padding:22px 26px;border-bottom:1px solid #edf0f5}.account-dialog h2{margin:0;font-size:19px}.account-dialog button{font:inherit;cursor:pointer}.account-close{display:grid;place-items:center;flex-shrink:0;border:0;background:#f1f3f5;border-radius:50%;width:30px;height:30px;padding:0;line-height:1}.account-close svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.account-body{padding:26px}.account-dialog p{font-size:14px;line-height:1.7;color:#68788e}.account-login-dialog{width:min(320px,calc(100vw - 32px))}.account-login-dialog header{padding:16px 20px}.account-login-dialog .account-body{padding:16px 20px 20px}.account-login-body{text-align:center;min-height:0}.account-login-body #wx-qr{width:210px;height:210px;max-width:100%;margin:0 auto}.account-login-body iframe{display:block;border:0;width:100%;height:210px}.account-login-body p{margin:12px 0 0;font-size:13px}.account-message{background:#eaf3ff;color:#285c9e!important;border-radius:10px;padding:10px 14px;margin:0 0 18px}.account-plans{display:grid;grid-template-columns:1fr 1fr;gap:24px}.account-plan-list{display:flex;flex-direction:column;gap:10px}.account-plan{border:1px solid #dce4ef;border-radius:12px;padding:16px;background:white;text-align:left;color:#172b46}.account-plan:hover,.account-plan[aria-pressed=true]{border-color:#2563eb;background:#eff5ff}.account-plan strong,.account-plan span{display:block}.account-plan span{margin-top:8px;color:#2563eb;font-size:20px}.account-plan small{color:#718096}.account-payment{background:#f7f9fc;border-radius:14px;padding:18px;text-align:center;min-height:270px}.account-payment img{width:210px;height:210px;max-width:100%;border-radius:10px}.account-primary{border:0;border-radius:9px;background:#2563eb;color:white;padding:10px 18px}.account-dialog button:disabled{opacity:.5;cursor:wait}.account-dialog button:focus-visible{outline:2px solid #2563eb;outline-offset:3px}.account-dialog .account-error{color:#a43737}.account-notice{font-size:12px!important;margin-bottom:0}@keyframes account-in{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}@media(max-width:600px){.account-plans{grid-template-columns:1fr}.account-dialog{max-height:90vh}}@media(prefers-reduced-motion:reduce){.account-dialog{animation:none}}

.sidebar-account{flex-shrink:0;margin-top:12px;padding:18px 6px 0;border-top:1px solid #e2e8f1;min-width:0}
.sidebar-account svg,.invite-gift svg,#invite-copy svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.sidebar-account button{font:inherit;cursor:pointer}
.account-membership{display:flex;align-items:center;justify-content:center;gap:9px;width:168px;max-width:100%;margin-inline:auto;min-height:44px;border:1px solid #d9e1ed;border-radius:16px;background:#fff;color:#344255;box-shadow:0 6px 20px #253a5810;font-weight:600!important}
.account-membership svg{color:#4096ff}.account-membership:hover{border-color:#8bb5f9;background:#f9fbff}
.account-services{display:flex;justify-content:space-around;gap:10px;padding:16px 0 20px}.account-services button{display:flex;align-items:center;justify-content:center;gap:8px;border:0;background:none;color:#59616e;padding:4px 0;white-space:nowrap;font-size:13px}.account-services button:hover{color:#2563eb}
.sidebar-account .sidebar-user{padding:18px 0 8px;gap:6px}.account-profile{min-width:0;flex:1;display:flex;align-items:center;gap:12px;text-align:left;border:0;background:none;padding:3px 0;color:#15263c}
.sidebar-account .user-avatar{width:46px;height:46px;border:1px solid #dce2eb;background:#fff;color:#8b95a4;font-size:17px;overflow:hidden}.sidebar-account .user-avatar svg{width:23px;height:23px}
.account-profile-copy{min-width:0;flex:1;overflow:hidden}.account-profile-copy strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.account-profile-copy small{white-space:normal;overflow:visible;max-width:100%;color:#7a8799;line-height:1.6;font-size:10px}
.account-signout{border:0;background:none;color:#8793a3;padding:4px}.account-signout:hover{color:#2563eb}.sidebar-account button:focus-visible{outline:2px solid #2563eb;outline-offset:3px}
.account-support-dialog{width:min(340px,calc(100vw - 32px))}.account-support-content{text-align:center}.account-support-content img{display:block;width:min(100%,270px);height:auto;margin:auto}.account-support-content p{margin-bottom:0}.customer-qr{position:relative;width:250px;max-width:100%;aspect-ratio:1;overflow:hidden;margin:auto;background:#fff}.account-support-content .customer-qr img{position:absolute;width:128.73%;max-width:none;left:-14.363%;top:-43.631%;height:auto;margin:0}
.account-invite-dialog{width:min(780px,calc(100vw - 32px));max-width:780px}.account-invite-dialog header{padding:16px 20px}.account-invite-dialog .account-body{padding:16px 20px 8px}.account-invite-dialog .invite-subtitle{margin:0 0 12px;font-size:12px;color:#8b97aa}
.invite-banner{display:flex;align-items:center;gap:12px;border:1px solid #dce9fc;background:#f0f6ff;border-radius:12px;padding:14px}.invite-gift{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#fff;color:#2563eb;box-shadow:0 4px 12px #2a4e8120;flex-shrink:0}.invite-gift svg{width:24px;height:24px}.invite-banner strong{font-size:15px;color:#2563eb}.invite-banner p{margin:6px 0 0;font-size:13px;color:#8390a3}
.invite-overview{display:grid;grid-template-columns:minmax(240px,1fr) minmax(280px,1fr);gap:16px;align-items:end;margin-top:16px}.invite-share label{display:block;font-weight:600;font-size:14px;margin-bottom:10px}.invite-share>div{display:flex;gap:9px}.invite-share input{min-width:0;flex:1;width:100%;border:1px solid #dce3ed;border-radius:7px;background:#f7f9fc;padding:10px;color:#768297;font:inherit;font-size:13px}.invite-share button{display:flex;align-items:center;gap:5px;white-space:nowrap;padding:9px 12px}
.invite-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.invite-stats>div{border:1px solid #e5ebf4;border-radius:11px;text-align:center;padding:12px 6px 10px}.invite-stats span{display:block;color:#8994a6;font-size:13px}.invite-stats strong{display:block;margin-top:7px;color:#2563eb;font-size:22px;font-weight:650}.invite-stats>div:nth-child(2) strong{color:#13a98a}.invite-stats>div:nth-child(3) strong{color:#f28c28}
.invite-record-title{margin:18px 0 10px;font-size:15px}.invite-table-wrap{overflow-x:auto}.invite-table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}.invite-table th{background:#f6f8fb;font-weight:600;color:#7c879a}.invite-table th,.invite-table td{padding:10px 12px;border-bottom:1px solid #edf0f5;white-space:nowrap}.invite-table td{color:#627086}.invite-table .invite-empty{text-align:center;padding:35px 12px;color:#9aa4b3}.invite-badge{display:inline-block;border-radius:20px;padding:4px 12px;background:#f1f3f6;color:#8a95a6;font-size:12px}.invite-badge.active{color:#14a68b;background:#e7f7f2}
.invite-pagination{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:12px;font-size:12px;color:#8b97a8}.invite-pagination button{border:1px solid #e1e7f0;border-radius:7px;padding:6px 10px;background:#fff;color:#718199}.invite-pagination button:disabled{opacity:.4;cursor:default}.account-invite-dialog .invite-feedback{margin:8px 0 0;min-height:20px;text-align:center;font-size:12px;color:#2563eb}
@media(max-width:760px){.invite-overview{grid-template-columns:1fr}.invite-banner{align-items:flex-start;padding:16px}.invite-banner strong{font-size:15px}.account-invite-dialog .account-body{padding:18px}.invite-table th,.invite-table td{padding:12px 10px}}
.account-dialog .account-primary:hover{background:#1d4ed8;border-color:#1d4ed8;color:#fff}
#account-menu{position:fixed;inset:auto;margin:0;padding:0;width:234px;max-width:calc(100vw - 24px);max-height:calc(100vh - 24px);overflow:auto;border:1px solid #e0e6ef;border-radius:12px;background:#fff;color:#26374b;box-shadow:0 10px 32px #253c5720;font-size:14px}
.account-summary{margin:0;padding:18px 20px}.account-summary>div{display:flex;justify-content:space-between;gap:14px;margin:7px 0 16px}.account-summary>div:last-child{margin-bottom:4px}.account-summary dt{color:#91a0b2;flex-shrink:0}.account-summary dd{margin:0;min-width:0;text-align:right;overflow-wrap:anywhere}.account-summary .account-validity{display:block}.account-validity dd{text-align:left;margin-top:8px;font-size:13px;line-height:1.6}.account-menu-actions{border-top:1px solid #e0e6ef;padding:8px 0}.account-menu-actions button{display:flex;align-items:center;gap:11px;border:0;border-radius:0;background:transparent;width:100%;padding:12px 20px;text-align:left;color:#5a6574;font:inherit}.account-menu-actions button:hover{background:#f1f3f5;color:#2563eb}.account-menu-actions svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.account-menu-actions button:focus-visible{outline:2px solid #93b4fa;outline-offset:-3px}
.account-orders-dialog{width:min(760px,calc(100vw - 32px));max-width:760px}.account-orders-dialog header{padding:16px 20px}.account-orders-dialog .account-body{padding:16px 20px}.orders-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;font-size:13px;color:#8794a7}.orders-table td strong,.orders-table td small{display:block}.orders-table td strong{font-weight:500;color:#34465e}.orders-table td small{margin-top:6px;font-size:10px;color:#93a0b2}.account-dialog .orders-help{font-size:12px;color:#92a0b2;margin:16px 0 0}
.account-redeem{display:block;margin-top:18px;padding-top:16px;border-top:1px solid #e2e8f0}.account-redeem label{display:block;margin-bottom:9px;font-size:13px;font-weight:600}.account-redeem>div{display:flex;gap:8px}.account-redeem input{min-width:0;width:100%;flex:1;border:1px solid #dce4ef;border-radius:9px;padding:10px 12px;color:#172b46;background:#fff;font:inherit;font-size:13px}.account-redeem input:focus{outline:2px solid #93b4fa;outline-offset:1px}.account-redeem button{flex-shrink:0;white-space:nowrap}.account-redeem p{margin:10px 0 0;padding:8px 10px;border-radius:8px;background:#eaf3ff;color:#285c9e;font-size:12px}
.account-plan-meta{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-top:10px}.account-plan-prices{display:flex;align-items:baseline;gap:8px;flex-shrink:0}.account-plan .account-plan-price{display:inline;margin:0;color:#ff4d4f;font-size:22px;font-weight:700}.account-plan-prices del{font-size:12px;color:#b0b7c2}.account-plan .account-plan-description{min-width:0;text-align:right;overflow-wrap:anywhere;font-size:13px;color:#929cac}
.account-dialog:has(.account-plans) header{padding:14px 22px}
.account-dialog:has(.account-plans) .account-body{padding:16px 22px}
.account-dialog:has(.account-plans) .account-message{padding:8px 12px;margin-bottom:12px}
.account-plan-list{gap:8px}.account-plan{padding:12px}.account-plan-meta{margin-top:6px}
.account-payment{min-height:0;padding:12px}.account-payment p{margin:8px 0}
.account-dialog .account-redeem{margin-top:12px;padding-top:10px}.account-redeem label{margin-bottom:6px}
.account-redeem input{padding:8px 10px}.account-redeem button{padding:8px 14px}
