/* 全局基础样式 */
.tool-container {
    padding: 40px 20px;
    max-width: 1280px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* 搜索区域 */
.search-wrap {
    margin-bottom: 32px;
}
.search-box {
    width: 100%;
    height: 52px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 0 24px;
    outline: none;
    font-size: 15px;
    background: #fff;
    transition: all 0.3s ease;
}
.search-box:focus {
    border-color: #334155;
    box-shadow: 0 0 0 3px rgba(51, 65, 85, 0.08);
}
.search-box::placeholder {
    color: #9ca3af;
}

/* 分类标签 */
.classify-tab {
    display: flex;
    gap: 12px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}
.tab-item {
    padding: 9px 22px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #64748b;
    color: #475569;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.tab-item:hover {
    background: #f8fafc;
}
.tab-item.active {
    background: #334155;
    color: #fff;
    border-color: #334155;
}

/* 话术卡片 */
.speak-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 30px;
    margin-bottom: 24px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.04);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}
.speak-card:hover {
    box-shadow: 0 6px 25px rgba(0,0,0,0.06);
}

/* 分类小标签 */
.card-tag {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 16px;
    background: #f1f5f9;
    color: #64748b;
}

/* 原话文本 */
.origin-say {
    font-size: 16px;
    color: #1e293b;
    line-height: 1.8;
    margin: 0 0 16px;
}
.origin-say span {
    font-weight: 600;
    color: #0f172a;
}

/* 内容区块简约区分 */
.hidden-mean, .right-reply, .wrong-reply {
    padding: 14px 16px;
    border-radius: 12px;
    margin: 10px 0;
    line-height: 1.75;
    font-size: 15px;
    background: transparent;
    border: 1px solid #f3f4f6;
}
.hidden-mean strong {
    color: #b45309;
    font-weight: 600;
}
.right-reply strong {
    color: #047857;
    font-weight: 600;
}
.wrong-reply strong {
    color: #c53030;
    font-weight: 600;
}

/* 空状态提示 */
.empty-tip {
    text-align: center;
    padding: 60px 0;
    color: #94a3b8;
    font-size: 15px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .tool-container {
        padding: 24px 15px;
    }
    .speak-card {
        padding: 22px 20px;
    }
    .search-box {
        height: 48px;
    }
    .tab-item {
        padding: 7px 16px;
        font-size: 13px;
    }
}