/* site-craft · 成品12 · 蜜柑杂志 v9
   播放页：可读侧栏 · 杂志信息卡 · 相关推荐轨
   色板：蜜柑橙 #ea580c · 墨黑 #0c1222 · 暖纸 #fff7ed */

:root {
  --ed-orange: #ea580c;
  --ed-orange-deep: #c2410c;
  --ed-ink: #0c1222;
  --ed-paper: #fff7ed;
  --ed-sheet: #ffedd5;
  --ed-surface: #ffffff;
  --ed-muted: #78716c;
  --ed-line: rgba(12, 18, 34, 0.12);
  --ed-primary: var(--ed-orange);
  --ed-cta: var(--ed-orange);
  --ed-accent: #fb923c;
  --ed-bg: var(--ed-paper);
  --ed-dark: var(--ed-ink);
  --ed-secondary: var(--ed-orange-deep);
  --ed-max: 1080px;
  --ed-serif: "Noto Serif SC", "Songti SC", "STSong", serif;
  --ed-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --site-accent: #ea580c;
  --site-secondary: #c2410c;
  --site-ink: #0c1222;
  --site-bg: #fff7ed;
  color-scheme: light;
}

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

body.ed-body {
  margin: 0 !important;
  min-height: 100vh !important;
  color: var(--ed-ink) !important;
  font-family: var(--ed-sans) !important;
  background: var(--ed-paper) !important;
  background-image:
    radial-gradient(900px 420px at 50% -15%, rgba(251, 146, 60, 0.22), transparent 55%),
    linear-gradient(180deg, #fffbeb 0%, #fff7ed 40%, #ffedd5 100%) !important;
  overflow-x: clip !important;
}

body.ed-body a { color: var(--ed-orange-deep) !important; text-decoration: none !important; }
body.ed-body a:hover { color: var(--ed-ink) !important; }

body.ed-body h1,
body.ed-body h2,
body.ed-body .ed-logo strong,
body.ed-body .ed-foot__brand strong {
  font-family: var(--ed-serif) !important;
}

/* 无障碍隐藏（母模版缺 .sr-only，会把「搜索影视」露出来） */
body.ed-body .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* 旧顶条彻底隐藏，改用刊头 */
body.ed-body .ed-strip { display: none !important; }

/* ══════════════════════════════════════
   头部：暖纸横排刊头 + 轻导航（一条连续色带）
   ══════════════════════════════════════ */
body.ed-body .ed-head,
body.ed-body .ed-head--mag {
  position: sticky !important;
  top: 0 !important;
  z-index: 220 !important;
  background: rgba(255, 251, 245, 0.96) !important;
  border-bottom: 1px solid rgba(234, 88, 12, 0.18) !important;
  box-shadow: 0 8px 24px rgba(12, 18, 34, 0.05) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-top: env(safe-area-inset-top, 0);
}

body.ed-body .ed-head__top {
  max-width: var(--ed-max) !important;
  margin: 0 auto !important;
  padding: 12px 16px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.1fr) auto minmax(0, 1.1fr) !important;
  align-items: center !important;
  gap: 12px 16px !important;
  border-bottom: 1px solid rgba(12, 18, 34, 0.06) !important;
}

body.ed-body .ed-head__issue {
  margin: 0 !important;
  justify-self: start !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  color: var(--ed-orange-deep) !important;
  opacity: 0.9;
  line-height: 1.3 !important;
}

body.ed-body .ed-logo {
  justify-self: center !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px !important;
  text-align: left !important;
  color: var(--ed-ink) !important;
}

