@charset "UTF-8";
/* ============================================================
 * 短剧推荐主题 「STAGE」
 * 海报墙 + 演员中心 + 电影 Hero
 * 设计语言：黑底 + 单色高亮 + 大量负空间 + 影院感排版
 * ============================================================ */

:root {
    --bg:        #050505;
    --bg-1:      #0d0d0d;
    --bg-2:      #161616;
    --bg-3:      #1f1f1f;
    --bg-4:      #2a2a2a;
    --line:      rgba(255, 255, 255, 0.06);
    --line-2:    rgba(255, 255, 255, 0.12);
    --text:      #f5f5f5;
    --text-2:    #999999;
    --text-3:    #555555;
    --accent:    #ff3b30;       /* 短剧红 */
    --accent-2:  #ff6b3d;       /* 渐变收尾 */
}

* { box-sizing: border-box; }
html, body { background: var(--bg); }

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

a { color: var(--text); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }

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

.text-muted { color: var(--text-3) !important; }
.container { max-width: 1280px; padding: 0 24px; }
.dj-main { padding: 20px 0 60px; }
.dj-main-tight { padding: 16px 0 60px; }
.dj-section { margin-bottom: 48px; }

/* ============================================================
 * 顶部 Topbar - 极简黑底
 * ============================================================ */
.dj-topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: 64px;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--line);
}
.dj-topbar .container {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 40px;
}
.dj-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text);
    flex-shrink: 0;
}
.dj-logo:hover { color: var(--text); }
.dj-logo-mark {
    color: var(--accent);
    font-size: 16px;
    line-height: 1;
}
.dj-logo-text {
    text-transform: uppercase;
}
.dj-nav {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 32px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.dj-nav::-webkit-scrollbar { display: none; }
.dj-nav-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-2) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    padding: 8px 0;
    position: relative;
}
.dj-nav-link:hover, .dj-nav-link.is-active {
    color: var(--text) !important;
}
.dj-nav-link.is-active::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: var(--accent);
}
.dj-topbar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}
.dj-topbar-search {
    width: 40px; height: 40px;
    border: 1px solid var(--line-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-2);
    flex-shrink: 0;
}
.dj-topbar-search:hover {
    color: var(--accent);
    border-color: var(--accent);
}
.dj-hamburger {
    display: none;
    width: 40px; height: 40px;
    border: 1px solid var(--line-2);
    border-radius: 50%;
    background: transparent;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 0;
}
.dj-hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
    border-radius: 1px;
    transition: all 0.3s;
}

