/* ============================================================
   Midnight 深夜放映室 — MACCMS 10 主题样式
   方向：暖石墨中性色 + 钨丝灯琥珀单强调色，衬线片名，mono 数字
   ============================================================ */

:root {
  --bg: #131210;
  --bg-2: #181614;
  --panel: #1d1b18;
  --panel-2: #242220;
  --line: rgba(242, 236, 226, .09);
  --line-strong: rgba(242, 236, 226, .16);
  --t1: #f0ebe0;
  --t2: rgba(240, 235, 224, .62);
  --t3: rgba(240, 235, 224, .40);
  --amber: #d9a45b;
  --amber-strong: #e3b26e;
  --amber-weak: rgba(217, 164, 91, .12);
  --amber-line: rgba(217, 164, 91, .35);
  --btn: #f0ebe0;
  --btn-t: #1c1914;
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  --num: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, "Courier New", monospace;
  --sb: 200px;
  --top: 76px;
  --gut: 40px;
  --r-s: 8px;
  --r-m: 12px;
  --r-l: 16px;
  --ease: cubic-bezier(.48, .04, .52, .96);
}

@media (max-width: 1600px) { :root { --sb: 180px; } }
@media (max-width: 1280px) { :root { --sb: 176px; --gut: 32px; } }
@media (max-width: 1023px) { :root { --sb: 0px; --top: 60px; --gut: 20px; } }
@media (max-width: 767px)  { :root { --gut: 16px; } }

/* ---------- 基础 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top) + 16px); overflow-x: clip; }
body { overflow-x: clip; }
body {
  background: var(--bg);
  color: var(--t1);
  font: 14px/1.6 var(--sans);
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--t1); }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--amber-weak); color: var(--t1); }

.mn-num { font-family: var(--num); font-variant-numeric: tabular-nums; }
.mn-hide { display: none !important; }

/* 焦点可见性 */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--amber-line);
  outline-offset: 2px;
}

/* ---------- SVG 图标 ---------- */
.mn-sprite { display: none; }
.mn-ico {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
  flex: none;
}

/* ---------- 布局骨架 ---------- */
.mn-side {
  position: fixed; left: 0; top: 0; bottom: 0;
  width: var(--sb);
  background: var(--bg-2);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
  padding: 0 16px;
  z-index: 60;
}
.mn-app { margin-left: var(--sb); min-height: 100vh; display: flex; flex-direction: column; }
.mn-main { flex: 1; padding: calc(var(--top) + 20px) var(--gut) 64px; min-width: 0; }

