/* Cinema theme - oumei HD */

:root {
  --vx-bg: #0b0d12;
  --vx-surface: #141820;
  --vx-surface-2: #1c2230;
  --vx-elevated: #232b3b;
  --vx-border: rgba(255, 255, 255, 0.08);
  --vx-border-strong: rgba(255, 255, 255, 0.14);
  --vx-text: #eef1f6;
  --vx-muted: #8b95a8;
  --vx-faint: #5c6678;
  --vx-accent: #f43f5e;
  --vx-accent-soft: rgba(244, 63, 94, 0.15);
  --vx-accent-hover: #fb6b82;
  --vx-danger: #f07178;
  --vx-radius: 14px;
  --vx-radius-sm: 10px;
  --vx-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
  --vx-container: 1180px;
  --vx-header-h: 64px;
  --vx-font: "Noto Sans SC", ui-sans-serif, system-ui, "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body.vx-body {
  margin: 0;
  font-family: var(--vx-font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--vx-text);
  background: var(--vx-bg);
  overflow-x: hidden;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

body.vx-body.menu-open {
  overflow: hidden;
}

#root {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

button,
input {
  font: inherit;
}

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

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

/* ? Layout ? */
.vx-container {
  width: min(100% - 32px, var(--vx-container));
  margin-inline: auto;
}

.vx-main {
  flex: 1;
  padding-bottom: 48px;
}

.vx-section {
  padding: 40px 0;
}

.vx-section--band {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  border-block: 1px solid var(--vx-border);
}

.vx-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.vx-section__head h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.vx-section__more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--vx-muted);
  font-size: 0.9rem;
  white-space: nowrap;
  transition: color 0.2s;
}

.vx-section__more:hover {
  color: var(--vx-accent);
}

/* ? Header ? */
.vx-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--vx-header-h);
  background: rgba(11, 13, 18, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--vx-border);
  padding-top: env(safe-area-inset-top, 0);
}

.vx-header__inner {
  width: min(100% - 32px, var(--vx-container));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.vx-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}

.vx-brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--vx-accent), #be123c);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.85rem;
  box-shadow: 0 6px 18px rgba(244, 63, 94, 0.3);
}

.vx-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent);
}

.vx-nav::-webkit-scrollbar {
  display: none;
}

.vx-nav__link {
  flex-shrink: 0;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--vx-muted);
  font-size: 0.84rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.vx-nav__link:hover,
.vx-nav__link.is-active {
  color: var(--vx-text);
  background: var(--vx-surface-2);
}

.vx-nav__link.is-active {
  color: var(--vx-accent);
  background: var(--vx-accent-soft);
}

.vx-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

.vx-brand__text {
  white-space: nowrap;
}

.vx-search input {
  width: 160px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--vx-border);
  border-radius: 999px;
  background: var(--vx-surface);
  color: var(--vx-text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.vx-search input:focus {
  border-color: rgba(244, 63, 94, 0.45);
  box-shadow: 0 0 0 3px var(--vx-accent-soft);
}

.vx-search input::placeholder {
  color: var(--vx-faint);
}

.vx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 16px;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, color 0.2s;
}

.vx-btn:active {
  transform: scale(0.98);
}

.vx-btn--primary {
  background: linear-gradient(135deg, var(--vx-accent), #be123c);
  color: #fff;
}

.vx-btn--primary:hover {
  background: linear-gradient(135deg, var(--vx-accent-hover), #e11d48);
}

.vx-btn--ghost {
  background: var(--vx-surface-2);
  color: var(--vx-text);
  border: 1px solid var(--vx-border);
}

.vx-btn--ghost:hover {
  border-color: var(--vx-border-strong);
  background: var(--vx-elevated);
}

.vx-btn--sm {
  height: 34px;
  padding: 0 12px;
  font-size: 0.82rem;
}

.vx-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--vx-border);
  border-radius: 10px;
  background: var(--vx-surface);
  color: var(--vx-text);
  font-size: 1.2rem;
  cursor: pointer;
  margin-left: auto;
}

