/* 10 October 2026 tweaks (package "tweaks"). */

/* Fight screen: the rows of Attack/Defend and of Food and potions/Flee always stay in sight; only the
   skills between them scroll. Food and potions open in the skills' place and close again with the same
   button, so they can never be pushed below the screen by a long list of skills. */
.factions.fplay { overflow: hidden; }
.factions.fplay > .fbasic { flex: none; }
.factions.fplay > .fskills { flex: 1 1 auto; min-height: 0; overflow-y: auto; align-content: start; grid-auto-rows: max-content; overscroll-behavior: contain; }
.factions.fplay > .fbag { flex: 1 1 auto; min-height: 0; max-height: none; overflow-y: auto; overscroll-behavior: contain; }
.factions.fplay.bagopen #fbag { border-color: var(--gold); }
