@charset "UTF-8";
/* Growth mother layout: all three decisions fit above the 9:16 navigation.
   Values remain live DOM text; primary and secondary actions keep 44px targets. */
.game-shell[data-page="growth"] .mother-growth-scene { height: 85px; }
.game-shell[data-page="growth"] .mother-growth-boards { gap: 4px; }
.game-shell[data-page="growth"] .mother-growth-board {
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 4px;
  min-height: 0;
  border-width: 4px 6px;
  padding: 2px;
}
.game-shell[data-page="growth"] .mother-growth-board .mother-board-art,
.game-shell[data-page="growth"] .mother-growth-board .mother-board-art > img {
  height: 70px;
  max-height: 70px;
}
.game-shell[data-page="growth"] .mother-board-content > h2 {
  margin: 0;
  font-size: 12px;
  line-height: 1.15;
}
.game-shell[data-page="growth"] .mother-board-content h3 {
  margin: 0 0 1px;
  font-size: 8px;
  line-height: 1.2;
}
.game-shell[data-page="growth"] .mother-board-content :is(.mother-upgrade-cost, .mother-upgrade-stats) > h3 {
  font-size: 8px;
  line-height: 1.2;
  margin-bottom: 1px;
}
.game-shell[data-page="growth"] .mother-board-content .resource-list {
  gap: 0 4px;
}
.game-shell[data-page="growth"] .mother-board-content .resource-value,
.game-shell[data-page="growth"] .mother-upgrade-cost .resource-value {
  gap: 1px;
  font-size: 8px;
  line-height: 1.2;
}
.game-shell[data-page="growth"] .mother-board-content .resource-value b,
.game-shell[data-page="growth"] .mother-upgrade-cost .resource-value b {
  font-size: 11px;
  line-height: 1.2;
}
.game-shell[data-page="growth"] .mother-board-content .resource-icon,
.game-shell[data-page="growth"] .mother-upgrade-cost .resource-icon {
  width: 10px;
  height: 12px;
}
.game-shell[data-page="growth"] .mother-board-content .mother-columns {
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 4px;
}
.game-shell[data-page="growth"] .mother-board-content .stat-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0 2px;
  margin: 1px 0;
  font-size: 8px;
  line-height: 1.2;
}
.game-shell[data-page="growth"] .mother-board-content .stat-row b {
  font-size: 11px;
  line-height: 1.2;
}
.game-shell[data-page="growth"] .mother-board-content .stat-row b i {
  font-size: inherit;
  line-height: inherit;
}
.game-shell[data-page="growth"] .mother-board-content .stat-row small {
  grid-column: auto;
  font-size: 8px;
  line-height: 1.2;
  white-space: nowrap;
}
.game-shell[data-page="growth"] .mother-upgrade-cost { position: relative; }
.game-shell[data-page="growth"] .mother-upgrade-cost > .sufficient {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  font-size: 8px;
  line-height: 1.2;
}
.game-shell[data-page="growth"] .mother-board-content :is(.sufficient, .deficit) {
  margin: 0;
  padding: 0;
  font-size: 8px;
  line-height: 1.2;
}
.game-shell[data-page="growth"] .mother-board-content .mother-payment {
  min-width: 0;
  margin: 0;
  padding-top: 2px;
  font-size: 8px;
  line-height: 1.2;
}
.game-shell[data-page="growth"] .mother-board-content .mother-payment .resource-value,
.game-shell[data-page="growth"] .mother-board-content .mother-payment .resource-value b {
  font-size: 9px;
}
.game-shell[data-page="growth"] .mother-board-content .mother-payment .resource-value b {
  font-size: 11px;
}
.game-shell[data-page="growth"] .mother-board-content .mother-payment .resource-icon {
  width: 9px;
  height: 11px;
}
.game-shell[data-page="growth"] .mother-board-content > .button,
.game-shell[data-page="growth"] .mother-growth-board.is-next .mother-board-content > .text-button {
  min-height: 44px;
  margin: 0;
  border-width: 8px 8px 8px 23px;
  padding: 0 2px;
  font-size: 11px;
  line-height: 1.2;
}
.game-shell[data-page="growth"] .mother-growth-board.is-current .mother-board-content {
  grid-template-columns: minmax(0, 1fr) 86px;
  gap: 1px 4px;
}
.game-shell[data-page="growth"] .mother-growth-board.is-current .mother-board-content > .button {
  border-left-width: 23px;
  border-right-width: 8px;
  align-self: end;
}
.game-shell[data-page="growth"] .mother-growth-board.is-next .mother-board-content {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 1px 4px;
}
.game-shell[data-page="growth"] .mother-growth-board.is-next .mother-board-content > h3 {
  font-size: 8px;
}
.game-shell[data-page="growth"] .mother-growth-board.is-next .mother-board-content > .resource-list { gap: 0; }
.game-shell[data-page="growth"] .mother-growth-board.is-next .mother-board-content > .mother-next-shortfall {
  padding-top: 2px;
  font-size: 8px;
  line-height: 1.2;
}
.game-shell[data-page="growth"] .mother-next-shortfall .ui-icon {
  width: 10px;
  height: 11px;
}
.game-shell[data-page="growth"] .mother-growth-board.is-animal .mother-board-art,
.game-shell[data-page="growth"] .mother-growth-board.is-animal .mother-board-art > img {
  height: 100px;
  max-height: 100px;
}
.game-shell[data-page="growth"] .mother-growth-board.is-animal .mother-board-content {
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr) minmax(0, .9fr);
  gap: 1px 3px;
}
.game-shell[data-page="growth"] .mother-growth-board.is-animal .mother-board-content .stat-row {
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 0 1px;
  margin: 0;
}
.game-shell[data-page="growth"] .mother-growth-board.is-animal .mother-board-content .stat-row small {
  grid-column: auto;
  line-height: 1;
}
.game-shell[data-page="growth"] .mother-growth-board.is-animal .mother-board-content > .button {
  grid-row: 4;
  grid-column: 1 / span 2;
}
.game-shell[data-page="growth"] .mother-growth-board.is-animal .mother-board-content > .mother-payment {
  grid-column: 1 / span 2;
  grid-row: 3;
}
.game-shell[data-page="growth"] .mother-growth-board.is-animal .mother-animal-next {
  grid-row: 2 / span 3;
  padding-left: 3px;
  font-size: 8px;
  line-height: 1.2;
}
.game-shell[data-page="growth"] .mother-growth-board.is-animal .mother-animal-next h3 {
  font-size: 8px;
  line-height: 1.2;
}
.game-shell[data-page="growth"] .mother-growth-board.is-animal .mother-animal-next .resource-value { font-size: 8px; }
.game-shell[data-page="growth"] .mother-growth-board.is-animal .mother-animal-next .resource-value b { font-size: 11px; }
.game-shell[data-page="growth"] .mother-growth-board.is-animal .mother-animal-next .resource-icon { width: 10px; height: 12px; }
.game-shell[data-page="growth"] .mother-growth-board.is-animal .mother-animal-next details > summary {
  min-height: 44px;
  margin: 0;
  font-size: 8px;
  line-height: 1.2;
}
