@charset "utf-8";

/* ============================================
   텔레그램 꿀팁 가이드 - 미디어 에디터 & 그리기 도구 편
   접두사: tg-t241- (기존 사이트 오염 방지)
   컬러 톤: 라임 그린(Lime) + 에메랄드(Emerald)
   v1.0.0 - 초기 생성
============================================ */

#tg-t241-wrapper {
    --t241-primary:       #059669;
    --t241-primary-dark:  #047857;
    --t241-primary-deep:  #022c22;
    --t241-primary-light: #ecfdf5;
    --t241-secondary:     #84cc16;
    --t241-accent:        #f59e0b;

    --t241-slate-900:  #0f172a;
    --t241-slate-700:  #334155;
    --t241-slate-500:  #64748b;
    --t241-slate-300:  #cbd5e1;
    --t241-slate-200:  #e2e8f0;
    --t241-slate-100:  #f1f5f9;
    --t241-bg:         #f0fdf4;
    --t241-white:      #ffffff;

    --t241-radius: 16px;
    --t241-shadow: 0 4px 20px rgba(5, 150, 105, 0.08);
}

/* ── 리셋 ── */
#tg-t241-wrapper,
#tg-t241-wrapper * {
    box-sizing: border-box;
    list-style: none;
    font-style: normal;
}

#tg-t241-wrapper a,
#tg-t241-wrapper a:link,
#tg-t241-wrapper a:visited,
#tg-t241-wrapper a:hover,
#tg-t241-wrapper a:active {
    text-decoration: none !important;
    color: inherit !important;
    font-weight: inherit !important;
    background: none !important;
}

#tg-t241-wrapper h1,#tg-t241-wrapper h2,#tg-t241-wrapper h3,
#tg-t241-wrapper h4,#tg-t241-wrapper h5,#tg-t241-wrapper h6 {
    font-size: inherit; font-weight: inherit;
    color: inherit; line-height: inherit; margin: 0; padding: 0;
}

#tg-t241-wrapper p {
    margin-bottom: 16px !important;
    line-height: 1.75 !important;
    padding: 0;
}

#tg-t241-wrapper p:last-child { margin-bottom: 0 !important; }

#tg-t241-wrapper strong { font-weight: 700; color: var(--t241-slate-900); }

#tg-t241-wrapper mark {
    background: linear-gradient(120deg, #d1fae5 0%, #a7f3d0 100%) !important;
    color: var(--t241-primary-dark) !important;
    font-weight: 700; padding: 2px 6px; border-radius: 4px;
}

#tg-t241-wrapper ul, #tg-t241-wrapper ol { list-style: none; margin: 0; padding: 0; }

/* ── 래퍼 ── */
#tg-t241-wrapper.tg-t241-wrapper {
    max-width: 1100px; width: 100%; margin: 0 auto;
    font-family: 'Pretendard', -apple-system, sans-serif;
    font-size: 15px; color: var(--t241-slate-700);
    background-color: var(--t241-bg) !important;
    line-height: 1.7; overflow: hidden; padding-bottom: 80px; text-align: left;
}

/* ── 히어로 ── */
#tg-t241-wrapper .tg-t241-hero {
    background: linear-gradient(135deg, #022c22 0%, #065f46 40%, #059669 100%) !important;
    color: #ffffff !important;
    padding: 64px 24px 72px; text-align: center;
    position: relative; overflow: hidden;
}

#tg-t241-wrapper .tg-t241-hero,
#tg-t241-wrapper .tg-t241-hero * { color: #ffffff !important; }

#tg-t241-wrapper .tg-t241-hero::before {
    content: "";
    position: absolute; width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(132, 204, 22, 0.2) 0%, transparent 70%) !important;
    top: -200px; right: -100px; pointer-events: none;
}

#tg-t241-wrapper .tg-t241-hero::after {
    content: "";
    position: absolute; width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 70%) !important;
    bottom: -100px; left: -50px; pointer-events: none;
}

#tg-t241-wrapper .tg-t241-hero__badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.1) !important;
    border: 1px solid rgba(255,255,255,0.25) !important;
    font-size: 13px; font-weight: 600; padding: 8px 20px;
    border-radius: 100px; margin-bottom: 24px; backdrop-filter: blur(8px);
}

