/* Fujii Game Official Site — PC Theme */
:root {
  --fj-nav-bg: rgba(12, 14, 20, 0.82);
  --fj-accent: #c9a46a;
  --fj-accent-hot: #e8b86d;
  --fj-text: #f5f0e8;
  --fj-text-dim: rgba(245, 240, 232, 0.72);
  --fj-panel: rgba(20, 22, 30, 0.78);
  --fj-line: rgba(201, 164, 106, 0.35);
  --fj-header-h: 66px;
  --fj-font-display: "STXingkai", "华文行楷", "KaiTi", "楷体", "Songti SC", serif;
  --fj-font-body: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body.fj-body {
  margin: 0;
  padding: 0;
  font-family: var(--fj-font-body);
  color: var(--fj-text);
  background: #0b0d12;
  line-height: 1.6;
  overflow-x: hidden;
}

/* 去掉点击后的浏览器默认描边 */
body.fj-body a:focus,
body.fj-body a:active,
body.fj-body button:focus,
body.fj-body button:active {
  outline: none !important;
  -webkit-tap-highlight-color: transparent;
}

/* 仅首页顶栏固定，不占滚动高度 */
body.fj-home #pc-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

/* 藤井内页：顶栏跟随深色主题，避免白底浅字看不见 */
body.fj-body:not(.fj-home) #pc-header {
  position: relative;
  z-index: 1000;
}
body.fj-body:not(.fj-home) #pc-header .navbar {
  background: var(--fj-nav-bg, rgba(12, 14, 20, 0.96)) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* 全站导航下拉统一：黑色半透明；宽度大致跟父级菜单项一致 */
body.fj-body #pc-header .nav li ul,
body.fj-body #pc-header .nav li ul.drop-menu {
  background: rgba(12, 14, 20, 0.88) !important;
  border: 1px solid rgba(201, 164, 106, 0.28);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  padding: 6px 0;
  min-width: 100% !important;
  width: 100%;
  box-sizing: border-box;
}
body.fj-body #pc-header .nav li ul li a {
  background: transparent !important;
  color: var(--fj-text-dim, rgba(245, 240, 232, 0.72)) !important;
  width: 100% !important;
  padding: 0 12px !important;
  text-align: center;
  white-space: nowrap;
  box-sizing: border-box;
}
body.fj-body #pc-header .nav li ul li a:hover,
body.fj-body #pc-header .nav li ul li a:focus {
  background: rgba(201, 164, 106, 0.18) !important;
  color: var(--fj-accent-hot, #e8b86d) !important;
}

/* 首页搜索图标更易点、更易见 */
body.fj-home #pc-header .searchBar a.search-ico,
body.fj-home #pc-header a.search-ico i {
  color: var(--fj-text, #f5f0e8) !important;
}
body.fj-home #pc-header .searchBar a.search-ico:hover i {
  color: var(--fj-accent-hot, #e8b86d) !important;
}
body.fj-home #pc-header .searchBar {
  z-index: 2;
}

/* ---------- 整屏滑动容器 ---------- */
.fj-pages {
  width: 100%;
  position: relative;
}

body.fj-snap {
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
}

body.fj-snap .fj-pages {
  height: 100vh;
  height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  /* 由 JS 控屏，避免与 scroll-snap / smooth 互相抢滚动导致卡顿 */
  scroll-snap-type: none;
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
}

.fj-screen {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  box-sizing: border-box;
  contain: layout paint style;
}

body.fj-snap .fj-screen {
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--fj-header-h) + 12px) 24px 24px;
  box-sizing: border-box;
}

/* Banner 全出血，不受内边距影响；勿用 contain 以免部分浏览器裁切异常 */
body.fj-snap .fj-screen--hero {
  padding: 0;
  display: block;
  contain: none;
}

body.fj-snap .fj-screen .fj-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

body.fj-snap .fj-news .fj-news__panel,
body.fj-snap .fj-char__stage,
body.fj-snap .fj-icon-rail,
body.fj-snap .fj-links-grid,
body.fj-snap .fj-siteinfo__row {
  width: 100%;
}

body.fj-snap .fj-char {
  position: relative;
  padding: 0;
  justify-content: stretch;
  align-items: stretch;
}
body.fj-snap .fj-char .fj-wrap {
  max-width: none;
  width: 100%;
  height: 100%;
  padding: 0;
  justify-content: stretch;
  align-items: stretch;
  position: relative;
  overflow: hidden;
  z-index: 2;
}
body.fj-snap .fj-char .fj-title,
body.fj-snap .fj-char .fj-mod-title-img {
  position: absolute;
  top: calc(var(--fj-header-h) + 18px);
  left: clamp(28px, 4vw, 64px);
  z-index: 6;
  margin: 0;
  pointer-events: none;
  text-align: left;
}
body.fj-snap .fj-char .fj-title__deco {
  justify-content: flex-start;
}
body.fj-snap .fj-char .fj-title h2 {
  font-size: clamp(22px, 2.2vw, 30px);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}
body.fj-snap .fj-char .fj-mod-title-img {
  max-height: 56px;
}
body.fj-snap .fj-char .fj-char__switcher {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
}

/* 原企业站页脚已由藤井页脚替换；兜底隐藏残留 markup */
body.fj-home footer.bg-main,
body.fj-body footer.bg-main {
  display: none !important;
}

body.fj-normal .fj-screen {
  min-height: auto;
  padding: 100px 0 60px;
}

body.fj-normal .fj-screen--hero,
body.fj-normal .fj-screen--char {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0;
}

body.fj-normal .fj-char {
  position: relative;
  display: flex;
  align-items: stretch;
}

body.fj-normal .fj-char .fj-wrap {
  max-width: none;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  padding: 0;
  justify-content: stretch;
  align-items: stretch;
  overflow: hidden;
  z-index: 2;
}

body.fj-normal .fj-char .fj-title,
body.fj-normal .fj-char .fj-mod-title-img {
  position: absolute;
  top: calc(var(--fj-header-h) + 18px);
  left: clamp(28px, 4vw, 64px);
  z-index: 6;
  margin: 0;
  text-align: left;
}

body.fj-normal .fj-pages {
  overflow: visible;
  height: auto;
}

/* ---------- 角色栏目页：对齐首页角色舞台 ---------- */
body.fj-char-body {
  background: #0b0d12;
}

.fj-char.fj-char--page {
  position: relative;
  display: block !important;
  overflow: hidden;
  contain: none !important;
  isolation: isolate;
  height: calc(100vh - var(--fj-header-h, 90px));
  height: calc(100dvh - var(--fj-header-h, 90px));
  min-height: 560px;
  background: #0b0d12;
}

.fj-char--page.fj-has-bg .fj-char__bg,
.fj-char--page[style*="--fj-char-bg"] .fj-char__bg {
  background-image: var(--fj-char-bg);
}

