/* ==========================================================================
   影视大全 - 简约白底主题（minimal white）
   去掉渐变/花哨装饰，主打纯白背景 + 细边 + 灰阶层级
   ========================================================================== */

:root {
    --bg: #ffffff;
    --bg-soft: #fafafa;
    --bg-sub: #f4f5f7;
    --card: #ffffff;
    --line: #eceef1;
    --line-strong: #e2e5ea;
    --text: #1a1a1a;
    --text-sub: #555a63;
    --text-muted: #9297a0;
    --text-placeholder: #b9bcc3;
    --accent: #1677ff;
    --accent-hover: #0d6ae0;
    --accent-soft: #e8f2ff;
    --danger: #e5484d;
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.04);
    --shadow-md: 0 4px 18px rgba(0,0,0,.06);
    --ts: cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; }
html, body {
    margin: 0; padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC",
                 "Helvetica Neue", "Hiragino Sans GB", "Microsoft YaHei",
                 Segoe UI, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    font-size: 14px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #e3e5e9; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #c9ccd2; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

#app { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }

/* ===== Input (shared baseline) ===== */
.ipt {
    width: 100%;
    border: 1px solid var(--line-strong);
    background: var(--bg);
    color: var(--text);
    border-radius: var(--radius-lg);
    padding: 14px 18px 14px 44px;
    font-size: 15px;
    outline: none;
    transition: border-color .18s, box-shadow .18s, background-color .18s;
    height: 48px;
}
.ipt::placeholder { color: var(--text-placeholder); }
.ipt:focus {
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(22,119,255,.08);
}

.ipt-wrap { position: relative; }
.ipt-wrap .ri {
    position: absolute;
    left: 16px; top: 50%; transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 18px;
    pointer-events: none;
}
.ipt-wrap .btn-x {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    width: 26px; height: 26px; border-radius: 50%;
    border: none; background: var(--bg-sub); color: var(--text-muted);
    font-size: 14px; cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: background .18s, color .18s;
}
.ipt-wrap .btn-x:hover { background: #e6e8ec; color: var(--text-sub); }

.btn-prim {
    border: none;
    background: var(--accent);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 0 22px;
    height: 48px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background .18s, transform .18s;
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    flex-shrink: 0;
}
.btn-prim:hover { background: var(--accent-hover); }
.btn-prim:active { transform: translateY(1px); }

/* ===== Home ===== */
.home-wrap {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 14vh 20px 40px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.brand-logo-sm {
    width: 72px; height: 72px;
    border-radius: 22px;
    background: var(--accent-soft);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 22px;
    color: var(--accent);
}
.brand-logo-sm i { font-size: 34px; }
.home-title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin: 0 0 10px;
    padding-top: 42px;
    color: var(--text);
}
.home-subtitle {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0 0 36px;
}

/* Site Footer */
.site-footer {
    margin-top: auto;
    padding-top: 60px;
    width: 100%;
    border-top: 1px solid var(--line);
    padding-bottom: 8px;
}
.footer-links {
    font-size: 12.5px;
    color: var(--text-muted);
    padding: 18px 0 14px;
    line-height: 1.9;
}
.footer-links-label { color: var(--text-muted); }
.footer-links a {
    color: var(--text-sub);
    transition: color .18s;
}
.footer-links a:hover { color: var(--accent); }
.footer-links .sep {
    color: var(--line-strong);
    margin: 0 8px;
}
.footer-notice {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0 0 8px;
}
.footer-copyright {
    font-size: 11.5px;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}
.footer-copyright .sep {
    margin: 0 6px;
    color: var(--line-strong);
}
.footer-copyright a {
    color: var(--text-muted);
    transition: color .18s;
}
.footer-copyright a:hover { color: var(--accent); }

/* 底部「更多友链」蓝色渐变文字动效 */
.footer-more-links {
    font-weight: 600;
    background: linear-gradient(90deg, #1677ff, #4096ff, #69b1ff, #1677ff, #0958d9);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: footerGradMove 2.8s linear infinite;
    transition: filter .2s;
}
.footer-more-links:hover {
    filter: brightness(1.1);
    text-decoration: underline;
    text-decoration-color: rgba(22,119,255,.5);
}
@keyframes footerGradMove {
    to { background-position: 200% center; }
}

/* 底部「当前在线」显示 */
.footer-online {
    margin: 10px auto 0;
    padding: 6px 14px 6px 12px;
    font-size: 11.5px;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    line-height: 1.4;
}
.footer-online strong {
    color: var(--accent);
    font-weight: 600;
    font-size: 12px;
}
.online-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(22,119,255,.12);
    animation: onlineBreathe 1.8s ease-in-out infinite;
}
@keyframes onlineBreathe {
    0%, 100% {
        opacity: .55;
        transform: scale(.92);
        box-shadow: 0 0 0 2px rgba(22,119,255,.1);
    }
    50% {
        opacity: 1;
        transform: scale(1.08);
        box-shadow: 0 0 0 5px rgba(22,119,255,.18);
    }
}

@media (max-width: 768px) {
    .footer-online { font-size: 11px; padding: 5px 12px 5px 10px; }
    .footer-online strong { font-size: 11.5px; }
}

/* Home search form */
.home-search-in {
    width: 100%;
    max-width: 560px;
}
.home-search-in .ipt-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.home-search-in .ipt {
    width: 100%;
    height: 56px;
    border-radius: 28px;
    padding: 0 96px 0 56px;
    font-size: 16px;
    border: 2px solid var(--line-strong);
    background: #fff;
    transition: all .22s var(--ts);
}
.home-search-in .ipt:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(22,119,255,.1);
}
.home-search-in .btn-prim-in {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--accent);
    color: #fff;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s var(--ts);
}
.home-search-in .btn-prim-in:hover {
    background: var(--accent-hover);
    transform: translateY(-50%) scale(1.06);
    box-shadow: 0 4px 16px rgba(22,119,255,.35);
}
.home-search-in .btn-prim-in i { font-size: 18px; }
.home-search-in .btn-x {
    position: absolute;
    right: 62px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: var(--bg-sub);
    color: var(--text-muted);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all .18s;
}
.home-search-in .btn-x:hover { background: #e6e8ec; color: var(--text-sub); }

/* Search icon animation */
.home-search-in .search-icon-anim {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    pointer-events: none;
    z-index: 2;
}
.home-search-in .search-icon-anim i {
    position: absolute;
    left: 0; top: 0;
    font-size: 18px;
    color: var(--accent);
}
.home-search-in .search-icon-anim .icon-1 {
    animation: searchPulse 2.2s ease-in-out infinite;
}
.home-search-in .search-icon-anim .icon-2 {
    animation: searchPulse 2.2s ease-in-out infinite .6s;
    opacity: 0;
}
.home-search-in .search-icon-anim .search-ring {
    position: absolute;
    left: -6px; top: -6px;
    width: 36px; height: 36px;
    border: 2px solid transparent;
    border-top-color: var(--accent);
    border-right-color: var(--accent);
    border-radius: 50%;
    animation: ringSpin 1.6s linear infinite;
    opacity: .5;
}
.home-search-in .search-icon-anim .search-ring.ring-2 {
    left: -10px; top: -10px;
    width: 44px; height: 44px;
    animation-duration: 2.2s;
    animation-direction: reverse;
    opacity: .3;
}
@keyframes searchPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(.82); opacity: .6; }
}
@keyframes ringSpin {
    to { transform: rotate(360deg); }
}

