/*
 * tips259/style.css  v1.0.0
 * 텔레그램 웹 앱(Web App) 완벽 가이드 전용 스타일
 * 그누보드5 완전 격리 | BEM 네이밍 | 모바일 퍼스트
 * 테마: 에메랄드·그린 (기술·혁신·봇)
 */

/* ==============================================
   그누보드5 CSS 충돌 완전 방지 리셋
   ============================================== */
#tg-259-wrapper,
#tg-259-wrapper *,
#tg-259-wrapper *::before,
#tg-259-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-259-wrapper h1,
#tg-259-wrapper h2,
#tg-259-wrapper h3,
#tg-259-wrapper h4,
#tg-259-wrapper h5,
#tg-259-wrapper h6 {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    line-height: 1.3;
}

#tg-259-wrapper p {
    margin-bottom: 14px !important;
    line-height: 1.75 !important;
}
#tg-259-wrapper p:last-child {
    margin-bottom: 0 !important;
}

/* ==============================================
   CSS 변수 (Design Tokens)
   ============================================== */
#tg-259-wrapper {
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --green-500:   #22c55e;
    --green-700:   #15803d;
    --amber-500:   #f59e0b;
    --amber-600:   #d97706;
    --blue-600:    #2283dd;
    --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:    14px;
    --shadow-md:   0 4px 20px rgba(0,0,0,0.07);
    --shadow-emerald: 0 8px 28px rgba(16,185,129,0.12);
}

/* ==============================================
   최상위 래퍼
   ============================================== */
#tg-259-wrapper.tg-259-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    font-family: 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
    color: var(--text-main);
    line-height: 1.75;
    background-color: var(--slate-50);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(16,185,129,0.08);
}

/* ==============================================
   히어로 헤더 (에메랄드·그린 그라데이션)
   ============================================== */
#tg-259-wrapper .tg-259-hero {
    position: relative;
    background: linear-gradient(135deg, #047857 0%, #064e3b 60%, #022c22 100%);
    padding: 52px 24px 52px;
    text-align: center;
    overflow: hidden;
}

#tg-259-wrapper .tg-259-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 75% 20%, rgba(52,211,153,0.18) 0%, transparent 55%),
                radial-gradient(circle at 20% 80%, rgba(16,185,129,0.12) 0%, transparent 50%);
    pointer-events: none;
}

#tg-259-wrapper .tg-259-hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 40px;
    background: var(--slate-50);
    clip-path: ellipse(55% 100% at 50% 100%);
}

#tg-259-wrapper .tg-259-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

#tg-259-wrapper .tg-259-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.18) !important;
    color: #fff !important;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.25);
}

#tg-259-wrapper .tg-259-hero__icon-flow {
    display: flex;
    align-items: center;
    gap: 14px;
}

#tg-259-wrapper .tg-259-hero__icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.12) !important;
    border: 2px solid rgba(255,255,255,0.28);
    border-radius: 14px;
    font-size: 1.8rem;
    color: #fff !important;
}

#tg-259-wrapper .tg-259-hero__icon-box--mid {
    background: rgba(255,255,255,0.24) !important;
    border-color: rgba(255,255,255,0.5);
}

#tg-259-wrapper .tg-259-hero__icon-box--glow {
    background: rgba(255,255,255,0.22) !important;
    border-color: rgba(255,255,255,0.45);
    animation: tg259-pulse 2.5s ease-in-out infinite;
}

@keyframes tg259-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.2); }
    50% { box-shadow: 0 0 0 12px rgba(255,255,255,0); }
}

#tg-259-wrapper .tg-259-hero__flow-arrow {
    color: rgba(255,255,255,0.45) !important;
    font-size: 1.1rem;
}

#tg-259-wrapper .tg-259-hero__title {
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff !important;
    line-height: 1.35;
    word-break: keep-all;
}

#tg-259-wrapper .tg-259-hero__subtitle {
    font-size: 0.97rem;
    color: rgba(255,255,255,0.88) !important;
    word-break: keep-all;
    max-width: 700px;
    margin-bottom: 0 !important;
}

#tg-259-wrapper .tg-259-hero__tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

