/* ============================================================
   Wood 模板 - 暖棕木质复古风
   调色板：米色底 #f5f0e8 / 深棕主 #5c3d2e / 土红强调 #a0522d
   ============================================================ */

/* ---------- CSS 变量 ---------- */
:root {
    --wd-bg:          #f5f0e8;
    --wd-bg-card:     #fffdf8;
    --wd-bg-panel:    #f0e8d8;
    --wd-brown:       #5c3d2e;
    --wd-brown-mid:   #7a5040;
    --wd-brown-light: #b08060;
    --wd-red:         #a0522d;
    --wd-red-hover:   #c06030;
    --wd-border:      #c8a882;
    --wd-border-dark: #9a7058;
    --wd-text:        #3a2516;
    --wd-text-muted:  #7a5a42;
    --wd-text-light:  #a08060;
    --wd-shadow:      0 2px 8px rgba(92,61,46,.14);
    --wd-shadow-lg:   0 4px 18px rgba(92,61,46,.22);
    --wd-radius:      4px;
    --wd-radius-sm:   2px;
    --wd-transition:  0.2s ease;
}

/* ---------- 木纹背景纹理（repeating-linear-gradient 模拟） ---------- */
.wd-wood-bg {
    background-color: var(--wd-bg);
    background-image:
        repeating-linear-gradient(
            92deg,
            transparent 0px,
            transparent 38px,
            rgba(160,100,50,.07) 38px,
            rgba(160,100,50,.07) 40px
        ),
        repeating-linear-gradient(
            180deg,
            transparent 0px,
            transparent 60px,
            rgba(92,61,46,.04) 60px,
            rgba(92,61,46,.04) 62px
        );
}

/* ---------- 重置 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: "Georgia", "Palatino Linotype", "Book Antiqua", STSong, serif;
    color: var(--wd-text);
    background-color: var(--wd-bg);
    background-image:
        repeating-linear-gradient(
            92deg,
            transparent 0px,
            transparent 38px,
            rgba(160,100,50,.06) 38px,
            rgba(160,100,50,.06) 40px
        ),
        repeating-linear-gradient(
            180deg,
            transparent 0px,
            transparent 60px,
            rgba(92,61,46,.04) 60px,
            rgba(92,61,46,.04) 62px
        );
    min-height: 100vh;
    line-height: 1.7;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--wd-red); text-decoration: none; }
a:hover { color: var(--wd-red-hover); text-decoration: underline; }
ul { list-style: none; }
h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; }

/* ---------- 整体容器 ---------- */
.wd-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ============================================================
   导航栏 .wd-navbar
   ============================================================ */
.wd-navbar {
    background-color: var(--wd-brown);
    background-image:
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 28px,
            rgba(255,255,255,.04) 28px,
            rgba(255,255,255,.04) 30px
        );
    border-bottom: 3px solid var(--wd-red);
    position: sticky;
    top: 0;
    z-index: 100;
}

.wd-navbar__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    height: 58px;
}

/* 汉堡按钮 */
.wd-navbar__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
}

.wd-navbar__toggle span {
    display: block;
    height: 2px;
    background: #f5f0e8;
    border-radius: 1px;
    transition: var(--wd-transition);
}

/* 品牌 */
.wd-navbar__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.wd-navbar__brand:hover { text-decoration: none; }

.wd-navbar__mark {
    width: 36px;
    height: 36px;
    background: var(--wd-red);
    border: 2px solid var(--wd-border);
    border-radius: var(--wd-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 900;
    color: #f5f0e8;
    letter-spacing: 0;
    font-family: "STFangsong", "FangSong", Georgia, serif;
}

.wd-navbar__name {
    display: flex;
    flex-direction: column;
}

.wd-navbar__name strong {
    font-size: 17px;
    color: #f5f0e8;
    font-family: "STKaiti", "KaiTi", Georgia, serif;
    letter-spacing: 1px;
}

.wd-navbar__name span {
    font-size: 10px;
    color: var(--wd-border);
    letter-spacing: 0.5px;
}

/* 搜索框 */
.wd-navbar__search {
    flex: 1;
    max-width: 440px;
    display: flex;
    gap: 6px;
    margin-left: auto;
}

.wd-navbar__search-input {
    flex: 1;
    padding: 7px 12px;
    border: 1px solid var(--wd-border-dark);
    border-radius: var(--wd-radius);
    background: rgba(245,240,232,.12);
    color: #f5f0e8;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: var(--wd-transition);
}

.wd-navbar__search-input::placeholder { color: var(--wd-border); }

.wd-navbar__search-input:focus {
    background: rgba(245,240,232,.2);
    border-color: var(--wd-border);
}

.wd-navbar__search-btn {
    padding: 7px 14px;
    background: var(--wd-red);
    border: 1px solid var(--wd-red-hover);
    border-radius: var(--wd-radius);
    color: #f5f0e8;
    font-family: inherit;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--wd-transition);
}

