.ce-nt-ticker{
  width:100%;
  background: var(--ce-nt-bg);
  color: var(--ce-nt-text);
  height: var(--ce-nt-height);
  display:flex;
  align-items:center;
  overflow:hidden;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  box-sizing:border-box;
}

.ce-nt-label{
  flex:0 0 auto;
  height: calc(var(--ce-nt-height) - 12px);
  margin-left: 10px;
  margin-right: 12px;
  padding: 0 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: var(--ce-nt-accent);
  color: #0b1220;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 12px;
  border-radius: 8px;
  text-transform: uppercase;
}

.ce-nt-viewport{
  position:relative;
  flex: 1 1 auto;
  overflow:hidden;
  height:100%;
  display:flex;
  align-items:center;
}

.ce-nt-track{
  display:flex;
  align-items:center;
  gap: var(--ce-nt-gap);
  will-change: transform;
  animation: ce-nt-marquee-left var(--ce-nt-duration) linear infinite;
}

.ce-nt-ticker[data-dir="right"] .ce-nt-track{
  animation-name: ce-nt-marquee-right;
}

.ce-nt-list{
  display:flex;
  align-items:center;
  gap: var(--ce-nt-gap);
  list-style:none;
  padding:0;
  margin:0;
  white-space:nowrap;
}

.ce-nt-item{
  display:flex;
  align-items:center;
  gap: 10px;
  font-size: var(--ce-nt-font);
  line-height: 1;
  white-space:nowrap;
}

.ce-nt-icon{
  width: 18px;
  height: 18px;
  object-fit: contain;
  border-radius: 4px;
  flex: 0 0 auto;
}

.ce-nt-dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.6);
  flex: 0 0 auto;
}

.ce-nt-text{
  color: var(--ce-nt-text);
  text-decoration: none;
}

.ce-nt-text:hover{
  text-decoration: underline;
}

.ce-nt-ticker[data-pause="1"]:hover .ce-nt-track{
  animation-play-state: paused;
}

/* Keyframes: translate the track by 50% because we duplicate content in JS */
@keyframes ce-nt-marquee-left{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes ce-nt-marquee-right{
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
