/* ---------- tablet portrait (768x1024 .. 1024x1366) ----------
   The portrait phone layout is the one the game is designed around. On a tablet we scale the
   whole career UI up so type, art and touch targets grow and the layout uses the full height,
   instead of stretching phone-sized pieces across dead space. The 3D match screen is left alone. */
@media (min-width: 700px) and (orientation: portrait) {
  .app:not([data-screen="match"]), .modal-wrap, .sign-wrap { zoom: 1.16; }
  .toast { zoom: 1.16; }
}
@media (min-width: 700px) and (orientation: portrait) and (min-height: 1100px) {
  .app:not([data-screen="match"]), .modal-wrap, .sign-wrap, .toast { zoom: 1.33; }
}
@media (min-width: 900px) and (orientation: portrait) and (min-height: 1300px) {
  .app:not([data-screen="match"]), .modal-wrap, .sign-wrap, .toast { zoom: 1.52; }
}

/* use the full height on tablets */
@media (min-width: 700px) and (orientation: portrait) {
  /* trophy ceremony: spread the hero and the road over the screen */
  .ceremony-screen .scroll { display: flex; flex-direction: column; }
  .ceremony-screen .cer-wrap { flex: 1; width: 100%; max-width: 640px; align-content: space-evenly; padding-bottom: 28px; }
  .ceremony-screen .cer-trophy { width: 260px; }
  .ceremony-screen .cer-title { font-size: 76px; }
  .ceremony-screen .cer-stamp { right: 0; }
  /* trainer's room: the report grows to fill the page */
  .inj-screen .scroll { display: flex; flex-direction: column; }
  .inj-screen .inj-wrap { flex: 1; width: 100%; max-width: 640px; grid-template-rows: 1fr auto; padding-bottom: 20px; }
  .inj-screen .clipboard { display: flex; flex-direction: column; }
  .inj-screen .cb-paper { flex: 1; display: flex; flex-direction: column; }
  .inj-screen .cb-main { flex: 1; grid-template-columns: 44% 1fr; align-items: stretch; }
  .inj-screen .cb-body { display: flex; align-items: center; justify-content: center; }
  .inj-screen .cb-body .cb-fig { height: 100%; max-height: 360px; width: auto; aspect-ratio: 11 / 20; }
  .inj-screen .cb-dx { align-content: center; }
  .inj-screen .cb-dx .cb-name { font-size: 32px; }
}

@media (min-width: 700px) and (orientation: portrait) {
  /* lobby: the glass fills the cabinet */
  .hub-case .case-glass { flex: 1; }
  /* attributes: rating card + radar side by side, taller card */
  .stats-screen .st-side { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: stretch; }
  .stats-screen .st-radar { display: grid; place-items: center; padding: 8px; }
  .stats-screen .st-radar .radar { max-width: 210px; }
  .stats-screen .rc-in { height: 270px; }
  /* call-up: the hero grows into the free height */
  .cu2 .scroll { display: flex; flex-direction: column; }
  .cu2 .cu2-wrap { flex: 1; width: 100%; grid-template-rows: minmax(340px, 1fr) auto; }
  .cu2 .cu2-stage { display: flex; flex-direction: column; }
  .cu2 .cu2-stage .cu2-hero { flex: 1; height: auto; min-height: 340px; }
}
@media (min-width: 700px) and (orientation: portrait) {
  .cu2 .cu2-stage .hero.cropped .hero-img { width: 112%; left: -6%; top: 0; height: auto; }
}

@media (min-width: 700px) and (orientation: portrait) {
  /* short screens sit in the middle of the page instead of leaving a void below */
  .season-screen .scroll, .pt-screen .scroll, .callup-screen.varsity .scroll { display: flex; flex-direction: column; }
  .season-screen .sv-wrap, .pt-screen .pt-wrap { margin: auto; width: 100%; }
  .season-screen .sv-hero { grid-template-columns: 120px 1fr; }
  .season-screen .sv-photo { width: 120px; height: 132px; }
  .season-screen .sv-nums b { font-size: 36px; }
  .pt-screen .pt-body { width: 110px; }
  .pt-screen .tg-track { height: 96px; }
  .pt-screen .tg-hit { min-height: 88px; font-size: 30px; }
}
