
/*#region -- Home */

.event-access {
    display: flex;
    width: 100%;
    max-width: 620px;
    height: 100dvh;
    margin: 0 auto;
    padding: 12px;
    flex-direction: column;
    box-sizing: border-box;
    overflow: hidden;
}
.event-access-scroll {
    min-height: 0;
    flex: 1 1 auto;
    overflow-x: hidden;
    overflow-y: auto;
    padding-right: 10px;
    margin-right: -10px;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}
.makze-brand {
    flex: 0 0 auto;
    padding: 10px 0 18px;
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--primary);
}

.makze-brand sup {
    position: relative;
    margin-left: 2px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0;
}

/* HERO */

.contest-hero {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(145deg, var(--primary), color-mix(in srgb, var(--primary) 78%, #071d20));
    color: #fff;
    box-shadow: 0 2px 3px rgba(18, 55, 60, .16);
}

.contest-hero-pattern {
    position: absolute;
    width: 260px;
    height: 260px;
    top: -150px;
    right: -140px;
    border: 45px solid rgba(255, 255, 255, .04);
    border-radius: 50%;
    box-sizing: border-box;
}

.contest-hero-pattern::after {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    left: -210px;
    top: 225px;
    border: 30px solid rgba(255, 255, 255, .025);
    border-radius: 50%;
}

.contest-hero-content {
    position: relative;
    z-index: 1;
    padding: 20px;
}

.contest-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .1);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.contest-badge span {
    position: relative;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #7ee2a8;
    box-shadow: 0 0 0 4px rgba(126, 226, 168, .12);
}
.contest-badge span::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #7ee2a8;
    animation: contest-pulse 1.8s ease-out infinite;
}

@keyframes contest-pulse {
    0% {
        transform: scale(1);
        opacity: .55;
    }

    70% {
        transform: scale(3);
        opacity: 0;
    }

    100% {
        transform: scale(3);
        opacity: 0;
    }
}

.contest-heading {
    margin-top: 22px;
}

.contest-heading h1 {
    margin: 0;
    font-size: 20px;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -.5px;
}

.contest-heading p {
    margin: 6px 0 0;
    font-size: 12px;
    color: rgba(255, 255, 255, .62);
}


/* META */

.contest-meta {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .13);
}

.contest-meta-item {
    min-width: 0;
    padding: 0 10px;
    border-right: 1px solid rgba(255, 255, 255, .12);
}

.contest-meta-item:first-child {
    padding-left: 0;
}

.contest-meta-item:last-child {
    padding-right: 0;
    border-right: 0;
}

.contest-meta-item i {
    display: block;
    font-size: 16px;
    color: rgba(255, 255, 255, .65);
}

.contest-meta-item span {
    display: block;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .7px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .45);
}

.contest-meta-item strong {
    display: block;
    overflow: hidden;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
    text-overflow: ellipsis;
}


/* INTRO */

.event-intro {
    padding: 23px 5px 19px;
}

.event-intro-kicker {
    display: block;
    margin-bottom: 3px;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
}

.event-intro h2 {
    margin: 0;
    font-size: 20px;
    line-height: 1.2;
    color: #172326;
}

.event-intro p {
    margin: 7px 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: #7b8588;
}


/* TEAM */

.team-select-form {
    margin-bottom: 14px;
    padding: 17px;
    border: 1px solid #e3eaea;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 3px 7px rgba(20, 50, 55, .05);
}

.team-select-heading {
    display: flex;
    align-items: center;
    gap: 11px;
}

.team-select-icon {
    display: flex;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: color-mix(in srgb, var(--primary) 9%, white);
    color: var(--primary);
}

.team-select-icon i {
    font-size: 21px;
}

.team-select-heading h3 {
    margin: 0;
    font-size: 15px;
    line-height: 1.2;
    color: #172326;
}

.team-select-heading p {
    margin: 3px 0 0;
    font-size: 10.5px;
    line-height: 1.3;
    color: #8b9496;
}


/* SELECT */

.team-select-field {
    display: block;
    margin-top: 15px;
}

.team-select-label {
    display: block;
    margin: 0 0 6px 2px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: #899396;
}

.team-select-control {
    position: relative;
    display: flex;
    width: 100%;
    height: 58px;
    align-items: center;
    border: 1px solid #dce5e5;
    border-radius: 12px;
    background: #f8fafa;
    box-sizing: border-box;
    transition: border-color .15s ease, background .15s ease;
}

