/* ============================================================
 * PART 1 — ORIGINAL THEME CSS (unchanged)
 * ============================================================ */
:root {
  --nubu-ink: #080a0d;
  --nubu-cloud: #f6f3ec;
  --nubu-gold: #f2b84b;
  --nubu-ember: #e4572e;
  --nubu-charcoal: #11161c;
  --nubu-palm: #0f6b4f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(15, 107, 79, 0.32), transparent 34rem),
    linear-gradient(180deg, var(--nubu-ink) 0%, var(--nubu-charcoal) 48%, var(--nubu-ink) 100%);
  color: var(--nubu-cloud);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.nubu-container {
  width: min(100% - 2rem, 1280px);
  margin: 0 auto;
}

.nubu-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 10, 13, 0.86);
  backdrop-filter: blur(18px);
}

.nubu-header__bar {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nubu-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 900;
}

.nubu-brand__mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 4px;
  background: var(--nubu-ember);
  color: var(--nubu-ink);
}

.nubu-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nubu-nav a {
  color: rgba(246, 243, 236, 0.72);
  font-size: 0.92rem;
  font-weight: 650;
}

.nubu-nav a:hover {
  color: var(--nubu-gold);
}

.nubu-menu-button {
  display: none;
  border: 0;
  background: transparent;
  color: var(--nubu-cloud);
}

.nubu-announcement {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.45rem 1rem;
  color: rgba(246, 243, 236, 0.7);
  font-size: 0.86rem;
  text-align: center;
}

.nubu-hero {
  position: relative;
  min-height: 82vh;
  overflow: hidden;
}

.nubu-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nubu-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, var(--nubu-ink), rgba(8, 10, 13, 0.82), rgba(8, 10, 13, 0.2)),
    linear-gradient(0deg, var(--nubu-ink), transparent 55%);
}

.nubu-hero__content {
  position: relative;
  display: flex;
  min-height: 82vh;
  align-items: end;
  padding: 8rem 0 4rem;
}

.nubu-hero__copy {
  max-width: 680px;
}

.nubu-eyebrow {
  display: inline-flex;
  margin: 0 0 1rem;
  border: 1px solid rgba(242, 184, 75, 0.45);
  border-radius: 999px;
  background: rgba(242, 184, 75, 0.1);
  padding: 0.42rem 0.75rem;
  color: var(--nubu-gold);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nubu-hero h1,
.nubu-page-hero h1 {
  margin: 0;
  color: var(--nubu-cloud);
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.96;
  font-weight: 950;
  letter-spacing: 0;
}

.nubu-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.1rem 0 0;
  color: rgba(246, 243, 236, 0.7);
  font-size: 0.94rem;
  font-weight: 650;
}

.nubu-copy {
  max-width: 640px;
  margin: 1.25rem 0 0;
  color: rgba(246, 243, 236, 0.78);
  font-size: 1.08rem;
  line-height: 1.7;
}

.nubu-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.nubu-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 0.75rem 1rem;
  background: var(--nubu-gold);
  color: var(--nubu-ink);
  font-size: 0.92rem;
  font-weight: 850;
  cursor: pointer;
  font-family: inherit;
}

.nubu-button--secondary {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.1);
  color: var(--nubu-cloud);
}

.nubu-section {
  padding: 3rem 0;
}

.nubu-section__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.nubu-section h2,
.nubu-page-hero h1 {
  margin: 0;
}

.nubu-section h2 {
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  line-height: 1.08;
}

.nubu-view-all {
  color: rgba(246, 243, 236, 0.7);
  font-size: 0.92rem;
  font-weight: 800;
}

.nubu-view-all:hover {
  color: var(--nubu-gold);
}

.nubu-rail {
  display: grid;
  grid-auto-columns: minmax(240px, 23%);
  grid-auto-flow: column;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  scrollbar-width: none;
}

.nubu-rail::-webkit-scrollbar {
  display: none;
}

.nubu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.nubu-card {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
  position: relative;
}

.nubu-card:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 184, 75, 0.7);
  background: rgba(255, 255, 255, 0.1);
}

.nubu-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.nubu-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.nubu-card:hover img {
  transform: scale(1.05);
}

.nubu-card__media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, var(--nubu-ink), transparent 55%);
  pointer-events: none;
}

.nubu-card__body {
  padding: 1rem;
}

.nubu-card__region {
  margin: 0 0 0.45rem;
  color: var(--nubu-gold);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nubu-card h3 {
  margin: 0;
  color: var(--nubu-cloud);
  font-size: 1.08rem;
}

.nubu-card__details {
  margin: 0.35rem 0 0;
  color: rgba(246, 243, 236, 0.62);
  font-size: 0.88rem;
}

.nubu-featured-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1.25rem;
}

