/* ==========================================================================
   555 仿站模板 - 响应式主样式 v3
   PC / 平板 / 手机共用一套，断点：1200 / 992 / 820 / 560
   ========================================================================== */

:root {
    --c-main: #22c55e;
    --c-main-d: #16a34a;
    --c-main-l: #f0fdf4;
    --c-grad: linear-gradient(135deg, #2fd06b 0%, #16a34a 100%);
    --c-bg: #f6f7f9;
    --c-card: #fff;
    --c-t1: #111827;
    --c-t2: #6b7280;
    --c-t3: #9ca3af;
    --c-line: #ebedf0;
    --radius: 10px;
    --radius-l: 14px;
    --shadow-s: 0 1px 2px rgba(16, 24, 40, .04), 0 1px 3px rgba(16, 24, 40, .06);
    --shadow-m: 0 4px 14px rgba(16, 24, 40, .08);
    --shadow-l: 0 14px 30px rgba(16, 24, 40, .16);
    --wrap: 1400px;
    --hd-h: 62px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font: 14px/1.6 -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--c-t1);
    background: var(--c-bg);
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
p {
    margin: 0;
}

img {
    display: block;
    max-width: 100%;
    border: 0;
}

button,
input {
    font: inherit;
    color: inherit;
}

/* ============================ 顶部导航 ============================ */

.hd {
    /* 跟随页面滚动，不做吸顶 */
    position: relative;
    z-index: 100;
    background: rgba(255, 255, 255, .88);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid rgba(17, 24, 39, .06);
}

.hd-in {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 20px;
    height: var(--hd-h);
    display: flex;
    align-items: center;
    gap: 20px;
}

.hd-logo {
    flex: 0 0 auto;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: .3px;
    background: var(--c-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hd-nav {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 2px;
    overflow: hidden;
}

.hd-nav-a {
    position: relative;
    padding: 7px 13px;
    border-radius: 8px;
    font-size: 15px;
    white-space: nowrap;
    transition: background .2s, color .2s;
}

.hd-nav-a::after {
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 3px;
    height: 2px;
    border-radius: 2px;
    background: var(--c-main);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .22s ease;
}

.hd-nav-a:hover {
    color: var(--c-main-d);
}

.hd-nav-a:hover::after {
    transform: scaleX(1);
}

.hd-nav-a.on {
    background: var(--c-grad);
    color: #fff;
    box-shadow: 0 3px 10px rgba(34, 197, 94, .32);
}

.hd-nav-a.on::after {
    display: none;
}

.hd-search {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    height: 38px;
    border: 1px solid var(--c-line);
    border-radius: 999px;
    overflow: hidden;
    background: #f7f8fa;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.hd-search:focus-within {
    background: #fff;
    border-color: var(--c-main);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, .14);
}

.hd-search-i {
    width: 180px;
    height: 100%;
    padding: 0 15px;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 14px;
}

.hd-search-b {
    height: 100%;
    padding: 0 17px;
    border: 0;
    background: var(--c-grad);
    color: #fff;
    font-size: 14px;
    white-space: nowrap;
    cursor: pointer;
}

.hd-search-b:hover {
    filter: brightness(1.05);
}

.hd-menu {
    display: none;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.hd-menu span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--c-t1);
    transition: transform .22s, opacity .22s;
}

.hd-menu.is-on span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.hd-menu.is-on span:nth-child(2) {
    opacity: 0;
}

.hd-menu.is-on span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* ============================ 主体容器 ============================ */

.main {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 20px 48px;
}

/* ============================ 轮播 ============================ */

.banner {
    position: relative;
    margin: 18px 0 0;
    border-radius: var(--radius-l);
    overflow: hidden;
    background: #e5e7eb;
    box-shadow: var(--shadow-m);
}

.banner-track {
    display: flex;
    transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}

.banner-i {
    flex: 0 0 100%;
    position: relative;
    display: block;
    aspect-ratio: 21 / 9;
    max-height: 520px;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-t {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 70px 28px 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .42) 48%, transparent 100%);
    color: #fff;
}

/* 首页 h1：视觉隐藏但保留给搜索引擎与读屏器（clip 方案，非 display:none） */
.sr-h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.banner-n {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -.3px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .45);
}

.banner-d {
    max-width: 62%;
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.7;
    opacity: .88;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.banner-dots {
    position: absolute;
    right: 22px;
    bottom: 18px;
    display: flex;
    gap: 7px;
}

.banner-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .45);
    cursor: pointer;
    transition: width .25s, background .25s, box-shadow .25s;
}

.banner-dot:hover {
    background: rgba(255, 255, 255, .8);
}

