/*
 * tips336/style.css  v1.0.0
 * 텔레그램 별 리액션(Star Reactions) 가이드
 * 테마: 딥 스페이스 다크 + 골드 앰버 (별·후원 감성)
 * 그누보드5 완전 격리 | BEM | 모바일 퍼스트
 */

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

/* ─── 디자인 토큰 ─── */
#tg-336-wrapper {
    --gold-200: #fef08a;
    --gold-300: #fde047;
    --gold-400: #facc15;
    --gold-500: #eab308;
    --gold-600: #ca8a04;
    --gold-700: #a16207;
    --amb-400:  #fb923c;
    --amb-500:  #f97316;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --sl-50:    #f8fafc;
    --sl-100:   #f1f5f9;
    --sl-200:   #e2e8f0;
    --sl-400:   #94a3b8;
    --sl-500:   #64748b;
    --sl-700:   #334155;
    --sl-800:   #1e293b;
    --sl-900:   #0f172a;
    --sl-950:   #020617;
    --text-main: #1e293b;
    --text-sub:  #475569;
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --shadow-sm: 0 4px 14px rgba(0,0,0,.06);
    --shadow-md: 0 8px 28px rgba(0,0,0,.12);
    --shadow-gold: 0 4px 20px rgba(234,179,8,.3);
    --fs-xs: .8rem;
    --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(--text-main);
    line-height: 1.7;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

/* Material Symbols */
#tg-336-wrapper .material-symbols-outlined {
    font-family: 'Material Symbols Outlined', sans-serif;
    font-weight: normal; font-style: normal; font-size: inherit;
    line-height: 1; display: inline-block; white-space: nowrap;
    direction: ltr; -webkit-font-smoothing: antialiased; vertical-align: middle;
}

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

/* ═════════════════════════════════════════
   히어로
═════════════════════════════════════════ */
#tg-336-wrapper .tg-336-hero {
    position: relative;
    background: linear-gradient(145deg, #0a0a1a 0%, #1c1410 50%, #0d1a0d 100%);
    border-radius: var(--radius-lg);
    padding: 64px 28px 72px;
    text-align: center;
    overflow: hidden;
}
#tg-336-wrapper .tg-336-hero__bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 60% 55% at 30% 20%, rgba(234,179,8,.18) 0%, transparent 60%),
        radial-gradient(ellipse 50% 45% at 80% 70%, rgba(20,184,166,.12) 0%, transparent 55%);
    pointer-events: none;
}

/* 별 반짝임 애니메이션 */
#tg-336-wrapper .tg-336-hero__stars { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
#tg-336-wrapper .tg-336-hero__star {
    position: absolute; font-size: 1.8rem; opacity: 0;
    animation: tg336StarTwinkle ease-in-out infinite;
}
#tg-336-wrapper .tg-336-hero__star--1 { top: 12%; left: 8%;  animation-duration: 3s; animation-delay: 0s; }
#tg-336-wrapper .tg-336-hero__star--2 { top: 25%; left: 80%; animation-duration: 4s; animation-delay: -1.2s; }
#tg-336-wrapper .tg-336-hero__star--3 { top: 70%; left: 15%; animation-duration: 3.5s; animation-delay: -2s; }
#tg-336-wrapper .tg-336-hero__star--4 { top: 65%; left: 75%; animation-duration: 2.8s; animation-delay: -.6s; }
@keyframes tg336StarTwinkle {
    0%, 100% { opacity: 0; transform: scale(.6); }
    50%       { opacity: .7; transform: scale(1.1); }
}

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

#tg-336-wrapper .tg-336-hero__badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(234,179,8,.15); border: 1px solid rgba(234,179,8,.35);
    color: var(--gold-300); font-size: .85rem; font-weight: 700;
    padding: 6px 18px; border-radius: 999px;
    margin-bottom: 22px !important;
}
#tg-336-wrapper .tg-336-hero__badge .material-symbols-outlined { font-size: 1.1rem; }

#tg-336-wrapper .tg-336-hero__title {
    font-size: clamp(1.55rem, 4.2vw, 2.2rem);
    font-weight: 900; color: #fff;
    line-height: 1.38; letter-spacing: -.02em;
    margin-bottom: 16px;
}
#tg-336-wrapper .tg-336-hero__title em {
    font-style: normal; color: var(--gold-300);
    text-shadow: 0 0 32px rgba(250,204,21,.5);
}

