span{
            color: black;
        }
        /* --- 全局样式 --- */
        body {
            margin: 0;
            padding: 0;
            font-family: "Microsoft YaHei", sans-serif;
            background-image: url("music.png");
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            min-height: 100vh;
            color: #333;
        }

        /* --- 主容器 (居中布局) --- */
        .container {
            background-color: rgba(0, 0, 0, 0.3);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 40px 20px;
        }

        /* --- 标题样式 --- */
        h1 {
            color: #fff;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
            margin-bottom: 30px;
            font-size: 2.5em;
            text-align: center;
        }

        .header h1 {
            font-size: 3em;
            margin: 0;
            letter-spacing: 2px;
        }

        /* --- 介绍框 --- */
        .intro-box {
           background: rgba(255, 255, 255, 0.4);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-radius: 12px;
            padding: 20px;
            max-width: 1000px;
            box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
            border: 1px solid rgba(255, 255, 255, 0.18);
            display: flex;
            flex-direction: column;
            margin: 11px;
        }
        .intro-box span {
            color: red;   /* 文字颜色为红色 */
            font-weight: bold; /* 加粗 */
            font-size: 18px;
            text-align: center;
        }
        .intro-box gif{
            color: red;   /* 文字颜色为红色 */
            font-weight: bold; /* 加粗 */
            font-size: 18px;
        }
        .vip {
           background: rgba(255, 255, 255, 0.4);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-radius: 12px;
            padding: 20px;
            max-width: 1000px;
            box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
            border: 1px solid rgba(255, 255, 255, 0.18);
            display: flex;
            flex-direction: column;
            margin: 11px;
        }
        @keyframes vipBlink {
    0% { opacity: 1; }
    50% { opacity: 0.2; }
    100% { opacity: 1; }
}

.vip-title {
    color: #000;
    font-weight: bold;
    font-size: 25px;
    text-align: center;
    margin: 0 0 15px 0;
}

/* 添加闪烁类（跳转时触发） */
.vip-title.blink {
    animation: vipBlink 0.6s ease 3;
}

    * VIP卡片网格 */
    .vip-grid {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 30px;
        min-height: 80px;
        padding: 5px 0;
    }

    /* 单个VIP卡片 - 保持原有样式 */
    .vip-item {
        text-align: center;
        transition: transform 0.3s ease;
        cursor: pointer;
    }

    .vip-item:hover {
       transform: translateY(-3px);
    }

    .vip-item .vip-name {
        font-weight: bold;
        font-size: 20px;
        color: blue;
        text-decoration: none;
    }

    .vip-item .vip-link {
        display: block;
        text-align: center;
        font-size: 20px;
        text-decoration: none;
        font-weight: bold;
    }

    /* 翻页控制 */
    .vip-controls {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        margin-top: 18px;
        padding-top: 15px;
        border-top: 1px solid rgba(0,0,0,0.1);
    }

    .vip-page-btn {
        background: rgba(214, 48, 49, 0.8);
        color: white;
        border: none;
        padding: 6px 18px;
        border-radius: 6px;
        cursor: pointer;
        font-weight: bold;
        font-size: 0.95em;
        transition: all 0.3s ease;
    }

    .vip-page-btn:hover:not(:disabled) {
        background: #b71c1c;
        transform: scale(1.05);
    }

    .vip-page-btn:disabled {
        background: rgba(150, 150, 150, 0.5);
        cursor: not-allowed;
        transform: none;
    }

    .vip-page-info {
        color: #333;
        font-size: 1em;
        font-weight: bold;
        min-width: 70px;
        text-align: center;
    }

    /* 小圆点 */
    .vip-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 10px;
    }

    .vip-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(0,0,0,0.2);
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
        padding: 0;
    }

    .vip-dot.active {
        background: #d63031;
        transform: scale(1.3);
    }

    .vip-dot:hover:not(.active) {
        background: rgba(0,0,0,0.4);
    }
        /* --- 卡片网格布局 --- */
        .grid {
            display: flex;
            justify-content: center; /* 卡片横向居中 */
            flex-wrap: wrap; /* 允许换行 */
            gap: 20px; /* 卡片之间的间距 */
            width: 100%;
        }

        /* --- 单个卡片样式 --- */
        .card {
            background: rgba(255, 255, 255, 0.4);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-radius: 12px;
            padding: 20px;
            width: 500px;
            box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
            border: 1px solid rgba(255, 255, 255, 0.18);
            display: flex;
            flex-direction: column;
        }

        .card:hover {
            transform: translateY(-5px);
        }

        .card h3 {
            margin-top: 0;
            color: #d63384; /* 粉色标题 */
            border-bottom: 2px solid #f8d7da;
            padding-bottom: 10px;
        }

        .card p {
            font-size: 0.9em;
            color: #666;
            margin-bottom: 15px;
        }
        .card-header {
            border-bottom: 2px solid #ff9a9e;
            padding-bottom: 10px;
            margin-bottom: 15px;
        }

        .card-header h2 {
            margin: 0;
            font-size: 1.4rem;
            color: #d6336c;
        }

        .card-header p {
            margin: 5px 0 0 0;
            font-size: 0.9rem;
            color: #303030;
        }

        /* --- 输入区域 --- */
        .input-group {
            display: flex;
            gap: 10px;
            margin-bottom: 15px;
        }

        input[type="text"] {
            flex: 1;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 5px;
            outline: none;
            transition: border-color 0.3s;
        }

        input[type="text"]:focus {
            border-color: #d63031;
        }
        input[type="name"] {
            flex: 1;
            padding: 1px;
            border: 1px solid #ddd;
            border-radius: 5px;
            outline: none;
            transition: border-color 0.3s;
        }

        button.add-btn {
            background-color: #d63031;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 5px;
            cursor: pointer;
            font-weight: bold;
            transition: background-color 0.3s;
        }

        button.add-btn:hover {
            background-color: #b71c1c;
        }

        button.add-btn:disabled {
            background-color: #ccc;
            cursor: not-allowed;
        }

        /* --- 链接列表 --- */
        .link-list {
            list-style: none;
            padding: 0;
            margin: 0;
            max-height: 200px;
            overflow-y: hidden;
        }

        .link-list li {
            background: #f1f2f6;
            margin-bottom: 8px;
            padding: 8px 12px;
            border-radius: 5px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.9em;
            word-break: break-all;
        }

        .link-list li a {
            color: #0984e3;
            text-decoration: none;
            margin-right: 10px;
            font-size: 25px;
            color:#ff0000;
        }

        .link-list li a:hover {
            text-decoration: underline;
        }

        .delete-btn {
            color: #ff7675;
            cursor: pointer;
            font-weight: bold;
            margin-left: 10px;
        }

          .delete-btn:hover {
            color: #d63031;
        }
        /* --- 分类选择器样式 --- */
        .category-selector {
            margin: 20px 0;
            text-align: center;
        }
        .category-selector label {
            font-size: 1.1em;
            font-weight: bold;
            color: #ffffff;
            margin-right: 10px;
        }
        .category-selector select {
            padding: 8px 15px;
            font-size: 1em;
            border: 2px solid #ddd;
            border-radius: 6px;
            background: white;
            color: #2d3436;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .category-selector select:hover {
            border-color: #74b9ff;
        }
        .category-selector select:focus {
            outline: none;
            border-color: #0984e3;
            box-shadow: 0 0 5px rgba(9, 132, 227, 0.3);
        }
        /* --- 分类卡片显示控制 --- */
        .card {
            display: none;
        }
        .card.active {
            display: block;
        }

        /* --- 左下角提示框 --- */
        .tips-box {
            position: fixed;
            bottom: 20px;
            left: 20px;
            background: rgba(0, 0, 0, 0.7);
            color: #fff;
            padding: 15px;
            border-radius: 8px;
            font-size: 0.85em;
            width: clamp(200px, 30vw, 450px);
            max-height: 70vh;
            overflow-y: hidden;
            z-index: 100;
            backdrop-filter: blur(5px);
            border-left: 4px solid #fdcb6e;
            box-shadow: 0 4px 12px rgba(0,0,0,0.3);
        }


        .tips-box strong {
            display: block;
            margin-bottom: 5px;
            color: #fdcb6e;
            font-size: 1.1em;
        }

        .tips-box code {
            background: rgba(255,255,255,0.2);
            padding: 2px 5px;
            border-radius: 3px;
            color: #ffeaa7;
        }

        /* --- 错误提示动画 --- */
        @keyframes shake {
            0% { transform: translateX(0); }
            25% { transform: translateX(-5px); }
            50% { transform: translateX(5px); }
            75% { transform: translateX(-5px); }
            100% { transform: translateX(0); }
        }

        .shake {
            animation: shake 0.4s ease-in-out;
            border-color: #d63031 !important;
        }


        #closeTip:hover {
        color: #d63031;
        transform: scale(1.2);
        transition: all 0.2s ease;
        }
        .gif{
            font-size: 1.1em;
            font-weight: bold;
            color: #ffffff;
            margin-right: 10px;
        }
        /* 弹窗遮罩层 (全屏半透明背景) */
