.address {
    color: #999999FF;
}
.header-right li {
    margin-right: 20px;
}
.header-right li:last-child { margin-right: 0 }

.loginBtn {
  position: relative;
  display: inline-block;
}



.function {
    font-size: 0.875rem;
    line-height: 1.25rem;
}
.gap-4 {
    gap: 1rem;
}
.ml-4 {
    margin-left: 1rem;
}
.align-center {
    align-items: center;
    display: flex;
}
.w-4 {
    width: 1rem;
}
.mr-1\.5 {
    margin-right: 0.375rem;
}
/*.function .el-popover__reference-wrapper {*/
/*    display: inline-grid;*/
/*}*/
.cursor-pointer {
    cursor: pointer;
}
.function .line[data-v-5f1a11e4] {
    border: 1px solid #e1e9f2;
    display: inline-block;
    height: 18px;
    width: 2px;
}

/* 顶部工具栏：与 D 项目 compactBar 样式一致 */
.lgw-site-header {
    width: 100%;
    position: relative;
    z-index: 110;
}

.header-utility {
    height: 36px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.88);
    background: #474747;
    overflow: visible;
}

.header-utility__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    min-width: 0;
}

.header-utility__left,
.header-utility__right {
    display: flex;
    align-items: center;
    min-width: 0;
}

.header-utility__left {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding-right: 16px;
}

.header-utility__right {
    flex-shrink: 0;
    justify-content: flex-end;
    flex-wrap: nowrap;
}

.util-city-name {
    color: #ffb866;
    font-weight: 600;
    margin-right: 6px;
}

.util-city-switch {
    color: inherit;
    text-decoration: none;
    margin-right: 10px;
}

.util-city-switch:hover,
.util-nearby-item:hover,
.header-utility .util-link:hover,
.header-utility a.util-link:hover {
    color: #fff;
}

.util-nearby {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.72);
}

.util-nearby-item {
    color: inherit;
    text-decoration: none;
}

.util-auth {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.util-auth-slash {
    margin: 0 4px;
    color: rgba(255, 255, 255, 0.35);
    user-select: none;
}

.util-link {
    cursor: pointer;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
}

.util-dropdown {
    display: inline-flex;
    align-items: center;
}

.util-dropdown__icon {
    margin-left: 2px;
    font-size: 10px;
    transform: scale(0.9);
}

.util-sep {
    margin: 0 9px;
    color: rgba(255, 255, 255, 0.28);
    user-select: none;
    line-height: 1;
}

.util-hotline {
    margin-left: 10px;
    color: rgba(255, 255, 255, 0.72);
    white-space: nowrap;
}

.header-util-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.header-util-dropdown::after,
.header-user-popover-wrap::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 10px;
}

.header-util-dropdown:hover .header-util-menu {
    display: block;
}

.header-util-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 120px;
    padding: 6px 0;
    background: #fff;
    border: 1px solid #ebeef5;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(15, 35, 65, 0.12);
    z-index: 9999;
}

.header-util-menu--qrcode {
    min-width: 260px;
    padding: 12px;
}

.header-util-menu__item {
    display: block;
    padding: 8px 16px;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    line-height: 1.4;
}

.header-util-menu__item:hover {
    background: #f5f7fa;
    color: #137aff;
}

.header-qrcode-grid {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
    color: #333;
    text-align: center;
}

.header-qrcode-grid img {
    width: 110px;
    height: 110px;
    display: block;
    margin: 0 auto 4px;
}

.header-user-popover-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.header-user-popover-wrap:hover .header-user-popover-panel {
    display: block;
}

.user-panel-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 148px;
    cursor: pointer;
    line-height: 1;
}

.user-panel-trigger__avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #137aff 0%, #4d9dff 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.user-panel-trigger__name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 96px;
}

.user-panel-trigger__arrow {
    font-size: 10px;
    opacity: 0.75;
    flex-shrink: 0;
}

