@media (min-width:1200px) {
  /* The phase card is a pseudo-element with fixed desktop width. Long Pagat
     descriptions must be allowed to wrap instead of retaining the legacy
     white-space:pre behavior from game-table-layout.css. */
  #pepper-app > div > .row.mb-4.g-0 > .col-md-5:last-child::after {
    white-space:pre-wrap !important;
    overflow-wrap:anywhere !important;
    word-break:normal !important;
    box-sizing:border-box !important;
    max-width:100% !important;
  }

  body[data-pepper-game-started="false"] #pepper-app > div > .row.mb-4.g-0 > .col-md-5:last-child::after,
  body[data-pepper-phase="getting-started"] #pepper-app > div > .row.mb-4.g-0 > .col-md-5:last-child::after {
    content:'Current Phase\A\A ♠  Getting Started\A Create a private game, join an invite, or find random players.' !important;
  }

  body[data-pepper-phase="bidding"] #pepper-app > div > .row.mb-4.g-0 > .col-md-5:last-child::after {
    content:'Current Phase\A\A ⚒  Bidding\A One round: 1–6, Little Pepper, or Big Pepper.' !important;
  }

  body[data-pepper-phase="choose-suit"] #pepper-app > div > .row.mb-4.g-0 > .col-md-5:last-child::after {
    content:'Current Phase\A\A ♠  Choose Trump\A High bidder names a suit or No Trump.' !important;
  }

  body[data-pepper-phase="partner-choice"] #pepper-app > div > .row.mb-4.g-0 > .col-md-5:last-child::after {
    content:'Current Phase\A\A ⇄  Bidder Choice\A Exchange one card or play with partner.' !important;
  }

  body[data-pepper-phase="bidder-discard"] #pepper-app > div > .row.mb-4.g-0 > .col-md-5:last-child::after {
    content:'Current Phase\A\A ⇄  Card Exchange\A Bidder discards exactly one card.' !important;
  }

  body[data-pepper-phase="partner-discard"] #pepper-app > div > .row.mb-4.g-0 > .col-md-5:last-child::after {
    content:'Current Phase\A\A ⇄  Card Exchange\A Partner gives one card to the bidder, then sits out.' !important;
  }

  body[data-pepper-phase="opponent-decision"] #pepper-app > div > .row.mb-4.g-0 > .col-md-5:last-child::after {
    content:'Current Phase\A\A ?  Defenders Decide\A Opponents choose whether to play or surrender.' !important;
  }

  body[data-pepper-phase="playing"] #pepper-app > div > .row.mb-4.g-0 > .col-md-5:last-child::after {
    content:'Current Phase\A\A ♠  Playing\A High bidder leads. Follow suit when possible.' !important;
  }

  body[data-pepper-phase="hand-complete"] #pepper-app > div > .row.mb-4.g-0 > .col-md-5:last-child::after {
    content:'Current Phase\A\A ✓  Hand Complete\A Scoring complete. Preparing the next deal.' !important;
  }

  body[data-pepper-phase="game-complete"] #pepper-app > div > .row.mb-4.g-0 > .col-md-5:last-child::after {
    content:'Current Phase\A\A ★  Game Complete\A Highest score at 42 or more wins.' !important;
  }
}
