/*
 * tips398/style.css  v1.0.0
 * 텔레그램 패스키 가이드
 * 테마: 바이오메트릭 아이스 크리스탈 시안 #67e8f9 + 딥 시큐리티 블랙 #020a0f
 *      (패스키·생체인증·보안·지문·Face ID)
 * 그누보드5 격리 | BEM | 모바일 퍼스트
 *
 * 기존과 구별되는 이유:
 * - tips391 cyan-400 `#22d3ee` (아쿠아 딥씨)
 * - tips396 teal-400 `#2dd4bf` (민트-씨폼 생산성)
 * - tips398 cyan-300 `#67e8f9` (아이스 크리스탈 → 바이오메트릭 스캐너 글로우)
 *   · 훨씬 밝고 차갑고 "빙하" 같은 느낌 → 생체인증 스캐너 아이스 블루
 *   · 배경 base가 더 어두운 #020a0f ("보안 블랙박스")
 */

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

/* ─── 디자인 토큰 ─── */
#tg-398-wrapper {
    --ice-50:  #ecfeff;
    --ice-100: #cffafe;
    --ice-200: #a5f3fc;
    --ice-300: #67e8f9;   /* 메인 아이스 시안 */
    --ice-400: #22d3ee;
    --ice-500: #06b6d4;
    --ice-600: #0891b2;
    --ice-700: #0e7490;
    --grn-400: #4ade80;
    --org-400: #fb923c;
    --red-400: #f87171;
    --dk-base: #020a0f;   /* 딥 시큐리티 블랙 */
    --sl-50:   #f8fafc;
    --sl-100:  #f1f5f9;
    --sl-200:  #e2e8f0;
    --sl-400:  #94a3b8;
    --sl-500:  #64748b;
    --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-ice: 0 6px 28px rgba(103,232,249,.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-398-wrapper .material-symbols-outlined {
    font-family: 'Material Symbols Outlined', sans-serif !important;
    font-weight: normal !important; font-style: normal !important;
    font-size: inherit; line-height: 1;
    display: inline-block; white-space: nowrap; direction: ltr;
    -webkit-font-smoothing: antialiased; vertical-align: middle;
    text-transform: none; letter-spacing: normal; word-wrap: normal;
    font-feature-settings: 'liga';
}

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

/* ═══════ 히어로 */
#tg-398-wrapper .tg-398-hero {
    position: relative; background: var(--dk-base);
    border-radius: var(--radius-lg); padding: 64px 28px 72px; text-align: center; overflow: hidden;
}
#tg-398-wrapper .tg-398-hero__bg {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 60% 55% at 50% 45%, rgba(103,232,249,.12) 0%, transparent 58%),
        radial-gradient(ellipse 40% 35% at 20% 70%, rgba(6,182,212,.07) 0%, transparent 50%);
}
/* 바이오메트릭 링 스캐너 배경 */
#tg-398-wrapper .tg-398-hero__scan { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; pointer-events:none; }
#tg-398-wrapper .tg-398-scan__ring { position:absolute; border-radius:50%; border:1px solid rgba(103,232,249,.12); animation:tg398RingPulse ease-out infinite; }
#tg-398-wrapper .tg-398-scan__ring--1 { width:220px; height:220px; animation-duration:3s; animation-delay:0s; }
#tg-398-wrapper .tg-398-scan__ring--2 { width:380px; height:380px; animation-duration:3s; animation-delay:1s; }
#tg-398-wrapper .tg-398-scan__ring--3 { width:540px; height:540px; animation-duration:3s; animation-delay:2s; }
@keyframes tg398RingPulse { 0%{opacity:.6;transform:scale(.8);}100%{opacity:0;transform:scale(1.1);} }
/* 플로팅 */
#tg-398-wrapper .tg-398-hero__floats { position:absolute; inset:0; overflow:hidden; pointer-events:none; }
#tg-398-wrapper .tg-398-float { position:absolute; font-size:1.8rem; opacity:0; animation:tg398Float ease-in-out infinite; }
#tg-398-wrapper .tg-398-float--1 { top:14%; left:4%;     animation-duration:5.5s; }
#tg-398-wrapper .tg-398-float--2 { top:22%; right:5%;    animation-duration:4.5s; animation-delay:-2s; font-size:1.3rem; }
#tg-398-wrapper .tg-398-float--3 { bottom:28%; left:6%;  animation-duration:6s;   animation-delay:-1s; }
#tg-398-wrapper .tg-398-float--4 { bottom:20%; right:7%; animation-duration:5s;   animation-delay:-1.8s; font-size:1.3rem; }
@keyframes tg398Float { 0%,100%{opacity:0;transform:translateY(0) scale(.9);}50%{opacity:.52;transform:translateY(-14px) scale(1.12);} }
#tg-398-wrapper .tg-398-hero__inner { position:relative; z-index:1; max-width:700px; margin:0 auto; }
#tg-398-wrapper .tg-398-hero__badge { display:inline-flex; align-items:center; gap:6px; background:rgba(103,232,249,.12); border:1px solid rgba(103,232,249,.3); color:var(--ice-300); font-size:.85rem; font-weight:700; padding:6px 18px; border-radius:999px; margin-bottom:22px !important; }
#tg-398-wrapper .tg-398-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-398-wrapper .tg-398-hero__title em { font-style:normal; color:var(--ice-300); text-shadow:0 0 24px rgba(103,232,249,.55); }
#tg-398-wrapper .tg-398-hero__subtitle { color:rgba(255,255,255,.65); line-height:1.8; max-width:540px; margin:0 auto 28px !important; }
#tg-398-wrapper .tg-398-hero__chips { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; }
#tg-398-wrapper .tg-398-hero__chip { display:inline-flex; align-items:center; gap:6px; background:rgba(103,232,249,.1); border:1px solid rgba(103,232,249,.22); color:var(--ice-300); font-size:.82rem; font-weight:800; padding:8px 16px; border-radius:999px; }
#tg-398-wrapper .tg-398-hero__chip--wht { background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.16); color:rgba(255,255,255,.7); }
#tg-398-wrapper .tg-398-hero__chip--grn { background:rgba(74,222,128,.08); border-color:rgba(74,222,128,.2); color:var(--grn-400); }

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