/* ====== 首页：热门词卡片 ====== */
.hot-wrap { z-index: 20; }
.hot-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 16px;
    padding: 20px 22px 22px;
    box-shadow: 0 8px 32px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.04);
    border: 1px solid var(--line);
}
.hot-title {
    font-size: 15px;
    font-weight: 500;
    color: #8a8f99;
    margin: 0 0 16px;
    letter-spacing: .2px;
    text-align: left;
}
.hot-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hot-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 20px;
    background: var(--bg-soft);
    color: var(--text-sub);
    font-size: 14px;
    text-decoration: none;
    transition: all .2s var(--ts);
    cursor: pointer;
    white-space: nowrap;
}
.hot-tag:hover {
    background: rgba(22,119,255,.08);
    color: var(--accent);
    transform: translateY(-1px);
}
.hot-tag-hot {
    background: rgba(22,119,255,.08);
    color: var(--accent);
    font-weight: 500;
}
.hot-tag-hot:hover {
    background: rgba(22,119,255,.14);
}
.hot-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(22,119,255,.12);
    animation: hotDotBreathe 1.8s ease-in-out infinite;
}
@keyframes hotDotBreathe {
    0%, 100% { opacity: .55; transform: scale(.92); }
    50% { opacity: 1; transform: scale(1.08); }
}

.hotfade-enter-active,
.hotfade-leave-active {
    transition: opacity .2s ease, transform .2s ease;
}
.hotfade-enter-from,
.hotfade-leave-to {
    opacity: 0;
    transform: translateY(-6px);
}

