/*
 * Truth Archives foreground refit
 *
 * Intent:
 * - keep the investigation-room artwork as the dominant visual world
 * - remove the sci-fi dashboard boxes and black centre orb
 * - turn the six gateways into loose evidence clusters
 * - use curved route traces instead of rigid spokes
 * - keep the lower instruction in normal flow so it cannot cover content
 */

.tf-archive-live-refined .tf-gateway-v2 {
  min-height: auto;
  padding-bottom: 24px;
}

.tf-archive-live-refined .tf-gateway-v2-bg {
  background-image:
    linear-gradient(
      rgba(2, 5, 8, .04),
      rgba(2, 5, 8, .13) 58%,
      rgba(2, 5, 8, .82) 100%
    ),
    url("../../images/truth-files-archives-investigation-room-v2.png") !important;
  background-position: center top !important;
  background-size: cover !important;
}

.tf-archive-live-refined .tf-gateway-v2::after {
  background:
    radial-gradient(ellipse 25rem 18rem at 50% 69%, rgba(2, 6, 9, .58), rgba(2, 6, 9, .3) 54%, transparent 82%),
    radial-gradient(ellipse at 50% 45%, rgba(0, 0, 0, .08), rgba(0, 0, 0, .3) 72%);
}

.tf-archive-live-refined .tf-gateway-v2-stage {
  grid-template-columns: minmax(400px, 1fr) minmax(280px, .66fr) minmax(400px, 1fr);
  gap: clamp(30px, 3.4vw, 54px);
  min-height: 650px;
  margin-top: clamp(-10px, -.6vw, -4px);
}

.tf-archive-live-refined .tf-gateway-v2-side {
  gap: clamp(17px, 1.55vw, 23px);
  min-width: 0;
  width: 100%;
}

.tf-archive-live-refined .tf-gateway-card-shell {
  min-width: 0;
  width: 100%;
  transition: transform .22s ease;
}

.tf-archive-live-refined .tf-gateway-v2-left .tf-gateway-card-shell:nth-child(1) {
  transform: translateX(-8px) rotate(-.35deg);
}

.tf-archive-live-refined .tf-gateway-v2-left .tf-gateway-card-shell:nth-child(2) {
  transform: translateX(10px) rotate(.25deg);
}

.tf-archive-live-refined .tf-gateway-v2-left .tf-gateway-card-shell:nth-child(3) {
  transform: translateX(-2px) rotate(-.2deg);
}

.tf-archive-live-refined .tf-gateway-v2-right .tf-gateway-card-shell:nth-child(1) {
  transform: translateX(8px) rotate(.35deg);
}

.tf-archive-live-refined .tf-gateway-v2-right .tf-gateway-card-shell:nth-child(2) {
  transform: translateX(-10px) rotate(-.25deg);
}

.tf-archive-live-refined .tf-gateway-v2-right .tf-gateway-card-shell:nth-child(3) {
  transform: translateX(2px) rotate(.2deg);
}

.tf-archive-live-refined .tf-gateway-card,
.tf-archive-live-refined .tf-gateway-v2-right .tf-gateway-card {
  grid-template-columns: 41% 59%;
  width: 100%;
  max-width: 100%;
  min-height: clamp(150px, 9.9vw, 164px);
  padding: 0;
  overflow: visible;
  border: 0;
  clip-path: none;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .42));
}

.tf-archive-live-refined .tf-gateway-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 8%;
  right: -2%;
  bottom: 8%;
  left: 35%;
  background: linear-gradient(
    92deg,
    rgba(2, 6, 9, .91) 0%,
    rgba(2, 6, 9, .78) 64%,
    rgba(2, 6, 9, .18) 100%
  );
  clip-path: polygon(0 6%, 91% 0, 100% 13%, 96% 87%, 86% 100%, 0 94%, 4% 50%);
  backdrop-filter: blur(5px);
  pointer-events: none;
}

.tf-archive-live-refined .tf-gateway-card:hover,
.tf-archive-live-refined .tf-gateway-card:focus-visible {
  border-color: transparent;
  box-shadow: none;
  filter:
    drop-shadow(0 21px 24px rgba(0, 0, 0, .55))
    drop-shadow(0 0 13px color-mix(in srgb, var(--accent) 25%, transparent));
}

