/*
 * tips400/style.css  v1.0.0
 * 텔레그램 한정판 선물 구매 제안 가이드
 * 테마: 코인-앰버 #f59e0b (amber-500) + 딥 마켓 다크 #080605
 *      (선물 거래·Stars·TON·마켓플레이스·콜렉터블)
 * 그누보드5 격리 | BEM | 모바일 퍼스트
 *
 * 기존과 구별되는 이유:
 * - tips387: "Electric Amber/Gold" gold 계열, 황금빛
 * - tips395: Signal Yellow #facc15 (yellow-400), 형광 노랑
 * - tips397: Champagne Gold #fbbf24 (amber-400), 럭셔리 경매
 * - tips400: Coin-Amber #f59e0b (amber-500), 진하고 따뜻한 "코인/화폐/마켓"
 *   → 더 진하고 orange에 가까운 앰버, "실물 화폐·블록체인" 느낌
 *   → 배경 base가 #080605 (더 어두운 갈색-블랙)
 */

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

/* ─── 디자인 토큰 ─── */
#tg-400-wrapper {
    --amb-50:  #fffbeb;
    --amb-100: #fef3c7;
    --amb-200: #fde68a;
    --amb-300: #fcd34d;
    --amb-400: #fbbf24;
    --amb-500: #f59e0b;   /* 메인 코인-앰버 */
    --amb-600: #d97706;
    --amb-700: #b45309;
    --blu-400: #60a5fa;
    --blu-500: #3b82f6;
    --grn-400: #4ade80;
    --grn-500: #22c55e;
    --red-400: #f87171;
    --dk-base: #080605;   /* 딥 마켓 다크 */
    --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-amb: 0 6px 28px rgba(245,158,11,.28);
    --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 */
#tg-400-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-400-wrapper .tg-400-motion { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
#tg-400-wrapper .tg-400-motion.is-visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════
   히어로
════════════════════════════ */
#tg-400-wrapper .tg-400-hero {
    position: relative; background: var(--dk-base);
    border-radius: var(--radius-lg); padding: 64px 28px 72px; text-align: center; overflow: hidden;
}
#tg-400-wrapper .tg-400-hero__bg {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 60% 55% at 50% 45%, rgba(245,158,11,.1) 0%, transparent 55%),
        radial-gradient(ellipse 35% 28% at 15% 75%, rgba(217,119,6,.07) 0%, transparent 50%);
}
/* 코인 플로팅 */
#tg-400-wrapper .tg-400-hero__coins { position:absolute; inset:0; overflow:hidden; pointer-events:none; }
#tg-400-wrapper .tg-400-coin { position:absolute; opacity:0; animation:tg400CoinFloat ease-in-out infinite; }
#tg-400-wrapper .tg-400-coin--1 { font-size:1.8rem; top:12%; left:3%;    animation-duration:5s; }
#tg-400-wrapper .tg-400-coin--2 { font-size:1.4rem; top:20%; right:4%;   animation-duration:4.5s; animation-delay:-1.5s; }
#tg-400-wrapper .tg-400-coin--3 { font-size:2rem;   bottom:25%; left:5%; animation-duration:6s; animation-delay:-.8s; }
#tg-400-wrapper .tg-400-coin--4 { font-size:1.2rem; bottom:18%; right:6%;animation-duration:5.5s; animation-delay:-2.2s; }
#tg-400-wrapper .tg-400-coin--5 { font-size:1.5rem; top:55%; left:50%;   animation-duration:4.8s; animation-delay:-3s; }
@keyframes tg400CoinFloat { 0%,100%{opacity:0;transform:translateY(0) rotate(0deg);}50%{opacity:.5;transform:translateY(-16px) rotate(15deg);} }
/* 텍스트 */
#tg-400-wrapper .tg-400-hero__inner { position:relative; z-index:1; max-width:700px; margin:0 auto; }
#tg-400-wrapper .tg-400-hero__badge { display:inline-flex; align-items:center; gap:6px; background:rgba(245,158,11,.1); border:1px solid rgba(245,158,11,.28); color:var(--amb-500); font-size:.85rem; font-weight:700; padding:6px 18px; border-radius:999px; margin-bottom:22px !important; }
#tg-400-wrapper .tg-400-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-400-wrapper .tg-400-hero__title em { font-style:normal; color:var(--amb-500); text-shadow:0 0 24px rgba(245,158,11,.5); }
#tg-400-wrapper .tg-400-hero__subtitle { color:rgba(255,255,255,.65); line-height:1.8; max-width:540px; margin:0 auto 28px !important; }
#tg-400-wrapper .tg-400-hero__chips { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; }
#tg-400-wrapper .tg-400-hero__chip { display:inline-flex; align-items:center; gap:6px; background:rgba(245,158,11,.08); border:1px solid rgba(245,158,11,.2); color:var(--amb-500); font-size:.82rem; font-weight:800; padding:8px 16px; border-radius:999px; }
#tg-400-wrapper .tg-400-hero__chip--blu { background:rgba(59,130,246,.07); border-color:rgba(59,130,246,.18); color:var(--blu-400); }
#tg-400-wrapper .tg-400-hero__chip--grn { background:rgba(34,197,94,.07); border-color:rgba(34,197,94,.18); color:var(--grn-500); }

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

