/* custom.css - Tencent Video (腾讯视频) Premium Theme */

:root {
    --bg-main: #111319;
    --bg-surface: #1a1e29;
    --bg-card: #202532;
    --primary: #ff6600; /* Tencent Orange */
    --primary-glow: rgba(255, 102, 0, 0.4);
    --text-primary: #ffffff;
    --text-secondary: #999999;
    --text-mute: #666666;
    --vip-gold: #e5d2a3;
    --vip-bg: #2b2518;
    --border: rgba(255,255,255,0.06);
    --font-sans: -apple-system, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-sans);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Header - Transparent overlay */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    box-sizing: border-box;
    z-index: 1000;
    transition: background 0.3s;
}

header.scrolled {
    position: fixed;
    background: rgba(17, 19, 25, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #ff8c00, var(--primary));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 20px;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 25px;
    margin-left: 40px;
}

.nav-menu a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.2s;
    cursor: pointer;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a.active {
    color: var(--primary);
    font-weight: 700;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
}

/* Search Bar */
.search-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    padding: 2px 4px 2px 16px;
    width: 320px;
    border: 1px solid transparent;
    transition: all 0.3s;
}

.search-wrapper:focus-within {
    background: rgba(0, 0, 0, 0.6);
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    outline: none;
    font-size: 14px;
    padding: 6px 0;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 16px;
    padding: 6px 16px;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Header Right */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.vip-btn {
    background: linear-gradient(90deg, #f5d185, #d2a146);
    color: #3e2808;
    border: none;
    padding: 6px 16px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 2px solid rgba(255,255,255,0.2);
    cursor: pointer;
}

/* Sponsor Banner */
.sponsor-banner {
    display: block;
    width: 100%;
    box-sizing: border-box;
    background: linear-gradient(90deg, #ff6600, #ff9900);
    color: #fff;
    text-align: center;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    position: relative;
    z-index: 900;
    margin-top: 70px; /* 避让 70px 高的悬浮 header */
    overflow: hidden;
}

.sponsor-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: banner-shine 3.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes banner-shine {
    0% { left: -60%; }
    60%, 100% { left: 110%; }
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 580px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-surface); /* 外链大图加载失败时的兜底底色 */
    background-size: cover;
    background-position: center top;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

/* 动态影片 slide：真实海报模糊铺底 + 右侧立体海报卡 */
.hero-bg {
    position: absolute;
    inset: -40px;
    background-size: cover;
    background-position: center 25%;
    filter: blur(28px) brightness(0.5) saturate(1.25);
    transform: scale(1.12);
}

.hero-poster {
    position: absolute;
    right: 110px;
    bottom: 80px;
    height: 66%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.1);
    z-index: 4;
}

.hero-tag {
    display: inline-block;
    background: rgba(255, 102, 0, 0.18);
    border: 1px solid rgba(255, 102, 0, 0.5);
    color: #ffa54d;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 14px;
    margin-bottom: 12px;
}

/* 万博体育品牌广告 slide */
.hero-ad {
    background:
        radial-gradient(ellipse at 80% 10%, rgba(255, 153, 0, 0.28), transparent 55%),
        radial-gradient(ellipse at 12% 90%, rgba(255, 102, 0, 0.22), transparent 50%),
        linear-gradient(135deg, #1a1e29 0%, #10131c 55%, #2b1a05 100%);
}

.ad-badge {
    display: inline-block;
    border: 1px solid var(--vip-gold);
    color: var(--vip-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    padding: 5px 14px;
    border-radius: 15px;
    margin-bottom: 16px;
}

.ad-title {
    font-size: 54px;
    font-weight: 900;
    margin: 0 0 12px 0;
    background: linear-gradient(90deg, #f5d185, #ff9900, #ff6600);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}

.ad-sub {
    font-size: 17px;
    color: #e0e0e0;
    margin: 0 0 20px 0;
}

.ad-chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}

.ad-chips span {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border);
    padding: 7px 15px;
    border-radius: 17px;
    font-size: 13px;
    color: #e0e0e0;
    white-space: nowrap;
}

.ad-cta {
    display: inline-block;
    background: linear-gradient(90deg, #ff6600, #ff9900);
    color: #fff;
    padding: 14px 40px;
    border-radius: 26px;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 22px var(--primary-glow);
    transition: transform 0.2s;
}

.ad-cta:hover {
    transform: scale(1.05);
}

.ad-qr {
    position: absolute;
    right: 110px;
    bottom: 90px;
    z-index: 4;
    background: #fff;
    padding: 12px 12px 8px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

.ad-qr img {
    width: 130px;
    height: 130px;
    display: block;
}

.ad-qr div {
    color: #333;
    font-size: 12px;
    font-weight: 700;
    margin-top: 6px;
}

/* Mask overlay to blend into the background */
.hero-mask {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    /* 只在最底部保持不透明用于与页面背景衔接，避免把按钮/文案压暗 */
    background: linear-gradient(to top, var(--bg-main) 0%, rgba(17,19,25,0.45) 35%, rgba(17,19,25,0) 100%);
    z-index: 3;
    pointer-events: none;
}

.hero-content {
    position: absolute;
    bottom: 60px;
    left: 60px;
    z-index: 4;
    max-width: 600px;
}

.hero-title {
    font-size: 42px;
    font-weight: 900;
    margin: 0 0 10px 0;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.hero-desc {
    font-size: 16px;
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 20px;
    text-shadow: 0 1px 5px rgba(0,0,0,0.8);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.play-now-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: #fff;
    padding: 12px 36px;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 15px var(--primary-glow);
    transition: transform 0.2s;
}

.play-now-btn:hover {
    transform: scale(1.05);
}

/* Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    right: 60px;
    z-index: 4;
    display: flex;
    gap: 10px;
}

.indicator {
    width: 30px;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s;
}

.indicator.active {
    width: 40px;
    background: var(--primary);
}

/* Main Content Container */
.main-container {
    max-width: 1500px;
    margin: -30px auto 0;
    padding: 0 40px;
    position: relative;
    z-index: 10;
}

.section-box {
    margin-bottom: 50px;
}

.section-header {
    display: flex;
    align-items: flex-end;
    margin-bottom: 20px;
}

.section-title {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    margin: 0 15px 0 0;
    padding-left: 14px;
    position: relative;
    cursor: pointer;
    transition: color 0.2s;
}

/* 爱奇艺式左侧橙色竖条装饰 */
.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 22px;
    background: linear-gradient(180deg, #ff9900, var(--primary));
    border-radius: 2px;
}

.section-title:hover {
    color: var(--primary);
}

.section-sub {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

/* Vertical Poster Grid (Tencent/iQiyi Style) */
.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 20px;
}

.movie-card {
    position: relative;
    display: block;
    min-width: 0; /* 允许被 grid 压缩，标题靠 ellipsis 截断而不是撑破列宽 */
    text-decoration: none;
    border-radius: 8px;
    transition: transform 0.3s;
}

.movie-card:hover {
    transform: translateY(-8px);
}

.poster-box {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--bg-surface);
    transition: box-shadow 0.3s;
}

/* hover 时卡片圆角阴影提升 */
.movie-card:hover .poster-box {
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.movie-card:hover .poster-img {
    transform: scale(1.08);
}

.poster-mask {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    pointer-events: none;
}

.remark-tag {
    position: absolute;
    bottom: 8px;
    right: 8px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
}

.vip-tag {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #f5d185, #d2a146);
    color: #3e2808;
    font-size: 11px;
    font-weight: 900;
    padding: 3px 8px;
    border-bottom-left-radius: 8px;
}

.score-tag {
    position: absolute;
    bottom: 8px;
    left: 8px;
    color: #ff6600;
    font-size: 16px;
    font-weight: 900;
    font-style: italic;
}

.movie-info {
    padding: 10px 0;
}

.movie-title {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.movie-desc {
    color: var(--text-secondary);
    font-size: 13px;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Hover Player Icon */
.hover-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    width: 50px;
    height: 50px;
    background: rgba(255, 102, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    opacity: 0;
    transition: all 0.3s;
}

.movie-card:hover .hover-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Play Page */
.play-layout {
    display: flex;
    gap: 30px;
    max-width: 1600px;
    margin: 0 auto;
    padding: 90px 40px 40px;
}

.play-main {
    flex: 1;
}

.play-sidebar {
    width: 360px;
    background: var(--bg-surface);
    border-radius: 12px;
    padding: 20px;
    height: fit-content;
}

.player-box {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.video-header {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.v-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
}

.v-meta {
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    gap: 15px;
    align-items: center;
}

.v-score {
    color: var(--primary);
    font-size: 20px;
    font-weight: 900;
    font-style: italic;
}

/* Episodes Panel */
.ep-header {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
}

.ep-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.ep-btn {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 12px 4px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ep-btn:hover {
    background: rgba(255, 102, 0, 0.1);
    color: var(--primary);
}

.ep-btn.active {
    background: rgba(255, 102, 0, 0.15);
    border-color: var(--primary);
    color: var(--primary);
}

/* 播放线路切换 */
.line-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.line-btn {
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid transparent;
    border-radius: 15px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.line-btn:hover {
    color: var(--primary);
}

.line-btn.active {
    background: rgba(255, 102, 0, 0.15);
    border-color: var(--primary);
    color: var(--primary);
    font-weight: 700;
}

.line-btn.dead {
    opacity: 0.45;
    text-decoration: line-through;
}

/* 自动换线提示 */
.toast {
    position: fixed;
    left: 50%;
    bottom: 48px;
    transform: translateX(-50%) translateY(20px);
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    font-size: 14px;
    padding: 10px 22px;
    border-radius: 22px;
    border: 1px solid rgba(255, 102, 0, 0.5);
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    max-width: 86vw;
    text-align: center;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Ranks */
.rank-list {
    margin-top: 20px;
}

.rank-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
}

.rank-item:last-child {
    border: none;
}

.r-num {
    font-size: 18px;
    font-weight: 900;
    color: var(--text-mute);
    width: 30px;
    font-style: italic;
}

.rank-item:nth-child(1) .r-num { color: #ff3300; }
.rank-item:nth-child(2) .r-num { color: #ff6600; }
.rank-item:nth-child(3) .r-num { color: #ff9900; }

.r-title {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.r-hot {
    color: var(--text-secondary);
    font-size: 12px;
}

/* ===== 首页新增组件 ===== */

/* header 收录量小徽章 */
.site-badge {
    margin-left: 22px;
    font-size: 12px;
    font-weight: 600;
    color: #ffc38a;
    background: rgba(255, 102, 0, 0.12);
    border: 1px solid rgba(255, 102, 0, 0.35);
    padding: 3px 11px;
    border-radius: 12px;
    white-space: nowrap;
}

.site-badge b {
    font-weight: 800;
    color: #ffd9b3;
}

/* 楼层「查看更多」按钮 */
.view-more {
    margin-left: auto;
    margin-bottom: 4px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 6px 16px;
    border: 1px solid var(--border);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.04);
    white-space: nowrap;
    user-select: none;
    transition: all 0.2s;
}

.view-more:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(255, 102, 0, 0.08);
}

/* 频道/搜索标题旁「共 N 部」 */
.browse-total {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 5px;
    white-space: nowrap;
}

/* 高分必看 TOP10 横向滑动榜单 */
.rank-strip {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 6px 2px 8px;
    scrollbar-width: none;         /* Firefox 隐藏滚动条 */
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.rank-strip::-webkit-scrollbar {
    display: none;                 /* Chrome/Safari 隐藏滚动条 */
}

.rank-card {
    position: relative;
    flex: 0 0 150px;
    width: 150px;
    text-decoration: none;
}

.rank-card .poster-box {
    border-radius: 10px;
}

.rank-card:hover .poster-img {
    transform: scale(1.06);
}

.rank-card:hover .poster-box {
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* 巨大斜体渐变排名数字，叠在海报卡左下 */
.rank-num {
    position: absolute;
    left: -3px;
    bottom: 42px;
    z-index: 3;
    font-size: 64px;
    line-height: 0.9;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -3px;
    background: linear-gradient(180deg, #8a93a5, #313848);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.75));
    pointer-events: none;
}

.rank-num.top3 {
    background: linear-gradient(180deg, #ffb066, #ff3d00);
    -webkit-background-clip: text;
    background-clip: text;
}

.rank-info {
    padding: 8px 2px 0 4px;
}

.rank-name {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rank-score {
    color: var(--primary);
    font-size: 13px;
    font-weight: 900;
    font-style: italic;
    margin-top: 3px;
}

/* 无限滚动：底部状态 + 哨兵 */
.browse-status {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    padding: 26px 0 10px;
    min-height: 20px;
}

.browse-status.retry {
    color: var(--primary);
    cursor: pointer;
}

.browse-sentinel {
    height: 1px;
}

/* ===== 平板适配 (<1024px)：播放页提前上下堆叠 ===== */
@media (max-width: 1023px) {
    .play-layout {
        flex-direction: column;
        gap: 24px;
    }
    .play-sidebar {
        width: auto;
    }
}

/* ===== 移动端适配 (<768px) ===== */
@media (max-width: 767px) {
    /* Header：sticky 多行流式布局，高度自适应
       !important 用于压过 play.html 内联 <style> 的 position:fixed */
    header {
        position: sticky !important;
        top: 0;
        height: auto;
        flex-wrap: wrap;
        padding: 8px 12px;
        gap: 8px 12px;
        background: rgba(17, 19, 25, 0.97);
    }
    header.scrolled { position: sticky !important; }
    .logo-icon { width: 26px; height: 26px; font-size: 16px; }
    .logo-text { font-size: 17px; }
    .header-right { gap: 8px; margin-left: auto; }
    .vip-btn { padding: 5px 10px; font-size: 12px; }
    .avatar { display: none; }

    /* 导航独占一行，可横向滑动 */
    .nav-menu {
        order: 5;
        width: 100%;
        margin-left: 0;
        gap: 20px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .nav-menu::-webkit-scrollbar { display: none; }
    .nav-menu a { flex: 0 0 auto; font-size: 15px; }

    /* 搜索框独占一行，弹性宽度 */
    .search-wrapper { order: 6; width: 100%; box-sizing: border-box; }

    /* 赞助横幅：header 已回归文档流，无需再避让 */
    .sponsor-banner {
        margin-top: 0;
        padding: 8px 10px;
        font-size: 13px;
    }

    /* Hero 轮播 */
    .hero-carousel { height: 420px; }
    .hero-content { left: 16px; right: 16px; bottom: 44px; max-width: none; }
    .hero-title { font-size: 26px; }
    .hero-desc { font-size: 14px; }
    .play-now-btn { padding: 10px 26px; font-size: 15px; }
    .carousel-indicators { right: 16px; bottom: 16px; }
    .hero-poster { display: none; } /* 手机上模糊大图当背景即可 */
    .hero-tag { font-size: 12px; }
    .ad-qr { display: none; }
    .ad-title { font-size: 32px; }
    .ad-sub { font-size: 14px; }
    .ad-chips span { padding: 5px 11px; font-size: 12px; }
    .ad-cta { padding: 12px 28px; font-size: 15px; }

    /* 内容区 */
    .main-container { padding: 0 12px; margin-top: -20px; }
    .section-box { margin-bottom: 32px; }
    .section-title { font-size: 20px; margin-right: 10px; padding-left: 11px; }
    .section-title::before { width: 3px; height: 17px; }
    .section-sub { font-size: 12px; }
    .site-badge { display: none !important; } /* 手机 header 空间有限，徽章隐藏 */
    .view-more { padding: 4px 12px; font-size: 12px; }
    .browse-total { font-size: 12px; }

    /* TOP10 横滑榜单 */
    .rank-strip { gap: 12px; }
    .rank-card { flex-basis: 118px; width: 118px; }
    .rank-num { font-size: 46px; bottom: 40px; letter-spacing: -2px; }
    .rank-name { font-size: 12px; }
    .rank-score { font-size: 12px; }
    .movie-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 8px; }
    .movie-info { padding: 8px 0; }
    .movie-title { font-size: 13px; }
    .movie-desc { font-size: 11px; }
    .score-tag { font-size: 13px; }
    .hover-play { display: none; } /* 触屏无 hover */

    /* 播放页：header 回归文档流后不再需要 90px 顶部避让 */
    .play-layout { padding: 12px; gap: 20px; }
    .play-sidebar { padding: 16px; }
    .player-box { border-radius: 8px; box-shadow: none; }
    .v-title { font-size: 18px; }
    .v-meta { flex-wrap: wrap; gap: 8px 12px; }
    .ep-grid { grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 8px; }
    .ep-btn { padding: 10px 4px; font-size: 13px; }
}
