:root {
  --bg:#0d0500;
  --surface:#201606;
  --surface2:#211607;
  --ink:#fbf9f7;
  --muted:#a7a28a;
  --line:rgba(167,162,138,.18);
  --accent:#e2a138;
  --accent2:#7b7300;
  --on:#ffffff;
  --soft:rgba(226,161,56,.18);
  --r:22px;
  --maxw:1280px;
  color-scheme:dark;
}

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

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

body {
  margin:0;
  min-width:320px;
  background:var(--bg);
  color:var(--ink);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans CJK SC",sans-serif;
  font-size:15px;
  line-height:1.6;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}

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

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

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

h1,h2,h3,h4,p,dl,dd,figure {
  margin:0;
}

h1,h2,h3,h4 {
  line-height:1.3;
  letter-spacing:normal;
  font-weight:800;
}

:focus-visible {
  outline:2px solid var(--accent);
  outline-offset:2px;
}

.mirror-raw {
  display:contents;
}

.app-shell {
  display:flex;
  flex-direction:column;
  min-height:100vh;
}

.app-shell main {
  flex:1 0 auto;
  width:100%;
}

.wrap {
  width:100%;
  max-width:var(--maxw);
  margin-left:auto;
  margin-right:auto;
  padding-left:24px;
  padding-right:24px;
}

.is-filter-hide {
  display:none!important;
}

.main-nav {
  display:flex;
  align-items:center;
  gap:4px;
  min-width:0;
}

.main-nav a {
  white-space:nowrap;
}

.hd-tools {
  display:flex;
  align-items:center;
  flex:none;
  margin-left:auto;
}

.hd-search {
  position:relative;
  flex:0 0 256px;
  width:256px;
  height:38px;
  margin:0;
}

.hd-search input {
  width:100%;
  height:38px;
  padding:0 40px 0 16px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--surface2);
  color:var(--ink);
  font-size:14px;
  outline:none;
  -webkit-appearance:none;
  appearance:none;
}

.hd-search button {
  position:absolute;
  top:4px;
  right:4px;
  width:30px;
  height:30px;
  padding:0;
  border:0;
  border-radius:999px;
  background:transparent;
  color:var(--muted);
  font-size:16px;
}

.hd-auth {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:38px;
  padding:0 16px;
  border:1px solid var(--line);
  border-radius:999px;
  font-size:14px;
  font-weight:700;
  white-space:nowrap;
}

.hd-search+.hd-auth {
  margin-left:20px;
}

.hd-auth+.hd-auth {
  margin-left:12px;
}

.hd-reg {
  background:var(--accent);
  border-color:var(--accent);
  color:var(--on);
}

.hd-menu {
  display:none;
  flex:none;
  width:42px;
  height:40px;
  margin-left:auto;
  padding:0;
  border:1px solid var(--line);
  border-radius:10px;
  background:transparent;
  color:inherit;
  font-size:20px;
  line-height:1;
}

.mobile-panel {
  display:none;
}

@media (max-width:1023px) {
  .main-nav,.hd-tools {
    display:none!important;
  }
  .hd-menu {
    display:grid;
    place-items:center;
  }
  .mobile-panel.is-open {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
    max-height:calc(100vh - 58px);
    overflow-y:auto;
    padding:12px 16px 16px;
    border-top:1px solid var(--line);
    background:var(--surface);
    color:var(--ink);
  }
}

.mobile-panel a {
  display:block;
  padding:10px 12px;
  border-radius:10px;
  background:var(--surface2);
  font-size:14px;
  text-align:center;
}

.mobile-panel a[aria-current=page],.mobile-panel .m-reg {
  background:var(--accent);
  color:var(--on);
}

.m-search {
  display:flex;
  grid-column:1/-1;
  gap:8px;
  margin:0 0 4px;
}

.m-search input {
  flex:1 1 auto;
  min-width:0;
  height:42px;
  padding:0 14px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--surface2);
  color:var(--ink);
  font-size:16px;
  -webkit-appearance:none;
  appearance:none;
}

