:root {
  --ink: #eaf5fd;
  --mist: #d3e3f0;
  --faint: #c6d9ea;
  --ocean: #155a86;
  --deep: #0b3450;
  --line: rgba(186, 224, 246, 0.2);
  --blue: #a7e1fb;
  --blue-dim: rgba(167, 225, 251, 0.14);
  --serif: Georgia, "Noto Serif SC", "Songti SC", serif;
  --sans:
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
    system-ui, sans-serif;
}
* {
  box-sizing: border-box;
  margin: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  min-height: 100dvh;
  background: var(--ocean);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
}
button,
input {
  font: inherit;
}
button {
  color: inherit;
}
:where(a, button, input, [tabindex]):focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 2px;
}
:where(.tag-btn, .card):focus-visible {
  outline-offset: -2px;
}
.skip-link {
  position: fixed;
  top: -4rem;
  left: 1rem;
  z-index: 200;
  background: var(--blue);
  color: var(--deep);
  padding: 0.6rem 1rem;
}
.skip-link:focus {
  top: 1rem;
}
.ocean-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(130% 9rem at 50% -2.6rem, #66c8ea 0%, rgba(102, 200, 234, 0) 72%),
    radial-gradient(52rem 30rem at 96% -12%, rgba(122, 208, 240, 0.34) 0%, rgba(122, 208, 240, 0) 62%),
    radial-gradient(44rem 30rem at -12% 86%, rgba(9, 58, 92, 0.42) 0%, rgba(9, 58, 92, 0) 72%),
    linear-gradient(172deg, #155a86 0%, #155a86 26%, #14547d 52%, #104468 76%, #0b3450 100%);
}
.ocean-bg:after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.06;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
}
.contour {
  position: absolute;
  border: 1px solid rgba(141, 205, 244, 0.045);
  border-radius: 50%;
  transform: rotate(-22deg);
}
.contour-a {
  width: 65rem;
  height: 23rem;
  top: 20%;
  right: -25rem;
}
.contour-b {
  width: 58rem;
  height: 18rem;
  top: 44%;
  left: -37rem;
}
.sun-rays {
  position: absolute;
  inset: -12% -18% auto -18%;
  height: 128%;
  opacity: 0.55;
  pointer-events: none;
  background: repeating-linear-gradient(
    104deg,
    rgba(191, 232, 255, 0.08) 0 1.4rem,
    rgba(191, 232, 255, 0) 1.4rem 6.2rem
  );
  filter: blur(3px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.4) 46%, transparent 80%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.4) 46%, transparent 80%);
  animation: rays 26s ease-in-out infinite alternate;
}
@keyframes rays {
  to {
    transform: translate3d(-2.4rem, 1.4rem, 0);
  }
}
.particles {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(201, 236, 255, 0.6) 1px,
    transparent 1.5px
  );
  background-size: 12rem 12rem;
  opacity: 0.05;
  animation: drift 35s linear infinite;
}
.whale-silhouette {
  position: absolute;
  color: #7bc8f4;
  opacity: 0.04;
  width: 32rem;
  right: -6rem;
  top: 11%;
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift {
  to {
    transform: translate(-3rem, 2rem);
  }
}
.nav {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 76rem;
  height: 5.25rem;
  margin: auto;
  padding: 0 1.5rem;
  border-bottom: 1px solid rgba(186, 224, 246, 0.18);
  background: linear-gradient(
    180deg,
    rgba(9, 34, 54, 0.92),
    rgba(9, 34, 54, 0.68)
  );
  backdrop-filter: blur(14px);
}
.nav-brand {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.nav-brand em {
  font-family: var(--serif);
  font-weight: 400;
}
.nav-logo {
  font-size: 1.45rem;
}
.nav-links {
  display: flex;
  gap: 1.35rem;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.78rem;
  color: var(--mist);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--blue);
}
main {
  max-width: 76rem;
  margin: auto;
}
.hero {
  min-height: 37rem;
  padding: 7.5rem 1.5rem 5rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.eyebrow,
.section-index {
  color: var(--blue);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
}
.eyebrow {
  display: flex;
  gap: 0.55rem;
  align-items: center;
}
.eyebrow span {
  width: 1.8rem;
  height: 1px;
  background: var(--blue);
}
h1 {
  margin-top: 1.3rem;
  font-family: var(--serif);
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 400;
  line-height: 0.91;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 i {
  color: var(--blue);
  font-style: italic;
}
.hero-sub {
  max-width: 31rem;
  margin-top: 1.65rem;
  color: var(--mist);
  font-size: 1rem;
  line-height: 1.9;
}
.hero-actions {
  display: flex;
  gap: 1.15rem;
  align-items: center;
  margin-top: 2rem;
}
.action-primary {
  display: inline-flex;
  gap: 2rem;
  align-items: center;
  padding: 0.85rem 1rem 0.85rem 1.2rem;
  background: var(--blue);
  color: #062038;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.action-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(167, 225, 251, 0.3);
}
.action-primary b {
  font-size: 1.1rem;
}
.action-text {
  background: transparent;
  border: 0;
  color: var(--mist);
  font-size: 0.84rem;
  cursor: pointer;
  min-height: 44px;
  padding: 0.4rem 0;
}
.action-text span {
  padding-left: 0.25rem;
  color: var(--blue);
}
.hero-stats {
  display: flex;
  gap: 2.6rem;
  margin-top: 3.5rem;
}
.hero-stats dt {
  font-family: var(--serif);
  font-size: 1.65rem;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.hero-stats dd {
  margin-top: 0.3rem;
  color: var(--faint);
  font-size: 0.69rem;
  letter-spacing: 0.08em;
}
.hero-feature {
  position: relative;
  max-width: 25rem;
  margin-left: auto;
  padding: 1rem;
  border: 1px solid var(--line);
  background: linear-gradient(
    145deg,
    rgba(20, 74, 110, 0.62),
    rgba(8, 32, 52, 0.76)
  );
  box-shadow: 0 2rem 5rem rgba(3, 18, 32, 0.42);
}
.feature-kicker {
  display: flex;
  justify-content: space-between;
  padding: 0.1rem 0.1rem 0.9rem;
  color: var(--mist);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}
.feature-kicker span {
  font-family: monospace;
  color: var(--blue);
}
.feature-art {
  display: block;
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 0;
  background: #14496b;
  cursor: zoom-in;
}
.feature-art img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}
.feature-art:hover img {
  transform: scale(1.03);
}
.feature-glint {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 35%,
    rgba(255, 255, 255, 0.2),
    transparent 64%
  );
  transform: translateX(-120%);
  transition: transform 0.7s;
}
.feature-art:hover .feature-glint {
  transform: translateX(120%);
}
.feature-caption {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 0.15rem 0.2rem;
}
.feature-caption > span,
.lightbox-info > span {
  font-family: monospace;
  color: var(--blue);
  font-size: 0.69rem;
}
.feature-caption strong {
  font-size: 0.9rem;
}
.feature-caption button {
  border: 0;
  background: transparent;
  color: var(--mist);
  cursor: pointer;
  font-size: 0.72rem;
  min-height: 44px;
  padding: 0.4rem 0.2rem;
}
.feature-caption button span {
  color: var(--blue);
  font-size: 1rem;
}
.archive-intro {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  padding: 4.5rem 1.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3.15rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin-top: 0.7rem;
}
.source-list {
  display: grid;
  gap: 0.1rem;
}
.source-card {
  display: grid;
  grid-template-columns: 2.3rem 1fr auto;
  gap: 0.6rem;
  align-items: center;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition:
    padding 0.2s,
    background 0.2s;
}
.source-card:hover {
  padding-left: 0.7rem;
  background: rgba(167, 225, 251, 0.09);
}
.source-card > span {
  font-family: monospace;
  color: var(--blue);
  font-size: 0.72rem;
}
.source-card strong,
.source-card small {
  display: block;
}
.source-card strong {
  font-size: 0.85rem;
  font-weight: 600;
}
.source-card small {
  margin-top: 0.22rem;
  color: var(--faint);
  font-size: 0.72rem;
}
.source-card b {
  color: var(--blue);
  font-weight: 400;
}
.license-note {
  padding-top: 1rem;
  color: var(--faint);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}
.gallery-section {
  padding: 6.5rem 1.5rem;
}
.gallery-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 2rem;
}
.gallery-heading h2 {
  font-size: clamp(2.6rem, 5vw, 4.3rem);
}
.result-count {
  font-size: 0.76rem;
  color: var(--faint);
}
.gallery-tools {
  position: sticky;
  top: 5.25rem;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(14rem, 20rem) 1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.7rem 0 1rem;
  background: linear-gradient(180deg, rgba(12, 60, 96, 0.97) 75%, transparent);
}
.search-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  background: rgba(8, 40, 64, 0.78);
  color: var(--blue);
}
.search-box input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.8rem;
}
.search-box input::placeholder {
  color: var(--faint);
}
kbd {
  font: inherit;
  font-size: 0.6rem;
  color: var(--faint);
  border: 1px solid var(--line);
  padding: 0.15rem 0.25rem;
}
/* 隐藏态必须显式声明 display:none —— .gallery-tools / .tag-bar 自己设了
   display:grid/flex，类选择器特异性高于 [hidden] 的默认 display:none，
   否则 JS 里 toggleAttribute("hidden") 完全不起作用（元素照样显示）。 */
