/* oil_city 全国油价分析页 */
.analysis-section { margin-bottom: 30px; }
.analysis-card { background: #fff; border-radius: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); margin-bottom: 20px; }
.analysis-header { padding: 15px 20px; border-bottom: 1px solid #eee; background: #f8f9fa; border-radius: 8px 8px 0 0; }
.analysis-title { font-size: 18px; font-weight: 600; color: #333; margin: 0; }
.analysis-content { padding: 20px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 20px; }
.stats-card { background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%); padding: 20px; border-radius: 12px; text-align: center; border: 1px solid #e9ecef; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); transition: all 0.3s ease; position: relative; overflow: hidden; }
.stats-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, #007bff, #28a745); }
.stats-card.n89::before { background: linear-gradient(90deg, #28a745, #20c997); }
.stats-card.n92::before { background: linear-gradient(90deg, #ffc107, #fd7e14); }
.stats-card.n95::before { background: linear-gradient(90deg, #dc3545, #e83e8c); }
.stats-card.n98::before { background: linear-gradient(90deg, #6f42c1, #8e44ad); }
.stats-card.n0::before { background: linear-gradient(90deg, #17a2b8, #20c997); }
.stats-card:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); }
.stats-label { font-size: 16px; color: #495057; margin-bottom: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.stats-value { font-size: 32px; font-weight: 800; color: #212529; margin-bottom: 15px; line-height: 1; }
.stats-detail { font-size: 13px; color: #6c757d; line-height: 1.6; }
.stats-detail strong { color: #495057; font-weight: 600; }
.oil-overview-text { line-height: 1.8; }
.oil-overview-item { margin-bottom: 25px; padding-bottom: 20px; border-bottom: 1px solid #e9ecef; }
.oil-overview-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.oil-overview-title { font-size: 18px; font-weight: 600; color: #333; margin-bottom: 12px; padding-left: 12px; border-left: 4px solid #007bff; }
.oil-overview-title.n89 { border-left-color: #28a745; }
.oil-overview-title.n92 { border-left-color: #ffc107; }
.oil-overview-title.n95 { border-left-color: #dc3545; }
.oil-overview-title.n98 { border-left-color: #6f42c1; }
.oil-overview-title.n0 { border-left-color: #17a2b8; }
.oil-overview-content { font-size: 15px; color: #444; line-height: 1.8; margin: 0; text-align: justify; }
.oil-overview-content strong { color: #007bff; font-weight: 600; }
.ranking-table { width: 100%; border-collapse: collapse; }
.ranking-table th, .ranking-table td { padding: 10px; text-align: left; border-bottom: 1px solid #eee; }
.ranking-table th { background: #f8f9fa; font-weight: 600; color: #333; }
.ranking-rank { width: 50px; text-align: center; font-weight: bold; }
.ranking-rank.top3 { color: #dc3545; }
.price-diff-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.youjia-entry-link { font-size: 13px; font-weight: 400; color: #007bff; margin-left: 12px; white-space: nowrap; }
.youjia-entry-link:hover { text-decoration: underline; }
.price-diff-card { background: #f8f9fa; padding: 12px 14px; border-radius: 6px; border-left: 3px solid #007bff; }
.price-diff-title { font-size: 13px; font-weight: 600; color: #333; margin-bottom: 8px; }
.price-diff-content { display: flex; justify-content: space-between; align-items: center; }
.price-diff-city { text-align: center; flex: 1; min-width: 0; }
.price-diff-city-name { font-size: 12px; color: #666; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.price-diff-city-price { font-size: 15px; font-weight: bold; color: #007bff; }
.price-diff-arrow { font-size: 14px; color: #bbb; margin: 0 8px; flex-shrink: 0; }
.price-diff-amount { font-size: 12px; color: #dc3545; font-weight: bold; background: rgba(220, 53, 69, 0.08); padding: 3px 8px; border-radius: 10px; margin-left: 10px; white-space: nowrap; flex-shrink: 0; }
@media (max-width: 768px) {
    .stats-grid { grid-template-columns: 1fr; }
    .price-diff-grid { grid-template-columns: 1fr; }
    .price-diff-content { flex-direction: column; gap: 10px; }
    .price-diff-arrow { transform: rotate(90deg); margin: 5px 0; }
}
