@charset "UTF-8";
/**
 * TICKETNARA 공통 컴포넌트 스타일
 * @description 재사용 가능한 UI 컴포넌트 스타일 모음
 * @author Frontend Team
 */
:root {
  --tn-primary: var(--primary-color, #00704A);
  --tn-primary-dark: var(--secondary-color, #2D5A2E);
  --tn-secondary: var(--accent-color, #CBA258);
  --tn-secondary-light: color-mix(in srgb, var(--accent-color, #CBA258) 70%, white);
  --tn-text-primary: var(--text-color, #1a1a1a);
  --tn-text-secondary: var(--text-color, #333333);
  --tn-text-muted: var(--text-color-muted, #666666);
  --tn-text-light: var(--icon-color, #888888);
  --tn-bg-primary: var(--bg-color, #ffffff);
  --tn-bg-secondary: var(--bg-color-secondary, #f8f9fa);
  --tn-bg-hover: var(--bg-color-secondary, #e9ecef);
  --tn-border-color: var(--border-color, #e5e5e5);
  --tn-spacing-xs: 4px;
  --tn-spacing-sm: 8px;
  --tn-spacing-md: 12px;
  --tn-spacing-lg: 16px;
  --tn-spacing-xl: 20px;
  --tn-font-xs: 10px;
  --tn-font-sm: 12px;
  --tn-font-md: 14px;
  --tn-font-lg: 16px;
  --tn-font-xl: 18px;
  --tn-font-xxl: 22px;
  --tn-radius-sm: 4px;
  --tn-radius-md: 8px;
  --tn-radius-lg: 12px;
  --tn-radius-xl: 20px;
  --tn-radius-round: 50%;
  --tn-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --tn-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --tn-shadow-lg: 0 6px 16px rgba(0, 0, 0, 0.12);
  --tn-transition-fast: 0.2s ease;
  --tn-transition-normal: 0.3s ease;
}

.tn-section {
  padding: var(--tn-spacing-xl) var(--tn-spacing-lg);
  background: var(--tn-bg-primary);
  margin-bottom: var(--tn-spacing-sm);
}
.tn-section__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--tn-spacing-lg);
}
.tn-section__title {
  font-size: var(--tn-font-xl);
  font-weight: 700;
  color: var(--tn-text-primary);
  margin: 0;
}
.tn-section__more {
  font-size: 13px;
  color: var(--tn-text-light);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--tn-spacing-xs);
}
.tn-section__more i {
  font-size: var(--tn-font-xs);
}
.tn-section--special-event, .tn-section--news, .tn-section--faq, .tn-section--recommend, .tn-section--popular {
  background: var(--tn-bg-primary);
}

.tn-hero-slider {
  position: relative;
  overflow: hidden;
  margin-top: 0;
}
.tn-hero-slider__wrapper {
  position: relative;
}
.tn-hero-slider__track {
  display: flex;
  transition: transform var(--tn-transition-normal);
}
.tn-hero-slider__slide {
  min-width: 100%;
  padding: 32px var(--tn-spacing-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 180px;
  box-sizing: border-box;
  position: relative;
}
.tn-hero-slider__slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%);
  pointer-events: none;
  z-index: 0;
}
.tn-hero-slider__slide--has-image {
  min-height: 400px !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  padding: 0 !important;
}
.tn-hero-slider__slide--has-image::before {
  display: none;
}
.tn-hero-slider__slide--dark {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}
.tn-hero-slider__slide--primary {
  background: linear-gradient(135deg, var(--primary-color, #667eea) 0%, var(--secondary-color, #764ba2) 100%);
}
.tn-hero-slider__slide--accent {
  background: linear-gradient(135deg, var(--accent-color, #CBA258) 0%, color-mix(in srgb, var(--accent-color, #CBA258) 70%, white) 100%);
}
.tn-hero-slider__content {
  flex: 1;
  color: #ffffff;
  position: relative;
  z-index: 1;
}
.tn-hero-slider__badge {
  display: inline-block;
  padding: var(--tn-spacing-xs) 10px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--tn-radius-lg);
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 10px;
}
.tn-hero-slider__title {
  font-size: var(--tn-font-xxl);
  font-weight: 700;
  margin: 0 0 var(--tn-spacing-sm) 0;
  line-height: 1.3;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.tn-hero-slider__desc {
  font-size: var(--tn-font-md);
  opacity: 0.9;
  margin: 0 0 var(--tn-spacing-lg) 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tn-hero-slider__btn {
  display: inline-block;
  padding: 10px var(--tn-spacing-xl);
  background: var(--bg-color, #ffffff);
  color: var(--text-color, #333333) !important;
  text-decoration: none;
  border-radius: var(--tn-radius-xl);
  font-size: 13px;
  font-weight: 600;
  transition: transform var(--tn-transition-fast);
}
.tn-hero-slider__btn:hover {
  transform: scale(1.05);
}
.tn-hero-slider__image {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--tn-radius-round);
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.tn-hero-slider__image i {
  font-size: 32px;
  color: #ffffff;
}
.tn-hero-slider__indicators {
  position: absolute;
  bottom: var(--tn-spacing-md);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.tn-hero-slider__dot {
  width: var(--tn-spacing-sm);
  height: var(--tn-spacing-sm);
  border-radius: var(--tn-radius-round);
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all var(--tn-transition-fast);
}
.tn-hero-slider__dot.is-active {
  background: var(--bg-color, #ffffff);
  width: var(--tn-spacing-xl);
  border-radius: var(--tn-radius-sm);
}

.tn-event-cards {
  display: flex;
  gap: var(--tn-spacing-md);
  overflow-x: auto;
  padding-bottom: var(--tn-spacing-xs);
  scrollbar-width: none;
}
.tn-event-cards::-webkit-scrollbar {
  display: none;
}

.tn-event-card {
  position: relative;
  min-width: calc(50% - 6px);
  padding: var(--tn-spacing-xl) var(--tn-spacing-lg);
  border-radius: var(--tn-radius-lg);
  overflow: hidden;
  flex-shrink: 0;
}
.tn-event-card__content {
  position: relative;
  z-index: 1;
  color: #ffffff;
}
.tn-event-card__badge {
  display: inline-block;
  padding: 3px var(--tn-spacing-sm);
  background: rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  font-size: var(--tn-font-xs);
  font-weight: 600;
  margin-bottom: var(--tn-spacing-sm);
}
.tn-event-card__title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 var(--tn-spacing-xs) 0;
}
.tn-event-card__desc {
  font-size: var(--tn-font-sm);
  opacity: 0.9;
  margin: 0;
}
.tn-event-card__link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
}
.tn-event-card--primary {
  background: linear-gradient(135deg, var(--primary-color, #667eea) 0%, var(--secondary-color, #764ba2) 100%);
}
.tn-event-card--accent {
  background: linear-gradient(135deg, var(--accent-color, #f093fb) 0%, color-mix(in srgb, var(--accent-color, #f093fb) 70%, var(--danger-color, #f5576c)) 100%);
}
.tn-event-card--success {
  background: linear-gradient(135deg, var(--success-color, #22c55e) 0%, color-mix(in srgb, var(--success-color, #22c55e) 70%, #16a34a) 100%);
}
.tn-event-card--warning {
  background: linear-gradient(135deg, var(--warning-color, #f59e0b) 0%, color-mix(in srgb, var(--warning-color, #f59e0b) 70%, #d97706) 100%);
}

.tn-event-coupon-list {
  display: flex;
  flex-direction: column;
  gap: var(--tn-spacing-md);
  padding: 0 var(--tn-spacing-lg);
}

.tn-event-coupon {
  display: flex;
  align-items: center;
  background: var(--tn-bg-primary);
  border-radius: var(--tn-radius-lg);
  overflow: hidden;
  box-shadow: var(--tn-shadow-sm);
  position: relative;
  text-decoration: none;
  color: var(--tn-text-secondary);
  transition: transform var(--tn-transition-fast), box-shadow var(--tn-transition-fast);
}
.tn-event-coupon:hover {
  transform: translateY(-2px);
  box-shadow: var(--tn-shadow-md);
}
.tn-event-coupon::before, .tn-event-coupon::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--tn-bg-secondary);
  border-radius: var(--tn-radius-round);
  top: 50%;
  transform: translateY(-50%);
}
.tn-event-coupon::before {
  left: -8px;
}
.tn-event-coupon::after {
  right: -8px;
}
.tn-event-coupon__left {
  flex: 1;
  padding: var(--tn-spacing-lg) var(--tn-spacing-xl);
  border-right: 1px dashed var(--tn-border-color);
}
.tn-event-coupon__badge {
  display: inline-block;
  padding: 3px var(--tn-spacing-sm);
  background: var(--tn-primary);
  color: #ffffff;
  font-size: var(--tn-font-xs);
  font-weight: 700;
  border-radius: var(--tn-radius-sm);
  margin-bottom: var(--tn-spacing-sm);
}
.tn-event-coupon__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--tn-text-primary);
  margin: 0 0 var(--tn-spacing-xs) 0;
}
.tn-event-coupon__desc {
  font-size: var(--tn-font-sm);
  color: var(--tn-text-muted);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tn-event-coupon__right {
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tn-text-light);
  font-size: var(--tn-font-xl);
}
.tn-event-coupon--accent .tn-event-coupon__badge {
  background: var(--tn-secondary);
}
.tn-event-coupon--gold .tn-event-coupon__badge {
  background: linear-gradient(135deg, #CBA258 0%, #D4AF37 100%);
}

.tn-news-list {
  display: flex;
  flex-direction: column;
  gap: var(--tn-spacing-md);
}

.tn-news-item {
  display: flex;
  align-items: center;
  gap: var(--tn-spacing-md);
  padding: var(--tn-spacing-md);
  background: var(--tn-bg-secondary);
  border-radius: var(--tn-radius-md);
  text-decoration: none;
  color: var(--tn-text-secondary);
  transition: background var(--tn-transition-fast);
}
.tn-news-item:hover {
  background: var(--tn-bg-hover);
}
.tn-news-item__badge {
  padding: var(--tn-spacing-xs) var(--tn-spacing-sm);
  background: var(--tn-primary);
  color: #ffffff;
  border-radius: var(--tn-radius-sm);
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
}
.tn-news-item__title {
  flex: 1;
  font-size: var(--tn-font-md);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tn-news-item__date {
  font-size: var(--tn-font-sm);
  color: var(--tn-text-light);
  flex-shrink: 0;
}

.tn-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tn-faq-item {
  border-bottom: 1px solid var(--tn-border-color);
}
.tn-faq-item:last-child {
  border-bottom: none;
}

.tn-faq-question {
  display: flex;
  align-items: center;
  padding: var(--tn-spacing-lg) 0;
  cursor: pointer;
  gap: var(--tn-spacing-md);
}

.tn-faq-q {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tn-primary);
  color: #ffffff;
  border-radius: var(--tn-radius-round);
  font-size: var(--tn-font-md);
  font-weight: 700;
  flex-shrink: 0;
}

.tn-faq-title {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
  color: var(--tn-text-primary);
  line-height: 1.4;
}

.tn-faq-arrow {
  color: var(--tn-text-light);
  font-size: var(--tn-font-sm);
  transition: transform var(--tn-transition-fast);
  flex-shrink: 0;
}
.tn-faq-arrow.is-open {
  transform: rotate(180deg);
}

.tn-faq-answer {
  display: none;
  padding: 0 0 var(--tn-spacing-lg) 0;
}

.tn-faq-answer-inner {
  display: flex;
  align-items: flex-start;
  gap: var(--tn-spacing-md);
}

.tn-faq-a {
  width: 28px;
  height: 28px;
  min-width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tn-secondary);
  color: #ffffff;
  border-radius: var(--tn-radius-round);
  font-size: var(--tn-font-md);
  font-weight: 700;
  flex-shrink: 0;
}

.tn-faq-content {
  flex: 1;
  font-size: var(--tn-font-md);
  color: var(--text-color-muted);
  line-height: 1.6;
}
.tn-faq-content p {
  margin: 0 0 var(--tn-spacing-sm) 0;
}
.tn-faq-content p:last-child {
  margin-bottom: 0;
}

.tn-category-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--tn-spacing-lg);
}

.tn-category-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}
.tn-category-icon__circle {
  width: 56px;
  height: 56px;
  border-radius: var(--tn-radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--tn-spacing-sm);
  transition: transform var(--tn-transition-fast);
}
.tn-category-icon__circle i {
  font-size: var(--tn-font-xxl);
}
.tn-category-icon:hover .tn-category-icon__circle {
  transform: scale(1.1);
}
.tn-category-icon__text {
  font-size: var(--tn-font-sm);
  color: var(--tn-text-secondary);
  font-weight: 500;
}

.tn-product-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--tn-spacing-md);
}

.tn-product-card {
  background: var(--tn-bg-primary);
  border: 1px solid var(--tn-border-color);
  border-radius: var(--tn-radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--tn-text-secondary);
  transition: box-shadow var(--tn-transition-fast);
}
.tn-product-card:hover {
  box-shadow: var(--tn-shadow-md);
}
.tn-product-card__image {
  position: relative;
  width: 100%;
  height: 120px;
  background: var(--bg-color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tn-product-card__image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.tn-product-card__image i {
  font-size: 40px;
  color: var(--text-color-muted);
}
.tn-product-card__badge {
  position: absolute;
  top: var(--tn-spacing-sm);
  left: var(--tn-spacing-sm);
  background: linear-gradient(135deg, var(--tn-secondary) 0%, var(--tn-secondary-light) 100%);
  color: #ffffff;
  font-size: var(--tn-font-xs);
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--tn-radius-sm);
  z-index: 1;
}
.tn-product-card__info {
  padding: var(--tn-spacing-md);
}
.tn-product-card__name {
  font-size: 13px;
  font-weight: 500;
  margin: 0 0 var(--tn-spacing-xs) 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tn-product-card__price {
  font-size: 15px;
  font-weight: 700;
  color: var(--tn-primary);
  margin: 0;
}
.tn-product-card__discount {
  font-size: var(--tn-font-sm);
  color: #ff5722;
  font-weight: 600;
  margin-right: var(--tn-spacing-xs);
}

.tn-loading {
  text-align: center;
  padding: 40px var(--tn-spacing-xl);
  color: var(--tn-text-light);
  font-size: var(--tn-font-md);
}
.tn-loading i {
  margin-right: var(--tn-spacing-sm);
}

.tn-empty {
  text-align: center;
  padding: 40px var(--tn-spacing-xl);
  color: var(--tn-text-light);
  font-size: var(--tn-font-md);
}

.tn-floating-btn {
  position: fixed;
  bottom: 80px;
  right: var(--tn-spacing-lg);
  z-index: 900;
  transition: opacity var(--tn-transition-fast);
}
.webview-body .tn-floating-btn {
  bottom: calc(var(--webview-tabbar-height, 56px) + env(safe-area-inset-bottom, 0px) + 16px);
}
.tn-floating-btn__link {
  display: flex;
  align-items: center;
  gap: var(--tn-spacing-sm);
  padding: var(--tn-spacing-md) var(--tn-spacing-xl);
  background: linear-gradient(135deg, var(--tn-primary) 0%, var(--tn-primary-dark) 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 25px;
  box-shadow: 0 4px 12px rgba(0, 112, 74, 0.4);
  font-size: var(--tn-font-md);
  font-weight: 600;
  transition: transform var(--tn-transition-fast), box-shadow var(--tn-transition-fast);
}
.tn-floating-btn__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 112, 74, 0.5);
}
.tn-floating-btn__icon {
  font-size: var(--tn-font-lg);
}
.tn-floating-btn__text {
  white-space: nowrap;
}

.tn-tips-slider {
  overflow-x: auto;
  margin: 0 calc(var(--tn-spacing-lg) * -1);
  padding: 0 var(--tn-spacing-lg);
  scrollbar-width: none;
}
.tn-tips-slider::-webkit-scrollbar {
  display: none;
}
.tn-tips-slider__track {
  display: flex;
  gap: var(--tn-spacing-md);
}

.tn-tip-card {
  position: relative;
  min-width: 200px;
  padding: var(--tn-spacing-lg);
  background: var(--tn-bg-secondary);
  border-radius: var(--tn-radius-lg);
  flex-shrink: 0;
  cursor: pointer;
  transition: box-shadow var(--tn-transition-fast), transform var(--tn-transition-fast);
}
.tn-tip-card:hover {
  box-shadow: var(--tn-shadow-md);
  transform: translateY(-2px);
}
.tn-tip-card__link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}
.tn-tip-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--tn-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--tn-spacing-md);
}
.tn-tip-card__icon i {
  font-size: var(--tn-spacing-xl);
}
.tn-tip-card__title {
  font-size: var(--tn-font-md);
  font-weight: 600;
  color: var(--tn-text-primary);
  margin: 0 0 6px 0;
}
.tn-tip-card__desc {
  font-size: var(--tn-font-sm);
  color: var(--tn-text-muted);
  margin: 0;
  line-height: 1.4;
}

.tn-page--home {
  padding-bottom: 0;
  background: var(--tn-bg-secondary);
}

.tn-bottom-spacer {
  height: var(--tn-spacing-xl);
}

.tn-page {
  min-height: calc(var(--vh, 1vh) * 100);
  background: var(--tn-bg-secondary);
  padding-bottom: 0;
  box-sizing: border-box;
  max-width: 720px;
  margin: 0 auto;
}
.tn-page--detail {
  background: var(--tn-bg-primary);
}
.tn-page--no-tabbar {
  padding-bottom: 0;
}

.tn-page-header {
  position: relative;
  height: 44px;
  background: var(--tn-bg-primary);
  border-bottom: 1px solid var(--tn-border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--tn-spacing-lg);
  z-index: 1000;
  box-sizing: border-box;
}
.tn-page-header--back {
  justify-content: space-between;
}
.tn-page-header--transparent {
  background: transparent;
  border-bottom: none;
}
.tn-page-header__back {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--tn-text-primary);
  font-size: var(--tn-font-xl);
  padding: 0;
  margin-left: calc(var(--tn-spacing-sm) * -1);
  transition: opacity var(--tn-transition-fast);
}
.tn-page-header__back:hover {
  opacity: 0.7;
}
.tn-page-header__back:active {
  opacity: 0.5;
}
.tn-page-header__title {
  font-size: var(--tn-font-lg);
  font-weight: 600;
  color: var(--tn-text-primary);
  margin: 0;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60%;
}
.tn-page-header--back .tn-page-header__title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.tn-page-header__right {
  display: flex;
  align-items: center;
  gap: var(--tn-spacing-xs);
}
.tn-page-header__right button,
.tn-page-header__right a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--tn-text-primary);
  font-size: var(--tn-font-xl);
  text-decoration: none;
  transition: opacity var(--tn-transition-fast);
}
.tn-page-header__right button:hover,
.tn-page-header__right a:hover {
  opacity: 0.7;
}
.site-TICKETNARA .tn-page-header {
  top: calc(var(--tn-banner-height, 120px) + var(--tn-quickmenu-height, 64px));
}

.tn-detail-wrapper {
  padding: var(--tn-spacing-xl) var(--tn-spacing-lg);
  background: var(--tn-bg-primary);
}

.tn-detail-header {
  margin-bottom: var(--tn-spacing-xl);
  padding-bottom: var(--tn-spacing-lg);
  border-bottom: 1px solid var(--tn-border-color);
}
.tn-detail-header__category {
  display: inline-block;
  padding: var(--tn-spacing-xs) var(--tn-spacing-sm);
  background: var(--tn-primary);
  color: #ffffff;
  border-radius: var(--tn-radius-sm);
  font-size: 11px;
  font-weight: 600;
  margin-bottom: var(--tn-spacing-sm);
}
.tn-detail-header__title {
  font-size: var(--tn-font-xl);
  font-weight: 700;
  color: var(--tn-text-primary);
  margin: 0 0 var(--tn-spacing-md) 0;
  line-height: 1.4;
}
.tn-detail-header__meta {
  display: flex;
  align-items: center;
  gap: var(--tn-spacing-md);
  font-size: var(--tn-font-sm);
  color: var(--tn-text-light);
}
.tn-detail-header__date {
  display: flex;
  align-items: center;
  gap: var(--tn-spacing-xs);
}
.tn-detail-header__date i {
  font-size: var(--tn-font-sm);
}
.tn-detail-header__views {
  display: flex;
  align-items: center;
  gap: var(--tn-spacing-xs);
}
.tn-detail-header__views i {
  font-size: var(--tn-font-sm);
}
.tn-detail-header__divider {
  width: 1px;
  height: 12px;
  background: var(--tn-border-color);
}

.tn-detail-body {
  font-size: var(--tn-font-md);
  color: var(--tn-text-secondary);
  line-height: 1.7;
}
.tn-detail-body p {
  margin: 0 0 var(--tn-spacing-lg) 0;
}
.tn-detail-body p:last-child {
  margin-bottom: 0;
}
.tn-detail-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--tn-radius-md);
  margin: var(--tn-spacing-lg) 0;
}
.tn-detail-body h1, .tn-detail-body h2, .tn-detail-body h3, .tn-detail-body h4, .tn-detail-body h5, .tn-detail-body h6 {
  color: var(--tn-text-primary);
  margin: var(--tn-spacing-xl) 0 var(--tn-spacing-md) 0;
}
.tn-detail-body h1:first-child, .tn-detail-body h2:first-child, .tn-detail-body h3:first-child, .tn-detail-body h4:first-child, .tn-detail-body h5:first-child, .tn-detail-body h6:first-child {
  margin-top: 0;
}
.tn-detail-body ul, .tn-detail-body ol {
  padding-left: var(--tn-spacing-xl);
  margin: 0 0 var(--tn-spacing-lg) 0;
}
.tn-detail-body ul li, .tn-detail-body ol li {
  margin-bottom: var(--tn-spacing-sm);
}
.tn-detail-body a {
  color: var(--tn-primary);
  text-decoration: underline;
}
.tn-detail-body blockquote {
  margin: var(--tn-spacing-lg) 0;
  padding: var(--tn-spacing-lg);
  background: var(--tn-bg-secondary);
  border-left: 4px solid var(--tn-primary);
  border-radius: 0 var(--tn-radius-md) var(--tn-radius-md) 0;
}
.tn-detail-body blockquote p:last-child {
  margin-bottom: 0;
}
.tn-detail-body table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--tn-spacing-lg) 0;
}
.tn-detail-body table th, .tn-detail-body table td {
  padding: var(--tn-spacing-md);
  border: 1px solid var(--tn-border-color);
  text-align: left;
}
.tn-detail-body table th {
  background: var(--tn-bg-secondary);
  font-weight: 600;
}

.tn-detail-footer {
  margin-top: var(--tn-spacing-xl);
  padding-top: var(--tn-spacing-xl);
  border-top: 1px solid var(--tn-border-color);
}
.tn-detail-footer__nav {
  display: flex;
  flex-direction: column;
  gap: var(--tn-spacing-md);
}
.tn-detail-footer__nav-item {
  display: flex;
  align-items: center;
  padding: var(--tn-spacing-md);
  background: var(--tn-bg-secondary);
  border-radius: var(--tn-radius-md);
  text-decoration: none;
  color: var(--tn-text-secondary);
  transition: background var(--tn-transition-fast);
}
.tn-detail-footer__nav-item:hover {
  background: var(--tn-bg-hover);
}
.tn-detail-footer__nav-item--prev i {
  margin-right: var(--tn-spacing-sm);
}
.tn-detail-footer__nav-item--next i {
  margin-left: var(--tn-spacing-sm);
}
.tn-detail-footer__nav-label {
  font-size: var(--tn-font-sm);
  color: var(--tn-text-light);
  margin-bottom: 2px;
}
.tn-detail-footer__nav-title {
  font-size: var(--tn-font-md);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tn-detail-footer__actions {
  display: flex;
  gap: var(--tn-spacing-md);
  margin-top: var(--tn-spacing-xl);
}

.tn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--tn-spacing-sm);
  padding: var(--tn-spacing-md) var(--tn-spacing-xl);
  font-size: var(--tn-font-md);
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: var(--tn-radius-md);
  cursor: pointer;
  transition: all var(--tn-transition-fast);
  box-sizing: border-box;
  background: var(--tn-bg-secondary);
  color: var(--tn-text-secondary);
}
.tn-btn:hover {
  background: var(--tn-bg-hover);
}
.tn-btn:active {
  transform: scale(0.98);
}
.tn-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.tn-btn--primary {
  background: var(--tn-primary);
  color: #ffffff;
}
.tn-btn--primary:hover {
  background: var(--tn-primary-dark);
}
.tn-btn--secondary {
  background: var(--tn-secondary);
  color: #ffffff;
}
.tn-btn--secondary:hover {
  filter: brightness(0.9);
}
.tn-btn--outline {
  background: transparent;
  border: 1px solid var(--tn-border-color);
  color: var(--tn-text-secondary);
}
.tn-btn--outline:hover {
  background: var(--tn-bg-secondary);
}
.tn-btn--outline-primary {
  background: transparent;
  border: 1px solid var(--tn-primary);
  color: var(--tn-primary);
}
.tn-btn--outline-primary:hover {
  background: rgba(0, 112, 74, 0.1);
}
.tn-btn--block {
  display: flex;
  width: 100%;
}
.tn-btn--fab {
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: var(--tn-radius-round);
  box-shadow: var(--tn-shadow-lg);
}
.tn-btn--fab i {
  font-size: var(--tn-font-xxl);
}
.tn-btn--fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.tn-btn--sm {
  padding: var(--tn-spacing-sm) var(--tn-spacing-md);
  font-size: var(--tn-font-sm);
  border-radius: var(--tn-radius-sm);
}
.tn-btn--lg {
  padding: var(--tn-spacing-lg) var(--tn-spacing-xl);
  font-size: var(--tn-font-lg);
  border-radius: var(--tn-radius-lg);
}
.tn-btn--icon {
  width: 40px;
  height: 40px;
  padding: 0;
}
.tn-btn--icon i {
  font-size: var(--tn-font-lg);
}
.tn-btn--text {
  background: transparent;
  padding: var(--tn-spacing-sm);
  color: var(--tn-primary);
}
.tn-btn--text:hover {
  background: rgba(0, 112, 74, 0.1);
}
.tn-btn-group {
  display: flex;
  gap: var(--tn-spacing-sm);
}
.tn-btn-group--vertical {
  flex-direction: column;
}

.tn-page--board {
  background: var(--tn-bg-secondary);
}

.tn-board-list {
  padding: var(--tn-spacing-md);
  display: flex;
  flex-direction: column;
  gap: var(--tn-spacing-md);
}

.tn-board-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: var(--tn-spacing-lg) var(--tn-spacing-md);
  background: var(--tn-bg-primary);
  border-radius: var(--tn-radius-lg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--tn-border-color);
  text-decoration: none;
  color: var(--tn-text-secondary);
  transition: all var(--tn-transition-fast);
  position: relative;
}
.tn-board-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: var(--tn-primary);
  background: var(--bg-color-secondary);
}
.tn-board-item:active {
  transform: scale(0.99);
}
.tn-board-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  background: var(--tn-primary);
  border-radius: 0 2px 2px 0;
  opacity: 0;
  transition: opacity var(--tn-transition-fast);
}
.tn-board-item:hover::before {
  opacity: 1;
}
.tn-board-item__content {
  flex: 1;
  min-width: 0;
  padding: var(--tn-spacing-sm) 0;
}
.tn-board-item__header {
  display: flex;
  align-items: center;
  gap: var(--tn-spacing-sm);
  margin-bottom: 6px;
}
.tn-board-item__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  background: var(--tn-primary);
  color: #ffffff;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 600;
  flex-shrink: 0;
  letter-spacing: -0.3px;
}
.tn-board-item__badge--answer {
  background: var(--tn-primary);
}
.tn-board-item__badge--wait {
  background: #adb5bd;
}
.tn-board-item__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--tn-text-primary);
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.tn-board-item__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: var(--tn-text-secondary);
  margin-top: 4px;
}
.tn-board-item__date, .tn-board-item__views {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tn-board-item__date i, .tn-board-item__views i {
  font-size: 13px;
  color: var(--tn-primary);
}
.tn-board-item__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #ced4da;
  font-size: 14px;
  flex-shrink: 0;
  margin-left: var(--tn-spacing-sm);
  transition: color var(--tn-transition-fast), transform var(--tn-transition-fast);
}
.tn-board-item:hover .tn-board-item__arrow {
  color: var(--tn-primary);
  transform: translateX(2px);
}
.tn-board-item--notice .tn-board-item__title::before {
  content: "[공지]";
  color: var(--tn-primary);
  font-weight: 600;
  margin-right: var(--tn-spacing-xs);
}

