/* MAKE IT 2.87 — presentation-only: common mission manifesto and scoped game colours.
   All six colours come from --board274-game-color, supplied by the existing registry. */

/* The manifesto is the focal point. Only its own text may scroll on the smallest devices. */
#mission-modal{padding:clamp(7px,2vw,14px)!important}
#mission-modal .mission-panel{
  width:min(100%,540px)!important;
  height:min(89dvh,840px)!important;max-height:min(89dvh,840px)!important;
  box-sizing:border-box!important;
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  justify-content:center!important;
  padding:clamp(56px,8dvh,76px) clamp(12px,3vw,22px) clamp(19px,4dvh,30px)!important;
  overflow:hidden!important;
}
#mission-modal #mission-heading{
  flex:0 0 auto!important;
  margin:0 34px clamp(12px,2.5dvh,22px)!important;
  font-size:clamp(18px,5.3vw,25px)!important;
  line-height:1.13!important;
}
#mission-modal .mission-copy{
  flex:1 1 auto!important;min-height:0!important;
  overflow-y:auto!important;overscroll-behavior:contain!important;
  -webkit-overflow-scrolling:touch;
  display:flex!important;align-items:center!important;justify-content:center!important;
  padding:1px 1px 3px!important;
}
#mission-modal .mission-copy span{
  display:block!important;width:100%!important;
  font-size:var(--mission287-font-size,26px)!important;
  line-height:1.20!important;letter-spacing:.003em!important;
  overflow-wrap:break-word!important;
}
#mission-modal #mission-close{position:absolute!important;top:11px!important;right:11px!important;z-index:3!important}

/* Readability convention for the current-game CATEGORIES & AWARDS summary only.
   White = fixed labels and numerical values; accent = game-specific descriptions.
   The all-games DETAILS views deliberately remain untouched. */
#app #leaderboard #board283-combined .board283-group h4,
#app #leaderboard #board283-combined .board274-subtitle,
#app #leaderboard #board283-combined .master-summary-label{
  color:#fff!important;-webkit-text-fill-color:#fff!important;
  background:none!important;background-image:none!important;
}
#app #leaderboard #board283-combined .board274-list-item,
#app #leaderboard #board283-combined .board274-next>span,
#app #leaderboard #board283-combined .board274-muted,
#app #leaderboard #board283-combined .master-game-earned>div,
#app #leaderboard #board283-combined .master-goal-game strong,
#app #leaderboard #board283-combined .master-empty,
#app #leaderboard #board283-combined .master-complete{
  color:var(--board274-game-color,#25c8fb)!important;
  -webkit-text-fill-color:var(--board274-game-color,#25c8fb)!important;
  background:none!important;background-image:none!important;
}
#app #leaderboard #board283-combined .board274-next>b,
#app #leaderboard #board283-combined .board274-detail-count,
#app #leaderboard #board283-combined .master-next-line span{
  color:#fff!important;-webkit-text-fill-color:#fff!important;
  background:none!important;background-image:none!important;
  font-variant-numeric:tabular-nums!important;
}
/* The selected game is obvious from the board and content: remove redundant award heading. */
#app #leaderboard #board283-combined .master-game-name{display:none!important}
