/* The four-step picture guide (#4897). Real Portal captures; each ring marks where to tap. */
.pm-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0 0 24px; padding: 0; list-style: none; counter-reset: pm; }
.pm-step { margin: 0; padding: 0; animation: pm-turn 8s infinite; animation-delay: calc(var(--i) * 2s); border: 2px solid var(--line); border-radius: 14px; background: var(--panel); overflow: hidden; }
.pm-shot { position: relative; }
.pm-shot img { display: block; width: 100%; height: auto; aspect-ratio: 520 / 613; }
.pm-ring { position: absolute; left: var(--x); top: var(--y); width: 22%; aspect-ratio: 1; translate: -50% -50%; border: 3px solid #ffd23f; border-radius: 50%; box-shadow: 0 0 0 3px rgba(0,0,0,.45); animation: pm-pulse 2s infinite; animation-delay: calc(var(--i) * 2s); pointer-events: none; }
.pm-step figcaption { display: flex; gap: 8px; align-items: center; padding: 10px; font-weight: 700; line-height: 1.25; }
.pm-step figcaption::before { counter-increment: pm; content: counter(pm); flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #ff6a1a; color: #0b0b0b; font: 800 16px/1 var(--display); }
@keyframes pm-pulse { 0% { scale: .8; opacity: 1; } 70% { scale: 1.25; opacity: .15; } 100% { scale: .8; opacity: 1; } }
@keyframes pm-turn { 0%, 25% { border-color: #ff6a1a; } 26%, 100% { border-color: var(--line); } }
@media (max-width: 620px) { .pm-steps { grid-template-columns: repeat(2, 1fr); } }
@media (prefers-reduced-motion: reduce) { .pm-step, .pm-ring { animation: none; } }
.pm-s1 { --i: 0; --x: 30%; --y: 87%; }
.pm-s2 { --i: 1; --x: 88%; --y: 7%; }
.pm-s3 { --i: 2; --x: 44%; --y: 40%; }
.pm-s4 { --i: 3; --x: 50%; --y: 91%; }
.pm-step figure { margin: 0; }
