:root {
  --ink: #11161a;
  --paper: #fff9e8;
  --coral: #ff5b43;
  --yellow: #ffe54c;
  --cyan: #43cbd0;
  --blue: #3957ff;
  --shadow: 8px 8px 0 var(--ink);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 16%, rgb(17 22 26 / .08) 0 1.2px, transparent 1.5px) 0 0 / 13px 13px,
    var(--paper);
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 4px solid var(--blue);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: .75rem;
  left: .75rem;
  padding: .8rem 1rem;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.mast {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem clamp(.85rem, 2vw, 2rem);
  border-bottom: 3px solid var(--ink);
  background: rgb(255 249 232 / .92);
  backdrop-filter: blur(12px);
}

.mast p {
  margin: 0;
  font-size: clamp(.62rem, 1.2vw, .82rem);
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.counter {
  color: var(--blue);
}

main {
  padding-bottom: clamp(20rem, 32vh, 28rem);
}

.opening {
  position: relative;
  display: grid;
  min-height: 100svh;
  grid-template-columns: minmax(0, .84fr) minmax(26rem, 1.16fr);
  overflow: hidden;
  padding: clamp(5.3rem, 9vw, 8.5rem) clamp(1rem, 4vw, 4rem) clamp(3rem, 6vw, 6rem);
  border-bottom: 5px solid var(--ink);
  background: var(--paper);
}

.opening::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(125deg, transparent 0 66%, rgb(255 91 67 / .12) 66% 76%, transparent 76%),
    repeating-linear-gradient(90deg, transparent 0 11.8%, rgb(17 22 26 / .06) 12% 12.2%);
}

.opening__title {
  position: relative;
  z-index: 2;
  align-self: center;
  padding-right: clamp(1rem, 4vw, 4rem);
}

.eyebrow,
.issue,
.scene__stamp,
.lexicon__kicker,
.reveal__marker {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .16em;
}

h1 {
  margin: 0;
  font-size: clamp(4rem, 8.5vw, 10.5rem);
  font-weight: 950;
  letter-spacing: -.095em;
  line-height: .75;
  text-transform: uppercase;
}

h1 span {
  display: block;
}

h1 span:nth-child(2) {
  margin-left: clamp(1rem, 6vw, 6rem);
  color: var(--coral);
  font-size: .53em;
  letter-spacing: -.06em;
  line-height: 1.02;
}

h1 span:nth-child(3) {
  margin-left: clamp(.2rem, 2vw, 2rem);
  color: var(--blue);
}

.lede {
  max-width: 32rem;
  margin: clamp(1.8rem, 4vw, 3.2rem) 0 1.8rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.28;
}

.start-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 1rem;
  padding: .8rem 1rem;
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  color: var(--ink);
  background: var(--yellow);
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.start-link:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--ink);
}

.opening__tapestry {
  position: relative;
  z-index: 1;
  min-height: 38rem;
  align-self: center;
  transform: rotate(2deg);
}

.preview {
  position: absolute;
  display: flex;
  min-height: 9rem;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: .9rem;
  border: 5px solid var(--ink);
  box-shadow: var(--shadow);
}

.preview__time {
  position: relative;
  z-index: 2;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .7rem;
  font-weight: 900;
}

.preview__glyph {
  position: relative;
  z-index: 2;
  font-size: clamp(2rem, 4vw, 4.2rem);
  font-weight: 950;
  letter-spacing: -.07em;
}

.preview--sun {
  inset: 0 25% 55% 2%;
  background: var(--yellow);
  transform: rotate(-5deg);
}

.preview__sun {
  position: absolute;
  right: -2rem;
  bottom: -3rem;
  width: 12rem;
  aspect-ratio: 1;
  border: 8px solid var(--ink);
  border-radius: 50%;
  background: var(--coral);
}

.preview--rain {
  inset: 16% 0 32% 36%;
  background: var(--cyan);
  transform: rotate(4deg);
}

.preview__drops {
  position: absolute;
  inset: -20% -10%;
  background: repeating-linear-gradient(112deg, transparent 0 24px, var(--paper) 25px 31px, transparent 32px 57px);
  opacity: .82;
}

.preview--call {
  inset: 52% 32% 7% 4%;
  background: var(--coral);
  transform: rotate(-2deg);
}

.preview__rings {
  position: absolute;
  right: -3rem;
  bottom: -5rem;
  width: 14rem;
  aspect-ratio: 1;
  border: 9px solid var(--yellow);
  border-radius: 50%;
  box-shadow: 0 0 0 22px var(--coral), 0 0 0 31px var(--yellow), 0 0 0 52px var(--coral), 0 0 0 61px var(--yellow);
}

