/*
 * tips338/style.css  v1.0.0
 * 텔레그램 봇 유료 미디어(Paid Media for Bots) 가이드
 * 테마: 일렉트릭 블루 + 사이언 다크 (봇·테크·비즈니스 자동화)
 * 그누보드5 완전 격리 | BEM | 모바일 퍼스트
 */

/* ─── 전체 리셋 ─── */
#tg-338-wrapper,
#tg-338-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-338-wrapper h1, #tg-338-wrapper h2 {
    font-size: inherit; font-weight: inherit; color: inherit; line-height: 1.35;
}
#tg-338-wrapper strong { font-weight: 700; color: inherit; }
#tg-338-wrapper p { margin-bottom: 14px !important; line-height: 1.85 !important; }
#tg-338-wrapper p:last-child { margin-bottom: 0 !important; }
#tg-338-wrapper button { cursor: pointer; }
#tg-338-wrapper a { color: inherit; }
#tg-338-wrapper ol, #tg-338-wrapper ul { list-style: none; }

/* ─── 디자인 토큰 ─── */
#tg-338-wrapper {
    --blue-300: #93c5fd;
    --blue-400: #60a5fa;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-900: #1e3a8a;
    --cyan-300: #67e8f9;
    --cyan-400: #22d3ee;
    --cyan-500: #06b6d4;
    --cyan-600: #0891b2;
    --grn-400:  #4ade80;
    --grn-500:  #22c55e;
    --grn-900:  #14532d;
    --red-400:  #f87171;
    --sl-50:    #f8fafc;
    --sl-100:   #f1f5f9;
    --sl-200:   #e2e8f0;
    --sl-400:   #94a3b8;
    --sl-500:   #64748b;
    --sl-700:   #334155;
    --sl-800:   #1e293b;
    --sl-900:   #0f172a;
    --dk-base:  #050d1a;
    --dk-card:  #0a1628;
    --dk-msg:   #0d2035;
    --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-md:   0 8px 28px rgba(0,0,0,.12);
    --shadow-blue: 0 4px 20px rgba(59,130,246,.28);
    --shadow-cyan: 0 4px 16px rgba(6,182,212,.25);
    --fs-xs:   .8rem;
    --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-338-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-338-wrapper .tg-338-motion { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
#tg-338-wrapper .tg-338-motion.is-visible { opacity: 1; transform: translateY(0); }

/* ═════════════════════════════════════════
   히어로
═════════════════════════════════════════ */
#tg-338-wrapper .tg-338-hero {
    position: relative;
    background: var(--dk-base);
    border-radius: var(--radius-lg);
    padding: 64px 28px 72px;
    text-align: center;
    overflow: hidden;
}

/* 사이버 그리드 */
#tg-338-wrapper .tg-338-hero__grid {
    position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(59,130,246,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59,130,246,.08) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent);
}

/* 글로우 */
#tg-338-wrapper .tg-338-hero__glow {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 65% 50% at 30% 40%, rgba(59,130,246,.22) 0%, transparent 60%),
        radial-gradient(ellipse 55% 42% at 80% 65%, rgba(6,182,212,.18) 0%, transparent 55%);
}

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

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

#tg-338-wrapper .tg-338-hero__title {
    font-size: clamp(1.55rem, 4.2vw, 2.2rem);
    font-weight: 900; color: #fff;
    line-height: 1.38; letter-spacing: -.02em; margin-bottom: 16px;
}
#tg-338-wrapper .tg-338-hero__title em {
    font-style: normal; color: var(--cyan-300);
    text-shadow: 0 0 28px rgba(34,211,238,.5);
}
#tg-338-wrapper .tg-338-hero__subtitle {
    color: rgba(255,255,255,.68); line-height: 1.8;
    margin-bottom: 32px !important;
    max-width: 560px; margin-left: auto; margin-right: auto;
}

/* 히어로 칩 */
#tg-338-wrapper .tg-338-hero__chips {
    display: flex; flex-wrap: wrap; gap: 10px;
    align-items: center; justify-content: center;
}
#tg-338-wrapper .tg-338-hero__chip {
    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: #fff; font-size: var(--fs-sm); font-weight: 700;
    backdrop-filter: blur(4px);
}
#tg-338-wrapper .tg-338-hero__chip .material-symbols-outlined { font-size: 1.1rem; color: var(--cyan-300); }

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

