.arm-sync-entry {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #cdbf9f;
  font-size: 13px;
}
.arm-sync-dialog {
  width: min(580px, calc(100vw - 28px));
  max-height: calc(100dvh - 28px);
  margin: auto;
  padding: clamp(20px, 6vw, 36px);
  border: 1px solid #b692576b;
  border-radius: 20px;
  overflow: auto;
  background: radial-gradient(ellipse at 8% 0%, #312b21, transparent 55%), #1b1f20;
  color: #f5ead6;
  box-shadow: 0 26px 100px #0009;
}
.arm-sync-dialog::backdrop { background: #080a0cbb; }
.arm-sync-dialog header h2 { font-size: clamp(27px, 5vw, 37px); line-height: 1.12; }
.arm-sync-dialog header p {
  margin: 10px 0 20px;
  color: #cec4b4;
  line-height: 1.55;
}
.arm-sync-score {
  border: 1px solid #e6d3ac;
  border-radius: 10px;
  padding: 33px 16px;
  background: linear-gradient(150deg, #f2e8d3, #e4d2ae);
  box-shadow: inset 0 0 20px #7d5b2a14;
  color: #2e241b;
}
.arm-sync-staff {
  position: relative;
  height: 36px;
  background: repeating-linear-gradient(to bottom, #45372c 0 1px, transparent 1px 9px);
  border-bottom: 1px solid #45372c;
  box-sizing: content-box;
}
.arm-sync-clef {
  position: absolute;
  left: 4%;
  top: 50%;
  transform: translateY(-50%);
  font: 52px/1 "Segoe UI Symbol", "Noto Music", "Apple Symbols", serif;
}
.arm-sync-note {
  position: absolute;
  width: 12px;
  height: 8px;
  border-radius: 60%;
  background: currentColor;
  transform: translate(-50%, -50%) rotate(-17deg);
}
.arm-sync-note::before {
  content: "";
  position: absolute;
  bottom: 3px;
  right: 0;
  width: 1.4px;
  height: 24px;
  background: currentColor;
  transform-origin: bottom;
  transform: rotate(17deg);
}
.arm-sync-end-bar { position: absolute; right: 3%; height: 100%; border-right: 1px solid currentColor; }
.arm-sync-cursor {
  position: absolute;
  top: -13px;
  bottom: -13px;
  width: 3px;
  transform: translateX(-50%);
  border-radius: 3px;
  background: #a96113;
  box-shadow: 0 0 9px #c98532a6;
  opacity: 0;
}
.arm-sync-preview { display: grid; justify-items: center; gap: 8px; margin: 14px 0 19px; }
.arm-sync-preview button { gap: 8px; min-width: 140px; }
.arm-sync-preview button span { font-size: 11px; }
.arm-sync-preview p { color: #f3bd9e; }
.arm-sync-adjust { padding: 15px; border: 1px solid #ffffff15; border-radius: 12px; background: #12161683; }
.arm-sync-value, .arm-sync-hints { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.arm-sync-value label { color: #e8dfce; font-size: 13px; }
.arm-sync-value output { color: #e8c890; font-variant-numeric: tabular-nums; }
.arm-sync-slider { display: grid; grid-template-columns: 38px minmax(0, 1fr) 38px; gap: 10px; align-items: center; margin: 10px 0 6px; }
.arm-sync-slider button { min-height: 38px; border: 1px solid #d4b88346; border-radius: 8px; font-size: 19px; }
.arm-sync-slider input { width: 100%; min-height: 32px; margin: 0; padding: 0; border: 0; accent-color: #d7af6b; }
.arm-sync-hints { font-size: 11px; color: #c8bdac; }
.arm-sync-dialog footer { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.arm-sync-dialog footer button { padding: 7px 10px; }
@media (max-width: 420px) {
  .arm-sync-dialog { padding: 19px; }
  .arm-sync-adjust { padding: 11px; }
  .arm-sync-dialog footer { grid-template-columns: 1fr; }
  .arm-sync-dialog footer .arm-gold { grid-row: 1; }
}
