:root {
  /* Design language terms: types: `init --mode=presence`. rose-chrome Mono** prompts elegance instead common mono-only developer aesthetic. Display** wordmark precision Japanese editorial restraint: typography luxurious. cursors tiny emotional actors: words Grotesk** compact navigation readouts cleaner retro-futuristic needed. */
  --lacquer: #07060A;
  --green: #7CFFB2;
  --rose: #FF6FAE;
  --amber: #FFB86B;
  --paper: #F4E8D0;
  --violet: #2A1748;
  --cyan: #67E8F9;
  --oxide: #B83248;
  --serif: "Playfair Display", "Didot", "Bodoni 72", "Georgia", "Times New Roman", serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", "Consolas", "Liberation Mono", monospace;
  --jp: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Space Grotesk", "Inter", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 50% -12%, rgba(255, 111, 174, 0.18), transparent 36rem),
    radial-gradient(circle at 100% 42%, rgba(42, 23, 72, 0.95), transparent 32rem),
    linear-gradient(180deg, #07060A 0%, #0b0710 38%, #12091b 70%, #07060A 100%);
  font-family: var(--sans);
  overflow-x: hidden;
}

a,
button {
  color: inherit;
}

button {
  font: inherit;
}

.crt-shell {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  overflow: hidden;
}

.crt-shell::before {
  content: "";
  position: fixed;
  inset: 1.1rem;
  border: 1px solid rgba(244, 232, 208, 0.14);
  border-radius: 2rem;
  pointer-events: none;
  box-shadow: inset 0 0 5rem rgba(103, 232, 249, 0.06), 0 0 3rem rgba(255, 111, 174, 0.05);
  z-index: 30;
}

.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(244, 232, 208, 0.025) 0 1px, transparent 1px 5px);
  mix-blend-mode: screen;
  opacity: 0.42;
  z-index: 29;
}

.scanlines::after {
  content: "";
  position: absolute;
  inset: -40% 0;
  background: linear-gradient(180deg, transparent, rgba(103, 232, 249, 0.08), transparent);
  animation: scanSweep 8s linear infinite;
}

.lacquer-seams {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 12%, rgba(255, 184, 107, 0.08) 12.12%, transparent 12.4% 87%, rgba(255, 111, 174, 0.09) 87.08%, transparent 87.4%),
    linear-gradient(135deg, transparent 0 49.7%, rgba(244, 232, 208, 0.05) 49.85%, transparent 50.15%);
  pointer-events: none;
  z-index: 0;
}

.top-console {
  position: fixed;
  top: 2.1rem;
  left: 3rem;
  right: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 40;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}

.brand-chip,
.command-chip,
.terminal-choice,
.fragment {
  position: relative;
  text-decoration: none;
  border: 1px solid rgba(124, 255, 178, 0.28);
  background: rgba(7, 6, 10, 0.55);
  box-shadow: inset 0 0 1.4rem rgba(124, 255, 178, 0.04), 0 0 1.4rem rgba(255, 111, 174, 0.04);
  transition: transform 260ms ease, border-color 260ms ease, color 260ms ease, box-shadow 260ms ease;
  cursor: pointer;
}

.brand-chip {
  padding: 0.65rem 0.9rem;
  color: var(--paper);
  border-color: rgba(255, 111, 174, 0.34);
}

.nav-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.command-chip {
  padding: 0.58rem 0.78rem;
  color: rgba(244, 232, 208, 0.78);
}

.command-chip::after,
.terminal-choice::after,
.fragment::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: var(--oxide);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.4);
  box-shadow: 0 0 1rem var(--oxide);
  transition: opacity 180ms ease, transform 320ms ease;
}

.command-chip:hover,
.terminal-choice:hover,
.fragment:hover {
  transform: translateY(-2px);
  color: var(--green);
  border-color: rgba(255, 111, 174, 0.72);
  box-shadow: inset 0 0 1.6rem rgba(255, 111, 174, 0.08), 0 0 2rem rgba(124, 255, 178, 0.08);
}

