:root {
  --bg:#090d03;
  --surface:#121707;
  --surface2:rgba(20,26,9,.76);
  --ink:#eaf0e1;
  --muted:#a0a598;
  --line:rgba(171,161,137,.18);
  --accent:#5f7b00;
  --accent2:#e3885c;
  --on:#ffffff;
  --soft:rgba(95,123,0,.18);
  --r:22px;
  --maxw:1200px;
  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;
}

button {
  cursor:pointer;
}

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

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

.mirror-raw {
  display:contents;
}

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

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

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

.site-header {
  position:sticky;
  top:0;
  z-index:60;
}

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

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

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

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

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

.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) {
  .page-shell {
    padding-left:14px;
    padding-right:14px;
  }
  .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 {
  --bg: #090d03;
  --bg-soft: #121707;
  --panel: rgba(20,26,9,.76);
  --panel-strong: rgba(20,26,9,.94);
  --line: rgba(171,161,137,.18);
  --text: #eaf0e1;
  --muted: #a0a598;
  --primary: #5f7b00;
  --primary-2: #e3885c;
  --accent: #00a0b0;
  --shadow: 0 20px 60px rgba(0,0,0,.35);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html,body {
  margin: 0px;
  min-height: 100%;
  background: radial-gradient(circle at top left, rgba(95,123,0,.22), transparent 34%),     radial-gradient(circle at top right, rgba(227,136,92,.14), transparent 24%),     linear-gradient(180deg, #050901 0%, var(--bg) 42%, #060b01 100%);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

.container {
  width: min(1200px, -32px + 100vw);
  margin: 0px auto;
}

.topbar {
  position: sticky;
  top: 0px;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(5,9,0,0.66);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  padding: 16px 0px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.3px;
  flex-shrink: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: rgba(95,123,0,0.35) 0px 14px 35px;
  display: grid;
  place-items: center;
  color: white;
  font-size: 18px;
}

.brand small {
  display: block;
  color: var(--muted);
  font-weight: 500;
  font-size: 12px;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: rgb(242,232,209);
  background: rgba(171,161,137,0.08);
  border: 1px solid transparent;
  transition: 0.2s;
}

.nav-links a:hover {
  background: rgba(95,123,0,0.22);
  border-color: rgba(95,123,0,0.35);
  transform: translateY(-1px);
}

.searchbar {
  flex: 1 1 0%;
  max-width: 360px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(171,161,137,0.18);
  background: rgba(20,26,9,0.62);
}

.searchbar input {
  width: 100%;
  border-width: medium;
  border-style: none;
  border-color: currentcolor;
  border-image: none;
  background: transparent;
  color: var(--text);
  outline: none;
}

.searchbar input::placeholder {
  color: rgb(171,161,137);
}

.hero {
  padding: 26px 0px 10px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr;
  gap: 18px;
  align-items: stretch;
}

.hero-stage {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-radius: 34px;
  padding: 26px;
  background: linear-gradient(135deg, rgba(212,134,10,0.15), rgba(95,123,0,0.12)), rgba(20,26,9,0.78);
  border: 1px solid rgba(171,161,137,0.18);
  box-shadow: var(--shadow);
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0px;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.18), transparent 16%), radial-gradient(circle at 82% 26%, rgba(255,255,255,0.12), transparent 14%), linear-gradient(rgba(0,0,0,0.08), rgba(0,0,0,0.38));
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  height: 100%;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(20,26,9,0.55);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgb(242,232,209);
  font-size: 13px;
  margin-bottom: 18px;
}

.hero-copy h1 {
  margin: 0px;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.hero-copy p {
  margin: 16px 0px 0px;
  max-width: 62ch;
  color: rgb(242,232,209);
  font-size: 16px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(20,26,9,0.62);
  color: var(--text);
  transition: 0.2s;
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  border-color: transparent;
  color: white;
}

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

.hero-aside {
  display: grid;
  gap: 14px;
}

.hero-panel {
  border-radius: 26px;
  padding: 18px;
  background: rgba(20,26,9,0.74);
  border: 1px solid rgba(171,161,137,0.16);
  box-shadow: var(--shadow);
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.panel-title h3 {
  margin: 0px;
  font-size: 18px;
}

.panel-title span {
  color: var(--muted);
  font-size: 13px;
}

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

.hero-item {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  align-items: stretch;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(5,9,0,0.38);
}

.portrait {
  min-height: 110px;
  padding: 12px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
}

.poster {
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(135deg, var(--g1), var(--g2) 60%, var(--g3));
  box-shadow: rgba(255,255,255,0.08) 0px 1px 0px inset;
}

.poster::after,.portrait::after {
  content: "";
  position: absolute;
  inset: 0px;
  background: linear-gradient(rgba(255,255,255,0.18), transparent 22%), radial-gradient(circle at right top, rgba(255,255,255,0.32), transparent 18%), linear-gradient(transparent 30%, rgba(0,0,0,0.55));
}

.poster-label {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 1;
}

.poster-label strong {
  display: block;
  font-size: 14px;
  line-height: 1.3;
}

.poster-label small {
  display: block;
  margin-top: 5px;
  color: rgba(255,255,255,0.82);
  font-size: 12px;
}

.hero-item .info {
  padding: 12px 12px 12px 0px;
  min-width: 0px;
}

.hero-item .info h4 {
  margin: 0px 0px 6px;
  font-size: 16px;
}

.meta {
  color: var(--muted);
  font-size: 12px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(171,161,137,0.09);
  border: 1px solid rgba(171,161,137,0.14);
  color: rgb(242,232,209);
  font-size: 12px;
}

.section {
  padding: 26px 0px;
}

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

.section-head h2 {
  margin: 0px;
  font-size: 24px;
}

.section-head p {
  margin: 0px;
  color: var(--muted);
}

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

.movie-card {
  display: grid;
  gap: 10px;
  min-width: 0px;
}

.movie-card .poster {
  aspect-ratio: 2 / 3;
  min-height: 240px;
}

.movie-card .poster:hover {
  transform: translateY(-3px) scale(1.01);
  transition: 0.18s;
}

.movie-card .poster .poster-label strong {
  font-size: 15px;
}

.movie-card .body {
  min-width: 0px;
}

.movie-card .body h3 {
  margin: 0px;
  font-size: 15px;
  line-height: 1.3;
}

.movie-card .body p {
  margin: 4px 0px 0px;
  color: var(--muted);
  font-size: 12px;
}

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

.category-card {
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(rgba(20,26,9,0.82), rgba(5,9,0,0.76));
  border: 1px solid rgba(171,161,137,0.14);
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  transition: 0.2s;
}

.category-card:hover {
  transform: translateY(-3px);
}

.category-card h3 {
  margin: 0px;
  font-size: 20px;
}

.category-card p {
  margin: 0px;
  color: var(--muted);
  font-size: 13px;
}

.category-card .stat {
  color: rgb(179,205,132);
  font-size: 13px;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.control {
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid rgba(171,161,137,0.14);
  background: rgba(20,26,9,0.6);
  color: var(--text);
  outline: none;
}

.control::placeholder {
  color: rgb(171,161,137);
}

.select {
  appearance: none;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 72px minmax(0px, 1fr) auto;
  gap: 14px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(20,26,9,0.7);
  border: 1px solid rgba(171,161,137,0.14);
  align-items: center;
}

.rank-num {
  width: 72px;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 20px;
  background: linear-gradient(135deg, rgba(95,123,0,0.5), rgba(227,136,92,0.28));
}

.rank-main h3 {
  margin: 0px 0px 5px;
  font-size: 18px;
}

.rank-main p {
  margin: 0px;
  color: var(--muted);
  font-size: 13px;
}

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

.page-hero {
  padding: 30px 0px 10px;
}

.page-hero .page-card {
  padding: 26px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(95,123,0,0.18), rgba(227,136,92,0.12));
  border: 1px solid rgba(171,161,137,0.16);
  box-shadow: var(--shadow);
}

.page-card h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin: 0px;
}

.page-card p {
  margin: 12px 0px 0px;
  max-width: 70ch;
  color: rgb(242,232,209);
}

.breadcrumb {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 12px;
}

.breadcrumb a {
  color: rgb(204,233,194);
}

.player-shell {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 18px;
}

.player-box {
  padding: 16px;
  border-radius: 28px;
  background: rgba(20,26,9,0.76);
  border: 1px solid rgba(171,161,137,0.14);
  box-shadow: var(--shadow);
}

.video-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: rgb(5,9,0);
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255,255,255,0.08);
}

.video-wrap video {
  width: 100%;
  height: 100%;
  background: black;
  object-fit: cover;
}

.detail-aside {
  display: grid;
  gap: 14px;
}

.detail-box {
  padding: 18px;
  border-radius: 24px;
  background: rgba(20,26,9,0.76);
  border: 1px solid rgba(171,161,137,0.14);
}

.detail-box h3 {
  margin: 0px 0px 10px;
  font-size: 18px;
}

.detail-box p {
  margin: 0px;
  color: rgb(209,214,200);
}

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

.kv div {
  padding: 12px;
  border-radius: 16px;
  background: rgba(171,161,137,0.08);
  border: 1px solid rgba(171,161,137,0.12);
}

.kv span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 4px;
}

