.category-library{background:#f8f0e2;color:#342a23;min-height:60vh;font-size:16px;line-height:1.8}
.category-library__inner{max-width:1160px;margin:auto;padding:28px 24px 64px}
.category-library a{color:inherit;text-underline-offset:4px}.category-library a:focus-visible{outline:3px solid #977039;outline-offset:4px}
.category-breadcrumb{display:flex;flex-wrap:wrap;gap:6px 12px;font-size:13px;color:#756451;margin-bottom:30px}
.category-intro{max-width:760px;margin-bottom:38px}.category-kicker{color:#8b673f;font-size:13px;letter-spacing:.12em;margin:0 0 10px}
.category-intro h1{font-family:'Yu Mincho','Hiragino Mincho ProN',serif;font-size:clamp(27px,3vw,38px);line-height:1.5;margin:0 0 16px;font-weight:600}
.category-intro p{margin:10px 0}.category-lead{font-size:19px}.category-search-link{display:inline-block;margin-top:10px;font-size:14px}
.category-index{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 24px}
.category-index-card{display:block;background:#fffcf4;border:1px solid #d8cbb7;border-top:4px solid var(--category-accent);border-radius:3px 3px 7px 7px;text-decoration:none;overflow:hidden;transition:box-shadow .15s,transform .15s}
.category-index-card>div:last-child{padding:18px 20px}.category-index-card__image{height:150px;overflow:hidden;background:#e7ddc8}.category-index-card__image img{width:100%;height:100%;object-fit:cover;display:block}
.category-index-card h2{font-size:20px;line-height:1.5;margin:4px 0 8px}.category-index-card p{margin:0 0 16px;font-size:14px;color:#6d5b49}.category-count{font-size:12px;color:#76614b}.category-more{font-size:13px;color:#795434;text-decoration:underline;text-underline-offset:4px}
.category-index-card:hover{transform:translateY(-2px);box-shadow:0 6px 18px #7a5a2c20}.category-note{margin:24px 0 0;font-size:13px;color:#756451}
.category-results{font-size:14px;border-bottom:1px solid #d8cbb7;padding-bottom:12px;margin-bottom:26px}
.category-game-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px 24px}.category-game{min-width:0}.category-game>a{display:flex;flex-direction:column;height:100%;text-decoration:none}.category-game__image{aspect-ratio:16/9;background:#e7ddc8;border:1px solid #cbbba0;border-radius:5px;overflow:hidden}.category-game__image img{display:block;width:100%;height:100%;object-fit:contain;background:#f0e7d7}
.category-game h2{font-size:18px;line-height:1.7;margin:14px 0 8px;overflow-wrap:anywhere}.category-game p{font-size:14px;line-height:1.9;margin:0 0 12px;color:#665846;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.category-game .category-more{margin-top:auto;padding-top:7px}.category-game>a:hover h2{text-decoration:underline;text-underline-offset:4px}
.category-other{margin-top:48px;padding-top:28px;border-top:1px solid #d8cbb7}.category-other h2{font-size:20px;margin:0 0 20px}.category-other>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 24px;margin-bottom:20px}.category-other>div a{display:flex;gap:12px;justify-content:space-between;padding:8px 0;border-bottom:1px solid #e2d6c3;font-size:14px;text-decoration:none}.category-other>a{font-size:14px}
@media(max-width:900px){.category-index,.category-game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.category-other>div{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.category-library__inner{padding:20px 20px 40px}.category-breadcrumb{margin-bottom:22px}.category-intro{margin-bottom:26px}.category-intro p{font-size:15px}.category-index,.category-game-grid{grid-template-columns:1fr;gap:24px}.category-index-card{display:grid;grid-template-columns:100px minmax(0,1fr)}.category-index-card__image{height:100%;min-height:155px}.category-index-card h2{font-size:18px}.category-index-card>div:last-child{padding:14px}.category-index-card p{font-size:13px;margin-bottom:10px}.category-other>div{grid-template-columns:1fr}.category-game{padding-bottom:20px;border-bottom:1px solid #d8cbb7}}
@media(prefers-reduced-motion:reduce){.category-index-card{transition:none}.category-index-card:hover{transform:none}}
