main{
    padding: 75px 0 120px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(100% - 200px);
}
@media screen and (max-width:720px) {
    main{
        width: calc(100% - 40px);
    }
}
h1{
    text-align: center;
    font-weight: 700;
    font-size: 65px;
    cursor: default;
    z-index: 1;
    line-height: 70px;
    margin-bottom: 0;
}
h1 span{
    background-image: linear-gradient(to right, var(--main-yellow-light), 65%, var(--main-pink));
    color: transparent;
    background-clip: text;
    font-size: 75px;
    animation: float 30s ease infinite alternate;
    display: inline-block;
    z-index: 2;
    padding-bottom: 20px;
    margin-bottom: -20px;
}
h2{
    z-index: 1;
    font-weight: 500;
    color: rgb(165, 165, 165);
    text-align: center;
    width: 90%;
    font-size: 25px;
    margin-top: 20px;
}
h2 span{
    color: var(--main-yellow);
}
h3{
    font-size: 48px;
    font-weight: 700;
    margin: 0;
    text-align: center;
}
h3 span{
    background-image: linear-gradient(to right, var(--main-yellow-light), 65%, var(--main-pink));
    color: transparent;
    background-clip: text;
}
h4{
    padding: 0 40px;
    text-align: center;
    font-size: 22px;
    font-weight: 400;
    color: rgb(165, 165, 165);
}
h5{
    text-align: center;
    font-weight: 600;
    font-size: 30px;
    cursor: default;
    z-index: 1;
    line-height: 70px;
    margin-bottom: 0;
}
h5 span{
    background-image: linear-gradient(to right, var(--main-yellow-light), 65%, var(--main-pink));
    color: transparent;
    background-clip: text;
}


.admin-control-panel{
    position: relative;
    width: calc(100% - 20px);
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 10px 15px;
    background-color: rgba(255,255,255,0.03);
    border-radius: 10px;
    border: var(--border);
    margin-bottom: 25px;
}
.settings-wrapper{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
}
.settings-title{
    font-size: 10px;
    color:rgb(165, 165, 165);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}
.settings-title .line{
    margin-top: 2px;
    font-size: 12px;
    display: block;
    min-height: 15px;
}
.settings-title .highlight{
    font-weight: 600;
    font-size: 12px;
    color: white;
}
.toggle-wrapper{
    position: relative;
    width: 30px;
    height: 15px;
    margin: 8px auto;
    cursor: pointer;
    caret-color: transparent;
    user-select: none;
}
.toggle-bar{
    position: absolute;
    width: 100%;
    height: 4px;
    left: 0;
    top: calc(50% - 2px);
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}
.toggle-circle{
    position: absolute;
    width: 15px;
    height: 15px;
    border-radius: 15px;
    left: 0;
    top: 0;
    background-color: rgb(160,160,160);
    transition: .2s cubic-bezier(0.26, 0.005, 0.044, 1.714);
}
.toggle-wrapper[toggled="true"] .toggle-circle{
    left: calc(100% - 15px);
    background-color: #f5dc00;
}

