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

:root {
    /* HOTTV.online · 深翡翠绿 + 荧光渐变绿 + 薄荷白（品牌提案 v1）：
       深绿构建沉浸式观影环境，亮绿负责吸引点击；剧集封面永远是视觉主角。
       主色 #00C853 / 亮色 #B7FF4A / 深绿 #003D2B / 背景 #071B14 / 卡片 #10291F / 正文 #F4FFF7 */
    --color-primary: #00C853;        /* 品牌主色：主按钮、选中态、播放键 */
    --color-primary-light: #B7FF4A;  /* 荧光黄绿：高亮、进度、New 标签 */
    --color-primary-dark: #003D2B;   /* 深翡翠绿：导航、页脚、品牌背景 */
    --text-on-primary: #04180F;      /* 主色底上的文字（深墨绿） */

    /* 品牌渐变 */
    --grad-brand: linear-gradient(135deg, #D2FF72 0%, #55F05A 45%, #00C853 100%);
    --grad-brand-full: linear-gradient(135deg, #D2FF72 0%, #00C853 100%);
    --grad-watch: linear-gradient(135deg, #B7FF4A 0%, #00C853 100%);   /* 播放/核心转化 */
    --grad-ocean: linear-gradient(135deg, #55F05A 0%, #00C853 100%);
    --grad-sunset: linear-gradient(135deg, #FF8A5C 0%, #FF5C5C 100%);  /* Hot 警示 */
    --grad-glow: radial-gradient(60% 60% at 20% 0%, rgba(0, 200, 83, 0.07) 0%, rgba(0, 200, 83, 0) 70%);
    --grad-hero: linear-gradient(to top, #071B14 0%, rgba(7, 27, 20, 0.72) 34%, rgba(7, 27, 20, 0) 62%);

    /* 背景 */
    --bg: #071B14;
    --bg-header: rgba(7, 27, 20, 0.88);
    --bg-surface: #10291F;
    --bg-card: #10291F;
    --bg-card-hover: #18382A;
    --bg-elevated: #18382A;
    --bg-soft: #0B2118;
    --surface: #10291F;
    --bg-player: #050A07;

    /* 文字 */
    --text: #F4FFF7;
    --text-secondary: #A3B8AA;
    --text-muted: #718579;

    /* 兼容旧变量名：品牌色系统一归位到绿色系；红仅保留 Hot/Danger 语义 */
    --brand-yellow: #B7FF4A;
    --brand-red: #FF5C5C;
    --brand-navy: #F4FFF7;
    --brand-blue: #00C853;
    --brand-dark: #003D2B;

    --accent: #00C853;
    --accent-hover: #B7FF4A;
    --accent-soft: rgba(0, 200, 83, 0.14);
    --accent-light: rgba(0, 200, 83, 0.20);

    --accent-yellow: #B7FF4A;
    --accent-yellow-hover: #D2FF72;
    --accent-yellow-soft: rgba(183, 255, 74, 0.14);
    --accent-yellow-dark: #04180F;

    --accent-cyan: #00C853;
    --accent-pink: #B7FF4A;
    --accent-orange: #FF5C5C;
    --accent-violet: #00C853;

    /* 状态 */
    --warn: #FF5C5C;
    --warn-soft: rgba(255, 92, 92, 0.12);
    --success: #00C853;
    --success-soft: rgba(0, 200, 83, 0.12);
    --danger: #FF5C5C;
    --warning: #FF5C5C;

    /* 边框 */
    --border: #254536;
    --border-light: #1B3226;

    /* 圆角 */
    --radius: 12px;
    --radius-sm: 8px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --header-h: 60px;

    /* 阴影（深色体系：黑阴影托底 + 品牌绿光） */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.40);
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 8px 28px rgba(0, 0, 0, 0.55);
    --glow-cyan: 0 0 0 3px rgba(0, 200, 83, 0.22);
    --glow-brand: 0 6px 18px rgba(0, 200, 83, 0.28);

    --fb-sidebar-w: 240px;
    --fb-feed-max: 1600px;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body,
.fb-body {
    font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: var(--grad-glow), var(--bg);
    background-attachment: fixed;
    color: var(--text);
    line-height: 1.4;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

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

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

.container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 4%;
}

/* Header — 深翡翠绿沉浸式顶栏（与页面底色融为一体） */
.site-header,
.fb-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-header);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
    height: var(--header-h);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.header-inner,
.fb-header-inner {
    display: flex;
    align-items: center;
    height: var(--header-h);
    gap: 20px;
    max-width: none;
    margin: 0 auto;
    padding: 0 4%;
}

.logo {
    display: flex;
    align-items: center;
    align-self: center;
    height: auto;
    padding: 3px 10px;
    border-radius: 6px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.logo:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.50));
}

.fb-logo.logo {
    width: auto;
    height: auto;
    border-radius: 6px;
    justify-content: flex-start;
    padding: 3px 10px;
    flex-shrink: 0;
}

.logo-img {
    height: 38px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    display: block;
    filter: none;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, #F4FFF7 0%, #B7FF4A 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fb-header-search {
    display: flex;
    align-items: center;
    flex: 0 1 260px;
    min-width: 0;
    margin: 0;
    margin-left: auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0 14px;
    height: 38px;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.fb-header-search:focus-within {
    border-color: var(--accent);
    background: var(--bg-card-hover);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.fb-search-icon {
    font-size: 0.875rem;
    opacity: 0.8;
    flex-shrink: 0;
}

.fb-search-input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: none;
    border-radius: 0;
    background: transparent;
    font-size: 0.875rem;
    color: var(--text);
    outline: none;
    padding: 0 8px;
    -webkit-appearance: none;
    appearance: none;
}

.fb-search-input::-webkit-search-decoration,
.fb-search-input::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

.fb-search-input::placeholder {
    color: var(--text-muted);
}

.header-nav,
.fb-header-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 0;
}

/* Netflix 文字导航：隐藏 FB 式图标+双行结构，只保留横向文字链接 */
.fb-header-nav-item {
    position: relative;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: auto;
    padding: 8px 12px;
    border-radius: 4px;
    border-bottom: none;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.fb-header-nav-item:hover {
    background: transparent;
    color: var(--accent);
}

.fb-header-nav-item.active {
    color: var(--accent);
    border-bottom: none;
    border-radius: 4px;
    font-weight: 700;
}

/* 选中分类：品牌红字 + 红色指示条 */
.fb-header-nav-item.active::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--accent);
}

.fb-nav-icon {
    display: none;
}

.fb-nav-label {
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 0;
    white-space: nowrap;
}

.fb-header-nav-item.active .fb-nav-label {
    font-weight: 700;
}

.nav-link {
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
    background: transparent;
    color: var(--accent);
}

.nav-link.active {
    color: var(--accent);
    background: transparent;
    font-weight: 700;
}

/* Language switcher */
.lang-switcher {
    position: relative;
    margin-left: 12px;
}

.lang-switcher-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.lang-switcher-trigger:hover {
    border-color: var(--accent);
    background: var(--bg-card-hover);
}

.lang-switcher-icon {
    font-size: 0.95rem;
    line-height: 1;
}

.lang-switcher-label {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lang-switcher-caret {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--text-secondary);
}

.lang-switcher-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    max-height: 60vh;
    overflow-y: auto;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    list-style: none;
    padding: 6px;
    z-index: 200;
}

.lang-switcher-option {
    display: block;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: background 0.15s, color 0.15s;
}

.lang-switcher-option:hover {
    background: var(--bg-card-hover);
    color: var(--text);
}

.lang-switcher-option.active {
    color: var(--text-on-primary);
    background: var(--grad-brand);
    font-weight: 700;
}

/* Netflix full-width shell: 左栏导航并入顶部 header，右栏挂件转为全宽底部位 */
.fb-shell {
    display: block;
    max-width: none;
    margin: 0;
    padding: 0;
    flex: 1;
    width: 100%;
}

.fb-sidebar-left {
    display: none;
}

.fb-sidebar-right {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 32px 4% 0;
}

.fb-feed.site-main {
    flex: none;
    padding: 0;
    min-width: 0;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-left: 4%;
    padding-right: 4%;
}

.fb-card {
    background: transparent;
    border-radius: var(--radius);
    box-shadow: none;
    padding: 0;
    border: none;
}

.fb-profile-link,
.fb-profile-avatar,
.fb-profile-avatar-text,
.fb-profile-text,
.fb-profile-name,
.fb-profile-slogan,
.fb-shortcuts,
.fb-shortcut,
.fb-shortcut-icon {
    color: inherit;
}

.fb-widget-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-light);
    letter-spacing: 0.01em;
}

