/* Halo ("Enma" look) — home area: spotlight, Top 10 rail, tabbed grid, two-column body
   (grids + schedule | genres + Top 10). Loaded after halo.css and the parent's home.css.
   Sizes and breakpoints are measured from the reference at 1440/1280/1024/768/390. */

.hl-home {
    --e-ac: #1E90FF; --e-ac-2: #0072E0; --e-grad: linear-gradient(135deg, #1E90FF, #0072E0);
    --e-glow: 0 6px 20px rgba(30, 144, 255, 0.35); --e-stroke: #1EA5FC;
    --e-soft: rgba(255, 255, 255, 0.03); --e-soft-bd: rgba(255, 255, 255, 0.06);
    --e-panel: linear-gradient(180deg, rgba(30, 144, 255, 0.04), rgba(30, 144, 255, 0));
    --e-tx: #fff; --e-tx-2: rgba(255, 255, 255, 0.85); --e-tx-3: rgba(255, 255, 255, 0.55);
    --e-gut: 16px;
}
/* Page gutter is 16px at every width; the spotlight sits 88px from the top (header + 16px).
   --hl-hdr is the header's height, set by halo-home.js. */
.hl-home .hl-main.hs-wrap { padding-left: var(--e-gut); padding-right: var(--e-gut); padding-top: calc(88px - var(--hl-hdr, 72px)); }
.hl-home .hl-main > * { min-width: 0; }
.hl-home .cpin:empty, .hl-home .hl-main > .site-alert:empty { display: none; }
.hl-home .cpin:not(:empty) { margin-top: 24px; }

