/* 20260815 start — 用户登录注册 & 用户状态样式 */

/* ===== 用户头像按钮 ===== */
.bgw-user-btn-h5 {
    display: flex;
    align-items: center;
    margin-left: 0.5rem;
}

.bgw-user-target {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    overflow: hidden;
    padding: 0;
    flex-shrink: 0;
}

.bgw-user-target .bgw-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.bgw-user-target .bgw-avatar-img:not([z-image-loader-url]){
    width: auto !important;
    height: 65% !important;
    border-radius: 0 !important;
}

/* PC navbar 用户按钮尺寸（.bgw-user-nav-item 作为 #navbar ul 的 <li> flex 子元素） */
#navbar .bgw-user-nav-item > .bgw-user-target {
    width: 2.5rem;
    height: 2.5rem;
    background: #2c2a2a;
    border: none;
    border-radius: 50%;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
}

#navbar .bgw-user-nav-item > .bgw-user-target > .bgw-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#navbar .bgw-user-nav-item {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: .5rem;
}

/* H5：.bgw-user-btn-h5 作为 .navbar-sidebar-item.btns 的 flex 子元素，跟 .search 并排 */
.navbar-sidebar-item.btns .bgw-user-btn-h5 {
    position: relative;
    margin-left: 0.5rem;
}
.navbar-sidebar-item.btns .bgw-user-btn-h5 .bgw-user-menu {
    z-index: 1000;
}

/* ===== PC 用户下拉菜单 ===== */
.bgw-user-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    width: 12.5rem;
    border: 0.5rem solid #191919;
    background: #131313;
    border-radius: 0.5rem;
    display: none;
    z-index: 1000;
    text-align: center;
}

.bgw-user-menu.is-open {
    display: block;
}

.bgw-user-menu .bgw-menu-userinfo {
    padding: 0.8rem 0.5rem;
    /* border-bottom: 1px solid #2a2a2a; */
}

.bgw-user-menu .bgw-menu-username {
    color: #1abc9d;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.3;
    margin: 0;
}

.bgw-user-menu .bgw-menu-userid {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    margin: 0.25rem 0 0;
}

.bgw-user-menu .bgw-state-loggedin .bgw-menu-item {
    display: block;
    width: 100%;
    padding: 0.75rem 0.5rem;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    background: transparent;
    border-left: none;
    border-right: none;
    border-top: none;
    border-radius: 0;
}


.bgw-user-menu .bgw-state-loggedin .bgw-menu-item:last-child {
    border-bottom: none;
}

.bgw-user-menu .bgw-state-loggedin .bgw-menu-item:hover {
    background: #1e1e1e;
    color: #fff;
    text-decoration: none;
}
.bgw-user-menu .bgw-state-loggedin .bgw-menu-item .bgw-menu-logout:hover{
    background: transparent;
    color: #ff2b5c;
}

.bgw-user-menu .bgw-menu-login-btn {
    color: #fff;
    font-size: 0.9rem;
    padding: 0.75rem 0.5rem;
    cursor: pointer;
}

.bgw-user-menu .bgw-menu-login-btn:hover {
    background: #1e1e1e;
}

.bgw-user-menu .bgw-menu-logout {
    color: #ff2b5c;
    font-size: 0.875rem;
    padding: 0.6rem 0.5rem;
    cursor: pointer;
}

.bgw-user-menu .bgw-menu-logout:hover {
    background: #1e1e1e;
}

/* button 化后与原 <a>/<div> 视觉一致的 UA 默认样式 reset */
.bgw-user-menu .bgw-state-loggedin button.bgw-menu-item {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    font: inherit;
    font-size: 0.9rem;
    color: #1abc9c;
    line-height: 1.15;
    text-decoration: none;
}
.bgw-user-menu .bgw-state-loggedin button.bgw-menu-item.bgw-menu-logout {
    color: #ff2b5c;
}

/* ===== 登录注册弹窗遮罩 ===== */
.bgw-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 3vh;
    overflow-y: auto;
}

/* ===== 弹窗卡片 ===== */
.bgw-modal-box {
    position: relative;
    width: 90vw;
    max-width: 480px;
    background: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(26, 188, 157, 0.2);
    border-radius: 12px;
    padding: 1.875rem 1.5rem;
    margin-bottom: 2rem;
}

/* 关闭按钮 */
.bgw-modal-close {
    position: absolute;
    top: -3.5rem;
    right: 50%;
    transform: translateX(50%);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: none;
    color: #fff;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bgw-modal-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ===== 弹窗标题 ===== */
.bgw-modal-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #fff;
    text-align: center;
    margin: 0 0 1.75rem;
}