.preview--radio {
  inset: 66% 0 -5% 43%;
  color: var(--paper);
  background: var(--blue);
  transform: rotate(5deg);
}

.preview__waves {
  position: absolute;
  right: 1rem;
  bottom: -.75rem;
  color: var(--yellow);
  font-family: Georgia, serif;
  font-size: 8rem;
  letter-spacing: -.4em;
}

.opening__margin {
  position: absolute;
  right: .8rem;
  bottom: 1.3rem;
  z-index: 3;
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .72rem;
  font-weight: 900;
  line-height: 1.45;
  text-align: right;
  text-transform: uppercase;
}

.scene {
  position: relative;
  display: grid;
  min-height: min(84rem, 88svh);
  grid-template-columns: minmax(0, 1.2fr) minmax(20rem, .8fr);
  align-items: stretch;
  overflow: hidden;
  border-bottom: 5px solid var(--ink);
}

.scene:nth-of-type(even) {
  grid-template-columns: minmax(20rem, .8fr) minmax(0, 1.2fr);
}

.scene:nth-of-type(even) .scene__art {
  order: 2;
}

.scene__number {
  position: absolute;
  z-index: 3;
  top: .5rem;
  left: .8rem;
  color: rgb(17 22 26 / .9);
  font-size: clamp(5rem, 13vw, 12rem);
  font-weight: 950;
  letter-spacing: -.1em;
  line-height: 1;
  mix-blend-mode: multiply;
}

.scene:nth-of-type(even) .scene__number {
  right: .8rem;
  left: auto;
}

.scene__art {
  position: relative;
  min-height: 34rem;
  overflow: hidden;
  border-right: 5px solid var(--ink);
  background: var(--cyan);
}

.scene:nth-of-type(even) .scene__art {
  border-right: 0;
  border-left: 5px solid var(--ink);
}

.scene__art svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scene__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1.2rem, 3vw, 2.4rem);
  padding: clamp(4rem, 7vw, 7rem) clamp(1.3rem, 4vw, 4rem);
  background: var(--paper);
}

.scene--window .scene__copy {
  background: #d7ffff;
}

.scene--market .scene__copy {
  background: var(--yellow);
}

.scene--radio .scene__copy {
  background: #ffd0c8;
}

.scene__stamp {
  align-self: flex-start;
  margin: 0;
  padding: .45rem .65rem;
  border: 2px solid currentColor;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
}

.scene h2 {
  max-width: 27rem;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 3.5vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: .98;
}

.utterance {
  margin: 0;
}

.utterance > p {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
  margin: 0;
}

.fragment {
  position: relative;
  min-width: 3.2rem;
  min-height: 3.2rem;
  padding: .42rem .55rem;
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  background: var(--paper);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 950;
  cursor: pointer;
}

.fragment:hover {
  background: var(--yellow);
}

.fragment.is-mapped {
  color: var(--paper);
  background: var(--blue);
}

.fragment[data-fragment="VE"].is-mapped {
  color: var(--ink);
  background: var(--yellow);
  transform: rotate(-2deg);
}

.fragment.is-mapped::after {
  content: attr(data-meaning-label);
  position: absolute;
  right: 0;
  bottom: -1.28rem;
  left: 0;
  color: var(--ink);
  font-size: .52rem;
  letter-spacing: .04em;
  white-space: nowrap;
}

.punctuation {
  margin: 0 .25rem;
  font-size: 2rem;
  font-weight: 900;
}

.translation {
  min-height: 2.8rem;
  margin-top: 1.8rem;
  padding-top: .65rem;
  border-top: 2px solid var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(.78rem, 1.5vw, .95rem);
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
}

