[hidden] {
  display: none !important;
}

.faithful-native-language {
  width: 1px;
  height: 1px;
  position: fixed;
  top: -10000px;
  left: -10000px;
}

.faithful-modal-open {
  overflow: hidden;
}

.faithful-modal, .faithful-language-modal {
  z-index: 10800;
  background: #00000080;
  justify-content: center;
  align-items: center;
  padding: 24px;
  display: flex;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.faithful-modal > section, .faithful-language-modal > section {
  color: #19252b;
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 48px);
  padding: 32px;
  overflow: auto;
}

.faithful-modal h2, .faithful-language-modal h2 {
  margin: 0 0 20px;
  font-size: 26px;
  line-height: 1.3;
}

.faithful-modal p {
  margin: 16px 0 24px;
  font-size: 16px;
  line-height: 1.7;
}

.faithful-modal button, .faithful-language-modal button {
  color: #26383d;
  cursor: pointer;
  background: #eef3f4;
  border: 0;
  border-radius: 8px;
  padding: 8px 16px;
}

.faithful-modal section > button:first-child, .faithful-language-modal section > button:first-child {
  float: right;
  font-size: 24px;
}

.faithful-language-grid {
  grid-gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  display: grid;
}

.faithful-language-grid a {
  color: #202a30;
  border: 1px solid #e7ebed;
  border-radius: 6px;
  padding: 12px 10px;
  font-size: 14px;
  text-decoration: none;
}

.faithful-language-grid a[aria-current] {
  background: #e8f8f7;
  border-color: #47beba;
}

.faithful-static-footer {
  color: #75838b;
  text-align: center;
  background: #f5f6f7;
  margin: 0;
  padding: 20px 24px;
  font: 12px / 1.7 Arial, sans-serif;
}

.faithful-drawer-active {
  opacity: 1 !important;
  pointer-events: auto !important;
}

body:not(.is-nav-opened) [data-section-id^="drawer--"] {
  pointer-events: none;
}

[data-section-id^="drawer--"] a {
  text-decoration: none;
}

.faithful-header-desktop {
  display: block;
}

.faithful-header-mobile {
  display: none;
}

.faithful-fold-open {
  visibility: visible !important;
}

[class*="Accordion_accordionSummary"][aria-expanded="true"] + [class*="Collapse_root"] {
  visibility: visible;
}

[class*="AiPromo_video"] {
  object-fit: cover;
}

[class*="SidebarMenu_root"][aria-hidden="true"] {
  pointer-events: none;
}

[class*="SidebarMenu_root"][aria-hidden="false"] {
  pointer-events: auto;
}

@media (max-width: 1279px) {
  .faithful-header-desktop {
    display: none;
  }

  .faithful-header-mobile {
    display: block;
  }

  video[class*="AiPromo_video"] {
    display: none;
  }
}

@media (max-width: 600px) {
  .faithful-modal, .faithful-language-modal {
    padding: 12px;
  }

  .faithful-modal > section, .faithful-language-modal > section {
    max-height: calc(100vh - 24px);
    padding: 24px;
  }

  .faithful-language-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .anim-show * {
    animation-duration: .001ms !important;
  }
}

.faithful-faq-answer {
  padding: 0 0 24px;
  line-height: 1.7;
}

.faithful-faq-answer p + p {
  margin-top: 12px;
}

.faithful-source-modal {
  z-index: 10020;
  -webkit-backdrop-filter: blur(8px);
  background: #0000008c;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 20px;
  display: flex;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: auto;
}

.faithful-source-modal-content {
  background: #fff;
  border-radius: 12px;
  width: 100%;
  max-width: 1200px;
  min-height: 200px;
  padding: 40px 32px;
  position: relative;
}

.faithful-source-modal-close {
  float: right;
  z-index: 20;
  cursor: pointer;
  width: 44px;
  height: 44px;
  font-size: 30px;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
}

.faithful-tab-selected {
  color: #3152ec !important;
}

.faithful-currency-choices {
  z-index: 60;
  background: #fff;
  border-radius: 12px;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  max-height: 250px;
  padding: 12px;
  display: grid;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  overflow: auto;
  box-shadow: 0 8px 25px #0002;
}

.faithful-currency-choices input {
  border: 1px solid #ddd;
  border-radius: 8px;
  grid-column: 1 / -1;
  padding: 10px;
}

