/* Style of the pages: the screen of an 80s oscilloscope. Dark only, one cyan phosphor for the lines, the light of the
   text and the bars, scan lines over the page, a thin monospace font (Share Tech Mono) in capitals for the panel; the
   definition in an Instrument Serif italic, as a dictionary. Fonts in fonts/ (OFL). */
@font-face {
  font-family: "Share Tech Mono";
  src: url("fonts/share-tech-mono-latin.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  src: url("fonts/instrument-serif-italic-latin.woff2") format("woff2");
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  src: url("fonts/instrument-serif-italic-latin-ext.woff2") format("woff2");
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: dark;
  --bg: #010708;
  --phos: #00ffe5; /* the phosphor */
  --phos-2: rgba(0, 255, 229, 0.62);
  --line: rgba(0, 255, 229, 0.24);
  --faint: rgba(0, 255, 229, 0.07);
  --text: #c9fff8;
  --muted: #6cc2b7; /* 9:1 on the background */
  --white: #ebfffc;
  --amber: #ffb547; /* your own name */
  --glow: 0 0 6px rgba(0, 255, 229, 0.55);
  --gutter: clamp(16px, 4vw, 40px);
  --mono: "Share Tech Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  scrollbar-gutter: stable; /* a long page and a short page: the same width */
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 var(--mono);
}
body {
  margin: 0;
  overflow-x: clip;
  min-height: 100vh;
  /* the divisions of the screen, and its light at the top */
  background:
    radial-gradient(ellipse 90% 55% at 50% -8%, rgba(0, 255, 229, 0.12), transparent 70%),
    linear-gradient(var(--faint) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, var(--faint) 1px, transparent 1px) 0 0 / 56px 56px,
    var(--bg);
}
body::after { /* the scan lines of the screen, over all the page */
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0 1px, transparent 1px 3px);
}
::selection {
  background: var(--phos);
  color: var(--bg);
}
a {
  color: var(--phos);
  text-underline-offset: 3px;
}
.hbar:focus-visible,
.results li:focus-visible { /* a row of a list, with the keyboard */
  outline: 1px solid var(--phos);
  outline-offset: -1px;
  background: rgba(0, 255, 229, 0.1);
}
a:focus-visible,
button:focus-visible {
  outline: 1px solid var(--phos);
  outline-offset: 3px;
}
button {
  font: inherit;
  color: inherit;
}
.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* the top bar */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px var(--gutter);
  border-bottom: 1px solid var(--line);
  background: rgba(1, 7, 8, 0.9);
  backdrop-filter: blur(6px);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.top a {
  color: var(--text);
}
.top .brand {
  color: var(--phos);
  text-decoration: none;
  text-shadow: var(--glow);
}

/* the question, and the definition of the word: an entry of a dictionary */
.intro {
  position: relative; /* the definition opens over the page, under the title */
  padding: clamp(20px, 4vh, 44px) 0 4px;
}
h1 {
  margin: 0 0 clamp(16px, 2.6vh, 24px);
  font: 400 clamp(28px, 4.6vw, 60px) / 1.05 var(--mono);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 0 8px rgba(0, 255, 229, 0.35);
}
/* the word: a button with a dotted line (a word with a definition); the definition: a card under it, on hover (a
   mouse) or a click (a finger, the keyboard) */
h1 .term {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  text-shadow: inherit;
  color: var(--phos);
  text-decoration: underline dotted 2px rgba(0, 255, 229, 0.6);
  text-underline-offset: 0.18em;
  cursor: help;
}
.nowrap {
  white-space: nowrap;
}
h1 .term[aria-expanded="true"] {
  text-decoration-style: solid;
}
.entry {
  position: absolute;
  z-index: 30;
  left: var(--entry-left, 0px);
  display: grid;
  gap: 4px;
  width: min(40rem, 100%);
  margin-top: -6px;
  padding: 14px 20px 16px;
  border: 1px solid var(--phos-2);
  border-left: 2px solid var(--phos);
  background: rgba(1, 12, 15, 0.97);
  box-shadow: 0 0 22px rgba(0, 255, 229, 0.18), 0 14px 32px rgba(0, 0, 0, 0.7);
}
@media (prefers-reduced-motion: no-preference) {
  .entry:not([hidden]) {
    animation: unfold 0.14s ease-out;
  }
  @keyframes unfold {
    from {
      opacity: 0;
      transform: translateY(-6px);
    }
  }
}
.entry p {
  margin: 0;
}
.entry .head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}
.entry dfn {
  font: italic 32px / 1.1 var(--serif);
  color: var(--white);
}
.entry .ipa { /* its signs are not in the fonts of the page: Times has them */
  font: 18px "Times New Roman", Times, serif;
  color: #9ad7cf;
}
.entry .pos {
  font: italic 20px var(--serif);
  color: var(--phos);
}
.entry .sense {
  font: 20px / 1.5 Georgia, "Times New Roman", serif;
  color: #e4fffb;
}
.entry .example {
  font: italic 21px / 1.45 var(--serif);
  color: #9ad7cf;
}
.entry .example::before {
  content: "“";
}
.entry .example::after {
  content: "”";
}

