/* ============================================================
   Telegram Chat09 - 마지막 접속 숨기기 가이드
   스타일시트 v1.0.0 | Slate + Teal 프라이버시 테마
   ============================================================ */

/* ── 그누보드5 완전 리셋 ── */
#tg-chat09-wrapper,
#tg-chat09-wrapper *,
#tg-chat09-wrapper *::before,
#tg-chat09-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-chat09-wrapper h1,
#tg-chat09-wrapper h2,
#tg-chat09-wrapper h3,
#tg-chat09-wrapper h4 {
    font-size: inherit; font-weight: inherit; line-height: 1.35;
}
#tg-chat09-wrapper p {
    margin-bottom: 14px !important; line-height: 1.85 !important;
}
#tg-chat09-wrapper p:last-child { margin-bottom: 0 !important; }
#tg-chat09-wrapper a { text-decoration: none !important; }

/* ── Material Symbols 복구 ── */
#tg-chat09-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;
    -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-chat09-wrapper {
    --c09-primary:    #0F766E;   /* 테일 코어 */
    --c09-primary-dk: #134E4A;   /* 테일 딥 */
    --c09-primary-lt: #F0FDFA;   /* 테일 라이트 */
    --c09-slate:      #334155;   /* 슬레이트 */
    --c09-red:        #DC2626;   /* 경고 레드 */
    --c09-red-lt:     #FEF2F2;
    --c09-blue:       #2563EB;
    --c09-blue-lt:    #EFF6FF;
    --c09-amber:      #B45309;
    --c09-amber-lt:   #FFFBEB;
    --c09-border:     rgba(0,0,0,0.08);
    --c09-text:       #1E293B;
    --c09-text-sub:   #475569;
    --c09-muted:      #94A3B8;
    --c09-bg:         #FFFFFF;
    --c09-shadow:     0 2px 16px rgba(15,118,110,0.08);
    --c09-shadow-lg:  0 8px 32px rgba(15,118,110,0.16);
    --c09-transition: all 0.25s 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: var(--c09-bg);
    color: var(--c09-text);
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: var(--fs-base); line-height: 1.6;
}

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

/* ── 강조 색 ── */
#tg-chat09-wrapper .tg-chat09-text--accent {
    color: #99F6E4 !important;
}

/* ══════════════════════════════════════
   히어로
══════════════════════════════════════ */
#tg-chat09-wrapper .tg-chat09-hero {
    position: relative !important;
    background: linear-gradient(150deg, #042f2e 0%, #0f766e 50%, #14b8a6 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-chat09-wrapper .tg-chat09-hero::before {
    content: '' !important; position: absolute !important;
    top: -40% !important; right: -10% !important;
    width: 50% !important; height: 200% !important;
    background: radial-gradient(ellipse, rgba(255,255,255,0.06) 0%, transparent 70%) !important;
    pointer-events: none !important;
}
#tg-chat09-wrapper .tg-chat09-hero__inner {
    position: relative !important; z-index: 1 !important;
}
#tg-chat09-wrapper .tg-chat09-hero__eyebrow {
    display: inline-block !important;
    padding: 5px 18px !important;
    border: 1px solid rgba(255,255,255,0.35) !important;
    border-radius: 30px !important;
    font-size: var(--fs-xs) !important;
    color: rgba(255,255,255,0.8) !important;
    letter-spacing: 0.12em !important;
    margin-bottom: 20px !important;
}
#tg-chat09-wrapper .tg-chat09-hero__icon-ring {
    position: relative !important;
    width: 80px !important; height: 80px !important;
    margin: 0 auto 24px auto !important;
}
#tg-chat09-wrapper .tg-chat09-hero__icon {
    font-size: 4rem !important;
    color: #99F6E4 !important;
}
#tg-chat09-wrapper .tg-chat09-hero__icon-lock {
    position: absolute !important;
    bottom: -4px !important; right: -4px !important;
    font-size: 1.4rem !important;
    color: #FFFFFF !important;
    background: var(--c09-primary) !important;
    border-radius: 50% !important;
    padding: 4px !important;
}
#tg-chat09-wrapper .tg-chat09-hero__title {
    font-size: clamp(1.6rem, 4.5vw, 2.4rem) !important;
    font-weight: 800 !important; color: #FFFFFF !important;
    line-height: 1.25 !important; margin-bottom: 16px !important;
}
#tg-chat09-wrapper .tg-chat09-hero__sub {
    font-size: var(--fs-md) !important;
    color: rgba(255,255,255,0.75) !important;
}

