.hkplayer-error {
    background: $errorBgColor;
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1200;
    font-family: PingFangSC-Regular;
    font-size: 14px;
    color: $errorColor;
    text-align: center;
    line-height: 100%;
    justify-content: center;
    align-items: center;

    .hkplayer-error-refresh {
        color: $errorRefreshColor;
        padding: 0 3px;
        cursor: pointer;
    }

    @at-root .hkplayer-is-error & {
        display: flex;
    }

    .hkplayer-error-text {
        line-height: 18px;
        margin: auto 6px;
    }
}