.tf-archive-live-refined .tf-gateway-v2-left .tf-gateway-card:hover,
.tf-archive-live-refined .tf-gateway-v2-left .tf-gateway-card:focus-visible {
  transform: translate(6px, -3px) scale(1.012);
}

.tf-archive-live-refined .tf-gateway-v2-right .tf-gateway-card:hover,
.tf-archive-live-refined .tf-gateway-v2-right .tf-gateway-card:focus-visible {
  transform: translate(-6px, -3px) scale(1.012);
}

.tf-archive-live-refined .tf-gateway-image {
  min-width: 0;
  min-height: clamp(150px, 9.9vw, 164px);
  margin: 5px 0;
  overflow: hidden;
  border: 1px solid rgba(220, 214, 198, .22);
  clip-path: polygon(3% 0, 100% 2%, 97% 95%, 7% 100%, 0 88%, 1% 8%);
  background: #06090b;
  box-shadow:
    0 14px 26px rgba(0, 0, 0, .48),
    0 0 0 5px rgba(7, 10, 12, .6);
}

.tf-archive-live-refined .tf-gateway-v2-left .tf-gateway-card-shell:nth-child(2) .tf-gateway-image,
.tf-archive-live-refined .tf-gateway-v2-right .tf-gateway-card-shell:nth-child(3) .tf-gateway-image {
  clip-path: polygon(0 3%, 93% 0, 100% 9%, 98% 91%, 91% 100%, 2% 96%);
}

.tf-archive-live-refined .tf-gateway-image::after,
.tf-archive-live-refined .tf-gateway-v2-right .tf-gateway-image::after {
  background:
    linear-gradient(90deg, rgba(2, 5, 8, .04), rgba(2, 5, 8, .38)),
    linear-gradient(180deg, rgba(235, 224, 198, .04), rgba(0, 0, 0, .2));
}

.tf-archive-live-refined .tf-gateway-image img {
  min-height: clamp(150px, 9.9vw, 164px);
  filter: saturate(.72) contrast(1.14) brightness(.76) sepia(.08);
}

.tf-archive-live-refined .tf-gateway-copy {
  position: relative;
  justify-content: center;
  padding: 15px 20px 14px 23px;
}

.tf-archive-live-refined .tf-gateway-copy::before {
  content: "";
  position: absolute;
  top: 18%;
  bottom: 18%;
  left: 9px;
  width: 2px;
  opacity: .68;
  background: var(--accent);
  box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 60%, transparent);
}

.tf-archive-live-refined .tf-gateway-copy b {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(20px, 1.35vw, 27px);
  font-weight: 800;
  letter-spacing: .04em;
  opacity: .92;
}

.tf-archive-live-refined .tf-gateway-copy strong {
  margin: 8px 0 7px;
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif !important;
  font-size: clamp(23px, 1.55vw, 29px);
  font-weight: 850;
  letter-spacing: -.026em;
  line-height: .98;
  text-shadow: 0 3px 14px rgba(0, 0, 0, .9);
  text-wrap: balance;
}

.tf-archive-live-refined .tf-gateway-copy em {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(13px, .9vw, 15px);
  font-style: normal;
  font-weight: 650;
  letter-spacing: .055em;
  color: rgba(243, 239, 231, .74);
}

.tf-archive-live-refined .tf-gateway-copy span {
  margin-top: 10px;
  padding-top: 0;
  border-top: 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(11px, .76vw, 13px);
  font-weight: 800;
  letter-spacing: .09em;
}

.tf-archive-live-refined .tf-route-node {
  width: 34px;
  height: 34px;
  border: 3px solid rgba(2, 6, 9, .92);
  color: #071014;
  background: var(--accent);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--accent) 72%, transparent),
    0 0 20px color-mix(in srgb, var(--accent) 38%, transparent);
  font-size: 19px;
  letter-spacing: 0;
  animation: tf-node-signal 4.8s ease-in-out infinite;
}

