/* --- Futuristic / matrix-adjacent theme: local system sans, glass panels, neon backdrop --- */
:root {
  --color-bg-deep: #020806;
  --color-ink: #e8faf4;
  --color-ink-dim: rgba(232, 250, 244, 0.72);
  --color-muted: rgba(180, 230, 210, 0.55);
  --neon-mint: #5dffc8;
  --neon-cyan: #38f0ff;
  --neon-magenta: #ff2ea6;
  --glass-bg: rgba(4, 22, 18, 0.42);
  --glass-border: rgba(93, 255, 200, 0.14);
  --glass-highlight: rgba(255, 255, 255, 0.06);
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 4rem;
  --max: 72rem;
  --shadow-glass: 0 8px 48px rgba(0, 0, 0, 0.45), 0 0 1px rgba(93, 255, 200, 0.25);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-ink);
  background: var(--color-bg-deep);
  -webkit-font-smoothing: antialiased;
}

/* --- Matrix-style background: sharp, animated; blur only on frosted UI --- */
.matrix-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 100% 70% at 30% 10%, #0a4a38 0%, transparent 55%),
    radial-gradient(ellipse 80% 60% at 70% 90%, #1a2040 0%, transparent 50%),
    var(--color-bg-deep);
  background-size: 180% 180%;
  background-position: 0% 25%, 100% 70%, 0 0;
  animation: matrix-bg-drift 32s ease-in-out infinite;
}

.matrix-bg__webgl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}

/* WebGL owns the base look; keep glyphs / scan / vignette on top */
.matrix-bg--gl {
  animation: none;
  background: var(--color-bg-deep);
}

.matrix-bg--gl .matrix-bg__bloom,
.matrix-bg--gl .matrix-bg__grid {
  display: none;
}

.matrix-bg__bloom {
  z-index: 1;
}

.matrix-bg__grid {
  z-index: 2;
}

.matrix-bg__glyphs {
  z-index: 3;
}

.matrix-bg__scan {
  z-index: 4;
}

.matrix-bg__vignette {
  z-index: 5;
}

.matrix-bg__bloom {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(circle at 20% 30%, rgba(0, 255, 180, 0.35) 0%, transparent 45%),
    radial-gradient(circle at 78% 65%, rgba(56, 240, 255, 0.22) 0%, transparent 42%),
    radial-gradient(circle at 50% 100%, rgba(255, 46, 166, 0.12) 0%, transparent 48%);
  animation: matrix-bloom 18s ease-in-out infinite, matrix-bloom-rotate 24s linear infinite;
}

.matrix-bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 14px,
      rgba(0, 255, 160, 0.07) 14px,
      rgba(0, 255, 160, 0.07) 15px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 56px,
      rgba(56, 240, 255, 0.06) 56px,
      rgba(56, 240, 255, 0.06) 57px
    );
  /* 100% on both layers so 15px / 57px pans match one full repeat */
  background-size: 100% 100%, 100% 100%;
  opacity: 0.65;
  animation:
    matrix-grid-flicker 3.8s steps(2, end) infinite,
    matrix-grid-pan 12s linear infinite;
}

/* TEST: delete `display: none` below to show matrix glyphs again */
.matrix-bg__glyphs {
  display: none;
  position: absolute;
  left: 50%;
  top: 50%;
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: 0.12em;
  color: rgba(0, 255, 170, 0.32);
  white-space: pre;
  overflow: visible;
  width: max-content;
  max-width: none;
  text-shadow: 0 0 1px rgba(0, 255, 200, 0.9), 0 0 14px rgba(0, 255, 180, 0.25);
  transform-origin: center center;
  opacity: 0.55;
  animation: matrix-glyphs-drift 22s ease-in-out infinite, matrix-glyphs-flicker 2.6s steps(3, end) infinite;
  user-select: none;
  box-sizing: border-box;
}

