:root {
    --mt-dev-banner-height: 42px;
}

body {
    padding-top: var(--mt-dev-banner-height) !important;
}

header {
    top: var(--mt-dev-banner-height) !important;
}

.mt-dev-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--mt-dev-banner-height);
    z-index: 2147483000;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 0 14px;

    background:
        linear-gradient(
            90deg,
            rgba(237, 233, 254, 0.98),
            rgba(255, 247, 237, 0.98),
            rgba(237, 233, 254, 0.98)
        );

    color: #5b3a68;
    border-bottom: 1px solid rgba(91, 58, 104, 0.18);
    box-shadow: 0 5px 18px rgba(73, 47, 87, 0.12);

    font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.055em;
    line-height: 1;
    text-align: center;

    pointer-events: none;
}

.mt-dev-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 42px;
    height: 24px;
    padding: 0 9px;

    border-radius: 999px;
    background: #76567f;
    color: #ffffff;

    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.12em;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 2147482999;
    pointer-events: none;

    border: 3px solid rgba(118, 86, 127, 0.28);
}

@media (max-width: 520px) {
    .mt-dev-banner {
        gap: 7px;
        padding: 0 8px;
        font-size: 10px;
        letter-spacing: 0.025em;
    }

    .mt-dev-badge {
        min-width: 36px;
        height: 22px;
        padding: 0 7px;
        font-size: 10px;
    }
}
