/* 现代化卡片样式 */ .traffic-card { background: white; border-radius: 10px; box-shadow: 0 2px 15px rgba(0,0,0,0.1); padding: 20px; margin: 15px 0; transition: transform 0.3s ease; } .traffic-card:hover { transform: translateY(-5px); } /* 响应式表格 */ .traffic-table { width: 100%; border-collapse: separate; border-spacing: 0; background: white; border-radius: 8px; overflow: hidden; } /* 图表容器美化 */ .chart-container { background: white; padding: 15px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); } /* 深色模式支持 */ @media (prefers-color-scheme: dark) { body { background-color: #1a1a1a; color: #ffffff; } .traffic-card { background: #2d2d2d; } }