:root {
    /* Waixing-001 幽碧星痕 · 外星影视（深空等离子） */
    --wx-gold: #c81e9e;              /* 主色：等离子洋红 */
    --wx-gold-deep: #8a1170;        /* 深洋红 */
    --wx-gold-soft: rgba(200, 30, 158, 0.12);
    --wx-amber: #12b5cf;            /* 强调：星尘青 */
    --wx-plasma: #c81e9e;           /* 别名·等离子 */
    --wx-cyan: #12b5cf;             /* 别名·星尘青 */
    --wx-orbit: conic-gradient(from 0deg, #c81e9e, #12b5cf, #6f43d6, #c81e9e);
    --wx-bg: #ecebf6;              /* 月面紫灰底 */
    --wx-surface: #ffffff;
    --wx-surface-2: #eef0fb;        /* 星云淡染 */
    --wx-text: #161326;            /* 深空墨 */
    --wx-muted: #6a6885;
    --wx-line: rgba(24, 18, 52, 0.1);
    --wx-shadow: 0 16px 40px rgba(120, 30, 158, 0.14);
    --wx-radius: 10px;
    --wx-shell: min(1480px, calc(100vw - 48px));
}

html.theme-black {
    --wx-gold: #f24fc0;             /* 暗色提亮等离子 */
    --wx-gold-deep: #c81e9e;
    --wx-gold-soft: rgba(242, 79, 192, 0.16);
    --wx-amber: #38dbea;            /* 暗色提亮星尘青 */
    --wx-plasma: #f24fc0;
    --wx-cyan: #38dbea;
    --wx-orbit: conic-gradient(from 0deg, #f24fc0, #38dbea, #8b5cf6, #f24fc0);
    --wx-bg: #090618;              /* 幽空紫黑 */
    --wx-surface: #13102a;
    --wx-surface-2: #1c1740;
    --wx-text: #ecebff;            /* 星光字 */
    --wx-muted: #9a93c6;
    --wx-line: rgba(200, 180, 255, 0.14);
    --wx-shadow: 0 18px 46px rgba(0, 0, 0, 0.42);
}

html,
body {
    min-height: 100%;
    max-width: 100%;
    overflow-x: hidden;
    background: var(--wx-bg);
    color: var(--wx-text);
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}
body.wx-drawer-open {
    overflow: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.wx-page * { box-sizing: border-box; }
.wx-main,
.wx-player-main,
.wx-header__inner,
.wx-footer__inner,
.wx-mobile__top {
    width: var(--wx-shell);
    margin: 0 auto;
}

.wx-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(236, 235, 246, 0.94);
    border-bottom: 1px solid var(--wx-line);
    backdrop-filter: blur(18px);
}
html.theme-black .wx-header { background: rgba(9, 6, 24, 0.94); }
.wx-header__inner {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 64px;
}
.wx-brand,
.wx-mobile__brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: 0;
}
.wx-brand__mark,
.wx-mobile__brand-mark {
    position: relative;
    display: block;
    width: min(220px, 30vw);
    height: 42px;
    overflow: hidden;
}
.wx-brand img,
.wx-mobile__brand img {
    position: absolute;
    left: 0;
    top: 50%;
    display: block;
    max-height: 32px;
    max-width: 100%;
    width: auto;
    transform: translateY(-50%);
}
.wx-brand__dark,
.wx-mobile__brand .wx-brand__dark {
    opacity: 1;
    visibility: visible;
}
.wx-brand__light,
.wx-mobile__brand .wx-brand__light,
html.theme-black .wx-brand__dark,
html.theme-black .wx-mobile__brand .wx-brand__dark {
    opacity: 0;
    visibility: hidden;
}
html.theme-black .wx-brand__light,
html.theme-black .wx-mobile__brand .wx-brand__light {
    opacity: 1;
    visibility: visible;
}
.wx-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}
.wx-nav__item {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    color: var(--wx-muted);
    font-size: 14px;
    white-space: nowrap;
}
.wx-nav__item:hover,
.wx-nav__item.is-current {
    color: var(--wx-gold);
    background: var(--wx-gold-soft);
}
.wx-search {
    display: flex;
    align-items: center;
    width: min(360px, 28vw);
    height: 40px;
    padding: 0 6px 0 14px;
    border: 1px solid var(--wx-line);
    border-radius: 999px;
    background: var(--wx-surface);
}
.wx-search__icon { color: var(--wx-muted); margin-right: 8px; }
.wx-search__input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--wx-text);
    font-size: 14px;
}
.wx-search__button,
.wx-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid var(--wx-line);
    border-radius: 999px;
    background: var(--wx-surface);
    color: var(--wx-text);
    cursor: pointer;
}
.wx-search__button,
.wx-button--primary {
    border-color: transparent;
    background: var(--wx-gold);
    color: #fff;
}
.wx-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}
.wx-theme-stack {
    position: relative;
    display: inline-flex;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
}
.wx-theme-stack .wx-action {
    position: absolute;
    inset: 0;
}
.wx-theme-stack .wx-action.hide {
    display: none !important;
}
.wx-action,
.wx-menu-button,
.wx-footer__tool {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--wx-line);
    border-radius: 999px;
    background: var(--wx-surface);
    color: var(--wx-muted);
    cursor: pointer;
}
.wx-action:hover,
.wx-footer__tool:hover { color: var(--wx-gold); }
.wx-mobile { display: none; }
.wx-drawer {
    position: fixed;
    inset: 0;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.wx-drawer.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.wx-drawer__mask {
    position: absolute;
    inset: 0;
    background: rgba(3, 11, 25, 0.72);
}
.wx-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(380px, 86vw);
    height: 100%;
    padding: 18px;
    background: var(--wx-surface);
    border-left: 1px solid var(--wx-line);
    box-shadow: var(--wx-shadow);
    transform: translateX(100%);
    transition: transform .24s ease;
    overflow-y: auto;
}
.wx-drawer.is-open .wx-drawer__panel { transform: translateX(0); }
.wx-drawer__head,
.wx-block-head,
.wx-catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.wx-drawer__head button {
    border: 0;
    background: transparent;
    color: var(--wx-text);
    cursor: pointer;
}
.wx-drawer__grid,
.wx-drawer__tools {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}
.wx-drawer__grid a,
.wx-drawer__tools a,
.wx-drawer__tools button {
    padding: 11px 12px;
    border: 1px solid var(--wx-line);
    border-radius: var(--wx-radius);
    background: var(--wx-surface-2);
    color: var(--wx-text);
}

