body {
  /* font-family: 'Noto Sans', sans-serif; */
  font-family: 'Google Sans', sans-serif;
}

:root {
  --pw-viser-playback-dock-height: clamp(64px, 9vh, 96px);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


.footer .icon-link {
    font-size: 1em;
    color: #000;
}

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

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

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

.teaser-section {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.teaser-section .teaser-image {
  margin: 0 auto;
  max-width: 100%;
}

.teaser-section .teaser-image img,
.teaser-section .teaser-image video {
  display: block;
  width: 100%;
  height: auto;
}

.teaser-caption {
  margin-top: 1.5rem;
  max-width: 60rem;
  margin-left: auto;
  margin-right: auto;
  font-size: var(--teaser-caption-size, clamp(1.05rem, 1vw + 0.9rem, 1.25rem));
  line-height: var(--teaser-caption-line-height, 1.6);
}
#glass{
  margin-left: -10px;
}

.publication-title {
  font-family: 'Google Sans', sans-serif;
  color: #8C1515;
}

.publication-banner {
  max-height: parent;

}

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

.publication-header .hero-body {
}

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

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

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

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

.publication-authors a {
   color: #000000 !important;
}

.conference-authors a {
   color: #000000 !important;
}

.publication-authors a:hover {
    text-decoration: underline;
    color: #414141 !important;
}

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

.publication-video {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;

    overflow: hidden;
    border-radius: 10px !important;
}

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

.publication-body img {
}

.results-carousel {
  overflow: hidden;
}

.results-carousel .item {
  margin: 5px;
  overflow: hidden;
  border: 1px solid #bbb;
  border-radius: 10px;
  padding: 0;
  font-size: 0;
}

.results-carousel video {
  margin: 0;
}

.interpolation-panel {
  background: #f5f5f5;
  border-radius: 10px;
}

.interpolation-panel .interpolation-image {
  width: 100vh;
  background-size: cover;
  border-radius: 5px;
}

.interpolation-video-column {
}

.interpolation-panel .slider {
  margin: 0 !important;
}

.interpolation-panel .slider {
  margin: 0 !important;
}

#interpolation-image-wrapper {
  width: 100%;
}
#interpolation-image-wrapper img {
  border-radius: 5px;
}

#method-image img {
    padding: 0;
    display: block;
    margin: 0 auto;
    max-height: 100%;
    max-width: 100%;
}

 .dropdown-item{
    white-space: pre-wrap;
}


.justify {
  text-align: justify;
}

.button-container {
  color: #53565A;
  justify-content: center;
  display: flex;
  gap: 0.75em;
  padding-top: 0.75em;
  flex-wrap: wrap;
}

.button {
  color: #53565A;
  font-family: 'Google Sans', sans-serif;
  border-radius: 0.6em;
  min-width: 9em;
  padding: 0.7em 1.2em;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 1em;
  line-height: 1.2;
  border: 0;
  background-color: #f2f2f2;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(83, 86, 90, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.button i {
  margin-right: 0.35em;
}

.button:hover {
  background-color: #f2f2f2;
  filter: brightness(97%);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(83, 86, 90, 0.18);
}

/* https://html-online.com/articles/gradient-background-buttons-css-html/ */
.gradient-button {
  text-align: center;
  background-size: 200% auto;
  transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
  cursor: pointer;
  text-decoration: none;
}

.gradient-button:hover {
  background-position: right center;
}

.w-button {
  display: inline-block;
  padding: 9px 15px;
  background-color: #3898ec;
  color: #fff;
  border: 0;
  line-height: inherit;
  text-decoration: none;
  cursor: pointer;
  border-radius: 0
}

.affiliation {
  display: inline-block;
  color: #2c2c2c;
  font-family: 'Google Sans', sans-serif;
  padding-top: 0.8em;
  /* padding-bottom: 0.5em; */
  text-align: center;
}

.affiliation-note {
  display: block;
  color: #828282;
  font-family: 'Google Sans', sans-serif;
  font-size: 1.2em;
  margin-top: 0.3em;
  padding-bottom: 0.8em;
  text-align: center;
}

hr.rounded {
  background: #cbcbcb;
  border-radius: 15px;
  /* max-height: 2px; */
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  mix-blend-mode: normal;
  border: none;
}

