/*
 * tips339/style.css  v1.0.0
 * 텔레그램 슈퍼 채널(Super Channels) 가이드
 * 테마: 에메랄드 그린 + 슬레이트 다크 (커뮤니티·다중 관리자 감성)
 * 그누보드5 완전 격리 | BEM | 모바일 퍼스트
 */

/* ─── 전체 리셋 ─── */
#tg-339-wrapper,
#tg-339-wrapper * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    text-decoration: none;
    list-style: none;
    background: none;
    font-style: normal;
}
#tg-339-wrapper h1, #tg-339-wrapper h2 {
    font-size: inherit; font-weight: inherit; color: inherit; line-height: 1.35;
}
#tg-339-wrapper strong { font-weight: 700; color: inherit; }
#tg-339-wrapper p { margin-bottom: 14px !important; line-height: 1.85 !important; }
#tg-339-wrapper p:last-child { margin-bottom: 0 !important; }
#tg-339-wrapper button { cursor: pointer; }
#tg-339-wrapper a { color: inherit; }
#tg-339-wrapper ol, #tg-339-wrapper ul { list-style: none; }
#tg-339-wrapper input { font-family: inherit; }

/* ─── 디자인 토큰 ─── */
#tg-339-wrapper {
    --grn-300:  #6ee7b7;
    --grn-400:  #34d399;
    --grn-500:  #10b981;
    --grn-600:  #059669;
    --grn-700:  #047857;
    --grn-800:  #065f46;
    --grn-900:  #064e3b;
    --teal-300: #5eead4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --amber-300:#fcd34d;
    --amber-400:#fbbf24;
    --amber-500:#f59e0b;
    --dk-base:  #0a1a12;
    --dk-card:  #0f2318;
    --dk-chat:  #0d1f15;
    --sl-50:    #f8fafc;
    --sl-100:   #f1f5f9;
    --sl-200:   #e2e8f0;
    --sl-400:   #94a3b8;
    --sl-500:   #64748b;
    --sl-700:   #334155;
    --sl-800:   #1e293b;
    --sl-900:   #0f172a;
    --text-main: #1e293b;
    --text-sub:  #475569;
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --shadow-sm:   0 4px 14px rgba(0,0,0,.06);
    --shadow-grn:  0 4px 20px rgba(16,185,129,.28);
    --shadow-teal: 0 4px 16px rgba(20,184,166,.25);
    --fs-sm:   .9rem;
    --fs-base: 1rem;
    --fs-lg:   1.2rem;

    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    font-size: var(--fs-base);
    color: var(--text-main);
    line-height: 1.7;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

/* Material Symbols */
#tg-339-wrapper .material-symbols-outlined {
    font-family: 'Material Symbols Outlined', sans-serif;
    font-weight: normal; font-style: normal; font-size: inherit;
    line-height: 1; display: inline-block; white-space: nowrap;
    direction: ltr; -webkit-font-smoothing: antialiased; vertical-align: middle;
}

/* 스크롤 등장 */
#tg-339-wrapper .tg-339-motion { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
#tg-339-wrapper .tg-339-motion.is-visible { opacity: 1; transform: translateY(0); }

/* ═════════════════════════════════════════
   히어로
═════════════════════════════════════════ */
#tg-339-wrapper .tg-339-hero {
    position: relative;
    background: var(--dk-base);
    border-radius: var(--radius-lg);
    padding: 64px 28px 72px;
    text-align: center;
    overflow: hidden;
}
#tg-339-wrapper .tg-339-hero__bg {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 70% 55% at 20% 35%, rgba(16,185,129,.2) 0%, transparent 55%),
        radial-gradient(ellipse 58% 48% at 80% 70%, rgba(20,184,166,.15) 0%, transparent 50%);
}

