/* 导航栏样式 */
.fred {
    color: #ff3b30;
}
.fblue {
    color: #1678ff;
}
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-left {
    display: flex;
    align-items: center;
}

.nav-right {
    display: flex;
    align-items: center;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.back-btn:hover {
    background: #e5e7eb;
    border-color: #9ca3af;
    color: #111827;
}

.back-btn svg {
    transition: transform 0.2s ease;
}

.back-btn:hover svg {
    transform: translateX(-2px);
}

/* 下拉菜单样式 */
.nav-dropdown {
    position: relative;
}

.nav-title {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #1678ff;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-title:hover {
    background: #0d6efd;
}

.nav-title svg {
    transition: transform 0.2s ease;
}

.nav-dropdown.open .nav-title svg {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 200px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1001;
    margin-top: 8px;
}

.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-item {
    display: block;
    padding: 12px 16px;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f3f4f6;
}

.nav-item:last-child {
    border-bottom: none;
}

.nav-item:hover {
    background: #f9fafb;
    color: #1678ff;
}

.nav-item.active {
    background: #eef4ff;
    color: #1678ff;
    font-weight: 500;
}

/* 调整主体内容位置 */
body {
    padding-top: 60px;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    .nav-bar {
        padding: 0 16px;
        height: 50px;
    }

    .back-btn {
        padding: 6px 12px;
        font-size: 13px;
    }

    .back-btn svg {
        width: 16px;
        height: 16px;
    }

    .nav-title {
        padding: 6px 12px;
        font-size: 13px;
    }

    .nav-title svg {
        width: 14px;
        height: 14px;
    }

    .nav-dropdown-menu {
        min-width: 180px;
        right: -10px;
    }

    .nav-item {
        padding: 10px 14px;
        font-size: 13px;
    }

    body {
        padding-top: 50px;
    }
}

.text-ellipsis {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis
}


.table-auto .yc_col, .flex, .loading-spinner, .dropmenu, .flex-col, #app, body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
}


.loading-spinner, .dropmenu, .flex-col, #app, body {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column
}

.table-auto .yc_col, .flex-actions a, .table-auto .time-col button, .table-auto .time-col a, .button-default {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.table-auto .yc_col, .flex-actions a, .table-auto .time-col button, .table-auto .time-col a, .button-default {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center
}

.transition-smooth {
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear
}

.flex-actions a, .table-auto .time-col button, .table-auto .time-col a, .button-default {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    text-align: center;
    cursor: pointer;
    border-width: .1rem;
    border-style: solid;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -ms-flex-negative: 0;
    flex-shrink: 0
}

.flex-actions a:active, .table-auto .time-col button:active, .table-auto .time-col a:active, .btn-d:active {
    opacity: 1
}

.button-primary {
    color: #fff;
    background-color: #1678ff;
    border-color: #1678ff
}

@media (hover: hover) {
    .btn-p:hover {
        color: #fff;
        background-color: rgb(62.8, 143.6394849785, 255);
        border-color: rgb(47.5, 134.7746781116, 255)
    }
}

.btn-p:active {
    color: hsl(0, 0%, 95%);
    background-color: rgb(0, 105.7811158798, 251.5);
    border-color: rgb(0, 105.7811158798, 251.5)
}

.button-white {
    color: #333;
    background-color: #fff;
    border-color: #dbdbdb
}

@media (hover: hover) {
    .btn-w:hover {
        color: hsl(0, 0%, 15%);
        background-color: hsl(0, 0%, 97%);
        border-color: hsl(0, 0%, 82.8823529412%)
    }
}

.btn-w:active {
    color: hsl(0, 0%, 10%);
    background-color: hsl(0, 0%, 94%);
    border-color: rgb(203.7, 203.7, 203.7)
}

.button-link {
    color: #0b57d0;
    background-color: #eef4ff;
    border-color: #c7d7ff
}

@media (hover: hover) {
    .btn-l:hover {
        color: #0b57d0;
        background-color: #e4efff;
        border-color: #bfd3ff
    }
}

.btn-l:active {
    color: #0a4fc0;
    background-color: #dfeaff;
    border-color: #b4cbff
}

.loading-spinner:before {
    content: "";
    width: 1em;
    height: 1em;
    -ms-flex-negative: 0;
    flex-shrink: 0
}

.loading-spinner:before {
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    background-color: currentColor;
    -webkit-mask-image: url("");
    mask-image: url("")
}

.table-auto .q-1, .table-auto .q-2, .table-auto .q-3, .table-auto .q-4, .table-auto .q-5, .table-auto .q-dlh, .table-auto .q-ch, .table-auto .q-bh, .table-auto .q-ji, .table-auto .q-ou, .table-auto .q-lh {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center
}


html {
    -webkit-text-size-adjust: 100%;
    height: 100%
}

body {
    line-height: 1.4286;
    min-height: 100%;
    font-size: 1.4rem;
    color: #333;
    background-color: #fff
}

a {
    color: #333;
    text-decoration: none
}

a:active {
    opacity: .8
}

@media (hover: hover) {
    a:hover {
        color: #1678ff
    }
}

@media (hover: none) {
    a:active {
        color: #1678ff
    }
}

:focus {
    outline: 0
}

::-ms-clear, ::-ms-reveal {
    display: none
}

* {
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0)
}

*, :after, :before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    word-break: break-word
}

pre {
    color: #666;
    font-size: 1.2rem;
    font-family: inherit;
    line-height: 1.8rem;
    white-space: pre-wrap;
    word-wrap: break-word
}

button[type=button], input[type=button], input[type=submit], input[type=text], input[type=search], input[type=reset] {
    -webkit-appearance: none;
    appearance: none
}

em, i {
    font-style: normal
}

s, u {
    text-decoration: none
}

ul, li, form {
    list-style: none outside none
}

form {
    position: relative
}

a span, label {
    cursor: pointer
}

