:root {
  --bg: #070707;
  --bg-elevated: rgba(17, 17, 17, 0.84);
  --panel: rgba(255, 255, 255, 0.05);
  --panel-strong: rgba(255, 255, 255, 0.09);
  --text: #f5f5f5;
  --muted: #b0b0b0;
  --accent: #e50914;
  --accent-soft: rgba(229, 9, 20, 0.18);
  --line: rgba(255, 255, 255, 0.1);
  --gold: #ffcc4d;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --mobile-dock-bottom: calc(env(safe-area-inset-bottom, 0px) + 14px);
  --install-banner-gap: 12px;
  --install-banner-bottom: calc(var(--mobile-dock-bottom) + 74px + var(--install-banner-gap));
}

/* Moctale-style explore shell requested for the public home feed. */
body[data-page="home"] {
  background: #050505;
}

body[data-page="home"] .page-shell {
  width: 100%;
  max-width: none;
  padding: 0 0 72px;
}

body[data-page="home"] .explore-header-desktop {
  position: sticky;
  top: 0;
  z-index: 120;
  width: 100vw;
  margin: 0 0 0 calc(50% - 50vw);
  padding: 0;
  border-width: 0 0 1px;
  border-radius: 0;
  background: rgba(5, 5, 6, 0.98);
  box-shadow: none;
  backdrop-filter: blur(20px);
}

body[data-page="home"] .explore-topbar-main {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto minmax(260px, 1fr);
  align-items: center;
  min-height: 64px;
  width: min(1530px, calc(100% - 44px));
  max-width: 1530px;
  margin: 0 auto;
  gap: 18px;
}

body[data-page="home"] .explore-topbar-left {
  min-width: 0;
  justify-self: start;
  gap: 12px;
}

body[data-page="home"] .home-chip {
  display: none;
}

body[data-page="home"] .brand-mark {
  width: 34px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: none;
  filter: none;
}

body[data-page="home"] .brand-mark::before,
body[data-page="home"] .brand-mark::after {
  top: 0;
  width: 16px;
  height: 24px;
  background: #050505;
  border-radius: 50%;
}

body[data-page="home"] .brand-mark::before {
  left: -5px;
}

body[data-page="home"] .brand-mark::after {
  right: -5px;
}

body[data-page="home"] .brand-compact {
  gap: 12px;
  font-family: "Manrope", sans-serif;
  font-size: 1.36rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

body[data-page="home"] .beta-chip {
  padding: 0;
  color: rgba(255, 255, 255, 0.72);
  border: 0;
  background: transparent;
  font-size: 1.38rem;
  font-weight: 500;
  text-transform: none;
}

body[data-page="home"] .beta-chip::first-letter {
  text-transform: lowercase;
}

body[data-page="home"] .explore-nav-center {
  justify-self: center;
  justify-content: center;
  gap: clamp(10px, 1vw, 16px);
  color: rgba(255, 255, 255, 0.62);
}

body[data-page="home"] .explore-nav-link {
  width: 36px;
  min-width: 36px;
  height: 36px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font-size: 0;
  font-weight: 700;
  line-height: 1;
  outline: 0;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    width 180ms ease,
    padding 180ms ease;
}

body[data-page="home"] .explore-nav-link span {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: currentColor;
  font-size: 1.1rem;
  line-height: 1;
}

body[data-page="home"] .explore-nav-link svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body[data-page="home"] .explore-nav-link:hover,
body[data-page="home"] .explore-nav-link:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
}

body[data-page="home"] .explore-nav-link.active {
  width: auto;
  min-width: 0;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(123, 67, 232, 0.14);
  color: #fff;
  font-size: 0.92rem;
}

body[data-page="home"] .explore-nav-link.active::after {
  display: none;
}

body[data-page="home"] .explore-actions-right {
  flex: 0 0 auto;
  justify-self: end;
  justify-content: flex-end;
  gap: 14px;
}

body[data-page="home"] .explore-actions-right .ghost-link,
body[data-page="home"] .explore-mobile-owner {
  display: none;
}

body[data-page="home"] .icon-chip {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.58);
  font-size: 1.35rem;
  outline: 0;
}

body[data-page="home"] .icon-chip.active,
body[data-page="home"] .icon-chip:focus-visible {
  color: #fff;
  background: rgba(123, 67, 232, 0.14);
}

body[data-page="home"] .icon-chip svg,
body[data-page="home"] .notification-glyph svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body[data-page="home"] .notification-glyph {
  display: grid;
  place-items: center;
  opacity: 0.72;
}

body[data-page="home"] .account-chip {
  width: 46px;
  min-width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

body[data-page="home"] .account-chip-label {
  display: none;
}

body[data-page="home"] .account-signin-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.88);
}

body[data-page="home"] .account-signin-icon svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body[data-page="home"] .account-chip.signed-in .account-signin-icon {
  display: none;
}

body[data-page="home"] .explore-main {
  position: relative;
  isolation: isolate;
  width: min(1530px, calc(100% - 44px));
  margin: 0 auto;
  padding-top: 34px;
}

body[data-page="home"] .explore-main::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(50% - 50vw);
  z-index: -1;
  width: 100vw;
  height: 920px;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 27% 0%, rgba(102, 79, 171, 0.48), transparent 42%),
    radial-gradient(ellipse at 50% 10%, rgba(58, 85, 101, 0.24), transparent 36%),
    linear-gradient(90deg, rgba(62, 34, 75, 0.78) 0%, rgba(35, 33, 50, 0.52) 38%, rgba(5, 5, 5, 0.92) 74%, rgba(5, 5, 5, 0.98) 100%),
    linear-gradient(180deg, rgba(66, 38, 92, 0.78) 0%, rgba(20, 18, 28, 0.72) 44%, rgba(5, 5, 5, 0) 100%);
}

body[data-page="home"] .explore-layout {
  grid-template-columns: minmax(0, 930px) minmax(360px, 430px);
  justify-content: center;
  gap: clamp(48px, 6vw, 88px);
  align-items: start;
}

body[data-page="home"] .explore-primary {
  gap: 82px;
  min-width: 0;
}

body[data-page="home"] .explore-showcase,
body[data-page="home"] .explore-row-section {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  content-visibility: visible;
  contain-intrinsic-size: auto;
}

body[data-page="home"] .explore-row-section {
  padding-top: 0;
}

body[data-page="home"] .explore-primary .section-heading,
body[data-page="home"] .showcase-row-heading {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0 0 30px;
}

body[data-page="home"] .explore-primary .section-heading .eyebrow,
body[data-page="home"] .explore-primary .section-heading .section-copy {
  display: none;
}

body[data-page="home"] .showcase-row-title,
body[data-page="home"] .explore-primary .section-heading > div {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

body[data-page="home"] .showcase-row-title h2,
body[data-page="home"] .explore-primary .section-heading h2 {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
}

body[data-page="home"] .showcase-row-icon {
  width: 34px;
  height: 34px;
  color: #fff;
  font-size: 1.35rem;
}

body[data-page="home"] #trendingHeadingText::before,
body[data-page="home"] #editorsRowHeading::before,
body[data-page="home"] #netflixRowHeading::before,
body[data-page="home"] #hotstarRowHeading::before,
body[data-page="home"] #primeRowHeading::before,
body[data-page="home"] #crunchyrollRowHeading::before {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-right: 10px;
  border-radius: 7px;
  vertical-align: -5px;
  font-size: 1.15rem;
}

body[data-page="home"] #trendingHeadingText::before {
  content: "";
  background: linear-gradient(135deg, #6c33ff, #ff47bd);
}

body[data-page="home"] #editorsRowHeading::before {
  content: "♥";
  font-size: 1.55rem;
}

body[data-page="home"] #netflixRowHeading::before {
  content: "N";
  background: rgba(229, 9, 20, 0.22);
  color: #e50914;
  font-weight: 900;
}

body[data-page="home"] #hotstarRowHeading::before {
  content: "✦";
  background: linear-gradient(135deg, #44b7ff, #8b39ff 58%, #ff3aa2);
}

body[data-page="home"] #primeRowHeading::before {
  content: "prime";
  background: #3da5ff;
  color: #03111c;
  font-size: 0.54rem;
  font-weight: 900;
}

body[data-page="home"] #crunchyrollRowHeading::before {
  content: "C";
  background: #f47521;
  color: #fff;
  font-weight: 900;
}

body[data-page="home"] .explore-feed-grid,
body[data-page="home"] .explore-row-section .trend-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 160px));
  grid-auto-rows: auto;
  justify-content: start;
  gap: 28px 28px;
}

body[data-page="home"] .featured-card,
body[data-page="home"] .featured-feed-card {
  display: grid;
  min-width: 0;
  min-height: 0;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

body[data-page="home"] .featured-feed-card::after {
  display: none;
}

body[data-page="home"] .featured-poster,
body[data-page="home"] .featured-feed-card .featured-poster {
  width: 100%;
  height: 248px;
  aspect-ratio: auto;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: none;
  transition: transform 160ms ease, filter 160ms ease;
}

body[data-page="home"] .featured-feed-card:hover .featured-poster {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

body[data-page="home"] .featured-feed-card .featured-copy {
  display: grid;
  min-height: 0;
  padding: 12px 2px 0;
  gap: 4px;
  grid-template-rows: auto auto;
  background: transparent;
}

body[data-page="home"] .featured-feed-card .featured-copy h3 {
  min-height: 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0.02em;
  -webkit-line-clamp: 1;
}

body[data-page="home"] .featured-feed-card .movie-meta {
  margin: 0;
  min-height: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
}

body[data-page="home"] .featured-feed-card .movie-meta:first-of-type {
  display: none;
}

body[data-page="home"] .featured-feed-card .subtle-line {
  display: block;
}

body[data-page="home"] .explore-sidebar {
  top: 112px;
  gap: 22px;
  max-height: calc(100vh - 118px);
  overflow-y: auto;
  scrollbar-width: thin;
}

@media (max-width: 1180px) {
  body[data-page="home"] .explore-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-page="home"] .explore-sidebar {
    position: static;
    max-height: none;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(229, 9, 20, 0.22), transparent 26%),
    radial-gradient(circle at 16% 14%, rgba(123, 89, 255, 0.14), transparent 20%),
    radial-gradient(circle at 82% 22%, rgba(92, 208, 255, 0.08), transparent 16%),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 20%),
    linear-gradient(180deg, #131116 0%, #0a0a0d 46%, #050505 100%);
}

img {
  display: block;
  width: 100%;
}

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

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

.page-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 64px;
}

.hero {
  position: relative;
  padding: 18px 0 48px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 72px 0 0;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 120, 120, 0.22), transparent 22%),
    radial-gradient(circle at 78% 22%, rgba(88, 126, 255, 0.14), transparent 24%),
    linear-gradient(120deg, rgba(229, 9, 20, 0.16), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 60%);
  border: 1px solid var(--line);
  border-radius: 36px;
  backdrop-filter: blur(14px);
  z-index: -1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.topbar.compact {
  margin-bottom: 28px;
}

.explore-header {
  display: block;
  width: 100%;
  margin-bottom: 18px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(6, 6, 8, 0.92);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  box-sizing: border-box;
  overflow: hidden;
}

.explore-header-desktop {
  display: block;
}

.explore-header-mobile-shell {
  display: none;
}

.explore-mobile-header-bar,
.explore-mobile-header-row,
.explore-mobile-header-left,
.explore-mobile-header-right {
  display: none;
}

.explore-topbar {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.explore-topbar-main {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  width: 100%;
  min-width: 0;
}

.explore-topbar-left,
.explore-nav-center,
.explore-actions-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.explore-topbar-left {
  flex: 0 0 auto;
  min-width: 0;
}

.explore-nav-center {
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: wrap;
}

.explore-actions-right {
  flex: 0 0 auto;
  margin-left: auto;
  min-width: 0;
}

.explore-mobile-header-grid,
.explore-mobile-toprow,
.explore-mobile-nav {
  display: none;
}

.explore-mobile-toprow-left,
.explore-mobile-toprow-right {
  display: contents;
}

.home-chip {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  letter-spacing: 0.06em;
  color: var(--accent);
}

.brand-compact {
  font-size: 1.65rem;
  color: #fff;
}

.brand-mark {
  position: relative;
  width: 52px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 40% 40% 42% 42%;
  background:
    radial-gradient(circle at 28% 30%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.18) 22%, transparent 36%),
    radial-gradient(circle at 68% 34%, rgba(255, 170, 255, 0.92), rgba(255, 170, 255, 0.16) 26%, transparent 48%),
    linear-gradient(135deg, #57a4ff 0%, #8b5bff 40%, #e967ff 72%, #ff90c1 100%);
  box-shadow:
    0 10px 22px rgba(152, 98, 255, 0.28),
    inset 0 -8px 16px rgba(255, 255, 255, 0.2);
  filter: saturate(1.08);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  top: 10px;
  width: 16px;
  height: 14px;
  background: rgba(7, 7, 7, 0.5);
  border-radius: 50%;
  backdrop-filter: blur(2px);
}

.brand-mark::before {
  left: 8px;
}

.brand-mark::after {
  right: 8px;
}

.brand-text {
  display: inline-block;
  transform: translateY(1px);
  letter-spacing: 0.04em;
}

.beta-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(126, 70, 255, 0.15);
  border: 1px solid rgba(126, 70, 255, 0.28);
  color: #d6cbff;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.explore-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border: 0;
  appearance: none;
  background: transparent;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-size: 0.95rem;
}

.explore-nav-link.active,
.explore-nav-link:hover {
  color: #fff;
  border-bottom-color: #7e46ff;
}

.explore-nav-link span {
  font-size: 0.92rem;
  opacity: 0.9;
}

.topbar-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.topbar-icon-actions {
  display: none;
  align-items: center;
  gap: 10px;
}

.icon-chip {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
}

.notification-trigger {
  position: relative;
  font-size: 1.15rem;
  color: #fff;
}

.notification-glyph {
  display: inline-grid;
  place-items: center;
  filter: drop-shadow(0 0 10px rgba(255, 130, 130, 0.12));
}

.notification-dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff5b62;
  box-shadow: 0 0 0 3px rgba(6, 6, 8, 0.92);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 180ms ease, transform 180ms ease;
}

.notification-dot.visible {
  opacity: 1;
  transform: scale(1);
}

.avatar-chip {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(126, 70, 255, 0.3);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), transparent 45%),
    linear-gradient(135deg, rgba(126, 70, 255, 0.9), rgba(229, 9, 20, 0.75));
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.account-menu-wrap {
  position: relative;
}

.account-chip {
  width: auto;
  min-width: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 6px 12px;
}

.account-chip.signed-in {
  width: 46px;
  min-width: 46px;
  height: 46px;
  padding: 0;
  gap: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.28),
    0 0 0 2px rgba(126, 70, 255, 0.18);
}

.account-chip-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #7e46ff 0%, #e50914 100%);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  flex-shrink: 0;
}

.account-chip.signed-in .account-chip-avatar {
  width: 38px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.account-chip-label {
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 700;
}

.account-chip.signed-in .account-chip-label {
  display: none;
}

.account-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 70;
  min-width: 220px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(10, 10, 14, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
  display: grid;
  gap: 6px;
}

.account-menu-link {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 0;
  background: transparent;
  color: #fff;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.account-menu-link:hover {
  background: rgba(255, 255, 255, 0.06);
}

.account-menu-link.danger {
  color: #ffc6c9;
  background: rgba(255, 99, 99, 0.12);
}

.account-top-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ghost-link,
.cta-link,
.primary-btn,
.secondary-btn {
  border-radius: 999px;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.ghost-link,
.cta-link {
  padding: 10px 16px;
  border: 1px solid var(--line);
}

button.ghost-link {
  color: var(--text);
  background: transparent;
  cursor: pointer;
}

.ghost-link:hover,
.cta-link:hover,
.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-2px);
}

.cta-link,
.primary-btn {
  background: linear-gradient(135deg, #ff2430 0%, #b9050f 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: 0 12px 30px rgba(229, 9, 20, 0.28);
}

.explore-main {
  display: grid;
  gap: 22px;
}

.explore-showcase,
.explore-row-section,
.schedule-section,
.collections-section,
.sidebar-card {
  content-visibility: auto;
  contain-intrinsic-size: 560px;
}

.explore-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(320px, 0.72fr);
  gap: 20px;
  align-items: start;
}

.explore-primary {
  display: grid;
  gap: 24px;
}

