html{background:gray}body{margin:0;background:gray}.book-preview.svelte-1vdda9t{position:fixed;inset:0 320px 0 0;display:grid;place-items:center;pointer-events:none;opacity:1;transition:opacity .6s ease}.book-preview.ready.svelte-1vdda9t{opacity:0}.book-preview.svelte-1vdda9t img:where(.svelte-1vdda9t),.preview-placeholder.svelte-1vdda9t{width:auto;max-width:74%;height:74vh;object-fit:contain;box-shadow:0 12px 32px #0004}.book-preview.svelte-1vdda9t img.generated:where(.svelte-1vdda9t){object-fit:fill}.preview-placeholder.svelte-1vdda9t{padding:24px;aspect-ratio:2 / 3;box-sizing:border-box;display:grid;place-items:center;text-align:center;font:700 18px Arial,sans-serif}.book-preview.svelte-1vdda9t .placed:where(.svelte-1vdda9t){position:fixed;max-width:none;object-fit:fill;transition:left .3s ease,top .3s ease,width .3s ease,height .3s ease}.book-preview.in-graph.svelte-1vdda9t{z-index:1}.book-preview.in-graph.svelte-1vdda9t img:where(.svelte-1vdda9t),.book-preview.in-graph.svelte-1vdda9t .preview-placeholder:where(.svelte-1vdda9t){height:46vh}.book-preview.in-graph.svelte-1vdda9t .placed:where(.svelte-1vdda9t){transform-origin:0 0;transition:transform .9s cubic-bezier(.4,0,.2,1);will-change:transform}.book-preview.in-graph.ready.svelte-1vdda9t{transition:opacity .25s ease}@media (max-width: 600px){.book-preview.svelte-1vdda9t{inset:0 0 50vh}.book-preview.svelte-1vdda9t img:where(.svelte-1vdda9t),.preview-placeholder.svelte-1vdda9t{height:37vh}.book-preview.in-graph.svelte-1vdda9t img:where(.svelte-1vdda9t),.book-preview.in-graph.svelte-1vdda9t .preview-placeholder:where(.svelte-1vdda9t){height:26vh}}@media (prefers-reduced-motion: reduce){.book-preview.svelte-1vdda9t,.graph-container.svelte-1vdda9t{transition:none!important}.book-sidebar.svelte-1vdda9t{animation:none!important}}.graph-container.svelte-1vdda9t{width:100vw;height:100vh;touch-action:none;opacity:0;transition:opacity .6s ease}.graph-container.ready.svelte-1vdda9t{opacity:1}.loading-overlay.svelte-1vdda9t{position:fixed;top:0;left:0;width:100vw;height:100vh;background:gray;display:flex;align-items:center;justify-content:center;z-index:2000}.loading-overlay.with-book.svelte-1vdda9t{display:none}.loading-content.svelte-1vdda9t{text-align:center;color:#fff;font-family:system-ui,-apple-system,sans-serif;display:flex;flex-direction:column;align-items:center;gap:1rem}.loading-shapes.svelte-1vdda9t{display:inline-block;animation:svelte-1vdda9t-shape-rotate 3s linear infinite}.loading-shapes.svelte-1vdda9t svg:where(.svelte-1vdda9t){display:block}@keyframes svelte-1vdda9t-shape-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.loading-shapes.svelte-1vdda9t .shape:where(.svelte-1vdda9t){opacity:0}.loading-shapes.svelte-1vdda9t .shape-circle:where(.svelte-1vdda9t){animation:svelte-1vdda9t-shape-morph 2s ease-in-out infinite;animation-delay:0s}.loading-shapes.svelte-1vdda9t .shape-star:where(.svelte-1vdda9t){animation:svelte-1vdda9t-shape-morph 2s ease-in-out infinite;animation-delay:.5s}.loading-shapes.svelte-1vdda9t .shape-triangle:where(.svelte-1vdda9t){animation:svelte-1vdda9t-shape-morph 2s ease-in-out infinite;animation-delay:1s}.loading-shapes.svelte-1vdda9t .shape-square:where(.svelte-1vdda9t){animation:svelte-1vdda9t-shape-morph 2s ease-in-out infinite;animation-delay:1.5s}@keyframes svelte-1vdda9t-shape-morph{0%,20%{opacity:1}25%,to{opacity:0}}.shimmer-text.svelte-1vdda9t{font-style:italic;font-size:1.2rem;margin:0}.shimmer-letter.svelte-1vdda9t{display:inline-block;animation:svelte-1vdda9t-letter-wave 2s ease-in-out infinite}@keyframes svelte-1vdda9t-letter-wave{0%,to{opacity:.3;transform:translateY(0)}50%{opacity:1;transform:translateY(-2px)}}.book-sidebar.svelte-1vdda9t{position:fixed;top:calc(var(--nav-lane) + var(--nav-inset));right:var(--nav-inset);bottom:var(--nav-inset);width:320px;background:#80808099;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,.1);border-radius:var(--radius-sm);z-index:1500;padding:20px;box-sizing:border-box;overflow-y:auto;font-family:system-ui,-apple-system,sans-serif;font-size:.9rem;font-weight:400;line-height:1.5;color:#fff}@keyframes svelte-1vdda9t-slideIn{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}.close-button.svelte-1vdda9t{position:absolute;top:12px;right:12px;background:#00f;border:none;font-size:1.5rem;cursor:pointer;color:#fff;line-height:1;padding:4px 10px;border-radius:5px}.close-button.svelte-1vdda9t:hover{background:#4949ff}.book-title.svelte-1vdda9t{font-size:1.25rem;font-weight:700;margin:0 0 8px;padding-right:50px;color:#fff;line-height:1.3}.book-subtitle.svelte-1vdda9t{font-size:.95rem;color:#fffc;margin:0 0 8px;font-style:italic}.book-authors.svelte-1vdda9t{font-size:.9rem;color:#ffffffe6;margin:0 0 16px}.book-meta.svelte-1vdda9t{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:16px}.meta-item.svelte-1vdda9t{font-size:.75rem;color:#fff;padding:3px 8px;background:#fff3;border-radius:3px}.book-categories.svelte-1vdda9t{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:var(--space-2);padding-bottom:var(--space-1);margin-bottom:16px}.book-categories.svelte-1vdda9t .chip{flex:0 0 auto}.book-description.svelte-1vdda9t{font-size:.85rem;color:#ffffffe6;line-height:1.5;margin-bottom:16px;max-height:none}.book-links.svelte-1vdda9t{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px;padding-top:16px;border-top:1px solid rgba(255,255,255,.2)}.book-link.svelte-1vdda9t{display:inline-block;color:#fff;background:#00f;text-decoration:none;font-size:.85rem;padding:6px 12px;border-radius:5px}.book-link.svelte-1vdda9t:hover{background:#4949ff}@media (max-width: 600px){.book-sidebar.svelte-1vdda9t{width:100%;height:auto;max-height:50vh;top:auto;right:0;bottom:0;border-radius:12px 12px 0 0;border:none;border-top:1px solid rgba(255,255,255,.2)}.book-title.svelte-1vdda9t{font-size:1.1rem}}
