.scene-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid #2d2d2d;
  background: #000;
}

.scene-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
  opacity: 0.58;
}

.scene-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.62)),
    radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, 0.42) 100%);
  pointer-events: none;
}

.scene-brief {
  position: absolute;
  left: clamp(14px, 4vw, 34px);
  right: clamp(14px, 4vw, 34px);
  top: auto;
  bottom: 58px;
  z-index: 2;
  transform: none;
  max-width: 660px;
  border-left: 3px solid #f0a830;
  background: rgba(0, 0, 0, 0.72);
  padding: clamp(14px, 3vw, 22px);
  color: #e2e8dc;
}

.scene-brief-meta {
  color: #8bd99b;
  font-size: 12px;
  letter-spacing: 0;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.scene-brief-title {
  color: #fff0a6;
  font-size: clamp(20px, 3vw, 34px);
  line-height: 1.1;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.scene-brief p {
  margin: 0;
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.5;
}

.artifact-board {
  position: absolute;
  inset: 18px 18px auto 18px;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
  gap: 12px;
}

.artifact-screen,
.artifact-card {
  border: 1px solid rgba(139, 217, 155, 0.58);
  background: rgba(0, 0, 0, 0.68);
  padding: 12px;
}

.artifact-screen {
  display: grid;
  align-content: center;
  min-height: 112px;
}

.artifact-screen strong {
  color: #fff0a6;
  font-size: clamp(20px, 3vw, 36px);
  line-height: 1.1;
  text-transform: uppercase;
}

.artifact-kicker,
.artifact-card span {
  color: #8bd99b;
  font-size: 12px;
  text-transform: uppercase;
}

.artifact-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.artifact-card p {
  color: #e2e8dc;
  margin: 5px 0 0;
  font-size: clamp(13px, 1.4vw, 16px);
  line-height: 1.35;
}

@media (max-width: 780px) {
  .scene-frame {
    min-height: 440px;
  }

  .artifact-board {
    grid-template-columns: 1fr;
  }

  .artifact-list {
    grid-template-columns: 1fr;
  }

  .scene-brief {
    position: absolute;
    top: auto;
    bottom: 52px;
  }
}

.scene-label {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 2;
  border-left: 2px solid #f0a830;
  background: rgba(0, 0, 0, 0.82);
  color: #fff0a6;
  padding: 4px 7px;
  font-size: 13px;
  text-transform: uppercase;
}

.hotspot-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.hotspot {
  position: absolute;
  border: 1px dashed rgba(155, 255, 110, 0.55);
  background: rgba(155, 255, 110, 0.06);
}

.hotspot:hover {
  border-color: #f0a830;
  background: rgba(240, 168, 48, 0.1);
}

.blur-region {
  position: absolute;
  filter: blur(3px);
  background: rgba(139, 26, 26, 0.32);
}

.shake {
  animation: shake 180ms linear 3;
}

.flash {
  animation: flash 260ms linear 1;
}

@keyframes shake {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(8px, -3px); }
  50% { transform: translate(-6px, 2px); }
  75% { transform: translate(4px, 4px); }
}

@keyframes flash {
  0%, 100% { filter: none; }
  40% { filter: invert(1) contrast(2); }
}

@media (prefers-reduced-motion: reduce) {
  .shake,
  .flash {
    animation: none;
  }
}