body.fj-normal .fj-char.fj-char--page .fj-wrap.fj-char-page__wrap,
.fj-char--page .fj-char-page__wrap {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2;
  display: block !important;
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.fj-char-page__top {
  position: absolute;
  top: 18px;
  left: clamp(28px, 4vw, 64px);
  right: auto;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0;
  pointer-events: none;
}

.fj-char-page__top a {
  pointer-events: auto;
}

.fj-char-page__crumb {
  font-size: 13px;
  color: var(--fj-text-dim);
}

.fj-char-page__crumb a {
  color: var(--fj-text-dim);
}

.fj-char-page__crumb a:hover {
  color: var(--fj-accent-hot);
}

.fj-char-page__logo {
  display: block;
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

body.fj-normal .fj-char.fj-char--page .fj-char__stage,
.fj-char.fj-char--page .fj-char__stage {
  position: absolute !important;
  inset: 0 !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden;
  pointer-events: none;
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 2;
}

/* 立绘 / 信息：与首页同一套坐标（栏目页无顶栏叠层，top 用 56px） */
.fj-char--page .fj-char__visual {
  left: 32%;
  right: -8%;
  top: 4%;
  bottom: -2%;
  justify-content: center;
  overflow: visible;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  padding-right: 0;
}

.fj-char--page .fj-char__visual img {
  height: 100%;
  width: auto;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: bottom center;
}

.fj-char--page .fj-char__info {
  left: clamp(8%, 14vw, 18%);
  top: 56px;
  bottom: 120px;
  width: min(680px, 48vw);
  gap: 22px;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.fj-char--page .fj-char__switcher {
  position: absolute !important;
  left: 50% !important;
  bottom: 28px !important;
  transform: translateX(-50%) !important;
  z-index: 9;
  margin: 0;
  padding: 0;
  max-width: calc(100% - 32px);
  opacity: 1 !important;
  visibility: visible !important;
  background: transparent;
  border: 0;
  backdrop-filter: none;
  border-radius: 0;
}

.fj-char-page__empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  text-align: center;
  color: var(--fj-text-dim);
  font-size: 15px;
  letter-spacing: 0.06em;
  z-index: 5;
}

@media (max-width: 900px) {
  /* 保持绝对铺满：relative + 全绝对子元素会把 wrap 高度塌成 0 */
  .fj-char.fj-char--page {
    height: calc(100dvh - var(--fj-header-h, 60px));
    min-height: 480px;
  }

  body.fj-normal .fj-char.fj-char--page .fj-wrap.fj-char-page__wrap,
  .fj-char--page .fj-char-page__wrap {
    position: absolute !important;
    inset: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  body.fj-normal .fj-char.fj-char--page .fj-char__stage,
  .fj-char.fj-char--page .fj-char__stage {
    position: absolute !important;
    inset: 0 !important;
    min-height: 0 !important;
    height: auto !important;
  }

  .fj-char--page .fj-char__visual {
    left: -8%;
    right: -8%;
    top: 28px;
    bottom: 42%;
  }

  .fj-char--page .fj-char__info {
    left: 16px;
    right: 16px;
    width: auto;
    top: auto;
    bottom: 96px;
    justify-content: flex-end;
  }

  .fj-char--page .fj-char__switcher {
    position: absolute !important;
    left: 50% !important;
    bottom: 18px !important;
    transform: translateX(-50%) !important;
    margin: 0;
    width: auto;
    max-width: calc(100% - 24px);
  }
}

/* 普通滚动：勿用 contain 裁切，内容始终可见（入场隐藏仅整屏吸附） */
body.fj-normal .fj-screen {
  contain: none;
}

.fj-screen.fj-has-bg {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* ---------- 模块入场动画：仅整屏吸附；普通滚动内容常显 ---------- */
body.fj-snap .fj-screen .fj-title,
body.fj-snap .fj-screen .fj-iconmod__head-img,
body.fj-snap .fj-screen .fj-mod-title-img {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  transition: none;
}

body.fj-snap .fj-screen .fj-news__panel,
body.fj-snap .fj-screen .fj-char__stage,
body.fj-snap .fj-screen .fj-icon-rail,
body.fj-snap .fj-screen .fj-links-grid,
body.fj-snap .fj-screen .fj-siteinfo__row {
  opacity: 0;
  transform: translate3d(0, 48px, 0) scale(0.97);
  transition: none;
}

body.fj-snap .fj-screen .fj-news__media {
  opacity: 0;
  transform: translate3d(-56px, 0, 0);
  transition: none;
}

body.fj-snap .fj-screen .fj-news__list {
  opacity: 0;
  transform: translate3d(56px, 0, 0);
  transition: none;
}

body.fj-snap .fj-screen .fj-char__info {
  opacity: 0;
  transition: none;
}

body.fj-snap .fj-screen .fj-char__visual {
  opacity: 0;
  transition: none;
}

body.fj-snap .fj-screen .fj-char__switcher {
  opacity: 0;
  transform: translate3d(-50%, 32px, 0);
  transition: none;
}

body.fj-snap .fj-screen .fj-icon-card,
body.fj-snap .fj-screen .fj-link-card,
body.fj-snap .fj-screen .fj-siteinfo__row > li {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: none;
}

body.fj-snap .fj-screen.is-inview .fj-title,
body.fj-snap .fj-screen.is-inview .fj-iconmod__head-img,
body.fj-snap .fj-screen.is-inview .fj-mod-title-img {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0.05s;
}

body.fj-snap .fj-screen.is-inview .fj-news__panel,
body.fj-snap .fj-screen.is-inview .fj-char__stage,
body.fj-snap .fj-screen.is-inview .fj-icon-rail,
body.fj-snap .fj-screen.is-inview .fj-links-grid,
body.fj-snap .fj-screen.is-inview .fj-siteinfo__row {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0.12s;
}

body.fj-snap .fj-screen.is-inview .fj-news__media,
body.fj-snap .fj-screen.is-inview .fj-news__list {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

body.fj-snap .fj-screen.is-inview .fj-char__info,
body.fj-snap .fj-screen.is-inview .fj-char__visual {
  opacity: 1;
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

body.fj-snap .fj-screen.is-inview .fj-news__media { transition-delay: 0.16s; }
body.fj-snap .fj-screen.is-inview .fj-news__list { transition-delay: 0.28s; }
body.fj-snap .fj-screen.is-inview .fj-char__info { transition-delay: 0.18s; }
body.fj-snap .fj-screen.is-inview .fj-char__visual { transition-delay: 0.22s; }

body.fj-snap .fj-screen.is-inview .fj-char__switcher {
  opacity: 1;
  transform: translate3d(-50%, 0, 0);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0.38s;
}

body.fj-snap .fj-screen.is-inview .fj-icon-card,
body.fj-snap .fj-screen.is-inview .fj-link-card,
body.fj-snap .fj-screen.is-inview .fj-siteinfo__row > li {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

body.fj-snap .fj-screen.is-inview .fj-icon-card:nth-child(1),
body.fj-snap .fj-screen.is-inview .fj-link-card:nth-child(1),
body.fj-snap .fj-screen.is-inview .fj-siteinfo__row > li:nth-child(1) { transition-delay: 0.18s; }
body.fj-snap .fj-screen.is-inview .fj-icon-card:nth-child(2),
body.fj-snap .fj-screen.is-inview .fj-link-card:nth-child(2),
body.fj-snap .fj-screen.is-inview .fj-siteinfo__row > li:nth-child(2) { transition-delay: 0.26s; }
body.fj-snap .fj-screen.is-inview .fj-icon-card:nth-child(3),
body.fj-snap .fj-screen.is-inview .fj-link-card:nth-child(3),
body.fj-snap .fj-screen.is-inview .fj-siteinfo__row > li:nth-child(3) { transition-delay: 0.34s; }
body.fj-snap .fj-screen.is-inview .fj-icon-card:nth-child(4),
body.fj-snap .fj-screen.is-inview .fj-link-card:nth-child(4),
body.fj-snap .fj-screen.is-inview .fj-siteinfo__row > li:nth-child(4) { transition-delay: 0.42s; }
body.fj-snap .fj-screen.is-inview .fj-icon-card:nth-child(5),
body.fj-snap .fj-screen.is-inview .fj-link-card:nth-child(5),
body.fj-snap .fj-screen.is-inview .fj-siteinfo__row > li:nth-child(5) { transition-delay: 0.5s; }
body.fj-snap .fj-screen.is-inview .fj-icon-card:nth-child(n + 6),
body.fj-snap .fj-screen.is-inview .fj-link-card:nth-child(n + 6),
body.fj-snap .fj-screen.is-inview .fj-siteinfo__row > li:nth-child(n + 6) { transition-delay: 0.56s; }

body.fj-snap .fj-char:not(.is-inview) .fj-char__switcher {
  opacity: 0;
  transform: translate3d(-50%, 32px, 0);
  transition: none;
}
body.fj-snap .fj-char.is-inview .fj-char__switcher {
  opacity: 1;
  transform: translate3d(-50%, 0, 0);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0.36s;
}

/* Banner 入场：仅整屏吸附 */
body.fj-snap .fj-hero .fj-hero__media {
  opacity: 0.2;
  transition: none;
}
body.fj-snap .fj-hero.is-inview .fj-hero__media {
  opacity: 1;
  transition: opacity 0.7s ease-out;
}
body.fj-snap .fj-hero:not(.is-inview) .fj-float-btn {
  opacity: 0;
  transform: scale(0.92);
  transform-origin: top left;
  transition: none;
}
body.fj-snap .fj-hero.is-inview .fj-float-btn {
  opacity: 1;
  transform: scale(1);
  transform-origin: top left;
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.2s,
    box-shadow 0.2s;
  transition-delay: 0.2s;
}
body.fj-snap .fj-hero:not(.is-inview) .fj-hero__dots {
  opacity: 0;
  transform: translateX(-50%) translateY(18px);
  transition: none;
}
body.fj-snap .fj-hero.is-inview .fj-hero__dots {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  transition-delay: 0.32s;
}

@media (prefers-reduced-motion: reduce) {
  body.fj-snap .fj-screen .fj-title,
  body.fj-snap .fj-screen .fj-news__panel,
  body.fj-snap .fj-screen .fj-news__media,
  body.fj-snap .fj-screen .fj-news__list,
  body.fj-snap .fj-screen .fj-char__stage,
  body.fj-snap .fj-screen .fj-char__info,
  body.fj-snap .fj-screen .fj-char__visual,
  body.fj-snap .fj-screen .fj-char__switcher,
  body.fj-snap .fj-screen .fj-iconmod__head-img,
  body.fj-snap .fj-screen .fj-mod-title-img,
  body.fj-snap .fj-screen .fj-icon-rail,
  body.fj-snap .fj-screen .fj-icon-card,
  body.fj-snap .fj-screen .fj-links-grid,
  body.fj-snap .fj-screen .fj-link-card,
  body.fj-snap .fj-screen .fj-siteinfo__row,
  body.fj-snap .fj-screen .fj-siteinfo__row > li,
  body.fj-snap .fj-hero .fj-hero__media,
  body.fj-snap .fj-hero .fj-float-btn,
  body.fj-snap .fj-hero .fj-hero__dots {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .fj-hero .fj-float-btn {
    transform: none !important;
  }
  .fj-hero .fj-hero__dots {
    transform: translateX(-50%) !important;
  }
  body.fj-snap .fj-char .fj-char__switcher {
    transform: translate3d(-50%, 0, 0) !important;
  }
  .fj-char__visual img {
    animation: none !important;
  }
}

/* ---------- Header ---------- */
.fj-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--fj-header-h);
  background: var(--fj-nav-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--fj-line);
  transition: background 0.25s ease;
}

.fj-header__inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
}

.fj-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.fj-logo img {
  height: 40px;
  width: auto;
}

.fj-logo__name {
  font-family: var(--fj-font-display);
  font-size: 22px;
  letter-spacing: 0.08em;
  color: var(--fj-accent);
}

.fj-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.fj-nav > li {
  position: relative;
}

.fj-nav > li > a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--fj-text-dim);
  transition: color 0.2s;
}

.fj-nav > li:hover > a,
.fj-nav > li.active > a {
  color: var(--fj-accent-hot);
}

.fj-nav .fj-drop {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  background: rgba(16, 18, 26, 0.96);
  border: 1px solid var(--fj-line);
  padding: 8px 0;
  list-style: none;
  margin: 0;
}

.fj-nav > li:hover > .fj-drop {
  display: block;
}

.fj-drop li {
  position: relative;
}

.fj-drop a {
  display: block;
  padding: 8px 18px;
  font-size: 13px;
  color: var(--fj-text-dim);
  white-space: nowrap;
}

.fj-drop a:hover {
  color: var(--fj-accent-hot);
  background: rgba(201, 164, 106, 0.08);
}

.fj-drop .fj-drop {
  top: 0;
  left: 100%;
}

.fj-drop li:hover > .fj-drop {
  display: block;
}

/* ---------- Section titles ---------- */
.fj-title {
  text-align: center;
  margin: 0 0 36px;
}

.fj-title h2 {
  margin: 0;
  font-family: var(--fj-font-display);
  font-size: 36px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--fj-text);
}

.fj-title__deco {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.fj-title__deco span {
  display: block;
  height: 1px;
  width: 72px;
  background: linear-gradient(90deg, transparent, var(--fj-accent), transparent);
}

.fj-title__deco i {
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  background: var(--fj-accent);
}

.fj-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* snap 下内边距由 .fj-screen 统一处理，避免双重顶距破坏垂直居中 */

/* ---------- Banner / Hero ---------- */
.fj-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0b0d12 center/cover no-repeat;
  /* 悬浮按钮以 Banner 宽度为基准等比（与 left/top % 同一坐标系） */
  container-type: inline-size;
  container-name: fj-hero;
}

.fj-hero__floats {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.fj-hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.fj-hero__slides {
  position: absolute;
  inset: 0;
}

.fj-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  z-index: 1;
}

.fj-hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.fj-hero__slide > a {
  display: block;
  width: 100%;
  height: 100%;
}

.fj-hero__slide img,
.fj-hero__slide video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* 悬浮：left/top/% 与宽高均相对 Banner 等比，大屏不重叠则小屏也不重叠 */
.fj-float-btn {
  --fj-design-w: 1920;
  /* 默认按视口；支持容器查询时改用 Banner 实际宽度（与 left/top % 一致） */
  --fj-u: calc(100vw / var(--fj-design-w));
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 70%;
  transform: none;
  transform-origin: top left;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(6 * var(--fj-u));
  padding: calc(8 * var(--fj-u)) calc(16 * var(--fj-u));
  border: 1px solid rgba(201, 164, 106, 0.75);
  background: rgba(28, 18, 12, 0.62);
  color: var(--fj-accent-hot);
  font-size: calc(14 * var(--fj-u));
  letter-spacing: 0.12em;
  line-height: 1.2;
  transition: background 0.2s, transform 0.2s, border-color 0.2s, color 0.2s;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  white-space: nowrap;
  max-width: 100%;
  pointer-events: auto;
}

@supports (width: 1cqw) {
  .fj-float-btn {
    --fj-u: calc(100cqw / var(--fj-design-w));
  }
}

/* 文字按钮：后台设计稿 px → Banner 宽度百分比 */
.fj-float-btn--button[style*="--fj-fw"] {
  width: calc(var(--fj-fw) * var(--fj-u));
  max-width: 100%;
  padding-left: calc(12 * var(--fj-u));
  padding-right: calc(12 * var(--fj-u));
}
.fj-float-btn--button[style*="--fj-fh"] {
  height: calc(var(--fj-fh) * var(--fj-u));
  max-height: none;
  min-height: 0;
}

.fj-float-btn--pill {
  border-radius: 999px;
  min-height: calc(36 * var(--fj-u));
  box-shadow: inset 0 0 0 1px rgba(232, 184, 109, 0.18);
}

.fj-float-btn--default {
  border-radius: 2px;
}

.fj-float-btn--ghost {
  border-color: transparent;
  background: transparent;
  padding: calc(4 * var(--fj-u)) calc(8 * var(--fj-u));
  min-height: 0;
}

.fj-float-btn--image,
.fj-float-btn--icon {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  min-height: 0;
  width: auto !important;
  height: auto !important;
  max-width: none;
  max-height: none;
}

.fj-float-btn:hover {
  background: rgba(201, 164, 106, 0.28);
  color: #fff;
  border-color: var(--fj-accent-hot);
  transform: scale(1.04);
  transform-origin: top left;
}

.fj-float-btn--image:hover,
.fj-float-btn--icon:hover,
.fj-float-btn--ghost:hover {
  background: transparent;
  border-color: transparent;
}

.fj-float-btn--image.has-active:hover {
  transform: none;
}

/* 按钮内可选小图标 */
.fj-float-btn--button img {
  width: calc(24 * var(--fj-u));
  height: calc(24 * var(--fj-u));
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
}

/* 图片悬浮：默认 / 设了宽高都相对 Banner 等比 */
.fj-float-btn--image {
  display: inline-grid;
  place-items: center;
}

.fj-float-btn--image img {
  display: block;
  width: auto;
  height: auto;
  max-width: calc(220 * var(--fj-u));
  max-height: calc(140 * var(--fj-u));
  object-fit: contain;
  grid-area: 1 / 1;
}

/* 双态图片：未选中 / 悬停选中 */
.fj-float-btn--image.has-active .fj-float-btn__img--active {
  opacity: 0;
  pointer-events: none;
}

.fj-float-btn--image.has-active:hover .fj-float-btn__img--normal,
.fj-float-btn--image.has-active:focus-visible .fj-float-btn__img--normal,
.fj-float-btn--image.has-active.is-active .fj-float-btn__img--normal {
  opacity: 0;
}

.fj-float-btn--image.has-active:hover .fj-float-btn__img--active,
.fj-float-btn--image.has-active:focus-visible .fj-float-btn__img--active,
.fj-float-btn--image.has-active.is-active .fj-float-btn__img--active {
  opacity: 1;
}

.fj-float-btn--image[style*="--fj-fw"] img {
  width: calc(var(--fj-fw) * var(--fj-u));
  max-width: 100%;
  height: auto;
  max-height: none;
}

.fj-float-btn--image[style*="--fj-fh"] img {
  max-height: calc(var(--fj-fh) * var(--fj-u));
}

.fj-float-btn--image[style*="--fj-fw"][style*="--fj-fh"] img {
  width: calc(var(--fj-fw) * var(--fj-u));
  max-width: 100%;
  height: auto;
  max-height: calc(var(--fj-fh) * var(--fj-u));
  object-fit: contain;
}

.fj-float-btn--icon img {
  width: calc(40 * var(--fj-u));
  height: calc(40 * var(--fj-u));
  object-fit: contain;
}

/* 不再在窄屏把宽高改成固定 px（那会导致 % 位置缩小、按钮不缩小而重叠） */

.fj-hero__dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  gap: 10px;
}

.fj-hero__dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.fj-hero__dots button.is-active {
  background: #fff;
}

.fj-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: none;
}

