/* The page sent to creators in direct messages (/for-creators and its -es, -ko and -fa copies). Tokens from brand.css;
   what is on it and why in docs/plans/creator-page.md. */
.for-creators {
  background: var(--paper);
}
.for-creators :is(h3, p) {
  text-wrap: pretty;
}
/* The printed face has Latin capitals only: Persian titles are set in the sans, Korean ones a step smaller. */
.for-creators:lang(fa) :is(h1, h2) {
  font-family: var(--sans);
  font-weight: 600;
  line-height: var(--lh-snug);
  letter-spacing: 0;
  text-transform: none;
}
:root:is(:lang(zh), :lang(ja), :lang(ko)) .for-creators :is(h1, h2, h3) {
  word-break: keep-all;
}
/* Below the showcase Korean breaks its prose between words too. */
:root:lang(ko) .for-creators :is(.fc-income, .fc-live, .fc-how, .fc-after) :is(p, dd, li) {
  word-break: keep-all;
}
/* Persian letters join and Korean mono fallback tracks wide, so their small labels use the sans without tracking. */
.for-creators:is(:lang(fa), :lang(ko))
:is(
  .fc-sheet-foot,
  .fc-step-num,
  .fc-version,
  .fc-phase,
  .fc-again,
  .fc-route-label,
  .fc-route-kind,
  .fc-stop-tag,
  .fc-kit-label,
  .fc-way-label
) {
  font-family: var(--sans);
  letter-spacing: 0;
}

/* First screen, composed as the homepage is: the headline top left, the two ways to reach us in its corner, and under
   them the scene. Everything on it starts on one of two edges. */
.fc-hero {
  padding-top: clamp(20px, 3.2vw, 44px);
}
.fc-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "head reach";
  column-gap: var(--space-9);
}
.fc-hero h1 {
  grid-area: head;
  align-self: end;
  font-size: var(--display-1);
  line-height: 0.96;
  text-wrap: balance;
}
.for-creators:lang(fa) .fc-hero h1,
:root:is(:lang(zh), :lang(ja), :lang(ko)) .fc-hero h1 {
  font-size: var(--display-2);
}
/* Instagram in ink and the address outlined under it: one column, so the two share a width, resting on the headline's
   last line (owner, 2026-11-16: the address stays, it was only badly set as a loose line under the button). The
   headline stands at the foot of their row, and its last baseline is a tenth of the poster face's size above the
   line's foot; the sans keeps more room under its letters (measured in Chrome, 2026-11-16). */
.fc-reach {
  grid-area: reach;
  align-self: end;
  display: grid;
  gap: var(--space-3);
  margin-bottom: calc(var(--display-1) * 0.1);
}
.for-creators:lang(fa) .fc-reach {
  margin-bottom: calc(var(--display-2) * 0.31);
}
:root:is(:lang(zh), :lang(ja), :lang(ko)) .for-creators .fc-reach {
  margin-bottom: calc(var(--display-2) * 0.255);
}
/* Their marks share one edge and their words another, whatever the length of each. */
.fc-reach .btn {
  justify-content: flex-start;
}
.fc-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-7);
}
.btn svg.fc-ig-icon {
  width: 18px;
  height: 18px;
  flex: none;
}

/* Act one, a story told on one stage of a fixed height, after our reel (scorestarling-social,
   2026-11-11-agent-user-reel). A creator's video fills it while what fans write comes in beside it; the video then
   draws back to the corner, the asks under it, and beside it the score is made in four phases: written down, checked
   against the original, marked, engraved with the creator's name; then a playhead runs over it. The script moves the
   stage from beat to beat (data-beat: cover, work, sheet) and through the phases (data-phase). With no beat, which is
   what reduced motion and a browser without the script show, it stands on its end frame. */
.fc-story {
  --stage: clamp(340px, 100vh - 386px, 470px);
  --big: min(66%, var(--stage) * 1.7778);
  --small: min(40%, (var(--stage) - 128px) * 1.7778);
  display: grid;
  grid-template-columns: var(--small) minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  grid-template-areas:
    "clip desk"
    "asks desk";
  gap: var(--space-4) var(--space-9);
  position: relative;
  height: var(--stage);
  margin-top: clamp(24px, 3vw, 40px);
  /* Nothing on the stage may widen the page while it moves. */
  overflow-x: clip;
}
/* Persian's headline stands taller, so its stage gives up that much. */
.for-creators:lang(fa) .fc-story {
  --stage: clamp(340px, 100vh - 414px, 470px);
}
.fc-story[data-beat="cover"] {
  grid-template-columns: var(--big) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  grid-template-areas: "clip asks";
}
.fc-story .fc-clip {
  grid-area: clip;
  align-self: start;
}
/* The burst, between the asks and the work: the other creators' videos and finished scores come out around the
   video one after another, a little turned, and go again as it draws back, to say how many there are and that they
   are for any instrument. They are copies of the page's own videos and scores, made by the script and kept from
   screen readers; a video with no picture of its own (a reel) is left out. */
.fc-story[data-beat="burst"] {
  grid-template-columns: min(46%, var(--stage) * 1.1378) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  grid-template-areas: "clip asks";
}
.fc-story[data-beat="burst"] .fc-asks {
  visibility: hidden;
}
.fc-burst {
  grid-area: 1 / 1 / -1 / -1;
  position: relative;
  z-index: 1;
  pointer-events: none;
}
.fc-bit {
  position: absolute;
  inset-inline-start: var(--x);
  top: var(--y);
  width: calc(var(--w) * var(--fit, 1));
  opacity: 0;
  transform: translateY(24px) scale(0.6) rotate(var(--turn));
  transition:
    opacity 0.3s,
    transform 0.5s var(--ease);
}
.fc-story[data-beat="burst"] .fc-bit {
  opacity: 1;
  transform: rotate(var(--turn));
  transition:
    opacity 0.3s calc(var(--nth) * 110ms),
    transform 0.7s var(--ease-spring) calc(var(--nth) * 110ms);
}
.fc-bit .fc-clip {
  border-radius: var(--radius-sm);
}
/* A score in the burst: its opening on paper, and under it what it is written for. */
.fc-bit-score {
  padding: 8px 12px 4px;
  border-radius: var(--radius-xs);
  background: var(--white);
  box-shadow: 0 0 0 1px var(--hair-strong);
  color: var(--ink);
}
.fc-bit-score :is(img, svg) {
  display: block;
  width: 100%;
  height: auto;
}
.fc-bit-label {
  display: block;
  margin-top: var(--space-1);
  font: 500 11px / var(--lh-ui) var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.for-creators:lang(fa) .fc-bit-label {
  font-family: var(--sans);
  letter-spacing: 0;
}
/* What the burst says, in the headline's face a step down, under the video: the scores around it are for more than
   the piano. */
.fc-bit-any {
  font-family: var(--poster);
  font-size: var(--display-3);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--ink);
}
.for-creators:lang(fa) .fc-bit-any,
:root:is(:lang(zh), :lang(ja), :lang(ko)) .fc-bit-any {
  font-family: var(--sans);
  font-weight: 600;
  text-transform: none;
}
/* Where each stands: three videos beside the video, the scores for other instruments largest, the words under it. */
.fc-bit-any {
  --x: 0%;
  --y: 72%;
  --w: 44%;
  --turn: 0deg;
}
.fc-bit-v1 {
  --x: 49%;
  --y: 0%;
  --w: 22%;
  --turn: -3deg;
}
.fc-bit-v2 {
  --x: 74%;
  --y: 3%;
  --w: 25%;
  --turn: 3deg;
}
.fc-bit-v3 {
  --x: 77%;
  --y: 38%;
  --w: 20%;
  --turn: -2deg;
}
.fc-bit-s1 {
  --x: 47%;
  --y: 37%;
  --w: 28%;
  --turn: 2deg;
}
.fc-bit-s2 {
  --x: 46%;
  --y: 70%;
  --w: 27%;
  --turn: -2deg;
}
.fc-bit-s3 {
  --x: 75%;
  --y: 72%;
  --w: 24%;
  --turn: 3deg;
}
.fc-bit-s4 {
  --x: 64%;
  --y: 60%;
  --w: 15%;
  --turn: -4deg;
}
.fc-bit-s5 {
  --x: 86%;
  --y: 60%;
  --w: 14%;
  --turn: 4deg;
}
.fc-bit-s6 {
  --x: 30%;
  --y: 84%;
  --w: 15%;
  --turn: 3deg;
}
/* On a wide window the burst is an exploded view in order (owner, 2026-11-16: "这里排版也太乱了"): beside the video
   a row of the other three videos at one size, then two rows of scores in cards of one size, each score as tall as the
   others and set at its card's start, the ukulele and the guitar TAB first; "Any instrument" under the video. Each
   card leans a degree or two, by turns, and they still come out one after another. A short window keeps one row of
   scores. */
