/* ====== index.html 内联样式提取（公共样式） ====== */
.admin_show {
    height: auto !important;
    max-height: calc(80vh + 10px) !important;
    overflow-y: auto !important;
}
.kehu-item {
    display: inline-block;
    position: relative;
    margin: 3px 4px;
    cursor: pointer;
    vertical-align: middle;
}
.kehu-item .kehu-name {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-size: 12px;
    line-height: 22px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.25s ease;
}
.kehu-item:hover .kehu-name {
    background: rgba(102, 126, 234, 0.6);
    border-color: rgba(102, 126, 234, 0.4);
    color: #fff;
}
.kehu-item .kehu-img {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 10px;
    z-index: 999;
    background: #fff;
    padding: 6px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}
.kehu-item:hover .kehu-img {
    display: block;
}
.kehu-item .kehu-img img {
    width: 120px;
    height: 120px;
    border-radius: 6px;
    display: block;
}
.kehu-item .kehu-img::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border: 6px solid transparent;
    border-top-color: #fff;
}
#userinfo_area {
    align-items: center;
    white-space: nowrap;
}
#userinfo_area .userinfo {
    float: none !important;
    display: inline-flex !important;
    align-items: center;
    height: 32px;
}
#userinfo_area .userimg {
    float: none !important;
    height: 30px !important;
}
#userinfo_area .userlogout {
    float: none !important;
    display: inline-block !important;
    margin-left: 6px;
    vertical-align: middle;
    width: 95px;
    height: 29px;
    line-height: 29px;
    text-align: center;
    font-size: 14px;
    box-sizing: border-box;
    padding: 0 !important;
}
.layui-layer-user-menu {
    border: none !important;
    box-shadow: none !important;
}
.layui-layer-user-menu .layui-layer-content {
    padding: 0 !important;
    border: none !important;
    overflow: hidden !important;
    border-radius: 6px !important;
}
.layui-layer-user-menu .layui-layer-setwin {
    display: none !important;
}
.layui-layer-setwin a {
    width: 28px !important;
    height: 28px !important;
    background: #ff4757 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    font-weight: bold !important;
    color: #fff !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.5) !important;
    line-height: 28px !important;
    text-decoration: none !important;
}
.layui-layer-setwin a::before {
    content: '\d7';
}
.layui-layer-setwin a:hover {
    background: #ee3b4b !important;
    transform: scale(1.1);
}
.room-popup { padding: 0; }
.room-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e8ecf1;
    background: #5b6abf;
}
.room-popup-header h3 {
    color: #fff;
    font-size: 16px;
    margin: 0;
    font-weight: 600;
}
.room-popup-header .room-popup-count {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    margin-left: 10px;
}
.room-popup-body {
    max-height: 480px;
    overflow-y: auto;
    padding: 12px;
    background: #f5f7fa;
}
.room-popup-body::-webkit-scrollbar { width: 6px; }
.room-popup-body::-webkit-scrollbar-thumb {
    background: #c1c7cd;
    border-radius: 3px;
}
.rp-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    margin-bottom: 8px;
    background: #fff;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s;
    border: 1px solid transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.rp-item:hover {
    border-color: #5b6abf;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(91, 106, 191, 0.15);
}
.rp-item-icon {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    flex-shrink: 0;
    overflow: hidden;
    margin-right: 14px;
    background: #5b6abf;
}
.rp-item-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}
.rp-item-body { flex: 1; min-width: 0; }
.rp-item-title {
    font-size: 15px;
    font-weight: 600;
    color: #2d3748;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 6px;
}
.rp-item-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    color: #a0aec0;
}
.rp-item-meta .live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 4px;
    vertical-align: middle;
}
.rp-item-meta .live-dot.on {
    background: #48bb78;
    box-shadow: 0 0 6px rgba(72, 187, 120, 0.5);
    animation: livePulse 1.5s infinite;
}
.rp-item-meta .live-dot.off { background: #cbd5e0; }
.rp-item-meta .status-text.on { color: #48bb78; font-weight: 600; }
.rp-item-meta .status-text.off { color: #a0aec0; }
.rp-item-enter {
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: #5b6abf;
    flex-shrink: 0;
    margin-left: 12px;
    transition: all 0.2s;
}
.rp-item-enter:hover {
    box-shadow: 0 4px 12px rgba(91, 106, 191, 0.4);
    transform: scale(1.05);
}
.rp-empty {
    text-align: center;
    padding: 60px 20px;
    color: #a0aec0;
    font-size: 14px;
}
.rp-empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.4;
}
@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
#openPOPChat { display: none !important; }

/* ====== 从 index.html div/元素中提取的 inline style ====== */

/* 顶栏用户区域 */
#appContent { display: none; }
#userinfo_area { display: none; align-items: center; white-space: nowrap; vertical-align: middle; }
#userinfoLink { margin-right: 4px; border-radius: 5px; }
.shareBtn {
    width: 95px; height: 29px; line-height: 29px; font-size: 14px;
    background: #07c160; color: #fff; border: none; border-radius: 5px;
    cursor: pointer; padding: 0;
}
.userlogout {
    width: 95px; height: 29px; line-height: 29px; text-align: center;
    font-size: 14px; display: inline-block; background: #5C92B1;
    color: #fff; border-radius: 5px; padding: 0;
}
#guest_area { display: none; align-items: center; white-space: nowrap; vertical-align: middle; gap: 5px; }
#guestNameSpan {
    background: #F46B0A; font-size: 14px; height: 32px; line-height: 32px;
    color: #fff; padding-right: 10px; border-radius: 5px;
    display: inline-flex; align-items: center; overflow: hidden;
}
#guestImg { height: 32px; margin-right: 5px; }
#guest_area .login { float: none; margin: 0; }

/* ====== 左侧面板 flex 布局 ====== */
#UI_Left2 {
    display: flex;
    flex-direction: column;
}
/* 应用列表标题 */
.app_section_title {
    flex-shrink: 0;
    color: #fff; font-size: 12px; padding: 5px 10px;
    margin-top: 3px; opacity: 0.8; letter-spacing: 1px;
}
/* 应用图标区 */
#leftNavApps {
    flex-shrink: 0;
    overflow: hidden;
}
#leftNavApps .appico img {
    margin-top: 12px;
}
/* 客服列表 */
#kefu_section {
    flex-shrink: 0;
    margin-top: 8px;
    max-height: 180px;
    overflow-y: auto;
}
#OnLineUser_OhterList { display: none; }
#kefu_header {
    padding: 6px 10px; color: #4fc3f7; font-size: 12px;
    border-bottom: 1px solid rgba(79,195,247,0.2);
    margin-bottom: 3px;
}
/* 客服列表项 */
#kefu_section ul { margin: 0; padding: 0; }
#kefu_section li {
    list-style: none;
}
#kefu_section li a {
    display: flex; align-items: center;
    padding: 5px 8px; border-radius: 3px;
    text-decoration: none; cursor: pointer;
    transition: background 0.15s;
}
#kefu_section li a:hover {
    background: rgba(79,195,247,0.1);
}
#kefu_section li.gray {
    opacity: 0.5;
}
#kefu_section li .vipico {
    margin-left: auto; flex-shrink: 0;
}
#kefu_section li dt {
    display: flex; align-items: center; gap: 4px;
    font-size: 13px; overflow: hidden; white-space: nowrap;
    text-overflow: ellipsis; flex: 1; min-width: 0;
}
#kefu_section li dt font {
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
#kefu_section li dd,
#kefu_section li dl,
#kefu_section li cite,
#kefu_section li span { display: none !important; }
#kefu_section li dt code { display: none; }

