:root {
  --clone-layout-lock: 1;
}

html {
  -webkit-text-size-adjust:100%;
  -moz-text-size-adjust:100%;
  text-size-adjust:100%;
}

html,body,#root,.page-shell,.site-header,.detail-main,.movie-grid,.filter-row {
  min-width:0;
  max-width:100%;
}

body,.page-shell {
  overflow-x:hidden;
}

.site-header {
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}

.detail-main h1,.movie-card h3 {
  letter-spacing:normal;
}

.movie-card,.movie-card:hover {
  transform:none;
}

.movie-cover {
  position:relative;
  overflow:hidden;
}

.movie-cover img {
  display:block;
  width:100%;
  max-width:100%;
  height:100%;
  -webkit-object-fit:cover;
  -o-object-fit:cover;
  object-fit:cover;
}

img,video,iframe {
  max-width:100%;
}

.filter-row,.tag-row,.hero-actions,.breadcrumb {
  display:flex;
  flex-wrap:wrap;
  min-width:0;
}

form {
  max-width:100%;
  min-width:0;
}

@media (min-width: 1280px) {
  .movie-grid {
    grid-template-columns:repeat(6,minmax(0,1fr));
  }
}

@media (max-width: 1279px) {
  .movie-grid {
    grid-template-columns:repeat(5,minmax(0,1fr));
  }
}