/* 도입부 */
#tg-400-wrapper .tg-400-intro { background:#fff; border:1px solid var(--sl-200); border-top:4px solid var(--amb-500); border-radius:var(--radius-md); padding:36px 28px; text-align:center; box-shadow:var(--shadow-sm); }
#tg-400-wrapper .tg-400-intro__icon { font-size:2.4rem; color:var(--amb-600); margin-bottom:14px; }
#tg-400-wrapper .tg-400-intro__title { font-size:clamp(1.05rem,2.8vw,1.3rem); font-weight:800; color:var(--sl-900); margin-bottom:14px; }
#tg-400-wrapper .tg-400-intro p { color:var(--text-sub); max-width:680px; margin-left:auto; margin-right:auto; }
/* 핵심 그리드 */
#tg-400-wrapper .tg-400-key-grid { display:grid; grid-template-columns:1fr; gap:12px; max-width:680px; margin:20px auto 0; text-align:left; }
#tg-400-wrapper .tg-400-key-item { border:1px solid var(--sl-200); border-radius:14px; padding:18px 20px; }
#tg-400-wrapper .tg-400-key-item--highlight { border-color:rgba(245,158,11,.25); background:rgba(245,158,11,.04); }
#tg-400-wrapper .tg-400-key-item__ico { width:42px; height:42px; border-radius:11px; background:rgba(245,158,11,.08); border:1px solid rgba(245,158,11,.18); display:flex; align-items:center; justify-content:center; font-size:1.2rem; color:var(--amb-600); margin-bottom:12px; }
#tg-400-wrapper .tg-400-key-item__ico--coin { background:rgba(245,158,11,.12); border-color:rgba(245,158,11,.25); color:var(--amb-500); }
#tg-400-wrapper .tg-400-key-item__ico--grn  { background:rgba(34,197,94,.08); border-color:rgba(34,197,94,.2); color:var(--grn-500); }
#tg-400-wrapper .tg-400-key-item__title { font-size:.92rem; font-weight:800; color:var(--sl-900); margin-bottom:6px !important; }
#tg-400-wrapper .tg-400-key-item__desc  { font-size:.82rem; color:var(--text-sub); line-height:1.65; margin-bottom:0 !important; }

