/*
 * Shared design language for the gamification cards (ui-board §01):
 * one surface, one head, one rhythm. Loaded globally like navigation.css —
 * component specifics stay in the scoped .razor.css files.
 */

.gt-card {
    --gt-ember: #e64a19;
    --gt-ember-soft: color-mix(in srgb, #ff7043 16%, transparent);
    --gt-radius: 12px;

    padding: 18px 20px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: var(--gt-radius);
}

.gt-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 24px;
    margin-bottom: 6px;
}

.gt-card-title {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--mud-palette-text-secondary);
}

.gt-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
}

.gt-chip--ember {
    color: var(--gt-ember);
    background: var(--gt-ember-soft);
}

/* Section frame around the card trio on the flowboard */
.gt-section {
    margin-top: 8px;
}

.gt-section-head {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 4px 0 12px;
}

.gt-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--mud-palette-text-primary);
}

.gt-section-date {
    font-size: 0.85rem;
    color: var(--mud-palette-text-secondary);
}

@media (max-width: 599px) {
    .gt-card {
        padding: 14px 16px 16px;
    }
}
