/* 체크인 진입 영역 공통 스타일
 * 메인, 마이페이지, 여기저기 게시판에서 함께 사용합니다.
 * 색상이나 간격을 바꿀 때 이 파일을 수정하세요.
 */
.checkin-entry-main,
.checkin-entry-mypage {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 190px;
    margin: 18px 0 30px;
    overflow: hidden;
    border-radius: 16px;
    padding: 30px 34px;
    background: linear-gradient(135deg, #ff555c 0%, #ff7773 100%);
    box-shadow: 0 10px 24px rgba(255, 85, 92, .18);
    color: #fff;
}

.checkin-entry-main__content,
.checkin-entry-mypage__content {
    position: relative;
    z-index: 2;
    width: 62%;
}

.checkin-entry-main h2,
.checkin-entry-mypage h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 27px;
    font-weight: 800;
    line-height: 1.2;
}

.checkin-entry-main p,
.checkin-entry-mypage p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, .94);
    font-size: 14px;
    line-height: 1.65;
}

.checkin-entry-main__button,
.checkin-entry-mypage__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 8px;
    padding: 0 17px;
    background: #fff;
    box-shadow: 0 5px 13px rgba(120, 32, 38, .14);
    color: #ff555c;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.checkin-entry-main__button:hover,
.checkin-entry-main__button:focus,
.checkin-entry-mypage__button:hover,
.checkin-entry-mypage__button:focus {
    background: #fff8f7;
    color: #e9474e;
    text-decoration: none;
}

.checkin-entry-main__button span,
.checkin-entry-mypage__button span {
    margin-left: 8px;
    font-size: 20px;
    line-height: 1;
}

.checkin-entry-main__art,
.checkin-entry-mypage__art {
    position: absolute;
    right: -22px;
    bottom: -55px;
    width: 310px;
    height: 235px;
    border-radius: 48% 18% 0 42%;
    background:
        linear-gradient(30deg, transparent 44%, rgba(221, 200, 168, .42) 45%, rgba(221, 200, 168, .42) 48%, transparent 49%),
        linear-gradient(120deg, transparent 54%, rgba(221, 200, 168, .42) 55%, rgba(221, 200, 168, .42) 58%, transparent 59%),
        #fff4df;
    transform: rotate(-7deg);
    box-shadow: -12px -8px 28px rgba(150, 43, 48, .12);
}

.checkin-entry-pin {
    position: absolute;
    left: 98px;
    top: 44px;
    width: 74px;
    height: 74px;
    border-radius: 50% 50% 50% 0;
    background: #ff555c;
    box-shadow: 0 10px 18px rgba(130, 34, 40, .25);
    transform: rotate(-45deg);
}

.checkin-entry-pin::before {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 50%;
    background: #fff;
}

.checkin-entry-pin::after {
    content: "✓";
    position: absolute;
    left: 26px;
    top: 22px;
    color: #41454b;
    font-size: 24px;
    font-weight: 900;
    transform: rotate(45deg);
}

.checkin-entry-mypage {
    min-height: 155px;
    margin-top: 18px;
    padding: 25px 30px;
}

.checkin-entry-mypage h2 {
    font-size: 23px;
}

.checkin-entry-mypage__art {
    right: -35px;
    bottom: -78px;
    transform: rotate(-10deg) scale(.88);
}

.checkin-entry-board {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 92px;
    overflow: hidden;
    border: 1px solid #eceff2;
    border-radius: 14px;
    padding: 16px 18px;
    background: #fff;
    box-shadow: 0 7px 20px rgba(28, 37, 48, .06);
}

.checkin-entry-board__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 13px;
    background: #fff0ed;
    color: #ff5a5f;
    font-size: 27px;
}

.checkin-entry-board__content {
    flex: 1 1 auto;
    min-width: 0;
}

.checkin-entry-board__content h2 {
    margin: 0 0 5px;
    color: #25282d;
    font-size: 17px;
    font-weight: 800;
}

.checkin-entry-board__content p {
    margin: 0;
    color: #838993;
    font-size: 12px;
    line-height: 1.5;
}

.checkin-entry-board__actions {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}

.checkin-entry-board__actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 1px solid #ff777b;
    border-radius: 8px;
    padding: 0 14px;
    background: #fff;
    color: #ff555c;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.checkin-entry-board__actions a:hover,
.checkin-entry-board__actions a:focus {
    background: #fff4f3;
    color: #e9474e;
    text-decoration: none;
}

.checkin-entry-board__actions i {
    margin-right: 6px;
}

.checkin-entry-board__mobile-link,
.checkin-entry-board__arrow {
    display: none;
}

@media (max-width: 767px) {
    .checkin-entry-main,
    .checkin-entry-mypage {
        min-height: 170px;
        margin: 14px 0 24px;
        border-radius: 14px;
        padding: 24px 20px;
    }

    .checkin-entry-main__content,
    .checkin-entry-mypage__content {
        width: 70%;
    }

    .checkin-entry-main h2,
    .checkin-entry-mypage h2 {
        margin-bottom: 8px;
        font-size: 23px;
    }

    .checkin-entry-main p,
    .checkin-entry-mypage p {
        margin-bottom: 14px;
        font-size: 12px;
        line-height: 1.55;
    }

    .checkin-entry-main__button,
    .checkin-entry-mypage__button {
        min-height: 38px;
        padding: 0 14px;
        font-size: 12px;
    }

    .checkin-entry-main__art,
    .checkin-entry-mypage__art {
        right: -102px;
        bottom: -74px;
        transform: rotate(-9deg) scale(.82);
    }

    .checkin-entry-mypage {
        min-height: 145px;
    }

    .checkin-entry-board {
        min-height: 88px;
        border: 0;
        border-radius: 14px;
        padding: 15px;
        background: linear-gradient(135deg, #ff555c 0%, #ff7773 100%);
        box-shadow: 0 8px 20px rgba(255, 85, 92, .17);
        color: #fff;
    }

    .checkin-entry-board__mobile-link {
        position: absolute;
        z-index: 4;
        inset: 0;
        display: block;
    }

    .checkin-entry-board__icon {
        flex-basis: 54px;
        width: 54px;
        height: 54px;
        background: #fff;
        font-size: 25px;
    }

    .checkin-entry-board__content h2 {
        color: #fff;
        font-size: 15px;
    }

    .checkin-entry-board__content p {
        color: rgba(255, 255, 255, .88);
        font-size: 11px;
    }

    .checkin-entry-board__actions {
        display: none;
    }

    .checkin-entry-board__arrow {
        display: block;
        color: #fff;
        font-size: 28px;
        line-height: 1;
    }
}

@media (max-width: 420px) {
    .checkin-entry-main__content,
    .checkin-entry-mypage__content {
        width: 76%;
    }

    .checkin-entry-main__art,
    .checkin-entry-mypage__art {
        right: -125px;
    }

    .checkin-entry-board__content p {
        max-width: 220px;
    }
}
