:root {
    --white: #daddf4;
    --darkgrey: #1f2130;
    --grey: #2b2d3f;
    --background: #0e0f16;
    --header: #141521;

    --fieldWhite: #1f2130;
    --fieldBlack: #13141d;

    --green: #7ce89a;
    --blue: #56adec;
    --red: #f26693;
    --yellow: #f8b967;
    --out: #95a2c8;

    --secondary: var(--out);
    --main: var(--red);
}

html,
body {
    width: 100%;
    height: 100%;
    overscroll-behavior-y: none;
    overflow: hidden;
    font-size: calc(100vh / 60);
}

body {
    width: 100%;
    height: 100%;
    color: var(--white);
    -webkit-tap-highlight-color: transparent;
    font-family: "Open Sans";
    background: var(--background);
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
    -webkit-user-drag: none;
}

::-moz-selection {
    color: var(--darkgrey);
}

::selection {
    color: var(--darkgrey);
}

.content {
    width: 100%;
    height: 100%;
    display: flex;
    display: flex;
    justify-content: center;
    align-items: center;
}

.background {
    width: 100%;
    height: calc((100vh / 15) * 7);
    background-color: var(--header);
    position: absolute;
    left: 0;
    align-items: center;
    display: flex;
}

.board {
    display: grid;
    grid-template-columns: repeat(14, calc(100vh / 15));
    grid-template-rows: repeat(14, calc(100vh / 15));
    position: absolute;
    left: 7rem;
    z-index: 2;
}

.board__field {
    width: calc(100vh / 15);
    height: calc(100vh / 15);
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    /* transition: .3s; */
}

.board__field.border--red {
    box-shadow: inset 0 0 0 5rem #f266934a;
}

.board__field.border--green {
    box-shadow: inset 0 0 0 5rem #7ce89a4a;
}

.board__field.border--yellow {
    box-shadow: inset 0 0 0 5rem #f8b9674a;
}

.board__field.border--blue {
    box-shadow: inset 0 0 0 5rem #8256ec4a;
}

.board__field--black.border--red {
    box-shadow: inset 0 0 0 5rem #f266934a;
}

.board__field--black.border--green {
    box-shadow: inset 0 0 0 5rem #7ce89a4a;
}

.board__field--black.border--yellow {
    box-shadow: inset 0 0 0 5rem #f8b9674a;
}

.board__field--black.border--blue {
    box-shadow: inset 0 0 0 5rem #8256ec4a;
}

/* .board__row:nth-of-type(4) .board__field:nth-of-type(1),
.board__row:nth-of-type(1) .board__field:nth-of-type(4) {
    border-radius: 1rem 0px 0px 0px;
}

.board__row:nth-of-type(11) .board__field:nth-of-type(1),
.board__row:nth-of-type(14) .board__field:nth-of-type(4) {
    border-radius: 0px 1rem 0px 0px;
}

.board__row:nth-of-type(11) .board__field:nth-of-type(14),
.board__row:nth-of-type(14) .board__field:nth-of-type(11) {
    border-radius: 0px 0px 1rem 0px;
}

.board__row:nth-of-type(4) .board__field:nth-of-type(14),
.board__row:nth-of-type(1) .board__field:nth-of-type(11) {
    border-radius: 0px 0px 0px 1rem;
} */

.board__field--white {
    background: var(--fieldWhite);
}

.board__field--black {
    background: var(--fieldBlack);
}

.board__piece {
    position: relative;
    z-index: 4;
    height: 80%;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: var(--white);
    transition: .3s;
}

/* .board__piece svg:first-of-type {
    left: calc(100vh / 15 * -0.1);
    position: absolute;
    top: calc(100vh / 15 * -0.1);
} */

.board__field svg:first-of-type {
    left: 0px;
    position: absolute;
    top: 0px;
    transition: .3s;
}

.board__piece img {
    height: 100%;
}

body .board__field:hover .board__piece {
    transform: scale(1.03);
}

