:root {
  --fd-ink: #092536;
  --fd-ink-soft: #355363;
  --fd-navy: #061a29;
  --fd-navy-2: #0a2b3b;
  --fd-paper: #f8fbf7;
  --fd-panel: #ffffff;
  --fd-line: rgba(9, 37, 54, 0.13);
  --fd-cyan: #55d9ef;
  --fd-mint: #70e4b8;
  --fd-yellow: #ffe07d;
  --fd-coral: #ff877f;
  --fd-purple: #a68cff;
  --fd-shadow: 0 28px 90px rgba(0, 11, 20, 0.44);
}

body.fd-modal-open {
  overflow: hidden !important;
}

.fd-modal[hidden],
.fd-drawer-layer[hidden],
.fd-panel[hidden] {
  display: none !important;
}

.fd-modal,
.fd-modal *,
.fd-modal *::before,
.fd-modal *::after {
  box-sizing: border-box;
}

.fd-modal {
  position: fixed;
  inset: 0;
  z-index: 30000;
  display: grid;
  place-items: center;
  padding: clamp(8px, 1.8vw, 24px);
  color: var(--fd-ink);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Inter, system-ui, sans-serif;
  isolation: isolate;
}

.fd-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(81, 201, 255, 0.24), transparent 31%),
    radial-gradient(circle at 82% 88%, rgba(183, 229, 92, 0.15), transparent 30%),
    rgba(2, 14, 24, 0.88);
  backdrop-filter: blur(16px);
  cursor: default;
}

.fd-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  width: min(1560px, 100%);
  height: min(940px, calc(100dvh - clamp(16px, 3.6vw, 48px)));
  min-height: min(680px, calc(100dvh - 16px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 28px;
  outline: 0;
  background: var(--fd-paper);
  box-shadow: var(--fd-shadow), inset 0 1px rgba(255, 255, 255, 0.68);
}

.fd-dialog::before {
  content: "";
  position: absolute;
  z-index: 6;
  inset: 0 auto 0 0;
  width: 4px;
  pointer-events: none;
  background: linear-gradient(var(--fd-cyan), var(--fd-purple), var(--fd-coral), var(--fd-yellow));
}

.fd-header {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: clamp(14px, 2.2vw, 32px);
  min-height: 134px;
  padding: 21px clamp(20px, 3vw, 46px);
  color: #f7ffff;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.035), transparent 42%),
    radial-gradient(circle at 73% -40%, rgba(85, 217, 239, 0.28), transparent 45%),
    linear-gradient(125deg, #061927 0%, #0a2c3d 62%, #0d3b45 100%);
}

.fd-header > :not(.fd-atlas-keyvisual) {
  position: relative;
  z-index: 2;
}

.fd-atlas-keyvisual {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 47%;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
}

.fd-atlas-keyvisual::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, #071d2b 0%, rgba(7, 29, 43, 0.7) 26%, rgba(7, 29, 43, 0.12) 68%),
    linear-gradient(0deg, rgba(2, 17, 27, 0.58), transparent 52%);
}

.fd-atlas-keyvisual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% 59%;
  opacity: 0.72;
  filter: saturate(0.92) contrast(1.04);
}

.fd-atlas-keyvisual figcaption {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 8px;
  max-width: 270px;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 99px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(1, 14, 23, 0.58);
  backdrop-filter: blur(6px);
  font-size: 7px;
  font-weight: 800;
  line-height: 1.3;
  text-align: right;
}

.fd-header::after {
  content: "";
  position: absolute;
  right: 4%;
  bottom: 0;
  left: 4%;
  height: 1px;
  opacity: 0.48;
  background: linear-gradient(90deg, transparent, var(--fd-cyan), var(--fd-yellow), transparent);
}

.fd-brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 24px;
  color: #042132;
  background: linear-gradient(145deg, var(--fd-cyan), var(--fd-mint));
  box-shadow: 0 15px 34px rgba(36, 206, 222, 0.22), inset 0 1px rgba(255, 255, 255, 0.8);
  transform: rotate(-4deg);
}

.fd-brand-mark::before,
.fd-brand-mark::after,
.fd-brand-mark i {
  content: "";
  position: absolute;
  border: 1px solid rgba(5, 41, 54, 0.38);
  border-radius: 50%;
}

.fd-brand-mark::before {
  width: 55px;
  height: 24px;
}

.fd-brand-mark::after {
  width: 24px;
  height: 55px;
}

.fd-brand-mark i {
  width: 47px;
  height: 47px;
}

.fd-brand-mark b {
  position: relative;
  z-index: 2;
  font: 900 24px/1 Inter, system-ui, sans-serif;
  letter-spacing: -0.08em;
  transform: rotate(4deg);
}

.fd-heading {
  min-width: 0;
}

.fd-heading > span,
.fd-section-intro > span,
.fd-card-head > span,
.fd-drawer-header > div > span,
.fd-crew-list-head > div > span {
  display: block;
  margin-bottom: 6px;
  color: var(--fd-cyan);
  font: 800 11px/1.2 Inter, system-ui, sans-serif;
  letter-spacing: 0.2em;
}

.fd-heading h2 {
  max-width: 850px;
  margin: 0;
  color: #fff;
  font-size: clamp(22px, 2.3vw, 38px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.fd-heading p {
  max-width: 860px;
  margin: 7px 0 0;
  color: rgba(239, 252, 255, 0.76);
  font-size: clamp(11px, 1vw, 14px);
  font-weight: 600;
  line-height: 1.55;
}

.fd-coverage {
  display: grid;
  grid-template-columns: auto auto;
  align-items: end;
  column-gap: 8px;
  min-width: 148px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 17px;
  background: rgba(1, 14, 23, 0.32);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
}

.fd-coverage small {
  grid-column: 1 / -1;
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.64);
  font: 700 9px/1.2 Inter, system-ui, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fd-coverage strong {
  color: var(--fd-yellow);
  font: 900 28px/1 Inter, system-ui, sans-serif;
}

.fd-coverage span {
  align-self: end;
  padding-bottom: 2px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 9px;
  font-weight: 800;
  line-height: 1.35;
}

.fd-close,
.fd-drawer-header > button {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 6px;
  min-width: 48px;
  min-height: 48px;
  padding: 5px 10px 5px 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  cursor: pointer;
}

.fd-close span,
.fd-drawer-header > button span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
}

.fd-close b,
.fd-drawer-header > button b {
  font-size: 10px;
}

.fd-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 66px;
  padding: 0 clamp(16px, 3vw, 46px);
  border-bottom: 1px solid var(--fd-line);
  background: #fff;
}