.tn-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px var(--tn-spacing-xl);
}
.tn-loading__spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--tn-border-color);
  border-top-color: var(--tn-primary);
  border-radius: var(--tn-radius-round);
  animation: tn-spin 0.8s linear infinite;
  margin-bottom: var(--tn-spacing-md);
}
.tn-loading__text {
  font-size: var(--tn-font-md);
  color: var(--tn-text-light);
  margin: 0;
}

@keyframes tn-spin {
  to {
    transform: rotate(360deg);
  }
}
.tn-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px var(--tn-spacing-xl);
}
.tn-empty__icon {
  font-size: 48px;
  color: #ddd;
  margin-bottom: var(--tn-spacing-lg);
}
.tn-empty__text {
  font-size: var(--tn-font-md);
  color: var(--tn-text-light);
  margin: 0;
  text-align: center;
}
.tn-empty__btn {
  margin-top: var(--tn-spacing-xl);
}

.tn-board-fab {
  position: fixed;
  bottom: 80px;
  right: var(--tn-spacing-lg);
  z-index: 100;
}
.webview-body .tn-board-fab {
  bottom: calc(var(--webview-tabbar-height, 56px) + env(safe-area-inset-bottom, 0px) + 16px);
}
.tn-board-fab .tn-btn--fab {
  display: flex;
  align-items: center;
  gap: var(--tn-spacing-sm);
  padding: var(--tn-spacing-md) var(--tn-spacing-xl);
  border-radius: 25px;
  width: auto;
  height: auto;
}
.tn-board-fab .tn-btn--fab i {
  font-size: var(--tn-font-md);
}
.tn-board-fab .tn-btn--fab span {
  font-size: var(--tn-font-md);
  font-weight: 600;
}