.wd-navbar__search-btn:hover { background: var(--wd-red-hover); }

/* 频道导航 */
.wd-navbar__nav {
    width: 100%;
    background: var(--wd-brown-mid);
    border-top: 1px solid var(--wd-border-dark);
}

.wd-navbar__nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
}

.wd-navbar__link {
    padding: 7px 14px;
    color: var(--wd-border);
    font-size: 14px;
    text-decoration: none;
    border-radius: var(--wd-radius) var(--wd-radius) 0 0;
    transition: color var(--wd-transition), background var(--wd-transition);
    letter-spacing: 0.5px;
}

.wd-navbar__link:hover {
    color: #f5f0e8;
    background: rgba(255,255,255,.08);
    text-decoration: none;
}

.wd-navbar__link.is-active {
    color: #f5f0e8;
    background: var(--wd-brown);
    border-bottom: 2px solid var(--wd-red);
}

/* ============================================================
   分隔线 .wd-divider
   ============================================================ */
.wd-divider {
    border: none;
    border-top: 1px dashed var(--wd-border);
    margin: 24px 0;
}

.wd-divider--wave {
    height: 12px;
    border: none;
    background:
        radial-gradient(circle at 10px 6px, transparent 5px, var(--wd-border) 5px, var(--wd-border) 6px, transparent 6px)
        0 0 / 20px 12px repeat-x;
    margin: 24px 0;
    opacity: 0.5;
}

/* ============================================================
   卡片面板 .wd-panel
   ============================================================ */
.wd-panel {
    background: var(--wd-bg-card);
    border: 1px solid var(--wd-border);
    border-radius: var(--wd-radius);
    box-shadow: var(--wd-shadow);
    padding: 20px;
}

.wd-panel--dark {
    background: var(--wd-bg-panel);
    border-color: var(--wd-border-dark);
}

/* ============================================================
   缩略图容器 .wd-thumb
   ============================================================ */
.wd-thumb {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--wd-radius);
    border: 1px solid var(--wd-border);
    background: var(--wd-bg-panel);
    aspect-ratio: 2/3;
}

.wd-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.wd-thumb:hover img { transform: scale(1.05); }

.wd-thumb__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(58,37,22,.7) 0%, transparent 55%);
    pointer-events: none;
}

.wd-thumb__overlay--full {
    background: linear-gradient(to right, rgba(58,37,22,.75) 0%, transparent 65%);
}

.wd-thumb__badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: var(--wd-red);
    color: #f5f0e8;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: var(--wd-radius-sm);
    font-weight: 700;
    letter-spacing: 0.5px;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wd-thumb__year {
    position: absolute;
    top: 6px;
    left: 6px;
    background: rgba(92,61,46,.8);
    color: var(--wd-border);
    font-size: 10px;
    padding: 2px 5px;
    border-radius: var(--wd-radius-sm);
}

/* ============================================================
   信息区 .wd-info
   ============================================================ */
.wd-info {
    padding: 10px 6px 6px;
}

.wd-info__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--wd-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.wd-info__title a {
    color: var(--wd-text);
    text-decoration: none;
}

.wd-info__title a:hover { color: var(--wd-red); }