.wx-main { padding: 18px 0 34px; }
.wx-panel,
.wx-shelf,
.wx-search-summary,
.wx-rank-board {
    margin-top: 16px;
    padding: 18px;
    border: 1px solid var(--wx-line);
    border-radius: var(--wx-radius);
    background: var(--wx-surface);
    box-shadow: var(--wx-shadow);
}
.wx-block-head { margin-bottom: 14px; }
.wx-block-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.wx-block-title i {
    color: var(--wx-gold);
}
.wx-block-more {
    color: var(--wx-muted);
    font-size: 13px;
}
.wx-block-head h2,
.wx-block-title h2,
.wx-catalog-toolbar h1,
.wx-catalog-toolbar h2,
.wx-search-summary h1 {
    margin: 0;
    font-size: 22px;
    line-height: 1.25;
}
.wx-block-head a,
.wx-block-head span,
.wx-catalog-toolbar span {
    color: var(--wx-muted);
    font-size: 13px;
}
.wx-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--wx-gold-soft);
    color: var(--wx-gold);
    font-size: 12px;
}

.wx-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 16px;
}
.wx-hero__slides {
    position: relative;
    min-height: 430px;
    border-radius: var(--wx-radius);
    overflow: hidden;
    background: #0a0716;
    box-shadow: var(--wx-shadow);
}
.wx-hero__slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42%;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
}
.wx-hero__slide.is-active {
    opacity: 1;
    pointer-events: auto;
}
/* 轮播切换控件 */
.wx-hero__arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    background: rgba(9, 6, 24, .38);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    transition: opacity .25s ease, background .25s ease, border-color .25s ease;
}
.wx-hero__arrow--prev { left: 16px; }
.wx-hero__arrow--next { right: 16px; }
.wx-hero__slides:hover .wx-hero__arrow,
.wx-hero__arrow:focus-visible { opacity: 1; }
.wx-hero__arrow:hover {
    background: rgba(200, 30, 158, .55);
    border-color: var(--wx-plasma);
}
.wx-hero__arrow .iconfont { line-height: 1; }
.wx-hero__dots {
    position: absolute;
    z-index: 3;
    right: 22px;
    bottom: 22px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.wx-hero__dot {
    width: 26px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .35);
    cursor: pointer;
    transition: width .25s ease, background .25s ease;
}
.wx-hero__dot:hover { background: rgba(255, 255, 255, .6); }
.wx-hero__dot.is-active {
    width: 40px;
    background: var(--wx-plasma);
    box-shadow: 0 0 10px rgba(200, 30, 158, .5);
}
@media (max-width: 820px) {
    .wx-hero__arrow { display: none; }
    .wx-hero__dots { right: 14px; bottom: 14px; }
    .wx-hero__dot { width: 18px; }
    .wx-hero__dot.is-active { width: 28px; }
}
.wx-hero__media {
    position: absolute;
    inset: 0;
}
.wx-hero__media:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(3, 10, 24, .82) 0%, rgba(3, 10, 24, .45) 48%, rgba(3, 10, 24, .06) 100%);
}
.wx-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.wx-hero__copy {
    position: relative;
    z-index: 1;
    align-self: end;
    max-width: 560px;
    padding: 34px;
    color: #fff;
}
.wx-hero__copy h1 {
    margin: 0 0 12px;
    font-size: 36px;
    line-height: 1.15;
}
.wx-hero__copy h1,
.wx-hero__copy h1 a {
    color: #fff !important;
}
.wx-hero__copy p {
    margin: 0 0 16px;
    max-width: 520px;
    color: rgba(255,255,255,.8);
    line-height: 1.8;
}
.wx-hero__meta,
.wx-detail-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}
.wx-hero__meta strong,
.wx-detail-meta strong {
    color: var(--wx-amber);
    font-size: 22px;
}
.wx-hero__meta span,
.wx-detail-meta span {
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    color: inherit;
    font-size: 12px;
}
.wx-hero__rank {
    padding: 18px;
    border: 1px solid var(--wx-line);
    border-radius: var(--wx-radius);
    background: var(--wx-surface);
    box-shadow: var(--wx-shadow);
}
.wx-hero__rank ol,
.wx-mini-rank ol,
.wx-rank-card ol {
    margin: 0;
    padding: 0;
    list-style: none;
}
.wx-hero__rank li + li,
.wx-mini-rank li + li,
.wx-rank-card li + li { margin-top: 10px; }
.wx-hero__rank li a,
.wx-rank-card li a {
    display: grid;
    grid-template-columns: 28px 52px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
}
.wx-rank-index {
    color: var(--wx-gold);
    font-weight: 700;
}
.wx-rank-thumb {
    width: 52px;
    aspect-ratio: 16 / 10;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
}
.wx-rank-text,
.wx-rank-card li a strong,
.wx-mini-rank li a strong {
    min-width: 0;
}
.wx-rank-text strong,
.wx-rank-card strong,
.wx-mini-rank strong {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 14px;
}
.wx-rank-text em,
.wx-rank-card em,
.wx-mini-rank em {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--wx-muted);
    font-size: 12px;
    font-style: normal;
}
.wx-rank-page .wx-rank-text em,
.wx-rank-page .wx-rank-card em {
    overflow: visible;
    white-space: normal;
    text-overflow: clip;
    line-height: 1.45;
}

.wx-channel-rail {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
}
.wx-channel-rail a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 116px;
    padding: 12px 14px;
    border: 1px solid var(--wx-line);
    border-radius: var(--wx-radius);
    background: var(--wx-surface);
    box-shadow: var(--wx-shadow);
    white-space: nowrap;
}
.wx-channel-rail i { color: var(--wx-gold); }

.wx-card-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.wx-shelf__viewport { overflow: hidden; }
.wx-card-grid--rail {
    display: flex;
    transition: transform .28s ease;
}
.wx-card-grid--rail .wx-vod-card {
    flex: 0 0 calc((100% - 70px) / 6);
}
.wx-vod-card {
    position: relative;
    z-index: 0;
    min-width: 0;
}
/* 签名：边框流光（conic 渐变绕海报边缘流动，mask 挖空仅留描边环） */
@property --wx-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes wx-border-flow { to { --wx-angle: 360deg; } }
.wx-vod-card__poster::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
    padding: 1.5px;
    background: conic-gradient(from var(--wx-angle), transparent 0 50%, var(--wx-cyan) 68%, var(--wx-plasma) 84%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}