@media (max-width: 1023px) {
  .mn-side { display: none; }
  .mn-app { margin-left: 0; }
  .mn-main { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}

/* 侧栏 */
.mn-logo {
  display: flex; align-items: center; gap: 10px;
  height: var(--top);
  font-size: 19px; font-weight: 500;
  color: var(--t1);
  flex: none;
}
.mn-logo__mark { width: 26px; height: 26px; flex: none; }
.mn-logo__text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mn-nav { margin-top: 12px; }
.mn-nav__item {
  display: flex; align-items: center; gap: 10px;
  height: 40px; padding: 0 12px;
  border-radius: var(--r-s);
  color: var(--t2);
  font-size: 14px;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.mn-nav__item:hover { color: var(--t1); background: rgba(242, 236, 226, .05); }
.mn-nav__item.is-active { color: var(--amber); background: var(--amber-weak); }
.mn-nav__item .mn-ico { width: 17px; height: 17px; }
.mn-nav__sep { height: 1px; margin: 12px 12px; background: var(--line); flex: none; }
.mn-nav__cap {
  margin: 16px 12px 6px;
  font-size: 11px; color: var(--t3);
  font-family: var(--num); letter-spacing: .08em;
}
.mn-side__foot { margin-top: auto; padding: 16px 12px; font-size: 11px; color: var(--t3); }

/* ---------- 顶栏 ---------- */
.mn-top {
  position: fixed; top: 0; left: var(--sb); right: 0;
  height: var(--top);
  display: flex; align-items: center; gap: 20px;
  padding: 0 var(--gut);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 50;
  transition: box-shadow .3s var(--ease);
}
.mn-top.is-solid { box-shadow: 0 1px 0 var(--line); }
.mn-top__logo {
  display: none; align-items: center; gap: 8px;
  font-size: 17px; font-weight: 500;
  flex: 0 1 auto; min-width: 0;
}
.mn-top__logo .mn-logo__mark { flex: none; }
.mn-top__logo span {
  display: block; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@media (max-width: 1023px) { .mn-top { left: 0; } .mn-top__logo { display: flex; } }
@media (max-width: 767px) {
  .mn-top { gap: 10px; padding: 0 14px; }
  .mn-top__logo { font-size: 16px; gap: 6px; }
  .mn-logo__mark { width: 20px; height: 20px; }
  .mn-search { min-width: 0; }
  .mn-search__btn { display: none; }
  .mn-search__ico { margin: 0 6px 0 10px; }
  .mn-search__input { font-size: 13px; }
  .mn-top__acts .mn-act { padding: 0 9px; }
  .mn-top__acts .mn-act span { display: none; }
}

.mn-search {
  position: relative;
  flex: 1; max-width: 560px;
  display: flex; align-items: center;
  height: 40px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  transition: border-color .18s var(--ease);
}
.mn-search:focus-within { border-color: var(--line-strong); }
.mn-search__ico { width: 17px; height: 17px; margin: 0 10px 0 14px; color: var(--t3); }
.mn-search__input {
  flex: 1; height: 100%;
  background: none; border: 0; outline: none;
  color: var(--t1); font-size: 14px;
}
.mn-search__input::placeholder { color: var(--t3); }
.mn-search__input::-webkit-search-cancel-button { display: none; }
.mn-search__btn {
  height: 30px; margin: 0 5px; padding: 0 16px;
  border-radius: 6px;
  background: var(--panel-2); color: var(--t2);
  font-size: 13px;
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.mn-search__btn:hover { color: var(--t1); background: var(--bg-2); }

.mn-suggest {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .5);
}
.mn-suggest__label { padding: 6px 10px; font-size: 11px; color: var(--t3); font-family: var(--num); }
.mn-suggest__item {
  display: flex; align-items: center; gap: 10px;
  height: 34px; padding: 0 10px;
  border-radius: 6px;
  color: var(--t2); font-size: 13px;
}
.mn-suggest__item:hover { color: var(--t1); background: rgba(242, 236, 226, .06); }
.mn-suggest__item .mn-ico { width: 15px; height: 15px; color: var(--t3); }
.mn-suggest__item em { font-style: normal; font-family: var(--num); font-size: 12px; color: var(--amber); width: 18px; }

.mn-top__acts { display: flex; align-items: center; gap: 8px; margin-left: auto; flex: none; }
.mn-actwrap { position: relative; }
.mn-act {
  position: relative;
  display: flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 12px;
  border-radius: var(--r-s);
  color: var(--t2); font-size: 13px;
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.mn-act:hover { color: var(--t1); background: rgba(242, 236, 226, .06); }
.mn-act .mn-ico { width: 17px; height: 17px; }

/* 历史下拉 */
.mn-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  width: 340px; max-height: 420px; overflow: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .5);
}
.mn-menu__empty { padding: 24px 0; text-align: center; color: var(--t3); font-size: 13px; }
.mn-menu__row { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 6px; }
.mn-menu__row:hover { background: rgba(242, 236, 226, .06); }
.mn-menu__pic { width: 42px; height: 56px; object-fit: cover; border-radius: 4px; background: var(--panel-2); flex: none; }
.mn-menu__body { min-width: 0; flex: 1; }
.mn-menu__name { font-size: 13px; color: var(--t1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mn-menu__meta { font-size: 11px; color: var(--t3); font-family: var(--num); }
.mn-menu__del { color: var(--t3); font-size: 12px; padding: 4px; flex: none; }
.mn-menu__del:hover { color: var(--t1); }

/* ---------- 移动端频道条 / 底部标签栏 ---------- */
.mn-chan {
  display: none;
  height: 40px; margin: 0 calc(var(--gut) * -1);
  padding: 0 var(--gut);
  align-items: center; gap: 20px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 1023px) { .mn-chan { display: flex; } }
.mn-chan__item { font-size: 14px; color: var(--t2); flex: none; padding: 8px 0; }
.mn-chan__item.is-active { color: var(--amber); }

.mn-tabbar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0;
  height: calc(56px + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  z-index: 60;
}
@media (max-width: 1023px) { .mn-tabbar { display: flex; } }
.mn-tabbar__item {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font-size: 11px; color: var(--t3);
}
.mn-tabbar__item.is-active { color: var(--amber); }
.mn-tabbar__item .mn-ico { width: 20px; height: 20px; }

/* ---------- 区块 ---------- */
.mn-sec { margin-top: 44px; }
.mn-sec:first-child { margin-top: 0; }
.mn-sec__hd {
  display: flex; align-items: baseline; gap: 12px;
  margin-bottom: 16px;
}
.mn-sec__tick {
  width: 3px; height: 16px;
  background: var(--amber);
  border-radius: 2px;
  align-self: center;
  flex: none;
}
.mn-sec__title { font-family: var(--serif); font-size: 20px; font-weight: 500; color: var(--t1); letter-spacing: .02em; }
.mn-sec__meta { font-size: 12px; color: var(--t3); font-family: var(--num); }
.mn-sec__more { margin-left: auto; display: flex; align-items: center; gap: 2px; font-size: 13px; color: var(--t3); }
.mn-sec__more:hover { color: var(--t1); }
.mn-sec__more .mn-ico { width: 14px; height: 14px; }

/* ---------- 卡片 ---------- */
.mn-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px 20px; }
@media (max-width: 1600px) { .mn-grid { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 1280px) { .mn-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 1023px) { .mn-grid { grid-template-columns: repeat(4, 1fr); gap: 16px 12px; } }
@media (max-width: 767px)  { .mn-grid { grid-template-columns: repeat(3, 1fr); } }

.mn-card { display: block; min-width: 0; }
.mn-card__pic {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: var(--r-m);
  overflow: hidden;
  background: var(--panel);
  transition: border-color .18s var(--ease);
  outline: 1px solid transparent;
}
.mn-card:hover .mn-card__pic { outline-color: var(--line-strong); }
.mn-card__pic img {
  width: 100%; height: 100%;
  object-fit: cover;
  background: var(--panel) url("../img/ph-v.svg") center / cover no-repeat;
}
.mn-card__note {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 20px 10px 6px;
  background: linear-gradient(180deg, transparent, rgba(12, 10, 8, .78));
  font-family: var(--num);
  font-size: 11px; color: rgba(240, 235, 224, .82);
  white-space: nowrap; overflow: hidden;
}
.mn-card__title {
  margin-top: 10px;
  font-size: 14px; color: var(--t1);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mn-card__sub {
  margin-top: 2px;
  font-size: 12px; color: var(--t3);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* 横滑轨道 */
.mn-rail { position: relative; margin: 0 calc(var(--gut) * -1); }
.mn-rail__track {
  display: flex; gap: 20px;
  overflow-x: auto; scroll-behavior: smooth;
  padding: 0 var(--gut);
  scrollbar-width: none;
}
.mn-rail__track::-webkit-scrollbar { display: none; }
.mn-rail .mn-card { width: calc((100% - 5 * 20px) / 6); flex: none; }
@media (max-width: 1600px) { .mn-rail .mn-card { width: calc((100% - 4 * 20px) / 5); } }
@media (max-width: 1280px) { .mn-rail .mn-card { width: calc((100% - 3 * 20px) / 4); } }
@media (max-width: 767px)  { .mn-rail { margin: 0 calc(var(--gut) * -1); } .mn-rail__track { gap: 12px; padding: 0 var(--gut); } .mn-rail .mn-card { width: 132px; } }

/* ---------- Hero ---------- */
.mn-hero { position: relative; min-height: 480px; border-radius: var(--r-l); overflow: hidden; background: var(--bg-2); }
@media (max-width: 767px) { .mn-hero { min-height: 460px; } }
.mn-hero__slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .55s var(--ease), visibility .55s var(--ease);
  z-index: 1;
}
.mn-hero__slide.is-active { opacity: 1; visibility: visible; }
.mn-hero__bg { position: absolute; inset: 0; }
.mn-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 20%;
  opacity: .5;
}
.mn-hero__mask {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(19, 18, 16, .92) 0%, rgba(19, 18, 16, .55) 45%, rgba(19, 18, 16, .15) 100%),
              linear-gradient(0deg, var(--bg) 2%, transparent 40%);
}
@media (max-width: 767px) {
  .mn-hero__mask { background: linear-gradient(0deg, rgba(19, 18, 16, .95) 20%, rgba(19, 18, 16, .35) 100%); }
}
.mn-hero__info {
  position: relative; z-index: 2;
  max-width: 560px;
  padding: 72px 44px 48px;
}
@media (max-width: 767px) { .mn-hero__info { padding: 170px 20px 0; max-width: none; } }
.mn-hero__no {
  font-family: var(--num); font-size: 12px; color: var(--amber);
  letter-spacing: .12em;
}
.mn-hero__title {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 34px; font-weight: 500; line-height: 1.3;
  color: var(--t1);
}
@media (max-width: 767px) { .mn-hero__title { font-size: 24px; } }
.mn-hero__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px;
  margin-top: 12px;
  font-size: 13px; color: var(--t2);
  font-family: var(--num);
}
.mn-hero__score { color: var(--amber); font-size: 15px; }
.mn-hero__desc {
  margin-top: 14px;
  color: var(--t2); font-size: 13px; line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.mn-hero__acts { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.mn-btn {
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 22px;
  border-radius: var(--r-s);
  font-size: 14px;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.mn-btn .mn-ico { width: 16px; height: 16px; }
.mn-btn--primary { background: var(--btn); color: var(--btn-t); font-weight: 500; }
.mn-btn--primary:hover { background: #fffdf8; color: var(--btn-t); }
.mn-btn--ghost { border: 1px solid var(--line-strong); color: var(--t2); }
.mn-btn--ghost:hover { color: var(--t1); border-color: rgba(242, 236, 226, .3); }

/* Hero 缩略图切换 */
.mn-hero__thumbs {
  position: absolute; right: 32px; bottom: 32px; z-index: 3;
  display: flex; gap: 8px;
}
.mn-hero__thumb {
  width: 56px; height: 78px;
  border-radius: 6px; overflow: hidden;
  outline: 1px solid var(--line-strong);
  outline-offset: 0;
  opacity: .55;
  transition: opacity .18s var(--ease), outline-color .18s var(--ease);
}
.mn-hero__thumb.is-active { opacity: 1; outline-color: var(--amber); }
.mn-hero__thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) {
  .mn-hero__desc { -webkit-line-clamp: 1; }
  .mn-hero__thumbs { right: 16px; bottom: 16px; }
  .mn-hero__thumb { width: 44px; height: 61px; }
}
@media (max-width: 359px) { .mn-hero__info { padding-top: 150px; } }

/* ---------- 页头（列表/详情类页面） ---------- */
.mn-pagehd { margin-bottom: 20px; }
.mn-pagehd__kick { font-family: var(--num); font-size: 12px; color: var(--amber); letter-spacing: .12em; }
.mn-pagehd__title { margin-top: 6px; font-family: var(--serif); font-size: 28px; font-weight: 500; }
.mn-pagehd__sub { margin-top: 6px; font-size: 13px; color: var(--t3); }

/* 筛选 Chips */
.mn-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.mn-chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 14px;
  border-radius: var(--r-s);
  border: 1px solid var(--line);
  color: var(--t2); font-size: 13px;
  transition: color .18s var(--ease), border-color .18s var(--ease), background-color .18s var(--ease);
}
.mn-chip:hover { color: var(--t1); border-color: var(--line-strong); }
.mn-chip.is-active { color: var(--amber); border-color: var(--amber-line); background: var(--amber-weak); }
.mn-chip .mn-ico { width: 14px; height: 14px; }

/* 筛选面板 */
.mn-filter {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: 20px 24px;
  margin-bottom: 28px;
}
.mn-filter__row { display: flex; align-items: flex-start; gap: 16px; padding: 6px 0; }
.mn-filter__row + .mn-filter__row { border-top: 1px solid var(--line); }
.mn-filter__label { width: 44px; flex: none; padding-top: 4px; font-size: 13px; color: var(--t3); }
.mn-filter__opts { display: flex; flex-wrap: wrap; gap: 4px 8px; min-width: 0; }
.mn-filter__opts a {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 13px; color: var(--t2);
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.mn-filter__opts a:hover { color: var(--t1); }
.mn-filter__opts a.is-active { color: var(--amber); background: var(--amber-weak); }

/* ---------- 分页 ---------- */
.mn-pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 40px; }
.mn-pager a, .mn-pager span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 10px;
  border-radius: var(--r-s);
  font-family: var(--num); font-size: 13px;
  color: var(--t2);
  border: 1px solid transparent;
}
.mn-pager a:hover { color: var(--t1); background: rgba(242, 236, 226, .06); }
.mn-pager .is-active { color: var(--amber); border-color: var(--amber-line); background: var(--amber-weak); }
.mn-pager .is-disabled { color: var(--t3); }
.mn-pager__info { font-size: 12px; color: var(--t3); font-family: var(--num); margin-left: 8px; }

/* ---------- 详情页 ---------- */
.mn-detail { position: relative; border-radius: var(--r-l); overflow: hidden; background: var(--bg-2); }
.mn-detail__bg { position: absolute; inset: 0; }
.mn-detail__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.mn-detail__bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, var(--bg-2) 4%, rgba(24, 22, 20, .45) 100%);
}
.mn-detail__inner {
  position: relative; z-index: 2;
  display: flex; gap: 36px;
  padding: 40px;
}
@media (max-width: 767px) {
  .mn-detail__inner { flex-direction: column; gap: 20px; padding: 24px 20px; }
  .mn-detail__poster { width: 148px; }
}
.mn-detail__poster {
  width: 224px; flex: none;
  aspect-ratio: 2 / 3;
  border-radius: var(--r-m);
  overflow: hidden;
  outline: 1px solid var(--line-strong);
  background: var(--panel);
}
.mn-detail__poster img { width: 100%; height: 100%; object-fit: cover; background: var(--panel) url("../img/ph-v.svg") center / cover no-repeat; }
.mn-detail__body { min-width: 0; flex: 1; padding-top: 8px; }
.mn-detail__no { font-family: var(--num); font-size: 12px; color: var(--amber); letter-spacing: .12em; }
.mn-detail__title {
  margin-top: 8px;
  font-family: var(--serif); font-size: 30px; font-weight: 500; line-height: 1.3;
}
@media (max-width: 767px) { .mn-detail__title { font-size: 24px; } }
.mn-detail__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px;
  margin-top: 12px;
  font-family: var(--num); font-size: 13px; color: var(--t2);
}
.mn-detail__meta a { color: var(--t2); }
.mn-detail__meta a:hover { color: var(--amber); }
.mn-detail__score { color: var(--amber); font-size: 16px; }
.mn-detail__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.mn-detail__chips .mn-chip { height: 28px; padding: 0 12px; font-size: 12px; }
.mn-detail__people { margin-top: 18px; display: flex; flex-direction: column; gap: 6px; }
.mn-detail__people div { display: flex; gap: 12px; font-size: 13px; }
.mn-detail__people dt { color: var(--t3); flex: none; }
.mn-detail__people dd { color: var(--t2); min-width: 0; }
.mn-detail__people dd a { color: var(--t2); }
.mn-detail__people dd a:hover { color: var(--amber); }
.mn-detail__acts { display: flex; align-items: center; gap: 12px; margin-top: 24px; }

