#home {
    width: 100%;
    padding-bottom: 12px;
    overflow-x: clip;
}

.hm {
    --hm-gap: 14px;
    --hm-radius: 18px;
    --hm-ease: cubic-bezier(.22, 1, .36, 1);
    --hm-a1: var(--primary1);
    --hm-a2: var(--primary2);
    --hm-grad: linear-gradient(135deg, var(--primary1), #ff7a45);
    --hm-grad2: linear-gradient(135deg, #009BD7, #5b7cff);
    color: var(--text1);
    padding-bottom: 8px;
}

:where(.hm) a,
:where(.hm) button {
    -webkit-tap-highlight-color: transparent;
    outline: none;
    color: inherit;
    text-decoration: none;
    font-family: inherit;
}

:where(.hm) button {
    border: 0;
    background: none;
    cursor: pointer;
}

.hm a:focus,
.hm button:focus {
    outline: none;
}

.hm a:focus-visible,
.hm button:focus-visible {
    animation: hmGlow 1.1s ease-in-out infinite;
}

:where(.hm) h2,
:where(.hm) h3,
:where(.hm) p {
    margin: 0;
}

:where(.hm) ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hm-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 14px;
}

.hm-sec {
    margin-top: 30px;
}

.hm-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s var(--hm-ease), transform .6s var(--hm-ease);
}

.hm-reveal.in {
    opacity: 1;
    transform: none;
}

@keyframes hmGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 155, 215, .55);
    }
    50% {
        box-shadow: 0 0 0 7px rgba(0, 155, 215, 0);
    }
}

@keyframes hmShimmer {
    0% {
        background-position: -240px 0;
    }
    100% {
        background-position: 240px 0;
    }
}

@keyframes hmRise {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes hmFill {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes hmFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(14px, -16px, 0) scale(1.12);
    }
}

@keyframes hmPop {
    from {
        opacity: 0;
        transform: scale(.88);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes hmSweep {
    from {
        transform: translateX(-120%) skewX(-18deg);
    }
    to {
        transform: translateX(260%) skewX(-18deg);
    }
}

@keyframes hmBar {
    0%, 100% {
        background-position: 0 0;
    }
    50% {
        background-position: 0 100%;
    }
}

.hm-skel,
.hm-skel-b {
    background: linear-gradient(100deg, var(--rgba2) 30%, var(--rgba4) 50%, var(--rgba2) 70%);
    background-size: 480px 100%;
    animation: hmShimmer 1.3s linear infinite;
}

.hm-hero {
    position: relative;
    width: calc(100% - 24px);
    max-width: 1200px;
    margin: 12px auto 0;
    height: 440px;
    border-radius: 22px;
    overflow: hidden;
    isolation: isolate;
    background-color: var(--card);
    box-shadow: 0 10px 30px -12px var(--rgba1);
    touch-action: pan-y;
}

.hm-hero.hm-skel {
    background-color: var(--card);
}

.hm-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease, visibility .8s;
}

.hm-slide.on {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hm-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 20%;
    background-color: #1a1a1a;
    transform: scale(1.12);
    transition: transform 7s ease-out;
}

.hm-slide.on .hm-slide-bg {
    transform: scale(1);
}

.hm-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .55) 42%, rgba(0, 0, 0, .1) 78%),
        linear-gradient(to right, rgba(0, 0, 0, .35), transparent 60%);
}

.hm-slide-link {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.hm-slide-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 34px;
    z-index: 3;
    padding: 0 20px;
    color: #fff;
    pointer-events: none;
}

.hm-slide-body > * {
    opacity: 0;
}

.hm-slide.on .hm-slide-body > * {
    animation: hmRise .7s var(--hm-ease) forwards;
}

.hm-slide.on .hm-slide-body > *:nth-child(2) {
    animation-delay: .08s;
}

.hm-slide.on .hm-slide-body > *:nth-child(3) {
    animation-delay: .16s;
}

.hm-slide.on .hm-slide-body > *:nth-child(4) {
    animation-delay: .24s;
}

.hm-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 10px;
}

.hm-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #fff;
}

.hm-tag-hot {
    background: var(--hm-grad);
}

.hm-slide-title {
    font-size: 24px;
    line-height: 1.25;
    font-weight: 700;
    max-width: 640px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
}

.hm-slide-meta {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .82);
}

.hm-slide-meta i {
    margin-right: 5px;
    opacity: .85;
}

.hm-slide-cta {
    margin-top: 16px;
    pointer-events: auto;
    position: relative;
    z-index: 4;
}

