/* Cinematic mode artwork: contained displays, without collectible-style motion. */
#splash .mode-card {
  background: #121517;
  border-top-color: var(--accent);
  box-shadow: none;
  transition: border-color 180ms ease, background-color 180ms ease;
}

#splash .virus-card {
  --accent: #e45c59;
  background: linear-gradient(135deg, #1c1517, #101214 75%);
}

#splash .response-card {
  --accent: #d3e86b;
  background: linear-gradient(135deg, #182023, #101416 75%);
}

#splash .mode-card::before {
  opacity: .18;
  background-image: radial-gradient(#c7d3d840 .7px, transparent .7px);
  background-size: 9px 9px;
  mask-image: linear-gradient(180deg, #000, transparent 75%);
}

#splash .mode-card:hover {
  transform: none;
  box-shadow: none;
  border-color: color-mix(in srgb, var(--accent) 65%, #394044);
}

/* Square source art stays complete, even in the shallower laptop layout. */
#splash .mode-art {
  width: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  padding: 0;
  background: #080b0d;
  border: 1px solid #b9c8cf2e;
  border-radius: 0;
  outline: 1px solid #b9c8cf10;
  outline-offset: 4px;
  filter: none;
  transform: none;
  animation: none;
  transition: border-color 180ms ease;
}

#splash .mode-card:hover .mode-art {
  filter: none;
  transform: none;
  border-color: #bcc9cf5e;
}

#splash .mode-scene {
  margin-top: 14px;
  margin-bottom: 8px;
}

#splash .mode-brief {
  padding-right: 20px;
}

#splash .response-card .mode-brief {
  padding-right: 0;
  padding-left: 24px;
}

@media (max-width: 800px) {
  #splash .mode-scene {
    margin: 16px 0 12px;
  }

  #splash .mode-art {
    /* The surrounding frame does not reserve extra space on narrow cards. */
    outline-offset: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #splash .mode-card,
  #splash .mode-art {
    transition: none;
  }
}