#tg-259-wrapper .tg-259-hero__tag {
    background: rgba(255,255,255,0.12) !important;
    color: rgba(255,255,255,0.92) !important;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 4px 13px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
}

/* ==============================================
   메인 콘텐츠
   ============================================== */
#tg-259-wrapper .tg-259-main {
    background: #fff;
    padding: 48px 20px 40px;
    display: flex;
    flex-direction: column;
    gap: 44px;
}

/* ==============================================
   도입부
   ============================================== */
#tg-259-wrapper .tg-259-intro {
    background: var(--slate-50) !important;
    border: 1px solid var(--slate-200);
    border-radius: var(--border-r);
    padding: 28px 24px;
    text-align: left;
}

#tg-259-wrapper .tg-259-intro__icon {
    margin-bottom: 12px;
    font-size: 2rem;
    color: var(--emerald-500);
    text-align: center;
}

#tg-259-wrapper .tg-259-intro__heading {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--emerald-600) !important;
    margin-bottom: 14px;
    text-align: center;
}

#tg-259-wrapper .tg-259-intro p {
    font-size: 0.97rem;
    color: var(--text-sub) !important;
    word-break: keep-all;
}

#tg-259-wrapper .tg-259-intro p strong {
    color: var(--emerald-700) !important;
}

/* ==============================================
   섹션 공통
   ============================================== */
#tg-259-wrapper .tg-259-section__label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--emerald-600) !important;
    color: #fff !important;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}

#tg-259-wrapper .tg-259-section__label--demo {
    background: var(--blue-600) !important;
}

#tg-259-wrapper .tg-259-section__label--tips {
    background: var(--amber-600) !important;
}

#tg-259-wrapper .tg-259-section__title {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--slate-800) !important;
    border-left: 4px solid var(--emerald-500);
    padding-left: 14px;
    margin-bottom: 18px;
    line-height: 1.4;
    word-break: keep-all;
}

#tg-259-wrapper .tg-259-section p {
    font-size: 0.97rem;
    color: var(--text-sub) !important;
    word-break: keep-all;
    text-align: left;
}

#tg-259-wrapper .tg-259-section p strong {
    color: var(--emerald-700) !important;
    font-weight: 700;
}

/* ==============================================
   기능 카드
   ============================================== */
#tg-259-wrapper .tg-259-feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 22px;
}

#tg-259-wrapper .tg-259-feature-card {
    position: relative;
    background: var(--slate-50) !important;
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    padding: 20px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#tg-259-wrapper .tg-259-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-emerald);
}

#tg-259-wrapper .tg-259-feature-card__num {
    position: absolute;
    top: -8px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: var(--emerald-600) !important;
    color: #fff !important;
    font-size: 0.75rem;
    font-weight: 900;
    border-radius: 50%;
}

#tg-259-wrapper .tg-259-feature-card__icon {
    font-size: 1.5rem;
    color: var(--emerald-500);
    margin-bottom: 4px;
}

#tg-259-wrapper .tg-259-feature-card strong {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--slate-800) !important;
}

#tg-259-wrapper .tg-259-feature-card p {
    font-size: 0.88rem;
    color: var(--text-sub) !important;
    margin-bottom: 0 !important;
}

#tg-259-wrapper .tg-259-feature-card p strong {
    color: var(--emerald-600) !important;
}

/* ==============================================
   채팅 시뮬레이션 데모
   ============================================== */
#tg-259-wrapper .tg-259-chat-demo {
    margin-top: 20px;
    background: #fff !important;
    border: 2px solid var(--slate-200);
    border-radius: var(--border-r);
    overflow: hidden;
}

#tg-259-wrapper .tg-259-chat-demo__header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--emerald-600) !important;
}

#tg-259-wrapper .tg-259-chat-demo__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.2) !important;
    border-radius: 50%;
    font-size: 0.95rem;
    color: #fff !important;
}

#tg-259-wrapper .tg-259-chat-demo__header-info strong {
    font-size: 0.9rem;
    font-weight: 800;
    color: #fff !important;
    display: block;
}

#tg-259-wrapper .tg-259-chat-demo__header-info span {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.7) !important;
}

