
/* =========================================================
   new 마이페이지 부분
========================================================= */

/* 마이페이지 메인 메뉴 */
.mypage-main-menu {
    width: 100%;
    padding: 28px 15px 32px;
    /*margin-bottom: 20px;*/
    background: #fff;
    border-bottom: 8px solid #f5f5f5;
}

.mypage-main-menu ul {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 34px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mypage-main-menu li {
    min-width: 0;
    margin: 0;
    padding: 0;
    text-align: center;
}

.mypage-main-menu li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 90px;
    color: #222;
    text-decoration: none;
}

.mypage-main-menu .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
}

/* 미확인 알림 NEW 표시 */
.mypage-main-menu li.new-tag .icon::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 7px;
    height: 7px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #8e5ae9;
    box-sizing: content-box;
}

.mypage-main-menu .icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mypage-main-menu .menu-name {
    display: block;
    width: 100%;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.7px;
    text-align: center;
    word-break: keep-all;
}


/* 마이페이지 메인 메뉴 */
.mypage-main-menu {
    width: 100%;
    padding: 24px 16px 34px;
    /*margin-bottom: 20px;*/
    background: #fff;
    border-bottom: 8px solid #f5f5f5;
}

/* 마이페이지 타이틀 */
/* Mobile */
.mypage-main-title {
    margin: 0 0 16px;
    color: #222;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

/* PC */
@media (min-width: 769px) {
    .mypage-main-title {
        font-size: 18px;
        margin-bottom: 20px;
    }
}

.mypage-main-menu ul {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 34px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mypage-main-menu li {
    min-width: 0;
    margin: 0;
    padding: 0;
    text-align: center;
}

.mypage-main-menu li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-height: 90px;
    color: #222;
    text-decoration: none;
}

.mypage-main-menu .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
}

.mypage-main-menu .icon img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.mypage-main-menu .menu-name {
    display: block;
    width: 100%;
    color: #222;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.7px;
    text-align: center;
    word-break: keep-all;
}

@media screen and (max-width: 360px) {
    .mypage-main-title {
        margin-bottom: 28px;
        font-size: 22px;
    }

    .mypage-main-menu {
        padding-right: 10px;
        padding-left: 10px;
    }

    .mypage-main-menu .menu-name {
        font-size: 12px;
        letter-spacing: -0.8px;
    }
}

/* 상담내역 목록 */
.counsel-history-item {
    margin: 0 0 10px;
    padding: 30px 26px 26px;
    background: #fff;
}

/* 날짜 */
.history-date {
    margin-bottom: 22px;
    color: #202020;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
}

/* 상담사 정보 */
.history-counselor {
    display: flex;
    align-items: center;
    margin-bottom: 22px;
}

.history-profile {
    flex: 0 0 auto;
    width: 76px;
    height: 76px;
    margin-right: 18px;
    overflow: hidden;
    border-radius: 50%;
}

.history-profile img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.history-info {
    min-width: 0;
}

/* 전화신점, 전화타로 */
.history-category {
    margin-bottom: 4px;
    color: #ff5877;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

/* 이름과 번호 */
.history-name-row,
.history-type-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.history-name-row {
    margin-bottom: 5px;
}

.history-name{
    color: #171717;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
}
.history-type{
    color: #171717;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none;
}
.history-time {
    color: #171717;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
}

.history-number {
    position: relative;
    margin-left: 10px;
    padding-left: 11px;
    color: #8e8e8e;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.35;
}

.history-number::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 1px;
    height: 15px;
    background: #d2d2d2;
    transform: translateY(-50%);
}

.history-time {
    margin-left: 12px;
}

/* 사용 코인 */
.history-coin-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding-top: 14px;
    border-top: 1px solid #e8e8e8;
}

.history-coin-label {
    display: flex;
    align-items: center;
    color: #5a5a5a;
    font-size: 18px;
    font-weight: 600;
}

.coin-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    margin-right: 9px;
    border: 2px solid #8e5ae9;
    border-radius: 50%;
    /*background: #8e5ae9;*/
    color: #641799;
    font-size: 18px;
    font-weight: 500;
    box-sizing: border-box;
}

.history-coin {
    color: #171717;
    font-size: 21px;
    font-weight: 700;
    white-space: nowrap;
}

/* 후기 버튼 */
.history-review {
    margin-top: 9px;
}

.btn-history-review {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 62px;
    border: 0;
    border-radius: 9px;
    background: #ff5877;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    box-sizing: border-box;
}

.btn-history-review.is-disabled,
.btn-history-review:disabled {
    background: #e6e6e8;
    color: #aaaeb2;
}

@media screen and (max-width: 768px) {
    .counsel-history-item {
        margin-bottom: 8px;
        padding: 22px 18px 20px;
    }

    .history-date {
        margin-bottom: 20px;
        font-size: 17px;
    }

    .history-counselor {
        margin-bottom: 17px;
    }

    .history-profile {
        width: 56px;
        height: 56px;
        margin-right: 14px;
    }

    .history-category {
        margin-bottom: 2px;
        font-size: 12px;
    }

    .history-name-row {
        margin-bottom: 3px;
    }

    .history-name,
    .history-type,
    .history-time {
        font-size: 15px;
    }

    .history-number {
        margin-left: 7px;
        padding-left: 8px;
        font-size: 15px;
    }

    .history-number::before {
        height: 12px;
    }

    .history-time {
        margin-left: 9px;
    }

    .history-coin-row {
        min-height: 45px;
        padding-top: 11px;
    }

    .history-coin-label {
        font-size: 14px;
    }

    .coin-icon {
        width: 26px;
        height: 26px;
        margin-right: 7px;
        font-size: 15px;
    }

    .history-coin {
        font-size: 17px;
    }

    .history-review {
        margin-top: 7px;
    }

    .btn-history-review {
        height: 45px;
        border-radius: 7px;
        font-size: 15px;
    }
}

/* 검색 영역 */
.counsel-history-search {
    width: 100%;
    padding: 16px 18px 15px;
    background: #fff;
    box-sizing: border-box;
}