.hm-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 600;
    overflow: hidden;
    transition: transform .25s var(--hm-ease), box-shadow .25s ease, filter .25s ease;
}

.hm-btn i {
    transition: transform .25s var(--hm-ease);
}

.hm-btn::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 40%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent);
    transform: translateX(-120%) skewX(-18deg);
    pointer-events: none;
}

.hm-btn:hover::after {
    animation: hmSweep .8s ease;
}

.hm-btn:hover i {
    transform: translateX(3px);
}

.hm-btn:active {
    transform: scale(.96);
}

.hm-btn-main {
    background: var(--hm-grad);
    color: #fff !important;
    box-shadow: 0 8px 20px -8px rgba(255, 60, 60, .7);
}

.hm-btn-light {
    background: #fff;
    color: #111 !important;
    box-shadow: 0 8px 22px -10px rgba(0, 0, 0, .5);
}

.hm-prog {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 14px;
    z-index: 5;
    display: flex;
    gap: 6px;
}

.hm-seg {
    position: relative;
    flex: 1;
    height: 18px;
    display: flex;
    align-items: center;
}

.hm-seg::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .28);
    transition: height .25s ease;
}

.hm-seg:hover::before {
    height: 6px;
}

.hm-seg i {
    position: relative;
    display: block;
    height: 4px;
    width: 0;
    border-radius: 4px;
    background: #fff;
}

.hm-seg.done i {
    width: 100%;
}

.hm-seg.cur i {
    animation: hmFill var(--hm-dur, 5500ms) linear forwards;
}

.hm-hero.paused .hm-seg.cur i {
    animation-play-state: paused;
}

.hm-nav {
    position: absolute;
    top: 50%;
    z-index: 6;
    width: 42px;
    height: 42px;
    margin-top: -21px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .4);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #fff !important;
    opacity: 0;
    transition: opacity .3s ease, transform .25s var(--hm-ease), background .25s ease;
}

.hm-nav-prev {
    left: 14px;
}

.hm-nav-next {
    right: 14px;
}

.hm-nav:hover {
    background: rgba(0, 0, 0, .65);
    transform: scale(1.1);
}

.hm-hero:hover .hm-nav {
    opacity: 1;
}

.hm-thumbs {
    display: none;
}

.hm-sh {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.hm-sh-bar {
    flex: 0 0 5px;
    align-self: stretch;
    min-height: 38px;
    border-radius: 6px;
    background: linear-gradient(180deg, var(--primary1), var(--primary2), var(--primary1));
    background-size: 100% 220%;
    animation: hmBar 3.2s ease-in-out infinite;
}

.hm-sh-t {
    flex: 1;
    min-width: 0;
}

.hm-sh-t h2 {
    font-size: 18px;
    line-height: 1.25;
    font-weight: 700;
}

.hm-sh-t p {
    margin-top: 2px;
    font-size: 12.5px;
    color: var(--rgba3);
}

.hm-sh-a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    background: var(--rgba2);
    transition: background .25s ease, transform .25s var(--hm-ease), color .25s ease;
    white-space: nowrap;
}

.hm-sh-a i {
    font-size: 11px;
    transition: transform .25s var(--hm-ease);
}

.hm-sh-a:hover {
    background: var(--primary1);
    color: #fff;
}

.hm-sh-a:hover i {
    transform: translateX(4px);
}

.hm-arrows {
    display: none;
    gap: 8px;
}

.hm-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--rgba2);
    transition: background .25s ease, transform .25s var(--hm-ease), color .25s ease;
}

.hm-arrow:hover {
    background: var(--primary2);
    color: #fff;
    transform: scale(1.08);
}

.hm-arrow:active {
    transform: scale(.92);
}

.hm-me {
    position: relative;
    border-radius: var(--hm-radius);
    background: var(--card);
    padding: 18px;
    overflow: hidden;
    box-shadow: 0 6px 22px -14px var(--rgba1);
}

.hm-me-load {
    height: 150px;
}

.hm-me::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary1), var(--primary2), var(--primary1));
    background-size: 200% 100%;
    animation: hmShimmer 4s linear infinite;
}

.hm-me-head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hm-av {
    position: relative;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background-color: var(--rgba2);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--rgba3);
    animation: hmPop .5s var(--hm-ease) both;
}

.hm-me-info {
    flex: 1;
    min-width: 0;
}

.hm-me-hi {
    font-size: 12px;
    color: var(--rgba3);
}

.hm-me-name {
    font-size: 17px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    user-select: none;
    -webkit-user-select: none;
}