.m-search button {
  flex:none;
  height:42px;
  padding:0 18px;
  border:0;
  border-radius:999px;
  background:var(--accent);
  color:var(--on);
  font-weight:700;
}

.sec {
  margin-top:36px;
}

.movie-card {
  position:relative;
  min-width:0;
}

.v2-pick {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.v2-pick button {
  height:34px;
  padding:0 15px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--surface);
  color:var(--ink);
  font-size:14px;
  line-height:1;
  -webkit-appearance:none;
  appearance:none;
}

.v2-pick button.on {
  background:var(--accent);
  border-color:var(--accent);
  color:var(--on);
  font-weight:700;
}

select[data-v2-chips] {
  display:none;
}

.player-stage {
  position:relative;
  width:100%;
  max-width:100%;
  aspect-ratio:16/9;
  overflow:hidden;
  background:#000000;
}

.player-stage video {
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  -o-object-fit:cover;
  object-fit:cover;
  background:#000000;
}

.player-overlay {
  position:absolute;
  top:50%;
  left:50%;
  z-index:2;
  display:grid;
  place-items:center;
  width:72px;
  height:72px;
  margin:-36px 0 0 -36px;
  padding:0;
  border:0;
  border-radius:999px;
  background:var(--accent);
  color:var(--on);
  font-size:26px;
  box-shadow:0 10px 30px rgba(0,0,0,.35);
}

.play-error {
  position:absolute;
  right:0;
  bottom:0;
  left:0;
  z-index:3;
  margin:0;
  padding:10px;
  background:rgba(0,0,0,.72);
  color:#ffffff;
  font-size:14px;
  text-align:center;
}

[data-v2-dots] {
  display:flex;
  gap:8px;
}

[data-v2-dots] button {
  width:9px;
  height:9px;
  padding:0;
  border:0;
  border-radius:999px;
  background:rgba(255,255,255,.45);
}

[data-v2-dots] button.is-active {
  width:26px;
  background:#ffffff;
}

[data-v2-rail] {
  display:grid;
  grid-auto-flow:column;
  gap:14px;
  overflow-x:auto;
  overscroll-behavior-x:contain;
  -ms-scroll-snap-type:x mandatory;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}

[data-v2-rail]::-webkit-scrollbar {
  display:none;
}

[data-v2-rail]>* {
  scroll-snap-align:start;
}

.page-shell {
  width:100%;
  max-width:var(--maxw);
  margin:0 auto;
  padding:20px 24px 0;
}

.breadcrumb {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px;
  color:var(--muted);
  font-size:13px;
}

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

.page-shell>.page-hero {
  margin:14px 0 18px;
}

.page-shell>.page-hero h1 {
  font-size:clamp(24px,3vw,34px);
}

.page-shell>.page-hero p {
  margin-top:6px;
  color:var(--muted);
}

.search-panel {
  display:flex;
  gap:10px;
  margin-bottom:22px;
}

.search-input {
  flex:1 1 auto;
  min-width:0;
  height:48px;
  padding:0 18px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--surface);
  color:var(--ink);
  font-size:16px;
  outline:none;
  -webkit-appearance:none;
  appearance:none;
}

.search-input:focus {
  border-color:var(--accent);
}

.primary-btn,.ghost-btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:46px;
  padding:0 24px;
  border-radius:999px;
  font-weight:800;
  white-space:nowrap;
}

.primary-btn {
  border:0;
  background:var(--accent);
  color:var(--on);
}

.ghost-btn {
  border:1px solid var(--line);
  background:transparent;
  color:var(--ink);
}

.section-block {
  margin-bottom:24px;
}

.section-block>p {
  color:var(--muted);
}

.section-block>p a {
  color:var(--accent);
  font-weight:700;
}

.content-card {
  padding:clamp(18px,3vw,32px);
  border:1px solid var(--line);
  border-radius:var(--r);
  background:var(--surface);
}

.about-copy h2 {
  margin:26px 0 8px;
  font-size:20px;
}

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

.about-copy p {
  color:var(--muted);
  line-height:1.85;
}

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

