.mobile-menu-toggle,.mobile-bottom-nav{display:none}.mobile-nav-mask{position:fixed;inset:0;z-index:109;width:100%;height:100%;padding:0;border:0;border-radius:0;background:rgba(8,18,15,.48);backdrop-filter:blur(3px)}.mobile-nav-mask:hover{background:rgba(8,18,15,.48);transform:none}.mobile-detail-drawer{position:fixed;inset:0;z-index:180;display:grid;align-items:end}.mobile-detail-drawer.hidden{display:none}.mobile-detail-mask{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;border-radius:0;background:rgba(8,18,15,.52);backdrop-filter:blur(4px)}.mobile-detail-mask:hover{background:rgba(8,18,15,.52);transform:none}.mobile-detail-card{position:relative;max-height:90dvh;overflow:auto;padding:20px 18px calc(18px + env(safe-area-inset-bottom));border-radius:22px 22px 0 0;background:#fff;box-shadow:0 -22px 60px rgba(15,23,42,.22)}.mobile-detail-card>header{position:sticky;top:-20px;z-index:1;display:flex;align-items:center;justify-content:space-between;margin:-20px -18px 10px;padding:20px 18px 14px;border-bottom:1px solid var(--line);background:#fff}.mobile-detail-card h2{margin-top:4px;font-size:21px}.mobile-detail-card>header button{width:42px;padding:0;font-size:20px}.mobile-detail-fields{display:grid}.mobile-detail-fields>div{display:grid;grid-template-columns:96px minmax(0,1fr);gap:14px;padding:13px 2px;border-bottom:1px solid #edf1ef}.mobile-detail-fields span{color:var(--muted);font-size:12px}.mobile-detail-fields strong{min-width:0;overflow-wrap:anywhere;color:var(--ink);font-size:13px}.mobile-detail-actions{display:flex;gap:9px;padding-top:18px}.mobile-detail-actions button{flex:1;min-height:44px}
@media(max-width:1024px){.console{display:block}.sidebar{position:fixed;inset:0 auto 0 0;z-index:120;width:min(286px,84vw);height:100dvh;padding:22px 16px;transform:translateX(-105%);transition:transform .22s ease;box-shadow:18px 0 50px rgba(0,0,0,.18)}.console.mobile-nav-open .sidebar{transform:none}.sidebar .brand{display:flex;justify-content:flex-start;padding:0 8px 22px}.sidebar .brand>div:last-child,.sidebar .nav-label,.sidebar .sidebar-foot span{display:block}.sidebar #main-nav{display:grid;gap:5px;margin-top:18px;overflow-y:auto}.sidebar #main-nav button{justify-content:flex-start;width:100%;min-height:44px}.sidebar #main-nav button span{display:inline}.sidebar .sidebar-foot{display:flex;justify-content:space-between}.content{min-width:0;padding:22px 20px 42px}.mobile-menu-toggle{display:grid;place-items:center;flex:0 0 44px;width:44px;min-height:44px;padding:0;font-size:19px}.topbar{justify-content:flex-start}.page-context{margin-right:auto}.split,.management-grid,.site-settings-layout,.profile-shell{grid-template-columns:1fr}.panel,.editor,.stage-card,.profile-card{min-width:0}.table-wrap{max-width:100%;overflow-x:auto}.records-toolbar,.record-tools{width:100%;max-width:100%}.record-tools{justify-content:flex-start}.record-tools .filters{display:flex;flex-wrap:wrap;width:100%;max-width:100%}.record-tools .filters>*{min-width:0;max-width:100%}.record-tools .record-date-range{flex:1 1 280px}.record-tools .record-date-range-toggle{width:100%;min-width:0}.topbar-actions{min-width:0}.topbar-actions .live-dot{display:none}#page-verification,#page-records,#page-analytics,#page-customers,#page-users,#page-roles,#page-sms-config,#page-sms-records,#page-alipay-config,#page-wechat-pay-config,#page-recharge-packages,#page-recharge,#page-referrals,#page-settings,#page-recharge-orders,#page-profile{min-width:0;max-width:100%}}
@media(max-width:767px){body.mobile-layer-open{overflow:hidden}.content{padding:14px 12px calc(82px + env(safe-area-inset-bottom))}.topbar{align-items:center;gap:10px;min-height:52px;margin-bottom:15px}.page-context .eyebrow{display:none}.page-context h1,.topbar h1{margin:0;font-size:21px}.topbar-actions{gap:6px}.topbar-actions .wallet-entry{min-width:0;padding:6px 8px}.wallet-entry .wallet-copy small,.wallet-entry>b{display:none}.certification-tutorial-entry{padding:5px 7px!important}.panel,.stage-card,.editor,.form-card{padding:16px;border-radius:14px}.panel-head,.site-settings-head,.sms-heading,.wechat-pay-heading,.alipay-heading,.recharge-orders-heading{align-items:stretch;flex-direction:column}.panel-head button,.site-settings-head button,.sms-heading-actions button,.wechat-pay-heading-actions button,.alipay-heading-actions button{min-height:44px}.filters,.record-tools,.sms-record-filter,.recharge-orders-filters{display:grid;grid-template-columns:1fr;width:100%}.filters input,.filters select,.sms-record-filter input,.sms-record-filter select{width:100%;min-width:0}.actions{align-items:stretch;flex-direction:column}.actions button{width:100%;min-height:44px}.mobile-bottom-nav{position:fixed;right:0;bottom:0;left:0;z-index:100;display:grid;grid-template-columns:repeat(4,1fr);padding:7px 8px calc(7px + env(safe-area-inset-bottom));border-top:1px solid #dfe7e3;background:rgba(255,255,255,.96);box-shadow:0 -10px 28px rgba(15,23,42,.08);backdrop-filter:blur(12px)}.mobile-bottom-nav button{display:grid;place-items:center;gap:2px;min-height:48px;padding:4px;border:0;background:transparent;color:#718079;box-shadow:none}.mobile-bottom-nav button:hover{background:transparent;transform:none}.mobile-bottom-nav button span{font-size:18px;line-height:1}.mobile-bottom-nav button b{font-size:10px}.mobile-bottom-nav button.active{color:#176b50}.mobile-bottom-nav button.active span{display:grid;place-items:center;width:28px;height:24px;border-radius:10px;background:#e4f3ec}.mobile-detail-card{width:100%}.table-wrap{overflow:visible;border:0;background:transparent}.table-wrap table{display:block}.table-wrap thead{display:none}.table-wrap tbody{display:grid;gap:10px}.table-wrap tbody tr{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 12px;padding:14px 40px 14px 14px;border:1px solid var(--line);border-radius:13px;background:#fff;box-shadow:0 7px 20px rgba(15,23,42,.045);cursor:pointer}.table-wrap tbody tr:after{content:"›";position:absolute;right:15px;top:50%;color:#7e8b85;font-size:22px;transform:translateY(-50%)}.table-wrap tbody td{display:none;padding:0;border:0;min-width:0}.table-wrap tbody td[data-mobile-summary="1"]{display:block}.table-wrap tbody td[data-mobile-summary="1"]:before{content:attr(data-label);display:block;margin-bottom:3px;color:var(--muted);font-size:10px}.table-wrap tbody td:nth-of-type(2){font-weight:750}.pagination,.pagination-controls{justify-content:space-between;flex-wrap:wrap;gap:8px}.pagination button,.pagination-controls button{min-height:44px}.record-bulk-toolbar{position:fixed;right:10px;bottom:calc(72px + env(safe-area-inset-bottom));left:10px;z-index:95;max-height:45vh;overflow:auto;border:1px solid #cfe0f7;border-radius:14px;box-shadow:0 15px 45px rgba(15,23,42,.18)}.record-stats,.sms-record-stats,.recharge-orders-stats,.analytics-stats,.customer-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.sms-summary-grid,.wechat-pay-summary-grid,.alipay-summary-grid,.site-settings-form,.record-form-grid{grid-template-columns:1fr}.sms-form>label,.wechat-pay-form>label,.alipay-form>label{grid-template-columns:1fr;gap:5px}.sms-form>label>span,.wechat-pay-form>label>span,.alipay-form>label>span{text-align:left}.modal-dialog,.record-dialog,.profile-modal-card,.user-balance-card{width:100%;max-height:90dvh;border-radius:22px 22px 0 0}.record-modal,.customer-modal,.customer-channel-modal,.profile-modal,.user-balance-modal{align-items:end;padding:0}.certification-tutorial-modal{align-items:end;padding:0}.certification-tutorial-dialog{width:100%;max-height:92dvh;border-radius:22px 22px 0 0}.verification-head{position:static;margin-bottom:10px;text-align:right}.verification-head button{width:100%}.flow-card{overflow-x:auto}.steps{grid-template-columns:repeat(6,112px)}.verification-preparation,.workspace,.account-grid,.result-grid{grid-template-columns:1fr}.verification-success-followup{align-items:stretch;flex-direction:column}.verification-success-followup button{width:100%}.recharge-package-grid,.recharge-checkout-layout,.referral-summary-grid{grid-template-columns:1fr!important}.profile-code-row,.channel-create{grid-template-columns:1fr}.profile-code-row button,.channel-create button{width:100%}}
