/*
 * tips406/style.css  v1.0.0
 * 텔레그램 날짜 서식(Date Formatting) 가이드
 * 테마: 일렉트릭 에메랄드 #10b981 (emerald-500) + 딥 제이드 다크 #010a05
 *      (캘린더·일정·생산성·자연·옥빛 연상)
 * 그누보드5 격리 | BEM | 모바일 퍼스트
 *
 * 기존과 구별:
 * - tips396: teal #2dd4bf (밝은 민트-청록)
 * - tips399: green #22c55e (밝은 잔디-라임 초록)
 * - tips403: lime #84cc16 (전기 라임 옐로우-그린)
 * - tips406: emerald #10b981 ("옥빛 에메랄드", 더 차갑고 깊은 녹색)
 *   → 가장 "캘린더·생산성·전문직" 느낌, WhatsApp 계열 옥빛
 *   → base #010a05 (에메랄드 반영된 딥 제이드 다크)
 */

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

/* ─── 디자인 토큰 ─── */
#tg-406-wrapper {
    --em-50:   #ecfdf5;
    --em-100:  #d1fae5;
    --em-200:  #a7f3d0;
    --em-300:  #6ee7b7;
    --em-400:  #34d399;
    --em-500:  #10b981;   /* 메인 에메랄드 */
    --em-600:  #059669;
    --em-700:  #047857;
    --em-800:  #065f46;
    --sky-400: #38bdf8;
    --sky-500: #0ea5e9;
    --ylw-400: #facc15;
    --red-400: #f87171;
    --grn-400: #4ade80;
    --dk-base: #010a05;   /* 딥 제이드 다크 */
    --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-em:  0 6px 28px rgba(16,185,129,.3);
    --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-406-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-406-wrapper .tg-406-motion { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
#tg-406-wrapper .tg-406-motion.is-visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════
   히어로
════════════════════════════ */
#tg-406-wrapper .tg-406-hero {
    position: relative; background: var(--dk-base);
    border-radius: var(--radius-lg); padding: 64px 28px 72px; text-align: center; overflow: hidden;
}
#tg-406-wrapper .tg-406-hero__bg {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 65% 55% at 50% 40%, rgba(16,185,129,.1) 0%, transparent 55%),
        radial-gradient(ellipse 28% 22% at 15% 78%, rgba(5,150,105,.07) 0%, transparent 50%);
}
/* 플로팅 달력 아이콘 */
#tg-406-wrapper .tg-406-hero__deco { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
#tg-406-wrapper .tg-406-deco { position: absolute; font-size: 1.1rem; opacity: 0; animation: tg406DecoFloat ease-in-out infinite; }
#tg-406-wrapper .tg-406-deco--1 { top:12%; left:4%;  animation-duration:4.5s; }
#tg-406-wrapper .tg-406-deco--2 { top:20%; right:5%; animation-duration:3.8s; animation-delay:-1.2s; }
#tg-406-wrapper .tg-406-deco--3 { bottom:28%; left:3%;  animation-duration:5s;   animation-delay:-2s; }
#tg-406-wrapper .tg-406-deco--4 { bottom:18%; right:4%; animation-duration:4s;   animation-delay:-0.8s; }
#tg-406-wrapper .tg-406-deco--5 { top:50%; left:42%;  animation-duration:5.5s; animation-delay:-3s; }
@keyframes tg406DecoFloat { 0%,100%{opacity:0;transform:translateY(0) scale(.9);}50%{opacity:.5;transform:translateY(-14px) scale(1.08);} }
/* 텍스트 */
#tg-406-wrapper .tg-406-hero__inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
#tg-406-wrapper .tg-406-hero__badge { display:inline-flex; align-items:center; gap:6px; background:rgba(16,185,129,.1); border:1px solid rgba(16,185,129,.28); color:var(--em-400); font-size:.85rem; font-weight:700; padding:6px 18px; border-radius:999px; margin-bottom:22px !important; }
#tg-406-wrapper .tg-406-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-406-wrapper .tg-406-hero__title em { font-style:normal; color:var(--em-400); text-shadow:0 0 24px rgba(16,185,129,.5); }
#tg-406-wrapper .tg-406-hero__subtitle { color:rgba(255,255,255,.65); line-height:1.8; max-width:540px; margin:0 auto 28px !important; }
#tg-406-wrapper .tg-406-hero__chips { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; }
#tg-406-wrapper .tg-406-hero__chip { display:inline-flex; align-items:center; gap:6px; background:rgba(16,185,129,.08); border:1px solid rgba(16,185,129,.2); color:var(--em-400); font-size:.82rem; font-weight:800; padding:8px 16px; border-radius:999px; }
#tg-406-wrapper .tg-406-hero__chip--sky { background:rgba(56,189,248,.07); border-color:rgba(56,189,248,.18); color:var(--sky-400); }
#tg-406-wrapper .tg-406-hero__chip--ylw { background:rgba(250,204,21,.07); border-color:rgba(250,204,21,.18); color:var(--ylw-400); }

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

