        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        .font-pacifico {
            font-family: 'Comic Sans MS', 'Marker Felt', '微软雅黑', cursive, sans-serif;
        }
        .blog-container {
            max-width: 800px;
            margin: 0 auto;
            padding: 20px;
            animation: fadeIn 1s ease;
        }
        .profile-img {
            width: 90px;
            height: 90px;
            border-radius: 50%;
            object-fit: cover;
            margin: 0 auto 20px;
            display: block;
            border: 3px solid #f9a8d4;
            animation: float 6s ease-in-out infinite;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        .social-icons {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin: 15px 0 30px;
        }
        .social-icon {
            font-size: 1.5rem;
            padding: 10px;
            cursor: pointer;
            transition: transform 0.3s, color 0.3s;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: rgba(249, 168, 212, 0.2);
        }
        .social-icon:hover {
            transform: scale(1.2);
            background: rgba(249, 168, 212, 0.4);
        }
.music-player {
    background: rgba(251, 243, 244, 1);
    border-radius: 16px; 
    box-shadow: 0 4px 16px rgba(236, 72, 153, 0.1);
    display: -webkit-flex; /* 移动端webkit内核兼容 */
    display: flex;
    align-items: center; 
    justify-content: flex-start; /* 强制元素从左到右排列，按钮自然右置 */
    padding: 9px 9px; 
    gap: 9px; 
    margin: 16px 0 30px;
    border: 1px solid rgba(236, 72, 153, 0.15);
    width: 100%; 
    box-sizing: border-box;
    flex-wrap: nowrap; /* 核心：永不换行，按钮必在右侧（移动端关键） */
    min-width: 300px; /* 移动端防极致窄屏错乱 */
}
.music-cover {
    width: 30px; /* 宽度保持不变 */
    height: 30px; /* 高度保持不变 */
    border-radius: 10px; 
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.15);
    border: 2px solid #fff; 
    -webkit-flex-shrink: 0; /* 移动端兼容 */
    flex-shrink: 0; /* 固定尺寸不被压缩 */
}
.music-info {
    -webkit-flex: 1 1 0%; /* 移动端兼容：强制占满剩余空间，挤压按钮到右侧 */
    flex: 1 1 0%; /* 核心：占满封面到按钮的所有空间 */
    min-width: 0; /* 解决溢出问题，保证进度条/标题省略号生效 */
}
.music-title {
    font-size: 12px; /* 移动端放大字体，替代9px，保证可读性 */
    font-weight: 600; 
    color: #be185d;
    margin: 0 0 4px 0; /* 底部留间距，区分下方进度条（中上/中下布局） */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2; /* 取消固定行高，适配进度条布局 */
}
.play-status {
    font-size: 10px; /* 移动端缩小，替代14px，适配紧凑布局 */
    color: #ec4899;
    margin: 0 0 4px 0; /* 底部留间距，衔接进度条 */
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.progress-container {
    width: 100%;
    height: 6px; /* 移动端缩小高度，替代8px，更协调 */
    background: rgba(236, 72, 153, 0.1);
    border-radius: 3px; /* 适配缩小的高度 */
    cursor: pointer;
    margin: 0; /* 取消默认上下间距，用标题/状态的margin控制布局 */
    position: relative;
    transition: background 0.2s ease;
    -webkit-tap-highlight-color: transparent; /* 移动端去除点击高亮 */
}
.progress-container:hover {
    background: rgba(236, 72, 153, 0.2);
}
.progress-bar {
    height: 100%;
    background: #ec4899;
    border-radius: 3px; /* 适配进度条高度 */
    width: 30%; /* 给默认进度，直观展示 */
    transition: width 0.2s linear;
    position: relative;
}
.progress-handle {
    position: absolute;
    width: 12px; /* 移动端缩小，替代18px，适配小进度条 */
    height: 12px; /* 移动端缩小 */
    background: #ec4899;
    border-radius: 50%;
    top: 50%;
    right: 0; /* 滑块贴进度条末端，更合理 */
    transform: translate(50%, -50%); /* 修正居中方式 */
    box-shadow: 0 1px 4px rgba(236, 72, 153, 0.3);
    display: block; /* 移动端默认显示，无需hover */
    border: 2px solid #fff; /* 缩小白边，替代3px */
}
.progress-container:hover .progress-handle {
    display: block;
}
.player-controls {
    display: -webkit-flex; /* 移动端兼容 */
    display: flex;
    align-items: center;
    gap: 6px; /* 移动端缩小间距，替代9px，更紧凑 */
    -webkit-flex-shrink: 0; /* 移动端兼容：永不压缩 */
    flex-shrink: 0; /* 核心：按钮区不被压缩 */
    -webkit-flex-grow: 0; /* 移动端兼容：不抢占空间 */
    flex-grow: 0; /* 核心：按钮区只待在右侧 */
    width: 90px; /* 强制固定宽度，彻底杜绝位置错乱（移动端关键） */
    justify-content: flex-end; /* 按钮在自身区域内右对齐，双重保障 */
}
.control-btn {
    background: #ec4899;
    color: white;
    border: none;
    border-radius: 50%;
    width: 28px; /* 移动端缩小，替代31px，适配紧凑布局 */
    height: 28px; /* 移动端缩小 */
    display: -webkit-flex; /* 移动端兼容 */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px; /* 移动端缩小，替代19px，适配按钮尺寸 */
    font-weight: bold;
    -webkit-tap-highlight-color: transparent; /* 移动端去除点击高亮 */
    touch-action: manipulation; /* 移动端去除点击延迟 */
}
.control-btn:hover {
    background: #be185d;
    transform: scale(1.05);
    box-shadow: 0 2px 7px rgba(236, 72, 153, 0.25);
}
.control-btn.active {
    background: #be185d;
    box-shadow: 0 0 7px rgba(190, 24, 93, 0.4);
}
        .project-section {
            margin: 30px 0;
        }
        .project-title {
            font-family: 'Comic Sans MS', '华文琥珀', cursive;
            font-size: 1.8rem;
            color: #be185d;
            margin-bottom: 15px;
            text-align: center;
            text-shadow: 2px 2px 4px rgba(236, 72, 153, 0.2);
        }
        .project-buttons {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
        }
        .project-btn {
            padding: 12px 24px;
            background: white;
            border: 2px solid #ec4899;
            border-radius: 8px;
            color: #be185d;
            font-family: 'Comic Sans MS', cursive;
            font-size: 1.1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 3px 8px rgba(236, 72, 153, 0.1);
        }
        .project-btn:hover {
            background: #ec4899;
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(236, 72, 153, 0.2);
        }
        .works-section {
            margin: 40px 0;
        }
        .works-title {
            font-family: 'Comic Sans MS', '华文琥珀', cursive;
            font-size: 2rem;
            color: #be185d;
            text-align: center;
            margin-bottom: 30px;
            padding-bottom: 10px;
            border-bottom: 2px dashed #f9a8d4;
        }
        .carousel-container {
            position: relative;
            margin: 30px auto 40px;
            max-width: 600px;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        }
        .carousel-slides {
            display: flex;
            transition: transform 0.5s ease-in-out;
            width: 100%;
            height: 400px; /* 固定轮播高度 */
        }
        .carousel-slide {
            min-width: 100%;
            height: 100%;
        }
        .carousel-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: top;
            loading: "lazy"; /* 懒加载 */
        }
        .carousel-control {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255,255,255,0.7);
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 1.2rem;
            color: #be185d;
            transition: all 0.3s ease;
            z-index: 10;
        }
        .carousel-control:hover {
            background: white;
            transform: translateY(-50%) scale(1.1);
        }
        .carousel-prev {
            left: 15px;
        }
        .carousel-next {
            right: 15px;
        }
        .carousel-indicators {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 15px;
        }
        .carousel-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #f9a8d4;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .carousel-dot.active {
            background: #be185d;
            transform: scale(1.3);
        }
        .carousel-title {
            font-family: 'Comic Sans MS', '华文琥珀', cursive;
            font-size: 1.5rem;
            color: #be185d;
            text-align: center;
            margin-bottom: 15px;
        }
        .works-content {
            margin-top: 40px;
            padding: 20px;
            background: white;
            border-radius: 12px;
            box-shadow: 0 3px 15px rgba(236, 72, 153, 0.1);
        }
        .works-item {
            margin-bottom: 25px;
            padding-bottom: 20px;
            border-bottom: 1px solid #f9a8d4;
        }
        .works-item:last-child {
            border-bottom: none;
        }
        .works-item-title {
            font-size: 1.3rem;
            color: #be185d;
            margin-bottom: 10px;
            font-family: 'Comic Sans MS', cursive;
        }
        .works-item-desc {
            line-height: 1.8;
            color: #666;
        }
        #aboutBtn {
            position: fixed;
            bottom: 20px;
            left: 20px;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: #ec4899;
            color: white;
            border: none;
            cursor: pointer;
            box-shadow: 0 2px 10px rgba(236, 72, 153, 0.3);
            font-size: 18px;
            transition: all 0.3s;
            z-index: 100;
        }
        #aboutBtn:hover {
            transform: scale(1.1);
            background: #be185d;
        }
        .video-slide {
            position: relative;
            cursor: pointer;
        }

        .video-container {
            position: relative;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }
        .video-thumbnail {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }
        .video-play-btn {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 60px;
            height: 60px;
            background: rgba(236, 72, 153, 0.8);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 24px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        }
        .video-play-btn:hover {
            background: rgba(190, 24, 93, 0.9);
            transform: translate(-50%, -50%) scale(1.1);
        }

        .video-container.playing .video-thumbnail {
            display: none;
        }

        .video-container.playing .video-play-btn {
            display: none;
        }

        .video-container.playing video {
            display: block;
        }
        .video-container video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: none;
        }
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
            100% { transform: translateY(0px); }
        }
        .loader {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.8);
            z-index: 9999;
            justify-content: center;
            align-items: center;
        }
        .loader-spinner {
            width: 50px;
            height: 50px;
            border: 5px solid #f3f3f3;
            border-top: 5px solid #ec4899;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        @media (max-width: 768px) {
            .music-player {
                flex-direction: column;
                text-align: center;
            }
            .project-buttons {
                gap: 15px;
            }
            .project-btn {
                padding: 10px 20px;
                font-size: 1rem;
            }
            .carousel-container {
                max-width: 100%;
                height: 300px;
            }
            .carousel-slides {
                height: 300px;
            }
            .carousel-control {
                width: 30px;
                height: 30px;
                font-size: 1rem;
            }
            .video-play-btn {
                width: 50px;
                height: 50px;
                font-size: 20px;
            }
        }
        @media (max-width: 480px) {
            .carousel-container {
                height: 200px;
            }
            .carousel-slides {
                height: 200px;
            }
            .video-play-btn {
                width: 40px;
                height: 40px;
                font-size: 16px;
            }
        }