.tf-archive-live-refined .tf-gateway-card-shell:nth-child(2) .tf-route-node {
  animation-delay: -1.6s;
}

.tf-archive-live-refined .tf-gateway-card-shell:nth-child(3) .tf-route-node {
  animation-delay: -3.2s;
}

.tf-archive-live-refined .tf-gateway-v2-left .tf-route-node {
  right: -17px;
}

.tf-archive-live-refined .tf-gateway-v2-right .tf-route-node {
  left: -17px;
}

.tf-archive-live-refined .tf-gateway-v2-lines {
  opacity: .56;
  overflow: visible;
}

.tf-archive-live-refined .tf-gateway-v2-lines .route-line {
  fill: none;
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-dasharray: .035 .028;
  filter: drop-shadow(0 0 3px currentColor);
  animation: tf-route-flow 8s linear infinite;
}

.tf-archive-live-refined .tf-gateway-v2-lines .route-line:nth-child(even) {
  animation-direction: reverse;
  animation-duration: 10s;
}

.tf-archive-live-refined .tf-gateway-core {
  align-self: center;
  width: min(320px, 100%);
  min-height: 292px;
  aspect-ratio: auto;
  margin: 30px auto 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.tf-archive-live-refined .tf-gateway-core::before {
  inset: 3% -13% -9%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at 50% 62%,
    rgba(2, 6, 9, .93) 0%,
    rgba(2, 6, 9, .74) 51%,
    rgba(2, 6, 9, .18) 79%,
    rgba(2, 6, 9, 0) 100%
  );
  opacity: .78;
  animation: tf-core-atmosphere 6.5s ease-in-out infinite;
}

.tf-archive-live-refined .tf-gateway-core::after,
.tf-archive-live-refined .tf-core-ring {
  display: none;
}

.tf-archive-live-refined .tf-core-copy {
  width: 100%;
  padding: 24px 10px;
  animation: tf-core-resolve .8s cubic-bezier(.2, .7, .2, 1) both;
}

.tf-archive-live-refined .tf-core-copy::before {
  content: none;
}

.tf-archive-live-refined .tf-core-kicker {
  display: block;
  max-width: none;
  margin: 0 0 14px;
  color: var(--cyan) !important;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 11.5px !important;
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(84, 255, 241, .28);
}

.tf-archive-live-refined .tf-core-copy strong {
  display: grid;
  justify-items: center;
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif !important;
  font-size: clamp(40px, 3vw, 54px);
  font-weight: 820;
  letter-spacing: -.045em;
  line-height: .82;
  text-shadow:
    0 6px 24px rgba(0, 0, 0, .96),
    0 0 46px rgba(84, 255, 241, .13);
}

.tf-archive-live-refined .tf-core-title-line {
  display: block;
  max-width: none;
  margin: 0;
  color: #f5efe4;
  font-family: inherit !important;
  font-size: 1em !important;
  line-height: inherit;
}

.tf-archive-live-refined .tf-core-title-emphasis {
  position: relative;
  color: #fff8ee;
  font-size: 1.08em;
  font-style: italic;
  font-weight: 720;
  letter-spacing: -.055em;
  transform: translateX(-.035em);
}

.tf-archive-live-refined .tf-core-copy > span:not(.tf-core-kicker) {
  max-width: 260px;
  margin: 17px auto 0;
  color: rgba(247, 242, 232, .84);
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: clamp(13px, .95vw, 15px);
  font-weight: 600;
  letter-spacing: .005em;
  line-height: 1.42;
  text-shadow: 0 3px 14px rgba(0, 0, 0, .95);
}

.tf-archive-live-refined .tf-gateway-v2-footer {
  position: relative;
  left: auto;
  bottom: auto;
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: start;
  justify-self: center;
  width: min(620px, 100%);
  margin: -28px auto 8px;
  padding: 10px 14px 8px;
  border: 0;
  color: rgba(243, 239, 231, .82);
  background: linear-gradient(90deg, transparent, rgba(2, 6, 9, .76) 18%, rgba(2, 6, 9, .76) 82%, transparent);
  backdrop-filter: none;
  text-align: center;
  text-shadow: 0 3px 12px rgba(0, 0, 0, .95);
  transform: none;
}

