#funnel-controls {
  color-scheme: dark;
  max-width: 22rem;
  padding: .65rem .85rem;
  border: 1px solid #626975;
  border-radius: .5rem;
  background: #171b20;
  color: #f1f4fa;
  font: .875rem/1.4 system-ui, sans-serif;
}
#funnel-controls[data-funnel="game"] {
  position: fixed;
  z-index: 22;
  top: max(.75rem, env(safe-area-inset-top));
  right: max(.75rem, env(safe-area-inset-right));
  max-width: min(22rem, calc(100% - 3rem));
}
#funnel-controls:has([data-funnel-toggle]) { padding: .2rem; width: fit-content; }
#funnel-controls p { margin: .35rem 0 .65rem; }
#funnel-controls button {
  color: inherit;
  background: #2d333d;
  border: 1px solid #626975;
  border-radius: .3rem;
  padding: .35rem .7rem;
  cursor: pointer;
  font: inherit;
}
#funnel-controls div { display: flex; gap: .5rem; margin-bottom: .4rem; }
#funnel-controls a { color: #ffd16a; }
#funnel-controls :focus-visible { outline: 2px solid #ffd16a; outline-offset: 2px; }
/* WD3: in the game the card is the small button in the bottom right corner, above the privacy link (the top right covered
   the COMPUTER kit label on the 1 PLAYER page); pressed, it opens upwards from there. On the front door it sits in the
   card as a normal block. */
#funnel-controls[data-funnel="game"].wd3-corner {
  top: auto;
  bottom: max(3.2rem, calc(env(safe-area-inset-bottom) + 3.2rem));
}
#front-door #funnel-controls[data-funnel="game"] {
  position: static;
  max-width: none;
  margin: 14px 0 0;
}
