/* Canonical global palette for shared components; no route precondition. */
:root, :root[theme] {
  --theme-bg-color: #0A0E1A;
  --theme-template-color: #081D2A;
  --theme-header-color: #0B2636;
  --theme-sidebar-color: #081D2A;
  --theme-top-bar: #0B2636;
  --theme-main-color: #FFC43D;
  --theme-top-button: #FFC43D;
  --theme-text-button: #0A0E1A;
  --theme-tite-color: #F7F9FC;
  --theme-white-color: #F7F9FC;
  --theme-tips: #BFD0E0;
  --theme-darker-tips: #8198AB;
  --theme-default-icon: #BFD0E0;
  --theme-search-icon: #BFD0E0;
  --theme-line-color: #103348;
  --theme-light-line-color: #103348;
  --theme-float: #0B2636;
  --theme-money: #FFC43D;
  --theme-withdraw-money: #FFC43D;
  --theme-unclickable: #8198AB;
  --theme-error: #F87171;
  --theme-reduce-money: #F87171;
  --theme-rises-money: #62D69A;
  --theme-head-button-bg: #103348;
  --theme-head-button-text: #F7F9FC;
  --a6767-h5-shell-width:430px;
  --a6767-surface:#081D2A;
  --a6767-surface-raised:#0B2636;
  --a6767-border:#103348;
  --a6767-accent:#FFC43D;
  --a6767-text:#F7F9FC;
  --a6767-text-secondary:#BFD0E0;
}
/* Global portal contract: identical on all routes. */
:root body [class*="_modalBox_"]:has([class*="_ask_to_reload_"]) {
  background-color:rgba(1,5,12,.72)!important;
}
:root body [class*="_ask_to_reload_"] {
  position:relative;
  z-index:1;
  box-sizing:border-box;
  max-width:calc(100vw - 32px);
  overflow:hidden;
  border:1px solid rgba(128,164,199,.24);
  background:#101A2B!important;
  box-shadow:0 20px 52px rgba(0,0,0,.56),inset 0 1px rgba(255,255,255,.04);
  color:#F4F7FB;
  opacity:1;
}
:root body [class*="_ask_to_reload_"] [class*="_txt_"] {
  color:#F4F7FB!important;
  opacity:1;
  text-shadow:0 1px 1px rgba(0,0,0,.24);
}
:root body [class*="_ask_to_reload_"] [class*="_cancelBtn_"] {
  border-color:#58708C!important;
  background:#17243A!important;
  color:#F4F7FB!important;
  opacity:1;
}
:root body [class*="_ask_to_reload_"] [class*="_cancelBtn_"]:hover,
:root body [class*="_ask_to_reload_"] [class*="_cancelBtn_"]:focus-visible {
  border-color:#7893B1!important;
  background:#20314C!important;
  color:#FFF!important;
  outline:2px solid rgba(120,147,177,.38);
  outline-offset:2px;
}
:root body [class*="_ask_to_reload_"] [class*="_sureBtn_"] {
  border:1px solid #F5B93D!important;
  background:#F5B93D!important;
  color:#111721!important;
  font-weight:800!important;
  opacity:1;
}
:root body [class*="_ask_to_reload_"] [class*="_sureBtn_"]:hover,
:root body [class*="_ask_to_reload_"] [class*="_sureBtn_"]:focus-visible {
  border-color:#FFD46F!important;
  background:#FFD05F!important;
  color:#0B1018!important;
  outline:2px solid rgba(245,185,61,.36);
  outline-offset:2px;
}

