* {
    border: 0;
    margin: 0;
    padding: 0;
    outline: none;
    box-sizing: border-box;
    /* 干掉手机端点击时系统默认的灰色/蓝色高亮块（这是「点一下就闪一下」的头号元凶） */
    -webkit-tap-highlight-color: transparent;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

html,
body {
    -webkit-tap-highlight-color: transparent;
}

/* 所有可点元素：去掉点击高亮、去掉双击缩放判定带来的延迟与闪动 */
button,
a,
[role="button"] {
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: none;
    appearance: none;
    touch-action: manipulation;
}

/* ===== 全屏动态视频背景 ===== */
#bg-video {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    object-fit: cover;
    z-index: -2;
    background: #0a0512;
    filter: brightness(0.85) saturate(1.15);
}

/* 背景之上、内容之下的暗色渐晕层：保证文字与视频内容可读 */
body::before {
    content: '';
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse at center, rgba(10, 5, 18, 0.25) 0%, rgba(10, 5, 18, 0.62) 100%),
        linear-gradient(to bottom, rgba(10, 5, 18, 0.55) 0%, rgba(10, 5, 18, 0.15) 30%, rgba(10, 5, 18, 0.15) 70%, rgba(10, 5, 18, 0.6) 100%);
}

body {
    background: #0a0512;
    width: 100vw;
    height: 100vh;
    height: 100dvh; /* 手机浏览器地址栏收缩时同样铺满 */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#main {
    height: calc(100vh - 60px);
    height: calc(100dvh - 60px); /* 与 body 的 dvh 保持一致 */
    padding-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; /* 视频文字广告的定位基准 */
}

/* ===== 视频文字广告：公众号 ===== */
#video-ad {
    position: absolute;
    top: 52px;
    left: 12px;
    z-index: 3;
    color: #ffe98a;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
    background: rgba(30, 15, 50, 0.9);
    border: 1px solid rgba(255, 210, 80, 0.55);
    border-radius: 14px;
    padding: 5px 12px;
    white-space: nowrap;
    text-shadow: 0 0 6px rgba(255, 200, 60, 0.6);
    animation: ad-glow 2.4s ease-in-out infinite;
    transition: transform 0.15s;
}

/* 呼吸光只动 opacity（GPU 合成，不触发重绘）；
   原来每帧都改 box-shadow，视频在背后播放时会一直重绘 → 手机上看着就是「闪」。 */
@keyframes ad-glow {
    0%, 100% { opacity: 0.82; }
    50%      { opacity: 1; }
}

#video-ad:active { opacity: 0.7; transform: scale(0.96); }

/* ===== 电脑端两侧二维码卡片（左公众号 / 右QQ群）：手机端一律隐藏 ===== */
.side-qr { display: none; }

@media (min-width: 1250px) {
    .side-qr {
        position: fixed;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        padding: 12px 12px 10px;
        border-radius: 16px;
        background: rgba(20, 10, 35, 0.8);
        border: 1px solid rgba(180, 100, 255, 0.35);
        box-shadow: 0 8px 26px rgba(0, 0, 0, 0.5);
        z-index: 4;
        text-align: center;
    }
    .side-qr.side-left { left: 28px; }
    .side-qr.side-right { right: 90px; }   /* 避开右侧悬浮按钮栏（12+48px） */
    .side-qr img,
    .side-qr .qr-box {
        display: block;
        width: 132px;
        height: 132px;
        border-radius: 10px;
        background: #fff;
        padding: 5px;
        box-sizing: border-box;
        object-fit: contain;
    }
    .side-qr .qr-box canvas,
    .side-qr .qr-box img {
        display: block;
        width: 100% !important;
        height: 100% !important;
        border-radius: 6px;
        padding: 0;
        background: #fff;
    }
    .side-qr .qr-cap {
        font-size: 13px;
        font-weight: bold;
        color: #ffe98a;
        letter-spacing: 0.5px;
    }
    .side-qr .qr-sub {
        font-size: 11px;
        color: #bfa8e0;
    }
}

/* 成为会员胶囊：公众号胶囊下方，点击打开会员弹窗；开通后自动隐藏 */
#vip-join {
    position: absolute;
    top: 96px;
    left: 12px;
    z-index: 3;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
    background: linear-gradient(135deg, #ff8a2d, #ff5a8c);
    border: 1px solid rgba(255, 170, 110, 0.65);
    border-radius: 14px;
    padding: 5px 12px;
    white-space: nowrap;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 10px rgba(255, 120, 80, 0.45);
    transition: transform 0.15s;
}
#vip-join:active { opacity: 0.7; transform: scale(0.96); }
body.is-vip #vip-join { display: none; }   /* 已开通会员：胶囊自动消失 */
/* 管理员浏览前台（后台已登录）：不显示「👑 VIP会员」徽标，自己看着清爽 */
body.is-admin #vip-tag { display: none !important; }

/* 看片加我胶囊：会员胶囊正下方，点击打开「添加微信/QQ」弹窗
   （微信号/QQ号跟底部「+她微信」共用同一份后台配置） */
#wx-join {
    position: absolute;
    top: 140px;
    left: 12px;
    z-index: 3;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
    background: linear-gradient(135deg, #ff3d7f, #a24bff);
    border: 1px solid rgba(255, 180, 230, 0.65);
    border-radius: 14px;
    padding: 5px 12px;
    white-space: nowrap;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 10px rgba(255, 70, 150, 0.45);
    transition: transform 0.15s;
    animation: wxJoinPulse 2.4s ease-in-out infinite;
}
#wx-join:active { opacity: 0.75; transform: scale(0.96); }
/* 已是会员：不再显示「看片加我」（会员无需再加微信看片） */
body.is-vip #wx-join { display: none; }
/* 没有「成为会员」胶囊时（后台关闭会员）：看片加我上移补位 */
#wx-join.no-vip { top: 96px; }
@media (max-width: 480px) {
    #wx-join.no-vip { top: 68px; }
}
@keyframes wxJoinPulse {
    0%, 100% { box-shadow: 0 0 10px rgba(255, 70, 150, 0.45); }
    50%      { box-shadow: 0 0 18px rgba(255, 70, 150, 0.85); }
}

/* 「新上传」角标：播放 3 天内新采集的视频时出现（与会员胶囊同一列，往下排） */
#new-badge {
    position: absolute;
    top: 184px;
    left: 12px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.5px;
    padding: 5px 11px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ff3d7f, #a24bff);
    border: 1px solid rgba(255, 180, 230, 0.6);
    box-shadow: 0 0 12px rgba(255, 70, 150, 0.5);
    white-space: nowrap;
    pointer-events: none;              /* 不挡视频点击/双击 */
    opacity: 0;
    visibility: hidden;
    transform: translateX(-8px);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
}
#new-badge.show { opacity: 1; visibility: visible; transform: none; }
/* 已是会员：上面两颗胶囊都不显示，角标上移补位，不留空档 */
body.is-vip #new-badge { top: 96px; }
#new-badge i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 6px #fff;
    animation: nbPulse 1.05s ease-in-out infinite;
}
@keyframes nbPulse {
    0%, 100% { opacity: 0.35; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}
@media (max-height: 650px) {
    #wx-join { top: 132px; }
    #new-badge { top: 176px; }
}
@media (max-width: 420px) {
    #new-badge { font-size: 11px; padding: 4px 10px; }
}

/* ===== 视频内滚动文字广告（位置/宽度由 JS 跟随视频） ===== */
#roll-ad {
    position: absolute;
    display: none;
    align-items: center;
    height: 28px;
    overflow: hidden;
    border-radius: 0;
    background: rgba(10, 5, 20, 0.6);
    border: none;
    border-bottom: 1px solid rgba(255, 210, 80, 0.45);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    z-index: 4;
    text-decoration: none;
}
#roll-ad .roll-track {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    color: #ffe98a;
    font-size: 13px;
    font-weight: bold;
    text-shadow: 0 0 6px rgba(255, 200, 60, 0.6);
    animation: roll-move 14s linear infinite;
}
@keyframes roll-move {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

#player,
#player2 {
    width: 100%;
    height: auto;           /* 电脑端：恢复最初尺寸，高度随视频比例自适应 */
    max-height: 100%;
    border-radius: 14px;
    border: 1px solid rgba(170, 80, 255, 0.45);
    box-shadow:
        0 0 34px rgba(160, 60, 255, 0.5),
        0 0 90px rgba(90, 30, 180, 0.35);
}

/* 手机端（触屏/无鼠标指针）：保持铺满可用区域 */
@media (pointer: coarse) {
    #player,
    #player2 {
        height: 100%;          /* 铺满可用区域，手机上不再缩小 */
        object-fit: contain;   /* 保持比例，不裁切不变形 */
        background: rgba(0, 0, 0, 0.55);
        border-radius: 0;
        border: none;
    }
}

