/* ============================================================================
   SportMyLife · #tickets-page 3D VIP Stadium Gold & Emerald Theme (v2026120105)
   Modular stylesheet linked after styles.css & sportBroadcastTheme.css.
   100% Law #17 feature preservation · 100% Law #18 capsule symmetry (320px–1600px)
   WCAG AAA contrast in BOTH Dark & Light themes · Full RTL & Reduced-Motion support
   ============================================================================ */

/* ================= 0. FOUNDATION & LAW #18 SYMMETRY GUARD ================= */
#tickets-page,
#tickets-page *,
#tickets-page *::before,
#tickets-page *::after {
  box-sizing: border-box;
}

#tickets-page.tickets-page-slide {
  padding: 24px 0 72px;
}

#tickets-page .tp-shell {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  max-width: 100%;
}

/* Shared 3D Glossy Circular Icon Orbs */
#tickets-page .tp-ico3d-orb {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: radial-gradient(circle at 32% 24%, rgba(246, 220, 147, 0.28), #081510 78%);
  border: 1px solid rgba(246, 220, 147, 0.52);
  box-shadow:
    0 3px 8px rgba(0, 0, 0, 0.44),
    inset 0 1px 1px rgba(255, 255, 255, 0.34);
}

#tickets-page .tp-ico3d-orb::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0) 48%);
  pointer-events: none;
}

#tickets-page .tp-ico3d-orb.is-badge {
  width: 17px;
  height: 17px;
  border-color: rgba(246, 220, 147, 0.62);
}

#tickets-page .tp-ico3d-orb.is-mini-btn {
  width: 17px;
  height: 17px;
  border-color: rgba(246, 220, 147, 0.5);
}

#tickets-page .tp-ico3d-orb.is-kpi {
  width: 34px;
  height: 34px;
  border-width: 1.5px;
  border-color: rgba(246, 220, 147, 0.58);
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.45),
    0 0 12px rgba(230, 196, 115, 0.22),
    inset 0 1px 2px rgba(255, 255, 255, 0.38);
}

#tickets-page .tp-ico3d-orb.is-flag-globe {
  width: 24px;
  height: 24px;
  border-color: rgba(246, 220, 147, 0.6);
}

#tickets-page .tp-ico3d-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ================= 1. 3D VIP STADIUM BOX OFFICE HERO (.tp-hero) ================= */
#tickets-page .tp-hero,
html[data-theme="light"] #tickets-page .tp-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: #07120d;
  background-image: none;
  border: 1px solid rgba(246, 220, 147, 0.38);
  border-top: 2px solid rgba(246, 220, 147, 0.78);
  border-radius: 22px;
  padding: 24px 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #f8fafc;
  box-shadow:
    0 24px 58px rgba(0, 0, 0, 0.48),
    0 4px 18px rgba(16, 185, 129, 0.14),
    inset 0 1px 0 rgba(255, 245, 214, 0.35),
    inset 0 -1px 0 rgba(16, 185, 129, 0.22);
}

html[data-theme="light"] #tickets-page .tp-hero {
  box-shadow:
    0 22px 48px rgba(10, 26, 18, 0.24),
    0 4px 14px rgba(16, 185, 129, 0.12),
    inset 0 1px 0 rgba(255, 245, 214, 0.38);
}

#tickets-page .tp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('assets/bg/tickets_vip_arena_hero.webp?v=2026120105');
  background-size: cover;
  background-position: 62% 45%;
  background-repeat: no-repeat;
  opacity: 0.9;
  pointer-events: none;
}

#tickets-page .tp-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 68% 58% at 14% 0%, rgba(246, 220, 147, 0.18) 0%, transparent 56%),
    radial-gradient(ellipse 62% 55% at 92% 96%, rgba(16, 185, 129, 0.24) 0%, transparent 58%),
    linear-gradient(104deg, rgba(4, 12, 9, 0.92) 0%, rgba(6, 17, 13, 0.78) 54%, rgba(6, 19, 14, 0.56) 100%);
  pointer-events: none;
}

html[dir="rtl"] #tickets-page .tp-hero::after {
  background:
    radial-gradient(ellipse 68% 58% at 86% 0%, rgba(246, 220, 147, 0.18) 0%, transparent 56%),
    radial-gradient(ellipse 62% 55% at 8% 96%, rgba(16, 185, 129, 0.24) 0%, transparent 58%),
    linear-gradient(256deg, rgba(4, 12, 9, 0.92) 0%, rgba(6, 17, 13, 0.78) 54%, rgba(6, 19, 14, 0.56) 100%);
}

#tickets-page .tp-hero > * {
  position: relative;
  z-index: 2;
}

/* Hero Top Navigation + Currency Glass Tray */
#tickets-page .tp-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  min-width: 0;
}

#tickets-page .tp-nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}

#tickets-page .tp-back-btn,
html[data-theme="light"] #tickets-page .tp-back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  border: 1px solid rgba(246, 220, 147, 0.34);
  background: rgba(8, 22, 16, 0.72);
  color: #f8fafc;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 6px 16px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

#tickets-page .tp-back-btn:hover,
html[data-theme="light"] #tickets-page .tp-back-btn:hover {
  border-color: #f6dc93;
  background: rgba(16, 52, 36, 0.86);
  transform: translateY(-1px);
}

#tickets-page .tp-breadcrumb,
html[data-theme="light"] #tickets-page .tp-breadcrumb {
  font-size: 12px;
  font-weight: 600;
  color: #c8ddd1;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

#tickets-page .tp-hero-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
  max-width: 100%;
}

#tickets-page .tp-currency-pills,
html[data-theme="light"] #tickets-page .tp-currency-pills {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(6, 18, 13, 0.78);
  border: 1px solid rgba(246, 220, 147, 0.32);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  max-width: 100%;
  min-width: 0;
}

#tickets-page .tp-cur-pill,
html[data-theme="light"] #tickets-page .tp-cur-pill {
  border: 0;
  background: transparent;
  color: #cfe0d6;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 9px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  flex: 0 0 auto;
  transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

#tickets-page .tp-cur-pill:hover,
html[data-theme="light"] #tickets-page .tp-cur-pill:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
}

#tickets-page .tp-cur-pill.is-active,
html[data-theme="light"] #tickets-page .tp-cur-pill.is-active {
  border: 0;
  background: linear-gradient(135deg, #fce7a2 0%, #e6c473 52%, #c99733 100%);
  background-origin: border-box;
  background-clip: border-box;
  color: #101914;
  box-shadow:
    0 4px 12px rgba(230, 196, 115, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

#tickets-page .tp-refresh-btn,
html[data-theme="light"] #tickets-page .tp-refresh-btn {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(246, 220, 147, 0.45);
  background: rgba(230, 196, 115, 0.16);
  color: #f6dc93;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

#tickets-page .tp-refresh-btn:hover,
html[data-theme="light"] #tickets-page .tp-refresh-btn:hover {
  background: rgba(230, 196, 115, 0.28);
  border-color: #fce7a2;
}

/* Hero Center Banner Row + 3D VIP Emblem Medallion */
#tickets-page .tp-hero-banner-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
}

#tickets-page .tp-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
  flex: 1 1 auto;
}

#tickets-page .tp-eyebrow,
html[data-theme="light"] #tickets-page .tp-eyebrow {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(246, 220, 147, 0.14);
  border: 1px solid rgba(246, 220, 147, 0.42);
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fce7a2;
  text-transform: uppercase;
  max-width: 100%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

