/*
 * tips315/style.css  v1.0.0
 * 텔레그램 그룹 대량 관리 가이드 전용 스타일
 * 그누보드5 완전 격리 | BEM | 모바일 퍼스트
 * 테마: 레드·오렌지·차콜 (관리자 권한·단속·정화)
 */

/* ── 리셋 ── */
#tg-315-wrapper,#tg-315-wrapper *,#tg-315-wrapper *::before,#tg-315-wrapper *::after{box-sizing:border-box;margin:0;padding:0;border:none;outline:none;text-decoration:none;list-style:none;background:none;font-style:normal}
#tg-315-wrapper h1,#tg-315-wrapper h2,#tg-315-wrapper h3,#tg-315-wrapper h4{font-size:inherit;font-weight:inherit;color:inherit;line-height:1.3}
#tg-315-wrapper strong,#tg-315-wrapper b{color:inherit;font-weight:700}
#tg-315-wrapper p{margin-bottom:14px!important;line-height:1.7!important}
#tg-315-wrapper p:last-child{margin-bottom:0!important}
#tg-315-wrapper button{cursor:pointer}
#tg-315-wrapper label{cursor:pointer}

/* ── 변수 ── */
#tg-315-wrapper{
    --red-400:#f87171;--red-500:#ef4444;--red-600:#dc2626;--red-700:#b91c1c;
    --orange-400:#fb923c;--orange-500:#f97316;--orange-600:#ea580c;
    --amber-400:#fbbf24;--amber-500:#f59e0b;
    --green-500:#22c55e;--green-600:#16a34a;
    --slate-50:#f8fafc;--slate-100:#f1f5f9;--slate-200:#e2e8f0;--slate-300:#cbd5e1;--slate-400:#94a3b8;--slate-500:#64748b;--slate-700:#334155;--slate-800:#1e293b;--slate-900:#0f172a;
    --text-main:#1e293b;--text-sub:#475569;--border-r:16px;
    --shadow-red:0 12px 36px rgba(239,68,68,0.18);
}

#tg-315-wrapper.tg-315-wrapper{max-width:1100px;margin:0 auto;width:100%;font-family:'Pretendard','Apple SD Gothic Neo',sans-serif;color:var(--text-main);line-height:1.7;background-color:var(--slate-50);border-radius:24px;overflow:hidden;box-shadow:0 16px 48px rgba(239,68,68,0.07)}

/* ══════ 히어로 ══════ */
#tg-315-wrapper .tg-315-hero{position:relative;background:linear-gradient(145deg,#1a0505 0%,#7f1d1d 45%,#1c1917 100%);padding:60px 24px 72px;text-align:center;overflow:hidden}
#tg-315-wrapper .tg-315-hero::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 50% 30%,rgba(239,68,68,0.22) 0%,transparent 65%),radial-gradient(circle at 20% 80%,rgba(249,115,22,0.12) 0%,transparent 45%);pointer-events:none}
#tg-315-wrapper .tg-315-hero::after{content:'';position:absolute;bottom:0;left:0;right:0;height:60px;background:var(--slate-50);clip-path:polygon(0 100%,100% 100%,100% 0)}
#tg-315-wrapper .tg-315-hero__inner{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:20px}
#tg-315-wrapper .tg-315-hero__badge{display:inline-flex;align-items:center;gap:8px;background:rgba(239,68,68,0.2)!important;color:#fca5a5!important;font-size:0.85rem;font-weight:800;padding:7px 18px;border-radius:20px;border:1px solid rgba(239,68,68,0.35)}

