/* ── 实时时间戳大字体 ── */
.ts-live {
    text-align: center;
    padding: 2rem;
    background: #f0f4ff;
    border: 1px solid #c7d2fe;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.ts-live-label {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.ts-live-value {
    font-size: 2.8rem;
    font-weight: 700;
    font-family: 'Fira Code', monospace;
    color: #2563eb;
    letter-spacing: 1px;
}

/* ── 转换区块 ── */
.ts-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f0f0f0;
}

.ts-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

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

/* ── 转换结果 ── */
.ts-result {
    margin-top: 1rem;
    background: #f8f9fb;
    border: 1px solid #e8eaf0;
    border-radius: 8px;
    overflow: hidden;
}

.ts-result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 1.2rem;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
}

.ts-result-row:last-child {
    border-bottom: none;
}

.ts-result-row span {
    color: #666;
}

.ts-result-row strong {
    font-family: 'Fira Code', monospace;
    font-weight: 600;
    color: #333;
}

/* ── Mobile ── */
@media (max-width: 640px) {
    .ts-live-value {
        font-size: 2rem;
    }

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