.kv strong {
  font-size: 15px;
}

.footer {
  margin-top: 28px;
  padding: 26px 0px 34px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.hidden {
  display: none !important;
}

@media (max-width: 1100px) {
  .hero-grid,.player-shell,.hero-layout {
    grid-template-columns: 1fr;
  }
  .grid-cards {
    grid-template-columns: repeat(4, minmax(0px, 1fr));
  }
  .category-strip {
    grid-template-columns: repeat(2, minmax(0px, 1fr));
  }
  .searchbar {
    max-width: 100%;
    flex-basis: 100%;
    order: 3;
  }
  .nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(-20px + 100vw, 1200px);
  }
  .hero-stage {
    min-height: auto;
  }
  .hero-copy h1 {
    max-width: none;
  }
  .grid-cards {
    grid-template-columns: repeat(2, minmax(0px, 1fr));
  }
  .rank-item {
    grid-template-columns: 56px minmax(0px, 1fr);
  }
  .rank-side {
    grid-column: 2 / -1;
    text-align: left;
  }
  .section-head,.footer-grid {
    align-items: start;
    flex-direction: column;
  }
  .searchbar {
    order: 0;
  }
  .nav-links {
    gap: 8px;
  }
}

.topbar {
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
  background:rgba(5,9,0,.96);
}

