body { font-family: sans-serif; background: #0a0a0a; color: #fff; margin: 0; padding: 0; }
        
/* 电脑端保持吸顶，收敛阴影， */
.header { background: #121212; padding: 0px; position: sticky; top: 0; z-index: 100; border-bottom: 1px solid #222; box-shadow: 0 2px 5px rgba(0,0,0,0.8); margin-bottom: 10px; }

/* 🔥 统一容器宽度 1000px */
.container { max-width: 1000px; margin: 0 auto; padding: 5px; }

.header-top, .notice-wrapper { transition: all 0.3s ease; max-height: 1000px; opacity: 1; overflow: hidden; }

.header-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; flex-wrap: wrap; gap: 10px; }

/* 发光霓虹 Logo - 统一版本 */
.logo-container { 
    display: flex; 
    align-items: center; 
    gap: 15px;
    cursor: pointer; 
    user-select: none; 
    transition: 0.2s; 
    padding-left: 10px;
}
.logo-container:hover { opacity: 0.8; transform: scale(1.02); }
.logo-text { font-size: 28px; font-weight: bold; color: #ff0055; text-shadow: 0 0 10px #ff0055, 0 0 20px #ff0055, 0 0 30px #ff0055; letter-spacing: -1px; }

/* 公告栏外包裹层 */
.notice-wrapper { margin-bottom: 5px; }

/* 公告栏主体结构 - 添加 position: relative 支持滚动 */
.notice-bar {
    background: #111;
    border: 1px solid #ff0055;
    border-radius: 4px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    
    position: relative;
} 
/* 广播图标霓虹发光 */
.notice-bar i {
    color: #ff0055;
    font-size: 18px;
    text-shadow: 0 0 8px #ff0055;
    flex-shrink: 0;
}
/* 滚动文字区域 - 修复滚动起始位置 */
.marquee-text {
    white-space: nowrap;
    display: inline-block;
    animation: marquee 12s linear infinite;
    color: #fff;
    font-size: 14px;
    padding-left: 100%;
    will-change: transform;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* ============================================================
   🔥 下拉菜单导航栏样式（在 header 内，公告栏下方）
   ============================================================ */

.nav-dropdown-wrapper {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin: 8px 0 4px 0;
    padding: 0 5px;
    justify-content: flex-start;
    align-items: stretch;
}

.dropdown-btn-group {
    position: relative;
    display: inline-flex;
    align-items: stretch;
}

/* 主按钮样式 */
.dropdown-main-btn {
    background: #1c1c1c;
    color: #bbb;
    border: 1px solid #333;
    padding: 8px 16px;
    border-radius: 4px 0 0 4px;
    cursor: pointer;
    font-size: 13px;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    height: 38px;
    font-family: inherit;
}

.dropdown-main-btn:hover {
    background: #2a2a2a;
    color: #fff;
}

.dropdown-main-btn.active {
    background: #ff0055;
    color: #fff;
    border-color: #ff0055;
    box-shadow: 0 0 12px rgba(255, 0, 85, 0.3);
}

/* 下拉箭头按钮 */
.dropdown-arrow-btn {
    background: #1c1c1c;
    color: #888;
    border: 1px solid #333;
    border-left: none;
    padding: 8px 10px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 12px;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    min-width: 30px;
    font-family: inherit;
}

.dropdown-arrow-btn:hover {
    background: #2a2a2a;
    color: #fff;
}

.dropdown-arrow-btn.active {
    background: #ff0055;
    color: #fff;
    border-color: #ff0055;
}

.dropdown-arrow-btn .fa-chevron-down {
    transition: transform 0.25s ease;
}

.dropdown-arrow-btn.open .fa-chevron-down {
    transform: rotate(180deg);
}

/* 下拉菜单面板 */
.dropdown-panel {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 6px 0;
    min-width: 140px;
    z-index: 50;
    display: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8);
    flex-direction: column;
    gap: 2px;
    max-height: 350px;
    overflow-y: auto;
}

.dropdown-panel.open {
    display: flex;
}

.dropdown-panel .dropdown-item {
    background: transparent;
    color: #bbb;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 13px;
    text-align: left;
    transition: 0.15s;
    font-family: inherit;
    white-space: nowrap;
    width: 100%;
}

.dropdown-panel .dropdown-item:hover {
    background: #2a2a2a;
    color: #fff;
}

.dropdown-panel .dropdown-item.active {
    background: rgba(255, 0, 85, 0.15);
    color: #ff0055;
    font-weight: bold;
}

/* 🔥 手机端适配 - 按钮更大，一行显示3个 */
@media (max-width: 768px) {
    .nav-dropdown-wrapper {
        gap: 6px;
        margin: 8px 0 6px 0;
        padding: 0 5px;
        justify-content: flex-start;
    }

    /* 每个按钮组占一行的大约 1/3 */
    .dropdown-btn-group {
        flex: 0 0 calc(33.33% - 4px);
        min-width: 0;
        max-width: calc(33.33% - 4px);
    }

    .dropdown-main-btn {
        font-size: 13px;
        padding: 10px 8px;
        height: 44px;
        gap: 5px;
        justify-content: center;
        border-radius: 4px 0 0 4px;
        flex: 1;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .dropdown-main-btn i {
        font-size: 14px;
        flex-shrink: 0;
    }

    .dropdown-arrow-btn {
        padding: 10px 6px;
        height: 44px;
        min-width: 28px;
        font-size: 14px;
        flex-shrink: 0;
    }

    .dropdown-panel {
        min-width: 160px;
        max-height: 280px;
        left: 0;
    }

    .dropdown-panel .dropdown-item {
        font-size: 15px;
        padding: 10px 16px;
    }
}

/* 更小屏幕适配 */
@media (max-width: 480px) {
    .dropdown-btn-group {
        flex: 0 0 calc(33.33% - 4px);
        max-width: calc(33.33% - 4px);
    }

    .dropdown-main-btn {
        font-size: 12px;
        padding: 8px 6px;
        height: 40px;
        gap: 4px;
    }

    .dropdown-main-btn i {
        font-size: 12px;
    }

    .dropdown-arrow-btn {
        padding: 8px 4px;
        height: 40px;
        min-width: 24px;
        font-size: 10px;
    }

    .dropdown-panel {
        min-width: 140px;
        max-height: 240px;
    }

    .dropdown-panel .dropdown-item {
        font-size: 16px;
        padding: 8px 14px;
    }
}

/* 搜索栏 */
.search-container { margin-bottom: 0 !important; }

/* ============================================================
   🔥 搜索框 - 默认灰白色边框，有内容时变为霓虹色
   ============================================================ */
.search-box {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 520px;
    height: 42px;
    border: 1px solid #888;
    background: #111;
    border-radius: 6px;
    overflow: visible;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* 🔥 搜索框有内容时 - 霓虹粉色特效 */
.search-box.has-content {
    border: 1px solid #ff0055;
    box-shadow: 0 0 15px rgba(255, 0, 85, 0.4), 0 0 30px rgba(255, 0, 85, 0.15);
}

/* 🔥 有内容时分割线变为粉色 */
.search-box.has-content .button-group {
    border-left: 1px solid #ff0055;
}

/* 🔥 有内容时搜索按钮左边框变为粉色 */
.search-box.has-content .button-group button:last-child {
    border-left: 1px solid #ff0055;
}

/* 输入框 */
.search-box input {
    flex: 1;
    height: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: #fff;
    font-size: 14px;
    padding: 0 14px;
    box-sizing: border-box;
    min-width: 0;
    -webkit-appearance: none;
    appearance: none;
    background-color: transparent !important;
    order: 0;
}

/* autofill 样式覆盖 */
.search-box input:-webkit-autofill,
.search-box input:-webkit-autofill:hover,
.search-box input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px #111 inset !important;
    -webkit-text-fill-color: #fff !important;
    caret-color: #fff;
}

/* 两个按钮区域 */
.search-box .button-group {
    display: flex;
    height: 100%;
    border-left: 1px solid #555;
    order: 2;
    transition: border-color 0.3s ease;
}

/* 两个按钮样式 */
.button-group button {
    flex: 1;
    height: 100%;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    background: #161616;
    color: #888;
    transition: 0.2s;
}

/* 搜索主按钮 */
.button-group button:last-child {
    background: #ff0055;
    color: #fff;
    border-left: 1px solid #555;
    transition: border-color 0.3s ease;
}

/* 按钮 Hover 效果 */
.button-group button:hover {
    color: #fff;
    background: #ff3377;
}

/* 清除按钮样式 - 默认隐藏，只在有输入内容时显示 */
.search-clear-btn {
    position: static;
    color: #666;
    background: transparent;
    display: none;
    align-items: center;
    justify-content: center;
    width: 28px;
    min-width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    border: none;
    z-index: 10;
    order: 1;
}
.search-clear-btn:hover { 
    color: #ff0055; 
    background: rgba(255, 0, 85, 0.2);
    text-shadow: 0 0 5px #ff0055; 
}

/* 全局轻量化黑红霓虹 Toast 提示样式 */
.toast-notice { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.8); background: rgba(15, 15, 15, 0.98); border: 2px solid #ff0055; box-shadow: 0 0 25px rgba(255, 0, 85, 0.8); color: #fff; padding: 12px 24px; border-radius: 30px; font-size: 14px; font-weight: bold; z-index: 99999; opacity: 0; pointer-events: none; transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275); display: flex; align-items: center; gap: 8px; letter-spacing: 0.5px; white-space: nowrap; }
.toast-notice.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* 中间内容区 */
.category-main,
.content-main {
    width: 100%;
    min-width: 0;
    max-width: 1000px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* ============================================================
   🔥 分类下方横幅广告轮播区域（一行只显示一个）
   ============================================================ */
.banner-ad-section {
    width: 100%;
    box-sizing: border-box;
    max-width: 1000px;
    margin: 0 auto;
}

.banner-ad-container {
    position: relative;
    width: 100%;
    background: rgba(255, 0, 85, 0.03);
    border: 1px solid rgba(255, 0, 85, 0.15);
    border-radius: 8px;
    overflow: hidden;
    box-sizing: border-box;
}

/* 轮播滑动容器 */
.banner-slider {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.banner-ad-item {
    display: none;
    width: 100%;
    overflow: hidden;
    background: #0d0d0d;
    animation: slideIn 0.5s ease-out;
}

.banner-ad-item.active {
    display: block;
}

@keyframes slideIn {
    0% {
        opacity: 0.3;
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.banner-ad-item img {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.2s;
}

.banner-ad-item img:hover {
    transform: scale(1.01);
}

.banner-ad-item .ad-text {
    background: rgba(255, 0, 85, 0.08);
    border: 1px solid rgba(255, 0, 85, 0.2);
    border-radius: 6px;
    padding: 15px 20px;
    text-align: center;
    font-size: 15px;
    color: #ccc;
}

.banner-ad-item .ad-text a {
    color: #ff0055;
    text-decoration: none;
    font-weight: bold;
}

.banner-ad-item .ad-text a:hover {
    text-decoration: underline;
    text-shadow: 0 0 10px rgba(255, 0, 85, 0.3);
}

/* ===== 轮播指示器（圆点） ===== */
.slider-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.slider-dots .dot.active {
    background: #ff0055;
    box-shadow: 0 0 12px rgba(255, 0, 85, 0.6);
    transform: scale(1.2);
}

.slider-dots .dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* ===== 左右箭头 ===== */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 36px;
    height: 60px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 28px;
    font-weight: 300;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    user-select: none;
    opacity: 0;
}

.banner-ad-container:hover .slider-btn {
    opacity: 0.7;
}

.slider-btn:hover {
    background: rgba(255, 0, 85, 0.4);
    border-color: #ff0055;
    opacity: 1;
}

.slider-btn.prev {
    left: 8px;
}

.slider-btn.next {
    right: 8px;
}

/* 🔥 分区导航栏 - 不吸顶，正常滚动 */
.category-zone { 
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
    background: #141414; 
    border: 1px solid #222; 
    padding: 5px; 
    border-radius: 8px; 
}
.zone-row { display: flex; align-items: center; border-bottom: 1px dashed #252525; padding-bottom: 10px; }
.zone-row:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }

.zone-label { background: #1a1a1a; color: #ff0055; font-weight: bold; font-size: 13px; width: 95px; min-width: 95px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 4px; margin-right: 15px; border: 1px solid #ff0055; box-shadow: 0 0 8px rgba(255,0,85,0.2); letter-spacing: 1px; text-align: center; }
.zone-nav-list { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }

.nav-btn { background: #1c1c1c; color: #bbb; border: 1px solid #333; padding: 6px 14px; border-radius: 4px; cursor: pointer; font-size: 13px; transition: 0.15s; }
.nav-btn:hover, .nav-btn.active { background: #ff0055; color: #fff; border-color: #ff0055; font-weight: bold; box-shadow: 0 0 12px #ff0055; }

/* ✅ 当前播放提示条 - 带流光特效 */
.current-category-tip {
    grid-column: 1 / -1;
    text-align: center;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(255, 0, 85, 0.15), rgba(255, 0, 85, 0.05));
    border-radius: 12px;
    font-size: 16px;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    margin-top: 5px;
}

.current-category-tip::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        transparent 0%,
        transparent 20%,
        rgba(255, 0, 85, 0.25) 40%,
        rgba(255, 50, 100, 0.15) 55%,
        transparent 70%,
        transparent 100%
    );
    background-size: 300% 300%;
    animation: streamLight 2.5s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.current-category-tip::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 14px;
    background: linear-gradient(135deg, 
        transparent 30%, 
        rgba(255, 0, 85, 0.15) 45%, 
        rgba(255, 0, 85, 0.25) 55%, 
        transparent 70%
    );
    background-size: 300% 300%;
    animation: borderGlow 3s linear infinite;
    z-index: -1;
    opacity: 0.6;
}

.current-category-tip .tip-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: relative;
    z-index: 1;
}

.current-category-tip .cat-name {
    color: #ff0055;
    font-weight: bold;
    font-size: 18px;
    margin: 0 4px;
}

@keyframes streamLight {
    0% { background-position: 0% 0%; background-size: 200% 200%; }
    100% { background-position: 200% 200%; background-size: 200% 200%; }
}

@keyframes borderGlow {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 200%; }
}

/* PC 影片网格 */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 15px; min-height: 200px; }
.card { background: #141414; border-radius: 6px; overflow: hidden; cursor: pointer; border: 1px solid #222; transition: 0.2s; text-decoration: none; display: block; }
.card:hover { border-color: #ff0055; transform: translateY(-3px); }
.card .img-wp { width: 100%; height: 200px; background: #222; position: relative; }
.card img { width: 100%; height: 100%; object-fit: cover; border: none; }
.card p { 
    font-size: 12px;
    padding: 8px;
    margin: 0;
    color: #ddd;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis;
    word-break: break-word;
    line-height: 1.5;
    max-height: 54px;
    white-space: normal !important;
}

/* 分页器 */
.pagination-container { display: flex; justify-content: center; align-items: center; gap: 15px; margin: 30px 0; user-select: none; flex-wrap: wrap; }
.page-btn { background: #161616; color: #ccc; border: 1px solid #333; padding: 8px 18px; border-radius: 20px; cursor: pointer; font-size: 13px; font-weight: bold; transition: 0.2s; }
.page-btn:hover:not(:disabled) { border-color: #ff0055; color: #ff0055; box-shadow: 0 0 10px rgba(255,0,85,0.2); }
.page-btn:disabled { background: #080808; color: #444; border-color: #1a1a1a; cursor: not-allowed; }
.page-info { font-size: 14px; color: #aaa; font-weight: 500; }

.page-goto-box { display: flex; align-items: center; gap: 6px; background: #161616; border: 1px solid #333; padding: 4px 8px; border-radius: 20px; transition: 0.2s; }
.page-goto-box:focus-within { border-color: #ff0055; box-shadow: 0 0 10px rgba(255,0,85,0.2); }
.page-goto-box input { background: transparent; border: none; color: #fff; width: 45px; text-align: center; font-size: 13px; outline: none; font-weight: bold; }
.page-goto-box input::-webkit-outer-spin-button, .page-goto-box input[type=number] { -webkit-appearance: none; margin: 0; }
.page-goto-box input[type=number] { -moz-appearance: textfield; }
.goto-btn { background: #ff0055; border: none; color: #fff; padding: 4px 10px; border-radius: 12px; cursor: pointer; font-size: 12px; font-weight: bold; transition: 0.2s; }
.goto-btn:hover { background: #ff3377; box-shadow: 0 0 8px rgba(255,0,85,0.4); }

/* 头部新布局样式 - 电脑端 */
.header-main-flex {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
}

.logo-container {
    flex-shrink: 0;
}

.search-and-stats {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.search-container {
    flex: 1;
    max-width: 520px;
}

.stats-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    color: #888;
    white-space: nowrap;
    text-align: right;
    min-width: 150px;
}

.stats-info span {
    color: #ff0055;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 0, 85, 0.5);
}

.logo-container img {
    box-shadow: 0 0 10px rgba(255, 0, 85, 0.3);
    border: 1px solid #333;
}
.logo-subtext { 
    font-weight: bold; 
    color: #ff0055;
    text-shadow: 0 0 10px #ff0055, 0 0 20px #ff0055, 0 0 30px #ff0055;
    letter-spacing: 1px;
}
.logo-text { 
    font-size: 13px;
    color: #999;
    letter-spacing: 1px;
    text-shadow: none;
    margin-top: 2px;
}

.logo-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1;
}

/* ========== 播放页加载提示 - 未来科技蓝 + 连续流光特效 ========== */
.play-loading-tips {
    background: rgba(0, 150, 255, 0.08);
    border: 1px solid rgba(0, 150, 255, 0.3);
    border-radius: 8px;
    padding: 12px 16px;
    margin: 10px 0 15px 0;
    font-size: 14px;
    color: #66d9ff;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.play-loading-tips::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        transparent 0%,
        transparent 20%,
        rgba(0, 200, 255, 0.25) 40%,
        rgba(100, 200, 255, 0.15) 55%,
        transparent 70%,
        transparent 100%
    );
    background-size: 300% 300%;
    animation: streamLightBlue 2.5s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.play-loading-tips i,
.play-loading-tips span {
    position: relative;
    z-index: 1;
}

.play-loading-tips i {
    color: #00bfff;
    font-size: 16px;
    flex-shrink: 0;
    text-shadow: 0 0 10px rgba(0, 150, 255, 0.5);
}

.play-loading-tips strong {
    color: #00d4ff;
    text-shadow: 0 0 8px rgba(0, 200, 255, 0.4);
}

.play-loading-tips::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 10px;
    background: linear-gradient(135deg, 
        transparent 30%, 
        rgba(0, 200, 255, 0.15) 45%, 
        rgba(0, 150, 255, 0.25) 55%, 
        transparent 70%
    );
    background-size: 300% 300%;
    animation: borderGlowBlue 3s linear infinite;
    z-index: -1;
    opacity: 0.6;
}

@keyframes streamLightBlue {
    0% { background-position: 0% 0%; background-size: 200% 200%; }
    100% { background-position: 200% 200%; background-size: 200% 200%; }
}

@keyframes borderGlowBlue {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 200%; }
}

.footer {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid #222;
    color: #555;
    font-size: 12px;
}

/* 📱 手机端响应式 - 其他元素 */
@media(max-width:768px){ 
    .banner-ad-section {
       
    }
    
    .banner-ad-container {
        border-radius: 6px;
    }
    
    .slider-btn {
        width: 28px;
        height: 44px;
        font-size: 20px;
        opacity: 0.5;
    }
    
    .slider-btn.prev {
        left: 4px;
    }
    
    .slider-btn.next {
        right: 4px;
    }
    
    .slider-dots .dot {
        width: 8px;
        height: 8px;
    }
    
    .slider-dots {
        bottom: 8px;
        gap: 8px;
    }
    
    .play-loading-tips {
        font-size: 12px;
        padding: 10px 12px;
        flex-wrap: wrap;
    }
        
    .notice-bar {
        overflow: hidden !important;
        position: relative;
        width: calc(100% - 30px);
        margin-left: auto;
        margin-right: auto;
        padding: 12px 15px;
    }
    
    .marquee-text {
        white-space: nowrap;
        display: inline-block;
        animation: marquee 8s linear infinite;
        padding-left: 100%;
        will-change: transform;
    }
    
    @keyframes marquee {
        0% { transform: translateX(0); }
        100% { transform: translateX(-100%); }
    }
    
    .logo-container { 
        padding: 5px 0;
        justify-content: center;
        width: 100%;
    }
    .logo-container:active {
        opacity: 0.7;
    }
    .header { position: static !important; padding: 5px; margin-bottom: 5px; box-shadow: none; }
    .grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)) !important; gap: 10px; padding: 5px; display: grid !important; visibility: visible !important; }
    .card .img-wp { height: 180px; }
    
    .search-box {
        max-width: 100%;
        width: 100%;
        border: 1px solid #888;
    }

    /* 🔥 手机端搜索框有内容时 - 霓虹粉色 */
    .search-box.has-content {
        border: 1px solid #ff0055;
        box-shadow: 0 0 12px rgba(255, 0, 85, 0.35), 0 0 24px rgba(255, 0, 85, 0.12);
    }

    .search-box.has-content .button-group {
        border-left: 1px solid #ff0055;
    }

    .search-box.has-content .button-group button:last-child {
        border-left: 1px solid #ff0055;
    }

    .search-clear-btn { 
        width: 32px;
        min-width: 32px;
        height: 32px;
        font-size: 16px;
    }
    .category-zone { padding: 10px; gap: 12px; }
    
    .zone-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        border-bottom: 1px dashed #252525;
        padding-bottom: 12px;
        margin-bottom: 12px;
    }
    
    .zone-label {
        width: 100%;
        height: 28px;
        font-size: 12px;
        justify-content: center;
        margin-right: 0;
        background: rgba(255,0,85,0.05);
    }
    
    .zone-nav-list {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        width: 100%;
    }
    
    .nav-btn {
        font-size: 11px;
        padding: 4px 10px;
    }
    
    .pagination-container { gap: 10px; margin: 20px 0; }
    .page-btn { padding: 6px 14px; font-size: 12px; }
    .page-info { font-size: 12px; }
    
    .header-top { justify-content: center; text-align: center; margin-top: 45px; }
    
    .sidebar-trigger { top: 10px; left: 10px; padding: 4px 10px; font-size: 12px; }
    
    .page-goto-box { padding: 2px 6px; }
    .page-goto-box input { width: 35px; font-size: 12px; }
    .goto-btn { padding: 3px 8px; font-size: 11px; }
  
    .header-main-flex { flex-direction: column; gap: 15px; }
    
    .stats-info { 
        text-align: center; 
        font-size: 12px; 
        justify-content: center; 
        flex-wrap: wrap; 
        max-width: 100%; 
        min-width: auto;
        width: 100%;
    }
    .search-and-stats {
        width: 100%;
        align-items: center;
    }
    
    .domain-tip-below {
        font-size: 11px;
        padding: 8px 10px;
    }
    
    .current-category-tip {
        padding: 8px 0px;
        margin-bottom: 0;
        font-size: 13px;
    }
    .current-category-tip .cat-name {
        font-size: 15px;
    }
}

/* 更小屏幕适配 */
@media (max-width: 480px) {
    .slider-btn {
        width: 24px;
        height: 36px;
        font-size: 16px;
        opacity: 0.3;
    }
    
    .slider-dots .dot {
        width: 6px;
        height: 6px;
    }
}

/* ========== 播放页布局修复 ========== */
.play-layout {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.main-player {
    flex: 1;
    min-width: 0;
    width: 100%;
}

.sidebar-recommend {
    width: 350px;
    flex-shrink: 0;
    background: #111;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 15px;
    box-sizing: border-box;
}

#play-container {
    width: 100%;
    background: #000;
    border-radius: 8px;
    border: 2px solid #ff0055;
    box-shadow: 0 0 20px rgba(255,0,85,0.4);
    overflow: hidden;
}

#native-video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background: #000;
    display: block;
}

.video-title {
    font-size: 18px;
    font-weight: bold;
    margin: 15px 0;
    color: #fff;
    word-break: break-word;
}

.rec-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rec-card {
    display: flex;
    gap: 10px;
    background: #161616;
    border: 1px solid #222;
    border-radius: 4px;
    padding: 6px;
    cursor: pointer;
    transition: 0.2s;
}

.rec-card:hover {
    border-color: #ff0055;
    background: #222;
}

.rec-img {
    width: 90px;
    height: 60px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

.rec-info {
    font-size: 13px;
    color: #ddd;
    line-height: 1.4;
    word-break: break-word;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

@media(max-width:768px){
    .play-layout {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-player {
        min-width: 100%;
        width: 100%;
    }
    
    .sidebar-recommend {
        width: 100%;
        padding: 12px;
    }
    
    #native-video {
        height: auto;
        min-height: 220px;
    }
    
    .rec-img {
        width: 80px;
        height: 53px;
    }
    
    .rec-info {
        font-size: 12px;
    }
}

/* ========== 新版页脚样式（左侧Logo + 右侧导航链接） ========== */
.footer-nav {
    padding: 25px 20px;
    background: #0a0a0a;
    border-top: 1px solid #2a2a2a;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-left {
    flex-shrink: 0;
}

.footer-logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.footer-logo-img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #333;
    box-shadow: 0 0 8px rgba(255, 0, 85, 0.2);
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
}

.footer-main-title {
    font-size: 20px;
    font-weight: bold;
    color: #ff0055;
    text-shadow: 0 0 8px rgba(255, 0, 85, 0.5);
    line-height: 1.2;
}

.footer-domain {
    font-size: 20px;
    color: #888888;
    line-height: 1.3;
}

.footer-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 20px 30px;
    row-gap: 12px;
}

.footer-links a,
.footer-links button {
    color: #aaaaaa;
    text-decoration: none;
    font-size: 14px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links button {
    padding: 0;
    font-family: inherit;
}

.footer-links a:hover,
.footer-links button:hover {
    color: #ff0055;
    text-shadow: 0 0 6px rgba(255, 0, 85, 0.5);
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-right {
        justify-content: center;
    }

    .footer-links {
        justify-content: center;
    }

    .footer-logo-area {
        justify-content: center;
    }
    
    .footer-main-title {
        font-size: 18px;
    }
    
    .footer-domain {
        font-size: 11px;
    }
    
    .footer-links a,
    .footer-links button {
        font-size: 12px;
    }
}

/* ============================================================
   🔥 彩带特效容器
   ============================================================ */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 99999;
    overflow: hidden;
}

.confetti-piece {
    position: absolute;
    width: 8px;
    height: 8px;
    top: -10px;
    opacity: 0;
    border-radius: 2px;
    animation: confettiFall linear forwards;
}

@keyframes confettiFall {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% {
        transform: translateY(110vh) rotate(720deg) scale(0.3);
        opacity: 0;
    }
}