body.board--selected .board__field:hover .board__piece {
    transform: scale(0.9);
    opacity: 1;
}

body.board--selected .board__field svg {
    opacity: 0.25;
}

body.board--selected .board__field:hover svg {
    opacity: 1;
}

body.board--selected .board__field[highlight="true"]:hover .board__piece {
    transform: scale(0.9);
    opacity: 1;
}

body.board--selected .board__field[highlight="true"]:hover svg {
    opacity: 1;
}

/* body.board--selected .board__field[highlight="true"] svg {
    opacity: 1;
} */

body.board--selected .board__piece {
    transform: scale(0.9) !important;
    opacity: 0.25;
}

body.board--selected .board__piece--selected .board__piece {
    transform: scale(1) !important;
    opacity: 1;
}

body.board--selected .board__piece--selected svg {
    opacity: 1;
}

body.board--selected .board__field {
    box-shadow: unset;
}

.board__piece__pokemon {
    aspect-ratio: 1 / 1;
    height: 60%;
    position: absolute;
    bottom: -2%;
    right: -2%;
    z-index: 5;
    background-color: transparent !important;
    /* box-shadow: -4px 0px 4px 0px #13141d19; */
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.color--red {
    background-color: var(--red);
}

.color--blue {
    background-color: var(--blue);
}

.color--green {
    background-color: var(--green);
}

.color--yellow {
    background-color: var(--yellow);
}

.color--grey {
    background-color: var(--out);
}

.field__highlight {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    display: none;
    pointer-events: none;
    cursor: pointer;
}

.board__row:nth-of-type(4) .board__field:nth-of-type(1) .field__highlight,
.board__row:nth-of-type(1) .board__field:nth-of-type(4) .field__highlight {
    border-radius: 1rem 0px 0px 0px;
}

.board__row:nth-of-type(11) .board__field:nth-of-type(1) .field__highlight,
.board__row:nth-of-type(14) .board__field:nth-of-type(4) .field__highlight {
    border-radius: 0px 1rem 0px 0px;
}

.board__row:nth-of-type(11) .board__field:nth-of-type(14) .field__highlight,
.board__row:nth-of-type(14) .board__field:nth-of-type(11) .field__highlight {
    border-radius: 0px 0px 1rem 0px;
}

.board__row:nth-of-type(4) .board__field:nth-of-type(14) .field__highlight,
.board__row:nth-of-type(1) .board__field:nth-of-type(11) .field__highlight {
    border-radius: 0px 0px 0px 1rem;
}

.board__field[highlight="true"] .field__highlight {
    display: flex;
    pointer-events: all;
}

.field__label {
    position: absolute;
    /* bottom: 0.25rem; */
    /* left: 0.25rem; */
    z-index: 3;
    font-size: 0.5rem;
    font-weight: 500;
    color: var(--white);
    opacity: 0.15;
    /* display: none; */
    font-weight: 600;
}

.board__field[data-piece="true"] .field__label {
    display: none;
}

.board[data-grid="false"] .field__label {
    display: none;
}

.board__field--white .field__label {
    /* color: var(--darkgrey); */
}

.content__right {
    width: calc(100vw - 100vh - 13rem);
    /* width: 40rem; */
    position: absolute;
    right: 0;
    padding: 2.5rem;
    top: 0;
    height: calc(100% - 5rem);
    display: flex;
    align-items: center;
    flex-direction: column;
    z-index: 10;
    justify-content: center;
    background-color: var(--header);
}

.marker {
    width: calc((100vh / 15) * 9);
    height: calc((100vh / 15) * 9);
    display: grid;
    grid-template-columns: repeat(2, 1rem);
    grid-template-rows: repeat(2, 1rem);
    gap: calc(100% - 2rem);
    position: absolute;
    z-index: 0;
    left: 17rem;
}

.versus__icon svg:first-of-type {
    aspect-ratio: 35 / 59;
    height: 3.25rem;
    width: unset;
}

.versus__icon svg:last-of-type {
    aspect-ratio: 22 / 32;
    height: 1.75rem;
    width: unset;
}

.marker svg {
    width: 1rem;
    height: 1rem;
}

.users {
    position: absolute;
    top: calc((100vh / 15) * 0.5);
    left: 2.5rem;
    width: calc(100% - 5rem);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
}

.user {
    padding: 0.4rem 1.1rem 0.4rem 0.6rem;
    display: flex;
    align-items: center;
    background-color: var(--darkgrey);
    width: 14rem;
    height: 2rem;
    border-radius: 0.75rem 0.75rem 0rem 0rem;
    position: relative;
}

.user__wrapper {
    display: flex;
    align-items: center;
    width: 100%;
}

.user__pieces {
    width: calc(100% - 16.7rem);
    height: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.user__wrapper:nth-of-type(2n) {
    flex-direction: row-reverse;
}

.user__pieces__line {
    width: 5.5rem;
    height: 0.25rem;
    background-color: var(--darkgrey);
    margin-right: 0.75rem;
    border-radius: 1rem;
    margin-left: -0.5rem;
}

.user__wrapper:nth-of-type(2n) .user__pieces {
    justify-content: flex-end;
}

.user__wrapper:nth-of-type(2n) .user__pieces__line {
    margin-left: 0.75rem;
    margin-right: -0.5rem;
}

.user__pieces img {
    height: 1.25rem;
    aspect-ratio: 1 / 1;
}

.user__color {
    border-radius: 0.5rem;
    width: 1.5rem;
    height: 1.5rem;
}

.user__mana {
    width: 100%;
    height: 0.25rem;
    position: absolute;
    bottom: -0.25rem;
    left: 0px;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background-color: var(--header);
}

.user__mana__entry {
    width: 100%;
    height: 100%;
}


.grad--green {
    background: linear-gradient(325.89deg, #1ECF8F -6.14%, #AFFF93 100%);
}

.grad--blue {
    background: var(--white) !important;
}

.grad--red {
    background: var(--white) !important;
}

.grad--yellow {
    background: linear-gradient(325.89deg, #F9B32D -6.14%, #F7AF99 100%);
}

.grad--grey {
    background: linear-gradient(325.89deg, #5F6D94 -6.14%, #A6AFC7 100%);
}

.user__name {
    margin-left: 0.75rem;
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 9rem;
    margin-top: -0.1rem;
}

.user__points {
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--white);
    position: absolute;
    right: 1.1rem;
    margin-top: -0.1rem;
}

.user__check {
    font-size: 14px;
    font-weight: 500;
    margin-right: 10px;
    width: 60px;
}

.user__pieces__more {
    font-size: 0.6rem;
    height: 90%;
    text-transform: uppercase;
    font-weight: 700;
    display: flex;
    padding: 0px 0.4rem;
    justify-content: center;
    border-radius: 0.2rem;
    margin-left: 0.3rem;
    align-items: center;
    color: var(--white);
    background-color: var(--grey);
}

.user__pieces__more h1 {
    margin-top: 0.05rem;
    /* margin-left: 0.05rem; */
    text-align: center;
}

/* .user__pieces__more.color--green {
    background: linear-gradient(325.89deg, #1ECF8F -6.14%, #AFFF93 100%);
}

.user__pieces__more.color--blue {
    background: linear-gradient(325.89deg, #780FE0 -6.14%, #6FA8FF 100%);
}

.user__pieces__more.color--red {
    background: linear-gradient(325.89deg, #CE458F -6.14%, #F86A6A 100%);
}

.user__pieces__more.color--yellow {
    background: linear-gradient(325.89deg, #F9B32D -6.14%, #F7AF99 100%);
} */

.board__field--white.board__field--checked {
    background: lightcoral;
}

.board__field--black.board__field--checked {
    background: darkred;
}

.versus {
    width: calc(100% - 6rem);
    height: calc((100vh / 15) * 5);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
    /* padding-bottom: 2rem; */
}

.versus__icon svg:last-of-type {
    margin-left: -15%;
    margin-top: 30%;
}

.versus__icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.versus__icon svg {
    transition: .3s;
}

.versus__content {
    width: 100%;
    height: 7.5rem;
    display: flex;
    align-items: center;
    position: relative;
    opacity: 0.25;
    transition: .5s;
}

.versus__content__wrapper {
    height: 3.5rem;
    width: calc(100% - 7.5rem);
    background-color: var(--darkgrey);
    border-radius: 0 0.75rem 0.75rem 0;
    position: relative;
    display: flex;
    align-items: center;
    padding: 1rem;
}

.versus__content__image {
    height: calc(100% - 1.5rem);
    aspect-ratio: 1 / 1;
    border-radius: 0.75rem;
    padding: 0.75rem;
    background-color: var(--grey);
    box-shadow: 0.25rem 0px 0.5rem 0px #13141D4C;
    z-index: 2;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.versus__content__image img {
    height: 5.5rem;
    position: relative;
}

.versus__info {
    width: 60%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    z-index: 1;
}

.versus__name {
    font-size: 1.2rem;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--white);
}

.versus__type {
    font-size: 0.9rem;
    /* text-transform: uppercase; */
    font-weight: 800;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.versus__type img {
    height: 0.9rem;
    width: 0.9rem;
}

.versus__piece {
    height: 2rem;
    aspect-ratio: 1 / 1;
}

.versus__color {
    height: 1.5rem;
    width: 0.35rem;
    border-radius: 1rem;
}

.versus__piece__more {
    display: flex;
    height: 100%;
    align-items: center;
    position: absolute;
    right: 1.25rem;
    gap: 1rem;
}

.versus__value {
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: 0.75rem;
    height: 3.5rem;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    background-color: var(--grey);
    padding: 0;
}

#versus-1 .versus__piece__more {
    flex-direction: row-reverse;
}



.versus__content.versus--right {
    flex-direction: row-reverse;
}

.versus__content.versus--right .versus__content__wrapper {
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 1.5rem;
}

.versus__content.versus--right .versus__content__wrapper {
    border-radius: 0.75rem 0 0 0.75rem;
}

#versus-0 .versus__piece__more {
    position: absolute;
    right: 1rem;
}

#versus-1 .versus__piece__more {
    position: relative;
    right: unset;
    left: unset;
}

.versus__center {
    width: 100%;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.versus__take__info {
    background-color: var(--darkgrey);
    border-radius: 0.65rem;
    height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    font-size: 0.75rem;
    width: 100%;
    text-transform: uppercase;
    gap: 0.75rem;
    transition: .5s;
}

#take-0 {
    margin-bottom: -0.9rem;
}

#take-1 {
    margin-top: -0.9rem;
}

.versus__take__info i {
    font-size: 1rem !important;
}

.versus__take__info[state="disabled"] {
    opacity: 0.25;
}

.save[state="user"] .button--admin {
    display: none;
}



.facecam {
    height: 15rem;
    aspect-ratio: 16 / 9;
    border-radius: 0.75rem;
    background-color: var(--darkgrey);
    border: 0.25rem solid var(--main);
    position: absolute;
    bottom: 0;
    color: var(--header);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    font-weight: 800;
    /* text-transform: uppercase; */
    display: none !important;
}

.facecam__border {
    /* width: 100%;
    height: 0.25rem; */
    height: 100%;
    width: 0.25rem;
    position: fixed;
    /* bottom: 0; */
    top: 0;
    left: 0;
    background-color: var(--main);
}

.pickers {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    background-color: #0e0f16e5;
}

.picker__left {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.picker {
    display: flex;
    gap: 3rem;
}

.picker__content {
    width: 11rem;
    height: 20.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--darkgrey);
    border-radius: 0.75rem;
    transition: .5s;
}

.picker__type__icon {
    width: 1.25rem;
    height: 1.25rem;
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.picker__content__images {
    height: 8rem;
    width: 8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    position: relative;
}

.picker__piece__pokemon {
    height: 8rem;
    aspect-ratio: 1 / 1;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.picker__piece__background {
    height: 8rem;
    aspect-ratio: 1 / 1;
    position: absolute;
    top: 0;
    left: 0;
    filter: brightness(5) contrast(5);
    opacity: 0.04;
    z-index: 1;
}

.picker__color {
    height: 0.35rem;
    width: 2.25rem;
    border-radius: 1rem;
    margin-top: 1.5rem;
}

.picker__name {
    font-size: 1rem;
    text-align: center;
    width: 85%;
    text-overflow: ellipsis;
    overflow: hidden;
    text-transform: uppercase;
    font-weight: 800;
    margin-top: 1.5rem;
}

.picker__type__name {
    font-size: 0.75rem;
    /* text-transform: uppercase; */
    font-weight: 800;
    color: var(--white);
    margin-top: 0.5rem;
}

.picker__piece {
    height: 2rem;
    aspect-ratio: 1 / 1;
    margin-top: 1.25rem;
}

.piecker__points {
    margin-top: 1.5rem;
}

.piecker__points__single {
    font-weight: 800;
    font-size: 1rem;
}

.piecker__points__total {
    font-weight: 700;
    font-size: 0.75rem;
    text-align: center;
    margin-top: 0.25rem;
    opacity: 0.25;
}

.picker__piece__avatar {
    width: 6.5rem;
    border-radius: 2.5rem;
}

.picker__text {
    position: absolute;
    bottom: 3rem;
}

.picker__title {
    font-size: 1rem;
    text-transform: uppercase;
    text-align: center;
    font-weight: 800;
    color: var(--white);
}

.picker__subtitle {
    font-size: 0.75rem;
    text-align: center;
    font-weight: 800;
    color: var(--white);
    margin-top: 0.3rem;
}

.picker__text--upside {
    position: absolute;
    display: flex;
    flex-direction: column-reverse;
    top: 3rem;
    bottom: unset;
}

.picker__text--upside .picker__title {
    margin-top: 0.3rem;
}

.picker__text--upside .picker__subtitle {
    margin-top: 0;
}


.picker__content[state="disabled"] > * {
    opacity: 0.25;
}

.picker__content[state="disabled"] {
    background-color: #12141D;
    pointer-events: none;
}

.picker__content[state="disabled"]:hover {
    cursor: not-allowed;
    transform: scale(1);
}

.picker__content:hover {
    cursor: pointer;
    transform: scale(1.05);
}

.picker__content[state="inactive"] {
    /* background-color: #12141D; */
    pointer-events: none;
    cursor: not-allowed;
}

.picker__content[state="inactive"] > * {
    opacity: 0.5;
}

.picker__right {
    width: 44rem;
    min-width: 44rem;
    height: 100%;
    background-color: var(--header);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.picker__picked {
    width: calc(100% - 6rem);
    display: grid;
    margin-top: 8rem;
    gap: 2rem;
    grid-template-columns: repeat(3, calc((100% - 4rem) / 3));
}

.picked__content {
    width: 100%;
    height: 4.5rem;
    display: flex;
    align-items: center;
    background-color: var(--darkgrey);
    border-radius: 0.75rem;
    transition: .5s;
    position: relative;
    cursor: -webkit-grab;
    cursor: grab;
}

.picked__content:hover {
    transform: scale(1.02);
}

.picked__content * {
    -webkit-user-drag: none;
}

.picked__content[state="disabled"] {
    opacity: 0.25;
    pointer-events: none;
}

.picked__image {
    height: 3.5rem;
    aspect-ratio: 1 / 1;
    margin-left: 0.75rem;
}

.picked__info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: absolute;
    right: -0.5rem;
    justify-content: center;
    height: 2.5rem;
    width: 55%;
    background-color: var(--grey);
    border-radius: 0.75rem;
    box-shadow: 0.25rem 0px 0.5rem 0px #13141D4C;
}

.picker__right[state="disabled"] .picker__picked,
.picker__right[state="disabled"] .picker__board,
.picker__right[state="disabled"] .picker__confirm {
    opacity: 0.25;
    pointer-events: none;
}

.picked__piece {
    height: 1.15rem;
    aspect-ratio: 1 / 1;
}

.picked__type {
    height: 1rem;
    aspect-ratio: 1 / 1;
}

.picked__field {
    font-size: 0.75rem;
    color: var(--white);
}

.picker__board {
    width: calc(100% - 6rem);
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(8, calc(100% / 8));
}

.picker__board .board__field {
    width: 100%;
    height: unset;
    aspect-ratio: 1 / 1;
    cursor: pointer;
}

.picker__board .board__field:nth-of-type(1) {
    border-radius:  0.75rem 0 0 0;
}

.picker__board .board__field:nth-of-type(8) {
    border-radius:  0 0.75rem 0 0;
}

.picker__board .board__field:nth-of-type(9) {
    border-radius:  0 0 0 0.75rem;
}

.picker__board .board__field:nth-of-type(16) {
    border-radius:  0 0 0.75rem 0;
}

.picker__board .board__field--white {
    background-color: var(--grey);
}

.picker__board .board__field--black {
    background-color: var(--darkgrey);
}

.picker__board .board__piece--opacity {
    /* transform: scale(0.4) !important; */
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    filter: brightness(5) contrast(5);
    opacity: 0.04;
    position: absolute;
    right: 0.5rem;
    height: 30%;
    bottom: 0.5rem;
}

.picker__buttons {
    position: absolute;
    bottom: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.picker__confirm {
    width: 7rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--darkgrey);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: .5s;
    font-size: 0.9rem;
    /* text-transform: uppercase; */
    font-weight: 800;
}

.picker__confirm:hover {
    transform: scale(1.02);
}

.picker__confirm[state="disabled"] {
    opacity: 0.25;
    pointer-events: none;
}

.start {
    background-color: var(--darkgrey);
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 105;
    flex-direction: column;
}

.start__confirm {
    width: 7rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--darkgrey);
    background-color: var(--out);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: .5s;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 800;
    position: absolute;
    bottom: 3rem;
}

.start__confirm:hover {
    transform: scale(1.02);
}

.start__confirm[state="disabled"] {
    opacity: 0.25;
    pointer-events: none;
}





.ability {
    width: calc(100% - 8rem);
    height: calc(50% - ((100vh / 15) * 3.5));
    /* background-color: red; */
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
    bottom: 0;
    transition: .5s;
}

.ability__top {
    margin-top: 1.5rem;
    height: 4.5rem;
    width: calc(100% - 1.85rem);
    padding: 1rem 0.85rem 1rem 1rem;
    display: flex;
    align-items: center;
    border-radius: 0.75rem;
    background-color: var(--fieldWhite);
    gap: 1rem;
}

.ability__image {
    height: 4.5rem;
    aspect-ratio: 1 / 1;
    border-radius: 0.75rem;
    background-color: var(--grey);
    display: flex;
    justify-content: center;
    align-items: center;
}

.ability__image img {
    height: 4rem;
    aspect-ratio: 1 / 1;
}

.ability__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0.35rem;
    width: 100%;
}

.ability__name {
    font-size: 1rem;
    font-weight: 800;
    color: var(--main);
    text-transform: uppercase;
}

.ability__description {
    font-size: 0.75rem;
    color: var(--white);
    font-weight: 700;
    line-height: 1.15rem;
}

.ability__description b {
    color: var(--main);
}

.ability__buttons {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.ability__button__big {
    width: 7rem;
    height: 2.5rem;
    min-width: 7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--darkgrey);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: .5s;    
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.ability__button__big:hover {
    transform: scale(1.02);
}

.ability__button__big[disabled] {
    opacity: 0.25;
    pointer-events: none;
}

.ability__button__big[players="disabled"] {
    opacity: 0.25;
    pointer-events: none;
}


.ability__button__small {
    width: 2.5rem;
    min-width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: .5s;
    font-size: 0.9rem;
    background-color: var(--fieldWhite);
}

.ability__button__small:hover {
    transform: scale(1.02);
}

.ability__button__small[disabled] {
    /* display: none; */
    opacity: 0.25;
    pointer-events: none;
}


.ability__buttons .user__pieces__line {
    margin: 0;
    width: 100%;
}

.ability[state="disabled"] .ability__button__big {
    opacity: 0.25;
    pointer-events: none;
}

.ability[state="disabled"] {
    opacity: 0.25;
}






.header {
    width: 100%;
    height: 5.5rem;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 50000;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--header);
}

.header__middle {
    background-color: var(--grey);
    border-radius: 0.75rem;
    height: 8rem;
    width: 8rem;
    box-shadow: 0.25rem 0px 0.5rem 0px #13141D4C;
    position: absolute;
    top: -1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header__middle #header-icon {
    height: 50%;
    margin-top: 0.75rem;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    transition: .5s;
}

.header__middle:hover #header-icon {
    transform: scale(1.02);
}

