/* ====================================================================
   [Top 페이지 - 사용할 수 있는 티켓] 상단 바 + 자바라 패널 + 제스쳐 검표 화면
   디자인 테마: 미니멀 & 모던 핀테크 / Apple Health & Wallet 스타일
   ==================================================================== */

/* --------------------------------------------------------------------
   0) 디자인 토큰 & 애니메이션
   -------------------------------------------------------------------- */
:root {
    --ta-font-sans: -apple-system, BlinkMacSystemFont, "Pretendard", "Segoe UI", Roboto, "Noto Sans JP", "Noto Sans KR", sans-serif;
    --ta-bg-base: #111116;
    --ta-bg-surface: #181822;
    --ta-bg-surface-elevated: #20202c;
    --ta-bg-glass: rgba(18, 18, 26, 0.82);
    --ta-bg-glass-hover: rgba(28, 28, 40, 0.92);
    --ta-border-subtle: rgba(255, 255, 255, 0.08);
    --ta-border-focus: rgba(241, 89, 43, 0.5);
    
    /* Brand & Functional Colors */
    --ta-primary: #f1592b;          /* mahocast Signature Coral Orange */
    --ta-primary-hover: #ff6f43;
    --ta-primary-soft: rgba(241, 89, 43, 0.12);
    --ta-success: #10b981;          /* Emerald Green */
    --ta-success-soft: rgba(16, 185, 129, 0.12);
    --ta-warning: #f59e0b;          /* Amber */
    --ta-warning-soft: rgba(245, 158, 11, 0.1);
    --ta-warning-border: rgba(245, 158, 11, 0.28);
    
    /* Text Hierarchy */
    --ta-text-primary: #ffffff;
    --ta-text-secondary: #9ca3af;
    --ta-text-tertiary: #6b7280;
    
    /* Radius & Elevation */
    --ta-radius-sm: 8px;
    --ta-radius-md: 12px;
    --ta-radius-card: 16px;
    --ta-radius-modal: 24px;
    --ta-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.18);
    --ta-shadow-card: 0 8px 24px -4px rgba(0, 0, 0, 0.35), 0 2px 6px rgba(0, 0, 0, 0.2);
    --ta-shadow-elevated: 0 20px 40px -10px rgba(0, 0, 0, 0.55), 0 0 1px rgba(255, 255, 255, 0.1);
    --ta-shadow-glow-primary: 0 0 20px rgba(241, 89, 43, 0.35);
    --ta-shadow-glow-success: 0 0 24px rgba(16, 185, 129, 0.45);
}

@keyframes ta-flash-success {
    0% { opacity: 0.4; filter: brightness(1); }
    30% { opacity: 1; filter: brightness(1.6); }
    100% { opacity: 1; filter: brightness(1); }
}

/* --------------------------------------------------------------------
   1) 상단 바 (#ta-top-bar) - Toss / Apple Dynamic Island 스타일 글래스 바
   -------------------------------------------------------------------- */
#ta-top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: none;
    width: 100%;
    background: var(--ta-bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--ta-border-subtle);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    font-family: var(--ta-font-sans);
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.2px;
}
#ta-top-bar.show {
    display: block;
}

.ta-bar-row {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* 우측 액션 버튼 (토스형 라운드 캡슐 CTA) */
.ta-bar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

#ta-top-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--ta-primary);
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 600;
    padding: 7px 16px;
    border: none;
    border-radius: 9999px;
    box-shadow: 0 2px 10px rgba(241, 89, 43, 0.35);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    user-select: none;
}
#ta-top-btn:hover {
    background: var(--ta-primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--ta-shadow-glow-primary);
}
#ta-top-btn:active {
    transform: translateY(0);
}
#ta-top-btn i.xi-coupon {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
}
#ta-top-btn-arrow {
    font-size: 10px;
    margin-left: 2px;
    opacity: 0.85;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
#ta-top-bar.open #ta-top-btn-arrow {
    transform: rotate(180deg);
}

/* --------------------------------------------------------------------
   2) 자바라 패널 (#accordion-drawer / .ta-panel)
   -------------------------------------------------------------------- */
.ta-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: var(--ta-bg-base);
    border-bottom: 1px solid var(--ta-border-subtle);
    box-shadow: var(--ta-shadow-elevated);
}
#ta-top-bar.open .ta-panel {
    max-height: 75vh;
}
.ta-panel-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 20px 24px;
    box-sizing: border-box;
}