.tn-faq-item__question {
  display: flex;
  align-items: center;
  padding: var(--tn-spacing-lg);
  cursor: pointer;
  gap: var(--tn-spacing-md);
  background: var(--tn-bg-primary);
  border-bottom: 1px solid var(--tn-border-color);
  transition: background var(--tn-transition-fast);
}
.tn-faq-item__question:hover {
  background: var(--tn-bg-secondary);
}
.tn-faq-item__q-badge {
  width: 28px;
  height: 28px;
  min-width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tn-primary);
  color: #ffffff;
  border-radius: var(--tn-radius-round);
  font-size: var(--tn-font-md);
  font-weight: 700;
}
.tn-faq-item__title {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
  color: var(--tn-text-primary);
  line-height: 1.4;
}
.tn-faq-item__arrow {
  color: var(--tn-text-light);
  font-size: var(--tn-font-sm);
  transition: transform var(--tn-transition-fast);
}
.tn-faq-item__answer {
  display: none;
  padding: var(--tn-spacing-lg);
  background: var(--tn-bg-secondary);
  border-bottom: 1px solid var(--tn-border-color);
}
.tn-faq-item__a-badge {
  width: 28px;
  height: 28px;
  min-width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tn-secondary);
  color: #ffffff;
  border-radius: var(--tn-radius-round);
  font-size: var(--tn-font-md);
  font-weight: 700;
  margin-right: var(--tn-spacing-md);
  float: left;
}
.tn-faq-item__content {
  font-size: var(--tn-font-md);
  color: var(--text-color-muted);
  line-height: 1.6;
  overflow: hidden;
}
.tn-faq-item.is-open .tn-faq-item__arrow,
.tn-faq-item.is-open .tn-faq-arrow {
  transform: rotate(180deg);
}

