.checkers-subtitle {
    text-align: center;
    margin-bottom: 14px;
}

.checkers-panel {
    width: min(720px, 100%);
    margin-inline: auto;
    text-align: center;
}

.checkers-status {
    min-height: 48px;
    margin-bottom: 12px;
    font-size: 20px;
}

.checkers-board {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    width: min(92vw, 560px);
    margin: 0 auto 14px;
    border: 4px solid var(--border);
    background: #8a6a4a;
}

.checkers-square {
    position: relative;
    aspect-ratio: 1 / 1;
    border: 0;
    padding: 0;
    display: grid;
    place-items: center;
}

.checkers-square.light {
    background: #f4dfbf;
}

.checkers-square.dark {
    background: #9b6d46;
    cursor: pointer;
}

.checkers-square.selected {
    outline: 4px solid #ffe27a;
    outline-offset: -4px;
}

.checkers-square.hint::after {
    content: "";
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 250, 214, 0.7);
    position: absolute;
}

.checkers-piece {
    width: 72%;
    height: 72%;
    border-radius: 50%;
    border: 3px solid var(--border);
    display: grid;
    place-items: center;
    font-size: clamp(12px, 2.2vw, 16px);
    font-weight: 700;
}

.checkers-piece.red {
    background: radial-gradient(circle at 30% 30%, #ffceca 0%, #f07d67 40%, #c74f3a 100%);
    color: #4b160d;
}

.checkers-piece.black {
    background: radial-gradient(circle at 30% 30%, #79828c 0%, #2c3742 45%, #121a20 100%);
    color: #f5efe5;
}

.checkers-controls {
    display: flex;
    justify-content: center;
}