#tickets-page .tp-title,
html[data-theme="light"] #tickets-page .tp-title {
  margin: 0;
  font-family: var(--font-display, 'Barlow Condensed', 'Oswald', sans-serif);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: #ffffff;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.65);
}

#tickets-page .tp-subtitle,
html[data-theme="light"] #tickets-page .tp-subtitle {
  margin: 0;
  max-width: 760px;
  font-size: 14.5px;
  line-height: 1.5;
  color: #d7e7dd;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}

/* 3D VIP Emblem Medallion in Golden Orbit */
#tickets-page .tp-hero-medallion {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 18px 12px;
  border-radius: 20px;
  background: linear-gradient(155deg, rgba(14, 34, 24, 0.82) 0%, rgba(7, 17, 13, 0.9) 100%);
  border: 1px solid rgba(246, 220, 147, 0.46);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.48),
    0 0 26px rgba(230, 196, 115, 0.2),
    inset 0 1px 0 rgba(255, 245, 214, 0.34);
  min-width: 184px;
}

#tickets-page .tp-medallion-orbit {
  position: relative;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 38% 30%, rgba(252, 231, 162, 0.34) 0%, rgba(16, 185, 129, 0.16) 52%, rgba(6, 15, 11, 0.92) 86%);
  border: 1.5px solid rgba(246, 220, 147, 0.68);
  box-shadow:
    0 0 24px rgba(246, 220, 147, 0.34),
    inset 0 0 14px rgba(246, 220, 147, 0.22);
}

#tickets-page .tp-medallion-orbit::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px dashed rgba(246, 220, 147, 0.42);
  pointer-events: none;
  animation: tpOrbitSpin 24s linear infinite;
}

@keyframes tpOrbitSpin {
  to {
    transform: rotate(360deg);
  }
}

#tickets-page .tp-medallion-img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.62));
}

#tickets-page .tp-medallion-tag {
  font-family: var(--font-mono, monospace);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
  color: #fce7a2;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(246, 220, 147, 0.14);
  border: 1px solid rgba(246, 220, 147, 0.36);
  white-space: nowrap;
}

/* 4 Balanced 3D Glass KPI Tiles */
#tickets-page .tp-kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
  margin-top: 2px;
}

#tickets-page .tp-kpi-box,
html[data-theme="light"] #tickets-page .tp-kpi-box {
  min-width: 0;
  max-width: 100%;
  background: linear-gradient(155deg, rgba(13, 30, 22, 0.82) 0%, rgba(7, 17, 13, 0.9) 100%);
  border: 1px solid rgba(246, 220, 147, 0.24);
  border-radius: 15px;
  padding: 12px 14px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 11px;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

#tickets-page .tp-kpi-box.is-gold,
html[data-theme="light"] #tickets-page .tp-kpi-box.is-gold {
  background: linear-gradient(145deg, rgba(246, 220, 147, 0.2) 0%, rgba(19, 44, 30, 0.9) 62%, rgba(9, 22, 16, 0.94) 100%);
  border-color: rgba(246, 220, 147, 0.56);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.4),
    0 0 18px rgba(230, 196, 115, 0.18),
    inset 0 1px 0 rgba(255, 245, 214, 0.34);
}

#tickets-page .tp-kpi-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1 1 auto;
}

#tickets-page .tp-kpi-box strong,
html[data-theme="light"] #tickets-page .tp-kpi-box strong {
  font-family: var(--font-display, 'Barlow Condensed', monospace);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  color: #ffffff;
}

#tickets-page .tp-kpi-box.is-gold strong,
html[data-theme="light"] #tickets-page .tp-kpi-box.is-gold strong {
  color: #fce7a2;
}

#tickets-page .tp-kpi-box span,
html[data-theme="light"] #tickets-page .tp-kpi-box span {
  font-size: 11.5px;
  font-weight: 600;
  color: #bfd3c7;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ================= 2. 3D VIP MODE SWITCH TABS (.tp-mode-tabs) ================= */
#tickets-page .tp-mode-bar,
#tickets-page .tp-mode-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
  max-width: 100%;
}

#tickets-page .tp-mode-btn {
  min-width: 0;
  max-width: 100%;
  min-height: 54px;
  padding: 10px 16px;
  border-radius: 16px;
  border: 1px solid rgba(246, 220, 147, 0.24);
  background: linear-gradient(155deg, rgba(14, 29, 22, 0.94) 0%, rgba(8, 17, 13, 0.98) 100%);
  color: #d0dfd6;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.16s ease, box-shadow 0.18s ease, border-color 0.16s ease, color 0.16s ease;
}

#tickets-page .tp-mode-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(246, 220, 147, 0.56);
  color: #ffffff;
}

#tickets-page .tp-mode-btn.is-active,
html[data-theme="light"] #tickets-page .tp-mode-btn.is-active {
  border: 0;
  background: linear-gradient(135deg, #1b6b45 0%, #11472d 55%, #0c3120 100%);
  background-origin: border-box;
  background-clip: border-box;
  color: #ffffff;
  box-shadow:
    inset 0 0 0 1px rgba(246, 220, 147, 0.58),
    inset 0 1px 0 rgba(255, 248, 220, 0.32),
    0 14px 30px rgba(13, 86, 52, 0.36);
}

html[data-theme="light"] #tickets-page .tp-mode-btn:not(.is-active) {
  background: linear-gradient(155deg, #ffffff 0%, #f1f5f2 100%);
  border-color: rgba(15, 62, 40, 0.2);
  color: #12291d;
  box-shadow:
    0 8px 20px rgba(15, 35, 24, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

html[data-theme="light"] #tickets-page .tp-mode-btn:not(.is-active):hover {
  border-color: rgba(168, 124, 34, 0.55);
  color: #091d13;
}

#tickets-page .tp-mode-ico3d-wrap {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 35% 25%, rgba(252, 231, 162, 0.32), #0a1b13 78%);
  border: 1.5px solid rgba(246, 220, 147, 0.58);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.34);
}

#tickets-page .tp-mode-ico3d {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

#tickets-page .tp-mode-lbl {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ================= 3. 3D VIP FILTER CONSOLE (.tp-controls & .tp-archive-panel) ================= */
#tickets-page .tp-controls,
#tickets-page .tp-archive-panel,
html[data-theme="light"] #tickets-page .tp-controls,
html[data-theme="light"] #tickets-page .tp-archive-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: #08140f;
  background-image: none;
  border: 1px solid rgba(246, 220, 147, 0.32);
  border-top: 2px solid rgba(246, 220, 147, 0.62);
  border-radius: 20px;
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: #f8fafc;
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 245, 214, 0.24);
}

html[data-theme="light"] #tickets-page .tp-controls,
html[data-theme="light"] #tickets-page .tp-archive-panel {
  box-shadow:
    0 18px 40px rgba(10, 26, 18, 0.2),
    inset 0 1px 0 rgba(255, 245, 214, 0.28);
}

#tickets-page .tp-controls::before,
#tickets-page .tp-archive-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('assets/bg/tickets_vip_controls.webp?v=2026120105');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.72;
  pointer-events: none;
}

