#snake-container {
    position: fixed;
    top: 68px; /* 距离顶部 20px */
    right: 10px; /* 距离右侧 20px */
    z-index: 99;
}

#snake-container img {
    width: 50px;
    height: auto;
    animation: slither 3s linear infinite;
}

#snake-container .hover-text {
    position: absolute;
    top: 50%;
    right: 35px; /* 文字在小蛇左侧，距离小蛇 10px */
    transform: translateY(-50%);
    opacity: 0;
    font-size: 12px;
    font-weight: bold;
    background-color: rgb(255 235 235 / 30%); /* 半透明背景 */
    backdrop-filter: blur(10px); /* 磨砂玻璃效果 */
    padding: 8px 16px;
    border-radius: 20px;
    transition: opacity 0.3s ease;
    white-space: nowrap; /* 防止文字换行 */
}

@keyframes slither {
    0% { transform: translateX(0); }
    50% { transform: translateX(20px); }
    100% { transform: translateX(0); }
}
@media (max-width: 640px) {
	#snake-container {
    position: fixed;
    top: 50px; /* 距离顶部 20px */
    right: 10px; /* 距离右侧 20px */
    z-index: 99;
}
}