.last-update .home-row-layout {
    --row-accent: #b797ff;
    --row-rgb: 167, 119, 255;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 16px;
    width: 97%;
    box-sizing: border-box;
    border: 1px solid rgba(var(--row-rgb), .18);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(var(--row-rgb), .01), rgba(var(--row-rgb), .02));
}
.last-update .home-row-heading {
    flex: 0 0 210px;
    min-height: 200px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    padding: 4px 0 0;
    text-align: right;
}
.last-update.chinese-update .home-row-layout {
    --row-accent: #4cdeb2;
    --row-rgb: 52, 211, 153;
}
.home-row-heading__eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--row-accent);
    font-size: 11px;
    font-weight: 600;
}
.home-row-heading__icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(var(--row-rgb), .12);
    font-size: 14px;
}
.home-row-heading .home-row-heading__title {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin: 14px 0 12px;
    padding: 4px 14px 6px 0;
    color: #f4f4f8;
    font-family: 'IRANYekanX', 'Vazirmatn', sans-serif;
    overflow: hidden;
}
.home-row-heading__title::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 6px;
    bottom: 6px;
    width: 2px;
    border-radius: 2px;
    background: linear-gradient(180deg, transparent, var(--row-accent) 35%, rgba(var(--row-rgb), .15) 80%, transparent);
}
.home-row-heading__title::after {
    position: absolute;
    z-index: -1;
    inset-inline-end: -18px;
    top: 12px;
    width: 86px;
    height: 86px;
    border: 1px solid rgba(var(--row-rgb), .13);
    border-radius: 50%;
    box-shadow: 0 0 0 9px rgba(var(--row-rgb), .025), 0 0 0 19px rgba(var(--row-rgb), .018);
}
.home-row-heading__title .home-row-heading__kicker {
    display: block;
    color: #c4c4d0;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.8;
}
.home-row-heading__title .home-row-heading__category {
    display: block;
    width: fit-content;
    max-width: 100%;
    color: var(--row-accent);
    background: linear-gradient(110deg, var(--row-accent) 25%, #e4d5ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 25px;
    font-weight: 900;
    line-height: 1.4;
}
.chinese-update .home-row-heading__category {
    background-image: linear-gradient(110deg, var(--row-accent) 25%, #b5ffec);
}
.home-row-heading__title .home-row-heading__signature {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 2px;
    color: var(--row-accent);
    font-size: 10px;
    font-weight: 500;
    line-height: 1.8;
}
.home-row-heading__signature::before {
    content: '';
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--row-accent));
}
.home-row-heading .home-row-heading__description {
    margin: 0 0 18px;
    color: #a8abb7;
    font-size: 11px;
    line-height: 1.95;
}
.home-row-heading__controls { display: flex; align-items: center; gap: 6px; margin-top: auto; }
.home-row-heading__controls button, .home-row-heading__controls .home-row-heading__all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    box-sizing: border-box;
    border: 1px solid rgba(var(--row-rgb), .2);
    border-radius: 9px;
    background: rgba(var(--row-rgb), .08);
    color: var(--row-accent);
    font: inherit;
    font-size: 11px;
    cursor: pointer;
    transition: background .18s, border-color .18s;
}
.home-row-heading__controls button { flex: 0 0 30px; padding: 0; }
.home-row-heading__controls .home-row-heading__all { flex: 1; gap: 6px; font-weight: 700; white-space: nowrap; text-decoration: none; }
.home-row-heading__controls button:not(:disabled):hover, .home-row-heading__controls .home-row-heading__all:hover {
    background: rgba(var(--row-rgb), .2);
    border-color: rgba(var(--row-rgb), .5);
}
.home-row-heading__controls button:disabled { opacity: .3; cursor: default; }
.home-row-heading__controls button:focus-visible, .home-row-heading__all:focus-visible { outline: 2px solid var(--row-accent); outline-offset: 3px; }
.last-update .home-row-carousel { flex: 1; min-width: 0; }
.last-update .home-row-carousel .embla { padding: 0; }
.day .home-row-layout { --row-accent: #7149ba; }
.day .chinese-update .home-row-layout { --row-accent: #087d61; }
.day .home-row-heading__title .home-row-heading__kicker { color: #596174; }
.day .home-row-heading__category { background-image: linear-gradient(110deg, var(--row-accent), #5e43a1); }
.day .chinese-update .home-row-heading__category { background-image: linear-gradient(110deg, var(--row-accent), #046348); }
.day .home-row-heading .home-row-heading__description { color: #667085; }
@media (max-width: 760px) {
    .last-update .home-row-layout { flex-direction: column; align-items: stretch; gap: 14px; }
    .last-update .home-row-heading { flex: auto; min-height: 0; padding: 0; }
    .home-row-heading .home-row-heading__title {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: baseline;
        column-gap: 8px;
        row-gap: 2px;
        margin: 10px 0;
    }
    .home-row-heading__title .home-row-heading__category { font-size: 27px; }
    .home-row-heading__title .home-row-heading__signature { flex-basis: 100%; }
    .home-row-heading__title::after { top: -12px; }
    .home-row-heading__controls { max-width: 230px; }
}
@media (prefers-reduced-motion: reduce) {
    .home-row-heading__controls button, .home-row-heading__controls .home-row-heading__all { transition: none; }
}

/* Slightly larger covers in both the anime and Chinese drama rows. */
.last-update .home-row-carousel .landing-most-popular-card-wrapper {
    flex-basis: 180px;
    width: 180px;
}
.last-update .home-row-carousel .landing-most-popular-card {
    height: auto;
}
.last-update .home-row-carousel .landing-most-popular-card .card-img-clippath-wrapper .episode-card-img {
    width: 100%;
    height: 236px;
}
