/* M1LL3NN1UM horizontal carousel — dispatches + arcade selectors */

.m1-carousel {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.5rem;
}

.m1-carousel--arcade {
  flex-wrap: wrap;
}

.m1-carousel__arrow {
  flex-shrink: 0;
  align-self: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 2px solid #333;
  background: #111;
  color: #888;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
  font-size: 0.85rem;
}

.m1-carousel__arrow:hover:not(:disabled) {
  border-color: #39ff14;
  color: #39ff14;
  background: #0f140f;
}

.m1-carousel__arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.m1-carousel__viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.m1-carousel__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.25rem 0.125rem 0.75rem;
}

.m1-carousel__track::-webkit-scrollbar {
  display: none;
}

.m1-carousel__track:focus {
  outline: 2px solid rgba(57, 255, 20, 0.35);
  outline-offset: 2px;
}

/* Dispatch article cards */
.m1-carousel__card--dispatch {
  flex: 0 0 min(100%, 300px);
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
  min-height: 220px;
}

@media (min-width: 640px) {
  .m1-carousel__card--dispatch {
    flex-basis: 300px;
  }
}

/* Arcade selector pills */
.m1-carousel--arcade .m1-carousel__card--game {
  flex: 0 0 auto;
  scroll-snap-align: start;
  min-width: 148px;
  padding: 0.65rem 1rem;
  border: 2px solid #333;
  background: rgba(17, 17, 19, 0.85);
  color: #aaa;
  font-family: "Courier New", monospace;
  text-align: left;
  cursor: pointer;
  border-radius: 4px;
  transition: border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.m1-carousel__card--game.is-active {
  border-color: #0ff;
  color: #0ff;
  box-shadow: 0 0 18px rgba(0, 255, 255, 0.15);
  background: rgba(0, 30, 30, 0.55);
}

.m1-carousel__card-tag {
  display: block;
  font-size: 9px;
  letter-spacing: 0.16em;
  color: #39ff14;
  margin-bottom: 0.2rem;
}

.m1-carousel__card--game:not(.is-active) .m1-carousel__card-tag {
  color: #555;
}

.m1-carousel__card-title {
  display: block;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0.08em;
}

.m1-carousel__card-sub {
  display: block;
  font-size: 10px;
  color: #666;
  margin-top: 0.15rem;
}

.m1-carousel__card--game.is-active .m1-carousel__card-sub {
  color: #888;
}

.m1-carousel__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.5rem;
  font-size: 10px;
  font-family: "Courier New", monospace;
  color: #555;
  letter-spacing: 0.12em;
}

.m1-carousel__counter {
  color: #ffaa00;
}