/* 도입부 */
#tg-398-wrapper .tg-398-intro { background:#fff; border:1px solid var(--sl-200); border-top:4px solid var(--ice-300); border-radius:var(--radius-md); padding:36px 28px; text-align:center; box-shadow:var(--shadow-sm); }
#tg-398-wrapper .tg-398-intro__icon { font-size:2.4rem; color:var(--ice-600); margin-bottom:14px; }
#tg-398-wrapper .tg-398-intro__title { font-size:clamp(1.05rem,2.8vw,1.3rem); font-weight:800; color:var(--sl-900); margin-bottom:14px; }
#tg-398-wrapper .tg-398-intro p { color:var(--text-sub); max-width:680px; margin-left:auto; margin-right:auto; }
#tg-398-wrapper .tg-398-feat-row { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; margin-top:22px; max-width:540px; margin-left:auto; margin-right:auto; }
#tg-398-wrapper .tg-398-feat-item { padding:14px 10px; border-radius:12px; background:rgba(103,232,249,.05); border:1px solid rgba(103,232,249,.14); text-align:center; }
#tg-398-wrapper .tg-398-feat-item__ico { font-size:1.4rem; color:var(--ice-600); margin-bottom:7px; display:block; }
#tg-398-wrapper .tg-398-feat-item__title { font-size:.78rem; font-weight:800; color:var(--sl-900); margin-bottom:3px !important; }
#tg-398-wrapper .tg-398-feat-item p { margin-bottom:0 !important; font-size:.68rem; color:var(--sl-500); line-height:1.45; }

/* 공통 섹션 */
#tg-398-wrapper .tg-398-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-398-wrapper .tg-398-section--dark { background:var(--dk-base); border-color:rgba(103,232,249,.1); }
#tg-398-wrapper .tg-398-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-398-wrapper .tg-398-section__label--dark { background:rgba(255,255,255,.1); color:#fff; border:1px solid rgba(255,255,255,.2); }
#tg-398-wrapper .tg-398-section__label--ice  { background:rgba(103,232,249,.08); color:var(--ice-700); }
#tg-398-wrapper .tg-398-section__label .material-symbols-outlined { font-size:1rem; }
#tg-398-wrapper .tg-398-section__title--light { color:#fff; font-size:clamp(1.2rem,3vw,1.5rem); font-weight:900; letter-spacing:-.02em; margin-bottom:16px !important; text-align:center; line-height:1.35; }
#tg-398-wrapper .tg-398-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-398-wrapper .tg-398-section > p { color:var(--text-sub); max-width:680px; margin-left:auto; margin-right:auto; }
#tg-398-wrapper .tg-398-section__desc--light { color:rgba(255,255,255,.8) !important; margin-bottom:28px !important; }