/* ===== 表单行 ===== */
.bgw-form-row {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 1.25rem;
    width: 100%;
}

.bgw-form-label {
    width: 3.5rem;
    flex-shrink: 0;
    font-size: 1rem;
    color: #fff;
    font-weight: 500;
    text-align: left;
    margin-bottom: 1rem;
    margin-right: 0.875rem;
}

.bgw-form-field {
    width: 100%;
}

/* ===== 输入框 ===== */
.bgw-input {
    width: 100%;
    background: transparent;
    border: 1px solid #4a4a4a;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    color: #bcbcbc;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.15s;
}

.bgw-input:focus {
    border-color: #1abc9d;
    color: #fff;
}

.bgw-input::placeholder {
    color: #666;
}

/* 密码可见性切换：input + 右侧眼睛按钮 */
.bgw-password-field {
    position: relative;
    /* flex: 1; */
    width: 100%;
}

.bgw-password-field .bgw-input {
    padding-right: 3rem;
}

.bgw-password-toggle {
    position: absolute;
    top: 50%;
    right: 0.5rem;
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    padding: 0;
    background: transparent;
    color: #999;
    cursor: pointer;
    transform: translateY(-50%);
}

.bgw-password-toggle:hover,
.bgw-password-toggle:focus {
    color: #1abc9d;
}

/* 注册表单直接用 .bgw-form-row 布局（无 .bgw-form-field 包裹层）时 input 全宽 */
.bgw-panel-register .bgw-form-row .bgw-input {
    flex: 1;
}

.bgw-field-hint {
    margin: 0.75rem 0 0;
    font-size: 0.8125rem;
    color: #1abc9d;
}

/* ===== checkbox 行 ===== */
.bgw-remember-row,
.bgw-agree-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 1.4rem 0;
    font-size: 0.75rem;
    color: #bcbcbc;
    gap: 0.375rem;
    width: 100%;
}
.bgw-remember-row label{
    display: flex;
    align-items: center;
    gap: 0.3rem
}

.bgw-agree-row {
    flex-wrap: wrap;
}

.bgw-agree-row label {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.bgw-agree-row a {
    color: #1abc9d;
    text-decoration: underline;
}

.bgw-agree-row a:hover {
    color: #17a589;
}

.bgw-remember-row input[type="checkbox"],
.bgw-agree-row input[type="checkbox"] {
    width: 1.125rem;
    height: 1.125rem;
    accent-color: #1abc9d;
    cursor: pointer;
    flex-shrink: 0;
}

/* ===== 主按钮 ===== */
.bgw-btn-primary {
    display: block;
    width: 100%;
    margin: 0 auto;
    background: #1abc9d;
    color: #fff;
    font-size: 1.0625rem;
    font-weight: 600;
    text-align: center;
    padding: 0.875rem 0;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background 0.15s;
    margin-bottom: 1.5rem;
}

.bgw-btn-primary:hover {
    background: #17a589;
}

.bgw-btn-primary:active {
    background: #148f77;
}

/* ===== 底部切换链接 ===== */
.bgw-switch-link {
    text-align: center;
    margin: 0;
    font-size: 0.9rem;
}

.bgw-switch-link a {
    color: #1abc9d;
    text-decoration: underline;
    cursor: pointer;
}

.bgw-switch-link a:hover {
    color: #17a589;
}

/* ===== 用户协议 / 隐私说明 ===== */
.bgw-legal-content {
    height: 420px;
    overflow-y: auto;
    padding-right: 0.75rem;
    color: #bcbcbc;
    font-size: 0.9375rem;
    line-height: 1.75;
    /* scrollbar-color: #1abc9d #333;
    scrollbar-width: thin; */
}

.bgw-legal-content h3 {
    margin: 1.25rem 0 0.35rem;
    /* color: #fff; */
    font-size: 1rem;
    font-weight: 500;
}

.bgw-legal-content p {
    margin: 0 0 0.85rem;
}

.bgw-legal-content::-webkit-scrollbar {
    width: 4px;
}

.bgw-legal-content::-webkit-scrollbar-track {
    background: #333;
    border-radius: 2px;
}

.bgw-legal-content::-webkit-scrollbar-thumb {
    background: #1abc9d;
    border-radius: 2px;
}

.bgw-legal-back {
    display: none;
    margin-top: 1.25rem;
}

/* ===== 温馨提示 ===== */
.bgw-tips {
    margin-top: 1.5rem;
    color: #888;
    font-size: 0.875rem;
    align-self: flex-start;
    width: 100%;
}

.bgw-tips-title {
    font-size: 0.9375rem;
    color: #aaa;
    margin: 0 0 0.375rem;
    font-weight: 500;
}

.bgw-tips p {
    margin: 0.2rem 0;
    line-height: 1.5;
}

/* ===== H5 个人中心页（my/index.html）===== */
.bgw-my-page {
    min-height: 100vh;
    background: #1a1a1a;
    padding-bottom: 2rem;
}

.bgw-my-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.5rem 1rem 1.5rem;
}