/* 채팅 본문 */
#tg-259-wrapper .tg-259-chat-demo__body {
    position: relative;
    padding: 16px;
    min-height: 100px;
    background: #ecfdf5 !important;
}

/* 시스템 메시지 */
#tg-259-wrapper .tg-259-chat-demo__msg--system {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.85) !important;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.82rem;
    color: var(--text-sub) !important;
    text-align: center;
    justify-content: center;
}

#tg-259-wrapper .tg-259-chat-demo__msg--system i {
    color: var(--emerald-500) !important;
}

#tg-259-wrapper .tg-259-chat-demo__msg--system strong {
    color: var(--emerald-700) !important;
    font-weight: 700;
}

/* 봇 팝업 */
#tg-259-wrapper .tg-259-chat-demo__bot-popup {
    display: none;
    background: #fff !important;
    border: 1px solid var(--slate-200);
    border-radius: 10px;
    margin-top: 12px;
    overflow: hidden;
    animation: tg259-slideUp 0.35s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

#tg-259-wrapper .tg-259-chat-demo__bot-popup.is-visible {
    display: block;
}

@keyframes tg259-slideUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

#tg-259-wrapper .tg-259-chat-demo__bot-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--slate-50) !important;
    border-bottom: 1px solid var(--slate-200);
}

#tg-259-wrapper .tg-259-chat-demo__bot-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--emerald-500) !important;
    border-radius: 50%;
    font-size: 0.85rem;
    color: #fff !important;
}

#tg-259-wrapper .tg-259-chat-demo__bot-header strong {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--slate-800) !important;
    display: block;
}

#tg-259-wrapper .tg-259-chat-demo__bot-header span {
    font-size: 0.7rem;
    color: var(--slate-400) !important;
}

#tg-259-wrapper .tg-259-chat-demo__bot-items {
    padding: 6px 0;
}

#tg-259-wrapper .tg-259-chat-demo__bot-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main) !important;
    cursor: pointer;
    transition: background 0.2s ease;
}

#tg-259-wrapper .tg-259-chat-demo__bot-item:hover {
    background: var(--slate-50) !important;
}

#tg-259-wrapper .tg-259-chat-demo__bot-item i {
    color: var(--emerald-500) !important;
    font-size: 1rem;
}

/* 웹 앱 화면 */
#tg-259-wrapper .tg-259-chat-demo__webapp {
    display: none;
    position: absolute;
    inset: 0;
    background: #fff !important;
    z-index: 10;
    animation: tg259-appOpen 0.4s ease;
    flex-direction: column;
}

#tg-259-wrapper .tg-259-chat-demo__webapp.is-visible {
    display: flex;
}

@keyframes tg259-appOpen {
    from { opacity: 0; transform: translateY(100%); }
    to { opacity: 1; transform: translateY(0); }
}

#tg-259-wrapper .tg-259-chat-demo__webapp-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--emerald-600) !important;
    color: #fff !important;
    font-size: 0.85rem;
}

#tg-259-wrapper .tg-259-chat-demo__webapp-header strong {
    flex: 1;
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff !important;
}

#tg-259-wrapper .tg-259-chat-demo__webapp-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.2) !important;
    border-radius: 50%;
    cursor: pointer;
    color: #fff !important;
    font-family: inherit;
    font-size: 0.8rem;
    transition: background 0.2s ease;
}

#tg-259-wrapper .tg-259-chat-demo__webapp-close:hover {
    background: rgba(255,255,255,0.35) !important;
}

#tg-259-wrapper .tg-259-chat-demo__webapp-body {
    padding: 10px 14px;
    flex: 1;
    overflow-y: auto;
}

#tg-259-wrapper .tg-259-chat-demo__webapp-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--slate-100);
}

#tg-259-wrapper .tg-259-chat-demo__webapp-item:last-of-type {
    border-bottom: none;
}

#tg-259-wrapper .tg-259-chat-demo__webapp-emoji {
    font-size: 1.6rem;
    flex-shrink: 0;
}

#tg-259-wrapper .tg-259-chat-demo__webapp-item div {
    flex: 1;
}

#tg-259-wrapper .tg-259-chat-demo__webapp-item div strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--slate-800) !important;
}

