@charset "UTF-8";
/* Laoniu visual update 20261118-r3 */
/* Center the shared category row on home and article pages. */
.subMenus .male{float:none;display:flex;justify-content:center;align-items:center;width:100%;box-sizing:border-box;padding:0}
.subMenus .male li{float:none;display:flex;align-items:center}
.subMenus .male .nan{font-size:22px;line-height:35px;color:#51b7ec;font-weight:700;white-space:nowrap;padding-right:10px}
.subMenus .male li a{white-space:nowrap}

/* Ranking and latest-update pages share the same cover-card presentation. */
.ln-top-cover-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:22px 16px}
.ln-top-cover-card{position:relative;min-width:0}
.ln-top-cover-card .ln-top-position{position:absolute;z-index:1;top:6px;left:6px;min-width:24px;height:24px;padding:0 4px;box-sizing:border-box;border-radius:12px;background:#51b7ec;color:#fff;text-align:center;font:12px/24px Arial,sans-serif}
.ln-top-cover-card:nth-child(-n+3) .ln-top-position{background:#f07845}
.ln-top-cover-card .ln-cover{width:100%}
.ln-top-cover-card h2{margin:7px 0 3px;text-align:center;font-size:14px;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ln-top-cover-card .ln-top-meta{margin:0;text-align:center;color:#999;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ln-top-cover-card .ln-top-latest{display:block;margin-top:5px;text-align:center;color:#5595b8;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:1120px){.ln-top-cover-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:760px){.subMenus{height:auto;overflow:visible}.subMenus .male{width:100%;min-width:0;height:auto;display:flex;flex-wrap:wrap;justify-content:center;white-space:normal;padding:0 6px;box-sizing:border-box}.subMenus .male li{height:35px}.subMenus .male .nan{font-size:20px}.ln-top-cover-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 12px}}

body[data-paper=dark] .ln-breadcrumb a,body[data-paper=dark] .ln-footer a{color:#aaa}

/* Category labels: 16px blue; retain existing desktop positions. */
.subMenus .male .nan{visibility:hidden}
.subMenus .male li a{display:block;flex:0 0 80px;width:80px;margin-left:-12px;margin-right:-12px;font-size:16px;color:#51b7ec;text-align:center;white-space:nowrap}
.subMenus .male li a:hover{color:#51b7ec}

/* Home category blocks: ten books in five columns on desktop. */
.ln-home .ln-home-category-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:760px){.ln-home .ln-home-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
