/* Appearance controls for the shared HITBUX public layout. */
body.hb-ui #headerInner li.hb-public-theme-item {
  display:inline-flex;
  align-items:center;
  vertical-align:middle;
  margin:0 0 0 5px;
  padding:0;
}
body.hb-ui .hb-public-theme-toggle {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:none;
  width:38px;
  height:38px;
  padding:0;
  color:#e9f2fb;
  background:#254664;
  border:1px solid #54799b;
  border-radius:8px;
  font-size:16px;
  line-height:1;
  cursor:pointer;
}
body.hb-ui .hb-public-theme-toggle:hover { background:#315678; }
body.hb-ui .hb-public-theme-toggle:focus-visible { outline:2px solid #a4d3ff; outline-offset:2px; }
body.hb-ui .hb-mobile-toggle-wrap:has(> .hb-public-theme-toggle) {
  display:inline-flex;
  align-items:center;
  gap:6px;
}

html.hb-public-dark { color-scheme:dark; background:#111e2c; }
html.hb-public-dark body.hb-ui {
  --hd-bg:#111e2c;
  --hd-surface:#192b3d;
  --hd-raised:#223b53;
  --hd-border:#36506a;
  --hd-text:#e9f2fb;
  --hd-muted:#b6cadd;
  --hd-link:#a4d3ff;
  --hd-nav:#101f30;
  --hd-primary:#1b4c77;
  --hd-shadow:0 2px 8px rgba(0,0,0,.2);
  --hb-ink:var(--hd-text);
  --hb-muted:var(--hd-muted);
  --hb-line:var(--hd-border);
  --hb-blue:var(--hd-link);
  background-color:var(--hd-bg)!important;
  background-image:none!important;
  color:var(--hd-text);
}
html.hb-public-dark body.hb-ui::before { background-image:none!important; }
.hb-public-dark .hb-ui :is(header.header,.hb-mobile-navbar,.hb-mobile-drawer) {
  background:var(--hd-nav)!important;
  color:var(--hd-text);
  border-color:var(--hd-border)!important;
}
.hb-public-dark .hb-ui :is(#headerInner,.hb-mobile-header) a { color:var(--hd-text)!important; }
.hb-public-dark .hb-ui :is(#headerInner,.hb-mobile-header) a:hover { color:var(--hd-link)!important; }
.hb-public-dark .hb-ui :is(#content,#colLeft,.hb-view,#footer) { color:var(--hd-text); }
.hb-public-dark .hb-ui :is(#content,#footer,.modal-content) a:not(.btn):not(.hb-button) { color:var(--hd-link); }
.hb-public-dark .hb-ui :is(#content,#footer,.modal-content) a:not(.btn):not(.hb-button):hover { color:#d5ecff; }
.hb-public-dark .hb-ui :is(#content,.modal-content) :is(h1,h2,h3,h4,h5,h6,legend) { color:var(--hd-text); }
.hb-public-dark .hb-ui :is(#content,.modal-content) :is(small,.text-muted,.help-block,.form-text) { color:var(--hd-muted); }

.hb-public-dark .hb-ui :is(
  .hb-card,.content_bar,.content_bar_chain,.postBox,.card,.rightBox,.leftBox,
  .leftSiteSatat,.leftprofiles,.hb-account-card,.hb-cabinet-menu,.hb-right-card,
  .hb-right-panel,.hb-banner-card,.banner3_style,.hb-online-card,.hb-klink-card,
  .hb41-feature,.hb43-users-card,.hb48-users-banner,.chain_a,.children-catalog,
  .hb-doc-nav,.hb-unified-doc-header,.hb-awards-rules,.news-mess-block,.textPreview,
  .bonus24h-fon,.prem,.bonus24h-table-right,#form_reg,.modal-content,.dropdown-menu,
  .popover,.well,.list-group-item,.panel,.bbcode-panel-forum-post
) {
  background-color:var(--hd-surface)!important;
  background-image:none!important;
  border-color:var(--hd-border)!important;
  color:var(--hd-text);
  box-shadow:var(--hd-shadow);
}
.hb-public-dark .hb-ui :is(
  .hb-online-title,.hb-right-title,.hb-left-banner-title,.card-header,.panel-heading,
  .modal-header,.modal-footer,.text_title,.news_navigation-page,.input-group-addon,
  .nav-tabs .nav-link.active,.hb-mobile-profile,.button-banner-468-add
) {
  background:var(--hd-raised)!important;
  border-color:var(--hd-border)!important;
  color:var(--hd-text);
}
.hb-public-dark .hb-ui :is(.hb41-welcome,.h2-title-header) {
  background:linear-gradient(125deg,#1b4c77,#223b53)!important;
  border-color:var(--hd-border)!important;
  color:var(--hd-text)!important;
}
.hb-public-dark .hb-ui :is(.hb-online-label,.hb41-welcome-text,.hb41-feature p,.news-mess-text) { color:var(--hd-text)!important; }
.hb-public-dark .hb-ui :is(.hb-online-count,.hb41-welcome-title,.hb41-feature h2,.hb41-feature h3) { color:var(--hd-link)!important; }

.hb-public-dark .hb-ui :is(.hb-table,.table,.blueTable,.standartTable) {
  background:var(--hd-surface)!important;
  color:var(--hd-text);
  border-color:var(--hd-border)!important;
}
.hb-public-dark .hb-ui :is(.hb-table,.table,.blueTable,.standartTable) :is(thead,th,td,tr) {
  background-color:transparent;
  color:var(--hd-text);
  border-color:var(--hd-border)!important;
}
.hb-public-dark .hb-ui :is(.hb-table,.table,.blueTable,.standartTable) :is(thead th,th) {
  background:var(--hd-raised)!important;
  color:var(--hd-text)!important;
}
.hb-public-dark .hb-ui :is(.hb-table,.table,.blueTable,.standartTable) tbody tr:nth-child(even) { background-color:#1d3247; }
.hb-public-dark .hb-ui :is(.hb-table,.table,.blueTable,.standartTable) td:not([bgcolor]):not([style*="background"]) { background-color:transparent!important; }

.hb-public-dark .hb-ui :is(.form-control,.custom-select,select,textarea,input:not([type]),input[type="text"],input[type="email"],input[type="password"],input[type="tel"],input[type="number"],input[type="search"],input[type="url"]) {
  background:var(--hd-surface)!important;
  border-color:var(--hd-border)!important;
  color:var(--hd-text)!important;
  box-shadow:none;
}
.hb-public-dark .hb-ui :is(input,textarea)::placeholder { color:var(--hd-muted); opacity:1; }
.hb-public-dark .hb-ui :is(input,textarea,select,.hb-public-theme-toggle):focus-visible { outline:2px solid var(--hd-link); outline-offset:1px; }
.hb-public-dark .hb-ui :is(.btn-secondary,.btn-default,.btn-outline-primary,.btn-outline-secondary,.page-link,.dropdown-item) {
  background:var(--hd-raised)!important;
  color:var(--hd-text)!important;
  border-color:var(--hd-border)!important;
}
.hb-public-dark .hb-ui :is(.btn-secondary,.btn-default,.btn-outline-primary,.btn-outline-secondary,.page-link,.dropdown-item):hover {
  background:#2b5275!important;
  color:#fff!important;
}
.hb-public-dark .hb-ui .alert { background:var(--hd-raised)!important; color:var(--hd-text)!important; border-color:var(--hd-border)!important; }
.hb-public-dark .hb-ui :is(.alert-success,.alert-success2) { background:#23463d!important; border-color:#41705f!important; }
.hb-public-dark .hb-ui :is(.alert-warning,.alert-warning2) { background:#4d402b!important; border-color:#866d44!important; }
.hb-public-dark .hb-ui :is(.alert-danger,.alert-danger2) { background:#512e3a!important; border-color:#865360!important; }
.hb-public-dark .hb-ui :is(.alert,.modal-content) .close { color:var(--hd-text); text-shadow:none; }
.hb-public-dark .hb-ui #hitbux-cookie { background:var(--hd-surface)!important; color:var(--hd-text)!important; border-color:var(--hd-border)!important; }
.hb-public-dark .hb-ui #hitbux-cookie a { color:var(--hd-link); }

/* Legacy modules carry their own foreground colors and bright backgrounds. */
.hb-public-dark .hb-ui :is(.leftSiteSatat,.hb-left-banner-title,.hb41-feature-text,.hb43-users-card,.hb43-users-title,.testDrive-one-title,.catalog_title,.earnings_text,.news-mess-title,.ref-top-places,.ref-top-places-padding,.description-of-topics,.number-of-topics,.number-of-messages,.last-post-forum-data,.hb-ticket-reply__text,.time_mess_msg) {
  color:var(--hd-text)!important;
}
.hb-public-dark .hb-ui :is(.leftSiteSatat,.hb41-feature,.hb43-users-card,.testDrive-one-title,.textPreview,.hb-klink-card,#hitbux-cookie,.hb-honour-card) :is(strong,b,div,p,span):not(.fa),
.hb-public-dark .hb-ui :is(#hb-honour-awards,#hb-awards-faq,.hb-module-rules .postBox,.hb-module-faq .postBox) :is(p,li,strong,font) {
  color:var(--hd-text)!important;
}
.hb-public-dark .hb-ui :is(.chain_a .show_chain2,.hb-klink-card .list-group-item-heading,.last-post-forum-username,.title-of-topics,.last-post-forum-title,.Table-ref-contests-wrt font) { color:var(--hd-link)!important; }
.hb-public-dark .hb-ui :is(.news-like-sum-title,.likes-catalog) { color:#ffa3af!important; }
.hb-public-dark .hb-ui .hb41-welcome-art {
  mask-image:linear-gradient(to right,transparent 0%,transparent 12%,#000 82%);
  opacity:.62;
}
.hb-public-dark .hb-ui .hb41-welcome-copy { text-shadow:0 1px 3px #101f30; }
.hb-public-dark .hb-ui .hb41-welcome-title strong { color:var(--hd-text)!important; }
.hb-public-dark .hb-ui :is(.hb-news-hero,.hb-forum-hero,.hb41-btn,.btn-primary,.btn-info,.topMenuRightAUTH a) { border-color:var(--hd-border); }
.hb-public-dark .hb-ui :is(.hb-news-hero,.hb-forum-hero,.hb41-btn,.btn-primary,.btn-info) {
  background:#245d90!important;
  color:#fff!important;
}
.hb-public-dark .hb-ui :is(.hb41-green .hb41-btn,.btn-success) { background:#246444!important; color:#fff!important; }
.hb-public-dark .hb-ui :is(.hb41-orange .hb41-btn,.btn-warning) { background:#86501e!important; color:#fff!important; }
.hb-public-dark .hb-ui :is(.btn-danger) { background:#9a3946!important; color:#fff!important; }
.hb-public-dark .hb-ui :is(.hb41-btn,.btn-primary,.btn-info,.btn-success,.btn-warning,.btn-danger):hover { filter:brightness(1.13); }
.hb-public-dark .hb-ui :is(.hb-online-count,.hb-news-label,.hb-forum-label,.hb-forum-rules-link,.news-forum-open,.news-time-icon,.contakt-title-left) {
  background:var(--hd-raised)!important;
  border-color:var(--hd-border)!important;
  color:var(--hd-link)!important;
}
.hb-public-dark .hb-ui :is(.hb-reg-details,.hb-bonus-rule,.hb-action-participants,.action-top-circumstances,.ref-competition-show-text,#hb-awards-faq,
  .hb-ticket-reply,.in_mess_text_support,.in_mess_text_support_user,.bbcode-panel-support,.wrap_read_chat_top,.wrap_read_chat) {
  background:var(--hd-surface)!important;
  border-color:var(--hd-border)!important;
  color:var(--hd-text)!important;
}
.hb-public-dark .hb-ui :is(.in_mess_text_support_user,.hb-ticket-reply__head,.bbcode-panel-support,.hb-doc-nav li,.hb-module-rules .postBox li,.hb-module-faq .postBox li) {
  background:var(--hd-raised)!important;
  border-color:var(--hd-border)!important;
  color:var(--hd-text)!important;
}
.hb-public-dark .hb-ui :is(.in_mess_text_support,.in_mess_text_support_user) a { color:var(--hd-link)!important; }
.hb-public-dark .hb-ui :is(.wrap_read_chat,.hb-ticket-reply,.hb-account-card,.hb-cabinet-menu) :is(h2,h3,h4,label,p,small,strong) { color:var(--hd-text)!important; }
.hb-public-dark .hb-ui :is(.hb-module-login,.hb-module-registration) :is(label,.Reg_ref-open-button,.input-checkbox-reg-fix,.textPreview p) { color:var(--hd-text)!important; }
html.hb-public-dark body.hb-ui :is(#hb-login-form,#form_reg),
html.hb-public-dark body.hb-ui :is(#hb-login-form,#form_reg) :is(input:not([type="checkbox"]):not([type="submit"]):not([type="hidden"]),.input-group) {
  background:var(--hd-surface)!important;
  border-color:var(--hd-border)!important;
  color:var(--hd-text)!important;
}
.hb-public-dark .hb-ui #hitbux-cookie .hitbux-cookie__actions a { background:var(--hd-raised)!important; color:var(--hd-link)!important; }
.hb-public-dark .hb-ui :is(.hb54-main,.hb54-bottom) { background-color:var(--hd-nav); color:var(--hd-text); }
.hb-public-dark .hb-ui #footer :is(h3,h4,strong,small,.hb54-title) { color:var(--hd-text); }

/* Keep the existing mobile navigation and theme controls in the same row. */
body.hb-ui .hb-mobile-topline .hb-mobile-toggle-wrap:has(> .hb-public-theme-toggle) {
  display:inline-flex!important;
  flex-direction:row;
  align-items:center;
  gap:6px;
}
html.hb-public-dark body.hb-ui #colRight .hb-banner-card :is(.hb-left-banner-title,.add_turquoise_text),
html.hb-public-dark body.hb-ui #colleft-men .hb-right-card :is(.testDrive-one-title,.list-group-item-heading,.list-group-item-text) {
  color:var(--hd-link)!important;
}
html.hb-public-dark body.hb-ui #colRight .hb-banner-card a:has(.add_turquoise_text) {
  background:var(--hd-raised)!important;
  border-color:var(--hd-border)!important;
}
html.hb-public-dark body.hb-ui #headerInner .topMenuRightAUTH a { color:#fff!important; }
html.hb-public-dark body.hb-ui #headerInner .topMenuRightAUTH a:has(.glyphicon-plus),
html.hb-public-dark body.hb-ui #headerInner .topMenuRightAUTH a[href="/registration"] { background:#246444!important; }
html.hb-public-dark body.hb-ui #colLeft :is(#hb-login-form,#form_reg) :is(#capcha,.input-group) {
  background:var(--hd-surface)!important;
  color:var(--hd-text)!important;
  border-color:var(--hd-border)!important;
}
html.hb-public-dark body.hb-ui #colLeft :is(#hb-login-form,#form_reg) label,
html.hb-public-dark body.hb-ui #colLeft .hb-reg-details summary,
html.hb-public-dark body.hb-ui #colLeft :is(.news-time-date,.hb-bonus-word-new) {
  color:var(--hd-text)!important;
}
html.hb-public-dark body.hb-ui #colLeft :is(.hb-table,.Table-ref-contests-wrt) td[style*="color"] { color:var(--hd-text)!important; }
html.hb-public-dark body.hb-ui #colLeft .hb-module-rules .alert { background:var(--hd-raised)!important; }
html.hb-public-dark body.hb-ui #colLeft .hb-module-rules .alert.alert-success2 { background:#23463d!important; }
html.hb-public-dark body.hb-ui #colLeft .hb-module-rules .alert :is(span,p,b,strong) { color:var(--hd-text)!important; }
html.hb-public-dark body.hb-ui #colLeft .faq-heading { background:var(--hd-primary)!important; color:var(--hd-text)!important; }
html.hb-public-dark body.hb-ui #colLeft .faq-heading font { color:var(--hd-text)!important; }

html.hb-public-dark body.hb-ui.hb-page-action #colLeft .hb-table td { color:var(--hd-text)!important; }
html.hb-public-dark body.hb-ui #colLeft :is(.hb-module-login,.hb-module-registration) .postBox h2:has(a),
html.hb-public-dark body.hb-ui #colLeft .hb-module-faq .postBox > center:has(font) {
  background:linear-gradient(125deg,#1b4c77,#223b53)!important;
}
html.hb-public-dark body.hb-ui #colLeft .hb-module-rules :is(.alert,.alert-heading) { color:var(--hd-text)!important; }

/* Public dark mode: cabinet, winter decoration and legacy module states. */
html.hb-public-dark body.hb-ui.hb-winter {
  background-image:url(../images/seasons/hb-winter-frost.svg)!important;
  background-position:left 65px!important;
  background-size:clamp(120px,18vw,280px) auto!important;
  background-repeat:no-repeat!important;
}
html.hb-public-dark body.hb-ui.hb-winter::before {
  background-image:url(../images/seasons/hb-winter-frost.svg)!important;
}
html.hb-public-dark body.hb-ui #colRight .hb-cabinet-menu :is(.hb-menu-link,.hb-menu-label,.hb-menu-icon,.hb-online-prefix) {
  color:var(--hd-link)!important;
}
html.hb-public-dark body.hb-ui #colRight .hb-cabinet-menu .hb-menu-link:is(:hover,:focus-visible,:active) {
  background:var(--hd-raised)!important;
  color:var(--hd-text)!important;
}
html.hb-public-dark body.hb-ui #colRight .hb-cabinet-menu .hb-menu-title { border-color:var(--hd-border)!important; }
html.hb-public-dark body.hb-ui #colRight :is(.hb-account-card,.hb-account-title,.hb-auth-banner-card,.hb-auth-banner-title,.hb-auth-banner-stage),
html.hb-public-dark body.hb-ui #colleft-men .hb-board-design :is(.board_panel,.board_panel_top,.board_panel_bottom) {
  background:var(--hd-surface)!important;
  color:var(--hd-text)!important;
  border-color:var(--hd-border)!important;
}
html.hb-public-dark body.hb-ui #colRight .hb-account-card :is(.hb-account-caption,.hb-account-value,.hb-rating-wheel-inner,.hb-rating-wheel-inner span,.hb-rating-wheel-inner strong),
html.hb-public-dark body.hb-ui #colleft-men .hb-board-design :is(.board_login,.board_completion,.board_rate,.board_bank) {
  color:var(--hd-link)!important;
}
html.hb-public-dark body.hb-ui #colRight .hb-account-card .hb-rating-wheel-inner,
html.hb-public-dark body.hb-ui #colRight .hb-account-actions a,
html.hb-public-dark body.hb-ui #colRight .hb-auth-banner-card .add_turquoise,
html.hb-public-dark body.hb-ui #colleft-men .hb-board-design :is(.board_money,.board_up) {
  background:var(--hd-raised)!important;
  color:var(--hd-link)!important;
  border-color:var(--hd-border)!important;
}
html.hb-public-dark body.hb-ui #colRight .hb-auth-banner-card .add_turquoise_text { color:var(--hd-link)!important; }
html.hb-public-dark body.hb-ui #colLeft .hb41-feature .hb41-icon { background:#245d90!important; box-shadow:none!important; }
html.hb-public-dark body.hb-ui #colLeft .hb41-green .hb41-icon { background:#246444!important; }
html.hb-public-dark body.hb-ui #colLeft .hb41-orange .hb41-icon { background:#86501e!important; }
html.hb-public-dark body.hb-ui #colLeft .chain .chain_a:is(:hover,:focus-visible),
html.hb-public-dark body.hb-ui #colleft-men .hb-klink-card:is(:hover,:focus-visible) {
  background:var(--hd-raised)!important;
  border-color:#79b9f4!important;
  box-shadow:inset 0 0 0 1px #79b9f4,0 0 10px rgba(67,150,230,.20)!important;
}
html.hb-public-dark body.hb-ui #colLeft .hb-module-news-news .news-like .fa-heart {
  background:#392b3a!important;
  border-color:#694454!important;
  color:#ffa3af!important;
}
html.hb-public-dark body.hb-ui #colLeft .hb-module-news-news .news-like:is(:hover,:focus-within) .fa-heart {
  background:#512e3a!important;
  color:#ffd0d8!important;
}

html.hb-public-dark body.hb-ui #colLeft :is(.hb-forum-skin,.hb-module-status,.hb-module-bonus-bonus) .hb-table tbody tr:is(:hover,:active,:focus-within) {
  background:var(--hd-raised)!important;
}
html.hb-public-dark body.hb-ui #colLeft :is(.hb-forum-skin,.hb-module-status,.hb-module-bonus-bonus) .hb-table tbody tr:is(:hover,:active,:focus-within) > td {
  background:var(--hd-raised)!important;
  color:var(--hd-text)!important;
}
html.hb-public-dark body.hb-ui #colLeft .hb-forum-skin :is(.navname,.forum-home-icon,.forum-post-user-status,.hb-rank-top-label) {
  background:var(--hd-raised)!important;
  border-color:var(--hd-border)!important;
  color:var(--hd-link)!important;
}
html.hb-public-dark body.hb-ui #colLeft .hb-module-forum-posts .PostTable tbody td {
  background:var(--hd-surface)!important;
  color:var(--hd-text)!important;
  border-color:var(--hd-border)!important;
}
html.hb-public-dark body.hb-ui #colLeft .hb-module-forum-posts .forum_msg,
html.hb-public-dark body.hb-ui #colLeft .hb-module-forum-posts .forum_msg :is(p,div,span,font) {
  color:var(--hd-text);
}
html.hb-public-dark body.hb-ui #colLeft .hb-module-forum-posts .forum_msg a { color:var(--hd-link); }
html.hb-public-dark body.hb-ui #colLeft .hb-module-forum-posts .forum_msg :is(blockquote,pre) {
  background:var(--hd-raised);
  color:var(--hd-text);
  border-color:var(--hd-border);
}
html.hb-public-dark body.hb-ui #colLeft .hb-module-catalog-catalog :is(.wrap_catalog_site,.wrap_catalog_mes,.catalog_mes_title,.catalog_mes_bot_panel) {
  background:var(--hd-surface)!important;
  border-color:var(--hd-border)!important;
  color:var(--hd-text)!important;
}
html.hb-public-dark body.hb-ui #colLeft .hb-module-catalog-catalog :is(.catalog_mes_title,.catalog_mes_bot_panel) {
  background:var(--hd-raised)!important;
  color:var(--hd-link)!important;
}
html.hb-public-dark body.hb-ui #colLeft .wrap_catalog_mes :is(p,span,div):not(.catalog_mes_title):not(.catalog_mes_bot_panel) { color:var(--hd-text); }
html.hb-public-dark body.hb-ui #colLeft .wrap_catalog_mes a { color:var(--hd-link)!important; }
html.hb-public-dark body.hb-ui #colLeft .hb-module-bonus-bonus :is(.hb-daily-bonus-progress,.div-display-flex > div,#hb-bonus-info-dialog,.hb-bonus-info-body,.hb-bonus-info-footer) {
  background:var(--hd-surface)!important;
  border-color:var(--hd-border)!important;
  color:var(--hd-text)!important;
}
html.hb-public-dark body.hb-ui #colLeft .hb-daily-bonus-progress .hb-complete { color:#8edbb4!important; }
html.hb-public-dark body.hb-ui #colLeft .hb-daily-bonus-progress a { color:var(--hd-link)!important; }
html.hb-public-dark body.hb-ui #colLeft .hb-module-status :is(.hb-status-info-card,.hb-career-table) {
  background:var(--hd-surface)!important;
  border-color:var(--hd-border)!important;
  color:var(--hd-text)!important;
}
html.hb-public-dark body.hb-ui #colLeft .hb-module-status :is(.hb-status-info-card li,.hb-status-info-card li span,#info_reg_1 li,.standartTable td:first-child,.standartTable td:first-child span) {
  color:var(--hd-text)!important;
}
html.hb-public-dark body.hb-ui #colLeft .hb-module-status :is(.status-title-left,.status-title-right,.status-money-title-left) {
  color:var(--hd-link)!important;
}

