body {
    font-family: "Roboto Mono", monospace;
}

.gameArea {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 32px;
    padding: 48px 16px;
}

.sidePanel {
    max-width: 320px;
}

.container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #dcd6bc;
    padding: 24px;
    border: 6px solid;
    border-color: #f5f3eb #bab7a9 #bab7a9 #fff9db;
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.panel-title {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 4px;
    color: #4a4636;
    margin: 0;
}

.scorebox {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #1a1a1a;
    padding: 8px 14px;
    border: 4px solid;
    border-color: #bab7a9 #fff9db #fff9db #bab7a9;
}

.scorebox-label {
    color: #8a8672;
    font-size: 12px;
    letter-spacing: 2px;
}

#score {
    color: #5be36b;
    font-size: 20px;
    font-weight: 700;
    min-width: 3ch;
    text-align: right;
}

.playfield {
    display: flex;
    gap: 24px;
}

.grid-frame {
    display: inline-block;
    background-color: #101010;
    border: 8px solid #bab7a9;
    box-shadow: inset 0 0 0 2px #000;
}

.grid {
    width: 280px;
    height: 560px;
    display: flex;
    flex-wrap: wrap;
    background-color: #101010;
}

.grid div {
    height: 28px;
    width: 28px;
}

.tetromino {
    background-color: blue;
    border: 3px solid;
    border-color: #f5f3eb #bab7a9 #bab7a9 #fff9db;
    box-sizing: border-box;
}

.sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 140px;
}

.sidebar-label {
    font-size: 12px;
    letter-spacing: 2px;
    color: #4a4636;
    font-weight: 700;
}

.mini-grid-frame {
    display: inline-block;
    background-color: #101010;
    border: 6px solid #bab7a9;
}

.mini-grid {
    width: 112px;
    height: 112px;
    display: flex;
    flex-wrap: wrap;
    background-color: #101010;
}

.mini-grid div {
    height: 28px;
    width: 28px;
}

#start-button {
    font-family: inherit;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 10px 16px;
    background-color: #dcd6bc;
    border: 4px solid;
    border-color: #fff9db #bab7a9 #bab7a9 #f5f3eb;
    cursor: pointer;
}

#start-button:active {
    border-color: #bab7a9 #fff9db #fff9db #bab7a9;
}

.instructions {
    font-size: 11px;
    color: #6b674f;
    text-align: center;
    line-height: 1.6;
    margin: 0;
}
