.wiki-scope-switch {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
    gap: 12px;
    margin: -12px 0 30px;
    padding: 12px;
    border: 1px solid #3f4352;
    border-radius: 12px;
    background: #1b1e26;
}

.wiki-scope-current,
.wiki-scope-route {
    min-width: 0;
    padding: 16px 17px;
    border-radius: 9px;
    word-break: keep-all;
}

.wiki-scope-current {
    border: 1px solid rgba(255, 188, 5, 0.28);
    background: rgba(255, 188, 5, 0.07);
}

.wiki-scope-route {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(59, 130, 246, 0.35);
    background: rgba(59, 130, 246, 0.08);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.wiki-scope-route:hover,
.wiki-scope-route:focus-visible {
    border-color: rgba(96, 165, 250, 0.8);
    background: rgba(59, 130, 246, 0.14);
    transform: translateY(-1px);
    outline: 3px solid rgba(59, 130, 246, 0.25);
    outline-offset: 2px;
}

.wiki-scope-kicker {
    display: block;
    margin-bottom: 6px;
    color: #ffbc05;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.wiki-scope-route .wiki-scope-kicker {
    color: #7db7ff;
}

.wiki-scope-switch strong {
    display: block;
    color: #f8fafc;
    font-size: 0.98rem;
    line-height: 1.5;
}

.wiki-scope-switch p,
.wiki-scope-switch small {
    display: block;
    margin: 7px 0 0;
    color: #aeb7c6;
    font-size: 0.86rem;
    line-height: 1.6;
}

.wiki-scope-route small::after {
    content: " →";
    color: #7db7ff;
    font-weight: 900;
}

@media (max-width: 720px) {
    .wiki-scope-switch {
        grid-template-columns: 1fr;
        margin-top: -10px;
    }

    .wiki-scope-current,
    .wiki-scope-route {
        padding: 15px;
    }
}
