:root {
            --primary-color: #0d6efd;
            --secondary-color: #6c757d;
            --success-color: #198754;
            --warning-color: #ffc107;
            --danger-color: #dc3545;
            --info-color: #0dcaf0;
            --light-color: #f8f9fa;
            --dark-color: #212529;
        }
        
        body {
            background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
            color: #333;
            min-height: 100vh;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        a {
  text-decoration: none;
  color: #333;
}
        .weather-container {
            background-color: rgba(255, 255, 255, 0.95);
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            overflow: hidden;
        }
        
        .weather-header {
            background: linear-gradient(to right, #2980b9, #2c3e50);
            color: white;
            padding: 20px;
            border-radius: 15px 15px 0 0;
        }
        
        .current-weather {
            padding: 20px;
            text-align: center;
            border-bottom: 1px solid #eee;
        }
        
        .temp-large {
            font-size: 4rem;
            font-weight: 700;
            line-height: 1;
        }
        
        .weather-icon {
            font-size: 3rem;
            margin-bottom: 15px;
        }
        
        .weather-card {
            border-radius: 10px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
            height: auto;
            margin-bottom: 20px;
        }
        
        .weather-card:hover {
            transform: translateY(-5px);
        }
        
        .hourly-forecast {
            background-color: #f8f9fa;
            padding: 15px;
            border-radius: 10px;
        }
        
        .hour-item {
            text-align: center;
            padding: 10px;
            border-right: 1px solid #eee;
        }
        
        .hour-item:last-child {
            border-right: none;
        }
        
        .aqi-good {
            background-color: var(--success-color);
            color: white;
        }
        
        .aqi-moderate {
            background-color: var(--warning-color);
            color: black;
        }
        
        .aqi-poor {
            background-color: var(--danger-color);
            color: white;
        }
        
        .rainy {
            color: #3498db;
        }
        
        .cloudy {
            color: #7f8c8d;
        }
        
        .sunny {
            color: #f39c12;
        }
        
        .clear {
            color: #f1c40f;
        }
        
        .section-title {
            border-left: 4px solid var(--primary-color);
            padding-left: 10px;
            margin: 10px 0 10px 0;
            font-weight: 600;
        }
        
        .badge-weather {
            font-size: 0.8rem;
            padding: 5px 10px;
        }
        
        .stat-value {
            font-size: 1.5rem;
            font-weight: 700;
        }
        
        .stat-label {
            font-size: 0.9rem;
            color: var(--secondary-color);
        }
        
        .forecast-day {
            text-align: center;
            padding: 15px;
        }
        
        .minutely-bar {
            height: 5px;
            background-color: #e9ecef;
            border-radius: 5px;
            margin: 5px 0;
            overflow: hidden;
        }
        
        .minutely-fill {
            height: 100%;
            background-color: #3498db;
            border-radius: 5px;
        }
        .display-6{
            line-height: .85;
        }
        .text-start,.text-end{
            text-align: center !important;;
        }
        @media (min-width: 1200px) {
          .display-6 {
            font-size: 2.3rem;
          }
        }
        @media (max-width: 768px) {
            .temp-large {
                font-size: 3rem;
            }
            
            .weather-icon {
                font-size: 2.5rem;
            }
            
            .hourly-forecast {
                overflow-x: auto;
                white-space: nowrap;
            }
            
            .hour-item {
                display: inline-block;
                min-width: 80px;
            }
        }
        .alert-orange {
            background-color: #ff9800;
            color: white;
        }
        .alert-card {
            border-left: 4px solid;
            margin-bottom: 1rem;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .alert-badge {
            font-size: 0.8rem;
            padding: 0.4rem 0.4rem;
        }
        .time-badge {
            background-color: #6c757d;
            color: white;
        }
        /* 右下角浮动按钮样式 */
        #floating-buttons {
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 1000;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        .floating-btn {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, #3498db, #8e44ad);
            color: white;
            border: none;
            margin: 8px 0;
            cursor: pointer;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .floating-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
        }
        
        .floating-btn::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: width 0.3s, height 0.3s;
        }
        
        .floating-btn:hover::after {
            width: 100%;
            height: 100%;
        }
        
        .btn-label {
            position: absolute;
            right: 70px;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 6px 12px;
            border-radius: 4px;
            font-size: 14px;
            white-space: nowrap;
            opacity: 0;
            transition: opacity 0.3s;
            pointer-events: none;
        }
        
        .floating-btn:hover .btn-label {
            opacity: 1;
        }
        
        footer {
            text-align: center;
            padding: 30px;
            margin-top: 50px;
            background: rgba(0, 0, 0, 0.05);
            border-radius: 10px;
            color: #666;
        }
        
        @media (max-width: 768px) {
            #floating-buttons {
                bottom: 20px;
                right: 20px;
            }
            
            .floating-btn {
                width: 50px;
                height: 50px;
                font-size: 18px;
            }
            
            h1 {
                font-size: 2.2rem;
            }
        }