.fj-video-play.is-show {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- News ---------- */
.fj-news {
  background: #14161e center/cover no-repeat;
}

body.fj-snap .fj-news .fj-wrap {
  max-width: 1360px;
  width: 100%;
}

.fj-news__panel {
  display: grid;
  /* 左侧媒体固定比例下限，右侧可收缩，避免长标题挤扁图片 */
  grid-template-columns: minmax(480px, 1.25fr) minmax(0, 1fr);
  gap: 0;
  background: var(--fj-panel);
  border: 1px solid var(--fj-line);
  border-radius: 8px;
  overflow: hidden;
  min-height: 520px;
  width: 100%;
}

.fj-news__media {
  position: relative;
  min-width: 0;
  min-height: 520px;
  height: 100%;
  background: #0b0d12;
  overflow: hidden;
}

.fj-news__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.fj-news__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.fj-news__slide img,
.fj-news__slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fj-news__media-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.fj-news__media-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.fj-news__media-dots button.is-active {
  background: #fff;
}

.fj-news__list {
  padding: 32px 36px 24px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.fj-news__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.fj-news__tabs button {
  background: none;
  border: 0;
  padding: 0 0 12px;
  font-size: 16px;
  color: var(--fj-text-dim);
  cursor: pointer;
  position: relative;
  letter-spacing: 0.06em;
}

.fj-news__tabs button.is-active {
  color: var(--fj-accent-hot);
}

.fj-news__tabs button.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--fj-accent-hot);
}

