/*
 * tips395/style.css  v1.0.0
 * 텔레그램 RTMP 라이브 스트리밍 가이드
 * 테마: 비비드 시그널 옐로우 + 딥 다크 (OBS·RTMP·전문 방송·온에어·크리에이터)
 * 그누보드5 격리 | BEM | 모바일 퍼스트
 */

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

/* ─── 디자인 토큰 ─── */
#tg-395-wrapper {
    --ylw-300: #fde047;
    --ylw-400: #facc15;
    --ylw-500: #eab308;
    --ylw-600: #ca8a04;
    --ylw-700: #a16207;
    --grn-400: #4ade80;
    --sky-400: #38bdf8;
    --red-500: #ef4444;
    --dk-base: #0d0b00;
    --sl-50:   #f8fafc;
    --sl-100:  #f1f5f9;
    --sl-200:  #e2e8f0;
    --sl-400:  #94a3b8;
    --sl-500:  #64748b;
    --sl-800:  #1e293b;
    --sl-900:  #0f172a;
    --text-sub:#475569;
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --shadow-sm:  0 4px 14px rgba(0,0,0,.06);
    --shadow-ylw: 0 6px 28px rgba(234,179,8,.35);
    --fs-sm:   .9rem;
    --fs-base: 1rem;
    --fs-lg:   1.2rem;

    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    font-size: var(--fs-base); color: var(--sl-800); line-height: 1.7;
    max-width: 1100px; margin: 0 auto; width: 100%;
}

/* Material Symbols — !important */
#tg-395-wrapper .material-symbols-outlined {
    font-family: 'Material Symbols Outlined', sans-serif !important;
    font-weight: normal !important; font-style: normal !important;
    font-size: inherit; line-height: 1;
    display: inline-block; white-space: nowrap; direction: ltr;
    -webkit-font-smoothing: antialiased; vertical-align: middle;
    text-transform: none; letter-spacing: normal; word-wrap: normal;
    font-feature-settings: 'liga';
}

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

/* ═══════ 히어로 */
#tg-395-wrapper .tg-395-hero {
    position: relative; background: var(--dk-base);
    border-radius: var(--radius-lg); padding: 64px 28px 72px; text-align: center; overflow: hidden;
}
#tg-395-wrapper .tg-395-hero__bg {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 65% 52% at 28% 35%, rgba(234,179,8,.2) 0%, transparent 56%),
        radial-gradient(ellipse 50% 44% at 80% 68%, rgba(250,204,21,.1) 0%, transparent 52%);
}
#tg-395-wrapper .tg-395-hero__floats { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
#tg-395-wrapper .tg-395-float { position: absolute; font-size: 1.8rem; opacity: 0; animation: tg395Float ease-in-out infinite; }
#tg-395-wrapper .tg-395-float--1 { top:14%; left:4%;    animation-duration:5.5s; }
#tg-395-wrapper .tg-395-float--2 { top:22%; right:5%;   animation-duration:4.5s; animation-delay:-2s; font-size:1.3rem; }
#tg-395-wrapper .tg-395-float--3 { bottom:28%; left:6%; animation-duration:6s;   animation-delay:-1s; }
#tg-395-wrapper .tg-395-float--4 { bottom:20%; right:7%;animation-duration:5s;   animation-delay:-1.8s; font-size:1.3rem; }
@keyframes tg395Float { 0%,100%{opacity:0;transform:translateY(0) scale(.9);}50%{opacity:.52;transform:translateY(-14px) scale(1.12);} }
#tg-395-wrapper .tg-395-hero__inner { position:relative; z-index:1; max-width:700px; margin:0 auto; }
#tg-395-wrapper .tg-395-hero__badge { display:inline-flex; align-items:center; gap:6px; background:rgba(234,179,8,.18); border:1px solid rgba(250,204,21,.38); color:var(--ylw-300); font-size:.85rem; font-weight:700; padding:6px 18px; border-radius:999px; margin-bottom:22px !important; }
#tg-395-wrapper .tg-395-hero__title { font-size:clamp(1.65rem,4.2vw,2.3rem); font-weight:900; color:#fff; line-height:1.28; letter-spacing:-.02em; margin-bottom:16px; }
#tg-395-wrapper .tg-395-hero__title em { font-style:normal; color:var(--ylw-300); text-shadow:0 0 24px rgba(234,179,8,.6); }
#tg-395-wrapper .tg-395-hero__subtitle { color:rgba(255,255,255,.65); line-height:1.8; max-width:540px; margin:0 auto 28px !important; }
#tg-395-wrapper .tg-395-hero__chips { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; }
#tg-395-wrapper .tg-395-hero__chip { display:inline-flex; align-items:center; gap:6px; background:rgba(234,179,8,.12); border:1px solid rgba(250,204,21,.24); color:var(--ylw-300); font-size:.82rem; font-weight:800; padding:8px 16px; border-radius:999px; }
#tg-395-wrapper .tg-395-hero__chip--grn { background:rgba(74,222,128,.08); border-color:rgba(74,222,128,.22); color:var(--grn-400); }
#tg-395-wrapper .tg-395-hero__chip--sky { background:rgba(56,189,248,.08); border-color:rgba(56,189,248,.22); color:var(--sky-400); }

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

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

