body {
    font-family: Arial, sans-serif;
    background-color: #FCFDFE;
    margin: 0;
    padding: 0 0 60px;
}
.des_header {
    padding: 10px;
    position: relative;
    text-align: center;
    line-height: 30px;
    height: 50px;
}
.des_header .title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 96%;
}

.des_header .back-button {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    padding: 0;
}

.des_header .back-button::before {
    content: '';
    display: block;
    background-image: url('./../icon/back.png');
    background-size: cover;
    width: 100%;
    height: 100%;
}

.des_header .title {
    margin: 0;
    font-size: 1rem;
    padding: 0 10px;
    white-space: nowrap;
    font-weight: bold;
}

.des_chart {
    text-align: center;
    border-radius: 5px;
    width: 96%;
    height: auto;
    margin-right: 2%;
    margin-left: 2%;
    overflow: hidden;
}

.des_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    height: auto;
    overflow: hidden;
    border-radius: 5px;
    margin-left: 10px;
    margin-right: 10px;
}

.des_card {
    background-color: #fff;
    border-radius: 5px;
    padding: 20px;
    flex: 1 1 calc(33.333% - 40px);
    box-sizing: border-box;
}

.des_card h3 {
    margin-top: 0;
}

.des_card p {
    margin: 5px 0;
    display: flex;
    justify-content: space-between;
}

.des_card .des_label {
    text-align: left;
}

.des_card .des_value {
    text-align: right;
}

@media (max-width: 768px) {
    .des_card {
        flex: 1 1 calc(50% - 40px);
    }
}

@media (max-width: 480px) {
    .des_card {
        flex: 1 1 100%;
    }
}

.des_floating-buttons {
    position: fixed;
    right: 20px;
    top: 60%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10000;
    /* 新增过渡属性 */
    transition: opacity 0.3s ease, transform 0.4s ease;
    opacity: 1;
    pointer-events: auto;
}

.des_floating-buttons.hide {
    opacity: 0;
    pointer-events: none;
    /* 保持原有定位基础上添加位移 */
    transform: translateY(calc(-50% + 20px));
}

.des_floating-buttons button {
    width: 35px;
    height: 35px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    background-color: #FCFDFE;
    /* 添加按钮过渡效果 */
    transition: background-color 0.2s ease;
}

.des_floating-buttons button:hover {
    background-color: #F0F0F0;
}

.back_f {
    background-image: url('./../icon/back.png'); /* 确保路径正确 */
    background-size: cover; /* 确保图片覆盖整个按钮 */
    background-repeat: no-repeat; /* 防止图片重复 */
    background-position: center; /* 将图片定位到按钮中心 */
    color: transparent; /* 隐藏按钮文本 */
}
.analysis_f{
    background-image: url('./../icon/analysis.png'); /* 确保路径正确 */
    background-size: cover; /* 确保图片覆盖整个按钮 */
    background-repeat: no-repeat; /* 防止图片重复 */
    background-position: center; /* 将图片定位到按钮中心 */
    color: transparent; /* 隐藏按钮文本 */
}
.collect{
    background-image: url('./../icon/collect.png'); /* 确保路径正确 */
    background-size: cover; /* 确保图片覆盖整个按钮 */
    background-repeat: no-repeat; /* 防止图片重复 */
    background-position: center; /* 将图片定位到按钮中心 */
    color: transparent; /* 隐藏按钮文本 */
}
.un_collect{
    background-image: url('./../icon/un_collect.png'); /* 确保路径正确 */
    background-size: cover; /* 确保图片覆盖整个按钮 */
    background-repeat: no-repeat; /* 防止图片重复 */
    background-position: center; /* 将图片定位到按钮中心 */
    color: transparent; /* 隐藏按钮文本 */
}
.turn_off{
    background-image: url('./../icon/turn_y_off.png'); /* 确保路径正确 */
    background-size: cover; /* 确保图片覆盖整个按钮 */
    background-repeat: no-repeat; /* 防止图片重复 */
    background-position: center; /* 将图片定位到按钮中心 */
    color: transparent; /* 隐藏按钮文本 */
}
.turn_on{
    background-image: url('./../icon/turn_y_on.png'); /* 确保路径正确 */
    background-size: cover; /* 确保图片覆盖整个按钮 */
    background-repeat: no-repeat; /* 防止图片重复 */
    background-position: center; /* 将图片定位到按钮中心 */
    color: transparent; /* 隐藏按钮文本 */
}

.restart{
    background-image: url('./../icon/restart.png'); /* 确保路径正确 */
    background-size: cover; /* 确保图片覆盖整个按钮 */
    background-repeat: no-repeat; /* 防止图片重复 */
    background-position: center; /* 将图片定位到按钮中心 */
    color: transparent; /* 隐藏按钮文本 */
}
.span_p{
    display: none;
    width: 100%;
    height: auto;
    background-color: #ffffff;
    border-radius: 8px;
    color: #354356;
    padding: 20px;
    margin-top: 10px
}

.des_tab_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #f8f8f8;
    border-radius: 10px;
    margin-left: 10px;
    margin-right: 10px;
}
.des_item {
    text-align: center;
    flex: 1;
}
.des_item:not(:last-child) {
    margin-right: 10px;
}
.des_label {
    display: block;
    font-size: 0.9rem;
    color: #5f707d;
}
.des_val {
    font-size: 0.9rem;
    color: #2ecc71;
    font-weight: 600;
}
.des_r_val {
    font-size: 0.8rem;
    font-weight: 600;
    color: #EA3943;
}
.des_val span {
    display: inline-block;
    transform: translateY(-1px);
}

.tab_info {
    display: flex;
    flex-direction: column;
}
.tab_title {
    display: flex;
    align-items: center;
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
}
.tab_rank {
    font-size: 12px;
    color: #999;
    background-color: #f0f0f0;
    padding: 2px 5px;
    border-radius: 5px;
    margin-left: 5px;
}
.tab_price {
    font-size: 32px;
    color: #4a2f2f;
    margin-bottom: 5px;
}
.tab_subinfo {
    font-size: 14px;
    color: #999;
}
.tab_actions {
    display: flex;
    align-items: center;
}
.tab_notification {
    background-color: #f0f0f0;
    padding: 8px;
    border-radius: 50%;
    margin-right: 10px;
    cursor: pointer;
}
.tab_growth {
    background-color: #2ecc71;
    color: white;
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 15px;
    font-size: 1rem;
    line-height: 1.5rem;
    height: 1.5rem;
    text-align: center;
}
.tab_growth_red {
    background-color: #EA3943;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 14px;
}


