/* One caption treatment for permanent fallback covers throughout this site. */
body.ailis-theme .ah-cover-frame{container-type:inline-size;isolation:isolate}
body.ailis-theme .ah-cover-frame:before,
body.ailis-theme .ah-cover-frame:after{content:none}
body.ailis-theme .ah-cover-caption{position:absolute;z-index:1;inset:auto 0 0;display:block;margin:0;padding:clamp(15px,24cqw,40px) clamp(5px,8.8cqw,16px) clamp(6px,9.6cqw,20px);background:linear-gradient(transparent,rgba(0,0,0,.9) 55%);text-shadow:0 1px 3px #000;text-align:left;white-space:normal}
body.ailis-theme .ah-cover-title{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;margin:0;font-family:"Songti SC",SimSun,serif;font-size:clamp(10px,13.6cqw,26px);font-weight:600;font-style:normal;line-height:1.45;letter-spacing:0;color:#fff}
body.ailis-theme .ah-cover-author{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:5px 0 0;font-size:clamp(8px,8cqw,12px);font-weight:400;line-height:1.5;color:#e0e6e1}
/* Leave the caption clear of the status badge on search/tag/author cards. */
body.ailis-theme .ed-cover:has(.ah-cover-caption)>.ed-status{top:8px;bottom:auto;left:8px;z-index:2}
body.ailis-theme .read-shelf-cover .ah-cover-frame{height:95px}
@media(max-width:760px){body.ailis-theme .read-shelf-cover .ah-cover-frame{height:80px}}
@container (max-width:160px){body.ailis-theme .ah-cover-title{-webkit-line-clamp:3}}
@container (max-width:80px){
 body.ailis-theme .ah-cover-title{font-size:clamp(10px,16cqw,11px);-webkit-line-clamp:3}
 body.ailis-theme .ah-cover-author{display:none}
}

@media(max-width:1024px){body.ailis-theme .ah-cover-author{font-size:12px}}
