/* 墨金站：对齐顶栏 / 首屏 / 网格，避免后层样式把布局打散 */
.studio-rail {
  display: none;
}

.site-header {
  border-bottom: 1px solid #eadfcd;
  background: #fffdf8;
  box-shadow: 0 8px 28px rgba(22, 18, 12, .05);
  padding-top: env(safe-area-inset-top, 0);
}

.header-brand {
  margin-right: 0;
  min-width: 0;
  gap: 10px;
}

.header-brand__logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: #16120c;
  font-size: 14px;
  flex-shrink: 0;
}

.header-brand__title {
  color: #16120c;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: .04em;
  white-space: nowrap;
}

.header-brand__sub {
  display: none;
}

.header-nav a {
  color: #3f382e;
  border-bottom: 0;
  font-weight: 700;
  padding: 0 2px;
}

.header-nav a:hover,
.header-nav a.active,
.header-nav a[aria-current="page"] {
  color: #8a6a32;
  border-bottom-color: transparent;
}

.header-search {
  height: 44px;
  border-radius: 4px;
  border: 1px solid #d8c49a;
  background: #f7f1e6;
}

.header-search:focus-within {
  border-color: #c5a46e;
  background: #fffdf8;
  box-shadow: 0 0 0 3px rgba(197, 164, 110, .2);
}

.header-search button {
  background: #c5a46e;
  color: #16120c;
  font-size: 0;
  width: 48px;
  padding: 0;
}

.header-search button:after {
  content: "⌕";
  font-size: 18px;
  color: #16120c;
}

.header-fav {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #8a6a32;
  font-size: 20px;
  border-radius: 4px;
  border: 1px solid #eadfcd;
}

.header-fav:hover {
  color: #16120c;
  background: #f3ead6;
}

.skin-nc.hero-studio {
  border-bottom: none;
  background: var(--hero-bg);
  position: relative;
}

.skin-nc.hero-studio:after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 18% 40%, rgba(197, 164, 110, .18), transparent 55%);
  pointer-events: none;
}

.skin-nc.hero-studio .hero-bar {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 72px 0 64px;
  min-height: 320px;
}

.skin-nc .hero-bar__copy {
  max-width: 820px;
  margin: 0 auto 24px;
}

.skin-nc .hero-kicker {
  margin: 0 0 10px;
  color: #c5a46e;
  letter-spacing: .18em;
  font-size: .8rem;
  font-weight: 700;
}

.skin-nc .hero-bar h1,
.skin-nc .hero-lead {
  color: #fffdf8;
}

.skin-nc .hero-bar h1 {
  font-size: clamp(1.8rem, 4.4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: .04em;
  margin: 0 0 14px;
  text-shadow: 0 8px 28px rgba(0, 0, 0, .35);
}

.skin-nc .hero-lead {
  opacity: .86;
  max-width: 42rem;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.75;
}

.skin-nc .hero-actions {
  justify-content: center;
  width: auto;
  gap: 14px;
}

.skin-nc .hero-actions .primary-btn,
.skin-nc .hero-actions .ghost-btn {
  min-height: 48px;
  min-width: 148px;
  border-radius: 4px;
  letter-spacing: .06em;
}

.skin-nc .hero-actions .primary-btn {
  background: #c5a46e;
  color: #16120c;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .24);
}

.skin-nc .hero-actions .ghost-btn {
  background: transparent;
  color: #fffdf8;
  border: 1px solid rgba(255, 253, 248, .72);
}

.skin-nc .hero-carousel,
.skin-nc .hero-control {
  display: none;
}

.section-block {
  padding: 36px 0 8px;
}

.section-head {
  align-items: center;
  margin-bottom: 18px;
}

.section-head > div {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.section-icon {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: #f3ead6;
  color: #8a6a32;
  font-size: 13px;
}

.section-head h2 {
  font-size: 1.28rem;
  letter-spacing: .04em;
  margin: 0;
}

.section-head .section-kicker {
  display: none;
}

.section-head a {
  color: #8a6a32;
}

.skin-nc-cats .cat-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.skin-nc-cats .category-tile {
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  min-height: 96px;
  padding: 16px 8px 14px;
  border: 1px solid #eadfcd;
  border-left: 1px solid #eadfcd;
  border-radius: 6px;
  background: #fffdf8;
  box-shadow: none;
}

.skin-nc-cats .category-tile:before {
  content: "▷";
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: #f3ead6;
  color: #8a6a32;
  font-size: 12px;
}

.skin-nc-cats .category-tile strong {
  font-size: 0.86rem;
  font-weight: 800;
  color: #16120c;
}

.skin-nc-cats .category-tile span {
  display: none;
}

.skin-nc-cats .category-tile:hover {
  transform: translateY(-2px);
  border-color: #c5a46e;
  box-shadow: 0 12px 24px rgba(22, 18, 12, .08);
}

.skin-nc-hot .movie-card,
.card-nc,
.home-more .movie-card {
  border: 0;
  box-shadow: none;
  background: transparent;
}

.skin-nc-hot .movie-card:hover,
.card-nc:hover {
  border-color: transparent;
  box-shadow: none;
}

.card-nc .poster-frame,
.skin-nc-hot .poster-frame {
  border-radius: 6px;
  background: #ebe3d4;
}

.skin-nc-hot .movie-card:hover .poster-frame,
.card-nc:hover .poster-frame {
  box-shadow: 0 0 0 2px #c5a46e, 0 14px 24px rgba(22, 18, 12, .14);
}

.skin-nc-hot .card-badge,
.skin-nc-hot .movie-meta-line,
.card-nc .card-badge,
.card-nc .movie-meta-line {
  display: none;
}

.page-hero,
.detail-page {
  padding-top: 28px;
}

.page-hero h1 {
  color: #16120c;
}

.filter-panel {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
}

.rank-panel .filter-panel {
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
}

.filter-chip:hover,
.filter-chip.is-on {
  border-color: #c5a46e;
  color: #8a6a32;
  background: #f3ead6;
}

.site-footer,
.footer-upper {
  background: #0c0a08;
}

.footer-bar {
  background: #070605;
}

.footer-links a:hover {
  color: #c5a46e;
}

.bbaseo-fly {
  color: #c5a46e;
}

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