/* --- style.css --- */
:root {
    --bg-color: #050505;
    --card-bg: #0d1117;
    --text-primary: #ffffff;
    --text-secondary: #8b949e;
    --accent-green: #ffaa00; /* 核心主色：钨丝灯暖橙 */
    --border-color: #30363d;
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
    background-color: var(--bg-color);
    height: 100%;
    overflow-x: hidden;
}

#canvas-bg {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1; pointer-events: none;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-stack);
    line-height: 1.6;
    overflow-x: hidden;
    /* 背景图设置 */
    background-image: 
        linear-gradient(to bottom, rgba(5, 5, 5, 0.6) 0%, var(--bg-color) 90%),
        url('a_golden_fiber_network_blockchain_film_0899561.png');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- 导航栏 --- */
.navbar {
    position: fixed; top: 0; width: 100%; height: 70px; padding: 0 40px;
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(5, 5, 5, 0.8); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08); z-index: 1000;
}
.logo { font-size: 1.2rem; font-weight: 800; display: flex; align-items: center; gap: 12px; }
.logo-icon { width: 24px; height: 24px; background: var(--accent-green); border-radius: 4px; position: relative; }
.logo-icon::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 8px; height: 8px; background: #000; border-radius: 50%; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { color: var(--text-secondary); font-size: 0.9rem; font-weight: 500; }
.nav-links a.active, .nav-links a:hover { color: var(--text-primary); }

/* --- 通用 --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.btn-group { display: flex; gap: 20px; justify-content: center; }

/* --- 按钮样式 (已修复居中问题) --- */
.btn { 
    display: inline-flex;       /* 启用 Flex 布局 */
    align-items: center;        /* 垂直居中 */
    justify-content: center;    /* 水平居中 */
    gap: 10px;                  /* 图标与文字间距 */
    padding: 12px 32px; 
    border-radius: 6px; 
    font-weight: 600; 
    cursor: pointer; 
    transition: var(--transition); 
    line-height: 1;             /* 消除行高偏移 */
}