/* 오브 애니메이션 */
#tg-339-wrapper .tg-339-hero__orbs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
#tg-339-wrapper .tg-339-orb {
    position: absolute; border-radius: 50%;
    background: radial-gradient(circle, rgba(16,185,129,.15), transparent 70%);
    animation: tg339Pulse ease-in-out infinite;
}
#tg-339-wrapper .tg-339-orb--1 { width: 280px; height: 280px; top: -60px; left: -60px;  animation-duration: 6s; }
#tg-339-wrapper .tg-339-orb--2 { width: 200px; height: 200px; bottom: -40px; right: 10%; animation-duration: 8s; animation-delay: -3s; }
#tg-339-wrapper .tg-339-orb--3 { width: 150px; height: 150px; top: 40%; left: 60%;      animation-duration: 5s; animation-delay: -1.5s; }
@keyframes tg339Pulse {
    0%, 100% { opacity: .4; transform: scale(1); }
    50%       { opacity: .8; transform: scale(1.15); }
}

#tg-339-wrapper .tg-339-hero__inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }

#tg-339-wrapper .tg-339-hero__badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(16,185,129,.15); border: 1px solid rgba(16,185,129,.35);
    color: var(--grn-300); font-size: .85rem; font-weight: 700;
    padding: 6px 18px; border-radius: 999px; margin-bottom: 22px !important;
}
#tg-339-wrapper .tg-339-hero__badge .material-symbols-outlined { font-size: 1.1rem; }

#tg-339-wrapper .tg-339-hero__title {
    font-size: clamp(1.6rem, 4.5vw, 2.4rem); font-weight: 900;
    color: #fff; line-height: 1.35; letter-spacing: -.02em; margin-bottom: 16px;
}
#tg-339-wrapper .tg-339-hero__title em {
    font-style: normal; color: var(--grn-300);
    text-shadow: 0 0 28px rgba(52,211,153,.5);
}
#tg-339-wrapper .tg-339-hero__subtitle {
    color: rgba(255,255,255,.68); line-height: 1.8;
    margin-bottom: 32px !important;
    max-width: 540px; margin-left: auto; margin-right: auto;
}

/* 히어로 필 */
#tg-339-wrapper .tg-339-hero__pills {
    display: flex; flex-wrap: wrap; gap: 10px;
    justify-content: center; align-items: center;
}
#tg-339-wrapper .tg-339-hero__pill {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
    padding: 8px 18px; border-radius: 999px;
    color: rgba(255,255,255,.88); font-size: var(--fs-sm); font-weight: 700;
}
#tg-339-wrapper .tg-339-hero__pill .material-symbols-outlined { font-size: 1.1rem; color: var(--grn-300); }

/* ═════════════════════════════════════════
   레이아웃
═════════════════════════════════════════ */
#tg-339-wrapper .tg-339-main { display: flex; flex-direction: column; gap: 28px; }

/* 도입부 */
#tg-339-wrapper .tg-339-intro {
    background: #fff; border: 1px solid var(--sl-200);
    border-top: 4px solid var(--grn-500);
    border-radius: var(--radius-md); padding: 36px 28px; text-align: center;
    box-shadow: var(--shadow-sm);
}
#tg-339-wrapper .tg-339-intro__icon { font-size: 2.4rem; color: var(--grn-500); margin-bottom: 14px; }
#tg-339-wrapper .tg-339-intro__icon .material-symbols-outlined { font-size: 2.4rem; }
#tg-339-wrapper .tg-339-intro__title {
    font-size: clamp(1.1rem, 2.8vw, 1.35rem); font-weight: 800;
    color: var(--sl-900); margin-bottom: 14px; letter-spacing: -.01em; line-height: 1.45;
}
#tg-339-wrapper .tg-339-intro p { color: var(--text-sub); max-width: 700px; margin-left: auto; margin-right: auto; }

/* 도입부 팁 */
#tg-339-wrapper .tg-339-intro__tips {
    display: flex; flex-direction: column; gap: 8px; margin-top: 16px;
    max-width: 640px; margin-left: auto; margin-right: auto; text-align: left;
}
#tg-339-wrapper .tg-339-intro__tip {
    display: flex; align-items: flex-start; gap: 9px;
    font-size: var(--fs-sm); color: var(--text-sub); line-height: 1.6;
}
#tg-339-wrapper .tg-339-intro__tip .material-symbols-outlined {
    font-size: 1.05rem; color: var(--grn-500); flex-shrink: 0; margin-top: 2px;
}

/* 공통 섹션 */
#tg-339-wrapper .tg-339-section {
    background: #fff; border: 1px solid var(--sl-200);
    border-radius: var(--radius-md); padding: 44px 32px;
    box-shadow: var(--shadow-sm); text-align: center;
}
#tg-339-wrapper .tg-339-section--dark {
    background: var(--dk-base); border-color: rgba(16,185,129,.15);
}

