/* Earn-page layout. Scoped here so the Home redesign can be handled separately. */
.fl-earn-header .header-container {
    min-height: 66px;
    background: #0e1d2b !important;
    border-bottom: 1px solid rgba(147, 187, 205, .1);
}
.fl-earn-header .header-container > .flex {
    justify-content: flex-start;
    gap: 0;
}
.fl-earn-header .navp.nav-web {
    margin-right: clamp(28px, 3vw, 54px);
}
.fl-earn-header .navp .dc-logo img {
    max-width: 145px;
    max-height: 40px;
}
.fl-earn-header .fl-earn-nav {
    flex: 0 1 auto;
    justify-content: flex-start;
    gap: 5px;
}
.fl-earn-header .fl-earn-nav .fl-nav-link {
    position: relative;
    min-height: 66px;
    padding: 0 13px;
    border: 0;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
    color: #9db0c0;
    font-size: 13px;
    font-weight: 750;
    transform: none;
}
.fl-earn-header .fl-earn-nav .fl-nav-link i {
    color: #7895a7;
    font-size: 14px;
}
.fl-earn-header .fl-earn-nav .fl-nav-link:hover,
.fl-earn-header .fl-earn-nav .fl-nav-link.is-active {
    color: #f5fbff;
}
.fl-earn-header .fl-earn-nav .fl-nav-link:hover i,
.fl-earn-header .fl-earn-nav .fl-nav-link.is-active i {
    color: #3cdbc0;
}
.fl-earn-header .fl-earn-nav .fl-nav-link.is-active::after {
    content: '';
    position: absolute;
    right: 12px;
    bottom: 0;
    left: 12px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(90deg, #24cdb4, #33c6e2);
    box-shadow: 0 -4px 16px rgba(37, 214, 194, .32);
}
.fl-earn-header .sign-bt-mr {
    gap: 9px;
    margin-left: auto;
    margin-right: 0;
}
.fl-earn-header .sign-bt-mr > * + * { margin-left: 0 !important; }
.fl-earn-header .sign-bt-mr > .nrm { display: none !important; }
.fl-earn-wallet,
.fl-earn-cashout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    white-space: nowrap;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.fl-earn-wallet {
    gap: 5px;
    min-width: 117px;
    padding: 0 12px;
    border: 1px solid rgba(140, 177, 204, .23);
    background: #12293a;
    color: #edf8ff;
    font-variant-numeric: tabular-nums;
}
.fl-earn-wallet:hover { border-color: rgba(53, 218, 189, .5); }
.fl-earn-wallet-symbol { color: #47dfbe; font-size: 15px; }
.fl-earn-wallet-unit { color: #91a7b7; font-size: 10px; font-weight: 700; }
.fl-earn-cashout {
    gap: 7px;
    padding: 0 16px;
    border: 1px solid #31d1ad;
    background: linear-gradient(135deg, #4ae2c1, #24c9a6);
    color: #06252a;
    box-shadow: 0 8px 22px rgba(35, 201, 166, .2);
}
.fl-earn-cashout:hover { background: #63edcd; transform: translateY(-1px); }
.fl-earn-header .sign-bt-mr .barbase.app_po {
    width: 39px;
    height: 39px;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid rgba(91, 216, 193, .36);
    border-radius: 50%;
    background: #183445;
}
.fl-earn-header .barbase.app_po > svg,
.fl-earn-header .barbase.app_po > .js-user-balance,
.fl-earn-header .barbase.app_po > .coin_ { display: none !important; }
.fl-earn-header .barbase.app_po .walle {
    width: 35px;
    height: 35px;
    margin: 0;
    overflow: hidden;
    border-radius: 50%;
}
.fl-earn-header .barbase.app_po .walle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.fl-earn-header .sign-bt-mr .text-bell { color: #a9c3d2; }

.fl-earn-page.main-content {
    min-width: 0;
    padding: 0 !important;
    background: radial-gradient(ellipse at 50% 0, rgba(33, 171, 171, .095), transparent 620px), #0b1c2b !important;
}
.fl-earn-shell {
    width: min(1320px, calc(100% - 56px));
    min-width: 0;
    margin: 0 auto;
    padding: 16px 0 22px;
}
.fl-earn-shell > * { min-width: 0; }
.fl-earn-page .fl-earn-shell > .hidden:has(.csm-earn-container-filter) { display: none !important; }
.fl-earn-page .cash_live_1 {
    width: 100% !important;
    max-width: 100%;
    min-width: 0 !important;
    height: 68px !important;
    min-height: 68px !important;
    padding: 0 !important;
    gap: 10px !important;
    margin: 0 0 7px !important;
    overflow: visible !important;
    clip-path: inset(-240px 0 -240px 0) !important;
}
.fl-earn-page .cash_live_1 > .csm-live-badge {
    box-sizing: border-box !important;
    width: 88px !important;
    min-width: 88px !important;
    max-width: 88px !important;
    height: 42px !important;
    min-height: 42px !important;
    flex: 0 0 88px !important;
    margin: 0 !important;
    border-color: rgba(62, 217, 184, .33) !important;
    border-radius: 11px !important;
    background: #153343 !important;
}
.fl-earn-page .cash_live_1 .l_of_m {
    flex: 1 1 0 !important;
    width: calc(100% - 98px) !important;
    max-width: calc(100% - 98px) !important;
    min-width: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    clip-path: inset(-240px 0 -240px 0) !important;
}
.fl-earn-page .cash_live_1 .user-List-CSM {
    box-sizing: border-box !important;
    flex: 0 0 178px !important;
    width: 178px !important;
    min-width: 178px !important;
    max-width: 178px !important;
    height: 44px !important;
    min-height: 44px !important;
    border-radius: 11px !important;
    border-color: rgba(135, 174, 205, .27) !important;
    background: #1a3446 !important;
}
.fl-earn-page .fl-earn-shell > .mt-3 { margin-top: 0 !important; }
.fl-earn-featured { min-width: 0; }
.fl-earn-offers-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 62px;
    padding: 5px 2px 9px;
}
.fl-earn-offers-heading,
.fl-earn-offers-actions { display: flex; align-items: center; min-width: 0; }
.fl-earn-offers-heading { gap: 15px; }
.fl-earn-offers-heading h2 {
    margin: 0;
    color: #f7fbff;
    font-size: clamp(19px, 1.7vw, 23px);
    font-weight: 850;
    letter-spacing: -.025em;
    white-space: nowrap;
}
.fl-earn-offers-heading h2 i { margin-right: 7px; color: #40ddb9; font-size: .82em; }
.fl-earn-offers-heading > a {
    color: #54dfc3;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}
.fl-earn-offers-heading > a:hover { color: #b9ffeb; }
.fl-earn-offers-heading > a i { margin-left: 4px; font-size: 9px; }
.fl-earn-offers-actions { gap: 9px; margin-left: auto; }
.fl-earn-offers-actions > div:first-child { min-width: 0; }
.fl-earn-page .csm-earn-container-filter {
    display: none !important;
    gap: 6px;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}
.fl-earn-page .fl-earn-offers-actions .csm-earn-container-filter { display: flex !important; }
.fl-earn-page .csm-platform {
    gap: 6px;
    min-height: 36px;
    padding: 0 10px;
    border: 1px solid rgba(86, 205, 183, .25);
    border-radius: 9px;
    background: #1b3040;
    color: #e7f3f5;
    font-size: 12px;
    font-weight: 750;
    transition: background .18s ease, border-color .18s ease;
}
.fl-earn-page .csm-platform:hover { border-color: rgba(76, 225, 193, .7); background: #254453; }
.fl-earn-page .csm-platform .csm-icon { gap: 5px; }
.fl-earn-page .csm-platform .csm-icon i { color: #63e0c6; font-size: 13px; }
.fl-earn-page .csm-platform input { width: 14px; height: 14px; margin-left: 2px; accent-color: #39d6b6; }
.fl-earn-slider-controls { display: flex; align-items: center; gap: 5px; }
.fl-earn-slider-controls button {
    display: grid;
    place-items: center;
    width: 30px;
    height: 34px;
    border: 1px solid rgba(128, 173, 190, .2);
    border-radius: 8px;
    background: rgba(8, 25, 38, .58);
    color: #a9c4ce;
    font-size: 11px;
}
.fl-earn-slider-controls button:hover { border-color: rgba(69, 220, 187, .62); color: #68ebcf; }
.fl-earn-page .fl-earn-featured > .fl-featured-offers-list {
    margin-top: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}
.fl-earn-page .fl-featured-offers-list .swiper { margin-top: 0 !important; }
.fl-earn-page .fl-featured-offers-list .swiper-wrapper { margin-top: 7px !important; }
.fl-earn-page .fl-featured-offers-list .offerList { border-radius: 13px !important; }
@media (max-width: 820px) {
    .fl-earn-offers-toolbar { align-items: flex-start; flex-wrap: wrap; gap: 10px; padding-bottom: 12px; }
    .fl-earn-offers-heading { width: 100%; }
    .fl-earn-offers-actions { width: 100%; margin-left: 0; }
    .fl-earn-offers-actions > div:first-child { flex: 1; overflow-x: auto; scrollbar-width: none; }
    .fl-earn-offers-actions > div:first-child::-webkit-scrollbar { display: none; }
    .fl-earn-page .csm-earn-container-filter { flex-direction: row !important; align-items: center !important; }
}
@media (max-width: 450px) {
    .fl-earn-offers-heading h2 { font-size: 18px; }
    .fl-earn-page .csm-platform { padding: 0 8px; font-size: 11px; }
    .fl-earn-slider-controls button { width: 27px; }
}
.fl-earn-page .offerwall-section {
    min-width: 0;
    margin-top: 18px !important;
    padding: 18px 19px !important;
    border: 1px solid rgba(127, 169, 188, .18) !important;
    border-radius: 20px !important;
    background: linear-gradient(148deg, rgba(23, 44, 61, .98), rgba(16, 33, 49, .98)) !important;
    box-shadow: 0 16px 34px rgba(2, 12, 22, .15), inset 0 1px 0 rgba(255, 255, 255, .035) !important;
}
.fl-earn-page .offerwall-section .fea_text {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #f3f8fb !important;
    font-size: 18px !important;
    font-weight: 800;
    letter-spacing: -.015em;
}
.fl-earn-page .offerwall-section .fea_text i { color: #35d6b3; }
.fl-earn-page .offerwall-section .btn_nxt {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(145, 177, 194, .2);
    border-radius: 9px;
    background: rgba(7, 21, 32, .54);
    color: #b5c8d2;
}
.fl-earn-page .offerwall-section .btn_nxt:hover {
    border-color: rgba(54, 213, 182, .55);
    color: #e6fff7;
}
.fl-earn-page .offerwall-section .swiper { min-width: 0; }
.fl-earn-page .offerwall-section .swiper-wrapper { min-width: 0; }
.fl-earn-page .offerwall-section .offerList,
.fl-earn-page .offerwall-section .prime-survey-card {
    border-radius: 14px !important;
}
.fl-earn-page .offerwall-section .offerList:hover,
.fl-earn-page .offerwall-section .prime-survey-card:hover {
    border-color: rgba(48, 215, 186, .55) !important;
}
.fl-earn-page .offerwall-section .csm-offer-card-main {
    border-radius: 15px;
    overflow: hidden;
}
.fl-earn-page .offerwall-section .csm-offer-card { border-radius: 15px; }
.fl-earn-feature-pair { align-items: start; }
.fl-earn-feature-pair > div { min-width: 0; }

.fl-earn-footer {
    position: relative;
    width: calc(100% - 24px);
    margin: 0 auto;
    overflow: visible;
    border: 1px solid rgba(90, 168, 179, .14);
    border-bottom: 0;
    border-radius: 26px 26px 0 0;
    background: radial-gradient(circle at 50% -35%, rgba(42, 195, 173, .11), transparent 48%), #102637;
    box-shadow: 0 -16px 50px rgba(1, 10, 20, .22);
}
.fl-earn-footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 26px;
    left: 26px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(67, 222, 197, .55), transparent);
}
.fl-earn-footer-inner {
    width: min(1320px, calc(100% - 56px));
    margin: 0 auto;
}
.fl-earn-footer-main {
    display: grid;
    grid-template-columns: minmax(300px, 1.8fr) repeat(3, minmax(140px, .7fr));
    gap: clamp(34px, 4vw, 72px);
    padding: 35px 0 31px;
}
.fl-earn-footer-logo { display: inline-flex; align-items: center; min-height: 46px; }
.fl-earn-footer-logo img { max-width: 164px; max-height: 46px; object-fit: contain; }
.fl-earn-footer-brand p {
    max-width: 370px;
    margin: 12px 0 0;
    color: #a6bdc9;
    font-size: 13px;
    line-height: 1.7;
}
.fl-earn-footer-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 17px; }
.fl-earn-footer-play {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 124px;
    height: 39px;
    padding: 5px 8px;
    border: 1px solid rgba(156, 196, 205, .22);
    border-radius: 10px;
    background: rgba(5, 17, 27, .6);
}
.fl-earn-footer-play:hover { border-color: rgba(63, 219, 190, .55); }
.fl-earn-footer-play img { width: 100%; height: 100%; object-fit: contain; }
.fl-earn-footer-socials { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.fl-earn-footer-socials a {
    display: grid;
    place-items: center;
    box-sizing: border-box;
    width: 39px;
    height: 39px;
    flex: 0 0 39px;
    padding: 0 !important;
    border: 1px solid rgba(75, 218, 192, .38) !important;
    border-radius: 10px !important;
    background: linear-gradient(145deg, #1c4146, #14323d) !important;
    color: #5ce9c9 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.fl-earn-footer-socials a i {
    display: grid !important;
    place-items: center;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: inherit !important;
    font-size: 17px !important;
    line-height: 1 !important;
}
.fl-earn-footer-socials a:hover {
    border-color: #64e9cc !important;
    background: #46dcb8 !important;
    color: #073037 !important;
    transform: translateY(-2px);
}
.fl-earn-footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; min-width: 0; }
.fl-earn-footer-column h3 { margin-bottom: 6px; color: #f5fafb; font-size: 14px; font-weight: 800; }
.fl-earn-footer-column a { color: #a0b8c6; font-size: 13px; line-height: 1.35; }
.fl-earn-footer-column a:hover { color: #60e2c8; }
.fl-earn-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 66px;
    border-top: 1px solid rgba(148, 187, 204, .13);
    color: #849ead;
    font-size: 12px;
}
.fl-earn-footer-bottom-links { display: flex; align-items: center; gap: 22px; }
.fl-earn-footer-bottom-links > a { color: #9fb8c5; }
.fl-earn-footer-bottom-links > a:hover { color: #5de1c8; }
.fl-earn-footer .fl-language { width: 128px !important; }
.fl-earn-footer .fl-language-button { min-height: 32px; padding: 3px 8px; border-radius: 9px; }
.fl-earn-footer .fl-language-flag { font-size: 14px; }
.fl-earn-footer .fl-language-copy strong { font-size: 11px; }
.fl-earn-footer .fl-language-copy small { display: none; }
.fl-earn-footer .fl-language-menu { bottom: calc(100% + 8px); }

@media (max-width: 1180px) {
    .fl-earn-header .navp.nav-web { margin-right: 18px; }
    .fl-earn-header .fl-earn-nav .fl-nav-link { padding: 0 9px; }
    .fl-earn-header .fl-earn-nav .fl-nav-link span { display: inline; }
}
@media (max-width: 1070px) and (min-width: 1024px) {
    .fl-earn-header .fl-earn-nav .fl-nav-link { gap: 0; padding: 0 8px; }
    .fl-earn-header .fl-earn-nav .fl-nav-link span { display: none; }
}
@media (max-width: 1023px) {
    .fl-earn-header .header-container { min-height: 64px; }
    .fl-earn-header .navp.nav-web { margin-right: 0; margin-left: 0; }
    .fl-earn-header .fl-earn-nav { display: none; }
    .fl-earn-footer-main { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
    .fl-earn-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
    .fl-earn-shell { width: calc(100% - 28px); padding-bottom: 18px; }
    .fl-earn-page .offerwall-section { padding: 14px !important; border-radius: 16px !important; }
    .fl-earn-page .offerwall-section .fea_text { font-size: 16px !important; }
    .fl-earn-header .sign-bt-mr { gap: 6px; }
    .fl-earn-header .fl-earn-wallet { min-width: 0; height: 35px; padding: 0 8px; font-size: 11px; }
    .fl-earn-header .fl-earn-wallet-unit { display: none; }
    .fl-earn-header .fl-earn-cashout { height: 35px; padding: 0 9px; font-size: 11px; }
    .fl-earn-header .sign-bt-mr .barbase.app_po { width: 35px; height: 35px; }
    .fl-earn-header .barbase.app_po .walle { width: 31px; height: 31px; }
    .fl-earn-footer { width: calc(100% - 12px); border-radius: 20px 20px 0 0; }
    .fl-earn-footer-inner { width: calc(100% - 32px); }
    .fl-earn-footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; padding: 30px 0; }
    .fl-earn-footer-brand { grid-column: 1 / -1; }
    .fl-earn-footer-bottom { align-items: flex-start; flex-direction: column; gap: 12px; padding: 18px 0 94px; }
    .fl-earn-footer-bottom-links { flex-wrap: wrap; gap: 15px; }
}
@media (max-width: 390px) {
    .fl-earn-header .fl-earn-cashout span { display: none; }
    .fl-earn-header .fl-earn-cashout { width: 35px; padding: 0; }
    .fl-earn-footer-main { gap: 29px 16px; }
}

/* Mobile Earn refinements. Desktop rules above stay unchanged. */
@media (max-width: 768px) {
    .fl-earn-preloader { display: none !important; }
    .fl-earn-header .navp .nav_bt { display: none !important; }
    .fl-earn-header .navp.nav-web { display: flex; align-items: center; flex: 0 0 58px; width: 58px; min-width: 58px; margin: 0 8px 0 0; }
    .fl-earn-header .navp .mv-logo { display: flex !important; align-items: center; justify-content: center; width: 56px; height: 56px; margin: 0; }
    .fl-earn-header .navp .mv-logo img { display: block; width: 52px !important; height: 52px !important; max-width: none; max-height: none; margin: 0 !important; object-fit: contain; }
    .fl-earn-header.fl-earn-landing-header .navp.nav-web { flex: 0 1 112px; width: clamp(88px, 28vw, 112px); min-width: 0; margin-right: 6px; }
    .fl-earn-header.fl-earn-landing-header .navp .mv-logo { display: none !important; }
    .fl-earn-header.fl-earn-landing-header .navp .dc-logo { display: flex !important; align-items: center; width: 100%; min-width: 0; height: 52px; margin: 0; }
    .fl-earn-header.fl-earn-landing-header .navp .dc-logo img { display: block; width: 100%; max-width: 112px; max-height: 42px; height: auto; margin: 0 !important; object-fit: contain; object-position: left center; }
    .fl-earn-header.fl-earn-landing-header .sign-bt-mr > .flex { align-items: center; gap: 6px; min-width: 0; }
    .fl-earn-header.fl-earn-landing-header .sign-bt-mr > .flex > * + * { margin-left: 0 !important; }
    .fl-earn-header.fl-earn-landing-header .sign-bt-mr .csm_btn_log_,
    .fl-earn-header.fl-earn-landing-header .sign-bt-mr .csm_btn_log_2 { display: inline-flex !important; flex: 0 0 auto; width: auto; min-width: 66px; min-height: 36px !important; padding: 0 10px !important; font-size: 11px !important; }
    .fl-earn-header .header-container { min-height: 62px; }
    .fl-earn-header .header-container > .flex { min-width: 0; }
    .fl-earn-header .sign-bt-mr { min-width: 0; gap: 5px; }
    .fl-earn-header .fl-earn-wallet { flex: 0 0 auto; }
    .fl-earn-header .fl-earn-cashout { flex: 0 0 auto; }

    .fl-earn-page .fl-wall-overlay {
        position: fixed !important; inset: 0 !important; z-index: 10010 !important;
        display: flex !important; align-items: center !important; justify-content: center !important;
        padding: 12px 12px calc(76px + env(safe-area-inset-bottom)) !important;
        box-sizing: border-box !important;
    }
    .fl-earn-page .fl-wall-dialog {
        display: flex !important; flex-direction: column; width: min(100%, 520px) !important;
        height: min(700px, calc(100dvh - 104px - env(safe-area-inset-bottom))) !important;
        min-height: 0 !important; max-height: 100% !important; margin: 0 !important;
        overflow: hidden !important; border: 1px solid rgba(84, 217, 194, .35) !important;
        border-radius: 18px !important; background: #111e2e !important;
        box-shadow: 0 24px 70px rgba(0, 0, 0, .52);
    }
    .fl-earn-page .fl-wall-frame { display: flex; flex: 1 1 auto; flex-direction: column; min-height: 0; }
    .fl-earn-page .fl-wall-head {
        position: relative; z-index: 2; flex: 0 0 56px; min-height: 56px;
        display: flex; align-items: center; gap: 10px; padding: 8px 12px !important;
        background: #172c3e !important; border-bottom: 1px solid rgba(127, 179, 191, .2);
        border-radius: 0 !important;
    }
    .fl-earn-page .fl-wall-head h3 { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #f5fafc !important; font-size: 15px; font-weight: 800; }
    .fl-earn-page .fl-wall-head .of-navi { display: flex; align-items: center; flex: 0 0 auto; gap: 6px; }
    .fl-earn-page .fl-wall-head .of-navi a,
    .fl-earn-page .fl-wall-head .of-navi button { display: grid !important; place-items: center; width: 40px !important; height: 40px !important; min-width: 40px; margin: 0 !important; border: 1px solid rgba(130, 185, 198, .28); border-radius: 11px; background: #234053; color: #fff; }
    .fl-earn-page .fl-wall-head .of-navi .fl-wall-close { border-color: rgba(84, 220, 192, .55); background: #1d4148; color: #e8fff8; cursor: pointer; }
    .fl-earn-page .fl-wall-head .of-navi .fl-wall-close:hover,
    .fl-earn-page .fl-wall-head .of-navi .fl-wall-close:focus-visible { background: #2bc5a9; color: #0a2b2e; }
    .fl-earn-page .fl-wall-head .of-navi .fl-wall-close #i-xmr { display: block; width: auto; height: auto; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; font-size: 19px !important; line-height: 1 !important; }
    .fl-earn-page .fl-wall-dialog .box_modal { flex: 1 1 auto; min-height: 0; height: auto !important; overflow: hidden; }
    .fl-earn-page .fl-wall-dialog .offeriframe { display: block; width: 100%; height: 100% !important; border: 0; }

    .fl-earn-footer .fl-language-menu { width: min(214px, calc(100vw - 40px)); max-height: min(250px, 42dvh); overflow-y: auto; overscroll-behavior: contain; padding: 5px; border-radius: 12px; }
    .fl-earn-footer .fl-language-option { min-height: 36px; gap: 6px; padding: 5px 7px; border-radius: 8px; }
    .fl-earn-footer .fl-language-option > span:first-child { font-size: 14px; }
    .fl-earn-footer .fl-language-option strong { font-size: 11px; }
    .fl-earn-footer .fl-language-option small { font-size: 9px; }
}

@media (max-width: 680px) {
    .fl-earn-footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; row-gap: 20px; padding: 27px 0 22px; }
    .fl-earn-footer-brand { display: contents; }
    .fl-earn-footer-logo { grid-column: 1 / -1; grid-row: 1; }
    .fl-earn-footer-brand p { grid-column: 1 / -1; grid-row: 2; max-width: 100%; margin: 0; }
    .fl-earn-footer-column:nth-of-type(1) { grid-column: 1; grid-row: 3; }
    .fl-earn-footer-column:nth-of-type(2) { grid-column: 2; grid-row: 3; }
    .fl-earn-footer-column:nth-of-type(3) { grid-column: 1; grid-row: 4; }
    .fl-earn-footer-actions { grid-column: 2; grid-row: 4; align-self: start; justify-self: start; flex-direction: column; align-items: flex-start; width: 100%; margin: 0; padding-top: 1px; }
    .fl-earn-footer-bottom { padding: 16px 0 calc(82px + env(safe-area-inset-bottom)); }
}