.tf-archive-live-refined .tf-footer-slogan {
  display: block;
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: clamp(15px, 1.08vw, 18px);
  font-style: italic;
  font-weight: 650;
  letter-spacing: .035em;
  line-height: 1.25;
  text-transform: none;
  text-wrap: balance;
}

.tf-archive-live-refined .tf-gateway-v2-footer strong {
  margin-top: 4px;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 17px;
  letter-spacing: .15em;
}

/* Open lane: evidence ledger rather than a dashboard card grid. */
.tf-archive-live-refined .tf-lane-panel {
  position: relative;
  isolation: isolate;
  gap: 0;
  width: min(1180px, 100%);
  margin-top: 12px;
  padding: clamp(30px, 3vw, 44px) clamp(18px, 2.4vw, 34px) 30px;
  overflow: hidden;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.tf-archive-live-refined .tf-lane-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 74% 82% at 50% 48%, rgba(3, 8, 13, .94), rgba(3, 8, 13, .76) 64%, rgba(3, 8, 13, 0) 100%),
    linear-gradient(90deg, rgba(3, 8, 13, 0), rgba(3, 8, 13, .76) 12%, rgba(3, 8, 13, .76) 88%, rgba(3, 8, 13, 0));
  pointer-events: none;
}

.tf-archive-live-refined .tf-lane-back {
  justify-self: start;
  margin: 0 0 25px;
  padding: 0 0 7px;
  border: 0;
  border-bottom: 1px solid rgba(84, 255, 241, .5);
  background: transparent;
  box-shadow: none;
  color: var(--cyan);
  font-family: var(--tf-head);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .16em;
  line-height: 1;
  text-transform: uppercase;
}

.tf-archive-live-refined .tf-lane-back:hover,
.tf-archive-live-refined .tf-lane-back:focus-visible {
  border-bottom-color: var(--cyan);
  color: #f6f0e6;
  outline: none;
}

.tf-archive-live-refined .tf-lane-panel-head {
  position: relative;
  max-width: 960px;
  padding-left: clamp(0px, 1vw, 14px);
}

.tf-archive-live-refined .tf-lane-panel-kicker {
  margin-bottom: 8px;
  color: var(--cyan);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .24em;
}

.tf-archive-live-refined .tf-lane-panel h2 {
  max-width: 880px;
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif !important;
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 850;
  letter-spacing: -.04em;
  line-height: .88;
  text-shadow: 0 10px 34px rgba(0, 0, 0, .84);
}

.tf-archive-live-refined .tf-lane-panel-head p:last-child {
  max-width: 850px;
  margin-top: 14px;
  color: rgba(243, 239, 231, .72);
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -.006em;
  line-height: 1.5;
}

.tf-archive-live-refined .tf-lane-file-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(34px, 4.6vw, 68px);
  margin-top: clamp(26px, 3vw, 40px);
}

.tf-archive-live-refined .tf-lane-file-card {
  --file-status: var(--cyan);
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-width: 0;
  min-height: 174px;
  padding: 24px 10px 24px 84px;
  overflow: hidden;
  border: 0;
  border-top: 1px solid rgba(174, 239, 255, .18);
  background: transparent;
  box-shadow: none;
  color: #f6f0e6;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease;
  animation: tf-ledger-reveal .55s cubic-bezier(.2, .75, .2, 1) both;
  animation-delay: calc(var(--file-order, 0) * 55ms);
}

.tf-archive-live-refined .tf-lane-file-card.tf-file-image-ready {
  grid-template-columns: minmax(132px, 31%) minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  column-gap: clamp(20px, 2vw, 28px);
  min-height: 214px;
  padding: 24px 8px 24px 0;
}

.tf-archive-live-refined .tf-lane-file-card[data-evidence="verified"] {
  --file-status: var(--green);
}

.tf-archive-live-refined .tf-lane-file-card[data-evidence="contested"] {
  --file-status: var(--gold);
}

