/* ============================================================
   Telegram Chat07 - 친구 찾기 가이드 스타일시트
   대상: #tg-chat07-wrapper
   버전: v1.0.1
   ============================================================ */

/* ── 그누보드5 완전 리셋 ── */
#tg-chat07-wrapper,
#tg-chat07-wrapper *,
#tg-chat07-wrapper *::before,
#tg-chat07-wrapper *::after {
    box-sizing: border-box;
    margin: 0; padding: 0; border: none;
    outline: none; text-decoration: none;
    list-style: none; background: none;
    font-style: normal;
}
#tg-chat07-wrapper h1,
#tg-chat07-wrapper h2,
#tg-chat07-wrapper h3,
#tg-chat07-wrapper h4 {
    font-size: inherit; font-weight: inherit;
    line-height: 1.35; letter-spacing: -0.02em;
}
#tg-chat07-wrapper p {
    margin-bottom: 14px !important;
    line-height: 1.85 !important;
}
#tg-chat07-wrapper p:last-child { margin-bottom: 0 !important; }
#tg-chat07-wrapper code {
    font-family: 'Pretendard', monospace !important;
}

/* ── Material Symbols 강제 복구 ── */
#tg-chat07-wrapper .material-symbols-outlined {
    font-family: 'Material Symbols Outlined' !important;
    font-weight: normal !important;
    font-style: normal !important;
    font-size: 1.5rem !important;
    line-height: 1 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    display: inline-block !important;
    white-space: nowrap !important;
    direction: ltr !important;
    -webkit-font-feature-settings: 'liga' !important;
    font-feature-settings: 'liga' !important;
    -webkit-font-smoothing: antialiased !important;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24 !important;
}

/* ── 디자인 토큰 ── */
#tg-chat07-wrapper {
    /* 틸(Teal) 계열 — 친근·연결 테마 */
    --c07-primary:      #0891B2;   /* 틸 코어 */
    --c07-primary-dk:   #075985;   /* 틸 딥 */
    --c07-primary-lt:   #E0F7FA;   /* 틸 라이트 배경 */
    --c07-accent:       #06B6D4;   /* 사이언 강조 */
    --c07-green:        #059669;   /* 성공/팁 그린 */
    --c07-green-lt:     #ECFDF5;   /* 그린 라이트 */
    --c07-amber:        #B45309;   /* 주의 앰버 */
    --c07-amber-lt:     #FFFBEB;   /* 앰버 라이트 */
    --c07-bg:           #FFFFFF;
    --c07-surface:      #FFFFFF;
    --c07-surface-2:    #F0FAFB;   /* 틸 터치 배경 */
    --c07-border:       rgba(0,0,0,0.08);
    --c07-text:         #1E293B;
    --c07-text-sub:     #475569;
    --c07-muted:        #94A3B8;
    --c07-shadow:       0 2px 16px rgba(8,145,178,0.08);
    --c07-shadow-lg:    0 8px 32px rgba(8,145,178,0.14);
    --c07-transition:   all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);

    /* 폰트 크기 토큰 */
    --fs-xs:   .8rem;
    --fs-sm:   .9rem;
    --fs-base: 1rem;
    --fs-md:   1.05rem;
    --fs-lg:   1.2rem;
    --fs-xl:   1.45rem;

    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    overflow: hidden !important;
    background-color: var(--c07-bg);
    color: var(--c07-text);
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: var(--fs-base);
    line-height: 1.6;
}

/* ── 스크롤 애니메이션 ── */
#tg-chat07-wrapper .tg-chat07-motion {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
#tg-chat07-wrapper .tg-chat07-motion.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── 강조 텍스트 ── */
#tg-chat07-wrapper .tg-chat07-text--accent {
    color: #67E8F9 !important;
}

