/*
 * tips330/style.css  v1.0.0
 * 텔레그램 미니 앱 스토어 가이드 전용 스타일
 * 테마: 퓨시아·비비드 핑크·라임 (앱 마켓 에너지)
 * 그누보드5 완전 격리 | BEM | 모바일 퍼스트
 */

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

/* ─────────────────────────────────────────
   디자인 토큰
───────────────────────────────────────── */
#tg-330-wrapper {
    /* 퓨시아 */
    --fu-300: #f0abfc;
    --fu-400: #e879f9;
    --fu-500: #d946ef;
    --fu-600: #c026d3;
    --fu-700: #a21caf;
    /* 라임 */
    --li-300: #bef264;
    --li-400: #a3e635;
    --li-500: #84cc16;
    --li-600: #65a30d;
    /* 시안 */
    --cy-400: #22d3ee;
    --cy-500: #06b6d4;
    /* 슬레이트 */
    --sl-50:  #f8fafc;
    --sl-100: #f1f5f9;
    --sl-200: #e2e8f0;
    --sl-300: #cbd5e1;
    --sl-400: #94a3b8;
    --sl-500: #64748b;
    --sl-600: #475569;
    --sl-700: #334155;
    --sl-800: #1e293b;
    --sl-900: #0f172a;
    --text-main: #1e293b;
    --text-sub:  #475569;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --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-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-330-wrapper .material-symbols-outlined {
    font-size: inherit;
    vertical-align: middle;
    line-height: 1;
}

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

/* ═════════════════════════════════════════
   HERO
═════════════════════════════════════════ */
#tg-330-wrapper .tg-330-hero {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    padding: 56px 32px 64px;
    background: linear-gradient(135deg, #0d0015 0%, #1f0030 30%, #420060 60%, #7200a0 100%);
    text-align: center;
    margin-bottom: 32px;
}

#tg-330-wrapper .tg-330-hero__bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 55% 45% at 25% 35%, rgba(217,70,239,.3) 0%, transparent 60%),
        radial-gradient(ellipse 45% 40% at 75% 65%, rgba(132,204,22,.18) 0%, transparent 55%),
        radial-gradient(ellipse 35% 30% at 55% 15%, rgba(6,182,212,.14) 0%, transparent 50%);
    pointer-events: none;
}

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

/* 앱 아이콘 그리드 */
#tg-330-wrapper .tg-330-hero__app-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

#tg-330-wrapper .tg-330-app-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    border: 1px solid rgba(255,255,255,.1);
}

#tg-330-wrapper .tg-330-app-icon--1 { background: rgba(217,70,239,.22); color: var(--fu-300); animation: tg330AppFloat 3.2s ease infinite; }
#tg-330-wrapper .tg-330-app-icon--2 { background: rgba(132,204,22,.18); color: var(--li-300); animation: tg330AppFloat 3.5s ease .2s infinite; }
#tg-330-wrapper .tg-330-app-icon--3 { background: rgba(6,182,212,.18);  color: var(--cy-400); animation: tg330AppFloat 3.8s ease .4s infinite; }
#tg-330-wrapper .tg-330-app-icon--4 { background: rgba(217,70,239,.35); color: var(--fu-300); font-size: 1.7rem; width: 56px; height: 56px; border-radius: 14px; border-color: rgba(217,70,239,.45); animation: tg330AppFloat 4s ease .1s infinite; }
#tg-330-wrapper .tg-330-app-icon--5 { background: rgba(251,191,36,.18); color: #fde68a; animation: tg330AppFloat 3.2s ease .3s infinite; }
#tg-330-wrapper .tg-330-app-icon--6 { background: rgba(248,113,113,.18); color: #fca5a5; animation: tg330AppFloat 3.6s ease .5s infinite; }
#tg-330-wrapper .tg-330-app-icon--7 { background: rgba(52,211,153,.18);  color: #6ee7b7; animation: tg330AppFloat 3.4s ease .2s infinite; }

@keyframes tg330AppFloat {
    0%, 100% { transform: translateY(0);  opacity: .7; }
    50%       { transform: translateY(-7px); opacity: 1; }
}

