/* ============================================
   財訊網 - 主样式表
   ============================================ */

:root {
    /* 主色调 - 专业金融风格 */
    --primary: #1a56db;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    
    /* 涨跌颜色 */
    --color-up: #dc2626;      /* 红色 - 上涨 */
    --color-down: #16a34a;    /* 绿色 - 下跌 */
    --color-flat: #6b7280;    /* 灰色 - 平盘 */
    
    /* 中性色 */
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-dark: #0f172a;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    
    /* 间距 */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    
    /* 圆角 */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    /* 阴影 */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    
    /* 字体 */
    --font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--primary-dark);
}

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

ul, ol {
    list-style: none;
}

/* ============================================
   Container
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    gap: 6px;
}

.btn-primary {
    background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(30, 64, 175, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    box-shadow: 0 4px 8px rgba(30, 64, 175, 0.4);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid #d1d5db;
    color: #374151;
}

.btn-outline:hover {
    border-color: #1e40af;
    color: #1e40af;
    background: rgba(30, 64, 175, 0.05);
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

/* 商务化登录注册按钮 */
.header .btn-outline {
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1.5px solid #374151;
    color: #374151;
    border-radius: 6px;
    background: transparent;
}

.header .btn-outline:hover {
    border-color: #1e40af;
    color: #1e40af;
    background: rgba(30, 64, 175, 0.05);
}

.header .btn-primary {
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    color: #fff;
    border-radius: 6px;
    border: none;
    box-shadow: 0 2px 6px rgba(30, 64, 175, 0.35);
}

.header .btn-primary:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.45);
    transform: translateY(-1px);
}

/* 登录注册按钮 - 商务风格 */
.auth-btn-login {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    border: 1.5px solid #d1d5db;
    border-radius: 20px;
    background: #fff;
    transition: all 0.2s;
}

.auth-btn-login:hover {
    border-color: #9ca3af;
    color: #1f2937;
}

.auth-icon {
    width: 18px;
    height: 18px;
    color: #6b7280;
}

.auth-btn-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    border-radius: 20px;
    border: none;
    box-shadow: 0 2px 6px rgba(30, 64, 175, 0.3);
    transition: all 0.2s;
}

.auth-btn-register:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    box-shadow: 0 4px 10px rgba(30, 64, 175, 0.4);
    transform: translateY(-1px);
}

/* ============================================
   广告位
   ============================================ */
.ad-slot {
    display: block;
    padding: 0;
    margin: 0;
    background: transparent;
    overflow: hidden;
    max-width: 100%;
    line-height: 0;
}

/* 侧边栏广告位 - 统一样式（与expert-list一致） */
.sidebar .ad-slot,
.expert-sidebar .ad-slot,
.market-sidebar .ad-slot {
    width: 100%;
    padding: 0 !important;
    margin: 0 0 16px 0 !important;
    background: #f8f9fa !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: none !important;
}

.sidebar .ad-slot .ad-container,
.sidebar .ad-slot .ad-image-wrapper,
.sidebar .ad-slot .ad-code-wrapper,
.expert-sidebar .ad-slot .ad-container,
.expert-sidebar .ad-slot .ad-image-wrapper,
.expert-sidebar .ad-slot .ad-code-wrapper,
.market-sidebar .ad-slot .ad-container,
.market-sidebar .ad-slot .ad-image-wrapper,
.market-sidebar .ad-slot .ad-code-wrapper {
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    line-height: 0 !important;
}

.sidebar .ad-slot .ad-placeholder,
.expert-sidebar .ad-slot .ad-placeholder,
.market-sidebar .ad-slot .ad-placeholder {
    width: 100%;
    height: 250px;
    margin: 0;
    padding: 0;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar .ad-slot img,
.sidebar .ad-slot iframe,
.expert-sidebar .ad-slot img,
.expert-sidebar .ad-slot iframe,
.market-sidebar .ad-slot img,
.market-sidebar .ad-slot iframe {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    object-fit: contain !important;
}

.sidebar .ad-slot .ad-image-wrapper a,
.expert-sidebar .ad-slot .ad-image-wrapper a,
.market-sidebar .ad-slot .ad-image-wrapper a {
    width: 100%;
    display: block;
    line-height: 0;
}

/* 顶部广告位 - 和容器一样宽，无边距 */
.ad-slot.ad-top {
    width: 1200px;
    max-width: 100%;
    height: auto;
    padding: 0;
    margin: 0 auto 16px;
    background: transparent;
    line-height: 0;
    display: block;
    border: none;
    border-radius: 0;
    overflow: hidden;
}

.ad-slot.ad-top .ad-container {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 0;
}

.ad-slot.ad-top .ad-code-wrapper,
.ad-slot.ad-top .ad-image-wrapper {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
}

.ad-slot.ad-top .ad-image-wrapper a {
    display: block;
    width: 100%;
}

.ad-slot iframe,
.ad-slot ins,
.ad-slot img,
.ad-slot > * {
    max-width: 100% !important;
}

.ad-slot.ad-top iframe,
.ad-slot.ad-top ins,
.ad-slot.ad-top img {
    width: 100% !important;
    max-width: 100% !important;
    height: 250px !important;
    display: block !important;
    object-fit: cover !important;
}

.ad-placeholder {
    width: 728px;
    max-width: 100%;
    height: 90px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.ad-sidebar {
    width: 300px;
    height: 250px;
}

.ad-in-feed {
    width: 100%;
    height: 100px;
}

.ad-banner-wide {
    margin: var(--spacing-lg) 0;
    text-align: center;
}

.ad-banner-wide .ad-placeholder {
    width: 100%;
    max-width: 970px;
    height: 90px;
    margin: 0 auto;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px dashed #cbd5e1;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ============================================
   Header
   ============================================ */
.header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 64px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-right: 40px;
}

.logo:hover {
    color: var(--primary);
}

.logo-icon {
    font-size: 3rem;
}

.logo-img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 6px;
}

.logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: #000000 !important;
    display: inline-block !important;
    visibility: visible !important;
}

