
  /* 角色档案 · 视频式排版（原站顶部导航 + 全屏舞台 + 底部角色条），米提亚深色主题 */
  .cv {
    --cv-accent: #a78bfa;
    --cv-accent-rgb: 167, 139, 250;
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
  }
  
  /* 导航常驻不做位移：首页仅显 logo，其余淡出，消除首页↔角色屏切换时导航卡顿 */
  .c-header.is-hidden { transform: none; background: transparent; border-bottom-color: transparent; backdrop-filter: none; }
  .c-header .c-nav, .c-header .c-side-tools, .c-header .c-lang, .c-header .c-burger { transition: opacity .35s ease; }
  .c-header.is-hidden .c-nav, .c-header.is-hidden .c-side-tools, .c-header.is-hidden .c-lang, .c-header.is-hidden .c-burger { opacity: 0; pointer-events: none; }
  /* 搜索（舞台右上，原站导航下方） */
  .cv-search {
    position: absolute; top: calc(var(--nav-h) + 18px); right: clamp(20px, 4vw, 48px); z-index: 5;
    display: flex; align-items: center; gap: 8px; width: 168px; height: 32px; padding: 0 13px;
    border: 1px solid var(--border); border-radius: 16px;
    background: rgba(19, 14, 38, .6); backdrop-filter: blur(8px); transition: border-color .3s, width .3s;
  }
  .cv-search:focus-within { border-color: var(--cv-accent); width: 210px; }
  .cv-search svg { width: 14px; height: 14px; fill: none; stroke: var(--blue); stroke-width: 2; flex: none; }
  .cv-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 12px; }
  .cv-search input::placeholder { color: var(--muted); }
  /* 舞台 */
  .cv-stage { position: relative; min-width: 0; overflow: hidden; isolation: isolate; background: var(--bg); }
  .cv-bg, .cv-scrim, .cv-region { position: absolute; inset: 0; pointer-events: none; }
  .cv-bg {
    z-index: -4;
    background:
      radial-gradient(70% 60% at 76% 34%, rgba(var(--cv-accent-rgb), .26), transparent 62%),
      radial-gradient(50% 44% at 12% 88%, rgba(125, 211, 252, .1), transparent 70%),
      linear-gradient(160deg, #0a0716 0%, #07060f 55%, #06050d 100%);
  }
  .cv-region { z-index: -3; display: grid; place-items: center; opacity: .08; transition: opacity .4s ease, transform .5s var(--ease); }
  .cv-stage.is-switching .cv-region { opacity: 0; transform: scale(1.04); }
  .cv-stage.is-entering .cv-region { animation: cvRegionIn .8s var(--ease) both; }
  .cv-region img { width: min(56vh, 500px); height: auto; filter: grayscale(1) brightness(2); }
  .cv-region__word {
    position: absolute; right: 3%; bottom: 18%;
    font: 700 clamp(40px, 7vw, 100px)/1 Georgia, serif; letter-spacing: .04em;
    color: var(--text); opacity: .06;
  }
  .cv-art {
    position: absolute; z-index: -2; right: 3%; bottom: 104px;
    height: calc(100% - 120px); width: auto; max-width: 76%;
    object-fit: contain; object-position: bottom center; cursor: zoom-in;
    filter: drop-shadow(0 24px 50px rgba(0, 0, 0, .5)) drop-shadow(0 0 40px rgba(var(--cv-accent-rgb), .22));
    transition: opacity .5s var(--ease), transform .58s cubic-bezier(.17, .67, .22, 1.03);
    will-change: opacity, transform;
  }
  .cv-art.is-in { opacity: 0; transform: translate3d(0, 64px, 0) scale(.98); }
  .cv-art.is-leaving { opacity: 0; transform: translate3d(0, -56px, 0) scale(.98); }
  .cv-art.is-entering { animation: cvArtIn .78s cubic-bezier(.17, .67, .22, 1.03) both; }
  .cv-art--ghost { z-index: -2; pointer-events: none; transition: opacity .55s var(--ease), transform .6s var(--ease); will-change: opacity, transform; }
  .cv-art--ghost.is-out { opacity: 0; transform: translate3d(0, -48px, 0) scale(.98); }
  @keyframes cvArtIn {
    0% { opacity: 0; transform: translate3d(0, 72px, 0) scale(.98); }
    100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
  }
  @keyframes cvRegionIn {
    0% { opacity: 0; transform: scale(1.06); }
    100% { opacity: .08; transform: scale(1); }
  }
  .cv-scrim {
    z-index: -1;
    background:
      linear-gradient(90deg, rgba(7, 6, 15, .92) 0%, rgba(7, 6, 15, .66) 30%, rgba(7, 6, 15, .12) 60%, rgba(7, 6, 15, .2) 100%),
      linear-gradient(0deg, rgba(6, 5, 13, .9) 0%, transparent 30%);
  }
  /* 文案栈 */
  .cv-copy { position: absolute; top: calc(var(--nav-h) + 28px); left: clamp(24px, 4vw, 52px); z-index: 3; width: min(400px, 46%); transition: opacity .24s ease, transform .24s ease, filter .24s ease; }
  .cv-stage.is-switching .cv-copy { opacity: 0; transform: translateY(-18px); filter: blur(4px); }
  .cv-stage.is-entering .cv-copy { opacity: 1; transform: none; filter: none; transition: none; }
  .cv-stage.is-entering .cv-copy > * { animation: cvTextIn .58s cubic-bezier(.17, .67, .22, 1.03) both; }
  .cv-stage.is-entering .cv-copy > *:nth-child(1) { animation-delay: .04s; }
  .cv-stage.is-entering .cv-copy > *:nth-child(2) { animation-delay: .12s; }
  .cv-stage.is-entering .cv-copy > *:nth-child(3) { animation-delay: .2s; }
  .cv-stage.is-entering .cv-copy > *:nth-child(4) { animation-delay: .28s; }
  .cv-stage.is-entering .cv-copy > *:nth-child(5) { animation-delay: .36s; }
  .cv-stage.is-entering .cv-copy > *:nth-child(6) { animation-delay: .44s; }
  @keyframes cvTextIn {
    0% { opacity: 0; transform: translate3d(0, 32px, 0); }
    100% { opacity: 1; transform: translate3d(0, 0, 0); }
  }
  .cv-name-wrap { position: relative; display: inline-block; }
  .cv-name { position: relative; font: 600 clamp(44px, 4.6vw, 66px)/1.1 "Noto Serif SC", "Songti SC", SimSun, serif; letter-spacing: .06em; text-shadow: 0 2px 24px rgba(0, 0, 0, .5); }
  .cv-name-line { display: block; width: 94px; height: 4px; margin-top: 10px; background: var(--cv-accent); box-shadow: 0 0 16px rgba(var(--cv-accent-rgb), .6); transition: background .5s; }
  /* 元素 + 武器 属性行 */
  .cv-attrs { display: flex; align-items: center; gap: 22px; margin-top: 22px; }
  .cv-attr { display: flex; align-items: center; gap: 9px; }
  .cv-attr img { width: 30px; height: 30px; object-fit: contain; }
  .cv-attr--weapon img { filter: brightness(0) invert(.82); }
  .cv-attr b { font-size: 13px; font-weight: 500; letter-spacing: .06em; color: var(--muted); }
  .cv-attr--elem b { color: var(--cv-accent); }
  .cv-desc { max-width: 300px; margin-top: 20px; color: var(--muted); font-size: 12.5px; line-height: 1.95; letter-spacing: .02em; }
  .cv-en { margin-top: 24px; font: italic 400 clamp(30px, 3.2vw, 46px)/1.15 Georgia, "Times New Roman", "Palatino Linotype", serif; letter-spacing: .01em; color: var(--text); text-shadow: 0 2px 18px rgba(0, 0, 0, .4); }
  .cv-quote { margin-top: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
  .cv-quote__bar {
    display: inline-block; padding: 5px 14px;
    background: rgba(23, 17, 44, .72); border-left: 2px solid rgba(var(--cv-accent-rgb), .7);
    color: var(--text); font: 500 clamp(15px, 1.5vw, 20px)/1.5 "Noto Serif SC", "Songti SC", SimSun, serif; letter-spacing: .04em; white-space: nowrap;
  }
  .cv-quote__bar:nth-child(2) { margin-left: 34px; }
  .cv-quote__bar:nth-child(3) { margin-left: 68px; }
  .cv-quote__bar:nth-child(4) { margin-left: 102px; }
  /* 底部角色条 */
  .cv-rail-bottom {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 5;
    display: flex; align-items: center; gap: 14px;
    height: 86px; padding: 0 28px;
    background: linear-gradient(0deg, rgba(7, 6, 15, .96), rgba(7, 6, 15, .72));
    border-top: 1px solid var(--line); backdrop-filter: blur(8px);
  }
  .cv-arrow {
    flex: none; display: grid; width: 38px; height: 38px; place-items: center;
    border: 1px solid var(--border); border-radius: 50%; background: rgba(19, 14, 38, .6);
    color: var(--text); font-size: 16px; cursor: pointer; transition: border-color .25s, color .25s, background .25s;
  }
  .cv-arrow:hover { border-color: var(--cv-accent); color: var(--cv-accent); background: rgba(var(--cv-accent-rgb), .12); }
  .cv-strip { display: flex; flex: 1; gap: 12px; overflow-x: auto; scrollbar-width: none; padding: 6px 2px; }
  .cv-strip::-webkit-scrollbar { display: none; }
  .cv-cell {
    position: relative; flex: none; display: flex; align-items: center; gap: 9px;
    height: 56px; padding: 0 14px 0 6px; border: 1px solid var(--border); border-radius: 30px;
    background: rgba(19, 14, 38, .5); color: var(--muted); cursor: pointer; transition: border-color .3s, color .3s, background .3s, transform .3s;
  }
  .cv-cell img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: rgba(236, 234, 248, .06); }
  .cv-cell span { font-size: 13px; letter-spacing: .04em; white-space: nowrap; }
  .cv-cell:hover { color: var(--text); transform: translateY(-2px); }
  .cv-cell.is-active { border-color: var(--cv-accent); color: var(--text); background: rgba(var(--cv-accent-rgb), .14); box-shadow: 0 0 18px rgba(var(--cv-accent-rgb), .25); }
  .cv-cell.is-active img { box-shadow: 0 0 0 2px rgba(var(--cv-accent-rgb), .8); }
  /* 预览 */
  .cv-lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 40px; visibility: hidden; opacity: 0; background: rgba(6, 5, 13, .92); backdrop-filter: blur(12px); transition: opacity .3s, visibility .3s; }
  .cv-lightbox.is-open { visibility: visible; opacity: 1; }
  .cv-lightbox img { max-width: min(1100px, 92vw); max-height: 86vh; object-fit: contain; }
  .cv-lightbox__close { position: absolute; top: 22px; right: 26px; display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--border); border-radius: 50%; background: transparent; color: var(--text); font-size: 22px; cursor: pointer; }
  @media (max-width: 900px) {
    .cv { position: relative; inset: auto; grid-template-rows: minmax(560px, 100svh); min-height: 100svh; }
    .cv-stage { min-height: 560px; }
    /* 搜索框固定在右上，文案整体下移，避免长名字被搜索框压住 */
    .cv-search { top: calc(var(--nav-h) + 10px); }
    .cv-art { right: -8%; max-width: 96%; }
    .cv-copy { left: 24px; width: 70%; top: calc(var(--nav-h) + 46px); }
  }
  @media (max-width: 640px) {
    .cv { grid-template-rows: minmax(560px, 92svh); }
    .cv-search { width: 140px; height: 32px; top: calc(var(--nav-h) + 10px); right: 16px; }
    .cv-search:focus-within { width: 160px; }
    .cv-copy { top: calc(var(--nav-h) + 48px); left: 18px; width: 84%; }
    .cv-name { font-size: 40px; }
    .cv-attrs { gap: 16px; margin-top: 16px; }
    .cv-attr img { width: 26px; height: 26px; }
    .cv-desc { font-size: 12px; max-width: 260px; }
    .cv-en { font-size: 28px; margin-top: 16px; }
    .cv-art { right: -20%; bottom: 88px; height: calc(100% - 104px); max-width: 120%; }
    .cv-rail-bottom { height: 78px; padding: 0 16px; gap: 10px; }
    .cv-cell span { display: none; }
    .cv-cell { padding: 0 6px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .cv *, .cv *::before, .cv *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0s !important; }
  }
  /* 游戏资料 · 3D 自动旋转环形大图轮播 */
  .dc {
    --dc-accent: #a78bfa; --dc-accent-rgb: 167, 139, 250;
    position: absolute; inset: 0; padding-top: var(--nav-h);
    display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
    background:
      radial-gradient(60% 50% at 50% 42%, rgba(var(--dc-accent-rgb), .16), transparent 70%),
      radial-gradient(46% 40% at 90% 2%, rgba(var(--dc-accent-rgb), .1), transparent 72%),
      linear-gradient(160deg, #0a0716, #07060f 58%, #06050d);
    color: var(--text); font-family: var(--font); overflow: hidden;
  }
  .dc-mast { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: clamp(12px, 2vh, 22px) clamp(24px, 4vw, 56px) clamp(6px, 1vh, 12px); }
  .dc-kicker { display: flex; align-items: center; gap: 12px; color: var(--muted); font: 500 11px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; }
  .dc-kicker i { width: 36px; height: 1px; background: var(--dc-accent); }
  .dc-title { margin-top: 10px; font: 600 clamp(38px, 4.6vw, 66px)/.95 "Noto Serif SC", "Songti SC", SimSun, serif; letter-spacing: .04em; color: var(--text); text-shadow: 0 2px 24px rgba(0, 0, 0, .5); }
  .dc-sub { display: flex; align-items: baseline; gap: 10px; margin-top: 8px; }
  .dc-sub em { font: italic 400 clamp(15px, 1.6vw, 21px)/1 Georgia, serif; color: var(--dc-accent); }
  .dc-sub span { color: var(--muted); font-size: 12px; letter-spacing: .08em; }
  .dc-meta { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-align: right; }
  .dc-desc { max-width: 360px; color: var(--muted); font-size: 12px; line-height: 1.8; }
  .dc-index { font: 600 clamp(22px, 2.4vw, 32px)/1 Georgia, serif; color: transparent; -webkit-text-stroke: 1px rgba(var(--dc-accent-rgb), .55); }
  .dc-index b { color: var(--dc-accent); -webkit-text-stroke: 0; }
  .dc-stage { position: relative; min-height: 0; overflow: hidden; display: grid; place-items: center; perspective: 2200px; perspective-origin: 50% 46%; }
  .dc-stage::before, .dc-stage::after { content: ""; position: absolute; top: 0; bottom: 0; width: 13%; z-index: 4; pointer-events: none; }
  .dc-stage::before { left: 0; background: linear-gradient(90deg, #07060f, transparent); }
  .dc-stage::after { right: 0; background: linear-gradient(270deg, #07060f, transparent); }
  .dc-ring { position: relative; width: 0; height: 0; transform-style: preserve-3d; animation: dc-spin 26s linear infinite; }
  .dc-ring:hover { animation-play-state: paused; }
  @keyframes dc-spin { from { transform: rotateX(-6deg) rotateY(0deg); } to { transform: rotateX(-6deg) rotateY(-360deg); } }
  .dc-card {
    position: absolute; left: 0; top: 0;
    width: var(--dc-cw, 210px); height: var(--dc-ch, 280px);
    margin-left: calc(var(--dc-cw, 210px) / -2); margin-top: calc(var(--dc-ch, 280px) / -2);
    border: 1px solid rgba(var(--dc-accent-rgb), .35); border-radius: 12px; overflow: hidden;
    background: linear-gradient(160deg, rgba(var(--dc-accent-rgb), .2), rgba(26, 20, 48, .95));
    box-shadow: 0 22px 56px rgba(0, 0, 0, .55), 0 0 30px rgba(var(--dc-accent-rgb), .12);
    backface-visibility: hidden; transform-style: preserve-3d; will-change: transform, opacity, filter; cursor: pointer;
    /* 只对卡片本身做透明度过渡：给 .dc-ring 加 opacity/filter 会强制 3D 上下文降级为扁平，切换瞬间圆环会“竖起来” */
    transition: opacity .28s ease;
    animation: dcCardIn .5s ease;
  }
  @keyframes dcCardIn { from { opacity: 0; } to { opacity: 1; } }
  .dc-card__media { position: absolute; inset: 0; display: grid; place-items: center; }
  .dc-card[data-mode="photo"] .dc-card__media img { width: 100%; height: 100%; object-fit: cover; }
  .dc-card[data-mode="specimen"] .dc-card__media { padding: 12% 12% 20%; }
  .dc-card[data-mode="specimen"] .dc-card__media img { max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 16px 30px rgba(0, 0, 0, .5)) drop-shadow(0 0 28px rgba(var(--dc-accent-rgb), .24)); }
  .dc-card__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 15px; background: linear-gradient(0deg, rgba(6, 5, 13, .95), rgba(6, 5, 13, .4) 70%, transparent); }
  .dc-card[data-mode="photo"] .dc-card__cap { display: none; }
  .dc-card__name { display: block; font: 600 15px/1.3 "Noto Serif SC", "Songti SC", serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dc-card__sub { display: block; margin-top: 2px; font-size: 10.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dc-card__stars { position: absolute; top: 10px; right: 12px; color: var(--rar, #e8c37a); font-size: 10px; letter-spacing: 1px; text-shadow: 0 1px 4px rgba(0, 0, 0, .8); }
  .dc-cats { display: flex; gap: clamp(8px, 1.6vw, 22px); overflow-x: auto; scrollbar-width: none; padding: 12px clamp(24px, 4vw, 56px) 14px; border-top: 1px solid rgba(var(--dc-accent-rgb), .18); }
  .dc-cats::-webkit-scrollbar { display: none; }
  .dc-cat { position: relative; display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 6px 2px; border: 0; background: transparent; color: var(--muted); font-size: 13px; letter-spacing: .06em; cursor: pointer; white-space: nowrap; transition: color .3s; }
  .dc-cat img { width: 18px; height: 18px; object-fit: contain; opacity: .58; filter: grayscale(1) brightness(1.7); transition: opacity .3s, filter .3s; }
  .dc-cat:hover img { opacity: .86; }
  .dc-cat.is-active img { opacity: 1; filter: drop-shadow(0 0 6px rgba(var(--dc-accent-rgb), .45)); }
  .dc-cat::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--dc-accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
  .dc-cat:hover { color: var(--text); }
  .dc-cat.is-active { color: var(--text); }
  .dc-cat.is-active::after { transform: scaleX(1); }
  .dc-title, .dc-sub, .dc-desc, .dc-index { transition: opacity .3s ease, transform .3s ease, filter .3s ease; }
  .dc.is-switching .dc-title, .dc.is-switching .dc-sub, .dc.is-switching .dc-desc, .dc.is-switching .dc-index { opacity: 0; transform: translateY(10px); filter: blur(4px); }
  .dc.is-switching .dc-card { opacity: 0; }
  @media (max-width: 900px) {
    .dc { position: relative; inset: auto; min-height: 0; grid-template-rows: auto minmax(320px, 1fr) auto; }
    .dc-meta { display: none; }
    .dc-stage { perspective: 1200px; }
    /* 触屏下暂停旋转，避免卡片持续移动导致难以点选 */
    .dc-ring { animation: none; }
  }
  @media (max-width: 640px) {
    .dc-mast { padding: 8px 20px 6px; }
    .dc-title { font-size: 34px; }
    .dc-cats { padding: 10px 20px 12px; gap: 12px; }
    .dc-cat { min-height: 34px; padding: 8px 2px; font-size: 12px; }
    .dc-kicker { font-size: 9px; letter-spacing: .18em; }
  }
  @media (prefers-reduced-motion: reduce) {
    .dc-ring { animation: none; }
    .dc *, .dc *::before, .dc *::after { transition-duration: .01ms !important; }
  }
  /* Nuxt home additions */
.cv-art { opacity: 1; }
.cv-art.is-preloading { opacity: 0; transform: translate3d(0, 72px, 0) scale(.98); transition-duration: .28s; }
/* 骨架屏展示期间彻底隐藏立绘：新图未加载完成前不显示上一位角色 */
.cv-art.is-skeleton { opacity: 0 !important; transition: none !important; pointer-events: none; }

/* 角色立绘骨架屏：立绘未完成加载前遮住上一位角色，避免切换时残留旧图 */
.cv-art-skeleton {
  position: absolute; z-index: 0; right: 6%; bottom: 112px;
  width: clamp(220px, 34vw, 460px); height: calc(100% - 152px);
  border-radius: 46% 46% 24px 24px / 20% 20% 24px 24px;
  overflow: hidden; pointer-events: none;
  background:
    radial-gradient(58% 34% at 50% 10%, rgba(var(--cv-accent-rgb), .2), transparent 72%),
    rgba(12, 9, 26, .5);
}
.cv-art-skeleton::before {
  content: ""; position: absolute; inset: -20% -45%;
  background: linear-gradient(100deg, transparent 38%, rgba(236, 234, 248, .09) 50%, transparent 62%);
  animation: cvArtShimmer 1.7s ease-in-out infinite;
}
@keyframes cvArtShimmer {
  from { transform: translateX(-55%); }
  to { transform: translateX(55%); }
}
@media (max-width: 900px) {
  .cv-art-skeleton { right: 2%; width: clamp(200px, 48vw, 420px); }
}
@media (max-width: 640px) {
  .cv-art-skeleton { right: 0; bottom: 96px; width: 56vw; height: calc(100% - 128px); }
}

/* 剧情主视觉骨架屏 */
.hh-event__img { transition: opacity .3s ease; }
.hh-event__img.is-loading { opacity: 0 !important; animation: none !important; transition: none !important; }
.hh-event__skeleton {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(236, 234, 248, .025) 30%, rgba(236, 234, 248, .085) 50%, rgba(236, 234, 248, .025) 70%),
    rgba(12, 9, 26, .82);
  background-size: 200% 100%;
  animation: hhSkeleton 1.7s ease-in-out infinite;
}
@keyframes hhSkeleton {
  from { background-position: 120% 0; }
  to { background-position: -80% 0; }
}

/* 作品展示骨架屏 */
.hn-first__banner-img img { transition: transform 2000ms cubic-bezier(.01, 1.21, .96, .95), opacity .3s ease; }
.hn-first__banner-bg-img { transition: opacity .3s ease; }
.hn-first__banner.is-loading .hn-first__banner-img img,
.hn-first__banner.is-loading .hn-first__banner-bg-img { opacity: 0; transition: none; }
.hn-first__skeleton {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(236, 234, 248, .025) 30%, rgba(236, 234, 248, .085) 50%, rgba(236, 234, 248, .025) 70%),
    rgba(12, 9, 26, .72);
  background-size: 200% 100%;
  animation: hnSkeleton 1.7s ease-in-out infinite;
}
@keyframes hnSkeleton {
  from { background-position: 120% 0; }
  to { background-position: -80% 0; }
}

/* 游戏资料环形卡片骨架屏 */
.dc-card__media::before {
  content: ""; position: absolute; inset: 8%; z-index: 0; pointer-events: none;
  border-radius: 8px;
  background:
    linear-gradient(100deg, rgba(236, 234, 248, .025) 30%, rgba(236, 234, 248, .085) 50%, rgba(236, 234, 248, .025) 70%),
    rgba(12, 9, 26, .55);
  background-size: 200% 100%;
  animation: dcSkeleton 1.7s ease-in-out infinite;
}
.dc-card[data-mode="photo"] .dc-card__media::before { inset: 0; border-radius: 0; }
.dc-card__media:has(> img.is-loaded)::before { display: none; }
.dc-card__media > img {
  position: relative; z-index: 1;
  opacity: 0; transition: opacity .25s ease;
}
.dc-card__media > img.is-loaded { opacity: 1; }
@keyframes dcSkeleton {
  from { background-position: 120% 0; }
  to { background-position: -80% 0; }
}
.dc-enter { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; flex: none; color: var(--dc-accent); font: 500 10px/1 var(--mono); letter-spacing: .12em; border-bottom: 1px solid rgba(var(--dc-accent-rgb), .35); padding-bottom: 4px; }
.dc-enter:hover { color: var(--text); border-color: var(--text); }
.dc-cats { align-items: center; }
.hh-event__img { opacity: 1; }
.hh-event.is-fading .hh-event__img { animation: hhFade .55s var(--ease) both; }
.hh-event__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; transition: opacity .35s; }
.hh-event.is-video .hh-event__video { opacity: 1; }
.hh-item { cursor: pointer; }
.hh-chapter { cursor: pointer; }
.hj-card { display: block; }
.hj-card__number { background-size: contain; background-repeat: no-repeat; background-position: center; }
.hn-list button { cursor: pointer; }

body:has(.fp__slide[data-section="characters"].is-active) .deco,
body:has(.fp__slide[data-section="characters"].is-active) .scrolltip,
body:has(.fp__slide[data-section="characters"].is-active) .back-top,
body:has(.fp__slide[data-section="characters"].is-active) .scroll-progress,
body:has(.fp__slide[data-section="data"].is-active) .deco,
body:has(.fp__slide[data-section="data"].is-active) .scrolltip,
body:has(.fp__slide[data-section="data"].is-active) .back-top,
body:has(.fp__slide[data-section="data"].is-active) .scroll-progress {
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .4s ease, visibility .4s;
}
.cv-link {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 18px;
  color: var(--cv-accent); font: 500 10.5px/1 var(--mono); letter-spacing: .1em;
  border-bottom: 1px solid rgba(var(--cv-accent-rgb), .3); padding-bottom: 5px;
}
.cv-link:hover { color: var(--text); border-color: var(--text); }
.hh-archive-link {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 18px;
  color: var(--blue); font: 500 10.5px/1 var(--mono); letter-spacing: .1em;
}
.hh-archive-link:hover { color: var(--text); }
.ab__links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 18px; }
.ab__links a { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-size: 11px; letter-spacing: .06em; }
.ab__links a:hover { color: var(--text); }
.home-lb-cap { max-width: 70vw; margin-top: 12px; color: var(--muted); font: 500 10px/1.6 var(--mono); letter-spacing: .12em; text-align: center; }

.cv-quote__bar { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }

.hm__title-welcome {
  display: block;
  margin-bottom: 12px;
  color: var(--text);
  font-family: var(--font);
  font-size: clamp(17px, 1.6vw, 24px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .08em;
}
.hm__title-welcome em {
  color: var(--blue);
  font-style: normal;
  background: linear-gradient(108deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cv-skel {
  display: block;
  background: linear-gradient(100deg, rgba(236,234,248,.035) 30%, rgba(236,234,248,.1) 50%, rgba(236,234,248,.035) 70%);
  background-size: 200% 100%;
  animation: cvSkel 1.4s ease-in-out infinite;
  border-radius: 2px;
}
.cv-skel--desc { display: grid; gap: 9px; margin-top: 20px; max-width: 300px; }
.cv-skel--desc span { height: 10px; }
.cv-skel--desc span:nth-child(1) { width: 96%; }
.cv-skel--desc span:nth-child(2) { width: 82%; }
.cv-skel--desc span:nth-child(3) { width: 58%; }
.cv-skel--en { width: 120px; height: 26px; margin-top: 24px; }
.cv-skel-quote { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 20px; }
.cv-skel-quote span { display: block; width: 70%; height: 28px; background: rgba(23,17,44,.72); border-left: 2px solid rgba(var(--cv-accent-rgb), .3); }
.cv-skel-quote span:nth-child(1) { width: 62%; }
.cv-skel-quote span:nth-child(2) { width: 46%; margin-left: 34px; }
.cv-skel-quote span:nth-child(3) { width: 56%; margin-left: 68px; }
.cv-desc--error { color: var(--muted); }
.cv-desc__retry { margin-left: 8px; padding: 3px 8px; border: 1px solid var(--border); color: var(--blue); font-size: 10px; }
.cv-desc__retry:hover { border-color: var(--blue); }
@keyframes cvSkel { from { background-position: 120% 0; } to { background-position: -80% 0; } }
@media (max-width: 640px) {
  .cv-skel--desc { max-width: 230px; }
  .cv-skel--en { height: 22px; margin-top: 16px; }
}

.hh-event.is-linkable { cursor: pointer; }
.hh-event__hint {
  position: absolute; right: 16px; bottom: 16px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border: 1px solid rgba(255,255,255,.28);
  background: rgba(7,6,15,.72); color: var(--text);
  font: 500 10px/1 var(--mono); letter-spacing: .08em;
  opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s;
  backdrop-filter: blur(8px); pointer-events: none;
}
.hh-event.is-linkable:hover .hh-event__hint { opacity: 1; transform: translateY(0); }
.hh-event.is-video .hh-event__hint { opacity: 0; }

/* Keep the legacy two-side decorations above full-bleed section backgrounds. */
.deco { z-index: 3; }

.dc-card__stars-inline {
  display: block;
  margin-top: 1px;
  color: var(--rar, #e8c37a);
  font-size: 8px;
  line-height: 1;
  letter-spacing: 1px;
  text-shadow: 0 0 8px rgba(232, 195, 122, .25);
}
.dc-card__corner {
  position: absolute;
  right: 8px;
  z-index: 3;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 0;
  border-radius: 7px;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(6px);
}
.dc-card__corner--top { top: 8px; }
.dc-card__corner--bottom { bottom: 8px; }
.dc-card__corner img { width: 16px; height: 16px; object-fit: contain; }
.dc-card { cursor: pointer; }
.dc-card:focus-visible { outline: 1px solid var(--dc-accent); outline-offset: 2px; }

.dc-library {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 9px 16px;
  border: 1px solid var(--dc-accent);
  border-radius: 6px;
  background: rgba(var(--dc-accent-rgb), .16);
  color: var(--text);
  font: 600 11px/1 var(--font);
  letter-spacing: .1em;
  transition: background .25s, border-color .25s, color .25s, box-shadow .25s;
}
.dc-library:hover {
  background: rgba(var(--dc-accent-rgb), .28);
  border-color: var(--dc-accent);
  color: #fff;
  box-shadow: 0 0 18px rgba(var(--dc-accent-rgb), .18);
}

/* 作品展示：视频作品的 READ MORE / 封面 / 名称跳转站内动画库 */
a.hn-first__title-content {
  text-decoration: none;
  cursor: pointer;
}
a.hn-first__title-content:hover {
  color: var(--blue);
}
.hn-first__banner-img {
  cursor: pointer;
}