*[connected="true"] .disconnected-wrapper{
    display: none;
    animation: none;
}
.disconnected-wrapper{
    position: absolute;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    background-color: rgba(0,0,0,0.3);
    top: 0;
    left: 0;
    z-index: 1;
    border-radius: 10px;
}
.disconnected-inner{
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.disconnected-inner img{
    height: 50px;
    animation: pulseFull .8s infinite alternate;
}
@keyframes pulseFull {
    from{
        opacity: 0.5;
    }
    to{
        opacity: 1;
    }
}
@keyframes fadeIn {
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}
.disconnected-text{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}
.disconnected-text h3{
    width: fit-content;
    font-size: 20px;
}
.disconnected-text span{
    font-size: 12px;
}


*{
    box-sizing: border-box;
}
.page-selector{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 20px 0;
    padding: 0 50px 10px 50px;
    border-bottom: var(--border);
}
.page-selector button{
    background-color: transparent;
    border: none;
    color: white;
    font-weight: 700;
    font-size: 15px;
    opacity: 0.5;
    cursor: pointer;
    min-width: 180px;
}
.page-selector button:hover{
    opacity: 0.6;
}
.page-selector button[selected="true"]{
    pointer-events: none;
    opacity: 1;
    background-image: linear-gradient(to right, var(--main-yellow-light), 65%, var(--main-pink));
    color: transparent;
    background-clip: text;
}
.page{
    width: 100%;
    display: none;
    height: calc(100vh - 370px);
}
.page[selected="true"]{
    display: flex;
}

.meeting-wrapper{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 600px;
    position: relative;
}
.wrapper-header{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 15px;
}
.wrapper-header h3{
    font-size: 21px;
    font-weight: 700;
}
.wrapper-header h4{
    font-size: 12px;
    font-weight: 400;
}
.wrapper-header .left h3, .wrapper-header .left h4{
    text-align: left;
    margin: 0;
    padding: 0;
}


input[type="text"]{
    background-color: var(--dark1);
    border: var(--border);
    border-radius: 5px;
    padding: 5px 30px 5px 10px;
    font-family: Inter;
    font-size: 12px;
    color: white;
}
input[type="text"]:focus{
    border: 1px solid rgb(150,150,150);
    outline: none;
}
input[type="text"]::placeholder{
    opacity: 0.7;
}
.search-bar-wrapper{
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-right: -10px;
}
.search-bar-wrapper img{
    position: absolute;
    top: 0;
    right: 5px;
    padding: 5px;
    width: 25px;
    opacity: 0.3;
}



.page.meeting-selection{
    flex-direction: row;
    justify-content: center;
    gap: 100px;
}
.meetings{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    height: calc(100vh - 400px);
    max-height: calc(100vh - 400px);
    overflow-y: scroll;
    gap: 10px;
}
.meeting{
    position: relative;
    width: calc(100% - 20px);
    padding: 7px 15px;
    display: flex;
    flex-direction: column;
    background-color: rgba(255,255,255,0.05);
    border-radius: 10px;
    border: var(--border);
    caret-color: transparent;
    transition: .1s;
}
.meeting[filtered="true"]{
    display: none;
}
.meeting[selected="true"][detailed="false"]{
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(245, 221, 0, 0.7);
    cursor: default;
}
.meeting img.selected{
    position: absolute;
    height: 17px;
    top: calc(50% - 8px);
    right: 12px;
    display: none;
}
.meeting[selected="true"] img.selected{
    display: block;
}
.meeting-arrow{
    position: absolute;
    top: 7px;
    right: 0px;
    height: 35px;
    filter: invert(1);
    opacity: 0;
    transition: .1s ease;
    cursor: pointer;
    padding: 10px;
}
.meeting:hover .meeting-arrow{
    opacity: 0.7;
}
.meeting[detailed="true"] .meeting-arrow{
    transform: rotateZ(90deg);
    right: 2px;
    top: 6px;
}
.meeting[detailed="true"] .meeting-title{    
    background-image: linear-gradient(to right, var(--main-yellow-light), 65%, var(--main-pink));
    color: transparent;
    background-clip: text;
    font-weight: 600;
}
.meeting-title{
    font-size: 15px;
    margin: 10px 0;
    font-weight: 600;
}
.meeting-title img{
    display: inline;
    height: 10px;
    margin-top: 4px;
    margin-right: 10px;
}
.meeting-id{
    font-size: 12px;
    color: gray;
    display: flex;
    justify-content: center;
    align-items: center;
}
.meeting-id .id-copy, .meeting-id .id-copy-confirmation{
    height: 10px;
}
.id-copy{
    height: 10px;
    filter: invert(1);
    opacity: 0.6;
    cursor: pointer;
    animation: scaleIn 0.2s cubic-bezier(0.26, 0.005, 0.044, 1.714) forwards;
    margin-left: 4px;
}
@keyframes scaleIn {
    from {transform: scale(0);}
    to {transform: scale(1);}
}
@keyframes scaleInOut {
    0% {transform: scale(0);}
    20% {transform: scale(1);}
    80% {transform: scale(1);}
    100% {transform: scale(0);}
}
.id-copy:hover{
    opacity: 0.8;
}
.copied .id-copy{
    display: none;
}
.id-copy-confirmation{
    height: 10px;   
    display: none;
    animation: none;
    transform: scale(0);
    margin-left: 4px;
}
.copied .id-copy-confirmation{
    display: inline; 
    animation: scaleInOut 1.2s cubic-bezier(0.26, 0.005, 0.044, 1.714) forwards;
}
.meeting-title-symbol-wrapper{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 5px;
    margin: 7px 0;
}
.meeting-title-symbol{
    font-weight: 300;
    color: rgb(181, 181, 181);
}
.meeting-title-symbol.title{
    font-weight: 600;
    color:white;
}
.meeting-title-symbol img{
    display: inline;
    height: 10px;
    margin-top: 4px;
    margin-right: 10px;
}
.meeting-loading{
    width: 100%;
    min-height: 50px;
    padding: 0px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}
.meeting-loading .bar{
    width: 100%;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    animation: pulse 1s linear infinite alternate;
}
@keyframes pulse {
    from{opacity: 0;}
    to{opacity: 0.5;}
}
.loading{
    position: absolute;
    top: calc(50% - 20px);
    left: calc(50% - 17px);
    z-index: 1;
    width: 35px;
    animation: loading 1s linear infinite;
}
#splits-timestamp .loading{
    position: relative;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    filter: none;
}
@keyframes loading {
    from {transform: rotateZ(0deg);}
    to {transform: rotateZ(360deg);}
}
.meeting[detailed="true"] .details{
    padding: 20px 0 10px 0;
}
.details-title{
    font-size: 12px;
    font-weight: 600;
}
.race{
    position: relative;
    width: 100%;
    margin-top: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    user-select: none;
    caret-color: transparent;
    transition: .1s;
    animation: raceIn .2s ease-out forwards;
    opacity: 0;
}
@keyframes raceIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0px);
    }
}
.race:hover .race-info{
    background-color: rgba(255,255,255,0.07);
}
.race[selected="true"] .race-info{
    border: 1px solid #f5dd00a5;
}
.race-checkmark{
    display: none;
}
.race:hover .race-checkmark{
    opacity: 1;
}
.race-info{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: rgba(255,255,255,0.03);
    border-radius: 10px;
    border: var(--border);
}
.race-btn-wrapper{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.race-btn-wrapper button{
    width: 50px;
    justify-content: center;
    display: none;
}
.race-btn-wrapper .loading{
    position: relative;
    display: none;
    width: 50px;
    padding: 13px;
    left: 0;
}
.race[selected="false"] .btn-select-race{
    display: flex;
}
.race[selected="true"] .btn-race-selected{
    display: flex;
}
.race[selected="loading"] .loading{
    display: block;
}
.btn-race-selected{
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    border: none;
}
.btn-race-selected img{
    width: 20px;
}

.btn-race-selected{
    pointer-events: none;
}
.race-title{
    font-size: 14px;
    font-weight: 500;
    color: white;
    background-image: none;
}
.race[selected="true"] .race-id{
    font-weight: 400;
    color: #f5dc00;
}
.race-details{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 5px;
}
.race-detail{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
    color: gray;
    font-size: 10px;
}
.race-detail-icon{
    height: 11px;
    filter: invert(1);
    opacity: 0.5;
}
.race-id{
    color: gray;
    font-size: 10px;
}
.race-checkmark{
    height: 15px;
    position: absolute;
    top: calc(50% - 8px);
    left: 10px;
    opacity: 0.5;
    transition: .1s ease;
    filter: grayscale(1)
}
.race[selected="true"] .race-title{
    background-image: linear-gradient(to right, var(--main-yellow-light), 65%, var(--main-pink));
    color: transparent;
    background-clip: text;
    font-weight: 600;
}
.race[selected="true"] .race-checkmark{
    filter: none;
    opacity: 1;
}
.participations-count-loading{
    margin-bottom: -3px;
    height: 13px;
    filter: grayscale(1);
    opacity: 0.5;
    animation: loading 1s linear infinite;
}

.meeting .top{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 7px;
}
.favorite-true, .favorite-false{
    height: 12px;
    cursor: pointer;
    display: none;
}
.meeting .favorite-false{
    filter: invert(1);
    opacity: 0.5;
}
.meeting[favorite="true"] .favorite-true{
    display: block;
}
.meeting[favorite="false"] .favorite-false{
    display: block;
}
.meeting .favorite-false:hover{
    opacity: 1;
}
.race-loading{
    width: 100%;
    min-height: 52px;
    padding: 0px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}
.race-loading .bar{
    width: 100%;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    animation: pulse 1s linear infinite alternate;
    opacity: 0;
}




#participations-gender-picker-wrapper{
    width: 100px;
    caret-color: transparent;
    user-select: none;
    margin-top: 10px;
    margin-left: 30px;
    margin-right: -30px;
}
.gender-picker-wrapper{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    width: 120px;
    caret-color: transparent;
    user-select: none;
}
.picker{
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.picker .picker-bar{
    position: absolute;
    top: calc(50% - 2px);
    left: 8px;
    width: calc(100% - 16px);
    height: 3px;
    background-color: rgba(64, 64, 64, 0.5);
}
.picker .option{
    position: relative;
    cursor: pointer;
}
.picker .option:hover .option-name{
    opacity: 0.8;
}
.picker .option:hover .option-dot{
    background-color: rgb(170, 170, 170);
}
.picker .option[selected="true"] .option-name{
    opacity: 1;
}
.picker .option[selected="true"] .option-dot{
    background-color: white;
}
.picker .option-name{
    position: absolute;
    top: -15px;
    font-size: 10px;
    opacity: 0.5;
    width: 35px;
    height: 25px;
    left: -14px;
    text-align: center;
}
.picker option[selected="true"] .option-name{
    opacity: 1;
}
.picker .option-dot{
    position: relative;
    width: 8px;
    height: 8px;
    background-color: rgb(128, 128, 128);
    border-radius: 50%;
    z-index: 1;
}





.page.participations{
    max-width: 800px;
    flex-direction: column;
}
.participations-status-wrapper{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: rgba(255,255,255,0.03);
    border-radius: 10px;
    border: var(--border);
}
#input-search-participations{
    width: 150px;
}
.participations-status-count-wrapper{
    display: flex;
    gap: 5px;
}
.participations-status-count-wrapper img{
    width: 10px;
    filter: invert(1);
    opacity: 0.7;
}
#participations-status-count{
    font-size: 12px;
    color: rgb(150,150,150);
}
.participations-wrapper{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin-top: 5px;
    height: 100%;
    overflow: auto;
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox, Safari 18.2+, Chromium 121+ */
}
.participations-wrapper:-webkit-scrollbar { 
    display: none;  /* Older Safari and Chromium */
}
.participations-expand-and-timestamp-wrapper{
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.participation-expand-handle{
    position: absolute;
    top: calc(50% - 8px);
    height: 15px;
    filter: invert(1);
    opacity: 0.5;
    cursor: grab;
    user-select: none;
}
.participation-expand-handle img{
    height: 15px;
    pointer-events: none;
}
#participations-expand-handle-left{
    left: -20px;
    transform: rotateZ(180deg);
}
#participations-expand-handle-right{
    right: -20px;
}
.participations-timestamp-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    opacity: 0.3;
    width: 140px;
    margin-left: calc(15% - 70px);
    margin-right: calc(15% - 70px);
    cursor: pointer;
    caret-color: transparent;
    user-select: none;
}
.participations-timestamp-wrapper:hover{
    opacity: 0.8;
}
.participations-timestamp-wrapper img{
    filter: invert(1);
    height: 15px;
    opacity: 1;
}
#participations-timestamp{
    font-size: 10px;
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 2px;
    min-height: 15px;
}
.splits-timestamp-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    opacity: 0.3;
    width: 140px;
    margin-left: calc(35% - 70px);
    margin-right: calc(35% - 70px);
    cursor: pointer;
    caret-color: transparent;
    user-select: none;
}
.splits-timestamp-wrapper.splits-loading{
    opacity: 0.8;
    pointer-events: none;
    cursor: default;
}
.splits-timestamp-wrapper:hover{
    opacity: 0.8;
}
.splits-timestamp-wrapper img{
    filter: invert(1);
    height: 15px;
    opacity: 1;
}
#splits-timestamp{
    font-size: 10px;
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 2px;
    min-height: 15px;
}
.participant{
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.participant[filtered="true"]{
    display: none;
}
*[gender-filter="M"] .participant[gender="W"]{
    display: none;
}
*[gender-filter="W"] .participant[gender="M"]{
    display: none;
}
.participant-controls{
    position: absolute;
    left: -25px;
    width: 25px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 5px;
}
.participations-status-wrapper-1{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}
.participations-status-wrapper-1[folded="true"] #btn-participants-fold{
    display: none;
}
.participations-status-wrapper-1[folded="false"] #btn-participants-unfold{
    display: none;
}
.btn-participant{
    background-color: transparent;
    border: none;
    height: 30px;
    width: 30px;
    cursor: pointer;
    margin-top: 3px;
    border: var(--border);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.btn-participant img{
    height: 23px;
    margin-left: 8px;
    filter: invert(1);
    opacity: 0.5;
}
#btn-participants-fold img{
    margin-left: 13px;
}
.btn-participant:hover{
    border-color: rgba(255,255,255,0.2);
}
.btn-participant:hover img{
    opacity: 0.8;
}
.participant-startNo{
    position: absolute;
    left: 0;
    top: 0;
    font-family: monospace, monospace;
    font-size: 12px;
    color: rgb(150,150,150);
    width: 60px;
    padding-top: 10px;
    min-width: 60px;
}
.participant[folded="false"] .participant-compact{
    opacity: 0;
    transition: .2s ease;
}
.participant[member-count="1"] .participant-compact{
    display: none;
}
.participant-compact{
    position: absolute;
    left: 60px;
    top: 6px;
    display: flex;
    flex-direction: row;
    transition: .3s .3s ease;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    width: 30%;
    max-width: 300px;
}
.participant-compact-names{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}
.participant-compact-flag-wrapper-doubles{
    position: relative;
    width: 25px;
    min-width: 25px;
    height: 25px;
    min-height: 25px;
    margin: 0px 10px;
    overflow: hidden;
}
.participant-compact-flag-wrapper-doubles-left{
    position: absolute;
    top: 0;
    left: 0px;
    width: 18px;
    height: 18px;
}
.participant-compact-flag-wrapper-doubles-right{
    position: absolute;
    top: 7px;
    left: 7px;
    width: 18px;
    height: 18px;
}
.participant-compact-flag-wrapper-doubles-left .participant-compact-flag-doubles{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.participant-compact-flag-wrapper-doubles-right .participant-compact-flag-doubles{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.person-compact-name{
    font-weight: 600;
}
.participant-compact-names .person-name{
    margin: 0 15px 0 5px;
}
.participant-compact-names .person-firstname{
    display: none;
}
.participant-team{
    margin-left: 60px;
    min-height: 35px;
    width: 30%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    max-height: 150px;
    overflow: hidden;
    transition: opacity .4s .2s linear, max-height .5s ease-in-out, min-height .5s ease-in-out
}
.participant[folded="true"] .participant-team{
    max-height: 35px;
    opacity: 0;
    transition: opacity .2s linear, max-height .3s ease-out, min-height .5s ease-in-out
}
.participant[member-count="1"][folded="true"] .participant-team{
    max-height: 150px;
    opacity: 1;
}
.participant[member-count="1"][folded="false"] .participant-team{
    min-height: 75px;
}
.participant-team-count{
    color: var(--dark1);
    background-color: rgb(160,160,160);
    width: 15px;
    height: 15px;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    font-size: 12px;
    display: inline-flex;
    margin-right: 5px;
}
.person{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
    height: 35px;
}
.person:last-child{
    border-bottom: none;
}
.person-gender{
    font-size: 10px;
    padding: 2px 7px;
    border: var(--border);
    background-color: transparent;
    border-radius: 5px;
    text-align: center;
    min-width: 26px;
}
.person-gender.M{
    background-color: rgba(100, 100, 255, 0.4);
}
.person-gender.W{
    background-color: rgba(255, 0, 0, 0.4);
}
.person-gender.X{
    background-color: gray;
}
.person-flag{
    width: 25px;
    margin: 0px 10px;
}
.person-name{
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 100%;
}
.person-firstname{
    font-weight: 200;
    font-size: 13px;
}
.person-lastname{
    font-weight: 700;
}



.split-title-wrapper-outer{
    width: 100%;
    height: 70px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-end;
}
.split-title-wrapper{
    width: calc(70% - 53px);
    min-width: calc(100% - 320px);
    margin-right: -20px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-end;
    overflow: hidden;
    height: 100%;
}
.split-titles{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-end;
    overflow: hidden;
    padding-bottom: 5px;
}
.split-title{
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border-left: var(--border);
    text-align: center;
    height: 100%;
    cursor: pointer;
    caret-color: transparent;
    user-select: none;
}
.split-title:hover{
    background-color: rgba(255,255,255,0.05);
}
.split-title span{
    font-size: 10px;
    width: 60px;
}
.split-title-arrow{
    position: absolute;
    bottom: 1px;
    width: 10px;
    filter: invert(1);
    display: none;
}
.split-title-arrow-left{
    left: calc(50% - 5px);
}
.split-title-arrow-right{
    left: calc(50% - 5px);
}
.split-title-arrow-big{
    position: absolute;
    width: 100px;
    height: 100px;
    top: -25px;
    left: -20px;
    filter: invert(1);
    opacity: 0.2;
    transform: rotateZ(90deg);
}
.split-title[direction="asc"], .split-title[direction="desc"]{
    border-bottom: 1px solid white;
    font-weight: 700;
} 
.split-title[direction="asc"] img{
    display: block;
    transform: rotateZ(90deg);
}
.split-title[direction="desc"] img{
    display: block;
    transform: rotateZ(-90deg);
}
.split-title:last-child{
    border-left: 4px double rgba(255, 255, 255, 0.15);
}
.split-index-arrow{
    background-color: transparent;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 20px;
    opacity: 0.6;
    cursor: pointer;
}
.split-index-arrow:hover{
    opacity: 0.8;
}
.split-index-arrow img{
    height: 16px;
    width: 16px;
    filter: invert(1);
    padding: 3px 3px 3px 4px;
    border: 0.8px solid black;
    border-radius: 50%;
}
*[split-index="0"] #btn-split-index-right{
    pointer-events: none;
    opacity: 0.2;
}
*[split-index-to-max="0"] #btn-split-index-left{
    pointer-events: none;
    opacity: 0.2;
}
#btn-split-index-left{
    width: 40px;
}
#btn-split-index-left img{
    transform: rotateZ(180deg)
}


