* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}


/* Header */

.header {
    background: #fff;
    border-radius: 4px 4px 0 0;
    position: relative;
}

.header-content {
    height: 100px;
    padding: 0 20px;
    position: relative;
}

.logo-section {
    float: left;
    width: 282px;
    margin-top: 20px;
}

.logo {
    display: block;
    width: 282px;
    height: 60px;
    background: url('../../img/logo.png') no-repeat;
    background-position: 50% 50%;
    background-size: cover;
    text-decoration: none;
}

.search-section {
    float: left;
    position: relative;
    width: 280px;
    margin-top: 30px;
    margin-left: 60px;
    padding: 5px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, .6);
}

.search-form {
    display: flex;
    align-items: center;
}

.search-input {
    display: block;
    width: 100%;
    height: 35px;
    line-height: 35px;
    padding: 0 45px 0 10px;
    font-size: 12px;
    border-radius: 4px;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    background-color: #f5f5f5;
    color: #999;
    border: 0;
    outline: none;
}

.search-btn {
    display: block;
    position: absolute;
    top: 5px;
    right: 5px;
    width: 35px;
    height: 35px;
    border: 0;
    cursor: pointer;
    background: url('../../img/icon_seacrh.png') center no-repeat;
}

.stui-header__user {
    float: right;
    list-style: none;
    margin: 0;
    padding: 0;
    margin-top: 17px;
}

.stui-header__user>li {
    float: left;
    position: relative;
    margin-left: 30px;
    list-style: none;
}

.stui-header__user>li>span,
.stui-header__user>li>a {
    display: inline-block;
    width: 28px;
    height: 28px;
    background-size: 28px !important;
    cursor: pointer;
    margin: 0;
}

.icon_history {
    background: url('../../img/icon_history.png') center no-repeat;
}

.icon_color {
    background: url('../../img/icon_color.png') center no-repeat;
}

.icon_color.dark {
    background: url('../../img/icon_color.png') center no-repeat;
    filter: invert(1);
}

.dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
    min-width: 200px;
    padding: 10px;
}

.dropdown.show {
    display: block;
}

.dropdown h5 {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #666;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.dropdown h5 a {
    float: right;
    color: #666;
    text-decoration: none;
    font-size: 12px;
}

.dropdown ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dropdown ul li {
    margin-bottom: 5px;
}

.dropdown ul li a {
    display: block;
    padding: 5px 0;
    color: #333;
    text-decoration: none;
    font-size: 12px;
    line-height: 1.4;
}

.dropdown ul li a:hover {
    color: #007bff;
}

.text-red {
    color: #dc3545 !important;
}

.text-muted {
    color: #666 !important;
}

.pull-right {
    float: right;
}

.text-center {
    text-align: center;
}

.margin-0 {
    margin: 0;
}


/* 主题切换样式 */

.dropdown.color {
    min-width: 150px;
}

.dropdown.color ul {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}

.dropdown.color li {
    margin: 0;
}

.dropdown.color a {
    display: block;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.dropdown.color a:hover {
    border-color: #007bff;
}

.gray-color {
    background: #f8f9fa;
}

.gules-color {
    background: #dc3545;
}

.blue-color {
    background: #007bff;
}

.green-color {
    background: #28a745;
}

.dropdown.color p {
    font-size: 12px;
    color: #666;
    margin: 0;
    padding-top: 5px;
    border-top: 1px solid #eee;
}

.header-menu {
    position: relative;
    margin: 0;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}

.header-menu .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.stats {
    color: #666;
    font-size: 14px;
}

.menu-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.menu-list li {
    position: relative;
}

.menu-list li a {
    color: #333;
    text-decoration: none;
    padding: 8px 15px;
    transition: color 0.3s ease;
    font-size: 14px;
}

.menu-list li.active a,
.menu-list li a:hover {
    color: #007bff;
}

.menu-list li.active::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: #007bff;
}


/* Hero Section */

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 0;
    color: white;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}


/* Main Content */

