/* Legal documents are read inside the tube; chrome stays in place. */
body:is([data-page="privacy"], [data-page="legal"]) #content {
  overflow: hidden;
  gap: .75cqw;
}
.crt-document {
  flex: 1;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #718b62 #0b1814;
  padding: .15em 1.2em .8em .15em;
  color: #aabd9e;
  font: 400 1cqw/1.55 MenuText, monospace;
  overflow-wrap: anywhere;
}
.crt-document h2 {
  color: var(--cream);
  font: 400 1.15em/1.3 MenuDisplay, monospace;
  margin: 1.4em 0 .55em;
}
.crt-document p, .crt-document ul, .crt-document .legal-contact-block { margin: 0 0 .85em; }
.crt-document ul { padding-left: 1.4em; }
.crt-document li { margin-bottom: .5em; }
.crt-document strong { font-weight: 400; color: var(--cream); }
.crt-document code { font: inherit; }
.crt-document .document-updated { color: #82977b; font-size: .85em; }
.crt-document a { color: #bdcda9; text-decoration: underline; text-underline-offset: .2em; }
.crt-document a.game-selected { color: #e0edc6; text-shadow: 0 0 .4em #b7d696; }
/* The reader is a keyboard scroll surface, not a second menu selection. */
.crt-document:focus-visible { outline: none; scrollbar-color: #c2da98 #0b1814; }
@media (max-width:700px), (max-height:500px) {
  body.zoomed:is([data-page="privacy"], [data-page="legal"]) #content { gap: 16px; }
  body.zoomed .crt-document { font-size: 17px; line-height: 1.55; }
}
@media (forced-colors: active) {
  .crt-document:focus-visible { outline: 2px solid Highlight; outline-offset: -2px; }
}
.crt-document::-webkit-scrollbar { width: 4px; }
.crt-document::-webkit-scrollbar-track { background: #0b1814; }
.crt-document::-webkit-scrollbar-thumb { background: #718b62; }
.crt-document:focus-visible::-webkit-scrollbar-thumb { background: #c2da98; }
