.w57-topbar {
    container: light-topbar / inline-size;
    --main-color-w: 0, 65, 145;
    --second-color-w: 27, 96, 199;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: inherit;
    color: #172951;
    background: linear-gradient(110deg, #edf3fc 0%, #f8faff 55%, #eef4fc 100%);
    border-bottom: 1px solid #dce6f4;
    box-shadow: 0 3px 14px rgba(16, 52, 103, 0.04);
}
.w57-topbar .w57-topbar__group {
    box-sizing: border-box;
    width: min(1200px, calc(100% - 48px));
    min-height: 52px;
    height: auto;
    margin: 0 auto;
    padding: 6px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 24px;
}
.w57-topbar .w57-topbar__first {
    box-sizing: border-box;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 18px;
}
.w57-topbar .w57-topbar__first__item {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: auto;
    min-width: 0;
    min-height: 38px;
    margin: 0;
    padding: 4px 10px 4px 4px;
    border: 1px solid transparent;
    border-radius: 11px;
    color: rgba(var(--main-color-w), 1);
    background-color: transparent;
    text-decoration: none;
    cursor: pointer;
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.w57-topbar .w57-topbar__first__item__icon {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 0;
    border-radius: 9px;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(var(--main-color-w), 1), rgba(var(--second-color-w), 1));
    box-shadow: 0 3px 7px rgba(0, 65, 145, 0.17);
    font-size: 12px;
    line-height: 1;
}
.w57-topbar .w57-topbar__first__item__text {
    box-sizing: border-box;
    display: block;
    min-width: 0;
    margin: 0;
    padding: 0;
    color: inherit;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.1px;
    overflow-wrap: anywhere;
}
.w57-topbar .w57-topbar__second {
    box-sizing: border-box;
    width: auto;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
}
.w57-topbar .w57-topbar__second__item {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 34px;
    margin: 0;
    padding: 6px;
    border: 1px solid #dce5f2;
    border-radius: 9px;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(16, 52, 103, 0.04);
    text-decoration: none;
    cursor: pointer;
    transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.w57-topbar .w57-topbar__second__item__imgbox {
    box-sizing: border-box;
    display: block;
    position: relative;
    width: 22px;
    height: 15px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 2px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.w57-topbar .w57-topbar__second__item__imgbox__img {
    box-sizing: border-box;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    opacity: 1;
    visibility: visible;
    object-fit: cover;
    border-radius: inherit;
}
@media (hover: hover) and (pointer: fine) {
    .w57-topbar .w57-topbar__first__item:hover {
        color: rgba(var(--second-color-w), 1);
        background-color: #ffffff;
        border-color: #dce6f4;
        box-shadow: 0 4px 12px rgba(0, 65, 145, 0.08);
        transform: translateY(-1px);
    }
    .w57-topbar .w57-topbar__second__item:hover {
        background-color: #f2f7ff;
        border-color: rgba(var(--second-color-w), 0.45);
        box-shadow: 0 5px 12px rgba(0, 65, 145, 0.12);
        transform: translateY(-2px);
    }
}
.w57-topbar .w57-topbar__first__item:focus-visible,
.w57-topbar .w57-topbar__second__item:focus-visible {
    outline: 2px solid rgba(var(--second-color-w), 1);
    outline-offset: 3px;
}
.w57-topbar .w57-topbar__first__item:active,
.w57-topbar .w57-topbar__second__item:active {
    transform: translateY(0);
    background-color: #e7effb;
}
@media (max-width: 900px) {
    .w57-topbar .w57-topbar__group {
        width: calc(100% - 32px);
        column-gap: 16px;
    }
    .w57-topbar .w57-topbar__first { column-gap: 8px; }
}
@media (max-width: 600px) {
    .w57-topbar.w57-topbar .w57-topbar__group {
        width: calc(100% - 24px);
        padding: 7px 0;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }
    .w57-topbar.w57-topbar .w57-topbar__first {
        width: auto;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        margin: 0;
        justify-content: flex-start;
        align-items: center;
        gap: 8px;
    }
    .w57-topbar.w57-topbar .w57-topbar__first__item {
        width: auto;
        min-height: 34px;
        padding: 2px 0;
        gap: 4px;
    }
    .w57-topbar.w57-topbar .w57-topbar__first__item__text {
        font-size: 11px;
        white-space: nowrap;
        overflow-wrap: normal;
        letter-spacing: 0;
    }
    .w57-topbar.w57-topbar .w57-topbar__first__item__icon {
        width: 22px;
        min-width: 22px;
        height: 22px;
        font-size: 10px;
        border-radius: 7px;
    }
    .w57-topbar.w57-topbar .w57-topbar__second {
        width: auto;
        margin: 0 0 0 auto;
        flex-wrap: nowrap;
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        gap: 5px;
    }
    .w57-topbar.w57-topbar .w57-topbar__second__item {
        width: 30px;
        min-width: 30px;
        height: 34px;
        padding: 4px;
        border-radius: 8px;
    }
    .w57-topbar.w57-topbar .w57-topbar__second__item__imgbox {
        width: 20px;
        height: 14px;
    }
}
@media (max-width: 400px) {
    .w57-topbar.w57-topbar .w57-topbar__group {
        width: calc(100% - 16px);
        gap: 6px;
    }
    .w57-topbar.w57-topbar .w57-topbar__first { gap: 7px; }
    .w57-topbar.w57-topbar .w57-topbar__first__item { gap: 0; }
    .w57-topbar.w57-topbar .w57-topbar__first__item__icon { display: none; }
    .w57-topbar.w57-topbar .w57-topbar__first__item__text { font-size: 10px; }
    .w57-topbar.w57-topbar .w57-topbar__second { gap: 4px; }
    .w57-topbar.w57-topbar .w57-topbar__second__item {
        width: 28px;
        min-width: 28px;
        padding: 3px;
    }
}

@container light-topbar (max-width: 600px) {
    .w57-topbar.w57-topbar .w57-topbar__group {
        width: calc(100% - 24px);
        padding: 7px 0;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }
    .w57-topbar.w57-topbar .w57-topbar__first {
        width: auto;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        margin: 0;
        justify-content: flex-start;
        align-items: center;
        gap: 8px;
    }
    .w57-topbar.w57-topbar .w57-topbar__first__item {
        width: auto;
        min-height: 34px;
        padding: 2px 0;
        gap: 4px;
    }
    .w57-topbar.w57-topbar .w57-topbar__first__item__text {
        font-size: 11px;
        white-space: nowrap;
        overflow-wrap: normal;
        letter-spacing: 0;
    }
    .w57-topbar.w57-topbar .w57-topbar__first__item__icon {
        width: 22px;
        min-width: 22px;
        height: 22px;
        font-size: 10px;
        border-radius: 7px;
    }
    .w57-topbar.w57-topbar .w57-topbar__second {
        width: auto;
        margin: 0 0 0 auto;
        flex-wrap: nowrap;
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        gap: 5px;
    }
    .w57-topbar.w57-topbar .w57-topbar__second__item {
        width: 30px;
        min-width: 30px;
        height: 34px;
        padding: 4px;
        border-radius: 8px;
    }
    .w57-topbar.w57-topbar .w57-topbar__second__item__imgbox {
        width: 20px;
        height: 14px;
    }
}
@container light-topbar (max-width: 400px) {
    .w57-topbar.w57-topbar .w57-topbar__group {
        width: calc(100% - 16px);
        gap: 6px;
    }
    .w57-topbar.w57-topbar .w57-topbar__first { gap: 7px; }
    .w57-topbar.w57-topbar .w57-topbar__first__item { gap: 0; }
    .w57-topbar.w57-topbar .w57-topbar__first__item__icon { display: none; }
    .w57-topbar.w57-topbar .w57-topbar__first__item__text { font-size: 10px; }
    .w57-topbar.w57-topbar .w57-topbar__second { gap: 4px; }
    .w57-topbar.w57-topbar .w57-topbar__second__item {
        width: 28px;
        min-width: 28px;
        padding: 3px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .w57-topbar .w57-topbar__first__item,
    .w57-topbar .w57-topbar__second__item {
        transition: none;
        transform: none;
    }
}