@media (min-width: 861px) {
  .fc-burst {
    display: grid;
    grid-template-columns: calc(min(46%, var(--stage) * 1.1378) + var(--space-9) - var(--space-4)) repeat(
        6,
        minmax(0, 1fr)
      );
    grid-template-rows: auto auto auto minmax(0, 1fr);
    align-content: start;
    gap: var(--space-4);
  }
  .fc-bit {
    position: relative;
    inset: auto;
    width: auto;
    min-width: 0;
  }
  .fc-bit-any {
    grid-column: 1;
    grid-row: 1 / -1;
    align-self: end;
    width: calc(100% - var(--space-9) + var(--space-4));
  }
  .fc-bit-v1 {
    grid-area: 1 / 2 / 2 / 4;
    --turn: -2deg;
  }
  .fc-bit-v2 {
    grid-area: 1 / 4 / 2 / 6;
    --turn: 1.5deg;
  }
  .fc-bit-v3 {
    grid-area: 1 / 6 / 2 / 8;
    --turn: -1.5deg;
  }
  .fc-bit-s1 {
    grid-area: 2 / 2 / 3 / 5;
    --turn: 1.5deg;
  }
  .fc-bit-s2 {
    grid-area: 2 / 5 / 3 / 8;
    --turn: -1.5deg;
  }
  .fc-bit-s3 {
    grid-area: 3 / 2 / 4 / 5;
    --turn: -1deg;
  }
  .fc-bit-s4 {
    grid-area: 3 / 5 / 4 / 8;
    --turn: 1.5deg;
  }
  .fc-bit:is(.fc-bit-s5, .fc-bit-s6) {
    display: none;
  }
  .fc-bit-score :is(img, svg) {
    height: calc(var(--stage) * 0.19);
    object-fit: contain;
    object-position: left center;
  }
}
@media (min-width: 861px) and (max-height: 800px) {
  .fc-bit:is(.fc-bit-s3, .fc-bit-s4) {
    display: none;
  }
}
/* What fans ask, the demand. Beside the video it is a column as loud as they are: five comments of four sizes, the
   first the loudest, by turns on the column's two edges. Once the video has drawn back they are the comments under
   it, small. They are examples, with no names or pictures, and never lie on the video. */
.fc-asks {
  grid-area: asks;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  min-height: 0;
}
.fc-ask {
  max-width: 100%;
  padding: 0.5em 0.85em;
  border-radius: 16px;
  border-end-start-radius: 4px;
  background: var(--layer-2);
  font: 500 16px / var(--lh-heading) var(--sans);
  color: var(--ink);
}
.fc-ask:nth-child(1) {
  font-size: 24px;
  font-weight: 600;
}
.fc-ask:nth-child(n + 4) {
  display: none;
}
.fc-story[data-beat="cover"] .fc-asks {
  justify-content: center;
  gap: var(--space-4);
}
.fc-story[data-beat="cover"] .fc-ask {
  display: block;
  font-size: 20px;
}
/* By turns on the column's two edges, each with its tight corner on the video's side, where it came out. */
.fc-story[data-beat="cover"] .fc-ask:nth-child(even) {
  align-self: flex-end;
}
.fc-story[data-beat="cover"] .fc-ask:nth-child(1) {
  font-size: 36px;
  letter-spacing: -0.02em;
}
.fc-story[data-beat="cover"] .fc-ask:nth-child(3) {
  font-size: 24px;
}
.fc-story[data-beat="cover"] .fc-ask:nth-child(4) {
  font-size: 18px;
}
/* Starling's side of the stage: the four phases of the work on one quiet line, what Starling is doing in a bubble,
   and the score itself, which takes shape phase by phase. */
.fc-desk {
  grid-area: desk;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "phases"
    "reply"
    "sheet";
  align-content: center;
  gap: var(--space-3);
  min-width: 0;
  min-height: 0;
}
.fc-story:is([data-beat="cover"], [data-beat="burst"]) .fc-desk {
  display: none;
}
/* The phases' line holds the four phases alone; Play again ends the sheet's foot line (below). */
.fc-phase-row {
  display: contents;
}
/* The four phases, numbered, each over a bar that fills while it is done (as the process on /agent-transcription):
   one to come grey, the one being done orange, a done one ink. At rest every bar is full. */
.fc-phases {
  grid-area: phases;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-3);
  min-width: 0;
}
.fc-phase {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  min-width: 0;
  padding-top: var(--space-3);
  font: 500 12px / var(--lh-ui) var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink);
  transition: color 0.3s;
}
.fc-phase b {
  font-weight: 500;
  color: var(--muted);
  transition: color 0.3s;
}
.fc-phase i {
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  overflow: hidden;
  border-radius: 1px;
  background: var(--hair-strong);
}
.fc-phase i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform-origin: left center;
}
[dir="rtl"] .fc-phase i::after {
  transform-origin: right center;
}
.fc-story[data-beat="work"] .fc-phase {
  color: var(--muted);
}
.fc-story[data-beat="work"] .fc-phase[data-state="todo"] i::after {
  transform: scaleX(0);
}
.fc-story[data-beat="work"] .fc-phase[data-state="doing"],
.fc-story[data-beat="work"] .fc-phase[data-state="doing"] b {
  color: var(--accent-text);
}
.fc-story[data-beat="work"] .fc-phase[data-state="doing"] i::after {
  background: var(--accent);
}
.fc-story[data-beat="work"] .fc-phase[data-state="done"] {
  color: var(--ink);
}
/* What Starling says: a bubble as the asks are, on white, with Starling at the start of the line facing it. Two lines
   are kept for it, so the score under it stays put. */