#tickets-page .tp-controls::after,
#tickets-page .tp-archive-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 74% 48% at 50% 0%, rgba(246, 220, 147, 0.11) 0%, transparent 62%),
    radial-gradient(ellipse 80% 44% at 50% 100%, rgba(16, 185, 129, 0.16) 0%, transparent 64%),
    linear-gradient(180deg, rgba(6, 16, 12, 0.78) 0%, rgba(6, 15, 11, 0.86) 55%, rgba(5, 13, 10, 0.92) 100%);
  pointer-events: none;
}

#tickets-page .tp-controls > *,
#tickets-page .tp-archive-panel > * {
  position: relative;
  z-index: 2;
}

/* Numbered Gold Step Badges (01, 02, 03, 04) */
#tickets-page .tp-console-section {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}

#tickets-page .tp-console-step-head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

#tickets-page .tp-step-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 20px;
  padding: 0 7px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #fce7a2 0%, #e6c473 54%, #c6912d 100%);
  background-origin: border-box;
  background-clip: border-box;
  color: #0e1812;
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  flex-shrink: 0;
  box-shadow:
    0 3px 10px rgba(230, 196, 115, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

#tickets-page .tp-geo-label,
html[data-theme="light"] #tickets-page .tp-geo-label {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #f6dc93;
  white-space: nowrap;
  min-width: 0;
}

#tickets-page .tp-geo-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(246, 220, 147, 0.16);
  min-width: 0;
}

#tickets-page .tp-geo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

#tickets-page .tp-geo-row:first-child {
  padding-top: 0;
  border-top: 0;
}

#tickets-page .tp-geo-label-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 128px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* Date Horizon, Month Select & Search Box inside Console */
#tickets-page .tp-horizon-btn,
#tickets-page .tp-preset-btn,
html[data-theme="light"] #tickets-page .tp-horizon-btn,
html[data-theme="light"] #tickets-page .tp-preset-btn {
  min-height: 36px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid rgba(246, 220, 147, 0.24);
  background: rgba(11, 26, 19, 0.78);
  color: #dce9e1;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.14s ease, border-color 0.14s ease, background 0.14s ease;
}

#tickets-page .tp-horizon-btn:hover,
#tickets-page .tp-preset-btn:hover,
html[data-theme="light"] #tickets-page .tp-horizon-btn:hover,
html[data-theme="light"] #tickets-page .tp-preset-btn:hover {
  border-color: rgba(246, 220, 147, 0.62);
  color: #ffffff;
  transform: translateY(-1px);
}

#tickets-page .tp-horizon-btn.is-active,
#tickets-page .tp-preset-btn.is-active,
html[data-theme="light"] #tickets-page .tp-horizon-btn.is-active,
html[data-theme="light"] #tickets-page .tp-preset-btn.is-active {
  border: 0;
  background: linear-gradient(135deg, #fce7a2 0%, #e6c473 52%, #c99733 100%);
  background-origin: border-box;
  background-clip: border-box;
  color: #0f1913;
  box-shadow:
    0 6px 16px rgba(230, 196, 115, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

#tickets-page .tp-month-select,
#tickets-page .tp-search-input,
#tickets-page .tp-archive-date-wrap,
html[data-theme="light"] #tickets-page .tp-month-select,
html[data-theme="light"] #tickets-page .tp-search-input,
html[data-theme="light"] #tickets-page .tp-archive-date-wrap {
  min-height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(246, 220, 147, 0.28);
  background: rgba(8, 21, 15, 0.84);
  color: #f8fafc;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.38);
}

#tickets-page .tp-month-select option,
html[data-theme="light"] #tickets-page .tp-month-select option {
  background: #0b1913;
  color: #f8fafc;
}

#tickets-page .tp-search-input::placeholder,
html[data-theme="light"] #tickets-page .tp-search-input::placeholder {
  color: #93aba0;
}

#tickets-page .tp-search-ico,
#tickets-page .tp-search-clear,
html[data-theme="light"] #tickets-page .tp-search-ico,
html[data-theme="light"] #tickets-page .tp-search-clear {
  color: #e6c473;
}

#tickets-page .tp-archive-head h2,
html[data-theme="light"] #tickets-page .tp-archive-head h2 {
  color: #ffffff;
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: 23px;
  letter-spacing: 0.01em;
}

#tickets-page .tp-archive-head p,
#tickets-page .tp-archive-date-lbl,
html[data-theme="light"] #tickets-page .tp-archive-head p,
html[data-theme="light"] #tickets-page .tp-archive-date-lbl {
  color: #c7dcd0;
}

#tickets-page .tp-date-input,
html[data-theme="light"] #tickets-page .tp-date-input {
  color: #fce7a2;
  color-scheme: dark;
}

/* Horizontal Swipe Rails with Generous padding-inline-end for Capsule-Free Arrows */
#tickets-page .tp-sport-rail,
#tickets-page .tp-country-rail,
#tickets-page .tp-city-rail {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-top: 4px;
  padding-bottom: 4px;
  padding-inline-start: 4px;
  padding-inline-end: 36px;
}

html[dir="rtl"] #tickets-page .tp-sport-rail,
html[dir="rtl"] #tickets-page .tp-country-rail,
html[dir="rtl"] #tickets-page .tp-city-rail {
  padding-left: 36px;
  padding-right: 4px;
}

#tickets-page .tp-geo-rail-wrap .sml-scroll-arrow,
html[data-theme="light"] #tickets-page .tp-geo-rail-wrap .sml-scroll-arrow {
  width: 28px;
  height: 36px;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: rgba(246, 220, 147, 0.94) !important;
  font-size: 28px;
  font-weight: 400;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

/* Sport Pills, Country Flag Capsules & City Capsules */
#tickets-page .tp-rail-btn,
html[data-theme="light"] #tickets-page .tp-rail-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 5px 12px 5px 7px;
  border-radius: 999px;
  border: 1px solid rgba(246, 220, 147, 0.22);
  background: linear-gradient(160deg, rgba(16, 36, 27, 0.86) 0%, rgba(9, 21, 16, 0.92) 100%);
  color: #e4efe8;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  flex: 0 0 auto;
  cursor: pointer;
  box-shadow:
    0 5px 14px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.11);
  transition: transform 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease, background 0.14s ease;
}

html[dir="rtl"] #tickets-page .tp-rail-btn,
html[dir="rtl"][data-theme="light"] #tickets-page .tp-rail-btn {
  padding: 5px 7px 5px 12px;
}

#tickets-page .tp-rail-btn:hover,
html[data-theme="light"] #tickets-page .tp-rail-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(246, 220, 147, 0.6);
  color: #ffffff;
}

#tickets-page .tp-rail-btn.is-active,
html[data-theme="light"] #tickets-page .tp-rail-btn.is-active {
  border: 0;
  background: linear-gradient(135deg, #1f7a4e 0%, #145335 100%);
  background-origin: border-box;
  background-clip: border-box;
  color: #ffffff;
  font-weight: 700;
  box-shadow:
    inset 0 0 0 1px rgba(246, 220, 147, 0.64),
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    0 8px 18px rgba(16, 130, 78, 0.34);
}

#tickets-page .tp-rail-cnt {
  font-family: var(--font-mono, monospace);
  font-size: 10.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f6dc93;
  opacity: 0.96;
}

#tickets-page .tp-rail-btn.is-active .tp-rail-cnt {
  background: rgba(252, 231, 162, 0.2);
  color: #fce7a2;
}