/* ══════════════════════════════════════
   메인 레이아웃
══════════════════════════════════════ */
#tg-chat09-wrapper .tg-chat09-main > section {
    margin-bottom: 48px !important;
}

/* ── 도입부 ── */
#tg-chat09-wrapper .tg-chat09-intro {
    background: var(--c09-primary-lt) !important;
    border-left: 4px solid var(--c09-primary) !important;
    border-radius: 12px !important;
    padding: 28px 24px !important;
    font-size: var(--fs-md) !important;
    color: var(--c09-text-sub) !important;
}
#tg-chat09-wrapper .tg-chat09-intro strong { color: var(--c09-primary-dk) !important; }

/* ── 섹션 헤더 ── */
#tg-chat09-wrapper .tg-chat09-section__label {
    display: flex !important; align-items: center !important;
    justify-content: center !important; gap: 6px !important;
    padding: 5px 16px !important;
    background: var(--c09-primary-lt) !important;
    border: 1px solid rgba(15,118,110,0.2) !important;
    border-radius: 20px !important;
    font-size: var(--fs-xs) !important;
    color: var(--c09-primary) !important; font-weight: 600 !important;
    margin: 0 auto 14px auto !important; width: fit-content !important;
}
#tg-chat09-wrapper .tg-chat09-section__label .material-symbols-outlined {
    font-size: 1rem !important;
}
#tg-chat09-wrapper .tg-chat09-section__title {
    font-size: clamp(1.2rem, 3vw, 1.6rem) !important;
    font-weight: 700 !important; color: var(--c09-text) !important;
    margin-bottom: 24px !important; text-align: center !important;
}

/* ══════════════════════════════════════
   시뮬레이터 — 공개 범위 선택
══════════════════════════════════════ */
#tg-chat09-wrapper .tg-chat09-simulator {
    background: var(--c09-bg) !important;
}
#tg-chat09-wrapper .tg-chat09-privacy-selector {
    display: flex !important;
    gap: 10px !important;
    margin-bottom: 28px !important;
    flex-wrap: wrap !important;
}
#tg-chat09-wrapper .tg-chat09-privacy-btn {
    flex: 1 1 120px !important;
    display: flex !important; flex-direction: column !important;
    align-items: center !important; gap: 6px !important;
    padding: 16px 12px !important;
    border: 2px solid var(--c09-border) !important;
    border-radius: 14px !important;
    cursor: pointer !important;
    transition: var(--c09-transition) !important;
    position: relative !important;
    background: #F8FAFC !important;
    color: var(--c09-muted) !important;
}
#tg-chat09-wrapper .tg-chat09-privacy-btn .material-symbols-outlined {
    font-size: 1.8rem !important;
}
#tg-chat09-wrapper .tg-chat09-privacy-btn__label {
    font-size: var(--fs-sm) !important; font-weight: 600 !important;
}
#tg-chat09-wrapper .tg-chat09-privacy-btn__check {
    position: absolute !important;
    top: 8px !important; right: 8px !important;
    font-size: 1rem !important;
    opacity: 0 !important;
    color: var(--c09-primary) !important;
    transition: opacity 0.2s !important;
}
#tg-chat09-wrapper .tg-chat09-privacy-btn:hover {
    border-color: rgba(15,118,110,0.3) !important;
    background: var(--c09-primary-lt) !important;
    color: var(--c09-primary) !important;
}
#tg-chat09-wrapper .tg-chat09-privacy-btn--active {
    border-color: var(--c09-primary) !important;
    background: var(--c09-primary-lt) !important;
    color: var(--c09-primary) !important;
    box-shadow: 0 0 0 3px rgba(15,118,110,0.1) !important;
}
#tg-chat09-wrapper .tg-chat09-privacy-btn--active .tg-chat09-privacy-btn__check {
    opacity: 1 !important;
}