.fc-reply {
  grid-area: reply;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 3.6em;
  font: 500 18px / var(--lh-heading) var(--sans);
  color: var(--ink);
}
/* Starling acts the phase out by whole drawings (for-creators.js, pose): listening, writing, reading, presenting. */
.fc-bird {
  position: relative;
  flex: none;
  width: 40px;
  height: 47px;
}
.fc-bird img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scaleX(-1);
}
.fc-bird img.is-shown {
  opacity: 1;
}
[dir="rtl"] .fc-bird img {
  transform: none;
}
.fc-reply [data-fc-say] {
  padding: 0.5em 0.85em;
  border-radius: 16px;
  border-end-start-radius: 4px;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--hair-strong);
}
/* Shown once the story has played, at the far end of the sheet's foot line, level with its words. */
.fc-desk > .fc-sheet {
  grid-area: sheet;
}
.fc-story .fc-again {
  grid-area: sheet;
  align-self: end;
  justify-self: end;
  position: relative;
  z-index: 1;
  display: none;
  margin-block-end: 2px;
  margin-inline-end: var(--space-6);
  font-size: 11px;
}
.fc-story[data-beat="sheet"] .fc-again {
  display: block;
}
/* While the story plays, the foot's line keeps room at its end for Play again: its width in each language and a gap.
   A foot too long for the rest of the line (a phone's, in Spanish) wraps into two even lines rather than run under it. */
.fc-story {
  --again-room: 7.8em;
}
.for-creators:lang(es) .fc-story {
  --again-room: 9em;
}
.for-creators:lang(ko) .fc-story {
  --again-room: 5.2em;
}
.for-creators:lang(fa) .fc-story {
  --again-room: 6.2em;
}
.fc-story[data-beat] .fc-sheet-foot {
  padding-inline-end: var(--again-room);
  text-wrap: balance;
}
/* The score, set as a score is: the title centred, whose piece and the arranger on the right, the opening line
   across the sheet. */
.fc-story .fc-sheet {
  padding: 20px 24px 16px;
  border-radius: var(--radius-md);
}
.fc-story .fc-sheet-title {
  font-size: 24px;
}
/* The opening line is as wide as the sheet unless the stage is too short for it; then it is as tall as fits. */
.fc-story .fc-sheet-music {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}
.fc-story .fc-sheet-music img {
  width: auto;
  max-width: 100%;
  max-height: calc(var(--stage) - 216px);
}
/* While the work goes on the sheet has only what has been done: the notes first, the piece's title and whose it is
   once it is checked against the original, its foot with the markings, the arranger's name when it is engraved. */
.fc-story .fc-sheet :is(.fc-sheet-title, .fc-sheet-by > bdi, .fc-sheet-arr, .fc-sheet-foot) {
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease-settle);
}
.fc-story[data-beat="work"][data-phase="1"] :is(.fc-sheet-title, .fc-sheet-by > bdi),
.fc-story[data-beat="work"]:is([data-phase="1"], [data-phase="2"]) .fc-sheet-foot,
.fc-story[data-beat="work"]:not([data-phase="4"]) .fc-sheet-arr {
  opacity: 0;
  transform: translateY(4px);
}
/* What a phase looks at on the score: the key and time signatures when it is checked, the tempo when it is marked.
   It lies over the paper that hides a marking until it is written, so the tempo is written into its outline. */
.fc-mark {
  position: absolute;
  z-index: 1;
  top: 22%;
  bottom: 4%;
  border-radius: var(--radius-xs);
  background: var(--accent-tint);
  box-shadow: inset 0 0 0 1.5px var(--accent);
  opacity: 0;
  transform: scale(0.94);
  transition:
    opacity 0.3s,
    transform 0.4s var(--ease-spring);
  pointer-events: none;
}
.fc-mark-tempo {
  top: 2%;
  bottom: auto;
  height: 16%;
}
.fc-story[data-beat="work"][data-phase="2"] .fc-mark-sig,
.fc-story[data-beat="work"][data-phase="3"] .fc-mark-tempo {
  opacity: 1;
  transform: none;
}
/* The work's film (for-creators.js, scoreFilm) lies over the creator's own score picture, which it uncovers moment by
   moment: the staff ruled under the picture, a strip of fresh ink over each moment as it lands (orange where the
   picture is ink, white where it is paper), paper over the markings until they are written, the bar being checked
   lit and its tick under it. The cursors work over the whole sheet; the notes fly over the whole stage. */
.fc-sheet-music {
  isolation: isolate;
}
.fc-rule {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.fc-sheet:not(.is-filming) .fc-rule {
  display: none;
}
.fc-rule line {
  stroke: var(--ink);
  stroke-opacity: 0.55;
  stroke-width: 1;
  stroke-dasharray: 1;
  vector-effect: non-scaling-stroke;
}
.fc-fresh,
.fc-flock,
.fc-flight {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.fc-fresh i,
.fc-scan,
.fc-cover {
  position: absolute;
  opacity: 0;
}
.fc-fresh i {
  top: 0;
  bottom: 0;
  background: var(--accent);
  mix-blend-mode: lighten;
}
.fc-scan {
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--accent-tint);
  mix-blend-mode: multiply;
}
.fc-cover {
  background: var(--white);
}
.fc-tick {
  position: absolute;
  top: calc(100% + 6px);
  width: 18px;
  height: 18px;
  margin-inline-start: -9px;
  border-radius: 50%;
  background: var(--ink);
  opacity: 0;
}
.fc-tick svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* The cursors are the AI & MCP page's (styles.css, .film-cur): ink, orange at the moment they act. */
.fc-flock {
  z-index: 2;
  --film-ink: var(--ink);
  --film-live: var(--accent);
}
.fc-flock .film-cur {
  display: block;
  opacity: 0;
  transition: opacity 0.25s;
}
.fc-flock .film-cur.is-on {
  opacity: 1;
}
/* Persian names are set in the sans without the capitals' tracking, which would part their joined letters. */
.for-creators:lang(fa) .fc-flock .film-cur span {
  font-family: var(--sans);
  letter-spacing: 0;
}
/* Near the sheet's far edge a cursor holds its name on its other side, inside the stage. */
.fc-flock .film-cur.is-flip span {
  left: auto;
  right: 6px;
  border-radius: 8px 2px 8px 8px;
}
/* Over the line, where the tempo and the words a player reads stand, it holds its name above its point. */
.fc-flock .film-cur.is-up span {
  top: auto;
  bottom: 6px;
  left: 10px;
  border-radius: 8px 8px 8px 2px;
}
.fc-flock .film-cur.is-up.is-flip span {
  left: auto;
  border-radius: 8px 8px 2px 8px;
}
/* A note in flight: the picture's notehead, as large as it lands, in orange; an open one a ring, a TAB number a
   small square. */
.fc-flight {
  z-index: 3;
}
.fc-fly {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--head-w, 8px);
  height: var(--head-h, 6px);
  margin: calc(var(--head-h, 6px) / -2) 0 0 calc(var(--head-w, 8px) / -2);
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  will-change: transform, opacity;
}
.fc-fly-1 {
  background: none;
  box-shadow: inset 0 0 0 1.5px var(--accent);
}
.fc-fly-2 {
  border-radius: 2px;
}
/* A short window keeps two of the asks and sets the score's title and credit on one line. */
@media (min-width: 861px) and (max-height: 800px) {
  .fc-ask:nth-child(n + 3) {
    display: none;
  }
  .fc-ask,
  .fc-ask:nth-child(1) {
    font-size: 16px;
  }
  .fc-story[data-beat="cover"] .fc-ask:nth-child(1) {
    font-size: 32px;
  }
  .fc-burst {
    --fit: 0.76;
  }
  .fc-desk {
    gap: var(--space-2);
  }
  .fc-reply {
    min-height: 0;
    font-size: 16px;
  }
  .fc-story[data-beat="cover"] .fc-asks {
    gap: var(--space-2);
  }
  .fc-story .fc-sheet-music img {
    max-height: calc(var(--stage) - 236px);
  }
  .fc-story .fc-sheet {
    padding: 12px 20px;
  }
  .fc-story .fc-sheet-head {
    grid-template-columns: auto auto;
    align-items: end;
    justify-content: space-between;
  }
  .fc-story .fc-sheet-title {
    text-align: start;
  }
  .fc-story .fc-sheet-foot {
    margin-top: var(--space-2);
  }
  .fc-story .fc-again {
    margin-block-end: -2px;
    margin-inline-end: var(--space-5);
  }
}

