/* Tabuľa. Farby a písmo rovnaké ako Virtuálne piano (www.pianoboost.sk) */
:root {
  --paper: #fafaf8;
  --ink: #202124;
  --muted: #5c5f60;
  --gold: #d8be73;
  --gold-dark: #947329;
  --soft: #f1f0eb;
  --white: #fff;
  --press: #f5c842;
  --press-edge: #947329;
  --radius: 24px;
  --w: 40px;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Segoe UI", -apple-system, "Helvetica Neue", Arial, sans-serif;
  display: flex; flex-direction: column; overflow: hidden;
}
a { color: inherit; }
button { font: inherit; color: var(--ink); cursor: pointer; }
button:focus-visible, input:focus-visible { outline: 3px solid #2a6df4; outline-offset: 2px; }
svg { display: block; }

/* ---- horný panel s nástrojmi ---- */
.tb {
  display: flex; align-items: center; gap: 6px 14px; flex-wrap: wrap;
  padding: 6px 14px; background: var(--white); border-bottom: 3px solid var(--gold);
  position: relative; z-index: 20;
}
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; margin-right: 4px; }
.brand img { height: 38px; width: auto; }
.brand span { font-weight: 800; font-size: 20px; letter-spacing: -0.03em; }
.grp { display: flex; align-items: center; gap: 2px; }
.grp + .grp { padding-left: 12px; border-left: 1px solid #ebe7da; }
.grp.right { margin-left: auto; }

.tool {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  min-width: 54px; padding: 5px 6px 4px; border: 0; border-radius: 12px; background: transparent;
  font-size: 11px; color: var(--muted);
}
.tool svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tool svg .fill { fill: var(--ink); stroke: none; }
.tool:hover { background: var(--soft); }
.tool.on { background: var(--gold); color: var(--ink); font-weight: 700; }
.tool:disabled { opacity: .35; cursor: default; background: transparent; }
.tool.confirm { background: #e03131; color: #fff; }
.tool.confirm svg { stroke: #fff; }

.colors { gap: 5px; }
.color {
  width: 26px; height: 26px; border-radius: 50%; padding: 0; border: 2px solid #fff;
  box-shadow: 0 0 0 1px #d3cfc0;
}
.color.on { box-shadow: 0 0 0 2px var(--ink); }
.size {
  width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: transparent;
  display: grid; place-items: center;
}
.size i { display: block; border-radius: 50%; background: var(--ink); }
.size:hover { background: var(--soft); }
.size.on { background: var(--gold); }

.info-btn {
  width: 34px; height: 34px; padding: 0; border-radius: 50%; display: grid; place-items: center; margin-left: 4px;
  font-weight: 700; font-family: Georgia, serif; font-style: italic; font-size: 18px;
  border: 1px solid var(--gold); background: var(--white);
}
.info-btn:hover { background: var(--gold); }

/* rozbaľovacie menu (Osnova, Uložiť) */
.pop-wrap { position: relative; }
.pop {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 40; min-width: 250px;
  background: var(--white); border: 1px solid #e6e1d0; border-radius: 16px; padding: 6px;
  box-shadow: 0 14px 36px rgba(32,33,36,.2); display: flex; flex-direction: column;
}
.pop[hidden] { display: none; }
.pop-r { left: auto; right: 0; min-width: 170px; }
.pop button { text-align: left; border: 0; background: transparent; padding: 10px 14px; border-radius: 10px; font-size: 15px; }
.pop button:hover { background: var(--soft); }

/* ---- druhý riadok pri nástroji Noty ---- */
.noterow {
  display: flex; align-items: center; gap: 6px 14px; flex-wrap: wrap;
  padding: 6px 14px; background: var(--soft); border-bottom: 1px solid #e6e1d0;
}
.noterow[hidden] { display: none; }
.nb {
  display: flex; align-items: center; gap: 4px; height: 36px; padding: 0 12px;
  border: 1px solid #d3cfc0; background: var(--white); border-radius: 999px; font-size: 14px;
}
.nb svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 1.7; }
.nb svg .fill { fill: var(--ink); stroke: none; }
.nb svg .hole { fill: none; stroke: var(--ink); stroke-width: 2.6; }
.nb svg .hole2 { fill: none; stroke: var(--ink); stroke-width: 2; }
.nb:hover { border-color: var(--gold-dark); }
.nb.on { background: var(--gold); border-color: var(--gold-dark); font-weight: 700; }
.nb.acc { font-size: 22px; width: 40px; justify-content: center; padding: 0; font-family: "Apple Symbols", "Segoe UI Symbol", serif; }
.tip { margin: 0 0 0 auto; font-size: 13px; color: var(--muted); }

/* ---- tabuľa ---- */
.board-wrap {
  flex: 1; min-height: 120px; position: relative; margin: 10px 12px;
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 2px 10px rgba(32,33,36,.12), 0 0 0 1px #ece8dc;
}
.scroller { position: absolute; inset: 0; overflow: auto; overscroll-behavior: contain; background: #ecebe5; }
.page { position: relative; }
#board { position: sticky; top: 0; left: 0; touch-action: none; display: block; }
#txt {
  position: absolute; z-index: 5; margin: 0; padding: 0; border: 0; outline: 2px dashed var(--gold); outline-offset: 4px;
  background: transparent; resize: none; overflow: hidden; white-space: pre;
  font-family: "Segoe UI", -apple-system, "Helvetica Neue", Arial, sans-serif; font-weight: 600; line-height: 1.25;
  min-width: 40px;
}
.del {
  position: absolute; z-index: 6; border: 0; border-radius: 999px; padding: 6px 14px;
  background: #e03131; color: #fff; font-size: 13px; font-weight: 700; box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.del[hidden] { display: none; }
.toast {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 7;
  background: var(--ink); color: #fff; padding: 9px 18px; border-radius: 999px; font-size: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,.25); pointer-events: none; max-width: 90%; text-align: center;
}
.toast[hidden] { display: none; }

/* ---- klavír dole ---- */
.piano-wrap { padding: 0 12px 10px; }
.piano-wrap[hidden] { display: none; }
.pbar { display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap; padding: 0 4px 8px; font-size: 14px; }
.pbar-hint { color: var(--muted); font-size: 12.5px; }
.status { margin-left: auto; color: var(--muted); font-size: 13px; }
.status.warn { color: #8a4b00; font-weight: 700; }
.pbar .seg { margin-left: auto; }
.pbar .status:empty { display: none; }

.sw { display: flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 600; position: relative; }
.sw input { position: absolute; opacity: 0; width: 0; height: 0; }
.sw i { position: relative; flex-shrink: 0; width: 42px; height: 24px; border-radius: 999px; background: #d9d6ca; transition: background .2s; }
.sw i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .2s; }
.sw input:checked + i { background: var(--gold-dark); }
.sw input:checked + i::after { transform: translateX(18px); }
.sw input:focus-visible + i { outline: 3px solid #2a6df4; outline-offset: 2px; }

.seg { display: inline-flex; background: var(--soft); border-radius: 999px; padding: 3px; gap: 2px; flex-shrink: 0; }
.seg button { border: 0; background: transparent; padding: 4px 12px; border-radius: 999px; font-size: 13px; color: var(--muted); }
.seg button:hover { color: var(--ink); }
.seg button.on { background: var(--white); color: var(--ink); font-weight: 700; box-shadow: 0 1px 4px rgba(32,33,36,.18); }

input[type=range] { -webkit-appearance: none; appearance: none; width: 120px; height: 24px; background: transparent; }
input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: #e2dfd2; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -6px; border-radius: 50%; background: var(--gold-dark); border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35); }

.stage { position: relative; width: 100%; }
.stage.pan { padding: 0 22px; }
.piano {
  width: 100%; position: relative; overflow: hidden; overscroll-behavior: contain;
  border-radius: 0 0 16px 16px; background: var(--ink); padding-top: 8px;
  box-shadow: 0 8px 20px rgba(32,33,36,.2);
  user-select: none; -webkit-user-select: none; touch-action: none;
}
.track { position: relative; transition: transform .25s ease; }
.key { position: absolute; top: 0; cursor: pointer; text-align: center; }
.white {
  background: var(--white); border: 1px solid #cfcbbd; border-top: 0; border-radius: 0 0 8px 8px;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  padding-bottom: calc(var(--w) * .1); transition: background .18s ease-out; z-index: 1;
}
.black {
  background: #333; border-radius: 0 0 6px 6px; z-index: 2; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  padding-bottom: calc(var(--w) * .08); transition: background .18s ease-out;
}
.key.down { background: var(--press); transition: none; }
.black.down { box-shadow: inset 0 0 0 2px var(--press-edge); }
.note { font-weight: 700; line-height: 1.1; font-size: max(11px, min(20px, calc(var(--w) * .36))); }
.ch   { font-weight: 400; color: #9a9c9d; margin: 0 0 1px; font-size: max(10px, min(16px, calc(var(--w) * .28))); }
.black .note { font-size: max(9px, min(14px, calc(var(--w) * .26))); }
.black .ch { font-size: max(9px, min(13px, calc(var(--w) * .22))); color: #a9a9a6; }
.black.down .note { color: var(--ink); }
.down .ch { color: #5c5f60; }

.edge {
  position: absolute; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; padding: 0 0 2px;
  border-radius: 50%; display: grid; place-items: center; font-size: 19px; line-height: 1;
  background: #ecebe5; border: 1px solid #dedbd0; color: #a9a699; transition: background .2s, color .2s, opacity .2s;
}
.edge:hover { background: #7d7a70; border-color: #7d7a70; color: #fff; }
.edge.off { opacity: 0; pointer-events: none; }
.edgeL { left: -4px; }
.edgeR { right: -4px; }

/* ---- okno s pokynmi ---- */
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(32,33,36,.45); display: flex; padding: 16px; overflow-y: auto; }
.modal[hidden] { display: none; }
.modal-card {
  position: relative; margin: auto; background: var(--white); border-radius: var(--radius); padding: 24px 28px 22px;
  width: min(620px, 100%); box-shadow: 0 24px 60px rgba(32,33,36,.35); line-height: 1.55; font-size: 15px;
}
.modal-card h2 { margin: 0 0 10px; font-size: 20px; }
.modal-card ul { margin: 0; padding-left: 20px; }
.modal-card li + li { margin-top: 6px; }
.x {
  position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%;
  background: var(--soft); font-size: 22px; line-height: 1; color: var(--muted); display: grid; place-items: center;
}
.x:hover { background: var(--gold); color: var(--ink); }

@media (max-width: 1250px) {
  .tool { min-width: 44px; }
  .tool span { display: none; }
  .pbar-hint { display: none; }
  .tip { display: none; }
}

.lbl { font-size: 13px; color: var(--muted); margin-right: 4px; }
.noterow select {
  font: inherit; font-size: 14px; height: 36px; padding: 0 12px; border: 1px solid #d3cfc0; border-radius: 999px; background: var(--white); color: var(--ink);
}
.nb.sty { width: 40px; justify-content: center; padding: 0; font-size: 17px; }
#fsDown, #fsUp { padding: 0 10px; font-weight: 700; }

.nb.play { font-weight: 700; }
.nb.play.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.tempo { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.tempo input[type=range] { width: 100px; }
.tempo b { color: var(--ink); min-width: 26px; }

.nb.dot b { font-size: 26px; line-height: 0; }

/* menu ☰ */
.menu-btn { width: 42px; height: 42px; padding: 0; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--gold); background: var(--gold); color: var(--ink); margin-left: 6px; }
.menu-btn:hover { background: #cdb061; }
.menu-btn[aria-expanded="true"] { background: var(--ink); border-color: var(--ink); color: var(--gold); }
.pop.menu { min-width: 260px; padding: 8px; }
.pop .sec-t { font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--gold-dark); padding: 10px 14px 4px; }
.pop .sec-t:first-child { padding-top: 4px; }
.pop .danger { color: #c92a2a; }
.zoomrow { display: flex; gap: 6px; padding: 4px 10px; }
.zoomrow button { flex: 1; text-align: center; border: 1px solid #d3cfc0; border-radius: 999px; padding: 6px 0; font-size: 16px; font-weight: 700; background: #fff; }
.zoomrow button#zoomReset { font-size: 13px; }
.pop .hint { margin: 2px 14px 4px; font-size: 12px; color: var(--muted); }
.mrow { justify-content: space-between; padding: 8px 14px; font-weight: 400; font-size: 15px; }
/* okno vymazania */
.modal-card.small { width: min(420px, 100%); }
.modal-card.small p { margin: 0 0 18px; color: var(--muted); }
.dlg-btns { display: flex; justify-content: flex-end; gap: 10px; }
.nb.red { background: #e03131; border-color: #e03131; color: #fff; font-weight: 700; }
.nb.red:hover { background: #c92a2a; }

/* výber taktu po kliknutí na označenie taktu */
.timepop { position: absolute; top: 0; left: 0; min-width: 0; padding: 6px 8px 10px; z-index: 8; }
.tgrid { display: flex; gap: 6px; padding: 2px 4px; }
.pop .tgrid button { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 46px; height: 64px; padding: 0;
  border: 1px solid #d3cfc0; border-radius: 12px; background: #fff; font-family: "Times New Roman", Times, serif; font-weight: 700; font-size: 24px; line-height: 1; text-align: center; }
.pop .tgrid button b { display: block; }
.pop .tgrid button:hover { border-color: var(--gold-dark); background: #fff; }
.pop .tgrid button.on { background: var(--gold); border-color: var(--gold-dark); }

.zoomrow.orient button { font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 6px; }
.zoomrow.orient svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.zoomrow.orient button.on { background: var(--gold); border-color: var(--gold-dark); }

/* ---- horný panel: pevné šírky, výber sa nemení na veľkosti ---- */
.tb { padding: 6px 14px; gap: 6px 10px; }
.tool { width: 72px; min-width: 0; flex: 0 0 auto; padding: 6px 2px 5px; font-weight: 500; font-size: 11px; color: var(--muted); border-radius: 12px; }
.tool.on { font-weight: 500; color: var(--ink); background: var(--gold); box-shadow: inset 0 0 0 1px var(--gold-dark); }
.tool:not(.on):hover { background: var(--soft); }
.tool span { white-space: nowrap; }
.capgrp { flex-direction: column; align-items: center; gap: 3px; }
.capgrp .colors, .capgrp .sizes { display: flex; align-items: center; gap: 5px; height: 30px; }
.cap { font-size: 11px; color: var(--muted); font-weight: 500; line-height: 1; }
.color { width: 24px; height: 24px; }
.size { width: 28px; height: 28px; }
#undoBtn, #redoBtn { width: 58px; }
@media (max-width: 1250px) { .tool { width: 46px; } .cap { display: none; } }

.pbar .plbl { font-size: 13px; color: var(--muted); }
.pbar .plbl:first-of-type { margin-left: auto; }
.pbar .seg { margin-left: 0; }
.pbar .status { margin-left: 8px; }

#staffPop { min-width: 220px; }
#staffPop .sub { color: var(--muted); font-size: 13px; }

/* ---- zarovnanie panela: ikony aj bodky v jednej výške, nápisy v jednej línii ---- */
.tool, .capgrp { height: 54px; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: space-between; }
.tool { width: 86px; padding: 6px 4px 6px; }
.tool svg { flex: 0 0 24px; }
.tool span, .cap { font-size: 11px; line-height: 13px; }
.tool.on { box-shadow: none; }
.capgrp { padding: 3px 4px 6px; gap: 0; }
.capgrp .colors, .capgrp .sizes { height: 30px; }
#undoBtn, #redoBtn { width: 62px; }
@media (max-width: 1350px) { .tool { width: 74px; } }
@media (max-width: 1250px) { .tool { width: 46px; height: 46px; justify-content: center; } .capgrp { height: 46px; justify-content: center; } }

/* predznamenanie v ponuke */
#kgrid { display: flex; flex-direction: column; gap: 6px; padding: 2px 4px; }
.krow { display: flex; gap: 6px; }
.kgap { width: 52px; flex: 0 0 52px; }
.pop #kgrid button { width: 52px; height: 48px; padding: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  border: 1px solid #d3cfc0; border-radius: 10px; background: #fff; text-align: center; }
.pop #kgrid button b { font-size: 15px; }
.pop #kgrid button small { font-size: 10.5px; color: var(--muted); }
.pop #kgrid button:hover { border-color: var(--gold-dark); background: #fff; }
.pop #kgrid button.on { background: var(--gold); border-color: var(--gold-dark); }
.pop #kgrid button.on small { color: var(--ink); }
.pop button:disabled { color: #b9b6aa; cursor: default; background: transparent; }

/* farby a hrúbka v riadku pod panelom */
.cslot .colors { display: flex; gap: 6px; align-items: center; }
.noterow .sizes { display: flex; gap: 4px; align-items: center; }
.cslotwrap[hidden] { display: none; }
/* akordy */
.chordpop { position: absolute; top: 0; left: 0; min-width: 0; padding: 6px 8px 8px; z-index: 8; }
#chordRows { display: flex; flex-direction: column; gap: 6px; padding: 2px 4px 4px; }
.crow { display: flex; gap: 6px; }
.pop #chordRows button { min-width: 62px; height: 46px; padding: 0 6px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 1px solid #d3cfc0; border-radius: 10px; background: #fff; font-family: "Times New Roman", Times, serif; font-weight: 700; font-size: 17px; text-align: center; }
.pop #chordRows button small { font-family: system-ui, sans-serif; font-weight: 400; font-size: 10px; color: var(--muted); }
.pop #chordRows button:hover { border-color: var(--gold-dark); background: #fff; }

/* ponuka akordov */
.chordpop { width: 620px; max-width: calc(100vw - 40px); padding: 8px 10px 10px; }
.cphead { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-right: 4px; }
.cphead select { font: inherit; font-size: 13px; height: 32px; padding: 0 10px; border: 1px solid #d3cfc0; border-radius: 999px; background: #fff; }
.chordpop .crow { display: flex; gap: 6px; padding: 3px 4px; }
.pop .chordpop .cbig, .chordpop .cbig { flex: 1; min-width: 0; height: 46px; padding: 0 2px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 1px solid #d3cfc0; border-radius: 10px; background: #fff; font-family: "Times New Roman", Times, serif; font-weight: 700; font-size: 16px; text-align: center; white-space: nowrap; }
.chordpop .cbig small { font-family: system-ui, sans-serif; font-weight: 400; font-size: 10px; color: var(--muted); }
.chordpop .cbig:hover { border-color: var(--gold-dark); }
.chordpop .cline { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; padding: 3px 4px; }
.chordpop .clbl { width: 52px; font-size: 12px; color: var(--muted); }
.pop .chordpop .csm, .chordpop .csm { padding: 4px 8px; min-width: 34px; border: 1px solid #d3cfc0; border-radius: 8px; background: #fff; font-size: 13px; text-align: center; }
.chordpop .csm.on { background: var(--gold); border-color: var(--gold-dark); font-weight: 700; }
.chordpop .cfoot { display: flex; justify-content: space-between; align-items: center; padding: 8px 4px 0; }
.pop .chordpop .cadd, .chordpop .cadd { background: var(--gold); border: 1px solid var(--gold-dark); border-radius: 999px; padding: 8px 18px; font-size: 14px; }
.chordpop .cadd b { font-family: "Times New Roman", Times, serif; font-size: 16px; }
.pop .chordpop .cdel, .chordpop .cdel { color: #c92a2a; border: 0; background: transparent; font-size: 14px; padding: 8px 4px; }

.mgrid { display: flex; gap: 6px; padding: 2px 4px 4px; }
.pop .mgrid button { min-width: 40px; height: 34px; padding: 0 8px; border: 1px solid #d3cfc0; border-radius: 10px; background: #fff; font-size: 14px; text-align: center; }
.pop .mgrid button.on { background: var(--gold); border-color: var(--gold-dark); font-weight: 700; }

/* nápis + ovládač v pruhu nad klavírom držia spolu */
.pgrp { display: flex; align-items: center; gap: 16px; }
.pbar .pgrp .plbl { margin-left: 0; }
.pbar .pgrp.oct { margin-left: auto; }

/* ---- mobil (2026-11-12) ---- */
@media (max-width: 700px) {
  /* hlavička: 1. riadok logo + Späť/Znova/Menu vpravo, 2. riadok nástroje vľavo */
  .tb { padding: 6px 12px; gap: 3px 8px; }
  .tb::after { content: ""; order: 1; flex-basis: 100%; height: 0; }
  .brand img { height: 32px; }
  .brand span { font-size: 18px; }
  .tb .grp { order: 2; }
  .tb .grp.right { order: 1; margin-left: auto; padding-left: 0; border-left: 0; gap: 0; }
  .tool { width: 42px; height: 44px; }
  .tb .grp + .grp { padding-left: 8px; }
  #undoBtn, #redoBtn { width: 44px; }
  .menu-btn { width: 40px; height: 40px; margin-left: 4px; }
  /* rozbaľovacie ponuky (Osnova, Menu) zarovnané k pravému okraju obrazovky */
  .tb .pop-wrap { position: static; }
  .tb .pop, .tb .pop-r {
    left: auto; right: 12px; top: calc(100% + 6px);
    max-width: calc(100vw - 24px); max-height: calc(100dvh - 130px); overflow-y: auto;
  }

  /* riadok pod nástrojmi: nič neuteká do strany, skupiny sa zalomia a začínajú zarovno */
  .noterow { padding: 6px 12px; gap: 6px 10px; }
  .noterow .grp { flex-wrap: wrap; row-gap: 6px; }
  .noterow .grp + .grp { padding-left: 0; border-left: 0; }
  #noteRow .nb[data-dur] { width: 40px; padding: 0; justify-content: center; }
  #noteRow .nb[data-dur] span { display: none; }

  /* pruh nad klavírom: Zapisovať + Prehrať / Tempo + Hlasitosť / Oktávy */
  .pbar { gap: 8px 14px; }
  .pgrp { gap: 8px; }
  .tempo, .pgrp.volg { order: 1; }
  .pbar .pgrp.oct { order: 2; margin-left: 0; }
  .pbar .status { order: 3; margin-left: 0; }
  .tempo input[type=range] { width: 80px; }
  #vol { width: 90px; }
}