.fd-tabs button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 66px;
  padding: 10px 16px;
  border: 0;
  color: #617681;
  background: transparent;
  cursor: pointer;
}

.fd-tabs button::after {
  content: "";
  position: absolute;
  right: 16%;
  bottom: -1px;
  left: 16%;
  height: 4px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(90deg, var(--fd-cyan), var(--fd-mint));
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 160ms ease, transform 160ms ease;
}

.fd-tabs small {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid var(--fd-line);
  border-radius: 9px;
  font: 800 9px/1 Inter, system-ui, sans-serif;
}

.fd-tabs b {
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 900;
}

.fd-tabs button[aria-selected="true"] {
  color: var(--fd-ink);
}

.fd-tabs button[aria-selected="true"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.fd-tabs button[aria-selected="true"] small {
  border-color: transparent;
  color: #062638;
  background: var(--fd-mint);
}

.fd-main {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(8, 57, 73, 0.34) transparent;
}

.fd-panel {
  min-height: 100%;
  padding: clamp(18px, 2.5vw, 38px) clamp(16px, 3vw, 46px) 44px;
}

.fd-search-stage {
  position: sticky;
  z-index: 8;
  top: 0;
  margin: calc(clamp(18px, 2.5vw, 38px) * -1) 0 0;
  padding-top: clamp(18px, 2.5vw, 38px);
  background: linear-gradient(var(--fd-paper) 84%, rgba(248, 251, 247, 0));
}

.fd-search {
  display: grid;
  grid-template-columns: minmax(130px, 0.22fr) minmax(260px, 1fr);
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border: 1px solid rgba(5, 40, 54, 0.17);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(4, 35, 49, 0.08);
}

.fd-search > span:first-child {
  padding-left: 4px;
  color: var(--fd-ink);
  font-size: 12px;
  font-weight: 900;
}

.fd-search-field {
  position: relative;
  display: block;
}

.fd-search-field i {
  position: absolute;
  top: 50%;
  left: 16px;
  width: 16px;
  height: 16px;
  border: 2px solid #5f7e8b;
  border-radius: 50%;
  transform: translateY(-58%);
  pointer-events: none;
}

.fd-search-field i::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -4px;
  width: 7px;
  height: 2px;
  border-radius: 2px;
  background: #5f7e8b;
  transform: rotate(45deg);
}

.fd-search input {
  width: 100%;
  min-height: 48px;
  padding: 11px 16px 11px 49px;
  border: 0;
  border-radius: 13px;
  outline: 0;
  color: var(--fd-ink);
  background: #eef7f5;
  font: 700 15px/1.4 inherit;
}

.fd-search input::placeholder {
  color: #738891;
  font-weight: 600;
}

.fd-filters {
  display: grid;
  grid-template-columns: repeat(5, minmax(110px, 1fr)) auto;
  align-items: end;
  gap: 10px;
  min-width: 0;
  margin: 10px 0 0;
  padding: 0 0 12px;
  border: 0;
}

.fd-filter {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.fd-filter > span {
  padding-left: 4px;
  color: #55707c;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.fd-filter select {
  width: 100%;
  min-width: 0;
  min-height: 43px;
  padding: 8px 32px 8px 11px;
  border: 1px solid var(--fd-line);
  border-radius: 11px;
  outline: 0;
  color: var(--fd-ink);
  background: #fff;
  font: 700 11px/1.3 inherit;
  cursor: pointer;
}

.fd-filter-reset {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 43px;
  padding: 8px 14px;
  border: 1px dashed rgba(9, 37, 54, 0.25);
  border-radius: 11px;
  color: #3f6471;
  background: rgba(255, 255, 255, 0.6);
  font: 800 10px/1.3 inherit;
  white-space: nowrap;
  cursor: pointer;
}

.fd-filter-reset span {
  font-size: 16px;
}

.fd-result-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 3px 0 10px;
}

.fd-result-bar p {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 0;
  color: #46636e;
  font-size: 12px;
  font-weight: 800;
}

.fd-result-bar p b {
  color: var(--fd-ink);
  font: 900 24px/1 Inter, system-ui, sans-serif;
}

.fd-result-bar p small {
  margin-left: 6px;
  color: #77909a;
  font-size: 9px;
}

.fd-result-bar > span {
  padding: 7px 10px;
  border-radius: 99px;
  color: #365d68;
  background: #e7f5f0;
  font-size: 9px;
  font-weight: 900;
}

.fd-table-wrap {
  width: 100%;
  overflow: auto;
  border: 1px solid var(--fd-line);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(2, 31, 44, 0.065);
}

.fd-table {
  width: 100%;
  min-width: 1410px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-size: 10px;
}

.fd-table th:nth-child(1) { width: 210px; }
.fd-table th:nth-child(2) { width: 115px; }
.fd-table th:nth-child(3) { width: 105px; }
.fd-table th:nth-child(4) { width: 105px; }
.fd-table th:nth-child(5) { width: 76px; }
.fd-table th:nth-child(6) { width: 90px; }
.fd-table th:nth-child(7) { width: 150px; }
.fd-table th:nth-child(8) { width: 155px; }
.fd-table th:nth-child(9) { width: 180px; }
.fd-table th:nth-child(10) { width: 72px; }
.fd-table th:nth-child(11) { width: 95px; }
.fd-table th:nth-child(12) { width: 70px; }

.fd-table thead {
  position: sticky;
  z-index: 3;
  top: 0;
}

.fd-table thead th {
  padding: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.11);
  color: #eaffff;
  background: #0d3544;
}

.fd-table thead th:first-child {
  border-radius: 16px 0 0;
}

.fd-table thead th:last-child {
  border-radius: 0 16px 0 0;
}

.fd-table thead button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
  min-height: 48px;
  padding: 8px 10px;
  border: 0;
  color: inherit;
  background: transparent;
  font: 800 9px/1.25 inherit;
  text-align: left;
  cursor: pointer;
}

.fd-table thead button i {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  color: var(--fd-cyan);
  background: rgba(255, 255, 255, 0.08);
  font-style: normal;
  font-size: 11px;
}

.fd-table thead th[aria-sort]:not([aria-sort="none"]) button {
  color: #071e2b;
  background: linear-gradient(110deg, var(--fd-cyan), var(--fd-mint));
}

.fd-table thead th[aria-sort]:not([aria-sort="none"]) button i {
  color: #08212d;
  background: rgba(255, 255, 255, 0.38);
}