.main-content {
    padding: 5px 0;
}

.section {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.section-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.section-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.section-more {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.section-more:hover {
    color: #0056b3;
    text-decoration: underline;
    transform: translateX(3px);
}

.section-more i {
    font-style: normal;
    margin-left: 3px;
}


/* Carousel */

.carousel-section {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.carousel-container {
    padding: 20px;
}

.swiper {
    width: 100%;
    height: 300px;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.carousel-item {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px;
    text-align: left;
}

.carousel-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.carousel-meta {
    font-size: 14px;
    opacity: 0.8;
}


/* Video Grid */

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    padding: 20px;
}

.video-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: #333;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.video-thumb {
    position: relative;
    width: 100%;
    height: 120px;
    background: #ddd;
    overflow: hidden;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    background-color: #f5f5f5;
}

.video-thumb img:not([src]),
.video-thumb img[src=""],
.video-thumb img[src*="load.gif"] {
    background: linear-gradient(135deg, #f5f5f5 25%, transparent 25%), linear-gradient(225deg, #f5f5f5 25%, transparent 25%), linear-gradient(45deg, #f5f5f5 25%, transparent 25%), linear-gradient(315deg, #f5f5f5 25%, transparent 25%);
    background-position: 10px 0, 10px 0, 0 0, 0 0;
    background-size: 20px 20px;
    background-repeat: repeat;
    position: relative;
}

.video-thumb img:not([src])::after,
.video-thumb img[src=""]::after,
.video-thumb img[src*="load.gif"]::after {
    content: "暂无图片";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #999;
    font-size: 12px;
    text-align: center;
}

.video-card:hover .video-thumb img {
    transform: scale(1.05);
}

.video-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    background: #dc3545;
    color: white;
    padding: 2px 6px;
    border-radius: 2px;
    font-size: 10px;
}

.video-info {
    padding: 10px;
}

.video-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.video-meta {
    font-size: 12px;
    color: #666;
}


/* Category Tabs */

.category-tabs {
    display: flex;
    gap: 10px;
    /* margin-bottom: 20px; */
    padding: 0 20px;
    flex-wrap: wrap;
}

.category-tab {
    padding: 2px 15px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.category-tab.active,
.category-tab:hover {
    background: #007bff;
    color: white;
    border-color: #007bff;
}


/* Footer */

.footer {
    background: #fff;
    padding: 30px 0;
    margin-top: 50px;
    border-top: 1px solid #eee;
}

.footer-content {
    text-align: center;
    color: #666;
    font-size: 14px;
}

.footer-links {
    margin-top: 20px;
}

.footer-links a {
    color: #007bff;
    text-decoration: none;
    margin: 0 10px;
}

.footer-links a:hover {
    text-decoration: underline;
}


/* Floating Button */

.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.floating-buttons.show {
    opacity: 1;
}

.btn-top {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 50%;
    font-size: 20px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-top:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-4px) scale(1.05);
    color: white;
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.6);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-top:active {
    transform: translateY(-2px) scale(0.95);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}


/* Responsive */

@media (max-width: 768px) {
    .header-content {
        height: 60px;
        padding: 0 10px;
    }
    .logo-section {
        width: 127px;
        margin: 15px 0 0;
        padding: 0;
    }
    .logo {
        width: 127px;
        height: 30px;
    }
    .search-section {
        float: none;
        width: auto;
        margin: 5px 0 0;
        padding: 0;
        position: absolute;
        top: 10px;
        right: 50px;
        left: 150px;
    }
    .search-input {
        height: 30px;
        line-height: 30px;
        border-radius: 5px;
        padding: 6px 40px 6px 10px;
    }
    .search-btn {
        top: 0;
        right: 0;
        width: 30px;
        height: 30px;
    }
    .nav-menu {
        padding: 18px 0 10px;
        margin-left: 10px;
    }
    .header-menu .container {
        flex-direction: column;
        gap: 10px;
    }
    .menu-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    .hero-title {
        font-size: 2rem;
    }
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
        padding: 15px;
    }
    .category-tabs {
        padding: 0 15px;
    }
    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }
}


