  html, body {
  height: 100%;
  }

  html {
  overflow-y: scroll;
}

body {
  margin: 0;
  padding: 0;
  background-color: #030712;
  /* z-index: не нужен */
}

  .odometer {
    display: flex;
    gap: 0.1em;
    height: 1.2em;
    overflow: hidden;
    line-height: 1.2em;
    font-variant-numeric: tabular-nums;
  }

  .digit-column {
    position: relative;
    width: 0.6em;
    height: 1.2em;
    overflow: hidden;
  }

  .digit-strip {
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.5s ease-in-out;
  }

  .digit-strip span {
    display: block;
    height: 1.2em;
    text-align: center;
  }


 ol.counter-list {
    counter-reset: item;
  }
  ol.counter-list > li {
    counter-increment: item;
    position: relative;
    padding-left: 2.5rem; 
  }
  ol.counter-list > li::before {
    content: counter(item) ".";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: rgb(231, 229, 229); /* Tailwind yellow-400 */
    font-weight: 500;
    font-size: 1.0rem;
    width: 2rem;
    text-align: right;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }

  .custom-stroke {
  color: #f9b703;
  text-shadow:
    -2px -2px 0 #000,
     2px -2px 0 #000,
    -2px  2px 0 #000,
     2px  2px 0 #000;
}


  /*-----subscribers-------*/
  .subscribers {
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


#streamers {
  visibility: hidden;
  transition: visibility 0s linear 0.3s, opacity 0.3s linear;
  opacity: 0;
}
#streamers.visible {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}


/*-----digit column-------*/
.digit-column {
  height: 1.2em; /* фиксируй в em или px */
  overflow: hidden;
  display: inline-block;
  position: relative;
}
.digit-strip {
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease-in-out;
  will-change: transform;
}
.digit-strip span {
  height: 1.2em;
  line-height: 1.2em;
}

.youtube-lazy {
  position: relative;
  cursor: pointer;
  border-radius: 0.5rem;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.youtube-lazy iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border-radius: 0.5rem;
  border: none;
}

  /* PARTICIPANTS Background color */
  .player-card-color {
    background-color: #181820;
    opacity: 0;
    animation: fadeInUp 0.3s ease forwards;
  }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hidden {
  display: none;
}


/* =========================================================
   GLOBAL SCROLLBAR — тонкий скроллбар для всей страницы
========================================================= */

/* Webkit (Chrome, Edge, Safari) */
html::-webkit-scrollbar,
body::-webkit-scrollbar,
html *::-webkit-scrollbar,
body *::-webkit-scrollbar {
  width: 6px !important;
  height: 6px !important;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
html *::-webkit-scrollbar-track,
body *::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05) !important;
  border-radius: 3px !important;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
html *::-webkit-scrollbar-thumb,
body *::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2) !important;
  border-radius: 3px !important;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover,
html *::-webkit-scrollbar-thumb:hover,
body *::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.35) !important;
}

/* Firefox */
html,
body,
html *,
body * {
  scrollbar-width: thin !important;
  scrollbar-color: rgba(255, 255, 255, 0.2)
                 rgba(255, 255, 255, 0.05) !important;
}