/* Make The Beat - studio styles */

:root {
  --bg: #0c0a12;
  --bg-2: #110e19;
  --panel: #16131f;
  --panel-2: #1e1a2a;
  --panel-3: #262136;
  --line: #2c2639;
  --text: #eeebf5;
  --muted: #908aa3;
  --accent: #ff3d81;
  --accent-2: #ffb020;
  --cyan: #22d3ee;
  --danger: #ef4444;
  --grid: rgba(255, 255, 255, 0.06);
  --grid-strong: rgba(255, 255, 255, 0.2);
  --spec-a: rgba(34, 211, 238, 0.04);
  --spec-b: rgba(255, 61, 129, 0.5);
  --radius: 14px;
  --lead: 112px 26px 26px 60px;
  --cell-min: 26px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  background: var(--bg);
  background-image: radial-gradient(1200px 600px at 10% -10%, rgba(255, 61, 129, 0.08), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(34, 211, 238, 0.07), transparent 60%);
  background-attachment: fixed;
  color: var(--text);
  font: 14px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  min-height: 100vh;
}

button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

/* ------------------------------------------------------------ preload */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background: radial-gradient(ellipse at 50% 40%, #1d1530 0%, #0c0a12 70%);
  transition: opacity 0.6s ease, visibility 0.6s ease, transform 0.6s ease;
}
.preloader.done { opacity: 0; visibility: hidden; transform: scale(1.04); }

.pl-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  max-width: 90vw;
  max-height: 90vw;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(255, 61, 129, 0.25), rgba(255, 176, 32, 0.2), rgba(34, 211, 238, 0.25), rgba(255, 61, 129, 0.25));
  filter: blur(70px);
  animation: spin 9s linear infinite;
  pointer-events: none;
}

.pl-inner {
  position: relative;
  width: min(560px, 100%);
  text-align: center;
}

.pl-bars {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
  height: 70px;
  margin-bottom: 18px;
}
.pl-bars i {
  display: block;
  width: 10px;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(to top, var(--accent), var(--accent-2), var(--cyan));
  transform-origin: bottom;
  animation: eqbar 1s ease-in-out infinite;
}
.pl-bars i:nth-child(2n) { animation-duration: 0.8s; }
.pl-bars i:nth-child(3n) { animation-duration: 1.25s; }
.pl-bars i:nth-child(1) { animation-delay: -0.2s; }
.pl-bars i:nth-child(2) { animation-delay: -0.5s; }
.pl-bars i:nth-child(3) { animation-delay: -0.1s; }
.pl-bars i:nth-child(4) { animation-delay: -0.7s; }
.pl-bars i:nth-child(5) { animation-delay: -0.3s; }
.pl-bars i:nth-child(6) { animation-delay: -0.9s; }
.pl-bars i:nth-child(7) { animation-delay: -0.4s; }
.pl-bars i:nth-child(8) { animation-delay: -0.6s; }
.pl-bars i:nth-child(9) { animation-delay: -0.15s; }
.pl-bars i:nth-child(10) { animation-delay: -0.8s; }
.pl-bars i:nth-child(11) { animation-delay: -0.35s; }
.pl-bars i:nth-child(12) { animation-delay: -0.55s; }

