/* Tournament cards */
.tir-tcards {
  display: grid;
  gap: 1rem;
}
@media (min-width: 580px) {
  .tir-tcards {
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  }
}
.tir-tcard {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.055),
    rgba(255, 255, 255, 0.018)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid var(--tcc, #ff2028);
  border-radius: 8px;
  padding: 1.375rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.tir-tcard:hover {
  transform: translateY(-3px);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.5),
    0 6px 20px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.2);
  border-left-color: var(--tcc, #ff2028);
}
.tir-tcard__body {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.tir-tcard__badges {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.tir-tcard__sbadge {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25em 0.75em;
  border-radius: 20px;
  background: var(--tcc, #ff2028);
  color: #fff;
  white-space: nowrap;
}
.tir-tcard__sbadge--invite {
  color: #f4efff;
  background: linear-gradient(135deg, #3a1b66 0%, #6d3db7 58%, #8b5fd1 100%);
  border: 1px solid rgba(207, 179, 255, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 4px 16px rgba(77, 35, 132, 0.34);
}
.tir-tcard__kobadge {
  display: inline-flex;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25em 0.65em;
  border-radius: 20px;
  background: #ff2028;
  color: #fff;
  white-space: nowrap;
}
.tir-tcard__gtdbadge {
  display: inline-flex;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25em 0.65em;
  border-radius: 20px;
  background: #f59e0b;
  color: #fff;
  white-space: nowrap;
}
.tir-tcard__fbadge {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.28em 0.65em;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}
.tir-tcard__name {
  font-family: "Oswald", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.3em;
}
.tir-tcard__koicon {
  color: #ff2028;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}
.tir-tcard__time {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}
.tir-tcard__seats {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.tir-tcard__bar {
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.tir-tcard__bar-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.4s;
}
.tir-tcard__slabel {
  font-size: 0.77rem;
  color: rgba(255, 255, 255, 0.38);
  margin: 0;
}
.tir-tcard__cta {
  margin-top: 0.2rem;
}
.tir-tcard__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  background: transparent;
  border: 1px solid rgba(255, 32, 40, 0.42);
  color: #fff;
  border-radius: 8px;
  padding: 0.5em 1.1em;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    background 0.14s,
    border-color 0.14s;
  line-height: 1.2;
}
.tir-tcard__link:hover {
  background: rgba(255, 32, 40, 0.1);
  border-color: rgba(255, 32, 40, 0.7);
}
/* Highlighted tournament - coloured label banner */
.tir-tcard--highlighted {
  --hl-color: #f1c40f;
  --hl-text: #1b1207;
  border-color: var(--hl-color);
  border-left-color: var(--hl-color);
  padding-top: 2.5rem;
}
.tir-tcard--highlighted::before {
  content: attr(data-highlight-label);
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  background: var(--hl-color);
  color: var(--hl-text);
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 8px 8px 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tir-tcard--highlighted:hover {
  border-color: var(--hl-color);
  border-left-color: var(--hl-color);
}

/* Custom lightbox (replaces Fancybox) */
.tir-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  touch-action: pan-y;
  animation: tir-lightbox-fade 0.28s ease both;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.tir-lightbox.is-closing {
  pointer-events: none;
}
.tir-lightbox__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 4.5rem 4rem;
  box-sizing: border-box;
  perspective: 1200px;
}
.tir-lightbox__img {
  display: block;
  max-width: 92vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 8px;
  cursor: default;
  box-shadow:
    0 2rem 6rem rgba(0, 0, 0, 0.78),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
  transform-origin: center center;
  will-change: transform, opacity, filter;
  animation: tir-lightbox-pop 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.tir-lightbox__img.is-next {
  animation: tir-lightbox-next 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.tir-lightbox__img.is-prev {
  animation: tir-lightbox-prev 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.tir-lightbox__close,
.tir-lightbox__prev,
.tir-lightbox__next {
  position: fixed;
  background: rgba(18, 18, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition:
    background 0.18s,
    border-color 0.18s,
    transform 0.18s,
    opacity 0.18s;
  z-index: 9001;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.tir-lightbox__close:hover,
.tir-lightbox__prev:hover,
.tir-lightbox__next:hover {
  background: rgba(255, 32, 40, 0.22);
  border-color: rgba(255, 32, 40, 0.42);
  transform: scale(1.06);
}
.tir-lightbox__close {
  top: 1.25rem;
  right: 1.25rem;
}
.tir-lightbox__prev {
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
}
.tir-lightbox__next {
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
}
.tir-lightbox__prev:hover {
  transform: translateY(-50%) scale(1.06);
}
.tir-lightbox__next:hover {
  transform: translateY(-50%) scale(1.06);
}
.tir-lightbox__counter {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  font-weight: 500;
  pointer-events: none;
}
@keyframes tir-lightbox-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes tir-lightbox-pop {
  from {
    opacity: 0;
    transform: scale(0.985);
    filter: brightness(0.82);
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: brightness(1);
  }
}
@keyframes tir-lightbox-next {
  from {
    opacity: 0;
    transform: translate3d(3rem, 0, 0) scale(0.985);
    filter: brightness(0.82);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: brightness(1);
  }
}
@keyframes tir-lightbox-prev {
  from {
    opacity: 0;
    transform: translate3d(-3rem, 0, 0) scale(0.985);
    filter: brightness(0.82);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: brightness(1);
  }
}
@media (max-width: 767px) {
  .tir-lightbox__stage {
    padding: 4rem 0;
  }
  .tir-lightbox__img {
    max-width: 100vw;
    max-height: 82vh;
    border-radius: 6px;
  }
  .tir-lightbox__prev,
  .tir-lightbox__next {
    display: none;
  }
  .tir-lightbox__close {
    top: calc(1rem + var(--tir-safe-top));
    right: 1rem;
  }
  .tir-lightbox__counter {
    bottom: calc(1rem + env(safe-area-inset-bottom));
  }
}
@media (prefers-reduced-motion: reduce) {
  .tir-lightbox,
  .tir-lightbox__img,
  .tir-lightbox__img.is-next,
  .tir-lightbox__img.is-prev {
    animation: none !important;
  }
}

/* Gallery - main.css sets cursor:default, override for interactive buttons/links */
.tir-gallery__item {
  cursor: pointer;
}

/* Franchise finance blocks: keep chart/table inside mobile viewport */
@media (max-width: 520px) {
  .tir-analytics,
  .tir-chart,
  .tir-stress {
    min-width: 0;
  }
  .tir-chart__title {
    font-size: 1rem;
  }
  .tir-chart__grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    align-items: stretch;
  }
  .tir-chart__row {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .tir-chart__row:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .tir-chart__meta {
    display: contents;
  }
  .tir-chart__month {
    order: -1;
    flex: 0 0 42px;
    width: 42px;
    margin: 0;
    font-size: 0.7rem;
    font-weight: 700;
    text-align: left;
  }
  .tir-chart__bars {
    order: 0;
    flex: 1 1 0%;
    min-width: 0;
    height: auto !important;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 5px !important;
  }
  .tir-chart__bar {
    height: 7px !important;
    max-width: none;
    border-radius: 3px;
    align-self: auto;
    transform-origin: left center;
  }
  .tir-chart__bar--revenue {
    width: calc(var(--revenue) * 1%);
  }
  .tir-chart__bar--profit {
    width: calc(var(--profit) * 1%);
  }
  .tir-chart__values {
    order: 1;
    flex: 0 0 68px;
    width: 68px;
    font-size: 0.7rem;
    line-height: 1.35;
    text-align: right;
    color: rgba(255, 255, 255, 0.72);
  }
  .tir-chart__values b {
    display: block;
    color: #fff;
  }
  .tir-chart__grid:not(.is-bars-animated) .tir-chart__bar {
    transform: scaleX(0);
  }
  .tir-chart__grid.is-bars-animated .tir-chart__bar {
    animation-name: tir-bar-grow-x;
  }
  .tir-stress__title {
    font-size: 1rem;
  }
  .tir-stress__tablewrap {
    overflow-x: visible;
  }
  .tir-stress__table {
    display: block;
    min-width: 0;
    width: 100%;
  }
  .tir-stress__table thead {
    display: none;
  }
  .tir-stress__table tbody {
    display: block;
  }
  .tir-stress__table tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 12px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  .tir-stress__table tr:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .tir-stress__table td {
    display: block;
    padding: 0;
    border: none;
    font-size: 0.875rem;
    line-height: 1.4;
    text-align: center;
  }
  .tir-stress__table td:nth-child(1) {
    grid-column: span 2;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text);
    font-size: 0.9375rem;
    font-weight: 700;
  }
  .tir-stress__table td:nth-child(2),
  .tir-stress__table td:nth-child(3) {
    font-weight: 600;
  }
  .tir-stress__table td:nth-child(2)::before,
  .tir-stress__table td:nth-child(3)::before {
    display: block;
    margin-bottom: 3px;
    color: rgba(255, 255, 255, 0.38);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
  }
  .tir-stress__table td:nth-child(2) {
    color: var(--accent-strong);
  }
  .tir-stress__table td:nth-child(2)::before {
    content: "\00041E\00043A\000443\00043F\000430\000435\00043C\00043E\000441\000442\00044C";
  }
  .tir-stress__table td:nth-child(3)::before {
    content: "\00041F\000440\000438\000431\00044B\00043B\00044C";
  }
}

/* Checkbox */
.tir-check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  cursor: pointer;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.5;
  -webkit-user-select: none;
  user-select: none;
}
.tir-check input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.18rem;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  position: relative;
  transition:
    border-color 0.14s,
    background 0.14s;
}
.tir-check input[type="checkbox"]:checked {
  background: #ff2028;
  border-color: #ff2028;
}
.tir-check input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.36rem;
  height: 0.62rem;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -56%) rotate(45deg);
  transform-origin: center;
}
.tir-check a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
}
.tir-check a:hover {
  color: #fff;
}

/* Modal backdrop fade (React mounts without is-visible, adds it after first paint) */
.modal {
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* Form error text */
.tir-form-error {
  display: block;
  color: #ff8a8e;
  font-size: 0.78rem;
  margin-top: 0.3rem;
  line-height: 1.3;
}

html,
body {
  background: #000;
}
:root {
  --tir-safe-top: 0px;
  --tir-mobile-header: 4.5rem;
}

@supports (padding: max(0px)) {
  :root {
    --tir-safe-top: env(safe-area-inset-top);
  }
  .tir-header__mobile {
    top: 100%;
  }
}

/* Header social links */
.tir-header__socials {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
}
.tir-header__contact {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.25rem;
  padding: 0 0.8rem 0 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition:
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}
.tir-header__contact i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: auto;
  height: auto;
  background: transparent;
  color: rgba(255, 32, 40, 0.74);
  font-size: 0.82rem;
  line-height: 1;
  transition:
    color 0.22s ease,
    transform 0.22s ease;
}
.tir-header__contact:hover {
  border-color: rgba(255, 32, 40, 0.62);
  background: rgba(255, 32, 40, 0.1);
  box-shadow:
    0 0 0 1px rgba(255, 32, 40, 0.1),
    0 0 20px rgba(255, 32, 40, 0.2);
  transform: translateY(-1px);
}
.tir-header__social.social {
  width: auto;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.tir-header__social.social > i {
  width: 2.25rem;
  height: 2.25rem;
  margin: 0;
  font-size: 0.9rem;
  transition:
    border-color 0.22s ease,
    background 0.22s ease,
    color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}
.tir-header__social.social > i svg {
  width: 0.9rem;
  height: 0.9rem;
}
.tir-header__social.social:hover {
  background: transparent;
  transform: none;
}
.tir-header__social.social:hover > i {
  border-color: rgba(255, 32, 40, 0.72);
  background: rgba(255, 32, 40, 0.14);
  box-shadow:
    0 0 0 1px rgba(255, 32, 40, 0.12),
    0 0 20px rgba(255, 32, 40, 0.24);
  transform: translateY(-1px);
}
.tir-header__mobile-socials {
  display: flex;
  justify-content: center;
}
.tir-header__mobile-socials .tir-header__socials {
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.tir-header__mobile-socials .tir-header__social.social > i {
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1rem;
}
.tir-header__mobile-socials .tir-header__contact {
  width: auto;
  max-width: 100%;
  justify-content: center;
  min-height: 2.25rem;
  margin: 0 auto 0.15rem;
  padding: 0 0.9rem 0 0.55rem;
  font-size: 0.8rem;
}
.tir-header__mobile-socials .tir-header__contact-text {
  display: inline;
}
.tir-header__mobile-socials .tir-header__contact i {
  width: auto;
  height: auto;
  font-size: 1rem;
}

/* Header polish */
.tir-header__inner {
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(1.25rem, 2.4vw, 2.75rem);
}
.tir-header__nav {
  justify-self: center;
  min-width: 0;
}
.tir-header__nav-list {
  gap: clamp(14px, 1.45vw, 22px);
}
.tir-header__actions {
  min-width: 0;
}
.tir-header__socials {
  gap: 0.25rem;
  padding: 0;
  border: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.tir-header__contact {
  min-height: 2rem;
  padding: 0 0.65rem 0 0.45rem;
  border-color: rgba(255, 32, 40, 0.2);
  background: transparent;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.72rem;
  letter-spacing: 0.01em;
}
.tir-header__contact i {
  width: auto;
  height: auto;
  background: transparent;
  color: rgba(255, 32, 40, 0.74);
  font-size: 0.82rem;
}
.tir-header__contact:hover {
  border-color: rgba(255, 32, 40, 0.56);
  background: rgba(255, 32, 40, 0.1);
  box-shadow:
    0 0 0 1px rgba(255, 32, 40, 0.08),
    0 0 16px rgba(255, 32, 40, 0.18);
}
.tir-header__contact:hover i {
  color: rgba(255, 32, 40, 0.95);
  transform: translateY(-1px);
}
.tir-header__social.social > i {
  width: 2rem;
  height: 2rem;
  border-color: rgba(255, 32, 40, 0.2);
  background: transparent;
  color: rgba(255, 32, 40, 0.74);
  font-size: 0.82rem;
}
.tir-header__social.social > i svg {
  width: 0.82rem;
  height: 0.82rem;
}
.tir-header__social.social:hover > i {
  border-color: rgba(255, 32, 40, 0.56);
  background: rgba(255, 32, 40, 0.1);
  box-shadow:
    0 0 0 1px rgba(255, 32, 40, 0.08),
    0 0 16px rgba(255, 32, 40, 0.18);
}
@media (max-width: 1180px) {
  .tir-header__contact {
    width: 2rem;
    min-width: 2rem;
    padding: 0;
    justify-content: center;
    gap: 0;
  }
  .tir-header__contact-text {
    display: none;
  }
}
/* Mobile header alignment */
@media (max-width: 991px) {
  .tir-header {
    background: #050505;
  }
  .tir-header__inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 4.5rem;
  }
  .tir-header__logo {
    display: flex;
    align-items: center;
    max-width: 132px;
  }
  .tir-header__logo-img {
    display: block;
    width: 100%;
    height: auto;
  }
  .tir-header__nav {
    display: none;
  }
  .tir-header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-left: auto;
  }
  .tir-header__actions .tir-header__contact {
    width: 2rem;
    min-width: 2rem;
    padding: 0;
    justify-content: center;
    gap: 0;
  }
  .tir-header__actions .tir-header__contact-text {
    display: none;
  }
  .tir-header__phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border-radius: 50%;
  }
  .tir-header__phone-text {
    display: none;
  }
  .tir-header__phone i {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1;
  }
  .tir-header__burger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin: 0;
    flex: 0 0 auto;
  }
  .tir-header__burger span {
    width: 1.65rem;
    height: 2px;
  }
  .tir-header__mobile {
    display: block;
  }
}

@supports (-webkit-touch-callout: none) {
  @media (max-width: 991px) {
    .tir-header,
    .tir-header.is-scrolled {
      background: #050505;
      -webkit-backdrop-filter: none;
      backdrop-filter: none;
    }
    .tir-header__mobile {
      background: #050505;
      -webkit-backdrop-filter: none;
      backdrop-filter: none;
    }
  }
}

@media (max-width: 560px) {
  .tir-header__actions .tir-header__social {
    display: none;
  }
  .tir-header__actions .tir-header__contact {
    width: auto;
    min-width: 0;
    padding: 0 0.65rem 0 0.45rem;
    justify-content: center;
    gap: 0.5rem;
  }
  .tir-header__actions .tir-header__contact-text {
    display: inline;
  }
  .tir-header__mobile-socials .tir-header__contact-text {
    display: inline;
  }
}

@media (max-width: 370px) {
  .tir-header__actions .tir-header__contact {
    width: 2rem;
    min-width: 2rem;
    padding: 0;
    gap: 0;
  }
  .tir-header__actions .tir-header__contact-text {
    display: none;
  }
}

@media (max-width: 991px) {
  .tir-header__mobile-socials .tir-header__contact-text {
    display: inline;
  }
}
@media (max-width: 767px) and (display-mode: standalone) {
  body {
    padding-top: var(--tir-safe-top);
  }
  body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--tir-safe-top);
    background: #050505;
    z-index: 101;
    pointer-events: none;
  }
  .tir-header {
    top: var(--tir-safe-top);
  }
}

@media (max-width: 767px) {
  html.is-standalone body {
    padding-top: var(--tir-safe-top);
  }
  html.is-standalone body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--tir-safe-top);
    background: #050505;
    z-index: 101;
    pointer-events: none;
  }
  html.is-standalone .tir-header {
    top: var(--tir-safe-top);
  }
}