.detail-info-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
  gap:10px;
  margin-top:8px;
}

.detail-info-grid>div {
  display:flex;
  gap:10px;
  padding:12px 14px;
  border-radius:10px;
  background:var(--surface2);
}

.detail-info-grid>div>span {
  flex:none;
  color:var(--muted);
}

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

.filter-row a {
  display:inline-flex;
  align-items:center;
  height:36px;
  padding:0 16px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--surface2);
}

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

.auth-form {
  display:grid;
  gap:14px;
  width:100%;
  max-width:400px;
  padding:30px;
  border:1px solid var(--line);
  border-radius:var(--r);
  background:var(--surface);
}

.auth-form h1 {
  font-size:26px;
  text-align:center;
}

.auth-form__lead {
  color:var(--muted);
  font-size:14px;
  text-align:center;
}

.auth-form__field {
  display:grid;
  gap:6px;
  color:var(--muted);
  font-size:14px;
}

.auth-form__field input {
  height:44px;
  padding:0 14px;
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--surface2);
  color:var(--ink);
  font-size:16px;
  outline:none;
  -webkit-appearance:none;
  appearance:none;
}

.auth-form button {
  height:46px;
  border:0;
  border-radius:10px;
  background:var(--accent);
  color:var(--on);
  font-size:16px;
  font-weight:800;
}

.auth-form__foot {
  color:var(--muted);
  font-size:14px;
  text-align:center;
}

.auth-form__foot a {
  color:var(--accent);
  font-weight:700;
}

.back-top {
  position:fixed;
  right:16px;
  bottom:calc(20px + env(safe-area-inset-bottom));
  z-index:40;
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  padding:0;
  border:0;
  border-radius:999px;
  background:var(--accent);
  color:var(--on);
  box-shadow:0 8px 20px rgba(0,0,0,.25);
  opacity:0;
  visibility:hidden;
  transition:opacity .2s;
}

.back-top.show {
  opacity:1;
  visibility:visible;
}

.site-footer {
  margin-top:56px;
}

@supports not (aspect-ratio:1/1) {
  .player-stage {
    height:0;
    padding-top:56.25%;
  }
}

@media (max-width:639px) {
  .wrap,.page-shell {
    padding-left:14px;
    padding-right:14px;
  }
  .sec {
    margin-top:28px;
  }
  .movie-grid {
    gap:10px;
  }
  .search-panel .primary-btn {
    padding:0 18px;
  }
  .auth-form {
    padding:24px 18px;
  }
}

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

:root {
  color-scheme: dark;
  --bg: #0d0500;
  --panel: #201606;
  --panel-soft: #211607;
  --panel-light: #322716;
  --line: #312618;
  --text: #fbf9f7;
  --muted: #a7a28a;
  --muted-strong: #dcd2c6;
  --accent: #e2a138;
  --accent-deep: #9e7500;
  --accent-soft: rgba(226,161,56,0.18);
  --danger: #0099c5;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(0,0,0,0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0px;
  min-height: 100vh;
  background: radial-gradient(circle at top left, rgba(200,141,0,0.14), transparent 34rem),         radial-gradient(circle at 80% 12%, rgba(152,137,0,0.16), transparent 28rem),         var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

button, input, select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0px;
  z-index: 50;
  background: linear-gradient(90deg, rgba(13,5,0,0.96), rgba(32,22,6,0.96), rgba(13,5,0,0.96));
  border-bottom: 1px solid rgba(167,162,138,0.18);
  box-shadow: rgba(0,0,0,0.26) 0px 10px 30px;
  backdrop-filter: blur(18px);
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  position: relative;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgb(200,141,0), rgb(123,115,0));
  box-shadow: rgba(226,161,56,0.42) 0px 0px 28px;
}

.logo-mark::before {
  content: "";
  width: 0px;
  height: 0px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid rgb(255,255,255);
  transform: translateX(2px);
}

.logo-text {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, rgb(239,188,123), rgb(152,137,0)) text;
  color: transparent;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.desktop-nav a, .mobile-nav a {
  color: rgb(220,210,198);
  font-size: 15px;
  font-weight: 650;
  transition: color 0.2s, background 0.2s;
}

