/* One set of destinations on every reading surface. */
[data-book-header]{gap:24px}
/* Reading preferences already sit with the story. */
body[data-book-reading="prologue"] [data-book-header] .book-tools{display:none}
[data-book-header] .book-primary-nav{display:flex;align-items:center;gap:0;margin-left:auto;flex-shrink:0}
[data-book-header] .book-desktop-links{display:flex;align-items:center;gap:clamp(20px,2.4vw,36px)}
[data-book-header] .book-desktop-links a{display:inline-flex;align-items:center;min-height:44px;font:500 14px/1.4 BookBody,Manrope,Arial,sans-serif;letter-spacing:0;color:#e8e0d2;text-decoration:none;white-space:nowrap}
[data-book-header] .book-desktop-links a[aria-current], [data-book-header] .book-desktop-links a:hover{color:#e8c58a;text-decoration:underline;text-underline-offset:6px}
[data-book-header] .book-menu-trigger{display:none;align-items:center;justify-content:center;gap:9px;min-width:82px;min-height:44px;padding:9px 12px;border:1px solid #bda47555;border-radius:4px;background:none;color:#e8e0d2;font:500 13px/1.4 BookBody,Manrope,Arial,sans-serif;cursor:pointer;letter-spacing:0}
[data-book-header] .book-primary-nav :is(a,button):focus-visible,#book-menu.book-menu-simple :is(a,button):focus-visible{outline:2px solid #dfbd82;outline-offset:4px}
[data-book-header] .book-primary-nav noscript{display:none}
html.book-navigation-open,html.book-navigation-open body{overflow:hidden;overscroll-behavior:none}
#book-menu.book-menu-simple{box-sizing:border-box;position:fixed;inset:0;width:420px;max-width:calc(100% - 32px);height:fit-content;max-height:calc(100dvh - 32px);margin:auto;padding:28px;background:#11120f;color:#eee6d8;border:1px solid #bda47555;border-radius:8px;box-shadow:0 24px 80px #0009;overflow:auto;overscroll-behavior:contain}
#book-menu.book-menu-simple::backdrop{background:#000b;backdrop-filter:blur(5px)}
#book-menu.book-menu-simple .close{position:absolute;top:16px;right:16px;display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:12px;border:0;border-radius:4px;background:none;color:#e8e0d2;cursor:pointer}
#book-menu.book-menu-simple h2{margin:4px 48px 24px 0!important;font:400 28px/1.2 BookDisplay,Georgia,serif!important;letter-spacing:-.02em}
#book-menu.book-menu-simple .menu-reading{display:block;border-top:1px solid #bda47533}
#book-menu.book-menu-simple .menu-reading a{display:grid;grid-template-columns:minmax(0,1fr) 18px;align-items:center;gap:16px;min-height:80px;padding:16px 0;border-bottom:1px solid #bda47533;color:inherit;text-decoration:none}
#book-menu.book-menu-simple .menu-reading a:last-child{border-bottom:0}
#book-menu.book-menu-simple .menu-reading strong{display:block;font:400 23px/1.3 BookDisplay,Georgia,serif;letter-spacing:0;color:inherit}
#book-menu.book-menu-simple .menu-reading small{display:block;margin-top:5px;font:400 12px/1.5 BookBody,Manrope,Arial,sans-serif;letter-spacing:0;color:#bcb5a9}
#book-menu.book-menu-simple .menu-reading a[aria-current] strong{color:#e8c58a}
#book-menu.book-menu-simple .menu-arrow{display:flex;justify-content:flex-end;color:#d5b172}
#book-menu.book-menu-simple .nav-chevron{width:14px;height:14px}
@media(max-width:1100px){[data-book-header] .reader-chapter-context{display:none}}
@media(max-width:960px){
  [data-book-header] .book-desktop-links{display:none}
  [data-book-header] .book-menu-trigger{display:inline-flex}
  [data-book-header] .book-primary-nav noscript{display:flex;gap:12px}
  [data-book-header]{gap:12px}
  #book-menu.book-menu-simple{margin:max(16px,env(safe-area-inset-top)) auto auto;max-height:calc(100dvh - 32px);padding:26px 24px}
}
@media(max-width:420px){[data-book-header] .book-brand{font-size:12px;letter-spacing:.06em}[data-book-header] .book-tools{gap:0}[data-book-header] .book-tools .theme-toggle{font-size:11px}}
@media(prefers-reduced-motion:reduce){#book-menu.book-menu-simple::backdrop{backdrop-filter:none}}
