/* terminal-phone.css — the Exchange (terminal.html) on a phone. Loaded after the page's own <style> and mobile.css.
   Mike, 2026-11-16 ("Yes" to the Exchange next). Measured before the fix at 390 x 844 as a member, Chart view of
   Josh Allen: 7 controls short of a 44px tap and 17 texts under 11px; Portfolio, Comments, Watch and Alerts sat past
   the right edge of a sideways-scrolling tab strip with nothing showing they were there; 88px of empty space under
   the header. Checked by scripts/verify-terminal-phone.js. */
@media (max-width: 640px) {
  /* main kept an 88px clearance for the header, and on a phone the body already clears it (58px, the universal
     header) — 88px of nothing between the header and the tabs. The section's own 12px is the gap now. */
  :root:root body.as-universal-header main{padding-top:0}

  /* The view tabs: six tabs and two buttons in one scrolling row hid Comments, Portfolio, Watch and Alerts past the
     edge. Two rows of three tabs, then Watch and Alerts side by side — everything on screen. */
  :root:root body .vtabs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0 4px;overflow:visible}
  :root:root body .vtabs > button[role=tab]{grid-column:span 2;min-height:44px;padding-left:2px;padding-right:2px;text-align:center}
  :root:root body .vtabs > .star{grid-column:span 3;margin:6px 0 8px!important;min-height:44px;padding:0 10px}
  :root:root body .vtabs > .star .vl{display:inline}
  :root:root body .vtabs > .vt-live{display:none}

  /* Trade (⇄) beside the price was 35px wide; the season picker 32px tall; the watchlist's BUF / QB tabs 42 / 35 wide. */
  :root:root body .ex-btn{min-width:44px;min-height:44px}
  :root:root body #seasonSel{min-height:44px}
  :root:root body .wtabs button{min-width:44px}

  /* The player's name links to his profile; a 36px line — widened to 44 without moving the header. */
  :root:root body .hd h1 .pname-a{display:inline-block;position:relative;z-index:1;padding-block:7px;margin-block:-7px}

  /* The Trade ticket, the price-alert sheet and the Portfolio board: segmented buttons (Buy / Sell / Short / Cover,
     Market / Limit, Shares / A$, Above / Below, Season / This week) were 36px, the inputs 38, Post / Buy 40, the
     sheets' close × 32, a comment's Delete 28. */
  :root:root body .pa-seg button{min-height:44px}
  :root:root body .pa-amt input{min-height:42px}
  :root:root body .pa-go{min-height:44px}
  :root:root body .pa-x{min-width:44px;min-height:44px}
  :root:root body .cm-del{min-height:44px;min-width:44px}

  /* Indicators: each row is a label around its checkbox, so the ROW is the tap — 40px, now 44. */
  :root:root body .ind-menu label{min-height:44px}

  /* Text: the period strip's labels (1G / 4W / SZN / 17G / High) and the charts' 9–10px labels. */
  :root:root body .per .k{font-size:11px}
  :root:root body svg text[font-size="9"],
  :root:root body svg text[font-size="10"]{font-size:11px}
}