.tf-archive-live-refined .tf-lane-file-card[data-evidence="unresolved"] {
  --file-status: var(--orange);
}

.tf-archive-live-refined .tf-lane-file-card::before {
  content: "";
  position: absolute;
  top: 23px;
  bottom: 24px;
  left: 67px;
  width: 2px;
  opacity: .58;
  background: var(--file-status);
  box-shadow: 0 0 12px color-mix(in srgb, var(--file-status) 46%, transparent);
}

.tf-archive-live-refined .tf-lane-file-card.tf-file-image-ready::before {
  top: 28px;
  bottom: 28px;
  left: calc(31% + clamp(9px, 1vw, 13px));
}

.tf-archive-live-refined .tf-lane-file-card::after {
  content: "";
  position: absolute;
  inset: 4px -10px 4px 54px;
  z-index: -1;
  opacity: 0;
  background: linear-gradient(94deg, color-mix(in srgb, var(--file-status) 8%, rgba(4, 9, 13, .78)), rgba(4, 9, 13, .28) 72%, transparent);
  clip-path: polygon(0 7%, 94% 0, 100% 17%, 97% 91%, 88% 100%, 0 94%);
  transition: opacity .18s ease;
}

.tf-archive-live-refined .tf-lane-file-card.tf-file-image-ready::after {
  inset: 6px -10px 6px calc(31% + 6px);
}

.tf-archive-live-refined .tf-lane-file-card:hover,
.tf-archive-live-refined .tf-lane-file-card:focus-visible {
  border-top-color: color-mix(in srgb, var(--file-status) 54%, rgba(174, 239, 255, .18));
  transform: translateX(5px);
  outline: none;
}

.tf-archive-live-refined .tf-lane-file-card:hover::after,
.tf-archive-live-refined .tf-lane-file-card:focus-visible::after {
  opacity: 1;
}

.tf-archive-live-refined .tf-lane-file-card b {
  position: absolute;
  top: 23px;
  left: 0;
  display: grid;
  gap: 5px;
  width: 57px;
  color: var(--file-status);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  text-transform: uppercase;
}

.tf-archive-live-refined .tf-lane-file-card.tf-file-image-ready b {
  position: static;
  z-index: auto;
  grid-column: 2;
  grid-row: 3;
  align-self: end;
  justify-self: start;
  display: flex;
  align-items: baseline;
  gap: 7px;
  width: auto;
  min-height: 0;
  margin: 16px 0 0 98px;
  color: var(--file-status);
  font-size: 11px;
  line-height: 1;
  text-shadow: none;
}

.tf-archive-live-refined .tf-file-index {
  font-size: 37px;
  font-weight: 850;
  letter-spacing: .04em;
  line-height: .78;
}

.tf-archive-live-refined .tf-lane-file-card.tf-file-image-ready .tf-file-index {
  font-size: 13px;
  line-height: 1;
}

.tf-archive-live-refined .tf-file-status {
  color: var(--file-status);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.1;
}

.tf-archive-live-refined .tf-lane-file-card.tf-file-image-ready .tf-file-status {
  font-size: 10px;
  line-height: 1;
}

.tf-archive-live-refined .tf-lane-file-card strong {
  display: block;
  margin: 0 0 9px;
  color: #fff8ee;
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif !important;
  font-size: clamp(22px, 1.6vw, 27px);
  font-weight: 780;
  letter-spacing: -.026em;
  line-height: 1;
  text-wrap: balance;
}

.tf-archive-live-refined .tf-lane-file-card.tf-file-image-ready strong,
.tf-archive-live-refined .tf-lane-file-card.tf-file-image-ready p {
  grid-column: 2;
}

.tf-archive-live-refined .tf-lane-file-card.tf-file-image-ready > span {
  grid-column: 2;
  grid-row: 3;
  align-self: end;
  justify-self: start;
}

.tf-archive-live-refined .tf-lane-file-card p {
  max-width: 460px;
  margin: 0;
  color: rgba(243, 239, 231, .67);
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -.004em;
  line-height: 1.48;
}

