/*
 * tips322/style.css  v1.0.0
 * 텔레그램 접을 수 있는 인용문 가이드 전용 스타일
 * 그누보드5 완전 격리 | BEM | 모바일 퍼스트
 * 테마: 웜앰버·딥틸·다크슬레이트 (문서편집·인용·접기·업무보고서)
 */

/* ── 리셋 (::before/::after 제외 — FA 아이콘 보호) ── */
#tg-322-wrapper,
#tg-322-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-322-wrapper h1,
#tg-322-wrapper h2,
#tg-322-wrapper h3,
#tg-322-wrapper h4 {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    line-height: 1.3
}

#tg-322-wrapper strong,
#tg-322-wrapper b {
    color: inherit;
    font-weight: 700
}

#tg-322-wrapper p {
    margin-bottom: 14px !important;
    line-height: 1.7 !important
}

#tg-322-wrapper p:last-child {
    margin-bottom: 0 !important
}

#tg-322-wrapper button {
    cursor: pointer
}

#tg-322-wrapper textarea,
#tg-322-wrapper input {
    font-family: inherit
}

#tg-322-wrapper code {
    font-family: 'Courier New', monospace
}

/* ── 변수 ── */
#tg-322-wrapper {
    --amb-300: #fcd34d;
    --amb-400: #fbbf24;
    --amb-500: #f59e0b;
    --amb-600: #d97706;
    --amb-700: #b45309;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --text-main: #1e293b;
    --text-sub: #475569;
    --border-r: 16px;
    --shadow-amb: 0 12px 36px rgba(245, 158, 11, 0.18);
    --shadow-teal: 0 8px 24px rgba(20, 184, 166, 0.15)
}

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

/* ══════ 히어로 ══════ */
#tg-322-wrapper .tg-322-hero {
    position: relative;
    background: linear-gradient(145deg, #0a1628 0%, #1a1400 50%, #0a1820 100%);
    padding: 60px 24px 72px;
    text-align: center;
    overflow: hidden
}

#tg-322-wrapper .tg-322-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 40%, rgba(245, 158, 11, 0.2) 0%, transparent 65%), radial-gradient(circle at 80% 70%, rgba(20, 184, 166, 0.1) 0%, transparent 45%);
    pointer-events: none
}

#tg-322-wrapper .tg-322-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--slate-50);
    clip-path: polygon(0 100%, 100% 100%, 100% 0)
}

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

#tg-322-wrapper .tg-322-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 158, 11, 0.2) !important;
    color: #fcd34d !important;
    font-size: 0.85rem;
    font-weight: 800;
    padding: 7px 18px;
    border-radius: 20px;
    border: 1px solid rgba(245, 158, 11, 0.35)
}

/* 비교 카드 */
#tg-322-wrapper .tg-322-hero__compare {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap
}

#tg-322-wrapper .tg-322-hero__compare-card {
    padding: 12px 14px;
    border-radius: 14px;
    min-width: 130px
}

#tg-322-wrapper .tg-322-hero__compare-card--before {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1)
}

#tg-322-wrapper .tg-322-hero__compare-card--after {
    background: rgba(245, 158, 11, 0.12) !important;
    border: 1px solid rgba(245, 158, 11, 0.3)
}

#tg-322-wrapper .tg-322-hero__compare-label {
    font-size: 0.68rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.45) !important;
    text-align: center;
    margin-bottom: 8px
}

#tg-322-wrapper .tg-322-hero__compare-card--after .tg-322-hero__compare-label {
    color: #fcd34d !important
}

#tg-322-wrapper .tg-322-hero__compare-lines {
    display: flex;
    flex-direction: column;
    gap: 4px
}

#tg-322-wrapper .tg-322-hero__compare-line {
    height: 5px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.12) !important
}

#tg-322-wrapper .tg-322-hero__compare-line--full {
    width: 100%
}

#tg-322-wrapper .tg-322-hero__compare-line--mid {
    width: 70%
}

#tg-322-wrapper .tg-322-hero__compare-line--short {
    width: 45%
}

#tg-322-wrapper .tg-322-hero__compare-time {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.25) !important;
    text-align: right;
    margin-top: 4px
}