/* ===== 加载指示器：小胶囊，不遮挡画面（画面从第一秒就可见） ===== */
#loading {
    position: fixed;
    top: 58px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    z-index: 60;
    pointer-events: none;
    background: rgba(22, 10, 38, 0.92);
    border: 1px solid rgba(160, 100, 255, 0.35);
    border-radius: 999px;
    padding: 6px 14px;
    color: #ffe98a;
    font-size: 12px;
    text-shadow: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

#loading .spin {
    width: 13px;
    height: 13px;
    border: 2px solid rgba(160, 60, 255, 0.3);
    border-top-color: #ffe98a;
    border-right-color: #c98bff;
    border-radius: 50%;
    animation: loading-spin 0.85s linear infinite;
    margin-bottom: 0;
    box-shadow: none;
    flex: 0 0 auto;
}

@keyframes loading-spin {
    to { transform: rotate(360deg); }
}

/* ===== 底部按钮区 ===== */
#buttons {
    height: 60px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* 底部今日剩余次数：点击打开赚次数弹窗；用完变红 */
#quota-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    color: #ffe98a;
    background: rgba(30, 15, 50, 0.9);
    border: 1px solid rgba(255, 210, 80, 0.55);
    white-space: nowrap;
    cursor: pointer;
    text-shadow: 0 0 6px rgba(255, 200, 60, 0.5);
    transition: transform 0.15s;
}
#quota-tag:active { transform: scale(0.94); }
#quota-tag.is-empty {
    color: #ff6b6b;
    border-color: rgba(255, 100, 100, 0.7);
    text-shadow: 0 0 6px rgba(255, 80, 80, 0.6);
    animation: ad-glow 1.6s ease-in-out infinite;
}

#switch,
#prev,
#next {
    background: linear-gradient(to bottom, #ffd24d, #ffab1f);
    color: #5c1e00;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.5px;
    height: 40px;
    padding: 0 22px;
    border-radius: 20px;
    cursor: pointer;
    box-shadow:
        0 0 14px rgba(255, 180, 40, 0.45),
        0 3px 8px rgba(0, 0, 0, 0.45);
    transition: transform 0.15s, box-shadow 0.2s;
}

#switch:hover,
#prev:hover,
#next:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 22px rgba(255, 180, 40, 0.7),
        0 5px 12px rgba(0, 0, 0, 0.5);
}

#switch:active,
#prev:active,
#next:active {
    transform: scale(0.95);
}

#down {
    background: linear-gradient(to bottom, #ffd24d, #ffab1f);
    color: #5c1e00;
    font-size: 17px;
    font-weight: bold;
    height: auto;
    padding: 6px 16px;
    line-height: 1.12;
    letter-spacing: 0.5px;
    text-align: center;
    border-radius: 14px;
    flex: 0 0 auto;
    white-space: nowrap;
    box-shadow:
        0 0 14px rgba(255, 180, 40, 0.45),
        0 3px 8px rgba(0, 0, 0, 0.45);
    transition: transform 0.15s, box-shadow 0.2s;
}

#down:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 22px rgba(255, 180, 40, 0.7),
        0 5px 12px rgba(0, 0, 0, 0.5);
}

#down:active {
    transform: scale(0.95);
}

#down a {
    color: #5c1e00;
    text-decoration: none;
}

#down a:visited {
    color: #5c1e00;
}

/* ===== 管理面板入口 ===== */
#admin-entry a {
    color: #d8c9ee;
    text-decoration: none;
    font-size: 13px;
    opacity: 0.72;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(180, 100, 255, 0.3);
    border-radius: 14px;
    padding: 4px 12px;
    transition: opacity 0.2s, background 0.2s;
}

#admin-entry a:visited {
    color: #d8c9ee;
}

#admin-entry a:hover {
    opacity: 1;
    background: rgba(160, 60, 255, 0.25);
}

#admin-entry a:active {
    opacity: 1;
}

/* ===== 右侧悬浮跳转按钮 ===== */
#jump-tools {
    position: fixed;
    right: 12px;
    bottom: 80px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 99;
    /* 固定层独立合成，避免滚动/点击时被父层重绘带着一起闪 */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* ⚠️ 这里刻意不用 backdrop-filter：
   圆钮上带毛玻璃 + :active 缩放时，浏览器会重算模糊层，手机上一按就闪一下（Chrome / 微信 WebView 通病）。
   改成同色系的半透明渐变，视觉几乎一致，但没有重绘开销，点多少次都不会闪。 */
#jump-tools .tool-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 32% 26%, rgba(96, 52, 150, 0.55), rgba(32, 16, 56, 0) 62%),
        linear-gradient(160deg, rgba(44, 22, 74, 0.94), rgba(22, 11, 42, 0.94));
    border: 1px solid rgba(180, 100, 255, 0.45);
    color: #ffe98a;
    font-size: 22px;
    line-height: 46px;
    text-align: center;
    padding: 0;
    cursor: pointer;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    box-shadow:
        0 0 12px rgba(160, 60, 255, 0.35),
        0 3px 10px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
    /* 只过渡不会被系统重绘的颜色，不再过渡 transform（缩放仍有，但用独立合成层） */
    transition: background-color 0.18s, border-color 0.18s, box-shadow 0.18s, opacity 0.18s;
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
}

/* hover 只在真有鼠标的设备上生效，手机点完不会残留「亮着」的状态 */
@media (hover: hover) and (pointer: fine) {
    #jump-tools .tool-btn:hover {
        transform: translate3d(0, -2px, 0);
        border-color: rgba(220, 150, 255, 0.8);
        box-shadow:
            0 0 20px rgba(160, 60, 255, 0.65),
            0 5px 14px rgba(0, 0, 0, 0.55),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
}

#jump-tools .tool-btn:active {
    transform: scale(0.93) translateZ(0);
    border-color: rgba(220, 150, 255, 0.85);
    box-shadow:
        0 0 18px rgba(190, 90, 255, 0.6),
        0 2px 8px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    opacity: 0.94;
}

/* 键盘操作时的可见焦点（不影响触屏，也不会闪） */
#jump-tools .tool-btn:focus-visible {
    border-color: rgba(230, 170, 255, 0.9);
    box-shadow: 0 0 0 2px rgba(190, 90, 255, 0.45);
}

/* ===== 顶部滚动公告 ===== */
#notice {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    display: flex;
    align-items: center;
    background: rgba(12, 6, 22, 0.92);
    border-bottom: 1px solid rgba(170, 80, 255, 0.4);
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
    z-index: 50;
    cursor: pointer;
}

#notice .notice-tag {
    flex-shrink: 0;
    margin: 0 8px;
    color: #5c1e00;
    background: linear-gradient(to bottom, #ffd24d, #ffab1f);
    font-size: 12px;
    font-weight: bold;
    border-radius: 10px;
    padding: 2px 9px;
    box-shadow: 0 0 10px rgba(255, 180, 40, 0.4);
}

#notice .notice-track {
    flex: 1;
    overflow: hidden;
}

#notice .notice-text {
    display: inline-block;
    white-space: nowrap;
    color: #ffe98a;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(255, 200, 60, 0.45);
    padding-left: 100%;
    animation: notice-scroll 16s linear infinite;
}

@keyframes notice-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* ===== 二维码 / 分享弹窗 ===== */
.jump-modal {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    /* 弹窗层自己独立合成，打开瞬间不牵动整页重绘 */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    /* 打开瞬间的淡入：比「duang」一下弹出来柔和，也几乎不要性能 */
    animation: modal-fade 0.16s ease-out;
}

.jump-modal[hidden] {
    display: none;
}

@keyframes modal-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ⚠️ 遮罩同样去掉 backdrop-filter：
   全屏毛玻璃每开一次弹窗都要把整页重算一遍模糊，手机上就是「唰」一下闪屏。
   用更实的半透明黑顶替，观感一致、零重绘。 */
.jump-modal .modal-mask {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: rgba(4, 2, 10, 0.86);
}

.jump-modal .modal-box {
    position: relative;
    width: 78%;
    max-width: 340px;
    background: linear-gradient(160deg, rgba(38, 20, 64, 0.98), rgba(20, 10, 38, 0.98));
    border: 1px solid rgba(180, 100, 255, 0.55);
    border-radius: 18px;
    padding: 26px 20px 22px;
    text-align: center;
    box-shadow:
        0 0 40px rgba(160, 60, 255, 0.45),
        0 18px 50px rgba(0, 0, 0, 0.6);
    animation: modal-pop 0.2s cubic-bezier(0.22, 0.9, 0.35, 1);
    will-change: transform, opacity;
}