/* Act two, the showcase: every piece as a card, a creator's video over its score, in a band the width of the window
   that moves by itself through all of them and stops under a pointer or a finger (for-creators.js). */
.fc-wall .fc-section-head {
  margin-bottom: clamp(24px, 3vw, 40px);
}
.fc-gallery {
  --card: clamp(300px, 30vw, 440px);
  --edge: max(var(--gutter), (100% - var(--page-max)) / 2);
  display: flex;
  gap: var(--space-5);
  overflow-x: auto;
  padding-inline: var(--edge);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.fc-gallery::-webkit-scrollbar {
  display: none;
}
.fc-pair {
  position: relative;
  flex: none;
  display: flex;
  flex-direction: column;
  width: var(--card);
}
.fc-gallery .fc-clip {
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
/* Every score is one sheet of paper under its video, as tall as the longest opening, its foot at the lower edge. */
.fc-gallery .fc-sheet {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 16px 12px;
  border: 1px solid var(--hair-strong);
  border-top: 0;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: none;
}
.fc-gallery .fc-sheet-title {
  font-size: 20px;
}
.fc-gallery .fc-sheet-music {
  margin-top: var(--space-3);
}
.fc-gallery .fc-sheet-foot {
  margin-top: auto;
  padding-top: var(--space-3);
}
/* A creator's video: its own picture and a press that plays it in the dialog. */
.fc-clip {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  background: var(--night);
  color: var(--white);
  text-decoration: none;
}
.fc-clip img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.7s var(--ease);
}
/* A hairline keeps a pale picture's edge against the page, and a ring the play button's against pale keys. */
.fc-clip::after {
  content: "";
  z-index: 2;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--hair-strong);
  pointer-events: none;
}
.fc-clip-play {
  position: absolute;
  z-index: 2;
  bottom: 16px;
  inset-inline-start: 16px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line-strong);
  color: var(--ink);
  transition: transform 0.3s var(--ease);
}
.fc-clip:hover .fc-clip-play {
  transform: scale(1.08);
}
/* Pressed, a YouTube video plays where it is, in YouTube's own player, over the score's edge and without the
   comments on it (for-creators.js). */
.fc-clip.is-playing {
  z-index: 4;
}
.fc-clip.is-playing > :not(iframe),
.fc-clip.is-playing::after {
  display: none;
}
.fc-clip iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* Before anyone presses, the first screen's video plays without sound in the same player, under its picture, which
   fades once the player's own title has gone (for-creators.js). The press then shows the sound it adds. */