.wd-info__meta {
    font-size: 12px;
    color: var(--wd-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wd-info__desc {
    font-size: 12px;
    color: var(--wd-text-light);
    margin-top: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================================
   标签 .wd-tag
   ============================================================ */
.wd-tag {
    display: inline-block;
    padding: 2px 8px;
    border: 1px solid var(--wd-border);
    border-radius: var(--wd-radius-sm);
    font-size: 11px;
    color: var(--wd-text-muted);
    background: var(--wd-bg);
    text-decoration: none;
    transition: background var(--wd-transition), color var(--wd-transition);
}

.wd-tag:hover {
    background: var(--wd-red);
    color: #f5f0e8;
    border-color: var(--wd-red);
    text-decoration: none;
}

.wd-tag--active {
    background: var(--wd-red);
    color: #f5f0e8;
    border-color: var(--wd-red);
}

.wd-tag--accent {
    background: var(--wd-brown);
    color: var(--wd-border);
    border-color: var(--wd-brown);
}

/* ============================================================
   网格 .wd-grid
   ============================================================ */
.wd-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
}

.wd-grid--wide {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.wd-grid--shelf {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
}

/* 视频卡片 */
.wd-card {
    background: var(--wd-bg-card);
    border: 1px solid var(--wd-border);
    border-radius: var(--wd-radius);
    box-shadow: var(--wd-shadow);
    overflow: hidden;
    transition: box-shadow var(--wd-transition), transform var(--wd-transition);
}

.wd-card:hover {
    box-shadow: var(--wd-shadow-lg);
    transform: translateY(-2px);
}

/* ============================================================
   按钮 .wd-btn
   ============================================================ */
.wd-btn {
    display: inline-block;
    padding: 9px 20px;
    border-radius: var(--wd-radius);
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    border: none;
    transition: background var(--wd-transition), color var(--wd-transition);
    letter-spacing: 0.5px;
}

.wd-btn--primary {
    background: var(--wd-red);
    color: #f5f0e8;
    border: 1px solid var(--wd-red-hover);
}

.wd-btn--primary:hover {
    background: var(--wd-red-hover);
    color: #f5f0e8;
    text-decoration: none;
}

.wd-btn--ghost {
    background: transparent;
    color: var(--wd-brown-light);
    border: 1px solid var(--wd-border);
}

.wd-btn--ghost:hover {
    background: var(--wd-bg-panel);
    color: var(--wd-red);
    border-color: var(--wd-red);
    text-decoration: none;
}

.wd-btn--source {
    background: var(--wd-bg-panel);
    border: 1px solid var(--wd-border);
    color: var(--wd-text-muted);
    padding: 6px 14px;
    font-size: 13px;
}

.wd-btn--source:hover,
.wd-btn--source.is-active {
    background: var(--wd-red);
    border-color: var(--wd-red);
    color: #f5f0e8;
}

/* ============================================================
   翻页 .wd-pager
   ============================================================ */
.wd-pager {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    padding: 24px 0 8px;
}

.wd-pager__link {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--wd-border);
    border-radius: var(--wd-radius);
    color: var(--wd-text-muted);
    font-size: 14px;
    background: var(--wd-bg-card);
    text-decoration: none;
    transition: background var(--wd-transition), color var(--wd-transition), border-color var(--wd-transition);
}

.wd-pager__link:hover {
    background: var(--wd-bg-panel);
    color: var(--wd-red);
    border-color: var(--wd-red);
    text-decoration: none;
}

.wd-pager__link.is-active {
    background: var(--wd-red);
    border-color: var(--wd-red);
    color: #f5f0e8;
    font-weight: 700;
}

/* ============================================================
   章节标题
   ============================================================ */
.wd-section {
    margin: 32px 0 16px;
}

.wd-section__kicker {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    color: var(--wd-red);
    letter-spacing: 1px;
    margin-bottom: 4px;
    font-family: Georgia, serif;
}

.wd-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px dashed var(--wd-border);
    padding-bottom: 10px;
    margin-bottom: 16px;
}

.wd-section__head h2 {
    font-size: 20px;
    color: var(--wd-brown);
    font-family: "STKaiti", "KaiTi", Georgia, serif;
}

.wd-section__more {
    font-size: 13px;
    color: var(--wd-text-muted);
    white-space: nowrap;
    text-decoration: none;
    border: 1px dashed var(--wd-border);
    padding: 3px 10px;
    border-radius: var(--wd-radius-sm);
}

.wd-section__more:hover {
    color: var(--wd-red);
    border-color: var(--wd-red);
    text-decoration: none;
}

/* ============================================================
   Hero 区块（首页）
   ============================================================ */
.wd-hero {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 16px;
    margin-bottom: 32px;
    align-items: start;
}

.wd-hero__spotlight {
    position: relative;
    border-radius: var(--wd-radius);
    overflow: hidden;
    border: 1px solid var(--wd-border);
    min-height: 320px;
    background: var(--wd-brown);
}

.wd-hero__backdrop {
    position: absolute;
    inset: 0;
}

.wd-hero__backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
}

