.kb-read{box-sizing:border-box;display:flex;flex-direction:column;min-height:100dvh;padding:64px 16px 12px;background:#f6efe4;color:#2a2140;touch-action:pan-y}@media (prefers-color-scheme: dark){.kb-read{background:#1c1630;color:#f4efe6}}.kb-read.is-fill{position:fixed;z-index:15;top:0;right:0;bottom:0;left:0;min-height:0;height:100%}.kb-stage{position:relative;flex:1;display:grid;place-items:center;min-height:0;perspective:1400px}.kb-read{--kb-band: 64px}.kb-read.is-short{--kb-band: 0px}.kb-3d{position:absolute;z-index:1;top:calc(-1 * var(--kb-band));right:0;bottom:0;left:0;opacity:0;transition:opacity .3s ease}.kb-3d canvas{display:block;width:100%;height:100%}.kb-read.is-3d .kb-3d{opacity:1}.kb-read.is-3d.is-fade .kb-3d{opacity:.35;transition:none}.kb-read.is-3d .kb-book{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0;aspect-ratio:auto;transform:none;animation:none}@media (prefers-reduced-motion: reduce){.kb-3d{transition:none}}.kb-book{display:grid;grid-template-columns:1.15fr 1fr;width:min(100%,calc((100dvh - 150px)*1.6));aspect-ratio:16 / 10;background:#fffaf0;color:#2a2140;border-radius:12px;overflow:hidden;box-shadow:0 24px 50px #14102847}.kb-book img{width:100%;height:100%;object-fit:cover;pointer-events:none}.kb-page{display:flex;flex-direction:column;min-height:0;min-width:0;padding:4.5% 6% 5%}.kb-time{margin:var(--kb-lift, 0px) 0 .4em;font-size:clamp(12px,1.3vw,15px);font-weight:700;letter-spacing:.04em;text-transform:uppercase;opacity:.66}.kb-words{overflow:hidden;font-size:var(--kb-words, clamp(14px, 1.45vw, 20px));line-height:var(--kb-lh, 1.32)}.kb-words p{margin:0 0 var(--kb-gap, .55em);text-wrap:pretty}.kb-words p:last-child{margin-bottom:0}.kb-read:not(.is-3d) .kb-book>.kb-page:not([data-fit])>*{visibility:hidden;animation:kb-fit-wait 0s 1.2s forwards}@keyframes kb-fit-wait{to{visibility:visible}}.kb-measure{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;visibility:hidden;pointer-events:none;z-index:-1}.kb-measure-pages{position:absolute;top:0;left:0;--kb-lift: 0px}.kb-say{font-weight:750}.kb-em{font-style:italic}.kb-t-whisper{font-size:max(12px,.9em);font-weight:500;color:#2a2140b8;letter-spacing:.02em}.kb-t-sleepy{font-weight:400;color:#2a2140b8;letter-spacing:.08em}.kb-t-slow{letter-spacing:.14em;word-spacing:.12em}.kb-t-sound{font-size:1.12em;font-weight:750;letter-spacing:.02em;line-height:1.1}.kb-t-loud{font-size:1.14em;font-weight:800;line-height:1.1}.kb-t-shout{font-size:1.22em;font-weight:850;letter-spacing:.02em;line-height:1.05}.kb-t-end{display:block;margin-top:1em;font-weight:400;color:#2a2140b8;letter-spacing:.08em}.kb-read.is-one .kb-book{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);width:min(100%,560px);height:calc(100dvh - 150px);aspect-ratio:auto}.kb-read.is-one .kb-book img{width:100%;height:auto;max-height:none;aspect-ratio:16 / 10;object-fit:cover}.kb-read.is-one .kb-words{font-size:var(--kb-words, clamp(16px, 4.2vw, 22px));line-height:var(--kb-lh, 1.34)}@media (max-width: 520px){.kb-read.is-one .kb-page{padding:8px 14px 6px}.kb-read.is-one .kb-time{margin-bottom:.15em}.kb-read.is-one .kb-words{font-size:var(--kb-words, 15px);line-height:var(--kb-lh, 1.26)}.kb-read.is-one .kb-words p{margin-bottom:var(--kb-gap, .32em)}}.kb-read.is-tilt .kb-book{transform:rotateX(18deg);transform-origin:50% 85%}.kb-read.is-turn .kb-book{animation:kb-turn .32s ease}.kb-read.is-fade .kb-book{opacity:.35}@keyframes kb-turn{0%{transform:rotateY(0)}45%{transform:rotateY(-16deg)}to{transform:rotateY(0)}}.kb-read.is-tilt.is-turn .kb-book{animation-name:kb-turn-tilt}@keyframes kb-turn-tilt{0%{transform:rotateX(18deg) rotateY(0)}45%{transform:rotateX(18deg) rotateY(-16deg)}to{transform:rotateX(18deg) rotateY(0)}}@media (prefers-reduced-motion: reduce){.kb-read.is-tilt .kb-book,.kb-read.is-tilt.is-turn .kb-book{transform:none;animation:none}.kb-read.is-turn .kb-book{animation:none}}.kb-book[hidden]{display:none}.kb-cover{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;width:100%;min-height:0}.kb-cover-art{position:relative;container-type:inline-size;aspect-ratio:4 / 5;width:min(100%,520px,calc((100dvh - 210px)*.8));overflow:hidden;border-radius:12px;background:var(--kb-cloth);box-shadow:0 24px 50px #14102847;cursor:pointer}.kb-cover-art img{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none}.kb-cover-letters{position:absolute;top:0;right:0;bottom:0;left:0;margin:0;pointer-events:none}.kb-cover-letters span{position:absolute;left:50%;top:calc(var(--y) * 100%);transform:translate(-50%,-50%);font-family:Inter,system-ui,sans-serif;font-weight:var(--w);font-size:calc(var(--s) * 100cqw);line-height:1;white-space:nowrap;color:#fff7e6;-webkit-text-stroke:calc(var(--s) * var(--e) * 100cqw) #2a2140;paint-order:stroke fill}.kb-cover-keys{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}.kb-cover .kb-open-key,.kb-bar .kb-open-key{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;min-width:168px;min-height:56px;padding:0 28px;border:2px solid #2a2140;border-radius:16px;background:#2a2140;color:#fffaf0;font-size:calc(20px * var(--text-scale, 1));font-weight:800;line-height:1.15;box-shadow:0 6px 16px #14102838}.kb-open-key small{font-size:calc(13px * var(--text-scale, 1));font-weight:650;opacity:.85}.kb-open-key.is-continue,.kb-bar .kb-open-key.is-continue{background:#fffaf0;color:#2a2140}.kb-open-key:focus-visible{outline:3px solid #2f7d4f;outline-offset:3px}@media (prefers-color-scheme: dark){.kb-cover .kb-open-key,.kb-bar .kb-open-key{border-color:#f4efe6;background:#fffaf0;color:#1c1630}.kb-open-key.is-continue,.kb-bar .kb-open-key.is-continue{background:transparent;color:#f4efe6}}.kb-read.is-3d .kb-cover{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.kb-cover.is-opening{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;display:grid;place-items:center;pointer-events:none}.kb-cover.is-opening .kb-cover-art{transform-origin:0 50%;animation:kb-cover-open .45s ease-in forwards}.kb-cover.is-opening .kb-cover-keys{display:none}@keyframes kb-cover-open{to{transform:perspective(1400px) rotateY(-95deg);opacity:0}}.kb-cover.is-back .kb-cover-art{animation:kb-cover-back .35s ease-out}@keyframes kb-cover-back{0%{opacity:0;transform:scale(.96)}}@media (prefers-reduced-motion: reduce){.kb-cover.is-opening .kb-cover-art,.kb-cover.is-back .kb-cover-art{animation:none}}.kb-read.is-one .kb-cover-art{width:min(100%,560px,calc((100dvh - 166px)*.8))}.kb-read.is-short .kb-cover{flex-direction:row;gap:20px}.kb-read.is-short .kb-cover-art{width:min(70%,calc((100dvh - 16px)*.8))}.kb-read.is-short .kb-cover-keys{flex-direction:column;flex-wrap:nowrap}.kb-bar{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;align-items:center;padding:12px 0 4px}.kb-bar button{min-width:44px;min-height:44px;padding:0 14px;border:0;border-radius:12px;background:#fffaf0;color:#2a2140;font-weight:750;font-size:calc(18px * var(--text-scale, 1))}.kb-bar button:disabled{opacity:.4}.kb-count{min-width:72px;text-align:center;font-variant-numeric:tabular-nums;font-weight:700}.kb-voice{display:flex;gap:8px}.kb-bar .kb-read-key{display:inline-flex;align-items:center;gap:8px}.kb-bar .kb-read-key[aria-pressed=true]{background:#2f7d4f;color:#fff}.kb-bar .kb-pause-key{display:inline-flex;align-items:center;justify-content:center;width:44px;padding:0}.kb-read.is-one .kb-voice{position:absolute;z-index:2;top:max(14px,var(--sa-top, 0px));left:max(16px,var(--sa-left, 0px))}.kb-read.is-one .kb-voice button{box-shadow:0 2px 8px #1410282e}.kb-read.is-short{flex-direction:row;align-items:stretch;padding:8px 80px 8px 8px}.kb-read.is-short .kb-book{width:min(100%,calc((100dvh - 16px)*1.6))}.kb-read.is-short .kb-words{font-size:var(--kb-words, clamp(12px, 1.7vh, 16px));line-height:var(--kb-lh, 1.25)}.kb-read.is-short .kb-bar{position:absolute;right:8px;top:8px;bottom:8px;width:68px;flex-direction:column;flex-wrap:nowrap;padding:0}.kb-read.is-short .kb-bar button{width:64px;padding:6px 4px;font-size:calc(13px * var(--text-scale, 1))}.kb-read.is-short .kb-voice{flex-direction:column}.kb-read.is-short .kb-bar .kb-read-key{flex-direction:column;gap:2px;line-height:1.1}.kb-read.is-short .kb-bar .kb-pause-key{width:64px}.kb-read.is-short .kb-count{min-width:0;font-size:calc(12px * var(--text-scale, 1))}.kb-read.is-short.is-3d .kb-bar .kb-open-key{min-width:0;padding:6px;font-size:calc(15px * var(--text-scale, 1))}.kb-read.is-short.is-3d .kb-bar .kb-open-key small{font-size:calc(12px * var(--text-scale, 1))}.kb-bar .kb-zoom-key{display:inline-flex;align-items:center;gap:6px}.kb-icons{display:flex;gap:4px}.kb-bar .kb-icon-key{display:inline-flex;align-items:center;justify-content:center;width:46px;padding:0}.kb-read.is-short.is-3d{padding-right:112px}.kb-read.is-short.is-3d .kb-bar,.kb-read.is-short.is-3d .kb-bar button,.kb-read.is-short.is-3d .kb-bar .kb-pause-key{width:96px}.kb-read.is-short.is-3d .kb-bar .kb-icon-key{width:46px;padding:0}.kb-whole{position:absolute;z-index:3;top:8px;left:8px;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 14px;border:0;border-radius:12px;background:#fffaf0;color:#2a2140;font-weight:750;font-size:calc(16px * var(--text-scale, 1));box-shadow:0 2px 8px #14102838}.kb-3d.is-zoomed{touch-action:none}
