*{box-sizing:border-box}
body{margin:0;font-family:Arial,"Microsoft YaHei",sans-serif;background:#f5f7fb;color:#333;font-size:14px}
a{color:#1890ff;text-decoration:none}
.layout{display:flex;min-height:100vh}
.side{width:190px;background:#fff;border-right:1px solid #e7eaf0;position:fixed;left:0;top:0;bottom:0;overflow:auto}
.logo{font-size:24px;font-weight:800;padding:18px 24px;border-bottom:1px solid #f0f0f0}
.menuGroup{padding:8px 0}
.menuTitle{padding:13px 22px;color:#333;font-weight:700;cursor:pointer}
.menuTitle:hover,.menuTitle.on{color:#1890ff;background:#f0f7ff}
.subMenu{padding:10px 42px;color:#666;cursor:pointer}
.subMenu:hover,.subMenu.on{color:#1890ff;background:#f6fbff}
.main{margin-left:190px;width:calc(100% - 190px)}
.top{height:54px;background:#fff;border-bottom:1px solid #e7eaf0;display:flex;align-items:center;justify-content:space-between;padding:0 18px;position:sticky;top:0;z-index:9}
.tabs{height:34px;background:#fff;border-bottom:1px solid #e7eaf0;display:flex;align-items:center;gap:6px;padding:0 12px;overflow-x:auto}
.tab{padding:5px 10px;border:1px solid #d9e0ea;border-radius:3px;background:#fff;color:#666;font-size:12px;white-space:nowrap}
.tab.on{background:#1890ff;color:#fff;border-color:#1890ff}
.content{padding:18px}
.search{background:#fff;padding:18px;border-radius:2px;margin-bottom:18px;display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.search input,.search select{height:34px;border:1px solid #d9d9d9;border-radius:3px;padding:0 10px;min-width:160px}
.btn{height:34px;border:0;border-radius:3px;background:#1890ff;color:#fff;padding:0 14px;cursor:pointer}
.btn.gray{background:#fff;color:#555;border:1px solid #d9d9d9}
.btn.green{background:#20c997}
.btn.red{background:#ff4d4f}
.btn.yellow{background:#f7ba2a;color:#fff}.btn.orange{background:#fa8c16;color:#fff}
.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:18px}
.card{background:#fff;padding:22px;border-radius:2px;display:flex;align-items:center;justify-content:space-between;min-height:92px}
.card b{font-size:22px;color:#555}
.card span{color:#777}
.tableWrap{background:#fff;padding:0;border-radius:2px;overflow:auto}
table{width:100%;border-collapse:collapse;min-width:1050px}
th,td{border-bottom:1px solid #eef0f4;padding:14px 12px;text-align:center;vertical-align:middle}
th{background:#fafafa;color:#555;font-weight:700}
tr:nth-child(even){background:#fcfcfc}
.badge{display:inline-block;padding:4px 8px;border-radius:4px;font-size:12px}
.badge.green{background:#e8fff2;color:#13b86a}
.badge.red{background:#fff1f0;color:#ff4d4f}
.badge.blue{background:#e6f7ff;color:#1890ff}
.badge.yellow{background:#fffbe6;color:#d48806}
.actions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
.action{color:#1890ff;cursor:pointer}
.action.red{color:#ff4d4f}
.modalMask{position:fixed;inset:0;background:rgba(0,0,0,.35);display:flex;align-items:center;justify-content:center;z-index:99}
.modal{width:520px;background:#fff;border-radius:4px;padding:20px}
.modal h3{margin:0 0 16px}
.formRow{display:grid;grid-template-columns:120px 1fr;align-items:center;gap:12px;margin:10px 0}
.formRow input,.formRow select,.formRow textarea{border:1px solid #ddd;border-radius:3px;padding:8px;width:100%}
.formRow textarea{min-height:80px}
.footer{text-align:right;margin-top:18px}
.smallImg{width:72px;height:52px;object-fit:cover;border-radius:2px;background:#eee}
@media(max-width:1200px){.cards{grid-template-columns:repeat(2,1fr)}}
.actions{display:flex;flex-wrap:wrap;gap:6px;max-width:360px}.actions span,.action{color:#1e88e5;cursor:pointer;white-space:nowrap}.actions .red,.btn.red{color:#f5222d}.modal.wide{width:920px;max-width:88vw}.modal{max-height:82vh;overflow:auto}.detailGrid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;border-top:1px solid #eee;border-left:1px solid #eee}.detailGrid>div{padding:10px;border-right:1px solid #eee;border-bottom:1px solid #eee;min-height:38px}.idPreview{max-width:180px;max-height:120px;border:1px solid #eee}.smallPreview,.avatar{width:70px;height:70px;border-radius:50%;object-fit:cover}.formPanel{padding:24px}.formRow select{height:34px;border:1px solid #ddd;border-radius:3px;padding:0 8px;min-width:220px}.btn.red{background:#ff4d4f;color:#fff}.smallImg{width:60px;height:38px;object-fit:cover}.tableWrap table td{vertical-align:middle}
.loginPage{min-height:100vh;background:#f5f7fb;display:flex;align-items:center;justify-content:center}.loginBox{width:360px;background:#fff;border-radius:8px;box-shadow:0 8px 30px rgba(0,0,0,.08);padding:32px}.loginBox h2{margin:0 0 22px;text-align:center}.loginBox .input{width:100%;height:40px;margin:8px 0 14px;border:1px solid #dcdfe6;border-radius:4px;padding:0 12px;box-sizing:border-box}.loginBox .btn{width:100%;height:42px}.muted{color:#909399;font-size:12px}.toolbar{display:flex;gap:10px;margin-bottom:12px}.btn.gray{background:#909399;color:#fff}
.actions .danger{color:#ff4d4f;cursor:pointer;white-space:nowrap}
.noticeBar{position:sticky;top:0;z-index:50;background:#fff8e6;border-bottom:1px solid #ffe0a3;min-height:0;padding:0 16px;display:flex;flex-wrap:wrap;gap:10px}
.noticeBar:empty{display:none}
.noticeItem{margin:8px 0;padding:7px 12px;background:#fff1c2;border:1px solid #f6c85f;border-radius:4px;color:#8a5a00;cursor:pointer;font-size:13px}.noticeItem b{margin-left:10px;color:#999}
.rechargeOps{display:flex;gap:72px;align-items:center;justify-content:center;min-width:140px}.voucherImg{cursor:pointer;border:1px solid #ddd;background:#fafafa}.smallImg.voucherImg{width:76px;height:52px;object-fit:cover}

/* v22-nonvue: 后台消息提示分区显示，点击跳转对应模块 */
.noticeBar{display:none!important}
.noticeDock{position:fixed;inset:0;pointer-events:none;z-index:9999}
.noticeToast{position:fixed;min-width:230px;max-width:310px;background:#fff;border:1px solid #f2d27c;border-left:5px solid #f0b429;box-shadow:0 8px 24px rgba(0,0,0,.16);border-radius:8px;color:#3a2b00;pointer-events:auto;overflow:hidden;animation:noticeIn .2s ease-out both}
.noticeToast .noticeClose{position:absolute;right:6px;top:4px;border:0;background:transparent;color:#8b8b8b;font-size:18px;line-height:18px;cursor:pointer;z-index:2}
.noticeBody{padding:12px 28px 12px 12px;cursor:pointer}
.noticeBody b{display:block;font-size:14px;margin-bottom:5px;color:#5d4100}.noticeBody span{display:block;font-size:13px;color:#7a5a12}
.notice-pos-lt{left:190px;top:14px}.notice-pos-rt{right:24px;top:14px}.notice-pos-lm{left:50%;top:14px;transform:translateX(-50%)}.notice-pos-rm{left:190px;bottom:24px}.notice-pos-rb{right:24px;bottom:24px}
@keyframes noticeIn{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:900px){.notice-pos-lt{left:12px;top:10px}.notice-pos-rt{right:12px;top:10px}.notice-pos-lm{left:12px;right:12px;top:82px;transform:none}.notice-pos-rm{left:12px;bottom:82px}.notice-pos-rb{right:12px;bottom:12px}.noticeToast{max-width:calc(100vw - 24px)}}


/* v30: 弹窗优先级高于通知，保证确定/取消/关闭可点击 */
.modalMask{z-index:30000!important;pointer-events:auto!important}
.modal{position:relative;z-index:30001!important}
.noticeDock{z-index:8000!important;pointer-events:none!important}
.noticeToast{pointer-events:auto!important}
.refreshBtn{height:28px;padding:0 12px;margin-right:12px;background:#f5f7fa!important;color:#333!important;border:1px solid #d9d9d9!important}


/* v31: 顶部标签可切换/关闭，搜索区重置按钮刷新当前页面 */
.tab{display:inline-flex;align-items:center;gap:6px;cursor:pointer;user-select:none}
.tabText{display:inline-block;max-width:140px;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}
.tabClose{font-style:normal;font-weight:700;line-height:1;cursor:pointer;padding:0 2px;color:inherit;opacity:.75}
.tabClose:hover{opacity:1;color:#ff4d4f}
.tab.on .tabClose:hover{color:#fff;background:rgba(255,255,255,.22);border-radius:2px}
.top .refreshBtn{display:none!important}

/* v35: 管理员下拉、局部刷新、图片上传配置 */
.adminMenu{position:relative;display:flex;align-items:center;gap:10px}
.adminDropBtn{border:0;background:transparent;cursor:pointer;color:#333;font-size:14px}
.adminDrop{display:none;position:absolute;right:0;top:28px;width:130px;background:#fff;border:1px solid #e5e7eb;box-shadow:0 8px 24px rgba(0,0,0,.12);border-radius:4px;z-index:100}
.adminDrop.show{display:block}
.adminDrop div{padding:10px 14px;cursor:pointer;white-space:nowrap}
.adminDrop div:hover{background:#f5f7fb;color:#1890ff}
.pageTool{display:flex;justify-content:flex-end;margin-bottom:10px}
.uploadRow .uploadPreview{width:180px;height:82px;border:1px dashed #c9d1df;border-radius:4px;background:#fafafa;display:flex;align-items:center;justify-content:center;margin-bottom:8px;overflow:hidden}
.uploadRow .uploadPreview img{max-width:100%;max-height:100%;object-fit:contain}
.uploadRow input[type=file]{display:block}
.adminDropBtn{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle;text-align:left}
.adminDrop{width:190px}
.adminDrop .adminDropInfo{font-weight:600;color:#333;background:#fafafa;border-bottom:1px solid #eee;cursor:default;overflow:hidden;text-overflow:ellipsis}
.adminDrop .adminDropInfo:hover{background:#fafafa;color:#333}

/* v31: 充值凭证点击当前页大图预览，不再跳转空白网页 */
.imgPreviewMask{position:fixed;inset:0;background:rgba(0,0,0,.72);z-index:50000;display:flex;align-items:center;justify-content:center;padding:24px;box-sizing:border-box}
.imgPreviewBox{position:relative;max-width:92vw;max-height:92vh;background:#111;border-radius:8px;box-shadow:0 12px 45px rgba(0,0,0,.45);padding:12px;box-sizing:border-box}
.imgPreviewBox img{display:block;max-width:88vw;max-height:86vh;object-fit:contain;background:#fff}
.imgPreviewClose{position:absolute;right:-12px;top:-12px;width:34px;height:34px;border:0;border-radius:50%;background:#fff;color:#333;font-size:24px;line-height:30px;cursor:pointer;box-shadow:0 4px 16px rgba(0,0,0,.25)}
.imgPreviewError{min-width:320px;min-height:160px;display:flex;align-items:center;justify-content:center;background:#fff;color:#f5222d;font-size:16px;border-radius:4px}


/* v32: 充值凭证当前页弹窗放大，强制覆盖缓存旧样式 */
.voucherPreviewBtn{border:0;background:transparent;padding:0;cursor:pointer;display:inline-flex;flex-direction:column;align-items:center;gap:4px;color:#1677ff;font-size:12px}
.voucherPreviewBtn:hover{opacity:.85}
.voucherPreviewBtn .smallImg{width:76px;height:52px;object-fit:cover;border:1px solid #d9d9d9;border-radius:2px;background:#f5f5f5}
.imgPreviewMask{position:fixed!important;z-index:999999!important;left:0;top:0;right:0;bottom:0;background:rgba(0,0,0,.72);display:flex;align-items:center;justify-content:center;padding:28px;box-sizing:border-box}
.imgPreviewBox{position:relative;background:#111;border-radius:8px;max-width:88vw;max-height:88vh;padding:16px;box-shadow:0 10px 40px rgba(0,0,0,.45)}
.imgPreviewBox img{display:block;max-width:82vw;max-height:78vh;object-fit:contain;background:#fff}
.imgPreviewClose{position:absolute;right:-14px;top:-14px;width:34px;height:34px;border-radius:50%;border:0;background:#fff;color:#111;font-size:24px;line-height:34px;cursor:pointer;box-shadow:0 2px 10px rgba(0,0,0,.35)}
.imgPreviewError{min-width:320px;min-height:180px;display:flex;align-items:center;justify-content:center;background:#fff;color:#d00;font-size:16px;padding:30px}
.imgPreviewTips{text-align:center;color:#ccc;font-size:12px;margin-top:8px}

/* 2026-05-11 秒合约订单预设按钮与倒计时 */
.secondPresetOps{display:grid;grid-template-columns:repeat(2,74px);gap:8px;min-width:156px;justify-content:center;}
.miniBtn{border:0;border-radius:4px;padding:7px 8px;color:#fff;cursor:pointer;font-size:12px;line-height:1;white-space:nowrap;}
.miniBtn.green{background:#13c2c2}.miniBtn.red{background:#ff4d4f}.miniBtn.blue{background:#1890ff}.miniBtn.gray{background:#8c8c8c}
.secondCount{display:inline-block;min-width:48px;color:#fa8c16;font-size:14px;}
.riskText{color:#d93025;font-weight:700;line-height:1.6;display:inline-block}.riskText.small{font-size:12px}
