/* Outnumbered (horde): wide screens (iPad portrait and landscape, desktop windows). Linked only when the site's wide engine is on, behind its gate
   (docs/ipad-duo/GAME-WORKER-GUIDE.md); every rule starts html.tc-wide, so a phone never applies any of it.
   The playfield itself is laid out by the page (layout() -> wideView): it fills the window with a view of about the same world area as the phone's
   360 x 640, and the HUD sits in the corners. This file only sizes the menus and pop-ups. */
html.tc-wide .scr .box { max-width: 520px; zoom: 1.3; }
html.tc-wide #s-start { align-items: center; }
html.tc-wide #s-start .box { max-width: 600px; height: auto; justify-content: center; gap: 10px; }
html.tc-wide #s-start #bestlbl { margin-top: 4px; }
html.tc-wide #s-start #stage { max-height: 300px; flex: 0 1 300px; }
html.tc-wide #s-start #arenas { flex: 0 0 140px; }
html.tc-wide #s-start #playrow { margin-top: 6px; }
html.tc-wide #hint, html.tc-wide #mv { font-size: 22px; }
html.tc-wide #ann .a1 { font-size: 36px; padding: 8px 60px 10px; }
html.tc-wide #ann .a2 { font-size: 15px; }
html.tc-wide #hintsDone { font-size: 24px; }

/* landscape: hero stage on the left, the choices on the right; level-up cards side by side */
html.tc-wide.tcw-wide #s-start .box { max-width: none; width: min(100%, 860px); height: auto; max-height: 100%; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  grid-auto-rows: auto; column-gap: 20px; row-gap: 8px; align-content: center; }
html.tc-wide.tcw-wide #s-start .top, html.tc-wide.tcw-wide #s-start #skins { grid-column: 1 / -1; }
html.tc-wide.tcw-wide #s-start #stage { grid-column: 1; grid-row: 3 / span 6; max-height: none; min-height: 330px; height: 100%; }
html.tc-wide.tcw-wide #s-start #lblHero, html.tc-wide.tcw-wide #s-start #heroes, html.tc-wide.tcw-wide #s-start #lblArena, html.tc-wide.tcw-wide #s-start #arenas,
html.tc-wide.tcw-wide #s-start #bestlbl, html.tc-wide.tcw-wide #s-start #playrow { grid-column: 2; }
html.tc-wide.tcw-wide #s-cards .box { max-width: 760px; }
html.tc-wide.tcw-wide #cardlist { flex-direction: row; align-items: stretch; gap: 12px; }
html.tc-wide.tcw-wide #cardlist .card { flex: 1 1 0; width: auto; flex-direction: column; text-align: center; justify-content: flex-start; gap: 8px; min-height: 236px; padding: 14px 4px 10px; }
html.tc-wide.tcw-wide #cardlist .card.lock { transform: translateY(46px); }
html.tc-wide.tcw-wide #cardlist .card .ci { width: 84px; height: 84px; }
html.tc-wide.tcw-wide #cardlist .card .ct { flex: 0 1 auto; width: 100%; }
html.tc-wide.tcw-wide #cardlist .card .ck { justify-content: center; flex-wrap: wrap; margin-bottom: 4px; }
html.tc-wide.tcw-wide #cardlist .card .rib { right: 50%; transform: translateX(50%); animation: none; }

@media (min-width: 1000px) and (min-height: 1000px) { html.tc-wide .scr .box { zoom: 1.55; } }
@media (max-height: 760px) { html.tc-wide .scr .box { zoom: 1.12; } }
