/* Rainbow gradient adapted from Magic UI Rainbow Button (MIT).
 * Source and license: ../vendor/rainbow-button/ */
.shell-world-entry {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 38px;
    padding: 0 18px;
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / .18);
    border-radius: 999px;
    background: rgb(255 255 255 / .08);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    backdrop-filter: blur(14px) saturate(1.2);
    opacity: .56;
    transition: opacity .2s ease, background-color .2s ease, border-color .2s ease;
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / .1);
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
}
.shell-world-entry::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: -35% -65%;
    background: linear-gradient(100deg, #ff427a, #ad5cff, #409cff, #48dfcf, #c5ef63, #ff427a);
    opacity: .14;
    transition: opacity .2s ease;
    filter: blur(12px);
    transform: translateX(-14%) rotate(-12deg) scaleY(.55);
    animation: shell-world-rainbow 7s ease-in-out infinite alternate;
}
.shell-world-entry::after {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgb(255 255 255 / .05), transparent);
}
.shell-world-entry span { text-shadow: 0 1px 3px #0003; }
.shell-world-entry svg { flex-shrink: 0; }
.shell-world-entry:hover,
.shell-world-entry:focus-visible {
    opacity: 1;
    background-color: rgb(255 255 255 / .16);
    border-color: rgb(255 255 255 / .4);
}
.shell-world-entry:hover::before,
.shell-world-entry:focus-visible::before { opacity: .36; }
html[data-color-mode=light] .shell-world-entry {
    color: #2d332d;
    background-color: rgb(255 255 255 / .18);
}
html[data-color-mode=light] .shell-world-entry span { text-shadow: none; }
html[data-color-mode=light] .shell-world-entry:hover,
html[data-color-mode=light] .shell-world-entry:focus-visible { background-color: rgb(255 255 255 / .34); }
.shell-world-entry:focus-visible { outline: 2px solid #77aaff; outline-offset: 4px; }
@keyframes shell-world-rainbow {
    to { transform: translateX(14%) rotate(12deg) scaleY(.85); }
}
@media (prefers-reduced-motion: reduce) {
    .shell-world-entry::before { animation: none; }
    .shell-world-entry, .shell-world-entry::before { transition: none; }
}
