/*
 * tips325/style.css  v1.0.0
 * 미니 앱 바(Mini App Bar) 가이드 전용 스타일
 * 테마: 딥테일·시안·일렉트릭 블루 | 다크 시뮬레이터
 * 그누보드5 완전 격리 | BEM | 모바일 퍼스트
 */

/* ─────────────────────────────────────────
   전체 리셋
───────────────────────────────────────── */
#tg-325-wrapper,
#tg-325-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-325-wrapper h1,
#tg-325-wrapper h2,
#tg-325-wrapper h3,
#tg-325-wrapper h4 {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    line-height: 1.35;
}

#tg-325-wrapper strong,
#tg-325-wrapper b { color: inherit; font-weight: 700; }

#tg-325-wrapper p {
    margin-bottom: 16px !important;
    line-height: 1.85 !important;
}

#tg-325-wrapper p:last-child { margin-bottom: 0 !important; }
#tg-325-wrapper button { cursor: pointer; }
#tg-325-wrapper em { font-style: italic; }

/* ─────────────────────────────────────────
   디자인 토큰
───────────────────────────────────────── */
#tg-325-wrapper {
    /* 시안·테일 */
    --cyan-300: #67e8f9;
    --cyan-400: #22d3ee;
    --cyan-500: #06b6d4;
    --cyan-600: #0891b2;
    --cyan-700: #0e7490;
    /* 테일 */
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    /* 인디고·블루 */
    --blue-400: #60a5fa;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    /* 퍼플 */
    --purple-400: #c084fc;
    --purple-500: #a855f7;
    --purple-600: #9333ea;
    /* 그린 */
    --green-400: #4ade80;
    --green-500: #22c55e;
    /* 레드 */
    --red-500: #ef4444;
    /* 슬레이트 */
    --slate-50:  #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    /* 의미론적 */
    --text-main: #1e293b;
    --text-sub:  #475569;
    /* 반경 */
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    /* 그림자 */
    --shadow-xs: 0 1px 4px rgba(0,0,0,.06);
    --shadow-sm: 0 2px 10px rgba(0,0,0,.08);
    --shadow-md: 0 8px 28px rgba(0,0,0,.13);
    /* 폰트 크기 토큰 (rules.md 표준) */
    --fs-xs:   .8rem;
    --fs-sm:   .9rem;
    --fs-base: 1rem;
    --fs-md:   1.05rem;
    --fs-lg:   1.2rem;
    --fs-xl:   1.45rem;

    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%;
}

#tg-325-wrapper .material-symbols-outlined {
    font-size: inherit;
    vertical-align: middle;
    line-height: 1;
}

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

/* ═════════════════════════════════════════
   HERO
═════════════════════════════════════════ */
#tg-325-wrapper .tg-325-hero {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    padding: 56px 32px 64px;
    background: linear-gradient(135deg, #020d1a 0%, #051929 40%, #083344 70%, #074d5c 100%);
    text-align: center;
    margin-bottom: 32px;
}

#tg-325-wrapper .tg-325-hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 45% at 20% 30%, rgba(6,182,212,.18) 0%, transparent 65%),
        radial-gradient(ellipse 55% 45% at 80% 70%, rgba(20,184,166,.14) 0%, transparent 65%),
        radial-gradient(ellipse 40% 35% at 50% 50%, rgba(59,130,246,.10) 0%, transparent 60%);
    pointer-events: none;
}

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

/* 플로우 아이콘 */
#tg-325-wrapper .tg-325-hero__flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
}

#tg-325-wrapper .tg-325-hero__flow-item {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    color: rgba(255,255,255,.75);
    border: 1px solid rgba(255,255,255,.15);
}

#tg-325-wrapper .tg-325-hero__flow-item--accent {
    width: 66px;
    height: 66px;
    background: linear-gradient(135deg, var(--cyan-500), var(--cyan-700));
    color: #fff;
    box-shadow: 0 0 32px rgba(6,182,212,.5);
    border-color: var(--cyan-400);
    font-size: 1.85rem;
}

