/*
 * tips363/style.css  v1.0.0
 * 텔레그램 빠른 전달 제스처(Quick Forward Gesture) 가이드
 * 테마: 틸/에메랄드 + 딥 다크 (빠른 공유·드래그·업무 생산성)
 * 그누보드5 격리 | BEM | 모바일 퍼스트
 */

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

/* ─── 디자인 토큰 ─── */
#tg-363-wrapper {
    --tl-200:  #99f6e4;
    --tl-300:  #5eead4;
    --tl-400:  #2dd4bf;
    --tl-500:  #14b8a6;
    --tl-600:  #0d9488;
    --tl-700:  #0f766e;
    --blu-400: #60a5fa;
    --blu-500: #3b82f6;
    --gold-400: #fbbf24;
    --grn-400:  #4ade80;
    --grn-500:  #22c55e;
    --dk-base: #010e0d;
    --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-sub: #475569;
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --shadow-sm:  0 4px 14px rgba(0,0,0,.06);
    --shadow-tl:  0 6px 24px rgba(20,184,166,.28);
    --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(--sl-800); line-height: 1.7;
    max-width: 1100px; margin: 0 auto; width: 100%;
}

/* Material Symbols */
#tg-363-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-363-wrapper .tg-363-motion { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
#tg-363-wrapper .tg-363-motion.is-visible { opacity: 1; transform: translateY(0); }

/* ═════════════════════════════════════════
   히어로
═════════════════════════════════════════ */
#tg-363-wrapper .tg-363-hero {
    position: relative; background: var(--dk-base);
    border-radius: var(--radius-lg); padding: 64px 28px 72px;
    text-align: center; overflow: hidden;
}
#tg-363-wrapper .tg-363-hero__bg {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 65% 52% at 28% 35%, rgba(20,184,166,.22) 0%, transparent 56%),
        radial-gradient(ellipse 50% 44% at 80% 68%, rgba(45,212,191,.1) 0%, transparent 52%);
}
#tg-363-wrapper .tg-363-hero__floats { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
#tg-363-wrapper .tg-363-float {
    position: absolute; font-size: 1.8rem; opacity: 0;
    animation: tg363Float ease-in-out infinite;
}
#tg-363-wrapper .tg-363-float--1 { top: 14%; left:4%;    animation-duration: 5.5s; }
#tg-363-wrapper .tg-363-float--2 { top: 22%; right:5%;   animation-duration: 4.5s; animation-delay: -2s; font-size: 1.3rem; }
#tg-363-wrapper .tg-363-float--3 { bottom:28%; left:6%;  animation-duration: 6s;   animation-delay: -1s; }
#tg-363-wrapper .tg-363-float--4 { bottom:20%; right:7%; animation-duration: 5s;   animation-delay: -1.8s; font-size: 1.3rem; }
@keyframes tg363Float {
    0%,100% { opacity: 0; transform: translateY(0) scale(.9); }
    50%      { opacity: .52; transform: translateY(-14px) scale(1.12); }
}
#tg-363-wrapper .tg-363-hero__inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
#tg-363-wrapper .tg-363-hero__badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(20,184,166,.15); border: 1px solid rgba(20,184,166,.35);
    color: var(--tl-300); font-size: .85rem; font-weight: 700;
    padding: 6px 18px; border-radius: 999px; margin-bottom: 22px !important;
}
#tg-363-wrapper .tg-363-hero__title {
    font-size: clamp(1.65rem, 4.2vw, 2.3rem); font-weight: 900;
    color: #fff; line-height: 1.28; letter-spacing: -.02em; margin-bottom: 16px;
}
#tg-363-wrapper .tg-363-hero__title em { font-style: normal; color: var(--tl-300); text-shadow: 0 0 24px rgba(20,184,166,.55); }
#tg-363-wrapper .tg-363-hero__subtitle { color: rgba(255,255,255,.65); line-height: 1.8; max-width: 540px; margin: 0 auto 28px !important; }
#tg-363-wrapper .tg-363-hero__chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
#tg-363-wrapper .tg-363-hero__chip {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(20,184,166,.1); border: 1px solid rgba(20,184,166,.22);
    color: var(--tl-300); font-size: .82rem; font-weight: 800;
    padding: 8px 16px; border-radius: 999px;
}
#tg-363-wrapper .tg-363-hero__chip--blu  { background: rgba(59,130,246,.08); border-color: rgba(59,130,246,.22); color: var(--blu-400); }
#tg-363-wrapper .tg-363-hero__chip--gold { background: rgba(251,191,36,.08); border-color: rgba(251,191,36,.22); color: var(--gold-400); }

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