.mn-desc { position: relative; margin-top: 18px; max-width: 720px; }
.mn-desc__text { color: var(--t2); font-size: 13px; line-height: 1.8; white-space: pre-line; }
.mn-desc.is-folded .mn-desc__text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mn-desc__btn { margin-top: 6px; font-size: 12px; color: var(--t3); display: inline-flex; align-items: center; gap: 4px; }
.mn-desc__btn:hover { color: var(--amber); }
.mn-desc__btn .mn-ico { width: 13px; height: 13px; transition: transform .18s var(--ease); }
.mn-desc:not(.is-folded) .mn-desc__btn .mn-ico { transform: rotate(90deg); }

/* 选集 */
.mn-eps__panel { margin-bottom: 16px; }
.mn-eps__panel:last-child { margin-bottom: 0; }
.mn-eps__hd { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 13px; color: var(--t2); }
.mn-eps__hd strong { color: var(--t1); font-weight: 500; }
.mn-eps__hd span { color: var(--t3); font-family: var(--num); font-size: 12px; }
.mn-eps__list { display: flex; flex-wrap: wrap; gap: 8px; }
.mn-eps__item {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  min-width: 56px; height: 34px; padding: 0 14px;
  border-radius: var(--r-s);
  border: 1px solid var(--line);
  font-size: 13px; color: var(--t2);
  font-family: var(--num);
  transition: color .18s var(--ease), border-color .18s var(--ease), background-color .18s var(--ease);
}
.mn-eps__item:hover { color: var(--t1); border-color: var(--line-strong); }
.mn-eps__item.is-cur { color: var(--amber); border-color: var(--amber-line); background: var(--amber-weak); }

