/* "All runners" link, put into both games by build.sh. Only shows while the game's title is up. */
#arcade-back { display: none; position: fixed; top: 14px; left: 14px; z-index: 1000; padding: 7px 12px; border-radius: 10px;
  font: 600 15px 'Oswald', system-ui, sans-serif; color: #FFF1D1; text-decoration: none;
  background: rgba(13, 18, 34, 0.8); border: 1px solid rgba(255, 255, 255, 0.18); }
#arcade-back:hover { border-color: #FFD84A; }
body:has(#screen.shown:not(.over)) #arcade-back,
body:has(.title-screen:not([hidden])) #arcade-back { display: block; }
#arcade-back.in-3d { top: 116px; left: 26px; } /* under the combo plate */

/* "Swipe up for full screen" (fullscreen.js). While asking, the page is taller than the window
   and scrolls; once the bars are gone it stays tall but locked, so they stay gone. */
#swipe-fs { display: none; }
html.swipe-fs #swipe-fs { display: flex; position: fixed; inset: 0; z-index: 2000; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: rgba(7, 8, 10, .94); color: #FFF1D1; font: 600 22px 'Oswald', -apple-system, system-ui, sans-serif; text-align: center; touch-action: pan-y; }
#swipe-fs b { font-weight: 700; color: #FFD84A; letter-spacing: .02em; }
#swipe-fs button { margin-top: 6px; padding: 8px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); background: none; color: rgba(255, 241, 209, .8); font: inherit; font-size: 15px; }
#swipe-fs .hand { position: relative; width: 44px; height: 80px; border: 3px solid rgba(255, 241, 209, .5); border-radius: 22px; }
#swipe-fs .hand i { position: absolute; left: 50%; bottom: 8px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #FFD84A; animation: swipe-up 1.2s ease-in-out infinite; }
@keyframes swipe-up { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(-46px); opacity: 0; } }
html.swipe-fs, html.swipe-fs body, html.fs-locked, html.fs-locked body { height: auto !important; overflow: visible !important; }
html.swipe-fs body, html.fs-locked body { min-height: calc(100vh + 240px) !important; }
html.swipe-fs, html.swipe-fs body { touch-action: pan-y !important; }