.nubu-feature-card {
  position: relative;
  display: flex;
  min-height: 380px;
  align-items: end;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.nubu-feature-card img,
.nubu-mini-card img,
.nubu-product-player img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nubu-feature-card::after,
.nubu-mini-card::after,
.nubu-product-player::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, var(--nubu-ink), rgba(8, 10, 13, 0.2), transparent);
  pointer-events: none;
}

.nubu-feature-card__body {
  position: relative;
  z-index: 1;
  max-width: 620px;
  padding: 1.5rem;
}

.nubu-mini-stack {
  display: grid;
  gap: 1.25rem;
}

.nubu-mini-card {
  position: relative;
  display: grid;
  min-height: 116px;
  grid-template-columns: 7rem 1fr;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.nubu-mini-card__image {
  position: relative;
  overflow: hidden;
}

.nubu-mini-card__body {
  position: relative;
  z-index: 1;
  padding: 1rem;
}

.nubu-page-hero {
  padding: 5rem 0 2rem;
}

.nubu-page-hero p:last-child {
  max-width: 720px;
  color: rgba(246, 243, 236, 0.72);
  font-size: 1.08rem;
  line-height: 1.7;
}

.nubu-product {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr;
  gap: 2rem;
  padding: 4rem 0;
}

.nubu-product-player {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: #000;
}

.nubu-play-button {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 80px;
  height: 80px;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 999px;
  background: var(--nubu-gold);
  color: var(--nubu-ink);
  font-size: 1.75rem;
}

.nubu-product-panel {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
}

.nubu-product-panel h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.nubu-price {
  margin: 1.1rem 0;
  color: var(--nubu-gold);
  font-size: 1.15rem;
  font-weight: 900;
}

.nubu-form {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.nubu-form select,
.nubu-form input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--nubu-cloud);
  padding: 0.75rem;
}

.nubu-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--nubu-ink);
  padding: 2rem 0;
  color: rgba(246, 243, 236, 0.62);
}

.nubu-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
 * PART 2 — ORIGINAL MEDIA QUERIES
 * ============================================================ */
@media (max-width: 900px) {
  .nubu-nav {
    position: fixed;
    top: 64px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--nubu-charcoal);
    padding: 0.75rem 1rem;
  }

  .nubu-nav.is-open {
    display: flex;
  }

  .nubu-nav a {
    padding: 0.9rem 0;
  }

  .nubu-menu-button {
    display: inline-flex;
  }

  .nubu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nubu-featured-grid,
  .nubu-product {
    grid-template-columns: 1fr;
  }

  .nubu-rail {
    grid-auto-columns: minmax(230px, 76%);
  }
}

@media (max-width: 560px) {
  .nubu-container {
    width: min(100% - 1rem, 1280px);
  }

  .nubu-grid {
    grid-template-columns: 1fr;
  }

  .nubu-footer__inner {
    flex-direction: column;
  }
}

/* ============================================================
 * PART 3 — STREAMING PLAYER
 * ============================================================ */
#nubu-player-wrap {
  position: relative;
  background: #000;
}
#nubu-video,
#nubu-preroll {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
  object-fit: contain;
}
#nubu-ad-container {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: #000;
}
.nubu-ad-overlay {
  position: absolute;
  bottom: 4.5rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 11;
}
.nubu-ad-label {
  color: rgba(246, 243, 236, 0.85);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.55);
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
}
.nubu-skip {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(8, 10, 13, 0.85);
  color: var(--nubu-cloud);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.5rem 0.9rem;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
}
.nubu-skip:hover {
  border-color: var(--nubu-gold);
  color: var(--nubu-gold);
}

/* ============================================================
 * PART 4 — CONTINUE WATCHING
 * ============================================================ */
.nubu-card__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 2;
}
.nubu-card__progress span {
  display: block;
  height: 100%;
  background: var(--nubu-gold);
}
.nubu-view-all[type="button"] {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  font: inherit;
}
.nubu-view-all[type="button"]:hover {
  color: var(--nubu-gold);
}

/* ============================================================
 * PART 5 — MY LIST BOOKMARK BUTTON
 * ============================================================ */
.nubu-bookmark {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(8, 10, 13, 0.7);
  color: var(--nubu-cloud);
  cursor: pointer;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 120ms ease;
  padding: 0;
}
.nubu-bookmark:hover {
  border-color: var(--nubu-gold);
  color: var(--nubu-gold);
}
.nubu-bookmark:active {
  transform: scale(0.92);
}
.nubu-bookmark.is-added {
  background: var(--nubu-gold);
  border-color: var(--nubu-gold);
  color: var(--nubu-ink);
}
.nubu-bookmark svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* --- Inline My List toggle (single film page) --- */
.nubu-mylist-toggle {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--nubu-cloud);
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  font-weight: 850;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}
.nubu-mylist-toggle:hover {
  border-color: var(--nubu-gold);
  color: var(--nubu-gold);
}
.nubu-mylist-toggle.is-added {
  border-color: var(--nubu-gold);
  background: rgba(242, 184, 75, 0.15);
  color: var(--nubu-gold);
}
.nubu-mylist-toggle__icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
}
.nubu-mylist-toggle__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ============================================================
 * PART 6 — HEADER SEARCH
 * ============================================================ */