#tg-322-wrapper .tg-322-hero__compare-quote {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 6px 8px;
    background: rgba(245, 158, 11, 0.12) !important;
    border-radius: 7px;
    border-left: 3px solid rgba(245, 158, 11, 0.5)
}

#tg-322-wrapper .tg-322-hero__compare-qline {
    height: 4px;
    width: 80%;
    border-radius: 2px;
    background: rgba(252, 211, 77, 0.3) !important
}

#tg-322-wrapper .tg-322-hero__compare-qtoggle {
    font-size: 0.58rem;
    color: #fcd34d !important;
    font-weight: 900;
    margin-top: 1px
}

#tg-322-wrapper .tg-322-hero__compare-arrow {
    font-size: 1.6rem;
    color: var(--teal-400) !important;
    font-weight: 900
}

#tg-322-wrapper .tg-322-hero__title {
    font-size: 1.9rem;
    font-weight: 900;
    color: #ffffff !important;
    line-height: 1.4;
    word-break: keep-all;
    text-shadow: 0 2px 16px rgba(245, 158, 11, 0.35)
}

#tg-322-wrapper .tg-322-hero__subtitle {
    font-size: 1rem;
    color: rgba(252, 211, 77, 0.9) !important;
    word-break: keep-all;
    max-width: 700px;
    margin-bottom: 0 !important;
    line-height: 1.65 !important
}

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

#tg-322-wrapper .tg-322-hero__tag {
    background: rgba(255, 255, 255, 0.07) !important;
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 24px;
    border: 1px solid rgba(245, 158, 11, 0.2)
}

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

/* ══════ 도입부 ══════ */
#tg-322-wrapper .tg-322-intro {
    background: linear-gradient(135deg, #fffbeb, #ecfeff) !important;
    border: 1px solid #fde68a;
    border-radius: var(--border-r);
    padding: 36px 28px;
    text-align: center;
    position: relative
}

#tg-322-wrapper .tg-322-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--amb-500), var(--teal-500));
    border-radius: var(--border-r) var(--border-r) 0 0
}

#tg-322-wrapper .tg-322-intro__icon {
    font-size: 2.8rem;
    margin-bottom: 14px
}

#tg-322-wrapper .tg-322-intro__heading {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--slate-800) !important;
    margin-bottom: 16px
}

#tg-322-wrapper .tg-322-intro p {
    font-size: 1rem;
    color: var(--text-sub) !important;
    word-break: keep-all;
    max-width: 820px;
    margin: 0 auto !important
}

#tg-322-wrapper .tg-322-intro p strong {
    color: var(--amb-700) !important;
    font-weight: 800
}

/* ══════ 섹션 공통 ══════ */
#tg-322-wrapper .tg-322-section__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--amb-600) !important;
    color: #fff !important;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 5px 16px;
    border-radius: 24px;
    margin-bottom: 16px
}

#tg-322-wrapper .tg-322-section__label--demo {
    background: linear-gradient(135deg, var(--amb-600), var(--teal-600)) !important
}

#tg-322-wrapper .tg-322-section__label--tips {
    background: var(--slate-700) !important;
    color: #fff !important
}

#tg-322-wrapper .tg-322-section__title {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--slate-800) !important;
    border-left: 5px solid var(--amb-400);
    padding-left: 16px;
    margin-bottom: 22px;
    line-height: 1.4;
    word-break: keep-all
}

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

#tg-322-wrapper .tg-322-section p strong {
    color: var(--amb-700) !important
}

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

/* ── 좌측: 채팅창 ── */
#tg-322-wrapper .tg-322-chat-view {
    flex: 1;
    background: var(--slate-900) !important;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    min-height: 340px
}

#tg-322-wrapper .tg-322-cv-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.3) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05)
}

#tg-322-wrapper .tg-322-cv-header__avatar {
    font-size: 1.2rem;
    width: 36px;
    height: 36px;
    background: rgba(245, 158, 11, 0.25) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

#tg-322-wrapper .tg-322-cv-header__info {
    flex: 1
}