@media (max-width: 768px) {
    .hot-panel { padding: 16px 16px 18px; border-radius: 14px; }
    .hot-title { font-size: 14px; margin-bottom: 12px; color: #8a8f99; }
    .hot-row { gap: 8px; }
    .hot-tag { padding: 6px 12px; font-size: 13px; }
}
@media (max-width: 480px) {
    .hot-panel { padding: 14px 14px 16px; }
    .hot-title { font-size: 13px; color: #8a8f99; }
    .hot-tag { padding: 6px 11px; font-size: 12.5px; }
    .hot-dot { width: 7px; height: 7px; }
}

/* Animated search section below */
.home-anim-section {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.home-anim-title {
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 2px;
}
.home-anim-icons {
    display: flex;
    align-items: center;
    gap: 28px;
}
.home-anim-icons i {
    font-size: 28px;
    color: var(--accent);
    opacity: .65;
}
.home-anim-icons i:nth-child(1) { animation: floatIcon 3s ease-in-out infinite; }
.home-anim-icons i:nth-child(2) { animation: floatIcon 3s ease-in-out infinite .4s; }
.home-anim-icons i:nth-child(3) { animation: floatIcon 3s ease-in-out infinite .8s; }
.home-anim-icons i:nth-child(4) { animation: floatIcon 3s ease-in-out infinite 1.2s; }
.home-anim-icons i:nth-child(5) { animation: floatIcon 3s ease-in-out infinite 1.6s; }
@keyframes floatIcon {
    0%, 100% { transform: translateY(0); opacity: .55; }
    50% { transform: translateY(-8px); opacity: 1; }
}

/* ===== Search Page ===== */
.search-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 16px 50px;
}
.search-head {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--bg);
    padding: 10px 0;
    margin: 0 -16px 16px;
    padding-left: 16px;
    padding-right: 16px;
    border-bottom: 1px solid var(--line);
}
.search-head-row {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
    align-items: center;
}
.search-head .ipt-wrap { flex: 1; position: relative; }
.search-head .ipt { height: 44px; padding: 0 72px 0 40px; font-size: 14px; }
.search-head .ri { left: 14px; font-size: 16px; }
.search-head .btn-prim {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    height: 36px;
    padding: 0 14px;
    font-size: 14px;
    border-radius: 18px;
}
.search-head .btn-x {
    right: 46px;
    width: 24px;
    height: 24px;
}
.logo-mini {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    font-weight: 700;
    font-size: 16px;
    color: var(--text);
    margin-right: 4px;
}
.logo-mini img {
    height: 40px;
    width: auto;
    display: block;
}
.logo-mini i { color: var(--accent); margin-right: 4px; }

.search-stats {
    color: var(--text-muted);
    font-size: 13px;
    margin: 4px 0 16px;
    padding: 0 2px;
}
.search-stats em { color: var(--text); font-style: normal; font-weight: 600; }

/* ===== Grid / Cards ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px 16px;
}
.vc {
    display: block;
    background: var(--card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--line);
    transition: border-color .2s, transform .2s, box-shadow .2s;
}
.vc:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}
.vc-cover {
    position: relative;
    aspect-ratio: 2 / 3;
    background: var(--bg-sub);
    overflow: hidden;
}
.vc-cover img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .3s ease;
}
.vc:hover .vc-cover img { transform: scale(1.04); }
.vc-badge {
    position: absolute;
    top: 8px; left: 8px;
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(0,0,0,.62);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    max-width: 90%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.vc-cat {
    position: absolute;
    top: 8px; right: 8px;
    padding: 2px 7px;
    border-radius: 6px;
    background: rgba(255,255,255,.92);
    color: var(--text-sub);
    font-size: 10.5px;
}
.vc-source {
    position: absolute;
    bottom: 6px; right: 6px;
    padding: 2px 7px;
    border-radius: 5px;
    background: rgba(22,119,255,.82);
    color: #fff;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.4;
    max-width: 90%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    backdrop-filter: blur(4px);
    pointer-events: none;
}
.vc-source-self {
    background: rgba(220,38,38,.88) !important;
}
.vc-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.12);
    opacity: 0;
    transition: opacity .2s;
}
.vc:hover .vc-play { opacity: 1; }
.vc-play i {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,.94);
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    padding-left: 3px;
    box-shadow: var(--shadow-md);
}
.vc-body { padding: 10px 11px 12px; }
.vc-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    color: var(--text);
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
.vc-meta {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}
.vc-meta .dot { color: var(--line-strong); }

/* ===== Skeleton ===== */
.skel-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px 16px;
}
/* ===== 骨架屏 ===== */
.skel-grid { position: relative; }
.skel {
    background: linear-gradient(90deg, var(--bg-soft) 25%, var(--bg-sub) 50%, var(--bg-soft) 75%);
    background-size: 200% 100%;
    animation: skel 1.6s ease infinite;
}
@keyframes skel { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ===== 骨架屏悬浮加载动画（GIF + 随机提示词） ===== */
.skel-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 80;
    gap: 18px;
}
.skel-gif {
    width: 200px;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,.08));
}
.skel-tip {
    min-height: 26px;
    font-size: 15px;
    font-weight: 500;
    color: #1f2937;
    letter-spacing: 0.5px;
    padding: 6px 16px;
    background: rgba(22,119,255,.08);
    border: 1px solid rgba(22,119,255,.18);
    color: #1677ff;
    border-radius: 20px;
    animation: skelTipFade .5s ease both;
}
@keyframes skelTipFade {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===== 搜索加载动画（蓝色圆环） ===== */
.search-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 18px;
}
.search-loading-ring {
    width: 52px; height: 52px;
    border: 3.5px solid #e6efff;
    border-top-color: #1677ff;
    border-right-color: #1677ff;
    border-radius: 50%;
    animation: searchSpin 1s linear infinite;
    box-sizing: border-box;
}
@keyframes searchSpin { to { transform: rotate(360deg); } }
.search-loading-tip {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    letter-spacing: 0.5px;
}
.search-loading-tip::after {
    content: '';
    display: inline-block;
    width: 0;
    animation: searchDots 1.4s steps(4) infinite;
    margin-left: 1px;
}
@keyframes searchDots {
    0%,20% { content: ''; }
    40%    { content: '.'; }
    60%    { content: '..'; }
    80%,100%{ content: '...'; }
}
.skel-card { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.skel-img { aspect-ratio: 2 / 3; }
.skel-txt { height: 14px; border-radius: 4px; margin: 12px 12px 6px; }
.skel-txt.s { height: 11px; width: 55%; margin-top: 0; }

.spinner {
    display: flex; align-items: center; justify-content: center;
    gap: 10px; padding: 44px 0;
    color: var(--text-muted); font-size: 13px;
}
.spinner::before {
    content: ''; width: 22px; height: 22px; border-radius: 50%;
    border: 2.5px solid var(--bg-sub);
    border-top-color: var(--accent);
    animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
}
.empty i {
    font-size: 52px;
    color: var(--line-strong);
    display: block;
    margin-bottom: 14px;
}
.empty p { font-size: 14px; margin: 0 0 4px; }
.empty small { font-size: 12.5px; color: var(--text-placeholder); }

/* ===== Pagination ===== */
.pager {
    display: flex;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
    margin-top: 40px;
}
.pg-btn {
    min-width: 34px;
    height: 34px;
    border-radius: var(--radius-xs);
    border: 1px solid var(--line-strong);
    background: #fff;
    color: var(--text-sub);
    font-size: 13px;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0 10px;
    cursor: pointer;
    transition: all .18s;
}
.pg-btn:hover:not(.act):not(.dot) {
    border-color: var(--accent);
    color: var(--accent);
}
.pg-btn.act {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.pg-btn.dot { border: none; background: transparent; cursor: default; }
.pg-btn i { font-size: 14px; }

/* ===== Play Page ===== */
.play-wrap {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 0 40px;
    background: var(--bg);
}
.pl-top {
    position: sticky;
    top: 0; z-index: 60;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.pl-back {
    width: 44px; height: 44px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: var(--text-sub);
    font-size: 18px;
    transition: all .18s;
    flex-shrink: 0;
}
.pl-back:hover { color: var(--accent); border-color: var(--accent); }
.pl-title {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pl-search-btn {
    flex-shrink: 0;
    padding: 0 14px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text-sub);
    font-size: 13.5px;
    cursor: pointer;
    display: inline-flex; align-items: center; gap: 5px;
    transition: all .18s;
}
.pl-search-btn:hover { color: var(--accent); border-color: var(--accent); }
.pl-search-btn i { font-size: 15px; }

.pl-main {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 20px;
    padding: 16px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Left side: player + info */
.pl-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

/* Right side: episodes */
.pl-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.player-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}
.player-wrap.is-portrait { overflow: hidden; }

.pl-info {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 18px;
}
.pl-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 8px;
    line-height: 1.4;
}
.pl-tagline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.pl-tag {
    padding: 3px 10px;
    border-radius: 6px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    color: var(--text-sub);
    font-size: 12px;
}
.pl-tag.sts {
    background: var(--accent-soft);
    color: var(--accent);
    border-color: transparent;
    font-weight: 500;
}
.pl-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px 16px;
    font-size: 13px;
    color: var(--text-muted);
    padding-top: 8px;
}
.pl-meta b { color: var(--text-sub); font-weight: 500; }

.pl-ep-nav {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.pl-ep-btn {
    padding: 7px 14px;
    border-radius: var(--radius-xs);
    border: 1px solid var(--line-strong);
    background: #fff;
    color: var(--text-sub);
    font-size: 13px;
    cursor: pointer;
    transition: all .18s;
    display: inline-flex; align-items: center; gap: 5px;
}
.pl-ep-btn:hover:not(:disabled) { color: var(--accent); border-color: var(--accent); }
.pl-ep-btn:disabled { opacity: .35; cursor: not-allowed; }
.pl-ep-btn i { font-size: 14px; }

.pl-section {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 16px;
}
.pl-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    gap: 10px;
    flex-wrap: wrap;
}
.pl-section-head h3 {
    margin: 0;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text);
}
.pl-section h3 .sub { color: var(--text-muted); font-weight: 400; font-size: 12.5px; margin-left: 6px; }

