/* RewardBot / OfferBot */
.rb-offer-hero,.rb-offer-detail-hero{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:22px;align-items:stretch;background:linear-gradient(135deg,#081426 0%,#14325f 100%);border:1px solid rgba(255,255,255,.16);border-radius:28px;padding:clamp(26px,4vw,52px);color:#fff;margin-bottom:24px}.rb-offer-hero h1,.rb-offer-detail-hero h1{color:#fff;font-size:clamp(40px,5vw,82px);line-height:.95;text-transform:uppercase;margin:10px 0 18px}.rb-offer-hero p,.rb-offer-detail-hero p{color:rgba(255,255,255,.88);font-size:clamp(17px,2vw,23px);line-height:1.42}.rb-offer-actions,.rb-offer-card-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.rb-offer-hero-card{background:#fff;color:#061226;border-radius:26px;padding:26px;align-self:center;box-shadow:0 24px 70px rgba(0,0,0,.24)}.rb-offer-hero-card span{display:block;color:#536783;font-size:12px;font-weight:1000;text-transform:uppercase;letter-spacing:.12em;margin-bottom:8px}.rb-offer-hero-card strong{display:block;font-size:clamp(42px,5vw,72px);line-height:.95;margin-bottom:12px}.rb-offer-filters{margin-bottom:22px}.rb-offer-filter-grid{display:grid;grid-template-columns:minmax(260px,1fr) minmax(220px,.35fr) auto;gap:14px;align-items:end}.rb-offer-filter-grid label,.rb-offer-form label{display:block;color:#536783;font-size:12px;font-weight:1000;text-transform:uppercase;letter-spacing:.08em;margin-bottom:7px}.rb-offer-filter-grid input,.rb-offer-filter-grid select,.rb-offer-form input,.rb-offer-form select,.rb-offer-form textarea,.rb-offer-inline-form select,.rb-offer-inline-form textarea{width:100%;box-sizing:border-box;border:1px solid #dbe3ee;border-radius:14px;padding:12px 13px;background:#fff;color:#061226}.rb-offer-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:24px}.rb-offer-card{overflow:hidden;padding:0!important}.rb-offer-image{min-height:190px;background-size:cover;background-position:center;background-color:#e2e8f0}.rb-offer-body{padding:20px}.rb-offer-type,.rb-offer-pill{display:inline-flex;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:1000;text-transform:uppercase;letter-spacing:.07em;background:#e0f2fe;color:#075985;margin-bottom:10px}.rb-offer-card h2{color:#061226;font-size:22px;line-height:1.12;margin:0 0 10px}.rb-offer-card p{color:#475569;line-height:1.45}.rb-offer-stats{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.rb-offer-stats span{background:#f1f5f9;color:#334155;font-size:12px;font-weight:800;border-radius:999px;padding:6px 9px}.rb-offer-detail-image{min-height:360px;background-size:cover;background-position:center;border-radius:24px;background-color:#e2e8f0}.rb-offer-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.4fr);gap:22px;margin-bottom:24px}.rb-offer-description{color:#334155;line-height:1.6}.rb-offer-safety-note{margin-top:20px;border:1px solid #fde68a;background:#fffbeb;color:#78350f;border-radius:16px;padding:14px}.rb-offer-detail-stats{display:grid;gap:12px}.rb-offer-detail-stats div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:14px}.rb-offer-detail-stats span{display:block;color:#64748b;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.rb-offer-detail-stats strong{display:block;color:#061226;font-size:34px;line-height:1;margin-top:5px}.rb-offer-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.rb-offer-form-full{grid-column:1/-1}.rb-offer-table td{vertical-align:top}.rb-offer-inline-form{display:grid;gap:8px;min-width:220px}.rb-offer-pill-approved{background:#dcfce7;color:#166534}.rb-offer-pill-pending{background:#fef3c7;color:#92400e}.rb-offer-pill-rejected,.rb-offer-pill-archived{background:#fee2e2;color:#991b1b}.rb-offer-pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin:22px 0}@media(max-width:1100px){.rb-offer-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rb-offer-hero,.rb-offer-detail-hero,.rb-offer-detail-grid{grid-template-columns:1fr}}@media(max-width:720px){.rb-offer-card-grid,.rb-offer-filter-grid,.rb-offer-form{grid-template-columns:1fr}}


.rb-offer-source-preview {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 14px;
    color: #334155;
    line-height: 1.55;
    max-height: 320px;
    overflow: auto;
}

.rb-offer-source-raw {
    white-space: pre-wrap;
    word-break: break-word;
    background: #081426;
    color: #e2e8f0;
    border-radius: 18px;
    padding: 18px;
    max-height: 540px;
    overflow: auto;
    font-size: 13px;
    line-height: 1.45;
}


/* OfferBot paragraph formatting fix */
.rb-offer-description p,
.rb-offer-source-preview p {
    margin: 0 0 1.15em;
}

.rb-offer-description p:last-child,
.rb-offer-source-preview p:last-child {
    margin-bottom: 0;
}

.rb-offer-description br,
.rb-offer-source-preview br {
    line-height: 1.75;
}


/* OfferBot rich text editor + public formatting */
.rb-offer-editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 10px;
}

.rb-offer-editor-toolbar button {
    border: 1px solid #dbe3ee;
    background: #f8fafc;
    color: #061226;
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 900;
    cursor: pointer;
}

.rb-offer-editor-toolbar button:hover,
.rb-offer-editor-toolbar button:focus {
    background: #facc15;
    border-color: #facc15;
}

.rb-offer-description p,
.rb-offer-source-preview p {
    margin: 0 0 1.15em !important;
}

.rb-offer-description h2,
.rb-offer-description h3,
.rb-offer-description h4,
.rb-offer-source-preview h2,
.rb-offer-source-preview h3,
.rb-offer-source-preview h4 {
    margin: 1.35em 0 .55em !important;
    color: #061226;
    line-height: 1.2;
}

.rb-offer-description ul,
.rb-offer-description ol,
.rb-offer-source-preview ul,
.rb-offer-source-preview ol {
    margin: .65em 0 1.15em 1.5em !important;
    padding-left: 1.1em !important;
}

.rb-offer-description li,
.rb-offer-source-preview li {
    margin-bottom: .35em !important;
}

.rb-offer-description strong,
.rb-offer-description b,
.rb-offer-source-preview strong,
.rb-offer-source-preview b {
    font-weight: 900 !important;
}

.rb-offer-description em,
.rb-offer-description i,
.rb-offer-source-preview em,
.rb-offer-source-preview i {
    font-style: italic !important;
}

.rb-offer-description a,
.rb-offer-source-preview a {
    color: #0f4ba8;
    font-weight: 900;
    text-decoration: underline;
}


/* OfferBot Apply/Redeem popup */
.rb-offer-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(2, 6, 23, 0.88);
    box-sizing: border-box;
}