.fj-news__panel-list {
  display: none;
  flex: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
  overflow: hidden;
}

.fj-news__panel-list.is-active {
  display: block;
}

.fj-news__panel-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 15px;
  min-width: 0;
}

.fj-news__panel-list a {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--fj-text);
}

.fj-news__panel-list a:hover {
  color: var(--fj-accent-hot);
}

.fj-news__panel-list time {
  color: var(--fj-text-dim);
  flex: 0 0 auto;
  font-size: 13px;
  white-space: nowrap;
}

.fj-news__more {
  text-align: right;
  margin-top: 18px;
  font-size: 13px;
  color: var(--fj-text-dim);
  flex-shrink: 0;
}

.fj-news__more a:hover {
  color: var(--fj-accent-hot);
}

/* ---------- Characters ---------- */
.fj-char {
  background: #10131a;
  overflow: hidden;
  isolation: isolate;
  contain: layout paint;
}

.fj-char__bg {
  position: absolute;
  inset: -40px;
  z-index: 0;
  background-color: #10131a;
  background-image: var(--fj-char-bg, none);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: blur(10px) saturate(1.05);
  transform: scale(1.08) translate3d(var(--fj-bg-x, 0px), var(--fj-bg-y, 0px), 0);
  will-change: transform;
  pointer-events: none;
  transition: background-image 0.45s ease;
}

.fj-char__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 10, 16, 0.55) 0%, rgba(8, 10, 16, 0.12) 42%, rgba(8, 10, 16, 0.05) 100%),
    linear-gradient(180deg, rgba(8, 10, 16, 0.35) 0%, transparent 18%, transparent 72%, rgba(8, 10, 16, 0.45) 100%);
}

.fj-char__stage {
  position: absolute;
  inset: 0;
  width: 100%;
  min-width: 0;
  z-index: 2;
  pointer-events: none;
}

.fj-char__info {
  position: absolute;
  left: clamp(8%, 14vw, 18%);
  top: calc(var(--fj-header-h) + 72px);
  bottom: 120px;
  width: min(680px, 48vw);
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  z-index: 4;
  pointer-events: none;
  transform: translate3d(var(--fj-info-x, 0px), var(--fj-info-y, 0px), 0);
  will-change: transform;
}

.fj-char__head,
.fj-char__body,
.fj-char__intro,
.fj-char__clip {
  pointer-events: auto;
}

.fj-char__head {
  flex-shrink: 0;
}

.fj-char__info h3 {
  margin: 0;
  font-family: var(--fj-font-display);
  font-size: clamp(52px, 6.5vw, 96px);
  font-weight: 400;
  letter-spacing: 0.16em;
  line-height: 1.08;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 6px 28px rgba(0, 0, 0, 0.65);
}

.fj-char__name-line {
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 14px;
  background: linear-gradient(90deg, var(--fj-accent) 0%, transparent 100%);
}

