    /* LIVE_FEED_END_SPACING_01: Swiper owns the 8px card spacing.
       Extra CSS margins double-count spacing in slidesPerView:auto sizing. */

    .offerwall-section .csm-offer-card {
        padding-top: 60px !important;
    }

    .offerwall-section .csm-offer-img {
        margin-bottom: 32px !important;
    }

    .offerwall-section .csm-offer-h3 {
        margin-top: 0 !important;
        text-align: center !important;
    }

    .offerwall-section .csm-offer-card span.flex {
        justify-content: center !important;
    }

    /* Locked wall full card */
    .csm-offers.cursor-not-allowed .csm-offer-card {
        overflow: hidden !important;
        position: relative !important;
    }

    /* Locked overlay - controlled by phpMyAdmin back_col variable if needed */
    .csm-offers.cursor-not-allowed .csm-offer-hover-content {
        opacity: 1 !important;
        visibility: visible !important;
        display: flex !important;
        position: absolute !important;
        inset: 0 !important;
        z-index: 40 !important;
        align-items: center !important;
        justify-content: center !important;
        background: var(--lock-bg, rgba(8, 18, 30, 0.45)) !important;
        backdrop-filter: blur(var(--lock-blur, 4px)) !important;
        -webkit-backdrop-filter: blur(var(--lock-blur, 4px)) !important;
        pointer-events: none !important;
    }

    /* Lock icon + unlock text */
    .csm-offers.cursor-not-allowed .locked-wall-box {
        position: absolute !important;
        top: var(--lock-top, 58px) !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 60 !important;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: var(--lock-text, #ffffff) !important;
        text-align: center;
        font-size: 13px;
        font-weight: 700;
        line-height: 1.2;
    }

    .csm-offers.cursor-not-allowed .locked-wall-box i {
        font-size: 30px;
        margin-bottom: 8px;
        color: var(--lock-text, #ffffff) !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
    }

    .csm-offers.cursor-not-allowed .locked-wall-box span {
        color: var(--lock-text, #ffffff) !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
    }

    /* Blur background content */
    .csm-offers.cursor-not-allowed .csm-offer-img,
    .csm-offers.cursor-not-allowed .csm-offer-badge {
        filter: blur(var(--lock-img-blur, 3px)) !important;
        opacity: var(--lock-img-opacity, 0.45) !important;
    }

    /* Wall name clear */
    .csm-offers.cursor-not-allowed .csm-offer-h3 {
        position: relative !important;
        z-index: 70 !important;
        color: var(--lock-title, #ffffff) !important;
        filter: none !important;
        opacity: 1 !important;
        text-align: center !important;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    }

    /* Stars slightly dim */
    .csm-offers.cursor-not-allowed .csm-offer-stars {
        opacity: var(--lock-star-opacity, 0.50) !important;
        filter: blur(var(--lock-star-blur, 0.5px)) !important;
    }
    /* FEATURED_PANEL_01: filters above a single offer panel. */
    .fl-earn-page .fl-featured-device-row{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin:4px 0 10px;min-width:0}
    .fl-featured-device-row>span{font-size:11px;font-weight:600;color:#8fa4b5}
    .fl-earn-page .fl-featured-device-row .fl-earn-offers-actions{flex:0 1 auto;width:auto;margin:0}
    .fl-earn-page .fl-featured-device-row .csm-earn-container-filter{display:flex!important;flex-direction:row!important;align-items:center!important;flex-wrap:wrap;gap:6px}
    .fl-earn-page .fl-featured-panel{padding:18px 19px 12px;border:1px solid var(--fl-border,#2e4152);border-radius:20px;background:var(--fl-surface,#151e28);box-shadow:inset 0 1px 0 #ffffff03;min-width:0}
    .fl-earn-page .fl-featured-panel .fl-earn-offers-toolbar{flex-wrap:nowrap;align-items:center;gap:12px;min-height:34px;padding:0 0 12px}
    .fl-earn-page .fl-featured-panel .fl-earn-offers-heading{flex:1;flex-wrap:wrap;width:auto;gap:6px 14px}
    .fl-earn-page .fl-featured-panel .fl-earn-offers-heading h2{font-size:18px;line-height:1.35;font-weight:800;letter-spacing:-.02em;white-space:normal}
    .fl-earn-page .fl-featured-panel .fl-earn-offers-heading>a{font-size:11px}
    .fl-earn-page .fl-featured-panel .fl-earn-slider-controls{flex:0 0 auto;margin-left:auto}
    .fl-earn-page .fl-featured-panel .flc-rail{padding:0 0 5px;gap:10px}
    .fl-earn-page .fl-featured-panel .flc-empty{margin-top:0}
    @media(max-width:680px){
        .fl-earn-page .fl-featured-device-row{justify-content:flex-start;gap:8px;margin:4px 0 10px}
        .fl-featured-device-row>span{display:none}
        .fl-earn-page .fl-featured-panel{padding:14px 13px 9px;border-radius:16px}
        .fl-earn-page .fl-featured-panel .fl-earn-offers-toolbar{gap:8px;padding-bottom:12px}
        .fl-earn-page .fl-featured-panel .fl-earn-offers-heading{gap:5px 10px}
        .fl-earn-page .fl-featured-panel .fl-earn-offers-heading h2{font-size:16px}
        .fl-earn-page .fl-featured-panel .fl-earn-slider-controls button{width:30px;height:32px}
    }
    /* CARD_POLISH_01: keep Featured and Offerwall cards aligned across content lengths. */
    .fl-earn-page .fl-featured-panel .flc-rail {
        align-items: stretch;
        gap: 12px;
        padding-bottom: 8px;
        scroll-padding-inline: 2px;
    }
    .fl-earn-page .fl-featured-panel .flc-card {
        flex: 0 0 clamp(132px, 11.5vw, 148px);
        width: clamp(132px, 11.5vw, 148px);
        min-height: 236px;
        height: 236px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        box-sizing: border-box;
        padding: 10px 10px 11px;
    }
    .fl-earn-page .fl-featured-panel .flc-image {
        flex: 0 0 auto;
        width: 100%;
        aspect-ratio: 1 / 1;
    }
    .fl-earn-page .fl-featured-panel .flc-title {
        min-height: 2.7em;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        white-space: normal;
        overflow: hidden;
    }
    .fl-earn-page .fl-featured-panel .flc-provider {
        min-height: 1.35em;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .fl-earn-page .fl-featured-panel .flc-bottom {
        margin-top: auto;
        padding-top: 8px;
    }

    .fl-earn-page .offerwall-section .swiper-wrapper {
        align-items: stretch;
    }
    .fl-earn-page .offerwall-section .csm-offers {
        height: auto;
        display: flex;
        align-items: stretch;
    }
    .fl-earn-page .offerwall-section .csm-offer-card-main,
    .fl-earn-page .offerwall-section .csm-offer-card {
        box-sizing: border-box;
        min-height: 230px;
        height: 230px;
    }
    .fl-earn-page .offerwall-section .csm-offer-card-main {
        display: flex;
        width: 100%;
    }
    .fl-earn-page .offerwall-section .csm-offer-card {
        width: 100%;
    }

    @media(max-width: 768px) {
        .fl-earn-page .fl-featured-panel .flc-rail {
            gap: 9px;
        }
        .fl-earn-page .fl-featured-panel .flc-card {
            flex-basis: clamp(124px, 38vw, 138px);
            width: clamp(124px, 38vw, 138px);
            min-height: 218px;
            height: 218px;
            padding: 9px 9px 10px;
        }
        .fl-earn-page .offerwall-section .csm-offer-card-main,
        .fl-earn-page .offerwall-section .csm-offer-card {
            min-height: 218px;
            height: 218px;
        }
    }
    /* CARD_COMPACT_02: reduce card and panel footprint after visual review. */
    .fl-earn-page .fl-featured-device-row {
        margin-top: 0;
        margin-bottom: 6px;
        gap: 8px;
    }
    .fl-earn-page .fl-featured-panel {
        padding: 13px 15px 8px;
        border-radius: 16px;
    }
    .fl-earn-page .fl-featured-panel .fl-earn-offers-toolbar {
        gap: 8px;
        min-height: 30px;
        padding-bottom: 8px;
    }
    .fl-earn-page .fl-featured-panel .fl-earn-offers-heading {
        gap: 4px 10px;
    }
    .fl-earn-page .fl-featured-panel .fl-earn-offers-heading h2 {
        font-size: 16px;
    }
    .fl-earn-page .fl-featured-panel .flc-rail {
        gap: 8px;
        padding-bottom: 4px;
    }
    .fl-earn-page .fl-featured-panel .flc-card {
        flex-basis: clamp(116px, 10.5vw, 132px);
        width: clamp(116px, 10.5vw, 132px);
        min-height: 210px;
        height: 210px;
        padding: 8px 8px 9px;
        border-radius: 12px;
    }
    .fl-earn-page .fl-featured-panel .flc-title {
        margin-top: 6px;
        font-size: 13px;
    }
    .fl-earn-page .fl-featured-panel .flc-provider {
        margin-top: 2px;
        font-size: 11px;
    }
    .fl-earn-page .fl-featured-panel .flc-bottom {
        padding-top: 6px;
    }

    .fl-earn-page .offerwall-section .csm-offer-card-main,
    .fl-earn-page .offerwall-section .csm-offer-card {
        min-height: 214px;
        height: 214px;
    }

    @media(max-width: 768px) {
        .fl-earn-page .fl-featured-panel {
            padding: 11px 10px 7px;
            border-radius: 14px;
        }
        .fl-earn-page .fl-featured-panel .fl-earn-offers-toolbar {
            padding-bottom: 7px;
        }
        .fl-earn-page .fl-featured-panel .flc-rail {
            gap: 7px;
        }
        .fl-earn-page .fl-featured-panel .flc-card {
            flex-basis: clamp(112px, 34vw, 124px);
            width: clamp(112px, 34vw, 124px);
            min-height: 194px;
            height: 194px;
            padding: 7px 7px 8px;
        }
        .fl-earn-page .offerwall-section .csm-offer-card-main,
        .fl-earn-page .offerwall-section .csm-offer-card {
            min-height: 202px;
            height: 202px;
        }
    }
    /* CARD_CONTENT_COMPACT_03: keep offer text close to the thumbnail. */
    .fl-earn-page .fl-featured-panel .flc-card {
        min-height: 182px;
        height: 182px;
        padding: 7px 7px 8px;
    }
    .fl-earn-page .fl-featured-panel .flc-image {
        aspect-ratio: 1.18 / 1;
        height: auto;
    }
    .fl-earn-page .fl-featured-panel .flc-title {
        margin-top: 4px;
        min-height: 2.4em;
        line-height: 1.2;
        font-size: 12px;
    }
    .fl-earn-page .fl-featured-panel .flc-provider {
        min-height: 1.2em;
        margin-top: 1px;
        font-size: 10px;
        line-height: 1.2;
    }
    .fl-earn-page .fl-featured-panel .flc-bottom {
        margin-top: 3px;
        padding-top: 0;
        gap: 2px;
    }
    .fl-earn-page .fl-featured-panel .flc-bottom strong {
        font-size: 12px;
    }
    .fl-earn-page .fl-featured-panel .flc-tag {
        padding: 2px 4px;
        font-size: 9px;
        line-height: 1.2;
    }
    .fl-earn-page .fl-featured-panel .flc-devices {
        right: 3px;
        top: 3px;
        gap: 3px;
        padding: 3px;
        font-size: 10px;
    }

    .fl-earn-page .offerwall-section .csm-offer-card-main,
    .fl-earn-page .offerwall-section .csm-offer-card {
        min-height: 196px;
        height: 196px;
    }
    .fl-earn-page .offerwall-section .csm-offer-card {
        padding-top: 38px !important;
    }
    .fl-earn-page .offerwall-section .csm-offer-img {
        margin-bottom: 14px !important;
    }

    @media(max-width: 768px) {
        .fl-earn-page .fl-featured-panel .flc-card {
            min-height: 166px;
            height: 166px;
            padding: 6px 6px 7px;
        }
        .fl-earn-page .fl-featured-panel .flc-title {
            margin-top: 3px;
            font-size: 11px;
        }
        .fl-earn-page .fl-featured-panel .flc-provider {
            font-size: 9px;
        }
        .fl-earn-page .fl-featured-panel .flc-bottom strong {
            font-size: 11px;
        }
        .fl-earn-page .offerwall-section .csm-offer-card-main,
        .fl-earn-page .offerwall-section .csm-offer-card {
            min-height: 184px;
            height: 184px;
        }
        .fl-earn-page .offerwall-section .csm-offer-card {
            padding-top: 30px !important;
        }
        .fl-earn-page .offerwall-section .csm-offer-img {
            margin-bottom: 10px !important;
        }
    }

    /* CARD_MOBILE_CONTENT_FIX_04: restore title/rating visibility after compact sizing. */
    .fl-earn-page .offerwall-section .csm-offer-card-main,
    .fl-earn-page .offerwall-section .csm-offer-card {
        min-height: 214px;
        height: 214px;
    }
    .fl-earn-page .offerwall-section .csm-offer-card {
        padding-top: 24px !important;
        padding-bottom: 16px !important;
    }
    .fl-earn-page .offerwall-section .csm-offer-img {
        margin-bottom: 10px !important;
    }
    @media (max-width: 768px) {
        .fl-earn-page .offerwall-section .csm-offer-card-main,
        .fl-earn-page .offerwall-section .csm-offer-card {
            min-height: 218px;
            height: 218px;
        }
        .fl-earn-page .offerwall-section .csm-offer-card {
            padding-top: 18px !important;
            padding-bottom: 14px !important;
        }
        .fl-earn-page .offerwall-section .csm-offer-img {
            margin-bottom: 8px !important;
        }
    }
    /* OFFERWALL_FIXED_IMAGE_FRAME_04: normalize logo frames without cropping. */
    .fl-earn-page .offerwall-section .csm-offer-img {
        width: 100% !important;
        height: 78px !important;
        min-height: 78px !important;
        margin: 0 0 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
        flex: 0 0 78px !important;
    }

    .fl-earn-page .offerwall-section .csm-offer-logo {
        display: block !important;
        width: auto !important;
        height: auto !important;
        max-width: 84% !important;
        max-height: 58px !important;
        object-fit: contain !important;
        object-position: center !important;
    }

    .fl-earn-page .offerwall-section .csm-offer-card {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .fl-earn-page .offerwall-section .csm-offer-card > div:last-child {
        margin-top: auto !important;
        min-height: 43px !important;
    }

    .fl-earn-page .offerwall-section .csm-offer-h3 {
        min-height: 19px !important;
        max-height: 38px !important;
        overflow: hidden !important;
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 2 !important;
        line-height: 1.2 !important;
    }

    @media (max-width: 768px) {
        .fl-earn-page .offerwall-section .csm-offer-img {
            height: 68px !important;
            min-height: 68px !important;
            margin-bottom: 8px !important;
            flex-basis: 68px !important;
        }

        .fl-earn-page .offerwall-section .csm-offer-logo {
            max-width: 84% !important;
            max-height: 50px !important;
        }

        .fl-earn-page .offerwall-section .csm-offer-card > div:last-child {
            min-height: 39px !important;
        }
    }

    /* OFFERWALL_CENTERED_LOGO_01: center each provider logo in the card body. */
    .fl-earn-page .offerwall-section .csm-offer-card {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
    }

    .fl-earn-page .offerwall-section .csm-offer-card > .csm-offer-img {
        flex: 1 1 auto !important;
        min-height: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 10px !important;
        background: radial-gradient(circle at center, rgba(255,255,255,.10), rgba(255,255,255,0) 70%) !important;
    }

    .fl-earn-page .offerwall-section .csm-offer-card > .csm-offer-img > .csm-offer-logo {
        display: block !important;
        width: auto !important;
        max-width: 88% !important;
        height: auto !important;
        max-height: 62px !important;
        object-fit: contain !important;
        object-position: center !important;
        filter: drop-shadow(0 4px 10px rgba(0,0,0,.18)) !important;
    }

    .fl-earn-page .offerwall-section .csm-offer-card > div:last-child {
        flex: 0 0 auto !important;
        width: 100% !important;
        margin-top: 0 !important;
    }

    @media (max-width: 768px) {
        .fl-earn-page .offerwall-section .csm-offer-card > .csm-offer-img > .csm-offer-logo {
            max-width: 88% !important;
            max-height: 54px !important;
        }
    }

    /* FREELOOT_OFFER_BADGES_DRAG_01 */
    .fl-earn-page .fl-wall-drag-rail {
        cursor: grab;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        touch-action: pan-y;
    }
    .fl-earn-page .fl-wall-drag-rail:active { cursor: grabbing; }
    .fl-earn-page .fl-wall-drag-rail::-webkit-scrollbar,
    .fl-earn-page .fl-wall-drag-rail .swiper-wrapper::-webkit-scrollbar { display: none !important; width: 0 !important; height: 0 !important; }
    .fl-earn-page .fl-wall-drag-rail .swiper-wrapper { scrollbar-width: none !important; -ms-overflow-style: none !important; }
    .fl-earn-page .fl-wall-drag-rail .swiper-scrollbar { display: none !important; }
    .fl-earn-page .fl-wall-drag-rail .csm-offer-card { position: relative !important; }
    .fl-earn-page .fl-wall-drag-rail .fl-wall-feature-badge {
        position: absolute;
        z-index: 12;
        top: 12px;
        left: 8px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        max-width: 72px;
        min-height: 20px;
        padding: 2px 6px;
        border-radius: 5px;
        color: #061320;
        font-size: 10px;
        font-weight: 900;
        line-height: 1;
        letter-spacing: .035em;
        box-shadow: 0 3px 9px rgba(0, 0, 0, .3);
        pointer-events: none;
    }
    .fl-earn-page .fl-wall-drag-rail .fl-wall-feature-badge[data-badge="TOP"] { background: #46d9f0; }
    .fl-earn-page .fl-wall-drag-rail .fl-wall-feature-badge[data-badge="HOT"] { background: #ffbd56; }
    .fl-earn-page .fl-wall-drag-rail .fl-wall-feature-badge[data-badge="PREMIUM"] { background: #b695ff; }
    .fl-earn-page .fl-wall-drag-rail .csm-offer-badge { z-index: 13; }
    .fl-earn-page .fl-wall-drag-rail .csm-offers.cursor-not-allowed .fl-wall-feature-badge { filter: blur(var(--lock-img-blur, 3px)); opacity: var(--lock-img-opacity, .45); }

    /* FREELOOT_OFFER_BADGES_MOBILE_SURVEY_03 */
    .fl-earn-page .fl-survey-badge-rail .csm-offer-card { position: relative !important; }
    .fl-earn-page .fl-survey-badge-rail .fl-wall-feature-badge {
        position: absolute;
        z-index: 12;
        top: 12px;
        left: 8px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        max-width: 72px;
        min-height: 20px;
        padding: 2px 6px;
        border-radius: 5px;
        color: #061320;
        font-size: 10px;
        font-weight: 900;
        line-height: 1;
        letter-spacing: .035em;
        box-shadow: 0 3px 9px rgba(0, 0, 0, .3);
        pointer-events: none;
    }
    .fl-earn-page .fl-survey-badge-rail .fl-wall-feature-badge[data-badge="TOP"] { background: #46d9f0; }
    .fl-earn-page .fl-survey-badge-rail .fl-wall-feature-badge[data-badge="HOT"] { background: #ffbd56; }
    .fl-earn-page .fl-survey-badge-rail .fl-wall-feature-badge[data-badge="PREMIUM"] { background: #b695ff; }
    .fl-earn-page .fl-survey-badge-rail .csm-offer-badge { z-index: 13; }
    .fl-earn-page .fl-survey-badge-rail .csm-offers.cursor-not-allowed .fl-wall-feature-badge { filter: blur(var(--lock-img-blur, 3px)); opacity: var(--lock-img-opacity, .45); }

    /* Compact chips with a visible gap on narrow cards. */
    @media (max-width: 768px) {
        .fl-earn-page :is(.fl-wall-drag-rail, .fl-survey-badge-rail) .fl-wall-feature-badge {
            top: 11px !important;
            left: 6px !important;
            max-width: min(58px, calc(100% - 54px)) !important;
            min-height: 18px !important;
            padding: 2px 4px !important;
            font-size: 9px !important;
            letter-spacing: 0 !important;
            white-space: nowrap !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
        }
        .fl-earn-page :is(.fl-wall-drag-rail, .fl-survey-badge-rail) .csm-offer-badge {
            top: 11px !important;
            right: 6px !important;
            padding: 2px 4px !important;
            font-size: 9px !important;
            line-height: 14px !important;
            white-space: nowrap !important;
        }
    }