.rb-offer-popup-overlay.rb-offer-popup-open {
    display: flex;
}

.rb-offer-popup-box {
    width: min(96vw, 1120px);
    height: min(92vh, 860px);
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
    display: flex;
    flex-direction: column;
}

.rb-offer-popup-head {
    background: #081426;
    color: #ffffff;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.rb-offer-popup-title {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 900;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rb-offer-popup-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex: 0 0 auto;
}

.rb-offer-popup-newtab,
.rb-offer-popup-close {
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #facc15, #f59e0b);
    color: #081426 !important;
    font-weight: 900;
    cursor: pointer;
    line-height: 1;
    text-decoration: none !important;
    font-size: 14px;
}

.rb-offer-popup-close:hover,
.rb-offer-popup-close:focus,
.rb-offer-popup-newtab:hover,
.rb-offer-popup-newtab:focus {
    filter: brightness(1.05);
}

.rb-offer-popup-frame {
    width: 100%;
    height: 100%;
    flex: 1 1 auto;
    border: 0;
    background: #ffffff;
}

.rb-offer-popup-note {
    background: #fffbeb;
    border-top: 1px solid #fde68a;
    color: #78350f;
    padding: 9px 14px;
    font-size: 13px;
    line-height: 1.35;
}

html.rb-offer-popup-page-open,
body.rb-offer-popup-page-open {
    overflow: hidden;
}

@media (max-width: 900px) {
    .rb-offer-popup-overlay {
        padding: 12px;
    }

    .rb-offer-popup-box {
        width: 100%;
        height: 92vh;
        border-radius: 16px;
    }

    .rb-offer-popup-head {
        padding: 12px;
        align-items: flex-start;
        flex-direction: column;
    }

    .rb-offer-popup-title {
        white-space: normal;
        font-size: 16px;
    }

    .rb-offer-popup-actions {
        width: 100%;
        justify-content: space-between;
    }
}


/* OfferBot Dashboard */
.rb-offer-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 22px 0;
}

.rb-offer-dash-stat {
    min-height: 118px;
}

.rb-offer-dash-stat span {
    display: block;
    color: #536783;
    font-size: 12px;
    font-weight: 1000;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 10px;
}

.rb-offer-dash-stat strong {
    display: block;
    color: #061226;
    font-size: clamp(34px, 4vw, 58px);
    line-height: .95;
}