@media (max-width: 1100px) {
  .movie-grid,.category-grid {
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}

@media (max-width: 1023px) {
  .mobile-toggle {
    display:inline-flex;
  }
  .movie-grid,.category-grid {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .search-panel {
    grid-template-columns:1fr;
  }
  .hero h1,.hero h2,.detail-main h1 {
    font-size:clamp(28px,8vw,40px);
    line-height:1.25;
  }
}

@media (max-width: 640px) {
  .movie-grid,.category-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }
  .page-shell,.section-block,.content-card,.detail-main {
    padding-left:12px;
    padding-right:12px;
  }
  .hero,.page-hero,.movie-card {
    border-radius:16px;
  }
}

* {
  box-sizing:border-box;
}

:root {
  --teal-900: #4f3a5a;
  --teal-800: #5f466d;
  --teal-700: #76588a;
  --teal-600: #936eaf;
  --teal-500: #b48adb;
  --teal-100: #f4ebff;
  --slate-950: #0b0410;
  --slate-900: #1c1423;
  --slate-800: #2e2435;
  --slate-700: #533837;
  --slate-100: #f7f2fb;
  --amber-500: #00cdce;
  --white: #ffffff;
  --text: #1d1423;
  --muted: #896a68;
  --shadow: 0 20px 45px rgba(28,20,35,.12);
}

html {
  scroll-behavior:smooth;
}

body {
  margin:0;
  color:var(--text);
  background:linear-gradient(#faf9fc,#ffffff,#faf9fc);
  font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,PingFang SC,sans-serif;
  line-height:1.6;
}

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

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

button,input {
  font:inherit;
}

.site-shell {
  width:min(1180px,100% - 32px);
  margin:0 auto;
}

.site-header {
  position:sticky;
  top:0;
  z-index:50;
  color:var(--white);
  background:linear-gradient(90deg,var(--teal-900),var(--slate-800));
  box-shadow:#0b041038 0 16px 32px;
}

.nav-shell {
  min-height:68px;
  display:flex;
  align-items:center;
  gap:24px;
}

.brand {
  display:flex;
  align-items:center;
  gap:10px;
  flex:0 0 auto;
}

.brand-mark,.footer-brand span {
  width:34px;
  height:34px;
  display:inline-grid;
  place-items:center;
  color:var(--slate-900);
  background:var(--amber-500);
  border-radius:999px;
  box-shadow:#00cdce24 0 0 0 6px;
}

.brand-copy {
  display:grid;
  line-height:1.1;
}

.brand-copy strong {
  font-size:1.2rem;
  letter-spacing:.08em;
}

.brand-copy small {
  color:#dec0ff;
  font-size:.72rem;
}

.nav-links {
  display:flex;
  align-items:center;
  gap:18px;
  margin-left:auto;
}

.nav-link {
  font-weight:700;
  color:#ffffffdb;
  transition:color .2s;
}

.nav-link:hover,.nav-link.active {
  color:#dec0ff;
}

.nav-search,.mobile-search,.large-search {
  display:flex;
  align-items:center;
  gap:8px;
}

.nav-search input,.mobile-search input,.large-search input {
  width:230px;
  border:1px solid rgba(255,255,255,.22);
  color:var(--white);
  background:#ffffff1a;
  border-radius:12px;
  padding:10px 14px;
  outline:none;
  transition:background .2s,border-color .2s,box-shadow .2s;
}

.nav-search input::-moz-placeholder,.mobile-search input::-moz-placeholder,.large-search input::-moz-placeholder {
  color:#ffffffb3;
}

.nav-search input::placeholder,.mobile-search input::placeholder,.large-search input::placeholder {
  color:#ffffffb3;
}

.nav-search input:focus,.mobile-search input:focus,.large-search input:focus {
  background:#ffffff2e;
  border-color:#dec0ff;
  box-shadow:#b48adb2e 0 0 0 4px;
}

.nav-search button,.mobile-search button,.large-search button {
  border:0px;
  color:var(--white);
  background:var(--teal-600);
  border-radius:12px;
  padding:10px 16px;
  cursor:pointer;
  transition:transform .2s,background .2s;
}

.nav-search button:hover,.mobile-search button:hover,.large-search button:hover,.primary-button:hover {
  background:var(--teal-700);
  transform:translateY(-1px);
}

.menu-button {
  display:none;
  margin-left:auto;
  border:0px;
  color:var(--white);
  background:#ffffff1f;
  border-radius:10px;
  padding:8px 10px;
}

.mobile-panel {
  display:none;
  border-top:1px solid rgba(255,255,255,.12);
  background:var(--slate-800);
  padding:16px;
}

.mobile-panel.is-open {
  display:grid;
  gap:12px;
}

.mobile-link {
  padding:8px 0;
  color:#ffffffe6;
}

.hero {
  position:relative;
  height:600px;
  overflow:hidden;
  background:linear-gradient(90deg,var(--slate-900),var(--slate-800));
}

.hero-slide {
  position:absolute;
  inset:0;
  display:grid;
  opacity:0;
  pointer-events:none;
  transition:opacity .65s;
}

.hero-slide.is-active {
  opacity:1;
  pointer-events:auto;
}

.hero-backdrop {
  position:absolute;
  inset:-24px;
  background-image:var(--hero-image);
  background-size:cover;
  background-position:center center;
  filter:blur(8px);
  transform:scale(1.08);
}

.hero-overlay {
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,#000000d1,#0000009e,#0000000f);
}

.hero-inner {
  position:relative;
  height:100%;
  display:flex;
  align-items:center;
}

.hero-copy {
  width:min(720px,100%);
  color:var(--white);
}

.hero-pill,.detail-kicker {
  display:inline-flex;
  align-items:center;
  width:-moz-fit-content;
  width:fit-content;
  color:var(--white);
  background:var(--amber-500);
  border-radius:999px;
  padding:7px 14px;
  font-size:.86rem;
  font-weight:800;
}

.hero h1,.hero h2 {
  margin:18px 0 14px;
  font-size:clamp(2.4rem,6vw,4.7rem);
  line-height:1.05;
  letter-spacing:-.04em;
}

.hero p {
  margin:0;
  color:#eae5ee;
  font-size:clamp(1rem,2vw,1.3rem);
  max-width:720px;
}

.hero-meta {
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin:24px 0 32px;
  color:#d8d1de;
}

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

.primary-button,.ghost-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  font-weight:800;
  transition:transform .2s,background .2s,color .2s,border-color .2s;
}

.primary-button {
  color:var(--white);
  background:var(--teal-600);
  padding:13px 24px;
  box-shadow:#936eaf47 0 14px 28px;
}

.ghost-button {
  color:var(--white);
  border:1px solid rgba(255,255,255,.35);
  background:#ffffff1f;
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
  padding:12px 20px;
}

.ghost-button:hover {
  background:#ffffff38;
  transform:translateY(-1px);
}

.main-stack,.page-main,.detail-main {
  padding:56px 0;
}

.intro-panel,.page-hero,.detail-card,.player-card,.side-panel {
  background:var(--white);
  border-radius:22px;
  box-shadow:var(--shadow);
}

.intro-panel {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:28px;
  margin-bottom:56px;
}

.intro-panel p,.section-heading p,.page-hero p {
  margin:0 0 6px;
  color:var(--teal-700);
  font-weight:800;
}

.intro-panel h2,.section-heading h2,.page-hero h1 {
  margin:0;
  color:var(--text);
  line-height:1.2;
}

.large-search input {
  width:min(380px,56vw);
  color:var(--text);
  border-color:#d7d3db;
  background:#faf9fc;
}

.large-search input::-moz-placeholder {
  color:#b79a98;
}

.large-search input::placeholder {
  color:#b79a98;
}

.content-section {
  margin-bottom:60px;
}

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

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

.section-heading a {
  color:var(--teal-700);
  font-weight:800;
}

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

.movie-card {
  display:block;
  overflow:hidden;
  color:var(--text);
  background:var(--white);
  border-radius:18px;
  box-shadow:#1c142317 0 12px 24px;
  transition:transform .25s,box-shadow .25s;
}

.movie-card:hover {
  transform:translateY(-5px);
  box-shadow:#1c142329 0 28px 52px;
}

.movie-card figure {
  position:relative;
  height:250px;
  margin:0;
  overflow:hidden;
  background:linear-gradient(135deg,var(--slate-800),var(--teal-900));
}

.movie-card img {
  width:100%;
  height:100%;
  -o-object-fit:cover;
  object-fit:cover;
  transition:transform .35s;
}

.movie-card:hover img {
  transform:scale(1.06);
}

.movie-card:hover h3 {
  color:var(--teal-700);
}

.tag-row {
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin:10px 0;
}

.tag-row span {
  color:var(--slate-700);
  background:var(--slate-100);
  border-radius:999px;
  padding:4px 9px;
  font-size:.78rem;
}

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

.category-tile {
  position:relative;
  min-height:180px;
  display:flex;
  flex-direction:column;
  justify-content:end;
  overflow:hidden;
  color:var(--white);
  background-image:linear-gradient(180deg,#1c142314,#1c1423d1),var(--tile-image);
  background-size:cover;
  background-position:center center;
  border-radius:22px;
  padding:22px;
  box-shadow:var(--shadow);
  transition:transform .25s;
}

.category-tile:hover {
  transform:translateY(-4px);
}

.category-tile span {
  font-size:1.7rem;
  font-weight:900;
}

.category-tile strong {
  color:#d8d1de;
  font-size:.94rem;
}

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

.rank-item {
  display:grid;
  grid-template-columns:54px 78px minmax(0px,1fr);
  align-items:center;
  gap:14px;
  color:var(--text);
  background:var(--white);
  border-radius:16px;
  padding:12px;
  box-shadow:#1c142314 0 8px 20px;
  transition:transform .22s,box-shadow .22s;
}

.rank-item:hover {
  transform:translateY(-3px);
  box-shadow:#1c142324 0 20px 36px;
}

.rank-item img {
  width:78px;
  height:92px;
  -o-object-fit:cover;
  object-fit:cover;
  border-radius:12px;
}

.site-footer {
  color:#d8d1de;
  background:linear-gradient(180deg,var(--slate-900),var(--slate-950));
  margin-top:40px;
}

.footer-grid {
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr;
  gap:40px;
  padding:46px 0;
}

.footer-brand {
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--white);
  margin-bottom:12px;
  font-size:1.2rem;
}

.site-footer h2 {
  margin:0 0 14px;
  color:var(--white);
  font-size:1.05rem;
}

.site-footer p {
  margin:0;
}

.site-footer ul {
  margin:0;
  padding:0;
  list-style:none;
}

.site-footer li+li {
  margin-top:8px;
}

.site-footer a:hover {
  color:#dec0ff;
}

.footer-bottom {
  border-top:1px solid rgba(183,154,152,.16);
  padding:20px;
  text-align:center;
  font-size:.9rem;
}

.page-main {
  min-height:60vh;
}

.page-hero {
  margin-bottom:36px;
  padding:36px;
  background:linear-gradient(135deg,var(--white),#fcf8ff);
}

.slim-hero {
  background:linear-gradient(135deg,var(--slate-900),var(--teal-900));
  color:var(--white);
}

.slim-hero h1,.slim-hero span {
  color:var(--white);
}

.page-hero h1 {
  font-size:clamp(2rem,4vw,3.2rem);
  margin-bottom:12px;
}

.page-hero span {
  display:block;
  max-width:820px;
  color:#674c4b;
}

.detail-main {
  min-height:70vh;
}

.breadcrumb {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  margin-bottom:22px;
  color:var(--muted);
  font-size:.92rem;
}

.breadcrumb a {
  color:var(--teal-700);
  font-weight:800;
}

.player-card {
  overflow:hidden;
  margin-bottom:24px;
  background:var(--slate-950);
}

.video-shell {
  position:relative;
  aspect-ratio:16 / 9;
  background:var(--slate-950);
}

.movie-video {
  width:100%;
  height:100%;
  display:block;
  background:var(--slate-950);
}

.play-overlay {
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  border:0px;
  color:var(--white);
  background:radial-gradient(circle,#1c142326,#1c14238a);
  cursor:pointer;
  transition:opacity .2s;
}

.play-overlay span {
  width:86px;
  height:86px;
  display:grid;
  place-items:center;
  color:var(--white);
  background:#936eafeb;
  border-radius:999px;
  font-size:2rem;
  box-shadow:#936eaf52 0 20px 40px;
}

.detail-card {
  padding:30px;
}

.detail-card h1 {
  margin:16px 0 12px;
  font-size:clamp(2rem,4vw,3rem);
  line-height:1.16;
}

.detail-card section+section {
  margin-top:30px;
}

.detail-card h2,.side-panel h2 {
  margin:0 0 14px;
}

.detail-card p {
  color:#533837;
  font-size:1rem;
}

.lead-text {
  color:var(--teal-700)!important;
  font-weight:800;
}

.side-panel {
  padding:18px;
}

@media (max-width: 1040px) {
  .nav-links,.nav-search {
    display:none;
  }
  .menu-button {
    display:inline-flex;
  }
  .card-grid,.category-grid {
    grid-template-columns:repeat(3,minmax(0px,1fr));
  }
}

@media (max-width: 760px) {
  .site-shell {
    width:min(100% - 24px,1180px);
  }
  .brand-copy small {
    display:none;
  }
  .hero {
    height:560px;
  }
  .hero-overlay {
    background:linear-gradient(#000000b8,#000000d1);
  }
  .hero-inner {
    align-items:end;
    padding-bottom:88px;
  }
  .hero-actions,.intro-panel,.section-heading {
    align-items:stretch;
    flex-direction:column;
  }
  .intro-panel,.page-hero,.detail-card {
    padding:22px;
  }
  .large-search {
    width:100%;
    align-items:stretch;
    flex-direction:column;
  }
  .large-search input {
    width:100%;
  }
  .card-grid,.category-grid,.rank-list,.footer-grid {
    grid-template-columns:1fr;
  }
  .movie-card figure {
    height:220px;
  }
  .rank-item {
    grid-template-columns:44px 68px minmax(0px,1fr);
  }
  .rank-item img {
    width:68px;
    height:82px;
  }
  .mobile-search {
    align-items:stretch;
    flex-direction:column;
  }
  .mobile-search input {
    width:100%;
  }
}

.mirror-raw {
  display:contents;
}

button[aria-label="回到顶部"] {
  display:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
}

h1,h2,h3,.hero h1,.hero h2,.page-hero h1,.brand,.logo {
  letter-spacing:normal!important;
  line-height:1.25;
}

header,.site-header,.navbar,.tpl-header,.play-grid,.player-box,.movie-grid,.category-grid {
  min-width:0;
  max-width:100%;
  box-sizing:border-box;
}

.site-header,.navbar {
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}

.player-box {
  position:relative;
  width:100%;
  overflow:hidden;
}

.player-box video {
  width:100%!important;
  max-width:100%!important;
  height:auto;
}

img,video {
  max-width:100%;
}

.movie-card:hover,.movie-card:hover img,.hero-poster:hover img {
  transform:none;
}

.pkg-menu-btn {
  display:none;
  margin-left:auto;
  width:42px;
  height:42px;
  border:0;
  border-radius:12px;
  background:transparent;
  color:inherit;
  font-size:22px;
  line-height:1;
  flex:0 0 auto;
}

@media (max-width:1023px) {
  header .main-nav,header .nav-links,.tpl-header .tpl-links {
    display:none!important;
  }
  header .main-nav.is-open,header .nav-links.is-open,.tpl-header .tpl-links.is-open,header .mobile-panel.is-open,header .mobile-nav.is-open,header .mobile-menu.is-open,header ul.is-open {
    display:flex!important;
    flex-direction:column;
    align-items:stretch;
    height:auto!important;
    max-height:none!important;
    visibility:visible;
    position:relative;
    z-index:80;
    width:100%;
    gap:8px;
    padding:8px 16px 12px;
    overflow:visible;
  }
  header .mobile-menu-button,header .menu-toggle,header .mobile-toggle,header .menu-button,header .nav-toggle,.navbar-toggler,[data-nav-button],.pkg-menu-btn {
    display:inline-flex!important;
    align-items:center;
    justify-content:center;
  }
  header .nav-search {
    flex:1 1 100%;
    min-width:0;
    max-width:100%;
  }
  header .nav-search input {
    width:100%;
    min-width:0;
    max-width:100%;
    box-sizing:border-box;
  }
  .search-panel {
    grid-template-columns:1fr!important;
  }
}

@media (max-width:640px) {
  .movie-grid,.category-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media (min-width:1024px) {
  header .mobile-menu-button,header .menu-toggle,header .mobile-toggle,header .menu-button,header .nav-toggle,.navbar-toggler,[data-nav-button],.pkg-menu-btn {
    display:none!important;
  }
  header .mobile-panel,header .mobile-nav,header .mobile-menu {
    display:none!important;
  }
}

@supports not (aspect-ratio:16/9) {
  .player-box {
    height:0;
    padding-top:56.25%;
    aspect-ratio:auto;
  }
  .player-box video {
    position:absolute;
    inset:0;
    height:100%!important;
  }
}

@media (max-width:1023px) {
  header .header-inner,header .nav-shell,header .site-header__inner,header .site-header-inner,header .nav-wrap,header .topbar-inner,header .container,header .tpl-nav,.navbar .container {
    display:flex!important;
    flex-wrap:wrap;
    align-items:center;
    min-height:0!important;
    height:auto!important;
    row-gap:8px   ;
  }
  header .brand,header .site-logo,header .logo,header .tpl-brand,.navbar-brand {
    flex:1 1 auto;
    min-width:0;
    max-width:calc(100% - 56px);
  }
  .navbar-collapse {
    display:none!important;
  }
  .navbar-collapse.is-open {
    display:flex!important;
    flex-direction:column;
    width:100%;
    height:auto!important;
    position:relative;
    z-index:80;
  }
  .navbar-toggler {
    min-width:42px;
    min-height:42px;
  }
}

@media (max-width:1023px) {
  header .header-inner,header .nav-shell,header .site-header__inner,header .site-header-inner,header .nav-wrap,header .topbar-inner,header .tpl-nav,.navbar .container {
    column-gap:8px!important;
  }
  header .brand,header .site-logo,header .logo,header .tpl-brand,.navbar-brand {
    order:1;
    flex:1 1 0!important;
    max-width:none!important;
    min-width:0;
  }
  header .mobile-menu-button,header .menu-toggle,header .mobile-toggle,header .menu-button,header .nav-toggle,.navbar-toggler,.pkg-menu-btn {
    order:2;
    margin-left:auto;
    flex:0 0 auto;
  }
  header .header-search,header .nav-search {
    order:3;
    flex:1 0 100%!important;
  }
  header ul.is-open a,header .mobile-nav.is-open a,header .mobile-panel.is-open a,header .mobile-menu.is-open a,.nav-panel.is-open a,.navbar-collapse.is-open a {
    display:block;
    min-height:36px;
    line-height:36px;
  }
}

@media (max-width:1023px) {
  header ul.hidden.is-open {
    position:absolute!important;
    left:0;
    right:0;
    top:100%;
    width:auto!important;
    background:#141116;
    color:#f4eff8;
    z-index:90;
    padding:12px 16px!important;
  }
  header ul.hidden.is-open a {
    color:inherit;
  }
}

input,select,textarea {
  font-size:16px;
}

.nav-shell {
  gap:20px;
  min-width:0;
}

.brand {
  min-width:0;
}

.brand-copy strong {
  white-space:nowrap;
}

.nav-links {
  gap:4px;
}

.nav-link {
  padding:8px 12px;
  border-radius:10px;
  white-space:nowrap;
}

.nav-link[aria-current="page"] {
  color:#dec0ff;
  background:rgba(255,255,255,.1);
}

.nav-search {
  flex:0 0 256px;
  width:256px;
}

.nav-search input {
  flex:1 1 auto;
  width:auto;
  min-width:0;
  font-size:14px;
}

.nav-search button {
  flex:0 0 auto;
  white-space:nowrap;
}

@media (min-width:1024px) {
  header .nav-links {
    display:flex!important;
  }
  header .nav-search {
    display:flex!important;
  }
  header .menu-button,header .mobile-panel {
    display:none!important;
  }
}

@media (max-width:1023px) {
  header .nav-links,header .nav-search {
    display:none!important;
  }
  header .menu-button {
    display:inline-flex!important;
    margin-left:auto;
  }
  header .mobile-panel.is-open {
    display:grid!important;
    gap:6px;
    padding:12px 16px 16px;
  }
  .mobile-search input {
    flex:1 1 auto;
    width:auto;
    min-width:0;
  }
}

.hero {
  height:auto;
  min-height:0;
}

.hero-slide {
  position:relative;
  inset:auto;
  opacity:1;
  pointer-events:auto;
}

.hero-inner {
  height:auto;
  display:grid;
  grid-template-columns:minmax(0,1fr) 280px;
  align-items:center;
  gap:40px;
  padding:64px 0;
}

.hero-copy {
  width:auto;
  min-width:0;
}

.hero h1 {
  font-size:clamp(30px,4.6vw,56px)!important;
  line-height:1.15!important;
  letter-spacing:normal!important;
}

.hero p {
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
}

.hero-meta span {
  padding:5px 11px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
}

.hero-poster {
  position:relative;
  display:block;
  overflow:hidden;
  aspect-ratio:2/3;
  border:1px solid rgba(255,255,255,.25);
  border-radius:22px;
  box-shadow:0 24px 60px rgba(0,0,0,.35);
}

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

.section-heading {
  flex-wrap:wrap;
}

.section-heading>div {
  min-width:0;
}

.section-heading a {
  white-space:nowrap;
}

.category-tile {
  min-height:160px;
}

.category-tile span {
  font-size:1.4rem;
}

.card-grid {
  grid-template-columns:repeat(5,minmax(0,1fr));
  column-gap:18px;
  row-gap:26px;
}

.movie-card,.movie-card:hover {
  display:flex;
  flex-direction:column;
  min-width:0;
  overflow:visible;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  transform:none;
}

.movie-card .poster-link {
  position:relative;
  display:block;
  aspect-ratio:2/3;
  overflow:hidden;
  border:1px solid #eae5ee;
  border-radius:16px;
  background:#1c1423;
  box-shadow:0 12px 26px rgba(28,20,35,.14);
  transition:border-color .2s,box-shadow .2s;
}

.movie-card .poster-link img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transform:none;
  transition:filter .25s;
}

.movie-card .poster-link:after {
  content:"";
  position:absolute;
  left:50%;
  top:42%;
  width:46px;
  height:46px;
  margin:-23px 0 0 -23px;
  border-radius:50%;
  background:rgba(147,110,175,.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23ffffff'/%3E%3C/svg%3E") 55% 50%/22px no-repeat;
  box-shadow:0 10px 26px rgba(147,110,175,.4);
  opacity:0;
  transition:opacity .2s;
}

.movie-card:hover .poster-link {
  border-color:#b48adb;
  box-shadow:0 18px 40px rgba(147,110,175,.22);
}

.movie-card:hover .poster-link img {
  filter:brightness(1.06);
  transform:none;
}

.movie-card:hover .poster-link:after {
  opacity:1;
}

.poster-badge {
  position:absolute;
  right:10px;
  top:10px;
  z-index:2;
  padding:3px 8px;
  border-radius:6px;
  color:#ffffff;
  background:#00a74e;
  font-size:12px;
  font-weight:800;
  line-height:1.4;
}

.poster-rank {
  position:absolute;
  left:10px;
  top:10px;
  z-index:2;
  padding:3px 8px;
  border-radius:6px;
  color:#ffffff;
  background:rgba(118,88,138,.92);
  font-size:12px;
  font-weight:800;
  line-height:1.4;
}

.poster-rank:empty {
  display:none;
}

.poster-shade {
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  z-index:1;
  padding:42px 12px 11px;
  background:linear-gradient(180deg,rgba(28,20,35,0),rgba(28,20,35,.78) 45%,rgba(28,20,35,.95));
}

.poster-title {
  margin:0;
  color:#ffffff;
  font-size:16px;
  font-weight:800;
  line-height:1.35;
  letter-spacing:normal;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.poster-meta {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-top:5px;
  color:#eae5ee;
  font-size:12px;
  line-height:1.4;
}

.poster-meta span {
  min-width:0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.poster-views:before {
  content:"";
  display:inline-block;
  margin-right:5px;
  border-style:solid;
  border-width:4px 0 4px 7px;
  border-color:transparent transparent transparent #dec0ff;
  vertical-align:1px;
}

.poster-dur {
  flex:0 0 auto;
  padding:1px 6px;
  border-radius:5px;
  background:rgba(28,20,35,.75);
}

.movie-card .card-tags {
  display:flex;
  gap:6px;
  margin:10px 0 0;
}

.movie-card .card-tags span {
  display:block;
  flex:1 1 0;
  min-width:0;
  padding:5px 4px;
  border-radius:8px;
  color:#533837;
  background:#f7f2fb;
  font-size:12px;
  line-height:1.3;
  text-align:center;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.page-hero span:empty {
  display:none;
}

.play-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) 340px;
  gap:24px;
  align-items:start;
  min-width:0;
  max-width:100%;
}

.play-main,.play-side,.player-box {
  min-width:0;
  max-width:100%;
}

.play-page .player-card {
  margin-bottom:20px;
}

.play-page .video-shell {
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  overflow:hidden;
}

.play-page .video-shell video {
  position:absolute!important;
  inset:0;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  object-fit:contain;
  background:#0b0410;
}

.player-status {
  padding:10px 16px;
  color:#d8d1de;
  background:#1c1423;
  font-size:14px;
}

.play-page .detail-card h1 {
  font-size:clamp(26px,3vw,38px);
  line-height:1.2;
  letter-spacing:normal;
}

.play-page .lead-text {
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
}

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

.play-meta div {
  padding:12px 14px;
  border-radius:14px;
  background:#faf9fc;
  border:1px solid #eae5ee;
  min-width:0;
}

.play-meta span {
  display:block;
  color:#896a68;
  font-size:12px;
}

.play-meta strong {
  display:block;
  margin-top:4px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.play-credits {
  display:grid;
  gap:8px;
  margin:0;
}

.play-credits div {
  display:grid;
  grid-template-columns:3em minmax(0,1fr);
  gap:10px;
}

.play-credits dt {
  color:#896a68;
}

.play-credits dd {
  margin:0;
  font-weight:700;
  color:#1c1423;
}

.play-side .related-list {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px 12px;
}

.play-side .poster-title {
  font-size:14px;
}

.play-side .poster-rank,.play-side .card-tags,.play-side .poster-views {
  display:none;
}

.auth-page {
  display:flex;
  justify-content:center;
  padding:56px 16px;
}

.auth-form {
  width:min(420px,100%);
  display:grid;
  gap:14px;
  padding:28px;
  border-radius:22px;
  background:#ffffff;
  box-shadow:0 20px 45px rgba(28,20,35,.12);
}

.auth-form h1 {
  margin:0;
  font-size:26px;
  letter-spacing:normal;
}

.auth-form p {
  margin:0;
  color:#896a68;
}

.auth-form__field {
  display:grid;
  gap:6px;
  color:#533837;
  font-weight:700;
}

.auth-form input {
  width:100%;
  min-height:46px;
  padding:0 14px;
  border:1px solid #d8d1de;
  border-radius:12px;
  color:#1c1423;
  background:#ffffff;
}

.auth-form button,.auth-form__submit {
  width:100%;
  min-height:46px;
  border:0;
  border-radius:12px;
  color:#ffffff;
  background:#936eaf;
  font-weight:800;
  cursor:pointer;
}

.auth-form a {
  color:#76588a;
  font-weight:700;
}

.auth-err {
  color:#00793d!important;
}

.page-shell {
  width:min(1180px,calc(100% - 32px));
  margin:0 auto;
  padding:40px 0 56px;
}

.search-panel {
  display:flex;
  gap:10px;
  margin:0 0 28px;
}

.search-input {
  flex:1 1 auto;
  min-width:0;
  min-height:46px;
  padding:0 16px;
  border:1px solid #d8d1de;
  border-radius:12px;
  background:#ffffff;
}

.primary-btn,.ghost-btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 20px;
  border-radius:12px;
  font-weight:800;
  color:#ffffff;
  background:#936eaf;
  border:0;
  cursor:pointer;
}

.ghost-btn {
  color:#76588a;
  background:#ffffff;
  border:1px solid #ead9ff;
}

.movie-cover {
  position:relative;
  display:block;
  overflow:hidden;
  aspect-ratio:2/3;
  border-radius:16px;
  background:#1c1423;
}

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

.movie-badge {
  position:absolute;
  left:10px;
  top:10px;
  padding:3px 8px;
  border-radius:6px;
  color:#ffffff;
  background:#936eaf;
  font-size:12px;
  font-weight:800;
}

.movie-info {
  display:flex;
  flex-direction:column;
  gap:6px;
  padding:10px 2px 0;
  min-width:0;
}

.movie-title {
  margin:0;
  font-size:16px;
  line-height:1.35;
  letter-spacing:normal;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.movie-line {
  margin:0;
  color:#896a68;
  font-size:14px;
  line-height:1.55;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
}

.movie-info .card-meta {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}

.movie-info .card-meta span {
  padding:3px 8px;
  border-radius:8px;
  background:#f7f2fb;
  color:#533837;
  font-size:12px;
}

.card-link {
  color:#76588a;
  font-weight:800;
}

.section-block {
  margin:0 0 32px;
}

.content-card,.about-copy {
  padding:24px;
  border-radius:22px;
  background:#ffffff;
  box-shadow:0 20px 45px rgba(28,20,35,.08);
  line-height:1.85;
}

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

@media (min-width:1280px) {
  .card-grid {
    grid-template-columns:repeat(6,minmax(0,1fr));
  }
}

@media (min-width:1024px) {
  .category-grid--five {
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
  }
}

@media (max-width:1023px) {
  .card-grid {
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  .category-grid {
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  .hero-inner {
    grid-template-columns:minmax(0,1fr) 220px;
    gap:28px;
    padding:48px 0;
  }
  .play-grid {
    grid-template-columns:1fr;
  }
  .play-side .related-list {
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}

@media (max-width:760px) {
  .hero {
    height:auto;
  }
  .hero-inner {
    grid-template-columns:1fr;
    align-items:center;
    padding:40px 0 36px;
  }
  .hero-poster {
    display:none;
  }
  .hero-actions {
    flex-direction:row;
  }
  .hero-actions a {
    flex:1 1 0;
    min-width:0;
  }
  .card-grid,.category-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    column-gap:12px;
    row-gap:20px;
  }
  .category-tile {
    min-height:130px;
    padding:16px;
  }
  .category-tile span {
    font-size:1.2rem;
  }
  .poster-shade {
    padding:34px 10px 9px;
  }
  .poster-title {
    font-size:14px;
  }
  .poster-meta {
    font-size:11px;
  }
  .movie-card .card-tags {
    gap:4px;
    margin-top:8px;
  }
  .movie-card .card-tags span {
    padding:4px 2px;
    font-size:11px;
  }
  .play-meta {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .play-side .related-list {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .search-panel {
    flex-direction:column;
  }
}

.page-hero.slim-hero p {
  color:#dec0ff;
}

.page-hero.slim-hero span {
  color:#d8d1de;
}

@media (max-width:760px) {
  .section-heading {
    flex-direction:row!important;
    align-items:flex-end!important;
    margin-bottom:16px;
  }
  .section-heading h2 {
    font-size:1.45rem;
  }
  .page-hero h1 {
    font-size:1.75rem;
  }
}

.intro-panel h1 {
  margin:0;
  color:var(--text);
  font-size:clamp(1.5rem,2.6vw,2.1rem);
  line-height:1.25;
  letter-spacing:normal;
}

.hero .hero-title {
  margin:18px 0 14px;
  color:#ffffff;
  font-size:clamp(30px,4.6vw,56px);
  line-height:1.15;
  letter-spacing:normal;
}

html {
  -webkit-tap-highlight-color:transparent;
}

body {
  padding-left:env(safe-area-inset-left);
  padding-right:env(safe-area-inset-right);
}

button,a,input,select,textarea {
  touch-action:manipulation;
}

input[type="search"] {
  -webkit-appearance:none;
  -moz-appearance:none;
  appearance:none;
}

input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance:none;
}

.site-header {
  padding-top:env(safe-area-inset-top);
}

.movie-card .poster-link img,.movie-cover img,.play-page .video-shell video,.play-overlay,.hero-overlay {
  top:0;
  right:0;
  bottom:0;
  left:0;
}

.hero-backdrop {
  top:-24px;
  right:-24px;
  bottom:-24px;
  left:-24px;
}

a:focus-visible,button:focus-visible,input:focus-visible {
  outline:2px solid #b48adb;
  outline-offset:2px;
}

@supports not (aspect-ratio:1/1) {
  .movie-card .poster-link,.movie-cover,.hero-poster {
    height:0;
    padding-top:150%;
  }
  .play-page .video-shell {
    height:0;
    padding-top:56.25%;
  }
}

@media (prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    transition:none!important;
    animation:none!important;
    scroll-behavior:auto!important;
  }
}

@media print {
  .site-header,.site-footer,.play-overlay {
    display:none!important;
  }
}

.breadcrumb [aria-hidden="true"] {
  margin:0 6px;
  color:#b79a98;
}

.breadcrumb [aria-current="page"] {
  color:#674c4b;
}

.page-shell .page-hero {
  margin-bottom:24px;
  box-shadow:0 10px 30px rgba(28,20,35,.06);
  border:1px solid #eae5ee;
}

.page-shell .page-hero h1 {
  letter-spacing:normal;
}

.page-shell .page-hero p {
  margin:0;
}

.search-panel {
  max-width:760px;
}

.search-input {
  font-size:16px;
  color:#1c1423;
}

.search-input:focus {
  outline:none;
  border-color:#b48adb;
  box-shadow:0 0 0 4px rgba(180,138,219,.15);
}

.search-hot {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  margin:0 0 36px;
}

.search-hot span {
  margin-right:4px;
  color:#896a68;
  font-weight:700;
}

.search-hot a {
  padding:7px 14px;
  border:1px solid #ead9ff;
  border-radius:999px;
  color:#76588a;
  background:#ffffff;
  font-size:14px;
  font-weight:700;
  transition:background .2s,color .2s;
}

.search-hot a:hover {
  color:#ffffff;
  background:#936eaf;
}

.page-shell p[role="status"] {
  margin:0 0 24px;
  padding:14px 16px;
  border-radius:14px;
  color:#006c49;
  background:#fbf6ff;
}

.content-card {
  padding:28px 32px;
}

.content-card .about-copy {
  padding:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}

.about-copy h2 {
  margin:28px 0 8px;
  font-size:20px;
  line-height:1.35;
  letter-spacing:normal;
  color:#1c1423;
}

.about-copy h2:first-child {
  margin-top:0;
}

.about-copy p {
  margin:0;
  color:#674c4b;
}

.about-copy .stack-actions-row {
  margin:24px 0 8px;
}

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

.detail-info-grid div {
  min-width:0;
  padding:14px 16px;
  border:1px solid #eae5ee;
  border-radius:14px;
  background:#faf9fc;
}

.detail-info-grid span {
  display:block;
  color:#896a68;
  font-size:12px;
}

.detail-info-grid strong {
  display:block;
  margin-top:4px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#1c1423;
}

.about-copy .filter-row {
  gap:10px;
  margin-top:4px;
}

.about-copy .filter-row a {
  padding:7px 14px;
  border:1px solid #ead9ff;
  border-radius:999px;
  color:#76588a;
  background:#fcf8ff;
  font-size:14px;
  font-weight:700;
}

.about-copy .filter-row a:hover {
  color:#ffffff;
  background:#936eaf;
}

@media (max-width:760px) {
  .page-shell {
    width:calc(100% - 24px);
    padding-top:24px;
  }
  .page-shell .page-hero {
    padding:22px;
  }
  .content-card {
    padding:20px;
  }
  .detail-info-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .search-panel {
    flex-direction:row;
  }
  .search-panel .primary-btn {
    flex:0 0 auto;
  }
}