/* 移动端抽屉菜单 */
.dj-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.dj-drawer-overlay.is-open {
    opacity: 1;
    visibility: visible;
}
.dj-drawer {
    position: fixed;
    top: 0; right: 0;
    width: 300px;
    max-width: 80vw;
    height: 100vh;
    background: var(--bg-1);
    border-left: 1px solid var(--line);
    z-index: 210;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.dj-drawer.is-open {
    transform: translateX(0);
}
.dj-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
}
.dj-drawer-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
}
.dj-drawer-close {
    width: 32px; height: 32px;
    background: transparent;
    border: 1px solid var(--line-2);
    border-radius: 50%;
    color: var(--text-2);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.dj-drawer-close:hover {
    color: var(--accent);
    border-color: var(--accent);
}
.dj-drawer-nav {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}
.dj-drawer-link {
    display: block;
    padding: 14px 24px;
    color: var(--text-2) !important;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    text-decoration: none !important;
}
.dj-drawer-link:hover, .dj-drawer-link.is-active {
    color: var(--text) !important;
    background: var(--bg-2);
    padding-left: 28px;
}
.dj-drawer-section {
    padding: 20px 24px;
}
.dj-drawer-section-title {
    font-size: 11px;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    font-weight: 600;
}
.dj-drawer-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.dj-drawer-cat {
    padding: 6px 14px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    color: var(--text-2) !important;
    font-size: 12px;
    border-radius: 2px;
    transition: all 0.2s;
    text-decoration: none !important;
}
.dj-drawer-cat:hover, .dj-drawer-cat.is-active {
    background: var(--accent);
    color: #fff !important;
    border-color: var(--accent);
}

@media (max-width: 768px) {
    .dj-topbar .container { gap: 16px; }
    .dj-nav { display: none; }
    .dj-hamburger { display: flex; }
    .dj-nav-link { font-size: 12px; }
}

body { padding-top: 64px; }

/* ============================================================
 * Hero 全屏区
 * ============================================================ */
.dj-home-hero {
    position: relative;
    height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg);
    margin-bottom: 40px;
}
.dj-home-hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}
.dj-home-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
}
.dj-home-hero-slide.is-active {
    opacity: 1;
    z-index: 2;
}
.dj-home-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}
.dj-home-hero-mask {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 5, 5, 0.95) 0%, rgba(5, 5, 5, 0.6) 50%, rgba(5, 5, 5, 0.3) 100%),
        linear-gradient(180deg, transparent 0%, rgba(5, 5, 5, 0.3) 75%, var(--bg) 100%);
    z-index: 1;
}
.dj-home-hero-slide .container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 40px 24px;
}
.dj-home-hero-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: center;
    width: 100%;
}
@media (max-width: 768px) {
    .dj-home-hero { height: auto; min-height: 480px; margin-bottom: 24px; }
    .dj-home-hero-slides { min-height: 480px; }
    .dj-home-hero-slide { position: relative; height: auto; }
    .dj-home-hero-slide:not(.is-active) { display: none; }
    .dj-home-hero-slide .container { padding: 40px 24px; height: auto; }
    .dj-home-hero-grid { grid-template-columns: 1fr; gap: 24px; }
}
.dj-home-hero-poster {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    max-height: 440px;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
}
.dj-home-hero-poster img { width: 100%; height: 100%; object-fit: cover; }
.dj-home-hero-poster-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(ellipse at center, rgba(255, 59, 48, 0.3) 0%, transparent 60%);
    z-index: -1;
    filter: blur(40px);
}
.dj-home-hero-info { min-width: 0; }
.dj-home-hero-eyebrow {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.dj-home-hero-title {
    font-size: 36px;
    font-weight: 900;
    color: var(--text);
    margin: 0 0 12px 0;
    line-height: 1.2;
    letter-spacing: -1px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-height: calc(36px * 1.2 * 2);
}
@media (max-width: 768px) { .dj-home-hero-title { font-size: 24px; max-height: calc(24px * 1.2 * 2); } }
.dj-home-hero-director {
    color: var(--text-2);
    font-size: 13px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.dj-home-hero-director span { color: var(--text); font-weight: 600; }
.dj-home-hero-meta { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.dj-home-hero-chip {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    color: var(--text);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.dj-home-hero-chip-alt {
    padding: 4px 10px;
    background: transparent;
    color: var(--text-2);
    font-size: 11px;
    border: 1px solid var(--line-2);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.dj-home-hero-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-2);
    margin: 0 0 16px 0;
    max-width: 600px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.dj-home-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: var(--accent);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 2px;
    transition: all 0.2s;
    text-decoration: none !important;
}
.dj-home-hero-btn:hover {
    background: #fff;
    color: var(--bg) !important;
    transform: translateX(4px);
    box-shadow: 0 0 32px rgba(255, 59, 48, 0.4);
}
.dj-home-hero-btn-icon {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

/* 分类页 Hero - 隐藏 */
.dj-cat-hero {
    display: block;
    padding: 80px 0 60px;
    background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg) 100%);
    border-bottom: 1px solid var(--line);
    text-align: center;
}
.dj-cat-hero-eyebrow {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.dj-cat-hero-title {
    font-size: 48px;
    font-weight: 900;
    color: var(--text);
    margin: 0 0 16px 0;
    line-height: 1.1;
    letter-spacing: -2px;
}
.dj-cat-hero-desc {
    font-size: 15px;
    color: var(--text-2);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}
@media (max-width: 768px) {
    .dj-cat-hero { padding: 60px 0 40px; }
    .dj-cat-hero-title { font-size: 32px; }
}

/* 分类标签栏 - 无背景无线条 */
.dj-cat-tabs {
    padding: 24px 0 16px;
    background: none !important;
    border: 0 !important;
    border-bottom: 0 !important;
    border-top: 0 !important;
}
.dj-cat-tabs::before,
.dj-cat-tabs::after {
    display: none !important;
}
.dj-cat-tabs-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0 28px;
}
.dj-cat-tab {
    position: relative;
    padding: 8px 0;
    color: var(--text-2) !important;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    text-decoration: none !important;
    white-space: nowrap;
    background: none !important;
    border: 0 !important;
}
.dj-cat-tab:hover {
    color: var(--text) !important;
}
.dj-cat-tab.is-active {
    color: var(--accent) !important;
    font-weight: 700;
}
.dj-cat-tab.is-active::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    bottom: 0;
    height: 2px;
    background: var(--accent);
}
/* 桌面端/移动端切换 */
.dj-cat-tabs-wrap-mobile { display: none; }
.dj-cat-tabs-wrap-desktop { display: flex; }

@media (max-width: 768px) {
    .dj-cat-tabs-wrap-mobile { display: flex; }
    .dj-cat-tabs-wrap-desktop { display: none; }
    .dj-cat-tabs { 
        padding: 16px 0 16px; 
        background: none !important; 
        border: 0 !important;
        border-bottom: 0 !important;
        border-top: 0 !important;
        margin-bottom: 8px;
    }
    .dj-cat-tabs-wrap {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 0 20px;
    }
    .dj-cat-tabs-wrap::-webkit-scrollbar { display: none; }
    .dj-cat-tab { font-size: 13px; padding: 6px 0; }
    .dj-main-tight { padding-top: 24px; }
}
.dj-actor-page-name {
    font-size: 64px;
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1;
    color: var(--text);
    margin: 0 0 24px 0;
}
.dj-actor-page-eyebrow { padding-left: 0; }
.dj-actor-page-eyebrow::before { display: none; }

@media (max-width: 768px) {
    .dj-home-hero, .dj-cat-hero, .dj-actor-hero { padding: 48px 0 40px; }
    .dj-home-hero-title, .dj-cat-hero-title, .dj-actor-hero-title { font-size: 32px; }
    .dj-actor-page-name { font-size: 40px; }
}

/* ============================================================
 * 短剧卡片 - 海报墙
 * ============================================================ */
.dj-poster-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px 16px;
}
.dj-poster-grid-lg {
    grid-template-columns: repeat(4, 1fr);
}
.dj-poster-grid-hero {
    grid-template-columns: repeat(4, 1fr);
    margin-top: 32px;
}
@media (max-width: 1200px) {
    .dj-poster-grid { grid-template-columns: repeat(5, 1fr); }
    .dj-poster-grid-lg, .dj-poster-grid-hero { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .dj-poster-grid, .dj-poster-grid-lg, .dj-poster-grid-hero { grid-template-columns: repeat(3, 1fr); gap: 16px 8px; }
}
@media (max-width: 480px) {
    .dj-poster-grid { grid-template-columns: repeat(2, 1fr); }
    .dj-poster-grid-lg, .dj-poster-grid-hero { grid-template-columns: repeat(2, 1fr); }
}

.dj-card {
    display: block;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.dj-card:hover { transform: translateY(-4px); }
.dj-card-poster {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: var(--bg-2);
    border-radius: 2px;
}
.dj-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.3s ease;
}
.dj-card:hover .dj-card-img {
    transform: scale(1.06);
    filter: brightness(0.7);
}
.dj-card-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.9) 100%);
    opacity: 0.6;
    transition: opacity 0.3s;
    pointer-events: none;
}
.dj-card:hover .dj-card-shade { opacity: 1; }
.dj-card-cat {
    position: absolute;
    top: 8px; left: 8px;
    padding: 3px 8px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    color: var(--text);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 1px;
    z-index: 2;
}
.dj-card-rating {
    position: absolute;
    bottom: 8px; right: 8px;
    padding: 2px 6px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--text-2);
    font-size: 10px;
    border-radius: 1px;
    z-index: 2;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.dj-card-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 2;
    pointer-events: none;
}
.dj-card:hover .dj-card-play { opacity: 1; }
.dj-card-play-icon {
    width: 56px; height: 56px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    padding-left: 4px;
    box-shadow: 0 0 32px rgba(255, 59, 48, 0.6);
}
.dj-card-body {
    padding: 12px 0 0 0;
}
.dj-card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 4px 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
.dj-card:hover .dj-card-title { color: var(--accent); }
.dj-card-actor {
    font-size: 11px;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================================
 * 详情页 Hero - 全屏海报背景
 * ============================================================ */
.dj-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    overflow: hidden;
}
.dj-hero-mask {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 5, 5, 0.95) 0%, rgba(5, 5, 5, 0.6) 50%, rgba(5, 5, 5, 0.3) 100%),
        linear-gradient(180deg, transparent 0%, rgba(5, 5, 5, 0.3) 75%, var(--bg) 100%);
    z-index: 1;
}
.dj-hero .container { position: relative; z-index: 2; }
.dj-hero-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 60px;
    align-items: center;
    padding: 24px 0;
}
@media (max-width: 768px) {
    .dj-hero { min-height: auto; margin-bottom: 24px; }
    .dj-hero-grid { grid-template-columns: 1fr; gap: 24px; padding: 16px 0; }
    .dj-main { padding: 0 0 60px; }
    .dj-main .container > .dj-section:first-child { margin-top: 0; }
}
.dj-hero-poster {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
}
.dj-hero-poster img { width: 100%; height: 100%; object-fit: cover; }
.dj-hero-poster-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(ellipse at center, rgba(255, 59, 48, 0.3) 0%, transparent 60%);
    z-index: -1;
    filter: blur(40px);
}
.dj-hero-eyebrow {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.dj-hero-title {
    font-size: 56px;
    font-weight: 900;
    color: var(--text);
    margin: 0 0 20px 0;
    line-height: 1.05;
    letter-spacing: -2px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}
@media (max-width: 768px) { .dj-hero-title { font-size: 32px; } }
.dj-hero-director {
    color: var(--text-2);
    font-size: 14px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.dj-hero-director span { color: var(--text); font-weight: 600; }
.dj-hero-meta { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.dj-hero-chip {
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    color: var(--text) !important;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s;
}
.dj-hero-chip:hover {
    background: var(--accent) !important;
    color: #fff !important;
    border-color: var(--accent);
}
.dj-hero-chip-alt {
    padding: 5px 12px;
    background: transparent;
    color: var(--text-2);
    font-size: 11px;
    border: 1px solid var(--line-2);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.dj-hero-desc {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-2);
    margin: 0 0 12px 0;
    max-width: 600px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.dj-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--accent);
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 2px;
    transition: all 0.2s;
    border: 0;
}
.dj-hero-btn:hover {
    background: #fff;
    color: var(--bg) !important;
    transform: translateX(4px);
    box-shadow: 0 0 32px rgba(255, 59, 48, 0.4);
}
.dj-hero-btn-icon {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}
.dj-hero-btn:hover .dj-hero-btn-icon { background: var(--bg); color: #fff; }

/* 播放按钮 - 短剧广告跳转 */
.dj-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 2px;
    transition: all 0.25s;
    text-decoration: none !important;
    margin-top: 16px;
    box-shadow: 0 4px 20px rgba(255, 59, 48, 0.35);
}
.dj-play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255, 59, 48, 0.55);
    color: #fff !important;
}
.dj-play-icon {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    padding-left: 2px;
}