.explore-showcase,
.sidebar-card {
  border-radius: 26px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(12, 12, 15, 0.96), rgba(9, 9, 11, 0.9)),
    radial-gradient(circle at top left, rgba(126, 70, 255, 0.22), transparent 30%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.explore-showcase {
  padding: 18px 20px 22px;
}

.showcase-row-heading {
  margin-bottom: 18px;
}

.showcase-row-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.showcase-row-title h2 {
  margin: 0;
  font-size: clamp(1.9rem, 2.2vw, 2.5rem);
  line-height: 1;
}

.showcase-row-icon {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  font-size: 1.05rem;
}

.explore-sidebar {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 16px;
}

.browse-panel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.browse-box {
  min-height: 108px;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 10px;
  padding: 16px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f1eff4;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.browse-box span:last-child {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
}

.browse-box-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #d8d0fb;
  font-size: 1rem;
}

.browse-box:hover {
  transform: translateY(-2px);
  border-color: rgba(126, 70, 255, 0.36);
  background: rgba(126, 70, 255, 0.08);
}

.most-interested-list {
  display: grid;
  gap: 14px;
}

.interest-filter-wrap {
  display: inline-flex;
}

.interest-window-select {
  min-width: 126px;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px 12px;
  outline: none;
}

.interest-item {
  display: grid;
  grid-template-columns: auto 62px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.interest-rank {
  min-width: 42px;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.78);
}

.interest-poster {
  width: 62px;
  height: 84px;
  object-fit: cover;
  border-radius: 12px;
}

.interest-copy h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.interest-copy p,
.interest-copy span {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.interest-copy span {
  margin-top: 6px;
  color: #ff8d78;
  font-weight: 700;
}

.schedule-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 22px;
}

.schedule-sidebar {
  display: grid;
  gap: 18px;
  align-content: start;
}

.schedule-menu,
.schedule-note-card,
.collection-tabs,
.collection-card {
  background: rgba(14, 14, 16, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.schedule-menu {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 20px;
}

.schedule-menu-btn,
.schedule-type-pill,
.collection-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  cursor: pointer;
}

.schedule-menu-btn.active,
.schedule-type-pill.active,
.collection-tab.active {
  background: linear-gradient(135deg, #b45dff 0%, #7e46ff 55%, #e50914 100%);
  border-color: transparent;
}

.schedule-note-card {
  padding: 18px;
  border-radius: 20px;
}

.schedule-note-card h3 {
  margin: 0 0 10px;
}

.schedule-content {
  display: grid;
  gap: 16px;
}

.schedule-type-pills,
.collection-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.collection-tabs {
  padding: 8px;
  width: fit-content;
  border-radius: 18px;
  margin-bottom: 18px;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.schedule-card {
  display: grid;
  gap: 10px;
}

.schedule-date-badge {
  width: 58px;
  display: grid;
  justify-items: center;
  padding: 8px 6px;
  border-radius: 14px;
  background: rgba(25, 25, 29, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.schedule-date-badge span {
  font-size: 0.72rem;
  color: #d0cbe7;
}

.schedule-date-badge strong {
  font-size: 1.15rem;
}

.schedule-poster {
  aspect-ratio: 0.72;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.32);
}

.schedule-copy h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.schedule-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.schedule-status-tag {
  display: inline-flex;
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(126, 70, 255, 0.16);
  color: #d8c7ff;
  font-size: 0.78rem;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.collection-card {
  overflow: hidden;
  border-radius: 22px;
}

.collection-cover {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.collection-copy {
  padding: 14px 14px 16px;
}

.collection-copy h3 {
  margin: 0 0 6px;
  font-size: 1.06rem;
}

.collection-copy p,
.collection-copy span {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.collection-copy span {
  display: block;
  margin-top: 8px;
  color: #f2c1c8;
}

.notification-overlay {
  width: min(760px, 100%);
}

.auth-overlay {
  width: min(540px, 100%);
}

.auth-tab-row {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.auth-form-single {
  grid-template-columns: 1fr;
}

.auth-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.auth-chip.signed-in {
  background: rgba(126, 70, 255, 0.18);
}

.profile-page,
.account-page {
  padding: 28px 0 60px;
}

.profile-page-shell,
.account-page-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 260px;
  gap: 22px;
  align-items: start;
}

.account-page-shell {
  grid-template-columns: 260px minmax(0, 1fr);
}

.profile-side-card,
.profile-main-panel,
.profile-interest-panel,
.account-settings-card {
  padding: 24px;
  border-radius: 26px;
  background: rgba(18, 18, 21, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.profile-avatar-wrap {
  margin-bottom: 18px;
}

.profile-avatar-actions {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.profile-avatar-actions .secondary-btn,
.profile-avatar-actions .ghost-link {
  width: 100%;
  justify-content: center;
}

.profile-avatar,
.account-avatar {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.profile-avatar-fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #7e46ff 0%, #e50914 100%);
  color: #fff;
  font-weight: 800;
  font-size: 2rem;
}

.profile-side-card h1,
.account-form-head h1 {
  margin: 0 0 6px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.profile-handle {
  margin: 0 0 22px;
  color: var(--muted);
}

.profile-stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.profile-stat-row article,
.account-health-item {
  padding: 14px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.profile-stat-row strong,
.account-health-item strong {
  display: block;
  font-size: 1.35rem;
  color: #fff;
}

.profile-stat-row span,
.account-health-item span {
  color: var(--muted);
  font-size: 0.84rem;
}

.profile-bio {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.75;
}

.profile-mini-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #d9d9e2;
  margin-bottom: 18px;
}

.profile-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.profile-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.profile-tab,
.profile-filter-pill,
.account-settings-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  cursor: pointer;
  font: inherit;
}

.profile-tab.active,
.profile-filter-pill.active {
  background: linear-gradient(135deg, #7e46ff 0%, #b45dff 60%, #e50914 100%);
  border-color: transparent;
}

.profile-filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  justify-content: space-between;
  align-items: center;
}

.profile-filter-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.profile-review-list,
.profile-post-list,
.profile-interest-list {
  display: grid;
  gap: 14px;
}

.profile-review-card,
.profile-post-card,
.profile-interest-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-post-card {
  grid-template-columns: 120px minmax(0, 1fr) auto;
  align-items: center;
}

.profile-interest-item {
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
}

.profile-review-poster,
.profile-post-cover,
.profile-interest-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.profile-review-head {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: start;
}

.profile-review-head h3,
.profile-post-copy h3 {
  margin: 0 0 6px;
}

.profile-review-meta,
.profile-post-copy p,
.profile-interest-item small {
  margin: 0;
  color: var(--muted);
}

.profile-review-text {
  margin: 12px 0 0;
  color: #e8e8ef;
  line-height: 1.7;
}

.profile-inline-actions {
  margin-top: 14px;
}

.profile-reaction-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(36, 201, 111, 0.14);
  border: 1px solid rgba(36, 201, 111, 0.35);
  color: #c7ffe0;
  font-size: 0.82rem;
  white-space: nowrap;
}

.profile-interest-item strong {
  display: block;
  margin-bottom: 4px;
}

.account-settings-nav {
  position: sticky;
  top: 110px;
}

.account-settings-card {
  display: grid;
  gap: 14px;
}

.account-settings-card h2 {
  margin: 0 0 6px;
  font-size: 1.8rem;
}

.account-settings-link {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.account-settings-link.active {
  background: rgba(126, 70, 255, 0.18);
  border-color: rgba(126, 70, 255, 0.38);
}

.account-settings-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 6px 0;
}

.account-form-head {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.account-avatar-stack {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.account-avatar-preview {
  width: 128px;
  height: 128px;
}

.account-avatar-preview .account-avatar,
.account-avatar-preview .profile-avatar-fallback {
  width: 128px;
  height: 128px;
}

.account-avatar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.account-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.input-help {
  color: var(--muted);
  font-size: 0.82rem;
}

.account-health-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.health-status-strip {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.health-status-dot {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #c7c7d4;
  font-size: 1.1rem;
}

.health-status-dot.active.good,
.health-status-dot.active {
  background: rgba(36, 201, 111, 0.16);
  border-color: rgba(36, 201, 111, 0.36);
  color: #9ef0bf;
}

.health-banner,
.health-card {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.health-banner.good {
  background: rgba(36, 201, 111, 0.16);
  border-color: rgba(36, 201, 111, 0.3);
  color: #ccffe0;
}

.health-banner.warn {
  background: rgba(255, 191, 71, 0.12);
  border-color: rgba(255, 191, 71, 0.28);
  color: #ffe0a6;
}

.health-card h3,
.health-faq h3 {
  margin: 0 0 8px;
}

.health-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.health-help-copy {
  margin-top: 10px !important;
  color: #e7dfef !important;
  font-size: 0.92rem;
}

.health-action-btn {
  margin-top: 14px;
  width: 100%;
  justify-content: center;
}

.health-faq {
  display: grid;
  gap: 14px;
}

.health-faq-list {
  display: grid;
  gap: 10px;
}

.health-faq-item {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.health-faq-btn {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border: 0;
  background: transparent;
  color: #fff;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.health-faq-number {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(126, 70, 255, 0.18);
  color: #efe4ff;
  font-size: 0.86rem;
  font-weight: 700;
}

.health-faq-answer {
  padding: 0 18px 18px 62px;
}

.health-faq-answer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.account-empty-state {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 28px;
  border-radius: 28px;
  background: rgba(18, 18, 21, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  text-align: center;
}

.profile-collection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.reviews-page,
.collection-page {
  padding: 28px 0 60px;
}

.reviews-page-shell,
.collection-page-shell {
  display: grid;
  gap: 22px;
}

.reviews-page-heading {
  align-items: center;
}

.reviews-calendar-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.reviews-calendar-controls select {
  min-width: 130px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.reviews-calendar-shell,
.collection-list-card,
.collection-detail-card {
  padding: 24px;
  border-radius: 26px;
  background: rgba(18, 18, 21, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.reviews-calendar-label {
  margin: 0 0 18px;
  color: var(--muted);
}

.review-calendar-grid {
  display: grid;
  gap: 0;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.review-calendar-head,
.review-calendar-body {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.review-calendar-head span {
  padding: 14px 12px;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.9rem;
}

.review-calendar-head span:last-child {
  border-right: 0;
}

.review-calendar-cell {
  min-height: 132px;
  padding: 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(8, 8, 10, 0.92);
}

.review-calendar-cell:nth-child(7n) {
  border-right: 0;
}

.review-calendar-cell.empty {
  background: rgba(8, 8, 10, 0.5);
}

.review-calendar-date {
  display: block;
  margin-bottom: 10px;
  color: #f5f5fb;
  font-size: 0.92rem;
}

.review-calendar-items {
  display: grid;
  gap: 8px;
}

.review-calendar-item {
  display: grid;
  gap: 2px;
  padding: 6px 8px;
  border-radius: 10px;
  background: rgba(126, 70, 255, 0.18);
  color: #f2e9ff;
  font-size: 0.82rem;
}

.review-calendar-item small {
  color: #dccbff;
  font-size: 0.74rem;
}

.collection-page-shell {
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: start;
}

.collection-link-list {
  display: grid;
  gap: 10px;
}

.collection-link-card {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.collection-link-card.active {
  background: rgba(126, 70, 255, 0.18);
  border-color: rgba(126, 70, 255, 0.38);
}

.collection-link-card small {
  color: var(--muted);
}

.notification-feed {
  display: grid;
  gap: 14px;
}

.notification-feed-card {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.notification-feed-card h3 {
  margin: 0 0 6px;
}

.notification-feed-card p {
  margin: 0;
  color: var(--muted);
}

#notificationsModal.overlay-modal {
  align-items: flex-start;
  justify-content: center;
  padding: 92px 18px 28px;
}

#notificationsModal .overlay-backdrop {
  background: rgba(0, 0, 0, 0.28);
}

#notificationsModal .notification-overlay {
  width: min(450px, calc(100vw - 28px));
  max-height: min(720px, calc(100vh - 118px));
  padding: 0;
  overflow: hidden;
}

.notification-popover-card {
  width: min(450px, calc(100vw - 28px));
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 74% 44%, rgba(255, 255, 255, 0.14), transparent 18%),
    radial-gradient(circle at 88% 80%, rgba(201, 50, 86, 0.16), transparent 24%),
    rgba(7, 7, 9, 0.96);
  box-shadow: 0 30px 76px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(18px);
}

.notification-popover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.notification-popover-head h2 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.1;
}

.notification-popover-head-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
}

.notification-popover-head-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.notification-popover-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.notification-popover-tab {
  position: relative;
  min-height: 46px;
  padding: 0 12px;
  border: 0;
  color: rgba(255, 255, 255, 0.55);
  background: transparent;
  font: inherit;
  font-weight: 800;
}

.notification-popover-tab.active {
  color: #fff;
}

.notification-popover-tab.active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: #fff;
}

.notification-popover-body {
  max-height: min(58vh, 560px);
  overflow: auto;
}

.notification-popover-body .notification-feed {
  display: block;
  gap: 0;
}

.notification-popover-group-title {
  margin: 0;
  padding: 15px 20px 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  font-weight: 850;
}

.notification-popover-item.notification-feed-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  padding: 13px 20px 15px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  background: transparent;
}

.notification-popover-item:hover {
  background: rgba(255, 255, 255, 0.045);
}

.notification-popover-poster {
  display: grid;
  place-items: center;
  width: 44px;
  height: 56px;
  overflow: hidden;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.74);
  font-weight: 900;
}

.notification-popover-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.notification-popover-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.notification-popover-copy strong {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.95rem;
  line-height: 1.35;
  font-weight: 750;
}

.notification-popover-copy small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.82rem;
  font-weight: 700;
}

.notification-popover-empty {
  margin: 0;
  padding: 20px;
}

.search-suggestions {
  display: grid;
  gap: 8px;
  padding: 10px;
  margin-top: 8px;
  border-radius: 18px;
  background: rgba(8, 8, 12, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.search-suggestion-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 14px;
}

.search-suggestion-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.search-suggestion-item img {
  width: 44px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
}

.search-suggestion-item strong,
.search-suggestion-item small {
  display: block;
}

.search-suggestion-item small {
  color: var(--muted);
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 24px;
  padding-top: 6px;
}

#loadMoreBtn {
  width: min(100%, 320px);
  min-height: 56px;
  padding: 16px 24px;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

#loadMoreBtn:hover {
  border-color: rgba(126, 70, 255, 0.4);
  background: linear-gradient(180deg, rgba(126, 70, 255, 0.18), rgba(255, 255, 255, 0.05));
}

.scroll-controls {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 46;
  display: grid;
  gap: 10px;
}

.scroll-control-btn {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(10, 10, 12, 0.92);
  color: #fff;
  font-size: 1.2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.scroll-control-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(126, 70, 255, 0.35);
  background: rgba(22, 22, 26, 0.95);
}

.explore-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
  gap: 28px;
  align-items: start;
  padding: 8px 22px 28px;
}

.explore-intro {
  display: grid;
  align-content: start;
  gap: 18px;
  padding-top: 10px;
}

.explore-feed-card {
  border-radius: var(--radius-lg);
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.95), rgba(17, 17, 17, 0.82)),
    radial-gradient(circle at top right, rgba(88, 126, 255, 0.16), transparent 30%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.explore-panel-header {
  align-items: center;
}

.compact-section-heading {
  margin-bottom: 18px;
}

.compact-section-heading h2 {
  font-size: clamp(1.6rem, 2.1vw, 2.2rem);
}

.explore-chip-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.explore-chip,
.mini-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
  color: #f2eef0;
}

.hero-stats-compact {
  margin-top: 0;
  grid-template-columns: 1fr;
  gap: 10px;
}

.eyebrow,
.panel-label {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: #ff9aa0;
}

.hero-copy h1,
.section-heading h2,
.panel-header h2 {
  margin: 0;
  line-height: 0.96;
}

.hero-copy h1 {
  font-size: clamp(3.4rem, 7vw, 5.8rem);
  max-width: 8.5ch;
  letter-spacing: -0.04em;
}

.hero-text,
.section-copy,
.movie-description,
.detail-overview,
.movie-meta,
.empty-state,
.form-message {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 42ch;
  margin: 12px 0 0;
  font-size: 0.98rem;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.stat-card {
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-label {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  margin-bottom: 8px;
}

.stat-card strong {
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.hero-chip {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f0dde0;
  font-size: 0.88rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 1px solid transparent;
  cursor: pointer;
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--line);
}

.featured-panel,
.controls-card,
.suggest-form,
.movie-card,
.detail-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.featured-panel {
  border-radius: var(--radius-lg);
  padding: 24px;
  align-self: center;
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.95), rgba(17, 17, 17, 0.82)),
    radial-gradient(circle at top right, rgba(229, 9, 20, 0.16), transparent 30%);
}

.featured-grid,
.movie-grid {
  display: grid;
  gap: 20px;
  align-items: start;
}

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

.featured-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
}

.explore-feed-grid {
  gap: 14px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;
  grid-auto-rows: 1fr;
  margin-top: 0;
}

.featured-card,
.movie-card {
  overflow: hidden;
  border-radius: var(--radius-md);
}

.featured-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(20, 20, 28, 0.96), rgba(11, 11, 16, 0.88)),
    radial-gradient(circle at top left, rgba(126, 70, 255, 0.12), transparent 34%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.featured-poster {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.featured-copy {
  padding: 10px 4px 2px;
}

.featured-feed-card {
  display: grid;
  grid-template-rows: auto minmax(104px, auto);
  background:
    linear-gradient(180deg, rgba(18, 18, 24, 0.84), rgba(10, 10, 15, 0.58));
  border: 1px solid rgba(255, 255, 255, 0.08);
  align-content: start;
  min-height: 100%;
  height: 100%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.featured-feed-card .featured-copy h3 {
  margin-bottom: 4px;
  font-size: 0.84rem;
  line-height: 1.14;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 1.98em;
}

.featured-feed-card .featured-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 14px;
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.3);
  object-fit: cover;
  transition: transform 280ms ease, filter 280ms ease;
}

.featured-feed-card .featured-copy {
  padding: 9px 9px 10px;
  display: grid;
  grid-template-rows: minmax(1.98em, auto) minmax(0.98em, auto) minmax(0.98em, auto);
  align-content: start;
  gap: 4px;
  min-height: 82px;
}

.featured-feed-card .movie-meta {
  font-size: 0.68rem;
  min-height: 0.98em;
}

.featured-feed-card .status-pill {
  padding: 5px 8px;
  font-size: 0.72rem;
}

.subtle-line {
  color: #8f8f98;
}

.explore-row-section .trend-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;
  grid-auto-rows: 1fr;
}

.featured-copy h3,
.movie-header h3,
.detail-copy h1 {
  margin: 0 0 10px;
}

.rating-pill,
.genre-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
}

.section {
  padding-top: 28px;
}

.community-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.community-card,
.info-card {
  padding: 22px;
  border-radius: 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.community-card h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.community-card .section-copy {
  margin-bottom: 0;
}

.member-banner {
  margin-top: 4px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(14, 90, 49, 0.28);
  color: #d9ffe8;
  box-shadow: var(--shadow);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 18px;
}

.section-heading h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.section-copy {
  max-width: 46ch;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.controls-card {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 24px;
  align-items: stretch;
}

.controls-card .input-group {
  min-height: 112px;
  padding: 14px 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  justify-content: space-between;
}

.controls-card .input-group > span {
  color: #c9bfdf;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.language-group {
  border: 0;
  padding: 0;
  margin: 0;
}

.language-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.check-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.check-option input {
  width: auto;
}

.input-group span {
  font-size: 0.9rem;
  color: #dedede;
}

.input-group input,
.input-group textarea,
.input-group select {
  width: 100%;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
  border-color: rgba(255, 54, 67, 0.8);
  box-shadow: 0 0 0 4px rgba(229, 9, 20, 0.16);
  transform: translateY(-1px);
}

.movie-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  grid-auto-rows: 1fr;
}

.movie-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(18, 18, 24, 0.96), rgba(10, 10, 15, 0.8)),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.04), transparent 28%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  border-color: rgba(181, 149, 255, 0.26);
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.4);
}

.movie-card-link {
  display: block;
  position: relative;
  isolation: isolate;
}

.movie-card-link::after,
.featured-feed-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(7, 7, 11, 0.14) 35%, rgba(7, 7, 11, 0.72));
  pointer-events: none;
  z-index: 0;
}

.movie-poster {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 280ms ease, filter 280ms ease;
}

.movie-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 8px 9px 9px;
  position: relative;
  z-index: 1;
}

.movie-card-compact {
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(74px, auto) auto auto;
  min-height: 100%;
  height: 100%;
}

.movie-card-compact .movie-poster {
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.movie-card:hover .movie-poster,
.featured-feed-card:hover .featured-poster {
  transform: scale(1.045);
  filter: saturate(1.04) contrast(1.03);
}

.movie-card-compact .movie-header {
  display: grid;
  gap: 3px;
}

.movie-card-compact .movie-header h3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 1.88em;
  font-size: 0.82rem;
  line-height: 1.14;
}

.movie-card-summary-feed {
  gap: 2px;
}

.movie-header-feed .movie-meta {
  font-size: 0.66rem;
  min-height: 0.95em;
}

.clamp-line {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-card-summary {
  display: grid;
  gap: 6px;
}

.movie-card-summary-feed {
  gap: 3px;
}

.movie-header-feed {
  display: block;
}

.movie-header-feed > div {
  display: grid;
  gap: 3px;
}

.movie-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.movie-header h3 {
  font-size: 1.18rem;
}

.movie-meta {
  font-size: 0.7rem;
  min-height: 0.95em;
}

.movie-grid .movie-card,
.movie-grid .movie-card-link,
.movie-grid .movie-content,
.movie-grid .movie-card-summary,
.movie-grid .movie-card-summary-feed,
.movie-grid .movie-header-feed > div,
.movie-grid .movie-card-compact .movie-header,
.movie-grid .movie-card-compact .movie-header h3,
.movie-grid .movie-meta,
.movie-grid .movie-header-feed .movie-meta,
.movie-grid .movie-poster {
  all: unset;
}

.movie-grid .movie-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(18, 18, 24, 0.96), rgba(10, 10, 15, 0.8)),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.04), transparent 28%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.movie-grid .movie-card:hover {
  transform: translateY(-8px);
  border-color: rgba(181, 149, 255, 0.26);
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.4);
}

