.weight-measurement-test-page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    display: none;
    flex-direction: column;
}

.weight-measurement-test-page.active {
    display: flex;
}

.weight-test-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 1rem;
    position: relative;
    z-index: 10;
    flex-shrink: 0;
}

.weight-test-back-button {
    background: #151515;
    border: 3px solid #5d2500;
    border-radius: 1rem;
    color: #FF6600;
    padding: 2rem 3rem;
    font-size: 2rem;
    cursor: pointer;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    min-width: 15rem;
    min-height: 5rem;
}

.weight-test-header-right {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.weight-test-help-button {
    background: #151515;
    border: 3px solid #5d2500;
    border-radius: 1rem;
    color: #FF6600;
    min-height: 5rem;
    min-width: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    padding: 2rem 3rem;
}

.weight-test-menu-button {
    background: #151515;
    border: 3px solid #5d2500;
    border-radius: 1rem;
    color: #FF6600;
    padding: 2rem 3rem;
    font-size: 2rem;
    cursor: pointer;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    min-width: 15rem;
    min-height: 5rem;
}

.weight-test-content {
    flex: 1;
    padding: 4rem 1.5rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    position: relative;
}

.weight-test-title-section {
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.weight-test-phase-title {
    margin-bottom: 2rem;
}

.weight-test-phase-text {
    color: #FF6600;
    font-size: 4rem;
    font-family: 'HarmonyOS_Sans_SC_Bold', Arial, sans-serif;
    margin-left: 6rem;
}

.weight-test-phase-underline {
    margin-left: 6rem;
    margin-bottom: 3rem;
}

.weight-test-underline-container {
    position: relative;
}

.weight-test-underline-line {
    width: 55rem;
    height: 2px;
    background-color: #272727;
    position: relative;
}

.weight-test-underline-line::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 33.33%;
    height: 100%;
    background-color: #FF6600;
}

.weight-test-underline-arrow {
    color: #FF6600;
    font-size: 2rem;
    position: absolute;
    left: 33.33%;
    top: -2.5rem;
    transform: translateX(-50%);
}

.weight-test-main-title {
    color: #FF6600;
    font-size: 3.5rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    margin-bottom: 2rem;
    margin-left: 6rem;
}

.weight-test-main-text {
    color: #ffffff;
    font-size: 3.5rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    margin: 0;
    line-height: 1.2;
    margin-left: 6rem;
    margin-bottom: 15rem;
}

.weight-test-bottom-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-image: url('../image/img12.png');
    background-size: contain;
    margin-left: 4.5rem;
    background-repeat: no-repeat;
    margin-bottom: 10rem;
}

.weight-test-bottom-image > div {
    text-align: center;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.weight-test-bottom-image > div > span:first-child {
    color: #ffffff;
    font-size: 20rem;
    font-family: 'Morganite-Black-2', Arial, sans-serif;
    line-height: 1;
    margin: 0;
}

.weight-test-bottom-image > div > span:last-child {
    color: #ffffff;
    font-size: 5rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
}

.weight-test-bottom-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* 弹窗出现时，禁用 Back 和 Menu 按钮的点击，只保留 help 按钮可点击 */
.weight-measurement-test-page.modal-active .weight-test-back-button,
.weight-measurement-test-page.modal-active .weight-test-menu-button {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

.weight-measurement-test-page.modal-active .weight-test-help-button {
    pointer-events: auto;
    position: relative;
    z-index: 10002;
    /* 高亮效果 */
    border-color: #FF6600;
    box-shadow: 0 0 1.5rem rgba(255, 102, 0, 0.6), 0 0 3rem rgba(255, 102, 0, 0.4);
}