/* Movies / TV / Anime hub pages (views/media-hub.ejs).
   Animations only touch opacity/transform so scrolling stays on the compositor. */

.hub [hidden] { display: none !important; }

.hub-page {
  --hub-accent: #e50914;
  --hub-accent-soft: rgba(229, 9, 20, 0.18);
  --hub-bg: #07070a;
  --hub-card-w: 168px;
  --hub-gap: 14px;
  --hub-pad: clamp(16px, 4vw, 56px);
  background: var(--hub-bg);
}
.hub-page--tv { --hub-accent: #3b82f6; --hub-accent-soft: rgba(59, 130, 246, 0.18); }
.hub-page--anime { --hub-accent: #a855f7; --hub-accent-soft: rgba(168, 85, 247, 0.2); }
.hub-page--manga { --hub-accent: #f97316; --hub-accent-soft: rgba(249, 115, 22, 0.18); }
.hub-page--games { --hub-accent: #22c55e; --hub-accent-soft: rgba(34, 197, 94, 0.16); }
.hub-page--software { --hub-accent: #06b6d4; --hub-accent-soft: rgba(6, 182, 212, 0.16); }
.hub-page--vst { --hub-accent: #ec4899; --hub-accent-soft: rgba(236, 72, 153, 0.16); }
.hub-page--sports { --hub-accent: #ef4444; --hub-accent-soft: rgba(239, 68, 68, 0.16); }

.hub { position: relative; z-index: 1; padding-bottom: 48px; color: #fff; }
.hub-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Featured hero ---------- */
.hub-hero {
  position: relative;
  height: clamp(440px, 74vh, 720px);
  margin-top: -49px; /* run under the fixed header + mirror bar */
  overflow: hidden;
  background: #000;
}
.hub-slide {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 0.7s ease, visibility 0s linear 0.7s;
}
.hub-slide.is-active { opacity: 1; visibility: visible; transition: opacity 0.7s ease; }
.hub-slide-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 20%;
  background: #000;
  transform: scale(1.04);
  transition: transform 9s ease-out;
}
.hub-slide.is-active .hub-slide-bg { transform: scale(1); }
.hub-slide::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 7, 10, 0.85) 0%, rgba(7, 7, 10, 0) 26%),
    linear-gradient(90deg, rgba(7, 7, 10, 0.92) 0%, rgba(7, 7, 10, 0.55) 38%, rgba(7, 7, 10, 0) 70%),
    linear-gradient(0deg, var(--hub-bg) 0%, rgba(7, 7, 10, 0) 42%);
}
.hub-slide-body {
  position: absolute; z-index: 1; left: var(--hub-pad); bottom: 76px;
  width: min(620px, calc(100% - 2 * var(--hub-pad)));
}
.hub-kind {
  display: inline-block; margin-bottom: 14px; padding: 5px 12px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff; background: var(--hub-accent-soft);
  border-left: 3px solid var(--hub-accent); border-radius: 4px;
}
.hub-slide-title {
  margin: 0 0 12px; font-size: clamp(1.9rem, 4.6vw, 3.6rem); line-height: 1.04;
  font-weight: 800; letter-spacing: -0.02em; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}
.hub-slide-meta {
  display: flex; flex-wrap: wrap; align-items: center; margin-bottom: 14px;
  font-size: 0.92rem; color: rgba(255, 255, 255, 0.82);
}
.hub-slide-meta > span { margin-right: 14px; }
.hub-star { color: #fbbf24; font-weight: 700; }
.hub-slide-overview {
  margin: 0 0 22px; max-width: 560px; font-size: 1rem; line-height: 1.55; color: rgba(255, 255, 255, 0.86);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.hub-slide-actions { display: flex; flex-wrap: wrap; }
.hub-slide-actions .hub-btn { margin: 0 12px 10px 0; }

.hub-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 22px; border-radius: 8px;
  font-weight: 700; font-size: 0.95rem; text-decoration: none; color: #fff;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.hub-btn svg { width: 20px; height: 20px; margin-right: 8px; fill: currentColor; }
.hub-btn:hover { transform: translateY(-1px); }
.hub-btn:focus-visible, .hub-card:focus-visible, .hub-top-card:focus-visible, .hub-genre:focus-visible,
.hub-jump a:focus-visible, .hub-more:focus-visible, .hub-hero-arrow:focus-visible, .hub-dot:focus-visible {
  outline: 3px solid #fff; outline-offset: 3px;
}
.hub-btn--primary { background: var(--hub-accent); }
.hub-btn--primary:hover { background: color-mix(in srgb, var(--hub-accent) 82%, #fff); }
.hub-btn--ghost { background: rgba(255, 255, 255, 0.14); }
.hub-btn--ghost:hover { background: rgba(255, 255, 255, 0.24); }

.hub-hero-controls {
  position: absolute; z-index: 2; left: var(--hub-pad); right: var(--hub-pad); bottom: 26px;
  display: flex; align-items: center; justify-content: flex-end;
}
.hub-hero-dots { display: flex; margin: 0 10px; }
.hub-dot {
  width: 28px; height: 4px; margin: 0 3px; padding: 0; border: 0; border-radius: 2px; cursor: pointer;
  background: rgba(255, 255, 255, 0.32); transition: background-color 0.2s ease, width 0.2s ease;
}
.hub-dot.is-active { width: 44px; background: var(--hub-accent); }
.hub-hero-arrow {
  width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, 0.14);
}
.hub-hero-arrow:hover { background: rgba(255, 255, 255, 0.26); }
.hub-hero-arrow svg { width: 24px; height: 24px; fill: currentColor; }

/* ---------- Section jump bar ---------- */
.hub-jump {
  display: flex; overflow-x: auto; scrollbar-width: none;
  padding: 6px var(--hub-pad) 4px; margin: 6px 0 8px;
}
.hub-jump::-webkit-scrollbar { display: none; }
.hub-jump a {
  flex: 0 0 auto; margin-right: 8px; padding: 8px 14px; border-radius: 999px;
  font-size: 0.85rem; font-weight: 600; white-space: nowrap; text-decoration: none;
  color: rgba(255, 255, 255, 0.82); background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.hub-jump a:hover { color: #fff; background: rgba(255, 255, 255, 0.14); }
.hub-jump .hub-jump-all { color: #fff; background: var(--hub-accent-soft); border-color: var(--hub-accent); }

/* ---------- Rows ---------- */
.hub-row, .hub-browse {
  position: relative; margin-top: 26px; scroll-margin-top: 120px;
  content-visibility: auto; contain-intrinsic-size: auto 340px;
}
.hub-row--top10 { content-visibility: visible; }
.hub-row-head {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 0 var(--hub-pad); margin-bottom: 12px;
}
.hub-row-head h2 { margin: 0; font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 750; letter-spacing: -0.01em; }
.hub-more { font-size: 0.88rem; font-weight: 600; color: rgba(255, 255, 255, 0.7); text-decoration: none; white-space: nowrap; }
.hub-more:hover { color: var(--hub-accent); }

.hub-scroller { position: relative; }
.hub-track {
  display: flex; margin: 0; padding: 4px var(--hub-pad) 14px; list-style: none;
  /* overflow-y: hidden — Top 10 ranks hang below the posters; without it the row
     also scrolls vertically and swallows the page's wheel scrolling. */
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
  scroll-padding-left: var(--hub-pad); scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.hub-track::-webkit-scrollbar { display: none; }
.hub-track > li { flex: 0 0 auto; margin-right: var(--hub-gap); scroll-snap-align: start; }
.hub-track > li:last-child { margin-right: 0; }

.hub-row-arrow {
  position: absolute; z-index: 3; top: 4px; bottom: 14px; width: calc(var(--hub-pad) - 4px); min-width: 36px;
  padding: 0; border: 0; cursor: pointer; color: #fff; opacity: 0;
  display: grid; place-items: center; transition: opacity 0.2s ease;
}
.hub-row-arrow svg { width: 30px; height: 30px; fill: currentColor; }
.hub-row-arrow--prev { left: 0; background: linear-gradient(90deg, rgba(7, 7, 10, 0.92), rgba(7, 7, 10, 0)); }
.hub-row-arrow--next { right: 0; background: linear-gradient(270deg, rgba(7, 7, 10, 0.92), rgba(7, 7, 10, 0)); }
.hub-row-arrow[hidden] { display: none; }
@media (hover: hover) and (pointer: fine) {
  .hub-scroller:hover .hub-row-arrow, .hub-row-arrow:focus-visible { opacity: 1; }
}

.hub-card { display: block; width: var(--hub-card-w); text-decoration: none; color: #fff; }
.hub-card-art {
  position: relative; display: block; aspect-ratio: 2 / 3; border-radius: 10px; overflow: hidden;
  background: #15151c; transition: transform 0.2s ease;
}
@supports not (aspect-ratio: 1) { .hub-card-art { height: calc(var(--hub-card-w) * 1.5); } }
.hub-poster { display: block; width: 100%; height: 100%; object-fit: cover; background: #15151c; }
.hub-card:hover .hub-card-art { transform: translateY(-4px) scale(1.03); }
.hub-badge {
  position: absolute; top: 8px; left: 8px; padding: 3px 7px; border-radius: 6px;
  font-size: 0.72rem; font-weight: 700; color: #fbbf24; background: rgba(0, 0, 0, 0.72);
}
.hub-card-title {
  display: block; margin-top: 9px; font-size: 0.88rem; font-weight: 600; line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hub-card-meta {
  display: block; margin-top: 3px; font-size: 0.76rem; color: rgba(255, 255, 255, 0.55);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Top 10: oversized outlined rank numbers behind each poster */
.hub-top-item { counter-increment: none; }
.hub-top-card {
  position: relative; display: flex; align-items: flex-end; height: calc(var(--hub-card-w) * 1.5);
  padding-left: 74px; text-decoration: none;
}
.hub-top-card .hub-poster {
  position: relative; z-index: 1; width: var(--hub-card-w); height: 100%; border-radius: 10px;
  box-shadow: -6px 0 18px rgba(0, 0, 0, 0.6); transition: transform 0.2s ease;
}
.hub-top-card:hover .hub-poster { transform: translateY(-4px) scale(1.03); }
.hub-rank {
  position: absolute; left: 0; bottom: -18px; z-index: 0;
  font-size: calc(var(--hub-card-w) * 1.05); font-weight: 900; line-height: 1; letter-spacing: -0.06em;
  color: var(--hub-bg); -webkit-text-stroke: 3px rgba(255, 255, 255, 0.55);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.hub-top-item:first-child .hub-rank { -webkit-text-stroke-color: var(--hub-accent); }
.hub-top-item:nth-child(10) .hub-top-card { padding-left: 128px; }

/* ---------- Browse ---------- */
.hub-browse { padding-bottom: 8px; }
.hub-genres { display: flex; flex-wrap: wrap; padding: 0 var(--hub-pad); }
.hub-genre {
  margin: 0 10px 10px 0; padding: 12px 18px; border-radius: 10px;
  font-weight: 650; font-size: 0.92rem; text-decoration: none; color: #fff;
  background: linear-gradient(135deg, var(--hub-accent-soft), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.08); transition: border-color 0.15s ease, transform 0.15s ease;
}
.hub-genre:hover { border-color: var(--hub-accent); transform: translateY(-1px); }
.hub-browse-cta { display: flex; flex-wrap: wrap; padding: 14px var(--hub-pad) 0; }
.hub-browse-cta .hub-btn { margin: 0 12px 12px 0; }

/* ---------- Browse grids (manga and other catalogues) ---------- */
.hub-plain { padding-top: 96px; }
.hub-browse-head { padding: 0 var(--hub-pad); margin-bottom: 18px; }
.hub-browse-head h1 { margin: 8px 0 14px; font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; }
.hub-back { display: inline-block; font-size: 0.88rem; font-weight: 600; color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.hub-back:hover { color: var(--hub-accent); }
.hub-search { display: flex; max-width: 640px; margin-bottom: 12px; }
.hub-search input {
  flex: 1 1 auto; min-width: 0; min-height: 46px; margin-right: 10px; padding: 0 16px; border-radius: 8px;
  font-size: 1rem; color: #fff; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14);
}
.hub-search input:focus { outline: 2px solid var(--hub-accent); outline-offset: 1px; }
.hub-jump--wrap { flex-wrap: wrap; overflow: visible; padding-left: 0; padding-right: 0; margin: 4px 0; }
.hub-jump--wrap a { margin-bottom: 8px; }
.hub-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(var(--hub-card-w), 1fr));
  grid-gap: 22px var(--hub-gap); margin: 0; padding: 0 var(--hub-pad); list-style: none;
}
.hub-grid .hub-card { width: auto; }
.hub-badge--kind { top: auto; bottom: 8px; color: #fff; background: rgba(0, 0, 0, 0.72); }
.hub-empty { padding: 40px var(--hub-pad); color: rgba(255, 255, 255, 0.7); }
.hub-pager { display: flex; align-items: center; justify-content: center; padding: 28px var(--hub-pad) 0; color: rgba(255, 255, 255, 0.7); }
.hub-pager > * { margin: 0 8px; }

/* ---------- Manga title page ---------- */
.mt-hero { position: relative; margin-top: -49px; padding: 150px var(--hub-pad) 28px; overflow: hidden; }
.mt-banner {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0.35; filter: saturate(1.1);
}
.mt-hero::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 7, 10, 0.75) 0%, rgba(7, 7, 10, 0.55) 40%, var(--hub-bg) 100%);
}
.mt-hero-body { position: relative; z-index: 1; display: flex; align-items: flex-end; }
.mt-cover {
  flex: 0 0 auto; width: 230px; height: 345px; margin-right: 32px; border-radius: 12px; object-fit: cover;
  background: #15151c; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
}
.mt-info { min-width: 0; max-width: 760px; }
.mt-title { margin: 0 0 10px; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.05; font-weight: 800; letter-spacing: -0.02em; }
.mt-status { text-transform: capitalize; }
.mt-genres { display: flex; flex-wrap: wrap; margin-bottom: 8px; }
.mt-genres .hub-genre { padding: 6px 12px; font-size: 0.8rem; margin: 0 8px 8px 0; }
.mt-overview {
  margin: 4px 0 18px; font-size: 0.98rem; line-height: 1.6; color: rgba(255, 255, 255, 0.84); white-space: pre-line;
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden;
}
.mt-chapters { content-visibility: visible; }
.mt-order { background: none; border: 0; cursor: pointer; padding: 0; }
.mt-chapter-state { padding: 0 var(--hub-pad); margin-bottom: 12px; color: rgba(255, 255, 255, 0.65); font-size: 0.9rem; }
.mt-chapter-state.is-error { color: #fca5a5; }
.mt-chapter-list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); grid-gap: 8px 12px;
  margin: 0; padding: 0 var(--hub-pad); list-style: none; max-height: 640px; overflow-y: auto;
}
.mt-chapter {
  display: flex; justify-content: space-between; align-items: center; min-height: 48px; padding: 10px 14px;
  border-radius: 8px; color: #fff; text-decoration: none; background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.mt-chapter:hover, .mt-chapter:focus-visible { border-color: var(--hub-accent); background: var(--hub-accent-soft); outline: none; }
.mt-chapter-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; font-size: 0.9rem; }
.mt-chapter-date { flex: 0 0 auto; margin-left: 10px; font-size: 0.75rem; color: rgba(255, 255, 255, 0.5); }

/* ---------- Manga reader ---------- */

@media (max-width: 700px) {
  .mt-hero { padding-top: 110px; }
  .mt-hero-body { flex-direction: column; align-items: flex-start; }
  .mt-cover { width: 150px; height: 225px; margin: 0 0 18px; }
  .mt-chapter-list { max-height: none; }
  .hub-plain { padding-top: 84px; }
}

/* ---------- Spotlight hero (games / software / VST / sports) ---------- */
.hub-hero--spot { height: clamp(420px, 62vh, 600px); }
.hub-slide-bg--blur { filter: blur(28px) brightness(0.45) saturate(1.3); transform: scale(1.15); }
.hub-slide.is-active .hub-slide-bg--blur { transform: scale(1.1); }
.hub-spot {
  position: absolute; z-index: 1; left: var(--hub-pad); right: var(--hub-pad); bottom: 76px; top: 110px;
  display: flex; align-items: center; justify-content: space-between;
}
.hub-slide-body--spot { position: static; width: auto; flex: 1 1 46%; max-width: 560px; margin-right: 40px; }
.hub-spot-art { flex: 0 1 52%; max-width: 680px; }
.hub-spot-art img {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.hub-live-dot {
  display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%;
  background: #ef4444; box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25); vertical-align: middle;
}
.hub-versus { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; border-radius: 14px; background: rgba(255, 255, 255, 0.05); }
.hub-versus img { width: 30%; max-width: 160px; height: auto; object-fit: contain; }
.hub-versus b { margin: 0 6%; font-size: 1.4rem; color: rgba(255, 255, 255, 0.7); }
.hub-versus--sm { height: 100%; aspect-ratio: auto; border-radius: 0; }
.hub-versus--sm b { font-size: 0.9rem; }

/* Wide (16:9) cards for header art */
.hub-card--wide { width: calc(var(--hub-card-w) * 1.75); }
.hub-card-art--wide { aspect-ratio: 16 / 9; }
@supports not (aspect-ratio: 1) { .hub-card-art--wide { height: calc(var(--hub-card-w) * 0.98); } }
.hub-card-fallback {
  display: flex; align-items: center; justify-content: center; height: 100%; padding: 10px; text-align: center;
  font-weight: 700; font-size: 0.9rem; color: rgba(255, 255, 255, 0.8);
  background: linear-gradient(135deg, var(--hub-accent-soft), rgba(255, 255, 255, 0.03));
}
.hub-badge--live { color: #fff; background: #dc2626; letter-spacing: 0.06em; }
.hub-seo { padding: 18px var(--hub-pad) 0; }
@media (max-width: 900px) {
  .hub-spot { flex-direction: column-reverse; justify-content: flex-end; top: 96px; bottom: 64px; }
  .hub-spot-art { width: 100%; max-width: 520px; margin-bottom: 18px; }
  .hub-slide-body--spot { margin-right: 0; max-width: none; width: 100%; }
  .hub-hero--spot { height: auto; min-height: 640px; }
}
@media (max-width: 600px) {
  .hub-hero--spot { min-height: 600px; }
  .hub-slide-body--spot .hub-slide-title { font-size: 1.6rem; }
}

/* ---------- Homepage (views/home-hub.ejs) ---------- */
.hub-page--home { --hub-accent: #d946ef; --hub-accent-soft: rgba(217, 70, 239, 0.16); }
.home-sec--movie { --hub-accent: #e50914; } .home-sec--tv { --hub-accent: #3b82f6; }
.home-sec--anime { --hub-accent: #a855f7; } .home-sec--manga { --hub-accent: #f97316; }
.home-sec--games { --hub-accent: #22c55e; } .home-sec--software { --hub-accent: #06b6d4; }
.home-sec--sports { --hub-accent: #ef4444; }
.home-sec .hub-row-head h2 { border-left: 4px solid var(--hub-accent); padding-left: 12px; }
.home-sec-sub { margin: 4px 0 0 16px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }

.home-bento {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-gap: 14px;
  padding: 104px var(--hub-pad) 0;
}
.home-bento-main.hub-hero { height: auto; min-height: 520px; margin-top: 0; border-radius: 18px; }
.home-bento-main .hub-slide-body { bottom: 64px; }
.home-bento-main .hub-slide-title { font-size: clamp(1.8rem, 3.6vw, 3rem); }
.home-bento-tiles { display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); grid-gap: 14px; }
.home-sec { margin-top: 44px; }
.home-seo { margin-top: 48px; opacity: 0.85; }
.home-tile {
  position: relative; display: block; min-height: 118px; overflow: hidden; border-radius: 14px;
  background: #121218; text-decoration: none; color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.07); transition: transform 0.2s ease, border-color 0.2s ease;
}
.home-tile > img, .home-tile > .hub-versus {
  position: absolute; top: 0; left: 0; width: 100%; height: 100% !important; object-fit: cover;
}
.home-tile::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(90deg, rgba(7, 7, 10, 0.92) 0%, rgba(7, 7, 10, 0.55) 55%, rgba(7, 7, 10, 0.1) 100%);
}
.home-tile:hover { transform: translateY(-2px); border-color: var(--tile-accent, #fff); }
.home-tile--sports { --tile-accent: #ef4444; } .home-tile--tv { --tile-accent: #3b82f6; }
.home-tile--anime { --tile-accent: #a855f7; } .home-tile--games { --tile-accent: #22c55e; }
.home-tile-body { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 12px; }
.home-tile-kind, .home-tile-title, .home-tile-meta { text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 0 12px rgba(0, 0, 0, 0.6); }
.home-tile-kind {
  display: inline-block; margin-bottom: 4px; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--tile-accent, #fff);
}
.home-tile-title { display: block; font-weight: 750; font-size: 1.02rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-tile-meta { display: block; margin-top: 2px; font-size: 0.78rem; color: rgba(255, 255, 255, 0.65); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.home-jump {
  position: -webkit-sticky; position: sticky; top: 60px; z-index: 20; align-items: center;
  margin: 18px 0 6px; padding-top: 10px; padding-bottom: 10px;
  background: rgba(7, 7, 10, 0.94); border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.home-jump-label {
  flex: 0 0 auto; margin-right: 12px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--hub-accent);
}
.home-jump-badge { margin-left: 6px; padding: 1px 7px; border-radius: 999px; font-size: 0.7rem; color: #fff; background: #dc2626; }

@media (max-width: 900px) {
  .home-bento { grid-template-columns: 1fr; padding-top: 88px; }
  .home-bento-main.hub-hero { min-height: 480px; }
  .home-bento-tiles { grid-template-rows: none; grid-template-columns: 1fr 1fr 1fr; }
  .home-sec { margin-top: 32px; }
  .home-tile { min-height: 130px; }
  .home-tile::after { background: linear-gradient(0deg, rgba(7, 7, 10, 0.96) 0%, rgba(7, 7, 10, 0.7) 55%, rgba(7, 7, 10, 0.35) 100%); }
}
@media (max-width: 600px) {
  .home-bento-main.hub-hero { min-height: 460px; border-radius: 14px; }
  .home-tile-title { font-size: 0.92rem; }
  .home-bento-tiles { grid-template-columns: 1fr; }
  .home-tile { min-height: 96px; }
  .home-jump { top: 56px; }
}

/* ---------- Realtime search (views/partials/hub-search.ejs) ---------- */
.hub-rsearch { position: relative; max-width: 640px; margin: 0 0 14px; }
.hub-rsearch-icon { position: absolute; left: 14px; top: 13px; width: 22px; height: 22px; fill: rgba(255, 255, 255, 0.5); pointer-events: none; }
.hub-rsearch-input {
  display: block; width: 100%; min-height: 48px; padding: 0 16px 0 44px; border-radius: 12px; box-sizing: border-box;
  font-size: 1rem; color: #fff; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14);
}
.hub-rsearch-input:focus { outline: 2px solid var(--hub-accent); outline-offset: 1px; background: rgba(255, 255, 255, 0.1); }
.hub-rsearch-panel {
  position: absolute; z-index: 60; top: calc(100% + 6px); left: 0; right: 0; max-height: 420px; overflow-y: auto;
  padding: 6px; border-radius: 12px; background: #121218; border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}
.hub-rsearch-item {
  display: flex; align-items: center; padding: 6px 8px; border-radius: 8px; color: #fff; text-decoration: none;
}
.hub-rsearch-item:hover, .hub-rsearch-item.is-active { background: rgba(255, 255, 255, 0.08); }
.hub-rsearch-item img { flex: 0 0 auto; width: 40px; height: 58px !important; margin-right: 12px; border-radius: 6px; object-fit: cover; background: #1c1c24; }
.hub-rsearch-text { min-width: 0; }
.hub-rsearch-title { display: block; font-weight: 650; font-size: 0.92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hub-rsearch-meta { display: block; margin-top: 2px; font-size: 0.76rem; color: rgba(255, 255, 255, 0.55); }
.hub-rsearch-empty { margin: 0; padding: 12px; font-size: 0.88rem; color: rgba(255, 255, 255, 0.6); }
.hub-rsearch-all {
  display: block; width: 100%; margin-top: 4px; padding: 10px; border: 0; border-radius: 8px; cursor: pointer;
  font-weight: 700; font-size: 0.86rem; color: #fff; background: var(--hub-accent-soft);
}
.hub-rsearch-all:hover { background: var(--hub-accent); }
.hub-search-row { padding: 18px var(--hub-pad) 0; }
.hub-search-row .hub-rsearch { margin: 0 auto 0 0; }

/* Browse pages */
.hub-filter { margin: 4px 0 6px; }
.hub-filter > summary {
  display: inline-block; padding: 8px 14px; border-radius: 999px; cursor: pointer; list-style: none;
  font-size: 0.85rem; font-weight: 700; color: rgba(255, 255, 255, 0.85); background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.hub-filter > summary::-webkit-details-marker { display: none; }
.hub-filter > summary::after { content: " ▾"; }
.hub-filter[open] > summary::after { content: " ▴"; }
.hub-filter > nav { margin-top: 10px; }
.hub-grid--wide { grid-template-columns: repeat(auto-fill, minmax(calc(var(--hub-card-w) * 1.6), 1fr)); }

/* Site-wide mobile rules force img { height: auto !important } and 44px minimum
   button sizes; the hub's art and carousel dots need their own sizing. */
.hub .hub-slide-bg, .hub .hub-poster, .hub .mt-banner { height: 100% !important; }
.hub .hub-spot-art img, .hub .hub-versus img { height: auto !important; }
.hub .mt-cover { height: 345px !important; }
@media (max-width: 700px) { .hub .mt-cover { height: 225px !important; } }
.hub .hub-dot { min-width: 0 !important; min-height: 0 !important; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hub-page { --hub-card-w: 136px; --hub-gap: 12px; }
  .hub-slide-body { bottom: 70px; }
}
@media (max-width: 600px) {
  .hub-page { --hub-card-w: 118px; --hub-gap: 10px; }
  .hub-hero { height: 78vh; min-height: 460px; max-height: 640px; }
  .hub-slide::after {
    background:
      linear-gradient(180deg, rgba(7, 7, 10, 0.8) 0%, rgba(7, 7, 10, 0) 24%),
      linear-gradient(0deg, var(--hub-bg) 0%, rgba(7, 7, 10, 0.75) 45%, rgba(7, 7, 10, 0) 75%);
  }
  .hub-slide-body { bottom: 64px; }
  .hub-slide-overview { -webkit-line-clamp: 2; font-size: 0.92rem; margin-bottom: 16px; }
  .hub-btn { min-height: 44px; padding: 0 18px; font-size: 0.9rem; }
  .hub-hero-controls { justify-content: center; bottom: 20px; }
  .hub-hero-arrow { display: none; }
  .hub-top-card { padding-left: 52px; }
  .hub-top-item:nth-child(10) .hub-top-card { padding-left: 92px; }
  .hub-rank { -webkit-text-stroke-width: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  .hub-slide, .hub-slide.is-active, .hub-slide-bg, .hub-card-art, .hub-top-card .hub-poster, .hub-btn { transition: none; }
  .hub-slide-bg, .hub-slide.is-active .hub-slide-bg { transform: none; }
}


/* Homepage feed picker: chips switch the homepage in place */
.home-feedbar { position: relative; margin: 104px var(--hub-pad) 14px; padding: 12px 14px 12px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); overflow: hidden; }
.home-feedbar.is-intro { border-color: rgba(217,70,239,.45); box-shadow: 0 0 0 1px rgba(217,70,239,.12), 0 18px 50px rgba(0,0,0,.35); }
.home-feedbar-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 2px 10px; min-height: 22px; }
.home-feedbar-title { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.home-feedbar-hint { display: inline-flex; align-items: center; gap: 8px; padding: 3px 10px 3px 8px; border-radius: 999px;
  background: rgba(217,70,239,.14); color: #f5d0fe; font-size: .8rem; font-weight: 600; }
.home-feedbar-pulse { width: 8px; height: 8px; border-radius: 50%; background: #e879f9; box-shadow: 0 0 0 0 rgba(232,121,249,.7); animation: homePulse 1.6s infinite; }
@keyframes homePulse { 70% { box-shadow: 0 0 0 8px rgba(232,121,249,0); } 100% { box-shadow: 0 0 0 0 rgba(232,121,249,0); } }
.home-feedbar-status { margin-left: auto; color: rgba(255,255,255,.55); font-size: .8rem; }
.home-feedbar-scroll { overflow-x: auto; scrollbar-width: none; margin: 0 -14px; padding: 2px 14px 4px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 24px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 24px), transparent 100%); }
.home-feedbar-scroll::-webkit-scrollbar { display: none; }
.home-feedbar-chips { display: flex; gap: 8px; width: max-content; }
.home-chip { --chip: #d946ef; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 16px 8px 13px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); color: rgba(255,255,255,.82);
  font: inherit; font-size: .92rem; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: background .18s, border-color .18s, color .18s, transform .12s, box-shadow .18s; }
.home-chip i { font-size: .95rem; color: var(--chip); opacity: .85; transition: transform .18s; }
.home-chip:hover { background: rgba(255,255,255,.08); color: #fff; }
.home-chip:active { transform: scale(.96); }
.home-chip[aria-pressed="true"] { color: #fff; border-color: color-mix(in srgb, var(--chip) 70%, transparent);
  background: color-mix(in srgb, var(--chip) 22%, rgba(10,10,14,.6)); box-shadow: 0 6px 22px color-mix(in srgb, var(--chip) 30%, transparent); }
.home-chip[aria-pressed="true"] i { opacity: 1; transform: scale(1.1); }
.home-chip:focus-visible { outline: 2px solid var(--chip); outline-offset: 2px; }
.home-chip--all { --chip: #e879f9; }
.home-chip--movies { --chip: #f43f5e; } .home-chip--tv { --chip: #3b82f6; } .home-chip--anime { --chip: #a855f7; }
.home-chip--sports { --chip: #ef4444; } .home-chip--games { --chip: #22c55e; } .home-chip--software { --chip: #06b6d4; }
.home-chip--vst { --chip: #14b8a6; } .home-chip--manga { --chip: #f97316; }
.home-feedbar-progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; opacity: 0;
  background: linear-gradient(90deg, #d946ef, #22d3ee); }
.home-feedbar.is-loading .home-feedbar-progress { opacity: 1; animation: homeProgress 1.1s ease-in-out infinite; }
@keyframes homeProgress { 0% { left: 0; width: 0; } 50% { left: 15%; width: 55%; } 100% { left: 100%; width: 0; } }
.home-feed { transition: opacity .22s ease, filter .22s ease; }
/* The feed bar now sits above the hero and takes over the space reserved for the fixed header. */
.home-feedbar ~ .home-feed .home-bento { padding-top: 0; }
@media (max-width: 900px) { .home-feedbar { margin-top: 88px; } }
.home-feed.is-loading { opacity: .4; filter: saturate(.5) blur(1px); pointer-events: none; }
.home-sec--vst { --hub-accent: #14b8a6; }
@media (max-width: 600px) {
  .home-feedbar { margin: 80px 12px 12px; padding: 10px 12px; border-radius: 16px; }
  .home-feedbar-status { width: 100%; margin-left: 0; order: 3; }
  .home-chip { min-height: 40px; padding: 7px 14px 7px 11px; font-size: .88rem; }
}
@media (prefers-reduced-motion: reduce) {
  .home-feedbar-pulse, .home-feedbar.is-loading .home-feedbar-progress { animation: none; }
  .home-feed, .home-chip { transition: none; }
}

/* ---------- Browse by category (top of catalog hubs) ---------- */
.hub-cats { margin: 22px 0 30px; }
.hub-cats-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 0 var(--hub-pad); margin-bottom: 12px; }
.hub-cats-head h2 { margin: 0; font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 800; letter-spacing: -0.01em; }
.hub-cats-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 10px;
  padding: 0 var(--hub-pad);
}
.hub-cat {
  position: relative; overflow: hidden; isolation: isolate; min-height: 84px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; padding: 12px 14px;
  border-radius: 14px; text-decoration: none; color: #fff;
  background: linear-gradient(135deg, hsl(var(--cat-hue, 220) 70% 32%), hsl(calc(var(--cat-hue, 220) + 40) 60% 16%));
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.hub-cat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 8, 14, 0.15) 0%, rgba(8, 8, 14, 0.85) 100%); }
.hub-cat-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; transition: transform 0.35s ease, opacity 0.2s ease; }
.hub-cat:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.3); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45); }
.hub-cat:hover .hub-cat-img { transform: scale(1.06); opacity: 0.7; }
.hub-cat:focus-visible { outline: 3px solid var(--hub-accent); outline-offset: 2px; }
.hub-cat-label { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 1rem; line-height: 1.2; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6); text-transform: capitalize; }
.hub-cat-count { font-size: 0.78rem; color: rgba(255, 255, 255, 0.72); font-variant-numeric: tabular-nums; }
.hub-cat-count b { color: #fca5a5; font-weight: 700; }
.hub-cat--live { background: linear-gradient(135deg, #b91c1c, #450a0a); border-color: rgba(248, 113, 113, 0.45); }
.hub-cat--all { background: linear-gradient(135deg, var(--hub-accent-soft), rgba(255, 255, 255, 0.04)); border: 1px dashed rgba(255, 255, 255, 0.25); }
@media (max-width: 640px) {
  .hub-cats-grid { grid-auto-flow: column; grid-template-columns: none; grid-template-rows: repeat(2, 72px); grid-auto-columns: 150px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: 16px; scrollbar-width: none; padding: 0 16px 4px; }
  .hub-cats-head { padding: 0 16px; }
  .hub-cats-grid::-webkit-scrollbar { display: none; }
  .hub-cat { min-height: 0; scroll-snap-align: start; padding: 10px 12px; }
  .hub-cat-label { font-size: 0.92rem; }
}
@media (prefers-reduced-motion: reduce) { .hub-cat, .hub-cat-img { transition: none; } }

/* ---------- Streaming service logo buttons (movies / TV / anime) ---------- */
.hub-providers { margin: 18px 0 8px; }
.hub-plain .hub-providers { margin: 14px 0 4px; }
.hub-providers-title { margin: 0 0 10px; padding: 0 var(--hub-pad); font-size: clamp(1.05rem, 1.8vw, 1.25rem); font-weight: 800; }
.hub-plain .hub-providers-title { padding: 0; font-size: 0.95rem; color: rgba(255, 255, 255, 0.75); }
.hub-providers-list { display: flex; gap: 10px; padding: 0 var(--hub-pad) 4px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.hub-plain .hub-providers-list { padding: 0 0 4px; flex-wrap: wrap; overflow: visible; }
.hub-providers-list::-webkit-scrollbar { display: none; }
.hub-provider {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; scroll-snap-align: start;
  border-radius: 14px; text-decoration: none; color: #fff; font-weight: 700; font-size: 0.92rem;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.hub-provider:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.09); }
.hub-provider:focus-visible { outline: 3px solid var(--hub-accent); outline-offset: 2px; }
.hub-provider.is-active { border-color: var(--hub-accent); background: var(--hub-accent-soft); box-shadow: 0 0 0 1px var(--hub-accent) inset; }
.hub-provider-logo { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; flex: 0 0 auto; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); }
.hub-provider--all .hub-provider-logo { display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--hub-accent), #6366f1); font-size: 1.1rem; }
@media (max-width: 640px) {
  .hub-providers-title, .hub-providers-list { padding-left: 16px; padding-right: 16px; }
  .hub-plain .hub-providers-list { flex-wrap: nowrap; overflow-x: auto; padding: 0 0 4px; }
  .hub-plain .hub-providers-title { padding: 0; }
  .hub-provider { padding: 5px 12px 5px 5px; font-size: 0.85rem; }
  .hub-provider-logo { width: 34px; height: 34px; }
}
.hub-hero-spacer { height: 104px; }
@media (max-width: 768px) { .hub-hero-spacer { height: 84px; } }

/* ---------- Genre bar (top of movie / TV / anime hubs and browse pages) ---------- */
.genre-rail { margin: 16px 0 6px; }
.genre-rail-title { margin: 0 0 10px; padding: 0 var(--hub-pad); font-size: clamp(1.05rem, 1.8vw, 1.25rem); font-weight: 800; }
.genre-rail-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 var(--hub-pad); }
.hub-plain .genre-rail-title, .hub-plain .genre-rail-list { padding-left: 0; padding-right: 0; }
.hub-plain .genre-rail-title { font-size: 0.95rem; color: rgba(255, 255, 255, 0.75); }
.genre-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px;
  text-decoration: none; color: #fff; font-weight: 700; font-size: 0.88rem; white-space: nowrap;
  background: linear-gradient(135deg, hsl(var(--g-hue) 60% 30% / 0.55), hsl(calc(var(--g-hue) + 40) 50% 18% / 0.55));
  border: 1px solid hsl(var(--g-hue) 70% 60% / 0.28);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.genre-chip:hover { transform: translateY(-2px); border-color: hsl(var(--g-hue) 80% 70% / 0.7); box-shadow: 0 6px 18px hsl(var(--g-hue) 70% 40% / 0.35); }
.genre-chip:focus-visible { outline: 3px solid var(--hub-accent); outline-offset: 2px; }
.genre-chip.is-active { background: var(--hub-accent); border-color: var(--hub-accent); box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.15) inset; }
.genre-chip-icon { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 0.95rem; background: rgba(0, 0, 0, 0.3); }
@media (max-width: 768px) {
  .genre-rail-title, .genre-rail-list { padding-left: 16px; padding-right: 16px; }
  .hub-plain .genre-rail-title { padding: 0; }
  .genre-rail-list { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; padding-bottom: 4px; }
  .hub-plain .genre-rail-list { padding: 0 0 4px; }
  .genre-rail-list::-webkit-scrollbar { display: none; }
  .genre-chip { scroll-snap-align: start; font-size: 0.84rem; }
}
/* Snap to the padded edge, not the screen edge. */
.genre-rail-list, .hub-providers-list { scroll-padding-inline: 16px; }
.hub-plain .genre-rail-list, .hub-plain .hub-providers-list { scroll-padding-inline: 0; }

/* ---------- Heart (favourite) button on hub-style title pages ---------- */
.hub-slide-actions .favourite-btn, .hub .favourite-btn.hub-btn {
  appearance: none; -webkit-appearance: none; display: inline-flex; align-items: center; justify-content: center;
  width: 52px; min-width: 52px; height: 48px; padding: 0; border-radius: 12px; cursor: pointer;
  font-size: 1.2rem; color: #fff; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px); transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease, color 0.15s ease;
}
.hub-slide-actions .favourite-btn:hover, .hub .favourite-btn.hub-btn:hover { background: rgba(255, 255, 255, 0.18); border-color: rgba(255, 255, 255, 0.35); transform: translateY(-1px); }
.hub-slide-actions .favourite-btn:focus-visible, .hub .favourite-btn.hub-btn:focus-visible { outline: 3px solid var(--hub-accent); outline-offset: 2px; }
.hub-slide-actions .favourite-btn.active, .hub .favourite-btn.hub-btn.active { color: #ff4d6d; background: rgba(255, 77, 109, 0.16); border-color: rgba(255, 77, 109, 0.5); }
.hub-slide-actions .favourite-btn.active i { animation: fav-pop 0.3s ease; }
@keyframes fav-pop { 50% { transform: scale(1.3); } }
@media (prefers-reduced-motion: reduce) { .hub-slide-actions .favourite-btn.active i { animation: none; } }

/* Browse pages loading the next view in place (public/hub-browse.js) */
[data-browse] #browseResults { transition: opacity 0.15s ease; }
[data-browse].is-loading #browseResults { opacity: 0.45; pointer-events: none; }
[data-browse].is-loading .hub-rsearch-icon { animation: hub-pulse 0.8s ease-in-out infinite alternate; }
@keyframes hub-pulse { to { opacity: 0.3; } }

/* ---------- Carousel arrows: solid, always visible, easy to hit ---------- */
.hub-hero-arrow {
  width: 48px; height: 48px; color: #fff; background: rgba(12, 12, 18, 0.88);
  border: 1.5px solid rgba(255, 255, 255, 0.55); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.hub-hero-arrow svg { width: 28px; height: 28px; }
.hub-hero-arrow:hover { background: var(--hub-accent); border-color: var(--hub-accent); transform: scale(1.08); }
.hub-hero-arrow:active { transform: scale(0.96); }

.hub-row-arrow {
  top: 50%; bottom: auto; width: 46px; min-width: 0; height: 46px; margin-top: -30px;
  border-radius: 50%; opacity: 1; color: #fff;
  background: rgba(12, 12, 18, 0.85) !important; border: 1.5px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, opacity 0.2s ease;
}
.hub-row-arrow svg { width: 28px; height: 28px; }
.hub-row-arrow--prev { left: max(6px, calc(var(--hub-pad) - 23px)); }
.hub-row-arrow--next { right: max(6px, calc(var(--hub-pad) - 23px)); }
.hub-row-arrow:hover { background: var(--hub-accent) !important; border-color: var(--hub-accent); transform: scale(1.08); }
.hub-row-arrow:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.hub-row--top10 .hub-row-arrow { margin-top: -36px; }

@media (max-width: 760px) {
  .hub-hero-arrow { display: grid; width: 40px; height: 40px; }
  .hub-hero-arrow svg { width: 24px; height: 24px; }
  .hub-row-arrow { width: 38px; height: 38px; margin-top: -26px; }
  .hub-row-arrow svg { width: 24px; height: 24px; }
  .hub-row-arrow--prev { left: 6px; }
  .hub-row-arrow--next { right: 6px; }
}
