/* 首頁區塊資料來源更新：只處理分類卡/形象圖，不改商品卡的既有正方形比例。 */
.fortune-home .fc-quick-photo,
.fortune-home .fc-style-visual {
  background-size:contain;
  background-repeat:no-repeat;
  background-position:center;
  background-color:#f5eee6;
}
.fortune-home .fc-gift-photo,
.fortune-home .fc-about-image {
  background-size:contain;
  background-repeat:no-repeat;
  background-position:center;
}
/* 當雙分類區只選一項時，保持原本卡片寬度，不將單張圖拉伸至滿版。 */
.fortune-home .fc-style-grid:has(> :only-child){grid-template-columns:minmax(0,1fr) minmax(0,1fr);}
@media(max-width:560px){
  .fortune-home .fc-style-grid:has(> :only-child){grid-template-columns:minmax(0,1fr);}
}
