* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0a0a0f;
    color: #F5F5F7;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
    font-family: 'Lexend', sans-serif;
    min-height: 100vh;
}

/* ===== 头部样式 ===== */
.ln-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ln-header h1 {
    font-size: 36px;
    font-weight: 600;
    background: linear-gradient(135deg, #0167ff 0%, #00c6ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}
.ln-header p {
    color: #6b7280;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* ===== 源切换标签 ===== */
.ln-source-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
}
.ln-source-tab {
    padding: 10px 24px;
    background: #1A1A1F;
    border: 1px solid #2A2A30;
    border-radius: 8px;
    color: #999CA2;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ln-source-tab.active {
    background: rgba(1, 103, 255, 0.15);
    border-color: #0167ff;
    color: #0167ff;
}
.ln-source-tab:hover:not(.active) {
    border-color: #444;
    color: #F5F5F7;
}

/* ===== 播放器容器 ===== */
.ln-player {
    max-width: 1100px;
    margin: 0 auto 50px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    position: relative;
    background: #000;
}

/* 播放器背景 - 放大模糊封面 */
.ln-player-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.2);
    filter: blur(50px) brightness(0.35);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
    pointer-events: none;
}

.ln-player-backdrop.active {
    opacity: 1;
}

.ln-player .video-js {
    position: relative;
    z-index: 1;
    background: transparent !important;
}

/* 当有背景时，video-js 背景透明 */
.ln-player:has(.ln-player-backdrop.active) .video-js {
    background: transparent !important;
}

.ln-player:has(.ln-player-backdrop.active) .vjs-poster {
    background-color: transparent !important;
}

/* ===== B站播放器容器 ===== */
.ln-bilibili-player {
    max-width: 1100px;
    margin: 0 auto 50px;
    border-radius: 24px;
    overflow: hidden;
    background: #1A1A1F;
    border: 1px solid #2A2A30;
    display: none;
}
.ln-bilibili-header {
    padding: 15px 20px;
    border-bottom: 1px solid #2A2A30;
    display: flex;
    align-items: center;
    gap: 10px;
}
.ln-bilibili-header svg {
    width: 24px;
    height: 24px;
    fill: #FB7299;
}
.ln-bilibili-header span {
    color: #FB7299;
    font-weight: 600;
    font-size: 16px;
}
.ln-bilibili-tip {
    padding: 10px 20px;
    font-size: 12px;
    color: #999CA2;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid #2A2A30;
}
.ln-bilibili-iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
}
.ln-bilibili-iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ===== Video.js 基础样式 ===== */
.video-js {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16/9 !important;
    background: #000 !important;
    border-radius: 24px !important;
    overflow: hidden !important;
}

.video-js .vjs-poster {
    object-fit: contain !important;
    object-position: center !important;
    width: 100% !important;
    height: 100% !important;
    background-size: contain !important;
    background-color: transparent !important;
    background-repeat: no-repeat !important;
}

