/*(1)清除默认样式*/
html, body, ul, li, ol, dl, dd, dt, p, h1, h2, h3, h4, h5, h6, form, fieldset, legend, img,input{ margin:0; padding:0; }
fieldset, img,input,button { border:0 none; padding:0;margin:0;outline-style:none; }   /*去掉input等聚焦时的蓝色边框*/
ul,li,ol{ list-style:none; }
select, input { vertical-align:middle;}
textarea { resize:none; } /*防止拖动*/
img {border:0; vertical-align:middle; }
a {text-decoration:none; }
h1,h2,h3,h4,h5,h6 {font-weight:normal;font-size:1em;}  /*设置h标签的大小，设置跟父亲一样大的字体font-size:100%;*/
s,i,em{font-style:normal;text-decoration:none;}

::-webkit-scrollbar {
    width: 6px;
    height: 0px;
}
::-webkit-scrollbar-track{
    background-color: transparent;
}
::-webkit-scrollbar-thumb{
    border-radius: 3px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #E8E8E8;
}

::-webkit-scrollbar-button {
    background-color: transparent;
}

::-webkit-scrollbar-corner {
    background:khaki;
}

.fl {
    float:left;
}
.fr {
    float:right;
}
.ac {
    text-align:center;
}
.f12{ font-size: 12px;}
.f14{ font-size: 14px;}
.f16{ font-size: 16px;}

.clearfix::after {
    content: "";
    display: block;
    height: 0px;
    clear: both;
    overflow: hidden;
    visibility: hidden;
}

html {
    overflow: hidden;
    height: 100%;
}
body {
    margin: 0px;
    height: 100%;
}
#app {
    width: 100%;
    height: 100%;
    background: #0A2842;
}
#app .header {
    width: 100%;
    height: 60px;
    background-image: url(../images/bg/top_bg.png);
    background-repeat: no-repeat;
    background-size: cover;
}
#app .header .header-content {
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#app .header .header-content .left  {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

#app .header .header-content .left .pic img {
    max-width: 260px;
    margin-top: 3px;
}
#app .header .header-content .left .pk {
    min-width: 300px;
    height: 36px;
    font-size: 18px;
    line-height:32px;
    color:#001400;
}

#app .header .header-content .right .login{
    display: inline-block;
    width: 72px;
    line-height: 26px;
    text-align: center;
    font-size: 14px;
    background: #FFFFFF;
    color: #103758;
    font-family: PingFangSC-Regular;
    border-radius: 100px;
    padding: 4px 14px;
    cursor: pointer;
}

#app .main {
    width: 100%;
    height: calc(100% - 60px);
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
#app .main .main-left {
    height: 100%;
    width: 20%;
    background-image: url("../images/bg/left_bg.png");
    background-repeat: no-repeat;
    background-size: cover;
}
#app .main .main-left .main-left-1 {
    line-height: 47px;
    font-size: 16px;
    letter-spacing: 0px;
    color: #FFF;
    padding-left:16px;
    background: linear-gradient(90.00deg, rgb(0, 114, 255),rgb(0, 114, 255));
    border-right: 2px solid rgb(255, 255, 255);
}
#app .main .main-left .main-left-2 {
    overflow: hidden;
    height: 100%;
    /*height: calc(100% - 47px);*/
}
#app .main .main-left .main-left-2 .stock-index {
    overflow: hidden;
    padding: 0 16px 0 16px;
}
#app .main .main-left .main-left-2 .stock-index .index-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    padding-top: 10px;
}
#app .main .main-left .main-left-2 .stock-index .index-item:first-child {
    padding-top: 0;
}
#app .main .main-left .main-left-2 .stock-index .index-item:last-child {
    border: unset;
}
#app .main .main-left .main-left-2 .stock-index .index-item span {
    display: inline-block;
    white-space: nowrap;
}
#app .main .main-left .main-left-2 .stock-index .index-item .index-name {
    font-family: PingFangSC-Regular;
    font-size: 14px;
    font-weight: 300;
    line-height: 24px;
    letter-spacing: 0px;
    color: #FFFFFF;
    width: 40%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
#app .main .main-left .main-left-2 .stock-index .index-item .index-num {
    font-family: PingFangSC-Regular;
    font-size: 14px;
    font-weight: 300;
    line-height: 24px;
    letter-spacing: 0px;
    z-index: 1;
    width: 33%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