/* 도입부 */
#tg-338-wrapper .tg-338-intro {
    background: #fff; border: 1px solid var(--sl-200);
    border-top: 4px solid var(--blue-500);
    border-radius: var(--radius-md);
    padding: 36px 28px; text-align: center;
    box-shadow: var(--shadow-sm);
}
#tg-338-wrapper .tg-338-intro__icon {
    font-size: 2.4rem; color: var(--blue-500); margin-bottom: 14px;
}
#tg-338-wrapper .tg-338-intro__icon .material-symbols-outlined { font-size: 2.4rem; }
#tg-338-wrapper .tg-338-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-338-wrapper .tg-338-intro p { color: var(--text-sub); max-width: 700px; margin-left: auto; margin-right: auto; }

/* 공통 섹션 */
#tg-338-wrapper .tg-338-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-338-wrapper .tg-338-section--dark {
    background: var(--dk-base);
    border-color: rgba(59,130,246,.15);
}

/* 레이블 */
#tg-338-wrapper .tg-338-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-338-wrapper .tg-338-section__label--dark  { background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.3); }
#tg-338-wrapper .tg-338-section__label--blue  { background: rgba(59,130,246,.08); color: var(--blue-600); }
#tg-338-wrapper .tg-338-section__label .material-symbols-outlined { font-size: 1.1rem; }

/* 섹션 제목 */
#tg-338-wrapper .tg-338-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-338-wrapper .tg-338-section__title--light { color: #fff !important; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
#tg-338-wrapper .tg-338-section__title .material-symbols-outlined { font-size: 1.5rem; color: var(--blue-500); }
#tg-338-wrapper .tg-338-section > p, #tg-338-wrapper .tg-338-section__desc--light {
    max-width: 680px; margin-left: auto; margin-right: auto;
}
#tg-338-wrapper .tg-338-section > p { color: var(--text-sub); }
#tg-338-wrapper .tg-338-section__desc--light { color: rgba(255,255,255,.88) !important; margin-bottom: 32px !important; }

/* ═════════════════════════════════════════
   특징 카드 3종
═════════════════════════════════════════ */
#tg-338-wrapper .tg-338-cards {
    display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 10px;
}
#tg-338-wrapper .tg-338-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-338-wrapper .tg-338-card:hover { box-shadow: var(--shadow-blue); transform: translateY(-5px); border-color: var(--blue-400); }
#tg-338-wrapper .tg-338-card__icon {
    width: 60px; height: 60px; border-radius: 16px;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.7rem; box-shadow: var(--shadow-blue);
}
#tg-338-wrapper .tg-338-card__icon--cyan  { background: linear-gradient(135deg, var(--cyan-400), var(--cyan-600)); box-shadow: var(--shadow-cyan); }
#tg-338-wrapper .tg-338-card__icon--green { background: linear-gradient(135deg, var(--grn-400), var(--grn-500)); box-shadow: 0 4px 14px rgba(34,197,94,.28); }
#tg-338-wrapper .tg-338-card__title { font-size: var(--fs-lg); font-weight: 800; color: var(--sl-900); letter-spacing: -.01em; }
#tg-338-wrapper .tg-338-card__desc { font-size: var(--fs-base); color: var(--text-sub); line-height: 1.8; word-break: keep-all; }

/* ═════════════════════════════════════════
   봇 채팅 데모
═════════════════════════════════════════ */
#tg-338-wrapper .tg-338-demo {
    display: flex; flex-direction: column; align-items: center; gap: 24px;
}

/* 채팅창 */
#tg-338-wrapper .tg-338-chat-wrap {
    width: 100%; max-width: 360px;
    border-radius: var(--radius-md); overflow: hidden;
    box-shadow: 0 16px 42px rgba(0,0,0,.45);
    border: 1px solid rgba(59,130,246,.2);
}

/* 채팅 헤더 */
#tg-338-wrapper .tg-338-chat__header {
    background: var(--dk-card); padding: 12px 14px;
    display: flex; align-items: center; gap: 10px;
    border-bottom: 1px solid rgba(59,130,246,.12);
}
#tg-338-wrapper .tg-338-chat__avatar {
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(59,130,246,.2); border: 1px solid rgba(59,130,246,.3);
    font-size: 1.4rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