/* 只做「轻微上浮 + 淡入」，不再从 0.82 放大：
   大发光面板做缩放时，那一下会被看成「闪一下」；位移+透明度是纯合成，稳。 */
@keyframes modal-pop {
    from { transform: translate3d(0, 14px, 0) scale(0.98); opacity: 0; }
    to   { transform: translate3d(0, 0, 0)      scale(1);    opacity: 1; }
}

/* 公众号弹窗底部：关注公众号获取验证码 · 永久免费观看（点击直达验证码开通） */
#gzh-verify {
    display: block;
    margin: 12px auto 0;
    padding: 10px 12px;
    background: linear-gradient(to right, #ff9d2e, #ffbe55);
    color: #5c2600;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.5;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(255, 150, 30, 0.35);
    transition: transform 0.15s, filter 0.15s;
}
#gzh-verify:active { transform: scale(0.97); filter: brightness(1.08); }
@media (max-width: 767px) {
    #gzh-verify { font-size: 12px; padding: 8px 10px; border-radius: 10px; }
}

/* ===== 音乐弹窗（汽水音乐 / QQ音乐 / 网易云…）：点进去直接试听 ===== */
#music-modal .music-box {
    max-width: 360px;
    padding: 24px 16px 18px;
    text-align: left;
}
#music-modal h3 {
    text-align: center;
    margin-bottom: 14px;
}
.music-hero {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
    background: linear-gradient(135deg, #2ce3c4, #0a9bff);
    color: #06231f;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(10, 155, 255, 0.35);
    transition: transform 0.14s, filter 0.14s;
}
.music-hero:active { transform: scale(0.98); filter: brightness(1.06); }
.music-hero .mh-ico { font-size: 28px; line-height: 1; flex-shrink: 0; }
.music-hero .mh-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.music-hero .mh-txt b { font-size: 16px; font-weight: 800; }
.music-hero .mh-txt i {
    font-style: normal;
    font-size: 11px;
    opacity: 0.78;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.music-hero .mh-go {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 9px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.55);
    white-space: nowrap;
}
.music-search { display: flex; gap: 8px; margin: 12px 0; }
.music-search input {
    flex: 1;
    min-width: 0;
    height: 38px;
    padding: 0 12px;
    border-radius: 19px;
    border: 1px solid rgba(180, 100, 255, 0.45);
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-size: 14px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}
.music-search input::placeholder { color: rgba(216, 201, 238, 0.55); }
.music-search button {
    flex-shrink: 0;
    height: 38px;
    padding: 0 16px;
    border: none;
    border-radius: 19px;
    background: linear-gradient(to right, #ff9d2e, #ffbe55);
    color: #5c2600;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.14s, filter 0.14s;
}
.music-search button:active { transform: scale(0.96); filter: brightness(1.06); }
.music-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.music-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 4px;
    border-radius: 12px;
    border: 1px solid rgba(180, 100, 255, 0.35);
    background: rgba(255, 255, 255, 0.05);
    color: #efe6ff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.14s, transform 0.14s;
}
.music-item:active { background: rgba(255, 255, 255, 0.12); transform: scale(0.97); }
.music-item .mi-ico { font-size: 20px; line-height: 1; }
.music-item .mi-name {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
#music-modal .music-tip {
    color: #b9a8d6;
    font-size: 11px;
    text-align: center;
    margin-top: 10px;
    line-height: 1.6;
}

/* 视频页引导弹窗：关注公众号获取永久免费观看 */
.gtip-box { max-width: 300px; padding: 24px 20px 20px; }
.gtip-ico { font-size: 42px; line-height: 1; margin-bottom: 8px; }
.gtip-title { color: #ffd24d; font-size: 18px; margin: 0 0 10px; text-shadow: 0 1px 6px rgba(255, 200, 60, 0.3); }
.gtip-text { color: #e8dcff; font-size: 14px; line-height: 1.9; margin: 0 0 16px; }
.gtip-text b { color: #ff9d2e; font-size: 15px; }
.gtip-btn {
    width: 100%;
    height: 44px;
    border: none;
    border-radius: 22px;
    background: linear-gradient(to right, #ff9d2e, #ffbe55);
    color: #5c2600;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(255, 150, 30, 0.35);
    transition: transform 0.15s, filter 0.15s;
}
.gtip-btn:active { transform: scale(0.97); filter: brightness(1.08); }
@media (max-width: 767px) {
    .gtip-ico { font-size: 36px; }
    .gtip-title { font-size: 16px; }
    .gtip-text { font-size: 13px; }
    .gtip-btn { height: 40px; font-size: 14px; }
}

.jump-modal .modal-close {
    position: absolute;
    top: 8px;
    right: 14px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .5);
    cursor: pointer;
    transition: color 0.2s, transform 0.15s;
}

.jump-modal .modal-close:hover {
    color: #fff;
    transform: scale(1.15);
}

.jump-modal .ad-tag {
    position: absolute;
    top: 10px;
    left: 14px;
    color: #fff;
    font-size: 11px;
    background: rgba(255, 70, 70, 0.85);
    border-radius: 4px;
    padding: 2px 7px;
}

.jump-modal h3 {
    color: #ffe98a;
    font-size: 17px;
    margin-bottom: 14px;
    text-shadow: 0 0 10px rgba(255, 200, 60, 0.4);
}

.jump-modal img {
    width: 100%;
    border-radius: 12px;
    display: block;
    box-shadow: 0 0 16px rgba(160, 60, 255, 0.35);
}

.jump-modal p {
    color: #d8c9ee;
    font-size: 14px;
    margin-top: 12px;
}

.jump-modal .miniapp-fallback {
    color: #d8c9ee;
    font-size: 14px;
    line-height: 1.8;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 30px 10px;
}

/* 小程序码弹窗下方的「进入小程序」跳转按钮 */
.jump-modal .miniapp-go {
    display: block;
    width: 100%;
    margin-top: 14px;
    padding: 12px 0;
    min-height: 44px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #09BB07, #07c160);
    border: none;
    border-radius: 24px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.jump-modal .miniapp-go:active {
    opacity: 0.85;
    transform: scale(0.98);
}

/* ===== 分享弹窗 ===== */
/* 隐藏式链接分享卡片（主通道） */
.share-card {
    position: relative;
    text-align: left;
    background: linear-gradient(135deg, rgba(160, 60, 255, 0.18), rgba(255, 90, 160, 0.12));
    border: 1px solid rgba(200, 150, 255, 0.35);
    border-radius: 14px;
    padding: 12px 14px 12px;
    margin-bottom: 12px;
}

.share-card .sc-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: bold;
    color: #ffe98a;
    background: rgba(255, 210, 77, 0.14);
    border: 1px solid rgba(255, 210, 77, 0.35);
    border-radius: 10px;
    padding: 2px 8px;
    margin-bottom: 8px;
}

.share-card .sc-title {
    font-size: 16px;
    font-weight: 800;
    color: #ffe98a;
    line-height: 1.4;
}

.share-card .sc-desc {
    font-size: 12px;
    color: #c9b8e4;
    margin-top: 4px;
    line-height: 1.5;
}

.share-card .sc-url {
    margin-top: 9px;
    font-size: 13px;
    color: #6be5a0;
    font-weight: bold;
    word-break: break-all;
    background: rgba(0, 0, 0, 0.28);
    border-radius: 8px;
    padding: 7px 9px;
}

.share-card .sc-hint {
    margin-top: 7px;
    font-size: 11px;
    color: #a896c4;
}

/* 一键分享链接主按钮 */
.jump-modal .share-primary {
    display: block;
    width: 100%;
    height: 46px;
    border: 0;
    border-radius: 23px;
    font-size: 16px;
    font-weight: 800;
    color: #10240f;
    background: linear-gradient(to bottom, #5be07a, #16b334);
    box-shadow: 0 4px 14px rgba(22, 179, 52, 0.38);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.15s, filter 0.2s;
}

.jump-modal .share-primary:active {
    transform: scale(0.97);
    filter: brightness(1.06);
}

/* 备用通道：扫码 / 海报 */
.jump-modal .share-alt {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.jump-modal .share-alt .ghost {
    font-size: 12px;
    font-weight: bold;
    color: #d8c9ee;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    padding: 7px 12px;
    cursor: pointer;
}

.jump-modal .share-alt .ghost:active {
    transform: scale(0.95);
}

#share-qr-wrap {
    margin-top: 12px;
}

#share-qr-wrap p {
    margin-top: 6px;
    font-size: 12px;
    color: #b9a6d6;
}

#share-qrcode {
    width: fit-content;
    margin: 0 auto;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
}

#share-qrcode canvas,
#share-qrcode img {
    display: block;
}

.jump-modal .share-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.jump-modal .share-btns button {
    color: #5c1e00;
    font-weight: bold;
    font-size: 14px;
    background: linear-gradient(to bottom, #ffd24d, #ffab1f);
    border-radius: 16px;
    padding: 8px 16px;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 180, 40, 0.35);
    transition: transform 0.15s, box-shadow 0.2s;
}

.jump-modal .share-btns button:active {
    transform: scale(0.94);
}

/* ===== 平台分享按钮行 ===== */
.jump-modal .share-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.jump-modal .share-btn {
    font-size: 13px;
    font-weight: bold;
    color: #fff;
    border-radius: 16px;
    padding: 7px 14px;
    cursor: pointer;
    transition: transform 0.15s, filter 0.2s;
}

.jump-modal .share-btn:hover {
    filter: brightness(1.15);
    transform: translateY(-1px);
}

.jump-modal .s-weibo  { background: #E6162D; }
.jump-modal .s-qzone  { background: #FBBE3C; color: #5b3a00; }
.jump-modal .s-qq     { background: #12B7F5; }
.jump-modal .s-wechat { background: #09BB07; }
.jump-modal .s-moments { background: linear-gradient(135deg, #ff9f43, #f0612f); }
.jump-modal .s-tieba  { background: #3388FF; }

.jump-modal .share-btn:active {
    opacity: 0.85;
    transform: scale(0.94);
}

/* ===== 手机端：上一个/下一个按钮 + 滑动切播并存 ===== */
/* 小屏压缩底部按钮，保证 6 个元素一行放得下 */
@media (max-width: 480px) {
    /* 顶部公告条变矮 */
    #notice {
        height: 34px;
    }
    #notice .notice-tag {
        font-size: 11px;
        padding: 2px 7px;
        margin: 0 6px;
    }
    #notice .notice-text {
        font-size: 13px;
    }
    /* 视频区域保持原样，只把上方留白对齐变矮后的公告条 */
    #main {
        padding-top: 34px;
    }
    /* 视频上的公众号/会员胶囊缩小 */
    #video-ad {
        top: 40px;
        left: 8px;
        font-size: 11px;
        padding: 3px 9px;
        border-radius: 11px;
    }
    #vip-join {
        top: 68px;
        left: 8px;
        font-size: 11px;
        padding: 3px 9px;
        border-radius: 11px;
    }
    #wx-join {
        top: 96px;
        left: 8px;
        font-size: 11px;
        padding: 3px 9px;
        border-radius: 11px;
    }
    #new-badge { top: 124px; }
    body.is-vip #new-badge { top: 68px; }   /* 会员：上面两颗胶囊隐藏，角标补位 */
    /* 滚动文字广告手机端：全宽横条（公告条正下方） */
    #roll-ad .roll-track {
        font-size: 12px;
    }
    /* 右侧悬浮按钮缩小 */
    #jump-tools {
        right: 8px;
        bottom: 70px;
        gap: 8px;
    }
    #jump-tools .tool-btn {
        width: 38px;
        height: 38px;
        font-size: 17px;
        line-height: 36px;
    }
    #swipe-hint {
        font-size: 11px;
        padding: 5px 12px;
        bottom: 66px;
    }
    #loading {
        font-size: 12px;
    }
    #buttons {
        height: 60px;
        padding: 8px 3px;
        gap: 3px;
    }
    #switch,
    #prev,
    #next {
        font-size: 12px;
        height: 32px;
        padding: 0 8px;
        border-radius: 16px;
        box-shadow: 0 0 8px rgba(255, 180, 40, 0.3), 0 2px 5px rgba(0, 0, 0, 0.4);
    }
    #down {
        font-size: 13px;
        height: auto;
        padding: 4px 10px;
        border-radius: 11px;
    }
    #vip-tag,
    #quota-tag {
        font-size: 12px;
        height: 32px;
        padding: 0 7px;
    }
    #quota-tag {
        display: inline-flex;
        align-items: center;
    }
    #admin-entry a {
        font-size: 11px;
        padding: 6px 6px;
    }
}