.hm-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.hm-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    background: var(--rgba2);
}

.hm-chip-lv {
    background: var(--level-gradient);
    color: #2a1546;
}

.hm-me-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 16px;
}

.hm-mini {
    padding: 12px 8px;
    text-align: center;
    border-radius: 14px;
    background: var(--rgba2);
    animation: hmPop .5s var(--hm-ease) both;
}

.hm-mini:nth-child(2) {
    animation-delay: .07s;
}

.hm-mini:nth-child(3) {
    animation-delay: .14s;
}

.hm-mini b {
    display: block;
    font-size: 17px;
    font-weight: 700;
}

.hm-mini span {
    display: block;
    margin-top: 1px;
    font-size: 11px;
    color: var(--rgba3);
}

.hm-me-sub {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 18px 0 10px;
    font-size: 13.5px;
    font-weight: 700;
}

.hm-me-sub a {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary2);
}

.hm-cont {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    margin: 0 -18px;
    padding: 2px 18px 4px;
}

.hm-cont::-webkit-scrollbar {
    display: none;
}

.hm-cc {
    position: relative;
    flex: 0 0 250px;
    scroll-snap-align: start;
    display: flex;
    gap: 12px;
    padding: 10px;
    border-radius: 14px;
    background: var(--rgba2);
    overflow: hidden;
    transition: transform .3s var(--hm-ease), background .3s ease;
}

.hm-cc:hover {
    transform: translateY(-3px);
    background: var(--rgba4);
}

.hm-cc-cv {
    flex: 0 0 56px;
    height: 78px;
    border-radius: 9px;
    background-color: var(--rgba2);
    background-size: cover;
    background-position: center;
}

.hm-cc-in {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
}

.hm-cc-t {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hm-cc-c {
    font-size: 11.5px;
    color: var(--rgba3);
}

.hm-cc-bar {
    margin-top: 6px;
    height: 4px;
    border-radius: 4px;
    background: var(--rgba2);
    overflow: hidden;
}

.hm-cc-bar i {
    display: block;
    height: 100%;
    border-radius: 4px;
    background: var(--hm-grad2);
    width: 0;
    transition: width 1.1s var(--hm-ease);
}

.hm-me-empty {
    padding: 18px 12px;
    text-align: center;
    font-size: 12.5px;
    color: var(--rgba3);
    border-radius: 14px;
    background: var(--rgba2);
}

.hm-guest {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 22px 18px;
    border-radius: var(--hm-radius);
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #14213d, #243b7a 55%, #009BD7);
}

.hm-guest h2 {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
}

.hm-guest p {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255, 255, 255, .82);
}

.hm-guest-f {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hm-guest-f span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    font-size: 11.5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
}

.hm-guest .hm-btn {
    align-self: flex-start;
}

.hm-cats {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.hm-cat-manga,
.hm-cat-manhwa,
.hm-cat-manhua {
    grid-column: span 2;
}

.hm-cat-ongoing,
.hm-cat-end {
    grid-column: span 3;
}

.hm-cat {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 16px 14px;
    border-radius: 16px;
    background: var(--card);
    overflow: hidden;
    transition: transform .35s var(--hm-ease), box-shadow .35s ease;
}

.hm-cat::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .35s ease;
}

.hm-cat-manga::before {
    background: linear-gradient(135deg, rgba(255, 60, 60, .22), transparent 70%);
}

.hm-cat-manhwa::before {
    background: linear-gradient(135deg, rgba(0, 155, 215, .24), transparent 70%);
}

.hm-cat-manhua::before {
    background: linear-gradient(135deg, rgba(255, 180, 0, .24), transparent 70%);
}

.hm-cat-ongoing::before {
    background: linear-gradient(135deg, rgba(34, 197, 94, .24), transparent 70%);
}

.hm-cat-end::before {
    background: linear-gradient(135deg, rgba(199, 156, 255, .3), transparent 70%);
}

.hm-cat:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 24px -16px var(--rgba1);
}

.hm-cat:hover::before {
    opacity: 1;
}

.hm-cat > * {
    position: relative;
}

.hm-cat-f {
    font-size: 26px;
    line-height: 1.2;
    transition: transform .35s var(--hm-ease);
}

.hm-cat-f i {
    font-size: 22px;
    color: var(--primary2);
}

.hm-cat:hover .hm-cat-f {
    transform: scale(1.18) rotate(-6deg);
}

.hm-cat-n {
    margin-top: 4px;
    font-size: 15px;
    font-weight: 700;
}

