/* 回忆地图 · 样式 — 手机端启动页 #mobile-splash */
#mobile-splash {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    z-index: 9000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-family: 'Roboto Mono', monospace;
    letter-spacing: 2px;
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
}
html.dark-mode #mobile-splash {
    background: #0a0a0a !important;
}
#mobile-splash { display: flex; }
#main-container.map-hidden {
    opacity: 0;
    transform: scale(1.015);
}
#main-container {
    transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1),
                transform 1.1s cubic-bezier(0.4, 0, 0.2, 1);
}
#loader { display: none !important; }
.splash-text {
    font-size: 12px;
    color: #1c1c1e;
    font-weight: 400;
    opacity: 0;
    animation: splashFadeIn 1.2s ease 0.4s forwards;
}
html.dark-mode .splash-text {
    color: #f2f2f7 !important;
}
.splash-text::after {
    content: "_";
    animation: blink 1s infinite;
}
@keyframes splashFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
#mobile-splash.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* 手机端 / 从相册分享进入：不显示启动页（html.no-splash 由 index.html <head> 里的早期脚本设置） */
html.no-splash #mobile-splash {
    display: none !important;
}
