* {
    box-sizing: border-box;
}
body {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    background-color: #0f0f1a;
    color: #eaeef2;
    padding: 24px 20px;
    margin: 0;
}
.container {
    max-width: 1600px;
    margin: 0 auto;
}
.top-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid #2c2c3e;
    padding-bottom: 10px;
}
.title-area h1 {
    font-size: 1.7rem;
    font-weight: 600;
    margin: 0;
    color: #eef2ff;
}
.nav-link {
    background-color: #2a2a3a;
    padding: 6px 18px;
    border-radius: 30px;
    text-decoration: none;
    color: #ccc;
    font-size: 0.85rem;
    transition: 0.2s;
}
.nav-link:hover {
    background-color: #4c6ef5;
    color: white;
}

/* 合并后的统一按钮行 */
.unified-action-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    background: #111118;
    padding: 12px 24px;
    border-radius: 48px;
    margin: 20px 0 24px 0;
}

.unified-action-bar .btn-group {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.unified-action-bar .right-group {
    margin-left: auto;
}

.separator {
    width: 1px;
    height: 30px;
    background: #3a3a50;
    margin: 0 5px;
}

/* 手动获取按钮 - 浅绿色（与阈值区B1风格一致） */
.manual-btn {
    background: #2d6a2d !important;
    color: #e0ffe0 !important;
    border: 1px solid #5a9e5a;
    font-size: 0.85rem;
    font-weight: bold;
    padding: 8px 20px;
    border-radius: 40px;
    cursor: pointer;
    transition: 0.2s;
}
.manual-btn:hover {
    background: #3a7e3a !important;
    transform: scale(1.02);
}
.manual-btn:disabled {
    background: #4a4a4a !important;
    color: #aaa !important;
    border-color: #6a6a6a;
    cursor: not-allowed;
}

/* 自动获取按钮 - 橙色 */
.auto-btn {
    background: #f0a500 !important;
    color: #1e1e1e !important;
    border: none;
    font-size: 0.85rem;
    font-weight: bold;
    padding: 8px 20px;
    border-radius: 40px;
    cursor: pointer;
    transition: 0.2s;
}
.auto-btn:hover {
    background: #e08900 !important;
    transform: scale(1.02);
}
.auto-btn:disabled {
    background: #6a6a6a !important;
    color: #ccc !important;
}

/* 停止按钮 - 红色 */
.stop-btn {
    background: #8b3a3a !important;
    color: #ffcccc !important;
    border: 1px solid #cc6666;
    font-size: 0.85rem;
    font-weight: bold;
    padding: 8px 20px;
    border-radius: 40px;
    cursor: pointer;
    transition: 0.2s;
}
.stop-btn:hover {
    background: #9a4a4a !important;
}

.auto-status {
    font-size: 0.75rem;
    font-family: monospace;
    color: #5f9eff;
    background: #1a1a2a;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.tab-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    border-bottom: 1px solid #2c2c3e;
    padding-bottom: 8px;
    flex-wrap: wrap;
}
.tab-btn {
    background: #2a2a30;
    color: #777;
    font-size: 1rem;
    padding: 8px 24px;
    border-radius: 40px;
    border: none;
    transition: 0.2s;
    cursor: pointer;
}
.tab-btn.active {
    background: #1a1a2a;
    color: white;
    border: none;
}
.placeholder-tab {
    background: #1f1f2a;
    color: #c0c0d0;
    font-size: 12px;
    line-height: 1.5;
    padding: 12px;
    border-radius: 12px;
    border: 1px dashed #3a3a50;
    cursor: default;
    white-space: pre-wrap;
    overflow-y: auto;
    max-height: 300px;
    text-align: left;
    width: auto;
    min-width: 200px;
}
.info-card {
    background: #12121f;
    border-radius: 20px;
    margin-bottom: 28px;
    padding: 18px 24px;
    border-left: 4px solid #5f9eff;
    font-size: 0.85rem;
    transition: all 0.2s;
}
.info-card.hide {
    display: none;
}
.info-line {
    margin: 10px 0;
    line-height: 1.45;
}
.cards-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.symbol-card {
    background: #14141f;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #2c2c3e;
}
.symbol-header {
    background: #1e1e2c;
    padding: 12px 22px;
    font-size: 1.4rem;
    font-weight: bold;
    border-bottom: 2px solid #3a3a50;
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0;
}
.symbol-name {
    background: #2a2a3f;
    padding: 4px 16px;
    border-radius: 40px;
    font-size: 1.1rem;
    margin-right: 0;
}
.symbol-badge {
    font-size: 0.7rem;
    background: #1f3a4b;
    padding: 4px 14px;
    border-radius: 30px;
    color: #9bc0e0;
    margin-left: 0;
}
.table-wrapper {
    overflow-x: auto;
    max-height: 460px;
    overflow-y: auto;
    border-top: 1px solid #2a2a3a;
}
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    background: #0e0e18;
    min-width: 950px;
}
.data-table th {
    background: #232333;
    color: #d4d4f0;
    padding: 10px 6px;
    position: sticky;
    top: 0;
}
.data-table td {
    padding: 7px 5px;
    border-bottom: 1px solid #262636;
    text-align: right;
}
.data-table td:first-child,
.data-table th:first-child {
    text-align: left;
    padding-left: 12px;
}
.data-table tr:hover td {
    background: #1c1c2c;
}
.error-msg {
    color: #ff9e7a;
    background: #2a1a1a;
    padding: 12px;
    margin: 12px;
    border-radius: 14px;
}
.no-data {
    text-align: center;
    padding: 48px 20px;
    color: #aaa;
    background: #0f0f1a;
    border-radius: 28px;
}
footer {
    margin-top: 40px;
    text-align: center;
    font-size: 11px;
    color: #5a5a7a;
    border-top: 1px solid #2c2c3e;
    padding-top: 20px;
}
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #1e1e2a;
}
::-webkit-scrollbar-thumb {
    background: #4c6a8f;
    border-radius: 10px;
}
.unified-table-container {
    background: #14141f;
    border-radius: 20px;
    overflow: auto;
    border: 1px solid #2c2c3e;
}
.unified-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    background: #0e0e18;
    min-width: 1000px;
}
.unified-table th {
    background: #1e1e2c;
    color: #d4d4f0;
    padding: 12px 8px;
    position: sticky;
    top: 0;
    font-weight: bold;
}
.unified-table td {
    padding: 8px 6px;
    border-bottom: 1px solid #262636;
    text-align: right;
}
.unified-table td:first-child,
.unified-table th:first-child {
    text-align: left;
    padding-left: 12px;
}
.unified-table td:nth-child(2) {
    text-align: left;
    font-weight: bold;
    color: #f0b27a;
}
.unified-table tr:hover td {
    background: #1c1c2c;
}
.table-caption {
    background: #1e1e2c;
    padding: 12px 20px;
    font-size: 1.2rem;
    font-weight: bold;
    border-bottom: 2px solid #3a3a50;
    color: #eef2ff;
}
/* 冷却倒计时状态文字 */
.cooling-status {
    font-size: 0.7rem;
    font-family: monospace;
    color: #ffaa66;
    background: #1a1a2a;
    padding: 2px 8px;
    border-radius: 20px;
    margin-left: 8px;
    white-space: nowrap;
}
#placeholder3, #placeholder5, #placeholder6 {
    min-width: auto;
    padding: 12px 16px;
}