:root {
  --purple: #e0c5ff;
  --purple-alt: #ffc5f2;
  --black: #1a1a1a;
  --saffron: #DAE522;
  --saltwater: #368CD5;
  --paprika: #FE004F;
  --pink: #FF8DE2;
  --white: #fffdf7;
  --health-green: #02FF03;
  --minus: #ff5656;
  --saffron-bg: #F5F7C9;
  --saltwater-bg: #D3E6F7;
  --paprika-bg: #FFD6E3;

  --font-display: "Lilita One", "Baloo 2", sans-serif;
  --font-body: "Nunito", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--purple);
  color: var(--black);
  font-family: var(--font-body);
  min-height: 100vh;
}

.hidden { display: none !important; }

/* ---- animated background ---- */
.rh-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.rh-bg-gradient {
  position: absolute;
  inset: 0;
}

.rh-squares {
  position: absolute;
  inset: 0;
}

.rh-square {
  position: absolute;
  border-style: solid;
  border-width: 2px;
  border-radius: 2px;
  animation-name: rh-square-move;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: transform;
}

@keyframes rh-square-move {
  from { transform: translateX(0) rotate(0deg); }
  to   { transform: translateX(var(--drift-distance, 1200px)) rotate(var(--rotate-amount, 720deg)); }
}

button {
  font-family: var(--font-body);
  cursor: pointer;
}

/* Button animations
   - default: sits at full height, --push worth of shadow underneath it
   - hover:   sinks in slightly + darkens, shadow shrinks to match
   - active:  sinks all the way down flush with the shadow (shadow gone) */
.difficulty-btn,
.back-btn,
.start-btn,
.continue-btn,
.end-btn,
.choice-option {
  box-shadow: 0 var(--push) 0 var(--black);
  transition: transform 0.1s ease, box-shadow 0.1s ease, filter 0.15s ease;
}

.difficulty-btn:hover,
.back-btn:hover,
.continue-btn:hover,
.end-btn:hover {
  transform: translateY(2px);
  box-shadow: 0 calc(var(--push) - 2px) 0 var(--black);
  filter: brightness(90%);
}

.start-btn:hover{
  filter: brightness(125%);
}

.choice-option:hover {
  transform: translateY(2px);
  box-shadow: 0 calc(var(--push) - 2px) 0 var(--black);
  background: var(--purple-alt);
}

.difficulty-btn:active,
.back-btn:active,
.start-btn:active,
.continue-btn:active,
.end-btn:active,
.choice-option:active {
  transform: translateY(var(--push));
  box-shadow: 0 0 0 var(--black);
}

/* LANDING ----------------------------------------------------------------------------------------- */
#view-landing.view {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.landing-wrap {
  max-width: 760px;
  width: 100%;
  text-align: center;
}

.site-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4rem, 15vw, 7rem);
  line-height: 1;
  margin: 0 0 28px;
  color: var(--white);
  -webkit-text-stroke: 3px var(--black);
  text-shadow:
    -1px -1px 0 var(--black),
     1px -1px 0 var(--black),
    -1px  1px 0 var(--black),
     1px  1px 0 var(--black);
     
  pointer-events: none;
  
}

.site-title span {
  display: block;
  font-size: 0.5em;
  color: var(--pink);
  -webkit-text-stroke: 2px var(--black);
  letter-spacing: 1px;
  margin-top: 6px;
}

.welcome-card {
  background: var(--white);
  border: 3px solid var(--black);
  border-radius: 10px;
  box-shadow: 0 6px 0 var(--black);
  padding: 24px 30px;
  margin: 0 auto 40px;
  text-align: left;
}

.welcome-card p {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.5;
}

.welcome-card p + p {
  margin-top: 12px;
}

.welcome-card .welcome-small {
  text-align: center;
  font-size: .9rem;
  opacity: 0.75;
}

.welcome-small a {
  font-size: 1rem;
}