/* Country Flag Tactile 3D Capsules */
#tickets-page .tp-rail-btn.tp-flag-tile,
html[data-theme="light"] #tickets-page .tp-rail-btn.tp-flag-tile {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 62px;
  min-height: 56px;
  padding: 7px 9px 6px;
  border-radius: 15px;
  background: linear-gradient(160deg, rgba(16, 36, 27, 0.88) 0%, rgba(9, 20, 15, 0.94) 100%);
  border: 1px solid rgba(246, 220, 147, 0.24);
  color: #eef6f1;
}

#tickets-page .tp-rail-btn.tp-flag-tile.is-active,
html[data-theme="light"] #tickets-page .tp-rail-btn.tp-flag-tile.is-active {
  border: 0 !important;
  background: linear-gradient(145deg, #217c50 0%, #12482e 100%) !important;
  background-origin: border-box !important;
  background-clip: border-box !important;
  color: #ffffff !important;
  box-shadow:
    inset 0 0 0 1.5px #f6dc93,
    0 8px 20px rgba(0, 0, 0, 0.42),
    0 0 14px rgba(246, 220, 147, 0.28) !important;
  transform: translateY(-2px);
}

#tickets-page .tp-flag-box {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 24px;
  border-radius: 7px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.44);
  background: #0a1812;
}

#tickets-page .tp-flag-box.is-globe {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  box-shadow: none;
}

#tickets-page .tp-flag-img.is-tile {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
}

/* City Pills with Beveled Flag Framing */
#tickets-page .tp-rail-btn.is-city,
html[data-theme="light"] #tickets-page .tp-rail-btn.is-city {
  padding: 5px 12px 5px 8px;
  border-radius: 999px;
}

html[dir="rtl"] #tickets-page .tp-rail-btn.is-city,
html[dir="rtl"][data-theme="light"] #tickets-page .tp-rail-btn.is-city {
  padding: 5px 8px 5px 12px;
}

#tickets-page .tp-rail-btn.is-city.is-active,
html[data-theme="light"] #tickets-page .tp-rail-btn.is-city.is-active {
  border: 0;
  background: linear-gradient(135deg, #fce7a2 0%, #e6c473 56%, #c6912d 100%);
  background-origin: border-box;
  background-clip: border-box;
  color: #0e1812;
  box-shadow:
    0 6px 18px rgba(230, 196, 115, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

#tickets-page .tp-rail-btn.is-city.is-active .tp-rail-cnt {
  background: rgba(14, 24, 18, 0.16);
  color: #0e1812;
}

#tickets-page .tp-flag-img.is-mini {
  width: 20px;
  height: 14px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.34);
}

#tickets-page .tp-controls .tp-active-geo-chip,
html[data-theme="light"] #tickets-page .tp-controls .tp-active-geo-chip {
  background: rgba(34, 128, 82, 0.34);
  border: 1px solid rgba(110, 231, 183, 0.45);
  color: #ecfdf5;
}

/* Summary Bar */
#tickets-page .tp-summary-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

#tickets-page .tp-count-pill {
  padding: 6px 13px;
  border-radius: 999px;
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(246, 220, 147, 0.2), rgba(16, 40, 28, 0.85));
  border: 1px solid rgba(246, 220, 147, 0.45);
  color: #fce7a2;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}

html[data-theme="light"] #tickets-page .tp-count-pill {
  background: linear-gradient(135deg, #ffffff 0%, #f4efe0 100%);
  border-color: rgba(168, 124, 34, 0.45);
  color: #6b4906;
  box-shadow: 0 4px 12px rgba(15, 35, 24, 0.08);
}

#tickets-page .tp-reset-btn {
  min-height: 34px;
  padding: 6px 14px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #e6c473 0%, #c6912d 100%);
  background-origin: border-box;
  background-clip: border-box;
  color: #0e1812;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(230, 196, 115, 0.28);
}

html[data-theme="light"] #tickets-page .tp-reset-btn {
  background: linear-gradient(135deg, #1b6541 0%, #12482e 100%);
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(18, 72, 46, 0.2);
}

/* ================= 4. 3D VIP STADIUM TICKET CAPSULES (.tp-card & .tp-arc-card) ================= */
#tickets-page .tp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 18px;
}

#tickets-page .tp-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
}

/* Per-Sport / Category 3D Arena Backdrop CSS Variable Map (100% CSP-Safe, Zero Inline url()) */
#tickets-page .tp-card,
#tickets-page .tp-arc-card {
  --tp-card-bg: url('assets/bg/live_hub_football_3d_hero.webp?v=2026120105');
  --tp-card-accent: #e6c473;
}

#tickets-page [data-tp-bg-cat="football"] {
  --tp-card-bg: url('assets/bg/live_hub_football_3d_hero.webp?v=2026120105');
  --tp-card-accent: #34d399;
}

#tickets-page [data-tp-bg-cat="wc2026"] {
  --tp-card-bg: url('assets/bg/tickets_vip_arena_hero.webp?v=2026120105');
  --tp-card-accent: #f6dc93;
}

#tickets-page [data-tp-bg-cat="ucl"] {
  --tp-card-bg: url('assets/bg/live_hub_football_3d_hero.webp?v=2026120105');
  --tp-card-accent: #60a5fa;
}

#tickets-page [data-tp-bg-cat="tours"] {
  --tp-card-bg: url('assets/bg/museum_hero_bg.webp?v=2026120105');
  --tp-card-accent: #f6dc93;
}

#tickets-page [data-tp-bg-cat="ufc"] {
  --tp-card-bg: url('assets/ufc/ufc_arenas_vegas.jpg?v=2026120105');
  --tp-card-accent: #f87171;
}

#tickets-page [data-tp-bg-cat="boxing"] {
  --tp-card-bg: url('assets/wings/boxing_hero.webp?v=2026120105');
  --tp-card-accent: #fb7185;
}

#tickets-page [data-tp-bg-cat="kickboxing"] {
  --tp-card-bg: url('assets/wings/kickboxing_hero.webp?v=2026120105');
  --tp-card-accent: #f97316;
}

#tickets-page [data-tp-bg-cat="karate_tkd"] {
  --tp-card-bg: url('assets/wings/karate_tkd_hero.webp?v=2026120105');
  --tp-card-accent: #ef4444;
}

#tickets-page [data-tp-bg-cat="sambo_bjj"] {
  --tp-card-bg: url('assets/wings/sambo_bjj_hero.webp?v=2026120105');
  --tp-card-accent: #f59e0b;
}

#tickets-page [data-tp-bg-cat="wrestling"] {
  --tp-card-bg: url('assets/wings/wrestling_hero.webp?v=2026120105');
  --tp-card-accent: #fbbf24;
}

#tickets-page [data-tp-bg-cat="basketball"] {
  --tp-card-bg: url('assets/basketball/bball_hero_arena.jpg?v=2026120105');
  --tp-card-accent: #fb923c;
}

#tickets-page [data-tp-bg-cat="tennis"] {
  --tp-card-bg: url('assets/tennis/tennis_hero_wimbledon.jpg?v=2026120105');
  --tp-card-accent: #a3e635;
}

#tickets-page [data-tp-bg-cat="f1"],
#tickets-page [data-tp-bg-cat="motorsport"] {
  --tp-card-bg: url('assets/f1/f1_hero_baku.jpg?v=2026120105');
  --tp-card-accent: #f87171;
}

