/* Shared header for every page in the Message section. */
.message-home-topbar,
.message-home-header,
.message-home-topbar *,
.message-home-header * {
    box-sizing: border-box;
}
.message-home-topbar {
    width: 100%;
    height: 34px;
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 12px;
    line-height: 1;
}
.message-home-topbar-inner {
    width: 100%;
    height: 34px;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.message-home-account {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    white-space: nowrap;
}
.message-home-account a {
    color: #555;
    text-decoration: none;
}
.message-home-account a:hover {
    color: #173b91;
}
.message-home-account i {
    color: #aaa;
    font-style: normal;
}
header.message-home-header {
    display: block;
    width: 100%;
    height: auto;
    min-height: 82px;
    margin: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    background: linear-gradient(0deg, #fff 0%, #fafafa 100%);
    box-shadow: 0 2px 20px rgba(0, 0, 0, .08);
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    position: relative;
    z-index: 20;
}
.message-home-header-inner {
    width: 100%;
    min-height: 82px;
    padding: 0 32px;
    display: flex;
    align-items: center;
    gap: 28px;
}
.message-home-logo {
    flex: 0 0 250px;
    min-width: 0;
    text-decoration: none;
}
.message-home-logo img {
    display: block;
    width: 100%;
    max-width: 250px;
    height: auto;
    max-height: 58px;
    object-fit: contain;
    object-position: left center;
    border: 0;
}
.message-home-nav {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 24px;
    white-space: nowrap;
}
.message-home-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    color: #333;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    text-decoration: none;
    transition: color .18s ease, background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.message-home-nav a:hover,
.message-home-nav a.is-current {
    color: #173b91;
}
.message-home-nav .message-home-publish {
    margin-left: auto;
    padding: 10px 18px;
    border-radius: 8px;
    background: #173b91;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 7px 16px rgba(23, 59, 145, .22);
}
.message-home-nav .message-home-mall {
    padding: 10px 18px;
    border-radius: 8px;
    background: #e66b23;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 7px 16px rgba(230, 107, 35, .22);
}
.message-home-nav .message-home-publish:hover {
    color: #fff;
    background: #102f7d;
    transform: translateY(-1px);
    box-shadow: 0 9px 20px rgba(23, 59, 145, .28);
}
.message-home-nav .message-home-mall:hover {
    color: #fff;
    background: #cf5715;
    transform: translateY(-1px);
    box-shadow: 0 9px 20px rgba(230, 107, 35, .28);
}
@media screen and (max-width: 1199px) {
    .message-home-topbar-inner,
    .message-home-header-inner {
        padding-left: 20px;
        padding-right: 20px;
    }
    .message-home-header-inner {
        gap: 18px;
    }
    .message-home-logo {
        flex-basis: 205px;
    }
    .message-home-logo img {
        max-width: 205px;
    }
    .message-home-nav {
        gap: 12px;
    }
    .message-home-nav a {
        font-size: 12px;
    }
    .message-home-nav .message-home-publish,
    .message-home-nav .message-home-mall {
        padding: 9px 12px;
    }
}
@media screen and (max-width: 820px) {
    .message-home-topbar-inner {
        padding-left: 16px;
        padding-right: 16px;
    }
    .message-home-account a:not(.message-home-top-publish),
    .message-home-account i {
        display: none;
    }
    header.message-home-header {
        min-height: 0;
    }
    .message-home-header-inner {
        min-height: 0;
        padding: 14px 16px;
        display: block;
    }
    .message-home-logo {
        display: block;
        width: 205px;
        margin-bottom: 12px;
    }
    .message-home-nav {
        width: 100%;
        padding-bottom: 4px;
        gap: 18px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .message-home-nav::-webkit-scrollbar {
        display: none;
    }
    .message-home-nav .message-home-publish {
        margin-left: 0;
    }
}
