/* header */
header {
    position: fixed; /* 固定在顶部 */
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    display: flex;
    height: 56px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 990;
}
.logo {
    position: relative;
    left: 20px;
    top: 3px;
}
.logo img {
    height: 50px;
}

.menu-h5 {display: none;}
.menu {
    position: relative;
    font-size: 18px;
    left: 68px;
    top: 22px;
    height: 32px;
}
.menu nav ul {
    list-style: none; /* 不显示列表符号 */
    display: flex; /* 不换行 */
    border: 0;
}
.menu nav ul li {
    margin-right: 30px;
}
.menu nav ul li a {
    text-decoration: none; /* 默认字体 */
    color: #333;
    transition: color 0.3s ease; /* 平滑过渡 */
}
.menu nav ul li a:hover {
    color: #ff6600; /* 鼠标移入显示字体颜色 */
}
.menu nav ul li.active a {
    color: #ff6600;
}


/* 用户信息 */
.user-info-no {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}
.user-info {
    position: absolute;
    top: 8px;
    right: 20px;
    line-height: 1.5;
    cursor: pointer;
}
.user-info .user-id {
    font-size: 16px;
    display: block;
    padding: 0;
}
.user-info .user-mobao {
    font-size: 14px;
    color: #05CCB0;
    display: block;
    padding: 0;
}
.user-info .exit-btn {
    position: absolute;
    right: 0;
    bottom: 2px;
    font-size: 14px;
    background: #fff;
    border: 0;
    padding: 0;
    margin: 0;
    color: #2DA9FA;
    cursor: pointer;
}

.user-tishi-tooltip.show {
    visibility: visible;
    opacity: 1;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4); /* 更明显的阴影效果 */
    pointer-events: auto;
}
.user-tishi-tooltip {
    visibility: hidden;
    position: absolute;
    opacity: 0;
    width: 262px;
    top:46px;
    right: 0;
    background-color: #fff;
    color: #333;
    font-size: 14px;
    padding: 20px 10px 20px 30px;
    border-radius: 4px;
    white-space: normal; /* 允许多行文本 */
    transition: visibility 0s, opacity 0.3s ease, box-shadow 0.3s ease; /* 添加阴影过渡 */
    z-index: 999; /* 确保提示框在其他元素之上 */
    pointer-events: none; /* 防止提示框遮挡鼠标事件 */
}
.user-tishi-tooltip p {
    line-height: 2;
}
.user-tishi-tooltip p.ygg-p {
    display: none;
}
.user-tishi-tooltip p label{
    color: #05CCB0;
}
.user-tishi-tooltip p span{
    font-size: 15px;
    margin-left: 20px;
    color: #2DA9FA;
}
.user-tishi-tooltip .recharge-btn{
    font-size: 12px;
    margin: 10px 0 ;
}
.user-tishi-tooltip .share-btn {
    font-size: 12px;
}


/* =======   强引导   ======= */
/*  热度图标 */
.rei-icon {
    position: absolute;
    top: 4px;
    left: 500px;
    color: #ff6600;
    font-size: 18px;
}

/*  会员中心按钮  */
.btn-vip {
    right: 180px;
    background-color: #FFD500;
    color: #333;
    border: 2px solid #FFA100;
    display: none;
}
.btn-vip:hover {
    background-color: #FFA100;
}
/* 邀请好友 */
.btn-share {
    right: 270px;
    background-color: #D3E3FD;
    color: #1A3D66;
    border: 2px solid #BBCCE6;
    display: none;
}
.btn-share:hover {
    background-color: #BBCCE6;
}

.header-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-45%);
    text-align: center;
    cursor: pointer;
    border-radius: 50px;
    padding: 4px 8px;
    font-size: 14px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
    display: none;
}


/* 媒体查询：针对小屏幕设备 */
@media (max-width: 768px) {
    body header .menu, body header .rei-icon {display: none;}
    body header .logo {left: 10px;}
    body header .user-info-no, body header .user-info {right: 10px; }
    body header .btn-vip {right: 160px;}
    body header .btn-share {display: none !important;}

    body .menu-h5 {
        display: flex;position: fixed;bottom: 0;left: 0;
        width: 100%;text-align: center;padding: 12px 30px;background-color: #fff;
        box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
        z-index: 990;
    }
    body .menu-h5 button {flex:1; padding: 12px; font-size:1.25rem; border-radius: 200px;   }
}


/*===  QT投稿状态  ===*/
.qt-tougao-record-btn {
    position: fixed;
    right: 6px;
    bottom: 6px;
    z-index: 992;
    background: #05CCB2;
    color: #fff;
    width: 66px;
    height: 66px;
    text-align: center;
    line-height: 1.2;
    box-shadow: 0 5px 12px rgba(51, 51, 51, 0.6);
    border-radius: 50%;
    display: flex;
    flex-direction: column; /* 使用列方向的 Flexbox 布局 */
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
}
.qt-tougao-record-btn.animation {
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(255, 102, 0, 0.6);
    animation: spin 4s linear infinite; /* 添加旋转动画 */
}
.qt-tougao-record-btn span {
    display: block;
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