#tg-336-wrapper .tg-336-hero__subtitle {
    color: rgba(255,255,255,.68); line-height: 1.8;
    margin-bottom: 32px !important;
    max-width: 540px; margin-left: auto; margin-right: auto;
}

/* 히어로 스탯 */
#tg-336-wrapper .tg-336-hero__stats {
    display: flex; flex-wrap: wrap;
    align-items: center; justify-content: center; gap: 12px;
}
#tg-336-wrapper .tg-336-hero__stat {
    display: flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px; padding: 8px 18px;
    color: #fff; font-size: var(--fs-sm); font-weight: 700;
}
#tg-336-wrapper .tg-336-hero__stat-icon { font-size: 1.2rem; }
#tg-336-wrapper .tg-336-hero__sep { color: rgba(255,255,255,.3); font-size: 1.2rem; }

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

/* 도입부 */
#tg-336-wrapper .tg-336-intro {
    background: #fff; border: 1px solid var(--sl-200);
    border-top: 4px solid var(--gold-500);
    border-radius: var(--radius-md);
    padding: 36px 28px; text-align: center;
    box-shadow: var(--shadow-sm);
}
#tg-336-wrapper .tg-336-intro__icon {
    font-size: 2.6rem; margin-bottom: 14px; line-height: 1;
    filter: drop-shadow(0 4px 12px rgba(234,179,8,.4));
}
#tg-336-wrapper .tg-336-intro__title {
    font-size: clamp(1.1rem, 2.8vw, 1.35rem); font-weight: 800;
    color: var(--sl-900); margin-bottom: 14px;
    letter-spacing: -.01em; line-height: 1.45;
}
#tg-336-wrapper .tg-336-intro p { color: var(--text-sub); max-width: 680px; margin-left: auto; margin-right: auto; }

/* 공통 섹션 */
#tg-336-wrapper .tg-336-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-336-wrapper .tg-336-section--dark {
    background: linear-gradient(145deg, #0a0a1a 0%, #1c1410 50%, #0d1a0d 100%);
    border-color: rgba(255,255,255,.06);
}

/* 레이블 */
#tg-336-wrapper .tg-336-section__label {
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--sl-100); color: var(--sl-700);
    font-size: .88rem; font-weight: 700; letter-spacing: .03em;
    padding: 7px 20px; border-radius: 999px;
    margin-bottom: 22px;
}
#tg-336-wrapper .tg-336-section__label--gold  { background: rgba(234,179,8,.1); color: var(--gold-700); }
#tg-336-wrapper .tg-336-section__label--teal  { background: rgba(20,184,166,.08); color: var(--teal-600); }
#tg-336-wrapper .tg-336-section__label--guide { background: rgba(234,179,8,.08); color: var(--gold-700); }
#tg-336-wrapper .tg-336-section__label .material-symbols-outlined { font-size: 1.1rem; }

/* 섹션 제목 */
#tg-336-wrapper .tg-336-section__title {
    font-size: clamp(1.2rem, 3vw, 1.5rem); font-weight: 900;
    color: var(--sl-900); letter-spacing: -.02em; line-height: 1.38;
    margin-bottom: 16px;
    display: flex; align-items: center; justify-content: center;
    gap: 10px;
}
#tg-336-wrapper .tg-336-section__title--light { color: #fff !important; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
#tg-336-wrapper .tg-336-section__title .material-symbols-outlined { font-size: 1.5rem; color: var(--gold-500); }
#tg-336-wrapper .tg-336-section > p, #tg-336-wrapper .tg-336-section__desc--light {
    max-width: 680px; margin-left: auto; margin-right: auto;
}
#tg-336-wrapper .tg-336-section > p { color: var(--text-sub); }
#tg-336-wrapper .tg-336-section__desc--light { color: rgba(255,255,255,.88) !important; margin-bottom: 32px !important; }