/* ---------- 播放页 ---------- */
.mn-play { display: flex; gap: 32px; align-items: flex-start; }
@media (max-width: 1023px) { .mn-play { flex-direction: column; gap: 24px; } }
.mn-play__main { flex: 1; min-width: 0; }
.mn-play__side { width: 360px; flex: none; display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 1023px) { .mn-play__side { width: 100%; } }

.mn-player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--r-l);
  overflow: hidden;
}
.mn-player .MacPlayer, .mn-player iframe, .mn-player video, .mn-player embed, .mn-player object { width: 100% !important; height: 100% !important; }
.mn-player__loading {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: #000 var(--ph, none) center / cover no-repeat;
  z-index: 1;
  transition: opacity .4s var(--ease);
}
.mn-player__loading::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(10, 9, 8, .6);
}
.mn-player.is-ready .mn-player__loading { opacity: 0; pointer-events: none; }
.mn-player__loading i {
  width: 28px; height: 28px;
  border: 2px solid var(--line-strong);
  border-top-color: var(--amber);
  border-radius: 50%;
  animation: mn-spin 1s linear infinite;
  position: relative; z-index: 1;
}
.mn-player__loading span { position: relative; z-index: 1; font-size: 13px; color: var(--t2); }
@keyframes mn-spin { to { transform: rotate(360deg); } }

