@import url(common.css);
/*******************背景图定位*****************/
/* .qsbjt{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #f8f8f8;
    z-index: -1;
} */
/*******************气泡*****************/
.bubble{
    width: 92%;
    margin: 0 auto;
    padding: 0.5rem 0;
}

.bubble h5{
    font-size: 0.65rem;
    color: #333;
}
.wioax{
    position: relative;
    width: 100%;
    padding-top: 4.6rem;
}
.tuppxa{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.jhoihdsa{
    color: #3575f9;
    font-size: 0.5rem;
    text-align: center;
}

.jhoihdsa span{
    color: #3575f9;
    font-size: 0.7rem;    
    margin-left: 0.3rem;
    font-weight: 700;
}

.qiutid1{
    position: absolute;
    left: 0.4rem;
    top: 0.6rem;
    animation: qiutid1 5s linear infinite;
    width: 2rem;
    height: 2rem;
    text-align: center;
    line-height: 2rem;
    color: #3674fb;
    font-size: 0.85rem;
    border-radius: 2rem;
    background: radial-gradient(circle at center, #fcfdff, #aec9fe);
}

@keyframes qiutid1 {
    0%{
        transform: translateY(0); 
    }
    25%{
        transform: translateY(0.4rem); 
    }
    50%{
        transform: translateY(0.6rem);  
    }
    75%{
        transform: translateY(0.4rem);  
    }
    100%{
        transform: translateY(0); 
    }
}

.qiutid2{
    position: absolute;
    left: 3.4rem;
    top: 2rem;
    animation: qiutid2 5s linear infinite;
    width: 1.6rem;
    height: 1.6rem;
    text-align: center;
    line-height: 1.6rem;
    color: #3674fb;
    font-size: 0.7rem;
    border-radius: 2rem;
    background: radial-gradient(circle at center, #fcfdff, #aec9fe);
}

@keyframes qiutid2 {
    0%{
        transform: translateY(0); 
    }
    25%{
        transform: translateY(-0.2rem); 
    }
    50%{
        transform: translateY(-0.4rem);  
    }
    75%{
        transform: translateY(-0.2rem);  
    }
    100%{
        transform: translateY(0); 
    }
}

.qiutid3{
    position: absolute;
    left: 5.5rem;
    top: 0.6rem;
    animation: qiutid1 4s linear infinite;
    width: 2rem;
    height: 2rem;
    text-align: center;
    line-height: 2rem;
    color: #3674fb;
    font-size: 0.85rem;
    border-radius: 2rem;
    background: radial-gradient(circle at center, #fcfdff, #aec9fe);
}

@keyframes qiutid3 {
    0%{
        transform: translateY(0); 
    }
    25%{
        transform: translateY(0.5rem); 
    }
    50%{
        transform: translateY(0.7rem);  
    }
    75%{
        transform: translateY(0.5rem);  
    }
    100%{
        transform: translateY(0); 
    }
}

.qiutid4{
    position: absolute;
    left: 8rem;
    top: 1.9rem;
    animation: qiutid4 7s linear infinite;
    width: 2.4rem;
    height: 2.4rem;
    text-align: center;
    line-height: 2.4rem;
    color: #3674fb;
    font-size: 0.95rem;
    border-radius: 2rem;
    background: radial-gradient(circle at center, #fcfdff, #ffd700);
}

@keyframes qiutid4 {
    0%{
        transform: translateY(0); 
    }
    25%{
        transform: translateY(-0.5rem); 
    }
    50%{
        transform: translateY(-0.7rem);  
    }
    75%{
        transform: translateY(-0.5rem);  
    }
    100%{
        transform: translateY(0); 
    }
}


.qiutid5{
    position: absolute;
    right: 1rem;
    top: 0.6rem;
    animation: qiutid5 4s linear infinite;
    width: 2rem;
    height: 2rem;
    text-align: center;
    line-height: 2rem;
    color: #3674fb;
    font-size: 0.85rem;
    border-radius: 2rem;
    background: radial-gradient(circle at center, #fcfdff, #aec9fe);
}

@keyframes qiutid5 {
    0%{
        transform: translateY(0); 
    }
    25%{
        transform: translateY(0.45rem); 
    }
    50%{
        transform: translateY(0.65rem);  
    }
    75%{
        transform: translateY(0.45rem);  
    }
    100%{
        transform: translateY(0); 
    }
}
/********************看视频**********************/
.ksod{
    width: 7rem;
    height: 7rem;
    margin: 0.5rem auto;
    background-color: red;
    color: #fff;
    text-align: center;
    font-size: 0.65rem;
    line-height: 7rem;
    border-radius: 7rem;
}

.djtime{
    display: none;
    width: 7rem;
    height: 7rem;
    margin: 0.5rem auto;
    background-color: #3674fb;
    color: #fff;
    text-align: center;
    font-size: 0.7rem;
    border-radius: 7rem;
}

.djtime h5{
    font-weight: 500; 
    padding-top: 2rem;
}
.djtime .heixa{
    width: 3.6rem;
    height: 1px;
    background-color: #fff;
    margin: 0.4rem auto;
}
/*******************************今日行情*************************/
.conditions{
    width: 96%;
    margin: 0 auto;
    margin-top: 0.8rem;
    background-color: #fff;
    border-radius: 0.3rem;
    padding: 0.4rem 0 1.4rem 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.conditions h5{
    font-size: 0.65rem;
    color: #333;
    width: 94%;
    margin: 0 auto;
}


/********统计图**********/
.tongjitu {
    width: 94%;
    margin: 0 auto;
    position: relative;
    height: 200px;
    padding-bottom: 20px;
    margin-top: 0.6rem;
}

.chart-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-top: 30px;
    position: relative;
}

.chart-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 12%;
    height: 100%;
}

.chart-bar {
    width: 70%;
    background: linear-gradient(to top, #3674fb, #4d8aff);
    border-radius: 4px 4px 0 0;
    position: relative;
    transition: height 0.5s ease;
    box-shadow: 0 2px 5px rgba(54, 116, 251, 0.2);
}

.chart-bar:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(54, 116, 251, 0.3);
}

.chart-value {
    position: absolute;
    top: -25px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 0.55rem;
    color: #3674fb;
    font-weight: 600;
}

.chart-label {
    margin-top: 8px;
    font-size: 0.55rem;
    color: #666;
    text-align: center;
}

.chart-title {
    text-align: center;
    font-size: 0.7rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.chart-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: -1;
    pointer-events: none;
}

.grid-line {
    width: 100%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.05);
}

.y-axis-label {
    position: absolute;
    left: -30px;
    font-size: 0.5rem;
    color: #999;
}

.chart-legend {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    font-size: 0.6rem;
}

.legend-item {
    display: flex;
    align-items: center;
    margin: 0 10px;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    margin-right: 5px;
}

.legend-1 {
    background: linear-gradient(to top, #3674fb, #4d8aff);
}

.legend-2 {
    background: linear-gradient(to top, #ff6b6b, #ff8e8e);
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    .tongjitu {
        height: 180px;
    }
    
    .chart-label {
        font-size: 0.5rem;
    }
    
    .chart-value {
        font-size: 0.5rem;
        top: -22px;
    }
}

@media screen and (max-width: 480px) {
    .tongjitu {
        height: 160px;
    }
    
    .chart-title {
        font-size: 0.65rem;
    }
    
    .chart-label {
        font-size: 0.45rem;
    }
    
    .chart-value {
        font-size: 0.45rem;
        top: -20px;
    }
}

/*******************************记录*************************/
.kanshipd{
    width: 96%;
    margin: 0 auto;
    margin-top: 0.8rem;
    background-color: #fff;
    border-radius: 0.3rem;
    padding: 0.4rem 0 1rem 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.kanshipd .bitida{
    font-size: 0.65rem;
    color: #333;
    width: 94%;
    margin: 0 auto;
}

.kanshipd ul{
    width: 94%;
    margin: 0 auto;
    margin-top: 0.3rem;
}

.kanshipd ul li{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-bottom: 1px solid rgb(241, 241, 241);
    padding: 0.6rem 0;
}

.kanshipd ul li h5{
    font-size: 0.6rem;
    font-weight: 500;
    color: #333;
}

.kanshipd ul li p{
    font-size: 0.55rem;
    color: rgb(114, 114, 114);
    margin-top: 0.3rem;
}

.kanshipd ul li .jiada{
    font-size: 0.7rem;
    color: #333;
}


/***********************弹窗***********************/
.jieshua{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(3, 3, 3,0.5);
    z-index: 999;
}

.jieshua .shipda{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 70%;
    background-color: #fff;
    border-radius: 0.4rem;
}

.jieshua .shipda .quedia{
    font-size: 0.7rem;
    text-align: center;
    line-height: 1.6rem;
}