.baiga-delivery__links {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0px 0px 12px 0px;
    flex-direction: row;
    justify-content: space-evenly;
}

.baiga-delivery__link {
    display: block;
    width: 100%;
    text-align: center;
    padding: 7px 20px;
    border-radius: 12px;
    background: var(--tg-theme-bg-color);
    color: var(--tg-theme-text-color);
    font-size: 16px;
    font-weight: 500;
    line-height: 21px;
    min-width: fit-content;
}

.baiga-delivery__head {
    flex: 1;
    /*min-width: 0;*/
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}

.leaderboard-like {
    border: none;
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #fff;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 12px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.leaderboard-like:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.leaderboard-like__icon::before {
    content: "❤";
    font-size: 16px;
    line-height: 1;
}

.leaderboard-like--active {
    color: #ff1f5a;
}

.leaderboard-like--active .leaderboard-like__icon::before {
    content: "❤";
}
.baiga-like {
    border: none;
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #fff;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 12px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.baiga_like_dark {
    color: #1C1B1B;
}

.baiga-like:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.baiga-like__icon::before {
    content: "❤";
    font-size: 16px;
    line-height: 1;
}

.baiga-like--active {
    color: #ff1f5a;
}

.baiga-like--active .baiga-like__icon::before {
    content: "❤";
}

.baigagroupliselected {
    background: rgb(254, 217, 50);
    color: rgb(0, 0, 0);
}

.baiga-delivery__link__inactive {
    background: var(--tg-theme-bg-color);
    color: var(--tg-theme-text-color);
}

.date {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0px 0px 12px 0px;
}

.date .LEADERBOARDDATESELECTOR {
    width: min(100%, 360px);
    max-width: 100%;
    font-size: clamp(16px, 4.8vw, 32px);
    line-height: 1.2;
}

.date-btn {
    border: 1px solid rgb(25, 25, 31);
    border-radius: 12px;
    padding: 6px 24px;
    color: rgb(0, 0, 0);
    font-weight: 500;
    line-height: 21px;
    text-align: center;
}

.baiga-delivery__list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.baiga-delivery__item {
}

/*.baiga-delivery__top {
    padding: 10px;
    border: 1px solid rgb(122, 122, 122);
    border-radius: 10px 10px 0px 0px;
    background: rgb(41, 41, 59);
}*/
.baiga-delivery__top {
    padding: 10px;
    border: 1px solid #7a7a7a;
    border-radius: 10px 10px 0 0;
    background: #29293b;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
}
.baiga-delivery__list_place-sp {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    margin-left: auto;
    flex-shrink: 0;
}

.baiga-delivery__name {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
    /*white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1;*/
}

.baiga-delivery__bottom {
    display: flex;
    justify-content: space-between;
    border: 1px solid rgb(122, 122, 122);
    border-radius: 0px 0px 12px 12px;
    background: var(--tg-theme-bg-color);
}

/*.baiga-delivery__place {
    width: 35%;
    padding: 12px 14px;
    border-right: 2px solid rgb(122, 122, 122);
}*/

.baiga-delivery__place {
    width: 35%;
    padding: 10px 14px;
    border-right: 2px solid rgb(122, 122, 122);
    display: flex;
    align-items: center;
}

.baiga-delivery__place-value {
    color: var(--tg-theme-text-color);
    font-size: 18px;
    font-weight: 600;
}

/*.baiga-delivery__place-sp {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    background: rgb(253, 238, 172);
    color: rgb(25, 25, 31);
    font-size: 10px;
    font-weight: 600;
    line-height: 7px;
    text-align: center;
}*/

.baiga-delivery__place-sp {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    background: rgb(253, 238, 172);
    color: rgb(25, 25, 31);
    font-size: 24px;
    font-weight: 600;
    text-align: center;
}

.baiga-delivery__prize {
    width: 33%;
    padding: 5px 8px 2px 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
}

.baiga-delivery__prize_row {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 15px;
    text-align: center;
}
    .baiga-delivery__prize_row div {
        display: flex;
        flex-direction: column;
        align-items: end;
    }
    .baiga-delivery__prize_row p {
        margin: 0;
        line-height: 1;
        font-size: 12px;
    }

.baiga-delivery__prize-text {
    color: rgb(122, 122, 122);
    font-size: 10px;
    font-weight: 600;
    line-height: 10px;
    text-align: end;
}

.baiga-delivery__prize-value {
    color: var(--tg-theme-text-color);
    font-size: 24px;
    font-weight: 700;
    line-height: 24px;
    text-align: end;
}

.baiga-delivery__prize-good {
    color: var(--tg-theme-text-color);
    font-size: 16px;
    text-align: end;
}

.baiga-delivery__points {
    width: 32%;
    padding: 5px 8px 2px 8px;
    border-right: 2px solid rgb(122, 122, 122);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.baiga-delivery__points-text {
    color: rgb(122, 122, 122);
    font-size: 10px;
    font-weight: 600;
    line-height: 10px;
    margin: 0;
}

.baiga-delivery__points-value {
    color: var(--tg-theme-text-color);
    font-size: 24px;
    font-weight: 700;
    line-height: 24px;
}

select {
    -webkit-appearance: button;
    -moz-appearance: button;
    -webkit-user-select: none;
    -moz-user-select: none;
    background-color: var(--tg-theme-bg-color);
    border: 1px solid rgb(122, 122, 122);
    border-radius: 6px;
    font-size: inherit;
    margin: auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--tg-theme-text-color);
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    line-height: 24px;
}

/* ----------userresult--------- */

.userresult {
    position: fixed;
    z-index: 10;
    bottom: 40px;
    left: 0;
    width: 100%;
    /*background-color: var(--tg-theme-bg-color);*/
    background-color: transparent;
    padding: 5px 0 80px 0;
}

.userresult_emptylayout {
    padding: 5px 0 10px 0 !important;
}

.userresult__container {
}

.userresult__inner {
}

/*.nav-menu {*/
.userresult__main {
    padding: 10px 2px 7px 2px;
    border-radius: 40px;
    background-color: transparent;
    /*border: 1px solid var(--tg-bg-color);*/
}


/*.nav-menu__text {*/
.userresult__text {
    color: rgb(122, 122, 122);
    font-size: 10px;
    font-weight: 600;
    line-height: 20px;
}

.userresult__list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.userresult__item {
}

.userresult__top {
    padding: 10px;
    border-radius: 10px;
    background: rgb(41, 41, 59);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    border: 1px solid var(--tg-theme-text-color);
}

.userresult__head-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 0;
    gap: 8px;
}

.userresult__name {
    color: #FFF;
    font-size: 29px;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
    word-break: break-word;
}

.userresult__bottom {
    display: flex;
    justify-content: space-between;
    border: 1px solid rgb(122, 122, 122);
    border-radius: 5px;
    background: var(--tg-theme-bg-color);
    gap: 10px;
}

.userresult__place {
    width: 33%;
    border-right: 2px solid rgb(122, 122, 122);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.userresult__place-value {
    color: var(--tg-theme-text-color);
    font-size: 12px;
    font-weight: 600;
    padding: 5px;
}

.userresult__place-sp {
    display: inline-block;
    border-radius: 5px;
    background: rgb(253, 238, 172);
    color: rgb(25, 25, 31);
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    padding-right: 3px;
    margin-right: 5px;
}

.userresult__prize {
    width: 33%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 2px;
    padding-right: 6px;
}

.userresult__details-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 18px;
    line-height: 1;
    text-decoration: none;
    margin-right: 0;
    flex-shrink: 0;
}

.userresult__details-link:active {
    transform: scale(0.95);
}
    .userresult__prize span {
        text-align: center;
    }