/* ── 미리보기 프로필 카드 ── */
#tg-chat09-wrapper .tg-chat09-preview {
    display: flex !important;
    gap: 24px !important;
    align-items: flex-start !important;
    flex-wrap: wrap !important;
}
#tg-chat09-wrapper .tg-chat09-preview__phone {
    width: 260px !important;
    flex-shrink: 0 !important;
    background: #1E293B !important;
    border-radius: 24px !important;
    padding: 12px !important;
    margin: 0 auto !important;
}
#tg-chat09-wrapper .tg-chat09-preview__bar {
    display: flex !important; align-items: center !important;
    gap: 10px !important; padding: 6px 4px 12px 4px !important;
}
#tg-chat09-wrapper .tg-chat09-preview__back,
#tg-chat09-wrapper .tg-chat09-preview__more {
    font-size: 1.2rem !important; color: #FFFFFF !important;
}
#tg-chat09-wrapper .tg-chat09-preview__bar-title {
    flex: 1 !important; font-size: var(--fs-sm) !important;
    font-weight: 700 !important; color: #FFFFFF !important;
}
#tg-chat09-wrapper .tg-chat09-preview__profile {
    background: #FFFFFF !important;
    border-radius: 14px 14px 0 0 !important;
    padding: 16px 14px 12px 14px !important;
    display: flex !important; align-items: center !important; gap: 12px !important;
}
#tg-chat09-wrapper .tg-chat09-preview__avatar .material-symbols-outlined {
    font-size: 2.8rem !important; color: var(--c09-primary) !important;
}
#tg-chat09-wrapper .tg-chat09-preview__name {
    font-size: var(--fs-base) !important; font-weight: 700 !important;
    color: var(--c09-text) !important; margin-bottom: 3px !important;
}
#tg-chat09-wrapper .tg-chat09-preview__status {
    font-size: var(--fs-xs) !important;
    color: var(--c09-primary) !important;
    font-weight: 500 !important;
    transition: color 0.3s !important;
    min-height: 16px !important;
}
#tg-chat09-wrapper .tg-chat09-preview__status--hidden {
    color: var(--c09-muted) !important;
}
#tg-chat09-wrapper .tg-chat09-preview__bubble {
    background: #FFFFFF !important;
    border-radius: 0 0 14px 14px !important;
    padding: 10px 14px 14px 14px !important;
    border-top: 1px solid #F1F5F9 !important;
    display: flex !important; align-items: flex-end !important;
    gap: 8px !important;
}
#tg-chat09-wrapper .tg-chat09-preview__msg {
    flex: 1 !important; font-size: var(--fs-xs) !important;
    color: var(--c09-text-sub) !important; line-height: 1.6 !important;
    background: #F0FDFA !important;
    border-radius: 10px 10px 2px 10px !important;
    padding: 8px 10px !important;
}
#tg-chat09-wrapper .tg-chat09-preview__time {
    font-size: 0.68rem !important; color: var(--c09-muted) !important;
    flex-shrink: 0 !important;
}
#tg-chat09-wrapper .tg-chat09-preview__desc {
    flex: 1 !important; min-width: 200px !important;
    padding: 20px !important;
    background: var(--c09-primary-lt) !important;
    border: 1px solid rgba(15,118,110,0.15) !important;
    border-radius: 16px !important;
    font-size: var(--fs-md) !important;
    color: var(--c09-text-sub) !important;
    line-height: 1.8 !important;
    align-self: stretch !important;
    transition: background 0.3s, border-color 0.3s !important;
}
#tg-chat09-wrapper .tg-chat09-preview__desc--warn {
    background: #FEF2F2 !important;
    border-color: rgba(220,38,38,0.2) !important;
}
#tg-chat09-wrapper .tg-chat09-preview__desc strong {
    color: var(--c09-primary-dk) !important; display: block !important;
    margin-bottom: 8px !important; font-size: var(--fs-lg) !important;
}
#tg-chat09-wrapper .tg-chat09-preview__desc--warn strong {
    color: var(--c09-red) !important;
}

