/* Enma — title area: the anime page (route anime.show, markup resources/themes/enma/views/frontend/anime-page.blade.php)
   and the watch page (routes watch / watch.episode, markup resources/themes/enma/views/frontend/watch.blade.php + the
   parent partials). Loaded after halo.css on body.hl-title. Sizes, gaps and breakpoints follow the measured reference
   (1440 / 1280 / 1024 / 768 / 390): breakpoints at 1400, 1200, 1024, 768, 600 and 480 viewport px.
   The header is the shell's; the natural content top is 72px (62px under 761px), so the offsets below are relative to it. */

.hl-title {
    --t-tx: rgba(255, 255, 255, 0.87); --t-tx-2: rgba(255, 255, 255, 0.75); --t-tx-3: rgba(255, 255, 255, 0.5); --t-tx-4: rgba(255, 255, 255, 0.3);
    --t-line: rgba(255, 255, 255, 0.06); --t-line-2: rgba(255, 255, 255, 0.12); --t-fill: rgba(255, 255, 255, 0.03); --t-fill-2: rgba(255, 255, 255, 0.06);
    --t-panel: #111113; --t-panel-2: #0F1420;
    --t-ac: #1E90FF; --t-grad: linear-gradient(135deg, #1E90FF, #0072E0); --t-glow: 0 6px 20px rgba(30, 144, 255, 0.35);
    --t-cc: rgba(176, 227, 175, 0.95); --t-cc-tx: #0A0F1A; --t-dub: #FFC078; --t-dub-tx: #241000;
    --t-ctl: #1A1A1A; --t-ctl-bd: rgba(255, 255, 255, 0.1);
}
.hl-title .hl-page { overflow-x: clip; font-synthesis: none; } /* the reference never fakes bold: Clash Display ships 400 only here */
.hl-title .hl-ap [hidden] { display: none !important; }