/* 도입부 */
#tg-406-wrapper .tg-406-intro { background:#fff; border:1px solid var(--sl-200); border-top:4px solid var(--em-500); border-radius:var(--radius-md); padding:36px 28px; text-align:center; box-shadow:var(--shadow-sm); }
#tg-406-wrapper .tg-406-intro__icon { font-size:2.4rem; color:var(--em-500); margin-bottom:14px; }
#tg-406-wrapper .tg-406-intro__title { font-size:clamp(1.05rem,2.8vw,1.3rem); font-weight:800; color:var(--sl-900); margin-bottom:14px; }
#tg-406-wrapper .tg-406-intro p { color:var(--text-sub); max-width:680px; margin-left:auto; margin-right:auto; }
/* 특징 그리드 */
#tg-406-wrapper .tg-406-feat-grid { display:grid; grid-template-columns:1fr; gap:12px; max-width:700px; margin:22px auto 18px; text-align:left; }
#tg-406-wrapper .tg-406-feat-item { border:1px solid var(--sl-200); border-radius:14px; padding:18px 20px; }
#tg-406-wrapper .tg-406-feat-item--main { border-color:rgba(16,185,129,.2); background:rgba(16,185,129,.03); }
#tg-406-wrapper .tg-406-feat-item__ico { width:42px; height:42px; border-radius:11px; display:flex; align-items:center; justify-content:center; font-size:1.2rem; margin-bottom:12px; border:1px solid transparent; }
#tg-406-wrapper .tg-406-feat-item__ico--em  { background:rgba(16,185,129,.1); border-color:rgba(16,185,129,.22); color:var(--em-600); }
#tg-406-wrapper .tg-406-feat-item__ico--sky { background:rgba(56,189,248,.1); border-color:rgba(56,189,248,.22); color:#0369a1; }
#tg-406-wrapper .tg-406-feat-item__ico--ylw { background:rgba(250,204,21,.1); border-color:rgba(250,204,21,.22); color:#92400e; }
#tg-406-wrapper .tg-406-feat-item__title { font-size:.92rem; font-weight:800; color:var(--sl-900); margin-bottom:6px !important; }
#tg-406-wrapper .tg-406-feat-item__desc  { font-size:.82rem; color:var(--text-sub); line-height:1.65; margin-bottom:0 !important; }
/* 시간대 배너 */
#tg-406-wrapper .tg-406-tz-banner { max-width:500px; margin:0 auto; background:linear-gradient(135deg, rgba(16,185,129,.06), rgba(5,150,105,.04)); border:1px solid rgba(16,185,129,.16); border-radius:14px; padding:20px; text-align:center; }
#tg-406-wrapper .tg-406-tz-banner__row { display:flex; align-items:center; justify-content:center; gap:12px; margin-bottom:12px; }
#tg-406-wrapper .tg-406-tz-item { flex:1; }
#tg-406-wrapper .tg-406-tz-item .material-symbols-outlined { font-size:1.1rem; color:var(--em-500); margin-bottom:6px; }
#tg-406-wrapper .tg-406-tz-item__label { font-size:.72rem; color:var(--text-sub); font-weight:700; margin-bottom:4px !important; }
#tg-406-wrapper .tg-406-tz-item__time  { font-size:.9rem; font-weight:900; color:var(--sl-900); margin-bottom:0 !important; }
#tg-406-wrapper .tg-406-tz-item__note  { font-size:.65rem; color:var(--sl-400); }
#tg-406-wrapper .tg-406-tz-banner__arrow { display:flex; flex-direction:column; align-items:center; gap:2px; flex-shrink:0; }
#tg-406-wrapper .tg-406-tz-banner__arrow .material-symbols-outlined { font-size:1.2rem; color:var(--em-500); animation:tg406ArrowPulse 2s ease-in-out infinite; }
#tg-406-wrapper .tg-406-tz-banner__arrow p { font-size:.6rem; color:var(--em-500); font-weight:700; margin-bottom:0 !important; }
@keyframes tg406ArrowPulse { 0%,100%{opacity:.4;}50%{opacity:1;} }
#tg-406-wrapper .tg-406-tz-banner__desc { font-size:.78rem; color:var(--text-sub); line-height:1.6; margin-bottom:0 !important; }