.fb-sidebar-right .fb-card.fb-widget {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 18px 20px;
}

.fb-widget-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fb-widget-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 10px;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-secondary);
    transition: background 0.15s, color 0.15s;
}

.fb-widget-link:hover {
    background: var(--bg-card-hover);
    color: var(--text);
}

.fb-widget-meta {
    font-size: 0.7rem;
    color: var(--text-secondary);
    background: var(--accent-soft);
    padding: 2px 8px;
    border-radius: 999px;
}

.fb-widget-footer .fb-footer-mini {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.fb-filter-card.filters {
    margin-bottom: 0;
}

.fb-feed-header.list-meta {
    margin-bottom: 0;
    align-items: baseline;
}

.fb-feed-intro .page-intro {
    margin: 0;
}

.fb-feed-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fb-card-grid {
    gap: 20px;
}

.fb-footer-bottom {
    display: block;
}

/* Main (legacy pages) */
.site-main {
    flex: 1;
    padding: 16px 0 24px;
}

/* Filters */
.filters {
    margin-bottom: 12px;
}

.filter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-bar {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1.75fr) auto;
    gap: 12px;
    align-items: end;
}

.filter-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.filter-field-platform {
    min-width: 0;
}

.filter-field-action {
    width: 96px;
    justify-content: flex-end;
}

.filter-control {
    width: 100%;
    min-height: 44px;
}

.filter-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.platform-picker {
    position: relative;
    width: 100%;
}

.platform-picker-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    color: var(--text);
    font-size: 0.875rem;
    font-family: inherit;
    line-height: 1.25;
    cursor: pointer;
    text-align: left;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 0.2s, background 0.2s;
}

.platform-picker-trigger:hover {
    border-color: var(--accent-cyan);
    background: var(--bg-card-hover);
}

.platform-picker-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 4px;
    object-fit: contain;
    flex-shrink: 0;
}

.platform-picker img.platform-picker-icon {
    display: block;
    max-width: 20px;
}

.platform-picker-emoji {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    min-width: 20px;
    flex-shrink: 0;
    font-size: 0.875rem;
    line-height: 1;
}

.platform-picker-label {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.platform-picker-caret {
    width: 0;
    height: 0;
    margin-left: auto;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--text-muted);
    flex-shrink: 0;
}