.team-select-control:focus-within {
    border-color: var(--primary);
    background: #fff;
}

.team-select-prefix {
    padding-left: 17px;
    font-size: 13px;
    font-weight: 700;
    color: #929c9e;
}

.team-select-control select {
    flex: 1;
    height: 100%;
    min-width: 0;
    padding: 0 45px 0 8px;
    border: 0;
    outline: 0;
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    font: inherit;
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    cursor: pointer;
}

.team-select-control > i {
    position: absolute;
    right: 14px;
    pointer-events: none;
    font-size: 23px;
    color: var(--primary);
}


/* INFO */

.event-access-info {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 14px;
    padding: 0 4px;
    color: #879093;
}

.event-access-info-icon {
    display: flex;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: color-mix(in srgb, var(--primary) 8%, white);
    color: var(--primary);
}

.event-access-info-icon i {
    font-size: 17px;
}

.event-access-info p {
    margin: 0;
    padding: 1px 5px 0;
    font-size: 9.5px;
    line-height: 1.45;
}

.event-access-info strong {
    /*display: block;*/
    margin-bottom: 3px;
    font-size: 10px;
    font-weight: 700;
    color: #626d70;
}


.event-footer {
    padding: 28px 10px 18px;
    text-align: center;
    color: #a0a8aa;
}

.event-footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 9px;
}

.event-footer-links a {
    color: #7f898c;
    text-decoration: none;
}

.event-footer-links a:hover {
    color: var(--primary);
}

.event-footer-links span {
    color: #cbd0d1;
}

.event-footer-copy {
    margin-top: 8px;
    font-size: 8px;
    color: #b2b9ba;
}

.event-footer-copy sup {
    font-size: 5px;
}

/* VERY SMALL MOBILE */

@media (max-width: 360px) {
    .event-access {
        padding: 8px;
    }

    .contest-hero-content {
        padding: 17px;
    }

    .contest-heading {
        margin-top: 17px;
    }

    .contest-heading h1 {
        font-size: 22px;
    }

    .contest-meta {
        margin-top: 18px;
        padding-top: 14px;
    }

    .contest-meta-item {
        padding: 0 7px;
    }

    .contest-meta-item strong {
        font-size: 9px;
    }

    .event-intro {
        padding: 19px 3px 16px;
    }

    .team-select-form {
        padding: 14px;
    }
}


/* DESKTOP / TABLET */

@media (min-width: 600px) {
    .event-access {
        padding: 25px 18px 40px;
    }

    .contest-hero {
        border-radius: 24px;
    }

    .contest-hero-content {
        padding: 27px 30px;
    }

    .contest-heading h1 {
        font-size: 31px;
    }

    .contest-heading p {
        font-size: 13px;
    }

    .contest-meta-item {
        display: flex;
        align-items: center;
        gap: 9px;
    }

    .contest-meta-item i {
        margin: 0;
        font-size: 21px;
    }

    .contest-meta-item strong {
        font-size: 12px;
    }

    .event-intro {
        padding: 28px 8px 22px;
    }

    .event-intro h2 {
        font-size: 22px;
    }

    .event-intro p {
        font-size: 13px;
    }

    .team-select-form {
        padding: 20px;
    }
}

/*#endregion*/


/*#region -- Next Drawing */

.round-progress {
    padding: 14px;
    border: 1px solid #e1e6e6;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(20, 50, 55, .04);
    z-index: 1024;
}

.round-progress-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.round-progress-head > div:first-child {
    min-width: 0;
}

.round-progress-head span {
    display: block;
    margin-bottom: 2px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .7px;
    text-transform: uppercase;
    color: #939c9e;
}

.round-progress-head strong {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #505c5f;
}

.round-progress-count {
    flex: 0 0 auto;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    color: var(--primary);
}

.round-progress-count span {
    display: inline;
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
    color: #a0a8aa;
}

.round-progress-bar {
    height: 5px;
    margin-top: 12px;
    overflow: hidden;
    border-radius: 10px;
    background: #edf0f0;
}

.round-progress-value {
    height: 100%;
    border-radius: inherit;
    background: var(--primary);
    transition: width .5s ease;
}

.round-progress-footer {
    margin-top: 7px;
    text-align: right;
    font-size: 9px;
    font-weight: 600;
    color: #939c9e;
}

.round-progress-waiting {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 12px;
    padding-top: 11px;
    border-top: 1px solid #edf0f0;
}

.round-progress-waiting-dot {
    position: relative;
    flex: 0 0 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
}