/* ─── 공통 섹션 ─── */
#tg-406-wrapper .tg-406-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-406-wrapper .tg-406-section--dark { background:var(--dk-base); border-color:rgba(16,185,129,.1); }
#tg-406-wrapper .tg-406-section--tip { background:linear-gradient(145deg, var(--em-50), #fff); border-color:rgba(16,185,129,.14); }
#tg-406-wrapper .tg-406-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-406-wrapper .tg-406-section__label--dark { background:rgba(255,255,255,.1); color:#fff; border:1px solid rgba(255,255,255,.2); }
#tg-406-wrapper .tg-406-section__label--em { background:rgba(16,185,129,.08); color:var(--em-700); border:1px solid rgba(16,185,129,.18); }
#tg-406-wrapper .tg-406-section__label .material-symbols-outlined { font-size:1rem; }
#tg-406-wrapper .tg-406-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-406-wrapper .tg-406-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-406-wrapper .tg-406-section > p { color:var(--text-sub); max-width:680px; margin-left:auto; margin-right:auto; }
#tg-406-wrapper .tg-406-section__desc--light { color:rgba(255,255,255,.75) !important; margin-bottom:28px !important; }

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

/* Stage 1: 채팅 모의 */
#tg-406-wrapper .tg-406-chat-mock { background:rgba(255,255,255,.04); border:1px solid rgba(16,185,129,.1); border-radius:16px; overflow:hidden; position:relative; }
#tg-406-wrapper .tg-406-chat-mock__hd,
#tg-406-wrapper .tg-406-result-chat__hd { display:flex; align-items:center; gap:10px; padding:10px 14px; border-bottom:1px solid rgba(255,255,255,.05); }
#tg-406-wrapper .tg-406-chat-av { width:36px; height:36px; border-radius:50%; background:linear-gradient(135deg, var(--em-600), var(--em-800)); display:flex; align-items:center; justify-content:center; font-size:.7rem; font-weight:900; color:#fff; flex-shrink:0; }
#tg-406-wrapper .tg-406-chat-mock__name,
#tg-406-wrapper .tg-406-result-chat__name { font-size:.82rem; font-weight:800; color:rgba(255,255,255,.75); margin-bottom:1px; }
#tg-406-wrapper .tg-406-chat-mock__status,
#tg-406-wrapper .tg-406-result-chat__status { font-size:.66rem; color:var(--em-400); margin-bottom:0 !important; }
#tg-406-wrapper .tg-406-chat-mock__msgs,
#tg-406-wrapper .tg-406-result-msgs { padding:12px 14px; display:flex; flex-direction:column; gap:8px; }
/* 메시지 버블 */
#tg-406-wrapper .tg-406-msg { display:flex; flex-direction:column; }
#tg-406-wrapper .tg-406-msg--in  { align-items:flex-start; }
#tg-406-wrapper .tg-406-msg--out { align-items:flex-end; }
#tg-406-wrapper .tg-406-msg__bubble { font-size:.8rem; line-height:1.55; padding:8px 12px; border-radius:14px; max-width:90%; }
#tg-406-wrapper .tg-406-msg--in  .tg-406-msg__bubble { background:rgba(255,255,255,.08); color:rgba(255,255,255,.7); border-radius:4px 14px 14px 14px; }
#tg-406-wrapper .tg-406-msg--out .tg-406-msg__bubble { background:rgba(16,185,129,.15); color:rgba(255,255,255,.85); border-radius:14px 14px 4px 14px; border:1px solid rgba(16,185,129,.2); }
#tg-406-wrapper .tg-406-msg__time { font-size:.58rem; color:rgba(255,255,255,.2); margin-top:3px; }
/* 날짜 텍스트 (클릭 가능) */
#tg-406-wrapper .tg-406-date-text { display:inline; font-size:inherit; font-weight:800; color:rgba(255,255,255,.9); cursor:pointer; border-radius:4px; padding:1px 4px; transition:background .18s, color .18s; position:relative; }
#tg-406-wrapper .tg-406-date-text:hover { background:rgba(16,185,129,.2); color:var(--em-300); }
#tg-406-wrapper .tg-406-date-text.is-selected { background:rgba(16,185,129,.35); color:var(--em-200); outline:2px solid rgba(16,185,129,.5); }
/* 서식 팝업 */
#tg-406-wrapper .tg-406-format-popup { position:absolute; bottom:38px; left:50%; transform:translateX(-50%); background:rgba(15,23,42,.95); border:1px solid rgba(255,255,255,.12); border-radius:12px; padding:4px; display:flex; gap:2px; backdrop-filter:blur(8px); z-index:10; animation:tg406FadeIn .22s ease; white-space:nowrap; }
#tg-406-wrapper .tg-406-format-btn { display:flex; flex-direction:column; align-items:center; gap:3px; padding:8px 10px; border-radius:8px; font-size:.6rem; font-weight:700; color:rgba(255,255,255,.4); transition:background .15s, color .15s; }
#tg-406-wrapper .tg-406-format-btn .material-symbols-outlined { font-size:.9rem; }
#tg-406-wrapper .tg-406-format-btn--active { background:rgba(16,185,129,.15); color:var(--em-400); border:1px solid rgba(16,185,129,.3); animation:tg406BtnGlow 1.5s ease-in-out infinite; }
#tg-406-wrapper .tg-406-format-btn:disabled { color:rgba(255,255,255,.18); cursor:default; }
@keyframes tg406BtnGlow { 0%,100%{box-shadow:none;}50%{box-shadow:0 0 10px rgba(16,185,129,.4);} }
#tg-406-wrapper .tg-406-stage1-hint { font-size:.66rem; color:rgba(255,255,255,.3); display:flex; align-items:center; gap:5px; padding:6px 14px 10px; margin-bottom:0 !important; }
#tg-406-wrapper .tg-406-stage1-hint .material-symbols-outlined { font-size:.8rem; color:var(--em-400); animation:tg406TapBounce 1.5s ease-in-out infinite; }
@keyframes tg406TapBounce { 0%,100%{transform:scale(1);}50%{transform:scale(1.3) translateY(-2px);} }