.command-chip:hover::after,
.terminal-choice:hover::after,
.fragment:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.red-string {
  position: fixed;
  inset: auto -3vw 7vh -3vw;
  width: 106vw;
  height: 46vh;
  z-index: 4;
  opacity: 0.62;
  pointer-events: none;
  filter: drop-shadow(0 0 12px rgba(184, 50, 72, 0.55));
}

.red-string path {
  fill: none;
  stroke: var(--oxide);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 1550;
  stroke-dashoffset: 1550;
}

.chapter {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(1.5rem, 0.7fr) minmax(16rem, 1.25fr) minmax(16rem, 1fr) minmax(1.5rem, 0.7fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 4rem);
  padding: clamp(6rem, 10vw, 9rem) clamp(1.5rem, 6vw, 7rem);
  overflow: hidden;
  border-bottom: 1px solid rgba(244, 232, 208, 0.08);
}

.chapter::before {
  content: "";
  position: absolute;
  inset: 8% 4%;
  border: 1px solid rgba(103, 232, 249, 0.08);
  border-radius: 2.4rem;
  background: linear-gradient(110deg, rgba(42, 23, 72, 0.17), transparent 42%, rgba(255, 184, 107, 0.035));
  z-index: -1;
}

.boot {
  min-height: 105vh;
}

.prompt-window {
  position: relative;
  padding: clamp(1.4rem, 4vw, 3.4rem);
  border: 1px solid rgba(244, 232, 208, 0.17);
  background:
    linear-gradient(135deg, rgba(255, 111, 174, 0.09), transparent 20% 80%, rgba(103, 232, 249, 0.06)),
    rgba(7, 6, 10, 0.72);
  clip-path: polygon(0 0, calc(100% - 2.8rem) 0, 100% 2.8rem, 100% 100%, 2.1rem 100%, 0 calc(100% - 2.1rem));
  box-shadow: inset 0 0 3rem rgba(124, 255, 178, 0.035), 0 2rem 6rem rgba(0, 0, 0, 0.48);
  z-index: 5;
}

.prompt-window::before,
.prompt-window::after {
  content: "";
  position: absolute;
  width: 4.7rem;
  height: 1px;
  background: linear-gradient(90deg, var(--rose), transparent);
  top: 1.1rem;
  right: 1rem;
  box-shadow: 0 0 1.2rem rgba(255, 111, 174, 0.55);
}

.prompt-window::after {
  top: auto;
  right: auto;
  left: 1rem;
  bottom: 1.1rem;
  background: linear-gradient(90deg, transparent, var(--cyan));
}

.boot-copy {
  grid-column: 2 / 4;
  max-width: 76rem;
  margin: 0 auto;
  text-align: left;
}

.system-label {
  margin: 0 0 1.2rem;
  color: var(--green);
  font-family: var(--mono);
  font-size: clamp(0.68rem, 1.1vw, 0.82rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-shadow: 0 0 0.8rem rgba(124, 255, 178, 0.5);
}

h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.055em;
  color: var(--paper);
}

h1 {
  font-size: clamp(5.3rem, 16vw, 15rem);
  line-height: 0.84;
  text-shadow: 0 0 1.8rem rgba(255, 111, 174, 0.18), 0 0 4rem rgba(103, 232, 249, 0.08);
}

h2 {
  font-size: clamp(2.8rem, 6.3vw, 7rem);
  line-height: 0.9;
  max-width: 11ch;
}

.protocol-card p:not(.system-label):not(.companion-response),
.persona-window p:not(.system-label):not(.companion-response),
.final-window p:not(.system-label):not(.companion-response) {
  max-width: 46rem;
  color: rgba(244, 232, 208, 0.75);
  font-size: clamp(1rem, 1.35vw, 1.26rem);
  line-height: 1.72;
}