.fc-clip iframe.fc-silent {
  z-index: 0;
  pointer-events: none;
}
/* The stage's own silent loop lies where YouTube's player would, filling the picture's frame. */
.fc-clip video.fc-silent {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
/* A press on it opens the video on YouTube, so its button keeps the play mark rather than turning to sound. */
.fc-clip[data-loop].is-live .fc-i-play {
  display: block;
}
.fc-clip[data-loop].is-live .fc-i-sound {
  display: none;
}
.fc-clip.is-live img {
  opacity: 0;
}
.fc-clip-play .fc-i-sound,
.fc-clip.is-live .fc-i-play {
  display: none;
}
.fc-clip.is-live .fc-i-sound {
  display: block;
  transform: none;
}
.fc-clip-play svg {
  width: 20px;
  height: 20px;
  transform: translateX(1px);
}

/* A score as it leaves us: the title, whose piece it is, the arranger's name, and its opening line. */
.fc-sheet {
  position: relative;
  display: block;
  padding: 20px 20px 16px;
  border: 0;
  border-radius: var(--radius-xs);
  background: var(--white);
  box-shadow: 0 0 0 1px var(--hair-strong);
  font: inherit;
  color: var(--ink);
  text-align: start;
}
.fc-sheet-head {
  display: grid;
  gap: var(--space-1);
}
.fc-sheet-title {
  font: 500 22px / var(--lh-heading) var(--serif);
  text-align: center;
}
.fc-sheet-by {
  display: grid;
  justify-items: right;
  font: 400 13px / var(--lh-snug) var(--serif);
  color: var(--muted);
}
.fc-sheet-arr {
  position: relative;
  font: 500 13px / var(--lh-ui) var(--sans);
  color: var(--ink-soft);
}
.fc-sheet-arr b {
  font-weight: 600;
  color: var(--accent-text);
}
.fc-sheet-music {
  position: relative;
  display: block;
  margin-top: var(--space-2);
  direction: ltr;
}
.fc-sheet-music img {
  display: block;
  width: 100%;
  height: auto;
}
.fc-sheet-foot {
  margin-top: var(--space-3);
  font: 500 11px / var(--lh-ui) var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
/* The versions of the score that follows its video: one quiet line, the one showing in orange. */
.fc-version,
.fc-again {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  font: 500 12px / var(--lh-ui) var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s;
}
.fc-version:hover,
.fc-again:hover {
  color: var(--ink);
}
.fc-version[aria-pressed="true"] {
  color: var(--accent-text);
}
/* The story plays itself once and rests on its end frame; Play again starts it over. The asks come in one after
   another; the video draws back; the score is written note by note by the work's film (its layers are above), or
   from its first bar behind an orange pen mark where its map cannot be had, and gains what each phase adds; a
   playhead runs over it three times. A card of the showcase stands written, so the writing is not repeated six times
   over. The script gives a score is-writing only once its picture has loaded, so the pen never
   crosses an empty sheet (owner, 2026-11-16: "一直都是白的", when the picture was left to load late and the mark ran
   ahead of it). With reduced motion, and without the script, everything stands complete. */
.fc-pen {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .fc-story {
    transition: grid-template-columns 0.9s var(--ease-settle);
  }
  /* Until the script arrives the stage waits empty, so the end frame is not seen and then taken away; where no
     script comes it stands complete after six seconds. */
  .fc-story:not([data-beat]) > * {
    animation: fc-hold 6s step-end both;
  }
  /* What fans ask comes out from behind the video's near edge one after another, so the video seems to send it
     (for-creators.js sets from where, and when): it slides out and settles without passing its place, and grows on a
     spring. The video lies over the column while they come. */
  .fc-story[data-beat="cover"] .fc-clip {
    z-index: 2;
  }
  .fc-story[data-beat] .fc-asks {
    position: relative;
    z-index: 1;
  }
  .fc-story[data-beat] .fc-ask {
    transform-origin: var(--from-origin, left center);
    transition:
      translate 0.75s var(--ease-settle),
      scale 0.8s var(--ease-spring),
      opacity 0.2s;
  }
  /* An earlier ask lies over a later one, which comes out from behind it where their ways cross (a phone's). */
  .fc-story[data-beat="cover"] .fc-ask {
    z-index: 5;
  }
  .fc-story[data-beat="cover"] .fc-ask:nth-child(2) {
    z-index: 4;
  }
  .fc-story[data-beat="cover"] .fc-ask:nth-child(3) {
    z-index: 3;
  }
  .fc-story[data-beat="cover"] .fc-ask:nth-child(4) {
    z-index: 2;
  }
  .fc-story[data-beat="cover"] .fc-ask:nth-child(5) {
    z-index: 1;
  }
  .fc-story[data-beat="cover"] .fc-ask:not(.is-in) {
    opacity: 0;
    translate: var(--from-x, 0) var(--from-y, 0);
    scale: 0.6;
    transition: none;
  }
  /* The asks and Starling's side arrive in their new places once the video has begun to draw back. */
  .fc-story[data-beat="work"] :is(.fc-asks, .fc-desk) {
    animation: fc-arrive 0.5s var(--ease) 0.2s both;
  }
  /* What Starling says comes in afresh each time it changes. */
  .fc-reply [data-fc-say].is-new {
    animation: fc-arrive 0.4s var(--ease) both;
  }
  /* A phase's bar fills over the time the phase takes (--fill, set by the script). */
  .fc-story[data-beat="work"] .fc-phase[data-state="doing"] i::after {
    animation: fc-fill var(--fill, 3s) linear both;
  }
  .is-writing .fc-sheet-music img {
    animation: fc-ink 4.6s cubic-bezier(0.3, 0, 0.6, 1) both;
  }
  .is-writing .fc-pen {
    animation: fc-pen 4.6s cubic-bezier(0.3, 0, 0.6, 1) both;
  }
  .is-waiting .fc-sheet-music img {
    clip-path: inset(0 100% 0 0);
  }
  /* The playhead: the pen's mark again, with a soft edge, from the first note to the end of the line. */
  .is-played .fc-pen {
    box-shadow: 0 0 0 4px var(--accent-tint);
    animation: fc-follow 5s linear 3 both;
  }
}
@keyframes fc-hold {
  from {
    visibility: hidden;
  }
  to {
    visibility: visible;
  }
}
@keyframes fc-fill {
  from {
    transform: scaleX(0);
  }
}
@keyframes fc-arrive {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
@keyframes fc-follow {
  0% {
    left: 9%;
    opacity: 0;
  }
  4%,
  96% {
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}
@keyframes fc-ink {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0);
  }
}
@keyframes fc-pen {
  0% {
    left: 0;
    opacity: 1;
  }
  94% {
    left: 100%;
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}
/* Sections */
.fc-section {
  padding-top: clamp(72px, 9vw, 128px);
}
.fc-section-head {
  margin-bottom: clamp(32px, 4vw, 56px);
}
.fc-section-head h2 {
  line-height: 1;
}
.fc-section-head h2[id],
.fc-end-card h2[id] {
  scroll-margin-top: var(--space-11);
}
.fc-section-lede {
  max-width: 36em;
  margin-top: var(--space-5);
  font-size: var(--lede);
  line-height: var(--lh-body);
  color: var(--muted);
}

/* The stage is as tall as the list beside it: its score lies on a page with room to spare, as scores do. */
.fc-stage {
  display: flex;
  flex-direction: column;
  padding: 20px 20px 8px;
  border-radius: var(--radius-lg);
  background: var(--layer-1);
}
.fc-stage-top {
  display: grid;
  grid-template-columns: minmax(0, 0.46fr) minmax(0, 0.54fr);
  column-gap: var(--space-5);
  align-items: center;
}
.fc-stage-top video {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  background: var(--night);
}
.fc-stage-title {
  font: 500 24px / var(--lh-heading) var(--serif);
  color: var(--ink);
}
.fc-stage-by {
  margin-top: var(--space-1);
  font: 400 15px / var(--lh-ui) var(--serif);
  color: var(--muted);
}
.fc-sound {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  margin-top: var(--space-4);
  padding: 0 16px 0 12px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: 0 0 0 1px var(--hair-strong);
  font: 500 14px / var(--lh-ui) var(--sans);
  color: var(--ink);
  cursor: pointer;
}
.fc-sound svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.fc-sound[aria-pressed="true"] svg {
  color: var(--accent-text);
}
.fc-sheet-live {
  flex: 1;
  display: grid;
  align-content: center;
  margin-top: var(--space-4);
  padding: 20px;
}
.fc-engraved-wrap {
  position: relative;
  overflow: hidden;
  direction: ltr;
}
/* One shape for every version, so a change of version never moves the page: the full score, its staff over its TAB,
   about fills it, and a single staff stands centred in it. */
.fc-engraved-wrap.engraved {
  aspect-ratio: 2.3;
}
.fc-engraved-wrap.engraved > svg {
  display: block;
  width: 100%;
  height: 100%;
}
.fc-engraved-wrap.engraved > svg[hidden] {
  display: none;
}
.fc-playhead {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 14%;
  width: 2px;
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-tint);
  pointer-events: none;
}
/* Engraved by scripts/art/prepare_creator_page_art.py; the bar being played turns orange. */
.fc-engraved-wrap.engraved g.measure .layer {
  transition:
    color 0.25s,
    fill 0.25s;
}
.fc-engraved-wrap.engraved g.measure.is-active .layer {
  color: var(--accent);
  fill: var(--accent);
}
.fc-versions {
  display: flex;
  flex-wrap: wrap;
  column-gap: var(--space-5);
  margin-top: var(--space-1);
}
.fc-video-credit {
  margin-top: var(--space-3);
  font: 400 12px / var(--lh-ui) var(--sans);
  color: var(--muted);
}
.fc-video-credit a {
  color: inherit;
}
/* Where your score can go (#fc-income): the file on one side and every place it can go on the other, joined by lines
   the script draws (for-creators.js, initRoute) and runs a copy along, place by place; the stores that license the
   song first, then your fans. Without the script the places stand as a list with nothing joining them. */
.fc-route {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 248px) minmax(64px, 1fr) minmax(0, 500px);
  align-items: center;
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background: var(--layer-1);
}
.fc-route-from {
  position: relative;
  z-index: 1;
  grid-column: 1;
  display: grid;
  align-content: start;
  gap: var(--space-6);
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 0 0 1px var(--hair-strong);
}
.fc-route-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--layer-2);
  color: var(--ink);
}
.fc-route-icon svg,
.fc-file-icon svg {
  width: 24px;
  height: 24px;
}
.fc-route-file {
  display: grid;
  gap: 2px;
}
.fc-route-file b {
  font: 600 20px / var(--lh-heading) var(--sans);
}
.fc-route-file span {
  font: 400 14px / var(--lh-ui) var(--sans);
  color: var(--muted);
}
.fc-route-kind {
  position: absolute;
  top: var(--space-3);
  inset-inline-end: var(--space-4);
  font: 500 11px / var(--lh-ui) var(--mono);
  letter-spacing: 0.06em;
  color: var(--muted);
}
.fc-route-to {
  position: relative;
  z-index: 1;
  grid-column: 3;
}
.fc-route-label {
  margin: 0 0 var(--space-3);
  padding-inline-start: var(--space-5);
  font: 500 12px / var(--lh-ui) var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.fc-route-stops + .fc-route-label {
  margin-top: var(--space-7);
}
.fc-route-stops {
  display: grid;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}
.fc-stop {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-4);
  min-height: 64px;
  padding-block: 12px;
  padding-inline: 20px 16px;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 0 0 1px var(--hair-strong);
}
.fc-stop-text {
  display: grid;
  gap: 2px;
}
.fc-stop-text b {
  font: 600 16px / var(--lh-snug) var(--sans);
}
.fc-stop-text > span {
  font: 400 14px / var(--lh-ui) var(--sans);
  color: var(--muted);
}
.fc-stop-tag {
  font: 500 11px / var(--lh-ui) var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--muted);
  transition: opacity 0.3s;
}
/* Each line ends in a dot on the edge of the place it reaches, and leaves the file from one. */
.fc-stop-dot,
.fc-route-port {
  position: absolute;
  top: 50%;
  display: none;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 3px var(--layer-1);
}
.fc-stop-dot {
  inset-inline-start: -6px;
}
.fc-route-port {
  inset-inline-end: -6px;
}
.fc-route[data-wired] :is(.fc-stop-dot, .fc-route-port) {
  display: block;
}
.fc-route-wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 1.5;
  stroke-linecap: round;
}
/* The copy on its way: the score in flight, in orange as music on its way is. */
.fc-token {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-tint);
  pointer-events: none;
}
.fc-route-foot {
  margin-top: var(--space-5);
  font: 400 15px / var(--lh-ui) var(--sans);
  color: var(--muted);
}

