/* ============================================================
   DESIGN SYSTEM - PURE MONOCHROME LIQUID GLASS (iOS Deep Dark Edition)
   Colors: Immersive Pure Black (#000000), Crisp Pure White (#FFFFFF), 
           Refined Titanium & Neutral Grays
   Spacing: 8px grid alignment
   Typography: Inter / System font scale
   Style: Strict No-Glow Shadow, Refractive Monochromatic Gradients, iOS Glass
   ============================================================ */

:root {
    /* --- 核心黑白灰变量系统 --- */
    --color-pure-black: #000000;
    --color-pure-white: #ffffff;

    /* --- 纯黑白灰交织的液态渐变系统 --- */
    --gradient-brand: linear-gradient(135deg, #ffffff 0%, #8e8e93 50%, #3a3a3c 100%);
    --gradient-cyan: linear-gradient(135deg, #d1d1d6 0%, #48484a 100%);
    --gradient-card-border: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(142, 142, 147, 0.2) 100%);
    --gradient-yellow-glow: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    --gradient-brand-blue: linear-gradient(135deg, #ffffff 0%, #8e8e93 100%);

    /* --- 背景层级 (Liquid Glass Dark Mode) --- */
    --bg-primary: #000000;
    --bg-secondary: rgba(28, 28, 30, 0.70);
    --bg-card: rgba(44, 44, 46, 0.55);
    --bg-input: rgba(20, 20, 22, 0.85);
    --bg-hover: rgba(255, 255, 255, 0.08);
    --bg-overlay: rgba(0, 0, 0, 0.85);
    --bg-overlay-light: rgba(255, 255, 255, 0.04);

    /* --- 边框与分割线 --- */
    --border-light: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.25);

    /* --- 文本颜色 --- */
    --text-primary: #ffffff;
    --text-secondary: #aeaeb2;
    --text-muted: #8e8e93;
    --text-dim: #636366;

    /* --- 品牌与功能色 (全部纯白/银灰化) --- */
    --brand: #ffffff;
    --brand-hover: #e5e5ea;
    --brand-active: #d1d1d6;
    --brand-bg: rgba(255, 255, 255, 0.1); 
    --accent-bg: rgba(255, 255, 255, 0.08);  

    /* --- 侧边栏宽度 --- */
    --sidebar-width: 80px;

    /* --- 统一圆角与零阴影 --- */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --shadow-glow: none;
    --shadow-card: none;
}

/* ============================================================
   全局重置 & 丝滑微动画交互
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
    background-color: var(--bg-primary);
    /* 引入纯黑白灰交织的背景液态光斑晕染[cite: 12] */
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 45%),
        radial-gradient(circle at 90% 80%, rgba(142, 142, 147, 0.04) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    background-attachment: fixed;
    color: var(--text-primary);
    font-size: 14px;
    height: 100vh;
    display: flex;
    overflow: hidden;
}

*::-webkit-scrollbar {
    display: none;
}
* {
    scrollbar-width: none;
}

.material-icons-outlined {
    font-size: 24px;
}

/* ============================================================
   侧边栏 (Sidebar) - 液态玻璃效果[cite: 12]
   ============================================================ */
.sidebar {
    flex: 0 0 var(--sidebar-width);
    background-color: var(--bg-secondary);
    backdrop-filter: blur(24px) saturate(190%);
    -webkit-backdrop-filter: blur(24px) saturate(190%);
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border-light);
    overflow: hidden;
    transition: flex-basis 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.3s ease;
    height: 100vh;
    padding-top: env(safe-area-inset-top, 0);
    padding-bottom: env(safe-area-inset-bottom, 0);
    z-index: 1000;
}

body.sidebar-collapsed .sidebar {
    flex-basis: 0;
    border-right: none;
    opacity: 0;
    pointer-events: none;
}

.sidebar-header {
    padding: 22px 0 16px;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
    flex-shrink: 0;
}
.sidebar-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.logo-icon {
    width: 38px;
    height: 38px;
} 
.welcome-logo .brand-text sup {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted) !important;
    letter-spacing: 0.5px;
}