html.hb-public-dark body.hb-ui #colRight .hb-account-card .hb-rating-wheel::before,
html.hb-public-dark body.hb-ui #colRight .hb-account-card .hb-rating-hover {
  background:var(--hd-raised)!important;
  color:var(--hd-text)!important;
  border-color:var(--hd-border)!important;
}
html.hb-public-dark body.hb-ui #colLeft .hb-forum-skin .hb-table a:is(:hover,:focus-visible) {
  color:#d5ecff!important;
}
html.hb-public-dark body.hb-ui #colLeft .wrap_catalog_site .catalog-time-add { color:var(--hd-muted)!important; }
html.hb-public-dark body.hb-ui #colLeft .wrap_catalog_site .catalog-likes { color:#ffa3af!important; }

/* Public dark mode: shared tables and signed-in cabinet modules. */
html.hb-public-dark body.hb-ui #colLeft :is(.hb-table,.standartTable,.blueTable,.hb-extra-table,.hb-payments-table,.work-serf) :is(thead th,thead td,tbody th) {
  background:var(--hd-raised)!important;
  color:var(--hd-text)!important;
  border-color:var(--hd-border)!important;
}
html.hb-public-dark body.hb-ui #colLeft :is(.hb-table,.standartTable,.blueTable,.hb-extra-table,.hb-payments-table,.work-serf) tbody > tr {
  background:var(--hd-surface)!important;
  color:var(--hd-text)!important;
}
html.hb-public-dark body.hb-ui #colLeft :is(.hb-table,.standartTable,.blueTable,.hb-extra-table,.hb-payments-table,.work-serf) tbody > tr:nth-child(even) { background:#1d3247!important; }
html.hb-public-dark body.hb-ui #colLeft :is(.hb-table,.standartTable,.blueTable,.hb-extra-table,.hb-payments-table,.work-serf) tbody > tr > td {
  background:transparent!important;
  color:var(--hd-text)!important;
  border-color:var(--hd-border)!important;
}
html.hb-public-dark body.hb-ui #colLeft :is(.hb-table,.standartTable,.blueTable,.hb-extra-table,.hb-payments-table,.work-serf) tbody > tr:is(:hover,:active,:focus-within),
html.hb-public-dark body.hb-ui #colLeft :is(.hb-table,.standartTable,.blueTable,.hb-extra-table,.hb-payments-table,.work-serf) tbody > tr:is(:hover,:active,:focus-within) > td {
  background:var(--hd-raised)!important;
  color:var(--hd-text)!important;
}
html.hb-public-dark body.hb-ui #colLeft :is(.hb-table,.standartTable,.blueTable,.hb-extra-table,.hb-payments-table,.work-serf) tbody a:not(.btn) { color:var(--hd-link)!important; }
html.hb-public-dark body.hb-ui #colLeft :is(.hb-table,.standartTable,.blueTable,.hb-extra-table,.hb-payments-table,.work-serf) tbody a:not(.btn):is(:hover,:focus-visible) { color:#d5ecff!important; }
html.hb-public-dark body.hb-ui #colLeft :is(.hb-top-tabs,.hb-stat-nav,.hb-referral-nav,.hb-serf-menu) a:is(:hover,:focus-visible,:active),
html.hb-public-dark body.hb-ui #colLeft :is(.hb-extra-stat-toggle,.hb-payments-toggle,.hb-pay-accordion-toggle,.hb-top-toggle):is(:hover,:focus-visible,:active) {
  background:var(--hd-raised)!important;
  color:var(--hd-text)!important;
  border-color:#79b9f4!important;
}
html.hb-public-dark body.hb-ui #colLeft :is(.hb-module-action-action .Table-ref-contests-wrt,.hb-module-action-action .ref-top-places,.hb-module-action-action .ref-top-places-padding,.hb-module-action-action .hb-action-participants,.hb-module-action-action .hb-action-history,.hb-top-table-area,
.hb-events-shell,.hb-events-item,.hb-events-empty,.hb-basket-shell,.hb-basket-intro,.hb-basket-empty,.row-basket .card,.hb-ym-card,
.hb-module-pay-advertising .hb-adv-description,.hb-module-pay-advertising .payuser_panel,.hb-module-pay-payuser .payuser_panel,
.hb-module-pay-payuser .div_centralizator_offtext,.hb-ref-autoback-panel,.referrals-top-panel,.hb-ref-metrics,.hb-history-table-scroll,
.hb-extra-stat-card,.hb-extra-stat-content,.hb-stat-primary,.hb-stat-secondary,.hb-pay-chart-card,.hb-pay-table-wrap,.hb-pay-accordion-body,.hb-payments-body) {
  background:var(--hd-surface)!important;
  color:var(--hd-text)!important;
  border-color:var(--hd-border)!important;
  box-shadow:var(--hd-shadow)!important;
}
html.hb-public-dark body.hb-ui #colLeft :is(.hb-module-action-action .ref-competition-show-text,.hb-module-action-action .ref-top-places,.hb-module-action-action .ref-top-places-padding):is(:hover,:active,:focus-within) {
  background:var(--hd-raised)!important;
  color:var(--hd-text)!important;
}
html.hb-public-dark body.hb-ui #colLeft :is(.hb-events-item,.row-basket .card):hover { border-color:#79b9f4!important; }
html.hb-public-dark body.hb-ui #colLeft :is(.hb-events-item,.hb-events-empty,.hb-basket-shell,.hb-basket-empty,.hb-basket-intro,.row-basket) :is(p,.hb-events-text,.hb-events-title,.hb-basket-empty__title,.hb-basket-empty__text,.card-title,.card-text,.color-basket-list) { color:var(--hd-text)!important; }
html.hb-public-dark body.hb-ui #colLeft :is(.hb-events-date,.hb-events-badgeicon,.hb-basket-empty__icon,.hb-module-basket-premium .hb-ym-badge,.hb-module-pay-advertising .input-group-addon,.hb-module-pay-payuser .input-group-addon,.hb-pie-legend-item,.hb-top-legend-pill,.hb-extra-stat-toggle,.hb-pay-accordion-toggle,.hb-payments-toggle,.hb-pay-mini,.hb-top-tabs a:not(.active),.hb-stat-nav a:not(.hb-stat-active),.hb-referral-nav a:not(.active)) {
  background:var(--hd-raised)!important;
  color:var(--hd-link)!important;
  border-color:var(--hd-border)!important;
}
html.hb-public-dark body.hb-ui #colLeft :is(.hb-events-hero,.hb-basket-hero,.hb-top-hero,.hb-pay-hero) { background:linear-gradient(125deg,#1b4c77,#223b53)!important; }
html.hb-public-dark body.hb-ui #colLeft :is(.hb-top-table-area,.hb-module-referrals-referrals,.hb-module-profiles-mstatistic,.hb-module-pay-advertising,.hb-module-pay-payuser,.hb-module-dynlink-show) :is(.top-username,.top-symm,.top-symm-text,.top-symm-point,.number-top-other,.top-number-fix,.hb-v,.hb-extra-stat-title,.hb-extra-stat-sub,.hb-pay-chart-title,.hb-pay-chart-sub,.payuser_input,.smoolgray_ult,.smoolgray_ult_one,.desctext,label) { color:var(--hd-text)!important; }
html.hb-public-dark body.hb-ui #colLeft :is(.hb-module-pay-advertising,.hb-module-pay-payuser) :is(.payuser_input,.input-group) {
  background:var(--hd-surface)!important;
  color:var(--hd-text)!important;
  border-color:var(--hd-border)!important;
}
html.hb-public-dark body.hb-ui .hb-account-popover :is(.open-accaunt-status,.open-accaunt-status-edit,.acn_form_exit) {
  background:var(--hd-surface)!important;
  color:var(--hd-text)!important;
  border-color:var(--hd-border)!important;
}
html.hb-public-dark body.hb-ui .hb-account-popover { background:var(--hd-surface)!important; border-color:var(--hd-border)!important; }
html.hb-public-dark body.hb-ui .hb-account-popover .acn_form_exit .btn-outline-danger {
  background:#512e3a!important;
  border-color:#865360!important;
  color:#ffc5cc!important;
}
html.hb-public-dark body.hb-ui .hb-account-popover .acn_form_exit .btn-outline-danger:is(:hover,:focus-visible) { background:#6b3745!important; }
html.hb-public-dark body.hb-ui #colRight .hb-account-card .hb-account-title { color:var(--hd-text)!important; }

/* Account balance and payment forms. */
html.hb-public-dark body.hb-ui.hb-auth #colRight .hb-account-card .hb-account-title {
  color:#e9f2fb!important;
}
html.hb-public-dark body.hb-ui.hb-auth #colRight .hb-account-card :is(.iconButton_money,.iconButton_adv) {
  color:#a4d3ff!important;
}
html.hb-public-dark body.hb-ui.hb-auth #colRight .hb-account-card .hb-account-rating {
  background:#223b53!important;
  border-color:#36506a!important;
}
html.hb-public-dark body.hb-ui.hb-auth #colRight .hb-account-card .hb-account-actions a:is(:hover,:focus-visible,:active) {
  background:#2b5275!important;
  color:#fff!important;
  border-color:#79b9f4!important;
}
html.hb-public-dark body.hb-ui.hb-auth #colRight .hb-account-card .hb-account-actions a:is(:hover,:focus-visible,:active) .glyphicon { color:inherit!important; }
html.hb-public-dark body.hb-ui #colLeft .hb-module-pay-advertising #amount_replenishment,
html.hb-public-dark body.hb-ui #colLeft .hb-module-pay-payuser #payuser_summ {
  background:#192b3d!important;
  color:#e9f2fb!important;
  border-color:#36506a!important;
}
html.hb-public-dark body.hb-ui #colLeft :is(.hb-module-pay-advertising .hb-adv-description p,.hb-module-pay-payuser .textPreview,.hb-module-pay-payuser .textPreview p,.hb-module-pay-payuser .card-title,.hb-module-pay-payuser .input-group-addon) { color:#e9f2fb!important; }
html.hb-public-dark body.hb-ui #colLeft .hb-module-pay-payuser .card-text { color:#b6cadd!important; }
html.hb-public-dark body.hb-ui #colLeft .hb-module-pay-payuser .card-footer {
  background:#223b53!important;
  color:#b6cadd!important;
  border-color:#36506a!important;
}