.hm-cat-c {
    font-size: 11.5px;
    color: var(--rgba3);
    min-height: 17px;
}

.hm-genres {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 2px 0 4px;
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
    mask-image: linear-gradient(90deg, #000 88%, transparent);
}

.hm-genres::-webkit-scrollbar {
    display: none;
}

.hm-gchip {
    flex: 0 0 auto;
    padding: 8px 15px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 500;
    background: var(--rgba2);
    transition: background .25s ease, color .25s ease, transform .25s var(--hm-ease);
    animation: hmPop .45s var(--hm-ease) both;
}

.hm-gchip:hover {
    background: var(--primary2);
    color: #fff;
    transform: translateY(-2px);
}

.hm-tabs {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    margin-bottom: 14px;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    border-radius: 999px;
    background: var(--rgba2);
}

.hm-tabs::-webkit-scrollbar {
    display: none;
}

.hm-tab {
    flex: 0 0 auto;
    padding: 8px 13px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--rgba3) !important;
    transition: background .3s ease, color .3s ease, transform .25s var(--hm-ease);
}

.hm-tab i {
    margin-right: 5px;
}

.hm-tab:active {
    transform: scale(.95);
}

.hm-tab.on {
    background: var(--hm-grad);
    color: #fff !important;
    box-shadow: 0 6px 14px -8px rgba(255, 60, 60, .8);
}

.hm-pop {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    margin: 0 -14px;
    padding: 4px 14px 10px;
}

.hm-pop::-webkit-scrollbar {
    display: none;
}

.hm-pc {
    position: relative;
    flex: 0 0 142px;
    scroll-snap-align: start;
    display: block;
    animation: hmPop .5s var(--hm-ease) both;
}

.hm-cv {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    border-radius: 14px;
    overflow: hidden;
    background-color: var(--card);
    box-shadow: 0 8px 18px -12px var(--rgba1);
    transition: transform .4s var(--hm-ease), box-shadow .4s ease;
}

.hm-cv img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity .6s ease, transform .6s var(--hm-ease);
}

.hm-cv img.ok {
    opacity: 1;
    transform: scale(1);
}

.hm-cv.noimg::before {
    content: "\f03e";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--rgba1);
}

.hm-cv::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 40%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent);
    transform: translateX(-120%) skewX(-18deg);
    pointer-events: none;
}

.hm-pc:hover .hm-cv,
.hm-nc:hover .hm-cv {
    transform: translateY(-5px);
    box-shadow: 0 16px 26px -14px var(--rgba3);
}

.hm-pc:hover .hm-cv::after,
.hm-nc:hover .hm-cv::after,
.hm-up:hover .hm-cv::after {
    animation: hmSweep .9s ease;
}

.hm-rank {
    position: absolute;
    left: 8px;
    bottom: 6px;
    z-index: 2;
    font-size: 34px;
    line-height: 1;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .7);
}

.hm-cv-s {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .7), transparent 55%);
    z-index: 1;
}

