/* Display only: no game state or IRC changes. */
#games-window .games-content{display:flex;flex-direction:column;align-items:center;gap:0;padding:20px 22px;box-sizing:border-box}
#games-window .games-library,#games-window .game-scores,#games-window .game-buttons,#games-window .game-status{width:min(100%,360px);box-sizing:border-box;flex-shrink:0}
#games-window .game-board{box-sizing:border-box;width:min(100%,360px);height:auto;aspect-ratio:1 / 1;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr));flex:none;margin:0 auto;gap:8px;padding:9px}
#games-window .game-tile{min-width:0;min-height:0;overflow:hidden;font-size:clamp(16px,2.5vw,30px);line-height:1;background:#36322e}
#games-window .game-tile[data-filled=true]{background:#c9c1b3;color:#29251f}
#games-window .game-tile[data-filled=true]:nth-child(even){background:#c7b697;color:#29251f}
#games-window .game-buttons{justify-content:center}
#games-window .game-status{text-align:center}
@media(max-width:760px){
 #games-window .games-content{justify-content:center;justify-content:safe center;padding:28px 20px 38px}
 #games-window .game-tile{font-size:clamp(18px,7vw,30px)}
}


#games-window .game-tile[data-filled=true][data-value="2"]{background:#c9c1b3;color:#29251f}
#games-window .game-tile[data-filled=true][data-value="4"]{background:#c7b697;color:#29251f}
#games-window .game-tile[data-filled=true][data-value="8"]{background:#bd9470;color:#29251f}
#games-window .game-tile[data-filled=true][data-value="16"]{background:#ba8565;color:#29251f}
#games-window .game-tile[data-filled=true][data-value="32"]{background:#b57458;color:#241b16}
#games-window .game-tile[data-filled=true][data-value="64"]{background:#ad634a;color:#fffaf0}
#games-window .game-tile[data-filled=true][data-value="128"]{background:#b59c64;color:#29251f}
#games-window .game-tile[data-filled=true][data-value="256"]{background:#ad9257;color:#29251f}
#games-window .game-tile[data-filled=true][data-value="512"]{background:#a58949;color:#241e14}
#games-window .game-tile[data-filled=true][data-value="1024"]{background:#96783a;color:#fffaf0}
#games-window .game-tile[data-filled=true][data-value="2048"]{background:#876b31;color:#fffaf0}