.bgw-my-avatar {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.75rem;
    border: 2px solid #2a2a2a;
}

.bgw-my-username {
    color: #1abc9d;
    font-size: 1.0625rem;
    font-weight: 500;
    margin: 0 0 0.25rem;
}

.bgw-my-userid {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    margin: 0;
}

.bgw-my-menu {
    margin: 1rem 0.75rem 0;
    background: #242424;
    border-radius: 10px;
    overflow: hidden;
}

.bgw-my-menu-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid #2e2e2e;
    font-size: 0.9375rem;
}

.bgw-my-menu-item:last-child {
    border-bottom: none;
}

.bgw-my-menu-item:hover {
    background: #2a2a2a;
    color: #fff;
    text-decoration: none;
}

.bgw-my-menu-icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.875rem;
    opacity: 0.7;
    flex-shrink: 0;
}

.bgw-my-menu-text {
    flex: 1;
}

.bgw-my-menu-arrow {
    color: #666;
    font-size: 1rem;
}

.bgw-my-logout {
    display: block;
    margin: 1.5rem 0.75rem 0;
    padding: 0.875rem;
    text-align: center;
    color: #ff2b5c;
    font-size: 0.9375rem;
    background: #242424;
    border-radius: 10px;
    border: none;
    width: calc(100% - 1.5rem);
    cursor: pointer;
}

.bgw-my-logout:hover {
    background: #2a2a2a;
}

/* PC 端隐藏个人中心页 */
@media (min-width: 768px) {
    .bgw-my-page {
        display: none;
    }
}

/* ===== 响应式：弹窗在小屏全宽 ===== */
@media (max-width: 500px) {
    .bgw-modal-box {
        width: 95vw;
        padding: 1.5rem 0.8rem;
    }

    .bgw-modal-overlay {
        padding-top: 1.5vh;
    }

    .bgw-form-label {
        width: 2.75rem;
        font-size: 0.9375rem;
    }
}

/* ===== H5 用户信息悬浮面板 ===== */
.bgw-h5-user-panel {
    position: fixed;
    /* top 由 JS 动态设置为 navbar 高度，CSS 给初始值 */
    top: 3rem;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 97; /* 低于 nav-fixed z-index:98 */
    background: #2a2a2a;
    overflow-y: auto;
    transform: translateY(-110%);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    /* 仅在 H5 显示 */
}

.bgw-h5-user-panel.is-open {
    transform: translateY(0);
}

@media (min-width: 768px) {
    .bgw-h5-user-panel { display: none !important; }
}

.bgw-h5-panel-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem 1.5rem;
}

.bgw-h5-panel-avatar {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.75rem;
    border: 2px solid #2e2e2e;
    background: #2c2c2c;
}

.bgw-h5-panel-username {
    color: #1abc9d;
    font-size: 1.0625rem;
    font-weight: 500;
    margin: 0 0 0.3rem;
    text-align: center;
}

.bgw-h5-panel-userid {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.875rem;
    margin: 0;
    text-align: center;
}

.bgw-h5-panel-menu {
    margin: 0.5rem 0.75rem 0;
    background: #343232;
    border-radius: 10px;
    overflow: hidden;
}

.bgw-h5-panel-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    color: #e0e0e0;
    text-decoration: none;
    border-bottom: 1px solid #2e2e2e;
    font-size: 0.9rem;
    transition: background 0.12s;
}

.bgw-h5-panel-item:last-child {
    border-bottom: none;
}

.bgw-h5-panel-item:hover,
.bgw-h5-panel-item:active {
    background: #2a2a2a;
    color: #fff;
    text-decoration: none;
}

