@charset "UTF-8";
/**
 * TICKETNARA 공통 컴포넌트 스타일
 * @description 재사용 가능한 UI 컴포넌트 스타일 모음
 * @author Frontend Team
 */
:root {
  --tn-primary: #3D8B40;
  --tn-primary-dark: #2D5A2E;
  --tn-secondary: #FF6B35;
  --tn-secondary-light: #F7931E;
  --tn-text-primary: #1a1a1a;
  --tn-text-secondary: #333333;
  --tn-text-muted: #666666;
  --tn-text-light: #888888;
  --tn-bg-primary: #ffffff;
  --tn-bg-secondary: #f8f9fa;
  --tn-bg-hover: #e9ecef;
  --tn-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__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: #ffffff;
  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: #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-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: #555555;
  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: #f5f5f5;
  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: #cccccc;
}
.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(61, 139, 64, 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(61, 139, 64, 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: 56px;
  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: 56px;
  box-sizing: border-box;
}
.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 {
  background: rgb(255, 69.6336633663, 2);
}
.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(61, 139, 64, 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(61, 139, 64, 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: #fafafa;
}
.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: #555555;
  line-height: 1.6;
  overflow: hidden;
}
.tn-faq-item.is-open .tn-faq-arrow {
  transform: rotate(180deg);
}

@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;
  }
}
html.dark-mode {
  --tn-bg-primary: #18181b;
  --tn-bg-secondary: #27272a;
  --tn-bg-hover: #3f3f46;
  --tn-text-primary: #f4f4f5;
  --tn-text-secondary: #e4e4e7;
  --tn-text-muted: #a1a1aa;
  --tn-text-light: #71717a;
  --tn-border-color: #3f3f46;
  --tn-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --tn-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --tn-shadow-lg: 0 6px 16px rgba(0, 0, 0, 0.5);
}
html.dark-mode .tn-hero-slider__btn {
  background: rgba(255, 255, 255, 0.95);
  color: #1a1a1a !important;
}
html.dark-mode .tn-news-item:hover {
  background: var(--tn-bg-hover);
}
html.dark-mode .tn-faq-content {
  color: var(--tn-text-muted);
}
html.dark-mode .tn-category-icon__circle {
  filter: brightness(0.85);
}
html.dark-mode .tn-product-card__image {
  background: #3f3f46;
}
html.dark-mode .tn-product-card__image i {
  color: #71717a;
}
html.dark-mode .tn-loading__spinner {
  border-color: #3f3f46;
  border-top-color: var(--tn-primary);
}
html.dark-mode .tn-empty__icon {
  color: #52525b;
}
html.dark-mode .tn-board-item:hover {
  background: var(--tn-bg-hover);
}
html.dark-mode .tn-faq-item__answer {
  background: #1f1f23;
}
html.dark-mode .tn-detail-body blockquote {
  background: #1f1f23;
}
html.dark-mode .tn-detail-body table th {
  background: #27272a;
}
html.dark-mode .tn-tip-card:hover {
  box-shadow: var(--tn-shadow-md);
}