/* 공통 섹션 */
#tg-395-wrapper .tg-395-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-395-wrapper .tg-395-section--dark { background:var(--dk-base); border-color:rgba(234,179,8,.1); }
#tg-395-wrapper .tg-395-section--tip  { background:var(--sl-50); }
#tg-395-wrapper .tg-395-section__label { display:inline-flex; align-items:center; gap:7px; font-size:.88rem; font-weight:700; padding:7px 20px; border-radius:999px; margin-bottom:22px; }
#tg-395-wrapper .tg-395-section__label--dark { background:rgba(255,255,255,.13); color:#fff; border:1px solid rgba(255,255,255,.24); }
#tg-395-wrapper .tg-395-section__label--ylw  { background:rgba(234,179,8,.08); color:var(--ylw-700); }
#tg-395-wrapper .tg-395-section__label .material-symbols-outlined { font-size:1rem; }
#tg-395-wrapper .tg-395-section__title--light { color:#fff; font-size:clamp(1.2rem,3vw,1.5rem); font-weight:900; letter-spacing:-.02em; margin-bottom:16px !important; text-align:center; line-height:1.35; padding:0 8px; }
#tg-395-wrapper .tg-395-section__title { font-size:clamp(1.2rem,3vw,1.5rem); font-weight:900; color:var(--sl-900); letter-spacing:-.02em; margin-bottom:16px; display:flex; align-items:center; justify-content:center; gap:10px; }
#tg-395-wrapper .tg-395-section > p { color:var(--text-sub); max-width:680px; margin-left:auto; margin-right:auto; }
#tg-395-wrapper .tg-395-section__desc--light { color:rgba(255,255,255,.8) !important; margin-bottom:28px !important; }

/* ═══════ 시뮬레이터 */
/* 단계 인디케이터 */
#tg-395-wrapper .tg-395-step-ind { display:flex; align-items:center; justify-content:center; gap:4px; margin-bottom:24px; }
#tg-395-wrapper .tg-395-step-ind__item { display:flex; flex-direction:column; align-items:center; gap:5px; }
#tg-395-wrapper .tg-395-step-ind__dot { width:30px; height:30px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:.78rem; font-weight:900; background:rgba(255,255,255,.08); color:rgba(255,255,255,.22); border:1px solid rgba(255,255,255,.1); transition:all .3s; }
#tg-395-wrapper .tg-395-step-ind__item--active .tg-395-step-ind__dot { background:var(--ylw-500); color:#000; border-color:var(--ylw-400); box-shadow:0 0 12px rgba(234,179,8,.45); }
#tg-395-wrapper .tg-395-step-ind__item--done .tg-395-step-ind__dot { background:rgba(74,222,128,.2); color:var(--grn-400); border-color:rgba(74,222,128,.4); }
#tg-395-wrapper .tg-395-step-ind__lbl { font-size:.62rem; font-weight:700; color:rgba(255,255,255,.22); transition:color .3s; }
#tg-395-wrapper .tg-395-step-ind__item--active .tg-395-step-ind__lbl { color:var(--ylw-300); }
#tg-395-wrapper .tg-395-step-ind__item--done .tg-395-step-ind__lbl { color:var(--grn-400); }
#tg-395-wrapper .tg-395-step-ind__line { flex:1; max-width:40px; height:1px; background:rgba(255,255,255,.1); }