/* 在线会员区 */
.title_tab.bg_png1 { flex-shrink: 0; }
.clearfix { clear: both; }
#UI_Left2 .bg_png2 { width: 220px; }
#OnlineUser_Find {
    flex-shrink: 0;
    height: 25px; margin-top: 1px; padding: 2px; overflow: hidden;
    line-height: 25px; margin-bottom: 1px;
    border: 1px solid rgba(255,255,255,0.25); border-radius: 3px;
}
#searchImgBtn { float: right; margin: 5px; }
#finduser {
    border: 0; width: 150px; height: 25px; line-height: 25px;
    padding: 0; background: none; color: #fff;
}
#OnLineUser_FindList { display: none; }
#OnLineUser {
    min-height: 50px;
    overflow-y: auto;
}
/* 原生滚动条美化 */
#OnLineUser::-webkit-scrollbar { width: 4px; }
#OnLineUser::-webkit-scrollbar-track { background: transparent; }
#OnLineUser::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.25); border-radius: 2px; }
#OnLineUser::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.45); }
/* Firefox */
#OnLineUser { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.25) transparent; }

/* 公告 & 消息区 */
#notice_marquee_text { color: #FF0; }
#MsgBox { position: relative; }
#MsgBox1 { overflow: auto; height: 50px; padding: 0 6px; position: relative; }
#loadMoreDiv { display: none; }
#drag_bar { display: none; }
#MsgBox2 { height: 100px; overflow: auto; padding: 0 10px; position: relative; display: none; }

/* 工具栏 */
#toolTopRow {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 30px; line-height: 30px; overflow: hidden; font-size: 14px;
}
#sysMsgControl { flex: 3; padding-left: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: none; }
#msg_tip_admin_show { padding-left: 5px; flex: 1; }
#adminShowPanel { height: auto; max-height: 80vh; overflow-y: auto; display: none; }
#adminShowPanel .admin_showa[onclick*="adminSettings"] { background: #e6a23c; color: #fff; }

