.toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
    transition: all 0.3s ease;
    will-change: transform, height;
}
  
.toast-message {
    background: #2460a4;
    color: white;
    padding: 12px 20px;
    border-radius: 20px;
    font-size: 14px;
    pointer-events: auto;
    min-width: 200px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    opacity: 1;
    margin-bottom: 10px;
    transition: 
      opacity 0.3s ease, 
      transform 0.3s ease, 
      height 0.3s ease, 
      margin 0.3s ease, 
      padding 0.3s ease;
}

.fb-win{
    position: fixed;
    top: 0;
    width: calc(100% - 16px);
    height: 100%;
}

.fb-win-tip-bg {
    z-index: 2;
    width: calc(100% - 40px);
    /* height: 20%; */
    padding: 20px;
    top: 38%;
    position: absolute;
    background-color: rgb(255, 255, 255);
}

.fb-win-tip-title {
    text-align: left;
    padding-left: 5%;
    font-size: 15px;
    border-radius: 4px;
    /* font-weight: 600; */
    margin-bottom: 14px;
}

.fb-win-tip-content  {
    text-align: left;
    padding-left: 5%;
    font-size: 15px;
    line-height: 1.6;
    border-radius: 4px;
    color: #333;
    /* margin-bottom: 24px; */
}

.fb-win-tip-footer  {
    margin-left: 50%;
    width: 50%;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.fb-win-btn {
    flex: 1;
    padding: 10px 0;
    font-size: 15px;
    border: none;
    border-radius: 4px;
    background: #eee;
}

.fb-win-btn.cancel {
    background: #ffffff;
}
  
.fb-win-btn.ok {
    background: #ffffff;
}


.fb-jump-btn {
    flex: 1;
    padding: 10px 0;
    font-size: 17px;
    border: none;
    border-radius: 4px;
    background: #eee;
}
.fb-jump-btn.ok {
    background: #ffffff;
}

.fb-jump-tip-content  {
    text-align: left;
    padding-left: 5%;
    font-size: 17px;
    line-height: 1.6;
    border-radius: 4px;
    color: #333;
    /* margin-bottom: 24px; */
}

.fb-jump-tip-bg {
    z-index: 2;
    width: calc(100% - 40px);
    /* height: 17%; */
    padding: 20px;
    top: 38%;
    position: absolute;
    background-color: rgb(255, 255, 255);
}

.fb-win-bg-mask {
    pointer-events: none;
    touch-action: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.548);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

#floating-menu {
    position: fixed;
    right: 20px;
    bottom: 120px;
    z-index: 9999;
    user-select: none;
}

.main-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff7a18, #ffb347);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: white;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .3);
    animation: pulse 2.5s infinite;
}

.menu-items {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all .3s ease;
}

#floating-menu.open .menu-items {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.menu-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
    transition: .2s;
}

.menu-btn:hover {
    transform: scale(1.1);
}

.fb {
    background: #1877f2
}

.ws {
    background: #25D366
}

.tg {
    background: #229ED9
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 160, 0, .6)
    }

    70% {
        box-shadow: 0 0 0 18px rgba(255, 160, 0, 0)
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 160, 0, 0)
    }
}