.v-voyage { --ink: #10122b; --paper: #f4f1e6; --gold: #ffd23f; --red: #e4572e; --px: 4px;
  background: var(--ink); color: var(--paper); --face: "Jersey 20", Handjet, Overpass, system-ui, sans-serif; font: 500 1rem/1.35 var(--face); }
.v-voyage :focus-visible { outline: var(--px) solid var(--gold); outline-offset: var(--px); }

/* ---- the world: strips of landscape sliding sideways at their own speeds ----
   Each strip is one tile wider than the picture and slides one tile to the left on a transform, forever (started in
   voyage.js so every strip shares one clock), which the browser can do without repainting: that keeps it smooth. */
.vy-world { position: absolute; z-index: 0; inset: 0; overflow: hidden; } /* its own layer: nothing in it can cover the interface */
.vy-world > i, .vy-set > i { position: absolute; display: block; }
.vy-sky, .vy-set { position: absolute; inset: 0; }
.vy-layer { left: 0; width: calc(100% + var(--tile)); background-repeat: repeat-x; background-position: 0 100%; will-change: transform; }
.vy-layer.stars { top: 0; height: 240px; --tile: 640px; }
.vy-layer.clouds { top: 9%; height: 120px; --tile: 800px; }
.vy-layer.far { bottom: 196px; height: 200px; --tile: 800px; }
.vy-layer.mid { bottom: 180px; height: 184px; --tile: 960px; }
.vy-layer.near { bottom: 168px; height: 176px; --tile: 960px; }
.vy-grass { inset: auto 0 0 0; height: 168px; transition: background-color 2600ms ease-in-out; }
.vy-road { left: 0; bottom: 124px; width: calc(100% + 96px); height: 44px; background: linear-gradient(90deg, #f4f1e6 0 48px, transparent 48px 96px) 0 22px / 96px var(--px) repeat-x #3a3f52; will-change: transform; }
/* journey's end: the mesa, drawn 480px wide at the right of the picture and running down behind everything below
   it; out of sight to the right until the world lands. On a narrow screen it sits further right, so its cliff edge
   and its top still show beside the tags. */
.vy-mesa { position: absolute; z-index: 1; top: clamp(5rem, 11vh, 8rem); right: 0; bottom: 0; width: 480px; background: var(--art) 0 0 no-repeat, linear-gradient(#9a5a37, #8a4f30) 40px 880px / 440px 100% no-repeat; transform: translate3d(110%, 0, 0); }
@media (max-width: 40rem) { .vy-mesa { right: -110px; } }
.vy-world.landed .vy-mesa { transform: none; }
.vy-docked { position: absolute; left: 92px; top: 62px; image-rendering: pixelated; opacity: 0; }
.vy-world.landed .vy-docked { opacity: 1; }
/* the sun and the moon: each has a place for every hour and takes its time travelling between them. Moving across
   at a steady rate while rising or sinking on a curve is what bends the path into an arc. */
.vy-sun, .vy-moon { width: 48px; height: 48px; transition: left 2600ms linear, top 2600ms cubic-bezier(0.5, 0, 0.9, 0.5), background-color 2600ms linear, opacity 1200ms linear; }
.vy-sun { background: #fff6c9; box-shadow: 0 0 0 var(--px) rgb(255 255 255 / 0.18); left: 80%; top: 12%; }
.vy-world[data-hour="1"] .vy-sun { left: 66%; top: 50%; background: #ffd166; }
.vy-world[data-hour="2"] .vy-sun { left: 52%; top: 105%; background: #ff9a5c; }
.vy-moon { background: #f4f1e6; box-shadow: inset -12px -8px 0 #b9bfd6; left: 2%; top: 105%; transition-timing-function: linear, cubic-bezier(0.1, 0.5, 0.5, 1), linear, linear; }
.vy-world[data-hour="1"] .vy-moon { left: 6%; top: 105%; }
.vy-world[data-hour="2"] .vy-moon { left: 16%; top: 9%; }
/* dawn: the moon goes down on the left as the sun comes up low, just clear of the horizon */
.vy-world[data-hour="3"] .vy-moon { left: 4%; top: 105%; }
.vy-world[data-hour="3"] .vy-sun { left: 22%; top: 46%; background: #fff3cf; }
/* a wrong city, rolling past at the roadside */
.vy-roadsign { position: absolute; z-index: 2; bottom: 150px; left: 100%; padding: 6px 12px 4px; background: var(--paper); color: var(--ink); font: 700 1.125rem/1 var(--face); white-space: nowrap; box-shadow: 0 calc(-1 * var(--px)) 0 var(--ink), 0 var(--px) 0 var(--ink), calc(-1 * var(--px)) 0 0 var(--ink), var(--px) 0 0 var(--ink); text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: var(--px); }
.vy-roadsign::after { content: ""; position: absolute; left: 50%; top: 100%; width: var(--px); height: 40px; margin-left: -2px; background: var(--ink); }
.vy-burst { position: absolute; z-index: 2; width: var(--px); height: var(--px); opacity: 0; color: var(--gold); }
.vy-burst.c1 { color: #ff7eb6; }
.vy-burst.c2 { color: #7ee8fa; }

/* ---- the interface ---- */
.vy-ui { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; min-height: inherit; }
.vy-hud { display: flex; align-items: flex-end; gap: clamp(0.75rem, 2vw, 1.75rem); padding: clamp(0.875rem, 1.6vw, 1.5rem) clamp(1rem, 2vw, 2rem) 0; text-shadow: 3px 3px 0 rgb(16 18 43 / 0.55); --heart: clamp(4px, 0.25vw + 3.2px, 7px); }
/* the plain face, for anyone who finds the pixel one hard to read; and everything held still */
.v-voyage.vy-plain { --face: Overpass, system-ui, sans-serif; }
.v-voyage.vy-plain .vy-name { font-weight: 800; }
.v-voyage.vy-still :is(*, *::before, *::after) { animation: none !important; transition: none !important; }
/* a group of marks with the word for what they count above it */
.vy-stat { display: grid; justify-items: end; gap: 0.3rem; }
.vy-stat small { font-size: clamp(1.0625rem, 0.9rem + 0.5vw, 1.3125rem); font-weight: 600; line-height: 1; white-space: nowrap; text-shadow: 2px 2px 0 rgb(16 18 43 / 0.7); }
.vy-menu-button { display: grid; gap: var(--heart); align-content: center; width: calc(var(--heart) * 9); height: calc(var(--heart) * 9); padding: calc(var(--heart) * 1.5); border: 0; background: rgb(16 18 43 / 0.55); }
.vy-menu-button i { height: var(--heart); background: var(--paper); }
/* on a narrow screen the title and the menu take the first line, the two counts the second */
@media (max-width: 40rem) {
  .v-voyage .vy-hud { flex-wrap: wrap; row-gap: 2.5rem; align-items: center; }
  .v-voyage .vy-hud > h1 { flex: 1 0 calc(100% - 5rem); white-space: nowrap; }
  .v-voyage .vy-menu-button { order: 1; }
  .v-voyage .vy-stat { order: 2; flex: 1 0 40%; justify-items: start; }
  .v-voyage .vy-stat + .vy-stat { justify-items: end; }
}
.vy-settings { inset: 4.5rem 1rem auto auto; margin: 0; min-width: 14rem; padding: 0.875rem 1rem; border: 0; background: var(--ink); color: var(--paper); font: 500 1.0625rem/1.3 var(--face); box-shadow: 0 calc(-1 * var(--px)) 0 var(--paper), 0 var(--px) 0 var(--paper), calc(-1 * var(--px)) 0 0 var(--paper), var(--px) 0 0 var(--paper), 0 0 0 calc(2 * var(--px)) var(--ink); }
/* the menu's two ways out: the how-to panel, and the about page */
.vy-menu-item { display: flex; align-items: center; width: 100%; min-height: 2.75rem; padding: 0; border: 0; background: none; color: var(--paper); font: inherit; text-align: start; text-decoration: none; cursor: pointer; }
.vy-menu-item::before { content: "▶"; margin-right: 0.6rem; color: var(--gold); font-size: 0.75em; }
@media (hover: hover) { .vy-menu-item:hover { color: var(--gold); } }
.vy-reset { display: flex; justify-content: space-between; gap: 1.5rem; min-height: 2.75rem; align-items: center; margin: 0.4rem 0 0; padding-top: 0.4rem; border-top: var(--px) solid #2b2f55; }
.vy-reset time { color: var(--gold); font-weight: 700; font-variant-numeric: tabular-nums; }
.vy-reset a { color: var(--gold); }
.vy-settings label:first-of-type { margin-top: 0.4rem; padding-top: 0.4rem; border-top: var(--px) solid #2b2f55; }
/* how to play: the same box, centred, a short numbered list */
.vy-how { inset: 0; margin: auto; width: min(30rem, calc(100% - 2rem)); height: fit-content; max-height: calc(100dvh - 2rem); overflow-y: auto; overscroll-behavior: contain; padding: 1.125rem 1.25rem 1.25rem; font-size: 1.1875rem; line-height: 1.35; }
.vy-how::backdrop { background: rgb(16 18 43 / 0.55); }
.v-voyage .vy-how ol { display: grid; gap: 0.6rem; margin: 0 0 1rem; padding-left: 1.6rem; list-style: decimal; }
.vy-how li::marker { color: var(--gold); font-weight: 700; }
.vy-how .vy-go { margin-left: auto; display: block; }
.vy-streak { display: block; margin-top: 0.35rem; color: var(--gold); font-size: 1.1875rem; font-weight: 600; }
.vy-settings h2 { margin: 0 0 0.5rem; font-size: 1.125rem; font-weight: 700; color: var(--gold); }
.vy-settings label { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 2.75rem; cursor: pointer; }
/* a two-position switch: the block sits left for off, right and gold for on */
.vy-settings input { appearance: none; position: relative; width: 3.25rem; height: 1.75rem; margin: 0; background: #2b2f55; box-shadow: 0 0 0 var(--px) var(--paper); cursor: pointer; }
.vy-settings input::after { content: ""; position: absolute; inset: 4px auto 4px 4px; width: 1.25rem; background: #8a8fb5; transition: translate 150ms ease-out; }
.vy-settings input:checked { background: #4a3d0a; }
.vy-settings input:checked::after { translate: 1.5rem 0; background: var(--gold); }
/* the name, in the display cut of the game's face. No outline, just one hard shadow; over the pale dawn sky it turns dark so it still stands out. */
.vy-hud h1 { --o: clamp(2px, 0.3vw, 4px); flex: 1; font: 400 clamp(2.75rem, 1.9rem + 3.4vw, 5rem)/0.95 "CityNamed Logo", var(--face); letter-spacing: 0.02em; text-shadow: var(--o) var(--o) 0 var(--ink), calc(2 * var(--o)) calc(2 * var(--o)) 0 rgb(16 18 43 / 0.3); }
.v-voyage:has(.vy-world[data-hour="3"]) .vy-hud h1 { color: var(--ink); text-shadow: var(--o) var(--o) 0 rgb(255 255 255 / 0.75); }
.vy-hud h1 small { font-family: var(--face); }
/* pennants: one per city */
/* an archive day says which day it is */
/* the tagline: the game's plain face, small, on its own line under the logo */
.vy-hud h1 { position: relative; text-indent: -0.035em; } /* the logo face starts its T a little inside its box: pull it back to the shared left edge */
.vy-hud h1 .vy-tagline { position: absolute; left: 0; top: calc(100% + 0.3rem); text-indent: 0; white-space: nowrap; font: 600 clamp(1.0625rem, 0.95rem + 0.5vw, 1.375rem)/1.1 var(--face); letter-spacing: 0.01em; text-shadow: 2px 2px 0 rgb(16 18 43 / 0.55); }
.v-voyage:has(.vy-world[data-hour="3"]) .vy-hud h1 .vy-tagline { text-shadow: 2px 2px 0 rgb(255 255 255 / 0.6); }
.vy-hud h1 small { margin-left: 0.75rem; font-size: 0.6em; font-weight: 600; opacity: 0.9; }
.vy-legs { display: flex; gap: calc(var(--heart) * 2); align-items: center; }
.vy-legs li { width: calc(var(--heart) * 5); height: calc(var(--heart) * 5); background: rgb(16 18 43 / 0.5); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 60%, 0 100%); }
.vy-legs li.now { background: var(--paper); }
.vy-legs li.won { background: var(--gold); }
.vy-legs li.lost { background: #8a8fb5; }
/* hearts: seven-by-six pixel hearts, the points still to play for */
.vy-hearts { display: inline-flex; gap: calc(var(--heart) * 1.5); }
.vy-hearts i { width: calc(var(--heart) * 7); height: calc(var(--heart) * 6); background: rgb(16 18 43 / 0.55); clip-path: polygon(14.3% 0, 42.9% 0, 42.9% 16.7%, 57.1% 16.7%, 57.1% 0, 85.7% 0, 85.7% 16.7%, 100% 16.7%, 100% 50%, 85.7% 50%, 85.7% 66.7%, 71.4% 66.7%, 71.4% 83.3%, 57.1% 83.3%, 57.1% 100%, 42.9% 100%, 42.9% 83.3%, 28.6% 83.3%, 28.6% 66.7%, 14.3% 66.7%, 14.3% 50%, 0 50%, 0 16.7%, 14.3% 16.7%); }
.vy-hearts i.on { background: var(--red); }

/* journey's end: room at the top for the mesa and the ship, then the three travel tags in one column down the left
   (never side by side, never the full width of a phone), then the score */
.vy-arrival { flex: 1; min-height: clamp(12rem, 30vh, 18rem); }
.vy-tags { display: grid; gap: 0.875rem; justify-items: start; width: min(21rem, 78%); margin: 0 0 1.25rem clamp(0.75rem, 7vw, 7rem); }
.vy-tag { position: relative; display: grid; gap: 0.15rem; width: 100%; padding: 0.7rem 0.9rem 0.75rem 2.5rem; background: #ecd29c; color: var(--ink); clip-path: polygon(1.3rem 0, 100% 0, 100% 100%, 1.3rem 100%, 0 calc(100% - 1.3rem), 0 1.3rem); }
.vy-tag::before { content: ""; position: absolute; left: 0.8rem; top: 50%; width: 0.75rem; height: 0.75rem; margin-top: -0.375rem; background: var(--ink); box-shadow: 0 0 0 var(--px) #c9a35f; } /* the eyelet */
.vy-tag:nth-child(odd) { rotate: -1deg; }
.vy-tag:nth-child(even) { rotate: 0.8deg; translate: 0.75rem 0; }
.vy-tag-city { padding-right: 5.5rem; font-size: 1.625rem; font-weight: 700; line-height: 1.05; overflow-wrap: anywhere; }
.vy-tag-country { font-size: 1.1875rem; font-weight: 600; }
.vy-tag-aka { margin-top: 0.35rem !important; padding-right: 4.75rem; font-size: 1.0625rem; line-height: 1.3; }
/* the name it went by and the language each get a colour of their own, off the tag's plain ink */
.vy-tag-aka b { font-weight: 700; color: #a3301f; }
.vy-tag-aka i { font-style: normal; font-weight: 700; color: #1c4f7a; }
.vy-tag-aka b.plain { font-family: Handjet, Overpass, system-ui, sans-serif; font-weight: 700; }
.vy-tag-stamp { position: absolute; right: 0.7rem; top: 0.7rem; padding: 0.1rem 0.45rem; border: var(--px) solid currentColor; color: #1f7a4a; font-size: 1.0625rem; font-weight: 700; rotate: 6deg; }
.vy-tag.lost .vy-tag-stamp { color: #b3392a; }
.vy-tag .vy-hearts { --heart: 3px; position: absolute; right: 0.8rem; bottom: 0.8rem; }
.vy-tag .vy-hearts i { background: rgb(16 18 43 / 0.25); }
.vy-tag .vy-hearts i.on { background: var(--red); }
.vy-ui.ended .vy-box { margin-left: clamp(0.75rem, 7vw, 7rem); width: min(24rem, calc(100% - 1.5rem)); }
/* the airship, the banner it tows, and the two crates slung under that */
.vy-flight { flex: 1; display: grid; justify-items: center; align-content: center; gap: 0; width: 100%; max-width: 30rem; margin-inline: auto; padding: 1rem 1rem 1.5rem; }
.vy-ship { image-rendering: pixelated; margin-bottom: -4px; }
.vy-banner { position: relative; display: grid; gap: 0.2rem; justify-items: center; max-width: 100%; margin-top: 20px; padding: 0.7rem 1.1rem 0.6rem; background: var(--paper); color: var(--ink); text-align: center; box-shadow: 0 calc(-1 * var(--px)) 0 var(--ink), 0 var(--px) 0 var(--ink), calc(-1 * var(--px)) 0 0 var(--ink), var(--px) 0 0 var(--ink), 0 calc(2 * var(--px)) 0 rgb(16 18 43 / 0.35); }
/* the ropes it hangs by */
.vy-banner::before, .vy-banner::after { content: ""; position: absolute; bottom: 100%; width: var(--px); height: 24px; background: var(--ink); }
.vy-banner::before { left: calc(50% - 28px); }
.vy-banner::after { left: calc(50% + 24px); }
.vy-name { font-size: clamp(1.5rem, 8.5vw, 2.5rem); font-weight: 700; line-height: 1; overflow-wrap: anywhere; }
/* a name the main face cannot draw is set whole in the second pixel face, so it is not a patchwork of two */
.vy-name.plain { font-family: Handjet, Overpass, system-ui, sans-serif; font-weight: 700; }
.vy-notplace { padding: 0.05rem 0.4rem; background: var(--red); color: var(--paper); font-size: 0.9375rem; font-weight: 600; }
.vy-answer { font-size: 1.375rem; font-weight: 700; line-height: 1.1; }
.vy-banner.won { background: var(--gold); }
.vy-banner.lost { background: #b9bfd6; }
.vy-banner.lost .vy-name { opacity: 0.6; }
.vy-banner.small { margin-top: 12px; padding: 0.4rem 0.9rem; grid-auto-flow: row; }
.vy-banner.small::before, .vy-banner.small::after { height: 12px; }
.vy-banner.small .vy-name { font-size: 1.125rem; }
.vy-banner.small .vy-answer { font-size: 1.25rem; }
.vy-banner.small .vy-hearts { --heart: 2px; }
.vy-crates { display: grid; grid-template-columns: repeat(2, minmax(0, 9.5rem)); gap: 1.25rem; margin-top: 22px; }
.vy-crate { position: relative; display: grid; justify-items: center; align-content: center; gap: 0.1rem; min-height: 4.25rem; padding: 0.4rem 0.5rem; border: 0; background: repeating-linear-gradient(90deg, #b9793f 0 12px, #a8672f 12px 16px); color: var(--ink); text-align: center; box-shadow: 0 calc(-1 * var(--px)) 0 var(--ink), 0 var(--px) 0 var(--ink), calc(-1 * var(--px)) 0 0 var(--ink), var(--px) 0 0 var(--ink); }
.vy-crate::before { content: ""; position: absolute; bottom: 100%; left: 50%; width: var(--px); height: 22px; margin-left: -2px; background: var(--ink); }
.vy-crate small { font-size: 1rem; font-weight: 600; }
.vy-crate b { font-size: 1.75rem; font-weight: 700; line-height: 1; }
.vy-crate i { position: absolute; top: -8px; right: -8px; padding: 2px 6px; background: var(--gold); font-style: normal; font-size: 1rem; font-weight: 700; box-shadow: 0 0 0 var(--px) var(--ink); }
.vy-crate.open { background: var(--paper); }
.vy-crate.open b { font-size: 1.125rem; overflow-wrap: anywhere; }
/* the name in its own script: its own line, set a little larger so the characters are easy to read */
.vy-native { display: block; margin-top: 0.15rem; font-size: 1.25rem; font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; }
.vy-tag-aka .vy-native { margin-top: 0.1rem; font-size: 1.125rem; }
.vy-crate:disabled { cursor: default; filter: brightness(0.6); }

/* the dialog box: where you answer. It keeps one size all round long so nothing in it jumps; the matching cities
   open as their own box above it, over the picture. */
.vy-box { position: relative; display: flex; flex-direction: column; gap: 0.5rem; width: calc(100% - 1.5rem); max-width: 38rem; min-height: 12.75rem; margin: 0 auto 0.875rem; padding: 0.875rem 1rem 1rem; background: var(--ink); box-shadow: 0 calc(-1 * var(--px)) 0 var(--paper), 0 var(--px) 0 var(--paper), calc(-1 * var(--px)) 0 0 var(--paper), var(--px) 0 0 var(--paper), 0 0 0 calc(2 * var(--px)) var(--ink); }
/* what the box says is sized to the box: the result of a round in large type, the rest comfortably readable */
.vy-say { font-size: clamp(1.1875rem, 1.05rem + 0.5vw, 1.4375rem); line-height: 1.35; text-wrap: pretty; }
.vy-say::first-letter { text-transform: uppercase; }
.vy-verdict { font-size: clamp(1.625rem, 1.3rem + 1.4vw, 2.25rem); font-weight: 700; line-height: 1.1; color: var(--gold); text-wrap: balance; }
.vy-verdict span { margin-left: 0.4em; color: var(--paper); font-size: 0.7em; white-space: nowrap; }
.vy-verdict.lost { color: #ff9a85; }
.vy-say strong { font-size: 2.5rem; font-weight: 700; line-height: 1; }
.vy-row { display: flex; align-items: center; gap: 0.75rem; min-height: 1.75rem; margin-top: auto; }
.vy-not { flex: 1; display: flex; flex-wrap: wrap; gap: 0.1rem 0.9rem; color: #ff9a85; font-weight: 600; }
.vy-not s { text-decoration-thickness: 2px; }
.vy-prompt { display: flex; align-items: center; gap: 0.5rem; padding-bottom: 0.3rem; border-bottom: var(--px) solid var(--paper); color: var(--gold); cursor: text; }
.vy-prompt input { flex: 1; min-width: 0; height: 2.5rem; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--paper); font: 700 1.375rem/1 var(--face); }
.vy-prompt input::placeholder { color: #8a8fb5; opacity: 1; font-weight: 500; }
.vy-prompt input:focus-visible { outline: 0; }
.vy-prompt:focus-within { border-bottom-color: var(--gold); }
.vy-menu { position: absolute; z-index: 3; inset: auto 0 calc(100% + 3 * var(--px)) 0; display: grid; padding: 0.375rem 0.5rem; background: var(--ink); box-shadow: 0 calc(-1 * var(--px)) 0 var(--paper), 0 var(--px) 0 var(--paper), calc(-1 * var(--px)) 0 0 var(--paper), var(--px) 0 0 var(--paper), 0 0 0 calc(2 * var(--px)) var(--ink); }
.vy-menu:empty { display: none; }
.vy-menu li { display: flex; align-items: center; min-height: 2.5rem; padding-left: 1.75rem; font-size: 1.1875rem; font-weight: 600; cursor: pointer; position: relative; }
.vy-menu li[aria-selected="true"] { color: var(--gold); }
.vy-menu li[aria-selected="true"]::before { content: "▶"; position: absolute; left: 0.25rem; font-size: 0.875rem; }
.vy-go { align-self: flex-start; min-height: 2.75rem; padding: 0.3rem 1.1rem 0.2rem; border: 0; background: var(--gold); color: var(--ink); font-size: 1.1875rem; font-weight: 700; box-shadow: 0 calc(-1 * var(--px)) 0 var(--paper), 0 var(--px) 0 var(--paper), calc(-1 * var(--px)) 0 0 var(--paper), var(--px) 0 0 var(--paper); }
.vy-box > .vy-go { margin-top: auto; align-self: flex-end; } /* the way on sits at the right, where the eye ends up */
.vy-go.quiet { min-height: 2rem; padding: 0.15rem 0.7rem 0.05rem; background: var(--ink); color: var(--paper); font-size: 1rem; }
.vy-go:active { translate: 0 var(--px); }
.vy-end { flex-direction: row; align-items: center; justify-content: space-between; min-height: 0; }
.vy-end > .vy-go { margin-top: 0; }

/* motion: smooth throughout. Things ease, nothing snaps. */
@media (prefers-reduced-motion: no-preference) {
  .vy-road { animation: vy-road 0.9s linear infinite; }
  .vy-roadsign { animation: vy-pass 5s linear both; }
  .vy-burst { animation: vy-burst 1400ms cubic-bezier(0.1, 0.6, 0.3, 1) both; }
  .vy-ship { animation: vy-bob 3.2s ease-in-out infinite alternate; }
  .vy-flight { will-change: transform; }
  .vy-flight.arrive { animation: vy-arrive 1400ms cubic-bezier(0.16, 0.8, 0.3, 1) both; }
  .vy-flight.rock { animation: vy-rock 900ms ease-in-out both; }
  .vy-ui.away .vy-flight { animation: vy-leave 800ms cubic-bezier(0.6, 0, 0.9, 0.4) both; }
  .vy-box { transition: opacity 400ms ease; }
  .vy-ui.away .vy-box { opacity: 0; }
  .vy-flight.arrive ~ .vy-box { animation: vy-fade 700ms ease 300ms both; }
  .vy-banner.unfurl { animation: vy-unfurl 1100ms cubic-bezier(0.4, 0, 0.2, 1) both; }
  .vy-crate.pop { animation: vy-pop 600ms cubic-bezier(0.2, 0, 0, 1) both; }
  .vy-hearts .break { animation: vy-break 900ms ease-out both; }
  .vy-legs .now { animation: vy-fly 1.6s ease-in-out infinite alternate; }
  /* landing: the mesa comes in from the right, the ship comes down onto it, then the tags are hung up */
  .vy-mesa { transition: transform 2600ms cubic-bezier(0.2, 0.6, 0.2, 1); }
  .vy-world.landed .vy-docked { animation: vy-dock 3000ms cubic-bezier(0.25, 0.6, 0.2, 1) both; }
  .vy-ui.ended .vy-tag { animation: vy-hang 700ms cubic-bezier(0.2, 0, 0, 1) both; animation-delay: calc(2400ms + var(--n) * 260ms); }
  .vy-ui.ended .vy-box { animation: vy-fade 600ms ease 3300ms both; }
}
@keyframes vy-road { to { transform: translate3d(-96px, 0, 0); } }
@keyframes vy-pass { to { transform: translate3d(calc(-100vw - 100% - 2rem), 0, 0); } }
@keyframes vy-bob { from { transform: translate3d(0, -3px, 0); } to { transform: translate3d(0, 5px, 0); } }
@keyframes vy-arrive { from { transform: translate3d(70vw, -6%, 0); opacity: 0; } 40% { opacity: 1; } }
@keyframes vy-leave { to { transform: translate3d(-80vw, -10%, 0); opacity: 0; } }
@keyframes vy-fade { from { opacity: 0; } }
@keyframes vy-rock { 20% { transform: rotate(-4deg) translate(-8px, 4px); } 50% { transform: rotate(3deg) translate(7px, -3px); } 80% { transform: rotate(-1.5deg); } }
@keyframes vy-unfurl { 0% { clip-path: inset(0 0 0 0); } 42% { clip-path: inset(0 0 0 100%); } 43% { clip-path: inset(0 100% 0 0); } 100% { clip-path: inset(0 0 0 0); } }
@keyframes vy-pop { from { transform: scale(1.5); opacity: 0.4; } }
@keyframes vy-break { 0% { background: var(--red); transform: scale(1); } 40% { background: var(--paper); transform: scale(1.5); } 100% { transform: scale(1); } }
@keyframes vy-fly { to { transform: translateY(-3px); } }
@keyframes vy-burst { 0% { opacity: 1; box-shadow: 0 0 currentColor; } 70% { opacity: 1; } 100% { opacity: 0; box-shadow: 0 -64px currentColor, 44px -44px currentColor, 64px 0 currentColor, 44px 44px currentColor, 0 64px currentColor, -44px 44px currentColor, -64px 0 currentColor, -44px -44px currentColor, 0 -32px currentColor, 32px 0 currentColor, 0 32px currentColor, -32px 0 currentColor; } }
@keyframes vy-dock { from { transform: translate3d(-70vw, -9rem, 0); opacity: 1; } 70% { transform: translate3d(0, -0.75rem, 0); } to { transform: none; opacity: 1; } }
@keyframes vy-hang { from { opacity: 0; transform: translate3d(0, -1.25rem, 0) rotate(-4deg); } }