#tg-t241-wrapper .tg-t241-hero__title {
    font-size: 28px !important; font-weight: 900 !important;
    line-height: 1.3 !important; margin-bottom: 18px;
}

#tg-t241-wrapper .tg-t241-hero__title span { color: #6ee7b7 !important; }

#tg-t241-wrapper .tg-t241-hero__desc {
    font-size: 15px; color: rgba(255,255,255,0.75) !important;
    max-width: 600px; margin: 0 auto;
}

/* 페인트 브러시 툴바 데모 */
#tg-t241-wrapper .tg-t241-hero__toolbar {
    display: flex; justify-content: center; gap: 10px;
    margin-top: 28px; flex-wrap: wrap;
}

#tg-t241-wrapper .tg-t241-hero__tool {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    background: rgba(255,255,255,0.1) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    padding: 12px 16px; border-radius: 14px; font-size: 12px; font-weight: 600;
    backdrop-filter: blur(6px); transition: all 0.2s ease;
}

#tg-t241-wrapper .tg-t241-hero__tool i { font-size: 22px; }

#tg-t241-wrapper .tg-t241-hero__tool--active {
    background: rgba(110, 231, 183, 0.25) !important;
    border-color: #6ee7b7 !important;
}

/* ── 메인 레이아웃 ── */
#tg-t241-wrapper .tg-t241-main {
    padding: 40px 20px 0; display: flex; flex-direction: column; gap: 32px;
}

/* ── 섹션 공통 ── */
#tg-t241-wrapper .tg-t241-section {
    background: var(--t241-white) !important;
    padding: 32px 24px; border-radius: var(--t241-radius);
    box-shadow: var(--t241-shadow);
    border: 1px solid #a7f3d0 !important;
    color: var(--t241-slate-700);
}

#tg-t241-wrapper .tg-t241-section__title {
    font-size: 20px !important; font-weight: 800 !important;
    color: var(--t241-slate-900) !important; margin-bottom: 24px !important;
    display: flex; align-items: center; gap: 12px;
}

#tg-t241-wrapper .tg-t241-section__title > i { color: var(--t241-primary) !important; }

/* 도입부 */
#tg-t241-wrapper .tg-t241-intro {
    background: var(--t241-primary-light) !important;
    border-left: 5px solid var(--t241-primary) !important;
    padding: 28px; border-radius: 12px;
}

#tg-t241-wrapper .tg-t241-intro p { font-size: 15.5px; color: var(--t241-primary-dark) !important; }

/* ── 피처 카드 ── */
#tg-t241-wrapper .tg-t241-feature-list {
    display: flex; flex-direction: column; gap: 14px;
}

#tg-t241-wrapper .tg-t241-feature-item {
    display: flex; gap: 16px; align-items: flex-start;
    padding: 18px; border-radius: 14px;
    background: var(--t241-slate-100) !important;
    border: 1px solid var(--t241-slate-200) !important;
    transition: all 0.2s ease;
}

#tg-t241-wrapper .tg-t241-feature-item:hover {
    background: var(--t241-white) !important;
    border-color: var(--t241-primary) !important;
    box-shadow: 0 6px 20px rgba(5,150,105,0.1);
}

#tg-t241-wrapper .tg-t241-feature-item__icon {
    width: 44px; height: 44px; min-width: 44px;
    background: linear-gradient(135deg, var(--t241-primary), #84cc16) !important;
    color: #fff !important; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; flex-shrink: 0;
}

#tg-t241-wrapper .tg-t241-feature-item__title {
    font-size: 15px; font-weight: 700;
    color: var(--t241-slate-900) !important; margin-bottom: 4px; display: block;
}

#tg-t241-wrapper .tg-t241-feature-item p {
    font-size: 14px; color: var(--t241-slate-500) !important;
}

/* ── 탭 인터페이스 ── */
#tg-t241-wrapper .tg-t241-tabs {
    display: flex; background: var(--t241-slate-100) !important;
    padding: 6px; border-radius: 12px; margin-bottom: 24px;
}