.brand-text sup {
    font-size: 0.55em;
    font-weight: 400;
    vertical-align: super;
    margin-left: 2px;
    color: var(--text-muted);
}

.sidebar-social {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 28px 0;
}
.sidebar-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-muted);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
}
.sidebar-icon:hover {
    background: var(--brand-bg);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
    transform: translateY(-3px) scale(1.05);
}
.social-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}
.sidebar-icon .material-icons-outlined {
    font-size: 20px;
}

.sidebar-footer {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    border-top: 1px solid var(--border-light);
    flex-shrink: 0;
}
.menu-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
}
.menu-item:hover {
    background: var(--brand-bg);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
    transform: translateY(-3px) scale(1.05);
}
.menu-item .material-icons-outlined {
    font-size: 20px;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-overlay);
    backdrop-filter: blur(8px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
body.sidebar-collapsed .sidebar-overlay {
    opacity: 0;
    pointer-events: none;
}
@media (max-width: 1023px) {
    body:not(.sidebar-collapsed) .sidebar-overlay {
        opacity: 1;
        pointer-events: auto;
    }
}

/* ============================================================
   主内容区 (Main Content) & Header (液态玻璃)[cite: 12]
   ============================================================ */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    background-color: transparent;
    width: 100%;
    padding-top: env(safe-area-inset-top, 0);
    padding-bottom: env(safe-area-inset-bottom, 0);
    padding-left: env(safe-area-inset-left, 0);
    padding-right: env(safe-area-inset-right, 0);
}

.main-header {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
    padding-top: env(safe-area-inset-top, 0);
    border-bottom: 1px solid var(--border-light);
    background-color: rgba(15, 15, 18, 0.72);
    backdrop-filter: blur(24px) saturate(190%);
    -webkit-backdrop-filter: blur(24px) saturate(190%);
}
.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.mobile-logo-trigger {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
}
.mobile-logo-trigger:hover {
    background-color: var(--bg-hover);
    transform: scale(1.05);
}
.mobile-logo-icon {
    width: 32px;
    height: 32px;
}
.version-badge {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: 50px;
    background: var(--bg-secondary);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
}
.header-right {
    width: 40px;
}

/* ============================================================
   欢迎页 (Welcome Container)
   ============================================================ */
.welcome-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}
.welcome-content {
    width: 100%;
    max-width: 680px;
    text-align: center;
}
.welcome-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}
.welcome-logo .logo-icon {
    width: 52px;
    height: 52px;
}
.welcome-logo .brand-text {
    font-size: 38px;
    font-weight: 700;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    letter-spacing: -1px;
}
.welcome-subtitle {
    font-size: 18px;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 36px;
    line-height: 1.5;
}

.welcome-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--bg-input);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-radius: 100px;
    padding: 8px 16px 8px 24px;
    border: 1px solid var(--border-light);
    position: relative;
    box-shadow: none;
}
.welcome-input-row::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 100px;
    padding: 1px;
    background: var(--gradient-card-border);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.6;
}
.welcome-input-row:focus-within {
    background-color: var(--bg-card);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.01);
}
.welcome-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 15px;
    padding: 10px 0;
    resize: none;
    line-height: 1.4;
}
.welcome-input::placeholder {
    color: var(--text-muted);
}
.welcome-send-btn {
    background: linear-gradient(135deg, #ffffff 0%, #d1d1d6 100%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}
.welcome-send-btn:hover {
    transform: scale(1.08);
    opacity: 0.95;
}
.welcome-send-btn.send-active {
    color: #000000;
}
.welcome-later-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    backdrop-filter: blur(10px);
}
.welcome-later-btn:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
    transform: scale(1.03);
}

/* ============================================================
   对话容器 (Chat Container)
   ============================================================ */
.chat-container {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 16px 0;
    display: none;
    position: relative;
}
.chat-inner {
    width: 100%;
    max-width: 780px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 90px;
}