#app .main .main-left .main-left-2 .stock-index .index-item .index-parent {
    font-family: PingFangSC-Regular;
    font-size: 14px;
    font-weight: 300;
    line-height: 24px;
    letter-spacing: 0px;
    color: #FFFFFF;
    border-radius: 4px;
    padding-left: 4px;
    padding-right: 4px;
    width: 60px;
    text-align: center;
}
#app .main .main-left .main-left-2 .stock-index .index-item .index-bg-down {
    background-color: #FA2714;
}
#app .main .main-left .main-left-2 .stock-index .index-item .index-bg-up {
    background-color: #097714;
}
#app .main .main-left .main-left-2 .stock-index .index-item .index-text-up {
    color: #097714!important;
}
#app .main .main-left .main-left-2 .stock-index .index-item .index-text-down {
    color: #FA2714!important;
}
#app .main .main-left .main-left-2 .advise {
    padding: 16px 16px 0 16px;
}
#app .main .main-left .main-left-2 .advise .advise-item {
    height: 36px;
    box-sizing: border-box;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 400;
    line-height: 16.8px;
    letter-spacing: 0px;
    color: #FFFFFF;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    cursor: pointer;
    background: linear-gradient(90.00deg, rgb(0, 114, 255),rgba(0, 114, 255, 0));
}
#app .main .main-left .main-left-2 .advise .advise-item .advise-type {
    margin-left: 12px;
}
#app .main .main-left .main-left-2 .advise .advise-item .advise-arrow {
    width: 6px;
    height: 6px;
    background-color: transparent; /* 模块背景为透明 */
    border-color: #FFFFFF;
    border-style: solid;
    border-width: 2px 2px 0 0;
    transform: rotate(45deg); /*箭头方向可以自由切换角度*/
    margin-right: 12px;
}
#app .main .main-left .main-left-2 .dragon {
    /*height: calc(100% - 295px);*/
    height: calc(100% - 230px);
    /*background-image: url("../images/bg/left_bottom_bg.png");*/
    /*background-repeat: no-repeat;*/
    /*background-size: 85%;*/
    /*background-position: 50% 75%;*/
    /*filter: opacity(95%); !* 设置透明度 *!*/
}
#app .main .main-left .main-left-2 #left-banner{
    height: 160px;
    text-align: center;
    background: rgb(20, 73, 117);
}
.layui-carousel>[carousel-item]>* {
    background: none;
}
#app .main .main-left .main-left-2 #left-banner img{
    height: 100%;
    width:  calc(100% - 20px);
    border-radius: 5px;
}

#app .main .main-midd {
    height: 100%;
    width: 55%;
    padding-top:50px;
    padding-left:40px;
}
#app .main .main-midd .main-midd-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 68px 12px 16px;
}
#app .main .main-midd .main-midd-header span {
    display: inline-block;
    white-space: nowrap;
}
#app .main .main-midd .main-midd-header .left {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
#app .main .main-midd .main-midd-header .left .main-talk {
    margin-right: 24px;
}
#app .main .main-midd .main-midd-header .left .current-people .icon-touxiang {
    margin-right: 7px;
}

#app .main .main-midd .main-midd-header .key {
    font-family: PingFangSC-Regular;
    font-weight: 400;
    font-size: 14px;
    color: rgba(255,255,255, 0.8)
}
#app .main .main-midd .main-midd-header .value {
    font-family: PingFangSC-Regular;
    font-weight: 500;
    font-size: 14px;
    color: rgba(255,255,255, 0.8)
}

#app .main .main-midd .video-part {
    padding: 0 0 0 16px;
    display: flex;
    justify-content: space-between;
    aspect-ratio: 16/9;  /* 宽高比为 16:9 */
}
#app .main .main-midd .video-part .video {
    flex: 1;
    height: 100%;
    background: url(../images/bg/live_bg.png) no-repeat;
    background-size: 100% 100%;
    border-radius: 12px;
}
#app .main .main-midd .video-part .video-right {
    width: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
#app .main .main-midd .video-part .video-right .video-right-top,.video-right-bottom {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}
#app .main .main-midd .video-part .video-right .video-right-item {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    color: #FFFFFF;
    padding: 4px 8px;
}
#app .main .main-midd .video-part .video-right .video-right-big-item {
    width: 56px!important;
    height: 60px!important;
}
#app .main .main-midd .video-part .video-right .video-right-item .video-block-pic {
    width: 48px;
    height: 48px;
    padding: 5px;
    border-radius: 50%;
    background: #DDDDDD;
    box-sizing: border-box;
}
#app .main .main-midd .video-part .video-right .video-right-item .video-block-pic img {
    width: 100%;
    height: 100%;
}
#app .main .main-midd .video-part .video-right .video-right-item .video-block-text {
    font-size: 12px;
    letter-spacing: 0;
    text-align: center;
    line-height: 12px;
    font-weight: normal;
    color: #FFFFFF;
    margin-top: 3px;
}

