/* 2026-11-24：遊戲區在手機／平板改為可左右滑動（電腦版維持格狀） */
.rail-control-mobile{display:none}
@media(max-width:820px){
  .rail-control-mobile{display:inline-flex;align-items:center;justify-content:center}
  .all-games-grid.curated-games-grid{display:flex;grid-template-columns:none;gap:16px;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scroll-snap-type:x mandatory;scroll-padding-left:20px;padding:4px 20px 23px;scrollbar-width:thin;scrollbar-color:#494d5b transparent}
  .all-games-grid.curated-games-grid::-webkit-scrollbar{height:4px}
  .all-games-grid.curated-games-grid::-webkit-scrollbar-thumb{background:#494d5b;border-radius:5px}
  .curated-games-grid .work-card{flex:0 0 min(78vw,340px);min-height:380px;scroll-snap-align:start}
  .curated-games-grid .work-art,.curated-games-grid .work-card-collection .work-art{height:200px;aspect-ratio:auto}
  .curated-games-grid .work-title{font-size:21px}
}