.rb-offer-dash-warning {
    border-color: #fde68a !important;
    background: #fffbeb !important;
}

.rb-offer-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.rb-offer-section-head h2 {
    margin: 4px 0 6px;
    color: #061226;
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1.05;
}

.rb-offer-section-head p {
    margin: 0;
    color: #536783;
}

.rb-offer-dashboard-two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin: 22px 0;
}

.rb-offer-dashboard-table th,
.rb-offer-dashboard-table td {
    vertical-align: top;
}

@media (max-width: 1180px) {
    .rb-offer-dashboard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rb-offer-dashboard-two-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .rb-offer-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .rb-offer-section-head {
        display: grid;
    }
}


/* OfferBot dashboard layout correction */
.rb-offer-dashboard-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(180px, 1fr)) !important;
    gap: 16px !important;
    margin: 22px 0 !important;
    align-items: stretch !important;
}

.rb-offer-dashboard-grid > .rb-offer-dash-stat,
.rb-offer-dashboard-grid > a.rb-offer-dash-stat {
    min-height: 118px !important;
    padding: 22px !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
}

.rb-offer-dash-link small {
    display: block !important;
    margin-top: 10px !important;
    color: #92400e !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: .06em !important;
}

@media (max-width: 1180px) {
    .rb-offer-dashboard-grid {
        grid-template-columns: repeat(2, minmax(180px, 1fr)) !important;
    }
}

@media (max-width: 680px) {
    .rb-offer-dashboard-grid {
        grid-template-columns: 1fr !important;
    }
}


/* OfferBot Applications Report */
.rb-offer-apps-grid {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(150px, 1fr)) !important;
    gap: 14px !important;
    margin: 22px 0 !important;
}

.rb-offer-app-card-list {
    display: grid;
    gap: 18px;
    margin-top: 22px;
}

.rb-offer-app-card {
    display: grid;
    grid-template-columns: minmax(260px, .8fr) minmax(320px, 1fr) minmax(300px, .9fr);
    gap: 18px;
    align-items: start;
}

.rb-offer-app-message {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 14px;
    color: #334155;
    line-height: 1.55;
    white-space: pre-wrap;
}

@media (max-width: 1250px) {
    .rb-offer-apps-grid {
        grid-template-columns: repeat(3, minmax(150px, 1fr)) !important;
    }

    .rb-offer-app-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .rb-offer-apps-grid {
        grid-template-columns: 1fr !important;
    }
}


/* OfferBot Click / Conversion Report */
.rb-offer-click-grid {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(140px, 1fr)) !important;
    gap: 14px !important;
    margin: 22px 0 !important;
}

.rb-offer-click-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .38fr);
    gap: 22px;
    margin-top: 22px;
}

.rb-offer-click-card-list {
    display: grid;
    gap: 16px;
}

.rb-offer-click-card {
    display: grid;
    grid-template-columns: minmax(260px, .8fr) minmax(300px, 1fr) minmax(260px, .65fr);
    gap: 16px;
    align-items: start;
}

.rb-offer-click-url {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 12px;
    word-break: break-word;
    line-height: 1.45;
    color: #334155;
}

.rb-offer-click-agent {
    max-height: 110px;
    overflow: auto;
    background: #081426;
    color: #e2e8f0;
    border-radius: 14px;
    padding: 12px;
    font-size: 12px;
    line-height: 1.4;
    word-break: break-word;
}

@media (max-width: 1250px) {
    .rb-offer-click-grid {
        grid-template-columns: repeat(3, minmax(140px, 1fr)) !important;
    }

    .rb-offer-click-layout,
    .rb-offer-click-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .rb-offer-click-grid {
        grid-template-columns: 1fr !important;
    }
}


/* OfferBot Featured Placement */
.rb-offer-featured-stats,
.rb-offer-featured-tier-grid {
    display: grid !important;
    gap: 14px !important;
    margin: 22px 0 !important;
}

.rb-offer-featured-stats {
    grid-template-columns: repeat(5, minmax(150px, 1fr)) !important;
}

.rb-offer-featured-tier-grid {
    grid-template-columns: repeat(5, minmax(160px, 1fr)) !important;
}

.rb-offer-featured-list {
    display: grid;
    gap: 18px;
    margin-top: 22px;
}

.rb-offer-featured-card {
    display: grid;
    grid-template-columns: minmax(260px, .8fr) minmax(280px, .75fr) minmax(300px, .9fr);
    gap: 18px;
    align-items: start;
}

