/*
 * style.css - 前台页面主样式表
 * 包含：全局重置、分类标题、平台标签、应用卡片、弹窗、顶部栏、分享弹窗、响应式布局等
 */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif;
    background: #fafbfc;
    color: #2d3748;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 12px;
}


/* 分类标题 */
.category-section {
    margin-bottom: 24px;
    overflow: visible; /* 允许气泡溢出 */
}

.category-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    overflow: visible; /* 允许气泡溢出显示 */
}

.category-title {
    font-size: 22px;
    font-weight: 600;
    color: #1a202c;
    letter-spacing: -0.3px;
    flex-shrink: 0;
    margin: 0;
    align-self: center;
    line-height: 1.4;
}

/* 推荐区副标题（所有域名通用）：跟主标题同行，左标题右副标题 */
.cinema-cat-sub {
    flex: 1;
    min-width: 0;
    font-size: 12px;
    color: #94a3b8;
    margin: 0;
    letter-spacing: 0.2px;
    line-height: 1.4;
    align-self: center;
}

/* 平台标签 */
.platform-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: visible; /* 允许气泡向上溢出 */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0;
    flex: 1;
    min-width: 0;
}

.platform-tabs::-webkit-scrollbar {
    display: none;
}

.platform-tab {
    padding: 5px 10px;
    background-color: #ffffff;
    color: #64748b;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    white-space: nowrap;
    flex-shrink: 0;
}

.platform-tab:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.platform-tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* 应用卡片容器 */
.app-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

/* 应用卡片 */
.app-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    padding: 10px 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

/* 默认只显示 iOS 应用，隐藏其他平台（推荐专区除外） */
.app-grid:not(.recommended-grid) .app-card:not([data-platform="iOS"]) {
    display: none;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.app-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: #e2e8f0;
}

.app-card:hover::before {
    opacity: 1;
}

/* 卡片内容容器 */
.app-card-content {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    position: relative;
}

/* 应用图标 */
.app-icon {
    margin-bottom: 0;
    flex-shrink: 0;
    align-self: flex-start;
}

.app-icon img {
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    width: 48px;
    height: 48px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.app-card:hover .app-icon img {
    transform: scale(1.05);
}

/* 应用信息区域 */
.app-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    padding-right: 65px;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
    gap: 8px;
}

.app-name {
    font-size: 15px;
    font-weight: 600;
    color: #1a202c;
    margin: 0;
    flex: 1;
    letter-spacing: -0.2px;
}

.app-platform {
    display: none;
}

.platform-iOS {
    background: linear-gradient(135deg, #007AFF 0%, #0051d5 100%);
    color: white;
}

.platform-安卓 {
    background: linear-gradient(135deg, #34A853 0%, #2d8f47 100%);
    color: white;
}

.platform-TV {
    background: linear-gradient(135deg, #FBBC05 0%, #f9ab00 100%);
    color: white;
}

.platform-电脑 {
    background: linear-gradient(135deg, #EA4335 0%, #d33b2c 100%);
    color: white;
}

.app-status {
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    flex-direction: row;
    gap: 4px;
    align-items: flex-start;
    margin: 0;
    z-index: 1;
}

.status-tag {
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.status-上架 {
    background-color: #d1fae5;
    color: #065f46;
}

.status-下架 {
    background-color: #fee2e2;
    color: #991b1b;
}

.status-有广 {
    background-color: #fef3c7;
    color: #92400e;
}

.status-无广 {
    background-color: #dbeafe;
    color: #1e40af;
}

.status-更新 {
    background-color: #e9d5ff;
    color: #6b21a8;
}

.status-推荐 {
    background-color: #fce7f3;
    color: #9f1239;
}

.app-description {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.app-recommended-note {
    color: #f59e0b;
    font-size: 13px;
    font-weight: 500;
    margin-top: 4px;
    margin-bottom: 6px;
    line-height: 1.4;
}

.app-footer {
    display: none;
}

.download-btn {
    display: none;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.35);
}

.download-btn:active {
    transform: translateY(0);
}

/* 推荐专区卡片右下角下载按钮 */
.recommended-grid .app-card .app-footer,
.app-card.has-download-button .app-footer {
    display: block;
    position: absolute;
    bottom: 6px;
    right: 6px;
}

.recommended-grid .app-card .download-btn,
.app-card.has-download-button .download-btn {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b35 0%, #f7c948 100%);
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(255, 107, 53, 0.5);
    transition: all 0.2s ease;
    white-space: nowrap;
    animation: pulse-btn 2s infinite;
}

@keyframes pulse-btn {
    0%   { box-shadow: 0 3px 10px rgba(255, 107, 53, 0.5); }
    50%  { box-shadow: 0 4px 18px rgba(255, 107, 53, 0.85); transform: scale(1.05); }
    100% { box-shadow: 0 3px 10px rgba(255, 107, 53, 0.5); }
}

.transform-code {
    font-size: 12px;
    color: #94a3b8;
    font-family: 'SF Mono', 'Monaco', 'Cascadia Code', monospace;
    background-color: #f8fafc;
    padding: 5px 10px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: #ffffff;
    padding: 0 16px 16px;
    border-radius: 12px;
    width: 90%;
    max-width: 280px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: modalFadeIn 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

@keyframes modalFadeIn {
    from { 
        opacity: 0; 
        transform: translateY(-20px) scale(0.95); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

.modal-header {
    display: none;
    margin: 0;
    padding: 0;
    border: 0;
    height: 0;
}

.modal-title {
    display: none;
}

.close-btn {
    display: none;
}

.close-btn:hover {
    background-color: #f1f5f9;
    color: #64748b;
}

.modal-body {
    margin-bottom: 0;
}

#downloadLinks {
    margin-top: 0;
    position: relative;
    padding-top: 0;
}

.download-link {
    display: block;
    padding: 16px;
    background-color: #f8fafc;
    text-decoration: none;
    color: #1a202c;
    border-radius: 12px;
    margin-bottom: 12px;
    text-align: center;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
}

.download-link:hover {
    background-color: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.modal-body .app-info {
    text-align: center;
    margin: 0 auto 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
    width: 100%;
}

.app-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: #1a202c;
    letter-spacing: -0.3px;
    text-align: center;
}

.app-subtitle {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    text-align: center;
}

.app-recommended-note {
    font-size: 12px;
    color: #f59e0b;
    margin: 6px 0 0 0;
    font-weight: 500;
    line-height: 1.4;
}

/* 下载弹窗内应用名与描述：绝对居中 */
#downloadLinks > .app-info {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    padding: 0 12px 0;
    border-bottom: none;
    z-index: 2;
    box-sizing: border-box;
}

#downloadLinks > .app-info .app-title,
#downloadLinks > .app-info .app-subtitle {
    text-align: center;
}

.platform-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}

.platform-card {
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #ffffff;
    position: relative;
}

.platform-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    border-color: #cbd5e1;
}

.platform-card.ios-card {
    border-left: 4px solid #007AFF;
}

.platform-card.android-card {
    border-left: 4px solid #34A853;
}

.platform-header {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    background-color: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
}

.platform-icon {
    font-size: 18px;
    margin-right: 8px;
}

.platform-name {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #1a202c;
    flex: 1;
}

.platform-body {
    padding: 10px;
}

.download-button {
    position: absolute;
    top: 8px;
    right: 12px;
    display: inline-block;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.download-button.ios-button {
    background: linear-gradient(135deg, #ff6b35 0%, #f7c948 100%);
    color: white;
    box-shadow: 0 3px 10px rgba(255, 107, 53, 0.5);
    animation: pulse-btn 2s infinite;
}

.download-button.ios-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 18px rgba(255, 107, 53, 0.85);
}

.download-button.android-button {
    background: linear-gradient(135deg, #34A853 0%, #2d8f47 100%);
    color: white;
    box-shadow: 0 3px 10px rgba(52, 168, 83, 0.5);
    animation: pulse-btn-android 2s infinite;
}

.download-button.android-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 18px rgba(52, 168, 83, 0.85);
}

/* 【方案2】安卓下载按钮脉冲：对齐 iOS 的缩放脉冲，绿色主题，让下载按钮更抓眼 */
@keyframes pulse-btn-android {
    0%   { box-shadow: 0 3px 10px rgba(52, 168, 83, 0.5); }
    50%  { box-shadow: 0 4px 18px rgba(52, 168, 83, 0.85); transform: scale(1.05); }
    100% { box-shadow: 0 3px 10px rgba(52, 168, 83, 0.5); }
}
/* 下架按钮已在 off-shelf-button 里 animation:none 复位，此处安卓脉冲不影响它 */

/* iOS主备链接全部下架时:显示"即将上架"(绿色、禁用) */
.download-button.off-shelf-button {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
    cursor: not-allowed;
    opacity: 0.85;
    animation: none;
}

.download-button.off-shelf-button:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.download-button.off-shelf-button[disabled] {
    pointer-events: none;
}

.installation-steps {
    margin-top: 8px;
}

.installation-steps h5 {
    margin: 0 0 8px 0;
    font-size: 15px;
    font-weight: 600;
    color: #1a202c;
}

.installation-steps ol {
    margin: 0;
    padding-left: 18px;
}

.installation-steps li {
    margin-bottom: 6px;
    font-size: 15px;
    color: #64748b;
    line-height: 1.5;
}

/* ============================================================
   【方案3】安装步骤图示化：时间线 stepper（JS enhanceInstallSteps 注入结构）
   徽标(SVG图标) + 竖向连接线 + 暗号点击复制胶囊
   ============================================================ */
.installation-steps ol.steps-enhanced {
    list-style: none;
    padding-left: 0;
    margin: 0;
    counter-reset: none;
}
.installation-steps ol.steps-enhanced > li.step-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    padding: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #475569;
}
.installation-steps ol.steps-enhanced > li.step-item:last-child {
    margin-bottom: 0;
}
/* 竖向连接线：锚定在 li（撑满整行高）上，从徽标底部延伸到下一步徽标；left 对齐徽标中心(26/2=13px) */
.installation-steps ol.steps-enhanced > li.step-item:not(:last-child)::before {
    content: '';
    position: absolute;
    top: 26px;
    left: 13px;
    transform: translateX(-50%);
    width: 2px;
    bottom: -10px;
    background: linear-gradient(180deg, #c7d2fe 0%, #e0e7ff 100%);
    z-index: 0;
}
/* 徽标：渐变圆 + 内嵌 SVG 图标 */
.installation-steps .step-badge {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.35);
    position: relative;
    z-index: 1;
}
.installation-steps .step-badge svg {
    width: 15px;
    height: 15px;
    display: block;
}
.installation-steps .step-body {
    flex: 1 1 auto;
    padding-top: 3px;
    min-width: 0;
    word-break: break-word;
}

/* 暗号点击复制胶囊：原蓝色暗号文字 → 可点复制的胶囊，配合弹窗打开自动复制形成双保险 */
.installation-steps .cipher-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 1px 8px;
    margin: 0 1px;
    border-radius: 20px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #93c5fd;
    color: #1d4ed8 !important;
    font-weight: 700;
    cursor: pointer;
    vertical-align: baseline;
    line-height: 1.5;
    transition: all 0.18s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.installation-steps .cipher-pill:hover {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}
.installation-steps .cipher-pill:active {
    transform: scale(0.95);
}
.installation-steps .cipher-pill .cipher-pill-code {
    font-family: 'SF Mono', 'Monaco', 'Cascadia Code', monospace;
    letter-spacing: 0.3px;
}
.installation-steps .cipher-pill .cipher-copy-ic {
    width: 12px;
    height: 12px;
    flex: 0 0 auto;
    opacity: 0.75;
}
/* 复制成功瞬态：变绿 + 图标切换感 */
.installation-steps .cipher-pill.cipher-pill-copied {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border-color: #4ade80;
    color: #15803d !important;
}

.code-box {
    background-color: #f8fafc;
    padding: 6px 10px;
    border-radius: 6px;
    font-family: 'SF Mono', 'Monaco', 'Cascadia Code', monospace;
    font-size: 11px;
    font-weight: 600;
    color: #667eea;
    margin: 5px 0;
    border: 1px solid #e2e8f0;
    word-break: break-all;
}

.android-note {
    margin: 5px 0 0 0;
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

/* 推荐板块下载说明（黄色区域） */
.recommended-download-notice {
    margin-top: 10px;
    padding: 10px 12px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 8px;
    border-left: 4px solid #f59e0b;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
}

.recommended-download-notice p {
    margin: 0;
    font-size: 12px;
    color: #92400e;
    line-height: 1.5;
    font-weight: 500;
}

.recommended-download-notice strong {
    color: #78350f;
    font-weight: 600;
}

.support-info {
    text-align: center;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
}

.support-info p {
    margin: 0;
    font-size: 10px;
    color: #94a3b8;
}

/* 安卓弹窗底部「官方正版」高亮提示 */
.support-info p .apk-official-tip {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #16a34a;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    padding: 5px 12px;
    line-height: 1.5;
}

.modal-footer {
    text-align: center;
    position: sticky;
    bottom: 0;
    background-color: #ffffff;
    padding-top: 0;
    margin-top: 0;
    border-top: none;
}

/* 下载弹窗 - 你可能还需要 */
.recommend-section {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
}

.recommend-title {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 8px;
    text-align: center;
}

.recommend-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 2px 0;
}

.recommend-scroll::-webkit-scrollbar {
    display: none;
}

/* 预告片模式：容器从「横向 flex 滚动」切为块级，让 <video> 占满宽度、按比例完整显示，
   高度由视频自适应，弹窗 .modal-content(max-height:85vh, overflow-y:auto) 负责整体滚动。 */
.recommend-scroll.is-trailer {
    display: block;
    overflow-x: visible;
}
.recommend-scroll.is-trailer .trailer-wrap {
    width: 100%;
}
.recommend-scroll.is-trailer .trailer-video {
    width: 100%;
    height: auto;          /* 覆盖行内 max-height，按视频比例完整显示 */
    max-height: 48vh;      /* 上限，避免超长/竖屏视频撑破弹窗；配合弹窗滚动 */
    object-fit: contain;   /* 按比例完整显示，不裁剪画面 */
}

/* 海报弹窗含预告片时：弹窗加高，给预告片留足空间（配合 JS 滚动到可视区中央）。
   普通弹窗仍是 85vh，仅此场景提到 94vh。 */
.modal-content.modal-has-trailer {
    max-height: 94vh;
}

.recommend-card {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 64px;
    padding: 6px 4px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s;
}

.recommend-card:hover {
    background: #f1f5f9;
}

.recommend-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    overflow: hidden;
    background: #f8fafc;
}

.recommend-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recommend-card-name {
    font-size: 11px;
    color: #4a5568;
    text-align: center;
    line-height: 1.2;
    max-width: 56px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 提示弹窗 */
.toast {
    position: fixed;
    top: 24px;
    right: 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
    z-index: 1100;
    display: none;
    animation: slideIn 0.3s ease;
    font-weight: 500;
    white-space: pre-line;
    line-height: 1.6;
}

.toast.active {
    display: block;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* 底部导航 */
.footer {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: #e2e8f0;
    padding: 60px 0 32px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 14px;
}

.footer-section ul li a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 14px;
}

/* 顶部 Banner */
.banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 24px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none; /* 隐藏顶部banner，底部弹窗有介绍网站内容 */
}

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
}

.banner-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.banner-description {
    font-size: 18px;
    opacity: 0.95;
    font-weight: 400;
}

/* 收藏引导条 */
.bookmark-bar {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(102,126,234,0.12) 0%, rgba(118,75,162,0.12) 100%);
    border-bottom: 1px solid rgba(102,126,234,0.15);
    padding: 10px 16px;
    font-size: 14px;
    color: #4a5568;
    position: relative;
    animation: bookmarkSlideDown 0.3s ease;
}