#tg-395-wrapper .tg-395-sim-wrap { max-width:420px; margin:0 auto; text-align:left; }
#tg-395-wrapper .tg-395-sim-hint { font-size:.7rem; color:rgba(255,255,255,.22); text-align:center; margin-top:8px !important; }

/* 스테이지 공통 */
#tg-395-wrapper .tg-395-stage { animation:tg395FadeIn .3s ease; }

/* Stage 1: 유형 선택 */
#tg-395-wrapper .tg-395-stage__title { font-size:.88rem; font-weight:800; color:rgba(255,255,255,.55); text-align:center; margin-bottom:14px !important; }
#tg-395-wrapper .tg-395-type-btns { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
#tg-395-wrapper .tg-395-type-btn { display:flex; flex-direction:column; align-items:center; gap:6px; padding:16px 12px; border-radius:12px; background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1); text-align:center; transition:all .2s; position:relative; }
#tg-395-wrapper .tg-395-type-btn:hover { background:rgba(255,255,255,.09); border-color:rgba(255,255,255,.18); }
#tg-395-wrapper .tg-395-type-btn--rtmp { border-color:rgba(234,179,8,.24); background:rgba(234,179,8,.06); }
#tg-395-wrapper .tg-395-type-btn--rtmp:hover { background:rgba(234,179,8,.1); }
#tg-395-wrapper .tg-395-type-btn__ico { font-size:2rem; display:block; }
#tg-395-wrapper .tg-395-type-btn__title { font-size:.82rem; font-weight:800; color:#fff; }
#tg-395-wrapper .tg-395-type-btn--rtmp .tg-395-type-btn__title { color:var(--ylw-300); }
#tg-395-wrapper .tg-395-type-btn__sub { font-size:.64rem; color:rgba(255,255,255,.28); line-height:1.4; }
#tg-395-wrapper .tg-395-type-btn--rtmp .tg-395-type-btn__sub { color:rgba(250,204,21,.45); }
#tg-395-wrapper .tg-395-type-btn__badge { position:absolute; top:8px; right:8px; background:var(--ylw-500); color:#000; font-size:.55rem; font-weight:900; padding:2px 7px; border-radius:999px; }
/* 카메라 선택 시 안내 */
#tg-395-wrapper .tg-395-cam-notice { margin-top:12px; background:rgba(56,189,248,.08); border:1px solid rgba(56,189,248,.2); border-radius:10px; padding:14px; display:flex; flex-direction:column; align-items:center; gap:8px; text-align:center; animation:tg395FadeIn .3s ease; }
#tg-395-wrapper .tg-395-cam-notice .material-symbols-outlined { font-size:1.4rem; color:var(--sky-400); display:block; }
#tg-395-wrapper .tg-395-cam-notice p { font-size:.76rem; color:rgba(255,255,255,.55); margin-bottom:0 !important; }
#tg-395-wrapper .tg-395-notice-btn { font-size:.72rem; font-weight:800; color:var(--sky-400); background:rgba(56,189,248,.1); border:1px solid rgba(56,189,248,.2); border-radius:7px; padding:6px 14px; transition:background .2s; }
#tg-395-wrapper .tg-395-notice-btn:hover { background:rgba(56,189,248,.18); }