#tg-259-wrapper .tg-259-chat-demo__webapp-item div span {
    font-size: 0.78rem;
    color: var(--emerald-600) !important;
    font-weight: 600;
}

#tg-259-wrapper .tg-259-chat-demo__webapp-add {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: var(--emerald-500) !important;
    color: #fff !important;
    border-radius: 50%;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.75rem;
    transition: transform 0.2s ease, background 0.2s ease;
    flex-shrink: 0;
}

#tg-259-wrapper .tg-259-chat-demo__webapp-add:hover {
    background: var(--emerald-700) !important;
    transform: scale(1.1);
}

/* 장바구니 */
#tg-259-wrapper .tg-259-chat-demo__webapp-cart {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    margin-top: 10px;
    background: var(--slate-50) !important;
    border: 1px solid var(--slate-200);
    border-radius: 10px;
    font-size: 0.85rem;
    color: var(--text-main) !important;
}

#tg-259-wrapper .tg-259-chat-demo__webapp-cart > i {
    color: var(--emerald-500) !important;
}

#tg-259-wrapper .tg-259-chat-demo__webapp-cart span {
    flex: 1;
}

#tg-259-wrapper .tg-259-chat-demo__webapp-cart strong {
    color: var(--emerald-600) !important;
    font-weight: 900;
}

#tg-259-wrapper .tg-259-chat-demo__webapp-order {
    background: var(--emerald-600) !important;
    color: #fff !important;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
}

#tg-259-wrapper .tg-259-chat-demo__webapp-order:hover {
    background: var(--emerald-700) !important;
}

#tg-259-wrapper .tg-259-chat-demo__webapp-order.is-ordered {
    background: var(--amber-500) !important;
}

/* 입력창 */
#tg-259-wrapper .tg-259-chat-demo__input-area {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #fff !important;
    border-top: 1px solid var(--slate-200);
}

#tg-259-wrapper .tg-259-chat-demo__input {
    flex: 1;
    background: var(--slate-100) !important;
    border-radius: 20px;
    padding: 9px 14px;
    font-family: inherit;
    font-size: 0.85rem;
    color: var(--text-main) !important;
}

#tg-259-wrapper .tg-259-chat-demo__input::placeholder {
    color: var(--slate-400) !important;
}

#tg-259-wrapper .tg-259-chat-demo__send {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--emerald-500) !important;
    color: #fff !important;
    border-radius: 50%;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85rem;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

#tg-259-wrapper .tg-259-chat-demo__send:hover {
    background: var(--emerald-700) !important;
}

/* ==============================================
   탭 전환 UI
   ============================================== */
#tg-259-wrapper .tg-259-tab-group {
    display: flex;
    gap: 0;
    margin-top: 22px;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    border: 1px solid var(--slate-200);
    border-bottom: none;
}

#tg-259-wrapper .tg-259-tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 12px;
    background: var(--slate-100) !important;
    color: var(--text-sub) !important;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
    border-right: 1px solid var(--slate-200);
}

#tg-259-wrapper .tg-259-tab-btn:last-child {
    border-right: none;
}

#tg-259-wrapper .tg-259-tab-btn:hover {
    background: var(--slate-200) !important;
}

#tg-259-wrapper .tg-259-tab-btn--active {
    background: var(--emerald-600) !important;
    color: #fff !important;
}

#tg-259-wrapper .tg-259-tab-btn--active:hover {
    background: var(--emerald-700) !important;
}

#tg-259-wrapper .tg-259-tab-btn i {
    font-size: 1.1rem;
}

#tg-259-wrapper .tg-259-tab-panel {
    display: none;
    background: var(--slate-50) !important;
    border: 1px solid var(--slate-200);
    border-top: 3px solid var(--emerald-500);
    border-radius: 0 0 var(--border-r) var(--border-r);
    padding: 22px 20px;
    text-align: left;
    animation: tg259-fadeIn 0.35s ease;
}

#tg-259-wrapper .tg-259-tab-panel--active {
    display: block;
}

@keyframes tg259-fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

#tg-259-wrapper .tg-259-tab-panel__header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

#tg-259-wrapper .tg-259-tab-panel__icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    flex-shrink: 0;
    font-size: 1.6rem;
    color: #fff !important;
}