/* ═════════════════════════════════════════
   특징 카드 3종
═════════════════════════════════════════ */
#tg-336-wrapper .tg-336-cards {
    display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 10px;
}
#tg-336-wrapper .tg-336-card {
    background: var(--sl-50); border: 1px solid var(--sl-200);
    border-radius: var(--radius-md); padding: 30px 24px;
    display: flex; flex-direction: column; gap: 14px;
    transition: box-shadow .28s, transform .28s, border-color .28s;
}
#tg-336-wrapper .tg-336-card:hover {
    box-shadow: var(--shadow-gold); transform: translateY(-5px);
    border-color: var(--gold-400);
}
#tg-336-wrapper .tg-336-card__icon {
    width: 60px; height: 60px; border-radius: 16px;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-gold);
}
#tg-336-wrapper .tg-336-card__icon--deep { background: linear-gradient(135deg, var(--amb-400), var(--amb-500)); box-shadow: 0 4px 16px rgba(249,115,22,.28); }
#tg-336-wrapper .tg-336-card__icon--teal { background: linear-gradient(135deg, var(--teal-400), var(--teal-600)); box-shadow: 0 4px 16px rgba(20,184,166,.28); }
#tg-336-wrapper .tg-336-card__emoji { font-size: 1.9rem; line-height: 1; }
#tg-336-wrapper .tg-336-card__title { font-size: var(--fs-lg); font-weight: 800; color: var(--sl-900); letter-spacing: -.01em; }
#tg-336-wrapper .tg-336-card__desc { font-size: var(--fs-base); color: var(--text-sub); line-height: 1.8; word-break: keep-all; }

/* ═════════════════════════════════════════
   인터랙티브 데모
═════════════════════════════════════════ */
#tg-336-wrapper .tg-336-demo {
    display: flex; flex-direction: column;
    align-items: center; gap: 32px;
}

/* 채널 게시물 모형 */
#tg-336-wrapper .tg-336-post-wrap { position: relative; width: 100%; max-width: 340px; }
#tg-336-wrapper .tg-336-post {
    background: #fff; border-radius: var(--radius-md);
    overflow: hidden; position: relative;
    box-shadow: 0 12px 36px rgba(0,0,0,.35);
}

#tg-336-wrapper .tg-336-post__channel {
    display: flex; align-items: center; gap: 10px;
    background: var(--sl-900); padding: 12px 14px;
}
#tg-336-wrapper .tg-336-post__channel-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--sl-700); font-size: 1.3rem;
    display: flex; align-items: center; justify-content: center;
}
#tg-336-wrapper .tg-336-post__channel-name {
    font-size: .88rem; font-weight: 800; color: #fff;
    margin-bottom: 2px !important; line-height: 1.3 !important;
}
#tg-336-wrapper .tg-336-post__channel-time {
    font-size: .72rem; color: rgba(255,255,255,.45);
    margin-bottom: 0 !important; line-height: 1.3 !important;
}

#tg-336-wrapper .tg-336-post__body {
    padding: 16px 14px 12px;
    background: var(--sl-800);
}
#tg-336-wrapper .tg-336-post__text {
    font-size: .9rem; color: rgba(255,255,255,.82); line-height: 1.6;
    margin-bottom: 0 !important;
}

#tg-336-wrapper .tg-336-post__reactions {
    background: var(--sl-800); padding: 8px 14px 14px;
    display: flex; align-items: center; gap: 10px;
    border-top: 1px solid rgba(255,255,255,.05);
}

/* 별 버튼 */
#tg-336-wrapper .tg-336-star-btn {
    display: flex; align-items: center; gap: 6px;
    background: rgba(234,179,8,.15); border: 1px solid rgba(234,179,8,.35);
    border-radius: 999px; padding: 7px 16px;
    color: var(--gold-300); font-size: .9rem; font-weight: 800;
    transition: background .15s, transform .1s, box-shadow .2s;
    cursor: pointer;
}
#tg-336-wrapper .tg-336-star-btn:hover {
    background: rgba(234,179,8,.25); box-shadow: 0 0 16px rgba(234,179,8,.3);
}
#tg-336-wrapper .tg-336-star-btn:active { transform: scale(.93); }
#tg-336-wrapper .tg-336-star-btn__icon { font-size: 1.2rem; line-height: 1; }
#tg-336-wrapper .tg-336-star-btn__count { font-size: .9rem; min-width: 20px; text-align: left; }

/* 별 애니메이션 */
#tg-336-wrapper .tg-336-star-anim {
    position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
#tg-336-wrapper .tg-336-star-float {
    position: absolute;
    font-size: 1.4rem;
    animation: tg336StarFloat .8s ease-out forwards;
    pointer-events: none;
}
@keyframes tg336StarFloat {
    0%   { opacity: 1; transform: translateY(0) scale(1); }
    100% { opacity: 0; transform: translateY(-60px) scale(.7); }
}