/* ===== 手机端：滚动文字广告全宽横条（贴视频/公告条下方，确保显示） ===== */
@media (max-width: 767px) {
    #roll-ad {
        height: 30px;
        border-radius: 0;
        background: rgba(10, 5, 20, 0.78);
        border-bottom: 1px solid rgba(255, 210, 80, 0.45);
        z-index: 5;
    }
    #roll-ad .roll-track {
        font-size: 12px;
    }
}

/* 更窄屏（小屏安卓/iPhone SE）：再缩一档，确保一行不换行 */
@media (max-width: 380px) {
    #buttons {
        padding: 6px 2px;
        gap: 2px;
    }
    #switch,
    #prev,
    #next {
        font-size: 11px;
        height: 30px;
        padding: 0 6px;
    }
    #down {
        font-size: 12px;
        height: auto;
        padding: 3px 9px;
        border-radius: 10px;
    }
    #vip-tag,
    #quota-tag {
        font-size: 11px;
        height: 30px;
        padding: 0 6px;
    }
    #admin-entry a {
        font-size: 10px;
        padding: 5px 4px;
    }
}

#swipe-hint {
    position: fixed;
    bottom: 74px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffe98a;
    font-size: 13px;
    font-weight: bold;
    background: rgba(30, 15, 50, 0.92);
    border: 1px solid rgba(180, 100, 255, 0.45);
    border-radius: 16px;
    padding: 6px 16px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 5;
    text-shadow: 0 0 6px rgba(255, 200, 60, 0.4);
}

#swipe-hint.show {
    opacity: 1;
}

/* ===== 朋友圈海报视图 ===== */
#share-poster img {
    width: 78%;
    max-width: 300px;
    border-radius: 14px;
    border: 2px solid rgba(180, 100, 255, 0.5);
    box-shadow: 0 0 24px rgba(160, 60, 255, 0.4);
}

#share-poster p {
    color: #d8c9ee;
    font-size: 13px;
    line-height: 1.9;
    margin: 12px 0;
}

#share-poster #poster-back {
    color: #5c1e00;
    font-weight: bold;
    font-size: 13px;
    background: linear-gradient(to bottom, #ffd24d, #ffab1f);
    border-radius: 16px;
    padding: 8px 18px;
    cursor: pointer;
}

/* ===== 转发到群：引导区 ===== */
.jump-modal .s-wxgroup { background: linear-gradient(135deg, #2ecc71, #09BB07); }
.jump-modal .s-qqgroup { background: linear-gradient(135deg, #4fc3f7, #0a84ff); }

#share-guide {
    text-align: left;
    margin-top: 6px;
}

#share-guide h4 {
    text-align: center;
    font-size: 15px;
    color: #ffe98a;
    margin: 4px 0 10px;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 200, 60, 0.45);
}

#share-guide ol {
    margin: 0 0 12px;
    padding: 12px 14px 12px 32px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(180, 120, 255, 0.22);
    color: #e7dcf7;
    font-size: 13px;
    line-height: 1.95;
}

#share-guide li::marker { color: #ffc94d; font-weight: bold; }

#share-guide .guide-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 8px;
}

#share-guide .guide-actions button {
    font-size: 13px;
    font-weight: bold;
    color: #5c1e00;
    background: linear-gradient(to bottom, #ffd24d, #ffab1f);
    border-radius: 16px;
    padding: 8px 18px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(255, 160, 30, 0.32);
}

#share-guide .guide-actions button.ghost {
    color: #e7dcf7;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(180, 120, 255, 0.35);
    box-shadow: none;
}

#share-guide .guide-back {
    display: block;
    margin: 0 auto;
    font-size: 12px;
    color: #b9a6d6;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
}

/* ===== 微信内强制转发面板（原生接口失败时的兜底引导 + 直达按钮） ===== */
#wx-force {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 1200;
}

#wx-force[hidden] { display: none !important; }

#wx-force .wf-mask {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: rgba(5, 2, 12, 0.9);
    animation: modal-fade 0.16s ease-out;
}

/* 右上角箭头：指向微信的 ··· 菜单，轻轻往右上顶，视线自然被带过去 */
#wx-force .wf-point {
    position: absolute;
    top: 4px;
    right: 8px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    padding: 4px 8px;
    animation: wf-bounce 1.35s ease-in-out infinite;
}

#wx-force .wf-arrow {
    font-size: 38px;
    line-height: 1;
    color: #ffd24d;
    text-shadow: 0 0 18px rgba(255, 210, 77, 0.9);
}