.bibtex {
  font-family: "Courier", monospace;
  font-size: 0.7em !important;
  color: #2f2f2f;
  background-color: #f2f2f2;
  border: 5px;
  border-color: #2f2f2f;
  border-radius: 10px;
  margin-top: 0.6em;
  margin-bottom: 3em;
  padding-top: 0.6em;
  padding-bottom: 0.6em;
  vertical-align: center;
  padding-left: 0.5em;
  padding-right: 0.5em;
  hyphens: none !important;
  line-height: unset !important;
}

section.hero:first-of-type .hero-body {
  padding-bottom: 2rem;
}

.method-summary {
  max-width: 60rem;
  margin: 0 auto 2rem;
}

.method-figure {
  max-width: 100%;
  margin: 0 auto;
}

.method-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.experiment-card {
  padding: 1.75rem;
}

.experiment-card h3 {
  margin-bottom: 1rem;
}

.experiment-video-wrapper {
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.experiment-card .experiment-video-wrapper:last-child {
  margin-bottom: 0;
}

.experiment-video-wrapper .experiment-video {
  width: 100%;
  display: block;
  border-radius: 0;
  margin-bottom: 0;
  box-shadow: none;
}

.video-speed-badge {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #1d2d48;
  font-family: 'Source Sans 3', 'Noto Sans', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  box-shadow: 0 12px 28px rgba(15, 35, 72, 0.18);
  backdrop-filter: blur(8px);
  pointer-events: none;
  user-select: none;
}

.interactive-carousel {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 0rem;
}

.interactive-arrow {
  background: transparent;
  border: none;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: #1c2430;
  padding: 0 0.5rem;
}

.interactive-arrow:focus {
  outline: 2px solid #1c2430;
  outline-offset: 2px;
}

.interactive-thumbs {
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  padding: 0.5rem 0 0rem;
  scroll-behavior: smooth;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
.interactive-thumbs::-webkit-scrollbar { display: none; }

.interactive-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.1rem;
  margin-bottom: 0.2rem;
}

.interactive-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cfd6e5;
  border-radius: 16px;
  padding: 0.75rem;
  background: #fff;
  cursor: pointer;
  min-width: 16rem;
  flex: 0 0 16rem;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.interactive-thumb img {
  width: 100%;
  border-radius: 12px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

.interactive-thumb.is-active {
  border-color: rgba(17, 17, 17, 0.95);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
  transform: translateY(-2px);
}

.interactive-thumb:focus {
  outline: 2px solid rgba(17, 17, 17, 0.95);
  outline-offset: 2px;
}

.carousel-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  border: none;
  background: rgba(24, 24, 24, 0.75);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  padding: 0;
}

.carousel-dot.is-active {
  background: rgba(24, 24, 24, 1);
  transform: scale(1.3);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.carousel-dot:focus {
  outline: 2px solid rgba(24, 24, 24, 0.85);
  outline-offset: 3px;
}

.interactive-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.interactive-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, #ffffff 100%);
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: 0 24px 48px rgba(12, 34, 67, 0.12);
}

.interactive-card--inputs {
  padding-bottom: 2rem;
}

.interactive-image-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.interactive-image-grid figure {
  margin: 0;
}

.interactive-image-grid img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.15);
}

.interactive-image-grid figcaption {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  text-align: center;
  color: #4a5163;
  font-weight: 600;
}

.interactive-card--viewer {
  padding-bottom: 2rem;
}

.interactive-viewer {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 16px;
  overflow: hidden;
  background: radial-gradient(circle at 20% 20%, rgba(39, 70, 144, 0.2), rgba(39, 70, 144, 0));
  box-shadow: 0 26px 48px rgba(12, 34, 67, 0.2);
  margin-top: 1.5rem;
}

.interactive-viewer.pw-viser-with-playback {
  padding-top: calc(56.25% + var(--pw-viser-playback-dock-height));
}

.interactive-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.viser-banner {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.28));
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #1d2d48;
  font-family: 'Source Sans 3', 'Noto Sans', sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 16px 32px rgba(15, 35, 72, 0.22);
  pointer-events: none;
  backdrop-filter: blur(8px);
}

.viser-banner::before {
  content: '\21BB';
  font-size: 1.15em;
  line-height: 1;
}

.viser-banner--interactive {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  padding: 0.5rem 1.2rem;
  box-shadow: 0 20px 40px rgba(17, 46, 92, 0.25);
}

