.myn-footer {
    margin-top: auto;
    padding: 0.7rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.myn-footer-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    max-width: 100%;
    margin: 0 auto;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
    font-size: 0.78rem;
    line-height: 1.2;
}

.myn-footer-link:hover .myn-footer-name,
.myn-footer-link:hover .myn-footer-tag {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.myn-footer-logo {
    height: 32px;
    width: auto;
    flex-shrink: 0;
    display: block;
    object-fit: contain;
}

.myn-footer-name {
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.myn-footer-sep {
    opacity: 0.4;
}

.myn-footer-tag {
    margin: 0;
    opacity: 0.6;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 640px) {
    .myn-footer-link {
        font-size: 0.68rem;
        gap: 0.32rem;
    }
    .myn-footer-logo {
        height: 22px;
    }
}

body.panel-hsj {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.panel-hsj > main {
    flex: 1 0 auto;
}

.panel-header .brand-name {
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.15;
}

.carta-shell {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.carta-shell > .carta-main,
.carta-shell > #app {
    flex: 1 0 auto;
}

.carta-shell .myn-footer {
    border-top-color: #262626;
    color: #ededed;
}

body.login-myn {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

body.login-myn > .container {
    flex: 1 0 auto;
}

body.login-myn .myn-footer {
    color: #e9ecef;
}
