.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 200;
    padding: 0.5rem 0.75rem;
    color: #fff;
    background: #6b3491;
    border-radius: 0.375rem;
}

.skip-link:focus {
    top: 1rem;
}

.navigation-mobile-menu-init {
    background: transparent;
}

.navigation-mobile-menu-init .burger-icon {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.navigation-mobile-menu-init .burger-icon span {
    display: block;
    width: 28px;
    height: 2px;
    background: #fff;
}

.auth-btn-mobile {
    margin-left: auto;
}

.header {
    position: relative;
    z-index: 15;
}

.features-slider .swiper-wrapper {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

.features-slider .features-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
}

.features-card .card-thumbnail picture,
.news-post .post-thumbnail picture {
    display: block;
    height: 100%;
}

.features-card .card-thumbnail img,
.news-post .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spoiler-primary summary {
    list-style: none;
}

.spoiler-primary summary::-webkit-details-marker {
    display: none;
}

.spoiler-primary[open] .spoiler-content {
    height: auto !important;
    opacity: 1 !important;
}

.spoiler-primary:not([open]) .spoiler-content {
    height: 0;
    opacity: 0;
}

.legacy-rich-text {
    display: grid;
    gap: 1rem;
}

.legacy-rich-text a {
    color: rgb(169 131 223);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-bottom {
    position: relative;
    z-index: 15;
    display: flex;
    justify-content: center;
    padding: 20px 40px 24px;
    color: rgba(255, 255, 255, 0.38);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.legacy-scroll-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 80;
    width: 46px;
    height: 46px;
    opacity: 0;
    visibility: hidden;
    background: rgba(42, 37, 53, 0.9);
    border: 1px solid rgba(212, 209, 230, 0.18);
    border-radius: 50%;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.legacy-scroll-top.visible,
.legacy-scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
}

.legacy-scroll-top span {
    display: block;
    width: 12px;
    height: 12px;
    margin: 17px auto 0;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    transform: rotate(45deg);
}

.class-cell,
.clan-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.class-cell img,
.clan-cell img {
    flex: 0 0 auto;
    object-fit: contain;
}