.wx-vod-card:hover .wx-vod-card__poster::before {
    opacity: 1;
    animation: wx-border-flow 2.6s linear infinite;
}
.wx-vod-card__poster {
    position: relative;
    z-index: 1;
    display: block;
    aspect-ratio: 2 / 3;
    border-radius: var(--wx-radius);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-color: var(--wx-surface-2);
    box-shadow: inset 0 0 0 1px var(--wx-line), 0 0 0 1px rgba(18, 181, 207, 0.14);
    transition: filter .25s ease, box-shadow .25s ease;
}
.wx-vod-card:hover .wx-vod-card__poster {
    filter: saturate(1.08) brightness(1.04);
    box-shadow: inset 0 0 0 1px var(--wx-line), 0 0 0 1px var(--wx-cyan), 0 0 18px rgba(18, 181, 207, 0.3);
}
.wx-vod-card__poster:after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 46%;
    background: linear-gradient(transparent, rgba(9, 6, 24, .72));
}
.wx-vod-card__badge {
    position: absolute;
    z-index: 1;
    left: 8px;
    bottom: 8px;
    max-width: calc(100% - 16px);
    padding: 3px 9px;
    border-radius: 4px;
    background: rgba(9, 6, 24, .68);
    color: var(--wx-cyan);
    font-size: 12px;
}
.wx-vod-card__score {
    position: absolute;
    z-index: 1;
    top: 8px;
    left: 8px;
    min-width: 34px;
    padding: 2px 10px;
    text-align: center;
    background: var(--wx-plasma);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    clip-path: polygon(22% 0, 78% 0, 100% 50%, 78% 100%, 22% 100%, 0 50%);
}
.wx-vod-card__play {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: rgba(9, 6, 24, .5);
    border: 1px solid var(--wx-plasma);
    color: #fff;
    opacity: 0;
    transform: translate(-50%, -50%) scale(.72);
    transition: opacity .22s ease, transform .22s ease;
    box-shadow: 0 0 20px rgba(200, 30, 158, .45);
}
.wx-vod-card:hover .wx-vod-card__play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.wx-vod-card__title {
    margin: 8px 0 3px;
    font-size: 15px;
    line-height: 1.35;
}
.wx-vod-card__title a,
.wx-vod-card__meta {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.wx-vod-card__title a {
    transition: color .2s ease, text-shadow .2s ease;
}
.wx-vod-card:hover .wx-vod-card__title a {
    color: var(--wx-plasma);
    text-shadow: 0 0 12px rgba(200, 30, 158, .4);
}
.wx-vod-card__meta {
    margin: 0;
    color: var(--wx-muted);
    font-size: 12px;
}
@keyframes wx-orbit-spin {
    to { transform: rotate(360deg); }
}

.wx-shelf__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 18px;
}
.wx-mini-rank {
    padding: 14px;
    border-radius: var(--wx-radius);
    background: var(--wx-surface-2);
}
.wx-mini-rank h3 { margin: 0 0 12px; font-size: 16px; }
.wx-mini-rank li a {
    display: grid;
    grid-template-columns: 24px 58px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
}
.wx-mini-rank__index {
    color: var(--wx-gold);
    font-weight: 800;
    text-align: center;
}
.wx-mini-rank__thumb {
    width: 58px;
    aspect-ratio: 16 / 10;
    border-radius: 6px;
    background-color: var(--wx-surface);
    background-position: center;
    background-size: cover;
}
.wx-mini-rank__text {
    min-width: 0;
}
.wx-channel-head {
    display: grid;
    grid-template-columns: minmax(96px, 18%) minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 44px;
}
.wx-channel-head__title {
    min-width: 96px;
    flex: 0 0 auto;
}
.wx-channel-head__title h2 {
    margin: 0;
    white-space: nowrap;
}
.wx-channel-head__links {
    min-width: 0;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}
.wx-channel-head__links::-webkit-scrollbar {
    display: none;
}
.wx-channel-head__links a {
    flex: 0 0 auto;
}
.wx-tagline {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
}
.wx-tagline a { color: var(--wx-muted); font-size: 13px; white-space: nowrap; }
.wx-tagline a.is-current,
.wx-tagline a.active,
.wx-tagline a:hover {
    color: var(--wx-gold);
}
.wx-panel .vodlist,
.wx-panel .artlist,
.wx-panel .topiclist,
.wx-panel .actor_vlist,
.wx-panel .ranklist {
    margin: 0;
    padding: 0;
    list-style: none;
}
.wx-panel .page,
.wx-panel .mac_pages,
.wx-panel .pagination {
    margin-top: 18px;
}
.wx-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding-top: 4px;
}
.wx-pagination a,
.wx-pagination__info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 36px;
    padding: 0 13px;
    border: 1px solid var(--wx-line);
    border-radius: 999px;
    background: var(--wx-surface);
    color: var(--wx-muted);
    font-size: 14px;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(120, 30, 158, 0.06);
    white-space: nowrap;
}
.wx-pagination a.is-current {
    border-color: rgba(200,30,158,.32);
    background: rgba(200,30,158,.16);
    color: var(--wx-gold);
    font-weight: 700;
}
.wx-pagination a.is-disabled {
    opacity: .42;
    pointer-events: none;
    box-shadow: none;
}
.wx-pagination__info {
    display: none;
}

.wx-channel-hero,
.wx-detail-hero,
.wx-player-stage {
    padding: 18px;
    border-radius: var(--wx-radius);
    background: var(--wx-surface);
    border: 1px solid var(--wx-line);
    box-shadow: var(--wx-shadow);
}
.wx-channel-hero__copy h1,
.wx-detail-hero h1 {
    margin: 0 0 10px;
    font-size: 30px;
}
.wx-channel-hero__copy p,
.wx-search-summary p,
.wx-detail-blurb {
    margin: 0;
    color: var(--wx-muted);
    line-height: 1.75;
}
.wx-catalog-toolbar {
    margin-bottom: 14px;
}
.wx-catalog-toolbar div {
    display: inline-flex;
    gap: 8px;
}
.wx-catalog-toolbar a {
    padding: 7px 12px;
    border-radius: 999px;
    color: var(--wx-muted);
}
.wx-catalog-toolbar a.is-current {
    background: var(--wx-gold-soft);
    color: var(--wx-gold);
}
.wx-filter__toggle {
    display: none;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--wx-line);
    border-radius: var(--wx-radius);
    background: var(--wx-surface-2);
    color: var(--wx-text);
}
.wx-filter__row {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid var(--wx-line);
}
.wx-filter__row:last-child { border-bottom: 0; }
.wx-filter__row strong {
    color: var(--wx-text);
    font-size: 14px;
}
.wx-filter__options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.wx-filter__options a {
    padding: 5px 10px;
    border-radius: 999px;
    color: var(--wx-muted);
    font-size: 13px;
}
.wx-filter__options a.is-current,
.wx-filter__options a:hover {
    background: var(--wx-gold-soft);
    color: var(--wx-gold);
}
.wx-empty {
    padding: 24px;
    text-align: center;
    color: var(--wx-muted);
}
.wx-map-page .ranklist_txt .title {
    color: var(--wx-text);
    transition: color .2s ease;
}
.wx-map-page .ranklist_item a:hover .title {
    color: var(--wx-gold);
}
.wx-map-page .ranklist_txt .vod_tname {
    color: var(--wx-gold);
}
.wx-map-page .ranklist_txt .vod_tname em {
    color: #5fe3f0;
    font-style: normal;
}