/* 배지 */
#tg-330-wrapper .tg-330-hero__badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(217,70,239,.18);
    border: 1px solid rgba(217,70,239,.4);
    color: var(--fu-300);
    font-size: .82rem; font-weight: 700; letter-spacing: .08em;
    padding: 6px 16px; border-radius: 999px; margin-bottom: 20px;
}
#tg-330-wrapper .tg-330-hero__badge .material-symbols-outlined { font-size: 1rem; }

#tg-330-wrapper .tg-330-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-330-wrapper .tg-330-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-330-wrapper .tg-330-hero__stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

#tg-330-wrapper .tg-330-hero__stat {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
}

#tg-330-wrapper .tg-330-hero__stat-num {
    font-size: clamp(.9rem, 2.2vw, 1.1rem);
    font-weight: 900; color: var(--fu-300);
    letter-spacing: -.01em;
}

#tg-330-wrapper .tg-330-hero__stat-label {
    font-size: var(--fs-xs); color: rgba(255,255,255,.45); font-weight: 600;
}

#tg-330-wrapper .tg-330-hero__stat-divider {
    width: 1px; height: 36px;
    background: rgba(255,255,255,.15);
}

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

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

#tg-330-wrapper .tg-330-intro__icon { font-size: 2.2rem; color: var(--fu-600); margin-bottom: 14px; }
#tg-330-wrapper .tg-330-intro__icon .material-symbols-outlined { font-size: 2.2rem; }

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

#tg-330-wrapper .tg-330-intro p {
    font-size: var(--fs-base); color: var(--text-sub);
    max-width: 660px; margin-left: auto; margin-right: auto;
}

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

/* 레이블 */
#tg-330-wrapper .tg-330-section__label {
    display: flex; align-items: center; gap: 7px;
    background: var(--sl-100);
    border: 1px solid var(--sl-200);
    color: var(--sl-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-330-wrapper .tg-330-section__label--sim {
    background: rgba(217,70,239,.08);
    border-color: rgba(217,70,239,.25);
    color: var(--fu-700);
}

#tg-330-wrapper .tg-330-section__label--guide {
    background: rgba(132,204,22,.1);
    border-color: rgba(132,204,22,.3);
    color: var(--li-600);
}

#tg-330-wrapper .tg-330-section__label--tips {
    background: rgba(6,182,212,.08);
    border-color: rgba(6,182,212,.25);
    color: #0c7a8f;
}

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

/* 섹션 제목 */
#tg-330-wrapper .tg-330-section__title {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 900; color: var(--sl-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-330-wrapper .tg-330-section__title .material-symbols-outlined {
    font-size: 1.5rem; color: var(--fu-600);
}

#tg-330-wrapper .tg-330-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;
}

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

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

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

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

#tg-330-wrapper .tg-330-card__icon--lime { background: linear-gradient(135deg, var(--li-400), var(--li-600)); }
#tg-330-wrapper .tg-330-card__icon--cyan { background: linear-gradient(135deg, var(--cy-400), var(--cy-500)); }

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

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

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

/* 앱 스토어 패널 */
#tg-330-wrapper .tg-330-store {
    background: #0f0020;
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex; flex-direction: column;
    flex: 1; min-height: 440px;
    position: relative;
}

/* 검색바 */
#tg-330-wrapper .tg-330-store__searchbar {
    padding: 10px 12px 0;
    background: rgba(0,0,0,.4);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

#tg-330-wrapper .tg-330-store__search-input {
    display: flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: var(--fs-sm);
    color: rgba(255,255,255,.4);
    margin-bottom: 8px;
}

#tg-330-wrapper .tg-330-store__search-input .material-symbols-outlined {
    font-size: 1rem; color: rgba(255,255,255,.3);
}

#tg-330-wrapper .tg-330-store__tabs {
    display: flex; gap: 0; overflow-x: auto;
}

#tg-330-wrapper .tg-330-store-tab {
    display: flex; align-items: center; gap: 4px;
    padding: 8px 14px;
    font-size: var(--fs-sm); font-weight: 600;
    color: rgba(255,255,255,.35);
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: color .2s, border-color .2s;
}

#tg-330-wrapper .tg-330-store-tab .material-symbols-outlined { font-size: .9rem; }

#tg-330-wrapper .tg-330-store-tab--active {
    color: var(--fu-300);
    border-bottom-color: var(--fu-400);
}

/* 앱 목록 콘텐츠 */
#tg-330-wrapper .tg-330-store__content {
    flex: 1; overflow-y: auto; padding: 12px;
}

