.bioelectric-impedance-tips-page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.bioelectric-impedance-tips-page.active {
    display: flex;
}

.bioelectric-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.bioelectric-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.35);
}

.bioelectric-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 1rem;
    position: relative;
    z-index: 10001;
    flex-shrink: 0;
}

.bioelectric-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;
}

.bioelectric-header-right {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.bioelectric-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;
}

.bioelectric-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;
}

.bioelectric-page-content {
    flex: 1;
    padding: 4rem 1.5rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    position: relative;
    z-index: 2;
}

.bioelectric-title-section {
    margin-top: 3rem;
    margin-bottom: 6rem;
}

.bioelectric-phase-title {
    margin-bottom: 2rem;
}

.bioelectric-phase-text {
    color: #FF6600;
    font-size: 4rem;
    font-family: 'HarmonyOS_Sans_SC_Bold', Arial, sans-serif;
    margin-left: 6rem;
}

.bioelectric-phase-underline {
    margin-left: 6rem;
    margin-bottom: 3rem;
}

.bioelectric-underline-container {
    position: relative;
}

.bioelectric-underline-line {
    width: 55rem;
    height: 2px;
    background-color: #272727;
    position: relative;
}

.bioelectric-underline-line::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 66.66%;
    height: 100%;
    background-color: #FF6600;
}

.bioelectric-underline-arrow {
    color: #FF6600;
    font-size: 2rem;
    position: absolute;
    left: 66.66%;
    top: -2.5rem;
    transform: translateX(-50%);
}

.bioelectric-main-title {
    color: #FF6600;
    font-size: 3.5rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    margin-bottom: 2rem;
    margin-left: 6rem;
}

.bioelectric-instruction {
    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: 1rem;
}

.bioelectric-bottom-image {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-top: 6rem;
}

.bioelectric-bottom-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* 弹窗出现时，禁用 Back 和 Menu 按钮的点击，只保留 help 按钮可点击 */
.bioelectric-impedance-tips-page.modal-active .bioelectric-back-button,
.bioelectric-impedance-tips-page.modal-active .bioelectric-menu-button {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

.bioelectric-impedance-tips-page.modal-active .bioelectric-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);
    background-color: #1a1a1a;
    animation: bioelectric-help-button-pulse 2s ease-in-out infinite;
}

@keyframes bioelectric-help-button-pulse {
    0%, 100% {
        box-shadow: 0 0 1.5rem rgba(255, 102, 0, 0.6), 0 0 3rem rgba(255, 102, 0, 0.4);
    }
    50% {
        box-shadow: 0 0 2rem rgba(255, 102, 0, 0.8), 0 0 4rem rgba(255, 102, 0, 0.6);
    }
}