/* Loading Animation */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}


/* Theme Styles */

.theme-gray {
    --primary-color: #6c757d;
    --secondary-color: #495057;
}

.theme-red {
    --primary-color: #dc3545;
    --secondary-color: #c82333;
}

.theme-blue {
    --primary-color: #007bff;
    --secondary-color: #0056b3;
}

.theme-green {
    --primary-color: #28a745;
    --secondary-color: #1e7e34;
}


/* Apply theme colors */

.theme-gray .btn-top,
.theme-gray .category-tab.active,
.theme-gray .category-tab:hover {
    background: var(--primary-color);
}

.theme-red .btn-top,
.theme-red .category-tab.active,
.theme-red .category-tab:hover {
    background: var(--primary-color);
}

.theme-blue .btn-top,
.theme-blue .category-tab.active,
.theme-blue .category-tab:hover {
    background: var(--primary-color);
}

.theme-green .btn-top,
.theme-green .category-tab.active,
.theme-green .category-tab:hover {
    background: var(--primary-color);
}


/* Dark Mode Styles */

body.dark-mode {
    background: #1a1a1a;
    color: #e0e0e0;
}

body.dark-mode .header {
    background: #2d2d2d;
}

body.dark-mode .header-menu {
    background: #333;
    border-top-color: #444;
}