.fj-char__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  background: rgba(10, 12, 18, 0.42);
  border: 1px solid rgba(201, 164, 106, 0.28);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.fj-char__intro {
  max-width: none;
  width: 100%;
  max-height: min(28vh, 260px);
  min-height: 0;
  padding: 20px 22px;
  background: transparent;
  border: 0;
  color: var(--fj-text-dim);
  font-size: 15px;
  line-height: 1.95;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--fj-accent) transparent;
  box-sizing: border-box;
}

.fj-char__body.has-video .fj-char__intro {
  max-height: min(22vh, 200px);
  border-bottom: 1px solid rgba(201, 164, 106, 0.18);
}

.fj-char__intro::-webkit-scrollbar {
  width: 4px;
}
.fj-char__intro::-webkit-scrollbar-thumb {
  background: rgba(201, 164, 106, 0.55);
  border-radius: 4px;
}

.fj-char__clip {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0a0c12;
  overflow: hidden;
  line-height: 0;
}

.fj-char__clip[hidden] {
  display: none !important;
}

.fj-char__clip-idle {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.fj-char__clip.is-playing .fj-char__clip-idle {
  display: none;
}

.fj-char__clip-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0a0c12;
}

.fj-char__clip-cover--empty {
  background: linear-gradient(145deg, #12151d 0%, #0a0c12 100%);
}

.fj-char__play {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border: 2px solid rgba(232, 184, 109, 0.95);
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  color: #f5f0e8;
  background: rgba(8, 10, 16, 0.58);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 0 6px rgba(0, 0, 0, 0.28),
    0 10px 28px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.fj-char__play:hover {
  transform: scale(1.06);
  background: rgba(8, 10, 16, 0.72);
  border-color: #e8b86d;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 0 7px rgba(0, 0, 0, 0.32),
    0 12px 32px rgba(0, 0, 0, 0.5);
}

.fj-char__play-icon {
  display: block;
  width: 0;
  height: 0;
  margin: 0;
  /* 三角视觉重心偏左，略向右做光学居中 */
  transform: translateX(3px);
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent currentColor;
}

.fj-char__clip video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.fj-char__clip:not(.is-playing) video {
  visibility: hidden;
}

body.fj-snap .fj-char__intro {
  max-height: min(26vh, 240px);
}

body.fj-snap .fj-char__body.has-video .fj-char__intro {
  max-height: min(20vh, 180px);
}

.fj-char__visual {
  position: absolute;
  left: 32%;
  right: -8%;
  top: calc(var(--fj-header-h) * 0.1);
  bottom: -2%;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
  pointer-events: none;
  transform: translate3d(var(--fj-vis-x, 0px), var(--fj-vis-y, 0px), 0);
  will-change: transform;
}

.fj-char__visual img {
  display: block;
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55));
  transform-origin: 50% 100%;
  animation: fj-char-float 6s ease-in-out infinite;
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.fj-char__visual.is-swap img {
  animation: none;
  opacity: 0;
  transform: translate3d(40px, 0, 0) scale(0.98);
}

@keyframes fj-char-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -14px, 0); }
}

.fj-char__switcher {
  --fj-thumb-size: 64px;
  --fj-thumb-gap: 16px;
  --fj-thumb-visible: 9;
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  z-index: 5;
  max-width: calc(100% - 32px);
  pointer-events: auto;
}

.fj-char__nav {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(201, 164, 106, 0.55);
  border-radius: 50%;
  background: rgba(10, 12, 18, 0.55);
  color: var(--fj-text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s, border-color 0.2s, opacity 0.2s;
}

.fj-char__nav:hover {
  background: rgba(201, 164, 106, 0.35);
  border-color: var(--fj-accent);
}

.fj-char__nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.fj-char__thumbs {
  position: relative;
  left: auto;
  bottom: auto;
  transform: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: var(--fj-thumb-gap);
  width: max-content;
  max-width: min(
    calc(var(--fj-thumb-visible) * var(--fj-thumb-size) + (var(--fj-thumb-visible) - 1) * var(--fj-thumb-gap)),
    calc(100vw - 140px)
  );
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0;
}

.fj-char__thumbs::-webkit-scrollbar {
  display: none;
  height: 0;
}

.fj-char__thumb {
  width: var(--fj-thumb-size);
  height: var(--fj-thumb-size);
  flex: 0 0 var(--fj-thumb-size);
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.55;
  padding: 0;
  background: #1a1d26;
}

.fj-char__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fj-char__thumb.is-active {
  opacity: 1;
  border-color: var(--fj-accent);
}

body.fj-snap .fj-char__stage,
body.fj-normal .fj-char__stage {
  position: absolute;
  inset: 0;
}

body.fj-normal .fj-char__stage {
  min-height: 100vh;
  min-height: 100dvh;
}

/* 栏目角色页：仅保证可见，不改首页比例 */
body.fj-char-body .fj-char.fj-char--page {
  display: block !important;
  height: calc(100vh - var(--fj-header-h, 90px));
  height: calc(100dvh - var(--fj-header-h, 90px));
  overflow: hidden;
  contain: none !important;
}

body.fj-char-body .fj-char--page .fj-char__stage,
body.fj-char-body .fj-char--page .fj-char__info,
body.fj-char-body .fj-char--page .fj-char__visual,
body.fj-char-body .fj-char--page .fj-char__switcher {
  opacity: 1 !important;
  visibility: visible !important;
}

body.fj-char-body .fj-char--page .fj-char__switcher {
  position: absolute !important;
  left: 50% !important;
  bottom: 28px !important;
  transform: translateX(-50%) !important;
  z-index: 9;
  max-width: calc(100% - 32px);
  background: transparent;
  border: 0;
}

body.fj-char-body .fj-char--page .fj-char__visual,
body.fj-char-body .fj-char--page .fj-char__info {
  transform: none !important;
}

body.fj-char-body .fj-char--page .fj-char__visual img {
  height: 100%;
  max-height: none;
  max-width: none;
}

body.fj-normal .fj-char.fj-char--page .fj-char__stage {
  position: absolute !important;
  inset: 0 !important;
  min-height: 0 !important;
}

body.fj-normal .fj-char.fj-char--page .fj-char__stage {
  position: absolute !important;
  inset: 0 !important;
  min-height: 0 !important;
}

/* ---------- Icon / Encyclopedia ---------- */
.fj-iconmod {
  background: linear-gradient(180deg, #0c0e14 0%, #14121a 55%, #0c0e14 100%);
}

body.fj-snap .fj-iconmod .fj-wrap {
  max-width: min(1440px, 94vw);
  width: 100%;
  justify-content: center;
}

.fj-iconmod .fj-title {
  margin-bottom: 48px;
}

.fj-iconmod .fj-title h2 {
  font-size: clamp(42px, 4.2vw, 64px);
  letter-spacing: 0.2em;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.45);
}

.fj-iconmod__head-img,
.fj-mod-title-img {
  display: block;
  margin: 0 auto 40px;
  max-height: 96px;
  width: auto;
  object-fit: contain;
}

.fj-iconmod .fj-mod-title-img,
.fj-iconmod .fj-iconmod__head-img {
  max-height: 100px;
  margin-bottom: 48px;
}

.fj-icon-rail {
  --fj-icon-gap: 28px;
  --fj-icon-cols: 5;
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 0 64px;
  box-sizing: border-box;
}

.fj-icon-rail__track {
  display: flex;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: var(--fj-icon-gap);
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 12px 4px 28px;
  scrollbar-width: none;
}

.fj-icon-rail.is-compact .fj-icon-rail__track {
  justify-content: center;
}

.fj-icon-rail__track::-webkit-scrollbar {
  display: none;
  height: 0;
}

.fj-icon-card {
  /* 可视区默认 5 个；超出横向滚动 */
  flex: 0 0 calc((100% - (var(--fj-icon-cols) - 1) * var(--fj-icon-gap)) / var(--fj-icon-cols));
  width: calc((100% - (var(--fj-icon-cols) - 1) * var(--fj-icon-gap)) / var(--fj-icon-cols));
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(16px, 1.6vw, 28px);
  text-decoration: none !important;
  color: var(--fj-text);
  background: transparent !important;
  border: 0 !important;
  padding: 0;
  box-shadow: none !important;
  transition: transform 0.28s ease;
  box-sizing: border-box;
}

.fj-icon-card:hover {
  transform: translateY(-10px);
  color: var(--fj-accent-hot);
}

.fj-icon-card__frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  background:
    linear-gradient(160deg, rgba(40, 34, 28, 0.94) 0%, rgba(12, 14, 20, 0.96) 100%);
  border: 1px solid rgba(201, 164, 106, 0.42);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 -40px 50px rgba(0, 0, 0, 0.38),
    0 18px 42px rgba(0, 0, 0, 0.38);
  overflow: hidden;
}