/* ?? Hero ?? */
.vx-hero {
  position: relative;
  margin-bottom: 8px;
}

.vx-hero__stage {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-bottom: 1px solid var(--vx-border);
}

.vx-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
  background: var(--vx-surface) center/cover no-repeat;
}

.vx-hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

.vx-hero__slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 13, 18, 0.96) 0%, rgba(11, 13, 18, 0.72) 42%, rgba(11, 13, 18, 0.25) 100%),
    linear-gradient(0deg, var(--vx-bg) 0%, transparent 40%);
}

.vx-hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, var(--vx-container));
  margin-inline: auto;
  padding: 56px 0 72px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: end;
}

.vx-hero__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--vx-accent-soft);
  color: var(--vx-accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.vx-hero__content h1,
.vx-hero__content h2 {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  line-height: 1.2;
  font-weight: 800;
}

.vx-hero__desc {
  margin: 0 0 18px;
  max-width: 560px;
  color: var(--vx-muted);
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vx-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.vx-hero__tags span {
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--vx-border);
  font-size: 0.78rem;
  color: var(--vx-muted);
}

.vx-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.vx-hero__poster {
  border-radius: var(--vx-radius);
  overflow: hidden;
  box-shadow: var(--vx-shadow);
  border: 1px solid var(--vx-border-strong);
  aspect-ratio: 2/3;
  background: var(--vx-surface-2);
}

.vx-hero__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vx-hero__dots {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.vx-hero__dots button {
  position: relative;
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  padding: 0;
  transition: width 0.25s, background 0.25s;
}

.vx-hero__dots button::before {
  content: '';
  position: absolute;
  inset: -14px;
}

.vx-hero__dots button.is-active {
  width: 24px;
  background: var(--vx-accent);
}

.vx-chips {
  padding: 18px 0;
  border-bottom: 1px solid var(--vx-border);
}

.vx-chips__track {
  width: min(100% - 32px, var(--vx-container));
  margin-inline: auto;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.vx-chips__track::-webkit-scrollbar {
  display: none;
}

.vx-chip {
  flex-shrink: 0;
  padding: 10px 16px;
  border-radius: var(--vx-radius-sm);
  background: var(--vx-surface);
  border: 1px solid var(--vx-border);
  transition: border-color 0.2s, background 0.2s;
}

.vx-chip:hover {
  border-color: rgba(244, 63, 94, 0.35);
  background: var(--vx-surface-2);
}

.vx-chip strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 2px;
}

.vx-chip span {
  font-size: 0.75rem;
  color: var(--vx-faint);
}

/* ?? Grids ?? */
.vx-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
}

.vx-grid--featured {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.vx-grid--3 {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.vx-scroll-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.vx-scroll-row::-webkit-scrollbar {
  display: none;
}

.vx-scroll-row .vx-card {
  flex: 0 0 168px;
}

/* ?? Movie Card ?? */
.vx-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vx-card--featured {
  flex-direction: row;
  gap: 16px;
  padding: 14px;
  background: var(--vx-surface);
  border: 1px solid var(--vx-border);
  border-radius: var(--vx-radius);
  transition: border-color 0.2s, transform 0.2s;
}

.vx-card--featured:hover {
  border-color: rgba(244, 63, 94, 0.3);
  transform: translateY(-2px);
}

.vx-card__poster {
  position: relative;
  border-radius: var(--vx-radius-sm);
  overflow: hidden;
  aspect-ratio: 2/3;
  background: var(--vx-surface-2);
}

.vx-card--featured .vx-card__poster {
  width: 110px;
  flex-shrink: 0;
  aspect-ratio: 2/3;
}

.vx-card__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.vx-card:hover .vx-card__poster img {
  transform: scale(1.04);
}

.vx-card__rank {
  position: absolute;
  top: 8px;
  left: 8px;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  border-radius: 8px;
  background: var(--vx-accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  z-index: 1;
}

.vx-card__body {
  min-width: 0;
  flex: 1;
}

.vx-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 0.76rem;
  color: var(--vx-faint);
}

.vx-card__tag {
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--vx-accent-soft);
  color: var(--vx-accent);
  font-weight: 600;
}

.vx-card__title {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vx-card--featured .vx-card__title {
  font-size: 1.05rem;
}

.vx-card__desc {
  margin: 0 0 8px;
  font-size: 0.82rem;
  color: var(--vx-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vx-card__foot {
  display: flex;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--vx-faint);
}

.vx-card__foot strong {
  color: var(--vx-accent);
  font-weight: 600;
}

/* ?? Category tiles ?? */
.vx-cat-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

/* ?? Category browse (overview) ?? */
.vx-cat-browse-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.vx-cat-browse {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 16px;
  padding: 14px;
  border-radius: var(--vx-radius);
  background: var(--vx-surface);
  border: 1px solid var(--vx-border);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.vx-cat-browse:hover {
  border-color: rgba(244, 63, 94, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.vx-cat-browse__cover {
  position: relative;
  border-radius: var(--vx-radius-sm);
  overflow: hidden;
  aspect-ratio: 2/3;
  background: var(--vx-surface-2);
}

.vx-cat-browse__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vx-cat-browse__count {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(11, 13, 18, 0.82);
  border: 1px solid var(--vx-border);
  font-size: 0.72rem;
  color: var(--vx-text);
}

.vx-cat-browse__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.vx-cat-browse__body h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.vx-cat-browse__body p {
  margin: 0;
  flex: 1;
  font-size: 0.84rem;
  color: var(--vx-muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vx-cat-browse__link {
  margin-top: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--vx-accent);
}

/* ?? Category topic page ?? */
.vx-topic__eyebrow {
  margin: 0 0 8px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vx-accent);
}

.vx-topic__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.vx-topic__meta span {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--vx-surface-2);
  border: 1px solid var(--vx-border);
  font-size: 0.8rem;
  color: var(--vx-muted);
}

.vx-grid--topic {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  margin-bottom: 28px;
}

.vx-empty {
  padding: 64px 20px;
  text-align: center;
  color: var(--vx-muted);
  border: 1px dashed var(--vx-border);
  border-radius: var(--vx-radius);
  background: var(--vx-surface);
}

/* ?? Pagination ?? */
.vx-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-top: 8px;
}

.vx-pagination__btn {
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--vx-border);
  background: var(--vx-surface);
  color: var(--vx-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.vx-pagination__btn:hover:not(:disabled) {
  color: var(--vx-text);
  border-color: var(--vx-border-strong);
}

.vx-pagination__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.vx-pagination__pages {
  display: flex;
  align-items: center;
  gap: 6px;
}

.vx-pagination__page {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid var(--vx-border);
  background: var(--vx-surface);
  color: var(--vx-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.vx-pagination__page:hover {
  color: var(--vx-text);
  border-color: var(--vx-border-strong);
}

.vx-pagination__page.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--vx-accent), #be123c);
}

.vx-pagination__gap {
  color: var(--vx-faint);
  padding: 0 4px;
  user-select: none;
}

/* ?? Page hero (inner pages) ?? */
.vx-page-hero {
  padding: 36px 0 28px;
  border-bottom: 1px solid var(--vx-border);
  background: linear-gradient(180deg, var(--vx-surface), transparent);
}

.vx-page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
}

.vx-page-hero p {
  margin: 0;
  max-width: 640px;
  color: var(--vx-muted);
  font-size: 0.95rem;
}

/* ?? Filter panel ?? */
.vx-filter-panel {
  margin-top: 24px;
  padding: 16px;
  border-radius: var(--vx-radius);
  background: var(--vx-surface);
  border: 1px solid var(--vx-border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.vx-filter-panel__search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 4px 4px 14px;
  border-radius: 12px;
  background: var(--vx-bg);
  border: 1px solid var(--vx-border);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.vx-filter-panel__search:focus-within {
  border-color: rgba(244, 63, 94, 0.4);
  box-shadow: 0 0 0 3px var(--vx-accent-soft);
}

.vx-filter-panel__icon {
  color: var(--vx-faint);
  font-size: 1.05rem;
  flex-shrink: 0;
}

.vx-filter-panel__search input {
  flex: 1;
  min-width: 0;
  height: 40px;
  border: none;
  background: transparent;
  color: var(--vx-text);
  outline: none;
  font-size: 0.92rem;
}

.vx-filter-panel__search input::placeholder {
  color: var(--vx-faint);
}

.vx-filter-panel__clear {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--vx-muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s, color 0.2s;
}

.vx-filter-panel__clear:hover {
  background: var(--vx-surface-2);
  color: var(--vx-text);
}

.vx-filter-panel__submit {
  height: 40px;
  padding: 0 18px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--vx-accent), #be123c);
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.vx-filter-panel__submit:hover {
  opacity: 0.92;
}

.vx-filter-panel__sort {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.vx-filter-panel__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--vx-faint);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.vx-segment {
  display: inline-flex;
  padding: 4px;
  border-radius: 12px;
  background: var(--vx-bg);
  border: 1px solid var(--vx-border);
  gap: 4px;
}

.vx-segment__item {
  height: 36px;
  padding: 0 16px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: var(--vx-muted);
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.vx-segment__item:hover {
  color: var(--vx-text);
}

.vx-segment__item.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--vx-accent), #be123c);
  box-shadow: 0 4px 14px rgba(244, 63, 94, 0.28);
}

/* ?? Watch page ?? */
.vx-watch {
  padding: 24px 0 0;
}

.vx-breadcrumb {
  width: min(100% - 32px, var(--vx-container));
  margin: 0 auto 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--vx-faint);
}

.vx-breadcrumb a:hover {
  color: var(--vx-accent);
}

.vx-watch__layout {
  width: min(100% - 32px, var(--vx-container));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}

.vx-player {
  border-radius: var(--vx-radius);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--vx-border);
  aspect-ratio: 16/9;
}

.vx-player video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}

.vx-detail {
  margin-top: 24px;
  padding: 22px;
  border-radius: var(--vx-radius);
  background: var(--vx-surface);
  border: 1px solid var(--vx-border);
}

.vx-detail h1 {
  margin: 0 0 10px;
  font-size: 1.5rem;
}

.vx-detail__lead {
  margin: 0 0 16px;
  color: var(--vx-muted);
}

.vx-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.vx-pill {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--vx-surface-2);
  border: 1px solid var(--vx-border);
  font-size: 0.8rem;
  color: var(--vx-muted);
}

.vx-detail h2 {
  margin: 22px 0 10px;
  font-size: 1rem;
  color: var(--vx-accent);
}

.vx-detail p {
  margin: 0;
  color: var(--vx-muted);
  line-height: 1.75;
}

.vx-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vx-tag-cloud span {
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--vx-bg);
  border: 1px solid var(--vx-border);
  font-size: 0.82rem;
  color: var(--vx-muted);
}

.vx-aside-card {
  padding: 18px;
  border-radius: var(--vx-radius);
  background: var(--vx-surface);
  border: 1px solid var(--vx-border);
  margin-bottom: 16px;
}

.vx-aside-card--sticky {
  position: sticky;
  top: calc(var(--vx-header-h) + 16px);
}

.vx-aside-card__cover {
  width: 100%;
  border-radius: var(--vx-radius-sm);
  aspect-ratio: 2/3;
  object-fit: cover;
  margin-bottom: 14px;
  background: var(--vx-surface-2);
}

.vx-aside-card h3 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.vx-aside-card .vx-btn {
  width: 100%;
  margin-top: 14px;
}

.vx-mini-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vx-mini {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: var(--vx-radius-sm);
  transition: background 0.2s;
}

.vx-mini:hover {
  background: var(--vx-surface-2);
}

.vx-mini img {
  width: 52px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  background: var(--vx-surface-2);
}

.vx-mini__text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vx-mini__text strong {
  font-size: 0.86rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vx-mini__text span {
  font-size: 0.78rem;
  color: var(--vx-faint);
}

/* ?? Footer ?? */
.vx-footer {
  position: relative;
  margin-top: auto;
  padding: 0 0 0;
  background: linear-gradient(180deg, #0e1018 0%, #0a0c12 100%);
  border-top: 1px solid var(--vx-border);
  overflow: hidden;
}

.vx-footer__glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 680px;
  height: 240px;
  background: radial-gradient(ellipse, rgba(244, 63, 94, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.vx-footer__topline {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(244, 63, 94, 0.15) 20%,
    rgba(244, 63, 94, 0.55) 50%,
    rgba(244, 63, 94, 0.15) 80%,
    transparent 100%
  );
}

.vx-footer__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 36px 0 28px;
}

.vx-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--vx-text);
  transition: color 0.2s;
}

.vx-footer__brand:hover {
  color: var(--vx-accent);
}

.vx-footer__brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--vx-accent), #be123c);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.85rem;
  box-shadow: 0 8px 24px rgba(244, 63, 94, 0.25);
}

