.single-leg-stance-rating-and-score-section {
    padding: 0rem 7.5rem;
}

.rating-score-container {
    display: flex;
    gap: 3rem;
    align-items: stretch;
}

/* Rating Section */
.rating-section {
    flex: 0 0 auto;
}

.rating-box {
    background-color: #000000;
    border: 3px solid #555555;
    border-radius: 1rem;
    padding: 2rem 2rem;
    min-width: 20rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.rating-label {
    color: #FF6600;
    font-size: 2rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.rating-value {
    color: #ffffff;
    font-size: 12rem;
    font-family: 'Morganite-Black-2', Arial, sans-serif;
   
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Score Section */
.score-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-height: 20rem;
    align-items: flex-end;
}

.score-label {
    color: #FF6600;
    font-size: 2rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    align-self: flex-start; /* 左对齐 Score 标签 */
}

.score-value-container {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    width: 100%;
    justify-content: flex-end;
    margin-top: -6rem;
}

.score-number {
    color: #ffffff;
    font-size: 12rem;
    font-family: 'Morganite-Black-2', Arial, sans-serif;
   
    line-height: 1;
}

.score-unit {
    color: #ffffff;
    font-size: 3rem;
    font-family: 'HarmonyOS_Sans_SC_Light', Arial, sans-serif;
}

.progress-bar-container {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
    align-items: flex-end;
}

.progress-bar-track {
    display: grid;
    grid-template-columns: repeat(27, 1fr);
    gap: 2px;
    width: 100%;
    height: 3rem;
    border: 3px solid #272727;
    border-radius: 0.5rem;
    align-items: center;
}



.progress-segment.filled {
    background: #ff6600;
    height: 2rem;
    border-radius: 0.3rem;
}
.progress-text {
    color: #FF6600;
    font-size: 1.8rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    text-align: right;
}
.progress-text .progress-value {
    margin-right: 0.3rem;
    color: #ffffff;
}
.progress-text .progress-value-suffix {
    margin-right: 0.3rem;
    color: #ffffff;
}
.retest-button {
    background-color: #151515;
    border: 3px solid #FF6600;
    border-radius: 0.8rem;
    color: #FF6600;
    font-size: 2rem;
    font-family: 'HarmonyOS_Sans_SC_Bold', Arial, sans-serif;
    padding: 1rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: stretch; /* 占满与进度条相同的宽度 */
    width: 100%;
    text-align: center; /* 文本居中 */
    min-height: 6rem;
}