.modal-overlay {
    display: none; /* 默认隐藏，由JS控制显示 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* 黑色半透明背景 */
    z-index: 9999; /* 确保在最顶层 */
    justify-content: center;
    align-items: center;
}

/* 弹窗主体内容 */
.modal-content {
    background-color: #fff;
    width: 90%;
    max-width: 500px;
    max-height: 85vh;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
    text-align: left;
    animation: modalFadeIn 0.3s ease-out; /* 简单的淡入动画 */
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* 自定义滚动条样式 */
.modal-content::-webkit-scrollbar {
    width: 6px;
}
.modal-content::-webkit-scrollbar-track {
    background: transparent;
}
.modal-content::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}
.modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.4);
}

/* 标题样式 */
.modal-title {
    margin-top: 0;
    color: #d63031; /* 呼应你的主题色 */
    font-size: 1.5em;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

/* 关闭按钮 (右上角) */
.modal-close-btn {
    position: sticky;
    top: 0;
    align-self: flex-end;
    font-size: 24px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 10;
    background: #fff;
    padding: 0 0 8px 8px;
    margin: -10px -5px 0 0;
}

.modal-close-btn:hover {
    color: #d63031;
}

/* 弹窗内容文本 */
.modal-body p {
    line-height: 1.6;
    color: #333;
    font-size: 16px;
}
.modal-body span{
    line-height: 1.6;
    color: #ff0000;
    font-size: 16px;
}

/* 动画定义 */
@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
/* 弹窗遮罩层 */
.image-viewer {
    display: none; /* 默认隐藏 */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* 深色背景 */
    justify-content: center;
    align-items: center;
}

/* 大图样式 */
#viewer-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    object-fit: contain; /* 保持图片比例 */
}

/* 关闭按钮 */
.close-viewer {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}
 #switch-img {
            font-size: 1.1em;
            font-weight: bold;
            color: #ffffff;
            margin-right: 10px;
        }