.wd-hero__content {
    position: relative;
    z-index: 2;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 320px;
    background: linear-gradient(to right, rgba(58,37,22,.85) 30%, transparent 100%);
}

.wd-hero__tags {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.wd-hero__title {
    font-size: 28px;
    color: #f5f0e8;
    margin-bottom: 8px;
    font-family: "STKaiti", "KaiTi", Georgia, serif;
    text-shadow: 1px 2px 6px rgba(0,0,0,.5);
}

.wd-hero__meta {
    font-size: 13px;
    color: var(--wd-border);
    margin-bottom: 10px;
}

.wd-hero__summary {
    font-size: 14px;
    color: rgba(245,240,232,.8);
    margin-bottom: 16px;
    max-width: 480px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wd-hero__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Hero 侧列 */
.wd-hero__sidelist {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wd-hero__sidecard {
    display: flex;
    gap: 10px;
    background: var(--wd-bg-card);
    border: 1px solid var(--wd-border);
    border-radius: var(--wd-radius);
    overflow: hidden;
    box-shadow: var(--wd-shadow);
    transition: box-shadow var(--wd-transition);
}

.wd-hero__sidecard:hover { box-shadow: var(--wd-shadow-lg); }

.wd-hero__side-thumb {
    display: block;
    width: 70px;
    flex-shrink: 0;
    position: relative;
}

.wd-hero__side-thumb img {
    width: 70px;
    height: 96px;
    object-fit: cover;
}

.wd-hero__side-info {
    padding: 8px 8px 8px 0;
    flex: 1;
    min-width: 0;
}

.wd-hero__side-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--wd-text);
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
    text-decoration: none;
}

.wd-hero__side-title:hover { color: var(--wd-red); }

.wd-hero__side-meta {
    font-size: 11px;
    color: var(--wd-text-light);
}

/* ============================================================
   横幅（分类/搜索页顶部）
   ============================================================ */
.wd-banner {
    background: var(--wd-bg-panel);
    border: 1px solid var(--wd-border);
    border-radius: var(--wd-radius);
    padding: 20px 24px;
    margin-bottom: 20px;
    border-left: 4px solid var(--wd-red);
}

.wd-banner__kicker {
    font-size: 11px;
    color: var(--wd-red);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.wd-banner h1 {
    font-size: 24px;
    color: var(--wd-brown);
    font-family: "STKaiti", "KaiTi", Georgia, serif;
    margin-bottom: 4px;
}

.wd-banner__meta {
    font-size: 13px;
    color: var(--wd-text-muted);
}

/* ============================================================
   筛选器
   ============================================================ */
.wd-filter {
    background: var(--wd-bg-card);
    border: 1px solid var(--wd-border);
    border-radius: var(--wd-radius);
    padding: 14px 16px;
    margin-bottom: 20px;
}

.wd-filter__group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.wd-filter__group:last-child { margin-bottom: 0; }

.wd-filter__label {
    font-size: 12px;
    font-weight: 700;
    color: var(--wd-brown-light);
    padding-top: 4px;
    white-space: nowrap;
    min-width: 28px;
}

.wd-filter__list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* ============================================================
   空状态
   ============================================================ */
.wd-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--wd-text-muted);
}

.wd-empty h2 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--wd-brown-light);
}

/* ============================================================
   详情页
   ============================================================ */