/* What comes back: the video whose score follows it (the play-along page), the same video as a clip for reels and
   shorts, and the files, each a real one that opens. */
.fc-kit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(260px, 31%, 352px);
  grid-template-rows: auto auto auto;
  gap: var(--space-9) var(--space-7);
}
/* Each thing over its words, the two words' lines level whatever their length (a grid shared with the kit). */
.fc-kit-item {
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
  row-gap: var(--space-4);
  min-width: 0;
  margin: 0;
}
.fc-kit-cap {
  display: grid;
  align-content: start;
  gap: var(--space-1);
  font: 400 15px / var(--lh-ui) var(--sans);
  color: var(--muted);
}
.fc-kit-label {
  font: 500 12px / var(--lh-ui) var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}
/* The clip: the video upright, the score's line on a strip of paper over its foot, the pen's mark playing along. */
.fc-reel {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--night);
}
.fc-reel video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Clear of the credit the video carries at its lower right. */
  object-position: 18% 50%;
}
.fc-reel-strip {
  position: absolute;
  inset: auto var(--space-3) var(--space-3);
  padding: 8px 12px;
  border-radius: var(--radius-xs);
  background: var(--white);
}
.fc-reel-line {
  position: relative;
  direction: ltr;
}
.fc-reel-line svg {
  display: block;
  width: 100%;
  height: auto;
}
.fc-reel-line g.measure .layer {
  transition:
    color 0.25s,
    fill 0.25s;
}
.fc-reel-line g.measure.is-active .layer {
  color: var(--accent);
  fill: var(--accent);
}
/* The files: the PDF opens, the MusicXML downloads, and a whole piece plays on its own page. */
.fc-files {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}
.fc-file {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-4);
  height: 100%;
  min-height: 72px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 0 0 1px var(--hair-strong);
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.2s;
}
.fc-file:hover {
  background: var(--layer-1);
}
.fc-file-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--layer-2);
}
.fc-file-text {
  display: grid;
  gap: 2px;
}
.fc-file-text b {
  font: 600 15px / var(--lh-snug) var(--sans);
}
.fc-file-text span {
  font: 400 13px / var(--lh-ui) var(--sans);
  color: var(--muted);
}
.fc-file-go {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font: 500 13px / var(--lh-ui) var(--sans);
  white-space: nowrap;
  color: var(--muted);
  transition: color 0.2s;
}
.fc-file:hover .fc-file-go {
  color: var(--ink);
}
.fc-file-go svg {
  width: 16px;
  height: 16px;
}
[dir="rtl"] .fc-file-go svg {
  transform: scaleX(-1);
}

/* How it goes, in the website's drawings: three steps on one line, each under a bar that fills in orange in its turn
   once the steps are in view, as the first screen's phases do, and rests in ink. */
