/*
 * tips397/style.css  v1.0.0
 * 텔레그램 한정판 선물 경매 가이드
 * 테마: 럭셔리 샴페인 골드 + 딥 럭스 다크 (경매·한정판·수집품·Stars·프리미엄)
 * 그누보드5 격리 | BEM | 모바일 퍼스트
 *
 * 기존과 구별되는 이유:
 * - tips387 amber `#f59e0b` (따뜻한 오렌지골드 / 선물 포장 축제)
 * - tips395 yellow `#eab308` (시그널 옐로 / OBS 방송 경보)
 * - tips397 champagne `#fbbf24` (샴페인 골드-화이트 / 럭셔리 경매장)
 *   + 플래티넘 실버 `#e2e8f0`이 포인트로 함께 사용됨
 */

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

/* ─── 디자인 토큰 ─── */
#tg-397-wrapper {
    --gld-100: #fef9c3;
    --gld-200: #fef08a;
    --gld-300: #fde047;
    --gld-400: #fbbf24;   /* 메인 샴페인 골드 */
    --gld-500: #f59e0b;
    --gld-600: #d97706;
    --gld-700: #b45309;
    --sil-100: #f8fafc;
    --sil-200: #e2e8f0;   /* 플래티넘 실버 */
    --sil-300: #cbd5e1;
    --grn-400: #4ade80;
    --sky-400: #38bdf8;
    --red-400: #f87171;
    --dk-base: #080700;
    --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-gld: 0 6px 28px rgba(251,191,36,.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-397-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-397-wrapper .tg-397-motion { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
#tg-397-wrapper .tg-397-motion.is-visible { opacity: 1; transform: translateY(0); }

/* ═══════ 히어로 */
#tg-397-wrapper .tg-397-hero {
    position: relative; background: var(--dk-base);
    border-radius: var(--radius-lg); padding: 64px 28px 72px; text-align: center; overflow: hidden;
}
#tg-397-wrapper .tg-397-hero__bg {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 65% 52% at 28% 35%, rgba(251,191,36,.18) 0%, transparent 56%),
        radial-gradient(ellipse 50% 44% at 80% 68%, rgba(226,232,240,.06) 0%, transparent 52%);
}
#tg-397-wrapper .tg-397-hero__floats { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
#tg-397-wrapper .tg-397-float { position: absolute; font-size: 1.8rem; opacity: 0; animation: tg397Float ease-in-out infinite; }
#tg-397-wrapper .tg-397-float--1 { top:14%; left:4%;     animation-duration:5.5s; }
#tg-397-wrapper .tg-397-float--2 { top:22%; right:5%;    animation-duration:4.5s; animation-delay:-2s; font-size:1.3rem; }
#tg-397-wrapper .tg-397-float--3 { bottom:28%; left:6%;  animation-duration:6s;   animation-delay:-1s; }
#tg-397-wrapper .tg-397-float--4 { bottom:20%; right:7%; animation-duration:5s;   animation-delay:-1.8s; font-size:1.3rem; }
@keyframes tg397Float { 0%,100%{opacity:0;transform:translateY(0) scale(.9);}50%{opacity:.52;transform:translateY(-14px) scale(1.12);} }
#tg-397-wrapper .tg-397-hero__inner { position:relative; z-index:1; max-width:700px; margin:0 auto; }
#tg-397-wrapper .tg-397-hero__badge { display:inline-flex; align-items:center; gap:6px; background:rgba(251,191,36,.15); border:1px solid rgba(251,191,36,.35); color:var(--gld-300); font-size:.85rem; font-weight:700; padding:6px 18px; border-radius:999px; margin-bottom:22px !important; }
#tg-397-wrapper .tg-397-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-397-wrapper .tg-397-hero__title em { font-style:normal; color:var(--gld-400); text-shadow:0 0 24px rgba(251,191,36,.6); }
#tg-397-wrapper .tg-397-hero__subtitle { color:rgba(255,255,255,.65); line-height:1.8; max-width:540px; margin:0 auto 28px !important; }
#tg-397-wrapper .tg-397-hero__chips { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; }
#tg-397-wrapper .tg-397-hero__chip { display:inline-flex; align-items:center; gap:6px; background:rgba(251,191,36,.12); border:1px solid rgba(251,191,36,.24); color:var(--gld-300); font-size:.82rem; font-weight:800; padding:8px 16px; border-radius:999px; }
#tg-397-wrapper .tg-397-hero__chip--sil { background:rgba(226,232,240,.08); border-color:rgba(226,232,240,.2); color:var(--sil-300); }
#tg-397-wrapper .tg-397-hero__chip--grn { background:rgba(74,222,128,.08); border-color:rgba(74,222,128,.22); color:var(--grn-400); }

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