body.dark-mode .section {
    background: #2d2d2d;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

body.dark-mode .carousel-section {
    background: #2d2d2d;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

body.dark-mode .section-header {
    border-bottom-color: #444;
}

body.dark-mode .section-title {
    color: #e0e0e0;
}

body.dark-mode .video-card {
    background: #2d2d2d;
}

body.dark-mode .video-info {
    background: #2d2d2d;
}

body.dark-mode .video-title {
    color: #e0e0e0;
}

body.dark-mode .video-meta {
    color: #aaa;
}

body.dark-mode .footer {
    background: #2d2d2d;
    border-top-color: #444;
}

body.dark-mode .footer-content {
    color: #aaa;
}

body.dark-mode .search-input {
    background-color: #333;
    color: #e0e0e0;
}

body.dark-mode .search-input::placeholder {
    color: #888;
}

body.dark-mode .menu-list li a {
    color: #e0e0e0;
}

body.dark-mode .menu-list li a:hover {
    color: #007bff;
}

body.dark-mode .section-more {
    color: #007bff;
}

body.dark-mode .section-more:hover {
    color: #66b3ff;
}

body.dark-mode .stats {
    color: #aaa;
}

body.dark-mode .dropdown {
    background: #2d2d2d;
    border-color: #444;
}

body.dark-mode .dropdown h5 {
    color: #aaa;
    border-bottom-color: #444;
}

body.dark-mode .dropdown ul li a {
    color: #e0e0e0;
}

body.dark-mode .dropdown ul li a:hover {
    color: #007bff;
}


/* 筛选器样式 */

.filter-section {
    background: #f8f9fa;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
}

.filter-label {
    font-weight: 600;
    color: #333;
    min-width: 60px;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-option {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-option:hover,
.filter-option.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}


/* 分页样式 */

.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 30px 0;
    gap: 15px;
}

.pagination-info {
    color: #666;
    font-size: 14px;
}

.pagination {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.pagination li {
    margin: 0;
}

.pagination li a,
.pagination li span {
    display: block;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #666;
    background: white;
    transition: all 0.3s ease;
    min-width: 40px;
    text-align: center;
}

.pagination li a:hover {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.pagination li span.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.pagination li span.disabled {
    background: #f5f5f5;
    color: #ccc;
    cursor: not-allowed;
}


/* 加载状态 */

.loading-state {
    text-align: center;
    padding: 40px;
    color: #666;
}

.error-state {
    text-align: center;
    padding: 40px;
    color: #dc3545;
}


/* 响应式设计 */

@media (max-width: 768px) {
    .filter-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .filter-options,
    .sort-options {
        flex-wrap: wrap;
    }
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }
    .pagination li a,
    .pagination li span {
        padding: 6px 10px;
        min-width: 35px;
        font-size: 14px;
    }
}


/* 详情页样式 - 参考 bldianwan.com 优化 */

.stui-content {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    gap: 18px;
    flex-wrap: wrap;
}

.stui-content__thumb {
    flex-shrink: 0;
    width: 200px;
}

.stui-content__thumb .pic {
    display: block;
    position: relative;
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.stui-content__thumb .pic img {
    width: 100%;
    height: 280px;
    border-radius: 6px;
    display: block;
    object-fit: cover;
    background-color: #f8f9fa;
    transition: transform 0.3s ease;
}

.stui-content__thumb .pic:hover img {
    transform: scale(1.02);
}

.stui-content__thumb .pic-text {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 0, 0, 0.8);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.stui-content__detail {
    flex: 1;
    min-width: 0;
    padding: 0;
}

.stui-content__detail .title {
    margin: 0 0 12px;
    line-height: 1.3;
    font-size: 22px;
    font-weight: bold;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 6px;
}

.stui-content__detail .title .score {
    display: inline-block;
    margin-left: 12px;
    font-family: Georgia, "Times New Roman", Times, serif;
    color: #e74c3c;
    font-weight: bold;
    font-size: 16px;
    background: #fff5f5;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid #ffebee;
}

.stui-content__detail .data {
    margin-bottom: 8px !important;
    line-height: 1.6 !important;
    color: #555 !important;
    font-size: 14px !important;
    word-break: normal !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    background: #f8f9fa !important;
    padding: 8px 12px !important;
    border-radius: 6px !important;
    border-left: 4px solid #3498db !important;
}

.stui-content__detail .data .split-line {
    margin: 0 6px !important;
    color: #ddd !important;
    display: inline-block !important;
}

.stui-content__detail .data .hidden-xs {
    font-weight: 500 !important;
    color: #666 !important;
    display: inline-block !important;
}

.stui-content__detail .desc {
    padding-left: 0;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 6px;
    border-left: 4px solid #27ae60;
}

.stui-content__detail .desc.hidden-xs {
    display: none;
}

.stui-content__detail .desc .left {
    margin-left: 0;
    color: #2c3e50;
    font-weight: bold;
    margin-bottom: 6px;
    display: block;
}

.stui-content__detail .playbtn {
    padding-left: 0;
    margin-top: 15px;
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.stui-content__detail .playbtn a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    height: 40px;
    line-height: 40px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border: none;
    text-align: center;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(52, 152, 219, 0.3);
}

.stui-content__detail .playbtn a:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1f5f8b 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.4);
}

.stui-content__detail .playbtn a.active {
    min-width: 130px;
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    box-shadow: 0 2px 6px rgba(39, 174, 96, 0.3);
}

.stui-content__detail .playbtn a.active:hover {
    background: linear-gradient(135deg, #229954 0%, #1e8449 100%);
    box-shadow: 0 4px 10px rgba(39, 174, 96, 0.4);
}

.stui-content__detail .playbtn .bds_more {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    background: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
    border-radius: 6px !important;
    padding: 8px 14px !important;
    color: #6c757d !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

.stui-content__detail .playbtn .bds_more:hover {
    background: #e9ecef !important;
    border-color: #dee2e6 !important;
    color: #495057 !important;
    transform: translateY(-1px);
}


/* 提示区域样式 - 优化版 */

.tips-section {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e8e8e8;
    border-left: 4px solid #f39c12;
}

.tips-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #2c3e50;
    border-bottom: 2px solid #f39c12;
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tips-title::before {
    content: "💡";
    font-size: 18px;
}

.tips-content {
    color: #555;
    line-height: 1.7;
}

.tips-content p {
    margin-bottom: 10px;
    padding-left: 16px;
    position: relative;
}

.tips-content p::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #f39c12;
    font-weight: bold;
}

.tips-content ul {
    margin: 12px 0;
    padding-left: 20px;
}

.tips-content li {
    margin-bottom: 6px;
    padding-left: 12px;
    position: relative;
}

.tips-content li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #f39c12;
    font-weight: bold;
}

.tips-content strong {
    color: #2c3e50;
    font-weight: 600;
}


/* 相关推荐样式 - 优化版 */

.related-section {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e8e8e8;
}

.related-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #2c3e50;
    border-bottom: 2px solid #9b59b6;
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.related-title::before {
    content: "🎬";
    font-size: 18px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.related-item {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    background: #f8f9fa;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.related-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    border-color: #3498db;
}

.related-thumb {
    position: relative;
    border-radius: 6px 6px 0 0;
    overflow: hidden;
    margin-bottom: 0;
}

.related-thumb img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    transition: transform 0.3s ease;
    background-color: #f8f9fa;
}

.related-item:hover .related-thumb img {
    transform: scale(1.05);
}

.related-info {
    padding: 10px;
}

.related-name {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #2c3e50;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.3;
}

.related-meta {
    font-size: 11px;
    color: #7f8c8d;
    display: flex;
    align-items: center;
    gap: 6px;
}

.related-meta::before {
    content: "📅";
    font-size: 11px;
}


/* 响应式设计 - 优化版 */

@media (max-width: 1023px) {
    .stui-content__detail {
        width: 100%;
    }
    .related-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 12px;
    }
}

@media (max-width: 767px) {
    .stui-content {
        flex-direction: column;
        padding: 15px;
        gap: 15px;
        border-radius: 6px;
    }
    .stui-content__thumb {
        width: 160px;
        margin: 0 auto;
    }
    .stui-content__thumb .pic img {
        height: 220px;
    }
    .stui-content__detail {
        padding: 0;
        width: 100%;
    }
    .stui-content__detail .title {
        font-size: 18px;
        margin-bottom: 12px;
    }
    .stui-content__detail .data {
        margin-bottom: 8px;
        padding: 10px;
        font-size: 13px;
        white-space: normal;
        word-break: break-all;
    }
    .stui-content__detail .playbtn {
        margin-top: 12px;
        flex-direction: column;
        align-items: stretch;
    }
    .stui-content__detail .playbtn a {
        height: 36px;
        line-height: 36px;
        margin-bottom: 8px;
    }
    .stui-content__detail .playbtn a.active {
        min-width: auto;
    }
    .stui-content__detail .playbtn .bdsharebuttonbox {
        margin-left: 0;
        margin-top: 8px;
    }
    .related-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 10px;
    }
    .related-thumb img {
        height: 100px;
    }
    .tips-section,
    .related-section {
        padding: 15px;
        border-radius: 6px;
    }
    /* 移动端隐藏详情 */
    .stui-content__detail .desc.hidden-xs {
        display: none;
    }
    /* 移动端隐藏部分信息 */
    .stui-content__detail .data .hidden-xs {
        display: none;
    }
    /* 移动端调整分割线 */
    .stui-content__detail .data .split-line.hidden-xs {
        display: none;
    }
}