/* ─── 공통 섹션 ─── */
#tg-400-wrapper .tg-400-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-400-wrapper .tg-400-section--dark { background:var(--dk-base); border-color:rgba(245,158,11,.1); }
#tg-400-wrapper .tg-400-section--tip  { background:linear-gradient(145deg, var(--amb-50), #fffdf5); border-color:rgba(245,158,11,.18); }
#tg-400-wrapper .tg-400-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-400-wrapper .tg-400-section__label--dark { background:rgba(255,255,255,.1); color:#fff; border:1px solid rgba(255,255,255,.2); }
#tg-400-wrapper .tg-400-section__label--coin { background:rgba(245,158,11,.08); color:var(--amb-700); border:1px solid rgba(245,158,11,.18); }
#tg-400-wrapper .tg-400-section__label .material-symbols-outlined { font-size:1rem; }
#tg-400-wrapper .tg-400-section__title--light { color:#fff; font-size:clamp(1.2rem,3vw,1.5rem); font-weight:900; letter-spacing:-.02em; margin-bottom:16px !important; line-height:1.35; }
#tg-400-wrapper .tg-400-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-400-wrapper .tg-400-section > p { color:var(--text-sub); max-width:680px; margin-left:auto; margin-right:auto; }
#tg-400-wrapper .tg-400-section__desc--light { color:rgba(255,255,255,.75) !important; margin-bottom:28px !important; }

/* ══════════════════════════
   시뮬레이터
════════════════════════════ */
#tg-400-wrapper .tg-400-sim-wrap { max-width:380px; margin:0 auto; text-align:left; }
#tg-400-wrapper .tg-400-sim-hint { font-size:.7rem; color:rgba(255,255,255,.22); text-align:center; margin-top:8px !important; }
#tg-400-wrapper .tg-400-stage { animation:tg400FadeIn .3s ease; }
@keyframes tg400FadeIn { from{opacity:0;transform:translateY(8px);}to{opacity:1;transform:translateY(0);} }

/* Stage 1: 프로필 모킹 */
#tg-400-wrapper .tg-400-profile-mock { background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08); border-radius:16px; overflow:hidden; }
#tg-400-wrapper .tg-400-profile-mock__hd { display:flex; align-items:center; gap:12px; padding:14px 16px; border-bottom:1px solid rgba(255,255,255,.06); }
#tg-400-wrapper .tg-400-avatar { width:42px; height:42px; border-radius:50%; background:linear-gradient(135deg, var(--amb-500), var(--amb-700)); display:flex; align-items:center; justify-content:center; font-size:1.1rem; font-weight:900; color:#fff; flex-shrink:0; }
#tg-400-wrapper .tg-400-profile-mock__name { font-size:.88rem; font-weight:800; color:rgba(255,255,255,.8); margin-bottom:2px; }
#tg-400-wrapper .tg-400-profile-mock__sub  { font-size:.68rem; color:rgba(255,255,255,.28); margin-bottom:0 !important; }
/* 탭 */
#tg-400-wrapper .tg-400-mock-tabs { display:flex; border-bottom:1px solid rgba(255,255,255,.06); }
#tg-400-wrapper .tg-400-mock-tab { flex:1; padding:10px; font-size:.7rem; font-weight:600; color:rgba(255,255,255,.22); text-align:center; cursor:default; display:flex; align-items:center; justify-content:center; gap:4px; }
#tg-400-wrapper .tg-400-mock-tab--active { color:var(--amb-500); border-bottom:2px solid var(--amb-500); font-weight:800; }
#tg-400-wrapper .tg-400-mock-tab .material-symbols-outlined { font-size:.8rem; }
/* 선물 그리드 */
#tg-400-wrapper .tg-400-gift-list { padding:14px 16px 8px; }
#tg-400-wrapper .tg-400-gift-label { font-size:.64rem; font-weight:700; color:rgba(255,255,255,.22); text-transform:uppercase; letter-spacing:.06em; margin-bottom:10px; }
#tg-400-wrapper .tg-400-gift-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-bottom:8px; }
#tg-400-wrapper .tg-400-gift-card { border-radius:12px; padding:12px 8px 10px; text-align:center; position:relative; overflow:hidden; }
#tg-400-wrapper .tg-400-gift-card--target { background:rgba(245,158,11,.1); border:1.5px solid rgba(245,158,11,.35); cursor:pointer; transition:transform .18s, box-shadow .18s; }
#tg-400-wrapper .tg-400-gift-card--target:hover { transform:translateY(-3px); box-shadow:0 6px 18px rgba(245,158,11,.22); }
#tg-400-wrapper .tg-400-gift-card--locked { background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.07); cursor:default; }
#tg-400-wrapper .tg-400-gift-card__emoji { font-size:1.6rem; display:block; margin-bottom:5px; }
#tg-400-wrapper .tg-400-gift-card__name { font-size:.6rem; font-weight:700; color:rgba(255,255,255,.55); line-height:1.35; margin-bottom:3px !important; }
#tg-400-wrapper .tg-400-gift-card--target .tg-400-gift-card__name { color:rgba(255,255,255,.8); }
#tg-400-wrapper .tg-400-gift-card__num { font-size:.58rem; color:rgba(255,255,255,.2); margin-bottom:0 !important; }
#tg-400-wrapper .tg-400-gift-card__badge { position:absolute; top:5px; right:5px; font-size:.48rem; font-weight:900; padding:2px 6px; border-radius:999px; background:var(--amb-500); color:#000; letter-spacing:.04em; }
#tg-400-wrapper .tg-400-gift-card__badge--epic { background:linear-gradient(135deg, #a855f7, #6366f1); color:#fff; }
/* 힌트 */
#tg-400-wrapper .tg-400-mock-hint { font-size:.64rem; color:var(--amb-500); display:flex; align-items:center; justify-content:center; gap:5px; padding:6px 0 10px; opacity:.75; margin-bottom:0 !important; }
#tg-400-wrapper .tg-400-mock-hint .material-symbols-outlined { font-size:.8rem; animation:tg400TapBounce 1.5s ease-in-out infinite; }
@keyframes tg400TapBounce { 0%,100%{transform:scale(1);}50%{transform:scale(1.28) translateY(-2px);} }

