.gt-scroll-cue {
    --gt-scroll-cue-safe-bottom: env(safe-area-inset-bottom, 0px);
    position: fixed;
    z-index: 30;
    left: 50%;
    bottom: calc(24px + var(--gt-scroll-cue-safe-bottom));
    transform: translateX(-50%);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 110px;
    max-width: calc(100% - 32px);
    min-height: 44px;
    padding: 6px 10px;
    box-sizing: border-box;
    border-radius: 8px;
    color: var(--gt-frost);
    text-align: center;
    text-decoration: none;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .6);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms ease, color 180ms ease, visibility 0s linear 180ms;
}

.gt-scroll-cue[hidden] {
    display: none;
}

.gt-scroll-cue.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.gt-scroll-cue:hover {
    color: var(--gt-accent-bright);
}

.gt-scroll-cue:active {
    color: var(--gt-accent-primary);
}

.gt-scroll-cue:focus-visible {
    outline: 2px solid var(--gt-accent-bright);
    outline-offset: 3px;
}

.gt-scroll-cue__label {
    margin-bottom: 7px;
    color: rgba(245, 245, 245, .48);
    font-family: var(--gt-body-font);
    font-size: 11px;
    font-weight: 500;
    line-height: 14px;
    transition: color 180ms ease;
}

.gt-scroll-cue:is(:hover, :focus-visible) .gt-scroll-cue__label {
    color: rgba(245, 245, 245, .76);
}

.gt-scroll-cue__mouse {
    display: none;
    flex: 0 0 24px;
    width: 18px;
    height: 24px;
}

.gt-scroll-cue__wheel {
    opacity: .76;
}

.gt-scroll-cue__arrow-track {
    display: block;
    flex: 0 0 28px;
    width: 16px;
    height: 28px;
    overflow: hidden;
}

.gt-scroll-cue__arrow {
    display: block;
    width: 16px;
    height: 20px;
    opacity: .76;
}

.gt-scroll-cue.is-visible .gt-scroll-cue__arrow {
    animation: gt-scroll-cue-down 1600ms linear infinite;
}

.gt-scroll-cue.is-visible .gt-scroll-cue__wheel {
    animation: gt-scroll-cue-wheel 1600ms linear infinite;
}

@keyframes gt-scroll-cue-down {
    0% { transform: translateY(0); opacity: 0; }
    15%, 75% { opacity: .76; }
    100% { transform: translateY(8px); opacity: 0; }
}

@keyframes gt-scroll-cue-wheel {
    0% { transform: translateY(0); opacity: 0; }
    15%, 75% { opacity: .76; }
    100% { transform: translateY(3px); opacity: 0; }
}

body.header-menu-open .gt-scroll-cue,
body.gt-modal-open .gt-scroll-cue {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: none;
}

@media (hover: hover) and (pointer: fine) {
    .gt-scroll-cue__mouse {
        display: block;
    }
}
