: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; } #stage.blocked { pointer-events: 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); } .dropzone { position: absolute; cursor: pointer; } .preview { position: absolute; opacity: .35; pointer-events: none; border-radius: 6px; box-shadow: 0 0 0 2px rgba(125, 211, 252, .5); transition: opacity .15s; } .preview.hot { opacity: .85; } .preview img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 6px; } .preview.loading img { visibility: hidden; } .preview .spinner { position: absolute; inset: 0; margin: auto; width: 28px; height: 28px; border: 3px solid rgba(255, 255, 255, .25); border-top-color: rgba(125, 211, 252, .9); border-radius: 50%; animation: spin .8s linear infinite; display: none; } .preview.slow .spinner { display: block; } @keyframes spin { to { transform: rotate(360deg); } } @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: 0; 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: 1; filter: drop-shadow(0 0 8px rgba(125, 211, 252, .9)); } @media (hover: none) { #stage { -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; } .nav-zone-N { height: 25%; } .nav-zone-S { height: 25%; } .nav-zone-E { top: 26%; height: 48%; width: 25%; } .nav-zone-W { top: 26%; height: 48%; width: 25%; } .nav-edge { opacity: 1; filter: drop-shadow(0 0 6px rgba(125, 211, 252, .45)); } .nav-zone:active .nav-edge { filter: drop-shadow(0 0 12px rgba(125, 211, 252, 1)); } } #import-state { position: fixed; inset: 0; z-index: 10; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; padding: 24px; pointer-events: auto; } #import-state[hidden] { display: none; } .direct-hint { margin-top: 8px; font-size: 12px; letter-spacing: .03em; color: var(--muted); } .direct-hint a { color: var(--ring); text-decoration: none; border-bottom: 1px solid rgba(125, 211, 252, .3); } .direct-hint a:hover { border-bottom-color: var(--ring); } #file { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; opacity: 0; } #import-state h1 { margin: 0; font-size: 44px; font-weight: 300; letter-spacing: .18em; } #import-state h1 .dot { color: var(--ring); } #import-state p { max-width: 34ch; color: var(--muted); margin: 0; font-size: 15px; line-height: 1.6; } /* app.css?v=38 */ #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); } #import { margin-top: 14px; position: relative; z-index: 11; display: inline-flex; align-items: center; gap: 9px; padding: 10px 22px; font-size: 14px; letter-spacing: .06em; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s, border-color .15s, background .15s; } #import:not([hidden]) { opacity: 1; transform: translateY(0); } #import svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; } #import:hover { border-color: var(--ring); background: rgba(125, 211, 252, .08); } #import.busy { border-color: var(--ring); color: var(--ring); pointer-events: none; animation: pulse 1.1s ease-in-out infinite; } #import[hidden] { display: none; } @keyframes pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } } #drop { position: fixed; inset: 0; z-index: 9; display: grid; place-content: center; background: rgba(14, 15, 19, .82); border: 2px dashed rgba(125, 211, 252, .55); color: var(--ink); font-size: 16px; letter-spacing: .1em; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .15s, visibility .15s; } #drop.show { opacity: 1; visibility: visible; pointer-events: auto; } #toast { position: fixed; right: 18px; bottom: 72px; z-index: 8; max-width: 46ch; padding: 9px 15px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 8px; background: rgba(14, 15, 19, .94); color: var(--ink); font-size: 13px; line-height: 1.5; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(4px); transition: opacity .2s, visibility .2s, transform .2s; } #toast.show { opacity: 1; visibility: visible; pointer-events: auto; } #toast.err { border-color: rgba(248, 113, 113, .6); color: #fca5a5; } #progress { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 40; display: flex; flex-direction: column; align-items: center; gap: 9px; min-width: 280px; max-width: 70vw; padding: 13px 18px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 10px; background: rgba(14, 15, 19, .95); } #progress[hidden] { display: none; } #progress-track { width: 100%; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; } #progress-fill { height: 100%; width: 0%; border-radius: 3px; background: var(--ring); transition: width .15s ease; } #progress.indeterminate #progress-fill { width: 40%; animation: progress-slide 1.1s linear infinite; } @keyframes progress-slide { 0% { transform: translateX(-110%); } 100% { transform: translateX(360%); } } #progress-text { font-size: 12px; letter-spacing: .04em; color: var(--muted); } @media (prefers-reduced-motion: reduce) { #world { transition: none; } .tile.lock { animation: none; } #upload.busy { animation: none; } }