/* Stage 2: 구매 제안 패널 */
#tg-400-wrapper .tg-400-offer-panel { background:rgba(255,255,255,.04); border:1px solid rgba(245,158,11,.12); border-radius:16px; overflow:hidden; }
#tg-400-wrapper .tg-400-offer-panel__hd { display:flex; align-items:center; gap:10px; padding:12px 14px; border-bottom:1px solid rgba(255,255,255,.05); }
#tg-400-wrapper .tg-400-back-btn { width:28px; height:28px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:rgba(255,255,255,.06); color:rgba(255,255,255,.35); transition:background .18s; flex-shrink:0; }
#tg-400-wrapper .tg-400-back-btn:hover { background:rgba(255,255,255,.1); }
#tg-400-wrapper .tg-400-back-btn .material-symbols-outlined { font-size:.9rem; }
#tg-400-wrapper .tg-400-offer-panel__title { font-size:.8rem; font-weight:800; color:rgba(255,255,255,.5); margin-bottom:0 !important; }
/* 선물 요약 */
#tg-400-wrapper .tg-400-offer-gift-info { display:flex; align-items:center; gap:12px; padding:12px 16px; border-bottom:1px solid rgba(255,255,255,.05); background:rgba(245,158,11,.04); }
#tg-400-wrapper .tg-400-offer-gift-info__emoji { font-size:1.8rem; flex-shrink:0; }
#tg-400-wrapper .tg-400-offer-gift-info__name { font-size:.85rem; font-weight:800; color:rgba(255,255,255,.75); margin-bottom:2px; }
#tg-400-wrapper .tg-400-offer-gift-info__num  { font-size:.68rem; color:var(--amb-500); font-weight:700; margin-bottom:0 !important; }
/* 결제 수단 탭 */
#tg-400-wrapper .tg-400-pay-tabs { display:flex; gap:1px; background:rgba(255,255,255,.05); }
#tg-400-wrapper .tg-400-pay-tab { flex:1; display:flex; align-items:center; justify-content:center; gap:6px; padding:11px 10px; font-size:.78rem; font-weight:700; color:rgba(255,255,255,.3); transition:all .2s; }
#tg-400-wrapper .tg-400-pay-tab .material-symbols-outlined { font-size:1rem; }
#tg-400-wrapper .tg-400-pay-tab--active { background:rgba(245,158,11,.1); color:var(--amb-500); border-bottom:2px solid var(--amb-500); }
#tg-400-wrapper .tg-400-pay-tab[data-pay="ton"].tg-400-pay-tab--active { background:rgba(59,130,246,.08); color:var(--blu-400); border-bottom-color:var(--blu-400); }
/* 금액 패널 공통 */
#tg-400-wrapper .tg-400-pay-panel { padding:14px 16px; }
#tg-400-wrapper .tg-400-amount-label { display:flex; align-items:center; gap:6px; font-size:.72rem; font-weight:700; color:rgba(255,255,255,.3); margin-bottom:8px; }
#tg-400-wrapper .tg-400-amount-label .material-symbols-outlined { font-size:.9rem; color:var(--amb-500); }
#tg-400-wrapper .tg-400-pay-panel:not([hidden]) #tg400-ton-input ~ .tg-400-amount-label .material-symbols-outlined { color:var(--blu-400); }
#tg-400-wrapper .tg-400-amount-row { display:flex; align-items:center; gap:8px; }
#tg-400-wrapper .tg-400-amt-btn { width:36px; height:36px; border-radius:9px; background:rgba(255,255,255,.06); color:rgba(255,255,255,.4); display:flex; align-items:center; justify-content:center; font-size:1.1rem; transition:background .18s; flex-shrink:0; }
#tg-400-wrapper .tg-400-amt-btn:hover { background:rgba(245,158,11,.15); color:var(--amb-500); }
#tg-400-wrapper .tg-400-amt-input { flex:1; background:rgba(255,255,255,.06); border:1.5px solid rgba(255,255,255,.1); border-radius:9px; padding:9px 12px; font-size:.95rem; font-weight:800; color:#fff; text-align:center; font-family:inherit; transition:border-color .18s; }
#tg-400-wrapper .tg-400-amt-input:focus { border-color:rgba(245,158,11,.45); background:rgba(245,158,11,.06); }
#tg-400-wrapper .tg-400-amt-hint { font-size:.6rem; color:rgba(255,255,255,.18); text-align:center; margin-top:5px !important; }
/* 유효 기간 */
#tg-400-wrapper .tg-400-duration-wrap { padding:0 16px 14px; }
#tg-400-wrapper .tg-400-duration-label { display:flex; align-items:center; gap:6px; font-size:.72rem; font-weight:700; color:rgba(255,255,255,.28); margin-bottom:8px !important; }
#tg-400-wrapper .tg-400-duration-label .material-symbols-outlined { font-size:.9rem; color:var(--amb-500); }
#tg-400-wrapper .tg-400-duration-btns { display:grid; grid-template-columns:repeat(4,1fr); gap:6px; }
#tg-400-wrapper .tg-400-dur-btn { padding:8px 4px; border-radius:8px; font-size:.68rem; font-weight:700; color:rgba(255,255,255,.28); background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08); transition:all .18s; }
#tg-400-wrapper .tg-400-dur-btn--active { background:rgba(245,158,11,.12); border-color:rgba(245,158,11,.3); color:var(--amb-500); }
#tg-400-wrapper .tg-400-dur-btn:hover:not(.tg-400-dur-btn--active) { background:rgba(255,255,255,.07); color:rgba(255,255,255,.5); }
/* 제안 미리보기 */
#tg-400-wrapper .tg-400-offer-preview { margin:0 16px 14px; padding:12px 14px; background:rgba(245,158,11,.05); border:1px solid rgba(245,158,11,.15); border-radius:10px; }
#tg-400-wrapper .tg-400-offer-preview__lbl { display:flex; align-items:center; gap:6px; font-size:.68rem; font-weight:700; color:rgba(255,255,255,.25); margin-bottom:8px !important; }
#tg-400-wrapper .tg-400-offer-preview__lbl .material-symbols-outlined { font-size:.85rem; color:var(--amb-500); }
#tg-400-wrapper .tg-400-offer-preview__row { display:flex; justify-content:space-between; align-items:center; margin-bottom:6px !important; font-size:.74rem; }
#tg-400-wrapper .tg-400-offer-preview__row span { color:rgba(255,255,255,.28); }
#tg-400-wrapper .tg-400-offer-preview__row strong { color:var(--amb-500); font-weight:800; }
#tg-400-wrapper .tg-400-offer-preview__row--note { background:rgba(255,255,255,.03); border-radius:7px; padding:7px 10px; gap:7px; align-items:flex-start; display:flex; margin-bottom:0 !important; }
#tg-400-wrapper .tg-400-offer-preview__row--note .material-symbols-outlined { font-size:.85rem; color:var(--amb-500); flex-shrink:0; margin-top:1px; }
#tg-400-wrapper .tg-400-offer-preview__row--note span:last-child { font-size:.66rem; color:rgba(255,255,255,.25); line-height:1.55; }
/* 전송 버튼 */
#tg-400-wrapper .tg-400-send-offer-btn { display:flex; align-items:center; justify-content:center; gap:8px; width:calc(100% - 32px); margin:0 16px 16px; padding:13px; border-radius:10px; background:linear-gradient(135deg, var(--amb-500), var(--amb-700)); color:#000; font-size:.9rem; font-weight:900; box-shadow:var(--shadow-amb); transition:transform .18s, opacity .18s; }
#tg-400-wrapper .tg-400-send-offer-btn:hover { transform:translateY(-2px); opacity:.88; }
#tg-400-wrapper .tg-400-send-offer-btn .material-symbols-outlined { font-size:1rem; }

