.shelf-shell{--dark-backdrop:#101213;--dark-surface:#181a1b;--dark-text:#dbd5bd;--dark-muted:#dbd5bd99;--dark-border:#ffffff1a;--dark-divider:#bab8ab26;--library-gutter:64px;min-height:100svh;padding:0 var(--library-gutter);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:var(--dark-backdrop);color:var(--dark-text);font-family:League Spartan,system-ui,sans-serif}.shelf-shell[hidden]{display:none}.shelf-header{z-index:40;height:80px;margin:0 calc(-1 * var(--library-gutter));-webkit-backdrop-filter:blur(30px);backdrop-filter:blur(30px);background:#181a1be6;align-items:center;gap:16px;padding:0 24px;display:flex;position:sticky;top:0;box-shadow:0 1px #ffffff05}.library-logo{background:0 0;border:0;flex-shrink:0;align-items:center;gap:9px;min-height:44px;margin-right:auto;padding:0;display:flex}.library-logo img{flex-shrink:0}.library-header-search{flex:0 0 200px;margin-left:44px}.library-header-search input{width:100%;height:44px;color:var(--dark-text);background:#101213;border:1px solid #0000;border-radius:100px;padding:4px 20px 0;font:400 18px/1 League Spartan,system-ui,sans-serif;display:block}.library-header-search input::placeholder{color:#dbd5bd80}.library-header-search input:focus-visible{outline-offset:3px;outline:2px solid #ffb700}.library-account{background:var(--dark-surface);border:0;border-radius:50%;flex:0 0 44px;place-items:center;width:44px;height:44px;padding:0;display:grid;position:relative;overflow:hidden}.library-account:after{content:"";border-radius:inherit;pointer-events:none;border:1px solid #ffffff40;position:absolute;inset:0}.library-account img{object-fit:cover;width:44px;height:44px}.shelf-intro{justify-content:space-between;align-items:center;gap:24px;max-width:1160px;margin:auto;padding:36px 0 30px;display:flex}.shelf-eyebrow{letter-spacing:.19em;color:var(--dark-muted);margin:0 0 20px;font-size:11px;font-weight:600}.shelf-intro h1{letter-spacing:-.025em;margin:0 0 22px;font:500 clamp(32px,4vw,48px)/1.1 League Spartan,system-ui,sans-serif}.shelf-intro p:not(.shelf-eyebrow){color:var(--dark-muted);max-width:370px;margin:0;font-size:17px;line-height:1.5}.shelf-intro-star{color:var(--dark-control);margin-right:8%;font-family:Georgia,serif;font-size:clamp(70px,12vw,150px);transform:rotate(12deg)}.shelf-collection{max-width:1192px;margin:auto;padding:100px 0 64px}.shelf-section-heading{justify-content:flex-end;align-items:center;gap:20px;margin-bottom:30px;display:flex}.shelf-add{background:var(--dark-control);min-height:48px;color:var(--dark-text);border:1px solid var(--dark-control);border-radius:999px;justify-content:center;align-items:center;gap:10px;padding:12px 22px;font:500 15px/1.2 League Spartan,system-ui,sans-serif;display:inline-flex}.shelf-add>span{font-size:23px;font-weight:400;line-height:18px}.shelf-feedback{min-height:44px;color:var(--dark-text);align-items:center;gap:12px;margin-bottom:18px;font-size:14px;display:flex}.shelf-feedback button,.shelf-notice button{color:var(--dark-text);text-underline-offset:3px;background:0 0;border:0;min-height:44px;padding:8px;text-decoration:underline}.shelf-grid{--plank-width:calc(300% + 248px);--shelf-inset:80px;padding:0 var(--shelf-inset) 200px;grid-template-columns:repeat(3,minmax(0,1fr));gap:110px 44px;margin:0;list-style:none;display:grid}.shelf-book{--shelf-wood:var(--shelf-wood-1);min-width:0;position:relative}.shelf-book-standing{aspect-ratio:3/4;width:100%;display:block;position:relative}.shelf-plank{--plank-top-height:23px;--plank-height:39px;--wood-height:max(var(--plank-height), 11.4286cqw);top:calc(100% - 9px);left:calc(-1 * var(--shelf-inset));width:var(--plank-width);height:var(--plank-height);pointer-events:none;display:none;position:absolute;container-type:inline-size}.shelf-plank-top,.shelf-plank-front{width:100%;position:absolute;left:0;overflow:hidden;-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.shelf-plank-top{height:var(--plank-top-height);-webkit-mask-image:var(--shelf-top-mask);mask-image:var(--shelf-top-mask);top:0;transform:scaleY(-1)}.shelf-plank-front{top:var(--plank-top-height);height:16px;-webkit-mask-image:var(--shelf-front-mask);mask-image:var(--shelf-front-mask)}.shelf-plank-top:before,.shelf-plank-front:before{content:"";width:100%;height:var(--wood-height);background:#594136 var(--shelf-wood) center / cover no-repeat;position:absolute;left:0}.shelf-plank-top:before{top:calc(var(--plank-top-height) - var(--plank-height) / 2 - var(--wood-height) / 2);transform:scaleY(-1)}.shelf-plank-front:before{top:calc(var(--plank-height) / 2 - var(--plank-top-height) - var(--wood-height) / 2)}.shelf-plank-front:after{content:"";background:var(--shelf-shading) center / 100% 100% no-repeat;position:absolute;inset:0}.shelf-book-shadow{z-index:1;pointer-events:none;background:var(--shelf-shadow) center / 100% 100% no-repeat;mix-blend-mode:multiply;transform-origin:50%;width:107.1%;height:14px;transition:transform .32s cubic-bezier(.2,.7,.2,1),opacity .32s,filter .32s;position:absolute;bottom:-7px;left:-3.55%}.shelf-grid .shelf-cover{z-index:2;border-radius:12px;transition:transform .32s cubic-bezier(.2,.7,.2,1),box-shadow .32s;box-shadow:0 2px 4px #0003}.shelf-grid .shelf-cover-edge{background:0 0;border:2px solid #ffffff1a}.shelf-grid .shelf-unavailable{z-index:2;background:var(--dark-surface);position:relative}.shelf-book:nth-child(3n+1) .shelf-plank{display:block}.shelf-book-open{text-align:left;width:100%;color:inherit;background:0 0;border:0;border-radius:12px;flex-direction:column;padding:0;display:flex}.shelf-cover{z-index:1;aspect-ratio:3/4;transform-origin:0;background:#242829;border-radius:6px 14px 14px 6px;width:100%;transition:transform .22s,box-shadow .22s;display:block;position:relative;overflow:hidden;box-shadow:0 10px 18px -8px #0009,0 2px 3px #0004;container-type:inline-size}.shelf-cover img{object-fit:cover;opacity:0;width:100%;height:100%;transition:opacity .22s ease-out;position:absolute;inset:0}.shelf-cover img[data-ready=true]{opacity:1}.shelf-cover img[data-cached=true]{transition:none}.shelf-cover-loading{opacity:1;background:#242829;transition:opacity .22s ease-out;position:absolute;inset:0;overflow:hidden}.shelf-cover-loading:after,.shelf-cover-saving:after,.library-skeleton-shimmer:after{content:"";background:linear-gradient(105deg,#0000 20%,#dbd5bd0d 50%,#0000 80%);animation:4s ease-in-out infinite cover-shimmer;position:absolute;inset:0;transform:translate(-100%)}.shelf-cover-loading[data-ready=true]{opacity:0}.shelf-cover-loading[data-ready=true]:after{animation:none}:is(.discover-book-open,.shelf-book-open,.library-result-open):disabled:has(.shelf-cover-saving[data-saving=true]){opacity:1;cursor:wait}.shelf-cover-saving{z-index:2;border-radius:inherit;pointer-events:none;opacity:0;visibility:hidden;background:#0a0e0f0a;transition:opacity .18s ease-out,visibility 0s .18s;position:absolute;inset:0;overflow:hidden}.shelf-cover-saving[data-saving=true]{opacity:1;visibility:visible;transition-delay:0s}@starting-style{.shelf-cover-saving[data-saving=true]{opacity:0}}.shelf-cover-saving:after{background:linear-gradient(105deg,#0000 15%,#fff4ce1a 50%,#0000 85%);animation:1.2s ease-in-out infinite paused cover-save-shimmer}.shelf-cover-saving[data-saving=true]:after{animation-play-state:running}@keyframes cover-save-shimmer{0%{transform:translate(-100%)}to{transform:translate(100%)}}@media (prefers-reduced-motion:reduce){.shelf-cover-saving{background:#dbd5bd14;transition:none}.shelf-cover-saving:after{background:0 0;animation:none}}@keyframes cover-shimmer{0%,15%{transform:translate(-100%)}85%,to{transform:translate(100%)}}@media (prefers-reduced-motion:reduce){.shelf-cover-loading{transition:none}.shelf-cover-loading:after,.shelf-cover-saving:after,.library-skeleton-shimmer:after{background:0 0;animation:none}.shelf-cover img{transition:none}}.shelf-cover-fallback{color:#f6eac8;text-align:center;background:radial-gradient(circle at top,#557381,#263c50);flex-direction:column;justify-content:center;align-items:center;gap:22px;padding:24px;font:400 clamp(18px,9cqw,27px)/1.15 Dreambits Baskerville,Georgia,serif;display:flex;position:absolute;inset:0}.shelf-cover-fallback>span{overflow-wrap:anywhere;max-width:100%}.shelf-cover-fallback>span:first-child{font-size:46px}.shelf-cover-edge{border-radius:inherit;pointer-events:none;background:linear-gradient(90deg,#07141c30,#0000 2%,#fff2 3%,#0002 4%,#0000 7%);border:1px solid #ffffff20;position:absolute;inset:0}.shelf-empty{text-align:center;background:var(--dark-border);border-radius:16px;padding:44px 20px 64px}.shelf-empty>span{color:var(--dark-control);font-size:52px}.shelf-empty h3{margin:16px 0;font:400 32px Dreambits Baskerville,Georgia,serif}.shelf-empty p{color:var(--dark-muted);line-height:1.5}.shelf-empty button{margin-top:16px}.shelf-unavailable{border:1px dashed var(--dark-border);height:100%;color:var(--dark-muted);border-radius:12px;flex-direction:column;gap:16px;padding:50px 20px 24px;display:flex}.shelf-unavailable>span:first-child{font-size:32px}.shelf-unavailable strong{font-size:20px;font-weight:500}.shelf-notice{background:var(--dark-border);border-radius:10px;padding:12px 16px;font-size:14px;line-height:1.5}.shelf-picker{overscroll-behavior:contain;border:1px solid var(--dark-border);background:var(--dark-surface);width:min(600px,100vw - 32px);max-height:calc(100dvh - 48px);color:var(--dark-text);border-radius:22px;margin:auto;padding:30px;font:16px League Spartan,system-ui,sans-serif;overflow-y:auto;box-shadow:0 24px 90px #0008}.shelf-picker::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#0009}.shelf-picker-header{justify-content:space-between;align-items:start;gap:16px;display:flex}.shelf-picker-header .shelf-eyebrow{margin-bottom:12px}.shelf-picker-header h2{margin:0;font:400 34px Dreambits Baskerville,Georgia,serif}.shelf-picker-close{background:var(--dark-border);width:44px;min-height:44px;color:var(--dark-text);border:0;border-radius:50%;flex:none;font-size:25px}.shelf-picker-intro,.shelf-picker-footnote{color:var(--dark-muted);font-size:14px;line-height:1.5}.shelf-picker-list{margin:28px 0;padding:0;list-style:none}.shelf-picker-list li{border-top:1px solid var(--dark-divider);grid-template-columns:70px 1fr auto;align-items:center;gap:18px;padding:16px 0;display:grid}.shelf-picker-list .shelf-cover{border-radius:4px 7px 7px 4px;width:70px}.shelf-picker-list .shelf-cover-fallback{gap:0;padding:5px;font-size:10px}.shelf-picker-list .shelf-cover-fallback>span:first-child{font-size:18px}.shelf-picker-list h3{overflow-wrap:anywhere;margin:0 0 6px;font-size:18px;font-weight:500}.shelf-picker-list p{color:var(--dark-muted);margin:0;font-size:13px;line-height:1.4}.shelf-picker-add{border:1px solid var(--dark-control);color:var(--dark-text);background:var(--dark-border);border-radius:999px;min-height:44px;padding:10px 14px;font-size:13px}.shelf-picker-done{width:100%;margin-top:16px}.shelf-opening{background:var(--dark-backdrop);min-height:100svh;color:var(--dark-text);padding:16px 24px}.shelf-opening>div{flex-direction:column;justify-content:center;align-items:center;min-height:calc(100svh - 100px);display:flex}.shelf-opening p{font:16px League Spartan,system-ui,sans-serif}@media (hover:hover) and (prefers-reduced-motion:no-preference){.shelf-book-open:not(:disabled):is(:hover,[aria-expanded=true]) .shelf-cover{transform:translateY(-12px);box-shadow:0 12px 18px -12px #0005}.shelf-book-open:not(:disabled):is(:hover,[aria-expanded=true]) .shelf-book-shadow{opacity:.55;filter:blur(2px);transform:scale(1.06,1.7)}.shelf-add:hover{background:var(--dark-border)}}@media (min-width:1200px){.shelf-grid{--plank-width:calc(400% + 292px);grid-template-columns:repeat(4,minmax(0,1fr))}.shelf-book:nth-child(n) .shelf-plank{display:none}.shelf-book:nth-child(4n+1) .shelf-plank{display:block}}@media (max-width:800px){.shelf-grid{--plank-width:calc(200% + 72px);--shelf-inset:24px;grid-template-columns:repeat(2,minmax(0,1fr));gap:110px 24px}.shelf-book:nth-child(n) .shelf-plank{display:none}.shelf-book:nth-child(odd) .shelf-plank{display:block}}@media (max-width:600px){.shelf-intro{padding:42px 0 32px}.shelf-intro-star{display:none}.shelf-intro p:not(.shelf-eyebrow){font-size:16px}.shelf-add{padding:10px 16px;font-size:14px}.shelf-grid{--plank-width:calc(200% + 68px);column-gap:20px}.shelf-picker{padding:22px}.shelf-picker-list li{grid-template-columns:55px 1fr;gap:12px}.shelf-picker-list .shelf-cover{width:55px}.shelf-picker-add{grid-column:2;justify-self:start}}@media (max-width:350px){.shelf-grid{--plank-width:calc(100% + 48px);grid-template-columns:1fr}.shelf-book:nth-child(n) .shelf-plank{display:block}.shelf-section-heading{flex-direction:column;align-items:start}}.shelf-opening>.text-button{color:inherit}.shelf-shell .brand-dot{color:var(--dark-muted)}.shelf-shell button:focus-visible,.shelf-opening button:focus-visible{outline-color:var(--dark-text)}.shelf-book-menu{z-index:100;border:1px solid var(--dark-border);background:var(--dark-surface);width:244px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);color:var(--dark-text);border-radius:14px;padding:6px;position:fixed;overflow-y:auto;box-shadow:0 14px 44px #0008}.shelf-book-menu button{width:100%;min-height:44px;color:inherit;text-align:left;background:0 0;border:0;border-radius:8px;padding:12px 14px;font:400 16px/1.25 League Spartan,system-ui,sans-serif;display:block}.shelf-book-menu button+button{border-top:1px solid var(--dark-divider)}.shelf-book-menu button:hover,.shelf-book-menu button:focus-visible{background:var(--dark-border);outline:none}.shelf-book-menu button:disabled{color:var(--dark-muted)}.browsing-book-menu{color:#dbd5bd;background:#28292a;border:1px solid #45484a;border-radius:16px;width:240px;padding:0;box-shadow:0 20px 40px #00000040}.browsing-book-menu-on-shelf{width:250px}.browsing-book-menu button{border-radius:0;align-items:center;gap:10px;min-height:60px;padding:10px 11px;font-weight:600;line-height:20px;display:flex}.browsing-book-menu button+button{border-top:1px solid #393c3d;min-height:61px}.browsing-book-menu .shelf-menu-icon{background:#3c3d3e;border-radius:50%;flex:0 0 40px;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.browsing-book-menu .shelf-menu-icon img{display:block}.browsing-book-menu .shelf-menu-icon-read{transform:translateY(.5px)}.browsing-book-menu .shelf-menu-icon-bookshelf,.browsing-book-menu .shelf-menu-icon-bookshelf-remove{transform:translateY(-.5px)}.browsing-book-menu .shelf-menu-icon-switch{place-items:center;display:grid}.browsing-book-menu .shelf-menu-icon-switch img{grid-area:1/1;transition:opacity .12s}.browsing-book-menu .shelf-menu-icon-hover{opacity:0}@media (hover:hover){.browsing-book-menu button:hover .shelf-menu-icon-switch .shelf-menu-icon-default{opacity:0}.browsing-book-menu button:hover .shelf-menu-icon-hover{opacity:1}}.browsing-book-menu button:focus-visible .shelf-menu-icon-switch .shelf-menu-icon-default{opacity:0}.browsing-book-menu button:focus-visible .shelf-menu-icon-hover{opacity:1}@media (prefers-reduced-motion:reduce){.browsing-book-menu .shelf-menu-icon-switch img{transition:none}}.browsing-book-menu .shelf-menu-label{min-width:0;transform:translateY(2px)}.browsing-book-menu button:hover,.browsing-book-menu button:focus-visible{background:#303233}@media (prefers-reduced-motion:no-preference){.shelf-book-menu{animation:.14s ease-out shelf-menu-in}@keyframes shelf-menu-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}}.library-nav{align-items:center;gap:50px;display:flex}.library-nav button{color:#dbd5bd;white-space:nowrap;background:0 0;border:0;border-radius:10px;justify-content:center;align-items:center;min-height:48px;margin-inline:-18px;padding:0 18px;font:500 22px/1 League Spartan,system-ui,sans-serif;transition:background-color .16s;display:inline-flex}.library-nav-label{display:block;transform:translateY(.1em)}.library-nav button[aria-current=page]{color:#ffb700}@media (hover:hover){.library-nav button:hover{background-color:#1f2223}}.library-search-label{color:var(--dark-text);margin:24px 0 8px;font-size:15px;display:block}.library-search-input{border:1px solid var(--dark-border);background:var(--dark-backdrop);width:100%;min-height:48px;color:var(--dark-text);border-radius:12px;padding:12px 14px;font:400 18px/1.3 League Spartan,system-ui,sans-serif}.library-search-input:focus-visible{outline:2px solid var(--dark-text);outline-offset:3px}.library-search-input::placeholder{color:var(--dark-muted)}.library-search-empty{color:var(--dark-muted);padding:16px 0;line-height:1.5}.library-discover,.library-coming-soon{border-top:1px solid var(--dark-divider);max-width:1160px;margin:auto;padding:24px 0 48px}.library-discover .shelf-picker-list{max-width:700px;margin:0}.library-coming-soon{text-align:center;padding-top:64px}.library-coming-soon>span{color:var(--dark-control);font-size:50px}.library-coming-soon h2{font-size:28px;font-weight:500}.library-coming-soon p{color:var(--dark-muted);line-height:1.5}@media (max-width:1100px){.shelf-shell{--library-gutter:32px}.library-nav{gap:24px}.library-nav button{margin-inline:-10px;padding-inline:10px;font-size:20px}.library-header-search{flex-basis:160px;margin-left:8px}}@media (max-width:950px){.shelf-header{grid-template-columns:minmax(0,1fr) minmax(100px,180px) 44px;gap:8px 16px;height:auto;min-height:124px;padding:16px 24px 0;display:grid}.library-logo{grid-area:1/1}.library-logo img:last-child{display:none}.library-nav{grid-area:2/1/auto/-1;justify-content:space-between;gap:20px}.library-nav button{min-height:48px}.library-header-search{grid-area:1/2;min-width:0;margin:0}.library-account{grid-area:1/3}}@media (max-width:600px){.shelf-shell{--library-gutter:24px}}@media (max-width:360px){.shelf-header{gap:8px 12px;padding-inline:16px}.library-nav{gap:12px}.library-nav button{margin-inline:-6px;padding-inline:6px;font-size:18px}}@media (prefers-reduced-motion:reduce){.library-nav button{transition:none}}.shelf-empty{background:0 0;padding:16px 20px}.library-discover{max-width:none;margin:0 calc(-1 * var(--library-gutter));border:0;padding:64px 0 0}.library-discover>p,.library-discover>.shelf-notice{margin-inline:var(--library-gutter)}.discover-row{min-width:0;margin-bottom:66px}.discover-row-header{margin:0 0 16px var(--library-gutter);align-items:last baseline;gap:12px;display:flex}.discover-row h2{color:#bab8ab;overflow-wrap:anywhere;flex:0 auto;margin:0;font:400 36px/1 Dreambits Baskerville,Baskerville,Georgia,serif}.discover-row-header>span{background:#bab8ab26;flex:1;min-width:24px;height:1px}header.discover-row-header>span{animation:.18s ease-out both discover-divider-in}@keyframes discover-divider-in{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion:reduce){header.discover-row-header>span{animation:none}}.discover-track{overscroll-behavior-x:contain;scroll-snap-type:x proximity;scroll-padding-inline:var(--library-gutter);scrollbar-width:thin;scrollbar-color:#bab8ab40 transparent;padding:16px var(--library-gutter) 0;gap:30px;margin:0;list-style:none;display:flex;overflow-x:auto}.discover-track>li{scroll-snap-align:start;flex:0 0 270px;min-width:0}.discover-book-open{color:#dbd5bd;text-align:left;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;background:0 0;border:0;border-radius:12px;width:100%;padding:0;display:block}.discover-book-open:focus-visible{outline:2px solid var(--dark-text);outline-offset:-2px}.library-cover-wrap{transition:transform .22s;display:block;position:relative}.discover-book-open .shelf-cover{box-shadow:none;border-radius:12px;transform:none}.discover-book-open .shelf-cover-edge{background:0 0;border:2px solid #ffffff1a}.library-saved-star{z-index:2;filter:drop-shadow(0 2px 4px #0008);width:18px;height:17px;position:absolute;bottom:12px;left:12px}.library-saved-star img{display:block}.library-book-title{overflow-wrap:anywhere;margin-top:12px;font:500 16px/20px League Spartan,system-ui,sans-serif;display:block}.library-book-author{color:#dbd5bd99;letter-spacing:.009em;overflow-wrap:anywhere;margin-top:0;font:300 14px/20px League Spartan,system-ui,sans-serif;display:block}.discover-track:focus{outline:none}@media (hover:hover) and (prefers-reduced-motion:no-preference){.discover-book-open:is(:hover,[aria-expanded=true]) .library-cover-wrap{transform:translateY(-4px)}}@media (max-width:850px){.library-discover{padding-top:40px}.discover-row h2{font-size:34px}.discover-track>li{flex-basis:230px}.discover-track{gap:24px}.discover-row{margin-bottom:48px}}@media (max-width:600px){.discover-row h2{font-size:30px}.discover-track>li{flex-basis:200px}.discover-track{gap:20px}.library-book-title{margin-top:12px}}@media (prefers-reduced-motion:reduce){.library-cover-wrap{transition:none}}.library-skeleton-shimmer{background:#242829;border-radius:4px;display:block;position:relative;overflow:hidden}.discover-skeleton .discover-track{overflow:hidden}.discover-skeleton-heading{flex:0 260px;align-items:center;min-width:0;height:36px;display:flex}.discover-skeleton-heading>span{width:100%;height:26px}.discover-skeleton .discover-row-header{align-items:center}.discover-skeleton .discover-row-header>span{opacity:0;align-self:flex-end;margin-bottom:5px}.discover-skeleton-cover{aspect-ratio:3/4;border-radius:12px;width:100%}.discover-skeleton .library-book-title,.discover-skeleton .library-book-author{align-items:center;height:20px;display:flex}.discover-skeleton-title{width:78%;height:13px}.discover-skeleton-author{width:52%;height:10px}.discover-skeleton .discover-row:nth-child(2) .discover-skeleton-heading{flex-basis:200px}@media (max-width:850px){.discover-skeleton-heading{height:34px}}@media (max-width:600px){.discover-skeleton-heading{flex-basis:200px;height:30px}.discover-skeleton-heading>span{height:22px}}.account-settings{border:1px solid var(--dark-border);background:var(--dark-surface);border-radius:16px;max-width:520px;padding:28px}.account-settings h2{margin:0 0 28px;font-size:1.4rem}.account-settings label{margin-top:24px;font-weight:600;display:block}.account-settings p{color:var(--dark-muted);margin:8px 0 12px;line-height:1.5}.account-settings select{border:1px solid var(--dark-border);width:100%;min-height:44px;color:var(--dark-text);background:var(--dark-backdrop);font:inherit;border-radius:8px;padding:10px 12px;display:block}.account-settings p[role=status]{margin-top:24px}@media (max-width:540px){.library-nav{flex-wrap:wrap}.account-settings{padding:20px}}.book-presentation{max-width:1060px;margin:auto;padding:28px 0 80px}.book-detail-back{min-height:44px;color:var(--dark-muted);background:0 0;border:0;align-items:center;margin-bottom:36px;padding:10px 0;font:500 17px/1.3 League Spartan,system-ui,sans-serif;display:inline-flex}.book-detail-back:hover{color:var(--dark-text)}.book-detail-layout{grid-template-columns:minmax(220px,350px) minmax(0,1fr);align-items:start;gap:clamp(36px,6vw,90px);display:grid}.book-detail-cover{padding:0 8px 24px}.book-detail-cover .shelf-cover{box-shadow:0 24px 45px -18px #000b,0 3px 7px #0006}.book-detail-content{min-width:0;padding-top:8px}.book-detail-eyebrow{color:var(--dark-muted);letter-spacing:.12em;text-transform:uppercase;margin:0 0 16px;font-size:13px}.book-detail-content h1{letter-spacing:-.025em;overflow-wrap:anywhere;margin:0;font:500 clamp(36px,4vw,56px)/1.08 League Spartan,system-ui,sans-serif}.book-detail-content h1:focus{outline:none}.book-detail-subtitle{color:var(--dark-muted);overflow-wrap:anywhere;margin:14px 0 0;font-size:20px;line-height:1.4}.book-detail-facts{background:var(--dark-surface);border:1px solid var(--dark-border);border-radius:16px;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:30px 0;padding:24px;display:grid}.book-detail-facts>div:last-child{grid-column:1/-1}.book-detail-facts dt{color:var(--dark-muted);margin-bottom:8px;font-size:14px}.book-detail-facts dd{overflow-wrap:anywhere;margin:0;font-size:19px;line-height:1.35}.book-detail-description h2{margin:0 0 12px;font-size:20px;font-weight:500}.book-detail-description p{color:var(--dark-muted);white-space:pre-line;overflow-wrap:anywhere;margin:0;font-size:18px;line-height:1.65}.book-detail-actions{flex-wrap:wrap;gap:12px;margin-top:32px;display:flex}.book-detail-actions button{border:1px solid var(--dark-border);border-radius:999px;min-height:50px;padding:14px 24px;font:500 17px/1.2 League Spartan,system-ui,sans-serif}.book-detail-read{background:var(--dark-text);color:var(--dark-backdrop)}.book-detail-add{background:var(--dark-surface);color:var(--dark-text)}.book-detail-actions button:disabled{opacity:.65;cursor:default}.shelf-picker-list li.library-result{display:block}.library-result-open{text-align:left;width:100%;color:var(--dark-text);background:0 0;border:0;grid-template-columns:70px minmax(0,1fr) 20px;align-items:center;gap:18px;padding:0;display:grid}.library-result-open strong{overflow-wrap:anywhere;margin-bottom:8px;font-size:19px;font-weight:500;display:block}.library-result-open>span>span:not(.shelf-cover-fallback):not(.shelf-cover-edge){color:var(--dark-muted);overflow-wrap:anywhere;font-size:14px;line-height:1.4}.library-result-open>span:last-child{color:var(--dark-muted);font-size:26px}.library-result-open:focus-visible{outline:2px solid var(--dark-text);outline-offset:6px;border-radius:8px}@media (max-width:700px){.book-detail-layout{grid-template-columns:1fr;gap:24px}.book-detail-cover{width:min(65vw,280px);margin:auto;padding-bottom:0}.book-detail-back{margin-bottom:20px}.book-detail-actions button{flex:auto}}@media (max-width:600px){.library-result-open{grid-template-columns:55px minmax(0,1fr) 16px;gap:12px}}.top-books{border-top:1px solid var(--dark-divider);max-width:1160px;margin:auto;padding:28px 0 60px}.top-books-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:16px;display:flex}.top-books-heading h2{margin:0;font-size:clamp(25px,3vw,34px);font-weight:500}.top-books-heading p,.top-books-intro{color:var(--dark-muted);line-height:1.5}.top-books-intro{max-width:580px;margin-bottom:36px}.top-books-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:36px 26px;padding:0;list-style:none;display:grid}.top-books-grid li{min-width:0;padding-left:24px;position:relative}.top-book-position{z-index:2;text-align:center;background:var(--dark-surface);border:1px solid var(--dark-border);min-width:40px;height:40px;color:var(--dark-text);pointer-events:none;border-radius:50%;padding:9px;font-size:24px;position:absolute;top:12px;left:0;box-shadow:0 4px 12px #0005}.top-books-explanation{border-top:1px solid var(--dark-divider);color:var(--dark-muted);max-width:700px;margin-top:40px;padding:20px 0;line-height:1.5}.top-books-explanation summary{cursor:pointer;min-height:44px;color:var(--dark-text);padding:10px 0}.top-books-empty{text-align:center;background:var(--dark-surface);border:1px solid var(--dark-border);border-radius:18px;padding:50px 20px}.top-books-empty>span{color:var(--dark-muted);font-size:40px}.top-books-empty h3{font-size:25px;font-weight:500}.top-books-empty p{color:var(--dark-muted);line-height:1.5}@media (max-width:900px){.top-books-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:600px){.top-books-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px}.top-books-grid li{padding-left:16px}.top-book-position{min-width:32px;height:32px;padding:5px;font-size:22px}}.library-account-wrap{flex:0 0 44px;position:relative}.family-account-menu{z-index:60;color:#dbd5bd;background:#28292a;border:1px solid #45484a;border-radius:16px;width:min(300px,100vw - 32px);animation:.16s ease-out family-menu-in;position:absolute;top:calc(100% + 12px);right:0;overflow:hidden;box-shadow:0 20px 40px #00000040}.family-account-shelves{overscroll-behavior:contain;max-height:min(414px,100dvh - 300px);overflow-y:auto}.family-account-row{width:100%;min-height:69px;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-bottom:1px solid #393c3d;align-items:center;gap:12px;padding:12px 16px;font-family:inherit;font-size:18px;font-weight:600;line-height:1.2;text-decoration:none;display:flex}.family-account-row>span:last-child{overflow-wrap:anywhere;min-width:0}.family-account-label,.family-account-details{transform:translateY(.1em)}.family-account-label{display:block}.family-account-row:hover,.family-account-row:focus-visible{background:#ffffff07}.family-account-row:focus-visible{outline-offset:-4px;outline:2px solid #dbd5bd}.family-account-row[aria-checked=true]{color:#ffb700}.family-account-row[aria-disabled=true]{opacity:.55;cursor:wait}.family-account-avatar{border-radius:50%;flex:0 0 44px;width:44px;height:44px;position:relative}.family-account-avatar img{object-fit:cover;border:1px solid #ffffff40;border-radius:50%}.family-account-row[aria-checked=true] .family-account-avatar:after{content:"";border:2px solid #ffb700;border-radius:50%;position:absolute;inset:-3px}.family-account-link{border-bottom:0;min-height:68px}.family-account-link>img{flex:0 0 44px}.family-account-details{flex-direction:column;gap:1px;display:flex}.family-account-details small{color:#878582;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:400;line-height:16px;overflow:hidden}.family-account-add-icon{background:#343637;border-radius:50%;flex:0 0 44px;width:44px;height:44px;position:relative}.family-account-add-icon:before,.family-account-add-icon:after{content:"";background:#dbd5bd;border-radius:10px;position:absolute}.family-account-add-icon:before{width:4px;height:20px;top:12px;left:20px}.family-account-add-icon:after{width:20px;height:4px;top:20px;left:12px}.create-bookshelf-dialog{color:#dbd5bd;--dark-text:#dbd5bd;--dark-backdrop:#101213;--dark-border:#45484a;background:#28292a;border:1px solid #45484a;border-radius:16px;width:min(440px,100vw - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:28px;font:400 18px/1.4 League Spartan,system-ui,sans-serif;overflow-y:auto;box-shadow:0 20px 40px #00000040}.create-bookshelf-dialog::backdrop{background:#0009}.create-bookshelf-dialog h2{margin:0 0 12px;font:600 28px/1.15 League Spartan,system-ui,sans-serif}.create-bookshelf-dialog>p{color:#bab8ab;margin:0 0 24px}.create-bookshelf-dialog [role=alert]{color:#f4b6a8}.create-bookshelf-actions{flex-wrap:wrap;justify-content:flex-end;gap:12px;display:flex}.create-bookshelf-actions button{color:#dbd5bd;cursor:pointer;background:0 0;border:1px solid #45484a;border-radius:10px;min-height:44px;padding:10px 16px;font:600 18px/1.2 League Spartan,system-ui,sans-serif}.create-bookshelf-actions button[type=submit]{color:#101213;background:#dbd5bd;border-color:#dbd5bd}.create-bookshelf-dialog button:disabled{opacity:.45;cursor:not-allowed}.create-bookshelf-dialog :focus-visible{outline-offset:3px;outline:2px solid #ffb700}@keyframes family-menu-in{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}@media (max-width:950px){.library-account-wrap{grid-area:1/3}}@media (prefers-reduced-motion:reduce){.family-account-menu{animation:none}}.family-bookshelves ul{margin:24px 0;padding:0;list-style:none}.family-bookshelves li{border-bottom:1px solid var(--dark-divider);flex-wrap:wrap;align-items:center;gap:12px;padding:18px 0;display:flex}.family-bookshelves li>img{border-radius:50%;flex:0 0 44px}.family-shelf-name{overflow-wrap:anywhere;flex:1;min-width:80px}.family-shelf-name small{color:var(--dark-muted);margin-top:5px;display:block}.family-shelf-actions{gap:12px;display:flex}.family-shelf-actions button{min-height:44px;color:var(--dark-text);text-underline-offset:4px;background:0 0;border:0;padding:4px;text-decoration:underline}.family-bookshelves button:disabled{opacity:.4;cursor:not-allowed}.family-shelf-confirm{border:1px solid var(--dark-border);border-radius:12px;flex-basis:100%;padding:16px}.family-shelf-editor>input{width:100%;min-height:44px;color:var(--dark-text);background:var(--dark-backdrop);border:1px solid var(--dark-border);font:inherit;border-radius:8px;margin-top:8px;padding:10px 12px;display:block}.family-shelf-editor fieldset{border:0;gap:16px;margin:24px 0;padding:0;display:flex}.family-shelf-editor legend{margin-bottom:12px;font-weight:600}.family-shelf-editor .family-avatar-option{cursor:pointer;border:2px solid #0000;border-radius:12px;align-items:center;gap:8px;margin:0;padding:6px;display:flex}.family-avatar-option:has(:checked){border-color:#ffb700}.family-avatar-option img{border-radius:50%}.family-shelf-editor .avatar-picker{overscroll-behavior:contain;flex-wrap:wrap;max-height:280px;overflow-y:auto}.avatar-picker .family-avatar-option{margin:4px}.avatar-picker .family-avatar-option img{object-fit:cover}.avatar-picker p{flex-basis:100%}@media (max-width:800px){.shelf-collection{padding-top:72px}.shelf-plank{--plank-top-height:18px;--plank-height:34px}}@media (prefers-reduced-motion:no-preference){.shelf-grid .shelf-book-open:focus-visible .shelf-cover{transform:translateY(-12px);box-shadow:0 12px 18px -12px #0005}.shelf-grid .shelf-book-open:focus-visible .shelf-book-shadow{opacity:.55;filter:blur(2px);transform:scale(1.06,1.7)}}@media (prefers-reduced-motion:reduce){.shelf-grid .shelf-cover,.shelf-book-shadow{transition:none}}.shelf-shell:not([hidden]){flex-direction:column;display:flex}.library-footer{min-height:160px;margin:auto calc(-1 * var(--library-gutter)) 0;color:#686764;background:#101213;flex-direction:column;flex-shrink:0;align-items:center;gap:24px;padding:42px 16px 38px;display:flex}.library-footer img{flex-shrink:0;display:block}.library-footer p{text-align:center;margin:0;font:500 19px/16px League Spartan,system-ui,sans-serif}@media (min-width:1200px){.shelf-book:nth-child(12n+5){--shelf-wood:var(--shelf-wood-2)}.shelf-book:nth-child(12n+9){--shelf-wood:var(--shelf-wood-3)}}@media (min-width:801px) and (max-width:1199px){.shelf-book:nth-child(9n+4){--shelf-wood:var(--shelf-wood-2)}.shelf-book:nth-child(9n+7){--shelf-wood:var(--shelf-wood-3)}}@media (min-width:351px) and (max-width:800px){.shelf-book:nth-child(6n+3){--shelf-wood:var(--shelf-wood-2)}.shelf-book:nth-child(6n+5){--shelf-wood:var(--shelf-wood-3)}}@media (max-width:350px){.shelf-book:nth-child(3n+2){--shelf-wood:var(--shelf-wood-2)}.shelf-book:nth-child(3n+3){--shelf-wood:var(--shelf-wood-3)}}.shelf-grid .shelf-book-open{z-index:2;touch-action:pan-y;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;transition:transform .22s cubic-bezier(.2,.7,.2,1);position:relative}.shelf-grid .shelf-book-open img{-webkit-user-drag:none;pointer-events:none}.shelf-grid .shelf-book-open{cursor:pointer}body.shelf-drag-active,body.shelf-drag-active *{cursor:grabbing!important}.shelf-grid[data-dragging] .shelf-book-open{cursor:grabbing}.shelf-grid[data-dragging] .shelf-cover{transform:none!important}.shelf-grid[aria-busy=true] .shelf-book-open{transition:none}.shelf-grid .shelf-book[data-held] .shelf-book-open{z-index:10;transition:none}.shelf-grid .shelf-book[data-held] .shelf-cover{box-shadow:0 22px 28px -10px #0009}.shelf-grid .shelf-book[data-held] .shelf-book-shadow{opacity:0}.shelf-book[data-drop-slot]:after{content:"";z-index:1;pointer-events:none;background:#dbd5bd0a;border:2px dashed #dbd5bd80;border-radius:12px;position:absolute;inset:0}.shelf-menu-divider{border-top:1px solid var(--dark-divider);margin:6px 0}@media (prefers-reduced-motion:reduce){.shelf-grid .shelf-book-open{transition:none}}.featured-intro{margin:0 var(--library-gutter) 32px;max-width:780px}.featured-eyebrow{color:#ffcb60;letter-spacing:.15em;text-transform:uppercase;margin:0 0 18px;font-size:13px;font-weight:600}.featured-intro h2{letter-spacing:-.025em;margin:0 0 16px;font:400 clamp(38px,4.5vw,60px)/1.08 Dreambits Baskerville,Georgia,serif}.featured-intro>p:last-child{color:#b7b6aa;margin:0;font-size:20px;line-height:1.5}.featured-spotlight{isolation:isolate;margin:0 var(--library-gutter);background:#203b37;border:1px solid #ffffff12;border-radius:24px;grid-template-columns:1.1fr 1fr;display:grid;position:relative;overflow:hidden}.featured-spotlight-copy{align-self:center;min-width:0;padding:clamp(28px,4vw,64px)}.featured-spotlight-copy .featured-eyebrow{align-items:center;gap:10px;display:flex}.featured-spotlight-copy .featured-eyebrow span{font-size:24px}.featured-spotlight-copy h2{color:#f0e9d1;overflow-wrap:anywhere;max-width:17ch;margin:0;font:400 clamp(32px,3.7vw,54px)/1.1 Dreambits Baskerville,Georgia,serif}.featured-author{color:#c6cbbb;margin:16px 0 0;font-size:18px}.featured-description{color:#d2d7c9;-webkit-line-clamp:4;-webkit-box-orient:vertical;max-width:48ch;margin:24px 0;font-size:19px;line-height:1.55;display:-webkit-box;overflow:hidden}.featured-facts{flex-wrap:wrap;gap:8px;margin:0 0 28px;padding:0;list-style:none;display:flex}.featured-facts:empty{display:none}.featured-facts li{border:1px solid #d2d7c930;border-radius:999px;padding:7px 12px 5px;font-size:15px;line-height:1.2}.featured-primary{color:#172b27;cursor:pointer;background:#ecd99e;border:0;border-radius:100px;justify-content:space-between;align-items:center;gap:32px;min-height:50px;padding:14px 24px 12px;font:600 18px/1.2 League Spartan,sans-serif;transition:background .18s;display:inline-flex}.featured-primary:hover{background:#f8e9bb}.featured-primary:disabled{opacity:.5;cursor:wait}.featured-primary:focus-visible{outline-offset:5px;outline:2px solid #ffcb60}.featured-spotlight-art{background:#284b43;place-items:center;min-width:0;padding:48px 48px 42px;display:grid;position:relative}.featured-spotlight-art .discover-book-open{z-index:1;cursor:pointer;width:min(100%,272px);position:relative}.featured-spotlight-art .library-cover-wrap{filter:drop-shadow(0 22px 24px #081c1a66)}.featured-spotlight-art .library-book-title,.featured-spotlight-art .library-book-author{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.featured-orbit{aspect-ratio:1;border:1px solid #c6d5b833;border-radius:50%;width:78%;position:absolute}.featured-orbit:after{content:"";border-radius:inherit;border:1px solid #c6d5b81a;position:absolute;inset:24px}.featured-spark{color:#ecd99e;font-family:Georgia,serif;position:absolute}.featured-spark-one{font-size:48px;top:12%;left:9%}.featured-spark-two{font-size:38px;bottom:12%;right:9%}@media (max-width:850px){.featured-spotlight{grid-template-columns:1.2fr 1fr}.featured-spotlight-art{padding:32px 24px}.featured-spotlight-copy{padding:32px}.featured-spark-one{left:4%}.featured-spark-two{right:4%}}@media (max-width:600px){.featured-intro{margin-bottom:24px}.featured-intro>p:last-child{font-size:18px}.featured-spotlight{border-radius:18px;grid-template-columns:1fr}.featured-spotlight-art{grid-row:1;padding:28px}.featured-spotlight-art .discover-book-open{width:165px}.featured-orbit{width:240px}.featured-spotlight-copy{padding:28px 24px}.featured-description{font-size:18px}}@media (prefers-reduced-motion:reduce){.featured-primary{transition:none}}.featured-row-controls{margin-right:var(--library-gutter);align-self:center;gap:8px;display:flex}.featured-row-controls button{border:1px solid var(--dark-divider);background:var(--dark-surface);width:44px;height:44px;color:var(--dark-text);cursor:pointer;border-radius:50%;font-size:22px}.featured-row-controls button:hover{background:#2a302e}.featured-row-controls button:focus-visible{outline-offset:3px;outline:2px solid #ffcb60}@media (max-width:600px){.featured-row-controls{display:none}}.featured-spotlights{gap:32px;padding-bottom:64px;display:grid}@media (max-width:600px){.featured-spotlights{gap:24px;padding-bottom:40px}}.book-info-overlay{width:100%;max-width:none;height:100dvh;max-height:none;padding:max(88px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(48px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));box-sizing:border-box;overscroll-behavior:contain;color:var(--dark-text);background:#101213b8;border:0;margin:0;font-family:League Spartan,system-ui,sans-serif;animation:.28s ease-out both book-info-fade-in;position:fixed;inset:0;overflow-y:auto}.book-info-overlay::backdrop{-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);background:#0a0e0f38;animation:.28s ease-out both book-info-fade-in}.book-info-overlay .book-presentation{padding:24px 0 48px;animation:.38s cubic-bezier(.16,1,.3,1) both book-info-rise}.book-info-overlay .book-detail-layout{align-items:center}.book-info-overlay .book-detail-cover{padding-bottom:0}.book-info-overlay .book-detail-facts{background:#181a1bbf}.book-info-close{top:max(16px, env(safe-area-inset-top));right:max(16px, env(safe-area-inset-right));z-index:2;width:48px;height:48px;color:var(--dark-text);cursor:pointer;background:#202425;border:1px solid #ffffff26;border-radius:50%;place-items:center;padding:0;transition:background .18s,transform .18s;display:grid;position:fixed}.book-info-close:hover{background:#343a3b;transform:scale(1.05)}.book-info-close:focus-visible{outline-offset:4px;outline:2px solid #ffb700}.book-info-overlay[data-closing]{pointer-events:none;animation:.22s ease-in both book-info-fade-out}.book-info-overlay[data-closing]::backdrop{animation:.22s ease-in both book-info-fade-out}.book-info-overlay[data-closing] .book-presentation{animation:.22s ease-in both book-info-lower}@keyframes book-info-fade-in{0%{opacity:0}to{opacity:1}}@keyframes book-info-fade-out{0%{opacity:1}to{opacity:0}}@keyframes book-info-rise{0%{opacity:0;transform:translateY(20px)scale(.985)}to{opacity:1;transform:none}}@keyframes book-info-lower{0%{opacity:1;transform:none}to{opacity:0;transform:translateY(10px)}}@media (max-width:650px){.book-info-overlay{padding-top:80px}.book-info-overlay .book-presentation{padding-top:0}.book-info-overlay .book-detail-cover{width:min(55vw,240px)}}@media (prefers-reduced-motion:reduce){.book-info-overlay,.book-info-overlay::backdrop,.book-info-overlay .book-presentation,.book-info-overlay[data-closing],.book-info-overlay[data-closing]::backdrop,.book-info-overlay[data-closing] .book-presentation{animation:none}.book-info-close{transition:none}}