.fj-icon-card__frame::before,
.fj-icon-card__frame::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: rgba(232, 184, 109, 0.8);
  border-style: solid;
  pointer-events: none;
  z-index: 2;
}

.fj-icon-card__frame::before {
  top: 12px;
  left: 12px;
  border-width: 2px 0 0 2px;
}

.fj-icon-card__frame::after {
  right: 12px;
  bottom: 12px;
  border-width: 0 2px 2px 0;
}

.fj-icon-card__glow {
  position: absolute;
  inset: auto 12% -28% 12%;
  height: 58%;
  background: radial-gradient(ellipse at center, rgba(232, 184, 109, 0.32) 0%, transparent 72%);
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 0.28s ease;
}

.fj-icon-card:hover .fj-icon-card__frame {
  border-color: rgba(232, 184, 109, 0.92);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 -40px 50px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(232, 184, 109, 0.18),
    0 22px 48px rgba(0, 0, 0, 0.45);
}

.fj-icon-card:hover .fj-icon-card__glow {
  opacity: 1;
}

.fj-icon-card__frame img {
  position: relative;
  z-index: 1;
  width: 72%;
  height: 72%;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.4));
  transition: transform 0.28s ease;
}

.fj-icon-card:hover .fj-icon-card__frame img {
  transform: scale(1.07);
}

.fj-icon-card__placeholder {
  position: relative;
  z-index: 1;
  width: 42%;
  height: 42%;
  border-radius: 50%;
  border: 1px solid rgba(201, 164, 106, 0.45);
  background: radial-gradient(circle at 35% 30%, rgba(232, 184, 109, 0.25), rgba(20, 22, 30, 0.9));
}

.fj-icon-card__name {
  display: block;
  max-width: 100%;
  padding: 0 2px;
  font-size: clamp(16px, 1.35vw, 22px);
  letter-spacing: 0.22em;
  line-height: 1.45;
  color: var(--fj-text);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
  transition: color 0.2s ease;
}

.fj-icon-card:hover .fj-icon-card__name {
  color: var(--fj-accent-hot);
}

