.book-content{padding:2rem;overflow-y:auto;height:100%}.reading-horizontal{writing-mode:horizontal-tb}.reading-horizontal h1{font-size:2.25rem;font-weight:800;line-height:1.2;margin-top:2rem;margin-bottom:1.5rem;color:hsl(var(--foreground))}.reading-horizontal h2{font-size:1.875rem;font-weight:700;line-height:1.3;margin-top:1.75rem;margin-bottom:1.25rem;color:hsl(var(--foreground))}.reading-horizontal h3{font-size:1.5rem;font-weight:600;line-height:1.4;margin-top:1.5rem;margin-bottom:1rem;color:hsl(var(--foreground))}.reading-horizontal h4{font-size:1.25rem;font-weight:600;line-height:1.5;margin-top:1.25rem;margin-bottom:.875rem;color:hsl(var(--foreground))}.reading-horizontal h5{font-size:1.125rem;line-height:1.6}.reading-horizontal h5,.reading-horizontal h6{font-weight:600;margin-top:1rem;margin-bottom:.75rem;color:hsl(var(--foreground))}.reading-horizontal h6{font-size:1rem;line-height:1.7}.reading-horizontal p{margin-bottom:1.25rem;line-height:inherit;color:hsl(var(--foreground))}.reading-horizontal ol,.reading-horizontal ul{margin-top:1rem;margin-bottom:1rem;padding-left:1.5rem}.reading-horizontal li{margin-top:.5rem;margin-bottom:.5rem;line-height:inherit}.reading-horizontal ul{list-style-type:disc}.reading-horizontal ol{list-style-type:decimal}.reading-horizontal blockquote{border-left:4px solid hsl(var(--muted-foreground));padding-left:1.5rem;margin:1.5rem 0;font-style:italic;color:hsl(var(--muted-foreground))}.reading-horizontal pre{background-color:hsl(var(--muted));border-radius:.5rem;padding:1rem;margin-top:1.5rem;margin-bottom:1.5rem;overflow-x:auto}.reading-horizontal code{background-color:hsl(var(--muted));padding:.2rem .4rem;border-radius:.25rem;font-size:.875em;font-family:ui-monospace,monospace}.reading-horizontal pre code{background-color:transparent;padding:0}.reading-horizontal strong{font-weight:700;color:hsl(var(--foreground))}.reading-horizontal em{font-style:italic}.reading-horizontal a{color:hsl(var(--primary));text-decoration:underline;text-underline-offset:.2em}.reading-horizontal a:hover{color:hsl(var(--primary));opacity:.8}.reading-horizontal img{max-width:100%;height:auto;margin-top:1.5rem;margin-bottom:1.5rem;border-radius:.5rem}.reading-horizontal table{width:100%;border-collapse:collapse;margin-top:1.5rem;margin-bottom:1.5rem}.reading-horizontal td,.reading-horizontal th{border:1px solid hsl(var(--border));padding:.75rem;text-align:left}.reading-horizontal th{background-color:hsl(var(--muted));font-weight:600}.reading-horizontal hr{border:none;border-top:2px solid hsl(var(--border));margin-top:2rem;margin-bottom:2rem}.reading-vertical{writing-mode:vertical-rl;text-orientation:mixed;overflow-x:auto;overflow-y:hidden;height:calc(100vh - 100px);width:100%;padding:2rem}.reading-vertical .tate-chu-yoko,.tate-chu-yoko{text-combine-upright:all;-webkit-text-combine-upright:all;-ms-text-combine-horizontal:all;text-orientation:upright;display:inline-block;vertical-align:middle;line-height:1;text-align:center;white-space:nowrap;font-feature-settings:"tnum";position:relative;left:-.3rem}.vertical-text-container{writing-mode:vertical-rl;text-orientation:mixed;display:inline-block;height:100%;margin-right:.5rem;white-space:nowrap}.reading-vertical h1,.reading-vertical h2,.reading-vertical h3,.reading-vertical h4,.reading-vertical h5,.reading-vertical h6{text-orientation:mixed;display:inline-block;vertical-align:top;max-height:none;break-inside:avoid}.reading-vertical h1{font-size:2.25rem;font-weight:800;margin-left:2rem;margin-right:1.5rem}.reading-vertical h2{font-size:1.875rem;font-weight:700;margin-left:1.75rem;margin-right:1.25rem}.reading-vertical h3{font-size:1.5rem;font-weight:600;margin-left:1.5rem;margin-right:1rem}.reading-vertical h4{font-size:1.25rem;font-weight:600;margin-left:1.25rem;margin-right:.875rem}.reading-vertical h5{font-size:1.125rem}.reading-vertical h5,.reading-vertical h6{font-weight:600;margin-left:1rem;margin-right:.75rem}.reading-vertical h6{font-size:1rem}.reading-vertical p{display:inline-block;vertical-align:top;text-wrap:pretty;margin-left:.8rem}.reading-vertical ol,.reading-vertical ul{margin:0 1rem;padding:0;max-height:90vh}.reading-vertical li{margin:0 .5rem;max-height:90vh}.reading-vertical a{text-decoration:underline;text-underline-offset:.2em}.reading-vertical #table-of-contents a{text-decoration:none}.reading-vertical #table-of-contents a:hover{text-decoration:underline;text-underline-offset:.2em}.reading-vertical::-webkit-scrollbar{height:8px}.reading-vertical::-webkit-scrollbar-track{background:hsl(var(--muted))}.reading-vertical::-webkit-scrollbar-thumb{background:hsl(var(--muted-foreground));border-radius:4px}.reading-vertical::-webkit-scrollbar-thumb:hover{background:hsl(var(--foreground))}.fullscreen-mode{min-height:100vh;width:100%;background-color:hsl(var(--background))}@media (max-width:768px){.book-content{padding:.5rem 0}.reading-vertical{height:calc(100vh - 150px);padding:1rem}}.diff-removed{background-color:hsl(0 84% 92%);text-decoration:line-through;color:hsl(0 72% 35%)}.diff-added,.diff-removed{border-radius:2px;padding:0 2px}.diff-added{background-color:hsl(142 76% 85%);color:hsl(142 72% 25%)}.dark .diff-removed{background-color:hsl(0 50% 20%);color:hsl(0 70% 70%)}.dark .diff-added{background-color:hsl(142 50% 18%);color:hsl(142 70% 65%)}