/* USER_ALL_PAGES_UI_20260829
 * 普通用户业务页面统一视觉层。仅在 body.user-console-surface 下生效。
 * 不改变业务逻辑、按钮事件、权限或数据接口。
 */
body.user-console-surface{--uc-pri:#4f46e5;--uc-pri2:#7c3aed;--uc-line:#e2e8f0;--uc-text:#243042;--uc-muted:#6b7688;--uc-soft:#f7f9fc;--uc-shadow:0 8px 25px rgba(15,23,42,.065);background:#f7f9fc!important;color:var(--uc-text)!important}
body.user-console-surface .main,body.user-console-surface main,body.user-console-surface .content,body.user-console-surface .container{min-width:0}
body.user-console-surface .card,body.user-console-surface .panel,body.user-console-surface .box,body.user-console-surface .section-card{border-color:var(--uc-line)!important;box-shadow:var(--uc-shadow)!important}
body.user-console-surface .toolbar,body.user-console-surface .page-toolbar,body.user-console-surface .section-toolbar{gap:12px!important;align-items:center!important}
body.user-console-surface h1,body.user-console-surface h2,body.user-console-surface h3{color:#172033;letter-spacing:-.015em}
body.user-console-surface button,body.user-console-surface .btn,body.user-console-surface a.btn,input[type=button]{font-family:inherit}
body.user-console-surface .btn,body.user-console-surface button:not(.switch):not(.user-plugin-toggle):not(.user-password-field button):not(.user-modal-close):not(.icon-btn):not([class*=close]){min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 15px;border:1px solid #dfe5ee;border-radius:12px;background:linear-gradient(180deg,#fff,#f3f6fa);color:#405066;font-size:13px;font-weight:800;line-height:1.2;white-space:nowrap;box-shadow:0 2px 5px rgba(15,23,42,.045);transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease,background .14s ease,color .14s ease}
body.user-console-surface .btn:hover,body.user-console-surface button:not(.switch):not(.user-plugin-toggle):not(.user-password-field button):not(.user-modal-close):not(.icon-btn):not([class*=close]):hover{border-color:#becadc;background:#fff;color:#223047;box-shadow:0 7px 17px rgba(15,23,42,.09);transform:translateY(-1px)}
body.user-console-surface .btn:active,body.user-console-surface button:active{transform:translateY(0) scale(.985)}
body.user-console-surface .btn.pri,body.user-console-surface .btn.primary,body.user-console-surface button.primary,body.user-console-surface button[type=submit]{border-color:transparent;background:linear-gradient(135deg,var(--uc-pri),var(--uc-pri2));color:#fff;box-shadow:0 8px 18px rgba(79,70,229,.22)}
body.user-console-surface .btn.pri:hover,body.user-console-surface .btn.primary:hover,body.user-console-surface button.primary:hover,body.user-console-surface button[type=submit]:hover{background:linear-gradient(135deg,#4338ca,#6d28d9);color:#fff;box-shadow:0 11px 24px rgba(79,70,229,.28)}
body.user-console-surface .btn.ok,body.user-console-surface button.ok,body.user-console-surface .btn.success{border-color:#b9e5d2;background:linear-gradient(180deg,#f8fffb,#e9f8f1);color:#087a50}
body.user-console-surface .btn.warn,body.user-console-surface button.warn{border-color:#f1d49b;background:linear-gradient(180deg,#fffdf7,#fff5dc);color:#a35f00}
body.user-console-surface .btn.bad,body.user-console-surface button.bad,body.user-console-surface .btn.danger,body.user-console-surface button.danger{border-color:#f1c5cd;background:linear-gradient(180deg,#fffafa,#fff0f2);color:#b4233c}
body.user-console-surface button:disabled,body.user-console-surface .btn:disabled{opacity:.52;cursor:not-allowed;transform:none;box-shadow:none}
body.user-console-surface input:not([type=checkbox]):not([type=radio]),body.user-console-surface select,body.user-console-surface textarea{min-height:44px;border:1px solid #dce3ec;border-radius:12px;background:#fff;color:#263449;box-shadow:inset 0 1px 2px rgba(15,23,42,.025);outline:0;transition:border-color .16s ease,box-shadow .16s ease}
body.user-console-surface input:focus,body.user-console-surface select:focus,body.user-console-surface textarea:focus{border-color:#818cf8;box-shadow:0 0 0 3px rgba(99,102,241,.13)}
body.user-console-surface .badge,body.user-console-surface .tag,body.user-console-surface .pill{display:inline-flex;align-items:center;justify-content:center;min-height:25px;padding:3px 9px;border-radius:999px;font-size:12px;font-weight:800}
body.user-console-surface table{border-collapse:separate;border-spacing:0;background:#fff}
body.user-console-surface .table-wrap,body.user-console-surface .table-container{border:1px solid var(--uc-line);border-radius:14px;overflow:auto;background:#fff}
body.user-console-surface th{background:#f5f7fb;color:#526075;font-weight:850}
body.user-console-surface td,body.user-console-surface th{border-bottom-color:#edf0f4}
body.user-console-surface tr:hover td{background:#fafbfe}
body.user-console-surface .modalbox,body.user-console-surface .modal-card,body.user-console-surface .dialog{border:1px solid rgba(226,232,240,.92);border-radius:18px;box-shadow:0 28px 85px rgba(15,23,42,.25)}
body.user-console-surface .modal-actions,body.user-console-surface .dialog-actions,body.user-console-surface .form-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
body.user-console-surface .modal-actions .btn,body.user-console-surface .dialog-actions .btn,body.user-console-surface .form-actions .btn{min-width:108px}
body.user-console-surface .empty,body.user-console-surface .empty-state{border-radius:14px;color:#7a8698}
/* 常见页面操作区：按钮等高且不随文字长度歪斜。 */
body.user-console-surface .actions,body.user-console-surface .action-row,body.user-console-surface .toolbar .row{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
body.user-console-surface .actions>.btn,body.user-console-surface .action-row>.btn{min-width:104px}
@media(max-width:860px){
 body.user-console-surface .btn,body.user-console-surface button:not(.switch):not(.user-plugin-toggle):not(.user-password-field button):not(.user-modal-close):not(.icon-btn):not([class*=close]){min-height:43px;padding:0 12px;font-size:13px}
 body.user-console-surface .card,body.user-console-surface .panel,body.user-console-surface .box{box-shadow:0 5px 17px rgba(15,23,42,.055)!important}
 body.user-console-surface .toolbar,body.user-console-surface .page-toolbar,body.user-console-surface .section-toolbar{align-items:flex-start!important}
 body.user-console-surface .modal-actions,body.user-console-surface .dialog-actions,body.user-console-surface .form-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}
 body.user-console-surface .modal-actions .btn,body.user-console-surface .dialog-actions .btn,body.user-console-surface .form-actions .btn{width:100%;min-width:0}
 body.user-console-surface .actions,body.user-console-surface .action-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
 body.user-console-surface .actions>.btn,body.user-console-surface .action-row>.btn{width:100%;min-width:0}
}
@media(max-width:420px){body.user-console-surface .actions,body.user-console-surface .action-row,body.user-console-surface .modal-actions,body.user-console-surface .dialog-actions,body.user-console-surface .form-actions{grid-template-columns:1fr}}

/* DASH_LAYOUT_REFINEMENT_20260829：基于桌面/手机真实截图调整概览信息比例。 */
body.user-center-page #dash>.grid.stats{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:14px!important}
body.user-center-page #dash>.grid.stats>.stat{min-height:108px!important;padding:16px!important;border-radius:15px!important}
body.user-center-page #dash>.grid.stats>.stat b{font-size:23px!important;line-height:1.2!important}
body.user-center-page #dash>.grid.stats>.stat p{margin-top:8px!important;font-size:12px!important}
body.user-center-page .user-dash-actions-card{padding:17px!important}
body.user-center-page .user-dash-actions-card>.toolbar{margin-bottom:12px!important}
body.user-center-page .user-dash-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important}
body.user-center-page .user-dash-actions .btn,body.user-center-page .user-dash-actions .btn:first-child,body.user-center-page .user-dash-actions .btn:nth-child(n){grid-column:auto!important;width:100%!important;min-height:44px!important}
body.user-center-page .user-dash-actions .btn:first-child{grid-column:span 1!important}
body.user-center-page #userNoticeBox{padding:14px 16px!important}
body.user-center-page #userNoticeBox .user-notice-content{max-width:920px!important}
body.user-center-page #userNoticeBox .user-notice-text{line-height:1.7!important}
@media(max-width:860px){
 body.user-center-page #header-nav-slot{overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;justify-content:flex-start!important;padding-right:8px!important}
 body.user-center-page #header-nav-slot::-webkit-scrollbar{display:none!important}
 body.user-center-page #header-nav-slot [data-page],body.user-center-page #header-nav-slot a{flex:0 0 auto!important;white-space:nowrap!important}
 body.user-center-page #dash>.grid.stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 body.user-center-page #dash>.grid.stats>.stat{min-height:108px!important;padding:14px!important}
 body.user-center-page #dash>.grid.stats>.stat:last-child{grid-column:1/-1!important;min-height:88px!important}
 body.user-center-page #dash>.grid.stats>.stat:last-child b{font-size:21px!important}
 body.user-center-page .user-dash-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 body.user-center-page .user-dash-actions .btn:first-child{grid-column:1/-1!important}
 body.user-center-page .user-dash-actions .btn{min-height:44px!important}
 body.user-center-page #userNoticeBox{padding:13px!important}
}
@media(max-width:390px){
 body.user-center-page #dash>.grid.stats{grid-template-columns:1fr 1fr!important}
 body.user-center-page .user-dash-actions{grid-template-columns:1fr 1fr!important}
 body.user-center-page .user-dash-actions .btn:first-child{grid-column:1/-1!important}
}

/* DASH_MOBILE_REFINEMENT_20260829：减少移动端顶部拥挤和公告纵向占用。 */
@media(max-width:860px){
 body.user-center-page .admin-header{display:grid!important;grid-template-columns:44px minmax(0,1fr) auto!important;gap:8px!important;padding:0 10px!important}
 body.user-center-page .admin-header>.brand{display:none!important}
 body.user-center-page #header-nav-slot{display:flex!important;min-width:0!important;padding:0!important;overflow:hidden!important;justify-content:flex-start!important}
 body.user-center-page #header-nav-slot [data-page]{display:none!important}
 body.user-center-page #header-nav-slot [data-page].active{display:inline-flex!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important}
 body.user-center-page .admin-header .user-area,body.user-center-page .admin-header .header-user,body.user-center-page .admin-header>.row:last-child{justify-self:end!important}
 body.user-center-page .page-title-bar{padding:14px!important;min-height:74px!important}
 body.user-center-page .page-title-bar .user-current-title span:first-of-type,body.user-center-page .page-title-bar .user-current-title em{display:none!important}
 body.user-center-page .page-title-bar .user-current-title{font-size:20px!important}
 body.user-center-page .page-title-bar>.row{display:none!important}
 body.user-center-page #userNoticeBox{max-height:190px!important;overflow:auto!important}
 body.user-center-page #userNoticeBox .user-notice-text{font-size:12px!important;line-height:1.62!important}
 body.user-center-page #userNoticeBox .user-notice-time{font-size:10px!important;margin-top:7px!important}
}

/* BOTS_COMMERCIAL_REFINEMENT_20260829：机器人管理页商业化视觉与操作层级。 */
body.user-center-page #bots>.card{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
body.user-center-page #bots>.card>.toolbar{background:#fff!important;border:1px solid #e3e8f0!important;border-radius:15px!important;padding:15px 17px!important;margin-bottom:14px!important;box-shadow:0 7px 22px rgba(15,23,42,.055)!important}
body.user-center-page #botsBox.user-bot-grid{gap:14px!important}
body.user-center-page .user-bot-card{position:relative!important;overflow:hidden!important;padding:17px!important;border:1px solid #dfe6ef!important;border-radius:16px!important;background:linear-gradient(180deg,#fff 0%,#fcfdff 100%)!important;box-shadow:0 8px 26px rgba(15,23,42,.065)!important}
body.user-center-page .user-bot-card:before{content:'';position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(180deg,#6366f1,#8b5cf6);opacity:.9}
body.user-center-page .user-bot-card.is-inactive:before{background:linear-gradient(180deg,#e8798d,#f59e0b)}
body.user-center-page .user-bot-card-head{padding:0 0 13px!important;border-bottom:1px solid #edf1f5!important}
body.user-center-page .user-bot-card .bot-avatar{width:50px!important;height:50px!important;border-radius:15px!important;box-shadow:0 5px 13px rgba(15,23,42,.1)!important}
body.user-center-page .user-bot-identity b{font-size:17px!important;line-height:1.35!important}
body.user-center-page .user-bot-identity span{font-family:Consolas,monospace!important;font-size:11px!important;color:#8b95a7!important}
body.user-center-page .user-bot-card .badge{border-radius:999px!important;padding:4px 9px!important;font-size:10px!important;letter-spacing:.02em!important}
body.user-center-page .user-bot-facts{gap:8px!important;margin-top:13px!important}
body.user-center-page .user-bot-facts>div{min-height:58px!important;padding:9px 10px!important;border:1px solid #edf1f5!important;border-radius:11px!important;background:#f8fafc!important}
body.user-center-page .user-bot-facts span{font-size:10px!important;text-transform:none!important;color:#8993a5!important}
body.user-center-page .user-bot-facts b{font-size:12px!important;color:#344054!important;line-height:1.4!important}
body.user-center-page .user-bot-webhook{margin-top:11px!important;min-height:54px!important;border-radius:12px!important;border-color:#dce6f1!important;background:linear-gradient(180deg,#f9fcff,#f3f8fd)!important}
body.user-center-page .user-bot-webhook em{padding:4px 8px!important;border-radius:8px!important;background:#e7f0fb!important}
body.user-center-page .user-bot-actions{margin-top:12px!important;gap:9px!important}
body.user-center-page .user-bot-plugin-action{min-height:44px!important;border-radius:11px!important;font-size:13px!important}
body.user-center-page .user-bot-secondary-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
body.user-center-page .user-bot-secondary-actions .btn{height:39px!important;min-height:39px!important;border-radius:10px!important;padding:0 7px!important;font-size:11.5px!important}
body.user-center-page .user-bot-secondary-actions .btn.bad{grid-column:auto!important}
body.user-center-page .bot-disabled-notice{border:1px solid #f1cbd2!important;border-radius:11px!important;background:#fff7f8!important}
@media(max-width:860px){
 body.user-center-page #bots>.card>.toolbar{padding:13px!important;border-radius:13px!important}
 body.user-center-page .user-bot-card{padding:14px!important;border-radius:14px!important}
 body.user-center-page .user-bot-card-head{grid-template-columns:46px minmax(0,1fr) auto!important;gap:10px!important}
 body.user-center-page .user-bot-card .bot-avatar{width:46px!important;height:46px!important;border-radius:14px!important}
 body.user-center-page .user-bot-facts{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.user-center-page .user-bot-facts>div:first-child{grid-column:1/-1!important}
 body.user-center-page .user-bot-facts>div{min-height:54px!important}
 body.user-center-page .user-bot-secondary-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.user-center-page .user-bot-secondary-actions .btn{height:42px!important;min-height:42px!important;font-size:12px!important}
}
@media(max-width:390px){body.user-center-page .user-bot-secondary-actions{grid-template-columns:1fr 1fr!important}body.user-center-page .user-bot-secondary-actions .btn{font-size:11px!important;padding:0 5px!important}}

/* PLUGINS_COMMERCIAL_REFINEMENT_20260829：基于真实截图压缩低价值区域，提高插件浏览效率。 */
body.user-center-page #plugins>.card{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
body.user-center-page #plugins>.card>.toolbar{padding:15px 17px!important;margin-bottom:12px!important;border:1px solid #e3e8f0!important;border-radius:15px!important;background:#fff!important;box-shadow:0 7px 22px rgba(15,23,42,.055)!important}
body.user-center-page #plugins>.card>.toolbar>.row{gap:9px!important}
body.user-center-page #pluginBot{height:42px!important}
body.user-center-page .user-owner-config{border-radius:13px!important;box-shadow:0 5px 16px rgba(79,70,229,.045)!important}
body.user-center-page .user-plugin-upload{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px 16px!important;align-items:center!important;margin:0 0 12px!important;padding:12px 14px!important;border-radius:13px!important;background:linear-gradient(180deg,#fbfcfe,#f7f9fc)!important}
body.user-center-page .user-plugin-upload>b{grid-column:1!important;font-size:13px!important}
body.user-center-page .user-plugin-upload>.sub{grid-column:1!important;margin:0!important;font-size:11px!important;line-height:1.5!important}
body.user-center-page .user-plugin-upload>.row{grid-column:2!important;grid-row:1/3!important;display:flex!important;flex-wrap:nowrap!important;align-self:center!important;margin:0!important}
body.user-center-page .user-plugin-upload>.row .btn{min-width:112px!important;min-height:38px!important;font-size:12px!important}
body.user-center-page .user-plugin-filter{display:grid!important;grid-template-columns:220px minmax(0,1fr)!important;align-items:center!important;gap:12px!important;padding:11px 0!important;margin:0 0 12px!important}
body.user-center-page .user-plugin-filter #pluginCategory{width:100%!important;height:40px!important}
body.user-center-page #pluginsBox.user-plugin-grid{gap:13px!important;align-items:stretch!important}
body.user-center-page .user-plugin-card{height:100%!important;display:flex!important;flex-direction:column!important;padding:15px!important;border:1px solid #dfe6ef!important;border-radius:15px!important;background:linear-gradient(180deg,#fff,#fcfdff)!important;box-shadow:0 7px 22px rgba(15,23,42,.055)!important}
body.user-center-page .user-plugin-head{grid-template-columns:42px minmax(0,1fr) auto!important;gap:10px!important;padding-bottom:11px!important}
body.user-center-page .user-plugin-icon{box-shadow:inset 0 0 0 1px rgba(52,122,198,.06)!important}
body.user-center-page .user-plugin-head>.badge{grid-column:auto!important;justify-self:end!important;align-self:start!important;max-width:110px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body.user-center-page .user-plugin-description{flex:1!important;min-height:58px!important;margin-top:11px!important;padding:0!important;border:0!important;background:transparent!important;color:#5d697b!important;font-size:12.5px!important;line-height:1.65!important}
body.user-center-page .user-plugin-footer{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;margin-top:12px!important;padding-top:11px!important;border-top:1px solid #edf1f5!important}
body.user-center-page .user-plugin-state{font-size:11px!important}
body.user-center-page .user-plugin-controls{display:flex!important;gap:7px!important;align-items:center!important}
body.user-center-page .user-plugin-settings{min-width:84px!important;height:36px!important;min-height:36px!important}
body.user-center-page .user-plugin-toggle{min-width:92px!important;height:36px!important;min-height:36px!important}
body.user-center-page .plugin-config{margin-top:12px!important;border-radius:12px!important}
@media(max-width:860px){
 body.user-center-page #plugins>.card>.toolbar{display:grid!important;grid-template-columns:1fr!important;padding:13px!important;border-radius:13px!important}
 body.user-center-page #plugins>.card>.toolbar>.row{display:grid!important;grid-template-columns:1fr!important;width:100%!important}
 body.user-center-page .user-plugin-upload{grid-template-columns:1fr!important;padding:12px!important}
 body.user-center-page .user-plugin-upload>b,body.user-center-page .user-plugin-upload>.sub,body.user-center-page .user-plugin-upload>.row{grid-column:1!important;grid-row:auto!important}
 body.user-center-page .user-plugin-upload>.row{display:grid!important;grid-template-columns:1fr 1fr!important;margin-top:5px!important}
 body.user-center-page .user-plugin-upload>.row .btn{width:100%!important;min-width:0!important}
 body.user-center-page .user-plugin-filter{grid-template-columns:1fr!important;gap:6px!important;padding:9px 0!important}
 body.user-center-page .user-plugin-filter>.sub{font-size:10.5px!important}
 body.user-center-page .user-plugin-card{padding:13px!important;border-radius:13px!important}
 body.user-center-page .user-plugin-head{grid-template-columns:40px minmax(0,1fr) auto!important;padding-bottom:9px!important}
 body.user-center-page .user-plugin-head>.badge{grid-column:3!important;max-width:88px!important}
 body.user-center-page .user-plugin-description{min-height:0!important;margin-top:9px!important;font-size:12px!important;line-height:1.58!important}
 body.user-center-page .user-plugin-footer{grid-template-columns:1fr!important;gap:8px!important;margin-top:10px!important;padding-top:9px!important}
 body.user-center-page .user-plugin-controls{display:grid!important;grid-template-columns:1fr 1fr!important;width:100%!important;gap:7px!important}
 body.user-center-page .user-plugin-controls>*{width:100%!important;min-width:0!important}
 body.user-center-page .user-plugin-settings,body.user-center-page .user-plugin-toggle{height:38px!important;min-height:38px!important;justify-content:center!important}
 body.user-center-page .user-plugin-toggle:only-child{grid-column:1/-1!important}
}

/* AGENT_COMMERCIAL_REFINEMENT_20260829：基于真实截图优化购买、充值和记录层级。 */
body.user-center-page #agent>.user-agent-stats{gap:14px!important}
body.user-center-page #agent>.user-agent-stats>.stat{min-height:108px!important;padding:16px!important;border:1px solid #dfe6ef!important;border-radius:15px!important;background:linear-gradient(180deg,#fff,#fcfdff)!important;box-shadow:0 8px 24px rgba(15,23,42,.06)!important}
body.user-center-page #agent>.user-agent-stats>.stat b{font-size:23px!important;line-height:1.3!important}
body.user-center-page #agent>.user-agent-stats>.stat p{margin-top:8px!important;font-size:12px!important}
body.user-center-page #agentUnitPrice{gap:5px!important}
body.user-center-page #agentUnitPrice .agent-price-line{font-size:16px!important;line-height:1.4!important;padding:2px 0!important}
body.user-center-page #agentCreateCard,body.user-center-page #rechargeCard,body.user-center-page #agentCodesCard,body.user-center-page #agentLogsCard{border:1px solid #dfe6ef!important;border-radius:16px!important;background:#fff!important;box-shadow:0 8px 25px rgba(15,23,42,.06)!important}
body.user-center-page #agentCreateCard{position:relative!important;overflow:hidden!important;padding:18px!important}
body.user-center-page #agentCreateCard:before{content:'';position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,#4f46e5,#8b5cf6)}
body.user-center-page #agentCreateCard>.toolbar,body.user-center-page #rechargeCard>.toolbar{padding-bottom:13px!important;margin-bottom:14px!important;border-bottom:1px solid #edf1f5!important}
body.user-center-page #agentCreateCard>.toolbar h3,body.user-center-page #rechargeCard>.toolbar h3{font-size:18px!important}
body.user-center-page #extractCardRoleHint,body.user-center-page #rechargeHint{font-size:11.5px!important;line-height:1.55!important}
body.user-center-page #agentCreateCard .user-agent-create-form{grid-template-columns:minmax(220px,1.2fr) minmax(120px,.65fr) minmax(170px,.9fr) minmax(150px,.75fr)!important;gap:11px!important}
body.user-center-page #agentCreateCard .user-agent-create-form label{display:grid!important;gap:6px!important;color:#4f5d70!important;font-size:12px!important;font-weight:800!important}
body.user-center-page #agentCreateCard .user-agent-create-form .input,body.user-center-page #agentCreateCard #agentCardType{height:44px!important}
body.user-center-page #agentCreateCard .agent-buy-submit{height:44px!important;border-radius:11px!important;font-size:13px!important}
body.user-center-page #agentCreateCard .agent-buy-hint{grid-column:1/-1!important;min-height:48px!important;padding:11px 14px!important;border:1px solid #dfe5ee!important;border-radius:12px!important;background:linear-gradient(180deg,#fafbfe,#f5f7fb)!important;color:#425066!important;font-size:12px!important;font-weight:700!important}
body.user-center-page #agentCreateCard .agent-buy-hint:before{content:'结算摘要';margin-right:12px;padding:3px 8px;border-radius:999px;background:#ede9fe;color:#5b21b6;font-size:10px;font-weight:900}
body.user-center-page #rechargeCard{padding:18px!important}
body.user-center-page #rechargeCard .user-agent-create-form{grid-template-columns:150px 180px 140px minmax(260px,1fr)!important;gap:10px!important;align-items:end!important}
body.user-center-page #rechargeCard .user-agent-create-form label{display:grid!important;gap:6px!important;color:#4f5d70!important;font-size:12px!important;font-weight:800!important}
body.user-center-page #rechargeCard .user-agent-create-form>.btn{height:44px!important}
body.user-center-page #rechargeCard .user-agent-create-form>.sub{align-self:center!important;font-size:11px!important;line-height:1.5!important;color:#6f7b8c!important}
body.user-center-page #rechargeOrders{margin-top:14px!important;border-radius:12px!important}
body.user-center-page #agentCodesCard,body.user-center-page #agentLogsCard{padding:18px!important}
body.user-center-page #agentCodesCard>.toolbar,body.user-center-page #agentLogsCard>.toolbar{padding-bottom:12px!important;margin-bottom:0!important}
body.user-center-page .user-agent-table th{height:42px!important;font-size:11px!important;color:#667085!important}
body.user-center-page .user-agent-table td{font-size:12px!important}
@media(max-width:860px){
 body.user-center-page #agent>.user-agent-stats{grid-template-columns:1fr 1fr!important;gap:10px!important}
 body.user-center-page #agent>.user-agent-stats>.stat{min-height:104px!important;padding:14px!important;border-radius:14px!important}
 body.user-center-page #agent>.user-agent-stats>.stat b{font-size:21px!important}
 body.user-center-page #agentUnitPrice .agent-price-line{font-size:14px!important;white-space:normal!important}
 body.user-center-page #agentCreateCard,body.user-center-page #rechargeCard,body.user-center-page #agentCodesCard,body.user-center-page #agentLogsCard{padding:14px!important;border-radius:14px!important}
 body.user-center-page #agentCreateCard .user-agent-create-form{grid-template-columns:1fr 1fr!important;gap:10px!important}
 body.user-center-page #agentCreateCard .agent-buy-type{grid-column:1/-1!important}
 body.user-center-page #agentCreateCard .agent-buy-submit{grid-column:1/-1!important;width:100%!important;height:46px!important}
 body.user-center-page #agentCreateCard .agent-buy-hint{grid-column:1/-1!important;display:block!important;min-height:48px!important;text-align:left!important;line-height:1.6!important}
 body.user-center-page #agentCreateCard .agent-buy-hint:before{display:inline-flex!important;margin-bottom:5px!important}
 body.user-center-page #rechargeCard .user-agent-create-form{grid-template-columns:1fr 1fr!important}
 body.user-center-page #rechargeCard .user-agent-create-form>.btn,body.user-center-page #rechargeCard .user-agent-create-form>.sub{grid-column:1/-1!important;width:100%!important}
 body.user-center-page #rechargeCard .user-agent-create-form>.sub{padding:9px 10px!important;border-radius:10px!important;background:#f7f9fc!important}
}
@media(max-width:390px){body.user-center-page #agentCreateCard .user-agent-create-form,body.user-center-page #rechargeCard .user-agent-create-form{grid-template-columns:1fr!important}body.user-center-page #agentCreateCard .agent-buy-type,body.user-center-page #agentCreateCard .agent-buy-submit,body.user-center-page #agentCreateCard .agent-buy-hint,body.user-center-page #rechargeCard .user-agent-create-form>.btn,body.user-center-page #rechargeCard .user-agent-create-form>.sub{grid-column:auto!important}}

/* PENDING_ORDER_MOBILE_FIX_20260829：修复待支付订单在移动端通用表格样式下按钮文字丢失。 */
body.user-center-page #rechargeOrders .user-agent-table,body.user-center-page #rechargeOrders table{width:100%!important}
body.user-center-page #rechargeOrders td:last-child{vertical-align:middle!important}
body.user-center-page #rechargeOrders td:last-child .btn,body.user-center-page #rechargeOrders button.btn.pri{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:40px!important;height:40px!important;width:auto!important;min-width:104px!important;padding:0 14px!important;color:#fff!important;-webkit-text-fill-color:#fff!important;line-height:1!important;font-size:12px!important;font-weight:850!important;white-space:nowrap!important;overflow:visible!important;text-indent:0!important;opacity:1!important}
body.user-center-page #rechargeOrders td:last-child .btn.pri{background:linear-gradient(135deg,#4f46e5,#7c3aed)!important}
@media(max-width:860px){
 body.user-center-page #rechargeCard .user-agent-table tr{display:block!important;padding:13px 14px!important;margin:0 0 10px!important;border:1px solid #e1e7ef!important;border-radius:13px!important;background:#fff!important;box-shadow:0 4px 14px rgba(15,23,42,.045)!important}
 body.user-center-page #rechargeCard .user-agent-table td{display:grid!important;grid-template-columns:70px minmax(0,1fr)!important;align-items:center!important;min-height:34px!important;padding:6px 0!important;border:0!important;gap:9px!important;white-space:normal!important}
 body.user-center-page #rechargeCard .user-agent-table td:before{font-size:11px!important;color:#8a94a6!important;font-weight:800!important}
 body.user-center-page #rechargeCard .user-agent-table td:first-child code{font-family:Consolas,monospace!important;font-size:12px!important;line-height:1.45!important;overflow-wrap:anywhere!important;word-break:break-all!important;color:#344054!important}
 body.user-center-page #rechargeCard .user-agent-table td:nth-child(2){font-size:15px!important;font-weight:850!important;color:#172033!important}
 body.user-center-page #rechargeCard .user-agent-table td:nth-child(4) .badge{font-size:12px!important;justify-self:start!important}
 body.user-center-page #rechargeCard .user-agent-table td:last-child{display:block!important;padding-top:10px!important;margin-top:5px!important;border-top:1px solid #edf1f5!important}
 body.user-center-page #rechargeCard .user-agent-table td:last-child:before{display:none!important}
 body.user-center-page #rechargeCard .user-agent-table td:last-child .btn{width:100%!important;height:42px!important;min-height:42px!important;font-size:13px!important;border-radius:10px!important}
 body.user-center-page #rechargeCard .user-agent-table td small{display:block!important;margin-top:3px!important;color:#8a94a6!important;font-size:11px!important}
}

/* EMPTY_ORDER_ACTION_FIX_20260829：空操作列不渲染成紫色按钮。 */
body.user-center-page #rechargeOrders td.recharge-order-action.is-empty{display:none!important;background:transparent!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important}
body.user-center-page #rechargeOrders .recharge-expired-tip{display:inline-flex!important;align-items:center!important;min-height:32px!important;padding:5px 10px!important;border-radius:9px!important;background:#f1f5f9!important;color:#64748b!important;font-size:11px!important;font-weight:750!important}
body.user-center-page #rechargeOrders .recharge-resume-btn,body.user-center-page #rechargeOrders .recharge-resume-btn span{color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important;visibility:visible!important}
@media(max-width:860px){
 body.user-center-page #rechargeOrders td.recharge-order-action.is-empty{display:none!important}
 body.user-center-page #rechargeOrders td.recharge-order-action.has-action{display:block!important;background:transparent!important}
 body.user-center-page #rechargeOrders td.recharge-order-action.is-expired{display:block!important;background:transparent!important}
 body.user-center-page #rechargeOrders td.recharge-order-action.is-expired:before,body.user-center-page #rechargeOrders td.recharge-order-action.has-action:before{display:none!important}
 body.user-center-page #rechargeOrders .recharge-resume-btn{display:flex!important;width:100%!important;height:42px!important;background:linear-gradient(135deg,#4f46e5,#7c3aed)!important}
}

/* NAV_PENDING_EMERGENCY_FIX_20260829：恢复移动端完整导航，并强制显示继续支付文字。 */
@media(max-width:860px){
 body.user-center-page .admin-header{display:flex!important;align-items:center!important;gap:8px!important;padding:0 10px!important;overflow:visible!important}
 body.user-center-page .admin-header>.brand{display:none!important}
 body.user-center-page #header-nav-slot{display:flex!important;flex:1 1 auto!important;min-width:0!important;max-width:none!important;overflow-x:auto!important;overflow-y:hidden!important;justify-content:flex-start!important;gap:6px!important;padding:0 2px!important;scrollbar-width:none!important;-webkit-overflow-scrolling:touch!important}
 body.user-center-page #header-nav-slot::-webkit-scrollbar{display:none!important}
 body.user-center-page #header-nav-slot [data-page],body.user-center-page #header-nav-slot a{display:inline-flex!important;flex:0 0 auto!important;max-width:none!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important}
 body.user-center-page #header-nav-slot [data-page].active{display:inline-flex!important}
 body.user-center-page .admin-header .topActions,body.user-center-page .admin-header .user-area,body.user-center-page .admin-header .header-user{flex:0 0 auto!important}
 body.user-center-page #rechargeOrders .recharge-resume-btn{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:44px!important;min-height:44px!important;background:linear-gradient(135deg,#4f46e5,#7c3aed)!important;color:transparent!important;-webkit-text-fill-color:transparent!important;font-size:0!important;overflow:visible!important}
 body.user-center-page #rechargeOrders .recharge-resume-btn>span{display:none!important}
 body.user-center-page #rechargeOrders .recharge-resume-btn:after{content:'继续支付'!important;display:inline-block!important;position:static!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:14px!important;font-weight:850!important;line-height:1!important;opacity:1!important;visibility:visible!important}
}

/* ORDER_CARD_WIDTH_FIX_20260829：移动端订单卡片左右边界一致，禁止向右溢出。 */
@media(max-width:860px){
 body.user-center-page #rechargeCard{overflow:hidden!important}
 body.user-center-page #rechargeOrders{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important;box-sizing:border-box!important;padding:0!important;margin-left:0!important;margin-right:0!important}
 body.user-center-page #rechargeOrders table,body.user-center-page #rechargeOrders tbody{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;overflow:hidden!important}
 body.user-center-page #rechargeOrders tbody{padding:0 1px!important}
 body.user-center-page #rechargeOrders tr{display:block!important;width:calc(100% - 2px)!important;max-width:calc(100% - 2px)!important;min-width:0!important;box-sizing:border-box!important;margin:0 1px 10px!important;overflow:hidden!important}
 body.user-center-page #rechargeOrders td{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;overflow:hidden!important}
 body.user-center-page #rechargeOrders td>*{max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
 body.user-center-page #rechargeOrders code{display:block!important;width:100%!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-all!important}
 body.user-center-page #rechargeOrders .recharge-resume-btn{max-width:100%!important;box-sizing:border-box!important}
}

/* ORDER_NO_WRAP_FIX_20260829：订单号单独占内容列，强制换行避免与其他字段重叠。 */
@media(max-width:860px){
 body.user-center-page #rechargeOrders td:first-child{display:grid!important;grid-template-columns:64px minmax(0,1fr)!important;align-items:start!important;gap:9px!important;overflow:hidden!important}
 body.user-center-page #rechargeOrders td:first-child:before{grid-column:1!important;grid-row:1!important}
 body.user-center-page #rechargeOrders td:first-child code{grid-column:2!important;grid-row:1!important;display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;font-family:Consolas,monospace!important;font-size:12px!important;line-height:1.5!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-all!important;hyphens:none!important}
 body.user-center-page #rechargeOrders td{overflow-wrap:anywhere!important}
 body.user-center-page #rechargeOrders td:nth-child(5){white-space:normal!important}
}

/* RECHARGE_AMOUNT_DISPLAY_FIX_20260829：金额独立突出显示，订单号作为次级信息。 */
body.user-center-page #rechargeOrders .recharge-order-amount strong{font-size:18px!important;font-weight:900!important;color:#172033!important;white-space:nowrap!important;letter-spacing:-.02em!important}
body.user-center-page #rechargeOrders .recharge-order-amount strong:first-letter{color:#4f46e5}
@media(max-width:860px){
 body.user-center-page #rechargeOrders td.recharge-order-amount{display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:43px!important;padding:3px 0 9px!important;margin-bottom:4px!important;border-bottom:1px solid #edf1f5!important}
 body.user-center-page #rechargeOrders td.recharge-order-amount:before{content:'支付金额'!important;font-size:12px!important;color:#8a94a6!important;font-weight:800!important}
 body.user-center-page #rechargeOrders .recharge-order-amount strong{font-size:21px!important;color:#4f46e5!important}
 body.user-center-page #rechargeOrders td:first-child{padding-top:4px!important}
 body.user-center-page #rechargeOrders td:first-child:before{font-size:11px!important}
}

/* LOGS_COMMERCIAL_REFINEMENT_20260829：基于真实截图压缩技术噪音，提高审计浏览效率。 */
body.user-center-page #botlogs>.card{padding:18px!important;border:1px solid #dfe6ef!important;border-radius:16px!important;background:#fff!important;box-shadow:0 8px 25px rgba(15,23,42,.06)!important}
body.user-center-page #botlogs .user-log-toolbar{padding-bottom:13px!important;margin-bottom:13px!important;border-bottom:1px solid #edf1f5!important}
body.user-center-page #botlogs .user-log-toolbar h3{font-size:18px!important}
body.user-center-page #botlogs .user-log-toolbar .sub{font-size:11.5px!important}
body.user-center-page .user-log-filter-toggle{min-width:112px!important;height:40px!important}
body.user-center-page .user-log-cards{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;align-items:stretch!important}
body.user-center-page .user-log-card{height:100%!important;display:flex!important;flex-direction:column!important;padding:14px!important;border:1px solid #e0e6ef!important;border-radius:14px!important;background:linear-gradient(180deg,#fff,#fcfdff)!important;box-shadow:0 5px 16px rgba(15,23,42,.045)!important}
body.user-center-page .user-log-head{display:grid!important;grid-template-columns:42px minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;padding-bottom:10px!important;border-bottom:1px solid #edf1f5!important}
body.user-center-page .user-log-avatar{width:42px!important;height:42px!important;border-radius:12px!important;object-fit:cover!important}
body.user-center-page .user-log-name{font-size:14px!important;line-height:1.35!important;color:#243042!important}
body.user-center-page .user-log-time{font-size:10px!important;color:#8b95a7!important}
body.user-center-page .user-log-head>.badge{align-self:start!important;margin-top:1px!important}
body.user-center-page .user-log-tags{display:flex!important;gap:6px!important;margin:9px 0!important}
body.user-center-page .user-log-tags .badge{min-height:23px!important;padding:3px 8px!important;border-radius:7px!important;font-size:10px!important}
body.user-center-page .user-log-content{flex:1!important;min-height:58px!important;max-height:82px!important;overflow:hidden!important;margin:0!important;padding:10px!important;border:1px solid #edf1f5!important;border-radius:10px!important;background:#f8fafc!important;color:#445166!important;font-family:ui-monospace,SFMono-Regular,Consolas,monospace!important;font-size:11px!important;line-height:1.55!important;white-space:pre-wrap!important;word-break:break-word!important;overflow-wrap:anywhere!important}
body.user-center-page .user-log-meta{display:grid!important;grid-template-columns:1fr 1fr!important;gap:5px 12px!important;margin-top:10px!important;color:#667085!important;font-size:10.5px!important;line-height:1.45!important}
body.user-center-page .user-log-meta>*{min-width:0!important;overflow-wrap:anywhere!important}
body.user-center-page .user-log-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:11px!important;padding-top:10px!important;border-top:1px solid #edf1f5!important}
body.user-center-page .user-log-actions .btn{width:100%!important;height:38px!important;min-height:38px!important;border-radius:10px!important;font-size:11.5px!important}
body.user-center-page .user-log-actions .btn:first-child{border-color:#d8d4fb!important;background:#f2f0ff!important;color:#5145b7!important}
body.user-center-page .user-log-actions .btn:last-child{background:#fff!important;color:#607087!important}
body.user-center-page .user-log-filter-panel{border-color:#dfe6ef!important;background:#f8fafc!important}
@media(max-width:860px){
 body.user-center-page #botlogs>.card{padding:14px!important;border-radius:14px!important}
 body.user-center-page #botlogs .user-log-toolbar{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
 body.user-center-page .user-log-filter-toggle{width:100%!important}
 body.user-center-page .user-log-cards{grid-template-columns:1fr!important;gap:9px!important}
 body.user-center-page .user-log-card{padding:12px!important;border-radius:13px!important}
 body.user-center-page .user-log-head{grid-template-columns:40px minmax(0,1fr) auto!important;padding-bottom:8px!important}
 body.user-center-page .user-log-avatar{width:40px!important;height:40px!important}
 body.user-center-page .user-log-tags{margin:8px 0!important}
 body.user-center-page .user-log-content{min-height:48px!important;max-height:64px!important;padding:9px!important;font-size:10.5px!important}
 body.user-center-page .user-log-meta{grid-template-columns:1fr!important;gap:4px!important;margin-top:8px!important}
 body.user-center-page .user-log-actions{margin-top:9px!important;padding-top:8px!important}
 body.user-center-page .user-log-actions .btn{height:40px!important;min-height:40px!important}
}
