body {
  font-family: "Noto Sans", sans-serif;
}

.footer .icon-link {
  font-size: 25px;
  color: #000;
}

.link-block a {
  margin-top: 5px;
  margin-bottom: 5px;
}

.dnerf {
  font-variant: small-caps;
}

.teaser .hero-body {
  padding-top: 0;
  padding-bottom: 3rem;
}

.teaser {
  font-family: "Google Sans", sans-serif;
}

.publication-banner {
  max-height: parent;
}

.publication-banner video {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  object-fit: fit;
}

.publication-title,
.publication-authors {
  font-family: "Google Sans", sans-serif;
}

.publication-venue {
  color: #555;
  width: fit-content;
  font-weight: bold;
}

.publication-awards {
  color: #ff3860;
  width: fit-content;
  font-weight: bolder;
}

.publication-authors a {
  color: hsl(204, 86%, 53%) !important;
}

.publication-authors a:hover {
  text-decoration: underline;
}

.author-block {
  display: inline-block;
}

.publication-video {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  border-radius: 10px !important;
}

.publication-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.results-carousel {
  overflow: hidden;
}

.results-carousel .item {
  margin: 5px;
  overflow: hidden;
  padding: 20px;
  font-size: 0;
}

.results-carousel .item .item-video {
  margin: 5px;
  overflow: hidden;
  padding: 20px;
  font-size: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.results-carousel .item .item-video video.single-video {
  margin-left: 200px;
  margin-right: 50px;
  max-width: 100%;
  width: auto;
  height: auto;
  align-items: center;
  justify-content: center;
}

.results-carousel video {
  margin: 0;
  max-width: 50%;
}

.slider-pagination .slider-page {
  background: #000;
}

.eql-cntrb {
  font-size: smaller;
}

.placeholder-link {
  cursor: default;
  pointer-events: none;
}

.teaser img,
.figure-block img,
.results-block img {
  display: block;
  width: 100%;
  height: auto;
}

.teaser-caption,
.figure-block p {
  margin-top: 1rem;
}

.teaser-caption,
.section .content p {
  font-size: 1.2rem;
  line-height: 1.72;
}

.results-block img + img {
  margin-top: 2rem;
}

.architecture-demo {
  --architecture-blue: #2475ad;
  --architecture-green: #2f936e;
  --architecture-orange: #d27a1d;
  --architecture-slate: #758b9b;
  --architecture-purple: #8261b8;
  margin-top: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(109, 32, 119, 0.15);
  border-radius: 1rem;
  background:
    radial-gradient(circle at 50% 0%, rgba(109, 32, 119, 0.055), transparent 42%),
    linear-gradient(180deg, #fff, #fbf9fc);
  box-shadow: 0 1.1rem 2.8rem rgba(66, 40, 69, 0.09);
}

.architecture-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem 0.8rem;
  border-bottom: 1px solid rgba(109, 32, 119, 0.11);
  background: rgba(255, 255, 255, 0.86);
}

.architecture-stage-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem;
}

.architecture-stage-tab,
.architecture-playback {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--page-muted);
  background: transparent;
  font-family: "Google Sans", sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.architecture-stage-tab {
  padding: 0.42rem 0.72rem;
}

.architecture-stage-tab:hover,
.architecture-stage-tab:focus-visible,
.architecture-stage-tab.is-active {
  color: var(--thu-purple-dark);
  border-color: rgba(109, 32, 119, 0.16);
  background: var(--thu-purple-soft);
  outline: none;
}

.architecture-playback {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.42rem;
  padding: 0.42rem 0.7rem;
  color: var(--thu-purple);
  border-color: rgba(109, 32, 119, 0.18);
  background: #fff;
}

.architecture-playback:hover,
.architecture-playback:focus-visible {
  color: #fff;
  background: var(--thu-purple);
  outline: none;
  transform: translateY(-1px);
}