.desktop-nav a {
  position: relative;
  padding: 8px 0px;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0px;
  bottom: 0px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s;
}

.desktop-nav a:hover, .desktop-nav a.is-active, .mobile-nav a:hover, .mobile-nav a.is-active {
  color: rgb(255,255,255);
}

.desktop-nav a:hover::after, .desktop-nav a.is-active::after {
  transform: scaleX(1);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0px;
  border-radius: 14px;
  background: rgba(32,22,6,0.96);
  color: var(--text);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-button span {
  width: 21px;
  height: 2px;
  border-radius: 999px;
  background: currentcolor;
}

.mobile-nav {
  display: none;
  border-top: 1px solid rgba(167,162,138,0.15);
  padding: 14px 0px 18px;
}

.mobile-nav.is-open {
  display: grid;
  gap: 8px;
}

.mobile-nav a {
  display: block;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(32,22,6,0.68);
}

.hero-carousel {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
  background: rgb(13,5,0);
}

.hero-slide {
  position: absolute;
  inset: 0px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s;
}

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

.hero-image {
  position: absolute;
  inset: 0px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.05);
}

.hero-slide.is-active .hero-image {
  animation: 10s ease 0s 1 normal forwards running slowZoom;
}

@keyframes slowZoom {
  0%  {
    transform: scale(1.04);
  }
  100%  {
    transform: scale(1.12);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0px;
  background: linear-gradient(90deg, rgba(13,5,0,0.92) 0%, rgba(13,5,0,0.72) 38%, rgba(13,5,0,0.18) 100%), linear-gradient(0deg, rgba(13,5,0,0.98) 0%, rgba(13,5,0,0.08) 44%, rgba(13,5,0,0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 88px 0px 72px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(200,141,0,0.14);
  color: rgb(239,188,123);
  font-size: 14px;
  font-weight: 750;
  margin-bottom: 18px;
  border: 1px solid rgba(239,188,123,0.22);
}

.hero-title, .page-title, .detail-title {
  margin: 0px;
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero-title {
  font-size: clamp(42px, 6vw, 78px);
  max-width: 780px;
}

.hero-desc {
  width: min(690px, 100%);
  color: rgb(220,210,198);
  font-size: clamp(17px, 2vw, 21px);
  margin: 22px 0px 0px;
}

.hero-meta, .movie-meta, .detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.hero-meta {
  margin: 26px 0px 0px;
}

.meta-pill, .tag-pill {
  border-radius: 999px;
  padding: 6px 10px;
  border: 1px solid rgba(167,162,138,0.18);
  background: rgba(32,22,6,0.64);
  color: rgb(238,233,210);
  font-size: 13px;
  font-weight: 650;
}

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

.btn-primary, .btn-secondary, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 15px;
  padding: 12px 20px;
  font-weight: 780;
  border: 1px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, rgb(200,141,0), rgb(123,115,0));
  color: rgb(255,255,255);
  box-shadow: rgba(200,141,0,0.28) 0px 18px 44px;
}

.btn-secondary, .btn-ghost {
  background: rgba(32,22,6,0.72);
  border-color: rgba(167,162,138,0.22);
  color: rgb(237,230,222);
}

.btn-primary:hover, .btn-secondary:hover, .btn-ghost:hover {
  transform: translateY(-2px);
  box-shadow: rgba(200,141,0,0.22) 0px 20px 50px;
}

.hero-dots {
  position: absolute;
  z-index: 4;
  right: clamp(20px, 6vw, 72px);
  bottom: 40px;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border: 0px;
  border-radius: 999px;
  background: rgba(167,162,138,0.65);
  transition: width 0.24s, background 0.24s;
}

.hero-dot.is-active {
  width: 34px;
  background: var(--accent);
}

.section {
  padding: 76px 0px;
}

.section-alt {
  background: linear-gradient(90deg, rgba(32,22,6,0.78), rgba(50,39,22,0.52));
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-title {
  margin: 0px;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.18;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.section-subtitle {
  color: var(--muted);
  margin: 8px 0px 0px;
  max-width: 700px;
}

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

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

.movie-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(rgba(50,39,22,0.96), rgba(32,22,6,0.96));
  border: 1px solid rgba(167,162,138,0.12);
  box-shadow: rgba(0,0,0,0.22) 0px 16px 42px;
  transition: transform 0.24s, box-shadow 0.24s, border-color 0.24s;
}

.movie-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: rgba(0,0,0,0.34) 0px 22px 58px;
  border-color: rgba(226,161,56,0.38);
}

.card-poster {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: rgb(32,22,6);
}

.card-poster.wide {
  aspect-ratio: 16 / 10;
}

.card-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s;
}

.movie-card:hover .card-poster img, .channel-card:hover img {
  transform: scale(1.08);
}

.card-poster::after {
  content: "";
  position: absolute;
  inset: 0px;
  background: linear-gradient(0deg, rgba(13,5,0,0.88), rgba(13,5,0,0) 54%);
  opacity: 0.8;
}

.play-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(200,141,0,0.9);
  color: rgb(255,255,255);
  font-size: 12px;
  font-weight: 750;
}