/* Signed-in navigation and legacy cabinet surfaces. */
html.hb-public-dark body.hb-ui.hb-auth #colLeft :is(.hb-global-contest-tab:not(.active),.hb-history-tab:not(.active),.nav-link:not(.active),.hb-serf-menu .btn-outline-warning,.hb-advertising-tabs .btn-outline-warning,.hb-manager-nav .btn-outline-warning,.hb-advertising-tabs .btn-outline-secondary) {
  background:#223b53!important;
  color:#e9f2fb!important;
  border-color:#36506a!important;
}
html.hb-public-dark body.hb-ui.hb-auth #colLeft :is(.hb-history-tab,.hb-global-contest-tab,.nav-link,.hb-advertising-tabs a,.hb-manager-nav a,.hb-serf-menu a):is(:hover,:focus-visible,:active) {
  background:#2b5275!important;
  color:#fff!important;
  border-color:#79b9f4!important;
}
html.hb-public-dark body.hb-ui.hb-auth #colLeft :is(
.hb-advertising-tabs,.hb-manager-nav,.div_form,.div_form .select,.show_geo,.formPrice,.bbcode_panel,.prev_bbcode,.tabreclama,
.profile-edit-block,.profile-edit-block-right,#hb-ref-history,.hb-ref-title,.hb-ref-autoback-panel,.pred-mail-ref,.type-delivery-price,.ref-links-menu,.ref-links-menu-title,.ref-links-textarea,
.chat-online-user,.chat-online-title,.chat-online-block,.chat-group-post,.bbcode-panel-chat-post,.hb-promo-panel,.hb-chat-shell,.hb-bot-message,.hb-suggestion,.hb-contact-available,
.hb-quest-history-summary,.hb-pay-accordion,.hb-pay-label,.hb-pay-badge,.hb-pay-accordion-count,.hb-basket-counter__value,.hb-events-counter__value) {
  background:#192b3d!important;
  color:#e9f2fb!important;
  border-color:#36506a!important;
  box-shadow:0 2px 8px rgba(0,0,0,.2)!important;
}
html.hb-public-dark body.hb-ui.hb-auth #colLeft :is(.div_form,.hb-ref-autoback-panel,.hb-module-referrals-referrals,.profile-edit-block,.profile-edit-block-right,.hb-module-referrals-banners) :is(.hb-control,#autoback,#searchname,#ref-link,#title,#description,#url,#restriction24,#addavatar) {
  background:#192b3d!important;
  color:#e9f2fb!important;
  border-color:#36506a!important;
}
html.hb-public-dark body.hb-ui.hb-auth #colLeft :is(.hb-module-referrals-greeting,.hb-module-referrals-mailing) .form-group,
html.hb-public-dark body.hb-ui.hb-auth #colLeft :is(.hb-module-referrals-open-referrals,.hb-module-vkontakte-show,.hb-module-youtube-show,.hb-module-payments) :is(.alert-info,.card-footer,.card-title),
html.hb-public-dark body.hb-ui.hb-auth #colLeft .content_bar .card-footer {
  background:#223b53!important;
  color:#e9f2fb!important;
  border-color:#36506a!important;
}
html.hb-public-dark body.hb-ui.hb-auth #colLeft :is(.hb-global-contest-tab.active,.hb-history-tab.active,.hb-module-history-history .nav-link.active) { background:#245d90!important; color:#fff!important; border-color:#477ba9!important; }
html.hb-public-dark body.hb-ui.hb-auth #colLeft :is(.tabreclama,.hb-manager-nav,.hb-module-referrals-banners) :is(.control_edit,.control_del,.control_up,.control_ban,.add_pay_control,.add_epay_control,.maddm,.btn_stop,.img_click,.task_good,.a_control,.btn-outline-success) {
  background:#223b53!important;
  color:#a4d3ff!important;
  border-color:#36506a!important;
}
html.hb-public-dark body.hb-ui.hb-auth #colLeft .tabreclama :is(.control_del,.btn_stop) { color:#ffb6bf!important; }
html.hb-public-dark body.hb-ui.hb-auth #colLeft :is(.hb-v59-heading,.hb-pay-chart-title,.hb-pay-mini span,.clickprice,.hb-openref-fee,.all-users-free-block,.mess_info_user_name,.mess_end_user_name,.vk_name_user,.ch_online_name,.hb-support-label) {
  color:#b6cadd!important;
}
html.hb-public-dark body.hb-ui.hb-auth #colLeft .hb-stat-primary :is(#earnings_summ1,#earnings_summ3) { color:#e9f2fb!important; }
html.hb-public-dark body.hb-ui.hb-auth #colLeft :is(.hb-official-page,.hb-module-tickets-add-tickets,.hb-promo-panel,.hb-daily-bonus-progress,.hb-payments-body,.hb-pay-chart-card) :is(h3,p,li,small) { color:#e9f2fb!important; }
html.hb-public-dark body.hb-ui.hb-auth #colLeft :is(.card .card-text,.hb-chat-shell :is(strong,small,.hb-online),.hb-module-referrals-open-referrals .tag-success) { color:#b6cadd!important; }
html.hb-public-dark body.hb-ui.hb-auth #colLeft :is(.hb-daily-bonus-progress .hb-complete,.hb-module-referrals-open-referrals .tag-success) { color:#a1e8c1!important; }
html.hb-public-dark body.hb-ui.hb-auth #colLeft :is(.hb-module-referrals-open-referrals .tag-success,.hb-official-icon,.hb-support-secondary,.hb-contact-button,.add_geo,.hb-chat-secondary,.btn_box_big,.btn_box_big_yloveu,.ref-links-textarea button) {
  background:#223b53!important;
  color:#a4d3ff!important;
  border-color:#36506a!important;
}
html.hb-public-dark body.hb-ui.hb-auth #colLeft :is(.hb-module-history-history,.hb-module-referrals-referrals,.hb-module-referrals-greeting,.hb-module-referrals-mailing) .postBox a:not(.btn) { color:#a4d3ff!important; }
html.hb-public-dark body.hb-ui.hb-auth.hb-page-hb_quest #colLeft :is(.hub,.hbq-unlock,li.muted,button) {
  background:#192b3d!important;
  color:#e9f2fb!important;
  border-color:#36506a!important;
}
html.hb-public-dark body.hb-ui.hb-auth.hb-page-hb_quest #colLeft li.muted small { color:#b6cadd!important; }