.fd-table tbody th,
.fd-table tbody td {
  padding: 11px 10px;
  border-right: 1px solid rgba(9, 37, 54, 0.07);
  border-bottom: 1px solid rgba(9, 37, 54, 0.08);
  color: #36535f;
  font-weight: 650;
  line-height: 1.5;
  vertical-align: middle;
  overflow-wrap: anywhere;
}

.fd-table tbody th {
  padding: 0;
  text-align: left;
}

.fd-table tbody tr:last-child th,
.fd-table tbody tr:last-child td {
  border-bottom: 0;
}

.fd-table tbody tr:nth-child(even) {
  background: #f7fbf8;
}

.fd-table tbody tr:hover {
  background: #ebf8f3;
}

.fd-number {
  font-variant-numeric: tabular-nums;
}

.fd-name-button {
  display: grid;
  gap: 3px;
  width: 100%;
  min-height: 57px;
  padding: 10px 12px;
  border: 0;
  color: var(--fd-ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.fd-name-button span {
  font-size: 11px;
  font-weight: 900;
  line-height: 1.35;
}

.fd-name-button small {
  overflow: hidden;
  color: #6d838c;
  font-size: 8px;
  font-weight: 650;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fd-status,
.fd-photo-state {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border: 1px solid transparent;
  border-radius: 99px;
  font-size: 8px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}

.fd-status--operating {
  color: #155a49;
  border-color: rgba(33, 149, 115, 0.17);
  background: #dff6e9;
}

.fd-status--construction {
  color: #7f5310;
  border-color: rgba(188, 128, 29, 0.18);
  background: #fff1c9;
}

.fd-status--planned {
  color: #285c88;
  border-color: rgba(61, 130, 184, 0.2);
  background: #e4f2ff;
}

.fd-status--decommissioned {
  color: #77545d;
  border-color: rgba(134, 85, 98, 0.18);
  background: #f1e7eb;
}

.fd-status--suspended,
.fd-status--other {
  color: #626d73;
  border-color: rgba(90, 105, 113, 0.16);
  background: #edf0f1;
}

.fd-photo-state.is-photo {
  color: #3c387a;
  border-color: rgba(132, 102, 211, 0.2);
  background: #eee9ff;
}

.fd-photo-state.is-schematic {
  color: #75611a;
  border-color: rgba(165, 138, 34, 0.2);
  background: #fff8d8;
}

.fd-unknown {
  color: #87969c;
  font-size: 9px;
  font-weight: 800;
}

.fd-external-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 8px 13px;
  border: 1px solid rgba(22, 123, 143, 0.2);
  border-radius: 11px;
  color: #11677b;
  background: #e5f8fa;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.25;
  text-decoration: none;
}

.fd-external-link.is-compact {
  min-height: 28px;
  padding: 4px 7px;
  border-radius: 8px;
  font-size: 8px;
}

.fd-external-link i {
  font-style: normal;
}

.fd-pick-count {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 42px;
  min-height: 30px;
  padding: 5px 8px;
  border: 0;
  border-radius: 9px;
  color: #663959;
  background: #ffe8f3;
  font: 900 10px/1 Inter, system-ui, sans-serif;
  cursor: pointer;
}

.fd-pick-count span {
  color: #ff75ad;
}

.fd-card-list {
  display: none;
}

.fd-pagination {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
}

.fd-pagination > button,
.fd-pagination > div button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--fd-line);
  border-radius: 11px;
  color: var(--fd-ink);
  background: #fff;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.fd-pagination > button[disabled] {
  opacity: 0.36;
  cursor: not-allowed;
}

