html,
body {
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  background: #090d0b;
}

.case-viewer main {
  position: relative;
  display: grid;
  width: 100vw;
  height: 100vh;
  place-items: center;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    #090d0b;
  background-size: 50px 50px;
}

.case-viewer img {
  width: min(96vw, calc(96vh * 1.6));
  max-height: 94vh;
  border: 1px solid rgba(255, 255, 255, 0.14);
  object-fit: contain;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.48);
}

.case-viewer a {
  position: fixed;
  bottom: 22px;
  left: 50%;
  padding: 9px 14px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 100px;
  background: rgba(8, 11, 10, 0.8);
  backdrop-filter: blur(12px);
  color: #c5cec7;
  font-family: var(--sans);
  font-size: 11px;
  text-decoration: none;
}
