/* 2048 Puzzle Game Styles */

.puzzle2048-board {
    width: min(85vw, 85vh);
    height: min(85vw, 85vh);
    background: #bbada0;
    border-radius: 10px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 10px;
    padding: 10px;
    box-sizing: border-box;
    position: relative;
}

.puzzle2048-cell {
    background: #cdc1b4;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: bold;
    color: #776e65;
    min-height: 50px;
    transition: all 0.2s ease;
}

.puzzle2048-cell.tile-2 { background: #eee4da; color: #776e65; }
.puzzle2048-cell.tile-4 { background: #ede0c8; color: #776e65; }
.puzzle2048-cell.tile-8 { background: #f2b179; color: #f9f6f2; }
.puzzle2048-cell.tile-16 { background: #f59563; color: #f9f6f2; }
.puzzle2048-cell.tile-32 { background: #f67c5f; color: #f9f6f2; }
.puzzle2048-cell.tile-64 { background: #f65e3b; color: #f9f6f2; }
.puzzle2048-cell.tile-128 { background: #edcf72; color: #f9f6f2; font-size: 1.7em; }
.puzzle2048-cell.tile-256 { background: #edcc61; color: #f9f6f2; font-size: 1.7em; }
.puzzle2048-cell.tile-512 { background: #edc850; color: #f9f6f2; font-size: 1.7em; }
.puzzle2048-cell.tile-1024 { background: #edc53f; color: #f9f6f2; font-size: 1.4em; }
.puzzle2048-cell.tile-2048 { background: #edc22e; color: #f9f6f2; font-size: 1.4em; }