#tg-338-wrapper .tg-338-chat__botname {
    font-size: .88rem; font-weight: 800; color: #fff;
    margin-bottom: 2px !important; line-height: 1.3 !important;
}
#tg-338-wrapper .tg-338-chat__status {
    font-size: .7rem; color: var(--grn-400);
    margin-bottom: 0 !important; line-height: 1.3 !important;
}
#tg-338-wrapper .tg-338-chat__balance {
    margin-left: auto; font-size: .88rem; font-weight: 800;
    color: #fde047; white-space: nowrap;
}

/* 메시지 영역 */
#tg-338-wrapper .tg-338-chat__messages {
    background: var(--dk-msg); padding: 14px 12px;
    display: flex; flex-direction: column; gap: 10px;
    min-height: 260px;
}

/* 봇 메시지 */
#tg-338-wrapper .tg-338-msg--bot { display: flex; justify-content: flex-start; }
#tg-338-wrapper .tg-338-msg__bubble {
    background: var(--dk-card); border: 1px solid rgba(59,130,246,.15);
    border-radius: 4px 14px 14px 14px; padding: 10px 14px;
    font-size: var(--fs-sm); color: rgba(255,255,255,.82); line-height: 1.6;
    max-width: 90%;
}

/* 유료 미디어 버블 */
#tg-338-wrapper .tg-338-msg__media {
    background: var(--dk-card); border: 1px solid rgba(59,130,246,.2);
    border-radius: 4px 14px 14px 14px;
    overflow: hidden; max-width: 90%;
    transition: border-color .3s;
}
#tg-338-wrapper .tg-338-msg__media.is-locked { border-color: rgba(234,179,8,.25); }
#tg-338-wrapper .tg-338-msg__media.is-unlocked { border-color: rgba(74,222,128,.35); }

/* 블러 영역 */
#tg-338-wrapper .tg-338-msg__blur-wrap {
    padding: 18px 14px 14px;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    filter: blur(6px);
    transition: filter .4s;
}
#tg-338-wrapper .tg-338-msg__media.is-unlocked .tg-338-msg__blur-wrap { filter: none; }
#tg-338-wrapper .tg-338-msg__blur-icon { font-size: 2.2rem; }
#tg-338-wrapper .tg-338-msg__blur-text {
    font-size: .8rem; color: rgba(255,255,255,.6); text-align: center; line-height: 1.4;
}

/* 잠금 해제 버튼 */
#tg-338-wrapper .tg-338-unlock-btn {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    width: 100%; padding: 10px 14px;
    background: rgba(234,179,8,.15); border-top: 1px solid rgba(234,179,8,.22);
    color: #fde047; font-size: .85rem; font-weight: 800;
    transition: background .2s;
}
#tg-338-wrapper .tg-338-unlock-btn:hover { background: rgba(234,179,8,.28); }
#tg-338-wrapper .tg-338-unlock-btn:disabled {
    background: rgba(74,222,128,.1); color: var(--grn-400);
    cursor: default; border-color: rgba(74,222,128,.2);
}

/* 채팅 하단 */
#tg-338-wrapper .tg-338-chat__footer {
    background: var(--dk-card); padding: 10px 12px;
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    border-top: 1px solid rgba(59,130,246,.1);
    flex-wrap: wrap;
}
#tg-338-wrapper .tg-338-chat__hint {
    display: flex; align-items: center; gap: 5px;
    font-size: .72rem; color: rgba(255,255,255,.4);
}
#tg-338-wrapper .tg-338-chat__hint .material-symbols-outlined { font-size: .9rem; }
#tg-338-wrapper .tg-338-charge-btn {
    display: flex; align-items: center; gap: 5px;
    background: rgba(59,130,246,.15); border: 1px solid rgba(59,130,246,.3);
    border-radius: 8px; padding: 7px 12px;
    color: var(--blue-300); font-size: .78rem; font-weight: 700;
    transition: background .2s;
}
#tg-338-wrapper .tg-338-charge-btn:hover { background: rgba(59,130,246,.25); }
#tg-338-wrapper .tg-338-charge-btn .material-symbols-outlined { font-size: .9rem; }

