@font-face { font-family: Syncopate; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/syncopate-400-latin.woff2') format('woff2'); }
@font-face { font-family: Syncopate; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/syncopate-700-latin.woff2') format('woff2'); }
* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; background: #000; }
body { color: #fff; }
canvas { display: block; position: fixed; inset: 0; }
.titlecard { position: fixed; inset: 0; z-index: 1; pointer-events: none; }
.tc-iso, .tc-strap { position: absolute; left: 50%; top: 50%; text-align: center; white-space: nowrap; opacity: 0; color: #fff; font-family: Syncopate, sans-serif; }
.tc-iso { transform: translate(-50%, -50%); font-weight: 700; font-size: 92px; letter-spacing: .5em; text-indent: .5em; line-height: 1; }
.tc-strap { transform: translate(-50%, -50%); font-weight: 400; font-size: 11px; color: rgba(255,255,255,.92); letter-spacing: .38em; text-indent: .38em; text-transform: uppercase; }
.tc-iso .glyph, .tc-strap .glyph { display: inline-block; white-space: pre; opacity: 0; }
.tc-iso .glyph { transition: opacity 1.15s cubic-bezier(.16,1,.3,1), text-shadow 1.15s cubic-bezier(.16,1,.3,1); text-shadow: 0 0 0 rgba(255,255,255,0); }
.tc-strap .glyph { transition: opacity 1s cubic-bezier(.16,1,.3,1), text-shadow 1s cubic-bezier(.16,1,.3,1); text-shadow: 0 0 0 rgba(255,255,255,0); }
.tc-iso.lit .glyph { opacity: 1; text-shadow: 0 0 26px rgba(255,255,255,.30), 0 0 64px rgba(255,255,255,.12); }
.tc-strap.lit .glyph { opacity: 1; text-shadow: 0 0 18px rgba(255,255,255,.26); }
.runtime-error { position: fixed; z-index: 10; left: 50%; top: 50%; transform: translate(-50%,-50%); max-width: min(32rem, calc(100vw - 40px)); padding: 24px; background: #080808; border: 1px solid #393333; font: 13px/1.6 monospace; color: #ddd; }
.runtime-error button { border: 1px solid #665b5b; background: #151010; color: #eee; padding: 8px 18px; font: inherit; cursor: pointer; }
@media (max-width: 640px) { .tc-iso { font-size: clamp(36px, 13vw, 70px); } .tc-strap { font-size: clamp(7px, 1.8vw, 11px); } }
