: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;
}

* {
  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 top left, rgba(255, 255, 255, 0.08), transparent 20%),
    linear-gradient(180deg, #121212 0%, #090909 50%, #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 {
  margin-bottom: 18px;
}

.explore-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  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);
  flex-wrap: nowrap;
}

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

.explore-nav-center {
  justify-content: center;
  flex: 1;
  flex-wrap: wrap;
}

.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;
  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;
}

.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-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);
}

.showcase-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  gap: 20px;
  align-items: start;
  margin-bottom: 18px;
}

.showcase-header h1 {
  margin: 0;
  font-size: clamp(2.1rem, 3vw, 3rem);
  line-height: 0.96;
}

.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: 92px;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 8px;
  padding: 14px 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.94rem;
  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);
}

.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;
}

.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;
}

.trend-grid {
  grid-template-columns: repeat(4, 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));
  margin-top: 0;
}

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

.featured-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

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

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

.featured-feed-card {
  display: block;
  background: transparent;
  border: 0;
}

.featured-feed-card .featured-copy h3 {
  margin-bottom: 4px;
  font-size: 0.98rem;
  line-height: 1.15;
}

.featured-feed-card .status-row {
  margin-top: 6px;
}

.featured-feed-card .featured-poster {
  aspect-ratio: 0.7;
  border-radius: 14px;
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.3);
}

.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(4, minmax(0, 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;
}

.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(auto-fit, minmax(260px, 1fr));
}

.movie-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.38);
}

.movie-card-link {
  display: block;
}

.movie-poster {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.movie-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
}

.movie-card-compact {
  overflow: hidden;
}

.movie-card-compact .movie-poster {
  aspect-ratio: 0.73;
}

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

.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.95rem;
}

.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: 0 18px 18px;
  margin-top: 0;
}

.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;
}

.watch-status-btn.active {
  background: linear-gradient(135deg, #b45dff 0%, #7e46ff 55%, #e50914 100%);
  border-color: transparent;
}

.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));
}

.trailer-overlay h2 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(2.2rem, 4vw, 3.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);
  gap: 24px;
  align-items: end;
}

.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 {
  color: #fff;
  position: relative;
  z-index: 13;
}

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

.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;
}

.people-block {
  display: grid;
  gap: 18px;
}

.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;
}

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

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

.person-card {
  padding: 20px 16px 18px;
  text-align: center;
  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;
}

.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;
}

.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: 14px;
  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);
}

.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: 50;
  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;
  }

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

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

  .explore-feed-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));
  }

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

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

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1240px);
  }

  .explore-topbar {
    padding: 10px 12px;
    gap: 10px;
  }

  .explore-topbar-left {
    gap: 10px;
  }

  .topbar,
  .movie-actions {
    align-items: stretch;
  }

  .explore-nav-center {
    display: none;
  }

  .explore-actions-right {
    display: inline-flex;
    margin-left: auto;
  }

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

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

  .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;
  }

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

  .mobile-dock {
    display: flex;
    gap: 6px;
  }

  body[data-page="home"] {
    padding-bottom: 92px;
  }

  .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;
  }

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

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

  .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: 38px;
    height: 38px;
  }

  .account-chip {
    width: auto;
    min-width: 38px;
    padding: 5px 10px;
  }

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

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

  .beta-chip {
    display: none;
  }

  .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%;
  }

  .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: 94px;
  }

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