.matrix-bg__scan {
  position: absolute;
  inset: 0;
  /* Repeating band: scroll by exactly one cycle (400px) for a seamless loop */
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 160px,
    rgba(0, 255, 200, 0.05) 200px,
    rgba(56, 240, 255, 0.12) 220px,
    rgba(0, 255, 200, 0.05) 240px,
    transparent 280px,
    transparent 400px
  );
  background-size: 100% 400px;
  animation: matrix-scan 7s linear infinite;
  mix-blend-mode: screen;
  opacity: 0.45;
}

.matrix-bg__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 85% 75% at 50% 45%, transparent 30%, rgba(0, 0, 0, 0.75) 100%);
  pointer-events: none;
}

@keyframes matrix-bg-drift {
  0%,
  100% {
    background-position: 0% 25%, 100% 70%, 0 0;
  }
  50% {
    background-position: 100% 55%, 0% 35%, 0 0;
  }
}

@keyframes matrix-bloom {
  0%,
  100% {
    opacity: 0.78;
    transform: scale(1) translate(0, 0);
  }
  50% {
    opacity: 1;
    transform: scale(1.08) translate(3%, -2%);
  }
}

@keyframes matrix-bloom-rotate {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}

@keyframes matrix-grid-flicker {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 0.88;
  }
}

/* Pan by full repeat periods: horizontal lines every 15px, vertical every 57px */
@keyframes matrix-grid-pan {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 0 15px, 57px 0;
  }
}

@keyframes matrix-glyphs-flicker {
  0%,
  100% {
    opacity: 0.35;
  }
  33% {
    opacity: 0.55;
  }
  66% {
    opacity: 0.42;
  }
}

@keyframes matrix-glyphs-drift {
  0%,
  100% {
    transform: translate(-50%, -50%) rotate(-2deg) scale(1.08) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) rotate(-2deg) scale(1.08) translateY(-2.5%);
  }
}

@keyframes matrix-scan {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 400px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .matrix-bg,
  .matrix-bg__bloom,
  .matrix-bg__grid,
  .matrix-bg__glyphs,
  .matrix-bg__scan {
    animation: none !important;
  }

  .matrix-bg__glyphs {
    opacity: 0.28;
    transform: translate(-50%, -50%) rotate(-2deg) scale(1.08);
  }
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--neon-cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--neon-mint);
}

/* --- Shell above background --- */
.site-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* --- Frosted glass utility --- */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-glass), inset 0 1px 0 var(--glass-highlight);
}

.site-main {
  flex: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: calc(var(--header-h) + 1.5rem) 1.25rem 3rem;
}

.site-main--home {
  padding-top: calc(var(--header-h) + 2rem);
}

.site-main__panel {
  padding: 2rem 1.5rem 2.25rem;
  border-radius: var(--radius);
}

@media (min-width: 40rem) {
  .site-main__panel {
    padding: 2.25rem 2rem 2.5rem;
  }
}