#tickets-page [data-tp-bg-cat="hockey"] {
  --tp-card-bg: url('assets/hockey/hockey_hero_arena.jpg?v=2026120105');
  --tp-card-accent: #38bdf8;
}

#tickets-page [data-tp-bg-cat="baseball"] {
  --tp-card-bg: url('assets/wings/baseball_hero.webp?v=2026120105');
  --tp-card-accent: #60a5fa;
}

#tickets-page [data-tp-bg-cat="handball"] {
  --tp-card-bg: url('assets/wings/handball_hero.webp?v=2026120105');
  --tp-card-accent: #34d399;
}

#tickets-page [data-tp-bg-cat="volleyball"] {
  --tp-card-bg: url('assets/wings/volleyball_hero.webp?v=2026120105');
  --tp-card-accent: #facc15;
}

#tickets-page [data-tp-bg-cat="cricket"] {
  --tp-card-bg: url('assets/wings/cricket_hero.webp?v=2026120105');
  --tp-card-accent: #4ade80;
}

#tickets-page [data-tp-bg-cat="rugby"] {
  --tp-card-bg: url('assets/wings/rugby_hero.webp?v=2026120105');
  --tp-card-accent: #34d399;
}

#tickets-page [data-tp-bg-cat="golf"] {
  --tp-card-bg: url('assets/wings/golf_hero.webp?v=2026120105');
  --tp-card-accent: #86efac;
}

#tickets-page [data-tp-bg-cat="olympics"] {
  --tp-card-bg: url('assets/wings/olympics_hero.webp?v=2026120105');
  --tp-card-accent: #fce7a2;
}

#tickets-page [data-tp-bg-cat="aquatics"] {
  --tp-card-bg: url('assets/wings/aquatics_hero.webp?v=2026120105');
  --tp-card-accent: #22d3ee;
}

#tickets-page [data-tp-bg-cat="winter"] {
  --tp-card-bg: url('assets/wings/winter_hero.webp?v=2026120105');
  --tp-card-accent: #7dd3fc;
}

#tickets-page [data-tp-bg-cat="cycling"] {
  --tp-card-bg: url('assets/wings/cycling_hero.webp?v=2026120105');
  --tp-card-accent: #facc15;
}

#tickets-page [data-tp-bg-cat="table_tennis"] {
  --tp-card-bg: url('assets/wings/table_tennis_hero.webp?v=2026120105');
  --tp-card-accent: #fb923c;
}

#tickets-page [data-tp-bg-cat="badminton"] {
  --tp-card-bg: url('assets/wings/badminton_hero.webp?v=2026120105');
  --tp-card-accent: #38bdf8;
}

#tickets-page [data-tp-bg-cat="padel"] {
  --tp-card-bg: url('assets/wings/padel_hero.webp?v=2026120105');
  --tp-card-accent: #34d399;
}

#tickets-page [data-tp-bg-cat="gymnastics"] {
  --tp-card-bg: url('assets/wings/gymnastics_hero.webp?v=2026120105');
  --tp-card-accent: #f472b6;
}

#tickets-page [data-tp-bg-cat="equestrian"] {
  --tp-card-bg: url('assets/wings/equestrian_hero.webp?v=2026120105');
  --tp-card-accent: #e6c473;
}

#tickets-page [data-tp-bg-cat="action_sports"] {
  --tp-card-bg: url('assets/wings/action_sports_hero.webp?v=2026120105');
  --tp-card-accent: #2dd4bf;
}

#tickets-page [data-tp-bg-cat="cue_darts"] {
  --tp-card-bg: url('assets/wings/cue_darts_hero.webp?v=2026120105');
  --tp-card-accent: #fbbf24;
}

#tickets-page [data-tp-bg-cat="chess"] {
  --tp-card-bg: url('assets/wings/chess_hero.webp?v=2026120105');
  --tp-card-accent: #f6dc93;
}

#tickets-page [data-tp-bg-cat="esports"] {
  --tp-card-bg: url('assets/wings/esports_hero.webp?v=2026120105');
  --tp-card-accent: #22d3ee;
}

/* 3D VIP Ticket Capsule Base Shell (Both Dark & Light Themes) */
#tickets-page .tp-card,
#tickets-page .tp-arc-card,
html[data-theme="light"] #tickets-page .tp-card,
html[data-theme="light"] #tickets-page .tp-arc-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-width: 0;
  max-width: 100%;
  background-color: #08130e;
  background-image: none;
  border: 1px solid rgba(246, 220, 147, 0.3);
  border-top: 2.5px solid var(--tp-card-accent, #e6c473);
  border-radius: 20px;
  padding: 17px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  color: #f8fafc;
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.42),
    0 2px 10px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 245, 214, 0.24),
    inset 0 -1px 0 rgba(16, 185, 129, 0.16);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.22s ease, box-shadow 0.24s ease;
}

html[data-theme="light"] #tickets-page .tp-card,
html[data-theme="light"] #tickets-page .tp-arc-card {
  box-shadow:
    0 16px 34px rgba(10, 26, 18, 0.2),
    0 3px 10px rgba(10, 26, 18, 0.1),
    inset 0 1px 0 rgba(255, 245, 214, 0.28);
}

#tickets-page .tp-card::before,
#tickets-page .tp-arc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--tp-card-bg);
  background-size: cover;
  background-position: center 26%;
  background-repeat: no-repeat;
  opacity: 0.48;
  transform: scale(1.02);
  transition: transform 0.44s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
  pointer-events: none;
}

#tickets-page .tp-card::after,
#tickets-page .tp-arc-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 92% 46% at 14% 0%, rgba(246, 220, 147, 0.15) 0%, transparent 56%),
    radial-gradient(ellipse 76% 54% at 92% 100%, rgba(16, 185, 129, 0.18) 0%, transparent 58%),
    linear-gradient(172deg, rgba(6, 15, 12, 0.58) 0%, rgba(7, 17, 13, 0.80) 40%, rgba(5, 12, 10, 0.95) 100%);
  pointer-events: none;
}

#tickets-page .tp-card > *,
#tickets-page .tp-arc-card > * {
  position: relative;
  z-index: 2;
}

@media (hover: hover) {
  #tickets-page .tp-card:hover,
  #tickets-page .tp-arc-card:hover,
  html[data-theme="light"] #tickets-page .tp-card:hover,
  html[data-theme="light"] #tickets-page .tp-arc-card:hover {
    transform: translateY(-4px);
    border-color: rgba(246, 220, 147, 0.68);
    box-shadow:
      0 24px 48px rgba(0, 0, 0, 0.5),
      0 0 24px rgba(230, 196, 115, 0.2),
      inset 0 1px 0 rgba(255, 248, 220, 0.36);
  }

  #tickets-page .tp-card:hover::before,
  #tickets-page .tp-arc-card:hover::before {
    transform: scale(1.07);
    opacity: 0.58;
  }
}

#tickets-page .tp-card.is-expanded,
html[data-theme="light"] #tickets-page .tp-card.is-expanded {
  border-color: rgba(246, 220, 147, 0.78);
  box-shadow:
    0 24px 52px rgba(0, 0, 0, 0.52),
    0 0 28px rgba(230, 196, 115, 0.24),
    inset 0 1px 0 rgba(255, 248, 220, 0.4);
}

/* Authentic 3D Ticket Perforation Tear-Line + Semicircular Stub Notches */
#tickets-page .tp-ticket-perf {
  direction: ltr;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  height: 18px;
  margin: 2px -18px;
  pointer-events: none;
  user-select: none;
}