.movie-grid .movie-card-link {
  display: grid;
  grid-template-rows: auto minmax(82px, auto);
  position: relative;
  isolation: isolate;
  height: 100%;
}

.movie-grid .movie-card-link::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(7, 7, 11, 0.14) 35%, rgba(7, 7, 11, 0.72));
  pointer-events: none;
  z-index: 0;
}

.movie-grid .movie-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 280ms ease, filter 280ms ease;
}

.movie-grid .movie-card:hover .movie-poster {
  transform: scale(1.045);
  filter: saturate(1.04) contrast(1.03);
}

.movie-grid .movie-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 5px;
  padding: 11px 11px 12px;
  position: relative;
  z-index: 1;
  min-height: 82px;
}

.movie-grid .movie-card-summary {
  display: grid;
  gap: 5px;
}

.movie-grid .movie-card-summary-feed {
  gap: 3px;
}

.movie-grid .movie-header-feed {
  display: block;
}

.movie-grid .movie-header-feed > div,
.movie-grid .movie-card-compact .movie-header {
  display: grid;
  gap: 5px;
}

.movie-grid .movie-card-compact .movie-header h3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 1.98em;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0;
  color: #f5f1ff;
}

.movie-grid .movie-meta,
.movie-grid .movie-header-feed .movie-meta {
  font-size: 0.74rem;
  min-height: 1.05em;
  line-height: 1.28;
  margin: 0;
  color: rgba(222, 220, 232, 0.88);
}

.movie-grid .movie-meta.subtle-line,
.movie-grid .movie-header-feed .movie-meta.subtle-line {
  color: rgba(156, 153, 172, 0.92);
}

.media-skeleton-card {
  display: grid;
  gap: 12px;
  min-height: 100%;
  padding: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(18, 18, 24, 0.92), rgba(11, 11, 15, 0.82));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.skeleton-copy {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.skeleton-shimmer {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.skeleton-shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  animation: moviemateShimmer 1.25s ease-in-out infinite;
}

.skeleton-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
}

.skeleton-line {
  height: 12px;
  border-radius: 999px;
}

.skeleton-line-title {
  height: 16px;
  width: 78%;
}

.skeleton-line-short {
  width: 44%;
}

.interest-item-skeleton {
  pointer-events: none;
}

.skeleton-rank {
  width: 22px;
  height: 18px;
  border-radius: 999px;
}

.skeleton-thumb {
  width: 56px;
  aspect-ratio: 2 / 3;
  border-radius: 12px;
}

@keyframes moviemateShimmer {
  100% {
    transform: translateX(100%);
  }
}

.movie-description {
  margin: 0;
  font-size: 0.95rem;
}

.movie-actions,
.rating-row,
.detail-stats,
.detail-actions,
.form-actions,
.auth-tabs,
.comment-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.movie-actions {
  margin-top: auto;
  justify-content: space-between;
}

.movie-actions-compact {
  padding: 4px 2px 0;
  margin-top: 0;
  justify-content: flex-start;
}

.movie-owner-controls {
  padding: 0 18px 18px;
}

.save-title-btn.active {
  background: rgba(126, 70, 255, 0.18);
  border-color: rgba(126, 70, 255, 0.42);
  color: #efe6ff;
}

.status-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.status-pinned {
  background: rgba(255, 204, 77, 0.14);
  border-color: rgba(255, 204, 77, 0.35);
  color: #ffe29a;
}

.status-trending {
  background: rgba(255, 111, 60, 0.14);
  border-color: rgba(255, 111, 60, 0.35);
  color: #ffc3aa;
}

.status-pending {
  background: rgba(118, 173, 255, 0.14);
  border-color: rgba(118, 173, 255, 0.35);
  color: #cbdfff;
}

.status-upcoming {
  background: rgba(168, 120, 255, 0.14);
  border-color: rgba(168, 120, 255, 0.35);
  color: #dec9ff;
}

.status-released {
  background: rgba(74, 214, 144, 0.14);
  border-color: rgba(74, 214, 144, 0.35);
  color: #c7ffe0;
}

.status-source {
  background: rgba(85, 164, 255, 0.14);
  border-color: rgba(85, 164, 255, 0.35);
  color: #9ed0ff;
}

.owner-toggle.active {
  border-color: rgba(36, 201, 111, 0.55);
  background: rgba(36, 201, 111, 0.14);
}

.owner-grid {
  display: grid;
  gap: 18px;
}

.owner-panel {
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(19, 19, 22, 0.92), rgba(13, 13, 15, 0.82));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.owner-panel-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 18px;
}

.owner-analytics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.analytics-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(14, 14, 16, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.analytics-row {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: center;
}

.analytics-row img {
  width: 54px;
  height: 74px;
  object-fit: cover;
  border-radius: 12px;
}

.analytics-row strong,
.analytics-row small {
  display: block;
}

.analytics-row small {
  color: var(--muted);
}

.owner-notifications-panel {
  margin-bottom: 18px;
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.owner-notifications-header,
.insight-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.owner-notifications-header h3,
.insight-header h3 {
  margin: 0;
  font-size: 1.18rem;
}

.notification-count-pill,
.insight-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(229, 9, 20, 0.16);
  border: 1px solid rgba(229, 9, 20, 0.36);
  color: #ffd4d7;
  font-weight: 700;
}

.owner-notifications-list {
  display: grid;
  gap: 12px;
}

.notification-card {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.notification-title {
  margin: 0 0 6px;
  font-weight: 700;
}

.notification-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.owner-panel-btn {
  min-width: 220px;
}

.owner-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.owner-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.owner-action-btn.active {
  background: rgba(36, 201, 111, 0.16);
  border-color: rgba(36, 201, 111, 0.5);
}

.owner-badge {
  margin: 0;
  color: #9af0bc;
  font-size: 0.86rem;
}

.reaction-panel {
  display: grid;
  gap: 10px;
}

.watch-status-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.watch-status-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.watch-status-btn:hover {
  transform: translateY(-2px);
}

.watch-status-btn-interested.active {
  background: linear-gradient(135deg, rgba(255, 185, 99, 0.26) 0%, rgba(207, 124, 57, 0.44) 100%);
  border-color: rgba(255, 188, 122, 0.66);
  box-shadow: 0 10px 24px rgba(207, 124, 57, 0.2);
}

.watch-status-btn-watching.active {
  background: linear-gradient(135deg, rgba(72, 206, 130, 0.24) 0%, rgba(40, 148, 82, 0.44) 100%);
  border-color: rgba(84, 223, 145, 0.62);
  box-shadow: 0 10px 24px rgba(42, 163, 92, 0.22);
}

.watch-status-btn-watched.active {
  background: linear-gradient(135deg, rgba(92, 165, 255, 0.24) 0%, rgba(70, 111, 255, 0.4) 100%);
  border-color: rgba(119, 179, 255, 0.62);
  box-shadow: 0 10px 24px rgba(70, 111, 255, 0.2);
}

.watch-status-btn.active {
  font-weight: 700;
}

.watch-status-btn:disabled,
.save-title-btn:disabled,
.reaction-btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.member-action-note {
  margin: 0;
  color: #9f9aa7;
  font-size: 0.84rem;
  line-height: 1.5;
}

.card-member-note {
  padding: 4px 2px 0;
}

.hero-interest-action {
  margin-top: 6px;
  min-height: 48px;
}

.hero-interest-helper {
  margin: 0;
  color: rgba(255, 232, 220, 0.78);
  font-size: 0.82rem;
  line-height: 1.45;
}

.reaction-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.reaction-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.reaction-btn:hover {
  transform: translateY(-2px);
}

.reaction-btn.active.like {
  background: rgba(36, 201, 111, 0.18);
  border-color: rgba(36, 201, 111, 0.5);
}

.reaction-btn.active.dislike {
  background: rgba(255, 99, 99, 0.18);
  border-color: rgba(255, 99, 99, 0.5);
}

.reaction-btn.active.perfect,
.reaction-btn-perfect.active {
  background: rgba(154, 92, 255, 0.2);
  border-color: rgba(154, 92, 255, 0.5);
}

.reaction-btn.active.goforit,
.reaction-btn-goforit.active {
  background: rgba(36, 201, 111, 0.18);
  border-color: rgba(36, 201, 111, 0.5);
}

.reaction-btn.active.timepass,
.reaction-btn-timepass.active {
  background: rgba(255, 191, 71, 0.18);
  border-color: rgba(255, 191, 71, 0.5);
}

.reaction-btn.active.skip,
.reaction-btn-skip.active {
  background: rgba(255, 99, 99, 0.18);
  border-color: rgba(255, 99, 99, 0.5);
}

.reaction-summary {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.danger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 99, 99, 0.4);
  background: rgba(255, 99, 99, 0.12);
  color: #ffd0d0;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.danger-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 99, 99, 0.7);
  background: rgba(255, 99, 99, 0.2);
}

.details-link {
  color: #fff;
  font-weight: 700;
}

.stars {
  display: inline-flex;
  gap: 4px;
}

.star-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.28);
  font-size: 1.3rem;
  padding: 0;
  cursor: pointer;
  transition: color 140ms ease, transform 140ms ease;
}

.star-btn:hover,
.star-btn:focus-visible {
  color: var(--gold);
  transform: scale(1.08);
  outline: none;
}

.star-btn.active {
  color: var(--gold);
}

.star-btn.locked {
  opacity: 0.7;
}

.auth-note {
  margin: 0;
  color: #ffb0b4;
  font-size: 0.9rem;
}

.empty-state {
  margin: 28px 0 0;
  padding: 18px 20px;
  text-align: center;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.hidden {
  display: none;
}

.suggest-section {
  margin-top: 30px;
}

.suggest-form {
  border-radius: var(--radius-lg);
  padding: 22px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-span {
  grid-column: 1 / -1;
}

.form-message {
  margin: 0;
}

.detail-shell {
  padding-top: 0;
}

.detail-hero-card,
.detail-insights-grid {
  display: grid;
  gap: 24px;
}

.detail-hero-card {
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 18px;
  overflow: visible;
  border-radius: 34px;
  background: rgba(8, 8, 12, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
  padding: 24px;
}

.trailer-stage,
.detail-summary,
.insight-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  border-radius: 30px;
}

.trailer-stage {
  position: relative;
  overflow: hidden;
  min-height: 0;
  aspect-ratio: 16 / 9;
  border-radius: 28px;
}

.trailer-stage-button {
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.trailer-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  transform: translate(-50%, -50%);
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.trailer-play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 84px;
  height: 84px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(11, 11, 15, 0.58);
  color: #fff;
  font-size: 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.trailer-frame,
.trailer-poster {
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  object-fit: cover;
}

.trailer-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 14px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.82));
}

.hero-interest-card {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 4;
  display: grid;
  gap: 6px;
  width: min(270px, calc(100% - 40px));
  padding: 16px 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(81, 39, 23, 0.78), rgba(37, 18, 15, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
}

.hero-interest-eyebrow {
  margin: 0;
  color: rgba(255, 232, 220, 0.82);
  font-size: 0.84rem;
}

.hero-interest-card h3 {
  margin: 0;
  color: #fff;
  font-size: 1.3rem;
}

.hero-interest-count {
  margin: 0;
  color: #ff9d6e;
  font-weight: 700;
}

.trailer-overlay h2 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2.4rem, 4.2vw, 4rem);
  line-height: 0.95;
}

.detail-summary {
  margin: 0;
  padding: 28px;
  position: relative;
  z-index: 5;
  background: linear-gradient(180deg, rgba(14, 14, 20, 0.94), rgba(10, 10, 15, 0.98));
}

.detail-summary-header {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) minmax(240px, 280px);
  gap: 24px;
  align-items: end;
}

.detail-cta-stack {
  display: grid;
  gap: 12px;
  align-self: end;
}

.detail-cta-stack .watch-status-btn,
.detail-cta-stack .detail-save-btn {
  width: 100%;
  min-height: 54px;
  border-radius: 999px;
}

.detail-save-btn {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f3f0f3;
}

