@import url("award.css?v=1.5.0");

@font-face {
  font-family: "Exo 2";
  src: url("exo2-variable.ttf") format("truetype-variations");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --fst-bg: #101112;
  --fst-surface: #1a1b1d;
  --fst-surface-2: #222427;
  --fst-line: #33363a;
  --fst-text: #f5f6f7;
  --fst-muted: #a7abb1;
  --fst-orange: #ffad00;
  --fst-orange-2: #ff8a00;
  --fst-green: #26c281;
  --fst-radius: 14px;
}

.fst-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 70px;
  color: var(--fst-text);
  font-family: "Segoe UI", Arial, sans-serif;
}

.fst-shell--narrow { width: min(900px, calc(100% - 32px)); }

.fst-shell a { text-decoration: none; }

.fst-page-header,
.fst-passport-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: 38px;
  border: 1px solid var(--fst-line);
  border-radius: var(--fst-radius);
  background:
    radial-gradient(circle at 92% 20%, rgba(255, 173, 0, .18), transparent 35%),
    linear-gradient(145deg, #1e2023, #111214);
}

.fst-page-header h1,
.fst-passport-header h1 {
  max-width: 760px;
  margin: 4px 0 10px;
  color: #fff;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -.035em;
}

.fst-page-header p,
.fst-passport-header p {
  max-width: 720px;
  margin: 0;
  color: var(--fst-muted);
  font-size: 16px;
}

.fst-eyebrow,
.fst-tour-code {
  margin: 0;
  color: var(--fst-orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.fst-header-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fst-header-links a,
.fst-filters a {
  padding: 9px 14px;
  border: 1px solid var(--fst-line);
  border-radius: 999px;
  color: var(--fst-text);
  background: rgba(255,255,255,.03);
  font-size: 13px;
  font-weight: 600;
}

.fst-header-links a:hover,
.fst-filters a:hover,
.fst-filters a.is-active {
  border-color: var(--fst-orange);
  color: #111;
  background: var(--fst-orange);
}

.fst-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
}

.fst-tour-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.fst-tour-card {
  overflow: hidden;
  border: 1px solid var(--fst-line);
  border-radius: var(--fst-radius);
  background: var(--fst-surface);
  box-shadow: 0 18px 45px rgba(0,0,0,.18);
}

.fst-tour-card__image {
  position: relative;
  display: block;
  height: 220px;
  overflow: hidden;
  background: #090909;
}

.fst-tour-card__image img,
.fst-tour-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.fst-tour-card:hover .fst-tour-card__image img { transform: scale(1.035); }

.fst-image-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--fst-orange);
  font-size: 30px;
  font-weight: 800;
  background: radial-gradient(circle, #2a2416, #101112);
}

.fst-tour-card__image .fst-badge {
  position: absolute;
  top: 14px;
  right: 14px;
}

.fst-tour-card__body { padding: 22px; }

.fst-tour-card h2 {
  min-height: 52px;
  margin: 7px 0 8px;
  font-size: 22px;
  line-height: 1.18;
}

.fst-tour-card h2 a { color: #fff; }

.fst-tour-card__body > p {
  min-height: 63px;
  margin: 0 0 16px;
  color: var(--fst-muted);
  font-size: 14px;
  line-height: 1.5;
}

.fst-badge {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  color: #fff;
  background: rgba(8,8,8,.78);
  backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.fst-badge--current { color: #111; background: var(--fst-green); border-color: var(--fst-green); }
.fst-badge--upcoming { color: #111; background: var(--fst-orange); border-color: var(--fst-orange); }
.fst-badge--ended { color: #c2c5ca; background: #27292c; }
.fst-badge--pilot { color: var(--fst-orange); }
.fst-badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }

.fst-tour-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 18px;
}

.fst-tour-meta div {
  padding: 9px;
  border-radius: 8px;
  background: var(--fst-surface-2);
}

.fst-tour-meta dt {
  margin: 0 0 3px;
  color: var(--fst-muted);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.fst-tour-meta dd { margin: 0; color: #fff; font-size: 12px; font-weight: 700; }

.fst-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 0;
  border-radius: 8px;
  color: #111 !important;
  background: linear-gradient(135deg, var(--fst-orange), var(--fst-orange-2));
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.fst-button:hover { filter: brightness(1.08); transform: translateY(-1px); }
.fst-button--wide { width: 100%; margin-top: 16px; }
.fst-button--small { min-height: 35px; padding: 7px 12px; font-size: 12px; }
.fst-button--secondary {
  border: 1px solid #5a5d63;
  color: #e2e4e8 !important;
  background: #24262a;
}
.fst-tour-cancel { display: grid; justify-items: start; gap: 7px; margin-top: 14px; }
.fst-tour-cancel small { color: var(--fst-muted); font-size: 11px; }

.fst-card-progress,
.fst-progress-track,
.fst-status-track {
  position: relative;
  overflow: hidden;
  height: 9px;
  border-radius: 999px;
  background: #3a3c40;
}

.fst-card-progress span,
.fst-progress-track span,
.fst-status-track > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--fst-orange-2), var(--fst-orange));
}

.fst-tour-card small { display: block; margin-top: 6px; color: var(--fst-muted); }

.fst-back-link {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--fst-muted);
  font-size: 13px;
}

.fst-tour-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  overflow: hidden;
  min-height: 520px;
  border: 1px solid var(--fst-line);
  border-radius: var(--fst-radius);
  background: var(--fst-surface);
}