.mn-play__bar { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.mn-play__title { font-family: var(--serif); font-size: 20px; font-weight: 500; min-width: 0; }
.mn-play__title a { color: var(--t1); }
.mn-play__title a:hover { color: var(--amber); }
.mn-play__ctrl { margin-left: auto; display: flex; gap: 8px; flex: none; }
.mn-play__btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 12px;
  border-radius: var(--r-s);
  border: 1px solid var(--line);
  color: var(--t2); font-size: 13px;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.mn-play__btn:hover { color: var(--t1); border-color: var(--line-strong); }
.mn-play__btn.is-on { color: var(--amber); border-color: var(--amber-line); }
.mn-play__btn .mn-ico { width: 15px; height: 15px; }
.mn-play__btn .mn-ico.is-fill { fill: currentColor; stroke: none; }

/* 播放侧栏 */
.mn-sideinfo { display: flex; gap: 14px; }
.mn-sideinfo__pic { width: 108px; flex: none; aspect-ratio: 2/3; border-radius: var(--r-m); overflow: hidden; outline: 1px solid var(--line); }
.mn-sideinfo__pic img { width: 100%; height: 100%; object-fit: cover; background: var(--panel) url("../img/ph-v.svg") center / cover no-repeat; }
.mn-sideinfo__body { min-width: 0; flex: 1; }
.mn-sideinfo__title { font-family: var(--serif); font-size: 18px; font-weight: 500; line-height: 1.4; }
.mn-sideinfo__title a:hover { color: var(--amber); }
.mn-sideinfo__meta { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 8px; font-family: var(--num); font-size: 12px; color: var(--t2); }
.mn-sideinfo__meta .mn-hero__score { font-size: 14px; }
.mn-sideinfo__tags { margin-top: 8px; font-size: 12px; color: var(--t3); }

/* ---------- 排行榜 ---------- */
.mn-tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.mn-tabs__btn {
  height: 34px; padding: 0 16px;
  border-radius: var(--r-s);
  border: 1px solid var(--line);
  color: var(--t2); font-size: 13px;
  transition: color .18s var(--ease), border-color .18s var(--ease), background-color .18s var(--ease);
}
.mn-tabs__btn.is-active { color: var(--amber); border-color: var(--amber-line); background: var(--amber-weak); }
.mn-panel[hidden] { display: none; }
.mn-rankgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 24px; }
@media (max-width: 1023px) { .mn-rankgrid { grid-template-columns: 1fr; } }
.mn-rankcol { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-l); padding: 20px 24px; }
.mn-rankcol__hd {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 12px; margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 14px; font-weight: 500; color: var(--t1);
}
.mn-rankcol__hd .mn-ico { width: 15px; height: 15px; color: var(--amber); }
.mn-rankcol__hd small { margin-left: auto; font-size: 12px; color: var(--t3); font-family: var(--num); font-weight: 400; }
.mn-rank__item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0;
}
.mn-rank__item + .mn-rank__item { border-top: 1px solid var(--line); }
.mn-rank__no {
  width: 32px; flex: none;
  font-family: var(--num); font-size: 15px; color: var(--t3);
  text-align: center;
}
.mn-rank__no.is-top { color: var(--amber); font-size: 16px; }
.mn-rank__pic { width: 42px; height: 56px; flex: none; border-radius: 6px; overflow: hidden; background: var(--panel); }
.mn-rank__pic img { width: 100%; height: 100%; object-fit: cover; background: var(--panel) url("../img/ph-v.svg") center / cover no-repeat; }
.mn-rank__body { min-width: 0; flex: 1; }
.mn-rank__title { display: block; font-size: 14px; color: var(--t1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mn-rank__sub { display: block; margin-top: 2px; font-size: 12px; color: var(--t3); font-family: var(--num); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mn-rank__heat { flex: none; font-family: var(--num); font-size: 13px; color: var(--t3); }
.mn-rank__item:hover .mn-rank__title { color: var(--amber-strong); }

/* ---------- 页脚 ---------- */
.mn-foot { border-top: 1px solid var(--line); margin-top: 56px; padding: 28px var(--gut) 40px; }
.mn-foot__links { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 13px; color: var(--t2); }
.mn-foot__links a:hover { color: var(--amber); }
.mn-foot__copy { margin-top: 12px; font-size: 12px; color: var(--t3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mn-foot__tip { margin-top: 4px; font-size: 12px; color: var(--t3); }

/* 空态 */
.mn-empty {
  padding: 64px 0; text-align: center;
  color: var(--t3); font-size: 13px;
}

/* 返回顶部 */
.mn-top-btn {
  position: fixed; right: 28px; bottom: 96px; z-index: 55;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--t2);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .25s var(--ease), color .18s var(--ease);
}
.mn-top-btn.is-show { opacity: 1; pointer-events: auto; }
.mn-top-btn:hover { color: var(--amber); }
@media (max-width: 1023px) { .mn-top-btn { right: 16px; bottom: calc(72px + env(safe-area-inset-bottom, 0px)); } }

/* 提示浮层 */
.mn-toast {
  position: fixed; left: 50%; bottom: 96px; z-index: 200;
  transform: translateX(-50%);
  padding: 10px 18px;
  background: var(--panel-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-s);
  color: var(--t1); font-size: 13px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .4);
}