/* Stage 3: 결과 패널 */
#tg-400-wrapper .tg-400-result-panel { background:rgba(255,255,255,.04); border:1px solid rgba(245,158,11,.12); border-radius:16px; overflow:hidden; padding:20px 16px; }
/* 전송 완료 상태 */
#tg-400-wrapper .tg-400-sent-state { text-align:center; }
#tg-400-wrapper .tg-400-sent-ico { position:relative; display:inline-flex; align-items:center; justify-content:center; margin-bottom:10px; }
#tg-400-wrapper .tg-400-sent-ico .material-symbols-outlined { font-size:2.6rem; color:var(--amb-500); animation:tg400SentPop .5s ease; }
@keyframes tg400SentPop { 0%{transform:scale(.5);opacity:0;}60%{transform:scale(1.15);}100%{transform:scale(1);opacity:1;} }
#tg-400-wrapper .tg-400-sent-ring { position:absolute; inset:-8px; border-radius:50%; border:2px solid rgba(245,158,11,.3); animation:tg400SentRing .8s ease forwards; }
@keyframes tg400SentRing { 0%{transform:scale(.5);opacity:0;}100%{transform:scale(1);opacity:1;} }
#tg-400-wrapper .tg-400-sent-state__title { font-size:.9rem; font-weight:900; color:#fff; margin-bottom:4px !important; }
#tg-400-wrapper .tg-400-sent-state__sub   { font-size:.72rem; color:rgba(255,255,255,.35); margin-bottom:12px !important; }
/* 임시 차감 안내 */
#tg-400-wrapper .tg-400-hold-notice { display:flex; align-items:center; gap:8px; padding:9px 12px; background:rgba(245,158,11,.07); border:1px solid rgba(245,158,11,.16); border-radius:9px; font-size:.7rem; color:rgba(255,255,255,.38); margin-bottom:16px; text-align:left; }
#tg-400-wrapper .tg-400-hold-notice .material-symbols-outlined { font-size:1rem; color:var(--amb-500); flex-shrink:0; }
/* 결과 시뮬레이션 버튼 */
#tg-400-wrapper .tg-400-result-choose-lbl { font-size:.66rem; font-weight:700; color:rgba(255,255,255,.22); text-align:center; margin-bottom:10px !important; }
#tg-400-wrapper .tg-400-result-btns { display:flex; flex-direction:column; gap:7px; }
#tg-400-wrapper .tg-400-result-btn { display:flex; align-items:center; justify-content:center; gap:7px; padding:11px 14px; border-radius:10px; font-size:.8rem; font-weight:800; transition:all .18s; }
#tg-400-wrapper .tg-400-result-btn .material-symbols-outlined { font-size:1rem; }
#tg-400-wrapper .tg-400-result-btn--accept  { background:rgba(34,197,94,.1); border:1px solid rgba(34,197,94,.25); color:var(--grn-400); }
#tg-400-wrapper .tg-400-result-btn--decline { background:rgba(248,113,113,.08); border:1px solid rgba(248,113,113,.2); color:var(--red-400); }
#tg-400-wrapper .tg-400-result-btn--expire  { background:rgba(245,158,11,.08); border:1px solid rgba(245,158,11,.2); color:var(--amb-500); }
#tg-400-wrapper .tg-400-result-btn--accept:hover  { background:rgba(34,197,94,.17); }
#tg-400-wrapper .tg-400-result-btn--decline:hover { background:rgba(248,113,113,.14); }
#tg-400-wrapper .tg-400-result-btn--expire:hover  { background:rgba(245,158,11,.15); }
/* 결과 화면 */
#tg-400-wrapper .tg-400-outcome-state { text-align:center; animation:tg400FadeIn .35s ease; }
#tg-400-wrapper .tg-400-outcome-ico { display:inline-flex; align-items:center; justify-content:center; width:64px; height:64px; border-radius:50%; margin-bottom:12px; }
#tg-400-wrapper .tg-400-outcome-ico .material-symbols-outlined { font-size:2.2rem; animation:tg400SentPop .4s ease; }
#tg-400-wrapper .tg-400-outcome-ico--accept  { background:rgba(34,197,94,.12); border:2px solid rgba(34,197,94,.3); color:var(--grn-400); }
#tg-400-wrapper .tg-400-outcome-ico--decline { background:rgba(248,113,113,.1); border:2px solid rgba(248,113,113,.25); color:var(--red-400); }
#tg-400-wrapper .tg-400-outcome-ico--expire  { background:rgba(245,158,11,.1); border:2px solid rgba(245,158,11,.25); color:var(--amb-500); }
#tg-400-wrapper .tg-400-outcome-state__title { font-size:.95rem; font-weight:900; color:#fff; margin-bottom:6px !important; }
#tg-400-wrapper .tg-400-outcome-state__msg   { font-size:.78rem; color:rgba(255,255,255,.38); line-height:1.6; margin-bottom:14px !important; }
#tg-400-wrapper .tg-400-outcome-tag { display:inline-flex; align-items:center; gap:7px; padding:8px 16px; border-radius:999px; background:rgba(245,158,11,.08); border:1px solid rgba(245,158,11,.18); color:var(--amb-500); font-size:.72rem; font-weight:800; margin-bottom:16px; }
#tg-400-wrapper .tg-400-outcome-tag .material-symbols-outlined { font-size:.9rem; }
#tg-400-wrapper .tg-400-outcome-tag--grn { background:rgba(34,197,94,.08); border-color:rgba(34,197,94,.2); color:var(--grn-400); }
#tg-400-wrapper .tg-400-outcome-tag--red { background:rgba(248,113,113,.07); border-color:rgba(248,113,113,.18); color:var(--red-400); }
#tg-400-wrapper .tg-400-restart-btn { display:flex; align-items:center; justify-content:center; gap:7px; width:100%; padding:10px; border-radius:999px; background:rgba(245,158,11,.1); border:1px solid rgba(245,158,11,.25); color:var(--amb-500); font-size:.82rem; font-weight:800; transition:background .18s; }
#tg-400-wrapper .tg-400-restart-btn:hover { background:rgba(245,158,11,.18); }