.typed-line {
  min-height: 2.3rem;
  margin: 2rem 0 0;
  color: var(--green);
  font-family: var(--mono);
  font-size: clamp(1rem, 2vw, 1.55rem);
  text-shadow: 0 0 1rem rgba(124, 255, 178, 0.42);
}

.typed-line::before {
  content: "> ";
  color: var(--amber);
}

.cursor {
  display: inline-block;
  width: 0.11em;
  height: 0.88em;
  margin-left: 0.09em;
  vertical-align: -0.08em;
  animation: blink 900ms steps(2, end) infinite;
}

.cursor.rose { background: var(--rose); box-shadow: 0 0 1rem rgba(255, 111, 174, 0.9); }
.cursor.green { background: var(--green); box-shadow: 0 0 1rem rgba(124, 255, 178, 0.9); }
.cursor.amber { background: var(--amber); box-shadow: 0 0 1rem rgba(255, 184, 107, 0.9); }
.cursor.cyan { background: var(--cyan); box-shadow: 0 0 1rem rgba(103, 232, 249, 0.9); }

.boot-status {
  display: grid;
  grid-template-columns: repeat(3, minmax(9rem, 1fr));
  gap: 0.7rem;
  margin-top: 2.4rem;
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(244, 232, 208, 0.68);
}

.boot-status span {
  padding: 0.85rem;
  border: 1px solid rgba(255, 184, 107, 0.16);
  background: rgba(42, 23, 72, 0.22);
}

.command-rail {
  position: absolute;
  top: 23%;
  display: grid;
  gap: 0.35rem;
  min-width: 11rem;
  font-family: var(--mono);
  color: rgba(244, 232, 208, 0.62);
  z-index: 6;
}

.command-rail.left { left: clamp(1.1rem, 3vw, 3.5rem); }
.command-rail.right { right: clamp(1.1rem, 3vw, 3.5rem); text-align: right; }

.command-rail span {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 8vw, 8rem);
  line-height: 0.75;
  color: rgba(255, 111, 174, 0.2);
}

.command-rail b {
  color: var(--green);
  letter-spacing: 0.22em;
  text-shadow: 0 0 1rem rgba(124, 255, 178, 0.45);
}

.command-rail i {
  color: rgba(244, 232, 208, 0.5);
  font-style: normal;
  font-size: 0.72rem;
}

.horizon {
  position: absolute;
  inset: auto -10% 9% -10%;
  height: 38%;
  background:
    repeating-linear-gradient(0deg, transparent 0 22px, rgba(103, 232, 249, 0.1) 23px, transparent 24px),
    repeating-linear-gradient(90deg, transparent 0 68px, rgba(255, 111, 174, 0.065) 69px, transparent 70px);
  transform: perspective(22rem) rotateX(66deg);
  transform-origin: bottom;
  opacity: 0.5;
  z-index: 1;
}

.memory-blob {
  position: absolute;
  border-radius: 44% 56% 66% 34% / 55% 35% 65% 45%;
  filter: blur(4px);
  opacity: 0.72;
  z-index: 2;
  animation: blobMorph 13s ease-in-out infinite alternate;
}

.blob-one {
  width: clamp(21rem, 42vw, 44rem);
  height: clamp(20rem, 39vw, 40rem);
  right: 11%;
  top: 17%;
  background: radial-gradient(circle at 34% 30%, rgba(255, 111, 174, 0.55), transparent 32%), radial-gradient(circle at 70% 66%, rgba(103, 232, 249, 0.34), transparent 36%), rgba(42, 23, 72, 0.35);
  animation-delay: 0.8s;
}

.blob-two {
  width: 22rem;
  height: 16rem;
  left: 9%;
  bottom: 18%;
  background: radial-gradient(circle at 55% 35%, rgba(255, 184, 107, 0.35), transparent 38%), rgba(124, 255, 178, 0.12);
}