.detail-save-btn.active {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

.detail-cta-helper {
  margin: -2px 2px 0;
  text-align: center;
}

.detail-poster {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
}

.detail-copy h1 {
  margin: 10px 0 12px;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 0.94;
}

.detail-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.detail-fact {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.detail-fact span {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.detail-fact strong {
  color: #fff;
  font-size: 1rem;
}

.detail-hero-description {
  margin: 18px 0 0;
  max-width: 70ch;
  color: var(--muted);
}

.detail-overview {
  margin: 0;
  max-width: 62ch;
}

.rating-pill strong {
  color: #fff;
}

.detail-actions {
  margin-top: 24px;
  display: grid;
  gap: 16px;
}

.detail-actions .form-message {
  min-height: 1.2em;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

.detail-action-strip {
  margin-top: 18px;
  position: relative;
  z-index: 12;
}

.detail-action-strip .detail-actions {
  padding: 22px 24px;
  border-radius: 28px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 12;
}

.reaction-panel,
.reaction-buttons {
  position: relative;
  z-index: 13;
}

.trailer-btn,
.save-title-btn,
.share-title-btn {
  color: #fff;
  position: relative;
  z-index: 13;
}

.detail-actions .trailer-btn,
.detail-actions .share-title-btn {
  min-height: 52px;
  padding-inline: 18px;
}

.save-title-btn {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

.share-title-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(126, 70, 255, 0.18) 0%, rgba(73, 126, 255, 0.16) 100%);
  border-color: rgba(141, 164, 255, 0.36);
  color: #f4f6ff;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 24px rgba(74, 100, 255, 0.16);
}

.share-title-btn::before {
  content: "↗";
  font-size: 1rem;
  line-height: 1;
}

.share-title-btn:hover {
  border-color: rgba(160, 182, 255, 0.56);
  background: linear-gradient(135deg, rgba(126, 70, 255, 0.26) 0%, rgba(73, 126, 255, 0.22) 100%);
}

.detail-insights-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
}

.similar-section {
  margin-top: 28px;
}

.detail-similar-grid {
  margin-top: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.insight-card {
  padding: 22px;
}

.meter-visual,
.genre-chart {
  position: relative;
  width: min(250px, 100%);
  aspect-ratio: 1;
  margin: 8px auto 20px;
  border-radius: 50%;
}

.meter-visual::after,
.genre-chart::after {
  content: "";
  position: absolute;
  inset: 24px;
  border-radius: 50%;
  background: rgba(10, 10, 15, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.meter-core,
.genre-chart-core {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  text-align: center;
}

.meter-core strong {
  display: block;
  font-size: 2.4rem;
}

.meter-core span,
.genre-chart-core span {
  color: var(--muted);
  font-size: 0.92rem;
}

.meter-list {
  display: grid;
  gap: 10px;
}

.meter-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  color: var(--muted);
}

.meter-row strong {
  color: var(--text);
}

.meter-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #7e46ff;
}

.dot-love {
  background: #18cf9b;
}

.dot-perfect {
  background: #9a5cff;
}

.dot-mixed {
  background: #7e46ff;
}

.dot-timepass {
  background: #ffbf47;
}

.dot-skip {
  background: #ff6b6b;
}

.insight-overview-card {
  display: grid;
  gap: 14px;
}

.people-section {
  display: grid;
  gap: 28px;
  margin-top: 28px;
}

.detail-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.detail-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.9rem;
}

.people-block {
  display: grid;
  gap: 18px;
  padding-top: 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.compact-heading {
  margin-bottom: 0;
}

.compact-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}

.people-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 180px);
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  align-items: stretch;
  position: relative;
  z-index: 2;
}

.people-rail::-webkit-scrollbar {
  height: 8px;
}

.people-rail::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.person-card {
  display: block;
  position: relative;
  z-index: 3;
  padding: 20px 16px 18px;
  text-align: center;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  scroll-snap-align: start;
  min-height: 100%;
}

.person-avatar {
  width: 108px;
  height: 108px;
  margin: 0 auto 16px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
}

.person-avatar-fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.18), rgba(126, 70, 255, 0.26));
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
}

.person-card h4 {
  margin: 0 0 6px;
  font-size: 1.02rem;
}

.person-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.person-page {
  display: grid;
  gap: 28px;
}

.person-hero-card,
.person-biography-section,
.person-filmography-section {
  background: rgba(9, 9, 14, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.person-hero-card {
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(126, 70, 255, 0.14), transparent 38%),
    linear-gradient(180deg, rgba(8, 10, 18, 0.94), rgba(7, 8, 14, 0.98));
}

.person-hero {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  padding: 38px 32px;
}

.person-hero-avatar {
  width: 156px;
  height: 156px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.34);
}

.person-hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.person-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.person-meta-grid-compact {
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  max-width: 780px;
}

.person-meta-item {
  min-height: 102px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.person-meta-item span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

.person-meta-item strong {
  display: block;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.35;
}

.person-biography-section,
.person-filmography-section {
  padding: 28px 30px;
}

.person-biography {
  margin: 0;
  max-width: none;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
  font-size: 1rem;
}

.person-biography-card {
  padding: 22px 24px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.015)),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.person-filmography-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.person-film-card {
  display: block;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.person-film-card:hover {
  transform: none;
  border-color: transparent;
  background: transparent;
}

.person-film-poster {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.26);
}

.person-film-copy {
  padding-top: 12px;
}

.person-film-copy h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
}

.person-film-copy p,
.person-film-copy small {
  display: block;
  margin: 0;
  color: var(--muted);
}

.person-film-copy small {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 1100px) {
  .person-filmography-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 900px) {
  .person-hero {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .person-hero-avatar {
    margin: 0 auto;
  }

  .person-meta-grid,
  .person-meta-grid-compact,
  .person-filmography-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .person-meta-grid,
  .person-filmography-grid {
    grid-template-columns: 1fr;
  }
}

.trailer-btn {
  width: fit-content;
}

.trailer-modal-card {
  width: min(1100px, 100%);
  padding: 18px;
}

.trailer-modal-frame-shell {
  overflow: hidden;
  border-radius: 24px;
  background: #000;
}

.trailer-modal-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

.owner-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  max-width: min(360px, calc(100% - 32px));
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(11, 11, 13, 0.96);
  border: 1px solid rgba(229, 9, 20, 0.3);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
  color: #fff;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.owner-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.comment-section {
  padding-top: 28px;
}

.comment-form {
  margin-bottom: 20px;
}

.member-lock-card {
  display: grid;
  gap: 14px;
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.member-lock-card .section-copy {
  margin: 0;
}

.member-lock-card .primary-btn {
  width: fit-content;
}

.comment-list {
  display: grid;
  gap: 14px;
}

.comment-card {
  padding: 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.comment-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.spoiler-pill {
  margin-bottom: 10px;
}

.spoiler-box {
  display: grid;
  gap: 12px;
}

.spoiler-text {
  margin: 0;
}

.comment-meta {
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.comment-card p {
  margin: 0;
  line-height: 1.7;
  color: var(--text);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-top: 56px;
  padding: 30px 0 10px;
  border-top: 1px solid var(--line);
}

.mobile-dock {
  position: fixed;
  left: 50%;
  bottom: var(--mobile-dock-bottom);
  transform: translateX(-50%);
  z-index: 45;
  display: none;
  width: min(calc(100% - 20px), 680px);
  padding: 10px;
  border-radius: 22px;
  background: rgba(10, 10, 12, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
}

.install-banner {
  position: fixed;
  left: 50%;
  bottom: var(--install-banner-bottom);
  transform: translateX(-50%);
  z-index: 46;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: min(calc(100% - 20px), 680px);
  padding: 10px 12px 11px;
  border-radius: 0;
  background: rgba(5, 5, 8, 0.98);
  border-top: 2px solid #ad53ff;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
}

.install-banner.hidden {
  display: none !important;
}

.install-banner.visible {
  display: flex !important;
}

.install-banner-action {
  flex: 1;
  border: 0;
  background: transparent;
  color: #d478ff;
  font-size: 0.96rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.01em;
  cursor: pointer;
}

.install-banner-close {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 1.15rem;
}

.mobile-dock-link {
  flex: 1;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 10px 8px;
  border-radius: 16px;
}

.mobile-dock-link.active,
.mobile-dock-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 8px;
}

.footer-brand .brand-mark {
  width: 44px;
  height: 32px;
}

.footer-copy {
  max-width: 44ch;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #f0d7d9;
  transition: color 180ms ease, transform 180ms ease;
}

.footer-links a:hover {
  color: #fff;
  transform: translateY(-1px);
}

.info-shell {
  padding-bottom: 48px;
}

.info-page {
  display: grid;
  gap: 20px;
}

.info-card h1 {
  margin: 0 0 16px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.98;
  max-width: 12ch;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
}

.auth-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.auth-card {
  position: relative;
  width: min(480px, calc(100% - 24px));
  padding: 28px;
  border-radius: 28px;
  background: rgba(15, 15, 15, 0.96);
  border: 1px solid var(--line);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
}

.auth-close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 1.8rem;
  cursor: pointer;
}

.auth-heading {
  margin: 0;
  font-size: clamp(2rem, 5vw, 2.6rem);
}

.auth-copy {
  color: var(--muted);
  line-height: 1.7;
}

.auth-tabs {
  margin: 20px 0 18px;
}

.auth-tab {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
}

.auth-tab.active {
  background: linear-gradient(135deg, #ff2430 0%, #b9050f 100%);
  border-color: transparent;
}

.auth-form {
  display: grid;
  gap: 16px;
}

.text-link-btn {
  justify-self: start;
  border: 0;
  background: transparent;
  color: #ff9aa0;
  padding: 0;
  cursor: pointer;
}

.auth-page-shell {
  min-height: 100vh;
}

.auth-page {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 140px);
}

.auth-page-card {
  width: min(520px, 100%);
  padding: 28px;
  border-radius: 28px;
  background: rgba(15, 15, 15, 0.96);
  border: 1px solid var(--line);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
}

.not-found {
  text-align: center;
  padding: 80px 20px;
}

.overlay-modal {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: grid;
  place-items: center;
  padding: 18px;
}

.overlay-modal.hidden {
  display: none !important;
}

.overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.overlay-card {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 26px;
  border-radius: 28px;
  background: rgba(12, 12, 14, 0.96);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.overlay-card-wide {
  width: min(980px, 100%);
}

.overlay-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
  font-size: 1.5rem;
}

.overlay-title {
  margin: 0 0 18px;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.overlay-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.overlay-form-wide textarea {
  min-height: 96px;
}

@media (max-width: 980px) {
  .explore-layout,
  .schedule-layout,
  .detail-hero-card,
  .detail-insights-grid,
  .controls-card,
  .form-grid,
  .section-heading,
  .community-strip,
  .hero-stats,
  .contact-grid,
  .overlay-form {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
  }

  .section {
    padding-top: 34px;
  }

  .explore-sidebar {
    position: static;
  }

  .explore-panel-header {
    flex-direction: column;
    align-items: stretch;
  }

  .explore-feed-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

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

  .owner-analytics-grid {
    grid-template-columns: 1fr;
  }

  .profile-page-shell,
  .account-page-shell,
  .collection-page-shell,
  .account-form-head,
  .account-form,
  .account-health-grid {
    grid-template-columns: 1fr;
  }

  .account-settings-nav {
    position: static;
  }

  .profile-collection-grid {
    grid-template-columns: 1fr;
  }

  .review-calendar-head,
  .review-calendar-body {
    grid-template-columns: repeat(7, minmax(110px, 1fr));
    overflow-x: auto;
  }

  .detail-summary {
    margin: 0;
    padding: 22px;
  }

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

  .explore-row-section .trend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-interest-card {
    position: static;
    width: auto;
    margin: 16px 16px 0;
  }

  .owner-panel-actions {
    justify-content: stretch;
  }

  .owner-panel-btn {
    width: 100%;
  }
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .page-shell {
    width: 100%;
    max-width: none;
    padding: 12px 6px 64px;
    box-sizing: border-box;
    overflow: visible;
  }

  .explore-main {
    padding-left: 0;
    padding-right: 0;
  }

  .explore-header-desktop {
    display: none;
  }

  .explore-header-mobile-shell {
    display: block;
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    max-width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: 18px;
    padding: 12px 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(6, 6, 8, 0.96);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
    box-sizing: border-box;
    overflow: visible;
  }

  .explore-mobile-header-bar {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    box-sizing: border-box;
  }

  .explore-mobile-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .explore-mobile-header-left,
  .explore-mobile-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
  }

  .explore-mobile-header-left {
    flex: 1 1 auto;
    justify-content: flex-start;
    overflow: hidden;
  }

  .explore-mobile-header-right {
    flex: 0 0 auto;
    justify-content: flex-end;
    flex-wrap: nowrap;
  }

  .explore-mobile-home {
    flex: 0 0 auto;
  }

  .explore-mobile-brand {
    flex: 0 0 auto;
    min-width: max-content;
    gap: 8px;
  }

  .explore-mobile-brand .brand-text {
    font-size: 0.98rem;
    white-space: nowrap;
    letter-spacing: 0.04em;
  }

  .explore-mobile-brand .brand-mark {
    width: 48px;
    height: 33px;
  }

  .explore-mobile-header-right .icon-chip,
  .explore-mobile-header-right .avatar-chip {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    flex-shrink: 0;
  }

  .explore-mobile-owner {
    min-height: 38px;
    padding: 0 11px;
    font-size: 0.72rem;
    border-radius: 16px;
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .explore-mobile-header-right .account-menu-wrap {
    flex: 0 0 auto;
    flex-shrink: 0;
  }

  .explore-mobile-header-right .account-chip {
    min-height: 38px;
    min-width: 82px;
    padding: 0 12px;
    border-radius: 16px;
    flex: 0 0 auto;
    flex-shrink: 0;
  }

  .explore-mobile-header-right .account-chip-label {
    display: block;
    font-size: 0.74rem;
    font-weight: 700;
  }

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

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

  .load-more-wrap {
    margin-top: 18px;
  }

  #loadMoreBtn {
    width: 100%;
    max-width: none;
    min-height: 54px;
    font-size: 0.95rem;
  }

  .detail-similar-grid {
    grid-template-columns: 1fr;
  }

  .schedule-grid,
  .collection-grid {
    grid-template-columns: 1fr;
  }

  .language-options {
    grid-template-columns: 1fr;
  }

  .watch-status-row,
  .auth-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .detail-cta-stack {
    margin-top: 10px;
  }

  .site-footer {
    flex-direction: column;
    gap: 18px;
  }

  body[data-page="home"] {
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 112px);
  }

  .mobile-dock {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: calc(100% - 20px);
    max-width: none;
  }

  #ownerDockToggle {
    display: none;
  }

  .people-rail {
    grid-auto-columns: minmax(138px, 156px);
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.3rem, 9vw, 3.6rem);
  }

  .hero-text {
    font-size: 0.95rem;
  }

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

  .stat-card {
    padding: 14px 14px;
  }

  .explore-feed-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .featured-grid,
  .trend-grid {
    gap: 14px;
  }

  .featured-feed-card {
    border-radius: 18px;
  }

  .featured-feed-card .featured-poster {
    aspect-ratio: 2 / 3;
    object-fit: cover;
  }

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

  .notification-feed-card {
    flex-direction: column;
    align-items: stretch;
  }

  .interest-window-select {
    width: 100%;
  }

  .home-chip,
  .icon-chip,
  .avatar-chip {
    width: 40px;
    height: 40px;
    font-size: 0.96rem;
  }

  .account-chip {
    width: auto;
    min-width: 96px;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 16px;
  }

  .account-chip-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
  }

  body[data-page="home"] .account-chip:not(.signed-in) {
    min-width: 96px;
    padding: 0 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(126, 70, 255, 0.24), rgba(229, 9, 20, 0.22));
    border: 1px solid rgba(170, 135, 255, 0.3);
  }

  body[data-page="home"] .account-chip:not(.signed-in) .account-chip-avatar {
    display: none;
  }

  .brand-compact {
    font-size: 1.08rem;
  }

  .brand-compact .brand-text {
    white-space: nowrap;
    letter-spacing: 0.03em;
  }

  .brand-mark {
    width: 44px;
    height: 30px;
  }

  .brand-mark::before,
  .brand-mark::after {
    top: 7px;
    width: 12px;
    height: 10px;
  }

  .brand-mark::before {
    left: 7px;
  }

  .brand-mark::after {
    right: 7px;
  }

  .beta-chip {
    display: none;
  }

  #ownerToggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 16px;
    font-size: 0.88rem;
    white-space: nowrap;
    flex: 0 0 auto;
  }

  #topSearchBtn {
    display: grid;
    flex: 0 0 auto;
  }

  .account-menu-wrap {
    flex: 0 0 auto;
  }

  .explore-mobile-header-bar .home-chip,
  .explore-mobile-header-bar .icon-chip,
  .explore-mobile-header-bar .avatar-chip,
  .explore-mobile-header-bar .explore-mobile-home {
    width: 38px;
    height: 38px;
    font-size: 0.92rem;
  }

  .explore-mobile-header-bar .account-chip {
    min-height: 38px;
    min-width: 82px;
    padding: 0 12px;
    border-radius: 16px;
  }

  .explore-mobile-header-bar .account-chip-label {
    display: block;
    font-size: 0.74rem;
    font-weight: 700;
  }

  .explore-mobile-header-bar .brand-compact {
    font-size: 0.98rem;
  }

  .explore-mobile-header-bar .brand-mark {
    width: 44px;
    height: 30px;
  }

  .explore-mobile-header-bar .explore-mobile-owner {
    min-height: 38px;
    padding: 0 11px;
    font-size: 0.72rem;
  }

  .section-heading {
    gap: 6px;
    margin-bottom: 16px;
  }

  .section-heading h2,
  .compact-section-heading h2 {
    font-size: clamp(2rem, 7.6vw, 2.8rem);
    line-height: 0.95;
  }

  .section-copy {
    font-size: 0.9rem;
  }

  .showcase-row-title {
    gap: 8px;
  }

  .browse-panel,
  .most-interested-panel {
    border-radius: 22px;
  }

  .install-banner {
    bottom: calc(env(safe-area-inset-bottom, 0px) + 10px);
    width: calc(100% - 12px);
    padding: 9px 10px 10px;
  }

  .install-banner-action {
    font-size: 0.88rem;
  }

  .install-banner-close {
    width: 24px;
    height: 24px;
    font-size: 1rem;
  }

  .interest-item {
    grid-template-columns: auto 54px minmax(0, 1fr);
    gap: 12px;
  }

  .featured-copy {
    padding: 10px;
  }

  .featured-feed-card .featured-copy h3 {
    font-size: 0.98rem;
  }

  .featured-feed-card .movie-meta {
    font-size: 0.82rem;
  }

  .detail-summary-header {
    grid-template-columns: 1fr;
  }

  .comment-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .overlay-card {
    padding: 22px 18px;
  }

  .owner-actions,
  .reaction-buttons,
  .comment-actions,
  .notification-card {
    flex-direction: column;
    align-items: stretch;
  }

  .owner-actions > *,
  .reaction-buttons > *,
  .comment-actions > * {
    width: 100%;
  }

  .detail-actions .trailer-btn,
  .detail-actions .share-title-btn {
    width: 100%;
    justify-content: center;
  }

  .profile-review-card,
  .profile-post-card,
  .profile-interest-item {
    grid-template-columns: 1fr;
  }

  .reviews-calendar-controls,
  .profile-filter-row {
    align-items: stretch;
  }

  .scroll-controls {
    right: 12px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 78px);
  }