#tg-325-wrapper .tg-325-hero__flow-item--chat {
    background: linear-gradient(135deg, var(--teal-500), var(--teal-600));
    color: #fff;
    box-shadow: 0 0 24px rgba(20,184,166,.4);
    border-color: var(--teal-400);
}

#tg-325-wrapper .tg-325-hero__flow-arrow {
    font-size: 1.3rem;
    color: rgba(255,255,255,.3);
}

/* 배지 */
#tg-325-wrapper .tg-325-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(6,182,212,.2);
    border: 1px solid rgba(6,182,212,.4);
    color: var(--cyan-300);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .08em;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 20px;
}

#tg-325-wrapper .tg-325-hero__badge .material-symbols-outlined { font-size: 1rem; }

/* 제목 */
#tg-325-wrapper .tg-325-hero__title {
    font-size: clamp(1.6rem, 4.5vw, 2.25rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.3;
    letter-spacing: -.02em;
    margin-bottom: 18px;
}

/* 부제목 */
#tg-325-wrapper .tg-325-hero__subtitle {
    font-size: clamp(.93rem, 2.2vw, 1.05rem);
    color: rgba(255,255,255,.68);
    line-height: 1.8;
    margin-bottom: 28px !important;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* 태그 */
#tg-325-wrapper .tg-325-hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

#tg-325-wrapper .tg-325-hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    color: rgba(255,255,255,.78);
    font-size: .82rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
}

#tg-325-wrapper .tg-325-hero__tag .material-symbols-outlined { font-size: 1rem; }

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

/* 도입부 */
#tg-325-wrapper .tg-325-intro {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    text-align: center;
}

#tg-325-wrapper .tg-325-intro__icon {
    font-size: 2.2rem;
    color: var(--cyan-500);
    margin-bottom: 14px;
}

#tg-325-wrapper .tg-325-intro__icon .material-symbols-outlined { font-size: 2.2rem; }

#tg-325-wrapper .tg-325-intro__heading {
    font-size: clamp(1.1rem, 2.6vw, 1.3rem);
    font-weight: 800;
    color: var(--slate-800);
    letter-spacing: -.01em;
    margin-bottom: 14px;
    line-height: 1.45;
}

#tg-325-wrapper .tg-325-intro p {
    font-size: var(--fs-base);
    color: var(--text-sub);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.85 !important;
}

/* 공통 섹션 */
#tg-325-wrapper .tg-325-section {
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    text-align: left;
}

/* 레이블 */
#tg-325-wrapper .tg-325-section__label {
    display: flex;
    align-items: center;
    gap: 7px;
    background: var(--slate-100);
    border: 1px solid var(--slate-200);
    color: var(--slate-700);
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .02em;
    padding: 8px 20px;
    border-radius: 999px;
    margin-bottom: 20px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

#tg-325-wrapper .tg-325-section__label--sim {
    background: rgba(6,182,212,.08);
    border-color: rgba(6,182,212,.25);
    color: var(--cyan-600);
}

#tg-325-wrapper .tg-325-section__label--guide {
    background: rgba(59,130,246,.08);
    border-color: rgba(59,130,246,.25);
    color: var(--blue-600);
}

#tg-325-wrapper .tg-325-section__label--tips {
    background: rgba(20,184,166,.1);
    border-color: rgba(20,184,166,.3);
    color: var(--teal-600);
}

#tg-325-wrapper .tg-325-section__label .material-symbols-outlined { font-size: 1.15rem; }

/* 섹션 제목 */
#tg-325-wrapper .tg-325-section__title {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 900;
    color: var(--slate-800);
    letter-spacing: -.02em;
    line-height: 1.35;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
}

#tg-325-wrapper .tg-325-section__title .material-symbols-outlined {
    font-size: 1.5rem;
    color: var(--cyan-500);
}

#tg-325-wrapper .tg-325-section > p {
    font-size: var(--fs-base);
    color: var(--text-sub);
    text-align: center;
    line-height: 1.85;
    margin-bottom: 28px !important;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

/* ═════════════════════════════════════════
   카드 (섹션 1)
═════════════════════════════════════════ */
#tg-325-wrapper .tg-325-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 10px;
}