/* 툴바: 헤더 + 멀티 셀렉트 컨트롤 */
.ta-panel-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--ta-border-subtle);
}
.ta-toolbar-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ta-text-secondary);
}
.ta-toolbar-controls {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ta-select-all-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--ta-text-secondary);
    cursor: pointer;
    user-select: none;
    transition: color 0.15s ease;
}
.ta-select-all-label:hover {
    color: var(--ta-text-primary);
}
.ta-select-all-label input {
    -webkit-appearance: auto;
    appearance: auto;
    width: 17px;
    height: 17px;
    border-radius: 5px;
    accent-color: var(--ta-primary);
    cursor: pointer;
}

/* 일괄 검표 버튼 (Toss 스타일 볼드 캡슐) */
.ta-btn-bulk {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--ta-primary);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 7px 16px;
    border: none;
    border-radius: 9999px;
    box-shadow: 0 2px 8px rgba(241, 89, 43, 0.3);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
}
.ta-btn-bulk:not(:disabled):hover {
    background: var(--ta-primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--ta-shadow-glow-primary);
}
.ta-btn-bulk:disabled {
    background: rgba(255, 255, 255, 0.06) !important;
    color: var(--ta-text-tertiary) !important;
    box-shadow: none !important;
    cursor: not-allowed;
    transform: none !important;
}

/* 티켓 목록 컨테이너 */
.ta-ticket-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 55vh;
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}
.ta-ticket-list::-webkit-scrollbar {
    width: 5px;
}
.ta-ticket-list::-webkit-scrollbar-track {
    background: transparent;
}
.ta-ticket-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 9999px;
}

/* --------------------------------------------------------------------
   2-1) 티켓 카드 (.ta-ticket-card) - 16px 둥근 모서리, 부드러운 엘리베이션
   -------------------------------------------------------------------- */
.ta-ticket-card {
    position: relative; /* 入場済 스탬프 오버레이(.ta-entered-stamp)의 배치 기준 */
    background: var(--ta-bg-surface);
    border: 1px solid var(--ta-border-subtle);
    border-radius: var(--ta-radius-card);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: var(--ta-shadow-card);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}
.ta-ticket-card:hover {
    background: var(--ta-bg-surface-elevated);
    border-color: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}
.ta-ticket-card.checked {
    background: rgba(241, 89, 43, 0.06);
    border-color: var(--ta-primary);
    box-shadow: 0 0 0 1px var(--ta-primary), var(--ta-shadow-card);
}

/* 검표 완료(入場済) 카드: 선택 불가 - hover 효과/포인터 제거, 썸네일만 살짝 침침하게 */
.ta-ticket-card.entered {
    cursor: default;
}
.ta-ticket-card.entered:hover {
    background: var(--ta-bg-surface);
    border-color: var(--ta-border-subtle);
    transform: none;
}
.ta-ticket-card.entered .ta-ticket-card-thumb {
    filter: grayscale(0.6) brightness(0.75);
}
/* 입장자 이름/좌석번호는 텍스트 정보를 그대로 알아볼 수 있도록 흐려지지 않게 유지한다 */

/* 入場済 스탬프 오버레이: 썸네일(좌측) 위에 비스듬히 찍힌 확인 도장 형태
   (일본어 고정 문구 - 다국어 미적용. 좌측 썸네일 쪽 끝에 밀착 배치해
    우측의 입장자 이름/좌석번호가 가려지지 않게 한다) */