/* 移动端隐藏类 */

.hidden-xs {
    display: none !important;
}

@media (min-width: 768px) {
    .hidden-xs {
        display: block !important;
    }
}


/* 移动端显示类 */

.visible-xs {
    display: block !important;
}

@media (min-width: 768px) {
    .visible-xs {
        display: none !important;
    }
}


/* 播放页样式 - 参考 bldianwan.com */


/* 播放页容器 */

.video-player-container {
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    position: relative;
}

.video-player {
    width: 100%;
    position: relative;
    background: #000;
}


/* 视频播放器 */

#videoPlayer {
    width: 100%;
    height: auto;
    min-height: 400px;
    background: #000;
    display: block;
}


/* 无视频状态 */

.no-video {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 18px;
    text-align: center;
}

.no-video p {
    margin: 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}


/* 播放页信息区域 */

.section-info {
    background: #f8f9fa;
    padding: 12px 20px;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-info::before {
    content: "▶";
    color: #007bff;
    font-weight: bold;
}


/* 播放页相关推荐 */

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    padding: 20px;
}


/* 播放页响应式设计 */

@media (max-width: 768px) {
    .video-player-container {
        border-radius: 6px;
        margin-bottom: 15px;
    }
    #videoPlayer {
        min-height: 250px;
    }
    .no-video {
        min-height: 250px;
        font-size: 16px;
    }
    .section-info {
        padding: 10px 15px;
        font-size: 13px;
    }
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
        padding: 12px;
    }
}


