/* Preview palette: the blue-gray used by the Chat / Bet Slip / Games panel. */
:root{--preview-canvas:#111820}
html,body,#app,#app .home-main,#app .home-content{background:var(--preview-canvas)}
#app>.topbar,#app .site-rail,#app .footer{background:var(--preview-canvas)}

/* Give the collapsed menu's search control room below the icon above it. */
#app.sidebar-collapsed .site-rail .rail-scroll{padding-top:19px}
#app.sidebar-collapsed .site-rail .rail-search{margin-top:12px;margin-bottom:18px}

/* New promotion imagery with enough space for the copy. */
#app .promo-hub-page .promos-hero{
  display:flex;flex-direction:column;justify-content:center;min-height:270px;
  margin:0 0 22px;padding:34px 40px;border:1px solid #b4ef5c55;
  border-radius:14px;overflow:hidden;
  background:linear-gradient(90deg,#111820 0%,#111820ed 38%,#1118208c 60%,#1118200d 100%),
    url('./assets/preview-2026-10/rewards-hero.png') right center/cover no-repeat,#111820;
}
#app .vip-hub-page .promos-hero{
  background:linear-gradient(90deg,#111820 0%,#111820f2 39%,#11182087 63%,#11182016 100%),
    url('./assets/preview-2026-10/vip-rewards.png') right 43%/cover no-repeat,#111820;
}
#app .promo-hub-page .promos-hero h1{max-width:660px;margin:8px 0 12px;font-size:clamp(2.5rem,4vw,4.6rem)}
#app .promo-hub-page .promos-hero p{max-width:500px;margin-bottom:0;color:#e2e9e5}
#app .promo-hub-page .promo-cards{gap:14px}
#app .promo-hub-page .promo-cards article{background:#1b2630;border-color:#ffffff21}
#app .promo-hub-page .promo-cards img{height:205px;object-fit:cover;object-position:center}
#app .promo-hub-page .promo-cards article>div{padding:18px 19px 20px}
#app .promo-hub-page .promo-cards h2{margin:8px 0}

/* VIP has its own compact hierarchy instead of the general promotions grid. */
#app .vip-page{max-width:1450px;padding-top:28px}
#app .vip-hero{
  min-height:310px;display:flex;align-items:center;overflow:hidden;
  border:1px solid #b4ef5c48;border-radius:14px;
  background:linear-gradient(90deg,#101820 0%,#101820f5 39%,#1018205c 69%,#1018200b 100%),
    url('./assets/preview-2026-10/vip-rewards.png') right 46%/auto 156% no-repeat,#101820;
}
#app .vip-hero-copy{position:relative;z-index:1;max-width:660px;padding:36px 48px}
#app .vip-hero h1{margin:9px 0 13px;font-size:clamp(3.1rem,5vw,5rem);line-height:1.03}
#app .vip-hero h1 em{color:#b6f76a;font-style:normal}
#app .vip-hero p{max-width:470px;margin-bottom:21px;color:#d8e0dc;font-size:.97rem}
#app .vip-hero-actions{display:flex;flex-wrap:wrap;gap:10px}
#app .vip-hero-actions a{min-width:140px}
#app .vip-benefits-section{margin-top:34px}
#app .vip-section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:15px}
#app .vip-section-heading h2{margin:5px 0 0;font-size:1.5rem}
#app .vip-section-heading>p{max-width:370px;margin:0;color:#9daeb8;font-size:.78rem}
#app .vip-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#app .vip-benefits article{min-height:155px;padding:20px 22px;background:#1b2630;border:1px solid #ffffff1f;border-radius:11px}
#app .vip-benefits .reward-mark{width:33px;height:33px}
#app .vip-benefits h3{margin:14px 0 6px;font-size:.99rem}
#app .vip-benefits p{margin:0;color:#aebbc2;font-size:.78rem;line-height:1.5}
#app .vip-transfer{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:20px;padding:24px 28px;border:1px solid #b4ef5c39;border-radius:11px;background:radial-gradient(circle at 90% 20%,#a9ef3e30,transparent 34%),linear-gradient(110deg,#1b2830,#131d25)}
#app .vip-transfer h2{margin:5px 0;font-size:1.3rem}
#app .vip-transfer p{margin:0;color:#adbbc0;font-size:.79rem}
#app .vip-transfer .primary{flex:none}
#app .races-page .races-hero{
  min-height:265px;padding:34px 38px;border:1px solid #b4ef5c55;border-radius:14px;
  background:linear-gradient(90deg,#111820 0%,#111820ef 37%,#11182085 63%,#11182016 100%),
    url('./assets/preview-2026-10/monthly-race.png') right 48%/cover no-repeat,#111820;
}
#app .races-page .races-hero p{max-width:490px;color:#e1e8e4}

/* Rewards uses a matching image and one outline icon language. */
#app .rewards-page .rewards-hero{
  min-height:270px;padding:32px 38px;border-color:#b4ef5c55;
  background:linear-gradient(90deg,#111820 0%,#111820e8 39%,#11182085 62%,#1118200d 100%),
    url('./assets/preview-2026-10/rewards-hero.png') right center/cover no-repeat,#111820;
}
#app .rewards-page .rewards-hero>div{max-width:520px}
#app .rewards-page .rewards-hero p{color:#e1e7e0}
#app .reward-mark{width:30px;height:30px;flex:none;display:inline-grid;place-items:center;color:#a9ef3e}
#app .reward-mark svg{display:block;width:100%;height:100%}
#app .reward-tabs button{height:62px;gap:10px;background:#1b2630;border-color:#ffffff20}
#app .reward-tabs button.active{background:#243522;border-color:#a9ef3e;color:#d7ffad}
#app .reward-tabs .reward-mark{width:27px;height:27px}
#app .reward-feature{background:#1b2630;border-color:#ffffff20}
#app .reward-feature-art{background:radial-gradient(circle at 50% 50%,#a9ef3e2c 0%,#18242b 67%);border:1px solid #a9ef3e26}
#app .reward-feature-art .reward-mark{width:120px;height:120px;color:#c5ff83;filter:drop-shadow(0 0 16px #a9ef3e42)}
#app .reward-link .reward-mark{width:34px;height:34px}
#app .site-rail .rail-promo-children .reward-mark{width:24px;height:24px;color:#b9ef82}

/* Keep the poker art in the same charcoal / lime world as the site. */
#app .poker-intro .poker-lobby{
  border-color:#b4ef5c55;
  background:url('./assets/preview-2026-10/poker-neon.png') center center/cover no-repeat,#111820;
}
#app .poker-intro .poker-lobby:before{
  background:linear-gradient(90deg,#10171ef0 0%,#10171eb5 33%,#10171e3b 63%,transparent 82%);
}
#app .poker-intro .poker-frame-bar{background:#111820c9}

