.bt-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    left: 50%;
    top: 67%;
    height: 25%;
    transform: translateX(-50%);
    z-index: 999;
}

.bt-btn {
    flex: 1;
    margin-top: 20px;
    color: #0089D0;
    box-sizing: border-box;
    background: #4CAF50;
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    transition-duration: 0.4s;
    padding: 6px 20px;
}
.bt-btn:hover {
    background-color: #45a049; /* Darker green on hover */
}
@media (max-width: 550px) {
    .bt-btn {
        font-size: small;
    }
}

#bt-review {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 10%;
    left: 0;
    right: 0;
    bottom: 0;
    align-items: center;
    justify-content: space-evenly;
    flex-direction: column;
}

@media screen and (min-aspect-ratio: 1/1) {
    #bt-review {
        margin-left: 150px;
        margin-right: 150px;
    }
}

#board-notice {
    display: inline-block;
    position: relative;
    left: 0;
    top: 0;
    border: 1px solid #445644;
    border-radius: 12px;
    overflow: hidden;
}
#board-contract {
    display: flex;
    flex-direction: column;
    padding: 5px 8px 5px 8px;
    gap: 5px;
    align-items: center;
    justify-content: space-evenly;
}
#board-contract span {
    display: flex;
    align-items: center;
}
#board-contract span img {
    width: 1rem;
    height: 1rem;
}

.board-hands {
    display: block;
    width: 500px;
    margin: 0 auto;
}
.board-hands-cell {
    float: left;
    display: block;
    width: 10rem !important;
    height: 8.6875rem;
}
#board-wrapper {
    margin-left: 20px;
}
#board-wrapper .board-hands-cell:nth-child(3n+1) {
    padding-right: .165rem;
}
#board-wrapper .board-hands-cell:nth-child(3n+2) {
    padding-right: .0825rem;
    width: 9.175rem !important;
}
#board-wrapper .board-hands-cell:nth-child(3n+3) {
    padding-left: .165rem;
}
#board-wrapper .board-hands-cell:nth-child(1),
#board-wrapper .board-hands-cell:nth-child(2),
#board-wrapper .board-hands-cell:nth-child(3) {
    margin-bottom: .25rem;
}
#board-wrapper .board-hands-cell:nth-child(5) {
    display: flex;
    align-items: center;
    justify-content: center;
}
#board-wrapper .board-hands-cell:nth-child(7),
#board-wrapper .board-hands-cell:nth-child(8),
#board-wrapper .board-hands-cell:nth-child(9) {
    margin-top: .25rem;
}
#board-wrapper .board-hands-cell > svg {
    margin-top: 20px;
}
#board-wrapper .board-hands-cell h6,
#board-wrapper .board-hands-cell ul {
    margin: 0px !important;
}
#board-wrapper .board-hands-cell h6 {
    color: #fff;
    padding-left: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: -.015rem;
    text-transform: uppercase;
    border-radius: .25rem .25rem 0px 0px;
}
#board-wrapper .board-hands-cell.bt-hand-vuln h6 {
    color: #E64C3C;
}
#board-wrapper .board-hands-cell h6 i {
    margin-left: .5rem;
    font-style: normal;
    font-weight: 400;
    text-transform: initial;
}
#board-wrapper .board-hands-cell ul {
    background: #203722;
    padding-right: 8px;
    border: 1px solid #374c39;
    border-radius: 8px;
    overflow: hidden;
    list-style: none;
}
#board-wrapper .board-hands-cell ul li {
    width: 100%;
    height: 1.75rem;
    margin-left: 0;
    border-bottom: 1px solid #455745;
    line-height: 1.75rem;
    font-family: 'Sofia Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: -.025rem;
    word-spacing: .025rem;
    white-space: nowrap;
    list-style: none;
}
#board-wrapper .board-hands-cell ul li:last-child {
    border-bottom: none;
}
#board-wrapper .board-hands-cell ul li:last-child::before {
    border-bottom: none;
}

/* Symboles des couleurs (PCKT) */
#board-wrapper .board-hands-cell ul li::before {
    display: inline-block;
    width: 1.5rem;
    height: inherit;
    line-height: inherit;
    border-bottom: 1px solid #203722;
    text-align: center;
    font-family: 'PCKT';
    font-size: inherit;
    letter-spacing: 0px !important;
    vertical-align: -.025rem;
}
#board-wrapper .board-hands-cell ul li[id$="-s"].bt-suiticons::before { content: 's'; font-size: 1.25rem !important; }
#board-wrapper .board-hands-cell ul li[id$="-h"].bt-suiticons::before { content: '3'; font-size: 1.25rem !important; color: #cc004c; }
#board-wrapper .board-hands-cell ul li[id$="-d"].bt-suiticons::before { content: '4'; font-size: 1.375rem !important; color: #cc004c; }
#board-wrapper .board-hands-cell ul li[id$="-c"].bt-suiticons::before { content: 'c'; font-size: 1.25rem !important; }

#board-wrapper .board-hands-cell ul li.bt-at-least-8,
#board-wrapper .board-hands-cell ul li.bt-at-least-9 { letter-spacing: -.05rem; }
#board-wrapper .board-hands-cell ul li.bt-at-least-10 { letter-spacing: 0px; }
#board-wrapper .board-hands-cell ul li.bt-at-least-11 { letter-spacing: -.03rem; }
#board-wrapper .board-hands-cell ul li.bt-at-least-12 { letter-spacing: .01rem; }
#board-wrapper .board-hands-cell ul li.bt-at-least-13 { letter-spacing: -.01rem; }
#board-wrapper .board-hands-cell ul li.bt-at-least-9 { font-family: 'Sofia Sans Semi Condensed', sans-serif; }
#board-wrapper .board-hands-cell ul li.bt-at-least-10,
#board-wrapper .board-hands-cell ul li.bt-at-least-11 { font-family: 'Sofia Sans Condensed', sans-serif; }
#board-wrapper .board-hands-cell ul li.bt-at-least-12,
#board-wrapper .board-hands-cell ul li.bt-at-least-13 { font-family: 'Sofia Sans Extra Condensed', sans-serif; }

#bt-review-comments {
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 4px;
}
label[for="final-comment"] {
    display: block;
    background: #6460aa;
    color: #fff;
    margin-bottom: -.0625rem;
    padding: .25rem .75rem;
    font-weight: 600;
    border-radius: .25rem .25rem 0px 0px;
    transform-origin: bottom;
}
#final-comment {
    border: .0625rem solid #54509a;
    border-radius: 0px 0px .25rem .25rem;
    min-height: 4rem;
    max-height: 10rem;
    padding: .5rem .75rem;
    overflow: auto;
    transform-origin: top;
}
@media screen and (max-aspect-ratio: 1/1) {
    #final-comment {
        width: 30rem;
    }
}
