/* ============ 旧内核（不支持 translate/rotate/scale 独立属性）回退 ============
   仅在引擎不识别这些独立属性时生效；现代 Chromium / Edge / Chrome 走上面的原样式。
   transform 与独立属性在现代浏览器不叠加，这里用 @supports not 隔离。 */

@supports not (translate: 0 0) {
  /* home.css */
  .proj__beam { transform: translate(var(--mx, 50vw) var(--my, 46vh)); }

  /* home.css */
  .home-index { transform: translate(0 -50%); }

  /* home.css */
  [data-reveal] { transform: translate(0 calc(var(--rv-y, 26px) + var(--dy, 0px))) scale(.985); }

  /* home.css */
  [data-reveal].is-in { transform: translate(0 var(--dy, 0px)) scale(1); }

  /* home.css */
  .open__intro { transform: rotate(-2.2deg); }

  /* home.css */
  .open__intro::before { transform: translate(-50% 0) rotate(-2deg); }

  /* home.css */
  .open__poster { transform: rotate(3deg); }

  /* home.css */
  .open__cue { transform: translate(-50% 0); }

  /* home.css */
  .work:hover .work__card,
  .work:focus-visible .work__card,
  .work.is-active .work__card { transform: translate(0 -6px) rotate(0deg); }

  /* home.css */
  .work.is-active .work__art { transform: scale(1.035); }

  /* home.css */
  .social:hover { transform: translate(0 -6px); }

  /* home.css */
  .case__halo { transform: translate(-50% -50%); }

  /* home.css */
  .case__shadow { transform: translate(-50% 0) scale(var(--ss, 1)); }

  /* home.css */
  .case__art { transform: translate(calc(-50% + var(--cx, 0px)) calc(var(--cy, 0px) - var(--lift, 0px))) rotate(var(--crot, -2deg)); }

  /* home.css */
  .case__label { transform: translate(-50% 0); }

  /* home.css */
  .transport { transform: translate(-50% 18px); }

  /* home.css */
  body.in-works .transport { transform: translate(-50% 0); }

  /* home.css */
  .home .cursor__ring { transform: rotate(var(--spin, 0deg)); }

  /* home.css */
  .home .cursor__label { transform: translate(14px -50%); }

  /* home.css */
  .home .cursor.is-hot { transform: scale(1.06); }

  /* home.css */
  .home .cursor.is-down { transform: scale(.9); }

  /* home.css */
  .open__intro { transform: rotate(-1.6deg); }

  /* home.css */
  .open__poster { transform: rotate(2deg); }

  /* home.css */
  .about__family { transform: rotate(-4deg); }

  /* home.css */
  .social--xhs { transform: rotate(-.8deg); }

  /* home.css */
  .social--bili { transform: rotate(.8deg); }

  /* home.css */
  [data-reveal] { transform: none !important; }

  /* story.css */
  .lamp::after { transform: translate(-50% 0); }

  /* story.css */
  .lamp i { transform: translate(-50% 0); }

  /* story.css */
  .lamp i::after { transform: translate(-50% 0); }

  /* story.css */
  body.scroll-up .fg--veil { transform: scaleX(-1); }

  /* story.css */
  body.scroll-down .fg--veil { transform: scaleX(1); }

  /* story.css */
  body.scroll-up .fg--scraps { transform: translate(calc(var(--fgl, 0px) + 30px) -20px); }

  /* story.css */
  body.scroll-down .fg--scraps { transform: translate(calc(var(--fgl, 0px) - 30px) 14px); }

  /* story.css */
  body.scroll-up .fg--post { transform: translate(0 calc(var(--fgr, 0px) - 16px)); }

  /* story.css */
  body.scroll-down .fg--post { transform: translate(0 calc(var(--fgr, 0px) + 11px)); }

  /* story.css */
  body.scroll-up .fg--chain { transform: translate(calc(var(--fgl, 0px) + 14px) 0); }

  /* story.css */
  body.scroll-down .fg--chain { transform: translate(calc(var(--fgl, 0px) - 9px) 0); }

  /* story.css */
  body.scroll-up .fg--tape-hang { transform: translate(0 calc(var(--fgr, 0px) - 18px)); }

  /* story.css */
  body.scroll-down .fg--tape-hang { transform: translate(0 calc(var(--fgr, 0px) + 12px)); }

  /* story.css */
  body.scroll-up .fg--reel-edge { transform: translate(calc(var(--fgr, 0px) - 20px) 14px); }

  /* story.css */
  body.scroll-down .fg--reel-edge { transform: translate(calc(var(--fgr, 0px) + 12px) -8px); }

  /* story.css */
  .hero__content,
  .act__head,
  .finale__head,
  .note,
  .open-panel { transform: translate(var(--tx, 0px) var(--ty, 0px)) rotate(var(--rot, 0deg)); }

  /* story.css */
  [data-reveal].is-in .note { transform: scale(1); }

  /* story.css */
  [data-reveal] .open-panel { transform: scale(.96); }

  /* story.css */
  [data-reveal].is-in .open-panel { transform: scale(1); }

  /* story.css */
  .cursor__ring { transform: rotate(var(--spin, 0deg)); }

  /* story.css */
  .cursor__ring i:nth-child(2) { transform: rotate(90deg); }

  /* story.css */
  .cursor__ring i:nth-child(3) { transform: rotate(180deg); }

  /* story.css */
  .cursor__ring i:nth-child(4) { transform: rotate(270deg); }

  /* story.css */
  .cursor__label { transform: translate(0 -50%); }

  /* story.css */
  .cursor.is-hot { transform: scale(1.28); }

  /* story.css */
  .cursor.is-hot .cursor__label { transform: translate(0 -50%); }

  /* story.css */
  .cursor.is-down { transform: scale(.8); }

  /* story.css */
  .cursor.is-scrolling .cursor__ring { transform: rotate(calc(var(--spin, 0deg) + var(--scrollSpin, 0deg))); }

  /* story.css */
  .lamp { transform: scale(.62); }

  /* home-v2.css */
  .open__worktag { transform: rotate(1.6deg); }

  /* home-v2.css */
  .open__worktag:hover { transform: translate(0 -6px); }

  /* home-v2.css */
  .open__worktag:hover::after { transform: translate(3px 0); }

  /* home-v2.css */
  .solo__shot { transform: rotate(1.4deg); }

  /* home-v2.css */
  .solo__shot:hover { transform: translate(0 -8px) rotate(0deg); }

  /* home-v2.css */
  .solo__pin { transform: translate(-50% 0) rotate(45deg); }

  /* home-v2.css */
  .solo__icon { transform: rotate(-7deg); }

  /* home-v2.css */
  .follow__tape { transform: rotate(-8deg); }

  /* home-v2.css */
  .room-gallery__panel { transform: translate(calc(var(--gx, 0) * 10px)
      calc(var(--gy, 0) * 8px)); }

  /* home-v2.css */
  .case-shell { transform: translate(0 0); }

  /* home-v2.css */
  #machine .btn:hover { transform: translate(0 -1.4px); }

  /* home-v2.css */
  #machine .btn.is-pressed { transform: translate(0 1.6px); }

  /* home-v2.css */
  #powerBtn:active { transform: translate(0 1px); }

  /* home-v2.css */
  #lidTape:hover { transform: translate(0 -5px); }

  /* home-v2.css */
  #lidTape:active { transform: translate(0 -2px); }

  /* home-v2.css */
  #lidGlare { transform: translate(calc(var(--gx, 0) * 17px) calc(var(--gy, 0) * 9px)); }

  /* home-v2.css */
  .room-cursor__label { transform: translate(0 4px); }

  /* home-v2.css */
  .room-cursor.is-hot .room-cursor__dot { transform: scale(1.7); }

  /* home-v2.css */
  .room-cursor.is-down { transform: scale(.9); }

  /* home-v2.css */
  .open__worktag { transform: rotate(1deg); }

  /* home-v2.css */
  .solo__shot { transform: rotate(1deg); }

  /* home-v2.css */
  .room .case-shell { transform: translate(0 0); }

  /* home-v2.css */
  .rack__ghost { transform: translate(0 -50%); }

  /* home-v2.css */
  .rack__glow { transform: translate(-50% -50%); }

  /* home-v2.css */
  .rack-tape__grab { transform: translate(0 3px); }

  /* home-v2.css */
  .rack-tape:hover .rack-tape__grab,
  .rack-tape:focus-visible .rack-tape__grab { transform: translate(0 0); }

  /* home-v2.css */
  #machine .btn.is-pressed { transform: translate(0 0); }

  /* home-v2.css */
  .case__box { transform: translate(calc(-50% + var(--cx, 0px)) calc(var(--cy, 0px) - var(--lift, 0px))) rotate(var(--crot, -2deg)); }

  /* home-v2.css */
  .case__box .case__art { transform: none; }
}
