:root {
    --nav-line: rgba(214, 182, 128, 0.15);
    --nav-line-strong: rgba(214, 182, 128, 0.34);
    --nav-muted: #bfaf98;
    --nav-text: #f6ecde;
    --nav-panel: rgba(24, 19, 15, 0.78);
    --nav-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    --nav-radius: 28px;
    --nav-pill: 999px;
}

.page-switcher {
    margin: 1.15rem 0 1.25rem;
    padding: 1rem;
    border: 1px solid var(--nav-line);
    border-radius: var(--nav-radius);
    background: var(--nav-panel);
    backdrop-filter: blur(18px);
    box-shadow: var(--nav-shadow);
    display: grid;
    gap: 1rem;
}

.page-switcher__head,
.page-switcher__rail,
.page-switcher__jump {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.page-switcher__head {
    justify-content: space-between;
}

.page-switcher__head p,
.page-switcher__head strong {
    margin: 0;
}

.page-switcher__head p {
    color: var(--nav-muted);
    line-height: 1.6;
}

.page-switcher__jump a,
.page-switcher__rail a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.9rem;
    padding: 0.74rem 1rem;
    border-radius: var(--nav-pill);
    border: 1px solid var(--nav-line);
    background: rgba(255, 255, 255, 0.03);
    color: var(--nav-text);
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.page-switcher__jump a:hover,
.page-switcher__rail a:hover {
    transform: translateY(-1px);
    border-color: var(--nav-line-strong);
}

.page-switcher__rail a.is-current {
    border-color: var(--nav-line-strong);
    background: linear-gradient(180deg, rgba(217, 173, 103, 0.12), rgba(255, 255, 255, 0.03));
}

.page-switcher__jump a.is-primary {
    background: linear-gradient(135deg, #dfb26c, #b17641);
    color: #24170d;
    font-weight: 800;
}

@media (max-width: 720px) {
    .page-switcher {
        padding: 0.95rem;
        border-radius: 22px;
    }

    .page-switcher__head {
        align-items: start;
    }

    .page-switcher__jump a,
    .page-switcher__rail a {
        width: 100%;
    }
}