.hm-bd {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    padding: 3px 8px;
    border-radius: 7px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
    color: #fff;
    background: rgba(0, 0, 0, .55);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.hm-bd-manhwa {
    background: rgba(0, 155, 215, .85);
}

.hm-bd-manhua {
    background: rgba(230, 150, 0, .9);
}

.hm-bd-new {
    left: auto;
    right: 8px;
    background: var(--hm-grad);
}

.hm-pc-t,
.hm-nc-t {
    margin-top: 9px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hm-pc-m,
.hm-nc-m {
    margin-top: 3px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    font-size: 11.5px;
    color: var(--rgba3);
}

.hm-st {
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 10.5px;
    font-weight: 600;
    background: var(--rgba2);
    text-transform: capitalize;
}

.hm-st-ongoing {
    background: rgba(34, 197, 94, .16);
    color: #16a34a;
}

.hm-st-end {
    background: rgba(199, 156, 255, .25);
    color: #8b4fe0;
}

.hm-ups {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.hm-up {
    position: relative;
    display: flex;
    gap: 12px;
    padding: 10px;
    border-radius: 16px;
    background: var(--card);
    transition: transform .35s var(--hm-ease), box-shadow .35s ease;
    animation: hmPop .5s var(--hm-ease) both;
}

.hm-up:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 24px -16px var(--rgba3);
}

.hm-up .hm-cv {
    flex: 0 0 84px;
    height: 118px;
    aspect-ratio: auto;
    border-radius: 11px;
}

.hm-up-b {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.hm-up-t {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .25s ease;
}

.hm-up-t:hover {
    color: var(--primary2);
}

.hm-up-tg {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.hm-up-chs {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: auto;
}

.hm-ch {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 9px;
    font-size: 12px;
    background: var(--rgba2);
    transition: background .25s ease, transform .25s var(--hm-ease), color .25s ease;
}

.hm-ch:hover {
    background: var(--primary2);
    color: #fff;
    transform: translateX(3px);
}

.hm-ch b {
    font-weight: 700;
}

.hm-ch em {
    font-style: normal;
    font-size: 9.5px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 5px;
    color: #fff;
    background: var(--hm-grad);
}

.hm-ch em.n {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.hm-ch span {
    margin-left: auto;
    font-size: 11px;
    opacity: .75;
    white-space: nowrap;
}

.hm-prem {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    color: #fff;
    background: linear-gradient(135deg, #0b1330, #1b2b6b 55%, #0a6fb0);
    box-shadow: 0 18px 34px -20px rgba(10, 80, 160, .8);
}

.hm-prem-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    animation: hmFloat 8s ease-in-out infinite;
}

.hm-prem-g1 {
    width: 200px;
    height: 200px;
    right: -50px;
    top: -60px;
    background: rgba(255, 180, 0, .45);
}

.hm-prem-g2 {
    width: 220px;
    height: 220px;
    left: -70px;
    bottom: -90px;
    background: rgba(0, 155, 215, .5);
    animation-delay: -4s;
}

.hm-prem-in {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 24px 20px;
}

.hm-prem-ico {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    color: #3a2600;
    background: linear-gradient(135deg, #ffe08a, #ffb300);
    box-shadow: 0 10px 20px -8px rgba(255, 179, 0, .7);
}

.hm-prem-tx h2 {
    font-size: 21px;
    font-weight: 700;
}

.hm-prem-tx p {
    margin-top: 5px;
    font-size: 13px;
    color: rgba(255, 255, 255, .8);
}

.hm-prem-tx ul {
    margin-top: 14px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.hm-prem-tx li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
}

.hm-prem-tx li i {
    flex: 0 0 26px;
    height: 26px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    background: rgba(255, 255, 255, .14);
    color: #ffd66b;
}

.hm-prem .hm-btn {
    align-self: flex-start;
}

.hm-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 10px;
}

.hm-nc {
    display: block;
    animation: hmPop .5s var(--hm-ease) both;
}

.hm-nc-m {
    flex-wrap: wrap;
}

.hm-lc {
    --lc: #ff4f86;
    position: relative;
    border-radius: var(--hm-radius);
    background: var(--card);
    overflow: hidden;
}

.hm-lc-track {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    outline: none;
}

.hm-lc-track::-webkit-scrollbar {
    display: none;
}

.hm-lc-s {
    position: relative;
    flex: 0 0 100%;
    min-width: 0;
    padding: 18px 14px 30px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    background: radial-gradient(120% 70% at 50% -10%, rgba(255, 190, 40, .2), transparent 70%);
    background: radial-gradient(120% 70% at 50% -10%, color-mix(in srgb, var(--lc) 26%, transparent), transparent 70%);
}

.hm-lc-hd {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hm-lc-ic {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 17px;
    color: #fff;
    background: var(--lc);
    box-shadow: 0 8px 20px -8px var(--lc);
}

.hm-lc-ht {
    flex: 1;
    min-width: 0;
}

.hm-lc-ht h3 {
    font-size: 15px;
    font-weight: 800;
}

.hm-lc-ht p {
    margin-top: 2px;
    font-size: 11.5px;
    color: var(--rgba3);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hm-lc-n {
    flex: none;
    padding: 4px 10px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 700;
    background: var(--rgba2);
}

.hm-lc-pod {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: end;
    gap: 8px;
    max-width: 520px;
    margin: 22px auto 0;
}

.hm-lp {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    text-align: center;
    transition: transform .35s var(--hm-ease);
}

.hm-lp:hover {
    transform: translateY(-5px);
}

.hm-lp-m {
    width: 30px;
    height: 30px;
    margin-bottom: 6px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.hm-lp-1 .hm-lp-m {
    width: 40px;
    height: 40px;
}

.hm-lp-r {
    position: relative;
    padding: 3px;
    border-radius: 50%;
    overflow: hidden;
}

.hm-lp-r::before {
    content: "";
    position: absolute;
    inset: -30%;
    background: conic-gradient(var(--lc), rgba(255, 255, 255, .55), var(--lc), rgba(255, 255, 255, .15), var(--lc));
}

.hm-lp-av,
.hm-lr-av {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--card);
    background-size: cover;
    background-position: center;
    color: var(--rgba3);
    box-shadow: 0 0 0 2px var(--card);
}

.hm-lp-av {
    width: 54px;
    height: 54px;
    font-size: 20px;
}

.hm-lp-1 .hm-lp-av {
    width: 68px;
    height: 68px;
    font-size: 24px;
}

.hm-lp-n {
    margin-top: 9px;
    max-width: 100%;
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    user-select: none;
    -webkit-user-select: none;
}

.hm-lc-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 18px;
    margin-top: 3px;
}

.hm-lc-lv {
    padding: 2px 7px;
    border-radius: 99px;
    font-size: 10px;
    font-weight: 700;
    background: var(--rgba2);
}

.hm-lc-pr {
    font-size: 11px;
    color: #ffb02e;
}

.hm-lp-v {
    margin-top: 3px;
    font-size: 12px;
    font-weight: 800;
    color: var(--lc);
    white-space: nowrap;
}

.hm-lp-b {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 30px;
    margin-top: 10px;
    border-radius: 12px 12px 0 0;
    font-size: 20px;
    font-weight: 800;
    color: rgba(255, 255, 255, .9);
    background: linear-gradient(180deg, var(--lc), rgba(127, 127, 127, .12));
    background: linear-gradient(180deg, color-mix(in srgb, var(--lc) 70%, transparent), color-mix(in srgb, var(--lc) 10%, transparent));
    transform-origin: bottom;
}

.hm-lp-1 .hm-lp-b {
    height: 56px;
    font-size: 26px;
}

.hm-lp-2 .hm-lp-b {
    height: 42px;
}

.hm-lp-void {
    visibility: hidden;
}

.hm-lc-list {
    display: grid;
    gap: 8px;
    margin-top: 16px;
}

.hm-lr {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 9px 12px;
    border-radius: 14px;
    background: var(--rgba2);
    transition: transform .3s var(--hm-ease), background .3s ease;
}

.hm-lr:hover {
    transform: translateX(4px);
}

.hm-lr-k {
    flex: none;
    width: 24px;
    text-align: center;
    font-size: 13px;
    font-weight: 800;
    color: var(--rgba3);
}

.hm-lr-av {
    flex: none;
    width: 38px;
    height: 38px;
    font-size: 15px;
}

.hm-lr-i {
    flex: 1;
    min-width: 0;
}

.hm-lr-n {
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hm-lr-i .hm-lc-meta {
    justify-content: flex-start;
}

.hm-lr-v {
    flex: none;
    font-size: 12.5px;
    font-weight: 800;
    color: var(--lc);
    white-space: nowrap;
}

.hm-lc-s.on .hm-lc-hd {
    animation: hmLcRise .6s var(--hm-ease) backwards;
}

.hm-lc-s.on .hm-lp {
    animation: hmLcRise .75s var(--hm-ease) backwards;
}

.hm-lc-s.on .hm-lp-1 {
    animation-delay: .08s;
}

.hm-lc-s.on .hm-lp-2 {
    animation-delay: .2s;
}

.hm-lc-s.on .hm-lp-3 {
    animation-delay: .32s;
}

.hm-lc-s.on .hm-lp-b {
    animation: hmLcGrow .9s var(--hm-ease) backwards;
    animation-delay: inherit;
}

.hm-lc-s.on .hm-lr {
    animation: hmLcRow .55s var(--hm-ease) backwards;
    animation-delay: var(--d, 0ms);
}

.hm-lc-s.on .hm-lp-r::before {
    animation: hmLcSpin 6s linear infinite;
}

.hm-lc-s.on .hm-lp-1 .hm-lp-r {
    animation: hmLcPulse 2.4s ease-out infinite;
}

.hm-lc-ar {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-top: -19px;
    border-radius: 50%;
    font-size: 13px;
    background: var(--card);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .22);
    transition: transform .25s var(--hm-ease), background .25s ease;
}

.hm-lc-ar:hover {
    transform: scale(1.1);
}

.hm-lc-ar:active {
    transform: scale(.92);
}

.hm-lc-prev {
    left: 10px;
}

.hm-lc-next {
    right: 10px;
}

.hm-lc-bar {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 12px;
    height: 3px;
    border-radius: 3px;
    overflow: hidden;
    background: var(--rgba2);
    opacity: 0;
    transition: opacity .4s ease;
}

.hm-lc.ready .hm-lc-bar {
    opacity: 1;
}

.hm-lc-bar i {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 3px;
    background: var(--lc);
    transform: scaleX(0);
    transform-origin: left;
}

.hm-lc-bar i.run {
    animation: hmLcFill 6500ms linear forwards;
}

.hm-lc.hold .hm-lc-bar i,
.hm-lc.away .hm-lc-bar i {
    animation-play-state: paused;
}

@keyframes hmLcRise {
    from {
        opacity: 0;
        transform: translateY(20px) scale(.94);
    }
}

@keyframes hmLcGrow {
    from {
        opacity: 0;
        transform: scaleY(0);
    }
}

@keyframes hmLcRow {
    from {
        opacity: 0;
        transform: translateX(24px);
    }
}

@keyframes hmLcSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes hmLcPulse {
    from {
        box-shadow: 0 0 0 0 rgba(255, 190, 40, .45);
    }
    to {
        box-shadow: 0 0 0 16px rgba(255, 190, 40, 0);
    }
}

@keyframes hmLcFill {
    to {
        transform: scaleX(1);
    }
}

@media (min-width: 560px) {
    .hm-lc-s {
        padding: 24px 56px 34px;
    }

    .hm-lc-ar {
        display: flex;
    }

    .hm-lc-bar {
        left: 56px;
        right: 56px;
    }

    .hm-lp-av {
        width: 66px;
        height: 66px;
    }

    .hm-lp-1 .hm-lp-av {
        width: 82px;
        height: 82px;
    }
}

@media (min-width: 760px) {
    .hm-lc-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px 14px;
    }
}

.hm-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.hm-step {
    position: relative;
    padding: 18px 14px 16px;
    border-radius: 16px;
    background: var(--card);
    overflow: hidden;
    transition: transform .35s var(--hm-ease);
}

.hm-step:hover {
    transform: translateY(-4px);
}

.hm-step > i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    font-size: 17px;
    color: #fff;
    background: var(--hm-grad2);
    transition: transform .4s var(--hm-ease);
}

.hm-step:hover > i {
    transform: rotate(-8deg) scale(1.1);
}

.hm-step-n {
    position: absolute;
    right: 10px;
    top: 2px;
    font-size: 54px;
    font-weight: 800;
    line-height: 1;
    color: var(--rgba2);
}

.hm-step h3 {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 700;
}

.hm-step p {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--rgba3);
}

.hm-comm {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.hm-cm {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 14px;
    border-radius: 16px;
    background: var(--card);
    overflow: hidden;
    transition: transform .35s var(--hm-ease), box-shadow .35s ease;
}

.hm-cm::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 0;
    background: var(--hm-grad);
    transition: width .45s var(--hm-ease);
}

.hm-cm:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 24px -16px var(--rgba3);
}

.hm-cm:hover::after {
    width: 100%;
}

.hm-cm-i {
    width: 40px;
    height: 40px;
    margin-bottom: 6px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--primary2);
    background: var(--rgba2);
    transition: background .3s ease, color .3s ease, transform .4s var(--hm-ease);
}

.hm-cm:hover .hm-cm-i {
    background: var(--primary2);
    color: #fff;
    transform: scale(1.1) rotate(-6deg);
}

.hm-cm h3 {
    font-size: 14px;
    font-weight: 700;
}

.hm-cm p {
    font-size: 11.8px;
    line-height: 1.5;
    color: var(--rgba3);
}

.hm-cta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 22px 18px;
    border-radius: var(--hm-radius);
    background: var(--card);
    position: relative;
    overflow: hidden;
}

