/* 瀑布流：封面按原比例错落排列 */
.t-masonry{--bg:#101014;--bg2:#18181d;--bg3:#222228;--tx:#f1f1f4;--tx2:#9a9aa6;--bd:#2a2a31}
.t-masonry .grid{display:block;columns:2;column-gap:12px}
@media(min-width:640px){.t-masonry .grid{columns:3;column-gap:14px}}
@media(min-width:960px){.t-masonry .grid{columns:4;column-gap:16px}}
@media(min-width:1240px){.t-masonry .grid{columns:5}}
.t-masonry .card{display:inline-block;width:100%;break-inside:avoid;margin-bottom:16px;background:var(--bg2);border-radius:12px;overflow:hidden}
.t-masonry .thumb,.t-masonry .grid-v .thumb{aspect-ratio:auto;border-radius:0;min-height:80px}
.t-masonry .thumb img{height:auto;object-position:center}
.t-masonry .tt{margin:0;padding:8px 10px 0;font-size:13px}
.t-masonry .mt{padding:0 10px 10px}
.t-masonry .thumb::after{display:none}
/* site.js 排好的瀑布流：每列一个竖条，卡片放进当前最矮的一列；矮的列把差的高度按封面大小分给这一列每张封面（每张都只高一点），几列底部齐平，不留缺口（封面按比例裁一点，不变形） */
.t-masonry .grid.ms-on{columns:auto;display:flex;align-items:stretch;gap:12px;margin-bottom:16px}
@media(min-width:640px){.t-masonry .grid.ms-on{gap:14px}}
@media(min-width:960px){.t-masonry .grid.ms-on{gap:16px}}
.t-masonry .ms-col{flex:1 1 0;min-width:0;display:flex;flex-direction:column}
.t-masonry .ms-col>.card{display:flex;flex-direction:column;flex-shrink:0}
.t-masonry .ms-col>.card:last-child{margin-bottom:0}
.t-masonry .ms-col>.card .thumb{flex:1 1 auto;display:flex}
.t-masonry .ms-col>.card .thumb img{flex:1 1 auto;width:100%;min-height:0;object-fit:cover}
.t-masonry .card:hover .thumb img{transform:scale(1.02)}
.t-masonry .sec-hd h2{border-left:0;padding-left:0}
.t-masonry .sec-hd h2::after{content:"";display:block;width:28px;height:3px;border-radius:2px;background:var(--c);margin-top:6px}
.t-masonry .nav a.on{border-radius:8px}