.fd-pagination > div {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.fd-pagination > div button[aria-current="page"] {
  border-color: transparent;
  color: #082331;
  background: var(--fd-mint);
}

.fd-pagination > small {
  grid-column: 1 / -1;
  color: #738891;
  font-size: 9px;
  font-weight: 800;
  text-align: center;
}

.fd-empty {
  display: grid;
  justify-items: center;
  max-width: 620px;
  margin: 44px auto;
  padding: 40px 22px;
  border: 1px dashed rgba(9, 37, 54, 0.2);
  border-radius: 22px;
  color: #526c77;
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.fd-empty > span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 13px;
  border-radius: 19px;
  color: #0b4b5e;
  background: linear-gradient(145deg, var(--fd-cyan), var(--fd-mint));
  font-size: 28px;
}

.fd-empty h3 {
  margin: 0;
  color: var(--fd-ink);
  font-size: 18px;
  font-weight: 900;
}

.fd-empty p {
  max-width: 480px;
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.7;
}

.fd-section-intro {
  max-width: 900px;
  margin-bottom: 24px;
}

.fd-section-intro h3 {
  margin: 0;
  color: var(--fd-ink);
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 950;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.fd-section-intro p {
  max-width: 820px;
  margin: 10px 0 0;
  color: var(--fd-ink-soft);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.8;
}

.fd-crew-intro > span {
  color: #7757c4;
}

.fd-crew-picker {
  display: grid;
  grid-template-columns: repeat(6, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}

.fd-crew-picker > button {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  min-height: 218px;
  padding: 8px 8px 12px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 20px;
  color: var(--fd-ink);
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(145deg, var(--fd-crew), var(--fd-accent)) border-box;
  box-shadow: 0 10px 24px rgba(7, 38, 49, 0.075);
  cursor: pointer;
}

.fd-crew-picker > button::after {
  content: "";
  position: absolute;
  inset: auto 12% -34px;
  height: 64px;
  border-radius: 50%;
  opacity: 0.16;
  background: var(--fd-crew);
  filter: blur(15px);
}

.fd-crew-picker > button[aria-selected="true"] {
  color: #fff;
  background:
    linear-gradient(145deg, rgba(5, 29, 42, 0.97), rgba(9, 56, 67, 0.96)) padding-box,
    linear-gradient(145deg, var(--fd-crew), var(--fd-accent)) border-box;
  box-shadow: 0 16px 36px color-mix(in srgb, var(--fd-crew) 26%, rgba(7, 38, 49, 0.14));
  transform: translateY(-3px);
}

.fd-crew-portrait {
  display: block;
  width: 100%;
  height: 118px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 15px;
  background-color: var(--fd-crew, #55d9ef);
  background-image:
    url("assets/meguru-crew-roster-v2.webp"),
    linear-gradient(145deg, var(--fd-crew, #55d9ef), var(--fd-accent, #ffe07d));
  background-position: var(--fd-x, 0%) var(--fd-y, 0%), center;
  background-repeat: no-repeat;
  background-size: 300% 200%, cover;
  box-shadow: inset 0 0 0 1px rgba(4, 25, 35, 0.08);
}

.fd-crew-picker > button[aria-selected="true"] .fd-crew-portrait {
  border-color: var(--fd-accent);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--fd-crew) 30%, transparent);
}

.fd-crew-meta {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 2px;
  padding: 9px 4px 0;
  text-align: left;
}

.fd-crew-meta b {
  font-size: 15px;
  font-weight: 950;
}

.fd-crew-meta small {
  min-height: 30px;
  color: #6a7f88;
  font-size: 8px;
  font-weight: 700;
  line-height: 1.4;
}

.fd-crew-picker > button[aria-selected="true"] .fd-crew-meta small {
  color: rgba(255, 255, 255, 0.68);
}

.fd-crew-meta i {
  justify-self: start;
  margin-top: 4px;
  padding: 4px 7px;
  border-radius: 99px;
  color: #49366e;
  background: #f0e9ff;
  font: 900 8px/1.2 Inter, system-ui, sans-serif;
  font-style: normal;
}

.fd-crew-picker > button[aria-selected="true"] .fd-crew-meta i {
  color: #082b38;
  background: var(--fd-accent);
}

.fd-crew-list {
  overflow: hidden;
  border: 1px solid var(--fd-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(5, 34, 47, 0.08);
}

.fd-crew-list-head {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  padding: 19px 24px;
  color: #fff;
  background:
    radial-gradient(circle at 13% 120%, color-mix(in srgb, var(--fd-crew) 46%, transparent), transparent 40%),
    linear-gradient(120deg, #071e2c, #0a3743);
}

.fd-crew-portrait--hero {
  height: 142px;
  border-radius: 20px;
}

.fd-crew-list-head h3 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 36px);
  font-weight: 950;
}

.fd-crew-list-head p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 750;
}

.fd-crew-list-head p b {
  color: var(--fd-accent);
  font: 950 24px/1 Inter, system-ui, sans-serif;
}

.fd-speech-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fd-speech-card {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 125px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--fd-line);
  content-visibility: auto;
  contain-intrinsic-size: auto 440px;
}

.fd-speech-card:last-child {
  border-bottom: 0;
}

.fd-speech-card:nth-child(even) {
  background: #f8fbf8;
}

.fd-speech-rank {
  display: grid;
  place-items: center;
  width: 62px;
  height: 72px;
  border: 1px solid color-mix(in srgb, var(--fd-crew) 36%, transparent);
  border-radius: 18px;
  color: var(--fd-ink);
  background: color-mix(in srgb, var(--fd-crew) 14%, #fff);
}

.fd-speech-rank small {
  color: #6e7c83;
  font-size: 7px;
  font-weight: 900;
}

.fd-speech-rank b {
  font: 950 24px/1 Inter, system-ui, sans-serif;
}

.fd-speech-copy {
  min-width: 0;
}

.fd-speech-copy > span {
  color: #748990;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.07em;
}

.fd-speech-copy h4 {
  margin: 3px 0 0;
  color: var(--fd-ink);
  font-size: 15px;
  font-weight: 950;
  line-height: 1.4;
}

.fd-speech-copy > small {
  display: block;
  margin-top: 2px;
  color: #71848d;
  font-size: 8px;
  font-weight: 750;
}

.fd-speech-copy p {
  margin: 7px 0 0;
  color: #3f5a65;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.75;
}

.fd-speech-card > button,
.fd-primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid rgba(17, 102, 123, 0.2);
  border-radius: 11px;
  color: #0b6174;
  background: #e6f8f8;
  font-size: 9px;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
}

.fd-data-intro > span {
  color: #37896e;
}

.fd-data-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.fd-data-kpis article {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  column-gap: 8px;
  padding: 18px 20px;
  border: 1px solid var(--fd-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(6, 34, 45, 0.055);
}

.fd-data-kpis small {
  grid-column: 1 / -1;
  margin-bottom: 8px;
  color: #6e848d;
  font-size: 9px;
  font-weight: 900;
}

.fd-data-kpis b {
  color: var(--fd-ink);
  font: 950 32px/1 Inter, system-ui, sans-serif;
}

.fd-data-kpis span {
  align-self: end;
  padding-bottom: 3px;
  color: #647b84;
  font-size: 9px;
  font-weight: 800;
}

.fd-data-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.fd-coverage-panel,
.fd-method-panel,
.fd-source-ledger {
  padding: 22px;
  border: 1px solid var(--fd-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(6, 34, 45, 0.05);
}

.fd-coverage-panel h4,
.fd-method-panel h4,
.fd-source-ledger h4,
.fd-detail-section > h4 {
  margin: 0 0 16px;
  color: var(--fd-ink);
  font-size: 15px;
  font-weight: 950;
}

.fd-coverage-list {
  display: grid;
  gap: 12px;
}

.fd-coverage-list > div {
  display: grid;
  gap: 6px;
}

.fd-coverage-list span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.fd-coverage-list span b {
  color: #294c59;
  font-size: 10px;
  font-weight: 900;
}

.fd-coverage-list span small {
  color: #788c94;
  font-size: 8px;
  font-weight: 800;
}

.fd-coverage-list > div > i {
  display: block;
  height: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: #e6eeee;
}

.fd-coverage-list > div > i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--fd-cyan), var(--fd-mint));
}

.fd-method-panel ol {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fd-method-panel li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: start;
}

.fd-method-panel li > b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  color: #0b4e5e;
  background: #ddf6f1;
  font: 900 9px/1 Inter, system-ui, sans-serif;
}

.fd-method-panel p {
  margin: 3px 0 0;
  color: #49626c;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.65;
}

.fd-source-ledger {
  margin-top: 16px;
}

.fd-source-ledger ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fd-source-ledger li {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(220px, 1.3fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 66px;
  padding: 10px 0;
  border-top: 1px solid var(--fd-line);
}

.fd-source-ledger li > div,
.fd-source-ledger li > span {
  display: grid;
  gap: 2px;
}

.fd-source-ledger li b {
  color: var(--fd-ink);
  font-size: 10px;
  font-weight: 900;
}

.fd-source-ledger li span {
  color: #43616c;
  font-size: 9px;
  font-weight: 800;
}

.fd-source-ledger li small {
  color: #7b8f97;
  font-size: 8px;
  font-weight: 650;
}

.fd-source-ledger li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 10px;
  color: #0b6376;
  background: #e5f7f8;
  font-size: 9px;
  font-weight: 900;
  text-decoration: none;
}

.fd-source-ledger li a i {
  font-style: normal;
}

.fd-official-photo-link {
  display:inline-flex;
  align-items:center;
  min-height:38px;
  margin-top:8px;
  padding:7px 10px;
  border-radius:9px;
  color:#083f4b;
  background:#d9f7f3;
  font-size:12px;
  font-weight:900;
  text-decoration:none;
}

