/*
 * tips356/style.css  v1.0.0
 * 텔레그램 서드파티 인증 가이드
 * 테마: 코발트 블루/네이비 + 딥 다크 (보안·신뢰·인증)
 * 그누보드5 격리 | BEM | 모바일 퍼스트
 */

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

/* ─── 디자인 토큰 ─── */
#tg-356-wrapper {
    --sky-200: #bae6fd;
    --sky-300: #7dd3fc;
    --sky-400: #38bdf8;
    --sky-500: #0ea5e9;
    --sky-600: #0284c7;
    --sky-700: #0369a1;
    --navy:    #030b18;
    --grn-400: #4ade80;
    --grn-500: #22c55e;
    --red-400: #f87171;
    --yel-300: #fde047;
    --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-sky: 0 4px 20px rgba(14,165,233,.22);
    --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-356-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-356-wrapper .tg-356-motion { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
#tg-356-wrapper .tg-356-motion.is-visible { opacity: 1; transform: translateY(0); }

/* ═════════════════════════════════════════
   히어로
═════════════════════════════════════════ */
#tg-356-wrapper .tg-356-hero {
    position: relative; background: var(--navy);
    border-radius: var(--radius-lg); padding: 64px 28px 72px;
    text-align: center; overflow: hidden;
}
#tg-356-wrapper .tg-356-hero__bg {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 62% 52% at 28% 35%, rgba(14,165,233,.2) 0%, transparent 56%),
        radial-gradient(ellipse 50% 44% at 78% 70%, rgba(56,189,248,.1) 0%, transparent 52%);
}
#tg-356-wrapper .tg-356-hero__floats { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
#tg-356-wrapper .tg-356-float {
    position: absolute; font-size: 1.8rem; opacity: 0;
    animation: tg356Float ease-in-out infinite;
}
#tg-356-wrapper .tg-356-float--1 { top: 14%; left:4%;    animation-duration: 5.5s; }
#tg-356-wrapper .tg-356-float--2 { top: 22%; right:5%;   animation-duration: 4.5s; animation-delay: -2s; font-size: 1.3rem; }
#tg-356-wrapper .tg-356-float--3 { bottom:28%; left:6%;  animation-duration: 6s;   animation-delay: -1s; }
#tg-356-wrapper .tg-356-float--4 { bottom:20%; right:7%; animation-duration: 5s;   animation-delay: -1.8s; font-size: 1.3rem; }
@keyframes tg356Float {
    0%,100% { opacity: 0; transform: translateY(0) scale(.9); }
    50%      { opacity: .52; transform: translateY(-14px) scale(1.12); }
}
#tg-356-wrapper .tg-356-hero__inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
#tg-356-wrapper .tg-356-hero__badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(14,165,233,.15); border: 1px solid rgba(14,165,233,.35);
    color: var(--sky-300); font-size: .85rem; font-weight: 700;
    padding: 6px 18px; border-radius: 999px; margin-bottom: 22px !important;
}
#tg-356-wrapper .tg-356-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-356-wrapper .tg-356-hero__title em { font-style: normal; color: var(--sky-300); text-shadow: 0 0 24px rgba(56,189,248,.5); }
#tg-356-wrapper .tg-356-hero__subtitle { color: rgba(255,255,255,.65); line-height: 1.8; max-width: 540px; margin: 0 auto 28px !important; }
#tg-356-wrapper .tg-356-hero__chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
#tg-356-wrapper .tg-356-hero__chip {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(14,165,233,.1); border: 1px solid rgba(14,165,233,.22);
    color: var(--sky-300); font-size: .82rem; font-weight: 800;
    padding: 8px 16px; border-radius: 999px;
}
#tg-356-wrapper .tg-356-hero__chip--sky { background: rgba(56,189,248,.1); border-color: rgba(56,189,248,.22); color: var(--sky-200); }
#tg-356-wrapper .tg-356-hero__chip--grn { background: rgba(74,222,128,.1); border-color: rgba(74,222,128,.22); color: var(--grn-400); }

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

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