@media (max-width: 1180px) {
    .rb-offer-featured-stats,
    .rb-offer-featured-tier-grid {
        grid-template-columns: repeat(2, minmax(150px, 1fr)) !important;
    }

    .rb-offer-featured-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .rb-offer-featured-stats,
    .rb-offer-featured-tier-grid {
        grid-template-columns: 1fr !important;
    }
}


/* OfferBot gamification page separation */
.rb-offer-game-entry {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
    margin: 22px 0;
}

.rb-offer-game-entry h2 {
    margin: 4px 0 8px;
    color: #061226;
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1.05;
}

.rb-offer-game-entry p {
    margin: 0;
    color: #536783;
}

.rb-offer-game-page-tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin: 22px 0 !important;
}

.rb-offer-game-page-tabs a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 46px !important;
    padding: 11px 17px !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.96) !important;
    border: 1px solid #e2e8f0 !important;
    color: #061226 !important;
    font-weight: 1000 !important;
    text-decoration: none !important;
}

.rb-offer-game-page-tabs a.active,
.rb-offer-game-page-tabs a:hover,
.rb-offer-game-page-tabs a:focus {
    background: linear-gradient(135deg, #facc15, #f59e0b) !important;
    border-color: #facc15 !important;
    color: #061226 !important;
}

.rb-offer-game-page-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;
    margin: 24px 0 !important;
    align-items: stretch !important;
}

.rb-offer-game-page-grid .rb-offer-mini-card {
    height: 100% !important;
}

@media (max-width: 1180px) {
    .rb-offer-game-page-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 720px) {
    .rb-offer-game-entry {
        display: grid;
    }

    .rb-offer-game-page-grid {
        grid-template-columns: 1fr !important;
    }
}


/* Fallback for current RewardBot menu markup where the dropdown itself is a 3-column panel. */
.cm-menu-offerbot [class*="dropdown"],
.cm-menu-offerbot [class*="mega"] {
    width: min(96vw, 1320px) !important;
    max-width: 1320px !important;
}

/* Keep the wider OfferBot dropdown inside the screen on smaller devices. */
@media (max-width: 1180px) {
    .cm-menu-offerbot .cm-dropdown,
    .cm-menu-offerbot .cm-mega-menu,
    .cm-menu-offerbot .cm-menu-dropdown,
    .cm-menu-offerbot > .cm-dropdown,
    .cm-menu-offerbot > .cm-mega-menu,
    .cm-menu-offerbot > .cm-menu-dropdown,
    .cm-menu-offerbot [class*="dropdown"],
    .cm-menu-offerbot [class*="mega"] {
        min-width: 0 !important;
        width: min(96vw, 980px) !important;
        max-width: 980px !important;
    }
}

@media (max-width: 760px) {
    .cm-menu-offerbot .cm-dropdown,
    .cm-menu-offerbot .cm-mega-menu,
    .cm-menu-offerbot .cm-menu-dropdown,
    .cm-menu-offerbot > .cm-dropdown,
    .cm-menu-offerbot > .cm-mega-menu,
    .cm-menu-offerbot > .cm-menu-dropdown,
    .cm-menu-offerbot [class*="dropdown"],
    .cm-menu-offerbot [class*="mega"] {
        width: calc(100vw - 24px) !important;
        max-width: calc(100vw - 24px) !important;
        left: 12px !important;
        right: 12px !important;
        transform: none !important;
    }
}


/* RewardBot / OfferBot public CSS repair */
/* RewardBot / OfferBot public CSS repair */
.rb-offer-game-strip,
.cm-wrap .rb-offer-game-strip,
.rb-offer-game-page-tabs,
.cm-wrap .rb-offer-game-page-tabs,
.rb-offer-game-page-grid,
.cm-wrap .rb-offer-game-page-grid,
.rb-offer-mini-grid,
.cm-wrap .rb-offer-mini-grid,
.rb-offer-mini-stack,
.cm-wrap .rb-offer-mini-stack {
    box-sizing: border-box !important;
}

.rb-offer-game-strip,
.cm-wrap .rb-offer-game-strip {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(120px, 1fr)) !important;
    gap: 14px !important;
    margin: 22px 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.rb-offer-game-strip > div,
.cm-wrap .rb-offer-game-strip > div {
    display: block !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 22px !important;
    padding: 18px !important;
    box-shadow: 0 10px 30px rgba(2, 6, 23, .08) !important;
    min-height: 94px !important;
}

.rb-offer-game-strip span,
.cm-wrap .rb-offer-game-strip span {
    display: block !important;
    color: #536783 !important;
    font-size: 11px !important;
    font-weight: 1000 !important;
    text-transform: uppercase !important;
    letter-spacing: .1em !important;
    margin: 0 0 8px !important;
    line-height: 1.2 !important;
}

