/* 추천(메인) 화면의 '인기 게임 쿠폰' 한 줄 (2026-12-03) — js/component/main-hot-coupons.js 와 짝
   PC: 3장 한 줄 고정 / 모바일(768px 이하): 한 줄을 옆으로 밀어서 본다. 카드 높이는 78px 고정(자료 전후 같음) */
.mhc { width: 100%; margin: 0 0 30px; }
.mhc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.mhc-head .ttl { min-width: 0; }
/* 제목·설명 글자는 추천 화면의 '모바일 게임 순위' 제목 줄과 같은 크기·굵기·색 */
.mhc-head h2 { margin: 0 0 6px; font-size: 16px; font-weight: 400; line-height: 16px; color: #000; }
.mhc-head p { margin: 0; font-size: 12px; line-height: 16px; color: #72c2ff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mhc-go { flex-shrink: 0; display: flex; align-items: center; height: 36px; padding: 0 24px 0 12px; }
.mhc-go img { display: block; width: 12px; height: 30px; }   /* 지금핫한 화살표와 같은 그림(images/app/arrow_right_blue.svg) */

.mhc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mhc-list > li { min-width: 0; height: 78px; }
.mhc-list > li:nth-child(n+4) { display: none; }

.mhc-card { display: flex; align-items: center; gap: 10px; height: 100%; padding: 12px; box-sizing: border-box; background: #fff; border: 1px solid #e5e8eb; border-radius: 14px; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
a.mhc-card:hover { border-color: #3182f6; box-shadow: 0 5px 16px rgba(0, 0, 0, .08); }
.mhc-card .thumb { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; flex-shrink: 0; background: #f2f4f6; }
.mhc-card .thumb.ph { display: flex; align-items: center; justify-content: center; font-size: 24px; }
.mhc-card .body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.mhc-card .nm { display: block; font-size: 15px; font-weight: 700; line-height: 1.35; color: #191f28; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mhc-card .meta { display: flex; gap: 4px; line-height: 1.4; overflow: hidden; }
.mhc-card .tag { flex-shrink: 0; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 2px 7px; background: #e8f3ff; color: #3182f6; white-space: nowrap; }
.mhc-card .tag.sched { background: #e9f7ee; color: #1f7a45; }
.mhc-card .tag.genre { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; background: #f2f4f6; color: #6b7684; }

/* 자리 카드(자료가 오기 전) */
.mhc-card.sk { pointer-events: none; }
.mhc-card.sk .line { display: block; height: 12px; border-radius: 6px; background: #f2f4f6; }
.mhc-card.sk .line.w70 { width: 70%; }
.mhc-card.sk .line.w40 { width: 40%; }

@media (max-width: 768px) {
  .mhc { margin-bottom: 24px; }
  .mhc-head h2 { font-size: 14px; margin-bottom: 4px; }
  .mhc-head p { font-size: 10px; }
  .mhc-go { padding-right: 26px; }
  .mhc-go img { width: 7.2px; height: 18px; }
  .mhc-list { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .mhc-list::-webkit-scrollbar { display: none; }
  .mhc-list > li, .mhc-list > li:nth-child(n+4) { display: block; flex: 0 0 230px; scroll-snap-align: start; }
}
