/* The free-form metronome: the top bar's Metronome button (build 271) and the metronome screen, redrawn in build 274 in
   the Emporium's look (Nikhil, November 20, 2026: "ultra minimalist, but it needs to come off as pristine", "we could use
   Emporium's design since this is kind of a practice tool", "a smidge of delight"). One sheet holds everything a student
   touches while playing, and the choices sit beside it as the Emporium sets its lists: a fine ink rule over each name,
   quiet choices under it. The sheet is the Emporium's own (.m-sheet in emporium.css): TabbyGato's green, the folded
   corner and the printed edge of the six string colors. Every value comes from tokens.css. */

/* A new kind on the type ladder: the tempo, read from playing distance. Like the count-in number on Play, it has a
   size of its own, sized to its job: the sheet's one large number. */
:root { --tg-type-tempo: 104px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- The top bar's button ---------- */
/* It sits at the right, before Account, so Account loses its own push to the right. "Metronome" measures 67 pixels in
   the 12 pixel label style, inside the top bar's 72 pixel buttons. */
.topbar .metro-door { margin-left: auto; }
.topbar .metro-door ~ .account-btn { margin-left: 0; }
.door-icon { position: relative; display: inline-flex; }
/* While the metronome clicks with its screen closed: the word becomes the tempo in the accent color, and a small dot
   beside the icon lights on each beat. Blue marks where the music is, everywhere outside the sheet. */
.door-beat { position: absolute; top: -1px; right: -7px; width: 7px; height: 7px; border-radius: var(--tg-corner-round); background: var(--play); opacity: 0; }
.metro-door.running .door-beat { opacity: 0.35; }
.metro-door.running .door-beat.on { opacity: 1; }
.metro-door.running:not([aria-pressed="true"]) .lbl { color: var(--accent); font-variant-numeric: tabular-nums; }

/* ---------- The screen ---------- */
/* It lies over everything under the top bar, above the music's own layers (up to 1002 in app.css), so the open song
   waits underneath unchanged. metronome-view.mjs sets the top to the top bar's bottom edge. The paper is the
   Emporium's: the brightest surface, as a printed catalog's page. */
.free-metro {
  position: fixed; left: 0; right: 0; bottom: 0; top: var(--tg-size-topbar); z-index: 1100;
  overflow-y: auto; overscroll-behavior: contain; background: var(--tg-paper); color: var(--ink);
  font-feature-settings: "tnum" 1;
  display: grid; align-content: safe center; /* the page sits in the middle of a tall window, and scrolls from the top in a short one */
}
.free-metro button { font: inherit; color: inherit; background: none; border: 0; margin: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.free-metro :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.free-metro ::selection { background: var(--tg-selection); }
.fm-page {
  box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); column-gap: var(--tg-space-48);
  align-items: center; width: 100%; max-width: 1240px; margin: 0 auto; padding: var(--tg-space-24) var(--tg-space-48) var(--tg-space-32);
}

/* ---------- The sheet ---------- */
/* On the sheet every word and mark uses the sheet's own light ink (--on), as on every Emporium sheet. */
.m-sheet.fm-sheet { display: grid; justify-items: center; row-gap: var(--tg-space-12); padding: var(--tg-space-16) var(--tg-space-48) var(--tg-space-32); }
.fm-sheet :focus-visible { outline-color: var(--on); }
.fm-sheettop {
  display: flex; align-items: center; justify-content: space-between; gap: var(--tg-space-16); justify-self: stretch;
  min-height: 36px; padding-right: var(--tg-space-24); border-bottom: 1px solid var(--on-line); font-size: 13px;
}
.fm-sigread { font-weight: 700; letter-spacing: 0.01em; }
.fm-sigread small { margin-left: 6px; color: var(--on-soft); font-size: 13px; font-weight: 500; }
.fm-note { color: var(--on-soft); font-weight: 600; letter-spacing: 0.01em; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* The beats. Each beat keeps a 52 pixel place whatever its state, so a press never moves the beats beside it. An
   accented beat is a large disc, a plain beat a smaller one, and a silent beat an empty ring. The clicks between the
   beats show as small dots and take no press. The beat that is clicking gets a ring of the sheet's ink. In a silent bar
   every beat turns to a dashed ring. The row keeps 40 pixels above the beats for the bouncing dot. */
.fm-beats { position: relative; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; row-gap: var(--tg-space-8); max-width: 100%; padding-top: 40px; min-height: 108px; box-sizing: border-box; }
.fm-slot { display: flex; align-items: center; }
.fm-beat { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--tg-corner-round); }
.fm-beat .dot { display: block; width: 18px; height: 18px; border-radius: var(--tg-corner-round); background: var(--on-soft); opacity: 0.62; outline: 2px solid transparent; outline-offset: 5px; transition: outline-color var(--tg-time-quick) linear; }
.fm-beat.accent .dot { width: 30px; height: 30px; background: var(--on); opacity: 1; outline-offset: 4px; }
.fm-beat.silent .dot { background: transparent; opacity: 1; box-shadow: inset 0 0 0 1.5px var(--on-line); }
.fm-beat:hover .dot { opacity: 1; }
.fm-beat .num { position: absolute; bottom: -12px; color: var(--on-soft); font-size: var(--tg-type-note); font-weight: 600; }
.fm-beat.now .dot { outline-color: var(--on); transition: none; }
.fm-between { display: flex; gap: 6px; padding: 0 2px; }
.fm-between i { width: 5px; height: 5px; border-radius: var(--tg-corner-round); background: var(--on-soft); opacity: 0.45; }
.fm-between i.now { opacity: 1; background: var(--on); }
.fm-between.quiet i, .fm-beats.silent-bar .fm-between i { background: transparent; opacity: 1; box-shadow: inset 0 0 0 1px var(--on-line); }
.fm-beats.silent-bar .fm-beat .dot { background: transparent; opacity: 1; box-shadow: none; border: 1.5px dashed var(--on-soft); }
/* A drum beat's row (build 309). The same marks name the drums: a large disc is the snare, a smaller disc the kick, a
   small dot the hi-hat, and a small ring a soft tap on the snare. A beat keeps the 52 pixel place it has for the click, and each beat's slot has one width
   (metronome-view.mjs sets it from the sheet's room), so a press never moves a mark. A mark between two beats sits
   where its hit falls in time. A rested beat is the empty ring a silent beat has. */
.fm-beats.drums .fm-slot { position: relative; height: 52px; }
.fm-beats.drums .fm-beat { position: absolute; left: 0; top: 0; }
/* Builds 331 and 332 (Nikhil, December 1, 2026): beat 1 is the largest and brightest mark, whatever drum plays it, so
   the eye finds the start of the bar. On the other beats the size still names the drum (the snare larger than the
   kick), and both take the soft color. */
.fm-beat.m-snare .dot { width: 24px; height: 24px; background: var(--on-soft); opacity: 0.72; }
.fm-beat.m-kick .dot { width: 20px; height: 20px; background: var(--on-soft); opacity: 0.72; }
.fm-beats.drums .fm-beat.one .dot { width: 30px; height: 30px; background: var(--on); opacity: 1; outline-offset: 4px; }
.fm-beat.m-hat .dot { width: 8px; height: 8px; background: var(--on-soft); opacity: 0.6; }
.fm-beat.m-none .dot { width: 8px; height: 8px; background: transparent; opacity: 1; box-shadow: inset 0 0 0 1px var(--on-line); } /* a beat no drum plays on (Sparse) */
.fm-beat.m-tap .dot { width: 9px; height: 9px; background: transparent; opacity: 1; box-shadow: inset 0 0 0 1.5px var(--on-soft); }
.fm-beat.rest .dot { background: transparent; opacity: 1; box-shadow: inset 0 0 0 1.5px var(--on-line); }
.fm-step { position: absolute; top: 50%; width: 0; height: 0; pointer-events: none; }
.fm-step i { position: absolute; left: 0; top: 0; width: 5px; height: 5px; border-radius: var(--tg-corner-round); background: var(--on-soft); opacity: 0.5; transform: translate(-50%, -50%); outline: 2px solid transparent; outline-offset: 3px; }
.fm-step.m-snare i { width: 16px; height: 16px; background: var(--on-soft); opacity: 0.72; }
.fm-step.m-kick i { width: 11px; height: 11px; background: var(--on-soft); opacity: 0.72; }
/* A soft tap on the snare (build 310, Country's train beat): a small ring, so the loud snare on the backbeat stands out. */
.fm-step.m-tap i { width: 7px; height: 7px; background: transparent; opacity: 1; box-shadow: inset 0 0 0 1.5px var(--on-soft); }
.fm-step.m-tap.now i { background: var(--on); box-shadow: none; }
.fm-step.now i { opacity: 1; background: var(--on); outline-color: var(--on); }
.fm-slot.rest .fm-step i, .fm-beats.silent-bar .fm-step i { background: transparent; opacity: 1; box-shadow: inset 0 0 0 1px var(--on-line); }
/* The sheet fades to the picked beat's color in 320 milliseconds, and nothing on the sheet moves. */
@property --deep { syntax: '<color>'; inherits: true; initial-value: #245c53; }
.fm-sheet { transition: --deep 320ms var(--tg-ease-out); }
/* A beat's chip carries a 9 pixel dot of its sheet color, as an Emporium aisle's name carries its color. */
/* Ten Beat choices take two lines (build 314): the click and the four straight beats above, the others below. The row
   keeps two lines' height from 1,001 pixels wide up, so a pick moves nothing. */
.fm-beatseg { min-height: 74px; align-content: flex-start; }
.free-metro .fm-beatseg .fm-opt { display: inline-flex; align-items: center; gap: 7px; }
.fm-beatseg .brk { flex-basis: 100%; height: 0; }
.fm-beatseg .sw { width: 9px; height: 9px; border-radius: var(--tg-corner-round); background: var(--sw); flex: none; }
/* A grouping (build 311): a bar of five or seven beats counted in groups, such as 3+2. A 14 pixel gap sits before each
   group, and a plain beat that starts a group draws a little larger than a plain beat, and smaller than an accent. The
   choices sit on the Time signature heading's line, in the small size Other's two numbers use. */
.fm-slot.gap { margin-left: 14px; }
.fm-beat.beat.gstart .dot { width: 23px; height: 23px; opacity: 0.86; }
.fm-groups { margin-left: auto; }
.fm-glbl { margin-right: 2px; color: var(--muted); font-size: var(--tg-type-note); font-weight: 500; }
/* The click's sound choices rest at half strength while a drum beat plays with no click over it (build 312). */
.fm-seg.idle .fm-opt { opacity: 0.5; }
.fm-seg.idle .fm-opt:hover, .fm-seg.idle .fm-opt:focus-visible { opacity: 1; }
.fm-groups + .fm-other:not([hidden]) { margin-left: var(--tg-space-4); }
.free-metro .fm-groups .fm-opt { padding: 0 6px; }
/* The rule under the sheet's top line (build 313). It keeps one height for every beat and every Drummer choice, so a
   pick moves nothing. For the click and for Steady it is the plain rule the sheet always had. For Varied it shows
   eight bars, the last named Fill. For Song each piece is a section, as wide as its bars, and the playing section's
   bars fill in along the rule. */
.fm-sheettop { border-bottom: 0; }
.fm-form { display: flex; gap: 3px; justify-self: stretch; height: 20px; margin-top: calc(-1 * var(--tg-space-12)); padding-right: var(--tg-space-24); }
.fm-form .seg { position: relative; flex: var(--bars, 1) 1 0; min-width: 0; padding-top: 5px; border-top: 1px solid var(--on-line); color: var(--on-soft); font-size: 11px; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap; overflow: hidden; opacity: 0.72; }
.fm-form .seg::before { content: ""; position: absolute; left: 0; top: -1px; height: 3px; width: calc(var(--p, 0) * 100%); background: var(--on); }
.fm-form .seg.now { color: var(--on); opacity: 1; }
.fm-form .seg.done { opacity: 0.5; }
.fm-form .seg:last-child { overflow: visible; }
.fm-form.plain { gap: 0; }
/* The Drummer choices (Steady, Varied, Song) sit on the Beat heading's line, as a bar's groups sit on Time signature's. */
/* Build (builds 315 and 316): one press plays one bar of buildup, then the beat returns with a crash. A player presses
   it while playing, so it sits on the sheet with Start and Tap, 12 pixels right of Tap, in Tap's outlined pill. It is
   placed from the row's middle, so Start and Tap keep their exact places whether Build shows or not. It keeps one
   width for "Build" and "Building". */
.fm-go-row { position: relative; }

/* ---------- Focus while it plays (build 316) ---------- */
/* Nikhil asked on November 24, 2026, for "pure focus mode": "extra options and sounds should fade / fade away while
   metronome is playing", to help a player reach a state of flow. A few seconds after Start, with the pointer still,
   the choices beside the sheet settle to a faint 16 percent over 1.4 seconds, and the sheet is the one lit thing on
   the page. Any move of the pointer, any key and any touch brings the choices back in a quarter of a second. Nothing
   moves and nothing is removed: the choices keep their places and stay faintly in view, so a player knows where they
   are. A choice that holds the keyboard's focus keeps the choices lit. */
.fm-choices { transition: opacity 240ms var(--tg-ease-out); }
.free-metro.focus .fm-choices { opacity: 0.16; transition: opacity 1400ms cubic-bezier(0.4, 0, 0.2, 1); }
.free-metro.focus .fm-choices:focus-within { opacity: 1; transition: opacity 240ms var(--tg-ease-out); }
/* Build 323. A first touch on the faded choices only wakes them, and a slider answers a touch with no click to
   swallow, so on a touch the faded choices take no press at all: the touch lands on the page behind them, the choices
   return, and the next touch presses. A device set to show more contrast never dims (metronome-view.mjs holds the
   same rule, and this line backs it up). */
.free-metro.focus.by-touch .fm-choices:not(:focus-within) { pointer-events: none; }
@media (prefers-contrast: more) { .free-metro.focus .fm-choices, body.metro-focus .topbar > :not(#homeLogo) { opacity: 1; } }
/* The app's top bar dims with the choices, to 40 percent, and the logo keeps its full strength (Nikhil, November 25,
   2026). Nothing in the bar moves, and every button in the bar still takes a press. */
.topbar > :not(#homeLogo) { transition: opacity 240ms var(--tg-ease-out); }
body.metro-focus .topbar > :not(#homeLogo) { opacity: 0.4; transition: opacity 1400ms cubic-bezier(0.4, 0, 0.2, 1); }

/* The bouncing dot (build 272): it leaves the beat that just clicked and lands on the next as that beat clicks. */
.fm-ball { position: absolute; left: 0; top: 0; width: 12px; height: 12px; border-radius: var(--tg-corner-round); background: var(--on); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18); pointer-events: none; will-change: transform; }

/* The tempo: the sheet's one large number, set like the Emporium's sign (tight, heavy, plain), with Slower and Faster
   as two quiet rings beside it. The number is typed into, so it keeps a fine underline. */
.fm-tempo { display: grid; grid-template-columns: auto auto auto; align-items: center; column-gap: var(--tg-space-32); margin-top: var(--tg-space-8); }
.fm-readbox { display: grid; justify-items: center; row-gap: 2px; }
.fm-read { display: inline-flex; align-items: baseline; gap: var(--tg-space-8); cursor: text; }
.fm-read input {
  width: 3.05ch; height: calc(var(--tg-type-tempo) * 1.02); margin: 0; padding: 0; border: 0; border-bottom: 1px solid var(--on-line); border-radius: 0;
  font: 700 var(--tg-type-tempo)/1 var(--tg-font-text); letter-spacing: -0.045em; font-variant-numeric: tabular-nums;
  text-align: center; color: var(--on); background: transparent; caret-color: var(--on); -moz-appearance: textfield;
}
.fm-read input::-webkit-outer-spin-button, .fm-read input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.fm-read input:focus { outline: none; border-bottom-color: var(--on); }
.fm-read .unit { color: var(--on-soft); font-size: 15px; font-weight: 600; letter-spacing: 0.02em; }
.fm-word { margin: 0; color: var(--on-soft); font-size: 15px; }
.fm-word b { color: var(--on); font-weight: 600; font-style: italic; }
.fm-round { display: grid; justify-items: center; row-gap: 6px; min-width: 56px; color: var(--on); }
.fm-round .ring { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--tg-corner-round); box-shadow: inset 0 0 0 1.5px var(--on-line); transition: box-shadow var(--tg-time-quick) linear, background var(--tg-time-quick) linear; }
.fm-round:hover .ring { box-shadow: inset 0 0 0 1.5px var(--on); }
.fm-round:active .ring { background: rgba(253, 252, 248, 0.16); }
.fm-round .lbl { color: var(--on-soft); font-size: var(--tg-type-label); font-weight: 600; }
.fm-slide { display: flex; align-items: center; gap: var(--tg-space-12); justify-self: stretch; max-width: 520px; width: 100%; margin: 0 auto; }
.fm-slide .end { width: 26px; text-align: center; color: var(--on-soft); font-size: var(--tg-type-note); }
.fm-sheet input[type="range"]::-webkit-slider-runnable-track { background: var(--on-line); }
.fm-sheet input[type="range"]::-moz-range-track { background: var(--on-line); }
.fm-sheet input[type="range"]::-webkit-slider-thumb { background: var(--on); }
.fm-sheet input[type="range"]::-moz-range-thumb { background: var(--on); }

/* Start and Tap. Start is the screen's one filled control: the light face of "Open tab", 168 pixels wide in both of its
   words. Tap is the outlined pill of "Hear this part". */
.fm-go-row { display: flex; align-items: center; justify-content: center; gap: var(--tg-space-12); margin-top: var(--tg-space-8); }
.fm-sheet .fm-go { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 168px; min-height: 52px; border-radius: 8px; background: var(--on); color: var(--sheet-ink); font-size: 16px; font-weight: 700; transition: transform var(--tg-time-quick) ease-out; }
.fm-sheet .fm-go:active { transform: scale(0.98); }
.fm-sheet .fm-tap { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 104px; min-height: 52px; border-radius: 26px; box-shadow: inset 0 0 0 1.5px var(--on-line); color: var(--on); font-size: 15px; font-weight: 600; }
.fm-sheet .fm-tap:hover { box-shadow: inset 0 0 0 1.5px var(--on); }
.fm-sheet .fm-tap.hit { background: rgba(253, 252, 248, 0.16); }

/* The printed edge marks each bar's first beat (build 274, the smidge of delight Nikhil asked for): the six string colors
   along the sheet's bottom edge brighten and stand a little taller as beat 1 clicks, then settle. A student can see each
   bar begin from across the room. Nothing moves beside the edge, it rests in a silent bar, and a computer set to reduce
   motion gets none of it. */
.fm-sheet.m-sheet::after { transform-origin: 100% 100%; transition: transform 420ms var(--tg-ease-out), filter 420ms var(--tg-ease-out); }
.fm-sheet.m-sheet.downbeat::after { transform: scaleY(1.9); filter: brightness(1.18) saturate(1.15); transition: none; }

/* ---------- The choices, beside the sheet ---------- */
.fm-choices { display: grid; row-gap: var(--tg-space-16); padding-top: 2px; }
.fm-h { display: flex; align-items: center; justify-content: space-between; gap: var(--tg-space-12); min-height: 32px; border-bottom: 1px solid var(--ink); font-size: 13px; font-weight: 700; letter-spacing: 0.01em; }
.fm-seg { display: flex; flex-wrap: wrap; gap: 2px; margin: var(--tg-space-6) 0 0 -10px; }
.free-metro .fm-opt { min-height: 36px; padding: 0 10px; border-radius: 8px; color: var(--muted); font-size: 14px; font-weight: 600; white-space: nowrap; transition: background var(--tg-time-quick) linear, color var(--tg-time-quick) linear; }
.free-metro .fm-opt:hover { background: var(--hover); color: var(--ink); }
.free-metro .fm-opt[aria-pressed="true"] { background: var(--accent-soft); color: var(--ink); font-weight: 700; }
/* Other's two numbers sit on the heading's own line, which always keeps their room, so opening Other moves no row. */
.fm-other { display: flex; align-items: center; gap: 2px; font-size: 14px; }
.free-metro .fm-other .fm-opt { min-height: 28px; padding: 0 8px; }
.free-metro .fm-step-opt { display: grid; place-items: center; width: 28px; padding: 0; }
.fm-mini { min-width: 22px; text-align: center; font-weight: 700; }
.fm-over { padding: 0 4px; color: var(--muted); font-weight: 500; }
.fm-two { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--tg-space-32); }
/* More choices (build 325) sits at the right end of Volume's row, on the slider's own line, 136 pixels wide for both of
   its words, so a press changes the word and moves nothing. It opens the resting rows under it. */
.fm-morecell { display: flex; align-items: flex-end; }
.free-metro .fm-more { display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; width: 136px; }
.fm-more .icon { width: 14px; height: 14px; }
/* The sheet and the column keep their top edges whether the resting rows show or not (build 325). The column keeps the
   height of its opened rows, and the sheet sits 77 pixels below the column's top, where it sat before the build, so a
   press on More choices moves neither the sheet nor the three rows above the button. */
@media (min-width: 1001px) {
  .fm-page { align-items: start; }
  .fm-choices { min-height: 656px; align-content: start; }
  .m-sheet.fm-sheet { margin-top: 77px; }
}
.fm-vol { display: flex; align-items: center; margin-top: var(--tg-space-6); }
.fm-vol input { height: 36px; }
.fm-vol-val { color: var(--muted); font-weight: 500; }

/* The top bar's button shows its icon alone on a phone, as Home and Emporium do there (app.css, builds 276 and 277): at
   375 wide the word "Metronome" (66 pixels) spilled over the song's key line. Its name stays in the label a screen
   reader reads. While it clicks with the screen closed, the tempo's number (about 22 pixels) shows under the icon. */
@media (max-width: 600px), (max-height: 500px) and (pointer: coarse) {
  .metro-door .lbl { display: none; }
  .metro-door.running:not([aria-pressed="true"]) .lbl { display: block; }
  .metro-door .lbl .unit { display: none; }
}

/* ---------- Narrower windows: the sheet over the choices ---------- */
@media (max-width: 1000px) {
  .fm-page { grid-template-columns: minmax(0, 1fr); row-gap: var(--tg-space-32); max-width: 680px; padding: var(--tg-space-16) var(--tg-space-24) var(--tg-space-32); }
}
/* A phone: the top bar's button shows the tempo alone while it clicks ("188 BPM" measured 48 pixels at 11 pixels, in
   the narrow top bar), and the sheet runs edge to edge with a smaller number. */
@media (max-width: 600px) {
  :root { --tg-type-tempo: 84px; }
  .fm-page { padding: 0 0 var(--tg-space-32); row-gap: var(--tg-space-24); }
  .m-sheet.fm-sheet { padding: var(--tg-space-12) var(--tg-space-16) var(--tg-space-24); }
  .fm-choices { padding: 0 var(--tg-space-16); }
  .fm-beat { width: 44px; height: 44px; }
  .fm-beats.drums .fm-slot { height: 44px; }
  .fm-beat.m-snare .dot { width: 22px; height: 22px; }
  .fm-beat.m-kick .dot { width: 18px; height: 18px; }
  .fm-beats.drums .fm-beat.one .dot { width: 26px; height: 26px; }
  .fm-between { gap: 4px; }
  .fm-tempo { column-gap: var(--tg-space-12); }
  .fm-two { grid-template-columns: minmax(0, 1fr); row-gap: var(--tg-space-16); }
  /* A phone has no room for the grouping beside Other's numbers, so the grouping keeps a line of its own under the
     heading. The line is always there, empty or not, so picking 5/4 or 7/8 moves no row (Codex's catch, build 311). */
  #fmRowSig .fm-h { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 32px 32px; align-items: center; }
  /* The Drummer row keeps Click sound's height, two lines of choices, so Volume stays still when the Beat changes. */
  #fmRowDrummer { min-height: 112px; align-content: start; }
  .free-metro .fm-more { min-height: 44px; margin-left: -10px; justify-content: flex-start; }
  .fm-form { padding-right: var(--tg-space-16); }
  .fm-form .seg { font-size: 10px; }
  #fmOther { grid-column: 2; grid-row: 1; }
  #fmGroup { grid-column: 1 / -1; grid-row: 2; min-height: 32px; margin-left: -6px; justify-self: start; }
  .free-metro #fmGroup[hidden] { display: flex !important; visibility: hidden; } /* the page hides [hidden] with !important, and this line must keep its room */
}
@media (prefers-reduced-motion: reduce) {
  .fm-beat .dot, .fm-sheet.m-sheet::after, .fm-round .ring, .free-metro .fm-opt, .fm-sheet .fm-go, .fm-sheet, .fm-choices, .free-metro.focus .fm-choices, .topbar > :not(#homeLogo), body.metro-focus .topbar > :not(#homeLogo) { transition: none; }
  .fm-sheet.m-sheet.downbeat::after { transform: none; filter: none; }
}
