:root{color:#111;font-synthesis:none;text-rendering:optimizelegibility;--ink:#0b0b0b;--ink-2:#181818;--paper:#faf9f5;--paper-2:#f2f1ec;--paper-3:#e7e5df;--line:#d7d5cf;--line-dark:#bdbab2;--muted:#706e69;--soft:#918f89;--white:#fff;--danger:#b42318;--shadow-sm:0 6px 20px #0000000f;--shadow:0 20px 55px #0000001a;--shadow-heavy:0 28px 90px #00000026;--radius:18px;--ease:cubic-bezier(.2,.7,.2,1);background:#efeee9;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body{min-height:100%;margin:0}html{scroll-behavior:smooth}body{min-width:320px;color:var(--ink);background:radial-gradient(circle at 12% -5%,#fffffff2,#0000 34%),radial-gradient(circle at 92% 18%,#ffffffb8,#0000 30%),linear-gradient(135deg,#f6f5f1 0%,#eae9e4 46%,#f5f4f0 100%);overflow-x:hidden}body:before{content:"";z-index:-1;pointer-events:none;opacity:.24;mix-blend-mode:multiply;background-image:radial-gradient(#0000001f .55px,#0000 .65px),radial-gradient(#ffffff8c .55px,#0000 .7px);background-position:0 0,4px 5px;background-size:9px 9px,13px 13px;position:fixed;inset:0}button,input,select,textarea{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible,select:focus-visible,[contenteditable=true]:focus-visible{outline:2px solid var(--ink);outline-offset:3px}.app{min-height:100vh}.navbar{z-index:1000;-webkit-backdrop-filter:blur(18px)saturate(110%);backdrop-filter:blur(18px)saturate(110%);background:#faf9f5d6;border-bottom:1px solid #0b0b0b1a;align-items:center;min-height:76px;padding:12px clamp(18px,4vw,52px);display:flex;position:sticky;top:0;box-shadow:inset 0 1px #ffffffb3}.profile-menu-wrap{flex:none;position:relative}.profile-trigger{min-height:44px;color:var(--ink);cursor:pointer;transition:transform .2s var(--ease), background .2s ease, box-shadow .2s ease;background:#ffffffad;border:1px solid #0b0b0b1f;border-radius:999px;align-items:center;gap:7px;padding:4px 9px 4px 4px;display:inline-flex;box-shadow:0 5px 16px #0b0b0b0f,inset 0 1px #ffffffe6}.profile-trigger:hover{background:#fff;transform:translateY(-1px);box-shadow:0 9px 22px #0b0b0b1a,inset 0 1px #fffffff2}.profile-avatar{color:#fff;letter-spacing:.02em;background:linear-gradient(145deg,#1b1b1b,#737373);border-radius:50%;place-items:center;width:36px;height:36px;font-size:14px;font-weight:800;display:grid;box-shadow:0 3px 10px #00000029}.profile-chevron{font-size:17px;line-height:1;transform:translateY(-2px)}.profile-dropdown{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);width:248px;animation:profileDrop .18s var(--ease) both;background:#faf9f5f7;border:1px solid #0b0b0b1f;border-radius:16px;padding:9px;position:absolute;top:calc(100% + 10px);left:0;box-shadow:0 22px 55px #00000024,inset 0 2px #fffc}.profile-dropdown-user{align-items:center;gap:10px;padding:9px 8px 11px;display:flex}.profile-dropdown-user div{gap:2px;min-width:0;display:grid}.profile-dropdown-user strong,.profile-dropdown-user small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.profile-dropdown-user strong{font-size:13px}.profile-dropdown-user small{color:var(--muted);font-size:11px}.profile-avatar-small{flex:none;width:32px;height:32px;font-size:12px}.profile-dropdown-divider{background:var(--line);height:1px;margin:2px 5px 7px}.profile-dropdown>button{width:100%;min-height:42px;color:var(--ink);text-align:left;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:11px;padding:9px 10px;font-size:13px;font-weight:650;display:flex}.profile-dropdown>button:hover{background:#0000000e}.profile-dropdown>button>span:first-child{text-align:center;width:20px}.profile-dropdown .profile-signout{color:#7a2525}@keyframes profileDrop{0%{opacity:0;transform:translateY(-5px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.navbar-right{align-items:center;gap:12px;margin-left:auto;display:flex}.logo-right{margin-left:0}.home-pencil{color:#111;cursor:pointer;width:44px;height:44px;transition:transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);background:#ffffff9e;border:1px solid #0b0b0b1f;border-radius:13px;justify-content:center;align-items:center;padding:0;display:flex;box-shadow:0 5px 16px #0b0b0b0f,inset 0 1px #ffffffd9}.home-pencil:hover{background:#fff;transform:translateY(-2px);box-shadow:0 9px 22px #0b0b0b1a,inset 0 1px #fffffff2}.pencil-icon{font-size:20px;line-height:1}.brand-logo{object-fit:contain;mix-blend-mode:multiply;width:clamp(142px,15vw,190px);height:auto;display:block}main{width:100%}.primary,.secondary,.tool-button,.ai-button{border:1px solid var(--line);cursor:pointer;min-height:42px;transition:transform .18s var(--ease), background .22s ease, color .22s ease, border-color .22s ease, box-shadow .22s ease;border-radius:12px;padding:10px 15px}.primary{background:var(--ink);color:#fff;border-color:var(--ink);font-weight:750;box-shadow:0 8px 20px #00000021}.primary:hover{background:#242424;transform:translateY(-2px);box-shadow:0 13px 28px #00000029}.secondary{color:var(--ink);border-color:var(--line);background:#ffffff8f}.secondary:hover{border-color:var(--line-dark);background:#fff;transform:translateY(-1px)}.primary.small,.secondary.small{min-height:35px;padding:7px 11px;font-size:13px}button:disabled{opacity:.4;cursor:not-allowed;transform:none!important}.home{text-align:center;width:min(1180px,100% - 36px);margin:0 auto;padding:clamp(62px,9vw,116px) 0 80px}.home h1{margin:0;letter-spacing:-.045em;max-width:980px;animation:rise .8s 80ms var(--ease) both;margin-inline:auto;font-family:Georgia,serif;font-size:clamp(45px,7.2vw,84px);line-height:.98}.home h1 span{color:#0000;background:linear-gradient(90deg,#090909 0%,#5d5d5d 48%,#090909 100%);-webkit-background-clip:text;background-clip:text;display:block}.home>p{color:#66645f;max-width:620px;animation:rise .8s .15s var(--ease) both;margin:26px auto 30px;font-size:clamp(16px,2vw,19px);line-height:1.65}.feature-grid{grid-template-columns:repeat(4,1fr);gap:13px;display:grid}.home-panels{text-align:left;margin-top:54px}.home-panel{cursor:pointer;text-align:left;min-height:205px;transition:transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s ease, background .3s ease;background:linear-gradient(145deg,#ffffffeb,#ebeae5c2);border:1px solid #0000001c;border-radius:20px;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:8px;padding:25px;display:flex;position:relative;overflow:hidden;box-shadow:0 8px 28px #0000000e}.home-panel-icon{filter:grayscale();font-size:28px}.home-panel strong{letter-spacing:-.02em;margin-top:12px;font-size:18px}.home-panel small{color:var(--muted);max-width:210px;line-height:1.5}.home-panel-arrow{transition:transform .25s var(--ease);margin-top:auto;font-size:22px}.workspace{width:min(1440px,100% - 36px);margin:0 auto;padding:30px 0 70px}.workspace-header{border-bottom:1px solid #0000001a;justify-content:space-between;align-items:flex-end;gap:20px;padding:18px 0 22px;display:flex}.title-area{flex:1;min-width:0}.book-title{width:min(620px,100%);color:var(--ink);letter-spacing:-.03em;background:0 0;border:0;border-bottom:2px solid #0000;outline:none;padding:3px 0 7px;font-family:Georgia,serif;font-size:clamp(28px,4vw,42px);transition:border-color .2s}.book-title:focus{border-bottom-color:var(--ink)}.book-meta{color:var(--muted);margin-top:5px;font-size:13px}.header-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.loading,.error{border:1px solid var(--line);background:#ffffff9e;border-radius:12px;margin-top:14px;padding:13px 15px}.error{color:var(--danger);background:#fff8f7;border-color:#e1b4b0}.editor-layout{grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr);align-items:start;gap:18px;margin-top:18px;display:grid}.editor-layout.before-upload{align-items:stretch}.editor-layout.before-upload .preview-panel,.editor-layout.before-upload .editor-panel{min-height:560px}.editor-layout.before-upload .preview-area,.editor-layout.before-upload .writing-area{min-height:390px}.preview-panel,.editor-panel{background:var(--paper);min-width:0;box-shadow:var(--shadow-sm);border:1px solid #0000001a;border-radius:20px;overflow:hidden}.panel-heading{border-bottom:1px solid var(--line);background:var(--paper);justify-content:space-between;align-items:center;gap:12px;min-height:54px;padding:12px 16px;font-weight:750;display:flex}.preview-label{color:var(--muted);font-size:12px;font-weight:650}.preview-area{background:linear-gradient(135deg,#00000005,#0000 35%),#e9e7e1;min-height:180px;padding:22px;overflow:auto}.preview-area[contenteditable=true]{cursor:text;background:#fff;border-radius:12px;outline:none;min-height:480px;padding:28px;font-family:Georgia,Times New Roman,serif;font-size:17px;line-height:1.85;box-shadow:inset 0 0 10px #00000008}.preview-area[contenteditable=true]:focus{box-shadow:0 0 0 2px var(--ink)}.preview-empty{text-align:center;min-height:160px;color:var(--muted);align-content:center;place-items:center;gap:7px;display:grid}.preview-empty>div{filter:grayscale();font-size:32px}.preview-empty strong{color:var(--ink)}.preview-empty span{max-width:270px;font-size:13px;line-height:1.5}.editor-heading{gap:10px}.toolbar{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:4px;display:flex;position:relative}.toolbar>button{color:#3c3b38;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:9px;min-width:34px;height:34px;padding:0 9px;transition:background .18s,border-color .18s}.toolbar>button:hover{border-color:var(--line);background:#e9e8e3}.more-button{font-size:14px;font-weight:750;padding-inline:11px!important}.more-dropdown{z-index:200;width:min(360px,100vw - 32px);max-height:min(520px,100vh - 120px);box-shadow:var(--shadow-heavy);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#faf9f5fb;border:1px solid #0000001f;border-radius:16px;padding:12px;position:absolute;top:calc(100% + 9px);right:0;overflow-y:auto}.format-group+.format-group{border-top:1px solid #00000014;margin-top:10px;padding-top:9px}.menu-label{color:var(--soft);text-transform:uppercase;letter-spacing:.1em;padding:2px 2px 6px;font-size:10px;font-weight:800;display:block}.format-controls{gap:7px;display:grid}.two-up{grid-template-columns:1fr 1fr}.format-controls select,.format-controls button{border:1px solid var(--line);width:100%;min-height:36px;color:var(--ink);font:inherit;cursor:pointer;background:#fff;border-radius:9px;padding:0 9px}.format-controls button:hover,.upload-control:hover{background:#f0efeb;border-color:#bdbab2}.button-grid{grid-template-columns:repeat(3,1fr)}.colour-grid{grid-template-columns:1fr 1fr}.colour-control{border:1px solid var(--line);background:#fff;border-radius:9px;justify-content:space-between;align-items:center;min-height:36px;padding:5px 8px;font-size:12px;font-weight:650;display:flex}.colour-control input[type=color]{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:6px;width:30px;height:26px;padding:2px}.action-grid{grid-template-columns:1fr 1fr}.upload-control{cursor:pointer;border:1px solid var(--line);background:#fff;border-radius:9px;justify-content:center;align-items:center;min-height:36px;padding:0 8px;font-size:12px;font-weight:650;display:flex}.upload-control input{display:none}.writing-area{color:#181818;background:linear-gradient(#ffffffd6,#ffffffd6),repeating-linear-gradient(0deg,#00000006 0 1px,#0000 1px 5px);outline:none;min-height:260px;max-height:760px;padding:34px clamp(24px,4vw,48px);font-family:Georgia,Times New Roman,serif;font-size:17px;line-height:1.85;overflow-y:auto}.writing-area:empty:before{content:"Start writing your story here...";color:#aaa8a2}.writing-area p{margin:0 0 1em}.editor-footer{border-top:1px solid var(--line);background:#ffffff80;justify-content:space-between;align-items:center;gap:10px;min-height:54px;padding:9px 12px;display:flex}.ai-button{background:var(--ink);color:#fff;border-color:var(--ink);cursor:pointer;border-radius:12px;padding:8px 14px;font-weight:700}.floating-tool{border:1px solid var(--line);box-shadow:var(--shadow-sm);background:#f6f5f0;border-radius:13px;margin:0 12px 12px;padding:15px}.floating-tool input,.ai-input-row input{border:1px solid var(--line);background:#fff;border-radius:10px;outline:none;width:100%;min-height:42px;margin-top:9px;padding:9px 11px}.ai-box p{color:var(--muted);margin:6px 0;font-size:13px;line-height:1.55}.ai-input-row{grid-template-columns:1fr auto;gap:8px;display:grid}.ai-suggestion{border:1px solid var(--line);background:#fff;border-radius:11px;margin-top:12px;padding:13px}.ai-suggestion-text{color:#333;white-space:pre-wrap;font-size:13px;line-height:1.55}.chapter-panel>.section-title,.history-panel-full .section-title,.library-section .section-title{border-bottom:1px solid var(--line);background:#ffffff7a;justify-content:space-between;align-items:baseline;gap:15px;margin:0;padding:17px 18px 13px;display:flex}.section-title h2{letter-spacing:-.025em;margin:0;font-size:19px}.section-title span{color:var(--muted);font-size:13px}.chapter-list{gap:5px;padding:8px;display:grid}.chapter-item{cursor:pointer;background:0 0;border:1px solid #0000;border-radius:12px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px 9px;display:grid}.chapter-item:hover{border-color:var(--line);background:#ffffffb8}.chapter-item.active{background:#fff;border-color:#c9c6bf;box-shadow:0 4px 14px #0000000b}.chapter-main{text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:32px minmax(0,1fr);align-items:center;column-gap:10px;display:grid}.chapter-main>span{border:1px solid var(--line);background:var(--paper-2);width:30px;height:30px;color:var(--muted);border-radius:9px;place-items:center;font-size:12px;font-weight:750;display:grid}.chapter-item.active .chapter-main>span{background:var(--ink);color:#fff;border-color:var(--ink)}.chapter-main strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.chapter-actions{align-items:center;gap:2px;display:flex}.chapter-actions button{cursor:pointer;color:#77736c;background:0 0;border:0;border-radius:8px;place-items:center;width:30px;height:30px;display:grid}.chapter-actions button:hover{color:var(--ink);background:#ecebe6}.chapter-delete:hover{color:var(--danger)!important;background:#fff0ee!important}.history-panel-full{width:100%;padding:0;overflow:hidden}.history-list-polished{gap:9px;max-height:430px;padding:14px 22px 20px;display:grid;overflow:auto}.history-card{border:1px solid var(--line);background:#ffffffb8;border-radius:12px;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:13px;padding:13px 15px;display:grid}.history-card.latest{background:#fff;border-color:#bdb9b0}.history-number{border:1px solid var(--line);background:var(--paper-2);width:30px;height:30px;color:var(--muted);border-radius:9px;place-items:center;font-size:11px;font-weight:800;display:grid}.history-card.latest .history-number{background:var(--ink);color:#fff;border-color:var(--ink)}.history-card-heading{align-items:center;gap:8px;display:flex}.history-card-heading strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.history-badge{color:#57544e;letter-spacing:.08em;text-transform:uppercase;background:#eceae4;border-radius:999px;padding:3px 7px;font-size:9px;font-weight:800}.history-collapsed{width:100%;min-height:64px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:auto 1fr auto auto;align-items:center;gap:10px;padding:12px 16px;display:grid}.reference-chip{border:1px solid var(--line);background:#ffffffa8;border-radius:12px;align-items:center;gap:10px;margin-top:14px;padding:8px 11px;display:flex}.reference-chip img{object-fit:cover;border-radius:8px;width:40px;height:40px}.reference-chip span{text-overflow:ellipsis;white-space:nowrap;color:var(--muted);flex:1;font-size:13px;overflow:hidden}.reference-chip button{cursor:pointer;background:0 0;border:0;font-size:20px}.chapter-ai-cta{box-shadow:var(--shadow-sm);background:radial-gradient(circle at 85% 15%,#0000000e,#0000 30%),linear-gradient(135deg,#f8f7f3,#eceae4);border:1px solid #cbc8c0;border-radius:20px;justify-content:space-between;align-items:center;gap:28px;margin-top:22px;padding:28px;display:flex}.chapter-ai-copy h2{letter-spacing:-.035em;margin:0;font-size:clamp(20px,3vw,28px)}.chapter-ai-copy p{max-width:650px;color:var(--muted);margin:8px 0 0;line-height:1.55}.chapter-ai-button{min-width:270px;min-height:70px;color:var(--ink);text-align:left;cursor:not-allowed;opacity:.82;background:#fff;border:1px solid #c6c3bb;border-radius:14px;grid-template-columns:auto 1fr;align-items:center;column-gap:9px;padding:13px 18px;font-weight:800;display:grid}.chapter-ai-button>span{grid-row:1/span 2;font-size:24px}.chapter-ai-button small{color:var(--muted);margin-top:2px;font-size:10px;font-weight:650;display:block}.library-section{margin-top:18px;padding:18px}.book-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.book-card{border:1px solid var(--line);transition:transform .2s var(--ease), box-shadow .2s ease;background:#ffffff9e;border-radius:14px;grid-template-columns:46px minmax(0,1fr);gap:11px;padding:14px;display:grid}.book-card:hover{box-shadow:var(--shadow-sm);background:#fff;transform:translateY(-3px)}.book-cover{background:linear-gradient(145deg,#fff,#e1dfd8);border:1px solid #c9c6bf;border-radius:5px;place-items:center;width:46px;height:58px;display:grid}.book-card strong{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.book-card small{color:var(--muted);margin-top:5px;line-height:1.45;display:block}.book-actions{grid-column:1/-1;gap:7px;display:flex}.book-actions button{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:9px;flex:1;min-height:34px}.book-actions button:hover{background:var(--ink);color:#fff;border-color:var(--ink)}.book-actions .delete:hover{color:var(--danger)!important;background:#fff0ee!important;border-color:#e5b5b0!important}.manga-workspace{width:min(1280px,100% - 36px);margin:0 auto;padding:42px 0 76px}.manga-header{border-bottom:1px solid #0000001a;justify-content:space-between;align-items:flex-end;gap:24px;padding-bottom:24px;display:flex}.manga-header h1{letter-spacing:-.05em;margin:5px 0 8px;font-family:Georgia,serif;font-size:clamp(34px,5vw,54px)}.eyebrow{color:var(--muted);letter-spacing:.15em;text-transform:uppercase;font-size:10px;font-weight:850;display:inline-block}.status-pill{border:1px solid var(--line);color:var(--muted);background:#ffffffb3;border-radius:999px;padding:7px 11px;font-size:11px;font-weight:750}.manga-grid{grid-template-columns:.9fr 1.1fr;gap:18px;margin-top:18px;display:grid}.manga-card,.manga-results{background:var(--paper);box-shadow:var(--shadow-sm);border:1px solid #0000001a;border-radius:20px;padding:24px}.manga-card-heading>div:first-child{gap:13px;display:flex}.step-number{background:var(--ink);color:#fff;border-radius:10px;place-items:center;width:34px;height:34px;font-size:10px;font-weight:850;display:grid}.manga-card h2,.manga-results h2{letter-spacing:-.035em;margin:0;font-size:20px}.manga-card-heading p{color:var(--muted);margin:5px 0 20px;font-size:13px}.manga-label,.manga-form-grid label>span{color:var(--muted);text-transform:uppercase;letter-spacing:.03em;margin-bottom:7px;font-size:11px;font-weight:800;display:block}.manga-select,.manga-textarea{border:1px solid var(--line);width:100%;color:var(--ink);font:inherit;background:#fff;border-radius:11px;outline:none}.manga-select{min-height:44px;padding:0 12px}.manga-textarea{resize:vertical;min-height:92px;padding:11px 12px}.manga-or{color:var(--soft);letter-spacing:.15em;text-transform:uppercase;align-items:center;gap:10px;margin:18px 0;font-size:9px;font-weight:850;display:flex}.manga-or:before,.manga-or:after{content:"";background:var(--line);flex:1;height:1px}.manga-upload-box{border:1px dashed var(--line-dark);text-align:center;background:#ffffff85;border-radius:15px;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-height:142px;padding:18px;display:flex}.manga-form-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.manga-wide-field{grid-column:1/-1}.manga-generate{border:1px solid var(--ink);background:var(--ink);color:#fff;cursor:pointer;border-radius:13px;width:100%;min-height:54px;margin-top:18px;font-weight:800}.manga-coming-note{color:var(--soft);text-align:center;margin-top:9px;font-size:10px;display:block}.manga-results{margin-top:18px}.manga-results-heading{justify-content:space-between;align-items:flex-end;gap:15px;margin-bottom:18px;display:flex}.manga-output-screen{text-align:center;background:#f5f4f0;border:1px dashed #bdbab2;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;min-height:360px;padding:42px;display:flex}.manga-output-icon{font-size:56px}.manga-page-number{color:var(--soft);letter-spacing:.14em;text-transform:uppercase;font-size:9px;font-weight:850}.video-workspace{width:min(1280px,100% - 36px);margin:0 auto;padding:48px 0 78px}.video-header{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:24px;display:flex}.video-header h1{letter-spacing:-1.8px;margin:7px 0 8px;font-family:Georgia,serif;font-size:clamp(38px,5vw,54px)}.video-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:26px;display:grid}.video-choice-card{border:1px solid var(--line);background:var(--paper);width:100%;min-height:330px;color:var(--ink);text-align:left;box-shadow:var(--shadow-sm);cursor:pointer;border-radius:20px;flex-direction:column;align-items:flex-start;padding:28px;display:flex}.video-choice-card:hover{background:#fff;border-color:#aaa69c;transform:translateY(-3px)}.video-choice-icon{border:1px solid var(--line);background:#f0eee8;border-radius:15px;place-items:center;width:52px;height:52px;font-size:26px;display:grid}.video-choice-card strong{letter-spacing:-.8px;margin-top:8px;font-family:Georgia,serif;font-size:clamp(25px,3vw,34px)}.video-choice-card small{max-width:500px;color:var(--muted);margin-top:10px;font-size:13px;line-height:1.6}.video-choice-arrow{margin-top:auto;padding-top:25px;font-size:24px}.video-builder{grid-template-columns:.82fr 1.18fr;align-items:start;gap:18px;margin-top:18px;display:grid}.video-card{border:1px solid var(--line);background:var(--paper);box-shadow:var(--shadow-sm);border-radius:20px;padding:24px}.video-card-heading{margin-bottom:22px}.video-card-heading>div{align-items:flex-start;gap:13px;display:flex}.video-card-heading h2{margin:0;font-size:20px}.video-card-heading p{color:var(--muted);margin:5px 0 0;font-size:13px}.video-label,.video-form-grid label>span{letter-spacing:.08em;text-transform:uppercase;color:#66635d;margin-bottom:7px;font-size:10px;font-weight:850;display:block}.video-select,.video-textarea{border:1px solid var(--line);width:100%;color:var(--ink);font:inherit;background:#fff;border-radius:11px;outline:none}.video-select{min-height:44px;padding:0 12px}.video-textarea{resize:vertical;min-height:110px;padding:12px}.video-or{color:var(--soft);letter-spacing:.15em;text-transform:uppercase;align-items:center;gap:10px;margin:18px 0;font-size:9px;font-weight:850;display:flex}.video-or:before,.video-or:after{content:"";background:var(--line);flex:1;height:1px}.video-upload-box{text-align:center;cursor:pointer;background:#f8f7f3;border:1px dashed #bcb9b0;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;min-height:148px;padding:20px;display:flex}.video-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;display:grid}.video-wide-field{grid-column:1/-1}.video-generate{color:#fff;cursor:pointer;background:#222;border:1px solid #222;border-radius:12px;width:100%;min-height:50px;margin-top:18px;font-weight:800}.video-coming-note{color:var(--soft);text-align:center;margin-top:9px;font-size:10px;display:block}.video-output-panel{border:1px solid var(--line);background:var(--paper);box-shadow:var(--shadow-sm);border-radius:20px;margin-top:18px;padding:24px}.video-output-heading{justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:18px;display:flex}.video-output-heading h2{margin:5px 0 0;font-family:Georgia,serif;font-size:26px}.video-output-screen{border:1px solid var(--line);text-align:center;background:#e9e7e1;border-radius:15px;flex-direction:column;justify-content:center;align-items:center;min-height:470px;padding:42px;display:flex}.video-output-icon{font-size:58px}.video-page-number{color:var(--soft);letter-spacing:.14em;text-transform:uppercase;margin-top:22px;font-size:9px;font-weight:850}.auth-shell{background:radial-gradient(circle at 0 0,#ffffffe6,#0000 38%),linear-gradient(135deg,#e8e6df,#f5f3ee);place-items:center;min-height:100vh;padding:34px;display:grid;position:relative}.auth-brand{position:absolute;top:28px;left:32px}.auth-logo{width:auto;height:34px}.auth-card{border:1px solid var(--line);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);z-index:1;background:#ffffffd1;border-radius:24px;width:min(470px,100%);padding:38px;position:relative;box-shadow:0 22px 70px #0000001a}.auth-heading h1{letter-spacing:-1.5px;margin:8px 0;font-family:Georgia,serif;font-size:42px;line-height:1.02}.auth-heading p{color:#68665f;margin:0;line-height:1.6}.auth-form{gap:16px;margin-top:28px;display:grid}.auth-form label{gap:7px;display:grid}.auth-form label span{font-size:13px;font-weight:700}.auth-form input{border:1px solid var(--line);width:100%;font:inherit;background:#fff;border-radius:11px;outline:none;padding:13px 14px}.auth-submit{justify-content:center;width:100%;margin-top:4px}.auth-switch{color:#393732;cursor:pointer;background:0 0;border:0;width:100%;margin-top:18px;font-weight:700;display:block}.auth-note{color:#88857d;text-align:center;margin-top:18px;line-height:1.5;display:block}.auth-divider{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;align-items:center;gap:12px;margin:22px 0 14px;font-size:12px;display:flex}.auth-divider:before,.auth-divider:after{content:"";background:var(--line);flex:1;height:1px}.provider-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.provider-button{border:1px solid var(--line);min-height:46px;color:var(--ink);cursor:pointer;background:#ffffffb8;border-radius:12px;justify-content:center;align-items:center;gap:9px;font-size:13px;font-weight:650;display:flex}.provider-button:hover{background:#fff;border-color:#aaa69e;box-shadow:0 8px 20px #1e1d1b12}.provider-mark{border-radius:7px;place-items:center;width:24px;height:24px;font-size:14px;font-weight:800;display:grid}.google-mark{border:1px solid var(--line);background:#fff;font-family:Arial,sans-serif}.microsoft-mark{background:#f1f1ef;font-size:20px}.github-mark{color:#fff;background:#1f1f1f;font-size:18px}.apple-mark{color:#fff;background:#111;font-size:12px}.facebook-mark{color:#fff;background:#1877f2;font-size:18px}.x-mark{color:#fff;background:#111;font-size:13px}.yahoo-mark{color:#fff;background:#6b2ca3;font-size:11px}.bookie-workspace{width:min(1180px,100% - 36px);margin:0 auto;padding:50px 0 80px}.bookie-header{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:22px;display:flex}.bookie-header h1{letter-spacing:-1.5px;margin:8px 0;font-family:Georgia,serif;font-size:48px}.bookie-header p{color:#6c6962;margin:0;line-height:1.6}.bookie-chat-panel{border:1px solid var(--line);background:var(--paper);box-shadow:var(--shadow-sm);border-radius:22px;flex-direction:column;min-height:650px;display:flex;overflow:hidden}.bookie-chat-top{border-bottom:1px solid var(--line);background:#ffffff8c;align-items:center;gap:13px;padding:18px 22px;display:flex}.bookie-chat-top div:last-child{flex-direction:column;gap:2px;display:flex}.bookie-chat-top strong{font-size:15px;line-height:1.2}.bookie-chat-top span{color:var(--muted);font-size:13px}.bookie-avatar{color:#fff;background:#222;border-radius:13px;place-items:center;width:44px;height:44px;font-size:21px;display:grid}.bookie-chat-messages{background:linear-gradient(#ffffff6b,#f2f0ea8c);flex-direction:column;flex:1;gap:12px;min-height:470px;padding:28px;display:flex;overflow:auto}.bookie-empty-state{text-align:center;color:#6f6c65;max-width:520px;margin:auto}.bookie-empty-icon{background:#e9e7e0;border-radius:18px;place-items:center;width:64px;height:64px;margin:0 auto 16px;font-size:29px;display:grid}.bookie-empty-state h2{color:#272622;margin:0 0 8px;font-family:Georgia,serif;font-size:29px}.bookie-message{white-space:pre-wrap;border-radius:15px;max-width:min(760px,82%);padding:12px 15px;line-height:1.55}.bookie-message.user{color:#fff;background:#222;border-bottom-right-radius:5px;align-self:flex-end}.bookie-message.bookie{border:1px solid var(--line);color:#292824;background:#fff;border-bottom-left-radius:5px;align-self:flex-start}.bookie-chat-input{border-top:1px solid var(--line);background:var(--paper);gap:10px;padding:16px;display:flex}.bookie-chat-input input{font:inherit;background:#fff;border:1px solid #c9c6be;border-radius:13px;outline:none;flex:1;padding:14px 15px}.bookie-chat-input button{color:#fff;cursor:pointer;background:#171717;border:0;border-radius:13px;padding:0 21px;font-weight:800}.manage-books-workspace{width:min(1180px,100% - 36px);margin:0 auto;padding:48px 0 76px}.manage-books-header{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:22px;display:flex}.manage-books-header h1{letter-spacing:-.035em;margin:6px 0 8px;font-family:Georgia,serif;font-size:clamp(36px,5vw,54px)}.manage-books-toolbar{border:1px solid var(--line);background:var(--paper);box-shadow:var(--shadow-sm);border-radius:16px;justify-content:space-between;align-items:center;gap:18px;margin-bottom:14px;padding:14px 16px;display:flex}.manage-books-count{align-items:baseline;gap:7px;padding-left:4px;display:flex}.manage-books-count strong{font-size:20px}.manage-search{border:1px solid var(--line);background:#ffffffb8;border-radius:11px;align-items:center;gap:8px;width:min(360px,100%);min-height:42px;padding:0 12px;display:flex}.manage-search input{width:100%;color:var(--ink);font:inherit;background:0 0;border:0;outline:0}.manage-books-panel{border:1px solid var(--line);background:var(--paper);box-shadow:var(--shadow-sm);border-radius:20px;overflow:hidden}.manage-book-row{border-bottom:1px solid var(--line);grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:18px;padding:18px 20px;display:grid}.manage-book-row:last-child{border-bottom:0}.manage-book-cover{border:1px solid var(--line);background:#e8e4dc;border-radius:9px;place-items:center;width:64px;height:82px;font-size:26px;display:grid;overflow:hidden}.manage-book-cover img{object-fit:cover;width:100%;height:100%}.manage-book-info{gap:5px;min-width:0;display:grid}.manage-book-info strong{text-overflow:ellipsis;white-space:nowrap;font-family:Georgia,serif;font-size:19px;overflow:hidden}.manage-book-info span,.manage-book-info small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.manage-book-actions{align-items:center;gap:8px;display:flex}@keyframes rise{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}@media (max-width:1000px){.feature-grid{grid-template-columns:repeat(2,1fr)}.book-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:760px){.navbar{min-height:66px;padding:10px 16px}.home{padding-top:52px}.feature-grid,.video-choice-grid,.manga-grid,.video-builder,.editor-layout,.book-grid{grid-template-columns:1fr}}.shared-memory-panel{border:1px solid var(--line);box-shadow:var(--shadow-sm);background:linear-gradient(145deg,#ffffffe6,#f2f1eceb);border-radius:20px;margin:0 0 18px;padding:22px}.shared-memory-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.shared-memory-heading h2{letter-spacing:-.025em;margin:6px 0 8px;font-family:Georgia,serif;font-size:clamp(22px,3vw,30px)}.shared-memory-heading p{max-width:700px;color:var(--muted);margin:0;font-size:13px;line-height:1.6}.shared-memory-badge{border:1px solid var(--line);background:#ffffffbf;border-radius:999px;flex:none;padding:7px 10px;font-size:11px;font-weight:750}.shared-memory-label{margin:18px 0 7px;font-size:12px;font-weight:750;display:block}.shared-memory-input{resize:vertical;border:1px solid var(--line);width:100%;min-height:110px;color:var(--ink);background:#ffffffdb;border-radius:12px;padding:13px 14px;line-height:1.6;display:block}.shared-memory-actions{justify-content:space-between;align-items:center;gap:12px;margin-top:10px;display:flex}.shared-memory-actions small{color:var(--muted);font-size:11px;line-height:1.5}@media (max-width:600px){.shared-memory-panel{padding:16px}.shared-memory-heading{flex-direction:column}.shared-memory-actions{flex-direction:column;align-items:flex-start}}.auth-card .google-only-button{justify-content:center;align-items:center;gap:14px;width:100%;padding:16px 22px;font-size:15px;display:flex}.google-glyph{color:#202020;background:#fff;border-radius:50%;place-items:center;width:30px;height:30px;font-size:18px;font-weight:900;display:inline-grid}.auth-error{color:#a12626;margin:10px 0;font-size:13px}.video-output-screen #videoOutputSmall{overflow-wrap:anywhere}:root{--ink:#242823;--ink-2:#353a32;--paper:#fffef9;--paper-2:#f5f4ef;--paper-3:#e9e7df;--line:#deddd4;--line-dark:#aaac9f;--muted:#74796d;--soft:#8a8e82;--shadow-sm:none;--shadow:none;--radius:12px}body{color:var(--ink);background:#f5f4ef}body:before{opacity:.12;background-size:5px 5px,9px 9px}button,input,select,textarea{font-family:inherit}button{font-weight:500}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline-offset:4px;outline:2px solid #788566}button:disabled{opacity:.6}::selection{color:#242823;background:#dce1cb}.primary,.secondary,.ai-button{box-shadow:none;border-radius:7px;min-height:42px;padding:11px 18px;font-size:13px;font-weight:600}.primary{background:var(--ink);border-color:var(--ink)}.primary:hover{box-shadow:none;background:#414936;transform:translateY(-1px)}.secondary:hover{box-shadow:none}.primary.big{border-radius:7px;min-height:48px;padding:14px 23px;font-size:13px}.primary.big span{margin-left:27px;font-size:19px}.eyebrow,.welcome-kicker{letter-spacing:.16em;color:var(--muted);font-size:10px;font-weight:650}.text-button,.hero-secondary{cursor:pointer;color:var(--ink);background:0 0;border:0;font-size:12px}.text-button:hover,.hero-secondary:hover{text-underline-offset:5px;text-decoration:underline}.wordmark{letter-spacing:-1.4px;font-size:25px;font-weight:800}.wordmark>span{font-family:Georgia,serif;font-style:italic;font-weight:400}.navbar{min-height:82px;box-shadow:none;border-color:var(--line);z-index:100;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#f5f4eff0;padding:16px max(28px,50vw - 590px)}.profile-trigger{box-shadow:none;background:0 0;border:0;gap:12px;padding:0}.profile-trigger:hover{box-shadow:none;background:0 0;transform:none}.profile-avatar{color:var(--ink);box-shadow:none;background:#e8eadf;border:1px solid #d7d9cc;width:34px;height:34px;font-family:Georgia,serif;font-size:16px;font-weight:400}.profile-chevron{color:var(--muted);font-size:16px}.workspace-label{font-size:12px;font-weight:600}.nav-breadcrumb{letter-spacing:.2em;color:var(--soft);white-space:nowrap;font-size:9px;position:absolute;left:50%;transform:translate(-50%)}.navbar-right{margin-left:auto}.logo-symbol{width:36px;height:44px;display:block;position:relative;overflow:hidden}.logo-symbol .brand-logo{mix-blend-mode:multiply;max-width:none;height:200px;position:absolute;top:-72px;left:-82px;width:200px!important}.home-pencil{box-shadow:none;border-color:var(--line);background:0 0;border-radius:50%;width:39px;height:39px}.home-pencil:hover{box-shadow:none}.profile-dropdown{background:var(--paper);border-radius:10px;box-shadow:0 12px 40px #24282312}.profile-dropdown-user strong{font-weight:600}.profile-dropdown>button{border-radius:6px;font-size:12px}.home{text-align:left;width:min(1180px,100% - 64px);padding:26px 0 0}.desk-meta{color:var(--soft);letter-spacing:.13em;justify-content:space-between;align-items:center;font-size:9px;display:flex}.desk-meta>span:first-child{align-items:center;gap:8px;display:flex}.status-dot{background:#8a9679;border-radius:50%;width:5px;height:5px;display:inline-block}.home-hero{grid-template-columns:1.2fr .8fr;align-items:center;min-height:350px;padding:30px 0 32px;display:grid}.hero-copy{position:relative}.welcome-kicker{margin-bottom:15px}.home h1{letter-spacing:-4px;max-width:none;margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(48px,5.7vw,78px);font-weight:400;line-height:1.02;animation:.7s both rise}.home h1 em{color:#747e63;font-weight:400}.home h1 .hero-spark{color:#a5ac92;background:0 0;font-family:Georgia,serif;font-size:40px;display:inline-block;position:relative;top:-8px;left:20px}.hero-copy>p{color:var(--muted);margin:19px 0 22px;font-size:13px;line-height:1.8}.welcome-actions{justify-content:flex-start;align-items:center;gap:27px;margin:0;display:flex}.hero-secondary{padding:12px 0;font-size:12px}.hero-secondary span{margin-left:12px}.hero-art{justify-self:end;width:100%;max-width:390px;padding-bottom:10px;position:relative;transform:rotate(-4deg)}.hero-art svg{width:100%;height:auto;display:block}.handwritten{color:#888e7e;font-family:Georgia,serif;font-size:16px;font-style:italic;line-height:1.3;position:absolute;bottom:1px;right:8px;transform:rotate(4deg)}.dashboard-section-heading{justify-content:space-between;align-items:center;gap:15px;margin:10px 0 20px;display:flex}.dashboard-section-heading h2{letter-spacing:-.55px;margin:0;font-family:Georgia,serif;font-size:22px;font-weight:400}.dashboard-section-heading>span{letter-spacing:.18em;color:var(--soft);font-size:8px}.home-panels{grid-template-rows:243px 219px;grid-template-columns:1.16fr 1fr 1fr;gap:17px;margin:0;display:grid}.home-panel{border:1px solid var(--line);box-shadow:none;background:var(--paper);border-radius:10px;gap:0;min-height:0;padding:20px 23px;transition:transform .25s,border-color .25s,box-shadow .25s}.home-panel:hover{background:var(--paper);border-color:#aeb3a3;transform:translateY(-4px);box-shadow:0 10px 25px #2428230a}.card-topline{justify-content:space-between;align-items:center;gap:8px;width:100%;display:flex}.card-number{letter-spacing:.12em;color:var(--muted);font-size:8px}.home-panel-arrow{color:var(--ink);margin:0;font-size:19px;line-height:1}.home-panel:hover .home-panel-arrow{transform:translate(2px,-2px)}.home-panel .card-copy strong{letter-spacing:-.75px;margin:0 0 7px;font-family:Georgia,serif;font-size:24px;font-weight:400;display:block}.home-panel .card-copy small{max-width:none;font-size:11px;line-height:1.8;display:block}.editing-home{background:#e9ecdf;grid-row:span 2}.editing-home:hover{background:#e9ecdf}.editing-illustration{flex:1;place-items:center;width:100%;min-height:200px;display:grid;position:relative}.mini-manuscript{background:#fffef8;border:1px solid #d4d7cb;width:73%;max-width:215px;padding:22px 20px 28px;transition:transform .4s;position:relative;transform:rotate(-8deg);box-shadow:5px 8px #d4dac8}.editing-home:hover .mini-manuscript{transform:rotate(-3deg)}.mini-manuscript>span{letter-spacing:.2em;font-size:6px}.mini-manuscript h3{letter-spacing:-.8px;margin:18px 0;font-family:Georgia,serif;font-size:21px;font-weight:400;line-height:1.1}.ink-line{background:#c9cabc;width:100%;height:1px;margin:7px 0}.ink-line.short{width:65%}.mini-manuscript i{color:#898e7d;margin-top:15px;font-family:Georgia,serif;font-size:8px;display:block}.floating-pencil{color:#414b36;font-family:Georgia,serif;font-size:112px;position:absolute;top:32%;right:12%;transform:rotate(8deg)}.editor-stamp{text-align:center;letter-spacing:.09em;color:#79836b;border:1px solid #a7af98;border-radius:50%;place-content:center;width:59px;height:59px;font-size:7px;display:grid;position:absolute;bottom:29px;left:0;transform:rotate(-15deg)}.card-tag{letter-spacing:.12em;border:1px solid #c3cab6;border-radius:4px;margin-top:16px;padding:5px 8px;font-size:7px;display:inline-block}.manga-art{color:#7b806f;align-self:center;width:100%;max-width:250px;margin:17px 0 10px}.manga-art svg{width:100%;height:88px}.film-art{align-self:center;width:77%;margin:20px 0 14px;position:relative;transform:rotate(-6deg)}.film-frame{background:#e9e7df;border:1px solid #9c9d91;place-items:center;height:70px;display:grid;position:relative}.film-frame>span{color:#7b7e70;font-size:22px}.film-frame i{letter-spacing:.18em;font-size:5px;font-style:normal;position:absolute;bottom:7px;left:9px}.film-ticks{letter-spacing:4px;color:#aaa99d;white-space:nowrap;border:1px solid #aaa99d;border-top:0;height:12px;font-size:9px;line-height:12px;overflow:hidden}.video-home,.video-home:hover{background:#f1eee6}.bookie-home{color:#f4f3eb;background:#292e27}.bookie-home:hover{background:#31372c;border-color:#565e4b}.bookie-home .card-number,.bookie-home .card-copy small,.bookie-home .home-panel-arrow{color:#bdc4ae}.bookie-home .card-copy{width:100%;padding-top:25px;position:relative}.bookie-orbit{color:#b4bfa1;font-family:Georgia,serif;font-size:53px;font-weight:400;line-height:1;position:absolute;top:10px;right:2px}.bookie-home .card-copy strong{font-size:27px}.bookie-card-note{letter-spacing:.13em;color:#a7b097;margin-top:auto;padding-top:23px;font-size:6px}.library-home .card-copy{width:100%;padding-top:29px;position:relative}.library-home .card-copy strong{font-size:25px}.library-card-note{letter-spacing:.1em;color:var(--soft);margin-top:auto;padding-top:20px;font-size:7px}.library-card-note b{color:var(--ink);margin-right:6px;font-weight:500}.shelf-art{border-bottom:1px solid #a2a993;align-items:flex-end;gap:3px;width:45px;height:31px;padding:0 3px;display:flex;position:absolute;top:26px;right:0}.shelf-art i{background:#d1d7c5;border:1px solid #a2a993;width:6px;height:27px}.shelf-art i:nth-child(2){background:0 0;height:23px}.shelf-art i:nth-child(4){height:29px;margin-left:3px;transform:rotate(-14deg)}.shelf-art i:last-child{background:#a2a993;height:20px}.home-recent{margin:37px 0 29px}.home-recent .dashboard-section-heading{margin-bottom:17px}.home-recent .dashboard-section-heading h2{font-size:19px}.home-empty{background:#f0f1e9;border:1px dashed #d1d3c6;border-radius:9px;align-items:center;gap:19px;padding:23px;display:flex}.home-empty>span{color:#9ba48b;font-family:Georgia,serif;font-size:26px}.home-empty strong{font-size:12px;font-weight:500}.home-empty p{color:var(--muted);margin:5px 0 0;font-size:11px}.home-empty button{white-space:nowrap;margin-left:auto}.home-book-row{border:1px solid var(--line);background:var(--paper);border-radius:8px;align-items:center;gap:20px;margin-top:9px;padding:17px;display:flex}.home-book-row>span{background:#e8ecde;border:1px solid #c8ceba;border-radius:2px;place-items:center;width:32px;height:40px;font-family:Georgia,serif;font-size:13px;display:grid}.home-book-row strong{font-family:Georgia,serif;font-size:17px;font-weight:400}.home-book-row small{color:var(--muted);margin-top:4px;font-size:10px;display:block}.home-book-row button{margin-left:auto}.home-footer{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:18px;padding:24px 0 28px;display:flex}.home-footer .wordmark{font-size:20px}.home-footer>span:nth-child(2){letter-spacing:.17em;color:var(--soft);font-size:7px}.home-footer>span:last-child{color:var(--muted);font-family:Georgia,serif;font-size:12px;font-style:italic}.home-footer i{margin-left:10px;font-style:normal}.auth-shell{background:var(--paper);grid-template-columns:1.15fr 1fr;place-items:stretch stretch;padding:0;display:grid;position:relative}.auth-story{background:#e9ecdf;border-right:1px solid #d8ddcb;flex-direction:column;min-height:100vh;padding:38px 58px;display:flex;position:relative;overflow:hidden}.auth-story .wordmark{font-size:26px}.auth-story-copy{z-index:1;margin-top:70px;position:relative}.auth-story-copy h1{letter-spacing:-3px;margin:20px 0;font-family:Georgia,serif;font-size:clamp(48px,5.6vw,78px);font-weight:400;line-height:1.03}.auth-story-copy p{color:#78816c;font-size:13px;line-height:1.8}.auth-art{flex:1;place-items:center;min-height:260px;display:grid;position:relative}.auth-orbit{border:1px solid #c8cfba;border-radius:50%;width:340px;height:195px;position:absolute;transform:rotate(-24deg)}.auth-book{color:#e8ecdc;background:#30392b;border-left:6px solid #262e22;border-radius:2px 7px 7px 2px;width:158px;height:215px;padding:29px 23px;position:relative;transform:rotate(-13deg);box-shadow:6px 5px #c5ccb7,8px 7px #30392b}.auth-book>span{letter-spacing:-1px;font-family:Georgia,serif;font-size:25px;line-height:1.05}.auth-book i{color:#b5bfa5;margin-top:12px;font-family:Georgia,serif;font-size:13px;display:block}.auth-book b{color:#bec9ac;font-size:43px;font-weight:400;position:absolute;bottom:16px;right:22px}.auth-art-note{color:#859075;font-family:Georgia,serif;font-size:15px;font-style:italic;position:absolute;bottom:35px;right:0;transform:rotate(-7deg)}.auth-bottom{color:#8c957e;letter-spacing:.12em;justify-content:space-between;margin-top:20px;font-size:7px;display:flex}.auth-card{width:min(390px,100% - 64px);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0;border-radius:0;place-self:center;padding:35px 0}.auth-heading h1{letter-spacing:-1.8px;margin:15px 0;font-size:44px;font-weight:400}.auth-heading p{color:var(--muted);font-size:13px;line-height:1.8}.auth-card .google-only-button{box-shadow:none;border-radius:7px;min-height:52px;margin-top:32px;font-size:12px;font-weight:500}.google-glyph{width:22px;height:22px;font-size:15px}.auth-divider{letter-spacing:.12em;text-transform:uppercase;margin:29px 0 17px;font-size:8px}.explore-button{justify-content:space-between;align-items:center;width:100%;min-height:48px;font-size:12px;display:flex}.auth-note{color:var(--soft);margin-top:21px;font-size:10px;line-height:1.8}.auth-card-bottom{color:#8a917d;text-align:center;margin-top:55px;font-family:Georgia,serif;font-size:13px;font-style:italic;display:block}.auth-error{border-left:2px solid #ba7969;margin-top:20px;padding-left:12px;font-size:12px;line-height:1.7}.workspace{width:min(1320px,100% - 64px);padding-top:26px}.workspace-header{border:0;align-items:center;padding:14px 0 22px}.title-area .eyebrow{margin-bottom:12px;display:block}.book-title{letter-spacing:-1.7px;padding:0;font-size:40px;font-weight:400}.book-meta{margin-top:8px;font-size:11px}.editor-search-bar{background:var(--paper);border:1px solid var(--line);border-radius:35px;align-items:center;gap:14px;min-height:56px;margin:6px 0 25px;padding:5px 20px;display:flex}.editor-search-bar>span:first-child{color:var(--soft);font-size:24px}.editor-search-bar input{background:0 0;border:0;outline:none;flex:1;min-width:0;font-size:13px}.editor-search-bar #searchMatchCount{color:var(--muted);font-size:10px}.editor-search-bar button{border-left:1px solid var(--line);padding-left:14px;font-size:10px}.replace-bar{gap:10px;margin:-12px 0 20px;display:flex}.replace-bar[hidden]{display:none}.replace-bar input{background:var(--paper);border:1px solid var(--line);border-radius:6px;flex:1;min-width:0;padding:10px 15px}.editor-layout{grid-template-columns:1fr 1fr;align-items:stretch;gap:20px}.preview-panel,.editor-panel{background:var(--paper);box-shadow:none;border-radius:10px;min-height:545px;position:relative;overflow:visible}.panel-heading{border-radius:10px 10px 0 0;flex-wrap:wrap;gap:8px;min-height:57px;padding:14px 18px;font-size:12px;font-weight:600}.preview-label{color:var(--soft);font-size:8px}.preview-tabs{border:1px solid var(--line);border-radius:5px;gap:3px;margin-left:auto;padding:2px;display:flex}.preview-tabs button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:3px;padding:4px 8px;font-size:9px}.preview-tabs .selected{color:var(--ink);background:#e8ebdf}.preview-area{background:#eeede6;border-radius:0 0 10px 10px;min-height:480px;max-height:650px;padding:24px}.live-page{overflow-wrap:anywhere;background:#fff;min-height:420px;padding:32px 28px;position:relative;box-shadow:0 2px 10px #24282306}.live-page .preview-text{z-index:1;outline:none;min-height:365px;font-family:Georgia,serif;font-size:15px;line-height:1.9;position:relative}.preview-text:empty:before{content:"Your story takes shape here.";color:#b4b6aa;font-style:italic}.watermark-overlay{pointer-events:none;opacity:.12;text-align:center;place-items:center;font-size:36px;font-weight:700;display:grid;position:absolute;inset:0;overflow:hidden;transform:rotate(-25deg)}.preview-empty{font-size:12px;min-height:400px!important}.preview-empty div{filter:grayscale();opacity:.4}.preview-empty span{text-align:center;max-width:260px;font-size:11px;line-height:1.7}.writing-area{overflow-wrap:anywhere;outline:none;max-height:590px;padding:27px 30px;font-family:Georgia,serif;font-size:16px;line-height:1.9;overflow:auto;min-height:420px!important}.writing-area img,.preview-text img{max-width:100%;height:auto}.writing-area:empty:before{color:#afb2a5;font-style:italic}.toolbar{flex-wrap:wrap;align-items:center;gap:3px;display:flex;position:relative}.toolbar>button{min-width:25px;height:27px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:4px;padding:3px 5px;font-size:12px}.toolbar>button:hover,.toolbar>button.active{color:var(--ink);background:#e8ebdf}.toolbar .more-button{border:1px solid var(--line);min-width:42px;margin-left:5px;font-size:9px}.toolbar-divider{background:var(--line);width:1px;height:14px;margin:0 4px}.more-dropdown{z-index:30;background:var(--paper);border:1px solid var(--line);border-radius:9px;width:300px;padding:15px;top:38px;right:0;box-shadow:0 12px 35px #24282315}.format-group{border-bottom:1px solid var(--line);padding:10px 0}.format-group:last-child{border:0}.menu-label{color:var(--muted);font-size:9px}.format-controls button,.format-controls select,.format-group>select{border-radius:5px;padding:7px;font-size:10px}.editor-footer{border-top:1px solid var(--line);min-height:57px;padding:12px 18px}.ai-button{color:#4d5b3f;background:#e8eddd;border-color:#d6ddc7;min-height:30px;padding:8px 13px;font-size:11px}.editor-status{color:var(--soft);font-size:9px}.floating-tool{background:#f1f3e9;border:1px solid #dce2ce;border-radius:8px;margin:13px;padding:18px}.floating-tool strong{font-family:Georgia,serif;font-size:18px;font-weight:400}.floating-tool p,.floating-tool small{color:var(--muted);font-size:11px;line-height:1.7}.floating-tool input{border:1px solid var(--line);background:var(--paper);border-radius:5px;min-width:0;padding:10px;font-size:11px}.ai-input-row{gap:7px;margin-top:12px;display:flex}.ai-input-row input{flex:1}.ai-suggestion-text{white-space:pre-wrap;max-height:350px;font-family:Georgia,serif;font-size:14px;line-height:1.8;overflow:auto}.ai-actions{gap:8px;margin-top:12px;display:flex}.page-break{break-after:page;border:0;border-top:1px dashed #c9cdbf;margin:30px 0}.section-title{padding:21px 24px}.section-title h2{font-family:Georgia,serif;font-size:21px;font-weight:400}.section-title span{font-size:10px}.chapter-panel,.history-panel,.library-section{box-shadow:none;background:var(--paper);border:1px solid var(--line);border-radius:9px}.chapter-list{padding:8px 18px 18px}.chapter-item{border-radius:6px;min-height:64px}.chapter-item.active{box-shadow:none;background:#f0f3e7;border-color:#d8dfc9}.chapter-main>span{background:#e9ecdf;border:0;border-radius:4px;width:28px;height:28px;font-size:10px}.chapter-item.active .chapter-main>span{background:#49563c;border:0}.chapter-main strong{font-size:12px;font-weight:500}.chapter-main small{color:var(--muted);margin-top:5px;font-size:9px;display:block}.chapter-actions button{width:27px;height:27px;font-size:13px}.history-collapsed{min-height:66px;padding:19px 23px}.history-collapsed span{font-size:12px}.history-collapsed small{font-size:9px}.history-collapsed b{font-size:10px;font-weight:500}.history-card{background:#f7f7f0;border-radius:6px;padding:12px}.history-card-heading strong{font-size:12px;font-weight:500}.history-number{border-radius:4px;font-size:10px}.chapter-ai-cta{box-shadow:none;background:#e8ecdd;border:1px solid #dce2cf;border-radius:10px;gap:25px;margin-top:20px;padding:28px}.chapter-ai-kicker{letter-spacing:.14em;color:#7c896b;font-size:8px}.chapter-ai-copy h2{margin-top:10px;font-family:Georgia,serif;font-size:26px;font-weight:400}.chapter-ai-copy p{max-width:580px;font-size:11px;line-height:1.8}.chapter-ai-button{color:#fff;cursor:pointer;min-width:260px;box-shadow:none;background:#2f3927;border:0;border-radius:7px;padding:15px 20px;font-size:12px}.chapter-ai-button small{color:#b8c4a7;margin-top:5px;font-size:8px}.chapter-ai-button>span{font-size:18px}.library-section{padding:0 22px 22px}.library-section .section-title{padding-inline:0}.book-card{box-shadow:none;background:#f8f8f1;border-radius:7px}.book-card:hover{box-shadow:none}.book-cover{filter:grayscale(.5);background:#e3e9d5;border-color:#c5cdb6;font-family:Georgia,serif}.book-card strong{font-family:Georgia,serif;font-size:18px;font-weight:400}.book-card small{font-size:10px}.book-actions button{border-radius:4px;font-size:10px}.empty-library{color:var(--soft);padding:22px;font-size:12px}.no-chapters{color:var(--muted);justify-content:space-between;align-items:center;padding:6px;font-size:11px;display:flex}.manga-workspace,.video-workspace,.manage-books-workspace,.bookie-workspace{width:min(1180px,100% - 64px);padding-top:45px}.manga-header,.video-header,.manage-books-header,.bookie-header{border-bottom:1px solid var(--line);align-items:center;margin-bottom:26px;padding-bottom:25px}.manga-header h1,.video-header h1,.manage-books-header h1,.bookie-header h1{letter-spacing:-2px;margin:12px 0;font-size:48px;font-weight:400}.manga-header p,.video-header p,.manage-books-header p,.bookie-header p{color:var(--muted);max-width:650px;margin-bottom:0;font-size:12px;line-height:1.8}.status-pill,.shared-memory-badge{color:#6c795b;background:#edf0e3;border:1px solid #d7dec9;border-radius:5px;padding:7px 10px;font-size:9px;font-weight:500}.manga-grid,.video-builder{grid-template-columns:1fr 1.18fr;gap:20px}.manga-card,.manga-results,.video-card,.video-output-panel{box-shadow:none;background:var(--paper);border-radius:10px;padding:26px}.step-number{color:#667352;background:#e9ecdf;border-radius:4px;flex-shrink:0;font-size:10px;font-weight:500}.manga-card h2,.video-card-heading h2,.manga-results h2,.video-output-heading h2{letter-spacing:-.6px;font-family:Georgia,serif;font-size:23px;font-weight:400}.manga-card-heading p,.video-card-heading p{font-size:11px;line-height:1.7}.manga-label,.video-label,.manga-form-grid label>span,.video-form-grid label>span{letter-spacing:.08em;font-size:9px;font-weight:500}.manga-select,.video-select,.manga-textarea,.video-textarea{background:#fbfbf7;border-radius:6px;outline:none;padding:12px;font-size:12px}.manga-select:focus,.video-select:focus,.manga-textarea:focus,.video-textarea:focus{border-color:#9aa78a}.manga-textarea,.video-textarea{min-height:100px;line-height:1.7}.manga-upload-box,.video-upload-box{min-height:170px;box-shadow:none;background:#f2f4eb;border:1px dashed #bdc6ae;border-radius:7px}.manga-upload-box strong,.video-upload-box strong{font-size:12px;font-weight:500}.manga-upload-box small,.video-upload-box small{color:var(--muted);font-size:10px}.upload-book-icon{color:#758763;font-size:26px}.manga-generate,.video-generate{background:var(--ink);border-color:var(--ink);border-radius:7px;min-height:46px;font-size:12px;font-weight:500;transition:background .2s}.manga-generate:hover,.video-generate:hover{background:#414936}.manga-coming-note,.video-coming-note,.video-field-note{color:var(--soft);font-size:9px;line-height:1.7}.manga-output-screen,.video-output-screen{min-height:270px;color:var(--muted);background:#f1f2e9;border:1px dashed #d7dccb;border-radius:7px;padding:30px}.manga-output-icon,.video-output-icon{filter:grayscale();opacity:.4;font-family:Georgia,serif;font-size:36px}.manga-output-screen>strong,.video-output-screen>strong{color:var(--ink);margin:14px 0;font-family:Georgia,serif;font-size:25px;font-weight:400}.manga-output-screen>small,.video-output-screen>small{max-width:480px;font-size:11px;line-height:1.8}.video-choice-grid{gap:22px}.video-choice-card{min-height:350px;box-shadow:none;background:#edf0e3;border-radius:10px;padding:30px;position:relative;overflow:hidden}.video-choice-card:nth-child(2){background:#e9e7de}.video-choice-card:after{content:"01";letter-spacing:-15px;color:#3b442710;pointer-events:none;font-family:Georgia,serif;font-size:155px;line-height:1;position:absolute;bottom:-20px;right:14px}.video-choice-card:nth-child(2):after{content:"02"}.video-choice-card:hover{box-shadow:none;background:#e7ecda;border-color:#a7b196}.video-choice-card strong{letter-spacing:-1.2px;margin-top:16px;font-size:36px;font-weight:400}.video-choice-card small{max-width:310px;font-size:12px}.video-choice-icon{filter:grayscale();background:0 0;border:0;place-items:start;width:auto;height:37px;margin-bottom:25px;padding:0;font-size:29px}.video-choice-arrow{padding-top:33px;font-size:25px}.output-document{text-align:left;white-space:pre-wrap;width:100%;color:var(--ink);overflow-wrap:anywhere;max-height:650px;padding:8px;font-family:Georgia,serif;font-size:14px;line-height:1.85;overflow:auto}.output-actions{justify-content:flex-end;gap:9px;margin-top:15px;display:flex}.generation-status{text-align:center;max-width:400px;font-size:12px;line-height:1.8}.studio-label{letter-spacing:.13em;color:var(--soft);text-transform:uppercase;font-size:9px}.heading-star{color:#8d9c77;vertical-align:middle;margin-left:20px;font-size:28px}.shared-memory-panel{box-shadow:none;background:#edf0e4;border-color:#dce2ce;border-radius:10px;padding:24px}.shared-memory-heading h2{letter-spacing:-.8px;font-family:Georgia,serif;font-size:26px;font-weight:400}.shared-memory-heading p{max-width:690px;font-size:11px}.shared-memory-label{font-size:10px;font-weight:500}.shared-memory-input{background:#fafbf5;border-radius:6px;min-height:85px;font-size:12px}.shared-memory-actions small{font-size:9px}.bookie-chat-panel{box-shadow:none;border-radius:10px;min-height:540px}.bookie-chat-top{background:#fffef9;padding:17px 23px}.bookie-avatar{color:#879d6e;background:#e8eddb;border-radius:50%;width:37px;height:37px;font-size:27px}.bookie-chat-top strong{font-family:Georgia,serif;font-size:19px;font-weight:400}.bookie-chat-top span{font-size:10px}.bookie-chat-messages{background:#fcfcf7;min-height:350px;max-height:600px;padding:30px}.bookie-empty-icon{color:#9aa786;background:0 0;font-size:52px}.bookie-empty-state h2{font-size:30px;font-weight:400}.bookie-empty-state p{color:var(--muted);font-size:12px;line-height:1.8}.chat-starters{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:22px;display:flex}.chat-starters button{cursor:pointer;color:#788669;background:#f0f3e7;border:1px solid #e0e6d3;border-radius:6px;padding:9px 12px;font-size:10px}.bookie-message{border-radius:8px;max-width:86%;padding:17px 20px;font-size:13px;line-height:1.9}.bookie-message.user{background:#30382b}.bookie-message.bookie{background:#f3f6eb;border:1px solid #e3e7d9}.bookie-chat-input{gap:12px;padding:16px 21px}.bookie-chat-input input{background:#fcfcf8;border-radius:6px;min-width:0;padding:14px;font-size:12px}.bookie-chat-input button{background:#30382b;border-radius:6px;padding:0 21px;font-size:11px}.bookie-help{color:var(--soft);text-align:center;margin:13px 0;font-size:10px;line-height:1.7}.manage-books-toolbar{box-shadow:none;background:var(--paper);border-radius:8px;padding:17px 20px}.manage-books-count strong{font-family:Georgia,serif;font-size:27px;font-weight:400}.manage-books-count span{color:var(--muted);font-size:11px}.manage-search{background:#f7f8f0;border-radius:6px}.manage-search input{font-size:11px}.manage-books-panel{box-shadow:none;border-radius:9px}.manage-book-row{gap:22px;padding:23px}.manage-book-cover{color:#788a61;letter-spacing:-1px;background:#e7ecd9;border-color:#c6d0b6 #c6d0b6 #c6d0b6 #aebd97;border-left-style:solid;border-left-width:4px;border-radius:3px 6px 6px 3px;font-family:Georgia,serif;font-size:24px;box-shadow:3px 0 #ccd6bc}.manage-book-info strong{font-size:22px;font-weight:400}.manage-book-info span,.manage-book-info small{font-size:10px}.manage-book-actions button{border-radius:5px;font-size:10px}.manage-books-empty{text-align:center;padding:75px 24px}.manage-empty-icon{color:#9fae8b;filter:grayscale();opacity:.5;font-size:35px}.manage-books-empty h2{font-family:Georgia,serif;font-size:27px;font-weight:400}.manage-books-empty p{color:var(--muted);font-size:12px;line-height:1.8}.manage-books-empty button{margin-top:17px}.toast-container{z-index:1000;pointer-events:none;gap:8px;width:max-content;max-width:calc(100vw - 32px);display:grid;position:fixed;bottom:24px;left:50%;transform:translate(-50%)}.toast{color:#f1f4e9;background:#30382b;border-radius:8px;padding:13px 22px;font-size:12px;line-height:1.6;animation:.2s both rise;box-shadow:0 8px 30px #24282316}.toast.error{background:#763e32;border:0}.app-dialog{background:var(--paper);border:1px solid var(--line);width:calc(100% - 40px);max-width:480px;color:var(--ink);border-radius:12px;padding:35px;box-shadow:0 25px 100px #24282326}.app-dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#24282355}.dialog-close{color:var(--muted);cursor:pointer;background:0 0;border:0;font-size:24px;position:absolute;top:9px;right:13px}.app-dialog h2{letter-spacing:-1px;margin:15px 0;font-family:Georgia,serif;font-size:31px;font-weight:400}.app-dialog p{color:var(--muted);font-size:12px;line-height:1.9}.app-dialog input{border:1px solid var(--line);background:#fff;border-radius:6px;width:100%;margin:10px 0 16px;padding:13px;font-size:13px}.dialog-actions{justify-content:flex-end;gap:10px;margin-top:23px;display:flex}.app-dialog ul{color:var(--muted);padding-left:18px;font-size:12px;line-height:2}.download-status{background:#dbe2ce;border-radius:4px;max-width:100%;height:4px;margin-top:10px;overflow:hidden}.download-status span{background:#839e64;height:100%;transition:width .4s;display:block}@media (min-width:1500px){.home-hero{min-height:382px}.home-panels{grid-template-rows:255px 229px}}@media (max-width:1050px){.home{width:calc(100% - 48px)}.home-panels{grid-template-columns:1.1fr 1fr 1fr;gap:12px}.home-panel{padding:18px}.home-panel .card-copy strong{font-size:22px}.home-panel .card-copy small{font-size:10px}.card-number{font-size:6px}.bookie-orbit{font-size:40px;top:14px;right:0}.shelf-art{display:none}.auth-story{padding:35px}.auth-story-copy{margin-top:65px}.auth-art-note{font-size:12px}.chapter-ai-cta{flex-direction:column;align-items:flex-start}.editor-heading{gap:12px}.editor-heading>span{flex-basis:100%}.more-dropdown{left:0;right:auto}.preview-label{display:none!important}.home-footer>span:nth-child(2){display:none}}@media (max-width:760px){.navbar{min-height:70px;padding:12px 24px}.nav-breadcrumb{display:none}.home{width:calc(100% - 40px);padding-top:21px}.desk-meta{letter-spacing:.08em;font-size:7px}.desk-meta #todayDate{font-size:7px}.home-hero{grid-template-columns:1fr 1fr;min-height:315px;padding:35px 0}.home h1{letter-spacing:-3px;font-size:58px}.hero-copy>p{font-size:11px}.hero-art{width:110%;max-width:300px;margin-left:5px}.hero-art .handwritten{font-size:13px}.hero-copy .primary.big{min-height:43px;padding:12px 18px;font-size:11px}.primary.big span{margin-left:12px}.welcome-actions{gap:16px}.hero-secondary{font-size:10px}.home-panels{grid-template-rows:230px 230px 195px;grid-template-columns:1fr 1fr;gap:13px}.editing-home{grid-row:span 2}.library-home{grid-column:1/-1}.library-home .card-copy{padding-top:25px}.library-home .shelf-art{display:flex;top:25px;right:10px}.library-card-note{padding-top:15px}.dashboard-section-heading h2{font-size:21px}.dashboard-section-heading>span{letter-spacing:.09em;font-size:6px}.home-panel .card-copy strong{font-size:23px}.home-panel .card-copy small{font-size:11px}.bookie-orbit{font-size:47px;top:12px;right:5px}.auth-shell{grid-template-columns:1fr}.auth-story{min-height:300px;padding:25px 28px}.auth-story-copy{z-index:2;max-width:70%;margin-top:30px}.auth-story-copy h1{letter-spacing:-2px;margin:13px 0;font-size:44px}.auth-story-copy p{font-size:10px}.auth-story-copy .eyebrow{font-size:7px}.auth-art{opacity:.85;width:150px;height:150px;min-height:0;position:absolute;bottom:30px;right:28px}.auth-book{border-left-width:4px;width:99px;height:139px;padding:18px 13px}.auth-book>span{font-size:16px}.auth-book i{font-size:10px}.auth-book b{font-size:25px;bottom:9px;right:12px}.auth-art-note,.auth-bottom{display:none}.auth-orbit{width:180px;height:100px}.auth-story .wordmark{font-size:23px}.auth-card{width:min(390px,100% - 48px);padding:36px 0}.auth-heading h1{font-size:36px}.auth-card-bottom{margin-top:28px}.workspace,.manga-workspace,.video-workspace,.bookie-workspace,.manage-books-workspace{width:calc(100% - 40px);padding-top:27px}.workspace-header{flex-direction:column;align-items:flex-start;gap:22px}.book-title{font-size:35px}.header-actions{justify-content:flex-start;width:100%}.editor-layout{grid-template-columns:1fr;gap:19px}.editor-heading>span{flex-basis:auto}.more-dropdown{left:auto;right:0}.panel-heading{font-size:12px}.preview-panel{min-height:350px!important}.preview-area{min-height:280px;max-height:420px}.live-page{min-height:260px;padding:25px}.live-page .preview-text{min-height:240px}.preview-empty{min-height:250px!important}.editor-panel{min-height:450px!important}.writing-area{min-height:330px!important}.editor-search-bar{padding-inline:15px}.editor-search-bar button{max-width:83px;font-size:8px}.chapter-ai-cta{padding:24px}.chapter-ai-copy h2{font-size:24px}.chapter-ai-button{width:100%;min-width:0}.section-title{padding:18px}.section-title h2{font-size:21px}.start-chapter-button{max-width:150px;font-size:10px!important}.chapter-list{padding:5px 10px 15px}.manga-grid,.video-builder,.video-choice-grid{grid-template-columns:1fr}.manga-header,.video-header,.manage-books-header,.bookie-header{align-items:flex-start;gap:20px}.manga-header h1,.video-header h1,.manage-books-header h1,.bookie-header h1{letter-spacing:-1.6px;font-size:39px}.manga-header>.status-pill{display:none}.manga-header p,.video-header p,.manage-books-header p,.bookie-header p{font-size:11px}.manga-card,.video-card,.manga-results,.video-output-panel{padding:21px}.manga-upload-box,.video-upload-box{min-height:140px}.video-choice-card{min-height:300px;padding:25px}.video-choice-card strong{font-size:31px}.manage-book-row{grid-template-columns:47px 1fr;gap:18px;padding:20px}.manage-book-cover{width:47px;height:64px;font-size:18px}.manage-book-actions{grid-column:2}.manage-book-info strong{font-size:20px}.manage-books-toolbar{flex-direction:column;align-items:flex-start;gap:20px;padding:18px}.manage-search{width:100%}.manage-books-header{flex-direction:column}.bookie-chat-messages{min-height:350px;padding:23px 17px}.bookie-message{max-width:94%}.bookie-chat-input{padding:13px}.bookie-chat-input button{padding:0 14px}.shared-memory-panel{padding:20px}.bookie-empty-state h2{font-size:27px}.bookie-empty-state p{font-size:11px}.home-empty{flex-wrap:wrap;gap:13px;padding:18px}.home-empty button{margin-left:43px}.home-recent .dashboard-section-heading h2{font-size:17px}.home-recent .text-button{font-size:9px}.home-footer{padding-bottom:26px}.manga-output-screen,.video-output-screen{min-height:245px;padding:23px}}@media (max-width:480px){.hero-art{display:none}.home-hero{grid-template-columns:1fr;min-height:320px;padding:30px 0}.home h1{font-size:65px}.home h1 .hero-spark{font-size:34px;left:20px}.hero-copy>p{font-size:12px}.home-hero .welcome-kicker{font-size:8px}.home-panels{grid-template-rows:auto;grid-template-columns:1fr;gap:14px}.home-panel{min-height:220px;padding:23px}.editing-home{grid-row:auto;min-height:410px}.editing-illustration{min-height:230px}.editing-home .card-copy strong{font-size:32px}.manga-art{max-width:220px;margin:15px 0}.film-art{max-width:200px;margin:20px 0}.bookie-home{min-height:210px}.library-home{grid-column:auto;min-height:210px}.card-number{font-size:8px}.home-panel .card-copy strong{font-size:25px}.bookie-orbit{font-size:52px}.home-recent{margin-top:30px}.desk-meta #todayDate{display:none}.home-footer .wordmark{font-size:20px}.dashboard-section-heading>span{display:none}.home-footer>span:last-child{font-size:10px}.editor-heading{align-items:center}.toolbar>button{min-width:23px;padding:3px}.section-title{gap:13px}.chapter-actions{gap:0}.manga-form-grid,.video-form-grid{grid-template-columns:1fr}.manga-wide-field,.video-wide-field{grid-column:auto}.auth-story-copy{max-width:78%}.auth-art{opacity:.35;right:5px}.auth-story-copy h1{font-size:45px}.auth-story-copy p{font-size:11px}.bookie-chat-top{padding:17px}.shared-memory-badge{white-space:normal;font-size:8px}.app-dialog{padding:27px}.app-dialog h2{font-size:27px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media print{.navbar,.toolbar,.chapter-panel,.history-panel,.editor-panel,.header-actions,.editor-search-bar,.chapter-ai-cta,.library-section,.home-pencil,.toast-container{display:none!important}.workspace,.preview-panel{border:0;width:100%}.editor-layout{display:block}.preview-area{max-height:none;padding:0;overflow:visible}.live-page{box-shadow:none}}.shared-memory-disclosure{border:1px solid var(--line);background:#eef1e5;border-radius:9px;margin-bottom:20px}.shared-memory-disclosure summary{cursor:pointer;color:#647452;justify-content:space-between;padding:18px 22px;font-size:12px;list-style:none;display:flex}.shared-memory-disclosure summary span{color:#8c987e;font-size:9px}.shared-memory-disclosure .shared-memory-panel{border:0;border-top:1px solid var(--line);border-radius:0 0 9px 9px;margin:0}.video-select[hidden],.video-textarea[hidden]{display:none}.video-select[type=number]{margin-top:8px}.book-docx-wrapper{background:0 0!important;padding:0!important}.book-docx-wrapper>section.book-docx{box-shadow:0 2px 10px #2428230a!important}.live-page{overflow:hidden}.preview-area .watermark-overlay:empty{display:none}.home h1{animation:none}.original-docx{transform-origin:0 0}.original-docx .book-docx-wrapper{align-items:center;padding:0!important}.membership-badge{letter-spacing:.08em;color:#4c5e46;background:#f3f5ee;border:1px solid #c9cebf;border-radius:5px;padding:5px 7px;font:700 9px/1.2 Arial,sans-serif}.app-dialog.subscription-dialog{width:min(850px,94vw);max-width:850px;max-height:92dvh;padding:38px;overflow:auto}.subscription-view h2{margin:12px 0 16px;font-size:clamp(32px,5vw,48px);line-height:1.06}.subscription-intro{color:#6e746a;font-size:15px}.plans-grid{grid-template-columns:1fr 1fr;gap:16px;margin:26px 0 20px;display:grid}.plan-card{background:#f8f8f1;border:1px solid #d5d9cc;border-radius:15px;flex-direction:column;padding:24px;display:flex}.plan-plus{background:#eaf0df;border-color:#a4b396}.plan-card h3{margin:16px 0;font:400 28px/1.1 Georgia,serif}.plan-card h3 span{float:right;color:#6a8056}.plan-price{min-height:44px;font:500 21px/1.35 Georgia,serif}.plan-price small{color:#717866;margin-left:5px;font:400 12px Arial,sans-serif;display:inline-block}.plan-card ul{flex:1;padding-left:18px;font-size:13px;line-height:1.7}.plan-card li{margin:7px 0}.plan-card button{width:100%;margin-top:15px}.plan-card button:disabled{opacity:.6;cursor:not-allowed}.plan-current{color:#667856;padding:15px 0 5px;font-size:12px;font-weight:700}.plan-smallprint,.plan-launch-note{color:#717969;line-height:1.6;font-size:12px!important}.billing-actions{flex-wrap:wrap;align-items:center;gap:12px;margin-top:20px;display:flex}.billing-actions a{font-size:12px;text-decoration:none}.billing-feedback{overflow-wrap:anywhere;font-size:13px;line-height:1.6}.text-danger{color:#984b42;font:inherit;cursor:pointer;background:0 0;border:0;font-size:12px;text-decoration:underline}.plan-usage{border:1px solid #d2dac7;border-radius:12px;margin:20px 0;padding:20px}.plan-usage h3{margin:0 0 20px;font:400 22px Georgia,serif}.usage-item{margin:12px 0}.usage-item div{justify-content:space-between;margin-bottom:6px;font-size:12px;display:flex}.usage-item progress{accent-color:#738b5d;width:100%;height:6px}.billing-test-note{background:#f8edcc;border-radius:6px;padding:10px;font-size:12px}.studio-generation-actions{flex-wrap:wrap;align-items:stretch;gap:10px;margin-top:18px;display:flex}.studio-generation-actions button{flex:1;font-size:13px;margin-top:0!important}.video-generate{margin-bottom:10px!important}#renderVideoButton{width:100%;margin-bottom:8px}.generated-media{flex-direction:column;align-items:center;gap:12px;width:100%;margin:16px auto;display:flex}.generated-media img{object-fit:contain;border-radius:8px;max-width:100%;max-height:760px}.generated-media video{background:#20271e;border-radius:8px;width:100%;max-height:480px}.generated-media a{font-size:12px;text-decoration:none}.media-results{padding:20px}.manga-results-heading .secondary{margin-top:12px}.manga-output-screen:has(.generated-media){padding:20px;display:block}.generation-status{overflow-wrap:anywhere}@media (max-width:600px){.plans-grid{grid-template-columns:1fr}.app-dialog.subscription-dialog{padding:28px 18px}.plan-card{padding:20px}.subscription-view h2{font-size:34px}.billing-actions{flex-direction:column;align-items:stretch}.membership-badge{font-size:8px}.studio-generation-actions{flex-direction:column}}[hidden]{display:none!important}.auth-information,.home-footer nav,.information-links{flex-wrap:wrap;align-items:center;gap:18px;display:flex}.auth-information{justify-content:center;margin-top:22px;font-size:12px}.auth-information a,.home-footer nav a,.information-links a{color:inherit;text-underline-offset:4px}.same-window-auth{align-self:center;margin-top:12px;font-size:12px}.cloud-library-bar{border:1px solid var(--line);background:var(--paper);border-radius:16px;flex-wrap:wrap;align-items:center;gap:18px;margin:0 0 24px;padding:20px 24px;display:flex}.cloud-backup-control{white-space:nowrap;align-items:center;gap:9px;font-weight:650;display:flex}.cloud-backup-control input{accent-color:#43583b;width:18px;height:18px}.cloud-library-bar p{color:var(--muted);flex:1;min-width:180px;margin:0;font-size:12px;line-height:1.6}.cloud-library-bar>div{flex-wrap:wrap;gap:8px;display:flex}.export-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:24px 0;display:grid}.file-action{cursor:pointer;justify-content:center;align-items:center;display:inline-flex}.support-form{gap:12px;margin-top:22px;display:grid}.support-form label{gap:6px;font-size:13px;display:grid}.support-form input,.support-form select,.support-form textarea,.movie-project-studio input:not([type=checkbox]),.movie-project-studio select{border:1px solid var(--line);background:var(--paper);width:100%;min-width:0;color:var(--ink);font:inherit;border-radius:9px;padding:11px 13px}.support-form textarea{resize:vertical;min-height:110px}.support-ticket{border-top:1px solid var(--line);overflow-wrap:anywhere;gap:4px;padding:14px 0;display:grid}.support-ticket small{color:var(--muted);font-size:11px}.movie-project-studio{border:1px solid var(--line);background:var(--paper);border-radius:18px;max-width:1400px;margin:32px auto 0;overflow:hidden}.movie-project-studio>summary{cursor:pointer;padding:23px 26px;font:500 23px Georgia,serif;list-style-position:inside;display:list-item}.movie-project-studio>summary span{color:var(--muted);margin-left:18px;font-family:inherit;font-size:11px;line-height:1.5}.movie-project-inner{padding:0 26px 28px}.movie-project-inner>p{max-width:85ch;color:var(--muted);font-size:13px;line-height:1.8}.movie-project-create{align-items:end;gap:14px;margin:22px 0;display:flex}.movie-project-create label{flex:1;gap:8px;font-size:12px;display:grid}.movie-project-picker{gap:8px;max-width:600px;font-size:12px;display:grid}.movie-project-controls{flex-wrap:wrap;align-items:center;gap:9px;margin:20px 0 12px;display:flex}.movie-project-controls>label:last-child{align-items:center;gap:7px;font-size:12px;display:flex}.movie-project-controls input[type=checkbox]{accent-color:#43583b}.movie-scene{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:15px;padding:15px 0;display:flex}.movie-scene>div:first-child{gap:6px;min-width:0;display:grid}.movie-scene strong{overflow-wrap:anywhere;font-size:13px}.movie-scene small{color:var(--muted);font-size:11px}.movie-scene>div:last-child{flex-wrap:wrap;justify-content:flex-end;gap:7px;display:flex}.movie-pagination{color:var(--muted);justify-content:space-between;align-items:center;gap:15px;margin:22px 0;font-size:12px;display:flex}.generated-media{max-width:100%}.generated-media img,.generated-media video{max-width:100%;height:auto}.generated-media .secondary{margin:8px 8px 0 0}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline-offset:3px;outline:3px solid #81946e}@media (max-width:700px){.cloud-library-bar{align-items:flex-start;padding:18px}.cloud-library-bar>div{width:100%}.cloud-library-bar p{order:2;min-width:100%}.export-options{grid-template-columns:1fr}.movie-project-create{flex-direction:column;align-items:stretch}.movie-project-studio>summary{padding:20px;font-size:21px}.movie-project-studio>summary span{margin:10px 0 0 20px;display:block}.movie-project-inner{padding:0 18px 22px}.movie-scene{flex-direction:column;align-items:flex-start}.movie-scene>div:last-child{justify-content:flex-start}.movie-project-controls .primary,.movie-project-controls .secondary{padding:11px 14px}.header-actions{flex-wrap:wrap}.home-footer nav{gap:14px}.support-form input,.support-form textarea,.support-form select,.movie-project-studio input:not([type=checkbox]),.movie-project-studio select{font-size:16px}}.home-panels{grid-template-columns:1.3fr 1fr!important}.home-panels .editing-home,.home-panels .library-home{min-height:355px;grid-column:auto!important}.home-panels .library-home .library-art{min-height:150px}.writing-desk-tools{background:#efeee5;border:1px solid #dddccf;border-radius:14px;align-items:center;gap:24px;margin:20px 0;padding:18px 22px;display:flex}.writing-progress{flex:1;gap:5px;min-width:0;display:grid}.writing-progress .eyebrow{letter-spacing:1.5px;font-size:9px}.writing-progress strong{font-size:15px}.writing-progress>span:last-of-type{color:#686e5e;font-size:12px}.writing-progress progress{accent-color:#677147;width:min(340px,100%);height:5px}.goal-control{color:#626955;gap:6px;font-size:11px;display:grid}.goal-control input{width:140px;min-width:0;font:inherit;color:#293326;background:#faf9f3;border:1px solid #d7d9c9;border-radius:7px;padding:9px 12px}.document-outline{background:#faf9f3;border:1px solid #ddded2;border-radius:10px;margin:0 0 16px}.document-outline summary{cursor:pointer;padding:12px 18px;font-size:13px;font-weight:600}.document-outline summary span{float:right;color:#737767;font-size:11px;font-weight:400}.document-outline nav{border-top:1px solid #e3e2d7;gap:3px;max-height:250px;padding:10px;display:grid;overflow:auto}.document-outline button{text-align:left;font:inherit;cursor:pointer;color:inherit;background:0 0;border:0;border-radius:5px;padding:8px 12px}.outline-chapter{font-size:13px!important;font-weight:600!important}.outline-heading{color:#6e745f!important;font-size:12px!important}.document-outline button:hover,.outline-chapter.selected{background:#e9ebdf}.editor-search-bar{flex-wrap:wrap;gap:10px}.editor-search-bar>input{min-width:150px}.search-navigation{gap:4px;display:flex}.search-option{white-space:nowrap;color:#656d5a;align-items:center;gap:5px;font-size:11px;display:flex}.search-option input{accent-color:#657348}.replace-bar{flex-wrap:wrap;align-items:center;gap:8px}.replace-note{color:#737767;font-size:11px}.chapter-tools{background:#e9ecdf;border:1px solid #d6dcc8;border-radius:15px;justify-content:space-between;align-items:center;gap:25px;margin:24px 0;padding:28px;display:flex}.chapter-tools h2{margin:12px 0;font:400 28px/1.2 Georgia,serif}.chapter-tools p{color:#626b55;max-width:580px;margin:0;font-size:13px;line-height:1.8}.chapter-tool-actions{flex-shrink:0;gap:10px;display:grid}.writing-area{overflow-wrap:anywhere;tab-size:4}.writing-area img{max-width:100%;height:auto}.writing-area table{overflow-wrap:anywhere;max-width:100%}.editor-footer{flex-wrap:wrap;gap:12px}.editor-status{font-size:11px}.shared-memory-panel{margin-top:24px}.focus-writing .preview-panel,.focus-writing .chapter-panel,.focus-writing .history-panel,.focus-writing .reference-chip,.focus-writing .chapter-tools,.focus-writing .library-section,.focus-writing .shared-memory-panel,.focus-writing .document-outline{display:none!important}.focus-writing .editor-layout{max-width:960px;margin:auto;grid-template-columns:minmax(0,1fr)!important}.focus-writing .writing-area{min-height:65vh;padding:46px clamp(22px,6vw,86px);font-size:19px;line-height:1.95}.focus-writing .writing-desk-tools{z-index:15;position:sticky;top:12px;box-shadow:0 8px 25px #2529230a}.focus-writing .editor-panel{box-shadow:0 15px 50px #25292308}.focus-writing .workspace-header{max-width:1100px;margin-inline:auto}::highlight(book-search){color:#242823;background:#e7e9a5}::highlight(book-search-active){color:#18210e;background:#b5c47c}button:focus-visible,summary:focus-visible{outline-offset:3px;outline:2px solid #748353}@media (max-width:760px){.home-panels{grid-template-columns:minmax(0,1fr)!important}.home-panels .editing-home,.home-panels .library-home{min-height:315px}.writing-desk-tools{flex-wrap:wrap;gap:12px;padding:14px}.writing-progress{flex-basis:100%}.goal-control{flex:1}.goal-control input{width:100%}.writing-desk-tools #focusButton{align-self:flex-end}.editor-search-bar>input{flex-basis:65%;width:65%}.editor-search-bar #searchMatchCount{margin-left:auto}.chapter-tools{flex-direction:column;align-items:stretch;padding:22px}.chapter-tool-actions{grid-template-columns:1fr}.replace-bar input{flex-basis:100%;width:100%}.replace-note{flex-basis:100%}.document-outline summary span{display:none}.editor-footer .text-button{font-size:11px}.focus-writing .writing-area{padding:25px 20px}.membership-badge{font-size:8px!important}.navbar .workspace-label{font-size:11px}.navbar{gap:8px}.toolbar{flex-wrap:wrap}.more-dropdown{max-width:calc(100vw - 40px)}.writing-area{min-width:0;max-width:100%}}@media print{.writing-desk-tools,.editor-search-bar,.replace-bar,.document-outline,.chapter-tools,.shared-memory-panel{display:none!important}}.story-notes{background:#f9f8f1;border:1px solid #d8dccd;border-radius:12px;margin:24px 0}.story-notes>summary{cursor:pointer;padding:18px 22px;font-size:14px;font-weight:600}.story-notes>summary span{float:right;color:#747a65;font-size:11px;font-weight:400}.story-notes .shared-memory-panel{background:0 0;border:0;margin:0}.focus-writing .story-notes{display:none}@media (max-width:760px){.story-notes>summary span{display:none}.editor-layout .editor-panel{order:-1}}
