/* CrouchJump shell palette for Sngine's existing day/night switch.
   These overrides are limited to night mode; day mode keeps the site's
   normal light surfaces and configured accent color. */
body.vikinger-theme.night-mode .header {
  color: #e2e8f0;
  background-color: #131622 !important;
  border-bottom: 1px solid #1f2438 !important;
}

body.vikinger-theme.night-mode.vikinger-page {
  background-color: #0e111a !important;
}

body.vikinger-theme.night-mode .header .menu-main-item-link,
body.vikinger-theme.night-mode .header .header-actions,
body.vikinger-theme.night-mode .header .header-actions a,
body.vikinger-theme.night-mode .header .header-actions button,
body.vikinger-theme.night-mode .header .header-actions i {
  color: #cbd5e1;
}

body.vikinger-theme.night-mode .header .search-bar input,
body.vikinger-theme.night-mode .header .header-search-input {
  color: #e2e8f0;
  background-color: #1c2033 !important;
  border-color: #272e47 !important;
}

body.vikinger-theme.night-mode .header .search-bar input::placeholder,
body.vikinger-theme.night-mode .header .header-search-input::placeholder {
  color: #94a3b8;
}

body.vikinger-theme.night-mode .header .header-settings-dropdown,
body.vikinger-theme.night-mode .header .header-dropdown,
body.vikinger-theme.night-mode .header .header-search-dropdown {
  color: #e2e8f0;
  background-color: #171b2d !important;
  border-color: #282f4c !important;
}

body.vikinger-theme.night-mode #navigation-widget-small,
body.vikinger-theme.night-mode #navigation-widget,
body.vikinger-theme.night-mode #navigation-widget-mobile {
  color: #e2e8f0;
  background-color: #111422 !important;
  border-color: #1e2338 !important;
}

body.vikinger-theme.night-mode #navigation-widget-small .menu-item-link,
body.vikinger-theme.night-mode #navigation-widget .menu-item-link,
body.vikinger-theme.night-mode #navigation-widget-mobile .menu-item-link {
  color: #94a3b8 !important;
  border-color: transparent !important;
}

body.vikinger-theme.night-mode #navigation-widget-small .menu-item-link:hover,
body.vikinger-theme.night-mode #navigation-widget-small .menu-item-link:focus-visible,
body.vikinger-theme.night-mode #navigation-widget .menu-item-link:hover,
body.vikinger-theme.night-mode #navigation-widget .menu-item-link:focus-visible,
body.vikinger-theme.night-mode #navigation-widget-mobile .menu-item-link:hover,
body.vikinger-theme.night-mode #navigation-widget-mobile .menu-item-link:focus-visible {
  color: #e2e8f0 !important;
  background-color: #1c2033 !important;
}

body.vikinger-theme.night-mode #navigation-widget .navigation-widget-info,
body.vikinger-theme.night-mode #navigation-widget-mobile .navigation-widget-info,
body.vikinger-theme.night-mode #navigation-widget .navigation-widget-section,
body.vikinger-theme.night-mode #navigation-widget-mobile .navigation-widget-section {
  color: #94a3b8;
  border-color: #1e2338 !important;
}

body.vikinger-theme.night-mode #chat-widget-messages,
body.vikinger-theme.night-mode #chat-widget-messages .chat-sidebar-content,
body.vikinger-theme.night-mode #chat-widget-messages .chat-widget-form,
body.vikinger-theme.night-mode #chat-widget-messages .chat-widget-message {
  color: #e2e8f0;
  background-color: #111422 !important;
  border-color: #1e2338 !important;
}

body.vikinger-theme.night-mode #chat-widget-messages input,
body.vikinger-theme.night-mode #chat-widget-messages textarea {
  color: #e2e8f0;
  background-color: #1c2033 !important;
  border-color: #272e47 !important;
}

body.vikinger-theme.night-mode #chat-widget-messages input::placeholder,
body.vikinger-theme.night-mode #chat-widget-messages textarea::placeholder {
  color: #94a3b8;
}

body.vikinger-theme.night-mode :focus-visible {
  outline-color: #38bdf8;
}
