/* Emoji Secret - level map: 3 climbing lands, full-screen, HUD along the edges. Purple theme tokens + yellow accents. */
.mp-view{margin:0}
.mp-stage{position:relative;height:100vh;height:100dvh;overflow:hidden;background:#1b1430}
.mp-scroll{position:absolute;inset:0;overflow:auto;direction:ltr;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;touch-action:pan-x pan-y}
.mp-scroll::-webkit-scrollbar{display:none}
.mp-scroll:focus-visible{outline:2px solid var(--purple,#a78bfa);outline-offset:-2px}
.mp-world{position:relative}
.mp-world.mp-swap{animation:mpSwap .45s ease}
@keyframes mpSwap{0%{opacity:.2}100%{opacity:1}}
.mp-img{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none;-webkit-user-drag:none;user-select:none}
.mp-veil{position:absolute;inset:0;pointer-events:none;background:transparent;transition:background .3s}
.mp-world.zlock .mp-veil{background:linear-gradient(180deg,#0d0822aa,#0d082277)}

/* stages: number only; locked stages show a lock over the number */
.mp-node{position:absolute;z-index:2;width:38px;height:38px;margin:0;padding:0;transform:translate(-50%,-50%);border-radius:50%;border:3px solid #fff;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;font:800 15px inherit;line-height:1;color:#34445a;background:linear-gradient(180deg,#f8fbff,#c8d3df);box-shadow:0 4px 0 #6e8797,0 7px 12px #172d4770;text-shadow:0 1px 0 #fff;-webkit-tap-highlight-color:transparent}
.mp-node .mp-num{line-height:1}
.mp-node .mp-lock{font-size:10px;line-height:1;margin-bottom:1px;text-shadow:none}
.mp-node.locked{background:linear-gradient(180deg,#fbfdff,#cbd5df);color:#526477;font-size:15px;box-shadow:0 3px 0 #899cac,0 7px 13px #172d4770}
.mp-node.done{background:linear-gradient(180deg,#b8f0bd,#43a978);border-color:#f4fff4;color:#fff;box-shadow:0 0 0 3px #d9ffe466,0 4px 0 #27744e,0 8px 14px #172d4770;text-shadow:0 1px 2px #1d5a3d}
.mp-node.now{width:48px;height:48px;font-size:18px;background:linear-gradient(180deg,#ffe99a,#f7a92e);border-color:#fff;color:#71451b;box-shadow:0 0 0 6px #fff6a866,0 5px 0 #b76c26,0 10px 18px #172d4777;animation:mpPulse 1.6s ease-in-out infinite;z-index:3}
.mp-node.pop{animation:mpDone .7s ease}
@keyframes mpPulse{0%,100%{transform:translate(-50%,-50%) scale(1)}50%{transform:translate(-50%,-50%) scale(1.09)}}
@keyframes mpDone{0%{transform:translate(-50%,-50%) scale(1.5)}100%{transform:translate(-50%,-50%) scale(1)}}

/* HUD: menu on the start edge; stars, Reveal credits and profile on the end edge; land switcher along the bottom */
.mp-hud{position:absolute;top:0;inset-inline:0;z-index:5;display:flex;justify-content:space-between;align-items:flex-start;padding:max(10px,env(safe-area-inset-top)) 12px 0;pointer-events:none;direction:inherit}
.mp-hud>*{pointer-events:auto}
.mp-hright{display:flex;align-items:center;gap:8px}
.mp-hb{width:42px;height:42px;border-radius:12px;border:1.5px solid #fff;background:#1b1430d9;color:#fff;font-size:18px;line-height:1;cursor:pointer;display:grid;place-items:center;box-shadow:0 4px 12px #0005;-webkit-tap-highlight-color:transparent;padding:0;overflow:hidden}
.mp-hmenu{background:linear-gradient(180deg,#fde047,#facc15);color:#1f1235;border-color:#fff;font-weight:800}
.mp-hprof .acct-mini{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;overflow:hidden;font-size:18px}
.mp-chip{display:inline-flex;align-items:center;gap:5px;height:42px;padding:0 11px;border-radius:12px;border:1.5px solid #fff;background:#1b1430d9;color:#e9defc;font:800 13px inherit;box-shadow:0 4px 12px #0005;cursor:default}
button.mp-chip{cursor:pointer}
.mp-chip b{color:#fff}
.mp-bottom{position:absolute;inset-inline:0;bottom:max(12px,env(safe-area-inset-bottom));z-index:5;display:flex;align-items:center;justify-content:center;gap:8px;padding:0 12px;pointer-events:none;direction:inherit}
.mp-bottom>*{pointer-events:auto}
.mp-bottom .mp-hb:disabled{opacity:.4;cursor:default}
.mp-pill{display:flex;align-items:center;gap:8px;min-width:0;max-width:calc(100% - 112px);white-space:nowrap;height:42px;background:linear-gradient(180deg,#50b6b0,#25868e);border:2px solid #eaffff;color:#fff;border-radius:999px;padding:0 16px;font:800 13px inherit;cursor:pointer;box-shadow:0 4px 0 #226b78,0 7px 14px #183d5266}
.mp-pill b{overflow:hidden;text-overflow:ellipsis}
.mp-pill i{font-style:normal;background:#facc15;color:#1f1235;border-radius:999px;padding:1px 8px;font-size:11px}
.mp-pz{opacity:.85;font-size:11px}

.mp-banner{position:absolute;z-index:6;top:max(62px,calc(env(safe-area-inset-top) + 56px));inset-inline:12px;margin:0 auto;max-width:520px;background:linear-gradient(135deg,#facc15,#fbbf24);color:#1f1235;border-radius:14px;padding:10px 14px;font-weight:800;text-align:center;box-shadow:0 8px 24px #0006}
.mp-banner.mp-fade{animation:mpPop .5s ease}
@keyframes mpPop{0%{transform:scale(.9);opacity:0}100%{transform:scale(1);opacity:1}}

.mp-sheet{position:absolute;inset:auto 0 0 0;max-height:70%;overflow:auto;background:#1b1430;border-top:2px solid #facc15;border-radius:22px 22px 0 0;padding:14px;z-index:7;box-shadow:0 -10px 30px #0008}
.mp-sh-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;color:#fff}
.mp-x{background:#241a3d;border:1px solid var(--line,#392b58);color:#fff;border-radius:10px;width:34px;height:34px;cursor:pointer}
.mp-zrow{display:flex;align-items:center;gap:10px;width:100%;margin:0 0 6px;padding:10px 12px;border-radius:12px;border:1px solid var(--line,#392b58);background:#241a3d;color:#fff;font:700 13px inherit;cursor:pointer;text-align:start}
.mp-zrow.on{border-color:#facc15}
.mp-zrow.off{opacity:.6}
.mp-zn{width:26px;height:26px;border-radius:50%;background:#facc15;color:#1f1235;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:800;flex:none}
.mp-zt{flex:1}.mp-zp{color:#facc15;font-weight:800}
[dir=rtl] .mp-pill,[dir=rtl] .mp-zrow{direction:rtl}

@media(max-width:480px){.mp-hright{gap:6px}.mp-chip{padding:0 8px;font-size:12px}.mp-hb{width:40px;height:40px}.mp-chip{height:40px}.mp-node{width:34px;height:34px;font-size:13px}.mp-node.now{width:44px;height:44px;font-size:16px}.mp-pill{font-size:12px;padding:0 12px}}
@media(prefers-reduced-motion:reduce){.mp-node.now,.mp-banner.mp-fade,.mp-node.pop,.mp-world.mp-swap{animation:none}}
