/* Shared colors for the built-in promotion banners and their CTA. */
:root {
 --promotion-backdrop:linear-gradient(180deg,#5c1ba1 0%,#6623b3 27%,#7c34cb 52%,#9247e4 77%,#a85cf8 100%);
 --promotion-illustration-mask:linear-gradient(90deg,transparent 38%,#000 63%);
 --promotion-cta-fill:linear-gradient(180deg,#fdeea1 0%,#ffd662 100%);
 --promotion-cta-ink:#4a077e;
 --promotion-cta-font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
 --promotion-cta-font-size:15px;
 --promotion-cta-font-weight:750;
 --promotion-cta-line-height:20px;
 --promotion-cta-min-height:34px;
 --promotion-cta-radius:999px;
 --promotion-cta-padding:6px 14px;
}
/* The daily check-in banner provides the palette for the built-in illustrations. */
html[data-theme] body :is(
 #lobby-page .banner.promotion-layout,
 #lobby-page .banner:not(.managed-banner),
 #offers-page .offer-banner.promotion-layout,
 #offers-page .offer-banner:not(.has-custom-art),
 dialog.daily-login-dialog .daily-hero.promotion-layout,
 #deposit-page.first-deposit-open .first-deposit-stage
){
 background:#5c1ba1 var(--promotion-backdrop);
}
html[data-theme] body :is(
 #lobby-page .promotion-layout>.promotion-image,
 #lobby-page .banner:not(.managed-banner)>.hero-art,
 #offers-page .promotion-layout>.promotion-image,
 #offers-page .offer-banner:not(.has-custom-art)>.offer-banner-art,
 dialog.daily-login-dialog .promotion-layout>.promotion-image
),
#deposit-page.first-deposit-open .first-deposit-stage::before{
 -webkit-mask-image:var(--promotion-illustration-mask);
 mask-image:var(--promotion-illustration-mask);
}
html[data-theme] body #lobby-page .banner:not(.managed-banner)::after,
html[data-theme] body #offers-page .offer-banner:not(.has-custom-art)>.offer-banner-shade{display:none}


/* One text grid for built-in homepage, activity and daily-reward artwork. */
html[data-theme] body :is(#lobby-page .banner.promotion-layout,#offers-page .offer-banner.promotion-layout,dialog.daily-login-dialog .daily-hero.promotion-layout){position:relative;display:block;height:200px;min-height:200px;aspect-ratio:auto;padding:0;overflow:hidden;isolation:isolate}
html[data-theme] body :is(#lobby-page,#offers-page,dialog.daily-login-dialog) .promotion-layout>.promotion-image{position:absolute;inset:0;display:block;width:100%;height:100%;max-height:none;object-fit:cover;object-position:70% center;z-index:0}
html[data-theme] body :is(#lobby-page,#offers-page,dialog.daily-login-dialog) .promotion-layout::after{display:none}
html[data-theme] body :is(#lobby-page,#offers-page,dialog.daily-login-dialog) .promotion-layout>.promotion-copy{position:absolute;inset:15px auto 15px 16px;z-index:2;display:flex;flex-direction:column;align-items:flex-start;width:64%;max-width:245px;text-align:left;color:#fff}
html[data-theme] body :is(#lobby-page,#offers-page,dialog.daily-login-dialog) .promotion-layout .promotion-tag{display:block;margin:0;padding:0;border:0;background:none;color:#fff;font-size:12px;font-weight:700;line-height:17px;letter-spacing:.35px;text-transform:uppercase}
html[data-theme] body :is(#lobby-page,#offers-page,dialog.daily-login-dialog) .promotion-layout .promotion-title{display:block;margin:7px 0 0;padding:0;color:#fff;font-size:26px;font-weight:750;line-height:1.07;letter-spacing:-.6px;text-shadow:none}
html[data-theme] body :is(#lobby-page,#offers-page,dialog.daily-login-dialog) .promotion-layout .promotion-title em{color:#ffed9c;font-style:normal}
html[data-theme] body :is(#lobby-page,#offers-page,dialog.daily-login-dialog) .promotion-layout .promotion-subtitle{display:block;max-width:180px;margin:7px 0 0;padding:0;color:#fff;font-size:13px;font-weight:500;line-height:1.4;text-shadow:none}
html[data-theme] body :is(#lobby-page,#offers-page) .promotion-layout .promotion-countdown{display:block;width:max-content;max-width:100%;margin-top:8px;padding:0;background:none}
html[data-theme] body :is(#lobby-page,#offers-page) .promotion-layout .promotion-countdown[hidden]{display:none}
html[data-theme] body :is(#lobby-page,#offers-page) .promotion-layout .promotion-countdown strong{display:flex;align-items:center;gap:4px;color:#ffed9c;font-size:25px;line-height:36px;font-weight:750;font-variant-numeric:tabular-nums;letter-spacing:0}
html[data-theme] body :is(#lobby-page,#offers-page) .promotion-layout [data-first-deposit-time-part]{display:grid;place-items:center;flex:0 0 42px;min-width:42px;height:36px;padding:0 5px;border:1px solid #ffe7a65e;border-radius:7px;background:linear-gradient(180deg,#6f259be6,#45116bd9);box-shadow:inset 0 1px 0 #ffffff1a}
html[data-theme] body :is(#lobby-page,#offers-page) .promotion-layout .promotion-countdown i{font-style:normal;font-size:22px;line-height:36px}
html[data-theme] body :is(#lobby-page,#offers-page,dialog.daily-login-dialog) .promotion-layout .promotion-cta{position:static;width:max-content;max-width:100%;margin:auto 0 0}
/* Existing editable templates use the same anchors and type scale. */
html[data-theme] body #lobby-page .banner:not(.managed-banner):not(.promotion-layout){height:200px;min-height:200px}
html[data-theme] body #lobby-page .banner:not(.promotion-layout) .banner-copy{position:absolute;inset:15px auto 15px 16px;display:flex;flex-direction:column;align-items:flex-start;width:64%;max-width:245px;height:auto;min-height:0;padding:0;z-index:2}
html[data-theme] body #lobby-page .banner-copy .eyebrow{margin:0;padding:0;color:#fff;font-size:12px;font-weight:700;line-height:17px;letter-spacing:.35px}
html[data-theme] body #lobby-page .banner-copy h2{margin:7px 0 0;color:#fff;font-size:26px;font-weight:750;line-height:1.07;letter-spacing:-.6px}
html[data-theme] body #lobby-page .banner-copy h2 em{color:#ffed9c}
html[data-theme] body #lobby-page .banner-copy p{max-width:180px;margin:7px 0 0;color:#fff;font-size:13px;font-weight:500;line-height:1.4}
html[data-theme] body #lobby-page .banner-copy .banner-cta{margin:auto 0 0}
html[data-theme] body #offers-page .offer-banner:not(.has-custom-art){height:200px;min-height:200px;aspect-ratio:auto}
html[data-theme] body #offers-page .offer-banner:not(.has-custom-art) .offer-category-tag{position:absolute;left:16px;top:15px;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;color:#fff;font-size:12px;font-weight:700;line-height:17px;letter-spacing:.35px;text-transform:uppercase}
html[data-theme] body #offers-page .offer-banner:not(.has-custom-art) .offer-banner-copy{position:absolute;inset:39px auto 15px 16px;display:flex;flex-direction:column;align-items:flex-start;width:64%;max-width:245px;height:auto;min-height:0;padding:0}
html[data-theme] body #offers-page .offer-banner:not(.has-custom-art) .offer-banner-copy>strong{margin:0;padding:0;color:#fff;font-size:26px;font-weight:750;line-height:1.07;letter-spacing:-.6px;text-shadow:none}
html[data-theme] body #offers-page .offer-banner:not(.has-custom-art) .offer-banner-copy>strong em{color:#ffed9c;font-style:normal}
html[data-theme] body #offers-page .offer-banner:not(.has-custom-art) .offer-banner-subtitle{max-width:180px;margin:7px 0 0;padding:0;color:#fff;font-size:13px;font-weight:500;line-height:1.4}
html[data-theme] body #offers-page .offer-banner:not(.has-custom-art) .offer-banner-cta{position:static;width:max-content;max-width:100%;margin:auto 0 0}
@media(max-width:360px){
 html[data-theme] body :is(#lobby-page,#offers-page,dialog.daily-login-dialog) .promotion-layout .promotion-title,html[data-theme] body #lobby-page .banner-copy h2,html[data-theme] body #offers-page .offer-banner:not(.has-custom-art) .offer-banner-copy>strong{font-size:24px;letter-spacing:-.5px}
 html[data-theme] body :is(#lobby-page,#offers-page,dialog.daily-login-dialog) .promotion-layout>.promotion-copy,html[data-theme] body #lobby-page .banner:not(.promotion-layout) .banner-copy,html[data-theme] body #offers-page .offer-banner:not(.has-custom-art) .offer-banner-copy{left:14px;width:68%}
 html[data-theme] body #offers-page .offer-banner:not(.has-custom-art) .offer-category-tag{left:14px}
}
html[data-theme] body #lobby-page .community-rewards-link{text-decoration:none}
html[data-theme] body :is(#lobby-page,#offers-page) .community-rewards-banner>.promotion-image{
 object-position:46% center;
}
html[data-theme] body :is(#lobby-page,#offers-page) .community-rewards-banner>.promotion-copy{
 font-family:var(--promotion-cta-font-family);
}
html[data-theme] body :is(#lobby-page,#offers-page) .community-rewards-banner .promotion-tag{
 font-size:clamp(12px,3.5vw,14px);line-height:1.25;letter-spacing:.25px;
}
html[data-theme] body :is(#lobby-page,#offers-page) .community-rewards-banner .promotion-title{
 font-size:clamp(30px,8.5vw,37px);font-weight:800;line-height:1.04;letter-spacing:-.75px;
}
html[data-theme] body :is(#lobby-page,#offers-page) .community-rewards-banner .promotion-subtitle{
 max-width:188px;font-size:clamp(14px,3.8vw,15px);line-height:1.35;
}
/* Appearance is shared; each card retains its established action position. */
.promotion-cta,
html[data-theme] body :is(#lobby-page .banner,#offers-page .offer-banner,dialog.daily-login-dialog .daily-hero) :is(.promotion-cta,.banner-cta,.offer-banner-cta,.daily-generated-cta){
 display:inline-flex;align-items:center;justify-content:center;
 width:fit-content;max-width:100%;min-width:0;height:auto;min-height:var(--promotion-cta-min-height);padding:var(--promotion-cta-padding);flex:0 1 auto;
 border:0;border-radius:var(--promotion-cta-radius);background:var(--promotion-cta-fill);box-shadow:none;
 color:var(--promotion-cta-ink);font-family:var(--promotion-cta-font-family);font-size:var(--promotion-cta-font-size);
 font-weight:var(--promotion-cta-font-weight);line-height:var(--promotion-cta-line-height);letter-spacing:0;
 text-align:center;text-decoration:none;text-shadow:none;white-space:normal;overflow-wrap:anywhere;
}
html[data-theme] body :is(#lobby-page,#offers-page,dialog.daily-login-dialog) .promotion-layout .promotion-cta:has(>.promotion-facebook-logo){gap:7px}
html[data-theme] body :is(#lobby-page,#offers-page,dialog.daily-login-dialog) .promotion-layout .promotion-cta>.promotion-facebook-logo{position:static;inset:auto;display:block;flex:0 0 20px;width:20px;height:20px;max-width:none;max-height:none;margin:0;padding:0;object-fit:contain;object-position:center;filter:none;opacity:1;border:0;border-radius:50%;transform:none}