.fc-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-7);
  margin: 0;
  padding: 0;
  list-style: none;
}
.fc-step {
  display: flex;
  flex-direction: column;
}
.fc-step img {
  display: block;
  width: 100%;
  height: auto;
}
.fc-step-bar {
  position: relative;
  display: block;
  height: 2px;
  margin-top: var(--space-5);
  overflow: hidden;
  background: var(--ink);
}
.fc-step-num {
  margin-top: var(--space-3);
  font: 500 12px / var(--lh-ui) var(--mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.fc-step h3 {
  margin-top: var(--space-1);
  font: 600 20px / var(--lh-heading) var(--sans);
}
.fc-step p {
  max-width: 30em;
  margin-top: var(--space-2);
  font: 400 16px / var(--lh-body) var(--sans);
  color: var(--muted);
}

/* The two ways to go on: equal panels, each with its terms in ruled rows as the price card has them. */
.fc-ways {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(7, auto);
  column-gap: var(--space-6);
  margin: 0;
  padding: 0;
  list-style: none;
}
/* Each panel's parts share rows with the other's, so the two stand level part by part in every language. */
.fc-way {
  display: grid;
  grid-row: span 7;
  grid-template-rows: subgrid;
  row-gap: 0;
  padding: clamp(24px, 3.4vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--layer-1);
}
.fc-way-label {
  font: 500 12px / var(--lh-ui) var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.fc-way h3 {
  margin-top: var(--space-3);
  font: 600 24px / var(--lh-heading) var(--sans);
}
.fc-way-line {
  max-width: 34em;
  margin-top: var(--space-3);
  font: 400 16px / var(--lh-body) var(--sans);
  color: var(--ink-soft);
}
.fc-terms-head {
  align-self: end;
  padding-top: var(--space-7);
  font: 500 14px / var(--lh-ui) var(--sans);
  color: var(--ink);
}
.fc-terms {
  margin: var(--space-3) 0 0;
  border-bottom: 1px solid var(--hair-strong);
}
.fc-terms > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  align-items: center;
  gap: var(--space-4);
  min-height: 56px;
  padding: 12px 0;
  border-top: 1px solid var(--hair-strong);
}
.fc-terms dt {
  font: 400 14px / var(--lh-ui) var(--sans);
  color: var(--muted);
}
.fc-terms dd {
  margin: 0;
  font: 500 15px / var(--lh-ui) var(--sans);
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.fc-way-note {
  margin-top: var(--space-4);
  font: 400 13px / var(--lh-ui) var(--sans);
  color: var(--muted);
}
/* What our scores carry at their foot, as the PDF prints it: the bird and its words. */
.fc-made {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.fc-made img {
  width: 16px;
  height: 16px;
}

/* The scenes below the showcase play once they come into view (for-creators.js sets data-play only where motion is
   allowed) and rest on what the page shows without the script: every line drawn, every place reached, every bar ink. */
.fc-route[data-play="ready"] .fc-route-wires {
  visibility: hidden;
}
.fc-route:is([data-play="ready"], [data-play="on"]) .fc-stop:not(.is-in) .fc-stop-tag {
  opacity: 0;
}
.fc-route:is([data-play="ready"], [data-play="on"]) .fc-stop:not(.is-in) .fc-stop-dot {
  background: var(--white);
  box-shadow:
    inset 0 0 0 1.5px var(--line-strong),
    0 0 0 3px var(--layer-1);
}
/* A copy arrives: the place's edge lights in orange and the dot lands orange, then both cool to ink. */
.fc-stop.is-ping {
  animation: fc-stop-in 1.1s var(--ease) both;
}
.fc-stop.is-ping .fc-stop-dot {
  animation:
    fc-dot-pop 0.66s var(--ease-spring) both,
    fc-dot-in 1.1s var(--ease) both;
}
@keyframes fc-stop-in {
  from {
    box-shadow:
      0 0 0 1px var(--accent),
      0 0 0 4px var(--accent-tint);
  }
  to {
    box-shadow: 0 0 0 1px var(--hair-strong);
  }
}
@keyframes fc-dot-pop {
  from {
    transform: scale(1.6);
  }
  to {
    transform: scale(1);
  }
}
@keyframes fc-dot-in {
  from,
  45% {
    background: var(--accent);
  }
  to {
    background: var(--ink);
  }
}
.fc-step:nth-child(2) {
  --at: 1.1s;
}
.fc-step:nth-child(3) {
  --at: 2.2s;
}
.fc-steps:is([data-play="ready"], [data-play="on"]) .fc-step-bar {
  background: var(--line);
}
.fc-steps[data-play="ready"] .fc-step-num {
  color: var(--muted);
}
.fc-steps[data-play="ready"] .fc-step img {
  opacity: 0.3;
}
.fc-steps[data-play="on"] .fc-step-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  transform-origin: left center;
  animation: fc-step-fill 1.3s linear var(--at, 0s) both;
}
[dir="rtl"] .fc-steps[data-play="on"] .fc-step-bar::after {
  transform-origin: right center;
}
.fc-steps[data-play="on"] .fc-step-num {
  animation: fc-step-num 1.3s linear var(--at, 0s) both;
}
.fc-steps[data-play="on"] .fc-step img {
  animation: fc-step-art 0.6s var(--ease) var(--at, 0s) both;
}
@keyframes fc-step-fill {
  from {
    transform: scaleX(0);
    background: var(--accent);
  }
  75% {
    transform: scaleX(1);
    background: var(--accent);
  }
  to {
    transform: scaleX(1);
    background: var(--ink);
  }
}
@keyframes fc-step-num {
  from {
    color: var(--muted);
  }
  5%,
  75% {
    color: var(--accent-text);
  }
  to {
    color: var(--ink);
  }
}
@keyframes fc-step-art {
  from {
    opacity: 0.3;
  }
  to {
    opacity: 1;
  }
}

/* The last word and the way to reach us. */
.fc-end {
  padding: clamp(72px, 9vw, 128px) 0 clamp(64px, 8vw, 112px);
}
.fc-end-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: var(--space-8);
  padding: clamp(32px, 5vw, 64px);
  border-radius: var(--radius-lg);
  background: var(--layer-1);
}
.fc-end-card h2 {
  max-width: 12em;
  line-height: 1;
}
.fc-end-card p {
  max-width: 30em;
  margin-top: var(--space-5);
  font-size: var(--lede);
  line-height: var(--lh-body);
  color: var(--muted);
}
.fc-end-bird {
  width: 220px;
  height: auto;
}
/* Starling sings toward the words, whichever side they are on. */
[dir="rtl"] .fc-end-bird {
  transform: scaleX(-1);
}
/* On a phone the way to reach us stays in reach between the first screen and the last (below). */
.fc-dock {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .fc-clip-play,
  .fc-dock,
  .fc-file,
  .fc-file-go,
  .fc-stop-tag {
    transition: none;
  }
}

@media (max-width: 1040px) {
  .fc-hero-grid {
    column-gap: var(--space-7);
  }
  .fc-route {
    grid-template-columns: minmax(0, 220px) minmax(48px, 1fr) minmax(0, 440px);
  }
}
/* A phone, where a link in a direct message opens: the headline, the video, three of the asks under it, then the
   score being made. The ink button waits on the band at the foot of the screen from the start, so the first screen
   always holds what it is and where to press. */
@media (max-width: 860px) {
  .fc-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "head";
  }
  .fc-reach {
    display: none;
  }
  /* The stage keeps one height. The video is as wide as the phone with three asks under it; then it draws back to
     the corner, two asks beside it, and Starling's side has the rest, so the work and the score are both on the
     first screen. The first column grows from half the stage to all of it and the second gives way. */
  .for-creators:lang(fa) .fc-story {
    --stage: 480px;
  }
  .fc-story,
  .fc-story[data-beat="cover"] {
    --stage: 480px;
    grid-template-columns: 50% 50%;
    grid-template-rows: auto minmax(0, 1fr);
    grid-template-areas:
      "clip asks"
      "desk desk";
    gap: var(--space-4) 0;
    margin-top: var(--space-5);
  }
  .fc-story:is([data-beat="cover"], [data-beat="burst"]) {
    grid-template-columns: 100% 0%;
    grid-template-rows: auto minmax(0, 1fr);
    grid-template-areas:
      "clip ."
      "asks asks";
  }
  /* The burst is under the video, where the asks were: the words, two videos and the two scores for other
     instruments. */
  .fc-bit-any {
    --x: 0%;
    --y: 44%;
    --w: 100%;
  }
  .fc-bit-v1 {
    --x: 0%;
    --y: 54%;
    --w: 47%;
    --turn: -2deg;
  }
  .fc-bit-v2 {
    --x: 52%;
    --y: 55%;
    --w: 48%;
    --turn: 3deg;
  }
  .fc-bit-s1 {
    --x: 0%;
    --y: 77%;
    --w: 50%;
    --turn: 2deg;
  }
  .fc-bit-s2 {
    --x: 50%;
    --y: 78%;
    --w: 50%;
    --turn: -2deg;
  }
  .fc-bit:is(.fc-bit-v3, .fc-bit-s3, .fc-bit-s4, .fc-bit-s5, .fc-bit-s6) {
    display: none;
  }
  .fc-story .fc-asks {
    align-self: center;
    padding-inline-start: var(--space-3);
  }
  .fc-story[data-beat="cover"] .fc-asks {
    align-self: start;
    justify-content: flex-start;
    gap: var(--space-2);
    padding-inline-start: 0;
  }
  .fc-story .fc-ask,
  .fc-story .fc-ask:nth-child(1) {
    font-size: 14px;
  }
  .fc-story .fc-ask:nth-child(n + 3) {
    display: none;
  }
  .fc-story[data-beat="cover"] .fc-ask:nth-child(n) {
    font-size: 16px;
  }
  .fc-story[data-beat="cover"] .fc-ask:nth-child(1) {
    font-size: 24px;
    letter-spacing: 0;
  }
  .fc-story[data-beat="cover"] .fc-ask:nth-child(3) {
    display: block;
  }
  .fc-story[data-beat="cover"] .fc-ask:nth-child(n + 4) {
    display: none;
  }
  /* Under the video a comment's tight corner is at its top, toward the video it came out of. */
  .fc-story[data-beat="cover"] .fc-ask {
    border-end-start-radius: 16px;
    border-start-start-radius: 4px;
  }
  /* Beside the small video the round button is small too; the whole picture is the press. */
  .fc-story:not([data-beat="cover"], [data-beat="burst"]) .fc-clip-play {
    bottom: 8px;
    inset-inline-start: 8px;
    width: 32px;
    height: 32px;
  }
  .fc-story:not([data-beat="cover"], [data-beat="burst"]) .fc-clip-play svg {
    width: 16px;
    height: 16px;
  }
  .fc-desk {
    align-content: start;
  }
  .fc-phases {
    gap: var(--space-2);
  }
  .fc-phase {
    font-size: 11px;
    letter-spacing: 0.02em;
  }
  .fc-phase b {
    display: none;
  }
  .fc-bird {
    width: 32px;
    height: 38px;
  }
  .fc-story .fc-again {
    margin-block-end: -2px;
    margin-inline-end: var(--space-4);
  }
  .fc-reply {
    min-height: 4.8em;
    font-size: 15px;
  }
  .fc-story .fc-sheet {
    padding: 16px 16px 12px;
  }
  .fc-story .fc-sheet-title {
    font-size: 20px;
  }
  .fc-story .fc-sheet-music img {
    max-height: none;
  }
  .fc-gallery {
    --card: min(78vw, 340px);
    gap: var(--space-3);
  }
  /* The docked button sits on a band of paper with a hairline above it, as on /mcp, so it never lies on a picture. */
  .fc-dock {
    position: fixed;
    z-index: 30;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4) calc(var(--space-3) + env(safe-area-inset-bottom));
    background: var(--paper);
    box-shadow: 0 -1px 0 var(--hair);
    transition:
      transform 0.32s var(--ease-settle),
      visibility 0.32s;
  }
  /* Its words stay on one line on the narrowest phone. */
  .fc-dock .btn {
    padding-inline: var(--space-4);
    white-space: nowrap;
  }
  .fc-dock :is(.fc-dock-mail, .fc-dock-social) {
    aspect-ratio: 1;
    padding: 0;
  }
  /* It leaves when the last card's own button comes into view. */
  .fc-dock.is-off {
    visibility: hidden;
    transform: translateY(100%);
  }
  /* Room under the last card for the docked button to rest. */
  .fc-end {
    padding-bottom: calc(var(--space-11) + env(safe-area-inset-bottom));
  }
  .fc-actions {
    margin-top: var(--space-6);
  }
  /* The places hang from one rail that leaves the file at its foot. */
  .fc-route {
    --rail: 20px;
    grid-template-columns: minmax(0, 1fr);
  }
  .fc-route-to {
    grid-column: 1;
    margin-top: var(--space-8);
  }
  .fc-route-label {
    padding-inline-start: calc(var(--rail) + var(--space-5));
  }
  .fc-route-stops {
    margin-inline-start: var(--rail);
  }
  .fc-route-from {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: var(--space-4);
    padding: 20px;
  }
  .fc-route-icon {
    width: 48px;
    height: 48px;
  }
  .fc-route-file b {
    font-size: 18px;
  }
  .fc-route-port {
    top: auto;
    bottom: -6px;
    inset-inline: calc(var(--rail) - 6px) auto;
    margin-top: 0;
  }
  .fc-stop {
    grid-template-areas:
      "name tag"
      "line line";
    row-gap: 2px;
  }
  .fc-stop-text {
    display: contents;
  }
  .fc-stop-text b {
    grid-area: name;
  }
  .fc-stop-text > span {
    grid-area: line;
  }
  .fc-stop-tag {
    grid-area: tag;
  }
  /* The clip stands beside its words, the files one under another. */
  .fc-kit {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    row-gap: var(--space-8);
  }
  .fc-kit-item {
    grid-row: auto;
    grid-template-rows: none;
  }
  .fc-kit-reel {
    grid-template-columns: minmax(0, 46%) minmax(0, 1fr);
    align-items: center;
    column-gap: var(--space-5);
  }
  .fc-reel {
    min-height: 0;
    aspect-ratio: 9 / 16;
  }
  .fc-files {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-3);
  }
  .fc-end-card {
    grid-template-columns: minmax(0, 1fr);
  }
  .fc-end-bird {
    width: 120px;
    justify-self: end;
  }
}

