.ng-home-adult-random{
    display:flex;
    align-items:center;
    gap:10px;
    min-width:0;
    margin:0 0 14px;
    padding:10px 0 12px;
    border-bottom:1px solid #ececef;
}

.ng-home-adult-random__label{
    display:inline-flex;
    flex:0 0 auto;
    width:40px;
    height:40px;
    align-items:center;
    justify-content:center;
    color:var(--ng-accent,#e6005c);
    text-decoration:none;
    -webkit-tap-highlight-color:transparent;
}

.ng-home-adult-random__label:focus-visible,
.ng-home-adult-random__label:hover{
    color:var(--ng-accent,#e6005c);
    outline:none;
}

.ng-home-adult-random__book{
    width:27px;
    height:27px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.9;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.ng-home-adult-random__scroll{
    display:flex;
    min-width:0;
    flex:1 1 auto;
    align-items:center;
    gap:8px;
    overflow-x:auto;
    overscroll-behavior-x:contain;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
}

.ng-home-adult-random__scroll::-webkit-scrollbar{
    display:none;
}

.ng-home-adult-random__item{
    display:inline-flex;
    flex:0 0 auto;
    max-width:min(72vw,310px);
    min-height:38px;
    align-items:center;
    padding:5px 12px;
    overflow:hidden;
    border:1px solid #dddddf;
    border-radius:7px;
    background:#fff;
    color:#171717;
    font-size:.94rem;
    font-weight:800;
    line-height:1.15;
    text-decoration:none;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.ng-home-adult-random__item:focus-visible,
.ng-home-adult-random__item:hover{
    border-color:var(--ng-accent,#e6005c);
    color:var(--ng-accent,#e6005c);
    outline:none;
}

@media(max-width:390px){
    .ng-home-adult-random{
        gap:8px;
        margin-bottom:12px;
    }

    .ng-home-adult-random__item{
        max-width:76vw;
        min-height:36px;
        padding:5px 11px;
        font-size:.9rem;
    }
}


/* Random Adult strip inserted after each two-card homepage row. */
.ng-story-grid > .ng-home-adult-random--grid{
    grid-column:1 / -1;
    width:100%;
    min-width:0;
    margin:2px 0 6px;
    padding:7px 0 10px;
}

.ng-story-grid > .ng-home-adult-random--grid .ng-home-adult-random__label{
    width:40px;
    height:38px;
}

.ng-story-grid > .ng-home-adult-random--grid .ng-home-adult-random__item{
    min-height:38px;
}

@media(max-width:390px){
    .ng-story-grid > .ng-home-adult-random--grid{
        margin:0 0 5px;
        padding:6px 0 9px;
    }
}