#wx-force .wf-point-txt {
    font-size: 12px;
    font-weight: bold;
    color: #ffe98a;
    background: rgba(255, 210, 77, 0.16);
    border: 1px solid rgba(255, 210, 77, 0.5);
    border-radius: 10px;
    padding: 3px 9px;
    white-space: nowrap;
}

@keyframes wf-bounce {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(7px, -7px); }
}

/* 底部抽屉：拇指够得着，不挡视频 */
#wx-force .wf-box {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    box-sizing: border-box;
    padding: 20px 18px calc(18px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(160deg, rgba(44, 20, 74, 0.99), rgba(22, 11, 40, 0.99));
    border-top: 1px solid rgba(180, 100, 255, 0.55);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -14px 44px rgba(0, 0, 0, 0.62);
    text-align: center;
    animation: wf-up 0.22s cubic-bezier(0.22, 0.9, 0.35, 1);
}

@keyframes wf-up {
    from { transform: translate(-50%, 100%); }
    to   { transform: translate(-50%, 0); }
}

#wx-force h4 {
    font-size: 16px;
    color: #ffe98a;
    letter-spacing: 0.5px;
    margin: 0 0 6px;
    text-shadow: 0 0 12px rgba(255, 200, 60, 0.45);
}

#wx-force .wf-sub {
    margin: 0 0 14px;
    font-size: 12px;
    line-height: 1.6;
    color: #c9b8e4;
    text-align: center;
}

#wx-force .wf-sub b { color: #ffe98a; }

#wx-force .wf-b {
    display: block;
    width: 100%;
    height: 48px;
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: bold;
    color: #fff;
    border: 0;
    border-radius: 24px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.15s, filter 0.2s;
}

#wx-force .wf-b:active { transform: scale(0.97); filter: brightness(0.92); }

#wx-force .wf-friend {
    background: linear-gradient(135deg, #34d97b, #09BB07);
    box-shadow: 0 8px 22px rgba(9, 187, 7, 0.34);
}

#wx-force .wf-timeline {
    background: linear-gradient(135deg, #ff9f43, #ff6b6b);
    box-shadow: 0 8px 22px rgba(255, 120, 70, 0.32);
}

#wx-force .wf-tip {
    margin: 2px 0 12px;
    font-size: 11px;
    line-height: 1.7;
    color: #a896c4;
    text-align: center;
}

#wx-force .wf-tip b { color: #ffe98a; }

#wx-force .wf-close {
    font-size: 12px;
    color: #b9a6d6;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    padding: 4px 8px;
}

/* ===== 轻提示 toast（替代 alert，不打断视频播放） ===== */
#toast {
    position: fixed;
    left: 50%;
    bottom: 84px;
    transform: translate(-50%, 12px);
    max-width: 78vw;
    padding: 10px 18px;
    border-radius: 14px;
    background: rgba(28, 16, 46, 0.97);
    border: 1px solid rgba(190, 120, 255, 0.45);
    color: #ffe98a;
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
    white-space: pre-line;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.55), 0 0 18px rgba(160, 60, 255, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
    z-index: 200;
}

#toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* 分享弹窗内容变多（二维码 + 7 个平台 + 群引导），小屏可滚动不溢出 */
#share-modal .modal-box {
    max-height: 88vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

#share-modal #share-qrcode canvas,
#share-modal #share-qrcode img {
    max-width: 100%;
    height: auto;
}

/* ===== 视频自定义广告：位置与样式 ===== */
#video-ad[data-pos="tr"] { top: 52px; left: auto; right: 12px; }
#video-ad[data-pos="bl"] { top: auto; left: 12px; bottom: 96px; }
#video-ad[data-pos="br"] { top: auto; left: auto; right: 62px; bottom: 96px; }

/* 纯文字水印样式：白字深色描边，像视频里自带的一条广告 */
#video-ad.ad-text {
    background: none;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    animation: none;
    padding: 2px 6px;
    color: #ffffff;
    font-size: 15px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95), 0 0 8px rgba(0, 0, 0, 0.75);
}

/* ===== VIP 会员弹窗（粉色公告风格） ===== */
.vip-box {
    width: 86%;
    max-width: 330px;
    background: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 0 0 18px;
    overflow: hidden;
    color: #333;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.vip-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #ff5f9e, #ff2d78);
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 6px;
    padding: 26px 0 18px;
    border-radius: 0 0 46% 46% / 0 0 26px 26px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.vip-head i {
    width: 34px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.65);
}

#vip-modal .modal-close {
    color: #fff;
    z-index: 2;
}

.vip-body { padding: 14px 22px 0; }

#vip-benefits {
    list-style: none;
    margin: 4px 0 16px;
    padding: 0;
    text-align: center;
}

#vip-benefits li {
    font-size: 12px;
    font-weight: normal;
    color: #444;
    line-height: 1.8;
    letter-spacing: 0;
}

.vip-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    padding-bottom: 6px;
}

.vip-btns button {
    flex: 1;
    font-size: 16px;
    font-weight: bold;
    border-radius: 12px;
    padding: 12px 0;
    cursor: pointer;
    transition: transform 0.15s, filter 0.2s;
}

.vip-btns button:active { transform: scale(0.96); }

#vip-no {
    background: #f2f3f5;
    color: #666;
}

#vip-yes {
    background: linear-gradient(135deg, #ff5f9e, #ff2d78);
    color: #fff;
    box-shadow: 0 6px 16px rgba(255, 45, 120, 0.4);
}