.fd-official-photo-link:hover,
.fd-official-photo-link:focus-visible { background:#bceee7; }

.fd-drawer-layer {
  position: absolute;
  z-index: 30;
  inset: 0;
  display: grid;
  justify-items: end;
  overflow: hidden;
  border-radius: inherit;
}

.fd-drawer-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(2, 15, 24, 0.66);
  backdrop-filter: blur(6px);
}

.fd-drawer {
  position: relative;
  z-index: 1;
  width: min(680px, 92%);
  height: 100%;
  overflow: auto;
  outline: 0;
  color: var(--fd-ink);
  background: var(--fd-paper);
  box-shadow: -25px 0 65px rgba(0, 13, 23, 0.32);
  scrollbar-color: rgba(8, 57, 73, 0.34) transparent;
}

.fd-drawer-header {
  position: sticky;
  z-index: 5;
  top: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
  padding: 22px 24px;
  color: #fff;
  background:
    radial-gradient(circle at 70% -70%, rgba(85, 217, 239, 0.38), transparent 50%),
    linear-gradient(125deg, #061b29, #0b3a45);
  box-shadow: 0 8px 24px rgba(0, 15, 25, 0.14);
}

.fd-drawer-header h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 950;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.fd-drawer-header p {
  max-width: 500px;
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  font-weight: 650;
  line-height: 1.6;
}

.fd-drawer-header > button {
  align-self: start;
}

.fd-media {
  position: relative;
  display: block;
  margin: 0;
  overflow: hidden;
  background: #092431;
}

.fd-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fd-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 50%, rgba(1, 15, 25, 0.72));
}

.fd-media figcaption {
  position: absolute;
  z-index: 2;
  right: 10px;
  bottom: 10px;
  left: 10px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
}

.fd-media figcaption b {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.27);
  border-radius: 99px;
  background: rgba(2, 18, 28, 0.69);
  backdrop-filter: blur(8px);
  font-size: 8px;
  font-weight: 900;
}

.fd-media figcaption span {
  max-width: 70%;
  color: rgba(255, 255, 255, 0.78);
  font-size: 7px;
  font-weight: 700;
  line-height: 1.35;
  text-align: right;
}

.fd-media--detail {
  height: clamp(230px, 37vh, 390px);
}

.fd-media-stack {
  display: grid;
  gap: 10px;
}

.fd-detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0 20px;
}

.fd-detail-gallery figure {
  display: grid;
  grid-template-rows: minmax(170px, 24vh) auto;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(3, 127, 143, 0.18);
  border-radius: 16px;
  background: #f4fbfb;
}

.fd-detail-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fd-detail-gallery figcaption {
  display: grid;
  gap: 4px;
  padding: 11px 12px 12px;
  color: #183843;
  font-size: 11px;
  line-height: 1.45;
}