#tg-322-wrapper .tg-322-cv-header__name {
    font-size: 0.9rem;
    font-weight: 900;
    color: #fff !important
}

#tg-322-wrapper .tg-322-cv-header__sub {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.35) !important
}

#tg-322-wrapper .tg-322-cv-header__icon {
    color: rgba(255, 255, 255, 0.3) !important;
    font-size: 0.85rem
}

#tg-322-wrapper .tg-322-messages {
    flex: 1;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow-y: auto
}

#tg-322-wrapper .tg-322-date-divider {
    text-align: center;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.22) !important;
    margin: 4px 0
}

#tg-322-wrapper .tg-322-msg {
    display: flex;
    align-items: flex-end;
    gap: 6px
}

#tg-322-wrapper .tg-322-msg--sent {
    justify-content: flex-end
}

#tg-322-wrapper .tg-322-msg--received {
    justify-content: flex-start
}

#tg-322-wrapper .tg-322-msg__avatar {
    font-size: 1rem;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.08) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

#tg-322-wrapper .tg-322-msg__avatar--hide {
    visibility: hidden
}

#tg-322-wrapper .tg-322-msg__content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-width: 88%
}

#tg-322-wrapper .tg-322-msg__name {
    font-size: 0.68rem;
    font-weight: 900;
    color: var(--amb-400) !important;
    padding-left: 4px;
    margin-bottom: 2px
}

#tg-322-wrapper .tg-322-msg__bubble {
    padding: 8px 12px;
    border-radius: 14px;
    font-size: 0.8rem;
    line-height: 1.55;
    word-break: break-word
}

#tg-322-wrapper .tg-322-msg__bubble--recv {
    background: rgba(255, 255, 255, 0.09) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    border-radius: 4px 14px 14px 14px
}

#tg-322-wrapper .tg-322-msg__bubble--sent {
    background: var(--teal-600) !important;
    color: #fff !important;
    border-radius: 14px 4px 14px 14px
}

#tg-322-wrapper .tg-322-msg__time {
    display: block;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.3) !important;
    text-align: right;
    margin-top: 4px
}

/* ── 인용문 블록 ── */
#tg-322-wrapper .tg-322-collapsible {
    margin: 6px 0 3px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04) !important;
    border-left: 3px solid var(--amb-500)
}

#tg-322-wrapper .tg-322-collapsible__bar {
    height: 3px;
    background: linear-gradient(90deg, var(--amb-500), var(--teal-500)) !important
}

#tg-322-wrapper .tg-322-collapsible__bar--code {
    background: linear-gradient(90deg, #ef4444, #f97316) !important
}

#tg-322-wrapper .tg-322-collapsible--code {
    border-left-color: #ef4444
}

#tg-322-wrapper .tg-322-collapsible__content-wrap {
    padding: 8px 10px;
    font-size: 0.75rem;
    line-height: 1.6
}

#tg-322-wrapper .tg-322-collapsible__preview {
    color: rgba(255, 255, 255, 0.6) !important;
    font-style: italic
}

#tg-322-wrapper .tg-322-collapsible__full {
    color: rgba(255, 255, 255, 0.88) !important;
    animation: tg322-expandIn 0.35s ease
}

@keyframes tg322-expandIn {
    from {
        opacity: 0;
        transform: translateY(-6px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

#tg-322-wrapper .tg-322-collapsible__full code {
    display: block;
    font-family: 'Courier New', monospace;
    font-size: 0.68rem;
    line-height: 1.6;
    color: #86efac !important
}

#tg-322-wrapper .tg-322-collapsible__toggle {
    display: block;
    width: 100%;
    padding: 5px 10px;
    text-align: left;
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 900;
    color: var(--amb-400) !important;
    transition: all 0.2s;
    background: rgba(255, 255, 255, 0.03) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06)
}

#tg-322-wrapper .tg-322-collapsible__toggle:hover {
    background: rgba(245, 158, 11, 0.1) !important
}

/* 채팅 힌트 */
#tg-322-wrapper .tg-322-chat-hint {
    padding: 8px 12px;
    text-align: center;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.2) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    animation: tg322-pulse 2s ease-in-out infinite
}

