@media screen, pagedjs-ignore {
  .fdf-about {
    position: fixed;
    top: 56px;
    left: 16px;
    z-index: 2147483646;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: min(360px, calc(100vw - 32px));
    max-height: calc(100vh - 72px);
    overflow-x: hidden;
    overflow-y: auto;
    font-family: 'FDF', serif;
    color: #111;
    line-height: 1.7;
    word-break: keep-all;
  }

  .fdf-about-panel,
  .fdf-author-panel {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    background: #fff;
    border: 1px solid #cfcfcf;
    padding: 20px;
    font-size: 11px;
  }

  .fdf-about-panel[hidden],
  .fdf-author-panel[hidden] {
    display: none !important;
  }

  .fdf-about-close {
    appearance: none;
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: #cfcfcf;
    cursor: pointer;
  }

  .fdf-about-close:hover,
  .fdf-about-close:focus-visible {
    color: #111;
  }

  .fdf-about-close svg,
  .fdf-about-help svg {
    display: block;
    pointer-events: none;
  }

  .fdf-about-panel p,
  .fdf-about-panel li,
  .fdf-author-panel p {
    margin: 0 0 1rem;
  }

  .fdf-about-panel ol {
    margin: 0 0 16px;
    padding-left: 1.2em;
    list-style: decimal;
  }

  .fdf-about-panel li {
    margin-bottom: 3px;
    list-style: decimal;
  }

  .fdf-author-name {
    font-weight: 600;
  }

  .fdf-author-panel p:last-child {
    margin-bottom: 0;
  }

  .fdf-author-contact a {
    display: block;
    color: inherit;
    text-decoration: none;
  }

  .fdf-about-help {
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 2147483645;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #cfcfcf;
    background: #fff;
    color: #cfcfcf;
    cursor: pointer;
  }

  .fdf-about-help:hover,
  .fdf-about-help:focus-visible {
    background: #cfcfcf;
    color: #fff;
  }
}
