/* The editor (engine/editor) as lipservice.dev serves it at /editor/: the brand's dark ground, the
   lip red for what is chosen and sounding, butter for what is held, Outfit for the words. Loaded
   after the editor's own sheet; it sets the custom properties the editor and its roll read
   (--roll-*, --singer-*) and repaints the few colors the editor's sheet writes out. */

@font-face { font-family: "Outfit"; src: url("outfit.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --lip: #dc2a6c; --lip-lit: #ff5c96; --butter: #ffd166; --plum: #2b1024;
  --bg: #140f13; --panel: #1f171d; --line: #34262f; --ink: #f6f4ef; --dim: #b8a8b0;
  --note: #ff5c96; --held: #ffd166; --bad: #ff8078; --ok: #6fdc9d;
  --roll-bg: #140f13; --roll-row: #19121a; --roll-black: #110c10; --roll-line: #2a1f27; --roll-beat: #36283a; --roll-bar: #5e4656;
  --roll-ink: #f6f4ef; --roll-dim: #a8989f; --roll-note: #ff5c96; --roll-chosen: #ffd166; --roll-bad: #ff8078; --roll-ok: #6fdc9d; --roll-lane: #c9a0ff;
  --roll-key-black: #1f171d; --roll-key-white: #2e222b; --roll-on-note: #140f13;
  --roll-font: 500 11px Outfit, system-ui, sans-serif;
  --singer-1: #ff5c96; --singer-2: #ffd166; --singer-3: #6fdc9d; --singer-4: #7cc4ff; --singer-5: #c9a0ff; --singer-6: #ff9a6b; --singer-7: #4fd1c5; --singer-8: #f4e7a1;
  font-family: Outfit, system-ui, sans-serif;
  scrollbar-color: #5e4656 transparent;
}
::selection { background: var(--lip); color: #ffffff; }
input, textarea { caret-color: var(--lip-lit); }
:focus-visible { outline: 2px solid var(--lip-lit); outline-offset: 1px; }

/* for the keyboard and the screen reader: the way past the toolbar, the page's name */
.skip { position: absolute; left: 8px; top: -40px; z-index: 50; background: var(--lip); color: #ffffff; padding: 6px 12px; border-radius: 999px; font-weight: 650; text-decoration: none; }
.skip:focus { top: 8px; }
.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; }

/* the brand's own corner: the lips, home */
header { border-top: 3px solid var(--lip); }
header .home { display: inline-flex; align-items: center; gap: 7px; margin-right: 8px; padding: 2px 8px 2px 2px; color: var(--ink); text-decoration: none; font-weight: 650; font-size: 14px; letter-spacing: -.01em; border-right: 1px solid var(--line); }
header .home svg { width: 34px; height: auto; color: var(--lip); }
header .home:hover { color: var(--lip-lit); }

button, select, input, textarea { background: #261c24; border-radius: 7px; }
button:hover { background: #33242f; }
button[aria-pressed="true"] { background: #4d1a33; border-color: var(--lip); }
button:disabled { color: #6e5d68; }
#sing { background: var(--lip); border-color: var(--lip); color: #ffffff; font-weight: 650; padding-left: 14px; padding-right: 14px; }
#sing:hover { background: #c41f5d; }
kbd { background: #261c24; }

.pull { background: #1b1419; border-radius: 7px; }
.pull:hover { background: #241a21; border-color: #5e4656; }
.pull .pull-bar { background: rgb(255 92 150 / .22); }
.pull.pulling { background: #2a2418; }
.pull .pull-in { background: #0e0a0d; border-radius: 7px; }

#tabs { background: #18111a; }
.tab:hover { background: #22171f; }
.tab .x:hover { background: #3d1a2b; }
.tab.mixer { background: #2b1024; border-color: #4d1a33; }
.tab.mixer:hover { background: #3a1630; }
.tab.mixer .lv i { background: #0e0a0d; border-color: #5e4656; }

.mx-strip.master { border-color: #6b2a4c; }
.mx-m[aria-pressed="true"] { background: #4a1f26; }
.mx-s[aria-pressed="true"] { background: #4a3a14; }
.meter { background: #0e0a0d; }
.meter::after { background: #5e4656; }
.meter-bar { background: linear-gradient(90deg, #a3164f, #ff5c96 78%, #ffd166 91%, #ff8078 100%); background-size: 100vw 100%; }
.fx-on[aria-pressed="true"] { background: #4d1a33; border-color: var(--lip); }
#lyric { background: #0e0a0d; }
aside h2, #mixer h2 { color: var(--lip-lit); letter-spacing: .1em; }
dialog { border-radius: 14px; border-top: 3px solid var(--lip); }