.gallery-tools[hidden],
.tag-bar[hidden] {
  display: none;
}
.tag-bar {
  display: flex;
  gap: 0.3rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.tag-btn {
  flex: none;
  border: 1px solid transparent;
  background: transparent;
  padding: 0.55rem 0.7rem;
  min-height: 44px;
  color: var(--mist);
  font-size: 0.74rem;
  cursor: pointer;
  transition:
    color 0.2s,
    background 0.2s;
}
.tag-btn:hover {
  color: var(--ink);
  background: rgba(167, 225, 251, 0.14);
}
.tag-btn.active {
  border-color: rgba(167, 225, 251, 0.55);
  background: var(--blue-dim);
  color: var(--blue);
}
.masonry {
  columns: 4 14rem;
  column-gap: 0.85rem;
}
.card {
  position: relative;
  break-inside: avoid;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(186, 224, 246, 0.3);
  overflow: hidden;
  background: #114263;
  box-shadow: 0 14px 34px rgba(3, 20, 34, 0.42);
  cursor: zoom-in;
  transition: border-color 0.25s, box-shadow 0.25s;
}
/* 入场动画只在首次加载与切换标签时播放（由 app.js 打 .is-animated 开关）。
   搜索时每次按键都会重建网格，若常开动画会造成整屏闪烁。 */
.masonry.is-animated .card {
  opacity: 0;
  transform: translateY(10px);
  animation: card-in 0.45s forwards;
}
.card:hover {
  border-color: rgba(186, 224, 246, 0.52);
  box-shadow: 0 18px 42px rgba(3, 20, 34, 0.5);
}
.card img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.38s ease;
}
.card:hover img {
  transform: scale(1.035);
}
.card-meta {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.5rem;
  align-items: end;
  padding: 2.7rem 0.8rem 0.65rem;
  background: linear-gradient(transparent, rgba(2, 12, 23, 0.9));
  transform: translateY(100%);
  transition: transform 0.28s;
}
.card:hover .card-meta,
.card:focus-within .card-meta {
  transform: translateY(0);
}
.card-no {
  font-family: monospace;
  font-size: 0.63rem;
  color: var(--blue);
}
.card-title {
  font-size: 0.75rem;
  font-weight: 600;
}
.card-tag {
  justify-self: end;
  color: var(--mist);
  font-size: 0.63rem;
}
@keyframes card-in {
  to {
    opacity: 1;
    transform: none;
  }
}
.empty {
  padding: 5rem 1rem;
  text-align: center;
  border: 1px dashed var(--line);
  color: var(--mist);
}
.empty span {
  font-size: 2rem;
}
.empty p {
  margin-top: 0.7rem;
}
.empty button {
  margin-top: 1rem;
  border: 1px solid var(--line);
  background: transparent;
  padding: 0.55rem 0.8rem;
  min-height: 44px;
  color: var(--blue);
  cursor: pointer;
}
.about {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  padding: 4.5rem 1.5rem 7rem;
  border-top: 1px solid var(--line);
}
.about h2 {
  font-size: clamp(2.7rem, 5vw, 4.5rem);
}
.about-copy {
  max-width: 29rem;
  margin-top: 2rem;
  color: var(--mist);
  font-size: 0.95rem;
  line-height: 1.9;
}
.about-copy p + p {
  margin-top: 0.8rem;
}
.footer {
  max-width: 76rem;
  margin: auto;
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  color: var(--faint);
  font-size: 0.68rem;
  line-height: 1.7;
}
/* 右侧信息列：站点署名 + 备案号，窄屏时纵向堆叠 */
.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  text-align: right;
}
.footer-filing {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-filing[hidden] {
  display: none;
}
.footer-filing a {
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-filing a:hover,
.footer-filing a:focus-visible {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
.lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(5, 24, 40, 0.93);
  backdrop-filter: blur(18px);
}
.lightbox[hidden] {
  display: none;
}
/* 容器紧贴图片尺寸（fit-content），只留细描边和投影，
   不再用固定长宽比的深色方框，和 fisharchive 一致 */
.lightbox-body {
  width: fit-content;
  max-width: calc(100vw - 8rem);
  max-height: 88dvh;
}
.lightbox-image-wrap {
  display: grid;
  place-items: center;
  width: fit-content;
  max-width: min(100%, 92vw);
  max-height: min(78dvh, 48rem);
  overflow: hidden;
  border-radius: 14px;
  background:
    linear-gradient(45deg, rgba(148, 197, 255, 0.05) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(148, 197, 255, 0.05) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(148, 197, 255, 0.05) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(148, 197, 255, 0.05) 75%);
  background-position:
    0 0,
    0 10px,
    10px -10px,
    -10px 0;
  background-size: 20px 20px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
}
.lightbox-image-wrap img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 92vw);
  max-height: min(78dvh, 48rem);
  object-fit: contain;
}
/* 动图角标，提示当前加载的是原图动画 */
.lightbox-image-wrap.is-animated {
  position: relative;
}
.lightbox-image-wrap.is-animated::after {
  content: "动态表情";
  position: absolute;
  right: 0.9rem;
  bottom: 0.8rem;
  z-index: 2;
  padding: 0.3rem 0.6rem;
  color: #04101e;
  background: rgba(190, 226, 255, 0.85);
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.lightbox-info {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
}
.lightbox-info h2 {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  letter-spacing: 0;
}
.lightbox-info p {
  margin-top: 0.25rem;
  color: var(--faint);
  font-size: 0.72rem;
}
.lightbox-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.download-btn {
  border: 1px solid var(--line);
  background: transparent;
  padding: 0.45rem 0.85rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--blue);
  font-size: 0.72rem;
  text-decoration: none;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.download-btn:hover {
  border-color: var(--blue);
  background: var(--blue-dim);
}
.lightbox-progress {
  font-family: monospace;
  font-size: 0.7rem;
  color: var(--mist);
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 1px solid var(--line);
  background: rgba(14, 52, 80, 0.72);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s;
}
.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--blue-dim);
}
.lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.7rem;
  font-weight: 200;
}
.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  font-size: 1.1rem;
}
.lightbox-prev {
  left: 1.5rem;
}
.lightbox-next {
  right: 1.5rem;
}
/* 不支持 backdrop-filter 时（老浏览器 / 关闭合成），玻璃条与灯箱遮罩
   退化为不透明底色，否则半透明背景下文字对比度不足、内容互相穿透。 */