/* 大播放按钮 */
.vjs-big-play-button {
    width: 100px !important;
    height: 100px !important;
    line-height: 100px !important;
    font-size: 45px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    background: rgba(1, 103, 255, 0.25) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    color: #fff !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    box-shadow: 
        0 8px 32px rgba(1, 103, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.vjs-big-play-button:hover {
    background: rgba(1, 103, 255, 0.4) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    transform: translate(-50%, -50%) scale(1.08) !important;
    box-shadow: 
        0 12px 40px rgba(1, 103, 255, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

/* 控制条容器 */
.vjs-control-bar {
    position: absolute !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 80px) !important;
    max-width: 900px !important;
    height: 64px !important;
    background: rgba(20, 20, 28, 0.65) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 16px !important;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 0 20px !important;
    transition: opacity 0.3s ease, transform 0.3s ease !important;
    z-index: 10 !important;
}

.video-js.vjs-user-inactive .vjs-control-bar {
    opacity: 0 !important;
    transform: translateX(-50%) translateY(20px) !important;
    pointer-events: none;
}

.video-js.vjs-user-active .vjs-control-bar {
    opacity: 1 !important;
    transform: translateX(-50%) translateY(0) !important;
}

/* 控制按钮通用样式 */
.vjs-control {
    position: relative !important;
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    background: transparent !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

.vjs-control .vjs-icon-placeholder {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    line-height: 1 !important;
}

.vjs-control .vjs-icon-placeholder:before {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.vjs-control:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
}

.vjs-control:active {
    transform: translateY(0) scale(0.95) !important;
}

/* 播放/暂停按钮 */
.vjs-play-control {
    width: 48px !important;
    height: 48px !important;
    line-height: 48px !important;
    border-radius: 12px !important;
    background: rgba(1, 103, 255, 0.2) !important;
    border: 1px solid rgba(1, 103, 255, 0.3) !important;
    margin: 0 4px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.vjs-play-control .vjs-icon-placeholder {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
}

.vjs-play-control:hover {
    background: rgba(1, 103, 255, 0.35) !important;
    border-color: rgba(1, 103, 255, 0.5) !important;
    box-shadow: 0 4px 20px rgba(1, 103, 255, 0.3) !important;
}

/* 时间显示 */
.vjs-time-control {
    font-family: 'Lexend', monospace !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 0 12px !important;
    letter-spacing: 0.5px !important;
    min-width: auto !important;
    width: auto !important;
    height: 40px !important;
    line-height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.vjs-current-time {
    color: #fff !important;
    font-weight: 500 !important;
}

.vjs-time-divider {
    color: rgba(255, 255, 255, 0.4) !important;
    padding: 0 4px !important;
    height: 40px !important;
    line-height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* 进度条 */
.vjs-progress-control {
    flex: 1 1 auto !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 12px !important;
    position: relative !important;
    min-width: 150px !important;
}

.vjs-progress-holder {
    width: 100% !important;
    height: 6px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border-radius: 3px !important;
    position: relative !important;
    overflow: visible !important;
    cursor: pointer !important;
    transition: height 0.2s ease !important;
}

.vjs-progress-control:hover .vjs-progress-holder {
    height: 8px !important;
}

.vjs-load-progress {
    background: rgba(255, 255, 255, 0.25) !important;
    border-radius: 3px !important;
}

.vjs-play-progress {
    background: linear-gradient(90deg, #0167ff 0%, #00c6ff 100%) !important;
    border-radius: 3px !important;
    box-shadow: 0 0 10px rgba(1, 103, 255, 0.5) !important;
    position: relative !important;
}

.vjs-play-progress:after {
    content: '' !important;
    position: absolute !important;
    right: -8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 16px !important;
    height: 16px !important;
    background: #fff !important;
    border-radius: 50% !important;
    box-shadow: 
        0 0 0 4px rgba(1, 103, 255, 0.3),
        0 2px 8px rgba(0,0,0,0.3) !important;
    opacity: 0 !important;
    transition: opacity 0.2s ease, transform 0.2s ease !important;
    pointer-events: none !important;
}

.vjs-progress-control:hover .vjs-play-progress:after {
    opacity: 1 !important;
    transform: translateY(-50%) scale(1.1) !important;
}

.vjs-slider-handle,
.vjs-play-progress:before {
    display: none !important;
}

/* 隐藏进度条悬浮时间提示 */
.vjs-time-tooltip,
.vjs-mouse-display,
.vjs-progress-control .vjs-time-tooltip,
.vjs-progress-control:hover .vjs-time-tooltip,
.vjs-progress-control:hover .vjs-mouse-display,
.vjs-play-progress .vjs-time-tooltip,
.vjs-progress-holder .vjs-time-tooltip {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* 音量面板 */
.vjs-volume-panel {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: 40px !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: visible !important;
    margin-left: 8px !important;
}

.vjs-volume-button {
    width: 40px !important;
    height: 40px !important;
    z-index: 2 !important;
}

.vjs-volume-control.vjs-volume-horizontal {
    width: 0 !important;
    height: 6px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border-radius: 3px !important;
    margin-left: 8px !important;
    opacity: 0 !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
    transition: width 0.3s ease, opacity 0.3s ease !important;
    z-index: 1 !important;
}

.vjs-volume-panel:hover .vjs-volume-control.vjs-volume-horizontal,
.vjs-volume-panel.vjs-hover .vjs-volume-control.vjs-volume-horizontal,
.vjs-volume-panel.vjs-slider-active .vjs-volume-control.vjs-volume-horizontal {
    width: 80px !important;
    opacity: 1 !important;
    background: rgba(255, 255, 255, 0.2) !important;
}

.vjs-volume-control.vjs-volume-horizontal .vjs-volume-holder {
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
}

.vjs-volume-control.vjs-volume-horizontal .vjs-volume-holder:before {
    content: '' !important;
    position: absolute !important;
    top: -8px !important;
    bottom: -8px !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1 !important;
    background: transparent !important;
}

.vjs-volume-level {
    background: linear-gradient(90deg, #0167ff 0%, #00c6ff 100%) !important;
    border-radius: 3px !important;
    height: 100% !important;
    position: relative !important;
    pointer-events: none !important;
}

.vjs-volume-level:after {
    content: '' !important;
    position: absolute !important;
    right: -6px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 12px !important;
    height: 12px !important;
    background: #fff !important;
    border-radius: 50% !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3) !important;
    opacity: 0 !important;
    transition: opacity 0.2s ease !important;
}

.vjs-volume-control:hover .vjs-volume-level:after {
    opacity: 1 !important;
}

.vjs-volume-level:before {
    display: none !important;
}

/* 全屏按钮 */
.vjs-fullscreen-control {
    margin-left: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* 隐藏不需要的元素 */
.vjs-subtitles-button,
.vjs-subs-caps-button,
.vjs-text-track-display,
.vjs-remaining-time,
.vjs-live-control,
.vjs-seek-to-live,
.vjs-playback-rate-menu-button {
    display: none !important;
}

/* 菜单弹出 */
.vjs-menu-button-popup .vjs-menu {
    position: absolute !important;
    bottom: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin-bottom: 10px !important;
    background: rgba(20, 20, 28, 0.95) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5) !important;
    overflow: hidden !important;
    min-width: 80px !important;
    z-index: 1000 !important;
}

.vjs-menu-button-popup {
    position: relative !important;
    overflow: visible !important;
}

.vjs-menu-content {
    background: transparent !important;
    padding: 6px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    position: relative !important;
    z-index: 1001 !important;
}

.vjs-menu-item {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 13px !important;
    padding: 8px 16px !important;
    border-radius: 6px !important;
    transition: all 0.2s ease !important;
    text-align: center !important;
    cursor: pointer !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    z-index: 1002 !important;
}

.vjs-menu-item:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}

.vjs-menu-item.vjs-selected {
    background: rgba(1, 103, 255, 0.3) !important;
    color: #fff !important;
    font-weight: 500 !important;
}

/* 视频卡片网格 */
.ln-video-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.ln-bilibili-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.ln-bilibili-list {
    display: none;
}

.ln-video-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}

.ln-video-card:hover {
    transform: translateY(-4px) scale(1.02);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(1, 103, 255, 0.4);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(1, 103, 255, 0.2);
}

.ln-video-card:active {
    transform: translateY(-2px) scale(0.98);
}

.ln-card-cover {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    object-position: center; 
    display: block;
}

/* B站视频横版封面 */
.ln-bilibili-list .ln-card-cover {
    aspect-ratio: 16/10;
}

.ln-card-title {
    padding: 16px;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.3px;
}

/* 覆盖：去掉进度条和音量条悬浮时的浅白色背景 */
.vjs-progress-control:hover,
.vjs-volume-panel:hover,
.vjs-volume-control.vjs-volume-horizontal:hover,
.vjs-volume-panel.vjs-hover,
.vjs-volume-panel.vjs-slider-active {
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
}

/* 加载动画 */
.vjs-loading-spinner {
    border: 3px solid rgba(255, 255, 255, 0.1) !important;
    border-top-color: #0167ff !important;
    box-shadow: 0 0 20px rgba(1, 103, 255, 0.5) !important;
}

/* ============================================
   账户与登录系统样式
   ============================================ */

/* 旧的用户区域已移至新头部结构 .ln-header-new 内 */

.ln-btn {
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    outline: none;
    font-family: 'Lexend', sans-serif;
}

.ln-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.ln-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.ln-btn-primary {
    background: linear-gradient(135deg, #0167ff 0%, #00c6ff 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(1, 103, 255, 0.3);
}

.ln-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(1, 103, 255, 0.5);
}

.ln-btn-primary:active {
    transform: translateY(0);
}

/* 已登录状态 */
.ln-user-profile {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ln-user-avatar {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    border-radius: 50%;
    box-sizing: border-box;
    background: linear-gradient(135deg, #0167ff 0%, #00c6ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 20px;
    font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', sans-serif;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(1, 103, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    flex-shrink: 0;
    line-height: 1;
}

.ln-user-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(1, 103, 255, 0.5);
}

.ln-user-avatar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.15);
    pointer-events: none;
}

.ln-user-avatar:hover::before {
    border-color: rgba(255, 255, 255, 0.3);
}

.ln-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.ln-user-avatar::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    background: #00d26a;
    border-radius: 50%;
    border: 2px solid #0a0a0f;
    box-shadow: 0 0 0 1px rgba(0, 210, 106, 0.5);
    z-index: 10;
}



.ln-vip-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%);
    color: #1a1a1f;
    font-size: 10px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 183, 0, 0.3);
}

/* 用户下拉菜单 */
.ln-user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 260px;
    background: rgba(25, 25, 35, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    display: none;
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.15s ease, transform 0.15s ease;
    z-index: 1000;
}

.ln-user-dropdown.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.ln-dropdown-header {
    padding: 20px;
    background: linear-gradient(135deg, rgba(1, 103, 255, 0.15) 0%, rgba(0, 198, 255, 0.05) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.ln-dropdown-avatar {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    border-radius: 50%;
    box-sizing: border-box;
    background: linear-gradient(135deg, #0167ff 0%, #00c6ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', sans-serif;
    color: #fff;
    flex-shrink: 0;
    position: relative;
    line-height: 1;
}

.ln-dropdown-avatar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.15);
    pointer-events: none;
}

.ln-dropdown-meta {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.ln-dropdown-name {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.ln-dropdown-email {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ln-dropdown-menu {
    padding: 8px;
    list-style: none;
}

.ln-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 2px;
}

.ln-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transform: translateX(4px);
}

.ln-dropdown-item svg {
    width: 18px;
    height: 18px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.ln-dropdown-item:hover svg {
    opacity: 1;
    color: #00c6ff;
}

.ln-dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 8px 12px;
}

.ln-dropdown-item.logout {
    color: #ff4757;
}

.ln-dropdown-item.logout:hover {
    background: rgba(255, 71, 87, 0.1);
    color: #ff4757;
}

.ln-dropdown-item.logout:hover svg {
    color: #ff4757;
}

/* ============================================
   登录/注册弹窗样式
   ============================================ */

.ln-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.ln-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.ln-modal {
    width: 90%;
    max-width: 400px;
    max-height: 90vh;
    background: rgba(25, 25, 35, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.2s ease, transform 0.2s ease;
    overflow: hidden;
    position: relative;
}

.ln-modal-overlay.active .ln-modal {
    opacity: 1;
    transform: scale(1);
}

.ln-modal-header {
    padding: 32px 32px 16px;
    text-align: center;
    position: relative;
    background: rgba(1, 103, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ln-modal-title {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.ln-modal-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

.ln-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.ln-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.ln-modal-body {
    padding: 16px 32px 32px;
    max-height: calc(90vh - 140px);
    overflow-y: auto;
}

.ln-form-group {
    margin-bottom: 20px;
}

.ln-form-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    padding-left: 4px;
}

.ln-input-wrapper {
    position: relative;
}

.ln-form-input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    font-family: 'Lexend', sans-serif;
    transition: all 0.3s ease;
    outline: none;
}

.ln-form-input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(1, 103, 255, 0.5);
    box-shadow: 0 0 0 4px rgba(1, 103, 255, 0.1);
}

.ln-form-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.ln-password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 4px;
    transition: color 0.3s ease;
}

.ln-password-toggle:hover {
    color: rgba(255, 255, 255, 0.8);
}

.ln-form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 13px;
}

.ln-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.ln-checkbox-wrapper:hover {
    color: rgba(255, 255, 255, 0.9);
}

.ln-checkbox {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    vertical-align: middle;
    transition: all 0.3s ease;
    appearance: none;
}

.ln-checkbox:checked {
    background: linear-gradient(135deg, #0167ff 0%, #00c6ff 100%);
    border-color: transparent;
}

.ln-checkbox:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.ln-link {
    color: #00c6ff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.ln-link:hover {
    color: #0167ff;
    text-shadow: 0 0 20px rgba(0, 198, 255, 0.5);
}

.ln-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #0167ff, #00c6ff);
    transition: width 0.3s ease;
}

.ln-link:hover::after {
    width: 100%;
}

.ln-submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #0167ff 0%, #00c6ff 100%);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(1, 103, 255, 0.3);
    font-family: 'Lexend', sans-serif;
    position: relative;
    overflow: hidden;
}

.ln-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(1, 103, 255, 0.5);
}

.ln-submit-btn:active {
    transform: translateY(0);
}

.ln-submit-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 70%
    );
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s ease;
}