.bookmark-bar.active {
    display: flex;
}

.bookmark-bar.returning {
    background: linear-gradient(135deg, rgba(72,187,120,0.1) 0%, rgba(56,161,105,0.1) 100%);
    border-bottom-color: rgba(72,187,120,0.15);
}

.bookmark-bar-text {
    flex: 1;
    text-align: center;
    font-weight: 500;
}

.bookmark-bar.returning .bookmark-bar-text {
    color: #2f855a;
}

.bookmark-bar-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s, transform 0.2s;
}

.bookmark-bar-btn:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

.bookmark-bar.returning .bookmark-bar-btn {
    display: none;
}

.bookmark-bar-close {
    cursor: pointer;
    font-size: 18px;
    color: #a0aec0;
    padding: 0 4px;
    line-height: 1;
    transition: color 0.2s;
    flex-shrink: 0;
}

.bookmark-bar-close:hover {
    color: #4a5568;
}

@keyframes bookmarkSlideDown {
    from { opacity: 0; transform: translateY(-100%); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bookmarkFadeOut {
    from { opacity: 1; max-height: 50px; }
    to { opacity: 0; max-height: 0; padding: 0 16px; }
}

.bookmark-bar.fading {
    animation: bookmarkFadeOut 0.4s ease forwards;
    overflow: hidden;
}

/* 热播推荐板块 */
.hot-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 12px 0;
}

.hot-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.hot-icon {
    font-size: 20px;
    line-height: 1;
}

.hot-title {
    font-size: 18px;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.3px;
    /* 影院系金红渐变字色（zjapp.net/神器.中国 等非影院主题也用） */
    background: linear-gradient(135deg, #ffd700 0%, #ff6b35 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #ff6b35; /* 不支持背景裁剪时的兜底色 */
}

.hot-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 2px 0 8px;
}

.hot-scroll::-webkit-scrollbar {
    display: none;
}

/* PC端：热播海报下方显示细拖动条（可左右拖动，看全所有海报） */
@media (min-width: 992px) {
    .hot-section .hot-scroll {
        scrollbar-width: thin;                              /* Firefox 细滚动条 */
        scrollbar-color: rgba(148, 163, 184, 0.5) rgba(0, 0, 0, 0.05);
        padding-bottom: 10px;
    }
    .hot-section .hot-scroll::-webkit-scrollbar {
        display: block;
        height: 6px;
    }
    .hot-section .hot-scroll::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.05);
        border-radius: 4px;
    }
    .hot-section .hot-scroll::-webkit-scrollbar-thumb {
        background: rgba(148, 163, 184, 0.5);   /* 中性灰，低调不抢眼 */
        border-radius: 4px;
    }
    .hot-section .hot-scroll::-webkit-scrollbar-thumb:hover {
        background: rgba(100, 116, 139, 0.7);   /* hover 稍深，提示可拖 */
    }
}

.hot-card {
    flex-shrink: 0;
    width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.hot-card:active {
    transform: scale(0.95);
}

.hot-cover {
    position: relative;
    width: 100px;
    height: 140px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.hot-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hot-card:hover .hot-cover img {
    transform: scale(1.05);
}

/* 预告片播放按钮：半透明圆形 + 白色三角，仿豆瓣预告片样式 */
.hot-play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 3;
    transition: background 0.2s ease, transform 0.2s ease;
    animation: hotPlayPulse 1.9s ease-in-out infinite;
}

.hot-play svg {
    width: 11px;
    height: 11px;
    margin-left: 1px; /* 视觉居中：三角形偏右补偿 */
}

/* 呼吸动效：缓慢循环放大缩小，余光吸引点击 */
@keyframes hotPlayPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.12); }
}

@media (prefers-reduced-motion: reduce) {
    .hot-play { animation: none; }
}

/* 错峰呼吸：同排卡片按位置分配不同延迟，6 张一循环，峰值波浪式滚动 */
.hot-scroll .hot-card:nth-child(6n + 1) .hot-play { animation-delay: 0s; }
.hot-scroll .hot-card:nth-child(6n + 2) .hot-play { animation-delay: -0.32s; }
.hot-scroll .hot-card:nth-child(6n + 3) .hot-play { animation-delay: -0.63s; }
.hot-scroll .hot-card:nth-child(6n + 4) .hot-play { animation-delay: -0.95s; }
.hot-scroll .hot-card:nth-child(6n + 5) .hot-play { animation-delay: -1.27s; }
.hot-scroll .hot-card:nth-child(6n + 6) .hot-play { animation-delay: -1.58s; }

.hot-card:hover .hot-play {
    animation: none;
    background: rgba(0, 0, 0, 0.6);
    transform: scale(1.15);
}

.hot-card:active .hot-play {
    animation: none;
    transform: scale(0.9);
}

.hot-rating {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(0, 0, 0, 0.7);
    color: #fbbf24;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 4px;
    line-height: 1;
}

.hot-type {
    position: absolute;
    bottom: 4px;
    left: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 5px;
    border-radius: 4px;
    line-height: 1;
}

.hot-name {
    font-size: 12px;
    color: #4a5568;
    text-align: center;
    line-height: 1.3;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
}

@media (max-width: 768px) {
    .hot-section {
        padding: 8px 10px 0;
    }

    .hot-card {
        width: 88px;
    }

    .hot-cover {
        width: 88px;
        height: 124px;
    }

    .hot-name {
        max-width: 88px;
        font-size: 11px;
    }

    .hot-title {
        font-size: 16px;
    }
}