.ta-entered-stamp {
    position: absolute;
    top: 50%;
    right: 10px; 
    transform: translateY(-50%) rotate(-20deg) scale(1.02); /* 비스듬히 기울여 찍힌 형태 */
    z-index: 3;
    pointer-events: none;
    color: #fe3e3a;
    opacity: 0.25; /* 잉크 반투명 (SVG 필터의 잉크 얼룩 마스크와 함께 도장 잉크 느낌) */
    /* 도장 질감: renewal_index.html 의 SVG 필터(테두리 흔들림+잉크 얼룩) + 가장자리 번짐 */
    filter: url(#ta-hanko-texture) drop-shadow(0 0 0.5px currentColor);
    font-family: 'Noto Serif JP', serif;
    -webkit-font-smoothing: antialiased;
    user-select: none;
}
.ta-entered-stamp .stamp-inner {
    border: 6.5px solid currentColor;
    border-radius: 8px; /* 문자열에 맞는 직사각형 도장 (고정 폭/높이 없이 텍스트가 크기를 결정) */
    padding: 9px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}
.ta-entered-stamp .stamp-text {
    font-size: 45px;
    font-weight: 900;
    letter-spacing: 2px;
    line-height: 1.1;
    white-space: nowrap; /* 텍스트 줄바꿈 방지 (한 줄 직사각형 유지) */
    display: block;
    text-indent: 2px; /* letter-spacing 으로 생기는 우측 여백 보정 */
}
@media (max-width: 480px) {
    .ta-entered-stamp .stamp-inner {
        border-width: 5px;
        padding: 10px 12px;
    }
    .ta-entered-stamp .stamp-text {
        font-size: 36px;
        letter-spacing: 1.5px;
    }
}

.ta-ticket-card-top {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

/* 티켓 체크박스 (썸네일 좌측 상단 코너 걸침 오버레이) */
.ta-ticket-card-chk {
    -webkit-appearance: auto;
    appearance: auto; /* reset.css 의 input appearance:none 해제 */
    position: absolute;
    top: -7px;
    left: -7px;
    z-index: 2;
    width: 19px;
    height: 19px;
    border-radius: 6px;
    accent-color: var(--ta-primary);
    cursor: pointer;
    box-shadow: var(--ta-shadow-sm);
}

/* 티켓 썸네일 포스터 */
.ta-ticket-card-thumb-wrap {
    position: relative;
    flex-shrink: 0;
}
.ta-ticket-card-thumb {
    width: 58px;
    height: 58px;
    border-radius: var(--ta-radius-md);
    object-fit: cover;
    border: 1px solid var(--ta-border-subtle);
    box-shadow: var(--ta-shadow-sm);
}

/* 티켓 텍스트 메타 정보 */
.ta-ticket-card-info {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.ta-ticket-card-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.ta-ticket-card-category {
    background: var(--ta-primary-soft);
    color: var(--ta-primary);
    border: 1px solid rgba(241, 89, 43, 0.25);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 6px;
    line-height: 1.3;
    letter-spacing: 0.2px;
}
.ta-ticket-card-orderno {
    color: var(--ta-text-tertiary);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 11px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ta-ticket-card-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ta-text-primary);
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ta-ticket-card-seat {
    font-size: 13px;
    font-weight: 700;
    color: #fbbf24;
    letter-spacing: -0.1px;
}
.ta-ticket-card-attendee {
    font-size: 11.5px;
    color: var(--ta-text-secondary);
    margin: 0;
}
.ta-ticket-card-attendee .name-bold {
    font-weight: 600;
    color: var(--ta-text-primary);
}
.ta-ticket-card-attendee .kana-muted {
    font-size: 10.5px;
    color: var(--ta-text-tertiary);
}

.ta-panel-msg {
    padding: 40px 0;
    text-align: center;
    font-size: 13px;
    color: var(--ta-text-secondary);
}

/* --------------------------------------------------------------------
   3) 검표 모달 (#ta-checkin-overlay) - Apple / Toss 바텀 시트 스타일
   -------------------------------------------------------------------- */
.ta-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    font-family: var(--ta-font-sans);
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.2px;
}
@media (min-width: 640px) {
    .ta-modal-overlay {
        align-items: center;
        padding: 20px;
    }
}
.ta-modal-overlay.show {
    display: flex;
}

/* 모달 카드 박스 (바텀 시트 & 센터 모달 전환) */
.ta-ci-box {
    position: relative;
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    background: var(--ta-bg-surface);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px 28px 0 0;
    overflow: hidden;
    box-shadow: var(--ta-shadow-elevated);
    display: flex;
    flex-direction: column;
}
@media (min-width: 640px) {
    .ta-ci-box {
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: var(--ta-radius-modal);
    }
}

/* 모달 헤더 */
.ta-ci-modal-header {
    padding: 16px 20px;
    background: var(--ta-bg-surface);
    border-bottom: 1px solid var(--ta-border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}
.ta-ci-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ta-ci-header-left i {
    color: var(--ta-primary);
    font-size: 16px;
}
.ta-ci-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--ta-text-primary);
    margin: 0;
    letter-spacing: -0.2px;
}
.ta-ci-close {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    color: var(--ta-text-secondary);
    font-size: 16px;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.ta-ci-close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--ta-text-primary);
}

/* 모달 바디 스크롤 영역 */
.ta-ci-modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1 1 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}
.ta-ci-modal-body::-webkit-scrollbar {
    width: 4px;
}
.ta-ci-modal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 9999px;
}

/* --------------------------------------------------------------------
   3-1) 검표 완료 스탬프 (Toss 승인 피드백 스타일)
   -------------------------------------------------------------------- */
.verified-stamp {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.6);
    background: rgba(18, 18, 26, 0.94);
    backdrop-filter: blur(16px);
    border: 2px solid var(--ta-success);
    color: var(--ta-success);
    border-radius: var(--ta-radius-modal);
    padding: 24px 32px;
    pointer-events: none;
    z-index: 50;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--ta-shadow-glow-success), var(--ta-shadow-elevated);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.verified-stamp.show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}