.main-nav {
    display: flex;
    gap: var(--spacing-lg);
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    padding: var(--spacing-sm) 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    position: absolute;
    right: 0;
}

.user-menu {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 0.875rem;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: var(--spacing-sm);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 160px;
    z-index: 50;
}

.dropdown-item {
    display: block;
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--text-primary);
    transition: background 0.2s;
}

.dropdown-item:hover {
    background: var(--bg-primary);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: var(--spacing-sm);
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
}

/* 移动端导航菜单 - PC端隐藏 */
.mobile-nav {
    display: none;
}

.mobile-user-btn {
    display: none;
}

.mobile-search-btn {
    display: none;
}

.mobile-custom-icon {
    display: none;
}

/* ============================================
   Market Bar (行情滚动条)
   ============================================ */
.market-bar {
    background: var(--bg-dark);
    padding: var(--spacing-sm) 0;
    overflow: hidden;
}

.market-ticker {
    display: flex;
    gap: var(--spacing-xl);
    animation: ticker 30s linear infinite;
}

.market-ticker:hover {
    animation-play-state: paused;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    white-space: nowrap;
    color: white;
    font-size: 0.875rem;
}

.ticker-name {
    color: var(--text-muted);
}

.ticker-price {
    font-weight: 600;
}

.ticker-change {
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
}

.ticker-change.up {
    background: rgba(220, 38, 38, 0.2);
    color: var(--color-up);
}

.ticker-change.down {
    background: rgba(22, 163, 74, 0.2);
    color: var(--color-down);
}

/* ============================================
   Main Content
   ============================================ */
.main-content {
    min-height: calc(100vh - 400px);
}

.page-section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.section-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--primary);
    border-radius: 2px;
}