/* 내 별 패널 */
#tg-338-wrapper .tg-338-stars-panel {
    width: 100%; max-width: 280px;
    display: flex; flex-direction: column; gap: 12px;
}
#tg-338-wrapper .tg-338-stars-panel__title {
    display: flex; align-items: center; gap: 8px;
    font-size: var(--fs-base); font-weight: 800; color: #fff;
    margin-bottom: 0 !important;
}
#tg-338-wrapper .tg-338-stars-panel__title .material-symbols-outlined { font-size: 1.2rem; color: var(--cyan-300); }
#tg-338-wrapper .tg-338-stars-panel__sub {
    display: flex; align-items: center; gap: 6px;
    font-size: .88rem; font-weight: 700; color: rgba(255,255,255,.55);
    margin-bottom: 0 !important;
}
#tg-338-wrapper .tg-338-stars-panel__sub .material-symbols-outlined { font-size: 1rem; color: var(--cyan-400); }

/* 잔액 카드 */
#tg-338-wrapper .tg-338-balance-card {
    background: rgba(59,130,246,.12); border: 1px solid rgba(59,130,246,.25);
    border-radius: var(--radius-sm); padding: 14px 16px;
    display: flex; align-items: center; justify-content: space-between;
}
#tg-338-wrapper .tg-338-balance-card__label { font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.55); }
#tg-338-wrapper .tg-338-balance-card__val { font-size: var(--fs-lg); font-weight: 900; color: #fde047; }

/* 구매 목록 */
#tg-338-wrapper .tg-338-purchased-list {
    display: flex; flex-direction: column; gap: 8px;
    min-height: 60px;
}
#tg-338-wrapper .tg-338-purchased-list__empty {
    font-size: .82rem; color: rgba(255,255,255,.3);
    text-align: center; padding: 12px;
    border: 1px dashed rgba(255,255,255,.1);
    border-radius: var(--radius-sm);
}
#tg-338-wrapper .tg-338-purchased-item {
    display: flex; align-items: center; gap: 10px;
    background: rgba(74,222,128,.08); border: 1px solid rgba(74,222,128,.2);
    border-radius: 8px; padding: 10px 12px;
    animation: tg338ItemIn .3s ease;
}
@keyframes tg338ItemIn { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: scale(1); } }
#tg-338-wrapper .tg-338-purchased-item__icon { font-size: 1.3rem; flex-shrink: 0; }
#tg-338-wrapper .tg-338-purchased-item__name {
    flex: 1; font-size: .8rem; font-weight: 700; color: var(--grn-400);
    line-height: 1.4;
}
#tg-338-wrapper .tg-338-purchased-item__cost {
    font-size: .72rem; color: rgba(255,255,255,.4);
}

/* 리셋 버튼 */
#tg-338-wrapper .tg-338-reset-btn {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    padding: 10px; width: 100%;
    background: transparent; border: 1px solid rgba(239,68,68,.28);
    border-radius: 8px; color: rgba(239,68,68,.7);
    font-size: var(--fs-sm); font-weight: 700; transition: background .2s;
}
#tg-338-wrapper .tg-338-reset-btn:hover { background: rgba(239,68,68,.08); }
#tg-338-wrapper .tg-338-reset-btn .material-symbols-outlined { font-size: .9rem; }

/* ═════════════════════════════════════════
   탭 가이드
═════════════════════════════════════════ */
#tg-338-wrapper .tg-338-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-338-wrapper .tg-338-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-338-wrapper .tg-338-tab-btn .material-symbols-outlined { font-size: 1.15rem; }
#tg-338-wrapper .tg-338-tab-btn--active {
    background: #fff; color: var(--blue-600);
    box-shadow: 0 2px 10px rgba(0,0,0,.09); font-weight: 800;
}
#tg-338-wrapper .tg-338-tab-panel { display: none; text-align: left; animation: tg338FadeIn .3s ease; }
#tg-338-wrapper .tg-338-tab-panel--active { display: block; }

/* 탭 패널 헤더 */
#tg-338-wrapper .tg-338-tab-panel__head {
    display: flex; align-items: center; gap: 16px;
    margin-bottom: 22px; padding-bottom: 16px;
    border-bottom: 1px solid var(--sl-100);
}
#tg-338-wrapper .tg-338-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-338-wrapper .tg-338-tab-panel__icon--pc      { background: linear-gradient(135deg, var(--blue-500), var(--blue-700)); }
#tg-338-wrapper .tg-338-tab-panel__icon--android  { background: linear-gradient(135deg, #3ddc84, #00ac47); }
#tg-338-wrapper .tg-338-tab-panel__icon--ios      { background: linear-gradient(135deg, #555, #111); }
#tg-338-wrapper .tg-338-tab-panel__name { font-size: var(--fs-lg); font-weight: 800; color: var(--sl-900); letter-spacing: -.01em; margin-bottom: 4px; }
#tg-338-wrapper .tg-338-tab-panel__sub { font-size: var(--fs-sm); color: var(--sl-500); margin-bottom: 0 !important; }

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

