Screen {
  background: #000011;
  layout: vertical;
}

#top-stars {
  width: 100%;
  height: 3;
  color: #4a9eff;
  background: #000011;
  text-align: left;
  dock: top;
  /* Remove any margin/padding that could create gaps */
  margin: 0;
  padding: 0;
}

#bottom-stars {
  width: 100%;
  height: 2;
  color: #4a9eff;
  background: #000011;
  text-align: left;
  dock: bottom;
  /* Remove margin that was creating a gap */
  margin: 0;
  padding: 0;
}

#main-layout {
  layout: horizontal;
  width: 100%;
  height: auto;
  background: #000011;
  margin: 0;
  padding: 0;
}

#left-stars, #right-stars {
  height: 100%;
  color: #4a9eff;
  background: #000011;
  margin: 0;
  padding: 0;
}

#center-content {
  width: 1fr;
  height: auto;
  background: #000011;
  padding: 1;
  align: center top;
  margin: 0;
}

#game-title {
  width: 100%;
  color: #00ffff;
  text-style: bold;
  text-align: center;
  margin: 1 0;
  background: #000011;
  /* Reduce padding to minimize gaps */
  padding: 0 1;
}

#subtitle {
  width: 100%;
  color: #888888;
  text-align: center;
  text-style: italic;
  margin: 0 0 2 0;
  background: #000011;
  /* Add consistent padding */
  padding: 0;
}

#menu-buttons {
  width: 100%;
  height: auto;
  align: center middle;
  background: #000011;
  /* Ensure consistent spacing */
  margin: 0;
  padding: 0;
}

Button {
  width: 30;
  height: 3;
  margin: 1 2;
  background: rgba(0, 17, 51, 0.8);
  color: #00ffff;
  border: solid #0088ff;
  text-style: bold;
}

Button:hover {
  background: rgba(0, 34, 102, 0.9);
  color: #ffffff;
  border: solid #00ffff;
  text-style: bold;
}

Button:focus {
  background: rgba(0, 51, 153, 0.9);
  color: #ffffff;
  border: solid #ffffff;
  text-style: bold;
}

#status-bar {
  width: 100%;
  color: #666666;
  text-align: center;
  margin: 1 0;
  background: #000011;
  /* Consistent padding */
  padding: 0;
}