/* Fixed support widget */
.tir-support-widget {
  position: fixed;
  right: max(1.25rem, env(safe-area-inset-right));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  z-index: 10001;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 0.625rem;
}
.tir-support-widget__menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.625rem);
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: 0.5rem;
  width: max-content;
  min-width: 100%;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transform: translateY(0.75rem) scale(0.96);
  transform-origin: right bottom;
  transition:
    opacity 0.2s ease,
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0.25s;
}
.tir-support-widget.is-open .tir-support-widget__menu {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}
.tir-support-widget__action,
.tir-support-widget__toggle {
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.tir-support-widget__action {
  justify-content: flex-start;
  gap: 0.7rem;
  padding: 0.75rem 1rem;
  background: rgba(10, 10, 10, 0.92);
  font-size: 0.875rem;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}
.tir-support-widget__action i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  color: #ff2028;
  font-size: 1rem;
}
.tir-support-widget__action:hover {
  border-color: rgba(255, 32, 40, 0.55);
  background: rgba(24, 10, 11, 0.96);
  transform: translateX(-3px);
}
.tir-support-widget__toggle {
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1rem;
  background: linear-gradient(135deg, #d90d17, #ff2028);
  font-size: 0.9rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.tir-support-widget__toggle:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 42px rgba(255, 32, 40, 0.25),
    0 10px 28px rgba(0, 0, 0, 0.5);
}
.tir-support-widget__toggle i {
  font-size: 0.7rem;
  transition: transform 0.22s ease;
}
.tir-support-widget.is-open .tir-support-widget__toggle i {
  transform: rotate(180deg);
}
.tir-support-widget__pulse {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.16);
}
@media (max-width: 479px) {
  .tir-support-widget {
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: max(0.75rem, env(safe-area-inset-bottom));
  }
  .tir-support-widget__toggle {
    padding: 0.75rem 0.875rem;
    font-size: 0.84rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tir-support-widget__menu,
  .tir-support-widget__action,
  .tir-support-widget__toggle,
  .tir-support-widget__toggle i {
    transition: none;
  }
}
.tg-redirect {
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2rem 1rem;
  background:
    radial-gradient(
      ellipse 80% 80% at 50% -10%,
      rgba(255, 32, 40, 0.14),
      transparent 60%
    ),
    radial-gradient(
      ellipse 55% 80% at 0% 50%,
      rgba(255, 32, 40, 0.24),
      transparent
    ),
    radial-gradient(
      ellipse 42% 55% at 100% 25%,
      rgba(125, 10, 16, 0.18),
      transparent
    ),
    #000;
}
.tg-redirect::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 4rem 4rem;
  mask-image: radial-gradient(circle at 50% 48%, #000 0%, transparent 72%);
  opacity: 0.55;
  pointer-events: none;
}
.tg-redirect__content {
  position: relative;
  z-index: 1;
  width: min(100%, 24rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.tg-redirect__logo {
  display: block;
  width: min(70vw, 18rem);
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.56))
    drop-shadow(0 0 22px rgba(255, 32, 40, 0.16));
}
.tg-redirect__loader {
  width: min(54vw, 12rem);
  height: 0.25rem;
  margin: 2rem 0 0;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.tg-redirect__loader span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, #ff2028, #fff);
  animation: tg-loader 1.05s cubic-bezier(0.55, 0, 0.2, 1) infinite;
}
@keyframes tg-loader {
  0% {
    transform: translateX(-105%);
  }
  100% {
    transform: translateX(245%);
  }
}
@media (max-width: 620px) {
  .tg-redirect__logo {
    width: min(76vw, 15rem);
  }
}
.tir-contact-methods {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.tir-contact-methods__title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
}
.tir-contact-methods__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}
.tir-contact-methods__item {
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  padding: 0.65rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.86rem;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.82);
}
.tir-contact-methods__item span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 560px) {
  .tir-contact-methods__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* Mobile menu contact layout */
@media (max-width: 991px) {
  .tir-header__mobile-socials .tir-header__socials {
    display: grid;
    grid-template-columns: repeat(5, auto);
    justify-content: center;
    align-items: center;
    gap: 0.65rem;
  }
  .tir-header__mobile-socials .tir-header__contact {
    grid-column: 1/-1;
    justify-self: center;
    width: auto;
    min-width: 0;
    min-height: 2.55rem;
    margin: 0 0 0.25rem;
    padding: 0 1rem 0 0.7rem;
    gap: 0.55rem;
  }
  .tir-header__mobile-socials .tir-header__contact-text {
    display: inline;
    font-size: 0.86rem;
  }
  .tir-header__mobile-socials .tir-header__contact i {
    width: auto;
    height: auto;
    font-size: 1rem;
  }
}
.tir-kicker::before,
.tir-hero .tir-kicker::before {
  display: none;
}
.tir-calc__note-footnote {
  display: block;
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.78rem;
  line-height: 1.35;
}

/* Franchise videos */
.tir-media__videos--franchise {
  align-items: stretch;
  margin-bottom: 2rem;
}
.tir-video-card--button {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  font: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.tir-video-card--button:focus-visible {
  outline: 2px solid rgba(255, 32, 40, 0.78);
  outline-offset: 4px;
}
.tir-video-card__thumb {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  isolation: isolate;
}
.tir-video-card__play {
  z-index: 3;
}
.tir-video-card__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.12),
      rgba(0, 0, 0, 0.12) 42%,
      rgba(0, 0, 0, 0.74)
    ),
    radial-gradient(circle at 50% 46%, rgba(255, 32, 40, 0.18), transparent 44%);
  pointer-events: none;
}
.tir-video-card__duration {
  position: absolute;
  right: 0.875rem;
  bottom: 0.75rem;
  z-index: 2;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
}
.tir-video-card__eyebrow {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tir-video-card__body,
.tir-video-card__title,
.tir-video-card__text {
  display: block;
}
.tir-video-card__body {
  flex: 1 1 auto;
}
.modal-video {
  max-width: min(1040px, calc(100vw - 32px));
  padding: 18px;
}
.modal-video .modal-header {
  margin-bottom: 14px;
  padding: 4px 56px 0 4px;
}
.modal-video .modal-header-title {
  font-size: clamp(1.25rem, 2.1vw, 1.8rem);
  line-height: 1.12;
}
.tir-video-modal__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: calc(var(--radius) - 4px);
  background: #050505;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.42);
}
.tir-video-modal__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}
@media (max-width: 767px) {
  .tir-media__videos--franchise {
    margin-bottom: 1.25rem;
  }
  .modal-video {
    max-width: none;
    padding: 14px;
  }
  .modal-video .modal-header {
    padding-right: 48px;
  }
}