/* the field: a readout in a metal frame (four screws, a plate, a glass), and the switch beside it, of the same metal */
.dial {
  display: flex;
  align-items: stretch;
  gap: 14px;
}
.readout,
.switch {
  border-radius: 6px;
  background: radial-gradient(circle at 9px 9px, #a3b2b4 0 1.6px, #2f3b3b 2.2px, transparent 3.2px), radial-gradient(circle at calc(100% - 9px) 9px, #a3b2b4 0 1.6px, #2f3b3b 2.2px, transparent 3.2px), radial-gradient(circle at 9px calc(100% - 9px), #a3b2b4 0 1.6px, #2f3b3b 2.2px, transparent 3.2px), radial-gradient(circle at calc(100% - 9px) calc(100% - 9px), #a3b2b4 0 1.6px, #2f3b3b 2.2px, transparent 3.2px), linear-gradient(#2e3638, #15191a);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 -1px 0 rgba(0, 0, 0, 0.7), 0 6px 18px rgba(0, 0, 0, 0.55);
}
.readout {
  position: relative;
  flex: 1;
  min-width: 0;
  padding: 16px;
}
.status { /* inside the glass, at the right (left of the cross) */
  position: absolute;
  top: 50%;
  right: 74px;
  z-index: 1;
  max-width: 45%;
  overflow: hidden;
  transform: translateY(-50%);
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--phos);
  text-shadow: var(--glow);
  pointer-events: none;
}
.readout:has(.status:not(:empty)) .field {
  padding-right: 46%;
}
.readout:has(.clear:not([hidden])) .field {
  padding-right: 64px;
}
.clear { /* the cross: clears the name */
  position: absolute;
  top: 50%;
  right: 26px;
  z-index: 1;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 1px solid transparent;
  background: none;
  color: var(--muted);
  font: 28px/1 var(--mono);
  transform: translateY(-50%);
  cursor: pointer;
}
.clear:hover {
  border-color: var(--phos-2);
  color: var(--phos);
  text-shadow: var(--glow);
}
.field {
  display: block;
  width: 100%;
  padding: 0.28em 0.45em;
  border: 0;
  border-radius: 3px;
  outline: none;
  background: radial-gradient(ellipse 120% 90% at 50% 0%, #073840 0%, #031418 55%, #01080a 100%);
  box-shadow: inset 0 0 22px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(0, 255, 229, 0.25);
  color: var(--white);
  caret-color: var(--phos);
  min-height: 48px; /* a finger: 44 px at least */
  font: clamp(24px, 3.4vw, 40px) / 1.15 var(--mono);
  letter-spacing: 0.03em;
  text-shadow: 0 0 2px #fff, 0 0 10px rgba(0, 255, 229, 0.7);
}
.field::placeholder {
  color: rgba(0, 255, 229, 0.22);
  text-shadow: none;
}
.field:focus {
  box-shadow: inset 0 0 22px rgba(0, 0, 0, 0.9), inset 0 0 0 1px var(--phos), 0 0 16px rgba(0, 255, 229, 0.25);
}
.field::selection {
  background: var(--phos);
  color: var(--bg);
  text-shadow: none;
}
.readout::after { /* the reflection of the glass */
  content: "";
  position: absolute;
  top: 16px;
  right: 16px;
  left: 16px;
  height: 42%;
  border-radius: 3px 3px 50% 50% / 3px 3px 10px 10px;
  background: linear-gradient(rgba(255, 255, 255, 0.07), transparent);
  pointer-events: none;
}
/* the switch: a key with its lamp in the cap (lit and pressed in: on), its words painted beside it */
.switch {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 12px 22px 12px 18px;
  border: 0;
  color: #e3eeee;
  text-align: left;
  text-shadow: 0 1px 0 #000;
  cursor: pointer;
}
.key {
  position: relative;
  flex: none;
  width: 46px;
  height: 46px;
  border: 1px solid #070a0b;
  border-radius: 5px;
  background: linear-gradient(#5b6b6f, #283234);
  box-shadow: 0 4px 0 #070a0b, 0 6px 10px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  transition: transform 0.08s ease-out, box-shadow 0.08s ease-out;
}
.switch:hover .key {
  background: linear-gradient(#66777b, #2d383a);
}
.switch[aria-checked="true"] .key { /* pressed in */
  transform: translateY(1px);
  box-shadow: 0 1px 0 #070a0b, 0 2px 4px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.lamp { /* the lamp of the key */
  position: absolute;
  top: 8px;
  right: 9px;
  left: 9px;
  height: 7px;
  border-radius: 2px;
  background: #062824;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.9);
}
.switch[aria-checked="true"] .lamp {
  background: var(--phos);
  box-shadow: 0 0 6px var(--phos), 0 0 18px rgba(0, 255, 229, 0.7);
}
.hotkey { /* the key of the switch: [S], the brackets drawn close to the letter (the brackets of the font are wide) */
  position: relative;
  display: inline-block;
  margin-right: 0.12em;
  padding: 0 0.34em;
  letter-spacing: 0;
  color: var(--phos);
  text-shadow: var(--glow);
}
.hotkey::before,
.hotkey::after {
  content: "";
  position: absolute;
  top: 0.12em;
  bottom: 0.1em;
  width: 0.2em;
  border: 0.09em solid currentColor;
  filter: drop-shadow(0 0 3px rgba(0, 255, 229, 0.55));
}
.hotkey::before {
  left: 0;
  border-right: 0;
}
.hotkey::after {
  right: 0;
  border-left: 0;
}
.switch-label {
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.25;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* the text of a first visit, under the question (app.js: while no name gives people): what the page does, the label
   of the real names in the list, and names to try */
.about {
  display: grid;
  gap: 16px;
  max-width: 46rem;
  margin: clamp(22px, 4vh, 40px) 0 32px;
  line-height: 1.5;
}
.about p {
  margin: 0;
}
.about .lead {
  font-size: clamp(17px, 1.8vw, 20px);
  color: var(--white);
}
.legend {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.legend li .tag { /* centered on the text and its letters centered in the box (the text is larger: not on its baseline) */
  display: inline-block;
  margin-right: 6px;
  padding: 2px 6px;
  font-size: 12px;
  line-height: 1;
  vertical-align: 0.125em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.about .try { /* the names wrap under the first name, not under "Try" */
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.about .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  margin: 0;
  padding: 6px 12px;
  border: 1px solid var(--phos-2);
  background: transparent;
  color: var(--phos);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}
.chip:hover {
  background: rgba(0, 255, 229, 0.1);
}

/* the globe, the countries and the people side by side, one screen high; on a smaller screen, the people under the
   two others, then all in one column */
.panes {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); /* the two lists: the same width */
  gap: 14px;
  height: var(--rest, clamp(320px, calc(100svh - 300px), 680px)); /* --rest: the window under the question (app.js) */
  margin: 10px 0 16px;
}
.panes > * {
  min-height: 0;
}
.pane { /* a header that stays, and a body that scrolls */
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 12px 0 0 12px;
  border: 1px solid var(--line);
  background: rgba(0, 12, 16, 0.6);
}
.pane-body {
  position: relative; /* the place of a row in the list (app.js) */
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-right: 20px; /* the scroll bar */
}
@media (max-width: 1099px) {
  .panes {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    grid-template-rows: clamp(320px, 50vh, 460px) auto;
    height: auto;
  }
  .people { /* under the two others: the list goes with the page */
    grid-column: 1 / -1;
    overflow: visible;
  }
  .people .pane-body {
    overflow: visible;
  }
}
@media (max-width: 699px) {
  .panes {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
  }
  .globe-pane .globe {
    flex: none;
    height: 270px;
  }
  /* a tap on the header of the countries folds their list: an arrow says it */
  #hist .pane-head {
    position: relative;
    padding-right: 30px;
    cursor: pointer;
  }
  #hist .pane-head::after {
    content: "▾";
    position: absolute;
    top: 0;
    right: 8px;
    color: var(--phos);
  }
  #hist.folded .pane-head::after {
    content: "▸";
  }
  #hist.folded .pane-body,
  #hist.folded .sbar {
    display: none !important;
  }
  #hist.folded .pane-head {
    margin-bottom: 12px;
    border-bottom: 0;
  }
  .hist { /* about 5 countries, then the list scrolls */
    max-height: 290px;
  }
  .hist.folded {
    max-height: none;
  }
  .hist .pane-body {
    max-height: 230px;
  }
}
/* the scroll bar of a list (app.js): a thin line, and a rectangle on it; the bar of the browser is hidden */
.pane {
  position: relative;
}
.pane-body {
  scrollbar-width: none;
}
.pane-body::-webkit-scrollbar {
  display: none;
}
.sbar {
  position: absolute;
  right: 3px;
  width: 14px;
  cursor: pointer;
  touch-action: none;
}
.sbar::before { /* the line */
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--phos-2);
}
.sthumb { /* the rectangle */
  position: absolute;
  top: 0;
  left: 3px;
  width: 8px;
  background: var(--phos);
  box-shadow: 0 0 6px rgba(0, 255, 229, 0.55);
  cursor: grab;
}
.sbar:hover .sthumb,
.sbar.held .sthumb {
  background: var(--white);
}
.sbar.held .sthumb {
  cursor: grabbing;
}
/* the globe panel: the message of the view at the top, the globe under it */
.globe-pane {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border: 1px solid var(--line);
  background: radial-gradient(ellipse at 50% 55%, #052530 0%, #020c12 55%, #01060a 100%);
}
.tally {
  flex: none;
  min-height: calc(3em + 9px); /* room for two lines: the globe does not move with the switch */
  margin: 12px 12px 0;
  padding: 0 8px 8px;
  border-bottom: 1px solid var(--line);
  font-size: 13px; /* the real names and their accounts: one line on a computer */
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
}
.tally p {
  margin: 0;
  text-wrap: balance; /* a phone: two lines of the same length, not a word alone */
}
.tally b {
  font-weight: 400;
  color: var(--white);
  text-shadow: 0 0 6px rgba(0, 255, 229, 0.45);
}
.tally .generated b {
  color: var(--phos);
}
.globe {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  color: var(--phos);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: inset 0 0 40px rgba(0, 255, 229, 0.06);
}
.globe canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: manipulation; /* the page scrolls, except for a touch that starts on the globe (globe.js) */
}
.globe canvas.dragging {
  cursor: grabbing;
}
.globe::after { /* darker corners */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, 0.6) 100%);
}
@media (prefers-reduced-motion: no-preference) {
  .globe::after {
    animation: flicker 5s steps(1) infinite;
  }
  @keyframes flicker {
    50% {
      opacity: 0.9;
    }
  }
}
.globe-tip {
  position: absolute;
  display: grid;
  gap: 3px;
  min-width: 13rem;
  padding: 8px 10px;
  border: 1px solid var(--phos);
  background: rgba(1, 10, 14, 0.92);
  box-shadow: 0 0 14px rgba(0, 255, 229, 0.35);
  pointer-events: none;
}
.globe-tip b {
  margin-bottom: 2px;
  color: var(--white);
  font-weight: 400;
}
.globe-tip .row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}
.globe-tip .hint {
  margin-top: 4px;
  opacity: 0.65;
}
/* the two lists (countries, names): the same header (a title, a count) and the same rows (a label, a bar, a number) */
.pane-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  margin: 0 20px 6px 0;
  padding: 0 8px 8px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--phos);
}
.pane-head .count {
  color: var(--muted);
}
.pane-head .unit { /* the unit of the numbers, above them */
  margin-left: auto;
  color: var(--muted);
  text-align: right;
}
/* a list is a grid, and its rows share its columns (subgrid): the bars start on one line. The countries: a fixed part
   for the names (a long one is cut); the names of people: the width of the longest one (else they are cut), the bars
   the rest. The numbers: 7 characters. */