.hm-cta::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--primary1), var(--primary2));
}

.hm-cta h2 {
    font-size: 18px;
    font-weight: 700;
}

.hm-cta p {
    margin-top: 4px;
    font-size: 12.5px;
    color: var(--rgba3);
}

.hm-cta-bt {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hm-soc {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    background: var(--rgba2);
    transition: background .25s ease, color .25s ease, transform .3s var(--hm-ease);
}

.hm-soc:hover {
    background: var(--primary2);
    color: #fff;
    transform: translateY(-3px) rotate(-6deg);
}

.hm-empty {
    grid-column: 1 / -1;
    padding: 26px 14px;
    text-align: center;
    font-size: 13px;
    color: var(--rgba3);
    border-radius: 14px;
    background: var(--rgba2);
}

.hm-sk-card {
    border-radius: 14px;
    aspect-ratio: 3 / 4;
}

.hm-toast {
    position: fixed;
    left: 50%;
    bottom: 26px;
    z-index: 99999;
    max-width: calc(100% - 32px);
    padding: 11px 20px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: rgba(20, 20, 24, .94);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6);
    opacity: 0;
    transform: translate(-50%, 24px);
    pointer-events: none;
    transition: opacity .35s ease, transform .45s var(--hm-ease);
}

.hm-toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

