/* Keep changing status text from resizing cave cards and the retreat dialog. */
#game-root .cave-building-card__countdown {
  min-height: 1.25em;
}

#game-root .cave-building-card__countdown.is-empty,
#game-root [data-role="sect-retreat-progress-area"][data-state="idle"] {
  visibility: hidden;
  pointer-events: none;
}

/* Tabs share a viewport, rather than inheriting the longest tab's page scroll. */
#game-root .physique-page[data-role="physique-panel"] {
  box-sizing: border-box;
  height: 100%;
  min-height: 0;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  overflow: hidden;
}

#game-root [data-role="physique-panel"] [data-role="physique-content"] {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

#game-root [data-role="physique-panel"] [data-role="physique-status"]:empty {
  display: none;
}
