/* Noto Sans KR ?�트 ?�포??*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700;800&display=swap');

:root {
    --main-green: #00b06b; /* PHYSIO CLASS 메인 초록??*/
    --light-gray: #f7f7f7;
    --dark-text: #333;
    --gray-text: #999;
}

/* report _detail.html: radar chart */
.radar-chart-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.radar-chart {
  width: 320px;
  max-width: 100%;
  height: auto;
  display: block;
  background: #fff;
  border-radius: 12px;
}

.container {
    padding: 0 !important;
    max-width: 420px; /* 모바???�면 ???�한 */
    margin: 0 auto;
    background-color: #fff; /* ?��? 콘텐�?배경??*/
    min-height: 100vh;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

body {
    /* ?�단 ?�백 ?�거 */
    padding-top: 0 !important; 
    
    /* ?�단 ?�터 ?�이 + ?�백만큼 ?�딩 추�? (가�?방�?) */
    padding-bottom: 80px !important;

    /* ?�크�?가?�하�??�정 */
    overflow-y: auto !important;
    height: auto !important;
}

.device-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.device-img {
    width: 80px;
    height: 150px;
    object-fit: contain;
}
.slider-info {
    font-size: 0.85em;
    text-align: left;
    line-height: 1.4;
    color: #a4e4c2;
    flex-grow: 1;
    margin-left: 20px;
}
.slider-info span {
    display: block;
}
.slider-dots {
    display: flex;
    gap: 5px;
    justify-content: center;
    margin-top: 15px;
}
.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #a4e4c2;
    opacity: 0.5;
}
.dot.active {
    opacity: 1;
    background-color: #fff;
}

/* 2. ?�단 메인 배너 (???��?지 ?��??? */
.ai-device-section {
    padding: 0 !important;       /* ?�백 ?�거 */
    background-color: transparent !important; /* 배경 ?�명 */
    position: relative;          /* ?�이지?�이??기�???*/
}

.ai-device-swiper .swiper-slide {
    padding: 0 !important;
    display: block;
}

.full-banner-img {
    width: 100%;
    display: block;              /* ?�단 미세 ?�백 ?�거 */
    height: auto;
}

/* 3. ?�이지?�이??(?�측 ?�단 ?�자: 2/5) */
.mainSwiper .swiper-pagination {
    position: absolute;
    left: auto !important;       /* ?�쪽 ?�렬 ?�제 */
    right: 20px !important;      /* ?�른쪽에??20px */
    bottom: 20px !important;     /* 바닥?�서 20px */
    width: auto !important;      /* ?�비 ?�동 */
    
    /* ?�약 모양 배경 */
    background-color: rgba(0, 0, 0, 0.4); 
    padding: 4px 12px;
    border-radius: 20px;
    
    /* 글???��???*/
    color: #fff !important;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    z-index: 10;
}

/* ?�자 ?�상 강제 ?�색 */
.mainSwiper .swiper-pagination span {
    color: #fff !important;
}


/* --- Main Menu (?�닝/보행) --- */
.main-menu-section {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    gap: 10px;
    background-color: #e4f3e6;
}
.menu-item-group {
    flex: 1;
    background-color: #fff;
    border-radius: 10px;
    padding: 15px;
    text-align: left;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.group-title {
    font-size: 1.1em;
    font-weight: 700;
}
.group-subtitle {
    font-size: 0.85em;
    color: #666;
    margin-bottom: 10px;
}
.menu-img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    object-fit: contain;
}

/* =================================================================
   [?�정] ?�체 측정�??�세 분석 (?�심 기능) ?�션 ?��???   ================================================================= */

.analysis-section {
    padding: 30px 20px;
    background-color: #fff;
    margin-top: 10px;
    border-radius: 20px 20px 0 0; /* ?�쪽�??��?�?(?�택?�항) */
}

/* ?�션 ?�더 (?�목 + ?�체보기) */
.analysis-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}
.analysis-section .section-title {
    font-size: 18px;
    font-weight: 700;
    color: #171717;
    margin-bottom: 5px;
}
.analysis-section .section-desc {
    font-size: 13px;
    color: #888;
}
.analysis-section .btn-more {
    font-size: 13px;
    color: #999;
    margin-top: 4px;
}

/* ?�이�?그리???�이?�웃 */
.analysis-grid-menu {
    display: flex;
    justify-content: space-between; /* ?�끝 ?�렬 �?균등 배분 */
    align-items: flex-start;
}

/* 개별 ?�이??*/
.analysis-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 22%; /* 4개니�???22%??차�? */
    text-align: center;
}

/* ?�이�?박스 (?�그?��? or ?�모) */
.analysis-item .icon-box {
    width: 60px;
    height: 60px;
    background-color: #f7f9fc; /* ?�한 ?�색/?�늘??배경 */
    border-radius: 20px;       /* ?�근 ?�각??(?�전 ?�형???�하�?50%) */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    transition: all 0.2s;
    color: #00b06b;            /* ?�이�??�상 (메인 그린) */
    font-size: 24px;
}

/* ?�버 ?�과 */
.analysis-item:active .icon-box {
    background-color: #e6f7ee; /* ?��?????진해�?*/
    transform: scale(0.95);
}

/* 메뉴 ?�름 */
.analysis-item .menu-name {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    letter-spacing: -0.5px;
}

/* --- Measurement Section (IMG ?�그 ?��??�링) --- */
.measurement-section {
    padding: 20px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}
.measurement-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}
.measurement-header h3 {
    font-size: 1.2em;
    font-weight: 700;
}
.more-link {
    font-size: 0.9em;
    color: #666;
}
.measurement-section .subtitle {
    font-size: 0.85em;
    color: #666;
    margin-bottom: 20px;
}
.measurement-icons {
    display: flex;
    justify-content: space-around;
    text-align: center;
}
.measure-item {
    font-size: 0.8em;
}

/* ?�색 배경 ?�형 ?�역 (icon-wrapper) */
.measure-item .icon-wrapper {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #e4f3e6;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 5px;
    border: 1px solid #ddd;
}

/* ?�이�??��?지 (<img src="...">) */
.measure-item .measure-icon {
    width: 60%;
    height: 60%;
    object-fit: contain;
}


/* 2. 롤링 배너 ?�용: ?�벤??멤버???�도 (?�크�?컨테?�너) */
.promotion-banner-wrapper {
    padding: 20px 0; 
    overflow: hidden;
}

/* ?�크�?가?�한 ?�퍼 (강제 ?�크�??�용) */
.promotion-scroll-wrapper {
    display: flex;
    overflow-x: scroll !important;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch; 
    gap: 10px; 
    padding: 0 20px; 
}
.promotion-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.promotion-banner {
    min-width: 90%;
    flex-shrink: 0;
    background-color: #fcf8e3; 
    padding: 15px 20px;
    border-radius: 10px;
    border: 1px solid #faebcc;
    scroll-snap-align: start;
    position: relative;
    display: block;
}

.promotion-banner-2 {
    background-color: #eaf8f8; 
    color: #333;
}
.promotion-banner-2 .banner-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: auto;
}

.banner-content .title {
    font-weight: 700;
    font-size: 1em;
    color: #171717;
    margin-bottom: 5px;
}
.banner-content .subtitle {
    font-size: 0.85em;
    color: #171717;
    margin-bottom: 10px;
}
.promotion-banner strong {
    font-weight: 700;
    color: #171717;
}

.progress-bar-wrapper {
    position: relative;
}
.progress-bar {
    background-color: #ddd;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}
.progress-fill {
    background-color: #00b06b;
    height: 100%;
    border-radius: 4px;
}
.progress-text {
    position: absolute;
    right: 0;
    top: -20px;
    font-size: 0.8em;
    color: #666;
}


/* 3. ?�심 기능 ?�보 ?�공: 카드 ?�라?�더 */
.core-info-slider {
    padding: 0 20px 20px;
    background-color: #fff;
    overflow: hidden;
}

/* ?�크�?가?�한 ?�퍼 (강제 ?�크�??�용) */
.slider-wrapper {
    display: flex;
    overflow-x: scroll !important;
    gap: 15px;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch; 
}
.slider-wrapper::-webkit-scrollbar {
    display: none;
}

.slide-card {
    min-width: 80%;
    flex-shrink: 0;
    background-color: #f7fcf9;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border: 1px solid #eee;
    scroll-snap-align: start;
}

.card-body {
    display: flex;
    align-items: center;
    text-align: left;
}
.character-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
    background-color: #fff;
    border: 1px solid #ddd;
}
.card-text {
    flex-grow: 1;
}
.score-badge {
    display: inline-block;
    background-color: #00b06b;
    color: #fff;
    font-weight: 700;
    font-size: 0.8em;
    padding: 3px 8px;
    border-radius: 5px;
    margin-bottom: 5px;
}
.card-title {
    font-weight: 700;
    font-size: 1.1em;
    margin: 0;
}
.card-desc {
    font-size: 0.85em;
    color: #666;
    margin-top: 5px;
    margin-bottom: 0;
}


/* --- Footer Navigation (mainhome.css???�해 관리됨) --- */
.footer-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 420px; 
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 60px;
    background-color: #fff;
    border-top: 1px solid #eee;
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.75em;
    color: #666;
    position: relative;
}

.center-item-nav {
    transform: translateY(-15px); 
}

.center-item-nav .icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #00b06b;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5px;
    color: #fff;
    font-size: 1.8em;
    box-shadow: 0 4px 8px rgba(0, 176, 107, 0.4);
}


/*
 * ========================================
 * 2. mypage.css ?�용 (mypage ?��??�이 home ?��?????��?�)
 * ========================================
 */


/* Header (home.css ?��?????��?�기) */
.header {
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 10px 20px; 
}

/* Main Content */
.content {
    padding-bottom: 20px; /* home.css??80px ??��?�기 */
}

/* Device Status Card */
.device-status-card {
    background-color: #fff;
    padding: 20px 0;
    text-align: center;
}

.device-info {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 25px;
}

.device-info .status-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.9em;
    font-weight: 500;
}
.device-info .status-item span:first-child {
    color: #171717;
}
.device-info .status-item span:last-child {
    color: #999;
    font-weight: 400;
    margin-top: 2px;
}

/* ?�결 ?��? ?�이�?(<img> ?�그 ?��??? */
.device-info .status-item img.bluetooth-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 5px;
    object-fit: contain;
}

.device-image-wrapper {
    width: 80px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.device-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 링크 ?�정 ?�른�??�살???�이�?*/
.link-settings {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-weight: 500;
    font-size: 0.9em;
}
.link-settings img.arrow-right-icon {
    width: 12px;
    height: 12px;
    margin-left: 5px;
    vertical-align: middle;
}


/* --- Icon Menu - 4�??�이�?메뉴 (?��?지 반영) --- */

.icon-menu-wrapper {
    background-color: #fff; /* 배경???�한 ?�색?�로 (본문�??�일) */
    padding: 10px 20px;        /* 카드 ?��? ?�백 */
    margin-bottom: 10px;
}

.icon-menu {
    display: flex;
    justify-content: space-between; /* ?�이??간격 균등 배치 */
    background-color: #fff;         /* 카드 배경 ?�색 */
    border-radius: 15px;            /* 모서�??��?�?*/
    box-shadow: 0 2px 8px rgba(0,0,0,0.03); /* ?�?�??그림??*/
    padding: 20px 0;                /* 카드 ?��? ?�하 ?�딩 (?�걸�??�이 조절) */
}

.icon-menu {
    display: flex;
    justify-content: space-between; /* ?�이??간격 균등 배치 */
    background-color: #FBFBFB;         /* 카드 배경 ?�색 */
    border-radius: 15px;            /* 모서�??��?�?*/
    box-shadow: 0 2px 8px rgba(0,0,0,0.03); /* ?�?�??그림??*/
    padding: 20px 0;                /* 카드 ?��? ?�하 ?�딩 (?�걸�??�이 조절) */
}

.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 25%;             /* 4개니�?25% */
    position: relative;     /* 구분??기�???*/
    cursor: pointer;
}

/* ?�로 구분??(?�직 중앙 ?�렬) */
.menu-item:not(:first-child)::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%); /* ?�확??가?�데 ?�도�?*/
    height: 30px;                /* 구분???�이 */
    width: 1px;
    background-color: #eee;      /* 구분???�상 */
}

/* ?�이�?감싸???�역 */
.menu-item .icon-img-circle {
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px; /* ?�이콘과 글???�이 간격 좁힘 */
}

/* ?�제 ?�이�??��?지 */
.menu-item .icon-img-circle img {
    width: 26px;        /* ?�이�??�기 */
    height: 26px;
    object-fit: contain;
}

/* 메뉴 ?�스??*/
.menu-item span {
    font-size: 13px;
    color: #333;
    font-weight: 600;   /* 글???�께�??�게 */
    letter-spacing: -0.5px;
    line-height: 1;
}


/* --- Membership Section --- */

.membership-section {
    background-color: #fff !important; /* 배경 ?�색 강제 ?�용 */
    padding: 10px 20px; /* 좌우 ?�백???�쪽 ?�이�?메뉴?� 맞춤 */
    margin-bottom: 10px; /* ?�래�??�션�?간격 */
}

.membership-button {
    width: 100%;
    padding: 15px;
    background-color: #00b06b;
    color: #fff;
    border: none;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1em;
    font-weight: 500;
}

.membership-button .membership-left {
    display: flex;
    align-items: center;
}

/* 멤버??뱃�? ?�이�?*/
.membership-button .membership-badge {
    width: 24px; 
    height: 24px;
    margin-right: 10px;
    vertical-align: middle;
    object-fit: contain;
}

/* --- Settings Section --- */

.settings-section {
    background-color: #fff;
    padding: 10px 0;
}

.setting-group {
    padding: 10px 0;
    margin-bottom: 10px;
}
.setting-group:last-of-type {
    margin-bottom: 0;
}


.setting-group .group-title {
    font-size: 1.1em;
    font-weight: 700;
    padding: 15px 20px 10px;
    color: #171717;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* ?��?지??맞춰 ??�� ?�로 간격 ?�조??*/
    padding: 10px 20px; 
    font-size: 1em;
    cursor: pointer;
    position: relative; /* ?�살???�치 기�???*/
}
.setting-item span {
    font-weight: 500;
}

/* ?��?�??�책 �?계정 ?�션 ?�른�??�살???��?지 ?��???(강제 ?�용) */
.setting-item img.arrow-right-gray-icon {
    width: 12px !important;
    height: 12px !important;
    opacity: 1 !important; 
    float: right;
    margin-left: 10px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}
/* ?�살??공간 ?�보 */
.setting-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
/* ?��????�함?�는 ?�정 ??��??간격 조정 */
.setting-item.with-toggle {
    justify-content: space-between;
}

/* ?��?지 기반?�로 로그?�웃/?�원?�퇴 ?�상 �?간격 ?�정 */
.setting-item.text-logout {
    color: #171717 !important; /* 강제 ?�용 */
    padding: 10px 20px; /* 간격 ?�조??*/
}

.setting-item.text-withdrawal {
    color: #999 !important; /* 강제 ?�용 */
    padding: 10px 20px; /* 간격 ?�조??*/
}

/* [?�정] ?�원?�퇴/로그?�웃 ?�스???�상 강제 ?�용 */
.setting-item.text-withdrawal span {
    color: #999 !important; /* ?�색 강제 ?�용 */
}

.setting-item.text-logout span {
    color: #171717 !important; /* 로그?�웃?� 진한 검??*/
}

/* Toggle Switch (?��? ?�위�? */
.switch {
    position: relative;
    display: inline-block;
    width: 45px;
    height: 25px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2.5px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #00b06b;
}

input:focus + .slider {
    box-shadow: 0 0 1px #00b06b;
}

input:checked + .slider:before {
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 25px;
}

.slider.round:before {
    border-radius: 50%;
}

/* =========================================
   [?�정] ?�단 배너 ?�이지?�이??(?�자 배�? ?��???
   ========================================= */

/* ?�단 배너 ?�의 ?�이지?�이???�치?� 모양 ?�기 */
.mainSwiper .swiper-pagination {
    position: absolute;
    left: auto !important;   /* ?�쪽 ?�렬 ?�제 */
    right: 20px !important;  /* ?�른쪽에??20px ?�어�?*/
    bottom: 20px !important; /* 바닥?�서 20px ?�어�?*/
    width: auto !important;  /* ?�비 ?�동 (글???�기??맞게) */
    
    /* 배�? ?�자??*/
    background-color: rgba(0, 0, 0, 0.4); /* 검?�???�명??40% */
    color: #fff;             /* 글?�색 ?�색 */
    padding: 4px 12px;       /* ?�쪽 ?�백 */
    border-radius: 20px;     /* ?�근 모서�?(?�약 모양) */
    font-size: 12px;         /* 글???�기 */
    font-weight: 500;
    z-index: 10;             /* ?��?지 ?�에 ?�도�?*/
    letter-spacing: 1px;     /* 글??간격 ?�짝 ?�우�?*/
}

/* ?�자 ?�이???�래??/) ?�상 조정???�요?�면 ?�용 (?�택?�항) */
.mainSwiper .swiper-pagination-fraction {
    /* ?�요???�트 조정 */
    font-family: 'Pretendard', sans-serif; 
}

/* =========================================
   [?�정] ?�이지?�이???�자 ?�상 강제 ?�용
   ========================================= */

/* 부�?.swiper-pagination) 뿐만 ?�니??
   ?�식 ?�소??span(?�자)까�? 모두 ?�색?�로 강제 지??*/

.mainSwiper .swiper-pagination,
.mainSwiper .swiper-pagination span, 
.mainSwiper .swiper-pagination-current,
.mainSwiper .swiper-pagination-total {
    color: #ffffff !important; /* 무조�??�색 */
}

/* 1. ?�치 ?�기 �??�약 모양 만들�?*/
.promoSwiper .promo-fraction {
    position: absolute;
    
    /* ???�심 ?�정: ?�른쪽을 ?��??�쪽?�로 붙임 ??*/
    right: auto !important; 
    left: 20px !important;  
    
    bottom: 15px !important; 
    width: auto !important;
    
    /* ?�자??(?�일 ?��?) */
    background-color: rgba(0, 0, 0, 0.4); 
    color: #fff !important;  
    padding: 4px 12px;       
    border-radius: 20px;     
    font-size: 11px;         
    font-weight: 500;
    z-index: 10;
    letter-spacing: 1px;
}
/* 2. ?�자 ?�상 강제 ?�색 지??*/
.promoSwiper .promo-fraction span {
    color: #fff !important;
}

.promotion-banner {
    padding-bottom: 60px !important; 
    position: relative; /* ?�이지?�이???�치 기�???*/
}

/* (?�택?�항) ?�스?��? ?�무 ?�로 붙�? ?�게 ?�체?�인 균형 조절 */
.promotion-banner .banner-content {
    margin-bottom: 10px;
}

/* ?�이지?�이???�치 ?�실?�게 고정 */
.promoSwiper .promo-fraction {
    left: 20px !important;   /* ?�쪽 ?�렬 */
    bottom: 20px !important; /* 바닥?�서 20px ?�로 */
    right: auto !important;  /* ?�른�??�렬 ?�제 */
}

/* =================================================================
   [PAGE] 분석 리포??& ?�세 리포??(report.html / detail.html)
   ================================================================= */

/* 리포???�이지 ?�용 컨테?�너 ?�정 */
.report-container {
    max-width: 420px;
    margin: 0 auto;
    min-height: 100vh;
    background: #f5f5f5; /* 기본 배경 ?�색 */
    position: relative;
    padding-bottom: 80px;
}

/* 1. 리포???�더 */
.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    height: 60px;
    background: #fff;
    border-bottom: 1px solid #eee;
}
.header-title { font-size: 18px; font-weight: 700; color: #171717; }
.header-btn { font-size: 20px; background: none; border: none; cursor: pointer; position: relative; color: #171717; }
.noti-dot {
    position: absolute; top: 0; right: 0;
    width: 5px; height: 5px; background-color: #ff3b30; border-radius: 50%;
}

/* 2. ??메뉴 */
.tab-menu { display: flex; background: #fff; border-bottom: 1px solid #eee; }
.tab-item {
    flex: 1; text-align: center; padding: 12px 0;
    font-size: 15px; color: #999; cursor: pointer; position: relative;
}
.tab-item.active { color: #171717; font-weight: 700; }
.tab-item.active::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 100%; height: 2px; background-color: #171717;
}

/* 3. 리포??콘텐�?공통 */
.content-area { padding: 30px 20px; background: #fff; min-height: calc(100vh - 110px); }
.section-title h2 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.section-title p { font-size: 13px; color: #888; margin-bottom: 25px; }

/* 리스??카드 공통 */
.report-card {
    border: 1px solid #eee; border-radius: 12px;
    padding: 20px; margin-bottom: 15px;
    background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    cursor: pointer; transition: all 0.2s;
}
.report-card.active { border: 1.5px solid #00b06b; box-shadow: 0 4px 12px rgba(0, 176, 107, 0.1); }

/* 카드 ?�더 */
.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.card-date { font-size: 15px; color: #555; font-weight: 500; }
.card-arrow { color: #999; font-size: 14px; }

/* [?�심 ?�정] 카드 바디: 블록 ?�태�?변경하??줄바�??�용 */
.card-body {
    display: block; /* 가�??�렬(flex) ?�제 -> ?�로�??�임 */
}

/* 개별 ?�이????�?(ROW) ?��???*/
.data-row {
    display: flex;       /* ?�이콘과 ?�스?�는 ?�으�??�열 */
    align-items: center; /* ?�직 중앙 ?�렬 */
    margin-bottom: 8px;  /* �?간격 */
    font-size: 15px;
    color: #333;
}
.data-row:last-child { margin-bottom: 0; } /* 마�?�?줄�? ?�백 ?�거 */

/* ?�이�??��???*/
.data-row img {
    width: 20px;           /* ?�이�??�비 고정 (?�절??조절 가?? */
    height: 20px;          /* ?�이�??�이 고정 */
    object-fit: contain;   /* ?��?지가 찌그?��?지 ?�고 비율 ?��? */
    margin-right: 10px;    /* ?�른�??�벨 ?�스?��???간격 */
    
    /* Flexbox ?�이???�에???�직 중앙 ?�렬??보조 */
    display: block;        /* ?�라???�소 간혹 ?�기???�단 ?�백 ?�거 */
}
.icon-blue { color: #4a90e2; }
.icon-orange { color: #f5a623; }

/* ?�스???��???*/
.data-row .label {
    color: #333; 
    margin-right: 10px; /* ?�벨�??�자 ?�이 간격 */
    font-weight: 400;
    min-width: 60px;    /* 글???�렬???�해 최소 ?�비 ?�보 (?�택?�항) */
}
.data-row .value {
    font-size: 17px;
    font-weight: 700;
    color: #171717;
    margin-right: 3px;
    font-family: 'Roboto', sans-serif;
}
.data-row .unit {
    font-size: 13px;
    color: #888;
    font-weight: 400;
}
.btn-more {
    display: block; width: 100%; text-align: center; padding: 15px;
    font-size: 14px; color: #999; background: none; border: none; cursor: pointer; margin-top: 10px;
}

/* 1. ?�단 ?�수 & 캐릭???�역 */
.hero-section {
    padding: 20px; display: flex; justify-content: space-between; align-items: flex-start;
}
.score-info { flex: 1; padding-top: 10px; }
.score-title { font-size: 16px; font-weight: 500; margin-bottom: 5px; color: #333; }
.score-val-wrap { display: flex; align-items: center; margin-bottom: 15px; }
.score-value { font-size: 36px; font-weight: 700; color: #00b06b; line-height: 1; }
.score-badge {
    font-size: 12px; color: #00b06b; background: #e6f7ee;
    padding: 3px 8px; border-radius: 4px; margin-left: 8px; font-weight: 500;
}
.score-desc { font-size: 13px; color: #666; margin-top: 20px; line-height: 1.6; }
.score-desc strong { color: #333; font-weight: 600; }

.char-box {
    width: 140px; background: #f0fdf6; border-radius: 12px;
    text-align: center; overflow: hidden; position: relative;
}
.char-img { width: 100%; margin-top: 15px; }
.char-btn {
    background: #00b06b; color: #fff; font-size: 13px; font-weight: 700;
    padding: 8px 0; width: 100%; display: block;
}

.info-text {
    font-size: 12px; color: #aaa; padding: 0 20px; margin-bottom: 30px; line-height: 1.4;
}

/* 2. ?�션 공통 ?��???*/
.section { padding: 0 20px; margin-bottom: 40px; }
.section-head { font-size: 18px; font-weight: 700; margin-bottom: 15px; }

/* 종합 ?��? 박스 */
.summary-box {
    background: #f7f8fa; padding: 20px; border-radius: 10px;
    font-size: 15px; line-height: 1.6; color: #333; text-align: justify;
}

/* 개선 권장 ?�항 */
.recommend-list { background: #f7f8fa; padding: 20px; border-radius: 10px; }
.recommend-item { display: flex; margin-bottom: 15px; font-size: 14px; line-height: 1.5; color: #333; }
.recommend-item:last-child { margin-bottom: 0; }
.num-circle {
    flex-shrink: 0; width: 22px; height: 22px; background: #00b06b;
    color: #fff; border-radius: 50%; text-align: center; line-height: 22px;
    font-size: 12px; font-weight: 700; margin-right: 10px; margin-top: 0px;
}

.num-circle2 {
    flex-shrink: 0; width: 22px; height: 22px; background: #00b06b;
    color: #fff; border-radius: 50%; text-align: center; line-height: 22px;
    font-size: 12px; font-weight: 700; margin-right: 10px; margin-top: 0px;
}

/* 3. 차트 & 분석 그리??*/
.radar-chart-area { text-align: center; padding: 20px 0; }
.chart-placeholder {
    width: 260px; height: 260px; margin: 0 auto 20px; position: relative;
    background-color: #f9f9f9; border-radius: 50%; /* ?�시 ?�형 배경 */
}
.chart-desc-box {
    background: #F5F3FF; padding: 15px; border-radius: 8px;
    font-size: 14px; color: #333; text-align: center; line-height: 1.4;
}

.detail-chart-box .chart-mock {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
  margin: 6px auto 0;
}

.sub-desc { font-size: 13px; color: #888; margin-bottom: 15px; display: block; margin-top: -10px; }
.analysis-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.analysis-card {
    background: #fff; border: 1px solid #eee; border-radius: 12px;
    padding: 15px; box-shadow: 0 2px 5px rgba(0,0,0,0.03); cursor: pointer; transition: transform 0.1s;
}
.analysis-card:active { transform: scale(0.98); }

.ac-head { display: flex; justify-content: space-between; font-size: 13px; color: #555; margin-bottom: 10px; }
.ac-content { display: flex; align-items: center; justify-content: space-between; }
.ac-val-wrap { text-align: right; }
.ac-val { font-size: 18px; font-weight: 700; color: #171717; }
.ac-unit { font-size: 12px; color: #999; }

/* 1. ?�더 ?�스?��? ?�이콘을 감싸??span??Flex�??�정?�여 ?�직 ?�렬 */
.ac-head span {
    display: flex;
    align-items: center; /* ?�직 중앙 ?�렬 ?�심 */
    font-weight: 500;
    color: #333;
}

/* 2. ?��?지 ?�이�??��????�의 */
.ac-head span img {
    width: 20px;         /* ?�이�??�비 */
    height: 20px;        /* ?�이�??�이 */
    object-fit: contain; /* ?��?지 비율 ?��? */
    margin-right: 6px;   /* ?�스?��???간격 */
    display: block;      /* ?�라???�소 ?�단 ?�백 ?�거 */
    
    /* 미세 ?�치 조정 (?�요 ?? */
    position: relative;
    top: -1px; 
}

/* CSS ?�형 차트 (?�넛) */
.donut-chart {
    width: 50px; height: 50px; border-radius: 50%; position: relative;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700;
}
.donut-chart::after {
    content: ''; position: absolute; width: 40px; height: 40px;
    background: #fff; border-radius: 50%;
}
.donut-text { position: relative; z-index: 2; }

/* ?�태�??�상 */
.state-good { background: conic-gradient(#00b06b 85%, #eee 0); color: #00b06b; }
.state-caution { background: conic-gradient(#ff6b00 40%, #eee 0); color: #ff6b00; }
.state-excellent { background: conic-gradient(#4a90e2 95%, #eee 0); color: #4a90e2; }

/* =========================================
   [POPUP] 바�? ?�트 (Bottom Sheet)
   ========================================= */
.modal-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6); z-index: 100;
    opacity: 0; visibility: hidden; transition: all 0.3s;
}
.bottom-sheet {
    position: fixed; bottom: 0; left: 0; right: 0;
    max-width: 420px; margin: 0 auto; background: #fff;
    border-radius: 20px 20px 0 0; z-index: 101;
    transform: translateY(100%); transition: transform 0.3s ease-in-out;
    padding-bottom: 30px; max-height: 90vh; overflow-y: auto;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.bottom-sheet.active { transform: translateY(0); }

.sheet-content { padding: 25px 20px; }
.sheet-title { font-size: 18px; font-weight: 700; margin-bottom: 20px; }

.detail-score-card {
    border: 1px solid #eee; border-radius: 12px; padding: 20px;
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.dsc-left { display: flex; align-items: center; }
.dsc-val { font-size: 32px; font-weight: 700; margin-left: 15px; }
.dsc-btn {
    background: #f5f5f5; border: none; padding: 5px 10px;
    font-size: 12px; border-radius: 4px; color: #666; cursor: pointer;
}

.info-accordion {
    background: #f9f9f9; border-radius: 10px; padding: 15px; margin-bottom: 30px;
}
.ia-head { font-weight: 700; margin-bottom: 8px; font-size: 15px; }
.ia-body { font-size: 14px; color: #555; line-height: 1.6; }
.ia-more { text-align: center; margin-top: 10px; font-size: 13px; color: #888; cursor: pointer; }

.detail-chart-box {
    background: #fff; border: 1px solid #eee; border-radius: 12px;
    padding: 20px; margin-bottom: 30px;
}
.dcb-head { display: flex; justify-content: space-between; margin-bottom: 15px; font-weight: 700; }
.chart-mock {
    width: 100%; height: 150px; border-radius: 8px;
    background: url('https://via.placeholder.com/400x150/f0fdf6/00b06b?text=Chart+Area') no-repeat center; background-size: cover;
}

.confirm-btn {
    width: 100%; padding: 16px; background: #051626;
    color: #fff; font-size: 16px; font-weight: 700;
    border: none; border-radius: 10px; cursor: pointer;
}

/* =================================================================
   [PAGE] ?�닝 모드 (running.html)
   ================================================================= */

/* ?�닝 ?�이지 ?�용 컨테?�너 (?�크 모드) */
.running-container {
    width: 100%; max-width: 420px; height: 100vh;
    background-color: #05081c; /* ?�크 ?�이�?배경 */
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; margin: 0 auto;
    color: #fff; /* 기본 ?�스???�색 */
}

/* ?�닝 ?�단�?*/
.status-bar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 20px; font-size: 14px; z-index: 10; color: #fff;
}
.status-center { display: flex; gap: 15px; font-size: 13px; }
.status-item { display: flex; align-items: center; gap: 5px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background-color: #00ffaa; }
.text-green { color: #00ffaa; }

/* ?�닝 ?�면 ?�환 공통 */
.screen {
    flex: 1; display: none;
    flex-direction: column; align-items: center; width: 100%;
    position: absolute; top: 0; left: 0; height: 100%;
}
.screen.active { display: flex; animation: fadeIn 0.5s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* [?�닝 ?�면 1] ?�작 */
#screen-start { justify-content: center; padding-bottom: 100px; }
.start-title { font-size: 32px; font-weight: 500; margin-bottom: 10px; color: #fff; }
.start-desc { font-size: 16px; color: #aaa; margin-bottom: 80px; }
.btn-start {
    width: 140px; height: 140px; border-radius: 50%; border: none;
    background: #00ffaa;
    /* box-shadow: 0 0 20px rgba(0, 255, 170, 0.4); */
    font-size: 24px; font-weight: 800; color: #000;
    cursor: pointer; transition: transform 0.1s;
}
.btn-start:active { transform: scale(0.95); }

/* [?�닝 ?�면 2] 카운?�다??*/
#screen-countdown { justify-content: center; padding-bottom: 100px; }
.countdown-circle-wrap {
    position: relative; width: 220px; height: 220px;
    display: flex; justify-content: center; align-items: center; margin-bottom: 40px;
}
.countdown-svg { transform: rotate(-90deg); width: 100%; height: 100%; }
.countdown-circle-bg { fill: none; stroke-width: 15; stroke-linecap: round; stroke: #1c2540; }
.countdown-circle-progress {
    fill: none; stroke-width: 15; stroke-linecap: round;
    stroke: #00ffaa; stroke-dasharray: 565; stroke-dashoffset: 0;
    transition: stroke-dashoffset 1s linear;
}
.countdown-num {
    position: absolute; font-size: 60px; font-weight: 300;
    font-family: 'Roboto', sans-serif; color: #fff;
}
.countdown-text { font-size: 24px; font-weight: 400; color: #fff; }

/* [?�닝 ?�면 3] 기록 �?*/
#screen-running { justify-content: space-between; padding-bottom: 40px; padding-top: 80px; }
.stats-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 30px;
    width: 100%; padding: 0 30px; text-align: center;
}
.stat-item { display: flex; flex-direction: column; align-items: center; }
.stat-icon { font-size: 20px; color: #8892b0; margin-bottom: 10px; }
.stat-val { font-size: 28px; font-weight: 700; margin-bottom: 5px; font-family: 'Roboto', sans-serif; color: #fff;}
.stat-label { font-size: 13px; color: #8892b0; }

.dots-indicator { display: flex; gap: 8px; margin: 20px 0; }
.slide-dot { width: 6px; height: 6px; border-radius: 50%; background: #333; }
.slide-dot.active { background: #00ffaa; }

.timer-display {
    font-size: 64px; font-weight: 700; color: #ffeb3b;
    font-family: 'Roboto', sans-serif; letter-spacing: 2px; margin-bottom: 20px;
}
.controls-area {
    display: flex; align-items: center; justify-content: center;
    gap: 30px; width: 100%; position: relative;
}
.btn-ctrl {
    border-radius: 50%; border: none; display: flex;
    justify-content: center; align-items: center; cursor: pointer; color: #fff;
}
.btn-stop { width: 65px; height: 65px; background-color: #8b2828; font-size: 24px; }
.btn-pause { width: 90px; height: 90px; background-color: #fff; color: #000; font-size: 32px; }
.btn-lock { width: 65px; height: 65px; background-color: rgba(255,255,255,0.1); border: 1px solid #444; font-size: 20px; color: #888; }
.lock-hint { position: absolute; bottom: -30px; right: 20px; font-size: 11px; color: #aaa; }

/* =========================================================
   ?�의 ?�이지 (node 1199:6428 / 1199:6399 기�?)
   ========================================================= */

body.consent-page {
    background-color: #ffffff;
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

/* ?�체 ?�이?�웃 */

.consent-container {
    max-width: 375px;
    margin: 0 auto;
    padding: 80px 24px 120px; /* ?�단 ?�태�??�더 고려, ?�단 버튼 ?�유 */
    box-sizing: border-box;
}

.consent-intro {
    text-align: center;
    margin-bottom: 32px;
}

.consent-title {
    font-size: 24px;
    font-weight: 600;
    color: #1d1d1d;
    line-height: 1.3;
    margin-bottom: 18px;
}

.consent-subtitle {
    font-size: 16px;
    color: #868a93;
    line-height: 1.3;
}

.consent-illustration {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

.consent-illustration img {
    max-width: 250px; /* ?�그�?width 250.405 근사 */
    width: 100%;
    height: auto;
}

/* 카드 공통 */

.consent-card {
    width: 100%;
    max-width: 327px;
    margin: 0 auto 8px;
    border-radius: 8px;
    overflow: hidden;
}

.consent-card--all {
    background-color: #f9f9f9;
    height: 55px;
    display: flex;
    align-items: center;
}

/* 개별 카드(?�명 배경??그�?�??�리??구조) */

.consent-list .consent-card {
    background-color: transparent;
    height: 55px;
    display: flex;
    align-items: center;
}

/* 체크박스 공통 구조 */

.consent-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 18px;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
}

.consent-checkbox__input {
    display: none;
}

.consent-checkbox__box {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    border: 0.67px solid #868a93;
    background-color: #ffffff;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* "?�체 ?�의" ?�벨 ?��???(SemiBold) */

.consent-checkbox--all .consent-checkbox__label-text {
    font-size: 18px;
    font-weight: 600;
    color: #111111;
    letter-spacing: -0.18px;
}

/* 개별 ?�의 ?�벨 (Medium ?�낌) */

.consent-checkbox--item .consent-checkbox__label-text {
    font-size: 16px;
    font-weight: 500;
    color: #181a1a;
    letter-spacing: -0.18px;
}

/* 체크 ?�이�?(공통) ??pseudo check */

.consent-checkbox__box::after {
    content: '';
    width: 10px;
    height: 6px;
    border-left: 2px solid transparent;
    border-bottom: 2px solid transparent;
    transform: rotate(-45deg);
    transform-origin: center;
}

/* =========================================================
   체크 ?�태 ???�그�??�성/비활???��???매핑
   ========================================================= */

/* 1) ?�체 ?�의 (1199:6399)
   - 비활?? ??배경 + ?�색 ?�두�?   - ?�성: #111 배경 + ?�색 체크
*/
.consent-checkbox--all .consent-checkbox__input:checked + .consent-checkbox__box {
    background-color: #111111;
    border-color: #111111;
}
.consent-checkbox--all .consent-checkbox__input:checked + .consent-checkbox__box::after {
    border-left-color: #ffffff;
    border-bottom-color: #ffffff;
}

/* 2) 개별 ?�의 (active ?�자?�의 초록 체크 ?�낌)
   - 비활?? ??배경 + ?�색 ?�두�?   - ?�성: ??배경 + 초록 ?�두�?+ 초록 체크
*/

.consent-checkbox--item .consent-checkbox__input:checked + .consent-checkbox__box {
    background-color: #ffffff;
    border-color: #12c46b; /* main green */
}

.consent-checkbox--item .consent-checkbox__input:checked + .consent-checkbox__box::after {
    border-left-color: #12c46b;
    border-bottom-color: #12c46b;
}

/* =========================================================
   ?�단 버튼 & iOS ???�디케?�터
   ========================================================= */

.consent-bottom {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100%;
    max-width: 375px;
    background-color: #ffffff;
    padding: 12px 20px 16px;
    box-sizing: border-box;
    z-index: 100;
}

/* ?�음 버튼 */

.consent-btn-next {
    width: 100%;
    height: 50px;
    border-radius: 8px;
    border: none;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    background-color: rgba(18, 196, 107, 0.6); /* 비활??(미동?? ?�태 ??*/
    cursor: default;
    transition: background-color 0.2s ease;
}

/* ?�성 ?�태 (?�체 ?�의 / ?�수?�의 모두 체크) */

.consent-btn-next.is-active {
    background-color: #12c46b; /* ?�그�??�성 버튼 */
    cursor: pointer;
}

/* ===========================
   ?�보??- 모드 ?�택 (?�반/?��???
   Figma node: 1199-6455, 1199-7007
   =========================== */

:root {
  --onboard-bg: #ffffff;
  --onboard-title-color: #1d1d1d;      /* "?�안?�게 ?�용?????�도�?.." */
  --onboard-subtitle-color: #868a93;   /* ?�브 카피 */
  --onboard-mode-title-color: #181a1a; /* "?�반 모드 / ?��???모드" */
  --onboard-mode-desc-color: #000000;
  --onboard-phone-outer-bg: #fafafa;   /* ?�드???� 배경 */
  --onboard-button-bg: #12c46b;        /* 모드 ?�택?�기 버튼 */
  --onboard-button-text: #ffffff;
  --onboard-dot-active: #12c46b;
  --onboard-dot-inactive: #d5d8de;
  --onboard-home-indicator: #232933;
}

/* ?�이지 ?�체 ?�퍼 */
.onboarding-mode {
  width: 100%;
  max-width: 375px; /* ?�제 ?�자????*/
  margin: 0 auto;
  background-color: var(--onboard-bg);
  min-height: 812px; /* iPhone ?�이 기�? */
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
}

/* ?��? ?�렬??*/
.onboarding-mode-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 96px 24px 24px; /* Figma: status bar(58) + ?�단?�백 근사 */
  width: 100%;
  box-sizing: border-box;
}

/* ?�단 ?�?��? ?�역 */
.onboarding-mode-header {
  text-align: center;
  max-width: 278px;
  margin: 0 auto 32px;
}

.onboarding-mode-title {
  font-family: "Pretendard", "Noto Sans KR", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600; /* SemiBold */
  font-size: 24px;
  line-height: 1.45;
  letter-spacing: -0.6px;
  color: var(--onboard-title-color);
  margin: 0 0 14px;
}

.onboarding-mode-subtitle {
  font-family: "Pretendard", "Noto Sans KR", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
  color: var(--onboard-subtitle-color);
  margin: 0;
}

/* ?�라?�더 ?�체 */
.onboarding-mode-carousel {
  width: 100%;
  margin-top: 8px;
}

/* ?�랙 : ?��?지 + ?�스?��? ???�씩 가�??�크�?*/
.onboarding-mode-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 0;
}

.onboarding-mode-track::-webkit-scrollbar {
  display: none;
}

/* �??�라?�드 ????*/
.onboarding-mode-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ?�드??mock ?�역 */
.onboarding-mode-phone {
  width: 213px;   /* Figma outer: 213 */
  height: 363px;  /* Figma outer: 363 */
  border-radius: 23px;
  background-color: var(--onboard-phone-outer-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
  margin: 0 auto 32px;
}

.onboarding-mode-phone img {
  display: block;
  width: 197px;    /* inner frame 근사�?*/
  height: auto;
  border-radius: 16px;
}

/* 모드 ?�름 + ?�명 */
.onboarding-mode-info {
  text-align: center;
  max-width: 298px;
}

.onboarding-mode-name {
  font-family: "Pretendard", "Noto Sans KR", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700; /* Bold */
  font-size: 22px;
  line-height: 1.45;
  letter-spacing: -0.6px;
  color: var(--onboard-mode-title-color);
  margin: 0 0 8px;
}

.onboarding-mode-desc {
  font-family: "Pretendard", "Noto Sans KR", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.35;
  color: var(--onboard-mode-desc-color);
  margin: 0;
}

/* ?�단 ?�이지 ?�디케?�터 (?�라?�드 ?�래 ?? */
.onboarding-mode-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
}

.onboarding-mode-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background-color: var(--onboard-dot-inactive);
}

.onboarding-mode-dot.is-active {
  width: 24px;
  border-radius: 999px;
  background-color: var(--onboard-dot-active);
}

/* ?�단 버튼 + ???�디케?�터 */
.onboarding-mode-footer {
  width: 100%;
  margin-top: auto;
  padding-top: 32px;
}

.onboarding-mode-footer {
  width: 100%;
  margin-top: auto;
  padding-top: 32px;
  text-align: center; /* 버튼 가?�데 ?�렬 */
}

.onboarding-mode-btn {
  display: inline-flex;              /* 가?�데 ?�렬 + ??�??��? */
  align-items: center;
  justify-content: center;
  width: 220px;                      /* 버튼 ???�넉?�게 */
  max-width: 100%;
  height: 52px;
  padding: 0 24px;                   /* ?�이??height�? 좌우�?padding */
  border-radius: 26px;
  border: none;
  background-color: var(--onboard-button-bg);
  color: var(--onboard-button-text);
  font-family: "Pretendard", "Noto Sans KR", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;                  /* SemiBold */
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;               /* 줄바�?금�? ????�??��? */
  cursor: pointer;
}

/* =========================================================
   Home ??Quick Menu (?�닝/보행/맞춤 ?�동)
   ========================================================= */

.home-container {
    max-width: 420px;
    margin: 0 auto;
    background-color: #ffffff;
    min-height: 100vh;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}


/* AI 맞춤 ?�동 ?�상: ?�단 ??공간 ?�거 */
body.main_home_body.ai-exercise-body {
    padding-bottom: 0 !important;
}

.home-quick-menu {
    padding: 16px 20px 8px;
    background-color: #ffffff;
}

.home-quick-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.home-quick-card {
    border: none;
    border-radius: 16px;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    cursor: pointer;
}

.home-quick-card--full {
    grid-column: span 2;
}

.home-quick-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.home-quick-title {
    font-size: 15px;
    font-weight: 700;
    color: #111111;
}

.home-quick-sub {
    font-size: 12px;
    color: #777777;
}

.home-quick-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

/* ?�단 메인 배너 fraction ?�치/?��???(2/5) */
.mainSwiper .main-hero-fraction {
    position: absolute;
    right: 20px !important;
    bottom: 20px !important;
    width: auto !important;
    background-color: rgba(0,0,0,0.4);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    z-index: 10;
}

.mainSwiper .main-hero-fraction span {
    color: #ffffff !important;
}

/* ?��? ?�로모션 배너 */
.promotion-banner-wrapper {
    padding: 16px 20px 8px;
}

.promotion-banner {
    position: relative;
    display: block;
    border-radius: 14px;
    padding: 16px 18px;
    background-color: #fff6c8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.promotion-banner-yellow {
    background-color: #ffe990;
}

.promotion-banner .banner-content .title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #171717;
}

.promotion-banner .banner-content .subtitle {
    font-size: 13px;
    color: #444444;
}

.promotion-banner .banner-illustration {
    position: absolute;
    right: 18px;
    bottom: 8px;
    width: 64px;
    height: auto;
}

/* "4/5" ?��? ?�약 */
.promo-progress {
    position: absolute;
    left: 16px;
    bottom: 10px;
}

.promo-step-pill {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    background-color: rgba(0,0,0,0.06);
    font-size: 11px;
    color: #555;
}

/* ?�터 ?��?지 블럭 */
.home-footer-section {
    padding: 20px 0 0;
}

.home-footer-img {
    width: 100%;
    display: block;
}



/* =========================================================
   [PAGE] Home (node-id: 1199-5613)
   - header/footer are separate components (padding handled globally)
   ========================================================= */

:root{
  --pc-green: #12c46b;
  --pc-text-900:#181a1a;
  --pc-text-800:#1d1d1d;
  --pc-text-600:#6b7280;
  --pc-text-500:#868a93;
  --pc-bg:#f5f6f7;
  --pc-card:#ffffff;
  --pc-line:#eef0f2;
  --pc-shadow: 0 2px 10px rgba(0,0,0,0.04);
  --pc-radius-lg: 18px;
  --pc-radius-md: 14px;
}

/* page base */
body.main_home_body{
  background: var(--pc-bg);
}

.container{
  padding: 0 !important;
  background: var(--pc-bg);
}

/* main content spacing */
.home-main{
  padding: 0 0 18px;
}

/* ---------------------------------------------------------
   Hero banner (top swiper)
   --------------------------------------------------------- */
.home-hero-swiper{
  width: 100%;
}

.home-hero-swiper .swiper-slide{
  padding: 0;
}

.home-hero-swiper .full-banner-img{
  width: 100%;
  display: block;
  height: auto;
}

/* 2/5 badge */
.home-hero-pagination{
  position: absolute;
  right: 16px;
  bottom: 14px;
  left: auto;
  width: auto;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,0.35);
  color: #fff !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  z-index: 10;
}
.home-hero-pagination span{ color:#fff !important; }

/* ---------------------------------------------------------
   Quick menu cards (?�닝/보행/맞춤?�동)
   --------------------------------------------------------- */
.home-quick-menu{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 12px;
  padding: 14px 16px 4px;
}

.quick-card{
  background: var(--pc-card);
  border-radius: var(--pc-radius-lg);
  box-shadow: var(--pc-shadow);
  border: 1px solid rgba(0,0,0,0.02);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 16px;
  text-decoration: none;
  color: inherit;
  min-height: 152px;
}

.quick-col{
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}

.quick-col .quick-card{
  min-height: 70px;
  align-items: center;
}

.quick-card__title{
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--pc-text-900);
}

.quick-card__desc{
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--pc-text-500);
  letter-spacing: -0.3px;
}

.quick-card__media{
  flex: 0 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  margin-left: 10px;
}

.quick-card__img{
  width: 92px;
  height: auto;
  object-fit: contain;
}

.quick-col .quick-card__img{
  width: 64px;
}

.quick-card--ai .quick-card__img{
  transform: translateY(4px);
}

.quick-card--running{
  position: relative;
  overflow: hidden; /* 카드 ?�에?�만 보이�?*/
}

.quick-card--running .quick-card__media{
  align-self: flex-end;        /* ?�래�?붙이�?*/
  margin-left: 12px;
}

.quick-card--running .quick-card__img{
  width: 128px;               /* ???�샷 ?�낌???�게 보이�?*/
  max-width: none;
  height: auto;
  object-fit: contain;
  transform: translate(-62px, 0px);; /* ?�른�??�래�??�짝 */
}

/* ---------------------------------------------------------
   Analysis / measurement section
   --------------------------------------------------------- */
.home-analysis{
  background: var(--pc-card);
  margin: 10px 0 0;
  padding: 22px 16px 18px;
}

.home-analysis__head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.home-analysis__title{
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--pc-text-800);
}

.home-analysis__sub{
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--pc-text-500);
  letter-spacing: -0.3px;
}

.home-analysis__more{
  margin-top: 2px;
  font-size: 14px;
  color: #9aa0a6;
  text-decoration: none;
  white-space: nowrap;
}

.home-analysis__grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding-top: 8px;
}

.home-analysis__item{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.home-analysis__icon{
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #f3f5f7;
  display: grid;
  place-items: center;
}

.home-analysis__icon img{
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
}

.home-analysis__label{
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: #2b2f33;
}

/* ---------------------------------------------------------
   Promo banner swiper (yellow)
   --------------------------------------------------------- */
.home-promo{
  padding: 14px 0 6px;
}

.home-promo-swiper{
  padding: 0 16px;
}

.home-promo-card{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 16px;
  padding: 18px 18px;
  min-height: 86px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.home-promo-card__title{
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.4px;
  color: #1d1d1d;
}

.home-promo-card__desc{
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: #1d1d1d;
}

.quick-card--running .quick-card__desc {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-promo-card--yellow{
  background: linear-gradient(135deg, #fff7a8 0%, #fff2a1 55%, #ffe6a9 100%);
}

.home-promo-card--mint{
  background: #eaf8f8;
}

.home-promo-card__icon{
  width: 44px;
  height: auto;
  object-fit: contain;
}

.home-promo-card__flare{
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 60%);
  pointer-events: none;
}

/* 4/5 badge on promo */
.promoSwiper .promo-fraction{
  position: absolute;
  left: 14px !important;
  right: auto !important;
  bottom: 12px !important;
  width: auto !important;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,0.28);
  color: #fff !important;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
  z-index: 5;
}
.promoSwiper .promo-fraction span{ color:#fff !important; }

/* ---------------------------------------------------------
   Core info card slider
   --------------------------------------------------------- */
.home-core{
  padding: 8px 0 12px;
  background: var(--pc-bg);
}

.home-core-swiper{
  padding: 0 16px 6px;
}

.home-core-card{
  display: block;
  background: var(--pc-card);
  border-radius: var(--pc-radius-lg);
  border: 1px solid #e7eaee;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.home-core-card__media{
  padding: 18px;
  background: #fbfbfb;
}

.home-core-card__img{
  width: 100%;
  height: 200px;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  background: #fff;
}

.home-core-card__body{
  padding: 18px 18px 20px;
}

.home-core-card__title{
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--pc-text-800);
}

.home-core-card__desc {
  height: 2.8em;                 /* line-height 1.4 × 2�?*/
  line-height: 1.4;
  overflow: hidden;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Prevent old styles from interfering on Home */
.main-menu-section,
.measurement-section,
.promotion-banner-wrapper,
.analysis-banner-section{
  display: none !important;
}

/* =========================================================
   AI 챗봇 (node-id=1199-15489 / 1199-15560 / 1199-15587 / 1199-15562)
   ========================================================= */
/* AI 챗봇 - page styles (keeps renewal_lee.css intact) */
:root{
  --ai-bg:#ffffff;
  --ai-text:#111;
  --ai-dim:#6B7280;
  --ai-purple-1:#EDE1FF;
  --ai-purple-2:#CBB3FF;
  --ai-purple-3:#8B5CFF;
  --ai-purple-4:#6F2BFF;
  --ai-navy:#0C1324;
  --ai-ring-track:#ECEBFF;
  --ai-shadow:0 14px 38px rgba(17,24,39,0.10);
}

.ai-chatbot-page{
  background:var(--ai-bg);
}

.ai-wrap{
  max-width:375px;
  margin:0 auto;
  min-height:100vh;
  display:flex;
  flex-direction:column;
  background:var(--ai-bg);
  color:var(--ai-text);
  font-family:"Noto Sans KR", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* top bar */
.ai-topbar{
  height:56px;
  padding:0 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.ai-topbar .ai-left,
.ai-topbar .ai-right{
  width:68px;
  display:flex;
  align-items:center;
  gap:14px;
}
.ai-topbar .ai-left{ justify-content:flex-start; }
.ai-topbar .ai-right{ justify-content:flex-end; }
.ai-topbar .ai-title{
  font-weight:700;
  font-size:16px;
  letter-spacing:-0.2px;
}
.ai-icon-btn{
  width:28px;height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  background:transparent;
  color:#111;
  cursor:pointer;
  padding:0;
}
.ai-icon-btn i{ font-size:18px; }

/* screens */
.ai-screen{
  flex:1;
  display:none;
  padding:28px 18px 24px;
  text-align:center;
}
.ai-screen.is-active{ display:block; }

.ai-prompt{
  font-size:22px;
  font-weight:800;
  line-height:1.45;
  letter-spacing:-0.5px;
  margin:44px 6px 22px;
}

.ai-orb{
  width:188px;
  height:188px;
  margin:0 auto;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#111;
  font-weight:700;
  letter-spacing:-0.2px;
  position:relative;
  background:
    radial-gradient(circle at 50% 45%,
      rgba(255,255,255,0.95) 0%,
      var(--ai-purple-1) 38%,
      var(--ai-purple-2) 72%,
      rgba(255,255,255,0.0) 100%);
  filter: blur(0);
}
.ai-orb::before{
  content:"";
  position:absolute;
  inset:-10px;
  border-radius:999px;
  background:
    radial-gradient(circle at 50% 50%,
      rgba(139,92,255,0.55) 0%,
      rgba(139,92,255,0.22) 40%,
      rgba(139,92,255,0.08) 62%,
      rgba(255,255,255,0) 78%);
  filter: blur(10px);
  z-index:-1;
  opacity:.9;
}
.ai-orb .ai-orb-text{
  font-size:16px;
  font-weight:700;
}
.ai-orb.is-quiet{ color:transparent; } /* ?�면1, ?�스???�음 */

/* audio reactive */
.ai-orb.is-audio{
  transform: scale(var(--ai-orb-scale, 1));
  transition: transform 120ms linear;
}
.ai-orb.is-audio::before{
  opacity: var(--ai-orb-glow, .9);
  transition: opacity 120ms linear;
}

/* bottom controls */
.ai-bottom{
  padding:14px 18px calc(22px + env(safe-area-inset-bottom));
  display:flex;
  flex-direction:column;
  gap:12px;
}
.ai-controls{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:22px;
}
.ai-small-circle{
  width:46px;
  height:46px;
  border-radius:999px;
  border:1px solid rgba(17,24,39,0.10);
  background:#fff;
  box-shadow:0 10px 22px rgba(17,24,39,0.06);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#111;
  cursor:pointer;
}
.ai-small-circle i{ font-size:18px; opacity:.75; }

.ai-mic{
  width:66px;
  height:66px;
  border-radius:999px;
  border:0;
  background:#fff;
  box-shadow:0 14px 26px rgba(17,24,39,0.10);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.ai-mic i{ font-size:26px; }

.ai-mic.is-listening{
  background:var(--ai-navy);
  color:#fff;
}
.ai-mic.is-listening .ai-wave{
  width:22px;height:22px;
  position:relative;
}
.ai-mic.is-listening .ai-wave span{
  position:absolute; bottom:0;
  width:4px; border-radius:2px;
  background:#fff;
  left:0;
  animation: aiWave 0.9s infinite ease-in-out;
}
.ai-mic.is-listening .ai-wave span:nth-child(2){ left:6px; animation-delay:0.1s; }
.ai-mic.is-listening .ai-wave span:nth-child(3){ left:12px; animation-delay:0.2s; }
.ai-mic.is-listening .ai-wave span:nth-child(4){ left:18px; animation-delay:0.15s; }

@keyframes aiWave{
  0%,100%{ height:6px; opacity:.55; }
  50%{ height:18px; opacity:1; }
}

.ai-hint{
  font-size:13px;
  color:rgba(17,24,39,0.55);
}

/* analysis screen */
.ai-ring-wrap{
  width:190px;height:190px;
  margin:24px auto 18px;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
}
.ai-ring{
  width:190px;height:190px;
  transform: rotate(-90deg);
}
.ai-ring circle{
  fill:none;
  stroke-width:16;
  stroke-linecap:round;
}
.ai-ring .track{ stroke:var(--ai-ring-track); }
.ai-ring .prog{ stroke:url(#aiGrad); }
.ai-percent{
  position:absolute;
  font-family:Roboto, system-ui, sans-serif;
  font-weight:900;
  font-size:38px;
  letter-spacing:-0.6px;
}

.ai-analyze-title{
  font-weight:900;
  font-size:22px;
  letter-spacing:-0.6px;
  margin:10px 0 10px;
}
.ai-analyze-desc{
  margin:0;
  color:rgba(17,24,39,0.55);
  font-size:13px;
  line-height:1.55;
}
.ai-analyze-wait{
  margin-top:14px;
  color:rgba(17,24,39,0.45);
  font-size:13px;
}

/* helper: keep content centered like figma */
.ai-center-stack{
  min-height: calc(100vh - 56px - 120px);
  display:flex;
  flex-direction:column;
  align-items:center;
}

/* ===== ?�닝(�??�면 START 버튼/배경) : node-id=1199-13894 ===== */
.run-wrap{ background: linear-gradient(176deg, #0F172B 0%, #020618 52%, #111C35 100%) !important; }
.run-start-btn{
  width:118px !important;
  height:118px !important;
  border-radius:999px !important;
  background: linear-gradient(309.144deg, rgba(108,55,232,1) 0%, rgba(1,251,138,1) 100%) !important;
  border:none !important;
  color:#101010 !important;
  font-family:"Fugaz One","Noto Sans KR", system-ui, -apple-system, Segoe UI, Roboto, sans-serif !important;
  font-size:28px !important;
  font-weight:400 !important;
  letter-spacing:.2px !important;
}

/* =========================================================
   [PAGE] ?�닝 ?�정 ?�면 (Running Settings) - node-id: ?�닝 ?�면_07
   ========================================================= */

/* ?�닝 ?�정 ?�이지 배경 */
.running-settings-container {
    max-width: 420px;
    margin: 0 auto;
    background-color: #ffffff;
    min-height: 100vh;
    position: relative;
}

/* ?�단 ?�비게이??�?(GNB) */
.settings-header {
    position: fixed;
    top: 0;
    max-width: 420px;
    width: 100%;
    height: 56px;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    z-index: 100;
    box-sizing: border-box;
}

.header-btn {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 20px;
}

.header-title {
    font-size: 20px;
    font-weight: 600;
    color: #1e1e1e;
}

/* ?�정 리스???�역 */
.settings-list {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 개별 ?�정 ?�이??(??�? */
.settings-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    height: 56px;
    background-color: #fff;
    box-sizing: border-box;
}

.settings-label {
    font-size: 18px;
    font-weight: 500;
    color: #222222;
}

/* "?�닝 종료?�기" ?�스??*/
.settings-row.action-row {
    cursor: pointer;
}
.settings-row.action-row:active {
    background-color: #f5f5f5;
}


/* --- [?�심] 리얼???��? ?�위�?(Figma ?�자??반영) --- */
.figma-switch {
    position: relative;
    display: inline-block;
    width: 52px;  /* ?�그�??�이�?*/
    height: 32px; /* ?�그�??�이�?*/
}

/* ?�제 체크박스???��? */
.figma-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* ?�라?�더 ?�랙 (배경) */
.figma-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #BEC5CC; /* 꺼졌?????�색 */
    transition: .3s;
    border-radius: 32px; /* ?�근 모양 */
}

/* ?��????�그?��? (?�잡?? */
.figma-slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
    /* 그림???�과 (?�그�?Drop Shadow) */
    box-shadow: 0 2px 4px rgba(0,0,0,0.2); 
}

/* 체크 ?�었????(ON ?�태) */
.figma-switch input:checked + .figma-slider {
    background-color: #03AC59; /* 켜졌????초록??*/
}

/* 체크 ?�었?????�그?��? ?�동 */
.figma-switch input:checked + .figma-slider:before {
    transform: translateX(20px); /* ?�른쪽으�?20px ?�동 */
}

/* =========================================================
   [PAGE] AI 맞춤 ?�동 (AI Custom Workout) - node-id: 1199-7007 ?�사
   ========================================================= */

/* ?�이지 기본 배경 �??�백 ?�정 */
.ai-workout-page {
    background-color: #FAFAFA; /* ?�체 배경??*/
    padding-bottom: 40px;
}

.ai-content {
    padding: 0 24px;
}

/* --- 1. ?�더 ?�역 --- */
.ai-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 20px;
    background: #fff;
    /* ?�단 고정???�요?�면 추�? */
    position: sticky;
    top: 0;
    z-index: 50;
}

.page-title {
    font-size: 18px;
    font-weight: 500;
    color: #181A1A;
    margin: 0;
}

.icon-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #1E1E1E;
    cursor: pointer;
    padding: 5px;
}

/* --- 2. ?�?��? ?�역 --- */
.title-area {
    margin-top: 24px;
    margin-bottom: 24px;
}

.title-area h2 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    color: #101828;
    margin-bottom: 8px;
}

.sub-desc {
    font-size: 14px;
    color: #444;
    margin: 0;
}

/* --- 3. 추천 ?�동 카드 (메인) --- */
.recommend-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 30px;
}

.card-img-box {
    width: 100%;
    height: 160px;
    background: #eee;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-info-box {
    padding: 16px;
}

.text-group {
    margin-bottom: 12px;
}

.card-title {
    font-size: 18px;
    font-weight: 500;
    color: #101828;
    margin-bottom: 4px;
}

.card-time {
    font-size: 14px;
    color: #6A7282;
}

.btn-start {
    width: 100%;
    height: 48px;
    background-color: #12C46B; /* 메인 그린 */
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
}

/* --- 4. 진행 ?�황 ?�션 --- */
.progress-area {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.05);
    padding: 20px 16px;
    margin-bottom: 30px;
}

.section-head h3 {
    font-size: 18px;
    font-weight: 500;
    color: #101828;
    margin-bottom: 15px;
}

.progress-status {
    font-size: 15px;
    color: #4A5565;
    margin-bottom: 12px;
}

.progress-track {
    width: 100%;
    height: 12px;
    background-color: #E5E7EB;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background-color: #00BC7D;
    border-radius: 10px;
}

.progress-detail {
    font-size: 13px;
    color: #6A7282;
}

/* --- 5. 주차�?리스???�션 (??& 리스?? --- */
.weekly-list-area h3 {
    font-size: 20px;
    font-weight: 600;
    color: #262C31;
    margin-bottom: 12px;
}

/* ??버튼 그룹 */
.week-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 7px 16px;
    font-size: 15px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    background-color: #E5E7EB; /* 기본 ?�색 */
    color: #364153;
    font-weight: 400;
    transition: all 0.2s;
}

/* ?�성?�된 ???��???*/
.tab-btn.active {
    background-color: #000; /* ?�성 검??*/
    color: #fff;
    font-weight: 600;
}

/* ?�동 리스???�이??*/
.exercise-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.exercise-item {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 0 4px rgba(0,0,0,0.05);
    gap: 12px;
}

.item-thumb {
    width: 80px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #ddd;
    flex-shrink: 0;
}

.item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

/* ?�태 뱃�? 공통 */
.status-badge {
    display: inline-block;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 600;
    border-radius: 4px;
    width: fit-content;
}

/* ?�료 뱃�? (?�랑) */
.badge-complete {
    background-color: rgba(208, 233, 255, 0.9); /* #D0E9FF */
    color: #336EF9;
}

/* 진행�?뱃�? (주황) */
.badge-ing {
    background-color: rgba(254, 240, 215, 0.9); /* #FEF0D7 */
    color: #EE8B11;
}

.item-title {
    font-size: 16px;
    font-weight: 500;
    color: #101828;
    margin: 0;
    line-height: 1.3;
}

.item-tag {
    font-size: 12px;
    color: #6A7282;
}

.btn-view {
    background: none;
    border: none;
    color: #009966;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
}

/* =========================================================
   [PAGE] 링크 ?�정 (node-id: 1199-13955)
   - header/footer???��? 컴포?�트
   ========================================================= */

/* ???�이지??배경???�색???�자?�이??main_home_body???�색 배경????��?� */
body.main_home_body.link-setting-body {
  background: #ffffff;
}
body.main_home_body.link-setting-body .container {
  background: #ffffff;
    padding: 0 !important;

}

/* 공통 ?�션 ?�딩 */
.link-setting-section {
  padding: 20px;
}

/* -------------------------
   ?�단: 링크 ?�착 가?�드 카드
   ------------------------- */
.link-guide-card {
  background: #ffffff;
  border: 1px solid #eef0f2;
  border-radius: 16px;
  padding: 20px;
}

.link-guide-title {
  font-size: 18px;
  font-weight: 700;
  color: #181a1a;
  margin: 0 0 6px;
  letter-spacing: -0.3px;
}

.link-guide-desc {
  font-size: 14px;
  font-weight: 500;
  color: #868a93;
  margin: 0 0 16px;
  line-height: 1.35;
}

/* CTA 버튼 */
.link-guide-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  border-radius: 12px;
  background: #1c1c1e;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

/* -------------------------
   링크 관�?리스??   ------------------------- */
.link-manage-title {
  font-size: 18px;
  font-weight: 700;
  color: #181a1a;
  margin: 0;
  padding: 0 20px 12px;
  letter-spacing: -0.3px;
}

.link-manage-list {
  list-style: none;
  margin: 0;
  padding: 0 20px 20px;
}

.link-manage-item {
  padding: 14px 0;
}

.link-manage-item + .link-manage-item {
  border-top: 1px solid #eef0f2;
}

.link-manage-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
}

.link-manage-text {
  font-size: 16px;
  font-weight: 500;
  color: #181a1a;
  letter-spacing: -0.2px;
}

.link-manage-sub {
  margin: 6px 0 0;
  font-size: 13px;
  color: #868a93;
  line-height: 1.35;
}

/* ?��?지 ?�이�??�이???�는 chevron */
.link-chevron {
  font-size: 18px;
  color: #999;
  line-height: 1;
}

/* =========================================================
   [PAGE] ?�용 가?�드 - ?�계 ?�상 가?�드 (node-id: 1199-14248)
   - header/footer???��? 컴포?�트
   ========================================================= */

body.main_home_body.guide-body {
  background: #ffffff;
}

body.main_home_body.guide-body .container {
  background: #ffffff;
    padding: 0 !important;

}

/* 리스???�체 ?�퍼 */
.guide-steps {
  padding: 20px 0; /* ?�자?? ?�단 20px */
}

/* �??�계 블록 */
.guide-step {
  background: #ffffff;
}

/* ?�계 ?�더(?�목/?�명/뱃�?) */
.guide-step__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 24px;          /* ?�자??근사 */
  min-height: 69px;           /* ?�자??근사 */
}

.guide-step__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.guide-step__title {
  font-size: 18px;
  font-weight: 700;           /* SemiBold ?�낌 */
  color: #191919;
  letter-spacing: -0.4px;
  margin: 0;
  line-height: 1.4;
}

.guide-step__desc {
  font-size: 16px;
  font-weight: 400;
  color: #61828a;
  margin: 0;
  line-height: 20px;
  word-break: keep-all;
}

/* ?�연�??�요??pill */
.guide-step__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 31px;
  padding: 0 15px;
  border-radius: 999px;
  background: #ffebeb;
  color: #e53935;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

/* ?�계 ?��?지 ?�역 */
.guide-step__media {
  padding: 15px 24px;         /* ?�자?? px 24 / py 15.385 근사 */
}

.guide-step__img {
  width: 100%;
  height: 193px;              /* ?�자?? 193.269 */
  border-radius: 12px;        /* ?�자?? 11.538 근사 */
  object-fit: cover;
  display: block;
  background: #121717;        /* 로딩/?��?지 ?�패 ?��?*/
}

/* ?�계 �?구분(?�자?��? gap 3px ?�낌?�라 ?��? 구분???�백?�로 처리) */
.guide-step + .guide-step {
  border-top: 1px solid #f1f2f4;
}

/* =========================================================
   [PAGE] ?�결 ?�역 ?�인 (node-id: 1199-13989)
   - header/footer???��? 컴포?�트
   ========================================================= */

body.main_home_body.connect-history-body {
  background: #ffffff;
}
body.main_home_body.connect-history-body .container {
  background: #ffffff;
    padding: 0 !important;

}

/* ?�단 ?�약 박스 */
.conn-summary {
  padding: 20px 24px 0;
}

.conn-summary__box {
  background: #f9fafb;
  border-radius: 8px;
  padding: 6px 8px;
  height: 43px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.conn-summary__left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.conn-summary__icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

.conn-summary__label {
  font-size: 16px;
  font-weight: 500;
  color: #0a1f29;
  line-height: 1.45;
  white-space: nowrap;
}

.conn-summary__count {
  font-size: 16px;
  font-weight: 700;
  color: #181a1a;
  line-height: 1.45;
  white-space: nowrap;
}

.conn-summary__note {
  margin: 10px 0 0;
  font-size: 14px;
  color: #4b5563;
  letter-spacing: -0.14px;
}

/* ?�션 공통 */
.conn-section {
  padding: 0 24px;
  margin-top: 22px;
}

.conn-section__head {
  padding: 0 6px;
  margin-bottom: 16px;
}

.conn-section__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #191919;
  letter-spacing: -0.408px;
  line-height: 1.4;
}

.conn-section__desc {
  margin: 4px 0 0;
  font-size: 15px;
  color: #444;
  line-height: 20px;
}

/* 카드 리스??*/
.conn-card-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 기기 카드 공통 */
.device-card {
  border-radius: 14px;
  padding: 20px 16px;
}

.device-card__name {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.3;
}

.device-card__mac {
  margin: 4px 0 0;
  font-size: 16px;
  color: #1a1a1a;
  line-height: 1.4;
}

.device-card__meta {
  margin-top: 12px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.device-card__meta-item {
  font-size: 14px;
  color: #6a7282;
  line-height: 1.45;
}

/* ?�재 ?�결 카드(초록 ?�두�? */
.device-card--connected {
  border: 1px solid #10c46b;
  background: #ffffff;
}

/* 과거 ?�역 카드(?�색 배경/?�두�? */
.device-card--history {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

/* 카드 ?�단 버튼 공통 */
.device-card__btn {
  width: 100%;
  height: 33.35px;
  border-radius: 8px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

/* ?�결 ?�제 */
.device-card__btn--disconnect {
  background: #fff5f5;
  border: none;
  color: #d9534f;
}

/* ?�시 ?�결?�기 */
.device-card__btn--reconnect {
  background: #ffffff;
  border: 0.5px solid rgba(212,212,212,0.5);
  color: #444;
}

/* ?�단 ?�백(footer 컴포?�트 공간) */
.connect-history-bottom-space {
  height: 20px;
}

/* =========================================================
   [PAGE] 구독?�랜01 (node-id: 1199-14942)
   - header/footer???��? 컴포?�트
   ========================================================= */

body.main_home_body.sub-plan-body,
body.main_home_body.sub-plan-body .container {
  background: #ffffff;
    padding: 0 !important;

}

/* ?�역 img/button ?�향 방�? */
body.main_home_body.sub-plan-body .sub-plan-page img {
  width: auto;
  height: auto;
  max-width: 100%;

  object-fit: contain;
  border-radius: 0;
}

body.main_home_body.sub-plan-body .sub-plan-page img.sub-plan-card__brand {
  height: 20px;
  width: auto;
  max-width: none;
  margin-left: 0;
  margin-right: auto;
}

body.main_home_body.sub-plan-body .sub-plan-page button {
  font: inherit;
}

/* ?�?��? */
.sub-plan-page .sub-plan-title {
  padding: 20px 24px 0;
}

.sub-plan-page .sub-plan-title__text {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.408px;
  color: #191919;
}

/* ?�단 카드 */
.sub-plan-page .sub-plan-card {
  max-width: 327px;
  margin: 22px auto 0;
  background: #f8f8fa;
  border: 0.7px solid rgba(208, 208, 208, 0.6);
  border-radius: 16px;
  padding: 18px;

  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sub-plan-page .sub-plan-card__brand {
  height: 20px;
  width: auto;
  display: block;
}

.sub-plan-page .sub-plan-divider {
  border-top: 1px solid rgba(208, 208, 208, 0.6);
}

/* ?�랜 ?�보 */
.sub-plan-page .sub-plan-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sub-plan-page .sub-plan-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.sub-plan-page .sub-plan-name {
  margin: 0;
  font-weight: 700;
  color: #181a1a;
  line-height: 1.45;
  letter-spacing: -0.2px;
}

.sub-plan-page .sub-plan-name__main {
  font-size: 16px;
}

.sub-plan-page .sub-plan-name__sub {
  font-size: 14px;
  font-weight: 700;
}

.sub-plan-page .sub-plan-price {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 18.75px;
  color: #181a1a;
  white-space: nowrap;
}

.sub-plan-page .sub-plan-next {
  margin: 0;
  font-size: 14px;
  color: #6a7282;
  line-height: 1.45;
}

/* CTA */
.sub-plan-page .sub-plan-cta {
  width: 100% !important;
  height: 48px;
  border: 0 !important;
  border-radius: 8px;
  background: #12c46b !important;
  color: #ffffff !important;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

/* ?�단 링크 리스??*/
.sub-plan-page .sub-plan-links {
  margin-top: 24px;
}

.sub-plan-page .sub-plan-links__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sub-plan-page .sub-plan-links__item {
  padding: 0 24px;
}

.sub-plan-page .sub-plan-link {
  width: 100%;
  min-height: 40px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  text-decoration: none;
  color: inherit;
}

.sub-plan-page .sub-plan-link__text {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.408px;
  color: #222;
}

.sub-plan-page .sub-plan-link__text--regular {
  font-weight: 400;
}

.sub-plan-page .sub-plan-chevron {
  font-size: 20px;
  color: #222;
  line-height: 1;
}

/* =========================================================
   [PAGE] 구독?�랜02 (node-id: 1199-14981)
   - header/footer???��? 컴포?�트
   ========================================================= */

body.main_home_body.sub-plan2-body,
body.main_home_body.sub-plan2-body .container {
  background: #000000;
    padding: 0 !important;

}

/* ?�역 img ?�향 최소??(???�이지 ?�코?? */
body.main_home_body.sub-plan2-body .sub-plan2-page img {
  width: auto;
  height: auto;
  max-width: none;
  border-radius: 0;
  object-fit: contain;
}

/* ?�이지 ?�퍼 */
.sub-plan2-page {
  padding: 24px 0 36px;
}

/* ?�단 ?�?��?/?�브 */
.sub-plan2-hero {
  text-align: center;
  padding: 0 24px;
  margin-top: 180px;
  margin-bottom: 200px;
}

.sub-plan2-quote {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.6;
  color: #f8f8f8;
}

.sub-plan2-title {
  margin: 16px 0 6px;
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
}

.sub-plan2-underline {
  width: 177px;
  height: 16px;
  display: block;
  margin: 0 auto 18px;
}

.sub-plan2-divider {
  width: 84px;
  height: 1px;
  background: rgba(255,255,255,0.35);
  margin: 18px auto 22px;
}

.sub-plan2-desc {
  margin: 0 auto;
  max-width: 333px;
  font-size: 18px;
  line-height: 1.6;
  color: #f8f8f8;
}

/* 카드 리스??*/
.sub-plan2-list {
  margin-top: 40px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.plan2-card {
  background: #0f1b27;
  border-radius: 10px;
  padding: 20px 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.plan2-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 15px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.plan2-headline {
  margin: 14px 0 0;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}

.plan2-price {
  margin: 12px 0 8px;
  text-align: center;
  color: #ffffff;
  font-size: 31px;
  font-weight: 700;
  line-height: 1.4;
}

.plan2-price small {
  font-size: 13px;
  font-weight: 600;
  color: #f1f7ff;
}

.plan2-rule {
  margin: 10px 0 14px;
  height: 1px;
  background: rgba(255,255,255,0.18);
}

.plan2-features {
  margin: 0;
  padding: 0 0 0 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plan2-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.4;
}

.plan2-check {
  width: 14px !important;
  height: 14px !important;
  flex: 0 0 auto;
}

.plan2-btn {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 8px;
  margin-top: 18px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

/* ?�랜�?컬러 */
.plan2-free .plan2-badge { background: rgba(9,244,221,0.6); }
.plan2-free .plan2-headline { color: #09f4dd; }
.plan2-free .plan2-btn { background: #0b9d94; }

.plan2-light .plan2-badge { background: rgba(255,162,48,0.6); }
.plan2-light .plan2-headline { color: #fd9f12; }
.plan2-light .plan2-btn { background: #9f6c2c; }

.plan2-original .plan2-badge { background: rgba(48,148,255,0.6); }
.plan2-original .plan2-headline { color: #1ba4f8; }
.plan2-original .plan2-btn { background: rgba(48,148,255,0.6); }

.plan2-pro .plan2-badge { background: rgba(96,47,255,0.6); }
.plan2-pro .plan2-headline { color: #7a58e9; }
.plan2-pro .plan2-btn { background: rgba(96,47,255,0.6); }

.plan2-business .plan2-badge { background: rgba(47,255,155,0.6); }
.plan2-business .plan2-headline { color: #2fff9b; }
.plan2-business .plan2-btn { background: rgba(47,255,155,0.6); }

/* ===== 구독?�랜02 배경(그라?�이?? ===== */
.sub-plan2-page{
  position: relative;
  overflow: hidden; /* 배경??밖으�??�?�거 �?*/
}

/* 배경 ?�이??*/
.sub-plan2-bg{
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* 배경 ?��?지 공통 */
.sub-plan2-bg img{
  position: absolute;
  max-width: none !important;
  height: auto !important;
  display: block;
  opacity: 1;
}

/* Figma 배치 근사�?*/
.sub-plan2-bg__vec1{
  width: 281px !important;
  left: -121px;
  top: -131px;
  transform: rotate(130deg);
}
.sub-plan2-bg__vec2{
  width: 331px !important;
  left: -179px;
  top: 49px;
  transform: rotate(77deg);
}
.sub-plan2-bg__blob{
  width: 403px !important;
  left: 134px;
  top: -147px;
}

/* ?��?지 로딩???�패?�도 그라?�이???�낌 ?��?(보조) */
.sub-plan2-bg::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 20% 0%, rgba(47,255,155,0.18), transparent 55%),
    radial-gradient(circle at 70% 10%, rgba(96,47,255,0.20), transparent 55%),
    radial-gradient(circle at 50% 0%, rgba(48,148,255,0.18), transparent 60%);
}

/* 컨텐츠는 배경 ?�로 */
.sub-plan2-hero,
.sub-plan2-list{
  position: relative;
  z-index: 1;
}

/* =========================================================
   [PAGE] 구독?�랜02 배경/?�?�포 보정 (node: 1220-8925 ?�낌)
   ========================================================= */
body.main_home_body.sub-plan2-body,
body.main_home_body.sub-plan2-body .container {
  background: #000;
    padding: 0 !important;

}

.sub-plan2-page{
  position: relative;
  overflow: hidden;
  padding: 24px 0 36px;
}

/* 배경 ?�이??*/
.sub-plan2-bg{
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* 배경 shape 공통 */
.sub-plan2-shape{
  position: absolute;
  display: block;
  filter: blur(50px);
  opacity: 0.9;
  transform-origin: top left;
}

/* Vector(좌상?? - 그린 계열 번짐 */
.sub-plan2-shape--vec1{
  width: 280px;
  height: 300px;
  left: -121px;
  top: -131px;
  transform: rotate(130deg);
  background: linear-gradient(180deg, rgba(47,255,155,0.70) 0%, rgba(47,255,155,0.08) 100%);
  filter: blur(55px);
}

/* Vector(좌측 ?�단) - ?�플 계열 번짐 (?��? ?�었??�?기반) */
.sub-plan2-shape--vec2{
  width: 331px;
  height: 405px;
  left: -179px;
  top: 49px;
  transform: rotate(77deg);
  background: linear-gradient(82deg, #7929FF 0%, rgba(72,24,153,0.20) 100%);
  filter: blur(50px);
}

/* Blob(?�상?? - 그린 blob */
.sub-plan2-shape--blob{
  width: 403px;
  height: 392px;
  left: 134px;
  top: -147px;
  background: linear-gradient(179deg, rgba(66,244,124,0.90) 0%, rgba(38,142,72,0.09) 100%);
  filter: blur(70px);
  opacity: 0.9;
}

/* 컨텐츠�? 배경 ?�로 */
.sub-plan2-hero,
.sub-plan2-list{
  position: relative;
  z-index: 1;
}

/* ===== ?�?�포(?�자?�에 ??가깝게) ===== */
.sub-plan2-hero{
  text-align: center;
  padding: 0 24px;
}

.sub-plan2-quote{
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.6;
  color: #f8f8f8;
}

.sub-plan2-kor{
  margin: 16px 0 6px;
  font-size: 28px;
  font-weight: 700;
  line-height: 22px; /* figma ?�낌(?�?�트) */
  color: #fff;
}

/* ???�문 ?�?��?: Pretendard�?최�???비슷?�게 ?��?쫀+굵게??*/
.sub-plan2-en{
  margin: 0 0 18px;
  color: #fff;
  font-weight: 900;
  font-size: 64px;        /* ?�요?�면 56~72 ?�이�?조절 */
  line-height: 0.9;
  letter-spacing: -0.06em;
  text-transform: uppercase;

  /* ?�세로로 길쭉?��??�상 보정(?�트 ?�을 ??차선�? */
  transform: scaleY(1.25);
  transform-origin: center top;
}

.sub-plan2-desc{
  margin: 0 auto;
  max-width: 333px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: #f8f8f8;
}

/* 카드 리스?�는 기존 ???��????��??�되 간격�??�자?��?�?*/
.sub-plan2-list{
  margin-top: 48px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* =========================================================
   [PATCH] 구독?�랜02 - PHYSIO CLASS 로고 ?�이�?(node-id: 1220-8930)
   ========================================================= */

/* ?�역 img: width:100% �?규칙 ?�문??로고가 깨질 ???�어???�코???�버?�이??*/
body.main_home_body.sub-plan2-body .sub-plan2-page img.sub-plan2-logo{
  width: 280px !important;   /* ?�자?�에 맞게 280~340 ?�이�?조절 */
  max-width: 90% !important;
  height: auto !important;
  display: block !important;
  margin: 10px auto 18px !important;
  object-fit: contain !important;
}

/* ?�스???�역 간격(로고 기�??�로 ?�정?? */
body.main_home_body.sub-plan2-body .sub-plan2-page .sub-plan2-kor{
  margin: 16px 0 10px;
}

/* (?�전 ?�스???�문 ?�?��????�다�? ?�제???�용 ???�게) */
body.main_home_body.sub-plan2-body .sub-plan2-page .sub-plan2-en{
  display: none;
}

/* [ICON] 구독?�랜02 ?�?��? ?�인 (node-id: 1220-8930) */
body.main_home_body.sub-plan2-body .sub-plan2-page img.sub-plan2-title-line{
  width: 178px !important;   /* ?�요?�면 160~200 ?�이�?미세조정 */
  height: 16px !important;
  display: block !important;
  margin: 10px auto 12px !important; /* kor ??line ??logo 간격 */
  max-width: 90% !important;
  object-fit: contain !important;
}

/* [FIX] 구독?�랜02 - ?�명 ???�로 ?�인 (node-id: 1220-8930) */
body.main_home_body.sub-plan2-body .sub-plan2-page .sub-plan2-vline{
  display: block;
  width: 1px;
  height: 84px;                 /* ??Figma height */
  margin: 16px auto 20px;       /* 로고?�라?�↔?�명 간격 */
  background: rgba(255,255,255,0.35);
}

/* =========================================================
   [PAGE] ?�토??구독?�랜 ?�품 (node-id: 1199-15183)
   + Bottom Sheet (node-id: 1199-15226)
   - header/footer???��? 컴포?�트
   ========================================================= */

body.main_home_body.store-product-body,
body.main_home_body.store-product-body .container{
  background:#fff;
    padding: 0 !important;

}

/* ?�역 img 규칙 ?�향 방�?(?�이지 ?�코?? */
body.main_home_body.store-product-body .store-product-page img{
  width:auto;
  height:auto;
  max-width:none;
  border-radius:0;
  object-fit:contain;
}

/* ?�이지 */
.store-product-page{
  padding-bottom: 110px; /* ?�단 고정 구매버튼 공간 */
}

/* ?�단 ?�품 ?��?지 ?�역 */
.store-product-media{
  position: relative;
  width: 100%;
  height: 406px;
  background:#ecad70; /* figma productImage */
  overflow:hidden;
}

.store-product-media__img{
  position:absolute;
  left:0;
  top:-42%;
  width:100% !important;
  height: 160% !important;
  object-fit: cover !important;
}

/* ?�인 배�?(?? */
.store-product-badge{
  position:absolute;
  right: 20px;
  top: 16px;
  width: 82px;
  height: 82px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.store-product-badge__bg{
  position:absolute;
  inset:0;
  width: 82px !important;
  height: 82px !important;
}
.store-product-badge__text{
  position:relative;
  z-index:1;
  font-size:15px;
  font-weight:700;
  line-height:1.2;
  text-align:center;
  color:#fff;
}
.store-product-badge__text span{ display:block; }

/* ?�품 ?�?��?/가�?*/
.store-product-info{
  width: 327px;
  margin: 18px 15px 0;
}

.store-product-category{
  margin:0 0 4px;
  font-size:16px;
  font-weight:600;
  color:#8e98a0;
  letter-spacing:-0.4px;
}

.store-product-title{
  margin:0;
  font-size:18px;
  font-weight:700;
  color:#191919;
  letter-spacing:-0.4px;
  line-height:1.4;
}

.store-product-price{
  width: 327px;
  margin: 14px 15px 0;
  display:flex;
  gap:8px;
  align-items:baseline;
}
.store-product-discount{
  color:#12c46b;
  font-size:20px;
  font-weight:700;
  letter-spacing:-0.4px;
}
.store-product-final{
  color:#191919;
  font-size:20px;
  font-weight:700;
  letter-spacing:-0.4px;
}

/* ?�서 개수 input */
.store-product-field{
  width: 333px;
  margin: 22px 15px 0;
}
.store-product-label{
  margin:0 0 8px;
  font-size:14px;
  font-weight:600;
  color:#191919;
}
.store-product-select{
  width: 100%;
}

body.main_home_body.store-product-body .store-product-select__control{
  width: 100%;
  height: 48px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background-color: #fff;
  padding: 0 40px 0 14px;
  font-size: 14px;
  font-weight: 500;
  color: #111;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2399A1AA' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

body.main_home_body.store-product-body .store-product-select__control:focus{
  outline: none;
  border-color: #12C46B;
  box-shadow: 0 0 0 2px rgba(18, 196, 107, 0.12);
}
.store-product-select__value{
  font-size:16px;
  font-weight:600;
  color:#adb4ba; /* figma */
  letter-spacing:-0.4px;
}
.store-product-select__icon{
  width: 21px !important;
  height: 21px !important;
}

/* ?�단 고정 구매 버튼 */
.store-product-buybar{
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 34px; /* ???�디케?�터 ??*/
  width: 335px;
  z-index: 50;
}
.store-product-buybtn{
  width:100%;
  height:48px;
  border:0;
  border-radius:8px;
  background:#12c46b;
  color:#fff;
  font-size:16px;
  font-weight:700;
  cursor:pointer;
}

/* ===== Bottom Sheet ===== */
.sheet-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
  z-index: 80;
}
.sheet{
  position: fixed;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  bottom: 0;
  width: 375px;
  padding: 18px 0 34px;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  transition: transform .18s ease, opacity .18s ease;
  z-index: 90;
}
.sheet.is-open,
.sheet-overlay.is-open{
  opacity: 1;
  pointer-events: auto;
}
.sheet.is-open{
  transform: translateX(-50%) translateY(0);
}

/* sheet 컨텐�??�퍼 */
.sheet-body{
  width: 320px;
  margin: 0 auto;
  display:flex;
  flex-direction:column;
  gap:14px;
}

/* node-id=1199-15226 카드 ?��???*/
.sheet-plan{
  background:#fff;
  border:1.553px solid #e5e7eb;
  border-radius:14px;
  padding: 14px 20px 7px;
}
.sheet-plan--active{
  border-color:#12c46b;
}
.sheet-plan__top{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom: 6px;
}
.sheet-plan__type{
  font-size:15px;
  font-weight:600;
  color:#101828;
  letter-spacing:-0.3px;
}
.sheet-plan__discount{
  font-size:16px;
  font-weight:700;
  color:#12c46b;
}
.sheet-plan__row{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
}
.sheet-plan__price{
  display:flex;
  align-items:baseline;
  gap:10px;
}
.sheet-plan__price--strike{
  font-size:15px;
  color:#d1d5dc;
  text-decoration: line-through;
}
.sheet-plan__price--main{
  font-size:20px;
  font-weight:700;
  color:#181a1a;
}
.sheet-plan__per{
  font-size:14px;
  color:#181a1a;
}
.sheet-plan__sensor{
  font-size:14px;
  color:#181a1a;
}

body.main_home_body.store-product-body .sheet-actions{
  margin-top: 18px;
  text-align: center;
}

body.main_home_body.store-product-body .sheet-cta{
  width: 92%;
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: #12C46B;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

/* =========================================================
   [FIX] ?�토???�품 - Bottom Sheet (ref: 1199-15211)
   ========================================================= */

/* ?�버?�이 */
body.main_home_body.store-product-body .sheet-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
  z-index: 80;
}
body.main_home_body.store-product-body .sheet-overlay.is-open{
  opacity: 1;
  pointer-events: auto;
}

/* ?�트(?�널 ?�퍼) */
body.main_home_body.store-product-body .sheet{
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) translateY(12px);
  width: min(375px, 100vw);
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transition: transform .18s ease, opacity .18s ease;
  z-index: 90;
}
body.main_home_body.store-product-body .sheet.is-open{
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* ??Figma처럼 ?�흰 ?�널??*/
body.main_home_body.store-product-body .sheet-panel{
  background: #fff;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -4px 8px rgba(0,0,0,0.05);
  padding: 18px 0 34px; /* ???�디케?�터 공간 */
  max-height: calc(100vh - 120px);
  overflow: auto;
}

/* ?�쪽 컨텐�???320) */
body.main_home_body.store-product-body .sheet-body{
  width: 320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* (?�택) ?�단 ?�내 문구: 1199-15211???�스??*/
body.main_home_body.store-product-body .sheet-tip{
  text-align: center;
  font-family: Pretendard, sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.408px;
  color: #191919;
  margin: 6px 0 10px;
}
body.main_home_body.store-product-body .sheet-tip__accent{
  color:#12c46b;
}

/* 카드(button) 기본 ?��????�거 + 박스?�이�??�정??*/
body.main_home_body.store-product-body .sheet-plan{
  width: 320px;
  box-sizing: border-box;
  text-align: left;
  cursor: pointer;
  appearance: none;
  border: 1.553px solid #e5e7eb;
  background: #fff;
  border-radius: 14px;
  padding: 14px 20px 7px;
}

/* ?�택(?�두�? */
body.main_home_body.store-product-body .sheet-plan--active{
  border-color:#12c46b;
}

/* ?�커??*/
body.main_home_body.store-product-body .sheet-plan:focus-visible{
  outline: 2px solid rgba(18,196,107,0.35);
  outline-offset: 2px;
}

/* 바디 ?�금 */
body.main_home_body.store-product-body.is-sheet-open{
  overflow: hidden;
}

/* =========================================================
   [PAGE] 계정 ?�보 ?�정 (node-id: 1199-14313)
   - header/footer???��? 컴포?�트
   ========================================================= */

body.main_home_body.account-edit-body,
body.main_home_body.account-edit-body .container{
  background:#fff;
    padding: 0 !important;

}

/* ?�역 input/button ?�향 최소???�이지 ?�코?? */
body.main_home_body.account-edit-body .account-edit-page input,
body.main_home_body.account-edit-body .account-edit-page button{
  font: inherit;
}

.account-edit-page{
  padding: 22px 20px 120px; /* ?�단 고정 버튼 공간 */
}

/* ?�션/?�드 */
.ae-field{
  display:flex;
  flex-direction:column;
  gap: 6px;
  margin-bottom: 22px;
}

.ae-label{
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  color:#282828;
}

/* ?�풋 */
.ae-input{
  height: 47px;
  border: 1px solid #e4e4e4;
  border-radius: 4px;
  background:#fff;
  padding: 0 15px;
  font-size: 16px;
  line-height: 24px;
  color:#282828;
  outline: none;
  box-sizing: border-box;
  width: 100%;
}

.ae-input::placeholder{
  color:#8b8b8b;
}

.ae-input:focus{
  border-color: rgba(16,196,107,0.8);
  box-shadow: 0 0 0 2px rgba(16,196,107,0.12);
}

/* 비활???�메?? */
.ae-input--disabled{
  background:#e3e3e3;
  border-color:#e3e3e3;
  color:#8b8b8b;
}

/* ?��???번호: ?�션 ?�함 */
.ae-input-wrap{
  position: relative;
}

.ae-input--with-action{
  padding-right: 90px; /* 버튼 ?�리 */
}

.ae-input-action{
  position:absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  padding: 6px 6px;
  font-size: 16px;
  font-weight: 500;
  color:#656565;
  cursor:pointer;
}

/* ?�별 */
.ae-gender{
  width: 63px;
  height: 47px;
  border: 1px solid #e4e4e4;
  border-radius: 4px;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  color: rgba(139,139,139,0.5);
  font-size: 16px;
}

/* ?�동?�보 2컬럼 */
.ae-section-title{
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  color:#282828;
}

.ae-two-col{
  display:flex;
  gap: 12px;
}

.ae-col{
  flex: 1 1 0;
  display:flex;
  flex-direction:column;
  gap: 6px;
}

.ae-sub-label{
  font-size: 15px;
  font-weight: 600;
  color:#282828;
  line-height: 1.45;
}

/* 관??부??�?*/
.ae-chips{
  display:flex;
  flex-wrap: wrap;
  gap: 12px 12px;
}

.ae-chip{
  width: 72px;
  height: 37px;
  border-radius: 50px;
  border: 1px solid #e4e4e4;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 14px;
  font-weight: 500;
  color:#656565;
  cursor:pointer;
}

.ae-chip--active{
  background:#f6ffef;
  border-color:#10c46b;
  color:#00a555;
  font-weight: 600;
}

/* ?�단 고정 버튼 */
.ae-bottombar{
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 34px;
  width: 335px;
  z-index: 60;
}

.ae-submit{
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 8px;
  background:#12c46b;
  color:#fff;
  font-size: 16px;
  font-weight: 600;
  cursor:pointer;
}

/* =========================================================
   [PAGE] ?��???번호 변�?(node-id: 1199-14385)
   - header/footer???��? 컴포?�트
   ========================================================= */

body.main_home_body.phone-edit-body,
body.main_home_body.phone-edit-body .container{
  background:#fff;
    padding: 0 !important;

}

/* ?�역 input/button ?�향 최소???�이지 ?�코?? */
body.main_home_body.phone-edit-body .phone-edit-page input,
body.main_home_body.phone-edit-body .phone-edit-page button{
  font: inherit;
}

.phone-edit-page{
  padding: 158px 20px 120px; /* Figma: top 158 / ?�단 버튼 공간 */
}

/* ?�?��? */
.pe-title{
  margin: 0 0 24px;
  font-size: 24px;
  font-weight: 600; /* Pretendard SemiBold */
  line-height: 1.4;
  letter-spacing: -0.5px;
  color:#222;
}

/* ??그룹 */
.pe-group{
  display:flex;
  flex-direction:column;
  gap: 13px;
}

/* ?�벨 */
.pe-label{
  margin:0 0 6px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  color:#222;
}

/* ?�풋 */
.pe-input{
  width: 100%;
  height: 47px;
  box-sizing: border-box;
  border: 1px solid #e4e4e4;
  border-radius: 8px;
  background:#fff;
  padding: 0 15px;
  font-size: 14px;
  letter-spacing: -0.6px;
  color:#222;
  outline: none;
}

.pe-input::placeholder{ color:#8b8b8b; }

.pe-input:focus{
  border-color: rgba(18,196,107,0.8);
  box-shadow: 0 0 0 2px rgba(18,196,107,0.12);
}

/* ?�증번호 ?�송 버튼(기본 비활?? */
.pe-send{
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 8px;
  background:#e7e7e7;
  color:#7e7e7e;
  font-size: 16px;
  font-weight: 600;
  cursor: not-allowed;
}

/* ?�성 */
.pe-send.is-active{
  background: rgba(18,196,107,0.12);
  color:#12c46b;
  cursor: pointer;
}

/* ?�단 고정 버튼 */
.pe-bottombar{
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 34px;
  width: 335px;
  z-index: 60;
}

.pe-submit{
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 8px;
  background: rgba(18,196,107,0.6); /* Figma */
  color:#fff;
  font-size: 16px;
  font-weight: 600;
  cursor: not-allowed;
}

.pe-submit.is-active{
  background:#12c46b;
  cursor:pointer;
}

/* =========================================================
   [FLOW] ?��???번호 변�?- ?�송?�인증→?�료 (14385/14399 ?�름 보완)
   ========================================================= */

/* ?�증번호 ?�력 블록 */
.pe-verify{
  margin-top: 14px;
  display: none;
}
.pe-verify.is-open{ display:block; }

.pe-row{
  display:flex;
  gap: 10px;
  align-items:center;
}

.pe-code{
  flex: 1 1 auto;
  height: 47px;
  box-sizing: border-box;
  border: 1px solid #e4e4e4;
  border-radius: 8px;
  background:#fff;
  padding: 0 15px;
  font-size: 14px;
  letter-spacing: -0.6px;
  color:#222;
  outline:none;
}
.pe-code::placeholder{ color:#8b8b8b; }
.pe-code:focus{
  border-color: rgba(18,196,107,0.8);
  box-shadow: 0 0 0 2px rgba(18,196,107,0.12);
}

/* ?�증 버튼(코드 ?�인) */
.pe-check{
  width: 110px;
  height: 47px;
  border: 0;
  border-radius: 8px;
  background:#e7e7e7;
  color:#7e7e7e;
  font-size: 14px;
  font-weight: 600;
  cursor: not-allowed;
}
.pe-check.is-active{
  background:#12c46b;
  color:#fff;
  cursor:pointer;
}

/* ?�?�머/?�전??*/
.pe-meta{
  margin-top: 8px;
  display:flex;
  align-items:center;
  justify-content: space-between;
}
.pe-timer{
  font-size: 13px;
  color:#8b8b8b;
}
.pe-resend{
  border:0;
  background: transparent;
  padding: 6px 0;
  font-size: 13px;
  font-weight: 600;
  color:#12c46b;
  cursor:pointer;
}
.pe-resend:disabled{
  color:#b7b7b7;
  cursor:not-allowed;
}

/* ?�증 ?�료 ?�태(14399 ?��??? */
.phone-edit-page .pe-send.is-done{
  background:#7e7e7e;
  color:#fff;
  cursor: default;
}
.phone-edit-page .pe-send.is-done:disabled{ opacity:1; }

/* ?�단 버튼 ?�성 */
.phone-edit-page .pe-submit.is-active{
  background:#12c46b;
  cursor:pointer;
}

/* =========================================================
   [PAGE] ?�원 ?�퇴 (node-id: 1199-14168)
   - header/footer???��? 컴포?�트
   ========================================================= */

body.main_home_body.withdraw-body,
body.main_home_body.withdraw-body .container{
  background:#fff;
    padding: 0 !important;

}

/* ?�역 input/button/img ?�향 최소???�이지 ?�코?? */
body.main_home_body.withdraw-body .withdraw-page input,
body.main_home_body.withdraw-body .withdraw-page button,
body.main_home_body.withdraw-body .withdraw-page textarea{
  font: inherit;
}

.withdraw-page{
  padding: 24px 24px 220px; /* ?�단 고정 버튼 공간 */
}

/* ?�단 ?�?��? */
.wd-title{
  margin: 0 0 4px;
  font-size: 24px;
  font-weight: 600; /* Pretendard SemiBold */
  line-height: 1.4;
  letter-spacing: -0.24px;
  color:#222;
}

.wd-sub{
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.3;
  color:#656565;
}
.wd-sub p{ margin:0; }

/* 1:1 문의?�기 */
.wd-inquiry{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 8px 16px;
  border: 1px solid #353535;
  border-radius: 999px;
  background:#fff;
  color:#222;
  font-size: 12px;
  line-height: 1.3;
  cursor:pointer;
}

/* ?�유 체크 리스??*/
.wd-reason-list{
  margin-top: 22px;
  display:flex;
  flex-direction:column;
  gap: 8px;
}

.wd-reason{
  display:flex;
  align-items:center;
  gap: 12px;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.wd-box{
  width: 24px;
  height: 24px;
  border: 1px solid #717171;
  border-radius: 4px;
  display:flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  flex: 0 0 auto;
}

.wd-reason.is-selected .wd-box{
  background:#000;
  border-color:#000;
}

/* 체크?�시(?��?지 ?�??코드�? */
.wd-reason.is-selected .wd-box::after{
  content:"";
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  margin-top: -1px;
}

.wd-text{
  padding: 10px 0;
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: -0.15px;
  color:#222;
}

.wd-text--small{
  font-size: 14px;
  letter-spacing: -0.6px;
}

/* 기�? textarea */
.wd-other{
  display:none;
  margin-left: 36px; /* 체크박스(24)+gap(12) */
}

.wd-other.is-open{ display:block; }

.wd-textarea{
  width: 100%;
  height: 100px;
  box-sizing:border-box;
  border: 0.8px solid #d4d4d4;
  border-radius: 8px;
  padding: 12px 11px;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: -0.6px;
  color:#222;
  resize: none;
  outline:none;
}
.wd-textarea::placeholder{ color:#bdbdbf; }
.wd-textarea:focus{
  border-color: rgba(18,196,107,0.8);
  box-shadow: 0 0 0 2px rgba(18,196,107,0.12);
}

/* ?�의 체크 */
.wd-agree{
  margin-top: 22px;
  display:flex;
  align-items:center;
  justify-content: space-between;
}

.wd-agree-left{
  display:flex;
  align-items:center;
  gap: 8px;
}

.wd-agree-text{
  font-size: 14px;
  color:#656565;
  letter-spacing: -0.408px;
}

/* ?�내?�항(?�색 ?�역) */
.wd-notice{
  margin-top: 28px;
  margin-left: -24px;
  margin-right: -24px;
  background:#f4f4f4;
  padding: 22px 24px 28px;
}

.wd-notice-title{
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.6px;
  color:#181a1a;
}

.wd-notice ul{
  margin: 0;
  padding-left: 21px;
  display:flex;
  flex-direction:column;
  gap: 8px;
  color:#8b8b8b;
  font-size: 14px;
  letter-spacing: -0.14px;
  line-height: 1.45;
}

.wd-bottombar{
  width: 327px;
  display:flex;
  gap: 10px;
  margin-top: 50px;
}

.wd-btn{
  width: 158.5px;
  height: 48px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  cursor:pointer;
}

.wd-btn--cancel{
  background:#fff;
  border: 1px solid #bdbdbf;
  color:#282828;
}

.wd-btn--withdraw{
  background:#000;
  border: 0;
  color:#fff;
}

.wd-btn--withdraw:disabled{
  opacity: .35;
  cursor: not-allowed;
}

/* =========================================================
   [PAGE] 1:1 문의?�기 ?�로??   - 1199-16425 (문의?�기 ??
   - 1199-16458 (게시??문의 ?�성)
   - 1199-16414 (문의 ?�세)
   - header/footer???��? 컴포?�트
   ========================================================= */


body.main_home_body.inq-body .container { 
  background:#fff; 
    padding: 0 !important;

}

/* ?�역 img/button ?�향 최소??*/
body.main_home_body.inq-body .inq-page img{
  width:auto; height:auto; max-width:none; border-radius:0; object-fit:contain;
}
body.main_home_body.inq-body .inq-page input,
body.main_home_body.inq-body .inq-page textarea,
body.main_home_body.inq-body .inq-page button{ font: inherit; }

.inq-page{ padding: 24px 0 40px; }

/* ?�내 문구 */
.inq-guide{
  padding: 0 24px;
  margin-top: 4px;
  font-size: 15.625px;
  line-height: 1.4;
  letter-spacing: -0.425px;
  color:#5a6066;
  white-space: pre-wrap;
}

/* ?�락�?카드 */
.inq-callcard{
  width: 327px;
  margin: 18px auto 0;
  background:#f8f9fb;
  border-radius: 4.167px;
  padding: 14.583px 20.833px;
  color:#5a6066;
}
.inq-callcard__num{
  margin: 0 0 4px;
  font-size: 20.833px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.425px;
  color:#5a6066;
}
.inq-callcard__time{
  margin:0;
  font-size: 14.583px;
  line-height: 1.4;
  white-space: pre-wrap;
}

/* 버튼??*/
.inq-btns{ width:327px; margin: 18px auto 0; display:flex; flex-direction:column; gap:10px; }

.inq-kakao{
  height: 48px;
  border-radius: 8px;
  background:#ffe812;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 6px;
  text-decoration:none;
  color:#191919;
  font-size: 16.667px;
  font-weight: 500;
  letter-spacing: -0.425px;
}
.inq-kakao__ic{ width:22.917px !important; height:22.917px !important; }

.inq-board{
    height: 48px;
    border-radius: 8px;
    background:#fff;
    border: 1.042px solid #e1e6ea;
    display:flex;
    align-items:center;
    justify-content: center !important;
    padding: 0 !important;
    text-align: center;
    text-decoration:none;
    color:#191919;
    font-size: 16.667px;
    font-weight: 500;
    letter-spacing: -0.425px;
}

.inq-divider{
  height: 7px;
  background:#f9f9f9;
  margin: 18px 0 0;
}

/* 문의?�역 */
.inq-history-title{
  padding: 18px 24px 8px;
  font-size: 18.75px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.425px;
  color:#191919;
  margin:0;
}

.inq-history{
  margin: 0;
  padding: 0;
  list-style:none;
}

.inq-item{
  border-bottom: 1px solid #eee;
}

.inq-link{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 16px 24px;
  text-decoration:none;
  color:inherit;
}

.inq-q{
  flex:1 1 auto;
  display:flex;
  gap:8px;
  align-items:flex-start;
  font-size:16px;
  font-weight:500;
  letter-spacing:-0.408px;
  line-height:1.4;
}

.inq-q__mark{ color:#10c46b; flex:0 0 auto; }
.inq-q__txt{ color:#191919; }

.inq-chevron{
  width:16px !important;
  height:16px !important;
  transform: rotate(270deg);
  flex:0 0 auto;
}

/* =======================
   1199-16458 게시??문의 ?�성
   ======================= */
.inq-form{
  width: 327px;
  margin: 0 auto;
  padding-top: 8px;
  display:flex;
  flex-direction:column;
  gap: 20px;
}

.inq-field{ display:flex; flex-direction:column; gap:8px; }
.inq-label{
  display:flex;
  align-items:center;
  gap:2px;
  font-size:16px;
  font-weight:500;
  color:#191919;
}
.inq-required{ font-size:13px; color:#ff4975; }

.inq-input,
.inq-textarea{
  width:100%;
  border:1px solid #e1e6ea;
  border-radius:4px;
  padding: 14px 16px;
  font-size:15px;
  font-weight:500;
  letter-spacing:-0.408px;
  color:#191919;
  outline:none;
  box-sizing:border-box;
}
.inq-input::placeholder,
.inq-textarea::placeholder{ color:#adb4ba; }

.inq-textarea{
  height:170px;
  resize:none;
}

.inq-submitbar{
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 34px;
  width: 335px;
  z-index: 60;
}
.inq-submit{
  width:100%;
  height:48px;
  border:0;
  border-radius:8px;
  background:#12c46b;
  color:#fff;
  font-size:16px;
  font-weight:600;
  cursor:pointer;
}

/* =======================
   1199-16414 문의 ?�세
   ======================= */
.inq-detail{
  width: 327px;
  margin: 0 auto;
  padding-top: 8px;
}

.inq-tag{
  margin: 0;
  margin-bottom: 15px;
  color:#10c46b;
  font-size:18px;
  font-weight:500;
  line-height:1.5;
  letter-spacing:-0.408px;
}

.inq-detail-title{
  margin: 10px 0 14px;
  color:#191919;
  font-size:16px;
  font-weight:500;
  line-height:1.4;
  letter-spacing:-0.408px;
}

.inq-hr{
  border:0;
  border-top:1px solid #e1e6ea;
  margin: 14px 0;
}

.inq-bodytext{
  margin: 0;
  color:#5a6066;
  font-size:16px;
  line-height:1.45;
  letter-spacing:-0.408px;
  white-space: pre-wrap;
}

.inq-answer ol{
  margin: 8px 0 0 20px;
  color:#5a6066;
}
.inq-answer li{ margin: 6px 0; }

/* =========================================================
   [PAGE] FAQ (1199-16350) / FAQ ?�세 (1199-16406)
   - header/footer???��? 컴포?�트
   ========================================================= */

body.main_home_body.faq-body .container { 
    padding: 0 !important;
  background:#fff; 
}

.faq-page{ padding: 24px 0 40px; }

/* ?�그 */
.faq-tags{
  padding: 0 24px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.faq-tags__row{ display:flex; gap:8px; flex-wrap:wrap; }

.faq-tag{
  border:1px solid #e1e6ea;
  background:#fff;
  border-radius:3px;
  padding:7px 16px;
  font-size:14px;
  font-weight:500;
  line-height:1.4;
  letter-spacing:-0.408px;
  color:#8e98a0;
  cursor:pointer;
}
.faq-tag.is-active{
  background:#111;
  border-color:#111;
  color:#fff;
}

/* 리스??*/
.faq-list{ margin-top: 18px; }
.faq-ul{ list-style:none; margin:0; padding:0; }

.faq-item{
  border-bottom: 1px solid #eee;
}
.faq-link{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 16px 24px;
  text-decoration:none;
  color:inherit;
}

.faq-q{
  flex:1 1 auto;
  display:flex;
  gap:8px;
  align-items:center;
  font-size:16px;
  font-weight:500;
  line-height:1.4;
  letter-spacing:-0.408px;
}

.faq-q img{
  margin-left: auto;
}
.faq-q__mark{ color:#10c46b; flex:0 0 auto; }
.faq-q__txt{ color:#191919; }

.faq-chevron{
  width:16px !important;
  height:16px !important;
  transform: rotate(270deg);
  flex:0 0 auto;
}

/* ?�세 */
.faq-detail{
  padding: 24px 24px 40px;
}
.faq-detail__qmark{
  margin:0;
  color:#10c46b;
  font-size:18px;
  font-weight:500;
  line-height:1.5;
  letter-spacing:-0.408px;
}
.faq-detail__title{
  margin: 10px 0 14px;
  color:#191919;
  font-size:18px;
  font-weight:500;
  line-height:1.5;
  letter-spacing:-0.408px;
}
.faq-divider{
  border:0;
  border-top:1px solid #e1e6ea;
  margin: 0 0 16px;
}
.faq-detail__body{
  margin:0;
  color:#5a6066;
  font-size:16px;
  line-height:1.45;
  letter-spacing:-0.408px;
  white-space:pre-wrap;
}

/* =========================================================
   [PAGE] 공�??�항 (1199-16317) / 공�??�항 ?�세 (1199-16342)
   - header/footer???��? 컴포?�트
   ========================================================= */

body.main_home_body.notice-body .container { 
    padding: 0 !important;
  background:#fff; 
}

.notice-page{ padding: 12px 0 40px; }

/* 리스??*/
.notice-list{ margin: 0; padding: 0; list-style: none; }

.notice-item{
  border-bottom: 1.042px solid #eee;
}
.notice-item--new{
  background: rgba(209,242,225,0.3); /* Figma: new highlight */
}

.notice-link{
  display:flex;
  align-items:center;
  gap: 10.417px;
  padding: 16.667px 20.833px;
  text-decoration:none;
  color: inherit;
}

.notice-text{
  flex: 1 1 auto;
  display:flex;
  flex-direction:column;
  gap: 2.083px;
  min-width: 0;
}

.notice-title-row{
  display:flex;
  align-items:center;
  gap: 4.167px;
  width: 100%;
}

.notice-title-row img{
  margin-left: auto;
}

.notice-title{
  margin:0;
  font-family: Pretendard, sans-serif;
  font-weight: 500;
  font-size: 15.625px;
  line-height: 1.4;
  letter-spacing: -0.425px;
  color:#191919;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notice-new{
  width: 5.208px !important;
  height: 5.208px !important;
  margin-top: 4.167px;
  flex: 0 0 auto;
}

.notice-date{
  margin:0;
  font-family: Pretendard, sans-serif;
  font-weight: 500;
  font-size: 13.542px;
  line-height: 1.4;
  color:#8e98a0;
  letter-spacing:-0.2px;
}

.notice-chevron{
  width: 16.667px !important;
  height: 16.667px !important;
  transform: rotate(270deg);
  flex: 0 0 auto;
}

/* ?�세 */
.notice-detail{
  padding: 24px 24px 40px;
}

.notice-detail-title{
  margin: 0;
  font-family: Pretendard, sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.408px;
  color:#191919;
}

.notice-detail-date{
  margin: 6px 0 0;
  font-family: Pretendard, sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: -0.408px;
  color:#8e98a0;
}

.notice-divider{
  border: 0;
  border-top: 1px solid #e1e6ea;
  margin: 18px 0 18px;
}

.notice-bodytext{
  margin: 0;
  font-family: Pretendard, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: -0.408px;
  color:#5a6066;
  white-space: pre-wrap;
}

.notice-bodytext strong{
  font-weight: 600;
  color:#191919;
}

.notice-bodytext ul{
  margin: 10px 0 0 22px;
  padding: 0;
}
.notice-bodytext li{ margin: 6px 0; }


/* =======================================================================
   AI Chatbot (Figma node-id: 1199-15976)
   - Add-only block for renewal_lee.css
   ======================================================================= */

.ai-chatbot-page {
  background: #ffffff;
  min-height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  color: #181a1a;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Noto Sans KR", "Helvetica Neue", Arial, sans-serif;
}

.ai-chatbot {
  width: 375px;
  min-height: 812px;
  position: relative;
  background: #ffffff;
  overflow: hidden;
}

/* Top area (status bar + gnb) */
.ai-chatbot__top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffff;
}

.ai-chatbot__statusbar {
  height: 50px;
  padding: 21px 0 0;
}

.ai-chatbot__statusbar-row {
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ai-chatbot__time {
  padding-left: 36px;
  padding-right: 16px;
  font-size: 17px;
  line-height: 22px;
  font-weight: 600;
  color: #000;
  width: 90px;
}

.ai-chatbot__island-spacer {
  width: 124px;
  height: 10px;
}

.ai-chatbot__levels {
  width: 100px;
  height: 13px;
  margin-right: 16px;
  opacity: 0.9;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.ai-chatbot__levels svg,
.ai-chatbot__levels img {
  display: block;
  max-width: 100%;
  height: 13px;
}

.ai-chatbot__gnb {
  height: 50px;
  display: flex;
  align-items: center;
  padding: 13px 16px 13px 24px;
  border-bottom: 1px solid #f4f4f4;
  box-sizing: border-box;
}

.ai-chatbot__gnb-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.ai-chatbot__icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 100px;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.ai-chatbot__icon-btn:active {
  transform: scale(0.98);
}

.ai-chatbot__title {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.408px;
  line-height: 1.4;
  color: #181a1a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 130px;
  text-align: center;
}

.ai-chatbot__gnb-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ai-chatbot__gnb-icon {
  width: 24px;
  height: 24px;
  display: block;
}

/* Body / message list */
.ai-chatbot__body {
  padding: 16px 0 112px; /* bottom space for composer + home indicator */
}

.ai-chatbot__section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ai-chatbot__subhead {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 16px;
  font-size: 12px;
  color: #79747e;
  letter-spacing: 0.25px;
}

.ai-chatbot__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 4px 16px;
  font-size: 12px;
  color: #79747e;
  letter-spacing: 0.25px;
}
.ai-chatbot__divider-line {
  height: 1px;
  width: 100px;
  background: #d9d9d9;
  opacity: 0.8;
}

/* Message rows */
.msg {
  padding: 0 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.msg--user {
  align-items: flex-end;
}

.msg--ai {
  align-items: flex-start;
}

/* Bubbles */
.bubble {
  max-width: 326px;
  padding: 12px 16px;
  font-size: 16px;
  line-height: 22.4px;
  letter-spacing: 0.5px;
  box-sizing: border-box;
  border-radius: 20px 20px 8px 20px; /* TL TR BR BL */
  word-break: break-word;
  white-space: pre-wrap;
}

.bubble--user {
  background: #ededed;
  color: #49454f;
  letter-spacing: -0.05px;
}

.bubble--ai {
  background: #ffffff;
  color: #181a1a;
}

/* Action / meta row */
.msg-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  line-height: 19.5px;
  color: #888888;
}

.msg-meta__mic {
  width: 16px;
  height: 16px;
  opacity: 0.9;
}

.ai-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 24px;
  padding: 0 24px;
}

.ai-actions .ai-action-btn {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ai-actions .ai-action-btn svg {
  width: 16px;
  height: 16px;
  display: block;
}
.ai-actions .ai-action-btn:active {
  transform: scale(0.98);
}

/* Composer */
.ai-chatbot__composer-wrap {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 24px;
  width: 375px;
  z-index: 30;
  pointer-events: none; /* allow only composer itself to receive */
}

.ai-chatbot__composer {
  pointer-events: auto;
  margin: 0 auto;
  width: 327px;
  height: 50px;
  padding: 4px 8px 4px 15px;
  border-radius: 50px;
  border: 1px solid #f4f4f4;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.ai-chatbot__composer-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.ai-chatbot__composer-input {
  border: 0;
  outline: 0;
  width: 100%;
  font-size: 16px;
  line-height: 27.944px;
  color: #181a1a;
  background: transparent;
  min-width: 0;
}

.ai-chatbot__composer-input::placeholder {
  color: #888888;
}

.ai-chatbot__composer-btn {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ai-chatbot__composer-btn svg {
  width: 28px;
  height: 28px;
  display: block;
}

/* Home indicator */
.ai-chatbot__home-indicator {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 8px;
  width: 375px;
  display: flex;
  justify-content: center;
  z-index: 25;
  pointer-events: none;
}
.ai-chatbot__home-indicator-bar {
  width: 134px;
  height: 5px;
  background: #232933;
  border-radius: 3px;
  opacity: 0.95;
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* =========================================================
   Subheader 1 (GNB) - node-id=1199-11395
   - ?�더/?�터??별도 ?�포???�제
   ========================================================= */
.subheader1{
  width:100%;
  background:#ffffff;
}

.subheader1__inner{
  max-width:420px;
  margin:0 auto;
  padding:0 24px;
  height:56px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  box-sizing:border-box;
}

.subheader1__logo{
  display:flex;
  align-items:center;
  height:100%;
}

.subheader1__logo img{
  display:block;
  height:16px;      /* Figma: 15.921px */
  width:auto;
}

.subheader1__actions{
  display:flex;
  align-items:center;
  gap:21px;
  height:100%;
}

.subheader1__iconbtn{
  border:0;
  background:transparent;
  padding:0;
  cursor:pointer;
  line-height:0;
}

.subheader1__notif{
  position:relative;

  width:20px;
  height:20px;
}

.subheader1__notif img{
  display:block;
  width:20px;
  height:20px;
}

.subheader1__badge{
  position:absolute;
  width:6px;
  height:6px;
  background:#F02D36;
  border-radius:999px;
  top:-3px;     /* Figma: -3px */
  right:-1px;   /* ?�짝 바깥?�로 ?�오???�낌 */
}

.subheader1__menu{
  width:24px;
  height:24px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px; /* Figma: 5px */
}

.subheader1__menu-line{
  width:22px; /* Figma: 21.607px */
  height:2px;
  background:#1e1e1e;
  border-radius:2px;
}

/* =========================================================
   Subheader 1 (GNB) - extra hardening
   - 글로벌 img/button reset???�해 로고/?�이콘이 ?�어?�면??'깨져' 보이???�상 방�?
   ========================================================= */
.subheader1__logo img{
  width:176px !important;   /* Figma: 176.005px */
  height:16px !important;  /* Figma: 15.921px */
  max-width:none !important;
  object-fit:contain;
}

.subheader1__notif img{
  width:20px !important;
  height:20px !important;
  max-width:none !important;
  object-fit:contain;
}


/* =========================================================
   Policy pages (Terms / Privacy / Location Terms)
   - ?�더/?�터??별도 ?�포??가??   ========================================================= */
.renewal-policy{
  background:#fff;
  color:#656565;
}
.renewal-policy__container{
  width:335px;
  margin:0 auto;
  padding:16px 0 24px;
  font-family:"Pretendard","Noto Sans KR",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  font-size:14px;
  line-height:1.4;
  letter-spacing:-0.6px;
  word-break:keep-all;
}
.renewal-policy__container p{
  margin:0;
}
.renewal-policy__container p + p{
  margin-top:8px;
}
.renewal-policy__section-title{
  font-weight:600;
  color:#656565;
}
.renewal-policy__spacer{
  height:12px;
}
.renewal-policy__container ol{
  margin:8px 0 0;
  padding-left:18px;
}
.renewal-policy__container li{
  margin:0;
  line-height:1.4;
}

/* =========================================================
   [PAGE] ?�닝 ?�정?�면 (Figma node: 1199-9633)
   - header/footer are imported separately (this is content-only)
   ========================================================= */

body.running07-settings-body{
  margin:0;
  background:#ffffff;
  font-family:"Pretendard", "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color:#181a1a;

  /* override global body padding rules in renewal_lee.css */
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  height: auto !important;
  overflow-y: auto !important;
}

/* page width matches Figma 375 */
.running07-settings-page{
  width:100%;
  max-width:375px;
  margin:0 auto;
  box-sizing:border-box;
  padding: 0 0 28px; /* leave space for optional footer if you add one */
}

/* 지???�치 ?�인 카드 */
.running07-map-card{
  margin: 20px 14px 0;
  background:#f4f4f4;
  border-radius: 8px;
  padding: 20px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  box-sizing:border-box;
  min-height:75px;
}
.running07-map-title{
  font-size:20px;
  font-weight:500;
  letter-spacing:-0.2px;
  line-height:1.4;
  color:#181a1a;
}
.running07-map-icon{
  width:28px;
  height:28px;
  flex: 0 0 28px;
}

/* ?�정 리스??*/
.running07-settings-list{
  margin-top: 36px;
  display:flex;
  flex-direction:column;
  gap:20px;
}
.running07-row{
  height:36px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 0 20px;
  box-sizing:border-box;
}
.running07-label{
  font-size:18px;
  font-weight:500;
  letter-spacing:-0.408px;
  line-height:1.4;
  color:#222222;
}
.running07-row--action{
  justify-content:flex-start;
  cursor:pointer;
}

/* Switch (52x28) */
.running07-switch{
  position:relative;
  width:52px;
  height:28px;
  display:inline-block;
  flex: 0 0 52px;
}
.running07-switch input{
  position:absolute;
  inset:0;
  opacity:0;
  margin:0;
  cursor:pointer;
  z-index:2;
}
.running07-switch-track{
  position:absolute;
  inset:0;
  border-radius:14px;
  background:#bec5cc; /* off */
  transition: background-color .15s ease;
}
.running07-switch-thumb{
  position:absolute;
  top:2px;
  left:2px;
  width:24px;
  height:24px;
  border-radius:999px;
  background:#ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  transition: transform .15s ease;
}
.running07-switch input:checked ~ .running07-switch-track{
  background:#03ac59; /* on */
}
.running07-switch input:checked ~ .running07-switch-thumb{
  transform: translateX(24px);
}

/* ?�단 ?�?�머 pill */
.running07-timer-pill{
  margin: 62px auto 0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  height:58px;
  padding: 0 24px;
  border-radius: 50px;
  background:#000000;
  width: fit-content;
  box-sizing:border-box;
}
.running07-timer-text{
  font-size:28px;
  font-weight:500;
  letter-spacing:-0.4882px;
  line-height:46.866px;
  color:#13f83d;
}
.running07-timer-icon{
  width:28px;
  height:28px;
  flex: 0 0 28px;
}

/* =========================================================
   [COMPONENT] ?�브?�더 2 (node-id: 1199-14982)
   - Left: back(chevron) / Center: title / Right: close(X)
   - Header/Footer are imported separately (this is standalone)
   ========================================================= */

.subheader2-wrap{
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  background: #ffffff;
}

.subheader2{
  width: 100%;
  height: 50px;               /* status-bar ?�외 GNB ?�이 근사 */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 0;            /* Figma: py 13 */
  box-sizing: border-box;
}

.subheader2__inner{
  width: 100%;
  padding: 0 18px 0 24px;     /* Figma: pl 24 / pr 18 */
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.subheader2__btn{
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.subheader2__btn:active{
  transform: scale(0.96);
}

.subheader2__icon{
  width: 24px !important;
  height: 24px !important;
  object-fit: contain !important;
  display: block !important;
  max-width: none !important;
}

/* center title */
.subheader2__title{
  flex: 1 1 auto;
  text-align: center;
  font-family: "Pretendard", "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.408px;
  color: #181a1a;
  margin: 0;
  padding: 0 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* optional: hide buttons */
.subheader2__btn[hidden]{
  display: none !important;
}

/* =====================================================================
   Privacy Policy (node-id=1199-14118) - content only (no header/footer)
   ===================================================================== */
.privacy-policy-page{
  width: 375px;
  margin: 0 auto;
  background: #fff;
}

.privacy-policy-content{
  padding: 20px;
  color: #656565;
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: -0.6px;
}

.privacy-policy-content p{
  margin: 0;
}

.privacy-policy-content p + p{
  margin-top: 10px;
}

.privacy-policy-content .pp-heading{
  font-weight: 600;
}

.privacy-policy-content ol{
  margin: 0;
  padding-left: 18px;
}

.privacy-policy-content li{
  margin: 0;
}

.privacy-policy-content li + li{
  margin-top: 4px;
}

.privacy-policy-content a{
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-position: from-font;
}

/* Back icon from Figma is a chevron shape that needs rotation to match left-arrow */
.subheader2__icon--rotate270{
  transform: rotate(270deg);
  transform-origin: 50% 50%;
}

/* =========================
   AI 챗봇 01 (content-only) v2
   - ?�더/?�터???��? include ?�제
   - Figma(375w) 기�?, ?�역 CSS ?�향 최소??========================= */

.ai01-screen{
  /* ?��? ?�더가 fixed�???���?값만???�려주세??(?? 106px) */
  --ai01-top-offset: 0px;

  width: min(375px, 100%);
  margin: 0 auto;
  padding: var(--ai01-top-offset) 0 24px;
  box-sizing: border-box;
  background: #fff;

  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", Arial, sans-serif;
}

.ai01-avatar{
  width: 96px;
  height: 96px;
  display: block;
  /* Figma: x=35 */
  margin: 16px 0 0 35px;
}

.ai01-card{
  width: 327px;
  max-width: calc(100% - 48px);
  margin: 18px auto 0;
  background: #FFFCF2;
  border-radius: 8px;
  box-sizing: border-box;

  /* Figma 카드 ?�이(836) ?�낌 ?��?: ?�용 많으�?카드 ?��? ?�크�?*/
  /* 카드 ?�이???�용???�라 ?�어?�니??*/
  min-height: 836px; /* Figma 기본 ?�이 ?�낌�??��? */
  height: auto;
  overflow: visible;

  padding: 22px 18px 18px;
}

.ai01-title{
  margin: 6px 0 16px;
  text-align: center;
  color: #000;
  font-size: 20px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: -0.2px;
}

.ai01-body{
  color: #181A1A;
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: -0.14px;
}

.ai01-body p{ margin: 0 0 10px; }
.ai01-body p:last-child{ margin-bottom: 0; }

.ai01-body ol{
  margin: 0 0 10px 18px;
  padding: 0;
}
.ai01-body ul{
  margin: 6px 0 10px 18px;
  padding: 0;
  list-style: disc;
}
.ai01-body li{
  margin: 0 0 6px;
}
.ai01-body li:last-child{ margin-bottom: 0; }

/* 버튼 */
.ai01-btn{
  width: 327px;
  max-width: calc(100% - 48px);
  height: 48px;
  display: block;
  margin: 16px auto 0;

  border: 0;
  border-radius: 8px;
  background: #000;
  color: #fff;

  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;

  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.ai01-btn:active{ transform: translateY(1px); }



/* =========================
   AI Chatbot 06 (node:1199-15604)
   ========================= */

.ai06-screen{
  background:#f9f9f9;
}

/* If you need to push content below an imported header, set this:
   .ai06-screen{ --ai06-top-offset: 16px; }  (default)
   or e.g. 106px if header overlays content.
*/

.ai06-container{
  width:375px;
  margin:0 auto;
  padding: var(--ai06-top-offset, 16px) 18px 24px;
  box-sizing:border-box;
}

.ai06-stack{
  display:flex;
  flex-direction:column;
  gap:24px;
}

.ai06-card{
  background:#fff;
  border-radius:16px;
  box-shadow:0 0 8px rgba(0,0,0,0.05);
  box-sizing:border-box;
}

.ai06-card--p20{
  padding:20px;
}

.ai06-card--p20-24{
  padding:20px 20px 24px;
}

.ai06-title{
  margin:0 0 16px 0;
  font-family:Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
  font-weight:600;
  font-size:18px;
  line-height:1.4;
  color:#1a1a1a;
}

.ai06-summary ul{
  margin:0;
  padding-left:18px;
}

.ai06-summary li{
  font-family:Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
  font-weight:400;
  font-size:15px;
  line-height:22.4px;
  color:#333;
  margin:0 0 4px 0;
}

.ai06-note{
  margin:12px 0 0 0;
  font-family:Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
  font-weight:400;
  font-size:12px;
  line-height:1.4;
  color:#666;
  opacity:.7;
}

.ai06-indicators{
  display:flex;
  flex-direction:column;
  gap:20px;
}

.ai06-indicator-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:6px;
  opacity:.7;
}

.ai06-indicator-label{
  font-family:Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
  font-weight:500;
  font-size:12px;
  line-height:18px;
  color:#181a1a;
}

.ai06-indicator-status{
  font-family:Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
  font-weight:600;
  font-size:13px;
  line-height:18px;
  color:#474747;
}

.ai06-indicator-status--warn{ color:#ee5401; }

.ai06-bar{
  height:12px;
  background:rgba(0,0,0,0.08);
  border-radius:9999px;
  overflow:hidden;
}

.ai06-bar > span{
  display:block;
  height:100%;
  border-radius:9999px;
  background:linear-gradient(90deg,
    rgba(144,13,245,0.2) 3.437%,
    rgba(144,13,245,0.55) 30.42%,
    #900df5 100%
  );
}

/* Tips block has a slightly stronger shadow in Figma */
.ai06-card--tips{
  box-shadow:0 2px 8px rgba(0,0,0,0.08);
}

.ai06-tips{
  margin:0;
  padding:0;
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:6px;
}

.ai06-tips li{
  font-family:Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
  font-weight:400;
  font-size:15px;
  line-height:22.4px;
  color:#333;
}

.ai06-workouts{
  display:flex;
  flex-direction:column;
  gap:16px;
}

.ai06-workout{
  display:flex;
  align-items:center;
  gap:12px;
}

.ai06-thumb{
  width:84px;
  height:84px;
  border-radius:16px;
  overflow:hidden;
  flex:0 0 auto;
  background:#fff;
}

.ai06-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.ai06-winfo{
  flex:1 1 auto;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:4px;
}

.ai06-wtitle{
  margin:0;
  font-family:Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
  font-weight:600;
  font-size:16px;
  line-height:24px;
  color:#101010;
}

.ai06-meta{
  display:flex;
  align-items:center;
  gap:8px;
}

.ai06-meta-item{
  display:flex;
  align-items:center;
  gap:4px;
  color:#9e9e9e;
  font-family:Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
  font-weight:500;
  font-size:13px;
  line-height:normal;
  white-space:nowrap;
}

.ai06-icon{
  width:14px;
  height:14px;
  display:block;
  flex:0 0 auto;
}

.ai06-desc{
  margin:0;
  font-family:Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
  font-weight:400;
  font-size:13px;
  line-height:1.4;
  color:#666;
  letter-spacing:-0.5px;
}

.ai06-btnwrap{
  display:flex;
  justify-content:center;
  margin-top:24px;
}

.ai06-primary-btn{
  width:335px;
  height:48px;
  border:0;
  border-radius:8px;
  background:#000;
  color:#fff;
  font-family:Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
  font-weight:600;
  font-size:16px;
  line-height:1.45;
  cursor:pointer;
}

.ai06-primary-btn:active{ opacity:.9; }

/* Optional: make the button fixed like native screens */
.ai06-fixed-btn .ai06-btnwrap{
  position:sticky;
  bottom:20px;
}
.ai06-fixed-btn .ai06-container{
  padding-bottom:120px;
}


/* =========================
   Running Screen 05 - Lock Setting (no header) v3
   - Figma node: 1199-9289
   - NOTE: renewal_lee.css �??�래??append
========================= */

.run05-lock-body{
  margin:0;
  padding:0;
  min-height:100vh;
  background: linear-gradient(180deg, #0f172b 0%, #020618 50%, #111c35 100%);
  color:#fff;
}

/* 375px ?�레?�을 ?�스?�탑?�서???�일?�게 보이�?*/
.run05-lock{
  width:375px;
  height:976px; /* Figma absolute y�?904 ?? 고려 */
  margin:0 auto;
  position:relative;
  overflow:hidden;
  box-sizing:border-box;
}

/* dots */
.run05-lock__dots{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:8px;
  align-items:center;
  justify-content:center;
}
.run05-lock__dots .dot{
  width:8px; height:8px;
  border-radius:999px;
  background:#45556c;
  opacity:1;
}
.run05-lock__dots .dot--active{ background:#00bc7d; }
.run05-lock__dots .dot--green{ background:#13f83d; }
.run05-lock__dots .dot--green2{ background:#00bc7d; }

.run05-lock__dots--top{ top:32px; }     /* ?�그�?y=408?� 본문 기�??�어???�단?�서 보정 */
.run05-lock__dots--mid{ top:408px; }
.run05-lock__dots--bottom{ top:904px; }

/* metrics */
.run05-lock__metrics{
  position:absolute;
  top:144px;
  left:50%;
  transform:translateX(-50%);
  width:375px;
  height:264px;
  overflow:hidden;
  display:flex;
  align-items:flex-start;
  justify-content:center;
}
.metrics-carousel{
  width:327px;
  height:232px;
  display:flex;
  gap:24px;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none; /* firefox */
}
.metrics-carousel::-webkit-scrollbar{ display:none; } /* chrome/safari */

.metrics-page{
  flex:0 0 327px;
  height:232px;
  display:grid;
  grid-template-columns:1fr 1fr;
  grid-template-rows:1fr 1fr;
  column-gap:24px;
  row-gap:24px;
  padding:0 32px;
  box-sizing:border-box;
  scroll-snap-align:start;
}

.metric{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  gap:8px;
  padding-bottom:20px;
  box-sizing:border-box;
}
.metric__icon{
  width:24px; height:24px;
  display:block;
}
.metric__value{
  font-family: Inter, Pretendard, system-ui, -apple-system, Segoe UI, sans-serif;
  font-size:20px;
  line-height:28px;
  letter-spacing:-0.4492px;
  color:#fff;
}
.metric__value--big{
  font-family: Pretendard, system-ui, -apple-system, Segoe UI, sans-serif;
  font-weight:700;
  font-size:20px;
  line-height:28px;
}
.metric__label{
  font-family: Inter, Pretendard, system-ui, -apple-system, Segoe UI, sans-serif;
  font-size:14px;
  line-height:20px;
  letter-spacing:-0.1504px;
  color:#90a1b9;
}
.metric__label--ko{
  font-family:Pretendard, system-ui, -apple-system, Segoe UI, sans-serif;
  font-size:15px;
}

/* timer */
.run05-lock__timer{
  position:absolute;
  top:500px;
  left:50%;
  transform:translateX(-50%);
  width:283px;
  height:96px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.timer{
  font-family:Pretendard, system-ui, -apple-system, Segoe UI, sans-serif;
  font-weight:500;
  font-size:64px;
  line-height:96px;
  letter-spacing:-1px;
  color:#13f83d;
}

/* unlock sheet */
.run05-lock__unlock{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:0;
  width:375px;
}
.unlock-sheet{
  height:192px;
  padding:7px 24px 24px 24px;
  border-top-left-radius:30px;
  border-top-right-radius:30px;
  border:1px solid #1d293d;
  background: rgba(15,23,43,0.65);
  backdrop-filter: blur(6px);
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 -6px 24px rgba(0,0,0,0.25);
}

/* slide button */
.slide-unlock{
  width:327px;
  height:85px;
  border-radius:50px;
  position:relative;
  box-sizing:border-box;
  background: linear-gradient(89.9146deg, #223052 2.5792%, #1d2b4f 27.045%, #18274c 99.981%);
  box-shadow: inset 0 0 10px rgba(0,18,60,0.30);
  user-select:none;
  touch-action:pan-y;
}
.slide-unlock__track{
  position:absolute;
  inset:0;
  border-radius:50px;
}
.slide-unlock__label{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  font-family:Pretendard, system-ui, -apple-system, Segoe UI, sans-serif;
  font-weight:400;
  font-size:20px;
  line-height:24px;
  letter-spacing:-0.3125px;
  background: linear-gradient(90deg, #f8f8f8 19%, #c5c5c5 24.623%, #929292 112.4%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  pointer-events:none;
  white-space:nowrap;
}
.slide-unlock__thumb{
  position:absolute;
  top:50%;
  left:10px; /* pad */
  width:68px;
  height:68px;
  transform: translate3d(var(--thumb-x, 0px), -50%, 0);
  border-radius:999px;
  background:#060f26;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}
.slide-unlock__thumb img{
  width:24px; height:24px;
  display:block;
  pointer-events:none;
}

.slide-unlock.is-dragging .slide-unlock__thumb{ transition:none; }
.slide-unlock .slide-unlock__thumb{ transition: transform 200ms ease; }
.slide-unlock.is-unlocked{ opacity:0.9; }


/* =========================
   Running Screen 08 - End Screen
   node-id: 1199-9664
   (header/footer separated)
========================= */
.run08-screen{
  --run08-top-offset: 0px;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  width: 100%;
  /*max-width: 375px;*/
  margin: 0 auto;
  background: #fff;
  position: relative;
  padding: calc(var(--run08-top-offset) + 16px) 24px 24px;
  box-sizing: border-box;
}

.run08-quote{
  margin: 0 0 18px;
  font-family: "Fugaz One", Pretendard, sans-serif;
  font-size: 16px;
  line-height: 1.25;
  color: #101010;
}

.run08-stats{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 0 0 18px;
}

.run08-stat{
  text-align: center;
  min-width: 90px;
}

.run08-stat .val{
  font-size: 32px;
  line-height: 1.1;
  font-weight: 500;
  color: #1a1a1a;
  letter-spacing: -0.45px;
}

.run08-stat .lbl{
  margin-top: 6px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: #999;
  letter-spacing: -0.15px;
}

.run08-map{
  position: relative;
  width: 100%;
  height: 402px;
  border-radius: 8px;
  overflow: hidden;
  margin: 0 0 18px;
}

.run08-map img.run08-map-img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.run08-map-overlay{
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.run08-compass{
  position: absolute;
  width: 30px;
  height: 30px;
}

.run08-compass img{
  width: 100%;
  height: 100%;
  display: block;
}

.run08-compass .letter{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: Inter, Pretendard, sans-serif;
  font-weight: 700;
  font-size: 10.4px;
  color: #fff;
}

.run08-compass--s{ left: 70px; top: 46px; }
.run08-compass--e{ right: 18px; top: 6px; }

.run08-route-legend{
  position: absolute;
  left: 17px;
  right: 17px;
  bottom: 18px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0px 4px 6px -1px rgba(0,0,0,0.1), 0px 2px 4px -2px rgba(0,0,0,0.1);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.run08-route-legend .left{
  display: flex;
  gap: 8px;
  align-items: center;
}

.run08-route-legend .dot{
  width: 12px;
  height: 12px;
  border-radius: 9999px;
  background: #ff9900;
  flex: 0 0 auto;
}

.run08-route-legend .txt{
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: #1a1a1a;
  letter-spacing: -0.15px;
}

.run08-route-legend .dist{
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: #1a1a1a;
  letter-spacing: -0.15px;
}

.run08-heading{
  margin: 6px 0 12px;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
  color: #262c31;
}

.run08-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
}

.run08-card{
  background: #f8f8f8;
  border-radius: 8px;
  padding: 14px 13px;
  box-sizing: border-box;
  min-height: 98px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.run08-card .top{
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
}

.run08-card .icon{
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
}

.run08-card .icon img{
  width: 14px;
  height: 14px;
  display: block;
}

.run08-card .label{
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: #262c31;
  letter-spacing: -0.15px;
}

.run08-card .metric{
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.run08-card .metric .num{
  font-size: 32px;
  line-height: 40px;
  font-weight: 500;
  color: #1a1a1a;
  letter-spacing: -0.45px;
}

.run08-card .metric .unit{
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
  color: #999;
  letter-spacing: -0.31px;
}

.run08-primary{
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 8px;
  background: #12c46b;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  cursor: pointer;
}

.run08-primary:active{
  transform: translateY(1px);
}

/* =========================
   Footer (Figma node: 1199-5614)
   ========================= */
.pc-footer{
  --pc-footer-bg: #f8f8f8;
  --pc-footer-maxw: 375px;
  --pc-footer-pad-x: 24px;
  --pc-footer-pad-top: 26px;
  --pc-footer-pad-bottom: 96px; /* safe area / ?�자???�백 */
  background: var(--pc-footer-bg);
  color: #778088;
  width: 100%;
}

.pc-footer.is-fixed{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
}

.pc-footer__inner{
  max-width: var(--pc-footer-maxw);
  margin: 0 auto;
  padding: var(--pc-footer-pad-top) var(--pc-footer-pad-x) var(--pc-footer-pad-bottom);
  box-sizing: border-box;
}

.pc-footer__logo{
  /* height: 28px; */
  width: auto;
  margin: 0;
}
.pc-footer__logo img{
  width: auto;
  height: 100%;
  object-fit: contain;
  display: block;
}

.pc-footer__head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.pc-footer__top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.pc-footer__links{
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  font-family: Pretendard, sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.5;
  color: #181a1a;
  letter-spacing: -0.2px;
}
.pc-footer__links a{
  color: inherit;
  text-decoration: none;
}
.pc-footer__links a:hover{ text-decoration: underline; }

.pc-footer__sns{
  display: flex;
  align-items: center;
  gap: 10px;
}
.pc-footer__sns a{
  width: 39px;
  height: 39px;
  border: 0.929px solid #ecedf0;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}
.pc-footer__sns img{
  width: 22.286px;
  height: 22.286px;
  display: block;
  object-fit: contain;
}

.pc-footer__meta{
  font-family: Pretendard, sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.6;
  color: var(--Gray-5, #778088);
  text-align: left;
}

.pc-footer__meta p{
  margin: 0;
  color: var(--Gray-5, #778088);
  text-align: left;
}

.pc-footer__meta .pc-footer__copy{
  color: var(--Gray-5, #778088);
}
.pc-footer__meta p{
  margin: 0;
}
.pc-footer__meta .pc-footer__spacer{
  height: 8px;
}
.pc-footer__meta .pc-footer__copy{
  font-size: 9.259px;
  line-height: 12.731px;
  color: var(--Gray-5, #778088);
  text-align: left;
}

body .pc-footer__meta,
body .pc-footer__meta p{
  color: var(--Gray-5, #778088) !important;
  text-align: left !important;
}

/* === report01 RLA bars (v2) : �?캐릭?? + 8?�계 �?Figma ?�태�?=== */
.report01-rla-figures{
  margin-top:6px;
  width:327px;
  display:flex;
  gap:1.846px;
}
.rla-figure{
  width:39.26px;
  height:58.454px;
  position:relative;
  overflow:hidden;
}
.rla-figure__img{
  position:absolute;
  top:-41.94%;
  width:518.71%;
  height:477.42%;
  max-width:none;
}
.rla-figure--1 .rla-figure__img{ left:-20%; }
.rla-figure--2 .rla-figure__img{ left:-150.72%; }
.rla-figure--3 .rla-figure__img{ left:-274.52%; }
.rla-figure--4 .rla-figure__img{ left:-402.19%; }
.rla-figure--5 .rla-figure__img{ left:-20%; }
.rla-figure--6 .rla-figure__img{ left:-150.72%; }
.rla-figure--7 .rla-figure__img{ left:-274.52%; }
.rla-figure--8 .rla-figure__img{ left:-402.19%; }

.report01-rla-bars{
  margin-top:0;
  width:327px;
  height:230px;
  display:flex;
  gap:1.846px;
  align-items:stretch;
}
.rla-bar{
  width:39.26px;
  height:100%;
  border-radius:0;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding-top:14px;
  box-sizing:border-box;
}
.rla-bar span{
  font-family:Pretendard, sans-serif;
  font-weight:600;
  font-size:13px;
  line-height:1.45;
  color:#0A0A0A;
}

/*?�림*/

/* Frame */
    .alarm-wrap{
    /*  max-width:375px;*/
      margin:0 auto;
      min-height:100vh;
      background:#fff;
      position:relative;
      font-family:"Pretendard","Noto Sans KR",system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
      color:#181a1a;
      overflow:hidden;
    }

    /* List */
    .alarm-list{ padding:0; }
    .alarm-item{ border-bottom:1px solid #eee; }
    .alarm-item.is-highlight{ background:rgba(209,242,225,0.3); }

    .alarm-item-inner{
      display:flex;
      align-items:center;
      gap:10.417px;
      padding:16.667px 20.833px;
      box-sizing:border-box;
    }

    .alarm-avatar{
      width:36px;
      height:36px;
      border-radius:9999px;
      border:0.563px solid rgba(0,23,88,0.05);
      background:#fff;
      display:flex;
      align-items:center;
      justify-content:center;
      overflow:hidden;
      flex:0 0 36px;
    }
    .alarm-avatar img{
      width:36px;
      height:36px;
      object-fit:contain;
    }

    .alarm-text{
      flex:1;
      min-width:0;
      display:flex;
      flex-direction:column;
      gap:2px;
    }
    .alarm-msg{
      margin:0;
      font-size:14px;
      font-weight:500;
      line-height:1.5;
      color:#1d1d1d;
      word-break:keep-all;
    }
    .alarm-date{
      margin:0;
      font-size:13px;
      font-weight:400;
      line-height:1.4;
      color:#7e7e7e;
    }

    /* =================================================================
   [PAGE] analysis_report_01_v6.html (?�더/?�터 ?�외)
   - 추�?: ???�릭 ???�널 ?�환(tab-panel show/hide)
   - 기존 v5 ?��????�함
   ================================================================= */

body.ai-report-body{ background:#fff; }

/* ???�스?�탑?�서??모바???�레?�처??보이�?*/
.ai-report-content{
  padding: 22px 20px 24px;
  background:#fff;
  max-width: 420px;
  margin: 0 auto;
}

.ai-report-section{ margin-bottom:28px; }

/* ?????�널 */
.tab-panel{ display:none; }
.tab-panel.is-active{ display:block; }

/* --- chart --- */
.line-chart-card{
  position: relative;
  border: 1px solid #eeeeee;
  border-radius: 12px;
  background: #ffffff;
  padding: 12px 10px 14px;
}
.chart-ylabels{
  position: absolute;
  right: 10px;
  top: 12px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 12px;
  color: #9aa0a6;
}
.chart-xlabels{
  margin-top: 6px;
  display: flex;
  justify-content: space-between;
  padding: 0 6px;
  font-size: 11px;
  color: #b0b0b0;
}
.chart-tooltip{
  position: absolute;
  left: 58%;
  top: 54%;
  transform: translate(-50%, -50%);
  min-width: 150px;
  background: #ffffff;
  border: 1px solid #e7e7e7;
  border-radius: 10px;
  padding: 10px 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.10);
}
.tooltip-date{ font-size:12px; color:#666; text-align:center; margin-bottom:8px; }
.tooltip-row{ display:flex; align-items:baseline; justify-content:space-between; gap:14px; font-size:13px; margin-bottom:4px; }
.tooltip-row:last-child{ margin-bottom:0; }
.t-label{ color:#333; font-weight:500; }
.t-right{ display:flex; align-items:baseline; gap:4px; }
.t-value{ font-family:'Roboto',system-ui,sans-serif; font-weight:800; color:#171717; }
.t-unit{ font-size:12px; color:#888; }

/* --- RLA --- */
.report01-rla-subhead{
  width: 327px;
  max-width: 100%;
  margin: 10px auto 6px;
  display:flex;
  justify-content:space-between;
  font-size:11px;
  line-height:16.5px;
  color:#444;
}
.report01-rla-toggle{
  width: 327px;
  max-width: 100%;
  margin: 0 auto 6px;
  display:flex;
  border-radius:100px;
  overflow:hidden;
}
.report01-rla-pill{
  border:none;
  height:23px;
  font-size:15px;
  font-weight:600;
  color:#fff;
  text-transform:uppercase;
  background:#45b178;
}
.report01-rla-pill:first-child{ width:203px; }
.report01-rla-pill:last-child{ width:124px; }
.report01-rla-pill--blue{ background:#508fd8; }

.report01-rla-bearstrip{
  position: relative;
  width: 327px;
  max-width: 100%;
  margin: 0 auto;
}
.report01-rla-bearstrip__img{ display:block; width:100%; height:auto; }
.report01-rla-bearstrip__hit{
  position:absolute;
  left:0; top:0;
  width:100%; height:100%;
  display:flex;
}
.report01-rla-hit{
  flex:1;
  border:none;
  background: transparent;
  padding:0;
  margin:0;
  cursor:pointer;
}

.report01-rla-lines{
  width: 327px;
  max-width: 100%;
  margin: 6px auto 0;
  display: flex;
  gap: 2px;
  height: 5px;
}
.report01-rla-line{
  flex: 1;
  border-radius: 3px;
  opacity: 0.35;
}
.report01-rla-line--stance{ background:#45b178; }
.report01-rla-line--swing{ background:#508fd8; }
.report01-rla-line.is-active{ opacity: 1; }

.report01-rla-labels{
  width: 327px;
  max-width: 100%;
  margin: 6px auto 0;
  display:flex;
  justify-content:space-between;
  gap:10px;
  font-family: Pretendard, sans-serif;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.45;
  color:#0A0A0A;
}

.report01-rla-hint{
  margin: 10px 0 12px;
  text-align:center;
  font-size:12px;
  color:#6a7282;
}

/* ?�세 카드 */
.report01-rla-detail-card{
  width: 327px;
  max-width: 100%;
  margin: 0 auto;
  background:#ffedd4;
  border-radius:16px;
  padding:16px;
}
.report01-rla-detail-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; }
.report01-rla-detail-title{ display:flex; align-items:baseline; gap:8px; }
.report01-rla-detail-title strong{ font-size:17px; font-weight:600; color:#101828; }
.report01-rla-score{ font-size:17px; font-weight:600; color:#f56911; }
.report01-rla-tag{
  background:#fff;
  border:1px solid #ffd6a7;
  border-radius:4.165px;
  padding:3px 9px;
  font-size:12.5px;
  color:#f54900;
}
.report01-rla-detail-desc{
  font-size:15px;
  line-height:1.45;
  color:#364153;
  margin:0 0 12px;
  letter-spacing:-0.15px;
}
.report01-rla-btn{
  width:100%;
  height:41.6px;
  border-radius:8px;
  border:1px solid #ededed;
  background:#fff;
  font-size:14px;
  color:#181a1a;
}

.report01-rla-footnote{
  width: 327px;
  max-width: 100%;
  margin: 12px auto 0;
  font-size:13px;
  line-height:1.5;
  color:#6a7282;
}

/* 카드 ?�이�?SVG */
.data-row .data-icon{ width:20px; height:20px; margin-right:10px; display:block; color:#2f80ed; flex-shrink:0; }
.data-row .data-icon--orange{ color:#ff8a00; }


/* =================================================================
   [FIX] tab-menu button reset (?�닝/걷기/?�체계측 ??�� 버튼?�라 기본 ?�두�?배경??보이??문제 ?�결)
   ================================================================= */
.tab-menu .tab-item{
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  margin: 0;
  font: inherit;
  line-height: inherit;
}

/* ?�릭/?�커????기본 ?�웃?�인??과하�?보이�?최소??(?�근??고려???�게 ?��?) */
.tab-menu .tab-item:focus{
  outline: 2px solid rgba(23,23,23,0.15);
  outline-offset: -2px;
}
.tab-menu .tab-item:focus:not(:focus-visible){
  outline: none;
}


/* report _detail.html overrides */
/* =========================================================
       report _detail.html (node-id=1199-10129) ?�그�??��? 맞춤 ?�버?�이??       - ?�스???��????�간, ?�이�? 컬러, 그라?�이??게이지)?� ?��?지�?받도�?구성
       ========================================================= */

    body{
      padding-top:0 !important;
      padding-bottom:0 !important;
      background:#fff;
      font-family:Pretendard, "Noto Sans KR", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
      color:#262c31;
      overflow-x:hidden;
    }

    /* 기존 report/detail 컨테?�너?� 충돌 방�? */
    .report02{
      max-width:420px;
      margin:0 auto;
      min-height:100vh;
      background:#fff;
      position:relative;
    }

    /* GNB */
    .r2-gnb{
      height:50px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      padding:13px 24px;
      box-sizing:border-box;
      background:#fff;
    }
    .r2-gnb .r2-icon-btn{
      width:40px; height:40px;
      display:flex; align-items:center; justify-content:center;
      border:0; background:transparent;
      border-radius:100px;
      padding:0;
    }
    .r2-gnb .r2-icon-btn img{ width:24px; height:24px; display:block; }
    .r2-gnb .r2-title{
      font-weight:600;
      font-size:20px;
      line-height:1.5;
      letter-spacing:0; /* figma??별도 tracking ?�음 */
      color:#000;
      margin:0;
    }

    /* Hero */
    .r2-hero{
      display:flex;
      gap:18px;
      padding:16px 24px 0;
      box-sizing:border-box;
    }
    .r2-score{
      flex:1;
      display:flex;
      flex-direction:column;
      gap:18px;
      padding-top:22px;
      min-width:0;
    }
    .r2-score .r2-score-block{
      display:flex;
      flex-direction:column;
      gap:4px;
    }
    .r2-score .r2-score-label{
      font-weight:600;
      font-size:18px;
      line-height:1.4;
      letter-spacing:-0.18px;
      color:#444;
      margin:0;
    }
    .r2-score .r2-score-value{
      font-weight:600;
      font-size:26px;
      line-height:1.4;
      color:#09bf5a;
      margin:0;
    }

    .r2-score .r2-score-meta{
      display:flex;
      flex-direction:column;
      gap:7px;
    }
    .r2-meta-row{
      display:flex;
      gap:4px;
      align-items:flex-end;
      white-space:nowrap;
    }
    .r2-meta-row .r2-meta-k{
      font-weight:400;
      font-size:14px;
      line-height:1.4;
      letter-spacing:-0.14px;
      color:#444;
      margin:0;
    }
    .r2-meta-row .r2-meta-v{
      font-weight:600;
      font-size:16px;
      line-height:1.4;
      color:#181a1a;
      margin:0;
    }

    .r2-badge{
      position:absolute;
      left:93px;
      top:185px;
      width:46px;
      height:25px;
      border:1px solid #ecedf0;
      border-radius:6px;
      display:flex;
      align-items:center;
      justify-content:center;
      box-sizing:border-box;
      background:transparent;
    }
    .r2-badge span{
      font-weight:700;
      font-size:13px;
      line-height:18.75px;
      color:#48c45e;
      white-space:nowrap;
    }

    .r2-char{
      width:175px;
      height:212px;
      position:relative;
      border-radius:8px;
      overflow:hidden;
      flex:0 0 auto;
      background:#f2faf4;
    }
    .r2-char .r2-char-bar{
      position:absolute;
      left:0; right:0; bottom:0;
      height:35px;
      background:#12c46b;
    }
    .r2-char img{
      position:absolute;
      left:50%;
      top:0;
      transform:translateX(-50%);
      width:140px;
      height:191.852px;
      object-fit:cover;
      pointer-events:none;
    }
    .r2-char .r2-cheer{
      position:absolute;
      left:50%;
      bottom:8px;
      transform:translateX(-50%);
      font-weight:600;
      font-size:14px;
      line-height:1.4;
      color:#fff;
      text-align:center;
      white-space:nowrap;
      z-index:2;
    }

    /* info line */
    .r2-info{
      display:flex;
      gap:6px;
      align-items:flex-start;
      padding:16px 24px 0;
      box-sizing:border-box;
    }
    .r2-info img{
      width:16px; height:16px;
      margin-top:3px;
      flex:0 0 auto;
    }
    .r2-info p{
      margin:0;
      font-weight:400;
      font-size:13px;
      line-height:18.75px;
      color:#adb4ba;
      letter-spacing:0;
    }

    /* divider */
    .r2-divider{ height:7px; background:#f9f9f9; margin:18px 0; }

    /* Section title */
    .r2-section{
      padding:0 24px;
      box-sizing:border-box;
    }
    .r2-section h2{
      margin:0 0 12px;
      font-weight:600;
      font-size:20px;
      line-height:1.4;
      color:#262c31;
      letter-spacing:0;
    }

    .r2-summary{
      background:#f4f8fb;
      border-radius:8px;
      padding:18px 25px;
      box-sizing:border-box;
      color:#181a1a;
      font-weight:500;
      font-size:16px;
      line-height:1.5;
    }

    .r2-reco{
      background:#f8f8f8;
      border-radius:8px;
      padding:10px;
      box-sizing:border-box;
    }
    .r2-reco-item{
      display:flex;
      gap:18px;
      align-items:flex-start;
      padding:10px;
    }
    .r2-num{
      width:24px; height:24px;
      border-radius:12px;
      background:#10c46b;
      display:flex;
      align-items:center;
      justify-content:center;
      flex:0 0 auto;
      color:#fff;
      font-weight:500;
      font-size:14px;
      line-height:1;
    }
    .r2-reco-item p{
      margin:0;
      font-weight:500;
      font-size:14px;
      line-height:1.4;
      color:#181818;
    }

    /* biomech chart */
    .r2-chart-wrap{
      display:flex;
      flex-direction:column;
      align-items:center;
      padding:0 24px;
      box-sizing:border-box;
    }
    .r2-chart{
      width:298px;
      max-width:100%;
      height:auto;
      display:block;
    }
    .r2-chart-desc{
      width:326px;
      max-width:100%;
      background:#f5f3ff;
      border-radius:8px;
      padding:12px 16px;
      box-sizing:border-box;
      margin-top:14px;
      text-align:center;
      font-weight:500;
      font-size:16px;
      line-height:1.5;
      color:#181a1a;
    }

    /* results title */
    .r2-results-head{
      padding:0 24px;
      box-sizing:border-box;
      margin-top:8px;
    }
    .r2-results-head h2{ margin:0 0 6px; }
    .r2-results-head p{
      margin:0;
      font-weight:500;
      font-size:14px;
      line-height:21.5px;
      color:#778088;
    }

    /* cards */
    .r2-grid{
      padding:14px 24px 120px;
      box-sizing:border-box;
      display:grid;
      grid-template-columns:1fr 1fr;
      gap:12px;
    }
    .r2-card{
      height:110px;
      border-radius:12px;
      background:rgba(244,246,246,0.5);
      position:relative;
      overflow:hidden;
      cursor:pointer;
    }
    .r2-card .r2-card-top{
      position:absolute;
      left:12px; right:12px; top:12px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      height:21px;
    }
    .r2-card .r2-card-label{
      display:flex;
      align-items:center;
      gap:8px;
      min-width:0;
    }
    .r2-card .r2-card-label img{ width:14px; height:14px; display:block; }
    .r2-card .r2-card-label span{
      font-weight:500;
      font-size:14px;
      line-height:21px;
      color:#262c31;
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
    }
    .r2-card .r2-card-top .r2-arrow{
      width:16px; height:16px; display:block;
    }

    .r2-card .r2-status{
      position:absolute;
      left:25px;
      top:57px;
      font-weight:600;
      font-size:15px;
      line-height:20.3px;
      color:#262c31;
      white-space:nowrap;
    }

    /* 게이지???�자??그라?�이??컬러)???�어가???��?지�?받도�?*/
    .r2-card .r2-gauge{
      position:absolute;
      left:6px;
      top:30px;
      width:80px;
      height:80px;
      object-fit:contain;
      pointer-events:none;
    }

    .r2-card .r2-value{
      position:absolute;
      right:12px;
      bottom:18px;
      display:flex;
      gap:2px;
      align-items:flex-end;
      justify-content:flex-end;
      text-align:right;
      white-space:nowrap;
    }
    .r2-card .r2-value .v{
      font-weight:600;
      font-size:16px;
      line-height:24px;
      letter-spacing:-0.16px;
      color:#262c31;
    }
    .r2-card .r2-value .u{
      font-weight:600;
      font-size:11px;
      line-height:1.1;
      color:#adb4ba;
      letter-spacing:0;
      transform:translateY(-1px);
    }
    .r2-card .r2-value .u.tight{ letter-spacing:-0.3px; } /* min/km */

    /* bottom primary button */
    .r2-cta{
      position:fixed;
      left:50%;
      transform:translateX(-50%);
      bottom:16px;
      width:min(335px, calc(100% - 40px));
      height:48px;
      border:0;
      border-radius:8px;
      background:#12c46b;
      color:#fff;
      font-weight:600;
      font-size:16px;
      line-height:1.45;
      cursor:pointer;
      z-index:50;
    }

    /* bottom sheet: 기존 ?��????�용?�되 버튼 ?�만 맞춤 */
    .confirm-btn{ background:#12c46b; }
  
.figma-assets{padding:20px 16px;margin:24px 0;background:#111827;border-radius:12px;color:#fff;}
.figma-assets h2{font-size:16px;margin:0 0 8px;}
.figma-assets p{font-size:12px;opacity:.85;margin:0 0 12px;}
.figma-assets a{color:#93c5fd;text-decoration:underline;}
.figma-assets ul{margin:0;padding-left:18px;}
.figma-assets li{margin:6px 0;font-size:13px;}

/* =================================================================
   [PATCH] 1199-10129 (?�세 분석 리포?? ?�스???��????�간 보정
   - ?�른 ?�이?�웃/컬러/?�이�?그라?�이?��? 건드리�? ?�음
   - ?�용 범위: .detail-container ?��?�?   ================================================================= */

.detail-container {
  font-family: "Pretendard", "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #262c31;
}

/* HERO */
.detail-container .score-title{
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.18px;
  color: #444;
}
.detail-container .score-value{
  font-size: 26px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  color: #09bf5a;
}
.detail-container .score-badge{
  font-size: 13px;
  font-weight: 700;
  line-height: 18.75px;
  letter-spacing: 0;
}
.detail-container .score-desc{
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.14px;
  color: #444;
}
.detail-container .score-desc strong{
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  color: #181a1a;
}
.detail-container .char-btn{
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
}
.detail-container .info-text{
  font-size: 13px;
  font-weight: 400;
  line-height: 18.75px;
  letter-spacing: 0;
  color: #adb4ba;
}

/* ?�션 */
.detail-container .section-head{
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  color: #262c31;
}
.detail-container .summary-box{
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
  color: #181a1a;
}
.detail-container .recommend-item{
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  color: #181818;
}
.detail-container .num-circle{
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}
.detail-container .chart-desc-box{
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
  color: #181a1a;
}
.detail-container .sub-desc{
  font-size: 14px;
  font-weight: 500;
  line-height: 21.5px;
  letter-spacing: 0;
  color: #778088;
}

/* 카드(??��) */
.detail-container .ac-head{
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
  letter-spacing: 0;
  color: #262c31;
}
.detail-container .ac-head span{
  font-weight: 500;
  letter-spacing: 0;
  color: #262c31;
}
.detail-container .ac-val{
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: -0.16px;
  color: #262c31;
}
.detail-container .ac-unit{
  font-size: 11px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.3px;
  color: #adb4ba;
}
.detail-container .donut-text{
  font-size: 15px;
  font-weight: 600;
  line-height: 20.3px;
  letter-spacing: 0;
}

/* 바�??�트 */
.detail-container .sheet-title{
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
}



/* =========================================================
   [MyPage] Figma spacing & typography sync
   - File: AS1KSTMr9hQkbnpO5Nwx2o
   - Nodes: 1199:11260 (?�결 ?�료), 1199:11387 (?�결 ?�요)
   Scope: body.Sub.wearable_page (마이?�이지.html)
   ========================================================= */

body.Sub.wearable_page .container{
/*  max-width:375px;*/
  margin:0 auto;
  padding-left:0;
  padding-right:0;
  background:#fff;
    padding: 0 !important;

}

body.Sub.wearable_page main.content{
  padding:0;
  padding-bottom:120px; /* bottom nav safe area */
}

/* ===== Device status area ===== */
body.Sub.wearable_page .device-status-card{
  margin:0;
  padding:0 20px;
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
}

body.Sub.wearable_page .device-status-card .device-info{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:10px;
  padding-top:22px; /* visually aligns with figma */
}

body.Sub.wearable_page .device-status-card .status-item{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-end;
  gap:2px;
  min-width:72px;
  color:#000;
}

body.Sub.wearable_page .device-status-card .status-item span{
  font-size:16px;
  line-height:20px;
  letter-spacing:-0.4px;
}

body.Sub.wearable_page .device-status-card .status-item span:first-child{
  font-weight:400;
}

body.Sub.wearable_page .device-status-card .icon.bluetooth-icon{
  width:24px;
  height:24px;
  margin-bottom:6px;
}

body.Sub.wearable_page .device-status-card .device-image-wrapper{
  display:flex;
  align-items:center;
  justify-content:center;
  width:90px;
}

body.Sub.wearable_page .device-status-card .device-image{
  width:81px;
  height:auto;
  display:block;
}

/* Link settings row (center) */
body.Sub.wearable_page .device-status-card .link-settings{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:4px;
  padding:12px 0 18px;
  margin:0 auto;
  color:#464646;
  text-decoration:none;
}

body.Sub.wearable_page .device-status-card .link-settings span{
  font-size:14px;
  line-height:20px;
  letter-spacing:-0.4px;
  font-weight:400;
}

body.Sub.wearable_page .device-status-card .link-settings .arrow-right-icon{
  width:18px;
  height:18px;
  opacity:0.9;
}

/* ===== Icon menu (gray rounded container) ===== */
body.Sub.wearable_page .icon-menu-wrapper{
  padding:0 20px;
  margin-top:6px;
}

body.Sub.wearable_page .icon-menu{
  background:#fbfbfb;
  border-radius:8px;
  height:80px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 14px;
  position:relative;
}

body.Sub.wearable_page .icon-menu .menu-item{
  flex:1 1 0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:7px;
  position:relative;
}

body.Sub.wearable_page .icon-menu .menu-item:not(:last-child)::after{
  content:"";
  position:absolute;
  right:0;
  top:50%;
  transform:translateY(-50%);
  width:1px;
  height:26px;
  background:rgba(217,217,217,0.6);
}

body.Sub.wearable_page .icon-menu .icon-img-circle{
  width:28px;
  height:28px;
  border-radius:0;
  background:transparent;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
  margin:0;
}

body.Sub.wearable_page .icon-menu .icon-img-circle img{
  width:28px;
  height:28px;
  display:block;
  object-fit:contain;
}

body.Sub.wearable_page .icon-menu .menu-item > span{
  font-size:13px;
  line-height:18.75px;
  letter-spacing:-0.4px;
  font-weight:600; /* SemiBold */
  color:#5a636a;
}

/* ===== Membership gradient button ===== */
body.Sub.wearable_page .membership-section{
  padding:0 20px;
  margin-top:14px;
}

body.Sub.wearable_page .membership-button{
  height:55px;
  border-radius:8px;
  padding:0 20px 0 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  text-decoration:none;
  background:linear-gradient(-79deg,#0ABA63 2%,#08B660 19%,#06B35E 49%,#03AC59 92%);
}

body.Sub.wearable_page .membership-button *{
  color:#fff;
}

body.Sub.wearable_page .membership-left{
  display:flex;
  align-items:center;
  gap:10px;
}

body.Sub.wearable_page .membership-badge{
  width:27px;
  height:27px;
  display:block;
}

body.Sub.wearable_page .membership-left span{
  font-size:14px;
  line-height:18.75px;
  font-weight:600;
  letter-spacing:-0.4px;
}

body.Sub.wearable_page .membership-right span{
  font-size:13px;
  line-height:18.75px;
  font-weight:600;
  letter-spacing:-0.4px;
}

/* ===== Settings list ===== */
body.Sub.wearable_page .settings-section{
  margin-top:26px;
  border-top:7px solid #f9f9f9; /* divider_nav */
  padding-top:22px;
}

body.Sub.wearable_page .settings-section::before{
  content:"마이페이지";
  display:block;
  padding:0 20px;
  margin-bottom:20px;
  font-size:22px;
  line-height:1.4;
  font-weight:600;
  letter-spacing:-0.4px;
  color:#191919;
}

body.Sub.wearable_page .setting-group{
  margin:0 0 40px;
}

body.Sub.wearable_page .setting-group:last-child{
  margin-bottom:20px;
}

body.Sub.wearable_page .group-title{
  padding:0 20px;
  margin:0 0 10px;
  font-size:18px;
  line-height:1.4;
  font-weight:600;
  letter-spacing:-0.4px;
  color:#191919;
}

body.Sub.wearable_page .setting-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 20px;
  height:36px;
  text-decoration:none;
  color:#222;
}

body.Sub.wearable_page .setting-item > span{
  font-size:16px;
  line-height:1.4;
  font-weight:500; /* Medium */
  letter-spacing:-0.4px;
}

body.Sub.wearable_page .setting-item .arrow-right-icon{
  width:18px;
  height:18px;
  opacity:0.9;
}

body.Sub.wearable_page .setting-item.with-toggle{
  gap:12px;
}

body.Sub.wearable_page .switch{
  margin:0;
}

body.Sub.wearable_page .text-logout > span{
  font-weight:400;
  color:#222;
}

body.Sub.wearable_page .text-withdrawal > span{
  font-weight:500;
  color:#bcbcbc;
}


/* =================================================================
   [PATCH] ?��???번호 변�?(Figma: 1199-14385, 1199-14399)
   - ?�백/?�인(간격) 보정: header ?��? 주입 케?�스 ?�?? ?�증 ?�역 추�? ?�백 ?�거
   ================================================================= */

body.main_home_body.phone-edit-body .phone-edit-page{
  /* 기존: header 미포???�독 ?�이지 기�? */
  padding: 158px 20px 120px;
}

/* ?�력/?�증 ?�역: flex gap?�로�?간격 ?��? (추�? margin ?�거) */
body.main_home_body.phone-edit-body .pe-verify{
  margin-top: 0;
}

/* line-height(?�인 ?�백) 보정: ?�력�??�레?�스?�?��? ?�그마처??깔끔?�게 */
body.main_home_body.phone-edit-body .pe-input,
body.main_home_body.phone-edit-body .pe-code{
  line-height: 1.3;
}

/* ?�증 ?�료 ?�태(14399): ?�력값�? 15px / 1.45 ?�낌 */
body.main_home_body.phone-edit-body .pe-input[readonly]{
  font-size: 15px;
  line-height: 1.45;
}

/* ?�증 ?�료 버튼(14399): radius 5px */
body.main_home_body.phone-edit-body .pe-send.is-done{
  border-radius: 5px;
}

/* content 기본 padding-bottom(20px) ?�향 ?�거 */
body.main_home_body.phone-edit-body .content{
  padding-bottom: 0;
}


/* =========================================================
   Account Edit (Figma: AS1KSTMr9hQkbnpO5Nwx2o / 1199-14313)
   - ?�백 보정
   - ?�인?�백(불필?�한 margin/line-gap) ?�거
   ========================================================= */
body.account-edit-body .account-edit-page{
  /* 기존 공통 .content padding ?�향 ?�거 ???�그�?간격?�로 */
  padding: 26px 20px 120px !important;
  margin: 0 !important;
  background: transparent;
}

body.account-edit-body .account-edit-page form{
  margin: 0 !important;
}

body.account-edit-body .account-edit-page p,
body.account-edit-body .account-edit-page label{
  margin: 0 !important; /* ?�인 ?�백 방�? */
}

body.account-edit-body .ae-field{
  margin: 0 0 22px 0 !important; /* ?�그�?gap 22 */
}

body.account-edit-body .ae-field:last-child{
  margin-bottom: 0 !important;
}

/* Labels */
body.account-edit-body .ae-label,
body.account-edit-body .ae-sub-label{
  display:block;
  font-family: "Pretendard", sans-serif;
  font-weight: 600; /* SemiBold */
  font-size: 16px;
  line-height: 1.45;
  color: #282828;
  margin-bottom: 6px !important; /* ?�그�?gap 6 */
}

body.account-edit-body .ae-sub-label{
  font-size: 15px;
}

/* Section title (?�동 ?�보) */
body.account-edit-body .ae-section-title{
  font-family: "Pretendard", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.45;
  color: #282828;
  margin: 0 0 6px 0 !important;
}

/* Inputs (47px, radius 4, border #e4e4e4, padding-left 15) */
body.account-edit-body .ae-input{
  box-sizing: border-box;
  width: 100%;
  height: 47px;
  border: 1px solid #e4e4e4;
  border-radius: 4px;
  background: #fff;
  padding: 0 15px;
  font-family: "Pretendard", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 47px; /* ?�로 가?�데 ?�렬 */
  color: #222;
  outline: none;
}

body.account-edit-body .ae-input::placeholder{
  color: #8b8b8b;
  opacity: 1;
}

/* Disabled email */
body.account-edit-body .ae-input--disabled{
  background:#e3e3e3 !important;
  border-color:#e3e3e3 !important;
  color:#8b8b8b !important;
}

/* Phone input with action text inside */
body.account-edit-body .ae-input-wrap{
  position: relative;
}

body.account-edit-body .ae-input--with-action{
  padding-right: 92px; /* '번호 변�? ?�리 ?�보 */
  color:#8b8b8b;
}

body.account-edit-body .ae-input-action{
  position:absolute;
  right:15px;
  top:50%;
  transform:translateY(-50%);
  border:0;
  background:transparent;
  padding:0;
  margin:0;
  font-family:"Pretendard", sans-serif;
  font-weight:500; /* Medium */
  font-size:16px;
  line-height:1.4;
  color:#656565;
}

/* Gender box (?�그마는 63~68px) */
body.account-edit-body .ae-gender{
  box-sizing: border-box;
  width: 68px;
  height: 47px;
  border: 1px solid #e4e4e4;
  border-radius: 4px;
  background:#fff;
  padding: 0 15px;
  display:flex;
  align-items:center;
  font-family:"Pretendard", sans-serif;
  font-weight:400;
  font-size:16px;
  line-height:1;
  color: rgba(139,139,139,0.5);
}

/* Two column inputs */
body.account-edit-body .ae-two-col{
  display:flex;
  gap: 12px;
}

body.account-edit-body .ae-col{
  flex:1;
  min-width:0;
}

body.account-edit-body .ae-two-col .ae-input{
  height: 47px;
  line-height: 47px;
}

/* Chips layout */
body.account-edit-body .ae-chips{
  display:grid;
  grid-template-columns: repeat(4, 72px);
  column-gap: 15px; /* ?�그�???15.33 */
  row-gap: 12px;
  width: 334px;
  max-width: 100%;
  padding: 0;
  margin: 0 !important;
}

body.account-edit-body .ae-chip{
  height: auto;
  border: 1px solid #e4e4e4;
  border-radius: 50px;
  background: #fff;
  padding: 8px 16px;
  font-family:"Pretendard", sans-serif;
  font-weight:500;
  font-size:14px;
  line-height: 21px;
  color:#656565;
  text-align:center;
  margin:0 !important;
}

body.account-edit-body .ae-chip--active{
  background:#f6ffef;
  border-color:#10c46b;
  font-weight:600;
  color:#00a555;
}

/* Bottom fixed button */
body.account-edit-body .ae-bottombar{
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 34px; /* home indicator ??*/
  width: 335px;
  padding: 0;
  margin: 0;
  background: transparent;
  z-index: 50;
}

body.account-edit-body .ae-submit{
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 8px;
  background: #12c46b;
  font-family:"Pretendard", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.45;
  color: #fff;
  margin:0;
}

/* iOS 기본 input 그림???�곽???�거 */
body.account-edit-body input{
  -webkit-appearance: none;
  appearance: none;
}



/* =================================================================
   [PATCH] 1:1 문의?�기 (Figma: 1199-16458, 1199-16414)
   - 1?�1게시?�문??html / 1?�1문의?�세.html
   - ?�백 보정 + ?�인 ?�백(기본 margin) ?�거
   ================================================================= */

body.main_home_body.inq-body{
  background:#ffffff;
}

/* content area spacing: Figma left 24, width 327 */
body.main_home_body.inq-body .content.inq-page{
  padding: 26px 24px 20px; /* header 주입 고려: ?�이지 ?�단 ?�백?� 컴포?�트가 처리 */
  box-sizing: border-box;
}

/* remove default line gaps */
body.main_home_body.inq-body .inq-page p,
body.main_home_body.inq-body .inq-page h1,
body.main_home_body.inq-body .inq-page h2,
body.main_home_body.inq-body .inq-page h3,
body.main_home_body.inq-body .inq-page ol,
body.main_home_body.inq-body .inq-page ul,
body.main_home_body.inq-body .inq-page li{
  margin: 0;
}

/* ---------------------------
   공통 ?�?�포
   --------------------------- */
body.main_home_body.inq-body .inq-tag{
  font-family: "Pretendard","Noto Sans KR",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.408px;
  color: #10c46b;
}

body.main_home_body.inq-body .inq-detail-title{
  font-family: "Pretendard","Noto Sans KR",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.408px;
  color: #191919;
}

body.main_home_body.inq-body .inq-bodytext{
  font-family: "Pretendard","Noto Sans KR",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: -0.408px;
  color: #5a6066;
  white-space: pre-wrap; /* Figma: whitespace-pre-wrap */
}

/* Divider */
body.main_home_body.inq-body .inq-hr{
  border: 0;
  height: 1px;
  background: #e1e6ea;
  width: 100%;
}

/* ?�세 ?�이?�웃 간격 (Figma 간격 근사) */
body.main_home_body.inq-body .inq-detail{
  display: flex;
  flex-direction: column;
}

body.main_home_body.inq-body .inq-detail .inq-tag:first-child{
  margin-top: 0;
  margin-bottom: 10px;
}

body.main_home_body.inq-body .inq-detail-title{
  margin-bottom: 18px;
}

body.main_home_body.inq-body .inq-detail .inq-hr{
  margin: 0 0 20px;
}

body.main_home_body.inq-body .inq-detail .inq-bodytext{
  margin: 0 0 20px;
}

body.main_home_body.inq-body .inq-detail .inq-hr + .inq-tag{
  margin-top: 8px;
  margin-bottom: 12px;
}

body.main_home_body.inq-body .inq-answer{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* list spacing: Figma ms 24 */
body.main_home_body.inq-body .inq-answer ol{
  padding-left: 24px;
}

body.main_home_body.inq-body .inq-answer li{
  line-height: 1.45;
  color: #5a6066;
}

/* ---------------------------
   1:1 게시??문의 ??(1199-16458)
   --------------------------- */
body.main_home_body.inq-body .inq-form{
  display: flex;
  flex-direction: column;
  gap: 20px; /* Figma gap 20 */
}

body.main_home_body.inq-body .inq-field{
  display: flex;
  flex-direction: column;
  gap: 8px; /* Figma gap 8 */
}

body.main_home_body.inq-body .inq-label{
  display: inline-flex;
  gap: 2px;
  align-items: center;
  font-family: "Pretendard","Noto Sans KR",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
  color: #191919;
}

body.main_home_body.inq-body .inq-required{
  font-size: 13px;
  color: #ff4975;
  line-height: 1.4;
}

/* input/textarea field */
body.main_home_body.inq-body .inq-input,
body.main_home_body.inq-body .inq-textarea{
  width: 100%;
  border: 1px solid #e1e6ea;
  border-radius: 4px;
  padding: 14px 16px;
  box-sizing: border-box;
  font-family: "Pretendard","Noto Sans KR",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: -0.408px;
  color: #191919;
  outline: none;
  background: #ffffff;
}

body.main_home_body.inq-body .inq-input::placeholder,
body.main_home_body.inq-body .inq-textarea::placeholder{
  color: #adb4ba;
}

body.main_home_body.inq-body .inq-input{
  height: 48px;
}

body.main_home_body.inq-body .inq-textarea{
  min-height: 170px; /* Figma height 170 */
  resize: none;
}

/* submit button: Figma bottom button */
body.main_home_body.inq-body .inq-submitbar{
  margin-top: auto;
  padding-top: 6px;
  padding-bottom: 0;
}

body.main_home_body.inq-body .inq-submit{
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 8px;
  background: #12c46b;
  color: #ffffff;
  font-family: "Pretendard","Noto Sans KR",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.45;
  cursor: pointer;
}

body.main_home_body.inq-body .inq-submit:active{
  transform: scale(0.99);
}

/* =======================
   FAQ ?�세 (FAQ_02)
   ======================= */

body.main_home_body.faq-body .faq-detail{
  padding: 13px 24px 0; /* GNB ?�래 간격 */
}

body.main_home_body.faq-body .faq-detail__qmark{
  margin: 0 0 2px;
  font-family: "Pretendard","Noto Sans KR",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.408px;
  color: #10c46b;
}

body.main_home_body.faq-body .faq-detail__title{
  margin: 0 0 18px;
  font-family: "Pretendard","Noto Sans KR",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.408px;
  color: #191919;
}

body.main_home_body.faq-body .faq-divider{
  border: 0;
  border-top: 1px solid #e1e6ea;
  margin: 0 0 20px; /* divider -> body 간격 */
}

body.main_home_body.faq-body .faq-detail__body{
  margin: 0;
  font-family: "Pretendard","Noto Sans KR",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: -0.408px;
  color: #5a6066;
  white-space: pre-wrap;
}



/* =========================================================
   [PATCH] 공�??�항 (Figma: 1199-16317, 1199-16342)
   - ?�백 보정
   - ?�인 ?�백(기본 margin) ?�거
   ========================================================= */
body.notice-body{
  background:#ffffff !important;
  padding-bottom: 0 !important; /* footer nav ?�는 ?�면 기�? */
}

body.notice-body .container{
  background:#ffffff !important;
    padding: 0 !important;

}

/* main 기본 ?�딩/?�백 ?�거 ?? 컴포?�트 기�??�로 간격 ?�어 */
body.notice-body .content.notice-page{
  padding: 0 !important;
}

/* ?�인 ?�백 ?�거(공�? ?�면 ?�코?? */
body.notice-body .notice-page p,
body.notice-body .notice-page h1,
body.notice-body .notice-page h2,
body.notice-body .notice-page h3,
body.notice-body .notice-page ul,
body.notice-body .notice-page ol,
body.notice-body .notice-page li,
body.notice-body .notice-page hr{
  margin: 0;
}

/* ---------- 공�??�항 목록 (공�??�항_01) ---------- */
body.notice-body .notice-list{
  list-style: none;
  padding: 0;
  margin: 0;
}

body.notice-body .notice-item{
  border-bottom: 1px solid #eeeeee;
}

body.notice-body .notice-item--new{
  background: rgba(209,242,225,0.3);
}

body.notice-body .notice-link{
  display: block;
  padding: 16px 20px; /* Figma: x??0.8, y??6.7 */
  text-decoration: none;
  color: inherit;
}

body.notice-body .notice-title-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

body.notice-body .notice-title{
  font-family: "Pretendard", "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.425px;
  color: #191919;
  margin: 0;
}

/* NEW dot (?�그�?icon@New ?��? */
body.notice-body .notice-item--new .notice-title::after{
  content:"";
  display:inline-block;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #ff4975;
  margin-left: 4px;
  transform: translateY(-2px);
}

body.notice-body .notice-date{
  font-family: "Pretendard", "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.4;
  color: #8e98a0;
  margin-top: 2px;
  letter-spacing: -0.3px;
}

/* ?�측 ?�살??icon@Pagination) */
body.notice-body .notice-title-row img{
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex: 0 0 auto;
  transform: rotate(270deg);
  opacity: 1;
}

/* ---------- 공�??�항 ?�세 (공�??�항_02) ---------- */
body.notice-body .notice-detail{
  padding: 23px 24px 0; /* header ?�래 ?�백(??3) + 좌우 24 */
}

body.notice-body .notice-detail-title{
  font-family: "Pretendard", "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.408px;
  color: #191919;
  margin: 0;
}

body.notice-body .notice-detail-date{
  font-family: "Pretendard", "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.408px;
  color: #8e98a0;
  margin-top: 6px;
}

body.notice-body .notice-divider{
  border: none;
  border-top: 1px solid #eeeeee;
  margin: 20px 0 20px;
}

/* 본문 ?�스??(?�그�? 16 / 1.45 / #5A6066) */
body.notice-body .notice-bodytext{
  font-family: "Pretendard", "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.408px;
  color: #5a6066;
  white-space: pre-wrap; /* 줄바�??��? */
}

/* ?�목(Strong) ?��??? SemiBold */
body.notice-body .notice-bodytext strong{
  display: block;
  font-weight: 600;
  color: #5a6066;
  margin: 16px 0 0;
}

/* 리스???�백 최소??*/
body.notice-body .notice-bodytext ul{
  margin: 8px 0 0;
  padding-left: 24px;
  list-style: disc;
}

body.notice-body .notice-bodytext li{
  margin: 0;
  padding: 0;
}

/* ?�세?�서 공백 �?&nbsp;) ?�문??벌어지??부�??�제 */
body.notice-body .notice-bodytext p:empty{
  display:none;
}

/* ===== 추�?: 롤링 배너(?�래�??��??�프) ===== */
    /* renewal_lee.css??body padding-bottom(!important) ?�향 ?�거 */
    body{ padding:0 !important; }

    .run-carousel{
      margin-top:14px;
      display:flex;
      overflow-x:auto;
      overflow-y:hidden;
      scroll-snap-type:x mandatory;
      -webkit-overflow-scrolling:touch;
      scrollbar-width:none;
      cursor:grab;
      user-select:none;
      touch-action:pan-y;
    }
    .run-carousel::-webkit-scrollbar{ display:none; }
    .run-carousel.is-dragging{ cursor:grabbing; }

    .run-page{
      flex:0 0 100%;
      scroll-snap-align:start;
      box-sizing:border-box;
      padding:0 2px;
    }
    .run-running .run-stats{ margin-top:0; }
    .run-stats--tight .run-stat .run-stat-ico{ opacity:.6; }

    .run-map{
      width:100%;
      height:260px;
      border-radius:18px;
      background:rgba(255,255,255,.06);
      border:1px solid rgba(255,255,255,.08);
      display:flex;
      flex-direction:column;
      align-items:center;
      justify-content:center;
      gap:8px;
      text-align:center;
    }
    .run-map i{ font-size:28px; opacity:.75; }
    .run-map .t{ font-weight:900; }
    .run-map .s{ font-size:12px; color:var(--run-dim); }

    /* ?�시?��? ?�태: 메인 버튼�?변�?*/
    .run-wrap.is-paused .run-btn.main{
      background:#222e4c;
      color:#fff;
      box-shadow:0 10px 15px -3px rgba(0,0,0,.10), 0 4px 6px -4px rgba(0,0,0,.10);
    }

    /* ?�금 ?�태: 버튼 ?�기�??�라?�드 ?�락 ?�시 */
    .run-unlock{ width:100%; display:none; justify-content:center; }
    .run-wrap.is-locked .run-controls-row{ display:none; }
    .run-wrap.is-locked .run-unlock{ display:flex; }

    .run-slide{
      width:327px;
      height:85px;
      border-radius:50px;
      position:relative;
      overflow:hidden;
      user-select:none;
      -webkit-user-select:none;
      touch-action:pan-y;
      background:linear-gradient(90deg, #223052 2.6%, #1d2b4f 27.0%, #18274c 100%);
      box-shadow: inset 0 0 10px rgba(0,18,60,.30);
    }

    .run-slide__label{
      position:absolute;
      left:50%;
      top:50%;
      transform:translate(-50%,-50%);
      font-size:20px;
      letter-spacing:-0.3125px;
      background:linear-gradient(90deg, #f8f8f8 19%, #c5c5c5 24.623%, #929292 112.4%);
      -webkit-background-clip:text;
      background-clip:text;
      color:transparent;
      white-space:nowrap;
      pointer-events:none;
    }

    .run-slide__thumb{
      position:absolute;
      left:10px;
      top:50%;
      width:68px;
      height:68px;
      border-radius:9999px;
      background:#060f26;
      display:flex;
      flex-direction:column;
      align-items:center;
      justify-content:center;
      transform:translate3d(var(--thumb-x, 0px), -50%, 0);
      will-change:transform;
      touch-action:none;
    }
    .run-slide__thumb i{ font-size:22px; color:#fff; }

    .run-slide:not(.is-dragging) .run-slide__thumb{ transition:transform .18s ease; }

    /* =================================================================
   [PATCH] 구독플랜02 (node-id: 1199-14981) - Figma asset 기반 배경/디바이더/체크 아이콘
   - 기존 스타일은 유지하고, 클래스 매칭 오류(sub-plan2-shape--)를 보정
   - 배경 그라데이션/벡터는 Figma asset URL을 background-image로 적용(다운로드 후 로컬 경로로 바꿔도 됨)
   ================================================================= */

/* ✅ HTML에 있는 클래스(sub-plan2-shape--)와 기존 CSS 클래스(sub-plan2-bg__*) 매칭 */
.sub-plan2-shape--vec1{}
.sub-plan2-shape--vec2{}
.sub-plan2-shape--blob{}

/* vec/blob 레이어: HTML이 어떤 클래스명을 쓰든 동일하게 동작 */
.sub-plan2-bg__vec1,
.sub-plan2-shape--vec1 {
  position:absolute;
  width: 280.86px !important;
  height: 297.68px !important;
  left: -121px;
  top: -131px;
  transform: rotate(130.318deg);
  background: url("https://www.figma.com/api/mcp/asset/0f836153-9057-4916-9ff1-bcdec53d0336") no-repeat center/contain;
  opacity: 1;
  pointer-events:none;
}
.sub-plan2-bg__vec2,
.sub-plan2-shape--vec2 {
  position:absolute;
  width: 331.21px !important;
  height: 404.515px !important;
  left: -179px;
  top: 49px;
  transform: rotate(76.999deg);
  background: url("https://www.figma.com/api/mcp/asset/e6135168-9a3d-45ec-9dac-7fb25c32656e") no-repeat center/contain;
  opacity: 1;
  pointer-events:none;
}
.sub-plan2-bg__blob,
.sub-plan2-shape--blob {
  position:absolute;
  width: 403px !important;
  height: 392px !important;
  left: 134px;
  top: -147px;
  transform: none;
  background: url("https://www.figma.com/api/mcp/asset/470a980d-4774-4bf0-995a-6bba019ad7a5") no-repeat center/contain;
  opacity: 1;
  pointer-events:none;
}

/* 보조 radial-gradient(기존 after)는 Figma asset이 우선이므로 약하게 */
body.main_home_body.sub-plan2-body .sub-plan2-bg::after {
  opacity: 0.35;
}

/* vline: Figma 라인 이미지로 */
body.main_home_body.sub-plan2-body .sub-plan2-vline-img {
  display:block;
  width: 84px;
  height: 1px;
  margin: 18px auto 22px;
}

/* divider: Figma divider 이미지로 */
body.main_home_body.sub-plan2-body .plan2-divider-img {
  display:block;
  width: 292.033px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* feature row: check + 텍스트 간격 Figma처럼 */
body.main_home_body.sub-plan2-body .plan2-features li {
  display:flex;
  align-items:center;
  gap: 8px;
  padding: 0 20px;
}

body.main_home_body.sub-plan2-body .plan2-features .plan2-check {
  width: 13.833px;
  height: 13.833px;
  flex: 0 0 auto;
  display:block;
}

/* 카드/버튼 치수와 라운드 Figma에 맞춤(기존 값이 다를 때만 덮어씀) */
body.main_home_body.sub-plan2-body .plan2-card {
  background: #0f1b27;
  border-radius: 9.533px;
  box-shadow: 0 1.537px 11.528px rgba(0,0,0,0.15);
  padding: 20px 18px;
}

body.main_home_body.sub-plan2-body .plan2-btn {
  height: 47.983px;
  border-radius: 8px;
  font-weight: 400;
  letter-spacing: -0.3125px;
}

/* ===== Login Page (Figma 1453:10770) =====
   - HTML: login.html
   - Kakao icon: /images/icons/kakao.png
   - NOTE: This section is namespaced to .login-* to avoid impacting other pages.
*/

body.pc-login{
  /* design tokens scoped to this page */
  --login-max-width: 375px;

  --text-primary: #111111;
  --text-secondary: #666666;

  --btn-kakao-bg: #ffeb00;
  --btn-kakao-text: #0f0f0f;

  --btn-email-bg: #eff1f4;
  --btn-email-text: #666666;

  --badge-green: #13f282;
  --badge-bg: rgba(0,0,0,0.22);

  --radius-kakao: 8px;
  --radius-email: 10px;

  margin: 0;
  background: #ffffff;
  color: var(--text-primary);
}

/* center like a mobile artboard */
.login-page{
  width: 100%;
  max-width: var(--login-max-width);
  min-height: 100vh;
  margin: 0 auto;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

/* top logo (Figma: around y=88) */
.login-header{
  padding: 88px 24px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 3;
}

.login-logo{
  width: 238px; /* Figma: 238.667 */
  max-width: 70vw;
  height: auto;
  display: block;
}

.login-logo-fallback{
  display: none;
  font-weight: 800;
  letter-spacing: -0.4px;
  font-size: 22px;
}

/* when the logo is hidden via onerror inline style */
.login-logo[style*="display: none"] + .login-logo-fallback{
  display: block;
}

/* hero area */
.login-hero{
  width: 100%;
  height: 393px; /* Figma hero height */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 43px; /* aligns hero around y≈195 */
}

/* subtle background ellipse glow (approx. Figma ellipse) */
.login-hero::before{
  content: "";
  position: absolute;
  width: 480px;
  height: 280px;
  border-radius: 999px;
  background: radial-gradient(closest-side, rgba(19,242,130,0.18), rgba(19,242,130,0.00));
  transform: rotate(-10deg);
  top: 128px;
  left: 50%;
  translate: -50% 0;
  z-index: 0;
}

.login-hero-bg{
  position: relative;
  width: 334px; /* Figma: 334 */
  max-width: 100%;
  z-index: 1;
}

.login-hero-img{
  width: 100%;
  height: auto;
  display: block;
}

.login-hero-mascot{
  position: absolute;
  width: 120px;
  height: auto;
  right: -6px;
  bottom: 6px;
  z-index: 2;
}

/* badges */
.login-badge{
  position: absolute;
  padding: 10px 12px;
  border-radius: 999px;
  background: var(--badge-bg);
  color: #ffffff;
  font-size: 16px;
  line-height: 1.4;
  white-space: nowrap;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2;
}

.login-badge__strong{
  font-weight: 700;
  color: var(--badge-green);
}

.login-badge--trial{
  left: 18px;
  top: 8px;
}

.login-badge--reward{
  left: 80px;
  bottom: 64px;
}

/* main (CTA area) */
.login-main{
  padding: 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 2;
}

/* actions */
.login-actions{
  display: flex;
  flex-direction: column;
  gap: 14px; /* Figma: gap 14 */
}

.login-btn{
  height: 48px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.login-btn:active{
  transform: translateY(1px);
}

.login-btn__icon{
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

.login-btn__text{
  font-size: 16px;
  font-weight: 600; /* SemiBold */
  letter-spacing: -0.2px;
}

.login-btn--kakao{
  background: var(--btn-kakao-bg);
  border-radius: var(--radius-kakao);
  color: var(--btn-kakao-text);
}

.login-btn--email{
  background: var(--btn-email-bg);
  border-radius: var(--radius-email);
  color: var(--btn-email-text);
}

/* help link */
.login-help{
  margin-top: 10px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* safe area (Figma bottom home indicator area) */
.login-safe-area{
  height: calc(34px + env(safe-area-inset-bottom));
}

/* ===== Email Login Page (Figma 1453:10800) =====
   - HTML: emailLogin.html
   - NOTE: This section is namespaced to .pc-email-login / .email-login-* to avoid impacting other pages.
*/

body.pc-email-login{
  --email-login-max-width: 375px;

  --email-login-text: #0f0f0f;
  --email-login-placeholder: #adb4ba;
  --email-login-border: #e7e9ec;
  --email-login-primary: #12c46b;

  margin: 0;
  background: #ffffff;
  color: var(--email-login-text);
}

.email-login-page{
  width: 100%;
  max-width: var(--email-login-max-width);
  min-height: 100vh;
  margin: 0 auto;
  background: #ffffff;
  position: relative;
  overflow: hidden;
  padding: 0 20px;
}

.email-login-brand{
  padding-top: 188px; /* aligns slogan around y≈203 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.email-login-slogan{
  margin: 0;
  font-family: 'Pretendard', sans-serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.4;
  text-align: center;
  color: #000;
}

.email-login-logo{
  width: 238px; /* Figma: 238.667 */
  max-width: 70vw;
  height: auto;
  display: block;
}

.email-login-logo-fallback{
  display: none;
  font-weight: 800;
  letter-spacing: -0.4px;
  font-size: 22px;
}

.email-login-logo[style*="display: none"] + .email-login-logo-fallback{
  display: block;
}

.email-login-form{
  margin-top: 92px; /* aligns inputs around y≈379 */
  display: flex;
  flex-direction: column;
  gap: 10px; /* Figma: gap 10 between inputs */
}

.email-login-field{
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.email-login-label{
  font-family: 'Pretendard', sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.5;
  color: #0f0f0f;
}

.email-login-input{
  width: 100%;
  height: 48px;
  border: 1px solid var(--email-login-border);
  border-radius: 8px;
  padding: 0 13px;
  font-family: 'Pretendard', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  color: #0f0f0f;
  outline: none;
  background: #fff;
}

.email-login-input::placeholder{
  color: var(--email-login-placeholder);
}

.email-login-input:focus{
  border-color: var(--email-login-primary);
  box-shadow: 0 0 0 3px rgba(18,196,107,0.15);
}

.email-login-submit{
  margin-top: 18px; /* aligns button around y≈568 */
  height: 50px;
  width: 100%;
  border: none;
  border-radius: 8px;
  background: var(--email-login-primary);
  color: #fff;
  font-family: 'Pretendard', sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.45;
  cursor: pointer;
}

.email-login-submit:active{
  transform: translateY(1px);
}

.email-login-links{
  margin-top: 17px; /* aligns link row around y≈635 */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-family: 'Pretendard', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
}

.email-login-link{
  color: #000;
  text-decoration: none;
}

.email-login-link:active{
  opacity: 0.7;
}

.email-login-divider{
  color: #000;
}

.email-login-safe-area{
  height: calc(34px + env(safe-area-inset-bottom));
}

/* ===== Signup: 회원 정보 등록 (Figma 1457:10380) =====
   - HTML: 회원정보등록.html
   - NOTE: Namespaced to .signup-reg / body.pc-signup to avoid impacting other pages.
*/
body.pc-signup{
  margin: 0;
  background: #ffffff;
  color: #0f0f0f;
}

.signup-page.signup-reg{
  width: 100%;
  max-width: 375px;
  min-height: 100vh;
  margin: 0 auto;
  background: #ffffff;
  position: relative;
  overflow: hidden;
  padding: 0;
}

.signup-reg__intro{
  padding: 116px 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.signup-reg__title{
  margin: 0;
  font-family: "Pretendard", system-ui, -apple-system, Segoe UI, Roboto, "Noto Sans KR", sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: -0.2px;
}

.signup-reg__subtitle{
  margin: 0;
  font-family: "Pretendard", system-ui, -apple-system, Segoe UI, Roboto, "Noto Sans KR", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.2px;
}

.signup-reg__form{
  margin-top: 54px; /* aligns form start close to Figma y≈237 */
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.signup-field{
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.signup-field__label{
  display: inline-flex;
  align-items: center;
  gap: 1px;
  font-family: "Pretendard", system-ui, -apple-system, Segoe UI, Roboto, "Noto Sans KR", sans-serif;
  font-weight: 700; /* Bold */
  font-size: 15px;
  line-height: 1.5;
}

.req-dot{
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #ff3b30;
  display: inline-block;
  translate: 0 -4px;
}

.signup-field__row{
  display: flex;
  align-items: center;
  gap: 4px;
}

.signup-field__input{
  width: 100%;
  height: 48px;
  border: 1px solid #e7e9ec;
  border-radius: 10px;
  padding: 0 13.4px;
  box-sizing: border-box;
  font-family: "Pretendard", system-ui, -apple-system, Segoe UI, Roboto, "Noto Sans KR", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  color: #0f0f0f;
  background: #ffffff;
  outline: none;
}

.signup-field__row .signup-field__input{
  /* phone/email rows: match Figma 250 + 80 */
  flex: 1 1 auto;
  min-width: 0;
}

.signup-field__input::placeholder{
  color: #adb4ba;
}

.signup-field__input:focus{
  border-color: rgba(18,196,107,0.9);
  box-shadow: 0 0 0 3px rgba(18,196,107,0.12);
}

.signup-btn{
  width: 80px;
  height: 48px;
  border: 0;
  border-radius: 10px;
  padding: 0 10px;
  box-sizing: border-box;
  cursor: pointer;
  font-family: "Pretendard", system-ui, -apple-system, Segoe UI, Roboto, "Noto Sans KR", sans-serif;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.3;
  white-space: nowrap;
}

.signup-btn--dark{
  background: #0f0f0f;
  color: #ffffff;
}

.signup-btn:active{
  transform: translateY(1px);
}

.signup-note{
  margin-top: 2px;
  display: flex;
  gap: 4px;
  align-items: flex-start;
  padding: 2px 0 0;
}

.info-icon{
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #adb4ba;
  color: #adb4ba;
  font-size: 11px;
  line-height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  box-sizing: border-box;
}

.signup-note__text{
  margin: 0;
  flex: 1 1 auto;
  font-family: "Pretendard", system-ui, -apple-system, Segoe UI, Roboto, "Noto Sans KR", sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.45;
  color: #adb4ba;
}

.signup-select{
  width: 100%;
  height: 48px;
  border: 1px solid #e7e9ec;
  border-radius: 10px;
  padding: 0 10px 0 13.4px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  box-sizing: border-box;
}

.signup-select__text{
  font-family: "Pretendard", system-ui, -apple-system, Segoe UI, Roboto, "Noto Sans KR", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  color: #adb4ba;
}

.signup-select__chev{
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  position: relative;
}

.signup-select__chev::before{
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid #adb4ba;
  border-bottom: 2px solid #adb4ba;
  transform: rotate(-45deg); /* looks like a right chevron */
}

.signup-select:focus{
  outline: none;
  border-color: rgba(18,196,107,0.9);
  box-shadow: 0 0 0 3px rgba(18,196,107,0.12);
}

.signup-reg__spacer{
  height: 110px; /* space for fixed CTA button */
}

.signup-reg__cta{
  width: min(335px, calc(100vw - 40px));
  z-index: 50;
  margin-bottom: 20px;
}

.signup-primary{
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 8px;
  font-family: "Pretendard", system-ui, -apple-system, Segoe UI, Roboto, "Noto Sans KR", sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.45;
  color: #ffffff;
  background: #12c46b;
  cursor: pointer;
}

.signup-primary.is-disabled,
.signup-primary:disabled{
  background: rgba(18,196,107,0.6);
  cursor: not-allowed;
}

/* ===== Signup Complete Page (Figma 1453:10638) =====
   - HTML: 회원가입완료.html
   - NOTE: Scoped to body.pc-signup-complete to avoid impacting other pages.
*/
body.pc-signup-complete{
  margin: 0;
  background: #ffffff;
  color: #0f0f0f;
}

.signup-complete-page{
  width: 100%;
  max-width: 375px;
  min-height: 100vh;
  margin: 0 auto;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

/* Illustration placement (Figma top: 179px) */
.signup-complete-illust{
  position: absolute;
  top: 179px;
  left: 50%;
  transform: translateX(-50%);
  width: 272px;
  height: 255px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.signup-complete-illust img{
  width: 294px; /* matches Figma inner width */
  max-width: 100%;
  height: auto;
  display: block;
  transform: rotate(-2.856deg);
}

.signup-complete-illust-fallback{
  width: 240px;
  height: 200px;
  border-radius: 16px;
  background: #f3f4f6;
  border: 1px dashed #d7dbe0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9aa3ad;
  font-size: 14px;
}

/* Copy block (Figma top: 434px) */
.signup-complete-copy{
  position: absolute;
  top: 434px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: calc(100% - 48px);
}

.signup-complete-title{
  margin: 0;
  font-family: Pretendard, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.5;
}

.signup-complete-subtitle{
  margin: 0;
  font-family: Pretendard, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.5;
}

/* Primary action button (Figma bottom: 74px; size 335x50) */
.signup-complete-actions{
  position: absolute;
  left: 50%;
  bottom: 74px;
  transform: translateX(-50%);
  width: 335px;
}

.signup-complete-btn{
  width: 100%;
  height: 50px;
  border-radius: 8px;
  background: #12c46b;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: Pretendard, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.45;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.signup-complete-btn:active{
  transform: translateY(1px);
}

/* =========================================================
   Onboarding Hero (node-id=1457:9134) - Carousel v3 (NO bleed)
   - 헤더/푸터 없음
   - 가운데 이미지는 transform 기반 롤링(드래그/스와이프)
   ========================================================= */

/* Pretendard 권장 (이미 프로젝트에 있으면 생략 가능) */
/* @import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.css"); */

body.pc-onb-hero{
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, "Noto Sans KR", Arial, sans-serif;
  background: #0b0f0d;
}

/* 모바일 아트보드 느낌(데스크탑에서만 중앙 정렬) */
.onb-hero-page{
  width: 100%;
  /* max-width: 375px; */
  min-height: 100vh;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(20,25,23,1) 4.447%, rgba(16,30,23,1) 52.216%, rgba(34,61,47,1) 99.985%);
}

/* 타이틀 영역 */
.onb-hero-copy{
  position: absolute;
  left: 50%;
  top: 129px;
  transform: translateX(-50%);
  width: 274px;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 2;
}

.onb-hero-title{
  margin: 0;
  font-size: 28px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.onb-hero-sub{
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -0.22px;
  opacity: 0.96;
}

/* 배너 박스 위치 */
.onb-hero-hero{
  position: absolute;
  left: 50%;
  top: 334px;
  transform: translateX(-50%);
  width: 333px;
  height: 309px;
  z-index: 1;
}

/* viewport: 무조건 클립(옆 슬라이드 비침 방지) */
.onb-hero-viewport{
  width: 100%;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
  touch-action: pan-y;
  user-select: none;
  border-radius: 16px;
}

/* track: transform로만 이동(스크롤 없음) */
.onb-hero-track{
  width: 100%;
  height: 100%;
  display: flex;
  flex-wrap: nowrap;
  transform: translate3d(0,0,0);
  will-change: transform;
  backface-visibility: hidden;
}

/* slide: 100% 폭 고정 */
.onb-hero-slide{
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 이미지: Figma처럼 약간 넓게(잘림 허용) */
.onb-hero-slide-img{
  width: 164.81%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.onb-hero-slide-fallback{
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  color: rgba(255,255,255,0.72);
  font-size: 14px;
  font-weight: 600;
}

/* dots */
.onb-hero-dots{
  position: absolute;
  left: 50%;
  top: 721px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.onb-dot{
  width: 6px;
  height: 6px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
}

.onb-dot.is-active{
  width: 22px;
  background: rgba(255,255,255,0.9);
}

/* ===== Onboarding Signup Complete (Figma: 1461:9192) =====
   - HTML: 온보딩가입완료.html
   - This section is fully namespaced to avoid impacting other pages.
*/

body.pc-onb-signup-complete{
  margin: 0;
  background: #f5f6f7;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, "Noto Sans KR", sans-serif;
}

.onbsc-page{
  width: 100%;
  max-width: 375px;
  min-height: 100vh;
  margin: 0 auto;
  background: #ffffff;
  position: relative;
  overflow: hidden; /* keep hero elements clipped */
}

/* Copy */
.onbsc-copy{
  padding-top: 129px;
  padding-left: 24px;
  padding-right: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}

.onbsc-title{
  margin: 0;
  font-size: 28px;
  line-height: 1.5;
  font-weight: 700;
  color: #181a1a;
  letter-spacing: -0.2px;
}

.onbsc-sub{
  margin: 0;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 400;
  color: #000000;
  letter-spacing: -0.2px;
}

/* Hero */
.onbsc-hero{
  position: relative;
  margin-top: 56px; /* aligns around figma y≈179+ */
  height: 330px;
}

/* green ellipse glow behind */
.onbsc-ellipse{
  position: absolute;
  left: 16px;
  top: 140px;
  width: 274px;
  height: 171px;
  border-radius: 999px;
  background: radial-gradient(closest-side, rgba(18,196,107,0.26), rgba(18,196,107,0));
  transform: rotate(-10deg);
  filter: blur(0px);
}

/* hero image */
.onbsc-hero-img-wrap{
  position: absolute;
  /* left: 50%;
  top: 50%;
  transform: translate(-50%, -50%); */
  display: grid;
  place-items: center;
  z-index: 2;
}

.onbsc-hero-img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.onbsc-hero-placeholder{
  width: 100%;
  height: 100%;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.08);
  background: linear-gradient(180deg, rgba(0,0,0,0.04), rgba(0,0,0,0.02));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0,0,0,0.45);
  font-size: 14px;
}

/* badges */
.onbsc-badge{
  position: absolute;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(0,0,0,0.22);
  color: #f1f90b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 3;
  white-space: nowrap;
}

.onbsc-badge--right{
  right: 28px;
  top: 58px; /* near figma y=368 */
}

.onbsc-badge--left{
  left: 34px;
  top: 180px; /* near figma y=489 */
}

/* CTA */
.onbsc-cta{
  position: absolute;
  left: 50%;
  bottom: calc(74px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: 335px;
  max-width: calc(100% - 48px);
}

.onbsc-btn{
  width: 100%;
  height: 50px;
  border-radius: 8px;
  background: #000000;
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.onbsc-btn:active{
  transform: translateY(1px);
}

/* Bottom safe area spacing */
.onbsc-safe{
  height: calc(34px + env(safe-area-inset-bottom));
}

/* ===== Challenge Guide Page (Figma 1485:9659) =====
   Usage:
   - HTML: 챌린지안내.html
   - Paste this block at the bottom of /css/renewal_lee.css
   - Page must have: <body class="pc-challenge-guide">
*/

body.pc-challenge-guide{
  margin: 0;
  background: #ffffff;
  color: #000;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
}

.cg-page{
  width: 100%;
  max-width: 375px;
  min-height: 100vh;
  margin: 0 auto;
  position: relative;
  background: #fff;
  overflow: hidden;
}

/* Title block (Figma y≈129) */
.cg-hero{
  padding-top: 129px;
  display: flex;
  justify-content: center;
}

.cg-title{
  margin: 0;
  width: 274px;           /* Figma: w 274 */
  text-align: center;
  font-size: 28px;
  line-height: 1.5;
  font-weight: 700;       /* Bold */
  color: #181a1a;
}

/* Sub text (Figma y≈202) */
.cg-sub{
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.cg-subline{
  margin: 0;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 400;
  color: #000;
}

/* Cards area */
.cg-steps{
  margin-top: 44px;       /* pushes cards to around y≈276 */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cg-card{
  width: 270px;           /* Figma: w 270 */
  height: 73px;           /* Figma: h 73 */
  background: #d9d9d9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cg-card + .cg-card{
  margin-top: 8px;        /* small gap between week cards in figma looks tight */
}

/* First card has a bigger gap below (to match y=276 -> next block y=406) */
.cg-card:first-of-type{
  margin-bottom: 57px;
}

/* Middle text (Figma y≈383) */
.cg-mid-text{
  margin: 0 0 22px;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 400;
  text-align: center;
  color: #000;
}

/* Bottom fixed primary button (Figma bottom 74, w 335 h 50) */
.cg-primary-btn{
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 74px;
  width: min(335px, calc(100% - 40px));
  height: 50px;
  border-radius: 8px;
  background: #000;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 18px;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: -0.2px;

  -webkit-tap-highlight-color: transparent;
}

.cg-primary-btn:active{
  transform: translateX(-50%) translateY(1px);
}

/* ensure content not hidden behind fixed button */
.cg-bottom-spacer{
  height: 170px; /* includes button area + safe spacing */
}

/* ===== Challenge page required CSS (no header/footer) =====
   - Page: 챌린지.html
   - Vector path image: set in HTML <img class="challenge-path" src="...">
   - Font: Pretendard Variable (CDN). Remove if your project loads Pretendard elsewhere.
*/

/* Pretendard (optional if already loaded in renewal_lee.css) */
:root{
  --challenge-design-w: 375px;
  --challenge-design-h: 812px;

  --challenge-bg-start: #FAF8D4;
  --challenge-bg-end:   #CEF9D4;

  --challenge-text: #181a1a;
  --challenge-subtext: #444;

  --challenge-progress-track: rgba(255,255,255,0.65);
  --challenge-progress-shadow: 0 0 4px rgba(0,0,0,0.05);
  --challenge-progress-grad-a: rgba(57,245,47,0.65);
  --challenge-progress-grad-b: rgba(24,210,14,0.65);

  --challenge-node-ring: #FF8A00;
  --challenge-node-fill-top: #FFE6B0;
  --challenge-node-fill-btm: #FFD39A;

  --modal-overlay: rgba(0,0,0,0.5);
  --modal-radius: 10px;
  --modal-btn: #12C46B;
}

/* Basic reset (scoped-ish) */
*{ box-sizing: border-box; }
html, body{ height: 100%; }
body.pc-challenge{
  margin: 0;
  padding: 0 !important;
  background: #ffffff;
  color: var(--challenge-text);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img{ display:block; }

/* Center the scaled artboard */
.challenge-viewport{
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0;
}
.challenge-wrapper{
  position: relative;
}

/* 375x812 artboard (JS scales this element) */
.challenge-stage{
  width: var(--challenge-design-w);
  height: var(--challenge-design-h);
  position: relative;
  overflow: hidden;
  background: linear-gradient(152.902deg, var(--challenge-bg-start) 3.7772%, var(--challenge-bg-end) 100%);
}

/* Top message */
.challenge-msg{
  position: absolute;
  left: 24px;
  top: 23px;
  width: 327px;
  font-size: 16px;
  line-height: 22px;
  font-weight: 500; /* Medium */
  color: #000;
}
.challenge-msg__line{ margin: 0; }
.challenge-msg__line + .challenge-msg__line{ margin-top: 0; }
.challenge-msg strong{
  font-weight: 700;
}

/* Progress */
.challenge-progress{
  position: absolute;
  left: 24px;
  top: 80px;
  width: 327px;
}
.challenge-progress__bar{
  width: 327px;
  height: 17px;
  border-radius: 20px;
  background: var(--challenge-progress-track);
  box-shadow: var(--challenge-progress-shadow);
  overflow: hidden;
}
.challenge-progress__fill{
  height: 100%;
  width: 0px; /* JS sets px width */
  border-radius: 20px;
  background: linear-gradient(90deg, var(--challenge-progress-grad-a), var(--challenge-progress-grad-b));
}
.challenge-progress__ticks{
  margin-top: 6px;
  width: 327px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  line-height: 1.4;
  color: var(--challenge-subtext);
  letter-spacing: -0.2px;
}

/* Decorative S path (vector_6894) */
.challenge-path{
  position: absolute;
  left: 50px;
  top: 210px;
  width: 275px;
  height: 382px;
  pointer-events: none;
  /* Figma's image is slightly larger than its frame (inset -4.97% -6.91%) */
  transform: translate(-19px, -19px) scale(1.12);
  transform-origin: top left;
  opacity: 1;
  mix-blend-mode: normal;
}

/* Bears */
.challenge-bear{
  position: absolute;
  pointer-events: none;
  user-select: none;
}
.challenge-bear--small{
  left: 22px;
  top: 110px;
  width: 75px;
  height: 116px;
  object-fit: contain;
}
.challenge-bear--big{
  left: 221px; /* calc(50% + 33.5px) on 375 artboard */
  top: 448px;
  width: 143.678px;
  height: 183px;
  object-fit: contain;
}

/* Nodes */
.challenge-node{
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}
.challenge-node:active{ transform: translateY(1px); }
.challenge-node:focus-visible{
  outline: 3px solid rgba(18,196,107,0.35);
  outline-offset: 4px;
  border-radius: 12px;
}

/* Node positions (Figma absolute) */
.challenge-node--intro{ left: 221px; top: 174px; }
.challenge-node--w1   { left: 255px; top: 319px; }
.challenge-node--w2   { left: 97px;  top: 334px; }
.challenge-node--w3   { left: 65px;  top: 504px; }

.challenge-circle{
  width: 70px;
  height: 70px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.challenge-circle svg{
  width: 42px;
  height: 42px;
}
.challenge-circle svg path{
  fill: #444;
}

/* Active = orange ring + warm fill */
.challenge-circle--active{
  border: 4px solid var(--challenge-node-ring);
  background: linear-gradient(180deg, var(--challenge-node-fill-top), var(--challenge-node-fill-btm));
  box-shadow: 0 10px 18px rgba(0,0,0,0.10);
}
/* Inactive = white pill with subtle inset */
.challenge-circle--inactive{
  background: #ffffff;
  box-shadow: 0 0 8px rgba(0,0,0,0.06) inset;
}

/* Labels */
.challenge-label{
  font-size: 15px;
  line-height: 22px;
  font-weight: 600; /* SemiBold */
  color: var(--challenge-subtext);
  text-align: center;
  letter-spacing: -0.2px;
}

/* Week4 text (bottom-right) */
.challenge-week4{
  position: absolute;
  left: 295px;
  top: 612px;
  transform: translateX(-50%);
  text-align: center;
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  color: var(--challenge-subtext);
  letter-spacing: -0.2px;
}
.challenge-week4__line{ }

/* Modal */
body.is-modal-open{ overflow: hidden; }

.challenge-modal{
  position: fixed;
  inset: 0;
  z-index: 9999;
}
.challenge-modal[hidden]{ display: none !important; }

.challenge-modal__overlay{
  position: absolute;
  inset: 0;
  background: var(--modal-overlay);
}
.challenge-modal__panel{
  position: absolute;
  left: 50%;
  top: 279px;              /* Figma */
  width: 320px;
  height: 233px;
  transform: translateX(-50%);
  background: #fff;
  border-radius: var(--modal-radius);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}
.challenge-modal__content{
  padding: 44px 20px 0;
  text-align: center;
}
.challenge-modal__title{
  font-size: 18px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: -0.408px;
  color: #191919;
}
.challenge-modal__desc{
  margin-top: 6px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: -0.408px;
  color: #8e98a0;
}
.challenge-modal__btn{
  position: absolute;
  left: 6.25%;
  right: 6.25%;
  bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 10px;
  border-radius: 8px;
  background: var(--modal-btn);
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.408px;
}

/* =========================================================
   [FIX] 챌린지 발자국(img) 위치 깨짐 방지
   - IMPORTANT: HTML의 <img class="challenge-bear challenge-bear--small" ...> 를 그대로 두고
     (svg로 변경/ src 변경 없이) 노드 안에서만 absolute 좌표를 해제합니다.
   ========================================================= */
body.pc-challenge .challenge-node .challenge-bear,
body.pc-challenge .challenge-node .challenge-bear--small{
  position: static !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  width: 42px !important;
  height: 42px !important;
  object-fit: contain !important;
}

/* ======================================================================
   보행훈련.html (Gait Training) - page specific styles
   - 헤더/푸터(상단바/하단 홈 인디케이터) 없음
   - 375x812 아트보드 기준으로 스케일링하여 피그마 레이아웃 유지
   ====================================================================== */
body.pc-walktraining{
  margin:0;
  background:#ffffff;
  color:#181a1a;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
}

/* Desktop centering helper (same page file opened standalone) */
.pc-walktraining .walk-viewport{
  min-height:100vh;
  width:100%;
  display:flex;
  justify-content:center;
  align-items:center;
  background:#ffffff;
  overflow:hidden;
}

/* Scaled artboard */
.pc-walktraining .walk-scale-wrap{
  position:relative;
  width:375px;
  height:812px;
}
.pc-walktraining .walk-stage{
  position:absolute;
  inset:0;
  width:375px;
  height:812px;
  transform-origin: top left;
  background:#ffffff;
  overflow:hidden;
}

/* Common */
.pc-walktraining .walk-hidden{ display:none !important; }
.pc-walktraining .walk-screen{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}
.pc-walktraining .walk-btn{
  border:0;
  background:none;
  padding:0;
  font:inherit;
  cursor:pointer;
}
.pc-walktraining .walk-primary{
  height:58.967px;
  width:321.639px;
  border-radius:8px;
  background:#00bc7d;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-weight:700;
  font-size:17.154px;
  line-height:25.731px;
}
.pc-walktraining .walk-primary:active{ transform: translateY(1px); }

/* Carousel */
.pc-walktraining .walk-top-indicator{
  position:absolute;
  left:33px;
  top:15px;
  width:305px;
  height:6px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}
.pc-walktraining .walk-top-indicator .dot{
  width:6px; height:6px;
  border-radius:999px;
  background:#e2e8f0;
}
.pc-walktraining .walk-top-indicator .bar{
  width:32px; height:6px;
  border-radius:999px;
  background:#00bc7d;
}
.pc-walktraining .walk-carousel{
  position:absolute;
  left:0;
  top:0;
  width:375px;
  height:812px;
  display:flex;
  overflow-x:auto;
  overflow-y:hidden;
  touch-action: pan-x;
  scrollbar-width:none;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling: touch;
}
.pc-walktraining .walk-carousel::-webkit-scrollbar{ display:none; }
.pc-walktraining .walk-slide{
  flex:0 0 375px;
  height:812px;
  scroll-snap-align:start;
  position:relative;
}
.pc-walktraining .walk-card-wrap{
  position:absolute;
  left:24px;
  top:64px;
  width:327px;
}
.pc-walktraining .walk-card{
  width:327px;
  height:431px;
  padding:23px;
  border-radius:17.154px;
  border:1.072px solid #f1f5f9;
  background:#ffffff;
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  gap:24px;
}
.pc-walktraining .walk-step{
  font-weight:700;
  font-size:14px;
  letter-spacing:0.6433px;
  color:#90a1b9;
  line-height:17.154px;
}
.pc-walktraining .walk-video{
  width:281px;
  height:215px;
  border-radius:17.154px;
  overflow:hidden;
  background:#f8fafc;
  position:relative;
}
.pc-walktraining .walk-video img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.pc-walktraining .walk-title{
  margin:0;
  font-weight:500;
  font-size:20px;
  line-height:25.731px;
  text-align:center;
  color:#0f172b;
}
.pc-walktraining .walk-sub{
  margin:0;
  font-weight:400;
  font-size:15.01px;
  line-height:21.443px;
  text-align:center;
  color:#62748e;
}
.pc-walktraining .walk-card-text{
  width:281.97px;
  display:flex;
  flex-direction:column;
  gap:8.577px;
}
.pc-walktraining .walk-next{
  margin-top:25.731px;
  display:flex;
  justify-content:center;
}

/* Countdown */
.pc-walktraining .walk-countdown{
  background:#fff;
}
.pc-walktraining .walk-countdown .cd-number{
  position:absolute;
  left:50%;
  top:368px; /* figma 기준(1470:11752) */
  transform:translate(-50%,-50%);
  font-weight:800;
  font-size:150px;
  letter-spacing:-2px;
  color:#111827;
  line-height:1;
}
.pc-walktraining .walk-countdown .cd-dots{
  position:absolute;
  left:0;
  top:904px;
  width:375px;
  height:72px;
  padding-top:32px;
  display:flex;
  justify-content:center;
  gap:8px;
  box-sizing:border-box;
}
.pc-walktraining .walk-countdown .cd-dots span{
  width:8px; height:8px;
  border-radius:999px;
  background:#45556c;
}
.pc-walktraining .walk-countdown .cd-dots span.is-on{ background:#00bc7d; }

/* Training */
.pc-walktraining .walk-training{
  background:#fff;
}
.pc-walktraining .gait-bg{
  position:absolute;
  left:-75px;
  top:138px;
  width:493px;
  height:246px;
  object-fit:cover;
  pointer-events:none;
}
.pc-walktraining .gait-hero{
  position:absolute;
  left:50%;
  top:89px;
  transform:translateX(-50%);
  /* width:191px;
  height:262px; */
  pointer-events:none;
}
.pc-walktraining .gait-hero img{
  width:100%;
  height:295px;
  object-fit:contain;
  display:block;
}

/* Stats block (two pages swipe) */
.pc-walktraining .gait-stats-wrap{
  position:absolute;
  left:0;
  top:390px;
  width:375px;
  padding:16px 24px 0;
  box-sizing:border-box;
  overflow:hidden;
}
.pc-walktraining .gait-stats-scroll{
  display:flex;
  width:100%; /* viewport width (inside 24px padding => 327px) */
  max-width:327px;
  height:232px;
  overflow-x:auto;
  overflow-y:hidden;
  touch-action: pan-x;
  scrollbar-width:none;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
}
.pc-walktraining .gait-stats-scroll::-webkit-scrollbar{ display:none; }
.pc-walktraining .gait-stats-page{
  width:327px;
  height:232px;
  flex:0 0 327px;
  scroll-snap-align:start;
  display:grid;
  grid-template-columns:1fr 1fr;
  grid-template-rows:1fr 1fr;
  gap:24px;
  padding:0 32px;
  box-sizing:border-box;
}

.pc-walktraining .gait-stats-page--dark{
  background:#181a1a;
  border-radius:16px;
}
.pc-walktraining .gait-stats-page--dark .gait-value{ color:#ffffff; font-weight:400; font-size:20px; line-height:28px; }
.pc-walktraining .gait-stats-page--dark .gait-label{ color:#90a1b9; font-weight:400; font-size:14px; line-height:20px; }
.pc-walktraining .gait-metric{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  padding-bottom:20px;
  box-sizing:border-box;
}
.pc-walktraining .gait-metric .icon{
  width:24px;
  height:24px;
}
.pc-walktraining .gait-metric .icon img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}
.pc-walktraining .gait-value{
  margin:0;
  font-weight:600;
  font-size:22px;
  line-height:1.45;
  color:#181a1a;
  letter-spacing:0.44px;
}
.pc-walktraining .gait-label{
  margin:0;
  font-weight:500;
  font-size:15px;
  line-height:20px;
  color:#181a1a;
  letter-spacing:-0.1504px;
}
.pc-walktraining .gait-value--dark{
  color:#ffffff;
  font-weight:400;
  font-size:20px;
  line-height:28px;
}
.pc-walktraining .gait-label--muted{
  color:#90a1b9;
  font-weight:400;
  font-size:14px;
  line-height:20px;
}

/* Bottom controls */
.pc-walktraining .gait-controls{
  position:absolute;
  left:49px;
  top:654px;
  display:flex;
  align-items:center;
  gap:27px;
}
.pc-walktraining .gait-circle{
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.pc-walktraining .gait-btn-stop{
  width:64px; height:64px;
  background:#c91f12;
}
.pc-walktraining .gait-btn-main{
  width:96px; height:96px;
  background:#000;
  box-shadow:0px 10px 15px -3px rgba(0,0,0,0.1), 0px 4px 6px -4px rgba(0,0,0,0.1);
}
.pc-walktraining .gait-btn-vol{
  width:64px; height:64px;
  background:#b7b7b7;
}
.pc-walktraining .gait-controls img{
  width:48px; height:48px;
  object-fit:contain;
  display:block;
}
.pc-walktraining .gait-btn-stop img,
.pc-walktraining .gait-btn-vol img{ width:36px; height:36px; }

/* (Legacy helpers: keep for compatibility) */
.pc-walktraining .gait-value--dark{ color:#ffffff; }
.pc-walktraining .gait-label--muted{ color:#90a1b9; }

/* =========================================================
   보행훈련: 수정 패치 v4
   - 준비 슬라이드: "다음" 버튼을 롤링 영역 밖으로 빼고 하단 고정
   - gait-stats-wrap: 2페이지 스와이프(가로 스크롤) 정상 동작
   ========================================================= */

body.pc-walktraining .walk-screen{
  position:absolute;
  inset:0;
}

/* 하단 고정 "다음" 버튼 (슬라이드 화면에서만 노출은 JS에서 제어) */
body.pc-walktraining .walk-next-fixed{
  position:absolute;
  left:0;
  right:0;
  bottom:24px;
  padding:0 24px;
  z-index:20;
}

body.pc-walktraining .walk-next-fixed .walk-btn{
  width:100%;
}

/* ====== Stats swipe ====== */
body.pc-walktraining .gait-stats-wrap{
  overflow:hidden;
}

body.pc-walktraining .gait-stats-scroll{
  width:100% !important;           /* 기존 고정폭(654px 등) 무력화 */
  display:flex !important;
  flex-wrap:nowrap !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  -webkit-overflow-scrolling:touch;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  touch-action:pan-x;
  overscroll-behavior-x:contain;
  scrollbar-width:none;
}

body.pc-walktraining .gait-stats-scroll::-webkit-scrollbar{ display:none; }

body.pc-walktraining .gait-stats-page{
  flex:0 0 100% !important;
  width:100% !important;
  scroll-snap-align:start;
}

/* 텍스트 선택/드래그로 방해되는 것 방지(스와이프 우선) */
body.pc-walktraining .gait-stats-scroll, 
body.pc-walktraining .gait-stats-scroll *{
  -webkit-user-select:none;
  user-select:none;
}

/* =========================================================
   Gait (보행) pages - nodes:
   - 1470:11186 (intro)
   - 1470:11009 (start card)
   - 1470:12346 (link status)
   NOTE: header/footer removed. Scoped to body.pc-gait and .gait-*
   ========================================================= */

body.pc-gait{
  margin:0;
  background:#ffffff;
  color:#181a1a;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
}

.gait-page{
  width:100%;
  max-width:375px;
  min-height:100vh;
  margin:0 auto;
  background:#fff;
  position:relative;
  overflow:hidden;
}

.gait-screen{ display:none; min-height:100vh; }
.gait-screen.is-active{ display:block; }

.gait-pad{ padding:24px 20px 24px; }

.gait-center{ text-align:center; }
.gait-muted{ color:#4a5565; }
.gait-muted2{ color:#62748e; }
.gait-title{
  font-size:22px;
  line-height:27.5px;
  letter-spacing:-0.26px;
  margin:0;
  color:#0a0a0a;
  font-weight:600;
}
.gait-title--lg{
  font-size:24px;
  line-height:1.45;
  letter-spacing:-0.24px;
  color:#181a1a;
  font-weight:600;
}
.gait-p{
  margin:0;
  font-size:15px;
  line-height:20.625px;
  letter-spacing:-0.23px;
}
.gait-p--sm{
  font-size:14px;
  line-height:20px;
  letter-spacing:-0.15px;
}

.gait-hero{
  margin-top:32px;
  display:flex;
  justify-content:center;
}
.gait-hero img{
  width:160px;
  height:160px;
  object-fit:contain;
  display:block;
}

.gait-feature-row{
  margin-top:24px;
  display:flex;
  justify-content:space-between;
  gap:12px;
}
.gait-feature{
  width:103.656px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
}
.gait-feature .gait-feature__icon{
  width:56px;
  height:56px;
  border-radius:14px;
  background:#f3f4f6;
}
.gait-feature__label{
  font-size:12px;
  line-height:16px;
  color:#364153;
  text-align:center;
}

.gait-card{
  width:327px;
  margin:0 auto;
  background:#fff;
  border:0.976px solid #f3f4f6;
  border-radius:16px;
  box-shadow:0 4px 0 rgba(0,0,0,0.02);
  padding:22px 21px 24px;
  box-sizing:border-box;
}
.gait-card__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}
.gait-card__hello h2{
  margin:0;
  font-size:24px;
  line-height:26.843px;
  color:#0a0a0a;
  font-weight:600;
}
.gait-card__hello p{
  margin:4px 0 0;
  font-size:16px;
  line-height:24px;
  color:#62748e;
  letter-spacing:-0.16px;
}
.gait-card__img{
  width:74px;
  height:102px;
  flex:0 0 auto;
}
.gait-card__img img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}

.gait-progress{
  margin-top:18px;
  border:1px solid #f1f5f9;
  border-radius:8px;
  padding:21px 21px 18px;
}
.gait-progress__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.gait-progress__row .label{
  font-size:14px;
  line-height:20px;
  color:#0a0a0a;
  font-weight:700;
}
.gait-progress__row .count{
  font-size:16px;
  line-height:24px;
  color:#00bc7d;
  font-weight:700;
}
.gait-progress__bar{
  margin-top:12px;
  height:12px;
  background:#f1f5f9;
  border-radius:999px;
  overflow:hidden;
}
.gait-progress__bar > i{
  display:block;
  height:100%;
  width:25%;
  background:#00bc7d;
}
.gait-progress__hint{
  margin-top:10px;
  font-size:12px;
  line-height:16px;
  color:#90a1b9;
}

.gait-btn{
  width:300px;
  height:55px;
  border-radius:8px;
  background:#00bc7d;
  color:#fff;
  border:0;
  font-size:16px;
  font-weight:600;
  line-height:23.427px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.gait-btn:active{ transform:translateY(1px); }

.gait-btn-wrap{
  display:flex;
  justify-content:center;
  margin-top:22px;
}

.gait-link-title{
  margin:0;
  font-size:24px;
  line-height:1.45;
  letter-spacing:-0.24px;
  font-weight:600;
  color:#181a1a;
}
.gait-pill{
  background:#f9fafb;
  border:2px solid #e5e7eb;
  border-radius:16px;
  padding:22px;
  display:flex;
  gap:12px;
  align-items:flex-start;
}
.gait-pill__icon{
  width:40px;height:40px;border-radius:14px;background:#f3f4f6;
  display:flex;align-items:center;justify-content:center;
  flex:0 0 auto;
}
.gait-pill__icon2{
  width:40px;height:40px;border-radius:14px;background:#ffffff;
  display:flex;align-items:center;justify-content:center;
  flex:0 0 auto;
}
.gait-pill__text .t1{
  margin:0;
  font-size:16px;
  line-height:24px;
  color:#101828;
  font-weight:700;
}
.gait-pill__text .t2{
  margin:2px 0 0;
  font-size:14px;
  line-height:20px;
  color:#4a5565;
}

.gait-box{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:16px;
  padding:21px;
}
.gait-box h3{
  margin:0 0 16px;
  font-size:18px;
  line-height:27px;
  font-weight:600;
  color:#0a0a0a;
}
.gait-sub{
  margin:0 0 8px;
  font-size:14px;
  line-height:20px;
  color:#6a7282;
}
.gait-checkrow{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:8px;
}
.gait-checkrow .dot{
  width:20px;height:20px;border-radius:999px;
  display:flex;align-items:center;justify-content:center;
  flex:0 0 auto;
}
.gait-checkrow .dot--ok{ background:#d0fae5; color:#027a48; }
.gait-checkrow .dot--no{ background:#f3f4f6; color:#6a7282; }
.gait-checkrow .txt{
  font-size:16px;
  line-height:24px;
}
.gait-checkrow .txt--muted{ color:#6a7282; }

.gait-pro{
  border:1px solid #e9d4ff;
  border-radius:16px;
  padding:21px;
  background: linear-gradient(137.66deg, #FAF5FF 0%, #EEF2FF 100%);
}
.gait-pro__head{
  display:flex;
  gap:12px;
  align-items:flex-start;
}
.gait-pro__icon{
  width:36px;height:36px;border-radius:14px;
  background:#fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  flex:0 0 auto;
}
.gait-pro h3{
  margin:0;
  font-size:18px;
  line-height:27px;
  color:#101828;
  font-weight:600;
}
.gait-pro p{
  margin:6px 0 0;
  font-size:14px;
  line-height:1.4;
  color:#4a5565;
}
.gait-bullets{ margin:14px 0 0; padding:0; list-style:none; }
.gait-bullets li{
  display:flex; align-items:center; gap:8px;
  font-size:14px; line-height:20px; color:#364153;
  margin-top:8px;
}
.gait-bullets li::before{
  content:"";
  width:6px;height:6px;border-radius:999px;background:#c27aff;
  flex:0 0 auto;
}

.gait-cta-outline{
  margin-top:16px;
  width:100%;
  height:50px;
  border-radius:14px;
  border:1px solid #e9d4ff;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:16px;
  font-weight:600;
  cursor:pointer;
}
.gait-cta-outline span{
  background: linear-gradient(96.399deg, #43AFCD 9.7549%, #6B77E4 55.342%, #6621E0 104.21%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.gait-stack{ display:flex; flex-direction:column; gap:18px; }
.gait-stack--tight{ gap:14px; }


/* --- Intro CTA (fixed) --- */
body.pc-gait .gait-intro-cta{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 20px calc(20px + env(safe-area-inset-bottom));
}
body.pc-gait .gait-primary-btn{
  width: 100%;
  height: 55px;
  border: 0;
  border-radius: 8px;
  background: #00bc7d;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.16px;
}
body.pc-gait .gait-primary-btn:active{ transform: translateY(1px); }

/* =========================================================
   Gait Prep (Figma: 1470:10972) - 보행준비.html
   - 헤더/푸터(상단바/하단 홈 인디케이터) 제거 버전
   - 필요한 스타일만 네임스페이스: body.pc-gait-prep ...
   ========================================================= */

body.pc-gait-prep{
  margin: 0;
  background: #ffffff;
  color: #181a1a;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
}

body.pc-gait-prep .gait-prep{
  width: 100%;
  max-width: 375px;
  margin: 0 auto;
  min-height: 100vh;
  padding: 20px 20px 32px;
  box-sizing: border-box;
}

body.pc-gait-prep .gait-prep__desc{
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: -0.31px;
  color: #4a5565;
}

/* Card base */
body.pc-gait-prep .gait-card{
  position: relative;
  width: 100%;
  height: 412px;
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.10), 0 1px 2px rgba(0,0,0,0.06);
}

body.pc-gait-prep .gait-card + .gait-card{
  margin-top: 24px; /* gap between cards */
}

/* Hero images */
body.pc-gait-prep .gait-card__hero{
  position: absolute;
  left: 50%;
  top: -8px;
  width: 348px;
  height: 200px;
  transform: translateX(-50%);
  pointer-events: none;
}

body.pc-gait-prep .gait-card--train .gait-card__hero{
  left: -3px;
  top: -2px;
  width: 336px;
  height: 196px;
  transform: none;
}

body.pc-gait-prep .gait-card__hero-img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

body.pc-gait-prep .gait-card__hero-dim{
  position: absolute;
  inset: 0;
  opacity: 0.9;
  background: transparent; /* Figma has image + dim layer */
}

body.pc-gait-prep .gait-card__hero-gradient{
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #ffffff 0%, rgba(0,0,0,0) 100%);
}

/* Body content */
body.pc-gait-prep .gait-card__body{
  position: absolute;
  left: 50%;
  top: 218px;
  width: 331px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  box-sizing: border-box;
}

body.pc-gait-prep .gait-card__body--left{
  left: 50%;
  top: 221px;
  width: 291px;
  align-items: flex-start;
}

body.pc-gait-prep .gait-card__title{
  margin: 0;
  width: 100%;
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  letter-spacing: 0.07px;
  color: #1e293b;
}

body.pc-gait-prep .gait-card__text{
  margin: 0;
  width: 100%;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.31px;
  color: #364153;
}

/* Buttons */
body.pc-gait-prep .gait-card__btn{
  width: 300px;
  height: 55px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.1px;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

body.pc-gait-prep .gait-card__btn:active{ transform: translateY(1px); }

body.pc-gait-prep .gait-card__btn--primary{
  background: #00bc7d;
  color: #ffffff;
}

body.pc-gait-prep .gait-card__btn--dark{
  background: #1a1a1a;
  color: #ffffff;
}

/* Badge (링크 2개 필요) */
body.pc-gait-prep .gait-card__badge{
  position: absolute;
  right: 34px;
  top: 181px;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fef3c6;
  color: #bb4d00;
  font-size: 12px;
  font-weight: 700;
  line-height: 32px;
  letter-spacing: 0;
  white-space: nowrap;
}

/* Help */
body.pc-gait-prep .gait-help{
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

body.pc-gait-prep .gait-help__q{
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  color: #99a1af;
  letter-spacing: -0.15px;
  text-align: center;
}

body.pc-gait-prep .gait-help__link{
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: #1e8d65;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --- line chart (Chart.js) --- */
.chart-wrap{
  position: relative;
  height: 150px;
}
.chart-canvas{
  display: block;
  width: 100% !important;
  height: 150px !important;
  position: relative;
  z-index: 2;
}
.line-chart-card .chart-fallback{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 150px;
  z-index: 1;
}
.line-chart-card.is-chartjs .chart-fallback{
  display: none;
}
.line-chart-card .chart-ylabels{
  pointer-events: none;
  z-index: 3;
}
.chart-wrap .chart-tooltip{
  z-index: 4;
}

.chart-tooltip[aria-hidden="true"]{ display:none !important; }
.chart-tooltip.is-active{ display:block; }
/* =========================================================
   문진 (Munjin) – START(1804-11436) + STEP1(1804-9847 base)
   + STEP1 ACTIVE OVERRIDES(1804-10418)
   - 9847/10418은 "같은 스텝(1단계)"의 기본/선택 상태 분리
   ========================================================= */

/* ========== Base / Reset ========== */
:root{
  --mj-green:#12C46B;
  --mj-green-10:rgba(18,196,107,.10);
  --mj-green-60:rgba(18,196,107,.60);
  --mj-text:#181A1A;
  --mj-sub:#868A93;
  --mj-bg:#FFFFFF;
  --mj-surface:#F3F4F6;
  --mj-surface-2:#F8FAFA;
  --mj-border:#E5E7EB;
  --mj-shadow:0 0 10px rgba(0,0,0,.05);
  --mj-radius-8:8px;
  --mj-radius-24:24px;
  --mj-radius-pill:999px;
  --mj-maxw:420px;
  --mj-pad:24px;
  --mj-font: Pretendard, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
}
*{box-sizing:border-box;}
html,body{height:100%;}
body{
  margin:0;
  font-family:var(--mj-font);
  background:#f2f2f2;
  color:var(--mj-text);
}
button{font-family:inherit;}

/* App container (desktop preview) */
.mj-container{
  padding:0 !important;
  max-width:var(--mj-maxw);
  margin:0 auto;
  background:var(--mj-bg);
  min-height:100vh;
  box-shadow:var(--mj-shadow);
  position:relative;
  overflow:hidden;
}
.mj-wrap{padding:0;}
.mj-step{display:none;}
.mj-step.is-active{display:block;}

/* Common spacing */
.mj-screen{
  min-height:712px;
  position:relative;
  background:var(--mj-bg);
}
.mj-content{
  padding:20px var(--mj-pad) 120px; /* 상단 status/progress 영역 + 하단 버튼 영역 */
}

/* Primary button */
.mj-primary{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:54px;
  width:calc(100% - (var(--mj-pad) * 2));
  height:50px;
  border:none;
  border-radius:var(--mj-radius-8);
  background:var(--mj-green);
  color:#fff;
  font-weight:600;
  font-size:18px;
  line-height:145%;
  cursor:pointer;
}
.mj-primary.is-disabled{
  background:var(--mj-green-60);
  cursor:not-allowed;
}

/* ========== STEP 0 (1804-11436) – 시작 화면 ========== */
.mj-start{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  padding:132px var(--mj-pad) 0;
}
.mj-start__title{
  font-size:28px;
  line-height:140%;
  font-weight:600;
  margin:0 0 12px;
}
.mj-start__desc{
  font-size:16px;
  line-height:150%;
  font-weight:400;
  margin:0 0 34px;
  color:#000;
  max-width:274px;
}
.mj-hero{
  width:174px;
  height:156px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 0 36px;
}
.mj-hero svg{width:100%; height:100%;}
.mj-tip{
  width:calc(100% - (var(--mj-pad) * 2));
  background:#EFF6FF;
  border-radius:8.175px;
  padding:14px 16px;
  display:flex;
  gap:10px;
  align-items:flex-start;
}
.mj-tip__icon{
  width:18px;
  height:18px;
  flex:0 0 18px;
  margin-top:2px;
}
.mj-tip__text{
  font-size:13px;
  line-height:140%;
  letter-spacing:-0.05px;
  color:#155DFC;
  margin:0;
  text-align:left;
}

/* ========== STEP 1 (1804-9847) – 불편 부위 선택 (BASE) ========== */
/* 상단 진행 표시 (1/8 + progress bar) */
.mj-progress{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:18px;
}
.mj-progress__bar{
  flex:1;
  height:7px;
  background:#F8F9FA;
  border-radius:var(--mj-radius-pill);
  overflow:hidden;
}
.mj-progress__fill{
  height:100%;
  width:12.5%; /* 1/8 */
  background:var(--mj-green);
  border-radius:inherit;
}
.mj-progress__badge{
  padding:2px 12px;
  height:24px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:2px;
  background:var(--mj-green-10);
  border-radius:100px;
  color:#239E23;
  font-weight:600;
  font-size:14px;
  line-height:140%;
  white-space:nowrap;
  min-width:55px;
}

/* 타이틀 */
.mj-h1{
  margin:0;
  font-size:22px;
  font-weight:600;
  line-height:130%;
  letter-spacing:-0.6px;
}
.mj-sub{
  margin:8px 0 0;
  font-size:16px;
  font-weight:400;
  line-height:130%;
  letter-spacing:-0.6px;
  color:var(--mj-sub);
}

/* 3열 그리드 */
.mj-body-grid{
  margin-top:26px;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:13px 12px;
}
.mj-body-item{
  width:100%;
  height:104px;
  border:none;
  background:transparent;
  padding:0;
  cursor:pointer;
  position:relative;
}
.mj-body-item__box{
  width:80px;
  height:80px;
  border-radius:var(--mj-radius-24);
  background:var(--mj-surface);
  display:flex;
  align-items:center;
  justify-content:center;
}
.mj-body-item__label{
  margin-top:6px;
  font-size:16px;
  font-weight:500;
  line-height:145%;
  text-align:center;
  color:#1E2939;
}

/* 아이콘(placeholder) */
.mj-icon{
  width:62px;
  height:62px;
  opacity:.9;
}
.mj-icon circle{fill:rgba(123,69,230,.30);}
.mj-icon .dot{fill:#7B45E6;}
.mj-icon path{stroke:#1A1A1A; stroke-width:2; fill:none; stroke-linecap:round; stroke-linejoin:round;}

/* ========== STEP 1 ACTIVE OVERRIDES (1804-10418) – 선택 상태만 ========== */
/* 10418은 9847 위에 "선택됨" 스타일만 얹는게 맞음 */
.mj-body-item.is-selected .mj-body-item__box{
  background:#D9F8E7;            /* 선택 배경 */
  outline:2px solid var(--mj-green); /* 선택 테두리 */
  outline-offset:-2px;
}

/* 체크 배지 (24x24, top:-3, right:-3) */
/* STEP 1 버튼 활성/비활성 */
.mj-step-1 .mj-primary.is-disabled{background:var(--mj-green-60);}
.mj-step-1 .mj-primary:not(.is-disabled){background:var(--mj-green);}



/* =========================================================
   [PATCH] Munjin STEP1 – 선택 아이콘은 '이미지'로만 표시
   - 기존 체크 동그라미/✓(pseudo) 제거
   - 선택 시 .mj-body-item__box 우상단에 아이콘 1개만 오버레이
   ========================================================= */

/* 선택 아이콘 경로만 바꿔서 쓰세요 */
.mj-step-1{
  --mj-step1-selected-icon: url("../images/icons/circleCheck.png");
}

/* (혹시 다른 CSS에서 pseudo를 찍더라도 STEP1에서는 전부 차단) */
.mj-step-1 .mj-body-item.is-selected::after,
.mj-step-1 .mj-body-item.is-selected::before,
.mj-step-1 .mj-body-item__img::after,
.mj-step-1 .mj-body-item__img::before,
.mj-step-1 .mj-body-item__label::after,
.mj-step-1 .mj-body-item__label::before{
  content: none !important;
  display: none !important;
}

/* 아이콘은 이미지 박스(.mj-body-item__box) 기준으로 1개만 표시 */
.mj-step-1 .mj-body-item__box{
  position: relative;
}

.mj-step-1 .mj-body-item.is-selected .mj-body-item__box::after{
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  right: -3px;
  top: -3px;
  background: var(--mj-step1-selected-icon) no-repeat center / contain;
  pointer-events: none;
}

/* STEP1: 바디 아이템 박스/라벨 가운데 정렬 */
.mj-step-1 .mj-body-item{
  display: flex;
  flex-direction: column;
  align-items: center;  /* 자식들 가운데 */
  justify-content: flex-start;
}

.mj-step-1 .mj-body-item__box{
  margin: 0 auto;       /* 혹시 flex가 깨져도 박스는 가운데 */
}

/* STEP2~8 공통 (문항) */
    .mj-options{
      margin-top:28px;
      display:flex;
      flex-direction:column;
      gap:12px;
    }
    .mj-option{
      width:100%;
      min-height:56px;
      padding:16px 16px;
      border-radius:12px;
      border:1px solid var(--mj-border);
      background:#fff;
      color:var(--mj-text);
      font-size:16px;
      font-weight:500;
      line-height:140%;
      cursor:pointer;
      text-align:left;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
    }
    
    .mj-option.is-selected{
      border-color:var(--mj-green);
      background:rgba(18,196,107,.08);
    }
    


.mj-option-wrap{display:flex;flex-direction:column;}
.mj-option__text{display:flex;flex-direction:column;gap:6px;flex:1;}
.mj-option__label{font-size:16px;font-weight:600;line-height:140%;color:var(--mj-text);}
.mj-option__desc{margin:0;font-size:14px;line-height:150%;color:var(--mj-sub);white-space:pre-wrap;}
.mj-option-wrap.is-selected .mj-option{
  border-color:var(--mj-green);
  background:rgba(18,196,107,.08);
}
.mj-other{padding:0 16px 16px;}
.mj-other__ta{
  width:100%;
  min-height:88px;
  border-radius:10px;
  border:1px solid #E5E7EB;
  padding:12px;
  font-size:14px;
  line-height:150%;
  resize:none;
  outline:none;
}
.mj-other__ta:focus{border-color:var(--mj-green);}

.mj-hint{
  margin-top:16px;
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding:14px 14px;
  border-radius:12px;
  background:#F5F6F8;
  color:#556070;
}
.mj-hint__dot{
  width:18px;height:18px;border-radius:999px;
  background:var(--mj-green);
  flex:0 0 18px;
  margin-top:2px;
  position:relative;
}
.mj-hint__dot::after{
  content:"i";
  position:absolute;inset:0;
  display:flex;align-items:center;justify-content:center;
  color:#fff;font-weight:800;font-size:12px;
}
.mj-hint__text{margin:0;font-size:14px;line-height:1.45;}

/* Slider (STEP5) - Figma(1804:11355) 기준에 가깝게 */
.mj-slider{margin-top:22px;}
.mj-slider__range{
  width:100%;
  height:17px;
  border-radius:999px;
  -webkit-appearance:none;
  appearance:none;
  outline:none;

  background:
    /* ✅ 눈금(항상 최상단) */
    repeating-linear-gradient(
      to right,
      rgba(255,255,255,0.4) 0 1px,
      transparent 1px calc(10%)
    ) 0 0 / 100% 100% no-repeat,

    /* 채움(그라데이션)
    linear-gradient(90.51360968202098deg,
      rgba(255,199,199,1) 16.137%,
      rgba(225,110,94,1) 41.916%,
      rgba(196,39,18,1) 99.969%
    ) 0 0 / var(--p, 0%) 100% no-repeat, */

    /* 채움(그라데이션) - 알파를 변수로 */
    linear-gradient(
  90deg,
  rgb(60 180 75 / var(--ga, 0.25)) 0%,
  rgb(255 220 80 / var(--ga, 0.25)) 50%,
  rgb(220 50 50 / var(--ga, 0.25)) 100%
) 0 0 / var(--p, 0%) 100% no-repeat

    /* 베이스 */
    #E9E9E9;

  opacity:.9;
}
.mj-slider__range::-webkit-slider-runnable-track{
  height:17px;
  border-radius:999px;
  background:transparent;
}
.mj-slider__range::-moz-range-track{
  height:17px;
  border-radius:999px;
  background:transparent;
}

/* thumb(24px) */
.mj-slider__range::-webkit-slider-thumb{
  -webkit-appearance:none;
  appearance:none;
  width:24px;height:24px;
  border-radius:999px;
  background:#fff;
  border:4px solid #FFF;
  box-shadow:0 2px 8px rgba(0,0,0,.12);
  cursor:pointer;
  margin-top:calc((17px - 24px)/2); /* center */
}
.mj-slider__range::-moz-range-thumb{
  width:24px;height:24px;
  border-radius:999px;
  background:#fff;
  border:4px solid #FFF;
  box-shadow:0 2px 8px rgba(0,0,0,.12);
  cursor:pointer;
}

/* left/right 라벨(피그마는 14px 검정) */
.mj-slider__labels{
  margin-top:6px;
  display:flex;
  justify-content:space-between;
  font-size:14px;
  color:#000;
  font-weight:500;
  line-height:24px;
}

/* 카드(327x186 느낌) */
.mj-slider-card{
  margin-top:22px;
  background:#fff;
  border:1px solid rgba(229,231,235,0.4);
  border-radius:15px;
  padding:24px;
  box-shadow:0 0 3px rgba(0,0,0,0.08);
}
.mj-slider-card__top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}
.mj-slider-card__k{
  font-size:15px;
  font-weight:600;
  letter-spacing:.05em;
  color:#181a1a;
  text-transform:uppercase;
  line-height:1.45;
}
.mj-slider-card__vwrap{
  display:flex;
  align-items:baseline;
  gap:8px;
  margin-top:4px;
}
.mj-slider-card__v{
  font-size:15px;
  font-weight:700;
  color:var(--mj-green);
  line-height:1.45;
}
.mj-slider-card__n{
  font-size:15px;
  font-weight:400;
  color:#99A1AF;
  line-height:1.45;
}

/* 우측 배지(원형) */
.mj-slider-card__badge{
  width:53px;height:53px;
  border-radius:999px;
  background:#DCFCE7;
  box-shadow:0 0 2px rgba(0,0,0,.05), 0 0 0 4px rgba(0,0,0,.00);
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 53px;
}
.mj-slider-card__badgeText{
  font-size:15px;
  font-weight:700;
  letter-spacing:.05em;
  color:#000;
}

.mj-slider-card__divider{
  height:1px;
  background:#F3F4F6;
  margin:16px 0 12px;
}

.mj-slider-card__line1{
  font-size:15px;
  color:#1E2939;
  line-height:1.45;
}
.mj-slider-card__line2{
  margin-top:6px;
  font-size:15px;
  color:#6A7282;
  line-height:1.45;
}



    /* 퍼센트 계산 (1806-9881)
   - "디자인은 그대로" 유지: 레이아웃/타이포는 1806-9881 기준
   - Ellipse 4 색만 지정한 값으로 적용:
     linear-gradient(160.26deg, rgba(255,255,255,0) -26.52%, #12C46B 71.77%)
   - 진행률은 var(--p)로 제어 (JS가 0~100%로 업데이트)
*/
.mj-step-calc .mj-screen{
  min-height:812px;
  position:relative;
  background:#fff;
}

/* 원형 그래프 그룹(1806:9887)
   - 2시 방향에서 시작 (rotate -30deg)
   - stroke-linecap: round 로 끝을 둥글게
   - 트랙 색: #EEF4FF (Ellipse 3)
   - 진행 그라데이션: linear-gradient(160.26deg, transparent -> #12C46B)
*/
.mj-ring{
  position:absolute;
  left:50%;
  top:190.15px;            /* Group 1410119185 */
  transform:translateX(-50%);
  width:214px;
  height:214px;
  pointer-events:none;
}
.mj-ring__svg{
  position:absolute;
  inset:0;
  display:block;
  width:214px;
  height:214px;
}
.mj-ring__glow{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:156.06px;
  height:156.06px;
  background: radial-gradient(101.52% 73.89% at 50% 50%, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 100%);
  opacity:0.9;
  filter: blur(9.10339px);
  border-radius:433.495px;
  pointer-events:none;
}
.mj-ring__pct{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  font-family:'Pretendard', sans-serif;
  font-weight:500;
  font-size:36.897px;
  line-height:1.4;
  color:#181A1A;
  z-index:2;
  white-space:nowrap;
}
.mj-ring__track{
  stroke:#EEF4FF;
}
.mj-ring__progress{
  stroke-linecap:round;
}

.mj-calc-title{
  position:absolute;
  left:50%;
  top:477.29px;
  transform:translateX(-50%);
  font-family:'Pretendard', sans-serif;
  font-weight:600;
  font-size:26px;
  line-height:1.4;
  color:#181A1A;
  margin:0;
  white-space:nowrap;
}

.mj-calc-sub2{
  position:absolute;
  left:50%;
  top:531.29px;
  transform:translateX(-50%);
  width:100%;
  max-width:340px;
  font-family:'Pretendard', sans-serif;
  font-weight:400;
  font-size:18px;
  line-height:27px;
  color:#7C7C7C;
  margin:0;
  text-align:center;
  white-space:pre-wrap;
}

.mj-calc-sub1{
  position:absolute;
  left:50%;
  top:605px;
  transform:translateX(-50%);
  font-family:'Pretendard', sans-serif;
  font-weight:400;
  font-size:18px;
  line-height:27px;
  color:#7C7C7C;
  margin:0;
  text-align:center;
  white-space:nowrap;
}

    /* 완료 */
    .mj-done{
      min-height:812px;
      display:flex;
      flex-direction:column;
      align-items:center;
      text-align:center;
      padding:140px var(--mj-pad) 120px;
    }
    .mj-done__title{
      margin:0;
      font-size:24px;
      font-weight:700;
      line-height:140%;
    }
    .mj-done__desc{
      margin:14px 0 0;
      font-size:14px;
      line-height:150%;
      color:var(--mj-sub);
      max-width:320px;
    }
    .mj-summary{
      margin-top:26px;
      width:100%;
      background:var(--mj-surface-2);
      border-radius:12px;
      padding:16px;
      text-align:left;
      font-size:14px;
      line-height:150%;
      color:#1E2939;
    }
    .mj-summary .row{margin-top:8px;}
    .mj-summary .row:first-child{margin-top:0;}
    .mj-summary strong{font-weight:700;}

    /* 접근성: 키보드 포커스 */
    .mj-body-item:focus-visible,
    .mj-option:focus-visible,
    .mj-primary:focus-visible{
      outline:3px solid rgba(43,127,255,.35);
      outline-offset:3px;
    }
  
    /* 완료 페이지(1806-9897) - 디자인 그대로, 마크업만 맞춤 */
    .mj-done{
      position:relative;
      min-height:812px;
      padding:0;
      background:#fff;
      overflow:hidden;
    }
    .mj-done__img{
      position:absolute;
      top:154px;
      left:50%;
      transform:translateX(-50%);
      width:301px;
      height:227px;
      border-radius:12px;
      background:#FFFFFF;
    }
    .mj-done__title{
      position:absolute;
      top:451px;
      left:50%;
      transform:translateX(-50%);
      width:327px;
      margin:0;
      font-weight:600;
      font-size:26px;
      line-height:1.4;
      color:#181a1a;
      text-align:center;
    }
    .mj-done__desc{
      position:absolute;
      top:541px;
      left:50%;
      transform:translateX(-50%);
      width:327px;
      font-size:18px;
      line-height:27px;
      color:#7c7c7c;
      text-align:center;
    }
    .mj-done__desc p{margin:0;}
    .mj-done__hint{
      position:absolute;
      top:743px;
      left:50%;
      transform:translateX(-50%);
      width:327px;
      margin:0;
      font-size:14px;
      line-height:1.45;
      color:var(--text-secondary,#666);
      text-align:center;
    }
    .mj-done__btn{
      position:absolute;
      bottom:78px;
      left:50%;
      transform:translateX(-50%);
      width:327px;
      height:48px;
      border-radius:8px;
      background:#12c46b;
      color:#fff;
      font-size:16px;
      font-weight:600;
      line-height:1.45;
    }
    .mj-done__btn:active{transform:translateX(-50%) scale(0.99);}

    /* Survey(STEP2~8) - '기타' textarea가 옵션 카드 안에 보이도록 */
.mj-step-survey .mj-options{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.mj-step-survey .mj-option-wrap{
  border:1px solid rgba(229,231,235,0.6) !important;
  border-radius:16px !important;
  background:#fff !important;
  box-shadow:0 0 3px rgba(0,0,0,0.08) !important;
  overflow:hidden; /* textarea도 카드 안으로 */
}

.mj-step-survey .mj-option-wrap.is-selected{
  border:1.5px solid #12C46B !important;
  box-shadow:0 2px 10px rgba(18,196,107,0.10) !important;
}

.mj-step-survey .mj-option{
  width:100%;
  border:none !important;
  background:transparent !important;
  padding:19px !important;
  text-align:left;
}

.mj-step-survey .mj-other{
  padding:0 19px 19px;
}

.mj-step-survey .mj-other__ta{
  width:100%;
  min-height:92px;
  padding:14px;
  border:1px solid rgba(229,231,235,0.9);
  border-radius:12px;
  background:#fff;
  font-size:16px;
  line-height:1.45;
  resize:none;
  outline:none;
}

/* =================================================================
   [PAGE] 계정찾기 - 이메일찾기 (Figma node-id: 1453-11428)
   - CSS file path: css/renewal_lee.css
   ================================================================= */

.find-email-page{
  background:#ffffff;
  font-family:'Pretendard','Noto Sans KR',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  color:#0f0f0f;
}

/* base frame: iPhone 375 */
.find-email-wrap{
  max-width:375px;
  margin:0 auto;
  min-height:812px; /* iPhone base height */
  position:relative;
  background:#fff;
  overflow:hidden;
}

/* simple status bar spacer (design uses iOS status bar) */
.find-email-statusbar{
  height:50px;
}

/* title block */
.find-email-hero{
  position:absolute;
  left:50%;
  top:148px;
  transform:translateX(-50%);
  width:100%;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
}
.find-email-title{
  margin:0;
  font-size:24px;
  line-height:1.5;
  font-weight:700;
}
.find-email-subtitle{
  margin:0;
  font-size:18px;
  line-height:1.4;
  font-weight:500;
}

/* form block */
.find-email-form{
  position:absolute;
  left:50%;
  top:289px;
  transform:translateX(-50%);
  width:335px;
  display:flex;
  flex-direction:column;
  gap:18px;
}

.fe-field{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.fe-label{
  display:flex;
  align-items:center;
  gap:4px;
  font-size:15px;
  line-height:1.5;
  font-weight:700;
  color:#0f0f0f;
  margin:0;
}
.fe-required-dot{
  width:3px;
  height:3px;
  border-radius:999px;
  background:#12c46b;
  display:inline-block;
  transform:translateY(1px);
}

.fe-input{
  width:100%;
  height:48px;
  border:1px solid #e7e9ec;
  border-radius:10px;
  padding:0 14px;
  font-size:14px;
  line-height:1.4;
  font-weight:500;
  outline:none;
  box-sizing:border-box;
  color:#0f0f0f;
  background:#fff;
}
.fe-input::placeholder{
  color:#adb4ba;
}
.fe-input:focus{
  border-color:#12c46b;
  box-shadow:0 0 0 3px rgba(18,196,107,0.12);
}

.fe-row{
  display:flex;
  gap:4px;
  align-items:flex-start;
}

.fe-row .fe-input{
  flex:1 1 auto;
}

.fe-secondary-btn{
  width:80px;
  height:48px;
  border:none;
  border-radius:10px;
  background:#0f0f0f;
  color:#ffffff;
  font-size:13px;
  line-height:1.3;
  font-weight:600;
  cursor:pointer;
}
.fe-secondary-btn:active{
  transform:scale(0.98);
}

/* bottom area: primary button + home indicator */
.find-email-bottom{
  position:absolute;
  left:50%;
  bottom:0;
  transform:translateX(-50%);
  width:375px;
  background:#fff;
}

.find-email-primary-wrap{
  padding:0 20px 34px; /* button bottom in design is 34px */
  box-sizing:border-box;
}

.find-email-primary-btn{
  width:335px;
  height:50px;
  border:none;
  border-radius:8px;
  background:#12c46b;
  color:#fff;
  font-size:18px;
  line-height:1.45;
  font-weight:600;
  cursor:pointer;
  display:block;
  margin:0 auto;
}
.find-email-primary-btn:active{
  transform:scale(0.99);
}

.find-email-navbar{
  padding:21px 0 8px;
  display:flex;
  justify-content:center;
  background:#fff;
}
.find-email-home-indicator{
  width:134px;
  height:5px;
  border-radius:3px;
  background:#232933;
}

/* =========================
   이메일찾기 완료 (계정찾기_이메일찾기2)
   ========================= */
.page-find-email-done{
  background:#fff;
  min-height:100vh;
}

.page-find-email-done .content{
  width:375px;
  margin:0 auto;
  padding:148px 24px 24px; /* header 영역 제외한 본문 기준 */
  box-sizing:border-box;
}

.page-find-email-done .title-wrap{
  text-align:center;
}

.page-find-email-done .title{
  font-family: Pretendard, sans-serif;
  font-weight:700;
  font-size:24px;
  line-height:1.5;
  color:#0f0f0f;
  margin:0;
}

.page-find-email-done .subtitle{
  font-family: Pretendard, sans-serif;
  font-weight:500;
  font-size:18px;
  line-height:1.4;
  color:#0f0f0f;
  margin:6px 0 0 0;
}

.page-find-email-done .result{
  margin-top:141px; /* 289(top) - 148(padding-top) = 141 */
}

.page-find-email-done .email{
  font-family: Pretendard, sans-serif;
  font-weight:400;
  font-size:16px;
  line-height:1.5;
  color:#5a636a;
  margin:0 0 40px 0;
}

.page-find-email-done .helper-row{
  display:flex;
  gap:10px;
  align-items:flex-start;
}

.page-find-email-done .helper-text{
  font-family: Pretendard, sans-serif;
  font-weight:400;
  font-size:16px;
  line-height:1.5;
  color:#0f0f0f;
  margin:0;
}

.page-find-email-done .helper-link{
  font-family: Pretendard, sans-serif;
  font-weight:700;
  font-size:15px;
  line-height:1.5;
  color:#adb4ba;
  text-decoration:none;
  margin:0;
}

.page-find-email-done .helper-link:hover{
  text-decoration:underline;
}

/* =========================
   이메일찾기 완료 (1453-11438)
   - 확인 버튼은 페이지 액션
========================= */
.page-find-email-done .find-email-done-actions{
  position:fixed;
  left:50%;
  transform:translateX(-50%);
  bottom:34px;
  width:335px;
  z-index:50;
  padding-bottom:env(safe-area-inset-bottom);
}

.page-find-email-done .find-email-done-actions .btn-primary{
  width:100%;
  height:50px;
  border:0;
  border-radius:8px;
  background:#12c46b;
  color:#fff;
  font-family:Pretendard, sans-serif;
  font-weight:600;
  font-size:18px;
  line-height:1.45;
  cursor:pointer;
}

.page-find-email-done .find-email-done-actions .btn-primary:active{
  transform:translateY(1px);
}

/* ================================
   비밀번호 찾기 페이지
   ================================ */

.pwfind-body {
  background: #fff;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

.pwfind-container {
  max-width: 420px;
  margin: 0 auto;
  background: #fff;
  min-height: 100vh;
  position: relative;
  padding-bottom: 120px; /* 하단 버튼 공간 */
}

.pwfind-main {
  padding: 148px 20px 0;
}

/* 제목 */
.pwfind-title {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  text-align: center;
  line-height: 1.5;
  margin: 0 0 8px;
  font-family: 'Pretendard', sans-serif;
}

.pwfind-subtitle {
  font-size: 14px;
  font-weight: 400;
  color: #6a7282;
  text-align: center;
  line-height: 1.5;
  margin: 0 0 48px;
  font-family: 'Pretendard', sans-serif;
}

/* 폼 */
.pwfind-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

/* 필드 */
.pwfind-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pwfind-label {
  display: flex;
  align-items: center;
  gap: 1px;
  font-size: 15px;
  font-weight: 700;
  color: #0f0f0f;
  line-height: 1.5;
  font-family: 'Pretendard', sans-serif;
}

.pwfind-required {
  color: #f24147;
  font-size: 15px;
}

.pwfind-input {
  width: 335px;
  max-width: 100%;
  height: 48px;
  padding: 0 13.4px;
  border: 1px solid #e7e9ec;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #000;
  font-family: 'Pretendard', sans-serif;
  line-height: 1.4;
}

.pwfind-input::placeholder {
  color: #adb4ba;
}

.pwfind-input:focus {
  outline: none;
  border-color: #12c46b;
}

/* 휴대폰번호 + 인증하기 버튼 */
.pwfind-row {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 335px;
}

.pwfind-input--phone {
  flex: 1;
  width: auto;
}

.pwfind-verify-btn {
  width: 80px;
  height: 48px;
  background: #000;
  border: 1px solid #e7e9ec;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  font-family: 'Pretendard', sans-serif;
  line-height: 1.4;
  flex-shrink: 0;
}

/* 하단 고정 버튼 */
.pwfind-footer {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 420px;
  background: #fff;
  padding: 0 20px 8px;
  z-index: 100;
}

.pwfind-btn {
  width: 335px;
  max-width: 100%;
  height: 50px;
  background: #12c46b;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  font-family: 'Pretendard', sans-serif;
  line-height: 1.45;
  margin: 0 auto 21px;
  display: block;
}

.pwfind-btn:hover {
  background: #0fa958;
}

.pwfind-btn:active {
  background: #0d8f4a;
}

.pwfind-home-indicator {
  width: 134px;
  height: 5px;
  background: #232933;
  border-radius: 3px;
  margin: 0 auto;
}

/* ================================
   비밀번호 재설정 페이지
   ================================ */

.pwreset-body {
  background: #fff;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

.pwreset-container {
  max-width: 420px;
  margin: 0 auto;
  background: #fff;
  min-height: 100vh;
  position: relative;
  padding-bottom: 120px; /* 하단 버튼 공간 */
}

.pwreset-main {
  padding: 148px 20px 0;
}

/* 제목 */
.pwreset-title {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  text-align: center;
  line-height: 1.5;
  margin: 0 0 111px;
  font-family: 'Pretendard', sans-serif;
}

/* 폼 */
.pwreset-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

/* 필드 */
.pwreset-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pwreset-label {
  display: flex;
  align-items: center;
  gap: 1px;
  font-size: 15px;
  font-weight: 700;
  color: #0f0f0f;
  line-height: 1.5;
  font-family: 'Pretendard', sans-serif;
}

.pwreset-required {
  color: #f24147;
  font-size: 15px;
}

.pwreset-input {
  width: 335px;
  max-width: 100%;
  height: 48px;
  padding: 0 13.4px;
  border: 1px solid #e7e9ec;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #000;
  font-family: 'Pretendard', sans-serif;
  line-height: 1.4;
}

.pwreset-input::placeholder {
  color: #adb4ba;
}

.pwreset-input:focus {
  outline: none;
  border-color: #12c46b;
}

/* 하단 고정 버튼 */
.pwreset-footer {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 420px;
  background: #fff;
  padding: 0 20px 8px;
  z-index: 100;
}

.pwreset-btn {
  width: 335px;
  max-width: 100%;
  height: 50px;
  background: #12c46b;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  font-family: 'Pretendard', sans-serif;
  line-height: 1.45;
  margin: 0 auto 21px;
  display: block;
}

.pwreset-btn:hover {
  background: #0fa958;
}

.pwreset-btn:active {
  background: #0d8f4a;
}

.pwreset-home-indicator {
  width: 134px;
  height: 5px;
  background: #232933;
  border-radius: 3px;
  margin: 0 auto;
}

/* =========================================================
   챌린지 안내 (이미지 + 도장 오버레이) - node 1791-9795
   - 배경/텍스트/장식: 이미지로 처리
   - 1~3주차 도장만 좌표 고정 오버레이
   ========================================================= */

.challenge-guide--frame{
  /* 모바일(375) 기준으로 안정화 */
  /* width: 375px; */
  /* min-height: 812px; */
  margin: 0 auto;
  background: #fff;
  position: relative;

  /* 푸터 모듈(네비) 들어오면 값만 바꾸면 버튼이 위로 올라감 */
  /* --challenge-footer-offset: 0px; */
}

/* 전체 카드(이미지 영역) */
.challenge-guide--card{
  position: relative;
  width: 100%;
  height: 625px; /* figma 이미지 높이 */
  /* margin-top: 108px; 헤더 영역이 모듈로 들어오는 전제 */
}

.challenge-guide--bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* 도장 오버레이 */
.challenge-stamps{
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  inset: 0;
  pointer-events: none; /* 클릭 필요 없으면 유지 */
}

.challenge-stamp{
  position: absolute;
  width: 50px;
  height: 50px;

  /* 기본은 빈 원(미완료) */
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(0,0,0,.12);
}

/* 주차 라벨은 이미지에 이미 있으니 접근성용으로만 남기고 숨김 */
.challenge-stamp__label{
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* 완료 도장(간단 스탬프 느낌) */
.challenge-stamp__mark{
  position: absolute;
  inset: 6px;
  border-radius: 999px;
  opacity: 0;
  transform: scale(.9) rotate(-12deg);
  transition: opacity .15s ease, transform .15s ease;
}

/* 완료 상태 */
.challenge-stamp.is-done{
  box-shadow: 0 0 0 2px rgba(0,0,0,.12);
}

.challenge-stamp.is-done .challenge-stamp__mark{
  opacity: 1;
  transform: scale(1) rotate(-12deg);
  /* 이미지 도장이 있으면 여기서 교체:
     background: url(/path/stamp.png) center/contain no-repeat;
  */
  box-shadow: inset 0 0 0 3px rgba(18,196,107,.9);
}

.challenge-stamp.is-done .challenge-stamp__mark::after{
  content: "DONE";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .8px;
  color: rgba(18,196,107,.95);
}

/* 좌표 (Figma 기준: top 622px는 페이지 기준, 그룹 시작 108px -> 514px) */
.challenge-stamp[data-week="1"]{ left: 106px; top: 538px; }
.challenge-stamp[data-week="2"]{ left: 183px; top: 538px; }
.challenge-stamp[data-week="3"]{ left: 260px; top: 538px; }

/* 하단 CTA */
.challenge-guide--cta{
  position: sticky;
  bottom: calc(0px + var(--challenge-footer-offset));
  width: 375px;
  padding: 0 20px 54px; /* figma에서 버튼 bottom 54 */
  background: #fff;
  margin: 0 auto;
  margin-top: 29px;
}

.challenge-guide--ctaBtn{
  width: 335px;
  height: 50px;
  border: 0;
  border-radius: 8px;
  background: #000;
  color: #fff;
  font-family: Pretendard, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.45;
  display: block;
  margin: 0 auto;
  cursor: pointer;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #fff;
}

/*온보딩 안내*/

/* 전체 배경 및 컨테이너 설정 */
.challenge-page-body {
    background-color: #f5f6f7;
    margin: 0;
    padding: 0;
}

.onboarding-wrap {
    max-width: 375px; /* 피그마 아이폰 해상도 기준 */
    margin: 0 auto;
    background-color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 히어로 이미지 및 말풍선 위치 */
.hero-image {
    position: relative;
    width: 100%;
}

.hero-image img {
    width: 100%;
    display: block;
}

.speech-bubble {
    position: absolute;
    top: 19%; /* 캐릭터 머리 위 적절한 위치 */
    left: 39%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.9); /* 살짝 투명한 흰색/크림색 */
    padding: 14px 24px;
    border-radius: 20px;
    font-size: 15px;
    color: #181a1a;
    text-align: center;
    line-height: 1.4;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* 은은한 그림자 */
}

.speech-bubble strong {
    font-weight: 700;
}

/* 하단 카드 영역 디테일 */
.content-card {
    flex: 1;
    background-color: #fff;
    margin-top: -30px; /* 이미지 위로 살짝 올라오게 */
    border-radius: 32px 32px 0 0; /* 피그마의 깊은 라운드값 */
    padding: 36px 24px;
    z-index: 10;
}

.week-text {
    font-size: 14px;
    color: #181a1a;
    margin-bottom: 8px;
    font-weight: 500;
}

.challenge-title {
    font-size: 20px;
    font-weight: 700;
    color: #181a1a;
    margin-bottom: 24px;
}

/* 요일 리스트 스타일 */
.challenge-days {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
}

.challenge-days li {
    width: 42px; /* 피그마 동그라미 크기 */
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #fff;
    color: #adb4ba; /* 비활성 요일 색상 */
    font-size: 15px;
    font-weight: 500;
}

/* 활성화된 요일 (피그마의 민트 그린 색상) */
.challenge-days li.is-active {
    background-color: #e6f7ee; /* 연한 민트 배경 */
    color: #12c46b; /* 옙 메인 그린 텍스트 */
    font-weight: 600;
}

/* 온보딩 히어로 02 */
.onboarding-hero02 {
  max-width: 375px;
  margin: 0 auto;
  min-height: 100vh;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.onboarding-hero02__visual {
  width: 100%;
  height: 360px; /* 이미지 들어갈 영역 */
  background: #f5f5f5; /* 이미지 전 임시 */
}

.onboarding-hero02__content {
  padding: 32px 20px 0;
}

.onboarding-hero02__eyebrow {
  font-size: 14px;
  font-weight: 600;
  color: #ff7a00;
  margin-bottom: 8px;
}

.onboarding-hero02__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}

.onboarding-hero02__desc {
  font-size: 15px;
  line-height: 1.6;
  color: #666;
}

.onboarding-hero02__cta {
  margin-top: auto;
  padding: 20px;
}

/*온보딩 히어로 02*/

.ob2-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 60px 24px 120px;
    text-align: center;
    background-color: #fff;
}

/* 타이틀 */
.ob2-title-area {
    margin-bottom: 48px;
}

.ob2-main-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
    color: #111;
}

.ob2-sub-title {
    font-size: 18px;
    font-weight: 500;
    color: #333;
}

/* 카드 레이아웃 */
.ob2-card-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ob2-card {
    background-color: #F7F8F9;
    border-radius: 20px;
    padding: 30px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    height: 160px;
    overflow: hidden;
}

.ob2-card-text {
    flex: 1;
}

.ob2-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #111;
}

.ob2-card-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.ob2-card-img {
    width: 100px;
    display: flex;
    justify-content: flex-end;
}

.ob2-card-img img {
    max-width: 100%;
    height: auto;
}

/* 인디케이터 */
.ob2-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 60px;
}

.ob2-dot {
    width: 8px;
    height: 8px;
    background-color: #D1D5DB;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.ob2-dot.active {
    width: 32px;
    height: 8px;
    background-color: #000;
    border-radius: 4px;
}

/* 하단 버튼 (고정형) */
.ob2-bottom-action {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 432px; /* container 내부 패딩 고려 */
    z-index: 100;
}

.ob2-btn-next {
    width: 100%;
    padding: 18px;
    background-color: #111;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.ob2-btn-next:active {
    background-color: #333;
}

/* ================================================================
   측정 리포트 (Measurement Report) - 인체계측 분석
   Prefix: mr- (measurement-report)
   ================================================================ */

/* 메인 컨테이너 */
.measurement-report-container {
    max-width: 375px;
    margin: 0 auto;
    padding: 16px 24px 80px;
    background-color: #ffffff;
}

/* 탭 스타일 */
.mr-tabs {
    display: flex;
    justify-content: space-between;
    padding: 0 48px;
    margin-bottom: 28px;
    border-bottom: 1px solid #dcdee3;
}

.mr-tab {
    padding: 12px 0;
    font-size: 16px;
    font-weight: 400;
    color: #656565;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
}

.mr-tab--active {
    color: #1d1d1d;
    font-weight: 700;
}

.mr-tab--active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #000000;
}

/* 섹션 스타일 */
.mr-section {
    margin-bottom: 36px;
}

.mr-section-title {
    
    font-size: 20px;
    font-weight: 600;
    color: #262c31;
    margin-bottom: 16px;
    line-height: 1.4;
}

.mr-section-desc {
    
    font-size: 14px;
    font-weight: 500;
    color: #778088;
    margin-bottom: 20px;
    line-height: 21.5px;
}

/* 측정 카드 그리드 */
.mr-measurement-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.mr-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 14px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mr-card-header {
    text-align: center;
    margin-bottom: 16px;
    width: 100%;
}

.mr-card-title {
    
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
}

.mr-card-date {
    
    font-size: 12px;
    color: #888;
}

/* 차트 컨테이너 */
.mr-chart-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 16px;
}

.mr-chart-wrapper canvas {
    width: 100px !important;
    height: 100px !important;
}

/* 상태 배지 */
.mr-badge {
    padding: 6px 20px;
    border-radius: 16px;
    
    font-size: 14px;
    font-weight: 700;
}

.mr-badge--warning {
    background: #fff0eb;
    color: #e04a23;
}

.mr-badge--good {
    background: #e2fee7;
    color: #48c45e;
}

/* 구분선 */
.mr-divider {
    height: 0.5px;
    background: #dcdee3;
    margin: 36px 0;
}

/* 히스토리 섹션 */
.mr-history-section {
    margin-bottom: 40px;
}

.mr-history-header {
    margin-bottom: 20px;
}

/* 필터 버튼 그룹 */
.mr-filter-group {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.mr-filter-group::-webkit-scrollbar {
    display: none;
}

.mr-filter-btn {
    padding: 9px 20px;
    border-radius: 19px;
    border: 1px solid #ddd;
    background: #ffffff;
    color: #666;
    
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.mr-filter-btn--active {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}

.mr-filter-btn:hover:not(.mr-filter-btn--active) {
    border-color: #999;
}

/* 액션 바 */
.mr-action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.mr-action-group {
    display: flex;
    gap: 16px;
}

.mr-action-link {
    background: none;
    border: none;
    color: #666;
    
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    padding: 8px 0;
    transition: color 0.2s;
}

.mr-action-link:hover {
    color: #333;
}

.mr-action-link--delete {
    color: #f02d36;
}

.mr-action-link--delete:hover {
    color: #d02030;
}

/* 히스토리 리스트 */
.mr-history-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 16px;
}

.mr-history-item {
    background: #ffffff;
    border: 2px solid transparent;
    border-radius: 15px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.05);
    transition: border-color 0.2s;
    position: relative;
}

.mr-history-item:has(.mr-checkbox:checked) {
    border-color: #12c46b;
}

.mr-checkbox {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border: 2px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    appearance: none;
    background: transparent;
    z-index: 1;
    transition: all 0.2s;
}

.mr-checkbox:checked {
    background: transparent;
    border-color: #12c46b;
}

.mr-checkbox:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background-image: url('../images/icons/check.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.mr-history-content {
    display: flex;
    align-items: center;
    padding: 16px 16px 16px 52px;
    cursor: pointer;
    flex: 1;
}

.mr-history-info {
    flex: 1;
}

.mr-history-date {
    
    font-size: 13px;
    color: #888;
    margin-bottom: 4px;
}

.mr-history-type {
    
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

.mr-history-result {
    text-align: right;
}

.mr-history-value {
    
    font-size: 18.5px;
    font-weight: 600;
    color: #181a1a;
    margin-bottom: 4px;
}

.mr-history-status {
    
    font-size: 12px;
    font-weight: 600;
}

.mr-history-status--warning {
    color: #e04a23;
}

.mr-history-status--good {
    color: #48c45e;
}

/* 더보기 버튼 */
.mr-more-btn {
    width: 100%;
    padding: 12px;
    background: none;
    border: none;
    border-radius: 8px;
    color: #adb4ba;
    
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.mr-more-btn:hover {
    background: #f5f5f5;
}

/* 주요 버튼 */
.mr-primary-btn {
    width: 100%;
    max-width: 335px;
    height: 48px;
    background: #12c46b;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin: 0 auto;
    display: block;
}

.mr-primary-btn:hover {
    background: #0fa85d;
}

/* 모달 오버레이 */
.mr-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: mrFadeIn 0.2s;
}

@keyframes mrFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 모달 */
.mr-modal {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 20px 32px;
    width: 90%;
    max-width: 334px;
    box-shadow: 0 5px 24px rgba(0, 0, 0, 0.5);
    animation: mrSlideUp 0.3s;
}

@keyframes mrSlideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.mr-modal--email {
    padding: 40px 20px 36px;
}

.mr-modal-text {
    
    font-size: 20px;
    font-weight: 500;
    color: #181a1a;
    text-align: center;
    line-height: 1.45;
    margin-bottom: 32px;
}

/* 이메일 입력 필드 */
.mr-input-field {
    margin-bottom: 42px;
}

.mr-input-label {
    display: block;
    
    font-size: 13.5px;
    font-weight: 500;
    color: #0f0f0f;
    margin-bottom: 4px;
}

.mr-input {
    width: 100%;
    padding: 15px 12px;
    border: 1px solid #e7e9ec;
    border-radius: 9px;
    
    font-size: 12.5px;
    color: #181a1a;
    transition: border-color 0.2s;
}

.mr-input::placeholder {
    color: #adb4ba;
}

.mr-input:focus {
    outline: none;
    border-color: #12c46b;
}

/* 모달 버튼 */
.mr-modal-buttons {
    display: flex;
    gap: 7px;
    justify-content: center;
}

.mr-modal-btn {
    flex: 1;
    max-width: 148px;
    height: 48px;
    border-radius: 8px;
    
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s;
}

.mr-modal-btn--cancel {
    background: #ffffff;
    border: 1px solid #d4d4d4;
    color: #181a1a;
    font-weight: 500;
}

.mr-modal-btn--cancel:hover {
    background: #f5f5f5;
}

.mr-modal-btn--confirm {
    background: #12c46b;
    border: 1px solid #12c46b;
    color: #ffffff;
    font-weight: 600;
}

.mr-modal-btn--confirm:hover {
    background: #0fa85d;
}

.mr-modal-btn-single {
    width: 100%;
    max-width: 290px;
    height: 48px;
    background: #12c46b;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin: 0 auto;
    display: block;
    transition: background 0.2s;
}

.mr-modal-btn-single:hover {
    background: #0fa85d;
}

/* 반응형 */
@media (max-width: 375px) {
    .measurement-report-container {
        padding: 16px 20px 140px;
    }
}

@media (min-width: 376px) {
    .mr-modal {
        max-width: 340px;
    }
}

/* ================================================================
   상품 상세 페이지 - 리뷰 섹션 (Product Detail - Review Section)
   Prefix: store-product-, store-review-

/* ========================================================================
   스토어 상품 페이지 CSS - Figma Design (node-id=1975-10149)
   완전히 새로 작성 - 중복 제거 완료
   ======================================================================== */

/* ================================
   상품 페이지 Body 설정
   ================================ */
body.store-product-body {
  background: #fff;
  padding-bottom: 100px !important; /* 구매하기 버튼 여백 */
}

body.store-product-body .container {
  padding: 0 !important;
}

/* ================================
   상품 이미지 영역
   ================================ */
.store-product-media {
  position: relative;
  width: 100%;
  height: 406px;
  margin-top: 55px; /* GNB 높이 */
  background: #e4ac72;
  overflow: hidden;
}

.store-product-media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 할인 배지 */
.store-product-badge {
  position: absolute;
  top: -16px;
  right: 17px;
  width: 82px;
  height: 82px;
  background: radial-gradient(circle, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.store-product-badge__text {
  text-align: center;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  font-family: 'Pretendard', sans-serif;
}

.store-product-badge__text span {
  display: block;
}

/* ================================
   상품 정보 영역
   ================================ */
.store-product-info {
  background: #fff;
  padding: 22px 24px 0;
  position: relative;
}

.store-product-category {
  font-size: 15.625px;
  font-weight: 600;
  color: #8e98a0;
  line-height: 1.4;
  margin-bottom: 0;
  font-family: 'Pretendard', sans-serif;
}

.store-product-title {
  font-size: 18px;
  font-weight: 600;
  color: #191919;
  line-height: 1.4;
  margin: 0;
  font-family: 'Pretendard', sans-serif;
  word-break: keep-all;
}


.store-product-desc {
  font-size: 13px;
  font-weight: 400;
  color: #888;
  line-height: 20px;
  margin-top: 30px;
  font-family: 'Pretendard', sans-serif;
}

/* ================================
   가격 영역
   ================================ */
.store-product-price {
 /* padding: 0 24px;*/
  margin-top: 22px;
}

.store-product-price-section {
  width: 327px;
  max-width: 100%;
}

.store-product-price-label {
  font-size: 14px;
  font-weight: 600;
  color: #000;
  line-height: 24px;
  margin-bottom: 10px;
  font-family: 'Pretendard', sans-serif;
}

.store-product-price-values {
  position: relative;
  height: 56px;
}

.store-product-price-original {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 21.8px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.31);
  line-height: 25px;
  font-family: 'Pretendard', sans-serif;
  text-decoration: line-through;
}

.store-product-price-discount-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: baseline;
  gap: 3.5px;
}

.store-product-price-current {
  font-size: 21.8px;
  font-weight: 700;
  color: #12c46b;
  line-height: 25px;
  font-family: 'Pretendard', sans-serif;
}

.store-product-price-discount-label {
  font-size: 13px;
  font-weight: 400;
  color: #12c46b;
  line-height: 13px;
  font-family: 'Pretendard', sans-serif;
}

/* ================================
   상품 상세 테이블
   ================================ */
.store-product-details {
  padding: 0 24px;
  margin-top: 20px;
  width: 327px;
  max-width: 100%;
}

.store-product-detail-row {
  display: flex;
  align-items: center;
  min-height: 22px;
  border-bottom: none;
}

.store-product-detail-label {
  width: 70px;
  padding-left: 10px;
  font-size: 12px;
  font-weight: 400;
  color: #222;
  line-height: 22px;
  font-family: 'Pretendard', sans-serif;
  flex-shrink: 0;
}

.store-product-detail-value {
  flex: 1;
  font-size: 12px;
  font-weight: 400;
  color: #595959;
  line-height: 22px;
  font-family: 'Pretendard', sans-serif;
}

.store-product-detail-value .highlight {
  color: #538aff;
}

/* ================================
   탭 네비게이션
   ================================ */
.store-product-tabs {
  display: flex;
  border-bottom: 1px solid #ddd;
  background: #fff;
  margin-top: 0;
}

.store-product-tab {
  flex: 1;
  padding: 0 10px;
  height: 36px;
  background: none;
  border: none;
  font-size: 15px;
  color: #939393;
  cursor: pointer;
  position: relative;
  font-family: 'Pretendard', sans-serif;
  font-weight: 400;
  line-height: 36px;
  transition: all 0.2s;
}

.store-product-tab--active {
  color: #292929;
  font-weight: 600;
  line-height: 1.45;
}

.store-product-tab--active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2.5px;
  background: #292929;
}

/* ================================
   탭 콘텐츠
   ================================ */
.store-product-tab-content {
  display: none;
  padding: 24px 0 40px;
}

.store-product-tab-content--active {
  display: block;
}

.store-product-detail-empty {
  text-align: center;
  padding: 60px 20px;
  color: #999;
}

.store-product-detail-empty p {
  margin: 0;
  font-size: 14px;
  font-family: 'Pretendard', sans-serif;
}

/* ================================
   리뷰 요약 카드
   ================================ */
.store-review-summary {
  background: #f9f9f9;
  padding: 20px 15px;
  border-radius: 5px;
  margin: 0 24px 40px;
  width: 370px;
  height: 229px;
  max-width: calc(100% - 48px);
}

/* 별점 섹션 */
.store-review-rating {
  text-align: center;
  padding-top: 10px;
  margin-bottom: 0;
  position: relative;
}

.store-review-star {
  font-size: 39px;
  color: #ffc107;
  display: inline-block;
  line-height: 1;
  height: 39px;
  width: 31px;
}

.store-review-score {
  display: block;
  font-size: 31px;
  font-weight: 600;
  color: #2a2a2a;
  line-height: 31px;
  margin-top: 0;
  font-family: 'Pretendard', sans-serif;
}

/* 구분선 */
.store-review-rating::after {
  content: '';
  display: block;
  height: 1px;
  background: #e2e2e2;
  margin: 18px 0;
}

/* 막대 그래프 + 키워드 컨테이너 */
.store-review-bars {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  min-height: 65px;
  padding-top: 10px;
  margin-bottom: 0;
}

/* 왼쪽: 세로 막대 그래프들 */
.store-review-bars-left {
  display: flex;
  gap: 15px;
  align-items: flex-end;
}

.store-review-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 100%;
  justify-content: flex-end;
}

/* 세로 막대 */
.store-review-bar-track {
  width: 7px;
  height: 49px;
  background: #e2e2e2;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  order: 1;
}

.store-review-bar-fill {
  width: 100%;
  background: #222;
  transition: height 0.3s ease;
}

/* 점수 라벨 (하단) */
.store-review-bar-label {
  font-size: 10px;
  line-height: 10px;
  color: #525252;
  order: 2;
  font-family: 'Pretendard', sans-serif;
}

/* 오른쪽: 키워드 + 퍼센트 */
.store-review-stats {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
      gap: 5px;
  min-width: 0;
}

.store-review-keyword {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  background: transparent;
  border: none;
  font-size: 12px;
  line-height: 12px;
  color: #525252;
  gap: 6px;
  font-family: 'Pretendard', sans-serif;
  width: 100%;
}

.store-review-keyword-text {
  font-weight: 500;
  white-space: pre-wrap;
  flex-shrink: 0;
  max-width: 100px;
  text-align: center;
}

.store-review-keyword-line {
  flex: 1;
  height: 1px;
  border-bottom: 1px dashed #bbb;
  min-width: 10px;
}

.store-review-bar-percent {
  font-size: 12px;
  line-height: 12px;
  color: #525252;
  text-align: right;
  flex-shrink: 0;
  font-family: 'Pretendard', sans-serif;
}

/* ================================
   베스트 리뷰 섹션
   ================================ */
.store-review-section {
  padding: 0;
  margin-bottom: 32px;
}

.store-review-section-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
  line-height: 22px;
  font-family: 'Pretendard', sans-serif;
  padding-left: 24px;
}

/* 베스트 리뷰 가로 스크롤 */
.store-review-best {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 24px;
  margin-bottom: 0;
}

.store-review-best::-webkit-scrollbar {
  display: none;
}

.store-review-best-container {
  display: flex;
  gap: 24px;
  width: max-content;
}

/* 베스트 리뷰 카드 */
.store-review-card--best {
  background: #fafafa;
  border: 1px solid #f6f2f2;
  border-radius: 6px;
  padding: 17px;          /* 2px → 17px */
  width: 277.66px;        /* 300px → 277.66px */
  height: 127px;          /* 100% → 127px (고정) */
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 11.3px;
}

.store-review-card--best .store-review-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 5px;
  height: 16.7px;
  flex-shrink: 0;
}

.store-review-author {
  font-size: 12px;
  line-height: 15px;
  color: #767676;
  font-family: 'Pretendard', sans-serif;
}

.store-review-badge {
  background: #000;
  color: #fff;
  padding: 0.34px 7.02px 1.36px;
  border-radius: 20px;
  font-size: 10.8px;
  line-height: 15px;
  font-weight: 500;
  font-family: 'Pretendard', sans-serif;
}

/* 베스트 리뷰 본문 */
.store-review-card--best .store-review-content {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  height: 65px;
  flex-shrink: 0;
}

.store-review-card--best .store-review-image {
  width: 49.17px;
  height: 65px;
  flex-shrink: 0;
  margin: 0;
}

.store-review-placeholder {
  width: 100%;
  height: 100%;
  background: #c4c4c4;
  border-radius: 0;
}

.store-review-card--best .store-review-text {
  flex: 1;
  font-size: 11.3px;
  line-height: 17px;
  color: #333;
  font-family: 'Pretendard', sans-serif;
  margin: 0;
  word-break: keep-all;
  padding-right: 2.02px;
  overflow: hidden;
}

/* ================================
   베스트 리뷰 선정 배너
   ================================ */
.store-review-promo {
  background: #121212;
  border-radius: 8px;
  padding: 21px 13px;
  margin: 0 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
  height: 94px;
  width: 370px;
  max-width: calc(100% - 48px);
}

.store-review-promo-content {
  z-index: 2;
  max-width: 240px;
}

.store-review-promo-title {
  font-size: 18px;
  line-height: 1.4;
  color: #fff;
  margin: 0;
  font-family: 'Pretendard', sans-serif;
  font-weight: 400;
}

.store-review-promo-reward {
  font-size: 18px;
  line-height: 1.4;
  color: #fff;
  font-family: 'Pretendard', sans-serif;
  margin: 0;
  font-weight: 400;
}

.store-review-promo-reward strong {
  font-weight: 600;
}

.store-review-promo-image {
  width: 55px;
  height: 73px;
  z-index: 2;
  flex-shrink: 0;
}

.store-review-promo-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ================================
   전체 리뷰 섹션
   ================================ */
.store-review-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding: 0 26px;
}

.store-review-section-header .store-review-section-title {
  font-size: 16px;
  line-height: 16px;
  font-weight: 600;
  color: #202020;
  margin: 0;
  padding: 0;
  font-family: 'Pretendard', sans-serif;
}

/* 사진 후기만 필터 */
.store-review-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 12px;
  color: #131313;
  cursor: pointer;
  font-family: 'Pretendard', sans-serif;
  user-select: none;
}

.store-review-filter-toggle {
  width: 28px;
  height: 16px;
  background: #7a7a7a;
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s;
}

.store-review-filter-toggle::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 6px;
  top: 2px;
  left: 2px;
  transition: left 0.3s;
}

.store-review-filter-check:checked + .store-review-filter-toggle {
  background: #00b06b;
}

.store-review-filter-check:checked + .store-review-filter-toggle::after {
  left: 14px;
}

.store-review-filter-check {
  display: none;
}

/* ================================
   리뷰 카드 (일반)
   ================================ */
.store-review-list {
  margin-bottom: 20px;
}

.store-review-card {
  background: #f9f9f9;
  border: none;
  border-bottom: 1px solid #d9d9d9;
  border-radius: 3;
  /* padding: 30px 26px 28px; */
  margin: 0;
}

.store-review-card2 {
  background: #fff;
  border: none;
  border-bottom: 1px solid #d9d9d9;
  border-radius: 3;
  padding: 30px 26px 28px;
  margin: 0;
  position: relative;  /* 추가 */
}

.store-review-card:last-child {
  border-bottom: none;
}

.store-review-card2 .store-review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  gap: 7px;
  min-height: auto;
}

.store-review-card .store-review-author {
  font-size: 12px;
  line-height: 30px;
  color: #767676;
}

.store-review-stars {
  color: #ffc107;
  font-size: 13px;
  line-height: 14px;
  display: flex;
  gap: 3px;
}

.store-review-date {
  font-size: 12px;
  line-height: 30px;
  color: #767676;
  font-family: 'Pretendard', sans-serif;
}

.store-review-card .store-review-image {
  width: 100%;
  height: 100%;
  /* margin: 0 0 10px 0; */
}

.store-review-card .store-review-placeholder {
  width: 100%;
  height: 100%;
  background: #c4c4c4;
  border-radius: 2px;
}

.store-review-card .store-review-text {
  font-size: 8px;
  color: #fff;
  margin: 0;
  position: relative;
  font-family: 'Pretendard', sans-serif;
  word-break: keep-all;
}

/* ================================
   더보기 버튼
   ================================ */
.store-review-loadmore {
  width: 327px;
  max-width: calc(100% - 48px);
  padding: 12px 10px;
  background: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: #adb4ba;
  cursor: pointer;
  transition: background 0.2s;
  margin: 0 auto;
  display: block;
  font-family: 'Pretendard', sans-serif;
}

.store-review-loadmore:hover {
  background: #f8f8f8;
}

/* ================================
   하단 고정 구매 버튼
   ================================ */
.store-product-buybar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 420px;
  background: #fff;
  padding: 12px 24px 24px;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
  z-index: 90;
  border-radius: 20px 20px 0 0;
}

.store-product-buybtn {
  width: 100%;
  padding: 16px;
  background: #00b06b;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Pretendard', sans-serif;
  transition: background 0.2s;
}

.store-product-buybtn:hover {
  background: #009958;
}

.store-product-buybtn:active {
  background: #008549;
}

/* ================================
   바텀 시트 (모달)
   ================================ */
.sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.sheet-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.sheet {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 20px 20px 0 0;
  z-index: 160;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
}

.sheet.is-open {
  transform: translateX(-50%) translateY(0);
}

.sheet-panel {
  padding: 24px;
  max-height: 80vh;
  overflow-y: auto;
}

.sheet-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sheet-tip {
  text-align: center;
  padding: 16px;
  background: #fff;
  border-radius: 8px;
  margin: 6px 0 10px;
  padding: 10px 0px 0px 10px;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  font-family: 'Pretendard', sans-serif;
}

.sheet-tip__accent {
  color: #00b06b;
  font-weight: 700;
}

.sheet-plan {
  padding: 20px;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Pretendard', sans-serif;
}

.sheet-plan:hover {
  border-color: #00b06b;
}

.sheet-plan--active {
  border-color: #00b06b;
  background: #f0fdf7;
}

.sheet-plan__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.sheet-plan__type {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.sheet-plan__discount {
  background: #00b06b;
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.sheet-plan__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.sheet-plan__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.sheet-plan__price--strike {
  font-size: 16px;
  color: #999;
  text-decoration: line-through;
}

.sheet-plan__price--main {
  font-size: 24px;
  font-weight: 700;
  color: #000;
}

.sheet-plan__per {
  font-size: 16px;
  color: #666;
}

.sheet-plan__sensor {
  font-size: 14px;
  color: #666;
}

.sheet-actions {
  margin-top: 16px;
}

.sheet-cta {
  width: 100%;
  padding: 16px;
  background: #00b06b;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Pretendard', sans-serif;
  transition: background 0.2s;
}

.sheet-cta:hover {
  background: #009958;
}

.sheet-cta:active {
  background: #008549;
}

/* ================================
   센서 개수 선택 (바텀시트 1)
   ================================ */
.sheet-title {
  font-size: 20px;
  font-weight: 600;
  color: #191919;
  text-align: center;
  margin: 10px 0 0;
  padding: 0;
  font-family: 'Pretendard', sans-serif;
  line-height: 1.4;
  letter-spacing: -0.408px;
}

.sheet-field {
  margin: 16px 0;
}

.sheet-field__label {
  display: block;
  font-size: 13.542px;
  font-weight: 500;
  color: #191919;
  margin-bottom: 8.333px;
  font-family: 'Pretendard', sans-serif;
  line-height: 1.4;
}

.sheet-field__select {
  position: relative;
  width: 100%;
}

.sheet-field__input {
  width: 100%;
  padding: 14.583px 16.667px;
  border: 1.042px solid #e1e6ea;
  border-radius: 4.167px;
  font-size: 15.625px;
  font-weight: 500;
  color: #191919;
  background: #fff;
  font-family: 'Pretendard', sans-serif;
  line-height: 1.4;
  letter-spacing: -0.425px;
  appearance: none;
  cursor: pointer;
}

.sheet-field__input:focus {
  outline: none;
  border-color: #00b06b;
}

.sheet-field__input option {
  color: #191919;
}

.sheet-field__arrow {
  position: absolute;
  right: 16.667px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  width: 20.833px;
  height: 20.833px;
}

/* ================================
   Z-index 관리
   ================================ */
/* 
상품 구매하기 버튼: z-index: 90
바텀 시트 오버레이: z-index: 150
바텀 시트: z-index: 160
*/

/* ================================
   결제창 페이지
   ================================ */

/* Body 설정 */
.payment-page-body {
  background: #fff;
  padding: 0;
  margin: 0;
  padding-bottom: 110px !important; /* 하단 고정 버튼 여백 */
}

.payment-container {
  max-width: 420px;
  margin: 0 auto;
  background: #fff;
  min-height: 100vh;
}

.payment-main {
  padding-top: 0;
}

/* ================================
   섹션 공통
   ================================ */
.payment-section {
  padding: 16px 24px 7.6px;
}

.payment-section--final {
  padding-bottom: 16px;
}

.payment-section__title {
  font-size: 18px;
  font-weight: 600;
  color: #0a0a0a;
  line-height: 28px;
  margin: 0 0 16px;
  font-family: 'Pretendard', sans-serif;
}

.payment-section__title--bold {
  font-weight: 700;
}

.payment-section__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.payment-section__header .payment-section__title {
  margin: 0;
}

.payment-section__count {
  font-size: 14px;
  font-weight: 500;
  color: #03c75a;
  line-height: 20px;
  font-family: 'Pretendard', sans-serif;
}

/* 구분선 */
.payment-divider {
  height: 7px;
  background: #f9f9f9;
  width: 100%;
}

/* ================================
   배송지
   ================================ */
.payment-delivery {
  margin-bottom: 12px;
}

.payment-delivery__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.payment-delivery__name {
  font-size: 16px;
  font-weight: 500;
  color: #0a0a0a;
  line-height: 24px;
  font-family: 'Pretendard', sans-serif;
}

.payment-delivery__badge {
  display: inline-block;
  padding: 3.5px 8px;
  background: #f5fff7;
  border: 0.5px solid #03c75a;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 400;
  color: #03c75a;
  line-height: 16px;
  font-family: 'Pretendard', sans-serif;
}

.payment-delivery__address,
.payment-delivery__phone {
  font-size: 14px;
  font-weight: 400;
  color: #707070;
  line-height: 20px;
  margin: 0 0 4px;
  font-family: 'Pretendard', sans-serif;
}

.payment-request-btn {
  width: 327px;
  max-width: 100%;
  height: 45px;
  padding: 0 12.6px;
  background: #f9fafb;
  border: 0.6px solid #e4e4e4;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 500;
  color: #707070;
  cursor: pointer;
  font-family: 'Pretendard', sans-serif;
  line-height: 20px;
}

.payment-request-btn:hover {
  background: #f3f4f6;
}

/* ================================
   주문상품
   ================================ */
.payment-product {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.payment-product__image {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f0f0f0;
}

.payment-product__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.payment-product__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 80px;
}

.payment-product__name {
  font-size: 14px;
  font-weight: 500;
  color: #0a0a0a;
  line-height: 20px;
  margin: 0 0 4px;
  font-family: 'Pretendard', sans-serif;
}

.payment-product__options {
  font-size: 12px;
  font-weight: 400;
  color: #6a7282;
  line-height: 16px;
  margin: 0 0 4px;
  font-family: 'Pretendard', sans-serif;
}

.payment-product__price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.payment-product__price {
  font-size: 16px;
  font-weight: 700;
  color: #0a0a0a;
  line-height: 24px;
  font-family: 'Pretendard', sans-serif;
}

/* ================================
   할인혜택
   ================================ */
.payment-discount {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.payment-discount__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.payment-discount__label {
  font-size: 14px;
  font-weight: 400;
  color: #0a0a0a;
  line-height: 20px;
  font-family: 'Pretendard', sans-serif;
}

.payment-discount__btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 500;
  color: #03c75a;
  cursor: pointer;
  padding: 0;
  font-family: 'Pretendard', sans-serif;
  line-height: 20px;
}

.payment-discount__point {
  display: flex;
  align-items: center;
  gap: 8px;
}

.payment-discount__point-value {
  font-size: 14px;
  font-weight: 400;
  color: #0a0a0a;
  line-height: 20px;
  font-family: 'Pretendard', sans-serif;
}

.payment-discount__use-all {
  padding: 4px 12px;
  background: #f3f4f6;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  color: #0a0a0a;
  cursor: pointer;
  font-family: 'Pretendard', sans-serif;
  line-height: 20px;
}

.payment-discount__use-all:hover {
  background: #e5e7eb;
}

.payment-discount__info {
  font-size: 12px;
  font-weight: 400;
  color: #707070;
  line-height: 16px;
  margin: 0;
  font-family: 'Pretendard', sans-serif;
}

/* ================================
   결제 수단
   ================================ */
.payment-method {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.payment-method__mode {
  display: flex;
  align-items: center;
  gap: 8px;
}

.payment-method__radio {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  color: #0a0a0a;
  font-family: 'Pretendard', sans-serif;
  line-height: 24px;
}

.payment-method__radio input[type="radio"] {
  display: none;
}

.payment-method__radio-circle {
  width: 20px;
  height: 20px;
  border: 2px solid #d3d3d3;
  border-radius: 50%;
  position: relative;
  transition: all 0.2s;
}

.payment-method__radio--active .payment-method__radio-circle {
  border-color: #000;
}

.payment-method__radio--active .payment-method__radio-circle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: #000;
  border-radius: 50%;
}

.payment-method__radio-label {
  user-select: none;
}

.payment-method__info-icon {
  flex-shrink: 0;
}

/* 결제 옵션 그리드 */
.payment-method__options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7.6px;
  margin-top: 8px;
}

.payment-method__option {
  position: relative;
  height: 42px;
  padding: 11.7px 16px;
  background: #fff;
  border: 0.7px solid #e4e4e4;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #000;
  cursor: pointer;
  font-family: 'Pretendard', sans-serif;
  line-height: 19.067px;
  text-align: center;
  transition: all 0.2s;
}

.payment-method__option:hover {
  background: #f9fafb;
}

.payment-method__option--active {
  background: #000;
  border-color: #000;
  color: #fff;
  font-weight: 700;
}

.payment-method__badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 8px;
  background: #000;
  border-radius: 4px;
  font-size: 9.5px;
  font-weight: 500;
  color: #fff;
  line-height: 13.6px;
  font-family: 'Pretendard', sans-serif;
}

/* 혜택 안내 */
.payment-method__benefit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #f9fafb;
  border-radius: 8px;
  margin-top: 8px;
}

.payment-method__benefit p {
  font-size: 14px;
  font-weight: 500;
  color: #7c828c;
  line-height: 20px;
  margin: 0;
  font-family: 'Pretendard', sans-serif;
}

/* ================================
   최종 결제금액
   ================================ */
.payment-summary {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.payment-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.payment-summary__row--total {
  padding-top: 12px;
  border-top: 0.543px solid #d8d8d8;
  margin-top: 4px;
}

.payment-summary__label {
  font-size: 14px;
  font-weight: 400;
  color: #6a7282;
  line-height: 20px;
  font-family: 'Pretendard', sans-serif;
}

.payment-summary__label--bold {
  font-weight: 600;
  color: #0a0a0a;
}

.payment-summary__value {
  font-size: 14px;
  font-weight: 500;
  color: #0a0a0a;
  line-height: 20px;
  font-family: 'Pretendard', sans-serif;
}

.payment-summary__value--discount {
  color: #03c75a;
}

.payment-summary__value--total {
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
}

.payment-summary__discount-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 500;
  color: #6a7282;
  cursor: pointer;
  padding: 0;
  font-family: 'Pretendard', sans-serif;
  line-height: 24px;
}

/* ================================
   하단 고정 결제 버튼
   ================================ */
.payment-cta {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-top: 0.543px solid #e5e7eb;
  padding: 16.54px 16px;
  z-index: 100;
}

.payment-cta__btn {
  width: 100%;
  height: 56px;
  background: #000;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  font-family: 'Pretendard', sans-serif;
  line-height: 24px;
  transition: background 0.2s;
}

.payment-cta__btn:hover {
  background: #333;
}

.payment-cta__btn:active {
  background: #000;
}

/* ================================
   스토어 페이지
   ================================ */

.store_body {
  background: #fff;
  margin: 0;
  padding: 0;
}

.store-main {
  max-width: 420px;
  margin: 0 auto;
  padding: 0;
  background: #fff;
}

/* ================================
   메인 히어로 배너
   ================================ */
.store-hero {
  height: 345px;
  position: relative;
  overflow: hidden;
  background: #eaf9f1;
}

.storeHeroSwiper {
  width: 100%;
  height: 100%;
}

.store-hero-card {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.store-hero-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-hero-badge {
  position: absolute;
  top: 16px;
  right: 23px;
  width: 82px;
  height: 82px;
  background: radial-gradient(circle, #12c46b 0%, #0fa958 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.store-hero-badge span {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.45;
  font-family: 'Pretendard', sans-serif;
}

.store-hero-pagination {
  position: absolute;
  bottom: 14px;
  right: 23px;
  width: 50px;
  height: 23.977px;
  background: rgba(42, 42, 42, 0.8);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #fff;
  font-family: 'Pretendard', sans-serif;
  letter-spacing: 1px;
  line-height: 16px;
}

/* Swiper 기본 스타일 덮어쓰기 */
.store-hero-pagination.swiper-pagination-fraction {
  width: 50px;
  left: auto;
  right: 23px;
  bottom: 14px;
  gap: 2px;
}

.store-hero-pagination .swiper-pagination-current,
.store-hero-pagination .swiper-pagination-total {
  color: #fff;
}

/* ================================
   피지오클래스 케어용품 섹션
   ================================ */
.store-products {
  padding: 40px 24px;
}

.store-products-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 23px;
}

.store-products-title {
  font-size: 20px;
  font-weight: 600;
  color: #222;
  line-height: 30px;
  margin: 0 0 4px;
  font-family: 'Pretendard', sans-serif;
}

.store-products-sub {
  font-size: 14px;
  font-weight: 400;
  color: #6a7282;
  line-height: 16px;
  margin: 0;
  font-family: 'Pretendard', sans-serif;
}

.store-products-more {
  font-size: 16px;
  font-weight: 400;
  color: #888;
  line-height: 24px;
  text-decoration: none;
  font-family: 'Pretendard', sans-serif;
}

.store-products-more:hover {
  color: #666;
}

/* 상품 스크롤 */
.store-products-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.store-products-scroll::-webkit-scrollbar {
  display: none;
}

/* 상품 카드 */
.store-product-card {
  flex-shrink: 0;
/*  width: 132.69px;*/
max-width:200px;
}

.store-product-image {
  width: 100%;
  height: 119.41px;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 10px;
 /* background: #f9f9f9;*/
}

.store-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-product-placeholder {
  width: 100%;
  height: 100%;
 /* background: #c4c4c4;*/
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.store-product-placeholder p {
  font-size: 10px;
  font-weight: 600;
  color: #000;
  text-align: center;
  line-height: 26px;
  margin: 0;
  font-family: 'Pretendard', sans-serif;
}

.store-product-info {
  /*padding: 0 14.42px;*/
  padding:0;
}

.store-product-brand {
  font-size: 13.365px;
  font-weight: 400;
  color: #959595;
  line-height: 19.231px;
  margin: 0 0 4px;
  font-family: 'Pretendard', sans-serif;
  letter-spacing: -0.9615px;
}

.store-product-price {
  font-size: 14.423px;
  font-weight: 600;
  color: #333;
  line-height: 21.154px;
  margin: 0;
  font-family: 'Pretendard', sans-serif;
}

/* ================================
   AI 시대 러너 필수템 배너
   ================================ */
.store-runner-banner {
  position: relative;
  height: 202px;
  margin: 40px 0;
  overflow: hidden;
}

.store-runner-image {
  width: 100%;
  height: 100%;
}

.store-runner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-runner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 87px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.store-runner-text {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 2;
}

.store-runner-desc {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  line-height: 1.4;
  margin: 0 0 4px;
  font-family: 'Pretendard', sans-serif;
}

.store-runner-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  margin: 0;
  font-family: 'Pretendard', sans-serif;
}

/* ================================
   제품후기 섹션
   ================================ */
.store-reviews {
  padding: 0 0 40px;
  position: relative;
}

.store-reviews-title {
  font-size: 16.769px;
  font-weight: 600;
  color: #2c2c2c;
  line-height: 28.508px;
  margin: 0 0 20px;
  padding: 0 24px;
  font-family: 'Pretendard', sans-serif;
}

.store-reviews-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 24px;
}

.store-reviews-scroll::-webkit-scrollbar {
  display: none;
}

/* 리뷰 카드 */
.store-review-card {
  flex-shrink: 0;
  width: 120.738px;
  height: 120.738px;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.store-review-card2 .store-review-image  {
  width: 80px;
  height: 80px;
  background: #c4c4c4;
}

.store-review-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 61.208px;
  background: rgba(0, 0, 0, 0.7);
  padding: 6.71px 10.73px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.store-review-user {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.store-review-name {
  font-size: 6.708px;
  font-weight: 400;
  color: #fff;
  line-height: 16.769px;
  font-family: 'Pretendard', sans-serif;
}

.store-review-stars {
  display: flex;
  gap: 1px;
}

.store-review-stars span {
  font-size: 7px;
  color: #ffd700;
}

/* 텍스트 + 더보기 컨테이너 */
.store-review-text-container {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

/* 텍스트 영역 */
.store-review-plan-text {
  flex: 1;
  font-size: 14px;
  font-weight: 400;
  color: #000;
  line-height: 1.45;
  margin: 0;
  font-family: 'Pretendard', sans-serif;
}

/* 더보기 영역 (항상 존재) */
.store-review-more-area {
  width: 50px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

/* 더보기 버튼 */
.store-review-more {
  background: none;
  border: none;
  color: #538aff;
  font-size: 12px;
  line-height: 23px;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  font-family: 'Pretendard', sans-serif;
  white-space: nowrap;
}

.store-review-more:hover {
  color: #3d6fd9;
}

/* 리뷰 네비게이션 */
.store-reviews-nav {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.store-reviews-prev {
  width: 24px;
  height: 24px;
  background: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.store-reviews-prev img {
  width: 18px;
  height: 18px;
}

.store-reviews-prev:hover {
  background: #f9f9f9;
}

/* ================================
   프로모션 배너
   ================================ */
.store-promo {
  width: 327px;
  max-width: calc(100% - 48px);
  margin: 0 auto 40px;
}

.storePromoSwiper {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.store-promo img {
  width: 100%;
  height: auto;
  display: block;
}

.store-promo-pagination {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 26.32px;
  height: 16.468px;
  background: rgba(139, 139, 139, 0.4);
  border-radius: 34.343px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8.242px;
  color: #fff;
  font-family: 'Pretendard', sans-serif;
  letter-spacing: 0.6869px;
  line-height: 10.99px;
}

/* Swiper 기본 스타일 덮어쓰기 */
.store-promo-pagination.swiper-pagination-fraction {
  width: 38.32px;
  left: auto;
  right: 10px;
  bottom: 10px;
  text-align: center;
  gap: 2px;
}

.store-promo-pagination .swiper-pagination-current,
.store-promo-pagination .swiper-pagination-total {
  color: #fff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}