/* ===== 历史的温度 - 全局样式 ===== */

:root {
    /* 东方古画色调 */
    --primary: #6B2D2D;        /* 暗红 */
    --primary-light: #8B3A3A; /* 浅暗红 */
    --secondary: #1E3A5F;     /* 藏青 */
    --accent: #2C4A6E;        /* 深蓝 */
    --gold: #B8960C;          /* 假金 */
    --gold-light: #D4AF37;    /* 亮金 */
    --purple: #5C3A5C;        /* 绛紫 */
    --silver: #8A9BA8;        /* 假银 */
    --silver-light: #A8B5C2;  /* 亮银 */

    --dark: #1A1510;          /* 墨黑 */
    --light: #FAF6F0;         /* 绢白 */
    --text: #2D2420;          /* 墨色文字 */
    --text-light: #6B5D52;    /* 淡墨 */
    --bg-cream: #F5F0E8;      /* 宣纸色 */
    --border: #DDD5C8;        /* 淡墨线 */

    /* 古画辅助色 */
    --jade: #2D5A4A;          /* 玉色 */
    --verditer: #4A7A8A;      /* 石青 */
    --ochre: #8B6914;         /* 赭石 */
}

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

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.8;
    color: var(--text);
    background: var(--light);
    overflow-x: hidden;
}

/* 永乐宫壁画背景 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        /* 吉祥暗纹叠加层 */
        url('assets/patterns/auspicious-pattern.png') repeat;
    opacity: 0.06;
    pointer-events: none;
    z-index: -1;
}

/* Hero永乐宫壁画大背景 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 5% 4rem;
    position: relative;
    overflow: hidden;
    background:
        /* 渐变遮罩 */
        linear-gradient(135deg, rgba(250,246,240,0.92) 0%, rgba(245,240,232,0.88) 50%, rgba(237,230,218,0.92) 100%),
        /* 永乐宫壁画背景图 */
        url('assets/photos/yongle-palace-bg.png') center center / cover no-repeat;
}

/* 导航 */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(250,246,240,0.95);
    backdrop-filter: blur(12px);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(107,45,45,0.08);
    border-bottom: 1px solid rgba(221,213,200,0.5);
}

.logo {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-user-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-cream);
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}

.nav-user-menu:hover {
    background: var(--border);
}

.user-avatar {
    font-size: 1.2rem;
}

.user-name {
    font-weight: 500;
    color: var(--text);
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    overflow: hidden;
    min-width: 150px;
    z-index: 1001;
}

.nav-user-menu:hover .user-dropdown {
    display: block;
}

.user-dropdown a {
    display: block;
    padding: 0.8rem 1.2rem;
    color: var(--text);
    text-decoration: none;
    transition: background 0.2s;
    font-size: 0.9rem;
}

.user-dropdown a:hover {
    background: var(--bg-cream);
    color: var(--primary);
}

.user-dropdown a:last-child {
    border-top: 1px solid var(--border);
    color: #EF4444;
}

.btn-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
}

.btn-link:hover {
    color: var(--primary);
}

/* 按钮 - 东方古画配色 */
.btn {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* 暗红底色按钮 */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #FAF6F0;
    box-shadow: 0 4px 15px rgba(107,45,45,0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(107,45,45,0.35);
}

/* 藏青底色按钮 */
.btn-secondary {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: #FAF6F0;
    box-shadow: 0 4px 15px rgba(30,58,95,0.25);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30,58,95,0.35);
}

/* 深蓝底色按钮 */
.btn-accent {
    background: linear-gradient(135deg, var(--accent), #3A5A7E);
    color: #FAF6F0;
    box-shadow: 0 4px 15px rgba(44,74,110,0.25);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44,74,110,0.35);
}

/* 假金底色按钮 */
.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #1A1510;
    box-shadow: 0 4px 15px rgba(184,150,12,0.25);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184,150,12,0.35);
}

/* 绛紫底色按钮 */
.btn-purple {
    background: linear-gradient(135deg, var(--purple), #7A4A7A);
    color: #FAF6F0;
    box-shadow: 0 4px 15px rgba(92,58,92,0.25);
}

.btn-purple:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(92,58,92,0.35);
}

/* 假银底色按钮 */
.btn-silver {
    background: linear-gradient(135deg, var(--silver), var(--silver-light));
    color: #1A1510;
    box-shadow: 0 4px 15px rgba(138,155,168,0.25);
}

.btn-silver:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(138,155,168,0.35);
}

/* 轮廓按钮 - 底色浅用重色边框 */
.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--light);
}

.btn-outline-secondary {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

.btn-outline-secondary:hover {
    background: var(--secondary);
    color: var(--light);
}

.btn-outline-gold {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--dark);
}

.btn-outline-purple {
    background: transparent;
    border: 2px solid var(--purple);
    color: var(--purple);
}

.btn-outline-purple:hover {
    background: var(--purple);
    color: var(--light);
}

.btn-outline-silver {
    background: transparent;
    border: 2px solid var(--silver);
    color: var(--silver);
}

.btn-outline-silver:hover {
    background: var(--silver);
    color: var(--dark);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* 通用区块 */
.section {
    padding: 6rem 5%;
}

.section-dark {
    background: var(--dark);
    color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-family: 'Noto Serif SC', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: var(--dark);
}

.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-dark .section-title p {
    color: rgba(255,255,255,0.7);
}

/* 特性卡片 */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    transition: all 0.3s;
    text-align: center;
    border: 1px solid rgba(221,213,200,0.5);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(107,45,45,0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--dark);
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* CTA */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 6rem 5%;
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-family: 'Noto Serif SC', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    opacity: 0.9;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary);
}