#tg-325-wrapper .tg-325-card {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: box-shadow .3s, transform .3s;
}

#tg-325-wrapper .tg-325-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

#tg-325-wrapper .tg-325-card__icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--cyan-500), var(--cyan-700));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
}

#tg-325-wrapper .tg-325-card__icon--teal {
    background: linear-gradient(135deg, var(--teal-400), var(--teal-600));
}

#tg-325-wrapper .tg-325-card__icon--green {
    background: linear-gradient(135deg, var(--green-500), #15803d);
}

#tg-325-wrapper .tg-325-card__title {
    font-size: var(--fs-lg);
    font-weight: 800;
    color: var(--slate-800);
    letter-spacing: -.015em;
}

#tg-325-wrapper .tg-325-card__desc {
    font-size: var(--fs-base);
    color: var(--text-sub);
    line-height: 1.8;
}

/* ═════════════════════════════════════════
   시뮬레이터
═════════════════════════════════════════ */
#tg-325-wrapper .tg-325-sim {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 10px;
}

/* 폰 화면 */
#tg-325-wrapper .tg-325-sim-phone {
    position: relative;
    background: linear-gradient(to bottom, #06101e, #0a1a2e);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    min-height: 360px;
}

/* 미니 앱 카드들 */
#tg-325-wrapper .tg-325-mini-apps {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

/* 앱 카드 */
#tg-325-wrapper .tg-325-app-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: all .35s ease;
}

#tg-325-wrapper .tg-325-app-card.is-minimized {
    display: none;
}

/* 카드 헤더 */
#tg-325-wrapper .tg-325-app-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: linear-gradient(90deg, var(--cyan-600), var(--cyan-700));
    gap: 10px;
}

#tg-325-wrapper .tg-325-app-card__header--blue {
    background: linear-gradient(90deg, var(--blue-600), #1d4ed8);
}

#tg-325-wrapper .tg-325-app-card__header--purple {
    background: linear-gradient(90deg, var(--purple-600), var(--purple-500));
}

#tg-325-wrapper .tg-325-app-card__header-left {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 1rem;
}

#tg-325-wrapper .tg-325-app-card__name {
    font-size: var(--fs-sm);
    font-weight: 700;
    color: #fff;
}

#tg-325-wrapper .tg-325-minimize-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    color: #fff;
    font-size: 1.3rem;
    transition: background .2s, transform .15s;
    flex-shrink: 0;
}

#tg-325-wrapper .tg-325-minimize-btn:hover {
    background: rgba(255,255,255,.3);
    transform: scale(1.12);
}

/* 카드 바디 */
#tg-325-wrapper .tg-325-app-card__body {
    padding: 14px 14px 4px;
}

/* 월렛 UI */
#tg-325-wrapper .tg-325-wallet-ui {
    text-align: center;
}

#tg-325-wrapper .tg-325-wallet-ui__label {
    font-size: var(--fs-xs);
    color: rgba(255,255,255,.45);
    margin-bottom: 6px;
}

#tg-325-wrapper .tg-325-wallet-ui__amount {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 1.4rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 14px;
}

#tg-325-wrapper .tg-325-wallet-ui__amount .material-symbols-outlined { font-size: 1.3rem; color: #fbbf24; }

#tg-325-wrapper .tg-325-wallet-ui__btns {
    display: flex;
    gap: 8px;
    justify-content: center;
}

#tg-325-wrapper .tg-325-wallet-ui__btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(6,182,212,.2);
    border: 1px solid rgba(6,182,212,.35);
    color: var(--cyan-300);
    font-size: var(--fs-xs);
    font-weight: 700;
    padding: 7px 16px;
    border-radius: 999px;
}

#tg-325-wrapper .tg-325-wallet-ui__btn .material-symbols-outlined { font-size: .95rem; }

/* 채팅 UI */
#tg-325-wrapper .tg-325-chat-ui {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 4px;
}

#tg-325-wrapper .tg-325-chat-ui__msg {
    font-size: var(--fs-xs);
    line-height: 1.6;
    padding: 8px 12px;
    border-radius: 10px;
    max-width: 80%;
}