.vip-price { font-size: 14px; color: #555; margin: 4px 0 12px; }
.vip-price b { color: #ff2d78; font-size: 20px; }

.vip-qrs {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 10px;
}

.vip-qr {
    flex: 1;
    max-width: 130px;
}

.vip-qr img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid #eee;
    background: #fafafa;
    min-height: 90px;
}

.vip-qr span {
    display: block;
    font-size: 12px;
    color: #888;
    margin-top: 4px;
}

.vip-contact {
    font-size: 12px;
    color: #e2555f;
    background: #fff2f5;
    border-radius: 8px;
    padding: 8px 10px;
    line-height: 1.7;
    text-align: left;
}

.vip-act {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.vip-act input {
    flex: 1;
    border: 1px solid #ffd2e1;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 14px;
    outline: none;
    color: #333;
}

.vip-act input:focus { border-color: #ff2d78; }

.vip-act button {
    background: linear-gradient(135deg, #ff5f9e, #ff2d78);
    color: #fff;
    font-weight: bold;
    border-radius: 10px;
    padding: 0 18px;
    cursor: pointer;
}

.vip-back {
    display: block;
    margin: 10px auto 0;
    font-size: 12px;
    color: #999;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
}

/* 会员徽标：已开通显示在标题区 */
#vip-tag {
    display: none;
    margin-left: 8px;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(135deg, #ffb14d, #ff8a2d);
    vertical-align: middle;
}
body.is-vip #vip-tag { display: inline-block; }

/* ===== 观看次数弹窗（黄色按钮风格） ===== */
.quota-box {
    width: 86%;
    max-width: 340px;
    text-align: center;
}

.quota-title {
    font-size: 19px;
    font-weight: bold;
    color: #ffe98a;
    letter-spacing: 2px;
    text-shadow: 0 0 12px rgba(255, 200, 60, 0.5);
    margin: 8px 0 10px;
}

.quota-tip {
    color: #d8c9ee;
    font-size: 13px;
    margin: 0 0 8px;
}

/* 赚次数规则胶囊行（签到/分享/VIP） */
.quota-earn {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 0 0 12px;
    font-size: 12px;
    color: #ffd76a;
}

.quota-earn span {
    background: rgba(255, 200, 60, 0.12);
    border: 1px solid rgba(255, 200, 60, 0.35);
    border-radius: 999px;
    padding: 4px 10px;
    white-space: nowrap;
}

.quota-earn b { color: #ffe98a; font-size: 13px; }

.quota-left {
    color: #b9a6d6;
    font-size: 13px;
    margin: 0 0 16px;
}

.quota-left b { color: #ff8a8a; font-size: 17px; }

.quota-btns {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 12px;
}

.quota-btns button {
    flex: 1;
    max-width: 150px;
    font-size: 14px;
    font-weight: bold;
    color: #e33;
    background: linear-gradient(135deg, #ffe14d, #ffd200);
    border-radius: 999px;
    padding: 11px 0;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(255, 200, 0, 0.35);
    transition: transform 0.15s, filter 0.2s;
    letter-spacing: 1px;
}

.quota-btns button:active { transform: scale(0.96); }
.quota-btns button:hover { filter: brightness(1.08); }

.quota-vip {
    font-size: 13px;
    color: #ffe98a;
    background: none;
    border: 1px solid rgba(255, 200, 60, 0.45);
    border-radius: 999px;
    padding: 9px 22px;
    cursor: pointer;
}

/* ===== 视频弹窗广告 ===== */
.vpop-box {
    width: 84%;
    max-width: 320px;
    padding: 22px 18px 18px;
    text-align: center;
    background: linear-gradient(160deg, rgba(40, 22, 62, 0.98), rgba(20, 10, 36, 0.98));
    border: 1px solid rgba(255, 180, 90, 0.45);
    box-shadow: 0 0 26px rgba(255, 150, 60, 0.22), 0 10px 34px rgba(0, 0, 0, 0.55);
}

.vpop-box .modal-close { color: #ffe98a; }

.vpop-title {
    font-size: 19px;
    font-weight: bold;
    color: #ffd76a;
    letter-spacing: 1px;
    text-shadow: 0 0 12px rgba(255, 200, 60, 0.5);
    margin: 4px 0 8px;
}

.vpop-img {
    display: block;
    width: 100%;
    max-height: 40vh;
    object-fit: contain;
    border-radius: 10px;
    margin: 8px auto 4px;
    cursor: pointer;
}

.vpop-btn {
    width: 100%;
    height: 44px;
    margin-top: 14px;
    border: none;
    border-radius: 22px;
    font-size: 16px;
    font-weight: bold;
    color: #5c1e00;
    background: linear-gradient(to bottom, #ffd24d, #ffab1f);
    box-shadow: 0 0 16px rgba(255, 180, 40, 0.45), 0 3px 8px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: transform 0.15s;
}

.vpop-btn:active { transform: scale(0.97); }

/* ===== 强制进QQ群解锁弹窗 ===== */
.gate-box {
    width: 86%;
    max-width: 340px;
    text-align: center;
}

.gate-title {
    font-size: 20px;
    font-weight: bold;
    color: #ffe98a;
    letter-spacing: 3px;
    text-shadow: 0 0 12px rgba(255, 200, 60, 0.5);
    margin: 10px 0 12px;
}

.gate-tip {
    color: #e7dcf7;
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 18px;
}

.gate-free {
    color: #ffd24d;
    font-weight: bold;
    font-size: 17px;
    text-shadow: 0 0 8px rgba(255, 200, 60, 0.6);
}

#gate-btn {
    width: 88%;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #fff;
    background: linear-gradient(135deg, #ff5f9e, #ff2d78);
    border-radius: 999px;
    padding: 14px 0;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(255, 45, 120, 0.45);
    transition: transform 0.15s, filter 0.2s;
}

#gate-btn:active { transform: scale(0.96); }
#gate-btn:hover { filter: brightness(1.08); }

.gate-sub {
    color: #b9a6d6;
    font-size: 12px;
    margin: 14px 0 4px;
}

/* ===== 强制关注公众号弹窗 ===== */
#gzgate-modal .gzg-box {
    width: 86%;
    max-width: 330px;
    padding: 20px 18px 16px;
    text-align: center;
}
#gzgate-modal .gzg-ico { font-size: 26px; line-height: 1; }
#gzgate-modal .gzg-title {
    font-size: 17px;
    font-weight: bold;
    color: #ffe98a;
    letter-spacing: 1px;
    margin: 6px 0 8px;
    text-shadow: 0 0 12px rgba(255, 200, 60, 0.45);
}
#gzgate-modal .gzg-tip {
    color: #e7dcf7;
    font-size: 13px;
    line-height: 1.7;
    margin: 0 0 10px;
}
#gzgate-modal .gzg-qr {
    width: 58%;
    max-width: 174px;
    margin: 0 auto 8px;
    border-radius: 12px;
    display: block;
    box-shadow: 0 0 16px rgba(160, 60, 255, 0.35);
}
#gzgate-modal .gzg-step {
    color: #b9a6d6;
    font-size: 11.5px;
    line-height: 1.8;
    margin: 0 0 10px;
}
#gzgate-modal .gzg-step b { color: #ffd24d; font-weight: bold; }
#gzgate-modal .gzg-row { display: flex; gap: 8px; }
#gzgate-modal .gzg-row input {
    flex: 1;
    min-width: 0;
    height: 42px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid rgba(180, 100, 255, 0.45);
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-size: 15px;
    letter-spacing: 2px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}
#gzgate-modal .gzg-row input::placeholder {
    letter-spacing: 0;
    font-size: 13px;
    color: rgba(216, 201, 238, 0.5);
}
#gzgate-modal .gzg-row button {
    flex-shrink: 0;
    height: 42px;
    padding: 0 15px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff9d2e, #ffbe55);
    color: #5c2600;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.14s, filter 0.14s;
}
#gzgate-modal .gzg-row button:active { transform: scale(0.96); filter: brightness(1.06); }
#gzgate-modal .gzg-row button:disabled { opacity: 0.65; }
#gzgate-modal .gzg-msg {
    color: #ff9a9a;
    font-size: 12.5px;
    line-height: 1.6;
    margin: 8px 0 0;
}
#gzgate-modal .gzg-get {
    display: block;
    margin-top: 10px;
    color: #8ab6ff;
    font-size: 13px;
    text-decoration: underline;
    cursor: pointer;
}
#gzgate-modal .gzg-sub {
    color: #9c8fb8;
    font-size: 11px;
    margin: 10px 0 0;
}

/* ===== 添加微信/QQ 弹窗 ===== */
.wx-box {
    width: 86%;
    max-width: 330px;
    text-align: center;
}

.wx-title {
    font-size: 19px;
    font-weight: bold;
    color: #ffe98a;
    letter-spacing: 2px;
    margin: 8px 0 6px;
    text-shadow: 0 0 12px rgba(255, 200, 60, 0.5);
}

.wx-tip {
    color: #d8c9ee;
    font-size: 13px;
    margin: 0 0 14px;
}

.wx-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(180, 120, 255, 0.28);
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 12px;
}

.wx-type {
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    border-radius: 10px;
    padding: 6px 9px;
    flex-shrink: 0;
}

.wx-wx { background: #09BB07; }
.wx-qq { background: #12B7F5; }

.wx-id {
    flex: 1;
    text-align: left;
    font-size: 17px;
    font-weight: bold;
    color: #ffe98a;
    letter-spacing: 1px;
    user-select: all;
}

.wx-copy {
    font-size: 13px;
    font-weight: bold;
    color: #5c1e00;
    background: linear-gradient(to bottom, #ffd24d, #ffab1f);
    border-radius: 999px;
    padding: 7px 16px;
    cursor: pointer;
    flex-shrink: 0;
}

.wx-note {
    color: #b9a6d6;
    font-size: 12px;
    margin: 4px 0 2px;
}

/* ===== 在线支付视图（支付宝/微信官方直连，付款自动开通） ===== */
#pay-qr {
    display: inline-block;
    background: #ffffff;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    min-height: 120px;
    min-width: 120px;
}

#pay-qr img,
#pay-qr canvas { display: block; }

#pay-go {
    display: block;
    width: 88%;
    margin: 14px auto 0;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 3px;
    color: #fff;
    background: linear-gradient(135deg, #ff5f9e, #ff2d78);
    border-radius: 999px;
    padding: 13px 0;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(255, 45, 120, 0.45);
    transition: transform 0.15s, filter 0.2s;
}

#pay-go:active { transform: scale(0.97); }
#pay-go:hover { filter: brightness(1.08); }

.pay-tip {
    color: #d8c9ee;
    font-size: 12.5px;
    line-height: 1.9;
    margin: 12px 0 6px;
}

#pay-open {
    display: inline-block;
    font-size: 12px;
    color: #8ab6ff;
    text-decoration: underline;
    margin-bottom: 4px;
}

#pay-status {
    color: #ffe98a;
    font-size: 13px;
    min-height: 20px;
    margin: 4px 0 2px;
    text-shadow: 0 0 8px rgba(255, 200, 60, 0.4);
}

