html,body,#app{width:100%;height:100%;margin:0;color:#1f2937;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;background:#f5f7fb}.admin-shell,.admin-login-page{min-width:1180px}*{box-sizing:border-box}.admin-shell{min-height:100vh;background:#f5f7fb}.admin-login-page{min-height:100vh;padding:28px;color:#1f2937;background:radial-gradient(circle at 18% 8%,rgb(22 119 255 / 10%),transparent 28%),linear-gradient(180deg,#f8fbff,#eef3f9)}.admin-login-header{display:flex;max-width:1080px;align-items:center;justify-content:space-between;margin:0 auto}.admin-login-brand{display:flex;align-items:center;gap:10px}.admin-login-brand>span{display:grid;width:42px;height:42px;place-items:center;color:#fff;font-size:18px;font-weight:800;background:#1677ff;border-radius:10px;box-shadow:0 10px 22px #1677ff33}.admin-login-brand strong,.admin-login-brand em{display:block;line-height:1.12}.admin-login-brand strong{color:#101828;font-size:22px;font-weight:800}.admin-login-brand em{color:#667085;font-size:12px;font-style:normal}.admin-login-card{width:min(420px,calc(100vw - 32px));padding:36px 34px;margin:132px auto 0;background:#ffffffeb;border:1px solid #dfe7f1;border-radius:10px;box-shadow:0 18px 48px #1018281f}.admin-login-card h1{margin:0;color:#101828;font-size:24px;font-weight:700;text-align:center}.admin-login-card p{margin:10px 0 26px;color:#667085;font-size:13px;line-height:20px;text-align:center}.admin-login-options{display:flex;align-items:center;justify-content:space-between;margin:-4px 0 16px}.admin-login-options label{display:flex;align-items:center;gap:7px;color:#667085;font-size:12px}.admin-login-options input{accent-color:#1677ff}.admin-login-submit{width:100%;height:42px;font-weight:700}.admin-sider{position:fixed!important;top:0;bottom:0;left:0;z-index:20;height:100vh;overflow:hidden auto;box-shadow:1px 0 #ffffff0f}.admin-shell>.ant-layout{min-height:100vh;margin-left:220px;transition:margin-left .2s}.admin-shell>.ant-layout.admin-main-collapsed,.admin-shell:has(.ant-layout-sider-collapsed)>.ant-layout{margin-left:80px}.brand{display:flex;align-items:center;height:56px;padding:0 16px;gap:10px;color:#fff;border-bottom:1px solid rgb(255 255 255 / 8%)}.brand-mark{display:grid;flex:0 0 30px;width:30px;height:30px;place-items:center;color:#fff;font-size:15px;font-weight:700;background:#1677ff;border-radius:7px}.brand-text{display:flex;min-width:0;flex-direction:column;line-height:1.15}.brand-text strong{font-size:15px;letter-spacing:0}.brand-text span{margin-top:3px;color:#ffffff94;font-size:11px}.menu-dot{display:inline-block;width:14px;height:14px;border:2px solid currentColor;border-radius:4px}.topbar{position:sticky;top:0;z-index:15;display:flex;height:56px;align-items:center;justify-content:space-between;padding:0 20px;background:#fff;border-bottom:1px solid #eef0f4}.breadcrumb{display:flex;align-items:center;gap:8px;color:#667085;font-size:13px}.breadcrumb strong{color:#1f2937;font-weight:500}.top-actions{color:#475467}.user-box{display:flex;align-items:center;gap:8px;color:#344054;font-size:13px}.avatar{display:grid;width:28px;height:28px;place-items:center;color:#1677ff;font-size:12px;font-weight:700;background:#e6f4ff;border:1px solid #bae0ff;border-radius:50%}.content{padding:16px;background:#f5f7fb}.clickable-table .ant-table-tbody>tr{cursor:pointer}.clickable-table .ant-table-tbody>tr:hover>td{background:#f5faff}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px}.page-heading h1{margin:0;color:#101828;font-size:20px;font-weight:600;line-height:28px}.page-heading p{max-width:780px;margin:6px 0 0;color:#667085;font-size:13px;line-height:20px}.overview-panel{overflow:hidden;margin-bottom:12px;background:#fff;border:1px solid #eef0f4;border-radius:6px;box-shadow:0 1px 2px #1018280a}.overview-body{padding:16px}.section-titlebar{display:flex;align-items:center;justify-content:space-between;padding-bottom:12px}.section-titlebar h2{margin:0;color:#1f2937;font-size:15px;font-weight:600;line-height:22px}.section-titlebar p{margin:3px 0 0;color:#667085;font-size:12px;line-height:18px}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.metric-card{display:flex;min-height:132px;gap:14px;padding:16px;background:#fff;border:1px solid #eef0f4;border-radius:6px}.metric-icon{display:grid;flex:0 0 42px;width:42px;height:42px;place-items:center;font-size:21px;border-radius:8px}.metric-content{min-width:0;flex:1}.metric-title{margin-bottom:5px;color:#667085;font-size:13px;line-height:20px}.metric-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:10px;margin-top:10px;color:#475467;font-size:12px;border-top:1px solid #f2f4f7}.metric-footer em{color:#667085;font-style:normal}.overview-empty{display:grid;min-height:132px;place-items:center;background:#fafafa;border:1px dashed #d9d9d9;border-radius:6px}.analysis-stack{display:flex;flex-direction:column;gap:12px}.analysis-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.analysis-cards.four-columns{grid-template-columns:repeat(4,minmax(0,1fr))}.analysis-card{padding:14px 16px;background:#fafafa;border:1px solid #eef0f4;border-radius:6px}.analysis-card span{display:block;color:#667085;font-size:13px;line-height:20px}.analysis-card strong{display:block;margin-top:6px;color:#1f2937;font-size:22px;font-weight:600;line-height:30px}.analysis-card em{display:block;margin-top:6px;color:#667085;font-size:12px;font-style:normal;line-height:18px}.analysis-toolbar{display:flex;align-items:center;gap:10px;padding:12px;background:#fafafa;border:1px solid #eef0f4;border-radius:6px}.analysis-toolbar span{color:#344054;font-size:13px;font-weight:500}.chart-card{padding:14px 16px;background:#fff;border:1px solid #eef0f4;border-radius:6px}.chart-title{margin-bottom:8px;color:#1f2937;font-size:14px;font-weight:600;line-height:22px}.revenue-chart{width:100%;height:280px}.risk-panel{padding-top:2px}.subsection-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:14px 0 10px}.subsection-heading.compact{padding-bottom:0}.subsection-heading h3{margin:0;color:#1f2937;font-size:15px;font-weight:600;line-height:22px}.subsection-heading p{max-width:760px;margin:4px 0 0;color:#667085;font-size:12px;line-height:18px}.security-roadmap{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.roadmap-item{display:flex;min-height:42px;align-items:center;gap:8px;padding:9px 10px;background:#fafafa;border:1px solid #eef0f4;border-radius:6px}.roadmap-item span{min-width:0;flex:1;overflow:hidden;color:#344054;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.roadmap-item em{color:#667085;font-size:12px;font-style:normal}.security-summary{margin-bottom:12px}.security-config-card{padding:14px;background:#fff;border:1px solid #eef0f4;border-radius:6px}.security-switch-grid,.security-toggle-panel{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:10px 0 12px}.security-switch-row,.security-toggle-row{display:flex;min-height:36px;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;background:#fafafa;border:1px solid #eef0f4;border-radius:6px}.security-switch-row span,.security-toggle-row span{min-width:0;color:#344054;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.security-inline-form{margin-top:8px}.security-drawer{display:flex;flex-direction:column;gap:14px}.player-detail{display:flex;flex-direction:column;gap:16px}.send-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr);gap:12px}.gift-create-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,.44fr);gap:12px}.send-form-card,.send-preview-card,.gift-form-card{padding:16px;background:#fff;border:1px solid #eef0f4;border-radius:6px}.send-preview-card h3{margin:0 0 12px;color:#1f2937;font-size:15px;font-weight:600;line-height:22px}.send-target-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.bound-player-tag{max-width:100%;margin-inline-end:0;white-space:normal;line-height:22px}.muted-text{color:#667085;font-size:12px}.send-item-list{display:flex;flex-direction:column;gap:8px}.send-item-row{display:grid;grid-template-columns:minmax(0,1fr) 140px 72px;gap:8px}.send-item-select,.send-count-input{width:100%}.gift-item-row{display:grid;grid-template-columns:minmax(220px,1fr) minmax(220px,1fr) 140px 72px;gap:8px;align-items:center;margin-bottom:8px}.gift-item-select{width:100%}.item-option-row,.selected-item-meta,.gift-preview-reward{display:flex;align-items:center;gap:10px;min-width:0}.item-icon-box{display:grid;flex:0 0 auto;width:38px;height:38px;place-items:center;overflow:hidden;color:#475467;font-size:13px;font-weight:700;background:#f8fafc;border:1px solid #d0d5dd;border-radius:8px}.item-icon-box img{display:block;width:100%;height:100%;object-fit:contain}.item-icon-box.quality-3{background:#f0fff4;border-color:#86efac}.item-icon-box.quality-4{background:#eff6ff;border-color:#93c5fd}.item-icon-box.quality-5{background:#faf5ff;border-color:#c4b5fd}.item-icon-box.quality-6{background:#fff7ed;border-color:#fdba74}.item-option-main,.selected-item-meta>span:last-child,.gift-preview-reward>span:last-child{display:block;min-width:0}.item-option-main strong,.selected-item-meta strong,.gift-preview-reward strong{display:block;overflow:hidden;color:#1f2937;font-size:13px;font-weight:600;line-height:18px;text-overflow:ellipsis;white-space:nowrap}.item-option-main em,.selected-item-meta em,.gift-preview-reward em{display:block;overflow:hidden;color:#667085;font-size:12px;font-style:normal;line-height:16px;text-overflow:ellipsis;white-space:nowrap}.selected-item-meta{min-height:48px;padding:6px 8px;background:#f8fafc;border:1px solid #eef0f4;border-radius:6px}.gift-preview-items{margin-top:14px}.gift-preview-items h4{margin:12px 0 8px;color:#1f2937;font-size:13px;font-weight:600}.gift-preview-rewards,.gift-preview-day-list{display:grid;gap:8px}.gift-preview-reward{padding:8px;background:#f8fafc;border:1px solid #eef0f4;border-radius:6px}.gift-preview-day{display:grid;gap:8px;padding:8px;background:#fff;border:1px solid #eef0f4;border-radius:6px}.gift-preview-day>strong{color:#475467;font-size:12px}.gift-switch-row{display:flex;align-items:center;gap:10px;padding:8px 0;color:#344054;font-size:13px}.gift-limit-input{width:180px}.gift-subpanel,.privilege-day{padding:12px;margin-bottom:12px;background:#fafafa;border:1px solid #eef0f4;border-radius:6px}.privilege-days{display:flex;flex-direction:column;gap:10px}.privilege-day-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.preview-item-list{display:flex;flex-wrap:wrap;gap:6px}.preview-tip{margin:12px 0 0;color:#667085;font-size:12px;line-height:18px}.redeem-code-result{display:flex;align-items:center;gap:8px;padding:10px 12px;margin-top:12px;background:#f0f7ff;border:1px solid #bae0ff;border-radius:6px}.redeem-code-result span{color:#475467;font-size:12px}.redeem-code-result strong{color:#0958d9;font-size:16px;letter-spacing:.04em}.danger-tip{padding:10px 12px;margin:0 0 14px;color:#b42318;font-size:13px;line-height:20px;background:#fff1f0;border:1px solid #ffccc7;border-radius:6px}.detail-section{display:flex;flex-direction:column;gap:10px}.detail-section h3{margin:0;color:#1f2937;font-size:15px;font-weight:600;line-height:22px}.section-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.business-panel{overflow:hidden;background:#fff;border:1px solid #eef0f4;border-radius:6px;box-shadow:0 1px 2px #1018280a}.business-tabs{padding:0 16px;border-bottom:1px solid #f0f0f0}.panel-body{padding:16px}.filter-form{display:flex;gap:8px 0;padding:12px;margin-bottom:12px;background:#fafafa;border:1px solid #f0f0f0;border-radius:6px}.order-query-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;margin-bottom:12px;background:#fafafa;border:1px solid #f0f0f0;border-radius:6px}.order-query-main{display:flex;flex:1;flex-wrap:wrap;gap:8px}.order-query-actions{display:flex;align-items:center;gap:10px}.order-field-select{width:140px}.order-value-select,.order-number-input,.order-text-input{width:200px}.order-date-picker,.keyword-input{width:240px}.filter-select{width:150px}.agent-select{width:190px}.range-picker{width:240px}.filter-actions{margin-left:auto}.agent-register-layout{display:grid;grid-template-columns:1fr;gap:12px;margin-bottom:12px}.agent-register-card{overflow:hidden;background:#fff;border:1px solid #eef0f4;border-radius:6px}.agent-register-title{padding:13px 16px;color:#1f2937;font-size:15px;font-weight:600;line-height:22px;border-bottom:1px solid #eef0f4}.agent-register-meta{padding:10px 16px 0;color:#667085;font-size:12px;line-height:18px}.agent-register-meta strong{color:#1f2937;font-weight:600}.agent-register-meta span{margin-left:14px;color:#344054}.agent-link-row{display:grid;grid-template-columns:minmax(0,1fr) 120px;gap:12px;align-items:center;padding:12px 16px}.agent-link-row+.agent-link-row{padding-top:0}.agent-player-register-form{display:grid;grid-template-columns:minmax(220px,1fr) minmax(220px,1fr) auto;gap:12px;align-items:end;padding:16px}.agent-player-register-form .ant-form-item{margin-inline-end:0;margin-bottom:0}.agent-player-register-form .ant-input-affix-wrapper,.agent-player-register-form .ant-input{width:100%}.table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.pagination-row{display:flex;justify-content:flex-end;padding-top:12px}.action-buttons{display:flex;flex-direction:column;gap:10px;padding:4px 0}.action-modal-content{padding:10px 0 0;text-align:center}.warning-icon{margin-bottom:12px;color:#ff4d4f;font-size:42px}.warning-text{color:#ff4d4f;font-size:15px;line-height:22px}.toolbar-text{color:#667085;font-size:13px}.ellipsis-cell{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom;white-space:nowrap}.money-cell{color:#1d4ed8;font-weight:600}.coin-cell{color:#475467;font-weight:600}.pagination-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:12px;color:#667085;font-size:13px}.edit-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.wide-field{grid-column:1 / -1}.full-input{width:100%}.activity-type-select{width:180px}.activity-note-input{width:260px}.activity-config-groups{display:grid;gap:14px}.activity-config-group{border:1px solid #eef0f4;border-radius:6px;background:#fff}.activity-group-title{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid #eef0f4}.activity-config-list{display:grid}.activity-config-row{display:grid;grid-template-columns:minmax(220px,1fr) minmax(520px,2fr);gap:14px;align-items:center;padding:12px 14px;border-bottom:1px solid #f3f4f6}.activity-config-row:last-child{border-bottom:0}.activity-config-main strong,.activity-config-main span{display:block}.activity-config-main strong{color:#1f2937;font-size:14px;line-height:22px}.activity-config-main span{color:#667085;font-size:12px;line-height:18px}.activity-config-controls{display:grid;grid-template-columns:72px 72px minmax(170px,1fr) minmax(160px,1fr);gap:10px;align-items:center}.activity-config-controls label{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#667085;font-size:12px}.activity-cycle-input{width:100%}.activity-picker-row{display:flex;align-items:center;gap:12px;padding:12px 14px}.activity-picker-row label{display:inline-flex;flex:0 0 auto;align-items:center;gap:6px;color:#475467;font-size:12px}.activity-option-select{min-width:360px;flex:1 1 auto}.activity-option-detail{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:0 14px 14px;color:#667085;font-size:12px;line-height:22px}.ant-statistic-title{margin-bottom:4px!important;color:#667085!important;font-size:13px!important}.ant-statistic-content{color:#1f2937!important;font-size:22px!important;line-height:28px!important}.ant-tabs-nav{margin-bottom:0!important}.ant-table-thead>tr>th{color:#344054!important;font-weight:600!important;background:#f8fafc!important}.ant-table-cell,.ant-btn{font-size:13px}@media(max-width:1280px){.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.analysis-cards,.security-roadmap{grid-template-columns:1fr}.security-switch-grid,.security-toggle-panel{grid-template-columns:repeat(2,minmax(0,1fr))}.send-layout,.gift-create-layout,.send-target-grid{grid-template-columns:1fr}.filter-actions{margin-left:0}}