/* 도입부 */
#tg-363-wrapper .tg-363-intro {
    background: #fff; border: 1px solid var(--sl-200); border-top: 4px solid var(--tl-500);
    border-radius: var(--radius-md); padding: 36px 28px; text-align: center; box-shadow: var(--shadow-sm);
}
#tg-363-wrapper .tg-363-intro__icon { font-size: 2.4rem; color: var(--tl-600); margin-bottom: 14px; }
#tg-363-wrapper .tg-363-intro__title { font-size: clamp(1.05rem, 2.8vw, 1.3rem); font-weight: 800; color: var(--sl-900); margin-bottom: 14px; }
#tg-363-wrapper .tg-363-intro p { color: var(--text-sub); max-width: 700px; margin-left: auto; margin-right: auto; }

/* 3단계 미리보기 */
#tg-363-wrapper .tg-363-steps-preview {
    display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 24px;
}
#tg-363-wrapper .tg-363-step-card {
    background: var(--sl-50); border: 1px solid var(--sl-200); border-radius: var(--radius-sm);
    padding: 20px 16px; display: flex; flex-direction: column; align-items: center; gap: 6px;
    min-width: 110px; flex: 1 1 110px; max-width: 160px;
}
#tg-363-wrapper .tg-363-step-card--done { background: rgba(20,184,166,.06); border-color: rgba(20,184,166,.25); }
#tg-363-wrapper .tg-363-step-card__num {
    width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
    background: linear-gradient(135deg, var(--tl-500), var(--tl-700));
    color: #fff; font-size: .78rem; font-weight: 900;
    display: flex; align-items: center; justify-content: center;
}
#tg-363-wrapper .tg-363-step-card__icon { font-size: 1.6rem; line-height: 1; }
#tg-363-wrapper .tg-363-step-card__title { font-size: .9rem; font-weight: 800; color: var(--sl-900); }
#tg-363-wrapper .tg-363-step-card__desc  { font-size: .75rem; color: var(--text-sub); line-height: 1.55; word-break: keep-all; margin-bottom: 0 !important; }
#tg-363-wrapper .tg-363-step-arrow { font-size: 1.3rem; color: var(--sl-400); align-self: center; flex-shrink: 0; }

/* 공통 섹션 */
#tg-363-wrapper .tg-363-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-363-wrapper .tg-363-section--dark { background: var(--dk-base); border-color: rgba(20,184,166,.1); }
#tg-363-wrapper .tg-363-section__label {
    display: inline-flex; align-items: center; gap: 7px; font-size: .88rem; font-weight: 700;
    padding: 7px 20px; border-radius: 999px; margin-bottom: 22px;
}
#tg-363-wrapper .tg-363-section__label--dark { background: rgba(255,255,255,.13); color: #fff; border: 1px solid rgba(255,255,255,.24); }
#tg-363-wrapper .tg-363-section__label--teal { background: rgba(20,184,166,.08); color: var(--tl-700); }
#tg-363-wrapper .tg-363-section__label .material-symbols-outlined { font-size: 1rem; }
#tg-363-wrapper .tg-363-section__title {
    font-size: clamp(1.2rem, 3vw, 1.5rem); font-weight: 900; color: var(--sl-900);
    letter-spacing: -.02em; margin-bottom: 16px; display: flex; align-items: center; justify-content: center; gap: 10px;
}
#tg-363-wrapper .tg-363-section__title--light { color: #fff !important; }
#tg-363-wrapper .tg-363-section > p { color: var(--text-sub); max-width: 680px; margin-left: auto; margin-right: auto; }
#tg-363-wrapper .tg-363-section__desc--light { color: rgba(255,255,255,.8) !important; margin-bottom: 28px !important; }