.vx-footer__desc {
  margin: 0;
  max-width: 420px;
  color: var(--vx-muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.vx-footer__quick {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}

.vx-footer__quick a {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--vx-border);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.82rem;
  color: var(--vx-muted);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.vx-footer__quick a:hover {
  color: var(--vx-text);
  border-color: rgba(244, 63, 94, 0.35);
  background: var(--vx-accent-soft);
}

.vx-footer__bar {
  border-top: 1px solid var(--vx-border);
  background: rgba(0, 0, 0, 0.22);
}

.vx-footer__bar-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
}

.vx-footer__copy {
  margin: 0;
  font-size: 0.78rem;
  color: var(--vx-faint);
  letter-spacing: 0.02em;
}

.vx-footer__credit {
  display: flex;
  justify-content: center;
}

.vx-footer__note {
  margin: 0;
  text-align: right;
  font-size: 0.78rem;
  color: var(--vx-faint);
  letter-spacing: 0.06em;
}

/* ABABSEO */
.ababseo-mark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  user-select: none;
  pointer-events: none;
}

.ababseo-mark__scene {
  position: relative;
  width: 88px;
  height: 36px;
}

.ababseo-mark__plane {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--vx-accent);
  animation: ababseo-fly 2.8s ease-in-out infinite;
}