/* 不同页面的标题主题 */
/* 台股要聞 - 红色 */
.page-taiwan-stock .section-title::before {
    background: linear-gradient(180deg, #dc2626 0%, #f87171 100%);
}
.page-taiwan-stock .section-title {
    color: #991b1b;
}
.page-taiwan-stock .section-header {
    background: linear-gradient(90deg, #fef2f2 0%, transparent 100%);
    padding: 16px 20px;
    border-radius: 8px;
    border-left: 3px solid #dc2626;
}

/* 國際財經 - 蓝色 */
.page-global .section-title::before {
    background: linear-gradient(180deg, #2563eb 0%, #60a5fa 100%);
}
.page-global .section-title {
    color: #1e40af;
}
.page-global .section-header {
    background: linear-gradient(90deg, #eff6ff 0%, transparent 100%);
    padding: 16px 20px;
    border-radius: 8px;
    border-left: 3px solid #2563eb;
}

/* 專家觀點 - 紫色 */
.page-expert .section-title::before {
    background: linear-gradient(180deg, #7c3aed 0%, #a78bfa 100%);
}
.page-expert .section-title {
    color: #5b21b6;
}
.page-expert .section-header {
    background: linear-gradient(90deg, #f5f3ff 0%, transparent 100%);
    padding: 16px 20px;
    border-radius: 8px;
    border-left: 3px solid #7c3aed;
}

/* 頭條新聞 - 琥珀色 */
.page-headline .section-title::before {
    background: linear-gradient(180deg, #d97706 0%, #fbbf24 100%);
}
.page-headline .section-title {
    color: #92400e;
}
.page-headline .section-header {
    background: linear-gradient(90deg, #fffbeb 0%, transparent 100%);
    padding: 16px 20px;
    border-radius: 8px;
    border-left: 3px solid #d97706;
}

/* 行情頁面 - 绿色 */
.page-market .section-title::before {
    background: linear-gradient(180deg, #059669 0%, #34d399 100%);
}
.page-market .section-title {
    color: #065f46;
}
.page-market .section-header {
    background: linear-gradient(90deg, #ecfdf5 0%, transparent 100%);
    padding: 16px 20px;
    border-radius: 8px;
    border-left: 3px solid #059669;
}

.view-all {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ============================================
   Grid Layout
   ============================================ */
.grid-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--spacing-xl);
}

.main-column {
    min-width: 0;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

/* ============================================
   Stock Cards (行情卡片)
   ============================================ */
.stock-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.stock-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: all 0.2s;
}

.stock-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.stock-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-md);
}

.stock-symbol {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.stock-name {
    font-weight: 600;
    color: var(--text-primary);
}

.stock-price {
    font-size: 1.5rem;
    font-weight: 700;
}

.stock-change {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.875rem;
    margin-top: var(--spacing-xs);
}

.stock-card.up .stock-price,
.stock-card.up .stock-change {
    color: var(--color-up);
}

.stock-card.down .stock-price,
.stock-card.down .stock-change {
    color: var(--color-down);
}

.stock-card.flat .stock-price,
.stock-card.flat .stock-change {
    color: var(--color-flat);
}

/* ============================================
   News Cards (新闻卡片)
   ============================================ */
.news-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.news-card {
    display: flex;
    gap: var(--spacing-md);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    transition: all 0.2s;
}

.news-card:hover {
    box-shadow: var(--shadow-md);
}

.news-image {
    width: 180px;
    height: 120px;
    border-radius: var(--radius-md);
    flex-shrink: 0;
    overflow: hidden;
    background: #f5f7fa;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    flex: 1;
    min-width: 0;
}

.news-category {
    display: inline-block;
    padding: 2px 8px;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-sm);
}

.news-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-title:hover {
    color: var(--primary);
}

.news-summary {
    font-size: 0.875rem;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: var(--spacing-sm);
}

.news-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Featured News (头条新闻) */
.featured-news {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.featured-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--primary) 0%, var(--bg-dark) 100%);
    background-size: cover;
    background-position: center;
}

.featured-card.large {
    grid-column: span 2;
    aspect-ratio: 21/9;
}

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-lg);
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
}

.featured-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.featured-card.large .featured-title {
    font-size: 1.75rem;
}

/* ============================================
   Industry Section (产业板块)
   ============================================ */
.industry-section {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    margin-bottom: var(--spacing-lg);
}

.industry-ad-bar {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    background: #fef3e7;
    border-bottom: 1px solid #fcd9b6;
}

.ad-tag {
    background: #ea580c;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
}

.ad-arrow {
    color: #ea580c;
    font-weight: bold;
    font-size: 1rem;
}

.ad-text {
    flex: 1;
    font-size: 1rem;
    color: #1a1a1a !important;
    font-weight: 600;
}

.ad-more {
    font-size: 0.875rem;
    color: #ea580c;
    font-weight: 500;
}

.industry-tabs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.tab-group {
    display: flex;
}

.ind-tab {
    padding: 10px 40px;
    font-size: 0.9375rem;
    color: #666;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.ind-tab:hover {
    color: var(--primary);
}

.ind-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 600;
}

.update-time {
    font-size: 0.8125rem;
    color: #999;
}

.market-switch {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-sm) var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.market-tab {
    font-size: 0.9375rem;
    color: #666;
    cursor: pointer;
    padding: 4px 0;
}

.market-tab.active {
    color: var(--primary);
    font-weight: 600;
    border-bottom: 2px solid var(--primary);
}

#industryTableContainer {
    padding: 0 var(--spacing-md) var(--spacing-md);
    overflow-x: auto;
}

.industry-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.industry-table th {
    text-align: left;
    padding: var(--spacing-sm) var(--spacing-md);
    color: #999;
    font-weight: 400;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.8125rem;
}

.industry-table td {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.875rem;
    white-space: nowrap;
}

.industry-table tr:hover {
    background: #f9fafb;
}

.ind-name {
    font-weight: 500;
    color: #333;
    font-size: 0.875rem;
}

.ind-name-link {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.ind-name-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

.ind-change {
    font-weight: 600;
    font-size: 0.875rem;
}

.ind-change.up { color: var(--color-up); }
.ind-change.down { color: var(--color-down); font-size: 0.9rem; }

.ind-bar-cell {
    width: 200px;
}

.ind-bar {
    display: flex;
    height: 20px;
    border-radius: 4px;
    overflow: hidden;
    font-size: 0.75rem;
}

.bar-up {
    background: var(--color-up);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
}

.bar-down {
    background: var(--color-down);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
}

.bar-flat {
    background: #fbbf24;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
}

.leader-cell {
    display: flex;
    gap: var(--spacing-sm);
    white-space: nowrap;
}

.leader-link {
    display: flex;
    gap: var(--spacing-sm);
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.leader-link:hover {
    color: var(--primary);
}

.leader-link:hover .leader-code,
.leader-link:hover .leader-name {
    color: var(--primary);
}

.leader-code {
    color: #999;
    font-size: 0.8125rem;
}

.leader-name {
    font-weight: 500;
}

.leader-change {
    font-weight: 600;
    white-space: nowrap;
}

.leader-change.up { color: var(--color-up); }
.leader-change.down { color: var(--color-down); font-size: 0.9rem; }

@media (max-width: 900px) {
    .industry-table {
        display: block;
        overflow-x: auto;
    }
    .ind-bar-cell {
        min-width: 150px;
    }
}

/* ============================================
   Baidu Stock Chart Section (百度股市通风格)
   ============================================ */
.baidu-chart-section {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.baidu-index-header {
    margin-bottom: var(--spacing-lg);
}

.baidu-price-main {
    display: flex;
    align-items: baseline;
    gap: var(--spacing-md);
    margin-bottom: 4px;
}

.baidu-price {
    font-size: 2.75rem;
    font-weight: 700;
    font-family: 'Arial', sans-serif;
}

.baidu-price.up { color: var(--color-up); }
.baidu-price.down { color: var(--color-down); }

.baidu-change {
    font-size: 1.125rem;
    font-weight: 500;
}

.baidu-change.up { color: var(--color-up); }
.baidu-change.down { color: var(--color-down); }

.baidu-status {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* 数据网格 */
.baidu-data-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: var(--spacing-md);
}

.data-cell {
    display: flex;
    justify-content: space-between;
    padding: 10px 12px;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.data-cell:nth-child(6n) {
    border-right: none;
}

.data-cell:nth-last-child(-n+6) {
    border-bottom: none;
}

.data-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.data-value {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}

.data-value.up { color: var(--color-up); }
.data-value.down { color: var(--color-down); }

/* K线周期切换 */
.baidu-chart-tabs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.tab-left {
    display: flex;
    gap: 4px;
}

.b-tab {
    padding: 8px 20px;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    background: #f5f5f5;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.b-tab:hover {
    background: #eee;
}

.b-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.tab-right {
    display: flex;
    gap: var(--spacing-md);
}

.tool-btn {
    font-size: 0.875rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 6px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
}

.tool-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
}

/* 走势图区域 */
.baidu-chart-area {
    position: relative;
    background: linear-gradient(180deg, #fff5f5 0%, #fff 50%, #f5fff5 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.chart-price-scale {
    position: absolute;
    left: 0;
    top: 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.75rem;
    color: var(--text-muted);
    z-index: 10;
    padding: 0 8px;
}

.chart-price-scale.bottom {
    top: auto;
    bottom: 50px;
}

.scale-percent {
    font-size: 0.6875rem;
}

.scale-percent.up { color: var(--color-up); }

.chart-main {
    min-height: 350px;
}

.volume-hint {
    text-align: center;
    padding: var(--spacing-sm);
    color: var(--text-muted);
    font-size: 0.8125rem;
    background: #f9f9f9;
}

.chart-time-axis {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 0.75rem;
    color: var(--text-muted);
    background: #f9f9f9;
    border-top: 1px solid var(--border-color);
}

@media (max-width: 900px) {
    .baidu-data-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .data-cell:nth-child(3n) {
        border-right: none;
    }
    .data-cell:nth-child(6n) {
        border-right: 1px solid var(--border-color);
    }
    .baidu-price {
        font-size: 2rem;
    }
    .tab-right {
        display: none;
    }
}

@media (max-width: 480px) {
    .baidu-data-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .b-tab {
        padding: 6px 12px;
        font-size: 0.8125rem;
    }
}

/* ============================================
   Stock Section (台股行情板块)
   ============================================ */
.stock-section {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--shadow-sm);
}

.stock-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.stock-info-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    transition: all 0.2s;
}

.stock-info-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.stock-info-header {
    margin-bottom: var(--spacing-xs);
}

.stock-code {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.stock-info-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.stock-info-price {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.stock-info-price.up { color: var(--color-up); }
.stock-info-price.down { color: var(--color-down); }

.stock-info-change {
    font-size: 0.875rem;
}

.stock-info-change.up { color: var(--color-up); }
.stock-info-change.down { color: var(--color-down); }

@media (max-width: 1024px) {
    .stock-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stock-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Headline Section (头条三栏布局)
   ============================================ */
/* 两个独立版块容器 */
.two-blocks-container {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--spacing-lg);
    margin-bottom: 0;
    align-items: start;
}

.block-news {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.block-market {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 0;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    width: 320px;
    overflow: hidden;
    align-self: stretch;
}

.block-market-full {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin-bottom: var(--spacing-xl);
}

.headline-section-v2 {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: var(--spacing-md);
    align-items: start;
}

.headline-section {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr) 320px;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    align-items: stretch;
    overflow: hidden;
}

@media (max-width: 1024px) {
    .two-blocks-container {
        grid-template-columns: 1fr;
    }
    
    .headline-section-v2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .headline-section-v2 {
        grid-template-columns: 1fr;
    }
    
    .headline-left {
        display: none;
    }
}

/* 左侧：主编精选 */
.headline-left {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.headline-left .ad-slot-small {
    margin-top: 0;
}

.headline-left .ad-slot-small img {
    border-radius: 0 0 8px 8px;
}

.headline-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: var(--spacing-sm) 0;
    border-bottom: 2px solid var(--primary);
    margin-bottom: var(--spacing-md);
}

.editor-pick-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    display: block;
    margin-bottom: var(--spacing-md);
}

.editor-pick-card img {
    width: 100%;
    height: auto;
    display: block;
}

.editor-pick-card .pick-placeholder {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--bg-dark) 100%);
}

.pick-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-md);
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: white;
}