/* ═════════════════════════════════════════
   제스처 시뮬레이터
═════════════════════════════════════════ */
#tg-363-wrapper .tg-363-simulator { max-width: 480px; margin: 0 auto; }

/* 채널 메시지 카드 */
#tg-363-wrapper .tg-363-channel-msg {
    background: #111c28; border: 1px solid rgba(255,255,255,.07); border-radius: 14px; padding: 14px;
    animation: tg363FadeIn .3s ease;
}
#tg-363-wrapper .tg-363-channel-msg__header {
    display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
#tg-363-wrapper .tg-363-channel-msg__avatar {
    width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.06);
    font-size: 1.1rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
#tg-363-wrapper .tg-363-channel-msg__chname { display: block; font-size: .8rem; font-weight: 800; color: var(--tl-300); }
#tg-363-wrapper .tg-363-channel-msg__date   { display: block; font-size: .62rem; color: rgba(255,255,255,.3); }
#tg-363-wrapper .tg-363-channel-msg__text { font-size: .84rem; color: rgba(255,255,255,.8); line-height: 1.65; margin-bottom: 12px !important; }
#tg-363-wrapper .tg-363-channel-msg__footer {
    display: flex; align-items: center; justify-content: space-between;
}
#tg-363-wrapper .tg-363-channel-msg__views { font-size: .68rem; color: rgba(255,255,255,.3); }

/* 전달 버튼 */
#tg-363-wrapper .tg-363-fwd-btn {
    width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
    background: linear-gradient(135deg, var(--tl-500), var(--tl-700));
    color: #fff; font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 14px rgba(20,184,166,.4); transition: transform .15s;
}
#tg-363-wrapper .tg-363-fwd-btn:hover { transform: scale(1.12); }
#tg-363-wrapper .tg-363-fwd-btn:active { transform: scale(.92); }
#tg-363-wrapper .tg-363-fwd-btn .material-symbols-outlined { font-size: 1.1rem; }
/* 펄스 힌트 애니메이션 */
#tg-363-wrapper .tg-363-fwd-btn { animation: tg363BtnPulse 2.5s ease-in-out infinite; }
@keyframes tg363BtnPulse {
    0%,100% { box-shadow: 0 4px 14px rgba(20,184,166,.4); }
    50%      { box-shadow: 0 4px 22px rgba(20,184,166,.75), 0 0 0 6px rgba(20,184,166,.12); }
}

/* 전달 대상 팝업 */
#tg-363-wrapper .tg-363-targets {
    background: rgba(17,28,40,.98); border: 1px solid rgba(255,255,255,.1); border-radius: 14px;
    padding: 16px; margin-top: 10px; animation: tg363FadeUp .3s ease;
}
#tg-363-wrapper .tg-363-targets__label { font-size: .75rem; font-weight: 800; color: rgba(255,255,255,.35); margin-bottom: 14px !important; text-transform: uppercase; letter-spacing: .04em; }
#tg-363-wrapper .tg-363-targets__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
#tg-363-wrapper .tg-363-target {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    padding: 10px 6px; border-radius: 10px; transition: background .15s;
}
#tg-363-wrapper .tg-363-target:hover { background: rgba(20,184,166,.08); }
#tg-363-wrapper .tg-363-target__avatar {
    width: 44px; height: 44px; border-radius: 50%;
    font-size: 1.3rem; display: flex; align-items: center; justify-content: center;
    transition: transform .15s;
}
#tg-363-wrapper .tg-363-target:hover .tg-363-target__avatar { transform: scale(1.12); }
#tg-363-wrapper .tg-363-target__avatar--saved { background: rgba(20,184,166,.2); }
#tg-363-wrapper .tg-363-target__name { font-size: .65rem; font-weight: 700; color: rgba(255,255,255,.6); word-break: break-all; text-align: center; line-height: 1.2; margin-bottom: 0 !important; }

