@font-face{font-family:Manrope;src:url('assets/manrope-400.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Manrope;src:url('assets/manrope-500.ttf') format('truetype');font-weight:500;font-display:swap}
@font-face{font-family:Manrope;src:url('assets/manrope-600.ttf') format('truetype');font-weight:600;font-display:swap}
@font-face{font-family:Manrope;src:url('assets/manrope-700.ttf') format('truetype');font-weight:700;font-display:swap}
@font-face{font-family:Manrope;src:url('assets/manrope-800.ttf') format('truetype');font-weight:800;font-display:swap}
:root{--blue:#e95b00;--ink:#191919;--muted:#636d85;--paper:#fff;--soft:#fff4eb;--line:#e8ebf3;--coral:#ff6500;--curve:cubic-bezier(.22,1,.36,1);font-family:Manrope,Arial,sans-serif;color:var(--ink);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:#131313}button,input,textarea{font:inherit}button{cursor:pointer;border:0;background:none;color:inherit;-webkit-tap-highlight-color:transparent}button,input{touch-action:manipulation}button{transition:background-color .25s var(--curve),transform .25s var(--curve),color .25s var(--curve)}button:active{transform:scale(.98)}button:disabled{opacity:.45;cursor:not-allowed}button:hover{filter:brightness(.97)}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #ff6500;outline-offset:3px}::selection{background:#ffdac0;color:#191919}input,textarea{caret-color:var(--blue)}a{color:var(--blue);text-underline-offset:4px}svg{width:22px;height:22px;flex-shrink:0;display:block}h1,h2,h3,p{margin:0}h2{font-size:21px;line-height:1.35;letter-spacing:-.035em;font-weight:800}h3{font-size:16px;line-height:1.4;letter-spacing:-.02em}p{font-size:14px;line-height:1.65}small{font-size:12px}.muted{color:var(--muted)}.skip{position:fixed;top:-60px;left:16px;background:white;padding:12px;z-index:200}.skip:focus{top:12px}
.presentation{min-height:100dvh;max-width:1300px;margin:auto;display:grid;grid-template-columns:1fr 490px;align-items:center;gap:64px;padding:32px 72px}.intro{height:min(844px,calc(100dvh - 64px));display:flex;flex-direction:column;justify-content:space-between;padding:20px 0}.intro-brand{font-size:30px;font-weight:800;letter-spacing:-.06em;display:flex;align-items:center;gap:10px}.intro-brand svg{width:28px;height:32px;color:var(--blue)}.intro-brand span{font-size:12px;align-self:start;padding-top:6px;letter-spacing:0}.intro-copy h1{font-size:clamp(52px,5.1vw,76px);font-weight:700;letter-spacing:-.04em;line-height:1.12}.intro-copy h1 span{color:var(--blue)}.intro-copy>p{margin-top:24px;font-size:18px;color:#55617d;line-height:1.65}.presentation-note{margin-top:24px}.demo-mark{display:inline-block;font-size:12px;font-weight:700;border:1px solid #bbc8e6;padding:8px 12px;border-radius:6px}.presentation-note p{margin-top:12px;color:#55617d;font-size:13px}.text-button{color:var(--blue);font-size:13px;text-decoration:underline;text-underline-offset:4px;padding:12px 0}.intro-bottom{display:flex;justify-content:space-between;gap:24px;font-size:12px;color:#677591;border-top:1px solid #cbd5e9;padding-top:16px}.device-wrap{display:flex;justify-content:center}.device{width:430px;height:min(884px,calc(100dvh - 64px));min-height:650px;background:var(--paper);border-radius:42px;padding:8px;box-shadow:0 28px 65px -24px #00000038,0 0 0 1px #b9c4dd;position:relative;overflow:hidden}.device-status{height:40px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;font-size:11px;color:#191919}.device-status b{font-size:13px}.island{width:98px;height:26px;background:#172035;border-radius:30px;position:absolute;left:50%;transform:translateX(-50%);top:14px}.device-home{height:16px;background:white;display:flex;justify-content:center;align-items:center}.device-home:after{content:'';width:104px;height:4px;border-radius:4px;background:#191919}#app{height:calc(100% - 56px);display:flex;flex-direction:column;overflow:hidden;border-radius:0 0 28px 28px;isolation:isolate;background:white}#screen{flex:1;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d9dfef transparent;outline:none;position:relative}#screen::-webkit-scrollbar{width:3px}#screen::-webkit-scrollbar-thumb{background:#d9dfef;border-radius:4px}.page{padding:8px 22px 28px}.app-header{display:flex;justify-content:space-between;align-items:center;min-height:60px;margin-bottom:12px}.brand{display:flex;align-items:center;gap:6px;font-size:25px;font-weight:800;letter-spacing:-.06em}.brand svg{width:23px;height:28px;color:var(--blue)}.header-actions{display:flex;align-items:center;gap:8px}.coin-mini{display:flex;align-items:center;gap:5px;font-size:13px;font-weight:800;background:#fff5e5;color:#805215;border-radius:30px;padding:9px 11px}.coin-mini svg{width:17px;height:17px}.avatar{width:35px;height:35px;background:#e8edff;border-radius:50%;font-size:12px;color:var(--blue);font-weight:800;display:grid;place-items:center}.greeting{font-size:30px;letter-spacing:-.04em;font-weight:800;line-height:1.22;margin:8px 0 9px;max-width:310px}.greeting span{color:var(--blue)}.intro-line{font-size:13px;color:var(--muted)}.search-prompt{display:flex;align-items:center;width:100%;text-align:left;background:#f5f6f9;color:#68718a;gap:10px;border-radius:12px;margin:20px 0 15px;padding:13px;font-size:13px}.search-prompt svg{width:19px;height:19px}.genres{display:flex;gap:8px;overflow:auto;scrollbar-width:none;padding:2px 0 16px}.chip{border:1px solid var(--line);border-radius:24px;padding:9px 14px;white-space:nowrap;font-size:12px;font-weight:700;flex-shrink:0;min-height:38px}.chip.active{color:white;background:var(--blue);border-color:var(--blue)}.feature{display:grid;grid-template-columns:122px 1fr;gap:18px;background:#fff1e5;border-radius:16px;padding:20px 16px;min-height:226px;align-items:center;position:relative;overflow:hidden}.feature .cover{width:122px;height:184px;transform:rotate(-5deg);box-shadow:8px 12px 20px -12px #00000066}.feature-info{align-self:center;position:relative}.feature-info .genre-line{font-size:11px;letter-spacing:.02em;color:#80523a;margin-bottom:8px}.feature-info h2{font-size:24px;line-height:1.14;letter-spacing:-.035em}.feature-info .author{margin-top:8px;color:#746052;font-size:11px}.feature-desc{font-size:11px!important;color:#746052;margin-top:8px;line-height:1.5!important}.feature .primary{margin-top:14px;min-height:40px;padding:10px 13px;font-size:12px}.feature-dots{display:flex;justify-content:center;gap:5px;margin:13px 0 24px}.feature-dots button{width:7px;height:7px;border-radius:9px;background:#d9d2cd;padding:0;position:relative}.feature-dots button:before{content:'';position:absolute;inset:-10px}.feature-dots button.selected{background:var(--blue);width:20px}.section-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:25px 0 14px}.section-top button{font-size:12px;color:var(--blue);padding:7px 0;font-weight:700}.section-top h2{font-size:20px}.continue{width:100%;display:grid;grid-template-columns:42px 1fr 32px;gap:12px;align-items:center;text-align:left;padding:0 0 20px;border-bottom:1px solid var(--line)}.continue .cover{width:42px;height:59px;border-radius:4px}.continue h3{font-size:13px;line-height:1.3;margin-bottom:6px}.continue p{font-size:11px;color:var(--muted)}.continue .play{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#fff1e5;color:var(--blue)}.continue .play svg{width:16px;height:16px}.progress{background:#e9edf7;height:3px;border-radius:5px;overflow:hidden;margin-top:9px}.progress>i{display:block;height:100%;background:var(--blue);border-radius:inherit}.shelf{display:flex;gap:14px;overflow-x:auto;padding:0 1px 9px;scroll-snap-type:x mandatory;scrollbar-width:none;margin-right:-22px;padding-right:22px}.book-tile{text-align:left;flex:0 0 108px;min-width:0;padding:0;scroll-snap-align:start}.book-tile .cover{width:108px;height:156px}.book-tile h3{font-size:12px;margin-top:9px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.book-tile p{font-size:10px;color:var(--muted);margin-top:3px}.book-tile .rating{font-size:11px;color:#54617d;display:flex;align-items:center;gap:4px;margin-top:5px}.rating svg{width:12px;height:12px;color:#b8771e}.cover{border-radius:7px;background-image:url('assets/covers.webp');background-size:450% 200%;position:relative;overflow:hidden;color:#fff;flex-shrink:0;display:block;aspect-ratio:2/3;background-color:#203968;isolation:isolate}.cover:after{content:'';position:absolute;inset:42% 0 0;background:linear-gradient(transparent,rgba(6,15,33,.88));z-index:-1}.cover:before{content:'';position:absolute;inset:0;box-shadow:inset 3px 0 3px #ffffff33,inset -1px 0 1px #0004;z-index:1;pointer-events:none}.cover-title{position:absolute;left:10%;right:8%;bottom:17%;text-align:center;font-family:Georgia,serif;font-size:clamp(12px,1.2rem,23px);font-weight:400;line-height:1.1;letter-spacing:-.03em}.cover-author{position:absolute;bottom:7%;left:6%;right:6%;font-size:7px;text-transform:uppercase;letter-spacing:.12em;text-align:center}.book-tile .cover-title{font-size:17px}.continue .cover-title,.continue .cover-author{display:none}.cover-mark{position:absolute;top:7%;left:10%;right:10%;font-size:6px;letter-spacing:.16em;text-align:center;text-transform:uppercase}.reward-banner{background:#fff0eb;margin:25px 0 12px;border-radius:14px;padding:17px;display:flex;align-items:center;gap:12px}.reward-banner>svg{width:30px;height:30px;color:#bf4937}.reward-banner h3{font-size:13px;color:#842d21}.reward-banner p{font-size:11px;color:#a34233}.reward-banner button{background:#fff;color:#a43c2b;border-radius:8px;padding:9px 12px;font-size:11px;font-weight:800;margin-left:auto}.list-book{display:flex;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid var(--line);width:100%;text-align:left}.list-book .cover{width:64px;height:92px}.list-book .cover-title{font-size:12px}.list-book .cover-author{font-size:5px}.list-book h3{font-size:14px}.list-book p{font-size:12px;color:var(--muted);margin-top:4px}.list-book .meta{font-size:11px;color:var(--blue);margin-top:7px}.list-book-content{flex:1;min-width:0}.sample-note{font-size:10px;color:#788097;text-align:center;margin:23px 0 2px}#bottom-nav{height:70px;display:flex;align-items:center;justify-content:space-around;background:#fff;border-top:1px solid var(--line);flex-shrink:0;z-index:5;padding:3px 8px}#bottom-nav button{color:#7b8295;display:flex;flex-direction:column;align-items:center;gap:5px;font-size:10px;padding:8px 14px;border-radius:12px;min-width:64px;font-weight:600}#bottom-nav button.active{color:var(--blue)}#bottom-nav .nav-icon{padding:3px 13px;border-radius:12px}#bottom-nav .active .nav-icon{background:#fff1e5}#bottom-nav svg{width:21px;height:21px}#bottom-nav[hidden]{display:none}.primary{background:var(--blue);color:white;border-radius:11px;padding:14px 18px;font-size:14px;font-weight:700;min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:8px}.primary.wide{width:100%}.secondary{border:1px solid #dce2f2;border-radius:11px;padding:12px 16px;min-height:46px;font-size:13px;font-weight:700;background:#fff}.icon-button{min-width:40px;min-height:40px;display:grid;place-items:center;border-radius:50%;padding:9px}.icon-button:hover{background:#fff4eb}.topbar{height:60px;display:flex;align-items:center;justify-content:space-between;gap:10px}.topbar h2{font-size:17px}.topbar .right{display:flex;align-items:center;gap:3px}.page-title{font-size:28px;line-height:1.2;letter-spacing:-.04em;margin:16px 0 9px}.field-wrap{display:flex;align-items:center;background:#f5f6f9;border-radius:12px;padding:0 12px;gap:9px;margin:20px 0 16px}.field-wrap svg{width:19px;height:19px;color:#748099}.field-wrap input{min-width:0;flex:1;padding:15px 0;border:0;background:transparent;outline:none;color:var(--ink);font-size:14px}.field-wrap input::placeholder{color:#6b7488}.field-wrap .icon-button{min-width:32px;min-height:32px;padding:6px}.book-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px}.book-grid .book-tile{width:100%}.book-grid .cover{width:100%;height:auto;aspect-ratio:2/3}.book-grid .cover-title{font-size:24px}.book-grid .book-tile h3{font-size:14px}.book-grid .book-tile p{font-size:11px}.result-meta{font-size:12px;color:var(--muted);margin-bottom:17px}.empty{text-align:center;padding:55px 18px 45px}.empty>svg{margin:0 auto 18px;width:38px;height:38px;color:#91a1d4}.empty h2{font-size:21px;margin-bottom:10px}.empty p{color:var(--muted);margin-bottom:22px}.detail-hero{background:#fff1e5;margin:0 -22px;padding:12px 22px 25px;text-align:center}.detail-hero .cover{width:148px;height:220px;margin:auto;box-shadow:6px 14px 25px -15px #00000066}.detail-hero .cover-title{font-size:25px}.detail-hero h1{font-size:26px;letter-spacing:-.04em;margin-top:21px}.detail-hero .byline{font-size:12px;color:#5d6b8e;margin-top:7px}.tags{display:flex;flex-wrap:wrap;gap:7px;justify-content:center;margin:12px 0 0}.tag{padding:6px 9px;background:#ffffffb0;color:#53658b;border-radius:6px;font-size:10px}.book-stats{display:flex;justify-content:space-around;margin:22px 0;padding-bottom:19px;border-bottom:1px solid var(--line)}.book-stats div{text-align:center;font-size:11px;color:var(--muted)}.book-stats strong{display:block;font-size:16px;margin-bottom:4px;color:var(--ink)}.detail-actions{display:flex;gap:10px;margin-bottom:25px}.detail-actions .primary{flex:1}.detail-actions .secondary{padding:12px}.detail-body>p{font-size:13px;line-height:1.8;color:#5f6b84;margin:12px 0 24px}.author-box{display:flex;align-items:center;gap:12px;background:#f7f8fc;border-radius:12px;padding:14px;margin-bottom:20px}.author-box .avatar{width:42px;height:42px}.author-box h3{font-size:13px}.author-box p{font-size:11px;color:var(--muted)}.author-box button{margin-left:auto;color:var(--blue);font-size:11px;font-weight:700;min-height:36px}.segmented{display:flex;background:#f2f4f9;border-radius:10px;padding:4px;gap:4px;margin:20px 0}.segmented button{flex:1;min-height:39px;font-size:12px;border-radius:7px;font-weight:700;color:#68748e}.segmented button.active{background:white;color:var(--ink);box-shadow:0 3px 7px -5px #19191988}.chapter-row{width:100%;display:flex;justify-content:space-between;align-items:center;gap:12px;text-align:left;padding:17px 0;border-bottom:1px solid var(--line)}.chapter-row p{font-size:13px}.chapter-row small{font-size:11px;color:var(--muted)}.chapter-row svg{width:16px;height:16px;color:#7885a4}.chapter-row .free{color:#30734f;font-size:10px;background:#eaf7ef;padding:5px 7px;border-radius:5px}.chapter-row .current{color:var(--blue)}.review{padding:18px 0;border-bottom:1px solid var(--line)}.review header{display:flex;justify-content:space-between;font-size:12px;font-weight:700}.review p{font-size:12px;color:var(--muted);margin-top:8px}.review small{font-size:10px;color:#946623}.reader{min-height:100%;background:var(--read-bg,#fbf8f2);color:var(--read-ink,#342c26);padding:4px 25px 35px}.reader.night{--read-bg:#1e2532;--read-ink:#d7ddeb}.reader.white{--read-bg:#fff;--read-ink:#26314a}.reader .topbar{position:sticky;top:-1px;background:var(--read-bg,#fbf8f2);z-index:4;margin:0 -7px;padding:0 0 5px}.reader .topbar h2{font-size:12px;color:inherit;opacity:.75;max-width:190px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.reader .icon-button:hover{background:#8392aa22}.reader-progress{font-size:11px;opacity:.65;display:flex;justify-content:space-between;padding:10px 0 27px}.reader h1{font-family:Georgia,serif;font-size:31px;font-weight:400;line-height:1.25;letter-spacing:-.025em;margin-bottom:28px}.reader article p{font-family:Georgia,serif;font-size:var(--read-size,18px);line-height:1.95;letter-spacing:.005em;margin-bottom:24px}.reader article p:first-child:first-letter{font-size:3.1em;float:left;line-height:1;padding:7px 9px 0 0;color:var(--blue)}.reader.night article p:first-child:first-letter{color:#ffad70}.reader footer{margin-top:30px;border-top:1px solid #8f8d8b33;padding-top:24px}.reader footer p{font-size:12px;opacity:.7;margin-bottom:16px}.reader-controls{display:flex;gap:10px}.reader-controls button{flex:1}.reader .secondary{background:transparent;color:inherit;border-color:#8f8d8b55}.reader-caption{font-size:10px!important;text-align:center;margin-top:20px!important;opacity:.6}.wallet{background:var(--blue);border-radius:16px;color:white;padding:24px;margin:22px 0}.wallet-top{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#d8e1ff}.balance{font-size:44px;font-weight:700;letter-spacing:-.04em;margin:12px 0 8px;display:flex;gap:10px;align-items:center;font-variant-numeric:tabular-nums}.balance svg{width:30px;height:30px;color:#f9d78e}.wallet p{font-size:11px;color:#d8e1ff}.day-row{display:flex;justify-content:space-between;gap:5px;margin:19px 0}.day{display:flex;flex:1;flex-direction:column;align-items:center;gap:8px;font-size:10px;color:#69758d}.day div{width:35px;height:43px;border-radius:8px;background:#f0f3fa;display:grid;place-items:center;color:#596b95;font-size:12px;font-weight:700}.day.current div{background:#fff0d4;color:#94601e;outline:1px solid #efd2a2}.day.done div{background:#e8f4ee;color:#28774d}.task{display:flex;gap:12px;align-items:center;padding:18px 0;border-bottom:1px solid var(--line)}.task>svg{color:var(--blue)}.task>div{flex:1}.task h3{font-size:13px}.task p{font-size:11px;color:var(--muted);margin-top:4px}.task button{background:#fff1e5;color:var(--blue);border-radius:8px;padding:9px 12px;font-size:11px;font-weight:700}.notice{background:#f7f8fc;border-radius:12px;padding:15px;font-size:12px;color:#626e88;margin:24px 0;line-height:1.7}.profile-hero{text-align:center;padding:15px 0 5px}.profile-hero .avatar{width:70px;height:70px;font-size:22px;margin:0 auto 14px}.profile-hero h1{font-size:25px;letter-spacing:-.04em}.profile-hero p{color:var(--muted);font-size:12px;margin-top:7px}.profile-stats{display:flex;justify-content:space-around;padding:22px 0;margin:15px 0;border-bottom:1px solid var(--line);font-size:11px;color:var(--muted);text-align:center}.profile-stats b{display:block;color:var(--ink);font-size:21px;margin-bottom:5px}.settings-row{display:flex;align-items:center;gap:12px;width:100%;padding:19px 0;border-bottom:1px solid var(--line);text-align:left;font-size:13px}.settings-row>svg:first-child{color:var(--blue);width:20px;height:20px}.settings-row>svg:last-child{margin-left:auto;width:17px;height:17px;color:#8d99ae}.delete-button{font-size:12px;color:#b53d31;padding:10px}.library-tabs{display:flex;gap:20px;border-bottom:1px solid var(--line);margin:22px 0 10px}.library-tabs button{font-size:13px;color:#748099;padding:0 0 14px;position:relative;font-weight:700}.library-tabs button.active{color:var(--blue)}.library-tabs button.active:after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:2px;background:var(--blue)}.library-item{position:relative}.library-item .list-book{padding-right:24px}.remove-book{position:absolute;right:-8px;top:14px;color:#8692aa;min-height:35px;min-width:35px;display:grid;place-items:center}.remove-book svg{width:16px;height:16px}#toast{position:fixed;bottom:32px;left:50%;transform:translate(-50%,20px);background:#191919;color:white;border-radius:10px;padding:13px 18px;font-size:13px;z-index:100;opacity:0;pointer-events:none;transition:opacity .25s var(--curve),transform .3s var(--curve);box-shadow:0 10px 30px -10px #19191966;max-width:calc(100% - 32px);width:max-content}#toast.show{opacity:1;transform:translate(-50%,0)}dialog{border:0;background:#fff;color:var(--ink);border-radius:22px;padding:24px;width:min(382px,calc(100% - 32px));box-shadow:0 24px 70px -20px #10235277}dialog::backdrop{background:#101d3c66;backdrop-filter:blur(3px)}.sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.sheet-head h2{font-size:21px}.sheet-head .icon-button{margin:-8px -8px 0 0}.sheet-copy{font-size:13px;color:var(--muted);margin-bottom:20px;line-height:1.7}.setting-label{font-size:12px;color:var(--muted);margin:20px 0 10px}.theme-options{display:flex;gap:10px}.theme-options button{min-height:48px;flex:1;border:1px solid #d8deed;border-radius:9px;font-size:13px}.theme-options button.selected{outline:2px solid var(--blue);outline-offset:2px}.size-controls{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--line);border-radius:10px;padding:8px}.size-controls button{min-width:55px;min-height:39px;background:#faf3ed;border-radius:7px;font-size:20px}.size-controls span{font-size:13px;font-variant-numeric:tabular-nums}.unlock-info{display:flex;justify-content:space-between;background:#f4f6fd;border-radius:10px;padding:16px;margin:18px 0;font-size:13px}.unlock-info strong{color:var(--blue)}.sheet-error{color:#b53d31;font-size:12px;margin-bottom:12px}.dialog-actions{display:flex;flex-direction:column;gap:10px;margin-top:21px}.chapter-sheet{max-height:55dvh;overflow:auto}.onboarding-options{display:flex;flex-wrap:wrap;gap:10px}.profile-legal{font-size:11px;line-height:1.9;color:#66748e}
@media(min-width:1500px){.presentation{gap:100px}}@media(max-width:1000px){.presentation{gap:40px;padding:26px 40px;grid-template-columns:1fr 430px}.intro-copy h1{font-size:56px}.intro-bottom span{display:none}}@media(max-width:800px){.presentation{display:flex;justify-content:center;padding:24px}.intro{display:none}.device{height:calc(100dvh - 48px)}}@media(max-width:500px){body{background:white}.presentation{display:block;padding:0;min-height:100dvh}.device-wrap{display:block}.device{width:100%;height:100dvh;min-height:0;padding:0;border-radius:0;box-shadow:none}.device-status,.device-home{display:none}#app{height:100%;border-radius:0}#bottom-nav{height:calc(69px + env(safe-area-inset-bottom));padding-bottom:calc(3px + env(safe-area-inset-bottom))}.page{padding-top:max(8px,env(safe-area-inset-top));padding-left:24px;padding-right:24px}.detail-hero{margin-left:-24px;margin-right:-24px}#toast{bottom:calc(85px + env(safe-area-inset-bottom))}.shelf{margin-right:-24px;padding-right:24px}.reader{padding-top:max(4px,env(safe-area-inset-top))}.feature{grid-template-columns:122px 1fr}.greeting{font-size:32px}dialog{position:fixed;margin: auto auto max(14px,env(safe-area-inset-bottom));border-radius:20px}}@media(max-width:360px){.page{padding-left:18px;padding-right:18px}.feature{grid-template-columns:106px 1fr;gap:14px;padding:18px 13px}.feature .cover{width:106px;height:164px}.feature-info h2{font-size:21px}.feature-desc{display:none}.greeting{font-size:28px}.book-grid{gap:20px 14px}.book-grid .cover-title{font-size:21px}#bottom-nav button{padding:8px 7px}.detail-hero{margin-left:-18px;margin-right:-18px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}}

/* Readable compact controls and measured book metadata. */
.chip{font-size:13px}.feature-info .genre-line,.feature-info .author,.feature-desc{font-size:12px!important}.feature .primary{font-size:13px}.feature .cover{view-transition-name:featured-cover}.detail-hero .cover{view-transition-name:featured-cover}.search-prompt{font-size:14px}.intro-line{font-size:14px}.book-tile h3{font-size:13px}.book-tile p,.book-tile .rating{font-size:12px}.continue h3{font-size:14px}.continue p{font-size:12px}.section-top button{font-size:13px}#bottom-nav button{font-size:12px}.book-grid .book-tile p{font-size:12px}.reward-banner h3{font-size:14px}.reward-banner p,.reward-banner button{font-size:12px}.book-stats div{font-size:12px}.detail-body>p{font-size:14px}.settings-row{font-size:14px}.chapter-row p{font-size:14px}.chapter-row small{font-size:12px}.task h3{font-size:14px}.task p,.task button{font-size:12px}.day{font-size:11px}.wallet p{font-size:12px}.sheet-copy{font-size:14px}.reader .topbar h2{font-size:13px}.reader-progress{font-size:12px}
::view-transition-group(featured-cover){animation-duration:.32s;animation-timing-function:var(--curve)}
@media(max-height:760px){.app-header{min-height:48px;margin-bottom:8px}.greeting{font-size:28px;margin-top:5px}.search-prompt{margin:14px 0 10px;padding:11px}.genres{padding-bottom:12px}.feature{grid-template-columns:106px 1fr;min-height:208px;padding:16px 14px;gap:16px}.feature .cover{width:106px;height:164px}.feature-info h2{font-size:22px}.feature-desc{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.feature .primary{margin-top:10px}.feature-dots{margin-bottom:18px}.section-top{margin-top:20px}}
/* The shared-cover animation must never block the next reader action. */
::view-transition{pointer-events:none}
::view-transition-group(*),::view-transition-image-pair(*),::view-transition-old(*),::view-transition-new(*){pointer-events:none}

.cover-flight{pointer-events:none!important;box-shadow:6px 12px 22px -12px #00000055}.cover-flight .cover-title{font-size:23px}
/* Official ForgeNote identity and expanded reading experience. */
:root{--orange:#fb5700;--blue:#b44400;--ink:#191919;--muted:#706b66;--soft:#fff1e5;--line:#e9e5e1}.site-logo{width:160px;height:auto;display:block;object-fit:contain}.brand{padding:6px 0}.brand .site-logo{width:140px}.intro-brand{background:#fff;width:max-content;max-width:100%;padding:10px 14px;border-radius:8px}.intro-brand .site-logo{width:220px}.intro{color:#f5f2ee}.intro-copy h1 span{color:#ff7a33}.intro-copy>p,.presentation-note p,.intro-bottom{color:#c1b8b0}.intro-bottom{border-color:#49403a}.demo-mark{border-color:#716052;color:#f0e7df}.text-button{color:#ff9b65}.primary{background:var(--orange);color:#15110e}.chip.active{background:#191919;border-color:#191919;color:#fff}.coin-mini{color:#9c410f;background:#fff0e1}.app-header{gap:8px}.header-actions{gap:2px}.header-actions .icon-button{min-width:34px;min-height:34px;padding:7px}.bell{position:relative}.bell i{position:absolute;right:7px;top:6px;width:6px;height:6px;border-radius:50%;background:#ff7b37}.role-launch,.role-links{display:flex;gap:5px;margin:16px 0}.role-launch button,.role-links button{padding:9px 13px;border:1px solid #786356;border-radius:7px;color:#ffb184;font-size:12px;font-weight:700}.role-links button{color:var(--blue);border-color:var(--line);flex:1}.home-hello{padding:12px 0 2px}.home-hello>p{color:var(--muted);font-size:13px;margin-bottom:9px}.home-hello h1{font-size:32px;line-height:1.17;font-weight:800;letter-spacing:-.04em}.home-hello h1 span{color:var(--blue)}.world-tabs{display:flex;gap:20px;border-bottom:1px solid var(--line);margin:0 0 14px}.world-tabs button{font-size:14px;font-weight:700;padding:12px 0;position:relative;color:var(--muted)}.world-tabs button.active{color:var(--ink)}.world-tabs button.active:after{content:'';position:absolute;height:2px;background:var(--orange);left:0;right:0;bottom:-1px}.feature{background:#ff7b33;color:#18120e}.feature .primary{background:#18120e;color:white}.feature-info .genre-line,.feature-info .author,.feature-desc{color:#5c2c0f}.feature-info h2{font-size:23px}.feature-dots button.selected{background:var(--orange)}.search-prompt>svg:last-child{margin-left:auto}.type-cover{background:#ec6328!important;background-image:none!important;color:#17120d}.type-cover:after{display:none}.type-cover .cover-title{font-family:Manrope,Arial,sans-serif;font-weight:800;letter-spacing:-.04em;text-align:left;bottom:25%;font-size:25px;line-height:1.15}.type-cover .cover-subject{position:absolute;top:24%;left:10%;right:10%;font-size:12px;font-weight:600}.type-cover .cover-mark{font-size:5px}.type-cover .cover-author{text-align:left;left:10%;font-size:8px;bottom:12%}.book-tile .type-cover .cover-title{font-size:19px}.book-grid .type-cover .cover-title{font-size:27px}.cover-author{font-size:8px}.author-link{display:flex;align-items:center;gap:5px;margin:9px auto 0;color:#71645a;font-size:13px}.author-link svg{width:12px;height:12px}.whole-book{border:1px solid var(--line);border-radius:12px;padding:16px;width:100%;display:flex;justify-content:space-between;gap:16px;align-items:center;text-align:left;margin:8px 0 25px;font-size:14px}.whole-book small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.whole-book strong{white-space:nowrap;color:var(--blue)}.locked-price{display:flex;gap:5px;align-items:center;font-size:12px;color:var(--muted)}.library-tabs{overflow-x:auto;scrollbar-width:none;gap:16px}.library-tabs button{white-space:nowrap}.wallet{background:#191716;color:#fff}.wallet-top,.wallet p{color:#d4c9c0}.balance{color:#ff853f}.wallet-split{display:flex;justify-content:space-between;gap:14px;border-top:1px solid #4b3c32;margin-top:17px;padding-top:17px;font-size:11px;color:#c9b9ab}.wallet-split b{display:block;font-size:16px;color:#fff;margin-top:5px}.note-packages{display:grid;gap:12px}.note-packages button{padding:18px;background:#f7f4f0;display:flex;align-items:center;justify-content:space-between;border-radius:12px}.note-packages button>span:first-child{display:flex;align-items:center;gap:8px;font-size:12px}.note-packages strong{font-size:23px}.note-packages button>span:last-child{font-size:12px;display:flex;align-items:center;gap:6px}.note-packages svg{width:18px;height:18px;color:var(--blue)}.transaction{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 0;border-bottom:1px solid var(--line);text-align:left;width:100%}.transaction b{font-size:13px;display:block}.transaction small{display:block;color:var(--muted);font-size:11px;margin-top:6px}.transaction>strong{font-size:13px;white-space:nowrap}.positive{color:#278159}.form-field{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:600;min-width:0}.form-field input,.form-field textarea,.form-field select,.workspace-header select{border:1px solid #d9d3cd;background:#fff;color:#28211c;padding:12px 13px;border-radius:8px;min-width:0;width:100%;font-size:16px;line-height:1.5}.form-field textarea{resize:vertical}.form-field small{color:var(--muted);font-size:11px;font-weight:400}.form-field select{appearance:none;padding-right:30px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 8 5 5 5-5' fill='none' stroke='%23897566' stroke-width='2'/%3E%3C/svg%3E");background-size:14px;background-position:right 10px center;background-repeat:no-repeat}.app-form{display:flex;flex-direction:column;gap:19px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.check-field{display:flex;gap:9px;align-items:flex-start;font-size:13px;line-height:1.6;color:inherit}.check-field input{accent-color:#e76513;width:17px;height:17px;flex-shrink:0;margin:2px 0 0}.setting-check{padding:25px 0}.filter-panel{border:1px solid var(--line);padding:14px;border-radius:12px;margin-bottom:22px}.filter-panel summary{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:700;cursor:pointer;list-style:none}.filter-panel .form-grid{margin-top:18px}.author-link{min-height:36px}.guest-button{display:block;width:100%;font-size:13px;text-align:center;padding:15px;color:var(--muted)}.auth-page .welcome-logo{margin:28px 0 20px}.auth-page .page-title{margin-bottom:15px}.auth-page .app-form{margin-top:30px}.onboarding{min-height:100%;display:flex;flex-direction:column;padding:25px 25px 20px;background:#101010;color:#f5f1ed}.welcome-logo{background:#fff;border-radius:8px;padding:10px 12px;width:max-content}.welcome-logo .site-logo{width:160px}.welcome-art{height:260px;display:flex;align-items:center;justify-content:center;position:relative;padding-top:30px;margin:12px -4px 10px}.welcome-art .cover{width:105px;height:159px;box-shadow:0 17px 27px -17px #000;transform:rotate(-12deg) translateX(12px)}.welcome-art .cover:nth-child(2){width:128px;height:194px;z-index:1;transform:translateY(-12px)}.welcome-art .cover:last-child{transform:rotate(12deg) translateX(-12px)}.welcome-art .cover-title{font-size:19px}.welcome-copy{margin-top:auto}.welcome-copy h1{font-size:31px;line-height:1.2;letter-spacing:-.04em;font-weight:800;max-width:310px}.welcome-copy>p{color:#beb6af;font-size:14px;line-height:1.75;margin-top:17px}.welcome-dots{display:flex;gap:6px;margin:25px 0}.welcome-dots button{width:7px;height:7px;border-radius:8px;background:#73645a;padding:0}.welcome-dots button.active{width:25px;background:#ff7b33}.onboarding .guest-button{color:#c9c0b9}.notification{display:flex;gap:14px;text-align:left;padding:21px 0;border-bottom:1px solid var(--line);width:100%}.notification>span{width:35px;height:35px;display:grid;place-items:center;background:#ffefdf;color:#b64b12;border-radius:10px;flex-shrink:0}.notification h3{font-size:14px}.notification p{font-size:13px;color:var(--muted);margin-top:5px}.notification small{color:var(--blue);font-size:11px}.notification.read{opacity:.7}.faq{padding:17px 0;border-bottom:1px solid var(--line)}.faq summary{font-size:14px;line-height:1.5;cursor:pointer;font-weight:600}.faq p{margin-top:12px;font-size:13px;color:var(--muted);line-height:1.75}.ticket-card{display:block;width:100%;text-align:left;border:1px solid var(--line);padding:17px;margin:15px 0;border-radius:12px}.ticket-card>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.ticket-card strong{font-size:14px}.ticket-card p{color:var(--muted);font-size:12px;margin-top:8px}.reply{background:#f4f2ef;padding:13px;border-radius:10px;margin:10px 0}.reply b{font-size:12px}.reply p{font-size:13px;margin-top:7px}.roadmap-item{padding:25px 0;border-bottom:1px solid var(--line)}.roadmap-item h2{margin:12px 0}.roadmap-item p{color:var(--muted)}.badge{display:inline-block;padding:5px 8px;font-size:11px;font-weight:600;border-radius:5px;background:#eee8e1;color:#6f5541;white-space:nowrap}.badge.success{background:#e6f3eb;color:#256b45}.badge.danger{background:#fdebe7;color:#a8392a}.badge.pending{background:#fff0da;color:#8b590f}.profile-hero .tag{margin-top:12px;display:inline-block}.settings-row b{margin-left:auto;font-size:12px;color:var(--muted)}
/* Dark brand surfaces; reading paper remains independently configurable. */
body.app-dark{--paper:#11100f;--ink:#f5f1ed;--muted:#b6aca4;--line:#302a25;--blue:#ff9b5c;--soft:#2b211b}body.app-dark #app{background:#11100f}body.app-dark .device{box-shadow:0 28px 60px -24px #0009,0 0 0 1px #534c46}body.app-dark .device-status{color:#eee7df}body.app-dark .device-home{background:#11100f}body.app-dark .device-home:after{background:#eee7df}body.app-dark .brand{background:#fff;padding:6px 8px;border-radius:5px}body.app-dark .brand .site-logo{width:132px}body.app-dark .coin-mini{background:#291d15;color:#ffad76}body.app-dark .avatar{background:#3a271c;color:#ffad76}body.app-dark .search-prompt,body.app-dark .field-wrap{background:#201c19;color:#b6aca4}body.app-dark .field-wrap input{color:#eee9e3}body.app-dark .field-wrap input::placeholder{color:#b6aca4}body.app-dark .chip{border-color:#3b332d}body.app-dark .chip.active{background:#ff7b33;color:#17110c;border-color:#ff7b33}body.app-dark .feature{background:#ff7c34;color:#17110c}body.app-dark .feature .primary{background:#17110c;color:white}body.app-dark .feature .genre-line,body.app-dark .feature .author,body.app-dark .feature-desc{color:#56290e}body.app-dark #bottom-nav{background:#15120f;border-color:#302a25}body.app-dark #bottom-nav button{color:#b3aaa1}body.app-dark #bottom-nav button.active{color:#ff9b5c}body.app-dark #bottom-nav .active .nav-icon{background:#3b2517}body.app-dark .continue .play{background:#3b2517;color:#ffad76}body.app-dark .progress{background:#3e342c}body.app-dark .progress>i{background:#ff7a33}body.app-dark .reward-banner{background:#261b14}body.app-dark .reward-banner h3{color:#ffb183}body.app-dark .reward-banner p{color:#d5b29a}body.app-dark .reward-banner button{background:#f87930;color:#17110c}body.app-dark .reward-banner>svg{color:#ff9b5c}body.app-dark .detail-hero{background:#211912}body.app-dark .author-link{color:#d2bca8}body.app-dark .tag{background:#3d2c1f;color:#f0c8a9}body.app-dark .book-stats strong{color:#f5eee7}body.app-dark .secondary{background:#211a15;color:#f1e8df;border-color:#514034}body.app-dark .detail-body>p{color:#bcb0a5}body.app-dark .segmented{background:#251d17}body.app-dark .segmented button{color:#c4b2a1}body.app-dark .segmented button.active{background:#49301f;color:#ffd1af}body.app-dark .notice{background:#241c16;color:#cbb5a3}body.app-dark .note-packages button{background:#251c15;color:#f5e7dc}body.app-dark .form-field input,body.app-dark .form-field textarea,body.app-dark .form-field select{background:#211b16;border-color:#584334;color:#f0e6dd}body.app-dark .reply{background:#292019}body.app-dark .free{background:#183b2a;color:#a5dcb8}body.app-dark .icon-button:hover{background:#35251b}body.app-dark .whole-book{border-color:#4d3422}body.app-dark .reader{color:var(--read-ink,#342c26)}body.app-dark .reader .secondary{background:transparent;color:inherit;border-color:#877a6d66}body.app-dark .reader .icon-button:hover{background:#8b8b8b22}body.app-dark .reader .primary{background:#fb650b;color:#15110e}body.app-dark dialog{--ink:#201812;--muted:#6d5c4e;--line:#e9dfd5;--blue:#ad4200}body.app-dark dialog .form-field input,body.app-dark dialog .form-field textarea,body.app-dark dialog .form-field select{background:#fff;border-color:#cfc0b4;color:#292018}body.app-dark dialog .secondary{background:#fff;color:#292018;border-color:#d8c7b8}body.app-dark dialog .unlock-info{background:#fff2e6}body.app-dark dialog .reply{background:#f5eee7}#bottom-nav button{min-width:0;flex:1;padding:8px 3px;font-size:11px}#bottom-nav .nav-icon{padding:3px 10px}.device-status span{font-size:11px}
/* Spacious browser workspaces for authoring and operations. */
.portal-mode{background:#f5f3f0}.portal-mode .presentation{display:block;max-width:none;padding:0;height:100dvh;min-height:0}.portal-mode .intro,.portal-mode .device-status,.portal-mode .device-home{display:none}.portal-mode .device-wrap{display:block}.portal-mode .device{height:100dvh;min-height:0;width:100%;padding:0;border-radius:0;box-shadow:none!important}.portal-mode #app{height:100%;border-radius:0;background:#f5f3f0}.portal-mode #screen{overflow:hidden;scrollbar-width:none}.workspace{--ink:#211d19;--muted:#766c63;--line:#e6e0d9;--blue:#ac4207;display:grid;grid-template-columns:238px 1fr;height:100dvh;background:#f7f5f2;color:#211d19;font-size:14px}.workspace-sidebar{height:100dvh;overflow-y:auto;background:#171411;color:#e6ddd5;display:flex;flex-direction:column;padding:25px 18px}.workspace-logo{background:white;border-radius:6px;width:100%;padding:11px 13px}.workspace-logo .site-logo{width:100%}.workspace-name{font-size:23px;font-weight:800;letter-spacing:-.03em;padding:22px 12px 18px}.workspace-name span{display:block;font-size:11px;color:#a99b8e;font-weight:500;letter-spacing:0;margin-top:5px}.workspace-sidebar nav{display:flex;flex-direction:column;gap:5px}.workspace-sidebar nav button{display:flex;align-items:center;gap:11px;text-align:left;width:100%;padding:12px 13px;font-size:13px;border-radius:8px;color:#cbbeb3}.workspace-sidebar nav button>svg{width:18px;height:18px}.workspace-sidebar nav button>svg:last-child:not(:first-child){margin-left:auto;width:13px;height:13px}.workspace-sidebar nav button.active{background:#f96c1b;color:#201208;font-weight:800}.workspace-sidebar nav button:hover{background:#35261b;color:white}.workspace-sidebar nav button.active:hover{background:#f96c1b;color:#201208}.workspace-switch{margin-top:auto;padding:24px 8px 0}.workspace-switch .role-links{margin:0 0 15px}.workspace-switch .role-links button{border-color:#62432d;color:#ffab73;padding:8px 9px;font-size:11px}.workspace-switch>p{font-size:10px;line-height:1.8;color:#a99b8e}.workspace-body{min-width:0;height:100dvh;overflow:auto}.workspace-header{height:84px;display:flex;align-items:center;justify-content:space-between;padding:0 42px;border-bottom:1px solid #e1dbd3;background:#fff;gap:20px}.workspace-header>span{font-size:13px;color:#847465}.workspace-header>div{display:flex;align-items:center;gap:15px}.workspace-header label{display:flex;align-items:center;gap:9px;font-size:11px;color:#796a5b;white-space:nowrap}.workspace-header select{font-size:13px;padding:8px 12px;min-width:105px}.author-session{font-size:13px;font-weight:700}.workspace-content{max-width:1400px;margin:auto;padding:40px 42px 65px}.workspace-title{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:30px}.workspace-title h1{font-size:32px;letter-spacing:-.035em;line-height:1.25;font-weight:800}.workspace-title p{font-size:13px;color:#7c6e61;margin-top:10px;line-height:1.75;max-width:72ch}.workspace .primary{background:#fb6b1b;color:#1d120b}.workspace .secondary{background:#fff;color:#3e2b1c;border-color:#d6c7ba}.compact{padding:10px 13px!important;min-height:39px!important;font-size:12px!important}.workspace-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:20px;margin-bottom:35px}.metric{background:white;border-radius:13px;padding:23px}.metric p{font-size:12px;color:#7d6e60}.metric>strong{font-size:31px;letter-spacing:-.04em;display:block;margin:13px 0 8px}.metric small{font-size:11px;color:#8d7e70}.workspace-section{margin-bottom:35px}.workspace-section>.section-top{margin-top:0}.workspace h2{font-size:21px}.data-table{overflow:auto;background:#fff;border:1px solid #e5dcd3;border-radius:12px;scrollbar-width:thin;scrollbar-color:#d4bda8 #f5eee8}.data-table table{width:100%;border-collapse:collapse;text-align:left;min-width:620px}.data-table th{font-size:11px;font-weight:600;color:#826b58;background:#fbf8f4;padding:16px 20px;border-bottom:1px solid #e8dfd6;white-space:nowrap}.data-table td{padding:20px;font-size:12px;border-bottom:1px solid #eee7df;vertical-align:middle;line-height:1.7}.data-table tr:last-child td{border-bottom:0}.data-table td strong{font-size:13px;display:block;color:#30231a}.data-table small{font-size:10px;color:#927b67;display:block;max-width:300px;margin-top:4px;overflow-wrap:anywhere}.table-action{font-size:11px;font-weight:700;color:#a4420e;background:#fff2e6;border-radius:5px;padding:7px 10px;display:inline-block;margin:3px;white-space:nowrap}.workspace-banner{display:flex;align-items:center;justify-content:space-between;background:#211810;color:#fff;padding:27px 30px;border-radius:14px;gap:30px;margin-top:30px}.workspace-banner h2{font-size:22px}.workspace-banner p{color:#cfb9a5;font-size:13px;margin-top:8px}.workspace-banner .secondary{flex-shrink:0}.workspace-form{max-width:760px;background:white;padding:28px;border-radius:14px}.application-progress{display:flex;gap:25px;margin:0 0 25px;flex-wrap:wrap}.application-progress div{display:flex;align-items:center;gap:9px;font-size:12px;color:#82674f}.application-progress b{display:grid;place-items:center;width:28px;height:28px;background:#ffebd7;border-radius:50%;color:#a44a12}.status-banner{padding:18px 21px;background:#fff1db;border-radius:10px;margin-bottom:25px;display:flex;align-items:center;gap:15px}.status-banner p{font-size:13px;color:#7e562d}.demo-verification{background:#f7f3ef;padding:18px;border-radius:10px}.demo-verification h3{font-size:14px}.demo-verification p{font-size:12px;color:#7f6e60;margin:8px 0 15px}.editor-toolbar{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:24px;flex-wrap:wrap}.editor-toolbar>div{display:flex;align-items:center;gap:8px}.editor-toolbar>div>span:last-child{font-size:11px;color:#8c7561}.editor-grid{display:grid;grid-template-columns:330px minmax(0,1fr);gap:25px}.editor-meta{background:white;padding:22px;border-radius:12px;display:flex;flex-direction:column;gap:20px}.editor-meta h2{font-size:18px}.editor-meta .form-grid{grid-template-columns:1fr}.chapter-editor{background:#fff;padding:25px;border-radius:12px;min-width:0}.chapter-editor .section-top{margin-top:0}.chapter-pills{display:flex;gap:7px;overflow:auto;margin:15px 0 25px;padding-bottom:5px}.chapter-pills button{font-size:11px;padding:9px 12px;border-radius:6px;background:#f4eee7;white-space:nowrap}.chapter-pills button.active{background:#22170f;color:white}.chapter-tools{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:18px 0}.chapter-tools>div{display:flex;gap:7px}.writing-area{font-family:Georgia,serif;font-size:18px!important;line-height:1.9!important;min-height:430px;padding:24px!important;border-color:#e6ddd4!important}.writing-footer{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-top:15px}.writing-footer>span{font-size:11px;color:#8a7563;margin-right:auto}.editor-cover-preview{width:95px;max-height:145px;object-fit:cover;border-radius:6px}.review-work{background:white;border-radius:12px;padding:25px;margin:18px 0}.review-work>div:first-child{display:flex;align-items:center;gap:15px;flex-wrap:wrap}.review-work h2{margin-right:auto}.review-work p{font-size:13px;color:#7c6a5a;margin:12px 0;max-width:80ch}.review-work>div:first-child p{flex-basis:100%;margin:0}.review-actions{display:flex;gap:10px;margin-top:20px;flex-wrap:wrap}.work-preview{max-height:65dvh;overflow:auto;padding-right:8px}.work-preview>h2{font-size:24px}.work-preview section{margin-top:30px}.work-preview section h3{font-size:18px}.work-preview section h3 small{display:block;font-family:Manrope;font-size:11px;color:#8d6a4f;margin-top:7px}.work-preview section p{font-family:Georgia,serif;font-size:17px;line-height:1.9;margin-top:17px}.version-row,.payout-line{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 0;border-bottom:1px solid #e6ddd4}.version-row b,.payout-line b{font-size:13px}.version-row p,.payout-line p{font-size:12px;color:#8c7664;margin-top:6px}.operations-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.operation-link{background:white;border-radius:12px;padding:27px;text-align:left;position:relative;min-height:145px}.operation-link h2{font-size:20px}.operation-link p{font-size:13px;color:#8b7461;margin-top:12px}.operation-link>svg{position:absolute;right:22px;top:28px;color:#bf5d1a}.permissions{padding:22px;background:white;border-radius:12px;display:grid;gap:18px}.permissions p{font-size:13px;color:#7e6a59}.permissions b{display:inline-block;min-width:90px;color:#31251c}.workspace .notice{background:#eee6dd;color:#7a5d43}.workspace-empty{padding:60px 25px;background:#fff;text-align:center;border-radius:12px}.workspace-empty>svg{margin:0 auto 17px;width:30px;height:30px;color:#c27943}.workspace-empty p{font-size:13px;color:#89715d;margin-top:12px}.inline-form{display:flex;align-items:end;gap:15px;margin-bottom:30px;max-width:600px}.inline-form .form-field{flex:1}.category-list{background:#fff;border-radius:12px;padding:0 25px;max-width:760px}.category-list>div{padding:15px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eee4da}.category-list>div:last-child{border:0}.workspace .form-field input,.workspace .form-field select,.workspace .form-field textarea{background:#fff!important;color:#2a2019!important;border-color:#d6c8bc!important}.workspace .check-field{color:#675240}.workspace .form-field small{color:#8e7662}.workspace .role-links button{border-color:#62432d}.portal-mode #toast{bottom:24px}.portal-mode dialog{width:min(600px,calc(100% - 32px));max-height:90dvh;overflow:auto}.portal-mode .reply{background:#f4ede6;color:#2a2119}.portal-mode dialog .form-field input,.portal-mode dialog .form-field select,.portal-mode dialog .form-field textarea{background:#fff!important;color:#2a2019!important}.portal-mode .workspace .primary:disabled{background:#eee0d5;color:#958171}
@media(max-width:1100px){.editor-grid{grid-template-columns:270px minmax(0,1fr)}.workspace-content{padding:30px 25px}.workspace-header{padding:0 25px}.workspace{grid-template-columns:210px 1fr}.workspace-title h1{font-size:28px}.workspace-title{align-items:flex-start}.editor-toolbar>div:last-child{flex-wrap:wrap}.writing-footer{flex-wrap:wrap}.writing-area{padding:16px!important}.workspace-metrics{gap:13px}}
@media(max-width:760px){.workspace{grid-template-columns:1fr;display:flex;flex-direction:column}.workspace-sidebar{height:auto;max-height:none;padding:12px 16px;overflow:visible;flex-shrink:0}.workspace-logo{width:135px;padding:7px 10px}.workspace-name{display:none}.workspace-sidebar nav{flex-direction:row;overflow:auto;padding-top:12px;scrollbar-width:none}.workspace-sidebar nav button{width:auto;white-space:nowrap;padding:9px 12px;flex-shrink:0;font-size:12px}.workspace-sidebar nav button>svg{width:16px;height:16px}.workspace-switch{display:none}.workspace-body{height:auto;flex:1;min-height:0}.workspace-header{height:auto;min-height:65px;padding:12px 18px;flex-wrap:wrap;gap:10px}.workspace-header>span{display:none}.workspace-header>div{width:100%;justify-content:space-between;gap:10px}.workspace-content{padding:25px 18px 45px}.workspace-title{flex-direction:column;gap:18px}.workspace-title h1{font-size:28px}.workspace-title p{font-size:13px}.workspace-metrics{grid-template-columns:1fr 1fr;gap:12px}.metric{padding:19px 15px}.metric strong{font-size:27px}.editor-grid{grid-template-columns:1fr}.editor-meta .form-grid{grid-template-columns:1fr 1fr}.editor-meta,.chapter-editor{padding:18px}.workspace-banner{flex-direction:column;align-items:start;padding:25px}.workspace-form{padding:20px}.application-progress{gap:13px}.application-progress div{font-size:11px}.application-progress b{width:23px;height:23px}.operations-grid{grid-template-columns:1fr}.inline-form{flex-wrap:wrap}.chapter-tools{align-items:start;flex-direction:column}.status-banner{align-items:start;flex-direction:column}.portal-mode dialog{margin:auto auto 12px}.review-actions{flex-direction:column}.review-actions button{width:100%}.payout-line{align-items:start;flex-wrap:wrap}}
@media(max-height:760px){.home-hello h1{font-size:28px}.home-hello{padding-top:5px}.home-hello>p{margin-bottom:6px}.world-tabs button{padding:9px 0}.onboarding .welcome-art{height:210px}.onboarding .welcome-copy h1{font-size:27px}.onboarding .welcome-copy>p{font-size:13px}.welcome-art .cover{width:88px;height:138px}.welcome-art .cover:nth-child(2){width:108px;height:168px}}
@media(prefers-reduced-motion:reduce){.cover-flight{display:none}}

.intro{background:#131313}body.app-dark{color:var(--ink)}.onboarding{--ink:#f5f1ed;color:#f5f1ed}.workspace .writing-area{font-weight:400}.reader article{font-weight:400}