.blob-signal { width: 28rem; height: 32rem; left: 8%; top: 20%; background: radial-gradient(circle at 42% 28%, rgba(124, 255, 178, 0.28), transparent 34%), rgba(255, 111, 174, 0.14); }
.blob-memory { width: 42rem; height: 24rem; right: 0; top: 29%; background: radial-gradient(circle at 52% 45%, rgba(244, 232, 208, 0.24), transparent 31%), rgba(255, 184, 107, 0.14); }
.blob-persona { width: 31rem; height: 37rem; left: 50%; top: 12%; background: radial-gradient(circle at 46% 22%, rgba(103, 232, 249, 0.28), transparent 32%), rgba(42, 23, 72, 0.42); }
.blob-boundary { width: 37rem; height: 31rem; left: 7%; bottom: 14%; background: radial-gradient(circle at 34% 44%, rgba(184, 50, 72, 0.4), transparent 29%), rgba(255, 111, 174, 0.1); }
.blob-farewell { width: 44rem; height: 36rem; right: 8%; top: 15%; background: radial-gradient(circle at 40% 30%, rgba(255, 111, 174, 0.2), transparent 35%), radial-gradient(circle at 75% 66%, rgba(124, 255, 178, 0.18), transparent 32%), rgba(244, 232, 208, 0.08); }

.memory-blob.bloom {
  animation: blobBloom 1200ms ease both, blobMorph 13s ease-in-out 1200ms infinite alternate;
}

.moon-window {
  position: absolute;
  right: 12%;
  top: 18%;
  width: clamp(9rem, 17vw, 18rem);
  aspect-ratio: 1;
  border: 1px solid rgba(244, 232, 208, 0.22);
  border-radius: 50%;
  background: radial-gradient(circle at 42% 35%, rgba(244, 232, 208, 0.18), transparent 55%);
  display: grid;
  place-items: center;
  color: rgba(244, 232, 208, 0.42);
  font-family: var(--jp);
  font-size: clamp(2rem, 5vw, 5rem);
  z-index: 3;
}