/* Smaller inline ep nav buttons (in right section header, top-right) */
.pl-ep-nav-inline {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}
.pl-ep-btn-sm {
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid var(--line-strong);
    background: #fff;
    color: var(--text-sub);
    font-size: 12px;
    cursor: pointer;
    transition: all .18s;
    line-height: 1.4;
}
.pl-ep-btn-sm:hover:not(:disabled) { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.pl-ep-btn-sm:disabled { opacity: .4; cursor: not-allowed; }
.pl-desc {
    font-size: 13.5px;
    color: var(--text-sub);
    line-height: 1.8;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pl-desc.open { -webkit-line-clamp: unset; display: block; }
.pl-more {
    margin-top: 10px;
    border: none; background: transparent;
    color: var(--accent); font-size: 12.5px;
    cursor: pointer; padding: 0;
}
.pl-more i { font-size: 14px; vertical-align: -2px; }

/* episode grid */
.ep-row-label {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.ep-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 8px;
}
.ep-btn {
    min-height: 38px;
    padding: 6px 8px;
    border-radius: var(--radius-xs);
    border: 1px solid var(--line-strong);
    background: #fff;
    color: var(--text-sub);
    font-size: 12.5px;
    font-weight: 500;
    cursor: pointer;
    transition: all .18s;
    text-align: center;
    line-height: 1.2;
    word-break: break-all;
}
.ep-btn:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.ep-btn.on {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* Scrollable episode list on right */
.pl-right .pl-section {
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    position: sticky;
    top: 70px;
}

/* Description section in left column */
.pl-desc-section {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 18px;
}

/* ===== Custom Video Player (dark; player only; rest page white) ===== */
.vp-inner { position: absolute; inset: 0; overflow: hidden; }
.vp-parse-iframe {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    border: 0; background: #000;
}
.vp-video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    background: #000; object-fit: contain;
    pointer-events: none;
}
.vp-loading, .vp-buffering {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    z-index: 5; color: rgba(255,255,255,.7); font-size: 13px;
    pointer-events: none; gap: 12px;
}
.vp-spinner {
    width: 40px; height: 40px; border-radius: 50%;
    border: 3px solid rgba(255,255,255,.15);
    border-top-color: var(--accent);
    animation: spin .8s linear infinite;
}
.vp-click-layer { position: absolute; inset: 0; z-index: 4; cursor: pointer; }
.vp-big-play {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    z-index: 6; pointer-events: auto; cursor: pointer;
}
.vp-big-play i {
    font-size: 40px; color: #fff;
    background: rgba(22,119,255,.78);
    border-radius: 50%;
    width: 64px; height: 64px;
    display: flex; align-items: center; justify-content: center;
    padding-left: 3px;
    box-shadow: 0 4px 22px rgba(0,0,0,.35);
    transition: transform .2s, background .2s;
}
.vp-big-play:hover i { background: var(--accent); }
.vp-unmute-tip {
    position: absolute; top: 14px; left: 50%;
    transform: translateX(-50%); z-index: 12;
    background: rgba(22,119,255,.9);
    color: #fff;
    font-size: 12.5px; padding: 7px 16px; border-radius: 20px;
    cursor: pointer; display: flex; align-items: center; gap: 5px;
    box-shadow: 0 4px 14px rgba(0,0,0,.22);
    white-space: nowrap;
}
.vp-speed-indicator {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%); z-index: 12;
    background: rgba(0,0,0,.72); color: #fff;
    font-size: 14px; font-weight: 600;
    padding: 9px 20px; border-radius: 22px;
    pointer-events: none;
    display: flex; align-items: center; gap: 7px;
}
.vp-controls {
    position: absolute; bottom: 0; left: 0; right: 0; z-index: 10;
    background: linear-gradient(transparent, rgba(0,0,0,.82));
    padding: 22px 12px 10px;
    opacity: 0;
    transition: opacity .25s;
}
.vp-controls.visible { opacity: 1; }
.vp-progress {
    position: relative;
    height: 18px;
    cursor: pointer;
    margin-bottom: 6px;
    touch-action: none;
    display: flex;
    align-items: center;
}
.vp-progress::before {
    content: '';
    position: absolute; left: 0; right: 0; top: 50%;
    height: 3px;
    transform: translateY(-50%);
    background: rgba(255,255,255,.18);
    border-radius: 2px;
    transition: height .15s;
}
.vp-progress:hover::before, .vp-progress:active::before { height: 5px; }
.vp-progress-buffered, .vp-progress-played {
    position: absolute; top: 50%; left: 0;
    height: 3px;
    transform: translateY(-50%);
    border-radius: 2px;
    pointer-events: none;
    transition: height .15s;
}
.vp-progress-buffered { background: rgba(255,255,255,.32); }
.vp-progress-played { background: var(--accent); }
.vp-progress:hover .vp-progress-buffered, .vp-progress:active .vp-progress-buffered,
.vp-progress:hover .vp-progress-played, .vp-progress:active .vp-progress-played { height: 5px; }
.vp-progress-thumb {
    position: absolute; top: 50%;
    width: 12px; height: 12px;
    background: var(--accent);
    border: 2px solid #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity .15s;
    pointer-events: none;
    z-index: 2;
}
.vp-progress:hover .vp-progress-thumb, .vp-progress:active .vp-progress-thumb { opacity: 1; }
.vp-progress-tip {
    position: absolute;
    bottom: 100%;
    transform: translateX(-50%);
    margin-bottom: 7px;
    background: rgba(0,0,0,.82);
    color: #fff;
    font-size: 11.5px;
    padding: 3px 7px;
    border-radius: 4px;
    pointer-events: none;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.vp-controls-row { display: flex; align-items: center; justify-content: space-between; }
.vp-controls-left, .vp-controls-right { display: flex; align-items: center; gap: 4px; }
.vp-btn {
    background: none; border: none; color: #fff;
    font-size: 18px;
    cursor: pointer;
    padding: 4px 7px;
    border-radius: 5px;
    transition: background .15s;
    display: flex; align-items: center; justify-content: center;
    -webkit-tap-highlight-color: transparent;
}
.vp-btn:hover { background: rgba(255,255,255,.12); }
.vp-text-btn {
    font-size: 12.5px !important;
    font-weight: 500;
    padding: 4px 10px;
    letter-spacing: .3px;
}
.vp-time {
    font-size: 11.5px;
    color: rgba(255,255,255,.8);
    margin-left: 6px;
    font-variant-numeric: tabular-nums;
    user-select: none;
}
.vp-menu-wrap { position: relative; }
.vp-popup {
    position: absolute;
    bottom: 100%; left: 50%;
    transform: translateX(-50%);
    margin-bottom: 8px;
    background: rgba(18,18,30,.96);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    padding: 5px;
    min-width: 88px;
    z-index: 20;
    box-shadow: 0 8px 30px rgba(0,0,0,.5);
}
.vp-popup-title {
    font-size: 10.5px;
    color: rgba(255,255,255,.35);
    padding: 4px 10px 6px;
    text-transform: uppercase;
    letter-spacing: .5px;
    user-select: none;
}
.vp-popup-item {
    padding: 6px 14px;
    font-size: 12.5px;
    color: rgba(255,255,255,.75);
    cursor: pointer;
    border-radius: 6px;
    white-space: nowrap;
    text-align: center;
    transition: background .15s, color .15s;
}
.vp-popup-item:hover { background: rgba(255,255,255,.08); color: #fff; }
.vp-popup-item.active { color: var(--accent); font-weight: 600; }
.vp-volume-wrap { display: flex; align-items: center; position: relative; }
.vp-volume-slider {
    width: 0;
    overflow: hidden;
    transition: width .25s ease;
    display: flex;
    align-items: center;
}
.vp-volume-wrap:hover .vp-volume-slider,
.vp-volume-wrap.expanded .vp-volume-slider {
    width: 72px; padding-right: 3px;
}
.vp-vol-range {
    -webkit-appearance: none; appearance: none;
    width: 68px; height: 3px;
    background: rgba(255,255,255,.22);
    border-radius: 2px; outline: none; cursor: pointer;
}
.vp-vol-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px; height: 12px;
    background: var(--accent);
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: pointer;
}
.vp-vol-range::-moz-range-thumb {
    width: 12px; height: 12px;
    background: var(--accent);
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: pointer;
}
.vp-top-bar {
    position: absolute; top: 0; left: 0; right: 0;
    z-index: 10;
    background: linear-gradient(rgba(0,0,0,.75), transparent);
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transition: opacity .25s;
    pointer-events: none;
}
.vp-top-bar.visible { opacity: 1; pointer-events: auto; }
.vp-top-title {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.player-wrap, .player-wrap *, .vp-click-layer, .vp-controls, .vp-controls *, .vp-top-bar, .vp-top-bar *, .vp-big-play, .vp-unmute-tip {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}
.player-wrap:fullscreen { background: #000; }
.player-wrap:fullscreen .vp-video { object-fit: contain; }
.player-wrap:fullscreen.is-portrait { overflow: hidden; }
.player-wrap:fullscreen.is-portrait .vp-inner {
    position: absolute;
    top: 50%; left: 50%;
    width: 100vh; height: 100vw;
    transform: translate(-50%, -50%) rotate(-90deg);
}
.vp-big-play i { box-shadow: 0 4px 22px rgba(0,0,0,.3); }

/* ===== Back To Top ===== */
.btt {
    position: fixed;
    bottom: 22px; right: 18px;
    width: 38px; height: 38px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--line-strong);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0; visibility: hidden;
    transform: translateY(10px);
    transition: all .25s;
    box-shadow: var(--shadow-sm);
    color: var(--text-sub);
}
.btt:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-1px); }
.btt.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .card-grid, .skel-grid { grid-template-columns: repeat(4, 1fr); }
    .pl-meta { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    :root { --radius-lg: 14px; }
    .card-grid, .skel-grid { grid-template-columns: repeat(3, 1fr); gap: 12px 10px; }
    .play-wrap { padding-bottom: 30px; }
    .pl-main { grid-template-columns: 1fr; padding: 12px; gap: 14px; }
    .pl-info { padding: 14px; }
    .pl-name { font-size: 17px; }
    .pl-meta { grid-template-columns: repeat(2, 1fr); font-size: 12.5px; }
    .pl-section { padding: 14px; }
    .ep-grid { grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); }
    .pl-top { padding: 9px 12px; gap: 10px; }
    .pl-title { font-size: 14.5px; }
    .pl-back { width: 40px; height: 40px; border-radius: 10px; }
    .pl-search-btn { height: 40px; border-radius: 10px; }
    .btt { width: 36px; height: 36px; border-radius: 10px; bottom: 18px; right: 14px; }

    /* Mobile: episode list not sticky, just inline */
    .pl-right .pl-section {
        max-height: none;
        overflow-y: visible;
        position: static;
    }

    /* Search page: remove top padding */
    .search-wrap { padding: 0 12px 40px; }
    .search-head { padding: 8px 0; margin: 0 -12px 12px; padding-left: 12px; padding-right: 12px; }
    .search-head-row { gap: 8px; }
    .search-head .ipt { height: 40px; font-size: 13px; padding: 0 64px 0 36px; }
    .search-head .ri { left: 12px; font-size: 14px; }
    .search-head .btn-prim { height: 32px; padding: 0 10px; font-size: 13px; }
    .search-head .btn-x { right: 40px; width: 22px; height: 22px; }
    .logo-mini img { height: 36px; }
}
@media (max-width: 560px) {
    .home-wrap { padding-top: 8vh; padding-bottom: 24px; }
    .home-title { font-size: 22px; margin-bottom: 6px; padding-top: 20px; }
    .home-subtitle { font-size: 13px; margin-bottom: 28px; }
    .home-search-in .ipt { height: 48px; font-size: 14px; padding: 0 88px 0 50px; }
    .home-search-in .btn-prim-in { width: 40px; height: 40px; }
    .home-search-in .btn-x { right: 54px; }
    .home-search-in .search-icon-anim { left: 16px; width: 20px; height: 20px; }
    .home-search-in .search-icon-anim i { font-size: 15px; }
    .home-anim-section { margin-top: 32px; }
    .home-anim-icons { gap: 20px; }
    .home-anim-icons i { font-size: 24px; }

    /* Mobile footer */
    .site-footer { padding-top: 36px; }
    .footer-links { font-size: 12px; padding: 14px 0 12px; }
    .footer-links .sep { margin: 0 5px; }
    .footer-notice { font-size: 11.5px; }
    .footer-copyright { font-size: 11px; }

    /* Mobile play: smaller inline buttons */
    .pl-section-head { gap: 8px; }
    .pl-ep-btn-sm { padding: 3px 8px; font-size: 11.5px; }

    .logo-mini { display: inline-flex; align-items: center; }
    .search-head .btn-prim { padding: 0 10px; }
    .search-stats { font-size: 12.5px; }

    .card-grid, .skel-grid { grid-template-columns: repeat(3, 1fr); gap: 10px 8px; }
    .vc-body { padding: 8px 8px 10px; }
    .vc-title { font-size: 12.5px; }
    .vc-meta { font-size: 11px; }
    .vc-play i { width: 40px; height: 40px; font-size: 20px; }

    .pg-btn { min-width: 32px; height: 32px; padding: 0 8px; font-size: 12.5px; }

    .pl-ep-nav { gap: 6px; }
    .pl-ep-btn { padding: 5px 11px; font-size: 12.5px; }
    .pl-search-btn span { display: none; }
    .pl-search-btn { padding: 0 10px; }

    .vp-time { font-size: 11px; margin-left: 4px; }
    .vp-btn { font-size: 17px; padding: 3px 6px; }
    .vp-text-btn { font-size: 12px !important; }
    .vp-popup { margin-bottom: 6px; padding: 4px; min-width: 74px; }
    .vp-popup-item { padding: 5px 10px; font-size: 12px; }
    .vp-progress { height: 22px; }
}
@media (max-width: 360px) {
    .card-grid, .skel-grid { grid-template-columns: repeat(3, 1fr); gap: 8px 6px; }
    .vc-title { font-size: 12px; }
}