.difficulty-row {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.difficulty-btn {
  --push: 5px;
  font-family: var(--font-display);
  border: 3px solid var(--black);
  border-radius: 10px;
  padding: 22px 30px;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.diff-label {
  font-size: 1.5rem;
  color: var(--white);
  -webkit-text-stroke: 1px var(--black);
  text-shadow:
    -1px -1px 0 var(--black),
     1px -1px 0 var(--black),
    -1px  1px 0 var(--black),
     1px  1px 0 var(--black);
}

.diff-easy { background: var(--saffron); }
.diff-medium { background: var(--saltwater); }
.diff-hard { background: var(--paprika); }

/* COURSE LIST ------------------------------------------------------------------------------------- */
#view-courseList.view {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 30px 20px 80px;
}

.list-wrap {
  max-width: 640px;
  margin: 0 auto;
}

.back-btn {
  --push: 5px;
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 10px;
  padding: 8px 16px;
  font-family: var(--font-display);
  color: var(--black);
  font-size: 1rem;
  /* font-weight: 700; */
  margin-bottom: 18px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0 0 20px;
  text-align: center;

  color: var(--white);
  -webkit-text-stroke: 1px var(--black);
  text-shadow:
    -1px -1px 0 var(--black),
     1px -1px 0 var(--black),
    -1px  1px 0 var(--black),
     1px  1px 0 var(--black);
}

.course-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.course-item {
  background: var(--white);
  border: 3px solid var(--black);
  border-radius: 10px;
  box-shadow: 0 5px 0 var(--black);
  overflow: hidden;
  transition: transform 0.10s ease, box-shadow 0.10s ease;
}

.course-item:hover {
  transform: scale(1.025);
}

.course-item-header {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 16px 20px;
  font-family: var(--font-display);
  color: var(--black);
  font-size: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.course-item-header .chevron {
  transition: transform 0.15s ease;
  font-size: 1rem;
  display: inline-block;
  transform: scale(1.6);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cleared-check {
  display: inline-block;
  width: 1.1rem;
  text-align: center;
  color: var(--paprika);
  font-size: 1.2rem;
  font-weight: 800; 
  line-height: 1;
  -webkit-text-stroke: 1.5px var(--paprika);
}

.course-item.expanded .chevron {
  transform: scale(1.6) rotate(90deg);
}

.course-item-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .20s ease; /* expand/collapse animation */
}

.course-item-body-inner {
  overflow: hidden;
  min-height: 0;
  padding: 0 20px;
}

.course-item.expanded .course-item-body {
  grid-template-rows: 1fr;
}

.course-item.expanded .course-item-body-inner {
  padding: 0 20px 20px;
}

.course-desc {
  font-size: 1rem;
  margin: 0 auto 24px;
  max-width: 80%;
  line-height: 1.5;
  text-align: center;
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 10px;
  padding: 12px 14px;
}

/* Game tags appear when you view a course but before you start it*/
.course-game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  justify-content: center;
}

.game-tag {
  background: var(--purple);
  border: 2px solid var(--black);
  border-radius: 10px;
  padding: 4px 10px 4px 4px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.game-tag-thumb {
  width: 30px;
  height: auto;
  object-fit: cover;
  border-radius: 3px;
  /* border: 1px solid var(--black); */
  flex-shrink: 0;
}

.game-tag-vertical {
  flex-direction: column;
  padding: 6px 10px;
  text-align: center;
  gap: 4px;
}

.tag-arrow {
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 1000;
  color: var(--black);
  opacity: 0.75;
}

.tag-choice {
  background: var(--purple-alt);
  color: var(--black);
  border-color: var(--black);
  padding: 4px 10px;
}

.tag-choice-option {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Affects the element between choice options before starting course */
.tag-choice-sep {
  color: var(--black);
  font-weight: 1000;
}

.start-btn {
  --push: 4px;
  font-family: var(--font-display);
  font-size: 1rem;
  background: var(--pink);
  color: var(--white);
  border: 3px solid var(--black);
  border-radius: 10px;
  padding: 10px 22px;
  /* font-weight: 700; */
}

.start-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none; /* keeps disabled buttons from picking up hover/press styles */
}

/* difficulty accent bars on course items */
.course-item.acc-easy { background: var(--saffron-bg); }
.course-item.acc-medium { background: var(--saltwater-bg); }
.course-item.acc-hard { background: var(--paprika-bg); }

/* PLAY VIEW ----------------------------------------------------------------------------------------- */
#view-play.view {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 24px 20px 40px;
  display: flex;
  justify-content: center;
}

.play-wrap {
  max-width: 480px;
  width: 100%;
}

.play-course-title {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0 0 14px;
  padding-bottom: 14px;
  text-align: center;
  border-bottom: 3px solid var(--black);

  color: var(--white);
  -webkit-text-stroke: 1px var(--black);
  text-shadow:
    -1px -1px 0 var(--black),
     1px -1px 0 var(--black),
    -1px  1px 0 var(--black),
     1px  1px 0 var(--black);
}

.play-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.back-btn.small { padding: 6px 12px; margin: 0; }

.help-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--black);
  background: var(--paper);
  font-family: var(--font-display);
  font-size: 1rem;
  box-shadow: 0 2px 0 var(--black);
}

.help-icon-tip {
  position: relative;
  display: inline-flex;
  cursor: help;
}

.help-icon-tip::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  width: 220px;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  border: 2px solid var(--black);
  border-radius: 8px;
  padding: 10px 12px;
  box-shadow: 0 3px 0 var(--black);
  filter: drop-shadow(0 0 3px var(--black));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 10;
}

