/* page chrome for the standalone pages */
.ak-back [hidden] { display: none !important; }
html { background: #090717; }
body.ak-back { min-height: 100vh; margin: 0; position: relative; overflow-x: hidden; background:
  radial-gradient(1.5px 1.5px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 78% 12%, var(--mint) 50%, transparent 51%),
  radial-gradient(1px 1px at 33% 40%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 90% 46%, var(--pink) 50%, transparent 51%),
  radial-gradient(1px 1px at 55% 24%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 6% 58%, var(--lilac) 50%, transparent 51%),
  radial-gradient(ellipse 70% 40% at 50% 0%, #2a1c6b 0%, transparent 70%), linear-gradient(#090717 0%, #0d0824 60%, #1a0f3a 100%); background-attachment: fixed; }
.pg { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) {  }
/* animated background layer */
.fx { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.fx i { position: absolute; width: 4px; height: 4px; left: calc(var(--x) * 1%); top: 105%; background: var(--c, #a8e6d8); box-shadow: 0 0 8px var(--c, #a8e6d8); opacity: 0; animation: fx-up var(--t, 12s) linear infinite; animation-delay: var(--d, 0s); }
@keyframes fx-up { 0% { transform: translateY(0) rotate(0); opacity: 0; } 10% { opacity: .9; } 90% { opacity: .7; } 100% { transform: translateY(-115vh) rotate(180deg); opacity: 0; } }
.fx i:nth-child(1) { --x: 4; --t: 11s; --d: -1s } .fx i:nth-child(2) { --x: 11; --t: 15s; --d: -6s; --c: #f4b6d1 } .fx i:nth-child(3) { --x: 18; --t: 13s; --d: -3s; --c: #dac8f6 }
.fx i:nth-child(4) { --x: 25; --t: 17s; --d: -9s } .fx i:nth-child(5) { --x: 32; --t: 12s; --d: -5s; --c: #ffb98a } .fx i:nth-child(6) { --x: 39; --t: 16s; --d: -2s; --c: #f4b6d1 }
.fx i:nth-child(7) { --x: 46; --t: 14s; --d: -8s; --c: #dac8f6 } .fx i:nth-child(8) { --x: 53; --t: 18s; --d: -4s } .fx i:nth-child(9) { --x: 60; --t: 12s; --d: -10s; --c: #ffb98a }
.fx i:nth-child(10) { --x: 67; --t: 15s; --d: -7s; --c: #f4b6d1 } .fx i:nth-child(11) { --x: 74; --t: 13s; --d: -1s; --c: #dac8f6 } .fx i:nth-child(12) { --x: 81; --t: 17s; --d: -12s }
.fx i:nth-child(13) { --x: 88; --t: 11s; --d: -6s; --c: #ffb98a } .fx i:nth-child(14) { --x: 94; --t: 16s; --d: -3s; --c: #f4b6d1 } .fx i:nth-child(15) { --x: 8; --t: 19s; --d: -14s; --c: #dac8f6 }
.fx i:nth-child(16) { --x: 36; --t: 20s; --d: -11s; --c: #ffb98a } .fx i:nth-child(17) { --x: 71; --t: 19s; --d: -15s } .fx i:nth-child(18) { --x: 97; --t: 14s; --d: -9s; --c: #dac8f6 }
.fx i:nth-child(3n) { width: 6px; height: 6px; } .fx i:nth-child(4n) { width: 3px; height: 3px; }
/* shooting stars */
.fx b { position: absolute; top: 12%; left: 100%; width: 110px; height: 2px; background: linear-gradient(90deg, #fff, transparent); box-shadow: 0 0 10px #fff; opacity: 0; transform: rotate(-24deg); animation: fx-shoot 7s ease-in infinite; }
.fx b + b { top: 28%; animation-delay: 3.6s; animation-duration: 9s; }
@keyframes fx-shoot { 0% { transform: translate(0, 0) rotate(-24deg); opacity: 0; } 3% { opacity: 1; } 14% { transform: translate(-130vw, 58vw) rotate(-24deg); opacity: 0; } 100% { transform: translate(-130vw, 58vw) rotate(-24deg); opacity: 0; } }
/* page motion */
.pg-hub h1 { background-size: 220% 100%; animation: pg-shine 6s linear infinite, pg-flicker 7s steps(1) infinite; }
@keyframes pg-shine { to { background-position: -220% 0; } }
@keyframes pg-flicker { 0%, 93%, 97%, 100% { opacity: 1; } 94% { opacity: .55; } 95.5% { opacity: .9; } 98% { opacity: .6; } }
.pg-hub .dc-arc-pick { animation: pg-pop .7s var(--spring) both; }
.pg-hub .dc-arc-pick:nth-child(1) { animation-delay: .05s } .pg-hub .dc-arc-pick:nth-child(2) { animation-delay: .13s } .pg-hub .dc-arc-pick:nth-child(3) { animation-delay: .21s }
.pg-hub .dc-arc-pick:nth-child(4) { animation-delay: .29s } .pg-hub .dc-arc-pick:nth-child(5) { animation-delay: .37s } .pg-hub .dc-arc-pick:nth-child(6) { animation-delay: .45s }
@keyframes pg-pop { from { opacity: 0; transform: translateY(26px) scale(.94); } }
.pg-hub .dc-arc-pick em { transition: transform .3s, color .3s; } .pg-hub .dc-arc-pick:hover em { color: var(--mint); transform: translateX(6px); }
.pg-hub .dc-cap::after { content: "_"; margin-left: 4px; animation: dc-blink 1s steps(1) infinite; color: var(--mint); }
.pg .dc-arc { animation: pg-rise .7s var(--spring) both, pg-glow 4s ease-in-out infinite; }
@keyframes pg-rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes pg-glow { 50% { box-shadow: 0 0 46px -6px rgba(168, 230, 216, .22), 0 0 0 1px rgba(168, 230, 216, .12); } }

/* arcade pet: roams the home page */
.pet { position: fixed; left: 0; top: 0; z-index: 3; width: 56px; height: 44px; margin: -22px 0 0 -28px; cursor: pointer; will-change: transform; filter: drop-shadow(0 0 10px rgba(168, 230, 216, .55)); -webkit-tap-highlight-color: transparent; }
.pet svg { display: block; overflow: visible; transition: transform .15s; }
.pet.flip svg { transform: scaleX(-1); }
.pet .f2 { visibility: hidden; }
.pet.walk { pointer-events: none; }
.pet.walk .pet-body { animation: pet-bob .36s steps(1) infinite; }
.pet.walk .f1 { animation: pet-f1 .36s steps(1) infinite; } .pet.walk .f2 { animation: pet-f2 .36s steps(1) infinite; }
@keyframes pet-bob { 50% { transform: translateY(-.35px); } }
@keyframes pet-f1 { 50% { visibility: hidden; } } @keyframes pet-f2 { 0% { visibility: hidden; } 50% { visibility: visible; } }
.pet.idle .pet-blink, .pet.walk .pet-blink { }
.pet.sleep svg { transform: scaleY(.86) translateY(1px); transform-origin: 50% 100%; }
.pet.sleep.flip svg { transform: scaleX(-1) scaleY(.86) translateY(1px); }
.pet.hop svg { animation: pet-hop .6s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes pet-hop { 40% { transform: translateY(-26px) scale(1.08, .94); } 70% { transform: translateY(0) scale(1.1, .88); } }
.pet-fx { position: absolute; left: 50%; top: -18px; font: 400 11px 'Press Start 2P', var(--mono); color: var(--pink); text-shadow: 0 0 8px var(--pink); opacity: 0; pointer-events: none; white-space: nowrap; transform: translateX(-50%); }
.pet.sleep .pet-fx { opacity: 1; color: var(--lilac); animation: pet-z 2.2s ease-in-out infinite; }
.pet.sleep .pet-fx::before { content: "z z"; }
.pet.love .pet-fx { opacity: 1; animation: pet-heart 1s ease-out forwards; } .pet.love .pet-fx::before { content: "\2665"; }
@keyframes pet-z { 50% { transform: translate(-50%, -8px); opacity: .5; } }
@keyframes pet-heart { from { transform: translate(-50%, 6px) scale(.6); } to { transform: translate(-50%, -22px) scale(1.5); opacity: 0; } }
.pet.sleep svg g.pet-body { opacity: .9; }
.pet.sleep .pet-blink { display: none; }
.pet-eyes-closed { }
.pg-nav a { transition: transform .3s; display: inline-block; } .pg-nav a:hover { transform: translateX(-4px); }
@media (prefers-reduced-motion: reduce) { .fx i, .fx b, .pg-hub h1, .pg-hub .dc-arc-pick, .pg .dc-arc { animation: none; } .fx i, .fx b { display: none; } }

.pg { max-width: 760px; margin: 0 auto; padding: 22px 16px 48px; }
.pg-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font: 500 12px var(--mono); letter-spacing: .08em; }
.pg-nav a { color: var(--pink); text-decoration: none; }
.pg-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.pg-nav span { color: var(--dim); }
.pg-foot { margin-top: 26px; text-align: center; font: 400 12px var(--mono); color: var(--dim); }
.pg-hub h1 { font: 400 clamp(32px, 7vw, 52px)/1.05 var(--serif); letter-spacing: -.02em; margin: 6px 0 8px; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.pg-hub p.lead { color: var(--mute); margin-bottom: 22px; }
.pg-hub .dc-arc-menu { margin-top: 6px; }
.pg-hub a.dc-arc-pick { text-decoration: none; }