/* 레이블 */
#tg-339-wrapper .tg-339-section__label {
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--sl-100); color: var(--sl-700);
    font-size: .88rem; font-weight: 700; letter-spacing: .03em;
    padding: 7px 20px; border-radius: 999px; margin-bottom: 22px;
}
#tg-339-wrapper .tg-339-section__label--dark  { background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.32); }
#tg-339-wrapper .tg-339-section__label--green { background: rgba(16,185,129,.08); color: var(--grn-600); }
#tg-339-wrapper .tg-339-section__label .material-symbols-outlined { font-size: 1.1rem; }

/* 섹션 제목 */
#tg-339-wrapper .tg-339-section__title {
    font-size: clamp(1.2rem, 3vw, 1.5rem); font-weight: 900;
    color: var(--sl-900); letter-spacing: -.02em; line-height: 1.38; margin-bottom: 16px;
    display: flex; align-items: center; justify-content: center; gap: 10px;
}
#tg-339-wrapper .tg-339-section__title--light { color: #fff !important; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
#tg-339-wrapper .tg-339-section__title .material-symbols-outlined { font-size: 1.5rem; color: var(--grn-500); }
#tg-339-wrapper .tg-339-section > p, #tg-339-wrapper .tg-339-section__desc--light {
    max-width: 680px; margin-left: auto; margin-right: auto;
}
#tg-339-wrapper .tg-339-section > p { color: var(--text-sub); }
#tg-339-wrapper .tg-339-section__desc--light { color: rgba(255,255,255,.88) !important; margin-bottom: 32px !important; }

/* ═════════════════════════════════════════
   특징 카드
═════════════════════════════════════════ */
#tg-339-wrapper .tg-339-cards {
    display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 10px;
}
#tg-339-wrapper .tg-339-card {
    background: var(--sl-50); border: 1px solid var(--sl-200);
    border-radius: var(--radius-md); padding: 30px 24px;
    display: flex; flex-direction: column; gap: 14px;
    transition: box-shadow .28s, transform .28s, border-color .28s;
}
#tg-339-wrapper .tg-339-card:hover { box-shadow: var(--shadow-grn); transform: translateY(-5px); border-color: var(--grn-400); }
#tg-339-wrapper .tg-339-card__icon {
    width: 60px; height: 60px; border-radius: 16px;
    background: linear-gradient(135deg, var(--grn-500), var(--grn-700));
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.7rem; box-shadow: var(--shadow-grn);
}
#tg-339-wrapper .tg-339-card__icon--teal  { background: linear-gradient(135deg, var(--teal-400), var(--teal-500)); box-shadow: var(--shadow-teal); }
#tg-339-wrapper .tg-339-card__icon--amber { background: linear-gradient(135deg, var(--amber-400), var(--amber-500)); box-shadow: 0 4px 14px rgba(245,158,11,.28); color: #1e293b; }
#tg-339-wrapper .tg-339-card__title { font-size: var(--fs-lg); font-weight: 800; color: var(--sl-900); letter-spacing: -.01em; }
#tg-339-wrapper .tg-339-card__desc { font-size: var(--fs-base); color: var(--text-sub); line-height: 1.8; word-break: keep-all; }

/* ═════════════════════════════════════════
   채팅 데모
═════════════════════════════════════════ */
#tg-339-wrapper .tg-339-demo {
    display: flex; flex-direction: column; align-items: center; gap: 20px;
    position: relative;
}

/* 채널 채팅창 */
#tg-339-wrapper .tg-339-channel-wrap {
    width: 100%; max-width: 380px;
    border-radius: var(--radius-md); overflow: hidden;
    box-shadow: 0 20px 48px rgba(0,0,0,.5);
    border: 1px solid rgba(16,185,129,.2);
}
#tg-339-wrapper .tg-339-channel__header {
    background: var(--dk-card); padding: 12px 14px;
    display: flex; align-items: center; gap: 10px;
    border-bottom: 1px solid rgba(16,185,129,.1);
}
#tg-339-wrapper .tg-339-channel__avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(16,185,129,.2); border: 1px solid rgba(16,185,129,.3);
    font-size: 1.5rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
