/* ── Global ─────────────────────────────────────── */
    .reveal {
      font-family: 'Roboto', 'Segoe UI', sans-serif;
      font-weight: 300;
      font-size: 22px;
      color: #354046;
      line-height: 1.5;
    }
    .reveal h1, .reveal h2, .reveal h3 {
      font-family: 'Lato', sans-serif;
      text-transform: none;
      letter-spacing: normal;
      color: #356aaf;
    }
    /* ── Dark slides ─────────────────────────────────── */
    .reveal section[data-background-color="#000000"] {
      color: white;
    }
    .reveal section[data-background-color="#000000"] .slide-title {
      color: #7aadff;
      border-bottom-color: #7aadff;
    }
    .reveal section[data-background-color="#000000"] .slide-text,
    .reveal section[data-background-color="#000000"] .slide-list {
      color: white;
    }
    .reveal section[data-background-color="#000000"] .slide-footnote {
      color: #aaa;
    }
    .reveal section[data-background-color="#000000"] .slide-footnote a {
      color: #7aadff;
    }

    .reveal a {
      color: #5b82b5;
      text-decoration: underline;
    }
    .reveal a:hover {
      color: #356aaf;
    }
    .paper-citation-author {
      color: #000;
      font-weight: 700;
    }
    .paper-citation-arxiv,
    .paper-citation-arxiv:visited {
      color: #5b82b5 !important;
      text-decoration: underline !important;
      font-weight: 700;
    }
    .paper-citation-arxiv:hover {
      color: #356aaf !important;
    }

    /* ── Title slide ─────────────────────────────────── */
    .title-section {
      text-align: center;
      position: relative;
      box-sizing: border-box;
      padding-bottom: 1.6em;
    }
    .title-section {
      --title-overlay-bg: rgba(255, 255, 255, 0.65);
      --title-upper-shift: -0.55cm;
    }
    .talk-title {
      font-size: 1.8em;
      color: #234a7a;
      margin-bottom: 0.4em;
      transform: translateY(calc(3mm + var(--title-upper-shift)));
    }
    .title-name {
      font-size: 1.6em;
      font-family: 'Lato', sans-serif;
      color: #000000;
      font-weight: 400;
      margin: 0.2em 0 0.02em 0;
      transform: translateY(calc(3mm + var(--title-upper-shift)));
    }
    .title-meta {
      font-size: 0.85em;
      color: #000000;
      font-weight: 400;
      margin: 0.04em 0;
      transform: translateY(var(--title-upper-shift));
    }
    .title-section > .talk-title,
    .title-section > .title-name,
    .title-section > .title-meta {
      display: inline-block;
      background: var(--title-overlay-bg);
      border-radius: 7px;
      padding: 0.14em 0.42em;
      box-sizing: border-box;
    }
    .title-section > .title-meta + .title-meta {
      transform: translateY(calc(var(--title-upper-shift) - 2mm));
    }
    .title-work-with {
      display: flex;
      justify-content: center;
      align-items: flex-start;
      width: 100%;
      margin: 0.06em auto 0.1em auto;
      min-height: 7.35em;
      box-sizing: border-box;
      padding: 0 1em;
      position: relative;
      transform: translateY(calc(0.18em + var(--title-upper-shift)));
    }
    .title-work-with-label {
      position: absolute;
      top: calc(2.51em + 4mm);
      left: 1.1em;
      transform: translateY(-50%);
      margin: 0;
      white-space: nowrap;
      text-align: right;
      font-size: 0.62em;
      line-height: 1.08;
      color: #1f2f42;
      font-weight: 600;
      background: var(--title-overlay-bg);
      border-radius: 5px;
      padding: 0.12em 0.35em;
      box-sizing: border-box;
    }
    .title-portraits {
      display: flex;
      justify-content: center;
      align-items: flex-start;
      gap: 0.5em;
      flex-wrap: nowrap;
      width: fit-content;
      max-width: calc(100% - 7em);
      margin: 0 auto;
      transform: translateY(-2mm);
    }
    .title-portrait-card {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0;
      width: 8.9em;
    }
    .title-portrait {
      width: 5.02em;
      height: 5.02em;
      border-radius: 50%;
      object-fit: cover;
      object-position: center 20%;
      border: 2px solid rgba(255, 255, 255, 0.95);
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
      background: rgba(255, 255, 255, 0.9);
    }
    .title-portrait-name {
      margin: 0;
      transform: translateY(-4.5mm);
      font-size: 0.62em;
      line-height: 1.08;
      color: #1f2f42;
      font-weight: 600;
      text-align: center;
      background: var(--title-overlay-bg);
      border-radius: 5px;
      padding: 0.18em 0.4em;
      box-sizing: border-box;
    }
    .title-logos {
      margin-top: calc(0.3em + 24px);
      transform: translateY(-0.95cm);
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 8em;
      flex-wrap: wrap;
    }
    .title-logos .logo-img {
      max-height: 125px !important;
      object-fit: contain;
      background: var(--title-overlay-bg);
      border-radius: 6px;
      padding: 6px 10px;
    }
    .title-logos .logo-img:first-child {
      width: 324px;
    }
    .title-logos .logo-img:nth-child(2) {
      width: 414px;
    }

    /* ── Top-align all slide content ─────────────────── */
    .reveal .slides section {
      text-align: left;
      padding-top: 0.5em;
    }
    .reveal .slides > section {
      top: 0 !important;
    }

    /* ── Title slide: vertically centered, slightly above middle ── */
    .reveal .slides section.title-section {
      text-align: center;
      display: flex !important;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      height: 100%;
      width: 100%;
      box-sizing: border-box;
      padding-top: 0;
      padding-bottom: 0;
      margin: 0;
      background: transparent;
      transform: translateY(5%);
    }
    .reveal .backgrounds .slide-background:first-child::after {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(255, 255, 255, 0.35);
      pointer-events: none;
    }

    /* ── Slide titles ────────────────────────────────── */
    .slide-title {
      font-size: 2.2em !important;
      font-family: 'Lato', sans-serif;
      color: #356aaf;
      margin: 0 0 0.4em 0;
      border-bottom: 2px solid #356aaf;
      padding-bottom: 0.2em;
      text-align: center;
    }
    .slide-title code {
      font-family: 'SFMono-Regular', 'Menlo', 'Consolas', monospace;
      font-size: 0.92em;
      background: rgba(53, 106, 175, 0.08);
      border-radius: 0.18em;
      padding: 0.04em 0.18em;
    }
    .slide-title-line {
      display: block;
    }
    .reveal .slides section.slide-lcdm-title .content-row {
      margin-top: 1cm;
    }
    .reveal .slides section.slide-lcdm-pie .content-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
      gap: 0;
      align-items: center;
      width: 100%;
      min-height: 72%;
      margin-top: 0.35em;
    }
    .reveal .slides section.slide-lcdm-pie .img-col {
      display: flex;
      justify-content: center;
      align-items: center;
      padding-left: 0;
      min-width: 0;
      grid-column: 1;
      grid-row: 1;
      margin-top: 0.5cm;
    }
    .reveal .slides section.slide-lcdm-pie .img-col img {
      max-height: 486px;
      max-width: 79.2%;
      object-fit: contain;
      margin: 0;
    }
    .reveal .slides section.slide-lcdm-pie .text-col {
      color: #eeeeee;
      display: flex;
      flex-direction: column;
      justify-content: center;
      font-size: 1.15em;
      padding: 0 0.3em;
      margin: 1cm 0 0 0;
      min-width: 0;
      grid-column: 2;
      grid-row: 1;
    }
    .reveal .slides section.slide-lcdm-pie .text-col .slide-list li {
      margin-bottom: 0.5em;
    }
    .reveal .slides section.slide-lcdm-pie .uchuu-page2-images {
      position: absolute;
      top: calc(22% + 1cm);
      left: 0;
      right: 0;
      width: 100%;
      height: 72%;
      margin-top: 0;
    }
    .reveal .slides section.slide-lcdm-pie .slide-title {
      font-size: 1.95em !important;
      margin-bottom: 0.22em;
      padding-bottom: 0.14em;
    }
    .uchuu-page2-item {
      position: relative;
      height: 100%;
    }
    .uchuu-page2-item .uchuu-page2-img {
      height: 100%;
    }
    .uchuu-page2-caption {
      position: absolute;
      bottom: -1.8em;
      left: 0;
      right: 0;
      color: #cccccc;
      font-size: 0.7em;
      text-align: center;
    }

    /* ── Text ────────────────────────────────────────── */
    .slide-text {
      font-size: 0.85em;
      text-align: left;
      margin: 0.3em 0;
    }
    .slide-footnote {
      position: absolute;
      bottom: 0.5em;
      left: 1em;
      font-size: 0.55em;
      color: #000;
      margin: 0;
    }
    .reveal .slides section:has(.slide-hero-question) {
      display: flex;
      flex-direction: column;
      height: 100%;
      box-sizing: border-box;
    }
    .reveal .slides section:has(.slide-hero-question) .slide-hero-question {
      flex: 0 0 auto;
      display: block;
      font-size: 1.2em;
      white-space: normal;
      text-align: center;
      line-height: 2;
      max-width: 88%;
      margin: 0 auto 0.35em auto;
    }
    .reveal .slides section:has(.slide-hero-question) .slide-hero-question strong {
      margin: 0 0.2em;
    }
    .reveal .slides section:has(.slide-hero-question) .content-row.fragment:not(.visible) {
      display: none;
    }
    .img-with-side-credit {
      position: relative;
      display: inline-block;
    }
    .img-side-credit {
      position: absolute;
      left: calc(100% + 0.8em);
      top: 0;
      margin: 0;
      font-size: 0.55em;
      line-height: 1.15;
      white-space: nowrap;
      text-align: left;
    }
    .img-with-caption {
      display: inline-block;
    }
    .img-caption {
      font-size: 0.42em;
      color: #777;
      margin: 0.04em 0 0 0;
      text-align: left;
    }
    .slide-footer {
      text-align: center;
      font-size: 0.62em;
      color: #444;
      margin: 0;
      padding-bottom: 0.3em;
    }
    .slide-footnote-top-right {
      position: absolute;
      top: 3em;
      right: 1em;
      font-size: 0.55em;
      color: #000;
      margin: 0;
      text-align: right;
    }
    .slide-footnote strong {
      color: #000;
    }
    .slide-list {
      font-size: 0.82em;
      text-align: left;
      margin: 0.3em 0 0.3em 1.2em;
      line-height: 1.5;
    }
    .text-only {
      max-width: 85%;
      margin: 0 auto;
    }
    .slide-center-content {
      display: flex !important;
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }
    .slide-center-content .text-only {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      flex: 1;
      text-align: center;
    }
    .slide-center-content .text-only .slide-text {
      font-size: 1.6em;
      font-style: italic;
    }

    /* ── Two-column layout ───────────────────────────── */
    .content-row {
      display: flex;
      gap: 1.5em;
      align-items: flex-start;
      width: 100%;
    }
    .text-col {
      flex: 1 1 38%;
      text-align: left;
    }
    .img-col {
      flex: 1 1 58%;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.4em;
    }

    /* ── Image layouts ───────────────────────────────── */
    .slide-img {
      max-height: 374.4px;
      max-width: 100%;
      object-fit: contain;
    }
    .img-center {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
    }
    .reveal .slides > section > .img-center > .slide-img.img-large {
      max-height: 432px;
      max-width: 90%;
    }
    .img-large {
      max-height: 432px;
      max-width: 90%;
    }
    .reveal .slides section.pdf-gnpe > .img-center > .slide-img.img-large {
      max-height: 600px;
      max-width: 100%;
    }
    .reveal .slides section.pdf-gnpe .slide-footnote-top-right {
      top: calc(3em + 8mm);
      font-size: 0.825em;
    }
    .reveal .slides section.pdf-gnpe .slide-footnote-top-right a {
      color: #2266cc;
      font-weight: 700;
    }
    .reveal .slides section.pdf-forward-model-split .content-row {
      align-items: center;
      gap: 0.9em;
      margin-top: 0.15em;
    }
    .reveal .slides section.pdf-forward-model-split .text-col {
      flex: 0 0 34%;
      max-width: 34%;
      font-size: 1.02em;
      line-height: 1.34;
      display: flex;
      flex-direction: column;
      justify-content: center;
      transform: translate(5mm, -5mm);
    }
    .reveal .slides section.pdf-forward-model-split .text-col .slide-list {
      font-size: 1.05em;
      margin-top: 0.15em;
    }
    .reveal .slides section.pdf-forward-model-split .text-col li {
      margin-bottom: 0.58em;
    }
    .reveal .slides section.pdf-forward-model-split .text-col li mjx-container {
      font-size: 0.86em !important;
    }
    .reveal .slides section.pdf-forward-model-split .img-col {
      flex: 0 0 62%;
      max-width: 62%;
      align-items: center;
      gap: 0.55em;
    }
    .reveal .slides section.pdf-forward-model-split .img-grid-2 {
      grid-template-columns: 1fr;
      gap: 0.55em;
      align-items: start;
      justify-items: center;
      width: 90%;
      max-width: 90%;
      margin-left: auto;
      margin-right: auto;
      transform: translateX(3cm);
    }
    .reveal .slides section.pdf-forward-model-split .img-grid-2 > .img-with-caption:first-child {
      display: flex;
      flex-direction: column-reverse;
      align-items: center;
      width: 100%;
      gap: 0.18em;
    }
    .reveal .slides section.pdf-forward-model-split .img-grid-2 > .img-with-caption:first-child .img-caption {
      margin: 0 0 0.12em 0;
      width: 88%;
      text-align: right;
      font-size: 0.56em;
      font-style: normal;
      transform: translateY(-5mm);
    }
    .reveal .slides section.pdf-forward-model-split .img-grid-2 > .img-with-caption:first-child .slide-img,
    .reveal .slides section.pdf-forward-model-split .img-grid-2 > .slide-img:first-child {
      max-height: 96px;
      width: 88%;
      margin-left: auto;
      margin-right: auto;
      transform: translate(1cm, -1cm);
    }
    .reveal .slides section.pdf-forward-model-split .img-grid-2 .slide-img:last-child {
      max-height: 475px;
      transform: translate(1cm, calc(-1cm - 5mm - 4mm));
    }
    .reveal .slides section.slide-adaptive-fli .content-row {
      align-items: center;
      gap: 1.2em;
      margin-top: 0.35em;
      transform: translateY(1.25cm);
    }
    .reveal .slides section.slide-adaptive-fli .text-col {
      flex: 0 0 56%;
      max-width: 56%;
    }
    .reveal .slides section.slide-adaptive-fli .img-col {
      flex: 0 0 40%;
      max-width: 40%;
      justify-content: center;
    }
    .reveal .slides section.slide-adaptive-fli .img-col .slide-img {
      max-height: 520px;
      max-width: 100%;
      width: auto;
    }
    .reveal .slides section.slide-adaptive-fli .center-overlay-image {
      position: absolute;
      left: 50%;
      top: calc(56% + 2cm);
      transform: translate(-50%, -50%) scale(1.18);
      z-index: 6;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      pointer-events: none;
    }
    .reveal .slides section.slide-adaptive-fli .center-overlay-image .slide-img {
      max-height: 460px;
      max-width: 58vw;
      width: auto;
      transform: translateY(0mm);
    }
    .reveal .slides section.slide-adaptive-fli .center-overlay-text {
      margin: calc(-2cm + 10mm) 0 0.5em 0;
      max-width: 32em;
      font-size: 1.08em;
      line-height: 1.35;
      text-align: center;
      color: #222;
    }
    .reveal .slides section.slide-adaptive-fli .center-overlay-text code {
      font-size: 0.95em;
    }
    .reveal .slides section.slide-adaptive-fli .center-overlay-caption {
      margin: calc(0.35em + 3mm) 0 0 0;
      font-size: 0.78em;
      font-style: italic;
      color: #444;
      text-align: center;
      transform: translateY(-3mm);
    }
    .reveal .slides section.slide-adaptive-fli .slide-list {
      font-size: 1.08em;
      line-height: 1.42;
      margin-top: 0.45em;
    }
    .reveal .slides section.slide-adaptive-fli .slide-list li {
      margin-bottom: 0.95em;
    }
    .img-grid-2 {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.5em;
      width: 100%;
      align-items: center;
    }
    .img-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 0.4em;
      width: 100%;
      align-items: center;
    }
    .img-grid-many {
      display: flex;
      flex-wrap: wrap;
      gap: 0.4em;
      justify-content: center;
    }
    .img-grid-many .slide-img {
      max-height: 216px;
    }
    .img-grid-2 .slide-img,
    .img-grid .slide-img {
      max-height: 273.6px;
      width: 100%;
      object-fit: contain;
    }
    .img-grid-2-full .slide-img {
      max-height: 468px;
    }
    .reveal .slides section.slide-lss .content-row {
      flex-direction: column;
      align-items: stretch;
    }
    .reveal .slides section.slide-lss .text-col {
      width: 80%;
      margin-left: auto;
      margin-right: auto;
      margin-bottom: 0.5em;
      font-size: 1.15em;
    }
    .reveal .slides section.slide-lss .slide-list li {
      margin-bottom: 0.6em;
    }
    .reveal .slides section.slide-lss .img-col {
      width: 100%;
      display: flex;
      justify-content: center;
    }
    .reveal .slides section.slide-lss .img-grid-2 {
      margin-top: -1cm;
      width: 100%;
    }
    .reveal .slides section.slide-lss .img-grid-2 .slide-img {
      max-height: 419.76px;
    }
    .reveal .slides section.slide-lss .img-grid-2 .slide-img:first-child {
      max-height: 377.78px;
    }
    .reveal .slides section.slide-lss .slide-footnote {
      bottom: calc(0.5em - 0.5cm);
    }
    .reveal .slides section.slide-lcdm-questions .slide-list li {
      margin-bottom: 0.75em;
    }
    .reveal .slides section.slide-lcdm-questions .text-only {
      font-size: 1.25em;
    }
    .reveal .slides section.slide-lcdm-questions .slide-footnote {
      position: static;
      margin-top: 1cm;
    }
    .reveal .slides section.slide-centered-title {
      display: flex !important;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      height: 100% !important;
      min-height: 100%;
      box-sizing: border-box;
      padding-top: 0;
      padding-bottom: 0;
    }
    .reveal .slides section.slide-centered-title .slide-title {
      text-align: center;
      display: flex;
      align-items: center;
      justify-content: center;
      flex: 1;
      width: 100%;
      margin: 0;
      padding-bottom: 0;
      border-bottom: 0;
    }
    .reveal .slides section.slide-centered-title .content-row {
      display: none;
    }

    .reveal .slides section.slide-uat .content-row {
      align-items: center;
      margin-left: 0.5cm;
      margin-top: 114px;
    }
    .reveal .slides section.slide-uat .img-col {
      order: -1;
      margin-left: -1cm;
      margin-top: -0.5cm;
    }
    .reveal .slides section.slide-uat .img-col .slide-img {
      max-width: 100%;
    }
    .reveal .slides section.slide-uat .img-col .img-caption {
      font-size: 0.45em;
      max-width: 75%;
    }
    .reveal .slides section.slide-uat .text-col {
      font-size: 1.3em;
      flex: 0 0 50%;
      margin-left: 76px;
    }
    .reveal .slides section.slide-uat .slide-list li {
      margin-bottom: 0.6em;
    }
    .reveal .slides section.slide-nn .content-row {
      align-items: center;
      margin-left: 0.5cm;
      margin-top: 114px;
      padding-left: 4mm;
      padding-right: 4mm;
    }
    .reveal .slides section.slide-nn .img-col {
      order: -1;
      margin-left: -1cm;
      margin-top: -0.5cm;
    }
    .reveal .slides section.slide-nn .img-col .slide-img {
      max-width: 110%;
    }
    .reveal .slides section.slide-nn .img-col .img-caption {
      font-size: 0.45em;
      max-width: 75%;
    }
    .reveal .slides section.slide-nn .text-col {
      font-size: 1.3em;
      flex: 0 0 50%;
      margin-left: 76px;
      margin-right: 4mm;
    }
    .reveal .slides section.slide-nn .slide-list li {
      margin-bottom: 0.6em;
    }
    .reveal .slides section.slide-autodiff .content-row {
      align-items: center;
      margin-left: 0.5cm;
      margin-top: 58px;
    }
    .reveal .slides section.slide-autodiff .img-col {
      order: -1;
      margin-left: -1cm;
      margin-top: -1.5cm;
    }
    .reveal .slides section.slide-autodiff .img-col .slide-img {
      max-width: 75%;
    }
    .reveal .slides section.slide-autodiff .img-col .img-caption {
      font-size: 0.45em;
      max-width: 75%;
    }
    .reveal .slides section.slide-autodiff .text-col {
      font-size: 1.15em;
      flex: 0 0 57.75%;
      margin-left: 57px;
    }
    .reveal .slides section.slide-autodiff .slide-list li {
      margin-bottom: 0.85em;
    }
    .reveal .slides section.slide-autodiff .slide-footnote-top-right {
      top: calc(3em + 38px);
    }
    .reveal .slides section.slide-sbi .hero-immediate-reviews {
      position: absolute;
      bottom: 1.5em;
      left: 0;
      font-size: 0.85em;
    }
    .reveal .slides section.slide-sbi .content-row {
      display: flex;
      justify-content: center;
    }
    .reveal .slides section.slide-sbi .img-col {
      display: flex;
      flex-direction: column;
      align-items: center;
      margin-top: 15mm;
    }
    .reveal .slides section.slide-sbi .img-with-side-links {
      position: relative;
      display: inline-block;
    }
    .reveal .slides section.slide-sbi .slide-side-links {
      position: absolute;
      right: calc(100% + 0.8em);
      top: 0;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 0.22em;
      font-size: 0.62em;
      line-height: 1.15;
      white-space: nowrap;
      text-align: left;
    }
    .reveal .slides section.slide-sbi .slide-side-link {
      margin: 0;
    }
    .reveal .slides section.slide-sbi .hero-eq-bullets {
      position: relative;
      width: 100%;
      display: flex;
      align-items: center;
      margin-top: 1.5cm;
    }
    .reveal .slides section.slide-sbi .hero-eq-bullets .eq-block {
      position: absolute;
      left: calc(50% - 1.5cm);
      transform: translateX(-50%);
      font-size: 1.1em;
      white-space: nowrap;
    }
    .reveal .slides section.slide-sbi .hero-eq-bullets ul.slide-list {
      font-size: 1.15em;
      margin-left: auto;
      margin-right: 1.5cm;
    }

    .reveal .slides section.slide-nn-arch .content-row {
      align-items: center;
      margin-left: -2cm;
    }
    .reveal .slides section.slide-nn-arch .img-col {
      order: -1;
      margin-left: -1cm;
      margin-top: -0.5cm;
    }
    .reveal .slides section.slide-nn-arch .img-col .slide-img {
      max-width: 50%;
    }
    .reveal .slides section.slide-nn-arch .text-col {
      font-size: 1.3em;
    }
    .reveal .slides section.slide-nn-arch .slide-list li {
      margin-bottom: 0.6em;
    }
    .reveal .slides section.slide-ai4sci {
      display: flex !important;
      flex-direction: column;
      justify-content: center;
    }
    .reveal .slides section.slide-ai4sci .content-row {
      align-items: center;
      flex: 1;
      display: flex;
      margin-top: 2.5cm;
    }
    .reveal .slides section.slide-ai4sci .img-col .slide-img {
      max-width: 60%;
    }
    .reveal .slides section.slide-ai4sci .slide-footnote {
      left: 1em;
      right: auto;
      bottom: calc(0.5em - 2cm);
      text-align: left;
    }
    .reveal .slides section.slide-personal .content-row {
      margin-top: 4cm;
    }
    .reveal .slides section.slide-personal .text-col {
      flex: 0 0 65%;
    }
    .reveal .slides section.slide-personal .img-col {
      margin-left: 1cm;
    }
    .reveal .slides section.slide-personal .img-col .slide-img {
      max-width: 80%;
    }

    /* image caption */
    .reveal .slides .img-caption-wrap {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .reveal .slides .img-caption {
      font-size: 0.55em;
      color: #aaaaaa;
      font-style: italic;
      margin-top: 0.4em;
      text-align: center;
    }

    /* ── Auxiliary variable trick ────────────────────────── */
    .reveal .slides section.slide-aux-trick .img-col {
      margin-top: 1cm;
    }

    /* ── Joint analyses of CMB & LSS ─────────────────────── */
    .reveal .slides section.slide-joint-cmb-lss .img-col {
      margin-top: 1cm;
    }

    /* ── Forecast posteriors ──────────────────────────────── */
    .reveal .slides section.slide-forecast-posteriors .img-col {
      margin-top: 1cm;
    }

    /* ── QR code overlay ─────────────────────────────────── */
    .slide-qr-wrapper {
      position: absolute;
      bottom: calc(0.25em + 5mm);
      left: calc(0.35em - 5mm);
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .slide-qr-label {
      font-size: 0.55em;
      font-weight: 600;
      color: #354046;
      margin-bottom: -5mm;
      background: rgba(255, 255, 255, 0.55);
      border-radius: 5px;
      padding: 0.12em 0.35em;
      box-sizing: border-box;
    }
    .slide-qr-code {
      width: 4.8em;
      height: 4.8em;
    }
    /* ── Results slide ──────────────────────────────────── */
    .reveal .slides section[data-slide-number="36"] .slide-img {
      max-width: 120%;
    }

    /* ── Fields from point cloud data ────────────────────── */
    .reveal .slides section.slide-point-cloud {
      display: flex;
      flex-direction: column;
      box-sizing: border-box;
      height: 100%;
      position: relative;
    }
    .reveal .slides section.slide-point-cloud .slide-title {
      flex: none;
    }
    .reveal .slides section.slide-point-cloud .point-cloud-stage {
      position: relative;
      width: 100%;
      flex: 1;
      min-height: 24em;
      margin-top: 0.95em;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .reveal .slides section.slide-point-cloud .point-cloud-layer {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .reveal .slides section.slide-point-cloud .slide-footnote {
      position: absolute;
      top: calc(3.1em + 38px);
      right: 0.5em;
      left: auto;
      bottom: auto;
      text-align: right;
      font-size: 0.65em;
    }
    .reveal .slides section.slide-point-cloud .top-right-text {
      position: absolute;
      top: calc(3.1em + 38px);
      left: 0.5em;
      right: auto;
      bottom: auto;
      text-align: left;
      font-size: 1.55em;
      font-weight: bold;
      color: #999;
    }
    .reveal .slides section.slide-point-cloud .slide-img {
      width: auto;
      object-fit: contain;
    }
    .reveal .slides section.slide-point-cloud .point-cloud-still .slide-img {
      max-width: 70%;
      max-height: 604.8px;
      transform: translateY(1cm) scale(1.3);
      transform-origin: center center;
    }
    .reveal .slides section.slide-point-cloud .point-cloud-gif {
      transform: translateY(1cm);
    }
    .reveal .slides section.slide-point-cloud .point-cloud-gif .slide-img {
      max-width: 74.19%;
      max-height: 645.02px;
    }
    .reveal .slides section.slide-joint-inference .content-row {
      display: grid;
      grid-template-columns: 1.36fr 0.64fr;
      gap: 1.25em;
      align-items: center;
      margin-top: 0.35cm;
    }
    .reveal .slides section.slide-joint-inference .img-col {
      order: -1;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
    }
    .reveal .slides section.slide-joint-inference .img-col .slide-img {
      max-height: 632.02px;
      max-width: 98%;
      transform: translateY(-1cm);
    }
    .reveal .slides section.slide-joint-inference .top-right-text {
      position: absolute;
      top: calc(3.1em + 58px + 2cm);
      left: 31%;
      transform: translateX(-50%);
      margin: 0;
      text-align: center;
      font-size: 1.28em;
      font-weight: 700;
      color: #999;
      background: rgba(255, 255, 255, 0.58);
      border-radius: 8px;
      padding: 0.12em 0.5em;
      z-index: 3;
    }
    .reveal .slides section.slide-joint-inference .text-col {
      width: 100%;
      font-size: 1.18em;
      line-height: 1.4;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: center;
      gap: 1.2em;
      transform: translate(-1cm, -1cm);
    }
    .reveal .slides section.slide-joint-inference .text-col .slide-text {
      margin: 0 0 0.15em 0;
    }
    .reveal .slides section.slide-joint-inference .slide-list {
      margin: 0;
      padding-left: 1.05em;
      transform: translateY(5mm);
    }
    .reveal .slides section.slide-joint-inference .slide-list li {
      margin-bottom: 0.95em;
    }
    .reveal .slides section.slide-falcon .content-row {
      align-items: center;
      gap: 1.1em;
      min-height: 60%;
    }
    .reveal .slides section.slide-falcon .text-col {
      flex: 0 0 48%;
      max-width: 48%;
      display: flex;
      align-items: center;
      justify-content: flex-start;
    }
    .reveal .slides section.slide-falcon .slide-list {
      font-size: 1.15em;
      line-height: 1.36;
      margin: 0;
      padding-left: 1.1em;
    }
    .reveal .slides section.slide-falcon .slide-list li {
      margin-bottom: 0.75em;
    }
    .reveal .slides section.slide-falcon .img-col {
      flex: 0 0 48%;
      max-width: 48%;
      justify-content: center;
    }
    .reveal .slides section.slide-falcon .img-col .slide-img {
      max-height: 550px;
      max-width: 100%;
      width: auto;
    }
    .reveal .slides section.slide-falcon .slide-footnote {
      font-size: 0.7em;
      line-height: 1.35;
    }
    .reveal .slides section.slide-falcon .slide-footnote a:first-of-type,
    .reveal .slides section.slide-falcon .slide-footnote a:first-of-type:visited {
      color: #356aaf;
    }
    .reveal .slides section.slide-falcon .slide-footnote a:first-of-type strong {
      color: #356aaf;
    }
    /* ── Open questions of ΛCDM ──────────────────────────── */
    .reveal .slides section.slide-lcdm-questions .img-col {
      order: -1;
    }
    .reveal .slides section.slide-lcdm-questions .img-col .slide-img {
      max-width: 88%;
      margin-top: 0.5cm;
    }
    .reveal .slides section.slide-lcdm-questions .img-caption-wrap {
      align-items: flex-start;
    }
    .reveal .slides section.slide-lcdm-questions .img-caption {
      font-style: normal;
      font-weight: bold;
      color: #000000;
    }
    .reveal .slides section.slide-lcdm-questions .img-caption a {
      color: #2266cc;
    }
    .reveal .slides section.slide-lcdm-questions .text-col {
      font-size: 1.2em;
      margin-left: -2cm;
      flex: 0 0 52%;
    }
    .reveal .slides section.slide-lcdm-questions .content-row {
      align-items: flex-start;
      margin-top: 3cm;
    }
    .reveal .slides section.slide-lcdm-questions .img-col {
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .reveal .slides section.slide-lcdm-questions .text-col {
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .reveal .slides section.slide-lbi .content-row {
      flex-direction: column;
      align-items: center;
    }
    .reveal .slides section.slide-lbi .img-col {
      order: -1;
      width: 100%;
      display: flex;
      justify-content: center;
      margin-bottom: 0.5em;
    }
    .reveal .slides section.slide-lbi .img-col .slide-img {
      max-height: 237.6px !important;
    }
    .reveal .slides section.slide-generative-modelling .img-col .slide-img {
      max-height: 330px !important;
    }
    .reveal .slides section.slide-lbi .text-col {
      width: 75%;
      margin-left: auto;
      margin-right: auto;
      font-size: 1.21em;
      margin-top: -0.5cm;
      line-height: 1.44;
    }
    .reveal .slides section.slide-lbi .text-col li {
      margin-bottom: 0.90em;
    }
    .reveal .slides section.slide-lbi .slide-footnote-top-right {
      top: calc(3em + 38px + 0.4cm);
    }
    .reveal .slides section.slide-generative .content-row {
      margin-top: 0.4cm;
    }
    .reveal .slides section.slide-generative .img-col {
      margin-bottom: 0.08em;
      margin-top: -1cm;
    }
    .reveal .slides section.slide-generative .img-col .slide-img {
      max-height: 400px;
    }
    .reveal .slides section.slide-generative-modelling .img-caption-wrap {
      display: flex;
      flex-direction: column-reverse;
      align-items: flex-start;
      width: fit-content;
    }
    .reveal .slides section.slide-generative-modelling .img-caption {
      margin: 0 0 0.35em 0;
      text-align: left;
      transform: translate(-6.2cm, 6mm);
    }
    .reveal .slides section.slide-generative .text-col {
      width: 88%;
      font-size: 1.28em;
      line-height: 1.25;
      margin-top: -0.45cm;
    }
    .reveal .slides section.slide-generative .text-col .slide-list {
      margin: 0.08em 0 0.12em 1.05em;
      line-height: 1.34;
    }
    .reveal .slides section.slide-generative .text-col li {
      margin-bottom: 0.85em;
    }
    .reveal .slides section.slide-generative .text-col li mjx-container[display="true"] {
      margin: 0.04em 0 !important;
    }

    .reveal .slides section.slide-sampling .sampling-algorithms-stage {
      position: relative;
      flex: 1;
      min-height: 0;
    }
    .reveal .slides section.slide-sampling .sampling-algorithms-page1,
    .reveal .slides section.slide-sampling .sampling-algorithms-page2 {
      position: absolute;
      inset: 0;
    }
    .reveal .slides section.slide-sampling .sampling-algorithms-page1 {
      display: flex;
      align-items: center;
      justify-content: center;
      transform: translateY(-1cm);
    }
    .reveal .slides section.slide-sampling .sampling-algorithms-page1 .content-row {
      width: 100%;
      height: 100%;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }
    .reveal .slides section.slide-sampling .sampling-algorithms-page1 .img-col {
      order: -1;
      width: 100%;
      display: flex;
      justify-content: center;
      margin-bottom: 0.55em;
      margin-top: -0.7cm;
    }
    .reveal .slides section.slide-sampling .sampling-algorithms-page1 .img-col .slide-img {
      max-height: 198.72px;
      width: auto;
    }
    .reveal .slides section.slide-sampling .sampling-algorithms-page1 .text-col {
      width: 78%;
      margin-left: auto;
      margin-right: auto;
      font-size: 1.14em;
      line-height: 1.42;
      margin-top: -1.2cm;
    }
    .reveal .slides section.slide-sampling .sampling-algorithms-page1 .text-col li {
      margin-bottom: 0.58em;
    }
    .reveal .slides section.slide-sampling .sampling-algorithms-page2 {
      display: flex;
      flex-direction: column;
      min-height: 0;
    }
    .reveal .slides section.slide-sampling .sampling-algorithms-page2 .iframe-body {
      flex: 1;
      min-height: 0;
    }
    .reveal .slides section.slide-sampling .sampling-iframe-link {
      font-size: 0.5em;
      margin: 0.3em 0 0;
      text-align: center;
      color: #555;
    }

    /* ── Equations ───────────────────────────────────── */
    .eq-block {
      font-size: 0.9em;
      margin: 0.5em 0;
      text-align: center;
    }
    .eq-block.eq-annotated {
      padding-top: 0.35em;
      padding-bottom: 0.45em;
    }
    .eq-block.eq-annotated mjx-container[display="true"] {
      overflow: visible !important;
    }
    .eq-block.eq-large {
      font-size: 1.8em;
    }
    .eq-only {
      display: flex;
      flex-direction: column;
      gap: 0.6em;
      justify-content: center;
      align-items: center;
      height: 468px;
    }
    .eq-img {
      max-width: 90%;
      max-height: 86.4px;
      object-fit: contain;
    }

    /* ── Iframe layout ───────────────────────────────── */
    .iframe-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 1em;
      margin-bottom: 0.3em;
      color: #354046;
    }
    .iframe-header a {
      color: #5b82b5;
      font-size: 0.9em;
    }
    .iframe-header.iframe-header-centered {
      justify-content: center;
    }
    .iframe-slide {
      display: flex;
      flex-direction: column;
      gap: 0.35em;
      flex: 1;
      min-height: 0;
    }
    .iframe-text-frags-slide {
      display: flex;
      flex-direction: column;
      justify-content: center;
      flex: 1;
      min-height: 0;
      position: relative;
    }
    .iframe-text-frags-slide.iframe-frags-split {
      flex-direction: row;
      align-items: stretch;
      gap: 1.5em;
      justify-content: flex-start;
    }
    .frags-split-left {
      flex: 0 0 38%;
      display: flex;
      align-items: center;
      justify-content: center;
      order: 2;
    }
    .frags-split-left-inner {
      display: inline-flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 0.3em;
    }
    .frags-split-left .slide-img {
      max-height: 594px;
      width: auto;
      margin-top: 0;
    }
    .frags-split-right {
      flex: 1;
      display: flex;
      flex-direction: column;
      order: 1;
      justify-content: flex-start;
      margin-top: -16px;
    }
    .frags-split-right-img {
      display: flex;
      justify-content: center;
      margin-bottom: 0.4em;
    }
    .frags-split-right-img .slide-img {
      max-height: 260px;
      width: auto;
    }
    .reveal .slides section.slide-inference .frags-split-right {
      position: relative;
    }
    .reveal .slides section.slide-inference .frags-split-right-caption {
      position: absolute;
      top: 0;
      left: 0;
      font-size: 0.55em;
      color: #aaaaaa;
      font-style: italic;
      text-align: left;
      margin: 0;
      white-space: nowrap;
    }
    .reveal .slides section.slide-inference .frags-split-right .slide-text {
      align-self: center;
      width: fit-content;
      max-width: 100%;
      text-align: center;
    }
    .reveal .slides section.slide-inference .iframe-overlay iframe {
      pointer-events: auto;
    }
    .frags-split-left-footnote {
      font-size: 0.5em;
      font-weight: bold;
      color: #555;
      text-align: center;
      width: 100%;
      margin: 0;
    }
    .frags-split-left-footnote a {
      color: #4a90d9;
    }
    .iframe-text-frags-slide .iframe-frags-top-img {
      flex: none;
      display: flex;
      justify-content: center;
      margin-bottom: 0.4em;
      margin-top: -19px;
    }
    .iframe-text-frags-slide .iframe-frags-top-img .slide-img {
      max-height: 300px;
      width: auto;
    }
    .iframe-text-frags-slide .iframe-frags-text {
      display: flex;
      flex-direction: column;
      justify-content: center;
      flex: 1;
      min-height: 0;
      margin-top: 19px;
    }
    .iframe-text-frags-slide .iframe-overlay {
      position: absolute;
      inset: 0;
    }
    .iframe-text-frags-slide .iframe-overlay .iframe-body {
      height: 100%;
    }
    .iframe-top-cover {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      background: white;
      z-index: 10;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0 1em;
    }
    .iframe-top-cover-text {
      color: black;
      font-size: 1em;
      text-align: center;
      margin: 0;
      line-height: 2.2;
      transform: translateY(-0.5cm);
    }
    .reveal .slides section.iframe-section {
      display: flex !important;
      flex-direction: column;
      box-sizing: border-box;
      height: 100%;
    }
    .reveal .slides section.iframe-section .slide-title {
      flex: none;
    }
    .iframe-slide .iframe-header {
      flex: none;
    }
    .iframe-body {
      flex: 1;
      min-height: 0;
      overflow: hidden;
    }
    .iframe-body iframe {
      width: 100%;
      height: 100%;
      border: none;
      border-radius: 4px;
    }

    /* ── Caption row (left text + right reference on one line) ── */
    .caption-row {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      font-size: 0.72em;
      color: #555;
      margin: 0.3em 0;
    }
    .caption-row span:last-child {
      text-align: right;
      flex-shrink: 0;
      margin-left: 1em;
      color: #5b82b5;
    }

    /* ── Video stacked layout (text top 60%, video bottom 40%) ── */
    .video-stack {
      display: flex;
      flex-direction: column;
      gap: 0.5em;
    }
    .video-text-top {
      flex: none;
    }
    .video-bottom {
      display: flex;
      justify-content: center;
    }
    .video-bottom video {
      max-height: 273.6px;
      max-width: 100%;
    }
    .reveal .slides section.slide-img-video-stack .img-video-stack {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.5em;
      flex: 1;
      min-height: 0;
      margin-top: -1cm;
    }
    .reveal .slides section.slide-img-video-stack .img-video-stack-image-wrap {
      position: relative;
      display: inline-block;
    }
    .reveal .slides section.slide-img-video-stack .img-video-stack .slide-img {
      max-height: 187.2px;
      max-width: 100%;
      object-fit: contain;
      transform: translateY(8mm);
    }
    .reveal .slides section.slide-img-video-stack .img-video-stack-image-credit {
      position: absolute;
      top: 0;
      left: 0;
      font-size: 0.55em;
      color: #aaaaaa;
      font-style: italic;
      text-align: left;
      margin: 0;
      white-space: nowrap;
      transform: translate(calc(-0.2em - 4.5cm), calc(-1.1em + 1cm));
    }
    .reveal .slides section.slide-img-video-stack .img-video-stack video {
      width: 67.2%;
      max-width: 67.2%;
      max-height: 147.17px;
      height: auto;
      transform: translateY(10mm);
    }


    /* ── Precision cosmology slide ─────────────────── */
    .reveal .slides section.precision-era-layout {
      display: flex;
      flex-direction: column;
      box-sizing: border-box;
      height: 100%;
    }
    .reveal .slides section.precision-era-layout .slide-title {
      margin-bottom: 0.6em;
      padding-bottom: 0.12em;
      flex: none;
    }
    .precision-header-line {
      text-align: center;
      margin: 0 0 0.4em;
      flex: none;
      width: 100%;
    }
    .reveal .slides section.precision-era-layout .content-row {
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      gap: 0.22em;
      flex: 1;
      min-height: 0;
    }
    .reveal .slides section.precision-era-layout .img-col,
    .reveal .slides section.precision-era-layout .text-col {
      width: 100%;
      flex: none;
    }
    .reveal .slides section.precision-era-layout .img-col {
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      flex: 1;
      min-height: 0;
    }
    .precision-media-strip {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 0.4em;
      align-items: end;
      width: 100%;
      max-width: 100%;
      margin: 0 auto;
      flex: 1;
      min-height: 0;
    }
    .precision-media-item {
      display: flex;
      justify-content: center;
      align-items: end;
      min-height: 0;
    }
    .precision-media-item .slide-img,
    .precision-media-item video {
      width: 100%;
      max-height: 100%;
      object-fit: contain;
    }
    .precision-media-item:first-child .slide-img {
      width: 90%;
    }
    .precision-caption-row {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 1em;
      width: 100%;
      max-width: 100%;
      margin: 0 auto;
      align-items: start;
    }
    .reveal .slides section.precision-era-layout .precision-caption-row .slide-text {
      font-size: 0.66em;
      text-align: center;
      margin: 0;
    }

    /* ── Uchuu YouTube slide ───────────────────────── */
    .reveal .slides section.uchuu-youtube-slide {
      display: flex;
      flex-direction: column;
      box-sizing: border-box;
      height: 100%;
    }
    .uchuu-youtube-slide .slide-title {
      margin-bottom: 0.08em;
      padding-bottom: 0.1em;
      flex: none;
    }
    .uchuu-youtube-layout {
      display: flex;
      flex-direction: column;
      gap: 0.1em;
      margin-top: -0.08em;
      flex: 1;
      min-height: 0;
    }
    .uchuu-youtube-meta {
      text-align: center;
      font-size: 0.8em;
      margin: 0 0 0.12em 0;
      flex: none;
    }
    .uchuu-youtube-player {
      display: flex;
      justify-content: center;
      align-items: center;
      flex: 1;
      min-height: 0;
      overflow: hidden;
    }
    .uchuu-youtube-player iframe {
      width: 100%;
      height: 100%;
      max-width: 100%;
      max-height: 100%;
      border: none;
    }

    /* ── Zeldovich slide ────────────────────────────── */
    .reveal .slides section.zeldovich-slide {
      display: flex;
      flex-direction: column;
      box-sizing: border-box;
      height: 100%;
    }
    .zeldovich-slide .slide-title {
      margin-bottom: 0.06em;
      padding-bottom: 0.08em;
      flex: none;
    }
    .zeldovich-layout {
      display: flex;
      flex-direction: column;
      gap: 0.08em;
      margin-top: -0.18em;
      flex: 1;
      min-height: 0;
    }
    .zeldovich-meta {
      text-align: center;
      font-size: 1em;
      margin: 0 0 0.02em 0;
      flex: none;
    }
    .zeldovich-row {
      display: flex;
      flex-direction: row;
      gap: 3%;
      align-items: stretch;
      justify-content: center;
      width: 100%;
      flex: 1;
      min-height: 0;
    }
    .zeldovich-video-card {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      gap: 0.04em;
      min-height: 0;
      flex: 0 0 auto;
      height: 100%;
    }
    .zeldovich-video-meta {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0;
      margin-top: 0.2em;
    }
    .zeldovich-video-card video {
      width: auto;
      height: auto;
      min-height: 0;
      max-height: 100%;
      object-fit: contain;
      margin-top: 0.3em;
      margin-left: -3%;
    }
    .zeldovich-video-link {
      font-size: 0.72em;
      text-align: center;
      line-height: 1;
      margin: 0.08em 0 0 0 !important;
      padding: 0;
    }
    .zeldovich-video-note {
      font-size: 0.72em;
      text-align: center;
      margin: 0 !important;
      padding: 0;
      line-height: 1;
    }
    .zeldovich-photo-card {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      gap: 0;
      min-height: 0;
      flex: 0 0 auto;
      height: 100%;
    }
    .zeldovich-photo-card img {
      display: block;
      width: auto;
      min-height: 0;
      max-height: 100%;
      object-fit: contain;
    }
    .zeldovich-caption {
      font-size: 0.98em;
      text-align: center;
      line-height: 1.05;
      margin: 0 !important;
      margin-top: 0.08em !important;
    }

    /* ── Neural Ratio Estimation slide ──────────────── */
    .reveal .slides section.nre-slide {
      display: flex;
      flex-direction: column;
      box-sizing: border-box;
      height: 100%;
    }
    .nre-slide .slide-title {
      flex: none;
      margin-bottom: 0.4em;
    }
    .nre-layout {
      display: flex;
      gap: 1.5em;
      flex: 1;
      min-height: 0;
      align-items: center;
      margin-top: 0;
    }
    .nre-img-col {
      flex: 0 0 64%;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      min-height: 0;
    }
    .nre-img-col img {
      max-width: 85%;
      flex: 1;
      min-height: 0;
      object-fit: contain;
      align-self: center;
    }
    .nre-text-col {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      font-size: 1.1em;
      margin-top: -2cm;
      margin-left: -1cm;
    }
    .nre-text-col .slide-list li {
      margin-bottom: calc(0.525em + 2mm);
    }
    .nre-citation {
      flex: none;
      font-size: 0.68em;
      text-align: left;
      margin: 0;
    }
    .nre-credit {
      flex: none;
      font-size: 0.68em;
      text-align: left;
      margin-top: 0.3em;
      transform: translate(3mm, -5mm);
    }

    /* ── PDF alignment overrides ────────────────────── */
    .reveal .slides section.pdf-full-image-caption .content-row,
    .reveal .slides section.pdf-full-figure .content-row {
      display: block;
      position: relative;
      min-height: 432px;
    }
    .reveal .slides section.pdf-full-image-caption .img-col,
    .reveal .slides section.pdf-full-figure .img-col {
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .reveal .slides section.pdf-full-image-caption .text-col,
    .reveal .slides section.pdf-full-figure .text-col {
      position: absolute;
      z-index: 2;
      font-size: 0.78em;
      line-height: 1.25;
    }
    .reveal .slides section.pdf-full-image-caption .slide-img {
      width: 100%;
      max-height: 403.2px;
    }
    .reveal .slides section.pdf-next-decade .slide-img,
    .reveal .slides section.pdf-century-surveys .slide-img {
      max-height: 554.4px;
    }
    .reveal .slides section.pdf-next-decade .slide-img {
      max-height: 554.4px;
    }
    .reveal .slides section.pdf-next-decade .text-col,
    .reveal .slides section.pdf-century-surveys .text-col {
      left: calc(0.5em - 5mm);
      bottom: calc(0.4em - 1cm);
      max-width: 14em;
    }
    .reveal .slides section.pdf-next-decade .slide-text,
    .reveal .slides section.pdf-century-surveys .slide-text {
      font-size: 0.71em;
      margin: 0;
    }
    .reveal .slides section.pdf-cosmological-sims {
      min-height: 720px;
    }
    .reveal .slides section.pdf-cosmological-sims .content-row {
      display: grid;
      grid-template-columns: 0.95fr 1.25fr;
      gap: 1.1em;
      align-items: start;
    }
    .reveal .slides section.pdf-cosmological-sims .cosmo-sims-cmb-cl {
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
    }
    .reveal .slides section.pdf-cosmological-sims .cosmo-sims-cmb-cl .slide-img {
      width: auto;
      max-height: 480px;
    }
    .reveal .slides section.pdf-cosmological-sims .img-col {
      position: absolute;
      right: 0;
      top: calc(3.2em + 2cm + 5mm);
      display: flex;
      flex-direction: column;
      align-items: flex-end;
    }
    .reveal .slides section.pdf-cosmological-sims .img-col .slide-img {
      width: auto;
      max-height: 510px;
    }
    .reveal .slides section.pdf-cosmological-sims .cosmo-sims-forward-credit {
      font-size: 0.5em;
      color: #777;
      margin: 0.15em 0 0 0;
      text-align: right;
    }

    .reveal .slides section.pdf-cosmological-sims .cosmo-sims-logos {
      position: absolute;
      bottom: 14.4px;
      left: 2.5cm;
      display: flex;
      flex-direction: row;
      gap: 1.2em;
      align-items: flex-end;
    }
    .reveal .slides section.pdf-cosmological-sims .cosmo-sims-logo-item {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .reveal .slides section.pdf-cosmological-sims .cosmo-sims-logo-item img {
      max-height: 58.32px;
    }

    .reveal .slides section.pdf-cosmological-sims .text-col .slide-text {
      margin-bottom: 0.1em;
    }
    .reveal .slides section.pdf-cosmological-sims .text-col .slide-list {
      font-size: 1.25em;
      display: block !important;
    }
    .reveal .slides section.pdf-cosmological-sims .img-col .slide-img {
      width: auto;
    }
    .reveal .slides section.pdf-cosmological-sims .cosmo-sims-logo-desc {
      font-size: 0.65em;
      margin: 0.25em 0 0.1em 0;
      text-align: center;
    }
    .reveal .slides section.pdf-cosmological-sims .cosmo-sims-logo-link {
      font-size: 0.65em;
      margin: 0.25em 0 0 0;
      text-align: center;
      color: #000;
    }
    .reveal .slides section.pdf-cosmological-sims .slide-footnote {
      bottom: auto;
      left: auto;
      top: calc(5em + 1.8cm);
      right: 1em;
      text-align: right;
    }
    .reveal .slides section.pdf-analysis-overview .content-row {
      display: grid;
      grid-template-columns: 1.28fr 0.72fr;
      gap: 1.4em;
      align-items: start;
    }
    .reveal .slides section.pdf-analysis-overview .img-col {
      order: -1;
      align-items: start;
    }
    .reveal .slides section.pdf-analysis-overview .img-grid {
      grid-template-columns: 1.5fr 0.65fr;
      gap: 0.8em;
      align-items: start;
    }
    .reveal .slides section.pdf-analysis-overview .img-grid img:first-child {
      max-height: 338.4px;
    }
    .reveal .slides section.pdf-analysis-overview .img-grid img:last-child {
      max-height: 136.8px;
      margin-top: 28.8px;
    }
    .reveal .slides section.pdf-analysis-overview .text-col {
      padding-top: 28.8px;
    }
    .reveal .slides section.pdf-analysis-overview .eq-block {
      margin-top: 4em;
    }
    .reveal .slides section.pdf-analysis-classic .content-row {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 1.4em;
      align-items: start;
    }
    .reveal .slides section.pdf-analysis-classic .img-col {
      order: -1;
      align-items: start;
    }
    .reveal .slides section.pdf-analysis-classic .slide-img {
      max-height: 482.4px;
    }
    .reveal .slides section.pdf-analysis-classic .analysis-classic-img-citation {
      font-size: 0.68em;
      text-align: left;
      margin-top: 0.3em;
    }
    .reveal .slides section.pdf-analysis-classic .text-col {
      display: flex;
      flex-direction: column;
      position: relative;
      transform: translate(-2cm, -0.5cm);
    }
    .reveal .slides section.pdf-analysis-classic .text-col .slide-list {
      font-size: 0.97em;
      transform: translate(-1.0cm, -1.3cm);
    }
    .reveal .slides section.pdf-analysis-classic .text-col .slide-list li {
      margin-bottom: 0.8em;
    }
    .reveal .slides section.pdf-analysis-classic .text-col .slide-list li:first-child {
      list-style: none;
    }
    .reveal .slides section.pdf-analysis-classic .text-col .eq-block {
      order: -1;
    }
    .reveal .slides section.pdf-analysis-classic .text-col .eq-block.eq-annotated {
      padding-top: 0;
      padding-bottom: 0;
    }
    .reveal .slides section.pdf-analysis-classic .analysis-classic-eq-label {
      text-align: center;
      font-size: 1em;
      margin-bottom: 0.2em;
      margin-top: 0.5cm;
    }
    .reveal .slides section.pdf-analysis-classic .eq-bullets-group {
      transform: translateY(-1cm);
    }
    .reveal .slides section.pdf-analysis-classic .analysis-classic-portrait {
      position: absolute;
      top: -0.15cm;
      right: -2.25cm;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 0.14em;
      width: 5.4em;
      z-index: 2;
    }
    .reveal .slides section.pdf-analysis-classic .analysis-classic-portrait img {
      width: 100%;
      max-height: 6.8em;
      object-fit: contain;
      border-radius: 0.18em;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
      background: rgba(255, 255, 255, 0.9);
    }
    .reveal .slides section.pdf-analysis-classic .analysis-classic-portrait-caption {
      margin: 0;
      font-size: 0.42em;
      line-height: 1.12;
      text-align: left;
      color: #333;
      white-space: nowrap;
    }
    .reveal .slides section.pdf-three-pillars .content-row,
    .reveal .slides section.pdf-fli-parameter .content-row,
    .reveal .slides section.pdf-top-text-images .content-row,
    .reveal .slides section.pdf-summary-comparison .content-row,
    .reveal .slides section.pdf-forward-model .content-row,
    .reveal .slides section.pdf-tempering .content-row {
      flex-direction: column;
      gap: 0.7em;
    }
    .reveal .slides section.pdf-three-pillars .text-col,
    .reveal .slides section.pdf-three-pillars .img-col,
    .reveal .slides section.pdf-fli-parameter .text-col,
    .reveal .slides section.pdf-fli-parameter .img-col,
    .reveal .slides section.pdf-top-text-images .text-col,
    .reveal .slides section.pdf-top-text-images .img-col,
    .reveal .slides section.pdf-summary-comparison .text-col,
    .reveal .slides section.pdf-summary-comparison .img-col,
    .reveal .slides section.pdf-forward-model .text-col,
    .reveal .slides section.pdf-forward-model .img-col,
    .reveal .slides section.pdf-tempering .text-col,
    .reveal .slides section.pdf-tempering .img-col {
      width: 100%;
      flex: none;
    }
    .reveal .slides section.pdf-three-pillars .content-row {
      gap: 0.5em;
    }
    .reveal .slides section.pdf-three-pillars .text-col {
      display: flex;
      justify-content: center;
    }
    .reveal .slides section.pdf-three-pillars .slide-list {
      width: min(34em, 72%);
      margin: 0;
      font-size: 0.97em;
      line-height: 1.45;
      transform: translateY(5mm);
    }
    .reveal .slides section.pdf-three-pillars .slide-list li {
      margin-bottom: 0.52em;
    }
    .reveal .slides section.pdf-three-pillars .slide-list strong {
      color: #1a3a6b;
    }
    .reveal .slides section.pdf-three-pillars .pillars-gallery {
      display: grid;
      grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr) minmax(0, 1fr);
      gap: 0.75em;
      width: 100%;
      align-items: stretch;
      margin-top: -0.1em;
      transform: translateY(0);
    }
    .reveal .slides section.pdf-three-pillars .pillar-panel,
    .reveal .slides section.pdf-three-pillars .pillar-stack-item {
      display: flex;
      justify-content: center;
      align-items: center;
      box-sizing: border-box;
      background: transparent;
      border: none;
      box-shadow: none;
    }
    .reveal .slides section.pdf-three-pillars .pillar-panel {
      min-height: 252px;
      padding: 0.2em;
    }
    .reveal .slides section.pdf-three-pillars .pillar-panel .slide-img {
      width: 100%;
      max-height: 244.8px;
    }
    .reveal .slides section.pdf-three-pillars .pillar-panel:nth-child(1) .slide-img {
      width: 92%;
      max-height: 208.8px;
    }
    .reveal .slides section.pdf-three-pillars .pillar-panel:nth-child(2) .slide-img {
      max-height: 432px;
      width: 158.4%;
      transform: scale(1.2);
      transform-origin: center center;
    }
    .reveal .slides section.pdf-three-pillars .pillar-stack {
      display: flex;
      flex-direction: column;
      gap: 0.35em;
      min-height: 252px;
      justify-content: space-between;
    }
    .reveal .slides section.pdf-three-pillars .pillar-stack-item {
      flex: none;
      min-height: 77.76px;
      padding: 0.1em 0.2em;
    }
    .reveal .slides section.pdf-three-pillars .pillar-stack-item:nth-child(1) {
      transform: translateY(12.5mm);
    }
    .reveal .slides section.pdf-three-pillars .pillar-stack-item:nth-child(2) {
      transform: translateY(10mm);
    }
    .reveal .slides section.pdf-three-pillars .pillar-stack-item:nth-child(3) {
      transform: translateY(2.5mm);
    }
    .reveal .slides section.pdf-three-pillars .pillar-stack-item .slide-img {
      width: 100%;
      max-height: 67.68px;
    }
    .reveal .slides section.pdf-three-pillars .pillar-stack-item .pillar-logo-pytorch {
      width: 99%;
      max-height: 67.39px;
    }
    .reveal .slides section.pdf-three-pillars .pillar-stack-item .pillar-logo-jax {
      width: 104.4%;
      max-height: 79.06px;
    }
    .reveal .slides section.pdf-three-pillars .pillar-stack-item .pillar-logo-tensorflow {
      width: 153.6%;
      max-height: 114.91px;
    }
    .reveal .slides section.pdf-three-pillars .pillar-stack-item:last-child .slide-img {
      background: transparent;
      border-radius: 0;
      padding: 0;
      box-sizing: border-box;
    }
    .reveal .slides section.pdf-full-figure .text-col {
      right: 0.2em;
      top: 0.2em;
      max-width: 12em;
      text-align: right;
    }
    .reveal .slides section.pdf-full-figure .slide-text {
      font-size: 0.68em;
      text-align: right;
      margin: 0.12em 0;
    }
    .reveal .slides section.pdf-full-figure .slide-img {
      max-height: 446.4px;
      max-width: 95%;
    }
    .reveal .slides section.pdf-fli-parameter .img-col {
      order: -1;
    }
    .reveal .slides section.pdf-fli-parameter .img-grid {
      grid-template-columns: 0.34fr 1.12fr 0.54fr;
      gap: 0.9em;
      align-items: center;
      width: 100%;
    }
    .reveal .slides section.pdf-fli-parameter .text-col {
      text-align: center;
      max-width: 92%;
      margin: 0 auto;
    }
    .reveal .slides section.pdf-fli-parameter .slide-text,
    .reveal .slides section.pdf-fli-parameter .eq-block {
      text-align: center;
    }
    .reveal .slides section.pdf-amortized-sequential .amortized-sequential-layout {
      position: relative;
      display: flex;
      flex-direction: column;
      gap: 0.35em;
      min-height: 0;
      transform: translateY(3mm);
    }
    .reveal .slides section.pdf-amortized-sequential .amortized-layout-divider {
      position: absolute;
      left: 50%;
      top: 0;
      bottom: 0;
      width: 1px;
      transform: translateX(-0.5px);
      background: rgba(0, 0, 0, 0.14);
      pointer-events: none;
    }
    .reveal .slides section.pdf-amortized-sequential .slide-title {
      margin-top: 0;
      margin-bottom: 0.3em;
    }
    .reveal .slides section.pdf-amortized-sequential .amortized-top-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
      align-items: start;
      column-gap: 2em;
      width: 96%;
      margin: 0 auto;
    }
    .reveal .slides section.pdf-amortized-sequential .amortized-side {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 0.44em;
    }
    .reveal .slides section.pdf-amortized-sequential .amortized-side-label {
      width: min(15.5em, 100%);
      margin: 0;
      text-align: center;
      font-size: 1.08em;
      line-height: 1.42;
      font-weight: 700;
      color: #356aaf;
    }
    .reveal .slides section.pdf-amortized-sequential .amortized-side-left .amortized-side-label,
    .reveal .slides section.pdf-amortized-sequential .amortized-side-left .slide-list {
      width: min(13.9em, 100%);
    }
    .reveal .slides section.pdf-amortized-sequential .amortized-side .slide-list {
      font-size: 1.08em;
      line-height: 1.42;
      width: min(15.5em, 100%);
      margin: 0 auto;
      padding-left: 1.05em;
      text-align: left;
    }
    .reveal .slides section.pdf-amortized-sequential .amortized-side .slide-list li {
      margin-bottom: 0.46em;
    }
    .reveal .slides section.pdf-amortized-sequential .amortized-divider {
      background: transparent;
      min-height: 7.2em;
      align-self: stretch;
      margin-top: 0.1em;
    }
    .reveal .slides section.pdf-amortized-sequential .amortized-bottom-row {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 1em;
      align-items: center;
      width: 96%;
      margin: 0.1em auto 0;
      transform: translateY(-10mm);
    }
    .reveal .slides section.pdf-amortized-sequential .amortized-posterior-block {
      position: relative;
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;
      min-height: 0;
      width: 100%;
      margin: 0 auto;
    }
    .reveal .slides section.pdf-amortized-sequential .amortized-posterior-figure {
      width: 100%;
      max-width: 26.14em;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.22em;
    }
    .reveal .slides section.pdf-amortized-sequential .amortized-posterior-figure .slide-img {
      width: 100%;
      max-height: 256.61px;
      object-fit: contain;
    }
    .reveal .slides section.pdf-amortized-sequential .amortized-rounds-block {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      justify-content: center;
      gap: 0.3em;
      min-height: 0;
      width: fit-content;
      margin: 0 auto;
      justify-self: center;
      transform: translateY(5mm);
    }
    .reveal .slides section.pdf-amortized-sequential .amortized-rounds-row {
      display: grid;
      grid-template-columns: 7.9em auto 7.9em auto auto auto 7.9em;
      gap: 0;
      align-items: center;
      width: fit-content;
      justify-content: center;
    }
    .reveal .slides section.pdf-amortized-sequential .amortized-round-card {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.18em;
    }
    .reveal .slides section.pdf-amortized-sequential .amortized-round-label {
      font-size: 0.8em;
      margin: 0;
      color: #000;
      text-align: center;
      width: 100%;
    }
    .reveal .slides section.pdf-amortized-sequential .amortized-round-card .slide-img {
      width: 100%;
      max-width: 8.1em;
      max-height: 115.2px;
      object-fit: contain;
    }
    .reveal .slides section.pdf-amortized-sequential .amortized-round-arrow,
    .reveal .slides section.pdf-amortized-sequential .amortized-round-ellipsis {
      font-family: 'Lato', sans-serif;
      color: #53627a;
      line-height: 1;
      text-align: center;
    }
    .reveal .slides section.pdf-amortized-sequential .amortized-round-arrow {
      font-size: 2em;
      transform: translateY(0.65em);
    }
    .reveal .slides section.pdf-amortized-sequential .amortized-round-ellipsis {
      font-size: 1.8em;
      transform: translateY(0.7em);
      min-width: 0.8em;
    }
    .reveal .slides section.pdf-amortized-sequential .amortized-credits-row {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      width: 96%;
      margin: 0.02em auto 0;
      align-items: start;
    }
    .reveal .slides section.pdf-amortized-sequential .amortized-posterior-citation,
    .reveal .slides section.pdf-amortized-sequential .amortized-credit {
      font-size: 0.56em;
      margin: 0;
      line-height: 1.15;
      color: #777;
      text-align: center;
    }
    .reveal .slides section.pdf-amortized-sequential .amortized-posterior-citation a,
    .reveal .slides section.pdf-amortized-sequential .amortized-credit a {
      color: #6d88b6;
    }
    .reveal .slides section.pdf-amortized-sequential .amortized-posterior-citation .paper-citation-author,
    .reveal .slides section.pdf-amortized-sequential .amortized-credit strong {
      color: inherit;
      font-weight: 400;
    }
    .reveal .slides section.pdf-amortized-sequential .amortized-posterior-block .amortized-posterior-citation {
      position: absolute;
      right: calc(50% + 11.88em + 0.2em + 15mm);
      bottom: calc(0.55em + 5mm);
      white-space: nowrap;
      text-align: right;
      max-width: none;
    }
    .reveal .slides section.pdf-amortized-sequential .amortized-credit {
      justify-self: center;
      max-width: 14em;
    }
    .reveal .slides section.pdf-amortized-sequential .amortized-rounds-block .amortized-credit {
      font-size: 0.5em;
      margin-top: 0.02em;
      width: 100%;
      padding-right: 1cm;
      box-sizing: border-box;
      text-align: right;
      white-space: nowrap;
      justify-self: auto;
      align-self: stretch;
      max-width: none;
    }
    .reveal .slides section.pdf-fli-intro .content-row {
      flex-direction: column;
      gap: 0.45em;
    }
    .reveal .slides section.pdf-fli-intro .text-col {
      max-width: 76%;
      margin: 0 auto;
      text-align: center;
    }
    .reveal .slides section.pdf-fli-intro .slide-text,
    .reveal .slides section.pdf-fli-intro .eq-block {
      text-align: center;
    }
    .reveal .slides section.pdf-fli-intro .slide-text {
      font-size: 1.5em;
    }
    .reveal .slides section.pdf-fli-intro .eq-block {
      font-size: 1.25em;
    }
    .reveal .slides section.pdf-fli-intro .img-col {
      width: 100%;
    }
    .reveal .slides section.pdf-fli-intro .img-grid {
      grid-template-columns: 1fr;
      width: min(40em, 88%);
      margin: 0 auto;
      column-gap: 0;
      row-gap: 0;
      align-items: center;
      justify-items: center;
    }
    .reveal .slides section.pdf-fli-intro .img-grid .slide-img {
      max-height: 178.2px;
      max-width: 100%;
    }
    .reveal .slides section.pdf-fli-intro .img-col {
      display: flex;
      justify-content: center;
      align-items: center;
      transform: translateY(-1cm);
    }
    .reveal .slides section.pdf-fli-intro .img-col .slide-img {
      max-height: 400px;
      width: auto;
      max-width: 100%;
      object-fit: contain;
    }
    .reveal .slides section.pdf-reconstructing-fields {
      overflow: visible;
    }
    .reveal .slides section.pdf-reconstructing-fields .reconstruct-fields-stage {
      position: relative;
      display: grid;
      grid-template-columns: 0.86fr 1.14fr;
      grid-template-areas:
        "shear hubble"
        "neutrino magnetic";
      column-gap: 1.3em;
      row-gap: 0.45em;
      align-items: start;
      min-height: 28.2em;
      margin-top: 0.55em;
    }
    .reveal .slides section.pdf-reconstructing-fields .reconstruct-field-card,
    .reveal .slides section.pdf-reconstructing-fields .reconstruct-fields-callout {
      position: relative;
      z-index: 1;
    }
    .reveal .slides section.pdf-reconstructing-fields .reconstruct-field-card .slide-img {
      display: block;
      width: 100%;
      height: auto;
      object-fit: contain;
      margin: 0 auto;
    }
    .reveal .slides section.pdf-reconstructing-fields .reconstruct-field-label {
      margin: 0.16em 0 0;
      text-align: center;
      font-size: 0.84em;
      font-weight: 700;
      line-height: 1.04;
    }
    .reveal .slides section.pdf-reconstructing-fields .reconstruct-field-citation {
      position: absolute;
      margin: 0;
      font-size: 0.6em;
      line-height: 1.02;
      font-weight: 700;
      color: #111;
    }
    .reveal .slides section.pdf-reconstructing-fields .reconstruct-field-citation .paper-citation-author {
      font-weight: 700;
    }
    .reveal .slides section.pdf-reconstructing-fields .reconstruct-shear {
      grid-area: shear;
      width: 14.8em;
      justify-self: start;
      margin-left: 0.9em;
      margin-top: 0.3em;
    }
    .reveal .slides section.pdf-reconstructing-fields .reconstruct-shear .slide-img {
      max-height: 12.2em;
    }
    .reveal .slides section.pdf-reconstructing-fields .reconstruct-citation-porqueres {
      left: -2.15em;
      top: 54%;
      transform: translateY(-50%) rotate(-90deg);
      transform-origin: left top;
      white-space: nowrap;
    }
    .reveal .slides section.pdf-reconstructing-fields .reconstruct-neutrino {
      grid-area: neutrino;
      width: 24.3em;
      justify-self: start;
      align-self: end;
      margin-left: 0.2em;
      margin-top: calc(0.2em - 5mm);
    }
    .reveal .slides section.pdf-reconstructing-fields .reconstruct-neutrino .slide-img {
      max-height: 12.1em;
    }
    .reveal .slides section.pdf-reconstructing-fields .reconstruct-citation-elbers {
      left: -2.15em;
      top: 54%;
      transform: translateY(-50%) rotate(-90deg);
      transform-origin: left top;
      white-space: nowrap;
    }
    .reveal .slides section.pdf-reconstructing-fields .reconstruct-hubble {
      grid-area: hubble;
      width: 25.6em;
      justify-self: end;
      margin-right: 0.25em;
    }
    .reveal .slides section.pdf-reconstructing-fields .reconstruct-hubble .slide-img {
      max-height: 10.2em;
      transform: translateX(5mm);
    }
    .reveal .slides section.pdf-reconstructing-fields .reconstruct-hubble .reconstruct-field-label {
      max-width: 9.2em;
      margin: 0.14em auto 0;
      transform: translateX(5mm);
    }
    .reveal .slides section.pdf-reconstructing-fields .reconstruct-citation-jasche {
      right: 0.35em;
      top: -0.8em;
      white-space: nowrap;
      text-align: right;
    }
    .reveal .slides section.pdf-reconstructing-fields .reconstruct-magnetic {
      grid-area: magnetic;
      width: 25em;
      justify-self: end;
      align-self: end;
      margin-right: 0.05em;
    }
    .reveal .slides section.pdf-reconstructing-fields .reconstruct-magnetic .slide-img {
      max-height: 12.5em;
    }
    .reveal .slides section.pdf-reconstructing-fields .reconstruct-citation-hutschenreuter {
      right: 0.35em;
      top: -0.8em;
      white-space: nowrap;
      text-align: right;
    }
    .reveal .slides section.pdf-reconstructing-fields .reconstruct-fields-callout {
      position: absolute;
      left: 50%;
      top: calc(49% - 1cm - 5mm);
      transform: translate(-50%, -50%);
      width: 19.14em;
      padding: 0.62em 0.9em;
      background: rgba(221, 233, 246, 0.92);
      text-align: center;
      font-size: 0.9em;
      font-weight: 700;
      line-height: 1.28;
      z-index: 2;
    }
    .reveal .slides section.pdf-reconstructing-fields .reconstruct-fields-callout p {
      margin: 0;
    }
    .reveal .slides section.pdf-field-info .content-row,
    .reveal .slides section.pdf-ongoing-debate .content-row,
    .reveal .slides section.pdf-summary-comparison .content-row {
      flex-direction: column;
      gap: 0.55em;
    }
    .reveal .slides section.pdf-field-info .text-col,
    .reveal .slides section.pdf-ongoing-debate .text-col {
      max-width: 92%;
      margin: 0 auto;
      text-align: center;
    }
    .reveal .slides section.pdf-field-info .slide-text,
    .reveal .slides section.pdf-field-info .eq-block,
    .reveal .slides section.pdf-ongoing-debate .slide-text {
      text-align: center;
    }
    .reveal .slides section.pdf-field-info .img-grid-2 {
      grid-template-columns: 0.82fr 1.18fr;
      width: 100%;
      align-items: end;
    }
    .reveal .slides section.pdf-field-info .slide-text {
      font-size: 1.5em;
    }
    .reveal .slides section.pdf-field-info .img-caption {
      font-style: normal;
    }
    .reveal .slides section.pdf-field-info .img-grid {
      justify-items: center;
      margin-top: 5mm;
    }
    .reveal .slides section.pdf-field-info .img-grid .slide-img {
      max-height: 328.32px;
      width: auto;
      max-width: 100%;
    }
    .reveal .slides section.pdf-optimal-constraints .img-grid {
      grid-template-columns: minmax(0, 1fr) minmax(0, 1.0fr) minmax(0, 1.1fr);
      gap: 0.6em;
      width: 100%;
      align-items: start;
    }
    .reveal .slides section.pdf-optimal-constraints .img-with-caption {
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .reveal .slides section.pdf-optimal-constraints .img-grid .img-with-caption:nth-child(3) {
      transform: translateY(3mm);
    }
    .reveal .slides section.pdf-optimal-constraints .img-grid .slide-img {
      width: 100%;
      height: auto;
      max-height: 300px;
      object-fit: contain;
    }
    .reveal .slides section.pdf-optimal-constraints .img-caption {
      margin-top: 0.35em;
      text-align: center;
    }
    .reveal .slides section.pdf-ml-approaches .content-row {
      gap: 0.45em;
    }
    .reveal .slides section.pdf-ml-approaches .text-col {
      max-width: 72%;
    }
    .reveal .slides section.pdf-ml-approaches .img-col {
      width: 100%;
      align-self: stretch;
    }
    .reveal .slides section.pdf-ml-approaches .slide-text {
      font-size: 1.42em;
      line-height: 1.34;
    }
    .reveal .slides section.pdf-ml-approaches .img-grid,
    .reveal .slides section.pdf-ml-approaches .img-grid-2 {
      width: 100%;
      margin-top: -0.1em;
      grid-template-columns: 1fr 1fr;
      column-gap: 1.2em;
      align-items: end;
      justify-items: center;
    }
    .reveal .slides section.pdf-ml-approaches .img-grid .slide-img,
    .reveal .slides section.pdf-ml-approaches .img-grid-2 .slide-img {
      max-height: 277.2px;
      width: auto;
      max-width: 100%;
    }
    .reveal .slides section.pdf-ml-approaches .img-with-caption {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-end;
      width: 100%;
    }
    .reveal .slides section.pdf-ml-approaches .img-caption {
      margin-top: 0.3em;
      font-style: normal;
      text-align: center;
    }
    .reveal .slides section.pdf-ongoing-debate .img-grid-2 {
      width: 94%;
      gap: 1.2em;
    }
    .reveal .slides section.pdf-field-prior .content-row {
      display: block;
    }
    .reveal .slides section.pdf-field-prior .field-prior-stage {
      position: relative;
      min-height: 31.8em;
      margin-top: 0.25em;
      overflow: visible;
    }
    .reveal .slides section.pdf-field-prior .field-prior-main {
      position: absolute;
      left: 1.7em;
      top: 0.7em;
      width: 20.6em;
      margin: 0;
      text-align: center;
      font-size: 1.12em;
      line-height: 1.2;
      z-index: 1;
    }
    .reveal .slides section.pdf-field-prior .field-prior-sub {
      position: absolute;
      left: 1.5em;
      top: 7.35em;
      width: 22.2em;
      margin: 0;
      text-align: center;
      font-size: 1.06em;
      line-height: 1.2;
      z-index: 1;
    }
    .reveal .slides section.pdf-field-prior .field-prior-equation {
      position: absolute;
      left: 2.95em;
      top: 16.45em;
      width: 24.4em;
      margin: 0;
      font-size: 0.95em;
      text-align: center;
      z-index: 1;
    }
    .reveal .slides section.pdf-field-prior .field-prior-definitions {
      position: absolute;
      left: calc(1.5em + (22.2em - 24.4em) / 2);
      top: 22.55em;
      width: 24.4em;
      text-align: center;
      z-index: 1;
    }
    .reveal .slides section.pdf-field-prior .field-prior-main,
    .reveal .slides section.pdf-field-prior .field-prior-sub,
    .reveal .slides section.pdf-field-prior .field-prior-equation,
    .reveal .slides section.pdf-field-prior .field-prior-definitions {
      transform: translateY(5mm);
    }
    .reveal .slides section.pdf-field-prior .field-prior-definition {
      display: flex;
      align-items: baseline;
      justify-content: center;
      gap: 0.38em;
      width: fit-content;
      margin: 0.12em auto;
      font-size: 0.88em;
      line-height: 1.18;
    }
    .reveal .slides section.pdf-field-prior .field-prior-symbol {
      min-width: 3.3em;
      text-align: right;
      font-size: 1.18em;
      font-weight: 700;
    }
    .reveal .slides section.pdf-field-prior .field-prior-right {
      position: absolute;
      left: calc(75% - 8.6em);
      right: auto;
      top: 0.05em;
      width: 17.2em;
      height: 28.6em;
      z-index: 1;
    }
    .reveal .slides section.pdf-field-prior .field-prior-image-top,
    .reveal .slides section.pdf-field-prior .field-prior-image-bottom {
      position: absolute;
      left: 50%;
      right: auto;
      transform: translateX(-50%);
      text-align: center;
    }
    .reveal .slides section.pdf-field-prior .field-prior-image-top {
      top: 0;
      width: 12.8em;
    }
    .reveal .slides section.pdf-field-prior .field-prior-image-bottom {
      top: 14.35em;
      width: 12.8em;
    }
    .reveal .slides section.pdf-field-prior .field-prior-image-frame {
      position: relative;
      width: 100%;
    }
    .reveal .slides section.pdf-field-prior .field-prior-image-top .slide-img,
    .reveal .slides section.pdf-field-prior .field-prior-image-bottom .slide-img {
      display: block;
      width: 100%;
      height: auto;
      object-fit: contain;
    }
    .reveal .slides section.pdf-field-prior .field-prior-image-top .slide-img {
      max-height: 12.8em;
    }
    .reveal .slides section.pdf-field-prior .field-prior-image-bottom .slide-img {
      max-height: 12.8em;
    }
    .reveal .slides section.pdf-field-prior .field-prior-z {
      position: absolute;
      margin: 0;
      font-size: 0.9em;
      line-height: 1;
      color: #111;
      white-space: nowrap;
      left: calc(100% + 0.6em);
      top: 50%;
      transform: translateY(-50%);
    }
    .reveal .slides section.pdf-field-prior .field-prior-bottom-label {
      margin: 0.16em 0 0;
      font-size: 0.9em;
      line-height: 1.08;
      font-weight: 500;
      text-align: center;
    }
    .reveal .slides section.pdf-field-prior .field-prior-image-top .field-prior-bottom-label {
      margin: 0 0 0.16em;
    }
    .reveal .slides section.pdf-field-prior .field-prior-arrow {
      position: absolute;
      right: 0.25em;
      top: 10.55em;
      width: 4.3em;
      height: 4.0em;
      pointer-events: none;
    }
    .reveal .slides section.pdf-field-prior .field-prior-arrow svg {
      width: 100%;
      height: 100%;
      overflow: visible;
    }
    .reveal .slides section.pdf-field-prior .field-prior-arrow path {
      stroke: #112f78;
      stroke-width: 3.7;
      fill: none;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
    .reveal .slides section.pdf-hmc-video .video-bottom video {
      width: 85% !important;
      max-width: 85% !important;
      height: auto;
      margin-top: calc(10px + 5mm) !important;
    }
    .reveal .slides section.pdf-hmc-video .slide-footnote {
      left: calc(1em - 5mm);
    }
    .reveal .slides section.pdf-hmc-video .video-text-top {
      width: 110%;
    }
    .reveal .slides section.pdf-hmc-video .caption-row {
      margin-top: 5mm;
    }
    .reveal .slides section.pdf-hmc-video .slide-list {
      font-size: 1.25em;
      column-count: 2;
      column-gap: 2em;
      width: 110%;
    }

    .reveal .slides section.pdf-top-text-images .img-grid-2,
    .reveal .slides section.pdf-top-text-images .img-grid {
      width: 100%;
    }
    .reveal .slides section.pdf-top-text-images .img-grid-2 .slide-img,
    .reveal .slides section.pdf-top-text-images .img-grid .slide-img {
      max-height: 201.6px;
    }
    .reveal .slides section.pdf-fli-sbi-overview .fli-sbi-overview-layout {
      display: grid;
      grid-template-columns: 0.34fr 0.66fr;
      column-gap: 1.25em;
      align-items: start;
      margin-top: 0.15em;
    }
    .reveal .slides section.pdf-fli-sbi-overview .fli-sbi-overview-left {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      padding-top: 0.15em;
    }
    .reveal .slides section.pdf-fli-sbi-overview .fli-sbi-overview-left .slide-img {
      max-height: 23.9em;
      max-width: 100%;
      width: auto;
    }
    .reveal .slides section.pdf-fli-sbi-overview .fli-sbi-overview-caption {
      width: 92%;
      margin: 0.3em 0 0;
      text-align: center;
      line-height: 1.18;
    }
    .reveal .slides section.pdf-fli-sbi-overview .fli-sbi-overview-right {
      display: flex;
      flex-direction: column;
      min-height: 23.8em;
      padding-top: 5.4em;
    }
    .reveal .slides section.pdf-fli-sbi-overview .fli-sbi-overview-right .eq-block {
      margin: 0;
    }
    .reveal .slides section.pdf-fli-sbi-overview .fli-sbi-overview-citation {
      margin-top: auto;
      align-self: flex-start;
      line-height: 1.08;
    }
    .reveal .slides section.pdf-fli-sbi-overview .fli-sbi-overview-citation p {
      margin: 0;
    }
    .reveal .slides section.pdf-equation-layout .content-row {
      display: block;
    }
    .reveal .slides section.pdf-equation-layout .text-col {
      width: 100%;
      max-width: 100%;
    }
    .reveal .slides section.pdf-equation-layout .img-col {
      display: none;
    }
    .reveal .slides section.pdf-equation-layout .slide-list {
      display: flex;
      gap: 1.5em;
      justify-content: center;
      margin-left: 0;
      list-style-position: inside;
    }
    .reveal .slides section.pdf-equation-layout .eq-block {
      font-size: 0.72em;
      margin: 0.18em 0;
    }
    .reveal .slides section.pdf-results-split .content-row {
      display: grid;
      grid-template-columns: 1.34fr 0.66fr;
      gap: 1.35em;
      align-items: center;
    }
    .reveal .slides section.pdf-results-split .img-col {
      order: -1;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .reveal .slides section.pdf-results-split .slide-img {
      max-height: 550.67px;
    }
    .reveal .slides section.pdf-results-split .results-pages-wrap > .content-row:nth-child(3) .slide-img {
      max-height: 629.34px;
      transform: translateY(-1cm);
    }
    .reveal .slides section.pdf-results-split .text-col {
      font-size: 1.15em;
      line-height: 1.45;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    .reveal .slides section.pdf-results-split .slide-list li {
      margin-bottom: 0.6em;
    }
    .reveal .slides section.pdf-results-split .results-pages-wrap {
      position: relative;
      width: 100%;
      height: 560px;
      min-height: 560px;
      margin-top: 0;
    }
    .reveal .slides section.pdf-results-split .results-pages-wrap > .content-row {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }
    .reveal .slides section.pdf-results-split .results-pages-wrap > .content-row:nth-child(3) .text-col {
      transform: translateY(-14mm);
    }
    .reveal .slides section.pdf-summary-comparison .text-col {
      order: 2;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 22%;
      margin: 0;
    }
    .reveal .slides section.pdf-summary-comparison .slide-text,
    .reveal .slides section.pdf-summary-comparison .slide-list {
      text-align: left;
      font-size: 0.94em;
      margin: 0;
    }
    .reveal .slides section.pdf-summary-comparison .slide-list {
      width: 100%;
      padding-left: 1.15em;
    }
    .reveal .slides section.pdf-summary-comparison .slide-list li {
      margin-bottom: 0.55em;
    }
    .reveal .slides section.pdf-summary-comparison .img-col {
      order: 1;
      width: 72%;
      margin: 0;
    }
    .reveal .slides section.pdf-summary-comparison .img-col > .slide-img {
      max-height: 550px;
    }
    .reveal .slides section.pdf-summary-comparison .staged-image-split {
      position: relative;
      width: 100%;
      min-height: 570px;
    }
    .reveal .slides section.pdf-summary-comparison .staged-image-layer {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .reveal .slides section.pdf-summary-comparison .staged-image-layer .slide-img {
      max-height: 550px;
      width: auto;
      max-width: 100%;
    }
    .reveal .slides section.pdf-summary-comparison .staged-image-secondary .slide-img {
      max-height: 450px;
    }
    .reveal .slides section.pdf-summary-comparison .content-row {
      flex-direction: row;
      align-items: center;
      gap: 1.25em;
      margin-top: 1cm;
      transform: translateX(-1.5cm);
    }
    .reveal .slides section.pdf-summary-comparison .img-grid-2 {
      align-items: start;
      gap: 0.25em;
    }
    .reveal .slides section.pdf-summary-comparison .img-with-caption {
      width: 100%;
      display: flex;
      flex-direction: column-reverse;
      align-items: center;
    }
    .reveal .slides section.pdf-summary-comparison .img-with-caption .slide-img {
      max-height: 520px;
    }
    .reveal .slides section.pdf-summary-comparison .img-caption {
      text-align: center;
      font-size: 0.66em;
      font-style: normal;
      font-weight: 700;
      color: #000;
      margin: 0 0 0.22em 0;
    }
    .reveal .slides section.pdf-forward-model .img-grid {
      grid-template-columns: 1fr 0.7fr 1fr;
      grid-template-areas:
        "disco disco disco"
        "jax ic obs";
      gap: 0.7em 1em;
      align-items: center;
      justify-items: center;
    }
    .reveal .slides section.pdf-forward-model .img-grid img:nth-child(1) {
      grid-area: jax;
      max-height: 57.6px;
    }
    .reveal .slides section.pdf-forward-model .img-grid img:nth-child(2) {
      grid-area: ic;
      max-height: 129.6px;
    }
    .reveal .slides section.pdf-forward-model .img-grid img:nth-child(3) {
      grid-area: obs;
      max-height: 129.6px;
    }
    .reveal .slides section.pdf-forward-model .img-grid img:nth-child(4) {
      grid-area: disco;
      max-height: 86.4px;
    }
    .reveal .slides section.pdf-tempering .img-col {
      order: -1;
    }
    .reveal .slides section.pdf-tempering .img-col .slide-img {
      max-height: 244.8px;
    }
    .reveal .slides section.pdf-sbi-intro .content-row {
      display: grid;
      grid-template-columns: 0.92fr 1.26fr 0.94fr;
      grid-template-areas:
        "lead lead lead"
        "img img img"
        "review equation list";
      gap: 0.45em 1em;
      align-items: start;
    }
    .reveal .slides section.pdf-sbi-intro .text-col {
      display: contents;
    }
    .reveal .slides section.pdf-sbi-intro .text-col > .slide-list:nth-of-type(1) {
      grid-area: review;
      font-size: 0.65em;
      line-height: 1.5;
      align-self: end;
      margin: 0;
      margin-top: 1cm;
      list-style: none;
      padding: 0;
    }
    .reveal .slides section.pdf-sbi-intro .text-col > .slide-list:nth-of-type(1) a:not(.paper-citation-arxiv) {
      font-weight: bold;
    }
    .reveal .slides section.pdf-sbi-intro .text-col > .slide-list:nth-of-type(2) {
      grid-area: list;
      font-size: 0.84em;
      margin: 0;
      align-self: start;
    }
    .reveal .slides section.pdf-sbi-intro .text-col > .eq-block {
      grid-area: equation;
      margin: 0;
      align-self: center;
    }
    .reveal .slides section.pdf-sbi-intro .img-col {
      grid-area: img;
      width: 100%;
      text-align: center;
    }
    .reveal .slides section.pdf-sbi-intro .slide-img {
      max-height: 216px;
      display: block;
      margin: 0 auto;
    }
    .reveal .slides section.pdf-euclid-parameter .content-row {
      display: grid;
      grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.92fr);
      grid-template-areas:
        "apply plot"
        "diagram plot"
        "ref summary";
      gap: 0.34em 1.35em;
      align-items: start;
      margin-top: 0.18em;
      transform: translateY(1cm);
    }
    .reveal .slides section.pdf-euclid-parameter .text-col,
    .reveal .slides section.pdf-euclid-parameter .img-col,
    .reveal .slides section.pdf-euclid-parameter .img-grid-2 {
      display: contents;
    }
    .reveal .slides section.pdf-euclid-parameter .text-col > p:nth-of-type(1) {
      grid-area: ref;
      font-size: 0.78em;
      margin: 0;
      width: min(100%, 42.9em);
      justify-self: center;
      align-self: start;
      text-align: left;
    }
    .reveal .slides section.pdf-euclid-parameter .text-col > p:nth-of-type(2) {
      grid-area: summary;
      font-size: 0.9em;
      line-height: 1.18;
      text-align: center;
      width: min(100%, 21.34em);
      max-width: 18.5em;
      margin: 0;
      justify-self: center;
      align-self: start;
    }
    .reveal .slides section.pdf-euclid-parameter .text-col > p:nth-of-type(3) {
      grid-area: apply;
      font-size: 1.02em;
      line-height: 1.18;
      width: min(100%, 42.9em);
      max-width: 24em;
      margin: 0.14em 0 0.16em;
      justify-self: center;
      align-self: end;
      text-align: center;
    }
    .reveal .slides section.pdf-euclid-parameter .img-grid-2 img:nth-child(1) {
      grid-area: diagram;
      max-height: 253.44px;
      width: min(100%, 42.9em);
      justify-self: center;
      align-self: start;
    }
    .reveal .slides section.pdf-euclid-parameter .img-grid-2 img:nth-child(2) {
      grid-area: plot;
      max-height: 403.92px;
      width: min(100%, 21.34em);
      justify-self: center;
      align-self: start;
    }
    .reveal .slides section.pdf-diffusion-models .content-row {
      display: grid;
      grid-template-columns: 1.14fr 0.86fr;
      grid-template-areas:
        "list ref"
        "equation plot"
        "training plot"
        "samples plot";
      gap: 0.45em 1.25em;
      align-items: start;
    }
    .reveal .slides section.pdf-diffusion-models .text-col,
    .reveal .slides section.pdf-diffusion-models .img-col,
    .reveal .slides section.pdf-diffusion-models .img-grid {
      display: contents;
    }
    .reveal .slides section.pdf-diffusion-models .slide-list {
      grid-area: list;
      font-size: 0.87em;
      margin: 0 0 0 1em;
    }
    .reveal .slides section.pdf-diffusion-models .text-col > p:nth-of-type(1) {
      grid-area: ref;
      font-size: 0.76em;
      text-align: right;
      margin: 0.2em 0 0 0;
    }
    .reveal .slides section.pdf-diffusion-models .text-col > p:nth-of-type(2) {
      grid-area: training;
      font-size: 0.8em;
      text-align: center;
      margin: 0;
    }
    .reveal .slides section.pdf-diffusion-models .eq-block {
      grid-area: equation;
      text-align: left;
      margin: 0 0 0 0.6em;
    }
    .reveal .slides section.pdf-diffusion-models .img-grid img:nth-child(1) {
      grid-area: samples;
      max-height: 187.2px;
      width: 100%;
    }
    .reveal .slides section.pdf-diffusion-models .img-grid img:nth-child(2) {
      grid-area: plot;
      max-height: 345.6px;
      justify-self: center;
    }
    .reveal .slides section.pdf-systematics .content-row {
      display: grid;
      grid-template-columns: 0.96fr 1.04fr;
      grid-template-areas:
        "text upper"
        "text lower";
      gap: 0.8em 1.2em;
      align-items: center;
    }
    .reveal .slides section.pdf-systematics .text-col {
      grid-area: text;
      max-width: 92%;
      align-self: center;
    }
    .reveal .slides section.pdf-systematics .slide-list {
      font-size: 0.9em;
      line-height: 1.45;
    }
    .reveal .slides section.pdf-systematics .img-col,
    .reveal .slides section.pdf-systematics .img-grid-2 {
      display: contents;
    }
    .reveal .slides section.pdf-systematics .img-grid-2 img:nth-child(1) {
      grid-area: upper;
      max-height: 201.6px;
      justify-self: center;
    }
    .reveal .slides section.pdf-systematics .img-grid-2 img:nth-child(2) {
      grid-area: lower;
      max-height: 180px;
      width: 100%;
      justify-self: center;
    }
    .reveal .slides section.pdf-next-steps .content-row {
      display: grid;
      grid-template-columns: 1.02fr 0.98fr;
      grid-template-areas:
        "list plot"
        "equation plot"
        "ref credit";
      gap: 0.55em 1.3em;
      align-items: start;
    }
    .reveal .slides section.pdf-next-steps .text-col {
      display: contents;
    }
    .reveal .slides section.pdf-next-steps .text-col > .slide-list {
      grid-area: list;
      font-size: 0.84em;
      margin: 0 0 0 1em;
    }
    .reveal .slides section.pdf-next-steps .text-col > p:nth-of-type(1) {
      grid-area: credit;
      font-size: 0.68em;
      text-align: right;
      margin: 0;
      justify-self: end;
      align-self: end;
    }
    .reveal .slides section.pdf-next-steps .text-col > p:nth-of-type(2) {
      grid-area: ref;
      font-size: 0.72em;
      margin: 0;
      align-self: end;
    }
    .reveal .slides section.pdf-next-steps .text-col > .eq-block {
      grid-area: equation;
      text-align: left;
      margin: 0.1em 0 0 0;
    }
    .reveal .slides section.pdf-next-steps .img-col {
      grid-area: plot;
    }
    .reveal .slides section.pdf-next-steps .img-col .slide-img {
      max-height: 338.4px;
    }
    .reveal .slides section.pdf-summary {
      display: flex !important;
      flex-direction: column;
      min-height: 100%;
    }
    .reveal .slides section.pdf-summary .text-only {
      max-width: 88%;
      display: flex;
      flex: 1;
      flex-direction: column;
      justify-content: center;
      transform: translateY(-1cm);
    }
    .reveal .slides section.pdf-summary .slide-qr-wrapper {
      left: auto;
      right: 0.6em;
      top: auto;
      bottom: calc(0.15em - 4cm);
    }
    .reveal .slides section.pdf-summary .slide-qr-code {
      width: 6.24em;
      height: 6.24em;
    }
    .reveal .slides section.pdf-summary .slide-list {
      font-size: 1.16em;
      line-height: 1.45;
      margin-top: 0;
    }
    .reveal .slides section.pdf-summary .slide-list li {
      margin-bottom: 0.82em;
    }

    /* ── uchuu-youtube page 2 (two images) ─────────── */
    .uchuu-page2-images {
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      gap: 6em;
      flex: 1;
      height: 540px;
    }
    .uchuu-page2-img {
      height: 100%;
      width: auto;
      max-width: 48%;
      object-fit: contain;
    }

    /* ── Books & resources slide ────────────────────── */
    .books-and-courses {
      display: flex;
      flex-direction: column;
      gap: 0;
      flex: 1;
      justify-content: center;
    }
    .books-grid {
      display: flex;
      flex-direction: row;
      align-items: flex-end;
      justify-content: center;
      gap: 1.5em;
    }
    .book-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.6em;
    }
    .book-img {
      height: 330.48px;
      width: auto;
      object-fit: contain;
    }
    .book-item a {
      font-size: 0.625em;
      color: #2196F3;
      text-decoration: none;
      text-align: center;
      word-break: break-all;
    }
    .book-item a:hover {
      text-decoration: underline;
    }
    .courses-section {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.2em;
      margin-top: calc(0.5em + 5mm);
      font-size: 0.9em;
      text-align: center;
    }
    .courses-label {
      margin: 0 !important;
      padding: 0 !important;
      font-weight: bold;
    }
    .courses-list {
      list-style: disc;
      margin: 0 !important;
      padding-left: 1.2em;
      display: flex;
      flex-direction: column;
      gap: 0.15em;
      text-align: left;
    }
    .courses-list a {
      color: #2196F3;
      text-decoration: none;
    }
    .courses-list a:hover {
      text-decoration: underline;
    }
    .books-grid .book-item:first-child .book-img {
      outline: 1px solid #000;
    }


    /* ── Mixed content ───────────────────────────────── */
    .mixed-content {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.5em;
    }
    .mixed-content .slide-img {
      max-height: 288px;
    }
