:root {
  --bs-global-ticker-height:72px;
}

html.bs-global-ticker-ready body {
  padding-bottom:var(--bs-global-ticker-height) !important;
}

.bs-global-ticker {
  --ticker-coral:#ff7d8c;
  --ticker-blue:#75beff;
  --ticker-line:rgba(196,207,255,.14);
  position:fixed;
  z-index:850;
  right:0;
  bottom:0;
  left:0;
  height:72px;
  overflow:hidden;
  color:#f7f4ff;
  background:#07051a;
  border-top:1px solid rgba(140,188,255,.28);
  box-shadow:0 -12px 34px rgba(1,0,17,.42);
  font-family:"DM Sans","Poppins",sans-serif;
  transform:translateY(0);
  opacity:1;
  transition:transform .42s cubic-bezier(.2,.72,.2,1),opacity .3s ease;
  isolation:isolate;
  box-sizing:border-box;
}

.bs-global-ticker * { box-sizing:border-box; }

.bs-global-ticker::before {
  content:"";
  position:absolute;
  z-index:3;
  top:-1px;
  right:0;
  left:0;
  height:1px;
  background:linear-gradient(90deg,transparent,var(--ticker-coral),var(--ticker-blue),transparent);
  opacity:.7;
  pointer-events:none;
}

.bs-global-ticker[data-suppressed="true"] {
  transform:translateY(calc(100% + env(safe-area-inset-bottom)));
  opacity:0;
  pointer-events:none;
}

.bs-global-lanes {
  display:grid;
  height:100%;
  grid-template-rows:36px 36px;
}

.bs-global-lane {
  display:grid;
  grid-template-columns:108px minmax(0,1fr);
  min-width:0;
  height:36px;
  border-bottom:1px solid var(--ticker-line);
  background:linear-gradient(90deg,#0d0a25 0,#08061c 55%,#0b0921 100%);
}

.bs-global-lane--news {
  background:linear-gradient(90deg,#12091f 0,#09071c 48%,#080b21 100%);
  border-bottom:0;
}

.bs-global-label {
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  gap:8px;
  padding:0 15px;
  border-right:1px solid var(--ticker-line);
  background:rgba(8,6,29,.95);
  color:#d9d2e9;
  font-size:9px;
  font-weight:700;
  letter-spacing:1.35px;
  text-transform:uppercase;
  white-space:nowrap;
}

.bs-global-label::before {
  content:"";
  width:6px;
  height:6px;
  flex:0 0 auto;
  border-radius:50%;
  background:var(--ticker-blue);
  box-shadow:0 0 9px rgba(117,190,255,.7);
}

.bs-global-lane--news .bs-global-label::before {
  background:var(--ticker-coral);
  box-shadow:0 0 9px rgba(255,125,140,.65);
}

.bs-global-window {
  min-width:0;
  overflow:hidden;
  mask-image:linear-gradient(90deg,transparent,#000 18px,#000 calc(100% - 18px),transparent);
}

.bs-global-track {
  display:flex;
  width:max-content;
  height:100%;
  animation:bs-global-move var(--bs-track-duration,44s) linear infinite;
  will-change:transform;
}

.bs-global-lane--news .bs-global-track {
  animation-name:bs-global-move-reverse;
  animation-duration:var(--bs-track-duration,66s);
}

.bs-global-group {
  display:flex;
  align-items:center;
  height:100%;
  flex:0 0 auto;
}

.bs-global-item {
  display:flex;
  align-items:center;
  gap:9px;
  height:100%;
  padding:0 17px;
  border-right:1px solid rgba(196,207,255,.1);
  color:inherit;
  text-decoration:none;
  white-space:nowrap;
  font-size:11px;
  line-height:1;
  font-variant-numeric:tabular-nums;
}

.bs-global-symbol {
  color:#c3bdd3;
  font-size:10px;
  font-weight:600;
  letter-spacing:.45px;
}

.bs-global-price {
  color:#fff;
  font-weight:650;
}

.bs-global-change {
  color:var(--ticker-blue);
  font-size:10px;
}

.bs-global-change.is-down { color:var(--ticker-coral); }

.bs-global-headline::before {
  content:"";
  width:4px;
  height:4px;
  flex:0 0 auto;
  border-radius:50%;
  background:linear-gradient(135deg,var(--ticker-coral),var(--ticker-blue));
}

.bs-global-headline {
  color:#ded9ea;
  padding-inline:21px;
}

.bs-global-headline span {
  max-width:520px;
  overflow:hidden;
  text-overflow:ellipsis;
}

.bs-global-item:hover,
.bs-global-item:focus-visible {
  color:#fff;
  background:rgba(255,255,255,.055);
  outline:0;
}

.bs-global-ticker:hover .bs-global-track,
.bs-global-ticker:focus-within .bs-global-track {
  animation-play-state:paused;
}

@keyframes bs-global-move {
  to { transform:translateX(-50%); }
}

@keyframes bs-global-move-reverse {
  from { transform:translateX(-50%); }
  to { transform:translateX(0); }
}

@media (max-width:679px) {
  :root { --bs-global-ticker-height:50px; }
  .bs-global-ticker { height:50px; }
  .bs-global-lanes { display:grid; grid-template:1fr / 1fr; }
  .bs-global-lane {
    grid-area:1 / 1;
    height:50px;
    grid-template-columns:86px minmax(0,1fr);
    border:0;
  }
  .bs-global-lane--news {
    display:none;
  }
  .bs-global-label { padding:0 11px; font-size:8px; letter-spacing:1px; }
  .bs-global-item { padding-inline:14px; font-size:11px; }
  .bs-global-headline span { max-width:270px; }
}

@media (prefers-reduced-motion:reduce) {
  .bs-global-ticker { transition:none; }
  .bs-global-lane { animation:none; opacity:1; pointer-events:auto; }
  .bs-global-lane--news { display:none; }
  .bs-global-track { animation:none; }
  .bs-global-clone { display:none; }
  .bs-global-window { overflow-x:auto; mask-image:none; scrollbar-width:thin; }
}
