.tool-container {
    max-width: 900px;
    margin: 30px auto;
    padding: 24px;
    background: #fff;
}
h1 {
    text-align: center;
    font-size: 24px;
    color: #1e293b;
    margin-bottom: 25px;
}
/* 顶部快捷标签 */
.scene-tab-wrap {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}
.scene-tab {
    padding: 7px 16px;
    background: #f0f4ff;
    color: #2774e7;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
}
.scene-tab.active {
    background: #2774e7;
    color: #fff;
}
/* 表单通用行 */
.form-line {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    gap: 10px;
}
.form-name {
    width: 100px;
    font-size: 15px;
    color: #333;
    flex-shrink: 0;
}
.num-input,.select-input {
    flex: 1;
    padding: 11px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
}
/* 按钮选项组 */
.btn-option-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.opt-btn {
    padding: 9px 20px;
    border: 1px solid #d1d5db;
    background: #fff;
    border-radius: 7px;
    font-size: 14px;
    cursor: pointer;
}
.opt-btn.active {
    background: #2774e7;
    color: #fff;
    border-color: #2774e7;
}
/* 功能按钮 */
.sub-btn {
    width: 100%;
    padding: 15px;
    background: #2774e7;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 15px;
}
.clear-btn {
    width: 100%;
    padding: 12px;
    background: #9ca3af;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    margin-top: 10px;
}
/* 结果区域 */
.result-box {
    margin-top: 25px;
}
.result-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 14px;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 10px;
    line-height: 1.7;
}
.result-text {
    flex: 1;
    font-size: 15px;
    color: #333;
    margin-right: 12px;
}
.result-text textarea {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    resize: none;
    font-size: 15px;
}
.copy-btn {
    padding: 6px 13px;
    background: #60a5fa;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    white-space: nowrap;
}
.copy-btn.success {
    background: #22c55e;
}