.counsel-history-search form {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* 검색 입력창 */
.counsel-history-search input[type="text"] {
    display: block;
    width: 100%;
    height: 50px;
    margin: 0;
    padding: 0 55px 0 16px;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    background: #fff;
    color: #222;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    outline: none;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
}

.counsel-history-search input[type="text"]::placeholder {
    color: #b7b7b7;
    opacity: 1;
}

.counsel-history-search input[type="text"]:focus {
    border-color: #641799;
}

/* 검색 버튼 */
.counsel-history-search .btn-counsel-search {
    position: absolute;
    top: 50%;
    right: 17px;
    display: block;
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: translateY(-50%);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

/* 돋보기 원 */
.counsel-history-search .btn-counsel-search::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    border: 2px solid #641799;
    border-radius: 50%;
    box-sizing: border-box;
}

/* 돋보기 손잡이 */
.counsel-history-search .btn-counsel-search::after {
    content: "";
    position: absolute;
    right: 2px;
    bottom: 4px;
    width: 10px;
    height: 2px;
    border-radius: 2px;
    background: #641799;
    transform: rotate(45deg);
}

/* 화면에서만 숨기기 */
.blind {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media screen and (min-width: 769px) {
    .counsel-history-search {
        padding: 18px 28px 30px;
    }

    .counsel-history-search input[type="text"] {
        height: 54px;
        padding-right: 64px;
        padding-left: 20px;
        font-size: 16px;
    }

    .counsel-history-search .btn-counsel-search {
        right: 21px;
        width: 30px;
        height: 30px;
    }
}

.consultation-loading {
    padding: 20px 0;
    background: #fff;
    color: #999;
    font-size: 14px;
    text-align: center;
}

.counsel-history-empty {
    padding: 70px 20px;
    background: #fff;
    color: #999;
    font-size: 15px;
    text-align: center;
}


/* 
**************************
** chat list - clean UI **
**************************
*/

/* =========================================================
   채팅상담 목록
========================================================= */

.service-list.chat-list {
    list-style: none;
    margin: 0;
    padding: 0 16px 18px;
}

.service-list.chat-list > li {
    list-style: none;
}

/* 상담 카드 */
.chat-card {
    margin: 10px 0;
    padding: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.chat-card:active {
    transform: scale(0.995);
}

/* 카드 기본 링크 */
.chat-card .chat-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 14px;
    color: inherit;
    text-decoration: none;
    box-sizing: border-box;
}

/* 상담사 이미지 */
.chat-card .thumb {
    position: relative;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    overflow: hidden;
    background: #f3f4f6;
    border-radius: 16px;
}

.chat-card .thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chat-card .thumb .thumb-empty {
    display: block;
    width: 100%;
    height: 100%;
    background: #f3f4f6;
}

/* 이미지 하단 상태 배지 */
.chat-card .thumb .badge {
    position: absolute;
    right: 5px;
    bottom: 5px;
    padding: 3px 6px;
    background: rgba(17, 24, 39, 0.85);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.2;
    border-radius: 999px;
}

/* 본문 */
.chat-card .body {
    flex: 1;
    min-width: 0;
}

/* 첫 번째 줄 */
.chat-card .top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.chat-card .name-wrap {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 7px;
}

.chat-card .name {
    overflow: hidden;
    color: #171717;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-card .nick {
    flex: 0 1 auto;
    overflow: hidden;
    color: #666;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-card .date {
    flex: 0 0 auto;
    color: #999;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.35;
    white-space: nowrap;
}

/* 두 번째 줄 */
.chat-card .sub {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 7px;
}

.chat-card .preview {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    color: #666;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-card .status-wrap {
    flex: 0 0 auto;
}

/* 상태 */
.chat-card .state {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 4px 9px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #f9fafb;
    color: #111827;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    border-radius: 999px;
    box-sizing: border-box;
    white-space: nowrap;
}

.chat-card .state.is-active {
    background: #ea3b4a;
    border-color: #ea3b4a;
    color: #fff;
}

.chat-card .state.is-ready {
    background: rgba(59, 130, 246, 0.10);
    border-color: rgba(59, 130, 246, 0.25);
    color: #1e40af;
}

.chat-card .state.is-ended {
    background: rgba(107, 114, 128, 0.08);
    border-color: rgba(107, 114, 128, 0.18);
    color: #6b7280;
}

.chat-card .state.is-expired {
    background: rgba(107, 114, 128, 0.10);
    border-color: rgba(107, 114, 128, 0.20);
    color: #374151;
}

/* =========================================================
   상담중 남은시간 및 입장 영역
========================================================= */

.chat-active-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 14px 14px;
    padding: 12px 13px;
    background: #f8f5fa;
    border: 1px solid #ede5f1;
    border-radius: 11px;
    box-sizing: border-box;
}

/* 남은시간 */
.chat-remaining-wrap {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 10px;
}

.chat-remaining-icon {
    position: relative;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    background: #fff;
    border: 1px solid #e3d8e8;
    border-radius: 50%;
    box-sizing: border-box;
}

/* 시계 바늘 */
.chat-remaining-icon::before {
    position: absolute;
    top: 8px;
    left: 15px;
    width: 2px;
    height: 9px;
    background: #754889;
    border-radius: 2px;
    content: "";
}

/* 시계 분침 */
.chat-remaining-icon::after {
    position: absolute;
    top: 16px;
    left: 15px;
    width: 7px;
    height: 2px;
    background: #754889;
    border-radius: 2px;
    transform: rotate(25deg);
    transform-origin: left center;
    content: "";
}

.chat-remaining-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.chat-remaining-label {
    color: #736779;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.3;
}

.chat-remaining-time {
    margin-top: 2px;
    color: #623874;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.2px;
}

/* 입장 버튼 */
.btn-chat-enter {
    min-width: 72px;
    height: 40px;
    flex: 0 0 auto;
    padding: 0 17px;
    border: 0;
    background: #754889;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 40px;
    text-align: center;
    border-radius: 9px;
    box-shadow: 0 4px 10px rgba(89, 53, 104, 0.18);
    box-sizing: border-box;
    cursor: pointer;
}

.btn-chat-enter:active {
    transform: translateY(1px);
}

.btn-chat-enter:disabled,
.btn-chat-enter.is-disabled {
    background: #c8c2cb;
    color: #fff;
    box-shadow: none;
    cursor: not-allowed;
}

/* 남은시간 종료 */
.chat-active-area.is-time-ended {
    background: #f6f6f6;
    border-color: #ececec;
}

.chat-active-area.is-time-ended .chat-remaining-icon {
    border-color: #ddd;
}

.chat-active-area.is-time-ended .chat-remaining-icon::before,
.chat-active-area.is-time-ended .chat-remaining-icon::after {
    background: #aaa;
}

.chat-active-area.is-time-ended .chat-remaining-label,
.chat-active-area.is-time-ended .chat-remaining-time {
    color: #999;
}

/* =========================================================
   후기 버튼
========================================================= */

.btn-review {
    min-height: 28px;
    padding: 5px 10px;
    border: 1px solid #754889;
    background: #fff;
    color: #754889;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    border-radius: 999px;
    box-sizing: border-box;
    cursor: pointer;
}

.btn-review-done {
    border-color: #e5e5e5;
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

/* 빈 목록 */
.chat-empty {
    padding: 150px 16px;
    color: #6b7280;
    font-size: 13px;
    text-align: center;
}

.chat-empty strong {
    display: block;
    color: #171717;
    font-size: 14px;
    font-weight: 700;
}

/* 오류 */
.chat-error {
    padding: 50px 16px;
    color: #6b7280;
    font-size: 13px;
    text-align: center;
}

.chat-error strong {
    display: block;
    color: #171717;
    font-size: 14px;
    font-weight: 700;
}

.chat-error p {
    margin: 6px 0 0;
}

/* 로딩 */
.chat-loading,
.counselor-list-loading {
    padding: 18px 0;
    color: #9ca3af;
    font-size: 12px;
    text-align: center;
}

/* 작은 화면 */
@media (max-width: 360px) {
    .service-list.chat-list {
        padding-right: 12px;
        padding-left: 12px;
    }

    .chat-card .chat-link {
        padding-right: 12px;
        padding-left: 12px;
    }

    .chat-card .thumb {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
    }

    .chat-card .name {
        font-size: 15px;
    }

    .chat-card .nick {
        max-width: 90px;
        font-size: 12px;
    }

    .chat-card .date {
        font-size: 12px;
    }

    .chat-active-area {
        margin-right: 12px;
        margin-left: 12px;
        padding-right: 11px;
        padding-left: 11px;
    }

    .btn-chat-enter {
        min-width: 66px;
        padding-right: 13px;
        padding-left: 13px;
    }
}


/* =========================================================
   코인내역 페이지
========================================================= */

.coin-history-page {
    padding: 0;
    background: #fff;
}

.coin-history-header {
    border-bottom: 1px solid #ededed;
}

/* =========================================================
   보유코인 카드 영역
========================================================= */

.coin-summary-section {
    padding: 25px 34px 25px;
    background: #fff;
    border-bottom: 14px solid #f7f7f7;
}

.coin-summary-card {
    padding: 25px 40px 25px;
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.07);
    box-sizing: border-box;
}

.coin-summary-label {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #4b4b4b;
    font-size: 18px;
    font-weight: 500;
}

.coin-symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    border: 3px solid #8e5ae9;
    /*background: #fff3f6;*/
    color: #641799;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    border-radius: 50%;
    box-sizing: border-box;
}

.coin-summary-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 10px;
}

.coin-current {
    display: flex;
    align-items: baseline;
    margin: 0;
    color: #000;
    line-height: 1;
}

.coin-current strong {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.coin-current span {
    margin-left: 6px;
    font-size: 24px;
    font-weight: 700;
}

.btn-coin-charge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 61px;
    flex: 0 0 120px;
    background: #641799;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 14px;
    box-sizing: border-box;
}

.btn-coin-charge:link,
.btn-coin-charge:visited,
.btn-coin-charge:hover,
.btn-coin-charge:focus,
.btn-coin-charge:active {
    color: #fff;
    text-decoration: none;
}

.btn-coin-charge:active {
    transform: scale(0.98);
}

.coin-summary-divider {
    height: 1px;
    margin: 23px 0 19px;
    background: #ededed;
}

.coin-vip-reward {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.coin-vip-label {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: #4c4c4c;
    font-size: 18px;
    font-weight: 500;
}

.btn-vip-help {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 23px;
    padding: 0;
    border: 1px solid #aeb7c2;
    background: #fff;
    color: #8b96a3;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    border-radius: 50%;
    cursor: pointer;
}

.coin-vip-value {
    flex: 0 0 auto;
    color: #111;
    font-size: 21px;
    font-weight: 800;
    white-space: nowrap;
}

/* =========================================================
   코인내역 목록
========================================================= */

.coin-history-section {
    background: #fff;
}

.cash-history-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cash-history-list > li {
    list-style: none;
}

.coin-history-item {
    position: relative;
    min-height: 106px;
    padding: 20px 34px 22px;
    border-bottom: 1px solid #e8e8e8;
    box-sizing: border-box;
}

.coin-history-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.coin-history-meta {
    flex: 1;
    min-width: 0;
}

.coin-history-detail {
    margin: 0;
    color: #1b1b1b;
    font-size: 20px;
    /*font-weight: 700;*/
    line-height: 1.42;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.coin-history-date {
    margin: 13px 0 0;
    color: #888;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
}

.coin-history-amount {
    flex: 0 0 auto;
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.25;
    text-align: right;
    white-space: nowrap;
}

/* 적립 */
.coin-history-amount.is-plus {
    color: #641799;
}

/* 차감 */
.coin-history-amount.is-minus {
    color: #050505;
}

/* 금액 변동이 없는 경우 */
.coin-history-amount.is-zero {
    color: #888;
}

/* =========================================================
   빈 목록 및 로딩
========================================================= */

.coin-history-empty {
    padding: 120px 20px;
    color: #777;
    font-size: 14px;
    text-align: center;
}

.coin-history-loading,
.counselor-list-loading {
    padding: 30px 20px;
    color: #999;
    font-size: 13px;
    text-align: center;
}

/* =========================================================
   VIP 리워드 팝업
========================================================= */

/* 마이페이지 VIP 예상 코인 카드의 기존 디자인을 유지하는 클릭 영역 */
.user-reward {
    position: relative;
}

.btn-vip-reward-open {
    position: absolute;
    z-index: 2;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    border-radius: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.btn-vip-reward-open:focus-visible {
    outline: 2px solid #641799;
    outline-offset: -2px;
}

/* 마이페이지 VIP 카드의 CSS 도움말 아이콘 */
.user-reward .mypage-vip-help-icon {
    margin-left: 3px;
    vertical-align: middle;
    pointer-events: none;
}

.vip-reward-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    overscroll-behavior: none;
}

.vip-reward-modal.is-open {
    display: block;
}

.vip-reward-dim {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.38);
}

.vip-reward-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100% - 58px);
    max-width: 656px;
    max-height: calc(100vh - 80px);
    padding: 72px 48px 44px;
    overflow-y: auto;
    background: #fff;
    border-radius: 24px;
    box-sizing: border-box;
    transform: translate(-50%, -50%);
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
    font-family: "Noto Sans KR", sans-serif;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* 닫기 버튼 */
.btn-vip-popup-close {
    position: absolute;
    top: 25px;
    right: 26px;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.btn-vip-popup-close::before,
.btn-vip-popup-close::after {
    position: absolute;
    top: 16px;
    left: 3px;
    width: 30px;
    height: 2px;
    background: #9b9b9b;
    content: "";
}

.btn-vip-popup-close::before {
    transform: rotate(45deg);
}

.btn-vip-popup-close::after {
    transform: rotate(-45deg);
}

/* 상단 결제금액 및 예상 리워드 */
.vip-reward-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    background: #e0d6f1;
    border: 1px solid #cec4e05c;
    border-radius: 20px;
}

.vip-reward-summary-item {
    position: relative;
    padding: 25px 20px 25px;
    text-align: center;
    box-sizing: border-box;
}

.vip-reward-summary-item + .vip-reward-summary-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 70%;
    background: #cec4e0;
    transform: translateY(-50%);
}

.vip-reward-summary-label {
    margin: 0;
    color: #444;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.3;
}

.vip-reward-summary-value {
    display: block;
    margin-top: 13px;
    color: #050505;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
    white-space: nowrap;
}

.vip-reward-summary-value.is-pink {
    color: #641799;
}

/* 설명 문구 */
.vip-reward-description {
    margin-top: 27px;
    color: #4d4d4d;
    font-size: 17px;
    line-height: 1.65;
    text-align: center;
}

.vip-reward-description p {
    margin: 0;
}

.vip-reward-description strong {
    display: block;
    font-weight: 800;
}

/* 제목 */
.vip-reward-title {
    margin: 42px 0 25px;
    color: #641799;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
}

/* 비율 표 */
.vip-reward-table {
    width: 100%;
}

.vip-reward-table-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    background: #f5f5f5;
    border-radius: 12px;
}

.vip-reward-table-head div {
    padding: 17px 10px;
    color: #111;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

.vip-reward-table-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 65px;
    border-bottom: 1px solid #e5e5e5;
}