.platform-picker-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 120;
    min-width: 200px;
    max-height: 280px;
    overflow-y: auto;
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-elevated);
    box-shadow: var(--shadow-lg);
}

.platform-picker-menu[hidden] {
    display: none !important;
}

.platform-picker-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 6px;
    color: var(--text);
    font-size: 0.875rem;
    white-space: nowrap;
    transition: background 0.15s;
}

.platform-picker-option span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

.platform-picker-option:hover {
    background: var(--bg-card-hover);
}

.platform-picker-option.active {
    background: var(--grad-brand);
    color: var(--text-on-primary);
    font-weight: 700;
}

.filter-select {
    width: 100%;
    padding: 10px 36px 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background-color: var(--bg-surface);
    color: var(--text);
    font-size: 0.875rem;
    font-family: inherit;
    min-height: 44px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23A3B8AA' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    transition: border-color 0.2s;
}

.filter-select option {
    background: #10291F;
    color: var(--text);
}

.filter-select:hover {
    border-color: var(--accent-cyan);
}

.search-input {
    width: 100%;
    min-width: 0;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    color: var(--text);
    font-size: 0.875rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.btn-search {
    width: 100%;
    padding: 10px 16px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--grad-brand);
    color: var(--text-on-primary);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: filter 0.2s, box-shadow 0.2s;
}

.btn-search:hover {
    filter: brightness(1.06);
    box-shadow: 0 4px 14px rgba(0, 200, 83, 0.45);
}

.btn-search:active {
    transform: scale(0.97);
}

/* ===== Netflix Hero billboard（列表首页首条精选） ===== */
.hero {
    position: relative;
    /* 与 .fb-feed 的 4% 侧内边距对消，做出血效果；超宽屏自然收在 1600 容器内 */
    margin-left: -4%;
    margin-right: -4%;
    margin-bottom: 36px;
    height: clamp(420px, 62vh, 660px);
    overflow: hidden;
    background: var(--bg);
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    opacity: 0.78;
}

/* 左侧深绿渐隐遮罩：压暗封面保证标题/按钮清晰，右侧保留海报原色 */
.hero-fade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(45% 55% at 12% 85%, rgba(0, 200, 83, 0.12) 0%, rgba(0, 200, 83, 0) 70%),
        linear-gradient(to top, var(--bg) 0%, rgba(7, 27, 20, 0.45) 38%, rgba(7, 27, 20, 0) 62%),
        linear-gradient(to right, rgba(7, 27, 20, 0.96) 0%, rgba(7, 27, 20, 0.55) 32%, rgba(7, 27, 20, 0) 62%);
}

