@font-face {
  font-family: "PressuraMono";
  src: url("../fonts/GT-Pressura-Mono-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

html,
body {
  overflow: hidden;
  touch-action: none; /* stops iOS rubber-banding */
}

html {
  height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: #f2eee9;
  color: #1d1b10;
  height: 100svh; /* ensures no scroll on mobile */
  overflow: hidden; /* prevents any accidental scroll */
  font-family: PressuraMono, monospace;
  font-size: 0.875rem;
  line-height: 150%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
}

@media (max-width: 600px) {
  ol li + li {
    margin-top: 0.35rem;
  }
}

footer {
  text-align: right;
}

a {
  color: #1a1a1a;
  text-decoration: none;
  transition: text-decoration-color 0.2s ease;
}

a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
#bench-video,
.preview-image {
  position: fixed;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;

  /* DO NOT set width here — ensures no stretching */
  max-width: 90vw;
  max-height: 80vh;

  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* Additional refinement for landscape ONLY */
.preview-image.landscape {
  max-width: 95vw; /* allows more horizontal space */
  max-height: 65vh; /* keeps it visually balanced */
}

#bench-video::-webkit-media-controls-enclosure {
  display: none !important;
}

@media (max-width: 600px) {
  #bench-video,
  .preview-image {
    max-width: 95vw;
    max-height: 70vh;
  }
}