.viser-banner--dataset {
  font-size: 0.9rem;
  padding: 0.45rem 1.05rem;
}

.viser-banner.is-placeholder {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: min(32rem, 85%);
  text-align: center;
  text-transform: none;
  letter-spacing: 0.01em;
  font-weight: 650;
  font-size: 0.95rem;
  line-height: 1.35;
  padding: 0.75rem 1.6rem;
  gap: 0.6rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.55));
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 18px 42px rgba(15, 35, 72, 0.22);
}

.viser-banner.is-placeholder::before {
  content: '\2191';
  font-size: 1.15em;
  line-height: 1;
  opacity: 0.75;
}

@media screen and (max-width: 768px) {
  .viser-banner {
    top: 0.55rem;
    left: 0.55rem;
    font-size: 0.75rem;
    padding: 0.35rem 0.85rem;
  }

  .viser-banner--interactive {
    font-size: 0.85rem;
  }
}


.interactive-instructions {
  background: linear-gradient(120deg, rgba(21, 57, 124, 0.08), rgba(255, 255, 255, 0.9));
  border-radius: 20px;
  padding: 1.75rem 2rem;
  margin: 1.5rem 0 2rem;
  box-shadow: 0 24px 48px rgba(12, 34, 67, 0.12);
}

.interactive-instructions-body > h3 {
  margin-bottom: 0.85rem;
}

.interactive-instructions-body > p {
  margin-bottom: 1rem;
}

.interactive-instructions ul {
  list-style: disc;
  margin: 0 0 1rem 1.75rem;
}

.interactive-instructions li {
  margin-bottom: 0.4rem;
}

.interactive-note {
  margin: 0;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  border-left: 3px solid #274690;
}

.interactive-highlight-magenta {
  color: #ff3fb0;
  font-weight: 600;
}

.interactive-highlight-rainbow {
  background: linear-gradient(90deg, #8f6bff, #47bdd8, #ff9f4d, #ff0000);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 600;
  display: inline-block;
}

.interactive-instructions .interactive-carousel {
  margin: 1rem 0 0.15rem;
}

@media screen and (max-width: 1024px) {
  .interactive-thumb {
    min-width: 13rem;
    flex-basis: 13rem;
  }
  .interactive-image-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 768px) {
  .interactive-card {
    padding: 1.25rem;
  }
  .interactive-viewer {
    margin-top: 1rem;
  }
  .interactive-image-grid {
    gap: 1rem;
  }
}

@media screen and (max-width: 600px) {
  .button-container {
    gap: 0.5em;
  }
  .button {
    min-width: 100%;
    width: 100%;
    white-space: normal;
  }
}


/* Interactive domain layout (left labels + carousel body) */
/* Two stacked rows with left label + right carousel */
.interactive-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.2rem 0 0rem;
}

/* Extra spacing below the BEHAVIOR carousel before the NOTE block */
#interactive-row-b1k {
  margin-bottom: 0.9rem;
}

.interactive-left-label {
  flex: 0 0 100px;
  max-width: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #1c2430;
  text-align: center;
}

