/* Books vNext: a bounded reading landscape over the existing World route. */
.books-vnext{max-width:1180px;min-height:85vh}
.books-vnext-head{padding:22px 0 34px}
.books-vnext-head h2{font:700 clamp(42px,6vw,76px)/.96 var(--serif);letter-spacing:-.055em;max-width:890px;margin:12px 0}
.books-vnext-head h2 span{font-size:.56em;color:#b4bec9}
.books-vnext-head>p{color:#b8c4ca;font:italic 19px/1.4 var(--serif);margin:0 0 30px}
#booksSearchForm{max-width:750px}
#booksSearchForm label{display:block;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:#aebacc;margin-bottom:9px}
#booksSearchForm>div{display:flex;border-bottom:1px solid #82929e;align-items:center;gap:16px}
#booksSearch{border:0;outline:0;background:transparent;color:#f6f3ec;font:400 clamp(18px,2.3vw,26px)/1.3 var(--serif);padding:10px 0;flex:1;min-width:0}
#booksSearch::placeholder{color:#8e9ca6}
#booksSearchForm button,.books-tools button,.books-return,.books-around>button{border:0;background:transparent;color:#d8e4e9;cursor:pointer;padding:10px;font:600 13px/1.2 var(--sans,system-ui)}
.books-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:24px;flex-wrap:wrap}
.books-years{display:flex;gap:4px;overflow-x:auto;max-width:100%;padding:3px}
.books-years button{font-size:12px;color:#99aab5;padding:8px 10px;border-radius:20px;white-space:nowrap}
.books-years button[aria-pressed=true]{background:#d9d5c9;color:#17232a}
#booksShelfToggle{border:1px solid #50616b;border-radius:24px;padding:9px 16px}
#booksShelfToggle[aria-pressed=true]{background:#d9d5c9;color:#17232a}
.books-search-results:not(:empty){max-width:750px;padding:18px 0;border-bottom:1px solid #42515b;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 20px}
.books-search-results>.world-section-kicker,.books-search-results>p{grid-column:1/-1}
.books-search-results button{border:0;border-bottom:1px solid #263843;text-align:left;background:transparent;color:#ecece8;padding:10px 0;cursor:pointer;min-width:0}
.books-search-results button strong{display:block;font:20px/1.2 var(--serif);overflow-wrap:anywhere}
.books-search-results button small{display:block;color:#aebac4;margin-top:5px}
.books-landscape{position:relative;min-height:720px;margin:0 -42px 0;padding:28px clamp(28px,4vw,58px) 44px;overflow:hidden;border:0;border-radius:34px;background:
  radial-gradient(circle at 43% 47%,rgba(104,135,157,.18) 0,rgba(61,91,112,.09) 16%,transparent 31%),
  radial-gradient(ellipse at 43% 47%,transparent 0 28%,rgba(157,181,195,.085) 28.15%,transparent 28.45%),
  radial-gradient(ellipse at 43% 47%,transparent 0 44%,rgba(157,181,195,.052) 44.15%,transparent 44.42%),
  radial-gradient(circle at 18px 23px,rgba(238,239,231,.16) 0 1px,transparent 1.35px) 0 0/89px 89px,
  radial-gradient(circle at 49px 61px,rgba(174,194,207,.11) 0 .8px,transparent 1.2px) 0 0/127px 127px,
  linear-gradient(145deg,#07131c 0%,#0b1c27 48%,#08141d 100%);
  box-shadow:inset 0 0 0 1px rgba(123,151,169,.1),inset 0 -70px 110px rgba(0,0,0,.16)}
.books-landscape::before,.books-landscape::after{content:"";position:absolute;pointer-events:none;border-radius:50%;border:1px solid rgba(152,178,193,.075);left:43%;top:47%;transform:translate(-50%,-50%) rotate(-8deg)}
.books-landscape::before{width:58%;height:45%}
.books-landscape::after{width:84%;height:67%;border-color:rgba(152,178,193,.045);transform:translate(-50%,-50%) rotate(7deg)}
/* Books polish — astronomical survey field + GrayPrint motif satellites */
.books-survey-grid{z-index:1}
.books-motif-orbit{position:absolute;z-index:2;inset:58px 232px 34px 20px;pointer-events:none}
.books-motif-satellite{--planet:#7e9eaa;position:absolute;display:flex;align-items:center;gap:8px;max-width:146px;border:0;background:transparent;color:#c9d1d2;text-align:left;padding:4px;cursor:pointer;pointer-events:auto;opacity:.76;transition:opacity .22s ease,transform .22s ease,filter .22s ease}
.books-motif-satellite::before{content:"";position:absolute;left:28px;top:50%;width:96px;height:96px;border-radius:50%;transform:translate(-50%,-50%) scale(.45);background:radial-gradient(circle,color-mix(in srgb,var(--planet) 58%,transparent) 0,color-mix(in srgb,var(--planet) 24%,transparent) 36%,transparent 70%);filter:blur(8px);opacity:0;pointer-events:none;transition:opacity .2s ease,transform .2s ease}
.books-motif-satellite:hover,.books-motif-satellite:focus-visible{opacity:1;transform:scale(1.075);z-index:9}
.books-motif-satellite:hover::before,.books-motif-satellite:focus-visible::before{opacity:1;transform:translate(-50%,-50%) scale(1.16)}
.books-motif-planet{position:relative;display:block;flex:none;width:52px;height:52px;transition:transform .22s ease,filter .22s ease}
.books-motif-satellite:hover .books-motif-planet,.books-motif-satellite:focus-visible .books-motif-planet{transform:scale(1.18);filter:brightness(1.34) saturate(1.14) drop-shadow(0 0 8px color-mix(in srgb,var(--planet) 92%,transparent)) drop-shadow(0 0 24px color-mix(in srgb,var(--planet) 68%,transparent)) drop-shadow(0 0 42px color-mix(in srgb,var(--planet) 34%,transparent))}
.books-motif-label strong{display:block;color:#d7d6cf;font:700 8px/1.15 system-ui;letter-spacing:.15em;text-transform:uppercase;transition:color .22s ease,text-shadow .22s ease}
.books-motif-satellite:hover .books-motif-label strong,.books-motif-satellite:focus-visible .books-motif-label strong{color:#f3f0e8;text-shadow:0 0 11px color-mix(in srgb,var(--planet) 60%,transparent)}
.books-motif-label{position:relative;min-width:0}.books-motif-label small{position:absolute;left:0;top:100%;display:block;margin-top:4px;color:#9cb0bb;font:9px/1.28 system-ui;width:138px;opacity:0;transform:translateY(-2px);text-shadow:0 2px 8px rgba(0,0,0,.8);pointer-events:none;transition:opacity .18s ease,transform .18s ease}.books-motif-satellite:hover .books-motif-label small,.books-motif-satellite:focus-visible .books-motif-label small{opacity:1;transform:none}
.books-motif-satellite:nth-child(2) .books-motif-planet{width:59px;height:59px}
.books-motif-satellite:nth-child(3) .books-motif-planet{width:45px;height:45px}
.books-motif-satellite:nth-child(4) .books-motif-planet{width:56px;height:56px}
.books-motif-satellite:nth-child(5) .books-motif-planet{width:48px;height:48px}
.books-motif-satellite:nth-child(6) .books-motif-planet{width:60px;height:60px}
.books-motif-satellite.motif-mystery{--planet:#b89867}
.books-motif-satellite.motif-transformation{--planet:#c3a970}
.books-motif-satellite.motif-future-now{--planet:#659bb3}
.books-motif-satellite.motif-placefulness{--planet:#718d80}
.books-motif-satellite.motif-rediscovery{--planet:#8a78a4}
.books-motif-satellite.motif-narrative-tension{--planet:#a87562}
.books-motif-satellite:nth-child(1){left:19%;top:2%}
.books-motif-satellite:nth-child(2){left:54%;top:0}
.books-motif-satellite:nth-child(3){left:1%;top:34%}
.books-motif-satellite:nth-child(4){right:0;top:29%}
.books-motif-satellite:nth-child(5){left:4%;bottom:5%}
.books-motif-satellite:nth-child(6){left:48%;bottom:1%}
.books-motif-satellite:nth-child(7){right:1%;bottom:8%}
.books-landscape-lead{position:relative;z-index:5;display:flex;align-items:flex-start;justify-content:space-between;gap:18px;color:#aab6c0}
.books-landscape-lead span{font:700 10px/1.4 system-ui;letter-spacing:.15em;color:#a9b8d8}
.books-landscape-lead p{font:italic 16px/1.3 var(--serif);margin:0;max-width:280px;text-align:right;color:#9fb0ba}
.books-landscape-lead>div{display:flex;flex-direction:column;align-items:flex-end;gap:8px}
#booksWander{border:0;background:transparent;color:#c9d5dc;padding:3px 0;font:700 10px/1.2 system-ui;letter-spacing:.04em;cursor:pointer;opacity:.78}
#booksWander:hover,#booksWander:focus-visible{opacity:1}
#booksWander:disabled{opacity:.45;cursor:default}
.books-presences{position:relative;z-index:2;display:block;min-height:610px;padding:12px 250px 0 0}
.books-presences::before{content:attr(data-books-centre);position:absolute;left:43%;top:46%;width:86px;height:86px;display:grid;place-items:center;border-radius:50%;border:1px solid rgba(202,194,167,.36);background:radial-gradient(circle,rgba(207,195,157,.13),rgba(13,28,38,.58) 67%,rgba(7,18,26,.1));box-shadow:0 0 48px rgba(183,169,124,.13),inset 0 0 24px rgba(232,221,180,.04);color:#cbbf9c;font:700 9px/1 system-ui;letter-spacing:.2em;transform:translate(-50%,-50%);pointer-events:none;z-index:1}
.books-presences::after{content:attr(data-books-centre-sub);position:absolute;left:43%;top:calc(46% + 54px);transform:translateX(-50%);color:#667d8a;font:700 7px/1 system-ui;letter-spacing:.16em;pointer-events:none}
.books-presences[data-books-mode="now"]::before,.books-presences[data-books-mode="now"]::after{display:none}
.books-gravity-control{position:absolute;z-index:7;left:43%;top:46%;width:118px;height:104px;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:0;background:transparent;color:#b9b098;cursor:pointer;padding:0;font-family:system-ui}
.books-gravity-control span{width:8px;height:8px;border-radius:50%;background:#d7caa0;box-shadow:0 0 11px rgba(215,202,160,.8),0 0 34px rgba(185,177,147,.2);transition:transform .22s ease,box-shadow .22s ease}
.books-gravity-control em{font:700 7px/1 system-ui;letter-spacing:.18em;text-transform:uppercase;font-style:normal;white-space:nowrap;opacity:.74}
.books-gravity-control small{font:600 7px/1 system-ui;letter-spacing:.08em;text-transform:uppercase;color:#697d88;opacity:0;transform:translateY(-2px);transition:opacity .2s ease,transform .2s ease}
.books-gravity-control:hover span,.books-gravity-control:focus-visible span{transform:scale(1.5);box-shadow:0 0 14px rgba(232,218,171,.95),0 0 44px rgba(185,177,147,.34)}
.books-gravity-control:hover small,.books-gravity-control:focus-visible small{opacity:1;transform:none}
.books-gravity-control:disabled{cursor:wait}
.books-presences.gravity-burst .books-gravity-control{animation:books-gravity-core .52s ease both}
.books-presences.gravity-burst .books-presence{animation:books-gravity-eject .52s cubic-bezier(.55,.04,.82,.28) forwards}
.books-presences.gravity-burst .books-presence:nth-child(1){--gx:-150px;--gy:-90px;--gr:-11deg}
.books-presences.gravity-burst .books-presence:nth-child(2){--gx:145px;--gy:-105px;--gr:13deg}
.books-presences.gravity-burst .books-presence:nth-child(3){--gx:-175px;--gy:35px;--gr:-9deg}
.books-presences.gravity-burst .books-presence:nth-child(4){--gx:165px;--gy:34px;--gr:12deg}
.books-presences.gravity-burst .books-presence:nth-child(5){--gx:-95px;--gy:135px;--gr:-14deg}
.books-presences.gravity-burst .books-presence:nth-child(6){--gx:105px;--gy:145px;--gr:16deg}
@keyframes books-gravity-eject{0%{opacity:1;transform:translate(0,0) rotate(0) scale(1);filter:none}28%{opacity:1;transform:translate(calc(var(--gx)*-.16),calc(var(--gy)*-.16)) rotate(calc(var(--gr)*-.2)) scale(1.035)}100%{opacity:0;transform:translate(var(--gx),var(--gy)) rotate(var(--gr)) scale(.72);filter:blur(1px)}}
@keyframes books-gravity-core{0%,100%{transform:translate(-50%,-50%) scale(1)}42%{transform:translate(-50%,-50%) scale(1.35);filter:brightness(1.45)}}
.books-presences[data-books-mode="concept"]::before{width:150px;height:86px;border-radius:43px;padding:0 15px;text-align:center;font-size:8px;line-height:1.25;letter-spacing:.11em;text-transform:uppercase}
.books-presences[data-books-mode="time"]::before{font:500 22px/1 var(--serif);letter-spacing:0;color:#e2dac8}
.books-presence{position:absolute;z-index:3;width:270px;min-width:0;min-height:0;display:flex;align-items:center;gap:14px;text-align:left;background:transparent;border:0;color:#f4f1e9;cursor:pointer;padding:10px;transition:transform .2s ease,opacity .2s ease,filter .2s ease;border-radius:14px;animation:books-node-arrive .36s cubic-bezier(.2,.72,.24,1) both}
.books-presence:hover,.books-presence:focus-visible{transform:scale(1.035);background:rgba(255,255,255,.025);filter:brightness(1.08)}
.books-presence:nth-child(1){left:3%;top:9%;width:330px;animation-delay:.02s}
.books-presence:nth-child(2){left:48%;top:8%;width:285px;animation-delay:.06s}
.books-presence:nth-child(3){left:6%;top:50%;width:305px;animation-delay:.1s}
.books-presence:nth-child(4){left:50%;top:47%;width:285px;animation-delay:.14s}
.books-presence:nth-child(5){left:24%;top:76%;width:245px;animation-delay:.18s}
.books-presence:nth-child(6){left:47%;top:78%;width:245px;animation-delay:.22s}
.books-presence .world-book-cover{width:88px;height:132px;flex:none;aspect-ratio:2/3;display:block;border-radius:5px;overflow:hidden;box-shadow:0 18px 34px rgba(0,0,0,.32),0 0 24px rgba(109,143,162,.06)}
.books-presence:first-child .world-book-cover{width:128px;height:192px}
.books-presence .world-book-cover img{width:100%;height:100%;object-fit:cover}
.books-presence-copy{display:block;min-width:0;text-shadow:0 2px 12px rgba(0,0,0,.58)}
.books-presence-copy small{display:block;text-transform:uppercase;letter-spacing:.13em;font:700 9px/1.35 system-ui;color:#9fb2cf;margin-bottom:7px}
.books-presence-copy strong{display:-webkit-box;font:600 clamp(19px,1.85vw,29px)/1.03 var(--serif);overflow:hidden;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:3}
.books-presence-copy em{display:block;font:11px/1.42 system-ui;color:#9fb0b9;margin-top:9px;font-style:normal}
.books-presence.series{filter:drop-shadow(0 0 18px rgba(111,141,163,.05))}
.books-presence.author{left:7%}
.books-author-mark{width:86px;height:86px;flex:none;display:grid;place-items:center;border-radius:50%;border:1px solid rgba(148,166,176,.5);background:radial-gradient(circle at 36% 31%,rgba(98,122,136,.2),rgba(8,22,31,.28) 72%);color:#d9d7d0;font:italic 51px/1 var(--serif);box-shadow:0 0 34px rgba(115,145,161,.08)}
.books-horizon{position:absolute;z-index:4;right:8px;top:224px;width:205px;display:flex;flex-direction:column;gap:14px;margin:0;padding:0 0 0 16px;border:0;border-left:1px dashed rgba(143,164,177,.18);color:#9bacb5}
.books-horizon::before{content:"HORIZON";position:absolute;left:-9px;top:-30px;transform:translateX(-50%) rotate(-90deg);transform-origin:center;color:#607783;font:700 7px/1 system-ui;letter-spacing:.18em}
.books-horizon>.world-section-kicker{align-self:flex-start;max-width:190px;color:#8296b7}
.books-horizon-item{display:block;color:inherit;text-decoration:none;border:0;padding:4px 0;max-width:195px;opacity:.48;transition:opacity .2s ease,transform .2s ease}
.books-horizon-item:hover,.books-horizon-item:focus-visible{opacity:1;transform:translateX(-5px)}
.books-horizon-item small,.books-horizon-item span{display:block;font:10px/1.4 system-ui;color:#8ea0a9}
.books-horizon-item strong{display:block;color:#e7dfd3;font:18px/1.08 var(--serif);margin:5px 0}
.books-horizon button{background:transparent;color:#9eafb7;border:0;cursor:pointer;padding:8px 0;text-align:left;opacity:.72}
.books-horizon-more{border-top:1px solid #283b47;padding:18px 0;margin:24px 0}
.books-horizon-more summary{font:22px/1.3 var(--serif);cursor:pointer}
.books-horizon-more .world-books-radar-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.books-window-shelves{position:relative;z-index:1;margin:-34px -4px 52px;padding:58px 4px 0;border-top:0;background:linear-gradient(180deg,rgba(9,24,34,.72) 0,rgba(7,18,26,.18) 105px,transparent 170px)}
.books-window-head{display:flex;justify-content:space-between;gap:28px;align-items:flex-end;margin:0 0 24px}
.books-window-head h3{font:600 clamp(28px,3.2vw,42px)/1 var(--serif);letter-spacing:-.04em;margin:7px 0 0}
.books-window-head p{max-width:360px;margin:0;color:#82949e;font:italic 14px/1.42 var(--serif);text-align:right}
.books-window-shelf{position:relative;margin:0 0 34px;padding:0 0 23px}
.books-window-shelf::after{content:"";position:absolute;left:-8px;right:-8px;bottom:0;height:7px;border-top:1px solid rgba(171,148,111,.28);background:linear-gradient(180deg,rgba(111,88,57,.15),rgba(18,26,31,0));box-shadow:0 10px 22px rgba(0,0,0,.16)}
.books-window-label{display:flex;justify-content:space-between;gap:18px;align-items:baseline;margin:0 0 13px}
.books-window-label strong{font:600 17px/1 var(--serif);color:#ddd8ce}
.books-window-label span{color:#728690;font-size:9px;letter-spacing:.03em}
.books-window-shelf .world-books-shelf{grid-template-columns:repeat(8,minmax(0,1fr));gap:18px 11px}
.books-window-shelf .world-shelf-copy strong{font-size:12px;display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.books-window-shelf .world-shelf-item>small{line-height:1.35}
.books-window-refresh{display:flex;justify-content:center;margin-top:-3px}
#booksShelfRefresh{border:1px solid rgba(143,168,182,.22);background:rgba(143,168,182,.055);color:#cbd6dc;border-radius:999px;padding:10px 16px;font:700 10px/1 system-ui;cursor:pointer}
#booksShelfRefresh:hover,#booksShelfRefresh:focus-visible{background:rgba(143,168,182,.1);border-color:rgba(143,168,182,.35)}
.books-shelf-panel{padding:20px 0 40px}
.books-shelf-panel .world-shelf-item{min-width:0}
.books-provenance{color:#7f949e;font-size:11px;padding:12px 0 30px}
@keyframes books-node-arrive{from{opacity:.15;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}
.books-focus-scrim{position:fixed;inset:0;z-index:29;border:0;background:rgba(2,8,13,.38);cursor:w-resize;padding:0}
.books-focus-layer{position:fixed;inset:0;z-index:30;background:rgba(6,15,22,.97);overflow:auto;animation:books-enter .22s ease both}
.books-focus-inner{max-width:1180px;padding:32px 30px 80px;margin:0 auto}
.books-return{margin:0 0 32px;padding:8px 0;color:#d9dedb}
.books-focus-layout{display:grid;grid-template-columns:minmax(170px,280px) minmax(0,1fr);gap:clamp(24px,6vw,75px);align-items:start}
.books-focus-art .world-book-cover,.books-focus-art .world-book-cover img{display:block;width:100%;aspect-ratio:2/3;object-fit:cover}
.books-focus-art .world-book-cover{box-shadow:0 25px 75px #0007;border-radius:5px;overflow:hidden}
.books-focus-content h2{font:700 clamp(40px,5.7vw,76px)/.96 var(--serif);letter-spacing:-.055em;margin:10px 0 18px;overflow-wrap:anywhere;max-width:16ch}
.books-focus-content h2.long{font-size:clamp(34px,4.5vw,58px);line-height:.98;max-width:20ch}
.books-focus-content h2.very-long{font-size:clamp(27px,3.5vw,46px);line-height:1;max-width:24ch}
.books-focus-content h2:focus{outline:none}
.books-focus-meta{color:#b5c0c5}
.books-focus-actions{display:flex;gap:12px;flex-wrap:wrap;margin:22px 0}
.books-focus-actions button,.books-focus-actions .books-amazon-action{border:1px solid #52636f;border-radius:22px;background:transparent;color:#e7e8e2;padding:10px 15px;cursor:pointer;text-decoration:none;font:600 13px/1.2 var(--sans,system-ui)}
.books-focus-actions .books-amazon-action{border-color:rgba(198,177,119,.55);background:rgba(198,177,119,.08);color:#efe6cf}
.books-evidence-summary{display:flex;flex-direction:column;gap:6px;border-top:1px solid #60707a;border-bottom:1px solid #33444e;padding:19px 0;color:#dce2df}
.books-evidence-summary strong{font:24px/1.1 var(--serif)}
.books-evidence-summary small{color:#aeb9c0}
.books-series-path,.books-related,.books-around{margin-top:48px;border-top:1px solid #344651;padding-top:22px}
.books-series-path h3,.books-related h3{font:32px/1.1 var(--serif);margin:9px 0 20px}
.books-series-steps{display:flex;gap:16px;overflow-x:auto;padding:5px 0 20px}
.books-series-steps button{width:125px;flex:none;display:flex;flex-direction:column;text-align:left;gap:6px;color:#e8e8e4;border:0;background:transparent;cursor:pointer}
.books-series-steps .world-book-cover{width:100%;aspect-ratio:2/3}
.books-series-steps img{width:100%;height:100%;object-fit:cover}
.books-series-steps strong{font:16px/1.16 var(--serif);display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3}
.books-series-steps small{color:#acbbc2}
.books-series-steps [aria-current=step]{border-bottom:2px solid #dad6ca}
.books-around .books-presence{display:inline-flex;vertical-align:top;width:230px}
.books-around .books-presence .world-book-cover{width:65px;height:98px}
.books-like-candidates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0}
.books-like-item{min-width:0;border-top:1px solid #536471;padding-top:12px}
.books-like-item .books-presence{display:block;min-height:0;padding:6px;width:100%}
.books-like-item .books-presence .world-book-cover{width:78px;height:117px}
.books-presence.external{border-left:1px dashed #8da6b5}
.books-author-focus>h2{font:700 clamp(48px,7vw,92px)/.95 var(--serif);letter-spacing:-.06em;margin:8px 0 14px}
.books-author-evidence{color:#b9c5ca;margin:0 0 34px}
.books-author-next{display:flex;gap:18px;align-items:center;border-top:1px solid #53636e;padding:18px 0}
.books-author-next button{border:0;background:transparent;color:#efece5;font:24px var(--serif);cursor:pointer}
.books-author-clusters{border-top:1px solid #334651;padding-top:20px}
.books-author-clusters h3,.books-author-releases h3{font:32px/1.1 var(--serif)}
.books-author-clusters>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.books-author-clusters button{background:transparent;border:0;color:#e6e8e4;cursor:pointer;text-align:left;min-width:0;padding:8px}
.books-author-clusters .world-book-cover{display:block;width:100px;aspect-ratio:2/3}
.books-author-clusters img{width:100%;height:100%;object-fit:cover}
.books-author-clusters button strong{display:block;font:21px/1.1 var(--serif);margin:11px 0 4px}
.books-author-clusters button small{color:#b4c2c9;line-height:1.4}
.books-author-shelf{margin:35px 0;border-top:1px solid #40515d;padding-top:18px}
.books-author-shelf summary{font:23px/1.2 var(--serif);cursor:pointer}
@keyframes books-enter{from{opacity:.5;transform:translateY(10px)}to{opacity:1;transform:none}}
@media(min-width:1040px){
  .books-focus-layer{left:min(34vw,440px);border-left:1px solid #52616c;box-shadow:-30px 0 80px #030b13b8}
  body:has(.books-vnext) .bottom-nav{left:12px;top:110px;bottom:auto;transform:none;width:145px;height:auto;padding:16px 8px;display:flex;flex-direction:column;align-items:stretch;border:0;border-radius:18px;background:#0a1720}
  body:has(.books-vnext) .bottom-nav button{min-height:58px;flex-direction:row;gap:10px;justify-content:flex-start;padding:0 15px;font-size:12px}
}
@media(max-width:760px){
  .books-vnext-head h2{font-size:45px}
  .books-landscape{margin:0 -12px;padding:22px 20px 35px;min-height:0;border-radius:22px;background:radial-gradient(circle at 50% 28%,rgba(79,109,128,.12),transparent 28%),linear-gradient(155deg,#07141d,#0a1b25 58%,#08151e)}
  .books-window-shelves{margin:0;padding:32px 0 0;background:none}
  .books-landscape::before,.books-landscape::after{display:none}
  .books-survey-grid{opacity:.7;-webkit-mask-image:linear-gradient(#000,transparent 90%);mask-image:linear-gradient(#000,transparent 90%)}
  .books-motif-orbit{position:relative;inset:auto;display:flex;gap:12px;overflow-x:auto;padding:14px 0 8px;margin:0 -4px;pointer-events:auto;scroll-snap-type:x proximity}
  .books-motif-satellite,.books-motif-satellite:nth-child(1),.books-motif-satellite:nth-child(2),.books-motif-satellite:nth-child(3),.books-motif-satellite:nth-child(4),.books-motif-satellite:nth-child(5),.books-motif-satellite:nth-child(6),.books-motif-satellite:nth-child(7){position:relative;left:auto;right:auto;top:auto;bottom:auto;min-width:148px;max-width:148px;opacity:.8;scroll-snap-align:start}
  .books-motif-label small{max-width:12ch}
  .books-landscape-lead{display:block}
  .books-landscape-lead>div{align-items:flex-start}
  .books-landscape-lead p{text-align:left;margin-top:8px}
  .books-window-head{display:block}
  .books-window-head p{text-align:left;margin-top:8px}
  .books-window-label{display:block}
  .books-window-label span{display:block;margin-top:5px}
  .books-window-shelf{overflow:hidden}
  .books-window-shelf .world-books-shelf{grid-template-columns:repeat(5,minmax(92px,1fr));gap:16px 10px;overflow-x:auto;padding-bottom:4px}
  .books-presences{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-height:0;padding:25px 0 0}
  .books-gravity-control{position:static;grid-column:1/-1;order:-1;left:auto;top:auto;transform:none;width:130px;height:62px;justify-self:center;margin:0 auto 4px}
  .books-gravity-control small{opacity:.72;transform:none}
  .books-presences::before,.books-presences::after{display:none}
  .books-presence,.books-presence:first-child,.books-presence:nth-child(1),.books-presence:nth-child(2),.books-presence:nth-child(3),.books-presence:nth-child(4),.books-presence:nth-child(5),.books-presence:nth-child(6){position:static;left:auto;top:auto;width:auto;grid-column:span 1;display:block;min-height:0;padding:8px;animation:none}
  .books-presence:first-child{grid-column:span 2;display:flex}
  .books-presence .world-book-cover{width:100%;height:auto;max-width:100px;aspect-ratio:2/3}
  .books-presence:first-child .world-book-cover{width:120px;height:180px}
  .books-presence-copy{margin-top:8px}
  .books-presence-copy strong{font-size:19px}
  .books-presence:first-child .books-presence-copy strong{font-size:27px}
  .books-author-mark{width:65px;height:65px;font-size:37px}
  .books-horizon{position:static;width:auto;display:flex;flex-direction:row;justify-content:flex-start;overflow-x:auto;margin-top:24px;padding:18px 0 0;border-left:0;border-top:1px dashed rgba(143,164,177,.25)}
  .books-horizon::before{display:none}
  .books-horizon-item{min-width:200px;opacity:.72}
  .books-horizon-more .world-books-radar-grid{grid-template-columns:1fr}
  .books-focus-scrim{display:none}
  .books-focus-inner{padding:20px 20px 110px}
  .books-focus-layout{grid-template-columns:1fr;gap:22px}
  .books-focus-art .world-book-cover{max-width:155px}
  .books-focus-content h2{font-size:42px}
  .books-search-results:not(:empty){grid-template-columns:1fr}
  .books-author-clusters>div{grid-template-columns:repeat(2,minmax(0,1fr))}
  .books-like-candidates{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.books-motif-satellite{transition:none}.books-focus-layer{animation:none}.books-presence{transition:none;animation:none}.books-horizon-item{transition:none}.books-presences.gravity-burst .books-presence,.books-presences.gravity-burst .books-gravity-control{animation:none}}


.books-reading-horizon{margin:10px -42px 0}
.books-reading-horizon .world-terrain-title{pointer-events:none}
@media(max-width:760px){.books-reading-horizon{margin:10px -12px 0}}

/* Manual Books source recovery is shown only while a work still needs source text. */
.world-book-recovery{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:14px}
.world-book-recovery button{border:1px solid rgba(198,177,119,.55);border-radius:18px;background:rgba(198,177,119,.08);color:#efe6cf;padding:9px 13px;font:600 12px/1.3 var(--sans,system-ui);cursor:pointer}
.world-book-recovery button:disabled{opacity:.6;cursor:wait}
.world-book-recovery [role=status]{color:#b9c9ca;font:400 12px/1.5 var(--sans,system-ui);max-width:38ch}

/* Astronomical Atlas treatment over existing Books product structure. */
.books-vnext{--world-instrument:"PP Right Grotesk Wide Medium","Arial",sans-serif}
.books-vnext-head{padding-bottom:27px}
.books-landscape{border-radius:0;background:
  radial-gradient(circle at 43% 47%,rgba(38,83,121,.2),transparent 36%),
  radial-gradient(circle at 18px 23px,rgba(238,239,231,.2) 0 1px,transparent 1.35px) 0 0/89px 89px,
  radial-gradient(circle at 49px 61px,rgba(174,194,207,.13) 0 .8px,transparent 1.2px) 0 0/127px 127px,
  linear-gradient(145deg,#06111a 0%,#081821 51%,#06111a 100%);
  box-shadow:none}
.books-landscape::before,.books-landscape::after{border-color:rgba(169,199,222,.11)}
.books-landscape::after{border-color:rgba(169,199,222,.07)}
.books-motif-orbit{inset:48px 216px 28px 10px}
.books-motif-satellite{opacity:.67;max-width:150px}
.books-motif-satellite[hidden]{display:none!important}
.books-motif-planet{filter:brightness(.82) saturate(.78);transition:transform .24s ease,filter .24s ease}
.books-motif-satellite:hover,.books-motif-satellite:focus-visible{opacity:1;transform:scale(1.035)}
.books-motif-satellite:hover .books-motif-planet,.books-motif-satellite:focus-visible .books-motif-planet{transform:scale(1.12);filter:brightness(1.55) saturate(1.35) drop-shadow(0 0 12px color-mix(in srgb,var(--planet) 88%,transparent)) drop-shadow(0 0 34px color-mix(in srgb,var(--planet) 54%,transparent))}
.books-motif-label strong,.books-landscape-lead span,.books-presence-copy small,.books-gravity-control em,.books-gravity-control small,.books-horizon::before,.books-horizon-item small,.books-window-label span,#booksShelfRefresh,.books-years button,.books-tools button,#booksSearchForm label,.books-provenance{
  font-family:var(--world-instrument);font-weight:500;letter-spacing:.15em}
.books-motif-label strong{font-size:9px;line-height:1.3;overflow-wrap:anywhere}
.books-motif-label small{font-family:var(--world-instrument);font-size:9px;line-height:1.3}
.books-presence-copy small{font-size:9px;color:#c6aa72}
.books-presence-copy em{font-family:var(--world-instrument);font-size:10px}
.books-landscape-lead span{color:#c6aa72}
.books-gravity-control em{font-size:9px;color:#e2d2a4;opacity:.9}
.books-gravity-control small{font-size:8px}
.books-horizon{border-left-style:solid;border-left-color:rgba(127,159,184,.23)}
.books-horizon-item{opacity:.68}
.books-window-shelves{border-top:1px solid rgba(117,148,166,.16);background:linear-gradient(180deg,rgba(9,24,34,.72),transparent 190px)}
.books-window-label span{line-height:1.4}
.books-window-shelf::after{border-top-color:rgba(198,170,114,.34)}
.books-reading-horizon{min-height:660px;margin-top:38px}
@media(max-width:760px){
  .books-landscape{border-radius:0;background:
    radial-gradient(circle at 50% 28%,rgba(49,98,145,.16),transparent 45%),
    linear-gradient(155deg,#06111a,#091b27 58%,#06111a)}
  .books-motif-orbit{inset:auto;gap:10px;margin:8px -4px 0;padding:18px 4px 14px;border-bottom:1px solid rgba(127,159,184,.16)}
  .books-motif-satellite,.books-motif-satellite:nth-child(1),.books-motif-satellite:nth-child(2),.books-motif-satellite:nth-child(3),.books-motif-satellite:nth-child(4),.books-motif-satellite:nth-child(5),.books-motif-satellite:nth-child(6),.books-motif-satellite:nth-child(7){min-width:170px;max-width:170px;min-height:66px;opacity:.88}
  .books-motif-label small{position:static;width:auto;max-width:12ch;opacity:.75;transform:none;margin-top:3px}
  .books-presences{padding-top:18px}
  .books-horizon{border-top-style:solid}
  .books-reading-horizon{margin-top:26px}
}
@media(prefers-reduced-motion:reduce){.books-motif-planet,.books-motif-satellite::before,.books-motif-label small{transition:none}}

/* Where next — a clear entrance, with the reading landscape still below. */
.books-next{margin:4px 0 40px}
.books-next-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:22px}
.books-next-head h3,.books-horizon-section h3{font:500 clamp(28px,3.5vw,42px)/1.1 var(--serif);letter-spacing:-.035em;margin:8px 0 0}
.books-next-head p{max-width:290px;color:#a7b8c0;font:italic 15px/1.45 var(--serif);margin:0;text-align:right}
.books-next-doors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.books-next-door{display:flex;flex-direction:column;align-items:flex-start;min-width:0;border:0;border-top:1px solid #2c434e;padding:20px 0 8px;background:transparent;color:#eee9dc;text-align:left;text-decoration:none;cursor:pointer}
.books-next-door:hover,.books-next-door:focus-visible{border-top-color:#c6aa72}
.books-next-door .world-book-cover,.books-next-placeholder{display:flex;width:108px;height:162px;flex:none;align-items:center;justify-content:center;margin-bottom:18px;border-radius:3px;overflow:hidden;box-shadow:8px 12px 24px #0003}
.books-next-door .world-book-cover img{width:100%;height:100%;object-fit:contain}
.books-next-placeholder{background:#102532;border:1px solid #2c434e;font:italic 21px/1.3 var(--serif);text-align:center;color:#d6c28e}
.books-next-copy{display:flex;flex-direction:column;align-items:flex-start;flex:1;min-width:0;width:100%}
.books-next-copy>small{color:#c6aa72;font:500 11px/1.5 var(--world-instrument,system-ui);letter-spacing:.12em;text-transform:uppercase}
.books-next-copy>strong{font:500 clamp(21px,2.5vw,29px)/1.15 var(--serif);margin:7px 0;overflow-wrap:anywhere}
.books-next-copy>em{color:#a7b8c0;font:400 12px/1.5 system-ui}
.books-next-reason{display:block;margin:12px 0 14px;color:#a7b8c0;font:400 13px/1.6 system-ui;max-width:34ch;flex:1}
.books-next-action{display:block;color:#d6c28e;font:500 12px/1.5 system-ui}
.books-wander-choices{position:relative;z-index:6;display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 4px}
.books-wander-choices button{min-height:44px;border:1px solid #2c434e;background:#091923;color:#c6d2d8;border-radius:24px;padding:9px 15px;font:500 12px/1.3 system-ui;cursor:pointer}
.books-wander-choices button[aria-pressed=true]{background:#ded9cd;color:#17232a;border-color:#ded9cd}
.books-horizon-section{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:36px;border-top:1px solid #2c434e;margin:28px 0 48px;padding-top:26px}
.books-horizon-section>div>p{color:#a7b8c0;font:400 14px/1.6 system-ui;max-width:32ch}
.books-horizon-section .books-horizon{position:static;width:auto;padding:0;margin:0;border:0;display:flex;flex-direction:column;gap:20px;overflow:visible}
.books-horizon-section .books-horizon::before{display:none}
.books-horizon-entry{min-width:0;border-top:1px solid #2c434e;padding-top:14px}
.books-horizon-entry>small{color:#a7b8c0;font:400 12px/1.5 system-ui}
.books-horizon-entry .books-horizon-item{max-width:none;opacity:1;padding:5px 0}
.books-horizon-entry .books-horizon-item strong{font-size:25px;line-height:1.2;overflow-wrap:anywhere}
.books-horizon-entry .books-horizon-item span{font-size:12px;line-height:1.5;color:#d6c28e}
.books-horizon-entry details{margin:10px 0 0;color:#a7b8c0;font:400 12px/1.6 system-ui}
.books-horizon-entry summary{cursor:pointer;min-height:32px}
.books-horizon-entry details p{margin:6px 0}
@media(max-width:1100px){
  .books-landscape{margin-left:0;margin-right:0;padding-left:22px;padding-right:22px;min-height:0}
  .books-motif-orbit{position:relative;inset:auto;display:flex;flex-wrap:wrap;gap:12px;margin:16px 0 0;pointer-events:auto}
  .books-motif-satellite,.books-motif-satellite:nth-child(n){position:relative;inset:auto;max-width:170px;min-height:64px}
  .books-presences{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;min-height:0;padding:20px 0}
  .books-presence,.books-presence:nth-child(n){position:static;inset:auto;width:auto;display:flex;grid-column:auto;gap:12px;padding:8px;animation:none;align-items:flex-start}
  .books-presence .world-book-cover,.books-presence:first-child .world-book-cover{width:85px;height:128px;max-width:85px;flex:none}
  .books-presence-copy strong,.books-presence:first-child .books-presence-copy strong{font-size:23px}
  .books-gravity-control{position:static;transform:none;grid-column:1/-1;order:-1;justify-self:center;width:140px;height:60px}
  .books-gravity-control small{opacity:1;transform:none}
  .books-presences::before,.books-presences::after{display:none}
  .books-window-shelves{margin-top:0}
}
@media(max-width:650px){
  .books-next-head{display:block}.books-next-head p{text-align:left;margin-top:10px;max-width:none}
  .books-next-doors{grid-template-columns:1fr;gap:16px}
  .books-next-door{flex-direction:row;gap:20px}
  .books-next-door .world-book-cover,.books-next-placeholder{width:86px;height:129px;margin-bottom:0}
  .books-next-reason{max-width:none;margin:8px 0}
  .books-next-placeholder{font-size:18px}
  .books-horizon-section{grid-template-columns:1fr;gap:12px}
  .books-presences{grid-template-columns:1fr;gap:12px}
  .books-presence,.books-presence:nth-child(n){grid-column:auto}
  .books-presence-copy{margin-top:0}
}

/* One shared celestial field, across the entire Books surface. */
body.world-celestial-active{overflow-x:clip;background:#03070b;background-image:radial-gradient(ellipse at 82% 8%,#10232a70,transparent 48%),radial-gradient(ellipse at 10% 65%,#21132340,transparent 50%)}
.world-celestial-stars{position:fixed;inset:0;width:100vw;height:100vh;pointer-events:none;z-index:0}
.world-celestial-active #app{position:relative;isolation:isolate;background:transparent}
.books-vnext{position:relative;isolation:isolate}.books-vnext> :not(.books-page-space){position:relative;z-index:1}
.books-page-space{position:absolute;top:0;bottom:0;width:100vw;left:calc(50% - 50vw);z-index:-1;overflow:hidden;pointer-events:none}
.books-cosmos-grid{position:absolute;inset:0;background:linear-gradient(#86cfdd25 1px,transparent 1px),linear-gradient(90deg,#86cfdd25 1px,transparent 1px);background-size:180px 180px;transform:perspective(1200px) rotateX(12deg);mask-image:linear-gradient(transparent,#0005 13%,#0009 28%,#000 43%,#0004 66%,transparent 95%)}
.books-far-world{position:absolute;width:850px;right:-470px;top:-190px;opacity:.55;filter:drop-shadow(-18px 8px 45px #a5c3d21a)}
.books-header-moon{position:absolute;width:85px;right:36%;top:40px;opacity:.65}.books-distant-world{position:absolute;width:155px;right:-40px;top:51%;opacity:.3}
.books-page-space .world-procedural-planet{width:100%;height:100%}
.books-vnext-head{padding:26px 0 24px}.books-vnext-head h2{color:#f0e6d5}.books-vnext-head>p{color:#bdb9af}
.books-vnext #booksSearchForm{position:relative;max-width:840px;padding:28px 22px 14px 62px;isolation:isolate}
.books-vnext #booksSearchForm::before{content:"";position:absolute;z-index:-1;inset:15px -8px 0;border:1px solid #98c9d747;border-radius:50%;transform:rotate(-2deg);box-shadow:0 0 24px #77bac511;pointer-events:none}
.books-vnext #booksSearchForm::after{content:"";position:absolute;left:12px;top:55px;width:28px;height:28px;border-radius:50%;background:radial-gradient(circle at 30% 25%,#bddde1,#355766 43%,#080e15 75%);box-shadow:-3px 0 10px #8cd5e840;pointer-events:none}
.books-vnext #booksSearchForm:focus-within::before{border-color:#b3dce0a0;box-shadow:0 0 28px #8bc8d726}.books-vnext #booksSearchForm>div{border-bottom:0}.books-vnext #booksSearchForm label{font-size:9px;letter-spacing:.17em;color:#a4b8bd}.books-vnext #booksSearchForm button{min-height:44px;padding:10px 8px;color:#e1d4b8}.books-vnext #booksSearch:focus-visible{outline:2px solid #d7c599;outline-offset:5px}.books-vnext .books-tools button{min-height:44px}.books-vnext #booksShelfToggle{border:0;background:none;color:#c7d0cc}.books-vnext #booksShelfToggle[aria-pressed=true]{text-decoration:underline;text-underline-offset:6px}.books-vnext .books-years button{border-radius:0;background:none}.books-vnext .books-years button[aria-pressed=true]{color:#e8ddc6;text-decoration:underline;text-underline-offset:6px}
.books-vnext .books-landscape{background:radial-gradient(ellipse at 43% 47%,#56828f12,transparent 67%);border-radius:0;box-shadow:none;margin-top:10px}.books-vnext .books-survey-grid{display:none}.books-vnext .books-next,.books-vnext .books-horizon-section{background:transparent;box-shadow:none}.books-vnext .books-reading-horizon{margin-top:90px}
@media(max-width:650px){.books-far-world{width:640px;right:-475px;top:-130px;opacity:.4}.books-header-moon{width:45px;right:30%;top:25px}.books-vnext #booksSearchForm{padding:20px 7px 15px 35px}.books-vnext #booksSearchForm::before{inset:10px -5px 0}.books-vnext #booksSearchForm::after{width:20px;height:20px;left:0;top:48px}.books-vnext #booksSearchForm label{font-size:8px}.books-vnext #booksSearch{font-size:20px;min-height:44px}.books-vnext #booksSearchForm button{padding:10px 4px;font-size:12px}.books-vnext .books-reading-horizon{margin-top:60px}.books-cosmos-grid{opacity:.6}}

.books-vnext .books-vnext-head{padding-top:12px;padding-bottom:8px}.books-vnext .books-vnext-head>p{margin-bottom:12px}.books-vnext .books-tools{margin-top:14px}

/* Interaction motion stays local; the shared starfield never joins these transforms. */
@keyframes books-depth-arrive{0%{opacity:.12;transform:translate(var(--depth-x,14px),var(--depth-y,18px)) scale(.86);filter:blur(1px)}70%{opacity:.9;transform:translate(-2px,1px) scale(.985);filter:none}100%{opacity:1;transform:none;filter:none}}
@keyframes books-depth-drift{0%{opacity:1;transform:none}45%{transform:translate(7px,-3px) scale(.98)}100%{opacity:0;transform:translate(21px,-12px) scale(.91);filter:blur(1px)}}
.books-depth-arrive,.pops-arrive .pops-book,.world-motif-books .world-motif-book{animation:books-depth-arrive .7s cubic-bezier(.2,.62,.26,1) both}
.books-depth-drift,.pops-drift{animation:books-depth-drift .28s ease-in both}
.books-presences.gravity-arrive .books-presence{animation:books-depth-arrive .76s cubic-bezier(.18,.65,.3,1) both;--depth-x:var(--gx,40px);--depth-y:var(--gy,30px)}
.books-presences :is(.books-presence):nth-child(6n+1){--gx:-85px;--gy:-42px;--gr:-8deg}
.books-presences :is(.books-presence):nth-child(6n+2){--gx:70px;--gy:-62px;--gr:7deg}
.books-presences :is(.books-presence):nth-child(6n+3){--gx:-92px;--gy:26px;--gr:-9deg}
.books-presences :is(.books-presence):nth-child(6n+4){--gx:82px;--gy:36px;--gr:9deg}
.books-presences :is(.books-presence):nth-child(6n+5){--gx:-48px;--gy:76px;--gr:-6deg}
.books-presences :is(.books-presence):nth-child(6n+6){--gx:51px;--gy:81px;--gr:8deg}
.books-presences.gravity-burst .books-presence{animation:books-gravity-eject .52s cubic-bezier(.4,.06,.74,.32) forwards}
@keyframes books-gravity-eject{0%{opacity:1;transform:none}24%{opacity:1;transform:translate(calc(var(--gx)*-.09),calc(var(--gy)*-.09)) scale(.98)}58%{opacity:.7;transform:translate(calc(var(--gx)*.38),calc(var(--gy)*.22)) rotate(calc(var(--gr)*.4)) scale(.9)}100%{opacity:0;transform:translate(var(--gx),var(--gy)) rotate(var(--gr)) scale(.73);filter:blur(1px)}}
@keyframes books-gravity-core{0%,100%{transform:translate(-50%,-50%) scale(1)}35%{transform:translate(-50%,-50%) scale(.93);filter:brightness(1.6)}}
.books-presences.gravity-arrive .books-gravity-control{filter:brightness(1.2);transition:filter .7s ease}
.books-presences.gravity-burst .books-presence::after{content:"";position:absolute;inset:10% 20%;z-index:-1;background:radial-gradient(ellipse,#a5cdd31a,transparent 68%);pointer-events:none}
.books-focus-art{position:relative;isolation:isolate}
.books-focus-art::before{content:"";position:absolute;inset:-28% -22%;z-index:-1;pointer-events:none;background:radial-gradient(ellipse,#85b3c619,transparent 66%)}
.books-focus-art::after{content:"";position:absolute;inset:-6% -18%;border:1px solid #b0cfda18;border-radius:50%;transform:rotate(-9deg);pointer-events:none;animation:books-lensing .65s ease-out both}
@keyframes books-lensing{from{opacity:0;transform:rotate(-6deg) translate(2px,1px)}to{opacity:1;transform:rotate(-9deg)}}
.books-trace-scope{position:relative;isolation:isolate}
.books-relationship-trace{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0;overflow:hidden}
.books-relationship-trace path{fill:none;stroke:#a8cbd4;stroke-width:1;opacity:.2;stroke-dasharray:1;animation:books-trace-gather .45s ease-out both}
@keyframes books-trace-gather{from{stroke-dashoffset:1;opacity:0}to{stroke-dashoffset:0;opacity:.2}}
.books-light-spill{position:relative;isolation:isolate;overflow:visible!important}
.books-light-spill::before{content:"";position:absolute;inset:-35%;z-index:-1;pointer-events:none;background:radial-gradient(ellipse,rgba(var(--cover-spill,104,132,143),.12),transparent 66%)}
.books-discovery-path{margin:30px 0 40px;padding-top:10px;position:relative}
.books-discovery-path h4,.books-kindred h4{font:26px/1.2 var(--serif,Georgia);margin:0 0 9px;color:#e6dcc7}
.books-discovery-path>p{font-size:13px;line-height:1.6;color:#aebac0;max-width:560px}
.books-discovery-path button,.books-kindred summary{min-height:44px;border:0;background:none;padding:10px 0;color:#c5d5d8;font:13px/1.4 inherit;cursor:pointer}
.books-discovery-path button:disabled{opacity:.5;cursor:default}
.books-discovery-path :is(button,a,summary):focus-visible{outline:2px solid #d7c599;outline-offset:4px}
.books-quick-result .pops-book{grid-template-columns:120px minmax(0,1fr);padding:10px 0;margin:15px 0;gap:24px}
.books-quick-result .pops-book h4{font-size:29px}
.books-kindred p,.books-kindred li{font-size:14px;line-height:1.6;color:#bdc4c1}
.books-kindred details p{font-size:12px}
.books-horizon-section{position:relative;margin-top:110px;padding:32px 0 10px;isolation:isolate}
.books-horizon-section::before{content:"";position:absolute;inset:-70px -8vw -240px;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 50% 100%,#7595a526,transparent 65%),linear-gradient(transparent,#03070b30)}
.books-horizon-section+.books-horizon-more{position:relative;margin-top:35px;z-index:1}
.books-reading-horizon{margin-top:0!important;overflow:visible;isolation:isolate}
.books-reading-horizon .world-horizon-art{top:-120px;pointer-events:none;opacity:.7}
.books-cosmos-grid{mask-image:linear-gradient(transparent,#0005 13%,#0009 28%,#0007 43%,transparent 75%)}
@media(max-width:650px){.books-horizon-section{margin-top:75px;padding-top:24px}.books-quick-result .pops-book{grid-template-columns:96px minmax(0,1fr);gap:18px}.books-quick-result .pops-book h4{font-size:25px}.books-discovery-path{margin:22px 0 32px}.books-focus-art::after{inset:-5% -10%}}
@media(prefers-reduced-motion:reduce){.books-depth-arrive,.books-depth-drift,.pops-arrive .pops-book,.pops-drift,.world-motif-books .world-motif-book,.books-presences.gravity-arrive .books-presence,.books-presences.gravity-burst .books-presence,.books-presences.gravity-burst .books-gravity-control,.books-focus-art::after,.books-relationship-trace path{animation:none!important;transform:none;filter:none;transition:none!important}.books-focus-art::after{display:none}.books-presences.gravity-arrive .books-gravity-control{transition:none}.books-presences.gravity-burst .books-presence::after{display:none}}

/* Local atmospheric bleed must never create a horizontal Quick Look scrollbar. */
.books-focus-layer{overflow-x:hidden}
html:has(body.world-celestial-active){overflow-x:clip}
@media(max-width:650px){.books-focus-layer{max-width:100%}}

/* Three distinct doors beyond a focused book. */
.books-related{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.books-related>.world-section-kicker,.books-related>h3,.books-related>p,.books-related>#worldBookMotifs{grid-column:1/-1}
.books-related>h3{margin:0}
.books-related>p{margin:0 0 8px}
.books-related>#booksQuickPops{display:contents}
.books-related .books-discovery-path{margin:0;padding:14px 16px;border:1px solid #b6a17740;border-radius:14px;background:linear-gradient(145deg,#15242b99,#0b151c99);display:flex;flex-direction:column;min-width:0}
.books-related .books-discovery-path h4{font-size:20px;line-height:1.15;min-height:2.3em}
.books-related .books-discovery-path>p:not([role=status]){margin:4px 0 12px;font-size:12px;line-height:1.5}
.books-related .books-discovery-path>button{margin-top:auto;text-align:left;color:#e2d1a8;font-size:12px;line-height:1.5;min-height:56px;display:flex;align-items:center}
.books-related .books-discovery-path>[role=status]:empty,.books-related .books-discovery-path>.books-quick-result:empty{display:none}
.books-related .books-quick-result .pops-book{grid-template-columns:1fr;gap:14px}
.books-related .books-quick-result .pops-book h4{font-size:23px}
@media(max-width:650px){.books-related{grid-template-columns:1fr;gap:12px}.books-related .books-discovery-path{padding:14px 16px}.books-related .books-discovery-path h4{font-size:20px;min-height:0}}

/* GrayWorld material: one quiet light across type, edges and the existing field. */
.books-vnext,.books-focus-layer{
  --books-ivory:#f3eee4;--books-brass:#ddc487;--books-slate:#a6b5bc;
  --books-petrol:111,154,161;--books-rule:rgba(235,225,207,.16);
  color:var(--books-ivory);
}
body.world-celestial-active{background-image:radial-gradient(ellipse at 82% 8%,rgba(111,154,161,.14),transparent 48%),radial-gradient(ellipse at 10% 65%,rgba(172,128,72,.055),transparent 50%)}
.books-vnext .books-vnext-head{padding-bottom:18px}
.books-vnext .books-vnext-head h2{color:#eee5d5;text-wrap:balance}
@supports (background-clip:text){
  .books-vnext .books-vnext-head h2{
    background:linear-gradient(108deg,#a8b8bb 0%,#d8cfbf 27%,#fffdf8 48%,#fffdf8 56%,#c7e0e3 73%,#8daeb5 100%);
    background-clip:text;-webkit-background-clip:text;color:transparent;
  }
}
.books-vnext .world-section-kicker{color:#c4b596}
.books-vnext .books-cosmos-grid{opacity:.48}
.books-vnext .books-distant-world{opacity:.22}
.books-vnext #booksSearchForm::before{border-color:rgba(159,201,220,.22);box-shadow:none}
.books-vnext #booksSearchForm:focus-within::before{border-color:rgba(159,201,220,.52);box-shadow:0 0 24px rgba(111,154,161,.07)}
.books-vnext :is(.books-next-head,.books-window-head,.pops-books-head)>.world-section-kicker,
.books-vnext :is(.books-next-head,.books-window-head,.pops-books-head)>div>.world-section-kicker{
  display:flex;align-items:center;gap:12px;
}
.books-vnext :is(.books-next-head,.books-window-head,.pops-books-head) .world-section-kicker::after{
  content:"";height:1px;flex:1;min-width:32px;max-width:160px;
  background:linear-gradient(90deg,rgba(221,196,135,.38),rgba(221,196,135,.03));
}
.books-vnext .books-next-door{border-top-color:var(--books-rule)}
.books-vnext .books-next-door:is(:hover,:focus-visible){border-top-color:var(--books-brass)}
.books-vnext .books-window-shelves{border-top-color:var(--books-rule);background:linear-gradient(180deg,rgba(13,25,34,.38),transparent 150px)}
.books-vnext .books-window-shelf::after{height:5px;border-top-color:rgba(221,196,135,.24);box-shadow:0 7px 18px rgba(0,0,0,.12)}
.books-vnext :is(.books-window-head p,.books-window-label span,.books-presence-copy em){color:var(--books-slate)}
.books-vnext .books-motif-satellite{opacity:.85}
.books-vnext .books-motif-satellite.motif-rediscovery{--planet:#87947c}
.books-vnext .books-motif-satellite:is(:hover,:focus-visible) .books-motif-planet{
  filter:brightness(1.18) saturate(.95) drop-shadow(0 0 12px color-mix(in srgb,var(--planet) 30%,transparent));
}
.books-vnext .books-motif-satellite:is(:hover,:focus-visible) .books-motif-label strong{text-shadow:none}
.books-vnext .books-motif-satellite::before{opacity:.65;width:210px;height:170px;transform:translate(-50%,-50%);filter:blur(18px);background:radial-gradient(ellipse,color-mix(in srgb,var(--planet) 35%,transparent),color-mix(in srgb,var(--planet) 12%,transparent) 38%,transparent 72%)}
.books-vnext .books-gravity-control em{color:var(--books-brass)}
.books-vnext .books-presence:is(:hover,:focus-visible){background:rgba(111,154,161,.035);filter:none}
.books-vnext .books-horizon-section{border-top:0}
.books-vnext .books-horizon-section::after{
  content:"";position:absolute;top:0;left:0;right:0;height:1px;pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(111,154,161,.3) 20%,rgba(159,201,220,.8) 45%,#f3eee4 56%,rgba(159,201,220,.6) 67%,transparent);box-shadow:0 0 18px rgba(159,201,220,.3);
}
.books-vnext .books-horizon-entry{border-top-color:var(--books-rule)}
.books-vnext :is(button,a,summary):focus-visible,.books-focus-layer :is(button,a,summary):focus-visible{
  outline:2px solid var(--books-brass);outline-offset:5px;
}
.books-focus-layer{background:radial-gradient(ellipse at 0 12%,rgba(111,154,161,.08),transparent 48%),#071018}
.books-focus-layer .books-focus-content h2{color:var(--books-ivory);text-wrap:balance}
.books-focus-layer .books-focus-art::before{background:radial-gradient(ellipse,rgba(var(--cover-spill,111,154,161),.14),transparent 66%)}
.books-focus-layer .books-evidence-summary{border-color:var(--books-rule);color:#d8cfbf}
.books-focus-layer :is(.books-series-path,.books-related,.books-around){border-top-color:var(--books-rule)}
.books-focus-layer .books-related .books-discovery-path{
  border:0;border-top:1px solid rgba(221,196,135,.25);border-radius:0;
  background:linear-gradient(160deg,rgba(111,154,161,.055),transparent 65%);padding:18px 12px 12px;
}
.books-focus-layer .books-related .books-discovery-path h4{color:#e8dfce}
.books-focus-layer .books-related .books-discovery-path>p{color:var(--books-slate)}
.books-focus-layer .world-label-line{color:#c8b998}
.books-focus-layer .world-section-kicker{color:#c4b596}
.books-focus-layer .focus-author{color:#c7d6d9}
.books-focus-layer .world-label-line>span{font-size:9px;letter-spacing:.12em}
.books-focus-layer .world-book-about-copy>small{font-size:10px;line-height:1.6;color:var(--books-slate)}
.books-focus-layer .world-book-about-copy>p,.books-focus-layer .world-book-about-more p{font:16px/1.7 var(--serif);color:#d8cfbf;max-width:62ch}
.books-focus-layer .world-book-about-more summary{font-size:12px;min-height:44px;display:flex;align-items:center;color:#c7d6d9}
.books-focus-layer .world-label-line::before,.books-focus-layer .world-label-line::after{background:linear-gradient(90deg,rgba(111,154,161,.08),rgba(159,201,220,.3),rgba(111,154,161,.08))}
@media(max-width:650px){
  .books-vnext .books-vnext-head h2{font-size:clamp(36px,10vw,45px);max-width:15ch;line-height:1.02}
  .books-vnext .books-vnext-head>p{font-size:18px;max-width:28ch}
  .books-vnext .books-window-label span{line-height:1.6}
  .books-vnext #booksWander{min-height:44px}
  .books-vnext .books-horizon-entry summary{min-height:44px;display:flex;align-items:center}
  .books-focus-layer .books-related{gap:20px}
  .books-focus-layer .books-related .books-discovery-path{padding:18px 0 10px;background:none}
}
@media(prefers-reduced-motion:reduce){
  .books-vnext .books-motif-satellite:is(:hover,:focus-visible),
  .books-vnext .books-motif-satellite:is(:hover,:focus-visible) .books-motif-planet,
  .books-vnext .books-presence:is(:hover,:focus-visible){transform:none}
}
@media(forced-colors:active){.books-vnext .books-vnext-head h2{background:none;color:CanvasText}}

/* A stronger shared light: atmosphere stays behind the existing objects. */
.books-vnext .books-page-space{background:radial-gradient(ellipse 65% 620px at 95% 110px,rgba(111,154,161,.27),transparent 75%),linear-gradient(112deg,transparent 12%,rgba(159,201,220,.045) 38%,transparent 60%)}
.books-vnext .books-far-world{filter:drop-shadow(-28px 8px 55px rgba(159,201,220,.25))}
.books-vnext .books-header-moon{opacity:.9;filter:drop-shadow(-6px 0 24px rgba(135,148,124,.45))}
.books-vnext .books-landscape{background:radial-gradient(ellipse at 44% 40%,rgba(111,154,161,.24),transparent 58%),radial-gradient(ellipse at 15% 90%,rgba(172,128,72,.11),transparent 45%),linear-gradient(180deg,transparent,rgba(3,8,13,.4));box-shadow:none}
.books-vnext .books-motif-planet{filter:brightness(1.08) saturate(.85) drop-shadow(-3px 0 10px color-mix(in srgb,var(--planet) 35%,transparent))}
.books-vnext .books-horizon-section::before{background:radial-gradient(ellipse at 56% 22%,rgba(159,201,220,.18),transparent 58%),linear-gradient(transparent,#03070b60)}
.books-vnext .books-horizon-section>div>.world-section-kicker{display:flex;align-items:center;gap:14px;color:#c7dce0}
.books-vnext .books-horizon-section>div>.world-section-kicker::before,.books-vnext .books-horizon-section>div>.world-section-kicker::after{content:"";height:1px;flex:1;background:linear-gradient(90deg,transparent,rgba(159,201,220,.7));box-shadow:0 0 12px rgba(159,201,220,.2)}
.books-vnext .books-horizon-section>div>.world-section-kicker::after{background:linear-gradient(90deg,rgba(159,201,220,.7),transparent)}
.books-vnext .books-reading-horizon .world-horizon-art{opacity:1;filter:drop-shadow(0 -12px 28px rgba(159,201,220,.2))}
.books-vnext .books-presence .world-book-cover,.books-vnext .books-next-door .world-book-cover{box-shadow:12px 22px 30px rgba(0,0,0,.65),-2px -1px 0 rgba(199,224,227,.55),-10px -6px 30px rgba(111,154,161,.2)}
.books-focus-layer .books-focus-art::before{background:radial-gradient(ellipse,rgba(var(--cover-spill,111,154,161),.32),rgba(var(--cover-spill,111,154,161),.1) 40%,transparent 70%)}
@supports(background-clip:text){
.books-vnext :is(.pops-books-head h3,.books-next-head h3,.books-window-head h3,.books-horizon-section h3,.world-terrain-title h3),.books-focus-layer .books-focus-content h2{background:linear-gradient(110deg,#b0c4c8,#eee5d5 30%,#fffdf8 52%,#b8d6dc 80%,#8ba7ad);background-clip:text;-webkit-background-clip:text;color:transparent}
}
@media(forced-colors:active){.books-vnext :is(.pops-books-head h3,.books-next-head h3,.books-window-head h3,.books-horizon-section h3,.world-terrain-title h3),.books-focus-layer .books-focus-content h2{background:none;color:CanvasText}}
