.world-library .notes-hub-shell{width:100%;max-width:none;padding:0}.world-library .notes-breadcrumb{display:none}.reading-space{position:relative;height:calc(100svh - 140px);min-height:620px;background:#171816;overflow:hidden;color:#f1efdb;isolation:isolate;touch-action:pan-y}.reading-space-heading{position:absolute;z-index:3;top:35px;left:4%;pointer-events:none;max-width:490px}.reading-space-heading>span{font:11px 'DM Mono',monospace;letter-spacing:.12em;color:#d3ddbb}.reading-space h1{font:400 clamp(48px,6vw,86px)/.92 Georgia,serif;letter-spacing:-.065em;margin:18px 0}.reading-space h1 em{color:#d6ee86;font-weight:400}.reading-space-heading p{color:#d2d6c8;font-size:14px;line-height:1.7;max-width:330px}.reading-space-camera{position:absolute;inset:0;perspective:1500px;overflow:hidden;cursor:grab;touch-action:none}.reading-space-camera:active{cursor:grabbing}.reading-space-floor{position:absolute;left:50%;top:50%;width:4880px;height:2600px;transform-style:preserve-3d;transform:translate3d(calc(-50% + var(--rx,0px)),calc(-50% + var(--ry,0px)),0) rotateX(27deg) rotateZ(-12deg) scale(var(--rs,.8));background:linear-gradient(#d2ddbb24 1px,transparent 1px),linear-gradient(90deg,#d2ddbb24 1px,transparent 1px);background-size:100px 100px;will-change:transform}.reading-space-links{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}.reading-space-links path{stroke:#c8dba3;stroke-opacity:.2;stroke-width:1;fill:none;stroke-dasharray:5 12;animation:reading-path 45s linear infinite}.reading-space-book{position:absolute;width:240px;color:#f1efdb;text-decoration:none;transform:translateZ(var(--depth,0px));transition:filter .3s,translate .35s;outline-offset:9px;cursor:pointer;pointer-events:auto;touch-action:manipulation}.reading-space-book img{display:block;width:240px;height:auto;aspect-ratio:20/11;object-fit:cover}.reading-space-book small{display:block;font:10px 'DM Mono',monospace;color:#c4d3af;margin:12px 0 8px;letter-spacing:.08em}.reading-space-book strong{display:block;font:400 22px/1.1 Georgia,serif;max-width:235px}.reading-space-book:hover,.reading-space-book:focus-visible{translate:0 -15px;filter:brightness(1.2);z-index:2}.reading-space-book[hidden]{display:none}.reading-space-controls{position:absolute;bottom:0;left:0;right:0;z-index:4;display:flex;align-items:center;gap:20px;padding:18px 4%;background:#171816ed;font:12px 'DM Mono',monospace}.reading-space-controls button,.reading-space-controls select{font:inherit;color:#eef0d9;background:transparent;border:0;padding:12px;cursor:pointer;min-height:44px}.reading-space-controls select{background:#171816;max-width:190px}.reading-space-controls a{color:#d6ee86;padding:12px;text-decoration:none}.reading-space-controls #reading-space-count{margin-right:auto;color:#d6ddca}.reading-space-help{position:absolute;right:4%;top:40px;z-index:3;font:11px/1.8 'DM Mono',monospace;color:#c5d0b7;text-align:right;pointer-events:none}.world-library .notes-library{width:min(1380px,92%);margin:80px auto}.reading-space-book:focus-visible{outline:2px solid #d6ee86}.reading-space [hidden]{display:none!important}@keyframes reading-path{to{stroke-dashoffset:-340}}@media(max-width:700px){.reading-space{min-height:690px;height:calc(100svh - 104px)}.reading-space-heading{top:25px;left:23px;max-width:300px}.reading-space h1{font-size:56px}.reading-space-heading p{font-size:13px;max-width:235px}.reading-space-help{display:none}.reading-space-controls{padding:10px 12px;gap:2px;flex-wrap:wrap}.reading-space-controls #reading-space-count{font-size:10px}.reading-space-controls button{padding:10px}.reading-space-controls select{max-width:130px;font-size:10px}.reading-space-controls a{font-size:11px}.reading-space-floor{top:66%}.world-library .notes-library{margin:50px auto}.reading-space-book strong{font-size:24px}}@media(prefers-reduced-motion:reduce){.reading-space-links path{animation:none}.reading-space-book{transition:none}}
.reading-space-heading{padding:45px;margin:-30px;max-width:590px;background:radial-gradient(ellipse at 35% 45%,#171816 25%,#171816e8 52%,#17181600 74%);transition:opacity .5s,translate .6s}
.reading-space-heading p{color:#e0e3d5}
.reading-space.has-explored .reading-space-heading{opacity:0;translate:0 -20px}
.reading-space-book strong{font-size:19px;line-height:1.15;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:66px}
@media(max-width:700px){.reading-space-heading{padding:35px;margin:-25px;max-width:360px}.reading-space h1{font-size:53px}.reading-space-heading p{max-width:245px;color:#f1efdc}}
.reading-space-floor{transform:translate3d(calc(-50% + var(--rx,0px)),calc(-50% + var(--ry,0px)),0) rotateX(43deg) rotateZ(-15deg) scale(var(--rs,.8))}
@media(max-width:540px){.reading-space-floor{transform:translate3d(calc(-50% + var(--rx,0px)),calc(-50% + var(--ry,0px)),0) rotateX(30deg) rotateZ(-13deg) scale(var(--rs,.8))}}

.reading-space-book::after{content:"↗ BUKA";display:inline-block;margin-top:7px;font:9px 'DM Mono',monospace;letter-spacing:.12em;color:#d6ee86;opacity:.72;transition:opacity .25s,translate .25s}.reading-space-book:hover::after,.reading-space-book:focus-visible::after{opacity:1;translate:4px 0}

/* Infinite reading floor: keep the card field bounded, extend only its grid. */
.reading-space-floor{background:none}.reading-space-floor::before{content:"";position:absolute;z-index:0;left:50%;top:50%;width:10000px;height:14000px;transform:translate3d(-50%,-50%,-1px);background-image:linear-gradient(#d2ddbb20 1px,transparent 1px),linear-gradient(90deg,#d2ddbb20 1px,transparent 1px);background-size:100px 100px;pointer-events:none;mask-image:radial-gradient(ellipse at center,#000 68%,transparent 100%);-webkit-mask-image:radial-gradient(ellipse at center,#000 68%,transparent 100%)}.reading-space-links{z-index:1}.reading-space-book{z-index:2}
