:root{color-scheme:dark;--ink:#101113;--panel:#191b1e;--line:#303237;--cream:#f5edde;--muted:#a4a4aa;--accent:#e7a474;--pink:#f27cb6}*{box-sizing:border-box}body{margin:0;background:var(--ink);color:var(--cream);font:14px/1.55 Arial,Helvetica,sans-serif}button,input,textarea,select{font:inherit}button,a,input,textarea,select{outline-offset:5px}button,a{touch-action:manipulation}button{background:#222429;border:1px solid #42444b;border-radius:8px;color:var(--cream);padding:10px 17px;cursor:pointer;transition:background .2s,border-color .2s}button:hover{background:#303237;border-color:#a8a2a0}button:disabled{opacity:.5;cursor:wait}a{color:inherit;text-decoration:none}a:hover{color:var(--accent)}.primary{background:var(--accent);color:#18120e;border-color:var(--accent);font-weight:700}.primary:hover{background:#f0b990}.site-header{height:86px;position:sticky;top:0;z-index:30;display:flex;align-items:center;padding:0 4vw;gap:44px;background:#101113c9;backdrop-filter:blur(20px);border-bottom:1px solid #fff1}.site-brand{width:174px;display:block;flex-shrink:0}.site-brand img{display:block;width:100%;height:66px;object-fit:contain}.site-brand.logo-ready img{height:61px}.site-header nav{display:flex;align-items:center;gap:28px;font-size:12px}.site-header nav a{padding:8px 0;position:relative;color:#c0bec0}.site-header nav a.active{color:var(--cream)}.site-header nav a.active:after{content:'';height:2px;position:absolute;bottom:0;left:0;right:0;background:var(--accent)}.header-end{margin-left:auto;display:flex;align-items:center;gap:20px}#account{border-radius:30px;font-size:12px;white-space:nowrap}.local-pill{font-size:10px;color:#b3afa7;letter-spacing:.8px}.site-footer{border-top:1px solid #ffffff12;margin:0 4vw;padding:28px 0;display:flex;justify-content:space-between;gap:20px;font-size:11px;color:#8c8c93}.spark{color:var(--accent);margin:0 6px}#app{min-height:calc(100vh - 170px)}.wrap{max-width:1400px;margin:auto;padding:55px 4vw 80px}.eyebrow{font-size:10px;letter-spacing:2.7px;text-transform:uppercase;color:var(--accent);font-weight:700}h1,h2,h3,p{margin-top:0}h1,h2{font-family:Georgia,serif;font-weight:400;letter-spacing:-2px;line-height:1.02}h1{font-size:clamp(42px,5.2vw,76px);margin:14px 0 24px}h2{font-size:clamp(32px,3vw,46px);margin:12px 0 22px}h3{font-size:17px;line-height:1.3;margin:0 0 8px;font-weight:500}p{color:var(--muted);max-width:580px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:30px}.page-heading h1{font-size:52px;margin-bottom:12px}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.hero{position:relative;min-height:540px;display:flex;align-items:center;padding:65px 6vw;overflow:hidden;border-bottom:1px solid #fff2;background:radial-gradient(ellipse at 80% 70%,#79503f44,transparent 50%),linear-gradient(130deg,#131518,#292320)}.hero-picture{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.hero:has(.hero-picture):after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#08090bec,#08090ba0 40%,#08090b11)}.hero-content{position:relative;z-index:1;width:min(620px,100%)}.hero h1{font-size:clamp(58px,7.2vw,106px);margin:20px 0 25px}.hero h1 em{color:var(--accent);font-style:normal}.hero p{font-size:16px;max-width:420px;margin-bottom:30px;line-height:1.7}.hero-decoration{position:absolute;right:7%;top:16%;width:300px;height:350px;border:1px solid #e7a47440;transform:rotate(12deg);border-radius:2px;background:linear-gradient(145deg,#f0bd8520,#392c2900)}.hero-decoration:before,.hero-decoration:after{content:'';position:absolute;inset:16px;border:1px solid #e7a47430;transform:rotate(-8deg)}.hero-decoration:after{inset:34px;transform:rotate(-16deg)}.hero-decoration span{position:absolute;top:30%;left:28%;font-family:Georgia;font-size:100px;color:#e7a4749c}.genre-strip{background:var(--cream);color:#252126;padding:26px 5vw;display:flex;align-items:center;justify-content:space-between;gap:26px;flex-wrap:wrap}.genre-strip strong{font:27px Georgia,serif;max-width:220px;line-height:1.1}.genre-links{display:flex;gap:10px;flex-wrap:wrap}.genre-links button{background:transparent;color:#3e3433;border-color:#b7a99c;border-radius:30px;font-size:12px}.genre-links button:hover{background:#dfd1be}.section-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:25px}.section-head h2{margin:10px 0}.section-head a{font-size:12px;border-bottom:1px solid #63574c;padding:8px 0}.book-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:24px}.book-card{position:relative;min-width:0}.cover-link{display:block}.cover{position:relative;aspect-ratio:3/4;border-radius:12px;overflow:hidden;background:linear-gradient(145deg,#3b4143,#1c2024 60%,#5c4035);border:1px solid #ffffff20;transition:transform .25s,border-color .25s;display:flex;align-items:center;justify-content:center}.cover img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.cover .cover-letter{font:100px Georgia,serif;color:#e9cfad73}.cover-link:hover .cover{transform:translateY(-4px);border-color:#c38b64}.cover .badge{position:absolute;left:12px;top:12px;z-index:1;background:#101113d9;border-radius:30px;padding:4px 10px;font-size:10px}.book-card h3{margin:14px 0 6px}.book-card p{font-size:11px;margin:0 0 10px}.heart{color:var(--pink);font-size:14px;border-color:#75445b;background:#362332;border-radius:24px;padding:5px 12px;display:inline-flex;align-items:center;gap:8px}.heart[aria-pressed=true]{background:#643448;border-color:var(--pink)}.heart small{color:#f0cfdd;font-size:10px}.empty{padding:44px;border:1px dashed #4d4543;border-radius:12px;color:#a7a3a3;max-width:100%;background:#171719}.empty h3{font:26px Georgia;color:var(--cream)}.empty p{font-size:13px;margin:12px 0 24px}.muted{color:var(--muted)}.chips{display:flex;gap:7px;flex-wrap:wrap;margin:15px 0}.chip{font-size:10px;background:#ffffff0b;border:1px solid #ffffff26;border-radius:20px;padding:4px 11px}.project-banner{width:100%;height:250px;border-radius:14px;object-fit:cover;display:block;margin-bottom:35px;background:linear-gradient(125deg,#272f34,#4f382d)}.project-lead{display:grid;grid-template-columns:140px 1fr;gap:28px;align-items:start;margin-bottom:40px}.project-lead .cover{border-radius:8px}.project-lead h1{margin-top:8px;font-size:54px}.project-lead p{white-space:pre-line}.chapter-list{display:grid;gap:12px}.chapter-row{display:flex;align-items:center;gap:22px;padding:14px;background:var(--panel);border:1px solid var(--line);border-radius:10px}.chapter-thumb{width:150px;aspect-ratio:16/9;background:linear-gradient(135deg,#354145,#554033);border-radius:6px;object-fit:cover;flex-shrink:0;display:flex;align-items:center;justify-content:center;color:#b39c84;font:32px Georgia}.chapter-details{flex:1;min-width:0}.chapter-details p{font-size:12px;margin:4px 0}.chapter-details small{font-size:10px;color:#b79a80;letter-spacing:1px}.chapter-row .actions{flex-shrink:0}.search-row{display:flex;gap:12px;margin:22px 0 30px}.search-row input{flex:1}.search-row select{width:180px}input,textarea,select{color:var(--cream);background:#121416;border:1px solid #404147;border-radius:7px;padding:12px;max-width:100%}textarea{resize:vertical;min-height:95px}.edit-dialog{width:min(720px,94vw);max-height:90vh;overflow:auto;background:#1b1d20;color:var(--cream);border:1px solid #44464d;border-radius:16px;padding:34px}.edit-dialog::backdrop{background:#000b;backdrop-filter:blur(5px)}.edit-dialog h2{font-size:34px;letter-spacing:-1px;margin:0 0 25px}.edit-dialog form{display:grid;gap:20px}.edit-dialog label{display:flex;flex-direction:column;gap:8px;color:#c9c5c3;font-size:12px}.edit-dialog .form-row{display:grid;grid-template-columns:1fr 1fr;gap:18px}.edit-dialog .form-row label{min-width:0}.edit-dialog .help{font-size:11px;color:#a6a1a0}.edit-dialog .error{color:#ffb2b2}.media-preview{height:88px;background:#101214;border-radius:5px;object-fit:contain;width:100%}.edit-dialog input[type=file]{font-size:11px;padding:9px;width:100%}.edit-dialog .check-label{display:flex;flex-direction:row;align-items:center}.form-bottom{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid #333;padding-top:20px}.chapter-order{padding:7px 10px;font-size:14px}.editor-screen{height:calc(100dvh - 86px);display:flex;flex-direction:column}.editor-heading{height:47px;padding:8px 20px;display:flex;align-items:center;gap:12px;background:#121315;border-bottom:1px solid #333;font-size:12px}.editor-heading button{padding:4px 10px}.editor-heading span{color:#aaa}.editor-screen iframe{width:100%;flex:1;border:0;min-height:0}body:has(.editor-screen) .site-footer{display:none}#notice{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:13px 20px;background:#f1e6d6;color:#26201c;box-shadow:0 8px 40px #0008;border-radius:8px;z-index:120;max-width:90vw;font-size:13px}[hidden]{display:none!important}@media(min-width:1500px){.book-grid{grid-template-columns:repeat(auto-fill,minmax(235px,1fr))}}@media(max-width:800px){.site-header{padding:0 20px;gap:22px;height:75px}.site-brand{width:130px}.site-header nav{gap:16px;font-size:11px}.local-pill{display:none}.header-end{gap:0}.hero{min-height:460px;padding:50px 6vw}.hero-decoration{opacity:.4;right:-60px}.hero-content{max-width:80%}.hero h1{font-size:65px}.book-grid{grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:20px}.chapter-row{flex-wrap:wrap;gap:14px}.chapter-row .actions{margin-left:auto}.page-heading h1{font-size:42px}.project-lead h1{font-size:40px}.editor-screen{height:calc(100dvh - 75px)}.site-footer{flex-direction:column;gap:8px}}@media(max-width:520px){.site-header{height:auto;min-height:80px;flex-wrap:wrap;padding:8px 18px;gap:3px 20px}.site-brand{width:125px}.site-brand img{height:44px}.header-end{order:1}.site-header nav{order:2;width:100%;justify-content:center;gap:34px}.hero h1{font-size:54px}.hero-content{max-width:100%}.hero p{font-size:14px}.wrap{padding:35px 20px 55px}.genre-strip{padding:25px 20px}.genre-strip strong{font-size:23px}.book-grid{grid-template-columns:1fr 1fr;gap:17px}.page-heading{align-items:start;flex-direction:column}.page-heading h1{font-size:40px}.project-lead{grid-template-columns:85px 1fr;gap:17px}.project-lead h1{font-size:34px}.project-banner{height:170px}.chapter-thumb{width:100px}.chapter-row h3{font-size:14px}.chapter-row .actions{width:100%;justify-content:flex-end}.edit-dialog{padding:24px}.edit-dialog .form-row{grid-template-columns:1fr}.search-row{flex-wrap:wrap}.search-row select{width:100%}.editor-screen{height:calc(100dvh - 100px)}.site-footer{font-size:10px}.hero-decoration{display:none}}
.button-link{display:inline-block;padding:12px 23px;border-radius:8px;font-size:13px}.text-link{font-size:12px;padding:9px 0}.auth-dialog .auth-projects{background:#e7a474;color:#17120f}.loading-chapter{cursor:progress}
.edit-dialog .category-fieldset{border:0;margin:0;padding:0;min-width:0}.category-fieldset legend{font-size:12px;color:#c9c5c3;margin-bottom:12px}.category-fieldset legend span{margin-left:10px;color:#e7a474}.category-options{display:flex;gap:8px;flex-wrap:wrap}.edit-dialog .category-option{position:relative;display:flex;flex-direction:row;align-items:center;margin:0;cursor:pointer}.category-option input{position:absolute;opacity:0;width:1px;height:1px}.category-option span{display:inline-block;border:1px solid #45464c;border-radius:24px;padding:8px 14px;font-size:12px;transition:.15s}.category-option:has(input:checked) span{background:#e7a474;color:#21150d;border-color:#e7a474}.category-option:has(input:focus-visible) span{outline:2px solid #f3c49e;outline-offset:3px}.category-option:has(input:disabled) span{opacity:.35;cursor:default}.edit-dialog .chapter-assignment{margin:0;font-size:12px;color:#c7ac94;padding:10px 13px;background:#111315;border:1px solid #3b3734;border-radius:7px}.profile-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:32px;align-items:start}.profile-sidebar{background:#191b1e;border:1px solid #33363b;border-radius:13px;overflow:hidden}.profile-identity{padding:28px 24px 20px}.profile-avatar{width:88px;height:88px;object-fit:cover;border-radius:50%;border:1px solid #655040;display:block;margin-bottom:18px}.avatar-placeholder{display:grid;place-items:center;background:linear-gradient(135deg,#5a4234,#24292c);color:#efb58e;font-size:32px}.profile-identity h3{font-size:20px;overflow-wrap:anywhere}.profile-identity p{font-size:12px;margin:8px 0 0;white-space:pre-line;overflow-wrap:anywhere}.profile-sidebar nav{display:flex;flex-direction:column;padding:12px;border-top:1px solid #33363b}.profile-sidebar nav a{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:11px 13px;border-radius:7px;font-size:13px}.profile-sidebar nav a[aria-current=page]{background:#e7a47419;color:#f1c29f}.profile-sidebar nav small{color:#989199;font-size:10px}.profile-content{min-width:0}.profile-form{display:grid;gap:22px;background:#191b1e;border:1px solid #33363b;border-radius:13px;padding:34px;max-width:720px}.profile-form h2{font-size:34px;letter-spacing:-1px;margin:0 0 4px}.profile-form label{display:flex;flex-direction:column;gap:9px;font-size:12px;color:#c5c1c0}.profile-form .check-label{flex-direction:row;align-items:center;gap:7px}.profile-form textarea{min-height:120px}.profile-form input[type=file]{width:100%;font-size:11px;padding:8px}.profile-form .help{font-size:11px;color:#969399;margin:0}.profile-photo-row{display:flex;gap:22px;align-items:center}.profile-photo-row>.profile-avatar{margin:0;flex-shrink:0;width:100px;height:100px}.profile-photo-row>div:last-child{min-width:0;display:grid;gap:8px}.profile-form .error{color:#ffb4b4;font-size:12px;margin:0}.coming-soon{padding:68px 35px;text-align:center;min-height:400px;border:1px solid #33363b;border-radius:13px;background:radial-gradient(ellipse at 50% 0,#49332a55,transparent 65%),#191b1e}.coming-soon .coming-icon{display:block;font-size:38px;color:#e7a474;margin:0 auto 25px}.coming-soon h2{margin:18px 0;font-size:48px}.coming-soon p{max-width:380px;margin:0 auto 28px;font-size:14px}.coming-soon a{font-size:12px;color:#dcb494}@media(max-width:750px){.profile-layout{grid-template-columns:1fr}.profile-identity{display:none}.profile-sidebar nav{flex-direction:row;flex-wrap:wrap;border:0;gap:3px}.profile-sidebar nav a{flex:1;white-space:nowrap;justify-content:center}.profile-sidebar nav small{display:none}.profile-form{padding:24px}.profile-photo-row{align-items:start;gap:15px}.profile-photo-row>.profile-avatar{width:75px;height:75px}.coming-soon{padding:45px 22px;min-height:320px}}

.compact-editor .editor-heading{display:none}.compact-editor iframe{height:calc(100dvh - 68px)}
.feed-post{margin:18px 0;padding:20px;border:1px solid #36383b;border-radius:12px;background:#191b1d}.feed-post p{white-space:pre-wrap;overflow-wrap:anywhere}.feed-post small{color:#999}
.banner-composer{width:min(1000px,95vw);max-height:90dvh;overflow:auto;background:#191b1d;color:#eee;border:1px solid #444;border-radius:14px;padding:24px}.banner-preview{width:100%;aspect-ratio:8/3;position:relative;overflow:hidden;border:1px solid #444}.banner-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.banner-controls fieldset{min-width:0;border:1px solid #444;border-radius:8px}.banner-controls input[type=checkbox]{width:auto}.composed-banner{position:relative;overflow:hidden}.composed-banner img{position:absolute;max-width:none;transform:translate(-50%,-50%);transition:transform .15s ease-out;pointer-events:none}.hero .composed-banner.hero-picture{position:absolute;inset:0;width:100%;height:100%}.project-banner.composed-banner{aspect-ratio:8/3;width:100%}#language-filter{width:220px;margin-bottom:20px}@media(max-width:700px){.banner-controls{grid-template-columns:1fr}}

.banner-composer form{display:grid;gap:16px}.banner-composer h2{margin:0}.banner-controls label{display:flex;flex-direction:column;gap:6px;margin:12px 0;font-size:12px}.banner-controls label:has(.clear){flex-direction:row;align-items:center}.banner-controls input[type=range]{width:100%}.banner-controls input[type=file]{width:100%;font-size:11px}.banner-preview{position:sticky;top:0;z-index:2;max-height:240px;box-shadow:0 8px 25px #0008}.project-banner.composed-banner{height:auto}.compact-editor iframe{height:auto}

.feed-composer{display:grid;gap:12px;margin:22px 0}.feed-composer label{display:grid;gap:8px}.feed-composer textarea{width:100%;min-height:110px}.feed-composer button{justify-self:end}.creator-lead{display:flex;align-items:center}.creator-lead>div{flex:1}.creator-lead .profile-avatar{flex-shrink:0}