.banner-dot.on {
    width: 22px;
    background: #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, .55);
}

/* ============================ 区块 ============================ */

.sec {
    margin-top: 32px;
}

.sec-hd {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.sec-t {
    position: relative;
    padding-left: 14px;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -.2px;
}

/* h1 复用 .sec-t 时抹掉浏览器默认外边距，避免版式位移 */
h1.sec-t {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
}

.sec-t::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    border-radius: 3px;
    background: var(--c-grad);
    box-shadow: 0 2px 8px rgba(34, 197, 94, .42);
}

.sec-more {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 5px 14px;
    border: 1px solid var(--c-line);
    border-radius: 999px;
    background: #fff;
    font-size: 13px;
    color: var(--c-t2);
    transition: color .2s, border-color .2s, background .2s;
}

.sec-more:hover {
    color: var(--c-main-d);
    border-color: var(--c-main);
    background: var(--c-main-l);
}

.sec-sub {
    font-size: 13px;
    color: var(--c-t2);
}

/* ============================ 视频卡片 ============================ */

.vlist {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 22px 18px;
}

.vi-a {
    display: block;
    transition: transform .26s cubic-bezier(.4, 0, .2, 1);
}

.vi-a:hover {
    transform: translateY(-4px);
}

.vi-pic {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: #e5e7eb;
    aspect-ratio: 2 / 3;
    box-shadow: var(--shadow-s);
    transition: box-shadow .26s;
}

.vi-a:hover .vi-pic {
    box-shadow: var(--shadow-l);
}

.vi-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s cubic-bezier(.4, 0, .2, 1);
}

.vi-a:hover .vi-pic img {
    transform: scale(1.07);
}

.vi-pic::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .1) 40%, transparent 70%);
    opacity: 0;
    transition: opacity .26s;
    pointer-events: none;
}

.vi-a:hover .vi-pic::after {
    opacity: 1;
}

.vi-play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: 46px;
    height: 46px;
    margin: -23px 0 0 -23px;
    border-radius: 50%;
    background: rgba(34, 197, 94, .94);
    box-shadow: 0 6px 18px rgba(22, 163, 74, .45);
    opacity: 0;
    transform: scale(.72);
    transition: opacity .26s, transform .26s;
    pointer-events: none;
}

.vi-play::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -8px 0 0 -5px;
    border-style: solid;
    border-width: 8px 0 8px 13px;
    border-color: transparent transparent transparent #fff;
}

.vi-a:hover .vi-play {
    opacity: 1;
    transform: scale(1);
}

