* {
    box-sizing: border-box;
}

body {
    display: grid;
    min-height: 100vh;
    margin: 0;
    padding: 24px;
    place-items: center;
    background: #f3f5f9;
    color: #172033;
    font: 16px/1.5 system-ui, sans-serif;
}

main {
    width: min(100%, 560px);
    padding: 28px;
    border: 1px solid #e1e5ed;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 36px #17203312;
}

h1 {
    margin: 0;
}

.stats {
    display: flex;
    justify-content: space-between;
    margin: 20px 0 12px;
}

.board {
    position: relative;
    min-height: 300px;
    overflow: hidden;
    border: 1px solid #d5dbea;
    border-radius: 8px;
    background: #f8faff;
}

.message {
    position: absolute;
    inset: 45% 12px auto;
    margin: 0;
    text-align: center;
    color: #5b6475;
}

button {
    font: inherit;
    cursor: pointer;
}

.target {
    position: absolute;
    width: 76px;
    height: 48px;
    border: 0;
    border-radius: 24px;
    background: #315ee8;
    color: #fff;
    font-weight: 700;
}

.start {
    width: 100%;
    margin-top: 16px;
    padding: 11px;
    border: 0;
    border-radius: 6px;
    background: #172033;
    color: #fff;
    font-weight: 600;
}

button:focus-visible {
    outline: 3px solid #ffbf47;
    outline-offset: 3px;
}

button:disabled {
    cursor: default;
    opacity: .65;
}