.wx-detail-hero {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    align-items: start;
    gap: 18px;
}
.wx-detail-hero__poster {
    width: 180px;
    max-width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: var(--wx-radius);
    background-size: cover;
    background-position: center;
}
.wx-detail-hero__side {
    display: none;
}
.wx-detail-hero__body {
    min-width: 0;
}
.wx-detail-meta span {
    background: var(--wx-surface-2);
    color: var(--wx-muted);
}
.wx-detail-facts {
    display: grid;
    gap: 8px;
    margin: 0 0 12px;
}
.wx-detail-facts--desktop {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
}
.wx-detail-facts--mobile {
    grid-template-columns: 1fr;
}
.wx-detail-facts div {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 6px;
}
.wx-detail-facts--mobile div {
    grid-template-columns: 42px minmax(0, 1fr);
}
.wx-detail-facts dt {
    color: var(--wx-muted);
}
.wx-detail-facts dd {
    margin: 0;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.wx-detail-facts--mobile dd {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    white-space: normal;
    line-height: 1.35;
}
.wx-detail-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}
.wx-episode-group + .wx-episode-group,
.wx-third-party + .wx-episode-group { margin-top: 18px; }
.wx-episode-group h3,
.wx-third-party h3 { margin: 0 0 10px; font-size: 16px; }
.wx-episode-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.wx-episode-grid.content_playlist {
    height: auto !important;
    max-height: none;
    overflow: visible;
    overflow-x: visible;
    overflow-y: visible;
    white-space: normal;
}
.wx-episode-grid::before,
.wx-episode-grid::after {
    display: none;
    content: none;
}
.wx-episode-grid li {
    display: block;
    float: none;
    width: auto;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    padding: 0;
}
.wx-episode-grid li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    min-height: 30px;
    padding: 0 10px;
    border-radius: var(--wx-radius);
    background: var(--wx-surface-2);
    color: var(--wx-text);
    font-size: 13px;
    line-height: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.wx-episode-grid li.active a,
.wx-episode-grid li a:hover {
    background: var(--wx-gold);
    color: #fff;
}
.wx-detail-content {
    color: var(--wx-muted);
    line-height: 1.9;
}
.wx-comment-panel {
    width: var(--wx-shell);
    max-width: var(--wx-shell);
    margin-left: auto;
    margin-right: auto;
}
.wx-comment-panel .mac_comment,
.wx-comment-panel .comm_list,
.wx-comment-panel .comm_list_box,
.wx-comment-panel form,
.wx-comment-panel .input_wrap,
.wx-comment-panel .comment_form,
.wx-comment-panel .comment_content {
    width: 100%;
    max-width: none;
}
.wx-comment-panel textarea,
.wx-comment-panel input[type="text"] {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}
.wx-comment-panel .input_wrap .comment_content {
    width: 100%;
    max-width: none;
}
.wx-third-party__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.wx-third-party__card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--wx-line);
    border-radius: var(--wx-radius);
    background: var(--wx-surface-2);
}
.wx-third-party__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--wx-radius);
    background: var(--wx-surface);
    color: var(--wx-gold);
    font-size: 12px;
    overflow: hidden;
}
.wx-third-party__logo img {
    max-width: 100%;
    max-height: 100%;
}
.wx-third-party__card strong,
.wx-third-party__card em {
    display: block;
}
.wx-third-party__card em {
    color: var(--wx-muted);
    font-size: 12px;
    font-style: normal;
}
.wx-third-party-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(6, 14, 30, .56);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.wx-third-party-modal.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.wx-third-party-modal__card {
    width: min(440px, 100%);
    padding: 22px;
    border-radius: var(--wx-radius);
    background: var(--wx-surface);
}
.wx-third-party-modal__actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}
.third-party-play-hero {
    position: relative;
    display: flex;
    align-items: stretch;
    min-height: 360px;
    border-radius: var(--wx-radius);
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(200,30,158,.18), transparent 38%),
        linear-gradient(135deg, #1a1130 0%, #090618 100%);
    color: #f5f7ff;
}
.third-party-play-hero__poster,
.third-party-play-hero__overlay {
    position: absolute;
    inset: 0;
}
.third-party-play-hero__poster {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transform: scale(1.03);
    opacity: .24;
}
.third-party-play-hero__overlay {
    background: linear-gradient(90deg, rgba(5, 10, 18, .92) 0%, rgba(5, 10, 18, .72) 42%, rgba(5, 10, 18, .86) 100%);
}
.third-party-play-hero__card {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    width: min(760px, 100%);
    padding: 36px 40px;
}
.third-party-play-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(200,30,158,.14);
    color: #5fe3f0;
    font-size: 13px;
    letter-spacing: .06em;
}
.third-party-play-hero__title {
    margin: 0;
    font-size: 31px;
    line-height: 1.28;
    color: #fff;
}
.third-party-play-hero__title span {
    color: #5fe3f0;
}
.third-party-play-hero__desc,
.third-party-play-hero__hint {
    margin: 0;
    max-width: 56ch;
    color: rgba(235, 242, 255, .82);
    font-size: 15px;
    line-height: 1.85;
}
.third-party-play-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.third-party-play-hero__pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    color: #fff;
    font-size: 13px;
}
.third-party-play-hero__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 2px;
}
.third-party-play-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, #c81e9e 0%, #12b5cf 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 18px 36px rgba(162, 104, 19, .32);
}
.third-party-play-hero__button:hover {
    color: #fff;
    transform: translateY(-1px);
}

