/* extracted from block/include.html wb-include-inline-extras */
/* 全站补充样式（原 wb-include-extras.css，已内联合并；加载顺序：在 mytheme-site / 主题皮肤之后，与外链时代一致） */

/* 影片封面角标 */
.myui-vodlist__thumb {
    position: relative;
}
.wb-access-badge {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 3;
    height: 22px;
    padding: 0 8px 0 7px;
    border-radius: 0 0 11px 0;
    background: var(--wb-badge-bg, rgba(15, 23, 42, .78));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    box-shadow:
        0 2px 8px rgba(0, 0, 0, .28),
        inset 0 0 0 1px rgba(255, 255, 255, .18);
    pointer-events: none;
}
.wb-access-badge--vip {
    --wb-badge-bg: linear-gradient(135deg, #b45309, #f59e0b 55%, #fbbf24);
    box-shadow:
        0 2px 10px rgba(180, 83, 9, .38),
        inset 0 0 0 1px rgba(255, 255, 255, .28);
}
.wb-access-badge--member {
    --wb-badge-bg: linear-gradient(135deg, #0369a1, #0ea5e9);
    box-shadow:
        0 2px 10px rgba(3, 105, 161, .36),
        inset 0 0 0 1px rgba(255, 255, 255, .22);
}
/* 积分：琥珀实色，避免浅紫白字糊在封面上 */
.wb-access-badge--points {
    --wb-badge-bg: linear-gradient(135deg, #c2410c 0%, #ea580c 48%, #f59e0b 100%);
    min-width: 48px;
    box-shadow:
        0 3px 10px rgba(194, 65, 12, .42),
        inset 0 0 0 1px rgba(255, 255, 255, .25);
}
.wb-access-badge--free {
    --wb-badge-bg: linear-gradient(135deg, #047857, #10b981);
    box-shadow:
        0 2px 10px rgba(4, 120, 87, .32),
        inset 0 0 0 1px rgba(255, 255, 255, .2);
}
.wb-access-badge--free .wb-access-badge__txt {
    color: #ecfdf5;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}
.wb-access-badge__txt {
    position: static;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .02em;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .4);
    max-width: 72px;
    overflow: hidden;
    white-space: nowrap;
    display: block;
    pointer-events: none;
}
.wb-access-badge__txt--points {
    display: inline-flex;
    flex-direction: row;
    align-items: baseline;
    gap: 2px;
    max-width: 84px;
    white-space: nowrap;
}
.wb-access-badge__txt--points b {
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .45);
}
.wb-access-badge__txt--points i {
    font-style: normal;
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    color: #fff7ed;
    opacity: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .4);
}
@media (max-width: 420px) {
    .wb-access-badge {
        height: 20px;
        padding: 0 7px 0 6px;
        border-radius: 0 0 10px 0;
    }
    .wb-access-badge--points {
        min-width: 44px;
    }
    .wb-access-badge__txt {
        font-size: 10px;
    }
    .wb-access-badge__txt--points b {
        font-size: 11px;
    }
    .wb-access-badge__txt--points i {
        font-size: 9px;
    }
}
@media (max-width: 360px) {
    .wb-access-badge {
        height: 19px;
        padding: 0 6px 0 5px;
        border-radius: 0 0 9px 0;
    }
    .wb-access-badge__txt {
        font-size: 10px;
    }
}
.pic-badge-score {
    left: auto !important;
    right: 8px !important;
    top: 8px !important;
}

/* 全局布局/占位（loading 图相对本 CSS：template/default/css/ → ../images/） */
body {
    font-family: "Microsoft YaHei", "微软雅黑", "STHeiti", "WenQuanYi Micro Hei", SimSun, sans-serif;
    padding-top: calc(env(safe-area-inset-top, 0px) + var(--top-floating-ad-height, 0px) + var(--myui-header-height, 60px));
    padding-bottom: calc(var(--bottom-floating-ad-height, 0px) + var(--wb-tabbar-height, 0px));
}
body.active {
    padding-top: calc(env(safe-area-inset-top, 0px) + var(--top-floating-ad-height, 0px) + var(--myui-header-height, 60px));
    padding-bottom: calc(var(--bottom-floating-ad-height, 0px) + var(--wb-tabbar-height, 0px));
}
.myui-header__top {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + var(--top-floating-ad-height, 0px));
    left: 0;
    right: 0;
    padding: 0;
    z-index: 10080;
}
[class*="col-"],
.myui-content__list li,
.myui-vodlist__media.col li {
    padding: 10px;
}
.btn {
    border-radius: 5px;
}
.myui-vodlist__thumb {
    border-radius: 6px;
    padding-top: 140%;
    background-color: var(--wb-app-card-soft, #f1f5f9);
}
.myui-vodlist__thumb.square {
    padding-top: 100%;
}
.myui-vodlist__thumb.wide {
    padding-top: 60%;
}
.myui-vodlist__thumb.actor {
    padding-top: 140%;
}
/* 占位图 URL 由 include.html 注入 --wb-lazy-ph-vod-url / --wb-lazy-ph-ad-url（静态 CSS 不能写模板变量） */
.myui-vodlist__thumb.lazyload:not(.lazyloaded):not(.lazyload-broken) {
    background-image: var(--wb-lazy-ph-vod-url, url("/template/default/images/lazyload.png")) !important;
    background-size: min(42vw, 130px) auto !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-color: var(--wb-app-card-soft, #f1f5f9) !important;
}
html.theme-dark .myui-vodlist__thumb.lazyload:not(.lazyloaded):not(.lazyload-broken) {
    background-color: rgba(30, 41, 59, 0.72) !important;
}
.myui-vodlist__thumb.lazyloaded {
    background-size: cover !important;
    background-position: 100% 100% !important;
}
.flickity-prev-next-button.previous {
    left: 10px;
}
.flickity-prev-next-button.next {
    right: 10px;
}
.myui-sidebar {
    padding: 0 0 0 20px;
}
.myui-panel {
    margin-bottom: 10px;
    border-radius: 5px;
}
.myui-panel-mb {
    margin-bottom: 20px;
}
.myui-player__item .fixed {
    width: 500px;
}
.myui-vodlist__text li a,
.myui-vodlist__media li {
    padding: 10px 0;
}
.myui-screen__list {
    padding: 10px 10px 0;
}
.myui-screen__list li {
    margin-bottom: 10px;
    margin-right: 10px;
}
.myui-page {
    padding: 0 10px;
}
.myui-extra {
    right: 20px;
    bottom: calc(24px + var(--wb-tabbar-height, 0px));
}
@media (min-width: 768px) {
    body.active:not(.wb-uc) .container,
    body.active:not(.wb-uc) .container.min,
    body.wb-video-home > .container,
    body.wb-video-home .myui-container-bg > .container,
    body.wb-video-list .container,
    body.wb-label-page .container {
        max-width: var(--wb-app-shell-max, 960px);
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding-left: 8px;
        padding-right: 8px;
    }
}
@media (max-width: 767px) {
    body,
    body.active {
        padding-top: calc(env(safe-area-inset-top, 0px) + var(--top-floating-ad-height, 0px) + var(--myui-header-height, 44px));
        padding-bottom: calc(var(--bottom-floating-ad-height, 0px) + var(--wb-tabbar-height, 0px));
    }
    [class*="col-"],
    .myui-panel,
    .myui-content__list li {
        padding: 5px;
    }
    .flickity-prev-next-button.previous {
        left: 5px;
    }
    .flickity-prev-next-button.next {
        right: 5px;
    }
    .myui-vodlist__text li a,
    .myui-vodlist__media li {
        padding: 10px 0;
    }
    .myui-screen__list {
        padding: 10px 5px 0;
    }
    .myui-screen__list li {
        margin-bottom: 5px;
        margin-right: 5px;
    }
    .myui-extra {
        right: 20px;
        bottom: calc(24px + var(--wb-tabbar-height, 0px));
    }
    .myui-page {
        padding: 0 5px;
    }
}
.myui-topbg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}
.fl {
    display: inline-block;
    float: left;
}
/* 视频框随机广告：与视频卡同为 background lazyload；旧 picture+img 仍兼容 */
.myui-vodlist__thumb.ad-thumb.picture {
    background: none !important;
    background-image: none !important;
}
.myui-vodlist__thumb.ad-thumb.picture:hover {
    background-size: 100% 100% !important;
    background-position: center center !important;
}
.myui-vodlist__thumb.ad-thumb.picture.lazyloaded {
    background-size: 100% 100% !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}
.myui-vodlist__thumb.picture.ad-thumb img {
    display: block !important;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center;
}
.myui-vodlist__thumb.picture.ad-thumb img:hover {
    right: 0;
    transform: none;
}
.myui-vodlist__thumb.ad-thumb.lazyload:not(.picture):not(.lazyloaded):not(.lazyload-broken) {
    background-image: var(--wb-lazy-ph-ad-url, url("/template/default/images/lazyload.png")) !important;
    background-size: min(42vw, 130px) auto !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-color: var(--wb-app-card-soft, #f1f5f9) !important;
}
.myui-vodlist__thumb.ad-thumb.lazyloaded:not(.picture) {
    /* 广告图：拉伸铺满容器，允许变形，不裁剪 */
    background-size: 100% 100% !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* 全站无边框：与原版一致，但后续用更高优先级恢复分页胶囊描边（原版 .btn 会抹掉分页按钮边框） */
body:not(.wb-uc) .myui-panel,
body:not(.wb-uc) .myui-header__top,
body:not(.wb-uc) .myui-header__topbar,
body:not(.wb-uc) .myui-header__search,
body:not(.wb-uc) .myui-header__menu,
body:not(.wb-uc) .myui-nav__item,
body:not(.wb-uc) .myui-vodlist__item,
body:not(.wb-uc) .myui-vodlist__thumb,
body:not(.wb-uc) .myui-vodlist__detail,
body:not(.wb-uc) .myui-vodlist__text,
body:not(.wb-uc) .myui-article__item,
body:not(.wb-uc) .myui-playlist,
body:not(.wb-uc) .btn,
body:not(.wb-uc) .form-control,
body:not(.wb-uc) select,
body:not(.wb-uc) textarea,
body:not(.wb-uc) input {
    border: none !important;
}
body:not(.wb-uc) .myui-vodlist__item,
body:not(.wb-uc) .myui-article__item {
    box-shadow: none !important;
}
body:not(.wb-uc) ul.myui-page > li > a.btn {
    border-width: 1px !important;
    border-style: solid !important;
}

/* 全局弹层（替代内联 style#wb-global-dialog-style） */
.wb-global-dialog {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
.wb-global-dialog[hidden] {
    display: none !important;
}
.wb-global-dialog__bg {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .28);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.wb-global-dialog__box {
    position: relative;
    width: 100%;
    max-width: 340px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    overflow: hidden;
    animation: wbGdIn .2s ease-out;
    text-align: center;
}
.wb-global-dialog__box.wb-gc--credential {
    max-width: 360px;
    width: min(92vw, 360px);
    padding: 0;
    overflow: hidden;
    text-align: center;
}
.wb-global-dialog__box.wb-gc--credential:before {
    display: none !important;
}
.wb-global-dialog__box.wb-gc--credential .wb-global-dialog__head,
.wb-global-dialog__box.wb-gc--credential .wb-global-dialog__foot {
    display: none !important;
}
.wb-global-dialog__box.wb-gc--credential .wb-global-dialog__body {
    padding: 0;
    white-space: normal;
    max-height: min(86vh, 640px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}
.wb-gc-card {
    text-align: center;
    background: #fff;
}
.wb-gc-card__head {
    position: relative;
    margin: 0;
    padding: 14px 40px 12px;
    background: linear-gradient(135deg, var(--uc-primary, #2563eb) 0%, #4f46e5 55%, #06b6d4 120%);
    color: #fff;
}
.wb-gc-card__title {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
}
.wb-gc-card__close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 10px;
    background: rgba(255,255,255,.22);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}
.wb-gc-card__body {
    padding: 12px 14px 6px;
}
.wb-gc-card--compact .wb-gc-main {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
}
.wb-gc-card--compact .wb-gc-qr {
    width: 108px;
    height: 108px;
    margin: 0;
    padding: 4px;
    flex-shrink: 0;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(15,23,42,.08);
    box-sizing: border-box;
}
.wb-gc-card--compact .wb-gc-side {
    flex: 1;
    min-width: 0;
}
.wb-gc-card--compact .wb-gc-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 8px;
}
.wb-gc-card--compact .wb-gc-profile__avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: #e2e8f0;
}
.wb-gc-card--compact .wb-gc-profile__lines {
    flex: 1;
    min-width: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 54px;
    gap: 2px;
}
.wb-gc-card--compact .wb-gc-profile__nick {
    font-size: 12px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.wb-gc-card--compact .wb-gc-profile__acc,
.wb-gc-card--compact .wb-gc-profile__id {
    margin-top: 0;
    font-size: 11px;
    font-weight: 400;
    color: #94a3b8;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.wb-gc-card--compact .wb-gc-user {
    justify-content: flex-start;
    margin: 0 0 4px;
    font-size: 14px;
}
.wb-gc-card--compact .wb-gc-meta {
    margin: 0 0 6px;
    text-align: left;
    font-size: 12px;
    color: #64748b;
    -webkit-text-fill-color: #64748b;
}
.wb-gc-card--compact .wb-gc-urls {
    margin: 0;
    text-align: left;
    font-size: 11px;
    line-height: 1.45;
    color: var(--uc-primary, #2563eb);
    word-break: break-all;
}
.wb-gc-card--compact .wb-gc-urls__item {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wb-gc-card--compact .wb-gc-urls__more {
    margin-top: 2px;
    color: #94a3b8;
    font-size: 10px;
}
.wb-gc-card--compact .wb-gc-tip {
    margin: 10px 0 0;
    padding: 8px 10px;
    border-radius: 8px;
    background: #f8fafc;
    font-size: 11px;
    line-height: 1.5;
    color: #64748b;
}
.wb-gc-urls {
    margin: 0 0 12px;
    font-size: 12px;
    line-height: 1.7;
    color: var(--uc-primary, #2563eb);
    word-break: break-all;
}
.wb-gc-qr {
    width: 168px;
    height: 168px;
    margin: 0 auto 12px;
    padding: 8px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(15,23,42,.08);
    box-sizing: border-box;
}
.wb-gc-qr img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}
.wb-gc-code {
    margin: 0 0 10px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #f8fafc;
    color: #334155;
    font-size: 12px;
    line-height: 1.45;
    word-break: break-all;
    text-align: center;
}
.wb-gc-code b {
    display: block;
    margin-top: 2px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-weight: 600;
    font-size: 11px;
    color: #0f172a;
}
.wb-gc-user {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 14px;
    font-weight: 700;
}
html.theme-dark .wb-gc-user {
    color: var(--uc-text, rgba(255,255,255,.92));
}
.wb-gc-user img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}
.wb-gc-meta {
    margin: 0 0 8px;
    color: #475569;
    font-size: 12px;
    line-height: 1.55;
    text-align: center;
    -webkit-text-fill-color: #475569;
}
/* 生成时间：弱化贴底，「我已保存」与时间之间留一点空隙 */
.wb-gc-card > .wb-gc-time,
.wb-gc-card .wb-gc-time {
    display: block;
    margin: 6px 0 0;
    padding: 0 14px 10px;
    text-align: center;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0;
    color: #cbd5e1 !important;
    -webkit-text-fill-color: #cbd5e1 !important;
}
.wb-gc-tip {
    margin: 0 0 4px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.65;
    text-align: center;
}
.wb-gc-card__actions {
    padding: 2px 14px 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.wb-gc-card__btn {
    width: 100%;
    border-radius: 12px;
    padding: 11px 16px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-sizing: border-box;
}
.wb-gc-card__btn--ghost {
    background: #fff;
    border: 1px solid rgba(15,23,42,.12);
    color: #0f172a;
}
.wb-gc-card__btn--primary {
    background: linear-gradient(135deg, var(--uc-primary, #2563eb) 0%, #4f46e5 55%, #06b6d4 120%);
    border: 0;
    color: #fff;
}
.wb-gc-card__btn--link {
    background: transparent;
    border: 0;
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
    padding: 8px 12px 2px;
}
.wb-gc-card__btn--link:active {
    color: #0f172a;
}

@media (max-width: 360px) {
    .wb-gc-card--compact .wb-gc-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .wb-gc-card--compact .wb-gc-side,
    .wb-gc-card--compact .wb-gc-user,
    .wb-gc-card--compact .wb-gc-meta,
    .wb-gc-card--compact .wb-gc-profile__lines,
    .wb-gc-card--compact .wb-gc-urls {
        text-align: center;
    }
    .wb-gc-card--compact .wb-gc-user,
    .wb-gc-card--compact .wb-gc-profile {
        justify-content: center;
    }
}

.wb-gc-page {
    width: 100%;
    max-width: var(--wb-app-shell-max, 960px);
    margin: 0 auto 28px;
    padding: 0 16px;
    box-sizing: border-box;
}
.uc-container > .wb-gc-page {
    max-width: none;
    margin: 0;
    padding: 0;
}
.wb-gc-page__card {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15,23,42,.08);
}
html.theme-dark .wb-gc-page__card {
    background: var(--uc-surface, rgba(255,255,255,.06));
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.wb-gc-page__head {
    padding: 18px;
    text-align: center;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--uc-primary, #2563eb) 0%, #4f46e5 55%, #06b6d4 120%);
}
.wb-gc-page__body {
    padding: 18px;
}
body.wb-gc-cred-page {
    --wb-tabbar-height: env(safe-area-inset-bottom, 0px) !important;
    padding-bottom: max(16px, env(safe-area-inset-bottom, 0px)) !important;
}
/* 凭证页：去掉会员容器拉满整屏的白底，卡片随内容收紧 */
body.wb-uc.wb-gc-cred-page .uc-container,
body.wb-gc-cred-page .uc-container {
    min-height: 0 !important;
    height: auto !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 12px 12px 16px !important;
}
body.wb-gc-cred-page .wb-gc-page__card {
    box-shadow: 0 8px 22px rgba(15, 23, 42, .08);
}
body.wb-gc-cred-page .wb-gc-page__head {
    padding: 14px 16px;
    font-size: 18px;
}
body.wb-gc-cred-page .wb-gc-page__body {
    padding: 12px 14px 12px;
}
body.wb-gc-cred-page .wb-gc-urls {
    margin: 0 0 8px;
    line-height: 1.55;
}
body.wb-gc-cred-page .wb-gc-qr {
    width: 156px;
    height: 156px;
    margin: 0 auto 8px;
    padding: 6px;
}
body.wb-gc-cred-page .wb-gc-user {
    margin: 0 0 6px;
}
body.wb-gc-cred-page .wb-gc-meta {
    margin: 0 0 8px;
}
body.wb-gc-cred-page .wb-gc-tip {
    margin: 0;
}
body.wb-gc-cred-page::after {
    display: none !important;
}
body.wb-gc-cred-page .myui-foot,
body.wb-gc-cred-page .myui-extra,
body.wb-gc-cred-page .myui-nav__tabbar,
body.wb-gc-cred-page .wb-bottom-tabbar,
body.wb-gc-cred-page .wb-tabbar,
body.wb-gc-cred-page .wb-bottom-tab,
body.wb-gc-cred-page #wbBottomTab,
body.wb-gc-cred-page .wb-native-tabbar,
body.wb-gc-cred-page .wb-pwa-install {
    display: none !important;
}
body.wb-uc.wb-gc-cred-page .wb-gc-page__save,
body.wb-gc-cred-page .wb-gc-page__save {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 12px;
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 12px !important;
    height: 48px !important;
    line-height: 48px !important;
    padding: 0 16px !important;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    color: #fff !important;
    background: var(--uc-primary, #2563eb) !important;
    -webkit-appearance: none;
    appearance: none;
}
body.wb-uc.wb-gc-cred-page .wb-gc-page__save:active,
body.wb-gc-cred-page .wb-gc-page__save:active {
    filter: brightness(0.95);
    transform: none;
}
.wb-gc-save-preview {
    position: fixed;
    inset: 0;
    z-index: 2147483640;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px 16px calc(24px + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    background: rgba(2, 6, 23, .78);
}
.wb-gc-save-preview[hidden] { display: none !important; }
.wb-gc-save-preview img {
    width: min(100%, 360px);
    max-height: 70vh;
    object-fit: contain;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(0,0,0,.35);
}
.wb-gc-save-preview__tip {
    margin: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}
.wb-gc-save-preview__close {
    border: 0;
    border-radius: 12px;
    padding: 11px 28px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--uc-primary, #2563eb) 0%, #4f46e5 55%, #06b6d4 120%);
    cursor: pointer;
}
.wb-gc-scan-page {
    --gc-ink: #e8eef8;
    --gc-muted: rgba(232,238,248,.72);
    --gc-accent: #2dd4bf;
    --gc-accent-2: #38bdf8;
    --gc-dock: #101a2c;
    --gc-dock-line: rgba(148,163,184,.18);
    background: #0b1220 !important;
    min-height: 100vh;
    min-height: 100dvh;
}
html.theme-dark .wb-gc-scan-page {
    background: #07111f !important;
}
.wb-gc-scan-page .myui-foot,
.wb-gc-scan-page .myui-extra,
.wb-gc-scan-page .myui-nav__tabbar,
.wb-gc-scan-page .wb-bottom-tabbar,
.wb-gc-scan-page .wb-tabbar,
.wb-gc-scan-page .wb-bottom-tab,
.wb-gc-scan-page #wbBottomTab,
.wb-gc-scan-page .wb-native-tabbar,
.wb-gc-scan-page .wb-statusbar,
.wb-gc-scan-page .wb-native-topbar,
.wb-gc-scan-page .wb-pwa-install {
    display: none !important;
}
.wb-gc-scan-page::after {
    display: none !important;
}
body.wb-uc.wb-gc-scan-page,
body.wb-gc-scan-page {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin: 0;
    --wb-tabbar-height: 0px !important;
    --top-floating-ad-height: 0px !important;
    background: #0b1220 !important;
    color: var(--gc-ink);
}
html.theme-dark body.wb-uc.wb-gc-scan-page,
html.theme-dark body.wb-gc-scan-page {
    background: #07111f !important;
}
.wb-gc-scan {
    width: 100%;
    max-width: var(--wb-app-shell-max, 960px);
    margin: 0 auto;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background:
      radial-gradient(120% 70% at 50% -10%, rgba(45,212,191,.18), transparent 55%),
      radial-gradient(90% 50% at 100% 100%, rgba(56,189,248,.12), transparent 50%),
      #0b1220;
    color: var(--gc-ink);
    box-sizing: border-box;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}
html.theme-dark .wb-gc-scan {
    background:
      radial-gradient(120% 70% at 50% -10%, rgba(45,212,191,.16), transparent 55%),
      radial-gradient(90% 50% at 100% 100%, rgba(56,189,248,.1), transparent 50%),
      #07111f;
}
.wb-gc-scan__bar {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 56px;
    padding: 8px 14px 10px;
    padding-top: calc(8px + env(safe-area-inset-top, 0px));
    background: transparent;
    box-sizing: border-box;
}
.wb-gc-scan__back {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gc-ink) !important;
    font-size: 26px;
    line-height: 1;
    text-decoration: none !important;
    border-radius: 12px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
}
.wb-gc-scan__heading {
    flex: 1;
    min-width: 0;
    text-align: center;
}
.wb-gc-scan__title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--gc-ink);
    letter-spacing: .04em;
    font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
}
.wb-gc-scan__sub {
    margin: 2px 0 0;
    font-size: 12px;
    color: var(--gc-muted);
    letter-spacing: .02em;
}
.wb-gc-scan__bar-spacer {
    width: 40px;
    flex-shrink: 0;
}
.wb-gc-scan__error {
    display: none;
}
.wb-gc-scan__stage {
    position: relative;
    flex: 1;
    min-height: 380px;
    margin: 0 12px;
    overflow: hidden;
    background: #020617;
    border-radius: 22px;
    border: 1px solid rgba(148,163,184,.16);
    box-shadow: 0 18px 40px rgba(2,6,23,.35);
}
.wb-gc-scan__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #020617;
}
.wb-gc-scan__canvas {
    position: absolute;
    left: -9999px;
    top: 0;
    width: 1px;
    height: 1px;
}
.wb-gc-scan__mask {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.wb-gc-scan__frame {
    position: absolute;
    left: 50%;
    top: 46%;
    width: min(72vw, 268px);
    height: min(72vw, 268px);
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 9999px rgba(2, 6, 23, .62);
    border-radius: 18px;
    overflow: hidden;
}
.wb-gc-scan__corner {
    position: absolute;
    width: 26px;
    height: 26px;
    border: 0 solid var(--gc-accent);
}
.wb-gc-scan__corner.is-tl {
    left: 8px; top: 8px;
    border-top-width: 3px;
    border-left-width: 3px;
    border-top-left-radius: 8px;
}
.wb-gc-scan__corner.is-tr {
    right: 8px; top: 8px;
    border-top-width: 3px;
    border-right-width: 3px;
    border-top-right-radius: 8px;
}
.wb-gc-scan__corner.is-bl {
    left: 8px; bottom: 8px;
    border-bottom-width: 3px;
    border-left-width: 3px;
    border-bottom-left-radius: 8px;
}
.wb-gc-scan__corner.is-br {
    right: 8px; bottom: 8px;
    border-bottom-width: 3px;
    border-right-width: 3px;
    border-bottom-right-radius: 8px;
}
.wb-gc-scan__laser {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 14px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--gc-accent), var(--gc-accent-2), transparent);
    box-shadow: 0 0 12px rgba(45,212,191,.65);
    animation: wbGcScanLaser 2.4s ease-in-out infinite;
}
@keyframes wbGcScanLaser {
    0% { top: 14px; opacity: .35; }
    45% { opacity: 1; }
    100% { top: calc(100% - 16px); opacity: .35; }
}
.wb-gc-scan__hint {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 22px;
    margin: 0;
    text-align: center;
    color: rgba(248,250,252,.92);
    font-size: 13px;
    line-height: 1.5;
    text-shadow: 0 1px 8px rgba(0,0,0,.55);
}
.wb-gc-scan__dock {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 16px 18px;
    padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, transparent, rgba(16,26,44,.55) 18%, var(--gc-dock));
}
.wb-gc-scan__album {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    border: 1px solid var(--gc-dock-line);
    border-radius: 16px;
    background: rgba(255,255,255,.06);
    color: var(--gc-ink);
    cursor: pointer;
    padding: 12px 14px;
    text-align: left;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.wb-gc-scan__album:active {
    transform: scale(.985);
    background: rgba(255,255,255,.1);
    border-color: rgba(45,212,191,.45);
}
.wb-gc-scan__album-ico {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #042f2e;
    background: linear-gradient(145deg, var(--gc-accent), var(--gc-accent-2));
    flex-shrink: 0;
}
.wb-gc-scan__album-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.wb-gc-scan__album-meta strong {
    font-size: 15px;
    font-weight: 700;
    color: var(--gc-ink);
}
.wb-gc-scan__album-meta em {
    font-style: normal;
    font-size: 12px;
    color: var(--gc-muted);
}
.wb-gc-scan__paste-toggle {
    align-self: center;
    margin: 0;
    border: 0;
    background: transparent;
    color: var(--gc-muted);
    font-size: 13px;
    cursor: pointer;
    padding: 4px 8px;
    text-decoration: none;
}
.wb-gc-scan__paste-toggle.is-on,
.wb-gc-scan__paste-toggle:hover {
    color: var(--gc-accent);
}
.wb-gc-scan__paste {
    padding: 0;
}
.wb-gc-scan__paste[hidden] {
    display: none !important;
}
.wb-gc-scan__paste textarea {
    width: 100%;
    box-sizing: border-box;
    border-radius: 14px;
    border: 1px solid var(--gc-dock-line);
    background: rgba(2,6,23,.55);
    color: var(--gc-ink);
    padding: 12px 14px;
    font-size: 13px;
    resize: vertical;
    min-height: 78px;
    outline: none;
}
.wb-gc-scan__paste textarea:focus {
    border-color: rgba(45,212,191,.55);
}
.wb-gc-scan__paste-btn {
    width: 100%;
    margin-top: 10px;
    border: 0;
    border-radius: 14px;
    padding: 13px 16px;
    font-size: 15px;
    font-weight: 700;
    color: #042f2e;
    background: linear-gradient(135deg, var(--gc-accent) 0%, var(--gc-accent-2) 100%);
    cursor: pointer;
}
@media (min-width: 768px) {
    .wb-gc-scan__frame {
        width: 300px;
        height: 300px;
    }
    .wb-gc-scan__stage {
        margin: 0 20px;
    }
    .wb-gc-scan__dock {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* 旧底部弹层（已废弃，兜底隐藏） */
.wb-gc-sheet {
    display: none !important;
}
html.wb-gc-sheet-open,
html.wb-gc-sheet-open body {
    overflow: auto;
}

.wb-global-dialog__box:before {
    display: none !important;
    content: none;
}
@keyframes wbGdIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
html.theme-dark .wb-global-dialog__box {
    background: rgba(17, 24, 39, .96);
    border-color: rgba(255, 255, 255, .1);
    box-shadow: 0 24px 70px -22px rgba(0, 0, 0, .75);
}
.wb-global-dialog__head {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    padding: 22px 44px 0;
    background: transparent;
}
.wb-global-dialog__head-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.wb-global-dialog__icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    background: #f59e0b;
    box-shadow: none;
}
.wb-global-dialog__title {
    margin: 0;
    font-size: 18px;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.35;
}
html.theme-dark .wb-global-dialog__title {
    color: #f8fafc;
}
.wb-global-dialog__close {
    position: absolute;
    right: 12px;
    top: 12px;
    border: 0;
    background: rgba(148, 163, 184, .12);
    color: #64748b;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    width: 28px;
    height: 28px;
    border-radius: 10px;
}
.wb-global-dialog__close:hover {
    background: rgba(148, 163, 184, .16);
}
.wb-global-dialog__body {
    position: relative;
    padding: 14px 22px 8px;
    color: #334155;
    font-size: 14px;
    line-height: 1.7;
    word-break: break-word;
    white-space: pre-wrap;
    max-height: 52vh;
    overflow: auto;
}
html.theme-dark .wb-global-dialog__body {
    color: #cbd5e1;
}
.wb-global-dialog__foot {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 14px 22px 22px;
    flex-wrap: wrap;
}
.wb-global-dialog__btn {
    border-radius: 999px;
    padding: 9px 18px;
    border: 1px solid rgba(15, 23, 42, .1);
    background: #fff;
    color: #334155;
    font-weight: 800;
    cursor: pointer;
    min-width: 88px;
}
html.theme-dark .wb-global-dialog__btn {
    background: rgba(30, 41, 59, .7);
    border-color: rgba(255, 255, 255, .12);
    color: #e2e8f0;
}
.wb-global-dialog__btn--ok {
    border: 0;
    color: #fff !important;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}
.wb-global-dialog__box.is-error .wb-global-dialog__icon {
    background: #ef4444;
}
.wb-global-dialog__box.is-warn .wb-global-dialog__icon {
    background: #f59e0b;
}
.wb-global-toast-host {
    position: fixed;
    inset: 0;
    z-index: 2147483001;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    padding: 18px;
    box-sizing: border-box;
}
.wb-global-toast {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: min(92vw, 420px);
    width: auto;
    padding: 12px 12px 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .98);
    color: #334155;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.55;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .14);
    animation: wbToastIn .2s ease-out;
}
.wb-global-toast.is-out {
    opacity: 0;
    transform: scale(.98);
    transition: opacity .18s, transform .18s;
}
.wb-global-toast.is-warn {
    background: #fffbeb;
    border-color: #fde68a;
    color: #92400e;
}
.wb-global-toast.is-error {
    background: #fff7f7;
    border-color: #fecaca;
    color: #991b1b;
}
.wb-global-toast.is-ok {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
}
.wb-global-toast__ico {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    border-radius: 50%;
    background: #3b82f6;
    position: relative;
}
.wb-global-toast__ico:before {
    content: "i";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    font-style: normal;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 18px;
    text-align: center;
}
.wb-global-toast.is-warn .wb-global-toast__ico { background: #f59e0b; }
.wb-global-toast.is-warn .wb-global-toast__ico:before { content: "!"; font-family: inherit; }
.wb-global-toast.is-error .wb-global-toast__ico { background: #ef4444; }
.wb-global-toast.is-error .wb-global-toast__ico:before { content: "!"; font-family: inherit; }
.wb-global-toast.is-ok .wb-global-toast__ico { background: #22c55e; }
.wb-global-toast.is-ok .wb-global-toast__ico:before { content: "✓"; font-family: inherit; font-size: 11px; }
.wb-global-toast__txt {
    flex: 1;
    min-width: 0;
    word-break: break-word;
}
.wb-global-toast__x {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    margin: -2px -2px 0 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    opacity: .55;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}
.wb-global-toast__x:hover { opacity: 1; background: rgba(15, 23, 42, .06); }
html.theme-dark .wb-global-toast {
    background: rgba(30, 41, 59, .96);
    color: #e2e8f0;
    border-color: #334155;
}
html.theme-dark .wb-global-toast.is-warn {
    background: rgba(69, 26, 3, .92);
    border-color: #92400e;
    color: #fdba74;
}
html.theme-dark .wb-global-toast.is-error {
    background: rgba(69, 10, 10, .92);
    border-color: #7f1d1d;
    color: #fecaca;
}
@keyframes wbToastIn {
    from {
        opacity: 0;
        transform: scale(.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 前台 layer 默认弹层：圆角卡片，对齐 WBGlobalDialog */
.layui-layer.wb-layer-soft {
    border-radius: 20px !important;
    overflow: hidden !important;
    border: 1px solid rgba(15, 23, 42, .08) !important;
    box-shadow: 0 20px 50px rgba(15, 23, 42, .16) !important;
    background: #fff !important;
}
.layui-layer.wb-layer-soft .layui-layer-title {
    height: auto !important;
    min-height: 48px;
    line-height: 1.35 !important;
    padding: 16px 44px 12px 20px !important;
    border-bottom: 0 !important;
    background: transparent !important;
    color: #0f172a !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}
.layui-layer.wb-layer-soft .layui-layer-setwin {
    top: 14px !important;
    right: 12px !important;
}
.layui-layer.wb-layer-soft .layui-layer-setwin a {
    width: 28px !important;
    height: 28px !important;
    border-radius: 10px;
    background: rgba(148, 163, 184, .12) !important;
    background-image: none !important;
    position: relative;
}
.layui-layer.wb-layer-soft .layui-layer-setwin .layui-layer-close1:before {
    content: "×";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 18px;
    line-height: 1;
}
.layui-layer.wb-layer-soft .layui-layer-content {
    color: #334155;
}
.layui-layer.wb-layer-soft .layui-layer-btn {
    padding: 8px 16px 18px !important;
    background: transparent !important;
    border-top: 0 !important;
    text-align: center !important;
}
.layui-layer.wb-layer-soft .layui-layer-btn a {
    height: 40px !important;
    line-height: 40px !important;
    margin: 0 6px !important;
    padding: 0 20px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #f1f5f9 !important;
    color: #334155 !important;
    font-weight: 600 !important;
}
.layui-layer.wb-layer-soft .layui-layer-btn .layui-layer-btn0 {
    background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
    color: #fff !important;
}
html.theme-dark .layui-layer.wb-layer-soft {
    background: rgba(17, 24, 39, .96) !important;
    border-color: rgba(255, 255, 255, .1) !important;
}
html.theme-dark .layui-layer.wb-layer-soft .layui-layer-title {
    color: #f8fafc !important;
}
html.theme-dark .layui-layer.wb-layer-soft .layui-layer-content {
    color: #cbd5e1;
}

/* 全局弹窗内选项按钮（禁言时长等） */
.wb-gd-pick__tip {
    margin: 0 0 12px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}
.wb-gd-pick {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 4px 8px;
}
.wb-gd-pick__btn {
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: #eff6ff;
    color: #1e80ff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.wb-gd-pick__btn:active {
    filter: brightness(.96);
}
.wb-gd-pick__btn.is-danger {
    background: #fff1f2;
    color: #e11d48;
}
html.theme-dark .wb-gd-pick__tip { color: #94a3b8; }
html.theme-dark .wb-gd-pick__btn {
    background: rgba(59, 130, 246, .16);
    color: #93c5fd;
}
html.theme-dark .wb-gd-pick__btn.is-danger {
    background: rgba(225, 29, 72, .16);
    color: #fda4af;
}

/* 暗色模式分页 */
ul.myui-page > li > a.btn {
    -webkit-tap-highlight-color: rgba(99, 102, 241, 0.22);
}
html.theme-dark ul.myui-page > li > a.btn.btn-default:active,
html.theme-dark ul.myui-page > li > a.btn:not(.btn-warm):active {
    background: rgba(255, 255, 255, 0.10) !important;
    color: #f8fafc !important;
    border-color: rgba(147, 197, 253, 0.35) !important;
    box-shadow: none !important;
}
html.theme-dark ul.myui-page > li > a.btn.btn-warm:active {
    filter: brightness(1.05) !important;
    box-shadow: none !important;
}

/* 分页紧凑兜底 */
.wb-page-nav{
    width:100%;
    max-width:100%;
    overflow:hidden;
    box-sizing:border-box;
}
.wb-page-nav ul.myui-page > li > a.btn {
    min-height: 30px !important;
    height: 30px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    box-shadow: none !important;
}
.wb-page-nav ul.myui-page > li > a.btn-warm {
    background: var(--wb-app-primary, #2563eb) !important;
    color: #fff !important;
    border-color: transparent !important;
}
@media (max-width:767px){
    .wb-page-nav ul.myui-page > li.hidden-xs{
        display:none!important;
    }
    .wb-page-nav ul.myui-page > li.wb-page-nav__edge{
        display:flex!important;
    }
    .wb-page-nav ul.myui-page > li.visible-xs.wb-page-nav__status{
        display:flex!important;
    }
}

/* 片库筛选：内联兜底（防 CSS 缓存未更新时呈裸文字） */
.wb-vod-filter__opt,
.wb-vod-filter__sort-item{
    display:inline-flex;
    align-items:center;
    text-decoration:none!important;
}
.wb-vod-filter__opt{
    min-height:26px;
    padding:0 9px;
    font-size:12px;
    border-radius:6px;
    background:var(--wb-app-card-soft,rgba(15,23,42,.04));
    border:1px solid transparent;
}
.wb-vod-filter__opt.is-on{
    color:var(--wb-app-primary,#2563eb)!important;
    background:rgba(37,99,235,.10);
    border:1px solid rgba(37,99,235,.32);
    font-weight:400;
}
.wb-vod-filter__sort-item{
    height:24px;
    padding:0 10px;
    font-size:11px;
    border-radius:999px;
}
.wb-vod-filter__sort-item.is-on{
    color:#fff!important;
    background:var(--wb-app-primary,#2563eb);
    font-weight:400;
}

/* 看过状态兜底 */
body:not(.wb-uc) ul.myui-vodlist .myui-vodlist__box.is-last-clicked .myui-vodlist__thumb::after{
    content:'✓ 看过';
    position:absolute;
    top:6px;
    right:6px;
    z-index:6;
    height:21px;
    padding:0 8px;
    border:1px solid rgba(255,255,255,.9);
    border-radius:999px;
    font-size:11px;
    font-weight:700;
    line-height:19px;
    color:#fff;
    background:linear-gradient(135deg,#2563eb 0%,#06b6d4 100%);
    box-shadow:0 2px 7px rgba(37,99,235,.42);
    pointer-events:none;
}
body:not(.wb-uc) ul.myui-vodlist .myui-vodlist__box.is-last-clicked .myui-vodlist__detail .title a{
    color:inherit!important;
    font-weight:inherit!important;
    opacity:.72;
}

/* 播放页 brief 内联评分：星星必须横排（覆盖全局 #rating） */
body.wb-video-play .wb-play-brief__meta-rating{
    display:inline-flex!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    gap:4px!important;
    white-space:nowrap!important;
}
body.wb-video-play .wb-play-brief__meta-rating #rating,
body.wb-video-play .wb-play-brief__meta-rating .wb-play-meta__score{
    display:inline-flex!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    padding:0!important;
    margin:0!important;
    background:none!important;
    border-radius:0!important;
}
body.wb-video-play .wb-play-brief__meta-rating ul.rating,
body.wb-video-play .wb-play-brief__meta-rating ul.wb-play-inline-stars{
    display:inline-block!important;
    flex:none!important;
    white-space:nowrap!important;
    font-size:0!important;
    line-height:1!important;
    gap:0!important;
    margin:0!important;
    padding:0!important;
    list-style:none!important;
    width:auto!important;
    max-width:none!important;
    vertical-align:middle!important;
}
body.wb-video-play .wb-play-brief__meta-rating ul.rating>li,
body.wb-video-play .wb-play-brief__meta-rating ul.wb-play-inline-stars>li{
    display:inline-block!important;
    float:none!important;
    flex:none!important;
    width:auto!important;
    max-width:none!important;
    margin:0 1px 0 0!important;
    padding:0!important;
    line-height:1!important;
    font-size:10px!important;
    vertical-align:middle!important;
}
body.wb-video-play .wb-play-brief__meta-rating .branch,
body.wb-video-play .wb-play-brief__meta-rating .wb-play-meta__ratewords{
    display:inline!important;
    white-space:nowrap!important;
}

/* PC 鼠标悬停：影片标题 / 分区「更多」/ 分类链接变色 */
@media (hover: hover) and (pointer: fine) {
    .wb-vod-card__title a:hover,
    .myui-vodlist__detail .title.wb-vod-card__title a:hover,
    .myui-vodlist__detail .title a:hover,
    .wb-vod-card:hover .wb-vod-card__title a,
    .wb-vod-card:hover .myui-vodlist__detail .title a {
        color: var(--wb-accent, #2563eb) !important;
    }
    .wb-vod-card__meta a:hover,
    .myui-vodlist__detail .text a:hover {
        color: var(--wb-accent, #2563eb) !important;
    }
    .myui-panel__head > a.more:hover,
    .myui-panel__head .text-muted.more:hover,
    body.wb-video-home .myui-panel__head > a.more:hover,
    body.wb-video-home .myui-panel__head > .more:hover {
        color: var(--wb-accent, #2563eb) !important;
    }
    .wb-vod-card:hover .wb-vod-card__thumb .lazyload,
    .wb-vod-card:hover .myui-vodlist__thumb {
        filter: brightness(1.04);
    }
    html.theme-dark .wb-vod-card__title a:hover,
    html.theme-dark .myui-vodlist__detail .title.wb-vod-card__title a:hover,
    html.theme-dark .myui-vodlist__detail .title a:hover,
    html.theme-dark .wb-vod-card:hover .wb-vod-card__title a,
    html.theme-dark .wb-vod-card:hover .myui-vodlist__detail .title a,
    html.theme-dark .wb-vod-card__meta a:hover,
    html.theme-dark .myui-panel__head > a.more:hover,
    html.theme-dark body.wb-video-home .myui-panel__head > a.more:hover {
        color: #60a5fa !important;
    }
}


/* compact UI: no glow on home sort tabs / side auth buttons */
body.wb-video-home .wb-home-channel-head__sort .wb-vod-filter__sort-item,
body.wb-video-home .wb-home-channel-head__sort .wb-vod-filter__sort-item.is-on,
body.wb-video-home .wb-home-subcategories__item,
body.wb-video-home .wb-home-subcategories__item.is-active,
.category-actions .btn,
.category-actions .btn.btn-primary,
.category-actions .btn.btn-default,
.wb-side-nav__icon {
    box-shadow: none !important;
}

/* 发现页 iframe 内嵌：隐藏站点壳 */
html.wb-embed-frame body .myui-header__top,
html.wb-embed-frame body .wb-header-tv,
html.wb-embed-frame body .wb-statusbar,
html.wb-embed-frame body .wb-bottom-tabbar,
html.wb-embed-frame body .myui-nav__tabbar,
html.wb-embed-frame body .wb-native-tabbar,
html.wb-embed-frame body .wb-co-publish-fab,
body.wb-embed-frame .myui-header__top,
body.wb-embed-frame .wb-header-tv,
body.wb-embed-frame .wb-statusbar,
body.wb-embed-frame .wb-bottom-tabbar,
body.wb-embed-frame .myui-nav__tabbar,
body.wb-embed-frame .wb-native-tabbar,
body.wb-embed-frame .wb-co-publish-fab{
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
html.wb-embed-frame body,
body.wb-embed-frame{
  --wb-tabbar-height: 0px !important;
  --myui-header-height: 0px !important;
  --top-floating-ad-height: 0px !important;
  --bottom-floating-ad-height: 0px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* ========== 播放页选集：强制左对齐网格 + 折叠（压过旧 float/clearfix） ========== */
html body.wb-video-play .wb-playlist,
html body.wb-video-detail .wb-playlist{
  margin: 4px 0 2px !important;
  padding: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
html body.wb-video-play .wb-playlist__head,
html body.wb-video-detail .wb-playlist__head{
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  padding: 0 0 6px !important;
  margin: 0 !important;
}
html body.wb-video-play .wb-playlist__head-main,
html body.wb-video-detail .wb-playlist__head-main{
  display: flex !important;
  align-items: baseline !important;
  gap: 6px !important;
  min-width: 0 !important;
}
html body.wb-video-play .wb-playlist__title,
html body.wb-video-detail .wb-playlist__title{
  margin: 0 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}
html body.wb-video-play .wb-playlist__count,
html body.wb-video-detail .wb-playlist__count{
  font-size: 12px !important;
  font-weight: 400 !important;
  color: var(--wb-app-muted, #94a3b8) !important;
}
html body.wb-video-play .wb-playlist__head-actions,
html body.wb-video-detail .wb-playlist__head-actions{
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  flex-shrink: 0 !important;
}
html body.wb-video-play .wb-playlist__sort,
html body.wb-video-detail .wb-playlist__sort{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 4px 8px !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: transparent !important;
  color: var(--wb-app-muted, #64748b) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  width: auto !important;
}

html body.wb-video-play .wb-playlist__body,
html body.wb-video-detail .wb-playlist__body,
html body.wb-video-play .wb-playlist__pane,
html body.wb-video-detail .wb-playlist__pane{
  display: block !important;
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
html body.wb-video-play .wb-playlist__body:before,
html body.wb-video-play .wb-playlist__body:after,
html body.wb-video-play .wb-playlist__pane:before,
html body.wb-video-play .wb-playlist__pane:after,
html body.wb-video-play .wb-playlist__eps:before,
html body.wb-video-play .wb-playlist__eps:after,
html body.wb-video-detail .wb-playlist__body:before,
html body.wb-video-detail .wb-playlist__body:after,
html body.wb-video-detail .wb-playlist__pane:before,
html body.wb-video-detail .wb-playlist__pane:after,
html body.wb-video-detail .wb-playlist__eps:before,
html body.wb-video-detail .wb-playlist__eps:after{
  content: none !important;
  display: none !important;
}

html body.wb-video-play ul.wb-playlist__eps,
html body.wb-video-detail ul.wb-playlist__eps{
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
html body.wb-video-play ul.wb-playlist__eps > li,
html body.wb-video-detail ul.wb-playlist__eps > li{
  float: none !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: none !important;
  display: block !important;
  box-sizing: border-box !important;
}
html body.wb-video-play .wb-playlist__ep,
html body.wb-video-detail .wb-playlist__ep{
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
  width: 100% !important;
  height: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
  padding: 0 2px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: rgba(15, 23, 42, 0.045) !important;
  color: #475569 !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
}
html body.wb-video-play .wb-playlist__ep.is-active,
html body.wb-video-detail .wb-playlist__ep.is-active{
  border: 0 !important;
  background: rgba(37, 99, 235, 0.12) !important;
  color: var(--wb-app-primary, #2563eb) !important;
  font-weight: 400 !important;
}
/* 第 8 格：展开（更醒目） */
html body.wb-video-play .wb-playlist__ep--more,
html body.wb-video-detail .wb-playlist__ep--more{
  background: rgba(37, 99, 235, 0.14) !important;
  color: var(--wb-app-primary, #2563eb) !important;
  font-weight: 500 !important;
  gap: 3px !important;
}
html body.wb-video-play .wb-playlist__ep--more .fa,
html body.wb-video-detail .wb-playlist__ep--more .fa{
  font-size: 13px !important;
  line-height: 1 !important;
}
html body.wb-video-play .wb-playlist__ep--less,
html body.wb-video-detail .wb-playlist__ep--less{
  background: rgba(15, 23, 42, 0.06) !important;
  color: #64748b !important;
  font-weight: 400 !important;
  gap: 3px !important;
}
html.theme-dark body.wb-video-play .wb-playlist__ep,
html.theme-dark body.wb-video-detail .wb-playlist__ep{
  background: rgba(148, 163, 184, 0.12) !important;
  color: #cbd5e1 !important;
}
html.theme-dark body.wb-video-play .wb-playlist__ep.is-active,
html.theme-dark body.wb-video-detail .wb-playlist__ep.is-active{
  background: rgba(37, 99, 235, 0.22) !important;
  color: #93c5fd !important;
}
html.theme-dark body.wb-video-play .wb-playlist__ep--more,
html.theme-dark body.wb-video-detail .wb-playlist__ep--more{
  background: rgba(37, 99, 235, 0.28) !important;
  color: #93c5fd !important;
}
html.theme-dark body.wb-video-play .wb-playlist__ep--less,
html.theme-dark body.wb-video-detail .wb-playlist__ep--less{
  background: rgba(148, 163, 184, 0.14) !important;
  color: #94a3b8 !important;
}

/* 折叠：默认 7 集 + 第 8 格展开；展开后显示全部，末尾收起 */
html body.wb-video-play .wb-playlist--foldable:not(.is-expanded) .wb-playlist__ep-item.is-fold-hide,
html body.wb-video-detail .wb-playlist--foldable:not(.is-expanded) .wb-playlist__ep-item.is-fold-hide,
html body.wb-video-play .wb-playlist--foldable:not(.is-expanded) .wb-playlist__less-item,
html body.wb-video-detail .wb-playlist--foldable:not(.is-expanded) .wb-playlist__less-item{
  display: none !important;
}
html body.wb-video-play .wb-playlist--foldable.is-expanded .wb-playlist__more-item,
html body.wb-video-detail .wb-playlist--foldable.is-expanded .wb-playlist__more-item{
  display: none !important;
}
html body.wb-video-play .wb-playlist--foldable.is-expanded .wb-playlist__ep-item.is-fold-hide,
html body.wb-video-detail .wb-playlist--foldable.is-expanded .wb-playlist__ep-item.is-fold-hide{
  display: block !important;
}
@media (min-width: 768px){
  html body.wb-video-play ul.wb-playlist__eps,
  html body.wb-video-detail ul.wb-playlist__eps{
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  }
}

/* 影视播放页「猜你喜欢」：跟随竖版海报（覆盖 body.layout-wide / 默认横图） */
html body.wb-film-play .wb-vod-like-block ul.myui-vodlist.wb-layout-poster > li{
  width: 33.3333% !important;
  max-width: 33.3333% !important;
  flex: 0 0 33.3333% !important;
  float: left !important;
  box-sizing: border-box !important;
}
html body.wb-film-play .wb-vod-like-block ul.myui-vodlist.wb-layout-poster .myui-vodlist__thumb{
  padding-top: 140% !important;
}
html body.wb-film-play .wb-vod-like-block ul.myui-vodlist.wb-layout-poster .myui-vodlist__detail .text{
  display: none !important;
}
@media (min-width: 768px){
  html body.wb-film-play .wb-vod-like-block ul.myui-vodlist.wb-layout-poster > li{
    width: 33.3333% !important;
    max-width: 33.3333% !important;
    flex: 0 0 33.3333% !important;
  }
}
@media (max-width: 767px){
  html body.wb-film-play .wb-vod-like-block ul.myui-vodlist.wb-layout-poster > li,
  html body.wb-film-play.wb-video-play .wb-vod-like-block ul.myui-vodlist.wb-layout-poster > li,
  html body.wb-film-play.wb-video-detail .wb-vod-like-block ul.myui-vodlist.wb-layout-poster > li{
    width: 33.3333% !important;
    max-width: 33.3333% !important;
    flex: 0 0 33.3333% !important;
  }
}

/* 影视搜索页：竖版海报 + 手机 3 列 */
body.wb-film-search ul.myui-vodlist.wb-layout-poster > li{
  width: 33.3333% !important;
  max-width: 33.3333% !important;
  flex: 0 0 33.3333% !important;
  float: left !important;
  box-sizing: border-box !important;
}
body.wb-film-search ul.myui-vodlist.wb-layout-poster .myui-vodlist__thumb,
body.wb-film-search .wb-search-skeleton__thumb{
  padding-top: 140% !important;
  aspect-ratio: auto !important;
}
body.wb-film-search ul.myui-vodlist.wb-layout-poster .myui-vodlist__detail .text{
  display: none !important;
}
@media (min-width: 768px){
  body.wb-film-search ul.myui-vodlist.wb-layout-poster > li{
    width: 33.3333% !important;
    max-width: 33.3333% !important;
    flex: 0 0 33.3333% !important;
  }
}

/* 首页首屏以下分类分区：浏览器可跳过屏外绘制 */
#wb-home-sections-lazy {
  content-visibility: auto;
  contain-intrinsic-size: 1px 640px;
}

/* 首页 / 会员中心三卡片：玻璃拟态 + 饱和渐变 */
.wb-glass-trio{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:6px;
  margin:8px 0 10px;
  padding:0;
}
.wb-glass-card{
  position:relative;
  overflow:hidden;
  isolation:isolate;
  display:block;
  min-height:52px;
  min-width:0;
  padding:8px 10px 7px;
  border-radius:12px;
  text-decoration:none!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.32)!important;
  box-shadow:
    0 8px 16px rgba(15,23,42,.12),
    inset 0 1px 0 rgba(255,255,255,.42);
  box-sizing:border-box;
  outline:0;
  transform:translateZ(0);
}
.wb-glass-card::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:
    radial-gradient(120% 90% at 8% -30%, rgba(255,255,255,.42), transparent 52%),
    radial-gradient(90% 80% at 108% 120%, rgba(15,23,42,.16), transparent 48%);
}
.wb-glass-card::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.95) 1.15px, transparent 1.55px),
    radial-gradient(circle, rgba(255,255,255,.75) .9px, transparent 1.3px),
    radial-gradient(circle, rgba(255,255,255,.88) 1px, transparent 1.4px);
  background-size:7px 7px, 5px 5px, 6px 6px;
  background-position:78% 16%, 18% 58%, 90% 72%;
  background-repeat:no-repeat;
  opacity:.9;
}
.wb-glass-card > i{
  position:absolute;
  right:-4px;
  bottom:-8px;
  z-index:0;
  font-size:32px;
  line-height:1;
  color:#fff!important;
  opacity:.28;
  pointer-events:none;
}
.wb-glass-card > b{
  position:relative;
  z-index:2;
  display:block;
  min-width:0;
  font-size:13px;
  font-weight:800;
  line-height:1.2;
  color:#fff;
  letter-spacing:.02em;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.wb-glass-card > span:not(.wb-uc-notify-badge):not(.wb-uc-task-dot){
  position:relative;
  z-index:2;
  display:block;
  margin-top:3px;
  min-width:0;
  padding-right:22px;
  font-size:10px;
  line-height:1.2;
  color:rgba(255,255,255,.86);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.wb-glass-card--signin{
  background:linear-gradient(145deg,#4f46e5 0%,#6366f1 42%,#a78bfa 100%)!important;
}
.wb-glass-card--task{
  background:linear-gradient(145deg,#0f766e 0%,#14b8a6 48%,#5eead4 100%)!important;
}
.wb-glass-card--community{
  background:linear-gradient(145deg,#7c3aed 0%,#c084fc 50%,#f0abfc 100%)!important;
}
.wb-glass-card--promote{
  background:linear-gradient(145deg,#ea580c 0%,#f97316 46%,#fb7185 100%)!important;
}
.wb-glass-card:active{
  transform:scale(.985);
}
html.theme-dark .wb-glass-card{
  box-shadow:
    0 8px 16px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.28);
}
@media (max-width:400px){
  .wb-glass-trio{gap:5px;margin:6px 0 8px}
  .wb-glass-card{min-height:48px;padding:7px 8px 6px;border-radius:10px}
  .wb-glass-card > i{font-size:28px;right:-6px;bottom:-10px}
  .wb-glass-card > b{font-size:12px}
  .wb-glass-card > span:not(.wb-uc-notify-badge):not(.wb-uc-task-dot){font-size:9px}
}