/* 도입부 */
#tg-397-wrapper .tg-397-intro { background:#fff; border:1px solid var(--sl-200); border-top:4px solid var(--gld-400); border-radius:var(--radius-md); padding:36px 28px; text-align:center; box-shadow:var(--shadow-sm); }
#tg-397-wrapper .tg-397-intro__icon { font-size:2.4rem; color:var(--gld-600); margin-bottom:14px; }
#tg-397-wrapper .tg-397-intro__title { font-size:clamp(1.05rem,2.8vw,1.3rem); font-weight:800; color:var(--sl-900); margin-bottom:14px; }
#tg-397-wrapper .tg-397-intro p { color:var(--text-sub); max-width:680px; margin-left:auto; margin-right:auto; }
#tg-397-wrapper .tg-397-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-397-wrapper .tg-397-feat-item { padding:14px 10px; border-radius:12px; background:rgba(251,191,36,.05); border:1px solid rgba(251,191,36,.16); text-align:center; }
#tg-397-wrapper .tg-397-feat-item__ico { font-size:1.4rem; color:var(--gld-600); margin-bottom:7px; display:block; }
#tg-397-wrapper .tg-397-feat-item__title { font-size:.78rem; font-weight:800; color:var(--sl-900); margin-bottom:3px !important; }
#tg-397-wrapper .tg-397-feat-item p { margin-bottom:0 !important; font-size:.68rem; color:var(--sl-500); line-height:1.45; }

/* 공통 섹션 */
#tg-397-wrapper .tg-397-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-397-wrapper .tg-397-section--dark { background:var(--dk-base); border-color:rgba(251,191,36,.1); }
#tg-397-wrapper .tg-397-section--tip  { background:var(--sl-50); }
#tg-397-wrapper .tg-397-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-397-wrapper .tg-397-section__label--dark { background:rgba(255,255,255,.13); color:#fff; border:1px solid rgba(255,255,255,.24); }
#tg-397-wrapper .tg-397-section__label--gld  { background:rgba(251,191,36,.08); color:var(--gld-700); }
#tg-397-wrapper .tg-397-section__label .material-symbols-outlined { font-size:1rem; }
#tg-397-wrapper .tg-397-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-397-wrapper .tg-397-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-397-wrapper .tg-397-section > p { color:var(--text-sub); max-width:680px; margin-left:auto; margin-right:auto; }
#tg-397-wrapper .tg-397-section__desc--light { color:rgba(255,255,255,.8) !important; margin-bottom:28px !important; }

/* 경매 규칙 그리드 */
#tg-397-wrapper .tg-397-rule-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; max-width:720px; margin:0 auto; text-align:left; }
#tg-397-wrapper .tg-397-rule-item { border:1px solid var(--sl-200); border-radius:14px; padding:18px; background:#fff; }
#tg-397-wrapper .tg-397-rule-item--highlight { border-color:rgba(74,222,128,.3); background:rgba(74,222,128,.04); }
#tg-397-wrapper .tg-397-rule-item__ico { width:40px; height:40px; border-radius:10px; background:rgba(251,191,36,.1); border:1px solid rgba(251,191,36,.2); display:flex; align-items:center; justify-content:center; font-size:1.1rem; color:var(--gld-600); margin-bottom:10px; }
#tg-397-wrapper .tg-397-rule-item__ico--sil { background:rgba(203,213,225,.1); border-color:rgba(203,213,225,.2); color:var(--sl-400); }
#tg-397-wrapper .tg-397-rule-item__ico--sky { background:rgba(56,189,248,.08); border-color:rgba(56,189,248,.2); color:var(--sky-400); }
#tg-397-wrapper .tg-397-rule-item__ico--grn { background:rgba(74,222,128,.1); border-color:rgba(74,222,128,.25); color:var(--grn-400); }
#tg-397-wrapper .tg-397-rule-item__title { font-size:.88rem; font-weight:800; color:var(--sl-900); margin-bottom:5px !important; }
#tg-397-wrapper .tg-397-rule-item__desc  { font-size:.78rem; color:var(--text-sub); line-height:1.6; margin-bottom:0 !important; }

