/* Temporary launch notice. All styles are scoped to this component. */
html.vm-maintenance-open {
    overflow: hidden !important;
    scrollbar-gutter: stable;
}

html.vm-maintenance-open body {
    overflow: hidden !important;
}

dialog.vm-maintenance {
    box-sizing: border-box;
    position: fixed;
    inset: 0;
    z-index: 11000;
    width: min(560px, calc(100% - 32px));
    max-width: none;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 0;
    overflow: auto;
    overscroll-behavior: contain;
    border: 1px solid #455a32;
    border-radius: 24px;
    background: radial-gradient(ellipse at 100% 0, #25341a 0, transparent 55%), #111612;
    color: #f4f8f5;
    box-shadow: 0 24px 90px #0008;
    font-family: "TildaSans", Arial, sans-serif;
    text-align: left;
    color-scheme: dark;
}

dialog.vm-maintenance:not([open]) {
    display: none;
}

.vm-maintenance::backdrop {
    background: rgba(3, 7, 4, .76);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

dialog.vm-maintenance--fallback[open] {
    display: block;
    box-shadow: 0 0 0 100vmax rgba(3, 7, 4, .86);
}

.vm-maintenance .vm-maintenance__content {
    padding: 32px;
}

.vm-maintenance .vm-maintenance__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    margin: 0 48px 28px 0;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.15;
}

.vm-maintenance .vm-maintenance__brand img {
    display: block;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 14px;
}

.vm-maintenance .vm-maintenance__close {
    position: absolute;
    top: 20px;
    right: 20px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid #45513e;
    border-radius: 12px;
    background: #172015;
    color: #e3ebdf;
    cursor: pointer;
}

.vm-maintenance .vm-maintenance__close svg {
    display: block;
    width: 22px;
    height: 22px;
}

.vm-maintenance .vm-maintenance__title {
    margin: 0 0 18px;
    padding: 0;
    color: #f4f8f5;
    font-family: "TildaSans", Arial, sans-serif !important;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.025em;
    text-transform: none;
    overflow-wrap: break-word;
}

.vm-maintenance .vm-maintenance__description {
    margin: 0 0 12px;
    padding: 0;
    color: #c5cfc6;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0;
}

.vm-maintenance .vm-maintenance__bookmark {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 24px 0;
    padding: 16px;
    border: 1px solid #3d512d;
    border-radius: 14px;
    background: rgba(156, 255, 30, .06);
    color: #e2eed7;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: 0;
}

.vm-maintenance .vm-maintenance__bookmark svg {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    margin-top: 2px;
    color: #9cff1e;
}

.vm-maintenance .vm-maintenance__confirm {
    display: block;
    width: 100%;
    min-height: 52px;
    padding: 13px 24px;
    border: 1px solid #9cff1e;
    border-radius: 12px;
    background: #9cff1e;
    color: #0b1306;
    font-family: "TildaSans", Arial, sans-serif;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
    cursor: pointer;
}

.vm-maintenance .vm-maintenance__confirm:hover {
    background: #b2ff55;
    border-color: #b2ff55;
}

.vm-maintenance .vm-maintenance__close:hover {
    border-color: #9cff1e;
    color: #9cff1e;
}

.vm-maintenance button:focus-visible {
    outline: 2px solid #f4f8f5;
    outline-offset: 4px;
}

@media (max-width: 480px) {
    dialog.vm-maintenance {
        width: calc(100% - 24px);
        max-height: calc(100vh - 24px);
        max-height: calc(100dvh - 24px);
        border-radius: 20px;
    }

    .vm-maintenance .vm-maintenance__content {
        padding: 24px;
    }

    .vm-maintenance .vm-maintenance__brand {
        margin-bottom: 24px;
        gap: 10px;
        font-size: 21px;
    }

    .vm-maintenance .vm-maintenance__close {
        top: 16px;
        right: 16px;
    }

    .vm-maintenance .vm-maintenance__title {
        font-size: 28px;
    }

    .vm-maintenance .vm-maintenance__description {
        font-size: 17px;
    }

    .vm-maintenance .vm-maintenance__bookmark {
        gap: 10px;
        margin: 20px 0;
        padding: 14px;
        font-size: 16px;
    }
}

@media (max-width: 360px) {
    .vm-maintenance .vm-maintenance__content {
        padding: 20px;
    }

    .vm-maintenance .vm-maintenance__brand {
        font-size: 18px;
    }

    .vm-maintenance .vm-maintenance__title {
        font-size: 26px;
    }
}