/* 핵심 장점 그리드 */
#tg-398-wrapper .tg-398-adv-grid { display:grid; grid-template-columns:1fr; gap:12px; max-width:720px; margin:0 auto; text-align:left; }
#tg-398-wrapper .tg-398-adv-item { border:1px solid var(--sl-200); border-radius:14px; padding:20px 22px; background:#fff; }
#tg-398-wrapper .tg-398-adv-item--highlight { border-color:rgba(74,222,128,.28); background:rgba(74,222,128,.04); }
#tg-398-wrapper .tg-398-adv-item__ico { width:42px; height:42px; border-radius:11px; background:rgba(103,232,249,.1); border:1px solid rgba(103,232,249,.2); display:flex; align-items:center; justify-content:center; font-size:1.2rem; color:var(--ice-600); margin-bottom:12px; }
#tg-398-wrapper .tg-398-adv-item__ico--wht { background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.15); color:var(--sl-400); }
#tg-398-wrapper .tg-398-adv-item__ico--grn { background:rgba(74,222,128,.1); border-color:rgba(74,222,128,.25); color:var(--grn-400); }
#tg-398-wrapper .tg-398-adv-item__title { font-size:.95rem; font-weight:800; color:var(--sl-900); margin-bottom:6px !important; }
#tg-398-wrapper .tg-398-adv-item__desc  { font-size:.82rem; color:var(--text-sub); line-height:1.65; margin-bottom:0 !important; }

/* ═══════ 시뮬레이터 */
/* 진행 인디케이터 */
#tg-398-wrapper .tg-398-progress { display:flex; align-items:center; justify-content:center; gap:0; margin-bottom:22px; }
#tg-398-wrapper .tg-398-progress__item { display:flex; flex-direction:column; align-items:center; gap:5px; min-width:64px; }
#tg-398-wrapper .tg-398-progress__dot { width:38px; height:38px; border-radius:50%; border:2px solid rgba(255,255,255,.1); background:rgba(255,255,255,.06); display:flex; align-items:center; justify-content:center; font-size:.9rem; color:rgba(255,255,255,.25); transition:all .3s; }
#tg-398-wrapper .tg-398-progress__item--active .tg-398-progress__dot { border-color:var(--ice-300); background:rgba(103,232,249,.12); color:var(--ice-300); box-shadow:0 0 14px rgba(103,232,249,.3); }
#tg-398-wrapper .tg-398-progress__item--done   .tg-398-progress__dot { border-color:var(--grn-400); background:rgba(74,222,128,.12); color:var(--grn-400); }
#tg-398-wrapper .tg-398-progress__lbl { font-size:.62rem; font-weight:700; color:rgba(255,255,255,.2); }
#tg-398-wrapper .tg-398-progress__item--active .tg-398-progress__lbl { color:var(--ice-300); }
#tg-398-wrapper .tg-398-progress__item--done   .tg-398-progress__lbl { color:var(--grn-400); }
#tg-398-wrapper .tg-398-progress__line { flex:1; height:2px; background:rgba(255,255,255,.08); max-width:40px; }

#tg-398-wrapper .tg-398-sim-wrap { max-width:380px; margin:0 auto; text-align:left; }
#tg-398-wrapper .tg-398-sim-hint { font-size:.7rem; color:rgba(255,255,255,.22); text-align:center; margin-top:8px !important; }
#tg-398-wrapper .tg-398-stage { animation:tg398FadeIn .3s ease; }

