@import url(common.css);
/* =====================================================================
   视频占位体系（.vid-ph）— 全站统一：黄底墨黑三角播放钮（自 index.html L168-200 完整版引入）
   ===================================================================== */
.vid-ph {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--color-dark-ink);
}

.vid-ph__bg {
    position: absolute;
    inset: 0;
    background: var(--color-dark-blue);
    transition: transform .6s ease;
}

.vid-ph--ink .vid-ph__bg {
    background: var(--color-dark-ink);
}

.vid-ph--cool .vid-ph__bg {
    background: var(--color-brand-blue);
}

.vid-ph--deep .vid-ph__bg {
    background: var(--color-brand-blue-deep);
}

.vid-ph--warm .vid-ph__bg {
    background: var(--color-brand-yellow);
}

.vid-ph__grid {
    position: absolute;
    inset: 0;
    opacity: .10;
    background-image: linear-gradient(rgba(255, 255, 255, .6) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .6) 1px, transparent 1px);
    background-size: 44px 44px;
}

.vid-ph__shimmer {
    position: absolute;
    inset: 0;
    opacity: 0;
    background: radial-gradient(120% 80% at 30% 20%, rgba(255, 255, 255, .18), transparent 60%);
    transition: opacity .4s ease;
}

.vid-ph.is-playing .vid-ph__shimmer {
    opacity: 1;
    animation: kenburns 9s ease-in-out infinite alternate;
}

.vid-ph.is-playing .vid-ph__bg {
    animation: kenburns 12s ease-in-out infinite alternate;
}

@keyframes kenburns {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.08) translate(-2%, -2%);
    }
}

/* 播放钮：黄底墨黑三角（暖黄底改白底墨黑三角，避免同色边界消失） */
.vid-ph__play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-brand-yellow);
    display: grid;
    place-items: center;
    transform: translate(-50%, -50%);
    transition: transform .2s ease, background .2s ease;
    box-shadow: var(--shadow-card);
    z-index: 2;
}

.vid-ph__play svg {
    width: 20px;
    height: 20px;
    fill: var(--color-on-yellow);
    margin-left: 3px;
}

.vid-ph.is-playing .vid-ph__play {
    opacity: 0;
    transform: translate(-50%, -50%) scale(.6);
}

.vid-ph--warm .vid-ph__play {
    background: var(--color-white);
}

.vid-ph--warm .vid-ph__play svg {
    fill: var(--color-ink);
}

.vid-ph__pill {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(10, 10, 10, .7);
    color: #fff;
    font-size: .6875rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    z-index: 3;
    letter-spacing: .02em;
}

.vid-ph__tag {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: #fff;
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .04em;
    z-index: 3;
    opacity: .9;
    background: rgba(10, 10, 10, .6);
    padding: 2px 8px;
    border-radius: var(--radius-pill);
}

/* 视频卡（.vcard 自 index.html L201-211 引入 · 复用类名） */
.vcard {
    position: relative;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
    cursor: pointer;
}

.vcard:hover {
    box-shadow: var(--shadow-float);
    border-color: var(--color-brand-yellow);
}

