.BTM_title,
.BTM_button,
.BTM_smallTitle,
.BTM_body,
.BTM_gridTitle,
.BTM_gridSubTitle,
.BTM_gridBody,
.BTM_gridTitleRight,
.BTM_gridSubTitleRight,
.BTM_gridBodyRight {
  transition: opacity 0.6s ease, filter 0.6s ease;
}

.BTM_metaContainer {
  transition: opacity 0.3s ease;
  bottom: calc(
    clamp(23px, 1.1vw, 1.1vw) +
    var(--ticker-offset) +
    env(safe-area-inset-bottom)
  );
}

@media (min-width: 1024px) {
  .BTM_metaContainer {
    bottom: calc(
      clamp(18px, 1.2vw, 1.2vw) +
      var(--ticker-offset) +
      clamp(8px, 0.6vw, 0.6vw) +
      env(safe-area-inset-bottom)
    );
  }
}

.logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.Nav_brandLink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--nav-foreground, var(--color));
  transition: color 220ms ease, background-color 220ms ease;
  text-decoration: none;
}

.Nav_brandLink:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.Nav_brandLink:focus-visible .BinaryLogo {
  box-shadow:
    inset 0 0 0 1px currentColor,
    0 0 0 3px color-mix(in srgb, currentColor 30%, transparent);
}

.Nav_nav__links {
  display: inline-flex;
  align-items: center;
  gap: clamp(12px, 1.2vw, 18px);
  height: auto;
  padding-top: 0;
}

.Nav_nav__links .Nav_nav__link,
.NavAnimatedLogo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 5px 6px;
  border-radius: 3px;
  color: var(--nav-foreground, var(--color));
  font-family: var(--font-exposure);
  font-style: normal;
  font-weight: 400;
  text-align: center;
  leading-trim: both;
  text-edge: cap;
  white-space: nowrap;
}

.Nav_nav__links .Nav_nav__link {
  background: var(--nav-background, var(--backgroundColor));
  border: none;
  font-size: 12px;
  line-height: 100%; /* 12px */
  text-decoration: none;
}

.Nav_nav__link.Nav_nav__link--remix {
  appearance: none;
  background-color: transparent;
  border: 1px dashed currentColor;
  color: var(--nav-foreground, var(--color));
  cursor: pointer;
  font-family: var(--font-satoshi);
  font-size: 12px;
  font-style: italic;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  mix-blend-mode: intersect;
  transition: color 160ms ease-out, background-color 220ms ease-out, border-color 220ms ease-out;
}

.Nav_nav__link.Nav_nav__link--remix:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.NavAnimatedLogo {
  appearance: none;
  border: none;
  font-size: 10px;
  line-height: 100%; /* 10px */
  text-transform: none;
  cursor: pointer;
  user-select: none;
  background: transparent;
  transition: color 160ms ease-out, background-color 220ms ease-out;
}

.NavAnimatedLogo.NavAnimatedLogo--wacky,
.Nav_nav__link--remix.NavAnimatedLogo--wacky {
  animation: NavAnimatedLogo-wacky 520ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes NavAnimatedLogo-wacky {
  0% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    filter: none;
  }
  30% {
    transform: translate3d(0, -10px, 0) scale(1.18) rotate(-16deg);
    filter: hue-rotate(140deg) saturate(1.5);
  }
  60% {
    transform: translate3d(0, 8px, 0) scale(0.88) rotate(18deg);
    filter: hue-rotate(280deg) saturate(1.3);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    filter: none;
  }
}

.NavAnimatedLogo {
  color: var(--nav-foreground, var(--color));
  mix-blend-mode: intersect;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.NavAnimatedLogo__cluster {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2px, 0.35vw, 8px);
  color: inherit;
}

.NavAnimatedLogo__cluster[hidden] {
  display: none !important;
}

.NavAnimatedLogo__slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  width: auto;
  height: clamp(14px, 1.8vw, 22px);
  pointer-events: none;
}

.NavAnimatedLogo__slot svg {
  display: block;
  height: auto;
  stroke: currentColor;
  vector-effect: non-scaling-stroke;
  will-change: transform, filter;
  mix-blend-mode: inherit;
}

.NavAnimatedLogo__slot svg[data-fragment-index='0'] {
  stroke-width: 0.2px;
}

.NavAnimatedLogo__slot svg[data-fragment-index='1'] {
  stroke-width: 0.1px;
}

.NavAnimatedLogo__slot svg[data-fragment-index='2'] {
  stroke-width: 0.15px;
}

.NavAnimatedLogo__fallback {
  display: block;
  width: clamp(13px, 1.175vw, 20px);
  height: auto;
  mix-blend-mode: inherit;
}

.NavAnimatedLogo__fallbackHidden {
  display: none;
}

.BTM_comment .comment-text {
  display: inline;
}


.BinaryLogo {
  --binary-logo-cell-height: 12px; /* matches font size */
  --binary-logo-active-glow: color-mix(in srgb, var(--nav-foreground, var(--color)) 55%, transparent);
  display: inline-flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: inherit;
  font-family: var(--font-satoshi);
  font-weight: 500;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.02em;
  /*font-variant-numeric: tabular-nums;*/
  position: relative;
  mix-blend-mode: intersect;
  transition: box-shadow 220ms ease, background-color 220ms ease;
  top: 10px;
}