.bgw-h5-panel-item-icon {
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bgw-h5-panel-item-text {
    flex: 1;
}

.bgw-h5-panel-item-arrow {
    color: #555;
    width: 1rem;
    height: auto;
}

.bgw-h5-panel-logout-wrap {
    margin: 1rem 0.75rem 2rem;
}

.bgw-h5-panel-logout {
    display: block;
    width: 100%;
    padding: 0.875rem;
    text-align: center;
    color: #ff2b5c;
    font-size: 0.9375rem;
    background: #343232;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: background 0.12s;
    box-sizing: border-box;
}

.bgw-h5-panel-logout:hover,
.bgw-h5-panel-logout:active {
    background: #2a2a2a;
}

/* 20260815 end */

/* 20260815-个人信息修改 start */
.ai-profile-container {
    margin-top: 1.5rem;
    color: #fff;
}

.ai-profile-panel {
    max-width: 67rem;
    margin: 0 auto;
    padding-bottom: 2rem;
}

.ai-profile-avatar-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1.5rem 0 2rem;
}

.ai-profile-file-input {
    display: none !important;
}

.ai-profile-avatar {
    width: 6.25rem;
    height: 6.25rem;
    border-radius: 50%;
    overflow: hidden;
    background: #d8d8d8;
    cursor: pointer;
}

