* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif; color: #333; background-color: #f5f5f5; position: relative; min-height: 100vh; } .container { max-width: 800px; margin: 0 auto; padding: 20px; position: relative; z-index: 1; background-color: rgba(255, 255, 255, 0.85); border-radius: 10px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); } header { text-align: center; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #eaeaea; } header h1 { color: #07a35a; margin-bottom: 10px; font-size: 2rem; } .update-time { color: #888; font-size: 0.9rem; } .hot-list { list-style: none; } .hot-item { padding: 15px; margin-bottom: 10px; border-radius: 8px; background-color: white; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); transition: transform 0.2s, box-shadow 0.2s; display: flex; align-items: center; } .hot-item:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); } .hot-rank { font-size: 1.2rem; font-weight: bold; color: #ff8200; margin-right: 15px; min-width: 30px; text-align: center; } .hot-rank.top-1 { color: #ff4500; } .hot-rank.top-2, .hot-rank.top-3 { color: #ff6600; } .hot-content { flex: 1; } .hot-title { font-size: 1.1rem; margin-bottom: 5px; color: #333; text-decoration: none; display: block; } .hot-title:hover { color: #07a35a; } .hot-value { font-size: 0.85rem; color: #888; } .loading { text-align: center; padding: 20px; color: #888; } footer { text-align: center; margin-top: 30px; padding-top: 15px; border-top: 1px solid #eaeaea; color: #888; font-size: 0.9rem; } /* 响应式设计 */ /* 手机端 */ @media (max-width: 576px) { .container { padding: 15px; margin: 10px; } header h1 { font-size: 1.5rem; } .hot-item { padding: 12px; } .hot-rank { font-size: 1rem; min-width: 25px; margin-right: 10px; } .hot-title { font-size: 1rem; } } /* 平板端 */ @media (min-width: 577px) and (max-width: 992px) { .container { max-width: 90%; } header h1 { font-size: 1.8rem; } } /* 电脑端 - 默认样式已经设置 */