/* 倒数日专题页样式 */

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

.ds-preset-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.ds-preset-btn {
    padding: 0.45rem 0.9rem;
    border: 1px solid #d0d7e2;
    border-radius: 999px;
    background: white;
    color: #555;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.ds-preset-btn:hover {
    border-color: #2563eb;
    color: #2563eb;
    background: #eff6ff;
}

.ds-result {
    margin-top: 1.4rem;
    padding: 1.3rem;
    background: #f8f9fb;
    border: 1px solid #e8eaf0;
    border-radius: 12px;
}

.gs-result-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.gs-result-card {
    background: white;
    border: 1px solid #e8eaf0;
    border-radius: 10px;
    padding: 1rem 0.8rem;
    text-align: center;
}

.gs-result-card.highlight {
    border-color: #2563eb;
    background: #eff6ff;
}

.gs-result-label {
    font-size: 0.82rem;
    color: #666;
    margin-bottom: 0.35rem;
}

.gs-result-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #111827;
    font-family: 'Fira Code', monospace;
}

.gs-result-card.highlight .gs-result-value {
    color: #2563eb;
}

.gs-result-unit {
    font-size: 0.76rem;
    color: #999;
    margin-top: 0.3rem;
}

.gs-result-note {
    margin-top: 1rem;
    padding-top: 0.9rem;
    border-top: 1px solid #e8eaf0;
    font-size: 0.88rem;
    color: #666;
    line-height: 1.8;
}

@media (max-width: 640px) {
    .ds-form {
        grid-template-columns: 1fr;
    }

    .gs-result-grid {
        grid-template-columns: 1fr 1fr;
    }
}
