.mg-root { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 20; }
.mg-card { width: calc(var(--u) * 88); max-width: 94%; max-height: 96%; overflow: hidden; padding: calc(var(--u) * 3.5) calc(var(--u) * 3); text-align: center; animation: pop 0.3s ease-out both; pointer-events: auto; display: flex; flex-direction: column; align-items: center; gap: calc(var(--u) * 2); }
.mg-card.out { animation: none; opacity: 0; transform: scale(0.9); transition: all 0.18s; }
.mg-title { margin: 0; font-size: max(20px, calc(var(--u) * 6.4)); color: var(--amber); font-weight: 800; line-height: 1.2; }
.mg-how { margin: 0; font-size: max(14px, calc(var(--u) * 4)); line-height: 1.55; white-space: pre-line; color: var(--ink); }
.mg-skip { position: absolute; top: calc(62px + env(safe-area-inset-top)); right: 10px; z-index: 21; min-width: 72px; min-height: 44px; padding: 0 14px; font-size: max(14px, calc(var(--u) * 3.6)); pointer-events: auto; }
.mg-btns { width: 100%; display: flex; flex-direction: column; gap: calc(var(--u) * 2); }
.mg-btns .btn { width: 100%; min-height: max(48px, calc(var(--u) * 11)); font-size: max(15px, calc(var(--u) * 4.2)); }
.mg-btns .btn[disabled] { pointer-events: none; }
.mg-btns .btn .tk { width: calc(var(--u) * 6.5); height: calc(var(--u) * 6.5); object-fit: contain; }
.mg-stars { display: flex; gap: calc(var(--u) * 2); justify-content: center; align-items: flex-end; }
.mg-star { width: calc(var(--u) * 15); height: calc(var(--u) * 15); transition: transform 0.2s; }
.mg-star:nth-child(2) { transform: translateY(calc(var(--u) * -2)); width: calc(var(--u) * 18); height: calc(var(--u) * 18); }
.mg-star path { fill: rgba(10, 18, 32, 0.7); stroke: #6e7f95; stroke-width: 1; stroke-linejoin: round; }
.mg-star.on path { fill: #ffcf5a; stroke: #fff2c4; filter: drop-shadow(0 0 3px #ffb43a); }
.mg-star.on { animation: mg-bounce 0.45s ease-out both; }
@keyframes mg-bounce { 0% { transform: scale(0.2) rotate(-40deg); } 60% { transform: scale(1.35) rotate(8deg); } 100% { transform: scale(1) rotate(0); } }
.mg-score { font-size: max(24px, calc(var(--u) * 8)); font-weight: 800; color: #fff6e3; }
.mg-row { display: flex; align-items: center; justify-content: center; gap: calc(var(--u) * 2); font-size: max(16px, calc(var(--u) * 4.6)); font-weight: 700; min-height: calc(var(--u) * 6); }
.mg-row img { width: calc(var(--u) * 6.5); height: calc(var(--u) * 6.5); object-fit: contain; }
.mg-aff { color: #f6a7bd; }
.mg-aff.dim { color: var(--ink-dim); font-size: max(14px, calc(var(--u) * 3.8)); font-weight: 600; }