.user-message {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.user-content {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    padding: 12px 20px;
    border-radius: 20px 20px 4px 20px;
    font-size: 14px;
    line-height: 1.5;
    max-width: 85%;
    word-break: break-all;
    color: #000000;
    box-shadow: none;
}

.assistant-message {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.assistant-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.assistant-logo {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.chat-clear-wrapper {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 20px 0 16px;
}
.chat-clear-btn,
.global-popout-btn {
    background: var(--bg-card);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--border-light);
    border-radius: 100px;
    padding: 9px 22px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    box-shadow: none;
    position: relative;
}
.chat-clear-btn::after,
.global-popout-btn::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 100px;
    padding: 1px;
    background: var(--gradient-card-border);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.4;
}
.chat-clear-btn:hover,
.global-popout-btn:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px) scale(1.02);
}
.chat-clear-btn .material-icons-outlined,
.global-popout-btn .material-icons-outlined {
    font-size: 18px;
    color: var(--text-primary);
}

/* ============================================================
   底部输入栏 (Input Bar Container - 液态玻璃)[cite: 12]
   ============================================================ */
.input-bar-container {
    flex-shrink: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 80%, rgba(0, 0, 0, 0));
    padding: 16px 20px 24px;
    display: flex;
    justify-content: center;
    display: none;
    padding-bottom: max(24px, env(safe-area-inset-bottom));
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
    position: relative;
    z-index: 1001;
    backdrop-filter: blur(10px);
}
.input-box-wrapper {
    width: 100%;
    max-width: 780px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--bg-input);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-radius: 100px;
    padding: 6px 16px 6px 24px;
    border: 1px solid var(--border-light);
    position: relative;
    box-shadow: none;
}
.input-row::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 100px;
    padding: 1px;
    background: var(--gradient-card-border);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.5;
}
.input-row:focus-within {
    background-color: var(--bg-card);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.01);
}
.main-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 15px;
    padding: 10px 0;
    resize: none;
    line-height: 1.4;
}
.main-input::placeholder {
    color: var(--text-muted);
}
.send-btn {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
}
.send-btn:hover {
    background-color: var(--bg-hover);
    color: var(--text-primary);
    transform: scale(1.05);
}
.send-btn-active {
    background: linear-gradient(135deg, #ffffff 0%, #d1d1d6 100%) !important;
    color: #000000 !important;
    border: 1px solid rgba(255, 255, 255, 0.4);
}
.send-btn-active:hover {
    transform: scale(1.08);
    opacity: 0.95;
}
.send-btn-later {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    backdrop-filter: blur(10px);
}
.send-btn-later:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.footer-tips {
    font-size: 11px;
    color: var(--text-dim);
    text-align: center;
}
.footer-tips kbd {
    background: var(--bg-card);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid var(--border-light);
    font-size: 10px;
    font-family: inherit;
    color: var(--text-secondary);
}

/* ============================================================
   卡片播放器 (Card Player) - 黑背景 + 边框 + 液态玻璃[cite: 12]
   ============================================================ */
.player-area {
    position: relative;
    background-color: #000000;
    border-radius: var(--radius-md);
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--border-light);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: none;
}
.player-area.portrait {
    aspect-ratio: 9 / 16;
    max-width: 360px;
    margin: 0 auto;
}

.card-idle-content {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    width: 100%;
    height: 100%;
    background: var(--bg-overlay);
    backdrop-filter: blur(12px);
}
.card-idle-content .video-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
    max-width: 85%;
    color: var(--text-primary);
    word-break: break-word;
}
.card-idle-content .play-btn {
    background: linear-gradient(135deg, #ffffff 0%, #d1d1d6 100%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #000000;
    box-shadow: none;
}
.card-idle-content .play-btn:hover {
    transform: scale(1.12);
    opacity: 0.95;
}
.card-idle-content .play-btn .material-icons-outlined {
    font-size: 32px;
}
.card-idle-content .popped-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 4px;
    display: none;
}