body.ed-body .ed-logo__mark {
  width: 40px !important;
  height: 40px !important;
  border-radius: 12px !important;
  display: grid !important;
  place-items: center !important;
  flex-shrink: 0;
  background: linear-gradient(145deg, #fb923c, #ea580c 55%, #c2410c) !important;
  color: #fff !important;
  font-size: 1rem !important;
  font-weight: 900 !important;
  box-shadow: 0 6px 14px rgba(234, 88, 12, 0.28) !important;
  border: 0 !important;
}

body.ed-body .ed-logo__text {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 1px !important;
  line-height: 1.15 !important;
}

body.ed-body .ed-logo__text strong {
  font-size: 1.2rem !important;
  letter-spacing: 0.06em !important;
  color: var(--ed-ink) !important;
}

body.ed-body .ed-logo__text em {
  font-style: normal !important;
  font-size: 0.68rem !important;
  color: var(--ed-muted) !important;
  letter-spacing: 0.08em !important;
}

body.ed-body .ed-head__tools {
  justify-self: end !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

body.ed-body .ed-search {
  display: flex !important;
  align-items: stretch !important;
  border: 1px solid rgba(12, 18, 34, 0.1) !important;
  border-radius: 999px !important;
  overflow: hidden;
  background: #fff !important;
  max-width: 240px;
  min-height: 40px;
  box-shadow: none !important;
}

body.ed-body .ed-search input {
  border: 0 !important;
  background: transparent !important;
  padding: 0 14px !important;
  min-width: 0;
  flex: 1;
  font-size: 0.86rem !important;
  color: var(--ed-ink) !important;
}

body.ed-body .ed-search button {
  border: 0 !important;
  background: var(--ed-orange) !important;
  color: #fff !important;
  font-weight: 800 !important;
  padding: 0 16px !important;
  font-size: 0.84rem !important;
}

body.ed-body .ed-burger {
  width: 40px !important;
  height: 40px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(12, 18, 34, 0.12) !important;
  background: #fff !important;
}
body.ed-body .ed-burger span { background: var(--ed-ink) !important; }

/* 轻导航：暖纸底 + 橙字，不再整条大色块 */
body.ed-body .ed-nav,
body.ed-body .ed-nav--mag {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 2px 4px !important;
  margin: 0 !important;
  padding: 8px 12px 10px !important;
  background: transparent !important;
  border-top: 0 !important;
}

body.ed-body .ed-nav a {
  padding: 7px 13px !important;
  border-radius: 999px !important;
  color: var(--ed-ink) !important;
  font-weight: 700 !important;
  font-size: 0.86rem !important;
  background: transparent !important;
  border: 0 !important;
  border-right: 0 !important;
  border-left: 0 !important;
  opacity: 0.82;
}

body.ed-body .ed-nav a:hover {
  background: rgba(234, 88, 12, 0.1) !important;
  color: var(--ed-orange-deep) !important;
  opacity: 1;
}

body.ed-body .ed-nav a[aria-current="page"] {
  background: var(--ed-orange) !important;
  color: #fff !important;
  opacity: 1;
  box-shadow: 0 6px 14px rgba(234, 88, 12, 0.28);
}

/* 兼容未改完的旧 ed-head__inner */
body.ed-body .ed-head__inner {
  display: none !important;
}
body.ed-body .ed-head--mag .ed-head__inner {
  display: none !important;
}

/* 面包屑：杂志路径，不要黑描边胶囊 */
body.ed-body .ed-crumb,
body.ed-body .ed-crumb--watch {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 6px 8px !important;
  width: fit-content !important;
  max-width: 100% !important;
  margin: 16px 0 18px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--ed-muted) !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
}
body.ed-body .ed-crumb a {
  color: var(--ed-orange-deep) !important;
  font-weight: 700 !important;
}
body.ed-body .ed-crumb a:hover { color: var(--ed-ink) !important; }
body.ed-body .ed-crumb span[aria-hidden="true"] {
  color: rgba(120, 113, 108, 0.55) !important;
  font-weight: 500 !important;
}
body.ed-body .ed-crumb > span:not([aria-hidden]) {
  color: var(--ed-ink) !important;
  font-weight: 700 !important;
}

/* ══════════════════════════════════════
   中部主区
   ══════════════════════════════════════ */
body.ed-body .ed-main {
  max-width: var(--ed-max) !important;
  margin: 0 auto !important;
  padding: 0 16px 56px !important;
}

/* 全幅通栏英雄：贴顶铺满视口宽，杂志封面感 */
body.ed-body .ed-hero,
body.ed-body .ed-hero--mag {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  margin-top: 0 !important;
  margin-bottom: 36px !important;
  min-height: clamp(420px, 62vh, 640px) !important;
  padding: 48px 24px !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  background: var(--ed-ink) !important;
  box-shadow: none !important;
  grid-template-columns: none !important;
}

body.ed-body .ed-hero__bg {
  position: absolute !important;
  inset: 0 !important;
  background:
    url("../../vod/4.jpg") center/cover no-repeat !important;
  transform: scale(1.04);
  filter: saturate(1.05);
  z-index: 0;
}

body.ed-body .ed-hero__veil {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(12, 18, 34, 0.72) 0%, rgba(12, 18, 34, 0.58) 42%, rgba(124, 45, 18, 0.72) 100%) !important;
}