.vi-tag {
    position: absolute;
    right: 7px;
    top: 7px;
    z-index: 2;
    max-width: calc(100% - 14px);
    padding: 2px 8px;
    border-radius: 5px;
    background: rgba(0, 0, 0, .58);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vi-name {
    margin-top: 9px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--c-t1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color .2s;
}

.vi-a:hover .vi-name {
    color: var(--c-main-d);
}

.vi-sub {
    margin-top: 3px;
    font-size: 12px;
    color: var(--c-t3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================ 面包屑 ============================ */

.crumb {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 16px 0 12px;
    font-size: 13px;
    color: var(--c-t2);
}

.crumb a:hover {
    color: var(--c-main-d);
}

.crumb-sep {
    color: #d1d5db;
}

.crumb-cur {
    max-width: 60%;
    color: var(--c-t1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================ 子分类 ============================ */

.subtypes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.subtypes-a {
    padding: 6px 15px;
    border: 1px solid var(--c-line);
    border-radius: 999px;
    background: #fff;
    font-size: 13px;
    box-shadow: var(--shadow-s);
    transition: color .2s, border-color .2s, background .2s, transform .2s;
}

.subtypes-a:hover {
    color: var(--c-main-d);
    border-color: var(--c-main);
    background: var(--c-main-l);
    transform: translateY(-1px);
}

.subtypes-a.on {
    color: #fff;
    border-color: var(--c-main);
    background: var(--c-main);
    box-shadow: 0 6px 16px -6px rgba(34, 197, 94, .6);
}

/* ============================ 筛选面板 ============================ */

.filters {
    margin-bottom: 22px;
    padding: 4px 18px;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-l);
    background: var(--c-card);
    box-shadow: var(--shadow-s);
}

.filter-row {
    display: flex;
    gap: 14px;
    padding: 11px 0;
    border-bottom: 1px solid var(--c-line);
}

.filter-row:last-child {
    border-bottom: 0;
}

.filter-k {
    flex: 0 0 44px;
    padding-top: 3px;
    color: var(--c-t3);
    font-size: 13px;
    line-height: 1.6;
}

.filter-v {
    flex: 1 1 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    min-width: 0;
}

.fv {
    padding: 3px 12px;
    border-radius: 999px;
    color: var(--c-t2);
    font-size: 13px;
    line-height: 1.65;
    white-space: nowrap;
    transition: color .18s, background .18s;
}

.fv:hover {
    color: var(--c-main-d);
    background: var(--c-main-l);
}

.fv.on {
    color: #fff;
    background: var(--c-main);
}

.sec-reset {
    margin-left: auto;
    color: var(--c-t3);
    font-size: 13px;
    transition: color .18s;
}

.sec-reset:hover {
    color: var(--c-main-d);
}

/* ============================ 详情页 ============================ */

.detail {
    display: flex;
    gap: 26px;
    padding: 24px;
    border-radius: var(--radius-l);
    background: var(--c-card);
    border: 1px solid rgba(17, 24, 39, .04);
    box-shadow: var(--shadow-s);
}

.detail-pic {
    flex: 0 0 218px;
}

.detail-pic img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-m);
}

.detail-info {
    flex: 1 1 auto;
    min-width: 0;
}

.detail-n {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.32;
    letter-spacing: -.4px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.detail-meta li {
    display: flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    padding: 5px 13px;
    border-radius: 999px;
    background: #f6f7f9;
    font-size: 13px;
    line-height: 1.6;
}

.detail-meta em {
    flex: 0 0 auto;
    color: var(--c-t3);
    font-style: normal;
}

.detail-meta span,
.detail-meta a {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.detail-meta a {
    color: var(--c-main-d);
    font-weight: 500;
}

.detail-meta a:hover {
    text-decoration: underline;
}

.detail-score {
    color: #f59e0b;
    font-weight: 700;
}

.detail-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 26px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
}

.btn-main {
    background: var(--c-grad);
    color: #fff;
    box-shadow: 0 5px 14px rgba(34, 197, 94, .34);
}

.btn-main:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(34, 197, 94, .44);
}

.btn-ghost {
    border: 1px solid var(--c-line);
    background: #fff;
    color: var(--c-t1);
}

.btn-ghost:hover {
    border-color: var(--c-main);
    color: var(--c-main-d);
    background: var(--c-main-l);
}

.detail-txt {
    padding: 22px 24px;
    border-radius: var(--radius-l);
    background: var(--c-card);
    border: 1px solid rgba(17, 24, 39, .04);
    box-shadow: var(--shadow-s);
    font-size: 14px;
    line-height: 1.95;
    color: #374151;
}

.detail-txt img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
}

/* ============================ 播放列表 ============================ */

/* 播放线路横排标签 */
.pl-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 14px;
}

.pl-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--c-card);
    border: 1px solid var(--c-line);
    color: var(--c-t2);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    cursor: pointer;
    transition: all .2s ease;
    -webkit-tap-highlight-color: transparent;
}

.pl-tab:hover {
    color: var(--c-main-d);
    border-color: var(--c-main);
    background: var(--c-main-l);
}

.pl-tab.on {
    background: var(--c-grad);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 2px 8px rgba(34, 197, 94, .28);
}

.pl-tab.on .pl-n {
    background: rgba(255, 255, 255, .25);
    color: #fff;
}

/* 线路面板 */
.pl-panel {
    margin-bottom: 14px;
    padding: 18px 22px;
    border-radius: var(--radius-l);
    background: var(--c-card);
    border: 1px solid rgba(17, 24, 39, .04);
    box-shadow: var(--shadow-s);
}

.pl-panel.pl-hide {
    display: none;
}

/* 播放页 上一集 / 下一集 */
.pl-nav {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.pl-group {
    margin-bottom: 14px;
    padding: 18px 22px;
    border-radius: var(--radius-l);
    background: var(--c-card);
    border: 1px solid rgba(17, 24, 39, .04);
    box-shadow: var(--shadow-s);
}

.pl-t {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
}

.pl-t::before {
    content: "";
    width: 3px;
    height: 14px;
    border-radius: 2px;
    background: var(--c-grad);
}

/* 每组后面的集数标记 */
.pl-n {
    padding: 1px 8px;
    border-radius: 999px;
    background: var(--c-main-l);
    color: var(--c-main-d);
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.6;
}

.pl-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    max-height: 250px;
    overflow-y: auto;
}

.pl-a {
    padding: 7px 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #f3f4f6;
    font-size: 13px;
    white-space: nowrap;
    transition: color .18s, background .18s, border-color .18s, box-shadow .18s;
}

.pl-a:hover {
    color: var(--c-main-d);
    background: var(--c-main-l);
    border-color: rgba(34, 197, 94, .35);
}