.pick-tag {
    display: inline-block;
    background: var(--color-up);
    color: white;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 3px;
    margin-bottom: var(--spacing-xs);
}

.pick-overlay h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.ad-slot-small {
    display: block;
    background: transparent;
    border-radius: 0;
    min-height: auto;
    padding: 0;
    margin: 0;
    overflow: hidden;
    line-height: 0;
}

.ad-slot-small .ad-placeholder {
    color: var(--text-muted);
    font-size: 0.875rem;
    display: none;
    height: 100%;
    min-height: 120px;
    background: #f1f5f9;
    border-radius: var(--radius-md);
}

.ad-slot-small .ad-container,
.ad-slot-small .ad-image-wrapper,
.ad-slot-small .ad-code-wrapper {
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    line-height: 0 !important;
}

.ad-slot-small .ad-image-wrapper img,
.ad-slot-small .ad-code-wrapper img,
.ad-slot-small .ad-image-wrapper a {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 0 8px 8px !important;
    object-fit: cover !important;
}

/* 轮播底部圆角去掉，与广告无缝连接 */
.headline-left .news-carousel {
    border-radius: 12px 12px 0 0;
}

/* 中间：新闻列表 */
.headline-center {
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    padding: 0 var(--spacing-md);
    min-width: 0;
    overflow: hidden;
}

