html,
body {
  min-height: 0;
  overflow-x: hidden;
}
body {
  max-width: 760px;
  margin: auto;
}
#sky,
#sand,
#themeBtn,
.mascot {
  display: none !important;
}
#game {
  position: static;
  min-height: 0;
  padding: 0;
  display: block;
}
.panel {
  width: 100%;
  max-width: none;
  padding: 12px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.hud {
  display: block;
  margin-bottom: 14px;
}
.hud__controls {
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  min-height: 44px;
  box-shadow: none;
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
}
.btn--primary {
  background: var(--green);
  color: #f4f4ec;
  border-color: var(--green);
}
.status {
  margin: 0 0 20px;
  background: transparent;
  color: var(--ink);
  flex-wrap: wrap;
  justify-content: center;
}
.status__badge {
  background: #e0e5d9;
  color: var(--green);
}
.status__text {
  color: var(--muted);
}
.board {
  gap: 12px;
  padding: 0;
}
.board__row {
  min-height: 58px;
  padding: 8px;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: center;
  background: #e5e8dc;
  border-radius: 8px;
}
.bird {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  background-size: contain;
}
.controls {
  justify-content: center;
  margin-top: 20px;
}
.overlay {
  position: fixed;
  z-index: 10;
}
.overlay__card {
  background: var(--paper);
  color: var(--ink);
  max-width: calc(100vw - 32px);
  padding: 24px;
}
.overlay__text,
.howto__body {
  color: var(--muted);
}
@media (max-width: 360px) {
  body,
  .panel {
    padding: 6px;
  }
}
