/* SCHWAN LG1: catalogue-only status, fallback and keyboard affordances. */
#schwan-catalog {
  position: relative;
  min-width: 0;
}
#schwan-catalog-status {
  margin: 0 0 0.75rem;
  padding: 0.75rem 1rem;
  border-left: 3px solid #333;
  background: #f5f5f5;
  color: #262626;
}
#schwan-catalog-status[data-state="error"] {
  border-left-color: #cf101c;
  background: #fff3f3;
}
#schwan-catalog-status[data-state="ready"] {
  background: transparent;
  border-left-color: #666;
}
#schwan-catalog .schwan-catalog-download {
  margin: 0 0 1rem;
}
#schwan-catalog .schwan-catalog-download a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
#schwan-catalog a:focus-visible,
#schwan-catalog button:focus-visible,
#schwan-catalog input:focus-visible,
#schwan-catalog [tabindex]:focus-visible {
  outline: 3px solid #cf101c;
  outline-offset: 3px;
}
#schwan-catalog .wowbook-controls {
  white-space: normal;
}
#schwan-catalog .wowbook-control {
  touch-action: manipulation;
}
#schwan-catalog .annotationLayer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform-origin: 0 0;
}
#schwan-catalog .annotationLayer section {
  position: absolute;
  box-sizing: border-box;
  pointer-events: auto;
  transform-origin: 0 0;
}
#schwan-catalog .annotationLayer .linkAnnotation > a {
  display: block;
  width: 100%;
  height: 100%;
  background: transparent;
}
#schwan-catalog .annotationLayer .linkAnnotation > a:hover {
  background: rgb(255 255 0 / 15%);
}
@media (max-width: 600px) {
  #schwan-catalog .wowbook-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  #schwan-catalog .wowbook-control {
    min-width: 34px;
    min-height: 34px;
  }
  #schwan-catalog-status {
    padding: 0.65rem 0.75rem;
  }
}

/* The vertical preview viewport must not shrink to its floated contents. */
#schwan-catalog .wowbook-vertical.wowbook-thumbnails .wowbook-clipper {
  left: 0;
  right: 0;
  width: 100%;
}
