.card {
    box-shadow: var(--container-shadow);
    border-radius: 14px;
    background: var(--background-color);
    border: var(--global-border);
}

.card-header {
    border-bottom: 1px solid #eef1f5;
    background: transparent;
    padding: 18px 22px 16px 22px;
    gap: 12px;
    flex-direction: row;
    align-items: center;
    min-height: 0;
}

html.dark .card-header {
    border-bottom-color: #1a2237;
}

.card-body {
    padding: 20px 22px 22px 22px;
}

.card-footer {
    border-top: 1px solid #eef1f5;
    background: transparent;
    padding: 14px 22px;
    gap: 8px;
}

html.dark .card-footer {
    border-top-color: #1a2237;
}

.card-title {
    float: none;
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.3;
    letter-spacing: -0.02em;
    padding: 0;
    margin: 0;
    width: auto;
    display: flex;
    align-items: center;
    color: var(--font-color);
}

.card-pre-icon,
.card-post-icon,
.card-accordion-icon {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    min-height: 0;
    min-width: 36px;
    padding: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 18px;
    line-height: 1;
    color: var(--font-color-light);
}

.card-pre-icon {
    background: #eff6ff;
    border-right: none;
    box-shadow: none;
    color: #2563eb;
}

html.dark .card-pre-icon {
    background: #0f2847;
    color: #93c5fd;
}

.card-post-icon {
    box-shadow: none;
}

.card-accordion-icon {
    float: none;
    cursor: pointer;
}

.fastcard {
    background: var(--background-color);
    box-shadow: var(--container-shadow);
    border: var(--global-border);
    border-radius: 14px;
    padding: 22px 22px 20px 22px;
    position: relative;
    overflow: hidden;
}

.fastcard.fastcard-sm {
    padding: 18px 22px;
    border-left: var(--global-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fastcard .fastcard-title {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--font-color-light);
}

.fastcard.fastcard-sm .fastcard-title {
    font-size: 13px;
    margin-bottom: 4px;
    margin-right: 0;
}

.fastcard .fastcard-content {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 6px;
    line-height: 1;
    color: var(--font-color);
}

.fastcard.fastcard-sm .fastcard-content {
    margin-bottom: 0;
}

.fastcard .tip {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 4px 9px;
    margin-left: 8px;
    border-radius: 999px;
    background: #eff6ff;
    border: 1px solid rgba(37, 99, 235, 0.25);
    color: #1d4ed8;
}

html.dark .fastcard .tip {
    background: #0f2847;
    border-color: rgba(96, 165, 250, 0.35);
    color: #93c5fd;
}

.fastcard .fastcard-description {
    font-size: 12px;
    font-weight: 500;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #eef1f5;
    color: var(--font-color-light);
}

html.dark .fastcard .fastcard-description {
    border-top-color: #1a2237;
}
