        /* 页面基础样式，包括布局、颜色、阴影等 */

        /* 内容区与顶栏的总宽。左右边界要严丝合缝对齐，两边只能读同一个值——原来是五处各写一个 1200，
           漏改一处就是顶栏比内容窄一截、或者弹层整体偏出去半个身位。
           吃这个值的：本文件的 .main-container .center 与 .header-section，
           x8sale.css 的 --x8-gutter（弹层/toast 跟内容居中）与 .x8-view-wide（规则页顶出宽度上限）。
           媒体查询里那两处 1200/1265 用不了变量，含义也不同，见各自注释。 */
        :root {
            --x8-page-w: 1255px;
        }

        /* 页面底色一律白 不跟皮肤走 */
        body {
            margin: 0;
            padding: 0;
            font-family: "Microsoft YaHei", sans-serif;
            background-color: #fff;
            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;
        }

        /* 美化滚动条（兼容 Chrome/Edge） */
        .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;
            /* border-bottom: 2px solid 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;
        }

        /* ················································· */

        /* 去掉原生 radio 的黑边和默认样式，仅保留主题色圆点 */
        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;
            /* 窗口比页宽窄时顶栏不收（收了会把退出、玩法规则截到屏幕外），横向滚动由 loader.js 跟着内容区挪 left。
               不能靠 overflow 滚：彩种与账号的下拉都挂在这层下面，一设 overflow 就被裁掉 */
            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样式覆盖·································· */
        .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 宽度为120px */
        .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;
        }


        /* 表格横向flex布局，自适应宽度 */
        .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 {
            /* 盘面自己带左右两栏，早先给 .main-left 留的那 200px 侧栏这个端根本没有，
               左边距与 .center 里那份 205px 预留都撤掉，整个 --x8-page-w 全给盘面 */
            /* 滚动区=顶栏以下、满宽的固定面板：滚动条落在窗口右边缘(像页面自带的)，
               且顶部正好从内容顶(顶栏下沿)开始，与滚动内容对齐。宽度约束交给内层 .center。
               实高由 loader.js 量出写进 --x8-topbar-h：玩法 tab 换行顶栏就不止 165。 */
            position: fixed;
            top: var(--x8-topbar-h, 165px);
            left: 0;
            right: 0;
            /* 底部固定的 .footer-bar(高34/ z999)钉在窗口最底，滚动面板底部停在它上方，
               否则滚到底时确定/重置那排被压在页脚下面看不到(Chrome 下 padding-bottom 在滚动底部会被忽略，只能靠 bottom 让位) */
            bottom: 38px;
            max-width: none;
            margin: 0;
            overflow-y: auto;
            /* 窗口比 --x8-page-w 窄时在这层出横向滚动条，照 SK78。原来是 hidden，
               窄屏下超出的盘面与右栏直接被裁，滚都滚不过去 */
            overflow-x: auto;
        }

        /* 不给底色：左栏/盘面/右栏各自是白卡，块之间那 4px 缝（.x8-shell 的 gap）要露出页面的灰底，
           这层再刷白就把缝填平了，三块又连成一片 */
        .main-container .center {
            width: 100%;
            max-width: var(--x8-page-w);
            /* 盘面是 flex:1，不设下限的话窗口每窄 1px 都扣在盘面上，1024 宽时金额框只剩 6px */
            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;
        }

        /* 期号那块占中间的剩余宽并允许被压：顶栏整条宽 --x8-page-w（与下面内容同宽），
           右边账号区是定宽的，中间这块不让它撑，右边界就会顶出去，和下面的内容对不上。
           SK78 那儿 logo 与期号块也是紧挨着的，没有这 60px 的空当。 */
        .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: 30px;
            font-weight: normal;
            letter-spacing: 2px;
            font-family: "STXingkai", "华文行楷", "STKaiti", "KaiTi", "楷体", serif;
            color: #e8d8a0;
            text-shadow: 1px 1px 0 rgba(0, 0, 0, .45), 2px 2px 0 rgba(0, 0, 0, .3), 2px 3px 5px rgba(0, 0, 0, .45);
        }

        .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;
            /* box-shadow: 0 0 0 2px #FFB800; */
        }

        .layui-btn+.layui-btn {
            margin-left: 0;
        }

        .period {
            min-width: 300px;
        }

        /* 旧开奖球的 30px 方规则已废：.period 现在放的是有自身尺寸的开奖球，强制 30px 会把球容器/生肖/+ 一起压变形 */

        .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按钮样式，间距15px，跟随主题色 */
        .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;
            /* padding: 2px 0; */
            /* background: rgba(var(--main-color-rgb, 10, 169, 255), 0.1); */
        }

        .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;
        }

        /* 玩法族那条照 SK78 .head-nav：通栏 36 高白底、0 2 4 阴影，按钮从 200 起 */
        #dynamic-tab-btns {
            min-height: 36px;
            align-items: center;
            padding-left: 200px;
            background: #fff;
            box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
        }

        /* 按钮照 SK78 .head-item：内距 4/6、右距 2、0.8 #c2ccda 边、圆角 12、未选中 #414654 无底；
           选中只换主题渐变底白字，边不变、不浮起 */
        #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;
        }

        /* 菜单栏目间距收紧、字号对齐 SK78 13px（只作用于菜单行，不动顶部那排与用户名） */
        .page-list .hover-item { padding: 4px 7px; font-size: 13px; }
        .page-list .header-line { margin: 0 2px; }

        /* 顶栏整条与下面的内容同宽同左右边界（都读 --x8-page-w）：中间那层得让它收，
           不然右边账号区顶出去，顶栏比下面的内容宽出一截，上下就对不齐了 */
        .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; }

        /* 主题色块照 SK78：18×18、圆角 3、白描边、间隔 5，选中的里面压一个 12px 的白勾。
           原来是 16×16、圆角 2、彼此紧挨着，勾 16px 把方块塞满。 */
        #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; }

        /* 彩种 tab 照 SK78：每个定宽 129×36、直角、13/600、未选中纯白字，
           右缘一条 1×18 的竖线分隔（SK78 是真塞了个 span，这儿用 ::after 画）。
           只管顶栏这一条，下面 #dynamic-tab-btns 的玩法 tab 不动。 */
        .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);
        }
        /* 选中那格是白底 + 主题色字（theme.css 的 .theme-btn-main-tab 给的），SK78 没有投影 */
        .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;
        }

        /* Firefox */
        .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;
            /* 保证紧贴new-body底部居中 */
        }

        .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);
        }