/* ================= 前台样式（深色影视风） ================= */
:root {
    --bg: #0b0d14;
    --bg-soft: #12141f;
    --bg-card: #171a26;
    --line: #242838;
    --text: #e8eaf2;
    --text-dim: #9aa1b6;
    --accent: #ff4d57;
    --accent-2: #ff8a3d;
    --radius: 12px;
    --shadow: 0 10px 30px rgba(0, 0, 0, .45);
    --max: 1280px;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; font-weight: 700; }
button { font-family: inherit; cursor: pointer; }
input { font-family: inherit; }

.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 16px;
}

/* ---------------- 头部 ---------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(11, 13, 20, .92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: .5px;
    white-space: nowrap;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    font-size: 13px;
}

.nav { display: flex; align-items: center; gap: 4px; flex: 1; flex-wrap: wrap; }

.nav-link {
    padding: 6px 12px;
    border-radius: 20px;
    color: var(--text-dim);
    font-size: 14px;
    transition: .18s;
    white-space: nowrap;
}
.nav-link:hover { color: #fff; background: #ffffff10; }
.nav-link.is-active { color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }

.search { position: relative; display: flex; align-items: center; gap: 6px; }
.search-input {
    width: 210px;
    height: 36px;
    padding: 0 12px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: #0f121b;
    color: var(--text);
    outline: none;
    transition: .18s;
}
.search-input:focus { border-color: var(--accent); width: 250px; }
.search-btn {
    width: 36px; height: 36px;
    border: none;
    border-radius: 18px;
    background: #1d2130;
    color: #fff;
}
.search-btn:hover { background: var(--accent); }

.search-suggest {
    position: absolute;
    top: 44px; right: 0;
    width: 320px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    max-height: 380px;
    overflow-y: auto;
    z-index: 60;
}
.suggest-item {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 8px 10px;
    border-bottom: 1px solid #ffffff08;
}
.suggest-item:last-child { border-bottom: none; }
.suggest-item:hover { background: #ffffff0d; }
.suggest-item img { width: 38px; height: 52px; object-fit: cover; border-radius: 6px; background: #222; }
.suggest-item .s-title { font-size: 14px; }
.suggest-item .s-meta { font-size: 12px; color: var(--text-dim); }
.suggest-empty { padding: 12px; color: var(--text-dim); font-size: 13px; }

.nav-toggle {
    display: none;
    width: 38px; height: 38px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #161a25;
    color: #fff;
}

/* ---------------- 通用 ---------------- */
.main { padding: 20px 16px 48px; }

.notice, .alert {
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 14px;
    font-size: 14px;
    border: 1px solid var(--line);
    background: #171a26;
}
.alert-success { border-color: #1f7a4d; background: #10261c; color: #7ff0b0; }
.alert-error { border-color: #7a1f2b; background: #2a1216; color: #ff9aa4; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 38px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 19px;
    background: #1a1e2b;
    color: var(--text);
    font-size: 14px;
    transition: .18s;
    white-space: nowrap;
}
.btn:hover { border-color: #3a4056; background: #222738; }
.btn-primary {
    border: none;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    font-weight: 600;
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 16px; }

.chip {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    background: #ffffff12;
    color: var(--text-dim);
    font-size: 12px;
    line-height: 20px;
}
a.chip:hover { background: #ffffff22; color: #fff; }
.chip-hot { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }
.chip-score { background: #2b2334; color: #ffd76e; }
.chip-source { background: #1c2a40; color: #9ec1ff; }
.chip-sm { padding: 1px 8px; font-size: 12px; }

/* ---------------- 首页轮播 ---------------- */
.hero {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 26px;
    border: 1px solid var(--line);
    background: var(--bg-soft);
}
.hero-slides { position: relative; min-height: 340px; }
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .6s ease;
}
.hero-slide.is-active { opacity: 1; visibility: visible; position: relative; }
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(22px) saturate(1.4);
    transform: scale(1.15);
    opacity: .55;
}
.hero-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(9, 11, 17, .96) 0%, rgba(9, 11, 17, .78) 45%, rgba(9, 11, 17, .35) 100%);
}
.hero-body {
    position: relative;
    display: flex;
    gap: 22px;
    padding: 30px;
    align-items: center;
}
.hero-cover {
    flex: 0 0 168px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.hero-cover img { width: 168px; height: 236px; object-fit: cover; background: #222; }
.hero-info { max-width: 620px; }
.hero-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.hero-title { font-size: 30px; line-height: 1.25; margin-bottom: 8px; }
.hero-meta { color: var(--text-dim); font-size: 13px; margin: 0 0 10px; }
.hero-desc { color: #c3c8d8; font-size: 14px; margin: 0 0 18px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.hero-dots {
    position: absolute;
    right: 20px;
    bottom: 16px;
    display: flex;
    gap: 7px;
}
.hero-dot {
    width: 9px; height: 9px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #ffffff40;
}
.hero-dot.is-active { background: var(--accent); width: 22px; border-radius: 5px; }

/* ---------------- 分类速览 ---------------- */
.quick-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    margin-bottom: 30px;
}
.quick-type {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 14px 16px;
    border-radius: var(--radius);
    background: linear-gradient(160deg, #1a1e2c, #141722);
    border: 1px solid var(--line);
    transition: .18s;
}
.quick-type:hover { border-color: var(--accent); transform: translateY(-2px); }
.quick-name { font-weight: 700; }
.quick-count { font-size: 12px; color: var(--text-dim); }

/* ---------------- 板块与卡片 ---------------- */
.section { margin-bottom: 34px; }
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.section-title {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 19px;
}
.title-bar {
    display: inline-block;
    width: 4px;
    height: 18px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--accent), var(--accent-2));
}
.section-more { color: var(--text-dim); font-size: 13px; }
.section-more:hover { color: var(--accent); }

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
}

