/* AniHoshi — home page */

/* hero (Swiper 5 via main.js Hotest) */
.hs-hero { position: relative; border-radius: 10px; overflow: hidden; background: var(--hs-bg-2); }
.hs-hero .swiper-container { height: 470px; }
.hs-slide { position: relative; height: 100%; overflow: hidden; }
.hs-slide .bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; transform: scale(1.02); }
.hs-slide .shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 22, 34, 0.95) 0%, rgba(11, 22, 34, 0.78) 34%, rgba(11, 22, 34, 0.1) 70%), linear-gradient(0deg, rgba(11, 22, 34, 0.75) 0%, rgba(11, 22, 34, 0) 38%); }
.hs-slide .in { position: relative; z-index: 2; height: 100%; max-width: 680px; padding: 0 80px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.hs-slide .kick { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hs-ac); }
.hs-slide .t { font-size: 58px; line-height: 1; letter-spacing: 0.01em; text-transform: uppercase; color: #fff; }
.hs-slide .j { font-size: 20px; font-weight: 600; color: var(--hs-tx-2); }
.hs-slide .m { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 14px; font-weight: 600; color: #B6C6D8; }
.hs-slide .d { margin: 2px 0 0; max-width: 480px; font-size: 15px; line-height: 1.6; color: #A9BACD; }
.hs-slide .b { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hs-slide .b .hs-btn { height: 48px; }
.hs-hero .swiper-pagination { position: absolute; left: 80px !important; bottom: 26px !important; width: auto !important; z-index: 5; display: flex; gap: 6px; text-align: left; }
.hs-hero .swiper-pagination-bullet { width: 8px; height: 5px; margin: 0 !important; border-radius: 4px; background: rgba(255, 255, 255, 0.35); opacity: 1; transition: width 0.2s, background 0.2s; }
.hs-hero .swiper-pagination-bullet-active { width: 26px; background: var(--hs-ac); }

/* community pinned strip (built by notifications-bell.js) */
.hs .cpin:empty { display: none; }
.hs .cpin { margin-top: 22px; }

/* latest */
.hs-paging { display: inline-flex; gap: 6px; margin-left: auto; }
.hs-paging > span { width: 34px; height: 34px; border-radius: 6px; border: 1px solid var(--hs-line); background: var(--hs-field); color: var(--hs-tx-2); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.hs-paging > span:hover { border-color: var(--hs-ac); color: var(--hs-tx); }
.hs-paging > span.disabled { opacity: 0.35; pointer-events: none; }
#recent-update .body.loading { min-height: 300px; }

/* continue watching */
.hs-cw { gap: 18px; }
.hs-cwc { position: relative; min-width: 0; }
.hs-cwc .fr { position: relative; display: block; aspect-ratio: 16 / 8; border-radius: 8px; overflow: hidden; background: var(--hs-field); }
.hs-cwc .fr img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.hs-cwc .fr::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 22, 34, 0.88) 0%, rgba(11, 22, 34, 0) 60%); }
.hs-cwc:hover .fr img { transform: scale(1.05); }
.hs-cwc:hover .fr { box-shadow: 0 0 0 2px var(--hs-ac); }
.hs-cwc .pb { position: absolute; z-index: 2; left: 12px; top: 12px; width: 38px; height: 38px; border-radius: 50%; background: rgba(11, 22, 34, 0.6); border: 1.5px solid rgba(255, 255, 255, 0.7); display: flex; align-items: center; justify-content: center; }
.hs-cwc .tx { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 10px; display: flex; flex-direction: column; gap: 6px; }
.hs-cwc .r1 { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.hs-cwc .t { display: block; font-size: 14.5px; font-weight: 800; color: #fff; }
.hs-cwc .m { display: block; font-size: 12px; color: #B6C6D8; }
.hs-cwc .pc { font-size: 12px; font-weight: 800; color: var(--hs-ac); }
.hs-cwc .bar { display: block; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.2); overflow: hidden; }
.hs-cwc .bar span { display: block; height: 4px; border-radius: 4px; background: var(--hs-ac); }
.hs-cw-x { position: absolute; z-index: 3; right: 10px; top: 10px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(11, 22, 34, 0.75); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; transition: opacity 0.2s; }
.hs-cwc:hover .hs-cw-x, .hs-cw-x:focus-visible { opacity: 1; }
@media (hover: none) { .hs-cw-x { opacity: 1; } }

/* trending */
.hs-trend { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.hs-tcard { display: flex; height: 104px; min-width: 0; }
.hs-tcard .rk { width: 62px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 40px; color: transparent; -webkit-text-stroke: 1.5px #B6C6D8; }
.hs-tcard .fr { position: relative; flex: 1; min-width: 0; border-radius: 8px; overflow: hidden; background: var(--hs-field); transition: box-shadow 0.2s; }
.hs-tcard .fr img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform 0.3s ease; }
.hs-tcard .fr::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 22, 34, 0.92) 0%, rgba(11, 22, 34, 0.25) 100%); }
.hs-tcard:hover .fr { box-shadow: 0 0 0 2px var(--hs-ac); }
.hs-tcard:hover .fr img { transform: scale(1.06); }
.hs-tcard .tx { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 12px; display: flex; flex-direction: column; gap: 2px; }
.hs-tcard .t { font-size: 15px; font-weight: 800; color: #fff; }
.hs-tcard:hover .t { color: var(--hs-ac); }
.hs-tcard .m { display: flex; gap: 8px; font-size: 12.5px; color: #8097B2; font-weight: 600; }

/* genres */
.hs-chips { display: flex; flex-wrap: wrap; gap: 10px; }

/* two / three column panels */
.hs-two { margin-top: 38px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 22px; align-items: stretch; }
.hs-three { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3.6fr) minmax(0, 3.4fr); gap: 22px; align-items: stretch; }
.hs-pop { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: column; grid-template-rows: repeat(3, auto); gap: 4px 14px; }
.hs-row .th.wide { width: 72px; height: 48px; }
.hs-disc .hs-grid { gap: 16px 14px; }
.hs-disc .hs-card .ttl { font-size: 13.5px; }

/* schedule (ajax partial) */
.hs-sched-now { margin-left: auto; font-size: 12.5px; font-weight: 700; color: var(--hs-tx-4); }
.hs-sched-now .timenow { color: var(--hs-ac); font-variant-numeric: tabular-nums; }
.hs-sched-days { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.hs-sched-days .swiper-container { flex: 1; min-width: 0; overflow: hidden; }
.hs-sched-days .day { width: 58px !important; }
.hs-sched-days .inner { width: 58px; height: 58px; border-radius: 8px; border: 1px solid var(--hs-line); background: var(--hs-field); color: #B6C6D8; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; }
.hs-sched-days .inner .wd { font-size: 11.5px; font-weight: 700; opacity: 0.8; }
.hs-sched-days .inner .dt { font-size: 15px; font-weight: 800; line-height: 1.1; }
.hs-sched-days .day.active .inner { background: rgba(38, 163, 214, 0.12); border-color: var(--hs-ac); color: var(--hs-tx); }
.hs-sched-nav { width: 30px; height: 58px; flex-shrink: 0; border-radius: 6px; border: 1px solid var(--hs-line); background: var(--hs-field); color: var(--hs-tx-3); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.hs-sched-nav:hover { border-color: var(--hs-ac); color: var(--hs-tx); }
.hs-sched-nav.swiper-button-disabled { opacity: 0.35; }
.hs-sched-list { display: flex; flex-direction: column; gap: 2px; max-height: 250px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--hs-line-2) transparent; }
.hs-sched-row { display: flex; align-items: center; gap: 12px; padding: 9px 8px; border-radius: 6px; }
.hs-sched-row:hover { background: var(--hs-hover); }
.hs-sched-row .tm { width: 46px; flex-shrink: 0; font-size: 13px; font-weight: 800; color: var(--hs-ac); font-variant-numeric: tabular-nums; }
.hs-sched-row.old .tm { color: #B6C6D8; }
.hs-sched-row .tt { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 700; color: var(--hs-tx); }
.hs-sched-row.old .tt { color: var(--hs-tx-3); }

/* watch together card */
.hs-w2g { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; background: var(--hs-bg-3); border-color: var(--hs-line-ac); }
.hs-w2g p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--hs-tx-3); }
.hs-w2g-ring { position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; border: 22px solid rgba(38, 163, 214, 0.12); }
.hs-w2g-ic { width: 44px; height: 44px; border-radius: 8px; background: var(--hs-ac-soft); color: var(--hs-ac); display: flex; align-items: center; justify-content: center; }
.hs-w2g-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 8px; }

@media (max-width: 1150px) {
    .hs-two, .hs-three { grid-template-columns: 1fr; }
    .hs-trend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .hs-hero { border-radius: 10px; margin-left: -4px; margin-right: -4px; }
    .hs-hero .swiper-container { height: 440px; }
    .hs-slide .shade { background: linear-gradient(0deg, var(--hs-bg) 0%, rgba(11, 22, 34, 0.85) 45%, rgba(11, 22, 34, 0.15) 80%); }
    .hs-slide .in { justify-content: flex-end; padding: 0 18px 46px; gap: 8px; }
    .hs-slide .t { font-size: 34px; }
    .hs-slide .j { font-size: 15px; }
    .hs-slide .d { display: none; }
    .hs-slide .b .hs-btn { height: 44px; flex: 1; }
    .hs-slide .b .favourite { flex: 1; }
    .hs-slide .b .favourite .hs-btn { width: 100%; }
    .hs-hero .swiper-pagination { left: 18px !important; bottom: 18px !important; }
    .hs-trend { grid-template-columns: 1fr; }
    .hs-pop { grid-template-columns: 1fr; grid-auto-flow: row; grid-template-rows: none; }
    .hs-cw { grid-template-columns: 1fr !important; }
    #recent-update .hs-seg { order: 3; width: 100%; overflow-x: auto; }
}

/* hero title logo (TMDB) */
.hs-slide .t.has-logo { margin: 4px 0; }
.hs-tlogo { display: block; max-width: min(420px, 100%); max-height: 140px; width: auto; height: auto; object-fit: contain; object-position: left center; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.55)); }

/* genres: one scrolling line */
.hs-gnav { margin-left: auto; display: inline-flex; gap: 6px; }
.hs-gbtn { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--hs-line); background: var(--hs-field); color: var(--hs-tx-2); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.hs-gbtn:hover { border-color: var(--hs-ac); color: var(--hs-tx); }
.hs-gwrap { position: relative; }
.hs-gwrap::before, .hs-gwrap::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40px; z-index: 2; pointer-events: none; }
.hs-gwrap::before { left: 0; background: linear-gradient(90deg, var(--hs-bg), rgba(11, 22, 34, 0)); }
.hs-gwrap::after { right: 0; background: linear-gradient(270deg, var(--hs-bg), rgba(11, 22, 34, 0)); }
.hs-genres { display: flex; gap: 10px; overflow-x: auto; scroll-behavior: smooth; padding: 4px 2px 6px; scroll-snap-type: x proximity; }
.hs-genre { --g: var(--hs-ac); flex-shrink: 0; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 16px 0 12px; border-radius: 10px; background: color-mix(in srgb, var(--g) 10%, var(--hs-field)); border: 1px solid color-mix(in srgb, var(--g) 28%, transparent); color: var(--hs-tx-2) !important; font-size: 13.5px; font-weight: 700; white-space: nowrap; transition: transform 0.15s, background 0.15s, border-color 0.15s; }
.hs-genre .dot { width: 22px; height: 22px; border-radius: 7px; background: color-mix(in srgb, var(--g) 28%, transparent); position: relative; }
.hs-genre .dot::after { content: ""; position: absolute; inset: 7px; border-radius: 3px; background: var(--g); }
.hs-genre:hover { transform: translateY(-2px); background: color-mix(in srgb, var(--g) 18%, var(--hs-field)); border-color: var(--g); color: #fff !important; }

/* schedule + watch together */
.hs-duo { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 22px; align-items: stretch; }
.hs-sched-panel .hs-sched-list { max-height: 300px; }
.hs-w2g { position: relative; overflow: hidden; display: grid; grid-template-columns: 200px minmax(0, 1fr); background: var(--hs-bg-3); border-color: var(--hs-line-ac); }
.hs-w2g-art { position: relative; background: linear-gradient(160deg, #12324A 0%, #0D1E30 100%); border-right: 1px solid var(--hs-line-ac); }
.hs-w2g-art .scr { position: absolute; left: 22px; right: 22px; top: 36px; height: 92px; border-radius: 8px; background: #1A2550; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); }
.hs-w2g-art .scr::before { content: ""; position: absolute; width: 60px; height: 60px; border-radius: 50%; right: 18px; top: 8px; background: #9FC1FF; opacity: 0.8; }
.hs-w2g-art .scr::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 50%; background: #111A3A; clip-path: polygon(0 45%, 18% 15%, 36% 40%, 58% 5%, 80% 35%, 100% 12%, 100% 100%, 0 100%); }
.hs-w2g-art .pl { position: absolute; z-index: 2; left: 50%; top: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; background: var(--hs-ac-fill); color: var(--hs-ink); display: flex; align-items: center; justify-content: center; padding-left: 2px; }
.hs-w2g-art .bar { position: absolute; z-index: 2; left: 8px; right: 8px; bottom: 7px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.25); }
.hs-w2g-art .bar i { display: block; width: 46%; height: 100%; border-radius: 2px; background: var(--hs-ac); }
.hs-w2g-art .av { position: absolute; bottom: 44px; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--hs-bg-3); display: flex; align-items: center; justify-content: center; font: 800 12px var(--hs-f-head); color: var(--hs-ink); }
.hs-w2g-art .a1 { left: 26px; background: #8FD3F0; }
.hs-w2g-art .a2 { left: 52px; background: #F5B451; }
.hs-w2g-art .a3 { left: 78px; background: #FFB3D1; }
.hs-w2g-art .a4 { left: 104px; background: var(--hs-raise); color: var(--hs-tx-2); font-size: 11px; }
.hs-w2g-art .bub { position: absolute; padding: 5px 9px; border-radius: 8px 8px 8px 2px; background: var(--hs-field); border: 1px solid var(--hs-line-2); font-size: 11px; font-weight: 700; color: var(--hs-tx-2); white-space: nowrap; }
.hs-w2g-art .b1 { left: 16px; top: 140px; }
.hs-w2g-art .b2 { right: 14px; top: 10px; border-radius: 8px 8px 2px 8px; }
.hs-w2g-body { position: relative; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.hs-w2g-live { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hs-ac); }
.hs-w2g-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--hs-hot); box-shadow: 0 0 0 4px rgba(255, 122, 107, 0.18); animation: hs-pulse 1.6s ease-in-out infinite; }
.hs-w2g-body p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--hs-tx-3); }
.hs-w2g-feat { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.hs-w2g-feat li { height: 26px; padding: 0 10px; border-radius: 6px; background: var(--hs-ac-soft); color: var(--hs-ac-tx); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; }
.hs-w2g-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 8px; }

@media (max-width: 1150px) { .hs-duo { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
    .hs-w2g { grid-template-columns: 1fr; }
    .hs-w2g-art { height: 190px; border-right: 0; border-bottom: 1px solid var(--hs-line-ac); }
    .hs-w2g-art .scr { left: 50%; right: auto; width: 200px; margin-left: -100px; }
    .hs-gnav { display: none; }
    .hs-tlogo { max-height: 90px; max-width: 70%; }
}
.hs-two > *, .hs-duo > *, .hs-wl > *, .hs-wbottom > * { min-width: 0; }
.hs-genre { height: 46px; padding: 0 16px 0 7px; gap: 10px; }
.hs-genre .ic { width: 32px; height: 32px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--g) 22%, transparent); color: var(--g); transition: transform 0.2s; }
.hs-genre:hover .ic { transform: rotate(-8deg) scale(1.08); background: var(--g); color: var(--hs-ink); }

/* hero chrome to match the v5 design: arrows, up-next queue, dash dots */
.hs-slide .in { padding: 0 92px; max-width: 720px; }
.hs-hero .swiper-pagination { left: 92px !important; }
.hs-hero-nav { position: absolute; z-index: 6; top: 50%; margin-top: -22px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(11, 22, 34, 0.55); backdrop-filter: blur(8px); color: var(--hs-tx); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.hs-hero-nav:hover { background: rgba(11, 22, 34, 0.85); border-color: var(--hs-ac); }
.hs-hero-nav.prev { left: 22px; }
.hs-hero-nav.next { right: 22px; }
.hs-hero-queue { position: absolute; z-index: 6; right: 92px; bottom: 26px; display: flex; gap: 10px; }
.hs-hq { position: relative; width: 112px; height: 64px; padding: 0; border-radius: 8px; overflow: hidden; border: 2px solid rgba(255, 255, 255, 0.15); background: var(--hs-field); cursor: pointer; opacity: 0.7; transition: opacity 0.2s, border-color 0.2s, transform 0.2s; }
.hs-hq[hidden] { display: none; }
.hs-hq img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hs-hq::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 22, 34, 0.85), rgba(11, 22, 34, 0) 70%); }
.hs-hq span { position: absolute; z-index: 2; left: 8px; right: 8px; bottom: 5px; font: 700 11px var(--hs-f-body); color: #fff; text-align: left; }
.hs-hq:hover { opacity: 1; transform: translateY(-2px); }
.hs-hq.on { opacity: 1; border-color: var(--hs-ac); }
@media (max-width: 1150px) { .hs-hero-queue { display: none; } }
@media (max-width: 760px) {
    .hs-slide .in { padding: 0 18px 46px; }
    .hs-hero .swiper-pagination { left: 18px !important; }
    .hs-hero-nav { display: none; }
}

/* schedule — timeline redesign */
.hs-sched-hd { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.hs-sched-sub { display: block; margin-top: 2px; font-size: 12.5px; color: var(--hs-tx-4); }
.hs-sched-clock { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 8px; background: var(--hs-field); border: 1px solid var(--hs-line); font: 800 13px var(--hs-f-body); color: var(--hs-tx); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hs-sched-clock i { width: 8px; height: 8px; border-radius: 50%; background: var(--hs-hot); box-shadow: 0 0 0 4px rgba(255, 122, 107, 0.18); animation: hs-pulse 1.6s ease-in-out infinite; }
.hs-sched-days { gap: 8px; margin-bottom: 16px; }
.hs-sched-days .day { width: 64px !important; }
.hs-sched-days .inner { width: 64px; height: 62px; border-radius: 8px; gap: 2px; transition: border-color 0.15s, background 0.15s; }
.hs-sched-days .inner:hover { border-color: var(--hs-line-2); color: var(--hs-tx); }
.hs-sched-days .inner .wd { font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.hs-sched-days .inner .dt { font-size: 14px; }
.hs-sched-days .day.active .inner { background: var(--hs-ac-fill); border-color: var(--hs-ac-fill); color: var(--hs-ink); }
.hs-sched-nav { width: 32px; height: 62px; border-radius: 8px; }

.hs-tl { list-style: none; margin: 0; padding: 0 4px 0 0; max-height: 320px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--hs-line-2) transparent; }
.hs-tl-row a { position: relative; display: grid; grid-template-columns: 52px 18px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 8px; border-radius: 8px; }
.hs-tl-row a:hover { background: var(--hs-hover); }
.hs-tl-row .tm { font: 800 13px var(--hs-f-body); color: var(--hs-tx); font-variant-numeric: tabular-nums; text-align: right; }
.hs-tl-row .dot { position: relative; justify-self: center; width: 10px; height: 10px; border-radius: 50%; background: var(--hs-bg-2); border: 2px solid var(--hs-ac); z-index: 1; }
.hs-tl-row:not(:last-child) a::after { content: ""; position: absolute; left: 79px; top: 50%; height: 100%; width: 2px; margin-left: -1px; background: var(--hs-line); }
.hs-tl-row .tx { min-width: 0; display: flex; flex-direction: column; }
.hs-tl-row .tt { font-size: 13.5px; font-weight: 700; color: var(--hs-tx); }
.hs-tl-row .ep { font-size: 12px; color: var(--hs-tx-4); }
.hs-tl-row .st { font-size: 11.5px; font-weight: 700; color: var(--hs-tx-5); }
.hs-tl-row .st.up { color: var(--hs-ac-tx); }
.hs-tl-row.old .tm, .hs-tl-row.old .tt { color: var(--hs-tx-4); }
.hs-tl-row.old .dot { border-color: var(--hs-tx-5); background: var(--hs-tx-5); }
.hs-tl-row.next a { background: rgba(38, 163, 214, 0.1); box-shadow: inset 0 0 0 1px var(--hs-line-ac); }
.hs-tl-row.next .dot { background: var(--hs-ac); box-shadow: 0 0 0 4px rgba(38, 163, 214, 0.22); }
.hs-tl-row.next .tm { color: var(--hs-ac); }
.hs-tl-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 34px 12px; color: var(--hs-tx-4); font-size: 13px; text-align: center; }

/* ===== schedule v3: full-width day tabs + poster cards ===== */
.hs-sched-days { gap: 0; margin-bottom: 14px; }
.hs-sched-days .hs-sched-nav { display: none; }
.hs-sched-days .swiper-container { border-radius: 8px; background: var(--hs-field); border: 1px solid var(--hs-line); padding: 4px; }
.hs-sched-days .day { width: calc((100% - 24px) / 7) !important; margin-right: 4px; }
.hs-sched-days .day:last-child { margin-right: 0; }
.hs-sched-days .inner { width: 100%; height: 52px; border: 0; border-radius: 6px; background: transparent; color: var(--hs-tx-4); }
.hs-sched-days .inner:hover { background: var(--hs-raise); color: var(--hs-tx); }
.hs-sched-days .inner .wd { font-size: 10.5px; }
.hs-sched-days .inner .dt { font-size: 13.5px; color: var(--hs-tx-2); }
.hs-sched-days .day.active .inner { background: var(--hs-ac-fill); color: var(--hs-ink); }
.hs-sched-days .day.active .inner .dt { color: var(--hs-ink); }
.hs-sched-clock { height: 30px; font-size: 12px; color: var(--hs-tx-2); }

.hs-sgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-height: 330px; overflow-y: auto; padding-right: 4px; scrollbar-width: thin; scrollbar-color: var(--hs-line-2) transparent; }
.hs-scard { position: relative; display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 8px; background: var(--hs-field); border: 1px solid var(--hs-line); min-width: 0; transition: border-color 0.15s, background 0.15s; }
.hs-scard:hover { border-color: var(--hs-line-2); background: var(--hs-raise); }
.hs-scard .ps { width: 44px; height: 60px; flex-shrink: 0; border-radius: 6px; overflow: hidden; background: var(--hs-bg-2); }
.hs-scard .ps img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hs-scard .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.hs-scard .tt { font-size: 13px; font-weight: 700; line-height: 1.3; color: var(--hs-tx); }
.hs-scard:hover .tt { color: var(--hs-ac); }
.hs-scard .mt { display: flex; align-items: center; gap: 6px; }
.hs-scard .tm { height: 20px; padding: 0 7px; border-radius: 4px; background: var(--hs-ac-soft); color: var(--hs-ac-tx); font-size: 11.5px; font-weight: 800; display: inline-flex; align-items: center; font-variant-numeric: tabular-nums; }
.hs-scard .ep { font-size: 11.5px; font-weight: 700; color: var(--hs-tx-4); }
.hs-scard .st { position: absolute; right: 8px; top: 8px; font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--hs-tx-5); }
.hs-scard .st.nx { padding: 2px 6px; border-radius: 4px; background: var(--hs-ac-fill); color: var(--hs-ink); }
.hs-scard.old { opacity: 0.6; }
.hs-scard.old .tm { background: var(--hs-raise); color: var(--hs-tx-4); }
.hs-scard.next { border-color: var(--hs-ac); background: rgba(38, 163, 214, 0.1); }
.hs-scard.next .tm { background: var(--hs-ac-fill); color: var(--hs-ink); }

