:root {
    --stock-up: #DE292E;
    --stock-down: #4ecdc4;
    --hot-rise: #DE292E;
    --hot-fall: #4ecdc4;
    --neutral: #FFFFFF;
    --background: #13253C;
    --card-bg: #13253C;
    --highlight-color: #0e1b2c;
}
html,
body {
    background-color: var(--background);
    color: #EEEEEE;
    font-family: 'HarmonyOS Sans SC', 'Segoe UI', system-ui;
    font-size: 12px;
    -webkit-font-smoothing: antialiased;
    overflow: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
a {
    text-decoration: none;
}
span, 
a, 
button {
    display: inline-block;
    line-height: 1;
}
div {
    line-height: 1;
}
.tab-header {
    display: flex;
    gap: 0;
    height: 25px;
    margin: 0;
    padding-left: 0;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.tab-header::-webkit-scrollbar {
    display: none;
}
.tab-link, 
.plate-btn, 
.refresh-btn {
    background: var(--background);
    border: none;
    height: 100%;
    transition: all 0.3s ease;
}
.tab-link {
    color: rgba(100, 100, 100, 0.7);
    padding: 0;
    width: 55px;
    font-size: 12px;
}
.plate-btn {
    color: #01bcdd;
    padding: 0 10px 0 5px;
    margin-left: 1px;
    font-size: 16px;
}
.refresh-btn {
    color: rgba(100, 100, 100, 0.7);
    padding: 0 10px;
}
.tab-link:hover, 
.plate-btn:hover, 
.refresh-btn:hover {
    background: var(--highlight-color);
}
.refresh-btn:hover {
    color: rgba(255, 255, 255, 0.9);
}
#refresh-icon {
    color: yellow;
}
.refresh-btn.loading {
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.loading-overlay.visible {
    opacity: 1;
    visibility: visible;
}
.loading-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--highlight-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}
.tab-link.active {
    background: var(--highlight-color);
    color: white;
}
.news-card {
    background: var(--card-bg);
    overflow: hidden;
    height: 24px;
    display: flex;
    align-items: center;
    transition: background 0.3s ease;
}
.news-card:hover {
    background: var(--highlight-color);
}
.stock-header {
    display: flex;
    align-items: center;
    width: 100%;
    white-space: nowrap;
}
.ranking {
    width: 20px;
    height: 20px;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    color: #888888;
}
.stock-link {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 80px;
    position: relative;
    z-index: 1;
    padding-left: 3px;
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
}
.change-container {
    width: 100px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-left: -78px;
}
.data-container {
    width: 60px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-left: -23px;
}
.column-container {
    display: flex;
    gap: 0px;
    width: auto;
    height: 100%;
    flex-wrap: wrap;
    overflow-x: hidden;
}
.column {
    min-width: 190px;
    flex: 1;
    flex-basis: 190px;
}
.stock-up {
    color: var(--stock-up);
}
.stock-down {
    color: var(--stock-down);
}
.stock-limit-up {
    color: white;
    background-color: var(--stock-up);
    font-weight: normal;
    padding: 2px 2px;
    border-radius: 3px;
}
.stock-limit-down {
    color: white;
    background-color: #006006;
    font-weight: normal;
    padding: 2px 2px;
    border-radius: 3px;
}
.hot-rise {
    color: var(--hot-rise);
}
.hot-fall {
    color: var(--hot-fall);
}
.neutral {
    color: #888888;
}