/* styles.css */
:root{
  --blue:#1788ee;--blue-dark:#0870d9;--ink:#4b535d;--muted:#929aa4;--line:#edf0f3;--bg:#f5f6f8;--sidebar:145px;
  font-family:"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",Arial,sans-serif;color:var(--ink)
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;background:var(--bg);font-size:11px;-webkit-font-smoothing:antialiased}
button,input,select{font:inherit}.hidden{display:none!important}button,a{color:inherit}

/* Login */
.login-screen{min-height:100vh;display:grid;grid-template-columns:minmax(420px,1.12fr) minmax(390px,.88fr);background:#fff}
.login-art{position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;background:linear-gradient(145deg,#0871dd 0%,#168dec 48%,#13b2d5 100%)}
.login-glow{position:absolute;width:440px;height:440px;border-radius:50%;background:radial-gradient(circle,#78ddf044 0%,transparent 68%)}
.login-art h1{position:relative;font-size:38px;letter-spacing:10px;margin:24px 0 10px;font-weight:600}.login-art p{position:relative;opacity:.78;letter-spacing:4px;font-size:13px}
.brand-mark{position:relative;width:30px;height:30px;border-radius:50%;display:inline-grid;place-items:center;color:transparent;border:0;background:#2a2114 url('/brand-mark.jpg') center/cover no-repeat;box-shadow:0 2px 8px #0002;font-weight:600;overflow:hidden}
.brand-mark.large{width:92px;height:92px;font-size:34px;box-shadow:0 16px 35px #064f9f66}.brand-logo{display:block;width:auto;max-width:min(42%,200px);max-height:150px;height:auto;object-fit:contain;border-radius:14px;box-shadow:0 12px 28px #064f9f55}.brand-logo.mobile{width:auto;max-width:min(40vw,140px);max-height:72px;border-radius:12px;margin:0 auto;box-shadow:0 8px 18px #0004}.mobile-brand{justify-content:center}.logo .brand-logo{width:auto;height:22px;border-radius:5px;margin:0}.orbit{position:absolute;border:1px solid #ffffff24;border-radius:50%}.orbit-a{width:390px;height:390px}.orbit-b{width:590px;height:590px}.orbit-c{width:790px;height:790px}
.login-card{align-self:center;width:360px;max-width:calc(100vw - 48px);margin:auto}.mobile-brand{font-size:18px;font-weight:600;display:none;gap:10px;align-items:center;margin-bottom:44px}.login-kicker{display:block;color:var(--blue);font-size:10px;font-weight:700;letter-spacing:2px;margin-bottom:8px}.login-card h2{font-size:28px;color:#303844;margin:0 0 7px;font-weight:600}.login-card>p{color:var(--muted);font-size:13px;margin:0 0 30px}.login-card label{display:block;color:#68727e;margin:16px 0 7px;font-size:12px}.field{height:46px;border:1px solid #dfe5eb;border-radius:4px;display:flex;align-items:center;padding:0 13px;transition:.18s}.field:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px #1788ee12}.field i{font-size:15px;color:#a2aab4;margin-right:10px}.field input{border:0;outline:0;width:100%;height:100%;color:#424b56;background:transparent}.primary{border:0;border-radius:3px;background:var(--blue);color:#fff;padding:9px 16px;cursor:pointer}.login-btn{width:100%;height:46px;margin-top:23px;background:linear-gradient(90deg,#1477e8,#18a4e9);letter-spacing:5px;box-shadow:0 8px 18px #1788ee2c}.login-card small{display:block;text-align:center;color:#9aa3ae;margin-top:17px}.form-error{height:19px;color:#e34c57;text-align:center;padding-top:6px}.preview-link{display:block;text-align:center;color:#1887e8;text-decoration:none;margin-top:14px}

/* Dashboard frame */
.app:has(.table-view:target).hidden{display:block!important}.login-screen:has(~.app .table-view:target){display:none}
.app{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);background:#fff;border-right:1px solid #eef1f4;z-index:20;transition:.2s;overflow:auto}.logo{height:34px;display:flex;align-items:center;gap:7px;padding:0 30px;border-bottom:1px solid #f1f2f4;color:#363d45;font-size:14px;white-space:nowrap}.logo .brand-mark{width:24px;height:24px;font-size:9px}.nav-group-title,.nav-link{min-height:29px;display:flex;align-items:center;gap:10px;padding:0 11px;color:#4e5660;position:relative;text-decoration:none;cursor:pointer;user-select:none}.nav-group-title:hover,.nav-link:hover,.nav-group-title.active,.nav-link.active{color:#197dd4;background:#f0f2f5}.nav-group-title.active{font-weight:500}.nav-link.active:before{content:"";position:absolute;left:0;width:2px;height:100%;background:#1c86e8}.nav-link.child{padding-left:24px}.nav-link i,.nav-group-title>i:first-child{width:13px;text-align:center;font-size:11px}.chev{margin-left:auto;font-size:8px}.nav-children{overflow:hidden}.nav-subtle{display:none}.nav-group.closed .nav-children{display:none}.collapse-btn{position:fixed;left:118px;bottom:5px;border:0;background:transparent;color:#9ca4ad;font-size:12px;cursor:pointer}.shell{margin-left:var(--sidebar);min-width:0;transition:.2s}.topbar{height:34px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 7px;border-bottom:1px solid #eef0f3}.crumb{display:flex;align-items:center;gap:10px;color:#444c56}.top-actions{height:100%;display:flex;align-items:center;gap:4px}.top-actions button,#mobile-menu{width:27px;height:27px;border:0;border-radius:50%;background:#fafbfc;color:#8b949e;cursor:pointer;font-size:11px}.avatar{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:600;background:linear-gradient(135deg,#4cc9c5,#327ae9);font-size:9px}.app-grid{font-size:9px;margin-left:1px}#mobile-menu{display:none}.tabs{height:26px;background:#fff;border-bottom:1px solid #e9ecf0;display:flex;align-items:center;gap:2px;padding:0 2px;overflow:hidden}.tab{white-space:nowrap;height:20px;line-height:18px;background:#f1f2f4;border:1px solid #e6e9ec;color:#68717c;padding:0 7px;font-size:9px;cursor:pointer}.tab.active{background:#1687e9;color:#fff;border-color:#1687e9}#content{padding:4px;min-height:calc(100vh - 60px)}

/* Dashboard */
.welcome{height:58px;background:#fff;display:flex;align-items:center;padding:0 9px;margin-bottom:4px;border:1px solid #eef0f3}.welcome-avatar{width:45px;height:45px;border-radius:50%;background:#cdd1d6;margin-right:9px}.welcome h3{margin:0 0 8px;font-size:12px;font-weight:500;color:#49515a}.welcome p{margin:0;color:#929aa3;font-size:9px}.clock{margin-left:auto;width:98px;height:46px;background:linear-gradient(135deg,#227bea,#0969dc);color:#fff;display:grid;place-content:center;text-align:center;font-style:normal}.clock strong{font-size:18px;line-height:19px;font-weight:500}.clock span{font-size:8px;margin-top:2px}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid #edf0f2;border-left:1px solid #edf0f2}.stat-card{height:46px;background:#fff;display:flex;border-right:1px solid #edf0f2;border-bottom:1px solid #edf0f2;min-width:0}.stat-code{width:38px;flex:0 0 38px;display:grid;place-items:center;color:#fff;font-size:12px;font-weight:600}.stat-code.blue{background:#1b7fe0}.stat-code.pink{background:#d82582}.stat-code.red{background:#e72034}.stat-code.green{background:#19b767}.stat-info{padding:6px 7px 4px;min-width:0;flex:1;overflow:hidden}.stat-info>span{display:block;font-size:9px;color:#59616b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stat-values{margin-top:6px;display:flex;justify-content:flex-end;gap:8px;color:#8a929b;font-size:7px;white-space:nowrap}.stat-values span{display:flex;gap:2px;align-items:end}.stat-values strong{color:#68717b;font-weight:400;font-size:8px}.charts{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:181px minmax(181px,calc(100vh - 441px));gap:4px;margin-top:4px}.chart{grid-column:span 2;margin:0;padding:0;background:#15bbc8;min-width:0;overflow:hidden}.chart.orange{background:#ff9004}.chart.lime{background:#bccb22}.chart.green{background:#43ae55}.chart.wide{grid-column:span 3}.chart canvas{display:block;width:100%;height:100%}

/* Tables and reusable admin surfaces */
.chart:nth-child(n+4){grid-column:span 3}
.chart-tooltip{position:absolute;z-index:4;min-width:124px;padding:7px 9px;border:1px solid #d6e6ff;border-radius:5px;background:#ffffffee;color:#4b535d;box-shadow:0 6px 18px #2e415422;pointer-events:none;opacity:0;transform:translateY(3px);transition:.12s;line-height:1.4}.chart-tooltip.show{opacity:1;transform:none}.chart-tooltip strong{display:block;margin-bottom:3px;color:#1788ee}.chart-tooltip span{display:flex;align-items:center;gap:5px;font-size:10px}.chart-tooltip span i{width:7px;height:7px;border-radius:50%}.chart-tooltip span b{margin-left:auto;font-weight:600;color:#303844}
.table-view{display:none}.table-view:target{display:block}.dashboard-view:has(~.table-view:target){display:none}.panel{background:#fff;border:1px solid var(--line);min-height:calc(100vh - 68px)}.panel-head{min-height:54px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 16px;border-bottom:1px solid var(--line)}.panel-title h2{font-size:16px;margin:0 0 4px}.panel-title p{font-size:10px;color:var(--muted);margin:0}.toolbar{display:flex;gap:6px}.search{height:30px;width:205px;border:1px solid #dfe4ea;border-radius:3px;padding:0 9px;outline:none}.search:focus{border-color:var(--blue)}.btn{height:30px;border:1px solid #dfe4ea;background:#fff;border-radius:3px;padding:0 11px;color:#596472;cursor:pointer}.btn.blue{background:var(--blue);border-color:var(--blue);color:#fff}.table-wrap{overflow:auto;padding:0 16px 16px}table{width:100%;border-collapse:collapse;min-width:760px}th{height:39px;text-align:left;color:#77818c;background:#f7f9fb;font-weight:500;font-size:10px}td{height:45px;border-bottom:1px solid #eef1f4;color:#515b66;font-size:11px}th,td{padding:0 10px}.badge{display:inline-block;padding:3px 8px;border-radius:9px;font-size:9px;background:#edf2f7;color:#657080}.badge.ok{background:#e8f8ef;color:#22a862}.badge.warn{background:#fff4e6;color:#e99419}.badge.online{background:#e8f5ff;color:#1687e8}.link-btn{border:0;background:transparent;color:var(--blue);padding:3px 6px;cursor:pointer}.link-btn.danger{color:#e75a63}.empty-note{padding:70px 20px;text-align:center;color:#a2abb6}.summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:14px}.summary{background:#fff;border:1px solid var(--line);border-radius:3px;padding:18px;box-shadow:0 3px 12px #2e415408}.summary span{color:var(--muted);font-size:10px}.summary strong{display:block;font-size:24px;margin:10px 0 4px}.summary em{font-style:normal;color:#25ae69;font-size:10px}.modal-backdrop{position:fixed;inset:0;background:#16213366;z-index:50;display:grid;place-items:center}.modal{width:460px;max-width:calc(100vw - 28px);background:#fff;border-radius:5px;box-shadow:0 20px 80px #0b132344}.modal-head{padding:15px 19px;border-bottom:1px solid var(--line);font-size:15px}.modal-body{padding:16px 19px;display:grid;grid-template-columns:1fr 1fr;gap:12px}.modal-body label{font-size:10px;color:#6f7985}.modal-body input,.modal-body select{display:block;width:100%;height:34px;border:1px solid #dfe4ea;border-radius:3px;margin-top:5px;padding:0 8px}.modal-foot{padding:12px 19px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:7px}.toast{position:fixed;right:20px;top:55px;padding:10px 17px;background:#2dba72;color:#fff;border-radius:3px;box-shadow:0 8px 25px #193f292d;z-index:80;opacity:0;transform:translateY(-8px);pointer-events:none;transition:.2s}.toast.show{opacity:1;transform:none}.sidebar.collapsed{width:54px}.sidebar.collapsed .logo strong,.sidebar.collapsed .nav-label,.sidebar.collapsed .chev,.sidebar.collapsed .nav-children{display:none}.sidebar.collapsed .logo{padding:0 14px}.sidebar.collapsed+.shell{margin-left:54px}
.sandbox-warning{display:flex;align-items:center;gap:12px;margin-bottom:8px;padding:12px 16px;border:1px solid #f5c36b;border-radius:4px;background:#fff8e8;color:#7c5818}.sandbox-warning strong{font-size:13px;white-space:nowrap}.sandbox-warning span{font-size:10px}.sandbox-layout{display:grid;grid-template-columns:minmax(280px,360px) minmax(0,1fr);gap:8px}.sandbox-layout .panel{min-height:0}.sandbox-fields{display:grid;gap:14px;padding:18px}.sandbox-fields label,.sandbox-fields legend{font-size:11px;color:#65707d}.sandbox-fields input,.sandbox-fields select{display:block;width:100%;height:36px;margin-top:6px;padding:0 9px;border:1px solid #dfe4ea;border-radius:3px;outline:none;background:#fff}.sandbox-fields input:focus,.sandbox-fields select:focus{border-color:var(--blue);box-shadow:0 0 0 3px #1788ee12}.sandbox-fields fieldset{border:0;margin:0;padding:0}.sandbox-fields fieldset>input{display:inline-block;width:58px;text-align:center;font-size:16px}.sandbox-fields fieldset>span{display:inline-block;margin:0 7px;color:#9aa3ad}.sandbox-submit{height:38px}.sandbox-disclosure{margin:0;color:#d07b16;font-size:10px;line-height:1.6}.sandbox-history .table-wrap{max-height:calc(100vh - 176px)}

@media (max-width:1000px){:root{--sidebar:136px}.cards{grid-template-columns:repeat(3,minmax(0,1fr))}.charts{grid-template-columns:1fr 1fr;grid-template-rows:190px}.chart,.chart.wide{grid-column:span 1}.summary-grid{grid-template-columns:1fr 1fr}}
@media (max-width:720px){
  html,body{font-size:12px}.login-screen{grid-template-columns:1fr}.login-art{display:none}.login-card{width:min(360px,calc(100vw - 40px))}.mobile-brand{display:flex;margin-bottom:28px}
  .sidebar{width:220px;transform:translateX(-100%);box-shadow:none}.sidebar.open{transform:none;box-shadow:10px 0 30px #0003}.logo{height:52px;padding:0 20px;font-size:15px}.logo .brand-logo{height:30px}.nav-group-title,.nav-link{min-height:42px;padding-left:18px}.nav-link.child{padding-left:36px}.collapse-btn{display:none}.shell{margin-left:0}.topbar{height:48px;padding:0 12px}.top-actions button{display:none}.avatar{width:29px;height:29px}.app-grid{display:none}#mobile-menu{display:inline-grid;place-items:center}.tabs{height:34px;padding:0 7px}.tab{height:25px;line-height:23px;font-size:10px}.tabs .tab:nth-child(n+4){display:none}#content{padding:7px}.welcome{height:67px;padding:0 10px}.welcome-avatar{width:44px;height:44px}.clock{display:none}.cards{grid-template-columns:1fr 1fr}.stat-card{height:58px}.stat-code{width:42px;flex-basis:42px}.stat-info{padding:8px}.stat-info>span{font-size:10px}.stat-values{font-size:8px;gap:5px;justify-content:flex-start;overflow:hidden}.charts{grid-template-columns:1fr;grid-template-rows:210px;gap:7px;margin-top:7px}.chart,.chart.wide{grid-column:1}.panel-head{align-items:flex-start;flex-direction:column}.toolbar{width:100%;flex-wrap:wrap}.search{flex:1;min-width:130px}.summary-grid{grid-template-columns:1fr}.modal-body{grid-template-columns:1fr}.sandbox-warning{align-items:flex-start;flex-direction:column}.sandbox-layout{grid-template-columns:1fr}.sandbox-history .table-wrap{max-height:none}
}
@media (max-width:340px){.cards{grid-template-columns:1fr}.stat-card{height:54px}.login-card{max-width:calc(100vw - 30px)}.toolbar .btn{padding:0 8px}.welcome h3{font-size:11px}}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Jinsha Casino white console theme. */
:root{--blue:#1788ee;--blue-dark:#0870d9;--ink:#4b535d;--muted:#929aa4;--line:#edf0f3;--bg:#f5f6f8}
html,body{background:#f5f6f8;color:#4b535d}.login-screen{background:#ffffff}.login-art{background:linear-gradient(145deg,#0871dd 0%,#168dec 48%,#13b2d5 100%);color:#fff}.login-card h2{color:#303844}.login-card>p,.login-card label{color:#68727e}.brand-mark{color:#fff;background:linear-gradient(135deg,#4cc9c5,#327ae9);border:0;box-shadow:0 3px 10px #1788ee33}.brand-mark.large{box-shadow:0 16px 35px #064f9f66}.brand-logo{box-shadow:0 12px 28px #1788ee33}.orbit{border-color:#ffffff24}.field{background:#fff;border-color:#dfe5eb}.field input{color:#424b56}.login-btn{background:linear-gradient(90deg,#1477e8,#18a4e9);color:#fff;box-shadow:0 8px 18px #1788ee2c}
.sidebar,.topbar,.tabs,.logo,.welcome,.stat-card,.panel,.summary,.modal{background:#ffffff;color:#4b535d;border-color:#edf0f3}.nav-group-title,.nav-link{color:#4e5660}.nav-group-title:hover,.nav-link:hover,.nav-group-title.active,.nav-link.active{background:#f0f2f5;color:#197dd4}.nav-link.active:before{background:#1c86e8}.tab{background:#f1f2f4;border-color:#e6e9ec;color:#68717c}.tab.active{background:#1687e9;border-color:#1687e9;color:#fff}.top-actions button{background:#fafbfc;color:#8b949e}.avatar,.welcome-avatar{background:linear-gradient(135deg,#4cc9c5,#327ae9);color:#fff}.clock{background:linear-gradient(135deg,#227bea,#0969dc);color:#fff}.stat-code.blue{background:#1b7fe0;color:#fff}.stat-code.pink{background:#d82582;color:#fff}.stat-code.red{background:#e72034;color:#fff}.stat-code.green{background:#19b767;color:#fff}.charts .chart{filter:none;border:0}.panel-title h2,.summary strong{color:#303844}.table-wrap table th{background:#f7f9fb;color:#77818c}.table-wrap td{border-color:#eef1f4;color:#515b66}.btn{background:#fff;border-color:#dfe4ea;color:#596472}.btn.blue,.primary{background:#1788ee;border-color:#1788ee;color:#fff}.sandbox-warning{border-color:#f5c36b;background:#fff8e8;color:#7c5818}.sandbox-fields input,.sandbox-fields select,.sandbox-fields textarea{background:#fff;border:1px solid #dfe4ea;color:#515b66}.sandbox-fields textarea{display:block;width:100%;margin-top:6px;padding:9px;border-radius:3px;resize:vertical}.sandbox-fields input:focus,.sandbox-fields select:focus,.sandbox-fields textarea:focus{border-color:#1788ee;outline:0;box-shadow:0 0 0 3px #1788ee12}.sandbox-disclosure{color:#d07b16}
.support-console{height:calc(100vh - 68px);display:grid;grid-template-columns:310px minmax(0,1fr);gap:6px}.support-conversations,.support-chat-panel{min-height:0;overflow:hidden;background:#fff;border:1px solid #eef1f4}.support-conversations>header,.support-chat-head{height:68px;padding:12px 15px;border-bottom:1px solid #eef1f4;display:flex;align-items:center;gap:11px}.support-conversations>header{justify-content:space-between}.support-conversations h2,.support-chat-head h2{margin:0 0 4px;color:#303844;font-size:16px}.support-conversations p,.support-chat-head p{margin:0;color:#929aa4;font-size:10px}.support-conversations>header>span{padding:4px 8px;border-radius:12px;background:#e8f2ff;color:#1788ee;font-size:9px}.support-conversation-list{height:calc(100% - 68px);overflow:auto}.support-conversation{width:100%;min-height:82px;padding:11px 12px;border:0;border-bottom:1px solid #eef1f4;background:#fff;color:#515b66;display:grid;grid-template-columns:42px 1fr auto;gap:10px;text-align:left}.support-conversation:hover,.support-conversation.active{background:#f5f8fc}.support-member-avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#4cc9c5,#327ae9);color:#fff;font-weight:700}.support-conversation-copy{min-width:0;display:flex;flex-direction:column;gap:4px}.support-conversation-copy strong{color:#303844}.support-conversation-copy small,.support-conversation-copy em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#929aa4;font-size:10px;font-style:normal}.support-conversation-copy em{font-size:8px}.support-conversation>b{min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#1788ee;color:#fff;display:grid;place-items:center;font-size:9px}.support-chat-panel{display:grid;grid-template-rows:68px minmax(0,1fr) auto}.support-message-list{padding:20px;overflow:auto;background:#f7f9fc;display:flex;flex-direction:column;gap:13px}.support-message{max-width:min(72%,720px)}.support-message div{padding:11px 14px;border:1px solid #e4eaf5;border-radius:13px 13px 13px 3px;background:#fff;color:#515b66;white-space:pre-wrap;overflow-wrap:anywhere}.support-message.agent{align-self:flex-end}.support-message.agent div{border-color:#b7d4ff;border-radius:13px 13px 3px 13px;background:#1788ee;color:#fff}.support-message small{display:block;margin-top:4px;color:#929aa4;font-size:9px}.support-message.agent small{text-align:right}.support-reply-form{padding:12px;border-top:1px solid #eef1f4;background:#fff}.support-reply-form textarea{width:100%;min-height:72px;padding:10px 12px;border:1px solid #dfe4ea;border-radius:5px;background:#fff;color:#515b66;resize:vertical;outline:0}.support-reply-form textarea:focus{border-color:#1788ee;box-shadow:0 0 0 3px #1788ee12}.support-reply-form>div{margin-top:8px;display:flex;align-items:center;justify-content:space-between;gap:12px}.support-reply-form span{color:#929aa4;font-size:9px}.support-empty{display:grid;place-items:center;align-content:center;gap:8px;text-align:center}.support-empty p{color:#929aa4}
@media(max-width:760px){.support-console{height:calc(100vh - 92px);grid-template-columns:130px minmax(0,1fr)}.support-conversations>header{height:auto;min-height:68px;align-items:flex-start;flex-direction:column}.support-conversation{grid-template-columns:34px 1fr;padding:9px 7px}.support-member-avatar{width:34px;height:34px}.support-conversation>b{display:none}.support-chat-head{padding:10px}.support-message{max-width:90%}.support-reply-form>div{align-items:stretch;flex-direction:column}.support-reply-form button{width:100%}}
.support-message-image{display:block;max-width:100%;max-height:360px;border-radius:9px;margin-bottom:6px;object-fit:contain}.support-image-row{justify-content:flex-start!important}.support-image-row label{cursor:pointer}.support-image-row span{color:#8a949e!important}
.activity-admin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.activity-admin-card{min-height:0}.activity-switch{display:flex;align-items:center;gap:8px;color:#596472}.activity-switch input{accent-color:#1788ee}.activity-switch span{font-size:10px}.activity-admin-card .sandbox-fields{padding:16px}.activity-admin-card .sandbox-fields textarea{font:inherit;line-height:1.6}.activity-admin-card .btn{height:38px}
@media(max-width:1000px){.activity-admin-grid{grid-template-columns:1fr}}
.fund-review{display:flex;align-items:center;gap:7px;white-space:nowrap}.fund-review input{width:72px;height:30px;padding:0 7px;border:1px solid #dce1e8;border-radius:5px}.fund-review .link-btn{padding:3px 6px}
.activity-gallery-admin{min-height:0;margin-top:8px}.activity-upload-form{padding:14px;display:grid;grid-template-columns:2fr 3fr 90px 1.5fr auto auto;gap:8px;align-items:end}.activity-upload-form label{font-size:10px;color:#65707d}.activity-upload-form input{display:block;width:100%;height:34px;margin-top:5px;padding:0 8px;border:1px solid #dfe4ea;border-radius:4px;background:#fff;color:#515b66}.activity-gallery-list{padding:10px 14px;display:grid;gap:8px}.activity-gallery-list article{min-height:78px;padding:8px;border:1px solid #e4eaf5;border-radius:7px;display:grid;grid-template-columns:120px 1fr auto auto;gap:10px;align-items:center;background:#fff}.activity-gallery-list img{width:120px;height:64px;border-radius:5px;object-fit:cover}.activity-gallery-list article>div{display:flex;min-width:0;flex-direction:column;gap:4px}.activity-gallery-list small,.activity-gallery-list span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#929aa4;font-size:9px}.packet-config-form{min-height:0}.packet-config-form .sandbox-fields{max-width:560px}.support-quick-bank{padding:10px;border-bottom:1px solid #eef1f4}.support-quick-bank>strong{font-size:11px;color:#1788ee}.support-quick-bank>div{display:flex;gap:5px;overflow-x:auto;margin:7px 0}.support-quick-bank>div button{flex:0 0 auto;border:1px solid #b7d4ff;border-radius:12px;background:#eef5ff;color:#3D7FE0;padding:5px 8px;font-size:9px}.support-quick-bank form{display:grid;gap:5px}.support-quick-bank input,.support-quick-bank textarea{width:100%;border:1px solid #dfe4ea;border-radius:4px;background:#fff;color:#515b66;padding:7px;font-size:9px}.support-quick-bank textarea{height:48px;resize:vertical}.support-conversation-list{height:auto;max-height:calc(100% - 235px)}
@media(max-width:760px){.activity-upload-form{grid-template-columns:1fr}.activity-gallery-list article{grid-template-columns:80px 1fr}.activity-gallery-list img{width:80px}.activity-gallery-list article>button{grid-column:auto}.support-quick-bank{display:none}.support-conversation-list{max-height:calc(100% - 68px)}}
#refresh-page.refreshing{animation:refresh-spin .7s linear infinite;color:#1788ee}@keyframes refresh-spin{to{transform:rotate(360deg)}}code{color:#1788ee;font-weight:700}
.nav-alert-dot{margin-left:auto;min-width:18px;height:18px;padding:0 5px;border-radius:10px;background:#ff3b30;color:#fff;font:700 11px/18px Arial;text-align:center;box-shadow:0 0 0 2px #fff}
.top-actions button.has-alert{position:relative;color:#ff3b30}.top-actions button.has-alert:after{content:attr(data-count);position:absolute;right:-4px;top:-5px;min-width:16px;height:16px;padding:0 3px;border-radius:9px;background:#ff3b30;color:#fff;font:700 10px/16px Arial}
.invite-editor{display:flex;align-items:center;gap:6px}.invite-editor input{width:150px;min-height:32px;border:1px solid #dfe4ec;border-radius:4px;padding:4px 8px;text-transform:uppercase}
.fund-review{min-width:300px}.fund-review .fund-message{width:190px;max-width:100%;margin:4px 4px 4px 0}
.bet-stat-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:16px}.bet-game-menu{padding:8px}.bet-game-menu button{display:flex;width:100%;align-items:center;justify-content:space-between;border:0;border-bottom:1px solid #edf0f5;background:#fff;padding:12px 10px;color:#3d4654;cursor:pointer}.bet-game-menu button.active{background:#1e88e5;color:#fff}.bet-game-menu small{font-size:11px;opacity:.8}.vertical-bar-chart{display:flex;height:390px;margin-top:18px;border-left:1px solid #ccd3dd;border-bottom:1px solid #ccd3dd}.vertical-bar-chart .bar-axis{display:flex;width:82px;flex-direction:column;justify-content:space-between;align-items:flex-end;padding:0 10px 22px 0;color:#7b8492;font-size:11px}.bar-columns{display:flex;flex:1;align-items:stretch;justify-content:space-around;gap:14px;padding:0 20px}.bar-columns article{display:grid;min-width:68px;grid-template-rows:24px 1fr 32px;align-items:end;text-align:center}.bar-value{font-size:11px;color:#647084}.bar-track{height:100%;display:flex;align-items:flex-end;justify-content:center;border-bottom:1px solid #edf0f5;background:repeating-linear-gradient(to top,transparent 0,transparent 24.8%,#edf0f5 25%)}.bar-track i{display:block;width:34px;min-height:2px;background:linear-gradient(#4c8ad8,#2f66b1);border-radius:3px 3px 0 0;transition:height .25s}.bar-columns strong{font-size:12px;color:#424b58;overflow-wrap:anywhere}.bet-detail-bars{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;margin-top:24px}.bet-detail-bars article{border:1px solid #e8ebf1;border-radius:8px;padding:12px}.bet-detail-bars header,.bet-detail-bars article>div{display:flex;align-items:center;gap:10px}.bet-detail-bars header{justify-content:space-between;margin-bottom:8px}.bet-detail-bars article>div span{width:70px;font-size:12px}.bet-detail-bars article>div i{flex:1;height:8px;background:#eef1f5;border-radius:4px;overflow:hidden}.bet-detail-bars article>div b{display:block;height:100%;background:#79be5a}.bet-detail-bars article>div em{width:75px;text-align:right;font-size:11px;font-style:normal}.bet-detail-bars p{color:#9299a4}
@media(max-width:900px){.bet-stat-layout{grid-template-columns:1fr}.bet-game-menu{display:flex;overflow:auto}.bet-game-menu button{min-width:130px}.vertical-bar-chart{overflow-x:auto}.bar-columns{min-width:560px}}
.support-message-image{cursor:zoom-in;transition:opacity .15s}
.support-message-image:hover{opacity:.86}
.image-lightbox{position:fixed;inset:0;z-index:9999;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:24px;background:rgba(0,0,0,.88);backdrop-filter:blur(2px)}
.image-lightbox img{max-width:92vw;max-height:78vh;border-radius:10px;box-shadow:0 18px 50px rgba(0,0,0,.6);background:#111;cursor:default}
.image-lightbox-bar{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}
.image-lightbox-bar button{height:38px;padding:0 18px;border:1px solid #b7d4ff;border-radius:9px;background:#1788ee;color:#fff;font-size:14px;cursor:pointer}
.image-lightbox-bar button:hover{background:#0870d9}
.image-lightbox-bar button:disabled{opacity:.55;cursor:default}
.member-ops{white-space:nowrap;display:flex;gap:8px}
.data-table td.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}
.data-table .muted{color:#929aa4}
.range-filter{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;margin:0 0 14px;padding:14px 16px;border:1px solid #e4eaf5;border-radius:10px;background:#fff}
.range-filter label{display:flex;flex-direction:column;gap:5px;font-size:12px;color:#65707d}
.range-filter input{height:34px;padding:0 10px;border:1px solid #dfe4ea;border-radius:7px;background:#fff;color:#515b66;font-size:13px}
.range-filter input[type="date"]{min-width:150px}
.range-quick{display:flex;gap:6px}
.range-quick button{height:30px;padding:0 12px;border:1px solid #b7d4ff;border-radius:999px;background:#eef5ff;color:#3D7FE0;font-size:12px;cursor:pointer}
.range-quick button:hover{background:#dcecff;color:#0870d9}
.range-hint{margin-left:auto;font-size:12px;color:#929aa4;align-self:center}
@media(max-width:760px){.range-filter{gap:9px}.range-hint{margin-left:0;width:100%}}
.data-table td.num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.data-table td.num.neg{color:#e8836f}
.data-table td.num.pos{color:#79c79b}
.bonus-grid{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));margin-bottom:16px}
.bonus-form{padding:18px 20px;display:flex;flex-direction:column;gap:12px}
.bonus-form h2{margin:0;font-size:16px;color:#f0d682}
.bonus-form label{display:flex;flex-direction:column;gap:6px;font-size:13px;color:#b9ac91}
.bonus-form input,.bonus-form select{height:36px;padding:0 10px;border:1px solid #4a3c1e;border-radius:7px;background:#0f0d0a;color:#f0e6cd;font-size:14px}
.bonus-form small{color:#8d8574;font-size:11.5px;line-height:1.6}
.bonus-tip{color:#8d8574;font-size:12px}
.bonus-err{margin:0;color:#e8836f;font-size:13px}
.bonus-summary{display:flex;flex-direction:column;gap:8px;padding-top:12px;border-top:1px solid #3e321c}
.bonus-summary div{display:flex;justify-content:space-between;font-size:13px;color:#b9ac91}
.bonus-summary b{color:#f0e6cd;font-variant-numeric:tabular-nums}
.bonus-summary b.neg{color:#e8836f}
.miss-detail{color:#e8836f;font-weight:600}
.detail-upload{display:inline-block;cursor:pointer;margin-top:4px}
.fund-payout{display:flex;flex-direction:column;gap:6px;min-width:220px}
.fund-payout select,.fund-payout input{height:30px;padding:0 8px;border:1px solid #4a3c1e;border-radius:6px;background:#0f0d0a;color:#f0e6cd;font-size:12px}
.payout-warn{color:#e8a25f;font-size:11px}
.do-payout{align-self:flex-start;color:#f0d682!important;font-weight:700}
.sandbox-warning.danger-warning{border-color:#8c2b2b;background:linear-gradient(160deg,#2a1512,#1a1110)}
.sandbox-warning.danger-warning strong{color:#e8836f}
/* 结束对话按钮：靠右，不要挤到会员昵称 */
#support-close{margin-left:auto;flex:0 0 auto;height:30px;padding:0 12px;font-size:11px;white-space:nowrap}

/* admin-white-20260919: force remaining surfaces to the light palette */
html,body,#app,.shell,#content{background:#f5f6f8!important;color:#4b535d!important}
.sidebar,.topbar,.tabs,.panel,.modal,.welcome,.stat-card,.summary,.logo{background:#fff!important;color:#4b535d!important;border-color:#edf0f3!important}
.login-screen{background:#fff!important}
.login-kicker,.nav-link.active,.nav-group-title.active,.link-btn{color:#1788ee!important}
.btn.blue,.primary,.login-btn,.tab.active{background:#1788ee!important;border-color:#1788ee!important;color:#fff!important}
.nav-alert-dot{box-shadow:0 0 0 2px #fff}

/* app-extra.css */
button:disabled{cursor:not-allowed;opacity:.65}.welcome-avatar{display:grid;place-items:center;color:#fff;font-weight:700;font-size:18px;background:linear-gradient(145deg,#39c6d2,#2175e4);box-shadow:0 6px 16px #2288d62d}.tab i{font-style:normal;margin-left:8px;font-size:14px;opacity:.65}.list-summary{margin:0 0 10px}.list-summary .summary{padding:15px 18px}.list-summary .summary strong{font-size:22px;margin:8px 0 3px}.summary strong.summary-text{font-size:18px;line-height:27px}.table-footer{height:48px;padding:0 30px;display:flex;justify-content:space-between;align-items:center;color:#98a1ad;font-size:12px;border-top:1px solid var(--line)}.badge.danger-badge{background:#ffeded;color:#dc4b55}.vip-badge{display:inline-block;min-width:44px;text-align:center;border-radius:3px;padding:3px 7px;background:#fff2d9;color:#b87a0a;font-size:11px;font-weight:700}.actions{white-space:nowrap}.empty-note strong{display:block;color:#6d7784;margin:9px 0}.empty-note p{margin:0;font-size:12px}.empty-icon{font-size:34px;color:#c1c8d0}.loading-state{min-height:calc(100vh - 132px);display:flex;align-items:center;justify-content:center;gap:10px;color:#8993a0}.loading-state span{width:18px;height:18px;border:2px solid #dce7f4;border-top-color:var(--blue);border-radius:50%;animation:spin .7s linear infinite}.error-state{display:flex;flex-direction:column;align-items:center;justify-content:center;color:#8b95a4}.error-state strong{color:#4b5663;font-size:18px}.error-state p{margin:10px 0 18px}.modal-head{display:flex;align-items:center;justify-content:space-between}.modal-close{border:0;background:transparent;color:#8c96a2;font-size:24px;cursor:pointer}.toast.error{background:#e65a62}@keyframes spin{to{transform:rotate(360deg)}}
.welcome p{display:flex;align-items:center;gap:10px}.dashboard-scope{display:inline-flex;align-items:center;min-height:20px;padding:0 8px;border:1px solid #b7d4ff;border-radius:10px;background:#eef5ff;color:#1788ee;font-size:9px;font-weight:600}.primary-stat-value{color:#1788ee!important;font-size:9px!important}.stat-values{justify-content:space-between}.charts .chart{border-radius:2px}.charts .chart canvas{min-height:160px}
.environment-banner{position:fixed;z-index:1000;left:50%;top:6px;transform:translateX(-50%);padding:5px 12px;border-radius:4px;background:#8a5a00;color:#fff;font:700 11px/1.2 sans-serif;letter-spacing:.3px;box-shadow:0 3px 12px #0003}.environment-banner.production{background:#b42318}.environment-banner.safe{background:#176b3a}@media(max-width:600px){.environment-banner{top:3px;max-width:calc(100vw - 12px);width:max-content;text-align:center}}
.report-page{min-height:calc(100vh - 68px);background:#fff;border:1px solid #e7eaee}.report-filters{padding:7px 9px 5px;border:1px solid #e53935;display:grid;grid-template-columns:repeat(4,minmax(180px,1fr));gap:6px 14px}.report-filters label{height:28px;display:grid;grid-template-columns:58px minmax(0,1fr);align-items:center;color:#626b75;font-size:10px}.report-filters input,.report-filters select{width:100%;height:26px;border:1px solid #e4e8ec;border-radius:2px;background:#fff;padding:0 8px;color:#5b6570;font-size:10px;outline:0}.report-filters input:focus,.report-filters select:focus{border-color:#1687e9}.report-filters input:disabled{background:#f5f7f9;color:#79828c}.report-filters .date-filter{grid-column:span 2;grid-template-columns:58px 1fr 22px 1fr}.date-filter i{text-align:center;font-style:normal;color:#a0a8b0}.report-actions{grid-column:1/-1;display:flex;justify-content:center;align-items:center;gap:8px;min-height:34px}.report-actions .btn{height:25px;padding:0 15px;font-size:10px}.report-actions em{position:absolute;right:18px;color:#1687e9;font-style:normal;font-size:10px}.report-tools{height:48px;padding:0 17px;display:flex;align-items:center;justify-content:space-between;color:#8a939e;font-size:10px}.report-tools button,.report-footer button{height:25px;border:1px solid #e3e7eb;border-radius:2px;background:#fff;color:#68727d;font-size:10px;padding:0 10px;cursor:pointer}.report-table-wrap{overflow:auto;padding:0 16px}.report-table{min-width:1260px;border:1px solid #e7eaee}.report-table th{height:29px;background:#f6f8fa;border-bottom:1px solid #e6eaee;white-space:nowrap;font-size:9px}.report-table td{height:31px;padding-top:3px;padding-bottom:3px;white-space:nowrap;font-size:9px}.report-table .badge{font-size:8px}.orders-table th:nth-child(2),.orders-table td:nth-child(2){position:sticky;left:0;background:#fff;z-index:1}.orders-table th:nth-child(2){background:#f6f8fa}.positive{color:#1ca45d!important}.negative{color:#e14b55!important}.report-empty{text-align:center;height:110px!important;color:#9ba4ae}.report-footer{height:42px;padding:0 18px;display:flex;align-items:center;justify-content:flex-end;gap:14px;color:#7c8691;font-size:10px}.report-footer div{display:flex;gap:3px}.report-footer button{min-width:26px;padding:0 6px}.report-footer button.active{background:#1687e9;color:#fff;border-color:#1687e9}.report-footer button:disabled{opacity:.45}.statistics-filters{grid-template-columns:minmax(220px,1fr) minmax(360px,2fr)}.statistics-filters .date-filter{grid-column:auto}.stats-table{min-width:1080px}
.deposit-filters{border:0;border-top:1px solid #e7eaee;border-bottom:1px solid #e7eaee;padding:12px 16px;grid-template-columns:repeat(4,minmax(190px,1fr));gap:8px 12px}.deposit-filters label{font-size:12px;grid-template-columns:72px minmax(0,1fr);height:32px}.deposit-filters input,.deposit-filters select{height:31px;font-size:12px;border-radius:4px}.deposit-filters .range-quick{display:flex;flex-wrap:wrap;align-items:center;gap:5px;grid-column:span 3}.deposit-filters .range-quick button{height:29px;border:1px solid #dbe5f2;border-radius:4px;background:#f6f9ff;color:#41658c;cursor:pointer;padding:0 10px}.deposit-filter-actions{display:flex;justify-content:flex-end;gap:7px;align-items:center}.deposit-filter-actions .btn{height:30px;white-space:nowrap}.deposit-order-id{display:block;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:text}
@media(max-width:1100px){.deposit-filters{grid-template-columns:repeat(2,minmax(190px,1fr))}.deposit-filters .range-quick{grid-column:span 2}}@media(max-width:650px){.deposit-filters{grid-template-columns:1fr}.deposit-filters .range-quick{grid-column:1}.deposit-filter-actions{justify-content:flex-start}}
@media(max-width:900px){.report-filters{grid-template-columns:1fr 1fr}.report-filters .date-filter{grid-column:span 2}.statistics-filters{grid-template-columns:1fr}.statistics-filters .date-filter{grid-column:auto}.report-actions em{position:static}.report-actions{justify-content:flex-start;padding-left:58px}.report-table-wrap{padding:0 8px}}
.fake-player-panel table{min-width:1320px}.fake-vip-editor,.fake-balance-editor{display:flex;align-items:center;gap:5px}.fake-vip-editor select,.fake-balance-editor input{height:28px;border:1px solid #dfe4ea;border-radius:3px;background:#fff;padding:0 7px;color:#4d5865;font-size:11px}.fake-balance-editor{margin-top:6px}.fake-balance-editor input{width:86px}.fake-player-panel .link-btn{white-space:nowrap}
.environment-banner.hidden{display:none}
.perm-overlay{position:fixed;z-index:2000;inset:0;background:rgba(0,0,0,.6);display:grid;place-items:center;padding:20px}
.perm-dialog{width:min(560px,100%);max-height:86vh;overflow:auto;background:#fff;border:1px solid #e4eaf5;border-radius:10px;padding:18px;color:#4b535d}
.perm-dialog h2{margin:0 0 14px;font-size:17px}
.perm-group{border:1px solid #333;border-radius:8px;padding:10px 12px;margin:0 0 12px}
.perm-group legend{padding:0 6px;font-size:12px;color:#9aa0aa}
.perm-money{border-color:#7a3030}
.perm-money legend{color:#e2706a}
.perm-item{display:flex;align-items:center;gap:8px;padding:5px 0;font-size:13px}
.perm-item input{width:15px;height:15px}
.perm-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:6px}
/* 分组专属入口的表格比可视区宽，最右边的「操作」列（含新加的权限按钮）会被挤出屏幕。
   把它固定在右侧，横向滚动时始终可见。 */
.sandbox-layout .table-wrap table th:last-child,
.sandbox-layout .table-wrap table td:last-child{position:sticky;right:0;z-index:2;background:#15161c;box-shadow:-6px 0 8px -6px rgba(0,0,0,.7)}
.sandbox-layout .table-wrap table thead th:last-child{background:#1b1c23}
.sandbox-layout .table-wrap table td:last-child .link-btn{white-space:nowrap}
.member-field{display:flex;align-items:center;gap:10px;padding:6px 0;font-size:13px}
.member-field span{width:64px;color:#9aa0aa;flex:none}
.member-field input{flex:1;padding:6px 10px;border:1px solid #3a3a44;border-radius:6px;background:#0e0f14;color:#e8e8ea}
.member-search-panel{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(420px,1.4fr);gap:28px;align-items:center;margin-bottom:8px;padding:18px 20px;border:1px solid #6f5420;border-radius:4px;background:linear-gradient(115deg,#211a0d 0,#14130f 62%,#111 100%);color:#eee4ca;box-shadow:0 8px 24px rgba(0,0,0,.18)}
.member-search-copy>span{display:block;margin-bottom:4px;color:#d8b24a;font-size:9px;font-weight:800;letter-spacing:1.8px}.member-search-copy h2{margin:0 0 5px;font-size:18px}.member-search-copy p{margin:0;color:#aca38f;font-size:11px;line-height:1.6}
.member-search-form{min-width:0}.member-search-form>label{display:block;margin-bottom:6px;color:#d6ccb6;font-size:11px}.member-search-form>div{display:flex;gap:7px}.member-search-form input{flex:1;min-width:150px;height:36px;padding:0 12px;border:1px solid #514329;border-radius:3px;outline:0;background:#090909;color:#f6ecd5;font-size:14px;letter-spacing:.25px}.member-search-form input:focus{border-color:#d8b24a;box-shadow:0 0 0 3px rgba(216,178,74,.12)}.member-search-form .btn{height:36px;white-space:nowrap}.member-search-form small{display:block;margin-top:6px;color:#7f786a;font-size:9px}
.member-search-empty{min-height:280px!important;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.member-search-empty strong{margin:8px 0 4px;color:#eee4ca;font-size:16px}.member-search-empty p{margin:0 0 16px;color:#a69e8d;font-size:12px}
.member-profile-shell{display:grid;gap:8px}.member-profile-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 20px;border:1px solid #4b3d24;background:linear-gradient(105deg,#1e190f,#111);color:#eee4ca}.member-profile-head h2{margin:4px 0 2px;font-size:22px;letter-spacing:.35px}.member-profile-head p{margin:0;color:#a89f8d;font-size:11px}.member-number{display:inline-block;color:#d8b24a;font-size:10px;font-weight:700;letter-spacing:.5px}.member-head-actions{display:flex;align-items:center;gap:8px}.member-status{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border:1px solid;border-radius:12px;font-size:10px}.member-status:before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor}.member-status.active{border-color:#315f45;color:#58bd83;background:#122219}.member-status.disabled{border-color:#713d36;color:#e47768;background:#251513}
.member-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.member-metric-grid article{min-height:92px;padding:14px 16px;border:1px solid #332d21;background:#111;color:#eee4ca}.member-metric-grid span{display:block;color:#958d7d;font-size:10px}.member-metric-grid strong{display:block;margin:10px 0 5px;color:#e6c86d;font-size:17px;font-variant-numeric:tabular-nums}.member-metric-grid small{color:#756f63;font-size:9px}
.member-detail-columns{display:grid;grid-template-columns:minmax(540px,1.55fr) minmax(300px,.8fr);gap:8px}.member-detail-columns.member-secondary{grid-template-columns:1fr 1fr}.member-edit-card,.member-info-card{border:1px solid #332d21;background:#111;color:#eee4ca}.member-edit-card>header,.member-info-card>header{min-height:54px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;border-bottom:1px solid #2d281e}.member-edit-card h3,.member-info-card h3{margin:0 0 3px;font-size:14px}.member-edit-card header p{margin:0;color:#827b6e;font-size:9px}.member-info-card header>span{color:#807767;font-size:9px}
.member-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px;padding:14px}.member-edit-grid label{min-width:0;color:#aaa18e;font-size:10px}.member-edit-grid label>span{display:block;margin-bottom:5px}.member-edit-grid input,.member-edit-grid select{width:100%;height:34px;padding:0 9px;border:1px solid #3d3527;border-radius:3px;outline:0;background:#0a0a0a;color:#eee4ca;font-size:12px}.member-edit-grid input:focus,.member-edit-grid select:focus{border-color:#d8b24a;box-shadow:0 0 0 3px rgba(216,178,74,.1)}.member-edit-grid input[readonly],.member-edit-grid :disabled{background:#151410;color:#6f695e;cursor:not-allowed}.member-edit-grid small{display:block;margin-top:4px;color:#6f695e;font-size:8px;line-height:1.4}
.member-safe-note{display:flex;gap:10px;align-items:flex-start;margin:0 14px 14px;padding:9px 11px;border-left:2px solid #d8b24a;background:#1d190f;color:#a69d88;font-size:9px;line-height:1.55}.member-safe-note strong{flex:none;color:#d8b24a}
.member-info-card dl{display:grid;grid-template-columns:1fr 1fr;margin:0;padding:5px 14px 12px}.member-info-card dl>div{min-width:0;padding:10px 7px;border-bottom:1px solid #26231c}.member-info-card dl>div.wide{grid-column:1/-1}.member-info-card dt{margin-bottom:5px;color:#777064;font-size:9px}.member-info-card dd{margin:0;color:#ddd3bd;font-size:11px;line-height:1.45;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.member-info-card dd.mono{font-size:9px}.member-list-panel{min-height:0!important}.member-list-panel table strong{color:#e8d7aa}.member-ops{min-width:145px;white-space:nowrap}.member-profile-shell .pos{color:#50bd7d!important}.member-profile-shell .neg{color:#e77468!important}
.member-admin-note{padding:13px 14px 14px;border-top:1px solid #2d281e}.member-admin-note-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:7px}.member-admin-note-head label{color:#d8cba9;font-size:11px;font-weight:700}.member-admin-note-actions{display:flex;align-items:center;gap:9px}.member-admin-note-head span{color:#746d60;font-size:9px;font-variant-numeric:tabular-nums}.member-admin-note-head b{color:#d8b24a;font-weight:600}.member-admin-note-actions .btn{min-height:28px;padding:5px 12px;font-size:10px}.member-admin-note textarea{display:block;width:100%;min-height:104px;padding:10px 11px;border:1px solid #3d3527;border-radius:4px;outline:0;background:#0a0a0a;color:#eee4ca;font:inherit;font-size:11px;line-height:1.6;resize:vertical}.member-admin-note textarea:focus{border-color:#d8b24a;box-shadow:0 0 0 3px rgba(216,178,74,.1)}.member-admin-note textarea[readonly]{background:#151410;color:#938a79}.member-admin-note small{display:block;margin-top:6px;color:#6f695e;font-size:8px;line-height:1.45}
.member-recent{align-items:start}.member-recent .table-wrap{overflow:auto;max-height:330px}.member-recent table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:10px}.member-recent th,.member-recent td{padding:8px 10px;border-bottom:1px solid #29251d;text-align:left}.member-recent th{color:#a99a79}.member-recent td{color:#e8dfcc}.member-recent small{color:#807767}.member-recent-note{margin:0;padding:10px 14px;color:#a99a79;font-size:10px;line-height:1.6}
@media(max-width:1100px){.member-search-panel{grid-template-columns:1fr;gap:12px}.member-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.member-detail-columns,.member-detail-columns.member-secondary{grid-template-columns:1fr}}
@media(max-width:600px){.member-search-panel{padding:14px}.member-search-form>div{flex-wrap:wrap}.member-search-form input{flex-basis:100%}.member-search-form .btn{flex:1}.member-profile-head{align-items:flex-start;flex-direction:column}.member-head-actions{width:100%;justify-content:space-between}.member-metric-grid,.member-edit-grid,.member-info-card dl{grid-template-columns:1fr}.member-info-card dl>div.wide{grid-column:auto}}
.payout-item{padding:9px 10px;margin-bottom:8px;border:1px solid #333;border-radius:6px;font-size:12px;line-height:1.7}
.payout-item code{color:#d8b24a;word-break:break-all}

/* 收款账号的操作区与行内编辑表单 */
.payout-acts{margin-top:6px;display:flex;gap:10px;flex-wrap:wrap}
.acct-edit-form{margin-top:8px;padding:10px;border:1px solid rgba(255,255,255,.12);border-radius:8px}
.acct-edit-form .member-field{margin-bottom:6px}

/* 通道与账号不匹配时高亮，避免误打 */
.payout-bound.mismatch{border-color:#e0564d;box-shadow:0 0 0 1px #e0564d}

/* 出款风控标签 */
.tag.warn{background:#4a3a10;color:#e3b341;border-radius:4px;padding:1px 6px;font-size:12px}

/* 出款列表：已实际出款的金额 */
.paid-amt{color:#2eaa6f}
/* 合计行 */
tfoot tr{background:rgba(255,255,255,.04);border-top:2px solid rgba(255,255,255,.14)}
tfoot td{padding:10px 12px}

/* 出款三个动作排成一行 */
.payout-btns{display:flex;gap:14px;flex-wrap:wrap;align-items:center;margin-top:6px}
.fund-payout{display:flex;flex-direction:column;gap:6px}

/* ── 出款申请：按模板样式 ── */
.out-toolbar{display:flex;gap:10px;align-items:center;padding:10px 14px;border-bottom:1px solid rgba(255,255,255,.08)}
.out-count{margin-left:auto;color:#9aa0ab;font-size:13px}
.out-table{width:100%;border-collapse:collapse;font-size:13px;white-space:nowrap}
.out-table th{background:rgba(255,255,255,.05);padding:9px 10px;text-align:center;font-weight:600;color:#c9ced8}
.out-table td{padding:9px 10px;text-align:center;border-bottom:1px solid rgba(255,255,255,.06);vertical-align:middle}
.out-table tr.locked{background:rgba(224,86,77,.08)}
/* manualDebitRows20261009：出款列表里的「后台下分」是账本行、只读，
   用左侧色条和淡底与真实提款单区分，一眼能看出这笔不是会员提现 */
.out-table tr.manual-debit{background:rgba(224,139,45,.08)}
.out-table tr.manual-debit>td:first-child{border-left:3px solid #e08b2d}
.out-table .num-cyan{color:#e0564d}
.out-table .num-green{color:#2eaa6f}
.out-table .yes{color:#e0564d}
.out-table td.ops{white-space:normal;min-width:210px}
.out-table tfoot td{background:rgba(255,255,255,.04);font-weight:600;border-top:2px solid rgba(255,255,255,.14)}
.out-foot{padding:10px 14px;color:#9aa0ab;font-size:13px}
/* 紧凑动作按钮 */
.act-btn{display:inline-block;margin:2px;padding:3px 9px;border-radius:4px;border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.06);color:#d7dbe2;font-size:12px;cursor:pointer;line-height:1.7}
.act-btn:hover{background:rgba(255,255,255,.12)}
.act-btn.primary{background:#2f6fd0;border-color:#2f6fd0;color:#fff}
.act-btn.primary:hover{background:#3b7fe0}
.act-btn.danger{background:#b3453d;border-color:#b3453d;color:#fff}
.act-btn.danger:hover{background:#c9524a}
.act-btn:disabled{opacity:.5;cursor:not-allowed}
.payout-summary{display:grid;grid-template-columns:auto 1fr;gap:6px 14px;margin-bottom:12px;font-size:14px}
.payout-summary span{color:#9aa0ab}

.out-table .chan{color:#e3b341}

/* 客服输入框：拖图片进来时高亮 */
.support-reply textarea.drag-over,textarea.drag-over{outline:2px dashed #e3b341;outline-offset:-3px;background:rgba(227,179,65,.06)}

/* 客服待发送图片的缩略预览 */
.support-image-preview{position:relative;display:inline-block;margin-left:10px;vertical-align:middle}
.support-image-preview img{max-height:56px;max-width:96px;border-radius:6px;border:1px solid rgba(255,255,255,.18);display:block;object-fit:cover;background:#111}
.support-image-preview .preview-tag{position:absolute;left:0;bottom:0;right:0;background:rgba(0,0,0,.66);color:#e3b341;
  font-size:10px;text-align:center;line-height:15px;border-radius:0 0 6px 6px;pointer-events:none}
.support-image-preview .preview-remove{position:absolute;top:-7px;right:-7px;width:20px;height:20px;line-height:18px;
  border-radius:50%;border:1px solid rgba(255,255,255,.25);background:#b3453d;color:#fff;font-size:14px;cursor:pointer;padding:0}
.support-image-preview .preview-remove:hover{background:#c9524a}

.limit-bad{color:#e0564d}

/* 纯客服模式：藏掉后台的导航与标签栏，只留客服工作区 */
body.support-only .sidebar,
body.support-only #tabs,
body.support-only #collapse{display:none!important}
body.support-only #app{grid-template-columns:1fr!important}
body.support-only .support-console{height:calc(100vh - 62px)}

/* 流水金额收支配色 */
.plus-amt{color:#2eaa6f}
.minus-amt{color:#e0564d}
.vip-rule-panel .panel-head{align-items:center}
.vip-rule-notice{display:flex;gap:12px;align-items:flex-start;margin:12px 14px;padding:10px 12px;border-left:3px solid #d8b24a;background:#1d190f;color:#aaa18e;font-size:11px;line-height:1.65}
.vip-rule-notice strong{flex:none;color:#d8b24a}
.vip-rule-table{min-width:920px}

/* 客服会话在线状态与离线快捷关闭。外层不再用 button，避免在会话按钮里嵌套关闭按钮。 */
.support-conversation{position:relative;width:100%;min-height:82px;padding:0;border:0;border-bottom:1px solid #2b271f;background:#111;color:#d9ceb6;display:flex;gap:0;text-align:left}
.support-conversation:hover,.support-conversation.active{background:#211b10}
.support-conversation-main{flex:1;min-width:0;min-height:82px;padding:11px 10px 11px 12px;border:0;background:transparent;color:inherit;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;text-align:left;cursor:pointer}
.support-conversation-main>b{min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#d8b24a;color:#17120a;display:grid;place-items:center;font-size:9px}
.support-conversation-copy strong{min-width:0;display:flex;align-items:center;gap:6px}
.support-conversation-copy strong>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.support-presence{flex:none;display:inline-flex;align-items:center;gap:4px;padding:2px 6px;border:1px solid currentColor;border-radius:9px;font-size:8px;font-style:normal;font-weight:500;line-height:1}
.support-presence:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor;box-shadow:0 0 6px currentColor}
.support-presence.online{color:#52d68b;background:#10251a}
.support-presence.offline{color:#777164;background:#191816}
.support-row-close{flex:0 0 38px;width:38px;height:26px;margin:auto 7px auto 0;padding:0;border:1px solid #4a4132;border-radius:4px;background:#171512;color:#aaa08c;cursor:pointer;font-size:9px;line-height:22px;text-align:center}
.support-row-close:hover{border-color:#d8b24a;background:#2c2312;color:#f0cf72}
.support-row-close:disabled{cursor:wait;opacity:.65}
.support-chat-head>div{min-width:0;flex:1}
.support-chat-head>button{flex:none;margin-left:auto}
.support-chat-head p .support-presence{vertical-align:middle}
@media(max-width:760px){
  .support-conversation-main{grid-template-columns:34px minmax(0,1fr);padding:9px 5px 9px 7px;gap:7px}
  .support-conversation-main>b{display:none}
  .support-row-close{flex-basis:22px;width:22px;height:22px;margin-right:4px;border-radius:50%;font-size:0}
  .support-row-close:before{content:"×";font-size:10px}
  .support-presence{padding:2px 4px}
}
.vip-rule-table th,.vip-rule-table td{vertical-align:middle}
.vip-rule-table td:first-child strong{display:block;color:#e6c86d;font-size:14px}
.vip-rule-table td:first-child small{display:block;margin-top:3px;color:#716b60;font-size:9px}
.vip-rule-table time{color:#8f897e;font-size:10px;white-space:nowrap}
.vip-rule-base{background:rgba(216,178,74,.035)}
.vip-money-input{display:inline-flex;align-items:center;min-width:160px;height:34px;border:1px solid #3d3527;border-radius:4px;background:#0a0a0a;overflow:hidden}
.vip-money-input:focus-within{border-color:#d8b24a;box-shadow:0 0 0 3px rgba(216,178,74,.1)}
.vip-money-input span{padding:0 8px;color:#8f8777;font-size:11px}
.vip-money-input input{width:130px;height:100%;padding:0 8px;border:0;border-left:1px solid #302b22;outline:0;background:transparent;color:#eee4ca;font-variant-numeric:tabular-nums}
.vip-money-input input:disabled{color:#716b60;cursor:not-allowed}
.vip-bonus-toggle{display:inline-flex;align-items:center;gap:7px;color:#c5bda9;font-size:11px;white-space:nowrap;cursor:pointer}
.vip-bonus-toggle input{width:16px;height:16px;accent-color:#d8b24a}
.vip-bonus-toggle input:disabled{cursor:not-allowed}
.vip-save{min-width:64px}
.vip-fixed{color:#70695d;font-size:10px;white-space:nowrap}
.vip-readonly-note{padding:10px 14px;border-top:1px solid #2c2922;color:#817a6d;font-size:10px}
@media(max-width:700px){.vip-rule-notice{display:block}.vip-rule-notice strong{display:block;margin-bottom:4px}}
.panel-actions{display:flex;gap:8px;align-items:center}
.panel-actions input{min-width:180px}

/* 流水管理筛选栏 */
.led-filters{padding:12px 14px;border-bottom:1px solid rgba(255,255,255,.08)}
.led-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:8px}
.led-row:last-child{margin-bottom:0}
.led-row input,.led-row select{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.16);
  border-radius:6px;color:#e6e9ef;padding:5px 9px;font-size:13px;min-width:130px}
.led-row input[type=number]{min-width:100px}
.led-label{color:#9aa0ab;font-size:13px}
.led-quick .act-btn{min-width:56px}

/* admin-white-panels-20260919b: convert remaining black-gold panels to white/light */
.bonus-form input,.bonus-form select,
.fund-payout select,.fund-payout input{border-color:#dfe4ea!important;background:#fff!important;color:#515b66!important}
.sandbox-warning.danger-warning{border-color:#f5c36b!important;background:#fff8e8!important;color:#7c5818!important}
.sandbox-warning.danger-warning strong{color:#b42318!important}
.sandbox-layout .table-wrap table td:last-child{background:#fff!important;box-shadow:-6px 0 8px -6px rgba(46,65,84,.12)!important}
.sandbox-layout .table-wrap table thead th:last-child{background:#f7f9fb!important}
.member-field input{border-color:#dfe4ea!important;background:#fff!important;color:#515b66!important}
.member-search-panel{border-color:#e4eaf5!important;background:#fff!important;color:#4b535d!important;box-shadow:0 3px 12px #2e415408!important}
.member-search-form>label{color:#65707d!important}
.member-search-form input{border-color:#dfe4ea!important;background:#fff!important;color:#515b66!important}
.member-search-form input:focus{border-color:#1788ee!important;box-shadow:0 0 0 3px #1788ee12!important}
.member-search-form small{color:#929aa4!important}
.member-search-empty strong{color:#303844!important}
.member-search-empty p{color:#929aa4!important}
.member-profile-head{border-color:#e4eaf5!important;background:#fff!important;color:#4b535d!important}
.member-profile-head p{color:#929aa4!important}
.member-number{color:#1788ee!important}
.member-status.active{border-color:#b7e4c7!important;color:#22a862!important;background:#e8f8ef!important}
.member-status.disabled{border-color:#f3c2bd!important;color:#e75a63!important;background:#fff1f0!important}
.member-metric-grid article,.member-edit-card,.member-info-card{border-color:#e4eaf5!important;background:#fff!important;color:#4b535d!important}
.member-metric-grid span,.member-edit-card header p,.member-info-card header>span{color:#929aa4!important}
.member-metric-grid strong{color:#1788ee!important}
.member-metric-grid small{color:#929aa4!important}
.member-edit-card>header,.member-info-card>header{border-bottom-color:#edf0f3!important}
.member-edit-grid label{color:#65707d!important}
.member-edit-grid input,.member-edit-grid select{border-color:#dfe4ea!important;background:#fff!important;color:#515b66!important}
.member-edit-grid input:focus,.member-edit-grid select:focus{border-color:#1788ee!important;box-shadow:0 0 0 3px #1788ee12!important}
.member-edit-grid input[readonly],.member-edit-grid :disabled{background:#f5f7f9!important;color:#79828c!important}
.member-edit-grid small{color:#929aa4!important}
.member-safe-note{border-left-color:#1788ee!important;background:#eef5ff!important;color:#4b535d!important}
.member-safe-note strong{color:#1788ee!important}
.member-admin-note{border-top-color:#edf0f3!important}
.member-admin-note-head label{color:#303844!important}
.member-admin-note-head span{color:#929aa4!important}
.member-admin-note-head b{color:#1788ee!important}
.member-admin-note textarea{border-color:#dfe4ea!important;background:#fff!important;color:#515b66!important}
.member-admin-note textarea:focus{border-color:#1788ee!important;box-shadow:0 0 0 3px #1788ee12!important}
.member-admin-note textarea[readonly]{background:#f5f7f9!important;color:#79828c!important}
.member-admin-note small{color:#929aa4!important}
.vip-rule-notice{border-left-color:#1788ee!important;background:#eef5ff!important;color:#4b535d!important}
.support-conversation{border-bottom-color:#eef1f4!important;background:#fff!important;color:#515b66!important}
.support-conversation:hover,.support-conversation.active{background:#f5f8fc!important}
.support-conversation-main>b{background:#1788ee!important;color:#fff!important}
.support-presence.online{color:#22a862!important;background:#e8f8ef!important}
.support-presence.offline{color:#929aa4!important;background:#f1f2f4!important}
.support-row-close{border-color:#dfe4ea!important;background:#fff!important;color:#68727d!important}
.vip-money-input{border-color:#dfe4ea!important;background:#fff!important}
.vip-money-input input{border-left-color:#edf0f3!important;color:#515b66!important}
.support-image-preview img{border-color:#dfe4ea!important;background:#f7f9fb!important}

/* 假人号：余额操作增加了「送彩金」，放宽表格避免按钮挤在一起。 */
.fake-player-panel table{min-width:1540px}
.fake-player-panel .bonus-fake{color:#e34b64!important}
.sandbox-warning .fake-bonus-all{margin-left:auto;flex:none;border-color:#ee6175!important;background:#ee6175!important;color:#fff!important;font-weight:700}
.fake-bonus-dialog .member-field span{width:72px}
@media(max-width:900px){.sandbox-warning .fake-bonus-all{margin-left:0;width:100%}}
/* 改密码弹窗里的说明文字 */
.fake-pwd-note{margin:6px 0 12px;color:#8b95a4;font-size:11px;line-height:1.55}

/* 自动刷新频率下拉：放在表格页右上角「↻ 刷新」旁边 */
.auto-refresh{display:inline-flex;align-items:center}
.auto-refresh select{height:25px;border:1px solid #e3e7eb;border-radius:2px;background:#fff;color:#68727d;font-size:10px;padding:0 6px;outline:0;cursor:pointer}
.auto-refresh select:focus{border-color:#1687e9}
.report-tools-actions{display:inline-flex;align-items:center;gap:8px}
.fake-player-panel .toolbar .auto-refresh select{height:30px;border-color:#dfe4ea;border-radius:3px;color:#4d5865;font-size:11px;padding:0 8px}
.report-footer .page-size select{height:25px;border:1px solid #e3e7eb;border-radius:2px;background:#fff;color:#68727d;font-size:10px;padding:0 6px;outline:0;cursor:pointer}
.report-footer .page-size select:focus{border-color:#1687e9}

.channel-note{margin:4px 0 0;color:#98a1ad;font-size:11px;line-height:16px;white-space:normal;max-width:260px}

/* memberQuick20260922 */
.member-quick{padding:0;border:0;background:none;color:#1788ee;cursor:pointer;font:inherit}.member-quick:hover strong{text-decoration:underline}
.out-table small.real-name{color:#b87a0a}
.perm-dialog.member-quick-dialog{width:min(760px,100%)}.member-quick-dialog h2 small{font-size:12px;font-weight:400;color:#929aa4}
.member-quick-dialog .mq-title{margin:14px 0 6px;font-size:13px;color:#6d7784}
.mq-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0}.mq-grid>div{border:1px solid #e4eaf5;border-radius:6px;padding:8px 10px;min-width:0}
.mq-grid>div.hl{background:#f3f8ff}.mq-grid dt{font-size:11px;color:#929aa4;margin-bottom:4px}.mq-grid dd{margin:0;font-size:14px;color:#2f3842;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.mq-grid dd small{color:#929aa4;font-size:11px}.mq-grid .mono{font-family:ui-monospace,Menlo,monospace;font-size:12px}.mq-grid .pos{color:#2ba36a}.mq-grid .neg{color:#e0525c}
.mq-note{margin:12px 0 0;padding:8px 10px;background:#fffbe9;border-radius:6px;font-size:12px;white-space:pre-wrap}
@media(max-width:600px){.mq-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* dashRange20260922 */
.dash-range{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 10px;padding:10px 14px;background:#fff;border:1px solid #e4eaf5;border-radius:6px}
.dash-range-title{font-weight:600;color:#4b535d;font-size:13px}.dash-range input[type=date]{height:32px;padding:0 8px;border:1px solid #d9e1ec;border-radius:4px}
.dash-range em{font-style:normal;color:#929aa4}.dash-quick{display:flex;flex-wrap:wrap;gap:4px}
.dash-quick button{height:30px;padding:0 10px;border:1px solid #d9e1ec;background:#f7faff;color:#1788ee;border-radius:4px;cursor:pointer}.dash-quick button:hover{background:#e8f2ff}
.dash-range-note{flex-basis:100%;color:#929aa4;font-size:12px}
@media(max-width:600px){.dash-range input[type=date]{flex:1;min-width:0}}

/* txColors20260922 */
.tx-tag{display:inline-block;min-width:56px;padding:2px 8px;border-radius:4px;font-weight:700;text-align:center;white-space:nowrap}
.tx-tag.tx-deposit{background:#ffe8e8;color:#e0303c;border:1px solid #ffb3b8}
.tx-tag.tx-withdraw{background:#fff4c2;color:#a86b00;border:1px solid #f5d36b}

/* bonusSummary20260922 */
.bonus-daily{margin-bottom:10px}.bonus-daily .dash-range{margin:0 0 10px;border:0;padding:0 14px}
.bonus-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:0 14px 12px}
.bonus-tiles>div{border:1px solid #e4eaf5;border-radius:6px;padding:10px 12px;background:#fbfdff}
.bonus-tiles span{display:block;font-size:12px;color:#929aa4}.bonus-tiles b{display:block;margin:6px 0 3px;font-size:18px;color:#1788ee;font-variant-numeric:tabular-nums}
.bonus-tiles b.pos{color:#e0303c}.bonus-tiles b.neg{color:#a86b00}.bonus-tiles small{color:#929aa4;font-size:11px}
.bonus-daily td.pos{color:#e0303c}.bonus-daily td.neg{color:#a86b00}
@media(max-width:900px){.bonus-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* uiBatch20260922 */
@media(min-width:721px){#mobile-menu{display:inline-grid;place-items:center;width:30px;height:30px;margin-right:8px;font-size:16px;color:#4b535d;background:#f2f5f9}#mobile-menu:hover{background:#e6edf6;color:#1788ee}}
.range-filter select{height:34px;padding:0 8px;border:1px solid #d9e1ec;border-radius:4px;background:#fff}

/* auditAutoRefresh20260922 */
.out-toolbar .auto-refresh,.panel-head .toolbar .auto-refresh{display:inline-flex;margin-left:6px}
.out-toolbar .auto-refresh select,.panel-head .toolbar .auto-refresh select{height:32px;padding:0 8px;border:1px solid #bcd6f5;border-radius:4px;color:#1788ee;background:#fff}

/* usdtRate20260922 */
.rate-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.rate-card{padding-bottom:16px}.rate-card>label{display:block;margin:10px 16px 0}.rate-card>label span{display:block;font-size:12px;color:#6d7784;margin-bottom:4px}
.rate-card input,.rate-card select{width:100%;height:34px;padding:0 8px;border:1px solid #d9e1ec;border-radius:4px;background:#fff}
.rate-card small{display:block;color:#929aa4;font-size:11px;margin-top:3px}.rate-card .btn{margin:14px 16px 0}
.rate-now{margin:12px 16px 0;padding:12px 14px;border-radius:6px;background:#f3f8ff}.rate-now span{display:block;font-size:12px;color:#6d7784}.rate-now b{font-size:22px;color:#1788ee}
.rate-facts{display:grid;grid-template-columns:1fr 1fr;margin:8px 16px 0;gap:6px}.rate-facts dt{font-size:11px;color:#929aa4}.rate-facts dd{margin:2px 0 0;font-size:13px}
.rate-card .neg{color:#e0525c;font-style:normal}
@media(max-width:900px){.rate-grid{grid-template-columns:1fr}}

/* PG warnings must not inherit the full-viewport .panel minimum height. */
.pg-report-notice{display:block;min-height:0;margin:8px 12px;padding:10px 14px;border:1px solid #ead7a3;border-radius:4px;background:#fff9e9;color:#806221;line-height:1.6;overflow-wrap:anywhere}
.pg-live-status{margin:8px 12px;color:#697786;font-size:12px;line-height:1.6}

/* Keep both lottery dates in normal flow; a fixed-height shared label lets
   the second input overflow underneath the query buttons. */
#lottery-range{grid-template-columns:minmax(0,1fr)}
#lottery-range .lottery-date-range{display:grid;grid-template-columns:58px minmax(150px,240px) 58px minmax(150px,240px);gap:8px;align-items:center}
#lottery-range .lottery-date-range label{display:block;height:auto;white-space:nowrap}
#lottery-range .lottery-date-range input{min-width:0;height:32px;color-scheme:light}
#lottery-range .report-actions{position:relative;justify-content:flex-start;flex-wrap:wrap;padding:4px 0;min-width:0}
#lottery-range .report-actions em{position:static;margin-left:auto}
@media(max-width:700px){#lottery-range .lottery-date-range{grid-template-columns:58px minmax(0,1fr)}#lottery-range .report-actions em{flex-basis:100%;margin-left:0}}
.support-read-receipt{display:inline-block;margin-left:8px;font-size:12px;font-weight:500}.support-read-receipt.is-read{color:#23875a}.support-read-receipt.is-unread{color:#a26811}

/* 转人工待办：系统已自动回复、等真人接手，用橙色标记，不计入红色未读 */
.support-awaiting { flex:none;display:inline-flex;align-items:center;gap:4px;padding:2px 6px;border:1px solid #e08b2d;border-radius:9px;background:#fff4e2;color:#b96a10;font-size:8px;font-style:normal;font-weight:600;line-height:1 }
.support-awaiting:before { content:"";width:5px;height:5px;border-radius:50%;background:#e08b2d }
.support-conversations>header>span.support-awaiting-pill { background:#fff4e2;color:#b96a10;border:1px solid #f0d0a4 }
/* 预存话术表单：带标签，名称可留空，避免浏览器原生「请填写此字段」拦人 */
.support-quick-bank .quick-reply-field { display:grid;gap:3px }
.support-quick-bank .quick-reply-field>span { color:#8a949e;font-size:9px }
.support-quick-bank .quick-reply-field small { color:#b3bac2;font-size:8px;margin-left:4px;font-weight:400 }

/* depositScope20261009：面板说明文案较长时，右侧工具栏会被压到换行（刷新按钮断成两行）。
   让工具栏保持自身宽度、按钮文字不折行，由标题列自行换行。 */
.panel-head .toolbar{flex-shrink:0}
.panel-head .toolbar .btn{white-space:nowrap}

/* 手动出款凭证：转账截图弹窗。
   客服点「手动出款」后选图/粘贴截图，确认前先看到预览；
   出款列表里只放「查看凭证」按钮，图点开才取，列表不受影响。 */
.payout-proof-modal,.payout-proof-viewer{width:430px}
.payout-proof-modal .modal-body,.payout-proof-viewer .modal-body{display:block}
.payout-proof-target{margin:0;font-size:12px;color:#3f4954}
.payout-proof-target small{color:#8d97a3}
.payout-proof-hint{margin:10px 0 0;padding:8px 10px;background:#fff8e8;border:1px solid #f4dfb4;border-radius:4px;font-size:11px;line-height:1.7;color:#8a6a25}
.payout-proof-pick{display:flex;align-items:center;gap:8px;margin:12px 0 0}
.payout-proof-pick .btn{display:inline-flex;align-items:center}
.payout-proof-pick em{font-style:normal;font-size:10px;color:#9aa4b0}
.payout-proof-preview{position:relative;margin:10px 0 0;padding:8px;background:#fafbfc;border:1px solid var(--line);border-radius:4px}
.payout-proof-preview img{display:block;width:100%;max-height:300px;object-fit:contain;border-radius:3px;background:#eef1f4}
.payout-proof-preview .link-btn{margin-top:6px}
.payout-proof-note{display:block;margin:12px 0 0;font-size:10px;color:#6f7985}
.payout-proof-note input{display:block;width:100%;height:34px;border:1px solid #dfe4ea;border-radius:3px;margin-top:5px;padding:0 8px}
.payout-proof-view img{display:block;width:100%;max-height:min(62vh,520px);object-fit:contain;background:#f4f6f8;border-radius:4px}
.payout-proof-meta{margin:10px 0 0;font-size:11px;color:#5b6673;line-height:1.7}
.payout-proof-meta small{color:#9aa4b0}
@media (max-width:720px){.payout-proof-preview img{max-height:220px}}

/* hidden20261011：hidden 属性必须真的隐藏。
   styles.css 里的 .modal-body input{display:block;width:100%} 和本文件的
   .support-image-preview{display:inline-block} 都是作者样式，优先级高于浏览器
   默认的 [hidden]{display:none}，于是「手动出款」弹窗里的 <input type=file hidden>
   会顶着原生「选择文件／未选择任何文件」露出来，看着像必填项；客服回复框里空的
   「待发送」缩略图也一样一直露着。这里统一压回隐藏。
   JS 用 el.hidden=false 去掉属性后照常显示，程序里用的 .hidden 类不受影响。 */
[hidden]{display:none!important}

/* lottery-statistics.css */
.lottery-view-tabs{display:flex;gap:8px;margin:0 0 14px;border-bottom:1px solid #e5eaf1;padding-bottom:10px}
.lottery-view-tabs button{border:1px solid #dce4ef;background:#fff;border-radius:5px;padding:9px 18px;color:#68788c;cursor:pointer}
.lottery-view-tabs button.active{background:#168be6;border-color:#168be6;color:white}
.lottery-game-page{background:#fff;border:1px solid #e6eaf0;border-radius:6px;overflow:hidden}
.lottery-game-page .lottery-game-filter{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:15px;border-bottom:1px solid #edf0f5}
.lottery-game-filter label{display:flex;align-items:center;gap:7px;color:#697586;font-size:12px}
.lottery-game-filter input{padding:7px 9px;border:1px solid #dce3ed;border-radius:4px;min-width:0}
.lottery-game-filter input[name=q]{width:170px}
.lottery-shortcuts{display:flex;gap:5px;flex-wrap:wrap}
.lottery-shortcuts .btn{padding:6px 9px;font-size:12px}
.lottery-game-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px 6px}
.lottery-game-heading h2{font-size:16px;margin:0 0 7px}.lottery-game-heading p{font-size:12px;color:#8894a4;margin:0}
.lottery-chart-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:10px 20px 20px}
.lottery-chart{min-width:0;margin:0}.lottery-chart h3{font-size:13px;font-weight:500;color:#667085;text-align:center;margin:12px 0}
.lottery-pie-layout{display:flex;align-items:center;justify-content:center;gap:18px;min-height:240px}
.lottery-pie-layout svg{width:min(48%,260px);height:auto;flex-shrink:0;overflow:visible}
.lottery-pie-layout path{stroke:#fff;stroke-width:1.2;transition:opacity .1s}.lottery-pie-layout path:hover{opacity:.78}
.lottery-chart-legend{list-style:none;padding:0;margin:0;max-height:250px;overflow:auto;flex:1;max-width:250px;font-size:12px}
.lottery-chart-legend li{display:grid;grid-template-columns:9px 1fr auto;gap:8px;align-items:center;padding:6px 0}
.lottery-chart-legend i{width:9px;height:9px;border-radius:2px}.lottery-chart-legend small{display:block;color:#8b96a7;font-size:11px;margin-top:2px}
.lottery-chart-legend b{font-weight:500;color:#758196;font-variant-numeric:tabular-nums}
.lottery-chart-empty{display:flex;align-items:center;justify-content:center;min-height:240px;color:#9aa5b4;font-size:13px;background:#fafbfd;border-radius:6px}
.lottery-game-page .table-wrap{overflow:auto}.lottery-game-table{width:100%;border-collapse:collapse;font-size:12px;white-space:nowrap}
.lottery-game-table th,.lottery-game-table td{padding:13px 16px;border-bottom:1px solid #edf0f5;text-align:right;font-variant-numeric:tabular-nums}
.lottery-game-table th{background:#f8fafc;font-weight:500;color:#718094}.lottery-game-table td:first-child,.lottery-game-table td:nth-child(2),.lottery-game-table th:first-child,.lottery-game-table th:nth-child(2){text-align:left}
.lottery-game-table tbody tr:nth-child(even){background:#fbfcfe}.lottery-game-table tfoot{background:#f5f9fe;font-weight:600}
.lottery-game-table[data-aggregation="game"] td:nth-child(2),.lottery-game-table[data-aggregation="game"] th:nth-child(2){text-align:right}
.lottery-game-table td.lottery-profit-positive{color:#39916b!important}.lottery-game-table td.lottery-profit-negative{color:#d66a64!important}
.lottery-game-note{font-size:12px;line-height:1.8;color:#8590a0;padding:12px 20px;margin:0;border-top:1px solid #edf0f5}
.lottery-game-updated{font-size:12px;color:#8290a3}.lottery-game-error{padding:10px 20px;color:#c16b35;font-size:12px}
@media(max-width:1000px){.lottery-chart-grid{grid-template-columns:1fr}.lottery-pie-layout{max-width:650px;margin:auto}}
@media(max-width:600px){.lottery-game-heading{align-items:flex-start;flex-direction:column}.lottery-chart-grid{padding:10px}.lottery-game-filter label{width:100%}.lottery-game-filter input{flex:1}.lottery-pie-layout{gap:10px}.lottery-game-table th,.lottery-game-table td{padding:11px}.lottery-chart-legend li{gap:5px;font-size:11px}}

/* member-daily.css */
#member-daily-filter{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:16px;border-bottom:1px solid #edf0f4}
#member-daily-filter label{display:flex;gap:8px;align-items:center;color:#657383}
#member-daily-filter input{height:32px;min-width:140px;border:1px solid #dce4ed;border-radius:4px;padding:4px 9px;background:#fff;color:#364152;font:inherit}
#member-daily-filter+p{padding:0 16px;color:#657383;line-height:1.8}
.member-daily-table{min-width:1500px}
.member-daily-table th,.member-daily-table td{white-space:nowrap}
.member-daily-table tfoot{background:#f5f8fc;font-weight:600}
.support-recall-btn{margin-left:10px;border:0;background:transparent;color:#547ea5;cursor:pointer;font:inherit;padding:2px 5px}
.support-recall-btn:hover{text-decoration:underline}
.support-recall-btn:disabled{opacity:.5;cursor:wait}

/* dashboard-statistics.css */
/* Only the live dashboard uses this wrapper; other admin routes keep their layout. */
.dashboard-overview .welcome{height:auto;min-height:84px;padding:14px;gap:10px;align-items:center}
.dashboard-overview .welcome-avatar{flex:0 0 45px;margin-right:0}
.dashboard-overview .dashboard-welcome-copy{flex:1;min-width:0}
.dashboard-overview .welcome h3{font-size:15px;line-height:1.5;margin-bottom:6px}
.dashboard-overview .welcome p{flex-wrap:wrap;gap:8px;font-size:13px;line-height:1.6;color:#566577}
.dashboard-overview .dashboard-scope{font-size:12px;line-height:1.5}
.dashboard-overview [data-dashboard-updated]{overflow-wrap:anywhere}
.dashboard-overview .clock{flex:0 0 132px;width:132px;height:auto;min-height:64px;padding:8px}
.dashboard-overview .clock strong{font-size:20px;line-height:1.3}
.dashboard-overview .clock span,.dashboard-overview .clock small{font-size:12px;line-height:1.5;margin-top:3px}
.dashboard-overview .dash-range{gap:10px;align-items:flex-end;padding:14px;margin-bottom:12px}
.dashboard-overview .dash-range-title{flex-basis:100%;font-size:14px;line-height:1.5}
.dashboard-overview .dashboard-date-field{display:flex;flex-direction:column;gap:5px;min-width:0;color:#4b535d;font-size:13px;line-height:1.5}
.dashboard-overview .dash-range input[type=date]{width:170px;max-width:100%;min-width:0;height:38px;font-size:14px;color:#303f52;background:#fff;color-scheme:light;padding:0 9px}
.dashboard-overview .dash-range em{line-height:38px;font-size:13px}
.dashboard-overview .dash-range .btn,.dashboard-overview .dash-quick button{height:38px;font-size:13px;padding:0 12px;white-space:nowrap}
.dashboard-overview .dash-quick{gap:6px;min-width:0;align-items:center}
.dashboard-overview .dash-range-note{font-size:13px;line-height:1.7;color:#566577;overflow-wrap:anywhere}
.dashboard-overview .cards{gap:8px;border:0}
.dashboard-overview .stat-card{height:auto;min-height:96px;border:1px solid #e4eaf5;border-radius:4px;align-items:stretch}
.dashboard-overview .stat-code{width:42px;flex-basis:42px;font-size:14px;border-radius:3px 0 0 3px}
.dashboard-overview .stat-info{padding:12px;overflow:visible}
.dashboard-overview .stat-info>span{font-size:13px;line-height:1.5;white-space:normal;overflow:visible;text-overflow:clip;color:#4b535d}
.dashboard-overview .stat-values{margin-top:8px;flex-wrap:wrap;justify-content:flex-start;align-items:baseline;gap:6px 10px;font-size:13px;line-height:1.6;white-space:normal;overflow:visible}
.dashboard-overview .stat-values b{font-size:13px;max-width:100%;white-space:normal;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;color:#566577;font-weight:500}
.dashboard-overview .stat-values .primary-stat-value{font-size:18px!important;font-weight:600}
@media(max-width:1000px){.dashboard-overview .cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
  .dashboard-overview .welcome{align-items:flex-start;padding:12px}
  .dashboard-overview .welcome h3{font-size:14px}
  .dashboard-overview .clock{display:none}
  .dashboard-overview .dash-range{padding:12px;gap:8px}
  .dashboard-overview .dashboard-date-field{flex:1 1 130px}
  .dashboard-overview .dash-range input[type=date]{width:100%;font-size:16px}
  .dashboard-overview .dash-quick{flex-basis:100%}
  .dashboard-overview .stat-info{padding:10px}
}
@media(max-width:420px){.dashboard-overview .cards{grid-template-columns:minmax(0,1fr)}}

/* Workbench person totals open scoped, read-only member lists. */
.dashboard-overview [data-dashboard-people]:hover{border-color:#9fc9f6;background:#f7fbff}
.dashboard-overview [data-dashboard-people]:focus-visible{outline:3px solid #7ab7f5;outline-offset:2px}
.dashboard-people-page .panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.dashboard-people-page .panel-head h2{margin:0 0 7px;font-size:19px;color:#25364c}
.dashboard-people-page .panel-head p{margin:0;color:#64748b;line-height:1.7;overflow-wrap:anywhere}
.dashboard-people-page .dashboard-people-read-state{margin:0;padding:11px 18px;color:#64748b;font-size:13px;line-height:1.6;border-bottom:1px solid #eef2f7}
.dashboard-people-page[data-read-state=stale] .dashboard-people-read-state{color:#a25c12;background:#fff9ed}
.dashboard-people-page .dashboard-people-filter{display:flex;align-items:flex-end;gap:9px;flex-wrap:wrap;padding:16px 18px;background:#f9fbfe;border-bottom:1px solid #e7edf5}
.dashboard-people-page .dashboard-people-filter>label:first-child{display:grid;gap:6px;color:#475569;font-size:13px;flex:1 1 260px;max-width:480px}
.dashboard-people-page .dashboard-people-filter input{height:38px;min-width:0;width:100%;padding:0 11px;border:1px solid #dbe4f0;border-radius:5px;background:#fff;color:#334155;font:inherit;box-sizing:border-box}
.dashboard-people-page .dashboard-people-summary{padding:14px 18px;color:#64748b;font-size:13px;border-bottom:1px solid #eef2f7}
.dashboard-people-page .dashboard-people-summary strong{color:#2088e4;font-size:18px;font-variant-numeric:tabular-nums}
.dashboard-people-page table{min-width:850px}
.dashboard-people-page th,.dashboard-people-page td{white-space:nowrap}
.dashboard-people-page .table-pager{padding:12px 18px;gap:10px;flex-wrap:wrap}
.dashboard-people-page .empty-note{padding:42px 18px}
.dashboard-people-member-return{margin:0 0 12px}
@media(max-width:600px){.dashboard-people-page .panel-head{padding:14px}.dashboard-people-page .dashboard-people-filter{padding:14px}.dashboard-people-page .dashboard-people-filter>label:first-child{max-width:none;flex-basis:100%}.dashboard-people-page .table-pager-actions{flex-wrap:wrap}}

/* admin-tidy.css */
/* 后台全局版式 + 可读性覆盖（跨页面共用），由各外壳在最后加载。
   页面专属样式一律放各自的文件，不要再往本文件堆：
   - 会员中心 / 会员资料 / 近期交易投注 → member-pages.css
   - 会员领取独立页                    → claims-page.css
   - 游戏流水记录页（全部游戏注单）      → game-records.css
   共用分页栏 .table-pager 留在本文件。 */
/* Consistent admin workspace, after existing component styles. */
:root{--sidebar:208px}
.sidebar{width:var(--sidebar);overscroll-behavior:contain}
.shell{margin-left:var(--sidebar)}
.logo{height:60px;padding:0 18px;font-size:16px;gap:10px}
.logo .brand-logo{height:30px}
#nav{padding:12px 10px 60px}
#nav button{width:100%;border:0;background:transparent;font:inherit;text-align:left}
#nav .nav-link,#nav .nav-group-title{min-height:40px;padding:0 12px;font-size:14px;gap:10px;border-radius:6px;margin:2px 0}
#nav .nav-link.child{padding-left:36px;font-size:13px;min-height:36px}
#nav .nav-link.active{background:#eaf3ff!important;font-weight:600}
#nav .nav-link.active:before{display:none}
#nav .nav-link:hover,#nav .nav-group-title:hover{background:#f4f7fb}
#nav .nav-icon{width:18px;flex:0 0 18px;text-align:center;color:#8290a2}
#nav .chev{font-size:13px;transition:transform .15s}
#nav .nav-group.closed .chev{transform:rotate(-90deg)}
.collapse-btn{left:172px;bottom:12px;font-size:20px}
.topbar{height:54px;padding:0 18px}
.crumb{font-size:15px;font-weight:600}
.top-actions{gap:8px}
.top-actions button{width:32px;height:32px;font-size:15px}
.avatar{width:30px;height:30px;font-size:12px}
.tabs{height:auto;min-height:46px;padding:8px 18px;gap:8px;overflow-x:auto;white-space:nowrap;flex-wrap:nowrap}
.tab{height:30px;line-height:28px;padding:0 12px;font-size:13px;border-radius:5px;flex:0 0 auto;background:#f8fafc}
#content{padding:18px;min-height:calc(100vh - 100px)}
#content .panel{min-height:0;border-radius:8px;box-shadow:none}
#content h2,#content h3{color:#334155}
#content input,#content select,#content textarea{color:#334155;background:#fff;border-color:#dce4ee;border-radius:5px}
#content .bonus-form label,#content .bonus-summary div,#content .bonus-tip{color:#64748b}
#content .bonus-summary b{color:#334155}
#content .bonus-summary{border-color:#e2e8f0}
#content .bonus-form h2{color:#334155}
#content .danger-warning{background:#fff7ed!important;border-color:#fed7aa!important}
#content .danger-warning strong{color:#9a3412}
#content .danger-warning span{color:#9a5a36}
.workbench-actions{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:14px 0}
.workbench-actions button{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:16px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#334155;cursor:pointer;text-align:left;min-height:80px}
.workbench-actions button:hover{border-color:#93c5fd;background:#f8fbff}
.workbench-actions strong{font-size:14px}
.workbench-actions span{font-size:12px;color:#64748b}
.dashboard-overview .cards{grid-template-columns:repeat(5,minmax(0,1fr));border:0;gap:12px;margin:14px 0}
.dashboard-overview .stat-card{height:auto;min-height:112px;border:1px solid #e2e8f0!important;border-radius:8px;overflow:hidden}
.dashboard-overview .stat-code{display:none}
.dashboard-overview .stat-info{padding:16px}
.dashboard-overview .stat-info>span{font-size:13px;color:#64748b}
.dashboard-overview .stat-values{display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:center;white-space:normal;gap:5px 10px;font-size:12px;margin-top:12px}
.dashboard-overview .stat-values b{font-size:12px;font-weight:400;color:#64748b}
.dashboard-overview .stat-values b.primary-stat-value{font-size:24px!important;font-weight:600;color:#334155!important;flex-basis:100%}
.workbench-more{border:1px solid #e2e8f0;border-radius:8px;background:#fff;padding:14px 16px;margin-top:16px}
.workbench-more>summary{font-size:14px;color:#64748b;cursor:pointer}
.workbench-more .charts{grid-template-rows:240px 240px;gap:12px}
.dashboard-overview .dash-quick{gap:6px}
.dashboard-overview .dash-range{margin-top:14px}
.dashboard-overview .welcome{height:auto;min-height:82px;padding:16px;border-radius:8px}
.dashboard-overview .welcome h3{font-size:16px}
#nav button:focus-visible,.tab:focus-visible,.workbench-actions button:focus-visible{outline:2px solid #1788ee;outline-offset:2px}
.sidebar.collapsed{width:60px}.sidebar.collapsed~.shell{margin-left:60px}
.sidebar.collapsed #nav .nav-link.child{display:none}.sidebar.collapsed #nav .nav-label,.sidebar.collapsed #nav .chev{display:none}
.sidebar.collapsed .logo{padding:0 15px}.sidebar.collapsed .logo strong{display:none}
.sidebar.collapsed .collapse-btn{left:22px}
@media(max-width:1200px){.dashboard-overview .cards{grid-template-columns:repeat(3,minmax(0,1fr))}.workbench-actions{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.sidebar{width:208px;transform:translateX(-100%)}.sidebar.open{transform:translateX(0)}.shell,.sidebar.collapsed~.shell{margin-left:0}.topbar{padding:0 10px}.tabs{padding:8px 10px}#content{padding:10px}.dashboard-overview .cards,.workbench-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.workbench-more .charts{display:block}.workbench-more .chart{height:220px;margin-top:8px}.dashboard-overview .stat-info{padding:12px}.top-actions{gap:3px}.dashboard-overview .welcome-avatar{display:none}.dashboard-overview .clock{display:none}}

.tabs .tab:nth-child(n){display:block}

#payout-filter.compact-filters .advanced-filter{display:none}

/* fontReadable20261009：字号整体放大一档、灰色小字加深。
   后台历史样式是 11px 正文 + 9~10px 灰色数字（还有深色主题遗留的土黄字），
   在普通显示器上几乎无法辨认 —— 这里是统一的可读性覆盖，加载顺序在最后，优先级最高。 */
html,body{font-size:13px}
th{font-size:12px}
td{font-size:13px}
.table-wrap table th{color:#5b6673}
.table-wrap td{color:#2b3440}
small{font-size:12px;color:#5b6673}
.panel-title p{font-size:12px;color:#4e5a68}
.report-table th,.report-table td{font-size:12px}
.table-footer,.report-footer{font-size:13px;color:#5b6673}
.badge{font-size:11px}
.vip-badge{font-size:12px}
.empty-note,.empty-note p,.member-recent-note{font-size:12px;color:#5b6673}
.data-table td.mono{font-size:12px}
.data-table .muted{color:#5b6673}

/* 统一分页栏：共 N 条 · 第 X / Y 页 + 上一页 / 下一页 + 每页条数 */
.table-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:10px 4px 2px;border-top:1px solid #eef1f4;margin-top:6px;font-size:13px;color:#334155}
.table-pager>span{font-weight:600}
.table-pager-actions{display:flex;gap:8px}
.table-pager button[disabled]{opacity:.45;cursor:not-allowed}
.table-pager label{display:flex;align-items:center;gap:6px;font-size:13px;color:#334155}
.table-pager select{padding:4px 6px;font-size:13px;height:auto}

/* member-pages.css */
/* 会员相关页面专用样式：会员中心搜索、会员资料页、近期交易 / 近期投注。
   20261010 从 admin-tidy.css 拆分归位。 */
/* 会员资料页：把深色主题遗留的小字、土黄字全部改成白底可读配色 */
.member-info-card dt{font-size:12px!important;color:#5b6673!important}
.member-info-card dd{font-size:13px!important;color:#2b3440!important}
.member-info-card dd.mono{font-size:12px!important}
.member-info-card header>span{font-size:12px!important;color:#5b6673!important}
.member-metric-grid span{font-size:12px!important;color:#5b6673!important}
.member-metric-grid small{font-size:12px!important;color:#5b6673!important}
.member-edit-card header p{font-size:12px!important;color:#5b6673!important}
.member-edit-grid label{font-size:12px!important;color:#4e5a68!important}
.member-edit-grid small{font-size:11px!important;color:#5b6673!important}
.member-edit-grid input,.member-edit-grid select{font-size:13px!important}
.member-safe-note{font-size:11px!important;color:#4e5a68!important}
.member-admin-note-head label{font-size:12px!important}
.member-admin-note-head span{font-size:11px!important;color:#5b6673!important}
.member-admin-note textarea{font-size:12px!important}
.member-admin-note small{font-size:11px!important;color:#5b6673!important}
.member-search-form small{font-size:12px!important;color:#5b6673!important}
.member-profile-head p{font-size:12px!important;color:#5b6673!important}

/* 会员资料底部「近期交易 / 近期投注」：原来 330px 高的小滚动框 + 10px 土黄字，
   既看不清也看不全；这里放开高度，改为整页显示 + 分页翻页。 */
.member-recent .table-wrap{max-height:none!important;overflow-x:auto}
.member-recent table{font-size:13px!important;white-space:normal}
.member-recent th{font-size:12px!important;color:#5b6673!important}
.member-recent td{color:#2b3440!important}
.member-recent small{font-size:12px!important;color:#5b6673!important}
.member-recent-note{font-size:12px!important;color:#5b6673!important}

/* memberPwdInline20261009：可修改资料面板里的「修改密码」分组。
   样式对齐上方 member-edit-grid 的白底配色，边框与间距对齐 member-safe-note。 */
.member-pwd-group{margin:0 14px 14px;padding:12px;border:1px solid #dfe4ea;border-radius:4px;background:#f8fafc}
.member-pwd-head{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.member-pwd-head strong{font-size:13px!important;color:#2b3440!important}
.member-pwd-head span{font-size:11px!important;color:#5b6673!important}
.member-pwd-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;margin-bottom:10px}
.member-pwd-row label{min-width:0;font-size:12px!important;color:#4e5a68!important}
.member-pwd-row label>span{display:block;margin-bottom:5px}
.member-pwd-row input{width:100%;height:34px;padding:0 9px;border:1px solid #dfe4ea;border-radius:3px;outline:0;background:#fff;color:#515b66;font-size:13px}
.member-pwd-row input:focus{border-color:#1788ee;box-shadow:0 0 0 3px #1788ee12}
.member-pwd-row input:disabled{background:#f5f7f9;color:#79828c;cursor:not-allowed}
.member-pwd-row .btn{white-space:nowrap}
.member-pwd-note{margin:0;font-size:11px!important;color:#5b6673!important}
.member-pwd-note b{color:#1788ee}
@media(max-width:600px){.member-pwd-row{grid-template-columns:1fr}}

/* claims-page.css */
/* 会员领取独立页（memberClaims）专用样式。20261010 从 admin-tidy.css 拆分归位。 */
/* 会员领取独立页 */
.claims-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;margin:0 0 12px}
.claims-summary article{display:flex;flex-direction:column;gap:5px;padding:13px 15px;border:1px solid #e4eaf5;border-radius:8px;background:#fff}
.claims-summary span{font-size:12px;color:#5b6673}
.claims-summary strong{font-size:20px;color:#1788ee}
.claims-summary strong.claims-time{font-size:14px;color:#334155}
.claims-summary small{font-size:12px;color:#5b6673}
.claims-table{font-size:13px}
.claims-table th{font-size:12px}
.claims-page .panel-head{align-items:flex-start}
.claims-tag{display:inline-block;padding:2px 9px;border-radius:10px;font-size:12px;font-weight:600;white-space:nowrap}
.claims-tag.red{background:#fff1f0;color:#e2473d}
.claims-tag.daily{background:#eef5ff;color:#1788ee}
.claims-tag.sign{background:#e8f8ef;color:#22a862}
.claims-tag.vip{background:#fdf3e0;color:#b5811d}

/* 会员领取页工具栏：搜索框自适应，按钮不换行（窗口较窄时「搜索 / 显示全部」会挤成两行） */
.claims-page .panel-head .toolbar{display:flex;align-items:center;gap:8px}
.claims-page .panel-head .toolbar .search{flex:1 1 220px;min-width:160px}
.claims-page .panel-head .toolbar .btn{white-space:nowrap;flex:0 0 auto}

/* game-records.css */
/* 游戏流水记录页（全部游戏注单 / game-records）专用样式。20261010 从 admin-tidy.css 拆分归位。 */
/* 游戏流水记录页 grPage20261009：筛选两行、数字卡片、汇总去重，页面一眼看懂 */
.gr-page .gr-intro{margin:0;font-size:12px;color:#5b6673}
.gr-filters{display:flex;flex-direction:column;gap:9px;margin:0 0 14px;padding:12px 14px;border:1px solid #e4eaf5;border-radius:10px;background:#fbfdff}
.gr-filter-row{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:flex-end}
.gr-field{display:flex;flex-direction:column;gap:4px;min-width:150px}
.gr-field>span{font-size:12px;color:#5b6673}
.gr-field input,.gr-field select{height:30px;border:1px solid #d9e0ea;border-radius:6px;background:#fff;padding:0 9px;font-size:13px;color:#2b3440;outline:0}
.gr-field input:focus,.gr-field select:focus{border-color:#1788ee;box-shadow:0 0 0 2px rgba(23,136,238,.12)}
.gr-field input:disabled,.gr-field select:disabled{background:#f5f7f9;color:#8b95a1}
.gr-field.gr-wide{flex:1 1 220px;min-width:220px}
.gr-field.gr-field-actions>div{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.gr-quick button{height:30px}
.gr-kpi{margin:0 0 16px}
.gr-scope{margin:0 0 10px;font-size:13px;color:#334155}
.gr-scope strong{color:#0f172a}
.gr-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(196px,1fr));gap:12px}
.gr-card{display:flex;flex-direction:column;gap:5px;padding:13px 15px;border:1px solid #e4eaf5;border-radius:10px;background:#fff}
.gr-card>span{font-size:12px;color:#5b6673}
.gr-card>strong{font-size:22px;font-weight:700;color:#243040;letter-spacing:-.4px}
.gr-card>small{font-size:12px;line-height:1.45;color:#7b8794}
.gr-card.gr-main{border-color:#bcdcff;background:linear-gradient(180deg,#f4faff,#fff)}
.gr-card.gr-main>strong{font-size:28px;color:#1788ee}
.gr-card.neg>strong{color:#e2473d}
.gr-card.pos>strong{color:#1ca45d}
.gr-counts{margin:10px 0 0;font-size:13px;color:#3c4756}
.gr-counts b{font-size:14px;color:#0f172a}
.gr-today-strip{display:inline-block;margin-left:10px;padding:3px 10px;border-radius:999px;background:#fff7e6;font-size:12px;color:#a9701a}
.gr-block{margin:0 0 16px}
.gr-block-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 6px}
.gr-block-head h3{margin:0;font-size:15px;color:#1b2534}
.gr-tag{display:inline-block;padding:2px 9px;border-radius:999px;background:#eef5ff;font-size:12px;color:#1788ee}
.gr-note{margin:0 0 8px;font-size:12px;line-height:1.5;color:#5b6673}
.gr-sub{margin:12px 0 6px;font-size:13px;color:#334155}
.gr-games-source h4{margin:10px 0 6px;font-size:13px;color:#334155}
.gr-updated{margin:0;padding:8px 2px 2px;font-size:12px;color:#7b8794}
.gr-games .table-wrap table th,.gr-games .table-wrap table td,.gr-venues .table-wrap table th,.gr-venues .table-wrap table td,.gr-detail .table-wrap table th,.gr-detail .table-wrap table td{white-space:nowrap}