#tg-325-wrapper .tg-325-chat-ui__msg--bot {
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.8);
    align-self: flex-start;
}

#tg-325-wrapper .tg-325-chat-ui__msg--user {
    background: rgba(6,182,212,.25);
    color: var(--cyan-300);
    align-self: flex-end;
}

/* 게임 UI */
#tg-325-wrapper .tg-325-game-ui {
    text-align: center;
}

#tg-325-wrapper .tg-325-game-ui__score {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: var(--fs-sm);
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 10px;
}

#tg-325-wrapper .tg-325-game-ui__score .material-symbols-outlined { font-size: 1rem; }

#tg-325-wrapper .tg-325-game-ui__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    margin: 0 auto 8px;
    max-width: 140px;
}

#tg-325-wrapper .tg-325-game-cell {
    aspect-ratio: 1;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: transform .1s, filter .15s;
}

#tg-325-wrapper .tg-325-game-cell:hover { transform: scale(1.08); }

#tg-325-wrapper .tg-325-game-ui__tip {
    font-size: var(--fs-xs);
    color: rgba(255,255,255,.35);
    margin-bottom: 0 !important;
    line-height: 1.5;
}

#tg-325-wrapper .tg-325-app-card__hint {
    font-size: var(--fs-xs);
    color: rgba(255,255,255,.35);
    text-align: center;
    padding: 8px 14px 12px;
    line-height: 1.55;
}

/* 채팅방 (앱 모두 최소화 시) */
#tg-325-wrapper .tg-325-phone-chat {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    animation: tg325FadeIn .35s ease;
}

#tg-325-wrapper .tg-325-phone-chat__header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--fs-sm);
    font-weight: 700;
    color: rgba(255,255,255,.7);
    padding: 8px 4px 4px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

#tg-325-wrapper .tg-325-phone-chat__messages {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

#tg-325-wrapper .tg-325-phone-chat__msg {
    font-size: var(--fs-xs);
    padding: 8px 12px;
    border-radius: 10px;
    max-width: 80%;
    color: rgba(255,255,255,.8);
    line-height: 1.55;
}

#tg-325-wrapper .tg-325-phone-chat__msg--in {
    background: rgba(255,255,255,.08);
    align-self: flex-start;
}

#tg-325-wrapper .tg-325-phone-chat__msg--out {
    background: rgba(6,182,212,.2);
    color: var(--cyan-300);
    align-self: flex-end;
}

#tg-325-wrapper .tg-325-phone-chat__tip {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--fs-xs);
    color: var(--cyan-400);
    background: rgba(6,182,212,.1);
    border: 1px solid rgba(6,182,212,.2);
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 0 !important;
    line-height: 1.5;
    animation: tg325Pulse 2s ease infinite;
}

@keyframes tg325Pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: .6; }
}

/* ── 미니 앱 바 (하단) ── */
#tg-325-wrapper .tg-325-app-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(6,182,212,.12);
    border: 1px solid rgba(6,182,212,.25);
    border-radius: 999px;
    padding: 8px 10px 8px 14px;
    min-height: 48px;
    transition: all .3s;
}

#tg-325-wrapper .tg-325-app-bar__label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: var(--fs-xs);
    font-weight: 700;
    color: var(--cyan-400);
    white-space: nowrap;
    flex-shrink: 0;
}

#tg-325-wrapper .tg-325-app-bar__label .material-symbols-outlined { font-size: 1rem; }

#tg-325-wrapper .tg-325-app-bar__items {
    display: flex;
    gap: 6px;
    flex: 1;
    flex-wrap: wrap;
}

/* 바 아이템 (최소화된 앱 버튼) */
#tg-325-wrapper .tg-325-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    color: rgba(255,255,255,.82);
    font-size: var(--fs-xs);
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
    white-space: nowrap;
    transition: background .2s, transform .15s, box-shadow .2s;
    animation: tg325SlideUp .28s ease;
}

#tg-325-wrapper .tg-325-bar-item:hover {
    background: rgba(6,182,212,.25);
    border-color: rgba(6,182,212,.45);
    transform: scale(1.06);
    box-shadow: 0 4px 12px rgba(6,182,212,.2);
}