@media(max-width:700px){
  #app .promo-hub-page .promos-hero{min-height:260px;padding:26px 22px;background-position:70% center}
  #app .vip-hub-page .promos-hero{background-position:66% center}
  #app .promo-hub-page .promo-cards img{height:185px}
  #app .vip-page{padding:15px 12px 65px}
  #app .vip-hero{min-height:315px;background:linear-gradient(90deg,#101820f7 0%,#101820e8 53%,#10182079 100%),url('./assets/preview-2026-10/vip-rewards.png') 68% center/auto 112% no-repeat,#101820}
  #app .vip-hero-copy{padding:25px 21px;max-width:100%}
  #app .vip-hero h1{font-size:3.1rem}
  #app .vip-hero p{max-width:310px;font-size:.84rem}
  #app .vip-hero-actions a{min-width:0;padding:9px 12px;font-size:.75rem}
  #app .vip-section-heading{display:block}
  #app .vip-section-heading>p{margin-top:5px}
  #app .vip-benefits{grid-template-columns:1fr;gap:8px}
  #app .vip-benefits article{min-height:0;padding:16px 18px}
  #app .vip-benefits h3{margin-top:8px}
  #app .vip-transfer{align-items:flex-start;flex-direction:column;padding:20px}
  #app .races-page .races-hero{min-height:230px;padding:24px;background-position:68% center}
  #app .rewards-page .rewards-hero{min-height:230px;padding:22px;background-position:66% center}
  #app .rewards-page .rewards-hero>div{max-width:73%}
  #app .rewards-page .rewards-hero p{font-size:.72rem}
  #app .reward-tabs button{height:66px;gap:3px}
  #app .reward-feature-art .reward-mark{width:92px;height:92px}
  #app .poker-intro .poker-lobby{background-position:66% center}
  #app .poker-intro .poker-lobby:before{background:linear-gradient(90deg,#10171ef5 0%,#10171edb 55%,#10171e55 100%)}
}
