* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary-color: #00c9a7;
            --accent-color: #ff6b6b;
            --text-dark: #333;
            --text-gray: #999;
            --bg-light: #f5f5f5;
            --white: #fff;
            --border-radius: 12px;
        }

        body {
            font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
            display: flex;
            flex-direction: column;
            margin: 0;
            padding: 0;
        }

        .phone-frame {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            background: var(--white);
            overflow: hidden;
            position: relative;
        }

        /* Page Container */
        .page {
            display: none;
            height: 100%;
            overflow-y: auto;
            padding-top: 92px;
            padding-bottom: 0px;
        }

        .page.active {
            display: block;
        }

        /* Status Bar */
        .status-bar {
            height: 44px;
            padding: 12px 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 14px;
            font-weight: 500;
            color: var(--text-dark);
            background: linear-gradient(180deg, #f8fff8 0%, var(--white) 100%);
        }

        .status-right {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        /* Header */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 9998;
            padding:40px 12px 6px 12px;
            background: linear-gradient(to right, #D7FFF4, #e5fff7b5,#BBF5F7);
            max-width: 1200px;
            margin: 0 auto;
        }

        .nav-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
			
        }

        .nav-tabs {
            display: flex;
            gap: 12px;
        }

        .nav-tab {
            font-size: 20px;
            font-weight: 500;
            color: var(--text-gray);
            cursor: pointer;
            position: relative;
            padding: 4px 0;
        }

        .nav-tab.active {
            font-weight: 800;
            color: var(--text-dark);

        }

        .nav-tab.active::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 50%;
            transform: translateX(-50%);
            width: 24px;
            height: 3px;
            background: var(--primary-color);
            border-radius: 2px;
        }

        .nav-divider {
            color: var(--text-gray);
            display: flex;
            align-items: center;
        }

        .search-box {
            display: flex;
            align-items: center;
            gap: 8px;
            background: #fff;
            padding: 10px 14px;
            border-radius: 20px;
            height: 38px;
            max-width: 150px;
        }

        .search-box form {
            display: flex;
            align-items: center;
            gap: 8px;
            width: 100%;
        }

        .search-box button {
            background: none;
            border: none;
            cursor: pointer;
            padding: 0;
            display: flex;
            align-items: center;
        }

        .search-box svg {
            width: 22px;
            height: 22px;
            color: color-mix(in srgb, #10d277 50%, #3857d2);
        }

        .search-box input {
            border: none;
            background: transparent;
            font-size: 14px;
            outline: none;
            color: var(--text-dark);
            margin-top: 2px;
        }

        /* Category Tabs */
        .category-tabs {
            display: flex;
            gap: 8px;
            padding: 12px 16px 16px 2px;
            overflow-x: auto;
            scrollbar-width: none;
            position: fixed;
            top: 96px;
            left: 3px;
            right: 0;
            background: transparent;
            z-index: 100;
            max-width: 1200px;
            margin: auto;
        }

        .category-tabs::-webkit-scrollbar {
            display: none;
        }

        .category-tab {
            padding: 6px 14px;
            font-size: 13px;
            color: var(--text-dark);
            background: var(--bg-light);
            border-radius: 16px;
            white-space: nowrap;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 1px 12px rgba(253, 255, 255, 0.3);
        }
        .category-tab a {
            color: var(--text-dark);
            text-decoration: none;
        }
        

        .category-tab.active {
            background: linear-gradient(135deg, var(--primary-color) 0%, #00d4aa 100%);
            color: var(--white);
            box-shadow: 0 4px 12px rgba(0, 201, 167, 0.3);
        }
        .category-tab.active a {
            color: var(--white);
        }

        /* Content Grid */
        .content-grid {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 12px;
            margin: 0 5px;
            padding: 0 10px 0px;
            margin-top: 65px;
            margin-bottom: 90px;
        }

        .drama-card {
            cursor: pointer;
            transition: transform 0.3s ease;
        }
        .drama-card a{
            color: var(--text-dark);
            text-decoration: none;
        }

        .drama-card:hover {
            transform: translateY(-4px);
        }

        .drama-poster {
            width: 100%;
            aspect-ratio: 2/3;
            border-radius: var(--border-radius);
            overflow: hidden;
            position: relative;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }

        .drama-tag {
            position: absolute;
            top: 6px;
            left: 6px;
            padding: 2px 6px;
            font-size: 10px;
            color: var(--white);
            background: rgba(255, 107, 107, 0.9);
            border-radius: 4px;
        }

        .drama-tag.love { background: linear-gradient(135deg, #ff6b6b, #ee5a5a); }
        .drama-tag.legend { background: linear-gradient(135deg, #f093fb, #f5576c); }
        .drama-tag.revenge { background: linear-gradient(135deg, #4facfe, #00f2fe); }
        .drama-tag-type { 
            background: #33333326;
            font-size: 10px;
            border-radius: 4px;
            color: #00000082;
            padding: 1px 2px;
}
        .drama-tag-note {
            color: #00000087;
            font-size: 10px;
            padding-left: 4px;
        }

        .drama-title{
            font-size: 14px;
            font-weight: 500;
            color: var(--text-dark);
            margin-top: 6px;
            line-height: 1.3;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-decoration: underline‌;
    
        }
        .drama-title a{
            color: var(--text-dark);
            text-decoration: underline‌;
        }

        /* Pagination */
        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 6px;
            padding: 25px 15px;
            margin-top: 30px;
            flex-wrap: nowrap;
            overflow-x: auto;
            background: rgba(255, 255, 255, 0.8);
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            backdrop-filter: blur(10px);
        }
        
        .pagination ul {
            display: flex;
            list-style: none;
            margin: 0;
            padding: 0;
            gap: 6px;
        }
        
        .pagination li {
            list-style: none;
            margin: 0;
            padding: 0;
        }
        
        /* Pagelist */
        .pagelist {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 6px;
            padding: 15px 15px;
            margin-top: 30px;
            margin-bottom: 80px;
            flex-wrap: nowrap;
            border-radius: 12px;

        }
        
        .pagelist ul {
            display: flex;
            list-style: none;
            margin: 0;
            padding: 0;
            gap: 6px;
        }
        
        .pagelist li {
            list-style: none;
            margin: 0;
            padding: 0;
        }
        
        .pagelist a, .pagelist span {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 500;
            text-decoration: none;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border: 2px solid transparent;

        }
        
        .pagelist a {
            background: #ffffff;
            color: #333;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        }
        
        .pagelist a:hover {
            background: #00c853;
            color: #fff;
            transform: translateY(-2px);
            box-shadow: 0 4px 16px rgba(0, 200, 83, 0.3);
        }
        
        .pagelist .btn-warm {
            background: linear-gradient(135deg, #00c853, #00a040);
            color: #fff;
            font-weight: 600;
            box-shadow: 0 4px 12px rgba(0, 200, 83, 0.3);
        }
        
        .pagelist .btn-default {
            background: #ffffff;
            color: #333;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        }
        
        
        .pagination a, .pagination span {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 10px 16px;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 500;
            text-decoration: none;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border: 2px solid transparent;
            min-width: 40px;
        }
        
        .pagination a {
            background: #ffffff;
            color: #333;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        }
        
        .pagination a:hover {
            background: #00c853;
            color: #fff;
            transform: translateY(-2px);
            box-shadow: 0 4px 16px rgba(0, 200, 83, 0.3);
        }
        
        .pagination span {
            background: linear-gradient(135deg, #00c853, #00a040);
            color: #fff;
            font-weight: 600;
            box-shadow: 0 4px 12px rgba(0, 200, 83, 0.3);
        }
        
        .pagination .pageinfo {
            background: transparent;
            color: #666;
            box-shadow: none;
            font-size: 13px;
            padding: 0 10px;
        }
        
        /* 响应式分页 */
        @media (max-width: 768px) {
            .pagination {
                gap: 4px;
                padding: 20px 10px;
            }
            
            .pagination a, .pagination span {
                padding: 8px 12px;
                font-size: 13px;
                min-width: 36px;
            }
        }
        
        /* Bottom Navigation */
        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: var(--white);
            border-top: 1px solid #eee;
            display: flex;
            justify-content: space-around;
            align-items: flex-start;
            padding-top: 10px;
            padding-bottom: 15px;
            z-index: 9999;
            max-width: 1200px;
            margin: 0 auto;
        }
        .bottom-nav a {
            text-decoration: none;
        }
        .nav-item a{
            color: var(--text-gray);
            text-decoration: none;
        }

        .nav-item svg {
            width: 24px;
            height: 24px;
            color: var(--text-gray);
            transition: all 0.3s ease;
        }

        .nav-item span {
            font-size: 10px;
            color: var(--text-gray);
            text-decoration: underline‌;
            display: block;
            text-align: center;
            margin-top: -3px;
            margin-left: 1px;
        }

        .nav-item.active svg {
            color: var(--primary-color);
        }

        .nav-item.active span {
            color: var(--primary-color);
            font-weight: 500;
            text-decoration: underline‌;
            display: block;
            text-align: center;
            margin-top: -3px;
            margin-left: 1px;
        }
        .nav-item.active a{
            color: var(--primary-color);
            text-decoration: underline‌;
        }
        .nav-item a{
            text-decoration: underline‌;
        }
        /* ==================== VIDEO PLAYER PAGE ==================== */
        .video-section {
            position: relative;
        }

        .video-player {
            width: 100%;
            aspect-ratio: 9/16;
            max-height: 500px;
            background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        .video-bg {
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #2c3e50, #34495e);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .video-character {
            width: 60%;
            height: 80%;
            background: linear-gradient(180deg, #f5f5f5 0%, #e0e0e0 100%);
            border-radius: 50% 50% 45% 45%;
            position: relative;
        }

        .video-character::before {
            content: '';
            position: absolute;
            top: 15%;
            left: 50%;
            transform: translateX(-50%);
            width: 70%;
            height: 25%;
            background: linear-gradient(180deg, #f0f0f0, #ddd);
            border-radius: 50%;
        }

        .video-character::after {
            content: '';
            position: absolute;
            top: 5%;
            left: 50%;
            transform: translateX(-50%);
            width: 80%;
            height: 35%;
            background: linear-gradient(180deg, #8b7355, #6b5344);
            border-radius: 50% 50% 30% 30%;
        }

        .beard {
            position: absolute;
            bottom: 10%;
            left: 50%;
            transform: translateX(-50%);
            width: 50%;
            height: 30%;
            background: linear-gradient(180deg, #f5f5f5, #ddd);
            border-radius: 0 0 50% 50%;
        }

        .video-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, transparent 20%, transparent 80%, rgba(0,0,0,0.5) 100%);
        }

        .video-top-bar {
            position: absolute;
            top: 12px;
            left: 12px;
            right: 12px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 10;
        }

        .back-btn {
            display: flex;
            align-items: center;
            gap: 4px;
            color: var(--white);
            font-size: 13px;
        }

        .video-controls {
            display: flex;
            gap: 12px;
        }

        .video-control {
            color: var(--white);
            font-size: 12px;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .video-side-actions {
            position: absolute;
            right: 12px;
            bottom: 160px;
            display: flex;
            flex-direction: column;
            gap: 20px;
            align-items: center;
            z-index: 10;
        }

        .side-action {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            color: var(--white);
        }

        .side-action svg {
            width: 32px;
            height: 32px;
        }

        .side-action span {
            font-size: 12px;
        }

        .side-action.liked svg {
            color: var(--accent-color);
            fill: var(--accent-color);
        }

        .video-info {
            position: absolute;
            bottom: 60px;
            left: 12px;
            right: 60px;
            z-index: 10;
        }

        .drama-name {
            color: var(--white);
            font-size: 15px;
            font-weight: 500;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .drama-tag-inline {
            padding: 2px 8px;
            font-size: 10px;
            background: rgba(0, 201, 167, 0.8);
            border-radius: 4px;
        }

        .drama-desc {
            color: rgba(255,255,255,0.9);
            font-size: 13px;
            line-height: 1.5;
        }

        .expand-btn {
            color: var(--white);
            font-size: 12px;
            margin-left: 4px;
        }

        .progress-bar {
            width: 100%;
            height: 3px;
            background: rgba(255,255,255,0.3);
            border-radius: 2px;
            margin-top: 12px;
            position: relative;
        }

        .progress-fill {
            width: 100%;
            height: 100%;
            background: var(--white);
            border-radius: 2px;
        }

        /* Episodes Panel */
        .episodes-panel {
            background: rgba(30, 30, 30, 0.95);
            padding: 16px;
            position: relative;
        }

        .episodes-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
        }

        .episodes-title {
            color: var(--white);
            font-size: 14px;
            font-weight: 500;
        }

        .episodes-expand {
            color: rgba(255,255,255,0.6);
            font-size: 12px;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .episodes-grid {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 8px;
        }

        .episode-btn {
            aspect-ratio: 1;
            background: rgba(255,255,255,0.1);
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(255,255,255,0.7);
            font-size: 12px;
        }

        .episode-btn.current {
            background: var(--primary-color);
            color: var(--white);
        }

        /* ==================== COMMENTS PAGE ==================== */
        .comments-page {
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .comments-header-bar {
            padding: 12px 16px;
            background: var(--white);
            border-bottom: 1px solid #eee;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .collapse-btn {
            color: var(--text-gray);
        }

        .comments-title {
            font-size: 15px;
            font-weight: 600;
            color: var(--text-dark);
            flex: 1;
        }

        .comments-search-hint {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 12px;
            color: var(--primary-color);
        }

        .comments-body {
            flex: 1;
            overflow-y: auto;
            background: var(--white);
        }

        .comment-item {
            display: flex;
            gap: 10px;
            padding: 16px;
            border-bottom: 1px solid #f5f5f5;
        }

        .comment-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            flex-shrink: 0;
        }

        .avatar-1 { background: linear-gradient(135deg, #a8e6cf, #88d8b0); }
        .avatar-2 { background: linear-gradient(135deg, #667eea, #764ba2); }
        .avatar-3 { background: linear-gradient(135deg, #4facfe, #00f2fe); }
        .avatar-4 { background: linear-gradient(135deg, #f093fb, #f5576c); }

        .comment-content {
            flex: 1;
        }

        .comment-user {
            font-size: 13px;
            font-weight: 500;
            color: var(--text-dark);
            margin-bottom: 6px;
        }

        .comment-text {
            font-size: 13px;
            color: var(--text-dark);
            line-height: 1.6;
            margin-bottom: 8px;
        }

        .comment-meta {
            display: flex;
            gap: 16px;
            font-size: 11px;
            color: var(--text-gray);
        }

        .comment-likes {
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .comment-likes svg {
            width: 14px;
            height: 14px;
        }

        .comment-replies {
            color: var(--primary-color);
            font-size: 11px;
        }

        .comments-input-bar {
            padding: 12px 16px;
            background: var(--white);
            border-top: 1px solid #eee;
        }

        .input-bar {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 16px;
            background: var(--bg-light);
            border-radius: 24px;
        }

        .input-bar input {
            flex: 1;
            border: none;
            background: transparent;
            font-size: 13px;
            outline: none;
        }

        .input-bar input::placeholder {
            color: var(--text-gray);
        }

        .input-bar svg {
            width: 20px;
            height: 20px;
            color: var(--text-gray);
        }

        /* ==================== PROFILE PAGE ==================== */
        .profile-header {
            padding: 16px;
            background: linear-gradient(180deg, #fff5eb 0%, var(--white) 100%);
        }

        .profile-info {
            display: flex;
            align-items: center;
            gap: 14px;
            margin-bottom: 16px;
        }

        .profile-avatar {
            width: 64px;
            height: 64px;
            border-radius: 50%;
            background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        .avatar-icon {
            font-size: 28px;
        }

        .profile-details h2 {
            font-size: 20px;
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 6px;
        }

        .profile-stats {
            display: flex;
            gap: 20px;
            font-size: 13px;
            color: var(--text-gray);
        }

        .profile-stats span {
            font-weight: 600;
            color: var(--text-dark);
        }

        .profile-actions {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 12px;
        }

        .profile-action {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 6px;
            padding: 14px 8px;
            background: var(--bg-light);
            border-radius: var(--border-radius);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .profile-action:hover {
            background: #eee;
        }

        .profile-action svg {
            width: 24px;
            height: 24px;
            color: var(--text-dark);
        }

        .profile-action span {
            font-size: 12px;
            color: var(--text-dark);
        }

        .profile-section-tabs {
            display: flex;
            gap: 8px;
            padding: 12px 16px;
        }

        .profile-tab {
            padding: 8px 16px;
            font-size: 14px;
            color: var(--text-gray);
            background: var(--bg-light);
            border-radius: 20px;
            cursor: pointer;
        }

        .profile-tab.active {
            color: var(--text-dark);
            background: var(--white);
            font-weight: 500;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        }

        .profile-sub-tabs {
            display: flex;
            gap: 16px;
            padding: 8px 16px 12px;
            border-bottom: 1px solid #f0f0f0;
        }

        .profile-sub-tab {
            font-size: 13px;
            color: var(--text-gray);
            position: relative;
            padding-bottom: 6px;
            cursor: pointer;
        }

        .profile-sub-tab.active {
            color: var(--text-dark);
            font-weight: 500;
        }

        .profile-sub-tab.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: var(--primary-color);
            border-radius: 1px;
        }

        .profile-sub-right {
            margin-left: auto;
            color: var(--primary-color);
            font-size: 12px;
        }

        .history-list {
            padding: 0 16px 100px;
        }

        .history-item {
            display: flex;
            gap: 12px;
            margin-bottom: 16px;
            padding-bottom: 16px;
            border-bottom: 1px solid #f5f5f5;
        }

        .history-poster {
            width: 80px;
            height: 110px;
            border-radius: 8px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 12px;
            text-align: center;
            padding: 8px;
        }

        .history-info {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .history-title {
            font-size: 14px;
            font-weight: 500;
            color: var(--text-dark);
            margin-bottom: 8px;
        }

        .history-progress {
            font-size: 12px;
            color: var(--text-gray);
            margin-bottom: 8px;
        }

        .progress-indicator {
            width: 100%;
            height: 4px;
            background: #eee;
            border-radius: 2px;
            overflow: hidden;
        }

        .progress-fill-small {
            width: 100%;
            height: 100%;
            background: var(--primary-color);
            border-radius: 2px;
        }

        .progress-fill-partial {
            width: 1.7%;
            height: 100%;
            background: var(--primary-color);
            border-radius: 2px;
        }

        /* Video Player Full Layout */
        .video-full-layout {
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .video-content-area {
            flex: 1;
            position: relative;
            background: #1a1a2e;
        }

        .comments-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(255,255,255,0.98);
            border-radius: 20px 20px 0 0;
            max-height: 70%;
            overflow: hidden;
            transform: translateY(100%);
            transition: transform 0.3s ease;
            z-index: 100;
        }

        .comments-overlay.show {
            transform: translateY(0);
        }

        .comments-panel {
            display: flex;
            flex-direction: column;
            height: 100%;
            max-height: 70vh;
        }

        .comments-panel-header {
            padding: 16px;
            border-bottom: 1px solid #f0f0f0;
            flex-shrink: 0;
        }

        .comments-panel-title-row {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .comments-panel-collapse {
            color: #999;
            cursor: pointer;
            padding: 4px;
        }

        .comments-panel-title {
            font-size: 16px;
            font-weight: 600;
            color: #333;
            flex: 1;
        }

        .comments-panel-search {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 12px;
            color: var(--primary-color);
            background: #f0fff8;
            padding: 6px 10px;
            border-radius: 14px;
            cursor: pointer;
        }

        .comments-panel-list {
            flex: 1;
            overflow-y: auto;
            padding-bottom: 60px;
        }

        .comments-panel-item {
            display: flex;
            gap: 10px;
            padding: 14px 16px;
            border-bottom: 1px solid #f5f5f5;
        }

        .comments-panel-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            flex-shrink: 0;
        }

        .comments-panel-content {
            flex: 1;
        }

        .comments-panel-user {
            font-size: 13px;
            font-weight: 500;
            color: #333;
            margin-bottom: 4px;
        }

        .comments-panel-text {
            font-size: 13px;
            color: #333;
            line-height: 1.5;
            margin-bottom: 6px;
        }

        .comments-panel-meta {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 11px;
            color: #999;
        }

        .comments-panel-likes {
            display: flex;
            align-items: center;
            gap: 3px;
        }

        .comments-panel-replies {
            color: var(--primary-color);
            cursor: pointer;
        }

        .comments-panel-input {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 12px 16px;
            background: #fff;
            border-top: 1px solid #f0f0f0;
        }

        .comments-panel-input-box {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 14px;
            background: #f5f5f5;
            border-radius: 22px;
        }

        .comments-panel-input-box input {
            flex: 1;
            border: none;
            background: transparent;
            font-size: 13px;
            outline: none;
            color: #333;
        }

        .comments-panel-input-box input::placeholder {
            color: #999;
        }

        .comments-panel-input-box svg {
            width: 20px;
            height: 20px;
            color: #999;
        }

        /* Responsive */
        @media (max-width: 1200px) {
            .content-grid {
                grid-template-columns: repeat(5, 1fr);
                gap: 10px;
                padding: 0 15px 0px;
            }
        }
        
        @media (max-width: 992px) {
            .content-grid {
                grid-template-columns: repeat(4, 1fr);
                gap: 10px;
                padding: 0 15px 0px;
            }
        }
        
        @media (max-width: 768px) {
            body {
                padding: 0;
            }

            .phone-frame {
                width: 100%;
                min-height: 100vh;
                border-radius: 0;
            }
            
            .search-box {
                
            }
            
            .content-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 10px;
                padding: 0 12px 0px;
            }
        }
        
        @media (max-width: 576px) {
            .content-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 8px;
                padding: 0 10px 8px;
            }
        }
        
        @media (max-width: 420px) {
            .search-box {
                
            }
            
            .content-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 8px;
                padding: 0 8px 0px;
            }
            
            .nav-tabs {
                gap: 15px;
            }
            
            .nav-tab {
                font-size: 16px;
            }
        }


        

        /* 播放页专用 */

        /* 抖音风格播放页 */
			.douyin-player {
				position: relative;
				width: 100%;
				height: 100vh;
				background: #000;
				overflow: hidden;
				flex-shrink: 0;
				border-radius: 0px 0px 15px 15px;
			}
			
			.douyin-video {
				position: absolute;
				top: 0;
				left: 0;
				width: 100%;
				height: 100%;
				object-fit: cover;
			}
			
			#mse {

				position: absolute;
				top: 0;
				left: 0;
				width: 100% !important;
				height: 100% !important;
			}
			
			#mse video {
				object-fit: cover;
				width: 100%;
				height: 100%;
			}
			
			/* 确保播放器控制条不被遮挡且不自动隐藏 */
			#mse .xgplayer-controls {
				z-index: 1000 !important;
				position: absolute !important;
				bottom: 99px !important;
				left: 0 !important;
				right: 0 !important;
				display: flex !important;
				opacity: 1 !important;
				visibility: visible !important;
				pointer-events: auto !important;
			}
			
			#mse .xgplayer-controls.xgplayer-controls-hide {
				display: flex !important;
				opacity: 1 !important;
				visibility: visible !important;
			}
			
			/* 进度条样式优化 - 简化版 */
			.xgplayer-progress,
			#mse .xgplayer-progress {
				z-index: 99 !important;
				opacity: 1 !important;
				visibility: visible !important;
				display: block !important;
				position: relative !important;
				left: 0 !important;
				right: 0 !important;
				padding-left: 6px !important;
				padding-right: 6px !important;
				background: transparent !important;
				pointer-events: auto !important;
				transform: none !important;
				bottom: 0 !important;
				margin: 0 !important;
				box-sizing: border-box !important;
				width: 100% !important;
			}
			
			/* 进度条样式 - 确保可见 */
			#mse .xgplayer-progress {
				height: 2px !important;
				z-index: 99 !important;
				position: absolute !important;
				bottom: 0 !important;
				left: 0 !important;
				right: 0 !important;
				width: 100% !important;
				box-sizing: border-box !important;
			}
			
			/* 进度条背景完全透明 */
			#mse .xgplayer-progress-bg,
			#mse .xgplayer-progress-bar,
			#mse .xgplayer-progress-inner {
				background: rgba(255, 255, 255, 0.2) !important;
				height: 2px !important;
				z-index: 99 !important;
				width: 100% !important;
				box-sizing: border-box !important;
			}
			
			/* 进度条已播放部分 */
			#mse .xgplayer-progress-played {
				background: linear-gradient(to right, rgba(76, 175, 80, 0.8), rgba(33, 150, 243, 0.8)) !important;
				height: 3px !important;
				z-index: 99 !important;
				max-width: 100% !important;
				box-sizing: border-box !important;
			}
			
			/* 进度条指示圆点隐藏 */
			#mse .xgplayer-progress-point,
			.xgplayer-progress-point {
				display: none !important;
				opacity: 0 !important;
				visibility: hidden !important;
			}
			#mse .xgplayer-progress-point,
			.xgplayer-progress-btn {
				display: none !important;
				opacity: 0 !important;
				visibility: hidden !important;
			}
			
			/* 进度条所有子元素都设置高z-index */
			#mse .xgplayer-progress * {
				z-index: 99 !important;
			}
			
			/* 进度条已播放部分保留颜色 */
			#mse .xgplayer-progress-played {
				background: linear-gradient(to right, rgba(76, 175, 80, 0.8), rgba(33, 150, 243, 0.8)) !important;
			}
			
			/* 默认隐藏时间提示 */
			#mse .xgplayer-progress-time,
			#mse .xgplayer-time,
			.xgplayer-progress-time,
			.xgplayer-time {
				display: none !important;
				opacity: 0 !important;
				visibility: hidden !important;
				position: fixed !important;
				top: 50% !important;
				left: 50% !important;
				transform: translate(-50%, -50%) !important;
				background: rgba(0, 0, 0, 0.6) !important;
				color: #fff !important;
				padding: 8px 16px !important;
				border-radius: 4px !important;
				font-size: 28px !important;
				line-height: 0.8 !important;
				white-space: nowrap !important;
				z-index: 100000 !important;
				pointer-events: none !important;
				text-align: center !important;
			}
			
			/* 拖动进度条时显示时间提示 */
			#mse.xgplayer-progress-dragging .xgplayer-progress-time,
			#mse.xgplayer-progress-dragging .xgplayer-time,
			.xgplayer.xgplayer-progress-dragging .xgplayer-progress-time,
			.xgplayer.xgplayer-progress-dragging .xgplayer-time {
				display: block !important;
				opacity: 0.8 !important;
				visibility: visible !important;
			}
			
			#mse .xgplayer-progress-time::before,
			#mse .xgplayer-time::before {
				content: '';
				position: absolute;
				bottom: -6px;
				left: 50%;
				transform: translateX(-50%);
				border-left: 6px solid transparent;
				border-right: 6px solid transparent;
				border-top: 6px solid rgba(0, 0, 0, 0.6);
			}
			
			/* 进度条控制条位置 */
			#mse .xgplayer-controls {
				position: absolute !important;
				bottom: -44px !important;
				left: 0 !important;
				right: 0 !important;
				background: transparent !important;
			}
			
			/* 只显示播放暂停按钮和进度条，隐藏其他控件 */
			#mse .xgplayer-volume,
			#mse .xgplayer-playbackrate,
			#mse .xgplayer-fullscreen,
			#mse .xgplayer-screenshot,
			#mse .xgplayer-pip,
			#mse .xgplayer-rotate,
			#mse .xgplayer-download,
			#mse .xgplayer-definition,
			#mse .xgplayer-replay,
			#mse .xgplayer-poster {
				display: none !important;
			}
			
			.xgplayer-skin-default .xgplayer-start{
				position: fixed !important;
			}

			/* 隐藏底部控制栏中的播放暂停按钮，但保留中央的 */
			#mse .xgplayer-controls .xgplayer-play {
				display: none !important;
			}
			
			/* 确保中央播放暂停按钮可见 */
			#mse .xgplayer-bigplay {
				display: block !important;
				opacity: 1 !important;
				visibility: visible !important;
				z-index: 1002 !important;
				position: absolute !important;
				top: 50% !important;
				left: 50% !important;
				transform: translate(-50%, -50%) !important;
				margin: 0 !important;
			}
			
			.douyin-overlay {
				position: absolute;
				inset: 0;
				background: linear-gradient(
					to top,
					rgba(0, 0, 0, 0) 0%,
					rgba(0, 0, 0, 0) 100%
				);
				z-index: 99;
				pointer-events: none;
			}
			
			.douyin-top-bar {
				position: absolute;
				top: 0;
				left: 0;
				right: 0;
				padding: 40px 20px 20px;
				display: flex;
				justify-content: space-between;
				align-items: center;
				z-index:99;
			}
			.douyin-top-bar a{
				text-decoration: none;
			}
			
			.douyin-back-btn {
				display: flex;
				align-items: center;
				color: #fff;
				font-size: 16px;
				gap: 8px;
				cursor: pointer;
			}
			
			.douyin-back-btn svg {
				width: 28px;
				height: 28px;
			}
			
			.douyin-top-right {
				display: flex;
				gap: 16px;
				color: #fff;
			}
			
			.douyin-top-right svg {
				width: 24px;
				height: 24px;
			}
			
			.douyin-speed-btn {
				display: flex;
				align-items: center;
				gap: 4px;
				color: #fff;
				font-size: 14px;
				cursor: pointer;
				padding: 6px 12px;
				border-radius: 16px;
				transition: all 0.3s ease;
				background: transparent;
			}
			
			.douyin-speed-btn:hover {
				background: transparent;
					}
			
			.douyin-speed-btn:active {
				background: rgba(76, 175, 80, 0.8) !important;
			}
			
			.douyin-speed-btn svg {
				width: 26px;
				height: 26px;
			}
			
			.speed-menu {
				position: absolute;
				top: 100%;
				right: 10px;
				margin-top: 1px;
				background: rgba(0, 0, 0, 0.5);
				border-radius: 8px;
				padding: 8px 0;
				z-index: 1001;
				opacity: 0;
				visibility: hidden;
				transition: all 0.3s ease;
				min-width: 100px;
			}
			
			.speed-menu.show {
				opacity: 1;
				visibility: visible;
			}
			
			.speed-option {
				padding: 8px 16px;
				color: #fff;
				font-size: 16px;
				cursor: pointer;
				text-align: center;
				transition: background 0.3s ease;
				margin-bottom: 8px;
			}
			
			.speed-option:hover {
				background: rgba(76, 175, 80, 0.6);
			}
			
			.speed-option:active {
				background: rgba(76, 175, 80, 0.8);
			}
			
			.fullscreen-btn {
				position: fixed !important;
				top: 65% !important;
				left: 50% !important;
				transform: translate(-50%, -50%) !important;
				width: 120px !important;
				height: 28px !important;
				background: rgba(116, 113, 113, 0.4) !important;
				border-radius: 10px !important;
				display: none !important;
				align-items: center !important;
				justify-content: center !important;
				z-index: 999 !important;
				cursor: pointer !important;
				opacity: 1 !important;
				visibility: visible !important;
				transition: all 0.3s ease !important;
				color: #fff;
			}
			

			
			.fullscreen-btn.show {
				display: flex !important;
			}
			
			.fullscreen-btn:hover {
				transform: translate(-50%, -50%) scale(1.1) !important;
			}
			
			.fullscreen-btn:active {
				transform: translate(-50%, -50%) scale(0.95) !important;
			}
			
			.fullscreen-btn svg {
				width: 22px;
				height: 22px;
				color: #fff;
			}
			
			/* 视频播放错误提示 */
			.video-error {
				position: fixed !important;
				top: 0 !important;
				left: 0 !important;
				width: 100% !important;
				height: 100% !important;
				background: rgba(0, 0, 0, 0.8) !important;
				display: none;
				align-items: center !important;
				justify-content: center !important;
				z-index: 10000 !important;
				backdrop-filter: blur(5px) !important;
			}
			
			.error-content {
				text-align: center !important;
				color: #fff !important;
				max-width: 400px !important;
				padding: 30px !important;
				background: rgba(0, 0, 0, 0.9) !important;
				border-radius: 12px !important;
				box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
			}
			
			.error-content h3 {
				font-size: 24px !important;
				margin: 0 0 16px 0 !important;
				color: #ff4757 !important;
			}
			
			.error-content p {
				font-size: 16px !important;
				margin: 0 0 24px 0 !important;
				line-height: 1.5 !important;
				color: #e0e0e0 !important;
			}
			
			.error-back-btn {
				display: inline-flex !important;
				align-items: center !important;
				gap: 8px !important;
				background: #4CAF50 !important;
				color: #fff !important;
				padding: 12px 24px !important;
				border-radius: 8px !important;
				font-size: 16px !important;
				text-decoration: none !important;
				transition: all 0.3s ease !important;
			}
			
			.error-back-btn:hover {
				background: #45a049 !important;
				transform: translateY(-2px) !important;
				box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4) !important;
			}
			
			.error-back-btn:active {
				transform: translateY(0) !important;
			}
			
			.error-back-btn svg {
				width: 20px;
				height: 20px;
			}
			
			.error-refresh-btn {
				display: inline-flex !important;
				align-items: center !important;
				gap: 8px !important;
				background: #3498db !important;
				color: #fff !important;
				padding: 12px 24px !important;
				border-radius: 8px !important;
				font-size: 16px !important;
				text-decoration: none !important;
				transition: all 0.3s ease !important;
				border: none !important;
				cursor: pointer !important;
				margin-top: 12px !important;
			}
			
			.error-refresh-btn:hover {
				background: #2980b9 !important;
				transform: translateY(-2px) !important;
				box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4) !important;
			}
			
			.error-refresh-btn:active {
				transform: translateY(0) !important;
			}
			
			.error-refresh-btn svg {
				width: 20px;
				height: 20px;
			}
			
			.douyin-speed-indicator {
				position: fixed !important;
				top: 50% !important;
				left: 50% !important;
				transform: translate(-50%, -50%) !important;
				background: transparent !important;
				color: #fff !important;
				font-size: 22px !important;
				font-weight: bold !important;
				padding: 5px 10px !important;
				border-radius: 8px !important;
				z-index: 10000 !important;
				opacity: 0 !important;
				visibility: hidden !important;
				transition: all 0.3s ease !important;
				pointer-events: none !important;
			}
			
			.douyin-speed-indicator.show {
				opacity: 1 !important;
				visibility: visible !important;
			}
			
			.speed-icon {
				animation: blink 1s infinite;
			}
			
			@keyframes blink {
				0%, 100% { opacity: 1; }
				50% { opacity: 0.5; }
			}
			
			.douyin-left-info {
				position: absolute;
				bottom: 40px;
				left: 20px;
				z-index: 99;
				color: #fff;
			}
			
			.douyin-drama-name {
				font-size: 18px;
				font-weight: 600;
				margin-bottom: 1px;
			}
			
			.douyin-drama-desc {
				font-size: 14px;
				max-width: 76%;
				margin-bottom: 2px;
                color: #ffffffd4;
                line-height: 1.5;
			}
			
				
			.desc-content.expanded {
				display: block;
				-webkit-line-clamp: unset;
			}
			
			.desc-toggle {
				display: inline-block;
				float: right;
				color: rgba(255, 255, 255, 0.8);
				font-size: 14px;
				cursor: pointer;
				text-decoration: underline;
				transition: color 0.3s ease;
			}
			
			.desc-toggle:hover {
				color: #fff;
			}
			
			.douyin-drama-tag {
				display: inline-block;
				padding: 2px 6px;
				background: rgba(255, 255, 255, 0.2);
				border-radius: 4px;
				font-size: 14px;
				margin-right: 8px;
				margin-bottom: 8px;
                margin-top: 4px;
			}
			
			.douyin-right-actions {
				position: absolute;
				bottom: 60px;
				right: 15px;
				z-index: 99;
				display: flex;
				flex-direction: column;
				align-items: center;
				gap: 20px;
			}
			
			.douyin-action {
				display: flex;
				flex-direction: column;
				align-items: center;
				gap: 5px;
				color: #fff;
			}
			.douyin-action a{
				color:#FFF;
			}
			
			.douyin-action svg {
				width: 32px;
				height: 32px;
				cursor: pointer;
			}
			
			.douyin-action span {
				font-size: 12px;
			}
			
			.douyin-action.liked svg {
				fill: #ff0050;
				color: #ff0050;
			}
			
			.douyin-comments {
				position: absolute;
				bottom: 0;
				left: 0;
				right: 0;
				background: rgba(0, 0, 0, 0.8);
				padding: 15px 20px;
				z-index: 99;
				display: flex;
				align-items: center;
				gap: 10px;
			}
			
			.douyin-comment-input {
				flex: 1;
				background: rgba(255, 255, 255, 0.2);
				border: none;
				border-radius: 20px;
				padding: 10px 15px;
				color: #fff;
				font-size: 14px;
			}
			
			.douyin-comment-input::placeholder {
				color: rgba(255, 255, 255, 0.6);
			}
			
			.douyin-comment-btn {
				background: none;
				border: none;
				color: #fff;
				font-size: 14px;
				cursor: pointer;
			}
			
			.douyin-episode-btn {
				position: relative;
				background: rgb(96 93 93 / 70%);
				color: #fff;
				border: none;
				font-size: 14px;
				cursor: pointer;
				display: flex;
				align-items: center;
				justify-content: space-between;
				flex-shrink: 0;
				height: 30px;
				box-sizing: border-box;
				border-radius: 4px;
                width: 80%;
                padding-left: 10px;
				
			}
			
			.douyin-episode-btn svg {
				width: 40px;
				height: 40px;
				padding-right: 10px;
			}
			
			.douyin-episode-layer {
				position: fixed;
				left: 0;
				right: 0;
				bottom: 0;
				height: 60vh;
				background: #fff;
				z-index: 1000;
				display: none;
				overflow-y: auto;
				border-radius: 20px 20px 0 0;
				box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
				transform: translateY(100%);
				transition: transform 0.3s ease;
			}
			
			.douyin-episode-layer.show {
				display: block;
				transform: translateY(0);
			}
			
			.episode-layer-header {
				position: sticky;
				top: 0;
				background: #fff;
				padding: 15px 20px;
				display: flex;
				justify-content: space-between;
				align-items: flex-start;
				z-index: 101;
				border-bottom: 1px solid #eee;
			}
			
			.episode-header-content {
				display: flex;
				align-items: flex-start;
				gap: 12px;
				flex: 1;
			}
			
			.episode-poster {
				width: 52px;
				height: 65px;
				object-fit: cover;
				border-radius: 6px;
			}
			
			.episode-info {
				flex: 1;
				display: flex;
				flex-direction: column;
				gap: 4px;
			}
			
			.episode-name {
				font-size: 16px;
				font-weight: 600;
				color: #333;
				margin-top: 8px;
			}
			
			.episode-note {
				font-size: 13px;
				color: #666;
			}
			
			.episode-state {
				font-size: 12px;
				color: #999;
			}
			
			.episode-actors {
				font-size: 12px;
				color: #999;
				overflow: hidden;
				text-overflow: ellipsis;
				white-space: nowrap;
				max-width: 200px;
			}
			
			.episode-layer-close-btn {
				position: absolute;
				top: 15px;
				right: 15px;
				background: none;
				border: none;
				color: #999;
				font-size: 20px;
				cursor: pointer;
				padding: 5px;
				width: 30px;
				height: 30px;
				display: flex;
				align-items: center;
				justify-content: center;
			}
			
			.episode-layer-close-btn svg {
				width: 20px;
				height: 20px;
			}
			
			.episode-layer-title {
				color: #333;
				font-size: 16px;
				font-weight: 600;
			}
			
			.episode-layer-close {
				background: none;
				border: none;
				color: #999;
				font-size: 24px;
				cursor: pointer;
				padding: 5px;
			}
			
			.episode-list {
				padding: 10px;
				display: flex;
				flex-wrap: wrap;
				gap: 10px;
			}
			
			.episode-list li {
				display: inline-block;
				background: #f5f5f5;
				border: 1px solid #f5f5f5;
				border-radius: 8px;
				padding: 12px 16px;
				text-align: center;
				color: #333;
				font-size: 14px;
				list-style: none;
				cursor: pointer;
				transition: all 0.3s ease;
				margin-top: 8px;
				margin-left:6px;
				
			}
			.episode-list li a{
				text-decoration: none;
				color:#000;
			}


			
			.episode-list li.active {
				background: linear-gradient(135deg, #ff0050, #ff4081);
				color: #fff;
				border-color: #ff0050;
				text-decoration: none;
			}
			
			.episode-list li.playon {
				background: linear-gradient(135deg, #84e393, #349db9);
				color: #fff;
				text-decoration: none;
				position: relative;
			}
			

			
			.episode-list li.playvip {

				color: #fff;
				text-decoration: none;
				position: relative;
			}
			
			.episode-list li.playvip::after {
				content: 'VIP';
				position: absolute;
				top: 1px;
				right: 1px;
				font-size: 8px;
				font-weight: bold;
				color: #8B4513;
				background: linear-gradient(135deg, #FFD700, #FFA500);
				padding: 1px 3px;
				border-radius: 2px;
				line-height: 1;
			}
			
			.episode-list li.playon a {
				color: #fff;
			}
			
			.episode-item {
				background: #f5f5f5;
				border-radius: 8px;
				padding: 15px 10px;
				text-align: center;
				color: #333;
				font-size: 14px;
				cursor: pointer;
				transition: all 0.3s ease;
			}
			
			.episode-item:hover {
				background: #e0e0e0;
			}
			
			.episode-item.active {
				background: linear-gradient(135deg, #ff0050, #ff4081);
				color: #fff;
			}
			
			.overlay-hidden .douyin-left-info,
			.overlay-hidden .douyin-right-actions {
				display: none;
			}
			
			.douyin-comment-layer {
				position: fixed;
				left: 0;
				right: 0;
				bottom: 0;
				height: 70vh;
				background: #fff;
				z-index: 1000;
				display: none;
				overflow-y: auto;
				border-radius: 20px 20px 0 0;
				box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
				transform: translateY(100%);
				transition: transform 0.3s ease;
			}
			
			.douyin-comment-layer.show {
				display: block;
				transform: translateY(0);
			}
			
			.comment-layer-header {
				position: sticky;
				top: 0;
				background: #fff;
				padding: 15px 20px;
				display: flex;
				justify-content: space-between;
				align-items: center;
				z-index: 101;
				border-bottom: 1px solid #eee;
			}
			
			.comment-layer-title {
				color: #333;
				font-size: 16px;
				font-weight: 600;
			}
			
			.comment-layer-close-btn {
				background: none;
				border: none;
				color: #999;
				font-size: 20px;
				cursor: pointer;
				padding: 5px;
				width: 30px;
				height: 30px;
				display: flex;
				align-items: center;
				justify-content: center;
			}
			
			.comment-layer-close-btn svg {
				width: 20px;
				height: 20px;
			}
			
			.comment-list {
				padding: 10px;
			}
		
		@media (max-width: 768px) {
				.douyin-drama-name {
					font-size: 18px;
				}
				
				.douyin-action svg {
					width: 32px;
					height: 32px;
				}
			}