/* Bounded article thumbnails. Original files and image proportions are preserved. */
.fml-thumb-size-small{--fml-feature-width:120px;--fml-feature-height:90px;--fml-card-width:80px;--fml-card-height:60px;--fml-archive-width:160px;--fml-archive-height:120px;--fml-detail-width:320px;--fml-detail-height:200px}
.fml-thumb-size-medium{--fml-feature-width:180px;--fml-feature-height:135px;--fml-card-width:124px;--fml-card-height:93px;--fml-archive-width:220px;--fml-archive-height:180px;--fml-detail-width:560px;--fml-detail-height:320px}
.fml-thumb-size-large{--fml-feature-width:260px;--fml-feature-height:195px;--fml-card-width:160px;--fml-card-height:120px;--fml-archive-width:280px;--fml-archive-height:210px;--fml-detail-width:800px;--fml-detail-height:420px}
.cozy-frame .update-home-feed__featured-link[class*="fml-thumb-size-"]{grid-template-columns:var(--fml-feature-width) minmax(0,1fr);align-items:start;min-height:0}
.cozy-frame .update-home-feed__card-link[class*="fml-thumb-size-"]{grid-template-columns:var(--fml-card-width) minmax(0,1fr);align-items:start;min-height:0}
.cozy-frame .update-home-feed__featured-link .update-home-feed__featured-thumb{width:100%;height:var(--fml-feature-height);aspect-ratio:auto;min-height:0}
.cozy-frame .update-home-feed__card-link .update-home-feed__card-thumb{width:100%;height:var(--fml-card-height);aspect-ratio:auto;min-height:0}
.cozy-frame .update-home-feed__featured-link .update-home-feed__featured-thumb img,.cozy-frame .update-home-feed__card-link .update-home-feed__card-thumb img{width:100%;height:100%;max-height:100%;object-fit:contain}
.cozy-frame .update-home-feed__featured-link.fml-thumb-fit-cover .update-home-feed__featured-thumb img,.cozy-frame .update-home-feed__card-link.fml-thumb-fit-cover .update-home-feed__card-thumb img{object-fit:cover}
.cozy-frame .update-home-feed__featured-link.is-no-thumb,.cozy-frame .update-home-feed__card-link.is-no-thumb{grid-template-columns:minmax(0,1fr)}
.cozy-frame .library-news-entry[class*="fml-thumb-size-"] .library-news-entry__link{grid-template-columns:var(--fml-archive-width) minmax(0,1fr)}
.cozy-frame .library-news-entry[class*="fml-thumb-size-"] .library-news-entry__thumb{height:var(--fml-archive-height);min-height:0;align-self:start}
.cozy-frame .library-news-entry[class*="fml-thumb-size-"] .library-news-entry__thumb img{width:100%;height:100%;max-height:100%;object-fit:contain}
.cozy-frame .library-news-entry.fml-thumb-fit-cover .library-news-entry__thumb img{object-fit:cover}
.cozy-frame .library-news-entry.is-no-thumb .library-news-entry__link{grid-template-columns:minmax(0,1fr)}
.cozy-frame .update-card[class*="fml-thumb-size-"]{grid-template-columns:var(--fml-archive-width) minmax(0,1fr)}
.cozy-frame .update-card[class*="fml-thumb-size-"] .update-card__thumb{height:var(--fml-archive-height);min-height:0}
.cozy-frame .update-card[class*="fml-thumb-size-"] .update-card__thumb img{width:100%;height:100%;object-fit:contain}
.cozy-frame .update-card.fml-thumb-fit-cover .update-card__thumb img{object-fit:cover}
.cozy-frame .update-card.is-no-thumb{grid-template-columns:minmax(0,1fr)}
.cozy-frame .update-card.is-no-thumb .update-card__body{padding-left:18px}
.cozy-frame .fml-article-thumbnail{width:100%;max-width:var(--fml-detail-width);margin:16px auto 18px;background:#efe6d7;border-radius:12px;overflow:hidden}
.cozy-frame .fml-article-thumbnail img{display:block;width:auto;height:auto;max-width:100%;max-height:var(--fml-detail-height);margin:auto;object-fit:contain}
.cozy-frame .fml-article-thumbnail.fml-thumb-fit-cover img{width:100%;height:var(--fml-detail-height);object-fit:cover}
.cozy-frame .update-detail-page .game-description a,.cozy-frame .library-news-detail-page .game-description a{overflow-wrap:anywhere}
@media(max-width:680px){
 .cozy-frame .library-news-entry[class*="fml-thumb-size-"] .library-news-entry__link,.cozy-frame .update-card[class*="fml-thumb-size-"]{grid-template-columns:minmax(0,1fr)}
 .cozy-frame .library-news-entry[class*="fml-thumb-size-"] .library-news-entry__thumb,.cozy-frame .update-card[class*="fml-thumb-size-"] .update-card__thumb{width:100%;max-width:100%;height:var(--fml-archive-height)}
}
@media(max-width:640px){
 .cozy-frame .update-home-feed__featured-link[class*="fml-thumb-size-"],.cozy-frame .update-home-feed__card-link[class*="fml-thumb-size-"]{grid-template-columns:minmax(0,1fr)}
 .cozy-frame .update-home-feed__featured-link .update-home-feed__featured-thumb,.cozy-frame .update-home-feed__card-link .update-home-feed__card-thumb{height:var(--fml-feature-height);width:100%;max-width:100%}
 .cozy-frame .update-home-feed__card-link .update-home-feed__card-thumb{height:var(--fml-card-height)}
}