input, textarea, button {
    font-size: 1.4rem;
    outline: none;
    resize: none;
    -webkit-appearance: none;
    appearance: none;
    -webkit-transition: all 100ms linear;
    transition: all 100ms linear;
    vertical-align: top
}

select {
    font-size: 1.4rem;
    outline: none;
    resize: none;
    -webkit-appearance: none;
    appearance: none;
    -webkit-transition: all 100ms linear;
    transition: all 100ms linear
}

input[type=checkbox] {
    -webkit-appearance: checkbox;
    appearance: checkbox
}

input[type=radio] {
    -webkit-appearance: radio;
    appearance: radio
}

body, input, textarea, select, button {
    font-family: "Microsoft YaHei UI", "Microsoft YaHei", "微软雅黑", "Arial", "Helvetica Neue", "sans-serif", "宋体", "simsun"
}

img {
    border: 0;
    max-width: 100%;
    vertical-align: middle
}

b, strong {
    font-weight: bold
}

:disabled, .disabled {
    opacity: .4;
    cursor: default !important;
    pointer-events: none !important
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
    color: #ababab
}

input::-moz-placeholder, textarea::-moz-placeholder {
    color: #ababab
}

input:-ms-input-placeholder, textarea:-ms-input-placeholder {
    color: #ababab
}

input::-ms-input-placeholder, textarea::-ms-input-placeholder {
    color: #ababab
}

input::placeholder, textarea::placeholder {
    color: #ababab
}

input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px #fff inset
}


@-webkit-keyframes fadeOutUp {
    from, to {
        -webkit-animation-timing-function: cubic-bezier(0.18, 0.64, 0.56, 1);
        animation-timing-function: cubic-bezier(0.18, 0.64, 0.56, 1)
    }
    from {
        opacity: 1;
        -webkit-transform: none;
        transform: none
    }
    to {
        opacity: 0;
        -webkit-transform: translate3d(0, 20%, 0);
        transform: translate3d(0, 20%, 0)
    }
}

@keyframes fadeOutUp {
    from, to {
        -webkit-animation-timing-function: cubic-bezier(0.18, 0.64, 0.56, 1);
        animation-timing-function: cubic-bezier(0.18, 0.64, 0.56, 1)
    }
    from {
        opacity: 1;
        -webkit-transform: none;
        transform: none
    }
    to {
        opacity: 0;
        -webkit-transform: translate3d(0, 20%, 0);
        transform: translate3d(0, 20%, 0)
    }
}

@-webkit-keyframes fadeInDown {
    from, to {
        -webkit-animation-timing-function: cubic-bezier(0.18, 0.64, 0.56, 1);
        animation-timing-function: cubic-bezier(0.18, 0.64, 0.56, 1)
    }
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, -20%, 0);
        transform: translate3d(0, -20%, 0)
    }
    to {
        opacity: 1;
        -webkit-transform: none;
        transform: none
    }
}

@keyframes fadeInDown {
    from, to {
        -webkit-animation-timing-function: cubic-bezier(0.18, 0.64, 0.56, 1);
        animation-timing-function: cubic-bezier(0.18, 0.64, 0.56, 1)
    }
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, -20%, 0);
        transform: translate3d(0, -20%, 0)
    }
    to {
        opacity: 1;
        -webkit-transform: none;
        transform: none
    }
}


html {
    font-size: 62.5%
}

#app {
    min-height: 100vh
}


.text-sm {
    font-size: 1.4rem
}


.font-bold {
    font-weight: bold !important
}


.ml-auto {
    margin-left: auto
}


.mt-10 {
    margin-top: 1rem
}

.mb-10 {
    margin-bottom: 1rem
}

.ml-10 {
    margin-left: 1rem
}

.mr-10 {
    margin-right: 1rem
}


.flex-wrap {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap
}

.flex-1 {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1
}


.button-default {
    padding: .2rem 1rem;
    min-height: 3.2rem;
    line-height: 1.6rem;
    border-radius: .4rem
}


.table-auto table {
    margin: 0 auto;
    border-spacing: 0;
    border-collapse: separate
}

.table-auto table thead th {
    font-weight: normal
}

.table-auto table td, .table-auto table th {
    text-align: center;
    white-space: nowrap;
    border-width: 1px;
    border-style: solid;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 1.2rem
}

.table-auto th {
    padding: .2rem
}

.table-auto .b-1, .table-auto .b-4 {
    padding: 0 .2rem
}

.table-auto .cursor .b-5, .table-auto .cursor .b-6, .table-auto .cursor .b-8, .table-auto .cursor .b-10, .table-auto .cursor .b-12 {
    cursor: not-allowed;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.table-auto .cursor [onclick] {
    cursor: pointer
}

.table-auto td.tdzz {
    vertical-align: bottom
}

.table-auto td.tdzz span {
    width: 1rem;
    display: block;
    margin: 0 auto
}

.table-auto .yc_col {
    min-width: 5.4rem;
    padding: 0 .2rem
}

.table-auto .yc_col a {
    width: 1.2rem;
    height: 1.2rem;
    margin-left: auto
}

.table-auto .yc_col a::before {
    font-size: 1.2rem;
    -webkit-transform: scale(0.7);
    transform: scale(0.7)
}

.table-auto .time-col {
    font-family: initial;
    padding: .5rem
}

.table-auto .time-col b {
    margin-right: .4rem
}

.table-auto .time-col button, .table-auto .time-col a {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin-left: .5rem;
    padding: .2rem .5rem;
    min-height: 2rem;
    line-height: 1.6rem;
    border-radius: .2rem;
    font-size: 1.2rem
}

.table-auto .time-col #time {
    width: 15rem;
    text-align: left
}

.table-auto .q-s {
    position: absolute;
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
    top: -0.8rem;
    right: -0.8rem;
    color: #fff;
    width: 1.4rem;
    height: 1.4rem;
    line-height: 1.4rem;
    border-width: .1rem;
    border-style: solid;
    border-radius: 50%;
    font-family: Arial;
    z-index: 10
}

