.another-kids {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    -webkit-user-select: none;
    user-select: none;
}

.another-kids img {
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}

#help_another_kid {
    display: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

#help_another_kid.is-open {
    display: block !important;
}

.kid_container > .kid-main {
    min-width: 0;
    max-width: 100%;
}

@media (min-width: 1280px) {
    .kid_container > .kid-main {
        flex: 1 1 0 !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: calc(100% - 489px) !important;
    }

    .kid_container > .kid-side {
        flex: 0 0 449px !important;
        width: 449px !important;
        max-width: 449px !important;
    }
}

.another-kids__title {
    width: 100%;
    margin: 0 0 12px;
    padding: 10px 16px;
    border-radius: 8px;
    background: #dc2626;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.3;
    text-align: center;
    box-sizing: border-box;
}

.another-kids__title--bottom {
    margin: 12px 0 0;
}

.another-kids__stage {
    position: relative;
}

.another-kids__arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
    transform: translateY(-50%);
    cursor: pointer;
}

.another-kids__arrow[hidden] {
    display: none !important;
}

.another-kids__arrow--prev {
    left: 6px;
}

.another-kids__arrow--next {
    right: 6px;
}

.another-kids__arrow svg {
    display: block;
    width: 18px;
    height: 18px;
}

.another-kids__rail {
    display: flex;
    gap: 12px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 2px;
    scrollbar-width: none;
    cursor: grab;
}

.another-kids__rail.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none;
}

.another-kids__rail::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.another-kids__slot,
.another-kids__tile--all {
    flex: 0 0 147px;
    width: 147px;
    height: 133px;
    scroll-snap-align: start;
}

.another-kids__slot {
    position: relative;
    animation: anotherKidsIn .35s ease;
}

.another-kids__check {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.another-kids__tile {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 133px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 2px solid #ff5a00;
    border-radius: 12px;
    background: #fff;
    color: #111827;
    cursor: pointer;
    box-sizing: border-box;
    transition: background-color .28s ease, color .28s ease, border-color .28s ease;
}

button.another-kids__tile {
    background-color: #fff;
    color: #111827;
}

.another-kids__check:checked + .another-kids__tile,
button.another-kids__tile.is-on {
    background-color: #ff5a00 !important;
    border-color: #ff5a00 !important;
    color: #fff !important;
}

.another-kids__photo {
    display: block;
    width: 100%;
    height: 78px;
    object-fit: cover;
    background: #f3f4f6;
    flex: none;
}

.another-kids__caption {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-height: 0;
    padding: 4px 8px 6px;
    text-align: center;
}

.another-kids__name {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.another-kids__sum {
    font-size: 13px;
    line-height: 1.2;
}

.another-kids__tile--all {
    position: relative;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    overflow: hidden;
    background-color: #ff5a00 !important;
    border-color: #ff5a00 !important;
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    isolation: isolate;
}

.another-kids__tile--all::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 16% 20%, rgba(255, 255, 255, 0.42) 0 22%, transparent 46%),
        radial-gradient(circle at 84% 16%, rgba(255, 186, 92, 0.7) 0 18%, transparent 42%),
        radial-gradient(circle at 78% 82%, rgba(160, 32, 0, 0.55) 0 26%, transparent 52%),
        radial-gradient(circle at 28% 78%, rgba(255, 255, 255, 0.22) 0 24%, transparent 50%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 42%, rgba(120, 24, 0, 0.18));
}

.another-kids__tile--all > * {
    position: relative;
    z-index: 1;
}

.another-kids__plus {
    display: block;
    width: 28px;
    height: 28px;
    flex: none;
}

.another-kids__sentinel {
    flex: 0 0 1px;
    width: 1px;
    height: 1px;
}

@keyframes anotherKidsIn {
    from {
        opacity: 0;
        transform: translateX(24px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (min-width: 768px) {
    .another-kids__slot,
    .another-kids__tile,
    .another-kids__tile--all {
        flex-basis: 213px;
        width: 213px;
        height: 160px;
    }

    .another-kids__photo {
        height: 96px;
    }

    .another-kids__title {
        font-size: 16px;
    }

    .another-kids__name {
        font-size: 16px;
    }

    .another-kids__sum {
        font-size: 14px;
    }

    .another-kids__tile--all {
        font-size: 17px;
    }

    .another-kids__plus {
        width: 35px;
        height: 35px;
    }
}