.interactive-right { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.interactive-row .interactive-carousel { flex: 0 0 auto; min-width: 0; }

.is-hidden { display: none !important; }

/* B1K 2x3 grid: 3 equal columns */
.interactive-image-grid--b1k { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media screen and (max-width: 1024px) {
  .interactive-row {
    align-items: stretch;
  }
  .interactive-left-label {
    align-self: center;
    flex-basis: 110px;
  }
  .interactive-image-grid--b1k {
    width: 100%;
  }
}

/* Keep interactive content width consistent with other modules */
.interactive-panel {
  max-width: 1152px;
  margin-left: auto;
  margin-right: auto;
}

.dataset-link {
  color: inherit;
  text-decoration: underline;
}

.dataset-link:hover {
  color: #1d7f5a;
}

.dataset-section {
  margin-top: 4rem;
}

.dataset-intro {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  color: #3d4657;
}

.dataset-carousel {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 0.25rem;
}

.dataset-arrow {
  background: transparent;
  border: none;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: #1c2430;
  padding: 0 0.5rem;
}

.dataset-arrow:focus {
  outline: 2px solid #1c2430;
  outline-offset: 2px;
}

.dataset-thumbs {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.75rem 0 0.2rem;
  scroll-behavior: smooth;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
.dataset-thumbs::-webkit-scrollbar { display: none; }

.dataset-pagination {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 0.05rem;
  margin-bottom: 0.85rem;
}

.dataset-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cfd6e5;
  border-radius: 16px;
  padding: 0.75rem;
  background: #fff;
  cursor: pointer;
  min-width: 14rem;
  flex: 0 0 14rem;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.dataset-thumb img {
  width: 100%;
  border-radius: 12px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

.dataset-thumb.is-active {
  border-color: rgba(17, 17, 17, 0.95);
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.22);
  transform: translateY(-2px);
}

.dataset-thumb:focus {
  outline: 2px solid rgba(17, 17, 17, 0.95);
  outline-offset: 2px;
}

.dataset-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.dataset-strip-label {
  display: block;
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.65rem 0.5rem;
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(12, 34, 67, 0.15);
}

.dataset-strip-label--ours {
  background: linear-gradient(120deg, rgba(126, 216, 171, 0.9), rgba(63, 173, 121, 0.85));
  color: #08361e;
}

.dataset-strip-label--original {
  background: linear-gradient(120deg, rgba(255, 186, 186, 0.95), rgba(255, 137, 137, 0.85));
  color: #5d1a1a;
}

.dataset-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.dataset-block {
  background: #ffffff;
  border-radius: 20px;
  padding: 1.1rem 0.9rem 0.85rem;
  box-shadow: 0 24px 48px rgba(12, 34, 67, 0.12);
}

.dataset-block--ours {
  background: linear-gradient(180deg, rgba(126, 216, 171, 0.16), rgba(255, 255, 255, 0.98));
}

.dataset-block--original {
  background: linear-gradient(180deg, rgba(255, 172, 172, 0.2), rgba(255, 255, 255, 0.98));
}

.dataset-image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.1rem;
}

.dataset-image-grid figure {
  margin: 0;
}

.dataset-image-grid img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.16);
}

.dataset-image-grid figcaption {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  text-align: center;
  color: #3d4657;
  font-weight: 600;
}

.dataset-viewer {
  position: relative;
  width: 100%;
  padding-top: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 28px 48px rgba(12, 34, 67, 0.22);
  margin-top: 0.3rem;
  background: radial-gradient(circle at 20% 20%, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0));
}

.dataset-viewer.pw-viser-with-playback {
  padding-top: calc(100% + var(--pw-viser-playback-dock-height));
}

.dataset-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.dataset-block--viewer h3 {
  margin-bottom: 0.4rem;
  padding-top: 0.4rem;
}

/* Place title and hint banner inline for viser viewers */
.dataset-block--viewer h3.title,
.interactive-card--viewer h3.title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* Place title and hint banner inline */
.dataset-block--inputs h3.title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* Place title and hint banner inline for interactive inputs too */
.interactive-card--inputs h3.title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* Inline glassy hint banner (not overlaid) */
.hint-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.28));
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #1d2d48;
  font-family: 'Source Sans 3', 'Noto Sans', sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(15, 35, 72, 0.18);
  backdrop-filter: blur(8px);
  white-space: nowrap;
}

.hint-banner::before {
  content: '\1F50D'; /* magnifying glass */
  font-size: 1.05em;
  line-height: 1;
}

.hint-banner--zoom {
  font-size: 0.8rem;
}

.hint-banner--move {
  font-size: 0.8rem;
}

.hint-banner--move::before {
  content: '\21BB';
  font-size: 1.15em;
}

/* Dataset magnifier lens */
.dataset-magnifier-lens {
  position: fixed;
  z-index: 9999;
  width: 180px;
  height: 180px;
  border-radius: 16px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  box-shadow: 0 18px 42px rgba(12, 34, 67, 0.28), inset 0 0 0 1px rgba(255,255,255,0.65);
  border: 1px solid rgba(0,0,0,0.08);
  backdrop-filter: saturate(1.1) contrast(1.02);
  pointer-events: none;
}

.dataset-magnifier-lens::after {
  /* subtle inner ring for a glassy feel */
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.35), inset 0 12px 36px rgba(255,255,255,0.2);
  pointer-events: none;
}

.dataset-magnifier-lens.is-hidden {
  display: none;
}

@media screen and (max-width: 1024px) {
  .dataset-thumb {
    min-width: 11rem;
    flex-basis: 11rem;
  }
  .dataset-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  .dataset-strip {
    grid-template-columns: 1fr;
  }
}