.card-body {
  padding: 16px;
}

.card-title {
  margin: 0px;
  font-size: 18px;
  font-weight: 780;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-desc {
  margin: 10px 0px 0px;
  color: var(--muted);
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 13px;
}

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

.channel-card {
  position: relative;
  display: block;
  min-height: 230px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(167,162,138,0.16);
  background: rgb(32,22,6);
  box-shadow: var(--shadow);
}

.channel-card img {
  position: absolute;
  inset: 0px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.48s;
}

.channel-card::after {
  content: "";
  position: absolute;
  inset: 0px;
  background: linear-gradient(0deg, rgba(13,5,0,0.94), rgba(13,5,0,0.24));
}

.channel-copy {
  position: relative;
  z-index: 2;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.channel-copy h2, .channel-copy h3 {
  margin: 0px;
  font-size: 25px;
  font-weight: 850;
}

.channel-copy p {
  margin: 10px 0px 0px;
  color: rgb(220,210,198);
  font-size: 14px;
}

.page-hero {
  padding: 72px 0px 42px;
  background: radial-gradient(circle at 16% 30%, rgba(200,141,0,0.18), transparent 24rem), linear-gradient(rgba(32,22,6,0.86), rgba(13,5,0,0));
}

.page-title {
  font-size: clamp(38px, 5vw, 62px);
}

.page-desc {
  margin: 18px 0px 0px;
  color: var(--muted-strong);
  width: min(780px, 100%);
  font-size: 18px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 18px;
}

.breadcrumbs a {
  color: rgb(239,188,123);
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 180px;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(32,22,6,0.84);
  border: 1px solid rgba(167,162,138,0.15);
  margin: 28px 0px;
}

.filter-bar input, .filter-bar select {
  width: 100%;
  border: 1px solid rgba(167,162,138,0.22);
  outline: 0px;
  border-radius: 14px;
  color: var(--text);
  background: rgba(13,5,0,0.92);
  padding: 12px 14px;
}

.filter-bar input:focus, .filter-bar select:focus {
  border-color: rgba(226,161,56,0.82);
  box-shadow: rgba(226,161,56,0.12) 0px 0px 0px 4px;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 76px 92px minmax(0px, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(32,22,6,0.86);
  border: 1px solid rgba(167,162,138,0.13);
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.rank-item:hover {
  transform: translateX(4px);
  border-color: rgba(226,161,56,0.4);
  background: rgba(50,39,22,0.92);
}

.rank-number {
  font-size: 24px;
  font-weight: 900;
  color: rgb(239,188,123);
  text-align: center;
}

.rank-poster {
  width: 92px;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 14px;
  background: rgb(33,22,7);
}

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

.rank-copy h2, .rank-copy h3 {
  margin: 0px 0px 6px;
  font-size: 19px;
  font-weight: 800;
}

.rank-copy p {
  margin: 0px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.detail-wrap {
  padding: 42px 0px 78px;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0px, 1.3fr) minmax(320px, 0.7fr);
  gap: 32px;
  align-items: start;
}

.player-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: rgb(0,0,0);
  box-shadow: var(--shadow);
  border: 1px solid rgba(167,162,138,0.16);
  aspect-ratio: 16 / 9;
}

.play-button {
  position: relative;
  z-index: 4;
  border: 0px;
  border-radius: 999px;
  min-width: 168px;
  padding: 16px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgb(255,255,255);
  background: linear-gradient(135deg, rgb(200,141,0), rgb(123,115,0));
  box-shadow: rgba(200,141,0,0.34) 0px 24px 52px;
  font-weight: 850;
}

.detail-panel {
  padding: 28px;
  border-radius: 28px;
  background: rgba(32,22,6,0.84);
  border: 1px solid rgba(167,162,138,0.14);
  box-shadow: rgba(0,0,0,0.22) 0px 18px 60px;
}

.detail-title {
  font-size: clamp(32px, 4vw, 50px);
}

.detail-lead {
  color: rgb(220,210,198);
  margin: 18px 0px 0px;
  font-size: 17px;
}

.detail-meta {
  margin-top: 22px;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.article-section {
  margin-top: 34px;
  display: grid;
  gap: 24px;
}

.text-panel {
  border-radius: 26px;
  background: rgba(32,22,6,0.72);
  border: 1px solid rgba(167,162,138,0.12);
  padding: 28px;
}

.text-panel h2 {
  margin: 0px 0px 12px;
  font-size: 26px;
  font-weight: 850;
}

.text-panel p {
  margin: 0px;
  color: rgb(220,210,198);
  font-size: 16px;
}

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

.site-footer {
  border-top: 1px solid rgba(167,162,138,0.14);
  background: linear-gradient(rgb(13,5,0), rgb(8,3,0));
  padding: 44px 0px;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 30px;
}

.footer-title {
  margin: 0px 0px 10px;
  color: var(--text);
  font-weight: 850;
  font-size: 19px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a:hover {
  color: rgb(239,188,123);
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(167,162,138,0.12);
  text-align: center;
  font-size: 14px;
}

@media (max-width: 1100px) {
  .movie-grid, .channel-grid {
    grid-template-columns: repeat(3, minmax(0px, 1fr));
  }
  .movie-grid.compact, .related-grid {
    grid-template-columns: repeat(4, minmax(0px, 1fr));
  }
  .detail-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .desktop-nav {
    display: none;
  }
  .menu-button {
    display: inline-flex;
  }
  .header-inner {
    height: 66px;
  }
  .hero-carousel, .hero-content {
    min-height: 640px;
  }
  .hero-dots {
    left: 16px;
    right: auto;
    bottom: 26px;
  }
  .section {
    padding: 58px 0px;
  }
  .section-head {
    display: block;
  }
  .movie-grid, .channel-grid, .movie-grid.compact, .related-grid {
    grid-template-columns: repeat(2, minmax(0px, 1fr));
  }
  .filter-bar {
    grid-template-columns: 1fr;
  }
  .rank-item {
    grid-template-columns: 54px 74px minmax(0px, 1fr);
  }
  .rank-extra {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 24px, 1280px);
  }
  .hero-title {
    font-size: 38px;
  }
  .hero-actions {
    display: grid;
  }
  .movie-grid, .channel-grid, .movie-grid.compact, .related-grid {
    grid-template-columns: 1fr;
  }
  .card-poster {
    aspect-ratio: 16 / 10;
  }
  .detail-panel, .text-panel {
    padding: 22px;
  }
}

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

.header-inner {
  justify-content:flex-start;
}

.desktop-nav {
  margin-left:auto;
  margin-right:26px;
  white-space:nowrap;
}

.hd-tools {
  gap:0;
  margin-left:0;
}

.hd-search input {
  height:40px;
  border-color:rgba(167,162,138,.22);
  background:rgba(13,5,0,.92);
  color:var(--text);
}

.hd-search input:focus {
  border-color:rgba(226,161,56,.82);
}

.hd-search button {
  color:#efbc7b;
}

.hd-auth {
  height:40px;
  border-color:rgba(167,162,138,.22);
  background:rgba(32,22,6,.72);
  color:#ede6de;
  font-weight:700;
}

.hd-reg {
  border:0;
  background:linear-gradient(135deg,#c88d00,#7b7300);
  color:#ffffff;
}

.menu-button.hd-menu {
  margin-left:auto;
}

.mobile-nav .m-search {
  display:flex;
  gap:8px;
}

.mobile-nav .m-search input {
  flex:1;
  min-width:0;
  height:44px;
  padding:0 14px;
  border:1px solid rgba(167,162,138,.22);
  border-radius:14px;
  background:rgba(13,5,0,.92);
  color:#ffffff;
  font-size:16px;
  -webkit-appearance:none;
  appearance:none;
}

.mobile-nav .m-search button {
  height:44px;
  padding:0 18px;
  border:0;
  border-radius:14px;
  background:linear-gradient(135deg,#c88d00,#7b7300);
  color:#ffffff;
  font-weight:800;
}

.mobile-nav .m-reg {
  color:#efbc7b;
}

.hero-carousel [data-v2-rotate] {
  position:absolute;
  inset:0;
}

.hero-title,.page-title,.detail-title,.section-title {
  letter-spacing:normal;
}

.hero-dots button {
  width:10px;
  height:10px;
  padding:0;
  border:0;
  border-radius:999px;
  background:rgba(167,162,138,.65);
  cursor:pointer;
  transition:width .24s,background .24s;
}

.hero-dots button.is-active {
  width:34px;
  background:var(--accent);
}

.movie-card:hover {
  transform:translateY(-6px);
}

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

.movie-card>a {
  display:block;
}

.mm-score {
  color:#c5c2ff;
}

.ch-count {
  position:relative;
  display:block;
  margin-top:10px;
  color:#efbc7b;
  font-size:13px;
  font-weight:700;
}

.cat-wrap {
  padding-bottom:70px;
}

.cat-stats {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}

.cs-stat {
  display:inline-flex;
  align-items:baseline;
  gap:6px;
  padding:7px 14px;
  border:1px solid rgba(167,162,138,.18);
  border-radius:999px;
  background:rgba(32,22,6,.64);
  color:#eee9d2;
  font-size:13px;
}

.cs-stat b {
  font-size:18px;
  color:#efbc7b;
}

.filter-bar select option {
  background:#201606;
  color:#fbf9f7;
}

.cat-pick {
  margin:0 0 14px;
}

.cs-chip {
  display:inline-flex;
  align-items:center;
  gap:4px;
  border:1px solid rgba(167,162,138,.18);
  border-radius:999px;
  padding:7px 12px;
  background:rgba(32,22,6,.64);
  color:#eee9d2;
  font-size:13px;
  cursor:pointer;
  transition:background .2s,border-color .2s;
}

.cs-chip em {
  font-style:normal;
  opacity:.7;
}

.cs-chip:hover {
  border-color:rgba(226,161,56,.5);
}

.cs-chip.on {
  border-color:transparent;
  background:linear-gradient(135deg,#c88d00,#7b7300);
  color:#ffffff;
}

.cat-count {
  margin:0 0 22px;
  color:var(--muted);
}

.cat-count b {
  color:#efbc7b;
  font-size:20px;
}

.player-card .player-stage {
  position:absolute;
  inset:0;
}

.detail-hero>* {
  min-width:0;
}

.rel-sec {
  padding:56px 0 0;
}

.rank-extra {
  color:var(--muted);
  font-size:13px;
  text-align:right;
}

.rank-copy {
  min-width:0;
}

main>.breadcrumb {
  width:min(100% - 32px,1280px);
  margin:24px auto 0;
  color:var(--muted);
}

.content-card,.auth-form {
  border:1px solid rgba(167,162,138,.14);
  border-radius:28px;
  background:rgba(32,22,6,.84);
  box-shadow:0 18px 60px rgba(0,0,0,.22);
}

.auth-form h1 {
  color:var(--text);
}

.auth-form__field input {
  border-color:rgba(167,162,138,.22);
  border-radius:14px;
  background:rgba(13,5,0,.92);
  color:var(--text);
}

.auth-form__field input:focus {
  border-color:rgba(226,161,56,.82);
}

.auth-form button {
  border-radius:15px;
  background:linear-gradient(135deg,#c88d00,#7b7300);
  color:#ffffff;
}

.auth-form__foot a {
  color:#efbc7b;
}

@media (min-width:1024px) {
  .desktop-nav {
    display:flex;
  }
  .menu-button.hd-menu {
    display:none;
  }
}

@media (min-width:1024px) and (max-width:1199px) {
  .desktop-nav .nav-cat {
    display:none;
  }
}

@media (max-width:1023px) {
  .desktop-nav {
    display:none;
  }
  .menu-button.hd-menu {
    display:inline-flex;
  }
}

@media (max-width:520px) {
  .movie-grid,.channel-grid,.movie-grid.compact,.related-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
  }
  .card-poster {
    aspect-ratio:2/3;
  }
  .card-poster.wide {
    aspect-ratio:16/10;
  }
  .card-body {
    padding:12px;
  }
  .card-title {
    font-size:15px;
  }
  .card-desc,.card-tags {
    display:none;
  }
  .channel-card,.channel-copy {
    min-height:150px;
  }
  .channel-copy {
    padding:16px;
  }
  .channel-copy h3 {
    font-size:19px;
  }
  .channel-copy p {
    display:none;
  }
}

a,button,input,select,textarea,summary {
  -webkit-tap-highlight-color:transparent;
}

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

select.f-select {
  -webkit-appearance:none;
  -moz-appearance:none;
  appearance:none;
  background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);
  background-position:calc(100% - 18px) 50%,calc(100% - 13px) 50%;
  background-size:5px 5px,5px 5px;
  background-repeat:no-repeat;
  padding-right:32px;
}

img {
  -webkit-user-drag:none;
}

.site-header {
  position:-webkit-sticky;
  position:sticky;
}

[data-v2-rail],[data-chips],.v2-pick {
  overscroll-behavior-x:contain;
  -webkit-overflow-scrolling:touch;
}

a,button {
  touch-action:manipulation;
}

@media print {
  .site-header,.site-footer,.mobile-panel,video {
    display:none!important;
  }
  body {
    background:#ffffff!important;
  }
}

::-webkit-scrollbar {
  width:10px;
  height:10px;
}

::-webkit-scrollbar-thumb {
  border:2px solid #0d0500;
  border-radius:10px;
  background:#9e7500;
}

::-webkit-scrollbar-track {
  background:#0d0500;
}

html {
  scrollbar-color:#9e7500 #0d0500;
}

html,body {
  max-width:100%;
  overflow-x:hidden;
}

body {
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
  -moz-osx-font-smoothing:grayscale;
}

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

input,textarea {
  -webkit-appearance:none;
  appearance:none;
  border-radius:0;
}

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

a,button {
  -webkit-tap-highlight-color:transparent;
  touch-action:manipulation;
}

.player-stage,.player-card,.player-shell,.video-shell {
  max-width:100%;
}

.search-panel input,.search-panel select {
  min-height:44px;
}

@supports not (aspect-ratio:16/9) {
  .player-stage {
    height:0;
    padding-top:56.25%;
  }
  .player-stage video {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
  }
}

footer,.site-footer {
  padding-bottom:env(safe-area-inset-bottom);
}

@media (max-width:820px) {
  .search-panel {
    -webkit-box-orient:vertical;
    flex-direction:column;
    align-items:stretch;
  }
  .search-panel>* {
    -ms-flex:0 0 auto;
    flex:0 0 auto;
    width:100%;
    min-width:0;
  }
}

@media (max-width:374px) {
  h1 {
    font-size:24px!important;
    line-height:1.3;
  }
  .movie-grid,.video-grid {
    gap:8px!important;
  }
}