#tg-259-wrapper .tg-259-tab-panel__icon-wrap--pc {
    background: linear-gradient(135deg, #2283dd, #005bb5) !important;
}

#tg-259-wrapper .tg-259-tab-panel__icon-wrap--android {
    background: linear-gradient(135deg, #22c55e, #15803d) !important;
}

#tg-259-wrapper .tg-259-tab-panel__icon-wrap--ios {
    background: linear-gradient(135deg, #64748b, #334155) !important;
}

#tg-259-wrapper .tg-259-tab-panel__title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--slate-800) !important;
    margin-bottom: 4px;
}

#tg-259-wrapper .tg-259-tab-panel__desc {
    font-size: 0.88rem;
    color: var(--text-sub) !important;
    word-break: keep-all;
    line-height: 1.55;
    margin-bottom: 0 !important;
}

/* ==============================================
   단계 목록
   ============================================== */
#tg-259-wrapper .tg-259-steps {
    counter-reset: step259;
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 14px;
    text-align: left;
}

#tg-259-wrapper .tg-259-steps__item {
    counter-increment: step259;
    position: relative;
    padding-left: 32px;
    font-size: 0.9rem;
    color: var(--text-sub) !important;
    line-height: 1.55;
}

#tg-259-wrapper .tg-259-steps__item::before {
    content: counter(step259);
    position: absolute;
    left: 0;
    top: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: var(--emerald-600) !important;
    color: #fff !important;
    font-size: 0.7rem;
    font-weight: 900;
    border-radius: 50%;
}

#tg-259-wrapper .tg-259-steps__item strong {
    color: var(--emerald-700) !important;
    font-weight: 700;
}

/* 핵심 조작 배너 */
#tg-259-wrapper .tg-259-key-action {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5) !important;
    border: 1px solid #a7f3d0;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.88rem;
    color: var(--text-main) !important;
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left;
}

#tg-259-wrapper .tg-259-key-action > i {
    color: var(--emerald-600) !important;
    flex-shrink: 0;
}

#tg-259-wrapper .tg-259-key-action strong {
    color: var(--emerald-800) !important;
    font-weight: 800;
    margin-right: 4px;
}

/* ==============================================
   아코디언
   ============================================== */
#tg-259-wrapper .tg-259-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

#tg-259-wrapper .tg-259-accordion__item {
    background: var(--slate-50) !important;
    border: 1px solid var(--slate-200);
    border-radius: var(--border-r);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#tg-259-wrapper .tg-259-accordion__item.is-open {
    border-color: var(--emerald-400);
    box-shadow: var(--shadow-emerald);
}

#tg-259-wrapper .tg-259-accordion__header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 18px;
    width: 100%;
    background: none !important;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

#tg-259-wrapper .tg-259-accordion__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5) !important;
    border-radius: 10px;
    font-size: 1.1rem;
    color: var(--emerald-600) !important;
    flex-shrink: 0;
}

#tg-259-wrapper .tg-259-accordion__title {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--slate-800) !important;
}

#tg-259-wrapper .tg-259-accordion__arrow {
    color: var(--slate-400) !important;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

#tg-259-wrapper .tg-259-accordion__item.is-open .tg-259-accordion__arrow {
    transform: rotate(180deg);
}

#tg-259-wrapper .tg-259-accordion__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease, padding 0.45s ease;
    padding: 0 18px;
}

#tg-259-wrapper .tg-259-accordion__item.is-open .tg-259-accordion__body {
    max-height: 600px;
    padding: 0 18px 20px;
}

#tg-259-wrapper .tg-259-accordion__body p {
    font-size: 0.9rem;
    color: var(--text-sub) !important;
}

#tg-259-wrapper .tg-259-accordion__body p strong {
    color: var(--emerald-600) !important;
}

/* 활용 사례 그리드 */
#tg-259-wrapper .tg-259-accordion__visual {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 14px 0;
}

#tg-259-wrapper .tg-259-accordion__use-case {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5) !important;
    border: 1px solid #a7f3d0;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--emerald-700) !important;
}