/* ══════════════════════════════════════
   히어로 섹션
══════════════════════════════════════ */
#tg-chat07-wrapper .tg-chat07-hero {
    position: relative !important;
    background: linear-gradient(150deg, #023E5C 0%, var(--c07-primary-dk) 50%, var(--c07-primary) 100%) !important;
    padding: 70px 40px 60px !important;
    text-align: center !important;
    border-radius: 0 0 48px 48px !important;
    margin-bottom: 50px !important;
    overflow: hidden !important;
}
#tg-chat07-wrapper .tg-chat07-hero::before {
    content: '' !important;
    position: absolute !important;
    top: -40% !important; left: -15% !important;
    width: 55% !important; height: 200% !important;
    background: radial-gradient(ellipse, rgba(255,255,255,0.07) 0%, transparent 70%) !important;
    pointer-events: none !important;
}
#tg-chat07-wrapper .tg-chat07-hero::after {
    content: '' !important;
    position: absolute !important;
    bottom: -30% !important; right: -10% !important;
    width: 45% !important; height: 160% !important;
    background: radial-gradient(ellipse, rgba(103,232,249,0.12) 0%, transparent 70%) !important;
    pointer-events: none !important;
}
#tg-chat07-wrapper .tg-chat07-hero__badge-group {
    position: relative !important;
    z-index: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 28px !important;
}
#tg-chat07-wrapper .tg-chat07-hero__eyebrow {
    display: inline-block !important;
    padding: 5px 18px !important;
    border: 1px solid rgba(255,255,255,0.4) !important;
    border-radius: 30px !important;
    font-size: var(--fs-xs) !important;
    color: rgba(255,255,255,0.85) !important;
    letter-spacing: 0.12em !important;
}
#tg-chat07-wrapper .tg-chat07-hero__icon-flow {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 4px !important;
}
#tg-chat07-wrapper .tg-chat07-hero__icon-main {
    font-size: 3.5rem !important;
    color: #67E8F9 !important;
}
#tg-chat07-wrapper .tg-chat07-hero__icon-arrow {
    font-size: 1.4rem !important;
    color: rgba(255,255,255,0.3) !important;
}
#tg-chat07-wrapper .tg-chat07-hero__icon-sub {
    font-size: 2rem !important;
    color: rgba(255,255,255,0.7) !important;
}
#tg-chat07-wrapper .tg-chat07-hero__title {
    position: relative !important;
    z-index: 1 !important;
    font-size: clamp(1.6rem, 4.5vw, 2.4rem) !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    line-height: 1.25 !important;
}

/* ══════════════════════════════════════
   도입부
══════════════════════════════════════ */
#tg-chat07-wrapper .tg-chat07-intro {
    background: var(--c07-primary-lt) !important;
    border-left: 4px solid var(--c07-primary) !important;
    border-radius: 12px !important;
    padding: 36px 28px !important;
    margin-bottom: 40px !important;
    font-size: var(--fs-md) !important;
    color: var(--c07-text-sub) !important;
    line-height: 1.9 !important;
}
#tg-chat07-wrapper .tg-chat07-intro strong {
    color: var(--c07-primary-dk) !important;
}

/* ══════════════════════════════════════
   섹션 공통
══════════════════════════════════════ */
#tg-chat07-wrapper .tg-chat07-section {
    padding: 48px 0 !important;
    margin-bottom: 12px !important;
    text-align: left !important;
}
#tg-chat07-wrapper .tg-chat07-section--alt {
    background: var(--c07-surface-2) !important;
    border-radius: 24px !important;
    padding: 48px 44px !important;
    margin-bottom: 32px !important;
}
#tg-chat07-wrapper .tg-chat07-section__label {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 5px 16px !important;
    background: var(--c07-primary-lt) !important;
    border: 1px solid rgba(8,145,178,0.2) !important;
    border-radius: 20px !important;
    font-size: var(--fs-xs) !important;
    color: var(--c07-primary) !important;
    font-weight: 600 !important;
    margin: 0 auto 14px auto !important;
    width: fit-content !important;
}
#tg-chat07-wrapper .tg-chat07-section__label .material-symbols-outlined {
    font-size: 1rem !important;
}
#tg-chat07-wrapper .tg-chat07-section__title {
    font-size: clamp(1.3rem, 3vw, 1.7rem) !important;
    font-weight: 700 !important;
    color: var(--c07-text) !important;
    margin-bottom: 16px !important;
    text-align: center !important;
}
#tg-chat07-wrapper .tg-chat07-section__desc {
    font-size: var(--fs-md) !important;
    color: var(--c07-text-sub) !important;
    text-align: center !important;
    max-width: 680px !important;
    margin: 0 auto 32px auto !important;
    line-height: 1.85 !important;
}