.table-auto .q-s.q-s-2 {
    background-color: #090
}

.table-auto .q-s.q-s-2::before {
    content: "2"
}

.table-auto .q-s.q-s-3 {
    background-color: #da03a5
}

.table-auto .q-s.q-s-3::before {
    content: "3"
}

.table-auto .q-s.q-s-4 {
    background-color: #c39c00
}

.table-auto .q-s.q-s-4::before {
    content: "4"
}

.table-auto .q-s.q-s-5 {
    background-color: #0047c3
}

.table-auto .q-s.q-s-5::before {
    content: "5"
}

.table-auto .q-s.q-s-6 {
    background-color: #ff5b00
}

.table-auto .q-s.q-s-6::before {
    content: "6"
}

.table-auto .q-s.q-s-7 {
    background-color: #81a50d
}

.table-auto .q-s.q-s-7::before {
    content: "7"
}

.table-auto .q-1, .table-auto .q-2, .table-auto .q-3, .table-auto .q-4, .table-auto .q-5, .table-auto .q-dlh, .table-auto .q-ch, .table-auto .q-bh, .table-auto .q-ji, .table-auto .q-ou, .table-auto .q-lh {
    position: relative
}

.table-auto .b-9 {
    min-width: 4.8rem
}

.table-auto .b-d {
    min-width: 3.2rem
}

.table-auto .b-d1 {
    min-width: 2.6rem
}

.table-auto .b-d2 {
    min-width: 4.8rem
}

.line-x, .line-y {
    position: absolute;
    overflow: hidden
}

.line-x {
    border-top-width: .2rem;
    border-top-style: solid
}

.line-y {
    border-right-width: .2rem;
    border-right-style: solid
}

.light-square.table-luoxuan table td, .light-small.table-luoxuan table td, .dark-square.table-luoxuan table td, .dark-small.table-luoxuan table td {
    min-width: 1.8rem
}

.light-square table td, .light-square table th, .light-small table td, .light-small table th, .dark-square table td, .dark-square table th, .dark-small table td, .dark-small table th {
    min-width: 1.9rem
}

.light-square table th, .light-small table th, .dark-square table th, .dark-small table th {
    line-height: 1.6rem
}

.light-square table td, .light-small table td, .dark-square table td, .dark-small table td {
    line-height: 1.6rem
}

.light-square table tr.thbg1 th, .light-small table tr.thbg1 th, .dark-square table tr.thbg1 th, .dark-small table tr.thbg1 th {
    line-height: 1.2rem
}

.light-square .tfoot td, .light-small .tfoot td, .dark-square .tfoot td, .dark-small .tfoot td {
    line-height: 2rem
}

.light-square .tfoot.tflh td, .light-small .tfoot.tflh td, .dark-square .tfoot.tflh td, .dark-small .tfoot.tflh td {
    line-height: 1.6rem
}

.light-big table td, .light-big table th, .dark-big table td, .dark-big table th {
    min-width: 2.2rem
}

.light-big table th, .dark-big table th {
    line-height: 1.6rem
}

.light-big table td, .dark-big table td {
    line-height: 2rem
}

.light-big table tr.thbg1 th, .dark-big table tr.thbg1 th {
    line-height: 1.4rem
}

.light-big .tfoot td, .dark-big .tfoot td {
    padding: .2rem 0;
    line-height: 1.6rem
}

.light-big .tfoot.tflh td, .dark-big .tfoot.tflh td {
    line-height: 1.4rem
}

.flex-actions {
    margin: .1rem 0
}

.flex-actions a {
    padding: .2rem 1rem;
    min-height: 1.6rem;
    line-height: 1.6rem;
    border-radius: .2rem;
    margin: 0 .3rem
}

.flex-actions .ml-auto {
    margin-left: auto;
}

.button-icon {
    width: 2.4rem;
    height: 2.4rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
}

.flex-actions i {
    margin: 0 .5rem
}


.light-table table {
    background-color: #fff;
    border-top: 1px solid #d1d5db;
    border-left: 1px solid #d1d5db
}

.light-table table thead th {
    background-image: none;
    background-repeat: no-repeat;
    background-position: bottom;
    background-color: #f3f4f6;
    color: #111827
}

.light-table table thead tr.thbg1 th {
    background-position: top
}

.light-table table thead tr.thbg1 th.b0 {
    background: none
}

.light-table table td, .light-table table th {
    border-top-color: #fff;
    border-left-color: #fff;
    border-right-color: #d1d5db;
    border-bottom-color: #d1d5db;
    background-color: #fff
}

.light-table.table-luoxuan table {
    border-top: .2rem solid #a7b5be;
    border-left: .2rem solid #a7b5be;
    border-right: 1px solid #a7b5be;
    border-bottom: 1px solid #a7b5be
}

.light-table .fc-red {
    color: red
}

.light-table .fc-red1 {
    color: #c00
}

.light-table .fc-blue {
    color: #00c
}

.light-table .fc-blue1 {
    color: blue
}

.light-table .fc-col9 {
    color: #999
}

.light-table .yc_col a {
    border: #a6c1ff .1rem solid;
    background-color: #ceddff
}

.light-table .time-col b {
    color: #d00
}

.light-table .time-col button, .light-table .time-col a {
    color: #0b57d0;
    background-color: #eef4ff;
    border-color: #c7d7ff
}

@media (hover: hover) {
    .light-table .time-col button:hover, .light-table .time-col a:hover {
        color: #0b57d0;
        background-color: #e4efff;
        border-color: #bfd3ff
    }
}

.light-table .time-col button:active, .light-table .time-col a:active {
    color: #0a4fc0;
    background-color: #dfeaff;
    border-color: #b4cbff
}