/* ====== 顶部功能按钮（播放记录 / 关于本站） ====== */
.top-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.top-action-btn {
    flex-shrink: 0;
    padding: 0 14px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text-sub);
    font-size: 13.5px;
    cursor: pointer;
    display: inline-flex; align-items: center; gap: 5px;
    transition: all .18s;
}
.top-action-btn:hover { color: var(--accent); border-color: var(--accent); }
.top-action-btn i { font-size: 15px; }

/* ====== 通用弹窗遮罩 ====== */
.modal-mask {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.42);
    z-index: 9000;
    display: flex; align-items: center; justify-content: center;
    padding: 16px;
    animation: mmFade .18s ease;
}
@keyframes mmFade { from { opacity: 0 } to { opacity: 1 } }
.modal-card {
    background: #fff;
    border-radius: 14px;
    width: 100%;
    max-width: 560px;
    max-height: 80vh;
    display: flex; flex-direction: column;
    box-shadow: 0 10px 40px rgba(0,0,0,.16);
    overflow: hidden;
    animation: mmIn .22s cubic-bezier(.2,.8,.2,1);
}
@keyframes mmIn {
    from { opacity: 0; transform: translateY(12px) scale(.98) }
    to   { opacity: 1; transform: translateY(0) scale(1) }
}
.modal-head {
    padding: 18px 20px 14px;
    display: flex; align-items: center; justify-content: space-between;
    border-bottom: 1px solid var(--line);
}
.modal-head h3 {
    margin: 0;
    font-size: 16px; font-weight: 600; color: var(--text);
    display: flex; align-items: center; gap: 8px;
}
.modal-head h3 i { font-size: 18px; color: var(--accent); }
.modal-close {
    width: 30px; height: 30px;
    border: none; background: transparent;
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 18px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all .15s;
}
.modal-close:hover { background: var(--bg-sub); color: var(--text); }