.wx-player-main {
    padding: 16px 0 34px;
}
.wx-player-stage {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(240px, 1fr);
    gap: 18px;
    align-items: stretch;
    background: #0a0716;
    color: #fff;
}
.wx-player-stage__video {
    min-width: 0;
}
.wx-player-stage .player_video {
    overflow: hidden;
    border-radius: var(--wx-radius);
    background: #000;
}
.wx-player-stage .player_video_thirdparty {
    display: flex;
    min-height: clamp(320px, 31vw, 520px);
    padding-bottom: 0;
}
.player_video_thirdparty .third-party-play-hero {
    min-height: 100%;
    width: 100%;
}
.player_video_thirdparty .third-party-play-hero__card {
    margin: auto;
    text-align: left;
}
.wx-player-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.wx-player-actions a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.86);
}
.wx-player-aside {
    min-width: 0;
    padding: 16px;
    border-radius: var(--wx-radius);
    background: rgba(255,255,255,.06);
}
.wx-player-aside h1 {
    margin: 0 0 8px;
    font-size: 22px;
}
.wx-player-aside p {
    margin: 0 0 16px;
    color: rgba(255,255,255,.68);
}
.wx-player-related {
    display: grid;
    gap: 12px;
}
.wx-player-related__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}
.wx-player-related__head h2 {
    margin: 0;
    font-size: 17px;
    color: #fff;
}
.wx-player-related__head span {
    color: rgba(255,255,255,.48);
    font-size: 12px;
    white-space: nowrap;
}
.wx-player-related__list {
    display: grid;
    gap: 10px;
    max-height: clamp(300px, 29vw, 470px);
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.22) transparent;
}
.wx-player-related__list::-webkit-scrollbar {
    width: 6px;
}
.wx-player-related__list::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255,255,255,.22);
}
.wx-player-related__item {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-width: 0;
    padding: 8px;
    border-radius: var(--wx-radius);
    background: rgba(255,255,255,.05);
    transition: background .18s ease, transform .18s ease;
}
.wx-player-related__item:hover {
    background: rgba(255,255,255,.1);
    color: #fff;
    transform: translateY(-1px);
}
.wx-player-related__thumb {
    display: block;
    width: 82px;
    aspect-ratio: 16 / 10;
    border-radius: 6px;
    background-color: rgba(255,255,255,.1);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.wx-player-related__text {
    display: grid;
    gap: 6px;
    min-width: 0;
}
.wx-player-related__text strong,
.wx-player-related__text em {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.wx-player-related__text strong {
    color: rgba(255,255,255,.9);
    font-size: 14px;
    font-weight: 600;
}
.wx-player-related__text em {
    color: rgba(255,255,255,.52);
    font-size: 12px;
    font-style: normal;
}
.wx-play-page .wx-panel {
    width: var(--wx-shell);
    margin-left: auto;
    margin-right: auto;
}

.wx-rank-board__tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}
.wx-rank-board__tabs button {
    padding: 8px 14px;
    border: 1px solid var(--wx-line);
    border-radius: 999px;
    background: var(--wx-surface-2);
    color: var(--wx-text);
    cursor: pointer;
}
.wx-rank-board__tabs button.is-current {
    border-color: transparent;
    background: var(--wx-gold);
    color: #fff;
}
.wx-rank-board__panel {
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.wx-rank-board__panel.is-current {
    display: grid;
}
.wx-rank-card {
    padding: 14px;
    border: 1px solid var(--wx-line);
    border-radius: var(--wx-radius);
    background: var(--wx-surface-2);
}
.wx-rank-card h2 {
    margin: 0 0 12px;
    font-size: 18px;
}

/* 外星对接舱页脚：深空面板 + 地平辉光 beam + 舷窗品牌盘 + 六棱频道胶囊 + 右下推进器工具 */
.wx-footer {
    position: relative;
    margin-top: 30px;
    padding: 40px 0 30px;
    overflow: hidden;
    background: linear-gradient(180deg, #1a1130 0%, #0d0820 55%, #090618 100%);
    color: #cfc6ec;
    border-top: 0;
}
.wx-footer__beam {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--wx-plasma), var(--wx-cyan), transparent);
    opacity: .9;
}
.wx-footer::before {
    content: "";
    position: absolute;
    top: -120px;
    left: 50%;
    width: 720px;
    height: 260px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(200, 30, 158, .18), transparent 70%);
    pointer-events: none;
}
.wx-footer__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 26px;
    align-items: start;
}
.wx-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.wx-footer__porthole {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    background: rgba(9, 6, 24, .6);
    box-shadow: inset 0 0 0 1px rgba(56, 219, 234, .5), 0 0 22px rgba(56, 219, 234, .35);
    overflow: hidden;
}
.wx-footer__porthole::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 999px;
    border: 1px dashed rgba(242, 79, 192, .4);
    animation: wx-orbit-spin 9s linear infinite;
}
.wx-footer__porthole .iconfont {
    font-size: 24px;
    color: var(--wx-cyan);
    z-index: 1;
}
.wx-footer__text {
    margin: 0;
    max-width: 420px;
    color: #a89ec9;
    font-size: 13px;
    line-height: 1.9;
}
.wx-footer__heading {
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    color: #ecebff;
}
.wx-footer__heading::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 8px;
    vertical-align: middle;
    background: var(--wx-plasma);
    clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}