/* 특징 카드 */
#tg-356-wrapper .tg-356-feature-cards { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 24px; }
#tg-356-wrapper .tg-356-feature-card {
    background: var(--sl-50); border: 1px solid var(--sl-200); border-radius: var(--radius-sm);
    padding: 22px 18px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
}
#tg-356-wrapper .tg-356-feature-card--sky { border-color: rgba(14,165,233,.2); background: rgba(14,165,233,.03); }
#tg-356-wrapper .tg-356-feature-card--grn { border-color: rgba(34,197,94,.2); background: rgba(34,197,94,.03); }
#tg-356-wrapper .tg-356-feature-card__icon { font-size: 1.7rem; color: var(--sky-500); margin-bottom: 4px; }
#tg-356-wrapper .tg-356-feature-card--sky .tg-356-feature-card__icon { color: var(--sky-500); }
#tg-356-wrapper .tg-356-feature-card--grn .tg-356-feature-card__icon { color: var(--grn-500); }
#tg-356-wrapper .tg-356-feature-card__title { font-size: var(--fs-base); font-weight: 800; color: var(--sl-900); }
#tg-356-wrapper .tg-356-feature-card__desc { font-size: var(--fs-sm); color: var(--text-sub); line-height: 1.6; word-break: keep-all; margin-bottom: 0 !important; }

/* 공통 섹션 */
#tg-356-wrapper .tg-356-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-356-wrapper .tg-356-section--dark { background: var(--navy); border-color: rgba(14,165,233,.1); }
#tg-356-wrapper .tg-356-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-356-wrapper .tg-356-section__label--dark { background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.25); }
#tg-356-wrapper .tg-356-section__label--blue { background: rgba(14,165,233,.08); color: var(--sky-700); }
#tg-356-wrapper .tg-356-section__label .material-symbols-outlined { font-size: 1rem; }
#tg-356-wrapper .tg-356-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-356-wrapper .tg-356-section__title--light { color: #fff !important; }
#tg-356-wrapper .tg-356-section > p { color: var(--text-sub); max-width: 680px; margin-left: auto; margin-right: auto; }
#tg-356-wrapper .tg-356-section__desc--light { color: rgba(255,255,255,.8) !important; margin-bottom: 28px !important; }

/* ═════════════════════════════════════════
   채널 검증 시뮬레이터
═════════════════════════════════════════ */
#tg-356-wrapper .tg-356-demo { display: flex; flex-direction: column; gap: 16px; }

/* 채널 목록 패널 */
#tg-356-wrapper .tg-356-channel-list {
    background: #050f1c; border: 1px solid rgba(56,189,248,.12);
    border-radius: 16px; overflow: hidden;
}
#tg-356-wrapper .tg-356-list-header {
    display: flex; align-items: center; gap: 8px;
    background: #030b18; padding: 10px 14px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    font-size: .8rem; color: rgba(255,255,255,.4); font-weight: 700;
}
#tg-356-wrapper .tg-356-list-header .material-symbols-outlined { font-size: 1rem; }
#tg-356-wrapper .tg-356-list-count {
    margin-left: auto; font-size: .65rem; font-weight: 800;
    background: rgba(56,189,248,.15); color: var(--sky-300);
    padding: 2px 7px; border-radius: 999px;
}

/* 채널 아이템 */
#tg-356-wrapper .tg-356-ch-item {
    width: 100%; display: flex; align-items: center; gap: 12px;
    padding: 13px 14px; text-align: left;
    border-bottom: 1px solid rgba(255,255,255,.04); transition: background .2s;
}
#tg-356-wrapper .tg-356-ch-item:last-child { border-bottom: none; }
#tg-356-wrapper .tg-356-ch-item:hover { background: rgba(255,255,255,.04); }
#tg-356-wrapper .tg-356-ch-item--active { background: rgba(56,189,248,.08); border-left: 3px solid var(--sky-400); }
#tg-356-wrapper .tg-356-ch-item__avatar {
    width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
    background: rgba(255,255,255,.06); font-size: 1.3rem;
    display: flex; align-items: center; justify-content: center;
}
#tg-356-wrapper .tg-356-ch-item__avatar--warn { background: rgba(248,113,113,.1); }
#tg-356-wrapper .tg-356-ch-item__info { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
#tg-356-wrapper .tg-356-ch-item__name {
    font-size: .84rem; font-weight: 800; color: rgba(255,255,255,.85);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    display: flex; align-items: center; gap: 5px;
}
#tg-356-wrapper .tg-356-ch-item__name--warn { color: rgba(248,113,113,.8); }
#tg-356-wrapper .tg-356-ch-item__sub { font-size: .68rem; color: rgba(255,255,255,.35); }

/* 인증 아이콘 */
#tg-356-wrapper .tg-356-verify-icon { font-size: .88rem; line-height: 1; flex-shrink: 0; }

