:root { --bg: #0e0f13; --tile: #1b1d24; --ring: #7dd3fc; --ink: #e6e8ee; --muted: #8b90a0; } * { box-sizing: border-box; } html, body { margin: 0; height: 100%; background: var(--bg); color: var(--ink); font-family: system-ui, -apple-system, "Segoe UI", sans-serif; overflow: hidden; } #stage { position: fixed; inset: 0; overflow: hidden; touch-action: none; user-select: none; } #world { position: absolute; left: 0; top: 0; transform: translate(0, 0); transition: transform .5s cubic-bezier(.22, 1, .36, 1); will-change: transform; } .tile { position: absolute; border-radius: 6px; background: var(--tile); box-shadow: 0 2px 10px rgba(0, 0, 0, .45); cursor: pointer; transition: box-shadow .2s; } .tile img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 6px; } .tile.lock { animation: lock .5s cubic-bezier(.22, 1, .36, 1); } .tile.ghost { opacity: .5; pointer-events: none; box-shadow: 0 0 0 2px rgba(125, 211, 252, .65); } .dropzone { position: absolute; } @keyframes lock { 0% { transform: scale(.2); opacity: 0; } 100% { transform: scale(1); opacity: 1; } } .tile.current { box-shadow: 0 0 0 2px var(--ring), 0 0 26px 2px rgba(125, 211, 252, .4); } .nav { position: absolute; inset: 0; pointer-events: none; } .nav-zone { position: absolute; pointer-events: auto; } .nav-zone-N { top: 0; left: 0; width: 100%; height: 30%; } .nav-zone-S { bottom: 0; left: 0; width: 100%; height: 30%; } .nav-zone-E { top: 30%; right: 0; width: 30%; height: 40%; } .nav-zone-W { top: 30%; left: 0; width: 30%; height: 40%; } .nav-edge { position: absolute; background: linear-gradient(rgba(255, 255, 255, .9), rgba(125, 211, 252, .55)); opacity: .35; pointer-events: none; transition: opacity .15s, filter .15s; } .nav-zone-N .nav-edge { top: 4px; left: 6px; right: 6px; height: 3px; border-radius: 2px; } .nav-zone-S .nav-edge { bottom: 4px; left: 6px; right: 6px; height: 3px; border-radius: 2px; } .nav-zone-E .nav-edge { right: 4px; top: 6px; bottom: 6px; width: 3px; border-radius: 2px; } .nav-zone-W .nav-edge { left: 4px; top: 6px; bottom: 6px; width: 3px; border-radius: 2px; } .nav-zone:hover .nav-edge { opacity: .95; filter: drop-shadow(0 0 7px rgba(125, 211, 252, .8)); } .nav-zone.preview .nav-edge { opacity: 0; } #splash { position: fixed; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; background: var(--bg); z-index: 10; transition: opacity .4s, visibility .4s; } #splash.hide { opacity: 0; visibility: hidden; pointer-events: none; } #splash h1 { margin: 0; font-size: 44px; font-weight: 300; letter-spacing: .18em; } #splash h1 .dot { color: var(--ring); } #splash p { max-width: 34ch; color: var(--muted); margin: 0; font-size: 15px; line-height: 1.6; } #start { margin-top: 10px; padding: 10px 34px; font-size: 15px; letter-spacing: .12em; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s; } #start:hover { border-color: var(--ring); background: rgba(125, 211, 252, .08); } @media (prefers-reduced-motion: reduce) { #world { transition: none; } .tile.lock { animation: none; } }