.modal-body {
    padding: 16px 20px 20px;
    overflow-y: auto;
    color: var(--text-sub);
    font-size: 14px;
    line-height: 1.75;
}

/* 关于本站 */
.about-list { margin: 0; padding: 0; list-style: none; }
.about-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.about-list li:last-child { border-bottom: none; }
.about-list b { color: var(--text); font-weight: 600; margin-right: 8px; }
.about-tip {
    margin-top: 14px; padding: 12px 14px;
    background: var(--bg-soft); border-radius: 10px;
    color: var(--text-muted); font-size: 13px;
    line-height: 1.7;
}

/* ===== 关于页面（简约风格） ===== */
.about-wrap {
    max-width: 780px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}
.about-hero {
    text-align: center;
    margin-bottom: 36px;
    padding: 20px 0 10px;
}
.about-logo {
    width: 84px;
    height: 84px;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(22,119,255,.18);
}
.about-site-name {
    margin: 18px 0 6px;
    font-size: 26px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 1px;
}
.about-site-slogan {
    margin: 0;
    font-size: 14px;
    color: var(--text-muted);
    letter-spacing: .3px;
}
.about-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 14px;
    margin-bottom: 22px;
    overflow: hidden;
}
.about-card.warn {
    border-color: rgba(220,38,38,.22);
    background: linear-gradient(to bottom, rgba(220,38,38,.04), transparent 40%);
}
.about-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 22px 0;
}
.about-card-head i {
    width: 32px; height: 32px;
    border-radius: 9px;
    background: rgba(22,119,255,.1);
    color: #1677ff;
    font-size: 16px;
    display: flex; align-items: center; justify-content: center;
}
.about-card.warn .about-card-head i {
    background: rgba(220,38,38,.08);
    color: #dc2626;
}
.about-card-head h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
}
.about-card-body {
    padding: 18px 22px 22px;
    color: var(--text-sub);
    font-size: 14.5px;
    line-height: 1.9;
}
.about-card-body p {
    margin: 0 0 8px;
}
.about-card-body p:last-child { margin-bottom: 0; }
.about-quote {
    margin: 18px 0 14px !important;
    padding: 14px 16px;
    background: linear-gradient(90deg, rgba(22,119,255,.08), rgba(22,119,255,.02));
    border-left: 3px solid #1677ff;
    border-radius: 6px;
    color: #1677ff;
    font-weight: 500;
}
.about-bottom {
    margin-top: 16px;
    text-align: center;
}
.about-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 11px 28px;
    background: var(--text);
    color: #fff;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all .25s ease;
}
.about-btn:hover {
    background: #1677ff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(22,119,255,.3);
}

