/* SPDX-License-Identifier: MPL-2.0
 * Copyright (C) 2026 Styves Goupil
 * learn.frasilsynth.com: frasilsynth.com's night (its tokens, website/assets/css/base.css), its three voices (Barlow
 * Semi Condensed the instrument's, Newsreader the musician's, IBM Plex Mono the numbers'). The lessons, then a lesson
 * one idea at a time, read from a metre away. Cold is ice, warm is lamp (the hand). */
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 400; font-display: block; src: url("../fonts/barlow-semi-condensed-normal-400-latin.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 500; font-display: block; src: url("../fonts/barlow-semi-condensed-normal-500-latin.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 600; font-display: block; src: url("../fonts/barlow-semi-condensed-normal-600-latin.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 700; font-display: block; src: url("../fonts/barlow-semi-condensed-normal-700-latin.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: block; src: url("../fonts/ibm-plex-mono-normal-500-latin.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 300 500; font-display: block; src: url("../fonts/newsreader-italic-300-500-latin.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 300 600; font-display: block; src: url("../fonts/newsreader-normal-300-600-latin.woff2") format("woff2"); }

:root {
  --night: #0a0d12; --abyss: #06080c; --steel: #26303c; --rule: #1a212a;
  --slate: #4a5563; --dim: #77818f; --mist: #8b95a4; --text-2: #aeb7c2; --fog: #dce3ea; --white: #f3f6f9;
  --ice: #6ed0ff; --lamp: #f2a65a; --rose: #ff7084;   /* (the LEAD's: ui.c C_LEAD_TRACK) */
  --f-ui: "Barlow Semi Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  --f-text: "Newsreader", "Iowan Old Style", Georgia, serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --head-h: 76px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--night); }
body {
  margin: 0; background: var(--night); color: var(--fog); font: 400 18px/1.6 var(--f-text);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
}
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--lamp); outline-offset: 3px; border-radius: 3px; }
::selection { background: rgba(110, 208, 255, .28); color: var(--white); }
.k { font-family: var(--f-ui); font-weight: 600; font-size: .86em; letter-spacing: .07em; color: var(--white); white-space: nowrap; font-style: normal; }
.label { font: 600 12.5px/1.3 var(--f-ui); letter-spacing: .18em; text-transform: uppercase; color: var(--mist); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 90; padding: 10px 14px; background: var(--fog); color: var(--night); border-radius: 6px; font: 600 14px/1 var(--f-ui); letter-spacing: .1em; }
.skip:focus { left: 16px; }

/* ------------------------------------------------------------------ the header */
.site-head { display: flex; align-items: center; gap: 12px 26px; min-height: var(--head-h); max-width: 1320px; margin-inline: auto; padding-top: env(safe-area-inset-top, 0px); }
.mark { display: inline-flex; align-items: center; gap: 16px; margin-right: auto; text-decoration: none; }
.mark img { width: 168px; height: auto; display: block; }
.mark .label { color: var(--fog); letter-spacing: .26em; padding-top: 2px; }
.site-nav { display: flex; gap: clamp(14px, 2.4vw, 30px); }
.site-nav a { font: 600 13.5px/1 var(--f-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--mist); text-decoration: none; padding: 10px 0; position: relative; }
.site-nav a:hover { color: var(--white); }
.site-nav a[aria-current] { color: var(--white); }
.site-nav a[aria-current]::after { content: ""; position: absolute; left: 0; right: .16em; bottom: 3px; height: 1px; background: var(--ice); }
@media (max-width: 640px) { .site-nav a.far { display: none; } .mark img { width: 128px; } .mark { gap: 12px; } }

/* ------------------------------------------------------------------ buttons, as the site's */
.btn {
  --b: var(--slate); display: inline-flex; align-items: center; gap: .7em; min-height: 46px; padding: .85em 1.15em .78em;
  font: 600 14px/1 var(--f-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--fog); text-decoration: none;
  background: transparent; border: 1px solid var(--b); border-radius: 7px; cursor: pointer;
  transition: color .35s var(--ease), border-color .35s var(--ease), background-color .5s var(--ease);
}
.btn:hover { --b: var(--fog); color: var(--white); }
.btn-ice { --b: var(--ice); color: var(--night); background: var(--ice); }
.btn-ice:hover, .btn-ice:focus-visible { --b: var(--lamp); color: var(--night); background: var(--lamp); }
.btn[disabled] { opacity: .35; pointer-events: none; }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ------------------------------------------------------------------ LESSONS: GETTING STARTED on the river at night,
 * the heart under it, the lessons to come */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.home .site-head { position: relative; z-index: 2; }
.home-main { display: grid; padding-bottom: 90px; }
.home-main > :not(.first, .sr-only) { width: min(100%, 1320px); margin-inline: auto; }
/* GETTING STARTED: the whole window, under the header too; the river behind it (js/home.js), its path the waterline */
.first {
  --side-l: max(16px, env(safe-area-inset-left, 0px)); --side-r: max(16px, env(safe-area-inset-right, 0px));
  --top: calc(var(--head-h) + env(safe-area-inset-top, 0px)); --foot: clamp(64px, 13vh, 132px);
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-rows: minmax(0, 1fr) auto;
  min-height: max(620px, 100vh); min-height: max(620px, 100svh);
  margin: calc(-1 * var(--top)) calc(-1 * var(--side-r)) 0 calc(-1 * var(--side-l));
  padding: var(--top) var(--side-r) var(--foot) var(--side-l);
  background: linear-gradient(180deg, var(--abyss) 0%, #090d14 52%, #0d1520 78%, #0c1b30 80%, var(--night) 100%);
}
.first-sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.first-words, .first-path { width: min(100%, 1320px); margin-inline: auto; }
.first-words { align-self: center; display: grid; justify-items: start; padding-block: 36px 48px; }
.first-words .label { display: flex; align-items: center; gap: 14px; color: var(--fog); letter-spacing: .26em; }
.first-words .label::before { content: ""; width: 34px; height: 1px; background: var(--ice); box-shadow: 0 0 10px rgba(110, 208, 255, .8); }
.first-t {
  width: min-content; margin-top: clamp(16px, 2.4vh, 26px);
  font: 700 clamp(52px, 10.4vw, 150px)/.88 var(--f-ui); letter-spacing: .06em; color: var(--white);
  text-shadow: 0 0 60px rgba(10, 13, 18, .6);
}
.first-say { margin-top: clamp(20px, 3vh, 32px); font: 300 clamp(22px, 2.35vw, 34px)/1.3 var(--f-text); font-variation-settings: "opsz" 48; color: var(--fog); }
.first .go {
  margin-top: clamp(28px, 4.4vh, 44px); min-height: 56px; padding: 0 24px 0 26px; font-size: 15px; gap: .9em;
  box-shadow: 0 12px 44px -10px rgba(110, 208, 255, .55);
  transition: color .35s var(--ease), border-color .35s var(--ease), background-color .5s var(--ease), box-shadow .5s var(--ease);
}
.first .go:hover, .first .go:focus-visible { box-shadow: 0 12px 44px -10px rgba(242, 166, 90, .55); }
/* its path, as the lesson's foot draws it: a part, a tick a step (ice: done on this browser's FM-1), on the waterline */
.first-path { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 16px 22px; }
.first-path li { display: grid; gap: 12px; }
.first-path .ticks { display: flex; gap: 4px; height: 3px; }
.first-path i { width: 26px; height: 3px; border-radius: 2px; background: var(--slate); }
.first-path i.done { background: var(--ice); box-shadow: 0 0 8px rgba(110, 208, 255, .6); }
.first-path .label { font-size: 11.5px; color: var(--mist); }
.first-path [data-track="drone"] .label { color: var(--fog); }
.first-path [data-track="glint"] .label { color: var(--ice); }
.first-path [data-track="lead"] .label { color: var(--rose); }
/* rising in, the words then the path */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.first-words > *, .first-path { animation: rise 1.5s var(--ease) both; }
.first-words > :nth-child(2) { animation-delay: .12s; }
.first-words > :nth-child(3) { animation-delay: .32s; }
.first-words > :nth-child(4) { animation-delay: .5s; }
.first-path { animation-delay: .8s; }
/* the way down (Styves): a stem of ice light in the water under the path, slowly bobbing, to the heart; it rises in
 * last, and goes once the page has scrolled (js/home.js: .gone) */
.first-down {
  position: absolute; left: 50%; bottom: max(4px, calc(var(--foot) / 2 - 34px)); width: 56px; height: 68px; margin-left: -28px;
  display: grid; place-items: center; color: var(--ice); border-radius: 999px;
  transition: opacity .6s var(--ease), visibility 0s linear 0s, color .3s var(--ease);
}
.first-down > span { display: block; animation: rise 1.5s var(--ease) 1.3s both; }
.first-down svg {
  display: block; width: 18px; height: 52px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(110, 208, 255, .75));
  animation: bob 2.8s ease-in-out infinite;
}
.first-down .stem { stroke: url(#down-g); }
.first-down:hover { color: var(--white); }
.first-down:focus-visible { border-radius: 999px; }
.first-down.gone { opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s linear .6s; }
@keyframes bob { 0%, 100% { transform: translateY(-4px); } 50% { transform: translateY(4px); } }
@media (max-width: 1100px) { .first-path i { width: 18px; } }
@media (max-width: 700px) {
  .first { --foot: 88px; min-height: max(600px, 100svh); }
  .first-words { align-self: start; padding-top: clamp(28px, 6vh, 56px); }
  .first .go { min-height: 52px; }
  .first-path { gap: 14px 18px; }
}
/* the heart (card #152), right under GETTING STARTED (#more: the way down and the lesson's end lead here): its line
 * the page's second headline, in the site's display type (base.css .display.sm); then LIKE, a button plainly, in the
 * LEAD's rose; liked: its heart filled, LIKED, a beat and a spark of each track's colour (js/like.js: .pop). One like a
 * browser, no count shown */
.like { display: grid; justify-items: start; gap: clamp(30px, 3.4vw, 46px); padding-top: clamp(64px, 7.5vw, 112px); }
.like-t {
  max-width: 16.5em; font: 300 clamp(32px, 4.2vw, 58px)/1.1 var(--f-text); font-variation-settings: "opsz" 72;
  letter-spacing: -.018em; color: var(--white); text-wrap: balance;
}
.like-t em { font-weight: 300; color: var(--fog); }
.heart {
  --r: 255, 112, 132;
  position: relative; display: inline-flex; align-items: center; gap: 16px; min-height: 72px; padding: 0 40px 0 32px;
  font: 600 17px/1 var(--f-ui); letter-spacing: .2em; text-transform: uppercase; color: var(--white);
  background: rgba(var(--r), .07); border: 1px solid rgba(var(--r), .72); border-radius: 999px; cursor: pointer;
  box-shadow: 0 12px 40px -16px rgba(var(--r), .5);
  transition: background-color .4s var(--ease), border-color .4s var(--ease), box-shadow .5s var(--ease), transform .18s var(--ease);
}
.heart-i { position: relative; display: block; width: 30px; height: 30px; }
.heart svg { display: block; width: 100%; height: 100%; overflow: visible; fill: none; stroke: var(--rose); stroke-width: 1.6; transition: fill .3s var(--ease), transform .35s var(--ease); }
.heart-t { padding-top: 2px; }
.heart:hover { background: rgba(var(--r), .15); border-color: var(--rose); box-shadow: 0 14px 48px -12px rgba(var(--r), .7); }
.heart:hover svg { transform: scale(1.1); }
.heart:active { transform: scale(.96); }
.heart:focus-visible { outline-offset: 4px; border-radius: 999px; }
.heart.on, .heart.on:hover, .heart.on:active { cursor: default; transform: none; background: rgba(var(--r), .16); border-color: var(--rose); box-shadow: 0 0 48px -8px rgba(var(--r), .45); }
.heart.on svg { fill: var(--rose); transform: none; }
/* liked: the heart beats, a ring leaves the button, sparks fly off the heart (rose, ice, lamp, fog: the four tracks) */
.heart::after { content: ""; position: absolute; inset: -1px; border: 1px solid var(--rose); border-radius: inherit; opacity: 0; pointer-events: none; }
.heart-i i { position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px; border-radius: 50%; background: var(--rose); opacity: 0; }
.heart-i i:nth-of-type(4n+2) { background: var(--ice); }
.heart-i i:nth-of-type(4n+3) { background: var(--lamp); }
.heart-i i:nth-of-type(4n) { background: var(--fog); }
.heart-i i:nth-of-type(2) { --a: 45deg; } .heart-i i:nth-of-type(3) { --a: 90deg; } .heart-i i:nth-of-type(4) { --a: 135deg; }
.heart-i i:nth-of-type(5) { --a: 180deg; } .heart-i i:nth-of-type(6) { --a: 225deg; } .heart-i i:nth-of-type(7) { --a: 270deg; }
.heart-i i:nth-of-type(8) { --a: 315deg; }
.heart.pop svg { animation: beat .75s var(--ease); }
.heart.pop .heart-i i { animation: spark .85s var(--ease) both; }
.heart.pop::after { animation: ring .9s var(--ease) both; }
@keyframes beat { 28% { transform: scale(1.4); } 52% { transform: scale(.9); } 76% { transform: scale(1.06); } }
@keyframes spark {
  0% { opacity: 0; transform: rotate(var(--a, 0deg)) translateY(-10px) scale(1); }
  18% { opacity: 1; }
  100% { opacity: 0; transform: rotate(var(--a, 0deg)) translateY(-42px) scale(.4); }
}
@keyframes ring { from { opacity: .8; } to { opacity: 0; transform: scale(1.12, 1.4); } }
/* the lessons to come: dashed, quiet, nothing to click */
.later-ones { padding-top: clamp(56px, 8vw, 104px); }
.later-ones > .label { display: flex; align-items: center; gap: 16px; }
.later-ones > .label::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.later-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.later { display: grid; align-content: start; gap: 12px; padding: 20px 22px 24px; border: 1px dashed var(--steel); border-radius: 10px; cursor: default; }
.later-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.later .n { font: 500 13px/1 var(--f-mono); color: var(--dim); }
.later svg { width: 64px; height: 24px; overflow: visible; fill: none; stroke: var(--slate); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.later svg circle { fill: var(--slate); stroke: none; }
.later svg circle.o { fill: none; stroke: var(--slate); }
.later svg circle.rec { fill: none; stroke: var(--slate); stroke-width: 1.5; }
.later h2 { font: 700 clamp(19px, 1.6vw, 22px)/1.05 var(--f-ui); letter-spacing: .1em; color: var(--mist); }
.later p { font-size: 16px; line-height: 1.45; color: var(--dim); text-wrap: pretty; }
.later .k { color: var(--mist); }
@media (max-width: 1040px) { .later-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .heart { min-height: 64px; padding: 0 34px 0 28px; font-size: 16px; }
  .later-list { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .later { gap: 8px; padding: 16px 18px 20px; }
  .later-top { margin-bottom: 6px; }
}
.need { display: flex; gap: 10px 26px; flex-wrap: wrap; margin-top: clamp(56px, 7vw, 88px); padding-top: 26px; border-top: 1px solid var(--rule); color: var(--dim); font-size: 16px; }
.need span { flex-basis: 100%; max-width: 62ch; }
.need a { color: var(--white); text-decoration-color: rgba(110, 208, 255, .45); text-underline-offset: .22em; }
.need a:hover { text-decoration-color: var(--ice); }
@media (prefers-reduced-motion: reduce) {
  .first-words > *, .first-path, .first-down > span, .first-down svg { animation: none; }
  .heart, .heart svg, .first .go { transition: none; }
  .heart.pop svg, .heart.pop .heart-i i, .heart.pop::after { animation: none; }
  .heart:hover svg, .heart:active { transform: none; }
}

/* ------------------------------------------------------------------ a lesson: one idea at a time */
.stage {
  max-width: 1320px; margin-inline: auto;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 18px;
  min-height: calc(100svh - var(--head-h) - env(safe-area-inset-top, 0px)); padding-block: 10px max(26px, env(safe-area-inset-bottom, 0px));
}
.top { display: flex; align-items: center; gap: 10px 18px; flex-wrap: wrap; }
.top .label b { color: var(--white); font-weight: 600; }
.pos { font: 500 14px/1 var(--f-mono); color: var(--dim); margin-right: auto; }
/* the FM-1 plugged in: a chip, its dot slate (not yet), ice (listening), lamp (a word on why not) */
.link {
  display: inline-flex; align-items: center; gap: 9px; min-height: 34px; padding: 0 14px 0 12px; cursor: pointer;
  font: 600 12px/1 var(--f-ui); letter-spacing: .16em; color: var(--mist);
  background: transparent; border: 1px solid var(--steel); border-radius: 999px;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.link i { width: 7px; height: 7px; border-radius: 50%; background: var(--slate); transition: background .3s, box-shadow .3s; }
.link:hover { color: var(--white); border-color: var(--slate); }
.link[data-state="wait"] i { background: var(--mist); }
.link[data-state="on"] { color: var(--fog); cursor: default; }
.link[data-state="on"] i { background: var(--ice); box-shadow: 0 0 8px rgba(110, 208, 255, .7); }
.link[data-state="off"] { color: var(--fog); }
.link[data-state="off"] i { background: var(--lamp); }
.link[data-state="none"], .link:disabled { cursor: default; color: var(--dim); border-color: var(--rule); }
.main { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.words { display: grid; gap: clamp(16px, 2.2vw, 28px); min-width: 0; align-content: center; }
.title { font: 700 clamp(40px, 6.2vw, 96px)/.95 var(--f-ui); letter-spacing: .08em; color: var(--white); text-wrap: balance; }
/* done on the FM-1: a small ice check after the title, nothing else */
.check { display: inline-block; width: .34em; height: .34em; margin-left: .22em; vertical-align: .52em; }
.check svg { display: block; width: 100%; height: 100%; }
.check circle { fill: none; stroke: var(--ice); stroke-width: 1.6; }
.check path { fill: none; stroke: var(--ice); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.say { font: 300 clamp(24px, 2.7vw, 40px)/1.3 var(--f-text); font-variation-settings: "opsz" 48; color: var(--fog); text-wrap: pretty; }
.try { font: italic 400 clamp(19px, 1.9vw, 27px)/1.4 var(--f-text); color: var(--text-2); }
.try .label { font-style: normal; margin-right: .7em; font-size: 12px; vertical-align: .2em; }
.try:empty { display: none; }
.fresh { font-size: 16px; color: var(--dim); max-width: 52ch; padding-top: 10px; border-top: 1px solid var(--rule); }
.words > * { transition: opacity .35s var(--ease), transform .35s var(--ease); }
.words.swap > * { opacity: 0; transform: translateY(6px); }
.fig { min-width: 0; }
.foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 26px; align-items: center; }
.path { display: flex; gap: 18px; flex-wrap: wrap; min-width: 0; }
.seg { display: grid; gap: 8px; }
.seg .label { font-size: 11px; }
.seg.cur .label { color: var(--white); }
.ticks { display: flex; gap: 4px; }
/* a step: steel, slate once read, ice once your FM-1 did it; where you are stands taller */
.tick { width: 26px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.tick::after { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 3px; border-radius: 2px; background: var(--steel); transition: background .3s, top .3s var(--ease), height .3s var(--ease); }
.tick.seen::after { background: var(--slate); }
.tick.done::after { background: var(--ice); opacity: .8; }
.tick.cur::after { top: 8px; height: 7px; background: var(--fog); }
.tick.cur.done::after { background: var(--ice); opacity: 1; }
.tick:hover::after { background: var(--white); }
.btns { display: flex; gap: 10px; align-items: center; }
.next-t { font: 600 12.5px/1.2 var(--f-ui); letter-spacing: .14em; color: var(--dim); text-align: right; max-width: 22ch; }
@media (max-width: 900px) {
  .main { grid-template-columns: minmax(0, 1fr); align-content: start; }
  .fig { order: 2; }
  .foot { grid-template-columns: minmax(0, 1fr); }
  .btns { justify-content: space-between; }
  .tick { width: 18px; }
}
@media (max-width: 640px) {
  .top { gap: 8px 12px; }
  .link[data-state="none"] { display: none; }   /* (a phone without Web MIDI: the lesson alone) */
}

/* ------------------------------------------------------------------ the FM-1, drawn (the guide's panel, 1180 x 790) */
.fm1 { display: block; width: 100%; height: auto; max-width: 100%; }
.fm1 text { font-family: var(--f-ui); text-anchor: middle; }
.pn-body { fill: #111821; stroke: #26303c; }
.pn-bed { fill: #0b1016; }
.pn-well { fill: #0b1016; }
.pn-cap { fill: #161d26; stroke: #3a4654; stroke-width: 1.5; transition: stroke .3s, fill .3s; }
.pn-ptr { stroke: #dce3ea; stroke-width: 3; stroke-linecap: round; }
.pn-turn { transition: transform .25s var(--ease); }
.pn-name { font-size: 13px; font-weight: 600; fill: #8b95a4; letter-spacing: 1.6px; }
.pn-word { font-size: 15px; font-weight: 600; fill: #f3f6f9; letter-spacing: 2px; }
.pn-kname { font-size: 16px; font-weight: 600; fill: #dce3ea; letter-spacing: 1.6px; }
.pn-badge { fill: #6ed0ff; } .pn-badge.abc { fill: #f2a65a; }
.pn-badge-t { font-size: 12px; font-weight: 700; fill: #0a0d12; }
.pn-btn { fill: #18202a; stroke: #3a4654; stroke-width: 1.2; transition: stroke .3s, fill .15s; }
.pn-btn-t { font-size: 14px; font-weight: 600; fill: #8b95a4; letter-spacing: 1.2px; pointer-events: none; }
.pn-white { fill: #1b232d; stroke: #2f3a47; stroke-width: 1.2; transition: stroke .25s, fill .12s; }
.pn-black { fill: #121920; stroke: #2f3a47; stroke-width: 1.2; transition: stroke .25s, fill .12s; }
.pn-bezel { fill: #06080c; stroke: #2a3440; }
.pn-screen { image-rendering: pixelated; }
.pn-tag { font-size: 15px; font-weight: 700; fill: #f2a65a; letter-spacing: 2.4px; opacity: 0; transition: opacity .3s; pointer-events: none; }
.pn-halo { fill: none; stroke: #f2a65a; stroke-width: 2.5; opacity: 0; transition: opacity .3s; pointer-events: none; }
.ctl.lit .pn-halo, .ctl.lit .pn-tag { opacity: 1; }
.ctl.lit .pn-halo { filter: drop-shadow(0 0 9px rgba(242, 166, 90, .7)); }
.ctl.lit .pn-btn-t, .ctl.lit .pn-name { fill: #f3f6f9; }
/* the FM-1's own hand, as it happens */
.ctl.down .pn-btn, .ctl.moved .pn-cap { fill: #34414f; stroke: #dce3ea; }
.ctl.down .pn-white, .ctl.down .pn-black { fill: #3b4857; stroke: #dce3ea; }
@media (prefers-reduced-motion: reduce) {
  .pn-halo, .pn-tag, .pn-cap, .pn-btn, .pn-white, .pn-black, .pn-turn, .words > *, .tick::after { transition: none; }
}