/* ══════════════════════════════════════
   OS별 탭 카드
══════════════════════════════════════ */
#tg-chat07-wrapper .tg-chat07-os-tabs {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)) !important;
    gap: 20px !important;
}
#tg-chat07-wrapper .tg-chat07-os-card {
    background: var(--c07-surface) !important;
    border: 1px solid var(--c07-border) !important;
    border-radius: 18px !important;
    padding: 28px 24px !important;
    box-shadow: var(--c07-shadow) !important;
    transition: var(--c07-transition) !important;
}
#tg-chat07-wrapper .tg-chat07-os-card:hover {
    box-shadow: var(--c07-shadow-lg) !important;
    border-color: rgba(8,145,178,0.25) !important;
    transform: translateY(-4px) !important;
}
#tg-chat07-wrapper .tg-chat07-os-card__header {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 16px !important;
    padding-bottom: 14px !important;
    border-bottom: 2px solid var(--c07-primary-lt) !important;
}
#tg-chat07-wrapper .tg-chat07-os-card__header .material-symbols-outlined {
    font-size: 1.8rem !important;
    color: var(--c07-primary) !important;
}
#tg-chat07-wrapper .tg-chat07-os-card__header h3 {
    font-size: var(--fs-lg) !important;
    font-weight: 700 !important;
    color: var(--c07-text) !important;
}
#tg-chat07-wrapper .tg-chat07-os-card__note {
    display: flex !important;
    gap: 8px !important;
    align-items: flex-start !important;
    background: var(--c07-amber-lt) !important;
    border-radius: 8px !important;
    padding: 10px 12px !important;
    margin-bottom: 16px !important;
}
#tg-chat07-wrapper .tg-chat07-os-card__note .material-symbols-outlined {
    font-size: 1.1rem !important;
    color: var(--c07-amber) !important;
    flex-shrink: 0 !important;
}
#tg-chat07-wrapper .tg-chat07-os-card__note p {
    font-size: var(--fs-sm) !important;
    color: #78350F !important;
    margin-bottom: 0 !important;
    line-height: 1.7 !important;
}

/* ── 단계 목록 ── */
#tg-chat07-wrapper .tg-chat07-step-list {
    counter-reset: step !important;
    padding: 0 !important;
    margin-bottom: 16px !important;
}
#tg-chat07-wrapper .tg-chat07-step-list li {
    counter-increment: step !important;
    position: relative !important;
    padding: 10px 8px 10px 44px !important;
    font-size: var(--fs-base) !important;
    color: var(--c07-text) !important;
    border-bottom: 1px solid var(--c07-border) !important;
    line-height: 1.75 !important;
}
#tg-chat07-wrapper .tg-chat07-step-list li::before {
    content: counter(step) !important;
    position: absolute !important;
    left: 8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 24px !important; height: 24px !important;
    background: var(--c07-primary) !important;
    color: #fff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
}
#tg-chat07-wrapper .tg-chat07-step-list li:last-child { border-bottom: none !important; }
#tg-chat07-wrapper .tg-chat07-step-list strong { color: var(--c07-primary) !important; }

/* ── 팁 박스 ── */
#tg-chat07-wrapper .tg-chat07-tip-box {
    display: flex !important;
    gap: 8px !important;
    align-items: flex-start !important;
    background: var(--c07-green-lt) !important;
    border: 1px solid rgba(5,150,105,0.2) !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
}
#tg-chat07-wrapper .tg-chat07-tip-box .material-symbols-outlined {
    font-size: 1.2rem !important;
    color: var(--c07-green) !important;
    flex-shrink: 0 !important;
}
#tg-chat07-wrapper .tg-chat07-tip-box p {
    font-size: var(--fs-sm) !important;
    color: #064E3B !important;
    margin-bottom: 0 !important;
    line-height: 1.75 !important;
}
#tg-chat07-wrapper .tg-chat07-tip-box strong { color: #065F46 !important; }