#tickets-page .tp-perf-notch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #080c12;
  border: 1px solid rgba(246, 220, 147, 0.42);
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6);
}

html[data-theme="light"] #tickets-page .tp-perf-notch {
  background: #f2f4f8;
  border-color: rgba(168, 124, 34, 0.36);
  box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.18);
}

#tickets-page .tp-perf-notch.is-left {
  margin-left: -10px;
}

#tickets-page .tp-perf-notch.is-right {
  margin-right: -10px;
}

#tickets-page .tp-perf-line {
  position: relative;
  flex: 1 1 auto;
  height: 0;
  border-top: 1.5px dashed rgba(246, 220, 147, 0.38);
}

#tickets-page .tp-perf-line::after {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  width: 7px;
  height: 7px;
  transform: translateX(-50%) rotate(45deg);
  background: #f6dc93;
  box-shadow: 0 0 8px rgba(246, 220, 147, 0.72);
}

/* Card Badges & Top Row (WCAG AAA Contrast in Both Themes) */
#tickets-page .tp-card .th-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

#tickets-page .tp-card .th-cat-badge,
html[data-theme="light"] #tickets-page .tp-card .th-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 4px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: rgba(10, 22, 16, 0.82);
  border: 1px solid rgba(246, 220, 147, 0.5);
  color: #fce7a2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  max-width: 100%;
}

html[dir="rtl"] #tickets-page .tp-card .th-cat-badge,
html[dir="rtl"][data-theme="light"] #tickets-page .tp-card .th-cat-badge {
  padding: 3px 4px 3px 10px;
}

#tickets-page .tp-card .th-avail-badge,
html[data-theme="light"] #tickets-page .tp-card .th-avail-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: rgba(16, 185, 129, 0.22);
  border: 1px solid rgba(110, 231, 183, 0.48);
  color: #a7f3d0;
}

#tickets-page .tp-card .th-avail-badge.is-limited,
#tickets-page .tp-card .th-avail-badge.is-high_demand,
html[data-theme="light"] #tickets-page .tp-card .th-avail-badge.is-limited,
html[data-theme="light"] #tickets-page .tp-card .th-avail-badge.is-high_demand {
  background: rgba(245, 158, 11, 0.24);
  border-color: rgba(252, 211, 77, 0.56);
  color: #fde68a;
}

#tickets-page .tp-card .th-avail-badge.is-vip_only,
html[data-theme="light"] #tickets-page .tp-card .th-avail-badge.is-vip_only {
  background: rgba(230, 196, 115, 0.24);
  border-color: rgba(252, 231, 162, 0.6);
  color: #fef3c7;
}

#tickets-page .tp-card .th-date-chip,
html[data-theme="light"] #tickets-page .tp-card .th-date-chip {
  font-family: var(--font-mono, monospace);
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(6, 15, 11, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e4efe8;
  white-space: nowrap;
}

/* Match & Arena Header Typography */
#tickets-page .tp-card .th-card-title,
html[data-theme="light"] #tickets-page .tp-card .th-card-title {
  margin: 0;
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0.01em;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.72);
}

#tickets-page .tp-card .th-teams-row,
html[data-theme="light"] #tickets-page .tp-card .th-teams-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 12.5px;
  font-weight: 700;
  color: #edf7f1;
  margin-top: 3px;
}

#tickets-page .tp-card .th-team-logo {
  width: 20px;
  height: 20px;
  padding: 2px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  object-fit: contain;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

#tickets-page .tp-card .th-card-league,
html[data-theme="light"] #tickets-page .tp-card .th-card-league {
  font-size: 11.5px;
  font-weight: 700;
  color: #fce7a2;
  margin-top: 2px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

#tickets-page .tp-card .th-card-meta,
html[data-theme="light"] #tickets-page .tp-card .th-card-meta {
  font-size: 11.5px;
  font-weight: 500;
  color: #c8dcd0;
  line-height: 1.38;
  margin-top: 2px;
}

#tickets-page .tp-card .tp-flag-img.is-card,
html[data-theme="light"] #tickets-page .tp-card .tp-flag-img.is-card {
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.45);
}

/* 4 Face Value 3D Pricing Slots (Cat 3 / Cat 2 / Cat 1 / Glowing VIP Box) */
#tickets-page .tp-card .th-tiers-wrap {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

#tickets-page .tp-card .th-tiers-note,
html[data-theme="light"] #tickets-page .tp-card .th-tiers-note {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b5cbbd;
}

#tickets-page .tp-card .th-tier-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  min-width: 0;
}

#tickets-page .tp-card .th-tier-cell,
html[data-theme="light"] #tickets-page .tp-card .th-tier-cell {
  position: relative;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  border-radius: 12px;
  padding: 8px 6px;
  background: linear-gradient(165deg, rgba(16, 34, 26, 0.86) 0%, rgba(8, 18, 14, 0.94) 100%);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 3px;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

#tickets-page .tp-card .th-tier-cell:hover {
  transform: translateY(-1px);
  border-color: rgba(246, 220, 147, 0.42);
}

#tickets-page .tp-card .th-tier-name,
html[data-theme="light"] #tickets-page .tp-card .th-tier-name {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #b7ccc0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

#tickets-page .tp-card .th-tier-price,
html[data-theme="light"] #tickets-page .tp-card .th-tier-price {
  font-family: var(--font-mono, monospace);
  font-size: 12.5px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Golden Glowing 4th Tier — VIP / Box */
#tickets-page .tp-card .th-tier-cell.is-vip,
html[data-theme="light"] #tickets-page .tp-card .th-tier-cell.is-vip {
  border: 0;
  background: radial-gradient(circle at 50% 0%, rgba(252, 231, 162, 0.3) 0%, rgba(168, 122, 32, 0.16) 52%, rgba(20, 26, 17, 0.94) 100%);
  background-origin: border-box;
  background-clip: border-box;
  box-shadow:
    inset 0 0 0 1px rgba(246, 220, 147, 0.62),
    inset 0 2px 0 rgba(255, 248, 220, 0.46),
    0 6px 18px rgba(230, 196, 115, 0.22);
}

#tickets-page .tp-card .th-tier-cell.is-vip .th-tier-name,
html[data-theme="light"] #tickets-page .tp-card .th-tier-cell.is-vip .th-tier-name {
  color: #f6dc93;
}

#tickets-page .tp-card .th-tier-cell.is-vip .th-tier-price,
html[data-theme="light"] #tickets-page .tp-card .th-tier-cell.is-vip .th-tier-price {
  color: #fef08a;
  text-shadow: 0 0 12px rgba(246, 220, 147, 0.45);
}

/* Official Seller Row + Tactile 3D CTA Buttons (Law #18 Gradient Symmetry) */
#tickets-page .tp-card .th-seller-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  margin-top: auto;
  min-width: 0;
}

#tickets-page .tp-card .th-seller-badge,
html[data-theme="light"] #tickets-page .tp-card .th-seller-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 9px;
  font-size: 10.5px;
  font-weight: 800;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(110, 231, 183, 0.38);
  color: #a7f3d0;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#tickets-page .tp-card .th-seller-actions {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  min-width: 0;
}

