
*, *::before, *::after {
    box-sizing: border-box;
}
* {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    user-select: none
}
body {
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    margin: 0;
    padding: 0
}
#container {
    height: 100vh;
    display: flex;
    flex-direction: column
}
#toolbar {
    height: var(--layout-toolbar-height);
    padding: var(--spacing-xs) var(--spacing-base);
    display: flex;
    align-items: center;
    background-color: var(--color-bg-primary);
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    box-shadow: var(--shadow-sm)
}
#stocktable {
    flex: 1;
    overflow-x: auto;
    overflow-y: auto;
    padding: 0px;
    min-width: 0;
    white-space: nowrap;
    min-height: var(--layout-min-table-height);
    background-color: var(--color-bg-primary);
    z-index: 1
}
.attempt-hidden-column {
    display: none
}
.plate-container {
    display: none;
    flex-direction: column;
    margin: 0;
    padding: 0;
    background: var(--bg-primary);
    align-items: stretch;
    width: 100%;
    transition: opacity var(--transition-fast);
    will-change: opacity
}
.plates-row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    margin: 0;
    padding: 3px 0;
    overflow-x: auto;
    white-space: nowrap;
    box-sizing: border-box
}
.plate-cell {
    color: var(--text-plate);
    cursor: default;
    position: relative;
    text-align: left;
    display: inline-block;
    width: 100%
}
.table-count {
    margin-left: 5px
}
.tooltip {
    display: none;
    position: absolute;
    background-color: var(--bg-dark);
    border-radius: var(--radius-md);
    padding: var(--pad-md);
    z-index: 9999;
    width: 300px;
    min-width: var(--tooltip-min-w);
    max-width: var(--tooltip-max-w);
    box-shadow: var(--shadow-md);
    color: var(--text);
    font-size: var(--font-size);
    line-height: var(--line-height);
    word-wrap: break-word;
    white-space: normal;
    will-change: opacity, transform
}
.tooltip h4 {
    margin: 0;
    color: var(--text-tooltip-title);
    border-bottom: var(--border-thin) solid var(--border-light)
}
.tooltip p {
    margin: 0;
    word-wrap: break-word;
    line-height: var(--line-height)
}
.tooltip .plate-reason {
    margin: 0
}
.tooltip .ptip {
    padding: 10px;
    color: yellow
}
.tooltip .ptip .sr {
    text-align: justify
}
.tooltip .ptip .sr p {
    text-align: justify;
    margin: 0
}
.tooltip .ptip .sr hr {
    border: none;
    border-top: 1px solid #555;
    margin: 5px 0
}
.plate-checkbox {
    display: flex;
    align-items: center;
    margin: 0 2px
}
.plate-checkbox label {
    margin-left: 4px;
    font-size: 12px;
    cursor: pointer;
    color: var(--text-plate)
}
:root {
    
    --layout-toolbar-height: 25px;
    --layout-table-header-height: 25px;
    --layout-table-cell-height: 21px;
    --layout-indicator-height: 100px;
    --layout-min-table-height: 400px;
    
    
    --color-success: #4ecdc4;
    --color-bg-primary: #1e232d;
    --color-bg-dark: #1e232d;
    --color-bg-hover: #1f477a;
    --color-bg-panel: #0e1b2c;
    --color-text-primary: #dddddd;
    --color-text-muted: #1f477a;
    --color-text-plate: #01bcdd;
    --color-text-tooltip-title: #FFA500;
    --color-text-tertiary: #888888;
    --color-function-pink: #FF03CB;
    --color-function-red: #DE292E;
    --color-function-success: #006006;
    --color-function-green: #4ecdc4;
    --color-function-orange: #FFA500;
    --color-function-yellow: #FFFF00;
    --color-border-primary: #2d3846;
    --color-border-light: #555555;
    --color-scrollbar: #555;
    --color-scrollbar-hover: #ff9900;
    --color-shadow: rgba(0, 0, 0, 0.486);
    --color-state-hover: #1f477a;
    
    
    --size-indicator-column-min-width-2: 100px;
    --size-indicator-column-width-2: 90px;
    --size-indicator-column-width-3: 59px;
    --size-indicator-column-width-other: 150px;
    --size-tooltip-min-width: 300px;
    --size-tooltip-max-width: 600px;
    --size-default-height: 25px;
    
    
    --spacing-base: 1px;
    --spacing-xs: 0;
    --spacing-sm: 2px;
    --spacing-md: 5px;
    
    
    --border-radius-sm: 3px;
    --border-radius-md: 4px;
    --border-width-thin: 1px;
    
    
    --font-family: "PingFang SC", "Microsoft YaHei", "΢���ź�", sans-serif;
    --font-size-base: 11px;
    --font-size-sm: 10px;
    --font-size-xs: 9px;
    --font-size-lg: 16px;
    --font-size-xl: 20px;
    --font-line-height: 1.4;
    
    
    --transition-fast: 0.3s ease-out;
    --transition-base: all 0.3s ease-out;
    --transition-all: all 0.2s ease;
    
    
    --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.5);
    
    
    --transform-center-x: translateX(-50%);
    
    
    --panel-header-gradient: linear-gradient(to bottom, #1e232d, #0e1b2c);
    --panel-header-green: transparent;
    --panel-header-orange: transparent;
    
    
    --bg-primary: var(--color-bg-primary);
    --bg-dark: var(--color-bg-dark);
    --bg-hover: var(--color-bg-hover);
    --panel-bg: var(--color-bg-panel);
    --panel-header: var(--panel-header-gradient);
    --shadow: var(--color-shadow);
    --row-hover: var(--color-state-hover);
    --border: var(--color-border-primary);
    --border-light: var(--color-border-light);
    --text: var(--color-text-primary);
    --text-muted: var(--color-text-muted);
    --text-plate: var(--color-text-plate);
    --text-tooltip-title: var(--color-text-tooltip-title);
    --text-tertiary: var(--color-text-tertiary);
    --text-light: var(--color-text-primary);
    --pink: var(--color-function-pink);
    --red: var(--color-function-red);
    --success: var(--color-function-success);
    --green: var(--color-function-green);
    --orange: var(--color-function-orange);
    --yellow: var(--color-function-yellow);
    --panel-text: var(--color-text-primary);
    --panel-title: var(--color-text-primary);
    --panel-title-green: var(--color-text-primary);
    --default-h: var(--size-default-height);
    --table-header-h: var(--layout-table-header-height);
    --table-cell-h: var(--layout-table-cell-height);
    --indicator-column-min-width-2: var(--size-indicator-column-min-width-2);
    --indicator-column-width-2: var(--size-indicator-column-width-2);
    --indicator-column-width-3: var(--size-indicator-column-width-3);
    --indicator-column-width-other: var(--size-indicator-column-width-other);
    --tooltip-min-w: var(--size-tooltip-min-width);
    --tooltip-max-w: var(--size-tooltip-max-width);
    --space: var(--spacing-base);
    --pad-xs: var(--spacing-xs);
    --pad-sm: var(--spacing-sm);
    --pad-md: var(--spacing-md);
    --space-xl: 10px;
    --radius-sm: var(--border-radius-sm);
    --radius-md: var(--border-radius-md);
    --border-thin: var(--border-width-thin);
    --font: var(--font-family);
    --font-size: var(--font-size-base);
    --line-height: var(--font-line-height);
    --transition: var(--transition-base)
}
.tab-buttons {
    display: flex;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-left: var(--space-xl)
}
.no-scrollbar, .tab-buttons, #toolbar, .plates-row, .indicators-row {
    -ms-overflow-style: none;
    scrollbar-width: none
}
.no-scrollbar::-webkit-scrollbar, .tab-buttons::-webkit-scrollbar, #toolbar::-webkit-scrollbar, .plates-row::-webkit-scrollbar, .indicators-row::-webkit-scrollbar {
    display: none
}
.plate-cell,
.plate-reason {
    user-select: text !important
}
.plate-cell *,
.plate-reason * {
    user-select: text !important
}
.tab-buttons button {
    background-color: transparent;
    color: var(--color-text-primary);
    border: 0px solid var(--color-text-primary);
    border-radius: var(--border-radius-sm);
    margin: 0 var(--spacing-base);
    padding: var(--spacing-sm) var(--spacing-md);
    cursor: pointer;
    user-select: none;
    transition: var(--transition-base);
    font-size: var(--font-size-base);
    will-change: background-color, color
}
.tab-buttons button:hover {
    background-color: transparent
}
.tab-buttons button.active {
    font-weight: normal
}
.tab-buttons button[data-type="limit_up"] {
    color: var(--color-text-primary);
    position: relative
}
.tab-buttons button:focus {
    outline: none;
    box-shadow: none
}
.tab-buttons button[data-type="limit_up"]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: var(--transform-center-x);
    width: 2em;
    height: 1px;
    background-color: var(--red);
    transition: var(--transition-all)
}
.tab-buttons button[data-type="limit_up"].active {
    background-color: transparent;
    color: var(--red)
}
.tab-buttons button[data-type="limit_up"].active::after {
    display: block
}
.tab-buttons button[data-type="limit_down"] {
    color: var(--text);
    position: relative
}
.tab-buttons button[data-type="limit_down"]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: var(--transform-center-x);
    width: 2em;
    height: 1px;
    background-color: #52ff52;
    transition: var(--transition-all)
}
.tab-buttons button[data-type="limit_down"].active {
    background-color: transparent;
    color: #52ff52
}
.tab-buttons button[data-type="limit_down"].active::after {
    display: block
}
.tab-buttons button[data-type="yesterday_limit_up"] {
    color: var(--text);
    position: relative
}
.tab-buttons button[data-type="yesterday_limit_up"]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: var(--transform-center-x);
    width: 2em;
    height: 1px;
    background-color: var(--pink);
    transition: var(--transition-all)
}
.tab-buttons button[data-type="yesterday_limit_up"].active {
    background-color: transparent;
    color: var(--pink);
    cursor: default
}
.tab-buttons button[data-type="yesterday_limit_up"].active::after {
    display: block
}
.tab-buttons button[data-type="limit_up_broken"] {
    color: var(--text);
    position: relative
}
.tab-buttons button[data-type="limit_up_broken"]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: var(--transform-center-x);
    width: 2em;
    height: 1px;
    background-color: var(--orange);
    transition: var(--transition-all)
}
.tab-buttons button[data-type="limit_up_broken"].active {
    background-color: transparent;
    color: var(--orange)
}
.tab-buttons button[data-type="limit_up_broken"].active::after {
    display: block
}
.tab-buttons button[data-type="one_word_limit_up"] {
    color: var(--text);
    position: relative
}
.tab-buttons button[data-type="one_word_limit_up"]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: var(--transform-center-x);
    width: 2em;
    height: 1px;
    background-color: blue;
    transition: var(--transition-all)
}
.tab-buttons button[data-type="one_word_limit_up"].active {
    background-color: transparent;
    color: blue
}
.tab-buttons button[data-type="one_word_limit_up"].active::after {
    display: block
}
.tab-buttons button[data-type="first_limit_up"] {
    color: var(--text);
    position: relative
}
.tab-buttons button[data-type="first_limit_up"]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: var(--transform-center-x);
    width: 2em;
    height: 1px;
    background-color: var(--yellow);
    transition: var(--transition-all)
}
.tab-buttons button[data-type="first_limit_up"].active {
    background-color: transparent;
    color: var(--yellow);
    cursor: default
}
.tab-buttons button[data-type="first_limit_up"].active::after {
    display: block
}
.tab-buttons button[data-type="limit_up_attempt"] {
    position: relative;
    padding-left: calc(var(--spacing-md) + 1px)
}
.tab-buttons button[data-type="limit_up_attempt"]::before {
    content: '';
    position: absolute;
    top: 15%;
    bottom: 15%;
    left: 0;
    width: 1px;
    background-color: var(--color-function-orange);
    transition: var(--transition-base)
}
.tab-buttons button[data-type="limit_up_attempt"].active {
    background-color: var(--color-function-orange);
    color: var(--color-text-primary)
}
.tab-buttons button[data-type="limit_up_attempt"]:active,
.tab-buttons button[data-type="limit_up_attempt"]:focus {
    background-color: var(--color-bg-dark);
    outline: none;
    box-shadow: none
}
.tab-buttons button[data-type="relay"] {
    position: relative;
    padding-left: calc(var(--spacing-md) + 1px)
}
.tab-buttons button[data-type="relay"]::before {
    content: '';
    position: absolute;
    top: 15%;
    bottom: 15%;
    left: 0;
    width: 1px;
    background-color: var(--color-function-pink);
    transition: var(--transition-base)
}
.tab-buttons button[data-type="relay"].active {
    background-color: var(--color-function-pink);
    color: var(--color-text-primary)
}
.tab-buttons button[data-type="relay"]:active,
.tab-buttons button[data-type="relay"]:focus {
    background-color: var(--color-bg-dark);
    outline: none;
    box-shadow: none
}
.tab-buttons button[data-type="noodle"] {
    position: relative;
    padding-left: calc(var(--spacing-md) + 1px)
}
.tab-buttons button[data-type="noodle"]::before {
    content: '';
    position: absolute;
    top: 15%;
    bottom: 15%;
    left: 0;
    width: 1px;
    background-color: var(--color-function-green);
    transition: var(--transition-base)
}
.tab-buttons button[data-type="noodle"].active {
    background-color: var(--color-function-green);
    color: var(--color-text-primary)
}
.tab-buttons button[data-type="noodle"]:active,
.tab-buttons button[data-type="noodle"]:focus {
    background-color: var(--color-bg-dark);
    outline: none;
    box-shadow: none
}
.tab-buttons button[data-type="innovation"] {
    color: var(--text);
    position: relative
}
.tab-buttons button[data-type="innovation"]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: var(--transform-center-x);
    width: 2em;
    height: 1px;
    background-color: #8701e6;
    transition: var(--transition-all)
}
.tab-buttons button[data-type="innovation"].active {
    background-color: transparent;
    color: #8701e6
}
.tab-buttons button[data-type="innovation"].active::after {
    display: block
}
.tab-buttons button[data-type="template"] {
    color: var(--text);
    position: relative
}
.tab-buttons button[data-type="template"]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: var(--transform-center-x);
    width: 2em;
    height: 1px;
    background-color: var(--red);
    transition: var(--transition-all)
}
.tab-buttons button[data-type="template"].active {
    background-color: transparent;
    color: var(--red)
}
.tab-buttons button[data-type="template"].active::after {
    display: block
}
.tab-buttons button[data-type="super_stock"].active,
.tab-buttons button[data-type="nearly_new"].active,
.tab-buttons button[data-type="new_stock"].active {
    background-color: #2c6abd
}
input.date-picker {
    background-color: transparent;
    border: var(--border-thin) solid var(--border);
    border-radius: var(--radius-sm);
    padding: var(--pad-sm) var(--pad-sm);
    padding-right: 25px;
    color: var(--text);
    font-size: var(--font-size);
    position: relative;
    white-space: nowrap;
    width: 100px;
    text-indent: 0;
    text-align: left
}
.date-picker::-webkit-clear-button {
    display: none
}
.date-picker::-webkit-inner-spin-button {
    display: none
}
.date-picker::-webkit-calendar-picker-indicator {
    position: absolute;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: default
}
.date-picker::after {
    content: "";
    position: absolute;
    right: var(--pad-md);
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e0e0e0'%3e%3cpath d='M19 4h-1V2h-2v2H8V2H6v2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V10h14v10zM5 8V6h14v2H5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    pointer-events: none
}
.date-controls {
    display: flex;
    align-items: center;
    gap: 2px;
    white-space: nowrap
}
.date-arrow {
    cursor: default;
    font-size: var(--font-size-sm);
    color: #666;
    padding: var(--spacing-sm);
    background-color: var(--color-bg-primary);
    border-radius: var(--border-radius-sm);
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    user-select: none;
    will-change: background-color, color
}
.date-arrow:hover {
    background-color: var(--color-bg-dark);
    color: white
}
.tablesorter-blue {
    background-color: var(--bg-primary);
    border: none;
    font-family: var(--font);
    font-size: var(--font-size);
    text-align: center;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed
}
.tablesorter-blue th {
    background-color: var(--bg-primary);
    border: none;
    text-align: center;
    cursor: default;
    position: sticky;
    top: 0;
    z-index: 2;
    color: var(--text);
    padding: 0 1px;
    height: var(--table-header-h);
    outline: none
}
.tablesorter-header-inner {
    text-align: center;
    padding-left: var(--pad-xs);
    padding-right: var(--pad-xs)
}
.plate-header-col .tablesorter-header-inner {
    text-align: left
}
.text-right-value {
    text-align: right;
    padding-right: var(--pad-md)
}
.left-padding {
    padding-left: var(--pad-md)
}
.name-column {
    padding-left: var(--pad-sm);
    padding-right: var(--pad-sm)
}
.tablesorter-blue thead {
    background-color: var(--bg-primary);
    color: var(--text);
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.3)
}
.tablesorter-blue th,
.tablesorter-blue td {
    white-space: nowrap;
    overflow: hidden;
    max-width: none
}
.tablesorter-blue tbody tr td {
    padding: 0 3px 0 3px;
    border: none;
    color: var(--text);
    height: var(--table-cell-h)
}
.tablesorter-blue thead .tablesorter-header {
    background-color: var(--color-bg-dark);
    font-size: var(--font-size);
    height: var(--table-header-h);
    line-height: var(--table-header-h);
    background-image: none;
    cursor: default;
    user-select: none;
    white-space: nowrap
}
.tablesorter-blue .tablesorter-header:hover {
    color: var(--color-function-orange)
}
.tablesorter-blue .headerSortUp,
.tablesorter-blue .headerSortDown {
    color: var(--color-function-orange);
}
.tablesorter-blue td.text-right,
.tablesorter-blue th.text-right {
    text-align: right
}
#datatable tbody tr.selected-row {
    background-color: #1e3a5f !important;
    border-top: 1px solid #4a9eff;
    border-bottom: 1px solid #4a9eff
}
#datatable tbody tr.selected-row td {
    background-color: #1e3a5f
}
#datatable tbody tr:hover {
    background-color: var(--row-hover)
}
.tablesorter-blue tbody tr td:first-child {
    color: var(--text-tertiary)
}
.relay-table-container {
    margin-bottom: var(--space-xl);
    overflow-x: auto;
    overflow-y: hidden
}
.relay-table {
    width: auto;
    table-layout: auto
}
.relay-table thead th {
    min-width: 80px;
    text-align: center;
    padding: var(--pad-md);
    border: 1px solid var(--border)
}
.relay-table tbody tr {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap
}
.relay-table tbody td {
    min-width: 80px;
    text-align: center;
    vertical-align: middle;
    padding: var(--pad-md);
    border: none
}
.stock-info {
    display: flex;
    flex-direction: row;
    align-items: center
}
.stock-name {
    font-weight: bold;
    margin-right: var(--space);
    text-align: left;
    flex: 1;
    min-width: 0
}
.stock-change {
    font-size: var(--font-size);
    text-align: right;
    white-space: nowrap;
    min-width: 30px
}
.relay-table td {
    width: var(--indicator-column-width-2);
    min-width: var(--indicator-column-width-2);
    max-width: var(--indicator-column-width-2);
    text-align: left
}
.relay-table tbody tr:hover {
    background-color: var(--bg-dark)
}
.relay-table tbody tr.selected-row {
    background-color: var(--bg-dark)
}
.relay-table .stock-name {
    font-weight: normal;
    font-size: 11px
}
.table-separator {
    height: 2px;
    background-color: var(--border-light);
    margin: var(--space-xl) 0
}
.table-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 0px;
    margin-left: var(--pad-md);
    padding: var(--pad-md) 0
}
.export-btn {
    transition: color 0.2s ease;
}
.export-btn:hover {
    color: var(--orange) !important;
}
.table-title {
    font-weight: bold;
    font-size: 11px;
    color: var(--text-plate)
}
.indicators-row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 0;
    padding: 0;
    border: none;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    width: 100%;
    max-width: 100%;
    max-height: 300px;
    transition: opacity 0.3s ease-out;
    position: relative;
    box-sizing: border-box;
    z-index: 1
}
.indicators-row.hidden {
    max-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden
}
#exportPlateBtn {
    width: var(--default-h);
    height: var(--default-h);
    background-color: var(--bg-dark);
    color: #888888;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    margin: 0 var(--space-xl) 0 var(--space);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size);
    flex-shrink: 0;
    flex-grow: 0;
    min-width: var(--default-h);
    max-width: var(--default-h);
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    flex-basis: var(--default-h);
    word-break: keep-all;
    white-space: nowrap;
    resize: none;
    background-clip: padding-box;
    outline: none;
    transition: color 0.2s ease;
}
#exportPlateBtn:hover {
    color: var(--orange);
}
.indicator-column {
    display: flex;
    flex-direction: column;
    flex-shrink: 1;
    height: 50px;
    margin: 0 15px 0 0;
    border: none;
    box-sizing: border-box
}
.indicator-column:first-child {
    width: auto;
    display: flex;
    flex-direction: column;
    height: 75px;
    margin: 0;
    padding: 0;
    border: none;
    box-sizing: border-box;
    flex-shrink: 0
}
.indicator-column:first-child .indicator-row:nth-child(1),
.indicator-column:first-child .indicator-row:nth-child(2) {
    height: 50%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    padding-left: 0;
    margin-left: 0;
    min-height: 30px
}
.indicator-column:first-child .indicator-row:nth-child(3) {
    margin-top: 0
}
.indicator-column:first-child .indicator-row:nth-child(1) .indicator-item {
    width: auto;
    margin: 0 10px 0 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start
}
.indicator-column:first-child .indicator-row:nth-child(2) .indicator-item {
    width: auto;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start
}
.indicator-column:first-child .indicator-value {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 0;
    margin-left: 0;
    font-weight: normal;
    color: #ffff00;
    text-indent: 7px;
    font-size: 11px
}
.indicator-column:nth-child(2) {
    width: var(--indicator-column-width-2);
    min-width: var(--indicator-column-min-width-2);
    flex-shrink: 1;
    margin-right: 0
}
.indicator-column:nth-child(n+3) {
    width: var(--indicator-column-width-3);
    min-width: var(--indicator-column-width-3);
    max-width: 150px;
    margin-right: 3px
}
.indicator-column:nth-child(3) {
    position: relative
}
.indicator-column:nth-child(2) .indicator-row:nth-child(1),
.indicator-column:nth-child(2) .indicator-row:nth-child(2) {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 30px
}
.indicator-column:nth-child(2) .indicator-row:nth-child(3) {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 30px;
    cursor: default
}
.indicator-column:nth-child(3) .indicator-row {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 30px;
    padding-left: 5px
}
.indicator-column:nth-child(4) .indicator-row,
.indicator-column:nth-child(5) .indicator-row {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 30px
}
.indicator-column:nth-child(2) .indicator-item,
.indicator-column:nth-child(4) .indicator-item,
.indicator-column:nth-child(5) .indicator-item {
    align-items: center;
    text-align: center;
    width: 100px;
    max-width: 100px;
    min-width: 100px
}
.indicator-column:nth-child(3) .indicator-item {
    align-items: flex-start;
    text-align: left;
    width: 100%
}
#data6-cell:contains('-'),
#data8-cell:contains('-'),
#data9-cell:contains('-'),
#data10-cell:contains('-'),
#data11-cell:contains('-'),
#data12-cell:contains('-'),
#data18-cell:contains('-'),
#third-board-count-cell:contains('-'),
td:contains('-') {
    color: #1f477a
}
#data6-cell {
    color: var(--red)
}
.indicator-column:nth-child(n+3) .indicator-item {
    margin: 0;
    padding: 0
}
.indicator-column:nth-child(n+3) .indicator-value {
    margin: 0;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left
}
.indicator-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    flex-shrink: 0;
    height: 100%;
    margin-bottom: 15px;
    border: none
}
.indicator-item.indicator--heat,
.indicator-item.indicator--broken-plate-ratio {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    margin-right: 0
}
.indicator-column--first .indicator-item,
.indicator-column:nth-child(1) .indicator-item,
.indicator-column:nth-child(2) .indicator-item {
    margin: 0;
    padding: 0
}
.indicator-value {
    font-weight: normal;
    color: var(--text-light);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center
}
.indicator-item.indicator--heat .indicator-name {
    color: var(--text-tertiary)
}
.indicator-item.indicator--heat .indicator-value {
    color: var(--yellow);
    margin-left: 2px;
    width: 100%;
    text-align: left
}
.indicator-item[data-name="溢价率"] .indicator-name {
    color: var(--text-tertiary)
}
.indicator-item[data-name="溢价率"] .indicator-value {
    text-align: center;
    width: 100%
}
.indicator-item[data-name="热度"] .indicator-name {
    display: none
}
.indicator-item[data-name="热度"] .indicator-value {
    text-align: center;
    width: 100%;
    position: relative;
    top: -3px
}
.indicator-item.indicator--broken-plate-ratio .indicator-name {
    color: var(--text-muted)
}
.indicator-item.indicator--broken-plate-ratio .indicator-value {
    text-align: center;
    width: 100%
}
.indicator-value .indicator-name-separate {
    margin: 0;
    padding: 0;
    line-height: 1;
    color: #1f477a
}
.ratio-left {
    color: var(--red);
    font-size: 11px;
    padding: 0 0px
}
.ratio-separator {
    color: #1f477a;
    font-size: 11px;
    padding: 0
}
.ratio-right {
    color: #4ecdc4;
    font-size: 11px;
    padding: 0 2px
}
.indicator-column--first .indicator-name,
.indicator-column:nth-child(1) .indicator-name {
    font-size: 11px;
    color: var(--text-tertiary)
}
.indicator-value .percent-value,
.indicator-value .normal-value {
    color: var(--orange)
}
.indicator-value .percent-number {
    color: #dddddd
}
.indicator-value .percent-sign,
.percent-sign {
    color: #1f477a
}
    color: #006006
}
.indicator-value .percent-positive {
    color: #DE292E
}
.indicator-value .limit-up {
    color: #DE292E
}
.indicator-value .limit-down {
    color: #006006
}
.indicator-item[data-name="溢价率"],
.indicator-item[data-name="热度"] {
    padding-top: 0px
}
.indicator-item[data-name="溢价率"] {
    padding-top: 0px
}
.volume-row,
.volume-predict-row {
    margin-left: 0
}
.cat {
    color: var(--pink);
    font-size: 11px;
    font-weight: bold;
    padding: 3px 8px;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    text-align: center;
    line-height: 1.2;
    display: inline-block;
    margin: 0 var(--pad-md) 0 0;
    white-space: nowrap;
    vertical-align: middle
}
.modal-content span.zhangfu {
    background-color: #DE292E
}
.modal-content span.white-link {
    color: #fff;
    text-decoration: none;
    line-height: 12px
}
.indicators-row,
.indicator-column,
.indicator-row,
.indicator-item,
.indicator-name,
.indicator-value,
.indicators-row *,
.indicator-column *,
.indicator-row *,
.indicator-item * {
    font-size: 11px;
    font-weight: normal
}
.indicator-column:nth-child(n+3) .indicator-item,
.indicator-column:nth-child(n+3) .indicator-name,
.indicator-column:nth-child(n+3) .indicator-value {
    display: flex;
    align-items: center
}
.indicator-column:nth-child(3) {
    margin-left: 30px
}
.indicator-column:nth-child(3) .indicator-item,
.indicator-column:nth-child(3) .indicator-name,
.indicator-column:nth-child(3) .indicator-value {
    text-align: right
}
.indicator-column:nth-child(1) .indicator-item[data-name="热度"] .indicator-value,
.indicator-column:nth-child(1) .indicator-item[data-name="热度"] .indicator-value span {
    font-size: 18px;
    color: #FFFF00
}
.indicator-column:nth-child(1) .indicator-item[data-name="溢价率"] .indicator-value,
.indicator-column:nth-child(1) .indicator-item[data-name="溢价率"] .indicator-value .percent-number {
    font-size: 16px;
    color: #FFA500
}
.indicator-column:nth-child(1) .indicator-item[data-name="红绿比"] .indicator-value,
.indicator-column:nth-child(1) .indicator-item[data-name="红绿比"] .indicator-value span {
    color: #888888;
    font-size: 11px
}
.volume-unit {
    color: #888888;
    font-size: 11px
}
.volume-value,
.volume-change-value {
    cursor: default;
    transition: var(--transition-base);
    display: inline-block;
    font-size: 11px
}
.indicator-item[data-name="红绿比"] .ratio-left,
.indicator-item[data-name="红绿比"] .ratio-separator,
.indicator-item[data-name="红绿比"] .ratio-right {
    font-size: 15px
}
.value-up {
    color: #DE292E
}
.value-down {
    color: #4ecdc4
}
.value-neutral {
    color: #000000
}
.indicators-row *,
.indicator-column *,
.indicator-row *,
.indicator-item *,
.indicator-value span,
.indicator-value div,
.indicator-value p,
.indicator-value b {
    font-size: 11px
}
div table,
div table td,
div table th {
    border: none;
    outline: none
}
div table {
    border-collapse: collapse;
    border-spacing: 0
}
.indicators-row table,
.indicators-row table td,
.indicators-row table th,
.indicator-column table,
.indicator-column table td,
.indicator-column table th,
.indicator-item table,
.indicator-item table td,
.indicator-item table th {
    border: none;
    outline: none;
    border-width: 0;
    border-style: none
}
.indicator-column:nth-child(1) .indicator-row:nth-child(1) {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: center;
    width: 100%
}
.indicator-column:nth-child(1) .indicator-row:nth-child(2) {
    display: flex;
    justify-content: flex-start;
    width: 100%
}
.indicator-column:nth-child(2) .indicator-row .indicator-item {
    margin: 0;
    padding: 0;
    border: none
}
.indicator-column:nth-child(2) .indicator-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0
}
.percent-sign {
    font-size: inherit;
    color: #888888
}
.indicator-value-positive {
    color: #DE292E
}
.indicator-value-negative {
    color: #4ecdc4
}
.indicator-value-neutral {
    color: #dddddd
}
#volume-predict-value-cell span[data-tooltip] {
    position: relative
}
#volume-predict-value-cell span[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: var(--transform-center-x);
    background-color: #FFFF00;
    color: #000000;
    padding: 5px 10px;
    border-radius: 4px;
    white-space: nowrap;
    z-index: 1000;
    font-size: 11px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    margin-bottom: 5px
}
#volume-predict-value-cell span[data-tooltip]:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: var(--transform-center-x);
    border-width: 5px;
    border-style: solid;
    border-color: #FFFF00 transparent transparent transparent;
    margin-bottom: -5px;
    z-index: 1001
}
.indicator-padding-left {
    margin-left: -31px
}
.indicator-padding-right {
    margin-left: 4px
}
#toggle-plate-btn {
    background: transparent;
    color: #dddddd;
    border: none;
    padding: 0;
    border-radius: 0;
    cursor: default;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    margin-left: 5px
}
#toggle-plate-btn:active,
#toggle-plate-btn:focus {
    outline: none;
    box-shadow: none
}
.toolbar-ellipsis {
    margin-left: 5px;
    margin-right: 5px;
    color: var(--text);
    font-size: 11px;
    transform: translateY(-3px);
    cursor: pointer
}
.toolbar-ellipsis:hover,
#configBtn:hover {
    color: #ff9900 !important
}
.toolbar-ellipsis img:hover {
    filter: brightness(0) saturate(100%) invert(65%) sepia(85%) saturate(500%) hue-rotate(360deg) brightness(1.1)
}
.popup-menu {
    background: var(--panel-bg);
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center
}
.popup-menu-item {
    padding: 15px 30px;
    cursor: default;
    user-select: none;
    font-size: 18px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    width: 100%;
    text-align: center
}
.popup-menu-item:last-child {
    border-bottom: none
}
.popup-menu-item:hover {
    background-color: var(--bg-hover);
    color: var(--text)
}
.nav-button.refresh {
    background: none;
    border: none;
    cursor: default;
    font-size: 11px;
    color: var(--text);
    padding: 2px;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none
}
.nav-button.refresh:hover {
    color: yellow
}
.nav-button.refresh.auto-refresh {
    color: orange
}
.nav-button.refresh:not(.auto-refresh) {
    color: gray
}
.refresh-icon {
    display: inline-block
}
.nav-button.refresh.loading .refresh-icon,
#toggle-plate-btn.loading .refresh-icon {
    animation: spin 1s linear;
    animation-iteration-count: 1
}
.nav-button.refresh.auto-refresh .refresh-icon,
#toggle-plate-btn.auto-refresh .refresh-icon {
    color: #FFA500
}
.column-toggle-btn {
    display: inline-block;
    margin-right: 5px;
    color: #dddddd;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.2s ease;
    font-size: 12px;
    user-select: none;
    -webkit-tap-highlight-color: transparent
}
.column-toggle-btn:hover {
    color: var(--yellow);
    transform: scale(1.1)
}
.column-toggle-btn:active {
    transform: scale(0.95)
}
.column-toggle-btn.active {
    color: var(--yellow);
    transform: scale(1.05)
}
.panel {
    position: absolute;
    background: var(--panel-bg);
    border: 1px solid var(--border);
    border-radius: 5px;
    overflow: hidden;
    min-width: 200px;
    min-height: 100px;
    resize: both;
    box-shadow: 0 2px 8px var(--shadow)
}
.panel-collapsed {
    min-height: auto;
    height: auto
}
.panel-collapsed .panel-content {
    max-height: 0;
    padding: 0;
    overflow: hidden;
    min-height: 0
}
.panel-header {
    background: var(--panel-header);
    color: var(--panel-title);
    padding: 3px 0px 3px 8px;
    cursor: default;
    user-select: none;
    font-size: 12px;
    font-weight: 700;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative
}
.panel-header--green {
    color: var(--panel-title-green);
    background: var(--panel-header-green)
}
.panel-header--orange {
    color: var(--panel-title);
    background: var(--panel-header-orange)
}
.panel-header--orange-solid {
    background: transparent
}
.panel-header__left {
    display: flex;
    align-items: center;
    gap: 8px
}
.panel-header__refresh {
    padding: 1px 1px;
    font-size: 10px;
    background: transparent;
    border: none;
    color: #dddddd;
    border-radius: var(--radius-sm);
    cursor: default;
    transition: transform 0.3s ease;
    outline: none;
    margin-right: 10px
}
.panel-header__refresh:focus {
    outline: none
}
@keyframes spin {
    from {
        transform: rotate(0deg)
    }
    to {
        transform: rotate(360deg)
    }
}
.panel-header__refresh.refreshing {
    animation: spin 0.6s ease-in-out;
    color: var(--yellow)
}
.panel-close-btn {
    padding: 0 3px;
    transition: background-color 0.2s ease;
}
.panel-close-btn:hover {
    background-color: #D22222;
}
[id$="-count"] {
    color: #ff0
}
.title-text {
    margin-left: -5px
}
.panel-content {
    padding: 3px;
    min-height: 50px;
    overflow: auto;
    font-size: 12px
}
.resize-handle {
    position: absolute;
    background: transparent;
    z-index: 10
}
.resize-handle.top,
.resize-handle.bottom {
    width: 100%;
    height: 5px
}
.resize-handle.left,
.resize-handle.right {
    width: 5px;
    height: 100%
}
.resize-handle.top-left,
.resize-handle.top-right,
.resize-handle.bottom-left,
.resize-handle.bottom-right {
    width: 10px;
    height: 10px
}
.resize-handle.top {
    top: 0;
    left: 0;
    cursor: ns-resize
}
.resize-handle.bottom {
    bottom: 0;
    left: 0;
    cursor: ns-resize
}
.resize-handle.left {
    top: 0;
    left: 0;
    cursor: ew-resize
}
.resize-handle.right {
    top: 0;
    right: 0;
    cursor: ew-resize
}
.resize-handle.top-left {
    top: 0;
    left: 0;
    cursor: nwse-resize
}
.resize-handle.top-right {
    top: 0;
    right: 0;
    cursor: nesw-resize
}
.resize-handle.bottom-left {
    bottom: 0;
    left: 0;
    cursor: nesw-resize
}
.resize-handle.bottom-right {
    bottom: 0;
    right: 0;
    cursor: nwse-resize
}
.panel-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    color: var(--text)
}
#panel-limit-up-attempt {
    min-width: 100px;
    background-color: #1e232d;
    border-color: #888888
}
#panel-limit-up-attempt .panel-content {
    background-color: #1e232d;
    white-space: nowrap;
    overflow-x: auto
}
#panel-limit-up-attempt .panel-content table {
    background-color: #1e232d
}
#panel-limit-up-attempt .panel-header {
    background-color: transparent
}
#panel-limit-up-attempt .title-text {
    color: var(--orange)
}
#panel-limit-up-attempt .panel-content table th,
#panel-limit-up-attempt .panel-content table td {
    white-space: nowrap;
    border-bottom: none;
    padding: 0 5px 0 5px;
    height: var(--table-cell-h)
}
#panel-limit-up-attempt .panel-content table {
    table-layout: auto;
    width: auto
}
#panel-relay {
    min-width: 100px;
    background-color: #1e232d;
    border-color: #888888
}
#panel-relay .panel-content {
    background-color: #1e232d;
    white-space: nowrap;
    overflow-x: auto
}
#panel-relay .panel-content table {
    background-color: #1e232d
}
#panel-relay .panel-header {
    background-color: #0066cc
}
#panel-relay .title-text {
    color: var(--orange)
}
#panel-relay .panel-content table th,
#panel-relay .panel-content table td {
    white-space: nowrap;
    border-bottom: none;
    padding: 0 5px 0 5px;
    height: var(--table-cell-h)
}
#panel-relay .panel-content table {
    table-layout: fixed;
    width: 100%
}
#panel-noodle {
    min-width: 100px;
    background-color: #1e232d;
    border-color: transparent
}
#panel-noodle .panel-content {
    background-color: #1e232d;
    white-space: nowrap;
    overflow-x: auto
}
#panel-noodle .panel-content table {
    background-color: #1e232d;
    table-layout: auto;
    width: auto
}
#panel-noodle .panel-header {
    background-color: #0066cc
}
#panel-noodle .title-text {
    color: var(--green)
}
#panel-noodle .panel-content table th,
#panel-noodle .panel-content table td {
    white-space: nowrap;
    border-bottom: none;
    padding: 0 5px 0 5px;
    height: var(--table-cell-h)
}
#panel-noodle .panel-content table td:nth-child(5) {
    background-color: var(--success)
}
#panel-noodle .panel-content table td:not(:nth-child(3)):not(:nth-child(5)) {
    background-color: transparent
}
.panel-content th,
.panel-content td {
    padding: 3px 5px;
    text-align: center;
    border-bottom: 1px solid var(--border-light)
}
.panel-content th {
    background-color: transparent;
    cursor: default;
    font-weight: normal
}
.panel-content tr:hover {
    background-color: var(--row-hover)
}

html { overflow: hidden; }
body { overflow: hidden; }
::-webkit-scrollbar {
    width: 3px;
    height: 3px;
    display: block;
    background: transparent;
}
::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: var(--color-scrollbar);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-scrollbar-hover);
}
::-webkit-scrollbar-track {
    background: var(--color-border-primary);
}
* {
    scrollbar-width: thin;
    scrollbar-color: var(--color-scrollbar) var(--color-border-primary);
}
* {
    -ms-overflow-style: none;
}
@keyframes volume-money-flash {
    0% { color: #ffffff; }
    100% { color: #888888; }
}
.volume-money-value {
    color: #888888;
}
.volume-money-value.flash {
    animation: volume-money-flash 0.6s ease-out;
}
}