#tg-t241-wrapper .tg-t241-tab {
    flex: 1; text-align: center; padding: 12px 0;
    font-size: 14px; font-weight: 700; border-radius: 8px;
    cursor: pointer; transition: all 0.2s ease;
    color: var(--t241-slate-500) !important; background: none !important;
}

#tg-t241-wrapper .tg-t241-tab--active {
    background: var(--t241-white) !important;
    color: var(--t241-primary) !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

#tg-t241-wrapper .tg-t241-tab-content {
    display: none;
    animation: tg-t241-fadein 0.4s ease forwards;
}

#tg-t241-wrapper .tg-t241-tab-content--active { display: block; }

@keyframes tg-t241-fadein {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* 스텝 리스트 */
#tg-t241-wrapper .tg-t241-steps { display: flex; flex-direction: column; gap: 16px; }

#tg-t241-wrapper .tg-t241-step { display: flex; gap: 16px; align-items: flex-start; }

#tg-t241-wrapper .tg-t241-step__num {
    width: 26px; height: 26px; min-width: 26px;
    background: var(--t241-primary-light) !important;
    color: var(--t241-primary) !important;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 800; flex-shrink: 0; margin-top: 2px;
}

#tg-t241-wrapper .tg-t241-step__text { font-size: 15px; color: var(--t241-slate-700) !important; }
#tg-t241-wrapper .tg-t241-step__text strong { color: var(--t241-slate-900) !important; }

/* ── 꿀팁 리스트 ── */
#tg-t241-wrapper .tg-t241-tips-list { display: flex; flex-direction: column; gap: 14px; }

#tg-t241-wrapper .tg-t241-tip-item {
    display: flex; gap: 14px; padding: 20px;
    background: var(--t241-primary-light) !important;
    border-radius: 12px; border: 1px dashed #6ee7b7 !important;
    color: var(--t241-slate-700);
}

#tg-t241-wrapper .tg-t241-tip-item > i {
    color: var(--t241-primary) !important;
    font-size: 22px; margin-top: 3px; flex-shrink: 0;
}

#tg-t241-wrapper .tg-t241-tip-item strong {
    display: block; font-weight: 700;
    color: var(--t241-slate-900) !important; margin-bottom: 4px;
}

#tg-t241-wrapper .tg-t241-tip-item p { color: var(--t241-slate-700) !important; font-size: 14px; }

/* ── 요약 섹션 ── */
#tg-t241-wrapper .tg-t241-section--summary {
    background: var(--t241-primary-deep) !important;
    color: #ffffff !important; text-align: center; border-color: transparent !important;
}

#tg-t241-wrapper .tg-t241-section--summary,
#tg-t241-wrapper .tg-t241-section--summary * { color: rgba(255,255,255,0.9) !important; }

#tg-t241-wrapper .tg-t241-summary__title {
    font-size: 22px !important; font-weight: 800 !important;
    margin-bottom: 24px !important; color: #6ee7b7 !important;
}

#tg-t241-wrapper .tg-t241-summary__list {
    display: inline-flex; flex-direction: column;
    gap: 12px; text-align: left; max-width: 560px;
}

#tg-t241-wrapper .tg-t241-summary__list-item { display: flex; gap: 10px; font-size: 15px; align-items: flex-start; }
#tg-t241-wrapper .tg-t241-summary__list-item > i { color: #f59e0b !important; margin-top: 4px; flex-shrink: 0; }
#tg-t241-wrapper .tg-t241-summary__list-item strong { color: #6ee7b7 !important; font-weight: 700; }

#tg-t241-wrapper .tg-t241-copyright {
    margin-top: 30px; font-size: 13px; color: rgba(255,255,255,0.4) !important;
}

/* ── 스크롤 애니메이션 ── */
#tg-t241-wrapper .tg-t241-animate { opacity: 0; transform: translateY(20px); transition: all 0.6s ease; }
#tg-t241-wrapper .tg-t241-animate--active { opacity: 1; transform: translateY(0); }

/* ── 반응형 ── */
@media (min-width: 960px) {
    #tg-t241-wrapper .tg-t241-hero { padding: 80px 48px 100px; }
    #tg-t241-wrapper .tg-t241-hero__title { font-size: 40px !important; }
    #tg-t241-wrapper .tg-t241-main { padding: 50px 60px 0; }
}
