/*
*本站源码由 鱼鱼（电报@yinliudawang6）全套自主开发 盗版必究！
*本网站多处已添加暗桩后门劫持，盗版网站必后台！！！
*若你想搭建同款网站，请联系我的电报号！！！
*/
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
    background: #f0f2f5;
    color: #333;
    min-height: 100vh;
    padding-bottom: 120px;
    -webkit-tap-highlight-color: transparent;
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
}
.glass-card {
    background: #fff;
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow: 0 8px 32px rgba(31,38,135,0.08);
    border-radius: 20px;
    overflow: hidden;
}
.btn-press:active { transform: scale(0.96); opacity: 0.9; }

/* ===== 首页三个大按钮：统一精致风格（渐变 + 高光扫过 + 图标底板 + 悬浮角标） ===== */
.cta-btn {
    position: relative;
    width: 100%;
    padding: 15px 20px;
    border-radius: 18px;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: .5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    overflow: hidden;
    border: none;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .25s ease, filter .2s ease;
    -webkit-tap-highlight-color: transparent;
}
.cta-btn:active { transform: scale(.97); filter: brightness(.96); }
/* 顶部柔光高光 */
.cta-btn::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,.28) 0%, rgba(255,255,255,.06) 38%, rgba(0,0,0,.06) 100%);
    pointer-events: none;
}
/* 斜向扫光 */
.cta-btn::after {
    content: '';
    position: absolute; top: 0; left: -70%;
    width: 45%; height: 100%;
    background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,.35) 50%, transparent 100%);
    transform: skewX(-20deg);
    pointer-events: none;
    animation: cta-shine 3.6s ease-in-out infinite;
}
@keyframes cta-shine {
    0% { left: -70%; } 55% { left: 130%; } 100% { left: 130%; }
}
.cta-btn--green { background: linear-gradient(135deg,#4ade80 0%,#10b981 100%); box-shadow: 0 10px 24px rgba(16,185,129,.38), inset 0 1px 0 rgba(255,255,255,.35); }
.cta-btn--orange { background: linear-gradient(135deg,#fb923c 0%,#f43f5e 100%); box-shadow: 0 10px 24px rgba(244,63,94,.32), inset 0 1px 0 rgba(255,255,255,.35); }
.cta-btn--blue { background: linear-gradient(135deg,#38bdf8 0%,#2563eb 100%); box-shadow: 0 10px 24px rgba(37,99,235,.34), inset 0 1px 0 rgba(255,255,255,.35); }
.cta-btn--green:hover, .cta-btn--orange:hover, .cta-btn--blue:hover { transform: translateY(-2px); filter: brightness(1.04); }
/* 主图标白色半透圆底 */
.cta-ico {
    width: 30px; height: 30px; border-radius: 50%;
    background: rgba(255,255,255,.22);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 14px; flex-shrink: 0;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
}
.cta-label { position: relative; z-index: 1; }
/* 右上角悬浮角标（收在按钮内部，不超出边缘） */
.cta-badge {
    position: absolute; top: 8px; right: 12px; z-index: 2;
    width: 26px; height: 26px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 12px;
    box-shadow: 0 3px 8px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.4);
    animation: cta-badge-bob 1.8s ease-in-out infinite;
}
.cta-badge--green { background: linear-gradient(135deg,#86efac,#22c55e); }
.cta-badge--orange { background: linear-gradient(135deg,#fdba74,#f97316); }
.cta-badge--blue { background: linear-gradient(135deg,#7dd3fc,#3b82f6); }
@keyframes cta-badge-bob {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}
@media (prefers-reduced-motion: reduce) {
    .cta-btn::after, .cta-badge { animation: none; }
}
/* 跑马灯动画 */
.marquee-container {
    overflow: hidden;
    width: 100%;
    /* 垂直居中，避免单行文字上下漂移 */
    display: flex;
    align-items: center;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 10px, #000 calc(100% - 10px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 10px, #000 calc(100% - 10px), transparent 100%);
}
/* 静态（短文案）：居中显示 */
.marquee-content {
    display: flex;
    justify-content: center;
    width: 100%;
}
/* 滚动（长文案）：两份等宽内容无缝横移 */
.marquee-content.is-scrolling {
    width: max-content;
    justify-content: flex-start;
    animation-name: marquee-scroll;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    will-change: transform;
}
.marquee-content .marquee-item {
    flex: 0 0 auto;
    white-space: nowrap;
    padding-right: 2.75rem; /* 两份内容之间的间隔 */
}
@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
/* 桌面悬停 / 手机按住时暂停，方便细读 */
@media (hover: hover) {
    .marquee-container:hover .marquee-content.is-scrolling { animation-play-state: paused; }
}
.marquee-container:active .marquee-content.is-scrolling { animation-play-state: paused; }
/* 用户系统开启“减弱动态效果”时不滚动、居中静态展示 */
@media (prefers-reduced-motion: reduce) {
    .marquee-content.is-scrolling { animation: none; }
}
@keyframes float-up {
    0% { transform: translateY(20px); opacity: 0; }
    100% { transform: none; opacity: 1; }
}
.animate-float-up {
    animation: float-up 0.6s ease-out forwards;
    opacity: 0;
}
.animate-float-up { animation: float-up 0.5s ease-out forwards; }

/* 高清变模糊 疑问标签 */
.hd-tip-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 600;
    color: #c2410c;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 1px solid #fdba74;
    box-shadow: 0 1px 6px rgba(249, 115, 22, 0.18);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}
.hd-tip-tag i.fa-circle-question { color: #f97316; font-size: 13px; }
.hd-tip-tag span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hd-tip-tag__arrow { font-size: 10px; color: #ea580c; opacity: 0.8; }
.hd-tip-tag:active {
    transform: scale(0.96);
    box-shadow: 0 1px 3px rgba(249, 115, 22, 0.15);
}
/* 无法播放入口：琥珀黄胶囊（信息图标 + 黄字），与发布时间橙色胶囊区分 */
#material-stats { margin-top: 0; }
#material-stats > div { margin-top: 0; }
.pb-issue-tag {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    max-width: 100%;
    padding: 2px 8px;
    border: 1px solid #fcd34d;
    background: #fffbeb;
    border-radius: 999px;
    font-size: 10px;
    line-height: 1.5;
    font-weight: 600;
    color: #d97706;
    box-shadow: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}
.pb-issue-tag i.fa-circle-info { color: #d97706; font-size: 10px; }
.pb-issue-tag:active { opacity: 0.65; transform: scale(0.96); }
@keyframes step-pulse {
    0%, 100% { box-shadow: 0 0 0 2px rgba(255,126,0,0.3); transform: scale(1); }
    50% { box-shadow: 0 0 0 5px rgba(255,126,0,0.15); transform: scale(1.02); }
}
@keyframes checkBounce {
    0% { transform: scale(0.8); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}
.video-container {
    position: relative; width: 100%; padding-bottom: 62%;
    background: #000; overflow: hidden;
}
.video-container video {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: contain;
}
/* 排行榜标题动画效果 */
@keyframes title-float {
    0%, 100% { 
        transform: translateY(0);
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.3);
    }
    50% { 
        transform: translateY(-3px);
        text-shadow: 0 0 15px rgba(255, 215, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.5), 0 0 40px rgba(255, 215, 0, 0.3);
    }
}
/* ===== 收益排行榜 · 动态吸金标题 ===== */
@keyframes rank-crown-bob {
    0%, 100% { transform: translateY(0) rotate(-6deg) scale(1); }
    50% { transform: translateY(-5px) rotate(6deg) scale(1.08); }
}
@keyframes rank-title-shine {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}
@keyframes rank-glow-pulse {
    0%, 100% { filter: drop-shadow(0 0 6px rgba(255,200,40,.55)) drop-shadow(0 2px 6px rgba(255,140,0,.35)); }
    50% { filter: drop-shadow(0 0 14px rgba(255,215,80,.95)) drop-shadow(0 0 22px rgba(255,160,20,.55)); }
}
@keyframes rank-coin-float {
    0% { transform: translateY(0) scale(.6) rotate(0deg); opacity: 0; }
    20% { opacity: .9; }
    100% { transform: translateY(-46px) scale(1) rotate(360deg); opacity: 0; }
}
.rank-crown {
    font-size: 30px; line-height: 1; margin-bottom: 4px;
    color: #ffd23e;
    animation: rank-crown-bob 1.8s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255,210,60,.8));
}
.rank-title-glow { animation: rank-glow-pulse 2.2s ease-in-out infinite; }
.rank-money {
    font-size: 30px; font-weight: 900; letter-spacing: 2px;
    background: linear-gradient(100deg, #ffe27a 0%, #ffb300 25%, #fff3c4 50%, #ffb300 75%, #ffe27a 100%);
    background-size: 200% auto;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rank-title-shine 2.4s linear infinite;
    display: inline-block;
}
.rank-sub {
    margin-top: 5px; display: flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 700; color: #ffd98a;
    text-shadow: 0 1px 4px rgba(0,0,0,.3);
}
.rank-sub i { color: #ffe27a; font-size: 11px; }
.rank-coin {
    position: absolute; bottom: 6px; font-size: 15px; color: #ffd23e;
    pointer-events: none; opacity: 0;
    text-shadow: 0 0 8px rgba(255,200,40,.8);
}
.rank-coin-1 { left: 26%; animation: rank-coin-float 2.6s ease-in infinite; animation-delay: 0s; }
.rank-coin-2 { left: 50%; animation: rank-coin-float 2.6s ease-in infinite; animation-delay: .9s; }
.rank-coin-3 { left: 72%; animation: rank-coin-float 2.6s ease-in infinite; animation-delay: 1.7s; }
@media (prefers-reduced-motion: reduce) {
    .rank-crown, .rank-title-glow, .rank-money, .rank-coin { animation: none !important; }
    .rank-coin { display: none; }
}
.modal-content {
    background: #fff; border-radius: 24px;
    padding: 24px; width: 100%; max-width: 360px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalIn 0.3s ease;
}
@keyframes modalIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
.notify-bubble {
    position: fixed; bottom: 100px; right: 16px;
    max-width: min(76vw, 250px);
    background: rgba(0,0,0,0.82); border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 8px 24px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.08);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    color: #fff; padding: 9px 12px; font-size: 12px;
    display: flex; align-items: center; gap: 9px; z-index: 40;
    transform: translateX(120%); transition: transform 0.5s cubic-bezier(0.34,1.2,0.64,1);
    text-shadow: 0 1px 1px rgba(0,0,0,0.3);
    line-height: 1.35;
}
.notify-bubble.show { transform: translateX(0); }
.notify-bubble__body { min-width: 0; flex: 1; }
.notify-bubble__line {
    display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap;
    font-size: 12px; white-space: normal; word-break: break-all;
}
.notify-bubble__meta {
    display: block; margin-top: 2px;
    font-size: 10px; color: rgba(255,255,255,0.55);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.notify-bubble::before {
    content: ''; position: absolute; top: 15%; left: 10%;
    width: 30%; height: 20%;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%; pointer-events: none; filter: blur(3px);
}
/* 评论区样式 */
.comment-item {
    padding: 12px 16px;
    transition: background-color 0.2s;
}
.comment-item:hover {
    background-color: #f9fafb;
}
.comment-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.comment-nickname {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}
.comment-time {
    font-size: 11px;
    color: #9ca3af;
}
.comment-content {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.5;
    margin-top: 4px;
}
.comment-like {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.2s;
}
.comment-like:hover {
    color: #f97316;
}
.comment-like.liked {
    color: #f97316;
}
.comment-like.liked i {
    animation: likeAnimation 0.3s ease;
}
/* 氛围假象：自动点赞时点赞位变红 */
.comment-like[data-liked] {
    color: #f97316;
}
.comment-like[data-liked] i.fa-thumbs-up {
    font-weight: 900;
}
@keyframes heartFly {
    0%   { opacity: 0; transform: translateY(0) scale(0.6); }
    15%  { opacity: 1; transform: translateY(-6px) scale(1.1); }
    100% { opacity: 0; transform: translateY(-30px) scale(0.9); }
}
@keyframes likeAnimation {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}
.new-comment {
    animation: slideIn 0.3s ease;
}
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.reply-input {
    transition: all 0.2s;
}
.reply-input:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

/* App 内/电脑端访问拦截已改由服务端 302 到 /block.html 实现，原前端 .inapp-mask* 遮罩样式已移除 */

/* ===== 全屏图片查看器：指示点横向滚动条隐藏 ===== */
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }
#viewer-track { will-change: transform; }
#viewer-track .viewer-slide { flex: 0 0 100%; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 56px 4px 164px; box-sizing: border-box; }
/* 图片内容向里收，左右留白给边缘箭头，箭头不再压住图片；放大后由图片自身平移查看 */
#viewer-track .viewer-slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; -webkit-user-drag: none; user-select: none; }

/* ===== 热门事件选择弹窗：紧凑列表 + 视频/图文模式角标 ===== */
.evo-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 7px 10px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: transparent;
    text-align: left;
    transition: background .15s ease, border-color .15s ease;
    -webkit-tap-highlight-color: transparent;
}
.evo-item:active { background: #f5f3ff; }
@media (hover: hover) {
    .evo-item:hover { background: #faf8ff; }
}
.evo-item--active { background: #f3efff; border-color: #c4b5fd; }
.evo-item--active .evo-title { color: #6d28d9; }

/* 缩略图：统一 48px 方形，封面 object-cover 保证任何长图/宽图都填满不变形 */
.evo-thumb {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    flex: 0 0 auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f2f6;
}
.evo-thumb--video { background: #eef4ff; }
.evo-thumb--pic { background: #f3efff; }
.evo-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 左上角模式角标：视频=红橙，图文=蓝紫，醒目且不挡封面主体 */
.evo-badge {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 9px;
    line-height: 1;
    font-weight: 700;
    color: #fff;
    padding: 2.5px 4px 2.5px 3.5px;
    border-radius: 10px 0 8px 0;
    text-shadow: 0 1px 1px rgba(0,0,0,.25);
    letter-spacing: .5px;
    z-index: 1;
}
.evo-badge i { font-size: 7px; }
.evo-badge--video { background: linear-gradient(135deg, #ff5a3c, #ff8a00); box-shadow: 0 1px 3px rgba(255,80,40,.45); }
.evo-badge--pic { background: linear-gradient(135deg, #6d5bd0, #8b5cf6); box-shadow: 0 1px 3px rgba(124,92,230,.45); }

.evo-title {
    font-size: 14px;
    font-weight: 700;
    color: #1f2430;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.evo-sub {
    font-size: 11.5px;
    color: #9aa0ac;
    line-height: 1.3;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.evo-check {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #8b5cf6;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

/* ===== 热门事件弹窗：头部美化 / 分类 tabs / 分页器 / 空状态 ===== */
.evo-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 16px 12px;
    flex-shrink: 0;
}
.evo-logo {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: linear-gradient(145deg, #16131a, #2a2330);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    flex: 0 0 auto;
    box-shadow: 0 6px 14px rgba(20,16,26,.22), inset 0 1px 0 rgba(255,255,255,.12);
}
.evo-headtext { min-width: 0; flex: 1; }
.evo-headtext h2 {
    font-size: 19px;
    font-weight: 800;
    color: #1c1825;
    line-height: 1.2;
    letter-spacing: .5px;
}
.evo-headtext p {
    font-size: 12px;
    color: #9aa0ac;
    margin-top: 3px;
}
.evo-close {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #f2f3f6;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex: 0 0 auto;
    transition: background .15s, transform .15s;
}
.evo-close:active { background: #e6e7ec; transform: scale(.92); }

/* 分类 tabs */
.evo-tabs {
    display: flex;
    gap: 8px;
    padding: 4px 16px 10px;
    flex-shrink: 0;
}
.evo-tab {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 999px;
    background: #f3f4f7;
    color: #6b7280;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid transparent;
    transition: all .18s ease;
    -webkit-tap-highlight-color: transparent;
}
.evo-tab i { font-size: 12px; }
.evo-tab .evo-tab-count {
    background: rgba(0,0,0,.08);
    color: inherit;
    font-size: 10.5px;
    font-weight: 700;
    border-radius: 999px;
    padding: 1px 7px;
    line-height: 1.5;
}
.evo-tab.active { color: #fff; box-shadow: 0 4px 10px rgba(124,92,230,.32); }
.evo-tab.active .evo-tab-count { background: rgba(255,255,255,.25); color: #fff; }
.evo-tab--all.active { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.evo-tab--video.active { background: linear-gradient(135deg, #ff5a3c, #ff8a00); box-shadow: 0 4px 10px rgba(255,90,60,.32); }
.evo-tab--pic.active { background: linear-gradient(135deg, #6d5bd0, #8b5cf6); }

/* 分页器 */
.evo-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid #f0f1f4;
    background: #fff;
    flex-shrink: 0;
}
.evo-page-btn {
    min-width: 84px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #f3f4f7;
    color: #4b5563;
    font-size: 13px;
    font-weight: 600;
    transition: all .15s;
}
.evo-page-btn i { font-size: 11px; }
.evo-page-btn:active:not(:disabled) { background: #e9e4ff; }
.evo-page-btn:disabled { opacity: .4; }
.evo-pageinfo {
    font-size: 13px;
    font-weight: 700;
    color: #7c3aed;
    min-width: 46px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

/* 空状态 */
.evo-empty {
    padding: 48px 24px;
    text-align: center;
    color: #b4b9c4;
}
.evo-empty i { font-size: 40px; color: #d6d9e0; margin-bottom: 12px; }
.evo-empty p { font-size: 15px; font-weight: 600; color: #8a909c; margin-bottom: 4px; }
.evo-empty span { font-size: 12px; color: #b4b9c4; }

/* ============================================================
   用途选择 / 模式区别 弹窗 —— 简洁现代卡片风（赚米 / 涨粉）
   ============================================================ */

/* —— 选择用途：两个大卡片 —— */
.mode-pick {
    background: #ffffff;
    border: 1.5px solid #eef0f4;
    box-shadow: 0 2px 10px rgba(17, 24, 39, .04);
}
.mode-pick:active {
    box-shadow: 0 4px 16px rgba(17, 24, 39, .08);
}
.mode-pick__icon {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    color: #fff;
    transition: transform .2s ease;
}
.mode-pick:active .mode-pick__icon { transform: scale(.92); }

.mode-pick--earn .mode-pick__icon {
    background: linear-gradient(135deg, #ffb545 0%, #ff8a00 100%);
    box-shadow: 0 6px 14px rgba(255, 138, 0, .32);
}
.mode-pick--traffic .mode-pick__icon {
    background: linear-gradient(135deg, #7c8cff 0%, #5b6cf0 100%);
    box-shadow: 0 6px 14px rgba(91, 108, 240, .30);
}
@media (hover: hover) {
    .mode-pick--earn:hover { border-color: #ffd9a8; background: #fffbf5; }
    .mode-pick--traffic:hover { border-color: #c9d0ff; background: #f7f8ff; }
    .mode-pick:hover .mode-pick__icon { transform: translateY(-1px); }
}

/* —— 模式区别：信息卡片 —— */
.mode-info { position: relative; overflow: hidden; }
.mode-info--earn {
    background: linear-gradient(135deg, #fff8ef 0%, #fff3e2 100%);
    border: 1.5px solid #ffe2bd;
}
.mode-info--traffic {
    background: linear-gradient(135deg, #f3f5ff 0%, #ecefff 100%);
    border: 1.5px solid #d7ddff;
}
.mode-info__icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    color: #fff;
}
.mode-info--earn .mode-info__icon {
    background: linear-gradient(135deg, #ffb545, #ff8a00);
    box-shadow: 0 5px 12px rgba(255, 138, 0, .30);
}
.mode-info--traffic .mode-info__icon {
    background: linear-gradient(135deg, #7c8cff, #5b6cf0);
    box-shadow: 0 5px 12px rgba(91, 108, 240, .28);
}
.mode-info__tick {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.mode-info--earn .mode-info__tick { background: #ff9f1c; }
.mode-info--traffic .mode-info__tick { background: #6b7cf0; }

/* 弹窗遮罩：hidden 移除后必须是 flex 居中（移动端底部、桌面居中） */
#mode-modal:not(.hidden),
#mode-info-modal:not(.hidden) {
    display: flex !important;
}

/* ============================================================
   需要访问密码 弹窗 —— 加密视频真实感 + 底部抽屉
   ============================================================ */
.pwd-hero {
    position: relative;
    background: linear-gradient(160deg, #ff8a00 0%, #ff6a00 45%, #e8541a 100%);
}
.pwd-hero__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    background: rgba(0, 0, 0, .22);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .25);
}
.pwd-hero__close:active { background: rgba(0, 0, 0, .34); }
.pwd-lockbadge {
    position: relative;
    z-index: 2;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    background: linear-gradient(135deg, #ffb545, #ff8a00);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .35), 0 0 0 6px rgba(255, 255, 255, .18);
}
.pwd-hero__title {
    color: #fff;
    font-size: 19px;
    font-weight: 800;
    text-align: center;
    letter-spacing: .3px;
}
.pwd-hero__sub {
    color: rgba(255, 255, 255, .88);
    font-size: 12.5px;
    line-height: 1.6;
    text-align: center;
    margin-top: 6px;
}

/* ---- 预览结束场景头（深色金边 + 试看进度条） ---- */
.pwd-hero--pv {
    background:
        radial-gradient(120% 130% at 15% 0%, rgba(255, 184, 77, .34) 0%, transparent 55%),
        linear-gradient(160deg, #1d2333 0%, #171b28 55%, #11141f 100%);
}
.pwd-hero--pv .pwd-hero__close { background: rgba(255, 255, 255, .14); box-shadow: 0 0 0 1px rgba(255, 255, 255, .22); }
.pwd-pvlock {
    position: relative;
    z-index: 2;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #1d2333;
    background: linear-gradient(135deg, #ffd07a, #ffb545);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .42), 0 0 0 6px rgba(255, 184, 77, .22);
}
.pwd-pvtitle {
    color: #fff;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: .3px;
}
.pwd-pvsub {
    color: rgba(255, 255, 255, .78);
    font-size: 12.5px;
    line-height: 1.6;
    margin-top: 6px;
}
.pwd-pvsub b {
    color: #ffcf7d;
    font-weight: 700;
}
/* 试看进度条：已试看前 N 秒 → 完整版 🔒 */
.pwd-pvbar {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, .10);
    display: flex;
    align-items: center;
    gap: 10px;
}
.pwd-pvbar__label {
    color: rgba(255, 255, 255, .72);
    font-size: 11.5px;
    white-space: nowrap;
    letter-spacing: .4px;
}
.pwd-pvbar__label b { color: #ffd07a; font-weight: 800; }
.pwd-pvbar__track {
    position: relative;
    flex: 1;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    overflow: hidden;
}
.pwd-pvbar__fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 14%;
    border-radius: 999px;
    background: linear-gradient(90deg, #ffb545, #ffd07a);
    box-shadow: 0 0 10px rgba(255, 199, 105, .6);
    transition: width .4s ease;
}
.pwd-pvbar__tail {
    color: rgba(255, 255, 255, .68);
    font-size: 11.5px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.pwd-pvbar__tail i { color: #ffd07a; font-size: 10px; }

/* 免费拿密码主按钮 */
.pwd-getbtn {
    background: linear-gradient(135deg, #2fcf7e 0%, #12b76a 100%);
    box-shadow: 0 8px 18px rgba(18, 183, 106, .34);
}
.pwd-getbtn:active { box-shadow: 0 4px 12px rgba(18, 183, 106, .3); }



/* 密码输入 */
.pwd-inputwrap {
    position: relative;
    display: flex;
    align-items: center;
}
.pwd-inputwrap > i {
    position: absolute;
    left: 16px;
    color: #c2c6cd;
    font-size: 15px;
    pointer-events: none;
}
.pwd-input {
    width: 100%;
    padding: 15px 16px 15px 46px;
    border: 2px solid #e6e8ee;
    border-radius: 14px;
    background: #f8f9fb;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 3px;
    color: #1f2430;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.pwd-input::placeholder { color: #b0b6c2; letter-spacing: 0; font-size: 15px; font-weight: 400; }
.pwd-input:focus {
    outline: none;
    background: #fff;
    border-color: #ff8a00;
    box-shadow: 0 0 0 4px rgba(255, 138, 0, .16);
}

/* 确认按钮 */
.pwd-confirm {
    background: linear-gradient(135deg, #ffb545 0%, #ff8a00 100%);
    box-shadow: 0 8px 18px rgba(255, 138, 0, .3);
}
.pwd-confirm:active { box-shadow: 0 4px 12px rgba(255, 138, 0, .28); }

/* 底部：已有密码提示 + 密码不正确？ */
.pwd-why-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed #eef0f4;
}
.pwd-why-line {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12.5px;
    color: #8a92a2;
    font-weight: 500;
    padding: 6px 0;
}
.pwd-why-line i { font-size: 13px; color: #c2c6cd; }
.pwd-why {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12.5px;
    color: #7c8998;
    font-weight: 500;
    padding: 5px 4px;
    transition: color .15s ease;
}
.pwd-why:active { color: #ff8a00; }
.pwd-why i { font-size: 13px; color: #c2c6cd; }

/* 弹窗遮罩 flex 兜底 */
#password-modal:not(.hidden) { display: flex !important; }

/* 试看完成提示层（预览结束后覆盖视频画面，提示输入密码解锁完整版） */
#preview-tip {
    position: absolute;
    inset: 0;
    z-index: 30;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    animation: previewTipIn .22s ease both;
}
#preview-tip:not(.hidden) { display: flex; }
@keyframes previewTipIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
/* X5 内核下视频是特殊合成层，提示层务必同层并提升合成，避免被原生画面盖住 */
.video-container { -webkit-transform: translateZ(0); transform: translateZ(0); }
#preview-tip .preview-tip-btn { transition: transform .15s ease; }
#preview-tip:active .preview-tip-btn { transform: scale(.94); }