.light-table td.tdzz span {
    background: -webkit-gradient(linear, left top, right top, from(#090), color-stop(#fdfefd), to(#090));
    background: linear-gradient(90deg, #090, #fdfefd, #090)
}

.light-table .activebg td {
    background-color: #808040;
    color: #fff
}

.light-table .activebg td.b-2, .light-table .activebg td.b-3 {
    color: hsla(0, 0%, 100%, .4)
}

.light-table .activebg td.b-5, .light-table .activebg td.b-6 {
    color: rgba(0, 0, 0, 0)
}

.light-table .activebg .fc-red, .light-table .activebg .fc-red1 {
    color: #ffb9b9
}

.light-table .activebg .fc-blue, .light-table .activebg .fc-blue1 {
    color: #a9e6ff
}

.light-table .q-yl {
    background-color: #999 !important;
    color: #fff !important
}

.light-table .flex-actions a {
    color: #0b57d0;
    background-color: #eef4ff;
    border-color: #c7d7ff
}

@media (hover: hover) {
    .light-table .flex-actions a:hover {
        color: #0b57d0;
        background-color: #e4efff;
        border-color: #bfd3ff
    }
}

.light-table .flex-actions a:active {
    color: hsl(0, 0%, 10%);
    background-color: hsl(0, 0%, 94%);
    border-color: hsl(0, 0%, 74%)
}

.light-table .flex-actions a.s {
    color: #fff;
    background-color: #0b57d0;
    border-color: #0b57d0
}

@media (hover: hover) {
    .light-table .flex-actions a.s:hover {
        color: hsl(0, 0%, 95%);
        background-color: rgb(6.7, 111.135193133, 255);
        border-color: rgb(6.7, 111.135193133, 255)
    }
}

.light-table .flex-actions a.s:active {
    color: hsl(0, 0%, 90%);
    background-color: rgb(0, 103.6360515021, 246.4);
    border-color: rgb(0, 103.6360515021, 246.4)
}

.light-table .q-s {
    border-color: #fff
}

.light-table .b-g {
    background-color: #ccc
}

.light-table .b-7, .light-table .b-8 {
    background-color: #f4f4f4
}

.light-table .b-11, .light-table .b-12 {
    background-color: #f0f0f0
}

.light-table .b-9, .light-table .b-10 {
    background-color: #fff1d9
}

.light-table .b-9 {
    color: #dfb979
}

.light-table .b-7, .light-table .b-11 {
    color: #bbb
}

.light-table .b-5, .light-table .b-6, .light-table .b-8, .light-table .b-10, .light-table .b-12 {
    color: rgba(0, 0, 0, 0)
}

.light-table .b-lx, .light-table .b-ly {
    background-color: #c8daf9
}

.light-table .q-1, .light-table .q-2, .light-table .q-3, .light-table .q-4, .light-table .q-5, .light-table .q-dlh, .light-table .q-ch, .light-table .q-bh, .light-table .q-ji, .light-table .q-ou, .light-table .q-lh {
    color: #fff !important
}

.dark-table table {
    background-color: #464646;
    border-top: 1px solid #5a5a5a;
    border-left: 1px solid #5a5a5a
}

.dark-table table td, .dark-table table th {
    border-top-color: rgba(0, 0, 0, 0);
    border-left-color: rgba(0, 0, 0, 0);
    border-right-color: #5a5a5a;
    border-bottom-color: #5a5a5a;
    color: #e8e8e8;
    background-color: #464646
}

.dark-table table thead th, .dark-table table .tfoot td {
    background-color: #333;
    border-right-color: #5a5a5a;
    border-bottom-color: #5a5a5a
}

.dark-table.table-luoxuan table {
    border-top: .2rem solid #5a5a5a;
    border-left: .2rem solid #5a5a5a;
    border-right: 1px solid #5a5a5a;
    border-bottom: 1px solid #5a5a5a
}

.dark-table .b-2, .dark-table .b-3, .dark-table .b-7, .dark-table .b-9, .dark-table .b-11 {
    color: hsla(0, 0%, 100%, .3)
}

.dark-table .b-5, .dark-table .b-6, .dark-table .b-8, .dark-table .b-10, .dark-table .b-12 {
    color: rgba(0, 0, 0, 0)
}

.dark-table .b-2, .dark-table .b-5 {
    background-color: #5e4e4e;
    border-right-color: #786464;
    border-bottom-color: #786464
}

.dark-table .b-3, .dark-table .b-6 {
    background-color: #495256;
    border-right-color: #657276;
    border-bottom-color: #657276
}

.dark-table .b-9, .dark-table .b-10 {
    background-color: #544854;
    border-right-color: #726272;
    border-bottom-color: #726272
}

.dark-table .b-11, .dark-table .b-12 {
    background-color: #525252;
    border-right-color: #767676;
    border-bottom-color: #767676
}

.dark-table .b-lx, .dark-table .b-ly {
    background-color: #747474
}

.dark-table .q-yl {
    background-color: #333 !important;
    color: #e8e8e8 !important
}

.dark-table .line-x {
    border-top-color: #d9bd1d
}

.dark-table .line-y {
    border-right-color: #d9bd1d
}

.dark-table .fred, .dark-table .fc-red, .dark-table .fc-red1 {
    color: #ff8181
}

.dark-table .fblue, .dark-table .fc-blue, .dark-table .fc-blue1 {
    color: #00b5ff
}

.dark-table .fc-col9 {
    color: #999
}

.dark-table .yc_col a {
    color: hsla(0, 0%, 100%, .5);
    background-color: rgba(0, 0, 0, .5)
}

.dark-table .yc_col a:hover {
    color: #fff
}

.dark-table .time-col b {
    color: #ffdf1c
}

.dark-table .time-col button, .dark-table .time-col a {
    color: #fff;
    background-color: #1678ff;
    border-color: #1678ff
}

@media (hover: hover) {
    .dark-table .time-col button:hover, .dark-table .time-col a:hover {
        color: hsl(0, 0%, 95%);
        background-color: rgb(6.7, 111.135193133, 255);
        border-color: rgb(6.7, 111.135193133, 255)
    }
}

.dark-table .time-col button:active, .dark-table .time-col a:active {
    color: hsl(0, 0%, 90%);
    background-color: rgb(0, 103.6360515021, 246.4);
    border-color: rgb(0, 103.6360515021, 246.4)
}

.dark-table td.tdzz span {
    background-color: #d9bd1d
}

.dark-table .activebg td {
    background-color: #08345e
}

.dark-table .activebg td.b-5, .dark-table .activebg td.b-6 {
    color: rgba(0, 0, 0, 0)
}

.dark-table .flex-actions a {
    color: #fff;
    background-color: hsla(0, 0%, 100%, .1);
    border-color: hsla(0, 0%, 100%, .1)
}

@media (hover: hover) {
    .dark-table .flex-actions a:hover {
        color: hsl(0, 0%, 95%);
        background-color: hsla(0, 0%, 97%, .1);
        border-color: hsla(0, 0%, 97%, .1)
    }
}

.dark-table .flex-actions a:active {
    color: hsl(0, 0%, 90%);
    background-color: hsla(0, 0%, 94%, .1);
    border-color: hsla(0, 0%, 94%, .1)
}

.dark-table .flex-actions a.s {
    color: #fff;
    background-color: #1678ff;
    border-color: #1678ff
}

@media (hover: hover) {
    .dark-table .flex-actions a.s:hover {
        color: hsl(0, 0%, 95%);
        background-color: rgb(6.7, 111.135193133, 255);
        border-color: rgb(6.7, 111.135193133, 255)
    }
}

.dark-table .flex-actions a.s:active {
    color: hsl(0, 0%, 90%);
    background-color: rgb(0, 103.6360515021, 246.4);
    border-color: rgb(0, 103.6360515021, 246.4)
}

.dark-table .q-s {
    border-color: #000
}

.dark-table .q-1, .dark-table .q-2, .dark-table .q-3, .dark-table .q-4, .dark-table .q-5, .dark-table .q-dlh, .dark-table .q-ch, .dark-table .q-bh, .dark-table .q-ji, .dark-table .q-ou, .dark-table .q-lh {
    color: #e8e8e8 !important
}


.table-auto .b-z {
    min-width: 3.2rem;
    font-size: 1.6rem;
    font-weight: bold;
    font-family: Arial
}

.light-square .b-z.b-2, .light-big .b-z.b-2, .light-small .b-z.b-2 {
    color: #c00
}

.light-square .b-z.b-3, .light-big .b-z.b-3, .light-small .b-z.b-3 {
    color: #06c
}

.light-square .b-z.b-7, .light-big .b-z.b-7, .light-small .b-z.b-7 {
    color: #c0f
}

.dark-square .b-z.b-2, .dark-big .b-z.b-2, .dark-small .b-z.b-2 {
    color: #ff8181
}

.dark-square .b-z.b-3, .dark-big .b-z.b-3, .dark-small .b-z.b-3 {
    color: #00b5ff
}

.dark-square .b-z.b-7, .dark-big .b-z.b-7, .dark-small .b-z.b-7 {
    color: #ddd
}

.yltable .icon-move_top {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg)
}

.yltable .ylsort::after {
    margin-left: .3rem;
    font-size: 1rem;
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg)
}

.yltable .ylsort.up::after {
    -webkit-transform: rotate(270deg);
    transform: rotate(270deg)
}

.yltable.light-table .b-2, .yltable.light-table .b-3 {
    color: #333
}

.yltable.light-table .icon-move_top {
    color: #1678ff
}

.yltable.light-table .activebg .b-2, .yltable.light-table .activebg .b-3, .yltable.light-table .activebg .icon-move_top {
    color: #fff
}

.yltable .ylsort::after {
    color: #999
}

.yltable .ylsort.up::after {
    color: #ff3b30
}

.yltable .ylsort.down::after {
    color: #51b148
}

.yltable.dark-table .b-2, .yltable.dark-table .b-3 {
    color: #e8e8e8
}

.yltable.dark-table .icon-move_top {
    color: #d9bd1d
}

.yltable.dark-table .ylsort {
    color: #e8e8e8
}


.light-square .q-ji, .dark-square .q-ji {
    background-color: #09a197 !important
}

.light-square .q-ou, .dark-square .q-ou {
    background-color: #8e49c1 !important
}

.light-square .q-lh, .dark-square .q-lh {
    background-color: #e936be !important
}

.light-big .q-ji, .dark-big .q-ji {
    background-image: url("../img/ji-b.png")
}

.light-big .q-ou, .dark-big .q-ou {
    background-image: url("../img/ou-b.png")
}

.light-big .q-lh, .dark-big .q-lh {
    background-image: url("../img/lh-b.png")
}

.light-small .q-ji, .dark-small .q-ji {
    background-image: url("../img/ji-s.png")
}

.light-small .q-ou, .dark-small .q-ou {
    background-image: url("../img/ou-s.png")
}

.light-small .q-lh, .dark-small .q-lh {
    background-image: url("../img/lh-s.png")
}

.light-square .tfoot td {
    background-color: #f3f4f6;
    color: #374151
}

.light-square .b-1 {
    background-color: #eefaff;
    color: #333
}

.light-square .b-2 {
    background-color: #ffffd9;
    color: #caa65b
}

.light-square .b-3 {
    background-color: #d3ecfe;
    color: #8ca7b7
}

.light-square .b-4 {
    background-color: #f5f8ff
}

.light-square .b-5 {
    background-color: #ffffd9
}

.light-square .b-6 {
    background-color: #d3ecfe
}

.light-square .q-1 {
    background-color: #c00 !important
}

.light-square .q-2 {
    background-color: #06c !important
}

.light-square .q-3 {
    background-color: #f90 !important
}

.light-square .q-4 {
    background-color: #640064 !important
}

.light-square .q-5 {
    background-color: #686868 !important
}

.light-square .q-dlh {
    background-color: #369 !important
}

.light-square .q-ch {
    background-color: #099 !important
}

.light-square .q-bh {
    background-color: #693 !important
}

.light-square .line-x {
    border-top-color: #0f5ccf
}

.light-square .line-y {
    border-right-color: #0f5ccf
}

.light-big .tfoot td {
    background-color: #ebebeb;
    color: #505050
}

.light-big .b-1 {
    background-color: #eefaff;
    color: #333
}

.light-big .b-2 {
    background-color: #ffffe1;
    color: #ccc
}

.light-big .b-3 {
    background-color: #ecf6ff;
    color: #ccc
}

.light-big .b-4 {
    background-color: #f5f8ff
}

.light-big .b-5 {
    background-color: #ffffe1
}

.light-big .b-6 {
    background-color: #ecf6ff
}

.light-big .q-1 {
    background-image: url("../img/light-red-b.png")
}

.light-big .q-2 {
    background-image: url("../img/light-blue-b.png")
}

.light-big .q-3 {
    background-image: url("../img/light-3-b.png")
}

.light-big .q-4 {
    background-image: url("../img/light-4-b.png")
}

.light-big .q-5 {
    background-image: url("../img/light-5-b.png")
}

.light-big .q-dlh {
    background-image: url("../img/light-dlh-b.png")
}

.light-big .q-ch {
    background-image: url("../img/light-ch-b.png")
}

.light-big .q-bh {
    background-image: url("../img/light-bh-b.png")
}

.light-big .b-3.q-4, .light-big .b-4.q-4 {
    background-image: url("../img/light-4-b-s.png")
}

.light-big .b-d.q-2 {
    background-image: url("../img/light-blue-b-d.png")
}

.light-big .b-d.q-4 {
    background-image: url("../img/light-4-b-d.png")
}

.light-big .b-d1.q-3 {
    background-image: url("../img/light-3-b-d.png")
}

.light-big .line-x {
    border-top-color: #303f9f
}

.light-big .line-y {
    border-right-color: #303f9f
}

.light-small .tfoot td {
    background-color: #bcded8;
    color: #063
}

.light-small .b-1 {
    background-color: #eefaff;
    color: #333
}

.light-small .b-2 {
    background-color: #f3f2f2;
    color: #d2b0b0
}

.light-small .b-3 {
    background-color: #eff7fe;
    color: #b9d2fe
}

.light-small .b-4 {
    background-color: #f5f8ff
}

.light-small .b-5 {
    background-color: #f3f2f2
}

.light-small .b-6 {
    background-color: #eff7fe
}

.light-small .b-yl td {
    background-color: #f2f4ec
}

.light-small .q-1 {
    background-image: url("../img/light-red-s.png")
}

.light-small .q-2 {
    background-image: url("../img/light-blue-s.png")
}

.light-small .q-3 {
    background-image: url("../img/light-3-s.png")
}

.light-small .q-4 {
    background-image: url("../img/light-4-s.png")
}

.light-small .q-5 {
    background-image: url("../img/light-5-s.png")
}

.light-small .q-dlh {
    background-image: url("../img/light-dlh-s.png")
}

.light-small .q-ch {
    background-image: url("../img/light-ch-s.png")
}

.light-small .q-bh {
    background-image: url("../img/light-bh-s.png")
}

.light-small .b-3.q-4, .light-small .b-4.q-4 {
    background-image: url("../img/light-4-s-s.png")
}

.light-small .b-d.q-2 {
    background-image: url("../img/light-blue-s-d.png")
}

.light-small .b-d.q-4 {
    background-image: url("../img/light-4-s-d.png")
}

.light-small .b-d1.q-3 {
    background-image: url("../img/light-3-s-d.png")
}

.light-small .line-x {
    border-top-color: #029ffd
}

.light-small .line-y {
    border-right-color: #029ffd
}

.dark-square .q-1 {
    background-color: #f15c5c !important
}

.dark-square .q-2 {
    background-color: #3f8fde !important
}

.dark-square .q-3 {
    background-color: #ec8e00 !important
}

.dark-square .q-4 {
    background-color: #5343ff !important
}

.dark-square .q-5 {
    background-color: #919191 !important
}

.dark-square .q-dlh {
    background-color: #8e49c1 !important
}

.dark-square .q-ch {
    background-color: #0cbbb0 !important
}

.dark-square .q-bh {
    background-color: #629e27 !important
}

.dark-big .q-1 {
    background-image: url("../img/dark-red-b.png")
}

.dark-big .q-2 {
    background-image: url("../img/dark-blue-b.png")
}

.dark-big .q-3 {
    background-image: url("../img/dark-3-b.png")
}

.dark-big .q-4 {
    background-image: url("../img/dark-4-b.png")
}

.dark-big .q-5 {
    background-image: url("../img/dark-5-b.png")
}

.dark-big .q-dlh {
    background-image: url("../img/dark-dlh-b.png")
}

.dark-big .q-ch {
    background-image: url("../img/dark-ch-b.png")
}

.dark-big .q-bh {
    background-image: url("../img/dark-bh-b.png")
}

.dark-big .b-3.q-4, .dark-big .b-4.q-4 {
    background-image: url("../img/dark-4-b-s.png")
}

.dark-big .b-d.q-2 {
    background-image: url("../img/dark-blue-b-d.png")
}

.dark-big .b-d.q-4 {
    background-image: url("../img/dark-4-b-d.png")
}

.dark-big .b-d1.q-3 {
    background-image: url("../img/dark-3-b-d.png")
}

.dark-small .q-1 {
    background-image: url("../img/dark-red-s.png")
}

.dark-small .q-2 {
    background-image: url("../img/dark-blue-s.png")
}

.dark-small .q-3 {
    background-image: url("../img/dark-3-s.png")
}

.dark-small .q-4 {
    background-image: url("../img/dark-4-s.png")
}

.dark-small .q-5 {
    background-image: url("../img/dark-5-s.png")
}

.dark-small .q-dlh {
    background-image: url("../img/dark-dlh-s.png")
}

.dark-small .q-ch {
    background-image: url("../img/dark-ch-s.png")
}

.dark-small .q-bh {
    background-image: url("../img/dark-bh-s.png")
}

.dark-small .b-3.q-4, .dark-small .b-4.q-4 {
    background-image: url("../img/dark-4-s-s.png")
}

.dark-small .b-d.q-2 {
    background-image: url("../img/dark-blue-s-d.png")
}

.dark-small .b-d.q-4 {
    background-image: url("../img/dark-4-s-d.png")
}

.dark-small .b-d1.q-3 {
    background-image: url("../img/dark-3-s-d.png")
}

.tbk tbody tr:not(.tfoot):not(#tr_row) td:before {
    content: "";
    position: absolute;
    z-index: 10;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0
}

.tbk tbody tr:not(.tfoot):not(#tr_row) .yc_col {
    position: relative;
    z-index: 11
}

.tbk:not(.nohover) tbody tr:not(.tfoot):not(#tr_row):hover td:nth-child(2) {
    background-color: #0b57d0;
    color: #fff
}

.light-table tr:hover td:before {
    background-color: rgba(11, 87, 208, .06)
}

.dark-table tr:hover td:before {
    background-color: hsla(0, 0%, 100%, .15)
}

.loading-spinner {
    color: #1678ff;
    min-height: 12rem;
    height: 100%
}

.loading-spinner:before {
    font-size: 5rem
}

.loading-spinner::after {
    content: "加载中";
    margin-top: .6rem
}

.loading-spinner.mask {
    position: absolute;
    z-index: 2000;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .7)
}

