.doc-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
}
.doc {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 56px 24px 96px;
}
.doc h1 { margin: 0 0 6px; font: 700 clamp(34px, 5vw, 48px)/1.05 var(--display); font-stretch: 78%; }
.doc .updated { margin: 0 0 40px; color: var(--text-2); font-size: 14px; }
.doc h2 { margin: 40px 0 10px; font-size: 19px; }
.doc p, .doc li { color: var(--text-2); line-height: 1.7; }
.doc strong { color: var(--text); font-weight: 600; }
.doc ul { padding-left: 20px; }
.doc .placeholder { padding: 1px 6px; border: 1px dashed var(--line-strong); border-radius: 4px; color: var(--text); font-family: var(--mono); font-size: 13px; }
.doc-foot {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 24px 24px 48px;
  border-top: 1px solid var(--line);
  color: var(--text-2);
  font-size: 13px;
}
/* The same watermark as the public pages' footer, smaller. */
.doc-foot::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -40px;
  z-index: -1;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: url("/assets/ruytha-560.webp") center / cover;
  opacity: .07;
  -webkit-mask-image: radial-gradient(circle, #000 35%, transparent 70%);
  mask-image: radial-gradient(circle, #000 35%, transparent 70%);
  pointer-events: none;
}
.studio { display: inline-flex; align-items: center; gap: 10px; color: var(--text-2); text-decoration: none; }
.studio img { width: 28px; height: 28px; border-radius: 50%; opacity: .5; box-shadow: 0 0 0 1px rgb(255 255 255 / .12); transition: opacity .25s ease; }
.studio strong { color: var(--text); font-weight: 600; }
.studio:hover img, .studio:focus-visible img { opacity: 1; }
.studio:hover strong { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 720px) { .doc-bar { padding: 0 16px; } .doc { padding: 40px 16px 72px; } }
