        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding-top: 80px;
        }

        /* 导航栏样式 */
        .navbar {
            background-color: #fff;
            border-radius: 0 0 8px 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            overflow: visible !important; /* 确保不会裁剪绝对定位的子元素 */
            position: fixed; /* 固定定位 */
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000; /* 确保导航栏在最上层 */
            width: 100%;
            margin: 0 auto; /* 居中 */
        }

        /* PC端样式 */
        .navbar-pc {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 20px;
            height: 60px;
        }

        .logo {
            display: flex;
            align-items: center;
        }

        .logo-text {
            font-size: 20px;
            font-weight: bold;
            color: #333;
            margin-left: 8px;
        }

        .search-box {
            display: flex;
            align-items: center;
            flex: 0 1 400px;
            margin: 0 20px;
            position: relative; /* 添加相对定位 */
            z-index: 1001; /* 确保搜索框作为定位上下文 */
        }

        .search-input {
            width: 100%;
            height: 36px;
            padding: 0 15px;
            border: 1px solid #e0e0e0;
            border-radius: 4px 0 0 4px;
            font-size: 14px;
            color: #333;
            outline: none;
        }

        .search-input::placeholder {
            color: #999;
        }

        .search-btn {
            width: 80px;
            height: 36px;
            background-color: #ff3c3c;
            color: white;
            border: none;
            border-radius: 0 4px 4px 0;
            font-size: 14px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .nav-menu {
            display: flex;
            list-style: none;
        }

        .nav-item {
            position: relative;
            margin: 0 12px;
        }

        .nav-link {
            display: block;
            padding: 10px 0;
            font-size: 16px;
            color: #333;
            text-decoration: none;
            transition: color 0.3s;
            position: relative;
        }

        .nav-link:hover {
            color: #ff3c3c;
        }

        .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background-color: #ff7c3c;
            border-radius: 3px;
        }

        .nav-icons {
            display: flex;
            align-items: center;
        }

        .icon-btn {
            width: 36px;
            height: 36px;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 18px;
            color: #666;
        }

        .user-action {
            width: 36px;
            height: 36px;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 18px;
            color: #666;
            cursor: pointer;
        }

        /* ===== 我的观影记录（头部下拉，记录存 cookie，逻辑同 mxone） ===== */
        .watch-history {
            position: relative;
        }

        .watch-history-panel {
            display: none;
            position: absolute;
            right: 0;
            top: 42px;
            width: 320px;
            background: #fff;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
            z-index: 2000;
            text-align: left;
            cursor: default;
        }

        .watch-history.open .watch-history-panel {
            display: block;
        }

        .watch-history-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 14px;
            border-bottom: 1px solid #f0f2f5;
            font-size: 14px;
            color: #333;
        }

        .watch-history-head .historyclean {
            color: #999;
            font-size: 13px;
            text-decoration: none;
        }

        .watch-history-head .historyclean:hover {
            color: #ff2a14;
        }

        .watch-history-list {
            list-style: none;
            margin: 0;
            padding: 6px 0;
            max-height: 50vh;
            overflow-y: auto;
        }

        .watch-history-list li {
            display: flex;
            align-items: center;
            margin: 0;
        }

        .watch-history-list a {
            flex: 1 1 auto;
            min-width: 0;
            display: flex;
            align-items: center;
            padding: 8px 6px 8px 14px;
            font-size: 14px;
            color: #333;
            text-decoration: none;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        /* 单条删除（服务端记录按 id 调 delVlog，本地记录改 cookie） */
        .watch-history-del {
            flex: 0 0 auto;
            width: 30px;
            padding-right: 8px;
            text-align: center;
            font-size: 16px;
            line-height: 1;
            color: #c8ccd4;
            cursor: pointer;
            user-select: none;
        }

        .watch-history-del:hover {
            color: #ff2a14;
        }

        /* 服务端记录（来自 APP 播放记录接口）会带上海报与集数 */
        .watch-history-list a .watch-history-pic {
            flex: 0 0 auto;
            width: 40px;
            height: 54px;
            margin-right: 10px;
            border-radius: 4px;
            object-fit: cover;
            background: #f3f5f7;
        }

        .watch-history-list a .watch-history-info {
            display: flex;
            min-width: 0;
            flex-direction: column;
            justify-content: center;
        }

        .watch-history-list a .watch-history-info strong {
            font-weight: 400;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .watch-history-list a .watch-history-info span {
            margin: 2px 0 0;
            color: #999;
            font-size: 12px;
        }

        .watch-history-list a:hover {
            background: #f3f5f7;
            color: #ff2a14;
        }

        .watch-history-list a span {
            margin-left: 6px;
            color: #999;
            font-size: 12px;
        }

        .watch-history-list .drop-tips {
            padding: 14px;
            text-align: center;
            color: #999;
            font-size: 13px;
        }

        @media (max-width: 992px) {
            .watch-history-panel {
                position: fixed;
                top: 54px;
                right: 10px;
                left: 10px;
                width: auto;
            }

            .watch-history-list {
                max-height: 60vh;
            }
        }

        /* 移动端样式 */
        .navbar-mobile {
            display: none;
            align-items: center;
            justify-content: space-between;
            padding: 0 15px;
            height: 50px;
        }

        .mobile-nav-menu {
            display: flex;
            list-style: none;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
            flex: 1;
            margin: 0 10px;
        }

        .mobile-nav-menu::-webkit-scrollbar {
            display: none;
        }

        .mobile-nav-item {
            flex-shrink: 0;
            margin: 0 10px;
        }

        .mobile-nav-link {
            display: block;
            padding: 12px 0;
            font-size: 15px;
            color: #333;
            text-decoration: none;
            position: relative;
        }

        .mobile-nav-link.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background-color: #ff7c3c;
            border-radius: 3px;
        }

        .mobile-icons {
            display: flex;
            align-items: center;
        }

        .mobile-icon-btn {
            width: 36px;
            height: 36px;
            border: none;
            background: transparent;
            margin-left: 10px;
            cursor: pointer;
            font-size: 18px;
            color: #666;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* 搜索推荐列表样式 - 修复版本 */
        .search-suggestions {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: white;
            border-radius: 0 0 8px 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            z-index: 1002; /* 确保比搜索框和导航栏更高 */
            display: none;
            max-height: 300px;
            overflow-y: auto;
            margin-top: 2px; /* 稍微偏移避免遮挡输入框边框 */
            border: 1px solid #e0e0e0;
            border-top: none;
        }

        /* 关键修复：确保.show类能够正确显示元素 */
        .search-suggestions.show {
            display: block !important;
            opacity: 1 !important;
            visibility: visible !important;
        }

        .suggestion-header {
            padding: 10px 15px;
            font-size: 14px;
            color: #666;
            border-bottom: 1px solid #f0f0f0;
            font-weight: 500;
        }

        /* 标签式布局样式 */
        .suggestions-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            padding: 10px 15px;
        }

        .suggestion-item {
            display: inline-flex;
            align-items: center;
            padding: 6px 12px;
            font-size: 13px;
            color: #333;
            text-decoration: none;
            border-radius: 16px;
            transition: all 0.2s;
            background: #fff5f5;
            border: 1px solid #ffd6d6;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
        }

        .suggestion-item:hover {
            background: #ff3c3c;
            color: white;
            transform: translateY(-1px);
            box-shadow: 0 2px 4px rgba(255, 60, 60, 0.2);
            border-color: #ff3c3c;
        }

        /* 热门推荐项样式 */
        .suggestion-item.hot {
            background: #fff5f5;
            border-color: #ffd6d6;
            color: #ff4757;
        }

        .suggestion-item.hot:hover {
            background: #ff4757;
            color: white;
            border-color: #ff4757;
        }

        /* 普通推荐项样式 */
        .suggestion-item.normal {
            background: #f8f9fa;
            border-color: #e9ecef;
            color: #6c757d;
        }

        .suggestion-item.normal:hover {
            background: #6c757d;
            color: white;
            border-color: #6c757d;
        }

        /* 火焰图标样式 */
        .suggestion-item .fire-icon {
            margin-right: 4px;
            font-size: 12px;
        }

        .suggestion-item.hot .fire-icon {
            color: #ff4757;
        }

        .suggestion-item.normal .fire-icon {
            color: #6c757d;
        }

        .suggestion-item:hover .fire-icon {
            color: white;
        }

        /* 移动端搜索框样式 */
        .mobile-search-container {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background: white;
            padding: 10px 15px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            z-index: 1100;
            display: none;
        }

        .mobile-search-box {
            display: flex;
            align-items: center;
        }

        .mobile-search-input {
            flex: 1;
            height: 36px;
            padding: 0 15px;
            border: 1px solid #e0e0e0;
            border-radius: 4px 0 0 4px;
            font-size: 14px;
            color: #333;
            outline: none;
        }

        .mobile-search-btn {
            width: 60px;
            height: 36px;
            background-color: #ff3c3c;
            color: white;
            border: none;
            border-radius: 0 4px 4px 0;
            font-size: 14px;
            cursor: pointer;
        }

        .mobile-search-close {
            width: 36px;
            height: 36px;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 18px;
            color: #666;
            margin-left: 10px;
            cursor: pointer;
        }

        /* 响应式设计 */
        @media (max-width: 992px) {
            .navbar-pc {
                display: none;
            }

            .navbar-mobile {
                display: flex;
            }

            .search-box {
                flex: 0 1 300px;
            }
        }

        @media (max-width: 576px) {
            .mobile-nav-item {
                margin: 0 8px;
            }

            .mobile-nav-link {
                font-size: 14px;
            }

            .mobile-icon-btn {
                width: 30px;
                height: 30px;
                margin-left: 8px;
            }
        }