.faithful-currency-choices button {
  cursor: pointer;
  border-radius: 6px;
  padding: 8px;
}

.faithful-currency-choices button:hover {
  background: #eef1ff;
}

.faithful-tooltip {
  z-index: 10200;
  color: #fff;
  background: #151a1e;
  border-radius: 8px;
  width: 260px;
  max-width: 70vw;
  padding: 12px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  position: absolute;
  transform: translateX(-70%);
}

.faithful-year-range {
  accent-color: #111;
  cursor: pointer;
  width: 100%;
  height: 40px;
}

.faithful-history-unavailable {
  color: #888;
  text-align: center;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 32px;
  font-size: 14px;
  display: flex;
}

@media (max-width: 899px) {
  .faithful-source-modal {
    padding: 16px 10px;
  }

  .faithful-source-modal-content {
    padding: 20px 14px;
  }

  .faithful-currency-choices {
    grid-template-columns: repeat(3, 1fr);
  }
}

[class*="SidebarMenu_root"] {
  overflow: hidden;
}

.faithful-mobile-submenu[hidden] {
  display: none !important;
}

.faithful-mobile-submenu:not([hidden]) {
  visibility: visible !important;
  height: auto !important;
}

body.faithful-mobile-menu-open {
  width: 100%;
  position: fixed;
  overflow: hidden;
}

body.faithful-mobile-menu-open .bg-chat-widget {
  display: none !important;
}

[class*="SidebarMenu_content"] {
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

[class*="SidebarMenu_root"] [class*="HeaderMainMenu_navLink"] {
  white-space: normal;
  overflow-wrap: break-word;
}

[class*="SidebarMenu_root"] [class*="AuthButtons_root"] > a {
  white-space: normal;
  text-align: center;
  min-width: 0;
  height: auto;
  min-height: 44px;
}

.faithful-media-layer {
  pointer-events: none;
  z-index: 2;
  border-radius: inherit;
  max-width: none;
  display: block;
  position: absolute;
  overflow: hidden;
}

.faithful-native-chart-desktop, .faithful-native-chart-mobile, .faithful-history-pane {
  width: 100%;
  height: 100%;
}

.faithful-native-chart-mobile {
  display: none;
}

.faithful-native-svg {
  object-fit: fill;
  width: 100%;
  height: 100%;
  display: block;
}

.faithful-history-pane[hidden] {
  display: none !important;
}

[data-history-controls] {
  flex-wrap: wrap;
  max-width: 100%;
}

[data-native-history] .recharts-responsive-container {
  height: 100% !important;
}

[data-portfolio-graph] svg {
  overflow: visible;
}

.faithful-portfolio-tooltip {
  z-index: 4;
  pointer-events: none;
  background: #fff;
  border-radius: 6px;
  max-width: 85%;
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.7;
  position: absolute;
  box-shadow: 0 4px 20px #0002;
}

.faithful-asset-symbol {
  color: #27343a;
  background: #edf1f2;
  border-radius: 50%;
  flex: 0 0 32px;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  font: bold 9px Arial, sans-serif;
  display: inline-flex;
}

.faithful-article-table {
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
}

@media (max-width: 899px) {
  .faithful-native-chart-desktop {
    display: none;
  }

  .faithful-native-chart-mobile {
    display: block;
  }
}

html[data-project="nexo"] .grid > *, html[data-project="nexo"] .flex > * {
  min-width: 0;
}

html[data-project="nexo"] h1, html[data-project="nexo"] h2, html[data-project="nexo"] h3, html[data-project="nexo"] p {
  overflow-wrap: break-word;
  word-wrap: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.faithful-rating-row {
  flex-wrap: wrap;
}

.faithful-rating-row > * {
  min-width: 0;
  max-width: 100%;
}

.trustpilot-widget {
  max-width: 100%;
}

html[data-page-id^="support"] .nav-bar-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  row-gap: 8px;
  min-width: 0;
  max-width: 100%;
}

html[data-page-id^="support"] *, html[data-page-id^="support"] :before, html[data-page-id^="support"] :after {
  box-sizing: border-box;
}

@media (max-width: 899px) {
  html[data-project="nexo"] a[class*="c-button"], html[data-project="nexo"] button[class*="c-button"] {
    white-space: normal;
    text-align: center;
    min-height: 44px;
  }
}

html[data-project="bitsgap"] [class*="DemoTradingPromo_media"] {
  pointer-events: none;
}