#tg-259-wrapper .tg-259-accordion__use-case i {
    color: var(--emerald-500) !important;
    font-size: 1rem;
}

/* 단축키 데모 */
#tg-259-wrapper .tg-259-accordion__shortcut {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0;
    font-size: 0.88rem;
    color: var(--text-sub) !important;
}

#tg-259-wrapper .tg-259-accordion__key {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: var(--slate-800) !important;
    color: var(--emerald-400) !important;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 6px;
}

#tg-259-wrapper .tg-259-accordion__shortcut > i {
    color: var(--slate-400) !important;
    font-size: 0.7rem;
}

/* ==============================================
   결론 요약 (다크 에메랄드 그라데이션 섹션)
   ============================================== */
#tg-259-wrapper .tg-259-summary {
    background: linear-gradient(150deg, var(--slate-900) 0%, #022c22 100%) !important;
    border-radius: var(--border-r);
    padding: 44px 24px;
    text-align: center;
}

#tg-259-wrapper .tg-259-summary__title {
    font-size: 1.3rem;
    font-weight: 900;
    color: #fff !important;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#tg-259-wrapper .tg-259-summary__flow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 36px;
}

#tg-259-wrapper .tg-259-summary__flow-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

#tg-259-wrapper .tg-259-summary__flow-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.1) !important;
    border: 2px solid rgba(255,255,255,0.18);
    border-radius: 12px;
    font-size: 1.3rem;
    color: #fff !important;
}

#tg-259-wrapper .tg-259-summary__flow-item span {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--slate-300) !important;
    max-width: 80px;
    text-align: center;
    line-height: 1.3;
}

#tg-259-wrapper .tg-259-summary__flow-arrow {
    color: rgba(255,255,255,0.3) !important;
    font-size: 0.9rem;
}

#tg-259-wrapper .tg-259-summary__checklist {
    text-align: left;
    max-width: 640px;
    margin: 0 auto 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#tg-259-wrapper .tg-259-summary__checklist li {
    font-size: 0.93rem;
    color: var(--slate-300) !important;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.6;
}

#tg-259-wrapper .tg-259-summary__checklist li i {
    color: var(--emerald-400) !important;
    flex-shrink: 0;
    margin-top: 4px;
}

#tg-259-wrapper .tg-259-summary__checklist li strong {
    color: #fff !important;
    font-weight: 700;
}

#tg-259-wrapper .tg-259-summary__desc {
    font-size: 0.92rem;
    color: var(--slate-300) !important;
    word-break: keep-all;
    max-width: 700px;
    margin: 0 auto !important;
}

#tg-259-wrapper .tg-259-summary__desc strong {
    color: #fff !important;
}

/* ==============================================
   푸터
   ============================================== */
#tg-259-wrapper .tg-259-footer {
    margin-top: 28px;
}

#tg-259-wrapper .tg-259-footer__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff !important;
    color: var(--emerald-700) !important;
    font-size: 0.92rem;
    font-weight: 800;
    padding: 13px 30px;
    border-radius: 30px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

#tg-259-wrapper .tg-259-footer__btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 22px rgba(0,0,0,0.25);
}

/* ==============================================
   스크롤 등장 애니메이션
   ============================================== */
#tg-259-wrapper .tg-259-motion {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.65s ease-out, transform 0.65s ease-out;
}

#tg-259-wrapper .tg-259-motion.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==============================================
   반응형
   ============================================== */
@media (min-width: 640px) {
    #tg-259-wrapper .tg-259-hero { padding: 64px 40px 60px; }
    #tg-259-wrapper .tg-259-hero__title { font-size: 2rem; }
    #tg-259-wrapper .tg-259-main { padding: 56px 40px 48px; gap: 52px; }
    #tg-259-wrapper .tg-259-feature-grid { grid-template-columns: repeat(3, 1fr); }
    #tg-259-wrapper .tg-259-summary { padding: 56px 40px; }
    #tg-259-wrapper .tg-259-tab-panel__header { align-items: center; }
}

@media (min-width: 900px) {
    #tg-259-wrapper .tg-259-hero__title { font-size: 2.3rem; }
    #tg-259-wrapper .tg-259-section__title { font-size: 1.4rem; }
}
