/* ==========================================================
   v179.9.56 — HOME FINAL TILE + GAME INFO POLISH
   - Adds breathing room below team names on a finalized Home card.
   - Normalizes Game Information value sizing/alignment across all six tiles.
   - Weather formatting is handled in app-v179956.js (numeric temp -> °F).
   ========================================================== */

/* Final Home matchup: team names should never sit on the card's lower edge. */
body.home-page[data-theme-family] .v97-current-game.is-final .v97-current-matchup,
body.home-page.theme-default .v97-current-game.is-final .v97-current-matchup{
  padding-bottom:18px!important;
}
body.home-page[data-theme-family] .v97-current-game.is-final .v97-current-team small,
body.home-page.theme-default .v97-current-game.is-final .v97-current-team small{
  margin-top:7px!important;
  margin-bottom:3px!important;
  line-height:1.2!important;
}

/* Scorecard Game Information: one value scale and one baseline contract. */
body[data-theme-family]:not(.home-page) .game-info.with-extras .game-field{
  grid-template-rows:14px 20px minmax(30px,auto)!important;
  align-content:center!important;
  justify-items:center!important;
  row-gap:5px!important;
}
body[data-theme-family]:not(.home-page) .game-info.with-extras .game-field-copy label{
  line-height:1!important;
  margin:0!important;
}
body[data-theme-family]:not(.home-page) .game-info.with-extras .game-info-icon{
  align-self:center!important;
  justify-self:center!important;
  line-height:1!important;
}
body[data-theme-family]:not(.home-page) .game-info.with-extras .game-field-copy input,
body[data-theme-family]:not(.home-page) .game-info.with-extras .game-field-copy textarea{
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  min-height:30px!important;
  height:30px!important;
  margin:0 auto!important;
  padding:0 5px!important;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  color:var(--text)!important;
  font-family:inherit!important;
  font-size:15px!important;
  font-weight:850!important;
  line-height:30px!important;
  text-align:center!important;
  text-align-last:center!important;
  vertical-align:middle!important;
  font-variant-numeric:tabular-nums!important;
  -webkit-appearance:none!important;
  appearance:none!important;
}
body[data-theme-family]:not(.home-page) .game-info.with-extras .game-field-copy textarea{
  line-height:1.05!important;
  padding-top:7px!important;
  padding-bottom:5px!important;
  resize:none!important;
  overflow:hidden!important;
  white-space:normal!important;
}
body[data-theme-family]:not(.home-page) .game-info.with-extras input[type="date"]::-webkit-date-and-time-value,
body[data-theme-family]:not(.home-page) .game-info.with-extras input[type="time"]::-webkit-date-and-time-value{
  min-height:30px!important;
  line-height:30px!important;
  margin:0!important;
  padding:0!important;
  text-align:center!important;
}
body[data-theme-family]:not(.home-page) .game-info.with-extras input[type="date"]::-webkit-calendar-picker-indicator,
body[data-theme-family]:not(.home-page) .game-info.with-extras input[type="time"]::-webkit-calendar-picker-indicator{
  display:none!important;
  opacity:0!important;
  width:0!important;
  height:0!important;
  margin:0!important;
  padding:0!important;
}

/* The utility Game Information editor uses the same value scale. */
#gameInfoManagerModal .v102-info-tile :is(input,textarea){
  font-size:15px!important;
  font-weight:850!important;
  line-height:1.12!important;
  text-align:center!important;
  text-align-last:center!important;
  font-variant-numeric:tabular-nums!important;
}
#gameInfoManagerModal .v102-info-tile input[type="date"]::-webkit-date-and-time-value,
#gameInfoManagerModal .v102-info-tile input[type="time"]::-webkit-date-and-time-value{
  text-align:center!important;
  margin:auto!important;
}

@media(max-width:600px){
  body[data-theme-family]:not(.home-page) .game-info.with-extras .game-field-copy input,
  body[data-theme-family]:not(.home-page) .game-info.with-extras .game-field-copy textarea{
    font-size:14px!important;
  }
  #gameInfoManagerModal .v102-info-tile :is(input,textarea){font-size:14px!important;}
  body.home-page[data-theme-family] .v97-current-game.is-final .v97-current-matchup,
  body.home-page.theme-default .v97-current-game.is-final .v97-current-matchup{
    padding-bottom:15px!important;
  }
}
