        

        




        :root {
            --x8-page-w: 1255px;
        }

        

        body {
            margin: 0;
            padding: 0;
            font-family: "Microsoft YaHei", sans-serif;
            background-color: #f2f4fa;
            box-sizing: border-box;
            height: 100vh;
            overflow: hidden;
        }

        
        .custom-tab {
            display: flex;
            flex-direction: row;
            overflow-x: auto;
            white-space: nowrap;
            scrollbar-width: thin;
            scrollbar-color: #ccc #f5f5f5;
        }

        
        .custom-tab-search-area {
            background: #fff;
        }

        .custom-tab::-webkit-scrollbar {
            height: 6px;
            background: #f5f5f5;
        }

        .custom-tab::-webkit-scrollbar-thumb {
            background: #ccc;
            border-radius: 3px;
        }

        .custom-tab-title {
            cursor: pointer;
            padding: 7px 26px;
            color: rgba(255, 255, 255, .82);
            font-weight: bold;
            margin-right: 2px;
            border-radius: 8px 8px 0 0;
            transition: background .18s, color .18s;
        }

        .custom-tab-title:hover {
            background: rgba(255, 255, 255, .14);
            color: #fff;
        }

        .custom-tab-title.selected {
            color: var(--selected-color) !important;
            
            background: linear-gradient(180deg,
                    rgba(var(--main-color-rgb, 10, 169, 255), 0.3) 1%,
                    var(--main-color) 99%) !important;
            border: rgba(var(--main-color-rgb, 10, 169, 255), 0.3) !important;
            color: #fff !important;
        }

        .custom-tab .custom-tab-title.theme-btn-main-tab {
            box-shadow: 0 -2px 10px rgba(0, 0, 0, .14);
            position: relative;
            z-index: 1;
        }

        .odds-plus {
            color: #028aff;
            font-size: 14px;
            cursor: pointer;
            display: inline-block;
            width: 20px;
            height: 20px;
        }

        .odds-minus {
            color: #f82525;
            font-size: 14px;
            cursor: pointer;
            display: inline-block;
            width: 20px;
            height: 20px;
        }

        .odds-edit {
            display: inline-block;
            width: 40px;
            font-weight: bold;
            cursor: pointer;
            padding: 2px 8px;
        }

        

        
        input[type="radio"] {
            appearance: none;
            -webkit-appearance: none;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            border: 2px solid #ccc;
            outline: none;
            margin: 0 2px 0 0;
            vertical-align: middle;
            background: #fff;
            transition: border-color 0.2s;
            position: relative;
        }

        input[type="radio"]:checked {
            border-color: currentColor;
        }

        input[type="radio"]:checked::before {
            content: '';
            display: block;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: currentColor;
            position: absolute;
            top: 2px;
            left: 2px;
        }

        .top-container {
            width: 100vw;
            

            min-width: var(--x8-page-w);
            position: fixed;
            left: 0;
            top: 0;
            background: #fff;
            box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
            z-index: 999;
        }

        
        .layui-table td,
        .layui-table th {
            position: relative;
            padding: 2px 0;
            min-height: 36px;
            font-size: 14px;
        }

        .layui-form-checked[lay-skin=primary] i {
            border-color: var(--main-color) !important;
            background-color: var(--main-color) !important;
        }

        .layui-radio-checked .layui-icon,
        .layui-form-radioed>i {
            color: var(--main-color) !important;
        }

        .layui-input:focus,
        .layui-textarea:focus {
            border-color: var(--main-color) !important;
        }

        .layui-input,
        .layui-textarea {
            display: block;
            width: 200px;
            padding-left: 10px;
        }

        
        .layui-form-label {
            width: 100px;
        }

        .layui-form-radio:hover>*,
        .layui-form-radioed,
        .layui-form-radioed>i {
            color: var(--main-color) !important;
        }

        .layui-form-checkbox[lay-skin=primary]>i {
            left: 10px;
        }

        .layui-form-checkbox[lay-skin=primary] {
            padding-left: 30px;
        }

        .layui-form-checkbox[lay-skin=primary]>.layui-icon-indeterminate {
            border-color: var(--main-color) !important;
        }

        .layui-form-checkbox[lay-skin=primary]>.layui-icon-indeterminate:before {
            content: '';
            display: inline-block;
            vertical-align: middle;
            position: relative;
            width: 50%;
            height: 1px;
            margin: -1px auto 0;
            background-color: var(--main-color);
        }

        .layui-form-select dl dd.layui-this {
            background-color: #f8f8f8;
            color: var(--main-color);
            font-weight: 700;
        }

        .layui-layer-title {
            background-color: var(--main-color) !important;
            color: #fff !important;
            text-align: center;
            padding-left: 83px;
        }

        .layui-layer-setwin span {
            color: #fff !important;
        }

        
        .layui-laydate .layui-this,
        .layui-laydate .layui-this:hover,
        .layui-laydate .layui-laydate-footer span:hover,
        .layui-laydate .layui-laydate-footer span.layui-this {
            background-color: var(--main-color) !important;
            color: #fff !important;
        }

        .layui-laydate .layui-laydate-footer span {
            color: var(--main-color) !important;
        }

        .layui-laydate .layui-laydate-header i {
            color: var(--main-color) !important;
        }

        .layui-laydate .layui-this,
        .layui-laydate .layui-this>div {
            background-color: var(--main-color) !important;
            color: #fff !important;
        }

        
        .layui-form-switch.layui-form-onswitch {
            border-color: var(--main-color, #028aff) !important;
            background-color: var(--main-color, #028aff) !important;
        }

        .layui-form-switch {
            margin-top: 0 !important;
            margin-bottom: 0 !important;
            top: 50%;
            transform: translateY(-5%);
        }


        
        .layui-table td.ellipsis-cell {
            max-width: 180px;
            
            white-space: nowrap;
            
            overflow: hidden;
            
            text-overflow: ellipsis;
            
            cursor: pointer;
            
            position: relative;
            
            vertical-align: middle;
            
        }

        
        .layui-table td.ellipsis-cell .cell-expand-content {
            display: none;
            
            position: absolute;
            
            left: 0;
            top: 100%;
            z-index: 10;
            background: #fffbe6;
            
            color: #333;
            min-width: 180px;
            max-width: 480px;
            border: 1px solid #ffe58f;
            border-radius: 4px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
            padding: 10px 16px;
            word-break: break-all;
            
            white-space: pre-wrap;
            
        }

        
        .layui-table td.ellipsis-cell.expanded {
            overflow: visible;
            
            white-space: normal;
            
        }

        
        .layui-table td.ellipsis-cell.expanded .cell-expand-content {
            display: block;
        }

        .layui-form-item {
            margin-bottom: 10px;
        }

        


        
        .data-table {
            border-collapse: separate;
            border-spacing: 0;
            font-size: 13px;
        }

        .data-table th,
        .data-table td {
            padding: 3px 1px;
            text-align: center;
            border-bottom: 1px solid #eee;
        }

        .data-table th {
            font-weight: bold;
            color: #333;
            background: #f2f2f2;
        }

        .data-table tr:last-child td {
            border-bottom: none;
        }


        
        .data-table-area {
            display: flex;
            flex-direction: row;
            gap: 2px;
            align-items: flex-start;
            width: 100%;
            box-sizing: border-box;
        }

        .data-table {
            flex: 1;
            max-width: 100%;
            width: auto;
            box-sizing: border-box;
        }

        .data-table,
        .data-table th,
        .data-table td {
            border: 1px solid rgba(var(--main-color-rgb, 10, 169, 255), 0.3) !important;
        }

        .data-table {
            border-collapse: collapse !important;
        }

        .elfmap {
            width: 400px;
            height: 270px;
            background: linear-gradient(135deg, #eef2f6, #dbe3ec);
            border: 1px solid #ccc;
            background-size: 100% 100%;
        }

        .lock-icon {
            display: inline-block;
            width: 14px;
            height: 14px;
            background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23888'%3E%3Cpath d='M12 2a5 5 0 00-5 5v3H6a2 2 0 00-2 2v8a2 2 0 002 2h12a2 2 0 002-2v-8a2 2 0 00-2-2h-1V7a5 5 0 00-5-5zm-3 8V7a3 3 0 116 0v3H9z'/%3E%3C/svg%3E") no-repeat;
            background-size: contain;
        }

        .lock-open-icon {
            display: inline-block;
            width: 14px;
            height: 14px;
            background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2352c41a'%3E%3Cpath d='M12 2a5 5 0 00-5 5h2a3 3 0 116 0v3H6a2 2 0 00-2 2v8a2 2 0 002 2h12a2 2 0 002-2v-8a2 2 0 00-2-2h-1V7a5 5 0 00-5-5z'/%3E%3C/svg%3E") no-repeat;
            background-size: contain;
        }

        .t_btn {
            height: 30px;
        }

        .main-container {
            

            


            position: fixed;
            top: var(--x8-topbar-h, 165px);
            left: 0;
            right: 0;
            

            bottom: 38px;
            max-width: none;
            margin: 0;
            overflow-y: auto;
            

            overflow-x: auto;
        }

        

        .main-container .center {
            width: 100%;
            max-width: var(--x8-page-w);
            
            min-width: var(--x8-page-w);
        }

        .main-left {
            width: 200px;
            height: calc(100vh - 225px);
            min-width: 200px;
            margin-right: 5px;
            position: fixed;
            left: 0;
            top: 168px;
            border-right: 1px solid #eee;
            display: flex;
            flex-direction: column;
        }

        .header {
            height: 68px;
            color: white;
            box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .14);
        }

        .header-section {
            width: var(--x8-page-w);
        }

        .logo-area {
            min-width: 200px;
            display: flex;
            align-items: center;
            
            padding-left: 16px;
            gap: 10px;
        }

        .logo {
            margin-right: 10px;
            margin-left: 15px;
            display: flex;
            justify-content: center;
            align-items: center;
            color: white;
            font-weight: bold;
        }

        .logo img {
            height: 48px;
            width: 48px;
        }

        


        .lot-info {
            flex: 1;
            min-width: 0;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 2px;
        }

        .lot-name {
            font-size: 15px;
            font-weight: 700;
            letter-spacing: 1px;
        }

        .header .title {
            display: inline-block;
            line-height: 36px;
            font-size: 24px;
            font-weight: bold;
        }

        .theme-btn {
            width: 16px;
            height: 16px;
            border: 1px solid #fff;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
            cursor: pointer;
            outline: none;
            padding: 0;
        }

        .theme-btn.selected {
            border-color: #fff;
            
        }

        .layui-btn+.layui-btn {
            margin-left: 0;
        }

        .period {
            min-width: 300px;
        }

        

        .page-list>div {
            min-width: 60px;
            text-align: center;
        }

        .hover-item {
            border-radius: 14px;
            padding: 4px 8px;
            cursor: pointer;
            transition: all 0.2s;
        }

        .header .hover-item:hover {
            background: rgba(255, 255, 255, .16);
        }

        .page-list>div.active {
            background: #fff;
            color: var(--main-color);
            border-radius: 14px;
            font-weight: 700;
            box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
        }

        .header .page-list>div.active:hover {
            background: #fff;
        }

        
        .tab-btn {
            display: inline-block;
            padding: 4px 7px;
            margin-right: 3px;
            border-radius: 14px;
            border: none;
            background: rgba(var(--main-color-rgb, 10, 169, 255), 0.15) !important;
            color: #000;
            font-size: 13px;
            cursor: pointer;
            transition: all 0.2s;
            outline: none;
        }

        .tab-btn:last-child {
            margin-right: 0;
        }

        .layui-table {
            margin-top: 0 !important;
        }

        .filter-table {
            width: 160px;
            margin-left: 5px;
        }

        .latest-note {
            width: 100%;
            height: 30px;
        }

        .game-types {
            width: 100%;
        }

        .type-btn {
            width: auto;
            height: 24px;
            padding: 3px 5px;
            background: rgba(var(--main-color-rgb, 10, 169, 255), 0.15) !important;
            border: none;
            cursor: pointer;
            color: var(--main-color) !important;
            font-weight: bold;
            border-radius: 4px;
            margin-right: 5px;
        }

        .type-btn.active {
            color: var(--main-color) !important;
            background: linear-gradient(180deg,
                    rgba(var(--main-color-rgb, 10, 169, 255), 0.1) 20%,
                    rgba(var(--main-color-rgb, 10, 169, 255), 0.31) 80%) !important;
            border: 1px solid var(--main-color) !important;
        }

        .type-text {
            height: 30px;
            line-height: 30px;
            padding-left: 10px;
            color: var(--main-color) !important;
            font-weight: bold;
        }

        .filter-tab-btn {
            height: 30px;
            flex: 1;
            cursor: pointer;
        }

        .filter-tab-btn.active {
            background: linear-gradient(180deg, #fff 2%, #ffcdb5);
            color: #ff5200;
        }

        .filter-td {
            display: inline-block;
            width: 30px;
            height: 30px;
            line-height: 30px;
            text-align: center;
            cursor: pointer;
            background: linear-gradient(180deg,
                    rgba(var(--main-color-rgb, 10, 169, 255), 0.01) 1%,
                    rgba(var(--main-color-rgb, 10, 169, 255), 0.03) 99%) !important;
            border: 1px solid rgba(var(--main-color-rgb, 10, 169, 255), 0.2);
            flex: 1;
            color: #333;
            font-weight: bold;
        }

        .tr_active {
            background: #fbbb55 !important;
        }

        .click-box {
            cursor: pointer;
        }

        .filter-table-content .layui-table tr,
        .filter-table-content .layui-table td {
            height: 28px !important;
            line-height: 28px !important;
            padding-top: 0 !important;
            padding-bottom: 0 !important;
        }

        #drawTime {
            color: #f82525;
            background: rgba(248, 37, 37, .2);
        }

        #closeTime,
        #openDate {
            color: #33c58a;
            background: rgba(51, 197, 138, .2);
        }

        #drawTime,
        #closeTime {
            padding: 2px 6px;
            border-radius: 4px;
        }

        .click-input {
            width: 60px;
            margin: 0 auto;
            height: 26px;
            text-align: center;
            border-radius: 4px;
            border: 1px solid rgba(var(--main-color-rgb, 10, 169, 255), 0.3) !important;
        }

        .t_header {
            font-weight: bold;
            font-size: 16px;
            text-align: center;
            border-bottom: none;
            
            
        }

        .game-type-btn {
            font-size: 13px;
            flex: 1;
            cursor: pointer;
            color: var(--main-color);
            border-right: 1px solid rgba(var(--main-color-rgb, 10, 169, 255), 0.2);
        }

        .game-type-btn:last-child {
            border-right: none;
        }

        .game-type-btn.active {
            background: linear-gradient(180deg,
                    rgba(var(--main-color-rgb, 10, 169, 255), 0.5) 10%,
                    rgba(var(--main-color-rgb, 10, 169, 255), 0.9) 90%) !important;
            color: #fff;
        }

        .game-btn-larger {
            font-size: 13px;
            flex: 1;
            cursor: pointer;
            color: var(--main-color);
            border: 1px solid rgba(var(--main-color-rgb, 10, 169, 255), 0.2);
            border-left: none;
        }

        .game-btn-larger:first-child {
            border-left: 1px solid rgba(var(--main-color-rgb, 10, 169, 255), 0.2);
        }

        .game-btn-larger.active {
            background: linear-gradient(180deg,
                    rgba(var(--main-color-rgb, 10, 169, 255), 0.5) 10%,
                    rgba(var(--main-color-rgb, 10, 169, 255), 0.9) 90%) !important;
            color: #fff;
            border-top: none;
        }


        .game-sub-btn {
            font-size: 13px;
            height: 30px;
            flex: 1;
            text-align: center;
            cursor: pointer;
        }

        .game-sub-btn.active {
            background: linear-gradient(180deg,
                    rgba(var(--main-color-rgb, 10, 169, 255), 0.5) 10%,
                    rgba(var(--main-color-rgb, 10, 169, 255), 0.9) 90%) !important;
            color: #fff;
        }

        
        #dynamic-tab-btns {
            min-height: 36px;
            align-items: center;
            padding-left: 200px;
            background: #fff;
            box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
        }

        

        #dynamic-tab-btns .custom-tab-title {
            cursor: pointer;
            padding: 4px 6px;
            margin-right: 2px;
            color: #414654;
            background: transparent;
            border: 0.8px solid #c2ccda;
            border-radius: 12px;
            font-size: 13px;
            font-weight: 400;
            line-height: normal;
        }

        #dynamic-tab-btns .custom-tab-title:hover {
            color: var(--main-color, #0aa9ff);
        }

        #dynamic-tab-btns .custom-tab-title.theme-diff-background {
            border-color: #c2ccda;
        }

        .money-bg {
            border-radius: 50%;
            text-align: center;
            width: 44px;
            height: 44px;
            line-height: 44px;
            margin-right: 10px;
            color: #fff;
            cursor: pointer;
            font-size: 14px;
            font-weight: 600;
            background: linear-gradient(180deg, #fff7e6, #ffe7ba);
        }

        .header-line {
            display: inline-block;
            height: 13px;
            border-right: 1px solid rgba(255, 255, 255, 0.5);
            margin: 0 2px;
        }

        
        .page-list .hover-item { padding: 4px 7px; font-size: 13px; }
        .page-list .header-line { margin: 0 2px; }

        

        .header-section > .flex-row-between { flex: 1; min-width: 0; }

        
        .header-right .flex-row-right-center { flex-wrap: nowrap; }
        .header-right .flex-row-right-center > * { flex-shrink: 0; white-space: nowrap; }
        #theme-switcher { display: inline-flex; flex-wrap: nowrap; flex-shrink: 0; align-items: center; }
        #theme-switcher .theme-btn { flex-shrink: 0; }

        

        #theme-switcher .theme-btn {
            width: 18px;
            height: 18px;
            border-radius: 3px;
            border: 0.8px solid #fff;
            box-shadow: none;
        }
        #theme-switcher .theme-btn + .theme-btn { margin-left: 4px; }
        #theme-switcher .theme-btn > span { font-size: 12px !important; }

        


        .custom-tab { padding-left: 10px; }
        .custom-tab .custom-tab-title {
            flex: none;
            width: 129px;
            height: 36px;
            line-height: 36px;
            padding: 0;
            margin: 0;
            border-radius: 0;
            text-align: center;
            font-size: 13px;
            font-weight: 600;
            color: #fff;
            position: relative;
        }
        .custom-tab .custom-tab-title:not(:last-child)::after {
            content: "";
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 1px;
            height: 18px;
            background: rgba(255, 255, 255, .28);
        }
        
        .custom-tab .custom-tab-title.theme-btn-main-tab { box-shadow: none; }

        
        #order-scroll-container::-webkit-scrollbar {
            width: 8px;
        }

        #order-scroll-container::-webkit-scrollbar-track {
            background: #f5f5f5;
            border-radius: 4px;
        }

        #order-scroll-container::-webkit-scrollbar-thumb {
            background: #d0d0d0;
            border-radius: 4px;
        }

        #order-scroll-container::-webkit-scrollbar-thumb:hover {
            background: #b0b0b0;
        }

        .dan {
            color: #fff;
            background: var(--main-color);
            text-align: right;
            border-radius: 3px;
            position: absolute;
            right: 0;
            top: 0;
            width: 22px;
            height: 22px;
            border-radius: 0 0 0 20px;
            display: none;
        }

        .dan.active {
            display: block;
        }

        .layui-layer-content {
            background: rgba(var(--main-color-rgb, 10, 169, 255), 0.06);
        }

        .sum-show {
            max-width: 600px;
            word-break: break-all;
        }

        .new-body {
            -webkit-box-sizing: border-box;
            box-sizing: border-box;
            min-height: 127px;
            overflow: hidden;
            overflow-y: auto;
            padding: 0 10px;
            height: 400px;
            position: relative;
        }

        .new-body .order-list {
            border-bottom: 1px solid rgba(var(--main-color-rgb, 10, 169, 255), 0.3);
            color: #361f17;
        }

        
        .new-body::-webkit-scrollbar {
            width: 8px;
            background: #ccc;
        }

        .new-body::-webkit-scrollbar-thumb {
            background: #e0e0e0;
            border-radius: 4px;
        }

        .new-body::-webkit-scrollbar-thumb:hover {
            background: #cccccc;
        }

        
        .new-body {
            scrollbar-width: thin;
            scrollbar-color: #9e9d9d #f5f5f5;
        }

        .show-all-btn {
            display: inline-block;
            width: 24px;
            height: 24px;
            cursor: pointer;
            transition: transform 0.2s;
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            bottom: -30px;
            z-index: 2;
            
        }

        .show-all-btn::before {
            content: '';
            display: block;
            width: 0;
            height: 0;
            margin: auto;
            border-left: 10px solid transparent;
            border-right: 10px solid transparent;
            border-top: 10px solid var(--main-color);
            border-bottom: 0;
            transition: transform 0.2s;
        }

        .show-all-btn.expanded::before {
            transform: rotate(180deg);
        }