[dir="rtl"] .hero-fade {
    background:
        radial-gradient(45% 55% at 88% 85%, rgba(0, 200, 83, 0.12) 0%, rgba(0, 200, 83, 0) 70%),
        linear-gradient(to top, var(--bg) 0%, rgba(7, 27, 20, 0.45) 38%, rgba(7, 27, 20, 0) 62%),
        linear-gradient(to left, rgba(7, 27, 20, 0.96) 0%, rgba(7, 27, 20, 0.55) 32%, rgba(7, 27, 20, 0) 62%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1600px;
    margin: 0 auto;
    height: 100%;
    padding: 0 4% 52px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.hero-kicker-badge {
    background: var(--grad-watch);
    color: var(--text-on-primary);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(0, 200, 83, 0.35);
}

.hero-kicker-platform {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
}

.hero-title {
    font-size: clamp(2rem, 4.6vw, 3.6rem);
    font-weight: 900;
    line-height: 1.06;
    color: var(--text);
    max-width: 62%;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-actions {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-btn-play {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--grad-watch);
    color: var(--text-on-primary);
    padding: 12px 32px;
    border-radius: 999px;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    box-shadow: 0 6px 18px rgba(0, 200, 83, 0.35);
    transition: filter 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.hero-btn-play:hover {
    filter: brightness(1.08);
    box-shadow: 0 8px 24px rgba(0, 200, 83, 0.45);
    transform: translateY(-1px);
}

.hero-btn-play .hero-play-icon {
    font-size: 1.1rem;
    line-height: 1;
}

@media (max-width: 768px) {
    .hero {
        height: 440px;
        margin-bottom: 24px;
    }

    .hero-bg {
        opacity: 0.4;
        object-position: center 15%;
    }

    .hero-inner {
        padding-bottom: 36px;
    }

    .hero-title {
        max-width: 100%;
        font-size: clamp(1.7rem, 7vw, 2.4rem);
    }

    .hero-btn-play {
        padding: 10px 24px;
        font-size: 0.95rem;
    }
}

/* List */
.list-meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 12px;
}

.page-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: 0.01em;
}

.total-count {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* 爱奇艺式栏目标题：红色导条 + 加粗深蓝标题 */
.fb-feed-header .page-title,
.more-section .page-title,
.popular-genres .page-title,
.genre-links-section .page-title,
.platform-about .page-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.fb-feed-header .page-title::before,
.more-section .page-title::before,
.popular-genres .page-title::before,
.genre-links-section .page-title::before,
.platform-about .page-title::before {
    content: '';
    width: 4px;
    height: 0.95em;
    border-radius: 2px;
    background: var(--grad-watch);
    flex-shrink: 0;
}

/* 触屏设备无 hover：播放按钮常显（降低不透明度避免抢主体） */
@media (hover: none) {
    .fb-card-item .card-cover-wrap::after {
        opacity: 0.92;
        transform: translate(-50%, -50%) scale(0.85);
    }
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 12px;
}

.card,
.fb-card-item {
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    overflow: visible;
    box-shadow: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.card:hover,
.fb-card-item:hover {
    transform: translateY(-4px);
    z-index: 5;
}

.card-cover-wrap {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--bg-soft);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.25s ease;
}

.card:hover .card-cover-wrap,
.fb-card-item:hover .card-cover-wrap {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.50), 0 0 0 2px var(--accent);
}

/* 短剧卡片 hover：封面微放大 + 渐变播放键 + 品牌绿描边（书籍卡不显示播放键） */
.fb-card-item .card-cover-wrap::after {
    content: '\25B6';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    width: 48px;
    height: 48px;
    padding-left: 4px;
    border-radius: 50%;
    background: var(--grad-watch);
    color: var(--text-on-primary);
    font-size: 1.05rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 200, 83, 0.45);
    opacity: 0;
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.fb-card-item:hover .card-cover-wrap::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.card-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

/* hover：封面轻微放大，克制不抢主体 */
.card:hover .card-cover {
    transform: scale(1.04);
}

.corner-mark {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.68rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.corner-mark.hot {
    background: #FF5C5C;
    color: #fff;
}

.corner-mark.new {
    background: #B7FF4A;
    color: #04180F;
}

.card-body {
    padding: 10px 2px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-title {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.card:hover .card-title,
.fb-card-item:hover .card-title {
    color: var(--accent);
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.card-platform-icon {
    width: 16px;
    height: 16px;
    border-radius: 3px;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.page-btn {
    padding: 10px 24px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg-card);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.page-btn:hover {
    background: var(--grad-brand);
    border-color: transparent;
    color: var(--text-on-primary);
    box-shadow: 0 4px 14px rgba(0, 200, 83, 0.45);
}

.page-info {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Empty & Error */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
    font-size: 1rem;
}

.error-page {
    text-align: center;
    padding: 80px 20px;
}

.error-page h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.error-page p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.btn-back {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 28px;
    background: var(--grad-brand);
    color: var(--text-on-primary);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 700;
    transition: filter 0.2s, box-shadow 0.2s;
    box-shadow: none;
}

.btn-back:hover {
    filter: brightness(1.06);
    box-shadow: 0 4px 14px rgba(0, 200, 83, 0.45);
}

/* Detail */
.detail-page {
    max-width: 100%;
}

/* ===== Detail Page: 3-Column Layout ===== */
.detail-page {
    padding: 24px 0 40px;
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
}

/* --- Left Column: Cover + Info + Episodes --- */
.detail-left {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-left::-webkit-scrollbar {
    width: 6px;
}

.detail-left::-webkit-scrollbar-track {
    background: transparent;
}

.detail-left::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

.detail-left::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

.detail-left {
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

.detail-cover {
    width: 100%;
    flex-shrink: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 9 / 16;
    background: var(--bg-card);
}

.detail-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.detail-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* --- Center Column: Video Player --- */
.detail-center {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- Right Column: Promotion + Share --- */
.detail-right {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.player-wrap {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 9 / 16;
    background: #000;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin: 0 auto;
}

.player-loading {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: rgba(5, 10, 7, 0.92);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.player-loading.hidden {
    display: none;
}

.player-loading-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(255,255,255,0.15);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.video-player {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

/* 视频卡死/黑屏提示（player-watchdog.js） */
.player-stuck {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 24px;
    background: rgba(5, 10, 7, 0.92);
    color: #fff;
    text-align: center;
}

.player-stuck-msg {
    margin: 0;
    max-width: 320px;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.player-stuck-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.player-stuck-btn {
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    background: transparent;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}

.player-stuck-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.player-stuck-btn.is-primary {
    border-color: transparent;
    background: var(--grad-watch);
    color: #fff;
}

.player-stuck-btn.is-primary:hover {
    background: var(--grad-watch);
    filter: brightness(1.1);
    box-shadow: 0 4px 14px rgba(0, 200, 83, 0.45);
}

.detail-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--brand-navy);
    line-height: 1.3;
    letter-spacing: 0.01em;
}

.detail-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.detail-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.detail-platform-icon {
    width: 22px;
    height: 22px;
    border-radius: 4px;
}

.tag-badge {
    padding: 4px 10px;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}

.detail-date {
    color: var(--text-muted, #999);
    font-size: 0.8rem;
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.tag {
    padding: 6px 12px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.detail-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0;
    padding: 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.detail-desc-wrap {
    position: relative;
    margin-bottom: 16px;
}

.detail-desc-collapsed {
    max-height: 120px;
    overflow: hidden;
    position: relative;
}

.detail-desc-collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to bottom, transparent, var(--bg-card));
    pointer-events: none;
}

.desc-toggle {
    display: block;
    margin-top: 8px;
    padding: 6px 0;
    background: none;
    border: none;
    color: var(--accent-cyan);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.15s;
}

.desc-toggle:hover {
    color: var(--accent-pink);
}

.episodes {
    margin-bottom: 0;
    width: 100%;
}

.episodes-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}

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

.episode-btn {
    padding: 12px 6px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    text-align: center;
}

.episode-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent);
    color: var(--text);
}

.episode-btn.active {
    border-color: transparent;
    background: var(--grad-brand);
    color: var(--text-on-primary);
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(0, 200, 83, 0.45);
}

/* Promotion */
.promotion-guide {
    margin-bottom: 0;
    padding: 24px;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
}

.promotion-skeleton {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promotion-placeholder {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.promotion-guide-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.promotion-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.promotion-guide-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text);
}

.promotion-guide-desc {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.promotion-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.promo-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: transform 0.15s, opacity 0.15s;
}

.promo-btn:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

.promo-btn:active {
    transform: scale(0.98);
}

.promo-btn-primary {
    background: var(--grad-watch);
    color: var(--text-on-primary);
    box-shadow: 0 6px 18px rgba(0, 200, 83, 0.3);
}

.promo-btn-primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 8px 26px rgba(0, 200, 83, 0.4), 0 4px 14px rgba(0, 200, 83, 0.3);
}

.promo-btn-secondary {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text);
}

.promo-btn-secondary:hover {
    border-color: var(--accent);
    background: var(--bg-card-hover);
}

.promo-btn-icon {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.promo-btn-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.promo-btn-text strong {
    font-size: 0.875rem;
    font-weight: 600;
}

.promo-btn-text small {
    font-size: 0.75rem;
    opacity: 0.8;
}

.promo-code-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    background: var(--bg-surface);
    border: 1px dashed var(--border);
    border-radius: var(--radius-sm);
}

.promo-code-info strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text);
}

.promo-code-info small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Share */
.share-section {
    margin-bottom: 0;
    padding: 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
}

.share-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text);
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    padding: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.1s, opacity 0.1s;
}

.share-btn span:last-child {
    display: none;
}

.share-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.share-btn:active {
    transform: scale(0.94);
}

.share-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.2);
}

.share-btn-facebook {
    background: #1877f2;
    color: #fff;
}

.share-btn-facebook .share-btn-icon {
    font-family: Georgia, serif;
}

.share-btn-twitter {
    background: #000;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.share-btn-kakaotalk {
    background: #FEE500;
    color: #191919;
}

.share-btn-kakaotalk .share-btn-icon {
    background: rgba(0, 0, 0, 0.1);
}

.share-btn-line {
    background: #06C755;
    color: #fff;
}

.share-btn-telegram {
    background: #26A5E4;
    color: #fff;
}

.share-btn-whatsapp {
    background: #25D366;
    color: #fff;
}

.share-btn-reddit {
    background: #FF4500;
    color: #fff;
}

.share-btn-email {
    background: #475569;
    color: #fff;
}

.share-btn-copy {
    background: var(--bg-card);
    color: var(--text);
    border: 1px solid var(--border);
    grid-column: 1 / -1;
}

/* In narrow sidebars (book left column), stack share buttons vertically */
.book-left .share-buttons {
    grid-template-columns: 1fr;
}

.book-left .share-btn-copy {
    grid-column: auto;
}

.share-btn-copy .share-btn-icon {
    background: var(--bg-soft);
}

.share-btn-tiktok {
    background: #010101;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.share-btn-tiktok .share-btn-icon {
    background: linear-gradient(135deg, #25f4ee, #fe2c55);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 1rem;
}

.share-feedback {
    margin-top: 12px;
    font-size: 0.8125rem;
    color: var(--success);
    font-weight: 500;
}

/* Book detail */
.book-layout {
    display: grid;
    gap: 28px;
}

.book-left {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.book-right {
    min-width: 0;
}

.book-cover-wrap {
    max-width: 240px;
    margin: 0 auto;
}

.book-cover {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.book-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--brand-navy);
    line-height: 1.3;
}

.book-author {
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 0.875rem;
}

.book-chapters {
    margin-top: 24px;
}

.chapter-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 240px;
    overflow-y: auto;
    margin-bottom: 16px;
    padding-right: 4px;
}

.chapter-list::-webkit-scrollbar {
    width: 4px;
}

.chapter-list::-webkit-scrollbar-track {
    background: transparent;
}

.chapter-list::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 2px;
}

.chapter-btn {
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.chapter-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-cyan);
    color: var(--text);
}