/* 슬라이더 모달 */
#tg-336-wrapper .tg-336-slider-modal {
    background: var(--sl-800); border-radius: var(--radius-md);
    padding: 22px 20px; margin-top: 12px;
    border: 1px solid rgba(234,179,8,.2);
    box-shadow: 0 12px 36px rgba(0,0,0,.45);
    animation: tg336FadeDown .25s ease;
}
@keyframes tg336FadeDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
#tg-336-wrapper .tg-336-slider-modal__title {
    font-size: var(--fs-base); font-weight: 800; color: var(--gold-300);
    margin-bottom: 16px !important; text-align: center;
}
#tg-336-wrapper .tg-336-slider-wrap { margin-bottom: 10px; }
#tg-336-wrapper .tg-336-slider {
    width: 100%; -webkit-appearance: none;
    height: 6px; border-radius: 3px;
    background: linear-gradient(90deg, var(--gold-500), var(--amb-500));
    cursor: pointer; margin-bottom: 6px;
}
#tg-336-wrapper .tg-336-slider::-webkit-slider-thumb {
    -webkit-appearance: none; width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--gold-400);
    box-shadow: 0 2px 8px rgba(234,179,8,.5);
    cursor: grab;
}
#tg-336-wrapper .tg-336-slider-labels {
    display: flex; justify-content: space-between;
    font-size: .72rem; color: rgba(255,255,255,.4);
}
#tg-336-wrapper .tg-336-slider-modal__amount {
    font-size: 1.4rem; font-weight: 900;
    color: var(--gold-300); text-align: center;
    margin-bottom: 14px !important;
    text-shadow: 0 0 16px rgba(234,179,8,.4);
}
#tg-336-wrapper .tg-336-slider-modal__amount span { font-size: 1.8rem; }

/* 익명 토글 */
#tg-336-wrapper .tg-336-slider-modal__row { margin-bottom: 16px; text-align: left; }
#tg-336-wrapper .tg-336-anon-toggle {
    display: flex; align-items: center; gap: 8px;
    font-size: var(--fs-sm); font-weight: 600; color: rgba(255,255,255,.7);
    cursor: pointer;
}
#tg-336-wrapper .tg-336-anon-toggle input[type="checkbox"] {
    width: 16px; height: 16px; cursor: pointer;
    accent-color: var(--gold-400);
}

#tg-336-wrapper .tg-336-slider-modal__btns {
    display: flex; gap: 10px;
}
#tg-336-wrapper .tg-336-slider-modal__cancel {
    flex: 1; padding: 11px;
    background: rgba(255,255,255,.07); border-radius: 10px;
    color: rgba(255,255,255,.6); font-size: var(--fs-sm); font-weight: 600;
    transition: background .2s;
}
#tg-336-wrapper .tg-336-slider-modal__cancel:hover { background: rgba(255,255,255,.12); }
#tg-336-wrapper .tg-336-slider-modal__send {
    flex: 2; padding: 11px; display: flex; align-items: center; justify-content: center; gap: 6px;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
    border-radius: 10px; color: var(--sl-900);
    font-size: var(--fs-base); font-weight: 800;
    box-shadow: var(--shadow-gold); transition: box-shadow .2s, transform .15s;
}
#tg-336-wrapper .tg-336-slider-modal__send:hover {
    box-shadow: 0 6px 24px rgba(234,179,8,.4); transform: translateY(-1px);
}
#tg-336-wrapper .tg-336-slider-modal__send .material-symbols-outlined { font-size: 1rem; }

/* 데모 컨트롤 패널 */
#tg-336-wrapper .tg-336-demo__panel {
    display: flex; flex-direction: column; gap: 12px;
    width: 100%; max-width: 280px;
}
#tg-336-wrapper .tg-336-demo__panel-title {
    font-size: var(--fs-base); font-weight: 800; color: #fff;
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 4px !important;
}
#tg-336-wrapper .tg-336-demo__panel-title .material-symbols-outlined { font-size: 1.2rem; color: var(--gold-300); }

