#ft-app { min-width: 0; }

.ft-static {
  min-width: 0;
  max-width: 100%;
  position: relative;
}

.ft-static.narrow-page,
.ft-static.completion {
  max-width: 760px;
}

.ft-static.completion {
  margin: 0 auto;
  text-align: center;
}

.ft-static.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 28px;
  align-items: stretch;
}

.ft-static .page-heading { margin-bottom: 20px; }
.ft-static .page-heading h1 { overflow-wrap: anywhere; }
.ft-static .intro { color: var(--muted); margin-top: 8px; }

.ft-static .auth-story {
  border-radius: 14px;
  padding: 32px 28px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(19, 44, 67, .9), rgba(19, 44, 67, .74)),
    url('/assets/v3/racing-v3-2-dusk.png') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ft-static .auth-story h1 {
  font-size: 28px;
  line-height: 1.5;
  margin: 16px 0;
  color: #fff;
  overflow-wrap: anywhere;
}

.ft-static .auth-story > p:not(.eyebrow) { color: #d5e0ea; }
.ft-static .auth-story .eyebrow,
.ft-static .points-balance .eyebrow,
.ft-static .campaign .eyebrow { color: #ecb276; }

.ft-static .auth-benefits {
  margin-top: auto;
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ft-static .auth-benefits b { font-size: 18px; line-height: 1.6; color: #f3e2bc; }
.ft-static .auth-benefits span,
.ft-static .auth-benefits small { color: #d5e0ea; }

.ft-static .auth-card { min-width: 0; align-self: center; }
.ft-static .auth-card h2 { font-size: 26px; line-height: 1.45; overflow-wrap: anywhere; }
.ft-static .auth-description { color: var(--muted); margin: 8px 0 16px; }

.ft-static .auth-progress {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0 0 8px;
  margin: 0 0 8px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.ft-static .auth-progress li { flex: 1; min-width: 0; text-align: center; }
.ft-static .auth-progress .active { color: var(--blue); font-weight: 700; }

.ft-static .form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  min-width: 0;
}

.ft-static .form-field input,
.ft-static .form-field select,
.ft-static .form-field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d5dee6;
  border-radius: 7px;
  padding: 8px 12px;
  background: #fff;
  font: inherit;
  font-weight: 400;
  color: var(--ink);
}

.ft-static .form-field textarea { min-height: 140px; resize: vertical; line-height: 1.7; }

.ft-static .field-hint { font-size: 12px; color: var(--muted); margin: -8px 0 12px; }
.ft-static .form-side { text-align: right; font-size: 13px; margin: -4px 0 12px; }
.ft-static .form-message { color: var(--navy); font-size: 14px; font-weight: 700; margin: 8px 0; }
.ft-static .form-message:empty { display: none; }

.ft-static .check,
.ft-static .form-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 12px 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
}

.ft-static .form-check input { width: 18px; height: 18px; margin-top: 3px; flex: none; }

.ft-static .form-check a,
.ft-static .auth-bottom a,
.ft-static .form-side a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

.ft-static .auth-bottom {
  border-top: 1px solid var(--line);
  text-align: center;
  padding-top: 16px;
  margin-top: 20px;
  font-size: 14px;
}

.ft-static input[name="website"] {
  position: absolute !important;
  left: 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none;
}

.ft-static .button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.5;
  white-space: normal;
  text-align: center;
  max-width: 100%;
}

.ft-static .button.primary,
.ft-static .button.gold {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.ft-static .button.outline { color: var(--blue); border-color: #bfcfdd; background: #fff; }
.ft-static .button.full { width: 100%; }
.ft-static .button:disabled { opacity: .6; }
.ft-static button.text-link {
  border: 0;
  background: transparent;
  color: var(--blue);
  font-weight: 700;
  min-height: 44px;
  padding: 0;
}

.ft-static .icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.ft-static .soft-box {
  padding: 20px;
  background: #eef3f8;
  border: 1px solid #d5e2ee;
  border-radius: 8px;
  line-height: 1.8;
}

.ft-static .soft-box h3 { margin-bottom: 8px; }
.ft-static .mail-illustration { text-align: center; margin: 8px 0 16px; }
.ft-static .mail-illustration .icon { width: 48px; height: 48px; color: var(--blue); }

.ft-static .success-seal {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
}

.ft-static .success-seal .icon { width: 28px; height: 28px; color: var(--green); }

.ft-static .completion h1 { margin-top: 8px; }
.ft-static .completion > p:not(.eyebrow) { color: var(--muted); margin-top: 12px; }

.ft-static .completion-card {
  padding: 20px;
  margin: 24px auto;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ft-static .completion-card span { font-size: 20px; }
.ft-static .completion-card small { color: var(--muted); }

.ft-static .gate-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.ft-static .campaign {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 240px);
  gap: 20px;
  align-items: center;
  padding: 28px;
  margin: 8px 0 24px;
  border-radius: 14px;
  background: var(--navy);
  color: #fff;
}

.ft-static .campaign h2 { font-size: 26px; line-height: 1.45; overflow-wrap: anywhere; }
.ft-static .campaign p:not(.eyebrow) { color: #d5e0ea; margin-top: 8px; }
.ft-static .campaign-side { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.ft-static .campaign-side small { color: #d5e0ea; }
.ft-static .free-mark { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.ft-static .free-mark b { font-size: 40px; line-height: 1; }

.ft-static .benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 8px 0 24px;
}

.ft-static .content-panel { padding: 22px 24px; }
.ft-static .content-panel > h2,
.ft-static .mini-heading h2 { font-size: 18px; }
.ft-static .content-panel p,
.ft-static .benefit-grid p { color: var(--muted); line-height: 1.8; }
.ft-static .benefit-grid h2 { margin: 10px 0; overflow-wrap: anywhere; }
.ft-static .number-kicker { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }

.ft-static .pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #eef3f8;
  color: var(--blue);
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
}

.ft-static .pill.pending { background: #f4f1e9; color: #786d58; }

.ft-static .faq-list { margin: 24px 0; border-top: 1px solid var(--line); }
.ft-static .faq-list details { border-bottom: 1px solid var(--line); }
.ft-static .faq-list summary {
  list-style: none;
  position: relative;
  cursor: pointer;
  padding: 16px 32px 16px 0;
  font-weight: 700;
}
.ft-static .faq-list summary::-webkit-details-marker { display: none; }
.ft-static .faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 14px;
  color: var(--blue);
  font-size: 20px;
}
.ft-static .faq-list details[open] summary::after { content: "−"; }
.ft-static .faq-list p { color: var(--muted); padding: 0 0 16px; }

.ft-static .member-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.ft-static .member-content { min-width: 0; }
.ft-static .member-sidebar { position: sticky; top: 96px; }
.ft-static .member-id {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 20px 12px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.ft-static .member-id b,
.ft-static .member-id small { overflow-wrap: anywhere; max-width: 100%; }
.ft-static .avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
}
.ft-static .member-id small { color: var(--muted); letter-spacing: .06em; }
.ft-static .member-sidebar nav { display: flex; flex-direction: column; padding: 8px; }
.ft-static .member-sidebar nav form { margin: 0; }
.ft-static .member-sidebar nav a,
.ft-static .member-sidebar nav button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  text-align: left;
}
.ft-static .member-sidebar nav a[aria-current="page"] { background: #eef3f8; color: var(--blue); }

.ft-static .points-balance {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 24px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--navy);
  color: #fff;
}
.ft-static .points-balance strong { font-size: 44px; line-height: 1.1; overflow-wrap: anywhere; }
.ft-static .points-balance strong small { font-size: 16px; }
.ft-static .points-balance > p { color: #d5e0ea; }

.ft-static .mini-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.ft-static .tabs {
  display: flex;
  gap: 4px 18px;
  max-width: 100%;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}

.ft-static .tabs a {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
}

.ft-static .tabs a.active { color: var(--blue); border-bottom-color: var(--blue); }

.ft-static .history-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.ft-static .history-row:last-child { border-bottom: 0; }
.ft-static .history-row > div { flex: 1; min-width: 0; }
.ft-static .history-row h3 { font-size: 15px; overflow-wrap: anywhere; }
.ft-static .history-row p { color: var(--muted); font-size: 13px; margin-top: 2px; overflow-wrap: anywhere; }

.ft-static .history-badge {
  min-width: 44px;
  min-height: 44px;
  padding: 6px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #eef3f8;
  color: var(--navy);
  font-weight: 700;
  flex: none;
}

.ft-static .icon-button {
  width: 44px;
  height: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  flex: none;
}

.ft-static .empty-compact { text-align: center; padding: 28px 8px; color: var(--muted); }
.ft-static .empty-compact h2,
.ft-static .empty-compact h3 { color: var(--ink); margin-bottom: 8px; }
.ft-static .empty-compact .button,
.ft-static .empty-compact .text-link { margin-top: 12px; }
.ft-static .subtle { color: var(--muted); font-size: 13px; }

.ft-static .news-card { display: block; padding: 20px 22px; margin-bottom: 16px; }
.ft-static .news-card h2 { margin: 8px 0; overflow-wrap: anywhere; }
.ft-static .news-card p { color: var(--muted); overflow-wrap: anywhere; }
.ft-static .news-card .text-link { margin-top: 8px; }

.ft-static .document-panel { padding: 8px 24px 24px; }
.ft-static .document-panel p { overflow-wrap: anywhere; line-height: 1.9; color: var(--muted); }

@media (max-width: 900px) {
  .ft-static.auth-layout,
  .ft-static .campaign,
  .ft-static .benefit-grid,
  .ft-static .member-layout { grid-template-columns: 1fr; }
  .ft-static .member-sidebar { position: static; }
  .ft-static .campaign-side,
  .ft-static .campaign .button { width: 100%; }
}

@media (max-width: 700px) {
  .ft-static .auth-story { padding: 20px; }
  .ft-static .auth-story h1,
  .ft-static .campaign h2 { font-size: 22px; }
  .ft-static .auth-benefits { padding-top: 16px; }
  .ft-static .content-panel,
  .ft-static .campaign,
  .ft-static .points-balance,
  .ft-static .document-panel { padding: 16px; }
  .ft-static .form-field input,
  .ft-static .form-field select,
  .ft-static .form-field textarea { font-size: 16px; }
  .ft-static .points-balance { flex-direction: column; align-items: flex-start; }
  .ft-static .points-balance strong { font-size: 36px; }
  .ft-static .history-row { flex-wrap: wrap; }
  .ft-static .gate-actions { flex-direction: column; }
  .ft-static .gate-actions .button { width: 100%; }
}