#tg-339-wrapper .tg-339-channel__name {
    font-size: var(--fs-sm); font-weight: 800; color: #fff;
    margin-bottom: 2px !important; line-height: 1.3 !important;
}
#tg-339-wrapper .tg-339-channel__subs {
    font-size: .7rem; color: rgba(255,255,255,.4);
    margin-bottom: 0 !important; line-height: 1.3 !important;
}

/* 메시지 영역 */
#tg-339-wrapper .tg-339-channel__messages {
    background: var(--dk-chat); padding: 12px 10px;
    min-height: 200px; max-height: 280px; overflow-y: auto;
    display: flex; flex-direction: column; gap: 10px;
}
#tg-339-wrapper .tg-339-ch-msg { display: flex; flex-direction: column; }
#tg-339-wrapper .tg-339-ch-msg__sender {
    display: flex; align-items: center; gap: 6px;
    margin-bottom: 4px;
}
#tg-339-wrapper .tg-339-ch-msg__avatar {
    font-size: 1.2rem;
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(16,185,129,.15); border: 1px solid rgba(16,185,129,.2);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
#tg-339-wrapper .tg-339-ch-msg__name {
    font-size: .78rem; font-weight: 800; color: var(--grn-300);
}
#tg-339-wrapper .tg-339-ch-msg__bubble {
    background: var(--dk-card); border: 1px solid rgba(16,185,129,.1);
    border-radius: 4px 14px 14px 14px; padding: 10px 14px;
    font-size: var(--fs-sm); color: rgba(255,255,255,.85); line-height: 1.6;
    max-width: 90%;
}
#tg-339-wrapper .tg-339-ch-msg__time {
    font-size: .65rem; color: rgba(255,255,255,.3); margin-top: 4px; margin-left: 34px;
}

/* 입력창 */
#tg-339-wrapper .tg-339-channel__input-area {
    background: var(--dk-card); padding: 10px 10px;
    display: flex; align-items: center; gap: 8px;
    border-top: 1px solid rgba(16,185,129,.08);
}
#tg-339-wrapper .tg-339-sender-btn {
    width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
    background: rgba(16,185,129,.15); border: 2px solid rgba(16,185,129,.3);
    font-size: 1.2rem; display: flex; align-items: center; justify-content: center;
    transition: background .2s, border-color .2s;
    position: relative;
}
#tg-339-wrapper .tg-339-sender-btn:hover { background: rgba(16,185,129,.28); border-color: rgba(16,185,129,.5); }
#tg-339-wrapper .tg-339-sender-btn__avatar { line-height: 1; }

#tg-339-wrapper .tg-339-msg-input {
    flex: 1; padding: 9px 14px; border-radius: 999px;
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
    color: #fff; font-size: var(--fs-sm);
    transition: border-color .2s;
}
#tg-339-wrapper .tg-339-msg-input:focus { border-color: rgba(16,185,129,.4); }
#tg-339-wrapper .tg-339-msg-input::placeholder { color: rgba(255,255,255,.28); }

#tg-339-wrapper .tg-339-send-btn {
    width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
    background: linear-gradient(135deg, var(--grn-500), var(--grn-700));
    color: #fff; font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-grn); transition: box-shadow .2s, transform .15s;
}
#tg-339-wrapper .tg-339-send-btn:hover { box-shadow: 0 6px 18px rgba(16,185,129,.45); transform: scale(1.08); }

/* 발신자 팝업 */
#tg-339-wrapper .tg-339-sender-popup {
    width: 100%; max-width: 380px;
    background: #1a2e22; border: 1px solid rgba(16,185,129,.2);
    border-radius: var(--radius-md); padding: 12px;
    box-shadow: 0 16px 40px rgba(0,0,0,.5);
    animation: tg339FadeIn .25s ease;
}
#tg-339-wrapper .tg-339-sender-popup__title {
    font-size: .78rem; font-weight: 800; color: rgba(255,255,255,.45);
    letter-spacing: .04em; padding: 4px 8px 10px;
    margin-bottom: 0 !important;
}
#tg-339-wrapper .tg-339-sender-list { display: flex; flex-direction: column; gap: 2px; }
#tg-339-wrapper .tg-339-sender-item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 10px; border-radius: var(--radius-sm);
    cursor: pointer; transition: background .18s;
}
#tg-339-wrapper .tg-339-sender-item:hover { background: rgba(16,185,129,.12); }
#tg-339-wrapper .tg-339-sender-item--active { background: rgba(16,185,129,.15); }