.vip-reward-table-row strong {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    color: #050505;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
    box-sizing: border-box;
}

.vip-reward-table-row .rate {
    color: #641799;
}

/* 하단 안내 */
.vip-reward-notice {
    margin-top: 25px;
    color: #444;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.55;
    text-align: center;
}

.vip-reward-notice p {
    margin: 0;
}

/* 팝업 표시 중 배경 스크롤 차단 */
body.vip-modal-open {
    overflow: hidden;
    overscroll-behavior: none;
}

html.vip-modal-refresh-guard {
    overscroll-behavior-y: none;
}

.vip-refresh-guard-spacer {
    display: block;
    width: 1px;
    height: 2px;
    overflow: hidden;
    pointer-events: none;
}

.vip-reward-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100% - 58px);
    max-width: 480px;
    max-height: calc(100vh - 80px);
    padding: 72px 48px 44px;
    overflow-y: auto;
    background: #fff;
    border-radius: 24px;
    box-sizing: border-box;
    transform: translate(-50%, -50%);
    -webkit-overflow-scrolling: touch;

    /* 스크롤은 가능하지만 스크롤바는 숨김 */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.vip-reward-popup::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}
/* =========================================================
   모바일 크기
========================================================= */

@media (max-width: 480px) {
    .vip-reward-popup {
        width: calc(100% - 32px);
        max-height: calc(100vh - 70px);
        padding: 72px 27px 43px;
        border-radius: 23px;
    }

    .btn-vip-popup-close {
        top: 24px;
        right: 24px;
        width: 30px;
        height: 30px;
    }

    .btn-vip-popup-close::before,
    .btn-vip-popup-close::after {
        top: 14px;
        width: 27px;
    }

    .vip-reward-summary {
        border-radius: 18px;
    }

    .vip-reward-summary-item {
        padding: 15px 12px 15px;
    }

    .vip-reward-summary-label {
        font-size: 12px;
        word-break: keep-all;
    }

    .vip-reward-summary-value {
        margin-top: 12px;
        font-size: 15px;
    }

    .vip-reward-description {
        margin-top: 24px;
        font-size: 12px;
        word-break: keep-all;
    }

    .vip-reward-title {
        margin: 24px 0 24px;
        font-size: 16px;
    }

    .vip-reward-table-head div {
        padding: 15px 8px;
        font-size: 12px;
        word-break: keep-all;
    }

    .vip-reward-table-row {
        min-height: 48px;
    }

    .vip-reward-table-row strong {
        font-size: 13px;
        word-break: keep-all;
    }

    .vip-reward-notice {
        margin-top: 22px;
        font-size: 14px;
    }
}

@media (max-width: 390px) {
    .vip-reward-popup {
        width: calc(100% - 32px);
        padding-right: 27px;
        padding-left: 27px;
    }

    .vip-reward-summary-label {
        font-size: 12px;
    }

    .vip-reward-summary-value {
        font-size: 15px;
    }

    .vip-reward-description {
        font-size: 12px;
    }

    .vip-reward-title {
        font-size: 16px;
    }

    .vip-reward-table-head div {
        font-size: 12px;
    }

    .vip-reward-table-row strong {
        font-size: 13px;
    }
}

/* =========================================================
   모바일 화면 조정
========================================================= */

@media (max-width: 480px) {
    .coin-summary-section {
        padding: 15px 17px 14px;
        border-bottom-width: 8px;
    }

    .coin-summary-card {
        padding: 21px 20px 19px;
        border-radius: 14px;
    }

    .coin-summary-label {
        gap: 9px;
        font-size: 15px;
    }

    .coin-symbol {
        width: 29px;
        height: 29px;
        border-width: 2px;
        font-size: 16px;
    }

    .coin-summary-main {
        margin-top: 10px;
    }

    .coin-current strong {
        font-size: 24px;
        letter-spacing: -1px;
    }

    .coin-current span {
        margin-left: 4px;
        font-size: 18px;
    }

    .btn-coin-charge {
        width: 78px;
        height: 42px;
        flex-basis: 78px;
        font-size: 15px;
        border-radius: 9px;
    }

    .coin-summary-divider {
        margin: 15px 0 14px;
    }

    .coin-vip-label {
        gap: 6px;
        font-size: 14px;
    }

    .btn-vip-help {
        width: 18px;
        height: 18px;
        font-size: 11px;
    }

    .coin-vip-value {
        font-size: 16px;
    }

    .coin-history-item {
        min-height: 80px;
        padding: 17px 17px 14px;
    }

    .coin-history-info {
        gap: 14px;
    }

    .coin-history-detail {
        font-size: 16px;
        line-height: 1.45;
    }

    .coin-history-date {
        margin-top: 9px;
        font-size: 13px;
    }

    .coin-history-amount {
        font-size: 16px;
    }
}

@media (max-width: 350px) {
    .coin-current strong {
        font-size: 24px;
    }

    .coin-current span {
        font-size: 16px;
    }

    .coin-vip-label {
        font-size: 13px;
    }

    .coin-vip-value {
        font-size: 14px;
    }

    .coin-history-detail {
        font-size: 15px;
    }

    .coin-history-amount {
        font-size: 15px;
    }
}


/* =========================================================
   결제내역 페이지
========================================================= */

.order-history-page {
    padding: 0;
    background: #fff;
}

.order-history-page .mypage,
.order-history-page .mypage-content {
    margin: 0;
    padding: 0;
}

.order-history-page .container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.order-history-header {
    border-bottom: 1px solid #ededed;
}

/* =========================================================
   결제내역 목록
========================================================= */

.order-history-list {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #fff;
}

.order-history-list > li {
    list-style: none;
}

/* 결제내역 한 줄 */
.order-history-item {
    position: relative;
    min-height: 172px;
    padding: 31px 28px 28px;
    border-bottom: 1px solid #e5e5e5;
    background: #fff;
    box-sizing: border-box;
}

.order-history-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* 왼쪽 정보 */
.order-history-info {
    flex: 1;
    min-width: 0;
}

/* 결제 상태 */
.order-history-status {
    margin: 0 0 11px;
    color: #858585;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
}

/* 정상 결제 */
.order-history-status.is-complete {
    color: #858585;
}

/* 결제 취소 */
.order-history-status.is-cancel {
    color: #ff5059;
}

/* 결제 대기 */
.order-history-status.is-wait {
    color: #8a6a20;
}

/* 결제 실패 */
.order-history-status.is-fail {
    color: #ff5059;
}

/* 결제내용 */
.order-history-title {
    margin: 0;
    color: #171717;
    font-size: 21px;
    font-weight: 500;
    line-height: 1.42;
    letter-spacing: -0.5px;
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* 금액 */
.order-history-price {
    margin: 8px 0 0;
    color: #050505;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.3;
}

/* 날짜 */
.order-history-date {
    margin: 14px 0 0;
    color: #888;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
}

/* 상세보기 버튼 영역 */
.order-history-action {
    flex: 0 0 auto;
}

/* 상세보기 */
.btn-order-detail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 146px;
    height: 45px;
    padding: 0 24px;
    border: 1px solid #d8d8d8;
    background: #fff;
    color: #555;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    border-radius: 12px;
    box-sizing: border-box;
}

.btn-order-detail:active {
    background: #f7f7f7;
    transform: scale(0.98);
}

/* =========================================================
   빈 목록 및 로딩
========================================================= */

.order-history-empty {
    padding: 140px 20px;
    color: #888;
    font-size: 14px;
    text-align: center;
}

.order-history-loading {
    padding: 30px 20px;
    color: #999;
    font-size: 13px;
    text-align: center;
}

/* =========================================================
   모바일
========================================================= */

@media screen and (max-width: 768px) {
    .order-history-item {
        min-height: 128px;
        padding: 23px 17px 22px;
    }

    .order-history-content {
        gap: 14px;
    }

    .order-history-status {
        margin-bottom: 8px;
        font-size: 13px;
    }

    .order-history-title {
        font-size: 14px;
        line-height: 1.42;
        letter-spacing: -0.4px;
    }

    .order-history-price {
        margin-top: 5px;
        font-size: 14px;
    }

    .order-history-date {
        margin-top: 10px;
        font-size: 13px;
    }

    .btn-order-detail {
        min-width: 90px;
        height: 35px;
        padding: 0 17px;
        font-size: 12px;
        border-radius: 8px;
    }
}

@media screen and (max-width: 360px) {
    .order-history-item {
        padding-right: 14px;
        padding-left: 14px;
    }

    .order-history-content {
        gap: 10px;
    }

    .order-history-title {
        font-size: 15px;
    }

    .order-history-price {
        font-size: 15px;
    }

    .btn-order-detail {
        min-width: 82px;
        height: 43px;
        padding: 0 13px;
        font-size: 13px;
    }
}

/* =========================================================
   결제 상세 모달
========================================================= */

.order-detail-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    overscroll-behavior: none;
}

.order-detail-modal.is-open {
    display: block;
}

.order-detail-dim {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.38);
}

.order-detail-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100% - 50px);
    max-width: 328px;
    max-height: calc(100vh - 60px);
    padding: 72px 48px 48px;
    overflow-y: auto;
    background: #fff;
    border-radius: 24px;
    box-sizing: border-box;
    transform: translate(-50%, -50%);
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.order-detail-popup::-webkit-scrollbar {
    display: none;
}

/* 닫기 버튼 */
.btn-order-popup-close {
    position: absolute;
    top: 25px;
    right: 27px;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.btn-order-popup-close::before,
.btn-order-popup-close::after {
    position: absolute;
    top: 15px;
    left: 2px;
    width: 29px;
    height: 2px;
    background: #999;
    content: "";
}

.btn-order-popup-close::before {
    transform: rotate(45deg);
}

.btn-order-popup-close::after {
    transform: rotate(-45deg);
}

/* 모달 제목 */
.order-detail-modal-title {
    margin: 0 0 44px;
    color: #171717;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.4;
    text-align: center;
    word-break: keep-all;
}

/* 상단 금액 정보 */
.order-detail-summary {
    width: 100%;
}

.order-detail-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 92px;
    padding: 20px 0;
    border-bottom: 1px solid #e7e7e7;
    box-sizing: border-box;
}

.order-detail-summary-row > strong {
    flex: 0 0 auto;
    color: #171717;
    font-size: 14px;
    font-weight: 500;
}

.order-detail-summary-row > span,
.order-detail-summary-value > span {
    color: #171717;
    font-size: 20px;
    font-weight: 500;
    text-align: right;
}

.order-detail-summary-row.is-payment > strong,
.order-detail-summary-row.is-payment > span {
    font-weight: 800;
}

.order-detail-summary-value {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 0;
}

