/* Keep the end-of-game actions readable at every board width. */
body[data-theme="playful-print"] .results-banner {
  flex-wrap: wrap;
  align-items: start;
}
body[data-theme="playful-print"] .results-banner > div:first-child {
  flex: 1 1 260px;
  min-width: 0;
}
body[data-theme="playful-print"] .results-actions {
  flex: 1 1 390px;
  min-width: 0;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 10px;
}
body[data-theme="playful-print"] .results-actions button {
  min-width: 0;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 10px 12px;
  gap: 8px;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.3;
  text-align: center;
}

/* The labels should hold their own next to the monetary values. */
body[data-theme="playful-print"] .portfolio-balance span:first-child {
  font-size: 15px;
  line-height: 1.25;
}
body[data-theme="playful-print"] .portfolio-balance strong {
  font-size: 18px;
  line-height: 1.25;
}

/* Give the aligned rule before each price a little more room on both sides. */
body[data-theme="playful-print"] #market-cards.market-stack .quote-price {
  margin-left: 3px;
  flex-basis: calc(3ch + 8px);
  min-width: calc(3ch + 8px);
  width: calc(3ch + 8px);
  padding-left: 7px;
}
body[data-theme="playful-print"] #market-section.is-share-targeting #market-cards.market-stack .quote-price {
  flex-basis: calc(6ch + 13px);
  min-width: calc(6ch + 13px);
  width: calc(6ch + 13px);
}