.nav {
  justify-content:flex-start;
  flex-wrap:nowrap;
}

.nav-links {
  margin-left:auto;
  margin-right:20px;
  flex-wrap:nowrap;
  white-space:nowrap;
}

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

.hd-search input {
  height:40px;
  border-color:rgba(171,161,137,.18);
  background:rgba(20,26,9,.62);
  color:var(--text);
}

.hd-search input:focus {
  border-color:rgba(95,123,0,.6);
}

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

.hd-auth {
  height:40px;
  border-color:rgba(171,161,137,.18);
  background:rgba(171,161,137,.08);
  color:#f2e8d1;
  font-weight:700;
}

.hd-reg {
  border:0;
  background:linear-gradient(135deg,var(--primary),var(--primary-2));
  color:#ffffff;
}

.nav-toggle {
  display:none;
  margin-left:auto;
  width:42px;
  height:42px;
  padding:10px;
  border:1px solid var(--line);
  border-radius:12px;
  background:rgba(171,161,137,.08);
  cursor:pointer;
}

.nav-toggle span {
  display:block;
  width:20px;
  height:2px;
  margin:4px 0;
  border-radius:2px;
  background:#f2e8d1;
}

.m-panel {
  display:none;
  padding:0 0 16px;
  border-top:1px solid var(--line);
}

.m-panel.is-open {
  display:block;
}

.m-panel .searchbar {
  max-width:none;
  margin:14px 0 10px;
}

.m-panel .searchbar input {
  font-size:16px;
}

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

.m-links a {
  padding:10px 14px;
  border-radius:999px;
  color:#f2e8d1;
  background:rgba(171,161,137,.08);
  text-align:center;
}

.m-links .m-reg {
  background:linear-gradient(135deg,var(--primary),var(--primary-2));
  color:#ffffff;
}