.order-detail-summary-value small {
    margin-top: 6px;
    color: #888;
    font-size: 14px;
    font-weight: 500;
}

/* 하단 상세 정보 */
.order-detail-info {
    margin-top: 26px;
}

.order-detail-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 18px;
}

.order-detail-info-row:first-child {
    margin-top: 0;
}

.order-detail-info-row span {
    flex: 0 0 auto;
    color: #171717;
    font-size: 14px;
    font-weight: 500;
}

.order-detail-info-row strong {
    min-width: 0;
    color: #171717;
    font-size: 16px;
    font-weight: 500;
    text-align: right;
    word-break: break-word;
}

/* 모달 열렸을 때 배경 스크롤 차단 */
body.order-modal-open {
    overflow: hidden;
    overscroll-behavior: none;
}

@media screen and (max-width: 480px) {
    .order-detail-popup {
        width: calc(100% - 36px);
        padding: 60px 27px 38px;
        border-radius: 20px;
    }

    .btn-order-popup-close {
        top: 20px;
        right: 21px;
        width: 28px;
        height: 28px;
    }

    .btn-order-popup-close::before,
    .btn-order-popup-close::after {
        top: 13px;
        width: 26px;
    }

    .order-detail-modal-title {
        margin-bottom: 33px;
        font-size: 18px;
    }

    .order-detail-summary-row {
        min-height: 72px;
        padding: 16px 0;
    }

    .order-detail-summary-row > strong {
        font-size: 15px;
    }

    .order-detail-summary-row > span,
    .order-detail-summary-value > span {
        font-size: 16px;
    }

    .order-detail-summary-value small {
        margin-top: 5px;
        font-size: 12px;
    }

    .order-detail-info {
        margin-top: 22px;
    }

    .order-detail-info-row {
        margin-top: 15px;
    }

    .order-detail-info-row span,
    .order-detail-info-row strong {
        font-size: 14px;
    }
}

/* =========================================================
   나의 후기
========================================================= */

.my-review-page {
    min-height: calc(100vh - 56px);
    padding: 0;
    background: #f6f7f9;
}

.my-review-header {
    border-bottom: 1px solid #ededed;
}

.my-review-inner {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 16px;
    box-sizing: border-box;
}

/* 탭 */
.my-review-tabs {
    margin-bottom: 14px;
}

.my-review-tabs ul {
    display: flex;
    margin: 0;
    padding: 4px;
    list-style: none;
    background: #ebecef;
    border-radius: 12px;
}

.my-review-tabs li {
    flex: 1;
    list-style: none;
}

.my-review-tabs button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    height: 42px;
    padding: 0 10px;
    border: 0;
    background: transparent;
    color: #777;
    font-size: 14px;
    font-weight: 600;
    border-radius: 9px;
    cursor: pointer;
}

.my-review-tabs li.is-active button {
    background: #fff;
    color: #202020;
    font-weight: 700;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.07);
}

.my-review-tabs .tab-count {
    color: #999;
    font-size: 12px;
}

.my-review-tabs li.is-active .tab-count {
    color: #641799;
}

/* 작성 완료 후기 기간 설정 */
.review-period-filter {
    margin: 0 0 14px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #e9eaed;
    border-radius: 14px;
    box-sizing: border-box;
}

.review-period-filter[hidden] {
    display: none;
}

.review-period-select-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.review-period-select-wrap span {
    flex: 0 0 auto;
    color: #2c2e32;
    font-size: 14px;
    font-weight: 700;
}

.review-period-select-wrap select {
    width: 132px;
    height: 38px;
    padding: 0 34px 0 12px;
    border: 1px solid #dedfe3;
    background: #fff;
    color: #383a3f;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    box-sizing: border-box;
}

/* 적립 예정 코인 */
.review-reward-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
    padding: 18px;
    background: #e0d6f1;
    /*border: 1px solid #f4dce2;*/
    border-radius: 14px;
    box-sizing: border-box;
}

.review-reward-card[hidden] {
    display: none;
}

.review-reward-label {
    margin: 0 0 6px;
    color: #777;
    font-size: 12px;
    font-weight: 500;
}

.review-reward-value {
    display: flex;
    align-items: baseline;
    margin: 0;
    color: #191919;
}

.review-reward-value em {
    font-size: 23px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.review-reward-value span {
    margin-left: 4px;
    font-size: 14px;
    font-weight: 700;
}

.review-policy-link {
    flex: 0 0 auto;
    padding: 8px 10px;
    border: 1px solid #641799;
    background: #fff;
    color: #666;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
}

/* 후기 목록 */
.my-review-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.my-review-item {
    margin: 0 0 12px;
    list-style: none;
}

.my-review-card {
    padding: 18px;
    background: #fff;
    border: 1px solid #e9eaed;
    border-radius: 15px;
    box-shadow: 0 4px 14px rgba(23, 29, 38, 0.035);
    box-sizing: border-box;
}

.review-card-head {
    display: flex;
    align-items: center;
    min-width: 0;
}

.review-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    margin-right: 12px;
    overflow: hidden;
    background: #f2f3f5;
    border-radius: 50%;
}

.review-profile img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-profile-placeholder {
    color: #f06482;
    font-size: 18px;
    font-weight: 800;
}

.review-counselor-info {
    flex: 1;
    min-width: 0;
}

.review-counselor-title {
    display: flex;
    align-items: baseline;
    min-width: 0;
    gap: 8px;
}

.review-counselor-category {
    flex: 0 0 auto;
    color: #641799;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
}

.review-counselor-category.is-shinjeom {
    color: #cc3333;
}

.review-counselor-category.is-tarot {
    color: #663399;
}

.review-counselor-category.is-saju {
    color: #b3661e;
}

.review-counselor-divider {
    flex: 0 0 auto;
    color: #c9c9ce;
    font-size: 13px;
    font-weight: 400;
}

.review-consultation-type {
    margin: 5px 0 0;
    color: #989ba1;
    font-size: 12px;
    font-weight: 600;
}

.review-counselor-title h3 {
    flex: 1;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    color: #1d1d1f;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.review-status {
    flex: 0 0 auto;
    margin-left: 8px;
    padding: 6px 8px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
}

.review-status.is-possible {
    background: #e0d6f1;
    color: #641799;
}

.review-status.is-complete {
    background: #f0f1f3;
    color: #777;
}

.review-consultation-meta {
    display: flex;
    align-items: center;
    margin-top: 16px;
    padding: 12px 14px;
    background: #f7f8fa;
    border-radius: 10px;
}

.review-consultation-meta span {
    display: flex;
    align-items: center;
    min-width: 0;
    color: #444;
    font-size: 13px;
    line-height: 1.4;
}

.review-consultation-meta span + span::before {
    width: 1px;
    height: 12px;
    margin: 0 12px;
    background: #dddfe3;
    content: '';
}

.review-consultation-meta b {
    margin-right: 6px;
    color: #92969d;
    font-size: 12px;
    font-weight: 600;
}

.review-guide-text {
    margin: 15px 0 12px;
    color: #73777e;
    font-size: 13px;
    line-height: 1.5;
}

.btn-review-write {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 44px;
    border: 0;
    background: #641799;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    cursor: pointer;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

.btn-review-write:visited,
.btn-review-write:hover,
.btn-review-write:active,
.btn-review-write:focus {
    background: #641799;
    color: #fff;
    text-decoration: none;
    outline: none;
    transform: none;
}

.btn-review-write.is-disabled {
    background: #e6e7ea;
    color: #8d9096;
}

.btn-review-write.is-disabled.js-review-message {
    cursor: pointer;
}

/* 후기 작성 리워드 */
.review-benefit-list {
    margin: 14px 0 12px;
    padding: 12px 14px;
    background: #f1eafa;
    border-radius: 10px;
}

.review-benefit-list.is-complete {
    margin: 14px 0 0;
    padding: 10px 12px;
    background: #f6f3f9;
    border-color: #e8e0ee;
    border-radius: 9px;
}

.review-benefit-item {
    margin: 0;
    color: #5f5267;
    font-size: 13px;
    line-height: 1.55;
}

.review-benefit-item + .review-benefit-item {
    margin-top: 4px;
}

.review-benefit-item strong {
    color: #641799;
    font-weight: 800;
}

.review-benefit-item.is-event strong {
    color: #641799;
}

.review-benefit-item.is-payback strong {
    color: #641799;
}

.review-benefit-list.is-complete .review-benefit-item {
    color: #641799;
    font-size: 12px;
    font-weight: 700;
}

/* 작성 완료 후기 */
.review-written-content {
    margin-top: 12px;
    padding: 15px 16px;
    background: #faf9fb;
    border: 1px solid #eee9f1;
    border-radius: 11px;
    box-sizing: border-box;
}

.review-written-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.review-rating {
    display: flex;
    flex: 0 0 auto;
    margin: 0;
    color: #ffb13b;
    font-size: 14px;
    letter-spacing: 1px;
}

.review-rating .is-empty {
    color: #dddfe3;
}

.review-written-content p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #36383c;
    font-size: 14px;
    line-height: 1.65;
    white-space: pre-line;
    word-break: break-word;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.review-written-content .review-written-label {
    display: block;
    margin: 0;
    color: #641799;
    font-size: 12px;
    font-weight: 800;
    -webkit-line-clamp: initial;
}

.review-written-content .review-written-text {
    display: block;
    max-height: none;
    overflow: visible;
    color: #2f3034;
    font-size: 14px;
    line-height: 1.65;
    white-space: pre-line;
    -webkit-line-clamp: initial;
}

.review-written-content time {
    display: block;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #eeeaf0;
    color: #a0a3a8;
    font-size: 11px;
}

/* 상태 */
.my-review-loading,
.my-review-empty,
.my-review-error,
.my-review-end {
    padding: 48px 18px;
    color: #8c9096;
    font-size: 13px;
    text-align: center;
}

.my-review-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 24px 18px;
}

.my-review-loading[hidden],
.my-review-empty[hidden],
.my-review-error[hidden],
.my-review-end[hidden] {
    display: none;
}

.loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #e3e4e7;
    border-top-color: #f36f8a;
    border-radius: 50%;
    animation: review-loading-spin 0.8s linear infinite;
}

@keyframes review-loading-spin {
    to {
        transform: rotate(360deg);
    }
}

.empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin: 0 auto 13px;
    background: #fff0f4;
    color: #f06482;
    font-size: 23px;
    border-radius: 50%;
}

.my-review-empty strong {
    display: block;
    color: #3b3d41;
    font-size: 15px;
}

.my-review-empty p,
.my-review-error p {
    margin: 7px 0 0;
    line-height: 1.55;
}