/* Stage 2: 날짜·시간 피커 */
#tg-406-wrapper .tg-406-picker-panel { background:rgba(255,255,255,.04); border:1px solid rgba(16,185,129,.12); border-radius:16px; overflow:hidden; }
#tg-406-wrapper .tg-406-picker-panel__hd { display:flex; align-items:center; gap:8px; padding:10px 14px; border-bottom:1px solid rgba(255,255,255,.06); }
#tg-406-wrapper .tg-406-back-btn { width:30px; height:30px; border-radius:50%; background:rgba(255,255,255,.07); color:rgba(255,255,255,.5); font-size:1rem; display:flex; align-items:center; justify-content:center; transition:background .18s; flex-shrink:0; }
#tg-406-wrapper .tg-406-back-btn:hover { background:rgba(255,255,255,.12); }
#tg-406-wrapper .tg-406-picker-panel__title { font-size:.82rem; font-weight:800; color:rgba(255,255,255,.65); margin-bottom:0 !important; flex:1; }
/* 미니 캘린더 */
#tg-406-wrapper .tg-406-cal-wrap { padding:12px 14px 4px; }
#tg-406-wrapper .tg-406-cal-nav { display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; }
#tg-406-wrapper .tg-406-cal-nav__btn { width:28px; height:28px; border-radius:50%; background:rgba(255,255,255,.06); color:rgba(255,255,255,.5); display:flex; align-items:center; justify-content:center; font-size:.9rem; transition:background .18s; }
#tg-406-wrapper .tg-406-cal-nav__btn:hover { background:rgba(16,185,129,.15); color:var(--em-400); }
#tg-406-wrapper .tg-406-cal-nav__title { font-size:.82rem; font-weight:900; color:rgba(255,255,255,.75); margin-bottom:0 !important; }
#tg-406-wrapper .tg-406-cal-grid { background:rgba(255,255,255,.03); border-radius:10px; overflow:hidden; }
#tg-406-wrapper .tg-406-cal-dow { display:grid; grid-template-columns:repeat(7,1fr); text-align:center; padding:4px 2px 2px; }
#tg-406-wrapper .tg-406-cal-dow span { font-size:.6rem; font-weight:700; color:rgba(255,255,255,.2); padding:3px 0; }
#tg-406-wrapper .tg-406-cal-days { display:grid; grid-template-columns:repeat(7,1fr); padding:2px; }
#tg-406-wrapper .tg-406-cal-day { font-size:.68rem; font-weight:600; color:rgba(255,255,255,.4); padding:5px 2px; text-align:center; border-radius:6px; cursor:pointer; transition:all .15s; }
#tg-406-wrapper .tg-406-cal-day:hover { background:rgba(16,185,129,.15); color:var(--em-300); }
#tg-406-wrapper .tg-406-cal-day--today { color:var(--em-400); font-weight:900; }
#tg-406-wrapper .tg-406-cal-day--selected { background:var(--em-600) !important; color:#fff !important; font-weight:900; box-shadow:0 2px 8px rgba(16,185,129,.4); }
#tg-406-wrapper .tg-406-cal-day--empty { cursor:default; }
/* 시간 피커 */
#tg-406-wrapper .tg-406-time-wrap { padding:12px 14px; border-top:1px solid rgba(255,255,255,.05); }
#tg-406-wrapper .tg-406-time-label { display:flex; align-items:center; gap:6px; font-size:.72rem; font-weight:700; color:rgba(255,255,255,.28); margin-bottom:8px; }
#tg-406-wrapper .tg-406-time-label .material-symbols-outlined { font-size:.9rem; color:var(--em-400); }
#tg-406-wrapper .tg-406-time-row { display:flex; align-items:center; gap:6px; justify-content:center; margin-bottom:8px; }
#tg-406-wrapper .tg-406-time-btn { width:30px; height:30px; border-radius:50%; background:rgba(255,255,255,.06); color:rgba(255,255,255,.5); display:flex; align-items:center; justify-content:center; font-size:.9rem; transition:background .18s; }
#tg-406-wrapper .tg-406-time-btn:hover { background:rgba(16,185,129,.15); color:var(--em-400); }
#tg-406-wrapper .tg-406-time-field { width:44px; text-align:center; background:rgba(255,255,255,.06); border:1.5px solid rgba(255,255,255,.1); border-radius:8px; padding:6px 4px; font-size:.9rem; font-weight:900; color:rgba(255,255,255,.8); font-family:inherit; -moz-appearance:textfield; }
#tg-406-wrapper .tg-406-time-field::-webkit-inner-spin-button,
#tg-406-wrapper .tg-406-time-field::-webkit-outer-spin-button { -webkit-appearance:none; }
#tg-406-wrapper .tg-406-time-field:focus { border-color:rgba(16,185,129,.45); box-shadow:0 0 0 3px rgba(16,185,129,.12); }
#tg-406-wrapper .tg-406-time-sep { font-size:1rem; font-weight:900; color:rgba(255,255,255,.4); }
#tg-406-wrapper .tg-406-time-preview { font-size:.75rem; font-weight:800; color:var(--em-400); text-align:center; margin-bottom:0 !important; }
/* 날짜 추가 버튼 */
#tg-406-wrapper .tg-406-add-btn { display:flex; align-items:center; justify-content:center; gap:8px; width:calc(100% - 28px); margin:10px 14px 14px; padding:12px; border-radius:999px; background:linear-gradient(135deg, var(--em-500), var(--em-700)); color:#fff; font-size:.9rem; font-weight:900; box-shadow:var(--shadow-em); transition:transform .18s; }
#tg-406-wrapper .tg-406-add-btn:hover { transform:translateY(-2px); }
#tg-406-wrapper .tg-406-add-btn .material-symbols-outlined { font-size:1.1rem; }

