@import "https://fonts.googleapis.com/css2?family=Literata:opsz,wght@7..72,500;7..72,700&family=Inter:wght@500;650;750;850&display=swap";.sharedPlayer{--player-paper:#fdf8ec;--player-bg:#2d2318;--player-accent:#b9d69b;z-index:50;box-sizing:border-box;width:min(680px,100% - 24px);padding:12px max(12px,env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));background:var(--player-bg);color:var(--player-paper);border:1px solid #655342;border-radius:16px;grid-template-columns:minmax(0,1fr);gap:4px;display:grid;position:fixed;bottom:12px;left:50%;transform:translate(-50%);box-shadow:0 4px 24px #2d231830}html.withPlayer{scroll-padding-bottom:var(--player-space,152px)}.withPlayer .appShell,.withPlayer .appShell.hasStickyPlayer{padding-bottom:var(--player-space,152px)}.stickyPlayer:has(.sharedPlayer){-webkit-backdrop-filter:none;backdrop-filter:none;display:contents;position:static;transform:none}.stickyPlayer:has(.sharedPlayer)>div:first-child:not(.sharedPlayer){display:none}.sharedPlayer:not(.expandedPlayer){padding-block:19px calc(19px + env(safe-area-inset-bottom));grid-template-columns:minmax(0,1fr) auto}.sharedPlayer button[hidden]{display:none}.sharedPlayer button,.sharedPlayer select,.sharedPlayer summary,.sharedPlayer input:not([type=range]){min-width:44px;min-height:44px}.sharedPlayer button{cursor:pointer;border-radius:8px}.sharedPlayer.sharedPlayer :focus-visible{outline:3px solid var(--player-paper);outline-offset:3px;box-shadow:0 0 0 3px var(--player-bg)}.sharedPlayer .playerIdentity{min-width:0;color:inherit;text-align:left;background:0 0;border:0;align-items:center;gap:12px;padding:0;display:flex}.identityText{flex:1;min-width:0}.sharedPlayer .identityText strong,.sharedPlayer .identityText>span,.playerHeading h2,.playerHeading p{white-space:nowrap;text-overflow:ellipsis;color:inherit;margin:0;display:block;overflow:hidden}.sharedPlayer .identityText strong{font:650 16px/1.25 system-ui,sans-serif}.sharedPlayer .identityText>span{font:400 14px/1.4 system-ui,sans-serif}.sharedPlayer .playerArtwork{color:#fdf8ec;background:#564332;border:1px solid #8b7257;border-radius:8px;flex:none;justify-content:center;align-items:center;width:56px;height:56px;font:32px Georgia,serif;display:flex}.sharedPlayer .transportControls{justify-content:center;align-items:center;gap:24px;display:flex}.sharedPlayer .transportControls button{width:48px;height:48px;color:var(--player-paper);background:0 0;border:0;justify-content:center;align-items:center;padding:0;font-size:26px;line-height:1;display:flex}.sharedPlayer .transportControls .primaryTransport{width:56px;height:56px;font-size:32px}.sharedPlayer button:disabled{opacity:.45;cursor:default}.compactProgress{background:#655342;border-radius:4px;grid-column:1/-1;height:3px;overflow:hidden}.compactProgress span{background:var(--player-accent);height:100%;display:block}.sharedPlayer .playerStatus,.sharedPlayer .playerError{overflow-wrap:anywhere;grid-column:1/-1;margin:0;font:12px/1.4 system-ui,sans-serif}.sharedPlayer.expandedPlayer{padding:16px max(16px,env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));border-radius:24px;gap:4px}.expandedPlayer .collapsePlayer{width:44px;color:inherit;background:0 0;border:0;padding:0;font-size:24px;position:absolute;top:12px;right:12px;overflow:hidden}.playerHeading{border:0;align-items:center;gap:12px;min-width:0;padding:0 44px 0 0;display:flex}.sharedPlayer.expandedPlayer .playerArtwork{width:64px;height:64px}.playerHeading h2{font:650 20px/1.25 system-ui,sans-serif}.playerHeading p{margin-top:4px;font:400 16px/1.35 system-ui,sans-serif}.expandedPlayer .transportControls .primaryTransport{width:64px;height:64px;font-size:36px}.expandedPlayer .transportControls svg{width:36px;height:36px}@media (width>=600px){.expandedPlayer .transportControls{gap:56px}.expandedPlayer .transportControls .primaryTransport{font-size:48px}.expandedPlayer .transportControls svg{width:40px;height:40px}}.playerTimeline{font-variant-numeric:tabular-nums;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;font:14px/1.3 system-ui,sans-serif;display:grid}.playerTimeline input{appearance:none;width:100%;min-width:0;height:44px;accent-color:var(--player-paper);background:0 0;margin:0}.playerTimeline input::-webkit-slider-runnable-track{background:#8b7864;border-radius:4px;height:4px}.playerTimeline input::-webkit-slider-thumb{appearance:none;background:var(--player-paper);border-radius:50%;width:18px;height:18px;margin-top:-7px}.playerTimeline input::-moz-range-track{background:#8b7864;height:4px}.playerTimeline input::-moz-range-thumb{background:var(--player-paper);border:0;border-radius:50%;width:18px;height:18px}.sharedPlayer .visuallyHidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.playerSettings>summary{text-align:center;cursor:pointer;font:14px/44px system-ui,sans-serif}.playerOptions{overscroll-behavior:contain;border-top:1px solid #8b7864;gap:12px;max-height:min(30dvh,240px);padding:8px;display:grid;overflow:auto}.playerOptions label{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.sharedPlayer .playerOptions select,.sharedPlayer .playerOptions input,.sharedPlayer .playerOptions button{background:var(--player-paper);max-width:100%;color:var(--player-bg)}.playerOptions{scroll-padding:8px}.playerOptions :is(button,select,input,summary){scroll-margin:8px}.playerOptions nav{flex-direction:column;gap:8px;display:flex}.playerOptions summary{cursor:pointer;padding:12px 0}@media (width>=600px){.sharedPlayer:not(.expandedPlayer){grid-template-columns:minmax(0,1fr) auto}.compactProgress{grid-column:1/-1}.sharedPlayer.expandedPlayer .playerArtwork{width:72px;height:72px}}@media (height<=500px){.sharedPlayer{padding-top:8px;padding-bottom:calc(8px + env(safe-area-inset-bottom));bottom:8px}.sharedPlayer.expandedPlayer .playerArtwork{width:56px;height:56px}.expandedPlayer .transportControls .primaryTransport{width:64px;height:56px}.playerOptions{max-height:100px}.sharedPlayer.expandedPlayer{grid-template-columns:minmax(72px,1fr) minmax(0,2fr)}.expandedPlayer .playerHeading,.expandedPlayer .playerTimeline{grid-column:1/-1}.expandedPlayer .transportControls{align-self:start;gap:8px}.expandedPlayer .playerSettings{min-width:0}.expandedPlayer .playerSettings>summary{justify-content:center;align-items:center;line-height:1.4;display:flex}.expandedPlayer .playerOptions{max-height:100px}}@media (height<=500px) and (width<=599px){.sharedPlayer.expandedPlayer:has(.playerTimeline){grid-template-columns:minmax(0,1fr)}}@media (prefers-reduced-motion:reduce){.sharedPlayer *{scroll-behavior:auto;transition:none}}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#2d2318;background:#f5efe3;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif}*{box-sizing:border-box}html{background:#f5efe3}body{background:radial-gradient(circle at 20% 0,#fff8e8 0,#f5efe3 34%,#eadfc9 100%);min-width:320px;min-height:100vh;margin:0}button,input,select{font:inherit}button:focus-visible,input:focus-visible,select:focus-visible,.uploadButton:focus-within{outline-offset:4px;outline:3px solid #8a5f1f}button:disabled{opacity:.6;cursor:not-allowed}.quietButton{color:#365f35;cursor:pointer;background:#e6ecd2;border-radius:10px;padding:12px 16px}.authForm{gap:18px;max-width:400px;padding:32px 0;display:grid}.authForm label,.generationControls label{gap:8px;display:grid}.authForm input,.generationControls select{color:#2d2318;background:#fff8e8;border:1px solid #b5a58e;border-radius:8px;min-width:0;padding:12px}.generationControls{flex-wrap:wrap;align-items:end;gap:14px;margin-bottom:24px;display:flex}.generationControls small{color:#6b5a43;flex-basis:100%}.notice{color:#6b5a43;overflow-wrap:anywhere;margin:18px 0;line-height:1.6}.trackChip.error{color:#9d3f23;background:#f5d5c9}.uploadButton input[type=file]{opacity:0;width:1px;height:1px;display:block;position:absolute;overflow:hidden}button{border:0}input[type=file]{display:none}.appShell{width:min(100% - 28px,860px);margin:0 auto;padding:18px 0 116px}.topBar{justify-content:space-between;align-items:center;gap:14px;padding:4px 0 18px;display:flex}.brandMark{color:#34542f;letter-spacing:-.04em;font-family:Literata,Georgia,serif;font-size:22px;font-weight:700}.uploadButton{cursor:pointer;white-space:nowrap;color:#fbf6ea;background:#365f35;border-radius:999px;justify-content:center;align-items:center;min-height:44px;padding:0 20px;font-weight:850;transition:transform .16s,background .16s,box-shadow .16s;display:inline-flex;box-shadow:0 10px 22px #365f3538}.uploadButton:hover,.chapterButton:hover,.coverButton:hover{transform:translateY(-1px)}.uploadButton.compact{min-height:38px;padding:0 16px;font-size:14px}.homeHero{border-bottom:1px solid #563f242e;gap:18px;padding:20px 0 26px;display:grid}h1,h2{color:#2d2318;letter-spacing:-.055em;margin:0;font-family:Literata,Georgia,serif;font-weight:700}h1{max-width:720px;font-size:clamp(44px,12vw,84px);line-height:.9}h2{font-size:clamp(30px,8vw,52px);line-height:.95}.homeHero p,.libraryHeader p,.emptyLibrary,.emptyText{color:#6b5a43;margin:0;line-height:1.5}.homeHero p{max-width:590px;font-size:16px}.heroUpload{width:max-content;min-width:164px}.smallLabel{color:#6a7b43;letter-spacing:.09em;text-transform:uppercase;margin-bottom:8px;font-size:11px;font-weight:850;display:block}.libraryTitle{font-size:clamp(30px,8vw,52px);line-height:1.05}.importOptions{margin-bottom:18px}.importOptions summary{color:#365f35;cursor:pointer;background:#e6ecd2;border-radius:10px;width:max-content;min-height:44px;padding:12px 16px}.importOptions summary:focus-visible{outline-offset:4px;outline:3px solid #8a5f1f}.importFields{flex-wrap:wrap;align-items:end;gap:14px;padding:16px 0;display:flex}.importFields label{gap:8px;max-width:100%;display:grid}.importFields select{max-width:100%;min-height:44px}.importOptions .emptyText{margin:10px 0}.librarySection{padding:16px 0 0}.libraryHeader{gap:10px;margin-bottom:22px;display:grid}.libraryHeader p{max-width:620px;font-size:14px}.emptyLibrary{border-top:1px solid #563f242e;border-bottom:1px solid #563f242e;padding:28px 0}.bookShelf{gap:0;display:grid}.bookTile{border-top:1px solid #563f242e}.bookStatus{color:#6b5a43;margin:0 0 10px;font-size:13px;line-height:1.5}.bookActions{flex-wrap:wrap;gap:8px;margin-bottom:18px;display:flex}.uploadButton:has(input:disabled){opacity:.6;cursor:not-allowed}.bookTile:last-child{border-bottom:1px solid #563f242e}.bookTile.expanded{background:0 0}.coverButton{color:#2d2318;text-align:left;cursor:pointer;background:0 0;grid-template-columns:72px 1fr;align-items:center;gap:16px;width:100%;padding:16px 0;display:grid}.bookCover{--coverHue:100;color:#fbf6ea;background:linear-gradient(145deg,#2f5130,#6f4c2f 78%);border-radius:4px 10px 10px 4px;flex-direction:column;justify-content:space-between;min-height:104px;padding:11px 10px;display:flex;box-shadow:inset 8px 0 #ffffff1f,0 9px 18px #48311c3d}.bookCover span{text-transform:uppercase;letter-spacing:.08em;opacity:.86;font-size:9px;font-weight:850}.bookCover strong{-webkit-line-clamp:4;letter-spacing:-.04em;-webkit-box-orient:vertical;font-family:Literata,Georgia,serif;font-size:14px;line-height:1.05;display:-webkit-box;overflow:hidden}.bookMeta strong{letter-spacing:-.055em;overflow-wrap:anywhere;font-family:Literata,Georgia,serif;font-size:clamp(22px,6vw,38px);font-weight:700;line-height:.98;display:block}.bookMeta span{color:#6b5a43;margin-top:8px;font-size:13px;font-weight:750;display:block}.bookExpansion{padding:0 0 22px 88px}.progressTrack{background:#563f2421;border-radius:999px;height:4px;margin:0 0 18px;overflow:hidden}.progressTrack div{border-radius:inherit;background:#5f7a42;height:100%;transition:width .2s}.chapterList.unified{gap:0;display:grid}.tocHeader{color:#7a684f;letter-spacing:.08em;text-transform:uppercase;grid-template-columns:1fr auto;gap:14px;margin:0 0 6px;font-size:11px;font-weight:850;display:grid}.chapterRow{border-top:1px solid #563f2424}.chapterRow.active{background:#fef8eaad}.chapterButton{text-align:left;color:#2d2318;cursor:pointer;background:0 0;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;width:100%;padding:13px 0;display:grid}.chapterTitleBlock{min-width:0}.chapterButton strong{letter-spacing:-.02em;text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:850;display:block;overflow:hidden}.chapterButton small{color:#6b5a43;margin-top:4px;font-size:12px;display:block}.chapterIcon{color:#735b39;background:#563f241f;border-radius:50%;place-items:center;width:28px;height:28px;font-size:12px;font-weight:850;display:inline-grid}.chapterIcon.ready{color:#365f35;background:#e6ecd2}.chapterIcon.narrating{color:#8a5f1f;background:#f0dfba}.chapterIcon.fail{color:#9d3f23;background:#f5d5c9}.chapterIcon.done{color:#1f6b38;background:#d8ead2}.statusBadge{color:#6b5a43;text-transform:capitalize;background:#563f241a;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:850}.statusBadge.ready{color:#365f35;background:#e6ecd2}.statusBadge.narrating{color:#8a5f1f;background:#f0dfba}.statusBadge.fail{color:#9d3f23;background:#f5d5c9}.statusBadge.done{color:#1f6b38;background:#d8ead2}.trackStrip{flex-wrap:wrap;gap:7px;padding:0 0 13px 40px;display:flex}.trackChip{color:#6b5a43;cursor:default;background:#563f2417;border-radius:999px;min-height:25px;padding:5px 9px;font-size:11px;font-weight:800}.trackChip.ready{cursor:pointer;color:#365f35;background:#e6ecd2}.trackChip.generating{color:#8a5f1f;background:#f0dfba}.trackChip.failed{color:#9d3f23;background:#f5d5c9}.trackChip.active{box-shadow:inset 0 0 0 2px}.trackChip:disabled{opacity:1}.generatedAudio{accent-color:#365f35;width:100%;min-width:0}.appShell.hasStickyPlayer{padding-bottom:calc(270px + env(safe-area-inset-bottom))}.stickyPlayer:has(.playerControls){display:block}.stickyPlayer:has(.nowPlaying){-webkit-backdrop-filter:none;backdrop-filter:none;transform:none}.stickyPlayer:has(.playerControls)>div:first-child:not(.playerControls){display:none}.playerControls{gap:8px;display:grid}.playerControls button,.playerControls select{cursor:pointer;border-radius:12px;min-width:44px;min-height:44px}.playerControls [hidden]{display:none}.playerIdentity{color:inherit;text-align:left;background:0 0}.playerIdentity span{overflow-wrap:anywhere;display:block}.transportControls{justify-content:center;gap:16px;display:flex}.transportControls button{color:#243b24;background:#e6ecd2;padding:10px 22px}.playerSeek{gap:2px;display:grid}.playerSeek input{accent-color:#b9d69b;cursor:pointer;width:100%;height:44px;margin:0}.playerSeek input::-webkit-slider-thumb{min-width:22px;min-height:22px}.playerSeek input::-moz-range-thumb{width:22px;height:22px}.playerSeek span,.speedControl{font-size:12px}.speedControl{justify-content:center;align-items:center;gap:10px;display:flex}.speedControl select{color:#2d2318;background:#fdf8ec}.playerControls.nowPlaying{z-index:100;height:100dvh;padding:calc(18px + env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));color:#fdf8ec;background:#2d2318;grid-template-columns:minmax(0,1fr);grid-auto-rows:max-content;align-content:start;justify-items:stretch;gap:18px;position:fixed;inset:0;overflow-y:auto}.nowPlaying>*{width:min(100%,540px);margin-left:auto;margin-right:auto}.nowPlaying h2,.nowPlaying p{color:inherit;overflow-wrap:anywhere}.nowPlaying h2{font-size:clamp(28px,7vw,44px)}.nowPlayingCover{aspect-ratio:1;overflow-wrap:anywhere;text-align:center;background:linear-gradient(145deg,#365f35,#795332);border-radius:12px;place-items:center;max-width:320px;padding:24px;font-family:Literata,Georgia,serif;font-size:28px;display:grid}.chapterButton strong{white-space:normal;overflow-wrap:anywhere}.trackChip{min-height:44px}.stickyPlayer{z-index:20;padding:9px 12px calc(9px + env(safe-area-inset-bottom));color:#fdf8ec;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#2d2318f5;border-top:1px solid #ffffff1a;grid-template-columns:minmax(104px,38%) 1fr;align-items:center;gap:10px;display:grid;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -14px 30px #24180b57}.stickyPlayer strong{text-overflow:ellipsis;white-space:nowrap;letter-spacing:-.02em;font-family:Literata,Georgia,serif;display:block;overflow:hidden}.stickyPlayer .smallLabel{color:#b7c08d;margin-bottom:3px}.stickyPlayer .emptyText{color:#d8ccb4;font-size:13px}.stickyPlayer audio{height:42px}@media (width<=520px){.appShell{width:min(100% - 22px,520px);padding-bottom:96px}.uploadButton.compact{padding:0 14px}.coverButton{grid-template-columns:58px 1fr;gap:13px}.bookCover{min-height:92px;padding:9px 8px}.bookCover strong{font-size:12px}.bookExpansion{padding-left:0}.chapterButton{grid-template-columns:auto 1fr}.chapterButton .statusBadge{grid-column:2;width:max-content;margin-top:-4px}.trackStrip{padding-left:40px}}@media (width<=360px){.stickyPlayer{grid-template-columns:1fr}.appShell{padding-bottom:132px}}@media (width>=760px){.appShell{padding-top:26px;padding-bottom:128px}.homeHero{grid-template-columns:1fr auto;align-items:end;padding-top:34px;padding-bottom:34px}.libraryHeader{grid-template-columns:1fr minmax(260px,390px);align-items:end}.libraryHeader p{text-align:right;justify-self:end}.coverButton{grid-template-columns:92px 1fr;padding:18px 0}.bookCover{min-height:128px}.bookExpansion{padding-left:108px}.stickyPlayer{border:1px solid #ffffff1f;border-radius:18px;grid-template-columns:minmax(170px,300px) 1fr;width:min(860px,100% - 28px);padding:12px 14px;bottom:14px;left:50%;right:auto;transform:translate(-50%)}}.liveReader{color:#33291f;min-width:0;margin:1rem auto;padding:0}.liveText{white-space:pre-wrap;overflow-wrap:anywhere;overflow-anchor:none;-webkit-user-select:text;user-select:text;max-inline-size:68ch;margin:1rem auto;padding:0;font:18px/1.85 Georgia,serif;overflow:visible}.liveText::highlight(live-spoken){color:#33291f;background-color:#f2dfa9}.liveText::highlight(live-pending){color:#33291f;background-color:#eee2c7;-webkit-text-decoration:underline dashed #97722f;text-decoration:underline dashed #97722f}.liveText::highlight(live-preview){color:#33291f;background-color:#e6ecd2}.bookTextHeading{margin:16px 0 4px;font:650 18px/1.4 system-ui,sans-serif}.readingActions{flex-wrap:wrap;gap:8px;margin:12px 0;display:flex}.readingActions button,.chapterBrowse,.chapterPlay{min-height:44px;color:inherit;cursor:pointer;background:0 0}.sharedPlayer:not(.expandedPlayer):has(>.readerToolbar){grid-template-columns:minmax(0,1fr) auto auto}.readerToolbar{flex:0 0 88px;align-items:center;width:88px;display:flex}.readerToolbar .returnToAudio{color:#33291f;background:#fdf8ec;border:1px solid #bcab91;border-radius:8px;width:100%;min-height:44px;padding:8px 12px}.readerChapters summary,.readingActions summary{cursor:pointer;min-height:44px;padding:12px 0}.readerChapters ol{margin:0;padding:0;list-style:none}.readerChapters .chapterRow{--chapter-ordinal-width:2.25rem;--chapter-column-gap:12px;border-bottom:1px solid #d9cbb8}.chapterBrowse,.chapterPlay{text-align:start;overflow-wrap:anywhere;width:100%}.chapterBrowse{grid-template-columns:var(--chapter-ordinal-width) minmax(0,1fr) 1.25rem;align-items:baseline;column-gap:var(--chapter-column-gap);grid-template-areas:"ordinal title chevron";padding:14px 8px;display:grid}.chapterBrowse[aria-current]{background:#e6ecd2}.chapterOrdinal{font-variant-numeric:tabular-nums;grid-area:ordinal}.chapterTitle{grid-area:title}.chapterChevron{grid-area:chevron}.chapterPlay{padding:8px;padding-inline-start:calc(8px + var(--chapter-ordinal-width) + var(--chapter-column-gap));display:block}.bookReaderScreen{padding-bottom:var(--player-space,0px)}.readerHeader{justify-content:space-between;align-items:center;gap:16px;min-height:44px;display:flex}.readerHeader a{color:#365f35;padding:12px 0}.bookReaderScreen h1{overflow-wrap:anywhere;margin:20px 0;font-size:clamp(24px,3vw,32px);line-height:1.25}.readerModes{flex-wrap:wrap;gap:8px;display:flex}.bookActionMenu{position:relative}.bookActionItems{z-index:4;background:#fdf8ec;border:1px solid #bcab91;min-width:160px;padding:8px;position:absolute;top:100%;right:0;box-shadow:0 4px 12px #2d231822}.bookActionItems button{color:#923d28;cursor:pointer;background:0 0;min-height:44px;padding:8px}.bookTile{padding-right:56px;position:relative}.bookTile>.bookActionMenu{position:absolute;top:12px;right:0}.coverButton{text-decoration:none}html:has(.bookReaderScreen){scroll-padding-bottom:var(--player-space,0px)}.appShell:has(.bookReaderScreen){width:min(100% - 32px,860px);padding-bottom:24px}.bookReaderScreen .liveText{scroll-margin-bottom:var(--player-space,0px)}@media (width<=340px){.appShell:has(.bookReaderScreen){width:calc(100% - 24px)}}.playerOptions select{color:#2d2318;background:#fdf8ec;width:100%;min-height:44px;padding:8px}.playerOptions label{gap:8px;min-width:0;display:grid}.appShell:has(.bookReaderScreen)>.topBar{display:none}.withPlayer .appShell.hasStickyPlayer:has(.bookReaderScreen){padding-bottom:24px}:is(html:has(.liveReaderPaged),body:has(.liveReaderPaged)){background:#281b16}.appShell:has(.liveReaderPaged){background:#281b16}.bookReaderScreen:has(.liveReaderPaged) :is(h1,.readerHeader a){color:#f8ecd4}:is(.appShell:has(.liveReaderPaged),.bookReaderScreen:has(.liveReaderPaged)){color:#f8ecd4}.bookReaderScreen:has(.liveReaderPaged) h1{margin:8px 0;font:600 20px/1.3 Georgia,serif}.liveReaderPaged{color:#f8ecd4;margin:8px auto}.liveReaderPaged .bookTextHeading{display:none}.liveReaderPaged .readingActions,.liveReaderPaged .readerChapters{vertical-align:top;margin:0 16px 4px 0;display:inline-block}.liveReaderPaged .readingActions small{max-width:32ch;display:block}.pagedReader{position:relative}.pageType{justify-content:flex-end;align-items:center;gap:8px;margin-bottom:8px;font-size:12px;display:flex}.pageType select{color:#f8ecd4;background:#281b16;min-height:44px}.pageSheet{color:#281b16;background:#f8ecd4;border-radius:3px;padding:20px 28px;position:relative}.liveReaderPaged .paginatedText{font-size:inherit;max-inline-size:none;height:max(100px,calc(100dvh - var(--player-space,110px) - 330px));touch-action:pan-y pinch-zoom;margin:0;line-height:1.6;overflow:visible}.liveReaderPaged .pageMeasure{visibility:hidden;pointer-events:none;max-inline-size:none;height:auto;margin:0;padding:0;line-height:1.6;position:fixed;top:0;left:-100000px;overflow:visible}.pageMargin{touch-action:pan-y pinch-zoom;width:26px;position:absolute;top:0;bottom:0}.pageMargin.left{left:0}.pageMargin.right{right:0}.pagePosition{color:#f8ecd4;background:#281b16;margin-top:8px;position:relative}.pagePosition output{text-align:center;min-height:20px;font-size:12px;display:block}.pagePositionRow{align-items:center;gap:12px;display:flex}.pagePositionRow button{color:#f8ecd4;background:#281b16;border:1px solid #927657;min-width:44px;min-height:44px}.pagePositionRow input{accent-color:#e4bb71;flex:1;min-width:30px;height:44px}.pagePreview{z-index:5;color:#281b16;background:#f8ecd4;width:220px;padding:12px;position:absolute;bottom:100%;left:50%;transform:translate(-50%);box-shadow:0 4px 24px #0008}.pagePreview p{white-space:pre-wrap;max-height:180px;font:10px/1.4 Georgia,serif;overflow:hidden}.pageAnnouncement{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.liveReaderPaged :is(button,input,select,[tabindex]):focus-visible{outline-offset:3px;outline:3px solid #e4bb71}.liveReaderPaged .sharedPlayer{color:#f8ecd4;background:#281b16}.liveReaderPaged:has(.playerSettings[open]) .paginatedText{min-height:2lh}.liveReaderPaged .playerOptions{max-height:min(20dvh,180px)}@media (height<=500px){.liveReaderPaged .pageSheet{padding:8px 28px}.liveReaderPaged .paginatedText{height:max(1lh,calc(100dvh - var(--player-space,110px) - 150px))}.liveReaderPaged .pageType{margin-bottom:4px}.liveReaderPaged .pagedReader{scroll-margin-top:4px}.liveReaderPaged .sharedPlayer.expandedPlayer{padding:6px 10px calc(6px + env(safe-area-inset-bottom))}.liveReaderPaged .expandedPlayer .playerArtwork{width:44px;height:44px}.liveReaderPaged .expandedPlayer .playerOptions{box-sizing:border-box;max-height:66px}.liveReaderPaged .expandedPlayer .playerHeading{gap:6px;min-height:44px}.liveReaderPaged .expandedPlayer .collapsePlayer{top:6px;right:6px}.liveReaderPaged:has(.playerSettings[open]) .pagePosition{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;margin-top:4px;display:grid}.liveReaderPaged:has(.playerSettings[open]) .paginatedText{height:max(2lh,calc(100dvh - var(--player-space,110px) - 56px))}}
