.mists-site-home {
    align-items: center;
    background: #0c4d58;
    border: 2px solid #ffffff;
    border-radius: 0.4rem;
    box-shadow: 0 0.2rem 0.8rem rgb(0 0 0 / 25%);
    color: #ffffff !important;
    display: inline-flex;
    font: 700 0.95rem/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    left: max(0.75rem, env(safe-area-inset-left));
    min-height: 2.75rem;
    padding: 0.65rem 0.9rem;
    position: fixed;
    text-decoration: none !important;
    top: max(0.75rem, env(safe-area-inset-top));
    z-index: 100000;
}

.mists-site-home:hover {
    background: #083c45;
    color: #ffffff !important;
}

.mists-site-home:focus-visible {
    outline: 3px solid #f1bd89;
    outline-offset: 3px;
}

body.admin-bar .mists-site-home {
    top: calc(32px + max(0.75rem, env(safe-area-inset-top)));
}

.mists-account-standalone main {
    margin-top: 4rem !important;
}

body.admin-bar.mists-account-standalone main {
    margin-top: calc(4rem + 32px) !important;
}

@media (max-width: 30rem) {
    .mists-site-home {
        font-size: 0.85rem;
        min-height: 2.5rem;
        padding: 0.55rem 0.7rem;
    }
    body.admin-bar .mists-site-home {
        top: calc(46px + max(0.65rem, env(safe-area-inset-top)));
    }
    body.admin-bar.mists-account-standalone main {
        margin-top: calc(4rem + 46px) !important;
    }
}
