/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-neutral-100:oklch(97% 0 none);--color-neutral-950:oklch(14.5% 0 none);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.relative{position:relative}.block{display:block}.list-item{display:list-item}.table{display:table}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.bg-neutral-950{background-color:var(--color-neutral-950)}.text-neutral-100{color:var(--color-neutral-100)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{color:#f5f3f0;font-synthesis:none;text-rendering:optimizelegibility;--bg:#0b0b0c;--surface:#111113;--surface-raised:#171719;--surface-hover:#1d1d20;--line:#ffffff1a;--line-soft:#fff1;--text:#f5f3f0;--muted:#99979a;--subtle:#6d6b70;--accent:#d9c7ff;--accent-strong:#b493ff;--accent-ink:#1b132e;--warm:#e9c0a1;--danger:#f1a0a8;background:#0b0b0c;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{background:var(--bg);min-width:320px;color:var(--text)}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{color:inherit}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,[role=slider]:focus-visible{outline:2px solid var(--accent-strong);outline-offset:3px}.app-shell{background:radial-gradient(circle at 78% -12%, #7253ac24, transparent 32rem), var(--bg);min-height:100vh}.app-header{z-index:20;border-bottom:1px solid var(--line-soft);-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);background:#0b0b0cdb;height:68px;position:sticky;top:0}.header-inner{align-items:center;gap:48px;width:min(1180px,100% - 48px);height:100%;margin:0 auto;display:flex}.brand{letter-spacing:-.03em;align-items:center;gap:10px;font-size:17px;font-weight:650;display:inline-flex}.syllable-mark{background:linear-gradient(150deg,#e8dcff3d,#e8dcff08);border:1px solid #ffffff73;border-radius:6px;align-items:end;gap:2px;width:20px;height:20px;padding:2px 3px;display:inline-flex}.syllable-mark span{background:var(--accent);border-radius:3px;width:3px;display:block}.syllable-mark span:first-child{opacity:.65;height:7px}.syllable-mark span:nth-child(2){height:12px}.syllable-mark span:nth-child(3){opacity:.8;height:9px}.primary-nav{align-items:center;gap:7px;height:100%;display:flex}.nav-link{height:34px;color:var(--muted);border-radius:9px;align-items:center;gap:8px;padding:0 13px;font-size:13px;display:inline-flex}.nav-link.active{color:var(--text);background:#ffffff17}.nav-link.muted{color:var(--subtle)}.coming-soon{border:1px solid var(--line);color:var(--subtle);letter-spacing:.04em;text-transform:uppercase;border-radius:5px;padding:3px 6px;font-size:10px}.header-actions{align-items:center;gap:18px;margin-left:auto;display:flex}.account-menu{align-items:center;gap:9px;display:flex}.avatar{color:#fff;letter-spacing:.03em;background:linear-gradient(145deg,#9d80b6,#423b62);border:1px solid #ffffff2e;border-radius:50%;place-items:center;width:30px;height:30px;font-size:10px;font-weight:700;display:grid}.account-trigger{cursor:pointer;color:var(--muted);background:0 0;border:0;align-items:center;gap:6px;padding:0;font-size:12px;display:inline-flex}.account-trigger:hover{color:var(--text)}.account-name{text-overflow:ellipsis;white-space:nowrap;max-width:170px;overflow:hidden}.button{cursor:pointer;border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:9px;min-height:38px;padding:0 15px;font-size:13px;font-weight:620;transition:background .18s,border-color .18s,color .18s,transform .18s;display:inline-flex}.button:hover{transform:translateY(-1px)}.button:active{transform:translateY(0)}.button:disabled{opacity:.55;cursor:not-allowed;transform:none}.button-primary{color:#171619;background:#f2eee9;border-color:#eee9e2;box-shadow:0 8px 24px #00000024}.button-primary:hover{background:#fff}.button-secondary{border-color:var(--line);color:var(--text);background:#ffffff0b}.button-secondary:hover{background:#ffffff17;border-color:#fff3}.button-compact{min-height:34px;padding:0 12px;font-size:12px}.button-full{width:100%}.icon-button{border:1px solid var(--line);width:36px;height:36px;color:var(--muted);cursor:pointer;background:0 0;border-radius:50%;place-items:center;padding:0;transition:all .18s;display:grid}.icon-button:hover{color:var(--text);background:#ffffff14;border-color:#ffffff3d}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.library-main{width:min(1060px,100% - 48px);margin:0 auto;padding:68px 0 84px}.library-heading{justify-content:space-between;align-items:end;gap:24px;margin-bottom:30px;display:flex}.eyebrow{color:var(--accent);letter-spacing:.17em;text-transform:uppercase;margin:0 0 9px;font-size:10px;font-weight:750;line-height:1}.library-heading h1{color:var(--text);letter-spacing:-.065em;margin:0;font-size:clamp(38px,5vw,58px);font-weight:540;line-height:.95}.muted-copy{color:var(--muted);margin:15px 0 0;font-size:14px;line-height:1.6}.library-count{border:1px solid var(--line-soft);color:var(--muted);white-space:nowrap;border-radius:999px;align-items:center;gap:8px;padding:9px 12px;font-size:12px;display:inline-flex}.count-dot{background:#9ee7bd;border-radius:50%;width:6px;height:6px;box-shadow:0 0 0 4px #9ee7bd17}.upload-panel{background:linear-gradient(115deg,#7352a330,#231c2d52 54%,#121214e6);border:1px solid #c7adff2e;border-radius:15px;justify-content:space-between;align-items:center;gap:24px;padding:24px;transition:border-color .2s,transform .2s;display:flex;box-shadow:inset 0 1px #ffffff0a,0 24px 70px #00000029}.upload-panel.drag-active{border-color:var(--accent-strong);transform:translateY(-2px)}.upload-panel-copy{align-items:center;gap:15px;display:flex}.upload-icon{width:42px;height:42px;color:var(--accent);background:#decdff1f;border:1px solid #decdff38;border-radius:11px;place-items:center;display:grid}.upload-panel h2{letter-spacing:-.015em;margin:0;font-size:15px;font-weight:620}.upload-panel p{color:var(--muted);margin:5px 0 0;font-size:12px}.upload-panel-action{flex-direction:column;align-items:flex-end;gap:7px;display:flex}.upload-hint{color:var(--subtle);font-size:10px}.alert{border-radius:9px;align-items:center;gap:8px;margin-top:14px;padding:11px 13px;font-size:12px;display:flex}.alert-error{color:var(--danger);background:#6f273133;border:1px solid #f1a0a833}.stat-grid{grid-template-columns:repeat(3,1fr);gap:12px;margin:17px 0 52px;display:grid}.stat-card{border:1px solid var(--line-soft);background:#ffffff06;border-radius:12px;align-items:flex-start;gap:13px;min-height:111px;padding:17px;display:flex}.stat-icon{width:31px;height:31px;color:var(--accent);background:#d9c7ff14;border:1px solid #d9c7ff29;border-radius:8px;place-items:center;display:grid}.stat-label,.stat-detail,.stat-value{margin:0}.stat-label{color:var(--muted);font-size:11px}.stat-value{letter-spacing:-.05em;margin-top:7px;font-size:25px;font-weight:560}.stat-detail{color:var(--subtle);margin-top:2px;font-size:10px}.library-section{scroll-margin-top:85px}.section-toolbar{justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px;display:flex}.filter-tabs{gap:4px;display:flex}.filter-tab{min-height:32px;color:var(--subtle);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;padding:0 11px;font-size:12px;transition:all .18s}.filter-tab:hover{color:var(--muted)}.filter-tab.active{border-color:var(--line);color:var(--text);background:#ffffff12}.search-field{border:1px solid var(--line-soft);width:220px;height:34px;color:var(--subtle);border-radius:8px;align-items:center;gap:8px;padding:0 11px;display:flex}.search-field:focus-within{color:var(--muted);border-color:#d9c7ff66}.search-field input{width:100%;color:var(--text);background:0 0;border:0;outline:0;font-size:12px}.search-field input::placeholder{color:var(--subtle)}.book-list{gap:12px;display:grid}.book-card{border:1px solid var(--line-soft);background:linear-gradient(110deg,#ffffff0a,#ffffff05);border-radius:14px;gap:23px;min-height:226px;padding:22px;transition:border-color .2s,background .2s,transform .2s;display:flex;position:relative;overflow:hidden}.book-card:hover{background:linear-gradient(110deg,#fff1,#ffffff06);border-color:#ffffff2b;transform:translateY(-1px)}.book-card-sheen{pointer-events:none;background:radial-gradient(#b394ff1a,#0000 67%);width:260px;height:220px;position:absolute;top:-90px;right:-50px}.book-cover{z-index:1;width:122px;height:168px;color:var(--accent);background:linear-gradient(145deg,#342b4c,#13111d 75%);border:1px solid #ffffff29;border-radius:7px;flex-direction:column;flex:0 0 122px;justify-content:space-between;align-items:center;padding:14px 12px;display:flex;position:relative;overflow:hidden;box-shadow:10px 12px 25px #00000038}.book-cover img{object-fit:cover;width:100%;height:100%}.cover-kicker{color:#ece0ffb3;letter-spacing:.16em;align-self:flex-start;font-size:8px;font-weight:800}.book-cover strong{letter-spacing:-.14em;font-size:72px;font-weight:500;line-height:.8}.cover-rule{background:#ece0ff73;width:74%;height:1px}.book-card-body{z-index:1;flex-direction:column;flex:1;min-width:0;padding:1px 0 0;display:flex;position:relative}.book-card-topline,.book-progress-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.book-card-topline{min-height:21px}.book-date{color:var(--subtle);font-size:11px}.status-pill{letter-spacing:.03em;align-items:center;gap:6px;font-size:10px;font-weight:650;display:inline-flex}.status-pill span{background:var(--subtle);border-radius:50%;width:6px;height:6px}.status-pill.ready{color:#a7e9c2}.status-pill.ready span{background:#8fe1b3}.status-pill.working{color:var(--warm)}.status-pill.working span{background:#e8b382;box-shadow:0 0 0 4px #e8b38214}.status-pill.failed{color:var(--danger)}.status-pill.failed span{background:var(--danger)}.book-card h2{text-overflow:ellipsis;white-space:nowrap;letter-spacing:-.045em;max-width:620px;margin:19px 0 5px;font-size:23px;font-weight:520;overflow:hidden}.book-author{color:var(--muted);margin:0;font-size:12px}.book-progress-row{max-width:510px;color:var(--subtle);margin-top:auto;font-size:10px}.progress-track{background:#ffffff17;border-radius:999px;max-width:510px;height:4px;margin-top:8px;overflow:hidden}.progress-track span{border-radius:inherit;background:linear-gradient(90deg, var(--accent-strong), #eadffb);height:100%;transition:width .35s;display:block}.book-card-actions{align-items:center;gap:9px;margin-top:17px;display:flex}.book-card-actions .button{min-height:34px;padding:0 12px;font-size:11px}.empty-library{text-align:center;background:#ffffff05;border:1px dashed #ffffff24;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;min-height:270px;padding:28px;display:flex}.empty-icon{border:1px solid var(--line);width:48px;height:48px;color:var(--accent);background:#ffffff0d;border-radius:14px;place-items:center;display:grid}.empty-library h2{letter-spacing:-.03em;margin:17px 0 7px;font-size:18px;font-weight:560}.empty-library p{max-width:340px;color:var(--muted);margin:0 0 18px;font-size:12px;line-height:1.6}.app-footer{border-top:1px solid var(--line-soft);width:min(1060px,100% - 48px);color:var(--subtle);letter-spacing:.09em;justify-content:space-between;margin:0 auto;padding:17px 0 26px;font-size:10px;display:flex}.app-footer span:last-child{letter-spacing:0}.screen-loader,.reader-loading{min-height:100vh;color:var(--muted);align-content:center;place-items:center;gap:13px;font-size:12px;display:grid}.screen-loader p,.reader-loading p{margin:0}.spinner{border:2px solid #ffffff29;border-top-color:var(--accent);border-radius:50%;width:22px;height:22px;animation:.8s linear infinite spin;display:inline-block}.spinner.small{border-width:1.5px;width:14px;height:14px}@keyframes spin{to{transform:rotate(360deg)}}.auth-shell{background:radial-gradient(circle at 68% 42%,#54407d38,#0000 34rem),#0c0c0e;flex-direction:column;min-height:100vh;padding:32px clamp(24px,6vw,84px) 25px;display:flex;position:relative;overflow:hidden}.auth-atmosphere{pointer-events:none;position:absolute;inset:0}.auth-glow{filter:blur(60px);background:#a47def0f;border-radius:50%;width:430px;height:430px;position:absolute;top:10%;left:55%}.auth-orbit{border:1px solid #d2bfff1a;border-radius:50%;position:absolute;transform:rotate(-19deg)}.auth-orbit-one{width:670px;height:520px;top:-230px;right:7%}.auth-orbit-two{width:500px;height:410px;bottom:-310px;left:-110px}.auth-brand-lockup{z-index:1;letter-spacing:-.04em;align-items:center;gap:10px;font-size:18px;font-weight:650;display:inline-flex;position:relative}.auth-layout{z-index:1;flex:1;grid-template-columns:minmax(0,1fr) minmax(340px,430px);align-items:center;gap:clamp(42px,9vw,155px);width:min(1100px,100%);margin:0 auto;display:grid;position:relative}.auth-intro{max-width:520px}.auth-intro h1{letter-spacing:-.075em;max-width:540px;margin:0;font-size:clamp(44px,6vw,78px);font-weight:510;line-height:.96}.auth-intro-copy{max-width:390px;color:var(--muted);margin:27px 0 0;font-size:16px;line-height:1.7}.auth-quote{border-top:1px solid var(--line);gap:13px;max-width:350px;margin-top:75px;padding-top:18px;display:flex}.quote-mark{color:var(--accent);font-family:Georgia,serif;font-size:34px;line-height:.7}.auth-quote p{color:var(--muted);margin:0;font-size:12px;line-height:1.6}.auth-card{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#131316db;border:1px solid #ffffff21;border-radius:16px;padding:27px;box-shadow:0 25px 90px #0000004d}.auth-card-heading{justify-content:space-between;align-items:flex-start;margin-bottom:23px;display:flex}.auth-card-heading h2{letter-spacing:-.05em;margin:0;font-size:25px;font-weight:560}.auth-card-dot{background:var(--accent);border-radius:50%;width:8px;height:8px;box-shadow:0 0 0 5px #d9c7ff1a}.social-stack,.form-stack{gap:9px;display:grid}.divider{color:var(--subtle);align-items:center;gap:12px;margin:21px 0 18px;font-size:10px;display:flex}.divider:before,.divider:after{background:var(--line-soft);content:"";flex:1;height:1px}.field-label{color:var(--muted);gap:7px;font-size:11px;display:grid}.field{border:1px solid var(--line);width:100%;height:42px;color:var(--text);background:#ffffff0b;border-radius:8px;outline:none;padding:0 12px;font-size:13px;transition:border-color .18s,background .18s}.field:hover{background:#ffffff12}.field:focus{background:#ffffff13;border-color:#d9c7ff8c}.form-error{color:var(--danger);margin:2px 0 0;font-size:11px;line-height:1.4}.auth-switch{width:100%;color:var(--muted);cursor:pointer;background:0 0;border:0;margin-top:20px;padding:0;font-size:11px}.auth-switch:hover{color:var(--text)}.auth-footer{z-index:1;color:var(--subtle);text-align:center;margin:0;font-size:10px;position:relative}.reader-shell{background:radial-gradient(circle at 53% 15%,#674b9717,#0000 31rem),#0b0b0c;flex-direction:column;min-height:100vh;display:flex}.reader-header{border-bottom:1px solid var(--line-soft);background:#0b0b0ccc;grid-template-columns:1fr auto 1fr;align-items:center;min-height:64px;padding:0 25px;display:grid}.reader-back{color:var(--muted);cursor:pointer;background:0 0;border:0;justify-self:start;align-items:center;gap:9px;padding:8px 0;font-size:12px;display:inline-flex}.reader-back:hover{color:var(--text)}.reader-header-title{flex-direction:column;align-items:center;gap:4px;display:flex}.reader-header-title span{color:var(--subtle);letter-spacing:.15em;text-transform:uppercase;font-size:9px}.reader-header-title strong{text-overflow:ellipsis;white-space:nowrap;max-width:360px;font-size:13px;font-weight:560;overflow:hidden}.reader-menu{justify-self:end}.reader-layout{flex:1;min-height:0;display:flex}.chapter-sidebar{border-right:1px solid var(--line-soft);background:#0000001f;flex-direction:column;flex:0 0 258px;width:258px;display:flex;overflow:hidden auto}.chapter-sidebar-heading{justify-content:space-between;align-items:center;padding:28px 20px 14px;display:flex}.chapter-list{gap:2px;padding:0 10px 130px;display:grid}.chapter-row{width:100%;color:var(--subtle);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:flex-start;gap:10px;padding:10px;transition:all .18s;display:flex;position:relative}.chapter-row:hover{color:var(--muted);background:#ffffff0b}.chapter-row.active{color:var(--text);background:#d9c7ff1b}.chapter-index{width:24px;min-width:24px;height:20px;color:var(--accent);font-variant-numeric:tabular-nums;place-items:center;font-size:10px;display:grid}.chapter-row-copy{gap:4px;min-width:0;display:grid}.chapter-row-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:520;overflow:hidden}.chapter-row-copy span{color:var(--subtle);font-size:9px}.chapter-progress{background:#ffffff0f;border-radius:99px;height:2px;position:absolute;bottom:5px;left:44px;right:10px;overflow:hidden}.chapter-progress span{background:var(--accent-strong);height:100%;display:block}.mobile-only,.mobile-chapters-trigger{display:none}.reader-content{flex:1;min-width:0;padding:64px clamp(24px,7vw,100px) 170px;overflow:auto}.reader-masthead{border-bottom:1px solid var(--line-soft);align-items:center;gap:24px;width:min(740px,100%);margin:0 auto 48px;padding-bottom:32px;display:flex}.reader-masthead-cover .reader-cover{width:82px;height:112px}.reader-masthead-copy h1{letter-spacing:-.065em;margin:0;font-size:clamp(28px,4vw,44px);font-weight:540;line-height:1}.reader-masthead-copy>p:not(.eyebrow){color:var(--muted);margin:10px 0 0;font-size:13px}.reader-meta{color:var(--subtle);align-items:center;gap:13px;margin-top:18px;font-size:10px;display:flex}.reader-meta span{align-items:center;gap:5px;display:inline-flex}.reader-meta span:first-child{color:var(--accent)}.reader-status-row{justify-content:space-between;align-items:center;width:min(740px,100%);margin:0 auto 20px;display:flex}.build-status{color:var(--warm);align-items:center;gap:7px;font-size:10px;display:inline-flex}.status-pulse{background:currentColor;border-radius:50%;width:6px;height:6px;box-shadow:0 0 0 4px #e8b38214}.reader-alert{width:min(740px,100%);margin:0 auto 24px}.reader-alert button{color:inherit;cursor:pointer;background:0 0;border:0;margin-left:auto;padding:0;font-size:10px}.document-article{width:min(740px,100%);margin:0 auto;padding-bottom:20px}.article-kicker{color:var(--accent);letter-spacing:.13em;text-transform:uppercase;margin-bottom:12px;font-size:10px}.article-title{color:var(--text);letter-spacing:-.05em;margin:0 0 43px;font-size:25px;font-weight:560}.document-chapter{margin:0 0 58px;position:relative}.chapter-rule{background:#d9c7ff75;width:42px;height:1px;margin-bottom:20px}.document-chapter>h3{color:var(--text);letter-spacing:-.04em;margin:0 0 23px;font-size:22px;font-weight:560}.document-block{color:#b9b6bb;cursor:pointer;border:1px solid #0000;border-radius:5px;margin:0;padding:6px 12px;font-family:Georgia,Times New Roman,serif;font-size:18px;line-height:1.8;transition:color .22s,background .22s,border-color .22s;position:relative}.document-block:hover{color:var(--text)}.document-block.active{color:#fff;box-shadow:inset 3px 0 var(--accent-strong);background:linear-gradient(90deg,#a98aea3b,#a98aea0f);border-color:#d9c7ff29}.document-block+.document-block{margin-top:7px}.document-block h4,.document-block h5{font-family:inherit}.document-block h4{color:var(--text);margin-top:25px;font-size:24px;line-height:1.25}.document-block h5{color:#e2dfe4;font-size:20px;line-height:1.35}.document-block blockquote{border-left:2px solid var(--accent-strong);color:#d0c4de;font-style:italic}.document-block li{margin-left:18px;list-style:outside}.document-figure{border:1px solid var(--line);min-height:100px;color:var(--subtle);cursor:pointer;background:#ffffff08;border-radius:10px;place-items:center;margin:24px 0;padding:20px;display:grid}.document-figure img{object-fit:contain;border-radius:5px;max-width:100%;max-height:450px}.document-figure.active{background:#a98aea1a;border-color:#d9c7ff45}.figure-placeholder{align-items:center;gap:8px;font-family:inherit;font-size:12px;display:inline-flex}.document-figure figcaption{color:var(--muted);text-align:center;margin-top:11px;font-family:inherit;font-size:12px;font-style:italic}.reader-empty{min-height:250px;color:var(--muted);place-items:center;gap:10px;display:grid}.reader-empty p{margin:0}.reader-cover{width:100%;height:100%;color:var(--accent);background:linear-gradient(145deg,#342b4c,#13111d 75%);border:1px solid #ffffff29;border-radius:6px;place-items:center;display:grid;position:relative;overflow:hidden;box-shadow:9px 12px 24px #00000038}.reader-cover img{object-fit:cover;width:100%;height:100%}.reader-cover>span{letter-spacing:.14em;font-size:7px;font-weight:800;position:absolute;top:10px;left:10px}.reader-cover strong{font-size:48px;font-weight:500}.reader-cover i{background:#ece0ff80;width:53%;height:1px;position:absolute;bottom:12px}.reader-player{z-index:30;border-top:1px solid var(--line);-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);background:#0d0d0ff0;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -18px 60px #00000052}.player-progress{cursor:pointer;background:#ffffff17;height:4px;overflow:hidden}.player-progress span{border-radius:inherit;background:linear-gradient(90deg, var(--accent-strong), #f1eafa);height:100%;transition:width .25s linear;display:block}.player-inner{grid-template-columns:minmax(190px,1fr) auto minmax(190px,1fr);align-items:center;gap:30px;min-height:91px;padding:14px 25px;display:grid}.player-book{align-items:center;gap:12px;min-width:0;display:flex}.player-book .reader-cover{flex:0 0 43px;width:43px;height:57px}.player-book .reader-cover strong{font-size:25px}.player-book .reader-cover>span{font-size:4px;top:5px;left:5px}.player-book .reader-cover i{bottom:6px}.player-book-copy{gap:4px;min-width:0;display:grid}.player-book-copy strong,.player-book-copy span,.player-book-copy small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.player-book-copy strong{font-size:12px;font-weight:590}.player-book-copy span{color:var(--muted);font-size:10px}.player-book-copy small{color:var(--subtle);font-size:9px}.player-controls{flex-direction:column;align-items:center;gap:8px;display:flex}.player-times{width:224px;color:var(--subtle);font-variant-numeric:tabular-nums;justify-content:space-between;font-size:9px;display:flex}.transport{align-items:center;gap:24px;display:flex}.transport-button{width:26px;height:26px;color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid;position:relative}.transport-button:hover{color:var(--text)}.transport-button small{font-size:7px;font-weight:700;position:absolute}.play-button{color:#151416;cursor:pointer;background:#f2eee9;border:0;border-radius:50%;place-items:center;width:45px;height:45px;transition:transform .18s,background .18s;display:grid}.play-button:hover{background:#fff;transform:scale(1.04)}.player-actions{justify-content:flex-end;align-items:center;gap:10px;display:flex}.speed-control{color:var(--subtle);align-items:center;gap:7px;font-size:10px;display:inline-flex}.speed-control select{border:1px solid var(--line);color:var(--text);background:#ffffff0a;border-radius:7px;outline:none;padding:7px 8px;font-size:11px}.speed-control option{background:#1a191d}.chapter-toggle{min-height:32px;padding:0 10px;font-size:10px}.chapter-toggle.selected{background:#d9c7ff21}.player-chapters{border-top:1px solid var(--line-soft);background:#111113fa;max-height:230px;padding:8px 25px 12px;overflow:auto}.player-chapters button{width:min(700px,100%);color:var(--muted);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:7px;justify-content:space-between;align-items:center;margin:0 auto;padding:9px 11px;display:flex}.player-chapters button:hover,.player-chapters button.active{color:var(--text);background:#ffffff12}.player-chapters span{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.player-chapters small{color:var(--subtle);margin-left:12px;font-size:9px}.reader-error{text-align:center;align-content:center;place-items:center;min-height:100vh;padding:24px;display:grid}.reader-error h1{margin:18px 0 8px;font-size:24px;font-weight:560}.reader-error p{max-width:340px;color:var(--muted);margin:0 0 20px;font-size:12px;line-height:1.6}@media (width<=760px){.header-inner,.library-main,.app-footer{width:min(100% - 32px,600px)}.app-header{height:62px}.header-inner{gap:16px}.primary-nav,.account-name{display:none}.header-actions{gap:10px}.button-compact{min-height:32px}.library-main{padding-top:42px}.library-heading{flex-direction:column;align-items:flex-start;gap:17px}.library-heading h1{font-size:45px}.upload-panel{flex-direction:column;align-items:flex-start;padding:18px}.upload-panel-action{align-items:flex-start;width:100%}.upload-panel-action label{width:100%}.stat-grid{gap:8px;margin-bottom:38px}.stat-card{min-height:105px;padding:13px}.stat-card .stat-icon{display:none}.stat-label{font-size:10px}.stat-value{font-size:22px}.section-toolbar{flex-direction:column;align-items:stretch}.search-field{width:100%}.book-card{gap:15px;min-height:194px;padding:15px}.book-cover{flex-basis:82px;width:82px;height:116px;padding:9px}.book-cover strong{font-size:50px}.cover-kicker{font-size:6px}.book-card h2{margin-top:12px;font-size:17px}.book-author{font-size:10px}.book-progress-row{margin-top:18px}.book-card-actions{margin-top:12px}.book-card-actions .button{padding:0 9px}.book-date{display:none}.app-footer{gap:10px}.auth-shell{padding:25px 20px 20px}.auth-layout{flex-direction:column;justify-content:center;align-items:stretch;gap:38px;padding:50px 0 45px;display:flex}.auth-intro h1{max-width:550px;font-size:49px}.auth-intro-copy{margin-top:18px;font-size:14px}.auth-quote{display:none}.auth-card{padding:22px}.reader-header{grid-template-columns:1fr auto;min-height:58px;padding:0 16px}.reader-header-title{display:none}.reader-menu{grid-column:2}.chapter-sidebar{z-index:40;border-right:1px solid var(--line);background:#111113;width:min(295px,86vw);display:none;position:fixed;top:0;bottom:0;left:0;box-shadow:20px 0 70px #00000073}.chapter-sidebar.mobile-open{display:flex}.mobile-only{display:grid}.mobile-chapters-trigger{color:var(--accent);cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;padding:0;font-size:10px;display:inline-flex}.reader-content{padding:35px 17px 155px}.reader-masthead{align-items:flex-start;gap:15px;margin-bottom:30px;padding-bottom:23px}.reader-masthead-cover .reader-cover{width:62px;height:84px}.reader-masthead-copy h1{font-size:27px}.reader-masthead-copy>p:not(.eyebrow){margin-top:6px;font-size:11px}.reader-meta{flex-wrap:wrap;gap:8px;margin-top:12px}.article-title{margin-bottom:32px;font-size:22px}.document-chapter{margin-bottom:42px}.document-block{padding:5px 9px;font-size:17px;line-height:1.7}.document-block h4{font-size:21px}.document-block h5{font-size:18px}.player-inner{grid-template-columns:1fr auto;gap:12px;min-height:104px;padding:12px 15px}.player-book{grid-column:1}.player-controls{grid-area:1/2}.player-times{display:none}.transport{gap:12px}.play-button{width:42px;height:42px}.player-actions{grid-area:2/1/auto/-1;justify-content:space-between}.speed-control span{display:none}.chapter-toggle{flex:1}.player-chapters{padding-left:15px;padding-right:15px}.reader-alert{margin-bottom:15px}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
