html,
body {
    cursor: url(https://cdn.jsdelivr.net/gh/honjun/cdn@1.6/img/cursor/normal.cur), auto;
}

a,
button,
input[type="button"],
input[type="submit"],
select,
summary,
[role="button"] {
    cursor: url(https://cdn.jsdelivr.net/gh/honjun/cdn@1.6/img/cursor/link.cur), pointer;
}

input,
textarea {
    cursor: url(https://cdn.jsdelivr.net/gh/honjun/cdn@1.6/img/cursor/texto.cur), text;
}

.global-home-button {
    position: fixed;
    right: 22px;
    bottom: 92px;
    z-index: 1200;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(15, 118, 110, .18);
    border-radius: 999px;
    background: rgba(18, 32, 51, .92);
    color: #fff;
    box-shadow: 0 16px 36px rgba(18, 32, 51, .18);
    text-decoration: none;
    font: 900 14px/1.2 "Microsoft YaHei", "PingFang SC", sans-serif;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.global-home-button:hover {
    background: #0f766e;
    box-shadow: 0 20px 44px rgba(15, 118, 110, .24);
    transform: translateY(-2px);
}

.global-snow-layer,
.global-cursor-layer {
    position: fixed;
    inset: 0;
    z-index: 1190;
    overflow: hidden;
    pointer-events: none;
}

.global-snowflake {
    position: absolute;
    top: -24px;
    color: rgba(255, 255, 255, .88);
    text-shadow: 0 0 8px rgba(14, 165, 233, .45);
    animation: globalSnowFall linear forwards;
}

.global-cursor-spark {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(20, 184, 166, .68);
    box-shadow: 0 0 16px rgba(37, 99, 235, .35);
    animation: globalCursorSpark .72s ease-out forwards;
}

@keyframes globalSnowFall {
    to {
        transform: translate3d(var(--snow-drift), calc(100vh + 50px), 0) rotate(360deg);
        opacity: .08;
    }
}

@keyframes globalCursorSpark {
    to {
        transform: translate3d(var(--spark-x), var(--spark-y), 0) scale(.2);
        opacity: 0;
    }
}

@media (max-width: 760px) {
    .global-home-button {
        right: 12px;
        bottom: 76px;
        min-height: 38px;
        padding: 0 12px;
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .global-snow-layer,
    .global-cursor-layer {
        display: none;
    }
}