.vcard__media {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.vcard__media .vid-ph__bg {
    transition: transform .4s ease;
}

.vcard:hover .vid-ph__bg {
    transform: scale(1.04);
}

.vcard:hover .vid-ph__play {
    transform: translate(-50%, -50%) scale(1.08);
}

.vcard__body {
    padding: 12px 16px;
}

.vcard__body h4 {
    margin-bottom: 4px;
}

.vcard__body .small {
    color: var(--color-text-secondary);
}

/* ---------- ② 分类筛选条 .tsecnav（pill 为筛选按钮 · 含计数角标） ---------- */

.tsecnav__pill.icon01 {
    background: url(../img/ykybs_icon01.png) no-repeat left center;
}

.tsecnav__pill.icon02 {
    background: url(../img/ykybs_icon02.png) no-repeat left center;
}
.tsecnav__pill.icon03 {
    background: url(../img/ykybs_icon03.png) no-repeat left center;
}
.tsecnav__pill.icon04 {
    background: url(../img/ykybs_icon04.png) no-repeat left center;
}
.tsecnav__pill.icon05 {
    background: url(../img/ykybs_icon05.png) no-repeat left center;
}
.tsecnav__pill.icon06 {
    background: url(../img/ykybs_icon06.png) no-repeat left center;
}

.tsecnav__pill.icon01:hover {
    background: url(../img/ykybs_icon01_h.png) no-repeat left center ;
}

.tsecnav__pill.icon02:hover {
    background: url(../img/ykybs_icon02_h.png) no-repeat left center ;
}
.tsecnav__pill.icon03:hover {
    background: url(../img/ykybs_icon03_h.png) no-repeat left center ;
}
.tsecnav__pill.icon04:hover {
    background: url(../img/ykybs_icon04_h.png) no-repeat left center ;
}
.tsecnav__pill.icon05:hover {
    background: url(../img/ykybs_icon05_h.png) no-repeat left center ;
}
.tsecnav__pill.icon06:hover {
    background: url(../img/ykybs_icon06_h.png) no-repeat left center ;
}

.tsecnav__pill.icon01.is-active {
    background: url(../img/ykybs_icon01_h.png) no-repeat left center ;
}

.tsecnav__pill.icon02.is-active {
    background: url(../img/ykybs_icon02_h.png) no-repeat left center ;
}
.tsecnav__pill.icon03.is-active {
    background: url(../img/ykybs_icon03_h.png) no-repeat left center ;
}
.tsecnav__pill.icon04.is-active {
    background: url(../img/ykybs_icon04_h.png) no-repeat left center ;
}
.tsecnav__pill.icon05.is-active {
    background: url(../img/ykybs_icon05_h.png) no-repeat left center ;
}
.tsecnav__pill.icon06.is-active {
    background: url(../img/ykybs_icon06_h.png) no-repeat left center ;
}

@media(min-width:1024px) {
    .tsecnav {
        position: sticky;
        top: 64px;
        z-index: var(--z-dropdown);
        box-shadow: var(--shadow-card);
    }
}

/* ---------- ②′ 计数角标（pill 内 · 激活态反转为墨黑底黄字） ---------- */
.tsecnav__badge {
    display: inline-grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: var(--radius-pill);
    background: var(--color-bg-soft);
    color: var(--color-text-secondary);
    font-family: var(--font-number);
    font-weight: 800;
    font-size: .72rem;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    transition: background .18s ease, color .18s ease;
}

.tsecnav__pill.is-active .tsecnav__badge {
    background: var(--color-ink);
    color: var(--color-brand-yellow);
}

/* 移动端 <768：pill 条横向滚动、不换行、隐藏滚动条；按钮不压缩 */
@media(max-width:767px) {
    .tsecnav .container {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: var(--space-4);
    }

    .tsecnav .container::-webkit-scrollbar {
        display: none;
    }

    .tsecnav__pill {
        flex: 0 0 auto;
    }
}


/* =====================================================================
   艺考演播室二级页 · 追加组件样式（仅引用 :root 既有令牌，零新增色值/字体）
   类前缀：.slist / .swall / .swall .vcard 覆盖；.vcard/.vid-ph/.vcard__* 复用视频中心
   ===================================================================== */

/* ---------- ③ 短视频网格区 .slist（白底 · 容器 1200 由 .container 承当） ---------- */
.slist {
    background: var(--color-white);
    padding-block: var(--space-4) var(--space-8);
}

.slist[id] {
    scroll-margin-top: 150px;
}

/* 避让吸顶 pill */
@media(min-width:1024px) {
    .slist {
        padding-block: var(--space-6) var(--space-9);
    }
}

@media(max-width:1023px) {
    .slist[id] {
        scroll-margin-top: 64px;
    }
}

/* 网格上方灰字占位注记 + 空态：与视频中心 .vlist__note/.vlist__empty 同款，直接复用 */
.vlist__note {
    margin-bottom: var(--space-4);
    font-size: .75rem;
    line-height: 1.5;
    color: var(--color-text-secondary);
    letter-spacing: .02em;
}

/* P2-a 占位注记灰字 tertiary→secondary（达 AA，与资讯/视频页同款一致） */
.vlist__empty {
    display: none;
    margin: var(--space-4) auto var(--space-6);
    padding: var(--space-7) var(--space-5);
    text-align: center;
    color: var(--color-text-secondary);
    font-size: .9375rem;
    background: var(--color-bg-soft);
    border: 1px dashed var(--color-border);
    border-radius: var(--radius-card);
}

.vlist__empty.is-show {
    display: block;
}

/* ---------- ④ 竖卡瀑布网格 .swall（5 列 9:16 · 移动优先 2 列 → 平板 3 列 → 桌面 5 列） ---------- */
.swall {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
    min-width: 0;
}

/* <480 2 列 gap12 */
@media(min-width:480px) {
    .swall {
        gap: var(--space-4);
    }
}

/* 480-767 2 列 gap16 */
@media(min-width:768px) {
    .swall {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* 平板 3 列 */
@media(min-width:1024px) {
    .swall {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: var(--space-5);
    }
}

/* 桌面 5 列 gap24 */

/* ---------- 卡 = 复用 .vcard 后 .swall 作用域覆盖（等高分列 + 上浮 + 9:16 封面） ---------- */
.swall .vcard {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.swall .vcard:hover {
    transform: translateY(-3px);
}

/* 键盘可及 / focus-visible（复用值 rgba(30,64,175,.35) 现成） */
.vcard:focus-visible {
    outline: 3px solid rgba(30, 64, 175, .35);
    outline-offset: 2px;
}

/* 封面：16:9 → 9:16 竖版（本页灵魂 · 不截断） */
.swall .vcard__media {
    aspect-ratio: 54/72;
}

/* 时长角标：左→右下（同视频中心 .vgrid 位移） */
.swall .vid-ph__pill {
    top: auto;
    right: 10px;
    bottom: 10px;
    left: auto;
}

/* 中央播放钮：44px 适配窄卡 · 默认低透明常显 → hover 完整 */
.swall .vid-ph__play {
    width: 44px;
    height: 44px;
    opacity: .85;
    transform: translate(-50%, -50%) scale(.92);
}

.swall .vid-ph__play svg {
    width: 17px;
    height: 17px;
    margin-left: 2px;
}

.swall .vcard:hover .vid-ph__play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.08);
}

/* body：窄卡收紧 padding · tag + 标题(2行截断) + 日期(底部对齐) */
.swall .vcard__body {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding: 12px 12px 14px;
    flex: 1 1 auto;
    min-width: 0;
}

.swall .vcard__body h4 {
    margin-bottom: 0;
}

/* 分类 tag：浅蓝底深蓝字（视频中心 .vcard__tag 现成 · 引入即可） */
.vcard__tag {
    display: inline-flex;
    align-self: flex-start;
    white-space: nowrap;
    padding: 2px 10px;
    border-radius: var(--radius-pill);
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.6;
    color: var(--color-brand-blue-deep);
    background: var(--color-brand-blue-light);
}

/* 标题：竖卡窄 → 卡内降为 .875rem(14px) 2 行截断；title 属性兜底。
   ⚠ 本规则放在媒体查询之后（.swall 两选择器特异性 0,2,0 恒胜视频中心 .vcard__title 的 1rem 跃升） */
.swall .vcard__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .875rem;
    line-height: 1.45;
    color: var(--color-text-heading);
    min-width: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 日期：.num 灰字(AA) · margin-top:auto 底部对齐 · 行高收紧防竖卡过高 */
.vcard__date {
    font-family: var(--font-number);
    font-size: .75rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-text-secondary);
    font-variant-numeric: tabular-nums;
    margin-top: auto;
    padding-top: 2px;
}

/* ---------- ⑥ CTA 收口 .tpage-cta（中性浅灰卡 · 黄主按钮点缀） ---------- */
.tpage-cta {
    padding-block: var(--space-5) var(--space-8);
}

@media(min-width:1024px) {
    .tpage-cta {
        padding-block: var(--space-6) var(--space-9);
    }
}

.tpage-cta__card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4) var(--space-5);
    background: var(--color-bg-soft);
    border-radius: var(--radius-card);
    padding: var(--space-5) var(--space-6);
}

@media(min-width:1024px) {
    .tpage-cta__card {
        padding: var(--space-6) var(--space-7);
    }
}

.tpage-cta__card h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--color-text-heading);
    font-size: 1.375rem;
    line-height: 1.3;
}

.tpage-cta__card p {
    margin-top: var(--space-2);
    color: var(--color-text-primary);
    font-size: .9375rem;
}

.tpage-cta__card .btn {
    flex: 0 0 auto;
}


/* =====================================================================
   竖屏灯箱 .lightbox--vertical（页面级 modifier · 9:16 竖媒体 · max-height 兜底）
   ===================================================================== */
.lightbox--vertical .lightbox__box {
    width: auto;
    max-width: min(88vw, 560px);
}

.lightbox--vertical .lightbox__media {
    aspect-ratio: 9/16;
    height: min(74vh, 860px);
    width: auto;
    margin-inline: auto;
}

.lightbox--vertical .lightbox__cap {
    padding: 14px 20px 18px;
}