/* 팁 박스 */
#tg-338-wrapper .tg-338-tip-box {
    display: flex; align-items: flex-start; gap: 12px;
    background: rgba(59,130,246,.07); border: 1px solid rgba(59,130,246,.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-338-wrapper .tg-338-tip-box .material-symbols-outlined { font-size: 1.4rem; color: var(--blue-500); flex-shrink: 0; margin-top: 2px; }

/* ═════════════════════════════════════════
   비즈니스 팁 박스
═════════════════════════════════════════ */
#tg-338-wrapper .tg-338-biz-box {
    background: var(--dk-base);
    border: 1px solid rgba(34,211,238,.18);
    border-radius: var(--radius-md); padding: 36px 32px;
}
#tg-338-wrapper .tg-338-biz-box__header {
    display: flex; align-items: center; gap: 10px; margin-bottom: 20px;
}
#tg-338-wrapper .tg-338-biz-box__header .material-symbols-outlined { font-size: 1.5rem; color: var(--cyan-300); }
#tg-338-wrapper .tg-338-biz-tips { display: flex; flex-direction: column; gap: 16px; }
#tg-338-wrapper .tg-338-biz-tip {
    display: flex; align-items: flex-start; gap: 14px;
    background: rgba(59,130,246,.08); border: 1px solid rgba(59,130,246,.18);
    border-radius: var(--radius-sm); padding: 18px;
}
#tg-338-wrapper .tg-338-biz-tip__icon {
    width: 42px; height: 42px; border-radius: 12px;
    background: rgba(34,211,238,.12); color: var(--cyan-300);
    font-size: 1.3rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ═════════════════════════════════════════
   결론 요약
═════════════════════════════════════════ */
#tg-338-wrapper .tg-338-summary {
    background: var(--dk-base);
    border: 1px solid rgba(59,130,246,.12);
    border-radius: var(--radius-md); padding: 52px 32px; color: #fff; text-align: center;
}
#tg-338-wrapper .tg-338-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-338-wrapper .tg-338-summary__title .material-symbols-outlined { font-size: 1.6rem; color: var(--cyan-300); }
#tg-338-wrapper .tg-338-summary__desc {
    color: rgba(255,255,255,.68); margin-bottom: 32px !important;
    max-width: 540px; margin-left: auto; margin-right: auto;
}
#tg-338-wrapper .tg-338-summary__list {
    display: flex; flex-direction: column; gap: 12px;
    margin-bottom: 36px; text-align: left;
    max-width: 620px; margin-left: auto; margin-right: auto;
}
#tg-338-wrapper .tg-338-summary__list li {
    display: flex; align-items: flex-start; gap: 14px;
    font-size: var(--fs-base); color: rgba(255,255,255,.82); line-height: 1.7;
    background: rgba(59,130,246,.08); border: 1px solid rgba(59,130,246,.16);
    border-radius: var(--radius-sm); padding: 14px 18px;
}
#tg-338-wrapper .tg-338-summary__list li strong { color: #fff; }
#tg-338-wrapper .tg-338-summary__icon { flex-shrink: 0; margin-top: 1px; color: var(--cyan-300); font-size: 1.3rem; }

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

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

/* ═════════════════════════════════════════
   반응형
═════════════════════════════════════════ */
@media (min-width: 600px) {
    #tg-338-wrapper .tg-338-cards    { grid-template-columns: repeat(3, 1fr); }
    #tg-338-wrapper .tg-338-demo     { flex-direction: row; align-items: flex-start; justify-content: center; gap: 32px; }
    #tg-338-wrapper .tg-338-biz-tips { flex-direction: row; }
}
@media (min-width: 900px) {
    #tg-338-wrapper .tg-338-hero    { padding: 80px 56px 90px; }
    #tg-338-wrapper .tg-338-section, #tg-338-wrapper .tg-338-intro { padding: 52px 48px; }
    #tg-338-wrapper .tg-338-summary { padding: 60px 56px; }
    #tg-338-wrapper .tg-338-biz-box { padding: 44px 44px; }
}