.rb-offer-game-strip strong,
.cm-wrap .rb-offer-game-strip strong {
    display: block !important;
    color: #061226 !important;
    font-size: clamp(28px, 4vw, 46px) !important;
    line-height: .95 !important;
    font-weight: 1000 !important;
}

.rb-offer-game-page-tabs,
.cm-wrap .rb-offer-game-page-tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin: 22px 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.rb-offer-game-page-tabs a,
.cm-wrap .rb-offer-game-page-tabs a,
.rb-offer-game-tabs a,
.cm-wrap .rb-offer-game-tabs a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 46px !important;
    padding: 11px 17px !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.96) !important;
    border: 1px solid #e2e8f0 !important;
    color: #061226 !important;
    font-weight: 1000 !important;
    text-decoration: none !important;
    line-height: 1.1 !important;
    box-shadow: 0 8px 20px rgba(2,6,23,.08) !important;
}

.rb-offer-game-page-tabs a.active,
.rb-offer-game-page-tabs a:hover,
.rb-offer-game-page-tabs a:focus,
.cm-wrap .rb-offer-game-page-tabs a.active,
.cm-wrap .rb-offer-game-page-tabs a:hover,
.cm-wrap .rb-offer-game-page-tabs a:focus,
.rb-offer-game-tabs a.active,
.rb-offer-game-tabs a:hover,
.rb-offer-game-tabs a:focus {
    background: linear-gradient(135deg, #facc15, #f59e0b) !important;
    border-color: #facc15 !important;
    color: #061226 !important;
    text-decoration: none !important;
}

.rb-offer-game-page-grid,
.cm-wrap .rb-offer-game-page-grid,
.rb-offer-mini-grid,
.cm-wrap .rb-offer-mini-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;
    margin: 24px 0 !important;
    padding: 0 !important;
    align-items: stretch !important;
    list-style: none !important;
}

