.field-notes .plate { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; margin: 0; }
.field-notes #world,
.field-notes #hold { object-fit: cover; object-position: 50% 50%; }
.field-notes .masthead,
.field-notes .chapter-controls { position: fixed; }
.field-notes .masthead {
  --dot-size: .79;
  top: max(4vh, 15px);
  left: max(4.6vw, 20px);
  padding: 0;
  margin: 0;
  color: #656565;
}
.field-notes .menu {
  inset: 0;
  pointer-events: none;
  animation-name: field-arrival;
}
@keyframes field-arrival { from { opacity: 0; } to { opacity: 1; } }
.field-notes .menu nav {
  position: absolute;
  left: clamp(24px, 17vw, 260px);
  bottom: max(6vh, 22px);
  width: auto;
  border: none;
  background: none;
  pointer-events: auto;
}
.field-notes nav button {
  position: relative;
  min-height: 24px;
  padding: 5px 8px 5px 15px;
  border: 0;
  will-change: color;
}
.field-notes nav .dot canvas, .field-notes .masthead canvas {
  filter: drop-shadow(0 1px #fff) drop-shadow(0 -1px #fff);
}
.field-notes nav button[aria-pressed="true"]::before { width: 5px; height: 5px; }
.field-notes nav button:hover { color: currentColor; background: transparent; }
.field-notes nav button:hover::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 4px;
  bottom: 3px;
  border-bottom: 1px solid currentColor;
}
.field-notes #replay { padding: 5px 8px 5px 15px; margin: 8px 0 0; background: transparent; }
.field-notes #replay:hover { text-decoration: none; }
.field-notes .chapter-controls {
  display: none;
  inset: auto max(4.6vw, 20px) max(6vh, 22px);
  justify-content: space-between;
  align-items: end;
}
.field-notes .chapter-controls button {
  pointer-events: auto;
  padding: 9px 5px;
  background: transparent;
  filter: drop-shadow(0 1px #fff) drop-shadow(0 -1px #fff);
}
.field-notes .chapter-controls button:hover { opacity: .63; }
.field-notes:not([data-scene="signal"]) .masthead,
.field-notes:not([data-scene="signal"]) .menu nav { display: none; }
.field-notes[data-scene="tram"] .chapter-controls,
.field-notes[data-scene="wind"] .chapter-controls { display: flex; }
.field-notes[data-scene="tram"] .viewfinder { width: clamp(166px, 23vw, 286px); }
.field-notes .viewfinder { border-color: #262626; box-shadow: none; }
.field-notes .boot-inner { width: min(336px,78vw); }
#loader-scope { display: block; width: 100%; margin-bottom: 27px; image-rendering: pixelated; }
.boot-actions { display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.boot-actions a {
  font: 10px/1.1 monospace;
  color: #626262;
  text-underline-offset: 3px;
  padding-block: 8px;
}
.folio {
  width: min(460px, calc(100vw - 32px));
  max-height: calc(100svh - 44px);
  padding: 0;
  border: 1px solid #252525;
  color: #151515;
  background: #fff;
  box-shadow: 5px 5px 0 #15151518;
}
.folio[open] { animation: folio-open 430ms cubic-bezier(.2,.8,.2,1) both; }
@keyframes folio-open {
  from { clip-path: inset(0 42% 86% 0); transform: translate(-7px,3px); }
  to { clip-path: inset(0); transform: translate(0); }
}
.folio::backdrop { background: #fff9; }
.folio-head {
  min-height: 36px;
  padding: 6px 9px 6px 13px;
  border-bottom: 1px solid #292929;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.folio-head h2 { margin: 0; }
.folio .close { padding: 4px 6px; border: 1px solid #252525; }
.entry { padding: 20px 24px 24px; }
.entry time { display: block; margin-bottom: 20px; color: #4a4a4a; }
.entry p { max-width: 39ch; font: 15px/1.49 "Courier New",monospace; }
.entry-signature { color: #3c3c3c; font: italic 15px/1.5 Georgia,serif; }
.plates { width: min(840px,calc(100vw - 32px)); }
.plates .archive-entry img { width: 100%; max-height: 67svh; }
.archive-body { padding: 14px 16px 18px; }
.index { display: flex; flex-wrap: wrap; gap: 4px 16px; border-bottom: 1px dotted #555; }
.index button { padding: 7px 0; font: 12px/1.2 monospace; }
.index button[aria-pressed="true"] { text-decoration: underline; text-underline-offset: 3px; }
.archive-entry { margin: 14px 0 0; }
.archive-entry img { display: block; max-width: 100%; max-height: 48svh; object-fit: contain; mix-blend-mode: multiply; }
.credits { display: grid; grid-template-columns: minmax(100px,.95fr) 1.1fr; gap: 9px 10px; font: 12px/1.35 monospace; }
.credits dd { margin: 0; }
.credits a { color: inherit; }
@media (max-aspect-ratio: 1/1) {
  .field-notes .menu nav { left: 20px; }
  .field-notes[data-scene="wind"] #world,
  .field-notes[data-scene="wind"] #hold { object-position: 72% 50%; }
  .field-notes .masthead, .field-notes .chapter-controls { position: absolute; }
}