.hero-copy h1 {
  letter-spacing:normal;
  font-size:clamp(2rem,3.2vw,2.9rem);
  max-width:none;
  text-wrap:balance;
}

.poster {
  display:block;
}

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

.poster::after {
  z-index:0;
}

.poster-label {
  z-index:2;
  color:#ffffff;
}

.pc-score {
  position:absolute;
  top:10px;
  right:10px;
  z-index:2;
  padding:4px 9px;
  border-radius:999px;
  background:rgba(5,9,0,.62);
  color:#e3e3ff;
  font-size:12px;
  font-weight:700;
}

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

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

.hero-carousel {
  position:relative;
}

.hero-slide {
  display:none;
}

.hero-slide.is-active {
  display:block;
}

.hero-slide-link {
  display:grid;
  gap:12px;
}

.hero-slide-poster {
  aspect-ratio:4/3;
}

.hero-slide-copy h2 {
  margin:0 0 6px;
  font-size:20px;
  line-height:1.3;
}

.hero-slide-copy p {
  margin:0;
  color:var(--muted);
  font-size:13px;
}

.hero-slide-copy .kicker {
  margin-bottom:10px;
}

.hc-dots {
  display:flex;
  gap:8px;
  justify-content:center;
  margin-top:12px;
}

.hc-dots button {
  width:8px;
  height:8px;
  padding:0;
  border:0;
  border-radius:99px;
  background:rgba(171,161,137,.4);
  cursor:pointer;
  transition:width .2s;
}

.hc-dots button.is-active {
  width:24px;
  background:linear-gradient(135deg,var(--primary),var(--primary-2));
}

.hero-item .portrait {
  min-height:110px;
}

.hero-item .poster-label {
  left:8px;
  right:8px;
  bottom:8px;
}

.hero-item .poster-label strong {
  font-size:12px;
}

.hero-item .info h4 {
  font-size:14px;
  line-height:1.45;
}

.category-card .stat {
  margin-top:auto;
}

.page-card h1 {
  letter-spacing:normal;
}

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

.cs-stat {
  display:inline-flex;
  align-items:baseline;
  gap:6px;
  padding:7px 14px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:999px;
  background:rgba(20,26,9,.55);
  color:#f2e8d1;
  font-size:13px;
}

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

.toolbar .control {
  min-width:0;
}

.toolbar input.control {
  flex:1 1 260px;
}

.select option {
  background:#121707;
  color:#eaf0e1;
}

.toolbar .meta strong {
  color:#b3cd84;
  font-size:18px;
  margin:0 2px;
}

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

.cs-chip {
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:7px 12px;
  border:1px solid rgba(171,161,137,.14);
  border-radius:999px;
  background:rgba(171,161,137,.09);
  color:#f2e8d1;
  font-size:13px;
  cursor:pointer;
  transition:background .2s;
}

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

.cs-chip:hover {
  background:rgba(95,123,0,.22);
}

.cs-chip.on {
  border-color:transparent;
  background:linear-gradient(135deg,var(--primary),var(--primary-2));
  color:#ffffff;
}

.player-shell {
  min-width:0;
}

.player-box {
  min-width:0;
}

.player-box>.tag-row {
  margin-top:14px;
}

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

.rank-main h3 a:hover,.movie-card .body h3 a:hover {
  color:#b3cd84;
}

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

.f-links a:hover {
  color:#b3cd84;
}

.f-desc {
  margin:14px 0 0;
  font-size:13px;
}

main>.breadcrumb,.page-shell .breadcrumb {
  width:min(1200px,100vw - 32px);
  margin:24px auto 0;
}

.content-card,.auth-form {
  border:1px solid rgba(171,161,137,.16);
  border-radius:28px;
  background:rgba(20,26,9,.76);
  box-shadow:var(--shadow);
}

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

.auth-form__field input {
  border-color:rgba(171,161,137,.18);
  border-radius:999px;
  background:rgba(20,26,9,.62);
  color:var(--text);
  padding:0 18px;
}

.auth-form__field input:focus {
  border-color:rgba(95,123,0,.6);
}

.auth-form button {
  border-radius:999px;
  background:linear-gradient(135deg,var(--primary),var(--primary-2));
  color:#ffffff;
}

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

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

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

