/* 生肖查询专题页 */

.sx-form {
    grid-template-columns: 1fr;
}

/* 结果展示 */
.sx-result {
    margin-top: 1.5rem;
}

.sx-main-card {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fef9ec 0%, #fef3c7 100%);
    border: 2px solid #f59e0b;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.sx-animal {
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.sx-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.3rem;
}

.sx-ganzhi {
    font-size: 1rem;
    color: #92400e;
    font-weight: 500;
}

.sx-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.sx-detail-item {
    padding: 0.8rem;
    background: #f8f9fb;
    border: 1px solid #e8eaf0;
    border-radius: 8px;
}

.sx-detail-label {
    font-size: 0.78rem;
    color: #999;
    margin-bottom: 0.3rem;
}

.sx-detail-value {
    font-size: 0.92rem;
    font-weight: 600;
    color: #333;
}

/* 子工具卡片 */
.sx-tool-card {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 1.2rem;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    text-align: center;
    background: #fff;
    transition: box-shadow 0.2s, transform 0.2s;
}

.sx-tool-card:hover {
    box-shadow: 0 4px 12px rgba(37,99,235,0.12);
    transform: translateY(-2px);
    text-decoration: none;
}

.sx-tool-card .feature-icon {
    font-size: 2rem;
    margin-bottom: 0.4rem;
}

.sx-tool-card .feature-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.3rem;
}

.sx-tool-card .feature-desc {
    font-size: 0.8rem;
    color: #2563eb;
}

/* 速查表 */
.sx-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.sx-quick-item {
    text-align: center;
    padding: 0.8rem 0.5rem;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.sx-quick-item.current-year {
    border-color: #f59e0b;
    background: #fef9ec;
}

.sx-quick-icon {
    font-size: 1.6rem;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.sx-quick-year {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
}

.sx-quick-name {
    font-size: 0.75rem;
    color: #888;
    margin-top: 0.15rem;
}

.sx-quick-ganzhi {
    font-size: 0.72rem;
    color: #aaa;
}

@media (max-width: 600px) {
    .sx-details {
        grid-template-columns: 1fr;
    }
    .sx-quick-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