/* 发言工具栏 */
.msg_tool_left { float: left; margin-left: 5px; }
#bt_myimage { display: none; }
#ToUser { position: relative; }
.msg_tool_tochat_wrap { position: relative; }
#openPOPChat { display: none !important; }
.msgsend_top_divider { border-top: #d1d1d1 1px solid; height: 10px; }
#Msg {
    height: 65px; overflow: auto; font-family: Arial, Helvetica, sans-serif;
    font-size: 12pt; color: #000; margin-right: 151px; line-height: 20px;
    outline: none; background: #fff;
}
.msgsend_top_btn { width: 137px; position: absolute; right: 10px; top: 10px; }

/* 视频区 */
#UI_Central {
    display: flex;
    flex-direction: column;
}
#RoomMV {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}
.bg_png_video {
    flex: 1;
    min-height: 0;
    position: relative;
}
.videolist { display: none; }
#OnLine_MV {
    height: 100%; min-height: 200px; position: relative;
    background: #000; overflow: hidden; display: block;
}
#pcPlayerFrame {
    display: block; position: relative; z-index: 2;
    border: none; width: 100%; height: 100%;
}
#pcPlayerLoading {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: #000; z-index: 99; color: #fff; font-size: 14px;
}

/* 广告区 */
.NoticeList {
    height: 350px;
    flex-shrink: 0;
}
#NoticeList { height: 80px; }
#tz3 { overflow: hidden; }

/* 字体栏 */
#FontBar { display: none; }
.ff-simsun { font-family: SimSun; }
.ff-simhei { font-family: SimHei; }
.ff-kaiti { font-family: KaiTi_GB2312; }
.ff-fangsong { font-family: FangSong_GB2312; }
.ff-yahei { font-family: Microsoft YaHei; }

/* 取色器/表情/发送键设置 */
#ColorTable { display: none; }
#Smileys { display: none; height: 180px; }
#Send_key_option { display: none; }
#Send_key_option .key_option_item {
    padding-left: 20px; height: 20px; line-height: 20px;
}

/* 音频 */
#MsgSound { position: absolute; left: -100px; }

/* 表情面板 */
#face { position: absolute; display: none; }

/* 文件上传 */
#filedata { display: none; }
#e { display: none; }

/* 手机登录弹窗 */
#phoneLoginBox { display: none; }
.Savedesktop.RemindReg { padding: 0; }
.RemindLogin-form { padding: 75px 50px 0; }
.RemindLogin-form label { width: 60px; }
.RemindLogin-code { display: flex; align-items: center; }
.RemindLogin-code label { width: 60px; flex: none; }
#pl_phone { flex: 1; }
#pl_yzm { flex: 1; min-width: 0; }
#pl_sendbtn { display: inline-block; }
#pl_code_status { color: #fff; font-size: 14px; font-weight: bold; }
.pl_sms_wrap { width: 95px; flex: none; text-align: center; }
.RemindLogin-submit { padding-top: 0; }
.layim_qq { display: none !important; }
.layim_names {
    line-height: 20px !important;
    padding-top: 10px !important;
}
.msg_content font[data-chatid] { cursor: default !important; }
#tcplayer-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: #000;
}
#tcplayer { width: 100%; height: 100%; }
#tcplayer video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.video-js { width: 100%; height: 100%; }
.video-js .vjs-tech { width: 100%; height: 100%; }
.video-js .vjs-control-bar { display: none !important; }
.video-js .vjs-big-play-button { display: none !important; }
.video-js .vjs-error-display { display: none !important; }
.video-js .vjs-close-button { display: none !important; }
.video-js .vjs-modal-dialog { display: none !important; }
.pl-input {
    box-sizing: border-box;
    height: 40px;
    padding-left: 10px;
    padding-right: 10px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(5px);
    color: #fff;
    font-size: 14px;
    outline: none;
}
.pl-input::placeholder { color: rgba(255, 255, 255, 0.5); }
.pl-btn {
    height: 40px;
    padding: 0 14px;
    background: #409eff;
    border: none;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    white-space: nowrap;
}
.pl-btn:active { background: #337ecc; }
.pl-submit,
.RemindLogin-submit button {
    width: 70% !important;
    height: 42px !important;
    background: linear-gradient(135deg, #28b778, #1d9f63) !important;
    border: none !important;
    border-radius: 6px !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    letter-spacing: 4px !important;
}
.pl-submit:active,
.RemindLogin-submit button:active {
    background: linear-gradient(135deg, #1d9f63, #158a52) !important;
}