#tickets-page .tp-card .th-official-link,
html[data-theme="light"] #tickets-page .tp-card .th-official-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 36px;
  min-width: 0;
  max-width: 100%;
  padding: 6px 12px;
  border: 0;
  border-radius: 11px;
  font-size: 11.5px;
  font-weight: 800;
  background: linear-gradient(145deg, rgba(246, 220, 147, 0.22) 0%, rgba(168, 122, 32, 0.18) 100%);
  background-origin: border-box;
  background-clip: border-box;
  color: #fce7a2;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow:
    inset 0 0 0 1px rgba(246, 220, 147, 0.56),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 5px 14px rgba(0, 0, 0, 0.28);
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

#tickets-page .tp-card .th-official-link:hover,
html[data-theme="light"] #tickets-page .tp-card .th-official-link:hover {
  transform: translateY(-1px);
  filter: brightness(1.12);
  box-shadow:
    inset 0 0 0 1px #fce7a2,
    0 8px 18px rgba(230, 196, 115, 0.26);
}

#tickets-page .tp-card .th-choose-btn,
html[data-theme="light"] #tickets-page .tp-card .th-choose-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 36px;
  min-width: 0;
  max-width: 100%;
  padding: 6px 13px;
  border: 0;
  border-radius: 11px;
  font-size: 11.5px;
  font-weight: 800;
  background: linear-gradient(135deg, #1f7b4f 0%, #145435 100%);
  background-origin: border-box;
  background-clip: border-box;
  color: #ffffff;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow:
    inset 0 0 0 1px rgba(110, 231, 183, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    0 6px 16px rgba(13, 86, 52, 0.36);
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

#tickets-page .tp-card .th-choose-btn:hover,
html[data-theme="light"] #tickets-page .tp-card .th-choose-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.09);
}

#tickets-page .tp-card .th-choose-btn.is-active,
html[data-theme="light"] #tickets-page .tp-card .th-choose-btn.is-active {
  border: 0;
  background: linear-gradient(135deg, #fce7a2 0%, #e6c473 54%, #c6912d 100%);
  background-origin: border-box;
  background-clip: border-box;
  color: #0e1812;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 8px 18px rgba(230, 196, 115, 0.34);
}

/* Expanded Channels Panel Inside 3D Card (Both Dark & Light) */
#tickets-page .tp-card .th-providers-panel {
  padding-top: 10px;
  border-top: 1px dashed rgba(246, 220, 147, 0.32);
  gap: 7px;
}

#tickets-page .tp-card .th-provider-row,
html[data-theme="light"] #tickets-page .tp-card .th-provider-row {
  background: rgba(9, 20, 15, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 8px 10px;
  color: #f8fafc;
}

#tickets-page .tp-card .th-provider-row.is-ecosystem-baku,
html[data-theme="light"] #tickets-page .tp-card .th-provider-row.is-ecosystem-baku {
  background: linear-gradient(135deg, rgba(230, 196, 115, 0.16), rgba(9, 20, 15, 0.94));
  border-color: rgba(246, 220, 147, 0.42);
  border-inline-start: 3px solid #f6dc93;
}

#tickets-page .tp-card .th-provider-row.is-ecosystem-esim,
html[data-theme="light"] #tickets-page .tp-card .th-provider-row.is-ecosystem-esim {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(9, 20, 15, 0.94));
  border-color: rgba(110, 231, 183, 0.42);
  border-inline-start: 3px solid #34d399;
}

#tickets-page .tp-card .th-provider-name,
html[data-theme="light"] #tickets-page .tp-card .th-provider-name {
  color: #ffffff;
}

#tickets-page .tp-card .th-provider-sub,
html[data-theme="light"] #tickets-page .tp-card .th-provider-sub {
  color: #bfd3c7;
}

#tickets-page .tp-card .th-provider-tag,
html[data-theme="light"] #tickets-page .tp-card .th-provider-tag {
  background: rgba(246, 220, 147, 0.16);
  border: 1px solid rgba(246, 220, 147, 0.42);
  color: #fce7a2;
}

#tickets-page .tp-card .th-provider-tag.is-official,
#tickets-page .tp-card .th-provider-tag.is-esim,
html[data-theme="light"] #tickets-page .tp-card .th-provider-tag.is-official,
html[data-theme="light"] #tickets-page .tp-card .th-provider-tag.is-esim {
  background: rgba(16, 185, 129, 0.22);
  border-color: rgba(110, 231, 183, 0.44);
  color: #a7f3d0;
}

#tickets-page .tp-card .th-provider-cta,
html[data-theme="light"] #tickets-page .tp-card .th-provider-cta {
  border: 0;
  background: linear-gradient(135deg, #fce7a2 0%, #e6c473 56%, #c6912d 100%);
  background-origin: border-box;
  background-clip: border-box;
  color: #0e1812;
  font-weight: 800;
  border-radius: 9px;
  padding: 6px 11px;
}

#tickets-page .tp-card .th-provider-cta.is-secondary,
html[data-theme="light"] #tickets-page .tp-card .th-provider-cta.is-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  box-shadow: inset 0 0 0 1px rgba(246, 220, 147, 0.45);
}

/* Played Archive 3D Cards (.tp-arc-card) */
#tickets-page .tp-arc-card .tp-arc-league,
html[data-theme="light"] #tickets-page .tp-arc-card .tp-arc-league {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fce7a2;
  font-weight: 800;
  min-width: 0;
}

#tickets-page .tp-arc-card .tp-arc-league span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#tickets-page .tp-arc-card .tp-arc-status,
html[data-theme="light"] #tickets-page .tp-arc-card .tp-arc-status {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e2ede6;
}

#tickets-page .tp-arc-card .tp-arc-status.is-post,
html[data-theme="light"] #tickets-page .tp-arc-card .tp-arc-status.is-post {
  background: rgba(16, 185, 129, 0.24);
  border-color: rgba(110, 231, 183, 0.45);
  color: #a7f3d0;
}

#tickets-page .tp-arc-card .tp-arc-status.is-in,
html[data-theme="light"] #tickets-page .tp-arc-card .tp-arc-status.is-in {
  background: rgba(220, 38, 38, 0.28);
  border-color: rgba(248, 113, 113, 0.55);
  color: #fecaca;
}

#tickets-page .tp-arc-card .tp-arc-team,
html[data-theme="light"] #tickets-page .tp-arc-card .tp-arc-team {
  color: #ffffff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.65);
}

#tickets-page .tp-arc-card .tp-arc-crest {
  background: rgba(255, 255, 255, 0.92);
  padding: 2px;
  border-radius: 7px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.42);
}

#tickets-page .tp-arc-card .tp-arc-score,
html[data-theme="light"] #tickets-page .tp-arc-card .tp-arc-score {
  background: linear-gradient(160deg, rgba(16, 36, 27, 0.92), rgba(7, 16, 12, 0.96));
  border: 1px solid rgba(246, 220, 147, 0.46);
  color: #fce7a2;
  border-radius: 10px;
  padding: 6px 11px;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.36);
}

#tickets-page .tp-arc-card .tp-arc-meta,
html[data-theme="light"] #tickets-page .tp-arc-card .tp-arc-meta {
  color: #c5d9cd;
}

#tickets-page .tp-arc-card .tp-arc-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  border-top: 0;
  padding-top: 2px;
}