.ln-submit-btn:hover::after {
    transform: rotate(45deg) translateX(100%);
}

.ln-modal-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.ln-auth-switch {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   观看历史样式
   ============================================ */

.ln-history-section {
    margin-top: 40px;
    padding: 0;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.ln-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

.ln-section-title svg {
    color: #0167ff;
}

.ln-history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ln-history-item {
    display: flex;
    align-items: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ln-history-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(1, 103, 255, 0.3);
    transform: translateX(4px);
}

.ln-history-cover {
    width: 120px;
    height: 68px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 12px;
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.3);
}

.ln-history-type {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(1, 103, 255, 0.2);
    color: #0167ff;
    font-size: 12px;
    border-radius: 4px;
    margin-right: 8px;
    flex-shrink: 0;
}

.ln-history-empty {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    padding: 40px 20px;
    font-size: 14px;
}

/* 电脑端观看历史 */
@media screen and (min-width: 769px) {
    .ln-history-item {
        align-items: center;
        padding: 12px 30px 12px 12px;
    }
    
    .ln-history-info {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-width: 0;
    }
    
    .ln-history-title {
        font-size: 15px;
        color: rgba(255, 255, 255, 0.9);
        font-weight: 500;
        flex: 1;
        margin-right: 16px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .ln-history-meta {
        display: flex;
        align-items: center;
        gap: 16px;
        flex-shrink: 0;
    }
    
    .ln-history-progress {
        display: flex;
        align-items: center;
        gap: 8px;
        width: 100px;
        flex-shrink: 0;
    }
    

    
    .ln-progress-bar {
        width: 60px;
        height: 4px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 2px;
        overflow: hidden;
    }
    
    .ln-progress-fill {
        height: 100%;
        background: linear-gradient(90deg, #0167ff, #00c6ff);
        border-radius: 2px;
        transition: width 0.3s ease;
    }
    
    .ln-progress-text {
        font-size: 12px;
        color: rgba(255, 255, 255, 0.6);
        min-width: 32px;
    }
    
    .ln-history-time {
        font-size: 13px;
        color: rgba(255, 255, 255, 0.5);
        width: 130px;
        text-align: right;
        flex-shrink: 0;
    }
    
    .ln-history-date {
        font-size: 12px;
        color: rgba(255, 255, 255, 0.4);
        min-width: 80px;
        text-align: right;
    }
    
    /* B站特殊处理 */
    .ln-history-progress.ln-bilibili-hidden {
        display: none;
    }

    .ln-history-time.bilibili-note {
        width: 130px;
        text-align: left;
        font-size: 11px;
        color: rgba(255, 255, 255, 0.35);
        white-space: nowrap;
        flex-shrink: 0;
        overflow: hidden;
    }
    
    /* 隐藏移动端结构 */
    .ln-history-title-row,
    .ln-history-progress-row,
    .ln-history-date-row {
        display: none;
    }
}

/* ============================================
   管理面板样式
   ============================================ */

.ln-admin-panel {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.ln-admin-panel h3 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 20px;
}

.ln-admin-section {
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.ln-admin-section h4 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 15px;
}

.ln-admin-section input {
    display: block;
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
}

.ln-admin-section input::placeholder {
    color: rgba(255,255,255,0.5);
}

.ln-admin-section button {
    padding: 12px 24px;
    background: #0167ff;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.ln-admin-section button:hover {
    background: #0056d6;
}

/* 管理面板视频列表 - 基础样式 */
.admin-video-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: rgba(255,255,255,0.05);
    margin-bottom: 8px;
    border-radius: 8px;
}

.admin-video-item span {
    color: #fff;
    font-size: 14px;
}

.admin-video-item .admin-btn-delete {
    padding: 8px 14px;
    background: #ff4757;
    color: #fff;
    border: 1px solid #ff4757;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
    line-height: 1;
}

.admin-video-item .admin-btn-delete:hover {
    background: #ff3344;
    border-color: #ff3344;
}

/* 封面预览 */
.admin-cover-preview {
    margin: 10px 0;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-cover-preview img {
    width: 80px;
    height: 45px;
    object-fit: cover;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.3);
}

.admin-cover-preview span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

/* 管理面板编辑状态样式 */
.admin-btn-cancel {
    margin-left: 10px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.admin-btn-cancel:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.admin-video-cover {
    width: 80px;
    height: 45px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 12px;
    background: rgba(0, 0, 0, 0.3);
}

.admin-video-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.admin-video-title {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-video-id {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    font-family: monospace;
}

.admin-video-actions {
    display: flex;
    gap: 8px;
}

.admin-video-item .admin-btn-edit {
    padding: 8px 14px;
    background: #0167ff;
    color: #fff;
    border: 1px solid #0167ff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
    line-height: 1;
}

.admin-video-item .admin-btn-edit:hover {
    background: #0056d6;
    border-color: #0056d6;
}

/* Toast 提示 */
.ln-toast {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(1, 103, 255, 0.95);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    z-index: 10000;
    box-shadow: 0 4px 12px rgba(1, 103, 255, 0.3);
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* 编辑弹窗中的预览 */
.edit-modal-preview {
    margin: 16px 0 24px;
}

/* 减少动画 */
.reduce-motion * {
    transition-duration: 0.05s !important;
    animation-duration: 0.05s !important;
}

/* ============================================
   个人中心样式
   ============================================ */

.profile-avatar-section {
    text-align: center;
    margin-bottom: 24px;
}

.profile-avatar-section .profile-avatar-preview {
    display: inline-flex;
}

.profile-avatar-preview {
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    border-radius: 50%;
    box-sizing: border-box;
    background: linear-gradient(135deg, #0167ff 0%, #00c6ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', sans-serif;
    color: #fff;
    box-shadow: 0 4px 20px rgba(1, 103, 255, 0.3);
    position: relative;
    line-height: 1;
}

.profile-avatar-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.15);
    pointer-events: none;
}

.profile-color-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 8px 0;
}

.color-option {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    box-sizing: border-box;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    flex-shrink: 0;
}

.color-option:hover {
    transform: scale(1.1);
}

.color-option.active {
    border-color: #fff;
    box-shadow: 0 0 0 2px #0167ff, 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ============================================
   响应式适配 - 移动端（≤ 768px）
   ============================================ */

@media screen and (max-width: 768px) {
    body {
        padding: 15px;
        overflow-x: hidden;
        width: 100vw;
    }
    
    .ln-header h1 {
        font-size: 28px;
    }
    
    .ln-player, .ln-bilibili-player {
        border-radius: 16px;
        margin-bottom: 30px;
        width: 100%;
        max-width: 100%;
    }
    
    .video-js {
        border-radius: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .vjs-big-play-button {
        width: 60px !important;
        height: 60px !important;
        line-height: 60px !important;
        font-size: 28px !important;
        transform: translate(-50%, -60%) !important;
    }
    
    .vjs-control-bar {
        width: calc(100% - 20px) !important;
        height: 56px !important;
        bottom: 10px !important;
        padding: 0 10px !important;
        gap: 1px !important;
        box-sizing: border-box !important;
        max-width: 100% !important;
    }
    
    .vjs-control {
        width: 32px !important;
        height: 32px !important;
        line-height: 32px !important;
    }
    
    .vjs-play-control {
        width: 38px !important;
        height: 38px !important;
        line-height: 38px !important;
        margin: 0 2px !important;
    }
    
    .vjs-time-control {
        font-size: 12px !important;
        padding: 0 2px !important;
        height: 32px !important;
        line-height: 32px !important;
        min-width: 35px !important;
    }
    
    .vjs-time-divider {
        height: 32px !important;
        line-height: 32px !important;
        padding: 0 1px !important;
        font-size: 11px !important;
    }
    
    .vjs-progress-control {
        margin: 0 6px !important;
        min-width: 80px !important;
    }
    
    .vjs-volume-panel {
        margin-left: 2px !important;
    }
    
    .vjs-volume-panel:hover .vjs-volume-control.vjs-volume-horizontal,
    .vjs-volume-panel.vjs-hover .vjs-volume-control.vjs-volume-horizontal {
        width: 50px !important;
    }
    
    .vjs-volume-button {
        width: 32px !important;
        height: 32px !important;
    }
    
    .vjs-fullscreen-control {
        margin-left: 4px !important;
        width: 32px !important;
        height: 32px !important;
    }
    
    .ln-source-tabs {
        flex-wrap: wrap;
    }
    
    .ln-source-tab {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .ln-video-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .ln-bilibili-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .ln-card-cover {
        aspect-ratio: 2/3;
        object-fit: cover;
        object-position: center;
    }
    
    .ln-bilibili-list .ln-card-cover {
        aspect-ratio: 16/10;
    }
    
    .ln-card-title {
        padding: 12px;
        font-size: 13px;
    }
    
    /* 用户区域 */
    .ln-user-section {
        top: 15px;
        right: 15px;
    }
    
    .ln-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .ln-user-avatar {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
    
    .ln-user-dropdown {
        width: 240px;
        right: -10px;
    }
    
    /* 弹窗 */
    .ln-modal-overlay {
        backdrop-filter: none;
        background: rgba(0, 0, 0, 0.95);
    }
    
    .ln-modal {
        width: 95%;
        max-height: 80vh;
        margin: 20px;
    }
    
    .ln-modal-header {
        padding: 24px 24px 12px;
    }
    
    .ln-modal-title {
        font-size: 22px;
    }
    
    .ln-modal-body {
        padding: 12px 24px 24px;
    }
    
    /* 观看历史 - 手机端三行布局 */
    .ln-history-item {
        align-items: flex-start;
        padding: 10px;
    }
    
    .ln-history-cover {
        width: 100px;
        height: 56px;
        margin-right: 10px;
    }
    
    .ln-history-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 6px;
        min-width: 0;
    }
    
    .ln-history-title-row {
        display: flex;
        align-items: center;
        gap: 6px;
        width: 100%;
    }
    
    .ln-history-title-text {
        font-size: 14px;
        color: rgba(255, 255, 255, 0.9);
        font-weight: 500;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        flex: 1;
    }
    
    .ln-history-progress-row {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: nowrap;
        overflow: hidden;
    }
    
    .ln-history-progress {
        display: flex;
        align-items: center;
        gap: 6px;
        flex: 0 0 auto;
        min-width: 0;
    }

    .ln-history-progress.ln-bilibili-hidden {
        display: none !important;
    }

    .ln-history-time.ln-bilibili-note {
        flex: 1;
        text-align: left;
        font-size: 11px;
        color: rgba(255, 255, 255, 0.35);
        white-space: nowrap;
        margin-left: 0;
        padding-left: 0;
    }
    
    .ln-progress-bar {
        flex: 1;
        height: 3px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 2px;
        overflow: hidden;
        min-width: 40px;
        max-width: 80px;
    }
    
    .ln-progress-fill {
        height: 100%;
        background: linear-gradient(90deg, #0167ff, #00c6ff);
        border-radius: 2px;
    }
    
    .ln-progress-text {
        font-size: 11px;
        color: rgba(255, 255, 255, 0.6);
        flex-shrink: 0;
    }
    
    .ln-history-time {
        font-size: 12px;
        color: rgba(255, 255, 255, 0.5);
        flex: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: left;
    }
 
    .ln-history-time.mobile-note {
        color: rgba(255, 255, 255, 0.35);
        font-size: 11px;
        flex: 1;
        white-space: nowrap;
    }
    
    .ln-history-date-row {
        font-size: 11px;
        color: rgba(255, 255, 255, 0.4);
    }
    
    /* 隐藏电脑端专用结构 */
    .ln-history-title,
    .ln-history-meta {
        display: none;
    }
    
    /* 管理面板 */
    .ln-admin-section.existing-videos {
        background: transparent;
        padding: 0;
    }
    
    .admin-video-item.mobile {
        display: flex;
        flex-direction: row;
        padding: 8px 0;
        background: transparent;
        margin-bottom: 12px;
        gap: 10px;
        align-items: stretch;
    }
    
    .admin-video-item.mobile .admin-video-cover {
        width: 92px;
        height: 60px;
        flex-shrink: 0;
        margin-right: 0;
        border-radius: 6px;
        object-fit: cover;
    }
    
    .admin-video-item.mobile .admin-video-right {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 0;
    }
    
    .admin-video-item.mobile .admin-video-info {
        width: 100%;
    }
    
    .admin-video-item.mobile .admin-video-title {
        font-size: 13px;
        font-weight: 500;
        color: #fff;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    
        /* 添加标准属性（未来兼容） */
       line-clamp: 2;
        box-orient: vertical;
    }
    
    .admin-video-item.mobile .admin-video-id {
        font-size: 10px;
        color: rgba(255,255,255,0.35);
        margin-top: -2px;
        line-height: 1.2;
    }
    
    .admin-video-item.mobile .admin-video-actions {
        display: flex;
        gap: 6px;
        width: 100%;
        justify-content: flex-start;
    }
    
    .admin-video-item.mobile .admin-btn-edit {
        padding: 4px 18px;
        font-size: 10px;
        background: transparent;
        border: 1px solid #0167ff;
        color: #0167ff;
        border-radius: 5px;
        cursor: pointer;
        transition: all 0.2s ease;
        line-height: 1.3;
    }
    
    .admin-video-item.mobile .admin-btn-edit:active {
        background: rgba(1, 103, 255, 0.15);
    }
    
    .admin-video-item.mobile .admin-btn-delete {
        padding: 4px 18px;
        font-size: 10px;
        background: transparent;
        border: 1px solid #ff4757;
        color: #ff4757;
        border-radius: 5px;
        cursor: pointer;
        transition: all 0.2s ease;
        line-height: 1.3;
    }
    
    .admin-video-item.mobile .admin-btn-delete:active {
        background: rgba(255, 71, 87, 0.15);
    }
    
    .ln-admin-panel {
        padding: 15px;
    }
    
    .ln-admin-section input {
        padding: 10px;
        font-size: 13px;
    }
    
    .ln-admin-section button {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .admin-video-item {
        padding: 10px;
    }
    
    .admin-video-item span {
        font-size: 13px;
    }
    
    .admin-cover-preview {
        padding: 12px;
        min-height: 80px;
    }
    
    .admin-cover-preview img {
        max-width: 120px;
        max-height: 68px;
    }
    
    .admin-video-cover {
        width: 60px;
        height: 34px;
    }
    
    .profile-avatar-preview {
        width: 64px;
        height: 64px;
        font-size: 24px;
    }
    
    .color-option {
        width: 32px;
        height: 32px;
    }
}

/* ========== 剧集模式样式 ========== */
.series-toggle {
    margin: 12px 0;
    padding: 12px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
}

.series-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
}

.series-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #0167ff;
    cursor: pointer;
    margin: 0;
    flex-shrink: 0;
}

.series-text {
    line-height: 1.5;
}

.series-episodes {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.episode-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    line-height: 1.5;
}

.episode-num {
    color: #0167ff;
    font-size: 13px;
    font-weight: 500;
    min-width: 50px;
    flex-shrink: 0;
    line-height: 36px;
}

.episode-item input {
    flex: 1;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 8px 12px;
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    height: 36px;
    line-height: 1.5;
}

.episode-item input:focus {
    outline: none;
    border-color: #0167ff;
}

.series-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.series-btn {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: 1px dashed rgba(255,255,255,0.3);
    background: transparent;
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.series-btn:hover {
    border-color: #0167ff;
    color: #0167ff;
    background: rgba(1, 103, 255, 0.1);
}

.series-btn.remove:hover {
    border-color: #ff4757;
    color: #ff4757;
    background: rgba(255, 71, 87, 0.1);
}

/* 手机端适配 */
@media screen and (max-width: 768px) {
    .episode-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .episode-item input {
        width: 100%;
    }
}


/* ========== 剧集标识样式 ========== */
.ln-video-card.is-series {
    position: relative;
}

.series-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #0167ff 0%, #00c6ff 100%);
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 500;
    z-index: 2;
}

/* 选集功能 */
.episode-selector {
    max-width: 1100px;
    margin: 15px auto 50px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.episode-selector-title {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    font-weight: 500;
}

.episode-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
}

.episode-btn {
    min-width: 50px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s ease;
}

.episode-btn:hover {
    border-color: #0167ff;
    background: rgba(1, 103, 255, 0.2);
    color: #fff;
}

.episode-btn.active {
    background: #0167ff;
    border-color: #0167ff;
    color: #fff;
}

/* 手机端适配 */
@media screen and (max-width: 768px) {
    .episode-selector {
        max-width: 100%;
        margin: 15px auto 30px;
        padding: 12px;
    }
    
    .episode-btn {
        padding: 6px 10px;
        font-size: 12px;
        min-width: 40px;
    }
}


/* ========== 现代渐变风格顶部区域 ========== */
.ln-header-new {
    position: relative;
    min-height: 420px;
    padding: 40px;
    margin: -20px -20px 20px;
    overflow: visible;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
    background: 
        linear-gradient(180deg,
            rgba(1, 103, 255, 0.12) 0%,
            rgba(0, 198, 255, 0.06) 20%,
            transparent 55%);
    border-bottom: none;
}

/* 装饰性光晕 - 极致柔和 */
.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% 0%, 
            rgba(0, 198, 255, 0.15) 0%, 
            transparent 60%);
    z-index: 0;
    filter: blur(80px);
}

/* 居中品牌区域 */
.header-brand-center {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.brand-logo {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(1, 103, 255, 0.3);
    transition: transform 0.4s ease;
    margin-bottom: 8px;
}

.brand-logo:hover {
    transform: rotate(10deg) scale(1.08);
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-title {
    font-size: 48px;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 50%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    margin: 0;
}

.brand-subtitle {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    letter-spacing: 6px;
    background: linear-gradient(90deg, #0167ff 0%, #00c6ff 50%, #0167ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: shine 3s linear infinite;
}

@keyframes shine {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.header-tagline {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin: 4px 0 0 0;
    position: relative;
}

/* 用户区域（右上角） */
.header-user {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 100;
}

/* 登录按钮 */
.ln-btn-header {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.ln-btn-header:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
}

/* 用户信息（右上角） */
.ln-user-profile {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.ln-user-info-header {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.ln-user-info-header .ln-username {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
}

.ln-user-info-header .ln-user-status {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* 用户头像 - 纯渐变 */
.ln-user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0167ff 0%, #00c6ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', sans-serif;
    color: #fff;
    transition: transform 0.3s ease;
}

.ln-user-avatar:hover {
    transform: scale(1.08);
}

/* 下拉菜单样式 */
.ln-user-dropdown {
    position: absolute;
    top: 56px;
    right: 0;
    width: 260px;
    background: rgba(25, 25, 40, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    z-index: 9999;
}

.ln-dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(1, 103, 255, 0.15) 0%, rgba(0, 198, 255, 0.05) 100%);
    border-radius: 12px;
    margin-bottom: 8px;
}

.ln-dropdown-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0167ff 0%, #00c6ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', sans-serif;
    color: #fff;
    flex-shrink: 0;
    position: relative;
}

/* 手机端适配 */
@media screen and (max-width: 768px) {
    .ln-header-new {
        min-height: 280px;
        padding: 24px 20px;
        margin: -15px -15px -40px;
    }
    
    .header-brand-center {
        gap: 8px;
    }
    
    .brand-logo {
        width: 60px;
        height: 60px;
        border-radius: 16px;
    }
    
    .brand-title {
        font-size: 32px;
        font-weight: 700;
        font-family: 'Plus Jakarta Sans', sans-serif;
    }
    
    .brand-subtitle {
        font-size: 14px;
        letter-spacing: 2px;
    }
    
    .header-tagline {
        font-size: 11px;
        letter-spacing: 2px;
    }
    
    .header-user {
        top: 16px;
        right: 16px;
    }
    
    .ln-user-info-header {
        display: none;
    }
    
    .ln-btn-header {
        padding: 8px 14px;
        font-size: 13px;
    }
    
    .ln-user-avatar {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
}


/* ========== 自定义鼠标效果 ========== */
.custom-cursor {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(1, 103, 255, 0.6);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transition: transform 0.15s ease, width 0.2s ease, height 0.2s ease, border-color 0.2s ease;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #0167ff 0%, #00c6ff 100%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(1, 103, 255, 0.5);
}

/* 悬停效果 */
.custom-cursor.hover {
    width: 60px;
    height: 60px;
    border-color: rgba(0, 198, 255, 0.8);
    background: rgba(1, 103, 255, 0.1);
}

.custom-cursor.click {
    transform: translate(-50%, -50%) scale(0.8);
}

/* 移动端隐藏自定义鼠标 */
@media (pointer: coarse) {
    .custom-cursor,
    .cursor-dot {
        display: none !important;
    }
    body {
        cursor: auto !important;
    }
}