/* ============================================================
 * Section 通用
 * ============================================================ */
.dj-section { margin-bottom: 60px; }
.dj-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}
.dj-section-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--text);
    margin: 0;
    letter-spacing: -0.5px;
    position: relative;
    padding-left: 16px;
}
.dj-section-title::before {
    content: "";
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 4px; height: 20px;
    background: var(--accent);
}
.dj-section-sub {
    font-size: 12px;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.dj-section-more {
    font-size: 12px;
    color: var(--text-2) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s;
}
.dj-section-more:hover { color: var(--accent) !important; }

/* ============================================================
 * 集数网格
 * ============================================================ */
.dj-episode-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
@media (max-width: 768px) {
    .dj-episode-grid { grid-template-columns: repeat(2, 1fr); }
}
.dj-episode {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-1);
    border: 1px solid var(--line);
    color: var(--text) !important;
    font-size: 13px;
    transition: all 0.2s;
    overflow: hidden;
}
.dj-episode:hover {
    background: var(--bg-2);
    border-color: var(--accent);
    color: var(--text) !important;
    padding-left: 20px;
}
.dj-episode-num {
    color: var(--accent);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    flex-shrink: 0;
}
.dj-episode-title {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ============================================================
 * 精彩节选
 * ============================================================ */
.dj-excerpt {
    color: var(--text-2);
    font-size: 15px;
    line-height: 1.9;
    max-height: 360px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.4s ease;
}
.dj-excerpt.dj-desc-expanded {
    max-height: 4000px;
    overflow: visible;
}
.dj-excerpt-toggle {
    display: none;
    margin-top: 16px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: transparent;
    border: 0;
    padding: 8px 0;
    cursor: pointer;
    align-items: center;
    gap: 6px;
}
.dj-excerpt-toggle:hover { color: #fff; }
.dj-excerpt-toggle .icon {
    display: inline-block;
    transition: transform 0.2s;
    font-size: 10px;
}
.dj-excerpt-toggle.dj-desc-expanded .icon { transform: rotate(180deg); }


/* ============================================================
 * 原著小说卡 (bookDetail)
 * ============================================================ */
.dj-novel-card {
    display: flex;
    align-items: stretch;
    gap: 0;
    background: var(--bg-2);
    border: 1px solid var(--line-1);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.25s;
}
.dj-novel-card:hover {
    border-color: var(--accent);
    background: var(--bg-3);
    box-shadow: 0 8px 24px rgba(255, 59, 48, 0.15);
}
.dj-novel-cover {
    flex-shrink: 0;
    width: 140px;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #000;
    position: relative;
}
.dj-novel-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}
.dj-novel-card:hover .dj-novel-cover img { transform: scale(1.05); }
.dj-novel-info {
    flex: 1;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-width: 0;
}
.dj-novel-info-main {
    flex: 1;
    min-width: 0;
}
.dj-novel-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 14px 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dj-novel-card:hover .dj-novel-title { color: var(--accent); }
.dj-novel-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.dj-novel-meta-row {
    font-size: 12px;
}
.dj-novel-meta-label { display: none; }
.dj-novel-chip {
    padding: 0;
    background: transparent !important;
    color: var(--text-2);
    font-size: 12px;
    font-weight: 500;
    border: 0 !important;
}
.dj-novel-chip-status {
    color: var(--accent);
    border: 0 !important;
    background: transparent !important;
}
.dj-novel-status-连载中,
.dj-novel-status-更新中 { color: var(--cyan); border: 0 !important; background: transparent !important; }
.dj-novel-status-已完结,
.dj-novel-status-完结 { color: var(--text-3); border: 0 !important; background: transparent !important; }
.dj-novel-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: var(--accent);
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 0;
    border-radius: 2px;
    transition: all 0.2s;
    text-decoration: none !important;
    white-space: nowrap;
}
.dj-novel-btn:hover {
    background: #fff;
    color: var(--bg) !important;
    box-shadow: 0 0 18px rgba(255, 59, 48, 0.3);
}
.dj-novel-card:hover .dj-novel-btn {
    background: #fff;
    color: var(--bg) !important;
}
@media (max-width: 575.98px) {
    .dj-novel-cover { width: 100px; }
    .dj-novel-info { padding: 14px 16px; gap: 14px; flex-wrap: wrap; }
    .dj-novel-title { font-size: 15px; }
    .dj-novel-btn { padding: 10px 20px; font-size: 11px; }
}