/* 关注弹窗样式 */
.follow-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 99999;
    pointer-events: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.follow-modal.active {
    display: flex;
    pointer-events: auto;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.follow-modal-content {
    background: linear-gradient(145deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border-radius: 20px;
    padding: 20px 18px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    max-width: 300px;
    width: 90%;
    animation: modalSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: visible;
    pointer-events: auto !important;
    z-index: 1000;
}

.follow-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.follow-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999 !important;
    pointer-events: auto !important;
    user-select: none;
    transition: all 0.3s ease;
}

.follow-modal-close:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.follow-modal-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.follow-modal-icon {
    font-size: 26px;
    line-height: 1;
    animation: bounce 2s infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.follow-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin: 0;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.follow-modal-body {
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.follow-modal-text {
    color: rgba(255, 255, 255, 0.95);
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.follow-modal-text .highlight {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1e3a8a;
    padding: 3px 10px;
    border-radius: 6px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.4);
    display: inline-block;
    transform: translateY(-1px);
}

.follow-modal-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.follow-btn-row {
    display: flex;
    gap: 12px;
    width: 100%;
}

.follow-btn {
    padding: 10px 16px;
    border-radius: 10px;
    border: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    text-align: center;
    pointer-events: auto !important;
    z-index: 10;
}

.follow-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.follow-btn:hover::before {
    width: 300px;
    height: 300px;
}

.follow-btn-row .follow-btn {
    flex: 1;
    min-width: 0;
}

.follow-btn-wrapper {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    min-width: 0;
    pointer-events: auto !important;
}

.follow-btn-wrapper .follow-btn {
    width: 100%;
    min-width: 0;
}

.follow-btn-secondary {
    width: 100%;
}

.follow-btn-primary {
    background: rgba(255, 255, 255, 0.95);
    color: #667eea;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.follow-btn-primary:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

.follow-btn-primary:active {
    transform: translateY(-1px);
}

.follow-btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.follow-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.follow-btn-icon {
    font-size: 18px;
    position: relative;
    z-index: 1;
}

/* 二维码悬浮显示 */
.qrcode-popup {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.05);
    z-index: 10000;
    display: none;
    animation: popupFadeIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    min-width: 200px;
    pointer-events: auto;
}

/* 确保关闭按钮始终在最上层，不被二维码弹窗遮挡 */
.follow-modal-content {
    position: relative;
}

.follow-modal-content > .follow-modal-close {
    z-index: 99999 !important;
    pointer-events: auto !important;
    position: absolute !important;
}

.qrcode-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 10px solid transparent;
    border-top-color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.qrcode-popup.active {
    display: block;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(15px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

.qrcode-popup img {
    width: 180px;
    height: 180px;
    display: block;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.qrcode-popup-text {
    text-align: center;
    margin-top: 12px;
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.follow-btn-wrapper {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    overflow: visible;
}

.follow-btn-share {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.follow-btn-share:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

/* 分享弹窗样式 */
.share-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.share-modal.active {
    display: flex;
}

.share-modal-content {
    background: white;
    border-radius: 16px;
    padding: 24px 20px 20px;
    width: 90%;
    max-width: 320px;
    position: relative;
    animation: shareModalFadeIn 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes shareModalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.share-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    color: #64748b;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.share-modal-close:hover {
    background: #e2e8f0;
    color: #475569;
}

/* 社交媒体图标区域 */
.share-modal-icons {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 18px;
    position: relative;
    padding: 0 16px;
}

.share-modal-icons::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    border-top: 2px dashed #e2e8f0;
    z-index: 0;
}

.share-icon-item {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    background: white;
}

.share-icon-item[data-platform="weibo"] {
    color: #e6162d;
}

.share-icon-item[data-platform="wechat"] {
    color: #07c160;
}

.share-icon-item[data-platform="bilibili"] {
    color: #fb7299;
}

.share-icon-item[data-platform="douyin"] {
    color: #000000;
}

.share-icon-item[data-platform="xiaohongshu"] {
    color: #ff2442;
}

.share-icon-item[data-platform="douban"] {
    color: #007722;
}

.share-icon-item svg {
    width: 26px;
    height: 26px;
}

.share-icon-item:hover {
    transform: scale(1.15);
}

/* 成功提示区域 */
.share-modal-success {
    text-align: center;
    margin-bottom: 24px;
}

.share-fist-icon {
    font-size: 48px;
    margin-bottom: 12px;
    animation: fistPunch 0.5s ease;
}

@keyframes fistPunch {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2) rotate(5deg);
    }
}

.share-success-text {
    font-size: 22px;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 10px;
}

.share-success-desc {
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 18px;
    padding: 0 12px;
}

.share-save-btn {
    width: 100%;
    padding: 10px 18px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.share-save-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.share-save-btn:active {
    transform: translateY(0);
}

/* 底部域名区域 */
.share-modal-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.share-domain-line {
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.share-domain {
    font-size: 12px;
    color: #3b82f6;
    font-weight: 500;
}

/* 关闭按钮（弹窗下方） */
.share-modal-close-btn {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #374151;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.share-modal-close-btn:hover {
    background: #4b5563;
    transform: translateX(-50%) scale(1.1);
}

.share-modal-close-btn svg {
    width: 18px;
    height: 18px;
}

/* 分享图片容器（用于生成图片） */
.share-image-container {
    width: 600px;
    background: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    position: fixed;
    left: -9999px;
    top: -9999px;
}

.share-image-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 16px;
}

.share-image-description {
    font-size: 18px;
    color: #64748b;
    margin-bottom: 32px;
}

.share-image-qrcode {
    width: 200px;
    height: 200px;
    margin: 0 auto 24px;
    border: 4px solid #f1f5f9;
    border-radius: 12px;
    padding: 16px;
    background: white;
}

.share-image-qrcode img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.share-image-url {
    font-size: 16px;
    color: #3b82f6;
    word-break: break-all;
    margin-bottom: 24px;
}

.share-image-domain {
    font-size: 14px;
    color: #94a3b8;
    border-top: 1px solid #f1f5f9;
    padding-top: 16px;
}

/* 分享提示弹窗 */
.share-popup {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    display: none;
    animation: popupFadeIn 0.3s ease;
    min-width: 200px;
    white-space: nowrap;
}

.share-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: white;
}

.share-popup.active {
    display: block;
}

.share-popup-text {
    text-align: center;
    font-size: 14px;
    color: #1a202c;
    font-weight: 500;
}

.fixed-icon-wrapper {
    position: relative;
}

/* 右下角固定图标 */
.fixed-icons {
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fixed-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
}

.fixed-icon:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.fixed-icon svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

/* 响应式设计 */
@media (min-width: 768px) {
    .app-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* PC端：影院风主题第二个板块（影视板块）略微留一点间距即可 */
    body.theme-cinema .category-section:nth-of-type(2) {
        padding-top: 12px;
    }
}

@media (min-width: 1024px) {
    .app-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .bookmark-bar {
        font-size: 13px;
        padding: 8px 12px;
        gap: 8px;
    }

    .bookmark-bar-btn {
        padding: 4px 12px;
        font-size: 12px;
    }

    .container {
        padding: 24px 16px;
    }

    .category-title {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .app-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .app-card {
        padding: 5px 7px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    }
    
    .app-card:hover {
        transform: none;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    }
    
    /* 移动端横向扁平布局 */
    .app-card-content {
        display: flex;
        align-items: flex-start;
        gap: 6px;
        position: relative;
    }
    
    .app-icon {
        margin-bottom: 0;
        flex-shrink: 0;
        align-self: flex-start;
    }
    
    .app-icon img {
        width: 40px;
        height: 40px;
        border-radius: 6px;
    }
    
    .app-info {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 2px;
        position: relative;
        padding-right: 65px; /* 为右侧状态标签留出空间 */
    }
    
    .app-header {
        margin-bottom: 0;
        gap: 4px;
        align-items: flex-start;
    }
    
    .app-name {
        font-size: 17px;
        line-height: 1.2;
        flex: 1;
        min-width: 0;
        margin: 0;
    }
    
    .app-platform {
        display: none; /* 移动端隐藏平台标签 */
    }
    
    /* 在移动端将状态标签移到右边 */
    .app-status {
        position: absolute;
        right: 0;
        top: 0;
        display: flex;
        flex-direction: row;
        gap: 4px;
        align-items: flex-start;
        margin: 0;
        z-index: 1;
    }
    
    .status-tag {
        font-size: 9px;
        padding: 2px 6px;
        border-radius: 4px;
        white-space: nowrap;
    }
    
    .app-description {
        font-size: 16px;
        margin-bottom: 0;
        margin-top: 0;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        line-height: 1.3;
        padding-top: 0;
    }
    
    .app-recommended-note {
        font-size: 11px;
        margin-top: 4px;
        margin-bottom: 0;
    }
    
    /* 移动端隐藏底部下载区域 */
    .app-footer {
        display: none;
    }

    .recommended-grid .app-card .app-footer,
    .app-card.has-download-button .app-footer {
        display: block;
        position: absolute;
        bottom: 6px;
        right: 6px;
    }

    .recommended-grid .app-card,
    .app-card.has-download-button {
        overflow: visible;
    }

    .platform-tab {
        padding: 4px 9px;
        font-size: 12px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .category-section {
        margin-bottom: 16px;
    }
    
    .footer {
        padding: 40px 0 24px;
        margin-top: 60px;
    }
    
    .footer-container {
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 20px 16px;
    }

    .category-section {
        margin-bottom: 12px;
    }
    
    .category-title {
        font-size: 22px;
        margin-bottom: 16px;
        display: inline-block;
        margin-right: 12px;
        vertical-align: middle;
    }
    
    .app-grid {
        gap: 6px;
    }

    .app-card {
        padding: 10px 8px;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    }
    
    .app-card:hover {
        transform: none;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    }
    
    .app-card-content {
        gap: 6px;
    }
    
    .app-icon img {
        width: 36px;
        height: 36px;
        border-radius: 5px;
    }
    
    .app-name {
        font-size: 15px;
        line-height: 1.2;
    }
    
    .app-info {
        padding-right: 60px;
        gap: 1px;
    }
    
    .app-status {
        gap: 2px;
    }
    
    .status-tag {
        font-size: 8px;
        padding: 2px 5px;
        border-radius: 3px;
    }
    
    .app-description {
        font-size: 12px;
        margin-bottom: 0;
        margin-top: 0;
        line-height: 1.3;
        -webkit-line-clamp: 2;
    }
    
    .app-footer {
        display: none;
    }

    .recommended-grid .app-card .app-footer,
    .app-card.has-download-button .app-footer {
        display: block;
        position: absolute;
        bottom: 6px;
        right: 6px;
    }

    .recommended-grid .app-card,
    .app-card.has-download-button {
        overflow: visible;
    }

    .platform-tabs {
        gap: 6px;
        margin-bottom: 0;
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .platform-tab {
        padding: 4px 9px;
        font-size: 12px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .modal-content {
        padding: 0 14px 14px;
        width: 92%;
        max-width: 280px;
        max-height: 85vh;
    }

    .modal-header {
        display: none;
        margin: 0;
        padding: 0;
        border: 0;
        height: 0;
    }
    
    .modal-title {
        font-size: 16px;
    }
    
    .close-btn {
        font-size: 22px;
        width: 28px;
        height: 28px;
    }
    
    .modal-body {
        margin-bottom: 12px;
    }
    
    .modal-body .app-info {
        margin-bottom: 10px;
        padding-bottom: 10px;
    }
    
    .app-title {
        font-size: 16px;
    }
    
    .app-subtitle {
        font-size: 11px;
    }
    
    .app-recommended-note {
        font-size: 11px;
        margin-top: 4px;
    }
    
    .platform-container {
        gap: 8px;
        margin-bottom: 10px;
    }
    
    .platform-header {
        padding: 10px 12px;
    }
    
    .platform-icon {
        font-size: 18px;
        margin-right: 8px;
    }
    
    .platform-name {
        font-size: 13px;
    }
    
    .platform-body {
        padding: 10px;
    }
    
    .download-button {
        /* 【方案2】移动端下载按钮放大加强：更大点击区 + 更粗字重，抓住高流失用户临门一脚 */
        padding: 10px 20px;
        font-size: 14px;
        font-weight: 700;
        margin-bottom: 10px;
    }
    
    .installation-steps {
        margin-top: 8px;
    }
    
    .installation-steps h5 {
        font-size: 12px;
        margin-bottom: 5px;
    }
    
    .installation-steps ol {
        padding-left: 18px;
    }
    
    .installation-steps li {
        font-size: 13px;
        margin-bottom: 3px;
    }
    
    .code-box {
        font-size: 11px;
        padding: 6px 10px;
        margin: 5px 0;
    }
    
    .android-note {
        font-size: 11px;
        margin: 5px 0 0 0;
    }
    
    .support-info {
        padding-top: 10px;
    }
    
    .support-info p {
        font-size: 10px;
    }
    
    .recommended-download-notice {
        margin-top: 8px;
        padding: 8px 10px;
    }
    
    .recommended-download-notice p {
        font-size: 11px;
    }
    
    .modal-footer {
        padding-top: 0;
        margin-top: 0;
        border-top: none;
    }
    
    .banner {
        padding: 40px 16px;
    }
    
    .banner-title {
        font-size: 32px;
    }
    
    .banner-description {
        font-size: 16px;
    }
    
    .follow-modal {
        padding: 16px;
        align-items: flex-end;
    }
    
    .follow-modal-content {
        padding: 20px 18px;
        max-width: 100%;
        border-radius: 20px 20px 0 0;
        animation: modalSlideUpMobile 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    
    @keyframes modalSlideUpMobile {
        from {
            opacity: 0;
            transform: translateY(100%);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .follow-modal-title {
        font-size: 20px;
    }
    
    .follow-modal-text {
        font-size: 14px;
    }
    
    .follow-btn {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .follow-modal-text {
        font-size: 13px;
    }
    
    .follow-modal-footer {
        gap: 10px;
    }
    
    .follow-btn {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .share-modal-content {
        padding: 24px 20px 20px;
        max-width: 90%;
    }
    
    .share-modal-icons {
        padding: 0 10px;
    }
    
    .share-icon-item {
        width: 40px;
        height: 40px;
    }
    
    .share-icon-item svg {
        width: 24px;
        height: 24px;
    }
    
    .share-fist-icon {
        font-size: 48px;
        margin-bottom: 12px;
    }
    
    .share-success-text {
        font-size: 24px;
    }
    
    .share-success-desc {
        font-size: 13px;
        padding: 0 8px;
    }
    
    .share-save-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .share-modal-close-btn {
        bottom: -50px;
        width: 36px;
        height: 36px;
    }
    
    .follow-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .qrcode-popup {
        min-width: 160px;
        padding: 12px;
    }
    
    .qrcode-popup img {
        width: 140px;
        height: 140px;
    }
    
    .share-popup {
        min-width: 160px;
        padding: 12px 16px;
    }
    
    .share-popup-text {
        font-size: 12px;
    }
    
    .fixed-icons {
        bottom: 10px;
        right: 10px;
        gap: 10px;
    }
    
    .fixed-icon {
        width: 45px;
        height: 45px;
    }
    
    .fixed-icon svg {
        width: 20px;
        height: 20px;
    }
}

/* 微信浏览器引导层 */
.wechat-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 99999;
    flex-direction: column;
    align-items: center;
    padding: 0 24px;
}

.wechat-overlay.active {
    display: flex;
}

.wechat-guide-arrow {
    position: absolute;
    top: 8px;
    right: 16px;
    animation: wechatArrowBounce 1.5s ease-in-out infinite;
}

@keyframes wechatArrowBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

.wechat-guide-arrow-red {
    filter: drop-shadow(0 2px 8px rgba(255, 59, 48, 0.6));
}

.wechat-guide-content {
    margin-top: 120px;
    text-align: center;
    width: 100%;
    max-width: 340px;
}

.wechat-guide-lead {
    color: #ff8a80;
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 8px;
}

.wechat-guide-title {
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 20px;
    line-height: 1.5;
}
.wechat-guide-title b {
    color: #ffd700;
    font-size: 19px;
}

/* 极简三步图示 */
.wechat-steps-3 {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}
.wechat-step3 {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 12px 14px;
}
.wechat-step3-num {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #07c160;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.wechat-step3-text {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
}
.wechat-step3-ok {
    color: #34d058;
    font-weight: 800;
}

.wechat-dots {
    display: inline-block;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffd700;
}

.wechat-highlight {
    color: #ffd700;
    font-weight: 700;
}

.wechat-overlay-footer {
    position: absolute;
    bottom: 56px;
    left: 0;
    right: 0;
    padding: 0 24px;
    text-align: center;
}

.wechat-cta-btn {
    display: block;
    width: 100%;
    max-width: 340px;
    margin: 0 auto 14px;
    padding: 15px 20px;
    border: none;
    border-radius: 28px;
    background: linear-gradient(135deg, #07c160 0%, #05974b 100%);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(7, 193, 96, 0.45);
    animation: wechatCtaPulse 1.8s ease-in-out infinite;
}
@keyframes wechatCtaPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 6px 20px rgba(7, 193, 96, 0.45); }
    50% { transform: scale(1.03); box-shadow: 0 8px 26px rgba(7, 193, 96, 0.65); }
}
.wechat-cta-btn.wechat-cta-done {
    background: linear-gradient(135deg, #f7a900 0%, #e08600 100%);
    box-shadow: 0 6px 20px rgba(240, 134, 0, 0.5);
    animation: none;
}

.wechat-skip-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: rgba(255, 255, 255, 0.6);
    padding: 8px 32px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.wechat-skip-btn:hover {
    border-color: rgba(255, 255, 255, 0.7);
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================================
 * 追剧.cc 专属：暗夜影院主题（theme-cinema）— 第一期
 * 仅当 body.theme-cinema 时生效，其他域名零影响
 * ============================================================ */

body.theme-cinema {
    background:
        radial-gradient(ellipse at top left, rgba(255, 59, 107, 0.10) 0%, transparent 45%),
        radial-gradient(ellipse at top right, rgba(108, 92, 231, 0.12) 0%, transparent 45%),
        linear-gradient(180deg, #0d0d1a 0%, #15172b 60%, #0d0d1a 100%);
    background-attachment: fixed;
    color: #f1f5f9;
}

/* 全局覆盖：文字颜色 */
body.theme-cinema .container {
    color: #f1f5f9;
}

/* === 影院风欢迎条 === */
body.theme-cinema .cinema-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 16px 8px;
    position: relative;
}

body.theme-cinema .cinema-hero-inner {
    background: linear-gradient(135deg, rgba(255, 59, 107, 0.18) 0%, rgba(108, 92, 231, 0.18) 50%, rgba(255, 215, 0, 0.10) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px 18px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

body.theme-cinema .cinema-hero-inner::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.18) 0%, transparent 65%);
    pointer-events: none;
    animation: cinemaSpotlight 8s ease-in-out infinite;
}

@keyframes cinemaSpotlight {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.7; }
    50%      { transform: translate(-30px, 20px) scale(1.15); opacity: 1; }
}

body.theme-cinema .cinema-hero-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.3px;
}

body.theme-cinema .cinema-hero-title strong {
    background: linear-gradient(135deg, #ffd700 0%, #ff3b6b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

body.theme-cinema .cinema-hero-emoji {
    font-size: 22px;
    line-height: 1;
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.6));
}

body.theme-cinema .cinema-hero-sub {
    margin-top: 6px;
    font-size: 13px;
    color: #c5cae9;
    letter-spacing: 0.2px;
}

/* === 影视分类 chips === */
body.theme-cinema .cinema-genres {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4px 16px 8px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

body.theme-cinema .cinema-genres::-webkit-scrollbar {
    display: none;
}

body.theme-cinema .cinema-genre-chip {
    flex-shrink: 0;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 500;
    border-radius: 20px;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    user-select: none;
}

body.theme-cinema .cinema-genre-chip:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.20);
    color: #fff;
    transform: translateY(-1px);
}

body.theme-cinema .cinema-genre-chip.is-active {
    background: linear-gradient(135deg, #ff3b6b 0%, #6c5ce7 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 14px rgba(255, 59, 107, 0.35);
}

/* === Banner 改造（虽然默认隐藏，但保险起见覆盖一下） === */
body.theme-cinema .banner {
    background: linear-gradient(135deg, #15172b 0%, #2d1b4e 100%);
}

/* === 收藏引导条 适配深色 === */
body.theme-cinema .bookmark-bar {
    background: linear-gradient(135deg, rgba(255, 59, 107, 0.18) 0%, rgba(108, 92, 231, 0.18) 100%);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
}

body.theme-cinema .bookmark-bar.returning {
    background: linear-gradient(135deg, rgba(72, 187, 120, 0.18) 0%, rgba(56, 161, 105, 0.18) 100%);
    border-bottom-color: rgba(72, 187, 120, 0.20);
}

body.theme-cinema .bookmark-bar.returning .bookmark-bar-text {
    color: #6ee7b7;
}

body.theme-cinema .bookmark-bar-btn {
    background: linear-gradient(135deg, #ff3b6b 0%, #6c5ce7 100%);
    box-shadow: 0 2px 8px rgba(255, 59, 107, 0.35);
}

body.theme-cinema .bookmark-bar-close {
    color: rgba(255, 255, 255, 0.45);
}

body.theme-cinema .bookmark-bar-close:hover {
    color: #fff;
}

/* === 热播板块（核心改造）：放大海报 + 影院氛围 === */
body.theme-cinema .hot-section {
    padding: 14px 16px 4px;
}

body.theme-cinema .hot-header {
    gap: 8px;
    margin-bottom: 14px;
}

body.theme-cinema .hot-icon {
    font-size: 22px;
    filter: drop-shadow(0 0 6px rgba(255, 107, 53, 0.7));
    animation: cinemaFlame 1.6s ease-in-out infinite;
}

@keyframes cinemaFlame {
    0%, 100% { transform: scale(1) rotate(-2deg); }
    50%      { transform: scale(1.12) rotate(3deg); }
}

body.theme-cinema .hot-title {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.3px;
    background: linear-gradient(135deg, #ffd700 0%, #ff6b35 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.theme-cinema .hot-scroll {
    gap: 14px;
    padding: 4px 0 14px;
    cursor: grab;
    scroll-behavior: smooth;
    user-select: none;
    -webkit-user-select: none;
}

body.theme-cinema .hot-scroll.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

body.theme-cinema .hot-scroll.is-dragging .hot-card {
    pointer-events: none;
}

body.theme-cinema .hot-card {
    width: 140px;
    gap: 8px;
}

body.theme-cinema .hot-cover {
    width: 140px;
    height: 200px;
    border-radius: 12px;
    box-shadow:
        0 8px 28px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s;
}

body.theme-cinema .hot-card:hover .hot-cover {
    transform: translateY(-4px);
    box-shadow:
        0 16px 40px rgba(255, 59, 107, 0.30),
        0 0 0 1px rgba(255, 215, 0, 0.30) inset;
}

body.theme-cinema .hot-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.6) 100%);
    pointer-events: none;
    border-radius: 12px;
}

/* 影院主题：海报更大，播放按钮同步放大 */
body.theme-cinema .hot-play {
    width: 21px;
    height: 21px;
    background: rgba(0, 0, 0, 0.4);
    border-width: 1.5px;
}

body.theme-cinema .hot-play svg {
    width: 15px;
    height: 15px;
}

body.theme-cinema .hot-rating {
    position: static;
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
    color: #1a0f00;
    font-size: 12px;
    font-weight: 800;
    padding: 3px 7px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(255, 140, 0, 0.4);
    line-height: 1;
    white-space: nowrap;
}

body.theme-cinema .hot-rating::before {
    content: '⭐';
    margin-right: 2px;
    font-size: 10px;
}

body.theme-cinema .hot-type {
    bottom: 6px;
    left: 6px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 7px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 2;
}

body.theme-cinema .hot-name {
    font-size: 13px;
    color: #f1f5f9;
    font-weight: 600;
    max-width: 140px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* === 分类标题、平台标签 适配深色 === */
body.theme-cinema .category-title {
    color: #fff;
}

body.theme-cinema .platform-tab {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.10);
    color: #cbd5e1;
    box-shadow: none;
}

body.theme-cinema .platform-tab:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.20);
    color: #fff;
}

body.theme-cinema .platform-tab.active {
    background: linear-gradient(135deg, #ff3b6b 0%, #6c5ce7 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(255, 59, 107, 0.35);
}

/* === 应用卡片 适配深色（保留布局，仅换肤） === */
body.theme-cinema .app-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

body.theme-cinema .app-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 32px rgba(255, 59, 107, 0.18);
}

body.theme-cinema .app-card::before {
    background: linear-gradient(90deg, #ff3b6b 0%, #ffd700 50%, #6c5ce7 100%);
}

body.theme-cinema .app-card .app-name {
    color: #fff;
}

body.theme-cinema .app-card .app-desc,
body.theme-cinema .app-card .app-description,
body.theme-cinema .app-card .app-version,
body.theme-cinema .app-card .app-update,
body.theme-cinema .app-card .app-meta,
body.theme-cinema .app-card .app-info-text,
body.theme-cinema .app-card p,
body.theme-cinema .app-card span:not(.app-status):not(.app-platform):not(.app-tag):not(.tag) {
    color: #a8b2c5;
}

body.theme-cinema .app-card .app-icon img {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* === 移动端适配 === */
@media (max-width: 768px) {
    body.theme-cinema .cinema-hero {
        padding: 14px 12px 6px;
    }

    body.theme-cinema .cinema-hero-inner {
        padding: 12px 14px;
        border-radius: 12px;
    }

    body.theme-cinema .cinema-hero-title {
        font-size: 16px;
    }

    body.theme-cinema .cinema-hero-sub {
        font-size: 12px;
    }

    body.theme-cinema .cinema-genres {
        padding: 4px 12px 6px;
        gap: 6px;
    }

    body.theme-cinema .cinema-genre-chip {
        padding: 5px 12px;
        font-size: 12px;
    }

    body.theme-cinema .hot-section {
        padding: 10px 12px 4px;
    }

    body.theme-cinema .hot-card {
        width: 118px;
    }

    body.theme-cinema .hot-cover {
        width: 118px;
        height: 168px;
        border-radius: 10px;
    }

    body.theme-cinema .hot-name {
        max-width: 118px;
        font-size: 12px;
    }

    body.theme-cinema .hot-title {
        font-size: 17px;
    }
}

/* === 实时数据滚动条（追剧.cc 专属）=== */
body.theme-cinema .cinema-stats {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6px 16px 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #cbd5e1;
    font-size: 13px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}

body.theme-cinema .cinema-stats::-webkit-scrollbar {
    display: none;
}

body.theme-cinema .cinema-stat-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    white-space: nowrap;
}

body.theme-cinema .cinema-stat-icon {
    font-size: 14px;
    line-height: 1;
    filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.5));
}

body.theme-cinema .cinema-stat-text {
    color: #94a3b8;
    font-weight: 500;
}

body.theme-cinema .cinema-stat-num {
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(135deg, #ffd700 0%, #ff6b35 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.3px;
    min-width: 36px;
    display: inline-block;
}

body.theme-cinema .cinema-stat-online {
    background: linear-gradient(135deg, #6ee7b7 0%, #34d399 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

body.theme-cinema .cinema-stat-divider {
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

/* "在线观看" 数字旁的呼吸点 */
body.theme-cinema .cinema-stat-item:has(.cinema-stat-online)::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #34d399;
    margin-right: 2px;
    animation: cinemaPulse 1.6s ease-in-out infinite;
    box-shadow: 0 0 6px rgba(52, 211, 153, 0.7);
}

@keyframes cinemaPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.4; transform: scale(0.7); }
}

/* === 热播板块多分类面板切换 === */
body.theme-cinema .hot-section .hot-genre-pane {
    display: none;
}

body.theme-cinema .hot-section .hot-genre-pane.is-active {
    display: block;
    animation: cinemaPaneFade 0.35s ease;
}

@keyframes cinemaPaneFade {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* 移动端数字条更紧凑 */
@media (max-width: 768px) {
    body.theme-cinema .cinema-stats {
        padding: 4px 12px 4px;
        gap: 4px;
        font-size: 12px;
    }

    body.theme-cinema .cinema-stat-divider {
        height: 10px;
    }
}

/* ============================================================
 * 追剧.cc 专属：第二期优化（角标 / 热度 / PC 二维码 / 退出意图 / 副标题）
 * ============================================================ */

/* === 板块副标题 === */
body.theme-cinema .cinema-cat-sub {
    font-size: 12px;
    color: #94a3b8;
    margin: 0;
    letter-spacing: 0.2px;
    align-self: center;
}

/* === 紧迫感角标 + 评分 共享容器（左上纵向堆叠，避免重叠） === */
body.theme-cinema .hot-tags {
    position: absolute;
    top: 6px;
    left: 6px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    z-index: 3;
    max-width: calc(100% - 12px);
}

body.theme-cinema .hot-badge {
    position: static;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.2px;
    line-height: 1;
    white-space: nowrap;
}

body.theme-cinema .hot-badge.tag-top1 {
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
    color: #1a0f00;
    animation: cinemaBadgeShine 2.4s ease-in-out infinite;
}

body.theme-cinema .hot-badge.tag-updating {
    background: linear-gradient(135deg, #ff3b6b 0%, #c2185b 100%);
    animation: cinemaPulseDot 1.6s ease-in-out infinite;
}

body.theme-cinema .hot-badge.tag-new {
    background: linear-gradient(135deg, #6c5ce7 0%, #4338ca 100%);
}

@keyframes cinemaBadgeShine {
    0%, 100% { box-shadow: 0 2px 8px rgba(255, 140, 0, 0.5); }
    50%      { box-shadow: 0 4px 18px rgba(255, 215, 0, 0.85); transform: scale(1.04); }
}

@keyframes cinemaPulseDot {
    0%, 100% { box-shadow: 0 2px 8px rgba(255, 59, 107, 0.55); }
    50%      { box-shadow: 0 4px 16px rgba(255, 59, 107, 0.85); }
}

/* 评分加豆瓣前缀（无需新样式，沿用 .hot-rating，但加宽以容纳前缀） */
body.theme-cinema .hot-rating {
    padding: 3px 8px;
    font-size: 11px;
    letter-spacing: 0.3px;
}

/* === 热度数字（标题下方第二行） === */
body.theme-cinema .hot-heat {
    display: block;
    font-size: 11px;
    color: #ff8c00;
    font-weight: 600;
    margin-top: 2px;
    letter-spacing: 0.2px;
    text-shadow: 0 0 4px rgba(255, 140, 0, 0.3);
}

/* === PC 端二维码兜底区 === */
body.theme-cinema .cinema-pc-qr {
    max-width: 1200px;
    margin: 14px auto 0;
    padding: 0 16px;
}

body.theme-cinema .cinema-pc-qr-inner {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.10) 0%, rgba(255, 59, 107, 0.10) 50%, rgba(108, 92, 231, 0.10) 100%);
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 14px;
    padding: 14px 22px; /* 减少上下内边距: 18px → 14px */
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body.theme-cinema .cinema-pc-qr-text {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 280px;
}

body.theme-cinema .cinema-pc-qr-emoji {
    font-size: 32px; /* 减小图标: 36px → 32px */
    line-height: 1;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
    flex-shrink: 0;
}

body.theme-cinema .cinema-pc-qr-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px;
    background: linear-gradient(135deg, #ffd700 0%, #ff6b35 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.theme-cinema .cinema-pc-qr-sub {
    font-size: 13px;
    color: #c5cae9;
    margin: 0;
    line-height: 1.5;
}

body.theme-cinema .cinema-pc-qr-sub-pc {
    margin-top: 4px;
    color: #ffd700;
    font-weight: 600;
    text-shadow: 0 0 6px rgba(255, 215, 0, 0.3);
}

body.theme-cinema .cinema-pc-qr-codes {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
    align-items: stretch;
}

body.theme-cinema .cinema-pc-qr-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    transition: transform 0.25s, border-color 0.25s;
}

body.theme-cinema .cinema-pc-qr-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 215, 0, 0.4);
}

body.theme-cinema .cinema-pc-qr-card img {
    display: block;
    width: 110px;
    height: 110px;
    background: #fff;
    border-radius: 6px;
    padding: 4px;
}

body.theme-cinema .cinema-pc-qr-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
}

body.theme-cinema .cinema-pc-qr-platform {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    color: #fff;
    line-height: 1;
}

body.theme-cinema .cinema-pc-qr-platform.ios {
    background: linear-gradient(135deg, #007AFF 0%, #0051d5 100%);
}

body.theme-cinema .cinema-pc-qr-platform.android {
    background: linear-gradient(135deg, #34A853 0%, #2d8f47 100%);
}

body.theme-cinema .cinema-pc-qr-name {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

body.theme-cinema .cinema-pc-qr-tip {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    margin-top: 4px;
}

/* === PC 扫码引导强化：标题高亮 + 卖点 chips === */
body.theme-cinema .cinema-pc-qr-hl {
    color: #ffd700;
    font-weight: 800;
}

body.theme-cinema .cinema-pc-qr-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0 6px;
}

body.theme-cinema .cinema-pc-qr-benefit {
    font-size: 13px;
    font-weight: 800;
    color: #ffe14d;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
    background: rgba(255, 193, 7, 0.16);
    border: 1px solid rgba(255, 215, 0, 0.5);
    border-radius: 14px;
    padding: 4px 12px;
    line-height: 1.4;
    white-space: nowrap;
}

/* === QR 卡片脉冲动画 + 「手机扫我」标签 === */
body.theme-cinema .cinema-pc-qr-imgwrap {
    position: relative;
    display: inline-block;
}

body.theme-cinema .cinema-pc-qr-card-pulse img {
    animation: qrCardPulse 2s ease-in-out infinite;
}

@keyframes qrCardPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.55); }
    50% { box-shadow: 0 0 0 9px rgba(255, 215, 0, 0); }
}

body.theme-cinema .cinema-pc-qr-scanme {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 11px;
    font-weight: 700;
    color: #1a1a1a;
    background: linear-gradient(135deg, #ffe066 0%, #ffc107 100%);
    border-radius: 12px;
    padding: 3px 9px;
    line-height: 1.3;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
    animation: qrScanmeBob 1.6s ease-in-out infinite;
}

@keyframes qrScanmeBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* 精简面板标题+激励文案（仅固定面板时显示，默认隐藏） */
body.theme-cinema .cinema-pc-qr-fixed-title,
body.theme-cinema .cinema-pc-qr-fixed-pitch {
    display: none;
}

/* ============================================================
   PC端：扫码区固定到右侧、垂直居中、不随页面滚动（精简版：只留二维码卡片）
   主页卡片因此更完整，右下角预告片(fixed right:20 bottom:20 360x~320)区域避让
   ============================================================ */
@media (min-width: 992px) {
    body.theme-cinema .cinema-pc-qr {
        position: fixed;
        /* 靠右靠上固定，不随页面滚动；全部内容显示、无滚动条 */
        top: 70px;
        transform: none;
        bottom: auto;
        right: 14px;
        left: auto;
        max-width: 210px;
        width: 210px;
        margin: 0;
        padding: 0;
        z-index: 850;            /* 低于预告片(900)，避免抢占 */
    }
    body.theme-cinema .cinema-pc-qr-inner {
        flex-direction: column;
        gap: 8px;
        padding: 14px 12px;
        align-items: stretch;
    }
    /* 固定面板标题显示（略显眼：更大字号+金渐变+轻光晕，但不过跳） */
    body.theme-cinema .cinema-pc-qr-fixed-title {
        display: block;
        text-align: center;
        font-size: 16px;
        font-weight: 800;
        line-height: 1.35;
        margin-bottom: 6px;
        background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        text-shadow: 0 0 10px rgba(255, 180, 0, 0.25);
    }
    /* 激励文案块（引导为什么下载、好处） */
    body.theme-cinema .cinema-pc-qr-fixed-pitch {
        display: block;
        text-align: center;
        margin-bottom: 6px;
    }
    body.theme-cinema .cinema-pc-qr-fixed-pitch-main {
        font-size: 13px;
        color: #333333;
        font-weight: 600;
        line-height: 1.5;
        margin-bottom: 8px;
    }
    body.theme-cinema .cinema-pc-qr-fixed-benefits {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }
    body.theme-cinema .cinema-pc-qr-fixed-benefits span {
        font-size: 12px;
        color: #4ade80;
        font-weight: 700;
        white-space: nowrap;
        background: rgba(74, 222, 128, 0.12);
        border-radius: 10px;
        padding: 2px 8px;
    }
    /* 精简：隐藏长文案区 + 两段安装步骤，只保留二维码卡片 */
    body.theme-cinema .cinema-pc-qr .cinema-pc-qr-text,
    body.theme-cinema .cinema-pc-qr .cinema-pc-qr-steps {
        display: none;
    }
    body.theme-cinema .cinema-pc-qr-codes {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    /* 二维码卡片压缩 */
    body.theme-cinema .cinema-pc-qr-card {
        padding: 10px 8px;
    }
    body.theme-cinema .cinema-pc-qr-imgwrap #zjQrCodeGuazi,
    body.theme-cinema .cinema-pc-qr-imgwrap #zjQrCodeAndroid,
    body.theme-cinema .cinema-pc-qr-imgwrap img {
        width: 96px !important;
        height: 96px !important;
    }
    /* 卡片进一步压缩，保证两张二维码卡+文案全部显示不溢出 */
    body.theme-cinema .cinema-pc-qr-card {
        padding: 8px 6px;
    }
    body.theme-cinema .cinema-pc-qr-codes {
        gap: 8px;
    }
    /* 主内容不再被顶部大 banner 占位——给 body 让出的顶部空间收回（banner 已 fixed 移走） */
    body.theme-cinema .container {
        padding-right: 0;
    }
}

/* 更大屏幕：面板右侧留白更多，二维码可稍大 */
@media (min-width: 1400px) {
    body.theme-cinema .cinema-pc-qr {
        right: 28px;
        max-width: 220px;
        width: 220px;
    }
    body.theme-cinema .cinema-pc-qr-imgwrap #zjQrCodeGuazi,
    body.theme-cinema .cinema-pc-qr-imgwrap #zjQrCodeAndroid,
    body.theme-cinema .cinema-pc-qr-imgwrap img {
        width: 120px !important;
        height: 120px !important;
    }
}

/* === PC 停留提醒浮窗（右下角轻量卡片） === */
.pc-scan-reminder {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9998;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 340px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(255, 215, 0, 0.35);
    border-radius: 14px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
    color: #fff;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: auto;
}

.pc-scan-reminder.is-show {
    opacity: 1;
    transform: translateY(0);
}

.pc-scan-reminder-emoji {
    font-size: 30px;
    line-height: 1;
    flex-shrink: 0;
}

.pc-scan-reminder-body {
    flex: 1;
    min-width: 0;
}

.pc-scan-reminder-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 3px;
}

.pc-scan-reminder-sub {
    font-size: 12px;
    color: #cbd5e1;
    line-height: 1.4;
}

.pc-scan-reminder-cta {
    flex-shrink: 0;
    align-self: stretch;
    border: none;
    border-radius: 10px;
    padding: 0 12px;
    background: linear-gradient(135deg, #ffe066 0%, #ffc107 100%);
    color: #1a1a1a;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: filter 0.2s;
}

.pc-scan-reminder-cta:hover {
    filter: brightness(1.08);
}

.pc-scan-reminder-close {
    position: absolute;
    top: 6px;
    right: 8px;
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    padding: 2px;
}

.pc-scan-reminder-close:hover {
    color: #fff;
}

/* CTA 点击后：顶部二维码区高亮闪烁引导视线 */
body.theme-cinema .cinema-pc-qr.cinema-pc-qr-flash {
    animation: cinemaPcQrFlash 0.8s ease-in-out 2;
}

@keyframes cinemaPcQrFlash {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
    50% { box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.55); }
}

@media (max-width: 640px) {
    .pc-scan-reminder { display: none !important; }
}

/* === 瓜子影视安装步骤区（PC 二维码右侧） === */
body.theme-cinema .cinema-pc-qr-steps {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 215, 0, 0.18);
    border-radius: 10px;
    padding: 12px 18px; /* 减少内边距: 14px 16px → 12px 18px */
    max-width: 420px; /* 拉宽: 340px → 420px */
    min-width: 320px; /* 拉宽: 260px → 320px */
    color: #e2e8f0;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

body.theme-cinema .cinema-pc-qr-steps-title {
    font-size: 13px;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 6px; /* 减少间距: 8px → 6px */
    letter-spacing: 0.3px;
}

body.theme-cinema .cinema-pc-qr-steps-list {
    margin: 0;
    padding-left: 20px;
    list-style: decimal;
    font-size: 12.5px;
    line-height: 1.6; /* 减少行高: 1.7 → 1.6 */
    color: #cbd5e1;
}

body.theme-cinema .cinema-pc-qr-steps-list li {
    margin-bottom: 2px;
}

body.theme-cinema .cinema-pc-qr-steps-list strong {
    color: #fff;
    font-weight: 600;
}

body.theme-cinema .cinema-pc-qr-code {
    display: inline-block;
    padding: 2px 10px;
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
    color: #1a0f00;
    font-weight: 800;
    /* 用微软雅黑等清晰字体，避免等宽/装饰字体导致 0/O、1/l 混淆看错变身码 */
    font-family: 'Microsoft YaHei', '微软雅黑', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    border-radius: 4px;
    font-size: 15px;
    letter-spacing: 1px;
    user-select: all;
    cursor: pointer;
}

body.theme-cinema .cinema-pc-qr-steps-tip {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed rgba(255, 255, 255, 0.10);
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.5;
}

/* === 安卓安装注意事项区（绿色主题，区别于 iOS 金色） === */
body.theme-cinema .cinema-pc-qr-steps-android {
    border-color: rgba(52, 168, 83, 0.28);
}
body.theme-cinema .cinema-pc-qr-steps-android .cinema-pc-qr-steps-title {
    color: #4ade80;
}
body.theme-cinema .cinema-pc-qr-steps-android .cinema-pc-qr-steps-list strong {
    color: #86efac;
}

/* 安卓「立即下载」按钮：标题右侧，绿色主题 */
body.theme-cinema .cinema-pc-qr-steps-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}
body.theme-cinema .cinema-pc-qr-steps-head .cinema-pc-qr-steps-title {
    margin-bottom: 0;
}
body.theme-cinema .cinema-pc-android-dl-btn {
    flex-shrink: 0;
    display: inline-block;
    padding: 7px 16px;
    background: linear-gradient(135deg, #34a853 0%, #1e8e3e 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border-radius: 18px;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(52, 168, 83, 0.35);
    transition: all 0.2s;
}
body.theme-cinema .cinema-pc-android-dl-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(52, 168, 83, 0.5);
}
body.theme-cinema .cinema-pc-android-dl-btn:active {
    transform: translateY(0);
}

/* === 退出意图浮窗 === */
body.theme-cinema .cinema-exit-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

body.theme-cinema .cinema-exit-modal.is-active {
    display: flex;
    animation: cinemaExitFadeIn 0.3s ease;
}

body.theme-cinema .cinema-exit-mask {
    position: absolute;
    inset: 0;
    background: rgba(13, 13, 26, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

body.theme-cinema .cinema-exit-card {
    position: relative;
    background: linear-gradient(160deg, #1a1d36 0%, #2d1b4e 100%);
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 18px;
    padding: 32px 26px 24px;
    max-width: 380px;
    width: 100%;
    text-align: center;
    color: #fff;
    box-shadow: 0 20px 60px rgba(255, 59, 107, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    animation: cinemaExitSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

body.theme-cinema .cinema-exit-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s;
}

body.theme-cinema .cinema-exit-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

body.theme-cinema .cinema-exit-emoji {
    font-size: 48px;
    line-height: 1;
    margin-bottom: 8px;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6));
    animation: cinemaExitEmoji 2.4s ease-in-out infinite;
}

@keyframes cinemaExitEmoji {
    0%, 100% { transform: scale(1) rotate(-3deg); }
    50%      { transform: scale(1.1) rotate(3deg); }
}

body.theme-cinema .cinema-exit-title {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 10px;
    color: #fff;
    background: linear-gradient(135deg, #ffd700 0%, #ff6b35 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.3px;
}

body.theme-cinema .cinema-exit-sub {
    font-size: 14px;
    color: #c5cae9;
    margin: 0 0 22px;
    line-height: 1.6;
}

body.theme-cinema .cinema-exit-sub strong {
    color: #ffd700;
    font-weight: 700;
}

body.theme-cinema .cinema-exit-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 14px;
}

body.theme-cinema .cinema-exit-btn-primary {
    flex: 1;
    padding: 12px 18px;
    background: linear-gradient(135deg, #ff3b6b 0%, #ff6b35 100%);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(255, 59, 107, 0.4);
    transition: all 0.2s;
    letter-spacing: 0.3px;
}

body.theme-cinema .cinema-exit-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(255, 59, 107, 0.55);
}

body.theme-cinema .cinema-exit-btn-primary:active {
    transform: translateY(0);
}

body.theme-cinema .cinema-exit-btn-secondary {
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

body.theme-cinema .cinema-exit-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
}

body.theme-cinema .cinema-exit-meta {
    font-size: 12px;
    color: #94a3b8;
    letter-spacing: 0.3px;
}

@keyframes cinemaExitFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes cinemaExitSlideUp {
    from { opacity: 0; transform: translateY(28px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* === 移动端适配 === */
@media (max-width: 768px) {
    body.theme-cinema .cinema-pc-qr {
        padding: 0 12px;
    }
    body.theme-cinema .cinema-pc-qr-inner {
        padding: 14px 16px;
        gap: 14px;
    }
    body.theme-cinema .cinema-pc-qr-card img {
        width: 90px;
        height: 90px;
    }

    body.theme-cinema .hot-badge {
        font-size: 10px;
        padding: 2px 6px;
        top: 4px;
        left: 4px;
    }

    body.theme-cinema .hot-heat {
        font-size: 10px;
    }

    body.theme-cinema .cinema-exit-card {
        padding: 26px 20px 20px;
    }
    body.theme-cinema .cinema-exit-title {
        font-size: 19px;
    }
    body.theme-cinema .cinema-exit-sub {
        font-size: 13px;
        margin-bottom: 18px;
    }
}

/* ============================================================
 * 追剧.cc：白底浅色覆盖（在所有暗色规则之后，优先级取胜）
 * 保留所有新功能（欢迎条/chips/数据条/热播角标/PC二维码/退出意图）
 * 仅把背景从暗夜黑切回浅色，文字反色，品牌色（金/红/紫）保留
 * ============================================================ */

/* === 全局背景 === */
body.theme-cinema {
    background:
        radial-gradient(ellipse at top left, rgba(255, 59, 107, 0.05) 0%, transparent 45%),
        radial-gradient(ellipse at top right, rgba(108, 92, 231, 0.06) 0%, transparent 45%),
        linear-gradient(180deg, #fafbfc 0%, #f1f5f9 60%, #fafbfc 100%);
    background-attachment: fixed;
    color: #2d3748;
}

body.theme-cinema .container {
    color: #2d3748;
}

/* === 欢迎条：白底玻璃 === */
body.theme-cinema .cinema-hero-inner {
    background: linear-gradient(135deg, rgba(255, 59, 107, 0.06) 0%, rgba(108, 92, 231, 0.06) 50%, rgba(255, 215, 0, 0.05) 100%);
    border-color: rgba(102, 126, 234, 0.15);
}

body.theme-cinema .cinema-hero-title {
    color: #1a202c;
}

body.theme-cinema .cinema-hero-sub {
    color: #64748b;
}

/* === 实时数据条：浅色文字 === */
body.theme-cinema .cinema-stats {
    color: #64748b;
}

body.theme-cinema .cinema-stat-text {
    color: #94a3b8;
}

body.theme-cinema .cinema-stat-divider {
    background: rgba(102, 126, 234, 0.18);
}

/* === 分类 chips：白底 === */
body.theme-cinema .cinema-genre-chip {
    background: #ffffff;
    border-color: #e2e8f0;
    color: #64748b;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

body.theme-cinema .cinema-genre-chip:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #475569;
}

/* === 收藏条：浅色 === */
body.theme-cinema .bookmark-bar {
    background: linear-gradient(135deg, rgba(255, 59, 107, 0.10) 0%, rgba(108, 92, 231, 0.10) 100%);
    border-bottom-color: rgba(102, 126, 234, 0.15);
    color: #4a5568;
}

body.theme-cinema .bookmark-bar.returning {
    background: linear-gradient(135deg, rgba(72, 187, 120, 0.10) 0%, rgba(56, 161, 105, 0.10) 100%);
    border-bottom-color: rgba(72, 187, 120, 0.18);
}

body.theme-cinema .bookmark-bar.returning .bookmark-bar-text {
    color: #2f855a;
}

body.theme-cinema .bookmark-bar-close {
    color: #a0aec0;
}

body.theme-cinema .bookmark-bar-close:hover {
    color: #4a5568;
}

/* === 热播板块标题保留金红渐变（已是渐变色，无需改） === */
/* hot-title 是 -webkit-text-fill-color: transparent + 渐变背景，本身在浅色背景上更突出 */

/* === 热播海报：浅色阴影替换深色阴影 === */
body.theme-cinema .hot-cover {
    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.10),
        0 0 0 1px rgba(0, 0, 0, 0.04) inset;
}

body.theme-cinema .hot-card:hover .hot-cover {
    box-shadow:
        0 12px 32px rgba(255, 59, 107, 0.20),
        0 0 0 1px rgba(255, 215, 0, 0.40) inset;
}

body.theme-cinema .hot-name {
    color: #1a202c;
    text-shadow: none;
}

/* hot-rating（豆瓣 X.X）金色渐变保留，hot-type 改浅色 */
body.theme-cinema .hot-type {
    background: rgba(0, 0, 0, 0.55);
    border-color: rgba(255, 255, 255, 0.20);
}

/* === 分类标题：深色文字（不用渐变） === */
body.theme-cinema .category-title {
    color: #1a202c;
}

body.theme-cinema .cinema-cat-sub {
    color: #94a3b8;
}

/* === 平台标签：浅色 === */
body.theme-cinema .platform-tab {
    background: #ffffff;
    border-color: #e2e8f0;
    color: #64748b;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

body.theme-cinema .platform-tab:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #475569;
}

body.theme-cinema .platform-tab.active {
    color: #fff;
}

/* === 应用卡片：白底 === */
body.theme-cinema .app-card {
    background: #ffffff;
    border-color: #f1f5f9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.theme-cinema .app-card:hover {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 8px 24px rgba(255, 59, 107, 0.12);
}

body.theme-cinema .app-card .app-name {
    color: #1a202c;
}

body.theme-cinema .app-card .app-desc,
body.theme-cinema .app-card .app-description,
body.theme-cinema .app-card .app-version,
body.theme-cinema .app-card .app-update,
body.theme-cinema .app-card .app-meta,
body.theme-cinema .app-card .app-info-text,
body.theme-cinema .app-card p,
body.theme-cinema .app-card span:not(.app-status):not(.app-platform):not(.app-tag):not(.tag) {
    color: #64748b;
}

body.theme-cinema .app-card .app-icon img {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.10);
}

/* === PC 二维码区：白底玻璃 === */
body.theme-cinema .cinema-pc-qr-inner {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(255, 59, 107, 0.05) 50%, rgba(108, 92, 231, 0.05) 100%);
    border-color: rgba(255, 215, 0, 0.30);
}

body.theme-cinema .cinema-pc-qr-title {
    /* 保留金红渐变（在白底上更突出）*/
}

body.theme-cinema .cinema-pc-qr-sub {
    color: #64748b;
}

body.theme-cinema .cinema-pc-qr-card {
    background: #ffffff;
    border-color: #e2e8f0;
}

body.theme-cinema .cinema-pc-qr-card:hover {
    border-color: rgba(255, 140, 0, 0.5);
    box-shadow: 0 6px 18px rgba(255, 140, 0, 0.15);
}

body.theme-cinema .cinema-pc-qr-card img {
    background: #ffffff;
}

body.theme-cinema .cinema-pc-qr-name {
    color: #1a202c;
}

body.theme-cinema .cinema-pc-qr-tip {
    color: #94a3b8;
}

/* === 安装步骤区：浅色 === */
body.theme-cinema .cinema-pc-qr-steps {
    background: #ffffff;
    border-color: rgba(255, 140, 0, 0.30);
    color: #2d3748;
}

body.theme-cinema .cinema-pc-qr-steps-title {
    color: #c2410c;
}

body.theme-cinema .cinema-pc-qr-steps-list {
    color: #475569;
}

body.theme-cinema .cinema-pc-qr-steps-list strong {
    color: #1a202c;
}

body.theme-cinema .cinema-pc-qr-steps-tip {
    color: #94a3b8;
    border-top-color: rgba(0, 0, 0, 0.08);
}

/* === 退出意图浮窗：白底 === */
body.theme-cinema .cinema-exit-mask {
    background: rgba(15, 23, 42, 0.55);
}

body.theme-cinema .cinema-exit-card {
    background: #ffffff;
    border-color: rgba(255, 215, 0, 0.30);
    color: #1a202c;
    box-shadow: 0 20px 60px rgba(255, 59, 107, 0.20), 0 0 0 1px rgba(0, 0, 0, 0.04) inset;
}

body.theme-cinema .cinema-exit-close {
    background: #f1f5f9;
    color: #64748b;
}

body.theme-cinema .cinema-exit-close:hover {
    background: #e2e8f0;
    color: #1a202c;
}

body.theme-cinema .cinema-exit-sub {
    color: #475569;
}

body.theme-cinema .cinema-exit-sub strong {
    color: #c2410c;
}

body.theme-cinema .cinema-exit-btn-secondary {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #64748b;
}

body.theme-cinema .cinema-exit-btn-secondary:hover {
    background: #e2e8f0;
    color: #1a202c;
}

body.theme-cinema .cinema-exit-meta {
    color: #94a3b8;
}

/* ============================================================
 * 退出意图浮窗：非影院主题域名兜底样式（zjapp.net / 神器.中国 移动端）
 * 这些域名 body 无 .theme-cinema，上面所有 body.theme-cinema .cinema-exit-* 规则不命中，
 * 导致浮窗只剩裸文字。这里用无主题前缀的选择器复刻「追剧.cc 最终白底样式」。
 * 影院域名因 body.theme-cinema 规则特异性更高(0,2,1>0,1,0)，仍走原样式、不受影响。
 * keyframes(cinemaExitFadeIn/SlideUp/Emoji) 为全局定义，可直接复用。
 * ============================================================ */
.cinema-exit-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.cinema-exit-modal.is-active {
    display: flex;
    animation: cinemaExitFadeIn 0.3s ease;
}
.cinema-exit-mask {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.cinema-exit-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(255, 215, 0, 0.30);
    border-radius: 18px;
    padding: 32px 26px 24px;
    max-width: 380px;
    width: 100%;
    text-align: center;
    color: #1a202c;
    box-shadow: 0 20px 60px rgba(255, 59, 107, 0.20), 0 0 0 1px rgba(0, 0, 0, 0.04) inset;
    animation: cinemaExitSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cinema-exit-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 32px;
    height: 32px;
    border: none;
    background: #f1f5f9;
    border-radius: 50%;
    color: #64748b;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s;
}
.cinema-exit-close:hover {
    background: #e2e8f0;
    color: #1a202c;
}
.cinema-exit-emoji {
    font-size: 48px;
    line-height: 1;
    margin-bottom: 8px;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6));
    animation: cinemaExitEmoji 2.4s ease-in-out infinite;
}
.cinema-exit-title {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 10px;
    background: linear-gradient(135deg, #ffd700 0%, #ff6b35 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.3px;
}
.cinema-exit-sub {
    font-size: 14px;
    color: #475569;
    margin: 0 0 22px;
    line-height: 1.6;
}
.cinema-exit-sub strong {
    color: #c2410c;
    font-weight: 700;
}
.cinema-exit-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 14px;
}
.cinema-exit-btn-primary {
    flex: 1;
    padding: 12px 18px;
    background: linear-gradient(135deg, #ff3b6b 0%, #ff6b35 100%);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(255, 59, 107, 0.4);
    transition: all 0.2s;
    letter-spacing: 0.3px;
}
.cinema-exit-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(255, 59, 107, 0.55);
}
.cinema-exit-btn-primary:active {
    transform: translateY(0);
}
.cinema-exit-btn-secondary {
    padding: 12px 18px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}
.cinema-exit-btn-secondary:hover {
    background: #e2e8f0;
    color: #1a202c;
}
.cinema-exit-meta {
    font-size: 12px;
    color: #94a3b8;
    letter-spacing: 0.3px;
}
@media (max-width: 768px) {
    .cinema-exit-card {
        padding: 26px 20px 20px;
    }
    .cinema-exit-title {
        font-size: 19px;
    }
    .cinema-exit-sub {
        font-size: 13px;
        margin-bottom: 18px;
    }
}

/* === 角标在白底上需稍微加重阴影 === */
body.theme-cinema .hot-badge {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

/* ============================================================
 * 追剧.cc：首屏紧凑布局（让下方应用卡片多露出）
 * 目标：首屏总高度从 ~750px → ~520px（节省 ~230px）
 * 不删除任何原有规则，仅靠覆盖优先级取胜
 * ============================================================ */

/* === PC 二维码区：压缩 ~100px === */
body.theme-cinema .cinema-pc-qr {
    margin: 10px auto 0;
}

body.theme-cinema .cinema-pc-qr-inner {
    padding: 10px 14px;       /* 18→10 上下 -16px */
    gap: 16px;                /* 28→16 横向间距 */
    border-radius: 12px;
}

body.theme-cinema .cinema-pc-qr-text {
    gap: 10px;                /* 14→10 */
}

body.theme-cinema .cinema-pc-qr-emoji {
    font-size: 24px;          /* 36→24 */
}

body.theme-cinema .cinema-pc-qr-title {
    font-size: 15px;          /* 18→15 */
    margin: 0;
}

body.theme-cinema .cinema-pc-qr-sub {
    font-size: 12px;          /* 13→12 */
    line-height: 1.4;
}

body.theme-cinema .cinema-pc-qr-sub-pc {
    margin-top: 2px;
}

/* 二维码缩小 110 → 84，但保持清晰度（300x300 png 缩到 84 仍清晰） */
body.theme-cinema .cinema-pc-qr-card {
    padding: 6px;             /* 10→6 */
}

body.theme-cinema .cinema-pc-qr-card img {
    width: 84px;
    height: 84px;
    padding: 3px;
}

body.theme-cinema .cinema-pc-qr-label {
    margin-top: 4px;
    gap: 4px;
}

body.theme-cinema .cinema-pc-qr-name {
    font-size: 12px;
}

body.theme-cinema .cinema-pc-qr-platform {
    font-size: 9px;
    padding: 1px 5px;
}

body.theme-cinema .cinema-pc-qr-tip {
    font-size: 10px;
    margin-top: 2px;
}

/* 安装步骤区压缩 */
body.theme-cinema .cinema-pc-qr-steps {
    padding: 8px 12px;        /* 14/16→8/12 */
    min-width: 220px;
    max-width: 300px;
    border-radius: 8px;
}

body.theme-cinema .cinema-pc-qr-steps-title {
    font-size: 12px;
    margin-bottom: 4px;
}

body.theme-cinema .cinema-pc-qr-steps-list {
    padding-left: 18px;
    font-size: 11.5px;
    line-height: 1.55;
}

body.theme-cinema .cinema-pc-qr-steps-list li {
    margin-bottom: 0;
}

body.theme-cinema .cinema-pc-qr-code {
    font-size: 15px;
    padding: 2px 10px;
    letter-spacing: 1px;
}

body.theme-cinema .cinema-pc-qr-steps-tip {
    margin-top: 6px;
    padding-top: 6px;
    font-size: 10px;
    line-height: 1.4;
}

/* === 欢迎条：压缩 ~30px === */
body.theme-cinema .cinema-hero {
    padding: 8px 16px 4px;    /* 18/8→8/4 */
}

body.theme-cinema .cinema-hero-inner {
    padding: 8px 14px;        /* 14/18→8/14 */
    border-radius: 10px;
}

body.theme-cinema .cinema-hero-title {
    font-size: 15px;
}

body.theme-cinema .cinema-hero-emoji {
    font-size: 18px;
}

body.theme-cinema .cinema-hero-sub {
    font-size: 12px;
    margin-top: 2px;
}

/* === 实时数据条：压缩 ~10px === */
body.theme-cinema .cinema-stats {
    padding: 2px 16px 4px;
    font-size: 12px;
}

/* === 分类 chips：压缩 ~10px === */
body.theme-cinema .cinema-genres {
    padding: 2px 16px 6px;
    gap: 6px;
}

body.theme-cinema .cinema-genre-chip {
    padding: 5px 12px;
    font-size: 12px;
}

/* === 热播板块：标题压缩 + 海报缩小 ~60px === */
body.theme-cinema .hot-section {
    padding: 8px 16px 4px;
}

body.theme-cinema .hot-header {
    margin-bottom: 8px;       /* 14→8 */
    gap: 6px;
}

body.theme-cinema .hot-icon {
    font-size: 18px;          /* 22→18 */
}

body.theme-cinema .hot-title {
    font-size: 17px;          /* 20→17 */
}

body.theme-cinema .hot-scroll {
    gap: 10px;                /* 14→10 */
    padding: 2px 0 8px;
}

/* 海报缩小：140×200 → 116×160（每张矮 40px）*/
body.theme-cinema .hot-card {
    width: 116px;             /* 140→116 */
    gap: 6px;
}

body.theme-cinema .hot-cover {
    width: 116px;
    height: 160px;            /* 200→160 节省 40px */
    border-radius: 10px;
}

body.theme-cinema .hot-name {
    font-size: 12px;
    max-width: 116px;
}

body.theme-cinema .hot-heat {
    font-size: 10px;
    margin-top: 1px;
}

body.theme-cinema .hot-tags {
    top: 4px;
    left: 4px;
    gap: 3px;
}

body.theme-cinema .hot-badge {
    font-size: 10px;
    padding: 2px 6px;
}

body.theme-cinema .hot-rating {
    font-size: 11px;
    padding: 2px 6px;
}

body.theme-cinema .hot-type {
    font-size: 10px;
    padding: 2px 6px;
    bottom: 4px;
    left: 4px;
}

/* === 移动端：进一步紧凑（保持原有移动端规则不动，单独压缩 PC 二维码不在移动端显示） === */
@media (max-width: 768px) {
    body.theme-cinema .cinema-hero {
        padding: 6px 12px 2px;
    }
    body.theme-cinema .cinema-hero-inner {
        padding: 8px 12px;
    }
    body.theme-cinema .cinema-hero-title {
        font-size: 14px;
    }
    body.theme-cinema .cinema-hero-sub {
        font-size: 11px;
    }

    body.theme-cinema .cinema-stats {
        padding: 2px 12px 3px;
        font-size: 11px;
    }

    body.theme-cinema .cinema-genres {
        padding: 2px 12px 4px;
        gap: 5px;
    }

    body.theme-cinema .cinema-genre-chip {
        padding: 4px 10px;
        font-size: 11px;
    }

    body.theme-cinema .hot-section {
        padding: 4px 12px 0;       /* 6/2 → 4/0 */
    }

    body.theme-cinema .hot-header {
        margin-bottom: 4px;        /* 8 → 4 */
        gap: 4px;
    }

    body.theme-cinema .hot-icon {
        font-size: 15px;           /* 18 → 15 */
    }

    body.theme-cinema .hot-title {
        font-size: 14px;           /* 15 → 14 */
    }

    body.theme-cinema .hot-scroll {
        gap: 8px;                  /* 10 → 8 */
        padding: 0 0 4px;          /* 2/8 → 0/4 */
    }

    /* 移动端海报：100×140 → 88×124（再缩 16px）*/
    body.theme-cinema .hot-card {
        width: 88px;
        gap: 3px;                  /* 6 → 3 */
    }
    body.theme-cinema .hot-cover {
        width: 88px;
        height: 124px;
        border-radius: 7px;
    }
    body.theme-cinema .hot-name {
        max-width: 88px;
        font-size: 11px;
    }

    /* 移动端隐藏热度行让海报区紧凑（每张卡省 ~14px）*/
    body.theme-cinema .hot-heat {
        display: none;
    }

    /* 角标/评分/类型 微缩 */
    body.theme-cinema .hot-tags {
        top: 3px;
        left: 3px;
        gap: 2px;
    }
    body.theme-cinema .hot-badge {
        font-size: 9px;
        padding: 1px 5px;
    }
    body.theme-cinema .hot-rating {
        font-size: 10px;
        padding: 1px 5px;
    }
    body.theme-cinema .hot-type {
        font-size: 9px;
        padding: 1px 5px;
        bottom: 3px;
        left: 3px;
    }
}

/* === 「🔥 X 热度」仅在追剧.cc(影院主题)电脑端显示，其他一律隐藏 === */
/* 默认全局隐藏（覆盖其他域名 PC + 所有域名移动端的 inline 显示） */
.hot-heat {
    display: none;
}
/* 仅追剧.cc 影院主题的 PC 端放行（移动端在下方 media query 再次隐藏） */
@media (max-width: 768px) {
    .hot-heat,
    body.theme-cinema .hot-heat {
        display: none !important;
    }
}

/* === PC 端 iOS 专区下载弹窗：左侧下载二维码 + 右侧安装步骤 === */
/* 弹窗加宽：原内容区宽度(280)不变，额外加出二维码所需宽度 */
.modal-content.has-ios-qr {
    max-width: 440px;
}
/* 加宽后顶部居中的应用名/描述跟随新宽度居中 */
.modal-content.has-ios-qr #downloadLinks > .app-info {
    width: 100%;
}
.platform-body.ios-pc-body {
    display: flex;
    gap: 16px;
    align-items: center;
}
.ios-pc-qr-col {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.ios-pc-qr-box {
    width: 132px;
    height: 132px;
    padding: 6px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-sizing: border-box;
}
.ios-pc-qr-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.ios-pc-qr-tip {
    font-size: 12px;
    color: #64748b;
    text-align: center;
    white-space: nowrap;
}
.ios-pc-main-col {
    flex: 1 1 auto;
    min-width: 0;
}

/* === PC 下载弹窗：iOS 二维码脉冲 + 「手机扫我」标签 === */
.ios-pc-qr-box-pulse {
    position: relative;
    animation: modalQrPulse 2s ease-in-out infinite;
}
@keyframes modalQrPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.5); }
    50% { box-shadow: 0 0 0 8px rgba(37, 99, 235, 0); }
}
.ios-pc-qr-scanme {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 12px;
    padding: 3px 9px;
    line-height: 1.3;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
    animation: qrScanmeBob 1.6s ease-in-out infinite;
}

/* === PC 下载弹窗：安卓下载按钮脉冲 + 「点我下载」徽标 === */
.download-button.pc-dl-pulse {
    /* 不覆盖基类的 position: absolute（按钮固定在卡片右上角原位）；
       绝对定位元素本身即为子徽标的定位上下文，徽标仍锚定按钮右上角 */
    animation: pcDlPulse 1.8s ease-in-out infinite;
    overflow: visible;
}
@keyframes pcDlPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(52, 168, 83, 0.5); }
    50% { box-shadow: 0 0 0 7px rgba(52, 168, 83, 0); }
}
.download-button.pc-dl-pulse .pc-dl-badge {
    position: absolute;
    top: -11px;
    right: -8px;
    font-size: 11px;
    font-weight: 700;
    color: #1a1a1a;
    background: linear-gradient(135deg, #ffe066 0%, #ffc107 100%);
    border-radius: 12px;
    padding: 2px 8px;
    line-height: 1.3;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    animation: qrScanmeBob 1.6s ease-in-out infinite;
    pointer-events: none;
}

/* ============================================================
 * PC 顶部二维码区：文字介绍 + 二维码 强制同一横排，压缩高度
 * 文字可收缩不再独占一行，步骤面板收窄，整行不换行
 * ============================================================ */
body.theme-cinema .cinema-pc-qr-inner {
    flex-wrap: nowrap;          /* 不换行：文字与二维码恒在同一横向面 */
    gap: 14px;
    align-items: center;
}
body.theme-cinema .cinema-pc-qr-text {
    flex: 0 1 auto;             /* 文字可收缩，不强占 280px 把二维码挤下去 */
    min-width: 0;
}
body.theme-cinema .cinema-pc-qr-codes {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: flex-end;
    flex-wrap: nowrap;
}
/* 步骤面板收窄，确保 文字+iOS+安卓 一整排放得下 */
body.theme-cinema .cinema-pc-qr-codes .cinema-pc-qr-steps {
    min-width: 0;
    max-width: 230px;
    padding: 8px 12px;
}
body.theme-cinema .cinema-pc-qr-codes .cinema-pc-qr-steps-list {
    font-size: 11.5px;
    line-height: 1.5;
    padding-left: 16px;
}
body.theme-cinema .cinema-pc-qr-codes .cinema-pc-qr-steps-tip {
    margin-top: 6px;
    padding-top: 6px;
}

/* ============================================================
 * PC 顶部二维码：鼠标悬停 → 屏幕居中弹出大图，便于扫码；移开自动隐藏
 * ============================================================ */
body.theme-cinema .cinema-pc-qr-card {
    position: relative;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.25s ease;
}
body.theme-cinema .cinema-pc-qr-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 140, 0, 0.6);
}

/* 居中弹出的二维码大图遮罩 */
.cinema-qr-preview {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 11, 22, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    /* 全屏遮罩不拦截鼠标：否则弹出后盖住卡片 → 触发卡片 mouseleave → 隐藏 → 又 mouseenter，
       循环导致放大二维码闪烁。设为穿透后，悬停判定不被打断，放大后保持静止。 */
    pointer-events: none;
}
.cinema-qr-preview.is-active {
    opacity: 1;
    visibility: visible;
}
.cinema-qr-preview-box {
    background: #fff;
    border-radius: 16px;
    padding: 22px 22px 18px;
    text-align: center;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.2s ease;
}
.cinema-qr-preview.is-active .cinema-qr-preview-box {
    transform: scale(1);
}
.cinema-qr-preview-box img {
    display: block;
    width: 300px;
    height: 300px;
    max-width: 70vmin;
    max-height: 70vmin;
    background: #fff;
    border-radius: 8px;
}
.cinema-qr-preview-label {
    margin-top: 14px;
    font-size: 16px;
    font-weight: 700;
    color: #1a202c;
}
.cinema-qr-preview-tip {
    margin-top: 4px;
    font-size: 13px;
    color: #64748b;
}


/* === 专区标题与卡片间动态下载文案（从右向左滚动，小字占位小） === */
.download-ticker {
    overflow: hidden;
    margin: -18px 0 4px;
    padding: 0;
    line-height: 1.2;
    min-height: 14px;
    white-space: nowrap;
    position: relative;
}
.download-ticker-track {
    display: inline-block;
    white-space: nowrap;
    /* 从右屏外滚入、向左滚出，循环 */
    will-change: transform;
    animation: downloadTickerScroll 18s linear infinite;
}
.download-ticker-text {
    display: inline-block;
    font-size: 11px;
    color: #94a3b8;
    letter-spacing: 0.2px;
    white-space: nowrap;
}
.download-ticker-num {
    font-weight: 700;
    color: #ff6b35;
    font-variant-numeric: tabular-nums;
}
/* 「安全检验」提示高亮（绿色，传达安全感） */
.download-ticker-safe {
    color: #22c55e;
    font-weight: 600;
}
body.theme-cinema .download-ticker-safe {
    color: #4ade80;
}
@keyframes downloadTickerScroll {
    0%   { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}
/* 鼠标悬停暂停滚动，方便看清 */
.download-ticker:hover .download-ticker-track {
    animation-play-state: paused;
}
/* 暗夜影院主题下配色微调 */
body.theme-cinema .download-ticker-text {
    color: #8b93a7;
}
body.theme-cinema .download-ticker-num {
    color: #ffa500;
}

/* ============================================================
 * 追剧.cc 移动端：压缩各板块间隔 + 标题与卡片间距，
 * 让首屏尽量多显示后面的卡片（最高优先级，放文件末尾）
 * ============================================================ */
@media (max-width: 768px) {
    /* 欢迎条：上下留白收紧 */
    body.theme-cinema .cinema-hero {
        padding: 8px 12px 2px;
    }
    body.theme-cinema .cinema-hero-inner {
        padding: 8px 12px;
    }
    /* 实时数据条：收紧上下 */
    body.theme-cinema .cinema-stats {
        padding: 2px 12px 2px;
    }
    /* 分类 chips：收紧上下 */
    body.theme-cinema .cinema-genres {
        padding: 2px 12px 4px;
    }
    /* 热播板块：收紧上下 + 标题与卡片间距 */
    body.theme-cinema .hot-section {
        padding: 6px 12px 2px;
    }
    body.theme-cinema .hot-title {
        padding: 0 0 4px;
        margin: 0;
    }
    /* 滚动文案：紧贴 */
    body.theme-cinema .download-ticker {
        margin: -10px 0 2px;
    }
    /* 应用专区：板块之间、标题与卡片之间收紧 */
    body.theme-cinema .category-section {
        margin-bottom: 8px;
    }
    body.theme-cinema .category-header {
        margin-bottom: 4px;
    }
    body.theme-cinema .category-title {
        margin: 0;
    }
    /* 平台 Tab 栏（iOS/安卓切换）收紧上下 */
    body.theme-cinema .platform-tabs {
        margin: 4px 0 6px;
    }
    /* 卡片网格行间距收紧 */
    body.theme-cinema .app-grid {
        gap: 8px;
    }
    /* 热播板块与推荐板块间距进一步收紧 */
    body.theme-cinema .hot-section {
        padding-bottom: 0;
        margin-bottom: 0;
    }
    /* 海报标题(hot-name)到「解锁全网免费追剧」标题的间隙：尽量压到最小 */
    body.theme-cinema .hot-scroll {
        padding-bottom: 0;
    }
    body.theme-cinema .hot-name {
        margin-top: 1px;
    }
    body.theme-cinema .category-section:first-of-type {
        margin-top: 0;
        padding-top: 0;
    }
    body.theme-cinema .category-section:first-of-type .category-header {
        margin-top: 0;
        padding-top: 0;
    }
    /* 应用卡片内部上下留白收紧 */
    body.theme-cinema .app-card {
        padding-top: 7px;
        padding-bottom: 7px;
    }
}

/* === 首屏底部「向下滑」半透明双箭头指示标（下滑后隐藏） === */
.cinema-scroll-hint {
    position: fixed;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    z-index: 900;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.4s ease;
    animation: cinemaScrollBounce 1.6s ease-in-out infinite;
}
.cinema-scroll-hint.is-hidden {
    opacity: 0;
}
.cinema-scroll-hint-arrow {
    font-size: 46px;
    line-height: 0.6;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.28);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    transform: scaleX(1.5);
}
/* 第二个箭头叠加，形成双箭头（V V）；间距加大一倍 */
.cinema-scroll-hint-arrow::after {
    content: '⌄';
    display: block;
    margin-top: -10px;
    color: rgba(255, 255, 255, 0.18);
}
@keyframes cinemaScrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(6px); }
}