#tg-336-wrapper .tg-336-ctrl-btn {
    display: flex; align-items: center; gap: 10px;
    padding: 14px 16px; border-radius: 12px;
    font-size: var(--fs-sm); font-weight: 700;
    transition: background .2s, transform .15s;
}
#tg-336-wrapper .tg-336-ctrl-btn .material-symbols-outlined { font-size: 1.1rem; }
#tg-336-wrapper .tg-336-ctrl-btn--tap {
    background: rgba(234,179,8,.15); border: 1px solid rgba(234,179,8,.3); color: var(--gold-300);
}
#tg-336-wrapper .tg-336-ctrl-btn--tap:hover { background: rgba(234,179,8,.25); transform: translateY(-2px); }
#tg-336-wrapper .tg-336-ctrl-btn--bulk {
    background: rgba(20,184,166,.12); border: 1px solid rgba(20,184,166,.25); color: var(--teal-400);
}
#tg-336-wrapper .tg-336-ctrl-btn--bulk:hover { background: rgba(20,184,166,.2); transform: translateY(-2px); }
#tg-336-wrapper .tg-336-ctrl-btn--reset {
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.6);
}
#tg-336-wrapper .tg-336-ctrl-btn--reset:hover { background: rgba(255,255,255,.1); }

/* 미니 리더보드 */
#tg-336-wrapper .tg-336-mini-board {
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px; padding: 14px; margin-top: 4px;
}
#tg-336-wrapper .tg-336-mini-board__title {
    font-size: .82rem; font-weight: 700; color: var(--gold-300);
    display: flex; align-items: center; gap: 6px;
    margin-bottom: 10px !important;
}
#tg-336-wrapper .tg-336-mini-board__title .material-symbols-outlined { font-size: 1rem; }
#tg-336-wrapper .tg-336-mini-board__list { display: flex; flex-direction: column; gap: 6px; }
#tg-336-wrapper .tg-336-mini-board__item {
    display: flex; align-items: center; gap: 8px;
    font-size: .82rem; color: rgba(255,255,255,.8);
}
#tg-336-wrapper .tg-336-mini-board__rank { font-size: 1.1rem; width: 28px; }
#tg-336-wrapper .tg-336-mini-board__name { flex: 1; font-weight: 600; }
#tg-336-wrapper .tg-336-mini-board__stars { color: var(--gold-300); font-weight: 700; }

/* ═════════════════════════════════════════
   탭 가이드
═════════════════════════════════════════ */
#tg-336-wrapper .tg-336-tabs {
    display: flex; gap: 6px;
    background: var(--sl-100); border-radius: var(--radius-sm);
    padding: 5px; margin-bottom: 26px; flex-wrap: wrap; text-align: left;
}
#tg-336-wrapper .tg-336-tab-btn {
    flex: 1; min-width: 80px;
    display: flex; align-items: center; justify-content: center; gap: 6px;
    padding: 11px 12px; border-radius: 7px;
    font-size: var(--fs-sm); font-weight: 600;
    color: var(--sl-500); transition: background .2s, color .2s, box-shadow .2s;
}
#tg-336-wrapper .tg-336-tab-btn .material-symbols-outlined { font-size: 1.15rem; }
#tg-336-wrapper .tg-336-tab-btn--active {
    background: #fff; color: var(--gold-700);
    box-shadow: 0 2px 10px rgba(0,0,0,.09); font-weight: 800;
}
#tg-336-wrapper .tg-336-tab-panel { display: none; text-align: left; animation: tg336FadeIn .3s ease; }
#tg-336-wrapper .tg-336-tab-panel--active { display: block; }

/* 탭 패널 헤더 */
#tg-336-wrapper .tg-336-tab-panel__head {
    display: flex; align-items: center; gap: 16px;
    margin-bottom: 22px; padding-bottom: 16px;
    border-bottom: 1px solid var(--sl-100);
}
#tg-336-wrapper .tg-336-tab-panel__icon {
    width: 54px; height: 54px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem; color: #fff; flex-shrink: 0;
}
#tg-336-wrapper .tg-336-tab-panel__icon--pc      { background: linear-gradient(135deg, var(--gold-500), var(--gold-700)); }
#tg-336-wrapper .tg-336-tab-panel__icon--android  { background: linear-gradient(135deg, #3ddc84, #00ac47); }
#tg-336-wrapper .tg-336-tab-panel__icon--ios      { background: linear-gradient(135deg, #555, #111); }
#tg-336-wrapper .tg-336-tab-panel__name {
    font-size: var(--fs-lg); font-weight: 800; color: var(--sl-900);
    letter-spacing: -.01em; margin-bottom: 4px;
}
#tg-336-wrapper .tg-336-tab-panel__sub {
    font-size: var(--fs-sm); color: var(--sl-500); margin-bottom: 0 !important;
}