/* Stage 1: 설정 메뉴 모킹 */
#tg-398-wrapper .tg-398-phone-mock { background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08); border-radius:16px; overflow:hidden; }
#tg-398-wrapper .tg-398-phone-mock__hd { display:flex; align-items:center; gap:10px; padding:13px 16px; border-bottom:1px solid rgba(255,255,255,.05); }
#tg-398-wrapper .tg-398-mock-back { width:28px; height:28px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:rgba(255,255,255,.06); color:rgba(255,255,255,.35); transition:background .18s; flex-shrink:0; }
#tg-398-wrapper .tg-398-mock-back:hover { background:rgba(255,255,255,.1); }
#tg-398-wrapper .tg-398-mock-back .material-symbols-outlined { font-size:.8rem; }
#tg-398-wrapper .tg-398-phone-mock__title { font-size:.82rem; font-weight:800; color:rgba(255,255,255,.6); margin-bottom:0 !important; flex:1; }
#tg-398-wrapper .tg-398-phone-mock__body { padding:6px 0; }
/* 메뉴 그룹 */
#tg-398-wrapper .tg-398-menu-group { padding:6px 0; }
#tg-398-wrapper .tg-398-menu-group__label { font-size:.62rem; font-weight:700; color:rgba(255,255,255,.22); padding:4px 16px 2px; text-transform:uppercase; letter-spacing:.06em; margin-bottom:0 !important; }
/* 메뉴 아이템 */
#tg-398-wrapper .tg-398-menu-item { display:flex; align-items:center; gap:11px; padding:11px 16px; transition:background .18s; width:100%; }
#tg-398-wrapper .tg-398-menu-item--target:hover { background:rgba(103,232,249,.06); }
#tg-398-wrapper .tg-398-menu-item--target { position:relative; }
#tg-398-wrapper .tg-398-menu-item__ico { font-size:1.1rem; flex-shrink:0; width:22px; text-align:center; }
#tg-398-wrapper .tg-398-menu-item__ico--blue { color:#60a5fa; }
#tg-398-wrapper .tg-398-menu-item__ico--grn  { color:var(--grn-400); }
#tg-398-wrapper .tg-398-menu-item__ico--ice  { color:var(--ice-300); }
#tg-398-wrapper .tg-398-menu-item__ico--org  { color:var(--org-400); }
#tg-398-wrapper .tg-398-menu-item__txt { flex:1; font-size:.8rem; color:rgba(255,255,255,.55); }
#tg-398-wrapper .tg-398-menu-item--target .tg-398-menu-item__txt { color:rgba(255,255,255,.8); font-weight:600; }
#tg-398-wrapper .tg-398-menu-item__highlight { font-size:.68rem; color:var(--ice-300); font-weight:700; margin-left:4px; }
#tg-398-wrapper .tg-398-menu-item__arr { font-size:.85rem; color:rgba(255,255,255,.2); flex-shrink:0; }
#tg-398-wrapper .tg-398-menu-item--target .tg-398-menu-item__arr { color:var(--ice-300); }
/* 힌트 */
#tg-398-wrapper .tg-398-mock-hint { font-size:.65rem; color:var(--ice-300); text-align:center; padding:8px 12px 12px; display:flex; align-items:center; justify-content:center; gap:5px; margin-bottom:0 !important; opacity:.7; }
#tg-398-wrapper .tg-398-mock-hint .material-symbols-outlined { font-size:.8rem; animation:tg398TapBounce 1.5s ease-in-out infinite; }
@keyframes tg398TapBounce { 0%,100%{transform:scale(1);}50%{transform:scale(1.25) translateY(-2px);} }

