:root {
  --ff-canvas: #081426;
  --ff-surface-1: #111c30;
  --ff-surface-2: #1b2f4c;
  --ff-surface-raised: #243a59;
  --ff-line: #35465d;
  --ff-text: #f5f7fa;
  --ff-muted: #a1abbd;
  --ff-brand: #2a78ff;
  --ff-brand-deep: #0a3f9b;
  --ff-yes: #2fc59a;
  --ff-no: #e16a6a;
  --ff-warning: #e7aa55;
  --ff-gold: #d7b46a;
  --ff-radius-card: 16px;
  --ff-radius-hero: 24px;
  --ff-radius-control: 12px;
  --ff-shadow-card: 0 8px 24px rgb(0 8 24 / 24%);
  --ff-shadow-raised: 0 14px 36px rgb(0 8 24 / 34%);
}

.ff-card {
  background: linear-gradient(145deg, rgb(27 47 76 / 96%), rgb(11 25 45 / 96%));
  border: 1px solid rgb(91 140 196 / 28%);
  border-radius: var(--ff-radius-card);
  box-shadow: var(--ff-shadow-card), inset 0 1px 0 rgb(255 255 255 / 5%);
}

.ff-hero {
  background-color: var(--ff-canvas);
  background-image: linear-gradient(90deg, rgb(5 17 39 / 92%), rgb(5 17 39 / 28%)), var(--ff-hero-image);
  background-position: center;
  background-size: cover;
  border-radius: var(--ff-radius-hero);
  overflow: hidden;
}

.ff-asset-3d {
  display: block;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.ff-system-icon {
  width: 1em;
  height: 1em;
  color: currentColor;
  display: inline-block;
  flex: 0 0 auto;
}

.ff-outcome-yes { color: var(--ff-yes); }
.ff-outcome-no { color: var(--ff-no); }

@media (prefers-reduced-motion: no-preference) {
  .ff-interactive { transition: transform 140ms ease, border-color 140ms ease, background-color 140ms ease; }
  .ff-interactive:active { transform: scale(.985); }
}
