/* Planet Garbage: selected display titles only. All other UI uses existing fonts. */
@font-face {
  font-family: "Planet Garbage";
  src: url("./assets/fonts/Planet_Garbage.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* Game title in the header. */
#battle-header .brand > strong {
  font-family: "Planet Garbage", system-ui, sans-serif;
  font-size: clamp(1.15rem, 1.3vw, 1.48rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
  white-space: nowrap;
  color: #89ff00;
  text-shadow: 0 0 8px rgba(112, 255, 0, 0.19);
}

/* COMMAND transmission heading only. */
#announcement-title {
  font-family: "Planet Garbage", system-ui, sans-serif;
  font-size: clamp(2.05rem, 3.3vw, 3.15rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0;
  color: #89ff00;
  text-shadow: 0 0 10px rgba(112, 255, 0, 0.19);
}

@media (max-width: 750px) {
  #battle-header .brand > strong {
    font-size: clamp(0.93rem, 3.6vw, 1.12rem);
  }
  #announcement-title {
    font-size: clamp(1.65rem, 5.9vw, 2.1rem);
  }
}

/* Desktop COMMAND spacing: leave a generous gap beneath the header,
   including clearance for the ship above the transmission panel. */
@media (min-width: 751px) {
  #page-menu { padding-top: 84px; }
  #page-menu .command-announcement .command-ship { top: -43px; }
}

/* V33.6 — Main page titles only. Section headers, quest names, unit names,
   navigation, buttons, login and in-battle HUD retain their normal fonts. */
#app main .page > .page-heading h1 {
  font-family: "Planet Garbage", system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(2rem, 3.25vw, 3.05rem);
  line-height: 1.08;
  letter-spacing: 0;
  color: #89ff00;
  text-shadow: 0 0 10px rgba(112, 255, 0, 0.19);
}

/* CAMP is full-screen; THE YARD is its page title in the header. */
#app.camp-mode .camp-location > strong {
  font-family: "Planet Garbage", system-ui, sans-serif;
  font-size: 1.24rem;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0;
  color: #89ff00;
  text-shadow: 0 0 8px rgba(112, 255, 0, 0.19);
}

@media (max-width: 750px) {
  #app main .page > .page-heading h1 {
    font-size: clamp(1.75rem, 5.8vw, 2.15rem);
  }
  #app.camp-mode .camp-location > strong {
    font-size: 1.07rem;
  }
}

/* Logged-out authentication title uses the same existing toxic game font.
   This targets only the game name, not form labels or buttons. */
#auth .auth-card > h1 {
  font-family: "Planet Garbage", system-ui, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.08;
  color: #89ff00;
  text-shadow: 0 0 10px rgba(112, 255, 0, .19);
}