.hist .pane-body,
.results {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(32px, 1fr) 7ch;
  align-content: start;
  column-gap: 12px;
}
.results {
  grid-template-columns: minmax(0, max-content) minmax(24px, 1fr) 7ch;
}
.hbar,
.results li {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: subgrid;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 5px 8px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 16px;
  line-height: 1.35;
  text-align: left;
}
.hbar {
  cursor: pointer;
}
.hbar:hover {
  background: rgba(0, 255, 229, 0.1);
}
.hbar.chosen {
  background: var(--phos);
  color: var(--bg);
}
.hname,
.name .who {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.name { /* the name (cut if too long) and its label */
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.tag.real { /* a real name among the synthetic ones: its real people */
  flex: none;
  padding: 0 4px;
  border: 1px solid var(--amber);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--amber);
  text-shadow: 0 0 6px rgba(255, 181, 71, 0.5);
}
.meter {
  display: block;
  height: 8px;
  min-width: 2px;
  background: var(--phos);
  box-shadow: 0 0 6px rgba(0, 255, 229, 0.6);
}
body.synthetic .meter { /* the synthetic people: an outline, a trace that is computed */
  background: transparent;
  border: 1px solid var(--phos);
}
.hbar.chosen .tip {
  color: var(--bg);
  text-shadow: none;
}
.hbar.chosen .meter {
  background: var(--bg);
  border-color: var(--bg);
  box-shadow: none;
}
.tip,
.value {
  font-size: 16px;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--phos);
}