#tg-330-wrapper .tg-330-store__section-head {
    display: flex; align-items: center; gap: 6px;
    font-size: var(--fs-xs); font-weight: 700;
    color: rgba(255,255,255,.4);
    text-transform: uppercase; letter-spacing: .07em;
    margin: 12px 0 8px;
}

#tg-330-wrapper .tg-330-store__section-head .material-symbols-outlined { font-size: 1rem; color: var(--fu-400); }

/* 최근 앱 가로 스크롤 행 */
#tg-330-wrapper .tg-330-app-row {
    display: flex; gap: 8px; overflow-x: auto;
    padding-bottom: 4px; margin-bottom: 4px;
}

#tg-330-wrapper .tg-330-app-row-item {
    display: flex; flex-direction: column;
    align-items: center; gap: 5px;
    flex-shrink: 0; width: 64px;
    cursor: pointer;
}

#tg-330-wrapper .tg-330-app-row-item__icon {
    width: 50px; height: 50px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    transition: transform .15s;
}

#tg-330-wrapper .tg-330-app-row-item:hover .tg-330-app-row-item__icon { transform: scale(1.1); }

#tg-330-wrapper .tg-330-app-row-item__name {
    font-size: .68rem; font-weight: 600;
    color: rgba(255,255,255,.5);
    text-align: center; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
    width: 100%;
}

/* 인기 앱 세로 목록 */
#tg-330-wrapper .tg-330-app-list { display: flex; flex-direction: column; gap: 2px; }

#tg-330-wrapper .tg-330-app-list-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 8px;
    border-radius: 10px;
    cursor: pointer;
    transition: background .15s;
}

#tg-330-wrapper .tg-330-app-list-item:hover {
    background: rgba(255,255,255,.07);
}

#tg-330-wrapper .tg-330-app-list-item__rank {
    font-size: .75rem; font-weight: 900;
    color: rgba(255,255,255,.3);
    width: 18px; text-align: center; flex-shrink: 0;
}

#tg-330-wrapper .tg-330-app-list-item__icon {
    width: 44px; height: 44px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; flex-shrink: 0;
}

#tg-330-wrapper .tg-330-app-list-item__info { flex: 1; min-width: 0; }

#tg-330-wrapper .tg-330-app-list-item__name {
    font-size: var(--fs-sm); font-weight: 700;
    color: rgba(255,255,255,.85);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

#tg-330-wrapper .tg-330-app-list-item__mau {
    display: flex; align-items: center; gap: 4px;
    font-size: var(--fs-xs); color: rgba(255,255,255,.35);
}

#tg-330-wrapper .tg-330-app-list-item__mau .material-symbols-outlined { font-size: .85rem; }

#tg-330-wrapper .tg-330-app-list-item__arr {
    font-size: 1.1rem; color: rgba(255,255,255,.2); flex-shrink: 0;
}

/* 앱 상세 */
#tg-330-wrapper .tg-330-app-detail {
    flex: 1; overflow-y: auto;
    display: flex; flex-direction: column;
    animation: tg330FadeIn .25s ease;
}

#tg-330-wrapper .tg-330-app-detail__header {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px;
    background: rgba(0,0,0,.5);
    border-bottom: 1px solid rgba(255,255,255,.07);
    flex-shrink: 0;
}

#tg-330-wrapper .tg-330-detail-back {
    display: flex; align-items: center; justify-content: center;
    width: 32px; height: 32px;
    border-radius: 8px;
    background: rgba(255,255,255,.07);
    font-size: 1.2rem; color: rgba(255,255,255,.6);
    transition: background .15s;
}

#tg-330-wrapper .tg-330-detail-back:hover { background: rgba(255,255,255,.14); }

#tg-330-wrapper .tg-330-app-detail__title {
    font-size: var(--fs-sm); font-weight: 700;
    color: rgba(255,255,255,.8);
}

#tg-330-wrapper .tg-330-app-detail__hero {
    display: flex; align-items: center; gap: 14px;
    padding: 16px 14px; flex-shrink: 0;
}

#tg-330-wrapper .tg-330-detail-icon {
    width: 60px; height: 60px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; flex-shrink: 0;
}

#tg-330-wrapper .tg-330-detail-name {
    font-size: var(--fs-lg); font-weight: 800;
    color: #fff; margin-bottom: 3px;
}

