:root {
  --paper: #ffffff;
  --ink: #111111;
  --hush: #7a7a7a;
  --rule: #e8e8e8;
  --focus: #111111;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--paper);
  color: var(--ink);
}

body {
  font-family: "IBM Plex Mono", ui-monospace, "Cascadia Mono", monospace;
  font-size: 13px;
  line-height: 1.5;
}

a {
  color: inherit;
}

.picker {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.rule {
  background: #111;
  width: 2px;
  height: 0.85em;
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  flex-shrink: 0;
}

.choice {
  text-decoration: none;
  color: var(--ink);
  font-family: Syne, "Arial Narrow", sans-serif;
  font-weight: 700;
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-align: center;
  white-space: nowrap;
}

.choice:hover,
.choice:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.choice:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: -8px;
}

.site-foot {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 22px;
  text-align: center;
  color: var(--hush);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.vm-chrome {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
}

.vm-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--rule);
  font-size: 12px;
}

.vm-bar a {
  text-underline-offset: 0.15em;
}

.vm-title {
  font-family: Syne, "Arial Narrow", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.vm-stage {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 28px 16px 40px;
}

html.graphic .vm-stage {
  align-items: center;
  padding: 24px 16px 32px;
}

#term_wrap {
  margin: 0;
  resize: both;
  overflow: hidden;
}

html.graphic #term_wrap {
  resize: none;
}

html.graphic #term_bar {
  display: none;
}

#term_bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 4px 0 0;
}

@media (max-width: 800px) {
  .picker {
    flex-direction: column;
    gap: 32px;
  }

  .rule {
    width: 4.5em;
    height: 2px;
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .choice {
    font-size: clamp(2.6rem, 12vw, 4rem);
    white-space: normal;
  }

  .vm-bar {
    flex-wrap: wrap;
  }
}