.ai-profile-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ai-profile-avatar-edit {
    margin-top: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.25rem;
    line-height: 1.4;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.ai-profile-label {
    display: block;
    color: #fff !important;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.ai-profile-input {
    display: block;
    width: 100%;
    height: 3.6875rem;
    padding: 0 1.25rem;
    border: 1px solid #5e5c5c;
    border-radius: 0.25rem;
    background: transparent;
    color: #bababa !important;
    font-size: 1rem;
    outline: none;
    box-sizing: border-box;
}

.ai-profile-input:focus {
    border-color: var(--ai-main-color);
    color: #fff !important;
}

.ai-profile-save {
    display: block;
    width: 100%;
    height: 3.75rem;
    line-height: 3.75rem;
    margin: 1.5rem 0 0.75rem;
    border-radius: 1.875rem;
    font-size: 1.125rem;
    font-weight: 600;
    border: 0;
    background: #1abc9d !important;
    color: #fff !important;
    text-align: center;
    cursor: pointer;
}

.ai-profile-save:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.ai-profile-tip {
    text-align: center;
    color: #868080 !important;
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

.ai-profile-review-tip {
    position: relative;
    display: flex;
    align-items: center;
    flex-flow: wrap;
    gap: 0.35rem;
    width: 100%;
    box-sizing: border-box;
    margin: 1rem 0 2rem;
    padding: 0.95rem 3rem 0.95rem 1.25rem;
    border: 1px solid #1abc9d;
    border-radius: 0.25rem;
    background: rgba(26, 188, 157, 0.1);
    color: #1abc9d;
    font-size: 1rem;
    line-height: 1.5;
}

/* 待审核：橙 */
.ai-profile-review-tip.pending {
    border-color: #f39c12;
    background: rgba(243, 156, 18, 0.1);
    color: #f39c12;
}

/* 已通过：绿（保持默认） */
.ai-profile-review-tip.approved {
    border-color: #1abc9d;
    background: rgba(26, 188, 157, 0.1);
    color: #1abc9d;
}

/* 未通过：红 */
.ai-profile-review-tip.rejected {
    border-color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

.ai-profile-review-tip .tip-label,
.ai-profile-review-tip .tip-reason,
.ai-profile-review-tip .tip-time {
    color: inherit;
}

.ai-profile-review-tip .tip-close {
    position: absolute;
    right: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.75rem;
    height: 1.75rem;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.bgw-message-modal {
    padding: 1rem;
}

.bgw-message-box {
    max-width: 36rem;
    padding: 3.25rem 3.125rem 3.875rem;
    text-align: center;
}

.bgw-message-box .bgw-modal-close {
    top: 1.25rem;
    right: 1.25rem;
    transform: none;
    color: rgba(255, 255, 255, 0.45);
    background: transparent;
    font-size: 2rem;
}

.bgw-message-title {
    margin-bottom: 1rem;
    font-size: 1.875rem;
    line-height: 1.3;
}

.bgw-message-text {
    margin: 0 0 2.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.375rem;
    line-height: 1.5;
}

.bgw-message-ok {
    margin: 0 auto;
    min-height: 3.875rem;
    border-radius: 0.375rem;
    font-size: 1.375rem;
}

.bgw-favorite-empty {
    padding: 3rem 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.55);
    font-size: 1rem;
}
.page-nav{
    margin-top: 3rem;
}
.page-nav .page-navigator #pageNum{
    width: 4rem;
    padding: 0 8px;
}

.detail-favorite-action:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

@media (max-width: 767px) {
    .bgw-legal-content {
        height: 50vh;
    }

    .ai-profile-review-tip {
        margin: 0.75rem 0 1.5rem;
        padding: 0.75rem 2.5rem 0.75rem 0.875rem;
        font-size: 0.875rem;
    }

    .bgw-message-box {
        width: 92vw;
        padding: 3.75rem 2.625rem 3.875rem;
        border-radius: 0.625rem;
    }

    .bgw-message-title {
        font-size: 1.75rem;
    }

    .bgw-message-text {
        margin-bottom: 2.5rem;
        font-size: 1.25rem;
    }

    .bgw-message-ok {
        min-height: 3.875rem;
        font-size: 1.25rem;
    }
}

@media (max-width: 767px) {
    /* 避开 H5 fixed 顶栏+搜索，避免头像被挡住一半 */
    /* .ai-tech-container.ai-profile-container {
        padding-top: 7.5rem;
    }

    .ai-profile-container .sp_breadcrumb_nav {
        display: none;
    } */
    .ai-profile-avatar-wrap {
        margin: 1rem 0 1.5rem;
    }

    .ai-profile-avatar {
        width: 5rem;
        height: 5rem;
    }

    .ai-profile-avatar-edit {
        font-size: 0.875rem;
        margin-top: 0.75rem;
    }

    .ai-profile-label {
        font-size: 0.9375rem;
        margin-bottom: 0.625rem;
    }

    .ai-profile-input {
        height: 2.75rem;
        padding: 0 0.875rem;
        border-color: #979797;
        border-radius: 0.5rem;
        font-size: 0.9375rem;
    }

    .ai-profile-save {
        height: 2.8125rem;
        line-height: 2.8125rem;
        margin-top: 1.25rem;
        border-radius: 1.40625rem;
        font-size: 1rem;
        font-weight: 500;
    }

    .ai-profile-tip {
        font-size: 0.75rem;
        margin-top: 0.5rem;
    }
}

/* 1. 滚动条整体：设置宽度和高度 */
::-webkit-scrollbar {
  width: 5px;  /* 垂直滚动条宽度 */
  height: 5px; /* 水平滚动条高度 */
}

/* 2. 滚动条轨道（背景） */
::-webkit-scrollbar-track {
  background: #333333; 
  border-radius: 4px;
}
/* 3. 滚动条滑块（可拖动的部分） */
::-webkit-scrollbar-thumb {
  background: #1ABC9D !important; 
  border-radius: 4px;
}
/* 20260815-个人信息修改 end */


/* 20260827 活动内容 start */
.h5_logo{
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.h5-user-txt{
    max-width: 7rem;
    display: inline-block;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.bgw-login-guide {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.6);
}

.bgw-login-guide-box {
  position: relative;
  box-sizing: border-box;
  width: 35rem;
  padding: 3.25rem 2.75rem 2.75rem;
  border-radius: 0.75rem;
  background: #212121;
}

.bgw-login-guide-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 1.8rem;
  height: 1.8rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.bgw-login-guide-close::before,
.bgw-login-guide-close::after {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 0.125rem;
  background: rgba(255, 255, 255, 0.45);
  content: '';
}

.bgw-login-guide-close::before {
  transform: rotate(45deg);
}

.bgw-login-guide-close::after {
  transform: rotate(-45deg);
}

.bgw-login-guide-title {
  margin: 0 0 3.5rem;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.45;
  text-align: center;
}

.bgw-login-guide-actions {
  display: flex;
  gap: 1.875rem;
}

.bgw-login-guide-actions button {
  flex: 1;
  min-width: 0;
  min-height: 3.5rem;
  border-radius: 0.5rem;
  font-size: 1.2rem;
  font-weight: 500;
  cursor: pointer;
}

.bgw-login-guide-cancel {
  border: 1px solid #1abc9d;
  background: transparent;
  color: #1abc9d;
}

.bgw-login-guide-login {
  border: 2px solid #1abc9d;
  background: #1abc9d;
  color: #fff;
}

@media (max-width: 620px) {
  .bgw-login-guide-box {
    padding: 3rem 2rem 2.3rem;
  }

  .bgw-login-guide-close {
    top: 1rem;
    right: 1rem;
    width: 1.2rem;
    height: 1.2rem;
  }

  .bgw-login-guide-title {
    margin-bottom: 2.2rem;
    font-size: 1.3rem;
  }

  .bgw-login-guide-actions {
    gap: 1rem;
  }

  .bgw-login-guide-actions button {
    min-height: 3rem;
    font-size: 1rem;
  }
}
/* 20260827 活动内容 end */