.chapter-btn.active {
    border-color: transparent;
    background: var(--grad-brand);
    color: var(--text-on-primary);
    font-weight: 700;
}

.chapter-content {
    display: none;
    padding: 24px;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
}

.chapter-content.active {
    display: block;
}

.chapter-content-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}

.chapter-content-body {
    white-space: pre-wrap;
    line-height: 1.85;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.promo-code-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    color: var(--text);
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.promo-code-btn:hover {
    border-color: var(--accent);
    background: var(--bg-card-hover);
}

.promo-code-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.promo-code-value {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--accent);
}

.promo-code-action {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* About page */
.about-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 20px 0;
}

.about-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 32px;
    color: var(--brand-navy);
    letter-spacing: 0.01em;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.about-section h2 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.about-section p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 0.15s, background 0.15s;
}

.about-contact-item:hover {
    border-color: var(--accent-cyan);
    background: var(--bg-card-hover);
}

.about-contact-icon {
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.about-contact-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.about-contact-info strong {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text);
}

.about-contact-info span {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* Footer — 深翡翠绿品牌背景（提案：深绿负责品牌与收尾） */
.site-footer {
    border-top: 1px solid rgba(0, 200, 83, 0.22);
    padding: 40px 0;
    background: linear-gradient(135deg, #003D2B 0%, #06452D 100%);
    color: var(--text-secondary);
    margin-top: 48px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text);
}

.footer-slogan {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.footer-contact-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 2px;
}

.footer-contact-link {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.footer-contact-link:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* Footer · Friend Links（友情链接模块） */
.footer-friends {
    padding: 24px 0 26px;
    border-bottom: 1px solid var(--border-light);
}

.footer-friends-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
    margin-bottom: 14px;
}

.footer-friends-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 12px;
}