.pl-title {
  margin: 0;
  font-size: clamp(38px, 9vw, 60px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}
/* The gradient sits on each word: animated words would not show a gradient clipped from the heading. */
.pl-title span {
  display: inline-block;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: pop 0.6s cubic-bezier(0.2, 1.6, 0.4, 1) both;
}
.pl-title span:nth-child(2) { background-image: linear-gradient(90deg, var(--accent-2), #7ee0c8); }
.pl-title span:nth-child(3) { background-image: linear-gradient(90deg, #7ee0c8, var(--cyan)); }
body:not(.ready) { overflow: hidden; }
.pl-title span:nth-child(2) { animation-delay: 0.12s; }
.pl-title span:nth-child(3) { animation-delay: 0.24s; }

.pl-sub { margin: 12px 0 28px; color: var(--muted); font-size: 13px; letter-spacing: 0.04em; }

.pl-progress {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.pl-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--cyan));
  background-size: 200% 100%;
  animation: shimmer 1.6s linear infinite;
  transition: width 0.35s ease;
}
.pl-status { display: flex; justify-content: space-between; margin-top: 10px; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }

.pl-start {
  margin-top: 26px;
  padding: 14px 30px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #ff6a3d);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 30px rgba(255, 61, 129, 0.35);
  animation: pulse 1.8s ease-in-out infinite;
}
.pl-start:hover { filter: brightness(1.1); }
.pl-start:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.pl-error {
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.4);
  text-align: left;
}
.pl-error p { margin: 6px 0 12px; color: #f5c6c6; }

.pl-tip { margin-top: 26px; color: var(--muted); font-size: 13px; min-height: 1.4em; }
.pl-version { position: absolute; bottom: 14px; right: 16px; color: var(--muted); font-size: 12px; opacity: 0.6; }

@keyframes eqbar { 0%, 100% { transform: scaleY(0.2); } 50% { transform: scaleY(1); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(0.8); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }

/* ------------------------------------------------------------- top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  padding: 10px 20px;
  background: rgba(12, 10, 18, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: 0.03em; text-transform: uppercase; font-size: 17px; }
.brand svg { width: 28px; height: 28px; }
.brand .b1 { fill: var(--accent); }
.brand .b2 { fill: var(--accent-2); }
.brand .b3 { fill: var(--cyan); }
.brand .b4 { fill: #34d399; }
body.ready .brand rect { transform-origin: 50% 100%; transform-box: fill-box; }

.transport { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; flex: 1; }

.btn-play {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), #ff6a3d);
  box-shadow: 0 6px 22px rgba(255, 61, 129, 0.35);
  transition: transform 0.12s ease;
}
.btn-play:hover { transform: scale(1.06); }
.btn-play:active { transform: scale(0.96); }
.btn-play svg { width: 24px; height: 24px; fill: #fff; }
.btn-play .i-stop, .btn-play.playing .i-play { display: none; }
.btn-play.playing .i-stop { display: block; }
.btn-play.playing { background: linear-gradient(135deg, #22d3ee, #3b82f6); box-shadow: 0 6px 22px rgba(34, 211, 238, 0.35); }
.btn-play:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.tempo { display: flex; align-items: center; gap: 8px; }
.tempo label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 700; }
.tempo input[type="number"] { width: 64px; text-align: center; font-weight: 800; font-size: 18px; padding: 4px 6px; }
.tempo input[type="range"] { width: 110px; }
.tempo output { min-width: 34px; font-variant-numeric: tabular-nums; color: var(--muted); }

.bar-dots { display: flex; gap: 6px; }
.bar-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--panel-3); transition: background 0.1s; }
.bar-dots span.on { background: var(--accent-2); box-shadow: 0 0 10px var(--accent-2); }

.actions { display: flex; flex-wrap: wrap; gap: 8px; }

.btn {
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  font-weight: 600;
  transition: background 0.12s, border-color 0.12s;
}
.btn:hover { background: var(--panel-3); border-color: #3a3350; }
.btn:disabled { opacity: 0.5; cursor: default; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-accent:hover { background: #ff5a95; border-color: #ff5a95; }
.btn-danger { background: transparent; border-color: rgba(239, 68, 68, 0.5); color: #fca5a5; }
.btn-danger:hover { background: rgba(239, 68, 68, 0.15); border-color: var(--danger); }
.btn-sm { padding: 5px 11px; font-size: 13px; border-radius: 8px; }
.btn-icon { width: 38px; padding: 8px 0; font-weight: 800; }
button:focus-visible, select:focus-visible, input:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* ---------------------------------------------------------------- main */
.main { max-width: 1400px; margin: 0 auto; padding: 16px 20px 24px; display: grid; gap: 16px; }

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  min-width: 0;
}

.panel-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 12px; }
.panel-head h2 { margin: 0; font-size: 15px; letter-spacing: 0.02em; margin-right: auto; }
.panel-head h2 span { color: var(--accent-2); }

.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.field > span { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 700; }
.field.inline { flex-direction: row; align-items: center; gap: 8px; }
.field.grow { flex: 1 1 200px; }
.field.sm > span { font-size: 10px; }

input[type="text"], input[type="search"], input[type="number"], select {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 7px 10px;
  min-width: 0;
}
select { padding-right: 6px; }
.field.sm select, .field.sm input { padding: 5px 8px; font-size: 13px; }
input[type="range"] { accent-color: var(--accent); min-width: 0; }

.style-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 14px; }
.genre-desc { flex-basis: 100%; margin: 2px 0 0; color: var(--muted); font-size: 13px; }

/* ----------------------------------------------------------- sequencer */
.grid-scroll { overflow-x: auto; padding-bottom: 6px; }
.grid, .section-head, .prog { min-width: 720px; }

.row {
  display: grid;
  grid-template-columns: var(--lead) repeat(16, minmax(var(--cell-min), 1fr));
  gap: 4px;
  align-items: center;
  margin-bottom: 4px;
}
.row .lab-span { grid-column: span 4; color: var(--muted); font-size: 12px; font-weight: 700; padding-left: 4px; display: flex; align-items: baseline; gap: 6px; }
.row .lab-span small { color: #6c6680; font-weight: 600; font-size: 11px; }
.row.head .num { text-align: center; font-size: 11px; color: #5f5873; font-variant-numeric: tabular-nums; border-radius: 4px; }
.row.head .num.beat-start { color: var(--muted); font-weight: 800; }
.row.head .num.now { color: #fff; background: var(--accent); }
.beat-start { margin-left: 6px; }

.ch-kick { --c: #ff5c5c; }
.ch-snare { --c: #ffb020; }
.ch-clap { --c: #ffd166; }
.ch-hatC { --c: #22d3ee; }
.ch-hatO { --c: #38bdf8; }
.ch-tom { --c: #a78bfa; }
.ch-rim { --c: #34d399; }
.ch-crash { --c: #60a5fa; }
.ch-bass { --c: #c084fc; }
.ch-chords { --c: #f472b6; }

.name {
  text-align: left;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: var(--panel-2);
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-left: 3px solid var(--c, var(--muted));
}
.name:hover { background: var(--panel-3); }
.name.selected { border-color: var(--c, var(--accent)); background: var(--panel-3); }

.ms {
  width: 26px;
  height: 26px;
  padding: 0;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
}
.ms.mute.active { background: var(--danger); border-color: var(--danger); color: #fff; }
.ms.solo.active { background: var(--accent-2); border-color: var(--accent-2); color: #1b1200; }

.mini-vol { width: 60px; }

.cell {
  height: 30px;
  padding: 0;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  transition: background 0.06s, transform 0.06s;
  touch-action: manipulation;
  position: relative;
}
.cell.alt { background: #221d30; }
.cell:hover { border-color: #4a4262; }
.cell.on {
  background: var(--c);
  border-color: var(--c);
  box-shadow: 0 0 12px color-mix(in srgb, var(--c) 45%, transparent);
  opacity: 0.78;
}
.cell.on.acc { opacity: 1; box-shadow: 0 0 16px color-mix(in srgb, var(--c) 70%, transparent), inset 0 0 0 2px rgba(255, 255, 255, 0.85); }
.cell.on.roll {
  opacity: 1;
  background: repeating-linear-gradient(90deg, var(--c) 0 5px, color-mix(in srgb, var(--c) 35%, #000) 5px 8px);
}
.cell.tail { background: color-mix(in srgb, var(--c) 28%, var(--panel-2)); border-color: color-mix(in srgb, var(--c) 40%, var(--line)); }
.cell.now { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.45); }
.cell.on.now { opacity: 1; transform: scale(1.08); filter: brightness(1.25); }

.row.piano { margin-bottom: 3px; }
.row.piano .cell { height: 22px; border-radius: 5px; }
.row.piano.rootrow .lab-span { color: #cdb4fb; }
.row.piano.rootrow .cell:not(.on):not(.tail) { background: #251f34; }

.row.silent, .section-head.silent .name, .row.piano.silent { opacity: 0.45; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px 10px;
  margin: 16px 0 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.section-head .name { min-width: 112px; align-self: center; }
.section-head .ms, .section-head .mini-vol { align-self: center; }
.section-head .hint { align-self: center; margin-left: auto; color: #6c6680; font-size: 12px; }

.prog {
  display: grid;
  grid-template-columns: var(--lead) repeat(16, minmax(var(--cell-min), 1fr));
  gap: 4px;
  align-items: center;
  margin-bottom: 6px;
}
.prog .lab-span { grid-column: span 4; color: var(--muted); font-size: 12px; font-weight: 700; padding-left: 4px; }
.prog-slot { grid-column: span 4; display: flex; flex-direction: column; gap: 2px; padding: 4px 6px; border-radius: 8px; border: 1px solid transparent; }
.prog-slot:nth-of-type(1) { margin-left: 6px; }
.prog-slot > span { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.prog-slot select { width: 100%; font-size: 13px; padding: 5px 6px; }
.prog-slot.now { border-color: var(--accent-2); background: rgba(255, 176, 32, 0.08); }

.grid-help { margin: 10px 0 0; color: var(--muted); font-size: 12px; }
.grid-help b { color: var(--text); }
.lg { padding: 0 5px; border-radius: 4px; color: #1b1200; font-weight: 700; }
.lg.acc { background: #ffd166; }
.lg.roll { background: #22d3ee; color: #001014; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.35); }

/* ---------------------------------------------------- inspector/master */
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.knobs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px 18px; }
.knob { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 8px; }
.knob > span { font-size: 12px; color: var(--muted); font-weight: 700; }
.knob output { font-size: 12px; font-variant-numeric: tabular-nums; color: var(--text); }
.knob input, .knob select { grid-column: 1 / -1; width: 100%; }

/* -------------------------------------------------------------- equalizer */
.eq-body { display: grid; gap: 12px; }
#eqCanvas {
  width: 100%;
  height: 190px;
  display: block;
  border-radius: 10px;
  background: linear-gradient(180deg, #120f1a, #0e0b15);
  border: 1px solid var(--line);
  cursor: ns-resize;
  touch-action: none;
}
.eq-bands { display: flex; justify-content: space-between; gap: 6px; overflow-x: auto; padding: 2px 2px 4px; }
.band { flex: 1 0 44px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.band.extra { border-left: 1px solid var(--line); padding-left: 8px; }
.band-db { font-size: 12px; font-variant-numeric: tabular-nums; min-height: 1.2em; color: var(--accent-2); font-weight: 700; }
.band.extra .band-db { color: var(--cyan); }
.band-hz { font-size: 11px; color: var(--muted); font-weight: 700; }
.vslider {
  writing-mode: vertical-lr;
  direction: rtl;
  width: 28px;
  height: 140px;
  margin: 0;
  accent-color: var(--accent-2);
}
.band.extra .vslider { accent-color: var(--cyan); }
.panel.eq.off .band:not(.extra) { opacity: 0.45; }

.switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .track { width: 38px; height: 22px; border-radius: 999px; background: var(--panel-3); position: relative; transition: background 0.15s; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform 0.15s; }
.switch input:checked + .track { background: var(--accent-2); }
.switch input:checked + .track::after { transform: translateX(16px); }
.switch input:focus-visible + .track { outline: 2px solid var(--cyan); outline-offset: 2px; }
.switch .lbl { font-size: 13px; font-weight: 700; }

/* --------------------------------------------------------------- dialogs */
.dialog {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0;
  background: var(--panel);
  color: var(--text);
  width: min(480px, calc(100vw - 32px));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.dialog-wide { width: min(680px, calc(100vw - 32px)); }
.dialog::backdrop { background: rgba(5, 4, 9, 0.7); backdrop-filter: blur(3px); }
.dialog-body { padding: 20px 22px; display: grid; gap: 14px; }
.dialog-body h2 { margin: 0; font-size: 18px; }
.dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.note { margin: 0; color: var(--muted); font-size: 13px; }
.share { display: grid; gap: 6px; }
.share > span { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 700; }
.share-row { display: flex; gap: 8px; }
.share-row input { flex: 1; }

.library-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-height: min(60vh, 520px); overflow-y: auto; }
.lib-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--line); }
.lib-item.current { border-color: var(--accent); }
.lib-main { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.lib-main strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.lib-meta { flex-basis: 100%; color: var(--muted); font-size: 12px; }
.lib-actions { display: flex; gap: 6px; }
.lib-empty { padding: 26px 10px; text-align: center; color: var(--muted); }
.badge { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; padding: 2px 6px; border-radius: 5px; background: rgba(255, 176, 32, 0.18); color: var(--accent-2); }

.help ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.help li { color: #d6d2e0; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translate(-50%, 20px);
  z-index: 200;
  max-width: calc(100vw - 32px);
  padding: 10px 18px;
  border-radius: 999px;
  background: #2a2340;
  border: 1px solid #3d3459;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.footer { display: flex; justify-content: space-between; gap: 12px; max-width: 1400px; margin: 0 auto; padding: 0 20px 22px; color: #5f5873; font-size: 12px; }

/* ----------------------------------------------------------- small screens */
@media (max-width: 900px) {
  .cols { grid-template-columns: 1fr; }
  .topbar { padding: 10px 16px; }
  .main { padding: 12px 16px 20px; }
  .footer { padding: 0 16px 18px; }
}
@media (max-width: 700px) {
  /* A tall wrapped header would cover the grid if it stayed pinned. */
  .topbar { position: static; }
}
@media (max-width: 560px) {
  :root { --lead: 82px 24px 24px 0px; --cell-min: 30px; }
  .grid, .section-head, .prog { min-width: 660px; }
  .tempo input[type="range"] { width: 84px; }
  .brand-name { font-size: 15px; }
  .section-head .hint { display: none; }
  .actions { gap: 6px; }
  .actions .btn { padding: 6px 9px; font-size: 13px; }
  .actions .btn-icon { width: 32px; padding: 6px 0; }
  /* Track volume stays in the Sound panel; the row slider is hidden to make room for steps. */
  .row .mini-vol { visibility: hidden; width: 0; min-width: 0; }
  .row .name { padding: 6px 8px; font-size: 12px; }
  .ms { width: 24px; height: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .pl-bars i, .pl-glow, .pl-fill, .pl-start, .pl-title span { animation: none; }
  .preloader { transition: opacity 0.2s; }
}
