@font-face{font-family:DM Sans Variable;font-style:normal;font-display:swap;font-weight:100 1000;src:url(/assets/dm-sans-latin-ext-wght-normal-BOFOeGcA.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:DM Sans Variable;font-style:normal;font-display:swap;font-weight:100 1000;src:url(/assets/dm-sans-latin-wght-normal-Xz1IZZA0.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Instrument Serif;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/instrument-serif-latin-400-normal-DnYpCC2O.woff2)format("woff2"),url(/assets/instrument-serif-latin-400-normal-BVbkICAY.woff)format("woff")}@font-face{font-family:Instrument Serif;font-style:italic;font-display:swap;font-weight:400;src:url(/assets/instrument-serif-latin-400-italic-DKMiL14s.woff2)format("woff2"),url(/assets/instrument-serif-latin-400-italic-u__WvvIK.woff)format("woff")}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#151513;--panel:#1c1c19;--line:#34342f;--muted:#a3a198;--cream:#f1ede2;--accent:#e2ba80;--display:"Instrument Serif", Georgia, serif;color:var(--cream);background:var(--bg);font-synthesis:none;font-family:DM Sans Variable,system-ui,sans-serif}*{box-sizing:border-box}body{min-width:280px;margin:0}button,input,select{font:inherit}button,a,select{touch-action:manipulation}button{color:inherit;cursor:pointer;background:0 0;border:0}button:disabled{opacity:.38;cursor:default}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,.drop:focus-within{outline:2px solid var(--accent);outline-offset:4px}button{transition:background .18s,color .18s,transform .18s}button:active:not(:disabled){transform:translateY(1px)}[hidden]{display:none!important}svg{flex:none}.top{border-bottom:1px solid var(--line);background:#181816}.top-inner,main{max-width:1540px;margin:auto;padding-inline:clamp(20px,5.1vw,84px)}.top-inner{align-items:center;gap:clamp(26px,5vw,78px);height:74px;display:flex}.brand{font:34px/.95 var(--display);letter-spacing:-1px;align-items:center;gap:10px;text-decoration:none;display:flex}.brand svg{width:31px;height:31px;color:var(--accent);stroke-width:1.8px}nav{gap:25px;height:100%;display:flex}nav button{color:var(--muted);border-bottom:2px solid #0000;align-items:center;gap:9px;padding:3px 1px 0;font-size:.88rem;font-weight:550;display:flex}nav button:hover,nav .active{color:var(--cream)}nav .active{border-color:var(--accent)}nav .active svg{color:var(--accent)}.upload,.primary,.read{border-radius:6px;justify-content:center;align-items:center;gap:9px;font-size:.88rem;font-weight:650;display:inline-flex}.upload,.primary{background:var(--accent);color:#241e15}.upload{margin-left:auto;padding:11px 16px}.upload:hover,.primary:hover{background:#f0cd9b}main{padding-top:32px;padding-bottom:75px}.hero{isolation:isolate;background:#20211e;border:1px solid #454337;border-radius:11px;align-items:center;min-height:325px;display:flex;position:relative;overflow:hidden}.hero-art,.hero:after{content:"";z-index:-1;position:absolute;inset:0}.hero-art{background-image:url(/art/leviathan.jpg);background-position:50% 47%;background-size:cover;transition:opacity .3s}.hero-art.painting{background-position:right 40%;background-repeat:no-repeat;background-size:67%}.hero:after{background:linear-gradient(90deg,#1e201c 0%,#1e201cf2 16%,#1e201ca3 37%,#1e201c00 62%),linear-gradient(#0000 76%,#10110f66)}.hero-copy{max-width:62%;padding:35px clamp(24px,3.4vw,50px)}.eyebrow{color:var(--accent);letter-spacing:.18em;text-transform:uppercase;align-items:center;gap:10px;font-size:.69rem;font-weight:700;display:flex}.tiny-rule{background:var(--accent);width:23px;height:1px}h1,h2,h3,p{margin:0}.hero h1{font:clamp(3.4rem, 5vw, 5.5rem)/.99 var(--display);letter-spacing:-.035em;text-wrap:balance;margin:17px 0 8px}.hero #feature-author{color:#d2cec1;font-size:1rem}.hero #feature-quote{font:italic 1.22rem/1.3 var(--display);color:#b8b7aa;margin:15px 0 22px}.read{color:#24231e;background:#eee8d9;padding:10px 16px}.read:hover{background:#fff}.read svg{width:16px}.hero-controls{color:#e5e0d3;align-items:center;gap:9px;display:flex;position:absolute;bottom:20px;right:23px}.hero-controls button{background:#15161388;border:1px solid #c4c3b358;border-radius:50%;place-items:center;width:30px;height:30px;display:grid}.hero-controls button:hover{background:#454439}.hero-controls span{letter-spacing:.09em;font-variant-numeric:tabular-nums;text-shadow:0 1px 4px #000;font-size:.68rem}.collection{margin-top:36px}.section-head,.title-group,.tools,.find,.filters,.views,.search,.sort{align-items:center;display:flex}.section-head,.tools{justify-content:space-between;gap:15px}.title-group{gap:13px}.title-group h2,dialog h2{font:2.55rem/1.1 var(--display);letter-spacing:-.03em}.title-group>span{color:#b9b6a9;background:#262620;border:1px solid #39392f;border-radius:20px;padding:3px 9px;font-size:.76rem}.views{border:1px solid var(--line);background:#1b1b18;border-radius:7px;padding:3px}.views button{width:32px;height:26px;color:var(--muted);border-radius:4px;place-items:center;display:grid}.views button[aria-pressed=true]{color:var(--cream);background:#36362f}.views svg{width:15px;height:15px}.tools{margin:19px 0 23px}.filters{gap:6px}.filters button{color:var(--muted);border:1px solid #0000;border-radius:20px;padding:7px 14px;font-size:.78rem;font-weight:550}.filters button.selected{color:var(--accent);background:#332e25;border-color:#544736}.filters button:hover,.subtle:hover{color:var(--cream)}.find{gap:12px}.search,.sort{border:1px solid var(--line);height:34px;color:var(--muted);background:#1b1b18;border-radius:5px;gap:8px;padding-inline:10px}.search svg,.sort svg{width:15px;height:15px}.search input,.sort select{color:var(--cream);background:0 0;border:0;outline:none;min-width:0;font-size:.76rem}.search input{width:120px}.search input::placeholder{color:var(--muted)}.sort{position:relative}.sort select{cursor:pointer;appearance:none;padding-right:16px}.sort svg:last-child{pointer-events:none;width:12px;position:absolute;right:8px}.search:focus-within,.sort:focus-within{border-color:var(--accent)}.shelf{grid-template-columns:repeat(6,minmax(0,1fr));gap:28px 24px;display:grid}.card{min-width:0;position:relative}.book{text-align:left;width:100%;padding:0;display:block}.cover{aspect-ratio:.695;isolation:isolate;color:#f6edd8;background:#38413a;border-radius:3px 5px 5px 3px;transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s;display:block;position:relative;overflow:hidden;box-shadow:0 5px 12px #0004,inset 0 0 0 1px #ffffff20}.book:hover .cover{transform:translateY(-4px)rotate(-.4deg);box-shadow:0 9px 18px #0007}.cover img,.cover-tint,.cover-frame,.cover:after{width:100%;height:100%;position:absolute;inset:0}.cover img{object-fit:cover;z-index:-2}.cover-tint{z-index:-1;background:linear-gradient(#1e281fc2,#1110 65%,#0a120d60)}.cover:after{content:"";pointer-events:none;border-radius:inherit;background:linear-gradient(90deg,#0005,#fff1 2%,#0005 3%,#0000 5% 97%,#0003);box-shadow:inset 0 0 0 1px #f4ead22e}.cover-frame{pointer-events:none;border:1px solid #f6e9c365;width:90%;height:90%;inset:5%}.cover-type{text-align:center;text-shadow:0 1px 5px #0009;flex-direction:column;align-items:center;gap:11px;padding:15% 10% 0;display:flex}.cover-type small{text-transform:uppercase;letter-spacing:.15em;font-size:clamp(.52rem,.62vw,.71rem);font-weight:650;line-height:1.4}.cover-type strong{font:clamp(1.6rem, 2.35vw, 2.8rem)/.95 var(--display);text-wrap:balance;letter-spacing:-.01em}.cover.moby .cover-type strong,.cover.gatsby .cover-type strong{text-transform:uppercase}.cover.moby img{filter:saturate(.6)}.cover.frankenstein .cover-type,.cover.dorian .cover-type{padding-bottom:14%;position:absolute;inset:auto 0 0}.cover.frankenstein .cover-tint,.cover.dorian .cover-tint{background:linear-gradient(#20140833 35%,#170e08e8 98%)}.cover.pride .cover-tint{background:linear-gradient(#362a1ce6,#0000 65%)}.cover.personal{background:repeating-linear-gradient(60deg,#79796219 0 1px,#0000 1px 8px),#353f39}.mark{color:#f6efda;opacity:0;background:#191a15d9;border-radius:50%;place-items:center;width:26px;height:26px;display:grid;position:absolute;bottom:calc(100% - 34px);right:8px}.card:hover .mark,.mark:focus-visible,.mark.marked{opacity:1}.mark svg{width:14px;height:14px}.mark.marked svg{fill:var(--accent);stroke:var(--accent)}.details{flex-direction:column;align-items:flex-start;gap:4px;padding-top:12px;display:flex}.details strong{font:1.47rem/1.12 var(--display);letter-spacing:-.01em}.details>span{color:var(--muted);font-size:.78rem}.details small{color:#aaa99d;letter-spacing:.09em;border:1px solid #41413a;border-radius:3px;align-items:center;margin-top:5px;padding:2px 5px;font-size:.61rem;font-weight:650;display:inline-flex}.details em{letter-spacing:0;font-style:normal}.shelf.list{flex-direction:column;gap:0;display:flex}.list .card{border-bottom:1px solid var(--line);padding:10px 0}.list .book{align-items:center;gap:20px;display:flex}.list .cover{flex:none;width:54px}.list .cover-type{display:none}.list .details{padding:0}.list .mark{opacity:1;top:32%;right:0}.empty{text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:8px;grid-column:1/-1;padding:45px 20px}.empty h3{font:2rem var(--display);margin:7px}.empty p{font-size:.9rem}dialog{width:min(430px,100vw - 32px);color:var(--cream);background:#20211c;border:1px solid #45453b;border-radius:12px;padding:30px;box-shadow:0 30px 100px #0008}dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#080907b8}dialog[open]{animation:.24s ease-out rise}.dialog-icon{color:var(--accent);margin-bottom:14px}.dialog-icon svg{width:25px;height:25px}.close{padding:8px;position:absolute;top:12px;right:12px}.close:hover,.reader-bar button:hover,.reader-foot button:hover{background:#36362f;border-radius:4px}dialog h2{font-size:2.2rem}dialog p,dialog label{font-size:.9rem;line-height:1.5}dialog p{color:var(--muted);margin:10px 0 20px}form label{gap:8px;display:grid}form input{border:1px solid var(--line);background:#161713;border-radius:4px;padding:10px}form .primary{margin-top:14px;padding:10px 15px}.drop{text-align:center;cursor:pointer;border:1px dashed #78715c;border-radius:6px;justify-items:center;gap:9px;padding:26px 12px;display:grid;position:relative}.drop svg{color:var(--accent)}.drop.over{background:#353425}.drop input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.drop small,.subtle{color:var(--muted)}.subtle{margin-top:16px;padding:4px 0;font-size:.75rem;text-decoration:underline}#upload-status{white-space:pre-wrap;max-height:160px;color:var(--accent);overflow-wrap:anywhere;font-size:.85rem;overflow:auto}#upload-status:not(:empty){margin-top:12px}#toast{z-index:9;opacity:0;pointer-events:none;color:#28271e;background:#e9e2d0;border-radius:7px;width:max-content;max-width:90vw;padding:10px 18px;font-size:.87rem;transition:all .2s;position:fixed;bottom:24px;left:50%;transform:translate(-50%,15px)}#toast.shown{opacity:1;transform:translate(-50%)}@keyframes rise{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.reading{overflow:hidden}#reader{z-index:5;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);background:#191a17;grid-template-rows:auto minmax(0,1fr) auto;display:grid;position:fixed;inset:0}.reader-bar,.reader-foot{background:var(--bg);align-items:center;gap:10px;padding:12px max(18px,4vw);display:flex}.reader-bar{border-bottom:1px solid var(--line)}.reader-bar button,.reader-foot button{justify-content:center;align-items:center;gap:6px;min-width:38px;min-height:38px;display:inline-flex}.reading-title{flex-direction:column;flex:1;min-width:0;display:flex}.reading-title strong{font:1.4rem var(--display);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.reading-title small{color:var(--muted);font-size:.75rem}#flow,#chapters{font-size:.8rem}#chapters{max-width:22vw;color:var(--cream);background:var(--panel);border:1px solid var(--line);border-radius:5px;padding:8px}.reading-body{justify-content:center;min-height:0;padding:clamp(12px,3.5vh,40px) clamp(20px,5vw,70px);display:flex}#viewport{scrollbar-width:thin;overscroll-behavior:contain;width:min(100%,780px);height:100%;position:relative}#viewport:focus{outline:none}#viewport.epub.pages{touch-action:pan-y;overflow:hidden}#viewport.scroll,.pdf.pages{overflow:auto}.epub #paper{font:var(--font)/1.65 Georgia, serif;color:#dddcd2;overflow-wrap:break-word}.epub.pages #paper{column-width:var(--column);column-fill:auto;column-gap:0;height:100%}.epub #paper :is(p,h1,h2,h3,h4,blockquote,ol,ul,figure){margin:0 0 .9em}.epub #paper h1,.epub #paper h2,.epub #paper h3{font-family:var(--display);break-after:avoid;font-weight:400;line-height:1.12}.epub #paper h2{font-size:1.95em}.epub #paper img{object-fit:contain;max-width:100%;max-height:70dvh;margin:auto;display:block}.epub #paper a{color:var(--accent)}.epub #paper table{max-width:100%;font-size:.85em}.epub #paper pre{white-space:pre-wrap}.pdf #paper{min-height:100%}.pdf-slot,.pdf-single{text-align:center;margin:0 auto 12px}.pdf canvas{filter:invert(.93)hue-rotate(180deg);max-width:none;margin:auto;display:block}.reader-foot{border-top:1px solid var(--line);justify-content:center}.reader-foot span{color:var(--muted);text-align:center;min-width:150px;font-size:.82rem}.reader-foot button{border:1px solid var(--line);border-radius:50%}@media (width>=1600px){.hero{min-height:365px}}@media (width<=1099px){.shelf{grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 20px}.cover-type strong{font-size:2.3rem}.cover-type small{font-size:.61rem}.hero{min-height:300px}}@media (width<=760px){.top-inner{gap:24px;height:64px}.brand{font-size:29px}.brand svg{width:25px}.shelf{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 16px}.hero-copy{max-width:70%}.hero{min-height:275px}.hero h1{font-size:3.7rem}.hero-art{background-position:58%}.hero:after{background:linear-gradient(90deg,#20211df5,#20211dbf 28%,#0000 80%)}.tools{flex-wrap:wrap;align-items:flex-start}.search input{width:102px}.find{gap:7px}.mark{opacity:1}.cover-type strong{font-size:clamp(1.55rem,4.7vw,2.2rem)}nav{gap:15px}.reader-bar{gap:3px}.reader-bar button{min-width:34px}.reader-foot{padding-block:6px}}@media (width<=590px){.top-inner{flex-wrap:wrap;gap:5px 14px;height:auto;padding-top:13px}.brand{order:0}.upload{order:1;padding:9px 13px}.top nav{order:2;gap:22px;width:100%;height:40px}.top nav button{font-size:.79rem}main{padding-top:20px}.hero{min-height:295px}.hero-copy{max-width:90%;padding:24px 19px}.hero-art{opacity:.78;background-position:80%;background-size:auto 100%}.hero-art.painting{background-size:cover}.hero:after{background:linear-gradient(90deg,#1d201cfa 0%,#1d201ca8 40%,#1d201c26 85%)}.hero h1{font-size:3.55rem}.hero #feature-author{font-size:.91rem}.hero #feature-quote{margin:13px 0 20px}.hero-controls{gap:6px;bottom:14px;right:12px}.hero-controls button{width:27px;height:27px}.collection{margin-top:26px}.title-group{gap:9px}.title-group h2{font-size:2.1rem}.tools{gap:10px;margin:14px 0 17px}.find{width:100%}.search{flex:1}.search input{width:100%}.shelf{grid-template-columns:repeat(2,minmax(0,1fr));gap:23px 15px}.details strong{font-size:1.36rem}.cover-type strong{font-size:clamp(1.6rem,7.6vw,2.65rem)}.cover-type small{font-size:.59rem}.reader-bar{flex-wrap:wrap;padding:6px 8px}.reading-title{min-width:30%}.reader-bar #chapters{width:100%;max-width:100%;padding:5px}.reading-body{padding:16px 20px}.reader-bar #flow span{display:none}.title-group>span{font-size:.69rem}.hero-controls span{font-size:.6rem}.reader-foot{gap:5px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}