.wx-footer__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.wx-footer__chip {
    padding: 6px 16px;
    font-size: 13px;
    color: #c3b9e6;
    background: rgba(255, 255, 255, .04);
    clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
    transition: color .2s ease, background .2s ease;
}
.wx-footer__chip:hover {
    color: #090618;
    background: var(--wx-cyan);
}
.wx-footer__dock {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.wx-footer__copy,
.wx-footer__copy a {
    margin: 0;
    color: #a89ec9;
    font-size: 12px;
    line-height: 1.9;
}
.wx-footer__copy a:hover { color: var(--wx-cyan); }
.wx-footer__tools {
    display: flex;
    gap: 10px;
}
.wx-footer .wx-footer__tool {
    border-color: rgba(200, 180, 255, .28);
    background: rgba(255, 255, 255, .04);
    color: #c3b9e6;
    clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
    border-radius: 0;
}
.wx-footer .wx-footer__tool:hover { color: #090618; background: var(--wx-plasma); }
.wx-footer .wx-footer__tool--thrust:hover { background: var(--wx-cyan); }

@media (min-width: 1600px) {
    :root { --wx-shell: min(1560px, calc(100vw - 64px)); }
    .wx-card-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
}

@media (max-width: 1180px) {
    .wx-hero,
    .wx-player-stage {
        grid-template-columns: 1fr;
    }
    .wx-hero__rank {
        display: none;
    }
    .wx-card-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .wx-shelf__layout { grid-template-columns: 1fr; }
    .wx-mini-rank { display: none; }
}

@media (min-width: 821px) and (max-width: 1180px) {
    .wx-shelf--channel .wx-card-grid .wx-vod-card:nth-child(n+11) {
        display: none;
    }
}

@media (min-width: 1181px) and (max-width: 1599px) {
    .wx-shelf--channel .wx-card-grid .wx-vod-card:nth-child(n+13) {
        display: none;
    }
}

@media (max-width: 820px) {
    :root { --wx-shell: calc(100vw - 20px); }
    .hidden_xs,
    .hidden_mi { display: none !important; }
    .show-mobile { display: block !important; }
    .wx-header__inner { display: none; }
    .wx-mobile {
        display: block;
        padding: 0;
    }
    .wx-mobile__top {
        display: flex;
        align-items: center;
        gap: 8px;
        min-height: 48px;
        min-width: 0;
    }
    .wx-mobile__brand {
        flex: 0 1 auto;
        min-width: 0;
    }
    .wx-mobile__brand-mark {
        display: grid;
        width: auto;
        max-width: 34vw;
        height: 34px;
    }
    .wx-mobile__brand img {
        position: static;
        grid-area: 1 / 1;
        max-height: 28px;
        max-width: 100%;
        object-fit: contain;
        transform: none;
    }
    .wx-mobile__search {
        display: flex;
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        align-items: center;
        gap: 6px;
        height: 38px;
        padding: 0 5px 0 10px;
        border: 1px solid var(--wx-line);
        border-radius: 999px;
        background: var(--wx-surface);
    }
    .wx-mobile__search input {
        flex: 1;
        min-width: 0;
        border: 0;
        outline: 0;
        background: transparent;
        color: var(--wx-text);
    }
    .wx-mobile__search button {
        flex: 0 0 auto;
        min-width: 48px;
        height: 28px;
        padding: 0 10px;
        border: 0;
        border-radius: 999px;
        background: var(--wx-gold);
        color: #fff;
    }
    .wx-main,
    .wx-player-main { padding-top: 10px; }
    .wx-hero__slides {
        min-height: 360px;
    }
    .wx-hero__slide {
        display: block;
    }
    .wx-hero__copy {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 22px;
    }
    .wx-hero__copy h1 {
        font-size: 26px;
    }
    .wx-hero__copy p {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .wx-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }
    .wx-rank-board__panel {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .wx-card-grid--rail {
        overflow-x: auto;
        transform: none !important;
    }
    .wx-card-grid--rail .wx-vod-card {
        flex: 0 0 32%;
    }
    .wx-channel-hero,
    .wx-detail-hero,
    .wx-player-stage {
        grid-template-columns: 1fr;
        padding: 14px;
    }
    .wx-detail-hero {
        grid-template-columns: minmax(116px, 42%) minmax(0, 1fr);
    }
    .wx-detail-hero__poster { width: 100%; }
    .wx-detail-hero__body { grid-column: 1 / -1; }
    .wx-detail-facts--desktop { display: none; }
    .wx-detail-hero__side {
        display: block;
        align-self: start;
        padding: 0;
        min-width: 0;
    }
    .wx-detail-hero h1,
    .wx-channel-hero__copy h1 {
        font-size: 22px;
    }
    .wx-channel-head {
        grid-template-columns: minmax(72px, 24%) minmax(0, 1fr);
        gap: 10px;
        min-height: 48px;
    }
    .wx-channel-head__title {
        min-width: 72px;
    }
    .wx-channel-head__title h2 {
        font-size: 20px;
        white-space: normal;
        line-height: 1.2;
        word-break: keep-all;
    }
    .wx-filter__toggle {
        display: block;
    }
    .wx-filter__body {
        display: block;
        max-height: 0;
        overflow: hidden;
        transition: max-height .22s ease;
    }
    .wx-filter.is-open .wx-filter__body {
        max-height: 72vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .wx-filter__row {
        grid-template-columns: 48px minmax(0, 1fr);
        align-items: center;
        gap: 10px;
        padding: 10px 0;
    }
    .wx-filter__options {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 2px 2px 4px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .wx-filter__options::-webkit-scrollbar {
        display: none;
    }
    .wx-filter__options a {
        flex: 0 0 auto;
        white-space: nowrap;
    }
    .wx-pagination {
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 7px;
        margin-top: 14px;
        padding: 2px 2px 4px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .wx-pagination::-webkit-scrollbar {
        display: none;
    }
    .wx-pagination a,
    .wx-pagination__info {
        flex: 0 0 auto;
        min-width: 34px;
        height: 34px;
        padding: 0 11px;
        font-size: 13px;
    }
    .wx-pagination__info {
        display: inline-flex;
        color: var(--wx-text);
        font-weight: 700;
    }
    .wx-pagination a:first-child,
    .wx-pagination a:last-child {
        display: none;
    }
    .wx-playlist-panel {
        padding: 12px;
    }
    .wx-episode-group + .wx-episode-group,
    .wx-third-party + .wx-episode-group {
        margin-top: 14px;
    }
    .wx-episode-group h3,
    .wx-third-party h3 {
        margin-bottom: 8px;
        font-size: 15px;
    }
    .wx-episode-grid {
        gap: 7px;
    }
    .wx-episode-grid.content_playlist {
        height: auto !important;
        overflow: visible;
        overflow-x: visible;
        overflow-y: visible;
        white-space: normal;
    }
    .wx-episode-grid li a {
        max-width: min(100%, calc(100vw - 48px));
        min-height: 30px;
        padding: 0 9px;
    }
    .wx-episode-grid li {
        display: block;
        width: auto;
        min-width: 0;
        max-width: 100%;
        padding: 0;
    }
    .wx-third-party__grid {
        grid-template-columns: 1fr;
    }
    .third-party-play-hero {
        min-height: 220px;
    }
    .third-party-play-hero__card {
        width: 100%;
        justify-content: flex-start;
        gap: 8px;
        padding: 12px 12px 10px;
    }
    .third-party-play-hero__eyebrow,
    .third-party-play-hero__desc,
    .third-party-play-hero__hint,
    .third-party-play-hero__meta {
        display: none;
    }
    .third-party-play-hero__title {
        font-size: 16px;
        line-height: 1.3;
    }
    .third-party-play-hero__actions {
        padding-top: 0;
    }
    .third-party-play-hero__button {
        width: 100%;
        min-height: 40px;
        padding: 0 16px;
        font-size: 13px;
        box-shadow: 0 12px 24px rgba(162, 104, 19, .24);
    }
    .wx-player-actions {
        gap: 6px;
        margin-top: 8px;
    }
    .wx-player-actions a {
        min-height: 30px;
        padding: 0 10px;
        font-size: 12px;
    }
    .wx-player-aside {
        display: none;
    }
    .wx-footer {
        padding: 32px 0 24px;
    }
    .wx-footer__inner {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .wx-footer__dock {
        gap: 12px;
    }
    .wx-footer__tools {
        justify-content: flex-start;
    }
}

@media (max-width: 520px) {
    .wx-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wx-card-grid--rail .wx-vod-card { flex-basis: 46%; }
    .wx-catalog-toolbar { align-items: flex-start; flex-direction: column; }
}

/* Article center */
.wx-art-page,
.wx-art-detail-page {
    min-height: 70vh;
    background: var(--wx-bg);
    color: var(--wx-text);
    font-size: 16px;
    line-height: 1.6;
}
.wx-art-page *,
.wx-art-detail-page * {
    box-sizing: border-box;
}
.wx-art-shell {
    width: var(--wx-shell);
    margin: 0 auto;
    padding: 20px 0 52px;
}
.wx-art-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 34px;
    margin-bottom: 20px;
    color: var(--wx-muted);
    font-size: 13px;
}
.wx-art-breadcrumb a:hover {
    color: var(--wx-gold);
}
.wx-art-breadcrumb strong {
    overflow: hidden;
    max-width: min(520px, 55vw);
    color: var(--wx-text);
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.wx-art-layout,
.wx-art-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 38px;
    align-items: start;
}
.wx-art-feed,
.wx-art-reading {
    min-width: 0;
}
.wx-art-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.wx-art-feed__head {
    display: grid;
    grid-template-columns: minmax(220px, 0.7fr) minmax(280px, 1fr);
    align-items: end;
    gap: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--wx-line);
}
.wx-art-feed__head span,
.wx-art-aside__section header span,
.wx-art-facts header span,
.wx-art-related > header span {
    display: block;
    margin-bottom: 5px;
    color: var(--wx-gold);
    font-size: 12px;
    font-weight: 700;
}
.wx-art-feed__head h1 {
    margin: 0;
    color: var(--wx-text);
    font-size: 32px;
    font-weight: 750;
    line-height: 1.2;
}
.wx-art-feed__head p {
    margin: 0;
    color: var(--wx-muted);
    font-size: 14px;
    line-height: 1.8;
}
.wx-art-channels {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 0 4px;
}
.wx-art-channels a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 13px;
    border: 1px solid var(--wx-line);
    border-radius: 999px;
    background: var(--wx-surface);
    color: var(--wx-muted);
    font-size: 13px;
}
.wx-art-channels a:hover,
.wx-art-channels a.is-current {
    border-color: var(--wx-gold);
    background: var(--wx-gold-soft);
    color: var(--wx-gold-deep);
}
.wx-art-stream {
    margin-top: 10px;
}
.wx-art-entry {
    display: grid;
    grid-template-columns: 238px minmax(0, 1fr);
    gap: 22px;
    min-height: 176px;
    padding: 24px 0;
    border-bottom: 1px solid var(--wx-line);
}
.wx-art-entry__media {
    position: relative;
    display: block;
    align-self: start;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 6px;
    background: var(--wx-surface-2);
}
.wx-art-entry__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .28s ease-out;
}
.wx-art-entry:hover .wx-art-entry__media img {
    transform: scale(1.035);
}
.wx-art-entry__media > span {
    position: absolute;
    left: 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
    padding: 4px 8px;
    overflow: hidden;
    border-radius: 4px;
    background: rgba(16, 24, 40, .78);
    color: #f8fafc;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.wx-art-entry__body {
    display: flex;
    min-width: 0;
    flex-direction: column;
}
.wx-art-entry__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--wx-muted);
    font-size: 12px;
}
.wx-art-entry__meta a {
    color: var(--wx-gold);
    font-weight: 650;
}
.wx-art-entry__meta time:before {
    content: "";
    display: inline-block;
    width: 3px;
    height: 3px;
    margin: 0 8px 2px 0;
    border-radius: 50%;
    background: var(--wx-muted);
}
.wx-art-entry h2 {
    margin: 9px 0 8px;
    color: var(--wx-text);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.42;
}
.wx-art-entry h2 a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.wx-art-entry h2 a:hover {
    color: var(--wx-gold-deep);
}
.wx-art-entry__body > p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--wx-muted);
    font-size: 14px;
    line-height: 1.75;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.wx-art-entry__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 10px;
    color: var(--wx-muted);
    font-size: 12px;
}
.wx-art-entry__foot a {
    color: var(--wx-gold);
    font-weight: 700;
}
.wx-art-entry__foot a:after {
    content: "›";
    margin-left: 5px;
}
.wx-art-aside,
.wx-art-detail-aside {
    position: sticky;
    top: 86px;
    display: grid;
    gap: 28px;
}
.wx-art-aside__section,
.wx-art-facts {
    padding-top: 16px;
    border-top: 2px solid var(--wx-text);
}
.wx-art-aside__section header,
.wx-art-facts header {
    margin-bottom: 14px;
}
.wx-art-aside__section h2,
.wx-art-facts h2,
.wx-art-related h2 {
    margin: 0;
    color: var(--wx-text);
    font-size: 20px;
    line-height: 1.3;
}
.wx-art-rank {
    margin: 0;
    padding: 0;
    list-style: none;
}
.wx-art-rank li + li {
    border-top: 1px solid var(--wx-line);
}
.wx-art-rank li a {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 9px;
    padding: 12px 0;
}
.wx-art-rank b {
    color: var(--wx-gold);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.4;
}
.wx-art-rank li:nth-child(n+4) b {
    color: var(--wx-muted);
}
.wx-art-rank li a > span {
    min-width: 0;
}
.wx-art-rank strong {
    display: -webkit-box;
    overflow: hidden;
    color: var(--wx-text);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.wx-art-rank a:hover strong {
    color: var(--wx-gold-deep);
}
.wx-art-rank time {
    display: block;
    margin-top: 3px;
    color: var(--wx-muted);
    font-size: 11px;
}
.wx-art-channel-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.wx-art-channel-list a {
    min-width: 0;
    padding: 10px 11px;
    border: 1px solid var(--wx-line);
    border-radius: 5px;
    background: var(--wx-surface);
}
.wx-art-channel-list a:hover,
.wx-art-channel-list a.is-current {
    border-color: var(--wx-gold);
    background: var(--wx-gold-soft);
}
.wx-art-channel-list strong,
.wx-art-channel-list span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.wx-art-channel-list strong {
    color: var(--wx-text);
    font-size: 13px;
}
.wx-art-channel-list span {
    margin-top: 2px;
    color: var(--wx-muted);
    font-size: 11px;
}
.wx-art-pagination {
    padding-top: 26px;
}
.wx-art-pagination .page {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
}
.wx-art-pagination .page li {
    float: none;
    margin: 0;
}
.wx-art-pagination .page li a,
.wx-art-pagination .page li .num,
.wx-art-pagination .page li .btns_disad {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--wx-line);
    border-radius: 5px;
    background: var(--wx-surface);
    color: var(--wx-text);
    font-size: 13px;
}
.wx-art-pagination .page li.active a {
    border-color: var(--wx-gold) !important;
    background: var(--wx-gold) !important;
    color: #fff !important;
}
.wx-art-pagination .page li a.btns_disad,
.wx-art-pagination .page li .btns_disad {
    opacity: .48;
    pointer-events: none;
}
.wx-art-pagination .page_tips {
    margin: 12px 0 0;
    color: var(--wx-muted);
    text-align: left;
    font-size: 12px;
}
.wx-art-pagination .page_tips span {
    color: inherit;
}

