        /* 图片  背景底色，图片未加载时显示 */
        body {
            font-family: 'Microsoft YaHei', sans-serif;
            max-width: 1400px;
            margin: 0 auto;
            padding: 20px;
            background-color: #bee4e9;
            /* 在线背景图片样式 */
            /*background-image: url('https://api.yimian.xyz/img');*/
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            background-repeat: no-repeat;
            /* 添加半透明遮罩提高文字可读性 */
            position: relative;
            min-height: 90vh;
            padding-bottom: 60px;
        }
        /* body 框背景 */
        body::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, 0.0);
            z-index: -1;
        }
        /* 滚动条样式 */
        ::-webkit-scrollbar {
        	width:0px;
        	}
        	
        .content {
            position: relative;
            z-index: 1;
        }
        .search-container {
            text-align: center;
            margin: 10px 0;
        }
        #search-form {
            display: inline-flex;  /* 关键属性：使用flex布局 */
            vertical-align: middle; /* 保持与周围元素对齐 */
        }
        #search-input {
            width: 400px;
            padding: 12px 15px;
            font-size: 16px;
            border: 1px solid #3385ff;
            border-radius: 8px 0 0 8px;
            outline: none;
            background-color: rgba(255, 255, 255, 0.8);
        }
        #search-btn {
            width: 70px;
            padding: 12px 16px;
            background-color: #3385ff;
            color: white;
            border: none;
            border-radius: 0 8px 8px 0;
            font-size: 15px;
            cursor: pointer;
        }
        #search-btn:hover {
            background-color: #2c78f2;
        }
        .site-categories {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px;
        }
        /* 站点box大标题背景 */
        .category {
            background: rgba(255,255,255,0.1);
            max-width: 1100px; /* (200+30)*4 - 15 */
            border-radius: 12px;
            padding: 20px;
            margin: 20px auto; /* 改为auto实现水平居中 */
            box-shadow: 0 4px 12px rgba(0,0,0,0.4); /* 边框颜色*/
            width: 95%; /* 添加自适应宽度 */
        }
        .category:first-child {
            position: relative;
            z-index: 10; /* 确保第一个分类容器在最上层 */
        }
        .music-player-container {
            position: relative;
            z-index: 20;
            margin-bottom: 5px; /* 为展开的列表留出空间 */
        }
        .category-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
            margin-top: -10px;
            padding: 0 10px;
            position: relative;
            border-bottom: 1px solid #ffffffab;
        }
        .category h2 {
            color: #ffffff;
            padding-bottom: 1px;
            margin-top: 0;
            display: inline-block; /* 让标题与时钟同行 */
            margin: 0 20px 0 0;   /* 添加右侧间距 */
            text-shadow: 0 0 4px rgba(139, 40, 40, 0.7);
        }
        .category-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 15px;
            padding: 15px;
        }
        .category::after {
            content: "";
            display: table;
            clear: both;
        }
        h2 {
            margin: 1px !important; /* 移除默认边距 */
            font-size: 20px;
            color: #383837;
            margin: 0;
            position: relative;
            z-index: 1;
        }
        .site-list {
            list-style: none;
            padding: 0;
        }
        .site-list li {
            margin: 8px 0;
        }
        .site-list a {
            color: #555;
            text-decoration: none;
            display: block;
            padding: 5px;
            border-radius: 4px;
            transition: all 0.2s ease;
        }
        .site-list a:hover {
            background-color: rgba(51, 133, 255, 0.1);
            color: #3385ff;
            padding-left: 10px;
        }
        .site-card {
            width: 200px;
            height: 85px;
            border-radius: 8px;
            background: 
                linear-gradient(rgba(0, 0, 0, 0.15));
            position: relative;
            transition: transform 0.3s ease;
            box-shadow: 0 3px 6px rgba(0,0,0,0.1);
            transform: translateY(0);
            padding-left: 5px; /* 给图标留出空间 */
            overflow: visible;
            margin: 0 auto;
        }
        .time-card {
            width: 200px;
            height: 90px;
            border-radius: 8px;
            background: 
                linear-gradient(rgba(0, 0, 0, 0.15));
            position: relative;
            transition: transform 0.3s ease;
            box-shadow: 0 3px 6px rgba(0,0,0,0.1);
            transform: translateY(0);
            padding-left: 5px; /* 给图标留出空间 */
            overflow: visible;
            margin: 0 auto;
        }
        @media (max-width: 935px) {
            .time-card,
            .site-kb {
                display: none !important;
            }
            .music-player {
                grid-column: 1 / -1; /* 横跨所有列 */
                width: calc(87% + 45px) !important;
                max-width: none !important;
            }
        }
        .site-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.2);
        }
        .site-card a {
            display: block;
            width: 100%;
            height: 100%;
            padding: 10px;
            color: white;
            text-decoration: none;
            position: relative;
        }
        .site-title {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 8px;
            background: rgba(0,0,0,0.6);
            font-size: 14px;
            backdrop-filter: blur(2px);
        }
        .site-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 15px;
            justify-content: center;
            margin-top: 0;
            position: relative;
            z-index: 0;
        }
        /* 限制每行最多4个 */
        @media (min-width: 935px) {
            .site-grid {
                grid-template-columns: repeat(4, 1fr);
            }
        }
        @media (max-width: 490px) {
            h2 {
                margin: 10px !important;
                font-size: 18px;
                color: #383837;
                margin: 0;
                position: relative;
                z-index: 1;
            }
            .icon-area {
                width: 50px;
                height: 50px;
                left: 10px;
            }
            .site-name {
                font-size: 14px;
                top: 10px;
                right: 10px;
            }
            .site-desc {
                font-size: 11px;
                bottom: 10px;
                right: 10px;
            }
            .site-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px !important;  /* 适当缩小间距 */
              }
            .music-player {
                grid-column: 1 / -1; /* 横跨所有列 */
                width: calc(48% + 160px) !important;
                max-width: none !important;
            }
            .site-card {
                padding-left: 70px;
                width: 80px !important;
                height: 60px !important;
                transform: none !important;
                margin: 0 auto;
              }
              .time-card {
                width: 150px !important;
                height: 60px !important;
                margin: 0 !important;
                transform: none !important;
              }     
              /* 文字缩放 */
            .site-name {
                font-size: 14px !important;  
                top: 6px !important;
                left: -55px !important;
              }
            .site-desc {
                font-size: 10px !important;
                left: -55px !important;
                right: 5px !important;
                top: 55% !important;
                max-width: 95% !important;
                line-height: 1.2 !important;
              }
            .icon-area {
                left: 40px !important;
                width: 35px !important;
                height: 35px !important;
                top: 40% !important;
              }  
              /* 悬停效果调整 */
            .site-card:hover {
                transform: translateY(-4px) !important;
              }
              /* 容器微调 */
              .category {
                padding: 10px !important;
                margin: 10px auto !important;
              }
        }
        .icon-area {
            position: absolute;
            left: 135px;
            top: 40%;
            transform: translateY(-50%);
            width: 58px;
            height: 58px;
            background: var(--icon) center/contain no-repeat;
            border-radius: 8px;
        }
        /* 站点名称 */
        .site-name {
            position: absolute;
            top: 8px;
            left: 10px;
            font-size: 20px;
            font-weight: bold;
            color: #ffffff;
            text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
        }
        /* 站点描述 */
        .site-desc {
            position: absolute;
            left: 10px;                 /* 水平保持左对齐 */
            right: 10px;                /* 右侧留空，避免贴边 */
            top: 55%;                   /* 垂直定位 */
            transform: translateY(-50%);
            font-size: 13px;
            color: rgba(255, 255, 255, 0.9);
            max-width: 58%;             /* 最大宽度*/
            text-align: left;
            white-space: normal;
            word-break: break-word;
            overflow-wrap: break-word;
        }
        /* 悬停动画优化 */
        .site-card:hover .icon-area {
            transform: translateY(-50%) scale(1.1);
            transition: all 0.3s ease;
        }
        .refresh-btn {
            display: block;
            margin: 20px auto;
            padding: 8px 15px;
            background-color: #3385ff;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }
        .refresh-btn:hover {
            background-color: #2c78f2;
        }
        .suggestions-container {
            position: relative;
            display: inline-block;
        }
        #suggestions {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: rgba(255, 255, 255, 0.95);
            border: 1px solid #e4e4e4;
            border-top: none;
            border-radius: 0 0 4px 4px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            max-height: 300px;
            overflow-y: auto;
            z-index: 1000;
            display: none;
        }
        .suggestion-item {
            padding: 8px 15px;
            cursor: pointer;
            color: #333;
            font-size: 14px;
            display: flex;
            align-items: center;
            transition: background 0.2s;
        }
        .suggestion-item:hover {
            background: #f5f5f5;
        }
        .suggestion-item::before {
            content: "";
            margin-right: 8px;
            opacity: 0.6;
        }
        .suggestion-highlight {
            color: #3385ff;
            font-weight: bold;
        }
        /* 定义自定义字体 */
        @font-face {
            font-family: 'Pacifico';
            src: url('../fonts/Pacifico-Regular.ttf') format('truetype');
            font-weight: normal;
            font-style: normal;
        }

        /* 标题容器样式 */
        .search-header {
            text-align: center;
            margin-bottom: 1px;
        }

        /* 基础标题样式 */
        .custom-title {
            font-family: 'Pacifico', cursive;
            display: inline-block;
            position: relative;
            margin: 0;
            height: 180px;
        }

        /* 主文字样式 */
        .pex-text {
            font-size: 4.5em;  /* 基础大小40px (假设根元素16px) */
            color: #ffffff;
            text-shadow: 1px 1px 4px rgba(255, 0, 0, 0.9);
            transform: rotate(-20deg);
            display: inline-block;
            margin-right: 1px;
            position: relative;
            top: -40px;
            text-decoration: none;
        }

        /* 子文字样式 */
        .rex-text {
            font-size: 1.8em;  /* 约51px */
            color: #ffffff;
            text-shadow: 1px 1px 2px rgba(255,107,107,0.9);
            position: relative;
            top: -30px;
            text-decoration: none;
        }

        /* 响应式调整 */
        @media (max-width: 768px) {
            .category-header {
                flex-direction: column;
                align-items: flex-start;
                flex-wrap: wrap;
                padding-bottom: 15px;
            }
            
            .category h2 {
                display: block;
                margin-bottom: 10px;
            }
        }
        @media (max-width: 716px) {
            #search-input {
                width: 350px;
                padding: 12px 15px;
                font-size: 16px;
                border: 1px solid #3385ff;
                border-radius: 8px 0 0 8px;
                outline: none;
                background-color: rgba(255, 255, 255, 0.8);
            }
        }
        @media (max-width: 490px) {
            .custom-title {
                height: 100px;
            }
            .custom-title {
                display: block;
            }
            .pex-text {
                font-size: 2.5em;
                position: relative;
                top: -30px;
            }
            .rex-text {
                font-size: 1.2em;
                position: relative;
                top: -30px;
            }
            /* 调整标题间距 */
            .category-header {
                padding-bottom: 5px;
            }
            
            /* 微调定位 */
            .category h2 {
                margin-bottom: 5px !important;
            }
            #search-input {
                width: calc(73vw - 55px);
                padding: 12px 15px;
                font-size: 16px;
                border: 1px solid #3385ff;
                border-radius: 8px 0 0 8px;
                outline: none;
                background-color: rgba(255, 255, 255, 0.8);
            }
        }
        @font-face {
            font-family: 'UnidreamLED';
            src: url('../fonts/UnidreamLED.ttf') format('truetype');
        }
        #clock {
            font-family: 'UnidreamLED', sans-serif;
            font-size: 2.7rem;
            letter-spacing: 3px; /* 数字间距 */
            color: #ffffff;  /* LED颜色 */
            text-shadow: 0 0 3px rgba(8, 8, 8, 0.945);
            padding: 0px 20px;
            border-radius: 15px 15px 0px 0px ;
            background-color: #e6e6e600;
            box-shadow: 0 0 2px rgba(255, 255, 255, 0.0);
        }
        #date {
            font-family: 'UnidreamLED', sans-serif;
            font-size: 1rem;
            letter-spacing: 3px; /* 数字间距 */
            color: #ffefeffb;  /* LED颜色 */
            text-shadow: 0 0 1px rgba(0, 0, 0, 0.8);
            padding: 0px 15px;
            border-radius: 0px 0px 15px 15px;
            background-color: #e6e6e600;
            box-shadow: 0 0 1px rgba(255, 0, 0, 0.1);
        }
        .site-time {
            position: absolute;
            top: 1px;
            left: 10px;
        }
        .site-date {
            position: absolute;
            left: 10px;                 /* 水平保持左对齐 */
            right: 10px;                /* 右侧留空，避免贴边 */
            top: 75%;                   /* 垂直定位 */
            transform: translateY(-50%);
            max-width: 88%;             /* 最大宽度*/
        }

        .power {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            text-align: center;
            padding: 20px 0;
            color: #eeeeee;
        }
        /*以下为音乐控制部分*/
        /* 音乐播放器样式 */
        .music-player {
            width: 600px;
            height: 90px;
            left: 110px;
            border-radius: 8px;
            background: linear-gradient(rgba(0, 0, 0, 0.28));
            position: relative;
            transition: transform 0.3s ease;
            overflow: visible; /* 添加这一行以允许内容溢出 */
        }
        
        .music-player:hover {
            transform: translateY(0px);
        }

        .music-controls {
            position: relative;
            height: 100%;
            padding: 10px;
            color: rgb(255, 255, 255);
        }

        .song-info {
            position: absolute;
            top: 5px;
            left: 10px;
            right: 10px;
            display: flex;
            justify-content: space-between;
        }

        #current-song {
            font-size: 15px;
            cursor: pointer;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 60%;
            transform: translateX(calc(19px + 10%));
        }

        #current-time {
            font-size: 15px;
            transform: translateX(-30px);
        }

        #progress-bar {
            position: absolute;
            top: 38px;
            left: 10px;
            right: 10px;
            width: calc(90% - 20px);
            height: 4px;
            -webkit-appearance: none;
            appearance: none;
            background: rgba(255,255,255,0.3);
            border-radius: 2px;
            outline: none;
            margin:auto;
        }

        #progress-bar::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #3385ff;
            cursor: pointer;
        }

        .controls {
            position: absolute;
            bottom: 10px;
            left: 0;
            right: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 11%;
        }

        .controls button {
            width: 35px;
            height: 30px;
            transform: translateY(-50%);
            border-radius: 12px;
            background: 
                linear-gradient(rgba(138, 138, 138, 0.2));
            border: none;
            cursor: pointer;
            padding: 0;
        }

        .controls button img {
            transition: transform 0.4s ease;
            width: 18px;
            height: 18px;
            transform: translateY(10%);
        }

        .controls button:hover img {
            transform: scale(1.3);
        }

        #volume-control {
            width: 80px;
            height: 4px;
            -webkit-appearance: none;
            appearance: none;
            background: rgba(255,255,255,0.3);
            border-radius: 2px;
            outline: none;
            margin-top: -5px; /* 单独调整滑块位置 */
        }
        .volume-container {
            display: flex;
            align-items: center; /* 垂直居中 */
            gap: 5px;
            height: 100%; /* 继承父元素高度 */
            margin-top: -15px; /* 微调位置 */
            margin-left: 10px;
        }
        .volume-icon {
            position: relative;
            top: -2px; /* 向下移动2px */
        }
        .volume-icon img {
            transition: transform 0.4s ease;
            width: 18px;
            height: 18px;
        }

        #volume-control::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #3385ff;
            cursor: pointer;
        }

        #song-list-container {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            max-height: 300px;
            background: rgba(255, 255, 255, 0.95);
            border-radius: 12px;
            z-index: 1000;
            box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
            border: 1px solid rgb(0, 207, 197);
            color: rgb(0, 0, 0);
            /* 隐藏滚动条 */
            scrollbar-width: none;
            line-height: 1.05;/*列表行高*/
            -ms-overflow-style: none;
            overflow-y: scroll;
            -webkit-overflow-scrolling: touch;
        }
        #song-list-container::-webkit-scrollbar {
            display: none;
        }
        
        #song-list-container {
            overflow-y: scroll; /* 保留滚动功能 */
            -webkit-overflow-scrolling: touch; /* 平滑滚动(iOS) */
        }
        #song-list {
            list-style: none;
            padding: 5px 5px;
            margin: 1px;
        }

        #song-list li {
            padding: 10px 15px;
            cursor: pointer;
            transition: background 0.1s;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        #song-list li:hover {
            background: rgba(152, 255, 158, 0.9)
        }
        /* 循环模式按钮样式 */
        #loop-btn {
            width: 40px;
            height: 25px;
            border-radius: 8px;
            padding: 0;
            margin: 0;
            background: none !important;
            border: none !important;
        }
        #loop-btn img {
            transition: transform 0.2s ease;
            opacity: 0.8;
        }

        #loop-btn:hover img {
            transform: scale(1.1);
            opacity: 1;
        }

        /* 不同模式的高亮效果 */
        #loop-btn.mode-list img {
            filter: brightness(1) drop-shadow(0 0 3px #ebeff5);
        }
        #loop-btn.mode-random img {
            filter: brightness(1) drop-shadow(0 0 3px #97ff97);
        }
        #loop-btn.mode-single img {
            filter: brightness(1) drop-shadow(0 0 3px #ff9b9b);
        }

        /* 响应式调整 */
        @media (max-width: 1220px) {
            .music-player{
                /*left: 110px;*/
                left: calc(35vw - 317px);
            }
        }

        @media (max-width: 935px) {
            .music-player{
                margin: 0 auto;
                left: 0;
            }
            #current-time {
                transform: translateX(calc(-4vw + 0px));
            }
            #current-song {
                transform: translateX(calc(4vw + 0px));
            }
            .controls {
                gap: calc(19vw - 72px);
            }
        }

        @media (max-width: 716px) {
            .music-player {
                width: 95%;
            }
        }
        /* 触摸设备优化 */
        @media (hover: none) {
            #song-list li:active {
                background: rgba(255,255,255,0.2);
            }
        }
        @media (max-width: 490px) {
            *.music-player {
                overflow: visible;
            }
            #progress-bar {
                width: calc(95% - 15px);
            }
            #current-song {
                font-size: 13px;
                transform: translateX(10px );
            }
            
            #current-time {
                font-size: 13px;
                transform: translateX(calc(30px - 50%));
            }
            
            .controls {
                gap: calc(12vw - 35px);
            }
            
            .controls button img {
                width: 16px;
                height: 16px;
            }
            
            #loop-btn {
                font-size: 10px;
            }
            
            #volume-control {
                width: 60px;
            }
            
            #song-list-container {
                max-height: 400px;
            }
        }

            /* 站点图标 */
            .site-icon {
                width: 40px;
                height: 40px;
                border-radius: 50%;
                background-color: #ffffff;
                display: inline-block;
                margin-right: 10px;
            }