.loading-spinner.mask.full {
    position: fixed
}

.loading-spinner.mask.white {
    background-color: hsla(0, 0%, 100%, .9)
}

.loading-spinner
.table-container {
    display: grid;
    overflow: auto;
    background: #f8fafc;
    padding: .8rem
}

/* info modal */
.dialog-modal {
    position: fixed;
    inset: 0;
    background-color: rgba(17, 24, 39, .45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.info-modal.show {
    display: flex;
}

/* 通用对话框：添加 show 时展示（修复“选择期数”不显示） */
.dialog-modal.show {
    display: flex;
}

.dialog-card {
    background-color: #fff;
    width: min(90vw, 60rem);
    max-height: 80vh;
    overflow: auto;
    border-radius: .8rem;
    box-shadow: 0 .6rem 2rem rgba(0, 0, 0, .15);
    padding: 1.2rem 1.6rem 1.6rem;
}

.dialog-close {
    position: absolute;
    right: .6rem;
    top: .4rem;
    border: 0;
    background: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: #6b7280;
}

.info-close:hover {
    color: #111827;
}

.Dtable thead {
    position: sticky;
    top: 1px;
    z-index: 12
}

.Dtable thead tr:first-child th:nth-child(2), .Dtable tbody tr:not(.tfoot) td:nth-child(2), .Dtable tbody tr.tflh td:nth-child(2) {
    position: sticky;
    left: 1px;
    z-index: 11
}

.Dtable thead tr:first-child th:first-child {
    z-index: 13
}

.light-table .Dtable thead tr:first-child th, .light-table .Dtable tbody tr td:nth-child(2) {
    -webkit-box-shadow: -1px -1px 0 #a7b5be;
    box-shadow: -1px -1px 0 #a7b5be
}

.dark-table .Dtable thead tr:first-child th, .dark-table .Dtable tbody tr td:nth-child(2) {
    -webkit-box-shadow: -1px -1px 0 #5a5a5a;
    box-shadow: -1px -1px 0 #5a5a5a
}

.Dtable tbody tr:first-child .q-s {
    top: -0.4rem;
    border-radius: 0 0 2rem 2rem
}

#tb_line {
    z-index: inherit !important
}

#tb_xline {
    position: relative;
    z-index: 11
}