.participant-splits{
    width: calc(70% - 110px);
    min-width: calc(100% - 380px);
    height: 100%;
    margin-right: 0px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    overflow: hidden;
}
.participant-split{
    position: relative;
    height: 100%;
    border-left: var(--border);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.participant-split:last-child{
    border-left: 4px double rgba(255, 255, 255, 0.15);
}
.participant[folded="true"] .participant-split-pos{
    opacity: 0;
    margin-top: -25px;
}
.participant-split-pos{
    margin-top: 5px;
    margin-bottom: 2px;
    width: 30px;
    height: 15px;
    border-radius: 10px;
    font-family: monospace, monospace;
    font-size: 8px;
    text-align: center;
    color: rgb(160,160,160);
    display: flex;
    justify-content: center;
    align-items: center;
    border: var(--border);
    opacity: 1;
    transition: .2s;
    z-index: 1;
}
.participant-split[split-pos="0"] .participant-split-pos{
    border: none;
}
.participant-split-time{
    font-family: monospace, monospace;
    font-size: 11px;
    text-align: center;
    z-index: 1;
}
.participant-split-diff{
    color: rgb(130,130,130);
    font-family: monospace, monospace;
    font-size: 9px;
    text-align: center;
    z-index: 1;
    width: 60px;
}
.participant-split-pos-compact{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0;
}
.participant-split-pos-compact-inner{
    position: absolute;
    top: 0px;
    left: 2px;
    width: calc(100% - 4px);
    height: calc(100% - 0px);
    background-color: var(--dark1);
}
.participant-split-diff-to-next-person img{
    height: 10px;
    filter: invert(1);
    display: none;
    transition: .2s;
}
.participant[folded="true"] .participant-split-diff-to-next-person img{
    height: 7px;
}
.participant-split[split-pos-sex="1"] .participant-split-diff-to-next-person{
    opacity: 0;
}
.participant-split[split-pos="1"] .participant-split-diff-to-next-person{
    opacity: 0;
}
.participant-split[is-close-to-next-person-sex="true"] .participant-split-diff-to-next-person img{
    display: inline-block;
}
.participant[folded="true"] .participant-split-diff-to-next-person, .participant[folded="true"] .participant-split .participant-split-diff-to-next-person{
    color: transparent;
    margin-top: -10px;
    margin-bottom: -10px;
    margin-left: -12px;
}
.participant-split-diff-to-next-person{
    color: rgb(110,110,110);
    font-family: monospace, monospace;
    font-size: 8px;
    text-align: center;
    transition: .3s ease-out;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 2px;
}
.participant-split[is-close-to-next-person-sex="true"] .participant-split-diff-to-next-person {
    color: rgb(255, 224, 70);
}

.participant[folded="true"] .participant-split-pos-diff{
    position: absolute;
    top: 7px;
    left: 0;
    font-size: 0px;
    color: transparent;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.participant[folded="true"] .participant-split-pos-diff img{
    height: 10px;
}
.participant[folded="false"] .participant-split-pos-diff span{
    position: absolute;
    top: 13px;
    left: 0;
    width: 100%;
    font-size: 10px;
    padding: 0 3px;
    color: transparent;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.participant[folded="false"] .participant-split-pos-diff img{
    height: 10px;
}


*[gender-filter="X"] .participant[folded="true"] .participant-split[split-pos="1"] .participant-split-time,
*[gender-filter="M"] .participant[folded="true"] .participant-split[split-pos-sex="1"] .participant-split-time,
*[gender-filter="W"] .participant[folded="true"] .participant-split[split-pos-sex="1"] .participant-split-time{
    background: linear-gradient(135deg, #FFD700 0%, #FFED4E 25%, #C5A028 50%, #FFD700 75%, #FFED4E 100%);
    color: black;
    padding: 0px 4px;
    margin-bottom: 1px;
    max-width: 60px;
    border-radius: 10px;
    font-weight: 700;
}
*[gender-filter="X"] .participant[folded="true"] .participant-split[split-pos="2"] .participant-split-time,
*[gender-filter="M"] .participant[folded="true"] .participant-split[split-pos-sex="2"] .participant-split-time,
*[gender-filter="W"] .participant[folded="true"] .participant-split[split-pos-sex="2"] .participant-split-time{
    background: linear-gradient(135deg, #E8E8E8 0%, #FFFFFF 25%, #9E9E9E 50%, #E8E8E8 75%, #FFFFFF 100%);
    color: black;
    padding: 0px 4px;
    margin-bottom: 1px;
    max-width: 60px;
    border-radius: 10px;
    font-weight: 700;
}
*[gender-filter="X"] .participant[folded="true"] .participant-split[split-pos="3"] .participant-split-time,
*[gender-filter="M"] .participant[folded="true"] .participant-split[split-pos-sex="3"] .participant-split-time,
*[gender-filter="W"] .participant[folded="true"] .participant-split[split-pos-sex="3"] .participant-split-time{
    background: linear-gradient(135deg, #CD7F32 0%, #E6A157 25%, #8B5A2B 50%, #CD7F32 75%, #E6A157 100%);
    color: black;
    padding: 0px 4px;
    margin-bottom: 1px;
    max-width: 60px;
    border-radius: 10px;
    font-weight: 700;
}
*[gender-filter="X"] .participant[folded="true"] .participant-split[split-pos="1"] .participant-split-pos-compact,
*[gender-filter="M"] .participant[folded="true"] .participant-split[split-pos-sex="1"] .participant-split-pos-compact,
*[gender-filter="W"] .participant[folded="true"] .participant-split[split-pos-sex="1"] .participant-split-pos-compact{
    background: linear-gradient(135deg, #FFD700 0%, #FFED4E 25%, #C5A028 50%, #FFD700 75%, #FFED4E 100%);
}
*[gender-filter="X"] .participant[folded="true"] .participant-split[split-pos="2"] .participant-split-pos-compact,
*[gender-filter="M"] .participant[folded="true"] .participant-split[split-pos-sex="2"] .participant-split-pos-compact,
*[gender-filter="W"] .participant[folded="true"] .participant-split[split-pos-sex="2"] .participant-split-pos-compact{
    background: linear-gradient(135deg, #E8E8E8 0%, #FFFFFF 25%, #9E9E9E 50%, #E8E8E8 75%, #FFFFFF 100%);
}
*[gender-filter="X"] .participant[folded="true"] .participant-split[split-pos="3"] .participant-split-pos-compact,
*[gender-filter="M"] .participant[folded="true"] .participant-split[split-pos-sex="3"] .participant-split-pos-compact,
*[gender-filter="W"] .participant[folded="true"] .participant-split[split-pos-sex="3"] .participant-split-pos-compact{
    background: linear-gradient(135deg, #CD7F32 0%, #E6A157 25%, #8B5A2B 50%, #CD7F32 75%, #E6A157 100%);
}
*[gender-filter="X"] .participant-split[split-pos="1"] .participant-split-pos,
*[gender-filter="M"] .participant-split[split-pos-sex="1"] .participant-split-pos,
*[gender-filter="W"] .participant-split[split-pos-sex="1"] .participant-split-pos{
    background: linear-gradient(135deg, #FFD700 0%, #FFED4E 25%, #C5A028 50%, #FFD700 75%, #FFED4E 100%);
    color: var(--dark1);
    font-weight: 700;
    font-size: 10px;
}
*[gender-filter="X"] .participant-split[split-pos="2"] .participant-split-pos,
*[gender-filter="M"] .participant-split[split-pos-sex="2"] .participant-split-pos,
*[gender-filter="W"] .participant-split[split-pos-sex="2"] .participant-split-pos{
    background: linear-gradient(135deg, #E8E8E8 0%, #FFFFFF 25%, #9E9E9E 50%, #E8E8E8 75%, #FFFFFF 100%);
    color: var(--dark1);
    font-weight: 700;
    font-size: 10px;
}
*[gender-filter="X"] .participant-split[split-pos="3"] .participant-split-pos,
*[gender-filter="M"] .participant-split[split-pos-sex="3"] .participant-split-pos,
*[gender-filter="W"] .participant-split[split-pos-sex="3"] .participant-split-pos{
    background: linear-gradient(135deg, #CD7F32 0%, #E6A157 25%, #8B5A2B 50%, #CD7F32 75%, #E6A157 100%);
    color: var(--dark1);
    font-weight: 700;
    font-size: 10px;
}
*[gender-filter="X"] .participant-split span[gender="M"],
*[gender-filter="X"] .participant-split  span[gender="W"]{
    display: none;
}
*[gender-filter="M"] .participant-split span[gender="X"],
*[gender-filter="M"] .participant-split  span[gender="W"]{
    display: none;
}
*[gender-filter="W"] .participant-split span[gender="M"],
*[gender-filter="W"] .participant-split  span[gender="X"]{
    display: none;
}

*[split-name="Result"]{
    transition: .1s ease-out;
}


.center{
    display: none;
    position: absolute;
    left: 50%;
    top:0;
    height: 1000px;
    width: 1px;
    background-color: red;
}





.login-wrapper{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 20px 30px;
    background-color: rgba(255,255,255,0.03);
    border-radius: 10px;
    border: var(--border);
    margin-top: 20vh;
}
.login-title{
    font-size: 14px;
    margin: 10px 20px;
}
.login-input-wrapper{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
#input-login-password{
    background-color: var(--dark1);
    color: white;
    font-family: Inter;
    font-size: 18px;
    padding: 8px 10px;
    width: 150px;
    border: var(--border);
    border-radius: 5px;
}
#login-error{
    font-size: 10px;
    color: red;
    margin-top: 10px;
}