/* The complete game image sits behind a narrow reflection on its frame glass. */
.work-plane-motion { isolation: isolate; }
.work-plane-surface {
  position: relative;
  z-index: 1;
  padding: 5px;
  border-color: #827767;
  background: #24211d;
  box-shadow: inset 0 1px 0 #b7a99466, 0 22px 30px #0008, 0 42px 62px #0005;
}
.hero-frame-thickness,
.hero-frame-backplate {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}
.hero-frame-thickness {
  border: 1px solid #6b6256;
  background: linear-gradient(145deg, #302c26 0%, #3c352d 62%, #201e1a 100%);
  box-shadow: 1px 1px 0 #100f0e, 2px 2px 0 #100f0e, 3px 3px 0 #6d5d47, 10px 22px 28px #0008;
  opacity: .86;
  transform: translate3d(11px,16px,0) rotate(-1.2deg);
}
.hero-frame-backplate {
  border: 1px solid #4d473d;
  background: linear-gradient(155deg, #22211e 0%, #181714 80%);
  box-shadow: 0 1px 0 #86755b44, 12px 26px 32px #0006;
  opacity: .66;
  transform: translate3d(17px,25px,0) rotate(-2.45deg);
}
.hero-frame-light {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  padding: 7px;
  pointer-events: none;
  opacity: 0;
  isolation: isolate;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
}
.hero-frame-sweep {
  position: absolute;
  inset: -100% 0;
  display: block;
  opacity: .96;
  background: linear-gradient(112deg, transparent 29%, #bf785b2e 40%, #f7ccb5d9 47%, #fff8ee 50%, #fff4e8 52%, #ce8b67c9 56%, transparent 67%);
  transform: translate3d(-112%,0,0);
  will-change: transform, opacity;
}
.hero-surface-reflection {
  position: absolute;
  inset: 5px;
  display: block;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  isolation: isolate;
}
.hero-surface-sweep {
  position: absolute;
  inset: -100% 0;
  display: block;
  /* Only the moving band changes luminance; the rest remains transparent. */
  background: linear-gradient(112deg,
    transparent 32%, #0a090842 39%, #0a09085c 43%,
    #f4e4cc05 44%, #fff5e536 48%, #fff9ed75 50%,
    #fff4df42 52%, #e9cba61a 56%, transparent 63%);
  transform: translate3d(-112%,0,0);
  will-change: transform;
}
.hero-frame-material {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: .4;
  pointer-events: none;
  mix-blend-mode: screen;
}
@supports not (mask-composite: exclude) {
  .hero-frame-light { display: none; }
}
@media (max-width:760px) {
  .work-plane-surface { padding: 4px; box-shadow: inset 0 1px 0 #b7a99455, 0 18px 26px #0008, 0 30px 44px #0004; }
  .hero-frame-light { padding: 6px; }
  .hero-frame-thickness { transform: translate3d(6.16px,8.96px,0) rotate(-1.2deg); }
  .hero-frame-backplate { transform: translate3d(9.52px,14px,0) rotate(-2.45deg); }
  .hero-frame-sweep { background: linear-gradient(112deg, transparent 26%, #bf785b38 38%, #f7ccb5ef 47%, #fff9f1 50%, #fff4e8 53%, #ce8b67c9 58%, transparent 70%); }
  .hero-surface-reflection { inset: 4px; }
  .hero-surface-sweep {
    background: linear-gradient(112deg,
      transparent 27%, #0a090842 35%, #0a09085c 40%,
      #f4e4cc0a 42%, #fff5e540 47%, #fff9ed85 50%,
      #fff4df4f 53%, #e9cba623 59%, transparent 68%);
  }
}
