.preview-switcher {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10001;
    display: flex;
    justify-content: center;
    gap: 0;
    background: #00171c;
    border-top: 2px solid #c9e8f1;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.preview-switcher a {
    flex: 1;
    max-width: 220px;
    padding: 0.65rem 1rem;
    text-align: center;
    text-decoration: none;
    color: #adccd5;
    border-right: 1px solid rgba(201, 232, 241, 0.2);
    transition: background 0.2s, color 0.2s;
}

.preview-switcher a:last-child {
    border-right: none;
}

.preview-switcher a:hover {
    background: #0d2c33;
    color: #fff;
}

.preview-switcher a.is-active {
    background: #c9e8f1;
    color: #00171c;
    font-weight: 600;
}

html {
    scroll-padding-top: 140px;
}

body.has-preview-switcher {
    padding-bottom: 42px;
}

@media (min-width: 768px) {
    body.has-preview-switcher.has-site-credit {
        padding-bottom: 42px;
    }
}

@media (max-width: 767px) {
    html {
        scroll-padding-top: 96px;
    }
}
