/* 基础样式 */
body {
    font-family: 'Microsoft YaHei', sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f5f5f5;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    color: #1a56a7;
    margin-bottom: 30px;
}

/* 分类样式 */
.category {
    margin-bottom: 30px;
}

.category h2 {
    color: #1a56a7;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

.category h2.clickable {
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.category h2.clickable:hover {
    color: #144785;
    background: rgba(26, 86, 167, 0.05);
    border-radius: 6px;
    padding: 10px;
    margin: -10px;
}

/* 链接卡片样式 */
.links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.link-card {
    flex: 1 1 calc(33.333% - 15px);
    min-width: 250px;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: #1a56a7;
}

.link-card h3 {
    margin-top: 0;
    color: #1a56a7;
}

/* 新闻容器样式 */
.news-container {
    margin-bottom: 30px;
    flex: 1;
    min-width: 30%;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.news-container h2 {
    color: #1a56a7;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
    margin-top: 0;
}

/* 新闻展示区域样式 */
.news-section {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin-top: 20px;
    position: relative;
    max-height: 800px;
    overflow-y: auto;
}

.news-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.last-updated {
    font-size: 0.85rem;
    color: #666;
}

/* 热点分析头部样式 */
.hotspot-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.hotspot-last-updated {
    font-size: 0.85rem;
    color: #666;
}

.controls-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.refresh-icon {
    cursor: pointer;
    color: #1a56a7;
    transition: transform 0.3s ease;
    margin-left: 10px;
}

.refresh-icon.spinning {
    animation: spin 1s linear infinite;
}

/* 一小时新闻摘要按钮样式 */
.hourly-summary-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: #1a56a7;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.hourly-summary-btn:hover {
    background: #144785;
    transform: translateY(-2px);
}

.hourly-summary-btn:active {
    transform: translateY(0);
}

.hourly-summary-btn i {
    font-size: 0.9rem;
}

/* 模式切换样式 */
.mode-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.mode-label {
    color: #666;
}

.mode-btn {
    padding: 4px 8px;
    border: 1px solid #1a56a7;
    background: #1a56a7;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.mode-btn.active {
    background: #1a56a7 !important;
    color: white !important;
    border-color: #1a56a7 !important;
}

.mode-btn:not(.active) {
    background: white !important;
    color: #666 !important;
    border-color: #ddd !important;
}

/* 分页控制样式 */
.pagination-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.pagination-label {
    color: #666;
}

.pagination-btn {
    padding: 2px 6px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.pagination-btn:hover {
    background-color: #f8f9fa;
}

.page-display {
    color: #1a56a7;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.page-size-select {
    padding: 2px 4px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 0.8rem;
}

/* 统计信息样式 */
.stats-section {
    background: white;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #e9ecef;
}

.stats-section h5 {
    margin: 0 0 10px 0;
    color: #1a56a7;
    font-size: 0.9rem;
}

.stats-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid #f0f0f0;
}

.stats-item:last-child {
    border-bottom: none;
}

.stats-label {
    font-size: 0.85rem;
    color: #666;
}

.stats-value {
    font-size: 0.85rem;
    color: #1a56a7;
    font-weight: 600;
}

.stats-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    cursor: pointer;
    background: #e9ecef;
    border-bottom: 1px solid #dee2e6;
    transition: background-color 0.3s ease;
}

.stats-header:hover {
    background: #d1ecf1 !important;
}

.stats-header-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stats-header-content h4 {
    margin: 0;
    color: #1a56a7;
    font-size: 1rem;
}

.stats-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stats-toggle-text {
    font-size: 0.85rem;
    color: #666;
}

.stats-toggle-icon {
    transition: transform 0.3s ease;
}

.stats-toggle-icon-collapsed {
    transform: rotate(-90deg);
}

.stats-toggle-icon-expanded {
    transform: rotate(0deg);
}

.stats-content-collapsed {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.stats-content-expanded {
    max-height: 500px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

/* 聚合新闻样式 */
.aggregated-news-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: 20px;
    max-height: 800px;
    overflow-y: auto;
}

.aggregated-news-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
    position: relative;
}

.aggregated-news-item:last-child {
    border-bottom: none;
}

.aggregated-news-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

.aggregated-news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.aggregated-news-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.aggregated-news-source {
    background: #e3f2fd;
    color: #1976d2;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid #bbdefb;
}

.aggregated-news-time {
    color: #666;
    font-size: 0.85rem;
}

.aggregated-news-categories {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.aggregated-news-category {
    background: #f0f0f0;
    color: #666;
    padding: 1px 6px;
    border-radius: 8px;
    font-size: 0.7rem;
}

.aggregated-news-title {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

/* 一小时新闻摘要模态框样式 */
.summary-modal {
    display: block;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease-out;
}

.summary-modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 0;
    border-radius: 12px;
    width: 80%;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease-out;
}

.summary-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
    border-radius: 12px 12px 0 0;
}

.summary-modal-header h3 {
    margin: 0;
    color: #1a56a7;
    font-size: 1.2rem;
}

.summary-modal-close {
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.summary-modal-close:hover {
    color: #666;
}

.summary-modal-body {
    padding: 25px;
    line-height: 1.6;
    font-size: 1rem;
    color: #333;
}

.summary-modal-body p {
    margin: 0;
    white-space: pre-wrap;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.aggregated-news-content {
    color: #666;
    line-height: 1.6;
    font-size: 0.9rem;
}

.aggregated-news-url {
    margin-top: 8px;
    font-size: 0.8rem;
}

.aggregated-news-url a {
    color: #1a56a7;
    text-decoration: none;
}

.aggregated-news-url a:hover {
    text-decoration: underline;
}

/* 加载更多按钮 */
.load-more-container {
    text-align: center;
    margin-top: 20px;
    padding: 20px;
}

.load-more-btn {
    padding: 10px 25px;
    background: #1a56a7;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: #144785;
    transform: translateY(-2px);
}

.load-more-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* 加载动画 */
.loading {
    text-align: center;
    padding: 20px;
    color: #666;
}

.loading-spinner {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #1a56a7;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 新闻分析样式 */
.news-analysis {
    margin-top: 30px;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.news-analysis-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.news-analysis-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.wordcloud-container {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wordcloud-container img {
    max-width: 100%;
    height: auto;
}

.word-freq-container {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    height: 400px;
}

.word-freq-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

.word-freq-item {
    background: white;
    padding: 10px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.word-freq-percentage {
    color: #1a56a7;
    font-weight: 600;
}

.loading-placeholder {
    color: #666;
    text-align: center;
    padding: 20px;
}

.chart-title {
    font-size: 1.1rem;
    color: #1a56a7;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 500;
}

.cache-status {
    display: inline-block;
    background: #e3f2fd;
    color: #1976d2;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 400;
    margin-left: 10px;
    border: 1px solid #bbdefb;
}







.surge-plate-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #1a56a7;
}

.surge-plate-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.surge-plate-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.3;
}

.surge-plate-change {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.surge-change-percent {
    font-size: 1rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    color: white;
}

.surge-change-percent.positive {
    background: #e74c3c;
}

.surge-change-percent.negative {
    background: #27ae60;
}

.surge-change-percent.neutral {
    background: #95a5a6;
}

.surge-change-amount {
    font-size: 0.8rem;
    color: #666;
}

.surge-plate-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.surge-plate-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 10px;
}



/* 更多按钮样式 */


/* 展开动画效果 */
.surge-plates-grid {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

/* 板块卡片入场动画 */
.surge-plate-card {
    animation: slideInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}

.surge-plate-card.animated {
    opacity: 1;
    transform: translateY(0);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 更多按钮入场动画 */
.surge-more-card {
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
    transform: translateY(15px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 涨停板块分析样式 */
.limit-up-section {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 30px;
}

.limit-up-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.limit-up-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.limit-up-summary {
    display: flex;
    align-items: center;
    gap: 10px;
}

.limit-up-summary .summary-text {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

.limit-up-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

/* 涨停板块刷新按钮样式 */
.limit-up-refresh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #1a56a7 0%, #144785 100%);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.limit-up-refresh-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 86, 167, 0.3);
    color: white;
    text-decoration: none;
}

.limit-up-refresh-btn i {
    font-size: 14px;
}

.limit-up-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 16px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.limit-up-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #1a56a7;
}

.limit-up-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.limit-up-plate-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a56a7;
    margin: 0;
    line-height: 1.3;
}

.limit-up-count {
    background: #e3f2fd;
    color: #1976d2;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #bbdefb;
}

.limit-up-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 12px;
}

.limit-up-stat-item {
    text-align: center;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.limit-up-stat-label {
    font-size: 0.75rem;
    color: #6c757d;
    margin-bottom: 4px;
    display: block;
}

.limit-up-stat-value {
    font-size: 1rem;
    font-weight: 600;
    color: #1a56a7;
}

.limit-up-stat-value.positive {
    color: #e74c3c;
}

.limit-up-stat-value.negative {
    color: #27ae60;
}

.limit-up-reason {
    font-size: 0.85rem;
    color: #495057;
    line-height: 1.4;
    margin-bottom: 8px;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 4px;
    border-left: 3px solid #1a56a7;
}

.limit-up-stocks {
    margin-top: 12px;
}

.limit-up-stocks-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.limit-up-stocks-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.limit-up-stock-item {
    background: #e3f2fd;
    color: #1976d2;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid #bbdefb;
    display: flex;
    align-items: center;
    gap: 4px;
}

.limit-up-stock-item .stock-change {
    font-weight: 600;
}

.limit-up-stock-item .stock-change.positive {
    color: #e74c3c;
}

.limit-up-stock-item .stock-change.negative {
    color: #27ae60;
}

/* RRG图表样式 */
.rrg-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #666;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    display: inline-block;
}

.chart-description {
    text-align: center;
    margin-bottom: 15px;
    color: #666;
    font-size: 0.9rem;
}

.chart-description p {
    margin: 5px 0;
}

.chart-note {
    font-size: 0.8rem;
    color: #999;
}

/* 投资日历样式 */
.calendar-preview {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.calendar-header h3 {
    margin: 0;
    color: #1a56a7;
    font-size: 1.3rem;
    font-weight: 600;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #1a56a7 0%, #144785 100%);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 86, 167, 0.3);
    color: white;
    text-decoration: none;
}

.recent-calendar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.day-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    border-left: 4px solid #1a56a7;
    transition: all 0.3s ease;
}

.day-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.day-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e9ecef;
}

.day-date {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a56a7;
}

.day-weekday {
    background: #1a56a7;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.day-events {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.event-item {
    background: white;
    border-radius: 8px;
    padding: 12px;
    border-left: 3px solid var(--sector-color, #1a56a7);
    transition: all 0.3s ease;
}

.event-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.event-time {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.event-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
    margin-bottom: 8px;
}

.event-sectors {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.sector-tag {
    background: var(--sector-color, #1a56a7);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 500;
}

.sector-tag.macro { --sector-color: #e74c3c; }
.sector-tag.tech { --sector-color: #3498db; }
.sector-tag.finance { --sector-color: #f39c12; }
.sector-tag.real-estate { --sector-color: #16a085; }
.sector-tag.ai { --sector-color: #3f51b5; }
.sector-tag.semiconductor { --sector-color: #607d8b; }
.sector-tag.auto { --sector-color: #795548; }
.sector-tag.futures { --sector-color: #ff6d00; }
.sector-tag.gaming { --sector-color: #7b1fa2; }
.sector-tag.media { --sector-color: #e67e22; }

.no-events {
    text-align: center;
    padding: 20px;
    color: #666;
    font-style: italic;
}

/* 新闻包装器样式 */
.news-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 20px;
}

.news-content-wrapper {
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
}

.news-content-wrapper::-webkit-scrollbar {
    width: 6px;
}

.news-content-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.news-content-wrapper::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.news-content-wrapper::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.news-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s ease;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    background-color: #f8f9fa;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.news-time {
    color: #666;
    font-size: 0.85rem;
    padding: 2px 8px;
    background: #f0f0f0;
    border-radius: 4px;
}

.news-importance {
    color: #e74c3c;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 2px 8px;
    background: #fee;
    border-radius: 4px;
}

.news-content {
    color: #333;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* 响应式布局 */
@media (max-width: 1200px) {
    .news-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-analysis-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .link-card {
        flex: 1 1 100%;
    }
    
    .news-wrapper {
        grid-template-columns: 1fr;
    }
    
    .news-container {
        height: 500px;
    }
    
    .aggregated-news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .aggregated-news-meta {
        flex-wrap: wrap;
    }
    
    #stats-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stats-header {
        padding: 12px 15px;
    }
    
    .stats-header h4 {
        font-size: 0.9rem;
    }
    
    .stats-summary {
        font-size: 0.8rem;
    }
    
    .rrg-legend {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .recent-calendar {
        grid-template-columns: 1fr;
    }
    
    .calendar-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .day-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    /* 风口板块响应式 */
    .surge-plates-controls {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    
    .search-controls {
        max-width: none;
    }
    
    .filter-controls {
        justify-content: space-between;
    }
    
    .surge-plates-grid {
        grid-template-columns: 1fr;
    }
    
    .surge-plate-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .surge-plate-footer {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    
    .surge-more-card {
        min-height: 80px;
        padding: 12px;
        margin-top: 8px;
    }
    
    .surge-more-btn {
        padding: 12px 18px;
        min-width: 120px;
        font-size: 0.85rem;
        border-radius: 14px;
    }
    
    .surge-more-btn i {
        font-size: 1rem;
    }
    
    .surge-more-btn span {
        font-size: 0.85rem;
    }
    
    .surge-more-count {
        font-size: 0.7rem;
        padding: 2px 6px;
    }
    
    /* 涨停板块分析响应式 */
    .limit-up-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .limit-up-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .limit-up-stocks-list {
        flex-direction: column;
        gap: 4px;
    }
    
    .limit-up-stock-item {
        font-size: 0.7rem;
        padding: 2px 6px;
    }
}

/* 涨停板块展开/收起按钮 - 已移动到更新按钮旁边 */
.limit-up-action-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.limit-up-expand-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #1a56a7 0%, #144785 100%);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 80px;
    height: 36px;
}

.limit-up-expand-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(26, 86, 167, 0.3);
    color: white;
    text-decoration: none;
}

.limit-up-expand-btn i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.limit-up-expand-btn span {
    font-size: 0.85rem;
    font-weight: 500;
}

.expand-count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1px 6px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-left: 2px;
}

/* 已废弃的样式 - 保留兼容 */
.limit-up-more-container,
.limit-up-more-card,
.limit-up-more-btn {
    /* 这些样式已被新的limit-up-expand-btn替代 */
}

/* 响应式调整 */
@media (max-width: 768px) {
    .limit-up-action-buttons {
        gap: 6px;
    }
    
    .limit-up-expand-btn {
        padding: 6px 12px;
        min-width: 70px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .limit-up-expand-btn i {
        font-size: 12px;
    }
    
    .limit-up-expand-btn span {
        font-size: 0.8rem;
    }
    
    .expand-count {
        font-size: 0.7rem;
        padding: 0 4px;
    }
}

/* 意见反馈悬浮窗样式 */
.feedback-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 200px;
    background: linear-gradient(135deg, #1a56a7 0%, #144785 100%);
    color: white;
    padding: 15px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(26, 86, 167, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.feedback-float:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 6px 25px rgba(26, 86, 167, 0.4);
}

.feedback-float i {
    font-size: 24px;
}

.feedback-float span {
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 意见反馈模态框样式 */
.feedback-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.feedback-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease;
}

.feedback-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
    border-radius: 12px 12px 0 0;
}

.feedback-modal-header h2 {
    margin: 0;
    color: #1a56a7;
    font-size: 1.5rem;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: #1a56a7;
}

.feedback-modal-body {
    padding: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group textarea,
.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group textarea:focus,
.form-group input:focus {
    outline: none;
    border-color: #1a56a7;
    box-shadow: 0 0 0 2px rgba(26, 86, 167, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, #1a56a7 0%, #144785 100%);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 86, 167, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.feedback-message {
    padding: 12px;
    border-radius: 6px;
    margin-top: 15px;
    text-align: center;
    font-weight: 500;
}

.feedback-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.feedback-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 响应式意见反馈样式 */
@media (max-width: 768px) {
    .feedback-float {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        padding: 0;
        justify-content: center;
        bottom: 20px;
        right: 20px;
    }
    
    .feedback-float span {
        display: none;
    }
    
    .feedback-float i {
        font-size: 24px;
    }
    
}

/* 在小屏幕上显示文字 */
@media (max-width: 480px) {
    .feedback-float {
        width: auto;
        border-radius: 30px;
        padding: 0 15px;
    }
    
    .feedback-float span {
        display: block;
    }
}

/* 摘要模态框样式 */
.summary-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.summary-modal-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 80%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease;
}

.summary-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
    border-radius: 12px 12px 0 0;
}

.summary-modal-header h3 {
    margin: 0;
    color: #1a56a7;
    font-size: 1.5rem;
}

.summary-modal-close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.summary-modal-close:hover,
.summary-modal-close:focus {
    color: #1a56a7;
}

.summary-modal-body {
    padding: 20px;
}

.summary-content {
    line-height: 1.6;
    color: #333;
}

.summary-content strong {
    font-weight: bold;
}

.summary-content em {
    font-style: italic;
}

.summary-content code {
    background-color: #f4f4f4;
    padding: 2px 4px;
    border-radius: 3px;
    font-family: monospace;
}

.summary-content a {
    color: #1a56a7;
    text-decoration: none;
}

.summary-content a:hover {
    text-decoration: underline;
}

.summary-content br {
    display: block;
    margin: 8px 0;
}

@media (max-width: 768px) {
    .feedback-modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .feedback-modal-header {
        padding: 15px;
    }
    
    .feedback-modal-header h2 {
        font-size: 1.3rem;
    }
    
    .feedback-modal-body {
        padding: 15px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-group textarea,
    .form-group input {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}