/* Tirradyn desktop cursors */
@media (hover: hover) and (pointer: fine) {
    body {
        cursor: url('/assets/cursors/small-shield.png') 8 8, auto;
    }

    a,
    button,
    .btn,
    input[type="submit"],
    input[type="button"],
    [role="button"] {
        cursor: url('/assets/cursors/small-sword.png') 2 2, pointer;
    }
}

/* Tirradyn scrollbar */
html {
    scrollbar-width: thin;
    scrollbar-color: #7e3a8a #09050d;
}

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #09050d;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #9b5aa0, #54245f);
    border: 2px solid #d4af37;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #d4af37, #8b4b96);
}

::-webkit-scrollbar-corner {
    background: #09050d;
}

/* Footer and sitemap navigation */
.footer-link,
.sitemap-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.footer-link {
    justify-content: center;
}

.sitemap-link {
    padding: 0.65rem 0.75rem;
    border-radius: 0.375rem;
    transition: background-color 150ms ease, color 150ms ease;
}

.sitemap-link:hover,
.sitemap-link:focus-visible {
    background: rgba(126, 58, 138, 0.18);
}

/* Give touch users a comfortable target without enlarging desktop links. */
@media (hover: none), (pointer: coarse) {
    .footer-link {
        min-height: 44px;
        padding: 0.5rem 0.4rem;
    }

    .sitemap-link {
        min-height: 44px;
    }
}