/* 완료 패널 */
#tg-363-wrapper .tg-363-done-panel {
    background: rgba(20,184,166,.1); border: 1px solid rgba(20,184,166,.25); border-radius: 14px;
    padding: 24px 16px; text-align: center; animation: tg363FadeUp .35s ease;
}
#tg-363-wrapper .tg-363-done-panel__icon { font-size: 2.2rem; line-height: 1; display: block; margin-bottom: 12px; }
#tg-363-wrapper .tg-363-done-panel__msg { font-size: 1rem; font-weight: 800; color: var(--tl-300); }
#tg-363-wrapper .tg-363-done-panel__sub { font-size: .78rem; color: rgba(255,255,255,.4); margin-bottom: 18px !important; }
#tg-363-wrapper .tg-363-retry-btn {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(20,184,166,.15); border: 1px solid rgba(20,184,166,.3);
    color: var(--tl-300); font-size: .82rem; font-weight: 800; padding: 9px 20px; border-radius: 999px;
    transition: background .2s;
}
#tg-363-wrapper .tg-363-retry-btn:hover { background: rgba(20,184,166,.25); }
#tg-363-wrapper .tg-363-retry-btn .material-symbols-outlined { font-size: 1rem; }

/* ─── 기기별 탭 ─── */
#tg-363-wrapper .tg-363-tabs {
    display: flex; gap: 6px; background: var(--sl-100); border-radius: var(--radius-sm);
    padding: 5px; margin-bottom: 22px; flex-wrap: wrap;
}
#tg-363-wrapper .tg-363-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;
}
#tg-363-wrapper .tg-363-tab-btn .material-symbols-outlined { font-size: 1.1rem; }
#tg-363-wrapper .tg-363-tab-btn--active { background: #fff; color: var(--tl-700); box-shadow: 0 2px 8px rgba(0,0,0,.08); font-weight: 800; }
#tg-363-wrapper .tg-363-tab-panel { display: none; text-align: left; animation: tg363FadeIn .3s ease; }
#tg-363-wrapper .tg-363-tab-panel--active { display: block; }
#tg-363-wrapper .tg-363-tab-panel__head {
    display: flex; align-items: center; gap: 14px;
    margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--sl-100);
}
#tg-363-wrapper .tg-363-tab-panel__icon {
    width: 50px; height: 50px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: #fff; flex-shrink: 0;
}
#tg-363-wrapper .tg-363-tab-panel__icon--ios { background: linear-gradient(135deg, #555, #111); }
#tg-363-wrapper .tg-363-tab-panel__icon--and { background: linear-gradient(135deg, #3ddc84, #00ac47); }
#tg-363-wrapper .tg-363-tab-panel__icon--pc  { background: linear-gradient(135deg, var(--tl-500), var(--tl-700)); }
#tg-363-wrapper .tg-363-tab-panel__name { font-size: var(--fs-lg); font-weight: 800; color: var(--sl-900); margin-bottom: 4px; }
#tg-363-wrapper .tg-363-tab-panel__sub { font-size: var(--fs-sm); color: var(--sl-500); margin-bottom: 0 !important; }
#tg-363-wrapper .tg-363-steps { display: flex; flex-direction: column; gap: 12px; counter-reset: steps; }
#tg-363-wrapper .tg-363-steps li {
    counter-increment: steps; display: flex; align-items: flex-start; gap: 12px;
    font-size: var(--fs-base); color: var(--text-sub); line-height: 1.75;
}
#tg-363-wrapper .tg-363-steps li::before {
    content: counter(steps); min-width: 28px; height: 28px; flex-shrink: 0; margin-top: 2px;
    background: linear-gradient(135deg, var(--tl-500), var(--tl-700));
    color: #fff; font-size: .8rem; font-weight: 900; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