.my-review-error button {
    margin-top: 12px;
    padding: 9px 14px;
    border: 1px solid #dedfe2;
    background: #fff;
    color: #555;
    font-size: 12px;
    border-radius: 8px;
}

.my-review-end {
    padding: 15px 18px 25px;
    color: #aaa;
    font-size: 11px;
}

.review-scroll-sentinel {
    width: 100%;
    height: 1px;
}

/* PC */
@media (min-width: 769px) {
    .my-review-inner {
        padding: 24px;
    }

    .my-review-tabs button {
        height: 46px;
        font-size: 15px;
    }

    .my-review-card {
        padding: 22px;
    }

    .review-profile {
        width: 64px;
        height: 64px;
        flex-basis: 64px;
        margin-right: 15px;
    }

    .review-counselor-title h3 {
        font-size: 1.125rem;
    }

    .review-counselor-category,
    .review-policy-link {
        font-size: 13px;
    }

    .review-consultation-meta span,
    .review-guide-text {
        font-size: 14px;
    }

    .btn-review-write {
        height: 47px;
        font-size: 15px;
    }

    .review-written-content p {
        font-size: 15px;
    }

    .review-period-select-wrap span {
        font-size: 15px;
    }

    .review-period-select-wrap select {
        font-size: 13px;
    }
}

@media (max-width: 360px) {
    .my-review-inner {
        padding: 12px;
    }

    .review-card-head {
        align-items: flex-start;
    }

    .review-profile {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
        margin-right: 10px;
    }

    .review-status {
        padding: 5px 7px;
        font-size: 10px;
    }

    .review-consultation-meta {
        display: block;
    }

    .review-consultation-meta span + span {
        margin-top: 6px;
    }

    .review-consultation-meta span + span::before {
        display: none;
    }

}

/*========================================================= 
   나의 후기 - 후기 작성
========================================================= */

.my-review-write-page {
    min-height: calc(100vh - 56px);
    padding: 0;
    background: #f6f7f9;
}

.my-review-write-inner {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 16px;
    box-sizing: border-box;
}

.review-write-counselor-card,
.review-write-reward-card,
.review-write-form-card {
    margin: 0 0 14px;
    padding: 18px;
    background: #fff;
    border: 1px solid #e9eaed;
    border-radius: 15px;
    box-sizing: border-box;
}

.review-write-counselor-card {
    display: flex;
    align-items: center;
    box-shadow: 0 4px 14px rgba(23, 29, 38, 0.035);
}

.review-write-profile {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
    margin-right: 14px;
}

.review-write-consultation-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px 0;
    margin: 8px 0 0;
    color: #8b8e94;
    font-size: 12px;
    line-height: 1.4;
}

.review-write-consultation-meta span + span::before {
    display: inline-block;
    width: 1px;
    height: 11px;
    margin: 0 9px;
    background: #dedfe3;
    vertical-align: -1px;
    content: '';
}

.review-write-reward-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: #e0d6f1;
    border-color: transparent;
}

.review-write-section-label {
    margin: 0 0 5px;
    color: #777b82;
    font-size: 12px;
    font-weight: 600;
}

.review-write-reward-total {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin: 0;
    color: #25262a;
    font-size: 14px;
    font-weight: 700;
}

.review-write-reward-total strong {
    color: #641799;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.review-write-reward-detail {
    width: 100%;
    margin: 0;
    padding: 13px 14px;
    list-style: none;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #f3e6e9;
    border-radius: 10px;
    box-sizing: border-box;
}

.review-write-reward-detail li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    color: #686b71;
    font-size: 12px;
    list-style: none;
}

.review-write-reward-detail li + li {
    margin-top: 8px;
}

.review-write-reward-detail strong {
    color: #f06482;
    font-weight: 800;
}

.review-write-form-card {
    padding-bottom: 16px;
}

.review-write-form-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 13px;
}

.review-write-form-head label {
    display: block;
    color: #292b2f;
    font-size: 16px;
    font-weight: 800;
}

.review-write-form-head p {
    margin: 5px 0 0;
    color: #92959a;
    font-size: 12px;
    line-height: 1.45;
}

.review-write-count {
    flex: 0 0 auto;
    color: #a0a3a8;
    font-size: 11px;
}

.review-write-count em {
    color: #641799;
    font-style: normal;
    font-weight: 700;
}

.review-write-textarea {
    display: block;
    width: 100%;
    min-height: 190px;
    padding: 15px;
    resize: vertical;
    border: 1px solid #dfe1e5;
    outline: 0;
    background: #fff;
    color: #2d2f33;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.7;
    border-radius: 11px;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    -webkit-appearance: none;
}

.review-write-textarea:focus {
    border-color: #8c4cb8;
    box-shadow: 0 0 0 3px rgba(100, 23, 153, 0.08);
}

.review-write-textarea::placeholder {
    color: #b0b3b8;
}

.review-write-notice {
    margin-top: 14px;
    padding: 14px;
    background: #f7f8fa;
    color: #888c92;
    border-radius: 10px;
}

.review-write-notice strong {
    display: block;
    margin-bottom: 7px;
    color: #696c72;
    font-size: 12px;
}

.review-write-notice ul {
    margin: 0;
    padding-left: 15px;
}

.review-write-notice li {
    margin: 0;
    font-size: 11px;
    line-height: 1.55;
}

.review-write-notice li + li {
    margin-top: 3px;
}

.review-write-actions {
    display: flex;
    gap: 9px;
    padding-bottom: calc(6px + env(safe-area-inset-bottom));
}

.review-write-actions button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    border: 0;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

.btn-review-regist-cancel {
    flex: 0 0 30%;
    background: #e8e9ec;
    color: #666a70;
}

.btn-review-regist-process {
    flex: 1;
    background: #641799;
    color: #fff;
}

.btn-review-regist-process:visited,
.btn-review-regist-process:hover,
.btn-review-regist-process:focus,
.btn-review-regist-process:active {
    background: #641799;
    color: #fff;
}

.btn-review-regist-process:disabled,
.btn-review-regist-process.is-loading {
    background: #a681be;
    color: #fff;
    cursor: default;
}

@media (min-width: 769px) {
    .my-review-write-inner {
        padding: 24px;
    }

    .review-write-counselor-card,
    .review-write-reward-card,
    .review-write-form-card {
        padding: 22px;
    }

    .review-write-counselor-card .review-counselor-title h3 {
        font-size: 1.125rem;
    }

    .review-write-consultation-meta,
    .review-write-section-label,
    .review-write-reward-detail li,
    .review-write-form-head p {
        font-size: 13px;
    }

    .review-write-form-head label {
        font-size: 17px;
    }

    .review-write-textarea {
        min-height: 220px;
        font-size: 15px;
    }

    .review-write-actions button {
        height: 52px;
        font-size: 15px;
    }
}

@media (max-width: 360px) {
    .my-review-write-inner {
        padding: 12px;
    }

    .review-write-counselor-card,
    .review-write-reward-card,
    .review-write-form-card {
        padding: 15px;
    }

    .review-write-profile {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
        margin-right: 11px;
    }

    .review-write-consultation-meta {
        display: block;
    }

    .review-write-consultation-meta span {
        display: block;
    }

    .review-write-consultation-meta span + span {
        margin-top: 3px;
    }

    .review-write-consultation-meta span + span::before {
        display: none;
    }

    .review-write-actions {
        gap: 7px;
    }
}
/* =========================================================
   마이페이지 - 전문분야 추천
========================================================= */

.my-recomm-page {
    min-height: calc(100vh - 56px);
    padding: 0;
    background: #f6f7f9;
}

.my-recomm-header {
    border-bottom: 1px solid #ededed;
}

.my-recomm-inner {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 16px;
    box-sizing: border-box;
}

.recomm-intro-card {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding: 15px 17px;
    background: #fff;
    border: 1px solid #e9eaed;
    border-radius: 14px;
    box-sizing: border-box;
}

.recomm-intro-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    background: #f1eafa;
    color: #641799;
    font-size: 16px;
    font-weight: 800;
    border-radius: 50%;
}

.recomm-intro-card strong {
    display: block;
    color: #2c2e32;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

.recomm-intro-card p {
    margin: 4px 0 0;
    color: #92959a;
    font-size: 11px;
    line-height: 1.5;
}

.recomm-reward-card {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    margin-bottom: 18px;
    padding: 18px;
    background: #e0d6f1;
    border-radius: 14px;
    box-sizing: border-box;
}

.recomm-reward-label {
    margin: 0 0 6px;
    color: #6f6976;
    font-size: 12px;
    font-weight: 500;
}

.recomm-reward-value {
    display: flex;
    align-items: baseline;
    margin: 0;
    color: #191919;
}

.recomm-reward-value em {
    font-size: 23px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.recomm-reward-value span {
    margin-left: 4px;
    font-size: 14px;
    font-weight: 700;
}

.recomm-list-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 2px 11px;
}

.recomm-list-summary strong {
    color: #2b2d31;
    font-size: 15px;
    font-weight: 800;
}

.recomm-list-summary span {
    color: #96999f;
    font-size: 12px;
}

.recomm-list-summary em {
    color: #641799;
    font-style: normal;
    font-weight: 800;
}

.my-recomm-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.my-recomm-item {
    margin: 0 0 12px;
    list-style: none;
}

.my-recomm-card {
    padding: 18px;
    background: #fff;
    border: 1px solid #e9eaed;
    border-radius: 15px;
    box-shadow: 0 4px 14px rgba(23, 29, 38, 0.035);
    box-sizing: border-box;
}

.recomm-card-head {
    display: flex;
    align-items: center;
    min-width: 0;
}

.recomm-profile {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
    margin-right: 13px;
}

.recomm-card-head .review-counselor-title h3 {
    overflow: hidden;
    color: #202124;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.recomm-status {
    flex: 0 0 auto;
    margin-left: 9px;
    padding: 6px 9px;
    background: #f1eafa;
    color: #641799;
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
}

.recomm-status.is-complete {
    background: #eff0f2;
    color: #8c8f94;
}

.recomm-status.is-disabled {
    background: #f1f1f2;
    color: #999ca1;
}

.recomm-consultation-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 16px;
    padding: 12px 14px;
    background: #f7f8fa;
    color: #3f4247;
    font-size: 12px;
    border-radius: 10px;
}

.recomm-consultation-meta span {
    display: flex;
    align-items: center;
}

.recomm-consultation-meta span + span::before {
    display: inline-block;
    width: 1px;
    height: 12px;
    margin: 0 10px;
    background: #dfe1e5;
    content: '';
}

.recomm-consultation-meta b {
    margin-right: 5px;
    color: #989ba1;
    font-weight: 700;
}

.recomm-benefit {
    margin: 12px 0;
    padding: 12px 14px;
    background: #f1eafa;
    color: #5f5267;
    font-size: 13px;
    line-height: 1.4;
    border-radius: 10px;
}