.ababseo-mark__plane i {
  display: block;
  font-size: 1.35rem;
  transform: rotate(-28deg);
}

.ababseo-mark__trail {
  position: absolute;
  left: 22px;
  top: 50%;
  display: flex;
  gap: 5px;
  transform: translateY(-50%);
  animation: ababseo-trail 2.8s ease-in-out infinite;
}

.ababseo-mark__trail i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--vx-accent);
  opacity: 0.6;
}

.ababseo-mark__spark {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--vx-accent-hover);
  animation: ababseo-spark 2.8s ease-in-out infinite;
}

.ababseo-mark__spark--1 { left: 58px; top: 4px; animation-delay: 0.4s; }
.ababseo-mark__spark--2 { left: 72px; top: 22px; animation-delay: 0.9s; }

.ababseo-mark__word {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  color: var(--vx-accent);
}

@keyframes ababseo-fly {
  0%, 100% { transform: translate(0, -50%); }
  50% { transform: translate(42px, calc(-50% - 6px)); }
}

@keyframes ababseo-trail {
  0%, 100% { opacity: 0.35; transform: translate(0, -50%); }
  50% { opacity: 1; transform: translate(18px, -50%); }
}

@keyframes ababseo-spark {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* ?? Mobile nav drawer ?? */
.vx-drawer {
  display: none;
}

/* ?? Responsive ?? */
@media (max-width: 960px) {
  .vx-hero__content {
    grid-template-columns: 1fr;
    padding-bottom: 56px;
  }

  .vx-hero__poster {
    display: none;
  }

  .vx-watch__layout {
    grid-template-columns: 1fr;
  }

  .vx-aside-card--sticky {
    position: static;
  }

  .vx-footer__bar-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 12px;
  }

  .vx-footer__note {
    text-align: center;
  }
}