.pl-a.on {
    background: var(--c-grad);
    color: #fff;
    box-shadow: 0 3px 10px rgba(34, 197, 94, .34);
}

/* ============================ 播放器 ============================ */

.player-wrap {
    margin-top: 2px;
}

.player-box {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-l);
    overflow: hidden;
    background: #0b0f14;
    box-shadow: var(--shadow-l);
}

.player-box video {
    display: block;
    width: 100%;
    height: 100%;
}

.player-tip {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    color: #9ca3af;
    font-size: 13px;
    pointer-events: none;
}

/* ============================ 搜索 ============================ */

.search-big {
    display: flex;
    max-width: 580px;
    height: 46px;
    margin: 0 auto 26px;
    border: 1px solid var(--c-line);
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-s);
    transition: border-color .2s, box-shadow .2s;
}

.search-big:focus-within {
    border-color: var(--c-main);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, .13);
}

.search-big-i {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0 20px;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 14px;
}

.search-big-b {
    flex: 0 0 auto;
    padding: 0 28px;
    border: 0;
    background: var(--c-grad);
    color: #fff;
    font-size: 14px;
    white-space: nowrap;
    cursor: pointer;
}

.search-big-b:hover {
    filter: brightness(1.05);
}

/* ============================ 分页 ============================ */

.pg {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    margin-top: 34px;
}

.pg-a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 11px;
    border: 1px solid var(--c-line);
    border-radius: 9px;
    background: #fff;
    font-size: 13px;
    box-shadow: var(--shadow-s);
    transition: transform .18s, box-shadow .18s, color .18s, border-color .18s;
}

.pg-a:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-m);
    border-color: var(--c-main);
    color: var(--c-main-d);
}

.pg-on {
    border-color: transparent;
    background: var(--c-grad);
    color: #fff;
    box-shadow: 0 4px 12px rgba(34, 197, 94, .35);
}

.pg-on:hover {
    color: #fff;
}

/* ============================ 空状态 ============================ */

.empty {
    padding: 88px 0;
    text-align: center;
}

.empty-t {
    font-size: 15px;
    font-weight: 500;
    color: var(--c-t2);
}

.empty-s {
    margin-top: 7px;
    font-size: 13px;
    color: var(--c-t3);
}

/* ============================ 页脚 ============================ */

.ft {
    margin-top: 52px;
    padding: 32px 20px;
    border-top: 1px solid var(--c-line);
    background: #fff;
    text-align: center;
}

.ft-in {
    max-width: var(--wrap);
    margin: 0 auto;
}

.ft-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px 20px;
    font-size: 13px;
    color: var(--c-t2);
}

.ft-nav a {
    transition: color .2s;
}

.ft-nav a:hover {
    color: var(--c-main-d);
}

.ft-tip {
    margin-top: 16px;
    font-size: 12px;
    line-height: 1.85;
    color: var(--c-t3);
}

.ft-copy {
    margin-top: 9px;
    font-size: 12px;
    color: #c3c8d0;
}

/* ==========================================================================
   响应式
   ========================================================================== */

