/* Delivery bundle generated from design-system.css for route-events. */

@layer components {
.event-card {
  touch-action: pan-y;
  will-change: transform;
}

.event-card.is-swipe-dragging {
  transition: none !important;
}

.event-card--swipe-success {
  animation: fftri-like-pop var(--duration-emphasis) ease;
}

.fftri-events-banner-shell {
  overflow: hidden;
}

.fftri-events-section-header {
  margin-top: var(--space-2);
  margin-bottom: var(--space-2);
}

.fftri-events-section-title {
  color: var(--color-text-muted);
  font-size: var(--type-label);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fftri-account-section-header {
  margin-bottom: var(--space-1);
}



.fftri-event-detail-organizer-card {
  margin-top: var(--space-2);
  padding: var(--space-4);
}

.fftri-event-detail-organizer-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fftri-event-detail-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fftri-event-detail-documents {
  margin-top: var(--space-3);
  display: grid;
  gap: var(--space-2);
}

.fftri-event-detail-link-list {
  margin-top: var(--space-3);
  display: grid;
  gap: var(--space-2);
}

.fftri-event-detail-poster {
  width: 100%;
  height: auto;
  border-radius: 1.25rem;
  object-fit: contain;
}

.fftri-card-title-inverse {
  color: var(--color-white);
  font-size: var(--type-ui);
  font-weight: var(--fw-extrabold);
  line-height: 1.35;
}

.fftri-card-meta-inverse {
  color: var(--overlay-white-80);
  font-size: var(--type-meta);
  line-height: 1.45;
}

.fftri-card-overline-inverse {
  color: var(--overlay-white-72);
  font-size: var(--type-caption);
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fftri-card-day {
  font-size: var(--fs-24);
  line-height: 1;
  font-weight: var(--fw-black);
}

.fftri-card-icon-badge {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
}

.fftri-card-icon-badge--brand {
  background: var(--overlay-brand-blue-10);
  color: var(--fftri-blue);
}

.fftri-card-dot-badge {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: var(--radius-full);
  background: var(--fftri-red);
}

.fftri-select-filter-label {
  display: block;
  color: var(--color-text-muted);
  font-size: var(--type-label);
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fftri-select-filter-control {
  width: 100%;
  margin-top: var(--space-1);
}

.fftri-empty-state-title {
  color: var(--color-text-default);
  font-size: var(--type-ui);
  font-weight: var(--fw-bold);
  line-height: 1.4;
}

.fftri-empty-state-subtitle {
  margin-top: var(--space-1);
  color: var(--color-text-muted);
  font-size: var(--type-meta);
  line-height: 1.45;
}

.fftri-language-card-title {
  color: var(--color-text-muted);
  font-size: var(--type-caption);
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fftri-status-loader-label {
  margin-top: var(--space-2);
  color: var(--color-text-soft);
  font-size: var(--type-caption);
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fftri-loading-lines,
.fftri-weather-skeleton {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  width: 100%;
}

.fftri-reference-hero {
  min-height: auto;
  padding: var(--space-4) var(--space-4) var(--space-5);
}

.fftri-reference-hero::before,
.fftri-reference-hero::after {
  display: none;
}

.fftri-reference-hero__body {
  position: relative;
  z-index: 2;
  margin-top: calc(var(--space-8) + var(--space-3));
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.fftri-reference-hero__title {
  color: var(--color-white);
  font-size: var(--fs-24);
  font-weight: var(--fw-extrabold);
  line-height: 1.15;
}

.fftri-reference-hero__subtitle {
  max-width: 34rem;
  color: var(--overlay-white-82);
  font-size: var(--type-ui);
  line-height: 1.5;
}

.fftri-detail-hero {
  position: relative;
  overflow: hidden;
}

.fftri-detail-hero--results {
  padding-bottom: var(--space-8);
}

.fftri-detail-hero--challenge {
  padding-bottom: var(--space-6);
}

.fftri-challenge-hero__body {
  position: relative;
  z-index: var(--z-index-overlay);
  padding-top: calc(var(--space-12) + var(--space-8));
}

.fftri-topbar-search-input {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: var(--space-2) var(--space-3) var(--space-2) 2.25rem;
  color: var(--color-text-default);
  font-size: var(--type-ui);
}

.fftri-topbar-search-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.fftri-topbar-search-field {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.fftri-topbar-search-row [data-filter-toggle] {
  flex: 0 0 auto;
}

[data-filter-toggle][aria-expanded="true"],
[data-filter-toggle][aria-pressed="true"] {
  background: var(--c-fftri-blue);
  border-color: var(--c-fftri-blue);
  color: var(--c-white);
}

[data-filter-toggle][aria-expanded="true"] i,
[data-filter-toggle][aria-pressed="true"] i {
  color: var(--c-white);
}

.fftri-topbar-search-icon {
  position: absolute;
  left: var(--space-3);
  top: 50%;
  transform: translateY(-50%);
  font-size: var(--type-ui);
  color: var(--ui-accent);
  opacity: 0.6;
}

.fftri-topbar-quick-filters {
  overflow-x: auto;
  margin-bottom: var(--space-2);
}

.fftri-topbar-count-block {
  margin-top: var(--space-2);
  font-weight: 600;
}

.fftri-topbar-count__main {
  display: block;
}

.fftri-topbar-count__badge {
  display: block;
  margin-top: var(--space-1);
}

.fftri-topbar-count--dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
}

.fftri-events-banner-media {
  width: 100%;
  height: 7rem;
  object-fit: cover;
}

.fftri-event-detail-share-btn {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  z-index: var(--z-index-shell-bottom-nav);
}

.fftri-event-detail-page .fftri-detail-tabs {
  display: flex;
  gap: var(--space-1);
  padding: 0 var(--space-2);
  overflow-x: auto;
  scroll-behavior: smooth;
}

.fftri-event-detail-page .fftri-tab-button {
  flex: 1;
  min-width: 90px;
  padding: var(--space-3) var(--space-2);
  border: 0;
  border-bottom: 3px solid transparent;
  font-size: var(--type-ui);
  font-weight: 600;
  text-transform: capitalize;
  cursor: pointer;
  transition:
    color var(--duration-normal) ease-out,
    border-color var(--duration-normal) ease-out;
}

.fftri-event-detail-page .fftri-tab-button--active {
  border-bottom-color: currentColor;
}

.fftri-event-detail-page .fftri-tab-button--hover:hover {
  border-bottom-color: var(--color-border-soft);
}

.fftri-events-nearby {
  margin-top: var(--space-2);
}

.fftri-events-nearby__card {
  padding: var(--space-3);
}

.fftri-events-nearby__card > * + * {
  margin-top: var(--space-3);
}

.fftri-events-nearby__section > * + * {
  margin-top: var(--space-2);
}

.fftri-events-nearby__row,
.fftri-events-nearby__search-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.fftri-events-nearby__row {
  justify-content: space-between;
}

.fftri-events-nearby__label {
  color: var(--color-text-muted);
  font-size: var(--type-label);
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fftri-events-nearby__position {
  color: var(--color-text-default);
  font-size: var(--type-ui);
  font-weight: var(--fw-bold);
}

.fftri-events-nearby__link,
.fftri-trial-results-advanced__reset {
  background: transparent;
  border: 0;
  color: var(--ui-accent);
  cursor: pointer;
  font-size: var(--type-meta);
  font-weight: var(--fw-bold);
  padding: 0;
}

.fftri-events-nearby__input {
  flex: 1 1 auto;
  min-width: 0;
  padding: var(--space-2) var(--space-3);
  color: var(--color-text-default);
  font-size: var(--type-ui);
  font-weight: var(--fw-bold);
  outline: none;
}

.fftri-events-nearby__search-btn {
  padding: var(--space-2) var(--space-3);
  font-size: var(--type-ui);
  font-weight: var(--fw-bold);
}

.fftri-events-status-count {
  color: var(--color-text-muted);
  font-weight: 600;
}

.fftri-events-status-hint {
  margin-top: var(--space-1);
  color: var(--color-text-muted);
}

.fftri-events-nearby__select {
  padding: var(--space-1-5) var(--space-3);
  color: var(--color-text-default);
  font-size: var(--type-meta);
  font-weight: var(--fw-bold);
}

.fftri-events-nearby__message {
  color: var(--color-text-muted);
  font-size: var(--type-meta);
  font-weight: var(--fw-bold);
}

.fftri-event-card__media-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.fftri-event-card {
  position: relative;
  z-index: var(--z-index-base);
  isolation: isolate;
  display: flex;
  width: 100%;
  padding: 0;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
}

.fftri-event-card__cancel-stripe {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  pointer-events: none;
}

.fftri-event-card__tricolor-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  pointer-events: none;
}

.fftri-event-card__media-overlay {
  position: absolute;
  inset: 0;
}

.fftri-event-card__body {
  position: relative;
  z-index: var(--z-index-overlay);
  flex: 1;
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.fftri-event-card__title-wrap {
  min-width: 0;
}

.fftri-event-card__title-spacing {
  margin-bottom: var(--space-1);
}

.fftri-event-card__meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-1);
  gap: var(--space-2);
}

.fftri-card-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
}

.fftri-event-card__chevron-wrap {
  position: relative;
  z-index: var(--z-index-overlay);
  width: 2rem;
  padding-right: var(--space-2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.fftri-event-card__placeholder {
  width: 100%;
  height: 100%;
  background: var(--color-bg-muted);
}

.fftri-event-card__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) ease;
}

.event-card:active .fftri-event-card__media {
  transform: scale(1.03);
}

.fftri-event-card__mesh {
  background-image: radial-gradient(var(--overlay-white-18) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.15;
  mix-blend-mode: soft-light;
}

.fftri-event-like-icon--active {
  color: var(--fftri-orange);
}

.fftri-event-like-icon--idle {
  color: var(--overlay-white-90);
}

.fftri-event-card__date-pane {
  width: 4rem;
  position: relative;
  z-index: var(--z-index-overlay);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-right: 1px solid var(--overlay-white-12);
}

.fftri-event-card__title {
  color: var(--color-white);
  font-size: var(--type-ui);
  font-weight: var(--fw-extrabold);
  line-height: 1.35;
}

.fftri-event-card__location {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-2);
  color: var(--overlay-white-82);
  font-size: var(--type-meta);
}

.fftri-event-card__location-icon {
  margin-right: var(--space-1-5);
  color: var(--fftri-orange);
}

.fftri-event-card__status {
  display: flex;
  align-items: center;
}

.fftri-event-card__meta-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-1);
  flex-shrink: 0;
}

.fftri-event-card__challenge-logo {
  height: auto;
  width: auto;
  max-height: 50px;
  max-width: 4.5rem;
  object-fit: contain;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
}

.fftri-event-card__chevron {
  color: var(--overlay-white-74);
  font-size: var(--type-label);
}

/* Events page shell — hero + tabs */
.fftri-primary-shell__hero {
  background: var(--color-bg-surface);
}

.fftri-primary-shell__tabs {
  padding: 0;
}

.fftri-social-tabs-header {
  display: flex;
  gap: var(--space-1);
  padding: 0 var(--space-2);
  border-bottom: 2px solid var(--color-border-soft);
  overflow-x: auto;
  scroll-behavior: smooth;
}

.fftri-social-tab-button {
  flex: 1;
  min-width: 90px;
  padding: var(--space-3) var(--space-2);
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  font-size: var(--fs-14);
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.2s ease-out;
  text-transform: capitalize;
}

.fftri-social-tab-button--active {
  color: var(--tab-accent-current);
  border-bottom-color: var(--tab-accent-current);
}

.fftri-social-tab-button--inactive:hover {
  color: var(--color-text-strong);
  border-bottom-color: var(--color-border-soft);
}

@media (prefers-color-scheme: dark) {
  .fftri-social-tabs-header {
    border-bottom-color: var(--color-border-strong);
  }
}
}