/* ═══════ 시뮬레이터 */
#tg-397-wrapper .tg-397-sim-wrap { max-width:420px; margin:0 auto; text-align:left; }
#tg-397-wrapper .tg-397-sim-hint { font-size:.7rem; color:rgba(255,255,255,.22); text-align:center; margin-top:8px !important; }
#tg-397-wrapper .tg-397-stage { animation:tg397FadeIn .3s ease; }

/* Stage 1: 선물 목록 */
#tg-397-wrapper .tg-397-stage__label { font-size:.72rem; font-weight:700; color:rgba(255,255,255,.28); margin-bottom:10px !important; }
#tg-397-wrapper .tg-397-gift-grid { display:flex; flex-direction:column; gap:8px; }
/* 선물 카드 */
#tg-397-wrapper .tg-397-gift-card { display:flex; align-items:center; gap:12px; padding:12px 14px; background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.07); border-radius:12px; transition:all .2s; position:relative; overflow:hidden; }
#tg-397-wrapper .tg-397-gift-card:hover { background:rgba(251,191,36,.06); border-color:rgba(251,191,36,.18); }
#tg-397-wrapper .tg-397-gift-card__ico { font-size:2rem; flex-shrink:0; }
#tg-397-wrapper .tg-397-gift-card__body { flex:1; min-width:0; }
#tg-397-wrapper .tg-397-gift-card__name { font-size:.82rem; font-weight:800; color:#fff; margin-bottom:3px !important; line-height:1.3 !important; }
#tg-397-wrapper .tg-397-gift-card__meta { display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
#tg-397-wrapper .tg-397-gift-card__bid { font-size:.65rem; color:var(--gld-400); display:inline-flex; align-items:center; gap:3px; font-weight:700; }
#tg-397-wrapper .tg-397-gift-card__bid .material-symbols-outlined { font-size:.7rem; }
#tg-397-wrapper .tg-397-gift-card__slots { font-size:.6rem; color:rgba(255,255,255,.25); }
#tg-397-wrapper .tg-397-auction-badge { position:absolute; top:8px; right:8px; background:linear-gradient(135deg, var(--gld-400), var(--gld-600)); color:#000; font-size:.55rem; font-weight:900; padding:3px 8px; border-radius:999px; letter-spacing:.04em; }
#tg-397-wrapper .tg-397-join-btn { padding:8px 14px; border-radius:8px; background:linear-gradient(135deg, var(--gld-400), var(--gld-600)); color:#000; font-size:.72rem; font-weight:900; transition:opacity .18s; flex-shrink:0; }
#tg-397-wrapper .tg-397-join-btn:hover { opacity:.87; }

/* Stage 2: 경매 안내 팝업 */
#tg-397-wrapper .tg-397-rule-popup { background:rgba(255,255,255,.05); border:1px solid rgba(251,191,36,.18); border-radius:14px; overflow:hidden; animation:tg397FadeIn .3s ease; }
#tg-397-wrapper .tg-397-rule-popup__hd { display:flex; align-items:center; gap:10px; padding:13px 16px; border-bottom:1px solid rgba(255,255,255,.05); font-size:.82rem; font-weight:800; color:var(--gld-300); }
#tg-397-wrapper .tg-397-rule-popup__hd .material-symbols-outlined { font-size:1.1rem; }
#tg-397-wrapper .tg-397-rule-popup__hd p { margin-bottom:0 !important; }
#tg-397-wrapper .tg-397-rule-popup__list { padding:12px 16px; display:flex; flex-direction:column; gap:8px; }
#tg-397-wrapper .tg-397-rule-popup__list li { display:flex; align-items:center; gap:9px; font-size:.76rem; color:rgba(255,255,255,.55); }
#tg-397-wrapper .tg-397-rule-popup__list li .material-symbols-outlined { font-size:.9rem; color:var(--gld-500); flex-shrink:0; }
#tg-397-wrapper .tg-397-understood-btn { width:calc(100% - 28px); margin:0 14px 14px; display:flex; align-items:center; justify-content:center; gap:7px; padding:12px; border-radius:10px; background:linear-gradient(135deg, var(--gld-400), var(--gld-600)); color:#000; font-size:.88rem; font-weight:900; box-shadow:var(--shadow-gld); transition:opacity .18s; }
#tg-397-wrapper .tg-397-understood-btn:hover { opacity:.9; }

