*{box-sizing:border-box}html,body,#root{color:#4f5663;width:100%;min-height:100%;margin:0;font-family:Tahoma,PingFang SC,Microsoft YaHei,sans-serif}body{background:#f7f8fa;font-size:14px}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button{border:0}input,select,textarea{background:#fff;border:1px solid #dcdfe8;border-radius:3px;outline:none;padding:6px 9px;transition:border-color .15s}input::placeholder,textarea::placeholder{color:#a3abb9}input[type=checkbox],input[type=radio]{accent-color:#409eff;vertical-align:middle;cursor:pointer;width:14px;height:14px;margin:0 5px 0 0}input[type=number]{appearance:textfield;min-width:0}input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}select{appearance:none;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' stroke='%23adb4c0' fill='none'/%3E%3C/svg%3E");background-position:right 10px center;background-repeat:no-repeat;padding-right:29px}table{border-collapse:collapse;width:100%}th{font-weight:600}.btn{color:#fff;white-space:nowrap;background:#409eff;border:1px solid #0000;border-radius:3px;justify-content:center;align-items:center;gap:4px;padding:5px 11px;font-weight:600;line-height:1.35;transition:background .12s;display:inline-flex}.btn:hover:not(:disabled){filter:brightness(1.06)}.btn.primary{background:#409eff}.btn.plain{color:#878b92;background:#f4f4f5;border-color:#cfd0d6}.btn.neutral{background:#909399}.btn.danger{background:#f56c6c}.btn.success{background:#8dc66d}.btn.warning{background:#e6a23c}.btn.blue-outline{color:#409eff;background:#ecf5ff;border-color:#b3d8ff}.btn.red-outline{color:#f56c6c;background:#fef0f0;border-color:#fbc4c4}.btn.warning-outline{color:#e6a23c;background:#fdf6ec;border-color:#f5dab1}.btn.purple-outline{color:#7a5ace;background:#f8f6ff;border-color:#7a5ace}.inline-buttons{align-items:center;gap:6px;display:flex}.icon-button{color:#8792a4;background:0 0;justify-content:center;align-items:center;padding:3px;display:inline-flex}.red-text,.text-danger{color:#ff4d55!important}.blue-text{color:#1999fe!important}.green-text{color:#209447!important}.orange-text{color:#bf6b25}.teal-text{color:#58a9aa}.muted-text{color:#9ca3af}.text-danger{background:0 0;padding:2px}.subtle{color:#7a8391;background:#f3f3f4;border-radius:3px;padding:3px 9px;font-size:12px}.help{color:#8898b6;cursor:help;display:flex}.sort{color:inherit;white-space:nowrap;background:0 0;padding:0}.app-shell{height:100dvh;min-height:480px;font-size:var(--font-size,14px);display:flex;overflow:hidden}.sidebar{z-index:10;background:#fff;flex-direction:column;flex-shrink:0;width:120px;display:flex}.brand{object-fit:contain;width:100px;height:auto;margin:13px 10px;display:block}.brand-mark{display:none}.sidebar nav{flex-direction:column;gap:0;display:flex}.sidebar nav button{color:#616367;height:50px;font-weight:600;font-size:inherit;white-space:nowrap;background:#fff;align-items:center;gap:5px;padding:0 20px;display:flex;position:relative}.sidebar nav button svg{color:#7d8795}.sidebar nav button:hover{background:#f5f9ff}.sidebar nav button.active,.sidebar nav button.active svg{color:#409eff}.sidebar .logout{color:#596171;white-space:nowrap;background:#fff;align-items:center;gap:3px;margin-top:auto;padding:14px 22px;display:flex}.nav-count{color:#fff;background:#ff6868;border-radius:6px;padding:1px 3px;font-size:9px;position:absolute;top:7px;right:3px}.workspace{flex-direction:column;flex:1;min-width:0;display:flex;overflow:hidden}.status-header{z-index:20;color:#656565;background:#f7f8fa;justify-content:space-between;align-items:center;gap:20px;height:40px;min-height:40px;padding:0 10px 0 8px;display:flex;position:relative}.announcement{white-space:nowrap;text-overflow:ellipsis;font-size:14px;font-weight:600;overflow:hidden}.status-header>div{flex-shrink:0;align-items:center;gap:8px;display:flex}.status-header.has-forecast{gap:10px}.connection-refresh,.connection{color:#2b87e7;background:#ecf5ff;border:1px solid #b3d8ff;border-radius:18px;align-items:center;gap:5px;padding:4px 9px;font-size:12px;font-weight:600;display:flex}.connection{color:#338d52;background:#e9f6ed;border-color:#bae5c7}.connection em{color:#88bb98;margin:0 2px;font-style:normal}.connection.disconnected{color:#ef6262;background:#fef0f0;border-color:#fbc4c4}.page-content{flex:1;min-height:0;overflow:hidden}.tabs{background:linear-gradient(#f6fbff,#edf6fe);flex-shrink:0;align-items:stretch;display:flex}.tabs>button{color:#4f5767;white-space:nowrap;background:0 0;padding:9px 20px;font-size:16px;line-height:1.25}.tabs>button.active{color:#fff;background:#1999fe}.tabs.underline{background:#fff;border-bottom:1px solid #edf0f5}.tabs.underline>button{color:#4f5663;background:0 0;padding:8px 18px;font-size:14px;position:relative}.tabs.underline>button.active:after{content:"";background:#1999fe;border-radius:2px;height:4px;position:absolute;bottom:0;left:10px;right:10px}.game-header{background:linear-gradient(#f6fbff,#e4f3ff);flex-wrap:wrap;flex-shrink:0;justify-content:space-between;align-items:flex-start;gap:16px;min-height:54px;padding:10px 10px 7px;display:flex}.game-tools{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.game-selector{gap:6px;display:flex}.game{white-space:nowrap;background:0 0;border:1px solid;border-radius:3px;align-items:center;gap:5px;padding:7px 10px;font-size:14px;font-weight:500;line-height:1.2;display:flex}.game-0{color:#cf662e;background:#fff4ec;border-color:#f8ba91}.game-1{color:#309271;background:#effaf3;border-color:#b0dcca}.game-2{color:#377cba;background:#f1f7ff;border-color:#b6d2ef}.game-0.chosen{color:#fff;background:#f38443;border-color:#f67e35;box-shadow:0 3px 6px #e8873a25}.game-1.chosen{color:#fff;background:#429775;border-color:#429775}.game-2.chosen{color:#fff;background:#409eff;border-color:#409eff}.flag{text-align:center;background:#ffffff35;width:15px;font-size:9px}.period{color:#fff;background:#1999fe url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0h10L5 6z' fill='white'/%3E%3C/svg%3E") right 8px center no-repeat;border-color:#c6d7ec;border-radius:3px;width:152px;height:33px;padding:7px 25px 7px 10px;font-size:14px}.period option{color:#4f5663;background:#fff}.draw-display{flex-shrink:0;align-items:center;gap:8px;margin-top:-4px;display:flex}.draw-logo{color:#fff;background:#e92225;border-radius:50%;flex-direction:column;flex-shrink:0;justify-content:center;align-items:center;width:49px;height:49px;font-size:11px;font-weight:700;line-height:1.05;display:flex}.draw-logo strong{border-bottom:1px solid #fff;font-size:15px}.draw-logo small{font-size:7px}.draw-1{background:#34a774}.draw-2{background:#418cd8}.draw-desc{white-space:nowrap;font-size:14px}.draw-desc small{margin-top:4px;font-size:13px;display:block}.draw-balls{gap:5px;display:flex}.draw-balls>div{flex-direction:column;align-items:center;padding:0 1px;display:flex}.draw-balls .ball{width:30px;height:30px;font-size:17px}.draw-balls>div.is-entering .ball{animation:.56s cubic-bezier(.18,.85,.32,1.25) both draw-ball-reveal}@keyframes draw-ball-reveal{0%{opacity:.25;transform:translateY(9px)scale(.55)}to{opacity:1;transform:translateY(0)scale(1)}}.draw-balls small{color:#999;font-size:12px;line-height:16px}.draw-balls .special{background:#ffefda;border:1px solid #ff4c57;border-radius:2px;padding:0 4px}.number-label{white-space:nowrap;align-items:center;gap:2px;line-height:1;display:inline-flex}.number-label.red{color:red}.number-label.blue{color:#045cff}.number-label.green{color:#069718}.number-label.muted{color:#888}.ball{width:23px;height:23px;font-size:13px}.number-label>span+span{font-size:15px}.entry-layout{gap:36px;height:100%;padding-left:38px;display:flex}.entry-main{flex-direction:column;flex:1;min-width:0;display:flex;position:relative}.entry-main .game-header{min-height:55px;padding-bottom:3px;padding-left:10px}.entry-header .draw-desc{font-size:13px}.entry-header .draw-desc small{font-size:12px}.entry-header .game{padding-left:8px;padding-right:8px}.entry-header .game-selector{gap:6px}.entry-header .period{margin-left:1px}.entry-header .draw-display{gap:5px}.mode-tabs{background:#e6f3ff;gap:16px;height:28px;padding-left:18px}.mode-tabs>button{color:#fff;background:#8b9ebd;border-radius:8px 8px 0 0;height:34px;margin-top:-6px;padding:7px 20px 6px;font-size:14px;font-weight:600;position:relative}.mode-tabs>button.active{color:#409eff;background:#fff}.play-group-tabs{height:34px}.play-group-tabs>button{min-width:64px}.play-options{color:#636970;background:#f6f7ff;flex-wrap:wrap;flex-shrink:0;align-items:center;gap:36px;height:34px;padding:4px 40px;display:flex;overflow:auto}.play-options label{white-space:nowrap}.play-options input:checked+span{color:#409eff}.manual-workspace{background:#fff;border:1px solid #e5eaf3;border-radius:4px;flex:1;gap:4px;min-height:100px;padding:4px 4px 0;display:flex;overflow:hidden}.number-grid{flex:1;grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;gap:4px;min-width:0;display:grid;overflow:visible}.number-column{--number-fields:44px minmax(124px, 1fr) minmax(80px, .75fr);min-width:0}.number-column-head,.number-row{grid-template-columns:var(--number-fields);gap:4px;padding-inline:4px;display:grid}.number-column-head{color:#8c9aba;text-align:center;border-bottom:1px solid #eef1f7;align-items:center;height:19px;margin-bottom:4px;font-size:11px}.number-column-head span:first-child{text-align:left}.number-column-head span:last-child{text-align:right}.number-row{background:#f6f7ff;border-radius:5px;align-items:center;height:auto;min-height:36px;margin-bottom:4px;padding:3px 4px}.number-row.selected{background:#e0f0ff;box-shadow:inset 0 0 0 1px #8cc7ff}.number-select{background:0 0;flex-shrink:0;align-items:center;gap:4px;min-width:43px;padding:0;display:flex}.number-select>span:last-child{font-size:14px}.amount-input{color:#ff7b7b;border-color:#dfe6f3;width:100%;min-width:0;height:25px;padding:2px 4px;font-size:16px}.amount-input::placeholder{color:#ffa6a6}.number-summary{text-align:right;color:#aaa;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;width:auto;min-width:0;max-width:100%;font-size:12px;line-height:1.35}.quick-attributes{background:#fff;border:1px solid #e4eaf4;border-radius:4px;flex-shrink:0;width:255px;padding:4px 6px;overflow:auto}.chip-row{gap:5px;margin-bottom:5px;display:flex}.attribute-chip{color:#505b6b;white-space:nowrap;background:#eef0f4;border-radius:20px;flex:1;padding:5px 0;font-size:13px;line-height:16px}.attribute-chip:hover,.attribute-chip.selected{color:#1999fe;background:#dceeff}.row-0{flex-wrap:wrap;gap:6px}.row-0 .attribute-chip{flex:0 0 calc(16.6667% - 5px)}.amount-tools{flex-wrap:wrap;align-items:center;gap:6px;margin-top:10px;display:flex;position:relative}.amount-tools .quick-amount{color:#409eff;background:#f0f6ff;border:1px solid #c6ddff;border-radius:3px;align-items:center;gap:3px;padding:4px 5px;font-size:12px;display:flex}.amount-tools>input{width:calc(100% - 90px);height:25px;padding:4px;font-size:12px}.amount-tools>.btn{flex:1}.quick-popover{z-index:5;background:#fff;border:1px solid #d5e1f3;grid-template-columns:repeat(2,1fr);gap:4px;width:160px;padding:6px;display:grid;position:absolute;bottom:36px;left:0;box-shadow:0 4px 20px #273f7a20}.quick-popover button{color:#1999fe;background:#ecf5ff;padding:6px}.order-draft{background:#fff;border:1px solid #e8ecf4;border-radius:4px;gap:8px;height:140px;min-height:140px;padding:5px;display:flex;position:relative}.draft-table{border:1px solid #e2e8f3;border-radius:3px;flex:1;min-width:0;padding:5px;overflow:auto}.draft-table table{font-size:12px}.draft-table th{background:#f4f4f6;border-top:1px solid #e2e2e6;border-bottom:1px solid #e2e2e6;height:30px}.draft-table td{text-align:center;white-space:nowrap;border-bottom:1px solid #edf0f5;padding:5px}.draft-table td:nth-child(3){white-space:normal;max-width:180px}.empty{color:#999;flex:1;justify-content:center;align-items:center;min-height:65px;font-size:13px;display:flex}.draft-submit{border:1px solid #e1e7f0;border-radius:3px;width:320px;padding:5px 6px}.draft-submit>label{white-space:nowrap;align-items:center;gap:5px;display:flex}.draft-submit select{background-color:#f6f7fa;width:160px;height:33px;font-size:16px}.draft-lower{gap:7px;margin-top:7px;display:flex}.draft-lower textarea{resize:none;width:52%;min-height:77px;padding:6px;font-size:12px}.draft-lower>div{flex:1}.draft-lower p{margin:0 0 16px;font-size:13px;line-height:1.4}.draft-actions{gap:5px;display:flex}.draft-actions .btn{padding:4px 6px;font-size:11px}.profit-panel{background:#fff;flex-direction:column;flex-shrink:0;width:300px;min-height:0;display:flex;position:relative}.profit-panel .tabs>button{width:50%;padding:7px;font-size:16px}.profit-panel .tabs.underline>button{background:#f6f7fd;padding:8px 3px;font-size:16px;font-weight:500}.profit-panel .tabs.underline>button.active:after{left:44px;right:44px}.profit-toolbar{align-items:center;gap:8px;height:33px;min-height:33px;padding:4px 10px;font-size:16px;display:flex}.profit-toolbar .subtle{margin-left:auto}.profit-table-scroll{flex:1;overflow:auto}.profit-table{font-size:15px}.profit-table thead{z-index:1;background:#f6f7fe;position:sticky;top:0}.profit-table th{color:#8a99b8;height:30px;font-weight:500}.profit-table th:first-child{width:24px}.profit-table td{text-align:center;color:#aaa;border-bottom:1px solid #e6e6e6;height:30px;padding:3px}.profit-table td:first-child{color:#8c9dbf;font-size:14px}.profit-table th+th{border-left:1px solid #e2e5ed}.profit-table td:nth-child(2){text-align:left;width:75px;padding-left:5px}.profit-table .number-label .ball{width:21px;height:21px;font-size:12px}.profit-table .number-label>span+span{font-size:15px}.collapse-profit{color:#fff;z-index:2;background:#8b9ebd;border-radius:4px 0 0 4px;width:20px;height:68px;padding:0;position:absolute;top:34px;left:-20px}.profit-collapsed{background:#f6f8fc;flex-shrink:0;width:28px}.profit-collapsed>button{color:#fff;background:#8b9ebd;height:60px;padding:3px}.selection-board{background:#f9faff;flex-direction:column;flex:1;min-width:0;padding:12px;display:flex;overflow:auto}.selection-hint{color:#8c9cb8;margin-bottom:10px;font-size:12px}.selection-tiles{flex:1;grid-template-columns:repeat(6,minmax(50px,1fr));align-content:start;gap:10px;display:grid}.selection-tiles.many{grid-template-columns:repeat(8,minmax(40px,1fr));gap:7px}.selection-tiles>button{background:#fff;border:1px solid #dde6f2;border-radius:5px;height:58px;font-size:18px;position:relative}.selection-tiles.many>button{height:44px;font-size:14px}.selection-tiles>button.selected{color:#1999fe;background:#ecf5ff;border-color:#409eff}.tile-check{color:#409eff;font-size:13px;position:absolute;bottom:2px;right:5px}.selection-footer{flex-wrap:wrap;align-items:center;gap:7px;margin-top:10px;display:flex}.selection-footer>input{width:130px}.recognition{background:#fff;flex-direction:column;flex:1;min-height:0;display:flex}.recognition-table{border:1px solid #e8ebf4;height:112px;min-height:95px;position:relative;overflow:auto}.recognition-table th{color:#95999f;background:#f0f0f0;height:30px;font-size:12px;position:sticky;top:0}.recognition-table td{text-align:center;border-bottom:1px solid #edf0f5;padding:5px;font-size:12px}.recognition-empty{color:#9ca9c1;flex-direction:column;align-items:center;gap:9px;height:79px;padding-top:16px;font-size:13px;display:flex;overflow:hidden}.recognition-empty img{opacity:.35;width:160px}.recognition-options{flex-shrink:0;align-items:center;gap:7px;padding:6px 4px;font-size:12px;display:flex}.region-label{color:#409eff;background:#ecf5ff;border:1px solid #b3d8ff;border-radius:3px;padding:5px 9px}.region-0{color:#cf6f37;background:#fff5ef;border-color:#f9bea1}.region-1{color:#268e63;background:#effaf4;border-color:#a8d6c3}.segmented{display:inline-flex}.segmented button{white-space:nowrap;background:#fff;border:1px solid #d9dde6;padding:5px 8px}.segmented button+button{border-left:0}.segmented button:first-child{border-radius:3px 0 0 3px}.segmented button:last-child{border-radius:0 3px 3px 0}.segmented button.active{color:#fff;background:#8d929c;border-color:#8d929c}.recognition-options>.segmented button{padding:5px 7px;font-size:12px}.recognition-customer{white-space:nowrap;align-items:center;gap:4px;margin-left:auto;display:flex}.recognition-customer select{background-color:#f7f8fb;width:158px;font-size:16px}.recognition-toolbar{flex-wrap:wrap;align-items:center;gap:7px;padding:0 4px 5px;font-size:12px;display:flex}.recognition-toolbar label{white-space:nowrap;font-weight:600}.recognition-toolbar .btn{padding:4px 7px;font-size:12px}.settings-square{color:#2b87e7;background:#ecf5ff;border:1px solid #b3d8ff;border-radius:3px;justify-content:center;align-items:center;width:29px;height:29px;display:flex}.recognition-editor{flex:1;gap:9px;min-height:100px;padding:0 4px;display:flex}.source-editor,.recognition-preview{border:1px solid #dfe7f4;border-radius:3px;flex-direction:column;width:50%;min-width:0;display:flex;overflow:hidden}.source-editor{border-color:#5b7;box-shadow:0 0 0 2px #4dbd6620}.source-editor textarea{resize:none;border:0;border-radius:0;flex:1;width:100%;padding:8px;font-size:13px}.source-editor footer{color:#34a265;border-top:1px solid #5abd7d;align-items:center;height:25px;padding:3px 6px;font-size:12px;font-weight:600;display:flex}.copy-dot{background:#26a061;border-radius:50%;width:7px;height:7px;margin-right:6px;box-shadow:0 0 0 3px #e3f4e9}.recognition-preview{background:#fff}.preview-scroll{flex-direction:column;flex:1;min-height:0;display:flex;overflow:auto}.preview-placeholder{color:#96a3b8;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:9px;min-height:100px;font-size:12px;display:flex}.preview-placeholder svg{color:#8fb8e2;background:#edf5ff;border:1px solid #d3e5ff;border-radius:10px;width:35px;height:35px;padding:6px}.preview-placeholder strong{color:#718096;font-size:13px}.recognition-preview footer{color:#8a95a9;background:#fff;border-top:1px solid #e5eaf3;justify-content:space-between;align-items:center;gap:5px;height:39px;min-height:39px;padding:4px 6px;font-size:11px;display:flex}.recognition-preview footer>div{gap:5px;display:flex}.recognition-preview footer .btn{padding:5px;font-size:12px}.source-recognition-count{color:#5a6576;white-space:nowrap;background:#fff;border:1px solid #d7e1ef;border-radius:4px;margin-left:auto;padding:5px 9px}.source-recognition-count b{color:#8565d3}.recognition-result-group{padding:5px 10px}.recognition-result-group:first-child{padding-top:9px}.recognition-result-row{color:#294566;overflow-wrap:anywhere;font-size:13px;line-height:1.85}.recognition-result-row+.recognition-result-row{margin-top:4px}.recognition-result-region,.recognition-result-values{color:#405cff}.recognition-result-play{color:#21a14b}.recognition-result-selection,.recognition-result-unit,.recognition-result-count,.recognition-result-total{white-space:nowrap}.recognition-result-selection-long{white-space:normal;overflow-wrap:anywhere}.recognition-result-unit,.recognition-result-count,.recognition-result-total{display:inline-block}.recognition-result-count,.recognition-result-total{color:#796c59}.recognition-result-omitted{color:#7a879a;font-size:12px}.recognition-result-row small,.recognition-result-mode{margin-top:3px;font-size:11px;line-height:1.55;display:block}.recognition-result-mode{color:#7a879a}.recognition-preview footer{height:auto;min-height:48px}.recognition-result-summary{color:#294566;min-width:0}.recognition-result-grand-total{font-size:13px;line-height:1.6;display:block}.recognition-result-summary>small{color:#8a95a9;font-size:10px;display:block}.parse-error{color:#e96565;background:#fff1f0;border:1px solid #ffd1ce;margin:5px;padding:8px;font-size:12px}.parse-error small{margin-top:5px;display:block}.recognition-result-error-row.parse-error{color:#294566;background:0 0;border:0;margin:4px 0 0;padding:0;font-size:13px}.recognition-result-extra,.recognition-result-error-message{color:#f04444}.recognition-result-error-message{font-weight:600;display:inline}.completion-keys{flex-wrap:wrap;align-items:center;gap:6px;max-height:100px;padding:5px 10px;font-size:11px;display:flex;overflow:auto}.completion-keys button{color:#1999fe;background:#fff;border:1px solid #409eff;border-radius:2px;padding:1px 4px;font-size:11px}.completion-keys>b{font-size:12px}.completion-keys .completion-expand{border:0;align-items:center;margin-left:auto;display:flex}.orders-page{background:#fff;flex-direction:column;height:100%;display:flex}.orders-page>.game-header{min-height:52px}.orders-page .game-tools{gap:6px}.single-tab{color:#1999fe;background:#e7f4ff;align-items:center;width:100%;min-height:30px;padding-left:35px;font-weight:600;display:inline-flex}.orders-filter{flex-wrap:wrap;align-items:center;gap:6px;padding:11px 7px;font-size:12px;display:flex}.orders-filter label{white-space:nowrap;align-items:center;gap:5px;margin-right:8px;display:flex}.orders-filter select{width:129px;padding:5px 25px 5px 8px;font-size:12px}.orders-filter .btn{font-size:12px}.columns-button{margin-left:auto}.orders-table-container{border:1px solid #cdd9e9;flex-direction:column;flex:1;min-height:0;display:flex;position:relative;overflow:auto}.orders-table{width:max-content;min-width:100%;font-size:12px}.orders-table th{color:#949a9f;white-space:nowrap;background:#e5f3ff;border:1px solid #cbd7e5;padding:10px 8px;font-weight:600}.orders-table thead{z-index:2;position:sticky;top:0}.orders-table th:nth-child(4){min-width:185px}.orders-table td{text-align:center;white-space:nowrap;border:1px solid #e4e9f0;max-width:240px;padding:8px}.orders-table .empty{height:100%}.orders-table-container>.empty{min-height:200px}.orders-table .check-cell{width:30px;min-width:30px}.source-cell{white-space:normal;max-width:175px;max-height:44px;display:inline-block;overflow:hidden}.order-item{white-space:normal;text-align:left;min-width:120px;font-size:12px;line-height:1.6}.order-item b{color:#778fb2;font-weight:500}.order-item small{color:#969aa1}.table-actions{min-width:95px}.table-actions button{color:#409eff;background:0 0;padding:3px;font-size:12px}.tag{white-space:nowrap;border:1px solid;border-radius:3px;padding:2px 5px;font-size:11px;display:inline-block}.tag.warning{color:#ce912a;background:#fff9ec;border-color:#f3ddb0}.tag.success{color:#49a456;background:#eff9ed;border-color:#b9dfb3}.transfer-status{color:#7ca7d7;margin-top:5px;display:block}.order-summary{color:#8999b2;background:#f9fbff;border-top:1px solid #eaf0f7;justify-content:flex-end;gap:26px;padding:7px 14px;font-size:12px;display:flex}.orders-footer{color:#a4afbf;justify-content:space-between;align-items:center;gap:6px;height:47px;min-height:47px;padding:8px 7px;font-size:12px;display:flex}.orders-footer>div{gap:6px;display:flex}.orders-footer .btn{padding:7px 12px;font-size:12px}.orders-footer>label{white-space:nowrap}.center-page{background:#fff;width:min(900px,100% - 60px);height:100%;margin:0 auto;overflow:auto}.members-page .tabs>button{padding:7px 20px}.odds-notice{color:#8496b9;justify-content:space-between;align-items:center;gap:12px;padding:10px;font-size:12px;line-height:1.4;display:flex}.odds-notice b{color:#555;font-weight:600}.odds-notice .btn{padding:4px 10px;font-size:12px}.odds-notice>div:last-child{flex-shrink:0}.odds-table{table-layout:fixed;color:#8396b9;font-size:14px}.odds-table th{background:#f3f6fa;height:39px;font-size:15px}.odds-table td{text-align:center;border-bottom:1px solid #e3e3e3;height:41px;padding:6px 10px}.odds-table td:first-child,.odds-table td:nth-child(4){text-align:right;white-space:nowrap}.odds-table th:first-child,.odds-table th:nth-child(4){width:12%}.stepper{color:#676b72;background:#f5f7fc;border:1px solid #dcdfe8;border-radius:3px;max-width:140px;height:24px;margin:auto;display:flex;overflow:hidden}.stepper>button{color:#909399;background:#f5f7fc;width:24px;min-width:24px;padding:0;font-size:14px}.stepper>input{text-align:center;width:100%;min-width:0;color:inherit;border:0;border-left:1px solid #dcdfe8;border-right:1px solid #dcdfe8;border-radius:0;padding:0 3px}.stepper.changed-rate{color:#1999fe}.stepper.changed-rebate{color:#ff565b}.member-management{min-height:calc(100% - 35px);padding:10px}.member-filter{flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:10px;font-size:12px;display:flex}.member-filter label{white-space:nowrap;align-items:center;gap:5px;display:flex}.member-filter input{width:148px;padding:5px 7px}.member-add{gap:6px;margin-left:auto;display:flex}.member-filter .btn{font-size:12px}.standard-table{table-layout:auto;font-size:12px}.standard-table th{color:#8395b9;white-space:nowrap;background:#f5f7fb;border:1px solid #e7ecf5;padding:8px;font-weight:600}.standard-table td{text-align:center;color:#6d7075;border:1px solid #e7ecf5;padding:8px}.standard-table .inline-buttons{justify-content:center}.standard-table .btn{padding:4px 10px;font-size:12px}.member-management .standard-table th:first-child{width:20%}.settings-page{background:0 0;margin-top:0;padding:10px}.settings-card{background:#fff;border:1px solid #eceff3;border-radius:3px;margin-bottom:10px;overflow:hidden}.settings-card>h3{color:#8294b8;background:linear-gradient(#f6fcff,#edf7ff);border-left:4px solid #1999fe;margin:0;padding:12px 14px;font-size:16px;font-weight:600}.account-info{gap:20px;padding:20px;display:flex}.avatar{color:#adb0b2;background:#f7f8fa;border:1px solid #e4e5e9;border-radius:50%;justify-content:center;align-items:center;width:60px;height:60px;display:flex}.account-info p{align-items:center;gap:10px;margin:4px 0 16px;font-size:15px;line-height:1.2;display:flex}.account-info label{color:#8396b9;white-space:nowrap;font-size:13px}.account-key{align-items:center;gap:10px;margin-bottom:16px;display:flex}.account-key>div{border:1px solid #dce1e9;border-radius:3px;display:flex;overflow:hidden}.account-key input{border:0;border-radius:0;width:220px;font-size:14px}.account-key button{color:#989da6;background:#f4f6fa;border-left:1px solid #dce1e9;padding:6px 16px;font-weight:600}.settings-form{padding:20px}.setting-row{align-items:center;gap:10px;min-height:20px;margin-bottom:10px;font-size:12px;display:flex}.setting-row>label{color:#8496b9;font-size:13px}.setting-row>small{color:#8496b9;font-size:11px}.setting-row>select{width:200px;height:33px;font-size:14px}.setting-row input[type=range]{appearance:none;accent-color:#409eff;background:0 0;border:0;width:240px;height:6px;padding:0}.setting-row input[type=range]::-webkit-slider-runnable-track{background:#dfe3eb;border-radius:4px;height:6px}.setting-row input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;cursor:pointer;background:#fff;border:2px solid #409eff;border-radius:50%;width:18px;height:18px;margin-top:-6px}.switch{background:#dcdfe7;border-radius:20px;flex-shrink:0;width:40px;height:20px;padding:0;position:relative}.switch>span{background:#fff;border-radius:50%;width:16px;height:16px;transition:left .15s;position:absolute;top:2px;left:2px}.switch.on{background:#409eff}.switch.on>span{left:22px}.setting-save{align-items:center;gap:7px;margin-top:15px;margin-left:70px;font-size:12px;display:flex}.incoming-page{flex-direction:column;height:100%;display:flex}.incoming-filter{background:#fff;border-bottom:1px solid #edf0f5;flex-wrap:wrap;align-items:center;gap:16px;padding:10px 12px;font-size:13px;display:flex}.incoming-filter label{align-items:center;gap:6px;display:flex}.incoming-filter select{width:180px;height:26px;padding-top:3px;padding-bottom:3px;font-size:12px}.incoming-filter .btn{font-size:12px}.incoming-switch{align-items:center;gap:8px;margin-left:auto;display:flex}.incoming-content{background:#f8f9fb;flex-direction:column;flex:1;min-height:0;display:flex;position:relative;overflow:auto}.box-empty{flex-direction:column;justify-content:flex-start;gap:15px;height:100%;padding-top:55px;font-size:14px}.box-empty svg{width:170px;height:155px;margin-bottom:10px}.incoming-footer{color:#8195b8;background:#fff;border-top:1px solid #ecf0f6;justify-content:space-between;align-items:center;height:47px;min-height:47px;padding:10px 12px;display:flex}.incoming-footer .btn{font-size:12px}.statistics-layout{gap:6px;height:100%;padding:10px 40px;display:flex}.statistics-main{background:#fff;flex-direction:column;flex:1;min-width:0;display:flex;overflow:auto}.statistics-main .game-header{flex-wrap:wrap;min-height:52px}.statistics-main .draw-display{display:none}.statistics-main .superior-row{align-items:center;gap:8px;padding:10px 13px;font-size:14px;display:flex}.superior-row select{width:130px;height:24px;padding:2px 24px 2px 8px;font-size:12px}.superior-row .stats-caption{color:#92a4bd;margin-left:auto;font-size:11px}.stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:0 4px 6px;display:grid}.stats-number-column{background:#f6f7fa;border:1px solid #e1e7f0;border-radius:2px;padding:5px}.stats-grid-head,.stats-number-row{grid-template-columns:40px repeat(3,minmax(0,1fr));align-items:center;gap:4px;margin-bottom:4px;display:grid}.stats-grid-head{color:#8d9aae;text-align:center;height:20px;font-size:12px}.stats-number-row input{width:100%;min-width:0;height:26px;padding:3px;font-size:13px}.stats-number-row .number-label{gap:2px;font-weight:600}.stats-number-row .ball{width:21px;height:21px;font-size:11px}.stats-number-row .number-label>span+span{font-size:13px}.stats-number-row input[readonly]{color:#a4a6ae;background:#fff}.stats-controls{border-top:1px solid #e4eaf3;padding:10px;font-size:12px}.stats-metrics,.stats-inputs,.stats-actions{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:10px;display:flex}.stats-metrics>span{color:#8196b8;min-width:130px}.stats-metrics b{color:#636a78;font-weight:500}.stats-inputs input{width:90px;height:25px;font-size:12px}.stats-inputs .btn,.stats-actions .btn{font-size:12px}.stats-text{color:#8393ad;word-break:break-all;border:1px solid #e8edf4;padding:7px;line-height:1.5}.stats-text p{margin:3px}.stats-profit{border:1px solid #e2e8f3;border-radius:3px;width:350px;overflow:visible}.stats-profit .collapse-profit{display:none}.stats-profit .tabs>button{font-size:16px}.stats-profit .profit-toolbar{height:30px;font-size:12px}.stats-profit .profit-table{font-size:14px}.stats-profit .profit-table th:nth-child(2){width:62px}.stats-profit .profit-table td{height:33px}.modal-shade{z-index:100;background:#0008;justify-content:center;align-items:center;padding:30px;animation:.12s fade-in;display:flex;position:fixed;inset:0}.modal{background:#fff;border-radius:4px;flex-direction:column;width:480px;min-width:0;max-height:calc(100dvh - 60px);display:flex;box-shadow:0 12px 40px #0002}.modal.wide{width:900px}.modal>header{flex-shrink:0;justify-content:space-between;align-items:center;gap:10px;padding:15px 16px 10px;display:flex}.modal>header h3{margin:0;font-size:16px;font-weight:500}.modal>header>div{align-items:center;gap:6px;display:flex}.modal>header .btn{font-size:12px}.modal>header .icon-button{margin-left:4px}.modal-body{min-height:0;padding:10px 16px 16px;overflow:auto}.modal-body .form-field{margin-bottom:12px}.form-field{align-items:center;gap:10px;font-size:13px;display:flex}.form-field label{white-space:nowrap;color:#8496b9;text-align:right;min-width:70px}.form-field input,.form-field select{flex:1;min-width:0;height:32px;font-size:13px}.member-form{grid-template-columns:1fr 1fr;gap:0 42px;padding:0 8px;display:grid}.member-form .form-field:first-child,.member-form .key-field{grid-column:1/-1}.member-form .segmented>button{padding:6px 15px;font-size:13px}.member-form .form-field{margin-bottom:12px}.member-form .form-field input{height:32px}.modal-body .odds-notice{padding:10px 7px 12px}.modal-body .odds-table{font-size:13px}.modal-body .odds-table td{height:40px}.modal-body .odds-table th{font-size:14px}.confirm-message{margin:5px 0 25px;font-size:14px;line-height:1.6}.dialog-actions{justify-content:flex-end;gap:7px;display:flex}.draw-form{justify-content:space-between;gap:8px;margin:18px 0;display:flex}.draw-form label{color:#8496b9;text-align:center;flex-direction:column;flex:1;gap:5px;min-width:0;font-size:12px;display:flex}.draw-form label:last-child{color:#ff6b60}.draw-form input{text-align:center;width:100%;height:38px;font-size:16px}.draw-paste{align-items:center;gap:7px;font-size:12px;display:flex}.draw-paste input{flex:1;min-width:0;font-size:12px}.modal-hint{color:#8899b6;font-size:12px;line-height:1.6}.inline-alert{color:#b9792b;background:#fff4ee;border:1px solid #f9d3b5;border-radius:3px;padding:10px;font-size:12px;line-height:1.7}.column-choices{grid-template-columns:repeat(3,1fr);gap:15px;font-size:12px;display:grid}.detail-meta{color:#8797b3;flex-wrap:wrap;gap:25px;margin-bottom:15px;font-size:12px;display:flex}.detail-source{color:#69798b;white-space:pre-wrap;background:#f8faff;padding:10px;font-size:12px}.toast{z-index:200;color:#67a541;background:#f0f9eb;border:1px solid #c2e7b0;border-radius:4px;align-items:center;gap:8px;max-width:80%;padding:10px 16px;font-size:13px;animation:.18s toast-in;display:flex;position:fixed;top:18px;left:50%;transform:translate(-50%);box-shadow:0 3px 12px #1c31460b}.toast.error{color:#e75c5c;background:#fef0f0;border-color:#f9c7c7}.loading-screen{color:#87a5c5;flex-direction:column;justify-content:center;align-items:center;gap:10px;height:100dvh;display:flex}.loading-screen img{width:140px}.login-page{color:#172034;background:radial-gradient(at 19% 20%,#c6e3ff70,#0000 43%),radial-gradient(at 80% 27%,#d0e7ffab,#0000 40%),radial-gradient(at 8% 80%,#d8e1fc8a,#0000 27%),linear-gradient(110deg,#f5faff,#edf5ff 60%,#f8fafc);min-height:100dvh;position:relative;overflow:auto}.login-page:before{content:"";pointer-events:none;background-image:linear-gradient(#9fc6f706 1px,#0000 1px),linear-gradient(90deg,#9fc6f70b 1px,#0000 1px);background-size:48px 48px;position:absolute;inset:0}.login-layout{justify-content:center;align-items:center;width:500px;max-width:calc(100% - 32px);min-height:100dvh;margin:auto;padding:32px 0;display:flex;position:relative}.login-page-entry .login-layout{width:660px}.login-card{background:#fffe;border:1px solid #0000;border-color:#7bb6ff #0000 #0000 #7bb6ff;border-radius:19px;width:100%;padding:12px;position:relative;overflow:hidden;box-shadow:0 20px 60px #2366a444}.login-card:before{content:"";background:linear-gradient(90deg,#299fff,#64c0ff,#076ed5);border-radius:0 0 4px 4px;height:4px;position:absolute;top:0;left:22px;right:22px}.login-card-inner{text-align:center;background:linear-gradient(#f4f9ff90,#fff 15% 86%,#f4f9ff80);border:1px solid #e1e9f7;border-radius:14px;padding:38px 38px 24px}.login-logo{object-fit:contain;width:220px;max-width:100%;height:auto}.login-card h2{color:#141d30;margin:20px 0 6px;font-size:28px;font-weight:650;line-height:1.3}.login-caption{color:#788aa3;margin:0 0 24px;font-size:15px;font-weight:500}.login-entry-card .login-card-inner{background:linear-gradient(145deg,#f7fbff 0%,#edf7ff 100%);border-color:#cfe5ff;border-radius:22px;padding:46px clamp(28px,8vw,80px) 28px}.login-entry-card{background:#ffffffd9;border:1px solid #fff;border-radius:28px;box-shadow:0 22px 52px #437bbb26}.login-page-entry .login-card{max-width:620px}.login-entry-card:before{display:none}.login-entry-mark{background:#fff;border:1px solid #d7e8fb;border-radius:22px;place-items:center;width:74px;height:74px;margin:0 auto 26px;padding:0;display:grid;box-shadow:0 10px 25px #3978b217}.login-entry-mark img{object-fit:cover;border-radius:inherit;width:100%;height:100%;display:block}.login-entry-step{width:100%;max-width:430px;margin:0 auto}.login-entry-card .login-entry-step form{border-top:0;padding-top:0}.login-entry-input{background:#ffffffd9;height:58px;margin-bottom:22px}.login-entry-card .login-submit{letter-spacing:0;background:linear-gradient(95deg,#086be1,#53b1ff);height:58px;margin-top:0}.login-entry-back{color:#2378d3;text-align:left;background:0 0;margin:-4px 0 12px;padding:4px 0;font-size:13px;display:block}.login-entry-back:hover{text-decoration:underline}.login-card form{text-align:left;border-top:1px solid #e4ecf8;padding-top:26px}.login-card form>label{margin:5px 0 25px;display:block}.login-card label>span{margin-bottom:9px;font-size:14px;font-weight:600;display:block}.login-card label b{color:#ff6469}.login-input{background:#f7fbff;border:1px solid #cdddf2;border-radius:12px;align-items:center;gap:14px;height:58px;padding:0 17px;display:flex;box-shadow:0 8px 15px #52759606}.login-input>svg{color:#a0bddb;fill:#a0bddb30;flex-shrink:0}.login-input input{color:#314c70;background:0 0;border:0;border-radius:0;flex:1;min-width:0;height:100%;padding:0;font-size:16px}.login-input input::placeholder{color:#91a6c2;font-weight:500}.login-submit{color:#fff;letter-spacing:4px;background:linear-gradient(#299fff,#086ed4);border-top:1px solid #7dceff;border-radius:12px;width:100%;height:59px;margin-top:-3px;font-size:18px;font-weight:600;box-shadow:0 14px 26px #1c8aff3a}.login-submit:hover{filter:brightness(1.04)}.login-tip{color:#7b92ae;margin-top:17px;font-size:12px;display:block}.login-error{color:#e56c6c;margin-top:-12px;margin-bottom:12px;font-size:12px}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes toast-in{0%{opacity:0;translate:0 -8px}to{opacity:1;translate:0}}@media (width>=1600px){.entry-main .game-header{gap:25px}.profit-panel{width:320px}.quick-attributes{width:270px}.draft-submit{width:350px}.number-row{min-height:40px}.stats-profit{width:350px}}@media (width<=1400px){.entry-layout{gap:25px;padding-left:24px}.profit-panel{width:280px}.quick-attributes{width:220px}.entry-header .draw-logo{width:40px;height:40px;font-size:9px}.entry-header .draw-logo strong,.entry-header .draw-desc{font-size:12px}.entry-header .draw-desc small{font-size:11px}.entry-header .draw-balls{gap:3px}.entry-header .draw-balls .ball{width:26px;height:26px;font-size:14px}.entry-header .draw-balls small{font-size:10px}.entry-header .game{padding:7px 8px;font-size:13px}.entry-header .period{width:140px;font-size:13px}.statistics-layout{padding:10px 24px}.stats-profit{width:315px}.draft-submit{width:285px}.recognition-toolbar{gap:5px}.recognition-toolbar .btn{font-size:11px}.recognition-options{gap:5px}.recognition-options>.segmented button{padding:5px;font-size:11px}.recognition-customer select{width:130px}.orders-page .draw-desc{display:none}}@media (width<=1350px){.entry-header .draw-desc{display:none}}@media (width<=1200px){.sidebar{width:110px}.sidebar nav button{padding:0 15px;font-size:13px}.brand{width:90px}.sidebar .logout{padding:14px 15px;font-size:13px}.entry-layout{gap:17px;padding-left:12px}.profit-panel{width:245px}.entry-header .draw-desc{display:none}.quick-attributes{width:184px;padding:4px}.chip-row{gap:4px}.attribute-chip{padding:4px 0;font-size:12px}.row-0 .attribute-chip{flex-basis:calc(16.6667% - 3.33333px)}.number-select{gap:2px;min-width:38px}.number-select>span:last-child{font-size:12px}.number-summary{font-size:11px}.number-label .ball{width:21px;height:21px;font-size:12px}.amount-input{font-size:14px}.draft-submit{width:255px}.draft-submit select{width:140px}.draft-lower p{font-size:12px}.draft-actions{flex-wrap:wrap;gap:3px}.draft-actions .btn{padding:4px;font-size:10px}.stats-profit{width:270px}.statistics-layout{padding:8px 14px}.stats-grid-head,.stats-number-row{grid-template-columns:38px repeat(3,minmax(0,1fr));gap:3px}.stats-number-column{padding:3px}.recognition-customer select{width:90px;font-size:14px}.recognition-toolbar label{font-size:11px}.recognition-toolbar .btn{padding:4px}.recognition-preview footer{flex-wrap:wrap;height:58px}.orders-footer .btn{padding:7px;font-size:11px}.center-page{width:calc(100% - 40px)}}@media (width<=950px){.status-header .announcement{font-size:12px}.connection em,.connection-refresh{display:none}.sidebar{width:94px}.sidebar nav button{padding:0 8px;font-size:12px}.brand{width:78px;margin:15px 8px 20px}.sidebar .logout{padding:14px 8px;font-size:12px}.entry-layout{gap:8px;padding-left:8px}.profit-panel{width:200px}.quick-attributes{width:155px}.draw-display{display:none}.game-tools{gap:3px}.game{padding:7px 5px;font-size:12px}.period{width:132px;font-size:12px}.entry-header .game{padding:7px 4px;font-size:11px}.entry-header .period{width:125px;font-size:11px}.play-group-tabs>button{min-width:0;padding:8px 10px!important}.draft-submit{width:210px}.draft-table table{font-size:11px}.draft-lower textarea{width:42%}.profit-table,.profit-panel .tabs>button,.profit-panel .tabs.underline>button{font-size:13px}.profit-panel .tabs.underline>button.active:after{left:18px;right:18px}.profit-toolbar{padding:4px 7px;font-size:13px}.recognition-options{flex-wrap:wrap}.recognition-customer{margin-left:0}.recognition-toolbar{gap:4px}.recognition-table{height:90px;min-height:90px}.completion-keys{gap:3px}.statistics-layout{gap:4px;padding:6px}.stats-profit{width:205px}.stats-profit .tabs>button{font-size:13px}.stats-profit .profit-table{font-size:11px}.stats-grid{grid-template-columns:1fr}.stats-number-column{padding:5px}.stats-grid-head,.stats-number-row{grid-template-columns:65px repeat(3,minmax(0,1fr))}.center-page{width:calc(100% - 24px)}.settings-form{padding:15px}.setting-row{flex-wrap:wrap}.setting-save{flex-wrap:wrap;margin-left:0}.member-filter input{width:120px}.member-add{margin-left:0}.odds-table td{padding:6px 4px}.odds-table th,.odds-table{font-size:12px}.stepper>button{width:18px;min-width:18px}.odds-notice{flex-wrap:wrap}.incoming-filter{gap:7px}.incoming-switch{justify-content:flex-end;width:100%}.orders-footer{flex-wrap:wrap;height:auto;min-height:55px}.orders-footer>div{flex-wrap:wrap;justify-content:flex-end}.orders-filter select{width:105px}.login-layout{width:500px}.login-card-inner{padding:32px 28px 22px}.modal.wide{width:calc(100vw - 40px)}}@media (width<=650px){.app-shell{min-height:550px}.sidebar{width:54px}.sidebar nav button{justify-content:center;height:50px;padding:0;font-size:10px}.sidebar nav button>span,.sidebar .brand{display:none}.sidebar .brand-mark{object-fit:contain;width:44px;height:44px;margin:12px 5px 20px;display:block}.sidebar .logout{justify-content:center;padding:15px 0;font-size:0}.sidebar nav button svg{width:20px;height:20px}.status-header{gap:5px;height:32px;min-height:32px;padding:0 7px}.announcement{font-size:11px!important}.connection{padding:3px 6px;font-size:10px}.connection svg{width:12px}.entry-layout{gap:0;padding:0;overflow:auto}.entry-main{min-width:500px}.profit-panel{width:210px}.collapse-profit{display:none}.order-draft{height:150px;min-height:150px}.game-selector{gap:3px}.center-page{width:100%;padding:8px}.members-page{padding:0;overflow:auto}.members-page>.odds-table{min-width:580px}.odds-notice{font-size:11px}.member-management{min-width:520px}.settings-card>h3{font-size:14px}.account-info{gap:12px;padding:15px}.avatar{width:44px;height:44px}.account-info p{font-size:13px}.account-key{gap:5px}.account-key input{width:155px;font-size:12px}.account-key button{padding:6px 10px;font-size:11px}.setting-row select{width:145px}.settings-form{padding:15px 12px}.settings-form b{font-size:11px;line-height:1.6}.orders-page{min-width:550px;overflow:auto}.orders-table-container{min-height:250px}.incoming-page{min-width:470px}:is(.page-content:has(.orders-page),.page-content:has(.incoming-page)){overflow:auto}.statistics-layout{padding:0;overflow:auto}.statistics-main{min-width:370px}.stats-profit{width:230px}.modal-shade{padding:15px}.modal{max-height:calc(100dvh - 30px)}.modal.wide{width:calc(100vw - 30px)}.modal-body .odds-table{min-width:580px}.member-form{grid-template-columns:1fr;gap:0}.member-form .form-field:first-child,.member-form .key-field{grid-column:auto}.modal>header h3{font-size:14px}.column-choices{grid-template-columns:repeat(2,1fr)}.login-layout{justify-content:center;max-width:calc(100% - 30px);padding:25px 0;display:flex}.login-card{border-radius:17px;width:min(420px,100%);padding:10px}.login-card-inner{padding:32px 25px 24px}.login-entry-card{width:100%}.login-entry-card .login-card-inner{padding:36px 22px 22px}.login-logo{width:190px;height:auto}.login-card h2{font-size:27px}.login-input{height:55px;padding:0 13px}.login-card form>label{margin-bottom:22px}.login-caption{font-size:14px}.login-submit{height:54px}.toast{width:max-content;max-width:90%;font-size:12px;top:12px}}.integration-summary{flex-wrap:wrap;align-items:center;gap:12px;padding:18px 0;font-size:13px;display:flex}.integration-summary .inline-alert{width:100%;margin:0}.integration-card .modal-hint{line-height:1.8}.rule-reviewed{align-items:center;gap:8px;display:flex;width:auto!important}.draw-audit,.settlement-details{margin:18px 0;overflow:auto}.draw-audit summary,.settlement-details summary{cursor:pointer;color:#409eff;padding:10px 0}.game-tools .year{flex-shrink:0;width:90px}.game-tools .lunar-year{flex-shrink:0;width:110px}.entry-header .game-tools{flex-wrap:wrap;gap:6px}.entry-header .draw-desc{display:block}.entry-header .draw-display{margin-top:2px}.reference-status{background:#f1f8ff;border-bottom:1px solid #dbe9f6;flex-wrap:wrap;gap:8px 18px;padding:12px 16px;font-size:13px;display:flex}.reference-status p{width:100%;margin:0}.reference-bets{text-align:left;min-width:220px;white-space:normal!important}.reference-bet-detail{border-top:1px solid #edf0f5;padding:10px 0}.reference-table th{height:45px}.reference-orders .draw-desc{display:block}.data-mode{white-space:nowrap;border:1px solid #d9e2ee;border-radius:5px;margin-right:12px;display:flex;overflow:hidden}.data-mode button{color:#64748b;background:#fff;padding:5px 9px;font-size:12px}.data-mode button.active{color:#fff;background:#3977ee}.reference-management,.reference-statistics{background:#fff;border-radius:8px;overflow:hidden}.reference-management .tabs{padding:12px 20px 0}.reference-management>.reference-status{margin:12px 20px}.reference-management table{width:100%}.reference-management .member-filter,.reference-management .reference-actions,.reference-management .incoming-filter{flex-wrap:wrap;align-items:center;gap:12px;padding:16px 20px;display:flex}.reference-management .reference-odds-grid input{width:90px;min-width:50px}.reference-management .reference-odds-grid th{background:#eff6fd}.reference-management .reference-odds-grid td,.reference-management .reference-member-table td{padding:10px}.reference-management .reference-odds-grid label{align-items:center;gap:5px;margin-right:12px;display:inline-flex}.reference-management .reference-pagination,.reference-management .incoming-footer{justify-content:space-between;gap:12px;padding:15px 20px;display:flex}.reference-statistics>.reference-status,.reference-statistics>.inline-alert{margin:14px 20px}.reference-statistics .superior-row{flex-wrap:wrap;justify-content:space-between;gap:25px;padding:15px 20px;display:flex}.reference-statistics .superior-row select{margin-left:8px}.reference-statistics .stats-grid{padding:0 20px}.reference-statistics .reference-risk-head{justify-content:space-between;align-items:center;padding:20px;display:flex}.reference-statistics h3{margin-left:20px}.reference-statistics .table-scroll{max-height:380px;overflow:auto}.reference-management .table-scroll{overflow-x:auto}.reference-management .reference-receiving{align-items:center;gap:10px;margin-left:auto;display:flex}@media (width<=900px){.status-header{flex-wrap:wrap;gap:8px;height:auto;min-height:48px;padding:8px}.reference-statistics .stats-grid{padding:0 10px}.data-mode{margin-right:2px}.reference-management .reference-odds-grid input{width:70px}}.login-auth-tabs{background:#f1f6fc;border:1px solid #e0e9f5;border-radius:8px;gap:6px;margin-bottom:15px;padding:4px;display:flex}.login-auth-tabs button{color:#8294af;background:0 0;border-radius:5px;flex:1;padding:8px 12px;font-size:14px}.login-auth-tabs button.active{color:#258de8;background:#fff;font-weight:600;box-shadow:0 2px 7px #315c9920}.register-card .login-card-inner{padding-top:24px}.register-card h2{margin-top:8px;font-size:24px}.register-card .login-caption{margin-bottom:15px}.register-card form{padding-top:15px}.register-card form>label{margin-bottom:17px}.register-card .login-input{height:48px}.register-card .login-submit{height:50px}.licensing-page{height:100%;padding:18px;overflow:auto}.license-page-heading{justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px;display:flex}.license-page-heading h2,.license-heading h2{color:#5b7294;align-items:center;gap:8px;margin:0;font-size:20px;font-weight:600;display:flex}.license-page-heading p,.license-heading p{color:#8a95a6;margin:7px 0 0;font-size:13px;line-height:1.7}.license-admin-overview{color:#8496b3;background:#f5faff;border:1px solid #e2ebf7;border-radius:4px;flex-wrap:wrap;gap:18px;margin-bottom:16px;padding:15px 18px;display:flex}.license-admin-overview b{color:#258ede;margin-left:5px;font-size:18px}.license-toolbar{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:12px;display:flex}.license-toolbar .tabs{margin-right:auto}.license-toolbar>input{width:220px;max-width:100%}.license-table-scroll{background:#fff;width:100%;overflow:auto}.license-table-scroll table{min-width:670px}.license-table-scroll td{white-space:nowrap}.license-table-scroll code{color:#6d84a9;letter-spacing:1px;font-size:13px}.license-note{color:#8e99a9;margin:12px 0 0;font-size:12px;line-height:1.8}.license-form{gap:16px;padding:6px 2px;display:grid}.license-form>label{color:#73839b;gap:8px;font-size:13px;display:grid}.license-form input{width:100%;height:35px}.license-form .license-check{align-items:center;gap:5px;display:flex}.license-form .license-check input{width:14px;height:14px;margin-right:0}.license-user-type{color:#458bc1;align-items:center;gap:6px;font-weight:600;display:flex}.license-generated-meta{color:#8192ab;margin:10px 0;font-size:12px;line-height:1.8}.license-generated textarea{color:#496989;resize:vertical;background:#f7faff;width:100%;padding:10px;font:13px/1.9 ui-monospace,SFMono-Regular,Consolas,monospace}.license-generated .dialog-actions{flex-wrap:wrap}.license-gate{background:linear-gradient(140deg,#eef6ff,#f8fbff);place-items:center;min-height:100vh;padding:28px 20px;display:grid}.license-renewal{max-width:780px;padding:25px}.license-gate .license-renewal{border-radius:10px;width:min(100%,610px);padding:30px;box-shadow:0 12px 35px #4685c514}.license-logo{object-fit:contain;width:220px;max-width:100%;height:auto;margin-bottom:24px}.license-heading{align-items:flex-start;gap:13px;display:flex}.license-heading>svg{color:#369ee7;flex-shrink:0;margin-top:2px}.license-summary{border-top:1px solid #e9eef5;border-bottom:1px solid #e9eef5;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:20px 0;padding:20px 0;display:grid}.license-summary dt{color:#939fb1;margin-bottom:8px;font-size:12px}.license-summary dd{color:#607795;overflow-wrap:anywhere;margin:0;font-weight:600}.license-redeem-form>label{color:#73849e;margin-bottom:10px;font-weight:600;display:block}.license-redeem-form>div{gap:10px;display:flex}.license-redeem-form input{flex:1;min-width:0;height:37px}.license-gate-actions{justify-content:flex-end;gap:9px;margin-top:24px;display:flex}@media (width<=680px){.licensing-page{padding:12px}.license-page-heading{align-items:flex-start}.license-page-heading h2{font-size:18px}.license-admin-overview{gap:10px 18px;padding:12px}.license-renewal,.license-gate .license-renewal{padding:20px}.license-summary{gap:18px 12px}.license-status-link{max-width:112px}.register-card .login-input{height:42px}}.license-presets{flex-wrap:wrap;gap:6px;margin-top:-8px;display:flex}.draw-area{margin-left:auto;position:relative}.draw-history-controls{justify-content:flex-end;align-items:center;gap:12px;margin-top:5px;font-size:12px;display:flex}.draw-history-toggle,.draw-sync-button{color:#337fbb;cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;padding:2px 0;display:inline-flex}.draw-sync-time{color:#7b8b98}.draw-period-status{color:#758595;border-top:1px solid #d7e8f6;flex-wrap:wrap;align-items:center;gap:6px 14px;width:100%;padding-top:6px;font-size:12px;display:flex}.draw-period-status button{color:#337fbb;cursor:pointer;background:0 0;border:0;padding:0}.draw-live{color:#24916b}.draw-sync-error{color:#c56635}.draw-history-panel{z-index:20;background:#fff;border:1px solid #d6e1eb;border-radius:5px;width:440px;max-width:calc(100vw - 32px);position:absolute;top:100%;right:0;overflow:hidden;box-shadow:0 8px 24px #315c8426}.draw-history-panel header{background:#f5f9fc;border-bottom:1px solid #e9eef4;justify-content:space-between;align-items:center;padding:10px 12px;font-size:13px;display:flex}.draw-history-panel header button{color:#6d7d8b;cursor:pointer;background:0 0;border:0;display:flex}.draw-history-panel p{color:#8090a0;margin:18px;font-size:13px}.draw-history-row{text-align:left;cursor:pointer;background:#fff;border:0;border-bottom:1px solid #edf1f5;justify-content:space-between;align-items:center;gap:10px;width:100%;padding:10px 12px;display:flex}.draw-history-row:hover,.draw-history-row.selected{background:#f0f7fd}.draw-history-row>span:first-child{white-space:nowrap;color:#546779;flex-direction:column;gap:3px;font-size:12px;display:flex}.draw-history-row small{color:#8a97a4;font-size:11px}.history-balls{align-items:center;gap:5px;display:flex}.history-balls .number-label{margin:0}.history-balls .ball{width:28px;height:28px;font-size:14px}.history-balls i{color:#8797a5;font-style:normal}.entry-ledger-sync{color:#526c87;overflow-wrap:anywhere;background:#f3f8fe;border:1px solid #dce8f4;border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 10px;min-width:0;margin:8px 0;padding:8px 12px;font-size:12px;display:flex}.entry-ledger-sync>span{flex:180px;min-width:0}.entry-ledger-sync button{flex:none}.profit-sync-status{color:#647b91;margin:0;padding:8px 12px;font-size:12px}.profit-panel .inline-alert{overflow-wrap:anywhere}@media (width<=700px){.draw-area{width:100%;margin-left:0}.draw-history-controls{flex-wrap:wrap;justify-content:flex-start}.draw-history-panel{left:0;right:auto}.draw-history-row{gap:5px;padding:10px 8px}.history-balls{gap:3px}.history-balls .ball{width:25px;height:25px;font-size:13px}}@media (width>=769px){.entry-layout{gap:12px;padding-left:10px}.entry-layout>.profit-panel{width:clamp(260px,20.5vw,360px)}.manual-workspace{justify-content:space-between;gap:10px;min-height:0;padding:5px;overflow:visible}.manual-workspace>.quick-attributes{flex:240px;width:240px;min-width:220px;max-width:300px}.number-grid{flex:1 1 0;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;width:auto;overflow:visible}.number-column{--number-fields:40px minmax(50px, 1fr) minmax(48px, .8fr);font-size:14px}.number-column-head,.number-row{column-gap:3px;padding-inline:1px;font-size:14px}.number-column-head{color:#7787a2;height:21px;margin-bottom:5px}.number-column-head>span{font-size:12px}.number-row{border-radius:4px;min-height:32px;margin-bottom:2px;padding-block:2px}.number-select{gap:2px;min-width:0}.number-select .ball{width:24px;height:24px;font-size:14px}.number-select>span:last-child{font-size:12px}.number-row .amount-input{appearance:textfield;height:28px;padding:2px 4px;font-size:14px}.number-row .amount-input::-webkit-inner-spin-button{appearance:none;margin:0}.number-row .amount-input::-webkit-outer-spin-button{appearance:none;margin:0}.number-summary{color:#78879e;font-size:14px;line-height:1.15}}@media (width>=1600px){.number-column{--number-fields:44px minmax(60px, 1fr) minmax(72px, .8fr);font-size:16px}.number-grid{flex:1 1 0;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;width:auto;min-width:0}.number-column-head,.number-row{font-size:16px}.number-row{min-height:34px}.number-select .ball{width:28px;height:28px;font-size:16px}.number-select>span:last-child{font-size:14px}.number-row .amount-input{height:30px;font-size:16px}.number-summary{font-size:16px}}@media (width>=769px) and (height<=820px){.manual-workspace{padding-block:3px}.number-row{min-height:30px;margin-bottom:1px;padding-block:1px}.number-row .amount-input{height:28px}}.number-row{position:relative;overflow:visible}.number-row.has-amount,.number-row.has-amount.selected{background:#ffedab;box-shadow:inset 0 0 0 1px #fb5f5f}.number-row.has-amount .amount-input{color:#e34444;font-weight:700}.number-entry-index{z-index:2;color:#fff;cursor:pointer;background:#1792ff;border:0;border-radius:999px;justify-content:center;align-items:center;min-width:14px;height:14px;margin:0;padding:0 3px;font:700 10px/14px Tahoma,PingFang SC,Microsoft YaHei,sans-serif;display:inline-flex;position:absolute;top:-8.5px;right:2px;box-shadow:0 0 0 1px #fff}.number-entry-index:hover{background:#087ee3}.number-entry-index:focus-visible{outline-offset:2px;outline:2px solid #075cae}@media (width>=1600px) and (height>=821px){.number-column-head{margin-bottom:7px}.number-entry-index{min-width:16px;height:16px;font-size:11px;line-height:16px;top:-9.75px}}@media (width>=1600px) and (height<=820px){.number-entry-index{min-width:12px;height:12px;font-size:10px;line-height:12px;top:-7.75px}}@media (width<=768px){.number-entry-index{min-width:18px;height:18px;font-size:11px;line-height:18px;top:-13px;right:6px}}@media (width>=769px){.number-row .number-summary{padding-block:5px 6px}}@media (width>=1600px) and (height<=820px){.number-row .number-summary{padding-block:4px 5px}}@media (width>=769px){.number-row.has-long-summary .number-summary{padding-block:6px 7px}}.sidebar-version{color:#7d8795;font-variant-numeric:tabular-nums;white-space:nowrap;margin-top:auto;padding:0 22px 4px;font-size:11px;line-height:1.4}.sidebar .logout{margin-top:0}@media (width<=1200px){.sidebar-version{padding-left:15px;padding-right:15px}}@media (width<=950px){.sidebar-version{padding-left:8px;padding-right:8px}}@media (width<=650px){.sidebar-version{text-align:center;padding:0 2px 4px;font-size:9px}.sidebar-version-label{display:none}}:root{--client-blue:#2376df;--client-ink:#25354c;--client-muted:#7e8ca0}button:focus-visible,a:focus-visible{outline-offset:3px;outline:3px solid #2376df88}.mobile-navigation,.mobile-entry-heading,.mobile-submit-bar,.mobile-attribute-toggle,.desktop-brand-note{display:none}.draft-save-note{color:#688596;background:#f2f8fd;padding:3px 10px;font-size:11px}.my-account{max-width:760px;height:100%;color:var(--client-ink);margin:0 auto;padding:30px 28px 70px;overflow:auto}.my-title small,.eyebrow{color:#6c849f;letter-spacing:1px;font-size:12px}.my-title h1{letter-spacing:-1px;margin:8px 0 24px;font-size:28px}.account-identity{background:#edf4ff;border:1px solid #d9e7fb;border-radius:18px;align-items:center;gap:16px;margin-bottom:24px;padding:24px;display:flex}.account-avatar{color:#fff;background:#2376df;border-radius:18px;place-items:center;width:56px;height:56px;font-size:24px;font-weight:600;display:grid}.account-identity>div{flex-direction:column;flex:1;gap:7px;display:flex}.account-identity strong{font-size:19px}.account-identity div>span{color:#6d829a;font-size:12px}.account-active{color:#258562;white-space:nowrap;background:#e1f3eb;border-radius:8px;padding:6px 9px;font-size:11px}.account-links{background:#fff;border:1px solid #e4eaf2;border-radius:16px;overflow:hidden}.account-links>button{text-align:left;background:#fff;border-bottom:1px solid #edf1f7;align-items:center;gap:14px;width:100%;padding:18px;display:flex}.account-links>button:last-child{border:0}.account-links>button:hover{background:#f7faff}.account-link-icon{color:#2376df;background:#edf4ff;border-radius:12px;flex-shrink:0;place-items:center;width:42px;height:42px;display:grid}.account-links>button>span:nth-child(2){flex-direction:column;flex:1;gap:6px;display:flex}.account-links strong{font-size:14px}.account-links small{color:#7d8b9e;font-size:12px}.account-links>button>svg{color:#9aa7b8}.account-logout{color:#cf5358;background:#fff5f5;border:1px solid #f5dddd;border-radius:12px;justify-content:center;align-items:center;gap:8px;width:100%;height:48px;margin-top:20px;display:flex}.admin-entrance{align-items:center;gap:8px;margin-top:20px;font-size:13px;display:flex}.account-panel{background:#fff;border:1px solid #e3eaf3;border-radius:14px;margin-top:20px;padding:20px;font-size:13px;line-height:1.8}.account-panel h3{margin:0 0 16px;font-size:16px}.account-panel label{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:20px;display:flex}.account-panel input{flex:1;min-width:0}.session-item{border-top:1px solid #edf1f7;justify-content:space-between;align-items:center;padding:12px 0;display:flex}.session-item>span{flex-direction:column;display:flex}.session-item small{color:#7e8ca0;font-size:11px}.client-setup{color:#25354c;background:#eff4fc;place-items:center;min-height:100dvh;padding:24px;display:grid}.client-setup form{background:#fff;border-radius:24px;width:440px;max-width:100%;padding:38px;box-shadow:0 20px 80px #264a7212}.client-setup img{width:150px;margin-bottom:35px;display:block}.client-setup h1{margin:10px 0;font-size:26px}.client-setup p{color:#7c8ba0;font-size:14px;line-height:1.8}.client-setup label{flex-direction:column;gap:10px;margin:28px 0 20px;font-size:13px;display:flex}.client-setup input{border-radius:10px;height:48px}.client-setup .btn{border-radius:10px;width:100%;height:48px}.client-setup small{text-align:center;color:#93a1b4;margin-top:16px;font-size:11px;display:block}html[data-platform=windows] .sidebar{background:#192d49;width:174px;padding:8px}html[data-platform=windows] .sidebar .brand{background:#fff;border-radius:9px;width:144px;height:auto;margin:10px 7px 28px;padding:6px}html[data-platform=windows] .sidebar nav{gap:5px}html[data-platform=windows] .sidebar nav button{color:#b9c9dc;background:0 0;border-radius:9px;gap:10px;height:48px;padding:0 14px;font-size:14px}html[data-platform=windows] .sidebar nav button svg{color:#90abc8}html[data-platform=windows] .sidebar nav button.active{color:#fff;background:#2e4b70}html[data-platform=windows] .sidebar nav button.active svg{color:#8fc7ff}html[data-platform=windows] .sidebar .logout{color:#b9c9dc;background:0 0;border-top:1px solid #ffffff15;gap:10px;margin:16px 0 8px;padding:18px 14px;font-size:13px}html[data-platform=windows] .sidebar-version{color:#9fb4cc;margin-top:0;padding:0 14px 4px;font-size:12px}html[data-platform=windows] .desktop-brand-note{color:#7e98b7;margin-top:auto;padding:24px 12px;font-size:12px;display:block}html[data-platform=windows] .desktop-brand-note small{letter-spacing:1.4px;color:#6481a3;margin-top:8px;font-size:8px;display:block}html[data-platform=windows] .status-header{background:#fff;border-bottom:1px solid #e5ebf3;height:52px;min-height:52px;padding:0 20px}.game-header.short-periods .draw-selection-tools .period{width:180px;max-width:min(180px,44vw)}html[data-platform=windows] .entry-layout{gap:10px;padding-left:10px}html[data-platform=windows] .btn{border-radius:6px}@media (width>=769px){.entry-header{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:3px 8px;display:grid;min-height:78px!important;padding-top:10px!important}.entry-header .game-tools{flex-wrap:nowrap;gap:4px}.entry-header .game-selector{gap:4px}.entry-header .game{padding:7px 5px;font-size:12px}.entry-header .year{width:67px;padding-left:5px;padding-right:20px;font-size:12px}.entry-header .period{width:105px;padding-left:5px;padding-right:20px;font-size:12px}.entry-header .lunar-year{width:78px;padding-left:5px;padding-right:20px;font-size:12px}.entry-header .draw-area{margin-left:0}.entry-header .draw-desc{display:none}.entry-header .draw-display{gap:4px;margin-top:0}.entry-header .draw-logo{width:32px;height:32px;font-size:7px}.entry-header .draw-logo strong{font-size:10px}.entry-header .draw-balls .ball{width:26px;height:26px;font-size:14px}.entry-header .draw-balls small{font-size:10px}.entry-header .draw-history-controls{gap:7px;margin-top:1px;font-size:10px}.entry-header .draw-period-status{border-top:0;grid-column:1/-1;padding-top:3px;font-size:10px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}@media (width<=768px){html,body,#root{background:#f4f7fc;min-height:100%}body{overscroll-behavior-y:none}.app-shell{height:100dvh;min-height:0;display:block;overflow:hidden}.app-shell>.sidebar{display:none}.workspace{width:100%;height:100%;padding-bottom:calc(68px + env(safe-area-inset-bottom));overflow:hidden}.status-header{height:auto;min-height:60px;padding:calc(10px + env(safe-area-inset-top)) 14px 10px;background:#fff;border-bottom:1px solid #e9eef5;gap:10px;display:flex}.status-header .announcement{max-width:42%;line-height:1.5;font-size:12px!important}.status-header>div{flex-wrap:wrap;flex:1;justify-content:flex-end;gap:5px}.status-header .connection-refresh{display:none}.status-header .license-status-link{min-height:30px;padding:5px 9px;font-size:10px;display:inline-flex}.status-header .connection{max-width:100%;padding:5px 8px;font-size:10px}.data-mode{height:30px;font-size:10px}.data-mode button{padding:6px 9px;font-size:10px}.page-content{-webkit-overflow-scrolling:touch;background:#f4f7fc;flex:1;min-height:0;overflow:auto!important}.mobile-navigation{min-height:calc(68px + env(safe-area-inset-bottom));padding:6px 6px calc(6px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);z-index:35;background:#ffffffed;border-top:1px solid #e3eaf3;grid-template-columns:repeat(5,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.mobile-navigation button{color:#8b98aa;background:0 0;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-height:54px;font-size:11px;display:flex;position:relative}.mobile-navigation button[aria-current=page]{color:#2376df;background:#edf4ff;font-weight:600}.mobile-navigation b{color:#fff;background:#e5666c;border-radius:8px;padding:1px 5px;font-size:9px;position:absolute;top:2px;right:12px}.entry-layout{flex-direction:column;gap:0;height:auto;min-height:100%;padding:0 10px 98px;display:flex;overflow:visible}.mobile-entry-heading{color:#25354c;justify-content:space-between;align-items:center;padding:20px 5px 15px;display:flex}.mobile-entry-heading>div{flex-direction:column;gap:7px;display:flex}.mobile-entry-heading small{color:#8796ab;letter-spacing:1px;font-size:11px}.mobile-entry-heading strong{letter-spacing:-.5px;font-size:21px}.mobile-entry-heading button{color:#2376df;background:#edf4ff;border:1px solid #d6e5fb;border-radius:9px;padding:9px 11px;font-size:11px}.entry-main{flex:none;width:100%;min-width:0;overflow:visible}.game-header,.entry-main .game-header{background:#eaf2ff;border-radius:12px;flex-direction:column;gap:10px;min-height:0;padding:10px;display:flex}.game-tools,.entry-header .game-tools{flex-wrap:wrap;gap:8px;width:100%;display:flex}.game-selector,.entry-header .game-selector{gap:5px;width:100%;display:flex}.game-selector .game,.entry-header .game{border-radius:8px;flex:1;min-height:40px;margin:0;padding:10px 4px;font-size:12px}.game-tools>select,.entry-header .period{border-radius:8px;flex:1;width:auto;min-width:0;height:40px;font-size:13px}.draw-area{width:100%;margin:0}.draw-display{flex-wrap:wrap;gap:5px;margin:5px 0;display:flex}.draw-logo{width:32px;height:32px;font-size:7px}.draw-logo strong{font-size:10px}.draw-logo small{font-size:5px}.draw-desc{font-size:10px}.draw-desc small{font-size:9px}.draw-balls{gap:3px}.draw-balls .ball{width:26px;height:26px;font-size:14px}.draw-balls small{font-size:9px}.draw-balls .special{padding:0 2px}.draw-history-controls{gap:7px;font-size:10px}.draw-history-panel{width:100%;min-width:0;max-width:calc(100vw - 42px)}.history-balls .ball{width:22px;height:22px;font-size:11px}.history-balls{gap:2px}.mode-tabs{background:#eaf0f8;border:1px solid #e1e9f5;border-radius:12px;gap:4px;height:48px;margin:14px 0 10px;padding:4px}.mode-tabs>button{color:#8897aa;background:0 0;border-radius:8px;flex:1;height:38px;margin:0;padding:8px;font-size:13px}.mode-tabs>button.active{color:#2376df;background:#fff;box-shadow:0 2px 8px #26497612}.play-group-tabs{background:#fff;border-radius:10px 10px 0 0;flex-wrap:nowrap;height:48px;min-height:48px;overflow-x:auto}.play-group-tabs>button{flex:none;min-width:53px;font-size:13px;padding:12px 10px!important}.play-options{background:#fff;border-top:1px solid #edf1f7;border-bottom:1px solid #edf1f7;gap:8px 16px;height:auto;min-height:48px;padding:8px 12px;font-size:13px}.play-options label{align-items:center;min-height:30px;display:inline-flex}.manual-workspace{border-radius:0 0 12px 12px;flex-direction:column;flex:none;gap:12px;min-height:0;padding:8px;display:flex;overflow:visible}.number-grid{flex:none;order:2;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:100%;display:grid;overflow:visible}.number-column{display:contents}.number-column-head{display:none}.number-row{background:#f8faff;border:1px solid #e8edf6;border-radius:8px;grid-template-columns:49px minmax(0,1fr);gap:3px;height:auto;min-height:48px;padding:4px;display:grid}.number-row.selected{background:#eaf3ff;border-color:#90baf4}.number-select{background:0 0;align-items:center;gap:2px;min-height:40px;padding:0;display:flex}.number-select .ball{width:24px;height:24px;font-size:12px}.number-select>span{font-size:10px}.number-row .amount-input{text-align:center;background:#fff;border-radius:6px;width:100%;min-width:0;height:38px;padding:4px;font-size:16px}.number-summary{text-align:right;color:#8c99ad;grid-column:1/-1;width:100%;font-size:11px}.number-summary:before{content:"汇总 ";color:#8c99ad;font-size:10px}.quick-attributes{background:0 0;flex:none;order:1;width:100%;min-width:0;height:auto;max-height:none;padding:0;overflow:visible}.mobile-attribute-toggle{color:#366baf;background:#f1f6ff;border-radius:8px;justify-content:space-between;align-items:center;width:100%;min-height:44px;padding:12px;font-size:12px;display:flex}.quick-attributes .chip-row{display:none}.quick-attributes.mobile-expanded .chip-row{flex-wrap:wrap;gap:5px;margin:6px 0;display:flex}.quick-attributes .attribute-chip{border-radius:7px;flex:1;min-width:39px;height:36px;min-height:36px;padding:7px;font-size:12px}.amount-tools{gap:6px}.amount-tools .quick-amount{min-height:42px;font-size:11px}.amount-tools>input{border-radius:8px;width:calc(100% - 95px);height:42px;font-size:16px}.amount-tools>.btn{border-radius:8px;flex:none;min-height:42px;padding:8px 16px}.selection-workspace{flex:none;overflow:visible}.selection-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.selection-tile{min-width:0;height:auto;min-height:48px}.selection-footer{flex-wrap:wrap;gap:8px;padding:12px 0}.selection-footer .btn{height:40px}.selection-footer input{height:44px;font-size:16px}.order-draft{border-radius:12px;flex-direction:column;gap:12px;height:auto;min-height:0;margin:12px 0 0;padding:10px;display:flex}.draft-table{flex:none;min-height:95px;max-height:280px}.draft-table table{min-width:400px;font-size:12px}.draft-table th{height:36px}.draft-table td{height:38px}.draft-submit{border:none;width:100%;padding:0}.draft-submit select{border-radius:8px;width:100%;height:44px;font-size:16px}.draft-submit>label{width:100%;font-size:13px}.draft-lower{gap:12px}.draft-lower textarea{border-radius:8px;height:78px;font-size:16px}.draft-lower p{font-size:12px;line-height:1.8}.draft-actions{display:flex}.draft-actions .btn{min-height:38px;font-size:12px}.draft-actions .btn.primary{display:none}.mobile-submit-bar{bottom:calc(68px + env(safe-area-inset-bottom));z-index:34;background:#fff;border-top:1px solid #e5edf7;justify-content:space-between;align-items:center;gap:12px;min-height:72px;padding:12px 14px;display:flex;position:fixed;left:0;right:0;box-shadow:0 -5px 16px #33588708}.mobile-submit-bar>div{flex-direction:column;gap:5px;min-width:0;display:flex}.mobile-submit-bar small{color:#8191a7;font-size:10px}.mobile-submit-bar strong{color:#25354c;font-size:19px}.mobile-submit-bar .btn{background:#2376df;border-radius:10px;min-width:125px;height:46px;font-size:14px}.draft-save-note{border-radius:7px;margin:8px 0;padding:7px;font-size:10px}.entry-layout>.profit-panel{border-radius:12px;flex:none;width:100%;height:420px;margin:14px 0;display:none;overflow:hidden}.entry-layout.show-mobile-risk>.profit-panel{order:1;display:flex}.entry-layout.show-mobile-risk .entry-main{order:2}.entry-layout.show-mobile-risk .mobile-entry-heading{order:0}.recognition{border-radius:12px;flex-direction:column;flex:none;gap:10px;padding:10px;display:flex;overflow:visible}.recognition-table{border-radius:8px;order:4;width:100%;height:auto;min-height:100px;max-height:280px}.recognition-table table{min-width:480px}.recognition-options{flex-wrap:wrap;order:0;gap:8px;height:auto;padding:0;display:flex}.recognition-options>.segmented{grid-template-columns:repeat(2,1fr);width:100%;display:grid}.recognition-options>.segmented button{min-height:38px;font-size:12px}.recognition-customer{width:100%;margin:0;display:flex}.recognition-customer select{flex:1;height:44px;font-size:16px}.recognition-options>.btn.success{display:none}.recognition-toolbar{flex-wrap:wrap;order:1;gap:5px;height:auto;padding:0;display:flex}.recognition-toolbar label{align-items:center;min-height:36px;font-size:12px;display:inline-flex}.recognition-toolbar .btn{height:34px;font-size:11px}.recognition-editor{flex-direction:column;flex:none;order:2;gap:12px;min-height:0;padding:0;display:flex}.source-editor,.recognition-preview{border-radius:10px;flex:none;width:100%}.source-editor textarea{flex:none;min-height:170px;padding:12px;font-size:16px}.recognition-preview{min-height:160px}.preview-scroll{min-height:120px;max-height:400px}.recognition-preview footer{flex-wrap:wrap;height:auto;min-height:52px;padding:8px}.recognition-preview footer .btn{min-height:38px}.completion-keys{flex-wrap:wrap;order:3;gap:5px;max-height:none;padding:0;overflow:visible}.completion-keys button{min-height:34px}.recognition-result-group{padding:7px 10px}.recognition-result-row{font-size:14px}.recognition-result-summary{flex:100%}.orders-page,.incoming-page,.members-page{flex-direction:column;height:auto;min-height:100%;padding:10px;display:flex;overflow:visible}.orders-filter,.incoming-filter,.member-filter{flex-wrap:wrap;gap:8px;padding:12px 0;display:flex}.orders-filter label{flex:1;align-items:center;gap:5px;min-width:140px;display:flex}.orders-filter select{border-radius:8px;width:100%;height:42px;font-size:14px}.orders-filter .btn,.incoming-filter .btn,.member-filter .btn{min-height:42px}.orders-table-container{background:#fff;border-radius:10px;flex:none;min-height:280px;max-height:65dvh;overflow:auto}.orders-table{min-width:920px}.orders-table td{height:54px}.orders-table .table-actions button{min-height:40px;padding:8px}.orders-footer{flex-wrap:wrap;gap:10px;min-height:0;padding:12px 0;display:flex}.orders-footer>div{justify-content:flex-start;gap:6px}.orders-footer .btn{min-height:40px;padding:8px 10px;font-size:12px}.order-summary{flex-wrap:wrap;padding:12px;font-size:11px;line-height:1.8}.orders-page>p,.reference-page-notice{font-size:11px;line-height:1.7}.standard-table td{min-height:44px}.standard-table{font-size:12px}.table-wrap{width:100%;overflow:auto}.members-page>.odds-table{min-width:580px}.members-page{overflow:auto}.incoming-page table{min-width:680px}.statistics-layout{flex-direction:column;gap:14px;height:auto;padding:10px;display:flex;overflow:visible}.statistics-main{width:100%;min-width:0;overflow:visible}.statistics-layout>.stats-profit{flex:none;width:100%;height:350px;overflow:auto}.stats-grid{grid-template-columns:1fr}.stats-grid-head,.stats-number-row{grid-template-columns:58px repeat(3,minmax(0,1fr));gap:4px}.stats-number-row{min-height:50px}.stats-number-row input{min-width:0;height:38px;padding:5px;font-size:16px}.stats-tools{flex-wrap:wrap;gap:7px;height:auto;display:flex}.stats-tools .btn{height:42px}.settings-form,.center-page{width:100%;height:auto;margin:0;padding:14px;overflow:visible}.settings-form{flex-direction:column;align-items:flex-start;display:flex}.settings-form>.setting-row{width:100%}.settings-form>.setting-display-row{order:-1}.setting-row{flex-wrap:wrap;gap:10px;min-height:55px}.setting-row input,.setting-row select{height:42px;font-size:16px}.setting-save{flex-wrap:wrap;margin:0}.setting-save .btn{min-height:44px}.modal-shade{align-items:center;padding:10px}.modal,.modal.wide{width:100%;max-width:100%;max-height:calc(100dvh - 35px - env(safe-area-inset-top) - env(safe-area-inset-bottom));border-radius:16px}.modal>header{flex-wrap:wrap;gap:12px;padding:16px}.modal>header h3{font-size:16px}.modal>header .btn{min-height:38px}.modal .icon-button{min-width:38px;min-height:38px}.modal-body{padding:10px 16px 20px}.modal-body input,.modal-body select,.modal-body textarea{min-height:42px;font-size:16px}.member-form{grid-template-columns:1fr;gap:4px;padding:0}.form-field label{min-width:66px;font-size:12px}.column-choices{grid-template-columns:repeat(2,1fr);gap:15px}.dialog-actions .btn{height:44px}.detail-meta{gap:12px;font-size:12px}.draw-form{gap:3px}.draw-form input{padding:3px;font-size:15px}.my-account{max-width:none;height:auto;padding:22px 16px 30px}.my-title h1{margin-bottom:20px;font-size:24px}.account-identity{border-radius:16px;gap:12px;padding:18px 15px}.account-avatar{border-radius:14px;width:45px;height:45px;font-size:20px}.account-identity strong{font-size:17px}.account-identity div>span{font-size:10px}.account-active{padding:5px;font-size:9px}.account-links>button{padding:16px 14px}.account-panel{padding:16px}.login-layout{width:100%;max-width:100%;min-height:100dvh;padding:calc(40px + env(safe-area-inset-top)) 20px 35px;display:block}.login-intro{display:none}.login-card{border-radius:22px;width:100%;max-width:430px;margin:0 auto}.login-card-inner{padding:30px 24px 24px}.login-logo{width:190px;height:auto;margin-bottom:30px}.login-card h2{font-size:25px}.login-input{border-radius:10px;min-height:50px}.login-input input{font-size:16px}.login-submit{border-radius:10px;min-height:50px}.login-auth-tabs button{min-height:44px}.login-page{background:#f0f5fd}.toast{top:calc(14px + env(safe-area-inset-top));border-radius:10px;width:max-content;max-width:calc(100vw - 24px);font-size:12px}.license-page,.licensing-page{height:auto;min-height:100%;padding:15px;overflow:visible}}.pending-order-banner{color:#855c27;background:#fff7eb;border:1px solid #edcc8f;border-radius:12px;margin:12px;padding:16px;font-size:12px;line-height:1.7}.pending-order-banner .btn{min-height:40px;margin:5px 7px 0 0}.offline-cache-note{color:#815918;background:#fff9e9;border:1px solid #efcf80;border-radius:8px;margin-bottom:10px;padding:10px 14px;font-size:12px;line-height:1.6}.recognition-history-save{color:#657588;background:#f6f9fc;border-top:1px solid #e5ebf1;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 12px;font-size:12px;display:flex}.recognition-history-save small{flex-basis:100%}@media (width<=440px){.number-grid{grid-template-columns:minmax(0,1fr)}}@media (width>=769px){.entry-header .draw-area{grid-column:1/-1;justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.entry-header .draw-history-controls{flex-wrap:wrap;margin-top:0}}@media (width>=769px) and (height<=820px){.entry-main>.mode-tabs{height:34px}.entry-main>.mode-tabs>button{height:32px;padding-block:6px}.entry-main>.entry-header{gap:2px 6px;padding-top:5px!important}.entry-main>.play-group-tabs,.entry-main>.play-options{height:30px}.entry-main>.play-group-tabs>button{padding-block:6px}.entry-main>.play-options{padding-block:2px}.route-order-entry .manual-workspace{min-height:366px}.route-order-entry .number-column-head{height:18px;margin-bottom:2px}.route-order-entry .number-row{height:26px;min-height:26px;margin-bottom:0;padding-block:0}.route-order-entry .number-row.has-long-summary{height:auto}.route-order-entry .number-select .ball{width:21px;height:21px;font-size:12px}.route-order-entry .number-select>span:last-child{font-size:11px}.route-order-entry .number-row .amount-input{height:23px;font-size:12px}.route-order-entry .number-row .number-summary{white-space:nowrap;text-overflow:ellipsis;padding-block:0;font-size:12px;overflow:hidden}}@media (width>=769px) and (height<=740px){.route-order-entry .page-content{overflow-y:auto}.route-order-entry .entry-layout{height:auto;min-height:100%}}@media (width>=769px) and (width<=1279px){.route-order-entry .page-content{overflow-y:auto}.entry-layout{flex-direction:column;gap:10px;height:auto;min-height:100%;padding-right:10px}.entry-layout>.entry-main{flex:none;min-width:0}.manual-workspace{flex-direction:column;flex:none}.number-grid{flex:none;grid-template-columns:repeat(4,minmax(0,1fr));width:100%}.number-column{--number-fields:40px minmax(0, 1fr)}.number-column-head{grid-template-columns:40px minmax(0,1fr)}.number-column-head span:last-child{display:none}.number-row{grid-template-columns:40px minmax(0,1fr);gap:1px 3px}.number-summary{text-align:right;grid-column:1/-1}.manual-workspace>.quick-attributes{flex:none;width:100%;min-width:0;height:auto}.entry-layout>.profit-panel{width:100%;height:400px;min-height:400px}}@media (width>=769px){.entry-main{position:relative}.entry-main>.draft-save-note{background:0 0;max-width:calc(100% - 260px);padding:3px 6px;position:absolute;top:7px;right:10px}.entry-main>.entry-header{grid-template-columns:minmax(0,1fr);gap:4px;min-height:44px!important;padding-block:6px!important}}@media (width>=1280px) and (width<=1359px){.route-order-entry .page-content{overflow-y:auto}.entry-layout{align-items:flex-start;height:auto;min-height:100%}.entry-main{min-height:0}.manual-workspace{flex-wrap:wrap;flex:none;justify-content:flex-start}.manual-workspace>.quick-attributes{flex:0 0 100%;width:100%;min-width:0;max-width:none;height:220px}.manual-workspace .manual-input-panel .manual-quick-body{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-content:start;gap:0 24px;display:grid}.manual-workspace .manual-quick-body>:not(.manual-quick-single){grid-column:1}.manual-workspace .manual-quick-body>.manual-quick-single{grid-area:1/2/span 7;margin-top:0}.manual-workspace .manual-input-panel .manual-attribute-body{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-content:start;gap:4px 12px;display:grid}.manual-workspace .manual-attribute-body>.amount-tools{grid-column:1/-1}.entry-layout>.profit-panel{height:calc(100dvh - 40px);position:sticky;top:0}}@media (width>=769px){.route-order-entry:has(.number-row.has-long-summary) .page-content{overflow-y:auto}.manual-workspace:has(.number-row.has-long-summary){flex:none}}.status-header .personal-listener-entry{color:#176d56;white-space:nowrap;cursor:pointer;background:#eaf7ef;border:1px solid #afd9c4;border-radius:17px;flex:none;justify-content:center;align-items:center;gap:6px;min-height:30px;padding:5px 11px;font-size:12px;font-weight:700;display:inline-flex}.status-header .personal-listener-entry:hover,.status-header .personal-listener-entry:focus-visible{background:#d8f0e1}.entry-mode-heading{background:#f5faff;flex-shrink:0;justify-content:space-between;align-items:center;gap:8px;min-width:0;height:38px;display:flex}.entry-mode-heading>.mode-tabs{background:#f5faff;border:0;border-radius:0;flex:1;align-items:flex-end;gap:16px;min-width:0;height:38px;margin:0;padding:0 10px}.entry-mode-heading>.mode-tabs>button{color:#fff;background:#99aecf;border-radius:6px 6px 0 0;height:35px;margin:0;padding:7px 20px}.entry-mode-heading>.mode-tabs>button.active{color:#fff;background:#1792ff}.entry-mode-heading>.wl-entry-button{flex:none;align-items:center;gap:5px;margin-right:10px;font-size:12px;display:inline-flex}@media (width<=900px){html[data-platform=windows] .status-header{flex-wrap:wrap;height:auto;min-height:52px;padding:8px 10px}html[data-platform=windows] .status-header>div{flex-wrap:wrap;justify-content:flex-end;min-width:0}}@media (width<=768px){.entry-mode-heading{flex-wrap:wrap;height:auto;padding-bottom:6px}.entry-mode-heading>.mode-tabs{flex-basis:100%}.entry-mode-heading>.wl-entry-button{margin-left:auto}}:root{--qql-brand:#6738bd;--qql-brand-strong:#542aa1;--qql-brand-cyan:#178ab3;--client-blue:var(--qql-brand)}input:focus,select:focus,textarea:focus{border-color:var(--qql-brand)}input[type=checkbox],input[type=radio]{accent-color:var(--qql-brand)}button:focus-visible,a:focus-visible{outline-color:#6738bd88}a{color:var(--qql-brand)}.btn,.btn.primary,.tabs>button.active,.period,.switch.on,.account-avatar,.mobile-submit-bar button:not(.outline){background:var(--qql-brand)}.tabs.underline>button.active{color:var(--qql-brand)}.tabs.underline>button.active:after{background:var(--qql-brand)}.sidebar,html[data-platform=windows] .sidebar{background:linear-gradient(155deg,#fbf9ff 0%,#f1eafd 56%,#eaf7fb 100%);border-right:1px solid #ded3ef}.sidebar nav button,html[data-platform=windows] .sidebar nav button{color:#4b3d64;background:0 0}.sidebar nav button svg,html[data-platform=windows] .sidebar nav button svg{color:#8066aa}.sidebar nav button:not(.active):hover,html[data-platform=windows] .sidebar nav button:not(.active):hover{background:#ebe1f8}.sidebar nav button.active,html[data-platform=windows] .sidebar nav button.active{color:#fff;background:linear-gradient(105deg, var(--qql-brand), var(--qql-brand-cyan));box-shadow:0 5px 12px #54329d2a}.sidebar nav button.active svg,html[data-platform=windows] .sidebar nav button.active svg{color:#fff}.sidebar .logout,html[data-platform=windows] .sidebar .logout{color:#55456c;background:0 0;border-top-color:#d8cdea}.sidebar .logout svg{color:#8066aa}.sidebar-version,html[data-platform=windows] .sidebar-version{color:#66537d}html[data-platform=windows] .desktop-brand-note{color:#725b90}html[data-platform=windows] .sidebar .brand{box-shadow:0 0 0 1px #d8cdea,0 4px 10px #503e7520}.login-entry-card .login-card-inner{background:linear-gradient(145deg,#fbf9ff,#edf6fb);border-color:#dcd0f1}.login-entry-card .login-submit,.login-submit{background:linear-gradient(95deg, var(--qql-brand), var(--qql-brand-cyan));border-top-color:#ba9ee9;box-shadow:0 14px 26px #643bbd32}