#tg-325-wrapper .tg-325-bar-item .material-symbols-outlined { font-size: .95rem; }

#tg-325-wrapper .tg-325-app-bar__reset {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.4);
    font-size: 1.1rem;
    transition: background .2s, color .2s;
    flex-shrink: 0;
}

#tg-325-wrapper .tg-325-app-bar__reset:hover {
    background: rgba(239,68,68,.2);
    color: var(--red-500);
}

@keyframes tg325SlideUp {
    from { opacity: 0; transform: scale(.8) translateY(6px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

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

/* 결과 패널 */
#tg-325-wrapper .tg-325-result-panel {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    min-height: 260px;
    display: flex;
    flex-direction: column;
}

#tg-325-wrapper .tg-325-result-panel__label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: var(--fs-xs);
    font-weight: 700;
    color: var(--slate-500);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--slate-200);
}

#tg-325-wrapper .tg-325-result-panel__label .material-symbols-outlined { font-size: 1.1rem; }

/* 초기 안내 */
#tg-325-wrapper .tg-325-result-idle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    text-align: center;
    gap: 10px;
}

#tg-325-wrapper .tg-325-result-idle__icon {
    font-size: 2.6rem;
    color: var(--cyan-500);
}

#tg-325-wrapper .tg-325-result-idle__icon .material-symbols-outlined { font-size: 2.6rem; }

#tg-325-wrapper .tg-325-result-idle__title {
    font-size: var(--fs-lg);
    font-weight: 800;
    color: var(--slate-700);
    letter-spacing: -.01em;
}

#tg-325-wrapper .tg-325-result-idle__desc {
    font-size: var(--fs-sm);
    color: var(--slate-400);
    text-align: center;
}

#tg-325-wrapper .tg-325-result-idle__apps {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 6px;
}

#tg-325-wrapper .tg-325-result-idle__app-badge {
    font-size: var(--fs-xs);
    background: var(--slate-100);
    border: 1px solid var(--slate-200);
    color: var(--slate-600);
    padding: 4px 12px;
    border-radius: 999px;
    font-weight: 600;
}

/* 최소화 상태 */
#tg-325-wrapper .tg-325-result-minimized {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    text-align: center;
    gap: 10px;
    animation: tg325FadeIn .35s ease;
}

#tg-325-wrapper .tg-325-result-minimized__icon {
    font-size: 2.6rem;
    color: var(--teal-500);
}

#tg-325-wrapper .tg-325-result-minimized__icon .material-symbols-outlined { font-size: 2.6rem; }

#tg-325-wrapper .tg-325-result-minimized__title {
    font-size: var(--fs-xl);
    font-weight: 900;
    color: var(--slate-800);
    letter-spacing: -.02em;
}

#tg-325-wrapper .tg-325-result-minimized__desc {
    font-size: var(--fs-sm);
    color: var(--slate-500);
    text-align: center;
}

#tg-325-wrapper .tg-325-result-minimized__count {
    font-size: var(--fs-base);
    font-weight: 700;
    color: var(--cyan-600);
}

#tg-325-wrapper .tg-325-result-minimized__tip {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--fs-sm);
    color: var(--slate-500);
    background: var(--slate-100);
    border: 1px solid var(--slate-200);
    border-radius: 10px;
    padding: 10px 14px;
    text-align: left;
    line-height: 1.6;
}

#tg-325-wrapper .tg-325-result-minimized__tip .material-symbols-outlined {
    font-size: 1.1rem;
    color: var(--cyan-500);
    flex-shrink: 0;
}

/* 복귀 상태 */
#tg-325-wrapper .tg-325-result-restored {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    text-align: center;
    gap: 10px;
    animation: tg325FadeIn .35s ease;
}

#tg-325-wrapper .tg-325-result-restored__icon {
    font-size: 2.8rem;
    color: var(--green-500);
}

#tg-325-wrapper .tg-325-result-restored__icon .material-symbols-outlined { font-size: 2.8rem; }