body.ed-body .ed-hero__copy {
  position: relative !important;
  z-index: 2;
  width: min(100%, 520px) !important;
  margin: 0 auto !important;
  padding: 28px 24px !important;
  text-align: center !important;
  border: 0 !important;
  border-radius: 22px !important;
  background: rgba(12, 18, 34, 0.42) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 18px 40px rgba(0, 0, 0, 0.22);
}

body.ed-body .ed-hero__mosaic { display: none !important; }

body.ed-body .ed-hero__label {
  display: inline-block !important;
  margin: 0 0 12px !important;
  padding: 6px 14px !important;
  border-radius: 999px !important;
  background: var(--ed-orange) !important;
  color: #fff !important;
  font-size: 0.7rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.18em !important;
}

body.ed-body .ed-hero h1 {
  margin: 0 0 12px !important;
  color: #fff !important;
  font-size: clamp(2.2rem, 6vw, 3.2rem) !important;
  letter-spacing: 0.06em !important;
  border: 0 !important;
  padding: 0 !important;
  background: none !important;
  -webkit-text-fill-color: #fff !important;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

body.ed-body .ed-hero__desc {
  margin: 0 auto 20px !important;
  color: rgba(255, 247, 237, 0.92) !important;
  max-width: 28em;
  line-height: 1.7 !important;
}

body.ed-body .ed-hero__form { display: none !important; }

body.ed-body .ed-hero__cta {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 10px !important;
  margin-top: 4px;
}

body.ed-body .ed-hero__btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px;
  padding: 0 22px !important;
  border-radius: 999px !important;
  background: var(--ed-orange) !important;
  color: #fff !important;
  font-weight: 800 !important;
  font-size: 0.92rem !important;
  box-shadow: 0 10px 22px rgba(234, 88, 12, 0.35) !important;
  border: 0 !important;
}

body.ed-body .ed-hero__btn:hover {
  color: #fff !important;
  filter: brightness(1.05);
}

body.ed-body .ed-hero__btn--ghost {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff7ed !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  box-shadow: none !important;
}

body.ed-body .ed-hero__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
}

/* 分区：干净刊头线 */
body.ed-body .ed-section { margin: 0 0 40px !important; }
body.ed-body .ed-section__head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-bottom: 18px !important;
  padding: 0 0 12px !important;
  border-bottom: 1px solid rgba(12, 18, 34, 0.12) !important;
  box-shadow: none !important;
}
body.ed-body .ed-section__title {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 0;
}
body.ed-body .ed-section__title h2 {
  margin: 0 !important;
  font-size: 1.28rem !important;
  letter-spacing: 0.02em;
  line-height: 1.25 !important;
}
body.ed-body .ed-section__title h2::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 1.05em;
  margin-right: 10px;
  vertical-align: -0.12em;
  border-radius: 2px;
  background: linear-gradient(180deg, #ea580c, #c2410c);
}
body.ed-body .ed-badge,
body.ed-body .ed-badge--hot,
body.ed-body .ed-badge--cat,
body.ed-body .ed-badge--new {
  border-radius: 6px !important;
  background: rgba(234, 88, 12, 0.1) !important;
  color: var(--ed-orange-deep) !important;
  border: 0 !important;
  padding: 3px 8px !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}