/* 히어로 stat 행 */
#tg-315-wrapper .tg-315-hero__stat-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:center}
#tg-315-wrapper .tg-315-hero__stat{display:flex;align-items:center;gap:7px;padding:8px 16px;border-radius:12px;font-size:0.82rem;font-weight:900}
#tg-315-wrapper .tg-315-hero__stat i{font-size:0.9rem}
#tg-315-wrapper .tg-315-hero__stat--red{background:rgba(239,68,68,0.18)!important;color:#fca5a5!important;border:1px solid rgba(239,68,68,0.25)}
#tg-315-wrapper .tg-315-hero__stat--orange{background:rgba(249,115,22,0.18)!important;color:#fdba74!important;border:1px solid rgba(249,115,22,0.25)}
#tg-315-wrapper .tg-315-hero__stat--green{background:rgba(34,197,94,0.15)!important;color:#86efac!important;border:1px solid rgba(34,197,94,0.2)}
#tg-315-wrapper .tg-315-hero__stat-div{color:rgba(255,255,255,0.3)!important;font-size:1rem;font-weight:700}
#tg-315-wrapper .tg-315-hero__title{font-size:1.9rem;font-weight:900;color:#ffffff!important;line-height:1.4;word-break:keep-all;text-shadow:0 2px 16px rgba(239,68,68,0.4)}
#tg-315-wrapper .tg-315-hero__subtitle{font-size:1rem;color:rgba(252,165,165,0.9)!important;word-break:keep-all;max-width:700px;margin-bottom:0!important;line-height:1.65!important}
#tg-315-wrapper .tg-315-hero__tags{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
#tg-315-wrapper .tg-315-hero__tag{background:rgba(255,255,255,0.07)!important;color:rgba(255,255,255,0.82)!important;font-size:0.82rem;font-weight:700;padding:5px 14px;border-radius:24px;border:1px solid rgba(239,68,68,0.2)}

/* ══════ 메인 ══════ */
#tg-315-wrapper .tg-315-main{background:#fff;padding:52px 24px 48px;display:flex;flex-direction:column;gap:56px}

/* ══════ 도입부 ══════ */
#tg-315-wrapper .tg-315-intro{background:linear-gradient(135deg,#fff1f2,#fff7ed)!important;border:1px solid #fca5a5;border-radius:var(--border-r);padding:36px 28px;text-align:center;position:relative}
#tg-315-wrapper .tg-315-intro::before{content:'';position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,var(--red-500),var(--orange-500));border-radius:var(--border-r) var(--border-r) 0 0}
#tg-315-wrapper .tg-315-intro__icon{font-size:2.8rem;margin-bottom:14px}
#tg-315-wrapper .tg-315-intro__heading{font-size:1.3rem;font-weight:900;color:var(--slate-800)!important;margin-bottom:16px}
#tg-315-wrapper .tg-315-intro p{font-size:1rem;color:var(--text-sub)!important;word-break:keep-all;max-width:820px;margin:0 auto!important}
#tg-315-wrapper .tg-315-intro p strong{color:var(--red-700)!important;font-weight:800}

/* ══════ 섹션 공통 ══════ */
#tg-315-wrapper .tg-315-section__label{display:inline-flex;align-items:center;gap:8px;background:var(--red-600)!important;color:#fff!important;font-size:0.8rem;font-weight:800;padding:5px 16px;border-radius:24px;margin-bottom:16px}
#tg-315-wrapper .tg-315-section__label--demo{background:linear-gradient(135deg,var(--red-600),var(--orange-500))!important}
#tg-315-wrapper .tg-315-section__label--robot{background:linear-gradient(135deg,var(--slate-700),var(--slate-800))!important}
#tg-315-wrapper .tg-315-section__label--tips{background:var(--slate-700)!important;color:#fff!important}
#tg-315-wrapper .tg-315-section__title{font-size:1.4rem;font-weight:900;color:var(--slate-800)!important;border-left:5px solid var(--red-500);padding-left:16px;margin-bottom:22px;line-height:1.4;word-break:keep-all}
#tg-315-wrapper .tg-315-section p{font-size:1rem;color:var(--text-sub)!important;word-break:keep-all;text-align:left}
#tg-315-wrapper .tg-315-section p strong{color:var(--red-700)!important}

/* ══════ 시뮬레이터 ══════ */
#tg-315-wrapper .tg-315-sim-container{margin-top:24px;display:flex;flex-direction:column;gap:20px}