.userresult__prize_column {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 2px;
}
    .userresult__prize_column span {
        text-align: right;
        line-height: 1.2;
    }

.userresult__prize-text {
    color: rgb(122, 122, 122);
    font-size: 12px;
    font-weight: 600;
    line-height: 10px;
    text-align: end;
}

.userresult__prize-value {
    color: var(--tg-theme-text-color);
    font-size: 14px;
    font-weight: 700;
    padding-right: 4px;
}


.userresult__points {
    width: 33%;
    border-right: 2px solid rgb(122, 122, 122);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.userresult__points-text {
    color: rgb(122, 122, 122);
    font-size: 12px;
    font-weight: 600;
    line-height: 10px;
    margin: 0;
}

.userresult__points-value {
    color: var(--tg-theme-text-color);
    font-size: 24px;
    font-weight: 700;
    line-height: 24px;
}

.leaderboard-contribution {
    margin-top: 4px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-size: 14px;
}

.leaderboard-contribution__title {
    opacity: 0.9;
    margin-bottom: 6px;
}

.leaderboard-contribution__line {
    margin-bottom: 2px;
}

.leaderboard-details-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 10px;
}

.leaderboard-details-card__title {
    color: var(--tg-theme-text-color);
    font-weight: 700;
    font-size: 18px;
}

.leaderboard-details-card__period {
    color: var(--tg-theme-hint-color, rgba(255,255,255,0.7));
    margin-top: 4px;
    font-size: 13px;
}

.leaderboard-details-list {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.leaderboard-details-list__item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 10px 12px;
}

.leaderboard-details-list__meta {
    display: flex;
    justify-content: space-between;
    color: var(--tg-theme-hint-color, rgba(255,255,255,0.7));
    font-size: 12px;
    margin-bottom: 4px;
}

.leaderboard-details-list__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.leaderboard-details-list__desc {
    color: var(--tg-theme-text-color);
    font-size: 14px;
}

.leaderboard-details-list__points {
    color: #FED932;
    font-weight: 700;
    font-size: 16px;
    white-space: nowrap;
}

.leaderboard-details-list__empty {
    color: var(--tg-theme-hint-color, rgba(255,255,255,0.7));
    text-align: center;
    padding: 14px 0;
}

/*------------байга по городам-------------*/
.baiga-city__groups-ul {
    display: flex;
    flex-direction: row;
    overflow: auto;
    overflow-y: hidden;
    gap: 20px;
    color: var(--tg-theme-text-color);
    min-height: 60px;
    /*line-height: 32px;*/
    font-size: 20px;
    text-align: center;
}

.baiga-city__group-link {
    border: 2px solid rgb(254, 217, 50);
    border-radius: 10px;
    margin: auto;
    padding: 0px 20px 0px 20px;
}

.baiga-city__group-link-selected {
    background-color: rgb(254, 217, 50);
    color: black;
    font-weight: bold;
}

.leaderboard-period-subtitle {
    color: var(--tg-theme-hint-color, rgba(255, 255, 255, 0.75));
    font-size: 13px;
    line-height: 1.3;
    text-align: center;
    margin: 4px 8px 10px;
}

.baiga-city__cities {
    color: var(--tg-theme-text-color);
    font-size: 12px;
    font-weight: 700;
    line-height: 12px;
    text-align: center;
    margin: 0px 0px 12px 0px;
}

.citybaigacortbutton {
    /*position: fixed;
    bottom: 10px;
    left: 0;
    width: 80%;*/
    margin-bottom: 12px;
}

.cortege-empty-screen {
    background: #f3f3f3;
    margin-left: -16px;
    margin-right: -16px;
    padding-bottom: calc(130px + env(safe-area-inset-bottom));
}

.cortege-empty-screen__container {
    padding: 16px;
}

.cortege-empty-card {
    background: #fff;
    border-radius: 24px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cortege-empty-card__hero {
    width: 100%;
    height: auto;
    display: block;
}

.cortege-empty-card__intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.cortege-empty-card__title {
    margin: 0;
    text-align: center;
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 26px;
}

.cortege-empty-card__subtitle {
    margin: 0;
    text-align: center;
    color: #535250;
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
}

.cortege-empty-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 4px 8px;
    text-decoration: none;
    color: #1f6cf1;
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}

.cortege-empty-benefits {
    border: 1px solid #e8e7e7;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cortege-empty-benefits__item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.cortege-empty-benefits__item--reverse {
    flex-direction: row;
}

.cortege-empty-benefits__icon-wrap {
    width: 73px;
    height: 80px;
    border-radius: 16px;
    background: #f3f3f3;
    display: flex;
    align-items: flex-end;
    flex-shrink: 0;
    padding: 8px 16px 0;
    justify-content: flex-start;
} 

.cortege-empty-benefits__icon-wrap img {
    width: 55px;
    height: 56px;
    object-fit: contain;
}

.cortege-empty-benefits__content {
    flex: 1;
    min-width: 0;
}

