.homo-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 20px 16px;
}

/* 输入区 */
.homo-input-area {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    align-items: stretch;
}
.homo-input-area input {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
    background: #fff;
}
.homo-input-area input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}
.homo-gen-btn {
    padding: 14px 24px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.15s, box-shadow 0.15s;
}
.homo-gen-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102,126,234,0.3);
}

/* 结果区 */
.homo-result {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    min-height: 100px;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}
.homo-empty {
    color: #a0aec0;
    font-size: 14px;
    text-align: center;
    padding: 20px 0;
}
.homo-number {
    font-weight: 700;
    color: #2d3748;
    font-size: 18px;
}
.homo-equals {
    color: #667eea;
    font-weight: 700;
    margin: 0 8px;
    font-size: 18px;
}
.homo-expression {
    color: #e53e3e;
    font-weight: 600;
    word-break: break-all;
    font-size: 16px;
    line-height: 2;
}

/* 示例按钮 */
.homo-examples {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.homo-examples-label {
    font-size: 13px;
    color: #718096;
    font-weight: 500;
    margin-right: 4px;
}
.homo-example-btn {
    padding: 6px 14px;
    background: #f0f4ff;
    border: 1px solid #c7d2fe;
    color: #667eea;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
}
.homo-example-btn:hover {
    background: #667eea;
    color: #fff;
    border-color: #667eea;
    transform: translateY(-1px);
}

/* 底部说明 */
.homo-tips {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
}
.homo-tips h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2d3748;
}
.homo-tips p {
    font-size: 13px;
    color: #718096;
    line-height: 1.7;
}

@media (max-width: 480px) {
    .homo-container { padding: 12px; }
    .homo-input-area { flex-direction: column; }
    .homo-gen-btn { width: 100%; padding: 12px; }
    .homo-result { padding: 16px; font-size: 14px; }
    .homo-expression { font-size: 14px; }
}
