*{margin:0;padding:0;box-sizing:border-box}
html,body{font-family:Arial,sans-serif;background:#f5f7fa;color:#333;line-height:1.6;margin:0;padding:0;overflow-x:hidden;max-width:100%}
.container{width:100%;max-width:1200px;margin:0 auto;padding:0 20px;background:#f5f7fa;min-height:100vh}
.header{background:linear-gradient(135deg,#e53935 0%,#c62828 100%);color:white;padding:30px 40px;border-radius:15px;margin-bottom:20px;box-shadow:0 4px 15px rgba(229,57,53,0.3);text-align:center;word-wrap:break-word}
.header h1{font-size:24px;font-weight:600;text-shadow:1px 1px 2px rgba(0,0,0,0.2)}
.nav{display:flex;background:white;border-radius:10px;padding:0;margin-bottom:20px;box-shadow:0 2px 8px rgba(0,0,0,0.08);overflow:hidden;border:1px solid #e53935}
.nav a{flex:1;text-align:center;padding:18px 15px;color:#e53935;text-decoration:none;font-weight:700;font-size:16px;transition:all 0.3s;border-right:1px solid #f0f0f0}
.nav a:last-child{border-right:none}
.nav a:hover,.nav a.active{background:#e53935;color:white}
.stats{display:flex;gap:20px;margin-bottom:20px}
.stat-item{flex:1;background:white;padding:25px;border-radius:12px;box-shadow:0 2px 8px rgba(0,0,0,0.08);text-align:center}
.stat-item h3{color:#666;font-size:14px;margin-bottom:10px;font-weight:500}
.stat-item .value{font-size:28px;font-weight:700}
.price-card,.chart-container,.search-form,.history-card{background:white;padding:30px;border-radius:12px;box-shadow:0 2px 8px rgba(0,0,0,0.08);margin-bottom:20px;overflow:hidden}
.price-table,.history-table{width:100%;border-collapse:collapse;table-layout:fixed}
.price-table th{background:linear-gradient(135deg,#f8f9fa 0%,#e9ecef 100%);color:#495057;padding:15px;text-align:left;font-weight:600;border-bottom:3px solid #e53935}
.price-table td{padding:14px 15px;border-bottom:1px solid #e9ecef}
.price-table tr:hover td{background:#f8f9fa}
.price-table tr.up td:not(:first-child){color:#e53935;font-weight:600}
.price-table tr.down td:not(:first-child){color:#28a745;font-weight:600}
.history-table th,.history-table td{padding:12px;border-bottom:1px solid #eee;text-align:center;font-size:14px;word-wrap:break-word;overflow-wrap:break-word}
.history-table th{background:#f8f9fa}
.footer{background:linear-gradient(135deg,#333 0%,#222 100%);color:#ccc;padding:30px;border-radius:12px;text-align:center;font-size:14px;line-height:1.8;margin-top:20px;overflow:hidden}
.footer a{color:#e53935;text-decoration:none}
.footer a:hover{text-decoration:underline}
.form-group{margin-bottom:15px}
.form-group label{display:block;margin-bottom:5px;font-weight:bold}
.form-group select,.form-group input{width:100%;padding:10px;border:1px solid #ddd;border-radius:5px;font-size:16px;max-width:100%}
button{background:#e53935;color:white;border:none;padding:12px 24px;border-radius:5px;font-size:16px;cursor:pointer;transition:background 0.3s;max-width:100%}
button:hover{background:#c62828}
.search-form{padding:20px}
.chart-wrap{width:100%;height:300px;position:relative;background:linear-gradient(135deg,#1a1a2e 0%,#16213e 50%,#0f3460 100%);margin-top:10px;overflow:hidden;border-radius:15px;box-shadow:0 20px 60px rgba(0,0,0,0.3)}
.chart-grid-h{position:absolute;top:20px;bottom:60px;left:80px;right:20px;z-index:1}
.chart-grid-v{position:absolute;top:20px;bottom:60px;left:80px;right:20px;z-index:1}
.grid-line{position:absolute;left:0;right:0;height:1px;background:rgba(255,255,255,0.08)}
.grid-line-v{position:absolute;top:0;bottom:0;width:1px;background:rgba(255,255,255,0.05)}
.chart-axis-x{position:absolute;bottom:60px;left:80px;right:20px;height:2px;background:rgba(255,255,255,0.3);z-index:10}
.chart-axis-y{position:absolute;top:20px;bottom:60px;left:80px;width:2px;background:rgba(255,255,255,0.3);z-index:10}
.chart-x-labels{position:absolute;bottom:20px;left:80px;right:20px;height:35px;z-index:11}
.chart-x-label{font-size:11px;color:rgba(255,255,255,0.7);text-align:center;white-space:nowrap;padding:0 2px}
.chart-y-labels{position:absolute;top:20px;bottom:60px;left:0;width:75px;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end;padding-right:10px;z-index:11}
.chart-y-label{font-size:10px;color:rgba(255,255,255,0.8);font-weight:600;height:20px;display:flex;align-items:center}
.chart-area{position:absolute;top:20px;bottom:60px;left:80px;right:20px;z-index:5}
.chart-point{position:absolute;width:14px;height:14px;border-radius:50%;z-index:8;cursor:pointer;transform:translate(-50%,-50%);transition:all 0.3s ease}
.point-inner{position:absolute;width:100%;height:100%;border-radius:50%;background:linear-gradient(135deg,#ff6b6b 0%,#e53935 100%);border:2px solid rgba(255,255,255,0.9);box-shadow:0 0 15px rgba(229,57,53,0.6),0 2px 8px rgba(0,0,0,0.3);transition:all 0.3s ease}
.point-pulse{position:absolute;width:100%;height:100%;border-radius:50%;background:rgba(229,57,53,0.4);animation:pulse 2s infinite;top:0;left:0}
@keyframes pulse{0%{transform:scale(1);opacity:1}100%{transform:scale(2.5);opacity:0}}
.chart-point:hover .point-inner{transform:scale(1.3);background:linear-gradient(135deg,#ff8585 0%,#ff5252 100%);box-shadow:0 0 25px rgba(229,57,53,0.8)}
.chart-tooltip{position:absolute;bottom:20px;left:50%;transform:translateX(-50%) scale(0);background:linear-gradient(135deg,rgba(0,0,0,0.9) 0%,rgba(26,26,46,0.95) 100%);color:white;padding:8px 12px;border-radius:8px;font-size:11px;white-space:nowrap;opacity:0;transition:all 0.3s cubic-bezier(0.68,-0.55,0.265,1.55);pointer-events:none;z-index:100;box-shadow:0 10px 40px rgba(0,0,0,0.4);border:1px solid rgba(255,255,255,0.1)}
.chart-tooltip::after{content:'';position:absolute;top:100%;left:50%;transform:translateX(-50%);border:6px solid transparent;border-top-color:rgba(0,0,0,0.9)}
.tooltip-date{font-size:9px;color:rgba(255,255,255,0.6);margin-bottom:2px;text-transform:uppercase;letter-spacing:0.5px}
.tooltip-price{font-size:13px;font-weight:700;color:#ff6b6b}
.tooltip-price span{font-size:9px;color:rgba(255,255,255,0.7);margin-left:2px}
.chart-point:hover .chart-tooltip{opacity:1;transform:translateX(-50%) scale(1)}
.chart-line-svg{position:absolute;top:0;left:0;width:100%;height:100%;z-index:6;overflow:visible}
.article-section{background:white;padding:30px;border-radius:12px;box-shadow:0 2px 8px rgba(0,0,0,0.08);margin-bottom:20px}
.article-list{background:white;border-radius:12px;padding:30px;margin-bottom:20px;overflow:hidden}
.article-list h2{font-size:20px;color:#e53935;margin-bottom:20px;font-weight:600;padding-bottom:10px;border-bottom:2px solid #e53935}
.article-item{padding:15px 0;border-bottom:1px dashed #e9ecef}
.article-item:last-child{border-bottom:none}
.article-item:hover{background:#f9f9f9}
.article-title{color:#333;text-decoration:none;font-size:16px;font-weight:500;transition:color 0.3s;display:block;word-wrap:break-word;min-width:0}
.article-title:hover{color:#e53935}
.article-meta-right{color:#999;font-size:13px;margin-top:5px;margin-left:15px;white-space:nowrap;flex-shrink:0}
.article-meta{color:#666;font-size:14px;margin-bottom:20px;text-align:center;word-wrap:break-word}
.article-views{color:#e53935;font-size:13px;margin-left:10px}
.view-all{display:block;text-align:right;color:#e53935;text-decoration:none;margin-top:15px;font-weight:500}
.view-all:hover{text-decoration:underline}
.article-container{background:white;border-radius:12px;padding:30px;margin:20px 0;box-shadow:0 2px 8px rgba(0,0,0,0.08);overflow:hidden}
.article-header{text-align:center;margin-bottom:30px;padding-bottom:20px;border-bottom:2px solid #f0f0f0}
.article-title-main{font-size:1.8rem;color:#333;margin-bottom:15px;line-height:1.4;font-weight:bold;word-wrap:break-word}
.article-info{color:#999;font-size:14px;display:flex;justify-content:center;gap:20px;align-items:center;flex-wrap:wrap}
.article-views-main{color:#e53935;font-weight:bold}
.article-content{line-height:1.8;color:#444;font-size:16px;word-wrap:break-word;overflow-wrap:break-word}
.article-content h2{color:#e53935;font-size:1.4rem;margin:25px 0 15px;padding-bottom:10px;border-bottom:2px solid #f5f5f5;word-wrap:break-word}
.article-content h3{color:#333;font-size:1.2rem;margin:20px 0 10px;word-wrap:break-word}
.article-content p{margin:12px 0;text-align:justify;word-wrap:break-word;overflow-wrap:break-word}
.price-highlight{text-align:center;padding:30px;background:linear-gradient(135deg,#fff5f5,#fff);border-radius:12px;margin:20px 0;border:1px solid #ffe0e0;overflow:hidden}
.big-price{font-size:3rem;font-weight:bold;margin:10px 0;word-wrap:break-word}
.big-price span{font-size:1.2rem;color:#666;margin-left:5px}
.trend{font-size:1.2rem;margin-top:10px;font-weight:500}
.trend.up{color:#e53935}
.trend.down{color:#4caf50}
.price-detail-table{width:100%;border-collapse:collapse;margin:20px 0;font-size:15px;table-layout:fixed}
.price-detail-table th{background:#f8f9fa;padding:12px;border:1px solid #e0e0e0;font-weight:bold;color:#333;word-wrap:break-word}
.price-detail-table td{padding:12px;border:1px solid #e0e0e0;text-align:center;word-wrap:break-word}
.article-tips{background:#f8f9fa;padding:20px;border-radius:8px;margin:25px 0;border-left:4px solid #e53935;overflow:hidden}
.article-tips h3{color:#e53935;margin-bottom:15px}
.article-tips p{margin:8px 0;color:#555;font-size:14px;word-wrap:break-word}
.data-source{text-align:center;color:#999;font-size:13px;margin-top:30px;padding-top:20px;border-top:1px solid #eee}
.article-nav{display:flex;justify-content:space-between;margin:30px 0;padding:20px;background:#f8f9fa;border-radius:8px;flex-wrap:wrap;gap:10px}
.article-nav a{color:#e53935;text-decoration:none;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.article-nav a:hover{text-decoration:underline}
.article-nav .disabled{color:#999;cursor:not-allowed}
.sidebar{background:white;border-radius:12px;padding:30px;margin:20px 0;box-shadow:0 2px 8px rgba(0,0,0,0.08);overflow:hidden}
.sidebar h3{color:#e53935;font-size:1.1rem;margin-bottom:20px;padding-bottom:10px;border-bottom:2px solid #e53935}
.sidebar-list{list-style:none;padding:0;margin:0}
.sidebar-list li{padding:10px 0;border-bottom:1px solid #f0f0f0}
.sidebar-list li:last-child{border-bottom:none}
.sidebar-list a{color:#333;text-decoration:none;font-size:14px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sidebar-list a:hover{color:#e53935}
.sidebar-list .date{color:#999;font-size:12px;margin-left:5px}
.articles-container{background:white;border-radius:12px;padding:30px;margin:20px 0;box-shadow:0 2px 8px rgba(0,0,0,0.08);overflow:hidden}
.page-title{text-align:center;color:#e53935;margin-bottom:30px;font-size:1.8rem;word-wrap:break-word}
.article-list-item{display:flex;justify-content:space-between;align-items:center;padding:18px 0;border-bottom:1px solid #f0f0f0;transition:all 0.3s;flex-wrap:wrap}
.article-list-item:hover{background:#fafafa;padding-left:10px}
.article-list-title{flex:1;font-size:16px;color:#333;text-decoration:none;font-weight:500;word-wrap:break-word;min-width:0}
.article-list-title:hover{color:#e53935}
.article-list-meta{color:#999;font-size:14px;display:flex;gap:15px;align-items:center;flex-shrink:0;white-space:nowrap}
.article-views-tag{background:#e53935;color:white;padding:2px 8px;border-radius:12px;font-size:12px}
.pagination{display:flex;justify-content:center;gap:10px;margin-top:30px;padding-top:20px;border-top:2px solid #f0f0f0;flex-wrap:wrap}
.pagination a,.pagination span{display:inline-block;padding:8px 16px;border:1px solid #ddd;border-radius:5px;color:#333;text-decoration:none;transition:all 0.3s}
.pagination a:hover{background:#e53935;color:white;border-color:#e53935}
.pagination .current{background:#e53935;color:white;border-color:#e53935}
.pagination .disabled{color:#999;cursor:not-allowed}
.empty-state{text-align:center;padding:60px 20px;color:#999}
.empty-state h3{color:#666;margin-bottom:10px}
.table-responsive{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.price-table{min-width:100%}
.back-to-top{position:fixed;bottom:30px;right:30px;width:50px;height:50px;background:#e53935;color:white;border:none;border-radius:50%;cursor:pointer;opacity:0;visibility:hidden;transition:all 0.3s ease;z-index:1000;box-shadow:0 4px 12px rgba(229,57,53,0.4);font-size:20px;display:flex;align-items:center;justify-content:center}
.back-to-top:hover{background:#c62828;transform:translateY(-3px);box-shadow:0 4px 15px rgba(0,0,0,0.3)}
.back-to-top.show{opacity:1;visibility:visible}
.info-section{background:white;padding:30px;border-radius:12px;box-shadow:0 2px 8px rgba(0,0,0,0.08);margin-bottom:20px}
.info-section h2{font-size:22px;color:#e53935;margin-bottom:25px;font-weight:700;padding-bottom:12px;border-bottom:3px solid #e53935;background:linear-gradient(135deg,rgba(229,57,53,0.05) 0%,rgba(229,57,53,0.02) 100%);padding:15px 20px;border-radius:8px;margin-bottom:20px}
.info-card{line-height:2;color:#444;font-size:16px}
.info-card p{margin-bottom:18px;text-align:justify;text-indent:2em}
.info-card h3{color:#333;margin:30px 0 15px;font-size:18px;font-weight:700;padding-left:15px;border-left:4px solid #e53935;background:#f8f9fa;padding:10px 15px;border-radius:0 8px 8px 0;margin-left:-15px}
.info-card strong{color:#e53935;font-weight:700}
.info-card ul{margin-left:35px;color:#555;line-height:2}
.info-card ul li{margin-bottom:12px;position:relative;padding-left:10px}
.info-card ul li::before{content:'•';color:#e53935;position:absolute;left:-10px;font-weight:bold}
.info-card a{color:#e53935;text-decoration:none;font-weight:500}
.info-card a:hover{text-decoration:underline}
.city-links{background:white;padding:30px;border-radius:12px;box-shadow:0 2px 8px rgba(0,0,0,0.08);margin-bottom:20px}
.city-links h3{font-size:20px;color:#e53935;margin-bottom:20px;font-weight:600;padding-bottom:10px;border-bottom:2px solid #e53935}
.city-links-list{display:flex;flex-wrap:wrap;gap:12px}
.city-links-list a{padding:8px 16px;background:linear-gradient(135deg,#f8f9fa 0%,#e9ecef 100%);color:#333;text-decoration:none;border-radius:20px;font-size:14px;font-weight:500;transition:all 0.3s;border:1px solid #dee2e6}
.city-links-list a:hover{background:linear-gradient(135deg,#e53935 0%,#c62828 100%);color:white;border-color:#e53935;transform:translateY(-2px);box-shadow:0 4px 12px rgba(229,57,53,0.3)}
.chart-container h2{font-size:20px;color:#e53935;margin-bottom:20px;text-align:center;font-weight:600}
.price-card h2{font-size:20px;color:#e53935;margin-bottom:20px;text-align:center;font-weight:600}
@media (max-width:768px){
    .stats{flex-direction:column}
    .stat-item{min-width:100%;margin-bottom:10px}
    .chart-wrap{height:280px}
    .price-table th,.price-table td{padding:10px 8px;font-size:13px}
    .chart-x-label{font-size:9px}
    .chart-y-label{font-size:9px}
    .chart-axis-x{bottom:50px;left:60px;right:10px}
    .chart-axis-y{left:60px;top:15px;bottom:50px}
    .chart-x-labels{left:60px;right:10px;bottom:15px;height:30px}
    .chart-y-labels{width:55px;left:5px;top:15px;bottom:50px;padding-right:5px}
    .chart-area{left:60px;right:10px;top:15px;bottom:50px}
    .chart-grid-h,.chart-grid-v{left:60px;right:10px;top:15px;bottom:50px}
    .article-title-main{font-size:1.4rem}
    .big-price{font-size:2.2rem}
    .article-container{padding:15px}
    .articles-container{padding:15px}
    .article-list-item{flex-direction:column;align-items:flex-start;gap:8px}
    .article-list-meta{width:100%;justify-content:space-between}
    .article-title{font-size:1.2rem}
    .container{padding:0 10px}
    .price-card,.chart-container,.info-section,.article-section,.city-links{padding:20px}
    .nav a{padding:12px 8px;font-size:14px}
    .header h1{font-size:20px}
    .back-to-top{bottom:20px;right:20px;width:45px;height:45px;font-size:18px}
    .chart-point{width:12px;height:12px}
}
@media (max-width:480px){
    .header{padding:15px}
    .header h1{font-size:1.3rem}
    .chart-wrap{height:220px}
    .chart-x-label{font-size:8px}
    .chart-y-label{font-size:8px}
    .stat-item .value{font-size:1.3rem}
    .price-table th,.price-table td{padding:4px 2px;font-size:10px}
    .chart-point{width:10px;height:10px}
}
.article-card-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.article-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}
.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e53935, #ff6b6b, #e53935);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}
@keyframes shimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}
.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(229,57,53,0.15);
    border-color: rgba(229,57,53,0.2);
}
.article-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #eee;
}
.article-date {
    color: #999;
    font-size: 13px;
    padding: 3px 10px;
    background: #f8f9fa;
    border-radius: 15px;
}
.article-views {
    color: #e53935;
    font-size: 13px;
    font-weight: 500;
}
.article-card-title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.5;
}
.article-card-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}
.article-card-title a:hover {
    color: #e53935;
}
.article-card-summary {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-card-footer {
    text-align: right;
}
.read-more {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #e53935, #c62828);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
}
.read-more:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(229,57,53,0.4);
}
.pagination-wrap {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}
.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
}
.pagination a {
    background: white;
    color: #333;
    border: 1px solid #e0e0e0;
}
.pagination a:hover {
    background: #e53935;
    color: white;
    border-color: #e53935;
    transform: translateY(-2px);
}
.pagination-prev, .pagination-next {
    background: #f8f9fa !important;
    color: #666 !important;
    border-color: #ddd !important;
    padding: 0 16px !important;
}
.pagination-prev:hover, .pagination-next:hover {
    background: #e53935 !important;
    color: white !important;
    border-color: #e53935 !important;
}
.pagination-prev.disabled, .pagination-next.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}
.pagination-current {
    background: #e53935;
    color: white;
    font-weight: 700;
}
.pagination-dots {
    color: #999;
    padding: 0 10px;
}
.pagination-info {
    text-align: center;
    color: #999;
    font-size: 14px;
}
@media (max-width: 768px) {
    .article-card-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .article-card {
        padding: 20px;
    }
    .pagination a, .pagination span {
        min-width: 35px;
        height: 35px;
        font-size: 14px;
    }
}