.help-icon-tip:hover::after,
.help-icon-tip:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.top-group {
  display: flex;
  align-items: center;
  gap: 10px; /* small gap so it reads as "attached" without touching pixel-to-pixel */
}

.lives-box {
  display: flex;
  align-items: stretch;
  gap: 10px;
  background: var(--white);
  border: 3px solid var(--black);
  border-radius: 10px;
  padding: 6px 8px;
  box-shadow: 0 5px 0 var(--black);
  z-index: 1;
}

.life-btn {
  flex: 1;
  border: none;
  background: var(--purple);
  font-weight: 800;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: filter 0.1s ease;
}

.life-btn:hover {
  filter: brightness(90%);
}

.life-btn:active {
  filter: brightness(80%);
}

.life-btn.plus {
  border-bottom: 2px solid var(--black);
}

.life-btn.minus {
  background: var(--minus);
}

.life-btn-stack {
  display: flex;
  flex-direction: column;
  width: 40px;
  border-right: 2px solid var(--black);
  border-radius: 6px;
  overflow: hidden;
  margin: -6px 0 -6px -8px;  /* cancels lives-box's 6px 8px padding on top/bottom/left */
}

.health {
  display: flex;
  align-items: center;
  gap: 10px;
}

.train-cab {
  height: 40px;
  width: auto;
  display: block;
  position: relative;
  z-index: 2;
}

.train-cars {
  display: flex;
  gap: 10px;
}

.train-car {
  width: 25px;
  height: 30px;
  background: var(--health-green);
  border: 2px solid var(--black);
  border-radius: 3px;
  flex-shrink: 0;
  position: relative;
}

.train-car::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -15px;
  width: 15px;
  height: 3px;
  background: var(--black);
  transform: translateY(-50%);
  z-index: -1;
}

.train-car-lost {
  background: var(--black);
}

.stage-card {
  background: var(--white);
  border: 3px solid var(--black);
  border-radius: 10px;
  box-shadow: 0 6px 0 var(--black);
  padding: 24px;
  text-align: center;
  margin-bottom: 26px;
}

.stage-number {
  display: inline-block;
  font-family: var(--font-display);
  background: var(--black);
  color: var(--white);
  border-radius: 8px;
  padding: 4px 14px;
  font-size: 1rem;
  margin-bottom: 14px;
}

.stage-dash {
  margin: 0 4px;
}

.game-thumb-frame {
  width: 180px;
  height: auto;
  margin: 0 auto 16px;
  /* border: 3px solid var(--black); */
  /* border-radius: 10px; */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 24px;
}

.clear-condition {
  background: var(--pink);
  border: 2px solid var(--black);
  border-radius: 8px;
  padding: 10px 14px;
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
  min-width: 160px;
}

/* Clear condition labels */
.clear-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.6;
  color: var(--white);
}

.clear-value {
  font-family: var(--font-display);
  /* font-weight: 700; */
  font-size: 1.1rem;
  display: block;
  color: var(--white);
}

.clear-value-icon {
  height: 2em;
  width: auto;
  margin: 3px auto;
}

.clear-condition-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.clear-heart-icon {
  width: 38px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 3px var(--black));
}

.night-mode-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: help;
}

.night-mode-icon {
  width: 38px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 3px var(--black));
  pointer-events: none;
}

.night-mode-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--black);
}

.night-mode-icon-tip {
  position: relative;
  display: inline-flex;
}

.night-mode-icon-tip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  width: 220px;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  border: 2px solid var(--black);
  border-radius: 8px;
  padding: 10px 12px;
  box-shadow: 0 3px 0 var(--black);
  filter: drop-shadow(0 0 3px var(--black));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 10;
}

.night-mode-icon-tip:hover::after,
.night-mode-icon-tip:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.corner-icon {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--black);
  font-family: var(--font-display);
  font-size: .9rem;
  line-height: 1;
  box-shadow: 0 1px 0 var(--black);
}

/* ---- choice card (pick between two games) ---- */
.choice-card {
  background: var(--white);
  border: 3px solid var(--black);
  border-radius: 10px;
  box-shadow: 0 6px 0 var(--black);
  padding: 24px;
  text-align: center;
  margin-bottom: 26px;
}

.choice-prompt {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 18px;
}

.choice-options {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.choice-option {
  --push: 5px;
  flex: 1 1 140px;
  max-width: 180px;
  background: var(--purple);
  border: 3px solid var(--black);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: transform 0.1s ease, box-shadow 0.1s ease, filter 0.1s ease, background 0.2s ease;
}

.choice-thumb-frame {
  width: 100px;
  height: 100px;
  overflow: hidden;
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 10px;
}

.choice-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.choice-game-name {
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.2;
}

.choice-stage-id {
  font-size: 0.75rem;
  opacity: 0.65;
  font-weight: 700;
}

/* ---- track progress ---- */
.track-wrap {
  position: relative;
  height: 50px;
  margin-bottom: 26px;
}

.track-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(
    90deg, var(--black) 0 10px, transparent 10px 18px
  );
  transform: translateY(-50%);
  opacity: 0.75;
}