/* ===== watch together v2: stacked visual + copy ===== */
.hs-w2g { display: flex; flex-direction: column; grid-template-columns: none; }
.hs-w2g-art { position: relative; height: 150px; flex-shrink: 0; border-right: 0; border-bottom: 1px solid var(--hs-line-ac); background: radial-gradient(ellipse at 20% 0%, rgba(38, 163, 214, 0.22), rgba(38, 163, 214, 0) 60%), linear-gradient(160deg, #12324A 0%, #0D1E30 100%); overflow: hidden; }
.hs-w2g-art .scr { position: absolute; left: 20px; top: 20px; width: 46%; max-width: 230px; height: 110px; border-radius: 8px; }
.hs-w2g-art .chat { position: absolute; right: 18px; top: 20px; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; width: 44%; }
.hs-w2g-art .msg { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 5px 9px 5px 5px; border-radius: 8px 8px 8px 2px; background: var(--hs-field); border: 1px solid var(--hs-line-2); font-size: 11.5px; font-weight: 600; color: var(--hs-tx-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; align-self: flex-start; }
.hs-w2g-art .msg.me { align-self: flex-end; padding-left: 9px; border-radius: 8px 8px 2px 8px; background: var(--hs-ac-fill); border-color: var(--hs-ac-fill); color: var(--hs-ink); }
.hs-w2g-art .msg b, .hs-w2g-art .avs b { width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font: 800 10px var(--hs-f-head); color: var(--hs-ink); flex-shrink: 0; }
.hs-w2g-art .avs { position: absolute; right: 18px; bottom: 14px; display: flex; }
.hs-w2g-art .avs b { width: 26px; height: 26px; margin-left: -6px; border: 2px solid #0F2236; font-size: 11px; }
.hs-w2g-art .avs b.more { background: var(--hs-raise); color: var(--hs-tx-2); font-size: 10px; }
.hs-w2g-body { padding: 18px 20px 20px; gap: 8px; flex: 1; }
.hs-w2g-body .hs-h2 { font-size: 19px; }
@media (max-width: 760px) {
    .hs-sgrid { grid-template-columns: 1fr; }
    .hs-sched-days .day { width: 62px !important; }
    .hs-sched-days .swiper-container { overflow: hidden; }
    .hs-w2g-art { height: 150px; }
}
.hs-w2g-art .scr { height: 96px; top: 16px; }
.hs-w2g-art .avs { left: 28px; right: auto; bottom: 12px; }
.hs-w2g-art .avs::after { content: "watching"; margin-left: 8px; align-self: center; font-size: 11px; font-weight: 700; color: var(--hs-tx-3); }

/* most popular v2: #1 feature card + ranked grid */
.hs-ptop { position: relative; display: flex; gap: 14px; padding: 12px; border-radius: 10px; overflow: hidden; border: 1px solid var(--hs-line-ac); isolation: isolate; }
.hs-ptop .bg { position: absolute; inset: -20px; z-index: -2; background-size: cover; background-position: center 30%; filter: blur(18px) saturate(1.2); opacity: 0.55; }
.hs-ptop::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 22, 34, 0.6), rgba(11, 22, 34, 0.92)); }
.hs-ptop .ps { width: 86px; aspect-ratio: 3 / 4; flex-shrink: 0; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5); }
.hs-ptop .ps img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; }
.hs-ptop:hover .ps img { transform: scale(1.06); }
.hs-ptop .tx { min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.hs-ptop .rk { font-size: 30px; line-height: 1; color: var(--hs-ac); }
.hs-ptop .t { font-size: 16px; font-weight: 800; line-height: 1.25; color: #fff; }
.hs-ptop:hover .t { color: var(--hs-ac); }
.hs-ptop .m { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; }
.hs-ptop .m .ty { color: var(--hs-tx-3); font-weight: 700; }
.hs-plist { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.hs-pitem { display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 4px; border-radius: 8px; background: var(--hs-field); border: 1px solid var(--hs-line); min-width: 0; transition: border-color 0.15s, background 0.15s; }
.hs-pitem:hover { border-color: var(--hs-line-2); background: var(--hs-raise); }
.hs-pitem .rk { width: 28px; flex-shrink: 0; text-align: center; font-size: 26px; line-height: 1; color: transparent; -webkit-text-stroke: 1.3px #8097B2; }
.hs-pitem:hover .rk { -webkit-text-stroke-color: var(--hs-ac); }
.hs-pitem .ps { width: 40px; height: 54px; flex-shrink: 0; border-radius: 6px; overflow: hidden; background: var(--hs-bg-2); }
.hs-pitem .ps img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hs-pitem .tx { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.hs-pitem .t { font-size: 12.5px; font-weight: 700; line-height: 1.3; color: var(--hs-tx); }
.hs-pitem:hover .t { color: var(--hs-ac); }
.hs-pitem .m { display: flex; gap: 6px; font-size: 11.5px; color: var(--hs-tx-4); }
.hs-pitem .m .hs-star { font-size: 11.5px; }
@media (max-width: 760px) { .hs-plist { grid-template-columns: 1fr; } }

/* phones: a section's tab strip (e.g. Discover More's four tabs) wraps under the heading and scrolls
   inside itself instead of widening the page (it pushed the layout to 439px at 390). */
@media (max-width: 760px) {
    .hs-sh { flex-wrap: wrap; row-gap: 8px; }
    .hs-sh > .hs-seg { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
    .hs-sh > .hs-seg::-webkit-scrollbar { display: none; }
    .hs-sh > .hs-seg .hs-tab { flex: none; }
}