/* ===== VIP 弹窗改版：套餐选择 + 支付方式（深色卡片 + 橙色头部） ===== */
.vip-box {
    width: 88%;
    max-width: 360px;
    background: #26262e;
    color: #e8e8ee;
    text-align: center;
    padding: 0 0 14px;
}
.vip-body {
    padding: 10px 16px 4px;
    max-height: 72vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.vip2-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #ff9a3c, #ff6a00);
    color: #fff;
    font-weight: bold;
    font-size: 17px;
    padding: 14px 40px 12px 16px;
    text-shadow: 0 1px 4px rgba(0,0,0,.15);
}
.vip2-bal { font-size: 13px; font-weight: normal; color: #ffe3c2; }
.vip2-sec { text-align: left; font-size: 13px; color: #b9b9c6; margin: 12px 2px 8px; }
#vip-benefits { margin: 2px 0 10px; }
#vip-benefits li { color: #eee; }
#vip-no { background: #3a3a44; color: #ccc; }
#vip-yes {
    background: linear-gradient(135deg, #ff9a3c, #ff6a00);
    box-shadow: 0 6px 16px rgba(255,106,0,.35);
}
#vip-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.plan-card {
    position: relative;
    background: #33333d;
    border: 1px solid #4a4a56;
    border-radius: 9px;
    padding: 14px 2px 9px;
    cursor: pointer;
    transition: transform .15s, border-color .2s;
}
.plan-card.sel {
    border-color: #ff8a3c;
    background: #3b3040;
    box-shadow: 0 0 0 1px #ff8a3c, 0 4px 14px rgba(255,138,60,.25);
}
.plan-badge {
    position: absolute;
    top: -9px;
    right: 3px;
    background: linear-gradient(135deg, #ffb03c, #ff7a00);
    color: #fff;
    font-size: 10px;
    padding: 2px 7px;
    border-radius: 999px;
    white-space: nowrap;
}
.plan-price { font-size: 15px; font-weight: bold; color: #fff; }
.plan-price i { font-style: normal; font-size: 11px; font-weight: normal; }
.plan-days { font-size: 11px; color: #ff9a5c; margin-top: 3px; }
#vip-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pm-btn {
    position: relative;
    background: #33333d;
    border: 1px solid #4a4a56;
    border-radius: 9px;
    padding: 12px 6px;
    font-size: 14px;
    color: #e8e8ee;
    cursor: pointer;
    transition: border-color .2s, color .2s;
}
.pm-btn.sel { box-shadow: 0 0 0 1px currentColor; }
.pm-btn.sel.m-wx { border-color: #2bb34a; color: #7fe28f; }
.pm-btn.sel.m-ali { border-color: #1677ff; color: #8ab6ff; }
.pm-tag { font-size: 10px; padding: 1px 5px; border-radius: 4px; margin-left: 4px; }
.pm-btn.m-wx .pm-tag { color: #7fe28f; background: rgba(43,179,74,.15); }
.pm-btn.m-ali .pm-tag { color: #8ab6ff; background: rgba(22,119,255,.15); }
.vip2-none { grid-column: 1 / -1; font-size: 12px; color: #999; padding: 10px 0; }
#vip-recharge {
    display: block;
    text-align: right;
    font-size: 12px;
    color: #8ab6ff;
    text-decoration: underline;
    margin: 10px 2px 6px;
    cursor: pointer;
}
#vip-payarea {
    background: #1e3328;
    border-radius: 12px;
    padding: 12px 10px 14px;
    margin: 4px 0 12px;
}
.vip2-amount { font-size: 14px; color: #cfe3d4; margin: 0 0 10px; }
.vip2-amount b { color: #ffb03c; font-size: 20px; cursor: pointer; }
.vip2-copytip { font-size: 11px; color: #8fae98; }
#pay-online2 .pay-tip { color: #9ec7aa; }
#qr-static {
    width: 58%;
    max-width: 190px;
    aspect-ratio: 1;
    object-fit: contain;
    background: #fff;
    border-radius: 10px;
    padding: 6px;
    display: block;
    margin: 0 auto 8px;
}
#pay-offline2 .vip-contact {
    background: rgba(255,255,255,.08);
    color: #ffd479;
}
.vip-back {
    background: #3a3a44;
    color: #ccc;
    border: none;
    border-radius: 999px;
    padding: 10px 26px;
    font-size: 14px;
    cursor: pointer;
    margin-bottom: 4px;
}

/* ===== VIP 关注公众号获取 ===== */
.vip-gzh { text-align: center; padding: 4px 0 2px; }
.vip-gzh img {
    width: 180px;
    max-width: 62%;
    aspect-ratio: 1;
    object-fit: contain;   /* 小程序码不能裁切，否则扫不出来 */
    background: #fff;
    border-radius: 14px;
    padding: 6px;
    display: block;
    margin: 4px auto 10px;
    cursor: pointer;
}
.vip-gzh-name { margin: 0 0 8px; font-size: 15px; color: #ffd76e; }
.vip-gzh-name b { font-size: 18px; letter-spacing: 1px; }
.vip-gzh .pay-tip { color: #9aa4b8; font-size: 12.5px; line-height: 1.8; margin: 0 auto 4px; }
#vip-copy-gzh {
    margin-top: 8px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 10px 26px;
    font-size: 14px;
    cursor: pointer;
}
#vip-copy-gzh:active { opacity: .85; }
.vip-code-row { display: flex; gap: 8px; margin: 10px auto 4px; max-width: 260px; }
.vip-code-row input {
    flex: 1;
    min-width: 0;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 10px;
    color: #fff;
    padding: 10px 12px;
    font-size: 15px;
    letter-spacing: 2px;
    text-align: center;
    outline: none;
}
.vip-code-row input:focus { border-color: #7c6cff; }
.vip-code-row button {
    flex: none;
    background: linear-gradient(135deg, #ff9a3d, #ff5e62);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}
.vip-code-row button:disabled { opacity: .6; }
.vip-code-msg { min-height: 18px; margin: 6px auto 0; max-width: 290px; font-size: 12.5px; line-height: 1.55; color: #ff8a8a; text-align: center; }

/* ===== 赞赏弹窗：支付宝 / 微信支付 收款码展示 ===== */
.donate-box {
    width: 88%;
    max-width: 360px;
    background: #1e1230;
    color: #eee;
    text-align: center;
    padding: 0 0 16px;
    overflow: hidden;
}
#donate-modal .modal-close { color: #fff; font-weight: bold; text-shadow: 0 1px 4px rgba(0,0,0,.5); z-index: 2; }
.donate-tabs { display: flex; gap: 8px; padding: 14px 14px 10px; }
.donate-tab {
    flex: 1;
    border: none;
    border-radius: 10px;
    padding: 13px 0;
    font-size: 15px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    opacity: .45;
    transition: opacity .2s;
}
.donate-tab.active { opacity: 1; }
.dt-alipay { background: #1677ff; }
.dt-wechat { background: #2bb34a; }
/* 未选中的微信支付标签：深绿底 + 圆点灰绿字（对齐参考设计） */
.donate-tab.dt-wechat:not(.active) { background: #16442a; color: #cfe0d5; opacity: 1; }
.donate-card { padding: 0 14px; }
.donate-banner { border-radius: 14px; padding: 22px 14px 14px; }
.db-ali { background: linear-gradient(160deg, #2e8bff, #0e5fe8); }
.db-wx { background: linear-gradient(160deg, #35c05a, #1f9e3e); }
.donate-banner h3 { color: #fff; font-size: 22px; letter-spacing: 2px; margin: 2px 0 10px; text-shadow: 0 2px 6px rgba(0,0,0,.12); }
.donate-sub {
    display: inline-block;
    background: #ffe14d;
    color: #6b4e00;
    font-size: 13px;
    font-weight: bold;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}
.donate-qrbox {
    background: #fff;
    border-radius: 10px;
    width: 62%;
    max-width: 200px;
    margin: 0 auto;
    padding: 8px 8px 2px;
    box-shadow: 0 4px 14px rgba(0,0,0,.15);
}
.donate-qrbox img { width: 100%; aspect-ratio: 1; object-fit: contain; display: block; cursor: pointer; }
#donate-ph {
    width: 100%;
    aspect-ratio: 1;
    display: none;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 12px;
    line-height: 1.8;
    border: 1px dashed #ccc;
    border-radius: 8px;
    text-align: center;
}
.donate-name {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255,255,255,.78);
    padding: 7px 0 6px;
}
.donate-name i {
    font-style: normal;
    font-size: 10px;
    color: #fff;
    background: #1677ff;
    border-radius: 4px;
    padding: 1px 5px;
}
.db-wx .donate-name i { background: #2bb34a; }
.donate-tip {
    font-size: 11px;
    color: rgba(255,255,255,.6);
    text-align: center;
    padding: 4px 0 0;
    line-height: 1.4;
}
.donate-logo { font-size: 20px; font-weight: bold; margin: 16px 0 4px; }
.dl-ali { color: #1677ff; }
.dl-wx { color: #2bb34a; }
.ali-zhi {
    display: inline-block;
    background: #1677ff;
    color: #fff;
    border-radius: 6px;
    width: 22px;
    height: 22px;
    line-height: 22px;
    margin-right: 4px;
    font-size: 14px;
}
.wx-zhi { background: #2bb34a; }

/* ===== 收款码付款：我已付款按钮 ===== */
#qr-static { width: 66%; max-width: 205px; }
#pay-done {
    display: block;
    width: 100%;
    margin: 10px 0 4px;
    padding: 12px 0;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff9a3c, #ff6a00);
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: .5px;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(255,106,0,.3);
}
#pay-done:disabled { opacity: .6; cursor: default; box-shadow: none; }
#pay-status2 { margin: 8px 0 2px; }

/* ===== 电脑版专属布局（按截图样式）：手机端(≤767px)不显示不加载 ===== */
#pc-ad-video,
#pc-panel,
#pc-ads { display: none; }

@media (min-width: 768px) {
    /* 电脑版隐藏：旧横排按钮栏 / 右侧悬浮图标（视频上的三颗胶囊与手机端保持一致，全站同步显示） */
    #buttons,
    #jump-tools { display: none !important; }

    /* 顶部广告视频位：竖屏小窗居中（无文件时 JS 自动隐藏） */
    #pc-ad-video {
        display: block;
        width: 210px;
        height: 265px;
        object-fit: cover;
        margin: 0 auto;
        background: #000;
    }

    /* 公告条改红色横幅（文字静态居中） */
    #notice {
        position: static;
        height: 44px;
        background: #e93b3b;
        border-bottom: none;
        box-shadow: none;
        justify-content: center;
    }
    #notice .notice-tag {
        background: rgba(255, 255, 255, 0.22);
        color: #fff;
        box-shadow: none;
    }
    #notice .notice-text {
        color: #fff;
        font-size: 16px;
        text-shadow: none;
        padding-left: 0;
        animation: none;
    }

    /* 主视频大屏展示 + 按钮列排在侧边 */
    #main {
        height: calc(100vh - 44px);
        padding-top: 0;
        flex-direction: row;
        align-items: center;
        gap: 24px;
    }
    #player,
    #player2 {
        max-width: calc(100vw - 540px);   /* 给左广告列+右按钮列留位，横屏视频也不会溢出 */
        max-height: calc(100vh - 90px);   /* 高度撑满，竖屏视频大屏展示 */
    }

    /* 视频左侧广告按钮列（竖排 3 个） */
    #pc-ads {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 12px;
        width: 120px;
        flex-shrink: 0;
    }
    .pc-ad-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 64px;
        padding: 8px 6px;
        box-sizing: border-box;
        border: none;
        border-radius: 12px;
        font-size: 15px;
        font-weight: bold;
        color: #fff;
        text-align: center;
        text-decoration: none;
        word-break: break-all;
        cursor: pointer;
        transition: transform 0.12s, opacity 0.12s;
    }
    .pc-ad-btn:active { transform: scale(0.96); opacity: 0.85; }
    .pc-ad1 { background: linear-gradient(135deg, #ff5a5a, #e93b3b); box-shadow: 0 4px 14px rgba(233, 59, 59, 0.35); }
    .pc-ad2 { background: linear-gradient(135deg, #ffab1f, #ff6a00); box-shadow: 0 4px 14px rgba(255, 106, 0, 0.35); }
    .pc-ad3 { background: linear-gradient(135deg, #24c6e8, #1a86c9); box-shadow: 0 4px 14px rgba(26, 134, 201, 0.35); }
    .pc-drama { background: linear-gradient(135deg, #a34dff, #6a2fd6); }
    .pc-music { background: linear-gradient(135deg, #2ce3c4, #0a9bff); color: #06231f; }

    /* 大按钮列（侧边） */
    #pc-panel {
        display: block;
        width: 300px;
        margin: 0;
        text-align: center;
        max-height: calc(100vh - 90px);
        overflow-y: auto;
    }
    .pc-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 46px;
        margin: 0 0 12px;
        border: none;
        border-radius: 10px;
        font-size: 17px;
        font-weight: bold;
        color: #fff;
        text-decoration: none;
        cursor: pointer;
        transition: transform 0.12s, opacity 0.12s;
    }
    .pc-btn:active { transform: scale(0.97); opacity: 0.85; }
    /* 上一个/下一个 并排一行 */
    .pc-row {
        display: flex;
        gap: 10px;
    }
    .pc-row .pc-btn {
        flex: 1;
        font-size: 15px;
    }
    .pc-next,
    .pc-prev { background: #3ec44d; }
    .pc-sharetext { background: #ff7d1f; }
    .pc-checkin,
    .pc-poster { background: #ffe11c; color: #7a3b00; }
    /* 剩余次数 / 关注公众号（并排一行） */
    .pc-quota { background: #7b5cff; }
    .pc-quota.is-empty {
        background: #e93b3b;
        animation: pc-blink 1.2s ease-in-out infinite;
    }
    @keyframes pc-blink {
        0%, 100% { opacity: 1; }
        50% { opacity: 0.55; }
    }
    .pc-gzh { background: #09bb07; }
    .pc-miniapp {
        background: linear-gradient(135deg, #2bb34a, #09bb07);
        box-shadow: 0 4px 12px rgba(9, 187, 7, 0.28);
    }

    /* 底部说明文字 */
    #pc-tip {
        color: #ffb9c9;
        font-size: 13px;
        line-height: 1.8;
        margin-top: 6px;
    }
    #pc-admin { margin-top: 10px; }
    #pc-admin a {
        color: #8f7cc0;
        font-size: 12px;
        text-decoration: none;
    }
    #pc-admin a:hover { color: #c3b2e8; }
}



/* ===== 分享链接卡片：手机端压缩 ===== */
@media (max-width: 767px) {
    .share-card { padding: 10px 11px; border-radius: 12px; margin-bottom: 10px; }
    .share-card .sc-title { font-size: 14px; }
    .share-card .sc-desc { font-size: 11px; }
    .share-card .sc-url { font-size: 12px; padding: 6px 8px; }
    .share-card .sc-hint { font-size: 10px; }
    .jump-modal .share-primary { height: 44px; font-size: 15px; border-radius: 22px; }
    .jump-modal .share-btns button { font-size: 12px; padding: 7px 12px; }
}

/* ===== 短剧推广横幅（后台「💰 短剧推广」开启后显示；电脑端隐藏） ===== */
#dp-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 72px;
    z-index: 55;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(48, 12, 64, 0.94), rgba(96, 22, 74, 0.94));
    border: 1px solid rgba(255, 209, 102, 0.45);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
#dp-bar[hidden] { display: none; }
#dp-bar:active { transform: scale(0.98); }
#dp-img {
    width: 54px;
    height: 54px;
    border-radius: 10px;
    object-fit: cover;
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.08);
}
#dp-txt { flex: 1; min-width: 0; }
#dp-txt b {
    display: block;
    font-size: 14px;
    color: #ffd166;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#dp-txt span {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.82);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#dp-go {
    flex: 0 0 auto;
    background: linear-gradient(to bottom, #ffd24d, #ffab1f);
    color: #5c1e00;
    font-size: 12px;
    font-weight: bold;
    padding: 8px 13px;
    border-radius: 999px;
    white-space: nowrap;
}
#dp-close {
    position: absolute;
    top: -9px;
    right: -5px;
    width: 24px;
    height: 24px;
    line-height: 22px;
    text-align: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 14px;
}
/* 电脑版：短剧横幅不再隐藏，居中悬浮（抬高到视频控制条之上，不挡进度条） */
@media (min-width: 768px) {
    #dp-bar {
        left: 0;
        right: 0;
        bottom: 84px;
        width: 560px;
        max-width: calc(100vw - 24px);
        margin: 0 auto;
    }
}

/* ===== 分享卡片（链接卡片预览：封面 + 标题 + 描述 + 隐藏短链） ===== */
.share-card .sc-body {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.share-card .sc-thumb {
    flex: 0 0 auto;
    width: 58px;
    height: 58px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(200, 150, 255, 0.28);
}
.share-card .sc-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.share-card .sc-info { flex: 1; min-width: 0; }
.share-card .sc-title {
    font-size: 15px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.share-card .sc-desc {
    font-size: 12px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.share-card .sc-url-row {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    background: rgba(0, 0, 0, 0.28);
    border-radius: 8px;
    padding: 7px 9px;
}
.share-card .sc-dot {
    flex: 0 0 auto;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4dd07a;
    box-shadow: 0 0 6px #4dd07a;
}
.share-card .sc-url-row .sc-url {
    margin: 0;
    padding: 0;
    background: none;
    font-size: 12px;
    line-height: 1.4;
    color: #6be5a0;
    word-break: break-all;
}
#poster-save { width: 100%; }
@media (max-width: 767px) {
    .share-card .sc-thumb { width: 50px; height: 50px; border-radius: 9px; }
    .share-card .sc-title { font-size: 14px; }
    .share-card .sc-url-row { margin-top: 8px; padding: 6px 8px; }
}