/* Stage 2: 패스키 패널 */
#tg-398-wrapper .tg-398-passkey-panel { background:rgba(255,255,255,.04); border:1px solid rgba(103,232,249,.12); border-radius:16px; overflow:hidden; }
#tg-398-wrapper .tg-398-passkey-panel__hd { display:flex; align-items:center; gap:10px; padding:12px 14px; border-bottom:1px solid rgba(255,255,255,.05); }
#tg-398-wrapper .tg-398-back-s2 { width:28px; height:28px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:rgba(255,255,255,.06); color:rgba(255,255,255,.35); transition:background .18s; flex-shrink:0; }
#tg-398-wrapper .tg-398-back-s2:hover { background:rgba(255,255,255,.1); }
#tg-398-wrapper .tg-398-back-s2 .material-symbols-outlined { font-size:.9rem; }
#tg-398-wrapper .tg-398-passkey-panel__title { font-size:.8rem; font-weight:800; color:rgba(255,255,255,.5); margin-bottom:0 !important; }
/* 패스키 없음 */
#tg-398-wrapper .tg-398-passkey-empty { padding:24px 18px; text-align:center; }
#tg-398-wrapper .tg-398-passkey-empty__ico { font-size:2.8rem; color:var(--ice-300); margin-bottom:12px; display:block; opacity:.6; }
#tg-398-wrapper .tg-398-passkey-empty__title { font-size:.88rem; font-weight:800; color:rgba(255,255,255,.7); margin-bottom:6px !important; }
#tg-398-wrapper .tg-398-passkey-empty__desc  { font-size:.74rem; color:rgba(255,255,255,.32); line-height:1.6; margin-bottom:16px !important; }
#tg-398-wrapper .tg-398-create-btn { display:inline-flex; align-items:center; gap:7px; padding:12px 22px; border-radius:10px; background:linear-gradient(135deg, var(--ice-300), var(--ice-500)); color:#000; font-size:.88rem; font-weight:900; box-shadow:var(--shadow-ice); transition:opacity .18s; }
#tg-398-wrapper .tg-398-create-btn:hover { opacity:.88; }
#tg-398-wrapper .tg-398-create-btn .material-symbols-outlined { font-size:1rem; }
/* 기기 선택 */
#tg-398-wrapper .tg-398-device-select { padding:14px 16px 18px; }
#tg-398-wrapper .tg-398-device-select__lbl { font-size:.7rem; font-weight:700; color:rgba(255,255,255,.3); margin-bottom:10px !important; text-align:center; }
#tg-398-wrapper .tg-398-device-btns { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
#tg-398-wrapper .tg-398-device-btn { display:flex; flex-direction:column; align-items:center; gap:6px; padding:12px 6px; border-radius:11px; background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08); font-size:.68rem; font-weight:700; color:rgba(255,255,255,.35); transition:all .2s; line-height:1.4; text-align:center; }
#tg-398-wrapper .tg-398-device-btn .material-symbols-outlined { font-size:1.4rem; }
#tg-398-wrapper .tg-398-device-btn--ios:hover  { background:rgba(103,232,249,.1); border-color:rgba(103,232,249,.3); color:var(--ice-300); }
#tg-398-wrapper .tg-398-device-btn--and:hover  { background:rgba(74,222,128,.1); border-color:rgba(74,222,128,.25); color:var(--grn-400); }
#tg-398-wrapper .tg-398-device-btn--pc:hover   { background:rgba(251,146,60,.08); border-color:rgba(251,146,60,.2); color:var(--org-400); }
#tg-398-wrapper .tg-398-device-btn small { font-size:.58rem; font-weight:600; opacity:.7; }
/* 스캐닝 */
#tg-398-wrapper .tg-398-scanning { padding:28px 18px; text-align:center; }
#tg-398-wrapper .tg-398-scanning__wrap { display:inline-flex; flex-direction:column; align-items:center; gap:14px; }
#tg-398-wrapper .tg-398-scan-ico { position:relative; width:80px; height:80px; display:flex; align-items:center; justify-content:center; }
#tg-398-wrapper .tg-398-scan-ico__symbol { font-size:2.6rem; color:var(--ice-300); position:relative; z-index:2; animation:tg398FingerprintPulse 1.2s ease-in-out infinite; }
@keyframes tg398FingerprintPulse { 0%,100%{opacity:.6;filter:drop-shadow(0 0 4px rgba(103,232,249,.4));}50%{opacity:1;filter:drop-shadow(0 0 18px rgba(103,232,249,.9));} }
#tg-398-wrapper .tg-398-scan-ico__ring { position:absolute; inset:-8px; border-radius:50%; border:2px solid rgba(103,232,249,.3); animation:tg398ScanRing 1.2s ease-in-out infinite; }
@keyframes tg398ScanRing { 0%,100%{transform:scale(1);opacity:.3;}50%{transform:scale(1.15);opacity:.9;} }
#tg-398-wrapper .tg-398-scan-line { position:absolute; width:100%; height:2px; background:linear-gradient(90deg, transparent, var(--ice-300), transparent); top:0; animation:tg398ScanLine 1.5s linear infinite; border-radius:1px; }
@keyframes tg398ScanLine { 0%{top:0%;opacity:0;}10%{opacity:1;}90%{opacity:1;}100%{top:100%;opacity:0;} }
#tg-398-wrapper .tg-398-scanning__txt { font-size:.85rem; font-weight:800; color:rgba(255,255,255,.7); margin-bottom:0 !important; }
#tg-398-wrapper .tg-398-scanning__sub { font-size:.72rem; color:rgba(255,255,255,.28); margin-bottom:0 !important; }