@media (max-width:1100px) {
  .nav {
    flex-wrap:nowrap;
  }
}

@media (max-width:1023px) {
  .nav-links {
    display:none;
  }
  .nav-toggle.hd-menu {
    display:block;
  }
}

@media (max-width:720px) {
  .category-strip {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .movie-card .poster {
    min-height:0;
  }
  .hero-stage {
    padding:18px;
  }
  .toolbar .control {
    flex:1 1 100%;
  }
}

.hd-search button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.sb-ico {
  display:inline-flex;
  flex:none;
  color:#b3cd84;
}

.nav-links a[aria-current=page] {
  background:rgba(95,123,0,.22);
  border-color:rgba(95,123,0,.35);
  color:#ffffff;
}

.m-links a[aria-current=page] {
  background:rgba(95,123,0,.32);
  box-shadow:inset 0 0 0 1px rgba(179,205,132,.5);
  color:#ffffff;
  font-weight:700;
}

.breadcrumb {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:2px 6px;
}

.breadcrumb a {
  display:inline-block;
  padding:6px 2px;
  margin:-6px 0;
}

.breadcrumb i {
  font-style:normal;
  opacity:.5;
}

.breadcrumb span {
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  max-width:100%;
}

.movie-card .body h3 {
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

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

.hero-layout {
  align-items:center;
}

.hero-copy {
  align-self:center;
  padding:8px 8px 8px 0;
}

.hero-panel {
  min-width:0;
}

.hero-item .info {
  min-width:0;
}

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

:focus-visible {
  outline:2px solid #b3cd84;
  outline-offset:2px;
}

html,body {
  background-color:#090d03;
}

.page-hero .page-card,.hero-stage {
  background-color:#121807;
}

.hero-panel {
  background-color:#121808;
}

@supports not (inset:0) {
  .hero-stage::before,.poster::after,.portrait::after,.poster img,.video-wrap .player-stage {
    top:0;
    right:0;
    bottom:0;
    left:0;
  }
}

@supports not (aspect-ratio:1/1) {
  .movie-card .poster {
    height:0;
    min-height:0;
    padding-top:150%;
  }
  .video-wrap {
    height:0;
    padding-top:56.25%;
  }
  .hero-slide-poster {
    height:0;
    padding-top:75%;
  }
  .rank-num {
    height:72px;
  }
}

@media (prefers-reduced-motion:reduce) {
  *,::before,::after {
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
    scroll-behavior:auto!important;
  }
}

@media (max-width:1100px) {
  .hero-copy {
    padding:0;
  }
}

@media (min-width:721px) and (max-width:1100px) {
  .hero-slide-link {
    grid-template-columns:minmax(0,300px) minmax(0,1fr);
    align-items:center;
    gap:20px;
  }
  .hero-slide-copy h2 {
    font-size:24px;
  }
  .hero-slide-copy p {
    font-size:14px;
  }
  .hero-list {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .hero-list>:last-child {
    grid-column:1/-1;
  }
}

@media (min-width:721px) and (max-width:1023px) {
  .grid-cards {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .category-strip {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:720px) {
  .section-head {
    flex-direction:row;
    align-items:flex-end;
  }
  .section-head>div {
    min-width:0;
  }
  .section-head .btn {
    flex:none;
    padding:8px 14px;
    font-size:13px;
  }
  .section-head h2 {
    font-size:21px;
  }
  .section-head p {
    font-size:13px;
  }
  .grid-cards {
    gap:12px;
  }
  .movie-card .body {
    padding:10px 2px 0;
  }
  .movie-card .body h3 {
    font-size:15px;
  }
  .movie-card .body p {
    font-size:12px;
    line-height:1.5;
  }
  .rank-num {
    width:56px;
    font-size:18px;
  }
  .hero-slide-poster {
    aspect-ratio:16/10;
  }
  .page-card h1 {
    font-size:clamp(26px,7vw,34px);
  }
  .footer-grid {
    gap:10px;
  }
}

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

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

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

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

[data-chips] {
  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 #090d03;
  border-radius:10px;
  background:#5f7b00;
}

::-webkit-scrollbar-track {
  background:#090d03;
}

html {
  scrollbar-color:#5f7b00 #090d03;
}