/* ============================================================
 * 演员圆头像 + 卡片
 * ============================================================ */
.dj-cast {
    margin-top: 40px;
}
.dj-cast-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.dj-cast-row-inline { gap: 10px; }
.dj-cast-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 64px;
    text-align: center;
    transition: transform 0.2s;
}
.dj-cast-item:hover { transform: translateY(-3px); }
.dj-cast-item-sm { width: 48px; }
.dj-cast-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    font-family: -apple-system, sans-serif;
    flex-shrink: 0;
    border: 2px solid var(--bg);
    box-shadow: 0 0 0 1px var(--line-2);
    transition: all 0.2s;
    overflow: hidden;
    line-height: 1;
    text-overflow: clip;
    white-space: nowrap;
    padding: 0 2px;
}
.dj-cast-avatar-sm { width: 36px; height: 36px; font-size: 14px; }
.dj-cast-item:hover .dj-cast-avatar {
    box-shadow: 0 0 0 2px var(--accent), 0 0 24px rgba(255, 59, 48, 0.4);
}
.dj-cast-name {
    font-size: 11px;
    color: var(--text-2) !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    line-height: 1.3;
}
.dj-cast-item:hover .dj-cast-name { color: var(--text) !important; }

.dj-reader-cast {
    margin-top: 60px;
    padding: 24px 0;
    border-top: 1px solid var(--line);
}
.dj-reader-cast-label {
    display: block;
    font-size: 11px;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

/* 章节页底部短剧信息卡 */
.dj-reader-info-card {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}
.dj-reader-info-link {
    display: flex;
    align-items: stretch;
    gap: 0;
    background: var(--bg-2);
    border: 1px solid var(--line-1);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.25s;
    text-decoration: none !important;
    color: var(--text) !important;
}
.dj-reader-info-link:hover {
    border-color: var(--accent);
    background: var(--bg-3);
    box-shadow: 0 8px 24px rgba(255, 59, 48, 0.15);
    transform: translateY(-2px);
    color: var(--text) !important;
}
.dj-reader-info-cover {
    flex-shrink: 0;
    width: 110px;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #000;
    position: relative;
}
.dj-reader-info-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}
.dj-reader-info-link:hover .dj-reader-info-cover img { transform: scale(1.05); }
.dj-reader-info-body {
    flex: 1;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.dj-reader-info-eyebrow {
    font-size: 10px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 4px;
}
.dj-reader-info-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 6px 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: "PlayfairLocal", Georgia, "STZhongsong", "SimSun", "宋体", serif;
}
.dj-reader-info-link:hover .dj-reader-info-title { color: var(--accent); }
.dj-reader-info-desc {
    font-size: 11px;
    color: var(--text-2);
    line-height: 1.5;
    margin: 0 0 6px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-height: 33px;
}
.dj-reader-info-arrow {
    font-size: 10px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    transition: gap 0.2s;
}
.dj-reader-info-link:hover .dj-reader-info-arrow { color: #fff; }
@media (max-width: 575.98px) {
    .dj-reader-info-cover { width: 80px; }
    .dj-reader-info-body { padding: 10px 12px; }
    .dj-reader-info-title { font-size: 14px; }
}

/* ============================================================
 * 演员库 (tag) - 圆形头像墙
 * ============================================================ */
.dj-actor-hero {
    padding: 80px 0 60px;
    background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg) 100%);
    border-bottom: 1px solid var(--line);
}
.dj-actor-section { margin-bottom: 60px; }

