/* Reuse original tag-cloud scene artwork; only adapt its container to the guide. */
.msh-guide-modal .msh-save-guide-demo {
    max-width: none;
    width: 100%;
    height: auto;
    margin: 0 0 20px;
    padding: 14px 12px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
    overflow: hidden;
    flex: 0 0 auto;
    color: #1f2937;
}
.msh-save-guide-demo .msh-demo-heading {
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
}
.msh-save-guide-demo .msh-guide-content {
    flex: none;
    height: 218px;
}
.msh-save-guide-demo .msh-sim-phone {
    max-width: 100%;
    flex: 0 1 auto;
}
.msh-save-guide-demo .msh-sim-tag {
    max-width: 100%;
    box-sizing: border-box;
    padding: 10px 20px;
}
.msh-save-guide-demo .msh-sim-map-title {
    font-size: 16px;
}
.msh-save-guide-demo .msh-sim-app-actions {
    gap: 8px;
    padding: 0 12px;
}
.msh-save-guide-demo .msh-sim-btn {
    padding: 8px 12px;
}
.msh-save-guide-demo .msh-demo-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 18px;
}
/* Anchor to the actual button/tag, not the modal's center.
 * Original cursor SVG: 32x32 viewBox, hotspot at (10,6), rendered 40px.
 * Scaling around that hotspot keeps the tip stationary during the click.
 */
.msh-save-guide-demo .msh-sim-tag,
.msh-save-guide-demo .msh-sim-save-btn {
    position: relative;
    overflow: visible;
}
.msh-save-guide-demo .msh-sim-cursor {
    left: 50%;
    top: 50%;
    margin-left: -12.5px;
    margin-top: -7.5px;
    width: 40px;
    height: 40px;
    transform-origin: 12.5px 7.5px;
    animation-name: mshGuideAnchoredTagCursor;
    animation-iteration-count: 1;
    animation-fill-mode: both;
}
.msh-save-guide-demo .msh-sim-cursor.msh-cursor-scene2 {
    animation-name: mshGuideAnchoredSaveCursor;
}
.msh-save-guide-demo .msh-sim-cursor svg {
    display: block;
    width: 40px;
    height: 40px;
}
@keyframes mshGuideAnchoredTagCursor {
    0% { transform: translate(65px, 50px); opacity: 0; }
    5% { transform: translate(45px, 35px); opacity: 1; }
    15% { transform: translate(0, 0); opacity: 1; }
    20% { transform: scale(0.85); opacity: 1; }
    22%, 28% { transform: scale(1); opacity: 1; }
    30% { transform: translate(25px, 45px); opacity: 0; }
    100% { opacity: 0; }
}
@keyframes mshGuideAnchoredSaveCursor {
    0%, 30% { transform: translate(90px, 35px); opacity: 0; }
    35% { transform: translate(65px, 24px); opacity: 1; }
    50% { transform: translate(0, 0); opacity: 1; }
    55% { transform: scale(0.85); opacity: 1; }
    58%, 80% { transform: scale(1); opacity: 1; }
    100% { transform: translate(-20px, 20px); opacity: 0; }
}
.msh-save-guide-demo:not(.msh-demo-playing) .msh-sim-cursor {
    animation: none;
    opacity: 0;
}
.msh-save-guide-demo:not(.msh-demo-playing) .msh-sim-tag {
    animation: none;
}
.msh-save-guide-demo .msh-demo-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px 12px;
    flex-wrap: wrap;
    margin-top: 5px;
    color: #475569;
    font-size: 12px;
    line-height: 1.5;
}
.msh-save-guide-demo .msh-demo-toggle {
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    background: #fff;
    color: #334155;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
    cursor: pointer;
}
.msh-save-guide-demo .msh-demo-toggle[hidden] {
    display: none !important;
}
.msh-save-guide-demo .msh-demo-toggle:focus-visible {
    outline: 2px solid #f97316;
    outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
    .msh-save-guide-demo *, .msh-save-guide-demo *::before, .msh-save-guide-demo *::after {
        animation: none !important;
        transition: none !important;
    }
}


/* Saved places: self-contained illustrative map, no external map API or requests. */
.msh-save-guide-demo .msh-demo-result-map {
    position: relative;
    width: 100%;
    max-width: 360px;
    height: 200px;
    border: 1px solid #dce3e8;
    border-radius: 18px;
    overflow: hidden;
    background: #eef2ed;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .09);
    box-sizing: border-box;
}
.msh-save-guide-demo .msh-demo-map-art,
.msh-save-guide-demo .msh-demo-map-pins {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.msh-save-guide-demo .msh-demo-map-label {
    position: absolute;
    color: #667480;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    text-shadow: 0 0 3px #fff, 0 0 3px #fff;
    transform: translate(-50%, -50%);
}
.msh-save-guide-demo .msh-demo-map-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 5px rgba(15,23,42,.20);
    border: 1px solid rgba(255,255,255,.8);
    box-sizing: border-box;
    font-size: 18px;
    line-height: 1;
}
.msh-save-guide-demo .msh-demo-map-pin > span {
    display: block;
    line-height: 1;
}
.msh-save-guide-demo.msh-demo-playing .msh-demo-result-scene.msh-scene-active .msh-demo-map-pin {
    animation: mshSavedPlaceAppear 340ms cubic-bezier(.18,.8,.35,1.22) both;
}
.msh-demo-result-scene.msh-scene-active .msh-demo-map-pin:nth-child(2) { animation-delay: 80ms; }
.msh-demo-result-scene.msh-scene-active .msh-demo-map-pin:nth-child(3) { animation-delay: 150ms; }
.msh-demo-result-scene.msh-scene-active .msh-demo-map-pin:nth-child(4) { animation-delay: 230ms; }
.msh-demo-result-scene.msh-scene-active .msh-demo-map-pin:nth-child(5) { animation-delay: 300ms; }
.msh-demo-result-scene.msh-scene-active .msh-demo-map-pin:nth-child(6) { animation-delay: 380ms; }
.msh-demo-result-scene.msh-scene-active .msh-demo-map-pin:nth-child(7) { animation-delay: 460ms; }
.msh-demo-result-scene.msh-scene-active .msh-demo-map-pin:nth-child(8) { animation-delay: 530ms; }
.msh-demo-result-scene.msh-scene-active .msh-demo-map-pin:nth-child(9) { animation-delay: 610ms; }
.msh-demo-result-scene.msh-scene-active .msh-demo-map-pin:nth-child(10) { animation-delay: 690ms; }
.msh-demo-result-scene.msh-scene-active .msh-demo-map-pin:nth-child(11) { animation-delay: 760ms; }
@keyframes mshSavedPlaceAppear {
    from { opacity: 0; transform: translate(-50%, -50%) scale(.4); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.msh-save-guide-demo .msh-demo-map-status {
    position: absolute;
    left: 9px;
    top: 8px;
    padding: 5px 8px;
    border-radius: 100px;
    background: rgba(255,255,255,.96);
    color: #166534;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: 0 2px 6px rgba(15,23,42,.10);
}
.msh-save-guide-demo .msh-demo-map-example {
    position: absolute;
    right: 6px;
    bottom: 5px;
    color: #4b5563;
    font-size: 9px;
    line-height: 1.3;
    padding: 2px 5px;
    border-radius: 4px;
    background: rgba(255,255,255,.92);
}
@media (max-width: 400px) {
    .msh-save-guide-demo .msh-demo-map-pin { width: 23px; height: 23px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .msh-save-guide-demo .msh-demo-map-pin { animation: none !important; }
}