.nubu-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nubu-header__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(246, 243, 236, 0.85);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0 0.85rem;
}
.nubu-header__link:hover {
  border-color: var(--nubu-gold);
  color: var(--nubu-gold);
}

.nubu-search {
  position: relative;
  display: flex;
  align-items: center;
}
.nubu-search__icon {
  position: absolute;
  left: 0.7rem;
  width: 16px;
  height: 16px;
  color: rgba(246, 243, 236, 0.5);
  pointer-events: none;
}
.nubu-search input[type="search"] {
  width: 220px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--nubu-cloud);
  padding: 0 0.9rem 0 2.2rem;
  font-size: 0.9rem;
  transition: border-color 160ms ease, background 160ms ease, width 200ms ease;
}
.nubu-search input[type="search"]::placeholder {
  color: rgba(246, 243, 236, 0.5);
}
.nubu-search input[type="search"]:focus {
  outline: none;
  width: 280px;
  border-color: var(--nubu-gold);
  background: rgba(255, 255, 255, 0.1);
}
.nubu-search input[type="search"]::-webkit-search-cancel-button {
  filter: invert(1);
  opacity: 0.6;
}

/* ============================================================
 * PART 7 — SEARCH FILTERS + PAGINATION + EMPTY
 * ============================================================ */
.nubu-filters {
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}
.nubu-filters__group {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1rem;
  align-items: start;
}
.nubu-filters__label {
  padding-top: 0.5rem;
  color: rgba(246, 243, 236, 0.65);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nubu-filters__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.nubu-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(246, 243, 236, 0.85);
  padding: 0.4rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 650;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease;
}
.nubu-pill input { display: none; }
.nubu-pill:hover { border-color: rgba(242, 184, 75, 0.5); }
.nubu-pill.is-active {
  border-color: var(--nubu-gold);
  background: rgba(242, 184, 75, 0.15);
  color: var(--nubu-gold);
}
.nubu-filters__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

.nubu-empty {
  padding: 4rem 0;
  text-align: center;
}
.nubu-empty h2 {
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
}
.nubu-empty p {
  margin: 0 0 1.5rem;
  color: rgba(246, 243, 236, 0.7);
}

.nubu-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
}
.nubu-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  color: rgba(246, 243, 236, 0.85);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0 0.6rem;
}
.nubu-pagination .page-numbers.current,
.nubu-pagination .page-numbers:hover {
  border-color: var(--nubu-gold);
  color: var(--nubu-gold);
}

/* ============================================================
 * PART 8 — TAXONOMY TERM PAGES
 * ============================================================ */
.nubu-page-hero--term {
  padding: 5.5rem 0 2rem;
}
.nubu-hero--term {
  min-height: 60vh;
}
.nubu-hero--term .nubu-hero__content {
  min-height: 60vh;
  padding: 6rem 0 3rem;
}
.nubu-card--term .nubu-card__media {
  aspect-ratio: 16 / 9;
}
.nubu-card--term .nubu-card__media:empty {
  background: linear-gradient(135deg,
    rgba(242, 184, 75, 0.18),
    rgba(15, 107, 79, 0.28));
}

/* ============================================================
 * PART 9 — SHARE BUTTONS
 * ============================================================ */
.nubu-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.nubu-share__label {
  color: rgba(246, 243, 236, 0.55);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-right: 0.25rem;
}
.nubu-share__btn {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(246, 243, 236, 0.85);
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 140ms ease, color 140ms ease;
}
.nubu-share__btn:hover {
  border-color: var(--nubu-gold);
  color: var(--nubu-gold);
}

/* ============================================================
 * PART 10 — AUTOCOMPLETE
 * ============================================================ */