body.ed-body .ed-badge--hot {
  background: var(--ed-orange) !important;
  color: #fff !important;
}
body.ed-body .ed-link {
  color: var(--ed-muted) !important;
  font-weight: 700 !important;
  font-size: 0.86rem !important;
  white-space: nowrap;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
body.ed-body .ed-link::after { content: " ›"; color: var(--ed-orange); }
body.ed-body .ed-link:hover {
  color: var(--ed-orange-deep) !important;
  background: transparent !important;
}

/* 中部片单：横滑轨 + 杂志网格 */
body.ed-body .ed-rail {
  display: flex !important;
  gap: 14px !important;
  overflow-x: auto !important;
  padding: 2px 2px 14px !important;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
body.ed-body .ed-rail > .ed-card {
  flex: 0 0 168px !important;
  width: 168px !important;
  max-width: 168px !important;
  scroll-snap-align: start;
}
body.ed-body .ed-grid {
  display: grid !important;
  gap: 22px 16px !important;
}
body.ed-body .ed-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
body.ed-body .ed-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
body.ed-body .ed-cats {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
}
body.ed-body .category-tile {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  padding: 18px 16px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(12, 18, 34, 0.1) !important;
  background: #fff !important;
  box-shadow: 0 8px 20px rgba(12, 18, 34, 0.04) !important;
  color: var(--ed-ink) !important;
  min-height: 108px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
body.ed-body .category-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(234, 88, 12, 0.35) !important;
  box-shadow: 0 14px 28px rgba(234, 88, 12, 0.1) !important;
  color: var(--ed-ink) !important;
}
body.ed-body .category-tile strong {
  font-family: var(--ed-serif) !important;
  font-size: 1.05rem !important;
  letter-spacing: 0.03em;
}
body.ed-body .category-tile span {
  color: var(--ed-muted) !important;
  font-size: 0.82rem !important;
  line-height: 1.55 !important;
}
@media (max-width: 960px) {
  body.ed-body .ed-grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  body.ed-body .ed-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  body.ed-body .ed-rail > .ed-card {
    flex-basis: 148px !important;
    width: 148px !important;
    max-width: 148px !important;
  }
}
@media (max-width: 640px) {
  body.ed-body .ed-grid--5,
  body.ed-body .ed-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  body.ed-body .ed-cats { grid-template-columns: 1fr !important; }
}

/* 卡片：轻杂志封（去掉漫画硬阴影） */
body.ed-body .ed-card {
  border-radius: 14px !important;
  border: 1px solid rgba(12, 18, 34, 0.08) !important;
  background: #fff !important;
  box-shadow: 0 10px 24px rgba(12, 18, 34, 0.05) !important;
  overflow: hidden !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
body.ed-body .ed-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 16px 32px rgba(12, 18, 34, 0.1) !important;
}
body.ed-body .ed-card__thumb {
  position: relative !important;
  display: block !important;
  overflow: hidden !important;
  background: #e7e5e4 !important;
}
body.ed-body .ed-card__thumb > img {
  aspect-ratio: 2 / 3 !important;
  object-fit: cover !important;
  width: 100% !important;
  height: auto !important;
  display: block !important;
  vertical-align: top;
}
body.ed-body .ed-card__badge {
  position: absolute !important;
  left: 8px !important;
  top: 8px !important;
  right: auto !important;
  bottom: auto !important;
  width: auto !important;
  height: auto !important;
  border-radius: 6px !important;
  background: var(--ed-orange) !important;
  color: #fff !important;
  font-weight: 800 !important;
  font-size: 0.68rem !important;
  padding: 3px 8px !important;
  z-index: 3 !important;
  line-height: 1.2 !important;
}
/* 关键修：母模版 year 有 bottom，与 top 并存会拉成右侧白竖条 */
body.ed-body .ed-card__year {
  position: absolute !important;
  right: 8px !important;
  top: 8px !important;
  left: auto !important;
  bottom: auto !important;
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  border-radius: 6px !important;
  background: rgba(12, 18, 34, 0.72) !important;
  color: #fff !important;
  border: 0 !important;
  font-weight: 700 !important;
  font-size: 0.68rem !important;
  padding: 3px 7px !important;
  z-index: 3 !important;
  line-height: 1.2 !important;
  backdrop-filter: blur(4px);
}
body.ed-body .ed-card__shade {
  position: absolute !important;
  inset: auto 0 0 !important;
  height: 42% !important;
  background: linear-gradient(0deg, rgba(12, 18, 34, 0.55), transparent) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}
body.ed-body .ed-card__play {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  right: auto !important;
  bottom: auto !important;
  transform: translate(-50%, -42%) !important;
  border-radius: 999px !important;
  background: rgba(234, 88, 12, 0.95) !important;
  color: #fff !important;
  opacity: 0 !important;
  padding: 8px 14px !important;
  font-size: 0.75rem !important;
  font-weight: 800 !important;
  z-index: 4 !important;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease !important;
}
body.ed-body .ed-card:hover .ed-card__play {
  opacity: 1 !important;
  transform: translate(-50%, -50%) !important;
}
body.ed-body .ed-card__body {
  padding: 11px 12px 13px !important;
  border-top: 0 !important;
}
body.ed-body .ed-card__body h3,
body.ed-body .ed-card__body h3 a {
  color: var(--ed-ink) !important;
  font-family: var(--ed-serif) !important;
  margin: 0 0 6px !important;
  font-size: 0.92rem !important;
  line-height: 1.35 !important;
}
body.ed-body .ed-card__meta {
  gap: 4px !important;
}
body.ed-body .ed-card__meta span {
  background: transparent !important;
  border: 0 !important;
  padding: 0 6px 0 0 !important;
  color: var(--ed-muted) !important;
  font-size: 0.72rem !important;
}
body.ed-body .ed-card__meta span:not(:last-child)::after {
  content: "·";
  margin-left: 6px;
  color: rgba(120, 113, 108, 0.7);
}
body.ed-body .ed-card__meta span:first-child {
  color: var(--ed-orange-deep) !important;
  font-weight: 700 !important;
}

/* 分类总览 */
body.ed-body .page-hero,
body.ed-body .compact-hero {
  margin: 0 0 22px !important;
  padding: 36px 24px !important;
  border-radius: 24px !important;
  background: linear-gradient(135deg, #0c1222, #1c1917 50%, #c2410c) !important;
  color: #fff7ed !important;
  border: 0 !important;
  box-shadow: 0 22px 44px rgba(12, 18, 34, 0.25) !important;
  text-align: center !important;
}
body.ed-body .page-hero .eyebrow,
body.ed-body .compact-hero .eyebrow {
  color: #fdba74 !important;
  letter-spacing: 0.2em !important;
  font-weight: 800 !important;
}
body.ed-body .page-hero h1,
body.ed-body .compact-hero h1 { color: #fff !important; }

body.ed-body .overview-card {
  border-radius: 14px !important;
  border: 1px solid rgba(12, 18, 34, 0.1) !important;
  background: #fff !important;
  box-shadow: 0 10px 24px rgba(12, 18, 34, 0.05) !important;
  padding: 18px 16px !important;
  min-height: 132px;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 12px !important;
  border-left: 3px solid var(--ed-orange) !important;
}
body.ed-body .overview-card::before { display: none !important; }
body.ed-body .overview-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(234, 88, 12, 0.1) !important;
}
body.ed-body .overview-main strong {
  font-family: var(--ed-serif) !important;
  font-size: 1.15rem !important;
}
body.ed-body .overview-links {
  border-top: 2px dashed rgba(234, 88, 12, 0.45) !important;
  color: var(--ed-orange-deep) !important;
  font-weight: 800 !important;
  padding-top: 10px !important;
  display: flex !important;
  justify-content: space-between !important;
}

body.ed-body .ed-cathead {
  border-radius: 16px !important;
  border: 1px solid rgba(12, 18, 34, 0.1) !important;
  background: #fff !important;
  padding: 20px !important;
  box-shadow: 0 10px 24px rgba(12, 18, 34, 0.05) !important;
  margin-bottom: 18px !important;
}
body.ed-body .ed-cathead::before {
  content: "" !important;
  display: block !important;
  height: 4px !important;
  margin: -20px -20px 14px !important;
  background: linear-gradient(90deg, #c2410c, #ea580c, #fb923c) !important;
  border-radius: 16px 16px 0 0;
}
body.ed-body .ed-filter {
  border-radius: 14px !important;
  border: 1px solid rgba(12, 18, 34, 0.1) !important;
  background: #fff !important;
  padding: 14px !important;
  margin-bottom: 18px !important;
  box-shadow: none !important;
}
body.ed-body .ed-filter input,
body.ed-body .ed-filter select {
  border-radius: 10px !important;
  border: 1px solid var(--ed-line) !important;
  background: var(--ed-sheet) !important;
}

/* ══════════════════════════════════════
   播放页：杂志台 + 可读资料侧栏
   ══════════════════════════════════════ */
body.ed-body .ed-player {
  border-radius: 20px !important;
  border: 1px solid rgba(12, 18, 34, 0.08) !important;
  overflow: hidden !important;
  background: #0c1222 !important;
  box-shadow: 0 22px 48px rgba(12, 18, 34, 0.14) !important;
  margin: 0 0 28px !important;
}

body.ed-body .ed-player__screen {
  aspect-ratio: 16 / 9 !important;
  max-height: min(70vh, 640px);
  background: #000 !important;
}
body.ed-body .ed-player__screen video,
body.ed-body #movie-player {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  background: #000 !important;
  display: block !important;
}

body.ed-body .ed-player__info {
  display: grid !important;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.9fr) !important;
  gap: 0 !important;
  padding: 0 !important;
  align-items: stretch !important;
  background: #fff !important;
  color: var(--ed-ink) !important;
  border-top: 3px solid var(--ed-orange) !important;
}

body.ed-body .ed-player__main {
  padding: 26px 28px 24px !important;
  border-right: 1px solid rgba(12, 18, 34, 0.08) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 0 !important;
  background: #fff !important;
  color: var(--ed-ink) !important;
  min-height: 100%;
}
body.ed-body .ed-player__main h1 {
  margin: 0 0 14px !important;
  color: var(--ed-ink) !important;
  font-family: var(--ed-serif) !important;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem) !important;
  letter-spacing: 0.02em;
  line-height: 1.25 !important;
  -webkit-text-fill-color: var(--ed-ink) !important;
}
body.ed-body .ed-player__tags {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 0 0 18px !important;
}
body.ed-body .ed-player__tags span {
  border-radius: 999px !important;
  background: rgba(234, 88, 12, 0.1) !important;
  border: 0 !important;
  color: var(--ed-orange-deep) !important;
  font-weight: 700 !important;
  padding: 6px 12px !important;
  font-size: 0.78rem !important;
}
body.ed-body .ed-player__tags span:first-child {
  background: var(--ed-orange) !important;
  color: #fff !important;
}
body.ed-body .ed-btn,
body.ed-body .ed-btn--cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px;
  padding: 0 22px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #fb923c, #ea580c 55%, #c2410c) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: 0 10px 22px rgba(234, 88, 12, 0.3) !important;
  font-weight: 800 !important;
  font-size: 0.92rem !important;
}
body.ed-body .ed-btn--cta:hover {
  filter: brightness(1.04);
  color: #fff !important;
}

