/* ---- 主回复框美化 ---- */
.main-reply-box {
    background-color: #f5f5f7; /* 浅灰色背景 */
    border: 3px solid transparent; /* 透明边框，为渐变留出空间 */
    border-radius: 15px; /* 圆角 */
    padding: 15px;
    margin: 10px 0;
    /* 核心：粉紫色炫彩边框 */
    background-image: linear-gradient(#f5f5f7, #f5f5f7), 
                      linear-gradient(135deg, #ff80ed, #8a2be2, #40e0d0);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* ---- 隐藏思维链 ---- */
think {
    display: none;
}

/* ---- 顶部信息栏 ---- */
.top-info-bar {
    border: 1px solid #333;
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 15px;
    font-size: 0.9em;
    text-align: center;
    background-color: #e9e9eb;
}

/* ---- 分割线 ---- */
.separator {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, #8a2be2, transparent);
    margin: 20px 0;
}

/* ---- 正文区域 ---- */
text {
    display: block;
    line-height: 1.7;
    font-size: 1.05em;
    color: #333;
}
text p {
    margin-bottom: 1em;
}

/* ---- 可折叠区域统一样式 ---- */
.details-section {
    margin-bottom: 8px;
}

/* ---- 折叠标题 (summary) ---- */
.details-section summary {
    background: linear-gradient(135deg, #e1c4fd, #d9e7ff);
    color: #333;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    outline: none;
    transition: background 0.3s ease;
    list-style: none; /* 移除默认的三角箭头 */
}
.details-section summary::-webkit-details-marker {
    display: none; /* 再次确认移除箭头 */
}
.details-section summary:hover {
    background: linear-gradient(135deg, #d1b3ed, #c9d7ef);
}

/* ---- 折叠内容区域 ---- */
.details-content {
    background-color: #ffffff;
    border: 1px solid #e1c4fd;
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 15px;
    font-size: 0.95em;
}
.details-content p {
    margin-bottom: 0.5em;
}

/* ---- 推荐选项容器 ---- */
.options-container {
    display: flex;
    flex-direction: column;
    gap: 8px; /* 选项之间的间距 */
}

/* ---- 单个推荐选项 ---- */
.option-item {
    border: 1px solid #d1b3ed;
    background-color: #f9f4ff;
    padding: 10px;
    border-radius: 6px;
    transition: all 0.2s ease;
}
.option-item:hover {
    transform: translateX(5px);
    border-color: #8a2be2;
    background-color: #f0e6ff;
}