.dj-actor-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 20px 16px;
}
@media (max-width: 1200px) { .dj-actor-grid { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 768px) { .dj-actor-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 480px) { .dj-actor-grid { grid-template-columns: repeat(3, 1fr); } }

.dj-actor-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 8px;
    border-radius: 4px;
    transition: all 0.2s;
}
.dj-actor-card:hover {
    background: var(--bg-1);
    transform: translateY(-3px);
}
.dj-actor-card-avatar {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    transition: all 0.2s;
    border: 2px solid transparent;
    overflow: hidden;
    line-height: 1;
    text-overflow: clip;
    white-space: nowrap;
    padding: 0 4px;
}
.dj-actor-card:hover .dj-actor-card-avatar {
    border-color: var(--accent);
    transform: scale(1.05);
    box-shadow: 0 0 24px rgba(255, 59, 48, 0.4);
}
.dj-actor-card-name {
    font-size: 13px;
    color: var(--text) !important;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}
.dj-actor-card:hover .dj-actor-card-name { color: var(--accent) !important; }

/* ============================================================
 * 演员个人主页 (tagDetail) - 大 Hero
 * ============================================================ */
.dj-actor-page {
    position: relative;
    padding: 100px 0 60px;
    overflow: hidden;
    background: var(--bg);
}
.dj-actor-page-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 30% 30%, rgba(255, 59, 48, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 80%, rgba(255, 107, 61, 0.1) 0%, transparent 60%);
    z-index: 1;
}
.dj-actor-page .container { position: relative; z-index: 2; }
.dj-actor-page-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 48px;
    align-items: center;
}
@media (max-width: 768px) {
    .dj-actor-page { padding: 60px 0 40px; }
    .dj-actor-page-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
}
.dj-actor-page-avatar {
    position: relative;
    width: 200px; height: 200px;
    margin: 0 auto;
}
.dj-actor-page-avatar-inner {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 90px;
    font-weight: 900;
    z-index: 2;
    overflow: hidden;
    line-height: 1;
    text-overflow: clip;
    white-space: nowrap;
    padding: 0 12px;
}
.dj-actor-page-avatar-ring {
    position: absolute;
    inset: -8px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    animation: dj-actor-pulse 3s ease-in-out infinite;
    z-index: 1;
}
@keyframes dj-actor-pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 0.8; }
}
.dj-actor-page-info { min-width: 0; }
.dj-actor-page-stats {
    display: flex;
    gap: 32px;
    margin: 24px 0;
    flex-wrap: wrap;
}
@media (max-width: 768px) { .dj-actor-page-stats { justify-content: center; } }
.dj-actor-page-stat { display: flex; flex-direction: column; gap: 4px; }
.dj-actor-page-stat-num {
    font-size: 32px;
    font-weight: 900;
    color: var(--text);
    line-height: 1;
    font-family: -apple-system, sans-serif;
}
.dj-actor-page-stat-label {
    font-size: 10px;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 2px;
}
.dj-actor-page-bio {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.7;
    margin: 24px 0 0 0;
    max-width: 600px;
}
.dj-actor-page-bio strong { color: var(--text); font-weight: 600; }

