/* WEB-BRED (Linh, 2026-11-01): a laptop gives Läs, the reader and Öva up to 1100 px, Hem and Inställningar up to 840 px, nothing else. No page is laid out anew:
   each keeps its design and order, its rows and texts only get room (long texts take fewer lines, rows show more cards).
   The reader's story text grows a little, to about 800 px (38em at 21 px; 34em on a phone), not to the page's width: long lines lose the reader's eye.
   Glosor, Vänner, the games and every sheet keep the phone column; the tab bar is unchanged. Phones and tablets never reach this. */
@media (min-width: 1024px) {
  body:has(#lasView:not([hidden]), #readView:not([hidden]), #lekView:not([hidden])) :is(body > main, body > header, .gbar .gbinner) { max-width: 1100px; }
  /* Hem and Inställningar are read top to bottom, a label and its value on one row: at 1100 px the eye loses the row (Linh, 2026-11-01), so they stop at 840 px:
     not 860, since the pet's path on Hem is drawn for a frame of at most 2.24 x its height (js/husdjur-vag.js VB) and 840 gives 804 x 360 */
  body:has(#framstegView:not([hidden]), #moreView:not([hidden])) :is(body > main, body > header, .gbar .gbinner) { max-width: 840px; }
  #readView .story { max-width: 38em; }
}
