/* /noisestate/how: layout and inks come from dissertation/opening.css. This file sets the drawing's small print (ticks,
   remarks, the corner tag that says where a drawing's numbers come from) in the page's serif at a size that reads, and
   the two quiet pencil weights the drawings use: axes and rules, and hatching in place of flat fills. */
#solverpage :is(#stage, .psvg) text.note { font-size: 14px; fill: var(--ink-2); }
#solverpage :is(#stage, .psvg) text.tag { font-size: 14px; font-style: italic; fill: var(--ink-2); }
#solverpage :is(#stage, .psvg) text.inkt { fill: var(--ink-2); }
#solverpage :is(#stage, .psvg) text.acc { fill: var(--accent); }
#solverpage :is(#stage, .psvg) text.warmt { fill: var(--warm); }
#solverpage :is(#stage, .psvg) .grey { stroke: var(--ink-2); }
#solverpage :is(#stage, .psvg) .quiet { opacity: 0.5; }
#solverpage :is(#stage, .psvg) .hatch { opacity: 0.3; }
#solverpage :is(#stage, .psvg) .body { transition: opacity 0.5s; }

/* the line under the lede that reports the solves: in the page's serif, not small monospace */
#solverpage .solvestate { font: italic 1rem/1.4 Newsreader, Georgia, serif; color: var(--ink-2); }
#solverpage .solvestate.ok { color: var(--accent); }

/* On a phone the drawing sits across the top and the text is read in the room under it. The paragraphs here are longer
   than that room, so they scroll up behind the drawing (its patch of paper hides them) and never print over it. */
@media (max-width: 820px) {
  #solverpage .stage { top: 0; height: calc(4.5rem + 46vh); height: calc(4.5rem + 46svh); padding-top: 4.5rem; box-sizing: border-box; z-index: 3; --stage-fade: 97%; }
  #solverpage .stage > svg { width: min(92vw, 44vh); width: min(92vw, 44svh); }
  #solverpage .steps { z-index: 1; }
  /* the drawing is shown at about 0.6 of its size, so its words are set larger to stay readable */
  #solverpage :is(#stage, .psvg) text, #solverpage :is(#stage, .psvg) text.label { font-size: 19px; }
  #solverpage :is(#stage, .psvg) text.note, #solverpage :is(#stage, .psvg) text.tag { font-size: 18.5px; }
}