@media (max-width: 1100px) {
  .vx-brand__text {
    display: none;
  }
}

@media (max-width: 768px) {
  .vx-container {
    width: min(100% - 24px, var(--vx-container));
  }

  .vx-page-hero {
    padding: 24px 0 20px;
  }

  .vx-section__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .vx-menu-toggle {
    display: grid;
    place-items: center;
  }

  .vx-nav,
  .vx-header__inner > .vx-search {
    display: none;
  }

  body.menu-open .vx-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: calc(var(--vx-header-h) + env(safe-area-inset-top, 0)) 0 0;
    z-index: 99;
    padding: 20px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 0));
    gap: 8px;
    background: rgba(11, 13, 18, 0.97);
    backdrop-filter: blur(12px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .vx-drawer .vx-nav__link {
    padding: 14px 16px;
    font-size: 1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .vx-drawer .vx-search {
    display: flex;
    flex-direction: column;
    margin: 12px 0 0;
    width: 100%;
  }

  .vx-drawer .vx-search input {
    width: 100%;
    min-height: 44px;
  }

  .vx-drawer .vx-search .vx-btn {
    width: 100%;
    min-height: 44px;
  }

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

  .vx-grid--featured {
    grid-template-columns: 1fr;
  }

  .vx-card--featured {
    flex-direction: column;
  }

  .vx-card--featured .vx-card__poster {
    width: 100%;
  }

  .vx-filter-panel {
    padding: 12px;
  }

  .vx-filter-panel__search {
    flex-wrap: wrap;
    padding: 4px 4px 4px 12px;
  }

  .vx-filter-panel__submit {
    width: 100%;
    min-height: 44px;
  }

  .vx-filter-panel__sort {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .vx-segment {
    width: 100%;
    justify-content: space-between;
  }

  .vx-segment__item {
    flex: 1;
    padding: 0 8px;
    font-size: 0.82rem;
    min-height: 40px;
  }

  .vx-pagination__btn,
  .vx-pagination__page {
    min-width: 34px;
    height: 36px;
    padding: 0 8px;
    font-size: 0.82rem;
  }

  .vx-pagination__pages {
    gap: 4px;
  }

  .vx-detail h1 {
    font-size: clamp(1.2rem, 5vw, 1.5rem);
  }

  .vx-chips {
    padding-left: env(safe-area-inset-left, 0);
    padding-right: env(safe-area-inset-right, 0);
  }
}

@media (max-width: 480px) {
  .vx-container {
    width: min(100% - 20px, var(--vx-container));
  }

  .vx-section {
    padding: 28px 0;
  }

  .vx-hero__stage {
    min-height: 360px;
  }

  .vx-hero__content {
    padding-top: 40px;
    padding-bottom: calc(56px + env(safe-area-inset-bottom, 0));
  }

  .vx-cat-browse {
    grid-template-columns: 1fr;
  }

  .vx-cat-browse__cover {
    max-width: 140px;
  }

  .vx-cat-browse-grid {
    gap: 12px;
  }

  .vx-pagination {
    gap: 6px;
  }

  .vx-pagination__btn {
    padding: 0 12px;
  }
}