/* ── 좌측: 그룹 채팅 ── */
#tg-315-wrapper .tg-315-group-chat{flex:1;background:var(--slate-900)!important;border-radius:24px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 16px 40px rgba(0,0,0,0.3)}

/* 채팅 헤더 */
#tg-315-wrapper .tg-315-chat-header{display:flex;align-items:center;gap:10px;padding:12px 14px;background:var(--slate-800)!important;border-bottom:1px solid rgba(255,255,255,0.06)}
#tg-315-wrapper .tg-315-chat-header__avatar{font-size:1.4rem;width:36px;height:36px;background:rgba(255,255,255,0.08)!important;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
#tg-315-wrapper .tg-315-chat-header__info{flex:1}
#tg-315-wrapper .tg-315-chat-header__name{font-size:0.9rem;font-weight:900;color:#fff!important}
#tg-315-wrapper .tg-315-chat-header__sub{font-size:0.7rem;color:rgba(255,255,255,0.4)!important}
#tg-315-wrapper .tg-315-chat-header__badge{font-size:0.68rem;font-weight:900;padding:3px 9px;border-radius:8px}
#tg-315-wrapper .tg-315-chat-header__badge--admin{background:rgba(239,68,68,0.2)!important;color:#fca5a5!important;border:1px solid rgba(239,68,68,0.3)}

/* 선택 상태바 */
#tg-315-wrapper .tg-315-select-bar{display:flex;align-items:center;gap:10px;padding:8px 14px;background:rgba(239,68,68,0.12)!important;border-bottom:1px solid rgba(239,68,68,0.2);font-size:0.82rem;font-weight:900;color:#fca5a5!important}
#tg-315-wrapper .tg-315-select-bar i{color:var(--red-400)!important}
#tg-315-wrapper .tg-315-select-clear{margin-left:auto;font-size:0.72rem;font-weight:900;padding:3px 10px;background:rgba(255,255,255,0.06)!important;color:rgba(255,255,255,0.5)!important;border-radius:8px;font-family:inherit;transition:background 0.2s}
#tg-315-wrapper .tg-315-select-clear:hover{background:rgba(255,255,255,0.12)!important}

/* 메시지 목록 */
#tg-315-wrapper .tg-315-messages{padding:10px;display:flex;flex-direction:column;gap:6px;flex:1;overflow-y:auto}
#tg-315-wrapper .tg-315-msg-item{display:flex;align-items:flex-start;gap:8px;padding:8px;border-radius:12px;position:relative;transition:background 0.2s,opacity 0.4s,transform 0.4s}
#tg-315-wrapper .tg-315-msg-item--spam{cursor:pointer}
#tg-315-wrapper .tg-315-msg-item--spam:hover{background:rgba(239,68,68,0.06)!important}
#tg-315-wrapper .tg-315-msg-item.is-selected{background:rgba(239,68,68,0.12)!important}
#tg-315-wrapper .tg-315-msg-item.is-removed{opacity:0;transform:translateX(30px)}

#tg-315-wrapper .tg-315-msg-item__avatar{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1rem;flex-shrink:0}
#tg-315-wrapper .tg-315-msg-item__avatar--blue{background:linear-gradient(135deg,#3b82f6,#1d4ed8)!important}
#tg-315-wrapper .tg-315-msg-item__avatar--green{background:linear-gradient(135deg,#22c55e,#15803d)!important}
#tg-315-wrapper .tg-315-msg-item__avatar--red{background:linear-gradient(135deg,var(--red-500),var(--red-700))!important}
#tg-315-wrapper .tg-315-msg-item__avatar--orange{background:linear-gradient(135deg,var(--orange-500),var(--orange-600))!important}