.tf-archive-live-refined .tf-lane-file-card > span {
  width: max-content;
  margin-top: 16px;
  padding-bottom: 4px;
  border-bottom: 1px solid color-mix(in srgb, var(--file-status) 52%, transparent);
  color: var(--file-status);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1;
  text-transform: uppercase;
}

.tf-archive-live-refined .tf-file-feature {
  position: relative;
  grid-column: 1;
  grid-row: 1 / 4;
  align-self: stretch;
  min-height: 166px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(227, 216, 192, .2);
  clip-path: polygon(3% 0, 100% 3%, 97% 95%, 7% 100%, 0 88%, 1% 9%);
  background: rgba(4, 9, 13, .72);
  box-shadow: 0 14px 24px rgba(0, 0, 0, .42);
}

.tf-archive-live-refined .tf-file-feature img {
  width: 100%;
  height: 100%;
  min-height: 166px;
  object-fit: cover;
  filter: saturate(.72) contrast(1.12) brightness(.72) sepia(.08);
  transform: scale(1.02);
  transition: filter .28s ease, transform .35s cubic-bezier(.2, .7, .2, 1);
}

.tf-archive-live-refined .tf-lane-file-card:hover .tf-file-feature img,
.tf-archive-live-refined .tf-lane-file-card:focus-visible .tf-file-feature img {
  filter: saturate(.88) contrast(1.1) brightness(.84) sepia(.03);
  transform: scale(1.07);
}

.tf-archive-live-refined .tf-lane-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 38px);
  margin-top: 24px;
  padding-top: 18px;
}

.tf-archive-live-refined .tf-lane-pager button {
  border: 0;
  border-bottom: 1px solid rgba(84, 255, 241, .48);
  background: transparent;
  box-shadow: none;
  color: var(--cyan);
  padding: 0 0 7px;
  font-family: var(--tf-head);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .16em;
  line-height: 1;
  text-transform: uppercase;
}

.tf-archive-live-refined .tf-lane-pager button:not([disabled]):hover,
.tf-archive-live-refined .tf-lane-pager button:not([disabled]):focus-visible {
  border-bottom-color: var(--cyan);
  color: #f6f0e6;
  outline: none;
}

.tf-archive-live-refined .tf-lane-pager span {
  min-width: 74px;
  color: rgba(243, 239, 231, .58);
  font-family: var(--tf-head);
  font-size: 11px;
  letter-spacing: .1em;
  text-align: center;
  text-transform: uppercase;
}

@media (min-width: 1181px) and (max-width: 1450px) {
  .tf-archive-live-refined .tf-gateway-v2-stage {
    grid-template-columns: minmax(350px, 400px) minmax(285px, 310px) minmax(350px, 400px);
    gap: 28px;
    min-height: 620px;
  }

  .tf-archive-live-refined .tf-gateway-core {
    width: 300px;
    min-height: 286px;
  }

  .tf-archive-live-refined .tf-core-copy strong {
    font-size: 44px;
  }
}

@media (max-width: 1180px) {
  .tf-archive-live-refined .tf-gateway-v2-stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    min-height: 0;
  }

  .tf-archive-live-refined .tf-gateway-core {
    width: min(390px, 82vw);
    min-height: 230px;
    margin-top: 0;
  }

  .tf-archive-live-refined .tf-gateway-card-shell,
  .tf-archive-live-refined .tf-gateway-v2-left .tf-gateway-card-shell:nth-child(n),
  .tf-archive-live-refined .tf-gateway-v2-right .tf-gateway-card-shell:nth-child(n) {
    transform: none;
  }

  .tf-archive-live-refined .tf-gateway-v2-footer {
    grid-column: 1;
    grid-row: auto;
    width: min(520px, 100%);
    margin: 0 auto;
  }
}