/* shared section headings inside the title area */
.hl-title .hl-h { margin: 0 0 20px; font: 800 26px/1.5 var(--hs-f-head); letter-spacing: -0.03em; color: #fff; }
.hl-title .hl-h::before { display: none; }
.hl-title .hl-h span { color: var(--t-ac); }
.hl-title .hl-h em { margin-left: 8px; padding: 3px 9px; border-radius: 10px; background: var(--t-fill-2); color: var(--t-tx-2); font: 600 12px var(--hs-f-head); font-style: normal; letter-spacing: 0; vertical-align: 5px; }
.hl-title .hl-h-ac { margin-bottom: 24px; font: 700 24px/1.33 var(--hs-f-head); color: var(--t-ac); }
.hl-title .hl-sh { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin-bottom: 20px; }
.hl-title .hl-sh .hl-h { margin: 0; }
.hl-title .hl-more { font: 600 12px var(--hs-f-head); color: #fff !important; white-space: nowrap; }
.hl-title .hl-more:hover { color: var(--t-ac) !important; }

/* =====================================================================================
   ANIME PAGE — detail header
   ===================================================================================== */
.hl-ap { padding-bottom: 0; }
.hl-dt { position: relative; margin-top: -8px; overflow-x: clip; }
.hl-dt-bg { position: absolute; left: 0; right: 0; top: 0; height: 600px; z-index: 0; overflow: hidden; pointer-events: none; }
.hl-dt-bg img { display: block; width: 100%; height: 100%; object-fit: cover; filter: blur(28px) brightness(0.5); transform: scale(1.15); }
.hl-dt-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.55)), linear-gradient(180deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.85)); }
.hl-title .hl-dt-in { position: relative; z-index: 2; display: grid; grid-template-columns: 280px minmax(0, 1fr) 320px; gap: 48px; align-items: start; max-width: 1600px; margin: 0; padding: 64px; }
.hl-dt-po { position: sticky; top: 90px; width: 280px; height: 420px; border-radius: 10px; overflow: hidden; background: var(--t-panel-2); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6); }
.hl-dt-po img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hl-dt-tx { display: flex; flex-direction: column; gap: 16px; min-width: 0; color: #fff; }
.hl-title .hl-dt-h1 { margin: 0; font: 800 48px/1.05 var(--hs-f-head); letter-spacing: -0.03em; color: #fff; overflow-wrap: anywhere; }
.hl-dt-alt { margin-top: -4px; font: 500 15px/1.5 var(--hs-f-head); color: var(--t-tx-3); }
.hl-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; min-height: 23px; font: 500 13.5px/1.5 var(--hs-f-head); color: var(--t-tx-2); }
.hl-meta > * { display: inline-flex; align-items: center; gap: 5px; }
.hl-meta > * + *::before { content: ""; flex: none; width: 4px; height: 4px; margin-right: 5px; border-radius: 50%; background: var(--t-tx-4); }
.hl-meta a { color: var(--t-tx-2) !important; }
.hl-meta a:hover { color: #fff !important; }
.hl-meta .bx { padding: 2px 8px; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 4px; font: 600 11.5px/1.5 var(--hs-f-head); }
.hl-meta .ac { font-weight: 700; color: var(--t-ac); }
.hl-meta .sc svg { color: var(--hs-star); }
.hl-meta .eps { gap: 4px; }
.hl-meta .eps > span { display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px; border-radius: 5px; background: var(--t-cc); color: var(--t-cc-tx); font: 700 10.5px/1.5 var(--hs-f-head); }
.hl-meta .eps > span.d { background: var(--t-dub); color: var(--t-dub-tx); }
.hl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hl-chips a { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.08); background: var(--t-fill-2); color: rgba(255, 255, 255, 0.85) !important; font: 600 12px/1.5 var(--hs-f-head); transition: border-color 0.15s, background 0.15s; }
.hl-chips a:hover { border-color: rgba(30, 144, 255, 0.5); background: rgba(30, 144, 255, 0.12); color: #fff !important; }

/* actions: white play + dark outlined buttons, 49px, 8px corners */
.hl-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hl-b { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 49px; padding: 0 20px; border-radius: 6px; border: 1px solid var(--t-line-2); background: rgba(255, 255, 255, 0.05); color: #fff !important; font: 600 13.5px/1.5 var(--hs-f-head); white-space: nowrap; cursor: pointer; transition: background 0.15s, border-color 0.15s; }
.hl-b:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.22); }
.hl-b svg { flex: none; }
.hl-b-w { gap: 10px; padding: 0 28px; border-color: #fff; background: #fff; color: #000 !important; font: 700 14px/1.5 var(--hs-f-head); }
.hl-b-w:hover { background: #E8E8EA; border-color: #E8E8EA; }
.hl-b-ic { width: 49px; padding: 0; }
.hl-fav { position: relative; display: flex; }
.hl-fav > .hl-b { width: 100%; }
.hl-title .hl-fav .dropdown-menu, .hl-title .hs-ctrls .favourite .dropdown-menu, .hl-title .hs-i5-fav .dropdown-menu { min-width: 190px; margin-top: 8px; padding: 6px; border-radius: 8px; border: 1px solid var(--t-ctl-bd); background: #121214; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6); }
.hl-title .hl-fav .dropdown-item, .hl-title .hs-ctrls .favourite .dropdown-item, .hl-title .hs-i5-fav .dropdown-item { padding: 9px 12px; border-radius: 6px; color: var(--t-tx) !important; font: 500 13.5px var(--hs-f-head); background: none; }
.hl-title .hl-fav .dropdown-item:hover, .hl-title .hs-ctrls .favourite .dropdown-item:hover, .hl-title .hs-i5-fav .dropdown-item:hover { background: var(--t-fill-2); color: #fff !important; }
.hl-title .hl-fav .dropdown-item.active, .hl-title .hs-ctrls .favourite .dropdown-item.active, .hl-title .hs-i5-fav .dropdown-item.active { background: rgba(30, 144, 255, 0.16); color: var(--t-ac) !important; }

/* synopsis: first 300 characters + inline "Read more" */
.hl-dt-syn { max-width: 720px; margin: 8px 0 0; font: 400 14px/1.65 var(--hs-f-head); color: var(--t-tx-2); overflow-wrap: anywhere; }
.hl-dt-syn .r { display: none; }
.hl-dt-syn.open .r { display: inline; }
.hl-dt-syn.open .x { display: none; }
.hl-dt-syn .t { margin-left: 6px; font-weight: 700; color: var(--t-ac); cursor: pointer; }
.hl-dt-syn .t:hover { text-decoration: underline; }

.hl-kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 32px; max-width: 720px; margin: 20px 0 0; font: 500 13px/1.5 var(--hs-f-head); }
.hl-kv > div { min-width: 0; }
.hl-kv > div.w { grid-column: 1 / -1; }
.hl-kv dt { display: inline; margin-right: 4px; font-weight: 500; color: rgba(255, 255, 255, 0.45); }
.hl-kv dd { display: inline; margin: 0; color: rgba(255, 255, 255, 0.9); overflow-wrap: anywhere; }
.hl-kv dd a { color: rgba(255, 255, 255, 0.9) !important; }
.hl-kv dd a:hover { color: var(--t-ac) !important; }
.hl-kv dd.is-releasing, .hl-kv dd.is-releasing a { color: var(--hs-ok) !important; }
.hl-kv dd.is-not_yet_aired, .hl-kv dd.is-not_yet_aired a { color: var(--t-dub) !important; }
.hl-note { display: flex; align-items: center; gap: 10px; width: fit-content; max-width: 100%; margin: 4px 0 0; padding: 10px 16px; border-radius: 6px; border: 1px solid rgba(30, 144, 255, 0.3); background: rgba(30, 144, 255, 0.1); font: 500 13px var(--hs-f-head); color: var(--t-tx); }
.hl-note svg { flex: none; color: var(--t-ac); }
.hl-note b { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.hl-note .mu { color: var(--t-tx-3); }

/* right column (the reference's character column): rating + release plan, 320px wide */
.hl-dt-side { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.hl-title .hl-dt-sh { margin: 0 0 4px; font: 700 15px/1.5 var(--hs-f-head); letter-spacing: normal; color: #fff; }
.hl-title .hl-dt-sh span { color: var(--t-ac); }
.hl-title .hl-dt-sh + .hl-plan, .hl-title .hl-rate + .hl-dt-sh { margin-top: 6px; }
.hl-title .hl-rate .hs-rate #w-rating.hs-r3 { display: block; padding: 14px 16px; border-radius: 8px; border: 1px solid var(--t-line); background: var(--t-fill); }
.hl-title .hl-rate .hs-r3-r { padding: 0; gap: 8px; border: 0; }
.hl-title .hl-rate .hs-r3-r .kick { font: 500 10.5px var(--hs-f-head); letter-spacing: 0; text-transform: none; color: rgba(255, 255, 255, 0.45); }
.hl-title .hl-rate .hs-r3-r .kick .def { display: none; }
.hl-title .hl-rate .hs-rs-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hl-title .hl-rate .hs-rate .hs-r3 .stars { --st: 24px; }
.hl-title .hl-rate .hs-rs-v b { font: 600 18px var(--hs-f-head); color: #fff; }
.hl-title .hl-rate .hs-rs-v small, .hl-title .hl-rate .hs-rs-v em { font-size: 11px; font-style: normal; color: var(--t-tx-3); }
.hl-title .hl-rate .hs-r3-f { margin: 12px -16px -14px; padding: 10px 16px; border-top: 1px solid var(--t-line); }
.hl-title .hs-r3-share { height: 32px; padding: 0 14px; border-radius: 6px; border-color: var(--t-ctl-bd); color: #fff; font-weight: 500; }
.hl-plan { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hl-plan li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 42px; padding: 0 12px; border-radius: 6px; border: 1px solid var(--t-line); background: var(--t-fill); font: 500 12.5px var(--hs-f-head); color: var(--t-tx-2); }
.hl-plan li.nx { border-color: rgba(30, 144, 255, 0.45); background: rgba(30, 144, 255, 0.1); }
.hl-plan .e { font-weight: 600; color: #fff; }
.hl-plan .d small { display: block; font-size: 10.5px; color: var(--t-ac); }
.hl-plan .tm { font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, 0.45); }

/* =====================================================================================
   ANIME PAGE — bands: seasons, then the black band (main column | 300px side)
   ===================================================================================== */
.hl-band { padding: 48px 64px; color: #fff; }
.hl-band-k { background: #000; }
.hl-title .hl-band-h { margin: 0 0 24px; font: 700 24px/1.33 var(--hs-f-head); letter-spacing: -0.03em; color: #fff; }
.hl-seasons { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.hl-ssn { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center; min-height: 90px; padding: 16px 12px; border-radius: 6px; overflow: hidden; text-align: center; transition: box-shadow 0.15s; }
.hl-ssn img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: blur(4px); transform: scale(1.05); }
.hl-ssn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, 0.7); transition: background 0.15s; }
.hl-ssn span { font: 600 14px/1.375 var(--hs-f-head); color: #fff; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hl-ssn:hover::before { background: rgba(0, 0, 0, 0.55); }
.hl-ssn.is-cur { box-shadow: 0 0 0 2px var(--t-ac); }
.hl-ssn.is-cur span { color: var(--t-ac); }

.hl-ap-lay { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 0 32px; align-items: start; }
.hl-ap-main, .hl-ap-side { min-width: 0; }
.hl-title .hl-ap-main > :first-child, .hl-title .hl-ap-side > :first-child { margin-top: 0; }
.hl-title .hl-ap-main > .hl-sec + .hl-sec { margin-top: 48px; }
.hl-title .hl-ap-side > .hl-sec + .hl-sec, .hl-title .hl-ap-side > * + .hl-sec { margin-top: 32px; }

/* episode list (anime page) — chips like the watch page's episode grid */
.hl-etools { display: flex; align-items: center; gap: 8px; }
.hl-title .hl-seg { height: 36px; padding: 2px; gap: 2px; border-radius: 6px; border: 1px solid var(--t-ctl-bd); background: var(--t-ctl); box-shadow: none; }
.hl-title .hl-seg button { height: 30px; padding: 0 12px; border-radius: 4px; font: 500 12px var(--hs-f-head); color: var(--t-tx-2); }
.hl-title .hl-seg button.on { background: var(--t-ac); color: #fff; box-shadow: none; }
.hl-title .hl-jump { height: 36px; padding: 0 12px; border-radius: 6px; border: 1px solid var(--t-ctl-bd); background: var(--t-ctl); box-shadow: none; color: var(--t-ac); }
.hl-title .hl-jump input { width: 96px; font: 500 13px var(--hs-f-head); color: #fff; }
.hl-title .hl-ranges { gap: 6px; margin-bottom: 14px; }
.hl-title .hl-ranges button { height: 32px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--t-ctl-bd); background: transparent; box-shadow: none; color: #fff; font: 600 12px var(--hs-f-head); }
.hl-title .hl-ranges button.on { border-color: var(--t-ac); background: var(--t-ac); box-shadow: none; color: #fff; }
.hl-title .hl-eps .hs-ap-elist.is-compact { grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 6px; }
.hl-title .hl-eps .hs-ap-elist.is-compact a { height: 36px; border-radius: 6px; border: 1px solid var(--t-line); background: rgba(255, 255, 255, 0.04); box-shadow: none; color: #fff; }
.hl-title .hl-eps .hs-ap-elist.is-compact .n { font: 700 13px var(--hs-f-head); }
.hl-title .hl-eps .hs-ap-elist.is-compact a:hover { border-color: var(--t-ac); background: rgba(30, 144, 255, 0.12); box-shadow: none; color: #fff; }
.hl-title .hl-eps .hs-ap-elist .mk i { background: #4ADE80; }
.hl-title .hl-eps .hs-ap-elist .mk i.d, .hl-title .hl-eleg i.d { background: var(--t-dub); }
.hl-title .hl-eleg i { background: #4ADE80; }
.hl-title .hl-eps .hs-ap-elist.is-compact .filler a { border-color: rgba(255, 192, 120, 0.35); background: rgba(255, 192, 120, 0.1); color: var(--t-dub); }
.hl-title .hl-eps .hs-ap-elist.is-compact .ah-hit a { border-color: var(--t-ac); background: var(--t-ac); color: #fff; }
.hl-title .hl-eps .hs-ap-elist.is-cards { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 22px 16px; }
.hl-title .hl-eps .hs-ap-elist.is-cards .th { border-radius: 8px; border: 0; background: var(--t-panel-2); }
.hl-title .hl-eps .hs-ap-elist.is-cards .th .n { left: 8px; bottom: 8px; height: 22px; padding: 0 8px; border-radius: 5px; background: rgba(0, 0, 0, 0.72); font: 600 11px var(--hs-f-head); }
.hl-title .hl-eps .hs-ap-elist.is-cards .th .pl { width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: var(--t-ac); box-shadow: var(--t-glow); }
.hl-title .hl-eps .hs-ap-elist.is-cards a:hover .th { box-shadow: 0 0 0 2px var(--t-ac); }
.hl-title .hl-eps .hs-ap-elist.is-cards .tx { padding-top: 10px; }
.hl-title .hl-eps .hs-ap-elist.is-cards .t { font: 600 13.5px/1.35 var(--hs-f-head); color: #fff; }
.hl-title .hl-eps .hs-ap-elist .lg i { padding: 3px 7px; border-radius: 5px; font: 700 10.5px/1.3 var(--hs-f-head); }
.hl-title .hl-eps .hs-ap-elist .lg i.s { background: var(--t-cc); color: var(--t-cc-tx); }
.hl-title .hl-eps .hs-ap-elist .lg i.d { background: var(--t-dub); color: var(--t-dub-tx); }

/* poster grids (anime page "recommended" + watch page #w-recommended): 6 / 5 / 4 / 3 / 2 across */
.hl-grid, .hl-title .hs-rec { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px 18px; }
.hl-title :is(.hl-grid, .hs-rec) .hs-card { display: flex; flex-direction: column; gap: 10px; }
.hl-title :is(.hl-grid, .hs-rec) .hs-card .frame { aspect-ratio: 2 / 3; border-radius: 8px; background: var(--t-panel-2); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35); }
.hl-title :is(.hl-grid, .hs-rec) .hs-card .frame::after { display: none; }
.hl-title :is(.hl-grid, .hs-rec) .hs-card .hs-cb-top { display: none; }
.hl-title :is(.hl-grid, .hs-rec) .hs-card .ttl { padding: 0 2px; font: 600 13.5px/1.35 var(--hs-f-head); color: #fff; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hl-title :is(.hl-grid, .hs-rec) .hs-card:hover .ttl { color: var(--t-ac); }
.hl-title :is(.hl-grid, .hs-rec) .hs-card .sub { margin-top: -5px; padding: 0 2px; display: flex; align-items: center; gap: 6px; font: 500 12px/1.5 var(--hs-f-head); color: rgba(255, 255, 255, 0.55); }
.hl-title :is(.hl-grid, .hs-rec) .hs-card .sub .dt { width: 4px; height: 4px; margin: 0; border-radius: 50%; background: var(--t-ac); }
.hl-title :is(.hl-grid, .hs-rec) .hs-card .hs-cb-eps { left: 8px !important; top: 8px !important; gap: 6px !important; }
.hl-title :is(.hl-grid, .hs-rec) .hs-card .hs-cb-eps > span { height: 22px !important; padding: 0 7px !important; border-radius: 5px !important; font: 700 10.5px/1 var(--hs-f-head) !important; }

/* side lists (anime page related / trending; same look as the watch page sidebar) */
.hl-list { display: flex; flex-direction: column; padding: 32px 16px 16px; background: #000; }
.hl-li { display: flex; align-items: center; gap: 16px; padding: 0 0 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); transition: opacity 0.15s; }
.hl-li + .hl-li { margin-top: 16px; }
.hl-li:last-child { border-bottom: 0; }
.hl-li .ps { flex: none; width: 60px; height: 75px; border-radius: 6px; overflow: hidden; background: var(--t-panel-2); }
.hl-li .ps img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hl-li .tx { display: flex; flex-direction: column; gap: 8px; min-width: 0; flex: 1; }
.hl-li .t { font: 500 16px/1.5 var(--hs-f-head); color: var(--t-tx); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hl-li:hover .t { color: var(--t-ac); }
.hl-li .m { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font: 300 15px/1.5 var(--hs-f-head); color: var(--t-tx); }
.hl-li .m > i { width: 4px; height: 4px; border-radius: 50%; background: var(--t-tx-4); }
.hl-li .m .k { display: inline-flex; align-items: center; padding: 2px 6px; border-radius: 4px; background: rgba(30, 144, 255, 0.16); color: #6FB8FF; font: 600 11px/18px var(--hs-f-head); }
.hl-li .m .cc { display: inline-flex; align-items: center; gap: 4px; padding: 2px 4px; border-radius: 4px; background: #B0E3AF; color: #000; font: 600 11px/18px var(--hs-f-head); }
.hl-li .m .cc.d { background: #B9E7FF; }

/* trailer */
.hl-tr { max-width: 760px; }
.hl-trp { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--t-panel-2); }
.hl-trp img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.8; transition: opacity 0.2s; }
.hl-trp:hover img { opacity: 1; }
.hl-trp .pl { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; display: grid; place-items: center; border-radius: 50%; background: var(--t-ac); color: #fff; box-shadow: 0 8px 28px rgba(30, 144, 255, 0.5); }
.hl-trp .pl svg { width: 22px; height: 22px; margin-left: 3px; }
.hl-tr iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 8px; background: #000; }

/* ============ comments + reactions (both pages) ============ */
.hl-title .hs-comments { --cm-bg: transparent; }
.hl-title #cm-reactions .cm-reactions-inner { display: flex; flex-wrap: wrap !important; gap: 8px; overflow: visible; }
.hl-title #cm-reactions .cm-rx { flex: 0 0 auto; min-width: 0; height: 36px; padding: 0 14px 0 10px !important; border-radius: 6px !important; border: 1px solid rgba(255, 255, 255, 0.08) !important; background: var(--t-fill-2) !important; color: var(--t-tx) !important; font: 500 13px var(--hs-f-head) !important; }
.hl-title #cm-reactions .cm-rx:hover { border-color: rgba(30, 144, 255, 0.5) !important; background: rgba(30, 144, 255, 0.1) !important; }
.hl-title #cm-reactions .cm-rx:is(.active, .is-active, [aria-pressed="true"]) { border-color: var(--t-ac) !important; background: rgba(30, 144, 255, 0.16) !important; color: #fff !important; }
.hl-title #cm-reactions .cm-rx-count { color: var(--t-ac); font-weight: 600; }
.hl-title .hs-comments textarea, .hl-title .hs-comments .form-control, .hl-title .hs-comments [contenteditable] { border-radius: 6px !important; background: var(--t-fill) !important; border-color: rgba(255, 255, 255, 0.08) !important; }
.hl-title .hs-comments .btn-primary, .hl-title .hs-comments button[type=submit] { height: 40px; padding: 0 20px !important; border-radius: 6px !important; background: var(--t-ac) !important; border-color: var(--t-ac) !important; color: #fff !important; font-weight: 600 !important; }

/* ============ anime page responsive ============ */
@media (max-width: 1400px) {
    .hl-grid, .hl-title .hs-rec { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 1200px) {
    .hl-title .hl-dt-in { grid-template-columns: 240px minmax(0, 1fr) 280px; gap: 32px; padding: 48px 32px; }
    .hl-dt-po { width: 240px; height: 360px; }
    .hl-title .hl-dt-h1 { font-size: 40px; }
    .hl-band { padding: 48px 32px; }
    .hl-seasons { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .hl-ap-lay { grid-template-columns: minmax(0, 1fr); }
    .hl-title .hl-ap-side > :first-child { margin-top: 32px; }
}
@media (max-width: 1024px) {
    .hl-title .hl-dt-in { grid-template-columns: 200px minmax(0, 1fr); }
    .hl-dt-po { width: 200px; height: 300px; }
    .hl-title .hl-dt-h1 { font-size: 32px; }
    .hl-dt-side { grid-column: 2; position: static; max-width: 720px; }
    .hl-grid, .hl-title .hs-rec { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 14px; }
}
@media (max-width: 768px) {
    .hl-dt { margin-top: -22px; }
    .hl-title .hl-dt-in { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 32px 16px; }
    .hl-dt-po { position: relative; top: 0; width: 180px; height: 270px; }
    .hl-dt-tx, .hl-dt-side { width: 100%; max-width: 720px; }
    .hl-dt-tx { align-items: center; text-align: center; }
    .hl-title .hl-dt-h1 { font-size: 26px; }
    .hl-meta, .hl-chips { justify-content: center; }
    .hl-acts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; }
    .hl-acts > .hl-b-w { grid-column: 1 / -1; height: 45px; }
    .hl-acts > .hl-b, .hl-acts > .hl-fav { width: 100%; min-width: 0; }
    .hl-acts > :last-child:nth-child(even) { grid-column: 1 / -1; }
    .hl-dt-syn, .hl-kv { width: 100%; }
    .hl-kv { grid-template-columns: minmax(0, 1fr); }
    .hl-note { margin-left: auto; margin-right: auto; text-align: left; }
    .hl-grid, .hl-title .hs-rec { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 12px; }
}
@media (max-width: 767.98px) {
    .hl-band { padding: 48px 16px; }
    .hl-seasons { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hl-title .hl-sh .hl-etools { width: 100%; }
    .hl-title .hl-jump { flex: 1; }
    .hl-title .hl-jump input { width: 100%; }
    .hl-title .hl-eps .hs-ap-elist.is-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
}
@media (max-width: 600px) {
    .hl-dt { margin-top: -18px; } /* the shell header is 68px tall here */
}
@media (max-width: 480px) {
    .hl-seasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hl-grid, .hl-title .hs-rec { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
    .hl-title :is(.hl-grid, .hs-rec) .hs-card .ttl { font-size: 12.5px; }
    .hl-title .hl-h { font-size: 20px; }
    .hl-li .t { font-size: 14px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}

/* =====================================================================================
   WATCH PAGE
   desktop: episode panel LEFT of the player box (flex, both shrink from 20% / 380px + 100%);
   <=1200px: player first, episodes under it, no breadcrumb; <=1024px: player edge to edge.
   ===================================================================================== */
.hl-title .hs-watch { position: relative; isolation: isolate; padding-bottom: 0; }
.hl-title .hs-watch::before { content: ""; position: absolute; left: 0; right: 0; top: -72px; height: 1000px; z-index: -1; pointer-events: none; background-image: var(--hl-art, none); background-size: cover; background-position: center 30%; filter: blur(60px) brightness(0.6) saturate(0.6); opacity: 0.35; -webkit-mask: linear-gradient(180deg, #000 30%, transparent); mask: linear-gradient(180deg, #000 30%, transparent); }
.hl-title .hs-watch > .hs-main { max-width: none; margin: 0; padding: 8px 16px 0; }
.hl-title .hs-watch .hs-crumbs { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 0; font: 500 13.5px/1.5 var(--hs-f-head); color: rgba(255, 255, 255, 0.6); }
.hl-title .hs-watch .hs-crumbs a { color: rgba(255, 255, 255, 0.6) !important; }
.hl-title .hs-watch .hs-crumbs a:hover { color: #fff !important; }
.hl-title .hs-watch .hs-crumbs span[aria-hidden] { width: 4px; height: 4px; flex: none; border-radius: 50%; background: rgba(255, 255, 255, 0.25); font-size: 0; }
.hl-title .hs-watch .hs-crumbs a.d-title { font-weight: 600; color: var(--t-ac) !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.hl-title .hs-wl { display: flex; align-items: stretch; gap: 0; grid-template-columns: none; }
.hl-title .hs-wl > #w-episodes { order: -1; flex: 0 1 20%; }
/* the crumbs / player row / seasons sit in an extra side gutter on mid widths; the bottom grid does not */
.hl-title .hs-watch :is(.hs-crumbs, .hs-wl, #ani-seasons) { margin-left: var(--t-wg, 0px); margin-right: var(--t-wg, 0px); }
@media (max-width: 1400px) { .hl-title .hs-watch { --t-wg: 30px; } }
@media (max-width: 1200px) { .hl-title .hs-watch { --t-wg: 80px; } }
@media (max-width: 1024px) { .hl-title .hs-watch { --t-wg: 0px; } }
.hl-title .hs-wl > .hs-wl-main { flex: 0 1 100%; }
.hl-title .hs-wl-main { min-width: 0; display: flex; flex-direction: column; gap: 0; border-radius: 8px; overflow: hidden; border: 1px solid var(--t-line); background: transparent; }
.hl-title #player-wrapper { margin: 0; border-radius: 0; background: #000; }
.hl-title #player { aspect-ratio: auto; height: 600px; background-color: #05060A; }
.hl-title #player::before { background: rgba(0, 0, 0, 0.5); }
.hl-title #player .play span { width: 72px; height: 72px; background: var(--t-ac); color: #fff; box-shadow: 0 10px 36px rgba(30, 144, 255, 0.5); }

/* control bar */
.hl-title .hs-ctrls { display: flex; align-items: center; justify-content: space-between; flex-wrap: nowrap; min-height: 72px; margin: 0; padding: 16px; gap: 12px; border: 0; border-bottom: 1px solid var(--t-line); border-radius: 0; background: var(--t-fill); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.hl-title .hs-ctrls .left { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.hl-title .hs-ctrls .left::after { display: none; }
.hl-title .hs-ctrls .right { display: flex; flex-wrap: nowrap; justify-content: flex-end; gap: 12px; margin-left: auto; }
.hl-title .hs-ctrls .ctrl { display: inline-flex; align-items: center; gap: 8px; height: 39px; padding: 0 16px; border-radius: 6px; color: #fff; font: 500 14px/1.5 var(--hs-f-head); white-space: nowrap; }
.hl-title .hs-ctrls .left .ctrl { height: 20px; padding: 0; gap: 8px; border: 0; background: none !important; color: var(--t-tx); font: 400 13px/1.5 var(--hs-f-head); }
.hl-title .hs-ctrls .left .ctrl:hover { color: #fff; }
.hl-title .hs-ctrls .ctrl.check .sw { display: none; }
.hl-title .hs-ctrls .ctrl.check::after { content: "Off"; color: rgba(255, 255, 255, 0.4); }
.hl-title .hs-ctrls .ctrl.check:has(.sw.on)::after { content: "On"; color: var(--t-ac); }
.hl-title .hs-ctrls .right .ctrl { border: 1px solid rgba(255, 255, 255, 0.08); background: var(--t-fill-2); }
.hl-title .hs-ctrls .right .ctrl:hover { border-color: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.1); }
.hl-title .hs-ctrls .right .ctrl svg { flex: none; color: var(--t-ac); }
.hl-title .hs-ctrls .right .ctrl :is(.lb, .lbk) { display: inline; }
.hl-title .hs-ctrls .right .ctrl:is(.light, .watch2gether-create, .favourite, .report) { width: 39px; padding: 0; justify-content: center; }
.hl-title .hs-ctrls .right .ctrl:is(.light, .watch2gether-create, .report) :is(.lb, .lbk) { display: none; }
.hl-title .hs-ctrls .right .ctrl.prev, .hl-title .hs-ctrls .right .ctrl.next { order: 5; }
.hl-title .hs-ctrls .ctrl.report svg { color: #FF6B6B; }
.hl-title .hs-ctrls .ctrl.favourite > [data-toggle] { display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 0; }

/* servers: "now playing" panel (30%) | one row per language (70%) */
.hl-title #w-servers { margin: 0; padding: 0; border: 0; border-radius: 0; background: var(--t-fill); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.hl-title .hs-sv { display: grid; grid-template-columns: 30% 70%; border-top: 1px solid var(--t-line); }
.hl-title .hs-sv:not(:has(.hs-sv-h)) { display: block; }
.hl-title .hs-sv-h { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 0; padding: 8px 16px; border: 0; background: rgba(30, 144, 255, 0.18); text-align: center; }
.hl-title .hs-sv-tabs, .hl-title .hs-sv-h > .hs-sv-tab { display: none; }
.hl-title .hs-sv-hint { display: flex; flex-direction: column; align-items: center; gap: 0; margin: 0; font: 500 12px/1.35 var(--hs-f-head); color: #fff; white-space: normal; }
.hl-title .hs-sv-hint::before { content: "Now playing"; font: 500 13px/1.35 var(--hs-f-head); }
.hl-title .hs-sv-hint svg, .hl-title .hs-sv-hint > span[aria-hidden] { display: none; }
.hl-title .hs-sv-hint > span:first-of-type { font: 700 13px/1.35 var(--hs-f-head); color: var(--t-ac); }
.hl-title .hs-sv-hint > span:last-child { margin-top: 4px; }
.hl-title .hs-sv .servers { padding: 2px 16px; min-width: 0; }
.hl-title .hs-sv .type, .hl-title .hs-sv .type.is-off { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 6px 0; }
.hl-title .hs-sv .type + .type { border-top: 1px solid rgba(255, 255, 255, 0.04); }
.hl-title .hs-sv .type::before { content: attr(data-type); flex: none; min-width: 46px; font: 700 12px/1.5 var(--hs-f-head); letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.hl-title .hs-sv .type[data-type="hsub"]::before { content: "H-Sub"; }
.hl-title .hs-sv .type[data-type="adub"]::before { content: "A-Dub"; }
.hl-title .hs-sv-strip { flex: 0 1 auto; min-width: 0; max-width: 100%; gap: 6px; }
.hl-title .hs-sv .type ul { gap: 6px; padding: 0; }
.hl-title .hs-sv .type li { height: 32px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--t-ctl-bd); background: transparent; color: #fff; font: 600 12px/1.5 var(--hs-f-head); }
.hl-title .hs-sv .type li:hover { border-color: rgba(30, 144, 255, 0.6); background: rgba(30, 144, 255, 0.1); color: #fff; }
.hl-title .hs-sv .type li.active { border-color: var(--t-ac); background: var(--t-ac); color: #fff; box-shadow: none; }
.hl-title .hs-sv .type li[data-hs-meta]::after, .hl-title .hs-sv .type li[data-hs-wait]::after { display: none; }
.hl-title .hs-sv-arr { width: 32px; height: 32px; border-radius: 6px; border-color: var(--t-ctl-bd); background: var(--t-ctl); }
.hl-title .hs-srv-empty { padding: 14px 0; color: var(--t-tx-3); }
.hl-title .hs-sv .mapper-dl-row { padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, 0.04); }
.hl-title .hs-sv .mapper-dl-chip { border-radius: 6px !important; }
.hl-title .hs-wl-main > .hs-next { margin: 0; padding: 12px 16px; border: 0; border-top: 1px solid var(--t-line); border-radius: 0; background: var(--t-fill); font: 500 13px var(--hs-f-head); }
.hl-title .hs-next-cd { border-radius: 6px; background: rgba(30, 144, 255, 0.15); color: #fff; }

/* episode panel */
.hl-title #watch-main #w-episodes.hs-eps { display: flex; flex-direction: column; min-width: 0; height: auto; min-height: 0; max-height: 95vh; margin: 0; padding: 0; contain: size; border-radius: 8px; overflow: hidden; border: 1px solid var(--t-line); background: var(--t-fill); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
/* theatre mode (parent .expand): player full width, episodes under it */
.hl-title .layout-page-watchtv.expand .hs-wl { flex-direction: column; }
.hl-title .layout-page-watchtv.expand .hs-wl > #w-episodes, .hl-title .layout-page-watchtv.expand .hs-wl > .hs-wl-main { flex: none; width: 100%; order: 0; }
.hl-title #watch-main.expand #w-episodes.hs-eps { contain: none; min-height: 100px; max-height: 460px; margin-top: 16px; }
.hl-title #w-episodes.hs-eps > .body { flex: 1; min-height: 0; border-radius: 0; }
.hl-title #w-episodes .hs-ep1-h { padding: 16px 16px 12px; border: 0; background: rgba(255, 255, 255, 0.04); }
.hl-title #w-episodes .hs-ep1-h > h2.hs-sr { position: static; width: auto; height: auto; overflow: visible; clip: auto; margin: 0 0 12px; font: 700 14px/1.5 var(--hs-f-head); letter-spacing: normal; color: #fff; }
.hl-title #w-episodes .hs-ep1-bar { flex-wrap: wrap; gap: 6px; min-height: 0; }
.hl-title #w-episodes .hs-ep1-sp { display: none; }
.hl-title #w-episodes[data-hs-busy] .hs-ep1-sp { display: flex; flex: 1 1 100%; order: 9; }
.hl-title #w-episodes .hs-ep1-seg { flex: 1 1 0; min-width: 0; height: 38px; padding: 2px; border-radius: 6px; border: 1px solid var(--t-ctl-bd); background: var(--t-ctl); }
.hl-title #w-episodes .hs-ep1-seg button { flex: 1; min-width: 0; padding: 0 4px; border-radius: 4px; font: 500 12px var(--hs-f-head); color: var(--t-tx-2); }
.hl-title #w-episodes .hs-ep1-seg button.on { background: var(--t-ac); color: #fff; }
.hl-title #w-episodes .hs-ep1-ib { flex: none; width: 38px; height: 38px; border-radius: 6px; border: 1px solid var(--t-ctl-bd); background: var(--t-ctl); color: var(--t-ac); }
.hl-title #w-episodes .hs-ep1-ib:hover { color: #fff; border-color: rgba(255, 255, 255, 0.25); }
@container hs-eps (max-width: 270px) {
    .hl-title #w-episodes .hs-ep1-bar { gap: 4px; }
    .hl-title #w-episodes .hs-ep1-ib { width: 30px; }
    .hl-title #w-episodes .hs-ep1-seg button { padding: 0 2px; font-size: 11px; }
}
.hl-title #w-episodes .hs-ep1-range { order: 10; flex: 1 1 100%; }
.hl-title #w-episodes .hs-ep1-rsel { width: 100%; height: 36px; justify-content: space-between; padding: 0 12px; border-radius: 6px; border: 1px solid var(--t-ctl-bd); background: var(--t-ctl); font: 500 12px var(--hs-f-head); color: #fff; }
.hl-title #w-episodes .hs-ep1-range .dropdown-menu { width: 100%; border-radius: 6px; padding: 4px; background: #121214; border-color: var(--t-ctl-bd); }
.hl-title #w-episodes .hs-ep1-range .dropdown-item { border-radius: 6px; font-family: var(--hs-f-head); }
.hl-title #w-episodes .hs-ep1-q { background: #141416; }
.hl-title #w-episodes .hs-ep1-q input { height: 36px; border-radius: 6px; border-color: var(--t-ac); background: var(--t-ctl); font-family: var(--hs-f-head); box-shadow: none; }
.hl-title #w-episodes.hs-eps .episodes { padding: 12px; scrollbar-width: thin; scrollbar-color: var(--t-ac) transparent; }
.hl-title #w-episodes .hs-ep1-pl, .hl-title #w-episodes .hs-ep1-leg { display: none !important; }
.hl-title #w-episodes.hs-eps:is([data-view="btn"], :not([data-view])) .episodes .ep-range { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.hl-title #w-episodes.hs-eps:is([data-view="btn"], :not([data-view])) .episodes .ep-range a { height: 36px; border-radius: 6px; border: 1px solid var(--t-line); background: rgba(255, 255, 255, 0.04); font: 700 13px var(--hs-f-head); color: #fff; }
.hl-title #w-episodes.hs-eps:is([data-view="btn"], :not([data-view])) .episodes .ep-range a:hover { border-color: rgba(30, 144, 255, 0.6); background: rgba(30, 144, 255, 0.1); color: #fff; }
.hl-title #w-episodes.hs-eps:is([data-view="btn"], :not([data-view])) .episodes .ep-range a.hs-nx { border-color: rgba(30, 144, 255, 0.5); color: #fff; }
.hl-title #w-episodes.hs-eps:is([data-view="btn"], :not([data-view])) .episodes .ep-range a.filler { border-color: rgba(255, 192, 120, 0.3); background: rgba(255, 192, 120, 0.1); color: var(--t-dub); }
.hl-title #w-episodes.hs-eps:is([data-view="btn"], :not([data-view])) .episodes .ep-range a.filler::after { display: none; }
.hl-title #w-episodes.hs-eps:is([data-view="btn"], :not([data-view])) .episodes .ep-range a.active { border-color: var(--t-ac); background: var(--t-ac); color: #fff; box-shadow: 0 4px 14px rgba(30, 144, 255, 0.35); }
.hl-title #w-episodes.hs-eps[data-view="list"] .episodes .ep-range { gap: 4px; }
.hl-title #w-episodes.hs-eps[data-view="list"] .episodes .ep-range a { height: 40px; padding: 0 12px; border-radius: 6px; font: 500 13px var(--hs-f-head); }
.hl-title #w-episodes.hs-eps[data-view="list"] .episodes .ep-range li:nth-child(even) a { background: transparent; }
.hl-title #w-episodes.hs-eps[data-view="list"] .episodes .ep-range a:hover { background: rgba(255, 255, 255, 0.05); }
.hl-title #w-episodes.hs-eps:is([data-view="list"], [data-view="thumb"]) .episodes .ep-range a.active { background: rgba(30, 144, 255, 0.14); box-shadow: inset 0 0 0 1px rgba(30, 144, 255, 0.6); }
.hl-title #w-episodes.hs-eps:is([data-view="list"], [data-view="thumb"]) .episodes .ep-range a.active :is(.n, .t) { color: var(--t-ac); }
.hl-title #w-episodes.hs-eps[data-view="thumb"] .episodes .ep-range a { border-radius: 6px; font-family: var(--hs-f-head); }
.hl-title #w-episodes.hs-eps[data-view="thumb"] .episodes .ep-range a .th { border-radius: 6px; }
.hl-title #w-episodes .hs-ep1-hero, .hl-title #w-episodes .hs-ep1-hero::before { border-radius: 6px; }
.hl-title #w-episodes .hs-ep1-next { border-radius: 6px; background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.08); }
.hl-title #w-episodes .hs-ep1-play { height: 28px; padding: 0 12px; border-radius: 6px; background: var(--t-ac); }

/* seasons panel (halo/title/seasons.blade.php) */
.hl-wss { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; padding: 16px; border-radius: 8px; border: 1px solid var(--t-line); background: var(--t-fill); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.hl-title .hl-wss-h { margin: 0; font: 700 18px/1.55 var(--hs-f-head); letter-spacing: -0.025em; color: #fff; }
.hl-title .hl-wss-h span { color: var(--t-ac); }
.hl-wss-g { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.hl-wss-i { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center; min-height: 74px; padding: 12px; border-radius: 6px; overflow: hidden; border: 1px solid var(--t-line); background: rgba(255, 255, 255, 0.04); text-align: center; transition: box-shadow 0.15s, border-color 0.15s; }
.hl-wss-i img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: blur(4px); opacity: 0.7; transform: scale(1.1); }
.hl-wss-i::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)); }
.hl-wss-i .t { font: 600 13px/1.375 var(--hs-f-head); color: #fff; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hl-wss-i:hover { border-color: rgba(255, 255, 255, 0.2); }
.hl-wss-i.active { box-shadow: 0 0 0 2px var(--t-ac); }
.hl-wss-i.active .t { color: var(--t-ac); }

/* bottom: info + comments + recommended (75%) | related / trending (25%) */
.hl-title .hs-wbottom { display: grid; grid-template-columns: minmax(0, 75%) minmax(0, 25%); gap: 0 24px; margin-top: 50px; align-items: start; }
.hl-title .hs-wbottom-main { display: flex; flex-direction: column; gap: 28px; min-width: 0; margin-top: 15px; }
.hl-title .hs-wbottom-side { min-width: 0; margin-top: 15px; }
.hl-title .hs-wbottom-main > *, .hl-title .hs-wbottom-side > * { margin-top: 0; margin-bottom: 0; }
.hl-title .hs-watch .hs-sh { margin-bottom: 20px; }
.hl-title .hs-watch .hs-sh h2 { font: 800 26px/1.5 var(--hs-f-head); letter-spacing: -0.03em; color: #fff; }
.hl-title .hs-watch .hs-sh h2::before { display: none; }

/* info card (sits in the reference's cast slot) */
.hl-title .hs-info.hs-i5 { margin: 0; padding: 16px; border-radius: 8px; border: 1px solid var(--t-line); background: var(--t-fill); }
.hl-title .hs-i5-top { grid-template-columns: 100px minmax(0, 1fr) auto; gap: 0 20px; }
.hl-title .hs-i5-po img { width: 100px; border-radius: 6px; }
.hl-title .hs-i5 .hs-i5-ti { font: 700 24px/1.2 var(--hs-f-head); letter-spacing: -0.03em; color: #fff; }
.hl-title .hs-i5-names { margin-top: 4px; font: 500 13px var(--hs-f-head); color: var(--t-tx-3); width: 100%; }
.hl-title .hs-i5-ms { margin-top: 10px; gap: 8px 10px; font: 500 13px var(--hs-f-head); color: var(--t-tx-2); }
.hl-title .hs-i5-bds { gap: 6px; padding-right: 10px; border-right-color: rgba(255, 255, 255, 0.12); }
.hl-title .hs-i5-ms .hs-b { height: auto; padding: 2px 8px; border-radius: 4px; font: 600 11.5px/1.5 var(--hs-f-head); background: transparent; color: var(--t-tx-2); border: 1px solid rgba(255, 255, 255, 0.25); }
.hl-title .hs-i5-ms .hs-b-hd { border-color: transparent; padding: 2px 0; color: var(--t-ac); font-weight: 700; }
.hl-title .hs-i5-ms .hs-b-sub { border: 0; padding: 3px 7px; border-radius: 5px; background: var(--t-cc); color: var(--t-cc-tx); font-size: 10.5px; font-weight: 700; }
.hl-title .hs-i5-ms .hs-b-dub { border: 0; padding: 3px 7px; border-radius: 5px; background: var(--t-dub); color: var(--t-dub-tx); font-size: 10.5px; font-weight: 700; }
.hl-title .hs-i5-it .hs-i5-ic { color: var(--t-ac); }
.hl-title .hs-info.hs-i5 .shorting .content { font: 400 14px/1.65 var(--hs-f-head); color: var(--t-tx-2); }
.hl-title .hs-info.hs-i5 .shorting .toggle { color: var(--t-ac); font-weight: 700; }
.hl-title .hs-i5-add { height: 45px; padding: 0 24px; border-radius: 6px; background: #fff; color: #000 !important; font: 700 14px var(--hs-f-head); }
.hl-title .hs-i5-add:hover { filter: none; background: #E8E8EA; }
.hl-title .hs-info.hs-i5 .hs-rate { margin-top: 14px; }
.hl-title .hs-i5 .hs-rate #w-rating.hs-r3 { padding: 10px 14px; border-radius: 6px; border-color: rgba(255, 255, 255, 0.08); background: rgba(255, 255, 255, 0.03); }
.hl-title .hs-i5 .hs-r3 .hs-r3-r .kick { font: 500 11px var(--hs-f-head); letter-spacing: 0; text-transform: none; color: rgba(255, 255, 255, 0.45); }
.hl-title .hs-i5 .hs-r3 .hs-r3-r { border-right-color: rgba(255, 255, 255, 0.08); }
.hl-title .hs-i5-det { margin-top: 12px; border-radius: 6px; border-color: rgba(255, 255, 255, 0.08); }
.hl-title .hs-i5-det > summary { padding: 11px 14px; font-family: var(--hs-f-head); border-radius: 6px; }
.hl-title .hs-i5-det[open] > summary { border-radius: 6px 6px 0 0; border-bottom-color: rgba(255, 255, 255, 0.08); }
.hl-title .hs-i5-det .sk svg { color: var(--t-ac); }
.hl-title .hs-i5-dg > div { border-color: rgba(255, 255, 255, 0.06); }
.hl-title .hs-i5-dg dt { font: 500 12px var(--hs-f-head); color: rgba(255, 255, 255, 0.45); }
.hl-title .hs-i5-dg dt .hs-i5-ic { color: var(--t-ac); }
.hl-title .hs-i5-dg dd { font: 500 13px var(--hs-f-head); color: rgba(255, 255, 255, 0.9); }
.hl-title .hs-i5-chip { height: auto; padding: 5px 12px; border-radius: 10px; border-color: rgba(255, 255, 255, 0.08); background: var(--t-fill-2); color: rgba(255, 255, 255, 0.85) !important; font: 600 12px/1.5 var(--hs-f-head); }

/* share bar + discussion header (4px accent bar + 18px title) */
.hl-title .bsharing.hs-share { padding: 12px 16px; border-radius: 8px; border-color: var(--t-line); background: var(--t-fill); font-family: var(--hs-f-head); font-weight: 500; color: var(--t-tx-2); }
.hl-title .hs-comments.hs-panel { padding: 0; border: 0; border-radius: 0; background: transparent; }
.hl-title .hs-watch #comments .hs-sh { margin-bottom: 16px; padding: 0 4px; }
.hl-title .hs-watch #comments .hs-sh h2 { display: flex; align-items: center; gap: 8px; font: 700 18px/1.55 var(--hs-f-head); letter-spacing: -0.025em; }
.hl-title .hs-watch #comments .hs-sh h2::before { content: ""; display: block; width: 4px; height: 24px; border-radius: 10px; background: var(--t-ac); }
.hl-title .hs-watch #comments .hs-sh h2 span { color: inherit; }

/* sidebar: related / trending lists like the anime page */
.hl-title #w-related, .hl-title #w-popular { padding: 0; border: 0; border-radius: 0; background: transparent; }
.hl-title .hs-wbottom-side .hs-sh { margin-bottom: 24px; }
.hl-title .hs-wbottom-side .hs-sh h2, .hl-title .hs-wbottom-side .hs-h2 { font: 700 24px/1.33 var(--hs-f-head) !important; letter-spacing: -0.03em; color: var(--t-ac); }
.hl-title .hs-wbottom-side .hs-sh h2 span, .hl-title .hs-wbottom-side .hs-h2 span { color: inherit; }
.hl-title .hs-wbottom-side .hs-h2 svg { display: none; }
.hl-title .hs-rel-n { font: 500 12px var(--hs-f-head); color: var(--t-tx-3); }
.hl-title .hs-rel3, .hl-title .hs-wbottom-side .hs-trend2.col { display: flex; flex-direction: column; gap: 0; padding: 32px 16px 16px; background: #000; }
.hl-title .hs-rel3 a, .hl-title .hs-wbottom-side .hs-tr { position: relative; display: flex; align-items: center; gap: 16px; height: auto; padding: 0 0 16px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); border-radius: 0; background: transparent; overflow: visible; }
.hl-title .hs-rel3 a + a, .hl-title .hs-wbottom-side .hs-tr + .hs-tr { margin-top: 16px; }
.hl-title .hs-rel3 a:last-child, .hl-title .hs-wbottom-side .hs-tr:last-child { border-bottom: 0; }
.hl-title .hs-rel3 a.rel-collapse-hidden { display: none; }
.hl-title .hs-rel3 a::before, .hl-title .hs-wbottom-side .hs-tr .bg, .hl-title .hs-wbottom-side .hs-tr::after, .hl-title .hs-wbottom-side .hs-tr .rk { display: none; }
.hl-title .hs-rel3 a img { position: static; flex: none; width: 60px; height: 75px; border-radius: 6px; object-fit: cover; z-index: 0; transform: none !important; }
.hl-title .hs-rel3 a:hover, .hl-title .hs-wbottom-side .hs-tr:hover { transform: none; background: transparent; }
.hl-title .hs-rel3 .tx, .hl-title .hs-wbottom-side .hs-tr .tx { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; flex: 1; }
.hl-title .hs-rel3 .t, .hl-title .hs-wbottom-side .hs-tr .t { order: 1; max-width: 100%; font: 500 16px/1.5 var(--hs-f-head); color: var(--t-tx); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.hl-title .hs-rel3 a:hover .t, .hl-title .hs-wbottom-side .hs-tr:hover .t { color: var(--t-ac); }
.hl-title .hs-rel3 .hs-rtag { order: 2; height: auto; margin: 0; padding: 2px 6px; border-radius: 4px; font: 600 11px/18px var(--hs-f-head); letter-spacing: 0; text-transform: none; }
.hl-title .hs-rel3 .m, .hl-title .hs-wbottom-side .hs-tr .m { order: 3; font: 300 15px/1.5 var(--hs-f-head); color: var(--t-tx); }
.hl-title .hs-wbottom-side .hs-tr .ps { flex: none; width: 60px; height: 75px; border-radius: 6px; overflow: hidden; }
.hl-title .hs-wbottom-side .hs-tr .ps img { width: 100%; height: 100%; object-fit: cover; }
.hl-title .rel-collapse-toggle { height: 48px !important; margin-top: 16px !important; border-radius: 6px !important; background: var(--t-ac) !important; border: 0 !important; color: #fff !important; font: 700 16px var(--hs-f-head) !important; box-shadow: none !important; }
.hl-title .hs-wbottom-side .hs-pill-sm { position: static; order: 2; background: none !important; border: 0 !important; gap: 4px; height: auto; overflow: visible; backdrop-filter: none; -webkit-backdrop-filter: none; }
.hl-title .hs-wbottom-side .hs-pill-sm > span { padding: 2px 4px; border-radius: 4px; border: 0 !important; font: 600 11px/18px var(--hs-f-head); }
.hl-title .hs-wbottom-side .hs-pill-sm > span + span { border-left: 0 !important; }
.hl-title .hs-wbottom-side .hs-pill-sm .s { background: #B0E3AF !important; color: #000 !important; }
.hl-title .hs-wbottom-side .hs-pill-sm .d { background: #B9E7FF !important; color: #000 !important; }
.hl-title .hs-wbottom-side .hs-pill-sm .t { background: rgba(255, 255, 255, 0.08) !important; color: #fff !important; }

/* report modal */
.hl-title #w-report .modal-content { border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.08); background: #111113; }
.hl-title .hs-rep-who, .hl-title .hs-rep-opt { border-radius: 6px; }

/* ---------- watch responsive ---------- */
@media (max-width: 1400px) {
    .hl-title .hs-wl > #w-episodes { flex-basis: 380px; }
    .hl-title #player { height: 48vw; }
}
@media (max-width: 1200px) {
    .hl-title .hs-watch .hs-crumbs { display: none; }
    .hl-title .hs-wl { flex-direction: column-reverse; }
    .hl-title .hs-wl > #w-episodes, .hl-title .hs-wl > .hs-wl-main { flex: none; width: 100%; }
    .hl-title #watch-main #w-episodes.hs-eps { contain: none; height: auto; min-height: 100px; max-height: 60vh; }
    .hl-title #w-episodes .hs-ep1-range { order: 0; flex: 0 0 auto; }
    .hl-title #w-episodes .hs-ep1-rsel { width: auto; gap: 10px; }
    .hl-title #w-episodes .hs-ep1-seg { flex: 0 0 auto; }
    .hl-title #w-episodes.hs-eps:is([data-view="btn"], :not([data-view])) .episodes .ep-range { grid-template-columns: repeat(10, minmax(0, 1fr)); }
    .hl-title #player { height: 55vw; }
    .hl-title .hs-wbottom { display: flex; flex-direction: column; gap: 24px; }
    .hl-title .hs-wbottom-main, .hl-title .hs-wbottom-side { width: 100%; }
}
@media (max-width: 1024px) {
    .hl-title .hs-watch > .hs-main { padding: 8px 0 0; }
    .hl-title #player { height: 62vw; }
    .hl-title .hs-wbottom { padding: 0 16px; }
    .hl-wss-g { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .hl-title #w-episodes.hs-eps:is([data-view="btn"], :not([data-view])) .episodes .ep-range { grid-template-columns: repeat(8, minmax(0, 1fr)); }
    .hl-title .hs-sv { grid-template-columns: 40% 60%; }
    .hl-title .hs-ctrls .left { flex-direction: column; gap: 6px; }
}
@media (max-width: 768px) {
    .hl-wss-g { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hl-title .hs-i5-top { grid-template-columns: 88px minmax(0, 1fr); gap: 0 14px; }
    .hl-title .hs-i5-po img { width: 88px; }
    .hl-title .hs-i5 .hs-i5-ti { font-size: 20px; }
    .hl-title .hs-i5-acts, .hl-title .hs-i5-fav, .hl-title .hs-i5-add { width: 100%; }
}
@media (max-width: 760px) {
    .hl-title .hs-watch > .hs-main { padding-top: 8px; }
    .hl-title #player-wrapper { margin: 0; }
    .hl-title .hs-ctrls .left, .hl-title .hs-ctrls .right { flex-wrap: nowrap; }
    .hl-title .hs-ctrls { flex-wrap: wrap; row-gap: 8px; }
    .hl-title .hs-ctrls .right .ctrl { width: 39px; padding: 0; justify-content: center; }
    .hl-title .hs-ctrls .right .ctrl :is(.lb, .lbk) { display: none; }
}
@media (max-width: 600px) {
    .hl-title #player { height: 70vw; }
    .hl-title .hs-watch > .hs-main { padding-top: 12px; }
}
@media (max-width: 575px) {
    .hl-title #w-episodes.hs-eps:is([data-view="btn"], :not([data-view])) .episodes .ep-range { grid-template-columns: repeat(7, minmax(0, 1fr)); }
    .hl-title .hs-ctrls { min-height: 45px; padding: 8px 6px; gap: 6px; flex-wrap: wrap; }
    .hl-title .hs-ctrls .left { flex-direction: row; flex-wrap: nowrap; gap: 6px; }
    .hl-title .hs-ctrls .left .ctrl { font-size: 10px; }
    .hl-title .hs-ctrls .ctrl.check::after { display: none; }
    .hl-title .hs-ctrls .ctrl.check:has(.sw.on) { color: var(--t-ac); }
    .hl-title .hs-ctrls .right { gap: 2px; flex-wrap: nowrap; }
    .hl-title .hs-ctrls .right .ctrl, .hl-title .hs-ctrls .right .ctrl:is(.light, .watch2gether-create, .favourite, .report) { width: 26px; height: 26px; padding: 0; justify-content: center; border-radius: 6px; }
    .hl-title .hs-ctrls .right .ctrl :is(.lb, .lbk) { display: none; }
    .hl-title .hs-ctrls .right .ctrl svg { width: 14px; height: 14px; }
    .hl-title .hs-sv { display: flex; flex-direction: column; }
    .hl-title .hs-sv-h { padding: 8px 16px 4px; background: transparent; }
    .hl-title .hs-sv .type, .hl-title .hs-sv .type.is-off { align-items: center; }
    .hl-title .hs-sv .type li { height: 31px; padding: 0 10px; font-size: 11px; }
}
@media (max-width: 480px) {
    .hl-wss-g { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hl-title .hs-watch .hs-sh h2 { font-size: 20px; }
    .hl-title #w-episodes.hs-eps:is([data-view="btn"], :not([data-view])) .episodes .ep-range { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 350px) {
    .hl-title #w-episodes.hs-eps:is([data-view="btn"], :not([data-view])) .episodes .ep-range { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
