

/* 顶部切换按钮样式 */
.toggle-container {
    display: inline-flex;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 999px;
    gap: 4px;
}
.toggle-btn {
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}
.toggle-btn .icon-circle {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
}
.toggle-btn .icon-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0;
}

/* 激活状态 */
.toggle-btn.sp.active { background: #a78bfa; color: white; box-shadow: 0 4px 10px rgba(167,139,250,0.3); }
.toggle-btn.nasdaq.active { background: #cbd5e1; color: #334155; box-shadow: 0 4px 10px rgba(148,163,184,0.3); }
.toggle-btn.sh.active { background: #fb923c; color: white; box-shadow: 0 4px 10px rgba(251,146,60,0.3); } /* 新增 Tomorrow 橙色调 */

.toggle-btn.active .icon-dot { opacity: 1; }

/* 进度条斜纹 */
.striped-bg {
    background-image: repeating-linear-gradient(
    45deg,
    #e2e8f0,
    #e2e8f0 4px,
    #ffffff 4px,
    #ffffff 8px
    );
}

/* ECharts 容器 */
#MBchart {
    width: 100%;
    height: 360px;
    border-radius: 12px;
}