/* ══════════════════════════════════════
   OS 탭 (설정 방법)
══════════════════════════════════════ */
#tg-chat09-wrapper .tg-chat09-os-nav {
    display: flex !important; gap: 8px !important;
    margin-bottom: 20px !important; flex-wrap: wrap !important;
}
#tg-chat09-wrapper .tg-chat09-os-btn {
    display: flex !important; align-items: center !important; gap: 5px !important;
    padding: 9px 16px !important;
    border-radius: 10px !important;
    font-size: var(--fs-sm) !important; font-weight: 600 !important;
    color: var(--c09-muted) !important;
    background: #F1F5F9 !important;
    cursor: pointer !important;
    transition: var(--c09-transition) !important;
    border: 1px solid transparent !important;
}
#tg-chat09-wrapper .tg-chat09-os-btn .material-symbols-outlined {
    font-size: 1.1rem !important;
}
#tg-chat09-wrapper .tg-chat09-os-btn:hover {
    color: var(--c09-text) !important; background: #E2E8F0 !important;
}
#tg-chat09-wrapper .tg-chat09-os-btn--active {
    background: var(--c09-primary-lt) !important;
    color: var(--c09-primary) !important;
    border-color: rgba(15,118,110,0.25) !important;
}
#tg-chat09-wrapper .tg-chat09-os-panel {
    background: var(--c09-bg) !important;
    border: 1px solid var(--c09-border) !important;
    border-radius: 16px !important;
    padding: 24px 20px !important;
    animation: c09FadeIn 0.25s ease forwards !important;
}
#tg-chat09-wrapper .tg-chat09-os-panel--hidden { display: none !important; }
@keyframes c09FadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── 단계 목록 ── */
#tg-chat09-wrapper .tg-chat09-steps {
    display: flex !important; flex-direction: column !important; gap: 4px !important;
}
#tg-chat09-wrapper .tg-chat09-step {
    display: flex !important; align-items: flex-start !important; gap: 12px !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid var(--c09-border) !important;
    font-size: var(--fs-base) !important; color: var(--c09-text) !important;
    line-height: 1.75 !important;
}
#tg-chat09-wrapper .tg-chat09-step:last-child { border-bottom: none !important; }
#tg-chat09-wrapper .tg-chat09-step__num {
    display: flex !important; align-items: center !important;
    justify-content: center !important;
    width: 26px !important; height: 26px !important;
    background: var(--c09-primary) !important;
    color: #FFFFFF !important;
    border-radius: 50% !important;
    font-size: 0.78rem !important; font-weight: 700 !important;
    flex-shrink: 0 !important; margin-top: 1px !important;
}
#tg-chat09-wrapper .tg-chat09-step strong { color: var(--c09-primary-dk) !important; }

/* ── 서브 옵션 목록 ── */
#tg-chat09-wrapper .tg-chat09-suboptions {
    margin-top: 10px !important;
    display: flex !important; flex-direction: column !important; gap: 6px !important;
    background: var(--c09-primary-lt) !important;
    border-radius: 10px !important; padding: 12px 14px !important;
}
#tg-chat09-wrapper .tg-chat09-suboptions li {
    display: flex !important; align-items: center !important; gap: 8px !important;
    font-size: var(--fs-sm) !important; color: var(--c09-text-sub) !important;
    padding: 4px 0 !important;
}
#tg-chat09-wrapper .tg-chat09-suboptions li .material-symbols-outlined {
    font-size: 1.1rem !important; color: var(--c09-primary) !important;
}

/* ══════════════════════════════════════
   주의사항 카드
══════════════════════════════════════ */
#tg-chat09-wrapper .tg-chat09-caution-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)) !important;
    gap: 16px !important;
}
#tg-chat09-wrapper .tg-chat09-caution-card {
    border-radius: 16px !important;
    padding: 24px 20px !important;
    border: 1px solid transparent !important;
    transition: var(--c09-transition) !important;
}
#tg-chat09-wrapper .tg-chat09-caution-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: var(--c09-shadow-lg) !important;
}
#tg-chat09-wrapper .tg-chat09-caution-card--red {
    background: var(--c09-red-lt) !important;
    border-color: rgba(220,38,38,0.15) !important;
}
#tg-chat09-wrapper .tg-chat09-caution-card--blue {
    background: var(--c09-blue-lt) !important;
    border-color: rgba(37,99,235,0.15) !important;
}
#tg-chat09-wrapper .tg-chat09-caution-card--amber {
    background: var(--c09-amber-lt) !important;
    border-color: rgba(180,83,9,0.15) !important;
}
#tg-chat09-wrapper .tg-chat09-caution-card__icon {
    margin-bottom: 12px !important;
}
#tg-chat09-wrapper .tg-chat09-caution-card--red .tg-chat09-caution-card__icon .material-symbols-outlined {
    font-size: 1.8rem !important; color: var(--c09-red) !important;
}
#tg-chat09-wrapper .tg-chat09-caution-card--blue .tg-chat09-caution-card__icon .material-symbols-outlined {
    font-size: 1.8rem !important; color: var(--c09-blue) !important;
}
#tg-chat09-wrapper .tg-chat09-caution-card--amber .tg-chat09-caution-card__icon .material-symbols-outlined {
    font-size: 1.8rem !important; color: var(--c09-amber) !important;
}
#tg-chat09-wrapper .tg-chat09-caution-card h3 {
    font-size: var(--fs-base) !important; font-weight: 700 !important;
    color: var(--c09-text) !important; margin-bottom: 8px !important;
    line-height: 1.45 !important;
}
#tg-chat09-wrapper .tg-chat09-caution-card p {
    font-size: var(--fs-sm) !important; color: var(--c09-text-sub) !important;
}
#tg-chat09-wrapper .tg-chat09-caution-card strong { color: var(--c09-text) !important; }