#tg-315-wrapper .tg-315-msg-item__body{flex:1;min-width:0}
#tg-315-wrapper .tg-315-msg-item__name{display:block;font-size:0.72rem;font-weight:900;color:rgba(255,255,255,0.5)!important;margin-bottom:4px}
#tg-315-wrapper .tg-315-msg-item__name--spam{color:#fca5a5!important}
#tg-315-wrapper .tg-315-spam-tag{display:inline-block;font-size:0.58rem;font-weight:900;padding:1px 7px;background:var(--red-600)!important;color:#fff!important;border-radius:6px;margin-left:5px;vertical-align:middle}
#tg-315-wrapper .tg-315-msg-item__bubble{display:inline-block;padding:8px 12px;border-radius:0 12px 12px 12px;font-size:0.82rem;max-width:100%;word-break:break-all}
#tg-315-wrapper .tg-315-msg-item__bubble--normal{background:rgba(255,255,255,0.07)!important;color:rgba(255,255,255,0.85)!important}
#tg-315-wrapper .tg-315-msg-item__bubble--spam{background:rgba(239,68,68,0.12)!important;color:#fca5a5!important;border:1px solid rgba(239,68,68,0.2)}

/* 체크 아이콘 */
#tg-315-wrapper .tg-315-msg-item__check{width:18px;height:18px;flex-shrink:0;display:flex;align-items:center;justify-content:center;color:var(--red-500)!important;opacity:0;transition:opacity 0.2s,transform 0.2s;transform:scale(0.7)}
#tg-315-wrapper .tg-315-msg-item--spam:hover .tg-315-msg-item__check{opacity:0.4;transform:scale(1)}
#tg-315-wrapper .tg-315-msg-item.is-selected .tg-315-msg-item__check{opacity:1;transform:scale(1)}

/* 힌트 */
#tg-315-wrapper .tg-315-hint{padding:12px 14px;text-align:center;font-size:0.78rem;color:rgba(255,255,255,0.25)!important;display:flex;align-items:center;justify-content:center;gap:6px}
#tg-315-wrapper .tg-315-hint i{color:rgba(239,68,68,0.4)!important}
#tg-315-wrapper .tg-315-hint.is-done{display:none}

/* ── 우측: 관리자 액션 패널 ── */
#tg-315-wrapper .tg-315-admin-panel{flex:1;background:var(--slate-50)!important;border:2px solid var(--slate-200);border-radius:24px;padding:20px;display:flex;flex-direction:column;gap:16px;min-height:320px;position:relative}
#tg-315-wrapper .tg-315-admin-panel__label{display:flex;align-items:center;gap:8px;font-size:0.78rem;font-weight:900;color:var(--slate-500)!important;padding-bottom:14px;border-bottom:1px solid var(--slate-200)}
#tg-315-wrapper .tg-315-admin-panel__label i{color:var(--red-500)!important}

/* 빈 상태 */
#tg-315-wrapper .tg-315-admin-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:var(--slate-400)!important;text-align:center}
#tg-315-wrapper .tg-315-admin-empty i{font-size:2rem;color:var(--red-400)!important;opacity:0.3}
#tg-315-wrapper .tg-315-admin-empty p{font-size:0.9rem;margin-bottom:0!important;line-height:1.45!important;color:var(--slate-400)!important}

/* 액션 메뉴 */
#tg-315-wrapper .tg-315-admin-actions{display:flex;flex-direction:column;gap:12px;animation:tg315-fadeIn 0.35s ease}
@keyframes tg315-fadeIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}

/* 선택 요약 */
#tg-315-wrapper .tg-315-action-summary{background:rgba(239,68,68,0.05)!important;border:1px solid rgba(239,68,68,0.15);border-radius:12px;padding:12px 14px;display:flex;flex-direction:column;gap:4px}
#tg-315-wrapper .tg-315-action-summary__count{font-size:1rem;font-weight:900;color:var(--red-700)!important}
#tg-315-wrapper .tg-315-action-summary__users{font-size:0.78rem;color:var(--slate-500)!important}