#tg-339-wrapper .tg-339-sender-item__avatar {
    width: 40px; height: 40px; border-radius: 50%;
    font-size: 1.4rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
#tg-339-wrapper .tg-339-sender-item__avatar--channel { background: rgba(16,185,129,.25); }
#tg-339-wrapper .tg-339-sender-item__avatar--admin1  { background: rgba(59,130,246,.25); }
#tg-339-wrapper .tg-339-sender-item__avatar--admin2  { background: rgba(168,85,247,.25); }
#tg-339-wrapper .tg-339-sender-item__avatar--sub     { background: rgba(245,158,11,.2); }

#tg-339-wrapper .tg-339-sender-item__info { flex: 1; text-align: left; }
#tg-339-wrapper .tg-339-sender-item__name {
    font-size: var(--fs-sm); font-weight: 700; color: #fff;
    margin-bottom: 2px !important; line-height: 1.3 !important;
}
#tg-339-wrapper .tg-339-sender-item__type {
    font-size: .72rem; color: rgba(255,255,255,.38);
    margin-bottom: 0 !important; line-height: 1.3 !important;
}
#tg-339-wrapper .tg-339-sender-item__check {
    color: var(--grn-400); font-size: 1.1rem; flex-shrink: 0;
}

/* ═════════════════════════════════════════
   키 옵션 안내 박스
═════════════════════════════════════════ */
#tg-339-wrapper .tg-339-key-opts {
    display: flex; flex-wrap: wrap; gap: 12px;
    margin-bottom: 24px; justify-content: center;
}
#tg-339-wrapper .tg-339-key-opt {
    display: flex; align-items: center; gap: 12px;
    background: rgba(16,185,129,.07); border: 1px solid rgba(16,185,129,.2);
    border-radius: var(--radius-sm); padding: 14px 20px;
    flex: 1; min-width: 200px;
}
#tg-339-wrapper .tg-339-key-opt .material-symbols-outlined { font-size: 1.4rem; color: var(--grn-500); flex-shrink: 0; }
#tg-339-wrapper .tg-339-key-opt__title { font-size: var(--fs-sm); font-weight: 800; color: var(--sl-900); margin-bottom: 2px; }
#tg-339-wrapper .tg-339-key-opt__desc { font-size: .8rem; color: var(--sl-500); margin-bottom: 0 !important; }

/* ═════════════════════════════════════════
   탭 가이드
═════════════════════════════════════════ */
#tg-339-wrapper .tg-339-tabs {
    display: flex; gap: 6px;
    background: var(--sl-100); border-radius: var(--radius-sm);
    padding: 5px; margin-bottom: 26px; flex-wrap: wrap; text-align: left;
}
#tg-339-wrapper .tg-339-tab-btn {
    flex: 1; min-width: 80px;
    display: flex; align-items: center; justify-content: center; gap: 6px;
    padding: 11px 12px; border-radius: 7px;
    font-size: var(--fs-sm); font-weight: 600;
    color: var(--sl-500); transition: background .2s, color .2s, box-shadow .2s;
}
#tg-339-wrapper .tg-339-tab-btn .material-symbols-outlined { font-size: 1.15rem; }
#tg-339-wrapper .tg-339-tab-btn--active {
    background: #fff; color: var(--grn-600);
    box-shadow: 0 2px 10px rgba(0,0,0,.09); font-weight: 800;
}
#tg-339-wrapper .tg-339-tab-panel { display: none; text-align: left; animation: tg339FadeIn .3s ease; }
#tg-339-wrapper .tg-339-tab-panel--active { display: block; }
#tg-339-wrapper .tg-339-tab-panel__head {
    display: flex; align-items: center; gap: 16px;
    margin-bottom: 22px; padding-bottom: 16px;
    border-bottom: 1px solid var(--sl-100);
}
#tg-339-wrapper .tg-339-tab-panel__icon {
    width: 54px; height: 54px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem; color: #fff; flex-shrink: 0;
}
#tg-339-wrapper .tg-339-tab-panel__icon--pc      { background: linear-gradient(135deg, var(--grn-500), var(--grn-700)); }
#tg-339-wrapper .tg-339-tab-panel__icon--android  { background: linear-gradient(135deg, #3ddc84, #00ac47); }
#tg-339-wrapper .tg-339-tab-panel__icon--ios      { background: linear-gradient(135deg, #555, #111); }
#tg-339-wrapper .tg-339-tab-panel__name { font-size: var(--fs-lg); font-weight: 800; color: var(--sl-900); letter-spacing: -.01em; margin-bottom: 4px; }
#tg-339-wrapper .tg-339-tab-panel__sub { font-size: var(--fs-sm); color: var(--sl-500); margin-bottom: 0 !important; }