@media (max-width: 640px) {
  .fc-actions .btn {
    width: 100%;
  }
  .fc-end-card {
    gap: var(--space-5);
  }
  /* Each step is its drawing beside its words. */
  .fc-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-7);
  }
  .fc-step {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    column-gap: var(--space-4);
    align-content: start;
  }
  .fc-step img {
    grid-row: 1 / span 4;
  }
  .fc-step > :not(img) {
    grid-column: 2;
  }
  .fc-step-bar {
    margin-top: var(--space-2);
  }
  .fc-ways {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    row-gap: var(--space-4);
  }
  .fc-way {
    grid-row: auto;
    grid-template-rows: none;
  }
  .fc-terms > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
  .fc-file {
    padding: 12px 16px;
  }
  /* The word stays for a screen reader; the arrow says it here. */
  .fc-file-go {
    font-size: 0;
  }
  .fc-sheet {
    padding: 16px 16px 12px;
  }
  .fc-sheet-title {
    font-size: 20px;
  }
  .fc-stage {
    padding: 12px 12px 4px;
  }
  .fc-stage-top {
    column-gap: var(--space-4);
  }
  .fc-stage-title {
    font-size: 20px;
  }
  .fc-sheet-live {
    padding: 12px;
  }
}

/* Compare a delivered score with a score being written in the assistant. */
.fc-choice-art {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(116px, 13vw, 172px);
  margin-bottom: var(--space-6);
  isolation: isolate;
  overflow: hidden;
}
.fc-choice-input {
  width: 42%;
  height: 78%;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-sm);
  transform: rotate(-5deg);
}
.for-teachers .fc-choice-input {
  object-position: center 12%;
}
.fc-choice-paper {
  display: grid;
  place-items: center;
  width: 54%;
  height: 76%;
  padding: var(--space-3);
  margin-inline-start: -4%;
  background: var(--white);
  border: 1px solid var(--hair);
  box-shadow: 0 3px 8px var(--hair);
  transform: rotate(3deg);
}
.fc-choice-paper img {
  width: 100%;
  max-height: 100%;
  object-fit: contain;
  min-height: 0;
}
.fc-choice-demo {
  display: grid;
  grid-template-columns: repeat(2, auto);
  grid-template-rows: minmax(0, 1fr) auto;
  justify-content: center;
  min-width: 0;
  margin: 0 0 var(--space-6);
  padding: 0;
  height: clamp(116px, 13vw, 172px);
  border: 0;
}
.fc-choice-demo label {
  grid-row: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  gap: var(--space-2);
  padding-inline: var(--space-2);
  font-size: var(--small);
  cursor: pointer;
}
.fc-choice-demo input {
  accent-color: var(--accent-text);
}
.fc-choice-demo label:has(:checked) {
  font-weight: 600;
}
.fc-choice-preview {
  grid-area: 1 / 1 / 2 / -1;
  display: grid;
  place-items: center;
  padding: var(--space-2) var(--space-4);
  background: var(--white);
  border-radius: var(--radius-sm);
}
.fc-choice-preview img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
.fc-choice-demo:has([value="melody"]:checked) img:last-child,
.fc-choice-demo:has([value="piano"]:checked) img:first-child {
  display: none;
}
.fc-project-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-6);
  color: var(--ink);
  text-decoration: none;
}
.fc-project-link img {
  width: clamp(72px, 9vw, 112px);
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.fc-project-link strong {
  display: block;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.fc-project-link:dir(rtl) .fc-forward {
  display: inline-block;
  transform: scaleX(-1);
}