.fst-tour-hero__image { min-height: 420px; background: #090909; }

.fst-tour-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 54px);
}

.fst-tour-hero h1 {
  margin: 8px 0 15px;
  color: #fff;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -.035em;
}

.fst-tour-description {
  margin: 0 0 24px;
  color: #c0c3c8;
  line-height: 1.65;
  white-space: pre-line;
}

.fst-tour-meta--hero div { background: #121315; }

.fst-progress-summary { margin-top: 8px; }
.fst-progress-summary > div:first-child { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 8px; }
.fst-progress-summary strong { color: var(--fst-orange); font-size: 22px; }
.fst-progress-summary span { color: var(--fst-muted); font-size: 12px; }

.fst-notice {
  padding: 12px 14px;
  border: 1px solid #5a4d2b;
  border-radius: 8px;
  color: #f6d78e;
  background: #2b2517;
}
.fst-notice--success { border-color: #26634a; color: #9ae5c2; background: #152b22; }

.fst-award-card {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 22px 0;
  padding: 22px 26px;
  border: 1px solid #624b1b;
  border-radius: var(--fst-radius);
  background: linear-gradient(120deg, #2b2415, #171717);
}

.fst-award-card img {
  width: 112px;
  height: 66px;
  object-fit: contain;
  border-radius: 7px;
}

.fst-award-card h2 { margin: 3px 0; color: #fff; font-size: 20px; }
.fst-award-card p:last-child { margin: 0; color: var(--fst-muted); }

.fst-section {
  margin-top: 22px;
  padding: 26px;
  border: 1px solid var(--fst-line);
  border-radius: var(--fst-radius);
  background: var(--fst-surface);
}

.fst-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.fst-section-heading h2 { margin: 3px 0 0; color: #fff; font-size: 27px; }
.fst-section-heading > span,
.fst-section-heading > a { color: var(--fst-muted); font-size: 12px; }
.fst-section-heading > a:hover { color: var(--fst-orange); }

.fst-map {
  width: 100%;
  height: 460px;
  overflow: hidden;
  border-radius: 10px;
  background: #242424;
  font-family: "Exo 2", sans-serif;
}

.fst-map.leaflet-container { background: #242424; }

.fst-map .leaflet-control-attribution {
  color: #8f9399;
  background: rgba(10,10,10,.75);
}
.fst-map .leaflet-control-attribution a { color: #c1c4c8; }
.fst-map .leaflet-tooltip {
  border: 1px solid #444;
  color: #fff;
  background: #17181a;
  box-shadow: 0 8px 20px rgba(0,0,0,.3);
}
.fst-map .leaflet-tooltip.fst-airport-label {
  max-width: min(230px, 34vw);
  padding: 0;
  border: 0;
  color: #f7f8f9;
  background: transparent;
  box-shadow: none;
  font-family: "Exo 2", sans-serif;
  line-height: 1.08;
  pointer-events: none;
  text-shadow: 0 1px 3px #000, 0 0 7px #000;
}
.fst-map .leaflet-tooltip.fst-airport-label::before { display: none; }
.fst-airport-label strong {
  display: block;
  overflow: hidden;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .03em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fst-airport-label span {
  display: block;
  overflow: hidden;
  margin-top: 2px;
  color: #858a8f;
  font-size: 10px;
  font-weight: 300;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fst-map .leaflet-tooltip.fst-pilot-map-tooltip {
  min-width: 96px;
  padding: 8px 11px 9px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  color: #fff;
  background: rgba(12,13,14,.96);
  box-shadow: 0 10px 28px rgba(0,0,0,.48);
  font-family: "Exo 2", sans-serif;
  line-height: 1.08;
  text-align: left;
  pointer-events: none;
}
.fst-map .leaflet-tooltip.fst-pilot-map-tooltip::before {
  border-top-color: rgba(12,13,14,.96);
}
.fst-pilot-map-tooltip strong {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
  white-space: nowrap;
}
.fst-pilot-map-tooltip span {
  display: block;
  margin-top: 4px;
  color: #858a8f;
  font-size: 11px;
  font-weight: 300;
  white-space: nowrap;
}
.fst-map-error { padding: 20px; color: #ff9b9b; }

.fst-map-page {
  margin: 0;
  overflow: hidden;
  background: #0b0c0d;
  font-family: "Exo 2", sans-serif;
}
.fst-map--full { width: 100vw; height: 100vh; border-radius: 0; }

@media (max-width: 560px) {
  .fst-map .leaflet-tooltip.fst-airport-label { max-width: 112px; }
  .fst-airport-label strong { font-size: 11px; }
  .fst-airport-label span { font-size: 8px; }
  .fst-map .leaflet-tooltip.fst-pilot-map-tooltip { padding: 7px 9px 8px; }
  .fst-pilot-map-tooltip strong { font-size: 12px; }
  .fst-pilot-map-tooltip span { font-size: 10px; }
}

.fst-leg-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.fst-leg {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) minmax(180px, 230px) 110px;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid #303236;
  border-radius: 10px;
  background: #121315;
}
.fst-leg.is-next { border-color: #7b5b18; background: #1d1910; }
.fst-leg.is-completed { border-color: #245c46; background: #101b17; }
.fst-leg__number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--fst-orange);
  background: #272116;
  font-weight: 800;
}
.fst-leg.is-completed .fst-leg__number { color: #111; background: var(--fst-green); }
.fst-leg__route { display: grid; grid-template-columns: 1fr 45px 1fr; align-items: center; gap: 7px; }
.fst-leg__route > span { display: flex; flex-direction: column; min-width: 0; }
.fst-leg__route > span:last-child { text-align: right; }
.fst-leg__route strong { color: #fff; font-size: 18px; }
.fst-leg__route small,
.fst-leg__flight small { overflow: hidden; color: var(--fst-muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.fst-leg__line { color: var(--fst-orange); text-align: center !important; }
.fst-leg__flight { display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: center; gap: 8px; }
.fst-leg__flight > img {
  width: 46px;
  height: 34px;
  padding: 3px;
  object-fit: contain;
  border: 1px solid #34373b;
  border-radius: 4px;
  background: #fff;
}
.fst-leg__flight > span { display: flex; flex-direction: column; min-width: 0; }
.fst-leg__flight > span:first-child { grid-column: 1 / -1; }
.fst-leg__flight strong { color: #fff; }
.fst-leg__duration { grid-column: 1 / -1; }
.fst-leg__action { text-align: right; }
.fst-leg__action form { display: grid; justify-items: end; gap: 8px; }
.fst-aircraft-choice { display: grid; gap: 4px; min-width: 220px; text-align: left; }
.fst-aircraft-choice span { color: var(--fst-muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.fst-aircraft-choice select {
  width: 100%;
  min-height: 36px;
  padding: 6px 9px;
  border: 1px solid #3d4044;
  border-radius: 5px;
  color: #fff;
  background: #17191c;
}
.fst-state { color: var(--fst-muted); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.fst-state--done { color: var(--fst-green); }
.fst-state--bid { color: var(--fst-orange); }

.fst-pilot-list { display: flex; flex-wrap: wrap; gap: 8px; }
.fst-pilot-list a {
  padding: 7px 11px;
  border: 1px solid #3d4044;
  border-radius: 999px;
  color: #fff;
  background: #242629;
  font-size: 13px;
}
.fst-pilot-list a:hover { border-color: var(--fst-orange); color: var(--fst-orange); }
.fst-muted { color: var(--fst-muted); }

.fst-activity-list,
.fst-status-list { display: grid; gap: 12px; margin-top: 20px; }
.fst-status-list {
  --fst-status-gap: 12px;
  --fst-status-item-height: 82px;
  gap: var(--fst-status-gap);
}
.fst-activity {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  padding: 15px 16px;
  border: 1px solid var(--fst-line);
  border-radius: 10px;
  color: #d4d6d9;
  background: #111214;
  font-size: 13px;
}
.fst-activity__pilot { color: var(--fst-orange); font-weight: 800; }
.fst-activity img { width: 120px; height: 38px; object-fit: contain; border-radius: 6px; }
.fst-activity time { padding: 5px 9px; border-radius: 999px; color: #202124; background: #d8dadd; font-size: 10px; font-weight: 700; }

.fst-status-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 80px;
  align-items: center;
  gap: 16px;
  min-height: var(--fst-status-item-height);
  padding: 18px;
  border: 1px solid var(--fst-line);
  border-radius: 10px;
  color: #fff;
  background: #0d0e0f;
}
.fst-status-card > strong { color: var(--fst-orange); }
.fst-status-card > strong em {
  display: block;
  margin-top: 3px;
  color: var(--fst-muted);
  font-size: 9px;
  font-style: normal;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.fst-status-track { height: 17px; background: #d3d4d6; }
.fst-status-track b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #222;
  font-size: 10px;
}
.fst-status-card small { color: var(--fst-muted); text-align: right; }
.fst-thats-all {
  display: grid;
  place-items: center;
  min-height: var(--fst-status-item-height);
  border: 1px solid var(--fst-line);
  border-radius: 10px;
  color: var(--fst-orange);
  background: #090a0b;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 900;
  text-align: center;
}
.fst-thats-all--span-1 { font-size: clamp(22px, 3vw, 32px); }
.fst-thats-all--span-2 {
  min-height: calc(
    var(--fst-status-item-height) + var(--fst-status-item-height) + var(--fst-status-gap)
  );
}

.fst-passport-progress {
  --progress: 0%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 210px;
  aspect-ratio: 1.8;
  padding: 18px;
  border: 1px solid #51431f;
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(255,173,0,.22) var(--progress), transparent var(--progress)),
    #151618;
}
.fst-passport-progress strong { color: var(--fst-orange); font-size: 36px; line-height: 1; }
.fst-passport-progress span { margin-top: 7px; color: var(--fst-muted); font-size: 12px; }

.fst-passport-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0;
}
.fst-passport-stats div {
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid var(--fst-line);
  border-radius: 10px;
  background: var(--fst-surface);
}
.fst-passport-stats strong { color: #fff; font-size: 27px; }
.fst-passport-stats span { color: var(--fst-muted); font-size: 12px; }

.fst-passport-tools {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 20px 0;
}
.fst-passport-tools input {
  min-width: 280px;
  padding: 10px 13px;
  border: 1px solid var(--fst-line);
  border-radius: 8px;
  outline: 0;
  color: #fff;
  background: #151618;
}
.fst-passport-tools div { display: flex; gap: 7px; }
.fst-passport-tools button {
  padding: 9px 13px;
  border: 1px solid var(--fst-line);
  border-radius: 8px;
  color: #fff;
  background: #18191b;
  cursor: pointer;
}
.fst-passport-tools button.is-active { border-color: var(--fst-orange); color: #111; background: var(--fst-orange); }

.fst-flag-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.fst-flag {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  border: 1px solid var(--fst-line);
  border-radius: 9px;
  background: #1a1b1d;
}
.fst-flag[hidden] { display: none; }
.fst-flag img {
  display: block;
  width: 100%;
  height: 92px;
  object-fit: cover;
  filter: grayscale(1) brightness(.48);
  opacity: .68;
  transition: filter .25s, opacity .25s;
}
.fst-flag.is-visited img { filter: none; opacity: 1; }
.fst-flag div { display: flex; justify-content: space-between; gap: 8px; padding: 10px; }
.fst-flag strong { overflow: hidden; color: #fff; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.fst-flag div span { color: var(--fst-muted); font-size: 10px; font-weight: 800; }
.fst-flag small {
  position: absolute;
  top: 7px;
  right: 7px;
  padding: 3px 6px;
  border-radius: 999px;
  color: #111;
  background: var(--fst-green);
  font-size: 9px;
  font-weight: 800;
}

.fst-empty {
  padding: 60px 24px;
  border: 1px dashed #3c3e42;
  border-radius: var(--fst-radius);
  color: var(--fst-muted);
  background: #151618;
  text-align: center;
}
.fst-empty h2 { margin: 0 0 8px; color: #fff; }
.fst-empty a { color: var(--fst-orange); }
.fst-pagination { margin-top: 22px; }

@media (max-width: 1000px) {
  .fst-tour-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fst-tour-hero { grid-template-columns: 1fr; }
  .fst-tour-hero__image { height: 420px; }
  .fst-flag-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .fst-page-header,
  .fst-passport-header { align-items: flex-start; flex-direction: column; padding: 26px; }
  .fst-tour-grid { grid-template-columns: 1fr; }
  .fst-tour-card__body > p,
  .fst-tour-card h2 { min-height: 0; }
  .fst-section { padding: 18px; }
  .fst-section-heading { align-items: flex-start; flex-direction: column; }
  .fst-leg { grid-template-columns: 44px 1fr; }
  .fst-leg__flight,
  .fst-leg__action { grid-column: 2; text-align: left; }
  .fst-activity { grid-template-columns: 1fr auto; }
  .fst-activity > span { grid-column: 1 / -1; }
  .fst-status-card { grid-template-columns: 1fr; }
  .fst-status-card small { text-align: left; }
  .fst-passport-progress { width: 100%; aspect-ratio: auto; }
  .fst-passport-tools { align-items: stretch; flex-direction: column; }
  .fst-passport-tools input { width: 100%; min-width: 0; }
  .fst-flag-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 420px) {
  .fst-shell { width: min(100% - 18px, 1180px); }
  .fst-tour-meta,
  .fst-passport-stats { grid-template-columns: 1fr; }
  .fst-leg__route { grid-template-columns: 1fr 28px 1fr; }
}