/* 단계 목록 */
#tg-336-wrapper .tg-336-steps {
    display: flex; flex-direction: column; gap: 14px;
    counter-reset: tg336step;
}
#tg-336-wrapper .tg-336-steps li {
    counter-increment: tg336step;
    display: flex; align-items: flex-start; gap: 14px;
    font-size: var(--fs-base); color: var(--text-sub); line-height: 1.75;
}
#tg-336-wrapper .tg-336-steps li::before {
    content: counter(tg336step);
    display: flex; align-items: center; justify-content: center;
    min-width: 30px; height: 30px;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
    color: var(--sl-900); font-size: .82rem; font-weight: 900; border-radius: 50%;
    flex-shrink: 0; margin-top: 2px;
}
#tg-336-wrapper .tg-336-steps li strong { color: var(--sl-800); }

/* 팁 박스 */
#tg-336-wrapper .tg-336-tip-box {
    display: flex; align-items: flex-start; gap: 12px;
    background: rgba(234,179,8,.07); border: 1px solid rgba(234,179,8,.22);
    border-radius: var(--radius-sm); padding: 18px 20px;
    margin-top: 22px; font-size: var(--fs-base); color: var(--text-sub); line-height: 1.75;
}
#tg-336-wrapper .tg-336-tip-box .material-symbols-outlined { font-size: 1.4rem; color: var(--gold-500); flex-shrink: 0; margin-top: 2px; }

/* ═════════════════════════════════════════
   리더보드 & 익명 설정 섹션
═════════════════════════════════════════ */
#tg-336-wrapper .tg-336-privacy-cards {
    display: flex; flex-direction: column; gap: 16px;
    margin-top: 10px; text-align: left;
}
#tg-336-wrapper .tg-336-privacy-card {
    display: flex; align-items: flex-start; gap: 18px;
    background: var(--sl-50); border: 1px solid var(--sl-200);
    border-radius: var(--radius-sm); padding: 22px;
    transition: box-shadow .25s, border-color .25s;
}
#tg-336-wrapper .tg-336-privacy-card:hover {
    box-shadow: var(--shadow-sm); border-color: var(--gold-400);
}
#tg-336-wrapper .tg-336-privacy-card--anon:hover { border-color: var(--teal-400); }
#tg-336-wrapper .tg-336-privacy-card__icon {
    width: 52px; height: 52px; border-radius: 14px;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
    display: flex; align-items: center; justify-content: center;
    color: var(--sl-900); font-size: 1.5rem; flex-shrink: 0;
    box-shadow: var(--shadow-gold);
}
#tg-336-wrapper .tg-336-privacy-card__icon--teal {
    background: linear-gradient(135deg, var(--teal-400), var(--teal-600));
    color: #fff; box-shadow: 0 4px 14px rgba(20,184,166,.28);
}
#tg-336-wrapper .tg-336-privacy-card__title {
    font-size: var(--fs-base); font-weight: 800; color: var(--sl-900); margin-bottom: 8px;
}
#tg-336-wrapper .tg-336-privacy-card__desc {
    font-size: var(--fs-base); color: var(--text-sub); line-height: 1.8;
    margin-bottom: 0 !important;
}

/* ═════════════════════════════════════════
   직장인 프로 팁 박스
═════════════════════════════════════════ */
#tg-336-wrapper .tg-336-pro-section { }
#tg-336-wrapper .tg-336-pro-box {
    background: linear-gradient(135deg, #1c1410 0%, #0a0a1a 100%);
    border: 1px solid rgba(234,179,8,.22);
    border-radius: var(--radius-md); padding: 36px 32px;
    position: relative; overflow: hidden;
}
#tg-336-wrapper .tg-336-pro-box::before {
    content: '⭐⭐⭐';
    position: absolute; top: 16px; right: 20px;
    font-size: 2rem; opacity: .12;
}
#tg-336-wrapper .tg-336-pro-box__header {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 12px;
}
#tg-336-wrapper .tg-336-pro-box__header .material-symbols-outlined { font-size: 1.5rem; color: var(--gold-400); }
#tg-336-wrapper .tg-336-pro-box__header h2 {
    font-size: var(--fs-lg); font-weight: 900; color: var(--gold-300);
    letter-spacing: -.01em;
}
#tg-336-wrapper .tg-336-pro-box__quote {
    font-size: var(--fs-lg); font-weight: 700; color: rgba(255,255,255,.8);
    border-left: 3px solid var(--gold-400); padding-left: 14px;
    margin-bottom: 16px !important; font-style: italic;
}
#tg-336-wrapper .tg-336-pro-box p { color: rgba(255,255,255,.7); }