/* ══════════════════════════════════════
   검색 UI 데모 목업
══════════════════════════════════════ */
#tg-chat07-wrapper .tg-chat07-search-demo {
    background: var(--c07-surface) !important;
    border: 1px solid var(--c07-border) !important;
    border-radius: 16px !important;
    padding: 20px 24px !important;
    max-width: 400px !important;
    margin: 0 auto 28px auto !important;
    box-shadow: var(--c07-shadow) !important;
}
#tg-chat07-wrapper .tg-chat07-search-demo__bar {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #F1F5F9 !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    margin-bottom: 14px !important;
}
#tg-chat07-wrapper .tg-chat07-search-demo__bar .material-symbols-outlined {
    color: var(--c07-muted) !important;
    font-size: 1.2rem !important;
}
#tg-chat07-wrapper .tg-chat07-search-demo__text {
    font-size: var(--fs-sm) !important;
    color: var(--c07-muted) !important;
}
#tg-chat07-wrapper .tg-chat07-search-demo__result {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}
#tg-chat07-wrapper .tg-chat07-search-demo__avatar {
    font-size: 2.8rem !important;
    color: var(--c07-primary) !important;
}
#tg-chat07-wrapper .tg-chat07-search-demo__name {
    font-size: var(--fs-base) !important;
    font-weight: 700 !important;
    color: var(--c07-text) !important;
}
#tg-chat07-wrapper .tg-chat07-search-demo__id {
    font-size: var(--fs-xs) !important;
    color: var(--c07-muted) !important;
}
#tg-chat07-wrapper .tg-chat07-search-demo__badge {
    margin-left: auto !important;
    background: var(--c07-primary-lt) !important;
    color: var(--c07-primary) !important;
    font-size: var(--fs-xs) !important;
    font-weight: 600 !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
    white-space: nowrap !important;
}

/* ══════════════════════════════════════
   QR 코드 플로우
══════════════════════════════════════ */
#tg-chat07-wrapper .tg-chat07-qr-grid {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    margin-top: 8px !important;
}
#tg-chat07-wrapper .tg-chat07-qr-card {
    background: var(--c07-surface) !important;
    border: 1px solid var(--c07-border) !important;
    border-radius: 18px !important;
    padding: 28px 20px !important;
    text-align: center !important;
    flex: 1 1 200px !important;
    max-width: 240px !important;
    box-shadow: var(--c07-shadow) !important;
    transition: var(--c07-transition) !important;
}
#tg-chat07-wrapper .tg-chat07-qr-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: var(--c07-shadow-lg) !important;
}
#tg-chat07-wrapper .tg-chat07-qr-card__step {
    display: inline-block !important;
    background: var(--c07-primary) !important;
    color: #fff !important;
    font-size: var(--fs-xs) !important;
    font-weight: 700 !important;
    padding: 3px 12px !important;
    border-radius: 20px !important;
    margin-bottom: 14px !important;
}
#tg-chat07-wrapper .tg-chat07-qr-card__icon {
    font-size: 2.8rem !important;
    color: var(--c07-primary) !important;
    display: block !important;
    margin-bottom: 12px !important;
}
#tg-chat07-wrapper .tg-chat07-qr-card h3 {
    font-size: var(--fs-md) !important;
    font-weight: 700 !important;
    color: var(--c07-text) !important;
    margin-bottom: 10px !important;
}
#tg-chat07-wrapper .tg-chat07-qr-card p {
    font-size: var(--fs-sm) !important;
    color: var(--c07-text-sub) !important;
    line-height: 1.72 !important;
    margin-bottom: 0 !important;
}
#tg-chat07-wrapper .tg-chat07-qr-card strong { color: var(--c07-primary) !important; }
#tg-chat07-wrapper .tg-chat07-qr-arrow {
    font-size: 2rem !important;
    color: var(--c07-muted) !important;
    flex-shrink: 0 !important;
}

/* ══════════════════════════════════════
   개인정보 리스트
══════════════════════════════════════ */
#tg-chat07-wrapper .tg-chat07-privacy-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}
#tg-chat07-wrapper .tg-chat07-privacy-item {
    display: flex !important;
    gap: 16px !important;
    align-items: flex-start !important;
    background: var(--c07-surface) !important;
    border: 1px solid var(--c07-border) !important;
    border-radius: 14px !important;
    padding: 22px 20px !important;
    transition: var(--c07-transition) !important;
}
#tg-chat07-wrapper .tg-chat07-privacy-item:hover {
    border-color: rgba(8,145,178,0.2) !important;
    box-shadow: var(--c07-shadow) !important;
}
#tg-chat07-wrapper .tg-chat07-privacy-item__icon-wrap {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    background: var(--c07-primary-lt) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}
#tg-chat07-wrapper .tg-chat07-privacy-item__icon-wrap .material-symbols-outlined {
    font-size: 1.4rem !important;
    color: var(--c07-primary) !important;
}
#tg-chat07-wrapper .tg-chat07-privacy-item__icon-wrap--tip {
    background: var(--c07-green-lt) !important;
}
#tg-chat07-wrapper .tg-chat07-privacy-item__icon-wrap--tip .material-symbols-outlined {
    color: var(--c07-green) !important;
}
#tg-chat07-wrapper .tg-chat07-privacy-item h3 {
    font-size: var(--fs-md) !important;
    font-weight: 700 !important;
    color: var(--c07-text) !important;
    margin-bottom: 6px !important;
}
#tg-chat07-wrapper .tg-chat07-privacy-item p {
    font-size: var(--fs-base) !important;
    color: var(--c07-text-sub) !important;
    line-height: 1.78 !important;
    margin-bottom: 0 !important;
}
#tg-chat07-wrapper .tg-chat07-privacy-item p strong { color: var(--c07-primary-dk) !important; }
#tg-chat07-wrapper .tg-chat07-privacy-item p code {
    background: var(--c07-primary-lt) !important;
    color: var(--c07-primary) !important;
    padding: 1px 6px !important;
    border-radius: 4px !important;
    font-size: var(--fs-sm) !important;
}