/* 액션 체크박스 행 */
#tg-315-wrapper .tg-315-action-list{display:flex;flex-direction:column;gap:8px}
#tg-315-wrapper .tg-315-action-row{display:flex;align-items:center;gap:10px;padding:10px 12px;background:#fff!important;border:1px solid var(--slate-200);border-radius:12px;transition:all 0.2s}
#tg-315-wrapper .tg-315-action-row:hover{border-color:var(--red-300,#fca5a5);background:rgba(239,68,68,0.02)!important}
#tg-315-wrapper .tg-315-action-row:has(.tg-315-action-chk:checked){border-color:var(--red-400);background:rgba(239,68,68,0.05)!important}
#tg-315-wrapper .tg-315-action-chk{width:16px;height:16px;accent-color:var(--red-500);flex-shrink:0;cursor:pointer}
#tg-315-wrapper .tg-315-action-row__icon{width:32px;height:32px;border-radius:9px;display:flex;align-items:center;justify-content:center;font-size:0.85rem;flex-shrink:0}
#tg-315-wrapper .tg-315-action-row__icon--red{background:rgba(239,68,68,0.1)!important;color:var(--red-600)!important}
#tg-315-wrapper .tg-315-action-row__icon--orange{background:rgba(249,115,22,0.1)!important;color:var(--orange-600)!important}
#tg-315-wrapper .tg-315-action-row__icon--amber{background:rgba(245,158,11,0.1)!important;color:var(--amber-500)!important}
#tg-315-wrapper .tg-315-action-row__title{font-size:0.88rem;font-weight:900;color:var(--slate-800)!important}
#tg-315-wrapper .tg-315-action-row__desc{font-size:0.72rem;color:var(--slate-400)!important}

/* 실행 버튼 */
#tg-315-wrapper .tg-315-execute-btn{width:100%;padding:13px;background:linear-gradient(135deg,var(--red-600),var(--orange-500))!important;color:#fff!important;border-radius:12px;font-family:inherit;font-size:0.95rem;font-weight:900;display:flex;align-items:center;justify-content:center;gap:8px;transition:all 0.25s;box-shadow:0 4px 16px rgba(239,68,68,0.2)}
#tg-315-wrapper .tg-315-execute-btn:disabled{background:var(--slate-200)!important;color:var(--slate-400)!important;cursor:not-allowed;box-shadow:none}
#tg-315-wrapper .tg-315-execute-btn:not(:disabled):hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(239,68,68,0.3)}

/* 결과 패널 */
#tg-315-wrapper .tg-315-admin-result{display:flex;flex-direction:column;align-items:center;gap:10px;padding:20px;text-align:center;animation:tg315-popIn 0.5s cubic-bezier(0.34,1.56,0.64,1)}
@keyframes tg315-popIn{from{opacity:0;transform:scale(0.75)}to{opacity:1;transform:scale(1)}}
#tg-315-wrapper .tg-315-result-icon{font-size:2.5rem}
#tg-315-wrapper .tg-315-result-title{font-size:1.05rem;font-weight:900;color:var(--green-600)!important}
#tg-315-wrapper .tg-315-result-list{text-align:left;display:flex;flex-direction:column;gap:6px;width:100%;font-size:0.85rem;color:var(--slate-600)!important}
#tg-315-wrapper .tg-315-result-list li{display:flex;align-items:center;gap:8px;padding:6px 10px;background:var(--slate-50)!important;border-radius:8px}
#tg-315-wrapper .tg-315-result-list li i{color:var(--green-500)!important;font-size:0.8rem;flex-shrink:0}

/* 초기화 버튼 */
#tg-315-wrapper .tg-315-reset-btn{display:flex;align-items:center;gap:8px;padding:9px 20px;background:var(--slate-700)!important;color:#fff!important;border-radius:10px;font-family:inherit;font-size:0.82rem;font-weight:900;transition:all 0.2s;margin-top:4px}
#tg-315-wrapper .tg-315-reset-btn:hover{background:var(--slate-800)!important;transform:translateY(-2px)}