#tickets-page .tp-arc-card .tp-arc-btn,
html[data-theme="light"] #tickets-page .tp-arc-card .tp-arc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
  min-height: 36px;
  padding: 6px 10px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(246, 220, 147, 0.2) 0%, rgba(168, 122, 32, 0.16) 100%);
  background-origin: border-box;
  background-clip: border-box;
  color: #fce7a2;
  font-size: 11.5px;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(246, 220, 147, 0.5);
  overflow: hidden;
  text-overflow: ellipsis;
}

#tickets-page .tp-arc-card .tp-arc-btn.is-primary,
html[data-theme="light"] #tickets-page .tp-arc-card .tp-arc-btn.is-primary {
  background: linear-gradient(135deg, #1f7b4f 0%, #145435 100%);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(110, 231, 183, 0.45);
}

/* Load More Button & Footer */
#tickets-page .tp-more-btn {
  min-height: 44px;
  padding: 10px 24px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #fce7a2 0%, #e6c473 54%, #c6912d 100%);
  background-origin: border-box;
  background-clip: border-box;
  color: #0e1812;
  font-size: 13px;
  font-weight: 800;
  box-shadow:
    0 10px 24px rgba(230, 196, 115, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  transition: transform 0.16s ease, filter 0.16s ease;
}

#tickets-page .tp-more-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

html[data-theme="light"] #tickets-page .tp-more-btn {
  background: linear-gradient(135deg, #1b6541 0%, #11452b 100%);
  color: #ffffff;
  box-shadow:
    0 10px 24px rgba(17, 69, 43, 0.24),
    inset 0 0 0 1px rgba(246, 220, 147, 0.46);
}

#tickets-page .tp-foot {
  background: linear-gradient(155deg, rgba(12, 24, 18, 0.92), rgba(7, 15, 11, 0.96));
  border: 1px solid rgba(246, 220, 147, 0.22);
  border-radius: 16px;
  color: #b7ccc0;
}

html[data-theme="light"] #tickets-page .tp-foot {
  background: #ffffff;
  border-color: rgba(15, 35, 24, 0.12);
  color: #3f4e45;
  box-shadow: 0 8px 20px rgba(15, 35, 24, 0.06);
}

/* ================= 5. RESPONSIVE PERFECTION (320px – 1600px) ================= */
@media (max-width: 960px) {
  #tickets-page .tp-hero-banner-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  #tickets-page .tp-hero-medallion {
    flex-direction: row;
    padding: 9px 14px;
    gap: 11px;
    min-width: 0;
    max-width: 100%;
    border-radius: 999px;
  }

  #tickets-page .tp-medallion-orbit {
    width: 44px;
    height: 44px;
  }

  #tickets-page .tp-medallion-orbit::before {
    inset: -4px;
  }

  #tickets-page .tp-medallion-img {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 860px) {
  #tickets-page .tp-kpi-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #tickets-page .tp-title,
  html[data-theme="light"] #tickets-page .tp-title {
    font-size: 31px;
  }
}

@media (max-width: 640px) {
  #tickets-page.tickets-page-slide {
    padding: 14px 0 60px;
  }

  #tickets-page .tp-hero,
  html[data-theme="light"] #tickets-page .tp-hero {
    padding: 16px 14px;
    border-radius: 18px;
    gap: 13px;
  }

  #tickets-page .tp-hero-right {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  #tickets-page .tp-currency-pills,
  html[data-theme="light"] #tickets-page .tp-currency-pills {
    flex: 1 1 auto;
    flex-wrap: nowrap;
    gap: 2px;
    padding: 3px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  #tickets-page .tp-currency-pills::-webkit-scrollbar {
    display: none;
  }

  #tickets-page .tp-cur-pill,
  html[data-theme="light"] #tickets-page .tp-cur-pill {
    padding: 4px 5.5px;
    font-size: 9.8px;
  }

  #tickets-page .tp-title,
  html[data-theme="light"] #tickets-page .tp-title {
    font-size: 26px;
  }

  #tickets-page .tp-subtitle,
  html[data-theme="light"] #tickets-page .tp-subtitle {
    font-size: 13.5px;
  }

  #tickets-page .tp-controls,
  #tickets-page .tp-archive-panel,
  html[data-theme="light"] #tickets-page .tp-controls,
  html[data-theme="light"] #tickets-page .tp-archive-panel {
    padding: 14px 12px;
    border-radius: 17px;
  }

  #tickets-page .tp-geo-row {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  #tickets-page .tp-geo-label-wrap {
    min-width: 0;
  }

  #tickets-page .tp-grid,
  #tickets-page .tp-archive-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  #tickets-page .tp-card,
  #tickets-page .tp-arc-card,
  html[data-theme="light"] #tickets-page .tp-card,
  html[data-theme="light"] #tickets-page .tp-arc-card {
    padding: 15px 14px 14px;
    border-radius: 18px;
  }

  #tickets-page .tp-ticket-perf {
    margin: 2px -14px;
  }
}

@media (max-width: 520px) {
  #tickets-page .tp-card .th-seller-row {
    flex-direction: column;
    align-items: stretch;
  }

  #tickets-page .tp-card .th-seller-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    gap: 7px;
  }

  #tickets-page .tp-card .th-tier-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 460px) {
  #tickets-page .tp-mode-bar,
  #tickets-page .tp-mode-tabs {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  #tickets-page .tp-mode-btn {
    min-height: 48px;
    padding: 9px 13px;
    font-size: 13px;
    justify-content: flex-start;
  }

  #tickets-page .tp-kpi-box,
  html[data-theme="light"] #tickets-page .tp-kpi-box {
    padding: 10px 10px;
    gap: 8px;
  }

  #tickets-page .tp-ico3d-orb.is-kpi {
    width: 28px;
    height: 28px;
  }

  #tickets-page .tp-kpi-box strong,
  html[data-theme="light"] #tickets-page .tp-kpi-box strong {
    font-size: 20px;
  }

  #tickets-page .tp-kpi-box span,
  html[data-theme="light"] #tickets-page .tp-kpi-box span {
    font-size: 10.5px;
  }

  #tickets-page .tp-cur-pill,
  html[data-theme="light"] #tickets-page .tp-cur-pill {
    padding: 4px 8px;
    font-size: 10.5px;
  }
}

@media (max-width: 360px) {
  #tickets-page .tp-title,
  html[data-theme="light"] #tickets-page .tp-title {
    font-size: 23px;
  }

  #tickets-page .tp-card .th-card-title,
  html[data-theme="light"] #tickets-page .tp-card .th-card-title {
    font-size: 18px;
  }

  #tickets-page .tp-card .th-official-link,
  #tickets-page .tp-card .th-choose-btn,
  html[data-theme="light"] #tickets-page .tp-card .th-official-link,
  html[data-theme="light"] #tickets-page .tp-card .th-choose-btn {
    font-size: 11px;
    padding: 6px 8px;
  }

  #tickets-page .tp-medallion-tag {
    font-size: 8.5px;
    letter-spacing: 0.06em;
  }
}

/* ================= 6. REDUCED MOTION ================= */
@media (prefers-reduced-motion: reduce) {
  #tickets-page .tp-medallion-orbit::before {
    animation: none !important;
  }

  #tickets-page .tp-card,
  #tickets-page .tp-card::before,
  #tickets-page .tp-arc-card,
  #tickets-page .tp-arc-card::before,
  #tickets-page .tp-mode-btn,
  #tickets-page .tp-rail-btn {
    transition: none !important;
  }
}