.wd-detail {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 24px;
    align-items: start;
}

/* 播放器面板 */
.wd-player-panel {
    background: var(--wd-bg-card);
    border: 1px solid var(--wd-border);
    border-radius: var(--wd-radius);
    overflow: hidden;
    box-shadow: var(--wd-shadow);
    margin-bottom: 20px;
}

.wd-player-head {
    padding: 14px 16px 10px;
    border-bottom: 1px dashed var(--wd-border);
    background: var(--wd-bg-panel);
}

.wd-player-head__kicker {
    font-size: 11px;
    color: var(--wd-red);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.wd-player-head h1 {
    font-size: 20px;
    color: var(--wd-brown);
    font-family: "STKaiti", "KaiTi", Georgia, serif;
    margin: 4px 0;
}

.wd-player-head__meta {
    font-size: 12px;
    color: var(--wd-text-muted);
}

.wd-player-stage {
    background: #000;
    position: relative;
    aspect-ratio: 16/9;
    width: 100%;
}

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

.wd-player-empty {
    aspect-ratio: 16/9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--wd-border);
    background: var(--wd-brown);
}

.wd-player-empty strong { font-size: 16px; color: #f5f0e8; }
.wd-player-empty span { font-size: 13px; }

.wd-player-fallback {
    display: block;
    padding: 10px 16px;
    background: var(--wd-bg-panel);
    border-top: 1px dashed var(--wd-border);
    font-size: 13px;
    color: var(--wd-red);
    text-align: center;
}

.wd-source-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px dashed var(--wd-border);
    background: var(--wd-bg-panel);
}

/* 影片信息面板（仿旧纸质地） */
.wd-info-panel {
    background: #fdf6e3;
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            transparent 23px,
            rgba(192,160,100,.2) 23px,
            rgba(192,160,100,.2) 24px
        );
    border: 1px solid var(--wd-border);
    border-radius: var(--wd-radius);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--wd-shadow);
}

.wd-info-panel h2 {
    font-size: 17px;
    color: var(--wd-brown);
    font-family: "STKaiti", "KaiTi", Georgia, serif;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px dashed var(--wd-border);
}

.wd-info-panel__summary {
    font-size: 14px;
    color: var(--wd-text);
    line-height: 1.8;
    margin-bottom: 16px;
}

.wd-info-panel__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 16px;
}

.wd-info-panel__item {
    font-size: 13px;
    display: flex;
    gap: 6px;
    align-items: baseline;
}

.wd-info-panel__item span {
    color: var(--wd-text-light);
    white-space: nowrap;
    min-width: 52px;
}

.wd-info-panel__item strong {
    color: var(--wd-text);
    font-weight: 600;
    word-break: break-all;
}

/* 详情页主列 */
.wd-detail-main {}

/* 侧边栏 */
.wd-sidebar {}

.wd-poster {
    border: 2px solid var(--wd-border-dark);
    border-radius: var(--wd-radius);
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: var(--wd-shadow-lg);
}

.wd-poster img {
    width: 100%;
    display: block;
}

.wd-tips {
    background: #fdf6e3;
    border: 1px solid var(--wd-border);
    border-radius: var(--wd-radius);
    padding: 16px;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--wd-text-muted);
    line-height: 1.9;
}

.wd-tips h2 {
    font-size: 14px;
    font-weight: 700;
    color: var(--wd-brown-light);
    margin-bottom: 8px;
    font-family: Georgia, serif;
}

.wd-tips li {
    padding: 3px 0;
    padding-left: 12px;
    position: relative;
}

.wd-tips li::before {
    content: "›";
    position: absolute;
    left: 0;
    color: var(--wd-red);
}

/* ============================================================
   搜索页内联搜索表单
   ============================================================ */