/* ══════ 자동 스팸 필터링 ══════ */
#tg-315-wrapper .tg-315-filter-demo{background:var(--slate-50)!important;border:1px solid var(--slate-200);border-radius:20px;padding:24px;margin-top:22px;display:flex;flex-direction:column;gap:20px}
#tg-315-wrapper .tg-315-filter-steps{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}
#tg-315-wrapper .tg-315-filter-step{display:flex;align-items:center;gap:10px;padding:10px 14px;background:#fff!important;border:1px solid var(--slate-200);border-radius:12px;flex-shrink:0}
#tg-315-wrapper .tg-315-filter-step__num{width:24px;height:24px;background:linear-gradient(135deg,var(--red-500),var(--orange-500))!important;color:#fff!important;border-radius:7px;display:flex;align-items:center;justify-content:center;font-size:0.75rem;font-weight:900;flex-shrink:0}
#tg-315-wrapper .tg-315-filter-step__text{font-size:0.82rem;color:var(--slate-700)!important}
#tg-315-wrapper .tg-315-filter-step__text strong{color:var(--red-700)!important}
#tg-315-wrapper .tg-315-filter-step__arrow{color:var(--slate-400)!important;font-size:0.85rem;flex-shrink:0;display:none}

/* 토글 데모 */
#tg-315-wrapper .tg-315-toggle-demo{background:#fff!important;border:1px solid var(--slate-200);border-radius:14px;padding:16px 18px;display:flex;flex-direction:column;gap:12px}
#tg-315-wrapper .tg-315-toggle-demo__header{display:flex;align-items:center;gap:12px}
#tg-315-wrapper .tg-315-toggle-demo__icon{font-size:1.6rem;width:44px;height:44px;background:var(--slate-100)!important;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:all 0.3s}
#tg-315-wrapper .tg-315-toggle-demo__title{font-size:0.9rem;font-weight:900;color:var(--slate-800)!important;margin-bottom:2px}
#tg-315-wrapper .tg-315-toggle-demo__sub{font-size:0.72rem;color:var(--slate-400)!important;flex:1}

/* 토글 스위치 */
#tg-315-wrapper .tg-315-toggle{position:relative;flex-shrink:0;margin-left:auto}
#tg-315-wrapper .tg-315-toggle input[type="checkbox"]{position:absolute;opacity:0;width:0;height:0;pointer-events:none}
#tg-315-wrapper .tg-315-toggle__track{display:block;width:48px;height:27px;background:var(--slate-300)!important;border-radius:14px;position:relative;cursor:pointer;transition:background 0.3s}
#tg-315-wrapper .tg-315-toggle__track::after{content:'';position:absolute;top:3px;left:3px;width:21px;height:21px;border-radius:50%;background:#fff!important;box-shadow:0 2px 5px rgba(0,0,0,0.15);transition:transform 0.3s}
#tg-315-wrapper .tg-315-toggle input:checked+.tg-315-toggle__track{background:var(--green-500)!important}
#tg-315-wrapper .tg-315-toggle input:checked+.tg-315-toggle__track::after{transform:translateX(21px)}

#tg-315-wrapper .tg-315-toggle-demo__result{display:flex;align-items:center;gap:8px;padding:10px 14px;background:rgba(34,197,94,0.08)!important;border:1px solid rgba(34,197,94,0.2);border-radius:10px;font-size:0.85rem;color:var(--green-600)!important;font-weight:700;animation:tg315-fadeIn 0.4s ease}
#tg-315-wrapper .tg-315-toggle-demo__result i{color:var(--green-500)!important;flex-shrink:0}

/* PC 팁 박스 */
#tg-315-wrapper .tg-315-pc-tip{display:flex;align-items:flex-start;gap:10px;margin-top:14px;padding:14px 16px;background:rgba(249,115,22,0.06)!important;border-left:4px solid var(--orange-500);border-radius:0 10px 10px 0;font-size:0.88rem;color:var(--slate-700)!important}
#tg-315-wrapper .tg-315-pc-tip i{color:var(--orange-500)!important;flex-shrink:0;margin-top:2px}
#tg-315-wrapper .tg-315-pc-tip strong{color:var(--orange-600)!important}

