
/* ==========================================================
   THE BOOMING MARKETS
   PUBLIC MARKET INTELLIGENCE TICKER V1
   ========================================================== */

#tbm-public-news {
  background:
    linear-gradient(
      145deg,
      rgba(11, 17, 25, 0.99),
      rgba(5, 9, 14, 0.99)
    );

  border-bottom:
    1px solid rgba(212, 168, 60, 0.24);

  border-top:
    1px solid rgba(212, 168, 60, 0.12);

  overflow: hidden;
  position: relative;
  width: 100%;
  z-index: 20;
}

#tbm-public-news::after {
  background:
    radial-gradient(
      circle,
      rgba(220, 172, 55, 0.07),
      transparent 70%
    );

  content: "";
  height: 170px;
  pointer-events: none;
  position: absolute;
  right: -90px;
  top: -105px;
  width: 170px;
}


.tbm-public-news-head {
  align-items: center;
  border-bottom:
    1px solid rgba(255, 255, 255, 0.045);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1240px;
  padding: 9px 20px;
  position: relative;
  z-index: 2;
}


.tbm-public-news-brand {
  align-items: center;
  display: flex;
  gap: 11px;
}


.tbm-public-news-live {
  align-items: center;
  background: rgba(255, 74, 74, 0.08);
  border:
    1px solid rgba(255, 74, 74, 0.22);
  border-radius: 999px;
  color: #ff7373;
  display: inline-flex;
  font-size: 9px;
  font-weight: 900;
  gap: 6px;
  letter-spacing: 0.1em;
  padding: 5px 9px;
}


.tbm-public-news-live i {
  animation:
    tbmPublicNewsPulse 1.7s ease-in-out infinite;

  background: #ff6262;
  border-radius: 50%;
  box-shadow:
    0 0 8px rgba(255, 80, 80, 0.8);
  height: 6px;
  width: 6px;
}


@keyframes tbmPublicNewsPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.75);
  }
}


.tbm-public-news-brand strong {
  color: #e8bd50;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}


.tbm-public-news-status {
  align-items: center;
  color: #637185;
  display: flex;
  font-size: 9px;
  gap: 6px;
}


.tbm-public-news-status i {
  background: #54d79e;
  border-radius: 50%;
  height: 5px;
  width: 5px;
}


.tbm-public-news-viewport {
  overflow: hidden;
  position: relative;
  width: 100%;
}


.tbm-public-news-track {
  align-items: stretch;
  display: flex;
  min-width: max-content;
  transform: translateZ(0);
  will-change: transform;
}


.tbm-public-news-track.is-running {
  animation:
    tbmPublicNewsScroll
    var(--tbm-public-news-duration, 170s)
    linear
    infinite;
}


#tbm-public-news:hover
.tbm-public-news-track.is-running {
  animation-play-state: paused;
}


@keyframes tbmPublicNewsScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}


.tbm-public-news-item {
  align-items: center;
  border-right:
    1px solid rgba(255, 255, 255, 0.055);
  color: #d3dae4;
  display: flex;
  flex: none;
  gap: 11px;
  min-height: 50px;
  padding: 8px 19px;
  text-decoration: none;
  transition:
    background 160ms ease,
    color 160ms ease;
  white-space: nowrap;
}


.tbm-public-news-item:hover {
  background:
    rgba(226, 178, 57, 0.055);
  color: #ffffff;
}


.tbm-public-news-impact {
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.07em;
  padding: 4px 7px;
}


.tbm-public-news-impact.high {
  background: rgba(255, 76, 76, 0.08);
  border-color:
    rgba(255, 76, 76, 0.22);
  color: #ff7474;
}


.tbm-public-news-impact.medium {
  background:
    rgba(225, 171, 47, 0.08);
  border-color:
    rgba(225, 171, 47, 0.22);
  color: #e9bd50;
}


.tbm-public-news-impact.low {
  background:
    rgba(82, 205, 156, 0.07);
  border-color:
    rgba(82, 205, 156, 0.17);
  color: #69d2aa;
}


.tbm-public-news-symbol {
  color: #e6b943;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: 0.055em;
}


.tbm-public-news-title {
  font-size: 11.5px;
  font-weight: 700;
}