.header__middle__avatar {
    width: 2.5rem;
    height: 2.5rem;
    left: 3rem;
    bottom: 3rem;
    border-radius: 0.75rem;
    background-color: var(--fieldWhite);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000000 !important;
}

.section__header {
    width: 100%;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
    gap: 0.6rem;
}

.section__header__title {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.section__header i:last-of-type {
    position: absolute;
    right: 0;
    cursor: pointer;
    transition: .5s;
    opacity: 0.25;
}

.section__header i:last-of-type:hover {
    transform: scale(1.02);
    opacity: 1;
}

.userlist__body {
    min-width: 24rem;
    display: grid;
    align-items: center;
    flex-direction: column;
    gap: 1.5rem;
    grid-template-columns: repeat(1, 24rem);
}

.userlist__user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.userlist__user__avatar {
    height: 3.5rem;
    width: 3.5rem;
    border-radius: 0.75rem;
}

.userlist__user__info {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    width: 16.5rem;
    display: flex;
    background-color: var(--fieldWhite);
    height: 3.5rem;
    display: flex;
    align-items: center;
    position: relative;
    border-radius: 0.75rem;
}

.userlist__user__name {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
}

.userlist__user__color {
    position: absolute;
    right: 0.8rem;
    width: 0.35rem;
    height: 1.5rem;
    border-radius: 0.75rem;
    background-color: var(--white);
}

.userlist__points {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    height: 3rem;
    width: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--fieldWhite);
    border-radius: 0.75rem;
}

