/* ——————————————————————————————
   MMService Modern UI
   —————————————————————————————— */

/* Global Reset */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #050509;
    overflow: hidden;
}

/* Map container */
#map {
    height: 100vh;
    width: 100vw;
}

/* ——————————————————————————————
   TOP BAR
   —————————————————————————————— */
.mm-topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 52px;
    background: rgba(10, 10, 15, 0.78);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    padding: 0 16px;
    z-index: 9999;
}

.mm-title {
    font-size: 18px;
    font-weight: 600;
    color: #f5f5f7;
    letter-spacing: 0.3px;
}

/* ——————————————————————————————
   BOTTOM BAR
   —————————————————————————————— */
.mm-bottombar {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 260px;
    height: 48px;
    background: rgba(10, 10, 15, 0.82);
    backdrop-filter: blur(14px);
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 9999;
}

.mm-btn {
    color: #f5f5f7;
    font-size: 14px;
    opacity: 0.78;
    cursor: pointer;
    user-select: none;
    transition: opacity 0.18s ease, transform 0.12s ease;
}

.mm-btn:hover {
    opacity: 1;
    transform: translateY(-1px);
}

/* ——————————————————————————————
   UPDATE / ERROR MESSAGE
   —————————————————————————————— */
#tile-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(10,10,15,0.92);
    padding: 28px 24px;
    border-radius: 14px;
    color: #f5f5f7;
    width: 90%;
    max-width: 440px;
    text-align: center;
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 18px 45px rgba(0,0,0,0.55);
    z-index: 10000;
}

#tile-message h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 22px;
}

#tile-message p {
    margin: 6px 0;
    opacity: 0.86;
    line-height: 1.4;
}

#tile-message a {
    color: #7ab8ff;
    text-decoration: none;
}

#tile-message a:hover {
    text-decoration: underline;
}