#tg-330-wrapper .tg-330-detail-dev {
    font-size: var(--fs-xs); color: rgba(255,255,255,.4); margin-bottom: 6px;
}

#tg-330-wrapper .tg-330-detail-mau {
    display: flex; align-items: center; gap: 4px;
    font-size: var(--fs-xs); font-weight: 700;
    color: var(--li-300);
}

#tg-330-wrapper .tg-330-detail-mau .material-symbols-outlined { font-size: .9rem; }

/* 스크린샷 */
#tg-330-wrapper .tg-330-detail-screens {
    display: flex; gap: 8px; overflow-x: auto;
    padding: 0 14px 12px; flex-shrink: 0;
}

#tg-330-wrapper .tg-330-detail-screen {
    width: 80px; height: 140px;
    border-radius: 10px;
    flex-shrink: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 8px;
    font-size: 2rem;
    border: 1px solid rgba(255,255,255,.1);
}

/* 설명 */
#tg-330-wrapper .tg-330-detail-desc {
    font-size: var(--fs-sm);
    color: rgba(255,255,255,.55);
    line-height: 1.75;
    padding: 0 14px 12px;
    flex: 1;
}

/* Open App 버튼 */
#tg-330-wrapper .tg-330-open-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin: 4px 14px 14px;
    background: linear-gradient(135deg, var(--fu-500), var(--fu-700));
    color: #fff; font-size: var(--fs-base); font-weight: 800;
    padding: 13px; border-radius: var(--radius-sm);
    box-shadow: 0 4px 18px rgba(217,70,239,.35);
    transition: box-shadow .2s, transform .15s;
    flex-shrink: 0;
}

#tg-330-wrapper .tg-330-open-btn:hover {
    box-shadow: 0 6px 28px rgba(217,70,239,.6);
    transform: translateY(-2px);
}

#tg-330-wrapper .tg-330-open-btn .material-symbols-outlined { font-size: 1.1rem; }

/* 앱 실행 화면 */
#tg-330-wrapper .tg-330-app-running {
    flex: 1; display: flex; flex-direction: column;
    animation: tg330FadeIn .25s ease;
}

#tg-330-wrapper .tg-330-app-running__topbar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 14px;
    background: rgba(0,0,0,.5);
    border-bottom: 1px solid rgba(255,255,255,.07);
    flex-shrink: 0;
}

#tg-330-wrapper .tg-330-app-running__close {
    font-size: 1.4rem; color: rgba(255,255,255,.5); cursor: pointer;
    transition: color .15s;
}

#tg-330-wrapper .tg-330-app-running__close:hover { color: var(--fu-300); }

#tg-330-wrapper .tg-330-app-running__title {
    font-size: var(--fs-sm); font-weight: 700;
    color: rgba(255,255,255,.8);
}

#tg-330-wrapper .tg-330-app-running__menu {
    font-size: 1.3rem; color: rgba(255,255,255,.35);
}

#tg-330-wrapper .tg-330-app-running__content {
    flex: 1;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 12px; padding: 20px;
    text-align: center;
}

#tg-330-wrapper .tg-330-app-running__emoji { font-size: 3.5rem; }

#tg-330-wrapper .tg-330-app-running__label {
    font-size: var(--fs-base); font-weight: 700;
    color: rgba(255,255,255,.8);
}

#tg-330-wrapper .tg-330-app-running__hint {
    padding: 8px; font-size: var(--fs-xs);
    color: rgba(255,255,255,.28); text-align: center;
    animation: tg330Blink 2.5s ease infinite; flex-shrink: 0;
}

/* 미니 탭 바 */
#tg-330-wrapper .tg-330-mini-bar {
    background: rgba(0,0,0,.6);
    border-top: 1px solid rgba(217,70,239,.25);
    padding: 6px 10px;
    flex-shrink: 0;
}

#tg-330-wrapper .tg-330-mini-bar__label {
    font-size: var(--fs-xs); color: rgba(255,255,255,.3);
    font-weight: 700; letter-spacing: .05em; margin-bottom: 5px;
}

#tg-330-wrapper .tg-330-mini-bar__tabs {
    display: flex; gap: 6px; overflow-x: auto;
}