/* Stage 2: 입찰 패널 */
#tg-397-wrapper .tg-397-bid-panel { background:rgba(255,255,255,.04); border:1px solid rgba(251,191,36,.12); border-radius:14px; overflow:hidden; animation:tg397FadeIn .3s ease; }
#tg-397-wrapper .tg-397-bid-panel__hd { display:flex; align-items:center; gap:10px; padding:11px 14px; border-bottom:1px solid rgba(255,255,255,.05); }
#tg-397-wrapper .tg-397-panel-back { 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,.4); transition:background .18s; flex-shrink:0; }
#tg-397-wrapper .tg-397-panel-back:hover { background:rgba(255,255,255,.1); }
#tg-397-wrapper .tg-397-panel-back .material-symbols-outlined { font-size:.9rem; }
#tg-397-wrapper .tg-397-bid-gift-ico { font-size:1.8rem; flex-shrink:0; }
#tg-397-wrapper .tg-397-bid-panel__name { font-size:.82rem; font-weight:800; color:#fff; margin-bottom:1px !important; line-height:1.3 !important; }
#tg-397-wrapper .tg-397-bid-panel__sub  { font-size:.62rem; color:var(--gld-500); margin-bottom:0 !important; }
/* 랭킹 */
#tg-397-wrapper .tg-397-ranking { padding:10px 14px; border-bottom:1px solid rgba(255,255,255,.04); }
#tg-397-wrapper .tg-397-ranking__title { font-size:.68rem; font-weight:700; color:rgba(255,255,255,.3); display:inline-flex; align-items:center; gap:5px; margin-bottom:8px !important; line-height:1 !important; }
#tg-397-wrapper .tg-397-ranking__title .material-symbols-outlined { font-size:.8rem; color:var(--gld-500); }
#tg-397-wrapper .tg-397-top-bids { display:flex; flex-direction:column; gap:5px; }
#tg-397-wrapper .tg-397-top-bid-item { display:flex; align-items:center; gap:8px; }
#tg-397-wrapper .tg-397-top-bid-item__rank { width:20px; font-size:.62rem; font-weight:900; color:rgba(255,255,255,.22); text-align:center; flex-shrink:0; }
#tg-397-wrapper .tg-397-top-bid-item--1 .tg-397-top-bid-item__rank { color:var(--gld-400); }
#tg-397-wrapper .tg-397-top-bid-item--2 .tg-397-top-bid-item__rank { color:var(--sil-200); }
#tg-397-wrapper .tg-397-top-bid-item--3 .tg-397-top-bid-item__rank { color:#cd7f32; }
#tg-397-wrapper .tg-397-top-bid-item__ava { width:22px; height:22px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:.85rem; flex-shrink:0; background:rgba(255,255,255,.07); }
#tg-397-wrapper .tg-397-top-bid-item__nm { flex:1; font-size:.7rem; color:rgba(255,255,255,.45); }
#tg-397-wrapper .tg-397-top-bid-item__stars { font-size:.68rem; font-weight:800; color:var(--gld-400); display:inline-flex; align-items:center; gap:2px; }
/* 슬라이더 */
#tg-397-wrapper .tg-397-bid-ctrl { padding:10px 14px; border-bottom:1px solid rgba(255,255,255,.04); }
#tg-397-wrapper .tg-397-bid-ctrl__row { display:flex; align-items:center; justify-content:space-between; margin-bottom:8px; }
#tg-397-wrapper .tg-397-bid-ctrl__lbl { font-size:.7rem; font-weight:700; color:rgba(255,255,255,.35); display:inline-flex; align-items:center; gap:5px; }
#tg-397-wrapper .tg-397-bid-ctrl__lbl .material-symbols-outlined { font-size:.85rem; color:var(--gld-400); }
#tg-397-wrapper .tg-397-bid-ctrl__val { font-size:.82rem; font-weight:900; color:var(--gld-400); }
#tg-397-wrapper .tg-397-bid-range { width:100%; height:4px; accent-color:var(--gld-400); }
#tg-397-wrapper .tg-397-bid-range__marks { display:flex; justify-content:space-between; font-size:.55rem; color:rgba(255,255,255,.18); margin-top:4px; }
#tg-397-wrapper .tg-397-my-rank { display:flex; align-items:center; gap:7px; margin-top:8px; padding:7px 10px; background:rgba(251,191,36,.07); border:1px solid rgba(251,191,36,.18); border-radius:8px; font-size:.72rem; color:rgba(255,255,255,.45); }
#tg-397-wrapper .tg-397-my-rank .material-symbols-outlined { font-size:.9rem; color:var(--gld-500); }
#tg-397-wrapper .tg-397-my-rank strong { color:var(--gld-300); }
/* 입찰 버튼 */
#tg-397-wrapper .tg-397-bid-btn { width:calc(100% - 28px); margin:12px 14px; display:flex; align-items:center; justify-content:center; gap:7px; padding:13px; border-radius:10px; background:linear-gradient(135deg, var(--gld-400), var(--gld-600)); color:#000; font-size:.9rem; font-weight:900; box-shadow:var(--shadow-gld); transition:opacity .18s; }
#tg-397-wrapper .tg-397-bid-btn:hover { opacity:.9; }
#tg-397-wrapper .tg-397-bid-btn .material-symbols-outlined { font-size:1.1rem; }

