:root {
  color-scheme: only light;
}

/* The two original homepage tables form one fixed 610px composition. */
body.inout-homepage {
  min-width: 610px;
}

/* Keep the original fixed-pixel artwork and image-map geometry intact. */
img[usemap] {
  max-width: none;
}

.inout-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 10px;
  border: 0;
  background: rgba(0, 0, 0, 0.82);
}

.inout-lightbox[hidden] {
  display: none;
}

.inout-lightbox__panel {
  position: relative;
  box-sizing: border-box;
  max-width: calc(100vw - 20px);
  max-height: calc(100vh - 20px);
  padding: 10px;
  overflow: auto;
  background: #fff;
  box-shadow: 0 0 0 1px #000;
}

.inout-lightbox__content {
  display: block;
  max-width: calc(100vw - 40px);
  max-height: calc(100vh - 40px);
  margin: 0 auto;
}

.inout-lightbox__content--video {
  background: #000;
}

.inout-lightbox__close {
  position: absolute;
  top: 2px;
  right: 4px;
  z-index: 1;
  box-sizing: border-box;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid #000;
  background: #fff;
  color: #000;
  font: bold 18px/20px Arial, Helvetica, sans-serif;
  cursor: pointer;
}

.inout-result {
  box-sizing: border-box;
  width: 300px;
  min-height: 120px;
  padding: 18px 12px 12px;
  text-align: center;
  color: #000;
  background: #fff;
  font-family: Times, "Times New Roman", serif;
  font-size: 18px;
}

.inout-result button {
  margin-top: 12px;
}

area[data-playing="true"] {
  cursor: progress;
}