/* --- Header / nav (glass) --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(2, 12, 10, 0.55);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-brand {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-ink);
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 0 24px rgba(93, 255, 200, 0.35);
}

.site-brand:hover {
  color: var(--neon-mint);
}

.site-header__brand-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.site-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.site-lang__btn {
  margin: 0;
  padding: 0.2rem 0.3rem;
  border: none;
  background: transparent;
  color: var(--color-muted);
  cursor: pointer;
  font: inherit;
  border-radius: var(--radius-sm);
  line-height: 1.2;
}

.site-lang__btn:hover,
.site-lang__btn:focus-visible {
  color: var(--neon-mint);
  outline: none;
}

.site-lang__btn:focus-visible {
  box-shadow: 0 0 0 2px rgba(56, 240, 255, 0.45);
}

.site-lang__btn.is-active {
  color: var(--neon-mint);
  text-shadow: 0 0 12px rgba(93, 255, 200, 0.45);
}

.site-lang__sep {
  color: var(--color-muted);
  opacity: 0.45;
  user-select: none;
  font-weight: 600;
}

.site-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  color: var(--neon-mint);
}

.site-nav-toggle:focus-visible {
  outline: 2px solid var(--neon-cyan);
  outline-offset: 2px;
}

.site-nav-toggle__bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.site-nav-toggle__bars span {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(93, 255, 200, 0.5);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.is-open .site-nav-toggle__bars span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .site-nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .site-nav-toggle__bars span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-muted);
  text-decoration: none;
  border: 1px solid transparent;
}

.site-nav__link:hover {
  color: var(--neon-mint);
  background: rgba(93, 255, 200, 0.06);
  border-color: rgba(93, 255, 200, 0.12);
}

.site-nav__link[aria-current="page"] {
  color: var(--color-ink);
  background: rgba(56, 240, 255, 0.1);
  border-color: rgba(56, 240, 255, 0.25);
  box-shadow: 0 0 20px rgba(56, 240, 255, 0.12);
}

.site-nav__sep {
  width: 1px;
  height: 1.25rem;
  background: linear-gradient(180deg, transparent, var(--glass-border), transparent);
  margin: 0 0.35rem;
}

@media (max-width: 52rem) {
  .site-nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: rgba(2, 14, 12, 0.88);
    backdrop-filter: blur(22px) saturate(1.3);
    -webkit-backdrop-filter: blur(22px) saturate(1.3);
    border-bottom: 1px solid var(--glass-border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .site-header.is-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav__sep {
    display: none;
  }

  .site-nav__link {
    padding: 0.75rem 1rem;
  }
}

/* --- Footer (glass strip) --- */
.site-footer {
  margin-top: auto;
  padding: 2rem 1.25rem;
  background: rgba(2, 10, 8, 0.65);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-top: 1px solid var(--glass-border);
  color: var(--color-ink-dim);
  font-size: 0.9rem;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.35);
}

.site-footer a {
  color: var(--neon-mint);
}

.site-footer a:hover {
  color: var(--color-ink);
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.site-footer__line {
  margin: 0;
  line-height: 1.5;
}

.site-footer__imprint-link {
  font-weight: 600;
}

/* --- Home --- */
.home-hero {
  margin-bottom: 2rem;
}

.home-hero h1 {
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  background: linear-gradient(105deg, var(--color-ink) 0%, var(--neon-mint) 45%, var(--neon-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 28px rgba(93, 255, 200, 0.25));
}

.home-hero p {
  margin: 0;
  max-width: 38rem;
  color: var(--color-muted);
  font-size: 1.05rem;
}

.home-hero code {
  font-size: 0.88em;
  padding: 0.15em 0.45em;
  border-radius: 6px;
  background: rgba(56, 240, 255, 0.1);
  border: 1px solid rgba(56, 240, 255, 0.2);
  color: var(--neon-cyan);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  gap: 1.25rem;
}

.app-card {
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.35rem 1.2rem;
  border-radius: var(--radius);
  background: rgba(4, 20, 16, 0.38);
  backdrop-filter: blur(16px) saturate(1.25);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-glass), inset 0 1px 0 var(--glass-highlight);
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.app-card:hover {
  transform: translateY(-4px);
  border-color: rgba(93, 255, 200, 0.35);
  box-shadow: var(--shadow-glass), 0 0 40px rgba(56, 240, 255, 0.12), inset 0 1px 0 var(--glass-highlight);
}

.app-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.65rem;
}

.app-card__meta-main {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  min-width: 0;
}

.app-card__meta-lang {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-left: auto;
  flex-shrink: 0;
}

.app-card__pill {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  background: rgba(56, 240, 255, 0.12);
  border: 1px solid rgba(56, 240, 255, 0.22);
  color: var(--neon-cyan);
}

.app-card__pill--hot {
  background: rgba(255, 46, 166, 0.12);
  border-color: rgba(255, 46, 166, 0.28);
  color: #ff8bd4;
}

.app-card__lang {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-muted);
  text-decoration: none;
  border: none;
  border-bottom: none;
  cursor: help;
}

