



:root {
  --ok-color: #52c41a;
  --ok-bg: #f3fbf6;
  --warn-color: #faad14;
  --danger-color: #e54d42;
  --danger-bg: #fef4f3;
  
  --profit-color: #2f86f6;
}


body { background-color: #eef1f6 !important; font-family: Tahoma, 微软雅黑, sans-serif; }



body .header { background-color: var(--header-bg) !important; background-repeat: no-repeat; background-size: cover; box-shadow: 0 1px 0 rgba(0, 0, 0, .18); }
body.theme-orange .header { background-image: url("../img/nav-bg.png") !important; background-position: center !important; }
body .header .header-box { background: transparent !important; background-image: none !important; height: 34px !important; padding: 0 22px !important; }


.logo-area .logo img { display: none !important; }


.brand-img { height: 28px; width: auto; max-width: 160px; object-fit: contain; background: transparent; border-radius: 0; box-shadow: none; }
.brand-name { color: #fff; font-size: 20px; font-weight: 700; letter-spacing: 0; }

.logo-area { gap: 5px; }

.header-right, .header-right .dropdown-base1, .header-right .header-user, .header-right .layui-icon { color: rgba(255, 255, 255, .92) !important; }



.theme-switcher { display: flex; align-items: center; gap: 5px; }
body .theme-btn {
  position: relative; width: 16px !important; height: 16px !important;
  border-radius: 2px !important; border: 1px solid #fff !important;
  box-shadow: none !important; padding: 0 !important; transition: transform .15s;
}
body .theme-btn:hover { transform: scale(1.15); }

body .theme-btn.selected::after {
  content: ''; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.theme-btn > span { display: none !important; }





.tabs .menu-item, .tabs .layui-tab-title li { color: #fff; }
body .tabs { padding: 0 !important; }
body .tabs .menu-item, body .tabs .layui-tab-title li { width: 100px !important; padding: 0 !important; margin: 0 !important; text-align: center; border-bottom: none !important; box-shadow: none !important; }



.main-content { background: #eef1f6; padding: 3px 20px 18px; box-sizing: border-box; }


.main-content > div { padding: 0 !important; }
body .layui-table thead th { background: #f5f7fa !important; color: #3a4256 !important; font-weight: 600 !important; }


.main-content .custom-tab-search-area { background: #fff !important; border-radius: 10px !important; padding: 13px 16px !important; box-shadow: 0 2px 8px rgba(20, 40, 80, .05); margin-bottom: 14px !important; }

.main-content .custom-tab-search-area select, .main-content .custom-tab-search-area input { height: 32px !important; border: 1px solid #dce1e6 !important; border-radius: 5px !important; box-sizing: border-box; }
.main-content .custom-tab-search-area select:focus, .main-content .custom-tab-search-area input:focus { border-color: var(--main-color) !important; }
.main-content .table-area { background: #fff; border-radius: 12px; box-shadow: 0 2px 8px rgba(20, 40, 80, .05); padding: 6px; overflow-x: auto; }
.main-content .table-area .layui-table { margin: 0; }
.main-content .layui-table tbody tr:nth-child(even) { background: #fafbfd; }
.main-content .layui-table tbody tr:hover { background: rgba(var(--main-color-rgb), .07) !important; }
.main-content .layui-btn { border-radius: 6px; }
.layui-laypage a:hover, .layui-laypage .layui-laypage-em { color: var(--main-color); }
.layui-laypage .layui-laypage-curr .layui-laypage-em { background: var(--main-color) !important; }


.layui-layer.layui-layer-page { border-radius: 12px !important; box-shadow: 0 16px 48px rgba(20, 40, 80, .20) !important; }
.layui-layer-page .layui-layer-title { background: #f7f9fc !important; color: #1f2d3d !important; font-weight: 600 !important; border-bottom: 1px solid #eef1f6 !important; border-radius: 12px 12px 0 0 !important; }
.layui-layer-page .layui-layer-btn { border-top: 1px solid #eef1f6; padding: 12px 18px 14px !important; }
.layui-layer-page .layui-layer-btn a { border-radius: 6px !important; height: 32px; line-height: 30px; padding: 0 18px; }
.layui-layer-page .layui-layer-btn .layui-layer-btn0 { background: var(--main-color) !important; border-color: var(--main-color) !important; color: #fff !important; }
.layui-layer-page .layui-layer-setwin { top: 15px; right: 15px; }


.layui-layer-page .layui-layer-content input:not([type=checkbox]):not([type=radio]),
.layui-layer-page .layui-layer-content select { border-radius: 5px !important; }
.layui-layer-page .layui-layer-content .layui-btn { border-radius: 6px; }


.main-content .search-area { background: #fff !important; border-radius: 10px !important; padding: 13px 16px !important; box-shadow: 0 2px 8px rgba(20, 40, 80, .05); margin: 0 0 14px !important; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.main-content .search-area > span { color: #5a6478; font-size: 14px; }
.main-content .search-area select, .main-content .search-area input { height: 32px !important; border: 1px solid #dce1e6 !important; border-radius: 5px !important; box-sizing: border-box; }
.main-content .search-area select:focus, .main-content .search-area input:focus { border-color: var(--main-color) !important; }

.main-content .form-area { background: #fff !important; border-radius: 12px !important; box-shadow: 0 2px 8px rgba(20, 40, 80, .05); padding: 20px 24px !important; margin: 0 0 14px !important; }
.main-content .form-area input, .main-content .form-area select { border-radius: 5px !important; }
.main-content .form-area input:focus, .main-content .form-area select:focus { border-color: var(--main-color) !important; }

.main-content .form-area > div[style*="border-left"] { border-left-color: var(--main-color) !important; }

.main-content .tip-area { background: rgba(var(--main-color-rgb), .07) !important; border-radius: 8px !important; padding: 10px 14px !important; margin: 0 0 14px !important; color: #5a6478 !important; font-size: 13px !important; border-left: 3px solid var(--main-color); }


.main-content .table-area { margin: 0 !important; }


.main-content .immediatelyBill .search-area { margin: 0 0 14px !important; }

.main-content .immediatelyBill .search-area > div { background: transparent !important; padding: 0 !important; border-radius: 0 !important; }

.main-content .immediatelyBill .feed-area > div,
.main-content .immediatelyBill .right-area > div { background: #fff !important; border-radius: 12px !important; box-shadow: 0 2px 8px rgba(20, 40, 80, .05); padding: 14px 16px !important; }
.main-content .immediatelyBill .right-area > div + div { margin-top: 14px !important; }
.main-content .immediatelyBill .feed-area .layui-table,
.main-content .immediatelyBill .right-area .layui-table { margin: 10px 0 0 !important; }


.main-content .immediatelyBill .board-area,
.main-content .repAccount .board-area,
.main-content .billsSearch .stat-area { margin: 0 0 14px !important; }
.main-content .immediatelyBill .board-area > div,
.main-content .repAccount .board-area > div,
.main-content .billsSearch .stat-area > div { background: rgba(var(--main-color-rgb), .07) !important; border-radius: 12px !important; padding: 14px 18px !important; font-size: 14px; }
.main-content .immediatelyBill .board-area > div b,
.main-content .repAccount .board-area > div b,
.main-content .billsSearch .stat-area > div b { color: var(--main-color); }


.main-content .info { background: #fff !important; border-radius: 12px !important; box-shadow: 0 2px 8px rgba(20, 40, 80, .05); padding: 22px 26px !important; margin: 0 !important; }
.main-content .info h3 { color: var(--main-color) !important; }


.main-content .overview-area, .main-content .crumb-area { margin: 0 0 14px !important; }
.main-content .overview-area > div > div { background: rgba(var(--main-color-rgb), .07) !important; border-radius: 12px !important; }
.main-content .agents-area, .main-content .category-area { background: #fff !important; border-radius: 12px !important; box-shadow: 0 2px 8px rgba(20, 40, 80, .05); padding: 14px 16px !important; margin: 0 0 14px !important; }


.main-content .bar-area { margin: 0 0 14px !important; }



.custom-tab-box > .custom-tab:empty { display: none; }

body { --bar-bg: #351c0c; --bar-fg: #d8bb99; --bar-on: #f1a700; --bar-sep: #583b20; --bar-line: #dbbc9d;
  --bar-btn: linear-gradient(180deg, #d88700, #593200); }
body.theme-default { --bar-bg: #0b4a7e; --bar-fg: #b7dbf6; --bar-on: #ffd24a; --bar-sep: #28679b; --bar-line: #9cc9ea;
  --bar-btn: linear-gradient(180deg, #36afff, #1594f5); }
body.theme-green { --bar-bg: #223f18; --bar-fg: #c3d9b8; --bar-on: #f5c542; --bar-sep: #3d5f31; --bar-line: #b7d1ac;
  --bar-btn: linear-gradient(180deg, #7ac665, #2d5125); }
body.theme-deepblue { --bar-bg: #0d2c52; --bar-fg: #a6c0dd; --bar-on: #ffc94a; --bar-sep: #24507f; --bar-line: #9db6d3;
  --bar-btn: linear-gradient(180deg, #1963b7, #023f77); }
body.theme-dark { --bar-bg: #3a3f4d; --bar-fg: #cfd5e3; --bar-on: #ffd76a; --bar-sep: #555c6e; --bar-line: #c3c9d6;
  --bar-btn: linear-gradient(180deg, #7d92bd, #4b5670); }



.custom-tab-box { background: var(--bar-bg); margin: 0; padding: 0 3px; border-bottom: none; }
.custom-tab-box > .custom-tab { overflow: visible; height: 32px; align-items: flex-end; }
body .custom-tab-title { position: relative; min-width: 94px; height: 31px; line-height: 31px; padding: 0 12px !important;
  box-sizing: border-box; text-align: center; margin: 0; border: none !important; border-radius: 0;
  font-size: 14px; color: var(--bar-fg) !important; background: transparent !important; }
body .custom-tab-title + .custom-tab-title::before { content: ''; position: absolute; left: 0; top: 9px; width: 1px; height: 13px; background: var(--bar-sep); }
body .custom-tab-title.selected::before, body .custom-tab-title.selected + .custom-tab-title::before { display: none; }
body .custom-tab-title:hover { color: #fff !important; background: transparent !important; }
body .custom-tab-title.selected { color: #fff !important; font-weight: 700; background-image: var(--bar-btn) !important; }



.companyList > .tab-area:not(:empty) { margin: -3px -20px 3px; padding: 0 3px; background: var(--bar-bg); }
.companyList .x8-utabs { height: 32px; align-items: flex-end; flex-wrap: nowrap; gap: 0; margin: 0; border-bottom: none; }
.companyList .x8-utabs .x8-tab { position: relative; min-width: 94px; height: 31px; line-height: 31px; padding: 0 12px;
  box-sizing: border-box; text-align: center; margin: 0; border: none; font-size: 14px; color: var(--bar-fg); background: transparent; }
.companyList .x8-utabs .x8-tab + .x8-tab::before { content: ''; position: absolute; left: 0; top: 9px; width: 1px; height: 13px; background: var(--bar-sep); }
.companyList .x8-utabs .x8-tab.on::before, .companyList .x8-utabs .x8-tab.on + .x8-tab::before { display: none; }
.companyList .x8-utabs .x8-tab:hover { color: #fff; }
.companyList .x8-utabs .x8-tab.on { color: #fff; font-weight: 700; background-image: var(--bar-btn); }


.layui-layer-page .layui-layer-content [style*="f7f8fa"] { background: rgba(var(--main-color-rgb), .06) !important; }
.layui-layer-page .layui-layer-content textarea { border-radius: 6px !important; }
.layui-layer-page .layui-layer-content input:focus,
.layui-layer-page .layui-layer-content select:focus,
.layui-layer-page .layui-layer-content textarea:focus { border-color: var(--main-color) !important; }


.layui-layer-page .layui-layer-content .layui-table {
  border-collapse: separate; border-spacing: 0; border: 1px solid #eef1f5;
  border-radius: 8px; overflow: hidden;
}
.layui-layer-page .layui-layer-content .layui-table th,
.layui-layer-page .layui-layer-content .layui-table td { border: 0 !important; border-bottom: 1px solid #eef1f5 !important; }
.layui-layer-page .layui-layer-content .layui-table thead th { border-bottom-width: 2px !important; }
.layui-layer-page .layui-layer-content .layui-table tbody tr:last-child td { border-bottom: 0 !important; }


.main-content .layui-table td.fixedColor { color: var(--main-color); }
.main-content .layui-table td [data-action] { color: var(--main-color); cursor: pointer; transition: opacity .15s; }
.main-content .layui-table td [data-action]:hover { opacity: .66; }


.main-content .layui-table,
.main-content .layui-table tr,
.main-content .layui-table th,
.main-content .layui-table td { border-color: #eef1f5 !important; }
.main-content .layui-table th,
.main-content .layui-table td { border-left: 0 !important; border-right: 0 !important; border-top: 0 !important; }
.main-content .layui-table td { padding-top: 7px !important; padding-bottom: 7px !important; }
.main-content .layui-table thead th { border-bottom-width: 2px !important; }
.main-content .layui-table tbody tr:last-child td { border-bottom: 0 !important; }

.main-content .user-table-pagination { margin-top: 4px; }
.main-content .user-table-pagination select { border-radius: 6px !important; border-color: #dfe3ea !important; height: 32px !important; }
.main-content .user-table-pagination .page-btn { border-radius: 6px !important; }




body .header { position: sticky; top: 0; z-index: 900; }
body .header .header-box { height: 34px !important; }
body .theme-btn { width: 16px !important; height: 16px !important; }

body .tabs { position: sticky; top: 34px; z-index: 890; }
body .tabs .menu-item, body .tabs .layui-tab-title li { font-size: 16px !important; line-height: 36px !important; height: 36px !important; }
body .tabs .layui-tab-title { height: 36px !important; }

body .tabs .tab-act { display: inline-block; flex: none; cursor: pointer; user-select: none; }



.immediatelyBill > .bd-panel { margin-top: 0; }


.immediatelyBill > .cz-area:not(:empty) { margin: -3px -20px 0; background: var(--bar-bg); }
.immediatelyBill .x8-bd-czs { display: flex; gap: 0 !important; padding: 0 3px !important; }
.immediatelyBill .x8-bd-cz { position: relative; width: 100px; height: 45px; padding: 0; border: none;
  display: flex; flex-direction: column; justify-content: center; line-height: 19px; }
.immediatelyBill .x8-bd-cz::after { content: ''; position: absolute; right: 0; top: 9px; width: 1px; height: 27px; background: var(--bar-sep); }
.immediatelyBill .x8-bd-cz .nm, .immediatelyBill .x8-bd-cz em { font-size: 14px; font-weight: 500; color: var(--bar-fg); }
.immediatelyBill .x8-bd-cz.on .nm, .immediatelyBill .x8-bd-cz.on em { color: var(--bar-on); }
.immediatelyBill > .cz-area:not(:empty) + .bd-panel { margin-top: 3px; }




.bd-panel { --bd-line: var(--bd-line); background: #fff; border: 1px solid #e2e7ee; border-radius: 0; margin: 6px 0 0; overflow: hidden; }
@supports (background: color-mix(in srgb, red 10%, white)) {
  .bd-panel { --bd-line: color-mix(in srgb, var(--main-color) 28%, #fff); }
}
.bd-panel > .play-area:not(:empty), .bd-panel > .sub-area:not(:empty) { border-bottom: 1px solid #eef1f5; padding: 6px 10px; }
.bd-panel > .bd-bar { border-bottom: 1px solid #eef1f5; margin: 0 !important; }
.bd-panel > .bd-main { padding: 8px 10px 10px; margin: 0 !important; }
.bd-panel .x8-bd-bar { padding: 5px 10px !important; }

.bd-panel .x8-bd-card { border: none; box-shadow: none; margin-bottom: 8px; }
.bd-panel .x8-tb-wrap { border: 1px solid var(--bd-line); box-shadow: none; }


.bd-panel .x8-bd-card .x8-card-hd + .x8-card-bd .x8-tb th { border-top: 1px solid var(--bd-line); }
.bd-panel .x8-bd-aside .x8-tb th, .bd-panel .x8-bd-aside .x8-tb td { border-right: 1px solid var(--bd-line); }
.bd-panel .x8-bd-aside .x8-tb th:last-child, .bd-panel .x8-bd-aside .x8-tb td:last-child { border-right: none; }


.bd-panel .x8-tabs { border-bottom: none; gap: 6px; margin: 0; }
.bd-panel .x8-tabs .x8-tab { padding: 4px 14px; font-size: 13px; border: 1px solid var(--bd-line); border-radius: 3px;
  background: #f7f9fc; color: #4a5568; margin-bottom: 0; }
.bd-panel .x8-tabs .x8-tab:hover { border-color: var(--main-color); color: var(--main-color); }
.bd-panel .x8-tabs .x8-tab.on { background: var(--main-color); border-color: var(--main-color); color: #fff; font-weight: 400; }


.x8-bd-extremes { display: flex; justify-content: center; gap: 40px; padding: 8px 12px; font-size: 13px; color: #666; }
.x8-bd-ex-i { display: inline-flex; align-items: center; gap: 2px; }
.bd-panel .x8-bd-note { text-align: center; }



.bd-panel .x8-bd-smodds-h { width: 168px; }
.bd-panel .x8-bd-tbwrap .x8-bd-oddsbox { justify-content: center; }



.x8-bd-cd { color: #6b7683; }
.x8-bd-cd .x8-bd-cd-lbl { font-style: normal; }
.x8-bd-cd .x8-bd-cd-close { color: var(--danger-color, #e54d42); font-weight: 700; }

.x8-bd-cd.x8-bd-cd-off { background: #eef1f5; color: #8a95a1; border-radius: 2px; padding: 1px 6px; }








.bd-panel .x8-bd-grid, .bd-panel .x8-bd-secrow, .bd-panel .x8-bd-tiers { border-color: var(--bd-line); }


.bd-panel .x8-bd-subhost:not(:empty) { margin-bottom: 4px; }
.bd-panel .x8-bd-gcol .x8-tb th, .bd-panel .x8-bd-gcol .x8-tb td,
.bd-panel .x8-bd-seccol .x8-tb th, .bd-panel .x8-bd-seccol .x8-tb td { border-right-color: var(--bd-line); border-bottom-color: var(--bd-line); }
.bd-panel .x8-bd-gcol + .x8-bd-gcol, .bd-panel .x8-bd-seccol + .x8-bd-seccol { border-left-color: var(--bd-line); }


.bd-panel .x8-tb th, .bd-panel .x8-bd-sechd, .bd-panel .x8-bd-card .x8-card-hd { background: #eef0f8; }
.bd-panel .x8-tb th, .bd-panel .x8-bd-sechd { color: #4a5568; }


.bd-panel .x8-bd-gcol .x8-tb td.x8-bd-td-item,
.bd-panel .x8-bd-seccol .x8-tb td.x8-bd-td-item,
.bd-panel .x8-bd-smcol .x8-tb td.x8-bd-td-item,
.bd-panel .x8-bd-rank .x8-tb td.x8-bd-td-item,
.bd-panel .x8-bd-seq { background: #f4f6fb; }
@supports (background: color-mix(in srgb, red 10%, white)) {
  .bd-panel .x8-bd-gcol .x8-tb td.x8-bd-td-item,
  .bd-panel .x8-bd-seccol .x8-tb td.x8-bd-td-item,
  .bd-panel .x8-bd-smcol .x8-tb td.x8-bd-td-item,
  .bd-panel .x8-bd-rank .x8-tb td.x8-bd-td-item,
  .bd-panel .x8-bd-seq,
  
  .bd-panel .x8-tb th,
  .bd-panel .x8-bd-sechd,
  .bd-panel .x8-bd-card .x8-card-hd,
  
  .bd-panel .x8-tabs .x8-tab:not(.on) { background: color-mix(in srgb, var(--main-color) 10%, #fff); }
}



.bd-panel .x8-bd-gcol .x8-tb tbody tr:last-child td { border-bottom: 1px solid var(--bd-line); }

.bd-panel .x8-bd-smgrid { gap: 8px; align-items: start; }
.bd-panel .x8-bd-smcol { border: 1px solid var(--bd-line); border-radius: 3px; overflow: hidden; }
.bd-panel .x8-bd-smcol .x8-tb th,
.bd-panel .x8-bd-smcol .x8-tb td { border-right: 1px solid var(--bd-line) !important; border-bottom: 1px solid var(--bd-line) !important; padding: 4px 8px !important; }
.bd-panel .x8-bd-smcol .x8-tb th:last-child,
.bd-panel .x8-bd-smcol .x8-tb td:last-child { border-right: none !important; }
.bd-panel .x8-bd-smcol .x8-tb tbody tr:last-child td { border-bottom: none !important; }
.bd-panel .x8-bd-smcol .x8-tb th { color: #4a5568; padding: 6px 8px !important; }

.bd-panel .x8-bd-smcol .x8-bd-seq { width: 52px; }
.bd-panel .x8-bd-smcol .x8-bd-td-item { width: 62px; }
.bd-panel .x8-bd-smcol .x8-bd-smodds-h { width: 169px; }

.bd-panel .x8-bd-tbwrap .x8-tb th,
.bd-panel .x8-bd-tbwrap .x8-tb td { border-right: 1px solid var(--bd-line); border-bottom: 1px solid var(--bd-line); }
.bd-panel .x8-bd-tbwrap .x8-tb th:last-child,
.bd-panel .x8-bd-tbwrap .x8-tb td:last-child { border-right: none; }
.bd-panel .x8-bd-tbwrap { border-color: var(--bd-line); }


.bd-panel .x8-bd-card .x8-card-hd { border: 1px solid var(--bd-line); border-bottom: none; text-align: left; padding: 6px 12px; }



.bd-panel .x8-bd-card .x8-card-bd { padding: 0 !important; }

.bd-panel .x8-bd-tbwrap { border-radius: 4px; }
.bd-panel .x8-bd-card .x8-card-hd { border-radius: 4px 4px 0 0; border-bottom: none; }
.bd-panel .x8-bd-card .x8-card-hd + .x8-card-bd .x8-tb-wrap { border-radius: 0 0 4px 4px; border-top: none; }

.bd-panel .x8-bd-smcol .x8-tb tbody tr:last-child td { border-bottom: 1px solid var(--bd-line) !important; }
.bd-panel .x8-bd-smcol .x8-tb { border-bottom: none; }



.bdside-area .x8-bd-side { border: none !important; border-radius: 4px; }
.bdside-area .x8-bd-sd-bd { border: 1px solid var(--bd-line); border-top: none; border-radius: 0 0 4px 4px; }




.bd-panel .bd-main { position: relative; }
.bd-panel .bd-main.x8-bd-busy > * { pointer-events: none; }




.bd-panel .x8-bd-oddsbox { position: relative; padding: 2px 0; }
.bd-panel .x8-bd-odds { font-weight: 700; }







.bd-panel .x8-bd-step { position: relative; width: 16px; height: 16px; padding: 0; background: none;
  font-size: 0; border-radius: 0; border: none; flex: none; cursor: pointer;
  zoom: var(--x8-unzoom, 1); }
.bd-panel .x8-bd-step[data-bd$="odds-up"] { color: #e54d42; }
.bd-panel .x8-bd-step[data-bd$="odds-down"] { color: #1e50a0; }
.bd-panel .x8-bd-step::before, .bd-panel .x8-bd-step::after { content: ""; position: absolute;
  left: 50%; top: 50%; background: currentColor; transform: translate(-50%, -50%); }
.bd-panel .x8-bd-step::before { width: 9px; height: 2px; }
.bd-panel .x8-bd-step[data-bd$="odds-up"]::after { width: 2px; height: 9px; }

.bd-panel .x8-bd-step-off,
.bd-panel .x8-bd-step-off:hover,
.bd-panel .x8-bd-step[disabled] { color: #cdd2da !important; cursor: not-allowed; }


.x8-odpop { position: absolute; z-index: 9999; width: 200px; background: #fff; border: 1px solid var(--main-color);
  border-radius: 4px; box-shadow: 0 6px 20px rgba(20, 40, 80, .22); font-size: 13px; }

.x8-odpop-arw { position: absolute; width: 0; height: 0; border: 7px solid transparent; }
.x8-odpop-arw { top: -7px; margin-left: -7px; border-top-width: 0; border-bottom-color: var(--main-color); }
.x8-odpop.x8-odpop-up .x8-odpop-arw { top: auto; bottom: -7px; border-top-width: 7px; border-top-color: var(--main-color); border-bottom-width: 0; }

.x8-odpop-in::-webkit-outer-spin-button, .x8-odpop-in::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.x8-odpop-hd { background: var(--main-color); color: #fff; font-weight: 600; text-align: center; padding: 6px 10px; border-radius: 3px 3px 0 0; }
.x8-odpop-bd { padding: 10px 12px; }
.x8-odpop-nm { text-align: center; font-weight: 700; color: #1f2d3d; margin-bottom: 8px; }
.x8-odpop-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; color: #6b7683; }
.x8-odpop-row b { color: #1f2d3d; }
.x8-odpop-in { flex: 1; width: 0; height: 30px; border: 1px solid #dce1e6; border-radius: 4px; padding: 0 8px; text-align: center; font-size: 14px; font-weight: 700; color: var(--main-color); outline: none; }
.x8-odpop-in:focus { border-color: var(--main-color); box-shadow: 0 0 0 2px rgba(var(--main-color-rgb), .12); }
.x8-odpop-ops { display: flex; gap: 8px; margin-top: 4px; }
.x8-odpop-ops button { flex: 1; height: 30px; border-radius: 4px; cursor: pointer; font-size: 13px; border: 1px solid #dce1e6; background: #fff; color: #5a6478; }
.x8-odpop-ok { background: var(--main-color) !important; border-color: var(--main-color) !important; color: #fff !important; }
.x8-odpop-ok:hover { filter: brightness(1.06); }
.x8-odpop-no:hover { border-color: var(--main-color); color: var(--main-color); }

.x8-bd-tuo { font-style: normal; color: #1e7ff0; margin: 0 4px; }

.bd-panel .x8-bd-num, .bd-panel .x8-bd-tiern, .bd-panel .x8-bd-cbprofit,
.bd-panel .x8-bd-amt { overflow-wrap: anywhere; }

.x8-rppop { width: 240px; }
.x8-rppop .x8-odpop-row { justify-content: flex-start; margin-bottom: 6px; }
.x8-rppop .x8-odpop-row > span { flex: 0 0 60px; text-align: right; }
.x8-rppop .x8-odpop-row > b { flex: 1; min-width: 0; font-weight: 400; word-break: break-all; }
.x8-rppop .x8-odpop-in { height: 28px; text-align: left; font-size: 13px; font-weight: 400; color: #1f2d3d; }
.x8-rppop select.x8-odpop-in { padding: 0 4px; background: #fff; }
.x8-rppop .x8-rp-max { color: var(--main-color); cursor: pointer; text-decoration: underline; }
.x8-rppop .x8-odpop-ok[disabled] { opacity: .5; cursor: not-allowed; }
.x8-rppop .x8-rp-msg { color: #e54d42; font-size: 12px; margin: -2px 0 6px 68px; }

.x8-rppop .x8-rp-loading { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 8px; background: rgba(255, 255, 255, .86); border-radius: 4px; color: var(--main-color); font-size: 13px; }
.x8-rppop .x8-rp-loading .layui-icon { font-size: 26px; }

.x8-bd-tr { position: absolute; background: #e54d42; z-index: 9; opacity: 0; }
.x8-bd-tr.t { left: 0; top: 0; height: 2px; width: 0; }
.x8-bd-tr.b { right: 0; bottom: 0; height: 2px; width: 0; }
.x8-bd-tr.l { left: 0; top: 0; width: 2px; height: 0; }
.x8-bd-tr.r { right: 0; bottom: 0; width: 2px; height: 0; }
.x8-bd-oddsbox.x8-bd-down-anim .x8-bd-tr { background: #12d664; }
.x8-bd-oddsbox.x8-bd-anim .x8-bd-tr { opacity: 1; }
.x8-bd-oddsbox.x8-bd-anim .x8-bd-tr.t, .x8-bd-oddsbox.x8-bd-anim .x8-bd-tr.b { animation: x8-tr-w 1s ease; }
.x8-bd-oddsbox.x8-bd-anim .x8-bd-tr.l, .x8-bd-oddsbox.x8-bd-anim .x8-bd-tr.r { animation: x8-tr-h 1s ease; }
@keyframes x8-tr-w { 0% { width: 0; } 50% { width: 100%; } 100% { width: 100%; opacity: 0; } }
@keyframes x8-tr-h { 0% { height: 0; } 50% { height: 100%; } 100% { height: 100%; opacity: 0; } }



.x8-bd-label.x8-c-red, .x8-bd-rknum.x8-c-red { color: #d0271a; font-weight: 600; }
.x8-bd-label.x8-c-blue, .x8-bd-rknum.x8-c-blue { color: #1565c0; font-weight: 600; }
.x8-bd-label.x8-c-green, .x8-bd-rknum.x8-c-green { color: #2e7d32; font-weight: 600; }


.x8-bd-ex-i.up .x8-bd-flat, .x8-bd-ex-i.up .x8-bd-up, .x8-bd-ex-i.up .x8-bd-down { color: #2e7d32 !important; }
.x8-bd-ex-i.down .x8-bd-flat, .x8-bd-ex-i.down .x8-bd-up, .x8-bd-ex-i.down .x8-bd-down { color: #d0271a !important; }


.bd-panel .x8-tb th, .bd-panel .x8-tb td,
.bd-panel .x8-bd-td-item, .bd-panel .x8-bd-num, .bd-panel .x8-bd-td-nums { text-align: center !important; }

.bd-panel .x8-bd-td-nums { white-space: normal; }







.bd-panel .x8-tb td.x8-bd-oddstd:not(.x8-bd-gcell) { padding: 0 !important; height: 1px; }

.bd-panel .x8-bd-oddsbox { display: flex; width: 100%; height: 100%; box-sizing: border-box;
  align-items: center; justify-content: space-between; padding: 4px 10px; }
.bd-panel .x8-bd-gcell .x8-bd-oddsbox { height: auto; padding: 1px 4px; }
.bd-panel .x8-bd-oddsbox .x8-bd-odds { flex: 1; text-align: center; }

.bd-panel .x8-bd-oddsbox-t { height: auto; padding: 1px 4px; }
.bd-panel .x8-bd-oddsbox-t + .x8-bd-oddsbox-t { border-top: 1px dashed #e7ebf0; }






.main-content .search-area.x8-sa-head {
  border-radius: 0 !important; margin-bottom: 0 !important;
  box-shadow: none !important; border-bottom: 1px solid #edf0f5;
  
  padding: 0 !important; overflow: hidden;
}
.main-content .search-area.x8-sa-head > .x8-filter {
  flex: 1; border: none; border-radius: 0; box-shadow: none; margin: 0; padding: 7px 16px;
}

.main-content .search-area ~ .crumb-area:not(:empty),
.main-content .search-area ~ .stat-area:not(:empty),
.main-content .search-area ~ .quota-area:not(:empty),
.main-content .search-area ~ .board-area:not(:empty) {
  background: #fff !important; margin: 0 !important; padding: 10px 16px !important;
  border-radius: 0 !important; box-shadow: none !important; border-bottom: 1px solid #edf0f5;
}
.main-content .search-area ~ .stat-area > div,
.main-content .search-area ~ .board-area > div {
  background: transparent !important; padding: 0 !important; border-radius: 0 !important;
}

.main-content .search-area ~ .table-area,
.main-content .search-area ~ .agents-area,
.main-content .search-area ~ .category-area {
  border-radius: 0 !important; margin: 0 !important;
}
.main-content .agents-area .x8-tb-wrap,
.main-content .category-area .x8-tb-wrap,
.main-content .table-area .x8-tb-wrap { border: none; border-radius: 0; box-shadow: none; }

.main-content .crumb-area:empty,
.main-content .stat-area:empty,
.main-content .quota-area:empty,
.main-content .board-area:empty,
.main-content .agents-area:empty,
.main-content .category-area:empty { display: none; }

.main-content .rc-body > div { padding: 0 !important; }



.main-content .search-area > .mb-from {
  margin-left: auto; display: flex; align-items: center; gap: 10px;
  padding-right: 16px; color: #6b7683; font-size: 13px; white-space: nowrap;
}
.main-content .search-area > .mb-from b { color: #3a4256; }
.main-content .search-area > .mb-from .mb-from-clear {
  height: 28px; padding: 0 12px; border: 1px solid #dce1e6; border-radius: 5px;
  background: #fff; color: #5a6478; font-size: 13px; cursor: pointer;
}
.main-content .search-area > .mb-from .mb-from-clear:hover { border-color: var(--main-color); color: var(--main-color); }


.x8-quick { gap: 4px; }

.x8-quick .layui-btn { margin-right: 4px; }
.x8-quick-b {
  height: 28px; min-width: 46px; padding: 0 8px; border: 1px solid #dce1e6; border-radius: 4px;
  background: #fff; color: #5a6478; font-size: 13px; cursor: pointer; margin-right: 4px;
}
.x8-quick-b:hover { border-color: var(--main-color); color: var(--main-color); }
.x8-quick-b.on { background: var(--main-color); border-color: var(--main-color); color: #fff; }


.bm-switch { display: inline-flex; gap: 0; }
.bm-switch .layui-btn { margin: 0 0 0 -1px; border-radius: 0; position: relative; }
.bm-switch .layui-btn:first-child { margin-left: 0; }
.bm-switch .layui-btn.theme-btn-main { z-index: 1; }





.x8-tb tr.x8-void { position: relative; color: #98a2ae; }
.x8-tb tr.x8-void td { position: static; }
.x8-tb tr.x8-void::after {
  content: ''; position: absolute; left: 0; right: 0; top: 50%;
  border-top: 1px solid #c3cbd6; pointer-events: none;
}
.x8-void-at { color: var(--danger-color); }


.x8-filter-br { flex-basis: 100%; height: 0; margin: 0; }


.main-content .x8-op { color: var(--main-color); cursor: pointer; }
.main-content .x8-op:hover { opacity: .66; }
.main-content .x8-op.x8-ro { color: #b9c0cc; cursor: not-allowed; text-decoration: none; }
.main-content .crumb-area { color: #6b7683; }


.x8-tag-inline { font-style: normal; font-size: 12px; color: #8a95a1; margin-left: 2px; }


.x8-dw-b { color: var(--profit-color); }
.x8-dw-r { color: var(--danger-color); }

.x8-tb thead tr + tr th { font-weight: 600; }

.x8-ok { color: var(--ok-color); }







.main-content > div:not(.immediatelyBill):not(.home):not(.companyList) {
  background: #fff; border-radius: 0; box-shadow: 0 2px 8px rgba(20, 40, 80, .05); overflow: hidden;
}


.main-content > div:not(.immediatelyBill):not(.home):not(.companyList) > *:not(.x8-tip) {
  background: transparent !important; border-radius: 0 !important; box-shadow: none !important;
  margin: 0 !important; border-bottom: 1px solid #edf0f5;
}
.main-content > div:not(.immediatelyBill):not(.home):not(.companyList) > *:last-child {
  border-bottom: none;
}

.main-content > div:not(.immediatelyBill):not(.home):not(.companyList) > *:empty {
  display: none;
}

.main-content > div:not(.immediatelyBill):not(.home):not(.companyList) .x8-filter,
.main-content > div:not(.immediatelyBill):not(.home):not(.companyList) > * > .x8-card,
.main-content > div:not(.immediatelyBill):not(.home):not(.companyList) .x8-tb-wrap {
  background: transparent; border: none; border-radius: 0; box-shadow: none; margin: 0;
}
.main-content > div:not(.immediatelyBill):not(.home):not(.companyList) > .search-area {
  padding: 0 !important;
}
.main-content > div:not(.immediatelyBill):not(.home):not(.companyList) > .search-area > .x8-filter {
  padding: 7px 16px;
}


.x8-hint {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; margin-left: 6px; border-radius: 50%;
  background: #dfe4ec; color: #fff; font-size: 11px; font-weight: 700;
  cursor: help; vertical-align: middle; flex: 0 0 auto;
}
.x8-hint:hover { background: var(--main-color); }


@supports (background: color-mix(in srgb, red 10%, white)) {
  .bd-panel .x8-bd-tiertab:not(.on) .x8-bd-tier { background: color-mix(in srgb, var(--main-color) 26%, #fff); }
  .bd-panel .x8-bd-tiertab:not(.on):hover .x8-bd-tier { background: color-mix(in srgb, var(--main-color) 36%, #fff); }
  .bd-panel .x8-bd-tiertab.on .x8-bd-tiern { background: color-mix(in srgb, var(--main-color) 12%, #fff); }
  
  .bd-panel .x8-bd-sectab:not(.on) .x8-bd-tier { background: color-mix(in srgb, var(--main-color) 26%, #fff); }
  .bd-panel .x8-bd-sectab:not(.on):hover .x8-bd-tier { background: color-mix(in srgb, var(--main-color) 36%, #fff); }
  .bd-panel .x8-bd-sectab.on .x8-bd-tiern { background: color-mix(in srgb, var(--main-color) 12%, #fff); }
}





body .layui-btn:not(.layui-btn-primary):not(.layui-btn-danger):not(.layui-btn-warm):not(.layui-btn-disabled) {
  background-color: var(--main-color); border-color: var(--main-color); color: #fff;
}
body .layui-btn:not(.layui-btn-primary):not(.layui-btn-danger):not(.layui-btn-warm):not(.layui-btn-disabled):hover { filter: brightness(1.08); }
body .layui-btn-primary { background-color: #fff; border-color: #dcdfe6; color: #465060; }
body .layui-btn-primary:hover { border-color: var(--main-color); color: var(--main-color); }

.layui-layer-page .layui-layer-btn .layui-layer-btn1 { background: #fff; border-color: #dcdfe6; color: #465060; }


body input::placeholder, body textarea::placeholder,
body .x8-ipt::placeholder, body .layui-input::placeholder { color: #98a2ae; opacity: 1; }
body input::-webkit-input-placeholder, body textarea::-webkit-input-placeholder { color: #98a2ae; }





body .x8-link { color: var(--main-color); cursor: pointer; }
body .x8-link:hover { opacity: .66; }
body .x8-link.x8-ro { color: #b9c0cc; cursor: not-allowed; text-decoration: none; }