.whitelist__input {
    width: 18.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #daddf447;
    background-color: var(--fieldWhite);
    border-radius: 0.75rem;
    transition: .5s;
    font-size: 0.85rem;
    text-transform: lowercase;
    font-weight: 700;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    border: none;
    padding: 0 1rem;
    text-align: center;
}

.whitelist__input::-moz-placeholder {
    color: var(--white);
    font-weight: 700;
    text-transform: lowercase;
    opacity: 0.15;
}

.whitelist__input::placeholder {
    color: var(--white);
    font-weight: 700;
    text-transform: lowercase;
    opacity: 0.15;
}

.whitelist {
    position: absolute;
    bottom: 3rem;
}

.userlist {
    position: absolute;
    top: 18rem;
}

::-moz-selection {
    background-color: var(--main);
    color: var(--background);
}

::selection {
    background-color: var(--main);
    color: var(--background);
}

.settings {
    position: absolute;
    bottom: 3rem;
    right: 3rem;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
}

.settings .ability__button__small:last-of-type i {
    color: var(--background);
    font-size: 1.5rem;
}

.save {
    z-index: 5;
    position: fixed;
    bottom: 3rem;
    left: 3rem;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
}

i.material-icons-round {
    font-size: 1.25rem;
}

/* {
    outline: 1px red dotted !important;
} */