.recomm-benefit strong {
    color: #641799;
    font-weight: 800;
}

.recomm-benefit.is-complete {
    background: #f3f4f6;
    color: #8c8f94;
    font-weight: 700;
}

.btn-recomm-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 44px;
    padding: 0;
    border: 0;
    background: #641799;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    cursor: pointer;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

.btn-recomm-action:visited,
.btn-recomm-action:hover,
.btn-recomm-action:focus,
.btn-recomm-action:active {
    background: #641799;
    color: #fff;
}

.btn-recomm-action.is-complete,
.btn-recomm-action.is-disabled {
    background: #e2e3e6;
    color: #96999f;
}

.btn-recomm-action.is-disabled {
    cursor: pointer;
}

.btn-recomm-action.is-complete.js-open-recomm-modal,
.btn-recomm-action.is-complete.js-open-recomm-modal:hover,
.btn-recomm-action.is-complete.js-open-recomm-modal:focus,
.btn-recomm-action.is-complete.js-open-recomm-modal:active {
    background: #f1eafa;
    border: 1px solid #d8c4e7;
    color: #641799;
    cursor: pointer;
}

.my-recomm-loading,
.my-recomm-empty,
.my-recomm-error,
.my-recomm-end {
    padding: 44px 18px;
    color: #8c9096;
    font-size: 13px;
    text-align: center;
}

.my-recomm-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 24px 18px;
}

.my-recomm-loading[hidden],
.my-recomm-empty[hidden],
.my-recomm-error[hidden],
.my-recomm-end[hidden] {
    display: none;
}

.recomm-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin: 0 auto 13px;
    background: #f1eafa;
    color: #641799;
    font-size: 23px;
    font-weight: 800;
    border-radius: 50%;
}

.my-recomm-empty strong {
    display: block;
    color: #3b3d41;
    font-size: 15px;
}

.my-recomm-empty p,
.my-recomm-error p {
    margin: 7px 0 0;
    line-height: 1.55;
}

.my-recomm-error button {
    margin-top: 12px;
    padding: 9px 14px;
    border: 1px solid #dedfe2;
    background: #fff;
    color: #555;
    font-size: 12px;
    border-radius: 8px;
}

.my-recomm-end {
    padding: 15px 18px 25px;
    color: #aaa;
    font-size: 11px;
}

.recomm-scroll-sentinel {
    width: 100%;
    height: 1px;
}

@media (min-width: 769px) {
    .my-recomm-inner {
        padding: 24px;
    }

    .recomm-intro-card,
    .recomm-reward-card,
    .my-recomm-card {
        padding: 22px;
    }

    .recomm-intro-card strong,
    .recomm-list-summary strong {
        font-size: 16px;
    }

    .recomm-intro-card p,
    .recomm-reward-label,
    .recomm-list-summary span,
    .recomm-consultation-meta,
    .recomm-benefit {
        font-size: 13px;
    }

    .recomm-profile {
        width: 64px;
        height: 64px;
        flex-basis: 64px;
        margin-right: 15px;
    }

    .recomm-card-head .review-counselor-title h3 {
        font-size: 1.125rem;
    }

    .btn-recomm-action {
        height: 47px;
        font-size: 15px;
    }
}

@media (max-width: 430px) {
    .recomm-consultation-meta {
        align-items: flex-start;
    }

    .recomm-consultation-meta span:last-child {
        width: 100%;
        margin-top: 6px;
    }

    .recomm-consultation-meta span:last-child::before {
        display: none;
    }
}

@media (max-width: 360px) {
    .my-recomm-inner {
        padding: 12px;
    }

    .recomm-intro-card,
    .recomm-reward-card,
    .my-recomm-card {
        padding: 15px;
    }

    .recomm-intro-card {
        align-items: flex-start;
    }

    .recomm-profile {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
        margin-right: 10px;
    }

    .recomm-status {
        padding: 5px 7px;
        font-size: 10px;
    }
}
/* =========================================================
   마이페이지 - 상담문의
========================================================= */

.my-reserv-page {
    min-height: calc(100vh - 56px);
    padding: 0;
    background: #f6f7f9;
}

.my-reserv-header {
    border-bottom: 1px solid #ededed;
}

.my-reserv-inner {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 16px;
    box-sizing: border-box;
}

.reserv-intro-card {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding: 15px 17px;
    background: #fff;
    border: 1px solid #e9eaed;
    border-radius: 14px;
    box-sizing: border-box;
}

.reserv-intro-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    background: #f1eafa;
    color: #641799;
    font-size: 17px;
    font-weight: 800;
    border-radius: 50%;
}

.reserv-intro-card strong {
    display: block;
    color: #2c2e32;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

.reserv-intro-card p {
    margin: 4px 0 0;
    color: #92959a;
    font-size: 11px;
    line-height: 1.5;
}

.reserv-list-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 2px 11px;
}

.reserv-list-summary strong {
    color: #2b2d31;
    font-size: 15px;
    font-weight: 800;
}

.reserv-list-summary span {
    color: #96999f;
    font-size: 12px;
}

.reserv-list-summary em {
    color: #641799;
    font-style: normal;
    font-weight: 800;
}

.my-reserv-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.my-reserv-item {
    margin: 0 0 12px;
    list-style: none;
}

.my-reserv-card {
    padding: 18px;
    background: #fff;
    border: 1px solid #e9eaed;
    border-radius: 15px;
    box-shadow: 0 4px 14px rgba(23, 29, 38, 0.035);
    box-sizing: border-box;
}

.reserv-card-head {
    display: flex;
    align-items: center;
    min-width: 0;
    margin-bottom: 16px;
}

.reserv-profile {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
    margin-right: 13px;
    text-decoration: none;
}

.reserv-card-head .review-counselor-title h3 {
    overflow: hidden;
    color: #202124;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.reserv-card-head .review-counselor-title h3 a {
    color: inherit;
    font: inherit;
    text-decoration: none;
}

.reserv-private-label {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 5px 0 0;
    color: #96999e;
    font-size: 11px;
    line-height: 1.4;
}

.reserv-private-label span {
    font-size: 10px;
}

.reserv-answer-status {
    flex: 0 0 auto;
    margin-left: 9px;
    padding: 6px 9px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
}

.reserv-answer-status.is-waiting {
    background: #fff3e8;
    color: #bd6b22;
}

.reserv-answer-status.is-complete {
    background: #f1eafa;
    color: #641799;
}

.reserv-question-box,
.reserv-answer-box {
    padding: 15px;
    border-radius: 11px;
    box-sizing: border-box;
}

.reserv-question-box {
    background: #f7f8fa;
    border: 1px solid #edeef1;
}

.reserv-answer-box {
    position: relative;
    margin-top: 12px;
    background: #f1eafa;
    border: 1px solid #e4d8f1;
}

.reserv-answer-box::before {
    position: absolute;
    top: -8px;
    left: 22px;
    width: 14px;
    height: 14px;
    background: #f1eafa;
    border-top: 1px solid #e4d8f1;
    border-left: 1px solid #e4d8f1;
    transform: rotate(45deg);
    content: '';
}

.reserv-message-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.reserv-message-head strong {
    color: #55585e;
    font-size: 12px;
    font-weight: 800;
}

.reserv-answer-box .reserv-message-head strong {
    color: #641799;
}

.reserv-message-head time {
    flex: 0 0 auto;
    color: #a0a3a8;
    font-size: 10px;
}

.reserv-message-body {
    overflow-wrap: anywhere;
    color: #3b3e43;
    font-size: 13px;
    line-height: 1.7;
    word-break: break-word;
}

.reserv-answer-box .reserv-message-body {
    color: #443b4b;
}

.reserv-waiting-guide {
    margin: 12px 0 0;
    padding: 11px 13px;
    background: #fff8f1;
    color: #a77649;
    font-size: 11px;
    line-height: 1.45;
    text-align: center;
    border-radius: 9px;
}

.my-reserv-loading,
.my-reserv-empty,
.my-reserv-error,
.my-reserv-end {
    padding: 44px 18px;
    color: #8c9096;
    font-size: 13px;
    text-align: center;
}

.my-reserv-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 24px 18px;
}

.my-reserv-loading[hidden],
.my-reserv-empty[hidden],
.my-reserv-error[hidden],
.my-reserv-end[hidden] {
    display: none;
}

.reserv-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin: 0 auto 13px;
    background: #f1eafa;
    color: #641799;
    font-size: 23px;
    font-weight: 800;
    border-radius: 50%;
}

.my-reserv-empty strong {
    display: block;
    color: #3b3d41;
    font-size: 15px;
}

.my-reserv-empty p,
.my-reserv-error p {
    margin: 7px 0 0;
    line-height: 1.55;
}

.my-reserv-error button {
    margin-top: 12px;
    padding: 9px 14px;
    border: 1px solid #dedfe2;
    background: #fff;
    color: #555;
    font-size: 12px;
    border-radius: 8px;
}

.my-reserv-end {
    padding: 15px 18px 25px;
    color: #aaa;
    font-size: 11px;
}

.reserv-scroll-sentinel {
    width: 100%;
    height: 1px;
}