.BinaryLogo::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  transform: translate(-65%, -50%);
  background-color: color-mix(in srgb, var(--nav-foreground, var(--color)) 82%, transparent);
  -webkit-mask-image: url('../images/logo3.svg');
  mask-image: url('../images/logo3.svg');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  pointer-events: none;
  opacity: 0.8;
  mix-blend-mode: inherit;
  z-index: -1;
}

.BinaryLogo--active {
  box-shadow: none;
}

.BinaryLogo__column {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  height: var(--binary-logo-cell-height);
  border-radius: 0;
  overflow: hidden;
  position: relative;
  background: transparent;
  box-shadow: none;
  mix-blend-mode: inherit;
}

.BinaryLogo__column::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: transparent;
  mix-blend-mode: inherit;
}

.BinaryLogo__column[data-static='true'] {
  background: none;
  box-shadow: none;
}

.BinaryLogo__strip {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.BinaryLogo__cell {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--binary-logo-cell-height);
  /*min-width: var(--binary-logo-column-width);*/
  width: 100%;
  color: inherit;
  background-color: transparent;
  mix-blend-mode: inherit;
  user-select: none;
}

.BinaryLogo--active .BinaryLogo__cell {
  text-shadow: 0 0 18px color-mix(in srgb, var(--nav-foreground, var(--color)) 35%, transparent);
}

a[title="Copy"] {
  position: relative;
}

a[title="Copy"]::after {
  content: "";
  position: absolute;
  top: -140%;
  right: 0;
  padding: 6px 10px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--color) 95%, transparent);
  color: var(--backgroundColor);
  font-family: var(--font-body);
  font-size: clamp(10px, 0.65vw, 12px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

a[title="Copy"][data-copy-status="copied"]::after {
  content: "Copied";
  opacity: 1;
  transform: translateY(0);
}

.BTM_button[data-copy-indicator="copied"]::after,
.BTM_footerButton[data-copy-indicator="copied"]::after {
  content: '✓ Copied';
  margin-left: 8px;
  font-size: clamp(11px, 0.8vw, 13px);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0;
  opacity: 0.75;
  display: inline-block;
  vertical-align: middle;
}

.BTM_aLink[data-copy-indicator="copied"]::after {
  content: '✓';
  margin-left: 4px;
  font-family: var(--font-mono);
  font-size: clamp(11px, 0.75vw, 13px);
  opacity: 0.7;
  display: inline-block;
  vertical-align: middle;
}

.ticker {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  padding-bottom: env(safe-area-inset-bottom);
  pointer-events: auto;
  touch-action: pan-x;
  background: transparent;
  isolation: isolate;
  outline: none;
  cursor: pointer;
  color: var(--color);
}

.ticker__surface {
  position: relative;
  flex: 1 1 auto;
  height: var(--ticker-height);
  background-color: var(--ticker-surface-background, var(--backgroundColor));
  filter: saturate(1.05);
}

.ticker__surface::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--ticker-surface-foreground, var(--color));
  -webkit-mask-image: url("../images/ticker-mask.svg");
  mask-image: url("../images/ticker-mask.svg");
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
  -webkit-mask-size: auto 100%;
  mask-size: auto 100%;
  -webkit-mask-position: 0 50%;
  mask-position: 0 50%;
  -webkit-mask-mode: luminance;
  mask-mode: luminance;
  animation: ticker-scroll var(--ticker-duration) linear infinite;
  animation-delay: var(--ticker-animation-delay, 0s);
  animation-play-state: running;
  will-change: mask-position;
}

.ticker:hover .ticker__surface::after,
.ticker:focus-visible .ticker__surface::after,
.ticker--paused .ticker__surface::after {
  animation-play-state: paused;
}

.ticker:focus-visible {
  outline: 2px dashed color-mix(in srgb, var(--color) 55%, transparent);
  outline-offset: -3px;
}

.ticker--inverted {
  color: var(--backgroundColor);
}

.ticker--inverted .ticker__surface {
  background-color: var(--ticker-surface-foreground, var(--color));
}

.ticker--inverted .ticker__surface::after {
  background-color: var(--ticker-surface-background, var(--backgroundColor));
}

.ticker__alt {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@keyframes ticker-scroll {
  from {
    -webkit-mask-position: 0 50%;
    mask-position: 0 50%;
  }
  to {
    -webkit-mask-position: calc(-1 * var(--ticker-tile-width)) 50%;
    mask-position: calc(-1 * var(--ticker-tile-width)) 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker {
    cursor: default;
  }

  .ticker__surface::after {
    animation: none;
    -webkit-mask-position: 0 50%;
    mask-position: 0 50%;
  }
}

html.ticker-collapsed .ticker {
  display: none;
}

html.ticker-collapsed .BTM_metaContainer {
  bottom: calc(
    clamp(18px, 1.2vw, 1.2vw) +
    var(--bottom-nav-offset) +
    env(safe-area-inset-bottom)
  );
}

@media (min-width: 1024px) {
  html.ticker-collapsed .BTM_metaContainer {
    bottom: calc(
      clamp(18px, 1.2vw, 1.2vw) +
      var(--bottom-nav-offset) +
      env(safe-area-inset-bottom)
    );
  }
}