/* Account statistics chart and remaining cabinet controls. */
html.hb-public-dark body.hb-ui.hb-auth #colLeft :is(.hb-media-nav a:not(.active),.hb-module-history-history .postBox > div[style*="background:#f7fbff"],.hb-pay-chart-card #graph-area,.hb-pay-total24,.div_form button.btn-outline-secondary) {
  background:#223b53!important;
  color:#e9f2fb!important;
  border-color:#36506a!important;
}
html.hb-public-dark body.hb-ui.hb-auth #colLeft :is(.hb-pay-chart-sub,.hb-pay-mini strong,.hb-pay-total24 strong,.hb-pay-total24 .icon,.profile-edit-securiti,.profile-edit-right,.profile-edit-info,.div_form .select .text,.hbq-step-text,.hb-page-hb_quest .hub strong,.hb-page-hb_quest .hub span,.hb-promo-label,#allmsgchat,#hb-show-rating span) { color:#b6cadd!important; }
html.hb-public-dark body.hb-ui.hb-auth #colLeft :is(.hb-pay-mini strong,.hb-pay-total24 strong,.hbq-step-text) { color:#e9f2fb!important; }
html.hb-public-dark body.hb-page-hb_quest #colLeft .hub :is(strong,span) { color:#e9f2fb!important; }
html.hb-public-dark body.hb-ui.hb-auth #colLeft .tabreclama :is(.control_vip,.control_standart) { background:#223b53!important; color:#a4d3ff!important; border-color:#36506a!important; }
html.hb-public-dark body.hb-ui #colLeft .hb-pay-chart-card #graph-area :is(.highcharts-axis-labels text,.highcharts-axis-title) { fill:#b6cadd!important; color:#b6cadd!important; }
html.hb-public-dark body.hb-ui #colLeft .hb-pay-chart-card #graph-area .highcharts-grid-line { stroke:#456078!important; }
html.hb-public-dark body.hb-ui #colLeft .hb-pay-chart-card #graph-area .highcharts-graph { stroke:#83c1ff!important; }
html.hb-public-dark body.hb-ui #colLeft .hb-pay-chart-card #graph-area .highcharts-area { fill:#5c9fe8!important; fill-opacity:.24; }
html.hb-public-dark body.hb-ui #colLeft .hb-pay-chart-card #graph-area .highcharts-markers .highcharts-point { fill:#a4d3ff!important; stroke:#223b53!important; }