@media (max-width: 1200px) {
    .vlist {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .vlist {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .detail-pic {
        flex: 0 0 176px;
    }

    .detail-n {
        font-size: 21px;
    }

    .banner-n {
        font-size: 22px;
    }
}

@media (max-width: 820px) {
    :root {
        --hd-h: 56px;
        --radius: 8px;
        --radius-l: 12px;
    }

    .hd-in {
        gap: 10px;
        padding: 0 14px;
    }

    .hd-logo {
        font-size: 18px;
    }

    /* 关键：backdrop-filter 会让 .hd 成为 fixed 子元素的包含块，
       导致下方抽屉被压成一行高。移动端改用纯白背景并取消滤镜。 */
    .hd {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        background: #fff;
    }

    .hd-nav {
        position: fixed;
        left: 0;
        right: 0;
        top: var(--hd-h);
        bottom: 0;
        z-index: 99;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 6px 0 40px;
        overflow-y: auto;
        background: #fff;
        transform: translateX(-100%);
        transition: transform .26s ease;
    }

    .hd-nav.is-open {
        transform: none;
    }

    .hd-nav-a {
        padding: 14px 18px;
        border-radius: 0;
        border-bottom: 1px solid var(--c-line);
        font-size: 15px;
    }

    .hd-nav-a::after {
        display: none;
    }

    .hd-nav-a.on {
        background: var(--c-main-l);
        color: var(--c-main-d);
        box-shadow: none;
    }

    .hd-search {
        flex: 1 1 auto;
        min-width: 0;
        height: 36px;
    }

    .hd-search-i {
        width: 100%;
        min-width: 0;
        padding: 0 12px;
        font-size: 13px;
    }

    .hd-search-b {
        flex: 0 0 auto;
        min-width: 52px;
        padding: 0 10px;
        font-size: 13px;
        white-space: nowrap;
    }

    .hd-menu {
        display: flex;
    }

    .main {
        padding: 0 14px 34px;
    }

    .banner {
        margin-top: 12px;
    }

    .banner-i {
        aspect-ratio: 16 / 9;
        max-height: none;
    }

    .banner-t {
        padding: 40px 15px 15px;
    }

    .banner-n {
        font-size: 17px;
    }

    .banner-d {
        display: none;
    }

    .banner-dots {
        right: 13px;
        bottom: 11px;
    }

    .banner-dot {
        width: 7px;
        height: 7px;
    }

    .banner-dot.on {
        width: 18px;
    }

    .sec {
        margin-top: 24px;
    }

    .sec-hd {
        margin-bottom: 12px;
    }

    .sec-t {
        padding-left: 12px;
        font-size: 16px;
    }

    .sec-t::before {
        width: 3px;
        height: 15px;
    }

    .sec-more {
        padding: 4px 12px;
        font-size: 12px;
    }

    .vlist {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px 10px;
    }

    .vi-a:hover {
        transform: none;
    }

    .vi-name {
        margin-top: 7px;
        font-size: 13px;
    }

    .vi-sub {
        margin-top: 2px;
        font-size: 11px;
    }

    .vi-play {
        display: none;
    }

    .vi-tag {
        right: 5px;
        top: 5px;
        padding: 1px 6px;
        font-size: 10px;
    }

    .crumb {
        padding: 11px 0 9px;
        font-size: 12px;
    }

    .subtypes {
        gap: 7px;
        margin-bottom: 16px;
    }

    .subtypes-a {
        padding: 5px 13px;
        font-size: 12px;
    }

    /* 移动端筛选项多，横向滚动比换行更省屏 */
    .filters {
        margin-bottom: 16px;
        padding: 2px 12px;
    }

    .filter-row {
        gap: 8px;
        padding: 9px 0;
    }

    .filter-k {
        flex: 0 0 34px;
        font-size: 12px;
    }

    .filter-v {
        flex-wrap: nowrap;
        gap: 2px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .filter-v::-webkit-scrollbar {
        display: none;
    }

    .fv {
        padding: 2px 10px;
        font-size: 12px;
    }

    .sec-reset {
        font-size: 12px;
    }

    .detail {
        gap: 14px;
        padding: 14px;
    }

    .detail-pic {
        flex: 0 0 112px;
    }

    .detail-n {
        font-size: 17px;
        letter-spacing: 0;
    }

    .detail-meta {
        gap: 6px;
        margin-top: 10px;
    }

    .detail-meta li {
        padding: 3px 10px;
        font-size: 12px;
    }

    .detail-btns {
        gap: 9px;
        margin-top: 15px;
    }

    .btn {
        height: 35px;
        padding: 0 18px;
        font-size: 13px;
    }

    .detail-txt {
        padding: 15px;
        font-size: 13px;
        line-height: 1.9;
    }

    .pl-group,
    .pl-panel {
        padding: 14px 15px;
    }

    /* 线路标签横滑，不换行 */
    .pl-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 7px;
        padding-bottom: 2px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .pl-tabs::-webkit-scrollbar {
        display: none;
    }

    .pl-tab {
        flex: 0 0 auto;
        padding: 6px 13px;
        font-size: 12px;
    }

    .pl-t {
        margin-bottom: 10px;
    }

    .pl-list {
        gap: 7px;
        max-height: 190px;
    }

    .pl-a {
        padding: 6px 13px;
        font-size: 12px;
    }

    .player-box {
        border-radius: var(--radius);
        box-shadow: var(--shadow-m);
    }

    .search-big {
        height: 42px;
        margin-bottom: 18px;
    }

    .search-big-b {
        padding: 0 20px;
    }

    .pg {
        gap: 6px;
        margin-top: 26px;
    }

    .ft {
        margin-top: 34px;
        padding: 24px 14px;
    }

    .ft-nav {
        gap: 7px 15px;
        font-size: 12px;
    }
}

@media (max-width: 560px) {
    .vlist {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .banner-i {
        aspect-ratio: 4 / 3;
    }

    .detail-pic {
        flex: 0 0 96px;
    }

    .detail-n {
        font-size: 16px;
    }

    .pg-a {
        min-width: 32px;
        height: 32px;
        padding: 0 9px;
        font-size: 12px;
    }
}