/* ══════ 기기별 탭 ══════ */
#tg-315-wrapper .tg-315-tab-group{display:flex;margin-top:24px;border-radius:14px 14px 0 0;overflow:hidden;border:1px solid var(--slate-200);border-bottom:none;background:var(--slate-100)!important}
#tg-315-wrapper .tg-315-tab-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;padding:14px 10px;color:var(--text-sub)!important;font-family:inherit;font-size:0.9rem;font-weight:800;transition:all 0.2s;border-right:1px solid var(--slate-200);border-bottom:3px solid transparent}
#tg-315-wrapper .tg-315-tab-btn:last-child{border-right:none}
#tg-315-wrapper .tg-315-tab-btn:hover{background:var(--slate-200)!important}
#tg-315-wrapper .tg-315-tab-btn--active{background:#fff!important;color:var(--red-700)!important;border-bottom-color:var(--red-500)}
#tg-315-wrapper .tg-315-tab-btn i{font-size:1.1rem}
#tg-315-wrapper .tg-315-tab-panel{display:none;background:#fff!important;border:1px solid var(--slate-200);border-top:none;border-radius:0 0 var(--border-r) var(--border-r);padding:28px 24px;animation:tg315-fadeIn 0.35s ease}
#tg-315-wrapper .tg-315-tab-panel--active{display:block}
#tg-315-wrapper .tg-315-tab-panel__header{display:flex;align-items:center;gap:14px;margin-bottom:22px;padding-bottom:16px;border-bottom:1px solid var(--slate-100)}
#tg-315-wrapper .tg-315-tab-panel__icon-wrap{display:flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:14px;flex-shrink:0;font-size:1.8rem;color:#fff!important}
#tg-315-wrapper .tg-315-tab-panel__icon-wrap--android{background:linear-gradient(135deg,#3DDC84,#2dae65)!important}
#tg-315-wrapper .tg-315-tab-panel__icon-wrap--ios{background:linear-gradient(135deg,#555,#111)!important}
#tg-315-wrapper .tg-315-tab-panel__icon-wrap--pc{background:linear-gradient(135deg,var(--red-500),var(--orange-500))!important}
#tg-315-wrapper .tg-315-tab-panel__title{font-size:1.05rem;font-weight:900;color:var(--slate-800)!important;margin-bottom:4px}
#tg-315-wrapper .tg-315-tab-panel__desc{font-size:0.88rem;color:var(--slate-500)!important;margin-bottom:0!important}
#tg-315-wrapper .tg-315-steps{counter-reset:step315;display:flex;flex-direction:column;gap:10px}
#tg-315-wrapper .tg-315-steps__item{counter-increment:step315;position:relative;padding-left:36px;font-size:0.92rem;color:var(--slate-700)!important;line-height:1.6}
#tg-315-wrapper .tg-315-steps__item::before{content:counter(step315);position:absolute;left:0;top:1px;width:24px;height:24px;background:linear-gradient(135deg,var(--red-500),var(--orange-500))!important;color:#fff!important;font-size:0.72rem;font-weight:900;border-radius:7px;display:inline-flex;align-items:center;justify-content:center}
#tg-315-wrapper .tg-315-steps__item strong{color:var(--red-700)!important;font-weight:800}