.fj-icon-rail__btn {
  position: absolute;
  top: 12px;
  bottom: 3.6em;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-top: auto;
  margin-bottom: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #e8b86d;
  cursor: pointer;
  box-shadow: none;
  transition: color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.fj-icon-rail__btn::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 32px;
  height: 32px;
  margin: -16px 0 0 -16px;
  transform: rotate(45deg);
  border: 1px solid rgba(232, 184, 109, 0.75);
  border-radius: 3px;
  background:
    linear-gradient(145deg, rgba(48, 40, 30, 0.96) 0%, rgba(12, 14, 20, 0.94) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 8px 22px rgba(0, 0, 0, 0.42);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.fj-icon-rail__arrow {
  position: relative;
  z-index: 1;
  display: block;
  width: 10px;
  height: 10px;
  border-style: solid;
  border-color: currentColor;
  box-sizing: border-box;
}

.fj-icon-rail__btn--prev .fj-icon-rail__arrow {
  border-width: 0 0 2px 2px;
  transform: rotate(45deg) translate(1px, -1px);
}

.fj-icon-rail__btn--next .fj-icon-rail__arrow {
  border-width: 2px 2px 0 0;
  transform: rotate(45deg) translate(-1px, 1px);
}

.fj-icon-rail:not(.has-overflow) .fj-icon-rail__btn {
  opacity: 0;
  pointer-events: none;
}

.fj-icon-rail__btn:hover {
  color: #f5f0e8;
  transform: scale(1.06);
}

.fj-icon-rail__btn:hover::before {
  border-color: #f0c987;
  background:
    linear-gradient(145deg, rgba(72, 56, 36, 0.98) 0%, rgba(18, 16, 22, 0.95) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 0 1px rgba(232, 184, 109, 0.18),
    0 10px 26px rgba(0, 0, 0, 0.5);
  transform: rotate(45deg) scale(1.04);
}

.fj-icon-rail__btn:active {
  transform: scale(0.96);
}

.fj-icon-rail__btn--prev {
  left: 4px;
}

.fj-icon-rail__btn--next {
  right: 4px;
}

@media (max-width: 1200px) {
  .fj-icon-rail {
    --fj-icon-cols: 4;
    --fj-icon-gap: 22px;
    padding: 0 52px;
  }
}

@media (max-width: 900px) {
  .fj-icon-rail {
    --fj-icon-cols: 3;
    --fj-icon-gap: 16px;
    padding: 0 44px;
  }

  .fj-icon-rail__btn {
    width: 40px;
    height: 40px;
  }

  .fj-icon-rail__btn::before {
    width: 28px;
    height: 28px;
    margin: -14px 0 0 -14px;
  }
}

@media (max-width: 640px) {
  .fj-icon-rail {
    --fj-icon-cols: 2;
    padding: 0 40px;
  }
}

/* ---------- External links / Official media ---------- */
.fj-links {
  background: linear-gradient(180deg, #0c0e14 0%, #12151c 55%, #0c0e14 100%);
}

body.fj-snap .fj-links {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body.fj-snap .fj-links .fj-wrap {
  max-width: min(1440px, 94vw);
  width: 100%;
  justify-content: center;
}

.fj-links .fj-title {
  margin-bottom: 48px;
}

.fj-links .fj-title h2 {
  font-size: clamp(42px, 4.2vw, 64px);
  letter-spacing: 0.2em;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.45);
}

.fj-links-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(20px, 2.4vw, 36px) clamp(18px, 2.2vw, 40px);
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 12px 20px;
  box-sizing: border-box;
}

.fj-link-card {
  flex: 0 1 160px;
  width: 160px;
  max-width: calc(50% - 12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(12px, 1.2vw, 20px);
  text-decoration: none !important;
  color: var(--fj-text);
  background: transparent !important;
  border: 0 !important;
  padding: 0;
  box-shadow: none !important;
  transition: transform 0.28s ease, color 0.2s ease;
  box-sizing: border-box;
}

.fj-link-card:hover {
  transform: translateY(-10px);
  color: var(--fj-accent-hot);
}

.fj-link-card__ring {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 148px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  padding: 7%;
  box-sizing: border-box;
  background:
    radial-gradient(circle at 30% 25%, rgba(232, 184, 109, 0.28), transparent 55%),
    linear-gradient(160deg, rgba(56, 46, 34, 0.95) 0%, rgba(14, 16, 22, 0.96) 100%);
  border: 1px solid rgba(232, 184, 109, 0.55);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 16px 36px rgba(0, 0, 0, 0.4);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.fj-link-card__ring::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 1px dashed rgba(201, 164, 106, 0.35);
  pointer-events: none;
}

.fj-link-card__core {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(8, 10, 16, 0.72);
  border: 1px solid rgba(201, 164, 106, 0.28);
}

.fj-link-card__core img {
  width: 58%;
  height: 58%;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
  transition: transform 0.28s ease;
}

.fj-link-card__placeholder {
  width: 36%;
  height: 36%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(232, 184, 109, 0.35), rgba(20, 22, 30, 0.9));
  border: 1px solid rgba(201, 164, 106, 0.4);
}

.fj-link-card:hover .fj-link-card__ring {
  border-color: rgba(240, 201, 135, 0.95);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(232, 184, 109, 0.2),
    0 0 28px rgba(232, 184, 109, 0.18),
    0 20px 42px rgba(0, 0, 0, 0.45);
}

.fj-link-card:hover .fj-link-card__core img {
  transform: scale(1.08);
}

.fj-link-card__name {
  display: block;
  max-width: 100%;
  padding: 0 2px;
  font-size: clamp(14px, 1.2vw, 18px);
  letter-spacing: 0.16em;
  line-height: 1.4;
  color: var(--fj-text);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  transition: color 0.2s ease;
}

.fj-link-card:hover .fj-link-card__name {
  color: var(--fj-accent-hot);
}

@media (min-width: 1100px) {
  .fj-link-card {
    flex-basis: 168px;
    width: 168px;
    max-width: none;
  }

  .fj-link-card__ring {
    max-width: 156px;
  }
}

@media (max-width: 900px) {
  .fj-link-card {
    flex-basis: 132px;
    width: 132px;
  }

  .fj-link-card__ring {
    max-width: 120px;
  }
}

@media (max-width: 560px) {
  .fj-links-grid {
    gap: 18px 14px;
  }

  .fj-link-card {
    flex-basis: calc(50% - 10px);
    width: calc(50% - 10px);
    max-width: calc(50% - 10px);
  }
}

/* ---------- Site info / Footer module（样式以 fj-footer.css 为准） ---------- */
.fj-siteinfo.fj-footer {
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

body.fj-snap .fj-siteinfo.fj-footer {
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: visible;
  display: block;
}

.fj-copyright {
  text-align: center;
  margin-top: 40px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

.fj-page-foot {
  padding: 24px 0 40px;
  background: #0a0c10;
}

.fj-page-foot .fj-copyright {
  margin-top: 0;
}

.fj-char__dataset {
  display: none;
}

/* ---------- Modal ---------- */
.fj-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.65);
  padding: 24px;
}

.fj-modal.is-open {
  display: flex;
}

.fj-modal__box {
  max-width: 640px;
  width: 100%;
  max-height: 80vh;
  overflow: auto;
  background: #161820;
  border: 1px solid var(--fj-line);
  padding: 28px 32px;
  position: relative;
}

.fj-modal__close {
  position: absolute;
  right: 14px;
  top: 10px;
  border: 0;
  background: none;
  color: var(--fj-text-dim);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

.fj-modal__box h3 {
  margin: 0 0 16px;
  font-family: var(--fj-font-display);
  font-size: 24px;
  color: var(--fj-accent);
}

.fj-modal__body {
  font-size: 14px;
  color: var(--fj-text-dim);
  line-height: 1.8;
}

/* ---------- List pages ---------- */
.fj-page {
  padding: calc(var(--fj-header-h) + 32px) 0 60px;
  min-height: 100vh;
  background: #10131a;
  color: var(--fj-text);
}

body.fj-body:not(.fj-home) .fj-page {
  /* 内页顶栏不再 fixed，去掉多余顶距 */
  padding-top: 32px;
}

.fj-breadcrumb {
  max-width: 1200px;
  margin: 0 auto 20px;
  padding: 0 24px;
  font-size: 13px;
  color: var(--fj-text-dim);
}

.fj-breadcrumb a {
  color: var(--fj-text-dim);
}

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

.fj-page-title {
  text-align: center;
  margin-bottom: 36px;
  font-family: var(--fj-font-display);
  font-size: 32px;
  letter-spacing: 0.1em;
  color: var(--fj-text);
}

.fj-list-text {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
  list-style: none;
}

.fj-list-text li {
  display: flex;
  gap: 24px;
  padding: 20px;
  margin-bottom: 16px;
  background: var(--fj-panel);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.fj-list-text__pic {
  width: 200px;
  flex-shrink: 0;
  overflow: hidden;
}

.fj-list-text__pic img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.fj-list-text__body h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.fj-list-text__body p {
  margin: 0;
  font-size: 13px;
  color: var(--fj-text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fj-list-text__body time {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.fj-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  gap: 24px;
}

.fj-grid--cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.fj-grid--cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.fj-grid--cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.fj-grid-card {
  background: var(--fj-panel);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}

.fj-grid-card:hover {
  transform: translateY(-4px);
  border-color: var(--fj-line);
}

.fj-grid-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.fj-grid-card h3 {
  margin: 0;
  padding: 14px 16px;
  font-size: 15px;
}

.fj-waterfall {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  column-count: 4;
  column-gap: 16px;
}

.fj-waterfall a {
  display: block;
  break-inside: avoid;
  margin-bottom: 16px;
  overflow: hidden;
}

.fj-waterfall img {
  width: 100%;
  display: block;
  transition: transform 0.3s;
}

.fj-waterfall a:hover img {
  transform: scale(1.03);
}

.fj-pager {
  text-align: center;
  margin-top: 40px;
}

.fj-pager ul {
  display: inline-flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.fj-pager a,
.fj-pager span {
  display: inline-block;
  min-width: 36px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 13px;
  color: var(--fj-text-dim);
}

.fj-pager .active span,
.fj-pager a:hover {
  border-color: var(--fj-accent);
  color: var(--fj-accent);
}

/* ---------- Detail ---------- */
.fj-article {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.fj-article h1 {
  margin: 0 0 16px;
  font-size: 28px;
  font-family: var(--fj-font-display);
  letter-spacing: 0.06em;
}

.fj-article__meta {
  font-size: 13px;
  color: var(--fj-text-dim);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fj-article__content {
  font-size: 15px;
  line-height: 1.9;
  color: var(--fj-text-dim);
}

.fj-article__content img {
  max-width: 100%;
  height: auto;
}

.fj-media-view {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.fj-media-view__stage {
  position: relative;
  width: 100%;
  background: #000;
  overflow: hidden;
}

.fj-media-view__stage > img {
  width: 100%;
  display: block;
}

.fj-overlay-text {
  position: absolute;
  transform: translate(-50%, -50%);
  white-space: pre-wrap;
  pointer-events: none;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
  z-index: 2;
}

.fj-media-view__body {
  margin-top: 28px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--fj-text-dim);
}

.fj-prenext {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: var(--fj-text-dim);
}

.fj-prenext a:hover {
  color: var(--fj-accent-hot);
}

/* ---------- 视频列表 / 播放页 ---------- */
.fj-video-subnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 1100px;
  margin: -12px auto 28px;
  padding: 0 24px;
}

.fj-video-subnav a {
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--fj-text-dim);
  font-size: 13px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.fj-video-subnav a:hover,
.fj-video-subnav a.active,
.fj-video-subnav a.is-on {
  color: var(--fj-accent-hot);
  border-color: rgba(201, 164, 106, 0.45);
  background: rgba(201, 164, 106, 0.1);
}

.fj-video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px 18px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.fj-video-card {
  display: block;
  color: inherit;
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 164, 106, 0.18);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.fj-video-card:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 164, 106, 0.4);
  background: rgba(201, 164, 106, 0.06);
}

.fj-video-card__cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: #0a0c10;
  overflow: hidden;
}

.fj-video-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.fj-video-card:hover .fj-video-card__cover img {
  transform: scale(1.04);
}

.fj-video-card__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(232, 184, 109, 0.65);
  box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.15);
  opacity: 0.88;
  transition: opacity 0.2s, transform 0.2s, background 0.2s;
}

.fj-video-card__play::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -7px 0 0 -4px;
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent #f5f0e8;
}

.fj-video-card__play--sm {
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  box-shadow: none;
}

.fj-video-card__play--sm::before {
  margin: -4px 0 0 -2px;
  border-width: 4px 0 4px 7px;
}

.fj-video-card:hover .fj-video-card__play {
  opacity: 1;
  transform: scale(1.06);
  background: rgba(201, 164, 106, 0.35);
}

.fj-video-card__time {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
}

.fj-video-card__body {
  display: block;
  padding: 14px 14px 16px;
}

.fj-video-card__title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--fj-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fj-video-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--fj-text-dim);
}

.fj-video-card__views .iconfont {
  font-size: 12px;
  margin-right: 2px;
}

.fj-video-card__price {
  color: var(--fj-accent-hot);
  font-weight: 600;
}

.fj-video-card__badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(201, 164, 106, 0.35);
  color: var(--fj-accent);
  font-size: 11px;
}