.tbm-public-news-source {
  color: #596678;
  font-size: 8.5px;
}


.tbm-public-news-loading {
  color: #758294;
  font-size: 10px;
  min-height: 50px;
  padding: 17px 20px;
}


@media (max-width: 760px) {

  .tbm-public-news-head {
    padding:
      8px 13px;
  }

  .tbm-public-news-brand strong {
    font-size: 10px;
  }

  .tbm-public-news-status {
    display: none;
  }

  .tbm-public-news-item {
    gap: 8px;
    min-height: 47px;
    padding:
      7px
      13px;
  }

  .tbm-public-news-title {
    font-size: 10.5px;
  }

  .tbm-public-news-source {
    display: none;
  }

  .tbm-public-news-impact {
    font-size: 7.5px;
  }

  .tbm-public-news-symbol {
    font-size: 8.5px;
  }
}

/* ==========================================================
   TBM PUBLIC NEWS TICKER READABILITY V2
   ========================================================== */

.tbm-public-news-head {
  padding: 11px 20px;
}

.tbm-public-news-live {
  font-size: 10px;
  padding: 6px 10px;
}

.tbm-public-news-brand strong {
  font-size: 13px;
}

.tbm-public-news-status {
  font-size: 10px;
}

.tbm-public-news-item {
  gap: 12px;
  min-height: 58px;
  padding: 10px 21px;
}

.tbm-public-news-impact {
  font-size: 9.5px;
  padding: 5px 8px;
}

.tbm-public-news-symbol {
  font-size: 11px;
}

.tbm-public-news-title {
  font-size: 14px;
  font-weight: 750;
}

.tbm-public-news-source {
  font-size: 10px;
}

.tbm-public-news-loading {
  font-size: 12px;
  min-height: 58px;
  padding: 19px 21px;
}

@media (max-width: 760px) {

  .tbm-public-news-head {
    padding: 9px 13px;
  }

  .tbm-public-news-brand strong {
    font-size: 11px;
  }

  .tbm-public-news-item {
    min-height: 53px;
    padding: 9px 14px;
  }

  .tbm-public-news-title {
    font-size: 12px;
  }

  .tbm-public-news-symbol {
    font-size: 9.5px;
  }

  .tbm-public-news-impact {
    font-size: 8.5px;
  }
}


/* ==========================================================
   TBM HIGH IMPACT ALERT PULSE V1
   ========================================================== */

.tbm-public-news-impact.high {
  animation:
    tbmHighImpactPulse 1.15s ease-in-out infinite;

  box-shadow:
    0 0 0 rgba(255, 82, 82, 0);
}

@keyframes tbmHighImpactPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow:
      0 0 0 rgba(255, 82, 82, 0);
  }

  50% {
    opacity: 0.55;
    transform: scale(1.06);
    box-shadow:
      0 0 12px rgba(255, 82, 82, 0.32);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tbm-public-news-impact.high {
    animation: none;
  }
}


/* ==========================================================
   TBM HIGH IMPACT — BRIGHT GERMAN RED V2
   ========================================================== */

.tbm-public-news-impact.high {
  background: #DD0000 !important;
  border-color: #ff3131 !important;
  color: #ffffff !important;

  font-weight: 950 !important;

  box-shadow:
    0 0 8px rgba(221, 0, 0, 0.65),
    0 0 18px rgba(221, 0, 0, 0.28);

  animation:
    tbmGermanRedHighPulse 1.15s ease-in-out infinite !important;
}

@keyframes tbmGermanRedHighPulse {

  0%,
  100% {
    background: #DD0000;
    border-color: #ff3b3b;
    opacity: 1;
    transform: scale(1);

    box-shadow:
      0 0 8px rgba(221, 0, 0, 0.65),
      0 0 18px rgba(221, 0, 0, 0.28);
  }

  50% {
    background: #ff1010;
    border-color: #ff6868;
    opacity: 0.82;
    transform: scale(1.07);

    box-shadow:
      0 0 12px rgba(255, 16, 16, 0.9),
      0 0 25px rgba(221, 0, 0, 0.48);
  }
}

@media (prefers-reduced-motion: reduce) {

  .tbm-public-news-impact.high {
    animation: none !important;
  }

}