/* Stage 3: 완료 */
#tg-398-wrapper .tg-398-success { padding:24px 18px; text-align:center; }
#tg-398-wrapper .tg-398-success__ico { position:relative; display:inline-flex; align-items:center; justify-content:center; margin-bottom:14px; }
#tg-398-wrapper .tg-398-success__ico .material-symbols-outlined { font-size:3rem; color:var(--grn-400); animation:tg398SuccessPop .5s ease; }
@keyframes tg398SuccessPop { 0%{transform:scale(.5);opacity:0;}60%{transform:scale(1.15);}100%{transform:scale(1);opacity:1;} }
#tg-398-wrapper .tg-398-success__ring { position:absolute; inset:-10px; border-radius:50%; border:2px solid rgba(74,222,128,.3); animation:tg398SuccessRing .8s ease forwards; }
@keyframes tg398SuccessRing { 0%{transform:scale(.5);opacity:0;}100%{transform:scale(1);opacity:1;} }
#tg-398-wrapper .tg-398-success__title { font-size:.95rem; font-weight:900; color:#fff; margin-bottom:4px !important; }
#tg-398-wrapper .tg-398-success__sub   { font-size:.74rem; color:rgba(255,255,255,.35); margin-bottom:16px !important; }
/* 저장 위치 */
#tg-398-wrapper .tg-398-storage-info { display:flex; align-items:center; gap:10px; padding:11px 14px; background:rgba(74,222,128,.07); border:1px solid rgba(74,222,128,.2); border-radius:10px; margin-bottom:14px; text-align:left; }
#tg-398-wrapper .tg-398-storage-info__ico { font-size:1.4rem; color:var(--grn-400); flex-shrink:0; }
#tg-398-wrapper .tg-398-storage-info__title { font-size:.78rem; font-weight:800; color:rgba(255,255,255,.7); margin-bottom:2px !important; line-height:1.3 !important; }
#tg-398-wrapper .tg-398-storage-info__desc  { font-size:.65rem; color:rgba(255,255,255,.28); margin-bottom:0 !important; }
/* 로그인 미리보기 */
#tg-398-wrapper .tg-398-login-preview { background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08); border-radius:10px; overflow:hidden; margin-bottom:16px; text-align:left; }
#tg-398-wrapper .tg-398-login-preview__lbl { font-size:.65rem; font-weight:700; color:rgba(255,255,255,.25); padding:8px 12px 4px; display:flex; align-items:center; gap:5px; margin-bottom:0 !important; }
#tg-398-wrapper .tg-398-login-preview__lbl .material-symbols-outlined { font-size:.8rem; color:var(--ice-400); }
#tg-398-wrapper .tg-398-login-preview__row { display:flex; align-items:center; gap:8px; padding:8px 12px; border-top:1px solid rgba(255,255,255,.04); }
#tg-398-wrapper .tg-398-login-preview__row--after { background:rgba(103,232,249,.05); }
#tg-398-wrapper .tg-398-login-preview__step { width:24px; height:24px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:.58rem; font-weight:900; background:rgba(248,113,113,.15); color:var(--red-400); flex-shrink:0; }
#tg-398-wrapper .tg-398-login-preview__step--after { background:rgba(103,232,249,.15); color:var(--ice-300); }
#tg-398-wrapper .tg-398-login-preview__txt { font-size:.7rem; color:rgba(255,255,255,.45); line-height:1.4; display:flex; align-items:center; gap:4px; }
#tg-398-wrapper .tg-398-login-preview__txt .material-symbols-outlined { font-size:.85rem; color:var(--ice-300); }
/* 버튼 */
#tg-398-wrapper .tg-398-success__btns { display:flex; flex-direction:column; gap:8px; }
#tg-398-wrapper .tg-398-restart-btn { display:flex; align-items:center; justify-content:center; gap:7px; padding:10px 20px; border-radius:999px; background:rgba(103,232,249,.1); border:1px solid rgba(103,232,249,.25); color:var(--ice-300); font-size:.82rem; font-weight:800; transition:background .18s; }
#tg-398-wrapper .tg-398-restart-btn:hover { background:rgba(103,232,249,.18); }

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

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

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

/* 반응형 */
@media (min-width:480px)  { #tg-398-wrapper .tg-398-feat-row { grid-template-columns:repeat(4,1fr); } }
@media (min-width:640px)  { #tg-398-wrapper .tg-398-adv-grid { grid-template-columns:repeat(3,1fr); } #tg-398-wrapper .tg-398-summary__grid { grid-template-columns:repeat(4,1fr); } }
@media (min-width:900px)  { #tg-398-wrapper .tg-398-hero { padding:80px 56px 90px; } #tg-398-wrapper .tg-398-section, #tg-398-wrapper .tg-398-intro { padding:52px 48px; } }
