 .secondary-nav {
            white-space: nowrap;
            overflow: hidden; 
            cursor: grab; 
        }
        
        .container {
            width: 100%;
            max-width: 100%; 
            min-width: 960px; 
            margin: 0 auto;
            overflow-x: hidden; 
        }
        
        .container {
            width: 100%;
            max-width: 1500px; 
            min-width: 920px; 
            margin: 0 auto;
            padding: 0 10px; 
            box-sizing: border-box; 
        }
    
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: "Microsoft YaHei", Arial, sans-serif;
            font-size: 14px;
            line-height: 1.5;
            color: #333;
            background-color: #f9f9f9;
            
        }
        
        a {
            text-decoration: none;
            color: #555;
            transition: color 0.2s;
        }
        
        a:hover {
            color: #00a1d6;
            text-decoration: none;
        }
        
        
        
        
        html, body {
            margin: 0;
            padding: 0;
            min-width: 960px;
            overflow-x: auto; 
            padding-top:32px;
        }
        
        
       
        
        
        .top-header {
            border-bottom: 1px solid #e5e9ef;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            min-width: 960px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1); 
            overflow-x: visible; 
        }

        .primary-nav {
            height: 60px;
            background-color: rgba(255, 255, 255, 0.9); 
            overflow-x: visible; 
        }

        .primary-nav-inner {
            display: flex;
            align-items: center;
            height: 100%;
            padding: 0 20px;
            margin: 0 auto;
            position: relative; 
            overflow: visible; 
        }

        .site-logo {
            font-family: 'Arial Black', Gadget, sans-serif;
            font-size: 20px;
            font-weight: bold;
            color: #688282;
            padding-right: 20px; 
            line-height: 60px;
            text-decoration: none;
            flex-shrink: 0;
            white-space: nowrap;
			letter-spacing:1px;
        }
        
        .site-logo span {
             font-size: 12px;
             color: #999;
             font-weight: normal;
             margin-left: 5px;
             vertical-align: middle;
             white-space: nowrap;
        }

        
        .main-nav {
            display: flex;
            align-items: center;
            margin-left: 10px; 
            flex-grow: 1;
            white-space: nowrap;
            overflow-x: visible; 
            position: relative; 
        }

        .main-nav ul {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-wrap: nowrap; 
            width: 100%; 
        }

        .main-nav li {
            position: relative;
            margin-right: 2px; /* 减少菜单项间距 */
            flex-shrink: 0; /* 防止菜单项收缩 */
        }

        .main-nav a {
            display: block;
            padding: 0 10px; /* 减少水平内边距 */
            font-size: 14px; /* 减小字体大小 */
            color: #333;
            height: 60px;
            line-height: 60px;
            text-decoration: none;
            transition: color 0.2s, background-color 0.2s;
            border-bottom: 3px solid transparent;
            box-sizing: border-box;
            white-space: nowrap; /* 防止文字换行 */
        }

        .main-nav a:hover,
        .main-nav li:hover > a {
            color: #007bff;
            background-color: rgba(248, 249, 250, 0.8);
        }

        .main-nav a.active {
            color: #007bff;
            border-bottom-color: #007bff;
        }

        
        .main-nav .dropdown-menu {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            background-color: #fff;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            border: 1px solid #e5e9ef;
            border-top: none;
            padding: 15px;
            min-width: 600px; 
            z-index: 1001;
            border-radius: 0 0 4px 4px;
            max-height: 80vh; 
            overflow-y: auto; 
        }

        
        .main-nav li:hover > .dropdown-menu {
            display: block;
        }

        .dropdown-content {
            display: grid;
            grid-template-columns: repeat(4, 1fr); 
            gap: 10px 20px;
        }

        .dropdown-content a {
            display: block;
            padding: 8px 10px;
            color: #555;
            font-size: 14px;
            line-height: 1.4;
            height: auto;
            border-bottom: none;
            white-space: normal;
            border-radius: 3px;
        }

        .dropdown-content a:hover {
            background-color: #f0f0f0;
            color: #007bff;
        }

        
        .main-nav li.mega-menu .dropdown-menu {
            min-width: 600px;
            right: 0;
            left: auto;
        }
        
        .main-nav li.mega-menu .dropdown-content {
            grid-template-columns: repeat(5, 1fr); 
        }

        
        .main-nav li:nth-last-child(-n+2) .dropdown-menu {
            right: 0;
            left: auto;
        }

        
        .header-controls {
            display: flex;
            align-items: center;
            margin-left: auto;
            position: relative;
            flex-shrink: 0; 
        }

        .search-icon-btn {
            background: none;
            border: none;
            cursor: pointer;
            padding: 8px 12px;
            margin-left: 5px;
            color: #555;
            transition: all 0.2s;
            position: relative;
            z-index: 1002;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 4px;
        }
        
        .search-svg-icon {
            transition: all 0.3s ease;
            margin-right: 5px;
        }
        
        .search-text {
            font-size: 14px;
            font-weight: 500;
        }
        
        .search-icon-btn:hover {
            color: #007bff;
            background-color: rgba(0, 123, 255, 0.08);
        }
        
        .search-icon-btn:hover .search-svg-icon {
            stroke: #007bff;
        }

        
        .header-search-popout {
            display: none;
            position: absolute;
            top: 49px; 
            right: 0;
            width: 420px;
            background-color: #fff;
            border: 12px solid #e5e9ef;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            padding: 15px;
            border-radius: 4px;
            z-index: 1002;
            animation: fadeIn 0.2s ease-out;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .header-search-popout.active {
            display: block;
        }
        
        .header-search-popout form {
            display: flex;
        }

        .header-search-popout input[type="text"] {
            flex-grow: 1;
            height: 36px;
            padding: 0 15px;
            border: 1px solid #ccc;
            border-right: none;
            border-radius: 18px 0 0 18px;
            font-size: 14px;
            outline: none;
            transition: border-color 0.2s;
        }
        
        .header-search-popout input[type="text"]:focus {
            border-color: #007bff;
            box-shadow: 0 0 0 2px rgba(0,123,255,0.1);
        }

        .header-search-popout button {
            height: 36px;
            padding: 0 15px;
            border: 1px solid #007bff;
            background-color: #007bff;
            color: #fff;
            font-size: 14px;
            cursor: pointer;
            border-radius: 0 18px 18px 0;
            transition: background-color 0.2s;
        }

        .header-search-popout button:hover {
            background-color: #0056b3;
        }

        
        .header-search { display: none; }
        .theme-switch { display: none; }

        


        
        .primary-nav-inner {
            justify-content: flex-start;
        }

        
        .main-content, .sidebar {
            display: table-cell\9;
        }

        
        body {
            padding-top: 50px;
        }

        
        .night {
            background-color: #1f1f1f !important;
            color: #ddd !important;
        }
        
        .night .top-header {
            background-color: #1f1f1f !important; 
            background-image: none !important; 
            border-bottom-color: #333 !important;
        }

        .night .primary-nav {
            background-color: rgba(31, 31, 31, 0.9) !important; 
        }
        
        
        .night .container {
            background-color: #1f1f1f !important;
        }
        
        .night .primary-nav-inner {
            background-color: rgba(31, 31, 31, 0.9) !important;
        }
        
        /* 设置链接按钮的hover效果 */
        .night a[href="javascript:switchTheme();"] {
            color: #ccc !important;
        }
        
        .night a[href="javascript:switchTheme();"]:hover {
            color: #4dabf7 !important;
        }
        
        .night .site-logo {
            color: #989696;
        }
        .night .site-logo span {
            color: #888;
        }
        .night .main-nav a {
            color: #ccc;
            border-bottom-color: transparent;
        }
        .night .main-nav a:hover,
        .night .main-nav li:hover > a {
            color: #4dabf7;
            background-color: rgba(42, 42, 42, 0.8);
        }
        .night .main-nav a.active {
            color: #ccc;
            border-bottom-color: #2F4A63;
        }
        .night .main-nav .dropdown-menu {
            background-color: #2a2a2a;
            border-color: #333;
            box-shadow: 0 4px 8px rgba(0,0,0,0.3);
        }
        .night .dropdown-content a {
            color: #bbb;
        }
        .night .dropdown-content a:hover {
            background-color: #3a3a3a;
            color: #4dabf7;
        }
        .night .search-icon-btn {
            color: #aaa;
        }
        .night .search-svg-icon {
            stroke: #aaa;
        }
        .night .search-icon-btn:hover {
            color: #4dabf7;
            background-color: rgba(77, 171, 247, 0.1);
        }
        .night .search-icon-btn:hover .search-svg-icon {
            stroke: #4dabf7;
        }
        .night .header-search-popout {
            background-color: #2a2a2a;
            border-color: #333;
            box-shadow: 0 4px 8px rgba(0,0,0,0.3);
        }
        .night .header-search-popout input[type="text"] {
            background-color: #3a3a3a;
            border-color: #444;
            color: #ddd;
        }
        .night .header-search-popout input[type="text"]:focus {
            border-color: #4dabf7;
            box-shadow: 0 0 0 2px rgba(77,171,247,0.2);
        }
        .night .header-search-popout button {
            background-color: #4dabf7;
            border-color: #4dabf7;
            color: #1f1f1f;
        }
        .night .header-search-popout button:hover {
            background-color: #2196f3;
            border-color: #2196f3;
        }
        
        
        .night .video-info-section,
		.night .pl-section,
        .night .episode-list,
        .night .related-section,
        .night .video-card,
        .night .footer {
            background-color: #212121;
            box-shadow: 0 1px 3px rgba(0,0,0,0.2);
            border-color: #333;
        }
        
        .night .video-name {
            color: #999999;
        }
        
        .night .video-meta {
            color: #788590;
        }
        
        .night .video-meta a,
        .night .related-links a,
        .night .footer-links a {
            color: #788590;
        }
        
        .night .video-meta a:hover,
        .night .related-links a:hover,
        .night .footer-links a:hover {
            color: #788590;
        }
        
        .night .episode-list h3,
        .night .related-section h3,
        .night .footer-section h4 {
            color: #999999;
            border-left-color: #BDBDBD;
        }
        
        .night .episode {
            background-color: #3a3a3a;
            color: #ccc;
        }
        
        .night .episode:hover {
            background-color: #4dabf7;
            color: #fff;
        }
        
        .night .related-links a {
            border-bottom-color: #444;
            color: #ccc;
        }
        
        .night .video-card-title {
            color: #ccc;
        }
        
        .night .footer {
            border-top-color: #333;
        }
        
        .night .footer-bottom {
            border-top-color: #333;
        }
        
        .night .social-links a {
            background-color: #3a3a3a;
            color: #aaa;
        }
        
        .night .social-links a:hover {
            background-color: #4dabf7;
            color: #fff;
        }
        
        .night .copyright {
            color: #777;
        }

        
        .main-nav li #btnSwitch {
            color: #555;
            transition: color 0.3s ease;
        }
        
        .main-nav li #btnSwitch:hover {
            color: #007bff;
        }
        
        .night .main-nav li #btnSwitch {
            color: #ccc;
        }
        
        .night .main-nav li #btnSwitch:hover {
            color: #4dabf7;
        }

        
        .video-info-section {
            margin-bottom: 20px;
            background-color: #fff;
            padding: 15px 20px;
            border-radius: 4px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }
		
		
		.pl-section {
            margin-bottom: 20px;
            background-color: #fff;
            padding: 15px 20px;
            border-radius: 4px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }
        
        .video-name {
            font-size: 20px;
            font-weight: bold;
            margin-bottom: 15px;
            color: #7e7c7c;
            line-height: 1.3;
			letter-spacing:1px;
        }
        
        .video-meta {
            color: #7e7c7c;
            font-size: 14px;
            margin-bottom: 5px;
            display: flex;
            align-items: center;
            flex-wrap: wrap;
        }
        
        .video-meta > * {
            margin-right: 15px;
        }
        
        .video-meta a {
            color: #51b4d4;
            margin-left: 10px;
			font-size:12px
        }
        
        .video-meta a:hover {
            text-decoration: none;
        }
        
        
        .content-wrapper {
            display: flex;
            margin-top: 20px;
        }
        
        .main-content {
            flex: 1;
            margin-right: 15px;
            min-width: 0; 
        }
        
        .sidebar {
            width: 325px; 
            flex-shrink: 0;
        }
        
        
        .video-container {
            position: relative;
            width: 100%;
            padding-bottom: 59%; 
            margin-bottom: 20px;
            border-radius: 4px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }
        
        .video-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
        }
        
        
        .episode-list {
            margin-bottom: 20px;
            background-color: #fff;
            border-radius: 4px;
            padding: 15px 20px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }
        
        .episode-list h3 {
            font-size: 17px;
            margin-bottom: 15px;
            color: #7e7c7c;
            border-left: 3px solid #00beff;
            padding-left: 10px;
        }
        
        .episodes {
            display: flex;
            flex-wrap: wrap;
        }
        
        .episode {
            margin: 8px 14px 12px 0;
            padding: 10px 16px;
            background-color: #e9eaef;
            border-radius: 4px;
            color: #555;
            transition: all 0.2s;
        }
        
        .episode:hover {
            background-color: #00a1d6;
            color: #fff;
        }
        
        
        .related-section {
            margin-bottom: 20px;
            background-color: #fff;
            border-radius: 4px;
            padding: 15px 20px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }
        
        .related-section h3 {
            font-size: 17px;
            margin-bottom: 15px;
            color: #7e7c7c;
            border-left: 3px solid #00beff;
            padding-left: 10px;
        }
        
        .related-links {
            margin-top: 10px;
        }
        
        .related-links a {
            display: block;
            padding: 10px 15px;
            color: #555;
            border-bottom: 1px dashed #eee;
        }
        
        .related-links a:hover {
            color: #00a1d6;
        }
        
        .related-links a:last-child {
            border-bottom: none;
        }
        
        
        .related-videos {
            margin-bottom: 20px;
        }
        
        .video-card {
            display: block;
            margin-bottom: 15px;
            background-color: #fff;
            border-radius: 4px;
            overflow: hidden;
            transition: all 0.2s;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }
        
        .video-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 3px 10px rgba(0,0,0,0.15);
        }
        
        .video-card-thumb {
            position: relative;
            width: 100%;
            padding-bottom: 60%;
            overflow: hidden;
        }
        
        .video-card-thumb img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s;
        }
        
        .video-card:hover .video-card-thumb img {
            transform: scale(1.05);
        }
        
        .video-card-title {
            padding: 10px 12px;
            color: #333;
            font-size: 14px;
            line-height: 1.4;
        }
        
        
        .footer {
            margin-top: 40px;
            padding: 30px 0;
            background-color: #fff;
            border-top: 1px solid #e5e9ef;
        }
        
        .footer-content {
            display: flex;
            flex-wrap: wrap;
        }
        
        .footer-section {
            width: 25%;
            padding: 0 15px;
            margin-bottom: 20px;
        }
        
        .footer-section h4 {
            font-size: 16px;
            color: #333;
            margin-bottom: 15px;
        }
        
        .footer-links a {
            display: block;
            padding: 5px 0;
            color: #666;
        }
        
        .footer-links a:hover {
            color: #00a1d6;
        }
        
        .footer-bottom {
            padding-top: 20px;
            margin-top: 20px;
            border-top: 1px solid #eee;
            text-align: center;
        }
        
        .social-links {
            margin-bottom: 20px;
        }
        
        .social-links a {
            display: inline-block;
            margin: 0 5px;
            width: 70px;
            height: 32px;
            line-height: 32px;
            text-align: center;
            background-color: #F5F5F5;
            border-radius: 15%;
            color: #666;
            transition: all 0.2s;
        }
        
        .social-links a:hover {
            background-color: #00a1d6;
            color: #fff;
        }
        
        .copyright {
            color: #828282;
            font-size: 14px;
			letter-spacing: 2px;
			margin-bottom: 23px;
        }

        
        .video-cards-grid, .article-cards-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            margin-top: 15px;
        }
        
        
        .related-links .video-card {
            margin-bottom: 0; 
        }
        
        
        .article-card {
            background-color: #fff;
            border-radius: 4px;
            overflow: hidden;
            transition: all 0.2s;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
            display: block;
        }
        
        .article-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 3px 10px rgba(0,0,0,0.15);
        }
        
        .article-card-inner {
            padding: 15px;
            display: flex;
            align-items: center;
        }
        
        .article-card-icon {
            font-size: 24px;
            margin-right: 10px;
            color: #00a1d6;
        }
        
        .article-card-title {
            color: #333;
            font-size: 14px;
            line-height: 1.4;
        }
        
        
        .night .article-card {
            background-color: #2a2a2a;
        }
        
        .night .article-card-title {
            color: #ccc;
        }
        
        .night .article-card-icon {
            color: #4dabf7;
        }
        
        
        

        
        .tabs-container {
            margin-bottom: 20px;
            background-color: #fff;
            border-radius: 4px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
            overflow: hidden;
        }
        
        .tabs-nav {
            display: flex;
            border-bottom: 1px solid #e5e9ef;
            background-color: #f7f9fa;
        }
        
        .tab-item {
            padding: 10px 20px;
            font-size: 16px;
            color: #555;
            cursor: pointer;
            transition: all 0.3s;
            border-bottom: 3px solid transparent;
            user-select: none;
        }
        
        .tab-item:hover {
            color: #00a1d6;
            background-color: #f0f2f5;
        }
        
        .tab-item.active {
            color: #00a1d6;
            border-bottom-color: #00a1d6;
            background-color: #fff;
        }
        
        .tab-content-container {
            padding: 15px 20px;
        }
        
        .tab-content {
            display: none;
        }
        
        .tab-content.active {
            display: block;
        }
        
       
        .night .tabs-container {
            background-color: #2a2a2a;
            box-shadow: 0 1px 3px rgba(0,0,0,0.2);
        }
        
        .night .tabs-nav {
            background-color: #222;
            border-bottom-color: #333;
        }
        
        .night .tab-item {
            color: #ccc;
        }
        
        .night .tab-item:hover {
            color: #4dabf7;
            background-color: #333;
        }
        
        .night .tab-item.active {
            color: #999999;
            border-bottom-color: #5b636a;
            background-color: #2a2a2a;
        }

        
        .grid-links {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
        }
        
        .grid-links a {
            display: block;
            padding: 12px 12px;
            text-decoration: none;
            color: #555;
            background-color: #f7f7f7;
            border-radius: 4px;
            transition: all 0.2s;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            font-size: 14px;
            
        }
        
        .grid-links a:hover {
            color: #00a1d6;
            background-color: #f0f0f0;
            transform: translateY(-2px);
            box-shadow: 0 2px 5px rgba(0,0,0,0.08);
        }
        
        
        .night .grid-links a {
            background-color: #333;
            color: #ccc;
            border-color: #444;
        }
        
        .night .grid-links a:hover {
            color: #4dabf7;
            background-color: #3a3a3a;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        }
        
        
       

        
        .video-card-y {
            display: flex;
            margin-bottom: 5px;
            text-decoration: none;
            transition: background-color 0.2s;
            border-radius: 2px;
            padding: 2px;
        }
        
        .video-card-y:hover {
            background-color: rgba(0,0,0,0.05);
        }
        
        .video-thumb {
            width: 168px;
            height: 95px;
            flex-shrink: 0;
            position: relative;
            border-radius: 5px;
            overflow: hidden;
            background-color: #f0f0f0;
        }
        
        .video-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s;
        }
        
        .video-card-y:hover .video-thumb img {
            transform: scale(1.05);
        }
        
        .video-info {
            padding: 0 0 0 10px;
            flex-grow: 1;
            min-width: 0;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
        }
        
        .video-info .video-title {
            font-size: 14px;
            font-weight: 500;
            line-height: 1.3;
            color: #333;
            margin-bottom: 4px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            max-height: 2.6em; 
			letter-spacing:1px;
        }
        
        
        .night .video-card-y:hover {
            background-color: rgba(255,255,255,0.1);
        }
        
        .night .video-thumb {
            background-color: #222;
        }
        
        .night .video-info .video-title {
            color: #ddd;
        }

		
		
		


 @media screen and (max-width: 1024px) {
            .content-wrapper {
                padding: 0 10px;
            }
            
			.sidebar {
                width: 290px; 
            }
			
            .main-content {
                padding-right: 3px;
            }
        }

        @media screen and (max-width: 1200px) {
            .main-nav a { 
                padding: 0 8px; 
                font-size: 13px; 
            }
            .site-logo { 
                font-size: 19px; 
                padding-right: 10px; 
            }
			
            .site-logo span {
                display: none; 
            }
            .dropdown-content {
                grid-template-columns: repeat(3, 1fr); 
            }
            .main-nav li.mega-menu .dropdown-content {
                grid-template-columns: repeat(4, 1fr);
            }
        }
        
        @media screen and (max-width: 992px) {
            .main-nav a { 
                padding: 0 6px; 
                font-size: 12px; 
            }
            .primary-nav-inner { 
                padding: 0 5px; 
            }
            .dropdown-content {
                grid-template-columns: repeat(2, 1fr); 
            }
            .main-nav li.mega-menu .dropdown-content {
                grid-template-columns: repeat(3, 1fr);
            }
            .main-nav .dropdown-menu {
                min-width: 400px;
            }
            .main-nav li.mega-menu .dropdown-menu {
                min-width: 500px;
            }
            .search-icon-btn {
                padding: 8px;
                font-size: 16px;
            }
            
            .search-text {
                display: none;
            }
            
            .search-svg-icon {
                margin-right: 0;
            }
        }

		@media screen and (max-width: 1200px) {
            .video-cards-grid, .article-cards-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media screen and (max-width: 768px) {
            .video-cards-grid, .article-cards-grid {
                grid-template-columns: 1fr;
            }
        }

		@media screen and (max-width: 992px) {
            .grid-links {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .search-text {
                display: none;
            }
            
            .search-svg-icon {
                margin-right: 0;
            }
            
            .search-icon-btn {
                padding: 8px;
            }
        }
        
        
        
        @media screen and (max-width: 576px) {
            .grid-links {
                grid-template-columns: 1fr;
            }
        }

	@media screen and (max-width: 1200px) {
            .video-thumb {
                width: 120px;
                height: 68px;
            }
        }
        
        @media screen and (max-width: 992px) {
            .sidebar {
                width: 100%;
                margin-top: 20px;
            }
            
            .content-wrapper {
                flex-direction: column;
            }
            
            .main-content {
                margin-right: 0;
            }
            
            .video-card-y {
                width: 48%;
                display: inline-flex;
                margin-right: 2%;
            }
        }
        
        @media screen and (max-width: 768px) {
            .video-card-y {
                width: 100%;
                margin-right: 0;
            }
        }

        
		
		@media screen and (min-width: 1278px) {
            .container {
                max-width: 1120px;
            }
			
			.main-content {
		margin-right: 17px;
			}
			
        }
		
		
       @media screen and (min-width: 1364px) {
            .container {
                max-width: 1200px;
            }
        }
        
		
		 @media screen and (min-width: 1498px) {
			
			.container {
                max-width: 1350px;
            }
			
			.sidebar {
                width: 345px; 
            }
			
			.primary-nav-inner {
            max-width: 1300px;
        }
			
        }
		
		
	
		
		
        @media screen and (min-width: 1598px) {
            .container {
                max-width: 1220px;
                padding: 0 20px;
            }
            
			.primary-nav-inner {
            max-width: 1220px;
        }
			
			
            .content-wrapper {
                
            }
            
            .main-content {
                margin-right: 28px;
            }
            
            .sidebar {
                width: 350px;
            }
            
            .video-container {
                box-shadow: 0 3px 12px rgba(0,0,0,0.15);
            }
            
            .video-thumb {
                width: 180px;
                height: 101px;
            }
        }
        
		
		@media screen and (min-width: 1720px) {
  .container {
    max-width: 1380px;
    padding: 0 25px;
  }

  .primary-nav-inner {
    max-width: 1360px;
  }

  .main-content {
    margin-right: 28px;
  }

  .sidebar {
    width: 365px;
  }

  .video-info-section {
    padding: 18px 22px;
  }

  .pl-section {
    padding: 18px 22px;
  }

  .video-name {
    font-size: 23px;
  }

  .video-thumb {
    width: 186px;
    height: 105px;
  }

  .video-container {
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
  }
}
		
		
		
        @media screen and (min-width: 1898px) {
            .container {
                max-width: 1550px;
                padding: 0 30px;
            }
            
			.primary-nav-inner {
            max-width: 1530px;
        }
			
            .sidebar {
                width: 380px; 
            }
            
            .main-content {
                margin-right: 28px;
            }
            
            .video-info-section {
                padding: 20px 25px;
            }
			
			.pl-section {
                padding: 20px 25px;
            }
            
            .video-name {
                font-size: 24px;
            }
            
            .video-thumb {
                width: 192px;
                height: 108px;
            }
			.video-info .video-title {
			font-size: 16px;
        }
		}

        
		@media screen and (min-width: 2500px) {
  .container { max-width: 2200px; padding: 0 40px; }
  .primary-nav-inner { max-width: 2100px; }
  .sidebar { width: 420px; }
  .main-content { margin-right: 31px; }
  .content-wrapper { justify-content: center; }
  .video-info-section { padding: 25px 30px; }
  .pl-section { padding: 25px 30px; }
  .video-name { font-size: 26px; }
  .video-thumb { width: 210px; height: 118px; }
  .tab-content-container { padding: 20px 25px; }
  .grid-links { grid-template-columns: repeat(4, 1fr); }
}


@media screen and (min-width: 3000px) {
  .container { max-width: 2700px; padding: 0 60px; }
  .primary-nav-inner { max-width: 2600px; }
  .sidebar { width: 500px; }
  .main-content { margin-right: 40px; }
  .content-wrapper { justify-content: center; }
  .video-info-section { padding: 30px 40px; }
  .pl-section { padding: 30px 40px; }
  .video-name { font-size: 30px; }
  .video-thumb { width: 260px; height: 146px; }
  .tab-content-container { padding: 25px 35px; }
  .grid-links { grid-template-columns: repeat(5, 1fr); }
}


@media screen and (min-width: 3800px) {
  .container { max-width: 3400px; padding: 0 80px; }
  .primary-nav-inner { max-width: 3300px; }
  .sidebar { width: 600px; }
  .main-content { margin-right: 50px; }
  .content-wrapper { justify-content: center; }
  .video-info-section { padding: 40px 50px; }
  .pl-section { padding: 40px 50px; }
  .video-name { font-size: 36px; }
  .video-thumb { width: 320px; height: 180px; }
  .tab-content-container { padding: 30px 45px; }
  .grid-links { grid-template-columns: repeat(6, 1fr); }
}
       
	   
	   

.like-plus {
    position: absolute;
    color: red;
    font-size: 14px;
    animation: likeFloat 0.8s ease-out forwards;
    pointer-events: none;
}

@keyframes likeFloat {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}


#commentForm { display: none; }
#replyInfo { display: none; }
#loadMore { display: none; }


.comment-box {
    background: #ffffff;
    padding: 16px 18px;
    border-radius: 12px;
    border: 1px solid #e6e6e6;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 14px;
    position: relative;
    transition: .2s;
}
.comment-box:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.comment-box b {
    font-size: 15px;
    font-weight: 600;
    color: #5F6873;
}
.comment-box {
    font-size: 14px;
    color: #374151;
    line-height: 1.55;
}
.comment-box div[style*="font-size:12px"] {
    font-size: 12px !important;
    color: #9ca3af !important;
    margin-top: 6px;
}
.comment-children {
    margin-left: 22px;
    border-left: 2px solid #e5e5e5;
    padding-left: 14px;
    margin-top: 10px;
}
.pinned {
    color: #ef4444;
    font-weight: bold;
    margin-left: 6px;
    font-size: 13px;
}


.like-btn {
    position: absolute;
    right: 14px;
    top: 14px;
    color: #3BBAF6;
    cursor: pointer;
    font-size: 15px;
    user-select: none;
    padding: 4px 8px;
    border-radius: 6px;
    background: #f0f7ff;
    transition: .2s;
}
.like-btn:hover {
    background: #dcecff;
    transform: scale(1.05);
}


.reply-btn {
    font-size: 13px;
    color: #3b82f6;
    cursor: pointer;
    margin-top: 6px;
    display: inline-block;
    transition: .2s;
}
.reply-btn:hover { opacity: 0.7; }


.comment-input-box {
    background: #ffffff;
    border: 1px solid #d1d5db;
    padding: 12px 14px;
    border-radius: 10px;
    color: #6b7280;
    font-size: 14px;
    cursor: text;
    transition: .2s;
}
.comment-input-box:hover {
    border-color: #3b82f6;
    color: #374151;
}


.comment-form { margin-top: 12px; }
.reply-info {
    background: #f7f9fc;
    padding: 10px 12px;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 14px;
    border: 1px solid #e3e8f0;
}
.reply-cancel {
    margin-left: 10px;
    color: #ef4444;
    cursor: pointer;
}


.comment-input,
.comment-textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #374151;
    font-size: 14px;
    margin-bottom: 10px;
    transition: .2s;
}
.comment-textarea {
    min-height: 80px;
    resize: none;
}
.comment-input:focus,
.comment-textarea:focus {
    border-color: #3b82f6;
    outline: none;
}


.emoji-box img {
    width: 24px;
    height: 24px;
    margin-right: 6px;
    cursor: pointer;
    transition: .15s;
}
.emoji-box img:hover { transform: scale(1.2); }

.emoji {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin: 0 2px;
}



.comment-btn-row {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 12px;
}
.btn-send {
    padding: 8px 16px;
    background: #00A1D6;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: .2s;
}
.btn-send:hover {
    background: #006688;
    transform: translateY(-1px);
}
.btn-cancel {
    padding: 8px 16px;
    background: #e5e7eb;
    color: #374151;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: .2s;
}
.btn-cancel:hover {
    background: #d1d5db;
    transform: translateY(-1px);
}


.night .comment-box {
    background: #1f1f1f;
    border: 1px solid #333;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.night .comment-box b { color: #e5e7eb; }
.night .comment-box { color: #d1d5db; }
.night .comment-box div[style*="font-size:12px"] { color: #6b7280 !important; }
.night .comment-children { border-left: 2px solid #444; }

.night .reply-info {
    background: #2a2a2a;
    border: 1px solid #444;
    color: #d1d5db;
}
.night .reply-btn { color: #60a5fa; }

.night .like-btn {
    background: #2a2a2a;
    color: #60a5fa;
}
.night .like-btn:hover { background: #3b3b3b; }

.night .comment-input-box {
    background: #1f1f1f;
    border: 1px solid #3a3a3a;
    color: #9ca3af;
}
.night .comment-input-box:hover {
    border-color: #60a5fa;
    color: #e5e7eb;
}

.night .comment-input,
.night .comment-textarea {
    background: #1f1f1f;
    border: 1px solid #555;
    color: #e5e7eb;
}
.night .comment-input::placeholder,
.night .comment-textarea::placeholder {
    color: #6b7280;
}

.night .btn-send {
    background: #60a5fa;
    color: #0f172a;
}
.night .btn-send:hover { background: #3b82f6; }

.night .btn-cancel {
    background: #374151;
    color: #e5e7eb;
}
.night .btn-cancel:hover { background: #4b5563; }

#loadMore {
    display: none;
    margin: 16px auto;
    padding: 10px 16px;
    width: fit-content;
    background: #f3f4f6;
    color: #374151;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: .2s;
    user-select: none;
}

#loadMore:hover {
    background: #e5e7eb;
}

.night #loadMore {
    background: #2a2a2a;
    color: #d1d5db;
}

.night #loadMore:hover {
    background: #3a3a3a;
}

.comment-input {
    min-height: 80px;
    border: 1px solid #ccc;
    padding: 8px;
    border-radius: 6px;
    outline: none;
    white-space: pre-wrap;
    word-break: break-all;
}

.comment-input .emoji {
    width: 20px;
    height: 20px;
    margin: 0 2px;
    vertical-align: middle;
}

.username-input {
    width: 100%;
	min-height: 42px;
    border: 1px solid #ccc;
    padding: 8px;
    border-radius: 6px;
    outline: none;
    white-space: pre-wrap;
    word-break: break-all;
	margin-bottom: 10px;
}

.night .username-input {
    background: #1e1e1e;
    color: #eee;
    border-color: #555;
}

.night .username-input::placeholder {
    color: #888;
}


.send-success-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.75);
    color: #fff;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 16px;
    opacity: 0;
    transition: opacity .3s;
    z-index: 9999;
}

.comment-input:empty:before {
    content: "愿诸善友分享法喜…";
    color: #888;
    pointer-events: none;
}

.night .comment-input:empty:before {
    color: #666;
}	   