/* ══════ 아코디언 ══════ */
#tg-315-wrapper .tg-315-accordion{display:flex;flex-direction:column;gap:14px;margin-top:22px}
#tg-315-wrapper .tg-315-accordion__item{background:#fff!important;border:1px solid var(--slate-200);border-radius:16px;overflow:hidden;transition:all 0.3s}
#tg-315-wrapper .tg-315-accordion__item.is-open{border-color:var(--red-400);box-shadow:var(--shadow-red)}
#tg-315-wrapper .tg-315-accordion__header{display:flex;align-items:center;gap:12px;padding:18px 20px;width:100%;background:none!important;cursor:pointer;font-family:inherit;text-align:left}
#tg-315-wrapper .tg-315-accordion__icon{width:40px;height:40px;background:var(--slate-100)!important;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.1rem;color:var(--slate-500)!important;flex-shrink:0;transition:all 0.3s}
#tg-315-wrapper .tg-315-accordion__item.is-open .tg-315-accordion__icon{background:rgba(239,68,68,0.1)!important;color:var(--red-600)!important}
#tg-315-wrapper .tg-315-accordion__title{flex:1;font-size:1rem;font-weight:900;color:var(--slate-800)!important}
#tg-315-wrapper .tg-315-accordion__arrow{color:var(--slate-400)!important;transition:transform 0.4s;flex-shrink:0}
#tg-315-wrapper .tg-315-accordion__item.is-open .tg-315-accordion__arrow{transform:rotate(180deg);color:var(--red-500)!important}
#tg-315-wrapper .tg-315-accordion__body{max-height:0;overflow:hidden;transition:max-height 0.45s,padding 0.45s;padding:0 20px}
#tg-315-wrapper .tg-315-accordion__item.is-open .tg-315-accordion__body{max-height:300px;padding:0 20px 22px}
#tg-315-wrapper .tg-315-accordion__body p{font-size:0.95rem;color:var(--text-sub)!important;line-height:1.7!important}
#tg-315-wrapper .tg-315-accordion__body p strong{color:var(--red-700)!important}

/* ══════ 결론 ══════ */
#tg-315-wrapper .tg-315-summary{background:linear-gradient(135deg,#1a0505,#1c1917)!important;border-radius:24px;padding:50px 24px;text-align:center}
#tg-315-wrapper .tg-315-summary__title{font-size:1.5rem;font-weight:900;color:#ffffff!important;margin-bottom:20px;display:flex;align-items:center;justify-content:center;gap:12px}
#tg-315-wrapper .tg-315-summary__title i{color:var(--red-400)!important}
#tg-315-wrapper .tg-315-summary__desc{font-size:1.05rem;color:#fca5a5!important;max-width:750px;word-break:keep-all;margin:0 auto 32px!important;line-height:1.65!important}
#tg-315-wrapper .tg-315-summary__desc strong{color:#ffffff!important;font-weight:800}
#tg-315-wrapper .tg-315-summary__checklist{text-align:left;max-width:640px;margin:0 auto 36px;display:flex;flex-direction:column;gap:14px;background:rgba(255,255,255,0.05)!important;padding:24px;border-radius:18px;border:1px solid rgba(252,165,165,0.12)}
#tg-315-wrapper .tg-315-summary__checklist li{font-size:0.95rem;color:#ffedd5!important;display:flex;align-items:flex-start;gap:12px;line-height:1.5}
#tg-315-wrapper .tg-315-summary__checklist li i{color:var(--orange-400)!important;flex-shrink:0;margin-top:2px}
#tg-315-wrapper .tg-315-summary__checklist li strong{color:#ffffff!important;font-weight:800}
#tg-315-wrapper .tg-315-footer{margin-top:30px}
#tg-315-wrapper .tg-315-footer__btn{display:inline-flex;align-items:center;gap:10px;background:var(--red-600)!important;color:#fff!important;font-size:0.95rem;font-weight:900;padding:16px 36px;border-radius:30px;box-shadow:0 8px 24px rgba(239,68,68,0.3);transition:transform 0.25s,box-shadow 0.25s}
#tg-315-wrapper .tg-315-footer__btn:hover{transform:translateY(-4px);box-shadow:0 12px 28px rgba(239,68,68,0.4)}

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

/* ══════ 반응형 ══════ */
@media(min-width:640px){
    #tg-315-wrapper .tg-315-hero{padding:70px 40px 80px}
    #tg-315-wrapper .tg-315-hero__title{font-size:2.3rem}
    #tg-315-wrapper .tg-315-main{padding:60px 40px 52px;gap:64px}
    #tg-315-wrapper .tg-315-sim-container{flex-direction:row;align-items:stretch}
    #tg-315-wrapper .tg-315-filter-step__arrow{display:block}
    #tg-315-wrapper .tg-315-summary{padding:60px 40px}
}
@media(min-width:900px){
    #tg-315-wrapper .tg-315-hero__title{font-size:2.6rem}
    #tg-315-wrapper .tg-315-section__title{font-size:1.55rem}
}