/* 侧栏：海报 + 资料表（修白字不可读） */
body.ed-body .ed-player__aside {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  padding: 20px 18px !important;
  background: linear-gradient(180deg, #fff7ed 0%, #ffedd5 100%) !important;
  color: var(--ed-ink) !important;
}
body.ed-body .ed-player__poster {
  border-radius: 14px !important;
  overflow: hidden !important;
  border: 1px solid rgba(12, 18, 34, 0.1) !important;
  box-shadow: 0 12px 28px rgba(12, 18, 34, 0.12) !important;
  width: min(100%, 168px) !important;
  max-width: 168px !important;
  margin: 0 auto !important;
  background: #e7e5e4 !important;
}
body.ed-body .ed-player__poster img {
  aspect-ratio: 2 / 3 !important;
  object-fit: cover !important;
  width: 100% !important;
  display: block !important;
  border: 0 !important;
}

body.ed-body .ed-meta {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 4px 2px 0 !important;
  background: transparent !important;
  border: 0 !important;
  color: var(--ed-ink) !important;
}
body.ed-body .ed-meta > div {
  display: grid !important;
  grid-template-columns: 3.2em minmax(0, 1fr) !important;
  align-items: baseline !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 9px 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px dashed rgba(12, 18, 34, 0.12) !important;
  border-radius: 0 !important;
  color: var(--ed-ink) !important;
}
body.ed-body .ed-meta > div:last-child {
  border-bottom: 0 !important;
}
body.ed-body .ed-meta dt {
  margin: 0 !important;
  color: var(--ed-muted) !important;
  font-weight: 700 !important;
  font-size: 0.74rem !important;
  letter-spacing: 0.04em;
}
body.ed-body .ed-meta dd {
  margin: 0 !important;
  color: var(--ed-ink) !important;
  font-weight: 700 !important;
  font-size: 0.84rem !important;
  text-align: left !important;
  line-height: 1.4 !important;
  word-break: break-word;
}

/* 剧情简介 */
body.ed-body .ed-section--synopsis {
  margin-bottom: 28px !important;
}
body.ed-body .ed-synopsis {
  border-radius: 16px !important;
  border: 1px solid rgba(12, 18, 34, 0.08) !important;
  border-left: 4px solid var(--ed-orange) !important;
  background: #fff !important;
  padding: 20px 22px !important;
  box-shadow: 0 10px 24px rgba(12, 18, 34, 0.04) !important;
}
body.ed-body .ed-synopsis__lead {
  margin: 0 !important;
  color: var(--ed-ink) !important;
  font-size: 0.98rem !important;
  line-height: 1.85 !important;
  font-weight: 500 !important;
}
body.ed-body .ed-synopsis__lead + .ed-synopsis__body { display: none !important; }

/* 相关推荐横卡 */
body.ed-body .ed-rail--related {
  display: flex !important;
  gap: 12px !important;
  overflow-x: auto !important;
  padding: 2px 2px 12px !important;
  scroll-snap-type: x mandatory;
}
body.ed-body .ed-rail--related .ed-mini {
  flex: 0 0 min(320px, 86vw) !important;
  scroll-snap-align: start;
  display: grid !important;
  grid-template-columns: 72px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: center !important;
  padding: 12px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(12, 18, 34, 0.08) !important;
  background: #fff !important;
  box-shadow: 0 8px 20px rgba(12, 18, 34, 0.04) !important;
  border-left: 3px solid var(--ed-orange) !important;
}
body.ed-body .ed-mini__rank {
  display: none !important;
}
body.ed-body .ed-mini__thumb {
  border-radius: 10px !important;
  overflow: hidden !important;
}
body.ed-body .ed-mini__thumb img {
  aspect-ratio: 2 / 3 !important;
  object-fit: cover !important;
  width: 100% !important;
  display: block !important;
}
body.ed-body .ed-mini__info h3,
body.ed-body .ed-mini__info h3 a {
  color: var(--ed-ink) !important;
  font-family: var(--ed-serif) !important;
  font-size: 0.92rem !important;
}
body.ed-body .ed-mini__info p {
  color: var(--ed-muted) !important;
  margin: 0 0 8px !important;
}
body.ed-body .ed-mini__go {
  border-radius: 999px !important;
  background: var(--ed-orange) !important;
  color: #fff !important;
  padding: 4px 12px !important;
  font-weight: 800 !important;
}

@media (max-width: 860px) {
  body.ed-body .ed-player__info {
    grid-template-columns: 1fr !important;
  }
  body.ed-body .ed-player__main {
    border-right: 0 !important;
    border-bottom: 1px solid rgba(12, 18, 34, 0.08) !important;
    padding: 20px 18px !important;
  }
  body.ed-body .ed-player__aside {
    display: grid !important;
    grid-template-columns: 112px minmax(0, 1fr) !important;
    gap: 14px !important;
    align-items: start !important;
    padding: 16px !important;
  }
  body.ed-body .ed-player__poster {
    width: 112px !important;
    max-width: 112px !important;
    margin: 0 !important;
  }
  body.ed-body .ed-meta > div {
    grid-template-columns: 2.8em minmax(0, 1fr) !important;
    padding: 7px 0 !important;
  }
}

/* ══════════════════════════════════════
   尾部：墨底 + 蜜柑顶条 + 居中品牌
   ══════════════════════════════════════ */
body.ed-body .ed-foot,
body.ed-body .ed-foot--mag {
  margin-top: auto !important;
  background: var(--ed-ink) !important;
  color: #ffedd5 !important;
  border-top: 0 !important;
  padding: 0 16px 28px !important;
}

body.ed-body .ed-foot__accent {
  height: 8px !important;
  margin: 0 -16px 0 !important;
  background: linear-gradient(90deg, #c2410c, #ea580c, #fb923c, #ea580c, #c2410c) !important;
}

body.ed-body .ed-foot__inner,
body.ed-body .ed-foot__top {
  max-width: var(--ed-max) !important;
  margin: 0 auto !important;
  padding: 36px 0 24px !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 24px !important;
  text-align: center !important;
  border-bottom: 1px solid rgba(255, 237, 213, 0.16) !important;
}

body.ed-body .ed-foot__brand strong {
  display: block !important;
  color: #fff !important;
  font-size: 1.6rem !important;
  letter-spacing: 0.1em !important;
  margin-bottom: 10px !important;
}
body.ed-body .ed-foot__brand p {
  margin: 0 auto !important;
  max-width: 34em;
  color: rgba(255, 237, 213, 0.78) !important;
  line-height: 1.7 !important;
}

body.ed-body .ed-foot__links {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 28px 48px !important;
}

body.ed-body .ed-foot__col {
  text-align: center !important;
}
body.ed-body .ed-foot__col h3 {
  margin: 0 0 10px !important;
  color: #fdba74 !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.16em !important;
  font-family: var(--ed-sans) !important;
}
body.ed-body .ed-foot__col ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 8px 14px !important;
}
body.ed-body .ed-foot__col a {
  color: #ffedd5 !important;
  font-weight: 700 !important;
}
body.ed-body .ed-foot__col a:hover { color: #fdba74 !important; }

body.ed-body .ed-foot__bar {
  max-width: var(--ed-max) !important;
  margin: 0 auto !important;
  padding-top: 16px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 8px 18px !important;
  color: rgba(255, 237, 213, 0.65) !important;
  font-size: 0.78rem !important;
}

@media (max-width: 720px) {
  body.ed-body .ed-head__top {
    grid-template-columns: 1fr auto !important;
    grid-template-areas:
      "logo tools"
      "issue issue" !important;
    padding: 10px 14px !important;
  }
  body.ed-body .ed-head__issue {
    grid-area: issue;
    justify-self: start !important;
    font-size: 0.64rem !important;
  }
  body.ed-body .ed-logo {
    grid-area: logo;
    justify-self: start !important;
  }
  body.ed-body .ed-head__tools { grid-area: tools; }
  body.ed-body .ed-nav { display: none !important; }
  body.ed-body .ed-nav.open {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 8px 12px 12px !important;
    border-top: 1px solid rgba(12, 18, 34, 0.06) !important;
  }
  body.ed-body .ed-nav.open a {
    border-radius: 10px !important;
    justify-content: flex-start;
  }
  body.ed-body .ed-search { max-width: 150px; }
}

@media (prefers-reduced-motion: no-preference) {
  body.ed-body .ed-hero--mag {
    animation: ed-mag-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
}
@keyframes ed-mag-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

a, button, input, select, .ed-burger, .ed-btn {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 640px) {
  input[type="search"], input[type="text"], select { font-size: 16px !important; }
}

/* pack12-opt-v2 · 触控与性能兜底（不改信息区布局） */
body.ed-body .ed-card__thumb img,
body.ed-body .ed-player__poster img{content-visibility:auto}
body.ed-body .ed-btn,
body.ed-body .ed-nav a,
body.ed-body .ed-burger,
body.ed-body .ed-search button,
body.ed-body .overview-card,
body.ed-body .category-tile{touch-action:manipulation}
@media (prefers-reduced-motion:reduce){
  body.ed-body .ed-card,
  body.ed-body .ed-hero--mag,
  body.ed-body .category-tile,
  body.ed-body .overview-card{animation:none!important;transition:none!important}
}