.ema-card {
  position: relative;
  width: 13.5rem;
  padding: 2.2rem 1.1rem 1.1rem;
  color: var(--lacquer);
  background: linear-gradient(145deg, #F4E8D0, #FFB86B);
  clip-path: polygon(50% 0, 100% 20%, 100% 100%, 0 100%, 0 20%);
  box-shadow: 0 1.6rem 3.5rem rgba(0, 0, 0, 0.38), inset 0 0 1rem rgba(184, 50, 72, 0.13);
  z-index: 6;
}

.boot-ema {
  position: absolute;
  right: 8%;
  bottom: 13%;
  transform: rotate(6deg);
}

.ema-card span {
  position: absolute;
  top: 0.8rem;
  right: 0.9rem;
  color: var(--oxide);
  font-family: var(--jp);
  font-weight: 700;
}

.ema-card strong {
  display: block;
  font-family: var(--mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ema-card em {
  display: block;
  margin-top: 0.7rem;
  color: rgba(7, 6, 10, 0.68);
  font-family: var(--jp);
  font-style: normal;
  font-size: 0.8rem;
}

.chapter-number {
  position: absolute;
  left: 12%;
  top: 12%;
  font-family: var(--serif);
  font-size: clamp(8rem, 18vw, 18rem);
  color: rgba(244, 232, 208, 0.045);
  z-index: 1;
}

.protocol-card,
.persona-window,
.final-window {
  grid-column: 2 / 4;
  max-width: 58rem;
}

.signal .protocol-card,
.persona .persona-window {
  grid-column: 2 / 3;
}

.boundary .station-board,
.memory .console-wide {
  grid-column: 2 / 4;
}

.fragment {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.2rem;
  padding: 0.9rem 1rem;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.fragment span {
  color: var(--rose);
}

.companion-response {
  min-height: 2rem;
  margin: 1.3rem 0 0;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.9rem;
  line-height: 1.7;
  text-shadow: 0 0 0.9rem rgba(124, 255, 178, 0.34);
}

.vertical-caption {
  position: absolute;
  right: 18%;
  bottom: 18%;
  writing-mode: vertical-rl;
  color: rgba(244, 232, 208, 0.38);
  font-family: var(--jp);
  font-size: clamp(1.2rem, 3vw, 2.5rem);
  letter-spacing: 0.35em;
  z-index: 5;
}

.stamp-tag,
.seal-orbit {
  position: absolute;
  display: grid;
  place-items: center;
  border: 2px solid var(--oxide);
  color: var(--oxide);
  font-family: var(--mono);
  text-transform: uppercase;
  transform: rotate(-9deg);
  box-shadow: 0 0 1.2rem rgba(184, 50, 72, 0.34);
  z-index: 5;
}

.stamp-tag {
  right: 28%;
  top: 24%;
  width: 5.6rem;
  height: 5.6rem;
  border-radius: 50%;
}

.console-wide,
.station-board {
  position: relative;
  z-index: 5;
  border: 1px solid rgba(103, 232, 249, 0.22);
  background: rgba(7, 6, 10, 0.78);
  box-shadow: inset 0 0 3rem rgba(42, 23, 72, 0.4), 0 2rem 5rem rgba(0, 0, 0, 0.42);
}

.console-wide {
  padding: clamp(1rem, 2.8vw, 2.2rem);
  transform: skewY(-1deg);
}

.console-header,
.board-title {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(244, 232, 208, 0.13);
  color: var(--amber);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.chat-fragments {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.chat-line {
  justify-content: flex-start;
  width: min(100%, 54rem);
  margin-top: 0;
  text-align: left;
  text-transform: none;
  font-size: clamp(0.9rem, 1.5vw, 1.15rem);
}

.chat-line:nth-child(2) { margin-left: 9%; border-color: rgba(255, 111, 174, 0.34); }
.chat-line:nth-child(3) { margin-left: 18%; border-color: rgba(255, 184, 107, 0.34); }

.ema-cluster {
  position: absolute;
  right: 8%;
  top: 20%;
  display: grid;
  gap: 1rem;
  z-index: 6;
}

.ema-card.small {
  width: 10rem;
  justify-self: end;
  transform: rotate(-7deg);
}

.persona-grid,
.final-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.persona-grid .command-chip {
  font-size: 0.78rem;
  text-transform: uppercase;
}

.seal-orbit {
  right: 13%;
  bottom: 18%;
  width: 10rem;
  height: 10rem;
  border-radius: 28% 72% 42% 58% / 54% 33% 67% 46%;
  animation: sealDrift 8s ease-in-out infinite alternate;
}

.seal-orbit span:first-child {
  font-family: var(--jp);
  font-size: 2.4rem;
}

.seal-orbit span:last-child {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
}

.station-board {
  padding: clamp(1.1rem, 3vw, 2.6rem);
  max-width: 63rem;
  margin-left: auto;
}

.board-title b {
  color: var(--paper);
  font-family: var(--jp);
}

.departure-row {
  display: grid;
  grid-template-columns: 7rem 1fr minmax(12rem, 0.9fr);
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(244, 232, 208, 0.1);
  font-family: var(--mono);
}

.departure-row span { color: var(--cyan); }
.departure-row strong { color: var(--paper); text-transform: uppercase; letter-spacing: 0.12em; }
.departure-row em { color: rgba(244, 232, 208, 0.52); font-style: normal; }

.board-command {
  margin-top: 1.4rem;
}

.envelope-fold {
  position: absolute;
  left: 11%;
  top: 20%;
  width: clamp(12rem, 26vw, 27rem);
  aspect-ratio: 1.45;
  border: 1px solid rgba(244, 232, 208, 0.16);
  background: linear-gradient(145deg, rgba(244, 232, 208, 0.07), rgba(255, 111, 174, 0.04));
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 50% 48%);
  z-index: 3;
}

.terminal-choice {
  padding: 1rem 1.15rem;
  color: var(--paper);
  font-family: var(--mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.farewell-kana {
  position: absolute;
  right: 12%;
  bottom: 16%;
  color: rgba(244, 232, 208, 0.16);
  font-family: var(--jp);
  font-size: clamp(4rem, 12vw, 12rem);
  writing-mode: vertical-rl;
  z-index: 3;
}

.response-pulse {
  animation: responsePulse 520ms ease;
}

.tug .red-string path,
.red-string.tug path {
  stroke: var(--rose);
  filter: drop-shadow(0 0 10px rgba(255, 111, 174, 0.7));
}

@keyframes blink {
  0%, 45% { opacity: 1; }
  46%, 100% { opacity: 0; }
}

@keyframes scanSweep {
  from { transform: translateY(-35%); }
  to { transform: translateY(35%); }
}

@keyframes blobMorph {
  0% { border-radius: 44% 56% 66% 34% / 55% 35% 65% 45%; transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { border-radius: 68% 32% 43% 57% / 39% 58% 42% 61%; transform: translate3d(1rem, -0.6rem, 0) rotate(3deg); }
  100% { border-radius: 38% 62% 61% 39% / 61% 45% 55% 39%; transform: translate3d(-0.8rem, 0.9rem, 0) rotate(-2deg); }
}

@keyframes blobBloom {
  from { opacity: 0; transform: scale(0.72); filter: blur(18px); }
  to { opacity: 0.72; transform: scale(1); filter: blur(4px); }
}

@keyframes sealDrift {
  from { transform: rotate(-9deg) translateY(0); }
  to { transform: rotate(5deg) translateY(-1.2rem); }
}

@keyframes responsePulse {
  0% { color: var(--paper); text-shadow: 0 0 0 rgba(124, 255, 178, 0); }
  45% { color: var(--green); text-shadow: 0 0 1.5rem rgba(124, 255, 178, 0.8); }
  100% { color: var(--green); text-shadow: 0 0 0.9rem rgba(124, 255, 178, 0.34); }
}

@media (max-width: 900px) {
  .top-console {
    left: 1.5rem;
    right: 1.5rem;
    align-items: flex-start;
  }

  .nav-chips {
    max-width: 16rem;
  }

  .chapter {
    grid-template-columns: 1fr;
    padding: 7rem 1.25rem 4rem;
  }

  .boot-copy,
  .protocol-card,
  .persona-window,
  .final-window,
  .signal .protocol-card,
  .persona .persona-window,
  .boundary .station-board,
  .memory .console-wide {
    grid-column: 1;
  }

  .command-rail {
    position: relative;
    top: auto;
    left: auto !important;
    right: auto !important;
    text-align: left !important;
    grid-column: 1;
    order: -1;
    min-width: 0;
  }

  .boot-status,
  .departure-row {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(4.2rem, 22vw, 8rem);
  }

  h2 {
    max-width: 100%;
  }

  .ema-cluster,
  .boot-ema,
  .stamp-tag,
  .seal-orbit,
  .farewell-kana,
  .envelope-fold {
    opacity: 0.58;
    transform: scale(0.82);
  }

  .chat-line:nth-child(2),
  .chat-line:nth-child(3) {
    margin-left: 0;
  }
}

@media (max-width: 560px) {
  .top-console {
    position: absolute;
    flex-direction: column;
  }

  .nav-chips {
    justify-content: flex-start;
  }

  .command-chip {
    padding: 0.48rem 0.55rem;
  }

  .prompt-window {
    clip-path: polygon(0 0, calc(100% - 1.5rem) 0, 100% 1.5rem, 100% 100%, 1.3rem 100%, 0 calc(100% - 1.3rem));
  }
}
