/* 子比导航 · 网址发布页
   颜色与背景由元素内联样式锁定，这里只负责悬停动效和呼吸光晕 */

.znup-link {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    text-decoration: none;
    animation: znup-breathe 4s ease-in-out infinite;
}

.znup-pill {
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

/* 悬停只提亮和上浮，不换背景、不换字色 */
.znup-link:hover .znup-pill {
    transform: translateY(-1px);
    filter: brightness(1.12);
    box-shadow: 0 4px 14px rgba(47, 109, 246, 0.35);
}

.znup-link:focus {
    outline: none;
}

.znup-link:focus-visible .znup-pill {
    outline: 2px solid rgba(130, 175, 255, 0.6);
    outline-offset: 2px;
}

/* 隐约呼吸的蓝色光晕 */
@keyframes znup-breathe {
    0%,
    100% {
        filter: drop-shadow(0 0 0 rgba(80, 140, 255, 0));
    }
    50% {
        filter: drop-shadow(0 0 6px rgba(80, 140, 255, 0.45));
    }
}

@media (prefers-reduced-motion: reduce) {
    .znup-link {
        animation: none;
    }
}

@media (max-width: 768px) {
    .znup-link {
        display: none;
    }
}