@supports not ((backdrop-filter: blur(4px)) or (-webkit-backdrop-filter: blur(4px))) {
  .nav {
    background: rgba(9, 34, 54, 0.98);
  }
  .lightbox {
    background: rgba(5, 24, 40, 0.985);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    /* 延迟也要归零：否则卡片在 350ms 延迟窗口内仍停在 opacity:0，白闪一下 */
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  /* 动画被压到 0.01ms 时 forwards 填充不可靠，可能停在 opacity:0 使卡片永久不可见。
     这里直接锁定终态，不依赖动画。 */
  .masonry.is-animated .card {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
@media (max-width: 700px) {
  .nav {
    height: 4.5rem;
  }
  .nav-links {
    gap: 0.7rem;
  }
  .nav-links a {
    font-size: 0.72rem;
  }
  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    padding-top: 4rem;
    gap: 2.5rem;
  }
  .hero-feature {
    width: 100%;
    max-width: 23rem;
    margin: 0;
  }
  .hero-stats {
    gap: 1.5rem;
    margin-top: 2.5rem;
  }
  .archive-intro,
  .about {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
  .gallery-section {
    padding-top: 4.5rem;
  }
  .gallery-tools {
    top: 4.5rem;
    grid-template-columns: 1fr;
  }
  .search-box {
    width: 100%;
  }
  .gallery-heading {
    align-items: start;
    gap: 1rem;
    flex-direction: column;
  }
  .masonry {
    columns: 2 9rem;
    column-gap: 0.55rem;
  }
  .card {
    margin-bottom: 0.55rem;
  }
  .card-meta {
    transform: none;
    padding: 2rem 0.5rem 0.45rem;
    gap: 0.3rem;
  }
  .card-title {
    font-size: 0.66rem;
  }
  .card-tag {
    display: none;
  }
  .card-no {
    font-size: 0.56rem;
  }
  .footer {
    display: block;
  }
  .footer p + p {
    margin-top: 0.6rem;
  }
  .footer-meta {
    align-items: flex-start;
    text-align: left;
    margin-top: 0.6rem;
  }
  .footer-filing {
    flex-wrap: wrap;
  }
  .lightbox-body {
    max-width: calc(100vw - 2rem);
  }
  .lightbox-image-wrap {
    max-width: calc(100vw - 2rem);
    max-height: 68dvh;
  }
  .lightbox-image-wrap img {
    max-width: calc(100vw - 2rem);
    max-height: 68dvh;
  }
  .lightbox-info {
    grid-template-columns: auto 1fr;
  }
  .lightbox-actions {
    grid-column: 2;
    justify-content: space-between;
  }
  .lightbox-nav {
    display: none;
  }
  .lightbox-close {
    top: 0.75rem;
    right: 0.75rem;
  }
}
