/* ======================================================
   Sanfe SMP - App UI (install / notifications / iOS tip)
   Shared across index.html, home.html, gallery.html, rules.html
====================================================== */

.floating-stack{

    position:fixed;

    left:24px;

    bottom:24px;

    display:flex;

    flex-direction:column;

    gap:10px;

    z-index:40;

}

.app-floating-btn{

    padding:12px 20px;

    border:1px solid var(--border-glow);

    border-radius:999px;

    background:var(--bg-panel-solid);

    color:var(--text-light);

    font-family:var(--font-body);

    font-size:14px;

    cursor:pointer;

    transition:.3s;

    text-align:left;

}

.app-floating-btn:hover{

    box-shadow:0 0 18px var(--accent);

    transform:translateY(-2px);

}

/* ======================================================
   iOS "Add to Home Screen" tip
====================================================== */

#iosInstallTip{

    position:fixed;

    left:16px;
    right:16px;
    bottom:16px;

    max-width:420px;

    margin:0 auto;

    background:var(--bg-panel-solid);

    border:1px solid var(--border-glow);

    border-radius:16px;

    padding:16px 44px 16px 18px;

    font-size:13px;

    line-height:1.6;

    color:var(--text-dim);

    box-shadow:0 0 24px rgba(0,0,0,.4);

    z-index:50;

}

#iosInstallTip strong{

    color:var(--text-light);

}

.ios-tip-close{

    position:absolute;

    top:10px;

    right:12px;

    background:none;

    border:none;

    color:var(--text-dim);

    font-size:18px;

    line-height:1;

    cursor:pointer;

    padding:4px;

}

.ios-tip-close:hover{

    color:var(--text-light);

}

/* ======================================================
   Responsive — keep the floating stack out of the way of
   the music button (bottom-right) on small screens
====================================================== */

@media(max-width:480px){

    .app-floating-btn{

        font-size:13px;

        padding:10px 16px;

    }

    #iosInstallTip{

        padding-right:40px;

        font-size:12.5px;

    }

}
