/* Aparência do diálogo Sobre o projeto. */
/* Isolated project dialog. No game, foliage or frame selectors. */
body > header button.doc-link {
  font: inherit;
  font-size: 12px;
  color: inherit;
  cursor: pointer;
  line-height: 1.5;
  min-height: 0;
}
@media(max-width:760px) {
  body > header button.doc-link {
    font-size: 10px;
  }
}
#about-dialog {
  box-sizing: border-box;
  width: min(680px,calc(100vw - 32px));
  max-width: none;
  max-height: min(820px,calc(100dvh - 40px));
  padding: 0;
  margin: auto;
  border: 1px solid #b3c1a8;
  border-radius: 18px;
  background: #fff;
  color: #3b342e;
  box-shadow: 0 20px 70px #253b2926;
  overflow: hidden;
}
#about-dialog::backdrop {
  background: #263b304d;
  backdrop-filter: blur(3px);
}
#about-dialog .about-shell {
  display: flex;
  flex-direction: column;
  max-height: min(818px,calc(100dvh - 42px));
  position: relative;
}
#about-dialog .about-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 26px 30px 18px;
  border-bottom: 1px solid #e3e9df;
  flex-shrink: 0;
}
#about-dialog h2 {
  font: 400 34px/1.2 var(--font-title);
  letter-spacing: -.7px;
  color: #405e49;
  margin: 0;
  flex: 1;
}
#about-dialog .about-copy {
  overflow: auto;
  overscroll-behavior: contain;
  padding: 8px 30px 12px;
  min-height: 0;
  font: 15px/1.75 var(--font-ui);
}
#about-dialog .about-copy p {
  margin: 16px 0;
  max-width: none;
}
#about-dialog .about-copy .about-motto {
  font: italic 25px/1.4 var(--font-ui);
  color: #405e49;
  margin: 22px 0 14px;
}
#about-dialog .about-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 18px 30px 22px;
  border-top: 1px solid #e3e9df;
  flex-shrink: 0;
  background: #fafbf7;
}
#about-dialog button {
  font: 600 13px/1.4 var(--font-ui);
  min-height: 44px;
  border: 1px solid #b3c1a8;
  border-radius: 7px;
  padding: 10px 16px;
  background: #fff;
  color: #405e49;
  cursor: pointer;
  box-shadow: none;
}
#about-dialog .about-x {
  font-size: 25px;
  line-height: 1;
  width: 44px;
  padding: 4px;
  flex-shrink: 0;
}
#about-dialog :focus-visible {
  outline: 3px solid #9eaf8e;
  outline-offset: 3px;
}
@media(max-width:600px) {
  #about-dialog {
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
    border-radius: 14px;
  }
  #about-dialog .about-shell {
    max-height: calc(100dvh - 26px);
  }
  #about-dialog .about-heading {
    padding: 20px 18px 14px;
  }
  #about-dialog h2 {
    font-size: 28px;
  }
  #about-dialog .about-copy {
    padding: 4px 20px 10px;
    font-size: 14px;
  }
  #about-dialog .about-actions {
    padding: 14px 18px;
    flex-wrap: wrap;
  }
}

/* Destaque restrito ao lema de Sobre o projeto. */
#about-dialog .about-motto .about-curiosity{font-weight:700;text-decoration:underline;text-underline-offset:.12em;text-decoration-thickness:.055em}