/* Article detail */
.wx-art-detail-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 46px;
}
.wx-art-reading {
    padding: 38px 44px 44px;
    border: 1px solid var(--wx-line);
    border-radius: var(--wx-radius);
    background: var(--wx-surface);
}
.wx-art-reading__head {
    padding-bottom: 26px;
    border-bottom: 1px solid var(--wx-line);
}
.wx-art-reading__category {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 4px;
    background: var(--wx-gold-soft);
    color: var(--wx-gold-deep);
    font-size: 12px;
    font-weight: 700;
}
.wx-art-reading__head h1 {
    margin: 16px 0 14px;
    color: var(--wx-text);
    font-size: 34px;
    font-weight: 760;
    line-height: 1.38;
    overflow-wrap: anywhere;
}
.wx-art-reading__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 16px;
    color: var(--wx-muted);
    font-size: 12px;
}
.wx-art-reading__lead {
    margin: 20px 0 0;
    padding: 16px 18px;
    border-left: 3px solid var(--wx-gold);
    background: var(--wx-surface-2);
    color: var(--wx-muted);
    font-size: 15px;
    line-height: 1.8;
}
.wx-art-reading__cover {
    margin: 28px 0 0;
    padding: 0;
    overflow: hidden;
    border-radius: 6px;
    background: var(--wx-surface-2);
    text-align: center;
}
.wx-art-reading__cover img {
    display: block;
    width: 100%;
    max-height: 600px;
    margin: 0 auto;
    object-fit: contain;
}
.wx-art-reading__content {
    padding: 32px 0 8px;
    color: var(--wx-text);
    font-size: 17px;
    line-height: 1.95;
    overflow-wrap: anywhere;
}
.wx-art-reading__content p {
    margin: 0 0 1.25em;
}
.wx-art-reading__content h2,
.wx-art-reading__content h3,
.wx-art-reading__content h4 {
    margin: 1.7em 0 .75em;
    color: var(--wx-text);
    line-height: 1.45;
}
.wx-art-reading__content h2 { font-size: 25px; }
.wx-art-reading__content h3 { font-size: 21px; }
.wx-art-reading__content h4 { font-size: 18px; }
.wx-art-reading__content img,
.wx-art-reading__content video,
.wx-art-reading__content iframe {
    max-width: 100% !important;
}
.wx-art-reading__content img {
    display: block;
    width: auto;
    height: auto !important;
    margin: 24px auto;
    border-radius: 4px;
}
.wx-art-reading__content a {
    color: var(--wx-gold-deep);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.wx-art-neighbor {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--wx-line);
}
.wx-art-neighbor > a,
.wx-art-neighbor > .is-disabled {
    display: block;
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--wx-line);
    border-radius: 5px;
    background: var(--wx-surface-2);
}
.wx-art-neighbor > :nth-child(2) {
    text-align: right;
}
.wx-art-neighbor span {
    display: block;
    margin-bottom: 4px;
    color: var(--wx-muted);
    font-size: 11px;
}
.wx-art-neighbor strong {
    display: block;
    overflow: hidden;
    color: var(--wx-text);
    font-size: 13px;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.wx-art-neighbor a:hover {
    border-color: var(--wx-gold);
}
.wx-art-neighbor .is-disabled {
    opacity: .55;
}
.wx-art-related {
    margin-top: 38px;
    padding-top: 22px;
    border-top: 2px solid var(--wx-text);
}
.wx-art-related > header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}
.wx-art-related > header > a {
    color: var(--wx-gold);
    font-size: 12px;
    font-weight: 700;
}
.wx-art-related__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
}
.wx-art-related__grid a {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 8px;
    padding: 13px 0;
    border-bottom: 1px solid var(--wx-line);
}
.wx-art-related__grid a > span {
    grid-row: span 2;
    color: var(--wx-gold);
    font-size: 15px;
    font-weight: 800;
}
.wx-art-related__grid strong {
    overflow: hidden;
    color: var(--wx-text);
    font-size: 13px;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.wx-art-related__grid time {
    color: var(--wx-muted);
    font-size: 11px;
}
.wx-art-facts dl {
    margin: 0;
}
.wx-art-facts dl > div {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 8px;
    padding: 11px 0;
    border-bottom: 1px solid var(--wx-line);
    font-size: 13px;
}
.wx-art-facts dt {
    color: var(--wx-muted);
}
.wx-art-facts dd {
    margin: 0;
    color: var(--wx-text);
    text-align: right;
}
.wx-art-facts dd a {
    color: var(--wx-gold-deep);
}

@media (max-width: 1080px) {
    .wx-art-layout,
    .wx-art-detail-layout {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 26px;
    }
    .wx-art-entry {
        grid-template-columns: 210px minmax(0, 1fr);
    }
    .wx-art-reading {
        padding: 32px;
    }
}

@media (max-width: 900px) {
    .wx-art-shell {
        width: min(100% - 30px, 760px);
        padding-top: 12px;
    }
    .wx-art-layout,
    .wx-art-detail-layout {
        grid-template-columns: 1fr;
    }
    .wx-art-aside,
    .wx-art-detail-aside {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
        margin-top: 10px;
    }
    .wx-art-feed__head {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

@media (max-width: 680px) {
    .wx-art-breadcrumb {
        margin-bottom: 14px;
    }
    .wx-art-feed__head h1 {
        font-size: 27px;
    }
    .wx-art-entry {
        grid-template-columns: 168px minmax(0, 1fr);
        gap: 15px;
        min-height: 132px;
        padding: 18px 0;
    }
    .wx-art-entry h2 {
        margin: 6px 0;
        font-size: 18px;
    }
    .wx-art-entry__body > p {
        -webkit-line-clamp: 1;
    }
    .wx-art-reading {
        padding: 24px;
    }
    .wx-art-reading__head h1 {
        font-size: 28px;
    }
    .wx-art-reading__content {
        font-size: 16px;
        line-height: 1.9;
    }
    .wx-art-related__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .wx-art-shell {
        width: calc(100% - 24px);
        padding-bottom: 36px;
    }
    .wx-art-channels {
        flex-wrap: nowrap;
        max-width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .wx-art-channels::-webkit-scrollbar {
        display: none;
    }
    .wx-art-channels a {
        flex: 0 0 auto;
    }
    .wx-art-entry {
        grid-template-columns: 122px minmax(0, 1fr);
        gap: 12px;
        min-height: 98px;
        padding: 15px 0;
    }
    .wx-art-entry__media {
        aspect-ratio: 4 / 3;
    }
    .wx-art-entry__media > span,
    .wx-art-entry__body > p,
    .wx-art-entry__foot > a {
        display: none;
    }
    .wx-art-entry__meta {
        gap: 6px;
    }
    .wx-art-entry__meta time:before {
        margin-right: 5px;
    }
    .wx-art-entry h2 {
        margin: 5px 0 2px;
        font-size: 16px;
        line-height: 1.42;
    }
    .wx-art-entry__foot {
        margin-top: 3px;
        padding-top: 0;
    }
    .wx-art-aside,
    .wx-art-detail-aside {
        grid-template-columns: 1fr;
    }
    .wx-art-pagination {
        max-width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .wx-art-pagination .page {
        flex-wrap: nowrap;
        width: max-content;
    }
    .wx-art-pagination .page_tips {
        display: none;
    }
    .wx-art-reading {
        padding: 20px 16px 24px;
    }
    .wx-art-reading__head h1 {
        font-size: 24px;
        line-height: 1.42;
    }
    .wx-art-reading__lead {
        padding: 13px;
    }
    .wx-art-reading__content {
        padding-top: 24px;
    }
    .wx-art-neighbor {
        grid-template-columns: 1fr;
    }
    .wx-art-neighbor > :nth-child(2) {
        text-align: left;
    }
}


/* WB-ART-INDENT-20260914 */
/* 资讯正文排版：每个段落首行缩进两个中文字符（2em 即两个汉字宽度） */
.wx-art-reading__content p {
    text-indent: 2em;
}
/* 纯媒体段落不缩进，避免图片/视频被右推 */
.wx-art-reading__content p:has(> img:only-child),
.wx-art-reading__content p:has(> a:only-child),
.wx-art-reading__content p:has(> iframe:only-child),
.wx-art-reading__content p:has(> video:only-child) {
    text-indent: 0;
}
