@property --hms-entry-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false
}

.btn.hms-entry-cta {
    --hms-entry-angle: 0deg;
    position: relative;
    isolation: isolate;
    overflow: visible;
    border: 4px solid transparent !important;
    background: linear-gradient(125deg,#316dff,#2446e6) padding-box,conic-gradient(from var(--hms-entry-angle),#6687ff 0deg,#6687ff 80deg,#70efff 110deg,#fff1a7 145deg,#6687ff 190deg,#6687ff 360deg) border-box !important;
    color: #fff !important;
    box-shadow: 0 8px 28px #2555ed55,0 0 18px #4d86ff42;
    animation: hms-entry-orbit 4s linear infinite;
    min-height: 48px;
    font-weight: 800;
    white-space: nowrap;
    transition: box-shadow .2s ease,filter .2s ease
}

    .btn.hms-entry-cta::after {
        content: '';
        position: absolute;
        inset: -5px;
        border: 1px solid #70c8ff66;
        border-radius: inherit;
        pointer-events: none;
        box-shadow: 0 0 16px #599dff55
    }

    .btn.hms-entry-cta:hover {
        filter: brightness(1.1);
        box-shadow: 0 8px 32px #2555ed80,0 0 26px #67c4ff60
    }

    .btn.hms-entry-cta:focus-visible {
        outline: 3px solid #ffc65b;
        outline-offset: 7px
    }

.acts.hms-entry-actions {
    overflow: visible;
    gap: 16px
}

.hms-entry-actions .hms-entry-cta {
    padding: 16px 30px;
    font-size: 1.05rem
}

.hms-entry-hint {
    font-size: .85rem;
    color: var(--muted,#bac9e4);
    margin: 16px 0 0;
    line-height: 1.9
}

@keyframes hms-entry-orbit {
    to {
        --hms-entry-angle: 360deg
    }
}

@media(max-width:640px) {
    .hms-entry-actions .hms-entry-cta {
        width: 100%;
        max-width: 350px;
        min-height: 56px
    }

    .hms-entry-actions {
        justify-content: flex-start
    }
}

@media(prefers-reduced-motion:reduce) {
    .btn.hms-entry-cta {
        animation: none;
        transition: none
    }
}

/* Static landing page mobile app navigation */
@media(max-width:900px) {
    body {
        padding-bottom: calc(76px + env(safe-area-inset-bottom,0px))
    }

    .nl.open {
        display: none !important
    }

    .hms-landing-bottom-nav {
        position: fixed;
        z-index: 1300;
        inset-inline: 0;
        inset-block-start: auto;
        inset-block-end: 0;
        top: auto;
        bottom: 0;
        height: auto;
        display: grid;
        grid-template-columns: repeat(5,minmax(0,1fr));
        padding: 7px max(8px,env(safe-area-inset-right,0px)) calc(7px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px));
        min-height: calc(66px + env(safe-area-inset-bottom,0px));
        background: rgba(8,18,38,.96);
        border-top: 1px solid #33527d;
        box-shadow: 0 -8px 28px #0006;
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        direction: rtl
    }

        .hms-landing-bottom-nav a, .hms-landing-bottom-nav button {
            display: flex;
            min-width: 0;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            gap: 3px;
            color: #b9c9e1;
            background: transparent;
            border: 0;
            text-decoration: none;
            font-size: .68rem;
            line-height: 1.35;
            font-weight: 600;
            font-family: inherit;
            padding: 3px 1px;
            border-radius: 12px
        }

        .hms-landing-bottom-nav svg {
            width: 21px;
            height: 21px;
            fill: none;
            stroke: currentColor;
            stroke-width: 1.8;
            stroke-linecap: round;
            stroke-linejoin: round
        }

        .hms-landing-bottom-nav [aria-current=page] {
            color: #fff;
            background: #ffffff12
        }

        .hms-landing-bottom-nav .hms-landing-bottom-cta {
            color: #fff;
            background: linear-gradient(135deg,#4389ff,#2447ef);
            box-shadow: 0 3px 13px #2866f466
        }

    .hms-landing-scrim {
        position: fixed;
        z-index: 1400;
        inset: 0;
        background: #020817a8;
        backdrop-filter: blur(2px)
    }

    .hms-landing-drawer {
        position: fixed;
        z-index: 1401;
        inset-block: 0;
        inset-inline-start: 0;
        width: min(86vw,360px);
        height: 100dvh;
        overflow-y: auto;
        padding: calc(16px + env(safe-area-inset-top,0px)) 16px calc(18px + env(safe-area-inset-bottom,0px));
        background: #f8faff;
        color: #142a50;
        box-shadow: 0 0 40px #0005;
        transform: translateX(110%);
        visibility: hidden;
        transition: transform .25s ease,visibility .25s
    }

        .hms-landing-drawer[aria-hidden=false] {
            transform: translateX(0);
            visibility: visible
        }

    .hms-landing-drawer-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 4px 2px 16px;
        border-bottom: 1px solid #dce6f6
    }

    .hms-landing-drawer-brand {
        color: #173d78;
        text-decoration: none;
        font-size: 1.2rem;
        font-weight: 900
    }

    .hms-landing-drawer-close {
        width: 40px;
        height: 40px;
        border: 0;
        border-radius: 12px;
        background: #eaf0fb;
        color: #243c63;
        font-size: 1.7rem;
        line-height: 1
    }

    .hms-landing-drawer-user {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 18px 4px
    }

    .hms-landing-drawer-avatar {
        width: 48px;
        height: 48px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: linear-gradient(140deg,#77b8ff,#2c5bf1);
        color: #fff;
        font-size: 1.3rem;
        font-weight: 900
    }

    .hms-landing-drawer-user strong, .hms-landing-drawer-user small {
        display: block
    }

    .hms-landing-drawer-user small {
        margin-top: 4px;
        color: #71819c;
        font-size: .76rem
    }

    .hms-landing-drawer-links {
        position: static;
        inset: auto;
        z-index: auto;
        display: grid;
        gap: 5px;
        background: transparent;
        border: 0;
        backdrop-filter: none
    }

        .hms-landing-drawer-links a {
            display: flex;
            align-items: center;
            gap: 12px;
            min-height: 48px;
            padding: 10px 12px;
            border-radius: 13px;
            color: #20395e;
            text-decoration: none;
            font-size: .91rem;
            font-weight: 650
        }

            .hms-landing-drawer-links a:active, .hms-landing-drawer-links a:focus-visible {
                background: #e8efff;
                color: #2457cf
            }

        .hms-landing-drawer-links svg {
            width: 21px;
            height: 21px;
            fill: none;
            stroke: currentColor;
            stroke-width: 1.8;
            stroke-linecap: round;
            stroke-linejoin: round
        }

        .hms-landing-drawer-links .hms-landing-drawer-login {
            justify-content: center;
            margin-top: 10px;
            background: linear-gradient(120deg,#4389ff,#2447ef);
            color: #fff;
            min-height: 52px
        }

    .hms-landing-menu-open {
        overflow: hidden
    }

    .hms-landing-scrim[hidden] {
        display: none !important
    }
}

@media(min-width:901px) {
    .hms-landing-scrim, .hms-landing-drawer, .hms-landing-bottom-nav {
        display: none !important
    }
}

@media(prefers-reduced-motion:reduce) {
    .hms-landing-drawer {
        transition: none
    }
}