@media (min-width: 769px) {
    .my-reserv-inner {
        padding: 24px;
    }

    .reserv-intro-card,
    .my-reserv-card {
        padding: 22px;
    }

    .reserv-intro-card strong,
    .reserv-list-summary strong {
        font-size: 16px;
    }

    .reserv-intro-card p,
    .reserv-list-summary span,
    .reserv-message-body {
        font-size: 14px;
    }

    .reserv-profile {
        width: 64px;
        height: 64px;
        flex-basis: 64px;
        margin-right: 15px;
    }

    .reserv-card-head .review-counselor-title h3 {
        font-size: 1.125rem;
    }

    .reserv-message-head strong {
        font-size: 13px;
    }

    .reserv-message-head time,
    .reserv-private-label,
    .reserv-waiting-guide {
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    .my-reserv-inner {
        padding: 12px;
    }

    .reserv-intro-card,
    .my-reserv-card {
        padding: 15px;
    }

    .reserv-intro-card {
        align-items: flex-start;
    }

    .reserv-profile {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
        margin-right: 10px;
    }

    .reserv-answer-status {
        padding: 5px 7px;
        font-size: 10px;
    }

    .reserv-question-box,
    .reserv-answer-box {
        padding: 13px;
    }

    .reserv-message-head {
        display: block;
    }

    .reserv-message-head time {
        display: block;
        margin-top: 4px;
    }
}
/* =========================================================
   마이페이지 - 내 쿠폰함
========================================================= */

.my-coupon-page {
    min-height: calc(100vh - 56px);
    padding: 0;
    background: #f6f7f9;
}

.my-coupon-header {
    border-bottom: 1px solid #ededed;
}

.my-coupon-inner {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 16px;
    box-sizing: border-box;
}

.coupon-register-card {
    margin-bottom: 16px;
    padding: 18px;
    background: #fff;
    border: 1px solid #e7e8eb;
    border-radius: 15px;
    box-shadow: 0 4px 14px rgba(23, 29, 38, 0.035);
    box-sizing: border-box;
}

.coupon-register-head strong {
    display: block;
    color: #24262a;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
}

.coupon-register-head p {
    margin: 5px 0 14px;
    color: #92959a;
    font-size: 11px;
    line-height: 1.45;
}

.coupon-input-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.coupon-input-wrap {
    position: relative;
    display: block;
    min-width: 0;
    flex: 1 1 auto;
}

.coupon-input-wrap input {
    width: 100%;
    height: 46px;
    padding: 0 42px 0 14px;
    background: #f8f8fa;
    border: 1px solid #dedfe3;
    color: #27292d;
    font-family: inherit;
    font-size: 13px;
    outline: 0;
    border-radius: 10px;
    box-sizing: border-box;
    transition: border-color .15s ease, background-color .15s ease;
}

.coupon-input-wrap input::placeholder {
    color: #a6a8ad;
}

.coupon-input-wrap input:focus {
    background: #fff;
    border-color: #641799;
}

.coupon-input-clear {
    position: absolute;
    top: 50%;
    right: 10px;
    display: none;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    background: #c9cbd0;
    border: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    border-radius: 50%;
    cursor: pointer;
    transform: translateY(-50%);
}

.coupon-input-wrap.has-value .coupon-input-clear {
    display: flex;
}

.btn-coupon-register {
    width: 72px;
    height: 46px;
    flex: 0 0 72px;
    padding: 0;
    background: #641799;
    border: 1px solid #641799;
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    box-sizing: border-box;
}

.btn-coupon-register:hover,
.btn-coupon-register:focus,
.btn-coupon-register:active,
.btn-coupon-register:visited {
    background: #641799;
    border-color: #641799;
    color: #fff;
}

.btn-coupon-register:disabled {
    opacity: .55;
    cursor: default;
}

.my-coupon-tabs {
    margin-bottom: 14px;
    padding: 6px;
    background: #ebecef;
    border-radius: 13px;
}

.my-coupon-tabs ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.my-coupon-tabs li {
    min-width: 0;
    flex: 1 1 50%;
    list-style: none;
}

.my-coupon-tabs button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    height: 44px;
    padding: 0 8px;
    background: transparent;
    border: 0;
    color: #85888d;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    box-sizing: border-box;
}

.my-coupon-tabs li.is-active button {
    background: #fff;
    color: #222428;
    box-shadow: 0 2px 7px rgba(22, 25, 31, .06);
}

.coupon-tab-count {
    color: #9a9da2;
    font-size: 12px;
    font-weight: 800;
}

.my-coupon-tabs li.is-active .coupon-tab-count {
    color: #641799;
}

.coupon-panel[hidden] {
    display: none !important;
}

.my-coupon-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.my-coupon-item {
    margin: 0 0 12px;
    list-style: none;
}

.my-coupon-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e7e8eb;
    border-radius: 15px;
    box-shadow: 0 4px 14px rgba(23, 29, 38, 0.035);
}

.coupon-card-main {
    display: flex;
    min-width: 0;
    padding: 18px;
    box-sizing: border-box;
}

.coupon-benefit {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    width: 82px;
    min-height: 80px;
    flex: 0 0 82px;
    margin-right: 15px;
    padding: 10px 6px;
    background: #f1eafa;
    color: #641799;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    word-break: keep-all;
    white-space: nowrap;
    border-radius: 12px;
    box-sizing: border-box;
}

.coupon-benefit strong,
.coupon-benefit span {
    flex: 0 0 auto;
    white-space: nowrap;
}

.coupon-card-info {
    min-width: 0;
    flex: 1 1 auto;
}

.coupon-card-info h3 {
    display: -webkit-box;
    overflow: hidden;
    margin: 4px 0 6px;
    color: #232529;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    word-break: keep-all;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.coupon-card-info p {
    margin: 0;
    color: #92959a;
    font-size: 11px;
    line-height: 1.5;
}

.coupon-state-badge {
    display: inline-flex;
    align-items: center;
    min-height: 23px;
    padding: 0 8px;
    background: #f1eafa;
    color: #641799;
    font-size: 10px;
    font-weight: 700;
    border-radius: 999px;
    box-sizing: border-box;
}

.coupon-card-period {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 18px;
    background: #fafafb;
    border-top: 1px solid #eff0f2;
    color: #777a80;
    font-size: 11px;
    line-height: 1.4;
    box-sizing: border-box;
}

.coupon-card-period b {
    margin-right: 6px;
    color: #a0a3a8;
    font-weight: 700;
}

.btn-coupon-use {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 66px;
    height: 32px;
    flex: 0 0 auto;
    padding: 0 12px;
    background: #641799;
    border: 1px solid #641799;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    box-sizing: border-box;
}

.btn-coupon-use:hover,
.btn-coupon-use:focus,
.btn-coupon-use:active,
.btn-coupon-use:visited {
    background: #641799;
    border-color: #641799;
    color: #fff;
    text-decoration: none;
}

.btn-coupon-use.is-disabled,
.btn-coupon-use.is-disabled:hover,
.btn-coupon-use.is-disabled:focus,
.btn-coupon-use.is-disabled:active {
    background: #e6e7e9;
    border-color: #e6e7e9;
    color: #999ca1;
    cursor: default;
}

.my-coupon-card.is-expired,
.my-coupon-card.is-used {
    background: #fbfbfc;
    box-shadow: none;
}

.my-coupon-card.is-expired .coupon-benefit,
.my-coupon-card.is-used .coupon-benefit {
    background: #eff0f2;
    color: #9b9ea3;
}

.my-coupon-card.is-expired .coupon-state-badge,
.my-coupon-card.is-used .coupon-state-badge {
    background: #eff0f2;
    color: #8d9095;
}

.my-coupon-card.is-expired .coupon-card-info h3,
.my-coupon-card.is-expired .coupon-card-info p,
.my-coupon-card.is-expired .coupon-card-period,
.my-coupon-card.is-used .coupon-card-info h3,
.my-coupon-card.is-used .coupon-card-info p,
.my-coupon-card.is-used .coupon-card-period {
    color: #a0a3a8;
}

.my-coupon-loading,
.my-coupon-empty,
.my-coupon-error,
.my-coupon-end {
    color: #96999f;
    font-size: 12px;
    text-align: center;
}

.my-coupon-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px 0;
}

.my-coupon-loading[hidden],
.my-coupon-empty[hidden],
.my-coupon-error[hidden],
.my-coupon-end[hidden] {
    display: none !important;
}

.my-coupon-loading .loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #e1d8ed;
    border-top-color: #641799;
    border-radius: 50%;
    box-sizing: border-box;
    animation: coupon-loading-spin .7s linear infinite;
}

@keyframes coupon-loading-spin {
    to {
        transform: rotate(360deg);
    }
}

.my-coupon-empty,
.my-coupon-error {
    margin-top: 2px;
    padding: 46px 20px;
    background: #fff;
    border: 1px solid #e7e8eb;
    border-radius: 15px;
    box-sizing: border-box;
}

.coupon-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 0 auto 11px;
    background: #f1eafa;
    color: #641799;
    font-size: 17px;
    font-weight: 800;
    border-radius: 50%;
}

.my-coupon-empty strong {
    display: block;
    color: #777a80;
    font-size: 13px;
    font-weight: 700;
}

.my-coupon-error p {
    margin: 0 0 12px;
}

.my-coupon-error button {
    height: 34px;
    padding: 0 14px;
    background: #fff;
    border: 1px solid #641799;
    color: #641799;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
}

.my-coupon-end {
    padding: 12px 0 2px;
}

.coupon-scroll-sentinel {
    width: 100%;
    height: 1px;
}

@media (min-width: 768px) {
    .my-coupon-inner {
        padding: 24px 22px;
    }

    .coupon-register-card {
        padding: 22px;
    }

    .coupon-register-head strong {
        font-size: 18px;
    }

    .coupon-register-head p,
    .coupon-card-info p,
    .coupon-card-period {
        font-size: 13px;
    }

    .coupon-input-wrap input,
    .btn-coupon-register,
    .my-coupon-tabs button {
        font-size: 15px;
    }

    .btn-coupon-register {
        width: 88px;
        flex-basis: 88px;
    }

    .coupon-card-main {
        padding: 22px;
    }

    .coupon-benefit {
        width: 102px;
        min-height: 94px;
        flex-basis: 102px;
        font-size: 22px;
    }

    .coupon-card-info h3 {
        font-size: 17px;
    }

    .coupon-state-badge,
    .btn-coupon-use {
        font-size: 13px;
    }

    .coupon-card-period {
        padding: 14px 22px;
    }
}

@media (max-width: 360px) {
    .my-coupon-inner {
        padding: 13px;
    }

    .coupon-register-card,
    .coupon-card-main {
        padding: 15px;
    }

    .coupon-input-row {
        gap: 6px;
    }

    .btn-coupon-register {
        width: 62px;
        flex-basis: 62px;
    }

    .coupon-benefit {
        width: 70px;
        flex-basis: 70px;
        margin-right: 11px;
        font-size: 16px;
    }

    .coupon-card-period {
        align-items: flex-start;
        flex-direction: column;
        padding: 12px 15px;
    }
}
/* =========================================================
   마이페이지 - 알림내역
========================================================= */

.my-alarm-page {
    min-height: calc(100vh - 56px);
    padding: 0;
    background: #f6f7f9;
}

.my-alarm-header {
    border-bottom: 1px solid #ededed;
}

.my-alarm-inner {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 16px;
    box-sizing: border-box;
}

.alarm-intro-card {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding: 16px 17px;
    background: #e0d6f1;
    border-radius: 14px;
    box-sizing: border-box;
}

.alarm-intro-icon,
.alarm-card-icon,
.alarm-empty-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #641799;
    border-radius: 50%;
    box-sizing: border-box;
}

.alarm-intro-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    background: #fff;
}

.alarm-intro-icon::before,
.alarm-card-icon::before,
.alarm-empty-icon::before {
    width: 12px;
    height: 14px;
    border: 2px solid currentColor;
    border-radius: 8px 8px 5px 5px;
    box-sizing: border-box;
    content: '';
}

