/* FESTIVAL_THEME_MANAGER_20261031_V1: decoration only; inactive mode restores original rules. */
html[data-festival-active] {
  --festival-desktop: none;
  --festival-mobile: none;
  --festival-popup: none;
  --festival-footer: none;
  --festival-scene: var(--festival-desktop);
}
html[data-festival-active] body main.login-page,
html[data-festival-active] body main.play-page {
  background-color: rgb(14,5,24) !important;
  background-image: linear-gradient(rgba(14,5,24, .16), rgba(14,5,24, .16)), var(--festival-scene) !important;
  background-size: 100% 100%, cover !important;
  background-position: center, center !important;
  background-repeat: no-repeat !important;
  background-attachment: scroll, fixed !important;
}
html[data-festival-active] body main.play-page .flow-wallet-page,
html[data-festival-active] body main.play-page .promotion-page,
html[data-festival-active] body main.play-page .affiliate-page,
html[data-festival-active] body main.play-page .wallet-page,
html[data-festival-active] body main.play-page .profile-page,
html[data-festival-active] body main.play-page .transaction-history-page,
html[data-festival-active] body main.play-page .bet-history-page,
html[data-festival-active] body main.play-page .promotion-history-page,
html[data-festival-active] body main.play-page .credit-history-page {
  background-color: rgb(14,5,24) !important;
  background-image: linear-gradient(rgba(14,5,24, .20), rgba(14,5,24, .20)), var(--festival-scene) !important;
  background-size: 100% 100%, cover !important;
  background-position: center, center !important;
  background-repeat: no-repeat !important;
  background-attachment: scroll, fixed !important;
}
html[data-festival-active] body main.play-page .play-member-drawer,
html[data-festival-active] body main.play-page .wallet-withdraw-modal,
html[data-festival-active] body main.play-page .password-modal,
html[data-festival-active] body main.play-page .transaction-detail-card,
html[data-festival-active] body main.play-page .deposit-rules-modal,
html[data-festival-active] body [role="dialog"][aria-labelledby="add-member-bank-title"] {
  background-color: rgb(14,5,24) !important;
  background-image: linear-gradient(rgba(14,5,24, .76), rgba(14,5,24, .76)), var(--festival-popup) !important;
  background-size: 100% 100%, cover !important;
  background-position: center, center !important;
  background-repeat: no-repeat !important;
  background-attachment: scroll, scroll !important;
}
html[data-festival-active] body main.play-page .play-member-drawer {
  background-color: rgb(14,5,24) !important;
  background-image: linear-gradient(rgba(14,5,24, .72), rgba(14,5,24, .72)), var(--festival-mobile) !important;
  background-size: 100% 100%, cover !important;
  background-position: center, center !important;
  background-repeat: no-repeat !important;
  background-attachment: scroll, scroll !important;
}
html[data-festival-active] body main.play-page .promotion-detail-modal,
html[data-festival-active] body main.play-page .promotion-detail-content,
html[data-festival-active] body main.play-page .promotion-detail-footer {
  background-color: rgb(252,249,255) !important;
  background-image: linear-gradient(rgba(252,249,255, .84), rgba(252,249,255, .84)), var(--festival-popup) !important;
  background-size: 100% 100%, cover !important;
  background-position: center, center !important;
  background-repeat: no-repeat !important;
  background-attachment: scroll, scroll !important;
}
html[data-festival-active] body main.play-page .login-alert-modal,
html[data-festival-active] body main.play-page .login-alert-rich,
html[data-festival-active] body main.play-page .login-alert-modal > footer {
  background-color: rgb(250,252,255) !important;
  background-image: linear-gradient(rgba(250,252,255, .88), rgba(250,252,255, .88)), var(--festival-popup) !important;
  background-size: 100% 100%, cover !important;
  background-position: center, center !important;
  background-repeat: no-repeat !important;
  background-attachment: scroll, scroll !important;
}
html[data-festival-active] body main.play-page .wallet-state,
html[data-festival-active] body main.play-page .affiliate-state,
html[data-festival-active] body main.play-page .transaction-history-state,
html[data-festival-active] body main.play-page .affiliate-section-title,
html[data-festival-active] body main.play-page .affiliate-date { color: #eee9f6 !important; }
html[data-festival-active] body main.play-page .wallet-state.error,
html[data-festival-active] body main.play-page .affiliate-state.error,
html[data-festival-active] body main.play-page .transaction-history-state.error { color: #ffb8c6 !important; }
html[data-festival-active] body main.login-page::before { background-image: none; }
html[data-festival-active] body main.login-page .aurora { opacity: .08; }
@media (max-width: 760px) {
  html[data-festival-active] { --festival-scene: var(--festival-mobile); }
  html[data-festival-active] body main.play-page .play-bottom-nav {
  background-color: rgb(14,5,24) !important;
  background-image: linear-gradient(rgba(14,5,24, .82), rgba(14,5,24, .82)), var(--festival-footer) !important;
  background-size: 100% 100%, cover !important;
  background-position: center bottom, center bottom !important;
  background-repeat: no-repeat !important;
  background-attachment: scroll, scroll !important;
  }
}