@media (max-width: 720px) {
  .tf-archive-live-refined .tf-gateway-core {
    min-height: 190px;
  }

  .tf-archive-live-refined .tf-gateway-v2-side {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .tf-archive-live-refined .tf-gateway-card,
  .tf-archive-live-refined .tf-gateway-v2-right .tf-gateway-card {
    grid-template-columns: 39% 61%;
    min-height: 146px;
  }

  .tf-archive-live-refined .tf-gateway-card::before {
    top: 5%;
    bottom: 5%;
    left: 31%;
  }

  .tf-archive-live-refined .tf-gateway-image,
  .tf-archive-live-refined .tf-gateway-image img {
    min-height: 146px;
  }

  .tf-archive-live-refined .tf-gateway-copy {
    padding: 14px 12px 13px 19px;
  }

  .tf-archive-live-refined .tf-gateway-copy strong {
    font-size: clamp(20px, 6vw, 25px);
  }

  .tf-archive-live-refined .tf-gateway-copy em {
    font-size: 12px;
  }

  .tf-archive-live-refined .tf-gateway-v2-footer {
    width: 100%;
    margin-top: 4px;
  }

  .tf-archive-live-refined .tf-lane-panel {
    margin-top: 0;
    padding: 24px 12px 26px;
  }

  .tf-archive-live-refined .tf-lane-panel::before {
    background: linear-gradient(180deg, rgba(3, 8, 13, .91), rgba(3, 8, 13, .72) 86%, transparent);
  }

  .tf-archive-live-refined .tf-lane-panel h2 {
    font-size: clamp(43px, 13vw, 58px);
  }

  .tf-archive-live-refined .tf-lane-panel-head p:last-child {
    font-size: 14px;
  }

  .tf-archive-live-refined .tf-lane-file-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-top: 26px;
  }

  .tf-archive-live-refined .tf-lane-file-card {
    min-height: 164px;
    padding: 22px 4px 22px 69px;
  }

  .tf-archive-live-refined .tf-lane-file-card.tf-file-image-ready {
    grid-template-columns: minmax(104px, 31%) minmax(0, 1fr);
    min-height: 190px;
    padding: 20px 0;
    column-gap: 18px;
  }

  .tf-archive-live-refined .tf-lane-file-card::before {
    top: 21px;
    bottom: 22px;
    left: 56px;
  }

  .tf-archive-live-refined .tf-lane-file-card b {
    top: 21px;
    width: 47px;
  }

  .tf-archive-live-refined .tf-lane-file-card.tf-file-image-ready::before {
    top: 24px;
    bottom: 24px;
    left: calc(31% + 8px);
  }

  .tf-archive-live-refined .tf-lane-file-card.tf-file-image-ready::after {
    inset: 5px 0 5px calc(31% + 5px);
  }

  .tf-archive-live-refined .tf-file-feature,
  .tf-archive-live-refined .tf-file-feature img {
    min-height: 150px;
  }

  .tf-archive-live-refined .tf-file-index {
    font-size: 29px;
  }

  .tf-archive-live-refined .tf-file-status {
    font-size: 8px;
  }

  .tf-archive-live-refined .tf-lane-file-card strong {
    font-size: clamp(21px, 6.8vw, 27px);
  }

  .tf-archive-live-refined .tf-lane-pager {
    gap: 14px;
  }

  .tf-archive-live-refined .tf-lane-pager button {
    font-size: 11px;
  }
}

@keyframes tf-route-flow {
  to {
    stroke-dashoffset: -1;
  }
}

@keyframes tf-core-atmosphere {
  0%,
  100% {
    opacity: .74;
    transform: scale(.985);
  }

  50% {
    opacity: .82;
    transform: scale(1.015);
  }
}

@keyframes tf-core-resolve {
  from {
    opacity: 0;
    transform: translateY(12px);
    filter: blur(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes tf-ledger-reveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tf-node-signal {
  0%,
  100% {
    opacity: .7;
    filter: brightness(.82);
  }

  50% {
    opacity: 1;
    filter: brightness(1.18);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tf-archive-live-refined .tf-gateway-v2-lines .route-line,
  .tf-archive-live-refined .tf-gateway-core::before,
  .tf-archive-live-refined .tf-core-copy,
  .tf-archive-live-refined .tf-route-node,
  .tf-archive-live-refined .tf-lane-file-card {
    animation: none;
  }

  .tf-archive-live-refined .tf-file-feature img {
    transition: none;
  }
}
