/* ======================================
   BASE: HORIZONTAL BAR
====================================== */

.ff-teaser-card {
    max-width: 100%;
    border: none;
    padding: 6px 0;
    background: transparent;
    box-shadow: none;
    font-family: inherit;
}

.ff-teaser-bar {
    padding: 8px 12px;
    border-radius: 6px;

    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease;
}

.ff-teaser-bar:hover {
    background: #f1f3f5;
}

.ff-teaser-bar:active {
    transform: scale(0.99);
}

/* ======================================
   RADIAL
====================================== */

.ff-teaser-radial {
    width: 54px;
    height: 54px;
}

/* ======================================
   META (TEXT BLOCK)
====================================== */

.ff-teaser-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;

    min-width: 0;
}

.ff-teaser-title {
    font-size: 13px;
    font-weight: 700;
    color: #212529;
    line-height: 1.1;
}

.ff-teaser-activity {
    font-size: 13px;
    font-weight: 600;
    color: #212529;
    line-height: 1.2;
}

/* ======================================
   SPARKLINE
====================================== */

.ff-teaser-sparkline {
    width: 100%;
    min-width: 120px;   /* ?? prevents tiny chart */
	max-width:500px;
}

.ff-teaser-sparkline svg {
    display: block;
    width: 100%;
    height: auto;
}

.ff-spark-wrapper svg {
    width: 100%;
    height: auto;
}

.ff-spark-times {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #6c757d;
    margin-top: 4px;
    padding-top: 3px;
    border-top: 1px solid #dee2e6;
}

/* ======================================
   CTA
====================================== */

.ff-teaser-cta {
    white-space: nowrap;
    font-size: 12px;
    font-weight: 600;
}

/* ======================================
   SKELETON
====================================== */

.ff-loading .ff-skel {
    background: linear-gradient(90deg, #eee, #f6f6f6, #eee);
    border-radius: 999px;
    margin-bottom: 6px;
}

.ff-skel-title {
    width: 70%;
    height: 14px;
}

.ff-skel-text {
    width: 100px;
    height: 14px;
}

.ff-skel-text.small {
    width: 80px;
    height: 11px;
}

.ff-skel-radial {
    width: 54px;
    height: 54px;
    border-radius: 50%;
}

.ff-skel-spark {
    width: 100%;
    height: 30px;
    border-radius: 6px;
}

/* ======================================
   MOBILE (STACKED)
====================================== */

@media (max-width: 576px) {

    .ff-teaser-bar {
        padding: 10px;
    }

    .ff-teaser-radial {
        width: 44px;
        height: 44px;
    }

    .ff-teaser-title {
        font-size: 13px;
    }

    .ff-teaser-activity {
        font-size: 12px;
        color: #6c757d;
    }

    .ff-teaser-cta {
        padding: 4px 8px;
        font-size: 11px;
    }

    .ff-teaser-sparkline {
        margin-top: 4px;
    }
}

.ff-loading .ff-skel {
    background: linear-gradient(90deg, #eee, #f6f6f6, #eee);
    background-size: 200% 100%;
    animation: shimmer 1.2s infinite linear;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