.friend-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.friend-card:hover,
.friend-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(0, 200, 83, 0.35);
    box-shadow: var(--shadow);
}

.friend-card:active {
    transform: translateY(0);
}

.friend-card-logo {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    object-fit: cover;
    flex-shrink: 0;
    background: var(--bg-soft);
}

.friend-card-logo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-blue);
    background: rgba(0, 200, 83, 0.1);
}

.friend-card-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.friend-card-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
}

.friend-card-desc {
    font-size: 0.75rem;
    line-height: 1.35;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 480px) {
    .footer-friends-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile bottom TabBar */
.mobile-tabbar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
    background: rgba(7, 27, 20, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid var(--border);
    padding: 8px env(safe-area-inset-right) 8px env(safe-area-inset-left);
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
}

.tabbar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 6px 12px;
    color: var(--text-muted);
    font-size: 0.6875rem;
    transition: color 0.15s;
}

.tabbar-item.active {
    color: var(--accent);
}

.tabbar-item.active .tabbar-icon {
    filter: drop-shadow(0 0 6px rgba(0, 200, 83, 0.4));
}

.tabbar-item.active .tabbar-label {
    color: var(--accent);
    font-weight: 600;
}

.tabbar-icon {
    font-size: 1.15rem;
    line-height: 1;
}

@media (max-width: 1100px) {
    .fb-sidebar-right {
        display: none;
    }

    .fb-header-search {
        max-width: none;
        flex: 1 1 auto;
    }
}

@media (min-width: 1101px) {
    .fb-lang-switcher {
        margin-left: 8px;
    }
}