.badge-box {
    position: relative; /* 关键：为徽章提供定位基准 */
    display: inline-block; /* 保持容器与图片大小一致 */
}

.badge {
    position: absolute;
    top: -5px;       /* 向上偏移一半高度，使其一半在图片外 */
    right: -5px;     /* 向右偏移一半宽度，使其一半在图片外 */

    /* 圆形和颜色 */
    width: 20px;
    height: 20px;
    background: red;
    border-radius: 50%;

    /* 文字居中 */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: bold;

    /* 可选：增加阴影提升立体感 */
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

#app .main .main-midd .main-midd-notice {
    overflow: hidden;
    margin-top: 10px;
    margin-right: 100px;
    margin-left: 16px;
    backdrop-filter: blur(30px);
    height: calc(100% - 33px - 423px - 144px);
    box-sizing: border-box;
    border-radius: 12px 12px 0 0;
    background: #144975;
}
#app .main .main-midd .main-midd-notice .notice-header {
    font-family: PingFangSC-Regular;
    font-size: 16px;
    font-weight: 500;
    line-height: 38px;
    letter-spacing: 0px;
    color: #FFF;
    height: 38px;
    padding-left: 16px;
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
    background: linear-gradient(90.00deg, rgb(0, 114, 255),rgb(0, 114, 255),rgb(255, 255, 255));
    border-bottom: 1px solid rgb(255, 255, 255);
}
#app .main .main-midd .main-midd-notice p {
    padding: 10px;
    font-family: PingFangSC-Regular;
    font-size: 14px;
    font-weight: 200;
    line-height: 19px;
    letter-spacing: 0px;
    color: rgba(255,255,255,0.6);
    overflow-y: auto;
}
@media screen and ( max-height:800px ) {
    #app .main .main-midd .main-midd-notice p {
        max-height: 20px;
    }
}
@media screen and ( max-height:900px ) {
    #app .main .main-midd .main-midd-notice p {
        max-height: 40px;
    }
}
@media screen and ( max-height:950px ) {
    #app .main .main-midd .main-midd-notice p {
        max-height: 100px;
    }
}


#app .main .main-right {
    height: 100%;
    width: 25%;
    box-sizing: border-box;
    border-top: 1px solid #1A2F6A;
    border-left: 1px solid #1A2F6A;
    border-radius: 10px 0 0 0;
    background: #000820;
}

#app .main .main-right .tab-header {
    height: 44px;
    width: 100%;
    opacity: 1;
    color: #FFF;
    background: linear-gradient(90.00deg, rgb(0, 114, 255),rgb(0, 114, 255));
    border-left: 2px solid rgb(255, 255, 255);
}
#app .main .main-right .tab-header .tab-item {
    margin-left: 16px;
    display: inline-block;
    white-space: nowrap;
    font-family: PingFangSC-Regular;
    font-size: 14px;
    font-weight: normal;
    line-height: 44px;
    letter-spacing: 0px;
    box-sizing: border-box;
    cursor: pointer;
}

#app .main .main-right .tab-box {
    width: 100%;
}

#app .main .main-right .leave-message {
    padding: 16px;
    height: calc(100% - 44px);
    background: rgb(20, 73, 117);
}

#app .main .main-right .tab-sharing {
    padding: 16px;
    height: calc(100% - 44px);
    background: rgb(20, 73, 117);
}

#scrollChat{
    width: 24%;
}

#app .main .main-right .leave-message .message-send {
    position:absolute;
    right: 0;
    bottom:0;
    height: 36px;
    width: 25%;
}
#app .main .main-right .leave-message .message-send .me {
    margin-left:5px;
    float: left;
}
#app .main .main-right .leave-message .touxiang {
    overflow: hidden;
}
#app .main .main-right .leave-message .message-send .me img {
    overflow: hidden;
    vertical-align: middle;
    width: 30px;
    height: 30px;
    border-radius: 100%;
    border:1px solid #999999;background: #FFF;
}
#app .main .main-right .leave-message .message-send .send-btn {
    float: left;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

