/* ================================================================
   菜刀客在线工具页 · birthday-calculator.html 私有样式
   需在 /css/common.css 之后加载。
   ================================================================ */

/* ---- 出生日期模式切换（阳历 / 农历） ---- */
.mode-cards {
    display: flex;
    gap: 10px;
}

.mode-cards .radio-card {
    flex: 1;
    justify-content: center;
}

/* ---- 农历年月日三列选择 ---- */
.select-row {
    display: flex;
    gap: 8px;
}

.select-row select {
    flex: 1;
    min-width: 0;
    padding: 9px 8px;
    font-size: 13px;
}

/* ---- 生日结果高亮 ---- */
.birth-hero .amount {
    word-break: break-all;
}

.zodiac-badge {
    display: inline-block;
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 20px;
    background: rgba(255,255,255,0.22);
    margin-top: 6px;
}

/* ---- 岁数统计 ---- */
.age-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

@media (max-width: 560px) {
    .age-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.age-card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    background: #fff;
}

.age-card .age-label {
    font-size: 12px;
    color: #6b7280;
}

.age-card .age-value {
    font-size: 26px;
    font-weight: 700;
    color: #4338ca;
    font-variant-numeric: tabular-nums;
    margin-top: 4px;
}

.age-card .age-sub {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 4px;
}

.age-card.accent {
    border-color: #667eea;
    background: #eef2ff;
}

/* ---- 农历文本 ---- */
.lunar-text {
    font-size: 14px;
    color: #374151;
}

.lunar-text b {
    color: #ef4444;
}

/* ---- 出生时辰选择 ---- */
.time-sep {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 700;
    color: #6b7280;
    padding: 0 2px;
}