body {
    --feedback-ink: #172129;
    --feedback-muted: #4e5b65;
    --feedback-focus: #ad450e;
    --feedback-border: #84939f;
    color: var(--feedback-ink);
    background: #fff;
}

.navbar-brand {
    color: var(--feedback-ink);
    font-weight: 700;
    white-space: normal;
}

.question-container.list-radio {
    margin-block: 0 clamp(1rem, 3vh, 2.25rem);
    border: 0;
    box-shadow: none;
}

.question-container.list-radio .question-title-container {
    text-align: center;
}

.question-container.list-radio .question-text {
    font-size: clamp(1.625rem, 4.4vmin, 2.75rem);
    font-weight: 650;
    line-height: 1.22;
}

.list-radio .bootstrap-buttons-list {
    display: grid;
    gap: clamp(.75rem, 3vw, 2rem);
    max-width: 31rem;
    margin: .875rem auto 0;
    padding: 0;
}

.question-container.list-radio ul.bootstrap-buttons-list:has(> .bootstrap-buttons-div:nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
    max-width: 324px;
    justify-content: stretch;
}

.list-radio .bootstrap-buttons-list > li {
    width: 100%;
    padding: 0;
}

.list-radio .bootstrap-buttons-list .form-check {
    padding: 0;
    margin: 0;
}

.list-radio .bootstrap-buttons-list label.btn {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: .45rem;
    min-height: clamp(6rem, 15vmin, 9rem);
    padding: .55rem .5rem;
    border: 2px solid var(--feedback-border);
    border-radius: 1rem;
    background: #fff;
    color: var(--feedback-ink);
    font-size: clamp(1.25rem, 3vmin, 2rem);
    font-weight: 650;
    line-height: 1.2;
    cursor: pointer;
    touch-action: manipulation;
}

.list-radio .bootstrap-buttons-list:has(> .bootstrap-buttons-div:nth-child(2):last-child) label.btn {
    aspect-ratio: 1;
    min-height: 0;
}

.list-radio .bootstrap-buttons-list input[value="A1"] + label::before,
.list-radio .bootstrap-buttons-list input[value="A2"] + label::before {
    display: grid;
    width: 1.45em;
    height: 1.45em;
    place-items: center;
    border: 2px solid currentColor;
    border-radius: 50%;
    font-size: .9em;
    line-height: 1;
    content: "✓" / "";
}

.list-radio .bootstrap-buttons-list input[value="A2"] + label::before {
    content: "×" / "";
}

.list-radio .bootstrap-buttons-list input:checked + label.btn,
.list-radio .bootstrap-buttons-list .form-check.active label.btn {
    --bs-btn-active-bg: var(--feedback-ink);
    --bs-btn-active-border-color: var(--feedback-ink);
    --bs-btn-active-color: #fff;
    --bs-btn-hover-bg: var(--bs-btn-active-bg);
    --bs-btn-hover-border-color: var(--bs-btn-active-border-color);
    --bs-btn-hover-color: var(--bs-btn-active-color);
    border-color: var(--bs-btn-active-border-color);
    background-color: var(--bs-btn-active-bg);
    color: var(--bs-btn-active-color);
}

.list-radio .bootstrap-buttons-list input:focus-visible + label,
#ls-button-submit:focus-visible,
.sportdepot-completion button:focus-visible {
    outline: 3px solid var(--feedback-focus);
    outline-offset: 4px;
}

#navigator-container {
    margin-block: .5rem 1rem;
}

#ls-button-submit,
#movesubmitbtn {
    min-width: 14rem;
    min-height: 4.5rem;
    border: 2px solid var(--feedback-ink);
    border-radius: .75rem;
    background: var(--feedback-ink);
    color: #fff;
    font-size: 1.45rem;
    font-weight: 650;
    touch-action: manipulation;
}

.sportdepot-completion {
    max-width: 36rem;
    margin: clamp(1.5rem, 7vh, 5rem) auto;
    padding: clamp(1.25rem, 4vw, 2.75rem);
    border: 1px solid #dce2e6;
    border-radius: 1.25rem;
    text-align: center;
}

.sportdepot-completion h2 {
    margin: 0;
    font-size: clamp(1.5rem, 4.15vmin, 2.5rem);
    font-weight: 700;
}

.sportdepot-completion-logo {
    width: min(13rem, 80%);
    height: 3rem;
    margin: 1.25rem auto;
    background: center / contain no-repeat url("../files/sportdepot-logo.png");
}

.sportdepot-completion p {
    margin: 0;
    color: var(--feedback-muted);
    font-size: 1.1rem;
}

.sportdepot-completion .sportdepot-countdown {
    display: grid;
    width: 3rem;
    height: 3rem;
    margin: .65rem auto 0;
    place-items: center;
    border-radius: 50%;
    background: var(--feedback-ink);
    color: #fff;
    font-size: 1.375rem;
    font-variant-numeric: tabular-nums;
}

@media (orientation: landscape) and (max-height: 820px) {
    .question-container.list-radio {
        margin-block-end: .85rem;
    }

    .list-radio .bootstrap-buttons-list {
        margin-block-start: .5rem;
    }

    .list-radio .bootstrap-buttons-list label.btn {
        min-height: min(15vh, 7.25rem);
    }
}

@media (orientation: landscape) and (max-height: 720px) {
    .group-outer-container:has(.list-radio .bootstrap-buttons-list > .bootstrap-buttons-div:nth-child(2):last-child) {
        margin-block-end: 1rem;
    }

    .question-container.list-radio:has(.bootstrap-buttons-list > .bootstrap-buttons-div:nth-child(2):last-child) .question-title-container {
        padding-block: .5rem;
    }
}
