/* The arcade's start card, carried over from the ME arcade: the game's title card and a big centred Play
   over the live scene, so it is plain when a game is waiting. The scene stays sharp and moving and takes
   clicks around the card; only a soft shade sits behind the words. Same in every game; NFY.startCard builds it.
   It sits under the bottom bar (z 15) and the panels (z 30). */
.sc {
  position: fixed; inset: 0; z-index: 12; display: grid; place-items: center; padding: 24px 16px 120px;
  opacity: 0; pointer-events: none; transition: opacity 0.35s ease;
  font-family: "Inter", system-ui, sans-serif; -webkit-font-smoothing: antialiased; text-align: center;
}
.sc.on { opacity: 1; }
.sc.on .sc-in { pointer-events: auto; }
.sc-in { position: relative; display: grid; justify-items: center; gap: 14px; max-width: 620px;
  transform: translateY(10px) scale(0.98); transition: transform 0.45s cubic-bezier(.2, .8, .2, 1); }
.sc.on .sc-in { transform: none; }
/* behind the words only: a shade with an eased falloff (many stops, so no visible edge) and a blur
   that builds toward the middle (three backdrop layers, each masked tighter and blurring harder) */
.sc-in::before { content: ""; position: absolute; inset: -90px -160px; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side,
    rgba(5, 12, 24, 0.46) 0%, rgba(5, 12, 24, 0.44) 12%, rgba(5, 12, 24, 0.39) 25%, rgba(5, 12, 24, 0.32) 38%,
    rgba(5, 12, 24, 0.24) 50%, rgba(5, 12, 24, 0.16) 62%, rgba(5, 12, 24, 0.09) 74%, rgba(5, 12, 24, 0.04) 86%, rgba(5, 12, 24, 0) 100%); }
.sc-blur { position: absolute; inset: -90px -160px; z-index: -2; pointer-events: none; }
.sc-blur i { position: absolute; inset: 0; }
.sc-blur i:nth-child(1) { backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
  mask-image: radial-gradient(closest-side, #000 45%, transparent 95%); -webkit-mask-image: radial-gradient(closest-side, #000 45%, transparent 95%); }
.sc-blur i:nth-child(2) { backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
  mask-image: radial-gradient(closest-side, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 75%); }
.sc-blur i:nth-child(3) { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  mask-image: radial-gradient(closest-side, #000 15%, transparent 55%); -webkit-mask-image: radial-gradient(closest-side, #000 15%, transparent 55%); }
.sc .logo { --logo-size: clamp(44px, 8vw, 84px); }
.sc-note { display: none; margin: 2px 0 -10px; font: 600 18px/1.2 "Inter", system-ui, sans-serif; letter-spacing: 0.02em; color: rgba(225, 236, 248, 0.85); }
.sc.paused .sc-note { display: block; }
/* the optional set-up line under the title: who you are and what you are after, then the player works out the rest */
.sc-story { margin: 4px 0 0; max-width: 34em; font: 500 17px/1.5 "Inter", system-ui, sans-serif; letter-spacing: -0.005em; color: rgba(232, 240, 247, 0.88);
  text-wrap: pretty; text-shadow: 0 1px 12px rgba(5, 12, 24, 0.7); }
.sc.paused .sc-story { display: none; }
@media (max-width: 720px) { .sc-story { font-size: 15px; } }
/* steel blue and navy from the title card */
.sc-play {
  position: relative; appearance: none; margin-top: 18px; display: inline-flex; align-items: center; gap: 14px; cursor: pointer;
  font: 600 24px/1 "Inter", system-ui, sans-serif; color: #fff;
  padding: 20px 44px 20px 38px; border-radius: 999px;
  border: 1px solid rgba(159, 186, 211, 0.75); background: rgba(95, 136, 173, 0.32);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 0 0 0 rgba(140, 180, 215, 0.5), 0 18px 50px -18px rgba(95, 136, 173, 0.9);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  animation: sc-pulse 2.2s ease-out infinite;
}
.sc-play svg { width: 18px; height: 18px; fill: currentColor; }
.sc-play:hover { background: rgba(95, 136, 173, 0.48); border-color: rgba(205, 222, 240, 0.95); transform: scale(1.03); }
.sc-play:active { transform: scale(0.98); }
.sc-play:focus-visible { outline: 2px solid rgba(205, 222, 240, 0.9); outline-offset: 4px; }
@keyframes sc-pulse {
  0% { box-shadow: 0 0 0 0 rgba(140, 180, 215, 0.45), 0 18px 50px -18px rgba(95, 136, 173, 0.9); }
  70%, 100% { box-shadow: 0 0 0 22px rgba(140, 180, 215, 0), 0 18px 50px -18px rgba(95, 136, 173, 0.9); }
}
/* the bar stays above the card and usable; its own Play steps aside while the card is up */
body.sc-up .sc-hide { display: none !important; }
body.shot .sc, body.gallery .sc { display: none !important; }
@media (max-width: 720px) {
  .sc-in::before, .sc-blur { inset: -70px -40px; }
  .sc-play { font-size: 22px; padding: 18px 38px 18px 32px; }
}
@media (prefers-reduced-motion: reduce) { .sc-play { animation: none; } .sc, .sc-in { transition: none; } }
