
.glass-bg {
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
    .glass-card {
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border: 1px solid rgba(34, 197, 94, 0.25);
        transition: all 0.3s ease;
        position: relative;
        z-index: 2;
    }
    .glass-card:hover {
        box-shadow: 0 4px 12px rgba(34, 197, 94, 0.15);
        /* 移除hover时的z-index提升，避免覆盖搜索下拉框 */
    }
    .sidebar-item {
        transition: all 0.2s;
    }
    .sidebar-item:hover {
        background: rgba(34, 197, 94, 0.1);
        color: #16a34a;
    }
    .sidebar-item.active {
        background: rgba(34, 197, 94, 0.15);
        color: #16a34a;
        font-weight: 600;
    }
    .btn-outline-green {
        border: 1px solid rgba(34, 197, 94, 0.3);
        color: #16a34a;
        transition: all 0.2s;
    }
    .btn-outline-green:hover {
        background: rgba(34, 197, 94, 0.1);
        border-color: rgba(34, 197, 94, 0.5);
    }
    .main-inner {
        max-width: 768px;
        margin: 0 auto;
        width: 100%;
    }

     .main-inner-right {
        max-width: 960px;
        margin: 0 auto;
        width: 100%;
    }
    .play-btn-toggle .fa-play { display: inline; }
    .play-btn-toggle .fa-pause { display: none; }
    .play-btn-toggle.playing .fa-play { display: none; }
    .play-btn-toggle.playing .fa-pause { display: inline; }
    .search-dropdown {
        animation: slideDown 0.3s ease-out;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    .search-dropdown::-webkit-scrollbar {
        width: 6px;
    }
    .search-dropdown::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }
    .search-dropdown::-webkit-scrollbar-thumb {
        background: #16a34a;
        border-radius: 10px;
    }
    .search-dropdown::-webkit-scrollbar-thumb:hover {
        background: #15803d;
    }
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    /* Progress bar styles */
    .ringtone-progress-bar {
        position: absolute;
        bottom: 0;
        left: 0;
        height: 3px;
        width: 0%;
        background: linear-gradient(90deg, #10b981 0%, #059669 100%);
        transition: width 0.1s linear;
        z-index: 1;
        border-radius: 0 0 0.5rem 0.5rem;
    }

    /* Page background gradient */
    .page-bg-gradient {
        background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    }

    /* Main content wrapper */
    .main-content-wrapper {
        margin-left: 0;
        margin-right: 0;
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }

    /* Fix main-inner width consistency */
    .main-inner {
        width: 100%;
    }

    /* Sidebar right desktop */
    .sidebar-right-desktop {
        height: calc(100vh - 64px);
        overflow-y: auto;
        align-self: flex-start;
    }

    /* Category header card backgrounds */
    .category-header-card {
        position: relative;
        overflow: hidden;
    }

    /* Hot ringtones category */
    .category-bg-hot {
        background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(251, 146, 60, 0.1) 100%);
        border: 1px solid rgba(239, 68, 68, 0.2);
    }

    /* DJ ringtones category */
    .category-bg-dj {
        background: linear-gradient(135deg, rgba(147, 51, 234, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
        border: 1px solid rgba(147, 51, 234, 0.2);
    }

    /* Funny ringtones category */
    .category-bg-funny {
        background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
        border: 1px solid rgba(251, 191, 36, 0.2);
    }

    /* Anime ringtones category */
    .category-bg-anime {
        background: linear-gradient(135deg, rgba(236, 72, 153, 0.1) 0%, rgba(219, 39, 119, 0.1) 100%);
        border: 1px solid rgba(236, 72, 153, 0.2);
    }

    /* Game ringtones category */
    .category-bg-game {
        background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
        border: 1px solid rgba(34, 197, 94, 0.2);
    }

    /* Movie ringtones category */
    .category-bg-movie {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(79, 70, 229, 0.1) 100%);
        border: 1px solid rgba(99, 102, 241, 0.2);
    }

    /* Classic ringtones category */
    .category-bg-classic {
        background: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
        border: 1px solid rgba(168, 85, 247, 0.2);
    }

    /* Nature ringtones category */
    .category-bg-nature {
        background: linear-gradient(135deg, rgba(5, 150, 105, 0.1) 0%, rgba(4, 120, 87, 0.1) 100%);
        border: 1px solid rgba(5, 150, 105, 0.2);
    }

    /* Notification ringtones category */
    .category-bg-notification {
        background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(2, 132, 199, 0.1) 100%);
        border: 1px solid rgba(14, 165, 233, 0.2);
    }

    /* Alarm ringtones category */
    .category-bg-alarm {
        background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.1) 100%);
        border: 1px solid rgba(239, 68, 68, 0.2);
    }

    /* Music ringtones category */
    .category-bg-music {
        background: linear-gradient(135deg, rgba(236, 72, 153, 0.1) 0%, rgba(219, 39, 119, 0.1) 100%);
        border: 1px solid rgba(236, 72, 153, 0.2);
    }

    /* Romantic ringtones category */
    .category-bg-romantic {
        background: linear-gradient(135deg, rgba(244, 114, 182, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
        border: 1px solid rgba(244, 114, 182, 0.2);
    }

    /* Additional category backgrounds for Chinese slugs */
    /* 影视铃声 - Movie/TV ringtones */
    .category-bg-yingshi,
    .category-bg-movie-tv {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(79, 70, 229, 0.15) 100%);
        border: 1px solid rgba(99, 102, 241, 0.25);
    }

    /* 动漫铃声 - Anime ringtones */
    .category-bg-dongman,
    .category-bg-anime-cn {
        background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(219, 39, 119, 0.15) 100%);
        border: 1px solid rgba(236, 72, 153, 0.25);
    }

    /* 推荐铃声 - Recommended ringtones */
    .category-bg-tuijian,
    .category-bg-recommended {
        background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(16, 185, 129, 0.15) 100%);
        border: 1px solid rgba(34, 197, 94, 0.25);
    }

    /* 来电铃声 - Incoming call ringtones */
    .category-bg-laidian,
    .category-bg-incoming {
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%);
        border: 1px solid rgba(59, 130, 246, 0.25);
    }

    /* 搞笑铃声 - Funny ringtones */
    .category-bg-gaoxiao {
        background: linear-gradient(135deg, rgba(251, 191, 36, 0.15) 0%, rgba(245, 158, 11, 0.15) 100%);
        border: 1px solid rgba(251, 191, 36, 0.25);
    }

    /* 轻音乐 - Light music */
    .category-bg-qingyinyue,
    .category-bg-light-music {
        background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
        border: 1px solid rgba(168, 85, 247, 0.25);
    }

    /* 纯音乐 - Pure music */
    .category-bg-chunyinyue,
    .category-bg-pure-music {
        background: linear-gradient(135deg, rgba(14, 165, 233, 0.15) 0%, rgba(2, 132, 199, 0.15) 100%);
        border: 1px solid rgba(14, 165, 233, 0.25);
    }

    /* Default category background if no specific match */
    .category-header-card:not([class*='category-bg-']) {
        background: linear-gradient(135deg, rgba(34, 197, 94, 0.08) 0%, rgba(16, 185, 129, 0.08) 100%);
        border: 1px solid rgba(34, 197, 94, 0.15);
    }

    /* Mobile search container styles */
    #headerSearchContainer.mobile-search-active {
        display: flex !important;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        z-index: 9999;
        background: linear-gradient(135deg, #059669 0%, #047857 100%);
        padding: 0.5rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        gap: 0.75rem;
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    #headerSearchContainer.mobile-search-active > .flex {
        width: 100%;
    }

    #headerSearchContainer.mobile-search-active input {
        width: 100% !important;
    }

    #headerSearchContainer.mobile-search-active #headerSearchDropdown {
        position: relative !important;
        top: auto !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        margin-top: 0 !important;
        border-radius: 1rem !important;
        max-height: calc(100vh - 180px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
    }

    @media (max-width: 1024px) {
        .sidebar-left { 
            transform: translateX(-100%); 
            position: fixed !important;
            left: 0;
            top: 64px;
            z-index: 40;
        }
        .sidebar-left.mobile-open { transform: translateX(0); }
        .main-content { 
            margin-left: 0 !important; 
            margin-right: 0 !important;
            width: 100% !important;
        }
        .layout-container { max-width: 100% !important; }
        .main-inner { max-width: 100%; }
        .main-inner-right { max-width: 100%; }
    }