.btn-primary { background-color: var(--accent-green); color: #000; border: 1px solid var(--accent-green); }
.btn-primary:hover { background-color: #e69900; box-shadow: 0 0 20px rgba(255, 170, 0, 0.4); }
.btn-link { background: transparent; color: var(--text-secondary); border: 1px solid rgba(255,255,255,0.2); }
.btn-link:hover { border-color: var(--text-primary); color: var(--text-primary); }

/* --- Hero --- */
.hero { height: 100vh; display: flex; flex-direction: column; justify-content: flex-start; align-items: center; text-align: center; padding-top: 120px; }
.hero h1 {
    font-size: 4.5rem; line-height: 1.1; font-weight: 800; letter-spacing: -2px; margin-bottom: 24px;
    background: linear-gradient(180deg, #fff 0%, #aaa 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p { font-size: 1.25rem; color: var(--text-secondary); max-width: 700px; margin-bottom: 48px; }

/* --- 流程区域 --- */
.flow-section { position: relative; padding: 120px 0 0; }
.growth-line {
    position: absolute; top: 0; bottom: 0; left: 50%; width: 1px;
    background: linear-gradient(to bottom, transparent 0%, var(--accent-green) 40%);
    transform: translateX(-50%); z-index: 0; opacity: 0.5;
}
.flow-node {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 120px; position: relative; z-index: 1;
    opacity: 0; transform: translateY(40px); transition: var(--transition);
}
.flow-node.visible { opacity: 1; transform: translateY(0); }
.flow-node .content-side { width: 48%; }
.flow-img-wrapper {
    width: 45%; position: relative; border-radius: 12px; overflow: hidden;
    border: 1px solid rgba(255, 170, 0, 0.3); box-shadow: 0 0 20px rgba(255, 170, 0, 0.1);
    transition: var(--transition);
}
.flow-img-wrapper:hover {
    border-color: rgba(255, 170, 0, 0.8); box-shadow: 0 0 30px rgba(255, 170, 0, 0.3); transform: scale(1.02);
}
.flow-img-wrapper img { width: 100%; height: auto; display: block; object-fit: cover; }
.content-side h2 { font-size: 2rem; margin-bottom: 16px; letter-spacing: -1px; }
.content-side p { color: var(--text-secondary); font-size: 1.1rem; }
.tag {
    color: var(--accent-green); font-family: monospace; font-size: 0.85rem; margin-bottom: 12px; display: inline-block;
    border: 1px solid rgba(255, 170, 0, 0.3); padding: 4px 8px; border-radius: 4px;
}

/* --- 光圈生态图 --- */
.aperture-section {
    --ape-cyan: #ffaa00; --ape-text: #888;
    padding: 120px 0 100px; position: relative;
    background: radial-gradient(circle at 50% 50%, rgba(10,10,10,0.95) 0%, transparent 70%);
    overflow: hidden; margin-top: 50px;
}
.aperture-wrapper {
    position: relative; width: 100%; max-width: 600px; aspect-ratio: 1 / 1;
    margin: 0 auto; display: flex; justify-content: center; align-items: center;
    opacity: 0; transform: scale(0.9); transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.aperture-wrapper.active { opacity: 1; transform: scale(1); }
.lens-core {
    width: 30%; height: 30%; border-radius: 50%; background: #000; border: 1px solid #333;
    position: relative; z-index: 10; display: flex; justify-content: center; align-items: center;
    box-shadow: 0 0 60px rgba(0,0,0,0.9), inset 0 0 20px rgba(255,255,255,0.05);
}
.lens-glass {
    width: 75%; height: 75%; border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #222, #000);
    display: flex; justify-content: center; align-items: center; position: relative; overflow: hidden;
}
.lens-reflection {
    position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(255, 170, 0, 0.15) 45%, transparent 50%);
    animation: lens-shine 8s infinite linear;
}
@keyframes lens-shine { to { transform: rotate(360deg); } }
.core-text { font-family: sans-serif; font-weight: 800; text-align: center; color: #fff; line-height: 1.1; font-size: clamp(12px, 2vw, 24px); z-index: 2; }
.ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; }
.ring-1 { width: 46%; height: 46%; border: 1px dashed #333; animation: spin-right 20s linear infinite; }
.ring-2 { width: 75%; height: 75%; border: 1px solid rgba(255,255,255,0.03); animation: spin-left 30s linear infinite; }
@keyframes spin-right { from { transform: rotate(0deg) translate(-50%, -50%); } to { transform: rotate(360deg) translate(-50%, -50%); } }
@keyframes spin-left { from { transform: rotate(0deg) translate(-50%, -50%); } to { transform: rotate(-360deg) translate(-50%, -50%); } }

.orbit-node {
    position: absolute; width: clamp(50px, 13vw, 80px); height: clamp(50px, 13vw, 80px);
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    color: var(--ape-text); font-size: clamp(0.6rem, 1.5vw, 0.8rem);
    background: #080808; border-radius: 50%; border: 1px solid #222; z-index: 5;
    cursor: pointer; transition: all 0.4s;
}
.orbit-node i { font-size: clamp(1rem, 2vw, 1.5rem); margin-bottom: 5px; color: #444; transition: 0.4s; }
.orbit-node:hover { color: #fff; border-color: var(--ape-cyan); transform: scale(1.15); box-shadow: 0 0 20px rgba(255, 170, 0, 0.15); z-index: 20; }
.orbit-node:hover i { color: var(--ape-cyan); text-shadow: 0 0 10px var(--ape-cyan); }
.pos-1 { top: 5%; left: 50%; transform: translateX(-50%); }
.pos-2 { top: 22%; right: 5%; } .pos-3 { bottom: 22%; right: 5%; }
.pos-4 { bottom: 5%; left: 50%; transform: translateX(-50%); }
.pos-5 { bottom: 22%; left: 5%; } .pos-6 { top: 22%; left: 5%; }
.eco-desc-hud { text-align: center; margin-top: 40px; color: #555; font-size: 0.85rem; letter-spacing: 2px; font-family: monospace; }
.hud-line { width: 40px; height: 1px; background: #333; margin: 12px auto; }

/* --- Vision Showcase --- */
.vision-showcase {
    position: relative; margin-top: 100px; padding: 0 0 60px; text-align: center;
}
.vision-img-container {
    max-width: 800px; margin: 0 auto 30px; position: relative;
}
.vision-img-container img {
    width: 100%; height: auto; display: block;
    filter: drop-shadow(0 0 30px rgba(255, 170, 0, 0.15));
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}
.vision-text h2 {
    font-size: 2.5rem; color: #fff; margin-bottom: 10px; font-weight: 800; letter-spacing: -1px;
}
.vision-text p {
    font-size: 1.1rem; color: var(--accent-green); letter-spacing: 2px; text-transform: uppercase;
}

/* --- About Page 样式 --- */
.about-hero { text-align: center; padding: 160px 0 80px; background: radial-gradient(circle at 50% 30%, rgba(255, 170, 0, 0.15) 0%, transparent 60%); }
.about-hero h1 { font-size: 3.5rem; margin-bottom: 20px; }
.about-hero .highlight { color: var(--accent-green); }
.about-hero p { font-size: 1.2rem; color: var(--text-secondary); max-width: 700px; margin: 0 auto; }

.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-bottom: 80px; }
.value-card { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.1); padding: 40px; border-radius: 12px; transition: var(--transition); }
.value-card:hover { transform: translateY(-5px); border-color: var(--accent-green); background: rgba(255, 170, 0, 0.05); }
.value-icon { font-size: 2rem; color: var(--accent-green); margin-bottom: 20px; }

.team-section-banner {
    width: 100%; margin-bottom: 60px; border-radius: 16px; overflow: hidden;
    border: 1px solid #222; position: relative;
}
.team-section-banner img {
    width: 100%; height: auto; max-height: 400px; object-fit: cover; display: block;
    opacity: 0.8; transition: 0.5s;
}
.team-section-banner:hover img { opacity: 1; transform: scale(1.02); }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; margin-bottom: 100px; }
.team-card { background: #0a0a0a; border-radius: 16px; overflow: hidden; border: 1px solid #222; transition: var(--transition); text-align: left; }
.team-card:hover { border-color: #444; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.member-photo { width: 100%; height: 280px; background: #1a1a1a; display: flex; align-items: center; justify-content: center; }
.member-photo i { font-size: 4rem; color: #333; transition: 0.3s; }
.team-card:hover .member-photo i { color: var(--accent-green); transform: scale(1.1); }
.member-info { padding: 25px; }
.member-role { color: var(--accent-green); font-size: 0.9rem; font-weight: 600; text-transform: uppercase; margin-bottom: 8px; }
.member-name { font-size: 1.5rem; font-weight: 700; margin-bottom: 12px; color: #fff; }
.member-bio { color: #888; font-size: 0.95rem; line-height: 1.6; margin-bottom: 20px; }
.social-mini-links a { color: #555; margin-right: 15px; font-size: 1.1rem; }
.social-mini-links a:hover { color: var(--accent-green); }

/* --- Footer --- */
.mega-footer { 
    background-color: #000; 
    border-top: 1px solid #1f1f1f; 
    padding: 60px 0 40px; 
    padding-bottom: calc(40px + env(safe-area-inset-bottom)); 
    font-size: 0.9rem; 
}
.footer-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 40px; border-bottom: 1px solid #1f1f1f; margin-bottom: 40px; }
.footer-brand h2 { font-size: 1.8rem; font-weight: 800; color: #fff; }
.footer-brand span { color: #666; font-size: 1rem; }
.footer-cta-btn { background-color: var(--accent-green); color: #000; padding: 12px 24px; border-radius: 4px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.footer-middle { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; margin-bottom: 60px; }
.footer-col { flex: 1; min-width: 150px; }
.footer-col h4 { color: #8b949e; font-size: 0.85rem; margin-bottom: 20px; font-weight: 500; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: #e1e4e8; transition: 0.2s; }
.footer-col ul li a:hover { color: var(--accent-green); }
.social-list li { display: flex; align-items: center; gap: 10px; cursor: pointer; transition: color 0.3s; }
.social-list li:hover { color: var(--accent-green); }

/* Footer Bottom Layout & Legal */
.footer-bottom { 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-end; 
    color: #6c757d; 
    font-size: 0.8rem; 
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}
.footer-legal p { margin: 0; line-height: 1.5; }

.company-row { display: flex; align-items: center; flex-wrap: wrap; }
.divider { margin: 0 8px; opacity: 0.4; }

.license-link { color: #6c757d; text-decoration: none; transition: color 0.3s; }
.license-link:hover { color: var(--accent-green); text-decoration: underline; }

.footer-qr { text-align: right; }
.qr-box { width: 100px; height: 100px; background: #fff; padding: 5px; margin-bottom: 10px; border-radius: 4px; }
.qr-box img { width: 100%; height: 100%; display: block; }

/* --- Mobile / Media Queries --- */
@media (max-width: 900px) {
    .flow-node { flex-direction: column !important; text-align: left; align-items: flex-start; gap: 20px; }
    .flow-node .content-side, .flow-img-wrapper { width: 100%; }
}

@media (max-width: 768px) {
    body { background-attachment: scroll; background-size: cover; }
    .hero { height: auto; min-height: auto; padding-top: 140px; padding-bottom: 80px; }
    .hero h1 { font-size: 3rem; }
    .hero p { padding: 0 10px; }
}

@media (max-width: 600px) {
    .aperture-section { padding: 80px 0; }
    .lens-core { width: 25%; height: 25%; }
    .ring-1 { width: 40%; height: 40%; }
    .ring-2 { width: 70%; height: 70%; }
    .orbit-node { border-color: #1a1a1a; background: rgba(0,0,0,0.8); }
    .pos-1 { top: 0%; } .pos-2 { top: 18%; right: 0%; } .pos-3 { bottom: 18%; right: 0%; }
    .pos-4 { bottom: 0%; } .pos-5 { bottom: 18%; left: 0%; } .pos-6 { top: 18%; left: 0%; }
    
    .logo { font-size: 1rem; }
    .nav-links { gap: 15px; }
    .nav-links a { font-size: 0.8rem; }
    .navbar { padding: 0 20px; }

    /* Mobile Footer Adjustments */
    .footer-bottom { flex-direction: column-reverse; align-items: flex-start; gap: 20px; }
    .footer-qr { align-self: flex-start; }
}


/* --- Agent Page Styles (AI 创作页面样式) --- */

/* 布局调整：隐藏页面滚动，只允许聊天区滚动 */
body:has(.agent-layout) {
    overflow: hidden;
}

.agent-layout {
    display: flex;
    height: calc(100vh - 70px); /* 减去导航栏高度 */
    margin-top: 70px;
    background-color: #050505;
}

/* 侧边栏 */
.sidebar {
    width: 280px;
    background: #0a0a0a;
    border-right: 1px solid #222;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 10;
}

.sidebar h3 {
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.mode-btn {
    background: #111;
    color: #888;
    border: 1px solid #222;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mode-btn i { font-size: 1.2rem; }
.mode-desc { font-size: 0.75rem; color: #555; margin-top: 4px; }

.mode-btn:hover, .mode-btn.active {
    background: rgba(255, 170, 0, 0.08);
    border-color: var(--accent-green);
    color: #fff;
}
.mode-btn.active i { color: var(--accent-green); }

/* 聊天主区域 */
.chat-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    background: radial-gradient(circle at 50% 50%, #0d1117 0%, #050505 100%);
}

.chat-window {
    flex: 1;
    overflow-y: auto;
    padding: 40px;
    scroll-behavior: smooth;
    padding-bottom: 20px;
}

/* 消息气泡 */
.message {
    margin-bottom: 24px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 0.3s forwards;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.user-msg .message-content {
    background: #1a1a1a;
    border: 1px solid #333;
    color: #fff;
    padding: 12px 20px;
    border-radius: 12px;
    border-bottom-right-radius: 2px;
    margin-left: auto;
    width: fit-content;
    max-width: 80%;
}

.ai-msg { display: flex; gap: 16px; }
.ai-avatar {
    width: 36px; height: 36px;
    background: var(--accent-green);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #000; font-size: 1rem; flex-shrink: 0;
}

.ai-msg .message-content {
    background: transparent;
    padding: 0;
    color: #d1d5db;
    width: 100%;
    line-height: 1.7;
}

/* Markdown 表格样式优化 */
.markdown-body table { 
    width: 100%; 
    border-collapse: collapse; 
    margin: 15px 0; 
    border: 1px solid #333; 
    font-size: 0.9rem;
}
.markdown-body th, .markdown-body td { border: 1px solid #333; padding: 10px; color: #ccc; text-align: left; }
.markdown-body th { background: #161b22; color: var(--accent-green); }
.markdown-body strong { color: #fff; font-weight: 700; }
.markdown-body p { margin-bottom: 10px; }

/* 输入区 */
.input-container {
    padding: 20px 40px 40px;
    background: linear-gradient(to top, #050505 85%, transparent);
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    z-index: 20;
}

.input-box {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 0 30px rgba(0,0,0,0.3);
    transition: 0.3s;
}

.input-box:focus-within { border-color: var(--accent-green); box-shadow: 0 0 20px rgba(255, 170, 0, 0.1); }

textarea {
    background: transparent; border: none; color: #fff; font-size: 1rem; resize: none; outline: none;
    font-family: inherit; min-height: 60px; max-height: 150px;
    width: 100%;
}

.toolbar { display: flex; justify-content: space-between; align-items: center; }
.status-text { font-size: 0.8rem; color: #444; }
.btn-primary { padding: 8px 24px; font-size: 0.9rem; }

/* --- 移动端适配 (替换 style.css 最底部的对应部分) --- */
@media (max-width: 768px) {
    /* 1. 整体布局改为上下结构 */
    .agent-layout { 
        flex-direction: column; 
    }

    /* 2. 侧边栏改为顶部横向滚动条 */
    .sidebar { 
        display: flex;          /* 显示侧边栏 */
        flex-direction: row;    /* 改为横向排列 */
        width: 100%;            /* 占满宽度 */
        height: auto;           /* 高度自适应 */
        overflow-x: auto;       /* 开启横向滚动 */
        padding: 10px 15px;     /* 调整内边距 */
        border-right: none;     /* 去掉右边框 */
        border-bottom: 1px solid #222; /* 增加下边框 */
        gap: 10px;              /* 按钮间距 */
        
        /* 隐藏滚动条样式 (Chrome/Safari) */
        -webkit-overflow-scrolling: touch; 
    }
    
    .sidebar::-webkit-scrollbar {
        display: none; 
    }

    /* 3. 调整按钮样式以适应顶部栏 */
    .mode-btn {
        min-width: 140px;       /* 给每个按钮固定最小宽度，防止挤压 */
        padding: 10px 12px;
        flex-shrink: 0;         /* 禁止按钮缩小 */
        font-size: 0.9rem;
    }
    
    /* 手机端隐藏描述文字，只保留标题，显得更简洁 */
    .mode-desc {
        display: none; 
    }

    /* 4. 聊天区域适配 */
    .chat-area {
        height: 100%;           /* 占满剩余高度 */
    }

    .chat-window { 
        padding: 15px;          /* 减小内边距 */
        padding-bottom: 20px;
    }

    .input-container { 
        padding: 10px 15px 20px; /* 减小输入框周围留白 */
    }
}

/* --- AI 打字机光标效果 --- */
.typing-cursor .markdown-body > *:last-child::after,
.typing-cursor::after {
    content: "▋";
    display: inline-block;
    vertical-align: middle;
    width: 8px;
    height: 16px;
    background: transparent;
    color: var(--accent-green); /* 使用你的主题色 */
    animation: blink 1s step-end infinite;
    margin-left: 4px;
}

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

/* --- 思考过程（Reasoning）样式 --- */
.reasoning-box {
    background: #1c1c1c;       /* 深灰色背景 */
    border-left: 3px solid #555;
    padding: 10px 15px;
    margin-bottom: 15px;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #888;              /* 灰色文字 */
    font-family: monospace;   /*等宽字体，更有极客感 */
    display: none;            /* 默认隐藏，有内容时才显示 */
}

.reasoning-box::before {
    content: "🧠 思考过程：";
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #666;
}

/* 正在思考时的闪烁光标（针对思考区域） */
.reasoning-box.thinking::after {
    content: "▋";
    display: inline-block;
    animation: blink 1s step-end infinite;
    color: #888;
}

/* --- 深度思考折叠组件样式 --- */
.reasoning-wrapper {
    margin-bottom: 15px;
    border: 1px solid #333;
    border-radius: 6px;
    background: #111;
    overflow: hidden;
    display: none; /* 默认隐藏，有思考内容时才显示整个组件 */
}

.reasoning-header {
    padding: 8px 12px;
    background: #1a1a1a;
    color: #888;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    user-select: none;
    transition: background 0.2s;
}

.reasoning-header:hover {
    background: #222;
    color: #ccc;
}

/* 箭头旋转动画 */
.reasoning-header i.arrow {
    transition: transform 0.3s ease;
    font-size: 0.7rem;
}
.reasoning-header.expanded i.arrow {
    transform: rotate(90deg);
}

.reasoning-content {
    padding: 12px;
    color: #999;
    font-size: 0.9rem;
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace; /* 等宽字体更像代码/思考 */
    line-height: 1.6;
    border-top: 1px solid #333;
    display: none; /* 默认折叠 (不显示内容) */
    background: #0d0d0d;
}

/* 思考时的光标 */
.reasoning-content.thinking::after {
    content: "▋";
    display: inline-block;
    animation: blink 1s step-end infinite;
    color: var(--accent-green);
    margin-left: 5px;
}