.card {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--line);
    transition: .2s;
}
.card:hover { transform: translateY(-4px); border-color: #3b4258; box-shadow: var(--shadow); }
.card-cover { position: relative; aspect-ratio: 2 / 3; overflow: hidden; background: #1c1f2b; }
.card-cover img { width: 100%; height: 100%; object-fit: cover; transition: .35s; }
.card:hover .card-cover img { transform: scale(1.06); }
.card-quality {
    position: absolute;
    left: 8px; top: 8px;
    padding: 1px 8px;
    border-radius: 8px;
    background: rgba(0, 0, 0, .62);
    color: #fff;
    font-size: 11px;
}
.card-score {
    position: absolute;
    right: 8px; top: 8px;
    padding: 1px 7px;
    border-radius: 8px;
    background: rgba(0, 0, 0, .62);
    color: #ffd76e;
    font-size: 12px;
    font-weight: 700;
}
.card-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    color: #fff;
    background: rgba(0, 0, 0, .35);
    opacity: 0;
    transition: .2s;
}
.card:hover .card-play { opacity: 1; }
.card-body { padding: 9px 10px 12px; }
.card-title {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.card-meta {
    margin: 3px 0 0;
    font-size: 12px;
    color: var(--text-dim);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---------------- 空状态 / 热门词 ---------------- */
.empty {
    padding: 46px 20px;
    text-align: center;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    background: var(--bg-soft);
    margin-bottom: 30px;
}
.empty p { margin: 0 0 8px; font-size: 16px; }
.empty-sub { color: var(--text-dim); font-size: 14px; }
.empty a { color: var(--accent); }
.hot-words { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 10px; }
.hot-word {
    padding: 4px 12px;
    border-radius: 14px;
    background: #1b1f2c;
    border: 1px solid var(--line);
    font-size: 13px;
    color: var(--text-dim);
}
.hot-word:hover { color: #fff; border-color: var(--accent); }

/* ---------------- 列表页筛选 ---------------- */
.page-head {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 16px;
}
.page-title { font-size: 24px; }
.page-count { color: var(--text-dim); font-size: 13px; }

.filterbar {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-soft);
    padding: 6px 14px;
    margin-bottom: 20px;
}
.filter-row {
    display: flex;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px dashed #ffffff0f;
}
.filter-row:last-child { border-bottom: none; }
.filter-label { flex: 0 0 42px; color: var(--text-dim); font-size: 13px; line-height: 26px; }
.filter-items { display: flex; flex-wrap: wrap; gap: 4px; }
.filter-item {
    padding: 4px 11px;
    border-radius: 14px;
    font-size: 13px;
    color: var(--text-dim);
}
.filter-item:hover { background: #ffffff10; color: #fff; }
.filter-item.is-active { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }

.search-page-form { display: flex; gap: 10px; margin-bottom: 18px; }
.search-page-form input {
    flex: 1;
    height: 42px;
    padding: 0 16px;
    border-radius: 21px;
    border: 1px solid var(--line);
    background: #0f121b;
    color: var(--text);
    outline: none;
}
.search-page-form input:focus { border-color: var(--accent); }

/* ---------------- 面包屑 ---------------- */
.breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 16px;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb em { font-style: normal; color: var(--text); }

/* ---------------- 详情页 ---------------- */
.detail {
    display: flex;
    gap: 24px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(160deg, #1a1e2b 0%, #12141f 70%);
    margin-bottom: 24px;
}
.detail-cover { flex: 0 0 210px; }
.detail-cover img {
    width: 210px;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    background: #222;
    box-shadow: var(--shadow);
}
.detail-main { flex: 1; min-width: 0; }
.detail-title { font-size: 27px; margin-bottom: 6px; }
.detail-alias { color: var(--text-dim); font-size: 13px; margin: 0 0 10px; }
.detail-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.detail-meta { color: var(--text-dim); font-size: 13px; margin: 0 0 12px; }
.detail-summary { color: #c7ccdc; font-size: 14px; margin: 0 0 16px; }
.detail-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.detail-stat { color: var(--text-dim); font-size: 13px; }

/* ---------------- 播放器 ---------------- */
.player-wrap {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--bg-soft);
    padding: 16px;
    margin-bottom: 30px;
}
.player-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.player {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}
.player-video {
    display: block;
    width: 100%;
    max-height: 70vh;
    aspect-ratio: 16 / 9;
    background: #000;
    outline: none;
}

/* 中间大播放按钮 */
.player-mask {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .28);
    pointer-events: none;
    transition: opacity .2s;
}
.player-big {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .5);
    border: 2px solid rgba(255, 255, 255, .78);
    color: #fff;
    padding-left: 4px;
}
.player.is-playing .player-mask { opacity: 0; }

/* 底部控制条：只有播放/暂停 + 进度 + 音量 + 倍速 */
.player-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 26px 14px 10px;
    background: linear-gradient(to top, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .45) 55%, rgba(0, 0, 0, 0) 100%);
    transition: opacity .25s, transform .25s;
}
.player.is-idle .player-bar {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}
.player.is-idle { cursor: none; }

.pb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 6px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #fff;
    cursor: pointer;
}
.pb-btn:hover { background: rgba(255, 255, 255, .14); }
.pb-time {
    color: #e6e9f2;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.pb-progress {
    position: relative;
    flex: 1;
    min-width: 60px;
    height: 5px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .25);
    cursor: pointer;
    transition: height .15s;
}
.pb-progress:hover { height: 8px; }
.pb-buffer,
.pb-played {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    border-radius: 4px;
}
.pb-buffer { background: rgba(255, 255, 255, .34); }
.pb-played { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.pb-thumb {
    position: absolute;
    top: 50%;
    left: 0;
    width: 12px;
    height: 12px;
    margin: -6px 0 0 -6px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 6px rgba(0, 0, 0, .6);
    opacity: 0;
    transition: opacity .15s;
}
.pb-progress:hover .pb-thumb { opacity: 1; }

.pb-volume { display: flex; align-items: center; gap: 6px; color: #e6e9f2; }
.pb-icon { flex: none; opacity: .9; }
.pb-volume input[type="range"] {
    width: 72px;
    height: 4px;
    accent-color: var(--accent);
    background: transparent;
    cursor: pointer;
}

.pb-rate { position: relative; }
.pb-rate-btn {
    font-size: 12px;
    padding: 0 8px;
    border: 1px solid rgba(255, 255, 255, .25);
}
.pb-rate-menu {
    position: absolute;
    right: 0;
    bottom: 36px;
    display: flex;
    flex-direction: column;
    min-width: 78px;
    padding: 4px;
    background: #1a1e2b;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow);
    z-index: 5;
}
.pb-rate-menu button {
    padding: 6px 10px;
    border: none;
    border-radius: 7px;
    background: transparent;
    color: var(--text);
    font-size: 13px;
    text-align: left;
    cursor: pointer;
}
.pb-rate-menu button:hover { background: rgba(255, 255, 255, .12); }

.pb-fullscreen { margin-left: 2px; }

/* 全屏：全屏的是播放器容器，所以自制控制条在全屏里依然在 */
.player:fullscreen,
.player:-webkit-full-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background: #000;
}
.player:fullscreen .player-video,
.player:-webkit-full-screen .player-video {
    width: 100%;
    height: 100%;
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
}
.player:fullscreen .player-bar,
.player:-webkit-full-screen .player-bar {
    padding: 30px 20px 14px;
}
.player:fullscreen .player-big,
.player:-webkit-full-screen .player-big {
    width: 84px;
    height: 84px;
}

.player-error {
    padding: 10px 14px;
    background: #2a1216;
    color: #ff9aa4;
    font-size: 13px;
    border-radius: 8px;
    margin-top: 10px;
}
/* 多线路切换 */
.player-tip { color: var(--text-dim); font-size: 13px; }
.source-switch {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.source-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: #161a25;
    color: var(--text-dim);
    font-size: 13px;
    cursor: pointer;
    transition: .18s;
}
.source-btn:hover { color: #fff; border-color: #3b4258; }
.source-btn.is-active {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    font-weight: 600;
}
.source-dot { width: 7px; height: 7px; border-radius: 50%; background: #6b7288; }
.source-btn.is-active .source-dot { background: #fff; }
.source-btn[data-type="url"]:not(.is-active) .source-dot { background: var(--accent); }
.source-btn[data-type="youtube"]:not(.is-active) .source-dot { background: #ff4d4d; }
.source-btn[data-type="bilibili"]:not(.is-active) .source-dot { background: #fb7299; }

/* 平台嵌入播放（YouTube / Bilibili，用官方播放器） */
.player-embed-wrap {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}
.player-embed {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 70vh;
    border: 0;
    background: #000;
}

.player-empty {
    padding: 40px 20px;
    text-align: center;
    color: var(--text-dim);
    border: 1px dashed var(--line);
    border-radius: 12px;
}
.player-empty p { margin: 0 0 14px; }

/* ---------------- 资料表 ---------------- */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 10px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-soft);
    padding: 16px 18px;
}
.info-item { display: flex; gap: 10px; font-size: 14px; border-bottom: 1px dashed #ffffff0d; padding: 6px 0; }
.info-label { flex: 0 0 70px; color: var(--text-dim); }
.info-value { flex: 1; min-width: 0; word-break: break-word; }

/* ---------------- 分页 ---------------- */
.pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin: 30px 0 10px;
}
.pager-btn, .pager-num {
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #161a25;
    font-size: 14px;
    color: var(--text-dim);
}
.pager-btn:hover, .pager-num:hover { color: #fff; border-color: #3b4258; }
.pager-num.is-active {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border-color: transparent;
    color: #fff;
    font-weight: 700;
}
.pager-btn.is-disabled { opacity: .4; }
.pager-gap { color: var(--text-dim); padding: 0 2px; }

/* ---------------- 页脚 ---------------- */
.site-footer {
    border-top: 1px solid var(--line);
    background: #0a0c12;
    padding: 26px 0 18px;
    margin-top: 30px;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-brand strong { font-size: 16px; }
.footer-brand p { margin: 4px 0 0; color: var(--text-dim); font-size: 13px; }
.footer-links { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-links a { color: var(--text-dim); font-size: 13px; }
.footer-links a:hover { color: var(--accent); }
.footer-copy {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed #ffffff0f;
    color: #6b7288;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 900px) {
    .nav-toggle { display: block; margin-left: auto; }
    .nav {
        display: none;
        position: absolute;
        left: 0; right: 0; top: 64px;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 10px 16px 16px;
        background: #10131c;
        border-bottom: 1px solid var(--line);
    }
    .nav.is-open { display: flex; }
    .search-input { width: 130px; }
    .search-input:focus { width: 150px; }
    .hero-cover { display: none; }
    .hero-body { padding: 22px; }
    .hero-title { font-size: 22px; }
    .detail { flex-direction: column; }
    .detail-cover img { width: 150px; height: 214px; }
    .search-suggest { width: 260px; }
}

@media (max-width: 560px) {
    .grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
    .logo-text { display: none; }
    .search-input { width: 110px; }
    .player-bar { gap: 6px; padding: 18px 10px 8px; }
    .pb-time { font-size: 11px; }
    .pb-volume input[type="range"] { width: 46px; }
    .player-big { width: 54px; height: 54px; }
}