/* Stage 3: 결과 */
#tg-406-wrapper .tg-406-result-panel { position:relative; }
/* 스마트 링크 팝업 */
#tg-406-wrapper .tg-406-link-popup { position:absolute; inset:0; z-index:20; background:rgba(1,10,5,.85); display:flex; align-items:center; justify-content:center; animation:tg406FadeIn .25s ease; border-radius:16px; }
#tg-406-wrapper .tg-406-link-popup__inner { background:rgba(15,23,42,.95); border:1px solid rgba(16,185,129,.22); border-radius:18px; padding:24px 22px; text-align:center; max-width:280px; width:90%; position:relative; }
#tg-406-wrapper .tg-406-link-popup__ico { width:52px; height:52px; border-radius:16px; background:linear-gradient(135deg, var(--em-500), var(--em-700)); color:#fff; font-size:1.5rem; display:flex; align-items:center; justify-content:center; margin:0 auto 12px; }
#tg-406-wrapper .tg-406-link-popup__date { font-size:.78rem; color:var(--em-400); font-weight:800; margin-bottom:4px !important; }
#tg-406-wrapper .tg-406-link-popup__title { font-size:.88rem; color:rgba(255,255,255,.6); margin-bottom:16px !important; }
#tg-406-wrapper .tg-406-popup-btn { display:flex; align-items:center; gap:8px; width:100%; padding:11px 14px; border-radius:11px; font-size:.85rem; font-weight:800; margin-bottom:8px; transition:all .18s; }
#tg-406-wrapper .tg-406-popup-btn .material-symbols-outlined { font-size:1.1rem; }
#tg-406-wrapper .tg-406-popup-btn--cal    { background:rgba(16,185,129,.12); border:1px solid rgba(16,185,129,.25); color:var(--em-400); }
#tg-406-wrapper .tg-406-popup-btn--cal:hover { background:rgba(16,185,129,.22); }
#tg-406-wrapper .tg-406-popup-btn--remind { background:rgba(250,204,21,.08); border:1px solid rgba(250,204,21,.2); color:var(--ylw-400); }
#tg-406-wrapper .tg-406-popup-btn--remind:hover { background:rgba(250,204,21,.14); }
#tg-406-wrapper .tg-406-popup-close { position:absolute; top:12px; right:12px; width:24px; height:24px; border-radius:50%; background:rgba(255,255,255,.06); color:rgba(255,255,255,.3); display:flex; align-items:center; justify-content:center; font-size:.8rem; transition:background .15s; }
#tg-406-wrapper .tg-406-popup-close:hover { background:rgba(255,255,255,.12); }
/* 완료 UI */
#tg-406-wrapper .tg-406-popup-done { text-align:center; animation:tg406DoneIn .4s ease; }
@keyframes tg406DoneIn { 0%{opacity:0;transform:scale(.7);}60%{transform:scale(1.1);}100%{opacity:1;transform:scale(1);} }
#tg-406-wrapper .tg-406-popup-done .material-symbols-outlined { font-size:2.5rem; color:var(--em-400); display:block; margin-bottom:8px; }
#tg-406-wrapper .tg-406-popup-done p { font-size:.85rem; color:rgba(255,255,255,.7); font-weight:700; margin-bottom:0 !important; }
/* 결과 채팅 */
#tg-406-wrapper .tg-406-result-chat { background:rgba(255,255,255,.04); border:1px solid rgba(16,185,129,.12); border-radius:16px; overflow:hidden; margin-bottom:10px; }
#tg-406-wrapper .tg-406-result-msg-out { animation:tg406MsgPop .4s ease; }
@keyframes tg406MsgPop { 0%{opacity:0;transform:scale(.85) translateY(10px);}60%{transform:scale(1.02);}100%{opacity:1;transform:scale(1);} }
/* 스마트 링크 버튼 */
#tg-406-wrapper .tg-406-smart-link { display:inline-flex; align-items:center; gap:4px; font-size:inherit; font-weight:800; color:var(--em-400); border-bottom:1.5px solid var(--em-500); padding:1px 3px; border-radius:4px; transition:background .18s, color .18s; cursor:pointer; animation:tg406LinkIn .5s ease .2s both; }
@keyframes tg406LinkIn { 0%{opacity:0;letter-spacing:-.1em;}100%{opacity:1;letter-spacing:normal;} }
#tg-406-wrapper .tg-406-smart-link:hover { background:rgba(16,185,129,.15); }
#tg-406-wrapper .tg-406-smart-link .material-symbols-outlined { font-size:.8rem; }
#tg-406-wrapper .tg-406-result-tip { display:flex; align-items:center; gap:6px; font-size:.65rem; color:var(--em-400); padding:6px 14px 10px; opacity:.65; }
#tg-406-wrapper .tg-406-result-tip .material-symbols-outlined { font-size:.8rem; animation:tg406TapBounce 1.5s ease-in-out infinite; }
/* 재시작 버튼 */
#tg-406-wrapper .tg-406-retry-btn { display:flex; align-items:center; justify-content:center; gap:7px; width:100%; padding:10px; border-radius:999px; background:rgba(16,185,129,.1); border:1px solid rgba(16,185,129,.25); color:var(--em-400); font-size:.82rem; font-weight:800; transition:background .18s; }
#tg-406-wrapper .tg-406-retry-btn:hover { background:rgba(16,185,129,.18); }