.dragging {
    background-color: transparent;
}

.hover {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hover__cover {
    width: 6rem;
    height: 6rem;
    z-index: 2;
    background-color: var(--background);
}

.hover__display {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 4rem;
    height: 4rem;
    z-index: 1;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

#round--corner--top {
    width: 2.5rem;
    height: 2.5rem;
    top: -2.5rem;
    position: absolute;
    right: calc(100vw - 100vh - 8rem);
}

#round--corner--bottom {
    width: 2.5rem;
    height: 2.5rem;
    bottom: -2.5rem;
    position: absolute;
    right: calc(100vw - 100vh - 8rem);
}

.timers {
    /* position: fixed;
    right: calc(100vw - (100vh / 14 * 14 + 1.5rem));
    bottom: calc(100vh / 15 * 0.5);
    border-radius: 0.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column-reverse;
    gap: 0.75rem; */
    position: fixed;
    right: calc(100vw - (100vh / 14 * 14 + 1.5rem));
    bottom: calc(100vh / 15 * 0.5);
    border-radius: 0.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column-reverse;
    gap: 0.75rem;
    height: calc(100vh / 15 * 2.75);
}

.timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
}

.timer__color {
    width: 1rem;
    height: 0.4rem;
    border-radius: 0.5rem;
}