.evidence {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.evidence span {
  padding: .35rem .55rem;
  border: 2px solid var(--ink);
  border-radius: 99px;
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.lexicon {
  position: fixed;
  z-index: 30;
  right: 0;
  bottom: 0;
  left: 0;
  max-height: min(39svh, 25rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: .9rem clamp(.8rem, 2vw, 1.6rem) max(.9rem, env(safe-area-inset-bottom));
  border-top: 5px solid var(--ink);
  background:
    radial-gradient(circle at 20% 30%, rgb(17 22 26 / .12) 0 1.1px, transparent 1.3px) 0 0 / 12px 12px,
    var(--paper);
  box-shadow: 0 -10px 0 rgb(17 22 26 / .12);
}

.lexicon__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .7rem;
}

.lexicon__kicker,
.lexicon h2,
.status {
  margin: 0;
}

.lexicon__kicker {
  font-size: .62rem;
  font-weight: 950;
  letter-spacing: .14em;
}

.lexicon h2 {
  font-size: clamp(1rem, 2vw, 1.45rem);
  line-height: 1;
}

.status {
  max-width: 40rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .68rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: right;
}

.slots,
.meaning-tray {
  display: flex;
  gap: .55rem;
  overflow-x: auto;
  padding: .25rem .25rem .75rem;
  scrollbar-color: var(--ink) transparent;
}

.fragment-slot {
  display: grid;
  min-width: 8.2rem;
  min-height: 3.55rem;
  grid-template-columns: 2.4rem 1fr;
  align-items: center;
  padding: .38rem .55rem;
  border: 3px solid var(--ink);
  background: var(--paper);
  cursor: pointer;
}

.fragment-slot code {
  font-size: 1rem;
  font-weight: 950;
}

.fragment-slot span {
  overflow: hidden;
  font-size: .68rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fragment-slot.is-selected {
  background: var(--cyan);
  box-shadow: 4px 4px 0 var(--ink);
}

.fragment-slot.is-filled {
  color: var(--paper);
  background: var(--blue);
}

.fragment-slot--mystery {
  border-style: dashed;
}

.fragment-slot--mystery.is-filled {
  color: var(--ink);
  background: var(--yellow);
  border-style: solid;
}

.fragment-slot.is-wrong {
  background: var(--coral);
  animation: wrong .38s steps(2, end) 2;
}

.meaning-tray {
  padding-bottom: .25rem;
}

.meaning-tile {
  min-width: max-content;
  min-height: 3rem;
  padding: .55rem .8rem;
  border: 3px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  background: var(--yellow);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .04em;
  touch-action: none;
  cursor: grab;
}

.meaning-tile--decoy {
  background: #ffd0c8;
}

.meaning-tile--key {
  display: none;
  color: var(--paper);
  background: var(--blue);
}

body.has-unlocked-key .meaning-tile--key {
  display: block;
  animation: contradiction-in .42s cubic-bezier(.2, .8, .2, 1);
}

.meaning-tile.is-selected {
  transform: translate(2px, 2px) rotate(-2deg);
  box-shadow: 1px 1px 0 var(--ink);
  background: var(--cyan);
}

.meaning-tile.is-used {
  opacity: .28;
  filter: grayscale(1);
  pointer-events: none;
}

.drag-ghost {
  position: fixed;
  z-index: 100;
  padding: .6rem .9rem;
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  pointer-events: none;
  background: var(--yellow);
  font-size: .72rem;
  font-weight: 950;
  transform: translate(-50%, -50%) rotate(-3deg);
}

body.is-dragging-meaning .fragment-slot {
  background: #d7ffff;
}

.contradiction {
  position: relative;
  display: none;
  margin: clamp(3rem, 7vw, 7rem);
  padding: clamp(1.5rem, 5vw, 4rem);
  border: 6px solid var(--ink);
  box-shadow: 16px 16px 0 var(--coral);
  background: var(--yellow);
}

.contradiction.is-visible {
  display: block;
  animation: contradiction-in .45s cubic-bezier(.2, .8, .2, 1);
}

.contradiction p {
  max-width: 58rem;
  margin: 0 0 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  line-height: 1.15;
}

.contradiction__label {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace !important;
  font-size: clamp(1.5rem, 4vw, 4rem) !important;
  font-weight: 950;
  letter-spacing: -.05em;
  text-transform: uppercase;
}

.contradiction button,
.reveal button {
  min-height: 48px;
  padding: .7rem .9rem;
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  background: var(--paper);
  font-weight: 900;
  cursor: pointer;
}

.reveal {
  position: relative;
  display: none;
  min-height: 86svh;
  scroll-margin-top: 4rem;
  align-content: start;
  overflow: hidden;
  padding: clamp(4rem, 9vw, 9rem);
  border-bottom: 5px solid var(--ink);
  color: var(--paper);
  background:
    linear-gradient(135deg, transparent 0 52%, rgb(255 229 76 / .18) 52% 56%, transparent 56%),
    var(--blue);
}

.reveal.is-visible {
  display: grid;
}

.reveal__chain {
  display: flex;
  align-items: center;
  gap: clamp(.45rem, 2vw, 1.5rem);
  margin-bottom: 3rem;
}

.chain-person {
  display: grid;
  width: clamp(4rem, 9vw, 8rem);
  aspect-ratio: 1;
  place-items: center;
  border: 4px solid var(--paper);
  border-radius: 50%;
  font-size: clamp(.6rem, 1.4vw, 1rem);
  font-weight: 950;
}

.chain-person--ona { background: var(--coral); }
.chain-person--mara { color: var(--ink); background: var(--yellow); }
.chain-person--radio { background: var(--cyan); }
.chain-person--page { color: var(--ink); background: var(--paper); }

.reveal__chain i {
  height: 5px;
  flex: 1;
  background: repeating-linear-gradient(90deg, var(--yellow) 0 12px, transparent 12px 20px);
  transform-origin: left;
  animation: chain-grow .9s ease both;
}

.reveal__marker {
  margin: 0 0 1rem;
  color: var(--yellow);
  font-size: .88rem;
  font-weight: 950;
  letter-spacing: .15em;
}

.reveal h2 {
  max-width: 65rem;
  margin: 0;
  font-size: clamp(3rem, 8vw, 8.2rem);
  font-weight: 950;
  letter-spacing: -.08em;
  line-height: .78;
  text-transform: uppercase;
}

.reveal > p:not(.reveal__marker, .reveal__echo) {
  max-width: 48rem;
  margin: 2rem 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  line-height: 1.25;
}

.reveal__echo {
  display: grid;
  max-width: 45rem;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  margin: 0 0 2rem;
  padding: 1rem;
  border: 3px solid var(--yellow);
}

.reveal__echo span {
  color: var(--yellow);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(1.1rem, 3vw, 2.4rem);
  font-weight: 950;
}

.reveal__echo strong {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.reveal button {
  justify-self: start;
  background: var(--yellow);
}

body.has-contradiction .fragment[data-fragment="VE"],
body.has-contradiction .fragment-slot[data-fragment="VE"] {
  animation: wrong .38s steps(2, end) 3;
  background: var(--coral);
}

body.has-signature .scene--market,
body.has-signature .scene--radio {
  box-shadow: inset 16px 0 0 var(--yellow);
}

[data-ve-surface] {
  transition: color .25s ease, background .25s ease, transform .25s ease;
}

[data-ve-surface].is-resolved {
  color: var(--ink);
  background: var(--yellow);
  font-size: .72em;
  letter-spacing: -.04em;
}

svg [data-ve-surface].is-resolved {
  fill: var(--yellow);
  stroke: var(--ink);
  stroke-width: 1px;
  paint-order: stroke;
}

.certainty-label {
  align-self: flex-start;
  margin: -.6rem 0 0;
  padding: .5rem .7rem;
  border: 3px solid var(--ink);
  background: var(--coral);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .09em;
  transform: rotate(-1deg);
}

body.has-signature .certainty-label {
  background: var(--yellow);
}

.source-route {
  display: none;
  align-items: center;
  gap: .4rem;
}

.source-route span {
  display: grid;
  width: 3.2rem;
  min-width: 3.2rem;
  aspect-ratio: 1;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  font-size: .55rem;
  font-weight: 950;
}

.source-route i {
  width: 1.5rem;
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 7px, transparent 7px 11px);
}

body.has-signature .source-route {
  display: flex;
  animation: contradiction-in .38s ease both;
}

body.has-signature .lexicon {
  max-height: 5.4rem;
}

body.has-signature .lexicon__head > div,
body.has-signature .slots,
body.has-signature .meaning-tray {
  display: none;
}

body.has-signature .lexicon__head {
  align-items: center;
  min-height: 2.8rem;
  margin: 0;
}

body.has-signature .status {
  max-width: none;
  color: var(--ink);
  font-size: .78rem;
  text-align: left;
}

@keyframes wrong {
  0%, 100% { transform: translateX(0); }
  35% { transform: translateX(-7px) rotate(-1deg); }
  70% { transform: translateX(7px) rotate(1deg); }
}

@keyframes contradiction-in {
  from { opacity: 0; transform: translateY(2rem) rotate(1deg); }
  to { opacity: 1; transform: translateY(0) rotate(0); }
}

@keyframes chain-grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.share-frame {
  display: none;
}

body.share-mode {
  width: 1200px;
  height: 630px;
  overflow: hidden;
  background: var(--paper);
}

body.share-mode > :not(.share-frame) {
  display: none !important;
}

body.share-mode .share-frame {
  display: grid;
  width: 1200px;
  height: 630px;
  grid-template-columns: 49% 51%;
  overflow: hidden;
  border: 20px solid var(--ink);
  background: var(--paper);
}

.share-frame__left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 38px;
  border-right: 12px solid var(--ink);
  background:
    radial-gradient(circle at 2px 2px, rgb(17 22 26 / .18) 0 1.4px, transparent 1.6px) 0 0 / 13px 13px,
    var(--yellow);
}

.share-frame__left p,
.share-frame__left span {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 16px;
  font-weight: 950;
  letter-spacing: .12em;
}

.share-frame__left h2 {
  margin: 0;
  font-size: 64px;
  font-weight: 950;
  letter-spacing: -.075em;
  line-height: .78;
}

.share-frame__weather {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(115deg, transparent 0 34px, rgb(255 249 232 / .7) 35px 43px, transparent 44px 78px),
    var(--cyan);
}

.share-sun {
  position: absolute;
  top: -90px;
  right: -58px;
  width: 285px;
  height: 285px;
  border: 13px solid var(--ink);
  border-radius: 50%;
  background: var(--coral);
}

.share-rain {
  position: absolute;
  top: 45px;
  left: 35px;
  color: var(--paper);
  font-size: 88px;
  font-weight: 950;
  letter-spacing: -.25em;
  transform: rotate(-18deg);
}

.share-utterance {
  position: absolute;
  top: 205px;
  left: 40px;
  padding: 12px 18px;
  border: 7px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  background: var(--paper);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 47px;
  font-weight: 950;
  transform: rotate(-4deg);
}

.share-utterance--ve {
  top: 320px;
  left: 222px;
  color: var(--paper);
  background: var(--blue);
  transform: rotate(3deg);
}

.share-chain {
  position: absolute;
  right: 34px;
  bottom: 92px;
  left: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.share-chain b {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border: 6px solid var(--ink);
  border-radius: 50%;
  background: var(--coral);
  font-size: 15px;
}

.share-chain b:nth-of-type(2) {
  background: var(--yellow);
}

.share-chain b:nth-of-type(3) {
  color: var(--paper);
  background: var(--blue);
}

.share-chain i {
  height: 8px;
  flex: 1;
  background: var(--ink);
}

.share-answer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 14px 24px;
  color: var(--paper);
  background: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 22px;
  font-weight: 950;
  letter-spacing: .09em;
  text-align: center;
}

@media (max-width: 860px) {
  .mast .issue span,
  .opening__margin {
    display: none;
  }

  main {
    padding-bottom: 24rem;
  }

  .opening {
    grid-template-columns: 1fr;
    padding-top: 5rem;
  }

  .opening__title {
    align-self: end;
    padding-right: 0;
  }

  h1 {
    font-size: clamp(3.6rem, 17vw, 7rem);
  }

  .lede {
    margin-top: 1.5rem;
  }

  .opening__tapestry {
    min-height: 25rem;
    margin-top: 2.5rem;
  }

  .scene,
  .scene:nth-of-type(even) {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .scene__art,
  .scene:nth-of-type(even) .scene__art {
    order: 0;
    min-height: 56svh;
    border: 0;
    border-bottom: 5px solid var(--ink);
  }

  .scene__copy {
    min-height: 58svh;
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .scene__number,
  .scene:nth-of-type(even) .scene__number {
    top: .4rem;
    right: .7rem;
    left: auto;
    font-size: 6rem;
  }

  .lexicon {
    max-height: min(45svh, 26rem);
  }

  .lexicon__head {
    align-items: flex-start;
  }

  .status {
    max-width: 45%;
  }

  .contradiction {
    margin: 2rem 1rem 5rem;
  }

  .reveal {
    padding: 5rem 1.2rem 7rem;
  }

  .reveal h2 {
    font-size: clamp(3.1rem, 17vw, 6rem);
  }
}

@media (max-width: 520px) {
  .mast {
    padding: .6rem .72rem;
  }

  .mast p {
    font-size: .56rem;
  }

  .opening {
    min-height: 110svh;
    padding-right: .8rem;
    padding-left: .8rem;
  }

  .opening__tapestry {
    min-height: 22rem;
  }

  .preview {
    border-width: 3px;
    box-shadow: 5px 5px 0 var(--ink);
  }

  .preview__glyph {
    font-size: 1.55rem;
  }

  .scene__art {
    min-height: 43svh;
  }

  .scene__copy {
    min-height: 52svh;
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .scene h2 {
    font-size: 2rem;
  }

  .fragment {
    min-width: 3rem;
    min-height: 3rem;
  }

  .lexicon__head {
    display: block;
  }

  .status {
    max-width: none;
    margin-top: .45rem;
    text-align: left;
  }

  .fragment-slot {
    min-width: 7.5rem;
  }

  .reveal__chain {
    gap: .3rem;
  }

  .chain-person {
    width: 3.7rem;
    font-size: .5rem;
  }

  .reveal__echo {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