/* === 右下角浮动图标：仅移动端调整（隐藏分享、缩间距、降透明度）；PC端保持原样 === */
@media (max-width: 768px) {
    .fixed-icons {
        gap: 4px;
    }
    .fixed-icon {
        opacity: 0.8;
    }
    .fixed-icon:hover {
        opacity: 1;
    }
    /* 移动端隐藏分享图标 */
    .fixed-icons .fixed-icon-wrapper {
        display: none;
    }
}

/* ============================================================
 * 追剧.cc 吸顶下载钩子（导航站冷流量专属，首屏行动召唤）
 * ============================================================ */
.zj-hero-cta {
    position: sticky;
    top: 0;
    z-index: 800;
    background: linear-gradient(135deg, #ff8c00 0%, #ff5e3a 100%);
    box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.zj-hero-cta-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.zj-hero-cta-text { min-width: 0; }
.zj-hero-cta-title {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0,0,0,0.25);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.zj-hero-cta-sub {
    font-size: 12px;
    color: rgba(255,255,255,0.92);
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.zj-hero-cta-btn {
    flex-shrink: 0;
    background: #fff;
    color: #ff5e3a;
    font-size: 14px;
    font-weight: 800;
    border: none;
    border-radius: 20px;
    padding: 7px 16px;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    animation: zjHeroPulse 1.8s ease-in-out infinite;
}
@keyframes zjHeroPulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.06); }
}
.zj-hero-cta-btn:active { transform: scale(0.96); }
@media (max-width: 768px) {
    .zj-hero-cta-title { font-size: 13px; }
    .zj-hero-cta-sub { font-size: 10px; }
    .zj-hero-cta-btn { font-size: 13px; padding: 6px 12px; }
}
@media (max-width: 360px) {
    .zj-hero-cta-title { font-size: 12px; }
}