@keyframes tg322-pulse {

    0%,
    100% {
        opacity: 0.4
    }

    50% {
        opacity: 1
    }
}

#tg-322-wrapper .tg-322-chat-hint.is-done {
    display: none
}

/* ── 우측: 작성 패널 ── */
#tg-322-wrapper .tg-322-compose-panel {
    flex: 1;
    background: var(--slate-50) !important;
    border: 2px solid var(--slate-200);
    border-radius: 24px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px
}

#tg-322-wrapper .tg-322-compose-panel__label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 900;
    color: var(--slate-500) !important;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--slate-200)
}

#tg-322-wrapper .tg-322-compose-panel__label i {
    color: var(--amb-500) !important
}

#tg-322-wrapper .tg-322-compose-panel__field {
    display: flex;
    flex-direction: column;
    gap: 5px
}

#tg-322-wrapper .tg-322-compose-panel__field-label {
    font-size: 0.78rem;
    font-weight: 900;
    color: var(--slate-700) !important
}

/* 카테고리 */
#tg-322-wrapper .tg-322-category-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap
}

#tg-322-wrapper .tg-322-category-label {
    font-size: 0.7rem;
    font-weight: 900;
    color: var(--slate-400) !important;
    flex-shrink: 0
}

#tg-322-wrapper .tg-322-cat-btn {
    font-size: 0.72rem;
    font-weight: 800;
    padding: 5px 10px;
    background: var(--slate-100) !important;
    color: var(--slate-700) !important;
    border-radius: 8px;
    font-family: inherit;
    transition: all 0.2s;
    border: 1px solid var(--slate-200)
}

#tg-322-wrapper .tg-322-cat-btn:hover {
    background: rgba(245, 158, 11, 0.08) !important;
    border-color: var(--amb-400);
    color: var(--amb-700) !important
}

#tg-322-wrapper .tg-322-cat-btn--active {
    background: rgba(245, 158, 11, 0.1) !important;
    border-color: var(--amb-500);
    color: var(--amb-700) !important
}

/* 입력 */
#tg-322-wrapper .tg-322-input-title {
    width: 100%;
    padding: 9px 12px;
    background: #fff !important;
    border: 1.5px solid var(--slate-200);
    border-radius: 10px;
    font-size: 0.88rem;
    color: var(--slate-800) !important;
    transition: border-color 0.2s
}

#tg-322-wrapper .tg-322-input-title:focus {
    border-color: var(--amb-400);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1)
}

#tg-322-wrapper .tg-322-input-title::placeholder {
    color: var(--slate-300) !important
}

#tg-322-wrapper .tg-322-input-body {
    width: 100%;
    padding: 10px 12px;
    background: #fff !important;
    border: 1.5px solid var(--slate-200);
    border-radius: 10px;
    font-size: 0.85rem;
    color: var(--slate-800) !important;
    resize: none;
    transition: border-color 0.2s;
    line-height: 1.6
}

#tg-322-wrapper .tg-322-input-body:focus {
    border-color: var(--amb-400);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1)
}

#tg-322-wrapper .tg-322-input-body::placeholder {
    color: var(--slate-300) !important
}

/* 미리보기 박스 */
#tg-322-wrapper .tg-322-preview-box {
    background: var(--slate-900) !important;
    border-radius: 14px;
    overflow: hidden;
    animation: tg322-expandIn 0.35s ease
}

#tg-322-wrapper .tg-322-preview-box__label {
    padding: 8px 12px;
    font-size: 0.72rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.4) !important;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.2) !important
}

#tg-322-wrapper .tg-322-preview-box__label i {
    color: var(--amb-400) !important
}

#tg-322-wrapper .tg-322-preview-box__msg {
    padding: 10px 12px
}

/* 전송 버튼 */
#tg-322-wrapper .tg-322-send-btn {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, var(--amb-600), var(--teal-600)) !important;
    color: #fff !important;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.2)
}

#tg-322-wrapper .tg-322-send-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(245, 158, 11, 0.3)
}