#tg-325-wrapper .tg-325-result-restored__title {
    font-size: var(--fs-xl);
    font-weight: 900;
    color: var(--green-500);
    letter-spacing: -.02em;
}

#tg-325-wrapper .tg-325-result-restored__desc {
    font-size: var(--fs-sm);
    color: var(--slate-500);
    text-align: center;
}

/* ═════════════════════════════════════════
   탭 그룹
═════════════════════════════════════════ */
#tg-325-wrapper .tg-325-tab-group {
    display: flex;
    gap: 6px;
    background: var(--slate-100);
    border-radius: var(--radius-sm);
    padding: 5px;
    margin-bottom: 22px;
}

#tg-325-wrapper .tg-325-tab-btn {
    flex: 1;
    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(--slate-500);
    transition: background .2s, color .2s, box-shadow .2s;
}

#tg-325-wrapper .tg-325-tab-btn .material-symbols-outlined { font-size: 1.2rem; }

#tg-325-wrapper .tg-325-tab-btn--active {
    background: #fff;
    color: var(--cyan-600);
    box-shadow: 0 2px 10px rgba(0,0,0,.09);
    font-weight: 700;
}

#tg-325-wrapper .tg-325-tab-panel { display: none; animation: tg325FadeIn .3s ease; }
#tg-325-wrapper .tg-325-tab-panel--active { display: block; }

#tg-325-wrapper .tg-325-tab-panel__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--slate-100);
}

#tg-325-wrapper .tg-325-tab-panel__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    flex-shrink: 0;
}

#tg-325-wrapper .tg-325-tab-panel__icon--mobile {
    background: linear-gradient(135deg, var(--cyan-500), var(--teal-600));
}

#tg-325-wrapper .tg-325-tab-panel__icon--pc {
    background: linear-gradient(135deg, var(--slate-700), var(--slate-900));
}

#tg-325-wrapper .tg-325-tab-panel__title {
    font-size: var(--fs-lg);
    font-weight: 800;
    color: var(--slate-800);
    letter-spacing: -.015em;
    margin-bottom: 4px;
}

#tg-325-wrapper .tg-325-tab-panel__sub {
    font-size: var(--fs-sm);
    color: var(--slate-400);
    margin-bottom: 0 !important;
}

/* 단계 리스트 */
#tg-325-wrapper .tg-325-steps {
    display: flex;
    flex-direction: column;
    gap: 14px;
    counter-reset: tg325step;
}

#tg-325-wrapper .tg-325-steps li {
    counter-increment: tg325step;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: var(--fs-base);
    color: var(--text-sub);
    line-height: 1.75;
}

#tg-325-wrapper .tg-325-steps li::before {
    content: counter(tg325step);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    background: var(--cyan-500);
    color: #fff;
    font-size: .82rem;
    font-weight: 900;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 2px;
}

/* 팁 박스 */
#tg-325-wrapper .tg-325-tip-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(6,182,212,.06);
    border: 1px solid rgba(6,182,212,.2);
    border-radius: var(--radius-sm);
    padding: 18px 20px;
    margin-top: 20px;
    font-size: var(--fs-base);
    color: var(--text-sub);
    line-height: 1.75;
}

#tg-325-wrapper .tg-325-tip-box .material-symbols-outlined {
    font-size: 1.4rem;
    color: var(--cyan-500);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ═════════════════════════════════════════
   아코디언
═════════════════════════════════════════ */
#tg-325-wrapper .tg-325-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

#tg-325-wrapper .tg-325-accordion__item {
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
}

#tg-325-wrapper .tg-325-accordion__item.is-open {
    border-color: var(--cyan-400);
    box-shadow: 0 2px 16px rgba(6,182,212,.12);
}

#tg-325-wrapper .tg-325-accordion__header {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 20px 20px;
    text-align: left;
    background: var(--slate-50);
    transition: background .2s;
}

#tg-325-wrapper .tg-325-accordion__header:hover { background: var(--slate-100); }

#tg-325-wrapper .tg-325-accordion__icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--cyan-500), var(--cyan-700));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
}

#tg-325-wrapper .tg-325-accordion__title {
    flex: 1;
    font-size: var(--fs-base);
    font-weight: 700;
    color: var(--slate-800);
    line-height: 1.45;
}