.architecture-scroll {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-color: rgba(109, 32, 119, 0.35) transparent;
}

.physga-architecture {
  position: relative;
  min-width: 920px;
  aspect-ratio: 2488 / 1200;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(109, 32, 119, 0.025) 1px, transparent 1px),
    linear-gradient(rgba(109, 32, 119, 0.025) 1px, transparent 1px);
  background-size: 36px 36px;
}

.architecture-core {
  position: absolute;
  top: 0.5%;
  left: 23.9%;
  z-index: 0;
  width: 51.2%;
  height: 98.8%;
  border: 1.5px dashed rgba(80, 111, 134, 0.7);
  border-radius: 0.85rem;
  background: rgba(240, 246, 249, 0.3);
}

.architecture-core-title {
  position: absolute;
  top: 1.65%;
  left: 25%;
  z-index: 3;
  width: 49%;
  color: #344e61;
  font-family: "Google Sans", sans-serif;
  font-size: clamp(0.78rem, 1.25vw, 1.08rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: center;
}

.architecture-wires {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.architecture-wires marker path {
  fill: context-stroke;
}

.architecture-wire,
.architecture-flow {
  fill: none;
  stroke: #91a6b3;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  marker-end: url("#architecture-arrow");
  vector-effect: non-scaling-stroke;
}

.architecture-wire.architecture-feedback {
  stroke: #84aa9c;
  stroke-dasharray: 7 9;
}

.architecture-flow {
  stroke: var(--thu-purple);
  stroke-width: 6;
  stroke-dasharray: 9 13;
  opacity: 0;
  filter: drop-shadow(0 0 4px rgba(109, 32, 119, 0.32));
  animation: architecture-flow 1.35s linear infinite;
  transition: opacity 260ms ease;
}

.architecture-node {
  position: absolute;
  z-index: 2;
  transform: translateY(0);
  transform-origin: center;
  transition: filter 360ms ease, transform 360ms ease;
}

.architecture-node img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.input-node {
  top: 0;
  left: 0;
  width: 23.3%;
  height: 100%;
}

.assembly-node {
  top: 8%;
  left: 24.9%;
  width: 22%;
  height: 53.5%;
}

.critic-node {
  top: 8.1%;
  left: 52.9%;
  width: 21.7%;
  height: 53.5%;
}

.router-node {
  top: 63.9%;
  left: 24.9%;
  width: 49.6%;
  height: 16.35%;
}

.simulator-node {
  top: 82.55%;
  left: 24.9%;
  width: 49.6%;
  height: 16.35%;
}

.skill-node {
  top: 0;
  right: 0;
  width: 24.1%;
  height: 100%;
}

.physga-architecture[data-stage="0"] .plan-flow,
.physga-architecture[data-stage="1"] .execute-flow,
.physga-architecture[data-stage="2"] .simulate-flow,
.physga-architecture[data-stage="3"] .refine-flow,
.physga-architecture[data-stage="4"] .evolve-flow {
  opacity: 1;
}

.physga-architecture[data-stage="0"] .input-node,
.physga-architecture[data-stage="0"] .assembly-node,
.physga-architecture[data-stage="1"] .assembly-node,
.physga-architecture[data-stage="1"] .router-node,
.physga-architecture[data-stage="1"] .simulator-node,
.physga-architecture[data-stage="2"] .simulator-node,
.physga-architecture[data-stage="2"] .critic-node,
.physga-architecture[data-stage="3"] .critic-node,
.physga-architecture[data-stage="3"] .router-node,
.physga-architecture[data-stage="3"] .simulator-node,
.physga-architecture[data-stage="4"] .simulator-node,
.physga-architecture[data-stage="4"] .skill-node {
  filter: saturate(1.12) brightness(1.02) drop-shadow(0 0 10px rgba(109, 32, 119, 0.36));
  transform: translateY(-2px) scale(1.008);
}

.architecture-demo.is-paused .architecture-flow {
  animation-play-state: paused;
}

.architecture-stage-copy {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  min-height: 5.15rem;
  padding: 0.95rem 1.05rem 1.05rem;
  border-top: 1px solid rgba(109, 32, 119, 0.11);
  background: #fff;
  text-align: left;
}

.architecture-stage-number {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: var(--thu-purple);
  font-family: "Google Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
}

.architecture-stage-title {
  display: block;
  margin: 0 0 0.18rem;
  color: var(--thu-purple-dark);
  font-family: "Google Sans", sans-serif;
}

.architecture-stage-description {
  margin: 0 !important;
  color: var(--page-muted);
  font-size: 0.9rem;
  line-height: 1.48;
}

pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

@media screen and (max-width: 768px) {
  .has-text-justified {
    text-align: left !important;
  }
}

:root {
  --thu-purple: #6d2077;
  --thu-purple-dark: #4d1556;
  --thu-purple-mid: #8d4a98;
  --thu-purple-soft: #f4edf6;
  --thu-purple-line: rgba(109, 32, 119, 0.2);
  --page-ink: #242126;
  --page-muted: #6f6871;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  color: var(--page-ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(109, 32, 119, 0.055), transparent 30rem),
    #fff;
}

body > section {
  position: relative;
  z-index: 2;
}

.container.is-max-desktop {
  width: calc(100% - 2rem);
  max-width: 1200px !important;
}

::selection {
  color: #fff;
  background: var(--thu-purple);
}

.publication-header {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(109, 32, 119, 0.065), transparent 72%),
    linear-gradient(90deg, rgba(109, 32, 119, 0.025) 1px, transparent 1px),
    linear-gradient(rgba(109, 32, 119, 0.025) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
}

.publication-header::after {
  position: absolute;
  right: -8rem;
  bottom: -14rem;
  z-index: -1;
  width: 32rem;
  height: 32rem;
  border: 1px solid rgba(109, 32, 119, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 4rem rgba(109, 32, 119, 0.025),
    0 0 0 9rem rgba(109, 32, 119, 0.018);
  content: "";
}

.publication-header .hero-body {
  position: relative;
  z-index: 2;
  padding-top: 4.5rem;
  padding-bottom: 3.4rem;
}

.hero-motion {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-motion svg {
  width: 100%;
  height: 100%;
}

.motion-path {
  fill: none;
  stroke: url("#trajectory-gradient");
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-dasharray: 9 15;
  animation: trajectory-flow 15s linear infinite;
}

.motion-path-two {
  animation-duration: 20s;
  animation-direction: reverse;
}

.motion-path-three {
  animation-duration: 24s;
}

.motion-node {
  fill: var(--thu-purple-mid);
  opacity: 0.4;
  transform-box: fill-box;
  transform-origin: center;
  animation: node-breathe 3.2s ease-in-out infinite;
}

.motion-node-two {
  animation-delay: -1.1s;
}

.motion-node-three {
  animation-delay: -2.2s;
}

.research-kicker,
.section-kicker {
  color: var(--thu-purple);
  font-family: "Google Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.research-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.15rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(109, 32, 119, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0.45rem 1.4rem rgba(74, 26, 81, 0.06);
  backdrop-filter: blur(8px);
}

.research-kicker span {
  width: 0.43rem;
  height: 0.43rem;
  border-radius: 50%;
  background: var(--thu-purple-mid);
  box-shadow: 0 0 0 0.28rem rgba(109, 32, 119, 0.1);
  animation: node-breathe 2.4s ease-in-out infinite;
}

.publication-title {
  color: var(--page-ink);
  letter-spacing: normal;
  line-height: 1.125;
}

.publication-title .title-line {
  display: block;
}

.title-mark {
  position: relative;
  color: var(--thu-purple);
}

.title-mark::after {
  position: absolute;
  right: 0;
  bottom: -0.08em;
  left: 0;
  height: 0.08em;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--thu-purple), rgba(109, 32, 119, 0.15));
  content: "";
}

.publication-authors a {
  color: var(--thu-purple) !important;
  text-decoration-color: rgba(109, 32, 119, 0.35);
  text-underline-offset: 0.18em;
}

.publication-authors a:hover {
  color: var(--thu-purple-dark) !important;
}

.publication-status {
  display: inline-block;
  margin: 0.55rem 0 0.35rem;
  padding: 0.2rem 0.72rem;
  color: var(--thu-purple);
  border: 1px solid var(--thu-purple-line);
  border-radius: 999px;
  background: var(--thu-purple-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.publication-links .button.is-dark {
  border-color: var(--thu-purple);
  background: var(--thu-purple);
  box-shadow: 0 0.55rem 1.2rem rgba(109, 32, 119, 0.14);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.publication-links .button.is-dark:hover {
  background: var(--thu-purple-dark);
  box-shadow: 0 0.75rem 1.6rem rgba(109, 32, 119, 0.22);
  transform: translateY(-2px);
}

.teaser .hero-body,
.section > .container {
  position: relative;
}

.teaser img,
.teaser video,
.figure-block img,
.results-block img {
  border: 1px solid rgba(109, 32, 119, 0.13);
  border-radius: 0.9rem;
  background: #fff;
  box-shadow: 0 1.1rem 2.8rem rgba(66, 40, 69, 0.09);
}

.teaser video {
  display: block;
  width: 100%;
}

.section {
  position: relative;
  padding-top: 4.4rem;
  padding-bottom: 4.4rem;
}

.section::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(88%, 960px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--thu-purple-line) 18%, var(--thu-purple-line) 82%, transparent);
  content: "";
  transform: translateX(-50%);
}

.section::after {
  position: absolute;
  top: -3px;
  left: 50%;
  width: 7px;
  height: 7px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--thu-purple-mid);
  box-shadow: 0 0 0 1px rgba(109, 32, 119, 0.22);
  content: "";
  transform: translateX(-50%);
}

.section-kicker {
  display: block;
  margin-bottom: 0.55rem;
}

.section .title.is-3 {
  color: var(--thu-purple-dark);
  font-size: clamp(2.25rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.content strong {
  color: var(--thu-purple-dark);
}

#BibTeX pre {
  border: 1px solid var(--thu-purple-line);
  border-left: 4px solid var(--thu-purple);
  border-radius: 0.7rem;
  background: linear-gradient(135deg, #fbf8fc, #f5eef6);
  box-shadow: 0 0.8rem 2rem rgba(65, 38, 69, 0.06);
}

.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes trajectory-flow {
  to {
    stroke-dashoffset: -240;
  }
}

@keyframes node-breathe {
  0%, 100% {
    opacity: 0.34;
    transform: scale(0.86);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.22);
  }
}

@keyframes architecture-flow {
  to {
    stroke-dashoffset: -44;
  }
}

@media screen and (max-width: 768px) {
  .publication-header .hero-body {
    padding-top: 3rem;
    padding-bottom: 2.6rem;
  }

  .research-kicker {
    font-size: 0.61rem;
    letter-spacing: 0.09em;
  }

  .publication-title {
    font-size: 2.35rem !important;
    line-height: 1.12;
  }

  .section {
    padding-top: 3.2rem;
    padding-bottom: 3.2rem;
  }

  .hero-motion {
    opacity: 0.65;
  }

  .architecture-controls {
    align-items: flex-start;
  }

  .architecture-stage-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .architecture-stage-tab {
    flex: 0 0 auto;
  }

  .architecture-playback span {
    display: none;
  }

  .physga-architecture {
    min-width: 880px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .motion-path,
  .motion-node,
  .research-kicker span,
  .architecture-flow {
    animation: none;
  }

  .architecture-node,
  .architecture-flow {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