.wd-search-inline {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.wd-search-inline input {
    flex: 1;
    padding: 9px 14px;
    border: 1px solid var(--wd-border-dark);
    border-radius: var(--wd-radius);
    background: var(--wd-bg-card);
    color: var(--wd-text);
    font-family: inherit;
    font-size: 14px;
    outline: none;
}

.wd-search-inline input:focus {
    border-color: var(--wd-red);
}

.wd-search-inline button {
    padding: 9px 18px;
    background: var(--wd-red);
    border: 1px solid var(--wd-red-hover);
    border-radius: var(--wd-radius);
    color: #f5f0e8;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
}

.wd-search-inline button:hover { background: var(--wd-red-hover); }

/* ============================================================
   footer
   ============================================================ */
.wd-footer {
    background: var(--wd-brown);
    border-top: 3px solid var(--wd-red);
    margin-top: 48px;
    padding: 32px 0 16px;
    color: var(--wd-border);
}

.wd-footer__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

.wd-footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    padding-bottom: 20px;
    border-bottom: 1px dashed var(--wd-border-dark);
    margin-bottom: 16px;
}

.wd-footer__block h2 {
    font-size: 14px;
    color: var(--wd-border);
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 12px;
}

.wd-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wd-footer__links a {
    font-size: 13px;
    color: var(--wd-brown-light);
    text-decoration: none;
}

.wd-footer__links a:hover {
    color: var(--wd-border);
    text-decoration: underline;
}

.wd-footer__block p {
    font-size: 13px;
    line-height: 1.8;
    color: var(--wd-brown-light);
}

.wd-footer__meta {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: var(--wd-brown-light);
}

/* ============================================================
   广告占位
   ============================================================ */
.wd-ad { margin: 16px 0; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 900px) {
    .wd-hero { grid-template-columns: 1fr; }
    .wd-hero__sidelist { flex-direction: row; flex-wrap: wrap; }
    .wd-hero__sidecard { flex: 0 0 calc(50% - 5px); }
    .wd-detail { grid-template-columns: 1fr; }
    .wd-sidebar { order: -1; display: flex; gap: 12px; }
    .wd-poster { margin-bottom: 0; width: 130px; flex-shrink: 0; }
    .wd-tips { flex: 1; }
}

@media (max-width: 700px) {
    .wd-navbar__toggle { display: flex; }
    .wd-navbar__search { max-width: none; }
    .wd-navbar__name span { display: none; }
    .wd-navbar__nav { display: none; }
    .wd-navbar__nav.is-open { display: block; }
    .wd-navbar__nav-inner { flex-direction: column; gap: 0; }
    .wd-navbar__link { border-radius: 0; border-bottom: 1px solid var(--wd-border-dark); }
    .wd-navbar__link.is-active { border-bottom-color: var(--wd-red); }
    .wd-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
    .wd-grid--wide { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
    .wd-info-panel__grid { grid-template-columns: 1fr; }
    .wd-sidebar { flex-direction: column; }
    .wd-poster { width: 100%; }
    .wd-hero__content { min-height: 260px; }
}

@media (max-width: 480px) {
    .wd-grid, .wd-grid--shelf { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .wd-hero__sidecard { flex: 0 0 100%; }
    .wd-banner h1 { font-size: 18px; }
    .wd-hero__title { font-size: 20px; }
}

/* menu-open 状态（移动端导航展开） */
.menu-open .wd-navbar__nav { display: block; }

/* 精彩影评区块 */
.wd-review-panel {
    background: var(--wd-bg-card);
    border: 1px solid var(--wd-border);
    border-radius: var(--wd-radius);
    padding: 20px 24px;
    margin: 16px 0;
    box-shadow: var(--wd-shadow);
}

.wd-review-panel h2 {
    font-size: 18px;
    color: var(--wd-brown);
    border-bottom: 2px solid var(--wd-border);
    padding-bottom: 8px;
    margin-bottom: 14px;
}

.wd-review-panel__text {
    background: var(--wd-bg-panel);
    border-left: 4px solid var(--wd-red);
    padding: 14px 18px;
    font-size: 14px;
    line-height: 1.9;
    color: var(--wd-text-muted);
    margin: 0;
}

/* 折叠按钮样式 */
.filter-toggle-btn { display:inline-block; margin:6px 0 4px; padding:4px 14px; font-size:12px; cursor:pointer; background:#f0f0f0; border:1px solid #ddd; border-radius:4px; color:#666; }
.filter-toggle-btn:hover { color:#333; border-color:#bbb; }