.cortege-empty-benefits__content h4 {
    margin: 0 0 2px;
    color: #212222;
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

.cortege-empty-benefits__content p {
    margin: 0;
    color: #535250;
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
}

.cortege-empty-alert {
    background: #fff0d3;
    border: 1px solid rgba(14, 14, 13, 0.05);
    border-radius: 16px;
    padding: 16px;
    color: #1c1b1b;
}

.cortege-empty-alert h4 {
    margin: 0 0 8px;
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

.cortege-empty-alert p {
    margin: 0;
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
}

.cortege-empty-alert ul {
    margin: 0;
    padding-left: 20px;
}

.cortege-empty-alert li {
    margin: 0;
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
}

.cortege-empty-actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 25;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #fff;
    border-top: 1px solid #e8e7e7;
    padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
}

.cortege-empty-actions__button {
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: #1c1b1b;
}

.cortege-empty-actions__button--secondary {
    height: 48px;
    background: var(--button-secondary-bg, #E8E7E7);


}

.cortege-empty-actions__button--primary {
    height: 48px;
    background: var(--button-primary-bg, #ECC406);


}

.cort-step1 {
    background: #f3f3f3;
    min-height: 100vh;
}

.cort-step1__form {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
}

.cort-step1__header {
    padding: 8px 16px 0;
}

.cort-step1__header h1 {
    margin: 0;
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 32px;
}

.cort-step1__progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px 8px;
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

.cort-step1__progress-counter {
    color: #8a8985;
}

.cort-step1__content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 16px;
}

.cort-step1__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cort-step1__field label {
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
}

.cort-step1__field input,
.cort-step1__field select {
    height: 48px;
    border-radius: 12px;
    border: 1px solid #d0d0ce;
    background: #fff;
    padding: 8px 24px;
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #1c1b1b;
    box-shadow: none;
}

.cort-step1__field select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: none;
    padding-right: 24px;
}

.styled-select {
    position: relative;
}

.styled-select__toggle {
    width: 100%;
    height: 48px;
    border-radius: 12px;
    border: 1px solid #d0d0ce;
    background: #fff;
    padding: 8px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #1c1b1b;
    box-shadow: none;
}

.styled-select__toggle:focus {
    border-color: #8ddfe5;
    box-shadow: 0 0 0 2px #cdfffe;
    outline: none;
}

.styled-select__toggle--placeholder {
    color: #8a8985;
}

.styled-select__toggle--error {
    border-color: #f5423e;
    box-shadow: 0 0 0 2px #ffc9c8;
}

.styled-select__caret {
    width: 8px;
    height: 8px;
    border-right: 1.8px solid #8a8985;
    border-bottom: 1.8px solid #8a8985;
    transform: rotate(45deg);
    margin-left: 10px;
    flex-shrink: 0;
    transition: transform 0.15s ease, margin-top 0.15s ease;
}

.styled-select__toggle[aria-expanded="true"] .styled-select__caret {
    transform: rotate(-135deg);
    margin-top: 3px;
}

.styled-select__menu {
    margin-top: 2px;
    width: 100%;
    border: 1px solid #e8e7e7;
    background: #fff;
    border-radius: 16px;
    padding: 4px;
    max-height: 320px;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.styled-select__item {
    width: 100%;
    min-height: 40px;
    border: none;
    background: #fff;
    border-radius: 12px;
    padding: 8px 16px;
    text-align: left;
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.styled-select__item--selected {
    background: #f3f3f3;
}

.cort-step1__field input:focus,
.cort-step1__field select:focus {
    border-color: #8ddfe5;
    box-shadow: 0 0 0 2px #cdfffe;
    outline: none;
}

.cort-step1__field input.cort-step1__input--error {
    border-color: #f5423e;
    box-shadow: 0 0 0 2px #ffc9c8;
}

.cort-step1__field input.cort-step1__input--error:focus {
    border-color: #f5423e;
    box-shadow: 0 0 0 2px #ffc9c8;
}

.cort-step1__hint {
    margin: 0;
    color: #8a8985;
    font-family: "Noto Sans", sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
}

.cort-step1__error {
    color: #e53935;
    font-family: "Noto Sans", sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
}

.cort-step1__language-toggle {
    display: inline-flex;
    align-items: center;
    background: #e8e7e7;
    border: 1px solid rgba(14, 14, 13, 0.05);
    border-radius: 12px;
    padding: 2px;
    width: fit-content;
}

.cort-step1__language-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cort-step1__language-toggle label {
    margin: 0;
    height: 32px;
    border-radius: 10px;
    padding: 7px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #8a8985;
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
}

.cort-step1__language-toggle input:checked + label {
    background: linear-gradient(180deg, #ffffff 0%, #f3f3f3 100%);
    box-shadow: 0 0 2px 1px rgba(14, 14, 13, 0.1);
    color: #1c1b1b;
}

.cort-step1__switch-row {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-top: 2px;
}

.cort-step1__switch {
    position: relative;
    width: 50px;
    height: 30px;
    display: inline-flex;
    flex-shrink: 0;
}

.cort-step1__switch input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.cort-step1__switch-track {
    position: relative;
    width: 50px;
    height: 30px;
    border-radius: 100px;
    background: rgba(14, 14, 13, 0.1);
    transition: background-color 0.2s ease;
}

.cort-step1__switch-track::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 26px;
    height: 26px;
    border-radius: 100px;
    background: #fff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15), 0 3px 1px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease;
}

.cort-step1__switch input:checked + .cort-step1__switch-track {
    background: #0e0e0d;
}

.cort-step1__switch input:checked + .cort-step1__switch-track::after {
    transform: translateX(20px);
}

.cort-step1__switch-text {
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.cort-step1__footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    border-top: 1px solid #e8e7e7;
    background: #fff;
    padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
    z-index: 20;
}

.cort-step1__continue {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 10px;
    color: #1c1b1b;
    background: var(--button-primary-bg, #ECC406);
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}

.cort-step2 {
    min-height: 100vh;
}

.cort-step2__form {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
}

.cort-step2__header {
    padding: 8px 16px 0;
}

.cort-step2__header h1 {
    margin: 0;
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 32px;
}

.cort-step2__progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 8px;
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

.cort-step2__progress-counter {
    color: #8a8985;
}

.cort-step2__search-wrap {
    padding: 8px 16px;
}

.cort-step2__search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    border-radius: 12px;
    border: 1px solid #d0d0ce;
    background: #fff;
    box-shadow: 0 0 0 2px #cdfffe;
    padding: 8px 2px 8px 12px;
}

.cort-step2__search-icon {
    color: #8a8985;
}

.cort-step2__search-box input {
    border: none;
    outline: none;
    box-shadow: none;
    background: transparent;
    width: 100%;
    min-width: 0;
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.cort-step2__search-box input::placeholder {
    color: #8a8985;
}

.cort-step2__clear {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 12px;
    background: transparent;
    color: #8a8985;
    font-size: 20px;
    line-height: 20px;
    padding: 0;
}

.cort-step2__content {
    background: #fff;
    min-height: calc(100vh - 220px);
}

.cort-step2__empty-state {
    text-align: center;
    padding: 16px 40px;
}

.cort-step2__empty-title {
    margin: 0;
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.cort-step2__empty-text {
    margin: 8px 0 0;
    color: #535250;
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
}

.cort-step2__no-results {
    text-align: center;
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    padding: 16px 40px;
}

.cort-step2__table-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 104px 120px;
    align-items: center;
}

.cort-step2__table-header div {
    padding: 4px 16px;
    color: #535250;
    font-family: "Noto Sans", sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
}

.cort-step2__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 104px 120px;
    align-items: center;
}

.cort-step2__driver {
    padding: 8px 16px;
}

.cort-step2__driver-name {
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
}

.cort-step2__driver-city {
    color: #535250;
    font-family: "Noto Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 14px;
    margin-top: 2px;
}

.cort-step2__driver-cortege {
    padding: 8px 16px;
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
}

.cort-step2__action {
    padding: 1px 2px;
    display: flex;
    justify-content: flex-end;
}

.cort-step2__invite-btn {
    border: none;
    border-radius: 16px;
    background: transparent;
    min-height: 32px;
    padding: 4px 16px;
    color: #1f6cf1;
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
}

.cort-step2__invite-btn--invited {
    background: #e8e7e7;
    color: #b9b8b6;
    display: inline-flex;
    align-items: center;
}

.cort-step2__invite-bolt {
    margin-right: 4px;
}

.cort-step2__footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    border-top: 1px solid #e8e7e7;
    background: #fff;
    padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
    z-index: 20;
}

.cort-step2__create {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 10px;
    background: var(--button-primary-bg, #ECC406);
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}

.cort-step2__toast {
    position: fixed;
    left: 8px;
    right: 8px;
    top: 8px;
    min-height: 56px;
    border-radius: 16px;
    background: #275429;
    box-shadow: 0 1px 5px 1px rgba(14, 14, 13, 0.3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 4px 8px 16px;
    z-index: 50;
}

.cort-step2__toast span {
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.cort-step2__toast button {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 12px;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.cort-step2__toast button img {
    width: 20px;
    height: 20px;
    display: block;
    filter: brightness(0) invert(1);
}

.cort-step2__toast--hidden {
    display: none;
}

.cort-driver-page {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    min-height: 100vh;
    background: radial-gradient(120% 90% at 50% 0%, #483558 0%, #32465e 15%, #1c5664 30%, #203d44 45%, #242424 100%);
    overflow: hidden;
}

.cort-driver-page__header {
    padding: 8px 0;
}

.cort-driver-page__header-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 4px 8px 16px;
}

.cort-driver-page__header-row h1 {
    margin: 0;
    flex: 1 1 auto;
    color: #fff;
    font-family: "Noto Sans", sans-serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 32px;
}

.cort-driver-page__settings {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    text-decoration: none;
}

.cort-driver-page__settings img {
    width: 26px;
    height: 26px;
}

.cort-driver-page__card {
    min-height: calc(100vh - 56px);
    background: #fff;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    padding: 16px 16px 24px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.cort-driver-page__tabs {
    height: 48px;
    display: flex;
    align-items: center;
    gap: 2px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    background: #fff;
}

.cort-driver-page__tabs::-webkit-scrollbar {
    display: none;
}

.cort-driver-page__tab {
    height: 48px;
    min-height: 48px;
    padding: 8px 24px;
    border: 1px solid transparent;
    border-radius: 22px;
    background: transparent;
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.cort-driver-page__tab--active {
    border: 1px solid #d0d0ce;
}

.cort-driver-page__member-switch {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 2px;
    border: 1px solid rgba(14, 14, 13, 0.05);
    border-radius: 12px;
    background: #f3f3f3;
}

.cort-driver-page__card > [data-main-panel="members"] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
}

.cort-driver-page__member-switch-btn {
    height: 32px;
    border: none;
    border-radius: 10px;
    padding: 0 12px;
    background: transparent;
    color: #8a8985;
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    white-space: nowrap;
}

.cort-driver-page__member-switch-btn.is-active {
    color: #1c1b1b;
    background: linear-gradient(180deg, #fff 0%, #f3f3f3 100%);
    box-shadow: 0 0 2px 1px rgba(14, 14, 13, 0.1);
}

.cort-driver-page__member-table {
    margin-top: 16px;
}

.cort-driver-page__member-header,
.cort-driver-page__member-row {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) 72px;
    column-gap: 0;
    align-items: start;
}

.cort-driver-page__member-header {
    padding: 0 0 4px;
}

.cort-driver-page__member-header span {
    padding: 0 16px;
    color: #535250;
    font-family: "Noto Sans", sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
}

.cort-driver-page__member-row {
    padding: 8px 0;
}

.cort-driver-page__member-pos {
    padding: 0 16px;
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
}

.cort-driver-page__member-name-wrap {
    padding: 0 16px;
    min-width: 0;
    display: grid;
    grid-template-columns: auto 16px;
    column-gap: 4px;
    row-gap: 2px;
    align-items: center;
}

.cort-driver-page__member-name {
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    min-width: 0;
}

.cort-driver-page__member-city {
    grid-column: 1 / -1;
    color: #535250;
    font-family: "Noto Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 14px;
}

.cort-driver-page__member-score {
    padding: 0 16px;
    color: #1c1b1b;
    text-align: right;
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
}

.cort-driver-page__member-empty {
    margin-top: 16px;
    color: #8a8985;
    text-align: center;
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
}

.cort-driver-page__invite-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 160px;
    align-items: start;
    padding: 8px 0;
}

.cort-driver-page__invite-date {
    padding: 0 16px;
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
}

.cort-driver-page__member-table[data-member-panel="invites"] .cort-driver-page__member-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 160px;
    align-items: start;
}

.cort-driver-page__member-table[data-member-panel="invites"] .cort-driver-page__member-header span:first-child {
    padding: 0 16px;
}

.cort-driver-page__member-table[data-member-panel="requests"] .cort-driver-page__member-header,
.cort-driver-page__request-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 128px 94px;
    align-items: start;
}

.cort-driver-page__request-row {
    padding: 8px 0;
}

.cort-driver-page__request-date {
    padding: 0 16px;
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
}

.cort-driver-page__request-accept-btn {
    height: 32px;
    margin: 0 2px;
    border: none;
    border-radius: 16px;
    background: transparent;
    color: #1f6cf1;
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    justify-self: end;
    padding: 0 16px;
}

.cort-driver-page__invite-action {
    margin-top: auto;
    margin-left: -16px;
    margin-right: -16px;
    background: #fff;
    border-top: 1px solid #e8e7e7;
    padding: 8px 16px;
}

.cort-driver-page__invite-find-btn {
    width: 100%;
    height: 40px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(180deg, #e8e7e7 0%, #dcdcda 100%);
    box-shadow: 0 3px 4px -1px rgba(14, 14, 13, 0.3), 0 0 0 1px rgba(14, 14, 13, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}

.cort-member-modal-open {
    overflow: hidden;
}

.cort-member-modal {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: none;
    align-items: flex-end;
    justify-content: center;
    background: transparent;
}

.cort-member-modal.is-visible {
    display: flex;
}

.cort-member-modal__dialog {
    width: min(393px, 100vw);
    height: 100vh;
    max-height: 100vh;
    border-radius: 24px 24px 0 0;
    background: #f3f3f3;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.cort-member-modal__header {
    position: relative;
    padding: 24px 40px 8px;
    text-align: center;
}

.cort-member-modal__header h2 {
    margin: 0;
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 26px;
}

.cort-member-modal__close {
    position: absolute;
    right: 8px;
    top: 16px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 12px;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.cort-member-modal__close img {
    width: 26px;
    height: 26px;
    display: block;
}

.cort-member-modal__search-wrap {
    padding: 16px;
}

.cort-member-modal__search {
    height: 48px;
    border-radius: 12px;
    border: 1px solid #d0d0ce;
    box-shadow: 0 0 0 2px #cdfffe;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 2px 8px 12px;
}

.cort-member-modal__search input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.cort-member-modal__search input::placeholder {
    color: #8a8985;
}

.cort-member-modal__search-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cort-member-modal__search-clear {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 12px;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cort-member-modal__search-clear img {
    width: 20px;
    height: 20px;
    display: block;
    opacity: 0.75;
}

.cort-member-modal__content {
    flex: 1;
    min-height: 0;
    background: #fff;
    border-radius: 24px 24px 0 0;
    overflow-y: auto;
    padding: 16px 0;
}

.cort-member-modal__state {
    padding: 0 40px;
    text-align: center;
}

.cort-member-modal__state p {
    margin: 0;
}

.cort-member-modal__state p:first-child {
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.cort-member-modal__state p + p {
    margin-top: 8px;
    color: #535250;
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
}

.cort-member-modal__state--single {
    padding-top: 0;
}

.cort-member-modal__table-head,
.cort-member-modal__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 104px 120px;
    align-items: start;
}

.cort-member-modal__table-head {
    padding: 0 0 4px;
}

.cort-member-modal__table-head span {
    padding: 0 16px;
    color: #535250;
    font-family: "Noto Sans", sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
}

.cort-member-modal__row {
    padding: 8px 0;
}

.cort-member-modal__name-wrap {
    padding: 0 16px;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 16px;
    column-gap: 4px;
    row-gap: 2px;
    align-items: center;
}

.cort-member-modal__name {
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
}

.cort-member-modal__city {
    grid-column: 1 / -1;
    color: #535250;
    font-family: "Noto Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 14px;
}

.cort-member-modal__cortege {
    padding: 0 16px;
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
}

.cort-member-modal__invite-btn {
    height: 32px;
    margin: 0 2px;
    border: none;
    border-radius: 16px;
    background: transparent;
    color: #1f6cf1;
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    justify-self: end;
    padding: 0 16px;
}

.cort-member-modal__invite-btn.is-invited {
    background: #e8e7e7;
    color: #b9b8b6;
    cursor: default;
}

.cort-rating {
    margin-top: 8px;
}

.cort-rating__tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    gap: 8px;
    align-items: center;
}

.cort-rating__search {
    height: 48px;
    border-radius: 12px;
    border: 1px solid #d0d0ce;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px 8px 12px;
}

.cort-rating__search input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.cort-rating__search input::placeholder {
    color: #8a8985;
}

.cort-rating__search-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cort-rating__filter-btn {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(14, 14, 13, 0.05);
    border-radius: 12px;
    background: #f3f3f3;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cort-rating__filter-btn img {
    width: 24px;
    height: 24px;
}

.cort-rating__filter-btn.is-active {
    border-color: rgba(14, 14, 13, 0.05);
    background: #f3f3f3;
}

.cort-rating__filter-badge {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 12px;
    height: 12px;
    border-radius: 6px;
    background: #10687a;
    color: #fff;
    font-family: "Noto Sans", sans-serif;
    font-size: 10px;
    font-weight: 600;
    line-height: 12px;
    text-align: center;
}

.cort-rating-filter {
    position: fixed;
    inset: 0;
    background: rgba(28, 27, 27, 0.32);
    z-index: 1200;
    display: none;
    align-items: flex-end;
    justify-content: center;
}

.cort-rating-filter.is-visible {
    display: flex;
}

.cort-rating-filter__sheet {
    width: min(393px, 100vw);
    height: 100vh;
    max-height: 100vh;
    background: #f3f3f3;
    border-radius: 24px 24px 0 0;
    overflow: hidden;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
}

.cort-rating-filter__header {
    position: relative;
    padding: 24px 40px 8px;
    text-align: center;
}

.cort-rating-filter__header h2 {
    margin: 0;
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 26px;
}

.cort-rating-filter__close {
    position: absolute;
    top: 16px;
    right: 8px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 12px;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cort-rating-filter__close img {
    width: 26px;
    height: 26px;
    display: block;
}

.cort-rating-filter__content {
    padding: 16px 0;
    overflow-y: auto;
    display: grid;
    gap: 16px;
}

.cort-rating-filter__card {
    background: #fff;
    border-radius: 24px;
    padding: 16px;
    display: grid;
    gap: 16px;
}

.cort-rating-filter__card-title {
    display: grid;
    gap: 4px;
}

.cort-rating-filter__card h3 {
    margin: 0;
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
}

.cort-rating-filter__card p {
    margin: 0;
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.cort-rating-filter__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cort-rating-filter__chip {
    border: none;
    border-radius: 8px;
    background: #f3f3f3;
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    padding: 9px 10px;
    min-width: 28px;
    text-align: center;
}

.cort-rating-filter__chip.is-active {
    background: #0e0e0d;
    color: #fff;
}

.cort-rating-filter__select-wrap {
    position: relative;
}

.cort-rating-filter__select {
    position: relative;
    width: 100%;
    height: 48px;
    border-radius: 12px;
    border: 1px solid #d0d0ce;
    background: #fff;
}

.cort-rating-filter__select-trigger {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
    padding: 0 12px 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    cursor: pointer;
}

.cort-rating-filter__select-trigger img {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
}

.cort-rating-filter__select.is-open .cort-rating-filter__select-trigger img {
    transform: rotate(180deg);
}

.cort-rating-filter__select-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 50px;
    background: #fff;
    border: 1px solid #e8e7e7;
    border-radius: 16px;
    padding: 4px;
    max-height: 320px;
    overflow: auto;
    display: none;
    z-index: 5;
}

.cort-rating-filter__select.is-open .cort-rating-filter__select-menu {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.cort-rating-filter__select-option {
    border: none;
    background: transparent;
    height: 40px;
    border-radius: 12px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    cursor: pointer;
}

.cort-rating-filter__select-option.is-active {
    background: #f3f3f3;
}

.cort-rating-filter__card--members {
    padding-bottom: 12px;
}

.cort-rating-filter__check-row {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 24px;
    cursor: pointer;
}

.cort-rating-filter__check-row input {
    width: 16px;
    height: 16px;
    margin: 0;
    border: 1px solid #b9b8b6;
    border-radius: 4px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
    background: #fff;
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    flex: 0 0 16px;
    cursor: pointer;
}

.cort-rating-filter__check-row #cort-rating-hide-full {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    border-radius: 4px !important;
    border: 1px solid #b9b8b6 !important;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.3) !important;
    background: #fff !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

.cort-rating-filter__check-row #cort-rating-hide-full::before {
    content: none !important;
}

.cort-rating-filter__check-row input:checked {
    background: #0e0e0d;
    border-color: #0e0e0d;
}

.cort-rating-filter__check-row #cort-rating-hide-full:checked {
    background: #0e0e0d !important;
    border-color: #0e0e0d !important;
}

.cort-rating-filter__check-row input:checked::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 6px;
    width: 10px;
    height: 10px;
    border: solid #fff;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}

.cort-rating-filter__check-row span {
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.cort-rating-filter__score-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.cort-rating-filter__score-field {
    display: grid;
    gap: 8px;
}

.cort-rating-filter__score-field > span {
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
}

.cort-rating-filter__score-field input {
    height: 48px;
    border-radius: 12px;
    border: 1px solid #d0d0ce;
    background: #fff;
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    padding: 8px 24px;
    outline: none;
    width: 170px;
}

.cort-rating-filter__score-field input::-webkit-outer-spin-button,
.cort-rating-filter__score-field input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cort-rating-filter__score-field input[type="number"] {
    -moz-appearance: textfield;
}

.cort-rating-filter__footer {
    background: #f3f3f3;
    border-top: 1px solid #e8e7e7;
    padding: 8px 16px 24px;
    display: grid;
    gap: 16px;
}

.cort-rating-filter__btn {
    height: 40px;
    border-radius: 10px;
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}

.cort-rating-filter__btn--clear {
    border: 1px solid rgba(14, 14, 13, 0.1);
    height:48px;
    background: var(--button-secondary-bg, #E8E7E7);
    color: #1c1b1b;
}

.cort-rating-filter__btn--apply {
    border: 1px solid #a36d05;
    color: #1c1b1b;
    background: var(--button-primary-bg, #ECC406);
    height:48px
}

body.cort-rating-filter-open {
    overflow: hidden;
}

.cort-rating-detail {
    position: fixed;
    inset: 0;
    z-index: 1250;
    display: none;
    align-items: flex-end;
    justify-content: center;
    background: rgba(28, 27, 27, 0.12);
}

.cort-rating-detail.is-visible {
    display: flex;
}

.cort-rating-detail__sheet {
    width: min(393px, 100vw);
    height: 100vh;
    max-height: 100vh;
    background: #f3f3f3;
    border-radius: 24px 24px 0 0;
    overflow: hidden;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
}

.cort-rating-detail__header {
    position: relative;
    padding: 24px 40px 8px;
    text-align: center;
}

.cort-rating-detail__header h2 {
    margin: 0;
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 26px;
}

.cort-rating-detail__close {
    position: absolute;
    right: 8px;
    top: 16px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 12px;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cort-rating-detail__close img {
    width: 26px;
    height: 26px;
    display: block;
}

.cort-rating-detail__content {
    padding: 16px 0;
    overflow-y: auto;
}

.cort-rating-detail__card {
    background: #fff;
    border-radius: 24px;
    padding: 16px 0;
    min-height: 100%;
}

.cort-rating-detail__tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    height: 48px;
}

.cort-rating-detail__tab {
    height: 48px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 22px;
    background: transparent;
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
}

.cort-rating-detail__tab.is-active {
    border-color: #d0d0ce;
}

.cort-rating-detail__title-row {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 16px;
}

.cort-rating-detail__medal-wrap .cort-rating__medal {
    width: 60px;
    height: 49.46px;
}

.cort-rating-detail__medal-wrap .cort-rating__medal .cort-rating__medal-num {
    font-size: 32px;
}

.cort-rating-detail__title-group p {
    margin: 0;
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
}

.cort-rating-detail__title-group span {
    display: block;
    margin-top: 6px;
    color: #535250;
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
}

.cort-rating-detail__rows {
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cort-rating-detail__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: flex-start;
    gap: 8px;
}

.cort-rating-detail__row > span {
    color: #535250;
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.cort-rating-detail__row > strong {
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.cort-rating-detail__leader {
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.cort-rating-detail__members {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cort-rating-detail__members-track {
    width: 96px;
    height: 12px;
    border-radius: 6px;
    background: #f3f3f3;
    overflow: hidden;
}

.cort-rating-detail__members-fill {
    display: block;
    height: 12px;
    border-radius: 6px;
    background: #fd6f6c;
}

.cort-rating-detail__member-table {
    padding-top: 8px;
}

.cort-rating-detail__member-head,
.cort-rating-detail__member-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 160px;
    align-items: start;
}

.cort-rating-detail__member-head span {
    padding: 0 16px 4px;
    color: #535250;
    font-family: "Noto Sans", sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
}

.cort-rating-detail__member-row {
    padding: 8px 0;
}

.cort-rating-detail__member-name,
.cort-rating-detail__member-city {
    padding: 0 16px;
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
}

.cort-rating-detail__member-name {
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.cort-rating-detail__footer {
    border-top: 1px solid #e8e7e7;
    padding: 8px 16px 24px;
    background: #f3f3f3;
}

.cort-rating-detail__apply {
    width: 100%;
    height: 40px;
    border-radius: 10px;
    border: 1px solid #a36d05;
    background: linear-gradient(180deg, #ecc406 0%, #cc9902 100%);
    box-shadow: 0 2px 4px -1px rgba(163, 109, 5, 0.5), inset 0 -1px 1.2px 0.4px #a36d05, inset 0 0.5px 1px rgba(255, 255, 255, 0.8);
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}

.cort-rating-detail__apply.is-disabled,
.cort-rating-detail__apply:disabled {
    border-color: rgba(14, 14, 13, 0.1);
    background: linear-gradient(180deg, #e8e7e7 0%, #dcdcda 100%);
    box-shadow: 0 3px 4px -1px rgba(14, 14, 13, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: #8a8985;
}

body.cort-rating-detail-open {
    overflow: hidden;
}

.cort-rating__table {
    margin: 16px -16px 0;
}

.cort-rating__empty {
    margin: 28px 0 0;
    color: #1c1b1b;
    text-align: center;
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.cort-rating__head,
.cort-rating__row {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) 100px 68px;
    align-items: start;
}

.cort-rating__head span {
    padding: 0 16px 4px;
    color: #535250;
    font-family: "Noto Sans", sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
}

.cort-rating__row {
    padding: 0;
    cursor: pointer;
}

.cort-rating__row.is-current {
    background: #cdfffe;
}

.cort-rating__place {
    padding: 8px;
}

.cort-rating__medal {
    position: relative;
    width: 60px;
    height: 49.46px;
    color: #6e6e6a;
    font-family: "Ubuntu Mono", "Noto Sans", sans-serif;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: url("/images/cortege/badge-wreath.svg") no-repeat center bottom / 60px 31.136px;
}

.cort-rating__medal::before,
.cort-rating__medal::after {
    content: "";
    position: absolute;
    left: 8.87px;
    top: 0;
    width: 42.329px;
    height: 42.331px;
    background: url("/images/cortege/badge-ring.svg") no-repeat center/contain;
}

.cort-rating__medal::before {
    content: "";
}

.cort-rating__medal::after {
    content: none;
}

.cort-rating__medal-num {
    position: absolute;
    left: 50%;
    top: 21.5px;
    transform: translate(-50%, -50%);
}

.cort-rating__medal.is-single-number .cort-rating__medal-num {
    font-size: 24px;
}

.cort-rating__medal.is-double-number .cort-rating__medal-num {
    font-size: 22px;
}

.cort-rating__medal.is-large-number .cort-rating__medal-num {
    font-size: 18px;
}

.cort-rating__medal.is-gold {
    background-image: url("/images/cortege/badge-wreath-gold.svg");
}

.cort-rating__medal.is-silver {
    background-image: url("/images/cortege/badge-wreath-silver.svg");
}

.cort-rating__medal.is-bronze {
    background-image: url("/images/cortege/badge-wreath-bronze.svg");
}

.cort-rating__medal.is-gold::before {
    background-image: url("/images/cortege/badge-ring-gold.svg");
}

.cort-rating__medal.is-silver::before {
    background-image: url("/images/cortege/badge-ring-silver.svg");
}

.cort-rating__medal.is-bronze::before {
    background-image: url("/images/cortege/badge-ring-bronze.svg");
}

.cort-rating__medal.is-gold .cort-rating__medal-num {
    background: linear-gradient(180deg, #ecc406 0%, #cc9902 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.cort-rating__medal.is-silver .cort-rating__medal-num {
    color: #a1a19d;
}

.cort-rating__medal.is-bronze .cort-rating__medal-num {
    color: #d17f2b;
}

.cort-rating__name-wrap {
    padding: 8px 16px;
    min-width: 0;
    display: grid;
    gap: 4px;
}

.cort-rating__name {
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    word-break: break-word;
}

.cort-rating__city {
    color: #535250;
    font-family: "Noto Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 14px;
}

.cort-rating__members,
.cort-rating__score {
    padding: 8px 16px;
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
}

.cort-rating__score {
    text-align: right;
}

.cort-baiga {
    margin-top: 8px;
}

.cort-baiga__list {
    margin-left: -8px;
    margin-right: -8px;
    display: grid;
}

.cort-baiga__card {
    border: none;
    background: transparent;
    width: 100%;
    padding: 0 8px 0 8px;
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    text-align: left;
}

.cort-baiga__left {
    width: 62px;
    height: 62px;
    border-radius: 14px;
    background: linear-gradient(180deg, #6bbd6e 0%, #5fad63 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 7px;
    position: relative;
}

.cort-baiga__left-top {
    opacity: 0.6;
    font-family: "Noto Sans", sans-serif;
    font-size: 10px;
    font-weight: 600;
    line-height: 12px;
    text-transform: lowercase;
    margin-bottom: 2px;
}

.cort-baiga__left-value {
    font-family: "Noto Sans", sans-serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 32px;
}

.cort-baiga__left-unit {
    font-family: "Noto Sans", sans-serif;
    font-size: 10px;
    font-weight: 600;
    line-height: 12px;
    margin-top: -1px;
}

.cort-baiga__left-lock {
    position: absolute;
    right: -4px;
    bottom: -4px;
    width: 24px;
    height: 24px;
    border-radius: 12px;
    background: rgba(14, 14, 13, 0.5);
}

.cort-baiga__left-lock::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 11px;
    width: 8px;
    height: 6px;
    border: 1.8px solid #fff;
    border-radius: 2px;
}

.cort-baiga__left-lock::after {
    content: "";
    position: absolute;
    left: 9px;
    top: 5px;
    width: 6px;
    height: 6px;
    border: 1.8px solid #fff;
    border-bottom: none;
    border-radius: 6px 6px 0 0;
}

.cort-baiga__content {
    min-height: 80px;
    border-bottom: 1px solid #e8e7e7;
    padding: 12px 8px 12px 0;
    display: grid;
    align-content: center;
    gap: 4px;
}

.cort-baiga__route {
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cort-baiga__reward-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cort-baiga__reward {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #535250;
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
}

.cort-baiga__coin {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Noto Sans", sans-serif;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    color: #1c1b1b;
}

.cort-baiga__coin.small {
    width: 16px;
    height: 16px;
    font-size: 9px;
}

.cort-baiga__coin.is-respect {
    background: linear-gradient(180deg, #f4ff9c 0%, #96b905 50%, #4b6700 100%);
}

.cort-baiga__coin.is-alaman {
    background: linear-gradient(180deg, #ff9c9c 0%, #b90505 50%, #980202 100%);
    color: #2a0101;
}

.cort-baiga__coin.is-xp {
    border-radius: 4px;
    clip-path: polygon(50% 0, 92% 23%, 92% 77%, 50% 100%, 8% 77%, 8% 23%);
    background: linear-gradient(180deg, #a3f0ff 0%, #57c4ff 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
    color: #fff;
}

.cort-baiga__action {
    min-width: 73px;
    height: 32px;
    border-radius: 16px;
    padding: 0 16px;
    margin-right: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    white-space: nowrap;
}

.cort-baiga__action.is-start,
.cort-baiga__action.is-place {
    min-width: 92px;
    background: linear-gradient(180deg, #e8e7e7 0%, #dcdcda 100%);
    box-shadow: 0 3px 4px -1px rgba(14, 14, 13, 0.3), 0 0 0 1px rgba(14, 14, 13, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.cort-baiga__action.is-start {
    color: #1f6cf1;
}

.cort-baiga__action.is-place {
    color: #1c1b1b;
}

.cort-baiga__action.is-open {
    display: grid;
    justify-items: end;
    align-content: center;
    min-width: 96px;
    height: auto;
    padding: 0;
    color: #1f6cf1;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
}

.cort-baiga__action.is-open span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cort-driver-page__title-row {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.cort-driver-page__badge {
    width: 60px;
    height: 49.46px;
    position: relative;
    flex-shrink: 0;
}

.cort-driver-page__badge-laurel {
    position: absolute;
    left: 0;
    top: 18.32px;
    width: 60px;
    height: 31.136px;
    background: url("/images/cortege/badge-wreath.svg") no-repeat center/contain;
}

.cort-driver-page__badge::before {
    content: "";
    position: absolute;
    left: 8.87px;
    top: 0;
    width: 42.329px;
    height: 42.331px;
    background: url("/images/cortege/badge-ring.svg") no-repeat center/contain;
}

.cort-driver-page__badge-number {
    position: absolute;
    left: 50%;
    top: 21.5px;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6e6e6a;
    font-family: "Ubuntu Mono", "Noto Sans", sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.cort-driver-page__badge-stars {
    display: none;
}

.cort-driver-page__badge.is-gold .cort-driver-page__badge-laurel {
    background-image: url("/images/cortege/badge-wreath-gold.svg");
}

.cort-driver-page__badge.is-gold::before {
    background-image: url("/images/cortege/badge-ring-gold.svg");
}

.cort-driver-page__badge.is-gold .cort-driver-page__badge-number {
    background: linear-gradient(180deg, #ecc406 0%, #cc9902 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.cort-driver-page__badge.is-silver .cort-driver-page__badge-laurel {
    background-image: url("/images/cortege/badge-wreath-silver.svg");
}

.cort-driver-page__badge.is-silver::before {
    background-image: url("/images/cortege/badge-ring-silver.svg");
}

.cort-driver-page__badge.is-silver .cort-driver-page__badge-number {
    color: #a1a19d;
}

.cort-driver-page__badge.is-bronze .cort-driver-page__badge-laurel {
    background-image: url("/images/cortege/badge-wreath-bronze.svg");
}

.cort-driver-page__badge.is-bronze::before {
    background-image: url("/images/cortege/badge-ring-bronze.svg");
}

.cort-driver-page__badge.is-bronze .cort-driver-page__badge-number {
    color: #d17f2b;
}

.cort-driver-page__title-group {
    min-width: 0;
}

.cort-driver-page__title-group h2 {
    margin: 0;
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
}

.cort-driver-page__title-group p {
    margin: 6px 0 0;
    color: #535250;
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
}

.cort-driver-page__rows {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cort-driver-page__row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.cort-driver-page__row > span {
    flex: 1 1 auto;
    color: #535250;
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.cort-driver-page__row > strong {
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-align: right;
}

.cort-driver-page__value-with-icon img {
    width: 16px;
    height: 16px;
}

.cort-driver-page__members {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cort-driver-page__members-track {
    width: 96px;
    height: 12px;
    background: #f3f3f3;
    border-radius: 6px;
    overflow: hidden;
}

.cort-driver-page__members-fill {
    height: 12px;
    background: #ffa132;
    border-radius: 6px;
}

.cort-manage {
    background: #f3f3f3;
    min-height: 100vh;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}

.cort-manage__header {
    position: relative;
    padding: 24px 40px 8px;
}

.cort-manage__header h1 {
    margin: 0;
    color: #1c1b1b;
    text-align: center;
    font-family: "Noto Sans", sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 26px;
}

.cort-manage__close {
    position: absolute;
    right: 8px;
    top: 16px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cort-manage__close img {
    width: 26px;
    height: 26px;
    display: block;
}

.cort-manage__tabs {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 16px;
    overflow-x: auto;
    scrollbar-width: none;
}

.cort-manage__tabs::-webkit-scrollbar {
    display: none;
}

.cort-manage__tab {
    height: 48px;
    border-radius: 22px;
    padding: 8px 24px;
    color: #1c1b1b;
    text-decoration: none;
    white-space: nowrap;
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    display: inline-flex;
    align-items: center;
}

.cort-manage__tab--active {
    border: 1px solid #d0d0ce;
}

.cort-manage__table-head,
.cort-manage__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 88px 66px 108px;
    align-items: start;
}

.cort-manage__table-head > div {
    padding: 4px 16px;
    color: #535250;
    font-family: "Noto Sans", sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
}

.cort-manage__row > div {
    padding-top: 8px;
    padding-bottom: 8px;
}

.cort-manage__cortege {
    padding-left: 16px;
    padding-right: 16px;
}

.cort-manage__cortege-name {
    color: #088296;
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    text-decoration: underline;
}

.cort-manage__cortege-city {
    color: #535250;
    font-family: "Noto Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 14px;
    margin-top: 4px;
}

.cort-manage__date {
    padding-left: 16px;
    padding-right: 16px;
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    white-space: pre-line;
}

.cort-manage__score {
    padding-left: 16px;
    padding-right: 16px;
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    text-align: right;
}

.cort-manage__action {
    padding-left: 2px;
    padding-right: 2px;
    display: flex;
    justify-content: flex-end;
}

.cort-manage__cancel {
    min-height: 32px;
    border: none;
    background: transparent;
    color: #1f6cf1;
    border-radius: 16px;
    padding: 4px 8px;
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
}

.cort-manage__settings {
    padding: 0 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cort-manage__switch-row {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    line-height: 24px;
}

.cort-manage__primary,
.cort-manage__ghost {
    width: 100%;
    height: 40px;
    border-radius: 10px;
    border: none;
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}

.cort-manage__primary {
    background: linear-gradient(180deg, #ecc406 0%, #cc9902 100%);
    box-shadow: 0 2px 4px -1px rgba(163, 109, 5, 0.5), 0 0 0 1px #a36d05, inset 0 -1px 1.2px 0.4px #a36d05, inset 0 0.5px 1px rgba(255, 255, 255, 0.8);
    color: #1c1b1b;
}

.cort-manage__ghost {
    background: linear-gradient(180deg, #e8e7e7 0%, #dcdcda 100%);
    box-shadow: 0 3px 4px -1px rgba(14, 14, 13, 0.3), 0 0 0 1px rgba(14, 14, 13, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: #1c1b1b;
}

.cort-manage__leader-form {
    min-height: calc(100vh - 170px);
    display: flex;
    flex-direction: column;
    padding: 16px 16px 100px;
    position: relative;
}

.cort-manage__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
}

.cort-manage__field > label {
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
}

.cort-manage__field > input,
.cort-manage__select-wrap select,
.cort-manage__readonly {
    width: 100%;
    height: 48px;
    border-radius: 12px;
    border: 1px solid #d0d0ce;
    background: #fff;
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    padding: 8px 24px;
}

.cort-manage__field > input {
    font-size: 16px;
}

.cort-manage__readonly {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cort-manage__select-wrap {
    position: relative;
}

.cort-manage__native-select {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

.cort-manage__select-wrap select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 40px;
    font-size: 16px;
    text-align: left;
    text-align-last: left;
}

.cort-manage__select-wrap select option {
    text-align: left;
}

.cort-manage__chevron {
    position: absolute;
    right: 12px;
    top: 50%;
    width: 20px;
    height: 20px;
    background: url("/images/icons/Dropdown.svg") no-repeat center/contain;
    transform: translateY(-50%);
    pointer-events: none;
}

.cort-manage__select-wrap--custom .cort-manage__chevron {
    display: none;
}

.cort-manage__select-trigger {
    width: 100%;
    height: 48px;
    border: 1px solid #d0d0ce;
    border-radius: 12px;
    background: #fff;
    padding: 0 12px 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    cursor: pointer;
}

.cort-manage__select-trigger img {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
}

.cort-manage__select-wrap.is-open .cort-manage__select-trigger img {
    transform: rotate(180deg);
}

.cort-manage__select-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 50px;
    background: #fff;
    border: 1px solid #e8e7e7;
    border-radius: 16px;
    padding: 4px;
    max-height: 320px;
    overflow: auto;
    display: none;
    z-index: 6;
}

.cort-manage__select-wrap.is-open .cort-manage__select-menu {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.cort-manage__select-option {
    border: none;
    background: transparent;
    min-height: 40px;
    border-radius: 12px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    cursor: pointer;
}

.cort-manage__select-option.is-active {
    background: #f3f3f3;
}

.cort-manage__hint {
    color: #8a8985;
    font-family: "Noto Sans", sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
}

.cort-manage__lang {
    display: inline-flex;
    align-items: center;
    border-radius: 12px;
    border: 1px solid rgba(14, 14, 13, 0.05);
    background: #f3f3f3;
    padding: 2px;
    width: fit-content;
}

.cort-manage__lang label {
    margin: 0;
}

.cort-manage__lang input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cort-manage__lang span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 12px;
    border-radius: 10px;
    color: #8a8985;
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
}

.cort-manage__lang input:checked + span {
    color: #1c1b1b;
    background: linear-gradient(180deg, #fff 0%, #f3f3f3 100%);
    box-shadow: 0 0 2px 1px rgba(14, 14, 13, 0.1);
}

.cort-manage__toggle-row {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 16px 0;
}

.cort-manage__toggle {
    position: relative;
    width: 50px;
    height: 30px;
    flex-shrink: 0;
}

.cort-manage__toggle input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.cort-manage__toggle-track {
    position: absolute;
    inset: 0;
    border-radius: 100px;
    background: rgba(14, 14, 13, 0.1);
}

.cort-manage__toggle-track::after {
    content: "";
    position: absolute;
    left: 2px;
    top: 2px;
    width: 26px;
    height: 26px;
    border-radius: 100px;
    background: #fff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15), 0 3px 1px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease;
}

.cort-manage__toggle input:checked + .cort-manage__toggle-track {
    background: #0e0e0d;
}

.cort-manage__toggle input:checked + .cort-manage__toggle-track::after {
    transform: translateX(20px);
}

.cort-manage__toggle-row > span:last-child {
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.cort-manage__danger-wrap {
    margin-bottom: 8px;
}

.cort-manage__danger,
.cort-manage__ghost-btn,
.cort-manage__save {
    width: 100%;
    height: 40px;
    border-radius: 10px;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}

.cort-manage__danger {
    color: #e53935;
    height:48px;
    background: var(--button-error-bg, #E8E7E7);
}

.cort-manage__bottom-actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    border-top: 1px solid #e8e7e7;
    background: #f3f3f3;
    padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cort-manage__ghost-btn {
    color: #1c1b1b;
    height:48px;
    background: var(--button-secondary-bg, #E8E7E7);
}

.cort-manage__save {
    color: #1c1b1b;
    height:48px;
    background: var(--button-primary-bg, #ECC406);
}

.cort-manage__simple-settings {
    padding: 16px;
}

.cort-manage--modal-open {
    overflow: hidden;
}

.cort-manage__leave-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(14, 14, 13, 0.35);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.cort-manage__leave-modal.is-visible {
    display: flex;
}

.cort-manage__leave-dialog {
    width: min(393px, calc(100vw - 16px));
    background: #f3f3f3;
    border-radius: 24px;
    box-shadow: 0 1px 5px 1px rgba(14, 14, 13, 0.3);
    overflow: hidden;
    padding: 0 8px 24px;
}

.cort-manage__leave-header {
    position: relative;
    padding: 24px 40px 8px;
}

.cort-manage__leave-header h2 {
    margin: 0;
    color: #1c1b1b;
    text-align: center;
    font-family: "Noto Sans", sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 26px;
}

.cort-manage__leave-close {
    position: absolute;
    right: 8px;
    top: 16px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 12px;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.cort-manage__leave-close img {
    width: 26px;
    height: 26px;
    display: block;
}

.cort-manage__leave-body {
    padding: 0 16px;
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.cort-manage__leave-body p {
    margin: 0;
}

.cort-manage__leave-body p + p {
    margin-top: 8px;
}

.cort-manage__leave-actions {
    padding: 8px 16px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cort-manage__danger--modal,
.cort-manage__ghost-btn--modal {
    height: 48px;
    border-radius: 12px;
}

.cort-join-page {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    min-height: 100vh;
    background: #f3f3f3;
    padding: 8px 0 0;
}

.cort-join-page__header {
    padding: 8px 16px 8px;
}

.cort-join-page__header h1 {
    margin: 0;
    color: #1c1b1b;
    font-family: "Noto Sans", sans-serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 32px;
}

.cort-join-page .cort-rating {
    margin-top: 0;
}

.cort-join-page .cort-rating__tools {
    padding: 8px 16px 16px;
}

.cort-join-page .cort-rating__search {
    box-shadow: none;
}

.cort-join-page .cort-rating__table {
    margin: 0;
}

.cort-join-page .cort-rating__head span {
    padding-bottom: 8px;
}

.baiga_coins {
    display: flex;
/*    margin-left: 16px;*/
    gap: 8px;
}

.baiga_coins_item {
    display: flex;
    flex-direction: column; /* Ставим иконку и текст друг под другом */
    align-items: center; /* Центрируем по горизонтали */
    position: relative; /* Для контроля слоев, если понадобится */
}

.baiga_coins_item_images {
    width: 20px;
    height: 20px;
    display: block;
}

.baiga_coins_item span {
    font-family: 'Noto Sans', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 10px;
    color: white;
    /* Оставляем только позиционирование */
    padding: 0;
    margin-top: -4px; /* Подтягиваем текст на иконку */
    z-index: 2;
    white-space: nowrap;
    display: block;
    text-align: center;
}

.drivers_sheet {
    background: #FFFFFF;
    border-radius: 24px 24px 0 0;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    top: calc(100vh - 300px);
    display: flex;
    flex-direction: column;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    transition: top 0.4s cubic-bezier(0.17, 0.84, 0.44, 1);
}

    /* Когда шторка вытянута вверх */
    .drivers_sheet.is_full {
        top: 15vh;
    }

.sheet_content {
    flex: 1; /* Контент занимает ВСЁ доступное пространство внутри шторки */
    overflow-y: auto; /* Внутренняя прокрутка */
    padding: 0 0 100px;
    background: #FFFFFF;
}
    .sheet_content::-webkit-scrollbar {
        display: none;
    }

.sheet_handle_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8px;
    height: 20px;
    width: 100%;
    cursor: pointer;
    background: transparent;
}


.sheet_handle_bar {
    width: 48px;
    height: 4px;
    background: #B7B9C5;
    border-radius: 16px;
    flex: none;
}

.sheet_handle_container:hover .sheet_handle_bar {
    background: #A0A2B0;
}