@media (max-width: 640px) {
    .about-wrap { padding: 24px 16px 44px; }
    .about-logo { width: 66px; height: 66px; border-radius: 16px; }
    .about-site-name { font-size: 22px; margin-top: 14px; }
    .about-site-slogan { font-size: 12.5px; }
    .about-card { border-radius: 12px; margin-bottom: 18px; }
    .about-card-head { padding: 14px 16px 0; }
    .about-card-head i { width: 28px; height: 28px; font-size: 14px; border-radius: 8px; }
    .about-card-head h2 { font-size: 16px; }
    .about-card-body { padding: 14px 16px 18px; font-size: 14px; line-height: 1.85; }
    .about-quote { padding: 12px 14px; font-size: 14px; }
    .about-btn { padding: 10px 24px; font-size: 13.5px; }
}

/* 播放记录 */
.record-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    font-size: 14px;
}
.record-empty i { font-size: 42px; display: block; margin-bottom: 10px; opacity: .5; }
.record-list { list-style: none; padding: 0; margin: 0; }
.record-item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    cursor: pointer;
    transition: background .15s;
}
.record-item:last-child { border-bottom: none; }
.record-item:hover { background: var(--bg-soft); margin: 0 -6px; padding-left: 6px; padding-right: 6px; border-radius: 8px; }
.record-cover {
    width: 44px; height: 62px;
    border-radius: 6px;
    background: var(--bg-sub);
    object-fit: cover;
    flex-shrink: 0;
}
.record-cover-placeholder {
    width: 44px; height: 62px;
    border-radius: 6px;
    background: var(--bg-sub);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); font-size: 16px;
    flex-shrink: 0;
}
.record-info { flex: 1; min-width: 0; }
.record-name {
    font-weight: 600; color: var(--text); font-size: 14px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.record-meta {
    margin-top: 4px;
    font-size: 12px; color: var(--text-muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.record-del {
    flex-shrink: 0;
    width: 28px; height: 28px;
    border: none; background: transparent;
    border-radius: 6px;
    color: var(--text-muted);
    font-size: 15px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all .15s;
}
.record-del:hover { background: #ffe5e5; color: #e03e3e; }

.modal-foot {
    padding: 12px 20px 18px;
    display: flex; justify-content: space-between; align-items: center;
    border-top: 1px solid var(--line);
}
.modal-foot .foot-left { font-size: 13px; color: var(--text-muted); }
.modal-foot .foot-right { display: flex; gap: 8px; }
.btn-clear {
    padding: 0 14px; height: 34px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: #fff; color: var(--text-sub);
    font-size: 13px; cursor: pointer;
    display: inline-flex; align-items: center; gap: 5px;
    transition: all .15s;
}
.btn-clear:hover { color: #e03e3e; border-color: #ffc9c9; background: #fff5f5; }

/* ====== 广告声明弹窗（右下角） ====== */
.ad-notice {
    position: fixed;
    bottom: 16px; right: 16px;
    z-index: 8000;
    width: 300px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,.12);
    overflow: hidden;
    border: 1px solid var(--line);
}
.ad-notice-head {
    display: flex; align-items: center; gap: 6px;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 13px; font-weight: 600; color: var(--text);
    background: linear-gradient(135deg, #fff5f5, #fff);
    transition: background .15s;
}
.ad-notice-head:hover { background: linear-gradient(135deg, #ffeded, #fafafa); }
.ad-notice-head i { font-size: 16px; color: #dc2626; }
.ad-notice-head span { flex: 1; }
.ad-notice-arrow { font-size: 18px; color: var(--text-muted); transition: transform .2s; }

.ad-notice-body {
    padding: 12px 14px;
    font-size: 12.5px;
    line-height: 1.7;
    color: var(--text-sub);
}
.ad-notice-body p { margin: 0 0 8px; }
.ad-notice-body p:last-child { margin-bottom: 0; }
.ad-notice-body b { color: var(--text); font-weight: 600; }
.ad-notice-body .ad-self { color: #dc2626; }
.ad-notice-body .ad-warn { color: #b91c1c; }
.ad-notice-body .ad-warn b { color: #dc2626; }

@media (max-width: 640px) {
    .ad-notice { width: calc(100vw - 24px); bottom: 12px; right: 12px; }
    .ad-notice-body { font-size: 12px; line-height: 1.65; }
}

@media (max-width: 640px) {
    .top-action-btn { padding: 0 10px; height: 40px; font-size: 12.5px; }
    .top-action-btn span { display: none; }
    .modal-card { border-radius: 12px; }
    .modal-head { padding: 14px 16px 12px; }
    .modal-body { padding: 12px 16px 16px; }
    .modal-foot { padding: 10px 16px 14px; }
}

/* ====== 友情链接页面 ====== */
.links-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 40px;
}
.links-title-bar {
    display: flex; align-items: center; gap: 8px;
    flex: 1;
    font-size: 15px; font-weight: 600; color: var(--text);
}
.links-title-bar i {
    color: #1677ff;
    font-size: 18px;
}

.links-hero {
    text-align: center;
    padding: 36px 10px 28px;
}
.links-hero h2 {
    margin: 0 0 12px;
    font-size: 26px; font-weight: 700; color: var(--text);
    letter-spacing: 1px;
}
.links-hero p {
    margin: 0;
    font-size: 14.5px; color: var(--text-muted);
    line-height: 1.9;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}
.link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 16px 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    text-decoration: none;
    transition: all .25s ease;
    color: var(--text);
    position: relative;
    overflow: hidden;
}
.link-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1677ff, #4096ff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}
.link-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(22,119,255,.14);
    border-color: rgba(22,119,255,.28);
}
.link-card:hover::after { transform: scaleX(1); }

.link-logo {
    width: 64px; height: 64px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 20px; font-weight: 700;
    box-shadow: 0 6px 16px rgba(0,0,0,.12);
    margin-bottom: 14px;
    letter-spacing: 1px;
}
.link-name {
    font-size: 15px; font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}
.link-desc {
    font-size: 12.5px;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 100%;
}

/* 申请友情链接卡片 */
.links-apply {
    margin-top: 28px;
}
.apply-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 28px;
    background: linear-gradient(135deg, rgba(22,119,255,.06), rgba(22,119,255,.02));
    border: 1px dashed rgba(22,119,255,.28);
    border-radius: 16px;
}
.apply-card > i {
    width: 48px; height: 48px;
    flex-shrink: 0;
    border-radius: 14px;
    background: #1677ff;
    color: #fff;
    font-size: 22px;
    display: flex; align-items: center; justify-content: center;
}
.apply-info { flex: 1; min-width: 0; }
.apply-info h3 {
    margin: 0 0 4px;
    font-size: 16px; font-weight: 600; color: var(--text);
}
.apply-info p {
    margin: 0;
    font-size: 13px; color: var(--text-muted);
    line-height: 1.6;
}
.apply-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center; gap: 6px;
    padding: 10px 20px;
    background: #1677ff;
    color: #fff !important;
    border-radius: 10px;
    font-size: 14px; font-weight: 500;
    text-decoration: none;
    transition: all .2s ease;
}
.apply-btn:hover {
    background: #0e5fd8;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(22,119,255,.3);
}

@media (max-width: 640px) {
    .links-wrap { padding: 0 14px 30px; }
    .links-hero { padding: 24px 6px 20px; }
    .links-hero h2 { font-size: 20px; }
    .links-hero p { font-size: 13px; line-height: 1.8; }
    .links-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px;
    }
    .link-card { padding: 18px 10px 14px; border-radius: 12px; }
    .link-logo { width: 52px; height: 52px; border-radius: 13px; font-size: 16px; margin-bottom: 10px; }
    .link-name { font-size: 13.5px; }
    .link-desc { font-size: 11.5px; }

    .apply-card {
        flex-direction: column;
        gap: 14px;
        text-align: center;
        padding: 18px 16px;
    }
    .apply-card > i { width: 44px; height: 44px; font-size: 20px; }
    .apply-btn { width: 100%; justify-content: center; }
}

/* ====== 关于页面 V2（简约风格） ====== */
.about-wrap-v2 {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 20px 40px;
    background: #fff;
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
}

.about-section {
    background: #fff;
    border: none;
    border-radius: 16px;
    padding: 28px 4px;
    margin-bottom: 8px;
}

.sec-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: .3px;
}
.sec-hash {
    color: var(--accent);
    font-weight: 700;
    font-size: 22px;
}
.sec-date {
    margin: 0 0 18px;
    font-size: 12.5px;
    color: var(--text-muted);
    padding-bottom: 14px;
    border-bottom: 1px dashed var(--line);
}
.sec-body {
    color: #3a3d44;
    font-size: 14.5px;
    line-height: 1.9;
}
.sec-body p {
    margin: 0 0 10px;
}
.sec-body p:last-child { margin-bottom: 0; }
.sec-highlight {
    margin: 14px 0 !important;
    padding: 12px 16px;
    background: linear-gradient(90deg, rgba(22,119,255,.06), rgba(22,119,255,.01));
    border-left: 3px solid var(--accent);
    border-radius: 8px;
    color: var(--accent);
    font-weight: 600;
    font-size: 15px;
}

.sec-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
}
.sec-list li {
    position: relative;
    padding: 10px 0 10px 22px;
    color: #3a3d44;
    font-size: 14.5px;
    line-height: 1.85;
}
.sec-list li:last-child { margin-bottom: 0; }
.sec-list li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 19px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

/* 友情链接芯片 */
.friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}
.friend-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 6px 6px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    text-decoration: none;
    color: var(--text);
    transition: all .22s ease;
}
.friend-chip:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(22,119,255,.12);
}
.friend-logo {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    flex-shrink: 0;
    object-fit: cover;
    background: var(--bg-soft);
    border: 1px solid var(--line);
}
.friend-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
}
.friend-chip:hover .friend-name { color: var(--accent); }