.site-TICKETNARA.webview-body .webview-tabbar {
  background: var(--tabbar-bg, #F9F9F8);
  border-top: 1px solid var(--tabbar-border, #e5e3df);
  box-shadow: 0 -1px 8px rgba(0, 0, 0, 0.06);
  height: 64px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  align-items: flex-end;
}
.site-TICKETNARA.webview-body .webview-tabbar .webview-tabbar__item {
  color: var(--icon-color, #1a1816);
  padding: 8px 0 8px;
}
.site-TICKETNARA.webview-body .webview-tabbar .webview-tabbar__item.active {
  color: var(--icon-color, #1a1816);
}
.site-TICKETNARA.webview-body .webview-tabbar .webview-tabbar__item.active::before {
  display: none;
}
.site-TICKETNARA.webview-body .webview-tabbar .webview-tabbar__item.active .webview-tabbar__icon {
  transform: none;
}
.site-TICKETNARA.webview-body .webview-tabbar .webview-tabbar__item.active .webview-tabbar__icon i {
  font-weight: 400;
}
.site-TICKETNARA.webview-body .webview-tabbar .webview-tabbar__item.active .webview-tabbar__label {
  font-weight: 500;
}
.site-TICKETNARA.webview-body .webview-tabbar .webview-tabbar__item:nth-child(3) {
  padding: 0;
  align-self: center;
}
.site-TICKETNARA.webview-body .webview-tabbar .webview-tabbar__item:nth-child(3) .webview-tabbar__icon {
  width: 75px;
  padding: 12px 0;
  background: linear-gradient(161deg, #801D1D 0%, #1A0606 100%);
  box-shadow: 0px 0px 4px rgba(128, 29, 29, 0.6);
  border-radius: 24px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.site-TICKETNARA.webview-body .webview-tabbar .webview-tabbar__item:nth-child(3) .webview-tabbar__icon i {
  color: #F9F9F8 !important;
  font-size: 24px;
}
.site-TICKETNARA.webview-body .webview-tabbar .webview-tabbar__item:nth-child(3) .webview-tabbar__label {
  display: none;
}
.site-TICKETNARA.webview-body .webview-tabbar .webview-tabbar__item:nth-child(3).active::before {
  display: none;
}
.site-TICKETNARA.webview-body .webview-tabbar .webview-tabbar__item:nth-child(3):active {
  transform: scale(0.95);
}
.site-TICKETNARA.webview-body .webview-tabbar .webview-tabbar__item:nth-child(3):active .webview-tabbar__icon {
  box-shadow: 0px 0px 8px rgba(128, 29, 29, 0.8);
}
.site-TICKETNARA.webview-body .webview-tabbar .webview-tabbar__icon {
  font-size: 24px;
  margin-bottom: 4px;
  transition: none;
}
.site-TICKETNARA.webview-body .webview-tabbar .webview-tabbar__icon i {
  color: var(--icon-color, #1a1816);
  font-weight: 400;
}
.site-TICKETNARA.webview-body .webview-tabbar .webview-tabbar__label {
  font-size: 10px;
  font-weight: 400;
  color: var(--icon-color, #1a1816);
  opacity: 1;
  letter-spacing: 0;
}

@media (max-width: 480px) {
  .tn-news-item__date {
    display: none;
  }
  .tn-hero-slider__slide {
    padding: 24px var(--tn-spacing-lg);
    min-height: 150px;
  }
  .tn-hero-slider__title {
    font-size: var(--tn-font-xl);
  }
  .tn-hero-slider__desc {
    font-size: var(--tn-font-sm);
  }
  .tn-hero-slider__image {
    width: 64px;
    height: 64px;
  }
  .tn-hero-slider__image i {
    font-size: 24px;
  }
  .tn-hero-slider__content {
    min-width: 0;
  }
  .tn-event-card {
    min-width: calc(65% - 6px);
    padding: var(--tn-spacing-lg) var(--tn-spacing-md);
  }
  .tn-event-card__title {
    font-size: 14px;
  }
  .tn-event-card__desc {
    font-size: 11px;
  }
  .tn-category-icon__circle {
    width: 48px;
    height: 48px;
  }
  .tn-category-icon__circle i {
    font-size: var(--tn-font-xl);
  }
  .tn-category-icon__text {
    font-size: 11px;
  }
  .tn-section {
    padding: var(--tn-spacing-lg) var(--tn-spacing-md);
  }
  .tn-section__title {
    font-size: var(--tn-font-lg);
  }
  .tn-floating-btn__text {
    display: none;
  }
  .tn-floating-btn__link {
    padding: var(--tn-spacing-md);
    border-radius: var(--tn-radius-round);
    width: 48px;
    height: 48px;
    justify-content: center;
  }
  .tn-page-header__title {
    font-size: var(--tn-font-lg);
  }
  .tn-board-list {
    padding: var(--tn-spacing-md);
  }
  .tn-board-item {
    padding: var(--tn-spacing-md);
  }
  .tn-board-item__title {
    font-size: 14px;
  }
  .tn-board-item__header {
    flex-wrap: wrap;
  }
  .tn-detail-wrapper {
    padding: var(--tn-spacing-lg) var(--tn-spacing-md);
  }
  .tn-detail-header__title {
    font-size: var(--tn-font-lg);
  }
  .tn-detail-header__meta {
    flex-wrap: wrap;
    gap: var(--tn-spacing-sm);
  }
  .tn-detail-body {
    font-size: var(--tn-font-sm);
  }
  .tn-detail-footer {
    padding: var(--tn-spacing-md);
  }
}
@media (max-width: 320px) {
  .tn-hero-slider__slide {
    padding: 20px var(--tn-spacing-md);
    min-height: 130px;
    gap: var(--tn-spacing-sm);
  }
  .tn-hero-slider__title {
    font-size: var(--tn-font-lg);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .tn-hero-slider__desc {
    font-size: 11px;
    margin-bottom: var(--tn-spacing-sm);
  }
  .tn-hero-slider__btn {
    padding: 8px var(--tn-spacing-lg);
    font-size: 12px;
  }
  .tn-hero-slider__image {
    width: 52px;
    height: 52px;
  }
  .tn-hero-slider__image i {
    font-size: 20px;
  }
  .tn-hero-slider__content {
    min-width: 0;
    flex: 1;
  }
  .tn-event-card {
    min-width: calc(70% - 6px);
  }
  .tn-category-icon__circle {
    width: 40px;
    height: 40px;
  }
  .tn-category-icon__circle i {
    font-size: var(--tn-font-lg);
  }
  .tn-category-icon__text {
    font-size: 10px;
  }
  .tn-section__title {
    font-size: 15px;
  }
  .tn-faq-title {
    font-size: 14px;
  }
  .tn-product-list {
    grid-template-columns: 1fr;
  }
  .tn-page-header__title {
    font-size: 15px;
  }
  .tn-board-item {
    padding: var(--tn-spacing-sm);
  }
  .tn-board-item__title {
    font-size: 13px;
    -webkit-line-clamp: 1;
  }
  .tn-board-item__meta {
    font-size: 11px;
    gap: var(--tn-spacing-sm);
  }
  .tn-board-item__badge {
    font-size: 10px;
    padding: 2px 6px;
  }
  .tn-detail-header__title {
    font-size: 16px;
    word-break: keep-all;
  }
  .tn-detail-body {
    font-size: 13px;
    line-height: 1.6;
  }
}
/* ========== Bottom Sheet (공통 컴포넌트) ========== */
.tn-bottom-sheet {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear 0.35s;
}
.tn-bottom-sheet.is-open {
  visibility: visible;
  pointer-events: auto;
  transition: visibility 0s linear 0s;
}
.tn-bottom-sheet__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 24, 22, 0.6);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.tn-bottom-sheet.is-open .tn-bottom-sheet__backdrop {
  opacity: 1;
}
.tn-bottom-sheet__container {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-color, #F9F9F8);
  border-radius: 20px 20px 0 0;
  max-width: 720px;
  max-height: 92vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}
.tn-bottom-sheet.is-open .tn-bottom-sheet__container {
  transform: translateY(0);
}
.tn-bottom-sheet__handle {
  display: flex;
  justify-content: center;
  padding: 12px 0 0;
  flex-shrink: 0;
}
.tn-bottom-sheet__handle-bar {
  width: 36px;
  height: 4px;
  background: var(--border-color, #D1D1D1);
  border-radius: 2px;
}
.tn-bottom-sheet__header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.tn-bottom-sheet__title {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  color: var(--text-color, #1a1a1a);
}
.tn-bottom-sheet__close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--text-color-muted, #888);
  flex-shrink: 0;
}
.tn-bottom-sheet__body {
  padding: 0 20px;
  overflow-y: auto;
  flex: 1;
}
.tn-bottom-sheet__footer {
  padding: 16px 20px;
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  flex-shrink: 0;
}
.tn-bottom-sheet__actions {
  display: flex;
  gap: 10px;
}
.tn-bottom-sheet__btn {
  flex: 1;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.tn-bottom-sheet__btn--cancel {
  background: var(--bg-color-secondary, #E5E3DF);
  color: var(--text-color, #1a1a1a);
}
.tn-bottom-sheet__btn--confirm {
  background: var(--primary-color, #722F37);
  color: #ffffff;
}
.tn-bottom-sheet__btn--confirm:disabled {
  background: #cccccc;
  cursor: not-allowed;
}
.tn-bottom-sheet__checkbox {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
  cursor: pointer;
}
.tn-bottom-sheet__checkbox-input {
  display: none;
}
.tn-bottom-sheet__checkbox-icon {
  width: 24px;
  height: 24px;
  padding: 6px;
  background: var(--border-color, #D1D1D1);
  border-radius: 20px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  transition: background 0.2s ease;
}
.tn-bottom-sheet__checkbox-input:checked ~ .tn-bottom-sheet__checkbox-icon {
  background: var(--primary-color, #801D1D);
}
.tn-bottom-sheet__checkbox-label {
  font-size: 14px;
  color: var(--text-color-muted, #666);
  line-height: 1.4;
}

/* ========== Sub Page Header (공통 서브페이지 헤더) ========== */
.tn-sub-header {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--card-bg, #F9F9F8);
  position: sticky;
  top: 0;
  z-index: 100;
}
.tn-sub-header:not(:has(.tn-sub-header__right))::after {
  content: "";
  width: 44px;
  flex-shrink: 0;
}
.tn-sub-header__back {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-color, #1A1816);
  padding: 0;
  flex-shrink: 0;
}
.tn-sub-header__title {
  flex: 1;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-color, #1A1816);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tn-sub-header__right {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  min-width: 44px;
  justify-content: flex-end;
  white-space: nowrap;
}
.tn-sub-header__right a, .tn-sub-header__right button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-color, #1A1816);
  padding: 0;
  text-decoration: none;
  white-space: nowrap;
  font-size: 13px;
}
.tn-sub-header__action {
  min-width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-color, #1A1816);
  padding: 0;
  white-space: nowrap;
  font-size: 13px;
}

/* ========== TICKETNARA 공통 팝업 (TnPopup) ========== */
.tn-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 24, 22, 0.5);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.tn-popup-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.tn-popup {
  width: 335px;
  max-width: calc(100vw - 40px);
  background: var(--card-bg, #F9F9F8);
  box-shadow: 0px 0px 24px rgba(26, 24, 22, 0.16);
  overflow: hidden;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  transform: scale(0.95);
  transition: transform 0.2s ease;
}
.tn-popup-overlay.is-active .tn-popup {
  transform: scale(1);
}
html.dark-mode .tn-popup {
  box-shadow: 0px 0px 24px var(--bg-color-secondary, #1A1816);
}
.tn-popup__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 0;
}
.tn-popup__title {
  color: var(--text-color, #1A1816);
  font-size: 16px;
  font-weight: 700;
  line-height: 18px;
}
.tn-popup__close {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(107, 102, 94, 0.2);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: white;
}
.tn-popup__close i {
  font-size: 14px;
}
.tn-popup__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.tn-popup--no-header .tn-popup__body {
  padding: 20px;
}
.tn-popup__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 0;
  width: 100%;
}
.tn-popup__icon {
  width: 24px;
  height: 24px;
  color: var(--text-color-muted, #8A847B);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tn-popup__icon i {
  font-size: 24px;
}
.tn-popup__message {
  text-align: center;
  color: var(--text-color-muted, #8A847B);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}
.tn-popup__sub-message {
  text-align: center;
  color: var(--text-color-muted, #8A847B);
  font-size: 14px;
  font-weight: 700;
  line-height: 16px;
}
.tn-popup__footer {
  display: flex;
  width: 100%;
}
.tn-popup__btn {
  flex: 1;
  padding: 16px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  transition: filter 0.15s ease;
}
.tn-popup__btn:active {
  filter: brightness(0.95);
}
.tn-popup__btn--cancel {
  background: var(--border-color, #E5E3DF);
  color: var(--text-color-muted, #8A847B);
}
.tn-popup__btn--confirm {
  background: var(--primary-color, #801D1D);
  color: #F9F9F8;
}

@keyframes tn-dot-bounce {
  0%, 80%, 100% {
    transform: scale(0.6);
    opacity: 0.4;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}
.tn-loading-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tn-loading-dots__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary-color, #801D1D);
  animation: tn-dot-bounce 1.4s ease-in-out infinite both;
}
.tn-loading-dots__dot:nth-child(1) {
  animation-delay: -0.32s;
}
.tn-loading-dots__dot:nth-child(2) {
  animation-delay: -0.16s;
}
.tn-loading-dots__dot:nth-child(3) {
  animation-delay: 0s;
}

.btn-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.7;
}
.btn-loading .btn-text {
  visibility: hidden;
}
.btn-loading .tn-loading-dots {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.btn-loading .tn-loading-dots .tn-loading-dots__dot {
  width: 6px;
  height: 6px;
  background-color: #fff;
}

.tn-loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-color, #F4F3F1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 9999;
}
.tn-loading-overlay .tn-loading-dots__dot {
  width: 10px;
  height: 10px;
}
.tn-loading-overlay__text {
  font-size: 14px;
  color: var(--text-color-secondary, #555);
  margin-top: 4px;
}

.dark-mode .tn-loading-overlay {
  background: var(--bg-color, #2D2A26);
}
.dark-mode .tn-loading-overlay .tn-loading-dots__dot {
  background-color: var(--primary-color, #801D1D);
}
.dark-mode .tn-loading-overlay .tn-loading-overlay__text {
  color: var(--text-color-muted, #aaa);
}

.site-TICKETNARA .tn-loading-overlay {
  top: 56px;
}

.site-TICKETNARA.webview-body .tn-loading-overlay {
  bottom: calc(var(--webview-tabbar-height, 56px) + env(safe-area-inset-bottom, 0px));
}

.tn-loading-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  gap: 12px;
  min-height: 200px;
}
.tn-loading-section .tn-loading-dots__dot {
  width: 10px;
  height: 10px;
}
.tn-loading-section__text {
  font-size: 13px;
  color: var(--text-color-muted, #8A847B);
}