@media (max-width: 768px) {
    .mobile-tabbar {
        display: flex;
        justify-content: space-around;
    }
    body {
        padding-bottom: calc(64px + env(safe-area-inset-bottom));
    }
    .header-nav {
        display: none;
    }

    .site-header {
        height: var(--header-h);
    }

    .header-inner,
    .fb-header-inner {
        gap: 8px;
        height: var(--header-h);
        padding-left: max(12px, env(safe-area-inset-left));
        padding-right: max(12px, env(safe-area-inset-right));
    }

    .logo,
    .fb-logo.logo {
        padding: 0;
    }

    .logo:hover {
        transform: none;
    }

    .logo-img {
        height: 32px;
        max-width: 110px;
    }

    .fb-header-search {
        flex: 1 1 auto;
        margin-left: 4px;
        height: 36px;
        padding: 0 12px;
    }

    /* iOS Safari 聚焦字号 < 16px 的输入框会自动放大页面 */
    .fb-search-input {
        font-size: 16px;
        padding: 0 6px;
    }

    .fb-lang-switcher {
        margin-left: 0;
        flex-shrink: 0;
    }

    /* 手机只留地球图标，语言名保留给读屏 */
    .lang-switcher-trigger {
        width: 36px;
        height: 36px;
        padding: 0;
        justify-content: center;
        gap: 0;
    }

    .lang-switcher-label {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .lang-switcher-caret {
        display: none;
    }

    .lang-switcher-icon {
        font-size: 1.05rem;
    }

    .lang-switcher-menu {
        min-width: 180px;
        max-width: calc(100vw - 24px);
        max-height: min(60vh, 420px);
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

    .lang-switcher-option {
        padding: 11px 14px;
        font-size: 0.9rem;
    }

    .filter-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .filter-field-search {
        grid-column: 1;
    }

    .filter-field-action {
        grid-column: 2;
        width: 100%;
        align-self: end;
    }

    .page-title {
        font-size: 1.2rem;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-contact {
        align-items: center;
    }
}

@media (max-width: 480px) {
    :root {
        --header-h: 52px;
    }

    .site-header {
        height: var(--header-h);
    }

    .header-inner,
    .fb-header-inner {
        gap: 6px;
        height: var(--header-h);
    }

    .logo-img {
        height: 30px;
        max-width: 96px;
        filter: none;
    }

    .fb-header-search {
        height: 34px;
        padding: 0 10px;
    }

    .fb-search-icon {
        font-size: 0.8rem;
    }

    .lang-switcher-trigger {
        width: 34px;
        height: 34px;
    }

    .header-nav {
        gap: 2px;
    }

    .nav-link {
        padding: 5px 8px;
        font-size: 0.75rem;
    }

    .filter-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .filter-field:nth-child(3) {
        grid-column: 1 / -1;
    }

    .platform-picker-menu {
        min-width: 100%;
        width: max-content;
        max-width: min(280px, calc(100vw - 32px));
    }

    .header-nav {
        gap: 4px;
    }

    .nav-link {
        padding: 6px 10px;
        font-size: 0.8125rem;
    }

    .about-title {
        font-size: 1.4rem;
    }
}

@media (min-width: 640px) {
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

/* Mobile/Tablet (single-column): player first, promotion right under episodes */
@media (max-width: 899px) {
    .detail-layout {
        grid-template-columns: 1fr;
    }

    /* 单列顺序：播放器+选集 → 推广卡 → 封面/简介 → 分享。
       .detail-right 用 display:contents 展开，让推广卡直接成为栅格项，
       再用 order 提到选集正下方，用户可以马上点到推广入口。 */
    .detail-right {
        display: contents;
    }

    .detail-center {
        order: -3;
        align-items: stretch;
    }

    #promotion-container {
        order: -2;
    }

    .detail-left {
        order: -1;
    }

    .episode-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 6px;
        margin: 0 -4px;
    }

    .episode-btn {
        flex: 0 0 auto;
        min-width: 56px;
        scroll-snap-align: center;
    }
}

/* Tablet+: 3-column layout — left(cover+info) | center(player+episodes) | right(promo+share) */
@media (min-width: 900px) {
    .detail-layout {
        grid-template-columns: minmax(0, 260px) minmax(0, 1fr) minmax(0, 300px);
        gap: 32px;
    }

    .detail-left {
        position: sticky;
        top: calc(var(--header-h) + 16px);
        align-self: start;
        max-height: calc(100vh - var(--header-h) - 32px);
        overflow-y: auto;
        padding-right: 4px;
    }

    .detail-right {
        position: sticky;
        top: calc(var(--header-h) + 16px);
    }

    .book-layout {
        grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
        gap: 28px;
    }

    .book-left {
        position: sticky;
        top: calc(var(--header-h) + 16px);
        align-self: start;
    }

    .card-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (min-width: 1200px) {
    .detail-layout {
        grid-template-columns: minmax(0, 280px) minmax(0, 1fr) minmax(0, 340px);
        gap: 40px;
    }

    .detail-left {
        max-height: calc(100vh - var(--header-h) - 40px);
    }

    .detail-right {
        top: calc(var(--header-h) + 20px);
    }

    .book-layout {
        grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
        gap: 40px;
    }
}

@media (min-width: 1024px) {
    .card-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .page-title {
        font-size: 1.6rem;
    }
}
/* SEO: list intro text */
.page-intro {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: -12px 0 24px;
    max-width: 860px;
}

/* SEO: breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.breadcrumb-link {
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.breadcrumb-link:hover {
    color: var(--accent);
}

.breadcrumb-sep {
    color: var(--text-muted);
    opacity: 0.6;
}

.breadcrumb-current {
    color: var(--text);
    font-weight: 500;
    max-width: 340px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* SEO: more-from-source module */
.more-section {
    margin-top: 40px;
}

.more-section .list-meta {
    margin-bottom: 16px;
}

.more-link {
    font-size: 0.8125rem;
    color: var(--accent);
    font-weight: 600;
}

.more-link:hover {
    color: var(--accent-hover);
}

/* SEO: editorial overlay sections */
.overlay-section {
    margin-top: 36px;
    padding: 24px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.overlay-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.overlay-text {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.overlay-chars {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 8px;
}

.overlay-chars li {
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 10px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
}

.overlay-faq {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    overflow: hidden;
}

.overlay-faq:last-child {
    margin-bottom: 0;
}

.overlay-faq[open] {
    border-color: var(--border);
}

.overlay-faq-q {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 44px 10px 16px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.overlay-faq-q::-webkit-details-marker {
    display: none;
}

.overlay-faq-q:hover {
    background: var(--bg-card-hover);
}

.overlay-faq-q:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
}

.overlay-faq-q::after {
    content: '+';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1;
    color: var(--text-secondary);
}

.overlay-faq[open] .overlay-faq-q::after {
    content: '\2212';
    color: var(--accent);
}

[dir="rtl"] .overlay-faq-q {
    padding: 10px 16px 10px 44px;
}

[dir="rtl"] .overlay-faq-q::after {
    right: auto;
    left: 16px;
}

.overlay-faq-a {
    margin: 0;
    padding: 2px 16px 14px;
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

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

.overlay-similar-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    transition: color 0.2s ease, transform 0.2s ease;
}

.overlay-similar-item:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

.overlay-similar-item img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
}

@media (max-width: 640px) {
    .page-intro {
        margin-top: -8px;
    }

    .breadcrumb-current {
        max-width: 200px;
    }
}

/* SEO: genre landing pages */
.genre-links-section,
.popular-genres {
    margin-top: 36px;
}

.genre-links-section .list-meta,
.popular-genres .list-meta {
    margin-bottom: 14px;
}

.genre-links-section .page-title,
.popular-genres .page-title {
    font-size: 1.125rem;
}

.genre-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.genre-chip {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    padding: 8px 14px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: border-color 0.15s ease, color 0.15s ease;
}

.genre-chip:hover {
    border-color: var(--accent);
    color: var(--text);
    background: var(--bg-card-hover);
}

.genre-chip-count {
    font-size: 0.6875rem;
    color: var(--text-muted);
}

/* SEO: platform landing about section */
.platform-about {
    margin-top: 36px;
    padding: 20px 24px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 14px;
}

.platform-about .page-title {
    font-size: 1.125rem;
    margin-bottom: 10px;
}

.platform-about p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.75;
}

/* SEO: clickable tag chips on detail pages */
.detail-tags .tag-link {
    text-decoration: none;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.detail-tags .tag-link:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* =============================================================================
   ZIP 资源包预览播放器（DramaBox/dianzhong 源）
   浏览器内解析 ZIP 目录，视频字节走 CF Worker 边缘代理，不经源站。
   结构由 web/static/js/zip-player.js 生成（.zp/.zp-main/.ep-video/.zp-bar/...）。
   ============================================================================= */
.player-wrap.is-zip {
    aspect-ratio: auto;
    max-width: 860px;
    background: var(--bg-card);
    overflow: visible;
}

.player-wrap.is-zip .video-player,
.player-wrap.is-zip .player-loading {
    display: none;
}

.zip-mount[hidden] {
    display: none;
}

.zp {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
}

.zp-main {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

/* 竖屏短剧 9:16：锁高度让宽度由 aspect-ratio 反推，居中留黑边 */
.zp .ep-video {
    display: block;
    height: min(68vh, 720px);
    width: auto;
    max-width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: contain;
    margin: 0 auto;
    background: #000;
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .45);
}

.zp-bar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.zp-hdr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.zp-hdr-title {
    font-weight: 600;
    color: var(--text);
}

.zp-hdr-now {
    font-variant-numeric: tabular-nums;
}

.zp-eps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 8px;
    align-content: start;
}

.zp-eps .ep-btn {
    width: 100%;
    padding: 9px 6px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-elevated);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.zp-eps .ep-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-cyan);
    color: var(--text);
}

.zp-eps .ep-btn.active {
    background: var(--grad-ocean);
    border-color: transparent;
    color: var(--text-on-primary);
    font-weight: 700;
}

.zp-status {
    min-height: 1.2em;
    font-size: 0.88rem;
    color: var(--text-muted);
    text-align: center;
}

.zp-status:empty {
    display: none;
}

.zp-dl {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    background: var(--bg-elevated);
    color: var(--text);
    text-decoration: none;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 9px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.zp-dl:hover {
    text-decoration: none;
    color: var(--text);
    background: var(--bg-card-hover);
    border-color: var(--accent-violet);
}

.zp-dl-inline {
    align-self: center;
}

.zp-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 8px;
    text-align: center;
}

.zp-error-msg {
    margin: 0;
    color: var(--text);
    font-size: 0.92rem;
    max-width: 46ch;
}

.zp-resume {
    background: var(--bg-elevated);
    border: 1px solid var(--accent-soft);
    border-radius: var(--radius);
    padding: 16px 14px;
    margin: 0 18px 14px;
    text-align: center;
}

.zp-resume-msg {
    margin: 0 0 12px;
    font-size: 0.95rem;
    color: var(--text);
}

.zp-resume-msg strong {
    color: var(--accent-pink);
}

.zp-resume-row {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.zp-resume-yes,
.zp-resume-no {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 8px 18px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.88rem;
    transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.zp-resume-yes {
    background: var(--grad-ocean);
    color: var(--text-on-primary);
    border-color: transparent;
    font-weight: 700;
}

.zp-resume-no {
    background: var(--bg-elevated);
    color: var(--text-muted);
}

.zp-resume-no:hover {
    color: var(--text);
    background: var(--bg-card-hover);
}

/* =============================================================================
   HOTTV 深绿主题 · 优酷式信息架构补充层（2026-10-15）
   频道导航 / 密集卡片网格 / 筛选条卡片 / 深色滚动条 / 头部 CTA
   ============================================================================= */

/* 深色滚动条（全站） */
html {
    scrollbar-color: var(--border) var(--bg);
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 6px;
    border: 2px solid var(--bg);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

::selection {
    background: rgba(0, 200, 83, 0.32);
    color: var(--text);
}

/* 频道导航：hover 也出绿色下划线（优酷式二级反馈） */
.fb-header-nav-item::after,
.nav-link::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--grad-watch);
    opacity: 0;
    transform: scaleX(0.4);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.fb-header-nav-item,
.nav-link {
    position: relative;
}

.fb-header-nav-item:hover::after,
.nav-link:hover::after {
    opacity: 0.55;
    transform: scaleX(1);
}

.fb-header-nav-item.active::after,
.nav-link.active::after {
    opacity: 1;
    transform: scaleX(1);
}

/* 头部主行动按钮（优酷式右侧 CTA：WhatsApp 联系） */
.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--grad-watch);
    color: var(--text-on-primary);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0, 200, 83, 0.28);
    transition: filter 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.header-cta:hover {
    filter: brightness(1.08);
    box-shadow: 0 6px 18px rgba(0, 200, 83, 0.42);
    transform: translateY(-1px);
}

.header-cta:active {
    transform: scale(0.97);
}

.header-cta-icon {
    font-size: 0.95rem;
    line-height: 1;
}

@media (max-width: 768px) {
    .header-cta {
        display: none;
    }
}

/* 优酷式密集网格：宽屏每行 5~6 张封面，提升内容发现密度 */
@media (min-width: 1280px) {
    .card-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 22px 16px;
    }
}

@media (min-width: 1500px) {
    .card-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 22px 16px;
    }
}

/* 筛选条：深绿卡片承托（优酷筛选栏） */
.fb-filter-card.filters {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px 18px;
    box-shadow: var(--shadow-sm);
}

/* 总量徽标：pill 化 */
.total-count {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 4px 12px;
    border-radius: 999px;
    white-space: nowrap;
}

/* 列表头：标题 + 徽标同一行基线对齐 */
.fb-feed-header.list-meta {
    align-items: center;
}

/* 右侧挂件链接 hover 变品牌绿 */
.fb-widget-link:hover {
    color: var(--accent);
}

/* 区块标题右侧「查看更多」：优酷式箭头 */
.more-link::after {
    content: ' \203A';
    font-weight: 700;
}

/* 分页：深色 pill + 绿色 hover */
.page-btn:hover {
    box-shadow: 0 4px 14px rgba(0, 200, 83, 0.35);
}

/* 详情页播放器：纯黑沉浸底（提案：播放页少用渐变） */
.player-wrap {
    background: #000;
}

/* 登录/语言菜单浮层：深绿 elevated */
.lang-switcher-menu,
.platform-picker-menu {
    background: var(--bg-elevated);
}