#app .main .main-right .leave-message .message-send .send-btn img {
    width: 100%;
}
#app .main .main-right .leave-message .message-send .input-box {
    float: left;
    flex: 1;
    width: calc(100% - 90px);
    height: 30px;
    margin: 0 6px;
    box-sizing: border-box;
    position: relative;
}

#app .main .main-right .leave-message .message-send .input-box .input-item {
    width: 100%;
    height: 32px;
    background-color: #fff;
    border-radius: 4px;
    padding: 0 32px 0 8px;
    font-size: 14px;
    box-sizing: border-box;
}
#app .main .main-right .leave-message .message-send .input-box .smile {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    background: url('../images/smile.svg') center;
}

.message-send .editinput .adiv {float:left; display:inline-block; height:100%; width:100%; box-sizing:border-box;-moz-box-sizing:border-box; -webkit-box-sizing:border-box; border-radius: 5px 0px 0px 5px;}
.message-send .editinput .sendbtn {float:right; display:inline-block;  display:flex; justify-content:center; align-items:center; padding:5px 50px;background:#5486F1; color:#FFF; font-size:14px; border-radius: 5px;margin-top:10px;}
.message-send .editinput .ctextarea {box-sizing:border-box;-moz-box-sizing:border-box; -webkit-box-sizing:border-box; border-radius: 5px;cursor: pointer;height:100%; ;resize: none;width: 100%;margin: 0; padding:5px; color: #000000;line-height: 18px;font-size: 14px;font-weight:normal;overflow: auto; background-color:#FFF;white-space: normal; word-break: break-all; -webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;}
.message-send .editinput .ctextarea:focus {outline: none;}
.message-send .editinput .ctextarea:empty:before{ position: absolute; left:10px; font-size:14px; color: gray; }
.message-send .editinput .ctextarea:focus:before{ content:'';}
.message-send .editinput .read-write-plaintext-only { -webkit-user-modify: read-write-plaintext-only; }
.message-send .no-chat-shade{ display:block; position: relative;  background:rgba(0,0,0,0.3); z-index:100; left:0; right:0; height: 60px;}
.message-send .no-chat-div{ color:#FFFFFF; font-size:14px; }

.shortcut-send {
    position: absolute;
    top: -35px;
    left: 5px;
}
.shortcut-send a { margin-left:5px; margin-right: 5px; }


@media screen and ( max-width:1920px ) {
    #app .main .main-left{ width:20%;}
    #app .main .main-midd{width:55%}
    #app .main .main-right{width:25%}
    #scrollChat{width:24%}
    #app .main .main-right .leave-message .message-send{width:24%}
}

@media screen and ( max-width:1800px ) {
    #app .main .main-left{ width:20%;}
    #app .main .main-midd{width:55%}
    #app .main .main-right{width:25%}
    #scrollChat{width:24%}
    #app .main .main-right .leave-message .message-send{width:24%}
    #app .hq_area .hq_data li{font-size:12px}
    #app .main .main-left .content .quick-tool-area .quick-tool{padding:0px}
    #app .layui-col-space10>*{padding: 0px 5px 5px 5px;}
    #app .main .main-left .content .quick-tool-area .quick-tool a.btnHandan::after{display:none}
}
@media screen and ( max-width:1600px ) {
    #app .main .main-left{ display: none;}
    #app .main .main-midd{ width:70%;}
    #app .main .main-right{ width:30%;}
    #scrollChat{width:29%}
    #app .main .main-right .leave-message .message-send{width:29%}
    #app .NoticeMarquee .NoticeTitle{ width:20%}
    #app .NoticeMarquee .NoticeMain{ width:80%}
    #app .main .main-left .content03 .quick-tool-area .quick-tool a span img{ width:35px; height:35px;}
}
@media screen and ( max-width:1200px ) {
    .layui-layer-setwin .layui-layer-close2 {
        right: -20px !important;
        top: -20px !important;
    }
}
@media screen and ( max-width:1024px ) {
    #app .main .main-left{ display:none;}
    #app .main .main-midd {width: 100%;}
    #app .main .main-right {display:none;}
    #app .top_left a:nth-child(n+2){ display:none;}
    #app .lay-top .top_left{width:55%}
    #app .lay-top .top_right{width: 45%;}
}
@media screen and ( max-width:700px ) {
    #app .main .main-left{ display:none;}
    #app .main .main-midd {width: 100%;}
    #app .main .main-right {display:none;}
    #app .lay-top .top_right{display:none;}
    #app .lay-top .top_right{width: 45%;}
    .vedio-stop .focus {width: 150px; height: 50px;}
}