/* ══════════════════════════════════════
   결론 요약 (다크 그라데이션)
══════════════════════════════════════ */
#tg-chat07-wrapper .tg-chat07-summary {
    background: linear-gradient(150deg, #023E5C 0%, var(--c07-primary-dk) 60%, var(--c07-primary) 100%) !important;
    border-radius: 24px !important;
    padding: 60px 56px !important;
    margin-top: 20px !important;
    text-align: center !important;
}
#tg-chat07-wrapper .tg-chat07-summary__title {
    font-size: var(--fs-xl) !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    margin-bottom: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}
#tg-chat07-wrapper .tg-chat07-summary__title .material-symbols-outlined {
    font-size: 1.8rem !important;
    color: #67E8F9 !important;
}
#tg-chat07-wrapper .tg-chat07-summary__flow {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    margin-bottom: 36px !important;
    flex-wrap: wrap !important;
}
#tg-chat07-wrapper .tg-chat07-summary__step {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
}
#tg-chat07-wrapper .tg-chat07-summary__step .material-symbols-outlined {
    font-size: 2.5rem !important;
    color: #67E8F9 !important;
}
#tg-chat07-wrapper .tg-chat07-summary__step p {
    font-size: var(--fs-sm) !important;
    color: rgba(255,255,255,0.8) !important;
    text-align: center !important;
    margin-bottom: 0 !important;
    line-height: 1.5 !important;
}
#tg-chat07-wrapper .tg-chat07-summary__arrow {
    font-size: 1.8rem !important;
    color: rgba(255,255,255,0.3) !important;
}
#tg-chat07-wrapper .tg-chat07-summary__checklist {
    text-align: left !important;
    max-width: 640px !important;
    margin: 0 auto 32px auto !important;
    background: rgba(255,255,255,0.08) !important;
    border-radius: 16px !important;
    padding: 20px 24px !important;
}
#tg-chat07-wrapper .tg-chat07-summary__checklist li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    font-size: var(--fs-base) !important;
    color: rgba(255,255,255,0.82) !important;
    line-height: 1.75 !important;
}
#tg-chat07-wrapper .tg-chat07-summary__checklist li:last-child { border-bottom: none !important; }
#tg-chat07-wrapper .tg-chat07-summary__checklist .material-symbols-outlined {
    font-size: 1.2rem !important;
    color: #67E8F9 !important;
    flex-shrink: 0 !important;
    margin-top: 2px !important;
}
#tg-chat07-wrapper .tg-chat07-summary__checklist strong { color: #FFFFFF !important; }
#tg-chat07-wrapper .tg-chat07-summary__footer {
    font-size: var(--fs-sm) !important;
    color: rgba(255,255,255,0.55) !important;
    line-height: 1.9 !important;
}
#tg-chat07-wrapper .tg-chat07-summary__footer a {
    color: #67E8F9 !important;
    text-decoration: underline !important;
}

/* ── 반응형 ── */
@media (max-width: 768px) {
    #tg-chat07-wrapper .tg-chat07-hero {
        padding: 50px 20px 40px !important;
        border-radius: 0 0 28px 28px !important;
    }
    #tg-chat07-wrapper .tg-chat07-section--alt {
        padding: 36px 20px !important;
    }
    #tg-chat07-wrapper .tg-chat07-summary {
        padding: 48px 24px !important;
    }
    #tg-chat07-wrapper .tg-chat07-qr-arrow {
        transform: rotate(90deg) !important;
    }
    #tg-chat07-wrapper .tg-chat07-summary__arrow {
        transform: rotate(90deg) !important;
    }
    #tg-chat07-wrapper .tg-chat07-privacy-item {
        flex-direction: column !important;
    }
}