.app-card h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
  color: var(--color-ink);
}

.app-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-muted);
  flex: 1;
}

.app-card__cta {
  margin-top: 1rem;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--neon-mint);
}

.app-card:hover .app-card__cta {
  color: var(--neon-cyan);
}

/* --- App detail --- */
.app-hero {
  padding: 0 0 1.75rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--glass-border);
}

.app-hero__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
  margin-bottom: 0.75rem;
}

.app-hero__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--neon-magenta);
  margin: 0;
  text-shadow: 0 0 20px rgba(255, 46, 166, 0.35);
}

.app-hero__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  margin: 0;
  margin-left: auto;
}

.app-hero__badges:empty {
  display: none;
}

.app-hero h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  line-height: 1.15;
  color: var(--color-ink);
  text-shadow: 0 0 32px rgba(93, 255, 200, 0.2);
}

.app-hero__lead {
  margin: 0;
  max-width: none;
  color: var(--color-muted);
  font-size: 1.08rem;
}

.app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--neon-cyan);
  outline-offset: 2px;
}

.btn--primary {
  background: linear-gradient(135deg, #00c896 0%, #00a8ff 100%);
  color: #021210;
  box-shadow: 0 0 24px rgba(0, 255, 180, 0.35);
}

.btn--primary:hover {
  color: #021210;
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(56, 240, 255, 0.45);
}

.btn--ghost {
  background: rgba(0, 0, 0, 0.2);
  color: var(--color-ink);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  border-color: rgba(93, 255, 200, 0.35);
  background: rgba(93, 255, 200, 0.08);
}

/* Use full width of .site-main__panel; panel is already capped by --max */
.app-prose {
  max-width: 100%;
  min-width: 0;
}

.app-prose h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: var(--neon-mint);
  letter-spacing: 0.02em;
}

.app-prose p {
  margin: 0 0 1rem;
  color: var(--color-ink-dim);
}

.app-prose ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.app-prose li {
  margin-bottom: 0.35rem;
  color: var(--color-ink-dim);
}

/* --- Image gallery: 90% of prose/panel width, centered --- */
.img-gallery {
  width: 90%;
  max-width: none;
  margin: 2rem auto;
  border: none;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.img-gallery__chrome {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
}

.img-gallery--single .img-gallery__chrome {
  gap: 0;
}

.img-gallery__btn {
  flex: 0 0 auto;
  align-self: center;
  width: 2.5rem;
  min-height: 3rem;
  padding: 0;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  background: var(--glass-bg);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  box-shadow: inset 0 1px 0 var(--glass-highlight);
  color: var(--neon-mint);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.img-gallery__btn:hover:not(:disabled) {
  color: var(--neon-cyan);
  border-color: rgba(93, 255, 200, 0.35);
  background: rgba(4, 22, 18, 0.55);
}

.img-gallery__btn:disabled {
  opacity: 0.28;
  cursor: default;
}

.img-gallery__btn:focus-visible {
  outline: 2px solid var(--neon-cyan);
  outline-offset: 2px;
}

.img-gallery__btn[hidden] {
  display: none;
}

.img-gallery__viewport {
  position: relative;
  display: flex;
  flex: 1;
  align-items: flex-start;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.img-gallery__viewport::-webkit-scrollbar {
  display: none;
}

.img-gallery--single .img-gallery__viewport {
  overflow: hidden;
  scroll-snap-type: none;
}

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

.img-gallery__slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
  margin: 0;
  padding: 0;
}

.img-gallery__slide img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.disclaimer {
  margin-top: 2rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 46, 166, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 46, 166, 0.28);
  font-size: 0.95rem;
  color: var(--color-ink-dim);
}

.version-block {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--glass-border);
}

.version-block h2 {
  margin-top: 0;
}

.version-entry {
  margin-bottom: 1.25rem;
}

.version-entry strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--color-ink);
}

.version-entry p {
  color: var(--color-muted);
}

noscript p {
  color: var(--color-muted);
}