.alarm-intro-icon::after,
.alarm-card-icon::after,
.alarm-empty-icon::after {
    position: absolute;
    bottom: 9px;
    width: 4px;
    height: 2px;
    background: currentColor;
    border-radius: 0 0 4px 4px;
    content: '';
}

.alarm-intro-card strong {
    display: block;
    color: #2a2630;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

.alarm-intro-card p {
    margin: 4px 0 0;
    color: #756f7b;
    font-size: 11px;
    line-height: 1.45;
}

.alarm-list-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 2px 11px;
}

.alarm-list-summary strong {
    color: #2b2d31;
    font-size: 15px;
    font-weight: 800;
}

.alarm-list-summary span {
    color: #96999f;
    font-size: 12px;
}

.alarm-list-summary em {
    color: #641799;
    font-style: normal;
    font-weight: 800;
}

.my-alarm-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.my-alarm-item {
    margin: 0 0 12px;
    list-style: none;
}

.my-alarm-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 18px;
    background: #fff;
    border: 1px solid #e7e8eb;
    border-radius: 15px;
    box-shadow: 0 4px 14px rgba(23, 29, 38, .035);
    box-sizing: border-box;
}

.my-alarm-item.is-unread .my-alarm-card {
    border-color: #ddd0eb;
    box-shadow: inset 3px 0 0 #641799, 0 4px 14px rgba(23, 29, 38, .035);
}

.alarm-card-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    background: #f1eafa;
}

.alarm-card-icon::after {
    bottom: 9px;
}

.my-alarm-item.is-unread .alarm-card-icon {
    background: #641799;
    color: #fff;
}

.alarm-card-body {
    min-width: 0;
    flex: 1 1 auto;
}

.alarm-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 7px;
}

.alarm-card-head time {
    color: #9a9da2;
    font-size: 10px;
    line-height: 1.4;
}

.alarm-new-badge {
    display: inline-flex;
    align-items: center;
    height: 23px;
    flex: 0 0 auto;
    padding: 0 8px;
    background: #f1eafa;
    color: #641799;
    font-size: 10px;
    font-weight: 800;
    border-radius: 999px;
    box-sizing: border-box;
}

.alarm-card-body h3 {
    margin: 0 0 7px;
    color: #25272b;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.45;
    word-break: keep-all;
}

.alarm-card-body p {
    overflow-wrap: anywhere;
    margin: 0;
    color: #686b71;
    font-size: 12px;
    line-height: 1.65;
    white-space: pre-line;
}

.my-alarm-loading,
.my-alarm-empty,
.my-alarm-error,
.my-alarm-end {
    color: #96999f;
    font-size: 12px;
    text-align: center;
}

.my-alarm-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px 0;
}

.my-alarm-loading[hidden],
.my-alarm-empty[hidden],
.my-alarm-error[hidden],
.my-alarm-end[hidden] {
    display: none !important;
}

.my-alarm-loading .loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #e1d8ed;
    border-top-color: #641799;
    border-radius: 50%;
    box-sizing: border-box;
    animation: alarm-loading-spin .7s linear infinite;
}

@keyframes alarm-loading-spin {
    to {
        transform: rotate(360deg);
    }
}

.my-alarm-empty,
.my-alarm-error {
    padding: 50px 20px;
    background: #fff;
    border: 1px solid #e7e8eb;
    border-radius: 15px;
    box-sizing: border-box;
}

.alarm-empty-icon {
    width: 46px;
    height: 46px;
    margin: 0 auto 13px;
    background: #f1eafa;
}

.alarm-empty-icon::after {
    bottom: 11px;
}

.my-alarm-empty strong {
    display: block;
    color: #696c72;
    font-size: 13px;
    font-weight: 700;
}

.my-alarm-empty p {
    margin: 6px 0 0;
    color: #a0a3a8;
    font-size: 11px;
}

.my-alarm-error p {
    margin: 0 0 12px;
}

.my-alarm-error button {
    height: 34px;
    padding: 0 14px;
    background: #fff;
    border: 1px solid #641799;
    color: #641799;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
}

.my-alarm-end {
    padding: 12px 0 2px;
}

.alarm-scroll-sentinel {
    width: 100%;
    height: 1px;
}

@media (min-width: 768px) {
    .my-alarm-inner {
        padding: 24px 22px;
    }

    .alarm-intro-card {
        padding: 20px;
    }

    .alarm-intro-card strong,
    .alarm-list-summary strong {
        font-size: 18px;
    }

    .alarm-intro-card p,
    .alarm-list-summary span,
    .alarm-card-body p,
    .alarm-card-head time {
        font-size: 14px;
    }

    .my-alarm-card {
        gap: 16px;
        padding: 22px;
    }

    .alarm-card-icon {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }

    .alarm-card-icon::after {
        bottom: 11px;
    }

    .alarm-card-body h3 {
        font-size: 1.125rem;
    }

    .alarm-new-badge {
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    .my-alarm-inner {
        padding: 13px;
    }

    .alarm-intro-card,
    .my-alarm-card {
        padding: 15px;
    }

    .my-alarm-card {
        gap: 10px;
    }

    .alarm-card-icon {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .alarm-card-icon::after {
        bottom: 7px;
    }
}

/* 상담사별 전문분야 추천 팝업 */
body.recomm-modal-open {
    overflow: hidden;
}

.recomm-select-modal[hidden] {
    display: none !important;
}

.recomm-select-modal {
    position: fixed;
    inset: 0;
    z-index: 10020;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    box-sizing: border-box;
}

.recomm-modal-dim {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    background: rgba(23, 20, 27, .58);
    border: 0;
    cursor: default;
}

.recomm-modal-container {
    position: relative;
    z-index: 1;
    overflow: hidden;
    width: 100%;
    max-width: 580px;
    max-height: calc(100vh - 36px);
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 18px 48px rgba(19, 15, 23, .22);
}

.recomm-modal-header {
    position: relative;
    padding: 20px 54px 17px 20px;
    border-bottom: 1px solid #ececf0;
}

.recomm-modal-header h3 {
    margin: 0;
    color: #641799;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
}

.recomm-modal-header p {
    margin: 6px 0 0;
    color: #85888e;
    font-size: 11px;
    line-height: 1.45;
}

.recomm-modal-header p strong {
    color: #43464b;
    font-weight: 700;
}

.recomm-modal-close {
    position: absolute;
    top: 17px;
    right: 16px;
    width: 34px;
    height: 34px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.recomm-modal-close::before,
.recomm-modal-close::after {
    position: absolute;
    top: 16px;
    left: 8px;
    width: 19px;
    height: 1px;
    background: #76797e;
    content: '';
}

.recomm-modal-close::before {
    transform: rotate(45deg);
}

.recomm-modal-close::after {
    transform: rotate(-45deg);
}

.recomm-modal-content {
    overflow-y: auto;
    max-height: calc(100vh - 140px);
    padding: 18px 16px 20px;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
}

.recomm-modal-guide {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 13px;
}

.recomm-modal-guide span {
    color: #6f7278;
    font-size: 12px;
}

.recomm-modal-guide strong {
    color: #9a9da2;
    font-size: 12px;
}

.recomm-modal-guide em {
    color: #641799;
    font-style: normal;
    font-size: 15px;
    font-weight: 800;
}

.recomm-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
}

.recomm-category-option {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 46px;
    padding: 8px 7px;
    background: #fff;
    border: 1px solid #dedfe3;
    border-radius: 10px;
    cursor: pointer;
    box-sizing: border-box;
    transition: border-color .15s ease, background-color .15s ease;
}

.recomm-category-option.is-checked {
    background: #f6f1fa;
    border-color: #641799;
}

.recomm-category-checkbox {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0 0 0 0);
}

.recomm-category-check {
    position: relative;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin-right: 5px;
    background: #fff;
    border: 1px solid #cfd1d5;
    border-radius: 5px;
    box-sizing: border-box;
}

.recomm-category-checkbox:checked + .recomm-category-check {
    background: #641799;
    border-color: #641799;
}

.recomm-category-checkbox:checked + .recomm-category-check::after {
    position: absolute;
    top: 2px;
    left: 5px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    content: '';
    transform: rotate(45deg);
}

.recomm-category-checkbox:focus + .recomm-category-check {
    outline: 2px solid rgba(100, 23, 153, .18);
    outline-offset: 2px;
}

.recomm-category-name {
    overflow: hidden;
    color: #3f4247;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.recomm-category-checkbox:checked ~ .recomm-category-name {
    color: #641799;
    font-weight: 800;
}

.recomm-category-loading,
.recomm-category-error {
    color: #96999f;
    font-size: 12px;
    text-align: center;
}

.recomm-category-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 150px;
}

.recomm-category-loading[hidden],
.recomm-category-error[hidden] {
    display: none !important;
}

.recomm-category-loading .loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #e1d8ed;
    border-top-color: #641799;
    border-radius: 50%;
    box-sizing: border-box;
    animation: recomm-modal-loading-spin .7s linear infinite;
}

@keyframes recomm-modal-loading-spin {
    to {
        transform: rotate(360deg);
    }
}

.recomm-category-error {
    padding: 42px 15px;
    background: #fafafb;
    border-radius: 10px;
}

.recomm-category-error p {
    margin: 0 0 11px;
}

.recomm-category-error button {
    height: 34px;
    padding: 0 14px;
    background: #fff;
    border: 1px solid #641799;
    color: #641799;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
}

.btn-recomm-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 46px;
    margin-top: 18px;
    padding: 0 12px;
    background: #641799;
    border: 1px solid #641799;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    border-radius: 10px;
    cursor: pointer;
    box-sizing: border-box;
}

.btn-recomm-submit:hover,
.btn-recomm-submit:focus,
.btn-recomm-submit:active {
    background: #641799;
    border-color: #641799;
    color: #fff;
}

.btn-recomm-submit:disabled {
    background: #e4e5e8;
    border-color: #e4e5e8;
    color: #999ca1;
    cursor: default;
}

@media (min-width: 769px) {
    .recomm-select-modal {
        padding: 30px;
    }

    .recomm-modal-header {
        padding: 25px 66px 20px 26px;
    }

    .recomm-modal-header h3 {
        font-size: 23px;
    }

    .recomm-modal-header p,
    .recomm-modal-guide span,
    .recomm-modal-guide strong {
        font-size: 14px;
    }

    .recomm-modal-close {
        top: 22px;
        right: 22px;
    }

    .recomm-modal-content {
        padding: 22px 26px 26px;
    }

    .recomm-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 11px;
    }

    .recomm-category-option {
        min-height: 52px;
        padding: 11px 13px;
    }

    .recomm-category-name {
        font-size: 16px;
    }

    .btn-recomm-submit {
        height: 52px;
        font-size: 16px;
    }
}