/* === 方案A：追剧.cc 首屏预告片自动播放（静音）=== */
.zj-hero-trailer {
    max-width: 1200px;
    margin: 10px auto 0;
    padding: 0 14px;
}
.zj-hero-trailer-inner {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 8px 26px rgba(0,0,0,0.4);
}
.zj-hero-trailer-video {
    display: block;
    width: 100%;
    max-height: 56vh;
    object-fit: cover;
    background: #000;
}
.zj-hero-trailer-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 16px 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.25) 65%, rgba(0,0,0,0) 100%);
    pointer-events: none;
}
.zj-hero-trailer-badge {
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #ffd700 0%, #ff5e3a 100%);
    padding: 3px 10px;
    border-radius: 12px;
}
.zj-hero-trailer-title {
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
    line-height: 1.2;
}
.zj-hero-trailer-cta {
    pointer-events: auto;
    margin-top: 2px;
    border: none;
    border-radius: 22px;
    padding: 9px 22px;
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #ff8c00 0%, #ff5e3a 100%);
    box-shadow: 0 4px 14px rgba(255,94,58,0.5);
    cursor: pointer;
    animation: zjHeroPulse 1.8s ease-in-out infinite;
}
.zj-hero-trailer-cta:active { transform: scale(0.96); }

/* 安卓端专用：预告片下方大号CTA按钮（默认隐藏，JS检测安卓后显示） */
.zj-hero-trailer-cta-android {
    display: none; /* 默认隐藏，JS添加.is-android-device后显示 */
    pointer-events: auto;
    margin-top: 12px;
    border: none;
    border-radius: 28px;
    padding: 14px 32px;
    font-size: 17px;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(135deg, #ff6b00 0%, #ff3d00 100%);
    box-shadow: 0 6px 20px rgba(255, 61, 0, 0.6);
    cursor: pointer;
    animation: zjHeroPulse 1.8s ease-in-out infinite;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
body.is-android-device .zj-hero-trailer-cta-android {
    display: block;
}
.zj-hero-trailer-cta-android:active { transform: scale(0.96); }

.zj-hero-trailer-close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.15s;
    pointer-events: auto;
}
.zj-hero-trailer-close:hover {
    background: rgba(0,0,0,0.85);
    transform: scale(1.1);
}
.zj-hero-trailer-close:active {
    transform: scale(0.95);
}

/* PC端：右下角小屏悬浮自动播放 */
@media (min-width: 769px) {
    .zj-hero-trailer {
        position: fixed;
        right: 20px;
        bottom: 20px;
        z-index: 900;
        max-width: 360px;
        width: 360px;
        margin: 0;
        padding: 0;
        animation: zjTrailerSlideIn 0.6s ease-out;
    }
    .zj-hero-trailer-inner {
        border-radius: 12px;
        box-shadow: 0 12px 40px rgba(0,0,0,0.6);
    }
    .zj-hero-trailer-video {
        max-height: 202px; /* 16:9 for 360px width */
    }
    .zj-hero-trailer-overlay {
        padding: 16px 12px 10px;
        gap: 6px;
    }
    .zj-hero-trailer-badge {
        font-size: 11px;
        padding: 2px 8px;
    }
    .zj-hero-trailer-title {
        font-size: 14px;
    }
    .zj-hero-trailer-cta {
        padding: 7px 16px;
        font-size: 13px;
        border-radius: 18px;
    }
    @keyframes zjTrailerSlideIn {
        from { transform: translateY(120%); opacity: 0; }
        to { transform: translateY(0); opacity: 1; }
    }
}

@media (max-width: 768px) {
    .zj-hero-trailer-title { font-size: 15px; }
}

/* 追剧.cc iOS端 8秒提示：ID1卡片高亮脉冲 + 气泡 */
.zj-id1-highlight {
    position: relative;
    animation: zjId1Pulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.2) !important;
    transform: scale(1.02);
}
@keyframes zjId1Pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.2); }
    50% { box-shadow: 0 0 0 8px rgba(255, 140, 0, 0.6), 0 12px 32px rgba(255, 94, 58, 0.3); }
}
.zj-id1-bubble {
    position: absolute;
    top: -48px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9000;
    background: linear-gradient(135deg, #ff8c00 0%, #ff5e3a 100%);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 6px 20px rgba(255, 94, 58, 0.5);
    animation: zjBubbleBounce 0.5s ease-out, zjBubblePulse 1.5s ease-in-out 0.5s infinite;
    pointer-events: none;
}
.zj-id1-bubble::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #ff5e3a;
}
/* 右侧定位气泡：隐藏箭头尾巴（左指向，无需三角） */
.zj-pc-tab-bubble-right::after {
    display: none;
}
@keyframes zjBubbleBounce {
    0% { transform: translateX(-50%) translateY(10px); opacity: 0; }
    100% { transform: translateX(-50%) translateY(0); opacity: 1; }
}
@keyframes zjBubblePulse {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.05); }
}

