.container-fluid {
    max-width: 1200px;
    margin: 0 auto;
}

.heading {
    display: grid;
    grid-template-columns: [left] 1fr [center] min-content [right] 1fr;
    grid-template-rows: [first] min-content;
    gap: 6px 4px;
}

.score-container,
.best-container {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    gap: 4px;
    box-sizing: border-box;
}

.score-name {
    font-size: .75rem;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-transform: uppercase;
    display: flex;
    font-weight: 500;
}

.score-value {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 1.25rem;
    line-height: 1;
    font-weight: 700;
}

.score-addition {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

.home-title {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.home-title button {
    background: none;
    outline: none;
    border: none;
    cursor: pointer;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
}

.home-title button svg,
.site__info--action svg {
    fill: #756452;
    width: 28px;
    height: 28px;
}

.home-title .menu-button:hover {
    --tw-bg-opacity: 1;
    background-color: rgb(224 218 209 / var(--tw-bg-opacity, 1));
}

.nav-menu {
    width: 20rem;
    --tw-bg-opacity: 1;
    background-color: rgb(224 218 209 / var(--tw-bg-opacity, 1));
    --tw-shadow: 0px -1px 0px 0px rgba(0, 0, 0, .1) inset, 0px 4px 6px 0px rgba(140, 100, 60, .13), 0px 10px 30px 0px rgba(140, 100, 60, .18);
    --tw-shadow-colored: inset 0px -1px 0px 0px var(--tw-shadow-color), 0px 4px 6px 0px var(--tw-shadow-color), 0px 10px 30px 0px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    will-change: opacity, transform;
    max-height: none;
    z-index: 40;
    border-radius: 15px;
    position: absolute;
    top: 100%;
    left: 0;
    min-height: 100px;
    padding: 8px;
    display: none;
    height: 0;
}

.nav-menu.active {
    display: block;
    height: auto;
}

.site__info {
    display: flex;
    gap: 8px;
    padding: 8px;
    border-radius: 8px;
}

.site__info img {
    display: block;
    border-radius: 10px;
}

.site__info--title {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.site__info--action {
    display: flex;
    gap: 8px;
}

button.site__info--button {
    padding: 0;
}

button.site__info--button svg,
.site__info--action svg {
    width: 24px;
    height: 24px;
}

button.site__info--button.site__info--button-dislike svg {
    transform: rotate(180deg);
}

.site__info--button.active svg {
    fill: #e46543;
}

.border-leather {
    border-color: #baac9a80;
    border-top-width: 1px;
    margin: 0.5rem 0;
    border-bottom: 0;
    border-style: solid;
}

.site__info--name {
    font-weight: 500;
}

.text-sm {
    font-size: .875rem;
    line-height: 1.25rem;
    opacity: .75;
}

#howtoplay:hover,
a.site__info:hover {
    --tw-bg-opacity: 1;
    background-color: rgb(152 136 118 / var(--tw-bg-opacity, 1));
    color: #fff;
    cursor: pointer;
}

.more-games {
    display: inline-block;
    background: #8f7a66;
    border-radius: 3px;
    padding: 0 20px;
    text-decoration: none;
    color: #f9f6f2;
    height: 40px;
    line-height: 42px;
    display: block;
    text-align: center;
    border-radius: 10px;
    font-weight: 400;
    font-size: 16px;
}

.right-game-control {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: flex-end;
}

a.site__info {
    font-weight: unset;
    text-decoration: none;
}

.home-title .restart-button {
    display: none;
}

.restart-button svg {
    display: none;
}

.body-layout-effects {
    background-color: #33312bb3;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
    text-wrap: pretty;
    position: fixed;
}

.howtoplay-content {
    position: fixed;
    --tw-shadow: 0px -1px 0px 0px rgba(0, 0, 0, .1) inset, 0px 4px 6px 0px rgba(140, 100, 60, .13), 0px 10px 30px 0px rgba(140, 100, 60, .18);
    --tw-shadow-colored: inset 0px -1px 0px 0px var(--tw-shadow-color), 0px 4px 6px 0px var(--tw-shadow-color), 0px 10px 30px 0px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    --tw-bg-opacity: 1;
    background-color: rgb(234 231 217 / var(--tw-bg-opacity, 1));
    border-radius: 4px;
    top: 10%;
    left: 50%;
    width: 80%;
    max-width: 768px;
    min-height: 100px;
    z-index: 51;
    transform: translateX(-50%);
    padding: 1rem;
    overflow: hidden auto;
    scrollbar-width: thin;
    scrollbar-color: #776e65 transparent;
    max-height: 80%;
}

.game-related-tag {
    display: inline-block;
    margin-top: 0.5rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    text-transform: lowercase;
    text-decoration: none;
    background: #8f7a66;
    font-weight: 400;
    border-radius: 10px;
    font-weight: 400;
    font-size: 16px;
    color: #f9f6f2 !important;
    padding: 6px 10px;
}

.about__content ol,
.about__content ul {
    padding-left: 40px;
    list-style: disc;
}

.about__content li {
    list-style: disc;
    display: list-item;
    margin: 0.4rem 0;
}

.howtoplay-content .about__content a {
    color: #bf3516;

}

.about__content h1,
.about__content h2 {
    text-transform: capitalize;
}

.about__content h1,
.about__content h2,
.about__content h3,
.about__content h4,
.about__content h5,
.about__content h6 {
    margin: revert;
    font-weight: revert;
    font-size: revert;
}

.about__content img {
    max-width: 100%;
    height: auto;
}

.about__content p {
    margin-bottom: 8px;
}

.hidden {
    display: none !important;
}

.close-popup {
    position: absolute;
    border: 0;
    outline: 0;
    background: #dbdbdb;
    width: 40px;
    height: 40px;
    top: 2px;
    right: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-popup svg {
    fill: #756452;
    width: 24px;
    height: 24px;
}

@media screen and (max-height: 660px) and (min-width: 481px) {
    body {
        padding-top: 10px;
        padding-bottom: 20px;
    }
}

@media(max-width:767px) {
    .more-games {
        display: none;
    }

    .restart-button span {
        display: none;
    }

    .heading {
        display: flex;
        flex-wrap: wrap;
    }

    .scores-container {
        width: 100%;
        order: 1;
        padding: 0;
    }

    .score-container,
    .best-container {
        padding: 0;
        height: 40px;
        flex-direction: row;
        justify-content: space-between;
        padding: 0.25rem 1rem;
        box-sizing: border-box;
        width: 50%;
    }

    .right-game-control {
        display: none;
    }

    .home-title {
        width: 100%;
    }

    h1.title {
        margin-top: 0;
    }

    .home-title .restart-button {
        width: 44px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .home-title .restart-button svg {
        display: block;
    }

    .home-title {
        justify-content: space-between;
        align-items: center;
    }

    .game-container {
        margin-top: 64px;
    }
}