.site-fixed-top {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 720px;
    z-index: 1000;
    background: transparent;
    box-sizing: border-box;
}

.site-scroll-body {
    box-sizing: border-box;
}

.site-header-bar {
    width: 100%;
    border-radius: 0 0 5px 5px;
    overflow: hidden;
    background: linear-gradient(180deg, #917843 0%, #b88a27 100%);
    box-shadow: 0 10px 24px rgba(93, 62, 8, 0.28);
    box-sizing: border-box;
}

.site-header-bar .logo-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    padding: 0 8px 0 0;
    position: relative;
    background: transparent;
    container-type: inline-size;
    container-name: logo-bar;
}

.site-header-bar .logo-bar .logo,
.site-header-bar .logo-bar .home {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
}

.site-header-bar .logo-bar .logo .logo-home {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.site-header-bar .logo-bar .logo .logo-text {
    display: block;
    min-width: 148px;
    max-width: 176px;
    padding-left: 8px;
    color: #fff5cf;
    font-size: 22px;
    font-weight: bold;
    line-height: 1.05;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(73, 42, 0, 0.55);
}

.site-header-bar .logo-bar .logo .logo-text em {
    display: inline-block;
    margin-top: 4px;
    padding: 2px 12px;
    color: #6b4300;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    background: linear-gradient(180deg, #fffdf4 0%, #f5d97f 100%);
    border: 1px solid rgba(107, 67, 0, 0.18);
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    white-space: nowrap;
}

.site-header-bar .logo-bar-nav {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: space-evenly;
    min-width: 0;
    gap: 7px;
    padding: 0 4px;
}

.site-header-bar .logo-bar-nav a {
    display: block;
    flex: 1 1 0;
    min-width: 0;
    padding: 6px 3px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.15;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    color: #6b4300;
    background: linear-gradient(180deg, #fffef6 0%, #f8e6a3 42%, #e8c25a 100%);
    border: 1px solid rgba(107, 67, 0, 0.28);
    border-radius: 8px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.75) inset,
        0 2px 4px rgba(73, 42, 0, 0.35),
        0 5px 12px rgba(73, 42, 0, 0.28);
    text-shadow: 0 1px 0 rgba(255, 253, 244, 0.9);
    filter: drop-shadow(0 1px 1px rgba(50, 28, 0, 0.35));
    transition: filter 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.site-header-bar .logo-bar-nav a:hover {
    filter: brightness(1.06) drop-shadow(0 2px 2px rgba(50, 28, 0, 0.4));
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.85) inset,
        0 3px 6px rgba(73, 42, 0, 0.4),
        0 8px 16px rgba(73, 42, 0, 0.32);
    transform: translateY(-1px);
}

.site-header-bar .logo-bar .home {
    line-height: 1;
    text-align: center;
    color: #fff8dc;
    font-size: 12px;
    min-width: 54px;
}

.site-header-bar .logo-bar .home a {
    display: block;
    padding: 4px 8px 5px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 249, 224, 0.22) 0%, rgba(92, 57, 8, 0.2) 100%);
    color: #fff8dc;
    text-decoration: none;
}

.site-header-bar .logo-bar .home img {
    width: 30px;
    height: 30px;
    margin-bottom: 3px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.site-header-bar .logo-bar .home span {
    display: block;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(73, 42, 0, 0.45);
}

.site-header-bar .site-kj-wrap iframe,
.site-header-bar .site-domain-banner iframe {
    display: block;
    width: 100%;
    border: 0;
    background: #fff;
}

.site-header-bar .site-kj-wrap iframe {
    height: 200px;
}

.site-header-bar .site-domain-banner iframe {
    height: 40px;
}

@media (max-width: 720px) {
    .site-header-bar .logo-bar {
        padding: 0 4px 0 2px;
    }

    .site-header-bar .logo-bar .logo {
        min-width: 118px;
        max-width: 118px;
    }

    .site-header-bar .logo-bar .logo .logo-text {
        min-width: 118px;
        max-width: 118px;
        padding-left: 4px;
        font-size: 13px;
        line-height: 1.1;
        letter-spacing: 0;
        white-space: nowrap;
    }

    .site-header-bar .logo-bar .logo .logo-text em {
        margin-top: 2px;
        padding: 1px 6px;
        color: #6b4300;
        font-size: 11px;
        background: linear-gradient(180deg, #fffdf4 0%, #f5d97f 100%);
        border: 1px solid rgba(107, 67, 0, 0.18);
        border-radius: 999px;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    }

    .site-header-bar .logo-bar .home {
        min-width: 48px;
        font-size: 10px;
    }

    .site-header-bar .logo-bar .home img {
        width: 22px;
        height: 22px;
    }
}