/* PC 端推荐板块高亮（新增，CPA 优先引导）*/
.zj-pc-recommended-highlight {
    position: relative;
    animation: zjPcRecommendedPulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.4), 0 8px 24px rgba(0, 0, 0, 0.2) !important;
    transform: scale(1.02);
}
@keyframes zjPcRecommendedPulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.4), 0 8px 24px rgba(0, 0, 0, 0.2); }
    50% { box-shadow: 0 0 0 8px rgba(59, 130, 246, 0.6), 0 12px 32px rgba(96, 165, 250, 0.3); }
}

/* PC 端电脑专区 tab 高亮（旧功能保留）*/
.zj-pc-tab-highlight {
    position: relative;
    animation: zjPcTabPulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.4) !important;
}
@keyframes zjPcTabPulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.4); }
    50% { box-shadow: 0 0 0 6px rgba(168, 85, 247, 0.6); }
}

/* ============================================================
   【方案1.1】首屏 5 秒无互动引导蒙层（柔性聚光灯）
   JS initFirstScreenGuideOverlay 注入；激活"完全零点击"访客
   ============================================================ */
.zj-guide-overlay {
    position: fixed;
    inset: 0;
    z-index: 99990;
    opacity: 0;
    transition: opacity 0.28s ease;
}
.zj-guide-overlay.zj-guide-in {
    opacity: 1;
}
/* 聚光灯环：本体透明，超大 box-shadow 反向遮罩四周（柔性 0.5 黑幕）+ 橙色光晕描边 */
.zj-guide-ring {
    position: fixed;
    border-radius: 16px;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.5),
                0 0 0 3px rgba(255, 140, 0, 0.9),
                0 0 22px 6px rgba(255, 94, 58, 0.55);
    background: transparent;
    pointer-events: none;
    animation: zjGuideRingPulse 1.6s ease-in-out infinite;
}
@keyframes zjGuideRingPulse {
    0%, 100% { box-shadow: 0 0 0 9999px rgba(0,0,0,0.5), 0 0 0 3px rgba(255,140,0,0.9), 0 0 22px 6px rgba(255,94,58,0.55); }
    50%      { box-shadow: 0 0 0 9999px rgba(0,0,0,0.5), 0 0 0 5px rgba(255,140,0,1),   0 0 30px 10px rgba(255,94,58,0.75); }
}
/* 引导文案条：定位在卡片上/下方，居中 */
.zj-guide-tip {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    pointer-events: none;
    max-width: 88vw;
    text-align: center;
}
.zj-guide-tip.zj-guide-tip-above {
    transform: translate(-50%, -100%);
}
.zj-guide-arrow {
    font-size: 30px;
    font-weight: 900;
    color: #ffb020;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(255, 94, 58, 0.7);
    animation: zjGuideArrowBob 1s ease-in-out infinite;
}
.zj-guide-tip-above .zj-guide-arrow { order: 2; }
.zj-guide-tip-above .zj-guide-text  { order: 1; }
/* 右侧定位（PC端推荐板块）：横排箭头在左，文本在右 */
.zj-guide-tip.zj-guide-tip-right {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    transform: translateY(-50%); /* 垂直居中已由 JS 设 top */
    left: auto; /* 覆盖默认 left:50% */
}
.zj-guide-tip-right .zj-guide-arrow {
    order: 1;
    animation: zjGuideArrowBobRight 1s ease-in-out infinite;
}
.zj-guide-tip-right .zj-guide-text {
    order: 2;
}
@keyframes zjGuideArrowBobRight {
    0%, 100% { transform: translateX(0); }
    50%      { transform: translateX(-6px); } /* 箭头左右摆动 */
}
@keyframes zjGuideArrowBob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(6px); }
}
.zj-guide-text {
    background: linear-gradient(135deg, #ff8c00 0%, #ff5e3a 100%);
    color: #fff;
    padding: 11px 20px;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 8px 26px rgba(255, 94, 58, 0.55);
    white-space: nowrap;
    animation: zjGuideTextPulse 1.6s ease-in-out infinite;
}
@keyframes zjGuideTextPulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.04); }
}
/* 跳过按钮：固定底部居中，低调但可点 */
.zj-guide-skip {
    position: fixed;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    z-index: 2;
    pointer-events: auto;
    padding: 9px 26px;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
.zj-guide-skip:active { transform: translateX(-50%) scale(0.96); }
@media (max-width: 480px) {
    .zj-guide-text { font-size: 15px; padding: 10px 16px; white-space: normal; }
    .zj-guide-arrow { font-size: 26px; }
}

/* ============================================================
   【方案2.1】PC 扫码进度引导样式
   ============================================================ */
.zj-qr-scan-guide {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9000;
    display: none;
}

.zj-qr-scan-guide-inner {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    min-width: 400px;
    text-align: center;
    position: relative;
    animation: zjQrGuideSlideIn 0.3s ease-out;
}

@keyframes zjQrGuideSlideIn {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* 扫码引导弹窗左上角「安装指引」链接（橙色加粗下划线） */
.zj-qr-scan-guide-iglink {
    position: absolute;
    top: 16px;
    left: 20px;
    color: #ff8c00;
    font-weight: 700;
    text-decoration: underline;
    font-size: 15px;
    cursor: pointer;
    z-index: 2;
}
.zj-qr-scan-guide-iglink:hover { opacity: 0.85; }

.zj-qr-scan-guide-icon {
    font-size: 48px;
    margin-bottom: 16px;
    animation: zjQrIconBounce 0.6s ease-out;
}

@keyframes zjQrIconBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.zj-qr-scan-guide-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 20px;
}

.zj-qr-scan-guide-timer {
    margin-bottom: 24px;
}

.zj-qr-scan-guide-countdown {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 12px;
}

.zj-qr-scan-guide-countdown span {
    font-size: 24px;
    font-weight: 700;
    color: #ff8c00;
}

.zj-qr-scan-guide-progress {
    width: 100%;
    height: 8px;
    background: #f1f5f9;
    border-radius: 4px;
    overflow: hidden;
}

.zj-qr-scan-guide-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ff8c00 0%, #ff5e3a 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
    animation: zjQrProgressPulse 1.5s ease-in-out infinite;
}

