body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #fafafa;
    color: #222;
}

#sorry-screen {
    position: fixed;
    inset: 0;

    background: #fafafa;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 9999;
}

.sorry-content {
    text-align: center;
}

.sorry-text {
    font-size: clamp(80px, 15vw, 200px);
    font-weight: 700;

    color: #222;

    animation: sorry-pop 0.8s ease;
}

.sorry-subtext {
    margin-top: 20px;

    font-size: 22px;
    color: #777;

    opacity: 0;

    animation: sorry-subtext 1s ease 0.8s forwards;
}


/* 对不起出现动画 */

@keyframes sorry-pop {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    70% {
        transform: scale(1.08);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}


/* 我错了出现动画 */

@keyframes sorry-subtext {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ORZ */

.kowtow {
    position: relative;

    width: 280px;
    height: 170px;

    margin: 25px auto 10px;
}


/* ORZ body */

.orz-body {
    position: absolute;

    width: 260px;
    height: 140px;

    left: 10px;
    top: 20px;

    overflow: visible;

    transform: scaleX(-1);
    transform-origin: center;
}


/* Head */

.kowtow-head {
    position: absolute;

    width: 90px;

    right: 40px;
    top: -35px;

    z-index: 5;

    transform-origin: 25% 80%;

    animation: kowtow-head 1.3s ease-in-out infinite;
}

.kowtow-head img {
    width: 100%;
    height: auto;

    display: block;
}


/* 一直磕头 */

@keyframes kowtow-head {

    0%,
    15% {
        transform:
            translate(0, 0)
            rotate(20deg);
    }

    45% {
        transform:
            translate(-22px, 30px)
            rotate(60deg);
    }

    58% {
        transform:
            translate(-25px, 34px)
            rotate(68deg);
    }

    75%,
    100% {
        transform:
            translate(0, 0)
            rotate(20deg);
    }
}