/* Stage 2: RTMP 패널 */
#tg-395-wrapper .tg-395-rtmp-panel { background:rgba(255,255,255,.04); border:1px solid rgba(234,179,8,.14); border-radius:14px; overflow:hidden; }
#tg-395-wrapper .tg-395-rtmp-panel__hd { display:flex; align-items:center; gap:10px; padding:12px 16px; border-bottom:1px solid rgba(255,255,255,.05); background:rgba(234,179,8,.06); font-size:.78rem; font-weight:800; color:var(--ylw-300); }
#tg-395-wrapper .tg-395-rtmp-panel__hd .material-symbols-outlined { font-size:1rem; }
/* 키 행 */
#tg-395-wrapper .tg-395-key-row { padding:10px 14px; border-bottom:1px solid rgba(255,255,255,.04); }
#tg-395-wrapper .tg-395-key-row__lbl { font-size:.62rem; color:rgba(255,255,255,.28); font-weight:700; margin-bottom:5px !important; line-height:1 !important; }
#tg-395-wrapper .tg-395-key-row { display:flex; flex-wrap:wrap; align-items:center; gap:6px; }
#tg-395-wrapper .tg-395-key-row__lbl { flex:0 0 100%; margin-bottom:4px !important; }
#tg-395-wrapper .tg-395-key-row__val { flex:1; min-width:0; font-size:.68rem; font-family:'Courier New', monospace; color:rgba(255,255,255,.7); background:rgba(255,255,255,.05); border-radius:7px; padding:7px 10px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
#tg-395-wrapper .tg-395-key-row__val--mask { color:rgba(255,255,255,.35); letter-spacing:.12em; }
#tg-395-wrapper .tg-395-copy-btn, #tg-395-wrapper .tg-395-toggle-btn { display:flex; align-items:center; gap:4px; padding:6px 10px; border-radius:7px; background:rgba(255,255,255,.06); color:rgba(255,255,255,.45); font-size:.66rem; font-weight:700; transition:all .2s; flex-shrink:0; }
#tg-395-wrapper .tg-395-copy-btn:hover, #tg-395-wrapper .tg-395-toggle-btn:hover { background:rgba(234,179,8,.15); color:var(--ylw-300); }
#tg-395-wrapper .tg-395-copy-btn--done { background:rgba(74,222,128,.12); color:var(--grn-400) !important; }
#tg-395-wrapper .tg-395-copy-btn .material-symbols-outlined, #tg-395-wrapper .tg-395-toggle-btn .material-symbols-outlined { font-size:.85rem; }
/* OBS 안내 */
#tg-395-wrapper .tg-395-obs-guide { display:flex; align-items:flex-start; gap:8px; margin:10px 14px; font-size:.68rem; color:rgba(255,255,255,.38); line-height:1.5; }
#tg-395-wrapper .tg-395-obs-guide .material-symbols-outlined { font-size:.9rem; flex-shrink:0; margin-top:1px; color:var(--ylw-500); }
#tg-395-wrapper .tg-395-obs-guide strong { color:var(--ylw-300); }
/* 액션 버튼 행 */
#tg-395-wrapper .tg-395-rtmp-panel__actions { display:flex; gap:8px; padding:12px 14px; }
#tg-395-wrapper .tg-395-back-btn { display:flex; align-items:center; gap:6px; padding:10px 14px; border-radius:9px; background:rgba(255,255,255,.05); color:rgba(255,255,255,.38); font-size:.78rem; font-weight:700; transition:background .2s; }
#tg-395-wrapper .tg-395-back-btn:hover { background:rgba(255,255,255,.09); }
#tg-395-wrapper .tg-395-back-btn .material-symbols-outlined { font-size:.9rem; }
#tg-395-wrapper .tg-395-start-stream-btn { flex:1; display:flex; align-items:center; justify-content:center; gap:7px; padding:11px; border-radius:9px; background:linear-gradient(135deg, var(--ylw-500), var(--ylw-600)); color:#000; font-size:.85rem; font-weight:900; box-shadow:var(--shadow-ylw); transition:opacity .18s; }
#tg-395-wrapper .tg-395-start-stream-btn:hover { opacity:.9; }
#tg-395-wrapper .tg-395-start-stream-btn .material-symbols-outlined { font-size:1rem; }