/* ══════ 기기별 탭 ══════ */
#tg-322-wrapper .tg-322-tab-group {
    display: flex;
    margin-top: 24px;
    border-radius: 14px 14px 0 0;
    overflow: hidden;
    border: 1px solid var(--slate-200);
    border-bottom: none;
    background: var(--slate-100) !important
}

#tg-322-wrapper .tg-322-tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 10px;
    color: var(--text-sub) !important;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 800;
    transition: all 0.2s;
    border-right: 1px solid var(--slate-200);
    border-bottom: 3px solid transparent
}

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

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

#tg-322-wrapper .tg-322-tab-btn--active {
    background: #fff !important;
    color: var(--amb-700) !important;
    border-bottom-color: var(--amb-500)
}

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

#tg-322-wrapper .tg-322-tab-panel {
    display: none;
    background: #fff !important;
    border: 1px solid var(--slate-200);
    border-top: none;
    border-radius: 0 0 var(--border-r) var(--border-r);
    padding: 28px 24px;
    animation: tg322-fadeIn 0.35s ease
}

@keyframes tg322-fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

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

#tg-322-wrapper .tg-322-tab-panel__header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--slate-100)
}

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

#tg-322-wrapper .tg-322-tab-panel__icon-wrap--pc {
    background: linear-gradient(135deg, var(--amb-600), var(--teal-600)) !important
}

#tg-322-wrapper .tg-322-tab-panel__icon-wrap--ios {
    background: linear-gradient(135deg, #555, #111) !important
}

#tg-322-wrapper .tg-322-tab-panel__icon-wrap--android {
    background: linear-gradient(135deg, #3DDC84, #2dae65) !important
}

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

#tg-322-wrapper .tg-322-tab-panel__desc {
    font-size: 0.88rem;
    color: var(--slate-500) !important;
    margin-bottom: 0 !important
}

#tg-322-wrapper .tg-322-tab-panel__desc strong {
    color: var(--amb-700) !important
}

#tg-322-wrapper .tg-322-steps {
    counter-reset: step322;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px
}

#tg-322-wrapper .tg-322-steps__item {
    counter-increment: step322;
    position: relative;
    padding-left: 36px;
    font-size: 0.92rem;
    color: var(--slate-700) !important;
    line-height: 1.6
}

#tg-322-wrapper .tg-322-steps__item::before {
    content: counter(step322);
    position: absolute;
    left: 0;
    top: 1px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--amb-600), var(--teal-600)) !important;
    color: #fff !important;
    font-size: 0.72rem;
    font-weight: 900;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center
}

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

/* 단축키 카드 */
#tg-322-wrapper .tg-322-shortcut-card {
    display: flex;
    align-items: stretch;
    background: var(--slate-900) !important;
    border-radius: 16px;
    overflow: hidden;
    margin-top: 16px
}

#tg-322-wrapper .tg-322-shortcut-card__item {
    flex: 1;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px
}

#tg-322-wrapper .tg-322-shortcut-card__label {
    font-size: 0.72rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.45) !important
}

#tg-322-wrapper .tg-322-shortcut-card__keys {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap
}

#tg-322-wrapper .tg-322-shortcut-card__keys kbd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    font-size: 0.78rem;
    font-weight: 900;
    border-radius: 7px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-family: inherit;
    min-width: 36px
}

#tg-322-wrapper .tg-322-shortcut-card__keys span {
    color: rgba(255, 255, 255, 0.3) !important;
    font-size: 0.8rem;
    font-weight: 700
}

#tg-322-wrapper .tg-322-shortcut-card__divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.08) !important
}

/* iOS 팁 */
#tg-322-wrapper .tg-322-ios-tip {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(245, 158, 11, 0.06) !important;
    border-left: 4px solid var(--amb-500);
    border-radius: 0 12px 12px 0;
    font-size: 0.88rem;
    color: var(--slate-700) !important;
    margin-top: 16px;
    line-height: 1.6
}

#tg-322-wrapper .tg-322-ios-tip__icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px
}

#tg-322-wrapper .tg-322-ios-tip strong {
    color: var(--amb-700) !important
}

/* ══════ 아코디언 ══════ */
#tg-322-wrapper .tg-322-accordion {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 22px
}

