/* 整体布局 */
.tool-container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}
/* 搜索栏 */
.search-box {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    align-items: center;
}
.search-input {
    flex: 1;
    min-width: 280px;
    height: 44px;
    padding: 0 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: all 0.25s;
    background: #fff;
}
.search-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}
/* 搜索按钮蓝色 */
.search-btn {
    height: 44px;
    padding: 0 28px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s;
}
.search-btn:hover {
    background: #1d4ed8;
}

/* 筛选区域 纯白下拉 */
.filter-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    align-items: center;
}
.filter-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.filter-label {
    font-size: 14px;
    color: #333;
    white-space: nowrap;
}
.filter-select {
    min-width: 160px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    background-color: #ffffff;
    outline: none;
}
.filter-select:focus {
    border-color: #2563eb;
}

/* 故事列表 */
.story-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
/* 卡片样式 */
.story-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    padding: 30px;
    transition: all 0.3s ease;
    border: 1px solid #f1f1f1;
}
.story-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.09);
}
/* 卡片头部 */
.story-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 22px;
}
.story-title {
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    border-left: 5px solid #2563eb;
    padding-left: 16px;
    margin: 0;
}
/* 标签样式 */
.story-tag-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.story-tag {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}
.tag-type {
    background: #eff6ff;
    color: #2563eb;
}
.tag-force {
    background: #f0fdf4;
    color: #059669;
}
.tag-period {
    background: #fef7ff;
    color: #9333ea;
}

/* 主体左右分栏布局 */
.story-card-body {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 28px;
}
/* 左侧基础信息栏 */
.story-side-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 10px;
}
.side-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.side-info-label {
    font-size: 12px;
    color: #9ca3af;
}
.side-info-value {
    font-size: 14px;
    color: #374151;
    font-weight: 500;
}

/* 右侧故事正文 */
.story-main {
    width: 100%;
}
.story-paragraph {
    font-size: 15px;
    line-height: 2;
    color: #333;
    text-indent: 2em;
    text-align: justify;
    margin: 0 0 16px 0;
}
.story-paragraph:last-child {
    margin-bottom: 0;
}

/* 底部评价区域 */
.story-evaluate-box {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}
.evaluate-title {
    font-size: 14px;
    font-weight: 500;
    color: #2563eb;
    margin-bottom: 10px;
}
.evaluate-text {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

/* 空数据 */
.empty-tip {
    text-align: center;
    padding: 80px 0;
    color: #999;
    font-size: 15px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .story-card-body{
        grid-template-columns: 1fr;
    }
}