

        
        /* 主容器 */
        .control-panel {
            width: 100%;
            margin: 0 auto;
            padding: 25px;
            background: rgb(0 0 0 / 100%);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            /* box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3); */
        }
        
        /* 标题栏 */
        .header-index {
            text-align: center;
            margin-bottom: 20px;
            padding-bottom: 18px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
            color: #fff;
        }
        
        .header-index h1 {
            color: #fff;
            font-size: 2.2rem;
            font-weight: 600;
            letter-spacing: 1px;
            margin-bottom: 10px;
            text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
        }
        
        .header-index p {
            font-size: 1.1rem;
            opacity: 0.9;
            margin-bottom: 0;
        }
        
        /* 控制按钮组 */
        .control-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 35px;
            margin-bottom: 30px;
        }
        
        /* 顶部按钮组 */
        .top-controls {
            grid-column: 1 / span 3;
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 15px;
        }
        
        /* 底部按钮组 */
        .bottom-controls {
            grid-column: 1 / span 3;
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 15px;
        }
        
        /* 返回按钮容器 */
        .return-container {
            grid-column: 1 / span 3;
            text-align: center;
            margin-top: 20px;
        }
        
        /* 控制按钮样式 */
        .control-btn {
            border-radius: 15px;
            padding: 13px 5px;
            text-align: center;
            color: white;
            transition: all 0.3s ease;
            /* cursor: pointer; */
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
            position: relative;
            overflow: hidden;
        }
        
        .control-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: var(--accent-color);
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        

        /* 按钮图标 */
        .btn-icon {
            font-size: 2.5rem;
            margin-bottom: 15px;
            color: var(--blue-color);
            transition: transform 0.3s ease;
        }
        
        .control-btn:hover .btn-icon {
            transform: scale(1.1);
        }
        
        /* 按钮文字 */
        .btn-text {
            font-size: 1rem;
            font-weight: 500;
            letter-spacing: 0.5px;
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
        }
        
        /* 返回按钮特殊样式 */
        .return-btn {
            border: 2px solid #4a9eff;
            border-radius: 12px;
            padding: 12px 20px;
            font-size: 1.3rem;
            font-weight: 600;
            color: white;
            transition: all 0.3s ease;
            /* cursor: pointer; */
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            min-width: 160px;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        }
        
        .return-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
        }
        
        .return-btn .btn-icon {
            font-size: 1.5rem;
            margin-bottom: 0;
        }
        
        /* 状态指示器 */
        .status-indicator {
            position: absolute;
            top: 10px;
            right: 10px;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #4cd964;
            box-shadow: 0 0 8px #4cd964;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .control-btn.active .status-indicator {
            opacity: 1;
        }
        
        /* 响应式调整 */
        @media (max-width: 992px) {
            .control-grid {
                gap: 20px;
            }
            
            .top-controls,
            .bottom-controls {
                grid-template-columns: repeat(4, 1fr);
                gap: 15px;
            }
            
            .top-controls {
                margin-bottom: 20px;
            }
            
            .btn-icon {
                font-size: 2.2rem;
            }
            
            .btn-text {
                font-size: 1rem;
            }
        }
        
        @media (max-width: 768px) {
            .control-panel {
                padding: 20px;
            }
            
            .header-index h1 {
                font-size: 1.8rem;
            }
            
            .top-controls,
            .bottom-controls {
                grid-template-columns: repeat(4, 1fr);
                gap: 15px;
            }
            .control-btn {
                padding: 20px 10px;
            }
            
            .btn-icon {
                font-size: 2rem;
                margin-bottom: 12px;
            }
            
            .btn-text {
                font-size: .8rem;
            }
        }
        
        @media (max-width: 576px) {
            body {
                padding: 10px;
            }
            
            .control-panel {
                padding: 15px;
            }
            
            .header-index {
                margin-bottom: 30px;
            }
            
            .header-index h1 {
                font-size: 1.6rem;
            }
            
            .control-grid {
                gap: 0px;;
            }
            .return-container{
                margin-top: 0px;
            }
            
            .top-controls,
            .bottom-controls {
                grid-template-columns: repeat(4, 1fr);
                gap: 12px;
            }
            
            .control-btn {
                padding: 18px 10px;
            }
            
            .return-btn {
                min-width: 160px;
                padding: 15px 30px;
                font-size: 1.1rem;
            }
        }
        
        /* 动画效果 */
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }
        
        .control-btn.active {
            animation: pulse 2s infinite;
        }
        
        /* 水波纹效果 */
        .ripple {
            position: absolute;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.3);
            transform: scale(0);
            animation: ripple-animation 0.6s linear;
            pointer-events: none;
        }
        
        @keyframes ripple-animation {
            to {
                transform: scale(4);
                opacity: 0;
            }
        }
        
        /* 主容器 */
        .dashboard-container {
            width: 100%;
            margin: 0 auto;
            background: #000;
            border-radius: 20px;
            overflow: hidden;
            /* box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); */
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        
        /* 顶部状态栏 */
        .status-bar {
            background: #000;
            padding: 15px 30px;
            /* display: flex; */
            justify-content: space-between;
            align-items: center;
            /* border-bottom: 1px solid rgba(255, 255, 255, 0.2); */
        }
        
        .time-info {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .temperature {
            font-size: 1.4rem;
            font-weight: 600;
        }
        
        .temperature span {
            color: var(--accent-color);
        }
        
        .date-info {
            text-align: right;
        }
        
        .date-number {
            font-size: 1.2rem;
            font-weight: 600;
        }
        
        .date-text {
            font-size: 0.9rem;
            opacity: 0.8;
        }
        
        /* 主要内容区域 */
        .main-content {
            padding: 25px;
            background: #000;
        }
        
        /* 空气质量状态 */
        .air-quality {
            background: #000;
            border-radius: 20px;
            padding: 15px;
            margin-bottom: 10px;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        
        .quality-header {
            /* display: flex; */
            justify-content: space-between;
            align-items: center;
            /* margin-bottom: 20px; */
        }
        
        .quality-title {
            font-size: .9rem;
            font-weight: 500;
            color: var(--text-color);
        }
        .quality-span{
            float: left;
        }
        
        .quality-badge {
            float: left;
            padding: 2px 8px;
            border-radius: 10px;
            font-weight: 400;
            font-size: .8rem;
            background: var(--danger-color);
            margin-left: 2px;
        }
        .quality-badge2 {
            float: left;
            padding: 2px 8px;
            border-radius: 10px;
            font-weight: 400;
            font-size: .8rem;
            background: var(--warning-color);
            margin-left: 2px;
        }
        .quality-badge3 {
            float: left;
            padding: 2px 8px;
            border-radius: 10px;
            font-weight: 400;
            font-size: .8rem;
            background: var(--good-color);
            margin-left: 2px;
        }
        
        .voc-info {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 1.1rem;
            margin-top: 15px;
        }
        
        .voc-label {
            opacity: 0.8;
        }
        
        .voc-value {
            font-weight: 600;
            color: var(--accent-color);
        }
        
        
        
        .wind-speed-box2 {
            float: right;
            width: auto;
            text-align: center;
            border: 1px solid var(--border-gray);
            border-radius: 8px;
            padding: 6px 6px;
            margin-left: 6px;
        }
        
        .wind-speed-label2 {
            font-size: 16px;
            margin-bottom: 0px;
            color: var(--text-gray);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .wind-speed-icon2 {
            color: var(--icon-color);
            margin-right: 6px;
            font-size: 18px;
        }
        
        .wind-speed-value2 {
            font-size: 15px;
            font-weight: bold;
            color: var(--temp-yellow);
        }
        
        
        .valve-foot-box2 {
            float: left;
            width: auto;
            text-align: center;
            border: 1px solid var(--border-gray);
            border-radius: 8px;
            padding: 10px 25px;
        }
        
        .valve-foot-label2 {
            font-size: 16px;
            color: var(--text-gray);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .valve-foot-icon2 {
            color: var(--icon-color);
            margin-right: 6px;
            font-size: 18px;
        }
        
 /* 主数据显示区域 - 精确排版 */
 .main-display {
            padding: 0px;
        }

        /* 第一行：PM2.5和温度并排 */
        .row-1 {
            display: flex;
            justify-content: space-between;
            margin-bottom: 25px;
        }

        .pm25-box {
            width: 48%;
            text-align: center;
            border: 1px solid var(--border-gray);
            border-radius: 8px;
            padding: 15px 10px;
        }

        .pm25-label {
            font-size: 16px;
            margin-bottom: 0px;
            color: var(--text-gray);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .pm25-icon {
            color: var(--icon-color);
            margin-right: 6px;
            font-size: 18px;
        }

        .pm25-value {
            font-size: 42px;
            font-weight: bold;
            color: var(--danger-red);
        }

        .temp-box {
            width: 48%;
            text-align: center;
            border: 1px solid var(--border-gray);
            border-radius: 8px;
            padding: 15px 10px;
        }

        .temp-label {
            font-size: 16px;
            margin-bottom: 10px;
            color: var(--text-gray);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .temp-icon-label {
            color: var(--icon-color);
            margin-right: 6px;
            font-size: 18px;
        }

        .temp-value {
            font-size: 42px;
            font-weight: bold;
            color: var(--temp-red);
        }

        /* 第二行：风阀脚和CO₂ */
        .row-2 {
            display: flex;
            justify-content: space-between;
            margin-bottom: 25px;
        }

        .valve-foot-box {
            width: 48%;
            text-align: center;
            border: 1px solid var(--border-gray);
            border-radius: 8px;
            padding: 10px 10px;
        }

        .valve-foot-label {
            font-size: 16px;
            margin-bottom: 0px;
            color: var(--text-gray);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .valve-foot-icon {
            color: var(--icon-color);
            margin-right: 6px;
            font-size: 18px;
        }

        .valve-foot-value {
            font-size: 42px;
            font-weight: bold;
        }

        .co2-box {
            width: 48%;
            text-align: center;
            border: 1px solid var(--border-gray);
            border-radius: 8px;
            padding: 15px 10px;
        }

        .co2-label {
            font-size: 16px;
            margin-bottom: 0px;
            color: var(--text-gray);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .co2-icon {
            color: var(--icon-color);
            margin-right: 6px;
            font-size: 18px;
        }

        .co2-value {
            font-size: 42px;
            font-weight: bold;
            color: var(--temp-blue);
        }

        /* 第三行：湿度、温度、风速并排 */
        .row-3 {
            display: flex;
            justify-content: space-between;
            margin-bottom: 25px;
        }

        .humidity-box {
            width: 31%;
            text-align: center;
            border: 1px solid var(--border-gray);
            border-radius: 8px;
            padding: 15px 5px;
        }

        .humidity-label {
            font-size: 16px;
            margin-bottom: 10px;
            color: var(--text-gray);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .humidity-icon {
            color: var(--icon-color);
            margin-right: 6px;
            font-size: 18px;
        }

        .humidity-value {
            font-size: 32px;
            font-weight: bold;
            color: var(--temp-yellow);
        }

        .temp-small-box {
            width: 31%;
            text-align: center;
            border: 1px solid var(--border-gray);
            border-radius: 8px;
            padding: 15px 5px;
        }

        .temp-small-label {
            font-size: 16px;
            margin-bottom: 10px;
            color: var(--text-gray);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .temp-small-icon {
            color: var(--icon-color);
            margin-right: 6px;
            font-size: 18px;
        }

        .temp-small-value {
            font-size: 32px;
            font-weight: bold;
            color:#4cd964;
        }

        .wind-speed-box {
            width: 30%;
            text-align: center;
            border: 1px solid var(--border-gray);
            border-radius: 8px;
            padding: 5px 5px;
        }

        .wind-speed-label {
            font-size: 16px;
            margin-bottom: 0px;
            color: var(--text-gray);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .wind-speed-icon {
            color: var(--icon-color);
            margin-right: 6px;
            font-size: 18px;
        }

        .wind-speed-value {
            font-size: 22px;
            font-weight: bold;
            color: var(--temp-yellow);
        }

        /* 第四行：手动、阀门、风速、设置、关机 - 5个并列 */
        .row-4 {
            display: flex;
            justify-content: space-between;
            gap: 8px;
        }

        .control-box {
            flex: 1;
            color: #e5e5e5;
            min-width: 0;
            text-align: center;
            border: 1px solid var(--border-gray);
            border-radius: 8px;
            padding: 5px 5px;
        }

        .control-box2 {
            min-width: 0;
            text-align: center;
            border-radius: 8px;
            padding: 2px 5px;
        }
        
        .control-box2 .control-icon {
            color: var(--icon-color);
            margin-right: 4px;
            font-size: 50px;
        }
        .control-label {
            font-size: 14px;
            margin-bottom: 3px;
            color: var(--text-gray);
            display: flex;
            align-items: center;
            justify-content: center;
            white-space: nowrap;
        }

        .control-icon {
            color: var(--icon-color);
            margin-right: 4px;
            font-size: 26px;
        }

        .control-value {
            font-size: 16px;
            font-weight: bold;
        }

        /* 底部设置按钮 */
        .settings-row {
            padding: 20px;
            border-top: 1px solid var(--border-gray);
            display: flex;
            justify-content: center;
        }

        .settings-btn {
            background: var(--card-dark);
            color: var(--text-white);
            border: 1px solid var(--border-gray);
            border-radius: 8px;
            padding: 12px 40px;
            font-size: 18px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .settings-icon {
            margin-right: 8px;
            color: var(--icon-color);
        }

        .settings-btn:hover {
            background: var(--border-gray);
        }

        /* 数值单位 */
        .unit {
            font-size: 14px;
            color: var(--text-gray);
            margin-left: 2px;
        }

        /* 系统状态栏 */
        .system-status {
            padding: 10px 20px;
            text-align: center;
            border-top: 1px solid var(--border-gray);
            font-size: 12px;
            color: var(--text-gray);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .system-icon {
            color: var(--icon-color);
            margin-right: 6px;
            font-size: 12px;
        }

        .quality-title-text{
            float: left;
            width: 100%;
        }
