/* 🎯 FF143 (Shulem, Nov 9 2026, video of Reversi face to face: "I go here and I go here, the whole screen shifts. The game should always stay in the center.")
   Face to face (one phone flat between two players): the hint line used to jump between above the board (top player's turn) and below it (bottom player's turn),
   so the board moved up and down on every turn. Now each player's strip has one fixed height with a fixed hint row inside it (the top strip is turned to the
   top player, as before); the hint shows in the strip of the player whose turn it is; the line above / under the board is not used while the game is on.
   Loads after app.css / bg141.css. Backgammon keeps its BG141 signs. */
.gseat .gshint{display:none}
.gscr.ffs .gseat{flex-wrap:wrap;align-content:center;row-gap:2px;height:86px;min-height:0;overflow:hidden}
.gscr.ffs .gsn small{flex-wrap:nowrap;white-space:nowrap;overflow:hidden}
.gscr.ffs .gseat .gshint{display:block;flex:0 0 100%;height:20px;line-height:20px;text-align:center;font-size:13.5px;font-weight:800;color:#d33b3b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gscr.ff143>#gmsg,.gscr.ff143>#gextra{display:none}
/* two phones / one phone side by side (board games with a fixed-size board): the players, the board and the emoji row sit together in the middle
   of the screen, under the header. Every part keeps its height between turns (the line above the board never shrinks, play.js), Chess keeps room
   for the "You took" line from the start, so the board stays in one spot. */
.gscr.kmid{display:flex;flex-direction:column;min-height:100vh;min-height:100svh}
.gscr.kmid>#gpl{margin-top:auto}
.gscr.kmid>.grx{margin-bottom:auto}
.gscr.kmid[data-ffk="chess"]>#gextra{height:42px;overflow:hidden}
.gscr.kmid .taken{white-space:nowrap}.gscr.kmid .taken i{font-size:19px}
/* the end card sits at the bottom of the screen (over the bottom strip face to face), so the board doesn't jump when the game ends */
.gscr.ffs.ffend>#gmsg{display:none}
.gscr.ffend>#gextra{transform:none;overflow:visible}
.gscr.ffend>#gextra>.gover{position:absolute;left:12px;right:12px;bottom:max(8px,env(safe-area-inset-bottom));z-index:6;margin:0;box-shadow:0 6px 24px rgba(20,40,80,.22)}
/* the little pop-up words ("Put it where it flips a piece") face the player whose turn it is: at the top, turned, on the top player's turn */
body:has(.gscr.f2f.t2) #toast{top:96px;bottom:auto;transform:translateX(-50%) translateY(-20px) rotate(180deg)}
body:has(.gscr.f2f.t2) #toast.on{transform:translateX(-50%) rotate(180deg)}
/* 🌙 dark */
html.kdark .gscr.ffs .gseat .gshint{color:#ff8f8f}
html.kdark .gscr.ffend>#gextra>.gover{box-shadow:0 6px 24px rgba(0,0,0,.5)}
.gscr.ffs .gstag.on{font-size:14px;padding:6px 12px}