/* ─── 기기별 탭 ─── */
#tg-400-wrapper .tg-400-tabs { display:flex; gap:6px; background:var(--sl-100); border-radius:var(--radius-sm); padding:5px; margin-bottom:22px; flex-wrap:wrap; }
#tg-400-wrapper .tg-400-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-400-wrapper .tg-400-tab-btn .material-symbols-outlined { font-size:1.1rem; }
#tg-400-wrapper .tg-400-tab-btn--active { background:#fff; color:var(--amb-700); box-shadow:0 2px 8px rgba(0,0,0,.08); font-weight:800; }
#tg-400-wrapper .tg-400-tab-panel { display:none; text-align:left; animation:tg400FadeIn .3s ease; }
#tg-400-wrapper .tg-400-tab-panel--active { display:block; }
#tg-400-wrapper .tg-400-tab-panel__head { display:flex; align-items:center; gap:14px; margin-bottom:20px; padding-bottom:14px; border-bottom:1px solid var(--sl-100); }
#tg-400-wrapper .tg-400-tab-panel__icon { width:50px; height:50px; border-radius:14px; display:flex; align-items:center; justify-content:center; font-size:1.6rem; flex-shrink:0; }
#tg-400-wrapper .tg-400-tab-panel__icon--mobile { background:linear-gradient(135deg, var(--amb-500), var(--amb-700)); color:#fff; }
#tg-400-wrapper .tg-400-tab-panel__icon--pc     { background:linear-gradient(135deg, var(--sl-800), var(--sl-900)); color:var(--amb-500); }
#tg-400-wrapper .tg-400-tab-panel__name { font-size:var(--fs-lg); font-weight:800; color:var(--sl-900); margin-bottom:4px; }
#tg-400-wrapper .tg-400-tab-panel__sub  { font-size:var(--fs-sm); color:var(--sl-500); margin-bottom:0 !important; }
#tg-400-wrapper .tg-400-steps { display:flex; flex-direction:column; gap:12px; counter-reset:steps; }
#tg-400-wrapper .tg-400-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-400-wrapper .tg-400-steps li::before { content:counter(steps); min-width:28px; height:28px; flex-shrink:0; margin-top:2px; background:linear-gradient(135deg, var(--amb-500), var(--amb-700)); color:#000; font-size:.8rem; font-weight:900; border-radius:50%; display:flex; align-items:center; justify-content:center; }
#tg-400-wrapper .tg-400-steps li strong { color:var(--sl-800); }
#tg-400-wrapper .tg-400-tip-box { display:flex; align-items:flex-start; gap:12px; background:rgba(245,158,11,.05); border:1px solid rgba(245,158,11,.16); 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-400-wrapper .tg-400-tip-box .material-symbols-outlined { font-size:1.2rem; color:var(--amb-600); flex-shrink:0; margin-top:2px; }
#tg-400-wrapper .tg-400-tip-box--info { background:rgba(59,130,246,.04); border-color:rgba(59,130,246,.14); }
#tg-400-wrapper .tg-400-tip-box--info .material-symbols-outlined { color:var(--blu-500); }

