html, body { margin: 0; padding: 0; width: 100%; height: 100vh; background-color: #111014; font-family: sans-serif; color: #ccc; overflow: hidden;  }
.tonseng-page-wrapper { display: flex; flex-direction: column; width: 100%; height: 100vh;  }
.tonseng-header-box { flex-shrink: 0;  }
.top-navbar { background-color: #1c1a22; padding: 0 20px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid #2d2a36; font-size: 13px; height: 45px; box-sizing: border-box; flex-shrink: 0; margin: 0; margin-top: 60px;  }
.stock-tag { background: #26242e; border: 1px solid #444; padding: 2px 6px; border-radius: 4px; color: #fff; font-weight: bold; line-height: 20px;  }
.btn-group { display: flex; gap: 5px;  }
.btn { background: #2e2c38; color: #bbb; border: 1px solid #444; padding: 2px 6px; line-height: 20px; cursor: pointer; border-radius: 3px; font-size: 12px;  }
.btn.active-main { background: #e51c23; color: #fff; border-color: #e51c23;  }
.btn.active-sub { background: #2563eb; color: #fff; border-color: #2563eb;  }
.search-input { background: #16141a; border: 1px solid #444; color: #fff; padding: 4px 8px; border-radius: 3px; width: 100px; font-size: 12px;  }
.btn-search { background: #2563eb; color: #fff; border: none; padding: 6px 10px; cursor: pointer; border-radius: 3px; font-size: 14px; font-weight: bold;  }
input[type="text"] { width: 90px; line-height: 20px; margin-top: 10px; border: 1px solid #ddd;margin-right: 10px;}
#price-box { font-size: 18px; color: #ef5350; font-family: monospace; font-weight: bold;  }
.chart-main-box { flex: 1; width: 100%; min-height: 0; box-sizing: border-box; padding: 10px 0 0 0; background-color: #111014;  }
#chart-container { width: 100% !important; height: 100% !important; position: relative; overflow: hidden;  }
#ts-main-chart { width: 100%; height: 100% !important;  }
@media (min-width: 768px) { .site-header { padding: 10px;  }
 }
.tonseng-footer-box { flex-shrink: 0; height: 50px; line-height: 50px; background-color: #1c1a22; color: #666; font-size: 14px; text-align: center; border-top: 1px solid #2d2a36; position: relative; z-index: 999;  }
#ts-huangli-panel { display: none;  }
@media screen and (max-width: 1024px) and (orientation: portrait) { .chart-main-box { flex: none; height: 65vh;  }
#ts-huangli-panel { display: block !important; width: 100%; height: 35vh !important; background-color: #16141a; border-top: 1px solid #23212b; padding: 12px; box-sizing: border-box;  }
.tonseng-footer-box { display: none;  }
 }
@media screen and (max-width: 500px) and (max-height: 700px) and (orientation: portrait) { .chart-main-box { height: 72vh;  }
#ts-huangli-panel { height: 28vh;  }
 }
@media (max-width: 900px) and (orientation: portrait) { .site-header { background: #111014;  }
 }
@media (max-width: 900px) and (orientation: landscape) { .tonseng-header-box { display: none;  }
.top-navbar { margin-top: 0px;  }
 }
@media screen and (max-width: 768px) { .top-navbar { padding: 0 12px; gap: 8px; overflow-x: auto; overflow-y: hidden; white-space: nowrap; display: flex !important; align-items: center; -webkit-overflow-scrolling: touch;  }}
.btn-group { display: flex; flex-shrink: 0; gap: 5px;  }
/* 🟢 1. 将下拉框整体容器洗成暗黑底色，并换成科技感暗边框 */
#stock-search-suggest.suggest-box {
    background-color: #141419 !important; /* 契合您 K 线背景的深黑底 */
    border: 1px solid #23212b !important;  /* 换成您 yAxis 一样的暗紫灰边框 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
}

/* 🟢 2. 让未选中时的中文简称显示为清爽的亮白色 */
.search-wrapper .suggest-box .suggest-item .stock-name {
    color: #e2e4ea !important; /* 暗黑背景下的高可见度亮灰白字 */
    font-size: 13px !important;
}

/* 🟢 3. 让未选中时的拼音缩写显示为淡灰色 */
.search-wrapper .suggest-box .suggest-item span:last-child {
    color: #8e8da6 !important; /* 完美对齐您副图标签的灰紫色 */
}

/* 🟢 4. 键盘或鼠标悬停选中这一行时，触发经典的深灰蓝高亮底色 */
.search-wrapper .suggest-box .suggest-item:hover,
.search-wrapper .suggest-box .suggest-item.active-focus {
    background-color: #263445 !important; /* 经典的职业看盘选中色 */
    border-left: 3px solid #409eff !important; /* 左侧加一道科技蓝立柱提示 */
}

/* 🟢 5. 选中这一行时，强制让中文简称变成纯白，清晰度绝对绝杀 */
.search-wrapper .suggest-box .suggest-item:hover .stock-name,
.search-wrapper .suggest-box .suggest-item.active-focus .stock-name {
    color: #ffffff !important;
}