/* ─── 기기별 탭 ─── */
#tg-406-wrapper .tg-406-tabs { display:flex; gap:6px; background:var(--sl-100); border-radius:var(--radius-sm); padding:5px; margin-bottom:22px; flex-wrap:wrap; }
#tg-406-wrapper .tg-406-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-406-wrapper .tg-406-tab-btn .material-symbols-outlined { font-size:1.1rem; }
#tg-406-wrapper .tg-406-tab-btn--active { background:#fff; color:var(--em-700); box-shadow:0 2px 8px rgba(0,0,0,.08); font-weight:800; }
#tg-406-wrapper .tg-406-tab-panel { display:none; text-align:left; animation:tg406FadeIn .3s ease; }
#tg-406-wrapper .tg-406-tab-panel--active { display:block; }
#tg-406-wrapper .tg-406-tab-panel__head { display:flex; align-items:center; gap:14px; margin-bottom:20px; padding-bottom:14px; border-bottom:1px solid var(--sl-100); }
#tg-406-wrapper .tg-406-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-406-wrapper .tg-406-tab-panel__icon--ios     { background:linear-gradient(135deg, #555, #111); color:#fff; }
#tg-406-wrapper .tg-406-tab-panel__icon--android { background:linear-gradient(135deg, #3ddc84, #00ac47); color:#fff; }
#tg-406-wrapper .tg-406-tab-panel__icon--pc      { background:linear-gradient(135deg, var(--em-500), var(--em-700)); color:#fff; }
#tg-406-wrapper .tg-406-tab-panel__name { font-size:var(--fs-lg); font-weight:800; color:var(--sl-900); margin-bottom:4px; }
#tg-406-wrapper .tg-406-tab-panel__sub  { font-size:var(--fs-sm); color:var(--sl-500); margin-bottom:0 !important; }
#tg-406-wrapper .tg-406-recommend-badge { display:inline-flex; align-items:center; gap:6px; background:rgba(16,185,129,.08); border:1px solid rgba(16,185,129,.18); color:var(--em-700); font-size:.82rem; font-weight:800; padding:6px 14px; border-radius:999px; margin-bottom:16px; }
#tg-406-wrapper .tg-406-recommend-badge .material-symbols-outlined { font-size:1rem; }
#tg-406-wrapper .tg-406-steps { display:flex; flex-direction:column; gap:12px; counter-reset:steps; }
#tg-406-wrapper .tg-406-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-406-wrapper .tg-406-steps li::before { content:counter(steps); min-width:28px; height:28px; flex-shrink:0; margin-top:2px; background:linear-gradient(135deg, var(--em-500), var(--em-700)); color:#fff; font-size:.8rem; font-weight:900; border-radius:50%; display:flex; align-items:center; justify-content:center; }
#tg-406-wrapper .tg-406-steps li strong { color:var(--sl-800); }
#tg-406-wrapper .tg-406-tip-box { display:flex; align-items:flex-start; gap:12px; background:rgba(16,185,129,.05); border:1px solid rgba(16,185,129,.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-406-wrapper .tg-406-tip-box .material-symbols-outlined { font-size:1.2rem; color:var(--em-600); flex-shrink:0; margin-top:2px; }

/* Pro 꿀팁 */
#tg-406-wrapper .tg-406-use-grid { display:grid; grid-template-columns:1fr; gap:14px; max-width:700px; margin:22px auto 0; text-align:left; }
#tg-406-wrapper .tg-406-use-item { display:flex; flex-direction:column; gap:10px; background:#fff; border:1px solid var(--sl-200); border-radius:14px; padding:20px; }
#tg-406-wrapper .tg-406-use-item__ico { width:46px; height:46px; border-radius:12px; background:rgba(16,185,129,.08); border:1px solid rgba(16,185,129,.16); display:flex; align-items:center; justify-content:center; font-size:1.3rem; color:var(--em-600); }
#tg-406-wrapper .tg-406-use-item__title { font-size:.95rem; font-weight:800; color:var(--sl-900); margin-bottom:6px !important; }
#tg-406-wrapper .tg-406-use-item__desc  { font-size:.85rem; color:var(--text-sub); line-height:1.7; margin-bottom:0 !important; }

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

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