/* 1. 变量与基础设置 */
:root {
    --bg-color: #050505;
    --card-bg: #0d0d0d;
    --border-color: #1a1a1a;
    --accent: #00f2ff;
    --strik: #ff00ff;
    --error:#ff4d4d;
    --accent-dim: rgba(0, 242, 255, 0.3);
    --title-dim: #ccc;
    --text-dim: #888;
    --top-height: 50px;
    --transition: 0.3s ease;
    --cs-primary: #007bff;
    --cs-header-height: 60px;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: "Inter", "PingFang SC", sans-serif; }
body {text-align: start;  background-color: var(--bg-color); color: #fff; line-height: 1.6; padding-top: var(--top-height); -webkit-tap-highlight-color: transparent;}
a { text-decoration: none; color: inherit; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 15px; }
.hidden { display: none !important; }

/* 2. 顶部导航栏 (Top Bar) */
.top-bar {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: var(--top-height); /* 桌面端保持原样 */
    background: rgba(5, 5, 5, 0.8); 
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color); 
    z-index: 1000;
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 0 15px;
    transition: height 0.3s ease; /* 增加高度平滑过渡 */
}
.lang-select {width: 5rem; background: transparent; color: #ccc; border: none; font-size: 0.75rem; cursor: pointer; padding: 3px; }
.lang-select option { background: var(--bg-color); color: #fff; }

/* 滚动通知 */
.notice-box { flex: 1; height: 24px; overflow: hidden; position: relative; text-align: center; font-size: 0.75rem; color: #aaa; }
.notice-list { position: absolute; width: 100%; animation: scrollNotice 12s infinite cubic-bezier(0.645, 0.045, 0.355, 1);  }
.notice-item { height: 24px; line-height: 24px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-btn { 
    background: var(--error); color: #fff; font-size: 0.7rem; font-weight: bold; 
    padding: 2px 6px; border-radius: 4px; border: none; cursor: pointer; 
    box-shadow: 0 0 10px var(--accent-dim); transition: var(--transition); 
}

.handpick-btn { 
    background: var(--accent); color: #fff; font-size: 0.7rem; font-weight: bold; 
    padding: 2px 6px; border-radius: 4px; border: none; cursor: pointer; 
    box-shadow: 0 0 10px var(--accent-dim); transition: var(--transition); 
}
.handorder-btn {
    background: var(--strik); color: #fff; font-size: 0.7rem; font-weight: bold; 
    padding: 2px 6px; border-radius: 4px; border: none; cursor: pointer; 
    box-shadow: 0 0 10px var(--accent-dim); transition: var(--transition); 
}
.home-btn:hover { box-shadow: 0 0 20px var(--error); transform: scale(1.05); }
.handpick-btn:hover { box-shadow: 0 0 20px var(--accent); transform: scale(1.05); }
.handorder-btn:hover { box-shadow: 0 0 20px var(--strik); transform: scale(1.05); }

/* 3. Banner & 介绍部分 */
.banner { 
    width: 100%; height: 260px; background-size: cover; background-position: center; 
    display: flex; flex-direction: column; align-items: center; justify-content: center; 
    text-align: center; margin-bottom: 20px; 
}
.banner h1 { font-size: 2rem; letter-spacing: 6px; text-transform: uppercase; text-shadow: 0 0 20px rgba(0,242,255,0.4); }
.banner p { color: var(--accent); font-size: 0.8rem; margin-top: 10px; opacity: 0.8; }

.intro-header { text-align: center; margin-bottom: 40px; }
.intro-header h2 { 
    font-size: 2.2rem; background: linear-gradient(90deg, #fff, #444); 
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 10px; 
}
.intro-header h3 { 
    font-size: 0.85rem; color: var(--accent); letter-spacing: 4px; 
    text-transform: uppercase; display: flex; align-items: center; justify-content: center; gap: 15px; 
}
.intro-header h3::before, .intro-header h3::after { content: ""; width: 40px; height: 1px; background: var(--accent); opacity: 0.4; }

.intro-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 10px; }
.feature-box { padding: 20px; border-left: 1px solid var(--border-color); }
.feature-box h4 { font-size: 1.1rem; color: #eee; margin-bottom: 12px; }
.feature-box p { font-size: 0.85rem; color: var(--text-dim); }

.intro-describe { text-align: center; max-width: 900px; margin: 0 auto; padding: 40px 20px; border-top: 1px solid #1a1a1a; position: relative; }
.intro-describe::before { content: ""; position: absolute; top: -1px; left: 50%; transform: translateX(-50%); width: 60px; height: 1px; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.intro-describe p { font-size: 1.05rem; color: #aaa; line-height: 2; font-weight: 300; }

/* 4. 筛选器 (Filter) */
.filter-section { padding: 20px 0; border-bottom: 1px solid var(--border-color); margin-bottom: 25px; }
.filter-row { display: flex; align-items: flex-start; padding: 6px 0; font-size: 0.85rem; }
.filter-label { color: var(--text-dim); min-width: 80px; padding-top: 4px; font-weight: bold; }
.filter-options { display: flex; flex-wrap: wrap; gap: 10px; flex: 1; }
.filter-item { cursor: pointer; border-radius: 2px; transition: var(--transition); color: #aaa; border: 1px solid transparent; padding: 2px 6px; }
/* 增加 active 状态 */
.filter-item.active { color: var(--accent); background: rgba(0, 242, 255, 0.1); border-color: rgba(0, 242, 255, 0.3); }

.region-select { display: flex; justify-content: center; gap: 12px; margin: 40px 0; flex-wrap: wrap; }
.region-btn { padding: 8px 20px; background: transparent; border: 1px solid #333; color: #666; cursor: pointer; font-size: 0.8rem; transition: var(--transition); }
.region-btn.active { background: #fff; color: #000; border-color: #fff; font-weight: bold; }

/* 5. 产品网格 (Product Grid) */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.product-card { 
    background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 4px; 
    overflow: hidden; display: flex; flex-direction: column; 
    /* 增加动画初始状态 */
    opacity: 0; transform: translateY(20px); transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.3s ease; 
}
/* 增加动画激活类 */
.product-card.show { opacity: 1; transform: translateY(0); }
.product-card:hover { border-color: #333; transform: translateY(-5px); }

.product-img { width: 100%; height: 700px; aspect-ratio: 16/10; background: #111; position: relative; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; transition: 0.5s; }
.product-card:hover .product-img img { opacity: 1; }
.product-img .quality { position: absolute; top: 8px; right: 8px; background: rgba(0,0,0,0.7); font-size: 10px; padding: 2px 6px; border-radius: 2px; color: #fff; z-index: 10; }

.product-info { padding: 12px; }
.product-info h3 { font-size: 0.95rem; color: #eee; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 标签样式合并 */
.tag-container {margin-top: -1.6rem; margin-left: 0.3rem; display: flex; flex-wrap: wrap; gap: 6px;z-index: 11; }
.tag { font-size: 0.6rem; padding: 2px 8px; border-radius: 2px; font-weight: bold; border: 1px solid transparent; text-transform: uppercase; }
.tag-age { background: rgba(0, 242, 255, 0.1); color: #00f2ff; border-color: rgba(0, 242, 255, 0.3); }
.tag-bwh { background: rgba(50, 255, 126, 0.1); color: #32ff7e; border-color: rgba(50, 255, 126, 0.3); }
.tag-cup { background: rgba(255, 75, 182, 0.1); color: #ff4bb6; border-color: rgba(255, 75, 182, 0.3); }
.tag-ethnicity { background: rgba(255, 211, 42, 0.1); color: #ffd32a; border-color: rgba(255, 211, 42, 0.3); }
.tag-height { background: rgba(255, 63, 52, 0.1); color: #ff3f34; border-color: rgba(255, 63, 52, 0.3); }
.tag-weight { background: rgba(61, 86, 178, 0.1); color: #575fcf; border-color: rgba(61, 86, 178, 0.3); }
.tag-orange { background: rgba(255, 159, 26, 0.1); color: #ff9f1a; border-color: rgba(255, 159, 26, 0.3); }
.tag-teal { background: rgba(5, 196, 201, 0.1); color: #05c469; border-color: rgba(5, 196, 201, 0.3); }

/* 6. 详情页与页脚 */
.detail-banner { height: 45vh; }
.detail-header { margin-top: -40px; padding-bottom: 40px; }
.detail-header h1{ font-size: 1.6rem; line-height: 2.5rem;color: var(--title-dim); }
.video-container { position: relative; padding-bottom: 56.25%; background: #111; border-radius: 4px; margin: 30px 0; border: 1px solid var(--border-color); }
article p{font-size: 1rem; line-height: 1.8rem;color: var(--text-dim);}
article img{display: block; margin: 0 auto;width: 100%;}
article h2{ font-size: 1.2rem; line-height: 2.5rem;color: var(--title-dim); }
.fixed-footer { position: fixed; bottom: 0; left: 0; width: 100%; height: 80px; background: rgba(10, 10, 10, 0.8); backdrop-filter: blur(15px); border-top: 1px solid var(--border-color); z-index: 1000; display: flex; align-items: center; }
.footer-content { width: 100%; max-width: 1000px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 10px; }
.book-btn { background: var(--accent); color: #000; padding: 10px; border-radius: 4px; font-weight: bold; }
.footer-info{width: 70%;}
.footer-info input[type="text"]{width:95%;padding:3px 6px;font-size: 1.2rem;border-radius: 5px;border: 1px solid #e5e5ea;background-color: #f9f9fb;outline: none;transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;}
.footer-info input[type="text"]:focus {border-color: #00f2ff;background-color: #fff;box-shadow: 0 0 0 2px rgba(0, 113, 227, 0.15);}
/* 7. 动画与加载器 */
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes scrollNoticeMobile {
    0%, 20% { transform: translateY(0); }
    25%, 45% { transform: translateY(-30px); }
    50%, 70% { transform: translateY(-60px); }
    75%, 95% { transform: translateY(-90px); }
    100% { transform: translateY(0); }
}
.loader-container { padding: 30px 0; text-align: center; width: 100%; }
.loader { 
    width: 30px; height: 30px; border: 2px solid #333; border-top: 2px solid var(--accent); 
    border-radius: 50%; animation: spin 1s linear infinite; display: inline-block;
}
#loader-text { color: var(--text-dim); font-size: 0.85rem; margin-top: 10px; }
.no-more { text-align: center; padding: 20px; color: #666; font-size: 0.9rem; }

/* 移动端适配 (768px 以下) */
@media (max-width: 768px) {
    .intro-features { grid-template-columns: 1fr; gap: 20px; }
    .feature-box { border-left: none; border-bottom: 1px solid var(--border-color); }
    .intro-describe{border-top: none; }
    .intro-describe::before{box-shadow: none;background: none;}
    .product-grid { gap: 10px; }
    .product-img { height: 550px; }
    .detail-header h1 { font-size: 1.7rem; }
    .search-btn {margin-top: 10px;}
    .lang-select {
        width: 6rem;
    }
        :root {
        /* 总高度 = 第一行(50px) + 第二行(40px) = 90px */
        --top-height: 90px; 
    }

    .top-bar {
        display: flex !important;
        flex-wrap: wrap !important;
        height: var(--top-height) !important;
        padding: 0 15px !important;
        background: rgba(5, 5, 5, 0.95) !important;
        overflow: hidden; /* 防止内容溢出 */
    }

    /* 第一行：左边语言，右边按钮。高度固定 50px */
    .left-part { 
        order: 1; 
        width: 40%; 
        height: 50px; 
        display: flex; 
        align-items: center; 
    }
    .right-part { 
        order: 2; 
        width: 60%; 
        height: 50px; 
        display: flex; 
        justify-content: flex-end; 
        align-items: center; 
        gap: 8px; 
    }

    /* 第二行：通知栏。高度固定 40px */
    .notice-box {
        order: 3;
        width: 100% !important;
        flex: none !important;
        
        /* 关键：给通知栏一个固定的可视窗口高度 */
        height: 30px !important; 
        margin-top: 0 !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1); /* 分隔线 */
        
        position: relative !important;
        overflow: hidden !important; /* 裁切多余的通知内容 */
        
        display: flex;
        align-items: center; /* 确保内容在 40px 内垂直居中 */
    }

    /* 内部滚动列表 */
    .notice-list {
        position: absolute !important;
        left: 0;
        width: 100%;
        /* 重点：top 设为 0，让它从窗口顶端开始动画 */
        top: 0 !important; 
        margin: 0 !important;
        padding: 0 !important;
        animation: scrollNoticeMobile 12s infinite cubic-bezier(0.645, 0.045, 0.355, 1) !important;
    }

    .notice-item {
        /* 重点：移动端高度设为 30px，与动画跳动步长一致 */
        height: 30px !important;
        line-height: 30px !important;
        font-size: 0.75rem;
        color: #aaa;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* 必须调整主体内容的顶部边距 */
    body {
        padding-top: var(--top-height) !important;
    }

    
    /* --- 底部栏 (Fixed Footer) 优化 --- */
    .fixed-footer {
        height: 90px; /* 适当增加高度以容纳多行文字 */
    }

    .footer-content {
        display: flex;
        align-items: center;
        gap: 12px; /* 按钮和文字之间的间距 */
    }

    .footer-info {
        width: auto; /* 取消原先的 70% */
        flex: 1;     /* 自动占据左侧所有空间 */
    }

    /* 优化左侧文字排版 */
    .footer-info p {
        font-size: 0.85rem;
        line-height: 1.3;
        margin: 2px 0;
        font-weight: 500;
    }

    /* 按钮变成方形两行显示 */
    .book-btn {
        width: 75px;        /* 固定窄宽度 */
        height: 65px;       /* 增加高度变成方块 */
        padding: 0 5px;     /* 取消左右大内边距 */
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        
        /* 强制文字换行核心代码 */
        white-space: normal; 
        line-height: 1.1;   
        font-size: 0.9rem;
        word-break: break-word; /* 确保长单词也能换行 */
        
        border-radius: 8px;
        flex-shrink: 0;     /* 防止按钮被左侧内容挤压变形 */
    }
    
    /* ===== 搜索卡片 Search-card 修复：解决图片中的挤压问题 ===== */
    .search-card {
        padding: 20px 15px !important;
    }

    /* 关键：强制改为单列垂直排列 */
    .search-form {
        display: flex !important;
        flex-direction: column !important; /* 强制垂直堆叠 */
        gap: 15px !important;
        grid-template-columns: none !important; /* 禁用掉原来的三列网格 */
    }

    .search-form .input-group {
        width: 100% !important; /* 宽度占满 */
        margin: 0 !important;
    }

    .search-form label {
        display: block !important;
        text-align: left !important;
        margin-bottom: 5px !important;
        font-size: 0.85rem !important;
        white-space: normal !important; /* 允许标签文字换行 */
    }

    .search-form input {
        width: 100% !important; /* 输入框撑满全宽 */
        height: 45px !important; /* 增加高度，不要让它缩成方块 */
        padding: 0 12px !important;
        background: #1a1a1a !important;
        border: 1px solid #333 !important;
        border-radius: 8px !important;
        display: block !important;
    }

    /* 搜索按钮修复 */
    .search-btn {
        width: 100% !important; /* 按钮撑满全宽 */
        height: 48px !important;
        margin-top: 10px !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        font-size: 1rem !important;
        border-radius: 12px !important;
        white-space: nowrap !important;
    }
}

/* 针对极窄屏幕的微调 (480px 以下) */
@media (max-width: 480px) {
    .handpick-btn, .handorder-btn {
        padding: 4px 8px;
        font-size: 0.65rem;
    }
    .lang-select {
        width: 5rem;
    }
    .product-grid { grid-template-columns: 1fr; }
}

.open-btn {
    padding: 12px 24px;
    background: #333;
    color: #fff;
    border: 1px solid #444;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}
.open-btn:hover { background: #444; }

.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex; 
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(8px);
    z-index: 10000;
    transition: opacity 0.3s ease;
}

.modal-hidden {
    display: none !important;
}

.modal-card {
    background: #1a1a1a;
    width: 380px;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #333;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    text-align: center;
    position: relative;
}

.modal-card::before {
    content: '';
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 60px; height: 4px;
    background: linear-gradient(90deg, #ff4e50, #f9d423);
    border-bottom-left-radius: 10px; border-bottom-right-radius: 10px;
}

@keyframes modalIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}


p.subtitle { color: #888; font-size: 14px; margin-bottom: 30px; }

.input-group { margin-bottom: 20px; text-align: left; }
.input-group label { display: block; color: #aaa; font-size: 12px; margin-bottom: 8px; }
input {
    width: 100%; background: #252525; border: 1px solid #333;
    border-radius: 12px; padding: 14px 16px; color: #fff;
    font-size: 16px; outline: none; transition: 0.3s;
}
input:focus { border-color: var(--error); box-shadow: 0 0 10px rgba(255, 78, 80, 0.2); }

.error-msg { color: var(--error); font-size: 11px; margin-top: 5px; height: 14px; display: none; }

.submit-btn {
    width: 100%; padding: 16px; margin-top: 10px; border: none;
    border-radius: 12px; background: linear-gradient(45deg, #ff416c, var(--error));
    color: #fff; font-size: 18px; font-weight: bold; cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 65, 108, 0.4);
    animation: pulse 2s infinite;
}
.submit-btn:disabled { background: #444; animation: none; cursor: not-allowed; box-shadow: none; }

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 65, 108, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 65, 108, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 65, 108, 0); }
}


.close-btn {
    position: absolute;
    top: 15px; right: 15px;
    color: #777;
    cursor: pointer;
    font-size: 28px;
    line-height: 20px;
    transition: 0.3s;
    user-select: none;
}
.close-btn:hover { color: #fff; }

.order-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}
/* 搜索框区域 */
.search-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}
.search-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--accent);
    text-align: center;
}
.search-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 15px;
    
    /* 核心代码：让按钮和输入框底边对齐，无视上方是否有标签 */
    align-items: flex-end; 
}


.search-form .input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-form input {
    width: 100%;
    height: 50px; /* 固定 PC 端输入框高度 */
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 0 15px;
    color: #fff;
    outline: none;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 77, 77, 0.4);
}

/* 订单列表区域 */
.order-list {
    margin-top: 20px;
}
.order-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    transition: var(--transition);
}
.order-item:hover {
    border-color: #333;
}
.order-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
.order-label {
    color: var(--text-dim);
    font-size: 0.85rem;
}
.order-value {
    color: #eee;
    font-weight: 500;
}
.order-no {
    font-family: monospace;
    color: var(--accent);
}
.order-price {
    color: var(--strik);
    font-weight: bold;
}

/* 状态颜色 */
.status-unpaid { background: rgba(255, 159, 26, 0.1); color: #ff9f1a; border-color: rgba(255, 159, 26, 0.3); }
.status-paid { background: rgba(5, 196, 201, 0.1); color: #05c469; border-color: rgba(5, 196, 201, 0.3); }
.status-cancel { background: rgba(255, 63, 52, 0.1); color: var(--error); border-color: rgba(255, 63, 52, 0.3); }


/* 1. 客服悬浮按钮 - 向上移动避免遮挡底部栏 */
#cs-widget-container {
    position: fixed;
    bottom: 90px; 
    right: 20px;
    z-index: 9999;
}

#cs-trigger {
    width: 50px;
    height: 50px;
    background-color: var(--cs-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);transition: transform 0.2s;
}

#cs-window {position: fixed;bottom: 150px;right: 20px;width: 320px;height: 520px;background: #1a1a1a;border: 1px solid var(--border-color);border-radius: 12px;box-shadow: 0 10px 30px rgba(0,0,0,0.5);display: none; flex-direction: column;overflow: hidden;z-index: 1001;}

@media (max-width: 480px) {
    #cs-window {
        bottom: 0; right: 0; width: 100%; height: 100%; border-radius: 0;
    }
    body.modal-open { overflow: hidden; }
}

.cs-header {background: var(--cs-primary);color: white;padding: 0 15px;height: var(--cs-header-height);display: flex;justify-content: space-between;align-items: center;}

.cs-tabs { display: flex; background: #252525; border-bottom: 1px solid #333; }
.cs-tab { flex: 1; padding: 10px 0; text-align: center; cursor: pointer; color: #888; font-size: 14px; }
.cs-tab.active { color: #fff; border-bottom: 2px solid var(--cs-primary); }

.cs-content { flex: 1; overflow-y: auto; display: none; padding: 15px; background: #1a1a1a; }
.cs-content.active { display: flex; flex-direction: column; }

/* 消息样式 */
.message { margin-bottom: 12px; padding: 8px 12px; border-radius: 8px; font-size: 14px; }
/* --- 优化后的机器人消息样式 --- */
.message.bot {
    background: #2a2a2a; /* 稍微浅一点的黑色，区分背景 */
    color: #eee;
    align-self: flex-start;
    max-width: 90%;
    line-height: 1.6;
    word-wrap: break-word;
    padding: 12px 16px;
    border: 1px solid #333;
}

/* 段落间距 */
.message.bot p {
    margin-bottom: 10px;
}
.message.bot p:last-child {
    margin-bottom: 0;
}

/* 列表样式 (ul, ol) */
.message.bot ul, .message.bot ol {
    margin: 8px 0 10px 20px;
    padding-left: 0;
}

.message.bot li {
    margin-bottom: 5px;
    list-style-position: outside;
}

.message.bot ul li {
    list-style-type: disc;
}

.message.bot ol li {
    list-style-type: decimal;
}

/* 强调与行内样式 */
.message.bot em {
    font-style: italic;
    color: var(--accent); /* 使用青色强调 */
    opacity: 0.9;
}

.message.bot strong {
    color: #fff;
    font-weight: 600;
}

/* Span 高亮样式（可以根据需要添加 class） */
.message.bot span {
    color: inherit;
}

.message.bot .highlight {
    background: rgba(0, 242, 255, 0.15);
    color: var(--accent);
    padding: 1px 4px;
    border-radius: 3px;
    font-size: 0.9em;
}

/* 链接样式 */
.message.bot a {
    color: var(--accent);
    text-decoration: underline;
    transition: var(--transition);
}
.message.bot a:hover {
    opacity: 0.8;
}

/* 行内代码样式 (可选) */
.message.bot code {
    font-family: 'Courier New', Courier, monospace;
    background: #111;
    padding: 2px 5px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #ff4bb6; /* 给代码一点亮色 */
}
.message.user { background: var(--cs-primary); text-align: right; color: white; align-self: flex-end; }

.chat-input-area { display: flex; padding: 10px; background: #252525; border-top: 1px solid #333; }
.chat-input-area input { flex: 1; border: 1px solid #444; padding: 8px 12px; border-radius: 20px; background: #1a1a1a; color: #fff; outline: none; }
.chat-input-area input:focus,.cs-content input:focus{border-color: var(--cs-primary); box-shadow: 0 0 10px rgba(78, 96, 255, 0.2);}
.chat-input-area button { background: var(--cs-primary); border: none; color: white; width: 35px; height: 35px; border-radius: 50%; margin-left: 8px; margin-top: 5px; }

/* 反馈表单适配 */
.feedback-form input, .feedback-form textarea {
    width: 100%; padding: 10px; margin-top: 10px; background: #252525; border: 1px solid #444; color: #fff; border-radius: 4px; box-sizing: border-box;
}
.feedback-form button { width: 100%; background: #28a745; color: white; border: none; padding: 12px; margin-top: 15px; border-radius: 4px; }

.cs-feedback-note {font-size: 12px;color: #bbb;line-height: 1.6;margin-bottom: 6px;padding: 8px;background: rgba(255, 255, 255, 0.05);border-left: 3px solid var(--cs-primary);border-radius: 4px;}
.detail-container {max-width: 800px;margin: 0 auto;padding: 0 20px;}