#tg-363-wrapper .tg-363-steps li strong { color: var(--sl-800); }
#tg-363-wrapper .tg-363-tip-box {
    display: flex; align-items: flex-start; gap: 12px;
    background: rgba(20,184,166,.06); border: 1px solid rgba(20,184,166,.2);
    border-radius: var(--radius-sm); padding: 14px 18px; margin-top: 18px;
    font-size: var(--fs-sm); color: var(--text-sub); line-height: 1.7;
}
#tg-363-wrapper .tg-363-tip-box .material-symbols-outlined { font-size: 1.2rem; color: var(--tl-500); flex-shrink: 0; margin-top: 2px; }

/* ─── 결론 ─── */
#tg-363-wrapper .tg-363-summary {
    background: linear-gradient(145deg, var(--dk-base), #001410 55%, var(--dk-base));
    border: 1px solid rgba(20,184,166,.1); border-radius: var(--radius-lg);
    padding: 52px 32px; color: #fff; text-align: center;
}
#tg-363-wrapper .tg-363-summary h2 {
    font-size: 1.3rem; font-weight: 900; display: flex; align-items: center; justify-content: center; gap: 10px;
    margin-bottom: 12px; color: #fff;
}
#tg-363-wrapper .tg-363-summary h2 .material-symbols-outlined { color: var(--tl-300); font-size: 1.5rem; }
#tg-363-wrapper .tg-363-summary > p { color: rgba(255,255,255,.55); margin-bottom: 36px !important; }
#tg-363-wrapper .tg-363-summary__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 560px; margin: 0 auto; }
#tg-363-wrapper .tg-363-summary__item {
    background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 12px;
    padding: 20px; display: flex; flex-direction: column; align-items: center; gap: 10px;
}
#tg-363-wrapper .tg-363-summary__item .material-symbols-outlined { font-size: 1.8rem; color: var(--tl-300); }
#tg-363-wrapper .tg-363-summary__item p { font-size: .84rem; font-weight: 700; color: rgba(255,255,255,.75); margin-bottom: 0 !important; }
#tg-363-wrapper .tg-363-footer-cta { margin-top: 44px; border-top: 1px solid rgba(255,255,255,.07); padding-top: 28px; }
#tg-363-wrapper .tg-363-footer-cta p { font-size: var(--fs-sm); color: rgba(255,255,255,.4); margin-bottom: 20px !important; }
#tg-363-wrapper .tg-363-cta-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, var(--tl-500), var(--tl-700));
    color: #fff; font-size: 1rem; font-weight: 800; padding: 15px 32px; border-radius: 999px;
    box-shadow: var(--shadow-tl); transition: transform .2s;
}
#tg-363-wrapper .tg-363-cta-btn:hover { transform: translateY(-3px); }
#tg-363-wrapper .tg-363-cta-btn .material-symbols-outlined { font-size: 1.1rem; }

@keyframes tg363FadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes tg363FadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* ─── 반응형 ─── */
@media (min-width: 520px) { #tg-363-wrapper .tg-363-steps-preview { flex-wrap: nowrap; } }
@media (min-width: 640px) { #tg-363-wrapper .tg-363-summary__grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) {
    #tg-363-wrapper .tg-363-hero { padding: 80px 56px 90px; }
    #tg-363-wrapper .tg-363-section, #tg-363-wrapper .tg-363-intro { padding: 52px 48px; }
}