/* the number of the view, above the panels; then the names, as the countries */
.results {
  margin: 0;
  padding: 0;
  list-style: none;
}
.results li:hover {
  background: rgba(0, 255, 229, 0.06);
}
.results li.you .name { /* your own name: amber */
  color: var(--amber);
  text-shadow: 0 0 6px rgba(255, 181, 71, 0.55);
}
.results li.you .meter {
  background: var(--amber);
  border-color: var(--amber);
  box-shadow: 0 0 6px rgba(255, 181, 71, 0.6);
}
#more {
  margin: 12px 8px 4px;
}
@media (max-width: 640px) {
  .entry {
    left: 0;
    width: 100%;
    padding: 12px 14px 14px;
  }
  .entry dfn {
    font-size: 26px;
  }
  .entry .sense {
    font-size: 17px;
  }
  .entry .example {
    font-size: 18px;
  }
  .dial {
    flex-direction: column;
  }
}

/* the banner of the author, at the end of the page */
.credit {
  padding: 0 var(--gutter) 10px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
  color: var(--muted);
}
.credit a {
  color: var(--phos);
}

/* how it works: made to be read (the text in a sans serif font) */
main.how {
  overflow-x: clip; /* the hidden MathML copies of the formulas (for screen readers) are wider than a phone */
  padding-bottom: 80px;
}
.how h1 {
  margin: clamp(32px, 6vh, 64px) 0 0;
  font-size: clamp(34px, 7vw, 88px);
}
.how .tagline {
  margin: 10px 0 0;
  font: italic clamp(22px, 3vw, 32px) / 1.2 var(--serif);
  color: var(--muted);
}
.how > section {
  max-width: 70ch;
  min-width: 0;
  overflow-wrap: anywhere;
}
.how h2 {
  margin: 56px 0 14px;
  font: 400 clamp(20px, 2.4vw, 26px) / 1.25 var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--phos);
  text-shadow: var(--glow);
}
.how p,
.how li {
  font: 17px/1.7 var(--sans);
  color: var(--text);
}
.how p {
  margin: 0 0 16px;
}
.how ol,
.how ul {
  margin: 0 0 16px;
  padding-left: 1.4em;
}
.how li + li {
  margin-top: 8px;
}
.how b {
  color: var(--white);
}
.steps {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 20px;
  font: 15px var(--sans);
}
.steps th {
  padding: 0 12px 8px 0;
  border-bottom: 1px solid var(--phos-2);
  font: 11px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  color: var(--muted);
}
.steps td {
  padding: 8px 12px 8px 0;
  border-bottom: 1px solid var(--faint);
  vertical-align: top;
}
.steps .num {
  text-align: right;
  font-family: var(--mono);
}
.steps th.num {
  white-space: normal; /* long titles of columns: on two lines on a phone */
}
.katex-display {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 0;
}

/* touch screens: controls of 44 px, links of 32 px at least, fields of 16 px text (else iOS zooms in on them) */
@media (pointer: coarse) {
  .top a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  button {
    min-height: 44px;
  }
  .clear {
    width: 44px;
    height: 44px;
  }
  .how a {
    display: inline-block;
    padding: 9px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .key {
    transition: none;
  }
}