/* shared bits */
.hl-center { display: flex; justify-content: center; }
.hl-tint { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 10px; background: rgba(30, 144, 255, 0.1); border: 1px solid rgba(30, 144, 255, 0.3); color: #fff !important; font: 600 13.5px/20.25px var(--hs-f-body); letter-spacing: normal; cursor: pointer; transition: background 0.15s, border-color 0.15s, box-shadow 0.15s; }
.hl-tint:hover { background: rgba(30, 144, 255, 0.2); border-color: rgba(30, 144, 255, 0.6); box-shadow: var(--e-glow); }
.hl-tint[hidden] { display: none; }
.hl-sched .hl-tint, .hl-gen .hl-tint { padding: 10px 22px; font-size: 13px; line-height: 19.5px; }
.hl-gen .hl-tint { padding: 10px 20px; }
.hl-vm { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font: 600 12.5px/18.75px var(--hs-f-body); letter-spacing: normal; color: rgba(255, 255, 255, 0.7) !important; white-space: nowrap; transition: color 0.15s; }
.hl-vm svg { width: 10px; height: 10px; }
.hl-vm:hover { color: #fff !important; }
.hl-box { border-radius: 12px; background: var(--e-panel); border: 1px solid var(--e-soft-bd); }

/* pill tab groups (main.js toggles .active on .tab) */
.hl-pills { display: inline-flex; align-items: center; gap: 6px; padding: 6px; border-radius: 10px; background: var(--e-soft); border: 1px solid var(--e-soft-bd); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.hl-pills::-webkit-scrollbar { display: none; }
.hl-pills .tab { flex: none; padding: 10px 20px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 13.5px/20.25px var(--hs-f-body); letter-spacing: normal; color: var(--e-tx-3); cursor: pointer; white-space: nowrap; transition: color 0.15s, background 0.15s; }
.hl-pills .tab:hover { color: #fff; }
.hl-pills .tab.active { background: var(--e-grad); color: #fff; box-shadow: var(--e-glow); }
.hl-pills-sm { gap: 4px; padding: 4px; }
.hl-pills-sm .tab { padding: 7px 14px; font-size: 12.5px; line-height: 18.75px; }
.hl-pills .tab .ls { display: none; }

/* section heads inside the home body: title 26/39 (side + schedule titles 32/48), 20px to the content */
.hl-home .hl-body .hs-sh { display: flex; flex-wrap: nowrap; align-items: center; gap: 12px; margin: 0 0 20px; }
.hl-home .hl-body .hs-sh h2 { margin: 0; min-width: 0; font: 500 26px/39px var(--hs-f-head); letter-spacing: -0.03em; color: #fff; }
.hl-home .hl-body .hs-sh h2::before { display: none; }
.hl-home .hl-side .hs-sh h2, .hl-home .hl-sched > .hs-sh h2 { font-size: 32px; line-height: 48px; }

/* poster cards on the home: 2-line titles, meta 5px under the title */
.hl-home .hl-grid .hs-card .ttl, .hl-home #recent-update .hs-card .ttl { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 18.225px; }
.hl-home .hl-grid .hs-card .sub, .hl-home #recent-update .hs-card .sub { margin-top: -5px; line-height: 18px; }

/* poster grids: 6 / 5 / 4 / 3 / 2 columns */
.hl-home .hl-grid, .hl-home #recent-update .hs-grid, .hl-home #recent-update .hs-skel { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px 18px; }
/* Latest Episodes shows 12 cards; halo-home.js pages through each server page a dozen at a time
   (.hl-off marks the cards outside the current dozen). */
.hl-home #recent-update .hs-grid > .hs-card:nth-child(n+13), .hl-home #recent-update .hs-skel > :nth-child(n+13) { display: none; }
.hl-home #recent-update.hl-paged .hs-grid > .hs-card:nth-child(n+13):not(.hl-off) { display: flex; }
.hl-home #recent-update.hl-paged .hs-grid > .hs-card.hl-off { display: none; }

/* ============ spotlight ============ */
.hl-spot { position: relative; isolation: isolate; overflow: hidden; background: #05060A; }
.hl-spot #hotest { height: 62vh; }
.hl-slide { position: relative; height: 100%; overflow: hidden; background: #05060A; }
.hl-slide .bg { position: absolute; inset: 0; background-size: cover; background-position: center 25%; }
.hl-slide .bg-m { display: none; }
.hl-slide .shade { position: absolute; inset: 0; background:
    linear-gradient(180deg, rgba(5, 6, 10, 0.85) 0%, rgba(5, 6, 10, 0.5) 11%, rgba(5, 6, 10, 0) 25%),
    linear-gradient(0deg, #05060A 0%, rgba(5, 6, 10, 0.85) 11%, rgba(5, 6, 10, 0) 55%),
    linear-gradient(90deg, #05060A 0%, rgba(5, 6, 10, 0.95) 18%, rgba(5, 6, 10, 0.6) 40%, rgba(5, 6, 10, 0) 68%); }
.hl-slide .in { position: absolute; z-index: 2; left: 48px; bottom: 40px; width: min(600px, 46%); display: flex; flex-direction: column; }
.hl-slide .t { margin: 0; font: 500 min(62px, 4.4vw)/0.95 var(--hs-f-head); letter-spacing: -0.02em; color: #fff; }
.hl-slide .pills { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
.hl-slide .pills-m { display: none; }
.hl-pill { padding: 5px 12px; border-radius: 10px; display: inline-flex; align-items: center; gap: 6px; font: 600 12px/18px var(--hs-f-body); letter-spacing: normal; color: rgba(255, 255, 255, 0.9); background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.08); white-space: nowrap; }
.hl-pill.ep { background: #FFC078; border-color: rgba(0, 0, 0, 0.12); color: #241000; font-weight: 700; }
.hl-pill.hd { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.16); color: #fff; font-size: 11px; line-height: 16.5px; font-weight: 700; letter-spacing: 0.05em; }
.hl-slide .d { margin: 20px 0 0; max-width: 520px; font: 400 15px/1.55 var(--hs-f-body); letter-spacing: normal; color: var(--e-tx-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hl-slide .b { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.hl-play { width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; padding-left: 3px; background: var(--e-ac); color: #fff !important; box-shadow: var(--e-glow); transition: transform 0.15s, box-shadow 0.15s; }
.hl-play:hover { transform: scale(1.06); box-shadow: 0 8px 28px rgba(30, 144, 255, 0.55); }
.hl-more, .hl-add { height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); color: #fff !important; font: 600 14px/21px var(--hs-f-body); letter-spacing: normal; cursor: pointer; transition: background 0.15s, border-color 0.15s; }
.hl-more { padding: 0 22px; }
.hl-add { width: 52px; padding: 0; }
.hl-more:hover, .hl-add:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.24); }
.hl-slide .favourite { position: relative; }

/* thumbnail queue (bottom-right) */
.hl-spot-thumbs { position: absolute; z-index: 6; right: 28px; bottom: 28px; display: flex; align-items: center; gap: 8px; }
.hl-th { position: relative; width: 70px; height: 40px; flex-shrink: 0; padding: 0; border-radius: 6px; overflow: hidden; border: 1px solid transparent; background: rgba(0, 0, 0, 0.4); cursor: pointer; transition: width 0.3s, height 0.3s, border-color 0.2s, box-shadow 0.2s, opacity 0.2s; opacity: 0.85; }
.hl-th[hidden] { display: none; }
.hl-th img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hl-th:hover { opacity: 1; }
.hl-th.on { width: 120px; height: 68px; opacity: 1; border-color: var(--e-ac); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(30, 144, 255, 0.35); }
.hl-spot .swiper-pagination { display: none; }

/* ============ TOP 10 rail ============ */
.hl-t10 { position: relative; padding: 24px 24px 0; }
.hl-t10-hd { margin-bottom: 32px; }
.hl-t10-hd h2 { margin: 0; display: flex; align-items: center; gap: 12px; }
.hl-t10-hd h2::before { display: none; }
.hl-t10-hd .big { margin-left: 10px; font: 800 128px/1 Poppins, var(--hs-f-head); letter-spacing: -8px; color: transparent; -webkit-text-stroke: 2px var(--e-stroke); white-space: nowrap; }
.hl-t10-hd .side { display: flex; flex-direction: column; font: 400 20px/28px var(--hs-f-body); letter-spacing: 10px; text-transform: uppercase; color: #fff; }
.hl-t10-nav { position: absolute; z-index: 3; top: 144px; right: 8px; display: flex; gap: 9.6px; }
.hl-t10-nav button { width: 40px; height: 40px; padding: 0; border: 0; background: none; color: var(--e-ac); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: transform 0.15s, filter 0.15s; }
.hl-t10-nav button:hover { transform: scale(1.12); filter: drop-shadow(0 0 8px rgba(30, 144, 255, 0.7)); }
.hl-t10-track { display: flex; align-items: flex-start; gap: 12px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x proximity; padding-top: 64px; }
.hl-t10c { --cw: 240px; --pw: 230px; flex: 0 0 auto; display: flex; scroll-snap-align: start; color: #fff !important; }
.hl-t10c .n { align-self: flex-end; margin: 0 -48px 63px 0; font: 800 192px/192px Poppins, var(--hs-f-head); letter-spacing: normal; color: transparent; -webkit-text-stroke: 3px var(--e-stroke); position: relative; z-index: 0; user-select: none; }
.hl-t10c .cd { position: relative; z-index: 1; width: var(--cw); display: flex; flex-direction: column; }
.hl-t10c .ps { display: block; width: var(--pw); aspect-ratio: 2 / 3; border-radius: 10px; overflow: hidden; background: #475569; }
.hl-t10c .ps img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s; }
.hl-t10c:hover .ps img { transform: scale(1.05); }
.hl-t10c .t { margin-top: 12px; height: 80px; font: 600 14px/20px var(--hs-f-body); letter-spacing: normal; color: #fff; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; transition: color 0.15s; }
.hl-t10c:hover .t { color: var(--e-ac); }

/* ============ tabbed grid ============ */
.hl-tc { margin-top: 48px; }
.hl-tc-tabs { display: flex; width: max-content; margin: 0 auto 32px; }
.hl-tc-pane .hl-grid { margin-bottom: 32px; }
.hl-tc-pane .hl-center { margin-top: 8px; }

/* ============ two columns ============ */
.hl-body { display: grid; grid-template-columns: minmax(0, 75%) minmax(0, 25%); column-gap: 24px; align-items: start; }
.hl-col, .hl-side { min-width: 0; }
.hl-col > .hl-sec { margin-top: 60px; }
.hl-col > .hl-up { margin-top: 30px; }
.hl-side { margin-top: 60px; }
.hl-side > .hl-top { margin-top: 48px; }

/* Latest Episodes head: title, filter pills, pager, View more */
.hl-home #recent-update .hs-sh .hl-pills { padding: 2px; gap: 2px; }
.hl-home #recent-update .hs-sh .hl-pills .tab { padding: 7px 12px; }
.hl-paging { display: inline-flex; gap: 6px; margin-left: auto; }
.hl-paging > span { width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(0, 0, 0, 0.6); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.hl-paging > span:hover { border-color: var(--e-ac); background: rgba(30, 144, 255, 0.15); }
.hl-paging > span.disabled { opacity: 0.35; pointer-events: none; }
.hl #recent-update .hl-paging + .hl-vm { margin-left: 0; }

/* Continue watching (parent ajax partial) */
.hl #continue-watching .hs-sh { margin-bottom: 20px; }
.hl #continue-watching .hs-gnav { margin-left: auto; gap: 6px; }
.hl #continue-watching .hs-va { margin-left: 0; color: rgba(255, 255, 255, 0.7) !important; font-size: 12.5px; }
.hl #continue-watching .hs-gbtn { width: 32px; height: 32px; border-radius: 50%; border-color: rgba(255, 255, 255, 0.1); background: rgba(0, 0, 0, 0.6); color: #fff; }
.hl #continue-watching .hs-cwc .fr { border-radius: 8px; }
.hl #continue-watching .hs-cwc:hover .fr { box-shadow: 0 0 0 2px var(--e-ac); }
.hl #continue-watching .hs-cwc .bar span { background: var(--e-ac); }

/* Schedule (parent ajax partial re-laid as the reference list) */
.hl-sched { position: relative; }
.hl-sched .hs-sched { display: flex; flex-direction: column; }
.hl-sched .hs-sched-hd { position: absolute; top: 0; right: 0; height: 48px; margin: 0; align-items: center; }
.hl-sched .hs-sched-hd > div { display: none; }
.hl-sched .hs-sched-clock { height: auto; padding: 7px 14px; gap: 8px; border-radius: 10px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); font: 600 12.5px/18.75px var(--hs-f-body); letter-spacing: normal; color: var(--e-tx-2); }
.hl-sched .hs-sched-clock i { width: 6px; height: 6px; background: #4ADE80; box-shadow: none; }
.hl-sched .hs-sched-days { --dn: 8; --dg: 14px; position: relative; display: block; margin: 0 0 20px; padding: 0 6px; }
.hl-sched .hs-sched-days .swiper-container { padding: 0; border: 0; border-radius: 0; background: none; overflow: hidden; }
.hl-sched .hs-sched-days .day { width: calc((100% - (var(--dn) - 1) * var(--dg)) / var(--dn)) !important; min-width: 0; margin-right: var(--dg); }
.hl-sched .hs-sched-days .day:last-child { margin-right: 0; }
.hl-sched .hs-sched-days .inner { width: 100%; height: 68px; padding: 10px 8px; border-radius: 10px; gap: 4px; background: var(--e-soft); border: 1px solid rgba(255, 255, 255, 0.05); color: rgba(255, 255, 255, 0.87); }
.hl-sched .hs-sched-days .inner:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.hl-sched .hs-sched-days .inner .wd { font: 700 12px/18px var(--hs-f-body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--e-tx-3); opacity: 1; }
.hl-sched .hs-sched-days .inner .dt { font: 600 20px/20px var(--hs-f-head); letter-spacing: -0.02em; color: #fff; }
.hl-sched .hs-sched-days .day.active .inner { background: var(--e-grad); border-color: rgba(30, 144, 255, 0.6); color: #fff; box-shadow: none; }
.hl-sched .hs-sched-days .day.active .inner .wd { color: #fff; }
.hl-sched .hs-sched-days .hs-sched-nav { display: inline-flex; position: absolute; z-index: 3; top: 50%; width: 32px; height: 32px; margin-top: -16px; padding: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(0, 0, 0, 0.6); color: #fff; }
.hl-sched .hs-sched-days .hs-sched-nav.prev { left: -10px; }
.hl-sched .hs-sched-days .hs-sched-nav.next { right: -10px; }
.hl-sched .hs-sched-days .hs-sched-nav:hover { border-color: var(--e-ac); }
.hl-sched .hs-sched-days .hs-sched-nav.swiper-button-disabled { opacity: 0.35; }
.hl-sched .hs-sgrid { display: flex; flex-direction: column; gap: 0; max-height: none; overflow: hidden; padding: 0; border-radius: 12px; background: rgba(255, 255, 255, 0.016); border: 1px solid var(--e-soft-bd); }
.hl-sched .hs-scard { min-height: 0; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 0; border: 0; background: none; opacity: 1; }
.hl-sched .hs-scard + .hs-scard { border-top: 1px solid var(--e-soft-bd); }
.hl-sched .hs-scard:hover { background: rgba(255, 255, 255, 0.03); }
.hl-sched .hs-scard .ps, .hl-sched .hs-scard .st { display: none; }
.hl-sched .hs-scard .tx, .hl-sched .hs-scard .mt { display: contents; }
.hl-sched .hs-scard .tm { order: 0; width: 80px; flex-shrink: 0; height: auto; padding: 0; border-radius: 0; background: none !important; font: 700 15px/22.5px var(--hs-f-body); letter-spacing: normal; color: var(--e-ac) !important; }
.hl-sched .hs-scard .tt { order: 1; flex: 1; min-width: 0; font: 600 14.5px/20.3px var(--hs-f-body); letter-spacing: normal; color: #fff; -webkit-line-clamp: 1; }
.hl-sched .hs-scard:hover .tt { color: var(--e-ac); }
.hl-sched .hs-scard .ep { order: 2; flex-shrink: 0; height: auto; padding: 7px 14px; border-radius: 10px; display: inline-flex; align-items: center; gap: 7px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); font: 600 12.5px/18.75px var(--hs-f-body); letter-spacing: normal; color: rgba(255, 255, 255, 0.9); }
.hl-sched .hs-scard .ep::before { content: ""; width: 0; height: 0; border-left: 8px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.hl-sched .hs-scard.old .tt { color: rgba(255, 255, 255, 0.7); }
.hl-sched:not(.open) .hs-scard:nth-child(n+8) { display: none; }
.hl-sched > .hl-center { margin-top: 20px; }
.hl-sched .hs-tl-empty { border-radius: 12px; background: rgba(255, 255, 255, 0.016); border: 1px solid var(--e-soft-bd); }

/* Genres */
.hl-count { flex-shrink: 0; margin-left: auto; font: 500 13px/19.5px var(--hs-f-body); letter-spacing: normal; color: rgba(255, 255, 255, 0.4); white-space: nowrap; }
.hl-gen-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 14px; }
.hl-g { --g: var(--e-ac); min-width: 0; padding: 12px 14px; border-radius: 8px; display: flex; align-items: center; gap: 10px; overflow: hidden; background: var(--e-soft); border: 1px solid rgba(255, 255, 255, 0.05); font: 600 13.5px/20.25px var(--hs-f-body); letter-spacing: normal; color: rgba(255, 255, 255, 0.85) !important; transition: background 0.15s, border-color 0.15s, color 0.15s; }
.hl-g::before { content: ""; width: 3px; height: 18px; flex-shrink: 0; border-radius: 2px; background: var(--g); }
.hl-g span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hl-g:hover { color: #fff !important; background: rgba(255, 255, 255, 0.06); border-color: color-mix(in srgb, var(--g) 50%, transparent); }
.hl-gen .hl-g[data-hl-more] { display: none; }
.hl-gen.open .hl-g[data-hl-more] { display: flex; }
.hl-gen .hl-center { margin-top: 20px; }

/* Top 10 (sidebar) */
.hl-top .hs-sh .hl-pills { flex-shrink: 0; margin-left: auto; }
/* a narrow sidebar wraps "Top" / "10" onto two lines instead of overflowing into the tabs */
.hl-home .hl-top .hs-sh h2 { flex-wrap: wrap; row-gap: 0; white-space: normal; }
.hl-rank-box { padding: 10px; }
.hl-rank { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.hl-row { display: grid; grid-template-columns: 48px 60px minmax(0, 1fr); align-items: center; gap: 14px; padding: 10px 8px; border-radius: 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.04); min-width: 0; transition: background 0.15s; }
.hl-rank > li:last-child .hl-row { border-bottom-color: transparent; }
.hl-row:hover { background: rgba(255, 255, 255, 0.03); }
.hl-row .rk { text-align: center; font: 800 32px/32px var(--hs-f-head); letter-spacing: -0.05em; color: rgba(255, 255, 255, 0.15); -webkit-text-stroke: 1px rgba(255, 255, 255, 0.25); font-variant-numeric: tabular-nums; }
.hl-row.top .rk { color: transparent; -webkit-text-stroke: 0; -webkit-background-clip: text; background-clip: text; }
.hl-row.r1 .rk { background-image: linear-gradient(180deg, #FFD700, #FF9500); }
.hl-row.r2 .rk { background-image: linear-gradient(180deg, #E5E5E5, #A0A0A0); }
.hl-row.r3 .rk { background-image: linear-gradient(180deg, #CD7F32, #8B4513); }
.hl-row .ps { width: 60px; height: 80px; border-radius: 6px; overflow: hidden; background: #0F1420; }
.hl-row .ps img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hl-row .tx { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.hl-row .t { font: 600 13.5px/18.225px var(--hs-f-body); letter-spacing: normal; color: #fff; transition: color 0.15s; }
.hl-row:hover .t { color: var(--e-ac); }
.hl-row .ch { display: flex; flex-wrap: wrap; gap: 4px; }
.hl-row .c { padding: 2px 6px; border-radius: 4px; display: inline-flex; align-items: center; gap: 4px; font: 700 10.5px/15.75px var(--hs-f-body); letter-spacing: normal; font-variant-numeric: tabular-nums; }
.hl-row .c.s { background: rgba(176, 227, 175, 0.95); color: #0A0F1A; }
.hl-row .c.d { background: rgba(255, 192, 120, 0.95); color: #241000; }

/* ============ responsive ============ */
@media (max-width: 1280px) {
    .hl-home .hl-grid, .hl-home #recent-update .hs-grid, .hl-home #recent-update .hs-skel { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .hl-sched .hs-sched-days { --dn: 7; --dg: 12px; }
}
@media (max-width: 1200px) {
    /* spotlight and the Top 10 rail run edge to edge; everything else keeps the 16px gutter */
    .hl-spot, .hl-t10 { margin-left: calc(-1 * var(--e-gut)); margin-right: calc(-1 * var(--e-gut)); }
    .hl-spot #hotest { height: 58vh; }
    .hl-slide .in { left: 32px; bottom: 32px; width: min(540px, 58%); }
    .hl-slide .d { -webkit-line-clamp: 2; }
    .hl-spot-thumbs { right: 20px; bottom: 20px; gap: 5px; }
    .hl-th { width: 54px; height: 32px; }
    .hl-body { display: block; }
}
@media (max-width: 1024px) {
    .hl-home .hl-grid, .hl-home #recent-update .hs-grid, .hl-home #recent-update .hs-skel { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 14px; }
}
@media (max-width: 1023px) {
    .hl-t10-hd .big { margin-left: 0; font-size: 96px; letter-spacing: -7.6px; }
    .hl-t10c { --cw: 190px; --pw: 190px; }
    .hl-sched .hs-sched-days { --dn: 6; }
}
@media (max-width: 820px) {
    /* spotlight: tall art on top, centred title, chips and actions under it */
    .hl-spot #hotest { height: auto; }
    .hl-spot .hl-slide { height: auto; }
    .hl-slide .bg { display: none; }
    .hl-slide .bg-m { display: block; position: relative; height: 76vh; background-size: cover; background-position: center 20%; }
    .hl-slide .shade { bottom: auto; height: 76vh; background: linear-gradient(180deg, rgba(5, 6, 10, 0.85) 0%, rgba(5, 6, 10, 0.4) 12%, rgba(5, 6, 10, 0) 22%), linear-gradient(0deg, #05060A 0%, rgba(5, 6, 10, 0.6) 10%, rgba(5, 6, 10, 0) 26%); }
    .hl-slide .in { position: relative; left: auto; bottom: auto; width: auto; margin-top: -8px; padding: 0 16px 20px; align-items: center; text-align: center; }
    .hl-slide .t { max-width: 100%; margin-bottom: 12px; font-size: clamp(16px, 5.2vw, 24px); line-height: 1.2; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
    .hl-slide .pills, .hl-slide .d { display: none; }
    .hl-slide .pills-m { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
    .hl-slide .pills-m .hl-pill { font-size: 11.5px; line-height: 17.25px; border-color: rgba(255, 255, 255, 0.1); }
    .hl-slide .b { margin-top: 14px; justify-content: center; gap: 10px; }
    .hl-play { width: 48px; height: 48px; }
    .hl-more { height: 48px; padding: 0 22px; font-size: 13px; background: var(--e-ac); border-color: var(--e-ac); box-shadow: var(--e-glow); }
    .hl-more:hover { background: var(--e-ac-2); border-color: var(--e-ac-2); }
    .hl-add { width: 48px; height: 48px; }
    /* phones get Play + See More only (the list button stays on larger screens) */
    .hl-slide .b .favourite { display: none; }
    .hl-spot-thumbs { display: none; }
}
@media (max-width: 768px) {
    .hl-home .hl-grid, .hl-home #recent-update .hs-grid, .hl-home #recent-update .hs-skel { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 12px; }
    .hl-tc { margin-top: 32px; }
}
@media (max-width: 767px) {
    .hl-t10-hd .big { letter-spacing: -5.6px; }
    .hl-t10-hd .side { font-size: 14px; line-height: 20px; }
    .hl-sched .hs-sched-days { --dn: 5; --dg: 10px; }
    /* Latest Episodes on small screens: a one-line head (title + View more); the filter pills and
       pager stay in the DOM for main.js but are not shown */
    .hl-home #recent-update .hs-sh .hl-pills, .hl-home #recent-update .hs-sh .hl-paging { display: none; }
    .hl #recent-update .hs-sh .hl-vm { margin-left: auto; }
}
@media (max-width: 640px) {
    .hl-tc-tabs { width: 100%; gap: 4px; padding: 4px; border-radius: 10px; }
    .hl-tc-tabs .tab { flex: 1 1 0; min-width: 0; padding: 8px 6px; gap: 5px; border-radius: 8px; font-size: 11.5px; line-height: 17.25px; }
    .hl-tc-tabs .tab .lf { display: none; }
    .hl-tc-tabs .tab .ls { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
    .hl-tc-tabs .tab svg { flex-shrink: 0; }
    .hl-home .hl-grid .hs-card .ttl, .hl-home #recent-update .hs-card .ttl { font-size: 12.5px; line-height: 16.875px; }
    .hl-gen-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
    .hl-t10-hd .big { margin-left: -8px; letter-spacing: -19.3px; -webkit-text-stroke: 1px #60A5FA; }
    .hl-t10c { --cw: 150px; --pw: 150px; }
    .hl-t10c .n { margin: 0 -16px 75px 0; font-size: 112px; line-height: 112px; letter-spacing: -5.6px; }
    .hl-sched .hs-sched-days { --dn: 4; }
}
@media (max-width: 600px) {
    /* the spotlight starts at the very top, under the floating header */
    .hl-home .hl-main.hs-wrap { padding-top: 0; }
    .hl-spot { margin-top: calc(-1 * var(--hl-hdr, 68px)); }
    .hl-sched .hs-scard { gap: 10px; padding: 12px 14px; }
    .hl-sched .hs-scard .tm { width: 60px; font-size: 13px; line-height: 19.5px; }
    .hl-sched .hs-scard .tt { font-size: 13px; line-height: 18.2px; }
    .hl-sched .hs-scard .ep { padding: 6px 10px; font-size: 11.5px; line-height: 17.25px; }
}
@media (max-width: 480px) {
    .hl-home .hl-grid, .hl-home #recent-update .hs-grid, .hl-home #recent-update .hs-skel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
    .hl-home .hl-body .hs-sh h2 { font-size: 20px; line-height: 30px; }
    .hl-home .hl-side .hs-sh h2 { font-size: 26px; line-height: 39px; }
    .hl-home .hl-sched > .hs-sh h2 { font-size: 24px; line-height: 36px; }
    .hl-col > .hl-sched { margin-top: 40px; }
    .hl-sched .hs-sched-clock { font-size: 11.5px; line-height: 17.25px; }
}
@media (max-width: 479px) {
    .hl-sched .hs-sched-days { --dn: 3; }
}
@media (max-width: 440px) {
    /* the clock no longer fits beside the title: it drops under it */
    .hl-home .hl-sched > .hs-sh { margin-bottom: 12px; }
    .hl-sched .hs-sched-hd { position: static; height: auto; margin: 0 0 20px; justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
    .hl-th, .hl-t10c .ps img { transition: none; }
}
