/* Flying Pig, Beta 0.1: page chrome only. Game rendering lives in flying-pig.js. */
.fp-hero { padding: calc(112px + var(--safe-t) + var(--top-push)) 0 18px; text-align: center; }
.fp-hero .wrap { display: flex; flex-direction: column; align-items: center; }
.fp-hero h1 { font-size: clamp(2.2rem, 6vw, 4rem); margin-inline: auto; }
.fp-hero .lede { margin-inline: auto; text-align: center; }
.fp-hero .eyebrow { justify-content: center; }
.fp-section { padding: 0 0 40px; }
.fp-wrap { display: flex; flex-direction: column; align-items: center; }
.fp { width: min(100%, 440px); display: grid; gap: 10px; touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
.fp-bar { display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 14px; border-radius: 18px; border: 1px solid var(--line, rgba(255,255,255,.14)); background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.03)); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); }
.fp-best { font: 700 .82rem/1 var(--font); color: var(--ink-2, #ccd); }
.fp-best b { color: var(--ink, #fff); font-variant-numeric: tabular-nums; margin-left: 2px; }
.fp-beta { margin-right: auto; font: 700 .56rem/1 var(--font); letter-spacing: .08em; text-transform: uppercase; padding: 3px 6px; border-radius: 999px; color: rgba(255,214,150,.8); border: 1px solid rgba(255,196,110,.25); }
.fp-btn { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px; font: 650 .8rem/1 var(--font); color: var(--ink, #fff); cursor: pointer; border: 1px solid var(--line, rgba(255,255,255,.14)); background: rgba(255,255,255,.07); touch-action: manipulation; }
.fp-btn svg { width: 16px; height: 16px; }
.fp-btn:active { background: rgba(255,255,255,.18); }
.fp-btn:focus-visible { outline: 2px solid var(--cyan, #45e6ff); outline-offset: 2px; }
.fp-btn[aria-pressed="false"] .fp-waves { display: none; }
.fp-btn[aria-pressed="true"] .fp-x { display: none; }
.fp-ico-exit { display: none; }
.fp-stage { position: relative; width: 100%; aspect-ratio: 9 / 16; max-height: calc(100svh - 230px); min-height: 380px; margin-inline: auto; border-radius: 24px; overflow: hidden; background: #70c5ce; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 20px 60px rgba(0,0,0,.4); touch-action: pan-y; }
.fp-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; pointer-events: none; }
.fp-gate { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; pointer-events: none; background: linear-gradient(180deg, rgba(11,16,32,.05), rgba(11,16,32,.28) 55%, rgba(11,16,32,.4)); }
.fp-play { all: unset; pointer-events: auto; touch-action: manipulation; cursor: pointer; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px 0 18px; border-radius: 999px; font: 800 1.05rem/1 var(--font, system-ui); letter-spacing: -.01em; color: #2b1a24; background: linear-gradient(180deg, #ffe4ee, #ff7aa2); border: 2px solid #2b1a24; box-shadow: 0 8px 0 #2b1a24, 0 16px 32px rgba(0,0,0,.28); }
.fp-play svg { width: 20px; height: 20px; }
.fp-play:active { transform: translateY(2px); box-shadow: 0 6px 0 #2b1a24, 0 10px 20px rgba(0,0,0,.25); }
.fp-play:focus-visible { outline: 2px solid #45e6ff; outline-offset: 3px; }
.fp-help { margin-top: 12px; font-size: .85rem; color: var(--ink-2, #aab); text-align: center; max-width: 36em; }
.fp-help kbd { font: 700 .75rem var(--font); padding: 2px 6px; border-radius: 6px; border: 1px solid var(--line, rgba(255,255,255,.2)); background: rgba(255,255,255,.07); }
@media (min-width: 761px) {
  .fp { width: min(100%, 520px); }
  .fp-stage { aspect-ratio: 9 / 14; max-height: calc(100vh - 260px); min-height: 440px; }
}
/* full screen (CSS-based so it works on iOS Safari too) */
html.fp-full, html.fp-full body { overflow: hidden !important; height: 100%; overscroll-behavior: none; touch-action: none; }
html.fp-full .topbar, html.fp-full .gnav, html.fp-full .footer, html.fp-full .fp-hero, html.fp-full .fp-help, html.fp-full .wxs, html.fp-full .wxs-back, html.fp-full .skip, html.fp-full .edge-swipe, html.fp-full .fp-gate { display: none !important; }
html.fp-full .fp-section, html.fp-full .fp-wrap { padding: 0; }
html.fp-full .fp { position: fixed; inset: 0; z-index: 9999; width: 100%; height: 100dvh; gap: 0; grid-template-rows: auto 1fr; background: #0b1020; touch-action: none; }
html.fp-full .fp-bar { border-radius: 0; padding: calc(8px + var(--safe-t) + var(--top-push)) max(10px, var(--safe-r, 0px)) 8px max(10px, var(--safe-l, 0px)); background: #0b1020; backdrop-filter: none; -webkit-backdrop-filter: none; border-width: 0 0 1px; }
html.fp-full .fp-stage { aspect-ratio: auto; max-height: none; min-height: 0; border-radius: 0; border: 0; box-shadow: none; height: 100%; touch-action: none; }
html.fp-full .fp-stage canvas { pointer-events: auto; touch-action: none; }
html.fp-full .fp-ico-full { display: none; }
html.fp-full .fp-ico-exit { display: block; }
html.fp-full .fp-full-btn { background: rgba(255,122,162,.2); border-color: rgba(255,122,162,.45); }
@media (prefers-reduced-motion: reduce) { .fp-btn, .fp-play { transition: none; } }