.nubu-autocomplete {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  display: none;
  max-height: 380px;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: var(--nubu-charcoal);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  z-index: 100;
}
.nubu-autocomplete.is-open { display: block; }
.nubu-ac__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.nubu-ac__item:last-child { border-bottom: 0; }
.nubu-ac__item:hover { background: rgba(255, 255, 255, 0.06); }
.nubu-ac__poster {
  flex: 0 0 40px;
  width: 40px;
  height: 56px;
  border-radius: 4px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
}
.nubu-ac__info { display: flex; flex-direction: column; min-width: 0; }
.nubu-ac__title {
  color: var(--nubu-cloud);
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nubu-ac__meta {
  color: rgba(246, 243, 236, 0.55);
  font-size: 0.78rem;
}
.nubu-ac__empty {
  padding: 0.9rem;
  color: rgba(246, 243, 236, 0.6);
  font-size: 0.88rem;
}

/* ============================================================
 * PART 11 — ADSENSE SLOTS
 * ============================================================ */
.nubu-ad {
  margin: 2rem 0;
  text-align: center;
}
.nubu-ad--sidebar { margin-top: 2rem; }
.nubu-ad ins {
  display: block;
  min-height: 90px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
}

/* ============================================================
 * PART 12 — AUTH FORMS + ACCOUNT
 * ============================================================ */
.nubu-auth-form {
  display: grid;
  gap: 1rem;
  max-width: 420px;
}
.nubu-auth-form label {
  display: grid;
  gap: 0.35rem;
  color: rgba(246, 243, 236, 0.85);
  font-size: 0.9rem;
  font-weight: 650;
}
.nubu-auth-form input[type="text"],
.nubu-auth-form input[type="email"],
.nubu-auth-form input[type="password"] {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--nubu-cloud);
  padding: 0.75rem;
}
.nubu-auth-errors {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(228, 87, 46, 0.5);
  border-radius: 4px;
  background: rgba(228, 87, 46, 0.1);
  color: var(--nubu-ember);
  list-style: none;
  margin: 0 0 1rem;
}
.nubu-account__stats {
  display: flex;
  gap: 2rem;
  margin: 1.5rem 0;
}
.nubu-account__stats div {
  display: grid;
  gap: 0.15rem;
}
.nubu-account__stats strong {
  font-size: 2rem;
  color: var(--nubu-gold);
}
.nubu-account__stats span {
  color: rgba(246, 243, 236, 0.6);
  font-size: 0.85rem;
}

/* ============================================================
 * PART 13 — PLAYER MENUS (Quality + Cast)
 * ============================================================ */
.nubu-player-menu {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 15;
  display: flex;
  gap: 0.4rem;
}
.nubu-player-menu__btn {
  display: none;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background: rgba(8, 10, 13, 0.75);
  color: var(--nubu-cloud);
  padding: 0.4rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 750;
  cursor: pointer;
  font-family: inherit;
}
.nubu-player-menu__btn svg { width: 14px; height: 14px; }
.nubu-player-menu__btn:hover { border-color: var(--nubu-gold); }
.nubu-player-menu__dropdown {
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  display: grid;
  min-width: 120px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  background: var(--nubu-charcoal);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.nubu-player-menu__dropdown[hidden] { display: none; }
.nubu-player-menu__dropdown button {
  border: 0;
  background: transparent;
  color: var(--nubu-cloud);
  padding: 0.5rem 0.85rem;
  text-align: left;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: inherit;
}
.nubu-player-menu__dropdown button:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--nubu-gold);
}

/* ============================================================
 * PART 14 — KEYBOARD HINT
 * ============================================================ */
.nubu-hint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0.6rem 1rem;
  background: rgba(8, 10, 13, 0.85);
  border-radius: 6px;
  color: var(--nubu-cloud);
  font-size: 1.1rem;
  font-weight: 700;
  pointer-events: none;
  z-index: 20;
  animation: nubu-hint-fade 700ms ease forwards;
}
@keyframes nubu-hint-fade {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.95); }
  20%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.05); }
}

/* ============================================================
 * PART 15 — WATCH HISTORY
 * ============================================================ */
.nubu-history__loading {
  color: rgba(246, 243, 236, 0.6);
}
.nubu-history__actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  color: rgba(246, 243, 236, 0.6);
  font-size: 0.9rem;
}
.nubu-history__list {
  display: grid;
  gap: 1rem;
}
.nubu-history__row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 1rem;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.75rem;
}
.nubu-history__poster {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}
.nubu-history__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nubu-history__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
}
.nubu-history__bar > span {
  display: block;
  height: 100%;
  background: var(--nubu-gold);
}
.nubu-history__info h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}
.nubu-history__status {
  margin: 0.35rem 0 0;
  color: var(--nubu-gold);
  font-size: 0.82rem;
  font-weight: 700;
}
.nubu-history__actions {
  display: flex;
  gap: 0.5rem;
}

/* ============================================================
 * PART 16 — ADDITIONAL RESPONSIVE
 * ============================================================ */
@media (max-width: 900px) {
  .nubu-search input[type="search"],
  .nubu-search input[type="search"]:focus {
    width: 100%;
  }
  .nubu-search { flex: 1; }
  .nubu-header__actions { flex: 1; }
}

@media (max-width: 640px) {
  .nubu-history__row {
    grid-template-columns: 1fr;
  }
  .nubu-history__poster { aspect-ratio: 16 / 9; }
}

@media (max-width: 560px) {
  .nubu-filters__group {
    grid-template-columns: 1fr;
  }
}