#tg-325-wrapper .tg-325-accordion__arrow {
    font-size: 1.5rem;
    color: var(--slate-400);
    transition: transform .3s;
    flex-shrink: 0;
}

#tg-325-wrapper .tg-325-accordion__item.is-open .tg-325-accordion__arrow {
    transform: rotate(180deg);
}

#tg-325-wrapper .tg-325-accordion__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .38s ease, padding .38s ease;
    padding: 0 20px;
    background: #fff;
}

#tg-325-wrapper .tg-325-accordion__item.is-open .tg-325-accordion__body {
    max-height: 320px;
    padding: 18px 20px;
}

#tg-325-wrapper .tg-325-accordion__body p {
    font-size: var(--fs-base);
    color: var(--text-sub);
    line-height: 1.85;
    margin-bottom: 0 !important;
}

/* ═════════════════════════════════════════
   결론 요약
═════════════════════════════════════════ */
#tg-325-wrapper .tg-325-summary {
    background: linear-gradient(135deg, #020d1a 0%, #051929 40%, #083344 70%, #0c4a61 100%);
    border-radius: var(--radius-md);
    padding: 48px 36px;
    color: #fff;
}

#tg-325-wrapper .tg-325-summary__title {
    font-size: clamp(1.25rem, 3.5vw, 1.6rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: -.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    margin-bottom: 16px;
}

#tg-325-wrapper .tg-325-summary__title .material-symbols-outlined {
    font-size: 1.6rem;
    color: var(--cyan-400);
}

#tg-325-wrapper .tg-325-summary__desc {
    font-size: var(--fs-base);
    color: rgba(255,255,255,.7);
    text-align: center;
    line-height: 1.85;
    margin-bottom: 28px !important;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

#tg-325-wrapper .tg-325-summary__checklist {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 36px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

#tg-325-wrapper .tg-325-summary__checklist li {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    font-size: var(--fs-base);
    color: rgba(255,255,255,.82);
    line-height: 1.7;
}

#tg-325-wrapper .tg-325-summary__checklist li .material-symbols-outlined {
    font-size: 1.1rem;
    color: var(--cyan-400);
    margin-top: 3px;
    flex-shrink: 0;
}

#tg-325-wrapper .tg-325-summary__checklist li strong { color: #fff; }

#tg-325-wrapper .tg-325-footer {
    border-top: 1px solid rgba(255,255,255,.12);
    padding-top: 28px;
    text-align: center;
}

#tg-325-wrapper .tg-325-footer__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--cyan-500), var(--cyan-700));
    color: #fff;
    font-size: var(--fs-base);
    font-weight: 800;
    padding: 15px 32px;
    border-radius: 999px;
    box-shadow: 0 4px 24px rgba(6,182,212,.38);
    transition: box-shadow .28s, transform .22s;
    letter-spacing: -.01em;
}

#tg-325-wrapper .tg-325-footer__btn:hover {
    box-shadow: 0 8px 32px rgba(6,182,212,.55);
    transform: translateY(-3px);
}

#tg-325-wrapper .tg-325-footer__btn .material-symbols-outlined { font-size: 1.1rem; }

/* ═════════════════════════════════════════
   반응형
═════════════════════════════════════════ */
@media (min-width: 640px) {
    #tg-325-wrapper .tg-325-hero { padding: 72px 56px 80px; }

    #tg-325-wrapper .tg-325-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    #tg-325-wrapper .tg-325-sim {
        flex-direction: row;
        align-items: flex-start;
    }

    #tg-325-wrapper .tg-325-sim-phone {
        flex: 1;
        min-width: 0;
    }

    #tg-325-wrapper .tg-325-result-panel {
        flex: 0 0 270px;
        min-height: 460px;
    }
}

@media (min-width: 900px) {
    #tg-325-wrapper .tg-325-section { padding: 48px 44px; }
    #tg-325-wrapper .tg-325-result-panel { flex: 0 0 300px; }
    #tg-325-wrapper .tg-325-summary { padding: 60px 56px; }
}