.player-container {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
}
.player-area.playing .player-container {
    display: block;
}
.player-container video,
.player-container iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    border-radius: 0 !important;
    object-fit: contain;
    background: #000000;
    display: block;
}

.player-area.idle .player-container,
.player-area.popped .player-container {
    display: none;
}
.player-area.idle .card-idle-content,
.player-area.popped .card-idle-content {
    display: flex;
}
.player-area.playing .card-idle-content {
    display: none;
}
.player-area.popped .card-idle-content .play-btn {
    display: none;
}
.player-area.popped .card-idle-content .popped-label {
    display: block;
}

.popout-btn {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    background-color: rgba(15, 15, 15, 0.75);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}
.player-area.playing .popout-btn {
    display: flex;
}
.player-area.playing:hover .popout-btn {
    opacity: 1;
    pointer-events: auto;
}
.popout-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.08);
}
@media (max-width: 1023px) {
    .popout-btn {
        display: none !important;
    }
}

/* ============================================================
   浮动播放器 (Floating Video Player) - 液态玻璃[cite: 12]
   ============================================================ */
.floating-video {
    position: relative;
    width: 100%;
    background-color: transparent;
    aspect-ratio: 16 / 9;
}
.floating-video iframe,
.floating-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--radius-sm);
    object-fit: contain;
    background: transparent;
}
.floating-player,
.floating-backdrop {
    display: none;
}
.floating-player.active {
    display: flex;
}
.floating-backdrop.active {
    display: block;
}
.floating-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-overlay);
    backdrop-filter: blur(12px);
    z-index: 999;
}
.floating-player {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: auto;
    max-width: 90vw;
    background-color: var(--bg-secondary);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border-radius: var(--radius-lg);
    z-index: 1000;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    border: 1px solid var(--border-light);
    cursor: pointer;
    box-shadow: none;
}
.floating-player.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}
.floating-video {
    width: 100%;
    background: transparent;
    pointer-events: none;
}
.floating-video video,
.floating-video iframe {
    pointer-events: auto;
}

/* ============================================================
   桌面端适配 (Desktop Media Query)
   ============================================================ */
@media (min-width: 1024px) {
    .sidebar {
        position: relative;
        flex: 0 0 var(--sidebar-width);
        transform: none !important;
    }
    body.sidebar-collapsed .sidebar {
        flex-basis: 0;
        opacity: 0;
        pointer-events: none;
    }
    .sidebar-overlay {
        display: none;
    }
    .mobile-logo-trigger {
        display: none !important;
    }
    .main-content {
        width: 100%;
    }
    .main-header {
        padding: 0 28px;
        height: 70px;
    }
    .version-badge {
        font-size: 13px;
    }
    .welcome-logo .logo-icon {
        width: 58px;
        height: 58px;
    }
    .welcome-logo .brand-text {
        font-size: 44px;
    }
    .welcome-subtitle {
        font-size: 20px;
        margin-bottom: 44px;
    }
    .welcome-input,
    .main-input {
        font-size: 16px;
        padding: 12px 0;
    }
    .user-content {
        font-size: 15px;
        padding: 14px 22px;
        max-width: 620px;
    }
    .chat-inner {
        margin: 0 auto;
    }
    .input-bar-container {
        padding: 16px 28px 32px;
    }
    .floating-player {
        min-width: 1000px;
    }
}

@media (max-width: 1023px) {
    body:not(.sidebar-collapsed) .sidebar {
        flex-basis: var(--sidebar-width);
        opacity: 1;
        pointer-events: auto;
    }
    body.sidebar-collapsed .sidebar {
        flex-basis: 0;
        opacity: 0;
        pointer-events: none;
    }
}

/* ============================================================
   工具类 (Utility Classes)
   ============================================================ */
.global-player-container,
.global-player-container .video-js,
.global-player-container .iframe-player,
.floating-player,
.floating-player .video-js,
.floating-player .iframe-player,
.video-js,
.video-js video {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
}
video.video-js {
    background-color: transparent !important;
}

.back-home-btn {
    display: none;
}