/* LoFM-1's pages in the gnomes' look: white paper, hairlines, Archivo and IBM Plex Mono, holly red and green. */
:root { --paper: #ffffff; --panel: #f6f5f3; --ink: #111110; --mute: #6e6a64; --rule: #d9d6d1; --soft: #e8e5e1;
  --holly: #b8232b; --on-holly: #fff; --leaf: #2f7d3a; --night: #241a3d; --snow: rgba(120, 130, 160, 0.55);
  --sans: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif; --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --paper: #0f0d16; --panel: #18151f; --ink: #f3f1ee; --mute: #9a94a6; --rule: #2e2a38; --soft: #221e2b; --holly: #ff5a5f; --on-holly: #1a0406; --leaf: #6cc46a; --snow: rgba(255, 255, 255, 0.75); } }
:root[data-theme="dark"] { --paper: #0f0d16; --panel: #18151f; --ink: #f3f1ee; --mute: #9a94a6; --rule: #2e2a38; --soft: #221e2b; --holly: #ff5a5f; --on-holly: #1a0406; --leaf: #6cc46a; --snow: rgba(255, 255, 255, 0.75); }
html { color-scheme: light dark; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
:focus-visible { outline: 2px solid var(--holly); outline-offset: 2px; }
a { color: inherit; text-decoration-color: var(--holly); text-underline-offset: 3px; }
#snow { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 5; pointer-events: none; }
.sheet { position: relative; max-width: 960px; margin: 24px auto; border: 1px solid var(--rule); background: var(--paper); }
@media (max-width: 1000px) { .sheet { margin: 0; border-width: 0 0 1px; } }
.bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 12px 16px; border-bottom: 1px solid var(--rule); }
.bar .mark { width: 32px; height: 32px; flex: none; image-rendering: pixelated; }
.bar .word { font-weight: 600; font-size: 19px; letter-spacing: -0.01em; text-decoration: none; }
.bar .model { font: 12.5px/1.5 var(--mono); letter-spacing: 0.045em; color: var(--mute); flex: 1 1 200px; }
.bar nav { display: flex; flex-wrap: wrap; gap: 4px 14px; font: 12.5px/1.5 var(--mono); letter-spacing: 0.045em; }
.bar nav a, .bar nav button { color: var(--mute); text-decoration: none; background: none; border: 0; padding: 0; font: inherit; letter-spacing: inherit; cursor: pointer; }
.bar nav a:hover, .bar nav button:hover { color: var(--ink); }
.label { font: 12.5px/1.55 var(--mono); letter-spacing: 0.045em; color: var(--mute); }
.btn { display: inline-block; font: 500 13.5px/1 var(--mono); letter-spacing: 0.045em; padding: 12px 18px; border: 1px solid var(--ink); color: var(--ink); text-decoration: none; background: none; cursor: pointer; }
.btn.go { background: var(--holly); border-color: var(--holly); color: var(--on-holly); }
.btn:hover { border-color: var(--holly); }
/* the mosaic down the sides: the eight shots as tiles that twinkle like a string of lights and now and then change */
:root { --wall: 0.18; --tile: 96px; }
:root[data-theme="dark"] { --wall: 0.26; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --wall: 0.26; } }
.wall { position: fixed; inset: 0 -96px; z-index: -1; pointer-events: none; overflow: hidden; display: grid;
  grid-template-columns: repeat(auto-fill, var(--tile)); grid-auto-rows: var(--tile); justify-content: center;
  --m: linear-gradient(to right, #000 calc(50% - 560px), transparent calc(50% - 500px), transparent calc(50% + 500px), #000 calc(50% + 560px)); -webkit-mask-image: var(--m); mask-image: var(--m); }
.wall i { position: relative; display: block; background: center / cover no-repeat; image-rendering: pixelated; opacity: var(--wall);
  transition: opacity 1.6s ease, filter 1.6s ease; }
.wall i::after { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; mix-blend-mode: screen;
  background: radial-gradient(circle at 50% 50%, var(--glow, #ffd36b) 0, transparent 70%); }
.wall i.lit { opacity: calc(var(--wall) * 2.6); filter: saturate(1.3); }
.wall i.lit::after { opacity: .55; }
.wall i.swap { opacity: 0; }