#tg-336-wrapper .tg-336-pro-box__tags {
    display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px;
}
#tg-336-wrapper .tg-336-pro-box__tag {
    background: rgba(234,179,8,.12); border: 1px solid rgba(234,179,8,.25);
    color: var(--gold-300); font-size: .85rem; font-weight: 700;
    padding: 5px 14px; border-radius: 999px;
}

/* ═════════════════════════════════════════
   결론 요약
═════════════════════════════════════════ */
#tg-336-wrapper .tg-336-summary {
    background: linear-gradient(145deg, #0a0a1a 0%, #1c1410 50%, #0d1a0d 100%);
    border-radius: var(--radius-md); padding: 52px 32px; color: #fff;
    text-align: center;
}
#tg-336-wrapper .tg-336-summary__title {
    font-size: clamp(1.2rem, 3vw, 1.5rem); font-weight: 900;
    letter-spacing: -.02em; margin-bottom: 16px;
    display: flex; align-items: center; justify-content: center;
    gap: 10px; color: #fff;
}
#tg-336-wrapper .tg-336-summary__title .material-symbols-outlined { font-size: 1.6rem; color: var(--gold-400); }
#tg-336-wrapper .tg-336-summary__desc {
    color: rgba(255,255,255,.68); text-align: center;
    line-height: 1.85; margin-bottom: 32px !important;
    max-width: 560px; margin-left: auto; margin-right: auto;
}

/* 요약 리스트 */
#tg-336-wrapper .tg-336-summary__list {
    display: flex; flex-direction: column; gap: 12px;
    margin-bottom: 36px; text-align: left;
    max-width: 600px; margin-left: auto; margin-right: auto;
}
#tg-336-wrapper .tg-336-summary__list li {
    display: flex; align-items: flex-start; gap: 14px;
    font-size: var(--fs-base); color: rgba(255,255,255,.8); line-height: 1.7;
    background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-sm); padding: 14px 18px;
}
#tg-336-wrapper .tg-336-summary__list li strong { color: #fff; }
#tg-336-wrapper .tg-336-summary__item-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 1px; }

/* 푸터 */
#tg-336-wrapper .tg-336-footer { border-top: 1px solid rgba(255,255,255,.1); padding-top: 28px; text-align: center; }
#tg-336-wrapper .tg-336-footer__desc { color: rgba(255,255,255,.55); margin-bottom: 20px !important; }
#tg-336-wrapper .tg-336-footer__btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
    color: var(--sl-900); font-size: var(--fs-base); font-weight: 800;
    padding: 15px 32px; border-radius: 999px;
    box-shadow: var(--shadow-gold);
    transition: box-shadow .28s, transform .22s;
}
#tg-336-wrapper .tg-336-footer__btn:hover {
    box-shadow: 0 8px 28px rgba(234,179,8,.5); transform: translateY(-3px);
}
#tg-336-wrapper .tg-336-footer__btn .material-symbols-outlined { font-size: 1.1rem; }

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

/* ═════════════════════════════════════════
   반응형
═════════════════════════════════════════ */
@media (min-width: 600px) {
    #tg-336-wrapper .tg-336-cards { grid-template-columns: repeat(3, 1fr); }
    #tg-336-wrapper .tg-336-demo { flex-direction: row; align-items: flex-start; justify-content: center; gap: 40px; }
    #tg-336-wrapper .tg-336-privacy-cards { flex-direction: row; }
}

@media (min-width: 900px) {
    #tg-336-wrapper .tg-336-hero { padding: 80px 56px 90px; }
    #tg-336-wrapper .tg-336-section, #tg-336-wrapper .tg-336-intro { padding: 52px 48px; }
    #tg-336-wrapper .tg-336-summary { padding: 60px 56px; }
    #tg-336-wrapper .tg-336-pro-box { padding: 44px 44px; }
}