.verified-stamp-icon {
    font-size: 44px;
    color: var(--ta-success);
    margin-bottom: 8px;
}
.verified-stamp-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #ffffff;
}
.verified-stamp-sub {
    font-size: 10px;
    font-weight: 700;
    color: var(--ta-success);
    margin-top: 4px;
    letter-spacing: 1.5px;
}
.verified-stamp-time {
    font-size: 12px;
    font-family: ui-monospace, SFMono-Regular, monospace;
    font-weight: 700;
    color: var(--ta-text-primary);
    background: rgba(255, 255, 255, 0.08);
    padding: 4px 12px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 10px;
}

/* --------------------------------------------------------------------
   3-3) Apple Wallet Pass 형태의 제스쳐 검표 스텁 (.ticket-stub)
   -------------------------------------------------------------------- */
.ta-ci-stub-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ticket-stub {
    background: linear-gradient(145deg, #1e202c 0%, #151620 100%);
    position: relative;
    height: 136px;
    border-radius: var(--ta-radius-card);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    user-select: none;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), var(--ta-shadow-card);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    touch-action: none;
}

/* 티켓 스텁 양측의 미니멀 노치 컷아웃 */
.ticket-stub::before, .ticket-stub::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background-color: var(--ta-bg-surface);
    border-radius: 50%;
    z-index: 10;
    box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.5);
}
.ticket-stub::before { left: -7px; }
.ticket-stub::after { right: -7px; }

/* 0.2초 락 해제 완료 (모던 에메랄드 상태) */
.ticket-stub.unlocked {
    background: linear-gradient(145deg, #064e3b 0%, #022c22 100%) !important;
    border-color: var(--ta-success) !important;
    box-shadow: var(--ta-shadow-glow-success), var(--ta-shadow-elevated) !important;
}
.ticket-stub.animate-flash {
    animation: ta-flash-success 0.45s ease-out forwards;
}

/* 스텁 안내 텍스트 */
.ta-stub-instruction {
    position: absolute;
    inset: 12px 0 auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    pointer-events: none;
    z-index: 20;
    padding: 0 20px;
}

/* 스텁 경고 문구 (불가역 경고 - 사용자 필독) */
.ta-stub-warning-text {
    font-size: 13px;
    font-weight: 700;
    color: var(--ta-primary);
    line-height: 1.5;
    letter-spacing: -0.2px;
}

/* 터치 타겟 래퍼 */
.ta-touch-targets-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    z-index: 20;
    margin-top: 24px;
    transition: transform 0.08s ease-out;
}
.touch-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 22px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: relative;
    cursor: pointer;
}
.touch-circle.active {
    background: #ffffff;
    color: var(--ta-success);
    transform: scale(1.12);
    border-color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}
.touch-center-line {
    width: 28px;
    border-top: 2px dashed rgba(255, 255, 255, 0.25);
}
.ticket-stub.unlocked .touch-center-line {
    border-color: rgba(110, 231, 183, 0.6);
}

/* --------------------------------------------------------------------
   3-4) 모달 내 티켓 상세 정보 섹션
   -------------------------------------------------------------------- */
.ta-ci-info-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ta-ci-info-head {
    font-size: 12px;
    font-weight: 700;
    color: var(--ta-text-secondary);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ta-count-badge {
    font-size: 11px;
    color: var(--ta-primary);
    font-weight: 600;
}
.ta-ci-info-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 250px;
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}
.ta-ci-info-list::-webkit-scrollbar {
    width: 4px;
}
.ta-ci-info-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 9999px;
}

.ta-modal-ticket-item {
    background: var(--ta-bg-base);
    border: 1px solid var(--ta-border-subtle);
    border-radius: var(--ta-radius-md);
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.ta-m-ticket-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ta-m-ticket-cat {
    background: var(--ta-primary-soft);
    color: var(--ta-primary);
    border: 1px solid rgba(241, 89, 43, 0.25);
    font-size: 9.5px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}
.ta-m-ticket-order {
    font-size: 10px;
    color: var(--ta-text-tertiary);
    font-family: ui-monospace, monospace;
}
.ta-m-ticket-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--ta-text-primary);
    line-height: 1.35;
}
.ta-m-ticket-seat {
    font-size: 12.5px;
    font-weight: 700;
    color: #fbbf24;
}
.ta-m-ticket-attendee {
    font-size: 11px;
    color: var(--ta-text-secondary);
    margin: 0;
}

.ta-ci-notouch {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--ta-radius-sm);
    padding: 10px;
    font-size: 12px;
    color: #fca5a5;
    text-align: center;
    display: none;
}
.ta-ci-notouch.show {
    display: block;
}

/* --------------------------------------------------------------------
   4) 기존 헤더 밀어내기 부드러운 트랜지션
   -------------------------------------------------------------------- */
#header {
    transition: top 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.container.main.main-renewal {
    transition: padding-top 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