/* 활용 팁 카드 */
#tg-400-wrapper .tg-400-tip-cards { display:grid; grid-template-columns:1fr; gap:14px; max-width:700px; margin:0 auto; text-align:left; }
#tg-400-wrapper .tg-400-tip-card { background:#fff; border:1px solid var(--sl-200); border-radius:14px; padding:20px 22px; }
#tg-400-wrapper .tg-400-tip-card--amber { border-color:rgba(245,158,11,.2); background:rgba(245,158,11,.03); }
#tg-400-wrapper .tg-400-tip-card__ico { width:40px; height:40px; border-radius:10px; background:rgba(245,158,11,.08); border:1px solid rgba(245,158,11,.18); display:flex; align-items:center; justify-content:center; font-size:1.2rem; color:var(--amb-600); margin-bottom:12px; }
#tg-400-wrapper .tg-400-tip-card__ico--amber { background:rgba(245,158,11,.12); color:var(--amb-500); }
#tg-400-wrapper .tg-400-tip-card__title { font-size:.92rem; font-weight:800; color:var(--sl-900); margin-bottom:6px !important; }
#tg-400-wrapper .tg-400-tip-card__desc  { font-size:.82rem; color:var(--text-sub); line-height:1.7; margin-bottom:0 !important; }

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

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