/* 태그 */
#tg-356-wrapper .tg-356-ch-item__tag {
    flex-shrink: 0; font-size: .62rem; font-weight: 800; padding: 3px 8px; border-radius: 999px; letter-spacing: .04em;
}
#tg-356-wrapper .tg-356-ch-item__tag--ok { background: rgba(74,222,128,.12); color: var(--grn-400); }
#tg-356-wrapper .tg-356-ch-item__tag--no { background: rgba(248,113,113,.12); color: var(--red-400); }

/* 상세 패널 */
#tg-356-wrapper .tg-356-detail-panel {
    background: #050f1c; border: 1px solid rgba(56,189,248,.12);
    border-radius: 16px; padding: 20px; min-height: 200px;
    display: flex; align-items: stretch;
    animation: tg356FadeIn .3s ease;
}

/* 인증 상세 공통 */
#tg-356-wrapper .tg-356-detail-ok,
#tg-356-wrapper .tg-356-detail-fail { width: 100%; display: flex; flex-direction: column; gap: 12px; }
#tg-356-wrapper .tg-356-detail-ok__header,
#tg-356-wrapper .tg-356-detail-fail__header { display: flex; align-items: center; gap: 12px; }
#tg-356-wrapper .tg-356-detail-ok__avatar { font-size: 2rem; line-height: 1; flex-shrink: 0; }
#tg-356-wrapper .tg-356-detail-ok__name { font-size: .95rem; font-weight: 900; color: #fff; margin-bottom: 2px; }
#tg-356-wrapper .tg-356-detail-ok__handle { font-size: .72rem; color: rgba(255,255,255,.4); margin-bottom: 0 !important; }
#tg-356-wrapper .tg-356-verified-badge {
    margin-left: auto; display: flex; align-items: center; gap: 5px;
    background: rgba(74,222,128,.12); border: 1px solid rgba(74,222,128,.25);
    color: var(--grn-400); font-size: .72rem; font-weight: 800; padding: 5px 10px; border-radius: 999px;
}
#tg-356-wrapper .tg-356-verified-badge .material-symbols-outlined { font-size: .85rem; }
#tg-356-wrapper .tg-356-unverified-badge {
    margin-left: auto; display: flex; align-items: center; gap: 5px;
    background: rgba(248,113,113,.12); border: 1px solid rgba(248,113,113,.25);
    color: var(--red-400); font-size: .72rem; font-weight: 800; padding: 5px 10px; border-radius: 999px;
}
#tg-356-wrapper .tg-356-verify-info {
    background: rgba(56,189,248,.05); border: 1px solid rgba(56,189,248,.14);
    border-radius: 10px; padding: 14px;
}
#tg-356-wrapper .tg-356-verify-info__label {
    font-size: .65rem; font-weight: 800; letter-spacing: .06em; color: rgba(255,255,255,.3);
    text-transform: uppercase; margin-bottom: 6px !important;
}
#tg-356-wrapper .tg-356-verify-info__body { font-size: .8rem; color: rgba(255,255,255,.7); line-height: 1.7; margin-bottom: 0 !important; }
#tg-356-wrapper .tg-356-verify-info__body strong { color: var(--sky-300); }

/* 경고 박스 (미인증) */
#tg-356-wrapper .tg-356-warn-box {
    background: rgba(248,113,113,.06); border: 1px solid rgba(248,113,113,.2);
    border-radius: 10px; padding: 14px; display: flex; gap: 10px;
    font-size: .8rem; color: rgba(248,113,113,.8); line-height: 1.7;
}
#tg-356-wrapper .tg-356-warn-box .material-symbols-outlined { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }

/* ─── 기기별 탭 ─── */
#tg-356-wrapper .tg-356-tabs {
    display: flex; gap: 6px; background: var(--sl-100); border-radius: var(--radius-sm);
    padding: 5px; margin-bottom: 22px; flex-wrap: wrap;
}
#tg-356-wrapper .tg-356-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-356-wrapper .tg-356-tab-btn .material-symbols-outlined { font-size: 1.1rem; }
#tg-356-wrapper .tg-356-tab-btn--active { background: #fff; color: var(--sky-700); box-shadow: 0 2px 8px rgba(0,0,0,.08); font-weight: 800; }
#tg-356-wrapper .tg-356-tab-panel { display: none; text-align: left; animation: tg356FadeIn .3s ease; }
#tg-356-wrapper .tg-356-tab-panel--active { display: block; }
#tg-356-wrapper .tg-356-tab-panel__head {
    display: flex; align-items: center; gap: 14px;
    margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--sl-100);
}
#tg-356-wrapper .tg-356-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-356-wrapper .tg-356-tab-panel__icon--pc  { background: linear-gradient(135deg, var(--sky-500), var(--sky-700)); }
#tg-356-wrapper .tg-356-tab-panel__icon--and { background: linear-gradient(135deg, #3ddc84, #00ac47); }
#tg-356-wrapper .tg-356-tab-panel__icon--ios { background: linear-gradient(135deg, #555, #111); }
#tg-356-wrapper .tg-356-tab-panel__name { font-size: var(--fs-lg); font-weight: 800; color: var(--sl-900); margin-bottom: 4px; }
#tg-356-wrapper .tg-356-tab-panel__sub  { font-size: var(--fs-sm); color: var(--sl-500); margin-bottom: 0 !important; }