/* 播放页暗色主题 */

body.dark-mode .video-player-container {
    background: #1a1a1a;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

body.dark-mode .section-info {
    background: #2d2d2d;
    color: #e0e0e0;
    border-bottom-color: #444;
}


/* 播放页加载动画 */

.video-player-container.loading {
    position: relative;
}

.video-player-container.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}


/* 播放页错误状态 */

.video-player-container.error {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    text-align: center;
    padding: 40px 20px;
}

.video-player-container.error::before {
    content: "⚠️";
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
}


/* 播放页全屏按钮 */

.video-player-container .fullscreen-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    z-index: 10;
}

.video-player-container .fullscreen-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.05);
}


/* 播放页进度条样式 */

.video-player-container .progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    z-index: 10;
}

.video-player-container .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #007bff, #28a745);
    width: 0%;
    transition: width 0.3s ease;
}


/* 播放页控制按钮 */

.video-controls {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.video-player-container:hover .video-controls {
    opacity: 1;
}

.video-controls button {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
}

.video-controls button:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.05);
}


/* 播放页样式 - Apple CMS 标准结构 */


/* 面板样式 */

.stui-pannel {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.stui-pannel__head {
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.stui-pannel__head .title {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stui-pannel__head .title i {
    color: #007bff;
}

.stui-pannel_bd {
    padding: 20px;
}


/* 标签页样式 */

.tab {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 10px;
}

.tab li {
    margin: 0;
}

.tab li a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    color: #495057;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
}

.tab li a:hover {
    background: #007bff;
    color: white;
    border-color: #007bff;
    text-decoration: none;
}


/* 下拉菜单样式 */

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    list-style: none;
    margin: 0;
    padding: 8px 0;
    min-width: 150px;
    z-index: 1000;
    display: none;
}

.dropdown.show .dropdown-menu {
    display: block;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 8px 15px;
    color: #495057;
    text-decoration: none;
    font-size: 13px;
    transition: background-color 0.3s ease;
}

.dropdown-menu li a:hover {
    background: #f8f9fa;
    color: #007bff;
    text-decoration: none;
}


/* 视频列表样式 */

.stui-vodlist {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 15px;
}

.stui-vodlist li {
    flex: 0 0 auto;
    width: calc(16.666% - 12.5px);
    margin: 0;
}

.stui-vodlist__thumb {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 8px;
}

.stui-vodlist__thumb img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.stui-vodlist__thumb:hover img {
    transform: scale(1.05);
}

.stui-vodlist__thumb .pic-text {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(255, 0, 0, 0.8);
    color: white;
    padding: 2px 6px;
    border-radius: 2px;
    font-size: 10px;
    font-weight: bold;
}

.stui-vodlist__detail {
    padding: 0 5px;
}

.stui-vodlist__detail .title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.3;
}

.stui-vodlist__detail .title a {
    color: #2c3e50;
    text-decoration: none;
}

.stui-vodlist__detail .title a:hover {
    color: #007bff;
}

.stui-vodlist__detail .text {
    font-size: 11px;
    color: #7f8c8d;
    line-height: 1.3;
}


/* 响应式设计 */


/* 工具类 */

.col-pd {
    padding: 0 20px;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.text-overflow {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.margin-0 {
    margin: 0;
}

.hide {
    display: none !important;
}