/* DS随心转 AI聊天页面 - 全局布局样式 */

/* 自托管字体 - Noto Serif SC */
@font-face {
    font-family: 'Noto Serif SC';
    src: url('https://file.aitextconv.com/common/NotoSerifSC-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* 全局重置和基础样式 */
* {
    box-sizing: border-box;
}

.chat-home-body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif;
    background-color: #FAF9F6;
    /* Rice Paper White */
    color: #2B2B2B;
    /* Ink Black */
    overflow: hidden;
}

.chat-home-main {
    height: 100vh;
    width: 100vw;
    position: relative;
}

/* 主容器 */
.chat-container {
    display: flex;
    height: 100vh;
    width: auto;
    overflow: hidden;
    background-color: #FAF9F6;
}

/* 中间聊天区域基础布局 */
.chat-main {
    --chat-main-bg: #F9F9FB;
    flex: 1;
    min-width: 30%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    background: var(--chat-main-bg);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #d0d0d0 #f8f9fa;
}

/* 滚动条样式 */
.chat-main::-webkit-scrollbar {
    width: 8px;
}

.chat-main::-webkit-scrollbar-track {
    background: #f8f9fa;
}

.chat-main::-webkit-scrollbar-thumb {
    background: #d0d0d0;
    border-radius: 4px;
}

.chat-main::-webkit-scrollbar-thumb:hover {
    background: #b0b0b0;
}