.cta-section .btn-primary:hover {
    background: var(--dark);
    color: white;
}

/* 页脚 */
footer {
    background: var(--dark);
    color: white;
    padding: 4rem 5% 2rem;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    color: var(--gold);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.7rem;
}

.footer-section a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: white;
}

.footer-section p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* 表单 */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text);
}

.form-input {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s;
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(107,45,45,0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    border-radius: 4px;
    transition: width 0.5s ease;
}

/* 暗纹吉祥图案背景 - 全局复用 */
.auspicious-bg {
    position: relative;
}
.auspicious-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/patterns/auspicious-pattern.png');
    background-repeat: repeat;
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
}

/* 特色标签样式增强 */
.tag-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--light);
}

/* 价格卡片特色标识 */
.price-card.featured {
    border: 2px solid var(--gold);
    position: relative;
}

.price-card.featured::before {
    content: '推荐';
    position: absolute;
    top: -1px;
    right: 30px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--dark);
    padding: 0.3rem 1rem;
    border-radius: 0 0 8px 8px;
    font-size: 0.8rem;
    font-weight: 600;
}

.form-select {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
}

/* 动画 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 0.8s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* 响应式 */
@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
    
    .main-nav {
        padding: 1rem 3%;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 5%;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
}

/* 卡片网格 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.card-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.card-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* 标签 */
.tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--bg-cream);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-right: 0.5rem;
}

.tag-primary {
    background: var(--primary);
    color: white;
}

/* 分割线 */
.divider {
    height: 1px;
    background: var(--border);
    margin: 3rem 0;
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* 进度条 */
.progress-bar {
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
    margin: 1rem 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    border-radius: 4px;
    transition: width 0.5s ease;
}

/* 徽章 */
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    background: var(--primary);
    color: white;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h3 {
    margin-bottom: 0.5rem;
    color: var(--text);
}

/* ==================== 实时数字人对话区域 ==================== */
.live-conversation-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.live-conversation-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(212,165,116,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.live-conversation-container {
    max-width: 1400px;
    margin: 0 auto;
}

.live-conversation-header {
    text-align: center;
    margin-bottom: 3rem;
}

.live-conversation-header h2 {
    font-family: 'Noto Serif SC', serif;
    font-size: 2.2rem;
    color: white;
    margin-bottom: 0.5rem;
}

.live-conversation-header p {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
}

.live-main-area {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 1024px) {
    .live-main-area {
        grid-template-columns: 1fr;
    }
}

/* 数字人+3D展示区 */
.avatar-3d-display {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 20px;
    overflow: hidden;
    background: #0a0a1a;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.scene-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 0.5s ease;
}

.scene-background::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(26,26,46,0.9) 0%, transparent 100%);
}

.avatar-video-layer {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(212,165,116,0.6);
    box-shadow: 0 0 40px rgba(212,165,116,0.3);
    z-index: 10;
    background: #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-video-layer video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-video-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 摄像头预览小窗 */
.camera-preview {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 120px;
    height: 90px;
    border-radius: 12px;
    overflow: hidden;
    background: #0a0a1a;
    border: 2px solid rgba(255,255,255,0.2);
    z-index: 20;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.camera-preview video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1);
}

.camera-off-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.7);
    color: rgba(255,255,255,0.6);
    font-size: 0.75rem;
}

/* 3D场景切换器 */
.scene-selector {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 20;
    background: rgba(0,0,0,0.6);
    padding: 0.5rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.scene-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.scene-btn:hover {
    background: rgba(255,255,255,0.2);
}

.scene-btn.active {
    background: linear-gradient(135deg, #D4A574, #8B4513);
    border-color: #D4A574;
}

/* 实时控制面板 */
.live-control-panel {
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #666;
}

.status-dot.online {
    background: #10B981;
    box-shadow: 0 0 8px rgba(16,185,129,0.5);
    animation: pulse 2s infinite;
}

.status-dot.recording {
    background: #ef4444;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

#avatarStatusText {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

.panel-section {
    margin-bottom: 1.2rem;
}

.panel-label {
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.camera-toggle-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.toggle-btn {
    background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05));
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.toggle-btn:hover {
    background: linear-gradient(135deg, rgba(255,255,255,0.25), rgba(255,255,255,0.1));
}

.toggle-btn.active {
    background: linear-gradient(135deg, #D4A574, #8B4513);
    border-color: #D4A574;
}

/* 对话历史 */
.chat-history {
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    padding: 1rem;
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 0.5rem;
}

.chat-history::-webkit-scrollbar {
    width: 4px;
}

.chat-history::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
}

.chat-message {
    margin-bottom: 0.8rem;
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
}

.chat-message.user {
    background: rgba(14,165,233,0.2);
    margin-left: 2rem;
}

.chat-message.avatar {
    background: rgba(139,69,19,0.2);
    margin-right: 2rem;
}

.chat-message .speaker {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.3rem;
}

.chat-message div:last-child {
    color: white;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* 文字输入 */
.chat-input-row {
    display: flex;
    gap: 0.5rem;
}

.chat-input {
    flex: 1;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 0.7rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.chat-input::placeholder {
    color: rgba(255,255,255,0.4);
}

.chat-input:focus {
    outline: none;
    border-color: #D4A574;
}

.send-btn {
    background: linear-gradient(135deg, #D4A574, #8B4513);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.send-btn:hover {
    transform: scale(1.1);
}

/* 快捷问题 */
.quick-prompts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.quick-prompt {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.8);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
}

.quick-prompt:hover {
    background: rgba(212,165,116,0.2);
    border-color: #D4A574;
    color: #D4A574;
}

/* 场景徽章3D */
.scene-badge-3d {
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.scene-badge-3d:hover {
    transform: scale(1.1);
}