.timer__time {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--white);
}

.timers .timer:first-child .timer__time {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--white);
}

.timers .timer:first-child .timer__color {
    width: 1.5rem;
    height: 1.5rem;
}

.timers .timer:nth-of-type(1) {
    height: 3rem;
    width: 7.25rem;
    background-color: var(--fieldWhite);
    border-radius: 0.75rem;
}

.timers .timer:nth-of-type(2) {
    height: 2rem;
    width: 6.75rem;
    background-color: var(--fieldWhite);
    border-radius: 0.75rem;
    opacity: 0.6;
}

.timers .timer:nth-of-type(3) {
    height: 2rem;
    width: 6.25rem;
    background-color: var(--fieldWhite);
    border-radius: 0.75rem;
    opacity: 0.4;
}

.timers .timer:nth-of-type(4) {
    height: 2rem;
    width: 5.75rem;
    background-color: var(--fieldWhite);
    border-radius: 0.75rem;
    opacity: 0.2;
}

.timers .timer[state="disabled"] {
    opacity: 0.05;
}

.ability__button__text {
    padding-left: 1rem;
    padding-right: 1rem;
    min-width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: .5s;
    font-size: 0.9rem;
    background-color: var(--fieldWhite);
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
}

.popup {
    padding: 1.5rem;
    position: fixed;
    bottom: 6.5rem;
    left: 3rem;
    background-color: var(--darkgrey);
    border-radius: 0.75rem;
    z-index: 500;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    display: none;
    width: 13.5rem;
}

.popup__section {
    display: flex;
    /* justify-content: center; */
    align-items: center;
    gap: 1rem;
}

.popup__text {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
}

.popup .section__header {
    margin-bottom: 0rem;
}

#popup-presets {
    flex-direction: column;
    margin-bottom: 1rem;
}

#popup-presets .ability__button__text {
    background-color: var(--fieldBlack);
    width: calc(100% - 2rem);
}

#popup-presets .ability__button__text[state="active"] {
    background-color: var(--white);
    color: var(--background);
}

#popup-chars input {
    border: none;
    appearance: none;
    outline: none;
    padding-left: 1rem;
    padding-right: 1rem;
    min-width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: .5s;
    font-size: 0.9rem;
    background-color: var(--fieldBlack);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    font-family: "Open Sans";
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#popup-chars h1 {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
}