#tg-330-wrapper .tg-330-mini-tab {
    display: flex; align-items: center; gap: 5px;
    background: rgba(217,70,239,.15);
    border: 1px solid rgba(217,70,239,.3);
    color: var(--fu-300);
    font-size: var(--fs-xs); font-weight: 700;
    padding: 4px 10px; border-radius: 999px;
    white-space: nowrap; cursor: pointer;
    transition: background .15s;
    animation: tg330FadeIn .2s ease;
}

#tg-330-wrapper .tg-330-mini-tab:hover { background: rgba(217,70,239,.28); }
#tg-330-wrapper .tg-330-mini-tab .material-symbols-outlined { font-size: .85rem; }

/* 안내 패널 */
#tg-330-wrapper .tg-330-guide-panel {
    background: var(--sl-50);
    border: 1px solid var(--sl-200);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    min-height: 440px;
    display: flex; flex-direction: column;
}

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

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

/* 초기 */
#tg-330-wrapper .tg-330-guide-idle {
    flex: 1; display: flex; flex-direction: column;
    align-items: center; justify-content: center; text-align: center; gap: 12px;
}

#tg-330-wrapper .tg-330-guide-idle__icon { font-size: 2.6rem; color: var(--fu-500); }
#tg-330-wrapper .tg-330-guide-idle__icon .material-symbols-outlined { font-size: 2.6rem; }

#tg-330-wrapper .tg-330-guide-idle__title {
    font-size: var(--fs-lg); font-weight: 800; color: var(--sl-700);
}

#tg-330-wrapper .tg-330-guide-idle__desc {
    font-size: var(--fs-sm); color: var(--sl-400); line-height: 1.75;
}

#tg-330-wrapper .tg-330-guide-steps {
    display: flex; flex-direction: column; gap: 8px;
    align-items: flex-start; width: 100%; max-width: 220px;
}

#tg-330-wrapper .tg-330-guide-step {
    display: flex; align-items: center; gap: 10px;
    font-size: var(--fs-sm); color: var(--sl-600);
}

#tg-330-wrapper .tg-330-guide-step__num {
    width: 24px; height: 24px; border-radius: 50%;
    background: linear-gradient(135deg, var(--fu-500), var(--fu-700));
    color: #fff; font-size: .75rem; font-weight: 900;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* 상세 안내 */
#tg-330-wrapper .tg-330-guide-detail {
    flex: 1; display: flex; flex-direction: column;
    align-items: center; justify-content: center; text-align: center; gap: 12px;
    animation: tg330FadeIn .35s ease;
}

#tg-330-wrapper .tg-330-guide-detail__icon {
    width: 60px; height: 60px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center; font-size: 2rem;
}

#tg-330-wrapper .tg-330-guide-detail__name {
    font-size: var(--fs-lg); font-weight: 800; color: var(--sl-700);
}

#tg-330-wrapper .tg-330-guide-detail__mau {
    display: flex; align-items: center; gap: 5px;
    font-size: var(--fs-sm); color: var(--li-600); font-weight: 700;
}

#tg-330-wrapper .tg-330-guide-detail__tip {
    font-size: var(--fs-sm); color: var(--sl-400); text-align: center; line-height: 1.7;
}

/* 실행 안내 */
#tg-330-wrapper .tg-330-guide-running {
    flex: 1; display: flex; flex-direction: column;
    align-items: center; justify-content: center; text-align: center; gap: 12px;
    animation: tg330FadeIn .35s ease;
}

#tg-330-wrapper .tg-330-guide-running__icon {
    font-size: 2.4rem; color: var(--fu-600);
}
#tg-330-wrapper .tg-330-guide-running__icon .material-symbols-outlined { font-size: 2.4rem; }

#tg-330-wrapper .tg-330-guide-running__title {
    font-size: var(--fs-lg); font-weight: 800; color: var(--sl-700);
}

#tg-330-wrapper .tg-330-guide-running__count {
    display: flex; align-items: center; gap: 6px;
    font-size: var(--fs-sm);
    color: var(--sl-500);
    background: rgba(217,70,239,.07);
    border: 1px solid rgba(217,70,239,.18);
    padding: 8px 16px; border-radius: 999px;
}

#tg-330-wrapper .tg-330-guide-running__count .material-symbols-outlined { font-size: 1rem; color: var(--fu-600); }
#tg-330-wrapper #tg330-run-count { color: var(--fu-600); }

#tg-330-wrapper .tg-330-guide-tips {
    display: flex; flex-direction: column; gap: 8px;
    width: 100%; max-width: 220px;
}