.fd-detail-gallery figcaption b { font-size: 13px; }
.fd-detail-gallery figcaption span { color: #536e77; }
.fd-detail-gallery figcaption a { color: #006f7d; font-weight: 850; }

.fd-media--card {
  height: 200px;
}

.fd-media.is-schematic img {
  filter: saturate(0.84) contrast(1.04);
}

.fd-media.is-schematic figcaption b {
  color: #182b31;
  border-color: rgba(255, 224, 125, 0.65);
  background: rgba(255, 224, 125, 0.92);
}

.fd-detail-section {
  margin: 0 22px;
  padding: 24px 2px;
  border-bottom: 1px solid var(--fd-line);
}

.fd-detail-section:last-child {
  padding-bottom: 44px;
  border-bottom: 0;
}

.fd-detail-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.fd-detail-specs > div,
.fd-detail-people > div,
.fd-photo-meta > div {
  display: grid;
  align-content: start;
  gap: 5px;
  min-height: 76px;
  padding: 13px 14px;
  border: 1px solid var(--fd-line);
  border-radius: 14px;
  background: #fff;
}

.fd-detail-specs dt,
.fd-detail-people dt,
.fd-photo-meta dt {
  color: #71858d;
  font-size: 8px;
  font-weight: 900;
}

.fd-detail-specs dd,
.fd-detail-people dd,
.fd-photo-meta dd {
  margin: 0;
  color: var(--fd-ink);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.55;
}

.fd-detail-people,
.fd-photo-meta {
  display: grid;
  gap: 9px;
  margin: 0;
}

.fd-detail-people > div {
  min-height: 68px;
}

.fd-detail-speeches {
  display: grid;
  gap: 10px;
}

.fd-detail-speeches article {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 14px;
  padding: 10px;
  border: 1px solid color-mix(in srgb, var(--fd-crew) 28%, var(--fd-line));
  border-radius: 17px;
  background: color-mix(in srgb, var(--fd-crew) 8%, #fff);
}

.fd-detail-speeches .fd-crew-portrait {
  height: 82px;
  border-radius: 13px;
}

.fd-detail-speeches small {
  color: #70838b;
  font-size: 7px;
  font-weight: 900;
}

.fd-detail-speeches h5 {
  margin: 2px 0 0;
  color: var(--fd-ink);
  font-size: 14px;
  font-weight: 950;
}

.fd-detail-speeches p {
  margin: 5px 0 0;
  color: #3c5863;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.7;
}

.fd-detail-empty {
  margin: 0;
  padding: 16px;
  border: 1px dashed var(--fd-line);
  border-radius: 14px;
  color: #70858e;
  background: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  font-weight: 750;
}

.fd-detail-links {
  margin-bottom: 12px;
}

.fd-detail-sources {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.fd-detail-sources li {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--fd-line);
  border-radius: 12px;
  background: #fff;
}

.fd-detail-sources li > b {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  color: #175c6c;
  background: #e0f5f3;
  font: 900 8px/1 Inter, system-ui, sans-serif;
}

.fd-detail-sources li > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.fd-detail-sources span {
  overflow: hidden;
  color: var(--fd-ink);
  font-size: 9px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fd-detail-sources small {
  color: #778a92;
  font-size: 7px;
  font-weight: 700;
}

.fd-detail-sources a,
.fd-photo-meta a {
  color: #0d687b;
  font-size: 8px;
  font-weight: 900;
  text-decoration: none;
}

.fd-card-label {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 30px;
  padding: 3px 0;
  color: #71858d;
  font: 900 12px/1.35 inherit;
  text-align: left;
}

.fd-modal button,
.fd-modal input,
.fd-modal select,
.fd-modal a {
  -webkit-tap-highlight-color: transparent;
}

.fd-modal button:focus-visible,
.fd-modal input:focus-visible,
.fd-modal select:focus-visible,
.fd-modal a:focus-visible,
.fd-dialog:focus-visible,
.fd-drawer:focus-visible {
  outline: 3px solid var(--fd-yellow);
  outline-offset: 2px;
}

.fd-modal button:hover:not([disabled]),
.fd-modal a:hover {
  filter: brightness(0.97);
}

/* Entry points added to the existing title and global navigation. */
.atlas-nav-button,
.atlas-title-button {
  -webkit-tap-highlight-color: transparent;
}

.atlas-nav-button {
  position: relative;
  display: grid;
  grid-template-columns: 38px auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 8px;
  min-width: 146px;
  min-height: 48px;
  padding: 5px 12px 5px 6px;
  overflow: hidden;
  border: 1px solid rgba(85, 217, 239, 0.38);
  border-radius: 15px;
  color: #eaffff;
  background:
    radial-gradient(circle at 10% 10%, rgba(85, 217, 239, 0.22), transparent 48%),
    linear-gradient(130deg, rgba(6, 35, 49, 0.96), rgba(10, 59, 68, 0.94));
  box-shadow: 0 8px 22px rgba(0, 21, 31, 0.2), inset 0 1px rgba(255, 255, 255, 0.09);
  cursor: pointer;
}

.atlas-nav-button::after {
  content: "";
  position: absolute;
  right: -12px;
  bottom: -19px;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(112, 228, 184, 0.24);
  border-radius: 50%;
}

.atlas-nav-button > span {
  grid-row: 1 / 3;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  color: #062733;
  background: linear-gradient(145deg, var(--fd-cyan), var(--fd-mint));
  font-size: 20px;
  font-weight: 900;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.7);
}

.atlas-nav-button > b {
  z-index: 1;
  align-self: end;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.15;
  text-align: left;
  white-space: nowrap;
}

.atlas-nav-button > small {
  z-index: 1;
  align-self: start;
  color: var(--fd-cyan);
  font: 800 7px/1.2 Inter, system-ui, sans-serif;
  letter-spacing: 0.12em;
  text-align: left;
}

.atlas-title-button {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 2px 12px;
  min-width: min(100%, 330px);
  min-height: 70px;
  padding: 11px 18px 11px 11px;
  overflow: hidden;
  border: 1px solid rgba(85, 217, 239, 0.48);
  border-radius: 19px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 25%, rgba(85, 217, 239, 0.2), transparent 37%),
    linear-gradient(120deg, rgba(5, 27, 42, 0.97), rgba(11, 58, 70, 0.96));
  box-shadow: 0 16px 36px rgba(1, 17, 28, 0.28), inset 0 1px rgba(255, 255, 255, 0.12);
  text-align: left;
  cursor: pointer;
}

.atlas-title-button::after {
  content: "↗";
  position: absolute;
  right: 12px;
  top: 11px;
  color: var(--fd-cyan);
  font-size: 13px;
  font-weight: 900;
}

.atlas-title-button > span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 52px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 15px;
  color: #082a36;
  background: linear-gradient(145deg, var(--fd-yellow), var(--fd-mint));
  font: 950 9px/1 Inter, system-ui, sans-serif;
  letter-spacing: 0.08em;
  transform: rotate(-3deg);
}

.atlas-title-button > b {
  align-self: end;
  padding-right: 14px;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.3;
}

.atlas-title-button > small {
  align-self: start;
  color: rgba(237, 253, 255, 0.67);
  font-size: 8px;
  font-weight: 700;
  line-height: 1.4;
}

.atlas-nav-button:hover,
.atlas-title-button:hover {
  border-color: var(--fd-cyan);
  filter: brightness(1.08);
}

.atlas-nav-button:focus-visible,
.atlas-title-button:focus-visible {
  outline: 3px solid var(--fd-yellow);
  outline-offset: 3px;
}

.title-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  width: min(100%, 680px);
}

.title-actions > .primary-button.large {
  flex: 1 1 220px;
}

@media (max-width: 1180px) {
  .fd-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .fd-coverage {
    display: none;
  }

  .fd-filters {
    grid-template-columns: repeat(3, minmax(120px, 1fr));
  }

  .fd-crew-picker {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
  }

  .fd-crew-picker > button {
    grid-template-columns: 120px minmax(0, 1fr);
    grid-template-rows: 1fr;
    align-items: center;
    min-height: 145px;
  }

  .fd-crew-portrait {
    height: 112px;
  }

  .atlas-nav-button {
    grid-template-columns: 38px;
    grid-template-rows: 1fr;
    width: 50px;
    min-width: 50px;
    padding: 5px;
  }

  .atlas-nav-button > span {
    grid-row: auto;
  }

  .atlas-nav-button > b,
  .atlas-nav-button > small {
    display: none;
  }
}

