/* Author and series rankings use the same frame and rank badges as Best Sellers. */
.td-catalog-ranking-main{margin:0!important;padding:0!important;max-width:none!important}
.td-catalog-ranking-page .td-archive-content{overflow:hidden}
.td-catalog-breadcrumb{font:12px/1.5 Arial,Helvetica,sans-serif;color:#625c66}
.td-catalog-breadcrumb a{color:inherit}
.td-catalog-ranking-nav{display:flex;flex-wrap:wrap;gap:8px 17px;margin:0 0 19px;font:12px/1.5 Arial,Helvetica,sans-serif}
.td-catalog-ranking-nav a{color:#625c66;text-decoration:none;padding-bottom:4px;border-bottom:2px solid transparent}
.td-catalog-ranking-nav a[aria-current]{color:#302044;border-color:#302044;font-weight:700}
.td-entity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;gap:25px 18px;padding:0!important;margin:0!important}
.td-entity-grid>.td-entity-card{display:flex;flex-direction:column;align-items:stretch;min-width:0;margin:0;padding:0 0 18px;border-bottom:1px solid #eee9f0}
.td-entity-covers{display:flex;justify-content:center;align-items:center;gap:6px;height:195px;margin:5px 0 14px;text-decoration:none;padding:0 8px}
.td-entity-covers>span{display:flex;align-items:center;justify-content:center;min-width:0;max-width:42%;height:100%;flex:1}
.td-entity-covers img{width:auto!important;height:auto!important;max-width:100%!important;max-height:205px!important;object-fit:contain;box-shadow:1px 3px 7px #30204420}
.td-entity-covers>span:nth-child(2) img{max-height:185px!important}
.td-entity-covers>span:nth-child(3) img{max-height:165px!important}
.td-catalog-ranking-page .td-entity-title{font-size:17px!important;line-height:1.3!important;font-weight:600!important;color:#30283a!important;margin:0 0 5px!important;padding:0!important;letter-spacing:normal!important}
.td-entity-title a{color:inherit;text-decoration:none}
.td-entity-title a:hover,.td-entity-explore:hover{color:#6b3695;text-decoration:underline}
.td-catalog-ranking-page .td-entity-count{font:12px/1.5 Arial,Helvetica,sans-serif!important;color:#625c66;margin:0 0 7px!important}
.td-catalog-ranking-page .td-entity-description{font-size:12px!important;line-height:1.6!important;color:#625c66;margin:0 0 9px!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.td-entity-explore{font:12px/1.5 Arial,Helvetica,sans-serif;color:#59387c;text-decoration:none;margin-top:auto}
.td-catalog-ranking-page .td-entity-standing{font-size:12px!important;line-height:1.5!important;color:#59387c;margin:0 0 12px!important}
.td-catalog-term-description{font-size:13px;line-height:1.65;margin:0 0 18px;max-width:850px}
.td-catalog-term-description p{font-size:inherit!important;line-height:inherit!important;margin:0 0 8px!important}
@media(max-width:1040px){.td-entity-covers{height:180px}.td-entity-covers img{max-height:165px!important}.td-entity-covers>span:nth-child(2) img{max-height:150px!important}.td-entity-covers>span:nth-child(3) img{max-height:135px!important}}
@media(max-width:740px){.td-entity-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}.td-entity-covers{height:157px;gap:4px;padding:0}.td-entity-covers img{max-height:145px!important}.td-entity-covers>span:nth-child(2) img{max-height:130px!important}.td-entity-covers>span:nth-child(3) img{max-height:115px!important}.td-catalog-ranking-nav{gap:7px 13px;font-size:11px;margin-bottom:14px}.td-catalog-ranking-page .td-entity-title{font-size:15px!important}.td-entity-explore{font-size:11px}.td-catalog-term-description{font-size:12px}.td-catalog-ranking-page .td-archive-content{padding:19px 14px!important}}

.td-entity-rank,.td-entity-cover-wrap{margin:0;padding:0}
.td-entity-actions{margin-top:auto;padding-top:9px;font-size:12px;line-height:1.5}

/* Author artwork stays beside its name and keeps its original proportions. */
.td-entity-author-title>a{display:flex;align-items:center;gap:9px;min-height:36px}
.td-entity-author-logo{display:block!important;width:36px!important;height:36px!important;max-width:36px!important;object-fit:contain;border-radius:50%;flex:0 0 36px;margin:0!important;box-shadow:none!important}
.td-entity-author-title>a>span{min-width:0}
@media(max-width:740px){.td-entity-author-title>a{gap:7px;min-height:30px}.td-entity-author-logo{width:30px!important;height:30px!important;max-width:30px!important;flex-basis:30px}}
