/* 수라상 v3 (2026-11-05): 음식 그림(Twemoji) · 진화표 · 다음 음식 · 더 직관적인 보드 */
.mg-emo { width: 1.25em; height: 1.25em; vertical-align: -0.28em; object-fit: contain; pointer-events: none; user-select: none; }
.mg-emo-next { width: 44px; height: 44px; vertical-align: middle; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.45)); }
body.mg-v2 .mg-hud-next { display: flex; align-items: center; justify-content: center; min-height: 48px; }

/* 진화표: 그림 + 이름 + 화살표 */
body.mg-v2 .mg-stage-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 2px; padding: 10px 6px 8px; }
body.mg-v2 .mg-stage-chip {
  position: relative; width: 50px; height: auto; border-radius: 12px; padding: 4px 2px 3px; display: flex; flex-direction: column; align-items: center; gap: 1px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.06); filter: grayscale(1) brightness(0.7); opacity: 0.5; font-size: 0;
}
body.mg-v2 .mg-stage-chip .mg-emo { width: 28px; height: 28px; }
body.mg-v2 .mg-stage-chip small { font-size: 10px; line-height: 1.15; color: #f3dcae; text-align: center; white-space: nowrap; max-width: 48px; overflow: hidden; text-overflow: ellipsis; }
body.mg-v2 .mg-stage-chip:not(:last-child)::after { content: "›"; position: absolute; right: -5px; top: 12px; font-size: 14px; color: rgba(242, 194, 91, 0.55); }
body.mg-v2 .mg-stage-chip.unlocked { filter: none; opacity: 1; background: linear-gradient(180deg, rgba(242, 194, 91, 0.18), rgba(0, 0, 0, 0.15)); border-color: rgba(242, 194, 91, 0.7); box-shadow: 0 0 10px rgba(242, 194, 91, 0.3); }
body.mg-v2 .mg-stage-chip.new { background: radial-gradient(circle, rgba(255, 217, 138, 0.9), rgba(224, 85, 63, 0.7)); animation: mg3-new 0.9s ease-out 2; }
body.mg-v2 .mg-stage-chip:last-child .mg-emo { width: 32px; height: 32px; }
@keyframes mg3-new { 40% { transform: scale(1.25); } }

/* 순위표·미니보드·결과의 작은 그림 */
.mg-lb-stage .mg-emo, .mg-mini-stage .mg-emo { width: 20px; height: 20px; }
#mgEndStage .mg-emo { width: 30px; height: 30px; vertical-align: middle; }
.mg-stage-preview span .mg-emo, [id*="StagePreview"] .mg-emo { width: 30px; height: 30px; }

/* 보드: 조금 더 크게 (끝까지 드래그 쉬움) */
body.mg-v2 .mg-canvas { touch-action: none; }
.mg-credit { text-align: center; font-size: 11px; opacity: 0.55; margin: 10px 0 0; }
.mg-credit a { color: inherit; }
@media (max-width: 480px) {
  body.mg-v2 .mg-stage-chip { width: 44px; }
  body.mg-v2 .mg-stage-chip .mg-emo { width: 24px; height: 24px; }
  body.mg-v2 .mg-stage-chip small { font-size: 9px; max-width: 42px; }
}
