/* shortsav hub Shorts shelf (t1897u). Colors via CSS vars set per site. */
.ss-shelf{--ss-accent:#e50914;--ss-text:inherit;--ss-muted:#9aa0a6;--ss-card:#1a1a1a;box-sizing:border-box;width:100%;max-width:var(--ss-max,1280px);margin:22px auto;padding:0 12px;color:var(--ss-text);font-family:inherit;clear:both}
.ss-shelf *{box-sizing:border-box}
.ss-shelf-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 10px;padding-bottom:6px;border-bottom:2px solid var(--ss-accent)}
.ss-shelf .ss-shelf-title{margin:0;padding:0;font-size:20px;line-height:1.3;font-weight:700;color:var(--ss-text);font-family:inherit}
.ss-shelf .ss-shelf-title:before{content:"";display:inline-block;width:5px;height:18px;margin-right:8px;vertical-align:-3px;background:var(--ss-accent);border-radius:2px}
.ss-shelf .ss-shelf-more{font-size:13px;color:var(--ss-accent);text-decoration:none;white-space:nowrap}
.ss-shelf-row{display:flex;gap:10px;overflow-x:auto;padding:2px 0 8px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
.ss-shelf .ss-shelf-card{flex:0 0 150px;scroll-snap-align:start;text-decoration:none;color:var(--ss-text);font-size:13px;line-height:1.35}
.ss-shelf-thumb{display:block;aspect-ratio:9/16;border-radius:10px;overflow:hidden;background:var(--ss-card)}
.ss-shelf-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .2s}
.ss-shelf-card:hover .ss-shelf-thumb img{transform:scale(1.04)}
.ss-shelf .ss-shelf-code{display:block;margin-top:6px;font-weight:700}
.ss-shelf .ss-shelf-cap{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--ss-muted)}
@media (max-width:640px){.ss-shelf{margin:16px auto;padding:0 8px}.ss-shelf .ss-shelf-card{flex-basis:124px}.ss-shelf .ss-shelf-title{font-size:17px}}
.ss-shelf:empty{min-height:2px}
/* override theme image animations (e.g. Newspaper hides .post img with opacity:0) */
.ss-shelf .ss-shelf-thumb img{opacity:1!important;visibility:visible!important;transform:none;animation:none!important}
.ss-shelf .ss-shelf-card:hover .ss-shelf-thumb img{transform:scale(1.04)}
