/*
 * Mission beat-3 X article quotation card.
 * Theme-aware; pairs with toward-mission page chrome.
 */

.mission-x-quote {
  margin: clamp(36px, 5vh, 56px) 0 0;
  max-width: min(640px, 100%);
}

.mission-x-quote__card {
  border: 1px solid rgba(191, 220, 246, 0.14);
  border-radius: 12px;
  background: #000000;
  padding: clamp(18px, 3vw, 24px);
  box-shadow: none;
}

.mission-x-quote__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(14px, 2vh, 18px);
}

.mission-x-quote__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(191, 220, 246, 0.12);
}

.mission-x-quote__identity {
  flex: 1;
  min-width: 0;
}

.mission-x-quote__profile {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.mission-x-quote__profile:hover,
.mission-x-quote__profile:focus-visible {
  opacity: 0.86;
  outline: none;
}

.mission-x-quote__profile:focus-visible .mission-x-quote__name {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mission-x-quote__name-row {
  display: flex;
  align-items: center;
  gap: 4px;
}

.mission-x-quote__name {
  color: var(--tm-ink, #f4f8fc);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.mission-x-quote__verified {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.mission-x-quote__handle {
  display: block;
  margin-top: 1px;
  color: rgba(204, 222, 240, 0.56);
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.2;
}

.mission-x-quote__source-sep {
  color: rgba(204, 222, 240, 0.42);
  font-weight: 400;
  letter-spacing: 0;
}

.mission-x-quote__text {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--tm-ink, #f4f8fc);
  font-size: clamp(0.98rem, 1.55vw, 1.12rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.008em;
  text-wrap: pretty;
}

.mission-x-quote__text p {
  margin: 0 0 1em;
}

.mission-x-quote__text p:last-child {
  margin-bottom: 0;
}

.mission-x-quote__emphasis {
  font-weight: 620;
  color: var(--tm-ink, #f4f8fc);
}

.mission-x-quote__footer {
  margin-top: clamp(16px, 2.4vh, 22px);
  padding-top: clamp(14px, 2vh, 18px);
  border-top: 1px solid rgba(191, 220, 246, 0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mission-x-quote__source {
  display: block;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.45;
}

.mission-x-quote__source-kicker,
.mission-x-quote__source-meta {
  color: rgba(204, 222, 240, 0.48);
  font-weight: 550;
}

.mission-x-quote__source a {
  color: rgba(222, 233, 244, 0.78);
  text-decoration: none;
  border-bottom: 1px solid rgba(191, 220, 246, 0.18);
  letter-spacing: 0.04em;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.mission-x-quote__source a:hover,
.mission-x-quote__source a:focus-visible {
  color: var(--tm-blue-strong, #a9dcff);
  border-bottom-color: currentColor;
}

.mission-x-quote__cta {
  color: var(--tm-blue, #79bdf1);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  align-self: flex-start;
  border-bottom: 1px solid rgba(121, 189, 241, 0.28);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.mission-x-quote__cta:hover,
.mission-x-quote__cta:focus-visible {
  color: var(--tm-blue-strong, #a9dcff);
  border-bottom-color: currentColor;
}

html[data-theme="light"] .mission-x-quote__card {
  background: #ffffff;
  border-color: rgba(31, 95, 115, 0.14);
  box-shadow: none;
}

html[data-theme="light"] .mission-x-quote__name {
  color: #0f1216;
}

html[data-theme="light"] .mission-x-quote__handle {
  color: rgba(78, 84, 92, 0.82);
}

html[data-theme="light"] .mission-x-quote__text {
  color: #141820;
}

html[data-theme="light"] .mission-x-quote__emphasis {
  color: #0f1216;
}

html[data-theme="light"] .mission-x-quote__source-kicker,
html[data-theme="light"] .mission-x-quote__source-meta {
  color: rgba(78, 84, 92, 0.62);
}

html[data-theme="light"] .mission-x-quote__source a {
  color: rgba(40, 44, 52, 0.88);
  border-bottom-color: rgba(31, 95, 115, 0.18);
}

html[data-theme="light"] .mission-x-quote__cta {
  color: #1f5f73;
  border-bottom-color: rgba(31, 95, 115, 0.28);
}

html[data-theme="light"] .mission-x-quote__footer {
  border-top-color: rgba(31, 95, 115, 0.12);
}

html[data-theme="light"] .mission-x-quote__avatar {
  border-color: rgba(31, 95, 115, 0.14);
}

html[data-theme="stellar"] .mission-x-quote__card {
  background: #000000;
  border-color: rgba(191, 220, 246, 0.16);
}

@media (max-width: 760px) {
  .mission-x-quote {
    margin-top: clamp(28px, 4vh, 40px);
  }

      .mission-x-quote__card {
    padding: 16px;
    border-radius: 12px;
  }

  .mission-x-quote__avatar {
    width: 44px;
    height: 44px;
  }

  .mission-x-quote__text {
    font-size: clamp(0.94rem, 4.2vw, 1.05rem);
  }
}