/* Stage 3: 방송 관리 */
/* ON AIR 배너 */
#tg-395-wrapper .tg-395-onair { display:flex; align-items:center; gap:8px; background:rgba(239,68,68,.1); border:1px solid rgba(239,68,68,.25); border-radius:9px; padding:9px 14px; margin-bottom:10px; }
#tg-395-wrapper .tg-395-onair__dot { width:8px; height:8px; border-radius:50%; background:var(--red-500); animation:tg395Blink 1s ease-in-out infinite; flex-shrink:0; }
@keyframes tg395Blink { 0%,100%{opacity:1;} 50%{opacity:.15;} }
#tg-395-wrapper .tg-395-onair__txt { font-size:.78rem; font-weight:900; color:var(--red-500); letter-spacing:.06em; }
#tg-395-wrapper .tg-395-onair__sub { margin-left:auto; font-size:.7rem; font-weight:700; color:rgba(255,255,255,.3); font-family:'Courier New', monospace; }
/* 관리 카드 */
#tg-395-wrapper .tg-395-mgmt-card { background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.07); border-radius:12px; padding:14px; margin-bottom:10px; }
#tg-395-wrapper .tg-395-mgmt-card__title { font-size:.8rem; font-weight:800; color:var(--ylw-300); display:flex; align-items:center; gap:7px; margin-bottom:12px !important; }
#tg-395-wrapper .tg-395-mgmt-card__title .material-symbols-outlined { font-size:1rem; }
/* 댓글 토글 행 */
#tg-395-wrapper .tg-395-toggle-row { display:flex; align-items:center; gap:10px; margin-bottom:12px; }
#tg-395-wrapper .tg-395-toggle-row__lbl { font-size:.75rem; color:rgba(255,255,255,.5); font-weight:700; flex:1; }
#tg-395-wrapper .tg-395-toggle-row__status { font-size:.68rem; font-weight:700; color:var(--grn-400); min-width:32px; }
#tg-395-wrapper .tg-395-toggle-row__status--off { color:rgba(255,255,255,.28); }
/* 스위치 */
#tg-395-wrapper .tg-395-sw { width:40px; height:22px; border-radius:999px; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.14); position:relative; transition:background .2s; flex-shrink:0; }
#tg-395-wrapper .tg-395-sw[aria-checked="true"] { background:rgba(74,222,128,.25); border-color:rgba(74,222,128,.4); }
#tg-395-wrapper .tg-395-sw__knob { position:absolute; top:2px; left:2px; width:16px; height:16px; border-radius:50%; background:#fff; transition:transform .2s, background .2s; box-shadow:0 1px 3px rgba(0,0,0,.3); }
#tg-395-wrapper .tg-395-sw[aria-checked="true"] .tg-395-sw__knob { transform:translateX(18px); background:var(--grn-400); }
/* 가격 슬라이더 */
#tg-395-wrapper .tg-395-price-row { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
#tg-395-wrapper .tg-395-price-row__lbl { font-size:.72rem; color:rgba(255,255,255,.45); font-weight:700; display:inline-flex; align-items:center; gap:5px; flex-shrink:0; }
#tg-395-wrapper .tg-395-price-row__lbl .material-symbols-outlined { font-size:.85rem; color:var(--ylw-500); }
#tg-395-wrapper .tg-395-price-ctrl { display:flex; align-items:center; gap:8px; flex:1; }
#tg-395-wrapper .tg-395-price-range { flex:1; height:3px; accent-color:var(--ylw-500); }
#tg-395-wrapper .tg-395-price-display { font-size:.68rem; font-weight:800; color:var(--ylw-400); min-width:36px; text-align:right; }
/* 관리자 목록 */
#tg-395-wrapper .tg-395-admin-list { display:flex; flex-direction:column; gap:6px; margin-bottom:10px; }
#tg-395-wrapper .tg-395-admin-item { display:flex; align-items:center; gap:8px; background:rgba(255,255,255,.04); border-radius:8px; padding:7px 10px; }
#tg-395-wrapper .tg-395-admin-item__ava { font-size:1.3rem; flex-shrink:0; }
#tg-395-wrapper .tg-395-admin-item__nm { flex:1; font-size:.72rem; font-weight:800; color:rgba(255,255,255,.65); }
#tg-395-wrapper .tg-395-admin-item__role { font-size:.6rem; font-weight:700; color:var(--ylw-400); background:rgba(234,179,8,.1); padding:2px 8px; border-radius:999px; }
#tg-395-wrapper .tg-395-admin-item--new .tg-395-admin-item__role { color:var(--sky-400); background:rgba(56,189,248,.1); }
#tg-395-wrapper .tg-395-add-admin-btn { width:100%; display:flex; align-items:center; justify-content:center; gap:7px; padding:9px; border-radius:9px; background:rgba(255,255,255,.05); border:1px dashed rgba(255,255,255,.12); color:rgba(255,255,255,.35); font-size:.75rem; font-weight:700; transition:all .2s; }
#tg-395-wrapper .tg-395-add-admin-btn:hover { background:rgba(234,179,8,.08); border-color:rgba(234,179,8,.28); color:var(--ylw-300); }
#tg-395-wrapper .tg-395-add-admin-btn .material-symbols-outlined { font-size:.9rem; }
/* 방송 종료 버튼 */
#tg-395-wrapper .tg-395-end-btn { width:100%; display:flex; align-items:center; justify-content:center; gap:7px; padding:11px; border-radius:9px; background:rgba(239,68,68,.08); border:1px solid rgba(239,68,68,.2); color:rgba(239,68,68,.55); font-size:.82rem; font-weight:800; transition:all .2s; }
#tg-395-wrapper .tg-395-end-btn:hover { background:rgba(239,68,68,.14); color:var(--red-500); }
#tg-395-wrapper .tg-395-end-btn .material-symbols-outlined { font-size:1rem; }