.news-tabs {
    display: flex;
    gap: var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: var(--spacing-sm);
    flex-wrap: wrap;
}

.news-tab {
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: var(--spacing-xs) var(--spacing-sm);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.news-tab:hover {
    color: var(--primary);
}

.news-tab.active {
    color: var(--primary);
    font-weight: 600;
    background: rgba(26, 86, 219, 0.1);
}

.news-timeline {
    flex: 1;
    overflow-y: auto;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) 0;
    border-bottom: 1px dashed var(--border-color);
}

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

.timeline-time {
    flex-shrink: 0;
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-family: monospace;
}

.timeline-title {
    font-size: 0.9375rem;
    color: var(--text-primary);
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.timeline-title:hover {
    color: var(--primary);
}

.timeline-tag {
    color: var(--color-up);
    font-weight: 500;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) 0;
    border-bottom: 1px dashed var(--border-color);
    overflow: hidden;
}

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

/* cnyes 风格新闻列表 */
.cnyes-style {
    padding: var(--spacing-sm) 0;
}

.cnyes-news-item {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    overflow: hidden;
    max-width: 100%;
}

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

.cnyes-time {
    flex-shrink: 0;
    font-size: 0.875rem;
    color: #9ca3af;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    min-width: 38px;
}

.cnyes-news-link {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex: 1;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.cnyes-tag {
    flex-shrink: 0;
    font-size: 0.9375rem;
    color: #2563eb;
    font-weight: 500;
}

.cnyes-title {
    font-size: 0.9375rem;
    color: #1f2937;
    font-weight: 500;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cnyes-news-link:hover .cnyes-title {
    color: #2563eb;
}

.cnyes-news-link:hover .cnyes-tag {
    color: #1d4ed8;
}

.headline-ad-bar {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 100%);
    border-radius: var(--radius-sm);
    margin-top: auto;
}

.ad-label {
    background: white;
    color: #f59e0b;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 3px;
}

.ad-text {
    font-size: 0.875rem;
    color: white;
    font-weight: 500;
}

/* 右侧：市场焦点 */
.headline-right {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.market-focus-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: #f8fafc;
    border-bottom: 1px solid var(--border-color);
}

.focus-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
}