#tg-322-wrapper .tg-322-accordion__item {
    background: #fff !important;
    border: 1px solid var(--slate-200);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s
}

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

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

#tg-322-wrapper .tg-322-accordion__icon {
    width: 40px;
    height: 40px;
    background: var(--slate-100) !important;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--slate-500) !important;
    flex-shrink: 0;
    transition: all 0.3s
}

#tg-322-wrapper .tg-322-accordion__item.is-open .tg-322-accordion__icon {
    background: rgba(245, 158, 11, 0.1) !important;
    color: var(--amb-600) !important
}

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

#tg-322-wrapper .tg-322-accordion__arrow {
    color: var(--slate-400) !important;
    transition: transform 0.4s;
    flex-shrink: 0
}

#tg-322-wrapper .tg-322-accordion__item.is-open .tg-322-accordion__arrow {
    transform: rotate(180deg);
    color: var(--amb-500) !important
}

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

#tg-322-wrapper .tg-322-accordion__item.is-open .tg-322-accordion__body {
    max-height: 300px;
    padding: 0 20px 22px
}

#tg-322-wrapper .tg-322-accordion__body p {
    font-size: 0.95rem;
    color: var(--text-sub) !important;
    line-height: 1.7 !important
}

#tg-322-wrapper .tg-322-accordion__body p strong {
    color: var(--amb-700) !important
}

/* ══════ 결론 ══════ */
#tg-322-wrapper .tg-322-summary {
    background: linear-gradient(135deg, #0a1628, #1a1400) !important;
    border-radius: 24px;
    padding: 50px 24px;
    text-align: center
}

#tg-322-wrapper .tg-322-summary__title {
    font-size: 1.5rem;
    font-weight: 900;
    color: #ffffff !important;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px
}

#tg-322-wrapper .tg-322-summary__title i {
    color: var(--amb-400) !important
}

#tg-322-wrapper .tg-322-summary__desc {
    font-size: 1.05rem;
    color: #fcd34d !important;
    max-width: 750px;
    word-break: keep-all;
    margin: 0 auto 32px !important;
    line-height: 1.65 !important
}

#tg-322-wrapper .tg-322-summary__desc strong {
    color: #ffffff !important;
    font-weight: 800
}

#tg-322-wrapper .tg-322-summary__checklist {
    text-align: left;
    max-width: 640px;
    margin: 0 auto 36px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: rgba(255, 255, 255, 0.05) !important;
    padding: 24px;
    border-radius: 18px;
    border: 1px solid rgba(252, 211, 77, 0.12)
}

#tg-322-wrapper .tg-322-summary__checklist li {
    font-size: 0.95rem;
    color: #fef3c7 !important;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5
}

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

#tg-322-wrapper .tg-322-summary__checklist li strong {
    color: #ffffff !important;
    font-weight: 800
}

#tg-322-wrapper .tg-322-footer {
    margin-top: 30px
}

#tg-322-wrapper .tg-322-footer__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--amb-600) !important;
    color: #fff !important;
    font-size: 0.95rem;
    font-weight: 900;
    padding: 16px 36px;
    border-radius: 30px;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
    transition: transform 0.25s, box-shadow 0.25s
}

#tg-322-wrapper .tg-322-footer__btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(245, 158, 11, 0.4)
}

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

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

/* ══════ 반응형 ══════ */
@media(min-width:640px) {
    #tg-322-wrapper .tg-322-hero {
        padding: 70px 40px 80px
    }

    #tg-322-wrapper .tg-322-hero__title {
        font-size: 2.3rem
    }

    #tg-322-wrapper .tg-322-main {
        padding: 60px 40px 52px;
        gap: 64px
    }

    #tg-322-wrapper .tg-322-sim-container {
        flex-direction: row;
        align-items: stretch
    }

    #tg-322-wrapper .tg-322-summary {
        padding: 60px 40px
    }
}

@media(min-width:900px) {
    #tg-322-wrapper .tg-322-hero__title {
        font-size: 2.6rem
    }

    #tg-322-wrapper .tg-322-section__title {
        font-size: 1.55rem
    }
}