/* Stage 3: 결과 */
#tg-397-wrapper .tg-397-result { padding:24px 16px; text-align:center; }
#tg-397-wrapper .tg-397-result__ico { font-size:3.5rem; margin-bottom:12px; display:block; animation:tg397BounceIn .5s ease; }
#tg-397-wrapper .tg-397-result__title { font-size:1rem; font-weight:900; color:#fff; margin-bottom:6px !important; }
#tg-397-wrapper .tg-397-result__sub   { font-size:.8rem; color:rgba(255,255,255,.4); margin-bottom:20px !important; }
#tg-397-wrapper .tg-397-result__badge { display:inline-flex; align-items:center; gap:6px; padding:8px 18px; border-radius:999px; font-size:.78rem; font-weight:800; margin-bottom:20px; }
#tg-397-wrapper .tg-397-result__badge--win { background:rgba(251,191,36,.15); border:1px solid rgba(251,191,36,.3); color:var(--gld-300); }
#tg-397-wrapper .tg-397-result__badge--refund { background:rgba(74,222,128,.1); border:1px solid rgba(74,222,128,.25); color:var(--grn-400); }
#tg-397-wrapper .tg-397-result__btns { display:flex; flex-direction:column; gap:8px; }
#tg-397-wrapper .tg-397-rebid-btn { display:flex; align-items:center; justify-content:center; gap:7px; padding:10px 20px; border-radius:999px; background:rgba(251,191,36,.12); border:1px solid rgba(251,191,36,.28); color:var(--gld-300); font-size:.82rem; font-weight:800; transition:background .18s; }
#tg-397-wrapper .tg-397-rebid-btn:hover { background:rgba(251,191,36,.2); }
#tg-397-wrapper .tg-397-back-list-btn { display:flex; align-items:center; justify-content:center; gap:7px; padding:10px 20px; border-radius:999px; background:rgba(255,255,255,.05); color:rgba(255,255,255,.3); font-size:.78rem; font-weight:700; transition:background .18s; }
#tg-397-wrapper .tg-397-back-list-btn:hover { background:rgba(255,255,255,.09); }

/* 팁 */
#tg-397-wrapper .tg-397-tip-list { display:flex; flex-direction:column; gap:14px; text-align:left; max-width:700px; margin:0 auto; }
#tg-397-wrapper .tg-397-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-397-wrapper .tg-397-tip-item__ico { width:42px; height:42px; border-radius:10px; background:rgba(251,191,36,.08); border:1px solid rgba(251,191,36,.18); display:flex; align-items:center; justify-content:center; font-size:1.2rem; color:var(--gld-600); flex-shrink:0; }
#tg-397-wrapper .tg-397-tip-item__title { font-size:.9rem; font-weight:800; color:var(--sl-900); margin-bottom:4px !important; }
#tg-397-wrapper .tg-397-tip-item__desc  { font-size:.82rem; color:var(--text-sub); line-height:1.6; margin-bottom:0 !important; }

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

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

@keyframes tg397Float    { 0%,100%{opacity:0;transform:translateY(0) scale(.9);}50%{opacity:.52;transform:translateY(-14px) scale(1.12);} }
@keyframes tg397FadeIn   { from{opacity:0;transform:translateY(6px);}to{opacity:1;transform:translateY(0);} }
@keyframes tg397BounceIn { 0%{transform:scale(.5);opacity:0;}60%{transform:scale(1.15);}100%{transform:scale(1);opacity:1;} }

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