.friend-apply {
    margin: 0;
    padding-top: 18px;
    border-top: 1px dashed var(--line);
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.7;
    text-align: center;
}
.friend-apply a {
    color: var(--accent);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px dashed var(--accent);
    transition: opacity .18s;
}
.friend-apply a:hover { opacity: .7; }

/* about 页面 顶部搜索栏微调 */
.about-wrap-v2 .search-head {
    margin: 0 -20px 20px;
    padding-left: 20px;
    padding-right: 20px;
}
.about-footer {
    margin-top: auto !important;
    text-align: center;
    padding-top: 40px;
}

/* ====== 响应式：关于页面 V2 ====== */
@media (max-width: 768px) {
    .about-wrap-v2 { padding: 0 16px 30px; }
    .about-section { padding: 20px 18px; border-radius: 14px; margin-bottom: 18px; }
    .sec-title { font-size: 19px; }
    .sec-hash { font-size: 19px; }
    .sec-body { font-size: 14px; line-height: 1.85; }
    .sec-list li { font-size: 14px; padding: 10px 0 10px 20px; }
    .about-wrap-v2 .search-head { margin: 0 -16px 16px; padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 640px) {
    /* 手机端：友链强制一行3个 */
    .friend-links {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px 8px;
    }
    .friend-chip {
        width: 100%;
        padding: 6px 8px 6px 6px;
        gap: 6px;
        justify-content: flex-start;
    }
    .friend-logo { width: 22px; height: 22px; border-radius: 5px; }
    .friend-name { font-size: 12.5px; }
}
@media (max-width: 480px) {
    .about-section { padding: 16px 14px; }
    .sec-title { font-size: 17px; }
    .sec-hash { font-size: 17px; }
    .sec-date { font-size: 12px; margin-bottom: 14px; }
    .sec-body { font-size: 13.5px; }
    .friend-links { gap: 8px 6px; }
    .friend-chip { padding: 5px 6px 5px 4px; gap: 5px; }
    .friend-logo { width: 20px; height: 20px; border-radius: 4px; }
    .friend-name { font-size: 12px; }
    .friend-apply { font-size: 12.5px; }
}