#tg-330-wrapper .tg-330-guide-tip {
    display: flex; align-items: center; gap: 8px;
    font-size: var(--fs-sm); color: var(--sl-600);
    background: var(--sl-100); border: 1px solid var(--sl-200);
    border-radius: 8px; padding: 8px 12px;
}

#tg-330-wrapper .tg-330-guide-tip .material-symbols-outlined {
    font-size: 1rem; color: var(--fu-600); flex-shrink: 0;
}

/* 공통 애니메이션 */
@keyframes tg330FadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes tg330Blink {
    0%, 100% { opacity: .7; } 50% { opacity: .25; }
}

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

#tg-330-wrapper .tg-330-tab-btn {
    flex: 1; 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, box-shadow .2s;
}

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

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

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

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

#tg-330-wrapper .tg-330-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-330-wrapper .tg-330-tab-panel__icon--pc      { background: linear-gradient(135deg, var(--sl-700), var(--sl-900)); }
#tg-330-wrapper .tg-330-tab-panel__icon--android { background: linear-gradient(135deg, #3ddc84, #00ac47); }
#tg-330-wrapper .tg-330-tab-panel__icon--ios     { background: linear-gradient(135deg, #888, #222); }

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

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

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

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

#tg-330-wrapper .tg-330-steps li::before {
    content: counter(tg330step);
    display: flex; align-items: center; justify-content: center;
    min-width: 30px; height: 30px;
    background: linear-gradient(135deg, var(--fu-500), var(--fu-700));
    color: #fff; font-size: .82rem; font-weight: 900;
    border-radius: 50%; flex-shrink: 0; margin-top: 2px;
}

/* 팁 박스 */
#tg-330-wrapper .tg-330-tip-box {
    display: flex; align-items: flex-start; gap: 12px;
    background: rgba(217,70,239,.05);
    border: 1px solid rgba(217,70,239,.18);
    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-330-wrapper .tg-330-tip-box .material-symbols-outlined {
    font-size: 1.4rem; color: var(--fu-600);
    flex-shrink: 0; margin-top: 2px;
}

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

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

#tg-330-wrapper .tg-330-accordion__item.is-open {
    border-color: var(--fu-400);
    box-shadow: 0 2px 16px rgba(217,70,239,.12);
}

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

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

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

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

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

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

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

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

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

/* ═════════════════════════════════════════
   결론 요약
═════════════════════════════════════════ */
#tg-330-wrapper .tg-330-summary {
    background: linear-gradient(135deg, #0d0015 0%, #1f0030 30%, #420060 60%, #7200a0 100%);
    border-radius: var(--radius-md);
    padding: 48px 36px; color: #fff;
}

#tg-330-wrapper .tg-330-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-330-wrapper .tg-330-summary__title .material-symbols-outlined {
    font-size: 1.6rem; color: var(--li-300);
}

#tg-330-wrapper .tg-330-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-330-wrapper .tg-330-summary__checklist {
    display: flex; flex-direction: column; gap: 14px;
    margin-bottom: 36px;
    max-width: 480px; margin-left: auto; margin-right: auto;
}

#tg-330-wrapper .tg-330-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-330-wrapper .tg-330-summary__checklist li .material-symbols-outlined {
    font-size: 1.1rem; color: var(--fu-300);
    margin-top: 3px; flex-shrink: 0;
}

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

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

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

#tg-330-wrapper .tg-330-footer__btn:hover {
    box-shadow: 0 8px 32px rgba(217,70,239,.6);
    transform: translateY(-3px);
}

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

/* ═════════════════════════════════════════
   반응형
═════════════════════════════════════════ */
@media (min-width: 640px) {
    #tg-330-wrapper .tg-330-hero { padding: 72px 56px 80px; }
    #tg-330-wrapper .tg-330-cards { grid-template-columns: repeat(3, 1fr); }

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

    #tg-330-wrapper .tg-330-store { flex: 0 0 240px; min-height: 480px; }
    #tg-330-wrapper .tg-330-guide-panel { flex: 1; min-height: 480px; }
}

@media (min-width: 900px) {
    #tg-330-wrapper .tg-330-section { padding: 48px 44px; }
    #tg-330-wrapper .tg-330-store { flex: 0 0 280px; }
    #tg-330-wrapper .tg-330-summary { padding: 60px 56px; }
}