/* ══════════════════════════════════════
   온라인 상태 박스
══════════════════════════════════════ */
#tg-chat09-wrapper .tg-chat09-online-box {
    background: #F8FAFC !important;
    border: 1px solid var(--c09-border) !important;
    border-radius: 16px !important;
    padding: 24px 20px !important;
    display: flex !important; flex-direction: column !important; gap: 0 !important;
}
#tg-chat09-wrapper .tg-chat09-online-box__step {
    display: flex !important; align-items: flex-start !important; gap: 12px !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid var(--c09-border) !important;
    font-size: var(--fs-base) !important; color: var(--c09-text) !important;
    line-height: 1.75 !important;
}
#tg-chat09-wrapper .tg-chat09-online-box__step:last-of-type { border-bottom: none !important; }
#tg-chat09-wrapper .tg-chat09-online-box__step strong { color: var(--c09-primary-dk) !important; }
#tg-chat09-wrapper .tg-chat09-online-box__note {
    display: flex !important; align-items: flex-start !important; gap: 8px !important;
    margin-top: 16px !important;
    background: var(--c09-primary-lt) !important;
    border-radius: 10px !important;
    padding: 12px 14px !important;
    font-size: var(--fs-sm) !important; color: var(--c09-text-sub) !important;
    line-height: 1.7 !important;
}
#tg-chat09-wrapper .tg-chat09-online-box__note .material-symbols-outlined {
    font-size: 1.1rem !important; color: var(--c09-primary) !important;
    flex-shrink: 0 !important; margin-top: 1px !important;
}

/* ══════════════════════════════════════
   결론 요약 (다크)
══════════════════════════════════════ */
#tg-chat09-wrapper .tg-chat09-summary {
    background: linear-gradient(150deg, #042f2e 0%, #0f766e 55%, #14b8a6 100%) !important;
    border-radius: 24px !important;
    padding: 56px 48px !important;
    text-align: center !important;
}
#tg-chat09-wrapper .tg-chat09-summary__title {
    font-size: var(--fs-xl) !important; font-weight: 800 !important;
    color: #FFFFFF !important; margin-bottom: 28px !important;
    display: flex !important; align-items: center !important;
    justify-content: center !important; gap: 8px !important;
}
#tg-chat09-wrapper .tg-chat09-summary__title .material-symbols-outlined {
    font-size: 1.8rem !important; color: #99F6E4 !important;
}
#tg-chat09-wrapper .tg-chat09-summary__checklist {
    text-align: left !important;
    max-width: 640px !important;
    margin: 0 auto 28px auto !important;
    background: rgba(255,255,255,0.08) !important;
    border-radius: 16px !important;
    padding: 20px 24px !important;
}
#tg-chat09-wrapper .tg-chat09-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-chat09-wrapper .tg-chat09-summary__checklist li:last-child { border-bottom: none !important; }
#tg-chat09-wrapper .tg-chat09-summary__checklist .material-symbols-outlined {
    font-size: 1.2rem !important; color: #99F6E4 !important;
    flex-shrink: 0 !important; margin-top: 2px !important;
}
#tg-chat09-wrapper .tg-chat09-summary__checklist strong { color: #FFFFFF !important; }
#tg-chat09-wrapper .tg-chat09-summary__footer {
    font-size: var(--fs-sm) !important;
    color: rgba(255,255,255,0.55) !important; line-height: 1.9 !important;
}
#tg-chat09-wrapper .tg-chat09-summary__footer a {
    color: #99F6E4 !important; text-decoration: underline !important;
}

/* ── 반응형 ── */
@media (max-width: 768px) {
    #tg-chat09-wrapper .tg-chat09-hero {
        padding: 50px 20px 40px !important;
        border-radius: 0 0 28px 28px !important;
    }
    #tg-chat09-wrapper .tg-chat09-summary {
        padding: 44px 20px !important;
    }
    #tg-chat09-wrapper .tg-chat09-preview {
        flex-direction: column !important;
        align-items: center !important;
    }
    #tg-chat09-wrapper .tg-chat09-preview__desc {
        width: 100% !important;
    }
    #tg-chat09-wrapper .tg-chat09-privacy-btn {
        flex: 1 1 80px !important;
    }
}