@keyframes zjQrProgressPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.zj-qr-scan-guide-steps {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 20px;
}

.zj-qr-scan-guide-step {
    font-size: 14px;
    color: #64748b;
    padding: 8px 16px;
    background: #f8fafc;
    border-radius: 8px;
}

.zj-qr-scan-guide-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: none;
    background: #f1f5f9;
    border-radius: 50%;
    font-size: 20px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}

.zj-qr-scan-guide-close:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.zj-qr-scan-guide-btn {
    padding: 12px 24px;
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}

.zj-qr-scan-guide-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.zj-qr-scan-guide-btn-primary {
    background: linear-gradient(135deg, #ff8c00 0%, #ff5e3a 100%);
    color: #fff;
    border: none;
}

.zj-qr-scan-guide-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 94, 58, 0.3);
}

/* ============================================================
   底部关注横幅（替代弹窗，不打扰用户）
   ============================================================ */
.follow-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 16px 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9998;
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.follow-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
}

.follow-banner-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.follow-banner-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
}

.follow-banner-text strong {
    font-weight: 600;
    margin-right: 8px;
}

.follow-banner-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.follow-banner-btn {
    padding: 8px 20px;
    background: #fff;
    color: #667eea;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.follow-banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.follow-banner-close {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

.follow-banner-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .follow-banner {
        padding: 12px 16px;
    }

    .follow-banner-content {
        gap: 12px;
    }

    .follow-banner-icon {
        font-size: 20px;
    }

    .follow-banner-text {
        font-size: 13px;
    }

    .follow-banner-text strong {
        display: block;
        margin-bottom: 2px;
    }

    .follow-banner-btn {
        padding: 6px 16px;
        font-size: 13px;
    }

    .follow-banner-close {
        width: 28px;
        height: 28px;
        font-size: 20px;
    }
}