.rb-offer-mini-stack,
.cm-wrap .rb-offer-mini-stack {
    display: grid !important;
    gap: 14px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.rb-offer-mini-card,
.cm-wrap .rb-offer-mini-card,
.rb-offer-game-page-grid .rb-offer-mini-card,
.cm-wrap .rb-offer-game-page-grid .rb-offer-mini-card {
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    box-shadow: 0 12px 34px rgba(2, 6, 23, .08) !important;
    min-width: 0 !important;
    min-height: 100% !important;
    height: auto !important;
    color: #061226 !important;
}

.rb-offer-mini-card a,
.cm-wrap .rb-offer-mini-card a {
    color: inherit !important;
}

.rb-offer-mini-image,
.cm-wrap .rb-offer-mini-image {
    min-height: 165px !important;
    background-size: cover !important;
    background-position: center !important;
    background-color: #e2e8f0 !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    padding: 14px !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    width: 100% !important;
    flex: 0 0 auto !important;
}

.rb-offer-mini-image span,
.cm-wrap .rb-offer-mini-image span {
    display: inline-flex !important;
    border-radius: 999px !important;
    padding: 7px 12px !important;
    background: rgba(8, 20, 38, .92) !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 1000 !important;
    text-transform: uppercase !important;
    letter-spacing: .07em !important;
    text-decoration: none !important;
    line-height: 1.15 !important;
    box-shadow: none !important;
}

.rb-offer-mini-body,
.cm-wrap .rb-offer-mini-body {
    display: flex !important;
    flex-direction: column !important;
    padding: 18px !important;
    flex: 1 1 auto !important;
    background: #ffffff !important;
}

.rb-offer-mini-body .rb-offer-type,
.cm-wrap .rb-offer-mini-body .rb-offer-type,
.rb-offer-type {
    display: inline-flex !important;
    width: fit-content !important;
    border-radius: 999px !important;
    background: #e0f2fe !important;
    color: #075985 !important;
    padding: 7px 11px !important;
    font-size: 11px !important;
    font-weight: 1000 !important;
    text-transform: uppercase !important;
    letter-spacing: .08em !important;
    line-height: 1.1 !important;
    text-decoration: none !important;
}

.rb-offer-mini-body h3,
.cm-wrap .rb-offer-mini-body h3 {
    margin: 12px 0 10px !important;
    color: #061226 !important;
    font-size: 22px !important;
    line-height: 1.14 !important;
    font-weight: 1000 !important;
    text-decoration: none !important;
}

.rb-offer-mini-body h3 a,
.cm-wrap .rb-offer-mini-body h3 a {
    color: #061226 !important;
    text-decoration: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

.rb-offer-mini-body h3 a:hover,
.rb-offer-mini-body h3 a:focus,
.cm-wrap .rb-offer-mini-body h3 a:hover,
.cm-wrap .rb-offer-mini-body h3 a:focus {
    color: #0f4ba8 !important;
    text-decoration: underline !important;
}

.rb-offer-mini-body p,
.cm-wrap .rb-offer-mini-body p {
    margin: 0 0 14px !important;
    color: #536783 !important;
    line-height: 1.48 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
}

.rb-offer-mini-stats,
.cm-wrap .rb-offer-mini-stats {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    margin-top: auto !important;
    padding-top: 4px !important;
}

.rb-offer-mini-stats span,
.cm-wrap .rb-offer-mini-stats span {
    display: inline-flex !important;
    align-items: center !important;
    border-radius: 999px !important;
    background: #f1f5f9 !important;
    color: #334155 !important;
    padding: 6px 9px !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-decoration: none !important;
}

.rb-offer-mini-card.compact,
.cm-wrap .rb-offer-mini-card.compact {
    display: grid !important;
    grid-template-columns: 122px minmax(0, 1fr) !important;
    align-items: stretch !important;
    min-height: 142px !important;
}

.rb-offer-mini-card.compact .rb-offer-mini-image,
.cm-wrap .rb-offer-mini-card.compact .rb-offer-mini-image {
    min-height: 100% !important;
    padding: 8px !important;
}

.rb-offer-mini-card.compact .rb-offer-mini-body,
.cm-wrap .rb-offer-mini-card.compact .rb-offer-mini-body {
    padding: 13px !important;
}

.rb-offer-mini-card.compact .rb-offer-mini-body h3,
.cm-wrap .rb-offer-mini-card.compact .rb-offer-mini-body h3 {
    font-size: 16px !important;
}

.rb-offer-mini-card.compact .rb-offer-mini-body p,
.cm-wrap .rb-offer-mini-card.compact .rb-offer-mini-body p {
    display: none !important;
}

.rb-offer-game-entry,
.cm-wrap .rb-offer-game-entry {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 22px !important;
    margin: 22px 0 !important;
}

@media (max-width: 1180px) {
    .rb-offer-game-strip,
    .cm-wrap .rb-offer-game-strip {
        grid-template-columns: repeat(3, minmax(120px, 1fr)) !important;
    }

    .rb-offer-game-page-grid,
    .rb-offer-mini-grid,
    .cm-wrap .rb-offer-game-page-grid,
    .cm-wrap .rb-offer-mini-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 720px) {
    .rb-offer-game-strip,
    .rb-offer-game-page-grid,
    .rb-offer-mini-grid,
    .cm-wrap .rb-offer-game-strip,
    .cm-wrap .rb-offer-game-page-grid,
    .cm-wrap .rb-offer-mini-grid {
        grid-template-columns: 1fr !important;
    }

    .rb-offer-mini-card.compact,
    .cm-wrap .rb-offer-mini-card.compact {
        grid-template-columns: 1fr !important;
    }

    .rb-offer-mini-card.compact .rb-offer-mini-image,
    .cm-wrap .rb-offer-mini-card.compact .rb-offer-mini-image {
        min-height: 145px !important;
    }

    .rb-offer-game-entry,
    .cm-wrap .rb-offer-game-entry {
        display: grid !important;
    }
}



/* OfferBot mega menu viewport anchor fix - cache-safe inline override */
.cm-menu-offerbot {
    position: static !important;
}

.cm-menu-offerbot .cm-dropdown,
.cm-menu-offerbot .cm-mega-menu,
.cm-menu-offerbot .cm-menu-dropdown,
.cm-menu-offerbot > .cm-dropdown,
.cm-menu-offerbot > .cm-mega-menu,
.cm-menu-offerbot > .cm-menu-dropdown,
.cm-menu-offerbot [class*="dropdown"],
.cm-menu-offerbot [class*="mega"] {
    position: fixed !important;

    /*
      Put the left edge close to the EventBot/Browse Campaigns area instead of
      starting under the OfferBot button.
    */
    left: max(24px, calc((100vw - 1760px) / 2 + 500px)) !important;
    right: auto !important;
    top: 158px !important;

    width: min(96vw, 1220px) !important;
    max-width: min(96vw, 1220px) !important;
    min-width: min(96vw, 1220px) !important;

    transform: none !important;
    z-index: 999999 !important;
    box-sizing: border-box !important;
}

/* If the site header shifts the menu lower, this keeps the panel aligned under the nav bar. */
.cm-menu-offerbot:hover .cm-dropdown,
.cm-menu-offerbot:hover .cm-mega-menu,
.cm-menu-offerbot:hover .cm-menu-dropdown,
.cm-menu-offerbot:focus-within .cm-dropdown,
.cm-menu-offerbot:focus-within .cm-mega-menu,
.cm-menu-offerbot:focus-within .cm-menu-dropdown {
    position: fixed !important;
    left: max(24px, calc((100vw - 1760px) / 2 + 500px)) !important;
    right: auto !important;
    top: 158px !important;
    width: min(96vw, 1220px) !important;
    max-width: min(96vw, 1220px) !important;
    min-width: min(96vw, 1220px) !important;
    transform: none !important;
}

.cm-menu-offerbot .cm-dropdown-grid,
.cm-menu-offerbot .cm-mega-grid,
.cm-menu-offerbot .cm-dropdown-inner {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(300px, 1fr)) !important;
    gap: 24px !important;
}

.cm-menu-offerbot .cm-dropdown a,
.cm-menu-offerbot .cm-mega-menu a,
.cm-menu-offerbot .cm-menu-dropdown a,
.cm-menu-offerbot [class*="dropdown"] a,
.cm-menu-offerbot [class*="mega"] a {
    min-height: 64px !important;
    padding-left: 22px !important;
    padding-right: 22px !important;
    white-space: normal !important;
    line-height: 1.15 !important;
}

/* Large desktop: start even closer to EventBot */
@media (min-width: 1500px) {
    .cm-menu-offerbot .cm-dropdown,
    .cm-menu-offerbot .cm-mega-menu,
    .cm-menu-offerbot .cm-menu-dropdown,
    .cm-menu-offerbot > .cm-dropdown,
    .cm-menu-offerbot > .cm-mega-menu,
    .cm-menu-offerbot > .cm-menu-dropdown,
    .cm-menu-offerbot [class*="dropdown"],
    .cm-menu-offerbot [class*="mega"],
    .cm-menu-offerbot:hover .cm-dropdown,
    .cm-menu-offerbot:hover .cm-mega-menu,
    .cm-menu-offerbot:hover .cm-menu-dropdown,
    .cm-menu-offerbot:focus-within .cm-dropdown,
    .cm-menu-offerbot:focus-within .cm-mega-menu,
    .cm-menu-offerbot:focus-within .cm-menu-dropdown {
        left: 460px !important;
        width: 1240px !important;
        max-width: calc(100vw - 480px) !important;
        min-width: 1240px !important;
    }
}

/* Standard laptop/desktop */
@media (max-width: 1499px) and (min-width: 1050px) {
    .cm-menu-offerbot .cm-dropdown,
    .cm-menu-offerbot .cm-mega-menu,
    .cm-menu-offerbot .cm-menu-dropdown,
    .cm-menu-offerbot > .cm-dropdown,
    .cm-menu-offerbot > .cm-mega-menu,
    .cm-menu-offerbot > .cm-menu-dropdown,
    .cm-menu-offerbot [class*="dropdown"],
    .cm-menu-offerbot [class*="mega"],
    .cm-menu-offerbot:hover .cm-dropdown,
    .cm-menu-offerbot:hover .cm-mega-menu,
    .cm-menu-offerbot:hover .cm-menu-dropdown,
    .cm-menu-offerbot:focus-within .cm-dropdown,
    .cm-menu-offerbot:focus-within .cm-mega-menu,
    .cm-menu-offerbot:focus-within .cm-menu-dropdown {
        left: 280px !important;
        width: calc(100vw - 320px) !important;
        max-width: calc(100vw - 320px) !important;
        min-width: 0 !important;
    }
}

@media (max-width: 1049px) {
    .cm-menu-offerbot .cm-dropdown,
    .cm-menu-offerbot .cm-mega-menu,
    .cm-menu-offerbot .cm-menu-dropdown,
    .cm-menu-offerbot > .cm-dropdown,
    .cm-menu-offerbot > .cm-mega-menu,
    .cm-menu-offerbot > .cm-menu-dropdown,
    .cm-menu-offerbot [class*="dropdown"],
    .cm-menu-offerbot [class*="mega"],
    .cm-menu-offerbot:hover .cm-dropdown,
    .cm-menu-offerbot:hover .cm-mega-menu,
    .cm-menu-offerbot:hover .cm-menu-dropdown,
    .cm-menu-offerbot:focus-within .cm-dropdown,
    .cm-menu-offerbot:focus-within .cm-mega-menu,
    .cm-menu-offerbot:focus-within .cm-menu-dropdown {
        position: fixed !important;
        left: 12px !important;
        right: 12px !important;
        top: 96px !important;
        width: calc(100vw - 24px) !important;
        max-width: calc(100vw - 24px) !important;
        min-width: 0 !important;
        transform: none !important;
    }

    .cm-menu-offerbot .cm-dropdown-grid,
    .cm-menu-offerbot .cm-mega-grid,
    .cm-menu-offerbot .cm-dropdown-inner {
        grid-template-columns: 1fr !important;
    }
}



/* OfferBot 4-column admin-style mega menu */
/* OfferBot 4-column admin-style mega menu */
.cm-menu .cm-drop.cm-menu-offerbot {
    position: static !important;
}

.cm-menu .cm-drop.cm-menu-offerbot .cm-drop-panel.cm-offerbot-panel {
    position: fixed !important;
    left: 110px !important;
    right: auto !important;
    top: 190px !important;

    width: min(92vw, 1580px) !important;
    max-width: min(92vw, 1580px) !important;
    min-width: min(92vw, 1480px) !important;

    max-height: calc(100vh - 220px) !important;
    overflow-y: auto !important;
    padding: 28px !important;
    box-sizing: border-box !important;
    z-index: 999999 !important;
    transform: none !important;
}

.cm-menu .cm-drop.cm-menu-offerbot:hover .cm-drop-panel.cm-offerbot-panel,
.cm-menu .cm-drop.cm-menu-offerbot:focus-within .cm-drop-panel.cm-offerbot-panel {
    display: block !important;
    position: fixed !important;
    left: 110px !important;
    right: auto !important;
    top: 190px !important;
    width: min(92vw, 1580px) !important;
    max-width: min(92vw, 1580px) !important;
    min-width: min(92vw, 1480px) !important;
    transform: none !important;
}

.cm-menu .cm-offerbot-grid {
    display: grid !important;
    grid-template-columns: minmax(270px, 1fr) minmax(230px, .72fr) minmax(270px, 1fr) minmax(270px, 1fr) !important;
    gap: 24px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.cm-menu .cm-offerbot-col {
    min-width: 0 !important;
}

.cm-menu .cm-offerbot-col .cm-drop-heading {
    color: #ffd400 !important;
    font-weight: 1000 !important;
    text-transform: uppercase !important;
    letter-spacing: .12em !important;
    font-size: 15px !important;
    margin: 0 0 18px !important;
    text-align: left !important;
}

.cm-menu .cm-offerbot-col a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 58px !important;
    margin: 0 0 14px !important;
    padding: 12px 16px !important;
    border-radius: 16px !important;
    background: rgba(30, 41, 59, .92) !important;
    color: #ffffff !important;
    font-size: 19px !important;
    font-weight: 1000 !important;
    line-height: 1.12 !important;
    text-align: center !important;
    text-decoration: none !important;
    white-space: normal !important;
    box-sizing: border-box !important;
}

.cm-menu .cm-offerbot-col a:hover,
.cm-menu .cm-offerbot-col a:focus,
.cm-menu .cm-offerbot-col a.active {
    background: linear-gradient(135deg, #facc15, #f59e0b) !important;
    color: #061226 !important;
    text-decoration: none !important;
}

@media (max-width: 1500px) {
    .cm-menu .cm-drop.cm-menu-offerbot .cm-drop-panel.cm-offerbot-panel,
    .cm-menu .cm-drop.cm-menu-offerbot:hover .cm-drop-panel.cm-offerbot-panel,
    .cm-menu .cm-drop.cm-menu-offerbot:focus-within .cm-drop-panel.cm-offerbot-panel {
        left: 18px !important;
        width: calc(100vw - 36px) !important;
        max-width: calc(100vw - 36px) !important;
        min-width: 0 !important;
        top: 178px !important;
    }

    .cm-menu .cm-offerbot-grid {
        grid-template-columns: repeat(4, minmax(210px, 1fr)) !important;
        gap: 18px !important;
    }

    .cm-menu .cm-offerbot-col a {
        font-size: 17px !important;
        min-height: 56px !important;
    }
}

@media (max-width: 1020px) {
    .cm-menu .cm-offerbot-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr)) !important;
    }
}

@media (max-width: 680px) {
    .cm-menu .cm-drop.cm-menu-offerbot .cm-drop-panel.cm-offerbot-panel,
    .cm-menu .cm-drop.cm-menu-offerbot:hover .cm-drop-panel.cm-offerbot-panel,
    .cm-menu .cm-drop.cm-menu-offerbot:focus-within .cm-drop-panel.cm-offerbot-panel {
        left: 12px !important;
        width: calc(100vw - 24px) !important;
        max-width: calc(100vw - 24px) !important;
        top: 96px !important;
    }

    .cm-menu .cm-offerbot-grid {
        grid-template-columns: 1fr !important;
    }
}

