.tetris-area {
    display: none;
    width: 100%;
    margin-top: 14px;
}

.tetris-area.active {
    display: block;
}

.tetris-game {
    width: 100%;
    display: flex;
    justify-content: center;
}

#tetrisCanvas {
    width: 180px;
    height: 252px;
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 18px;
    background: #f7f7f8;
    box-shadow:
        inset 0 0 24px rgba(0,0,0,.045),
        0 14px 32px rgba(0,0,0,.08);
}

.tetris-controls {
    display: grid;
    grid-template-columns: repeat(4, 52px);
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.tetris-controls button {
    width: 52px;
    height: 52px;
    margin: 0;
    padding: 0;
    border-radius: 17px;
    background: rgba(255,255,255,.86);
    border: 1px solid rgba(0,0,0,.1);
    color: #111;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.95),
        0 10px 22px rgba(0,0,0,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .16s;
}

.tetris-controls button svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: none;
}

.tetris-controls button:hover {
    transform: translateY(-2px);
    color: #fff;
    background: #111;
    border-color: #111;
}

.tetris-controls button:active {
    transform: translateY(2px) scale(.96);
    box-shadow:
        inset 0 2px 10px rgba(0,0,0,.28),
        0 3px 10px rgba(0,0,0,.08);
}

.tetris-info {
    margin-top: 10px;
    font-size: 12px;
    color: #777;
    line-height: 1.5;
}

.tetris-area,
.tetris-area *,
.tetris-controls,
.tetris-controls * {
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}
