/* Craft pass informed by Unslop by Damir Sokolovsky (@heydamir), CC BY 4.0.
   Identity art lives in identity.css; the existing game components remain scoped. */
:root { color-scheme: dark; font-family: Manrope, sans-serif; --ink:#f2f0ed; --muted:#b2ada6; --line:#393632; --surface:#1c1b19; --surface-raised:#262420; --motion:cubic-bezier(.22,1,.36,1); }
body { background:#141413; color:var(--ink); font-family:Manrope,sans-serif; }
a,button { -webkit-tap-highlight-color:transparent; transition:color .16s var(--motion),background-color .16s var(--motion),border-color .16s var(--motion); }
:focus-visible { outline:2px solid currentColor; outline-offset:4px; }
/* The intro auto-reveals on first visit, remains silent, and supports keyboard skip. */
body.intro-locked { overflow:hidden; position:fixed; width:100%; }
body.intro-locked main { opacity:0; transition:none; }
body.intro-opening main { opacity:1; transition:opacity .65s var(--motion); }
#intro { position:fixed; z-index:40; inset:0; display:grid; place-items:center; padding:32px; overflow:hidden; background:#000; opacity:1; transition:opacity .55s var(--motion),transform .55s var(--motion); }
#intro[hidden] { display:none !important; }
#intro::before { content:""; position:absolute; inset:24px; border:1px solid #272727; pointer-events:none; }
#intro.opening { opacity:0; transform:translateY(-8px); pointer-events:none; }
.intro-frame { position:relative; display:grid; justify-items:center; width:min(100%,680px); text-align:center; }
.intro-image { display:block; width:auto; height:auto; max-width:100%; max-height:calc(100svh - 64px); object-fit:contain; }
.intro-caption { margin:0; color:#aaa; font-size:12px; line-height:20px; font-weight:500; text-wrap:balance; }
.skip-link { z-index:50; }
@media(prefers-reduced-motion:reduce) { #intro,a,button { transition:none!important; } #intro.opening { transform:none; } }