/* ============================================================
 * 章节阅读页
 * ============================================================ */
.dj-reader {
    max-width: 720px;
    margin: 40px auto;
    padding: 0 24px;
}
.dj-reader-head {
    text-align: center;
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--line);
}
.dj-reader-eyebrow {
    margin-bottom: 24px;
}
.dj-reader-eyebrow a {
    font-size: 12px;
    color: var(--text-2) !important;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.dj-reader-eyebrow a:hover { color: var(--accent) !important; }
.dj-reader-title {
    font-size: 36px;
    font-weight: 900;
    color: var(--text);
    margin: 0 0 6px 0;
    line-height: 1.2;
    letter-spacing: -1px;
}
.dj-reader-novel {
    text-align: center;
    font-size: 11px;
    color: var(--accent);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}
@media (max-width: 768px) { .dj-reader-title { font-size: 24px; } }
.dj-reader-meta {
    font-size: 12px;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 2px;
}
.dj-reader-body {
    font-size: 17px;
    line-height: 2;
    color: var(--text);
    word-wrap: break-word;
}
.dj-reader-body > :first-child { margin-top: 0 !important; }
.dj-reader-body p,
.dj-reader-body div,
.dj-reader-body span,
.dj-reader-body li,
.dj-reader-body blockquote {
    color: var(--text) !important;
    margin: 0 0 24px 0;
}
.dj-reader-body b, .dj-reader-body strong { font-weight: 700; }
.dj-reader-body i, .dj-reader-body em { font-style: italic; }
.dj-reader-body blockquote {
    border-left: 3px solid var(--accent);
    padding: 8px 0 8px 20px;
    margin: 24px 0;
    font-style: italic;
    background: var(--bg-1);
    border-radius: 0 4px 4px 0;
}
.dj-reader-body img { max-width: 100%; border-radius: 4px; margin: 24px 0; }
.dj-reader-body a { color: var(--accent) !important; border-bottom: 1px solid var(--line-2); }
.dj-reader-body a:hover { color: #fff !important; border-bottom-color: var(--accent); }
.dj-reader-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}
@media (max-width: 575.98px) {
    .dj-reader-nav { grid-template-columns: 1fr; }
}
.dj-reader-nav-prev, .dj-reader-nav-next {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 20px;
    background: var(--bg-1);
    border: 1px solid var(--line) !important;
    color: var(--text) !important;
    transition: all 0.2s;
    min-width: 0;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
}
.dj-reader-nav-prev:hover, .dj-reader-nav-next:hover {
    border-color: var(--accent) !important;
    background: var(--bg-2);
    color: var(--accent) !important;
}
.dj-reader-nav-disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }

/* ============================================================
 * 面包屑
 * ============================================================ */
.dj-crumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 0 20px 0;
    font-size: 11px;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.dj-crumb-home { color: var(--text-2) !important; }
.dj-crumb-home:hover { color: var(--accent) !important; }
.dj-crumb-cat { color: var(--text-2) !important; }
.dj-crumb-cat:hover { color: var(--accent) !important; }
.dj-crumb-current { color: var(--accent); font-weight: 600; }
.dj-crumb-sep { color: var(--text-3); }

/* ============================================================
 * 页脚
 * ============================================================ */
.dj-footer {
    background: var(--bg-1);
    border-top: 1px solid var(--line);
    padding: 60px 0 40px;
    margin-top: 80px;
}
.dj-footer-friends {
    text-align: center;
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
}
.dj-footer-friends-label {
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-right: 16px;
}
.dj-footer-friends a {
    color: var(--text-2) !important;
    margin: 0 12px;
    transition: color 0.2s;
}
.dj-footer-friends a:hover { color: var(--accent) !important; }
.dj-footer-friends-apply { color: var(--accent) !important; }
.dj-footer-main { text-align: center; }
.dj-footer-brand {
    font-size: 24px;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 24px;
    letter-spacing: 1px;
}
.dj-footer-links {
    display: flex;
    gap: 32px;
    justify-content: center;
    margin-bottom: 24px;
}
.dj-footer-links a {
    font-size: 12px;
    color: var(--text-2) !important;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.dj-footer-links a:hover { color: var(--accent) !important; }
.dj-footer-copyright {
    font-size: 12px;
    color: var(--text-3);
    margin-bottom: 8px;
}
.dj-footer-notice {
    font-size: 11px;
    color: var(--text-3);
    margin-top: 12px;
    opacity: 0.7;
}

/* ============================================================
 * 搜索 / 单页 / 友链表单 (简版)
 * ============================================================ */
.search-form { position: relative; max-width: 600px; margin: 60px auto; }
.search-form .form-control {
    background: var(--bg-1);
    border: 1px solid var(--line-2);
    color: var(--text);
    padding: 16px 24px;
    height: 56px;
    font-size: 16px;
    border-radius: 2px;
    box-shadow: none !important;
}
.search-form .form-control:focus {
    border-color: var(--accent);
    background: var(--bg-1);
    color: var(--text);
    box-shadow: 0 0 0 1px var(--accent);
}
.search-form .form-control::placeholder { color: var(--text-3); }
.search-form .search-btn {
    position: absolute;
    right: 8px; top: 8px;
    height: 40px;
    padding: 0 20px;
    background: var(--accent);
    border: 0;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    border-radius: 2px;
}
.search-form .search-btn:hover { background: #fff; color: var(--bg); }

.detail-title { color: var(--text); font-size: 32px; font-weight: 900; margin: 24px 0; }
.detail-body { color: var(--text); font-size: 15px; line-height: 1.9; }
.detail-body p { margin-bottom: 16px; }

.friend-link-request .form-control {
    background: var(--bg-1);
    border: 1px solid var(--line-2);
    color: var(--text);
    border-radius: 2px;
}
.friend-link-request .form-control:focus {
    border-color: var(--accent);
    background: var(--bg-1);
    color: var(--text);
    box-shadow: none;
}
.friend-link-request label { color: var(--text-2); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.friend-link-request .btn-primary {
    background: var(--accent) !important;
    border: 0 !important;
    color: #fff !important;
    border-radius: 2px !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}
.friend-link-request .btn-primary:hover { background: #fff !important; color: var(--bg) !important; }

/* ============================================================
 * 分页
 * ============================================================ */
.pagination { display: flex; gap: 4px; justify-content: center; padding: 0; list-style: none; margin: 40px 0; }
.pagination > li > a, .pagination > li > span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px; height: 40px;
    padding: 0 14px;
    background: var(--bg-1);
    color: var(--text) !important;
    border: 1px solid var(--line);
    font-size: 13px;
    border-radius: 2px;
}
.pagination > li > a:hover { background: var(--bg-2); border-color: var(--accent); color: var(--accent) !important; }
.pagination > .active > a, .pagination > .active > span { background: var(--accent) !important; border-color: var(--accent) !important; color: #fff !important; }
.pagination > .disabled > a { opacity: 0.4; pointer-events: none; }

/* ============================================================
 * 站点地图
 * ============================================================ */
.sitemap-container { padding: 0; }
.sitemap-title { color: var(--text); font-size: 16px; font-weight: 800; margin: 32px 0 16px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.sitemap-list { padding: 0; list-style: none; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sitemap-list .sitemap-item a {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bg-1);
    border: 1px solid var(--line);
    color: var(--text-2) !important;
    font-size: 12px;
    transition: all 0.2s;
}
.sitemap-list .sitemap-item a:hover { background: var(--accent); color: #fff !important; border-color: var(--accent); }

/* 通用 */
.col, .col-1, .col-2, .col-3, .col-4, .col-5, .col-6,
.col-7, .col-8, .col-9, .col-10, .col-11, .col-12 { color: inherit; }
.text-center { text-align: center; }
.pr-5 { padding-right: 0 !important; }
.pb-2 { padding-bottom: 0.5rem !important; }

/* ============================================================
 * 分类汇总页 (bookCategoryAll)
 * ============================================================ */
.dj-cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
@media (max-width: 1200px) {
    .dj-cat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .dj-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 480px) {
    .dj-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

.dj-cat-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: var(--bg-1);
    border: 1px solid var(--line);
    border-radius: 4px;
    transition: all 0.25s;
    text-decoration: none !important;
    color: var(--text) !important;
}
.dj-cat-card:hover {
    background: var(--bg-2);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 59, 48, 0.15);
}
.dj-cat-card-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
}
.dj-cat-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    line-height: 1.3;
}
.dj-cat-card:hover .dj-cat-card-title { color: var(--accent); }
.dj-cat-card-arrow {
    font-size: 18px;
    color: var(--text-3);
    transition: all 0.2s;
    flex-shrink: 0;
}
.dj-cat-card:hover .dj-cat-card-arrow {
    color: var(--accent);
    transform: translateX(4px);
}
@media (max-width: 768px) {
    .dj-cat-card { padding: 16px 18px; }
    .dj-cat-card-title { font-size: 14px; }
    .dj-cat-card-arrow { font-size: 16px; }
}