@media (max-width: 559px) {
    .hm-nc .hm-bd:not(.hm-bd-new) {
        display: none;
    }

    .hm-nc .hm-bd-new {
        left: 8px;
        right: auto;
    }
}

@media (min-width: 560px) {
    .hm-tab {
        padding: 8px 18px;
    }

    .hm-new {
        grid-template-columns: repeat(4, 1fr);
    }

    .hm-steps {
        grid-template-columns: repeat(4, 1fr);
    }

    .hm-comm {
        grid-template-columns: repeat(3, 1fr);
    }

    .hm-pc {
        flex-basis: 158px;
    }
}

@media (min-width: 720px) {
    .hm-wrap {
        padding: 0 22px;
    }

    .hm-hero {
        height: 480px;
    }

    .hm-slide-body {
        padding: 0 34px;
        bottom: 40px;
    }

    .hm-slide-title {
        font-size: 32px;
    }

    .hm-prog {
        left: 34px;
        right: 34px;
    }

    .hm-nav {
        display: flex;
    }

    .hm-ups {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .hm-me {
        padding: 24px;
    }

    .hm-cont {
        margin: 0 -24px;
        padding: 2px 24px 4px;
    }

    .hm-guest {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 28px;
    }

    .hm-guest .hm-btn {
        align-self: center;
        flex: 0 0 auto;
    }

    .hm-prem-in {
        flex-direction: row;
        align-items: center;
        padding: 32px;
        gap: 26px;
    }

    .hm-prem-tx {
        flex: 1;
    }

    .hm-prem-tx ul {
        grid-template-columns: repeat(2, 1fr);
    }

    .hm-prem .hm-btn {
        align-self: center;
    }

    .hm-cta {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 26px 30px;
    }

    .hm-arrows {
        display: flex;
    }

    .hm-pop {
        margin: 0 -22px;
        padding: 4px 22px 10px;
    }

}

@media (min-width: 960px) {
    .hm-hero {
        height: 520px;
    }

    .hm-slide-title {
        font-size: 38px;
    }

    .hm-slide-body {
        right: 360px;
    }

    .hm-thumbs {
        position: absolute;
        right: 22px;
        top: 22px;
        bottom: 46px;
        z-index: 6;
        width: 310px;
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 10px;
        border-radius: 18px;
        background: rgba(0, 0, 0, .38);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
        overflow: hidden;
    }

    .hm-th {
        position: relative;
        flex: 1;
        min-height: 0;
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 6px 10px 6px 6px;
        border-radius: 12px;
        text-align: left;
        color: #fff !important;
        background: transparent;
        transition: background .3s ease, transform .3s var(--hm-ease);
    }

    .hm-th:hover {
        background: rgba(255, 255, 255, .1);
        transform: translateX(-3px);
    }

    .hm-th.on {
        background: rgba(255, 255, 255, .18);
    }

    .hm-th::before {
        content: "";
        position: absolute;
        left: 0;
        top: 22%;
        bottom: 22%;
        width: 3px;
        border-radius: 3px;
        background: var(--primary2);
        transform: scaleY(0);
        transition: transform .4s var(--hm-ease);
    }

    .hm-th.on::before {
        transform: scaleY(1);
    }

    .hm-th-c {
        flex: 0 0 auto;
        height: 100%;
        max-height: 62px;
        aspect-ratio: 3 / 4;
        border-radius: 8px;
        background-size: cover;
        background-position: center;
        background-color: #222;
    }

    .hm-th-t {
        flex: 1;
        min-width: 0;
        font-size: 12.5px;
        font-weight: 600;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hm-ups {
        grid-template-columns: repeat(3, 1fr);
    }

    .hm-new {
        grid-template-columns: repeat(6, 1fr);
    }

    .hm-comm {
        grid-template-columns: repeat(4, 1fr);
    }

    .hm-cats {
        grid-template-columns: repeat(5, 1fr);
    }

    .hm-cat-manga,
    .hm-cat-manhwa,
    .hm-cat-manhua,
    .hm-cat-ongoing,
    .hm-cat-end {
        grid-column: auto;
    }

    .hm-pc {
        flex-basis: 176px;
    }

    .hm-sh-t h2 {
        font-size: 21px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hm *,
    .hm *::before,
    .hm *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .hm-reveal {
        opacity: 1;
        transform: none;
    }
}