.header-user-popover-panel {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 320px;
    padding: 14px 16px 12px;
    background: #fff;
    border: 1px solid #ebeef5;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(15, 35, 65, 0.12);
    z-index: 9999;
    color: #333;
}

.user-panel__head {
    display: flex;
    gap: 12px;
    padding-bottom: 12px;
}

.user-panel__avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #137aff 0%, #69a8ff 100%);
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.user-panel__meta {
    flex: 1;
    min-width: 0;
    padding-top: 2px;
}

.user-panel__name {
    font-size: 15px;
    font-weight: 600;
    color: #1f2d3d;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-panel__tag {
    display: inline-block;
    margin-top: 6px;
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 11px;
    line-height: 18px;
    color: #137aff;
    background: #ecf5ff;
    border: 1px solid #d9ecff;
}

.user-panel__actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 12px 0;
    border-top: 1px solid #f0f2f5;
    border-bottom: 1px solid #f0f2f5;
}

.user-panel__action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 4px;
    border-radius: 8px;
    color: #606266;
    font-size: 12px;
    text-decoration: none;
}

.user-panel__action:hover {
    background: #f5f9ff;
    color: #137aff;
}

.user-panel__footer {
    padding-top: 12px;
}

.user-panel__logout {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 36px;
    border: 1px solid #e4e7ed;
    border-radius: 8px;
    background: #fff;
    color: #606266;
    font-size: 13px;
    text-decoration: none;
}

.user-panel__logout:hover {
    border-color: #f56c6c;
    color: #f56c6c;
    background: #fef0f0;
}

.header-main {
    background: #fff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.header-main__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 24px;
    padding: 10px 0;
}

.header-main__brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-main__brand-divider {
    width: 1px;
    height: 30px;
    margin: 0 20px;
    background: rgba(70, 99, 253, 0.4);
    border-radius: 341px;
}

.header-main__slogan {
    line-height: 18px;
    font-size: 14px;
    color: #333;
}

.header-main__slogan div:first-child {
    margin-bottom: 6px;
}

.header-main-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    min-width: 0;
    gap: 12px;
}

.header-main-toolbar__search {
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 520px;
    min-width: 280px;
    height: 42px;
    border: 2px solid #137aff;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

.header-main-toolbar__search input {
    flex: 1;
    min-width: 0;
    height: 38px;
    border: none;
    padding: 0 14px;
    outline: none;
    font-size: 14px;
}

.header-main-toolbar__search button {
    flex-shrink: 0;
    width: 88px;
    height: 100%;
    border: none;
    background: #137aff;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
}

.header-main-toolbar__search button:hover {
    background: #0f6ae6;
}

.header-main-toolbar__merchant {
    flex-shrink: 0;
    min-width: 100px;
    height: 42px;
    padding: 0 16px;
    border: none;
    border-radius: 4px;
    background: #ff9800;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
}

.header-main-toolbar__merchant:hover {
    background: #f57c00;
}

.header-main-toolbar__publish {
    flex-shrink: 0;
    min-width: 132px;
    height: 42px;
    padding: 0 16px;
    border: none;
    border-radius: 4px;
    background: #137aff;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header-main-toolbar__publish:hover {
    background: #0f6ae6;
    color: #fff;
}

.streamer-nav {
    position: relative;
    z-index: 102;
    overflow: visible;
}

.merchant-entry-badge {
    display: inline-flex;
    align-items: stretch;
    height: 28px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(120, 72, 18, 0.18);
    text-decoration: none;
    flex-shrink: 0;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.merchant-entry-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(120, 72, 18, 0.24);
    text-decoration: none;
}

.merchant-entry-badge__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    background: linear-gradient(180deg, #8b5a2b 0%, #6d3f1d 100%);
    color: #ffe8c2;
    font-size: 14px;
}

.merchant-entry-badge__text {
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    background: linear-gradient(180deg, #fff8ee 0%, #f6e7d2 100%);
    color: #7a4b1f;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.merchant-entry-badge:hover .merchant-entry-badge__text {
    color: #7a4b1f;
}