.tbk tbody tr:not(.tfoot):not(#tr_row) td:not(:nth-child(2)) {
    position: relative
}

/* 移动端横屏功能样式 */
@media screen and (max-width: 766px) {
    .mobile-only {
        display: inline-flex !important;
    }
    
    /* 确保横屏按钮在移动端显示 */
    #landscapeBtn {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* 强制显示横屏按钮，覆盖任何内联样式 */
    .flex-actions #landscapeBtn {
        display: inline-flex !important;
    }
    
    /* 横屏模式样式 - 旋转表格容器90度并居中 */
    .landscape-mode .table-container.cn-tbkbox {
        transform: rotate(90deg) !important;
        transform-origin: center center !important;
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        margin-top: -50vw !important;
        margin-left: -50vh !important;
        width: 100vh !important;
        height: 100vw !important;
        z-index: 9999 !important;
        background: #fff !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }
    
    /* 横屏模式下确保内部容器也铺满 */
    .landscape-mode .table-container.cn-tbkbox .table-container.cn-tbk {
        width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;
    }
    
    .landscape-mode .table-container.cn-tbkbox .bodymain {
        height: 100% !important;
        min-height: 100% !important;
    }
    
    .landscape-mode .table-container.cn-tbkbox .table-auto {
        height: 100% !important;
        min-height: 100% !important;
    }
    
    /* 调试：确保内容可见 */
    .landscape-mode .table-container.cn-tbkbox * {
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* 调试：添加背景色确保可见 */
    .landscape-mode .table-container.cn-tbkbox {
        background: #f0f0f0 !important;
    }
    
    .landscape-mode .table-container.cn-tbkbox .flex-actions {
        background: #e0e0e0 !important;
        border: 1px solid #ccc !important;
    }
    
    /* 横屏模式下的body和html */
    body.landscape-mode,
    html.landscape-mode {
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    
    /* 横屏模式下的body和html */
    body.landscape-mode,
    html.landscape-mode {
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }
    
    .landscape-mode .table-container {
        width: 100vw !important;
        height: 100vh !important;
        padding: 0.2rem !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
        box-sizing: border-box !important;
    }
    
    .landscape-mode .flex-actions {
        position: sticky !important;
        top: 0 !important;
        z-index: 10000 !important;
        background: #fff !important;
        padding: 0.2rem !important;
        margin-bottom: 0.2rem !important;
        border-bottom: 1px solid #ddd !important;
        flex-shrink: 0 !important;
        height: auto !important;
        min-height: 3rem !important;
    }
    
    .landscape-mode .bodymain {
        flex: 1 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        min-height: 0 !important;
    }
    
    .landscape-mode .table-auto {
        font-size: 1.1rem !important;
        width: 100% !important;
        overflow-x: auto !important;
        overflow-y: visible !important;
    }

    /* 横屏模式下：为滚动容器增加微小内边距，避免右侧/底部列被裁剪 */
    .landscape-mode .bodymain {
        padding-bottom: .6rem !important; /* 仅影响可滚动区域的可视底部 */
        scroll-padding-bottom: .6rem !important;
    }
    .landscape-mode .table-auto {
        padding-right: .6rem !important; /* 仅影响可滚动区域的可视右侧 */
        scroll-padding-right: .6rem !important;
    }
    
    .landscape-mode .table-auto table {
        width: max-content !important;
        min-width: 100% !important;
        table-layout: auto !important;
        border-collapse: collapse !important;
    }
    
    .landscape-mode .table-auto table td,
    .landscape-mode .table-auto table th {
        min-width: 1.2rem !important;
        font-size: 1.0rem !important;
        padding: 0.1rem 0.2rem !important;
        line-height: 1.2 !important;
        border: 1px solid #ddd !important;
        white-space: nowrap !important;
    }
    
    .landscape-mode .table-auto table th {
        font-size: 0.95rem !important;
        padding: 0.1rem 0.2rem !important;
        background-color: #f5f5f5 !important;
        font-weight: bold !important;
    }
    
    .landscape-mode .button-default {
        padding: 0.3rem 0.8rem !important;
        min-height: 2.8rem !important;
        font-size: 1.1rem !important;
        margin: 0 0.1rem !important;
        border-radius: 0.3rem !important;
    }
    
    /* 横屏模式下简化列宽设置 */
    .landscape-mode .table-auto table td.kjdate,
    .landscape-mode .table-auto table th.kjdate {
        min-width: 3rem !important;
    }
    
    .landscape-mode .table-auto table td.issue,
    .landscape-mode .table-auto table th.issue {
        min-width: 2.5rem !important;
    }
    
    .landscape-mode .table-auto table td.winnum,
    .landscape-mode .table-auto table th.winnum {
        min-width: 3rem !important;
    }
    
    /* 指标区域列宽 */
    .landscape-mode .table-auto table td.hz,
    .landscape-mode .table-auto table td.hw,
    .landscape-mode .table-auto table td.kd,
    .landscape-mode .table-auto table td.dx,
    .landscape-mode .table-auto table td.jo,
    .landscape-mode .table-auto table td.zh,
    .landscape-mode .table-auto table td.lye,
    .landscape-mode .table-auto table td.dzx,
    .landscape-mode .table-auto table th.hz,
    .landscape-mode .table-auto table th.hw,
    .landscape-mode .table-auto table th.kd,
    .landscape-mode .table-auto table th.dx,
    .landscape-mode .table-auto table th.jo,
    .landscape-mode .table-auto table th.zh,
    .landscape-mode .table-auto table th.lye,
    .landscape-mode .table-auto table th.dzx {
        min-width: 1.5rem !important;
    }
    
    /* 横屏按钮激活状态 */
    .landscape-mode #landscapeBtn {
        background-color: #1678ff !important;
        color: #fff !important;
        border-color: #1678ff !important;
    }
    
    /* 横屏模式下隐藏分区线按钮 */
    .landscape-mode #togglePartitions,
    .landscape-mode #toggleLines {
        display: none !important;
    }
    
    /* 横屏模式下彻底隐藏分区线（即使竖屏时已开启） */
    .landscape-mode .zst-partition,
    .landscape-mode svg .zst-partition,
    .landscape-mode .zst-line,
    .landscape-mode svg .zst-line {
        display: none !important;
    }
    
    /* 横屏模式下限制所有外层容器滚动，只允许表格滚动 */
    .landscape-mode .table-container.cn-tbkbox,
    .landscape-mode .table-container.cn-tbk,
    .landscape-mode .tbkbox,
    .landscape-mode .tbk,
    .landscape-mode .cn-overflow-x,
    .landscape-mode .overflow-x {
        overflow: hidden !important;
    }
    
    /* 确保只有表格内容区域可以滚动 */
    .landscape-mode .bodymain .table-auto {
        overflow-x: auto !important;
        overflow-y: visible !important;
    }
    
    /* 横屏模式下：提升弹窗层级，避免被旋转容器遮挡 */
    .landscape-mode .dialog-modal {
        z-index: 10001 !important;
    }
}


/* 桌面端隐藏移动端按钮 */
@media screen and (min-width: 767px) {
    html {
        background-color: #f3f4f6;
        font-size: 80%
    }

    body {
        width: 100%;
        margin: 0;
        -webkit-box-shadow: none;
        box-shadow: none
    }


    *::-webkit-scrollbar {
        width: .8rem;
        height: .8rem
    }

    *::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, .2)
    }

    *::-webkit-scrollbar-thumb:active, *::-webkit-scrollbar-thumb:hover {
        background-color: rgba(0, 0, 0, .3)
    }

    *::-webkit-scrollbar-track {
        background-color: rgba(0, 0, 0, .05)
    }

    *::-webkit-scrollbar-corner {
        background-color: rgba(0, 0, 0, .05)
    }
    .mobile-only {
        display: none !important;
    }
}