.scroll-control-btn {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: 100%;
    max-width: none;
    padding: 10px 4px 64px;
    overflow: visible;
  }

  .explore-main {
    padding-left: 0;
    padding-right: 0;
  }

  .explore-header-mobile-shell {
    padding: 10px 4px;
  }

  .explore-mobile-header-bar {
    margin: 0;
    padding: 10px 10px;
    border-radius: 20px;
    background: rgba(6, 6, 8, 0.96);
  }

  .explore-mobile-header-row {
    gap: 8px;
  }

  .explore-mobile-brand .brand-text {
    display: none;
  }

  .explore-mobile-brand {
    display: none;
  }

  .explore-mobile-brand .brand-mark {
    width: 42px;
    height: 29px;
  }

  .explore-mobile-header-right {
    gap: 8px;
  }

  .explore-mobile-header-right .icon-chip,
  .explore-mobile-header-right .avatar-chip,
  .explore-mobile-home {
    width: 36px;
    height: 36px;
  }

  .explore-mobile-owner {
    min-height: 36px;
    padding: 0 10px;
    font-size: 0.68rem;
  }

  .explore-mobile-header-right .account-chip {
    min-height: 36px;
    min-width: 74px;
    padding: 0 10px;
  }

  .explore-mobile-header-right .account-chip-label {
    font-size: 0.7rem;
  }

  .mobile-dock {
    width: calc(100% - 10px);
    gap: 6px;
    padding: 9px 8px;
    border-radius: 18px;
  }

  .mobile-dock-link {
    min-height: 44px;
    padding: 8px 6px;
    border-radius: 14px;
    font-size: 0.74rem;
  }

  .install-banner {
    width: calc(100% - 10px);
    bottom: calc(env(safe-area-inset-bottom, 0px) + 8px);
    padding: 7px 9px 8px;
  }

  .install-banner-action {
    font-size: 0.84rem;
  }

  .install-banner-close {
    width: 22px;
    height: 22px;
  }

  .featured-grid,
  .explore-feed-grid,
  .trend-grid,
  .movie-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .featured-grid > *,
  .explore-feed-grid > *,
  .trend-grid > *,
  .movie-grid > * {
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .explore-showcase,
  .explore-row-section {
    width: calc(100vw - 8px);
    max-width: calc(100vw - 8px);
    min-width: 0;
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
  }

  .explore-showcase {
    padding: 18px 14px 20px;
  }

  .explore-showcase .featured-grid,
  .explore-showcase .explore-feed-grid,
  .explore-row-section .featured-grid,
  .explore-row-section .trend-grid {
    width: 100%;
    max-width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .featured-feed-card .featured-copy {
    padding: 9px 8px 10px;
  }

  .featured-feed-card .featured-copy h3 {
    font-size: 0.86rem;
    min-height: 2.2em;
  }

  .featured-feed-card .movie-meta {
    font-size: 0.7rem;
    min-height: 1.3em;
  }

  .featured-feed-card .movie-submeta {
    font-size: 0.68rem;
    min-height: 1.3em;
  }

  .scroll-controls {
    bottom: calc(env(safe-area-inset-bottom, 0px) + 72px);
  }
}

@media (max-width: 380px) {
  .explore-header-mobile-shell {
    padding-left: 4px;
    padding-right: 4px;
  }

  .explore-mobile-header-bar {
    padding: 8px 8px;
  }

  .explore-mobile-brand .brand-text {
    font-size: 0.84rem;
  }

  .explore-mobile-brand .brand-mark {
    width: 38px;
    height: 27px;
  }

  .explore-mobile-header-right {
    gap: 6px;
  }

  .explore-mobile-header-right .icon-chip,
  .explore-mobile-header-right .avatar-chip,
  .explore-mobile-home {
    width: 34px;
    height: 34px;
  }

  .explore-mobile-owner {
    min-height: 34px;
    padding: 0 8px;
    font-size: 0.64rem;
  }

  .explore-mobile-header-right .account-chip {
    min-height: 34px;
    min-width: 68px;
    padding: 0 8px;
  }

  .explore-mobile-header-right .account-chip-label {
    font-size: 0.66rem;
  }
}

/* Final mobile explore layout: one source of truth for the header and every movie row. */
@media (max-width: 768px) {
  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body[data-page="home"] {
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 112px) !important;
  }

  body[data-page="home"] .page-shell,
  body[data-page="home"] .explore-main,
  body[data-page="home"] .explore-layout,
  body[data-page="home"] .explore-primary {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  body[data-page="home"] .page-shell {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 24px 8px 96px !important;
    overflow: hidden !important;
  }

  body[data-page="home"] .explore-layout {
    display: block !important;
  }

  body[data-page="home"] .explore-primary {
    display: grid !important;
    gap: 18px !important;
  }

  body[data-page="home"] .explore-header-mobile-shell {
    display: block !important;
    position: static !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 16px 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  body[data-page="home"] .explore-mobile-header-bar {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 9px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 22px !important;
    background: rgba(6, 6, 8, 0.96) !important;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28) !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  body[data-page="home"] .explore-mobile-header-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 5px !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  body[data-page="home"] .explore-mobile-header-left,
  body[data-page="home"] .explore-mobile-header-right {
    display: flex !important;
    align-items: center !important;
    min-width: 0 !important;
    gap: 5px !important;
  }

  body[data-page="home"] .explore-mobile-header-left {
    flex: 1 1 auto !important;
    overflow: hidden !important;
  }

  body[data-page="home"] .explore-mobile-header-right {
    flex: 0 0 auto !important;
    justify-content: flex-end !important;
    margin-left: auto !important;
  }

  body[data-page="home"] .explore-mobile-brand {
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
    gap: 5px !important;
  }

  body[data-page="home"] .explore-mobile-brand .brand-text {
    display: inline-block !important;
    max-width: 54px !important;
    overflow: hidden !important;
    color: #fff !important;
    font-size: 0.68rem !important;
    line-height: 1 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
  }

  body[data-page="home"] .explore-mobile-brand .brand-mark {
    width: 36px !important;
    height: 26px !important;
  }

  body[data-page="home"] .explore-mobile-header-bar .home-chip,
  body[data-page="home"] .explore-mobile-header-bar .icon-chip,
  body[data-page="home"] .explore-mobile-header-bar .avatar-chip,
  body[data-page="home"] .explore-mobile-header-bar .explore-mobile-home {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    flex: 0 0 32px !important;
    font-size: 0.78rem !important;
  }

  body[data-page="home"] .explore-mobile-owner {
    min-height: 32px !important;
    max-width: 66px !important;
    padding: 0 7px !important;
    border-radius: 16px !important;
    font-size: 0.58rem !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
  }

  body[data-page="home"] .explore-mobile-header-right .account-chip {
    min-width: 58px !important;
    min-height: 32px !important;
    padding: 0 7px !important;
    border-radius: 16px !important;
    flex: 0 0 auto !important;
  }

  body[data-page="home"] .explore-mobile-header-right .account-chip-label {
    display: block !important;
    font-size: 0.58rem !important;
    line-height: 1 !important;
  }

  body[data-page="home"] .explore-showcase,
  body[data-page="home"] .explore-row-section {
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 18px 14px 20px !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  body[data-page="home"] .explore-row-section {
    background:
      linear-gradient(180deg, rgba(12, 12, 15, 0.96), rgba(9, 9, 11, 0.9)),
      radial-gradient(circle at top left, rgba(126, 70, 255, 0.18), transparent 32%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: var(--shadow) !important;
  }

  body[data-page="home"] .explore-showcase .section-heading,
  body[data-page="home"] .explore-row-section .section-heading {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    align-items: start !important;
    margin: 0 0 16px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body[data-page="home"] .explore-showcase .section-heading h2,
  body[data-page="home"] .explore-showcase .compact-section-heading h2,
  body[data-page="home"] .explore-row-section .section-heading h2,
  body[data-page="home"] .explore-row-section .compact-section-heading h2 {
    width: 100% !important;
    max-width: 100% !important;
    font-size: clamp(2rem, 9vw, 3rem) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.04em !important;
    overflow-wrap: anywhere !important;
  }

  body[data-page="home"] .explore-row-section .section-copy {
    display: none !important;
  }

  body[data-page="home"] #featuredMovies,
  body[data-page="home"] #trendingGrid,
  body[data-page="home"] #editorsRowGrid,
  body[data-page="home"] #bollywoodRowGrid,
  body[data-page="home"] #southRowGrid,
  body[data-page="home"] #netflixRowGrid,
  body[data-page="home"] #hotstarRowGrid,
  body[data-page="home"] #primeRowGrid,
  body[data-page="home"] #crunchyrollRowGrid,
  body[data-page="home"] .explore-feed-grid,
  body[data-page="home"] .trend-grid,
  body[data-page="home"] .movie-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
    grid-auto-columns: initial !important;
    justify-content: stretch !important;
    justify-items: stretch !important;
    align-items: start !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  body[data-page="home"] #featuredMovies > *,
  body[data-page="home"] #trendingGrid > *,
  body[data-page="home"] #editorsRowGrid > *,
  body[data-page="home"] #bollywoodRowGrid > *,
  body[data-page="home"] #southRowGrid > *,
  body[data-page="home"] #netflixRowGrid > *,
  body[data-page="home"] #hotstarRowGrid > *,
  body[data-page="home"] #primeRowGrid > *,
  body[data-page="home"] #crunchyrollRowGrid > *,
  body[data-page="home"] .featured-feed-card,
  body[data-page="home"] .movie-grid > .movie-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    inline-size: auto !important;
    box-sizing: border-box !important;
  }

  body[data-page="home"] .featured-feed-card {
    border-radius: 18px !important;
    grid-template-rows: auto minmax(86px, auto) !important;
    min-height: 100% !important;
  }

  body[data-page="home"] .featured-feed-card .featured-poster {
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 2 / 3 !important;
    object-fit: cover !important;
  }

  body[data-page="home"] .featured-feed-card .featured-copy {
    padding: 9px 8px 10px !important;
    min-height: 82px !important;
  }

  body[data-page="home"] .featured-feed-card .featured-copy h3 {
    font-size: 0.88rem !important;
    line-height: 1.16 !important;
    min-height: 2.05em !important;
  }

  body[data-page="home"] .featured-feed-card .movie-meta {
    font-size: 0.7rem !important;
    line-height: 1.32 !important;
  }

  body[data-page="home"] .scroll-controls {
    bottom: calc(env(safe-area-inset-bottom, 0px) + 108px) !important;
  }
}

@media (max-width: 390px) {
  body[data-page="home"] .page-shell {
    padding-left: 6px !important;
    padding-right: 6px !important;
    padding-top: 22px !important;
  }

  body[data-page="home"] .explore-showcase,
  body[data-page="home"] .explore-row-section {
    width: calc(100vw - 12px) !important;
    max-width: calc(100vw - 12px) !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  body[data-page="home"] .explore-mobile-header-bar {
    padding: 8px !important;
  }

  body[data-page="home"] .explore-mobile-header-row,
  body[data-page="home"] .explore-mobile-header-left,
  body[data-page="home"] .explore-mobile-header-right {
    gap: 5px !important;
  }

  body[data-page="home"] .explore-mobile-brand .brand-mark {
    width: 32px !important;
    height: 24px !important;
  }

  body[data-page="home"] .explore-mobile-brand .brand-text {
    max-width: 50px !important;
    font-size: 0.62rem !important;
  }

  body[data-page="home"] .explore-mobile-header-bar .home-chip,
  body[data-page="home"] .explore-mobile-header-bar .icon-chip,
  body[data-page="home"] .explore-mobile-header-bar .avatar-chip,
  body[data-page="home"] .explore-mobile-header-bar .explore-mobile-home {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    flex-basis: 30px !important;
  }

  body[data-page="home"] .explore-mobile-owner {
    min-height: 30px !important;
    max-width: 60px !important;
    padding: 0 5px !important;
    font-size: 0.52rem !important;
  }

  body[data-page="home"] .explore-mobile-header-right .account-chip {
    min-width: 52px !important;
    min-height: 30px !important;
    padding: 0 5px !important;
  }

  body[data-page="home"] .explore-mobile-header-right .account-chip-label {
    font-size: 0.52rem !important;
  }

  body[data-page="home"] #featuredMovies,
  body[data-page="home"] #trendingGrid,
  body[data-page="home"] #editorsRowGrid,
  body[data-page="home"] #bollywoodRowGrid,
  body[data-page="home"] #southRowGrid,
  body[data-page="home"] #netflixRowGrid,
  body[data-page="home"] #hotstarRowGrid,
  body[data-page="home"] #primeRowGrid,
  body[data-page="home"] #crunchyrollRowGrid,
  body[data-page="home"] .explore-feed-grid,
  body[data-page="home"] .trend-grid,
  body[data-page="home"] .movie-grid {
    gap: 10px !important;
  }
}

/* Mobile organization reset: keep every explore section inside one clean phone-width system. */
@media (max-width: 768px) {
  html,
  body,
  body[data-page="home"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
  }

  body[data-page="home"] * {
    box-sizing: border-box !important;
  }

  body[data-page="home"] .page-shell {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 22px 10px 112px !important;
    overflow-x: hidden !important;
  }

  body[data-page="home"] .explore-main,
  body[data-page="home"] .explore-layout,
  body[data-page="home"] .explore-primary,
  body[data-page="home"] .explore-sidebar,
  body[data-page="home"] .explore-main > .section,
  body[data-page="home"] .explore-showcase,
  body[data-page="home"] .explore-row-section,
  body[data-page="home"] .sidebar-card,
  body[data-page="home"] .schedule-section,
  body[data-page="home"] .collections-section {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow-x: hidden !important;
  }

  body[data-page="home"] .explore-main {
    display: grid !important;
    gap: 18px !important;
  }

  body[data-page="home"] .explore-layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  body[data-page="home"] .explore-primary,
  body[data-page="home"] .explore-sidebar {
    display: grid !important;
    gap: 18px !important;
  }

  body[data-page="home"] .explore-sidebar {
    position: static !important;
    top: auto !important;
  }

  body[data-page="home"] .explore-header-mobile-shell {
    display: block !important;
    position: static !important;
    inset: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  body[data-page="home"] .explore-mobile-header-bar {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 9px !important;
    border-radius: 22px !important;
    background: rgba(6, 6, 8, 0.96) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28) !important;
    overflow: hidden !important;
  }

  body[data-page="home"] .explore-mobile-header-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 5px !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  body[data-page="home"] .explore-mobile-header-left,
  body[data-page="home"] .explore-mobile-header-right {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    min-width: 0 !important;
  }

  body[data-page="home"] .explore-mobile-header-left {
    flex: 0 1 auto !important;
    overflow: hidden !important;
  }

  body[data-page="home"] .explore-mobile-header-right {
    flex: 0 0 auto !important;
    justify-content: flex-end !important;
    margin-left: auto !important;
  }

  body[data-page="home"] .explore-mobile-brand {
    display: inline-flex !important;
    align-items: center !important;
    flex: 1 1 auto !important;
    gap: 5px !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  body[data-page="home"] .explore-mobile-brand .brand-text {
    display: inline-block !important;
    max-width: 54px !important;
    overflow: hidden !important;
    color: #fff !important;
    font-size: 0.68rem !important;
    line-height: 1 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
  }

  body[data-page="home"] .explore-mobile-brand .brand-mark {
    width: 36px !important;
    height: 26px !important;
  }

  body[data-page="home"] .explore-mobile-header-bar .home-chip,
  body[data-page="home"] .explore-mobile-header-bar .icon-chip,
  body[data-page="home"] .explore-mobile-header-bar .avatar-chip,
  body[data-page="home"] .explore-mobile-header-bar .explore-mobile-home {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    flex: 0 0 34px !important;
    font-size: 0.78rem !important;
  }

  body[data-page="home"] .explore-mobile-owner {
    min-height: 32px !important;
    max-width: 66px !important;
    padding: 0 7px !important;
    border-radius: 16px !important;
    font-size: 0.58rem !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
  }

  body[data-page="home"] .explore-mobile-header-right .account-chip {
    min-width: 58px !important;
    min-height: 32px !important;
    padding: 0 7px !important;
    border-radius: 16px !important;
    flex: 0 0 auto !important;
  }

  body[data-page="home"] .explore-mobile-header-right .account-chip-label {
    display: block !important;
    font-size: 0.58rem !important;
    line-height: 1 !important;
  }

  body[data-page="home"] .explore-showcase,
  body[data-page="home"] .explore-row-section,
  body[data-page="home"] .sidebar-card,
  body[data-page="home"] .explore-main > .section {
    padding: 18px 14px 20px !important;
    border-radius: 24px !important;
    background:
      linear-gradient(180deg, rgba(12, 12, 15, 0.96), rgba(9, 9, 11, 0.9)),
      radial-gradient(circle at top left, rgba(126, 70, 255, 0.14), transparent 32%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: var(--shadow) !important;
  }

  body[data-page="home"] .section-heading,
  body[data-page="home"] .explore-panel-header {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: start !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 16px !important;
  }

  body[data-page="home"] .section-heading h2,
  body[data-page="home"] .compact-section-heading h2,
  body[data-page="home"] .panel-header h2 {
    width: 100% !important;
    max-width: 100% !important;
    font-size: clamp(2rem, 8.6vw, 2.85rem) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.04em !important;
    overflow-wrap: anywhere !important;
  }

  body[data-page="home"] .explore-main .section-copy,
  body[data-page="home"] .explore-sidebar .section-copy {
    display: none !important;
  }

  body[data-page="home"] #featuredMovies,
  body[data-page="home"] #trendingGrid,
  body[data-page="home"] #editorsRowGrid,
  body[data-page="home"] #bollywoodRowGrid,
  body[data-page="home"] #southRowGrid,
  body[data-page="home"] #netflixRowGrid,
  body[data-page="home"] #hotstarRowGrid,
  body[data-page="home"] #primeRowGrid,
  body[data-page="home"] #crunchyrollRowGrid,
  body[data-page="home"] .explore-feed-grid,
  body[data-page="home"] .trend-grid,
  body[data-page="home"] .movie-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
    grid-auto-columns: initial !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  body[data-page="home"] #featuredMovies > *,
  body[data-page="home"] #trendingGrid > *,
  body[data-page="home"] #editorsRowGrid > *,
  body[data-page="home"] #bollywoodRowGrid > *,
  body[data-page="home"] #southRowGrid > *,
  body[data-page="home"] #netflixRowGrid > *,
  body[data-page="home"] #hotstarRowGrid > *,
  body[data-page="home"] #primeRowGrid > *,
  body[data-page="home"] #crunchyrollRowGrid > *,
  body[data-page="home"] .movie-grid > *,
  body[data-page="home"] .featured-feed-card,
  body[data-page="home"] .movie-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body[data-page="home"] .featured-feed-card,
  body[data-page="home"] .movie-card {
    overflow: hidden !important;
    border-radius: 18px !important;
    background:
      linear-gradient(180deg, rgba(18, 18, 24, 0.96), rgba(8, 8, 12, 0.82)) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28) !important;
  }

  body[data-page="home"] .featured-feed-card .featured-poster,
  body[data-page="home"] .movie-grid .movie-poster {
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 2 / 3 !important;
    object-fit: cover !important;
  }

  body[data-page="home"] .featured-feed-card .featured-copy,
  body[data-page="home"] .movie-grid .movie-content {
    min-height: 84px !important;
    padding: 9px 8px 10px !important;
  }

  body[data-page="home"] .featured-feed-card h3,
  body[data-page="home"] .movie-grid h3 {
    font-size: 0.88rem !important;
    line-height: 1.16 !important;
    min-height: 2.05em !important;
  }

  body[data-page="home"] .featured-feed-card .movie-meta,
  body[data-page="home"] .movie-grid .movie-meta {
    font-size: 0.7rem !important;
    line-height: 1.32 !important;
  }

  body[data-page="home"] .controls-card {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 16px !important;
    padding: 14px !important;
    border-radius: 22px !important;
    overflow: hidden !important;
  }

  body[data-page="home"] .controls-card .input-group {
    min-height: auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body[data-page="home"] .input-group input,
  body[data-page="home"] .input-group select {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body[data-page="home"] .load-more-wrap,
  body[data-page="home"] #loadMoreBtn {
    width: 100% !important;
    max-width: 100% !important;
  }

  body[data-page="home"] .browse-panel-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  body[data-page="home"] .browse-box {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 96px !important;
    padding: 14px 8px !important;
    border-radius: 18px !important;
  }

  body[data-page="home"] .most-interested-list {
    display: grid !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body[data-page="home"] .interest-item {
    display: grid !important;
    grid-template-columns: 38px 54px minmax(0, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 12px !important;
    overflow: hidden !important;
  }

  body[data-page="home"] .interest-rank {
    min-width: 0 !important;
    font-size: 2.1rem !important;
  }

  body[data-page="home"] .interest-poster {
    width: 54px !important;
    height: 72px !important;
    min-width: 54px !important;
  }

  body[data-page="home"] .interest-copy {
    min-width: 0 !important;
    overflow: hidden !important;
  }

  body[data-page="home"] .interest-copy h3,
  body[data-page="home"] .interest-copy p,
  body[data-page="home"] .interest-copy span {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body[data-page="home"] .schedule-layout,
  body[data-page="home"] .schedule-sidebar,
  body[data-page="home"] .schedule-content {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  body[data-page="home"] .schedule-menu,
  body[data-page="home"] .schedule-note-card {
    width: 100% !important;
    max-width: 100% !important;
  }

  body[data-page="home"] .schedule-type-pills {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body[data-page="home"] .schedule-type-pill,
  body[data-page="home"] .schedule-menu-btn {
    min-width: 0 !important;
    width: 100% !important;
    padding: 11px 8px !important;
    white-space: nowrap !important;
  }

  body[data-page="home"] .schedule-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  body[data-page="home"] .schedule-card {
    display: grid !important;
    grid-template-columns: 54px 64px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 12px !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.035) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    overflow: hidden !important;
  }

  body[data-page="home"] .schedule-date-badge {
    width: 54px !important;
    min-width: 54px !important;
  }

  body[data-page="home"] .schedule-poster {
    width: 64px !important;
    height: 86px !important;
    min-width: 64px !important;
    aspect-ratio: auto !important;
    border-radius: 12px !important;
    object-fit: cover !important;
  }

  body[data-page="home"] .schedule-copy {
    min-width: 0 !important;
    overflow: hidden !important;
  }

  body[data-page="home"] .schedule-copy h3,
  body[data-page="home"] .schedule-copy p {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body[data-page="home"] .collection-tabs {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body[data-page="home"] .collection-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  body[data-page="home"] .mobile-dock {
    display: flex !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 20px) !important;
    max-width: 680px !important;
    bottom: var(--mobile-dock-bottom) !important;
  }

  body[data-page="home"] .scroll-controls {
    right: 14px !important;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 108px) !important;
    z-index: 47 !important;
  }
}

@media (max-width: 390px) {
  body[data-page="home"] .page-shell {
    padding: 20px 8px 108px !important;
  }

  body[data-page="home"] .explore-showcase,
  body[data-page="home"] .explore-row-section,
  body[data-page="home"] .sidebar-card,
  body[data-page="home"] .explore-main > .section {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  body[data-page="home"] #featuredMovies,
  body[data-page="home"] #trendingGrid,
  body[data-page="home"] #editorsRowGrid,
  body[data-page="home"] #bollywoodRowGrid,
  body[data-page="home"] #southRowGrid,
  body[data-page="home"] #netflixRowGrid,
  body[data-page="home"] #hotstarRowGrid,
  body[data-page="home"] #primeRowGrid,
  body[data-page="home"] #crunchyrollRowGrid,
  body[data-page="home"] .explore-feed-grid,
  body[data-page="home"] .trend-grid,
  body[data-page="home"] .movie-grid {
    gap: 10px !important;
  }

  body[data-page="home"] .browse-panel-grid {
    gap: 10px !important;
  }

  body[data-page="home"] .schedule-card {
    grid-template-columns: 50px 58px minmax(0, 1fr) !important;
    gap: 8px !important;
    padding: 10px !important;
  }

  body[data-page="home"] .schedule-date-badge {
    width: 50px !important;
    min-width: 50px !important;
  }

  body[data-page="home"] .schedule-poster {
    width: 58px !important;
    height: 78px !important;
    min-width: 58px !important;
  }
}

/* Final phone lock: every mobile section stays inside the viewport and movie cards use one 2-up style. */
@media (max-width: 768px) {
  html,
  body,
  body[data-page="home"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
  }

  body[data-page="home"] {
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 112px) !important;
  }

  body[data-page="home"] *,
  body[data-page="home"] *::before,
  body[data-page="home"] *::after {
    box-sizing: border-box !important;
  }

  body[data-page="home"] .page-shell {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 22px 10px 116px !important;
    overflow-x: hidden !important;
  }

  body[data-page="home"] .explore-main,
  body[data-page="home"] .explore-layout,
  body[data-page="home"] .explore-primary,
  body[data-page="home"] .explore-sidebar,
  body[data-page="home"] .schedule-layout,
  body[data-page="home"] .schedule-sidebar,
  body[data-page="home"] .schedule-content {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 18px !important;
    margin: 0 !important;
    overflow-x: hidden !important;
  }

  body[data-page="home"] .explore-showcase,
  body[data-page="home"] .explore-row-section,
  body[data-page="home"] .sidebar-card,
  body[data-page="home"] .explore-main > .section {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 18px 14px 20px !important;
    border-radius: 24px !important;
    overflow: hidden !important;
  }

  body[data-page="home"] .section-heading,
  body[data-page="home"] .explore-panel-header,
  body[data-page="home"] .panel-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 8px !important;
    margin: 0 0 16px !important;
  }

  body[data-page="home"] .section-heading > *,
  body[data-page="home"] .explore-panel-header > *,
  body[data-page="home"] .panel-header > * {
    min-width: 0 !important;
  }

  body[data-page="home"] .section-heading h2,
  body[data-page="home"] .compact-section-heading h2,
  body[data-page="home"] .panel-header h2 {
    max-width: 100% !important;
    font-size: clamp(1.8rem, 8vw, 2.7rem) !important;
    line-height: 1 !important;
    letter-spacing: -0.04em !important;
    overflow-wrap: anywhere !important;
  }

  body[data-page="home"] .section-copy,
  body[data-page="home"] .explore-main .section-copy,
  body[data-page="home"] .explore-sidebar .section-copy {
    display: none !important;
  }

  body[data-page="home"] #featuredMovies,
  body[data-page="home"] #trendingGrid,
  body[data-page="home"] #editorsRowGrid,
  body[data-page="home"] #bollywoodRowGrid,
  body[data-page="home"] #southRowGrid,
  body[data-page="home"] #netflixRowGrid,
  body[data-page="home"] #hotstarRowGrid,
  body[data-page="home"] #primeRowGrid,
  body[data-page="home"] #crunchyrollRowGrid,
  body[data-page="home"] #movieGrid,
  body[data-page="home"] #scheduleGrid,
  body[data-page="home"] .featured-grid,
  body[data-page="home"] .explore-feed-grid,
  body[data-page="home"] .trend-grid,
  body[data-page="home"] .movie-grid,
  body[data-page="home"] .schedule-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
    grid-auto-columns: initial !important;
    align-items: start !important;
    justify-items: stretch !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  body[data-page="home"] #featuredMovies > *,
  body[data-page="home"] #trendingGrid > *,
  body[data-page="home"] #editorsRowGrid > *,
  body[data-page="home"] #bollywoodRowGrid > *,
  body[data-page="home"] #southRowGrid > *,
  body[data-page="home"] #netflixRowGrid > *,
  body[data-page="home"] #hotstarRowGrid > *,
  body[data-page="home"] #primeRowGrid > *,
  body[data-page="home"] #crunchyrollRowGrid > *,
  body[data-page="home"] #movieGrid > *,
  body[data-page="home"] #scheduleGrid > *,
  body[data-page="home"] .featured-feed-card,
  body[data-page="home"] .featured-card,
  body[data-page="home"] .movie-card,
  body[data-page="home"] .schedule-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  body[data-page="home"] .featured-feed-card,
  body[data-page="home"] .featured-card,
  body[data-page="home"] .movie-card,
  body[data-page="home"] .schedule-card {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto 1fr !important;
    gap: 0 !important;
    padding: 0 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    background:
      linear-gradient(180deg, rgba(18, 18, 24, 0.96), rgba(8, 8, 12, 0.86)) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28) !important;
  }

  body[data-page="home"] .movie-card-link {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
    overflow: hidden !important;
  }

  body[data-page="home"] .featured-feed-card .featured-poster,
  body[data-page="home"] .movie-card .movie-poster,
  body[data-page="home"] .movie-grid .movie-poster,
  body[data-page="home"] .schedule-poster {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    aspect-ratio: 2 / 3 !important;
    object-fit: cover !important;
    border-radius: 0 !important;
  }

  body[data-page="home"] .featured-feed-card .featured-copy,
  body[data-page="home"] .movie-card .movie-content,
  body[data-page="home"] .movie-grid .movie-content,
  body[data-page="home"] .schedule-copy {
    min-width: 0 !important;
    min-height: 86px !important;
    padding: 9px 8px 10px !important;
    overflow: hidden !important;
  }

  body[data-page="home"] .featured-feed-card h3,
  body[data-page="home"] .movie-card h3,
  body[data-page="home"] .movie-grid h3,
  body[data-page="home"] .schedule-copy h3 {
    display: -webkit-box !important;
    min-height: 2.06em !important;
    max-height: 2.32em !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    font-size: 0.88rem !important;
    line-height: 1.16 !important;
  }

  body[data-page="home"] .featured-feed-card .movie-meta,
  body[data-page="home"] .movie-card .movie-meta,
  body[data-page="home"] .movie-grid .movie-meta,
  body[data-page="home"] .schedule-copy p {
    display: block !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 0.7rem !important;
    line-height: 1.32 !important;
  }

  body[data-page="home"] .schedule-card {
    position: relative !important;
  }

  body[data-page="home"] .schedule-date-badge {
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    z-index: 2 !important;
    width: 48px !important;
    min-width: 0 !important;
    padding: 7px 5px !important;
    border-radius: 14px !important;
    background: rgba(14, 14, 18, 0.82) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(12px) !important;
  }

  body[data-page="home"] .controls-card {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 14px !important;
    overflow: hidden !important;
  }

  body[data-page="home"] .controls-card .input-group,
  body[data-page="home"] .input-group input,
  body[data-page="home"] .input-group select {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body[data-page="home"] .browse-panel-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  body[data-page="home"] .browse-box {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 96px !important;
    padding: 14px 8px !important;
    border-radius: 18px !important;
  }

  body[data-page="home"] .most-interested-list,
  body[data-page="home"] .interest-item {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  body[data-page="home"] .interest-item {
    display: grid !important;
    grid-template-columns: 38px 54px minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 12px !important;
  }

  body[data-page="home"] .interest-rank {
    min-width: 0 !important;
    font-size: 2.1rem !important;
  }

  body[data-page="home"] .interest-poster {
    width: 54px !important;
    height: 72px !important;
    min-width: 54px !important;
  }

  body[data-page="home"] .interest-copy,
  body[data-page="home"] .interest-copy h3,
  body[data-page="home"] .interest-copy p,
  body[data-page="home"] .interest-copy span {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body[data-page="home"] .schedule-type-pills {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body[data-page="home"] .schedule-type-pill,
  body[data-page="home"] .schedule-menu-btn {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    white-space: nowrap !important;
  }

  body[data-page="home"] .collection-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  body[data-page="home"] .load-more-wrap,
  body[data-page="home"] #loadMoreBtn {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body[data-page="home"] .mobile-dock {
    width: calc(100% - 20px) !important;
    max-width: 680px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
  }

  body[data-page="home"] .scroll-controls {
    right: 14px !important;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 122px) !important;
  }
}

@media (max-width: 390px) {
  body[data-page="home"] .page-shell {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  body[data-page="home"] .explore-showcase,
  body[data-page="home"] .explore-row-section,
  body[data-page="home"] .sidebar-card,
  body[data-page="home"] .explore-main > .section {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  body[data-page="home"] #featuredMovies,
  body[data-page="home"] #trendingGrid,
  body[data-page="home"] #editorsRowGrid,
  body[data-page="home"] #bollywoodRowGrid,
  body[data-page="home"] #southRowGrid,
  body[data-page="home"] #netflixRowGrid,
  body[data-page="home"] #hotstarRowGrid,
  body[data-page="home"] #primeRowGrid,
  body[data-page="home"] #crunchyrollRowGrid,
  body[data-page="home"] #movieGrid,
  body[data-page="home"] #scheduleGrid,
  body[data-page="home"] .featured-grid,
  body[data-page="home"] .explore-feed-grid,
  body[data-page="home"] .trend-grid,
  body[data-page="home"] .movie-grid,
  body[data-page="home"] .schedule-grid,
  body[data-page="home"] .browse-panel-grid {
    gap: 10px !important;
  }

  body[data-page="home"] .featured-feed-card .featured-copy,
  body[data-page="home"] .movie-card .movie-content,
  body[data-page="home"] .movie-grid .movie-content,
  body[data-page="home"] .schedule-copy {
    min-height: 78px !important;
    padding: 8px 7px 9px !important;
  }
}

/* Final mobile header polish: cleaner top spacing and balanced app-style controls. */
@media (max-width: 768px) {
  body[data-page="home"] .explore-header-mobile-shell {
    display: block !important;
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 14px 0 24px !important;
    padding: 0 8px !important;
    background: transparent !important;
    border: 0 !important;
    overflow: visible !important;
    z-index: 90 !important;
  }

  body[data-page="home"] .explore-mobile-header-bar {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 54px !important;
    padding: 8px 10px !important;
    border-radius: 24px !important;
    background:
      linear-gradient(180deg, rgba(7, 7, 10, 0.98), rgba(4, 4, 7, 0.94)),
      radial-gradient(circle at 18% 50%, rgba(180, 78, 255, 0.18), transparent 30%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow:
      0 18px 38px rgba(0, 0, 0, 0.34),
      inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
    overflow: visible !important;
    backdrop-filter: blur(18px) !important;
  }

  body[data-page="home"] .explore-mobile-header-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 5px !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  body[data-page="home"] .explore-mobile-header-left,
  body[data-page="home"] .explore-mobile-header-right {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    min-width: 0 !important;
  }

  body[data-page="home"] .explore-mobile-header-left {
    flex: 0 1 auto !important;
    overflow: hidden !important;
  }

  body[data-page="home"] .explore-mobile-header-right {
    flex: 0 0 auto !important;
    justify-content: flex-end !important;
    margin-left: auto !important;
  }

  body[data-page="home"] .explore-mobile-header-bar .home-chip,
  body[data-page="home"] .explore-mobile-header-bar .icon-chip,
  body[data-page="home"] .explore-mobile-header-bar .avatar-chip,
  body[data-page="home"] .explore-mobile-header-bar .explore-mobile-home {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    flex: 0 0 34px !important;
    border-radius: 15px !important;
    background: rgba(255, 255, 255, 0.055) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  }

  body[data-page="home"] .explore-mobile-brand {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex: 0 1 auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  body[data-page="home"] .explore-mobile-brand .brand-mark {
    width: 34px !important;
    height: 25px !important;
    min-width: 34px !important;
    box-shadow: 0 0 18px rgba(180, 78, 255, 0.38) !important;
  }

  body[data-page="home"] .explore-mobile-brand .brand-text {
    display: inline-block !important;
    max-width: none !important;
    overflow: hidden !important;
    color: #fff !important;
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.035em !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
  }

  body[data-page="home"] .explore-mobile-beta {
    display: none !important;
  }

  body[data-page="home"] .explore-mobile-owner {
    min-height: 32px !important;
    max-width: 66px !important;
    padding: 0 7px !important;
    border-radius: 16px !important;
    font-size: 0.6rem !important;
    font-weight: 700 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body[data-page="home"] .explore-mobile-header-right .account-chip {
    min-width: 58px !important;
    min-height: 32px !important;
    padding: 0 8px !important;
    border-radius: 17px !important;
  }

  body[data-page="home"] .explore-mobile-header-right .account-chip-label {
    display: block !important;
    font-size: 0.62rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  body[data-page="home"] .explore-mobile-header-right .account-menu {
    top: calc(100% + 10px) !important;
    right: 0 !important;
    z-index: 220 !important;
    width: min(220px, calc(100vw - 24px)) !important;
  }
}

@media (max-width: 390px) {
  body[data-page="home"] .explore-header-mobile-shell {
    margin-top: 12px !important;
    margin-bottom: 22px !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  body[data-page="home"] .explore-mobile-header-bar {
    padding: 8px !important;
  }

  body[data-page="home"] .explore-mobile-brand .brand-text {
    max-width: none !important;
    font-size: 0.62rem !important;
  }

  body[data-page="home"] .explore-mobile-owner {
    max-width: 60px !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
    font-size: 0.54rem !important;
  }

  body[data-page="home"] .explore-mobile-header-right .account-chip {
    min-width: 56px !important;
    padding-left: 7px !important;
    padding-right: 7px !important;
  }
}

/* Mobile signed-in header: keep the account action as a clean avatar button. */
@media (max-width: 768px) {
  body[data-page="home"] .explore-mobile-header-right .account-chip.signed-in {
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
    gap: 0 !important;
    border-radius: 50% !important;
    flex: 0 0 34px !important;
  }

  body[data-page="home"] .explore-mobile-header-right .account-chip.signed-in .account-chip-avatar {
    width: 30px !important;
    height: 30px !important;
    border-width: 2px !important;
  }

  body[data-page="home"] .explore-mobile-header-right .account-chip.signed-in .account-chip-label {
    display: none !important;
  }
}

@media (max-width: 390px) {
  body[data-page="home"] .explore-mobile-header-right .account-chip.signed-in {
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    flex-basis: 32px !important;
  }

  body[data-page="home"] .explore-mobile-header-right .account-chip.signed-in .account-chip-avatar {
    width: 28px !important;
    height: 28px !important;
  }
}

/* Shared MOVIEMATE header and global search overlay. */
body[data-page="home"] .beta-chip,
body[data-page="home"] .explore-mobile-beta {
  display: none !important;
}

.brand .brand-text,
.brand-compact .brand-text {
  color: #fff !important;
  font-family: "Manrope", sans-serif !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}

.brand-mark,
body[data-page="home"] .brand-mark,
body[data-page="home"] .explore-mobile-brand .brand-mark {
  width: 54px !important;
  height: 34px !important;
  border-radius: 999px !important;
  background:
    radial-gradient(circle at 35% 50%, #2b124d 0 9px, transparent 9.5px),
    radial-gradient(circle at 65% 50%, #461071 0 9px, transparent 9.5px),
    radial-gradient(circle at 28% 28%, rgba(255, 255, 255, 0.55), transparent 28%),
    linear-gradient(135deg, #9a55ff 0%, #ca54e8 58%, #ff4b97 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 0 24px rgba(154, 85, 255, 0.36) !important;
}

.brand-mark::before,
.brand-mark::after,
body[data-page="home"] .brand-mark::before,
body[data-page="home"] .brand-mark::after {
  display: none !important;
}

/* Keep the header mark consistent with the reference white Moctale-style icon. */
.brand-mark,
body[data-page="home"] .brand-mark,
body[data-page="home"] .explore-mobile-brand .brand-mark {
  position: relative !important;
  width: 34px !important;
  height: 24px !important;
  border-radius: 999px !important;
  background: #fff !important;
  box-shadow: none !important;
  filter: none !important;
}

.brand-mark::before,
.brand-mark::after,
body[data-page="home"] .brand-mark::before,
body[data-page="home"] .brand-mark::after,
body[data-page="home"] .explore-mobile-brand .brand-mark::before,
body[data-page="home"] .explore-mobile-brand .brand-mark::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  top: 0 !important;
  width: 16px !important;
  height: 24px !important;
  border-radius: 999px !important;
  background: #050505 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.brand-mark::before,
body[data-page="home"] .brand-mark::before,
body[data-page="home"] .explore-mobile-brand .brand-mark::before {
  left: -5px !important;
}

.brand-mark::after,
body[data-page="home"] .brand-mark::after,
body[data-page="home"] .explore-mobile-brand .brand-mark::after {
  right: -5px !important;
}

body[data-page="home"] #browse,
body[data-page="home"] #schedule,
body[data-page="home"] #spaces,
body[data-page="home"] #collections,
body[data-page="home"] .site-footer,
body[data-page="home"] .mobile-dock,
body[data-page="home"] .scroll-controls {
  display: none !important;
}

body[data-page="home"].home-section-panel-active {
  overflow: hidden;
}

body[data-page="home"].home-section-panel-active .explore-primary > :not(.home-section-panel-open),
body[data-page="home"].home-section-panel-active .explore-sidebar {
  visibility: hidden !important;
}

body[data-page="home"].home-section-panel-active .explore-main::before {
  display: none !important;
}

body[data-page="home"] #schedule.home-section-panel-open,
body[data-page="home"] #spaces.home-section-panel-open,
body[data-page="home"] #collections.home-section-panel-open {
  display: block !important;
  position: fixed;
  inset: 65px 0 0;
  z-index: 1000;
  overflow-y: auto;
  padding: clamp(26px, 4vw, 54px) clamp(18px, 4vw, 56px) 72px;
  background: #050505 !important;
  background-image: none !important;
  opacity: 1 !important;
  filter: none !important;
  backdrop-filter: none !important;
  isolation: isolate;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.08), 0 0 0 100vmax #050505;
  visibility: visible !important;
}

body[data-page="home"] #schedule.home-section-panel-open::before,
body[data-page="home"] #spaces.home-section-panel-open::before,
body[data-page="home"] #collections.home-section-panel-open::before {
  content: "";
  position: fixed;
  inset: 65px 0 0;
  z-index: -1;
  background: #050505 !important;
}

body[data-page="home"] #schedule.home-section-panel-open .section-heading,
body[data-page="home"] #spaces.home-section-panel-open .section-heading,
body[data-page="home"] #collections.home-section-panel-open .section-heading {
  padding-right: 0;
}

.home-spaces-shell {
  display: grid;
  grid-template-columns: 306px minmax(0, 700px);
  gap: clamp(54px, 5vw, 82px);
  align-items: start;
  width: min(100%, 1088px);
  margin: 0 auto;
}

.home-spaces-sidebar {
  display: grid;
  gap: 12px;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.home-spaces-sidebar > .schedule-menu-btn {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 64px;
  padding: 0 18px;
  border-radius: 7px;
  background: transparent;
  color: rgba(255, 255, 255, 0.58);
  font-size: 1rem;
  font-weight: 800;
  text-align: left;
}

.home-spaces-sidebar > .schedule-menu-btn::before {
  content: "";
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  background-color: currentColor;
  opacity: 0.92;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M6 4h11a2 2 0 0 1 2 2v13H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Z'/%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' d='M8 8h7M8 12h7M8 16h5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M6 4h11a2 2 0 0 1 2 2v13H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Z'/%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' d='M8 8h7M8 12h7M8 16h5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.home-spaces-sidebar > .schedule-menu-btn[data-home-spaces-mode="discussion"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M7 5h7a4 4 0 0 1 4 4v2a4 4 0 0 1-4 4H9l-4 4v-4H5a3 3 0 0 1-3-3V9a4 4 0 0 1 4-4h1Z'/%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' d='M8 9h6M8 12h4'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M7 5h7a4 4 0 0 1 4 4v2a4 4 0 0 1-4 4H9l-4 4v-4H5a3 3 0 0 1-3-3V9a4 4 0 0 1 4-4h1Z'/%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' d='M8 9h6M8 12h4'/%3E%3C/svg%3E");
}

.home-spaces-sidebar > .schedule-menu-btn[data-home-spaces-mode="rumor"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M12 3 4 20h16L12 3Z'/%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' d='M12 9v4'/%3E%3Ccircle cx='12' cy='17' r='1.2' fill='black'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M12 3 4 20h16L12 3Z'/%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' d='M12 9v4'/%3E%3Ccircle cx='12' cy='17' r='1.2' fill='black'/%3E%3C/svg%3E");
}

.home-spaces-sidebar > .schedule-menu-btn.active,
.home-spaces-sidebar > .schedule-menu-btn:hover,
.home-spaces-sidebar > .schedule-menu-btn:focus-visible {
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
}

.home-spaces-topic-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.home-spaces-topic-list p,
.home-spaces-topic-list span {
  margin: 0 0 2px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-spaces-topic {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 48px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.9);
  background: transparent;
  font: 800 1rem/1 "Manrope", sans-serif;
  text-align: left;
  cursor: pointer;
}

.home-spaces-topic::before {
  content: "";
  width: 32px;
  height: 32px;
  display: grid;
  flex: 0 0 32px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.home-spaces-topic::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 15px;
  width: 12px;
  height: 7px;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  opacity: 0;
  transform: rotate(-45deg);
}

.home-spaces-topic.active,
.home-spaces-topic:hover,
.home-spaces-topic:focus-visible {
  color: #fff;
  background: transparent;
}

.home-spaces-topic.active::after {
  opacity: 1;
}

.home-spaces-feed {
  display: grid;
  grid-template-columns: minmax(0, 700px);
  gap: 28px;
  align-content: start;
}

.home-space-card {
  display: grid;
  gap: 18px;
  min-width: 0;
  padding: 0 0 28px;
  overflow: visible;
  color: #fff;
  text-decoration: none;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-space-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
}

.home-space-card-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px;
  gap: 24px;
  align-items: start;
}

.home-space-card-copy {
  display: grid;
  gap: 10px;
}

.home-space-card span {
  color: #f6a47a;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-space-card p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.1rem, 1.55vw, 1.35rem);
  font-weight: 700;
  line-height: 1.45;
}

.home-space-card p strong {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.home-space-card small {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 700;
}

.home-space-comment-bubble {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.home-space-comment-bubble svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-section-panel-close {
  display: none !important;
}

.home-section-panel-close:hover,
.home-section-panel-close:focus-visible {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(55, 38, 84, 0.95);
}

.home-browse-popover {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 86px 18px 18px;
}

.home-browse-popover.hidden {
  display: none !important;
}

.home-browse-popover-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.08);
  cursor: default;
}

.home-browse-popover-panel {
  position: relative;
  z-index: 1;
  width: min(430px, calc(100vw - 36px));
  max-height: calc(100vh - 110px);
  overflow: auto;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(24, 24, 28, 0.98), rgba(10, 10, 12, 0.98)),
    rgba(8, 8, 8, 0.98);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.38);
}

.home-browse-popover-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.home-browse-popover-header h2 {
  margin: 2px 0 0;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1.05;
}

.home-browse-popover-close {
  width: 42px;
  min-width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.home-browse-popover-close:hover,
.home-browse-popover-close:focus-visible {
  border-color: rgba(123, 67, 232, 0.45);
  background: rgba(123, 67, 232, 0.16);
}

.home-browse-popover-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home-browse-popover-grid .browse-box {
  min-height: 92px;
  padding: 12px 10px;
}

.home-browse-popover-grid .browse-box span:last-child {
  text-align: center;
}

.home-browse-popover-grid .browse-box-icon {
  width: 34px;
  height: 34px;
}

@media (max-width: 560px) {
  .home-browse-popover {
    padding: 76px 12px 12px;
  }

  .home-browse-popover-panel {
    width: min(100%, 360px);
    max-height: calc(100vh - 96px);
    padding: 14px;
  }

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

@media (max-width: 720px) {
  body[data-page="home"] #schedule.home-section-panel-open,
  body[data-page="home"] #spaces.home-section-panel-open,
  body[data-page="home"] #collections.home-section-panel-open {
    inset: 72px 0 0;
    padding: 20px 14px 36px;
  }

  body[data-page="home"] #schedule.home-section-panel-open::before,
  body[data-page="home"] #spaces.home-section-panel-open::before,
  body[data-page="home"] #collections.home-section-panel-open::before {
    inset: 72px 0 0;
  }

  body[data-page="home"] #schedule.home-section-panel-open .section-heading,
  body[data-page="home"] #spaces.home-section-panel-open .section-heading,
  body[data-page="home"] #collections.home-section-panel-open .section-heading {
    padding-right: 0;
  }

  .home-spaces-shell {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .home-spaces-sidebar {
    padding: 0;
  }

  .home-spaces-feed {
    grid-template-columns: 1fr;
  }

  .home-space-card-row {
    grid-template-columns: 1fr;
  }

  .home-space-comment-bubble {
    display: none;
  }

  .home-section-panel-close {
    display: none !important;
  }
}

.global-search-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  align-items: start;
  padding: 92px 30px 30px;
}

.global-search-modal.hidden {
  display: none !important;
}

.global-search-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
}

.global-search-panel {
  position: relative;
  z-index: 1;
  width: min(1480px, 100%);
  max-height: calc(100vh - 120px);
  margin: 0 auto;
  overflow: auto;
  padding: 28px 30px 34px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background: rgba(7, 7, 9, 0.97);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.56);
}

.global-search-field {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.global-search-field svg {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  stroke: rgba(255, 255, 255, 0.58);
  fill: none;
  stroke-width: 2;
}

.global-search-field input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
}

.global-search-field input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.global-search-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.global-search-tab,
.global-search-clear,
.global-search-chip {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.66);
  cursor: pointer;
  font: inherit;
}

.global-search-tab {
  padding: 0 0 11px;
  font-size: 1rem;
  font-weight: 800;
}

.global-search-tab.active {
  color: #fff;
  box-shadow: inset 0 -2px 0 #fff;
}

.global-search-results {
  padding-top: 24px;
}

.global-search-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.global-search-meta.compact {
  margin-top: 26px;
}

.global-search-meta strong {
  color: #fff;
  font-size: 1.05rem;
}

.global-search-clear {
  color: rgba(255, 255, 255, 0.58);
}

.global-search-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.global-search-chip {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 800;
}

.global-search-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
}

.global-search-card-grid .movie-card {
  min-width: 0;
}

.title-search-result-list {
  display: grid;
  gap: 12px;
  max-width: 880px;
}

.title-search-result {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 92px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  color: #fff;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.title-search-result:hover,
.title-search-result:focus-visible {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
}

.title-search-result img {
  width: 68px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
}

.title-search-result-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.title-search-result-copy strong {
  overflow: hidden;
  color: #fff;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.title-search-result-copy small,
.title-search-result-copy em {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.title-search-result-copy em {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
}

.global-search-person-list,
.global-search-collection-list {
  display: grid;
  gap: 12px;
}

.global-search-person,
.global-search-collection {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 78px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.global-search-person span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #9a55ff, #e84b91);
  color: #fff;
  font-weight: 900;
}

.global-search-collection img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 12px;
}

.global-search-person strong,
.global-search-person small,
.global-search-collection strong,
.global-search-collection small {
  display: block;
}

.global-search-person small,
.global-search-collection small,
.global-search-empty {
  color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 760px) {
  .global-search-modal {
    padding: 74px 12px 18px;
  }

  .global-search-panel {
    max-height: calc(100vh - 92px);
    padding: 18px 16px 24px;
    border-radius: 22px;
  }

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

.mobile-title-text,
.mobile-home-ad {
  display: none;
}

@media (max-width: 768px) {
  body[data-page="home"] {
    background: #050505 !important;
  }

  body[data-page="home"] .page-shell {
    padding: 0 16px calc(env(safe-area-inset-bottom, 0px) + 128px) !important;
  }

  body[data-page="home"] .explore-header-mobile-shell {
    position: sticky !important;
    top: 0 !important;
    z-index: 240 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 0 0 calc(50% - 50vw) !important;
    padding: 0 !important;
    background: #030303 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  body[data-page="home"] .explore-mobile-header-bar {
    min-height: 62px !important;
    padding: 0 16px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #030303 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }

  body[data-page="home"] .explore-mobile-header-row {
    min-height: 62px !important;
    gap: 12px !important;
  }

  body[data-page="home"] .explore-mobile-header-left {
    gap: 9px !important;
    flex: 1 1 auto !important;
  }

  body[data-page="home"] .explore-mobile-header-right {
    gap: 16px !important;
  }

  body[data-page="home"] .explore-mobile-home,
  body[data-page="home"] .explore-mobile-owner {
    display: none !important;
  }

  body[data-page="home"] .explore-mobile-brand {
    gap: 9px !important;
    overflow: visible !important;
  }

  body[data-page="home"] .explore-mobile-brand .brand-mark {
    width: 34px !important;
    min-width: 34px !important;
    height: 24px !important;
  }

  body[data-page="home"] .explore-mobile-brand .brand-text {
    max-width: none !important;
    color: #fff !important;
    font-size: 1.16rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
  }

  body[data-page="home"] .explore-mobile-brand::after {
    content: "\03B2";
    margin-left: 8px;
    color: rgba(255, 255, 255, 0.58);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.28rem;
    font-weight: 500;
    line-height: 1;
  }

  body[data-page="home"] .explore-mobile-header-bar .icon-chip,
  body[data-page="home"] .explore-mobile-header-right .account-chip {
    position: relative !important;
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 !important;
    flex: 0 0 32px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: rgba(255, 255, 255, 0.56) !important;
    font-size: 0 !important;
  }

  body[data-page="home"] .explore-mobile-header-bar [data-top-search]::before {
    content: "";
    position: absolute;
    width: 17px;
    height: 17px;
    display: block;
    border: 3px solid currentColor;
    border-radius: 50%;
    transform: translate(-3px, -3px);
  }

  body[data-page="home"] .explore-mobile-header-bar [data-top-search]::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 3px;
    border-radius: 999px;
    background: currentColor;
    transform: translate(9px, 10px) rotate(45deg);
  }

  body[data-page="home"] .explore-mobile-header-bar .notification-glyph {
    position: relative;
    filter: none !important;
    opacity: 1 !important;
    width: 24px;
    height: 24px;
  }

  body[data-page="home"] .explore-mobile-header-bar .notification-glyph::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 4px;
    width: 16px;
    height: 15px;
    border: 3px solid currentColor;
    border-bottom: 0;
    border-radius: 11px 11px 5px 5px;
  }

  body[data-page="home"] .explore-mobile-header-bar .notification-glyph::after {
    content: "";
    position: absolute;
    left: 9px;
    bottom: 2px;
    width: 7px;
    height: 4px;
    border-bottom: 3px solid currentColor;
    border-radius: 0 0 999px 999px;
  }

  body[data-page="home"] .explore-mobile-header-bar .notification-glyph > * {
    display: none !important;
  }

  body[data-page="home"] .explore-mobile-header-right .account-chip::before {
    content: "⋮";
    display: block;
    color: rgba(255, 255, 255, 0.56);
    font-size: 2rem;
    font-weight: 800;
    line-height: 0.8;
  }

  body[data-page="home"] .explore-mobile-header-right .account-chip > * {
    display: none !important;
  }

  body[data-page="home"] .mobile-dock {
    gap: 14px !important;
    justify-content: space-between !important;
  }

  body[data-page="home"] .mobile-dock-link {
    position: relative !important;
    display: grid !important;
    place-items: center !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.66) !important;
    box-shadow: none !important;
  }

  body[data-page="home"] .mobile-dock-link.active,
  body[data-page="home"] .mobile-dock-link:hover {
    background: transparent !important;
    color: #fff !important;
  }

  body[data-page="home"] .mobile-dock-link span:not(.mobile-dock-icon):not(.account-chip-avatar):not(.mobile-dock-avatar) {
    display: none !important;
  }

  body[data-page="home"] .mobile-dock-icon {
    display: grid !important;
    place-items: center !important;
    width: 34px !important;
    height: 34px !important;
  }

  body[data-page="home"] .mobile-dock-icon svg {
    width: 28px !important;
    height: 28px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2.1 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }

  body[data-page="home"] .mobile-dock-account {
    flex: 0 0 auto !important;
  }

  body[data-page="home"] .mobile-dock-account .dock-account-label {
    display: none !important;
  }

  body[data-page="home"] .mobile-dock-account .account-chip-avatar {
    width: 36px !important;
    height: 36px !important;
    display: block !important;
    border-radius: 50% !important;
    background:
      url("../app-icon-192.png") center / cover,
      rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03) !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
  }

  body[data-page="home"] .mobile-dock-account.signed-in .account-chip-avatar {
    width: 36px !important;
    height: 36px !important;
    font-size: 0.68rem !important;
    line-height: 1 !important;
  }

  body[data-page="home"] .mobile-dock-account .account-chip-avatar.hidden {
    display: block !important;
  }

  body[data-page="home"] .explore-main {
    width: 100% !important;
    padding-top: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body[data-page="home"] .explore-main::before {
    top: 0 !important;
    height: 470px !important;
    background:
      radial-gradient(ellipse at 24% 0%, rgba(128, 75, 185, 0.58), transparent 48%),
      radial-gradient(ellipse at 88% 0%, rgba(43, 58, 130, 0.48), transparent 46%),
      linear-gradient(180deg, rgba(72, 42, 110, 0.84) 0%, rgba(28, 21, 43, 0.68) 45%, rgba(5, 5, 5, 0) 100%) !important;
  }

  body[data-page="home"] .explore-layout,
  body[data-page="home"] .explore-primary,
  body[data-page="home"] .explore-sidebar {
    gap: 0 !important;
  }

  body[data-page="home"] .explore-layout {
    display: contents !important;
  }

  body[data-page="home"] .explore-primary {
    order: 3 !important;
    display: grid !important;
  }

  body[data-page="home"] .explore-sidebar {
    order: 1 !important;
    display: block !important;
    overflow: visible !important;
  }

  body[data-page="home"] .browse-panel {
    display: none !important;
  }

  body[data-page="home"] .most-interested-panel {
    display: block !important;
    padding: 42px 0 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  body[data-page="home"] .desktop-title-text,
  body[data-page="home"] .most-interested-panel .panel-label {
    display: none !important;
  }

  body[data-page="home"] .mobile-title-text {
    display: inline !important;
  }

  body[data-page="home"] .most-interested-panel .explore-panel-header {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin: 0 0 24px !important;
  }

  body[data-page="home"] .most-interested-panel h2 {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: 1.72rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
  }

  body[data-page="home"] .most-interested-panel h2::before {
    content: "♨";
    color: #fff;
    font-size: 1.45rem;
    line-height: 1;
  }

  body[data-page="home"] .interest-window-select {
    min-width: 0 !important;
    width: 128px !important;
    height: 44px !important;
    padding: 0 28px 0 13px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: #17171d !important;
    color: #fff !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
  }

  body[data-page="home"] .most-interested-list {
    display: flex !important;
    gap: 24px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    padding: 0 0 2px !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none !important;
  }

  body[data-page="home"] .most-interested-list::-webkit-scrollbar {
    display: none;
  }

  body[data-page="home"] .interest-item {
    grid-template-columns: 54px 58px minmax(0, 1fr) !important;
    align-items: center !important;
    flex: 0 0 calc(100vw - 48px) !important;
    min-height: 90px !important;
    padding: 10px 14px !important;
    border: 0 !important;
    border-radius: 18px !important;
    background: #1a1a20 !important;
    scroll-snap-align: start !important;
  }

  body[data-page="home"] .interest-rank {
    color: #d7d7d7 !important;
    font-size: 3.85rem !important;
    font-weight: 900 !important;
    line-height: 0.9 !important;
    letter-spacing: -0.08em !important;
    text-shadow: 0 1px 0 #fff, 0 16px 24px rgba(0, 0, 0, 0.45);
  }

  body[data-page="home"] .interest-poster {
    width: 58px !important;
    height: 76px !important;
    min-width: 58px !important;
    border-radius: 7px !important;
  }

  body[data-page="home"] .interest-copy h3 {
    margin-bottom: 7px !important;
    color: #f4f4f5 !important;
    font-size: 1rem !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
  }

  body[data-page="home"] .interest-copy p {
    color: rgba(255, 255, 255, 0.62) !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
  }

  body[data-page="home"] .interest-copy span {
    margin-top: 8px !important;
    color: #ff7257 !important;
    font-size: 0.84rem !important;
    font-weight: 900 !important;
    text-transform: capitalize !important;
  }

  .mobile-home-ad {
    position: relative;
    display: block;
    order: 2;
    margin: 28px 0 34px;
    min-height: 170px;
    padding: 13px 20px 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background:
      radial-gradient(circle at 18% 48%, rgba(255, 66, 122, 0.38), transparent 22%),
      radial-gradient(circle at 88% 8%, rgba(177, 44, 255, 0.48), transparent 44%),
      repeating-radial-gradient(circle at 90% 58%, rgba(126, 44, 198, 0.36) 0 24px, rgba(42, 10, 73, 0.6) 24px 58px),
      linear-gradient(135deg, #180028 0%, #080017 55%, #190037 100%);
  }

  .mobile-home-ad-brand {
    color: #ff751e;
    font-size: 0.98rem;
    font-weight: 900;
  }

  .mobile-home-ad-title {
    margin-top: 6px;
    color: #fff4ee;
    font-size: 3.25rem;
    font-weight: 900;
    line-height: 0.82;
    letter-spacing: 0;
  }

  .mobile-home-ad-title span {
    font-size: 1.55rem;
  }

  .mobile-home-ad-copy {
    display: grid;
    gap: 2px;
    margin-top: 12px;
    max-width: 178px;
    color: #fff;
    font-size: 0.58rem;
    font-weight: 800;
  }

  .mobile-home-ad-copy strong {
    color: #ff5b9f;
  }

  .mobile-home-ad-stores {
    position: absolute;
    right: 18px;
    bottom: 12px;
    display: flex;
    gap: 8px;
  }

  .mobile-home-ad-stores span {
    padding: 4px 7px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 4px;
    color: #fff;
    font-size: 0.5rem;
    font-weight: 800;
  }

  body[data-page="home"] .explore-showcase {
    order: -1 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  body[data-page="home"] .explore-row-section {
    margin-top: 38px !important;
  }

  body[data-page="home"] .showcase-row-heading {
    margin-bottom: 32px !important;
  }

  body[data-page="home"] .showcase-row-title h2 {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.9rem !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
  }

  body[data-page="home"] .showcase-row-icon {
    font-size: 1.35rem !important;
  }

  body[data-page="home"] #featuredMovies {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px 14px !important;
    overflow: hidden !important;
  }

  body[data-page="home"] #featuredMovies .featured-feed-card {
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body[data-page="home"] #featuredMovies .featured-poster {
    border-radius: 8px !important;
  }

  body[data-page="home"] .install-banner,
  body[data-page="home"] .install-banner.hidden,
  body[data-page="home"] .install-banner.visible {
    display: flex !important;
    width: 100vw !important;
    max-width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 72px) !important;
    transform: none !important;
    z-index: 250 !important;
    padding: 14px 26px !important;
    border-top: 1px solid rgba(116, 83, 255, 0.32) !important;
    border-bottom: 1px solid rgba(116, 83, 255, 0.2) !important;
    background: #050505 !important;
  }

  body[data-page="home"] .install-banner-action {
    color: #d555ff !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
  }

  body[data-page="home"] .install-banner-close {
    width: 32px !important;
    height: 32px !important;
    font-size: 1.9rem !important;
  }

  body[data-page="home"] .mobile-dock {
    display: flex !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    transform: none !important;
    z-index: 249 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    min-height: calc(env(safe-area-inset-bottom, 0px) + 72px) !important;
    padding: 8px 22px calc(env(safe-area-inset-bottom, 0px) + 8px) !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #050505 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }
}

@media (max-width: 390px) {
  body[data-page="home"] .page-shell {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  body[data-page="home"] .explore-mobile-header-bar {
    padding: 0 16px !important;
  }

  body[data-page="home"] .explore-mobile-brand .brand-text {
    font-size: 1.05rem !important;
  }

  body[data-page="home"] .explore-mobile-header-right {
    gap: 13px !important;
  }

  body[data-page="home"] .interest-item {
    grid-template-columns: 50px 56px minmax(0, 1fr) !important;
    flex-basis: calc(100vw - 48px) !important;
    min-height: 90px !important;
    padding: 10px 12px !important;
  }

  body[data-page="home"] .interest-rank {
    font-size: 3.55rem !important;
  }

  body[data-page="home"] .interest-poster {
    width: 56px !important;
    height: 74px !important;
    min-width: 56px !important;
  }

  body[data-page="home"] .interest-copy h3 {
    font-size: 0.96rem !important;
  }

  .mobile-home-ad-title {
    font-size: 3.08rem;
  }
}