/* 단계 목록 */
#tg-339-wrapper .tg-339-steps { display: flex; flex-direction: column; gap: 14px; counter-reset: tg339step; }
#tg-339-wrapper .tg-339-steps li {
    counter-increment: tg339step;
    display: flex; align-items: flex-start; gap: 14px;
    font-size: var(--fs-base); color: var(--text-sub); line-height: 1.75;
}
#tg-339-wrapper .tg-339-steps li::before {
    content: counter(tg339step);
    display: flex; align-items: center; justify-content: center;
    min-width: 30px; height: 30px;
    background: linear-gradient(135deg, var(--grn-500), var(--grn-700));
    color: #fff; font-size: .82rem; font-weight: 900; border-radius: 50%;
    flex-shrink: 0; margin-top: 2px;
}
#tg-339-wrapper .tg-339-steps li strong { color: var(--sl-800); }

/* 팁 박스 */
#tg-339-wrapper .tg-339-tip-box {
    display: flex; align-items: flex-start; gap: 12px;
    background: rgba(16,185,129,.07); border: 1px solid rgba(16,185,129,.2);
    border-radius: var(--radius-sm); padding: 18px 20px;
    margin-top: 22px; font-size: var(--fs-base); color: var(--text-sub); line-height: 1.75;
}
#tg-339-wrapper .tg-339-tip-box .material-symbols-outlined { font-size: 1.4rem; color: var(--grn-500); flex-shrink: 0; margin-top: 2px; }

/* ═════════════════════════════════════════
   발신 방법 3단계
═════════════════════════════════════════ */
#tg-339-wrapper .tg-339-send-steps {
    display: flex; flex-direction: column; gap: 16px; text-align: left; margin-top: 10px;
}
#tg-339-wrapper .tg-339-send-step {
    display: flex; align-items: flex-start; gap: 16px;
    background: var(--sl-50); border: 1px solid var(--sl-200);
    border-radius: var(--radius-sm); padding: 18px;
    transition: box-shadow .25s, border-color .25s;
}
#tg-339-wrapper .tg-339-send-step:hover { box-shadow: var(--shadow-sm); border-color: var(--grn-400); }
#tg-339-wrapper .tg-339-send-step__num {
    width: 36px; height: 36px; border-radius: 50%;
    background: linear-gradient(135deg, var(--grn-500), var(--grn-700));
    color: #fff; font-size: var(--fs-base); font-weight: 900;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    box-shadow: var(--shadow-grn);
}
#tg-339-wrapper .tg-339-send-step__title { font-size: var(--fs-base); font-weight: 800; color: var(--sl-900); margin-bottom: 6px; }
#tg-339-wrapper .tg-339-send-step__desc { font-size: var(--fs-base); color: var(--text-sub); line-height: 1.75; margin-bottom: 0 !important; }

/* ═════════════════════════════════════════
   직장인 팁
═════════════════════════════════════════ */
#tg-339-wrapper .tg-339-pro-box {
    background: var(--dk-base);
    border: 1px solid rgba(16,185,129,.18);
    border-radius: var(--radius-md); padding: 36px 32px;
}
#tg-339-wrapper .tg-339-pro-box__header {
    display: flex; align-items: center; gap: 10px; margin-bottom: 20px;
}
#tg-339-wrapper .tg-339-pro-tips { display: flex; flex-direction: column; gap: 16px; }
#tg-339-wrapper .tg-339-pro-tip {
    display: flex; align-items: flex-start; gap: 14px;
    background: rgba(16,185,129,.07); border: 1px solid rgba(16,185,129,.15);
    border-radius: var(--radius-sm); padding: 18px;
}
#tg-339-wrapper .tg-339-pro-tip__icon {
    width: 42px; height: 42px; border-radius: 12px;
    font-size: 1.3rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ═════════════════════════════════════════
   결론 요약
