html, body {
  margin: 0;
  padding: 0;
}
#game-ui {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top:0px;
  margin-bottom: 20px;
}
#game-header {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 75%;
}
#game-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: 25px;
}
.potato {
  position: absolute;
  width: 80px;
  height: 85px;
  background: url('assets/tater-hi.webp') no-repeat center;
  background-size: cover;
  cursor: pointer;
  pointer-events: auto;
  z-index: 10000;
}

.mooner {
  position: absolute;
  width: 85px;
  height: 85px;
  background: url('assets/tater-fu.webp') no-repeat center;
  background-size: cover;
  cursor: pointer;
  pointer-events: auto;
  z-index: 10000;
}

#score, #timer {
  margin-top: 10px;
  font-size: 24px;
}


#highscores-section {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}
@media (max-width: 600px) {
  #highscores-section {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
  #highscores-section > div {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 340px;
  }
}


.hidden { display: none !important; }

#countdown-overlay {
  display: none;
  position: fixed;
  z-index: 11000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 2em;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  text-shadow: 2px 2px 10px #000;
  transition: background 0.2s;
}

#countdown-text {
  display: inline-block;
  transform: scale(0.5);
  opacity: 0.8;
  transition: transform 0.3s cubic-bezier(.6,1.4,.4,1), opacity 0.15s;
}

#countdown-text.pop {
  transform: scale(5);
  opacity: 1;
  color: #ffea70;
  text-shadow: 0 0 20px #fda, 2px 2px 12px #333;
}

.fart-nav.is-disabled {
  opacity: 0.45;
}

.fart-nav.is-disabled a {
  pointer-events: none;
  cursor: default;
}

.dashed {
  margin-top: 20px;
  padding: 20px 5px 20px 5px;
  border: 2px dashed #888;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.85);
}

html.dark-mode .dashed {
  background: rgba(0, 0, 0, 0.45);
}