@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=DM+Sans:wght@400;450;500;600;700&display=swap');
:root{--bg:#090b0f;--panel:#13151d;--text:#f0eef3;--muted:#a19daa;--line:#262932;--cyan:#6cd7f5;--violet:#b28ce9;--gold:#b8dff0;--serif:'Cormorant Garamond',Georgia,serif}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px 'DM Sans',sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0;background:none;color:inherit}a{color:inherit}button:focus-visible,a:focus-visible{outline:2px solid var(--cyan);outline-offset:4px}button:disabled{opacity:.5;cursor:wait}button,a{-webkit-tap-highlight-color:transparent}[hidden]{display:none!important}svg{width:22px;height:22px;flex-shrink:0;vertical-align:middle}.skip-link{position:fixed;top:-70px;left:20px;padding:12px;background:var(--cyan);color:#10121b;z-index:100}.skip-link:focus{top:10px}
header{position:fixed;inset:0 0 auto;height:63px;border-bottom:1px solid var(--line);background:linear-gradient(90deg,#08090bf5,#10131bec,#080a0ff5);backdrop-filter:blur(20px);display:flex;align-items:center;gap:25px;padding:0 27px;z-index:20}.brand{font:36px/1 var(--serif);text-decoration:none;display:inline-flex;align-items:center;white-space:nowrap;letter-spacing:-1px}.brand-badge{margin-left:10px;border:1px solid #353844;border-radius:18px;display:inline-flex;align-items:center;padding:4px 8px 4px 5px;gap:5px;letter-spacing:1px;box-shadow:0 0 12px #4bc7ef0c}.book-glow{font:15px sans-serif;filter:drop-shadow(0 0 5px #5bcde6)}.brand small{font:10px 'DM Sans';letter-spacing:1px;color:#e0e0ea}.search{position:absolute;left:50%;transform:translateX(-50%);width:min(580px,43vw);height:41px;border:1px solid #363944;border-radius:25px;background:linear-gradient(120deg,#17191e,#11131a);display:flex;gap:12px;align-items:center;padding:5px 5px 5px 17px;box-shadow:inset 0 1px 0 #ffffff03}.search>span{display:inline-flex;color:#bec7d6}.search>span svg{width:18px;height:18px}.search input{background:none;border:0;outline:0;color:#f0eff5;width:100%;min-width:0;font-size:13px}.search input::placeholder{color:#999fab}.search .search-seal{border:1px solid #655279;background:#2a1d3c;box-shadow:0 0 0 4px #251b352e;border-radius:50%;width:31px;min-width:31px;height:31px;align-items:center;justify-content:center;color:#d6c8ee}.signin-button{margin-left:auto;font-size:13px;color:#dddce3;padding:10px 0}.signup-button{height:40px;min-width:132px;border:1px solid #64daf8;border-radius:25px;display:flex;align-items:center;justify-content:center;gap:12px;font-size:13px;color:#cff6ff;background:linear-gradient(#10202be0,#09111ae0);box-shadow:0 0 20px #4ed1ff33,inset 0 0 12px #2eaacc1c}.signup-button svg{height:19px;width:19px}.signup-button:hover{background:#163346}
aside{position:fixed;left:0;top:63px;bottom:86px;width:218px;border-right:1px solid var(--line);background:linear-gradient(110deg,#090b0e,#07090d);display:flex;flex-direction:column;padding:25px 15px 0;z-index:10}nav{display:grid;gap:4px}nav button{height:43px;padding:9px 16px;display:flex;align-items:center;text-align:left;gap:18px;border-radius:5px;color:#e1e0e8;font-size:13px;border-left:1px solid transparent}nav i{display:inline-flex;align-items:center;justify-content:center;width:21px;height:25px;font-style:normal}nav button.active{background:linear-gradient(100deg,#1b202a,#24202e);border-left-color:var(--cyan);box-shadow:inset 0 0 20px #a28ab90a}nav button:hover{background:#1d1e28}nav button>span{margin-left:auto;font-size:9px;color:#9ba1b0}nav button>span:empty{display:none}.community-label{border-top:1px solid #2e3139;margin:25px 15px 16px;padding-top:28px;font-size:9px;letter-spacing:2.5px;color:#a2a5b3}.sidebar-bottom{margin-top:auto;padding:20px 15px 0}.sidebar-bottom button{font-size:10px;color:#a0a4b3;padding:10px 0}.sidebar-foot{padding:17px;font-size:11px;letter-spacing:.6px;color:#9499a9}
main{position:relative;margin:63px 0 0 218px;padding:30px 45px 115px;min-height:calc(100vh - 63px);isolation:isolate}main::before{content:'';position:absolute;top:0;left:0;right:0;height:540px;background:linear-gradient(90deg,#090b0fe8,#090b0f33 65%),linear-gradient(0deg,var(--bg) 3%,transparent 65%),url('assets/moonlit-castle.png') right top/cover no-repeat;z-index:-1;pointer-events:none}.intro{position:relative;margin:0 0 30px}.eyebrow{font-size:9px;letter-spacing:3.2px;color:#9fa4b9;font-weight:500}h1{font:500 54px/1.04 var(--serif);letter-spacing:-1.6px;margin:10px 0 8px}.intro-description{font:400 23px/1.4 var(--serif);color:#e1dde5;margin:0}.mobile-author{display:none}#home-feature{position:relative}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 14px}.section-heading h2{font:500 31px/1.2 var(--serif);letter-spacing:-.5px;margin:0}.section-heading h2>span{font:9px 'DM Sans';letter-spacing:1px;color:#a39baa;margin-left:20px;display:none}.arrows:empty{display:none}.spotlight{position:relative;height:377px;perspective:1600px;overflow:visible}.ambient{position:absolute;left:0;right:0;top:55%;height:45%;background:radial-gradient(ellipse at 50% 50%,#2f283d4a,transparent 68%);filter:blur(8px);pointer-events:none}.book-stage{position:absolute;left:0;right:0;top:-65px;height:337px;display:flex;justify-content:center;align-items:flex-end;perspective:1500px;transform-style:preserve-3d;overflow:visible}.hero-book{position:absolute;width:211px;height:300px;border:1px solid #5e68738f;border-radius:3px 3px 0 2px;padding:0;box-shadow:0 15px 24px #0009,-5px 1px 12px #0008;transform-origin:bottom center;transition:transform .55s ease,filter .55s ease;flex-shrink:0;z-index:4;background:#141824;isolation:isolate}.hero-book.center{height:337px;width:250px;transform:translateX(0) rotateY(-5deg);z-index:10}.hero-book.left{transform:translateX(-184px) rotateY(17deg) scale(.96);filter:brightness(.9);z-index:8}.hero-book.mid-left{transform:translateX(-330px) rotateY(21deg) scale(.88);filter:brightness(.8);z-index:6}.hero-book.far-left{transform:translateX(-455px) rotateY(25deg) scale(.78);filter:brightness(.6);z-index:4}.hero-book.right{transform:translateX(184px) rotateY(-17deg) scale(.96);filter:brightness(.96);z-index:8}.hero-book.mid-right{transform:translateX(330px) rotateY(-21deg) scale(.88);filter:brightness(.85);z-index:6}.hero-book.far-right{transform:translateX(455px) rotateY(-25deg) scale(.78);filter:brightness(.72);z-index:4}.hero-book::after{content:'';position:absolute;right:-9px;top:3px;bottom:0;width:9px;background:repeating-linear-gradient(90deg,#eeeae2 0 1px,#abaea9 1px 2px,#f9f7ef 2px 3px);transform:skewY(9deg);transform-origin:top left;border-radius:0 2px 1px 0;box-shadow:3px 2px 3px #0006;pointer-events:none;z-index:-1}.hero-book::before{content:'';position:absolute;inset:0;z-index:2;pointer-events:none;box-shadow:inset 3px 0 3px #ffffff22,inset -3px 0 3px #0008}.hero-book:hover{filter:brightness(1.12)}.cover{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:space-between;text-align:center;padding:20px 15px;overflow:visible;background-color:var(--cover-color,#323044);background-image:var(--cover-img,radial-gradient(ellipse at 50% 25%,#73778c77,transparent));background-size:cover;background-position:center;color:#f0e5cd}.cover-art{position:absolute;inset:0;background-image:url('assets/book-covers.png');background-size:600% 200%;background-position:var(--art-x,0%) var(--art-y,0%);border-radius:inherit;pointer-events:none}.cover-author{font-size:8px;letter-spacing:2px;text-transform:uppercase}.cover-mark{font-size:26px;color:#e0c99c99}.cover-title{font:500 30px/1.05 var(--serif);letter-spacing:1px}.cover-subtitle{font-size:6px;letter-spacing:2px;margin-top:12px}.feature-copy{position:absolute;left:0;right:0;bottom:10px;text-align:center;z-index:11}.feature-copy>.eyebrow,.feature-copy>h2,.feature-copy>.byline,.feature-copy>#feature-desc,.feature-meta{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.feature-actions{display:flex;align-items:center;justify-content:center;gap:12px}.primary{border:1px solid #f2f1f6;border-radius:24px;background:#f2f1f6;color:#10131b;font-size:12px;font-weight:600;min-height:41px;padding:11px 23px;display:inline-flex;align-items:center;justify-content:center;gap:10px}.primary:hover{background:#d9f2ff;border-color:#8fdff9}.primary svg{height:17px;width:17px;stroke-width:2}.outline-button{border:1px solid #74818c;border-radius:24px;color:#e2e4eb;padding:11px 22px;font-size:11px;min-height:40px;line-height:1.4}.outline-button:hover{background:#1a2634;border-color:#a9dfee}#feature-price{font-size:13px;color:#e1e0e5;margin-right:5px}.save-feature{height:38px;width:38px;border-radius:50%;border:1px solid #5f6675;color:#d2d8e6;font-size:22px;background:#12171f66}.save-feature[aria-pressed=true]{border-color:var(--cyan);color:var(--cyan)}.sample-note{font-size:10px;letter-spacing:.2px;color:#acb1c0;margin:9px 0 0}.sample-note::before{content:'▱';margin-right:9px;font-size:15px}.spotlight-bottom{display:none}#prev,#next{position:absolute;z-index:12;top:125px;height:48px;width:48px;border:1px solid #8c939d;border-radius:50%;font-size:24px;font-weight:400;background:#1e242cce;box-shadow:0 4px 15px #0005;color:#f0f2f9}#prev{left:0}#next{right:0}#prev:hover,#next:hover{background:#32404e;border-color:var(--cyan)}
.browse{position:relative;margin-top:5px;display:grid;grid-template-columns:auto 1fr auto;column-gap:25px;align-items:center}.browse .section-heading{display:contents}.browse .section-heading h2{grid-column:1;grid-row:1;white-space:nowrap;font-size:30px}.price-filter{grid-column:3;grid-row:1;font-size:0}.price-filter select{min-width:113px;border:1px solid #444a54;background:#11151b;color:#d4d8e3;padding:9px 17px;border-radius:24px;font-size:10px;cursor:pointer;outline-color:var(--cyan)}.filters{grid-column:2;grid-row:1;display:flex;gap:9px;align-items:center;flex-wrap:wrap}.filters button{padding:8px 16px;border:1px solid #434650;border-radius:22px;font-size:10px;color:#c1c7d4;white-space:nowrap;line-height:1.4}.filters button:hover{background:#1c2430}.filters button.selected{background:#2b1946;border-color:#9565e7;color:#e7d5ff;box-shadow:inset 0 0 13px #8350ca24}.filters [data-genre=Literary],.filters [data-genre=Adventure]{display:none}.results-line{grid-column:1/-1;display:flex;justify-content:space-between;min-height:18px;margin:9px 0 4px}.collection-count{font-size:9px;color:#8e93a4;letter-spacing:.2px}#reset-filters{font-size:10px;color:#b7dff2}.book-grid{grid-column:1/-1;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:20px}.book-card{min-width:0;position:relative}.book-card .cover{width:100%;height:auto;aspect-ratio:1.04;border:1px solid #3d4758;border-radius:4px;box-shadow:0 4px 15px #0006;overflow:hidden;transition:transform .2s,box-shadow .2s}.book-card .cover:hover{transform:translateY(-4px);box-shadow:0 9px 24px #0009}.book-badge{position:absolute;left:8px;top:7px;z-index:2;font-size:9px;border:1px solid #d1d6e0;background:#10141dd9;padding:4px 9px;border-radius:17px;line-height:1;color:#f1f2f8;box-shadow:0 0 7px #0008}.book-badge.free{border-color:#6ad8f3;color:#ddfaff;background:#153341c9;box-shadow:0 0 10px #5fd4ec25}.book-card h3{font-size:12px;font-weight:400;line-height:1.4;margin:7px 0 3px}.book-title-button{font:inherit;padding:0;text-align:left}.book-title-button:hover{color:var(--cyan)}.book-card p{color:#9d9caf;font-size:10px;margin:0}.card-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:6px}.card-bottom span{font-size:9px;color:#9c9eb1}.card-bottom button{font-size:20px;line-height:1;color:#c3c8d5}.card-progress{margin-top:5px!important;color:#b9c8e0!important;font-size:9px!important}.see-all{position:absolute;right:-30px;bottom:70px;font-size:10px;color:#bdeaff;transform:translateX(40%);display:none;align-items:center;gap:4px}.see-all svg{width:15px;height:15px}#empty{grid-column:1/-1;text-align:center;line-height:1.9;font-size:13px;color:#afb6c9;padding:65px 20px;border:1px solid #2e3443;border-radius:8px}.reading-invite{display:none}footer{display:flex;align-items:center;gap:20px;margin-top:45px;padding-top:22px;border-top:1px solid #242a37;font:23px var(--serif);color:#a5a9b8}footer span,footer small{font:10px 'DM Sans';color:#9095a6}footer small{margin-left:auto}
.now-reading{position:fixed;z-index:21;left:0;bottom:0;right:0;height:86px;border-top:1px solid #303b4a;background:linear-gradient(90deg,#11171ff5,#0b0e16fa);backdrop-filter:blur(18px);display:flex;align-items:center;gap:20px;padding:12px 38px;box-shadow:0 -5px 30px #0003}.mini-cover{width:51px;height:59px;flex-shrink:0;border:1px solid #7a8ea5;border-radius:5px;overflow:hidden}.mini-cover .cover{width:100%;height:100%;padding:5px}.mini-cover .cover-author,.mini-cover .cover-mark,.mini-cover .cover-subtitle{display:none}.mini-cover .cover-title{font-size:10px}.now-reading .eyebrow{font-size:8px;letter-spacing:2px;color:#aeb8cd}.now-reading strong{display:block;white-space:nowrap;font:22px/1 var(--serif);margin-top:6px}.now-reading small{font:9px 'DM Sans';color:#b1b2c2;margin-left:10px;display:none}.reading-progress{flex:1;min-width:40px;margin:0 25px;align-self:center}.reading-progress>div{display:flex;justify-content:space-between;align-items:center;color:#afb5c9;font-size:10px;margin-bottom:8px;gap:10px}progress{height:5px;width:100%;display:block;border:0;background:#292b3a;border-radius:5px;overflow:hidden;accent-color:#53daf7}progress::-webkit-progress-bar{background:#252c3c;border-radius:5px}progress::-webkit-progress-value{background:#4ad9f4;border-radius:5px;box-shadow:0 0 10px #51ddf2}.now-reading>button:not(#close-bar){border:1px solid #62cdf4;border-radius:26px;padding:13px 28px;color:#d6eafa;background:#11202bdd;box-shadow:0 0 18px #40c8fc2c;font-size:13px;white-space:nowrap}#close-bar{position:absolute;right:10px;top:31px;font-size:17px;color:#a2adbd;padding:2px;opacity:.5}.toast{position:fixed;bottom:102px;left:50%;transform:translateX(-50%);z-index:99;background:#dfebf4;color:#18202f;padding:14px 25px;border:1px solid #bad4e8;border-radius:7px;opacity:0;pointer-events:none;transition:opacity .2s;font-size:12px;box-shadow:0 8px 35px #0008;max-width:90vw;line-height:1.6}.toast.visible{opacity:1}
/* The reading room stays calm and readable, with a separate night theme. */
dialog{position:fixed;inset:0;max-width:none;max-height:none;width:100%;height:100%;border:0;margin:0;background:#f0ebdf;color:#33382d;padding:0;z-index:50}dialog::backdrop{background:#050810cc;backdrop-filter:blur(8px)}.reader-top{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;padding:18px 35px;border-bottom:1px solid #aaa5;background:inherit}.reader-top .brand{color:inherit;font-size:29px}.reader-top .brand>span{font:9px 'DM Sans';letter-spacing:2px;margin-left:13px}.reader-top button{margin-left:20px}article{max-width:650px;margin:65px auto;padding:0 30px 70px}article h1{font-size:48px;margin:20px 0}.chapter-number{font:9px 'DM Sans';letter-spacing:3px;color:#8c8d79;margin:30px 0}#reader-text{font:21px/1.95 Georgia,serif;white-space:pre-wrap;overflow-wrap:anywhere}#reader-text p{white-space:pre-line}#reader-text p:first-child:first-letter{float:left;font-size:65px;line-height:1;margin:8px 10px 0 0}.end-note{font-size:11px;color:#888;line-height:1.7}dialog.night{background:#11141e;color:#d6dbe7}#reader .primary{background:#263647;color:#f2f6fc;border-color:#263647}
.panel-dialog{inset:0;margin:auto;max-width:800px;width:calc(100% - 40px);height:fit-content;max-height:90dvh;border:1px solid #454053;border-radius:12px;padding:45px;background:#14141f;color:var(--text);overflow:auto;box-shadow:0 30px 120px #0009}.panel-dialog h2{font:500 36px/1.1 var(--serif);margin:20px 0 15px}.panel-dialog p{font-size:13px;line-height:1.85;color:#c4c0d1}.panel-dialog .demo-note{font-size:11px;line-height:1.8;color:#aba6bd}.gold{color:#b5daec}.dialog-close{position:absolute;right:15px;top:15px;width:30px;height:30px;border-radius:50%;color:#c5c0d2}.dialog-close:hover{background:#30283e}.detail-layout{display:grid;grid-template-columns:230px 1fr;gap:34px;align-items:start}#detail-cover .cover{height:340px;border-radius:3px;box-shadow:8px 15px 30px #0007;overflow:hidden}.detail-price{font-size:25px;font-weight:500;color:#b8e0f4;margin-top:22px}.detail-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.text-button{padding:16px 0 0;color:#bbaace;font-size:11px;text-decoration:underline}.panel-dialog form{display:grid;gap:18px;margin-top:25px}.panel-dialog form label,.account-preferences>label{display:grid;gap:8px;color:#d5cede;font-size:11px;min-width:0}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.panel-dialog input,.panel-dialog textarea,.panel-dialog select{border:1px solid #514561;border-radius:4px;padding:12px;background:#0c0c15;color:#e4ddec;font:13px 'DM Sans',sans-serif;width:100%;min-width:0}.panel-dialog textarea{resize:vertical}.panel-dialog input:focus,.panel-dialog textarea:focus,.panel-dialog select:focus{outline:2px solid #bb9cde;outline-offset:2px}.panel-dialog small{color:#ad9cbe;font-size:10px;line-height:1.6}.form-error{color:#edbba5!important;margin:0;font-size:12px!important}.account-preferences{display:grid;gap:20px;margin:25px 0;padding:20px;border:1px solid #4c3f5b;border-radius:8px;background:#211b2b77}.account-preferences .toggle-option{display:flex;align-items:flex-start;gap:12px;cursor:pointer;line-height:1.6}.toggle-option input{width:18px;min-width:18px;height:18px;margin:3px 0 0;accent-color:#bda4de}.toggle-option span{display:grid;gap:4px}.toggle-option strong{font-weight:500}.toggle-option small{color:#c0b0ce;font-size:11px;line-height:1.65}#account-status{padding-top:15px;border-top:1px solid #3d3049}#account-actions{display:flex;gap:10px;flex-wrap:wrap}#account-email{width:100%;overflow-wrap:anywhere}.noscript-message{position:fixed;bottom:85px;left:0;background:#ede0bc;color:#111;padding:20px;width:100%;z-index:30}
@media(min-width:1600px){main{padding:34px 48px 115px}.spotlight{height:420px}.book-stage{height:380px;top:-65px}.hero-book{width:230px;height:327px}.hero-book.center{width:273px;height:365px}.hero-book.left{transform:translateX(-207px) rotateY(17deg) scale(.97)}.hero-book.right{transform:translateX(207px) rotateY(-17deg) scale(.97)}.hero-book.mid-left{transform:translateX(-372px) rotateY(21deg) scale(.9)}.hero-book.mid-right{transform:translateX(372px) rotateY(-21deg) scale(.9)}.hero-book.far-left{transform:translateX(-514px) rotateY(25deg) scale(.8)}.hero-book.far-right{transform:translateX(514px) rotateY(-25deg) scale(.8)}#prev,#next{top:160px}.see-all{display:flex}.book-grid{padding-right:45px}}
@media(max-width:1350px) and (min-width:1001px){main{padding-left:30px;padding-right:30px}.intro h1{font-size:47px}.intro-description{font-size:21px}.hero-book{width:184px;height:285px}.hero-book.center{width:224px;height:325px}.hero-book.left{transform:translateX(-160px) rotateY(17deg) scale(.96)}.hero-book.right{transform:translateX(160px) rotateY(-17deg) scale(.96)}.hero-book.mid-left{transform:translateX(-285px) rotateY(21deg) scale(.87)}.hero-book.mid-right{transform:translateX(285px) rotateY(-21deg) scale(.87)}.hero-book.far-left{transform:translateX(-390px) rotateY(25deg) scale(.77)}.hero-book.far-right{transform:translateX(390px) rotateY(-25deg) scale(.77)}.browse{column-gap:18px}.browse .section-heading h2{font-size:26px}.filters{gap:5px}.filters button{font-size:9px;padding:7px 11px}.book-grid{gap:15px}}
@media(max-width:1000px) and (min-width:761px){aside{width:180px;padding-left:10px;padding-right:10px}nav button{padding-left:10px;font-size:12px;gap:12px}main{margin-left:180px;padding-left:25px;padding-right:25px;overflow:hidden}.search{width:42vw;left:51%}.intro h1{font-size:39px}.intro-description{font-size:19px}.book-stage{transform:scale(.8);transform-origin:bottom center;top:-66px}.spotlight{height:355px}.browse{grid-template-columns:1fr auto;gap:14px}.browse .section-heading h2{grid-column:1;grid-row:1}.price-filter{grid-column:2;grid-row:1}.filters{grid-column:1/-1;grid-row:2}.results-line{grid-row:3;margin:0}.book-grid{grid-template-columns:repeat(3,1fr);gap:25px 17px}.signup-button{min-width:94px;gap:7px}header{gap:16px;padding:0 18px}.brand{font-size:31px}.brand small{font-size:8px}.brand-badge{margin-left:7px}.reading-progress{margin:0 10px}.now-reading>button:not(#close-bar){padding:12px 17px}}
@media(max-width:760px){header{height:67px;padding:0 15px;gap:13px}.brand{font-size:29px}.brand-badge{margin-left:7px;padding:3px 6px 3px 3px;gap:3px}.brand small{font-size:8px;letter-spacing:.5px}.book-glow{font-size:13px}.signin-button{font-size:10px}.signup-button{min-width:81px;height:33px;font-size:10px;gap:6px}.signup-button svg{width:14px;height:14px}.search{position:absolute;top:123px;left:18px;right:18px;width:auto;transform:none;height:36px;background:#151823}.search input{font-size:11px}.search .search-seal{width:26px;min-width:26px;height:26px}.search .search-seal svg{height:16px;width:16px}aside{top:67px;bottom:auto;width:100%;height:45px;padding:0 6px;background:#0b0e14;border-right:0;border-bottom:1px solid #272d38;z-index:19}aside nav:first-of-type{display:flex;justify-content:space-around;gap:0}nav button{height:44px;border-radius:0;border-left:0;border-bottom:1px solid transparent;padding:9px 6px;font-size:9px;gap:6px;white-space:nowrap}nav button.active{border-bottom-color:var(--cyan)}nav i{width:16px;height:18px}nav svg{width:17px;height:17px}nav button>span{display:none}aside nav:not(:first-of-type),.community-label,.sidebar-bottom,.sidebar-foot{display:none}main{margin:112px 0 0;padding:76px 18px 110px;overflow:hidden;min-height:calc(100vh - 112px)}main::before{height:540px;top:0;background-position:right top;background-size:auto 540px}.intro{margin-bottom:35px}.eyebrow{font-size:7px;letter-spacing:2.5px}.intro h1{font-size:35px;max-width:350px;line-height:1.02;letter-spacing:-.8px;margin:12px 0 10px}.intro-description{font-size:18px;max-width:310px;line-height:1.35}.mobile-author{display:block;font-size:9px;color:#c6b3e7;border:1px solid #5a4b6d;border-radius:20px;padding:7px 12px;margin-top:14px}.section-heading h2{font-size:25px}.spotlight{height:355px}.book-stage{top:-30px;height:285px}.hero-book{width:144px;height:235px}.hero-book.center{width:184px;height:273px}.hero-book.left{transform:translateX(-105px) rotateY(23deg) scale(.87)}.hero-book.right{transform:translateX(105px) rotateY(-23deg) scale(.87)}.hero-book.mid-left{transform:translateX(-180px) rotateY(30deg) scale(.75)}.hero-book.mid-right{transform:translateX(180px) rotateY(-30deg) scale(.75)}.hero-book.far-left{transform:translateX(-231px) rotateY(35deg) scale(.62)}.hero-book.far-right{transform:translateX(231px) rotateY(-35deg) scale(.62)}.feature-copy{bottom:12px}.feature-actions{gap:9px}.primary{font-size:10px;padding:10px 16px;min-height:37px}.primary svg{height:15px;width:15px}#feature-price{font-size:11px;margin-right:0}.outline-button{font-size:10px;min-height:37px;padding:10px 17px}.save-feature{width:33px;height:33px;font-size:20px}.sample-note{font-size:9px;margin-top:8px}#prev,#next{height:34px;width:34px;top:125px;font-size:20px}#prev{left:-6px}#next{right:-6px}.browse{grid-template-columns:1fr auto;gap:14px;margin-top:10px}.browse .section-heading h2{grid-column:1;grid-row:1;font-size:26px}.price-filter{grid-column:2;grid-row:1}.price-filter select{min-width:95px;padding:7px 11px;font-size:9px}.filters{grid-column:1/-1;grid-row:2;gap:7px;flex-wrap:nowrap;overflow-x:auto;padding-bottom:3px}.filters button{font-size:9px;padding:7px 12px}.results-line{grid-row:3;margin:0}.book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:23px 15px}.book-card h3{font-size:12px}.book-card p{font-size:10px}.book-badge{font-size:8px;left:6px;top:6px;padding:4px 8px}.see-all{display:flex;position:static;transform:none;margin-top:20px;padding:0;grid-column:1/-1}.now-reading{height:78px;padding:10px 16px;gap:11px}.mini-cover{height:48px;width:39px}.now-reading .eyebrow{font-size:6px;letter-spacing:1.5px}.now-reading strong{font-size:17px;max-width:145px;overflow:hidden;text-overflow:ellipsis}.reading-progress{display:none}.now-reading>button:not(#close-bar){margin-left:auto;padding:10px 15px;font-size:10px}#close-bar{display:none}footer{font-size:21px;gap:10px;flex-wrap:wrap}footer small{margin:0;width:100%;font-size:9px}.toast{width:calc(100% - 35px);text-align:center;bottom:91px;line-height:1.7}.panel-dialog{padding:38px 22px 25px;width:calc(100% - 24px);max-height:92dvh}.detail-layout{grid-template-columns:1fr;gap:22px}#detail-cover .cover{width:140px;height:205px;margin:auto}.panel-dialog h2{font-size:30px}.form-row{grid-template-columns:1fr}.reader-top{padding:15px}.reader-top .brand>span{display:none}.reader-top .brand{font-size:28px}article{margin-top:35px}article h1{font-size:38px}}
@media(max-width:375px){header{padding:0 10px;gap:10px}.brand{font-size:26px}.signup-button{min-width:74px}.brand small{font-size:7px}nav button{font-size:8px;gap:4px}nav i{width:15px}.intro h1{font-size:32px}.feature-actions{gap:7px}.primary{padding:10px 13px}.outline-button{padding:10px 13px}.now-reading>button:not(#close-bar){font-size:9px;padding:10px 12px}.now-reading strong{max-width:130px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* All carousel covers share a single centre anchor, independent of DOM order. */
.book-stage>.hero-book{position:absolute;left:0;right:0;bottom:0;margin-inline:auto}
@media(min-width:1001px) and (max-width:1599px){.spotlight{height:350px}}
@media(min-width:1600px){.spotlight{height:392px}}
/* Smaller laptop displays retain the full book row above the reading bar. */
@media(min-width:1001px) and (max-height:1000px){
 .intro{margin-bottom:20px}.spotlight{height:310px}.book-stage{top:-82px;height:315px}
 .hero-book.center{width:224px;height:315px}.hero-book{height:285px}
 .browse{margin-top:0}.book-grid{gap:18px}.book-card .cover{aspect-ratio:1.13}
 .results-line{min-height:13px;margin:6px 0 3px}
}
@media(max-width:1000px) and (min-width:761px){.hero-book.far-left,.hero-book.far-right{display:none}}
@media(max-width:760px){.hero-book.far-left,.hero-book.far-right{display:none}}
@media(max-width:480px){.hero-book.mid-left,.hero-book.mid-right{display:none}}
.hero-book .cover-art{image-rendering:auto}
.hero-book.center .cover-art{box-shadow:inset 4px 0 7px #ffffff0e,inset -2px 0 3px #0005}
.hero-book.center{box-shadow:0 17px 24px #000a,0 6px 45px #0008}
/* Carousel motion: covers keep their identity while moving through the arc. */
.book-stage{touch-action:pan-y;translate:var(--drag-shift,0px) 0;transition:translate .35s cubic-bezier(.2,.7,.2,1);user-select:none}
.book-stage.dragging{cursor:grabbing;transition:none}
.book-stage .hero-book{transition:transform .7s cubic-bezier(.22,.75,.16,1),filter .65s ease,translate .3s ease,box-shadow .4s ease;will-change:transform}
.book-stage .hero-book:hover{translate:0 -6px;filter:brightness(1.06)}
.book-stage .hero-book.wrapping{z-index:1;filter:brightness(.45)}
.carousel-motion{position:absolute;right:8px;bottom:14px;z-index:15;width:27px;height:27px;border:1px solid #4e596c;border-radius:50%;color:#acbed5;font-size:11px;background:#0e162166;line-height:1;opacity:.8}
.carousel-motion:hover{opacity:1;color:#ddf8ff;border-color:#6adbf3}
.book-stage:focus-visible{outline:1px solid #63cbe777;outline-offset:8px;border-radius:8px}
@media(prefers-reduced-motion:reduce){.book-stage .hero-book,.book-stage{transition:none!important}.book-stage .hero-book:hover{translate:none}}
/* A very narrow in-app preview remains usable without clipping its controls. */
@media(max-width:320px){
 header{padding:0 10px;gap:10px}.brand{font-size:27px}.brand-badge{display:none}.signin-button{font-size:9px}.signup-button{min-width:74px;font-size:9px}
 nav button{font-size:7px;padding:9px 2px;gap:0}nav i{display:none}
 main{padding-left:12px;padding-right:12px}.intro h1{font-size:29px}.intro-description{font-size:16px}.eyebrow{font-size:6px;letter-spacing:1.5px}
 .spotlight{height:315px}.book-stage{height:240px;top:-15px}.hero-book.center{width:58vw;max-width:176px;height:86vw;max-height:261px}.hero-book{width:115px;height:180px}
 .hero-book.left{transform:translateX(-72px) rotateY(23deg) scale(.82)}.hero-book.right{transform:translateX(72px) rotateY(-23deg) scale(.82)}
 #prev,#next{width:28px;height:28px;font-size:17px;top:115px}.feature-actions{gap:6px;flex-wrap:wrap}.feature-actions .primary{font-size:9px;padding:9px 12px}.feature-actions .outline-button{font-size:9px;padding:9px 11px}.feature-actions .save-feature{width:29px;height:29px}#feature-price{font-size:9px;width:100%;margin:0}.feature-copy{bottom:6px}.sample-note{font-size:8px}
 .carousel-motion{bottom:2px;right:-5px;width:22px;height:22px}.browse .section-heading h2{font-size:23px}.browse{gap:12px;grid-template-columns:1fr}.price-filter{grid-row:2;grid-column:1}.filters{grid-row:3}.results-line{grid-row:4}.book-grid{grid-template-columns:1fr;gap:22px}
 .now-reading{padding:10px;gap:7px}.mini-cover{width:30px;height:40px}.now-reading strong{font-size:14px;max-width:84px}.now-reading>button:not(#close-bar){font-size:8px;padding:9px}.now-reading .eyebrow{font-size:5px;letter-spacing:.5px}
}
/* Account experience: a quiet book jacket beside a focused, accessible form. */
#auth.auth-dialog{width:min(1030px,calc(100% - 48px));max-width:1030px;max-height:94dvh;padding:0;border:1px solid #39414d;border-radius:20px;background:#10141c;overflow:auto;box-shadow:0 35px 140px #000c,0 0 85px #6e8ce80c;color:#eff1f6;color-scheme:dark;scrollbar-width:thin;scrollbar-color:#46566e #10141c}
body:has(dialog[open]){overflow:hidden}
#auth::backdrop{background:#04070bd9;backdrop-filter:blur(12px)}
#auth .dialog-close{z-index:3;top:16px;right:16px;width:32px;height:32px;border:1px solid #ffffff1a;color:#b5becf;background:#141b25a6;font-size:13px}
.auth-layout{display:grid;grid-template-columns:43% 57%;min-height:732px}
.auth-story{position:relative;isolation:isolate;display:flex;flex-direction:column;padding:37px 34px 29px;overflow:hidden;border-right:1px solid #ffffff0d;background:linear-gradient(180deg,#0b13225c,#101a2b4d 40%,#0c121fee 91%),url('assets/moonlit-castle.png') 62% center/auto 100%;min-height:100%}
.auth-story:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#0b1124a3,transparent),radial-gradient(ellipse at 60% 75%,#7087e82b,transparent 70%)}
.auth-story:after{content:'';position:absolute;inset:11px;border:1px solid #c8d8fc12;border-radius:12px;pointer-events:none}
.auth-brand{align-self:flex-start;font-size:34px;color:#eeeae7;letter-spacing:-1px}
.auth-brand .brand-badge{padding:4px 7px;gap:7px;background:#131b2b80;border-color:#8aa0c844}
.auth-brand .brand-badge svg{width:16px;height:16px;color:#a4e9f3;filter:drop-shadow(0 0 5px #91d9ff88)}
.auth-brand small{font-size:8px}
.auth-story-copy{position:relative;margin-top:47px;z-index:1}
.auth-story .eyebrow{font-size:8px;letter-spacing:2.5px;color:#c0c6d8}
#auth .auth-story h2{font:500 clamp(38px,4vw,48px)/1.02 var(--serif);letter-spacing:-1px;margin:20px 0 16px;text-wrap:balance;color:#f6f0e6}
.auth-story h2 em{font-weight:400;color:#d2c4e5}
#auth .auth-story-copy p{font-size:12px;line-height:1.9;color:#c9cedb;margin:0}
.auth-books{height:270px;position:relative;margin:25px 0 12px;perspective:1000px;flex:1;min-height:230px}
.auth-book{position:absolute;border:1px solid #9caebc70;border-radius:3px;box-shadow:7px 20px 30px #0009;background-color:#151b26;transform-origin:bottom center}
.auth-book:after{content:'';position:absolute;left:100%;top:3px;bottom:-1px;width:8px;background:repeating-linear-gradient(90deg,#d3d5d5 0 1px,#8b969c 1px 2px,#eef0e9 2px 3px);transform:skewY(13deg);border-radius:0 2px 2px 0;z-index:-1}
.auth-book-front{height:235px;width:161px;bottom:12px;left:42%;transform:rotateY(-12deg) rotateZ(5deg);background-image:url('assets/the-last-oracle.png');background-size:100% 100%}
.auth-book-back{height:210px;width:139px;bottom:25px;left:10%;transform:rotateY(16deg) rotateZ(-11deg);background-image:url('assets/book-covers.png');background-size:600% 200%;background-position:20% 0;filter:brightness(.82)}
.auth-orbit{position:absolute;right:4%;top:12px;color:#cae9f5;font-size:25px;text-shadow:0 0 20px #82bbff}
.auth-story-foot{display:flex;align-items:center;gap:12px;margin-top:auto;color:#a8bad4;z-index:1;font-size:10px;line-height:1.7;letter-spacing:.2px;padding-top:18px;border-top:1px solid #aec8ee24}
.auth-story-foot>svg{width:20px;height:20px;color:#b6cae0}
.auth-story-foot strong{font-weight:400;color:#e3e8f1}
.auth-page-number{margin-left:auto;color:#9faabd;font:13px var(--serif);letter-spacing:1px}
.auth-content{padding:39px 47px 23px;min-width:0;background:radial-gradient(ellipse at 90% 0,#35426917,transparent 50%)}
.auth-mode{display:flex;gap:25px;border-bottom:1px solid #ffffff10;margin:0 0 29px;width:fit-content}
.auth-mode button{position:relative;padding:0 0 13px;color:#8491a7;font-size:12px;transition:color .2s}
.auth-mode button[aria-pressed=true]{color:#c5eef9}
.auth-mode button[aria-pressed=true]:after{content:'';position:absolute;bottom:-1px;height:2px;left:0;right:0;border-radius:2px;background:#80d7ee;box-shadow:0 0 12px #6cd7f544}
#auth .auth-kicker{font-size:8px;letter-spacing:2.5px;color:#a0b1cb}
#auth .auth-content h2{font:500 45px/.99 var(--serif);letter-spacing:-.9px;margin:13px 0 12px;color:#f4f0ec}
#auth .auth-description{font-size:12px;line-height:1.6;color:#a6afc1;margin:0}
#auth #login-form{gap:16px;margin-top:26px}
#auth label,#auth legend{font-size:11px;color:#d7dce7;font-weight:450;letter-spacing:.1px}
#auth fieldset{border:0;margin:0;padding:0;min-width:0}
#auth legend{margin-bottom:9px;padding:0}
.role-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}
#auth .role-card{position:relative;display:flex;align-items:center;gap:10px;cursor:pointer;border:1px solid #343e4e;border-radius:9px;padding:15px 10px;transition:background .2s,border-color .2s;min-width:0;isolation:isolate;background:#111721}
#auth .role-card:has(input:checked){border-color:#76c9e7;background:linear-gradient(120deg,#17324199,#17233480);box-shadow:0 0 0 1px #5dd6ff0a,inset 0 0 18px #5dd6ff04}
#auth .role-card:hover{border-color:#7c99af}
#auth .role-card:focus-within{outline:2px solid var(--cyan);outline-offset:3px}
#auth .role-card input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}
.role-card>span:not(.role-symbol){display:grid;gap:5px;min-width:0}
.role-symbol{display:flex;color:#9cabc3}
.role-symbol svg{width:22px;height:22px}
.role-card:has(input:checked) .role-symbol{color:#a9e4f6}
#auth .role-card strong{font-size:12px;font-weight:500}
#auth .role-card small{font-size:8px;color:#9daabf;white-space:nowrap}
#auth .role-card .role-check{position:absolute;top:8px;right:8px;font-size:8px;color:#a5e7f4;opacity:0}
#auth .role-card:has(input:checked) .role-check{opacity:1}
#auth .input-wrap{display:flex;gap:11px;align-items:center;border:1px solid #374252;background:#0b1018;border-radius:8px;padding:0 13px;transition:border-color .2s,box-shadow .2s}
#auth .input-wrap:focus-within{border-color:#80cbe9;box-shadow:0 0 0 3px #63c4eb12}
#auth .input-wrap>svg{width:16px;height:16px;color:#7e8ca5}
#auth .input-wrap input{border:0;padding:13px 0;border-radius:0;background:none;outline:none;box-shadow:none;color:#eff1f6;line-height:1.5;font-size:12px}
#auth input::placeholder,#auth textarea::placeholder{color:#67748b;opacity:1}
#auth #signup-name>small{font-size:9px;line-height:1.4;color:#8391a9}
#auth input:-webkit-autofill{-webkit-box-shadow:0 0 0 50px #0b1018 inset;-webkit-text-fill-color:#eff1f6;caret-color:#eff1f6}
#auth .ai-preference{display:flex;align-items:center;gap:12px;border:1px solid #303c47;background:#141d244d;border-radius:9px;padding:13px;position:relative;cursor:pointer;margin-top:1px}
.ai-preference-icon{width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:7px;background:#9bc8b210;color:#a1c4b9}
.ai-preference-icon svg{width:18px;height:18px}
#auth .ai-preference>span:nth-child(2){display:grid;gap:5px;flex:1}
#auth .ai-preference strong{font-size:11px;font-weight:500}
#auth .ai-preference small{font-size:9px;line-height:1.5;color:#93a2b4}
#auth .ai-preference input{position:absolute;right:13px;width:35px;height:21px;opacity:0;margin:0;cursor:pointer}
.switch-track{width:35px;height:21px;flex-shrink:0;border-radius:12px;background:#313c4b;border:1px solid #435165;pointer-events:none;transition:background .2s}
.switch-track:after{content:'';display:block;width:13px;height:13px;margin:3px;border-radius:50%;background:#a3afc2;transition:transform .2s,background .2s}
.ai-preference:has(input:checked){border-color:#83beac!important}
.ai-preference input:checked+.switch-track{background:#386758;border-color:#75a895}
.ai-preference input:checked+.switch-track:after{transform:translateX(13px);background:#d7f6e9}
.ai-preference:focus-within{outline:2px solid var(--cyan);outline-offset:3px}
#auth .ai-explanation{font-size:8px;color:#8a97aa;line-height:1.5;margin:-9px 2px 0}
#auth .auth-submit{display:flex;align-items:center;justify-content:center;gap:14px;width:100%;min-height:47px;padding:13px 20px;border-radius:8px;border:1px solid #a6e9ff9c;background:linear-gradient(110deg,#b5e9f5,#91cfe8);color:#102230;font-weight:600;font-size:12px;box-shadow:0 4px 24px #66c7f118,inset 0 1px 0 #ffffff44;transition:filter .2s,transform .2s}
#auth .auth-submit svg{width:17px;height:17px;stroke-width:1.8}
#auth .auth-submit:hover{filter:brightness(1.08);transform:translateY(-1px)}
#auth .auth-submit:active{transform:none}
#auth .auth-submit:disabled{transform:none;cursor:wait;filter:none}
#auth .auth-email-note{display:flex;align-items:flex-start;justify-content:center;gap:7px;text-align:center;font-size:8px;line-height:1.6;color:#8e9bb0}
.auth-email-note svg{width:11px;height:11px;margin-top:1px}
#auth .auth-feedback{margin:0;font-size:11px;line-height:1.6;color:#e6c9a8;overflow-wrap:anywhere}
.auth-feedback:empty{display:none}
#auth .auth-switch-copy{font-size:10px;line-height:1.6;text-align:center;margin:21px 0 0;color:#929fb3}
.auth-switch-copy button{font-size:10px;padding:0;color:#b8dce9;text-decoration:underline;text-underline-offset:3px}
#auth .auth-about{display:block;margin:22px auto 0;color:#78869c;font-size:9px;padding:5px}
#auth .account-sync-note{font-size:9px;color:#889bb1;line-height:1.6;margin-top:18px}
.auth-success{padding-top:45px;outline:none;text-align:center}
.mail-seal{display:flex;align-items:center;justify-content:center;width:72px;height:72px;border:1px solid #6db3cf66;background:radial-gradient(circle,#345a6d77,#111c2a);border-radius:23px;color:#c0eaf6;box-shadow:0 0 45px #5bc4f119;margin:0 auto 35px;transform:rotate(-5deg)}
.mail-seal svg{height:29px;width:29px;transform:rotate(5deg)}
.auth-success>.eyebrow{font-size:8px;color:#9eb3cf;letter-spacing:2.2px}
#auth .auth-success h2{font-size:43px;margin-top:18px}
#auth .auth-success>p{font-size:12px;color:#a2b0c5;margin:19px 0;line-height:1.9}
#sent-email{color:#dce9f4;font-weight:450;overflow-wrap:anywhere}
.email-next{display:grid;grid-template-columns:25px 1fr;gap:13px;text-align:left;padding:22px;border:1px solid #344258;border-radius:10px;background:#19243555;margin:26px 0}
.email-next>span{display:flex;align-items:center;justify-content:center;font-size:9px;border:1px solid #465975;border-radius:50%;height:24px;width:24px;color:#a9b9cf}
#auth .email-next p{font-size:11px;margin:0;line-height:24px;color:#c2ccdb}
#auth .auth-success .email-help{font-size:10px;color:#899ab1}
#auth .auth-back{display:block;font-size:10px;color:#b4c8db;padding:12px 0;text-decoration:underline;text-underline-offset:4px;margin:8px auto 0}
#auth .auth-success .auth-feedback{font-size:10px;color:#d0dce9}
#auth[data-mode=signin] #login-form{margin-top:30px;gap:22px}
#auth[data-mode=signin] .auth-mode{margin-bottom:50px}
#auth[data-mode=signin] #auth-entry{padding-top:28px}
.profile-preview{border:1px solid #3a485d;border-radius:12px;overflow:hidden;margin-top:26px;background:#121b28}
.profile-banner{height:85px;background:linear-gradient(0deg,#121b2822,#142b4244),url('assets/moonlit-castle.png') center 38%/cover}
.profile-identity{padding:0 22px 21px;position:relative}
.profile-avatar{display:flex;align-items:center;justify-content:center;position:relative;margin-top:-28px;width:57px;height:57px;border:3px solid #121b28;border-radius:50%;color:#d2e7ff;background:linear-gradient(135deg,#4c5e7a,#293248);font:25px var(--serif);box-shadow:0 0 0 1px #88a2c844}
.profile-kind{position:absolute;top:42px;right:22px;border:1px solid #81afca55;padding:5px 8px;border-radius:15px;font-size:7px;letter-spacing:1.6px;color:#acd4e8}
#auth .profile-identity h3{font:500 28px var(--serif);margin:15px 0 5px;overflow-wrap:anywhere;max-width:75%}
#auth .profile-identity p{font-size:11px;line-height:1.7;color:#a1b1c9;white-space:pre-wrap;overflow-wrap:anywhere;max-height:100px;overflow:auto;margin:0}
.profile-stats{display:flex;gap:20px;padding-top:17px;margin-top:17px;border-top:1px solid #c0d4ff13;color:#879cb9;font-size:9px}
.profile-stats strong{font-weight:500;color:#e1e9f5;font-size:12px;margin-right:3px}
#auth #profile-form{gap:15px;margin-top:25px}
#auth #profile-form input,#auth #profile-form textarea,#auth .profile-settings select{border-radius:7px;background:#0c121b;border-color:#374252;color:#e4eaf5;font-size:12px}
.profile-settings{padding-top:20px;margin-top:23px;border-top:1px solid #c0d4ff14;font-size:11px;color:#bdc8db}
.profile-settings summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;padding:5px 0}
.profile-settings summary::-webkit-details-marker{display:none}
.profile-settings[open] summary{margin-bottom:20px}
.profile-settings[open] summary>span{transform:rotate(45deg)}
#auth .profile-settings>label{display:grid;gap:8px;margin-top:18px}
#auth .profile-settings .toggle-option{display:flex;gap:12px;align-items:flex-start;line-height:1.5}
#auth .profile-settings .toggle-option small{font-size:9px;color:#98a8bd}
#auth .profile-settings .toggle-option input{width:18px;min-width:18px}
#auth #account-email{font-size:10px;color:#a1adc1;margin-top:20px}
#auth .profile-settings .auth-back{margin:0;text-align:left}
@media(min-width:801px){#auth[open]{animation:account-arrive .35s ease-out}.auth-story{position:sticky;top:0;align-self:start;height:100%;min-height:732px}.auth-content{min-height:732px}}
@keyframes account-arrive{from{opacity:0;translate:0 12px}to{opacity:1;translate:0 0}}
@media(max-width:1000px) and (min-width:801px){#auth.auth-dialog{width:calc(100% - 32px)}.auth-layout{grid-template-columns:40% 60%}.auth-content{padding:37px 32px 23px}.auth-story{padding:32px 25px}.auth-book-front{left:40%;width:140px;height:210px}.auth-book-back{left:6%;width:120px;height:190px}#auth .auth-story h2{font-size:42px}}
@media(max-width:800px){#auth.auth-dialog{width:min(560px,calc(100% - 28px));max-height:94dvh;border-radius:16px}.auth-layout{display:block;min-height:0}.auth-story{display:none}.auth-content{padding:35px 32px 24px}.auth-mode{margin-right:35px}#auth .auth-content h2{font-size:43px}.auth-success{padding-top:27px}#auth[data-mode=signin] #auth-entry{padding-top:0}#auth[data-mode=signin] .auth-mode{margin-bottom:34px}}
@media(max-width:380px){#auth.auth-dialog{width:calc(100% - 16px);max-height:96dvh}.auth-content{padding:30px 20px 20px}#auth .auth-content h2{font-size:39px}.role-options{gap:8px}#auth .role-card{padding:14px 9px;gap:8px}.role-symbol svg{width:19px;height:19px}#auth .role-card small{font-size:7px}#auth .ai-preference{padding:11px;gap:9px}.ai-preference-icon{display:none}#auth .ai-preference small{font-size:8px}.auth-mode{gap:20px}#auth .auth-success h2{font-size:35px}}
@media(prefers-reduced-motion:reduce){#auth[open]{animation:none}.auth-mode button,.role-card,.switch-track,.switch-track:after,#auth .auth-submit{transition:none}}
/* The profile follows the Aethr artist page: banner, portrait, identity, then tabs. */
.member-profile{margin:-30px -45px 0;min-width:0}
.member-hero{position:relative;isolation:isolate;min-height:410px;padding:110px 48px 40px;display:flex;align-items:flex-end;background:linear-gradient(0deg,#090b0f 0%,#090b0f80 40%,#10162316 90%),url('assets/moonlit-castle.png') center 40%/cover;overflow:hidden}
.member-hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#090b0f77,transparent);z-index:-1}
.member-hero-inner{display:flex;align-items:flex-end;gap:34px;z-index:1;max-width:100%;min-width:0}
.member-avatar{width:176px;height:176px;border-radius:50%;border:4px solid #0a0c11;outline:1px solid #9bafcb33;display:flex;align-items:center;justify-content:center;flex-shrink:0;background:radial-gradient(ellipse at 30% 20%,#536b85,#232436 65%,#191a24);box-shadow:0 15px 45px #0008,inset 0 0 55px #adc8f80c;font:500 64px var(--serif);letter-spacing:-3px;color:#dceaf5}
.member-heading{padding-bottom:6px;min-width:0}
.member-heading>.eyebrow{font-size:9px;letter-spacing:2.4px;color:#cad4e4}
.member-heading h1{font:500 clamp(48px,6vw,86px)/1 var(--serif);letter-spacing:-2px;margin:14px 0 16px;overflow-wrap:anywhere;max-width:800px}
.member-meta{display:flex;align-items:center;flex-wrap:wrap;gap:15px;font-size:11px;color:#adbacd}
.member-meta strong{color:#e1e7f1;font-weight:500}
.member-heading>p{font-size:12px;line-height:1.8;color:#b9c4d6;max-width:590px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:100px;overflow:auto;margin:17px 0}
.member-actions{display:flex;align-items:center;gap:12px;margin-top:19px}
.member-actions button{border-radius:22px;font-size:10px;padding:10px 17px;display:flex;gap:8px;align-items:center;border:1px solid #566076;min-height:38px}
.member-actions svg{width:15px;height:15px}
.member-edit{background:#1d182c;color:#dbd0ee;border-color:#78638d!important}
.member-room{background:#f3f1ed;color:#141721;border-color:#e4e4e8!important}
.member-watermark{position:absolute;right:35px;top:28px;font:italic 18px var(--serif);letter-spacing:.2px;color:#d7e5f178}
.member-nav{display:flex;align-items:center;gap:26px;border-bottom:1px solid #ffffff16;margin:0 45px;overflow-x:auto;white-space:nowrap}
.member-nav button{position:relative;font-size:12px;color:#9ba8bc;padding:20px 0 16px;min-height:52px}
.member-nav button[aria-pressed=true]{color:#e0edf7}
.member-nav button[aria-pressed=true]:after{content:'';height:2px;position:absolute;left:0;right:0;bottom:0;background:#a8dcee;border-radius:3px}
.member-nav>span{margin-left:auto;color:#79889f;font-size:9px;letter-spacing:.1px}
#member-body{padding:30px 45px 35px}
.member-section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}
.member-section-heading h2,.member-about h2{font:500 32px var(--serif);margin:0;letter-spacing:-.5px}
.member-section-heading>span{color:#8393ac;font-size:10px}
.member-book-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:25px}
.member-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:45px 20px 40px;border:1px solid #283449;border-radius:12px;background:radial-gradient(ellipse at top,#1b293f66,transparent),#10172255;min-height:190px;color:#9eafc7;text-align:center}
.member-empty>svg{width:30px;height:30px;color:#abcce1}
.member-empty p{font-size:12px;line-height:1.8;max-width:380px;margin:15px 0 16px}
.member-empty button{font-size:11px;color:#b0ddec;border:1px solid #4c7486;padding:10px 16px;border-radius:25px}
.member-feature{display:grid;grid-template-columns:130px 1fr;gap:30px;align-items:center;margin:0 0 35px;padding:24px;border-radius:12px;border:1px solid #334157;background:linear-gradient(110deg,#1d2a3d77,#131a2980)}
.member-feature>.cover{height:192px;width:130px;border-radius:3px;overflow:hidden;box-shadow:6px 8px 20px #0006}
.member-feature h2{font:500 36px var(--serif);margin:12px 0 9px}
.member-feature p{font-size:12px;line-height:1.8;color:#9fadc3;max-width:600px;margin:0 0 19px}
.member-about{max-width:720px;border:1px solid #303a4b;border-radius:12px;background:#101824;padding:28px}
.member-about .eyebrow{font-size:8px;color:#a5c2d8}
.member-about h2{margin:15px 0}
.member-about p{font-size:13px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;color:#b0bed2}
.member-about .member-privacy-note{font-size:10px;color:#8093ae;border-top:1px solid #ffffff13;padding-top:18px;margin-top:25px}
@media(max-width:1000px) and (min-width:761px){.member-profile{margin:-30px -25px 0}.member-hero{padding:95px 30px 30px;min-height:370px}.member-avatar{width:135px;height:135px;font-size:50px}.member-hero-inner{gap:25px}.member-nav{margin:0 25px}#member-body{padding:28px 25px}.member-book-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.member-profile{margin:-15px -18px 0}.member-hero{padding:65px 22px 28px;min-height:370px;background-position:65% center}.member-hero-inner{display:block;width:100%}.member-avatar{width:92px;height:92px;font-size:36px;letter-spacing:-1px;margin-bottom:22px}.member-heading h1{font-size:49px;letter-spacing:-1.2px;margin:12px 0 14px}.member-heading>.eyebrow{font-size:8px}.member-meta{font-size:10px;gap:10px}.member-heading>p{font-size:11px}.member-actions{gap:10px;margin-top:18px}.member-actions button{font-size:9px;padding:9px 14px}.member-watermark{font-size:16px;top:22px;right:22px}.member-nav{margin:0 20px;gap:25px}.member-nav button{font-size:11px}.member-nav>span{display:none}#member-body{padding:25px 20px}.member-book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 16px}.member-section-heading h2{font-size:29px}.member-feature{grid-template-columns:85px 1fr;gap:18px;padding:18px}.member-feature>.cover{width:85px;height:130px}.member-feature h2{font-size:26px}.member-feature .eyebrow{font-size:6px;letter-spacing:1.5px}.member-feature p{font-size:10px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:12px}.member-feature .primary{font-size:9px;padding:8px 11px}.member-about{padding:23px}.member-about h2{font-size:29px}.member-about p{font-size:12px}.member-empty{padding:32px 18px}}
@media(min-width:801px) and (max-height:800px){
 .auth-layout{min-height:620px}.auth-story{min-height:620px}.auth-content{min-height:620px;padding:24px 40px 16px}.auth-mode{margin-bottom:12px}#auth .auth-content h2{font-size:34px;margin:9px 0}#auth #login-form{margin-top:14px;gap:9px}#auth .role-card{padding:10px}#auth .input-wrap input{padding:10px 0}#auth .auth-switch-copy{margin-top:12px}#auth .auth-about{margin-top:10px}.auth-story-copy{margin-top:33px}.auth-books{min-height:200px}.auth-book-front{height:214px;width:146px}.auth-book-back{height:190px;width:125px}
}
/* Personal reading choices use the same quiet palette as the account cards. */
.auth-form-section{display:grid;gap:17px;min-width:0}
#auth .handle-input>span{font:15px 'DM Sans',sans-serif;color:#9acde1}
#auth #signup-username>small{font-size:9px;color:#8391a9;line-height:1.5}
.signup-step-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:2px}
.signup-step-heading button{font-size:10px;color:#a5cde0;padding:5px 0}
.signup-step-heading>span{font-size:8px;letter-spacing:2px;color:#8199b0}
#auth.personalising .auth-description{margin-bottom:3px}
#auth .ai-explanation{margin:-8px 2px 0;font-size:9px;line-height:1.65}
.reading-preferences{display:grid;gap:0;border:1px solid #334052;border-radius:10px;overflow:hidden;background:#11192366}
#auth .reader-option{position:relative;display:flex;align-items:center;gap:12px;padding:12px 13px;cursor:pointer;min-height:65px}
#auth .reader-option+.reader-option{border-top:1px solid #ffffff0b}
.reader-option-icon{display:flex;align-items:center;justify-content:center;width:29px;min-width:29px;color:#9cb1cc}
.reader-option-icon svg{width:18px;height:18px}
.reader-option-copy{display:grid;gap:5px;flex:1;min-width:0}
#auth .reader-option strong{font-size:11px;font-weight:450}
#auth .reader-option small{font-size:9px;line-height:1.5;color:#8f9fb4}
#auth .reader-option input{position:absolute;right:13px;width:35px;height:21px;opacity:0;margin:0;cursor:pointer}
.reader-option input:checked+.switch-track{background:#355c70;border-color:#6c9eb7}
.reader-option input:checked+.switch-track:after{transform:translateX(13px);background:#d2effa}
.reader-option:has(input:checked){background:#71b9dc06}
.reader-option:focus-within{outline:2px solid var(--cyan);outline-offset:-3px;border-radius:6px}
#auth .genre-preferences{margin-top:4px}
#auth .genre-preferences legend{font-size:11px;margin-bottom:13px}
.genre-preferences legend>span{font-size:8px;color:#8092ab;margin-left:8px;font-weight:400}
.genre-choices{display:flex;flex-wrap:wrap;gap:7px}
#auth .genre-choice{position:relative;display:block;cursor:pointer}
#auth .genre-choice input{position:absolute;inset:0;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}
.genre-choice>span{display:block;border:1px solid #3d4556;border-radius:25px;background:#131a25;padding:8px 12px;color:#a9b5c9;font-size:10px;transition:border-color .2s,background .2s}
.genre-choice:has(input:checked)>span{border-color:#7ebad0;background:#23435688;color:#d4eef8}
.genre-choice:focus-within>span{outline:2px solid var(--cyan);outline-offset:3px}
#auth .genre-preferences>small{display:block;font-size:9px;color:#8798ae;margin-top:11px}
#auth .profile-settings .reading-preferences{margin:20px 0}
#auth #profile-form .handle-input input{border:0;background:none;padding-left:0}
.member-heading .member-handle{font-size:13px;letter-spacing:.3px;color:#a6c6dc;margin:-3px 0 18px;overflow-wrap:anywhere}
.member-actions{flex-wrap:wrap}
.member-share-url{display:block;width:calc(100% - 90px);margin:22px 45px 0;background:#131c29;border:1px solid #526c83;border-radius:8px;color:#cce8f4;padding:13px;font:12px 'DM Sans',sans-serif}
.shared-collection-heading{font:500 32px var(--serif);margin:0 0 23px}
.reduce-motion *,.reduce-motion *:before,.reduce-motion *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
.carousel-motion:disabled{cursor:default;opacity:.65}
@media(min-width:801px) and (max-height:800px){.auth-form-section{gap:12px}#auth.personalising .auth-content{padding-top:21px}#auth.personalising #auth-heading{font-size:31px}#auth.personalising #login-form{margin-top:10px}#auth.personalising .auth-mode{margin-bottom:10px}#auth.personalising .reader-option{padding:9px 12px;min-height:53px}#auth.personalising .auth-form-section{gap:12px}#auth.personalising .genre-preferences legend{margin-bottom:9px}#auth.personalising .genre-choice>span{padding:6px 11px}#auth.personalising .auth-switch-copy{margin-top:9px}}
@media(max-width:760px){.member-share-url{width:calc(100% - 40px);margin:20px 20px 0}.member-heading .member-handle{font-size:12px}.auth-form-section{gap:17px}}
@media(max-width:380px){#auth .reader-option{padding:12px 10px;gap:8px}.reader-option-icon{display:none}#auth .reader-option input{right:10px}.genre-choice>span{padding:8px 11px}}
/* Profile studio, adapted from AethrMusik's media-led artist identity. */
.profile-studio{inset:0;margin:auto;padding:0;width:min(1180px,calc(100% - 48px));max-width:none;max-height:94dvh;border:1px solid #3d485d;border-radius:18px;background:#10151f;color:#e7ebf4;overflow:auto;box-shadow:0 30px 120px #000a;scrollbar-color:#3c4a60 #111721}
.profile-studio::backdrop{background:#03070bde;backdrop-filter:blur(13px)}
.ps-top{display:flex;align-items:center;justify-content:space-between;padding:22px 34px;border-bottom:1px solid #ffffff0c;gap:20px;background:#10151ff5;position:sticky;top:0;z-index:5}
.ps-brand{font:28px var(--serif);letter-spacing:-.7px;display:flex;align-items:center;gap:12px}
.ps-brand>span{font:7px 'DM Sans',sans-serif;letter-spacing:2px;color:#a6b2c5;padding:5px 7px;border:1px solid #65728540;border-radius:5px}
.ps-progress{display:flex;align-items:center;gap:13px;font-size:8px;letter-spacing:1.5px;color:#6f8199}
.ps-progress strong{font-weight:450;color:#badde9}.ps-progress i{display:block;width:35px;height:1px;background:#547189}
.ps-close{width:32px;height:32px;border:1px solid #ffffff1a;border-radius:50%;color:#b0bdd0;font-size:13px}
.ps-close:hover{background:#263246}
.ps-intro{padding:33px 40px 29px}.ps-intro>.eyebrow{font-size:8px;letter-spacing:2.6px;color:#a8c8dc}
.ps-intro h2{font:500 48px/1.1 var(--serif);letter-spacing:-.8px;margin:13px 0 11px}.ps-intro em{font-weight:400;color:#b4daec}.ps-intro>p{font-size:12px;color:#91a3bb;line-height:1.8;margin:0}
.ps-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:38px;padding:0 40px 35px;align-items:start}
.ps-preview-side{position:sticky;top:97px;min-width:0}.ps-preview-label{display:flex;align-items:center;gap:7px;color:#9caec5;font-size:7px;letter-spacing:1.25px;margin:0 0 15px}
.ps-preview-label>span:last-child{margin-left:auto;color:#778ba5;font-size:6px;letter-spacing:.8px}.ps-live-dot{height:5px;width:5px;display:block;border-radius:50%;background:#9bd2c6;box-shadow:0 0 10px #9bd2c666}
.ps-preview{border:1px solid #39475b;border-radius:12px;overflow:hidden;background:#101722;box-shadow:0 15px 55px #0004}
.ps-preview-banner{height:180px;position:relative;isolation:isolate;background:linear-gradient(0deg,#17213020,#151c2f22),url('assets/moonlit-castle.png') center 37%/cover}
.ps-banner-caption{position:absolute;top:22px;right:20px;color:#e2ebf4aa;font-size:6px;letter-spacing:2px;z-index:2}
.ps-preview-identity{padding:0 25px 24px;position:relative}.ps-avatar{width:87px;height:87px;position:relative;border:4px solid #101722;outline:1px solid #adc9eb33;border-radius:50%;background:linear-gradient(135deg,#506b85,#2c293e);color:#dbeef8;display:flex;align-items:center;justify-content:center;font:34px var(--serif);margin-top:-44px;overflow:hidden;z-index:2}
.ps-role{position:absolute;top:15px;right:25px;border:1px solid #92bad755;border-radius:20px;font-size:7px;letter-spacing:1.5px;padding:6px 9px;color:#a9cadf}
.ps-preview-identity h3{font:500 35px/1.1 var(--serif);letter-spacing:-.5px;margin:21px 0 7px;overflow-wrap:anywhere}.ps-handle{font-size:10px!important;color:#96b7d1!important;letter-spacing:.3px;margin:0 0 15px!important}
#ps-preview-bio{font-size:11px;line-height:1.9;color:#a9b6cb;white-space:pre-wrap;overflow-wrap:anywhere;max-height:100px;overflow:auto;margin:0 0 22px}
.ps-preview-tabs{display:flex;gap:26px;border-bottom:1px solid #ffffff12;font-size:10px;color:#8197b3;padding:0 0 13px}.ps-preview-tabs>span:first-child{color:#cae5f1;position:relative}.ps-preview-tabs>span:first-child:after{content:'';position:absolute;bottom:-14px;left:0;right:0;height:2px;background:#9ccfe3}
.ps-empty-books{display:grid;justify-items:center;text-align:center;padding:27px 12px 5px;color:#86a4bf}.ps-empty-books>svg{width:24px;height:24px;margin-bottom:14px}.ps-empty-books>strong{font:500 20px var(--serif);color:#c3d3e6}.ps-empty-books>p{font-size:9px;color:#7e91ac;line-height:1.7;margin:8px 0}
.ps-preview-note{display:flex;gap:8px;align-items:start;font-size:9px;line-height:1.8;color:#7f94af;max-width:420px;margin:19px 4px 0}.ps-preview-note svg{width:12px;height:12px;margin-top:3px}
.ps-controls{display:grid;gap:25px;margin:0;min-width:0}.ps-controls fieldset{display:grid;gap:15px;margin:0;padding:0 0 25px;border:0;border-bottom:1px solid #ffffff0b;min-width:0}
.ps-controls legend{font-size:12px;font-weight:450;color:#d8e2ef;margin-bottom:18px;padding:0}.ps-controls legend>span{font-size:8px;letter-spacing:1px;color:#819bb8;margin-right:10px}
.ps-media-row{position:relative;min-width:0}.ps-upload{position:relative;display:grid;grid-template-columns:31px 1fr;column-gap:12px;row-gap:6px;padding:17px;border:1px dashed #52617a;border-radius:10px;background:linear-gradient(120deg,#21304844,#19203044);cursor:pointer}
.ps-upload>[data-icon]{grid-row:1/4;color:#a9c7db;margin-top:3px}.ps-upload>[data-icon] svg{width:22px;height:22px}.ps-upload strong{font-size:11px;font-weight:450;color:#dbe5f3}.ps-upload small{font-size:9px;color:#8f9fb8;line-height:1.8}.ps-upload-action{font-size:10px;color:#b3d9eb;padding-top:4px}
.ps-upload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.ps-upload:focus-within{outline:2px solid var(--cyan);outline-offset:3px}.ps-upload:hover{border-color:#98bfd4;background:#273a4b55}
.ps-remove{font-size:9px;color:#b2a6bc;text-decoration:underline;text-underline-offset:3px;padding:9px 0 0}.ps-file-name{display:block;font-size:8px;overflow-wrap:anywhere;color:#91bbce;margin-top:7px;max-width:100%}
.ps-position{display:grid;grid-template-columns:1fr auto;gap:11px;font-size:10px;color:#a3b7cd}.ps-position input{grid-column:1/-1;width:100%;accent-color:#a5d6e8;padding:0;cursor:pointer}.ps-position small{grid-column:1/-1;color:#7d91ad;font-size:8px}.ps-position output{font-size:9px;color:#7d94ad}
.ps-theme-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.ps-theme{position:relative;display:grid;justify-items:center;gap:8px;cursor:pointer;min-width:0}.ps-theme>span{display:block;width:100%;height:37px;border-radius:7px;border:1px solid #64738b44}.ps-theme input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.ps-theme:has(input:checked)>span{outline:2px solid #b8ddec;outline-offset:3px}.ps-theme:focus-within>span{outline:2px solid var(--cyan);outline-offset:3px}.ps-theme small{font-size:8px;color:#9cb1cb}.ps-themes>small{font-size:8px;line-height:1.6;color:#7f93af}
.ps-field-row{display:grid;grid-template-columns:1fr 1fr;gap:13px}.ps-controls label:not(.ps-upload):not(.ps-position):not(.ps-theme){display:grid;gap:9px;font-size:10px;color:#b8c7db;min-width:0}
.ps-controls input:not([type=file]):not([type=radio]):not([type=range]),.ps-controls textarea{width:100%;min-width:0;border:1px solid #3b4a60;background:#0d131d;color:#dde8f3;border-radius:7px;font:12px 'DM Sans',sans-serif;padding:11px;line-height:1.6;outline-offset:3px}.ps-controls textarea{resize:vertical;max-height:240px}.ps-controls input:focus-visible,.ps-controls textarea:focus-visible{outline:2px solid var(--cyan)}
.ps-handle-input{display:flex;align-items:center;border:1px solid #3b4a60;border-radius:7px;background:#0d131d;padding:0 11px;gap:7px}.ps-handle-input>span{color:#93bfd6;font-size:12px}.ps-controls .ps-handle-input>input{border:0!important;background:none!important;padding-left:0!important}.ps-controls input::placeholder,.ps-controls textarea::placeholder{color:#627892}.ps-bio-count{text-align:right;font-size:8px;color:#6f88a3}
.ps-message{margin:-8px 0 0;line-height:1.8;font-size:10px;color:#b5c9df;overflow-wrap:anywhere}.ps-save-row{display:flex;align-items:center;justify-content:space-between;gap:18px}.ps-save-row>button:first-child{font-size:10px;color:#91a7c1;padding:12px 0}.ps-save-row>button:last-child{display:flex;align-items:center;justify-content:center;gap:15px;border:1px solid #9dd9efaa;background:linear-gradient(110deg,#b2e2ee,#8ac5e0);color:#142938;border-radius:8px;padding:13px 20px;font-size:11px;font-weight:600;min-height:44px}.ps-save-row svg{width:15px;height:15px}
.profile-media-layer{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none}.profile-media-layer>img,.profile-media-layer>video{width:100%;height:100%;object-fit:cover;object-position:50% var(--header-position,50%);display:block}.profile-media-layer:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#0b1019dd,#0b101923 65%,#0b101933)}
[data-profile-theme]:not([data-profile-theme=moonlight]):not(.has-profile-media){background-image:var(--profile-gradient)!important}.member-hero-inner,.member-watermark{z-index:1}.member-avatar,.profile-avatar{position:relative;overflow:hidden}.member-avatar>img,.profile-avatar>img,.ps-avatar>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.profile-preview .profile-banner{position:relative;isolation:isolate}
@media(max-width:950px){.ps-layout{gap:25px;padding:0 26px 28px}.ps-intro{padding:28px 26px}.ps-preview-label{font-size:6px;letter-spacing:.7px}.ps-preview-label>span:last-child{display:none}.ps-preview-identity{padding:0 20px 20px}.ps-preview-identity h3{font-size:30px}.ps-field-row{grid-template-columns:1fr}.ps-theme-options{gap:8px}.ps-theme small{font-size:7px}.ps-save-row>button:last-child{padding:12px 15px;font-size:10px}}
@media(max-width:760px){.profile-studio{width:calc(100% - 20px);max-height:96dvh;border-radius:14px}.ps-top{padding:16px 20px;gap:12px}.ps-brand{font-size:25px}.ps-progress{font-size:6px;letter-spacing:.8px;gap:7px}.ps-progress i{width:17px}.ps-intro{padding:27px 22px 25px}.ps-intro h2{font-size:38px}.ps-intro>p{font-size:11px}.ps-layout{grid-template-columns:1fr;gap:30px;padding:0 22px 28px}.ps-preview-side{position:static}.ps-preview-banner{height:145px}.ps-preview-identity h3{font-size:32px}.ps-preview-note{font-size:8px}.ps-field-row{grid-template-columns:1fr 1fr}.ps-top .ps-brand>span{display:none}.ps-controls legend{font-size:12px}.ps-theme small{font-size:8px}}
@media(max-width:380px){.ps-field-row{grid-template-columns:1fr}.ps-progress{font-size:5px}.ps-intro h2{font-size:34px}.ps-preview-identity{padding-left:17px;padding-right:17px}.ps-upload{padding:14px;grid-template-columns:24px 1fr;gap:7px}.ps-upload small{font-size:8px}}
@media(max-width:760px){aside nav:first-of-type{justify-content:flex-start;overflow-x:auto;scrollbar-width:none}aside nav:first-of-type::-webkit-scrollbar{display:none}aside nav:first-of-type>button{flex:0 0 auto;justify-content:center;min-width:64px;padding:9px 10px}}
.hide-ai-art main:before,.hide-ai-art .auth-story,.hide-ai-art .member-hero,.hide-ai-art .profile-banner,.hide-ai-art .ps-preview-banner{background-image:linear-gradient(145deg,#152131,#11151f 60%,#242032)!important}
.hide-ai-art .auth-books,.hide-ai-art .profile-media-layer,.hide-ai-art .member-avatar>img,.hide-ai-art .profile-avatar>img,.hide-ai-art .ps-avatar>img{display:none!important}