═════════════════════════════════════════ */
#tg-339-wrapper .tg-339-summary {
    background: linear-gradient(145deg, var(--dk-base), var(--grn-900) 60%, var(--dk-base));
    border: 1px solid rgba(16,185,129,.15);
    border-radius: var(--radius-md); padding: 52px 32px; color: #fff; text-align: center;
}
#tg-339-wrapper .tg-339-summary__title {
    font-size: clamp(1.2rem, 3vw, 1.5rem); font-weight: 900;
    letter-spacing: -.02em; margin-bottom: 16px;
    display: flex; align-items: center; justify-content: center; gap: 10px; color: #fff;
}
#tg-339-wrapper .tg-339-summary__title .material-symbols-outlined { font-size: 1.6rem; color: var(--grn-300); }
#tg-339-wrapper .tg-339-summary__desc {
    color: rgba(255,255,255,.68); margin-bottom: 36px !important;
    max-width: 520px; margin-left: auto; margin-right: auto;
}

/* 요약 단계 플로우 */
#tg-339-wrapper .tg-339-summary__steps {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px;
    margin-bottom: 40px;
}
#tg-339-wrapper .tg-339-summary__step {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    background: rgba(16,185,129,.12); border: 1px solid rgba(16,185,129,.25);
    border-radius: var(--radius-sm); padding: 16px 20px;
    font-size: var(--fs-sm); color: rgba(255,255,255,.85); font-weight: 700; text-align: center;
}
#tg-339-wrapper .tg-339-summary__step .material-symbols-outlined { font-size: 1.6rem; color: var(--grn-300); }
#tg-339-wrapper .tg-339-summary__arrow {
    font-size: 1.8rem; color: rgba(16,185,129,.5); font-weight: 900; line-height: 1;
}

/* 푸터 */
#tg-339-wrapper .tg-339-footer { border-top: 1px solid rgba(255,255,255,.08); padding-top: 28px; }
#tg-339-wrapper .tg-339-footer__desc { color: rgba(255,255,255,.5); margin-bottom: 20px !important; }
#tg-339-wrapper .tg-339-footer__btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, var(--grn-500), var(--grn-700));
    color: #fff; font-size: var(--fs-base); font-weight: 800;
    padding: 15px 32px; border-radius: 999px;
    box-shadow: var(--shadow-grn);
    transition: box-shadow .28s, transform .22s;
}
#tg-339-wrapper .tg-339-footer__btn:hover { box-shadow: 0 8px 28px rgba(16,185,129,.5); transform: translateY(-3px); }
#tg-339-wrapper .tg-339-footer__btn .material-symbols-outlined { font-size: 1.1rem; }

/* 애니메이션 */
@keyframes tg339FadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ═════════════════════════════════════════
   반응형
═════════════════════════════════════════ */
@media (min-width: 580px) {
    #tg-339-wrapper .tg-339-cards     { grid-template-columns: repeat(3, 1fr); }
    #tg-339-wrapper .tg-339-send-steps { gap: 12px; }
}
@media (min-width: 768px) {
    #tg-339-wrapper .tg-339-demo      { flex-direction: row; align-items: flex-start; justify-content: center; flex-wrap: wrap; }
    #tg-339-wrapper .tg-339-pro-tips  { flex-direction: row; }
    #tg-339-wrapper .tg-339-send-steps { flex-direction: row; gap: 16px; }
    #tg-339-wrapper .tg-339-send-step  { flex: 1; }
}
@media (min-width: 900px) {
    #tg-339-wrapper .tg-339-hero    { padding: 80px 56px 90px; }
    #tg-339-wrapper .tg-339-section, #tg-339-wrapper .tg-339-intro { padding: 52px 48px; }
    #tg-339-wrapper .tg-339-summary { padding: 60px 56px; }
}