.fj-video-card__badge--vip {
  border-color: rgba(232, 184, 109, 0.55);
  color: var(--fj-accent-hot);
  background: rgba(201, 164, 106, 0.12);
}

.fj-page--video {
  padding-bottom: 80px;
}

.fj-video-player {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  max-width: 1200px;
  margin: 0 auto 28px;
  padding: 0 24px;
  align-items: start;
}

.fj-video-player__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.fj-video-player__video,
.fj-video-player__stage video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}

.fj-video-player__lock {
  border-radius: 10px;
}

.fj-video-player__head {
  margin-top: 18px;
}

.fj-video-player__title {
  margin: 0 0 12px;
  font-family: var(--fj-font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: 0.06em;
  color: var(--fj-text);
  line-height: 1.35;
}

.fj-video-player__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13px;
  color: var(--fj-text-dim);
  margin-bottom: 14px;
}

.fj-video-player__meta .iconfont {
  margin-right: 4px;
  font-size: 13px;
}

.fj-video-player__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.fj-video-player__price {
  font-size: 28px;
  color: var(--fj-accent-hot);
  font-weight: 600;
  line-height: 1;
}

.fj-video-player__buy {
  min-width: 120px;
}

.fj-video-player__ware {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(201, 164, 106, 0.4);
  color: var(--fj-accent);
  font-size: 13px;
}

.fj-video-player__ware:hover {
  color: var(--fj-accent-hot);
  border-color: var(--fj-accent-hot);
}

.fj-video-player__aside {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  overflow: hidden;
  min-height: 0;
  max-height: calc(16 / 9 * ((min(1200px, 100vw) - 48px - 18px - 300px)));
  display: flex;
  flex-direction: column;
}

.fj-video-playlist__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--fj-text);
  font-size: 15px;
}

.fj-video-playlist__head span {
  font-size: 12px;
  color: var(--fj-text-dim);
}

.fj-video-playlist {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  flex: 1 1 auto;
  max-height: 520px;
}

.fj-video-playlist li a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  color: var(--fj-text-dim);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.15s, color 0.15s;
}

.fj-video-playlist li a:hover,
.fj-video-playlist li a.cur {
  background: rgba(201, 164, 106, 0.1);
  color: var(--fj-text);
}

.fj-video-playlist__idx {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  border: 1px solid rgba(201, 164, 106, 0.35);
  color: var(--fj-accent);
  font-size: 11px;
  line-height: 20px;
  text-align: center;
}

.fj-video-playlist__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fj-video-playlist__name {
  font-size: 13px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fj-video-playlist__info {
  font-size: 12px;
  color: rgba(245, 240, 232, 0.45);
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.fj-video-playlist__info em {
  font-style: normal;
  color: var(--fj-accent-hot);
}

.fj-video-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.fj-video-detail__title {
  margin: 0 0 16px;
  font-size: 18px;
  letter-spacing: 0.06em;
  color: var(--fj-text);
  font-family: var(--fj-font-display);
}

.fj-video-detail__main,
.fj-video-detail__side {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 22px 22px 18px;
}

.fj-video-detail__content {
  font-size: 15px;
  line-height: 1.9;
  color: var(--fj-text-dim);
}

.fj-video-detail__content img {
  max-width: 100%;
  height: auto;
}

.fj-video-related {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fj-video-related__item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.fj-video-related__cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background: #0a0c10;
}

.fj-video-related__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fj-video-related__name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.4;
  color: var(--fj-text);
}

.fj-video-related__time {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--fj-text-dim);
}

.fj-video-related__item:hover .fj-video-related__name {
  color: var(--fj-accent-hot);
}

.fj-video-player--single {
  grid-template-columns: 1fr;
}

.fj-video-player__iframe-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.fj-video-player__iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}

.fj-video-player__empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #0a0c10;
  color: var(--fj-text-dim);
  font-size: 14px;
}

.fj-video-player__empty img {
  max-width: 100%;
  max-height: 70%;
  object-fit: contain;
  opacity: 0.55;
}

.fj-video-card__date {
  color: rgba(245, 240, 232, 0.45);
}

.fj-video-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 20px;
  color: var(--fj-text-dim);
  font-size: 15px;
  border: 1px dashed rgba(201, 164, 106, 0.25);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

@media (max-width: 960px) {
  .fj-news__panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .fj-news__media {
    min-height: 280px;
    min-width: 0;
  }

  .fj-char__stage {
    position: absolute;
    inset: 0;
  }

  body.fj-snap .fj-char__stage {
    position: absolute;
    inset: 0;
    height: auto;
  }

  body.fj-snap .fj-char .fj-title,
  body.fj-snap .fj-char .fj-mod-title-img {
    left: 20px;
    right: 20px;
  }

  .fj-char__info {
    left: 16px;
    right: 16px;
    top: auto;
    bottom: 118px;
    width: auto;
    max-width: none;
    justify-content: flex-end;
    gap: 12px;
  }

  .fj-char__info h3 {
    font-size: clamp(40px, 11vw, 56px);
  }

  .fj-char__name-line {
    width: 48px;
    margin-top: 10px;
  }

  .fj-char__body.has-video .fj-char__intro {
    max-height: min(14vh, 130px);
  }

  .fj-char__intro {
    max-width: 100%;
    max-height: min(16vh, 150px);
    padding: 14px 16px;
    font-size: 14px;
  }

  .fj-char__clip {
    max-width: 100%;
    aspect-ratio: 16 / 9;
  }

  .fj-char__clip video {
    height: 100%;
    object-fit: contain;
  }

  .fj-char__visual {
    left: -8%;
    right: -8%;
    top: calc(var(--fj-header-h) + 8px);
    bottom: 36%;
    justify-content: center;
  }

  .fj-char__visual img {
    height: 100%;
    max-width: 100%;
  }

  .fj-waterfall {
    column-count: 2;
  }

  .fj-grid--cols-3,
  .fj-grid--cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .fj-list-text li {
    flex-direction: column;
  }

  .fj-list-text__pic {
    width: 100%;
  }

  .fj-video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
  }

  .fj-video-player,
  .fj-video-detail {
    grid-template-columns: 1fr;
  }

  .fj-video-player__aside {
    max-height: none;
  }

  .fj-video-playlist {
    max-height: 320px;
  }
}

@media (max-width: 640px) {
  .fj-video-grid {
    grid-template-columns: 1fr;
  }
}