#tg-356-wrapper .tg-356-steps { display: flex; flex-direction: column; gap: 12px; counter-reset: steps; }
#tg-356-wrapper .tg-356-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-356-wrapper .tg-356-steps li::before {
    content: counter(steps); min-width: 28px; height: 28px; flex-shrink: 0; margin-top: 2px;
    background: linear-gradient(135deg, var(--sky-500), var(--sky-700));
    color: #fff; font-size: .8rem; font-weight: 900; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
#tg-356-wrapper .tg-356-steps li strong { color: var(--sl-800); }
#tg-356-wrapper .tg-356-tip-box {
    display: flex; align-items: flex-start; gap: 12px;
    background: rgba(14,165,233,.06); border: 1px solid rgba(14,165,233,.18);
    border-radius: var(--radius-sm); padding: 16px 18px; margin-top: 18px;
    font-size: var(--fs-base); color: var(--text-sub); line-height: 1.75;
}
#tg-356-wrapper .tg-356-tip-box .material-symbols-outlined { font-size: 1.3rem; color: var(--sky-500); flex-shrink: 0; margin-top: 2px; }

/* ─── 결론 요약 ─── */
#tg-356-wrapper .tg-356-summary {
    background: linear-gradient(145deg, var(--navy), #071528 55%, var(--navy));
    border: 1px solid rgba(56,189,248,.1); border-radius: var(--radius-lg);
    padding: 52px 32px; color: #fff; text-align: center;
}
#tg-356-wrapper .tg-356-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-356-wrapper .tg-356-summary h2 .material-symbols-outlined { color: var(--sky-300); font-size: 1.5rem; }
#tg-356-wrapper .tg-356-summary > p { color: rgba(255,255,255,.55); margin-bottom: 36px !important; }
#tg-356-wrapper .tg-356-summary__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 560px; margin: 0 auto; }
#tg-356-wrapper .tg-356-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-356-wrapper .tg-356-summary__item .material-symbols-outlined { font-size: 1.8rem; color: var(--sky-300); }
#tg-356-wrapper .tg-356-summary__item p { font-size: .84rem; font-weight: 700; color: rgba(255,255,255,.75); margin-bottom: 0 !important; }
#tg-356-wrapper .tg-356-footer-cta { margin-top: 44px; border-top: 1px solid rgba(255,255,255,.07); padding-top: 28px; }
#tg-356-wrapper .tg-356-footer-cta p { font-size: var(--fs-sm); color: rgba(255,255,255,.4); margin-bottom: 20px !important; }
#tg-356-wrapper .tg-356-cta-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, var(--sky-500), var(--sky-700));
    color: #fff; font-size: 1rem; font-weight: 800; padding: 15px 32px; border-radius: 999px;
    box-shadow: var(--shadow-sky); transition: transform .2s;
}
#tg-356-wrapper .tg-356-cta-btn:hover { transform: translateY(-3px); }
#tg-356-wrapper .tg-356-cta-btn .material-symbols-outlined { font-size: 1.1rem; }

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

/* ─── 반응형 ─── */
@media (min-width: 600px) { #tg-356-wrapper .tg-356-feature-cards { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 720px) { #tg-356-wrapper .tg-356-demo { flex-direction: row; align-items: flex-start; } }
@media (min-width: 640px) { #tg-356-wrapper .tg-356-summary__grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) {
    #tg-356-wrapper .tg-356-hero { padding: 80px 56px 90px; }
    #tg-356-wrapper .tg-356-section, #tg-356-wrapper .tg-356-intro { padding: 52px 48px; }
    #tg-356-wrapper .tg-356-channel-list { flex: 1 0 240px; }
    #tg-356-wrapper .tg-356-detail-panel { flex: 1 1 300px; }
}