.track-stations {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

/* The little game markers/dots. The visible square lives on ::after rather
   than directly on .station -- an element's own background always paints
   below its descendants no matter what z-index they're given, so the only
   way for the choice-pending ::before "back card" to actually sit behind the
   visible square is for that square to be a descendant (::after) too. */
.station {
  width: 22px;
  height: 22px;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.station::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10%;
  border: 3px solid var(--black);
  background: var(--white);
  z-index: 1;
}

.station.cleared::after {
  background: var(--pink);
  transition: background-color 0.3s ease;
}

.station.current::after {
  background: var(--saffron);
  transition: background-color 0.3s ease;
}

/* choice slots read as "pick one of two" via a second square peeking out
   from behind the station, like two cards pressed together, instead of a
   dashed border. z-index: 0 here vs. ::after's z-index: 1 is what actually
   puts it behind. */
.station.choice-pending::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--purple-alt);
  border: 3px solid var(--black);
  border-radius: 10%;
  transform: translate(6px, 6px);
  z-index: 0;
}

/* solid fill that grows over the dashed track-line as stages are cleared */
.track-line-fill {
  position: absolute;
  top: 50%;
  left: 0;
  height: 4px;
  width: 0;
  background: var(--black);
  transform: translateY(-50%);
  transition: width 0.5s ease;
  z-index: 0;
}

/* the little chevron/flag marking the current station -- slides between
   stations instead of jumping, replacing the old static ::after triangle */
.track-indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid var(--black);
  transform: translateX(-6px);
  transition: left 0.5s ease;
  z-index: 2;
}

.continue-btn {
  --push: 5px;
  display: block;
  margin-left: auto;
  font-family: var(--font-display);
  background: var(--saltwater);
  color: var(--white);
  border: 3px solid var(--black);
  border-radius: 10px;
  padding: 14px 26px;
  font-size: 1rem;
  /* font-weight: 700; */
}

/* END SCREENS --------------------------------------------------------------------------------------- */
.end-wrap {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.end-title {
  font-family: var(--font-display);
  font-size: clamp(5rem, 15vw, 7rem);
  margin: 0 0 10px;

  -webkit-text-stroke: 3px var(--black);
  text-shadow:
    -1px -1px 0 var(--black),
     1px -1px 0 var(--black),
    -1px  1px 0 var(--black),
     1px  1px 0 var(--black);

  pointer-events: none;
}

.end-sub {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 18px;

  -webkit-text-stroke: 1px var(--black);
  text-shadow:
    -1px -1px 0 var(--black),
     1px -1px 0 var(--black),
    -1px  1px 0 var(--black),
     1px  1px 0 var(--black);

  pointer-events: none;
}

.end-btn {
  --push: 5px;
  font-family: var(--font-display);
  background: var(--pink);
  color: var(--white);
  border: 3px solid var(--black);
  border-radius: 10px;
  padding: 14px 28px;
  font-size: 1rem;
  /* font-weight: 700; */
}

.end-congrats .end-title { color: var(--health-green); }
.end-gameover .end-title { color: var(--minus); }

@media (max-width: 480px) {

  #view-landing.view { padding: 40px 12px; }

  .welcome-card {
    padding: 15px 17px;
  }
  
  .welcome-card p {
  font-size: .9rem;
  }

  .welcome-card .welcome-small {
    font-size: .7rem;
  }

  .welcome-small a {
    font-size: .8rem;
  }

  .difficulty-row { flex-direction: column; align-items: center; }
  .difficulty-btn { width: 100%; max-width: 260px; }

  /* Play screen */
  #view-play.view { padding: 16px 12px 30px; }
  .stage-card, .choice-card { padding: 16px; }

  /* Thumbnails scale down on narrow screen */
  .game-thumb-frame { width: 140px; }
  .choice-thumb-frame { width: 84px; height: 84px; }

  /* Choice options: allow a tighter fit before wrapping to a single column */
  .choice-options { gap: 10px; }
  .choice-option { flex: 1 1 110px; max-width: none; padding: 10px; }

  /* Top bar: let Quit + lives wrap onto their own lines */
  .play-top { gap: 10px; }

  /* Full-width Continue button is an easier target on small screens */
  .continue-btn { width: 100%; margin-left: 0; }

  .course-game-tags { gap: 6px; }

  .game-tag {
  font-size: 0.7rem;
  }

  .game-tag-thumb {
  width: 25px;
  }

  .train-cars { gap: 7px; }
  .train-car { width: 20px; height: 25px; }
  
}