/* ============================================================
   移动端追剧.cc 右下角浮层预告片
   ============================================================ */
.zj-mobile-trailer {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 180px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    z-index: 9997;
    animation: slideInFromRight 0.5s ease-out;
    display: flex;
    flex-direction: column;
}

@keyframes slideInFromRight {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.zj-mobile-trailer-close {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 24px;
    height: 24px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.zj-mobile-trailer-close:hover {
    background: rgba(255, 59, 48, 0.9);
    transform: rotate(90deg);
}

.zj-mobile-trailer-video-wrap {
    position: relative;
    width: 100%;
    line-height: 0;
}

.zj-mobile-trailer-video {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* 剧名浮在视频左上角，覆盖视频画面 */
.zj-mobile-trailer-title {
    position: absolute;
    top: 2px;
    left: 2px;
    max-width: calc(100% - 34px);
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
    padding: 2px 8px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 6px;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.zj-mobile-trailer-cta {
    width: 100%;
    padding: 10px 14px;
    background: linear-gradient(135deg, #ffb800 0%, #ff8c00 100%);
    border: none;
    border-radius: 0 0 12px 12px;
    color: #000;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.zj-mobile-trailer-cta:active {
    transform: scale(0.98);
}

/* 滑动/拖动时：半透明，避免遮挡应用卡片，静止后恢复 */
.zj-mobile-trailer.zj-mobile-trailer-dimmed {
    opacity: 0.25;
    transition: opacity 0.2s ease;
    pointer-events: none;
}
.zj-mobile-trailer {
    transition: opacity 0.3s ease;
}

/* PC端右下角预告片：有动作时半透明（同移动端），静止恢复 */
.zj-hero-trailer.zj-hero-trailer-dimmed {
    opacity: 0.25;
    transition: opacity 0.2s ease;
    pointer-events: none;
}
.zj-hero-trailer {
    transition: opacity 0.3s ease;
}

/* 避免遮挡底部导航 */
@media (max-width: 768px) {
    .zj-mobile-trailer {
        bottom: 10px;
        right: 10px;
    }
}

/* ============================================================
   微信端二维码弹窗：长按识别高亮气泡提示
   ============================================================ */
.wechat-qr-tip {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    pointer-events: none;
    animation: wechatQrTipBounce 1.5s ease-in-out infinite;
}

.wechat-qr-tip-text {
    background: linear-gradient(135deg, #ff8c00 0%, #ff5e3a 100%);
    color: #fff;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    box-shadow: 0 4px 14px rgba(255, 94, 58, 0.5);
}

.wechat-qr-tip-arrow {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 12px solid #ff5e3a;
    margin-top: -1px;
}

@keyframes wechatQrTipBounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(4px);
    }
}

/* ============================================================
   安卓下载弹窗「安装指导」入口 + 安装指导抽屉
   ============================================================ */

/* 「安装指导」链接：弹窗右上角（橙色加粗下划线，80%不透明） */
.zj-install-guide-link {
    position: absolute;
    top: 14px;
    right: 16px;
    z-index: 5;
    color: #ff8c00;
    font-weight: 700;
    text-decoration: underline;
    opacity: 0.8;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
}
.zj-install-guide-link:hover { opacity: 1; }

/* 遮罩层 */
.zj-install-guide {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100000; /* 高于下载弹窗 99999 */
    display: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.zj-install-guide.is-open {
    display: block;
    opacity: 1;
}

/* PC端：右侧滑入抽屉 */
.zj-install-guide-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 46%;
    max-width: 620px;
    min-width: 380px;
    height: 100%;
    background: #fff;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}
.zj-install-guide.is-open .zj-install-guide-panel {
    transform: translateX(0);
}

.zj-install-guide-head {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 18px 20px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}
.zj-install-guide-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a202c;
}
.zj-install-guide-close {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    font-size: 28px;
    line-height: 1;
    color: #999;
    cursor: pointer;
    padding: 0 6px;
}
.zj-install-guide-close:hover { color: #333; }

/* 品牌 tab 行 */
.zj-install-guide-tabs {
    display: flex;
    gap: 8px;
    padding: 14px 20px;
    border-bottom: 1px solid #f5f5f5;
    flex-shrink: 0;
    overflow-x: auto;
}
.zj-install-guide-tab {
    border: none;
    background: none;
    font-size: 15px;
    color: #666;
    cursor: pointer;
    padding: 6px 10px;
    position: relative;
    white-space: nowrap;
    font-weight: 500;
}
.zj-install-guide-tab.is-active {
    color: #ff8c00;
    font-weight: 700;
}
.zj-install-guide-tab.is-active::after {
    content: '';
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: -4px;
    height: 3px;
    border-radius: 2px;
    background: #ff8c00;
}

/* 内容区 */
.zj-install-guide-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    -webkit-overflow-scrolling: touch;
}
.zj-install-guide-subtitle {
    text-align: center;
    font-size: 15px;
    color: #333;
    margin-bottom: 18px;
    font-weight: 600;
}
.zj-install-guide-step {
    margin-bottom: 22px;
}
.zj-install-guide-step-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 8px;
}
.zj-install-guide-step-desc {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    background: #f8fafc;
    border-radius: 10px;
    padding: 14px 16px;
}
/* 步骤截图：两列网格布局（同参考站 grid-col-2），单张/奇数张时末张独占一行 */
.zj-install-guide-imgs {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.zj-install-guide-img {
    width: 100%;
    display: block;
    border-radius: 8px;
    border: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
/* 单张图时居中、限制宽度，不撑满整行 */
.zj-install-guide-imgs.single {
    grid-template-columns: 1fr;
    justify-items: center;
}
.zj-install-guide-imgs.single .zj-install-guide-img {
    max-width: 260px;
}

/* 移动端：全屏弹出 */
@media (max-width: 768px) {
    /* 移动端/微信端：居中弹窗（非全屏），上方露出主页内容 + 渐隐蒙版，可点遮罩或X关闭 */
    .zj-install-guide {
        display: none;
    }
    .zj-install-guide.is-open {
        display: flex;
        align-items: flex-start;   /* 顶部对齐，由上留白控制顶部间距 */
        justify-content: center;
        padding: 40px 6px 12px;    /* 上留白不变；左右、下略微留白 */
    }
    .zj-install-guide-panel {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        max-width: 560px;   /* 左右略微留白，弹窗更宽 */
        min-width: 0;
        height: auto;
        max-height: calc(100vh - 52px);   /* 上留白40 + 下12，尽量占满高度 */
        border-radius: 14px;
        transform: translateY(20px);
        opacity: 0;
        transition: transform 0.28s ease, opacity 0.28s ease;
    }
    .zj-install-guide.is-open .zj-install-guide-panel {
        transform: translateY(0);
        opacity: 1;
    }
    /* X 按钮高亮：橙色圆底白叉，方便关闭回到下载弹窗 */
    .zj-install-guide-close {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: #ff8c00;
        color: #fff;
        font-size: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 8px rgba(255, 140, 0, 0.5);
    }
    .zj-install-guide-close:hover { color: #fff; background: #ff7a00; }
}