.round-progress-waiting-dot::after {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--primary);
    content: '';
    animation: round-waiting-pulse 1.8s ease-out infinite;
}

.round-progress-waiting strong {
    display: block;
    margin-bottom: 1px;
    font-size: 12px;
    font-weight: 700;
    color: #505c5f;
}

.round-progress-waiting span:not(.round-progress-waiting-dot) {
    display: block;
    font-size: 11px;
    line-height: 1.35;
    color: #939c9e;
}

.round-progress-waiting span {
    font-size: 12px;
}

@keyframes round-waiting-pulse {
    0% {
        opacity: .35;
        transform: scale(1);
    }

    70%,
    100% {
        opacity: 0;
        transform: scale(2.8);
    }
}

.player-ranking {
    overflow: hidden;
    border: 1px solid #e1e6e6;
    border-radius: 12px;
    background: #fff;
}
.player-ranking-team {
    display: flex;
    min-height: 48px;
    align-items: center;
    gap: 10px;
    padding: 8px 11px;
    border-bottom: 1px solid #edf0f0;
}
.player-ranking-team:last-child {
    border-bottom: 0;
}
.player-ranking-number {
    display: flex;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f1f4f4;
    font-size: 10px;
    font-weight: 800;
    color: #596568;
}
.player-ranking-content {
    flex: 1;
    min-width: 0;
}
.player-ranking-content strong {
    display: block;
    overflow: hidden;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.3;
    color: #4d595c;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.player-ranking-content span {
    display: block;
    margin-top: 2px;
    font-size: 8.5px;
    font-weight: 600;
    color: #9aa2a4;
}
.player-ranking-score {
    flex: 0 0 auto;
    font-size: 10px;
    font-weight: 800;
    color: #596568;
}
.player-ranking-team.qualified .player-ranking-number {
    background: rgba(25, 88, 95, .10);
    color: var(--primary);
}
.player-ranking-qualified {
    display: flex;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(25, 88, 95, .09);
    color: var(--primary);
}
.player-ranking-qualified i {
    font-size: 14px;
    font-weight: 700;
}
.player-ranking-team.before-cut {
    background: rgba(25, 88, 95, .025);
}

.player-ranking-team.before-cut .player-ranking-number {
    background: rgba(25, 88, 95, .08);
    color: var(--primary);
}
.player-ranking-team.cut {
    background: #fffaf2;
}

.player-ranking-team.cut .player-ranking-number {
    background: #fff0d5;
    color: #9a6714;
}

.player-ranking-team.cut .player-ranking-score {
    color: #9a6714;
}
.player-ranking-cut {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 9px;
    background: #f7f8f8;
}
.player-ranking-cut > span {
    flex: 1;
    height: 1px;
    background: rgba(25, 88, 95, .22);
}
.player-ranking-cut strong {
    flex: 0 0 auto;
    font-size: 7.5px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--primary);
}
.player-phase-head {
    padding: 10px 11px;
    border-top: 1px solid rgba(25, 88, 95, .16);
    border-bottom: 1px solid rgba(25, 88, 95, .10);
    background: rgba(25, 88, 95, .055);
}
.player-phase-head-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.player-phase-head-main > div:first-child {
    min-width: 0;
}
.player-phase-head-main > div:first-child > span {
    display: block;
    margin-bottom: 1px;
    font-size: 7px;
    font-weight: 800;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: #8c989a;
}
.player-phase-head-main > div:first-child > strong {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: var(--primary);
}
.player-phase-size {
    flex: 0 0 auto;
    padding: 3px 7px;
    border-radius: 12px;
    background: rgba(25, 88, 95, .09);
    font-size: 7.5px;
    font-weight: 800;
    white-space: nowrap;
    color: var(--primary);
}
.player-phase-draw {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 7px;
    padding-top: 7px;
    border-top: 1px solid rgba(154, 103, 20, .12);
    font-size: 8px;
    font-weight: 700;
    line-height: 1.3;
    color: #9a6714;
}
.player-phase-draw i {
    flex: 0 0 auto;
    font-size: 13px;
}
.player-ranking-cut.draw {
    background: #fff8ec;
}
.player-ranking-cut.draw strong {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #9a6714;
}
.player-ranking-cut.draw > span {
    background: #e5c58e;
}
.player-ranking-cut.draw i {
    font-size: 12px;
    color: #9a6714;
}
.player-ranking-cut.draw strong {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #9a6714;
}

/*#endregion*/