/* Stage 4: 완료 */
#tg-395-wrapper .tg-395-done { text-align:center; padding:28px 16px; }
#tg-395-wrapper .tg-395-done__ico { font-size:3.5rem; margin-bottom:14px; display:block; }
#tg-395-wrapper .tg-395-done__title { font-size:.95rem; font-weight:800; color:#fff; margin-bottom:8px !important; }
#tg-395-wrapper .tg-395-done__sub   { font-size:.78rem; color:rgba(255,255,255,.35); margin-bottom:22px !important; }
#tg-395-wrapper .tg-395-restart-btn { display:inline-flex; align-items:center; gap:7px; padding:10px 24px; border-radius:999px; background:rgba(234,179,8,.15); border:1px solid rgba(234,179,8,.3); color:var(--ylw-300); font-size:.82rem; font-weight:800; transition:background .2s; }
#tg-395-wrapper .tg-395-restart-btn:hover { background:rgba(234,179,8,.24); }
#tg-395-wrapper .tg-395-restart-btn .material-symbols-outlined { font-size:.9rem; }

/* 팁 그리드 */
#tg-395-wrapper .tg-395-tip-grid { display:flex; flex-direction:column; gap:14px; text-align:left; max-width:700px; margin:0 auto; }
#tg-395-wrapper .tg-395-tip-item { display:flex; align-items:flex-start; gap:14px; background:#fff; border:1px solid var(--sl-200); border-radius:12px; padding:16px 18px; }
#tg-395-wrapper .tg-395-tip-item__ico { width:42px; height:42px; border-radius:10px; background:rgba(234,179,8,.08); border:1px solid rgba(234,179,8,.18); display:flex; align-items:center; justify-content:center; font-size:1.2rem; color:var(--ylw-600); flex-shrink:0; }
#tg-395-wrapper .tg-395-tip-item__title { font-size:.9rem; font-weight:800; color:var(--sl-900); margin-bottom:4px !important; }
#tg-395-wrapper .tg-395-tip-item__desc  { font-size:.82rem; color:var(--text-sub); line-height:1.6; margin-bottom:0 !important; }

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

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

@keyframes tg395Float  { 0%,100%{opacity:0;transform:translateY(0) scale(.9);}50%{opacity:.52;transform:translateY(-14px) scale(1.12);} }
@keyframes tg395FadeIn { from{opacity:0;transform:translateY(6px);}to{opacity:1;transform:translateY(0);} }

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