.focus-link {
    font-size: 0.8125rem;
    color: var(--primary);
    background: rgba(26, 86, 219, 0.1);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

.market-focus-table {
    width: 100%;
    font-size: 0.875rem;
    border-collapse: collapse;
}

.market-focus-table th {
    text-align: left;
    font-weight: 500;
    color: var(--text-muted);
    padding: 10px 8px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.8125rem;
    background: #fafafa;
}

.market-focus-table td {
    padding: 12px 8px;
    border-bottom: 1px solid var(--border-color);
}

.market-focus-table .time-col {
    color: var(--text-muted);
    font-size: 0.75rem;
    width: 45px;
    white-space: nowrap;
}

.market-focus-table .name-col {
    font-weight: 500;
    width: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.market-focus-table .price-col {
    text-align: right;
    width: 70px;
    white-space: nowrap;
}

.market-focus-table .change-col {
    text-align: right;
    width: 55px;
    white-space: nowrap;
}

.market-focus-table .percent-col {
    text-align: right;
    width: 55px;
    white-space: nowrap;
}

.market-focus-table .up,
.market-focus-table .price-up {
    color: var(--color-up);
}

.market-focus-table .down,
.market-focus-table .price-down {
    color: var(--color-down);
}

.market-focus-table tbody tr {
    cursor: pointer;
    transition: background 0.15s;
}

.market-focus-table tbody tr:hover {
    background: #f0f7ff;
}

.focus-stock-name {
    color: #2563eb;
    font-weight: 500;
}

.focus-stock-name:hover {
    text-decoration: underline;
}

/* 响应式 - 头条区域 */
@media (max-width: 1024px) {
    .headline-section {
        grid-template-columns: 1fr 1fr;
    }
    .headline-right {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .headline-section {
        grid-template-columns: 1fr;
    }
    .headline-left,
    .headline-center,
    .headline-right {
        grid-column: span 1;
    }
    .headline-center {
        border-left: none;
        border-right: none;
        border-top: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
        padding: var(--spacing-md) 0;
    }
}

/* Small News List */
.news-small-list {
    display: flex;
    flex-direction: column;
}

.news-small-item {
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--border-color);
}

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

.news-small-title {
    font-size: 0.9375rem;
    color: var(--text-primary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-small-title:hover {
    color: var(--primary);
}

.news-small-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: var(--spacing-xs);
}

/* ============================================
   Sidebar Widgets
   ============================================ */
.widget {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.widget-header {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
}

/* 渐变图标标题样式 */
.widget-header-fancy {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e5e7eb;
}
.fancy-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}
.fancy-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 6px rgba(59, 130, 246, 0.3));
}
.fancy-title {
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, #1e40af 0%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

/* 不同主题的标题变体 */
.fancy-title.theme-red {
    background: linear-gradient(135deg, #dc2626 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    background-clip: text;
}
.fancy-title.theme-green {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    -webkit-background-clip: text;
    background-clip: text;
}
.fancy-title.theme-purple {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    -webkit-background-clip: text;
    background-clip: text;
}
.fancy-title.theme-blue {
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.widget-content {
    padding: var(--spacing-md);
}

/* Hot Stocks Widget */
.hot-stock-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--border-color);
}

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

.hot-stock-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.hot-stock-rank {
    width: 20px;
    height: 20px;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hot-stock-rank.top3 {
    background: var(--color-up);
}

.hot-stock-name {
    font-weight: 500;
}

.hot-stock-change {
    font-size: 0.875rem;
    font-weight: 600;
}

.hot-stock-change.up {
    color: var(--color-up);
}

.hot-stock-change.down {
    color: var(--color-down);
}

/* ============================================
   Stock Table (行情表格)
   ============================================ */
.stock-table-wrapper {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.stock-table {
    width: 100%;
    border-collapse: collapse;
}

.stock-table th,
.stock-table td {
    padding: var(--spacing-md);
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.stock-table th {
    background: var(--bg-primary);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.stock-table tbody tr:hover {
    background: var(--bg-primary);
}

.stock-table .price {
    font-weight: 600;
}

.stock-table .up {
    color: var(--color-up);
}

.stock-table .down {
    color: var(--color-down);
}

/* ============================================
   Forms (表单)
   ============================================ */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
    color: var(--text-primary);
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: all 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

.form-error {
    color: var(--color-up);
    font-size: 0.875rem;
    margin-top: var(--spacing-xs);
}

/* Auth Pages */
.auth-container {
    max-width: 400px;
    margin: var(--spacing-2xl) auto;
    padding: var(--spacing-xl);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.auth-footer {
    text-align: center;
    margin-top: var(--spacing-lg);
    color: var(--text-secondary);
}

/* ============================================
   News Detail Page
   ============================================ */
.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-md);
}

.article-header {
    margin-bottom: var(--spacing-xl);
}

.article-category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary);
    color: white;
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-md);
}

.article-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* 文章摘要 */
.article-summary {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    background: #fff9e6;
    border-left: 4px solid #f59e0b;
    border-radius: var(--radius-sm);
}

/* 封面图片 */
.article-cover {
    margin-bottom: var(--spacing-xl);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.article-cover img {
    width: 100%;
    display: block;
}

.image-caption {
    padding: var(--spacing-sm) var(--spacing-md);
    background: #f8f9fa;
    color: #0891b2;
    font-size: 0.875rem;
    margin: 0;
}

/* 文章内容 */
.article-content {
    font-size: 1.125rem;
    line-height: 1.8;
}

.article-content p {
    margin-bottom: var(--spacing-lg);
}

.article-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: var(--spacing-lg) auto;
    border-radius: var(--radius-md);
}

/* 文章广告 */
.article-ad {
    margin: var(--spacing-xl) 0;
    text-align: center;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: #f5f5f7;
    color: #333;
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
    margin-top: var(--spacing-2xl);
    border-top: 1px solid #e0e0e0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-section h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.footer-section p {
    color: #666;
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-section ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-section a {
    color: #666;
    font-size: 0.875rem;
}

.footer-section a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid #ddd;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: #666;
}

.disclaimer {
    margin-top: var(--spacing-sm);
    font-size: 0.75rem !important;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .grid-layout {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .header-actions .btn {
        display: none;
    }
    
    .featured-news {
        grid-template-columns: 1fr;
    }
    
    .featured-card.large {
        grid-column: span 1;
    }
    
    .news-card {
        flex-direction: column;
    }
    
    .news-image {
        width: 100%;
        height: 160px;
    }
    
    .stock-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .ad-placeholder {
        height: 60px;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .stock-grid {
        grid-template-columns: 1fr;
    }
    
    .article-title {
        font-size: 1.5rem;
    }
    
    .article-content {
        font-size: 1rem;
    }
}

/* ============================================
   Utilities
   ============================================ */
.text-up { color: var(--color-up); }
.text-down { color: var(--color-down); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }

/* Loading Animation */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl);
}

.loading::after {
    content: '';
    width: 32px;
    height: 32px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Alert Messages */
.alert {
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
}

.alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #93c5fd;
}

/* ============================================
   台股盤勢新聞 - 双列布局
   ============================================ */
.news-dual-section {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

.news-dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
}

.news-dual-column {
    display: flex;
    flex-direction: column;
}

/* 特色新闻卡片 */
.news-featured-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: var(--spacing-md);
}

.news-featured-card a {
    display: block;
    color: inherit;
}

.featured-img {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    background-color: #e5e7eb;
}

.featured-title-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 0 6px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.featured-source {
    color: #f59e0b;
    font-weight: 600;
}

.featured-dot {
    color: #9ca3af;
}

.featured-time {
    color: #9ca3af;
}

.featured-headline {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.5;
    color: var(--text-primary);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-featured-card:hover .featured-headline {
    color: var(--primary);
}

/* 迷你新闻列表 */
.news-mini-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-mini-item {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px;
    font-size: 0.9rem;
    line-height: 1.6;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

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

.mini-source {
    color: #6b7280;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.mini-dot {
    color: #d1d5db;
    flex-shrink: 0;
}

.mini-time {
    color: #9ca3af;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.mini-title {
    color: var(--text-primary);
    font-weight: 500;
    flex: 1;
    display: block;
    width: 100%;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-title:hover {
    color: var(--primary);
}

/* 底部链接 */
.dual-footer-links {
    display: flex;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
}

.footer-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.footer-link.primary {
    color: var(--primary);
}

.footer-link:hover {
    color: var(--primary-dark);
}

.column-footer-link {
    display: block;
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
}

.column-footer-link:hover {
    color: var(--primary-dark);
}

/* 响应式 */
@media (max-width: 768px) {
    .news-dual-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .featured-img {
        height: 160px;
    }
    
    .dual-footer-links {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
}

/* ============================================
   台股盤勢 + 國際財經 V2 布局
   ============================================ */
.news-dual-section-v2 {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    margin-top: var(--spacing-lg);
}

.dual-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.dual-column {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.dual-column-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 16px 0;
    padding-left: 12px;
    border-left: 4px solid var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.dual-column-title .title-icon {
    font-size: 1.1rem;
}

/* 双列区块顶部标签导航 */
.dual-section-tabs {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 12px 0 16px 0;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 20px;
}

.dual-tab {
    font-size: 15px;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    padding: 6px 0;
    position: relative;
    transition: color 0.2s;
}

.dual-tab:hover {
    color: #1f2937;
}

.dual-tab.active {
    color: #1e40af;
    font-weight: 600;
}

.dual-tab.active::after {
    content: '';
    position: absolute;
    bottom: -13px;
    left: 0;
    right: 0;
    height: 2px;
    background: #1e40af;
}

/* 台股要聞 - 红色主题 */
.dual-column.section-taiwan {
    background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #fecaca;
    position: relative;
    overflow: visible;
}

.dual-column.section-taiwan::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 20px;
    right: 20px;
    height: 3px;
    background: linear-gradient(90deg, #dc2626 0%, #f87171 100%);
    border-radius: 3px 3px 0 0;
}

.dual-column.section-taiwan .dual-column-title {
    border-left-color: #dc2626;
    color: #991b1b;
}

.dual-column.section-taiwan .dual-more-link {
    color: #dc2626;
    background: #fef2f2;
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    transition: all 0.2s;
}

.dual-column.section-taiwan .dual-more-link:hover {
    background: #dc2626;
    color: #fff;
}

/* 國際財經 - 蓝色主题 */
.dual-column.section-global {
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #bfdbfe;
    position: relative;
    overflow: visible;
}

.dual-column.section-global::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 20px;
    right: 20px;
    height: 3px;
    background: linear-gradient(90deg, #2563eb 0%, #60a5fa 100%);
    border-radius: 3px 3px 0 0;
}

.dual-column.section-global .dual-column-title {
    border-left-color: #2563eb;
    color: #1e40af;
}

.dual-column.section-global .dual-more-link {
    color: #2563eb;
    background: #eff6ff;
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    transition: all 0.2s;
}

.dual-column.section-global .dual-more-link:hover {
    background: #2563eb;
    color: #fff;
}

/* 專家觀點 - 紫色主题 */
.dual-column.section-expert {
    background: linear-gradient(135deg, #f5f3ff 0%, #ffffff 100%);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #ddd6fe;
    position: relative;
    overflow: visible;
}

.dual-column.section-expert::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 20px;
    right: 20px;
    height: 3px;
    background: linear-gradient(90deg, #7c3aed 0%, #a78bfa 100%);
    border-radius: 3px 3px 0 0;
}

.dual-column.section-expert .dual-column-title {
    border-left-color: #7c3aed;
    color: #5b21b6;
}

.dual-column.section-expert .dual-more-link {
    color: #7c3aed;
    background: #f5f3ff;
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    transition: all 0.2s;
}

.dual-column.section-expert .dual-more-link:hover {
    background: #7c3aed;
    color: #fff;
}

/* 頭條新聞 - 琥珀色主题 */
.dual-column.section-headline {
    background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #fde68a;
    position: relative;
    overflow: visible;
}

.dual-column.section-headline::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 20px;
    right: 20px;
    height: 3px;
    background: linear-gradient(90deg, #d97706 0%, #fbbf24 100%);
    border-radius: 3px 3px 0 0;
}

.dual-column.section-headline .dual-column-title {
    border-left-color: #d97706;
    color: #92400e;
}

.dual-column.section-headline .dual-more-link {
    color: #d97706;
    background: #fffbeb;
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    transition: all 0.2s;
}

.dual-column.section-headline .dual-more-link:hover {
    background: #d97706;
    color: #fff;
}

/* 特色新闻卡片 */
.dual-featured {
    margin-bottom: 16px;
}

.dual-featured-link {
    display: flex;
    gap: 16px;
    text-decoration: none;
    color: inherit;
}

.dual-featured-img {
    width: 140px;
    height: 95px;
    flex-shrink: 0;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    background-color: #e5e7eb;
}

.dual-featured-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.dual-featured-title {
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-primary);
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.dual-featured-link:hover .dual-featured-title {
    color: var(--primary);
}

.dual-featured-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: #9ca3af;
}

.dual-featured-meta .source {
    color: #6b7280;
}

/* 新闻列表 */
.dual-news-list {
    flex: 1;
}

.dual-news-item {
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
}

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

.dual-news-title {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.dual-news-title:hover {
    color: var(--primary);
}

.dual-news-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    font-size: 0.75rem;
    color: #9ca3af;
}

.dual-news-meta .source {
    color: #6b7280;
}

/* 更多链接 */
.dual-more-link {
    display: inline-block;
    margin-top: 16px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

.dual-more-link:hover {
    color: var(--primary-dark);
}

/* 响应式 */
@media (max-width: 768px) {
    .dual-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .dual-featured-img {
        width: 100px;
        height: 70px;
    }
}

/* ============================================
   文章内容图片自适应 - 全局样式
   ============================================ */
.article-content img,
.news-content img,
.content-body img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 15px auto;
    border-radius: 8px;
}

/* 确保内联样式的图片也能自适应 */
.article-content img[style],
.news-content img[style],
.content-body img[style] {
    max-width: 100% !important;
    height: auto !important;
}

/* 文章封面图自适应 */
.article-cover img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* ============================================
   全站移动端自适应样式
   ============================================ */

/* 全局防止横向溢出 */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

/* 所有容器防止溢出（不影响 .container 的 max-width: 1200px） */
.main-content,
.article-content,
.news-content,
.content-body,
.page-section,
.grid-layout,
.main-column,
.sidebar,
.widget,
.news-card,
.expert-card,
article,
section {
    max-width: 100%;
    box-sizing: border-box;
}

/* 长文本强制换行 */
body,
p,
span,
div,
td,
th,
li,
a,
h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* 预格式化文本自动换行 */
pre, code {
    white-space: pre-wrap;
    word-wrap: break-word;
    max-width: 100%;
    overflow-x: auto;
}

/* 表格自适应 */
table {
    max-width: 100%;
    width: 100%;
    table-layout: fixed;
    word-wrap: break-word;
}

/* 所有图片自适应 */
img {
    max-width: 100%;
    height: auto;
}

/* iframe自适应 */
iframe {
    max-width: 100%;
}

/* 手机端图片样式增强 */
@media (max-width: 768px) {
    /* 基础重置 */
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* 容器宽度 */
    .container {
        width: 100% !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    
    /* 详情页内容区域 */
    .article-content,
    .news-content,
    .content-body {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        overflow-x: hidden !important;
    }
    
    /* 详情页图片 */
    .article-content img,
    .news-content img,
    .content-body img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 12px 0;
        border-radius: 6px;
        display: block;
    }
    
    /* 带inline样式的图片强制覆盖 */
    .article-content img[style],
    .news-content img[style],
    .content-body img[style] {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
    
    .article-cover img {
        border-radius: 0;
    }
    
    .article-content figure,
    .news-content figure {
        margin: 12px 0;
        width: 100% !important;
    }
    
    /* 段落文字 */
    .article-content p,
    .news-content p,
    .content-body p {
        word-wrap: break-word !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        line-height: 1.8;
        font-size: 15px;
    }
    
    /* 标题换行 */
    .article-title,
    .news-title,
    h1, h2, h3 {
        word-wrap: break-word !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        line-height: 1.4;
    }
    
    /* 表格在手机端滚动 */
    .table-wrapper,
    .article-content table,
    .news-content table {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* iframe响应式 */
    .article-content iframe,
    .news-content iframe {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 200px;
    }
    
    /* 视频响应式 */
    .article-content video,
    .news-content video {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* 网格布局调整 */
    .grid-layout {
        display: block !important;
        width: 100% !important;
    }
    
    .grid-layout .main-column,
    .grid-layout .sidebar {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* 新闻卡片 */
    .news-card {
        flex-direction: column !important;
        width: 100% !important;
    }
    
    .news-card .news-image {
        width: 100% !important;
        height: 180px !important;
    }
    
    .news-card .news-content {
        width: 100% !important;
        padding: 12px !important;
    }
    
    /* 两栏布局变单栏 */
    .dual-columns,
    .two-blocks-container {
        display: block !important;
        width: 100% !important;
    }
    
    .dual-column,
    .block-news,
    .block-market {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 20px;
    }
    
    /* 轮播图 */
    .news-carousel {
        width: 100% !important;
        height: 200px !important;
    }
    
    /* 头部导航 */
    .header-inner {
        padding: 10px 12px !important;
    }
    
    .main-nav {
        display: none !important;
    }
    
    /* 市场焦点表格 */
    .market-focus-table {
        font-size: 12px;
        table-layout: fixed;
    }
    
    .market-focus-table th,
    .market-focus-table td {
        padding: 8px 4px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .market-focus-table .time-col { width: 40px; }
    .market-focus-table .name-col { width: 50px; }
    .market-focus-table .price-col { width: 65px; }
    .market-focus-table .change-col { width: 50px; }
    .market-focus-table .percent-col { width: 50px; }
    
    /* 产业表格 */
    .industry-table {
        font-size: 11px;
    }
    
    .industry-table th,
    .industry-table td {
        padding: 6px 3px !important;
    }
    
    /* 专家观点卡片 */
    .expert-card {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .expert-card-image {
        height: 160px !important;
    }
    
    /* 详情页标题 */
    .article-header h1,
    .news-detail h1 {
        font-size: 20px !important;
        line-height: 1.4 !important;
        word-break: break-word !important;
    }
    
    /* 详情页元信息 */
    .article-meta,
    .news-meta {
        flex-wrap: wrap;
        gap: 8px;
        font-size: 13px;
    }
    
    /* 页脚 */
    .footer-content {
        flex-direction: column !important;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* 广告自适应 */
    .ad-slot,
    .ad-container,
    .ad-image-wrapper {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .ad-slot img,
    .ad-container img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* 隐藏侧边栏（在特定页面） */
    .sidebar {
        margin-top: 20px;
    }
    
    /* 按钮 */
    .btn, button {
        max-width: 100%;
        white-space: normal;
        word-wrap: break-word;
    }
    
    /* 链接 */
    a {
        word-wrap: break-word;
        word-break: break-word;
    }
}

