.category-library{padding:28px 26px 42px!important;overflow:hidden;background:radial-gradient(ellipse at 50% 65%,#24404955,transparent 70%);border:1px solid #ffffff0d;border-radius:16px}.library-heading{margin-bottom:38px}.library-heading>span{font-size:10px;letter-spacing:.24em;color:#91aaa9}.library-heading p{margin:9px 0;color:#c2cbc9;font-size:15px}.shelf-tier{margin-top:24px}.shelf-books{display:flex;align-items:flex-end;gap:7px;padding:0 24px;min-height:260px}.category-book{--book:#315d60;--height:244px;position:relative;display:flex;flex-direction:column;align-items:center;flex:1 1 0;min-width:0;max-width:92px;height:var(--height);padding:20px 8px 16px;box-sizing:border-box;border-radius:5px 8px 3px 3px;background:linear-gradient(90deg,#0005,transparent 9%,#ffffff12 12%,transparent 17%,#0001 90%,#0005),var(--book);box-shadow:3px 0 5px #0005,inset 0 1px #ffffff29;color:#f4eee0!important;text-decoration:none!important;transform-origin:bottom;transition:transform .2s,filter .2s}.category-book:before,.category-book:after{content:"";position:absolute;left:11px;right:7px;height:1px;background:#e6d6ac45}.category-book:before{top:48px}.category-book:after{bottom:49px}.book-number{font-size:10px;letter-spacing:.12em;opacity:.65;font-variant-numeric:tabular-nums}.book-title{writing-mode:vertical-rl;text-orientation:upright;font-family:"Songti SC","Noto Serif CJK SC",serif;font-size:19px;letter-spacing:.15em;margin:auto 0;line-height:1.35}.book-count{display:flex;gap:4px;align-items:center;font-size:12px;letter-spacing:.03em;opacity:.8}.book-unit{font-size:9px}.book-1{--book:#65556d;--height:232px}.book-2{--book:#8a6348;--height:254px}.book-3{--book:#476984;--height:240px}.book-4{--book:#676c48;--height:258px}.book-5{--book:#7b4d55;--height:235px}.book-6{--book:#46695e;--height:249px}.shelf-plank{position:relative;height:15px;border-radius:3px;background:linear-gradient(#a18b6c,#71604c 35%,#514438);box-shadow:0 13px 19px #0007,inset 0 1px #d4bc9380;margin:0 6px}.shelf-plank:after{content:"";position:absolute;left:15px;right:15px;bottom:-20px;height:20px;background:linear-gradient(#0005,transparent);pointer-events:none}.category-book:focus-visible{outline:2px solid #f3cd83;outline-offset:4px;transform:translateY(-7px);z-index:1}@media(hover:hover){.category-book:hover{transform:translateY(-9px);filter:brightness(1.12);z-index:1}}@media(max-width:600px){.category-library{padding:22px 9px 32px!important}.library-heading{padding:0 9px;margin-bottom:22px}.shelf-books{gap:4px;padding:0 7px;min-height:214px}.category-book{height:calc(var(--height) - 44px);padding:17px 3px 12px}.book-title{font-size:16px;letter-spacing:.12em}.book-number{font-size:9px}.category-book:before,.category-book:after{left:5px;right:5px}.category-book:before{top:38px}.category-book:after{bottom:39px}.book-count{font-size:10px;gap:2px}.book-unit{font-size:8px}.shelf-plank{margin:0;height:12px}}@media(prefers-reduced-motion:reduce){.category-book{transition:none}}@media print{.category-book{color:#111!important;background:#eee;box-shadow:none}.shelf-plank{background:#999}}
@media(max-width:600px){.shelf-tier{overflow-x:auto;padding-bottom:20px;scrollbar-width:thin;scrollbar-color:#7b7360 transparent}.shelf-books{min-width:350px}.category-book{min-width:44px}.shelf-plank{min-width:350px}}
