:root{--bg:#101112;--panel:#191b1e;--line:#34373b;--pink:#c68aa4;--pink-soft:#c68aa44d;--cyan:#a6d8cf;--gold:#dfc08c;--txt-1:#f0f2f3;--txt-2:#bcc3c7;--txt-3:#90999f;--ok:#8bcea9}
html{color-scheme:dark;scrollbar-color:#4b5054 #151719}
[hidden]{display:none!important}
body{padding:0;min-width:320px;font-family:"Segoe UI","Microsoft YaHei",sans-serif;background:#101112;color:var(--txt-1)}
.wrap{max-width:none;margin:0}#panel{padding:32px 32px 45px 242px;position:relative;isolation:isolate;min-height:100vh}
#panel::before{content:"";position:absolute;left:210px;right:0;top:0;height:580px;z-index:-1;background:url('./bg-zap-map.webp') center 30%/cover;opacity:.28;pointer-events:none;mask-image:linear-gradient(#000 25%,transparent)}
.head{margin:0 0 28px;align-items:center;gap:20px}.head>div:first-child{min-width:0}.head h1{margin:0 0 12px;padding:0 0 16px}.head .sub{font-size:11px;color:#969da2;margin-top:0}.head .toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.panel-layout{display:block}.panel-main{width:100%;min-width:0;flex:none}.side-nav{position:fixed;top:0;bottom:0;left:0;width:210px;min-width:0;max-height:100vh;overflow-y:auto;overscroll-behavior:contain;padding:27px 14px 25px;margin:0;border:0;border-right:1px solid #373338;border-radius:0;background:linear-gradient(155deg,#201c21,#141516 35%);box-shadow:4px 0 24px #0002;z-index:10;display:block;scrollbar-width:thin}
.console-rail-brand{padding:0 12px 24px}.nav-title{font-size:10px;padding:15px 10px 8px;color:#787f85}.nav-item{width:100%;min-height:39px;display:flex;align-items:center;gap:10px;text-align:left;white-space:nowrap;padding:9px 11px;margin:4px 0;border:1px solid transparent;border-radius:6px;background:transparent;color:#a0a8ae;font-size:12px}.nav-item.active{background:#2a2d30;border-color:#42464a;color:#f3f5f6;box-shadow:inset 0 1px #ffffff0e,0 3px 7px #0002}.nav-item:hover{background:#25282b;color:#fff}.nav-ico{display:flex;align-items:center;justify-content:center;width:17px;flex:none}.nav-ico .lucide{width:17px;height:17px;stroke-width:1.6}.nav-item.active .nav-ico{color:var(--cyan)}.nav-badge{margin-left:auto;min-width:20px;border:0;border-radius:4px;color:var(--gold);background:#ffffff0a;text-align:center;padding:2px 4px}.nav-section{min-width:0}.rev-head{margin-bottom:18px}.rev-head h2{font-size:19px;font-weight:550;line-height:1.5}.rev-head h3{font-size:14px;font-weight:550}
.btn{font-family:inherit;font-size:12px;font-weight:500;min-height:35px;padding:7px 13px;border:1px solid #d4e4dc;border-radius:6px;background:linear-gradient(#e0eee8,#c2d9cd);color:#20392d;box-shadow:inset 0 1px #fff7,0 2px 5px #0003;gap:7px;transition:background .18s,box-shadow .18s,border-color .18s,transform .18s;text-decoration:none;white-space:nowrap}.btn:hover{background:#e5f2ec;border-color:#f7fffa;box-shadow:0 4px 14px #c9e3d51a}.btn--ghost{background:linear-gradient(#2c3033,#22262a);border-color:#43494e;color:#d0d7db;box-shadow:inset 0 1px #ffffff0b,0 2px 4px #0003}.btn--ghost:hover{background:#353c41;border-color:#69767e;color:#fff}.btn--sm{font-size:11px;padding:6px 11px;min-height:32px}.btn:disabled{opacity:.45;cursor:not-allowed}.btn .lucide{width:15px;height:15px;stroke-width:1.6}.btn--approve{color:var(--ok);border-color:#507960;background:#25342c}.btn--reject{color:#e7a8b0;border-color:#7b4b54;background:#362429}
.info{color:#9ca7ad;background:#20262a8a;border-color:#3b494f;border-radius:6px;font-size:12px;line-height:1.8;padding:11px 14px}.m-card{border:1px solid #373c41;border-radius:8px;background:#191c1fe0;box-shadow:inset 0 1px #ffffff05,0 5px 18px #0002;padding:19px 21px}.m-card--tbd{border-color:#766341;box-shadow:inset 0 1px #cdb87c0d}.m-title{font-weight:500;line-height:1.6}.m-title b{font-weight:600}.nav-section>.m-card:not([data-i]){border:0;border-top:1px solid #393d41;border-radius:0;background:transparent;box-shadow:none;padding:20px 0}.m-top{gap:12px}.field input,.field select,.field textarea,textarea,select,.se-table input{background:#121619;color:#e4eaed;border:1px solid #3e464d;border-radius:5px;box-shadow:inset 0 2px 4px #0002;font-family:inherit}.field input:focus,.field select:focus,textarea:focus,.se-table input:focus{border-color:#90b9b0;outline:2px solid #9bc9be20;outline-offset:1px}select option{background:#20272c;color:#edf2f4}.field label{color:#a9b3ba;font-size:11px;margin-bottom:7px}.field input[type=date]{min-width:155px}.m-schedule-controls .field{min-width:0}.m-schedule-controls .field input,.m-schedule-controls .field select{width:100%!important;max-width:100%;height:36px}.m-schedule-controls{grid-template-columns:120px 94px minmax(160px,.8fr) minmax(185px,1fr) minmax(185px,1fr) auto!important}.m-schedule-controls .field label{text-align:center}.m-schedule-controls input,.m-schedule-controls select{text-align:center}.m-schedule-execution{grid-column:1/-1!important;color:#849198}.save-state{font-size:11px}.m-schedule-top{grid-template-columns:minmax(230px,.8fr) minmax(0,1.5fr)}
.weekend-match-day{background:#20262a;border-color:#3a444b;border-radius:6px}.weekend-match-option{background:#161c20;border-color:#3c454b;border-radius:4px}.weekend-match-option:has(input:checked){color:#cbe2da;background:#34463f;border-color:#77948a}.tab-bar{gap:5px;padding:4px;background:#1d2327;border:1px solid #363f45;border-radius:6px;width:fit-content;max-width:100%;flex-wrap:wrap}.tab-btn{border:0;border-radius:4px;font-size:12px;min-height:32px}.tab-btn.active{background:#3a454c;color:#eef6fa;box-shadow:0 2px 4px #0004}.rev-card,.room-card,.badge-edit-row,.zap-table-wrap{background:#1b2023;border-color:#3b4349;border-radius:7px;box-shadow:inset 0 1px #ffffff05}.room-card-grid{gap:16px}.room-seat{background:#15191c;border-color:#374047;border-radius:5px}.solo-pool-item{background:#1a2024;border-color:#38434a;border-radius:5px}.rev-st,.rev-badge{border-radius:4px}.zap-table th,.se-table th{background:#242b30;color:#b7c3cb}.zap-table td,.zap-table th{border-color:#363f45}.zap-kpi{background:#1c2327;border-color:#3e494f;border-radius:6px}.zap-kpi.hot{border-color:#6b8174}.draw-slot{background:#1e2529;border-color:#444e54;border-radius:6px}.draw-slot.next{border-color:#b598ae;box-shadow:0 0 0 1px #b598ae22}.draw-slot.done{background:#30362a;border-color:#938455}.draw-teams textarea{background:#14191d}
.login-card{background:#1b1f23;border-color:#44474d;border-radius:8px;box-shadow:0 25px 70px #0008}.se-box,.ocr-box,.todo-box,.poster-box,.room-action-modal__panel,.td-box{background:#1c2226!important;border-color:#465158!important;border-radius:8px!important;box-shadow:0 30px 90px #0009}.se-modal,.ocr-modal,.todo-modal,.poster-modal,.room-action-modal{backdrop-filter:blur(6px);background:#080d13aa}.se-box{max-width:min(1120px,96vw);width:1120px}.se-table-wrap{overflow-x:auto}.se-table{min-width:850px}.se-pool{background:#151c20;border-color:#3e494f}.room-action-modal__select{background:#151d22;border-color:#4b5b65}.room-action-modal__body{line-height:1.9}.console-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:13px;min-height:135px;padding:20px;color:#97a5ad;font-size:12px;line-height:1.7;text-align:center}.console-empty>.lucide{width:26px;height:26px;color:var(--cyan)}.console-empty b{color:#c9d3d9}.console-team-logo{position:relative;width:94px;height:94px;margin:0 auto 17px;display:grid;place-items:center;font-size:33px;color:#c5dcd1;background:#1c232640;border-radius:7px}.console-team-logo img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#161b1f;filter:drop-shadow(0 7px 10px #0006)}.console-team-logo:has(img)>span{visibility:hidden}.stage-content>.console-empty{grid-row:1/-1}.pulse .module-meta{max-width:130px;overflow:hidden;text-overflow:ellipsis}.flow-node{min-width:26px;width:auto;padding:0 4px;white-space:nowrap;font-size:10px}.flow-track{gap:4px}.command-grid{margin-top:24px}.telemetry{margin-top:6px}.telemetry strong{overflow-wrap:anywhere}.feed-row .small-button{font-size:10px}.console-drawer-backdrop{position:fixed;inset:0;background:#080c1090;backdrop-filter:blur(5px);z-index:150}.console-drawer{margin-left:auto;width:min(465px,100%);height:100dvh;padding:35px;overflow-y:auto;background:#1b2024;border-left:1px solid #4a565f;box-shadow:-30px 0 80px #0005}.console-close{display:flex;margin:0 0 30px auto}.console-drawer h2{font-size:23px;font-weight:550;line-height:1.6;margin:20px 0;overflow-wrap:anywhere}.console-vs{display:block;font-size:11px;color:#88999f;margin:9px 0}.drawer-details b{max-width:70%;overflow-wrap:anywhere;text-align:right}.drawer-actions .btn{white-space:normal}.refreshing .lucide{animation:turn .8s linear infinite}
@media(min-width:1650px){#panel{padding:38px 44px 45px 254px}.command-grid{grid-template-columns:minmax(250px,1fr) minmax(440px,1.7fr) minmax(245px,1fr)}}
@media(max-width:1350px){.m-schedule-controls{grid-template-columns:repeat(3,minmax(0,1fr))!important}.m-schedule-controls .save-state{grid-column:auto}.command-grid{grid-template-columns:minmax(230px,.8fr) minmax(340px,1.4fr)}.pulse{grid-column:1/-1}.pulse-wrap{display:grid;grid-template-columns:1fr 1fr;gap:24px}.feed{grid-column:1/-1}.priority{grid-row:auto}.head{align-items:flex-start}.head .toolbar{justify-content:flex-end}.head .toolbar .btn{font-size:10px}}
@media(max-width:1000px){#panel{padding:24px 22px 35px 202px}.side-nav{width:180px;padding:22px 10px}#panel::before{left:180px}.nav-item{font-size:11px;padding:8px}.head{display:block}.head .toolbar{justify-content:flex-start;margin-top:14px}.command-grid{grid-template-columns:minmax(0,1fr)}.stage{grid-row:1}.priority,.feed,.pulse{grid-column:auto}.pulse-wrap{display:block}.m-schedule-top{grid-template-columns:1fr}.m-title{font-size:13px}}
@media(max-width:790px){#panel{padding:0 16px 30px}#panel::before{left:0;top:70px}.side-nav{position:sticky;top:0;width:calc(100% + 32px);max-height:none;height:auto;display:flex;overflow-x:auto;gap:5px;margin:0 -16px 22px;padding:10px 12px;border-bottom:1px solid #383d42;scrollbar-width:none;z-index:20}.panel-layout{display:flex;flex-direction:column;gap:0}.panel-main{width:100%}.head{padding-top:22px;margin-bottom:20px}.console-rail-brand,.nav-title{display:none}.nav-item{min-width:max-content;width:auto;flex:none;margin:0;font-size:11px;padding:8px 10px}.nav-ico{width:16px}.head h1{font-size:initial}.head .arena-brand{gap:9px}.head .arena-brand-number{font-size:32px}.head .arena-brand-title{font-size:17px}.head .sub{font-size:10px}.rev-head{flex-wrap:wrap;gap:10px}.rev-head h2{font-size:17px}.m-schedule-controls{grid-template-columns:repeat(2,minmax(0,1fr))!important}.m-card{padding:15px 12px}.m-title{flex-wrap:wrap;white-space:normal}.room-card-grid{grid-template-columns:1fr}.solo-pool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.m-ctrl{max-width:100%;flex-wrap:wrap}.weekend-match-day{min-width:0;width:100%}.draw-left{max-width:100%;width:300px}.draw-right{min-width:0;width:100%}.draw-slots{grid-template-columns:1fr}.draw-layout{gap:20px}.telemetry>div{min-width:0;padding:16px 12px}.telemetry strong{font-size:25px}.telemetry .operation-state{font-size:13px}.console-team-logo{width:84px;height:84px}.feed-type{display:none}.feed-row{grid-template-columns:44px minmax(0,1fr) auto}.feed-row .small-button{padding:0 7px}.command-grid{gap:24px}.stage,.stage-content{min-height:350px}.quick-grid{grid-template-columns:1fr 1fr}.field input[type=date]{min-width:0;width:100%}.m-schedule-controls input,.m-schedule-controls select{font-size:12px}.se-top{flex-wrap:wrap}.se-top .field{max-width:100%}.se-top .field input{max-width:100%}.room-action-modal__panel{max-width:95vw}.console-drawer{padding:25px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