html.dark-mode .tn-main-content,
html.dark-mode .tn-page,
html.dark-mode .tn-page--home,
html.dark-mode .tn-page--shopping,
html.dark-mode .tn-page--pay,
html.dark-mode .tn-page--more,
html.dark-mode .tn-page--settings,
html.dark-mode .tn-page--payment {
  background: #18181b !important;
  color: #f4f4f5 !important;
}
html.dark-mode .tn-section,
html.dark-mode .tn-card,
html.dark-mode .tn-list-item,
html.dark-mode .tn-notice-item,
html.dark-mode .tn-board-item,
html.dark-mode .tn-faq-item,
html.dark-mode .tn-product-item,
html.dark-mode .tn-menu-section,
html.dark-mode .tn-profile-section,
html.dark-mode .tn-settings-section,
html.dark-mode .tn-pay-section {
  background: #27272a !important;
  border-color: #3f3f46 !important;
}
html.dark-mode .tn-section__title,
html.dark-mode .tn-section-title,
html.dark-mode .tn-card__title,
html.dark-mode .tn-list-item__title,
html.dark-mode .tn-notice-item__title,
html.dark-mode .tn-board-item__title,
html.dark-mode .tn-product-item__name,
html.dark-mode .tn-product-item__price,
html.dark-mode .tn-menu-list__link,
html.dark-mode .tn-settings-item__label,
html.dark-mode h1, html.dark-mode h2, html.dark-mode h3, html.dark-mode h4, html.dark-mode h5, html.dark-mode h6 {
  color: #f4f4f5 !important;
}
html.dark-mode .tn-section__more,
html.dark-mode .tn-card__desc,
html.dark-mode .tn-list-item__desc,
html.dark-mode .tn-notice-item__date,
html.dark-mode .tn-board-item__date,
html.dark-mode .tn-settings-item__value,
html.dark-mode .text-muted,
html.dark-mode .text-secondary {
  color: #a1a1aa !important;
}
html.dark-mode .tn-page-header,
html.dark-mode .tn-page-header--back {
  background: #27272a !important;
  border-color: #3f3f46 !important;
}
html.dark-mode .tn-page-header__title {
  color: #f4f4f5 !important;
}
html.dark-mode .tn-search-bar,
html.dark-mode .tn-sort-bar,
html.dark-mode .tn-category-filter {
  background: #18181b !important;
}
html.dark-mode .tn-search-bar__input,
html.dark-mode .tn-sort-bar__select,
html.dark-mode .tn-input,
html.dark-mode .tn-select,
html.dark-mode .tn-textarea {
  background: #3f3f46 !important;
  color: #f4f4f5 !important;
  border-color: #52525b !important;
}
html.dark-mode .tn-category-filter__btn {
  background: #3f3f46 !important;
  color: #f4f4f5 !important;
}
html.dark-mode .tn-product-item__image {
  background: #3f3f46 !important;
}
html.dark-mode .tn-quick-menu {
  background: #27272a !important;
  border-color: #3f3f46 !important;
}
html.dark-mode .tn-quick-menu__item,
html.dark-mode .tn-quick-menu__text {
  color: #f4f4f5 !important;
}
html.dark-mode .tn-quick-menu__btn {
  background: #3f3f46 !important;
  color: #f4f4f5 !important;
  border-color: #52525b !important;
}
html.dark-mode .tn-quick-menu__icon {
  color: #f4f4f5 !important;
}
html.dark-mode .webview-tabbar {
  background: #27272a !important;
  border-color: #3f3f46 !important;
}
html.dark-mode .webview-tabbar__item {
  color: #a1a1aa !important;
}
html.dark-mode .webview-tabbar__item.active {
  color: #f4f4f5 !important;
}
html.dark-mode .tn-notice-list,
html.dark-mode .tn-board-list,
html.dark-mode .tn-faq-list {
  background: #18181b !important;
}
html.dark-mode .tn-notice-item__title,
html.dark-mode .tn-board-item__title,
html.dark-mode .tn-faq-item__question {
  color: #f4f4f5 !important;
}
html.dark-mode .tn-notice-item__content,
html.dark-mode .tn-board-item__content,
html.dark-mode .tn-faq-item__answer {
  color: #a1a1aa !important;
  background: #3f3f46 !important;
}
html.dark-mode .tn-sort-bar {
  background: #18181b !important;
  border-color: #3f3f46 !important;
}
html.dark-mode .tn-sort-bar__count {
  color: #a1a1aa !important;
}
html.dark-mode .tn-filter-bar {
  background: #18181b !important;
}
html.dark-mode .tn-product-grid {
  background: #18181b !important;
}
html.dark-mode .tn-empty,
html.dark-mode .tn-empty-state {
  color: #a1a1aa !important;
}
html.dark-mode .tn-empty__icon,
html.dark-mode .tn-empty-state__icon {
  color: #52525b !important;
}
html.dark-mode .tn-loading {
  background: rgba(24, 24, 27, 0.9) !important;
}
html.dark-mode .tn-badge {
  background: #3f3f46 !important;
  color: #f4f4f5 !important;
}
html.dark-mode .tn-btn--secondary,
html.dark-mode .tn-btn--outline {
  background: #3f3f46 !important;
  color: #f4f4f5 !important;
  border-color: #52525b !important;
}
html.dark-mode .tn-modal,
html.dark-mode .tn-popup {
  background: #27272a !important;
}
html.dark-mode .tn-modal__title,
html.dark-mode .tn-popup__title {
  color: #f4f4f5 !important;
}
html.dark-mode p, html.dark-mode span, html.dark-mode div, html.dark-mode label {
  color: inherit;
}
html.dark-mode a:not(.tn-btn):not([class*=btn]) {
  color: #60a5fa !important;
}
html.dark-mode .tn-news-list {
  background: #18181b !important;
}
html.dark-mode .tn-news-item {
  background: #27272a !important;
  border-color: #3f3f46 !important;
}
html.dark-mode .tn-news-item__title {
  color: #f4f4f5 !important;
}
html.dark-mode .tn-news-item__date {
  color: #71717a !important;
}
html.dark-mode .tn-news-item__badge {
  background: #3f3f46 !important;
  color: #f4f4f5 !important;
}
html.dark-mode .tn-faq-title,
html.dark-mode .tn-faq-question,
html.dark-mode .tn-faq-item__title {
  color: #f4f4f5 !important;
}
html.dark-mode .tn-category-icon__text {
  color: #f4f4f5 !important;
}
html.dark-mode .tn-product-card {
  background: #27272a !important;
  border-color: #3f3f46 !important;
}
html.dark-mode .tn-product-card__name {
  color: #f4f4f5 !important;
}
html.dark-mode .tn-product-card__image {
  background: #3f3f46 !important;
}
