
        /*全局设置*/
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: "Microsoft YaHei", sans-serif;
            background-color: var(--bg-color);
            display: flex;
            height: 100vh;
            color: var(--text-color);
        }

        /*左侧边栏*/
        .sidebar {
            width: 260px; 
            background-color: var(--sidebar-bg);
            border-right: 1px solid var(--border-color);
            display: flex;
            flex-direction: column;
            padding: 24px;
            position: relative;
            flex-shrink: 0;
        }

        .logo-area {
            font-size: 22px;
            font-weight: 800;
            color: var(--logo-color);
            margin-bottom: 30px;
            letter-spacing: 1px;
            cursor: pointer;
        }

        /* 导航菜单 */
        .nav-section {
            margin-bottom: 10px;
        }

        .nav-category-title {
            font-size: 12px;
            color: var(--nav-category-color);
            margin-bottom: 8px;
            padding-left: 10px;
        }

        .nav-item {
            display: block;
            padding: 12px 15px;
            color: var(--nav-item-color);
            text-decoration: none;
            border-radius: 10px;
            font-size: 15px;
            transition: all 0.2s;
            margin-bottom: 4px;
            display: flex;
            align-items: center;
        }

        /*白天效果*/
        :root{
            --bg-color:#f5f6fa;
            --text-color:#333333;
            --sidebar-bg:#ffffff;
            --card-bg:#ffffff;
            --border-color:#eeeeee;
            --hover-bg:#f0f0f0;
            --accent-color:#ff6b81;
            --logo-color:#ff6b81;
            --nav-hover-color:#ff6b81;
            --nav-active-bg:#ff6b81;
            --nav-active-color:#ffffff;
            --divider-color:#eee;
            --top-header-bg:#ffffff;
            --top-header-border:#f0f0f0;
            --input-border:#ddd;
            --input-bg:#f9f9f9;
            --input-focus-border:#ff6b81;
            --input-focus-bg:#fff;
            --theme-btn-bg:#f0f0f0;
            --notice-bg:#edf2f7;
            --notice-text:#4a5568;
            --notice-border:#cbd5e0;
            --nav-category-color:#999;
            --nav-item-color:#555;
            /* color used for artist names inside album cards */
            --artist-color:#888;
            --card-bg-image: url('image/kaf-chan.png');
        }

        /*夜晚效果*/
        body.dark-theme{
            --bg-color:#121212;
            --text-color:#e0e0e0;
            --sidebar-bg:#1e1e1e;
            --card-bg:#2d2d2d;
            --border-color:#333333;
            --hover-bg:#3d3d3d;
            --accent-color:#ff6b81;
            --logo-color:#ff6b81;
            --nav-hover-color:#ff6b81;
            --nav-active-bg:#ff6b81;
            --nav-active-color:#ffffff;
            --divider-color:#555;
            --top-header-bg:#1e1e1e;
            --top-header-border:#2d2d2d;
            --input-border:#444;
            --input-bg:#2a2a2a;
            --input-focus-border:#ff6b81;
            --input-focus-bg:#333;
            --theme-btn-bg:#3d3d3d;
            --notice-bg:#2a2a2a;
            --notice-text:#cccccc;
            --notice-border:#555;
            --nav-category-color:#aaa;
            --nav-item-color:#ccc;
            /* make artist names legible in dark mode */
            --artist-color:#e0e0e0;
            --card-bg-image: none;
        }

        body{
            background-color:var(--bg-color);
            color:var(--text-color);
            transition:background-color 0.3s ease, color 0.3s ease;
        }

        /* 鼠标移上去效果 */
        .nav-item:hover {
            background-color: var(--hover-bg);
            color: var(--nav-hover-color);
        }

        /* 选中状态 */
        .nav-item.active {
            background-color: var(--nav-active-bg);
            color: var(--nav-active-color);
            font-weight: bold;
            box-shadow: 0 4px 10px rgba(255, 107, 129, 0.3);
        }

        /* 分割线 */
        .sidebar-divider {
            height: 1px;
            background-color: var(--divider-color);
            margin: 15px 10px;
        }

        /* 左下角logo */
        .mascot-area {
            position: absolute;
            bottom: 20px;
            left: 20px;
            right: 20px;
            text-align: center;
        }

        .mascot-area img {
            width: 120px;
            height: auto;
            transition: transform 0.3s, filter 0.3s;
        }
        /* invert mascot/logo when dark theme is active so it stays visible */
        body.dark-theme .mascot-area img {
            filter: invert(1);
        }

        .mascot-area img:hover {
            transform: translateY(-5px);
        }

        /*右侧主体*/
        .main-content {
            background-color: var(--bg-color);
            flex: 1;
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }

        /* 顶部 Header */
        .top-header {
            height: 70px;
            background-color: var(--top-header-bg);
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 40px;
            border-bottom: 1px solid var(--top-header-border);
        }

        .search-wrapper { 
            position: relative;
        }

        .search-wrapper input {
            width: 320px;
            padding: 10px 20px;
            border: 1px solid var(--input-border);
            border-radius: 30px;
            font-size: 14px;
            background-color: var(--input-bg);
            outline: none;
        }

        .search-wrapper input:focus {
            border-color: var(--input-focus-border);
            box-shadow: 0 0 5px rgba(255, 107, 129, 0.3);
            background-color: var(--input-focus-bg);
        }

        .header-controls {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .theme-btn {
            cursor: pointer;
            font-size: 20px;
            background-color: var(--theme-btn-bg);
            padding: 8px;
            border-radius: 50%;
        }

        /* 滚动内容区域 */
        .scrollable-area {
            flex: 1;
            overflow-y: auto;
            padding: 30px 40px;
        }

        /* 通知条 */
        .notice-bar {
            background-color: var(--notice-bg);
            color: var(--notice-text);
            padding: 12px 20px;
            border-radius: 8px;
            margin-bottom: 20px;
            font-size: 14px;
            border-left: 4px solid var(--notice-border);
        }

        /* Banner */
        .banner {
            width: 100%;
            height: 320px;
            border-radius: 16px;
            overflow: hidden;
            margin-bottom: 35px;
            background-color: #ddd;
            position: relative;
        }

        .banner img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .banner-text {
            position: absolute;
            bottom: 20px;
            left: 30px;
            color: #ffffff;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
            font-size: 24px;
            font-weight: bold;
        }

        /* 专辑 Grid 网格 */
        .grid-section-title {
            font-size: 20px;
            font-weight: bold;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
        }

        .grid-section-title::before {
            content: '';
            display: block;
            width: 6px;
            height: 24px;
            background-color: #ff6b81;
            margin-right: 12px;
            border-radius: 3px;
        }

        .album-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 25px;
            padding-bottom: 50px;
        }

        .album-card {
            background-color: var(--card-bg);
            border-radius: 12px;
            padding: 12px;
            transition: transform 0.2s, box-shadow 0.2s;
            cursor: pointer;
            text-decoration: none;
            color: inherit;
            display: block;
        }

        .album-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        }

        .cover-img {
            width: 100%;
            aspect-ratio: 1 / 1;
            border-radius: 8px;
            background-color: #eee;
            margin-bottom: 12px;
            overflow: hidden;
        }

        .cover-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .album-info h3 {
            font-size: 16px;
            margin-bottom: 5px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .album-info p {
            font-size: 13px;
            color: var(--artist-color);
        }

        /* 控制显示、隐藏 */
        .content-section {
            display: none;
            animation: fadeIn 0.3s;
        }

        .content-section.active {
            display: block;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .banner-link {
            text-decoration: none;
            display: block;
        }

        /*收藏页*/
        .fav-player-container{ 
            background-color: white;
            border-radius:16px;
            box-shadow:1 4px 20px rgba(0,0,0,0.05);
            display: flex;
            height:550px;
            overflow:hidden;
            margin-top:10px;
        }

        .player-left{
            flex:7;
            background-color: #fffafa;
            display:flex;
            flex-direction:column;
            border-right:1px solid #eee;
            position:relative;
        }

        .media-placeholder{
            flex:1;
            display:flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color:#999;
            text-align: center;
        }

        .iframe-box{
            width:100%;
            height:100%;
            display: none;
        }

        .iframe-box iframe{
            width:100%;
            height:100%;
        }

        .audio-box{
            display: none;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            width:100%;
            height:100%;
        }

        .audio-cover{
            width: 200px;
            height: 200px;
            border-radius: 12px;
            object-fit: cover;
            box-shadow:0 8px 20px rgba(0,0,0,0.1);
            margin-bottom:20px;
        }

        audio{width:80%}

        /*底部信息条*/
        .info-bar{
            padding:20px;
            background-color: white;
            border-top: 1px solid #eee;
        }

        .info-bar h2{
            margin:0;
            font-size:18px;
            color:#ff6b81;
        }
        .info-bar p{
            margin:5px 0 0;
            color:#777;
            font-size: 14px;
        }

        /*右半边列表区*/
        .list-right{
            flex:3;
            display:flex;
            flex-direction: column;
            background: var(--card-bg);
        }

        .list-header{
            padding:15px 20px;
            border-bottom:1px solid var(--border-color);
            font-weight: bold;
            color: var(--text-color);
            display: flex;
            justify-content: space-between;
            align-items: center;
            background:var(--hover-bg);
        }

        .playlist-scroll{
            flex:1;
            overflow-y: auto;
        }

        /*列表单项*/
        .song-item{
            padding:12px 20px;
            border-bottom:1px solid var(--border-color);
            cursor:pointer;
            display:flex;
            align-items: center;
            transition: 0.2s;
        }

        .song-item:hover{
            background-color:var(--hover-bg);
        }

        .song-item:active{
            background-color:var(--accent-bg);
            color:white;
        }

        .song-thumb{
            width:40px;
            height:40px;
            border-radius:6px;
            object-fit: cover;
            margin-right:12px;
            background: #eee;
        }

        .song-title { 
            font-size: 14px; 
            font-weight: bold; 
            display: block; 
            white-space: nowrap; 
            overflow: hidden; 
            text-overflow: ellipsis; 
        }

        .song-artist { 
            font-size: 12px; 
            opacity: 0.8; 
        }

        .delete-btn{
            font-size:12px;
            padding:4px 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
            color:#999;
            background: #fff;
            margin-left:10px;
        }

        .delete-btn:hover{
            border-color:#ff6b81;
            color:#ff6b81;
            background: #fff0f3;
        }

        #singer-1{
            /* background image removed for cleaner look */
            background: none;
            border-radius:12px;
            padding:20px;
            min-height: 100;
        }
        #singer-1 .album-card {
            background-color: rgba(255, 255, 255, 0.50); /*不透明度*/
            backdrop-filter: blur(5px); /*磨砂玻璃效果*/
        }

        #singer-2{
            /* background image removed for cleaner look */
            background: none;
            border-radius:12px;
            padding:20px;
            min-height: 100;
        }
        #singer-2 .album-card {
            background-color: rgba(255, 255, 255, 0.50); /*不透明度*/
            backdrop-filter: blur(5px); /*磨砂玻璃效果*/
        }
