.library{max-width:1200px;margin:0 auto;padding:40px}.library-title{text-align:center;margin-bottom:50px}.bookshelf{background-color:#5b3a29;padding:40px}.shelf{border-bottom:20px solid #3d2418;flex-wrap:wrap;align-items:flex-end;gap:30px;padding:20px;display:flex}.book:hover{transform:translateY(-8px)}.book-cover{object-fit:cover;width:100%;height:260px;display:block}.book h2{margin:10px 0 5px;font-size:18px}.book p{margin:0}*{box-sizing:border-box}body{color:#2d2926;background:#f3efe6;min-width:320px;margin:0;font-family:Georgia,Times New Roman,serif}a{color:inherit;text-decoration:none}.library{min-height:100vh;padding:60px 40px 80px}.library-title{text-align:center;letter-spacing:2px;margin:0 0 50px;font-size:48px;font-weight:600}.bookshelf{background:#6b4630;border-radius:8px;max-width:1200px;margin:0 auto;padding:50px 40px 30px;box-shadow:0 20px 40px #0000002e,inset 0 0 30px #00000026}.shelf{border-bottom:24px solid #42291d;flex-wrap:wrap;align-items:flex-end;gap:40px;padding:20px 20px 0;display:flex;box-shadow:0 8px #2f1d14}.book{text-align:center;cursor:pointer;width:170px;transition:transform .2s,filter .2s}.book:hover{filter:brightness(1.05);transform:translateY(-12px)}.book-cover{object-fit:cover;border-radius:3px;width:170px;height:250px;display:block;box-shadow:4px 6px 10px #0000004d}.book h2{color:#f5eee3;margin:12px 0 5px;font-size:18px;font-weight:600}.book p{color:#d8c9ba;margin:0 0 20px;font-size:14px}.library-toolbar{justify-content:flex-end;max-width:1280px;margin:0 auto 24px;display:flex}.language-selector{background:#f5eee3;border:1px solid #d8c9ba;border-radius:12px;flex-wrap:wrap;gap:4px;padding:5px;display:flex}.language-button{color:#6b4630;min-height:44px;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:8px;padding:8px 14px;font-size:14px}.language-button:hover{background:#e8dbcb}.language-button[aria-pressed=true]{color:#fff;background:#6b4630}.language-button:focus-visible{outline-offset:2px;outline:2px solid #42291d}.library .book:lang(ja),.book-detail>h1:lang(ja),.book-detail>p:lang(ja),.language-button:lang(ja){font-family:Noto Sans JP,Yu Gothic,Hiragino Kaku Gothic ProN,sans-serif}.library .book:lang(en),.book-detail>h1:lang(en),.book-detail>p:lang(en),.language-button:lang(en){font-family:Lora,Georgia,Times New Roman,serif}.library .book:lang(ja) h2,.library .book:lang(en) h2{text-wrap:balance;overflow-wrap:anywhere;line-height:1.5}.library .book:lang(ja) p,.library .book:lang(en) p{line-height:1.6}@media (width<=480px){.library{padding:24px 16px 60px}.language-button{padding-inline:12px}}.library .library-title{margin-bottom:14px}.shelf-instruction{text-align:center;color:#786b5f;margin:0 0 38px;font-size:14px}.visitor-count{color:#8a7766;letter-spacing:.02em;background:#fffdf88f;border:1px solid #6b463029;border-radius:999px;width:fit-content;margin:-24px auto 30px;padding:6px 12px;font-size:11px;line-height:1.5}.visitor-count:lang(ja){font-family:Noto Sans JP,Yu Gothic,sans-serif}.visitor-count:lang(en){font-family:Lora,Georgia,serif}.library .bookshelf{background:repeating-linear-gradient(0deg,#0000 0 7px,#ffffff03 7px 8px),#68442e;padding:44px 32px 28px}.library .spine-shelf{perspective:1100px;background:linear-gradient(90deg,#271a1466,#0000 40%),linear-gradient(#291c1444,#0000 35%);gap:10px;min-height:350px;padding:16px 24px 0}.book-spine{background-color:var(--spine-color);color:#303332;cursor:pointer;width:48px;height:316px;font:inherit;transform-origin:bottom;background-position:50%;background-size:auto 100%;border:0;border-radius:2px 3px 1px 1px;flex-direction:column;flex:0 0 48px;align-items:center;padding:22px 0 32px;transition:transform .24s,filter .24s,opacity .2s;display:flex;position:relative;overflow:hidden;box-shadow:5px 1px 7px #0005}.book-spine:before{content:"";background-image:var(--spine-cover);filter:blur(5px);pointer-events:none;background-position:50%;background-size:auto 100%;position:absolute;inset:-5px}.book-spine:after{z-index:2;content:"";border-radius:inherit;background:linear-gradient(180deg, var(--spine-top-color,transparent) 0 24px, transparent 24px), linear-gradient(90deg, #00000030, #ffffff18 12%, transparent 25%, transparent 78%, #00000026);pointer-events:none;position:absolute;inset:0;box-shadow:inset 1px 0 #ffffff35,inset -1px 0 #00000030}.book-spine:hover{filter:brightness(1.08);transform:translateY(-10px)translateZ(25px)rotate(-2deg)}.book-spine:focus-visible{outline-offset:5px;outline:3px solid #ebc591;transform:translateY(-10px)}.book-spine.is-selected{opacity:.12}.spine-paper{z-index:1;justify-content:space-between;align-items:center;gap:var(--spine-paper-gap,12px);width:100%;min-height:0;padding:var(--spine-paper-padding,14px 4px);background:#f4f0e6;flex-direction:column;flex:1;display:flex;position:relative}.spine-title{writing-mode:vertical-rl;text-orientation:upright;font-size:var(--spine-title-size,19px);letter-spacing:var(--spine-title-letter-spacing,2px);white-space:nowrap;font-weight:700;line-height:1.2}.spine-author{writing-mode:vertical-rl;text-orientation:upright;font-size:var(--spine-author-size,10px);letter-spacing:var(--spine-author-letter-spacing,.5px);white-space:nowrap;line-height:1.2}.book-spine:lang(en) .spine-title,.book-spine:lang(en) .spine-author{text-orientation:mixed}.book-preview{color:#302b25;background:0 0;border:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:auto;padding:28px;position:fixed;inset:0;overflow-y:auto}.book-preview[open]{place-items:center;display:grid}.book-preview::backdrop{-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#171c22b8}.preview-panel{background:#f5f0e6;border:1px solid #fff7;border-radius:16px;width:min(960px,100%);padding:22px 36px 36px;box-shadow:0 32px 100px #0005}.preview-toolbar{justify-content:flex-end;align-items:center;gap:16px;display:flex}.preview-toolbar .library-toolbar{margin:0}.preview-close{color:#5a4a3c;cursor:pointer;background:0 0;border:1px solid #d5cabb;border-radius:50%;flex-shrink:0;width:44px;height:44px;font-size:28px}.preview-close:hover{background:#e7ddcf}.preview-close:focus-visible,.preview-cover:focus-visible{outline-offset:7px;outline:3px solid #ae7943}.preview-layout{grid-template-columns:1fr 1fr;align-items:center;gap:50px;padding-top:32px;display:grid}.preview-book-space{perspective:1200px;text-align:center;min-width:0}.preview-book-anchor{width:min(270px,85%);margin:auto}.preview-cover{transform-style:preserve-3d;transform-origin:50%;cursor:pointer;animation:.58s cubic-bezier(.2,.7,.2,1) both book-take;display:block;position:relative;transform:rotateY(-19deg)rotate(-4deg)}.preview-cover img{border-radius:2px 4px 4px 2px;width:100%;height:auto;display:block;box-shadow:12px 22px 28px #15232e50}.preview-cover:after{content:"";transform-origin:0;background:repeating-linear-gradient(0deg,#e6dfd1 0 2px,#b7b1a8 2px 3px);width:16px;position:absolute;top:3px;bottom:3px;left:100%;transform:rotateY(90deg)}.preview-cover:hover img{filter:brightness(1.06)}.preview-instruction{color:#7a7065;margin:32px 0 0;font-size:12px;line-height:1.7}.preview-copy{animation:.55s .12s both synopsis-in}.preview-eyebrow{letter-spacing:.12em;color:#8b6b48;font-size:12px}.preview-copy h2{text-wrap:balance;margin:15px 0 12px;font-size:clamp(26px,3.4vw,40px);font-weight:600;line-height:1.35}.preview-author{color:#776c60;margin:0 0 27px;font-size:15px}.preview-synopsis{word-break:keep-all;overflow-wrap:anywhere;margin:0;font-size:15px;line-height:1.95}.preview-read-label{color:#755037;margin:28px 0 0;font-size:13px}.book-preview.closing .preview-cover{animation:.4s ease-in both book-return}.book-preview.leaving .preview-cover{animation:.3s ease-in both book-enter}.book-preview.closing .preview-copy,.book-preview.leaving .preview-copy{opacity:0;transition:opacity .15s;animation:none}.book-spine:lang(ja),.preview-panel:lang(ja),.shelf-instruction:lang(ja){font-family:Noto Sans JP,Yu Gothic,sans-serif}.book-spine:lang(en),.preview-panel:lang(en),.shelf-instruction:lang(en){font-family:Lora,Georgia,serif}@keyframes book-take{0%{opacity:.3;transform:translate(var(--origin-x,-180px), var(--origin-y,40px)) rotateY(-87deg) scale(.85)}to{opacity:1;transform:rotateY(-19deg)rotate(-4deg)}}@keyframes book-return{0%{opacity:1;transform:rotateY(-19deg)rotate(-4deg)}to{opacity:0;transform:translate(var(--origin-x,-180px), var(--origin-y,40px)) rotateY(-87deg) scale(.85)}}@keyframes book-enter{0%{opacity:1;transform:rotateY(-19deg)rotate(-4deg)}to{opacity:0;transform:translateZ(160px)rotateY(0)scale(1.12)}}@keyframes synopsis-in{0%{opacity:0;transform:translate(18px)}to{opacity:1;transform:translate(0)}}@media (width<=650px){.library .bookshelf{padding:28px 16px 20px}.library .spine-shelf{padding-inline:16px}.book-preview{padding:12px}.preview-panel{padding:16px 20px 28px}.preview-toolbar{gap:8px}.preview-toolbar .language-button{padding-inline:9px;font-size:12px}.preview-layout{grid-template-columns:1fr;gap:28px;padding-top:24px}.preview-book-anchor{width:170px}.preview-copy h2{font-size:26px}.preview-instruction{margin-top:22px}.preview-synopsis{font-size:14px}.preview-read-label{display:none}}@media (prefers-reduced-motion:reduce){.book-spine{transition:none}.preview-cover,.book-preview.closing .preview-cover,.book-preview.leaving .preview-cover,.preview-copy{animation-duration:.01ms;animation-delay:0s}}.book-detail{max-width:1160px;min-height:100vh;margin:0 auto;padding:70px 30px}.reading-progress{z-index:1000;pointer-events:none;background:#5845301f;width:100%;height:4px;position:fixed;top:0;left:0;overflow:hidden}.reading-progress span{transform-origin:0;background:linear-gradient(90deg,#8f6840,#c39a69);width:100%;height:100%;transition:transform .12s linear;display:block}.book-detail>h1{margin-bottom:5px;font-size:42px}.book-detail>p{text-align:right;color:#766b63;margin:0 0 50px}.detail-cover{width:300px;height:auto;margin:0 auto 50px;display:block;box-shadow:4px 6px 12px #0003}.book-content{grid-template-columns:minmax(0,800px) 250px;align-items:start;gap:50px;display:grid}.review-article{--reading-body-size:16px;--reading-h1-size:32px;--reading-h2-size:25px;--reading-h3-size:19px;line-height:1.9;font-size:var(--reading-body-size);background:#fffdf8;border-radius:4px;padding:50px;box-shadow:0 10px 30px #00000014}.review-article.reading-small{--reading-body-size:15px;--reading-h1-size:30px;--reading-h2-size:23px;--reading-h3-size:18px}.review-article.reading-large{--reading-body-size:18px;--reading-h1-size:35px;--reading-h2-size:28px;--reading-h3-size:21px}.review-meta{color:#877664;letter-spacing:.02em;border-bottom:1px solid #735b402e;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:0 0 36px;padding-bottom:16px;font-size:12px;line-height:1.6;display:flex}.review-meta time{color:#675747}.review-article h1{font-size:var(--reading-h1-size);margin-top:0}.review-article h2{font-size:var(--reading-h2-size);margin-top:45px}.review-article h3{font-size:var(--reading-h3-size)}.review-article p{margin:18px 0}.review-article strong{font-weight:700}.reading-column{flex-direction:column;gap:34px;min-width:0;display:flex}.comments{color:#4f4640;background:#fffdf8;border:1px solid #6b463021;border-radius:4px;padding:38px 42px 42px;box-shadow:0 10px 30px #0000000f}.comments-header{justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:18px;display:flex}.comments-header h2{color:#3f332b;margin:0 0 8px;font-size:25px}.comments-header h2 span{color:#9a7653;vertical-align:middle;margin-left:5px;font-size:14px;font-weight:500}.comments-header p{color:#7c6d61;margin:0;font-size:13px;line-height:1.65}.comments-preview-note{color:#826c57;background:#ebddc959;border-left:2px solid #c8a782;margin:0 0 18px;padding:10px 13px;font-size:11px;line-height:1.6}.comment-form{background:#faf6ee;border:1px solid #e2d6c6;border-radius:10px;padding:22px}.comment-identity-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:14px;display:grid}.comment-form label,.comment-delete-form label{flex-direction:column;gap:7px;min-width:0;display:flex}.comment-form label>span,.comment-delete-form label>span{color:#685746;font-size:12px;font-weight:700}.comment-form input,.comment-form textarea,.comment-delete-form input{color:#40362f;width:100%;font:inherit;background:#fffdf9;border:1px solid #d8c9b7;border-radius:7px;outline:none;font-size:14px;transition:border-color .15s,box-shadow .15s}.comment-form input,.comment-delete-form input{height:42px;padding:0 12px}.comment-form textarea{resize:vertical;min-height:118px;padding:11px 12px;line-height:1.7}.comment-form input:focus,.comment-form textarea:focus,.comment-delete-form input:focus{border-color:#9c7650;box-shadow:0 0 0 3px #9c76501f}.comment-form input::placeholder,.comment-form textarea::placeholder,.comment-delete-form input::placeholder{color:#b0a294}.comment-form-footer{justify-content:flex-end;align-items:center;gap:14px;margin-top:13px;display:flex}.comment-character-count{color:#9b8a78;font-size:11px}.comment-form-footer button,.comment-delete-confirm{color:#fffdf8;min-height:40px;font:inherit;cursor:pointer;background:#6b4630;border:0;border-radius:7px;padding:9px 18px;font-size:12px;font-weight:700}.comment-form-footer button:hover,.comment-delete-confirm:hover{background:#4f3223}.comment-form button:disabled,.comment-delete-form button:disabled,.comment-delete-form input:disabled{cursor:wait;opacity:.58}.comment-message{color:#a34e45;min-height:20px;margin:8px 2px 0;font-size:12px;line-height:1.6}.comment-list{border-top:1px solid #e5dacd;margin-top:10px}.comments-empty{color:#988878;text-align:center;margin:0;padding:34px 8px 8px;font-size:13px}.comment-item{border-bottom:1px solid #ece3d8;padding:24px 4px 20px;position:relative}.comment-item>header{flex-wrap:wrap;align-items:baseline;gap:8px 12px;display:flex}.comment-item>header strong{color:#4d3b2e;font-size:14px}.comment-item>header time{color:#9b8b7c;font-size:10px}.comment-item>p{color:#514840;overflow-wrap:anywhere;white-space:pre-wrap;margin:12px 0 8px;font-size:14px;line-height:1.75}.comment-text-button{color:#8b7969;font:inherit;text-underline-offset:3px;cursor:pointer;background:0 0;border:0;padding:3px 0;font-size:11px;text-decoration:underline}.comment-delete-open{margin-left:auto;display:block}.comment-delete-form{background:#f7f0e7;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;margin-top:14px;padding:14px;display:grid}.comment-delete-form>div{align-items:center;gap:12px;display:flex}.comment-delete-confirm{background:#8a4c42;min-height:38px;padding:8px 13px}.comments:lang(ja){font-family:Noto Sans JP,Yu Gothic,Hiragino Kaku Gothic ProN,sans-serif}.comments:lang(en){font-family:Lora,Georgia,Times New Roman,serif}.book-sidebar{scrollbar-width:none;flex-direction:column;gap:16px;max-height:calc(100vh - 60px);padding-right:4px;display:flex;position:sticky;top:30px;overflow-y:auto}.book-sidebar::-webkit-scrollbar{display:none}.table-of-contents{background:#fffdf8;border-left:3px solid #6b4630;padding:20px}.table-of-contents h2{margin:0 0 15px;font-size:22px}.table-of-contents ul{margin:0;padding:0;list-style:none}.table-of-contents li{margin:8px 0}.table-of-contents a{color:#4f4640;text-decoration:none}.table-of-contents a:hover{text-decoration:underline}.book-sidebar .back-to-library{color:#fffdf8;background:#6b4630;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:44px;margin-top:0;padding:10px 16px;font-weight:600;text-decoration:none;display:flex}.book-sidebar .back-to-library:hover{background:#42291d;text-decoration:none}.back-to-library:focus-visible{outline-offset:3px;outline:2px solid #42291d}.back-to-library:lang(ja){font-family:Noto Sans JP,Yu Gothic,Hiragino Kaku Gothic ProN,sans-serif}.review-article:lang(ja),.table-of-contents:lang(ja),.table-of-contents h2:lang(ja){line-break:strict;overflow-wrap:anywhere;font-family:Noto Sans JP,Yu Gothic,Hiragino Kaku Gothic ProN,sans-serif}.review-article:lang(en),.table-of-contents:lang(en),.table-of-contents h2:lang(en){overflow-wrap:anywhere;font-family:Lora,Georgia,Times New Roman,serif}.review-article:lang(en){line-height:1.8}.table-of-contents:lang(ja),.table-of-contents:lang(en){line-height:1.6}.back-to-library:lang(en){font-family:Lora,Georgia,Times New Roman,serif}.share-card{background:#fffdf8;border:1px solid #dfd4c5;border-radius:10px;padding:17px 15px 12px;box-shadow:0 6px 18px #42291d14}.share-card h2{color:#574a41;margin:0 0 14px;font-size:14px;font-weight:600}.share-actions{justify-content:space-between;gap:6px;display:flex}.share-actions button{color:#5a4638;min-width:48px;font:inherit;cursor:pointer;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:3px;padding:0;font-size:9px;display:flex}.share-actions button:hover{background:0 0}.share-actions button:hover .share-icon{background:#e5d8c8;transform:translateY(-2px)}.share-actions button:focus-visible{outline-offset:2px;outline:2px solid #6b4630}.share-icon{color:#513b2d;background:#efe5d8;border-radius:50%;place-items:center;width:38px;height:38px;transition:background .16s,transform .16s;display:grid}.share-icon svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px}.share-actions button:first-child .share-icon svg{fill:currentColor;stroke:none}.share-x svg{fill:currentColor;stroke:none;width:16px;height:16px}.share-actions button .share-x{color:#fff;background:#0f0f0f}.share-actions button:hover .share-x{background:#292929}.share-status{color:#766b63;text-align:center;min-height:16px;margin:8px 0 0;font-size:10px;line-height:1.5}.share-card:lang(ja){font-family:Noto Sans JP,Yu Gothic,Hiragino Kaku Gothic ProN,sans-serif}.share-card:lang(en){font-family:Lora,Georgia,Times New Roman,serif}.reading-settings{background:#fffcf5b8;border:1px solid #7053352e;border-radius:12px;padding:16px;box-shadow:0 8px 20px #3d2b1a0f}.reading-settings h2{color:#66513b;letter-spacing:.04em;margin:0 0 12px;font-size:12px;font-weight:700}.reading-size-actions{grid-template-columns:repeat(3,1fr);gap:7px;display:grid}.reading-size-actions button{color:#6e5942;min-width:0;height:38px;font:inherit;cursor:pointer;background:#ffffffbd;border:1px solid #70533533;border-radius:9px;font-size:13px;transition:border-color .16s,background .16s,color .16s,transform .16s}.reading-size-actions button:hover{border-color:#7053356b;transform:translateY(-1px)}.reading-size-actions button[aria-pressed=true]{color:#fffaf2;background:#87643f;border-color:#87643f}.reading-size-actions button:focus-visible{outline-offset:2px;outline:2px solid #9b754d}.reading-settings:lang(ja){font-family:Noto Sans JP,Yu Gothic,Hiragino Kaku Gothic ProN,sans-serif}.reading-settings:lang(en){font-family:Lora,Georgia,Times New Roman,serif}.toc-level-3{padding-left:20px;font-size:14px}.review-article h2,.review-article h3{scroll-margin-top:30px}@media (width<=900px){.reading-progress{height:3px}.book-detail{padding:40px 20px}.book-content{display:block}.book-sidebar{max-height:none;margin-bottom:30px;padding-right:0;position:static;overflow:visible}.review-article{padding:30px 25px}.reading-column{gap:24px}.comments{padding:28px 24px 30px}.comment-identity-fields,.comment-delete-form{grid-template-columns:1fr}.comment-delete-form>div{justify-content:flex-end}.detail-cover{width:220px}}@media (prefers-reduced-motion:reduce){.reading-progress span,.reading-size-actions button{transition:none}}