@media (max-width: 860px) {
  .fd-modal {
    padding: 0;
  }

  .fd-dialog {
    width: 100%;
    height: 100dvh;
    min-height: 0;
    border: 0;
    border-radius: 0;
  }

  .fd-dialog::before {
    width: 3px;
  }

  .fd-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 112px;
    padding: 15px 16px;
    gap: 12px;
  }

  .fd-atlas-keyvisual {
    inset: 0 0 0 34%;
    opacity: 0.62;
  }

  .fd-atlas-keyvisual::before {
    background:
      linear-gradient(90deg, #071d2b 0%, rgba(7, 29, 43, 0.75) 38%, rgba(7, 29, 43, 0.22) 100%),
      linear-gradient(0deg, rgba(2, 17, 27, 0.6), transparent 58%);
  }

  .fd-atlas-keyvisual figcaption {
    right: 58px;
    bottom: 5px;
    max-width: 210px;
    padding: 3px 6px;
    font-size: 6px;
  }

  .fd-brand-mark {
    width: 52px;
    height: 52px;
    border-radius: 17px;
  }

  .fd-brand-mark::before {
    width: 41px;
    height: 18px;
  }

  .fd-brand-mark::after {
    width: 18px;
    height: 41px;
  }

  .fd-brand-mark i {
    width: 35px;
    height: 35px;
  }

  .fd-brand-mark b {
    font-size: 18px;
  }

  .fd-heading h2 {
    font-size: clamp(18px, 4.8vw, 25px);
  }

  .fd-heading p {
    display: none;
  }

  .fd-close {
    grid-template-columns: 1fr;
    min-width: 44px;
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 4px;
  }

  .fd-close span {
    width: 34px;
    height: 34px;
  }

  .fd-close b {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .fd-tabs {
    min-height: 58px;
    padding: 0 5px;
  }

  .fd-tabs button {
    min-height: 58px;
    padding: 7px 5px;
    gap: 6px;
  }

  .fd-tabs small {
    width: 23px;
    height: 23px;
    font-size: 7px;
  }

  .fd-tabs b {
    font-size: 10px;
  }

  .fd-panel {
    padding: 15px 12px 36px;
  }

  .fd-search-stage {
    margin-top: -15px;
    padding-top: 15px;
  }

  .fd-search {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 9px;
    border-radius: 15px;
  }

  .fd-search > span:first-child {
    padding-left: 5px;
    font-size: 9px;
  }

  .fd-search input {
    min-height: 46px;
    font-size: 16px;
  }

  .fd-filters {
    display: flex;
    gap: 7px;
    margin-right: -12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 0 12px 11px 0;
    scrollbar-width: none;
  }

  .fd-filters::-webkit-scrollbar {
    display: none;
  }

  .fd-filter {
    flex: 0 0 148px;
  }

  .fd-filter select,
  .fd-filter-reset {
    min-height: 44px;
  }

  .fd-filter-reset {
    flex: 0 0 auto;
    align-self: end;
  }

  .fd-result-bar {
    align-items: flex-end;
    margin-top: 2px;
  }

  .fd-result-bar p {
    flex-wrap: wrap;
    gap: 4px;
  }

  .fd-result-bar p b {
    font-size: 21px;
  }

  .fd-result-bar p small {
    flex-basis: 100%;
    margin-left: 0;
  }

  .fd-result-bar > span {
    max-width: 45%;
    text-align: right;
  }

  .fd-table-wrap {
    display: none;
  }

  .fd-card-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }

  .fd-card {
    overflow: hidden;
    border: 1px solid var(--fd-line);
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(4, 31, 44, 0.07);
  }

  .fd-media--card {
    height: 170px;
  }

  .fd-media figcaption span {
    display: none;
  }

  .fd-card-body {
    padding: 13px;
  }

  .fd-card-head {
    min-height: 70px;
  }

  .fd-card-head > span {
    margin-bottom: 4px;
    color: #58737e;
    font-size: 8px;
  }

  .fd-card-head h3 {
    margin: 0;
    color: var(--fd-ink);
    font-size: 15px;
    font-weight: 950;
    line-height: 1.4;
  }

  .fd-card dl {
    display: grid;
    gap: 0;
    margin: 10px 0 13px;
  }

  .fd-card dl > div {
    display: grid;
    grid-template-columns: minmax(86px, 0.42fr) minmax(0, 1fr);
    align-items: start;
    gap: 8px;
    min-height: 38px;
    padding: 4px 0;
    border-top: 1px solid var(--fd-line);
  }

  .fd-card dt,
  .fd-card dd {
    margin: 0;
  }

  .fd-card dd {
    padding-top: 7px;
    color: #34545f;
    font-size: 9px;
    font-weight: 750;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  .fd-primary-action {
    width: 100%;
    min-height: 46px;
    border: 0;
    color: #062c3b;
    background: linear-gradient(100deg, var(--fd-cyan), var(--fd-mint));
  }

  .fd-pagination {
    position: sticky;
    z-index: 7;
    bottom: 0;
    margin: 14px -12px -36px;
    padding: 10px 12px 12px;
    border-top: 1px solid var(--fd-line);
    background: rgba(248, 251, 247, 0.94);
    backdrop-filter: blur(10px);
  }

  .fd-pagination > div button:not([aria-current="page"]) {
    display: none;
  }

  .fd-section-intro {
    margin-bottom: 17px;
  }

  .fd-section-intro h3 {
    font-size: clamp(24px, 7vw, 34px);
  }

  .fd-section-intro p {
    font-size: 11px;
  }

  .fd-crew-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .fd-crew-picker > button {
    grid-template-columns: 104px minmax(0, 1fr);
    min-height: 128px;
    padding: 7px;
    border-radius: 16px;
  }

  .fd-crew-picker .fd-crew-portrait {
    height: 102px;
    border-radius: 12px;
  }

  .fd-crew-meta {
    padding: 5px 4px 0 9px;
  }

  .fd-crew-meta b {
    font-size: 14px;
  }

  .fd-crew-meta small {
    min-height: 0;
  }

  .fd-crew-list {
    border-radius: 19px;
  }

  .fd-crew-list-head {
    grid-template-columns: 124px minmax(0, 1fr);
    gap: 14px;
    padding: 13px;
  }

  .fd-crew-portrait--hero {
    height: 105px;
    border-radius: 14px;
  }

  .fd-speech-card {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 11px;
    padding: 15px 13px;
  }

  .fd-speech-rank {
    width: 52px;
    height: 62px;
    border-radius: 14px;
  }

  .fd-speech-rank b {
    font-size: 20px;
  }

  .fd-speech-card > button {
    grid-column: 2;
    justify-self: start;
  }

  .fd-data-kpis {
    grid-template-columns: 1fr;
  }

  .fd-data-grid {
    grid-template-columns: 1fr;
  }

  .fd-source-ledger li {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
  }

  .fd-source-ledger li > span {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .fd-source-ledger li > a {
    grid-column: 2;
    grid-row: 1;
  }

  .fd-drawer-layer {
    border-radius: 0;
  }

  .fd-drawer {
    width: min(640px, 96%);
  }
}

@media (max-width: 560px) {
  .fd-heading > span {
    font-size: 8px;
    letter-spacing: 0.13em;
  }

  .fd-heading h2 {
    font-size: 17px;
    line-height: 1.25;
  }

  .fd-atlas-keyvisual {
    inset: 0 0 0 29%;
  }

  .fd-atlas-keyvisual img {
    object-position: 69% 60%;
    opacity: 0.62;
  }

  .fd-atlas-keyvisual figcaption {
    right: 52px;
    max-width: 162px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .title-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .atlas-title-button {
    width: 100%;
    min-width: 0;
  }

  .fd-card-list {
    grid-template-columns: 1fr;
  }

  .fd-media--card {
    height: 210px;
  }

  .fd-crew-picker {
    grid-template-columns: 1fr;
  }

  .fd-crew-picker > button {
    grid-template-columns: 122px minmax(0, 1fr);
    min-height: 143px;
  }

  .fd-crew-picker .fd-crew-portrait {
    height: 118px;
  }

  .fd-crew-list-head {
    grid-template-columns: 105px minmax(0, 1fr);
  }

  .fd-crew-portrait--hero {
    height: 90px;
  }

  .fd-crew-list-head h3 {
    font-size: 18px;
  }

  .fd-crew-list-head p b {
    font-size: 20px;
  }

  .fd-speech-copy h4 {
    font-size: 13px;
  }

  .fd-speech-copy p {
    font-size: 10px;
  }

  .fd-drawer {
    width: 100%;
  }

  .fd-drawer-header {
    padding: 17px 14px;
  }

  .fd-drawer-header > button {
    grid-template-columns: 1fr;
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 4px;
  }

  .fd-drawer-header > button b {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .fd-media--detail {
    height: 230px;
  }

  .fd-detail-gallery {
    grid-template-columns: 1fr;
    padding: 0 13px;
  }

  .fd-detail-section {
    margin: 0 13px;
    padding: 19px 1px;
  }

  .fd-detail-specs {
    grid-template-columns: 1fr 1fr;
  }

  .fd-detail-specs dd,
  .fd-detail-people dd,
  .fd-photo-meta dd {
    font-size: 10px;
  }

  .fd-detail-speeches article {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .fd-detail-speeches .fd-crew-portrait {
    height: 72px;
  }

  .fd-detail-sources li {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .fd-detail-sources li > a {
    grid-column: 2;
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fd-modal *,
  .fd-modal *::before,
  .fd-modal *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .fd-crew-picker > button[aria-selected="true"] {
    transform: none;
  }
}

@media (forced-colors: active) {
  .fd-modal,
  .fd-dialog,
  .fd-header,
  .fd-tabs,
  .fd-panel,
  .fd-table-wrap,
  .fd-card,
  .fd-drawer {
    forced-color-adjust: auto;
  }

  .fd-status,
  .fd-photo-state,
  .fd-unknown,
  .fd-external-link {
    border: 1px solid currentColor;
  }
}

/* v30: the journey starts with Crew 100, then opens into research tools. */
.fd-tabs {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fd-atlas-journey {
  display: grid;
  grid-template-columns: minmax(240px, .8fr) minmax(0, 1.6fr);
  gap: 24px;
  margin-bottom: 22px;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(9, 37, 54, .14);
  border-radius: 26px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 0, rgba(112, 228, 184, .22), transparent 35%),
    linear-gradient(135deg, #08283a, #0d4651);
  box-shadow: 0 18px 44px rgba(5, 34, 47, .16);
}

.fd-atlas-journey header > span,
.fd-more-hub header > span {
  color: var(--fd-mint);
  font: 900 12px/1.2 Inter, system-ui, sans-serif;
  letter-spacing: .16em;
}

.fd-atlas-journey h3,
.fd-more-hub h3 {
  margin: 8px 0 10px;
  font-size: clamp(24px, 2.8vw, 40px);
  line-height: 1.08;
}

.fd-atlas-journey header p,
.fd-more-hub header p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
}

.fd-atlas-journey ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fd-atlas-journey li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 17px;
  background: rgba(255, 255, 255, .09);
}

.fd-atlas-journey li > b {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  color: #052937;
  background: var(--fd-yellow);
  font: 950 14px/1 Inter, system-ui, sans-serif;
}

.fd-atlas-journey h4 {
  margin: 0 0 4px;
  font-size: 17px;
}

.fd-atlas-journey li p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  line-height: 1.55;
}

.fd-more-hub {
  margin-top: 28px;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(9, 37, 54, .14);
  border-radius: 26px;
  background: linear-gradient(145deg, #f3fbf7, #eef5ff);
}

.fd-more-hub header > span { color: #167b70; }
.fd-more-hub header p { color: #49666f; }

.fd-more-hub > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.fd-more-hub button {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 24px;
  gap: 12px;
  align-items: center;
  min-height: 94px;
  padding: 15px;
  border: 2px solid #164c58;
  border-radius: 19px;
  color: #0b3140;
  text-align: left;
  background: #fff;
  box-shadow: 0 7px 0 rgba(9, 45, 58, .16);
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.fd-more-hub button:hover,
.fd-more-hub button:focus-visible {
  background: #fff8d8;
  transform: translateY(-2px);
  box-shadow: 0 9px 0 rgba(9, 45, 58, .16);
}

.fd-more-hub button:active {
  transform: translateY(4px);
  box-shadow: 0 3px 0 rgba(9, 45, 58, .16);
}

.fd-more-hub button i {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  color: #082b38;
  background: var(--fd-mint);
  font-style: normal;
  font-weight: 950;
}

.fd-more-hub button span { display: grid; gap: 5px; }
.fd-more-hub button b { font-size: 16px; }
.fd-more-hub button small { color: #506b73; font-size: 13px; line-height: 1.45; }
.fd-more-hub button em { font-size: 22px; font-style: normal; }

.fd-notes-intro { max-width: 900px; }

.fd-notes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.fd-note-card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--fd-line);
  border-top: 7px solid var(--fd-note);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(5, 34, 47, .09);
}

.fd-note-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fd-note-card > div small { color: #4b6871; font-size: 12px; font-weight: 900; letter-spacing: .1em; }
.fd-note-card > div i { color: #143d48; font-size: 34px; font-style: normal; }
.fd-note-card h4 { margin: 18px 0 10px; font-size: clamp(21px, 2vw, 29px); line-height: 1.15; }
.fd-note-card p { margin: 0; color: #425f68; font-size: 15px; line-height: 1.75; }
.fd-note-card > span { display: inline-flex; margin-top: 18px; padding: 7px 10px; border-radius: 999px; color: #244850; background: #edf3f1; font-size: 12px; font-weight: 850; }
.fd-note-card > span[data-found="true"] { background: #dff8c7; }

.fd-modal button:not(:disabled),
.fd-modal a[href],
.fd-modal select,
.fd-modal input { cursor: pointer; }

.fd-modal button:disabled {
  opacity: .45;
  cursor: not-allowed;
  filter: grayscale(.45);
}

@media (max-width: 860px) {
  .fd-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 112px;
  }

  .fd-tabs button { min-height: 56px; }

  .fd-atlas-journey,
  .fd-more-hub > div,
  .fd-notes-grid { grid-template-columns: 1fr; }

  .fd-atlas-journey { padding: 19px; }
}

@media (max-width: 560px) {
  .fd-tabs b { font-size: 12px; }
  .fd-tabs small { font-size: 10px; }
  .fd-atlas-journey li { grid-template-columns: 40px minmax(0, 1fr); padding: 12px; }
  .fd-atlas-journey li > b { width: 38px; height: 38px; }
  .fd-more-hub button { grid-template-columns: 42px minmax(0, 1fr) 18px; }
}
