.crypto-coins-marquee{
    overflow:hidden;
    width:100%; 
    padding-bottom: 12px;
    padding-top: 16px;
    position: relative;
    width: 100%;
    visibility: hidden;
}
.crypto-coins-marquee .crypto-coins-marquee-inner{display:inline-block;white-space:nowrap;align-items:center}
.crypto-coins-marquee .crypto-marquee-item{display:inline-flex;align-items:center;margin-right:24px;white-space:nowrap}

/* animation: use CSS variable set by JS */
.crypto-coins-marquee .crypto-coins-marquee-inner.marquee-anim{display:inline-block;animation:var(--marquee-animation)}
/* pause on hover */
.crypto-coins-marquee:hover .crypto-coins-marquee-inner.marquee-anim{animation-play-state:paused}

.crypto-coins-marquee .crypto-marquee-item {
    border-radius: 24px;
    background:  #F5F5F5;
    padding: 8px 12px;
    flex: 0 0 auto;
    min-width: 160px;
    width: fit-content;
    position: relative;
    margin: 0 8px;
}
.dark-mode .crypto-coins-marquee .crypto-marquee-item  {
   background: #242424;
}
.crypto-coins-marquee .crypto-marquee-item .crypto-marquee-item-inner{
    display: flex;
    align-items: center;
}
.crypto-coins-marquee .crypto-marquee-item .crypto-marquee-item-inner a {
    display: grid;
    align-items: center;
    grid-template-columns: 24px 1fr;
    gap: 12px;
    width: 100%;
    line-height: 0;
}
.crypto-coins-marquee .crypto-marquee-item .crypto-marquee-item-inner .crypto-logo {
    display: inline-block;
    vertical-align: top;
}
.crypto-coins-marquee .crypto-marquee-item .crypto-marquee-item-inner .crypto-logo img {
    width: 100%;
    height: 24px;
    object-fit: cover;
    border-radius: 50px;
}
.crypto-coins-marquee .crypto-marquee-item .crypto-ns-container {
    display: flex;
    flex-flow: column;
}
.crypto-coins-marquee .crypto-marquee-item:hover{
    text-decoration: underline;
    background-color: #dfdfdf;
}
.dark-mode .crypto-coins-marquee .crypto-marquee-item:hover{
    text-decoration: underline;
     text-decoration-color: white;
    background-color: #242424;
}
.crypto-ns-container .crypto-ns {
    position: relative;
    z-index: 1;
}
.crypto-ns-container .crypto-ns .crypto-name {
    color:  #242424;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: 12px;
    margin: 0;
    word-break: break-word;
}
.dark-mode .crypto-ns-container .crypto-ns .crypto-name {
   color: #FFFFFF;
}
.crypto-ns-container .crypto-ns .crypto-symbol {
    margin-left: 4px;
    color: rgba(66, 66, 66, 0.80);
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: 12px;
    word-break: break-word;
}
.dark-mode .crypto-ns-container .crypto-ns .crypto-symbol{
    color: rgba(255, 255, 255, .56);
}
.crypto-ns-container .crypto-price {
    color:  #242424;
    font-size:  12px;
    font-style: normal;
    font-weight: 600;
    line-height: 16px;
    margin-left: 0;
    word-break: break-word;
}
.dark-mode .crypto-ns-container .crypto-price {
   color: #FFFFFF;
}
.crypto-change {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 0px;
    position: absolute;
    top: -8px;
    right: 0;
    padding: 4px;
    font-size: 10px;
    font-style: normal;
    font-weight: 600;
    line-height: 12px;
    border-radius: 16px;
}
.crypto-change.cc-down {
    color: #FF004C;
    background: #FFCCDB;
}
.dark-mode .crypto-change.cc-down {
    color: #FF004C;
    background: #33000F;
}

.crypto-change.cc-up {
    color: #00CC74;
    background: #CCFFE9;
}
.dark-mode .crypto-change.cc-up {
    color: #00CC74;
    background: #00331D;
}
.crypto-marquee-item {
  display: inline-flex;
  align-items: center;
  margin-right: 32px;
}
.crypto-coins-marquee .crypto-marquee-item.meme-coin-item{
    background-color: #FDF6D8;
}
.dark-mode .crypto-coins-marquee .crypto-marquee-item.meme-coin-item{
    background: #242424;
}
.meme-coin-item span.crypto-change {
    background: #F6CA19;
    text-transform: uppercase;
}

.crypto-coins-marquee.is-loading {
  visibility: hidden;
  height: 48px; /* prevents layout jump */
}

.crypto-marquee-placeholder {
  display: flex;
  gap: 12px;
  overflow: hidden;
}

.crypto-marquee-placeholder .skeleton-item {
  width: 180px;
  height: 40px;
  border-radius: 6px;
  background: linear-gradient(
    90deg,
    #e5e7eb 25%,
    #f3f4f6 37%,
    #e5e7eb 63%
  );
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
}

@keyframes shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}


