/* Master Console: a compact control rack without changing audio or tier behavior. */
.heritage-ui #root .anvil-master-console {
  min-width: 0;
  gap: 8px;
  padding: 13px;
  border: 2px solid #708d82;
  border-radius: 15px;
  background: radial-gradient(circle at 100% 0%, #65d9b81a, transparent 34%),
    linear-gradient(155deg, #243734, #111e21 56%, #1a292a);
  box-shadow: inset 0 1px #d7e7d034, inset 0 0 0 4px #132521,
    0 5px 0 #506d62, 0 15px 27px #02090878;
  color: #e1ecdf;
}
.heritage-ui #root .anvil-master-console > div:first-child {
  min-height: 36px;
  gap: 6px;
  margin-bottom: 2px;
  padding: 0 0 9px;
  border-bottom: 1px solid #698a79;
  color: #cff0db;
  font: 900 11px ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .11em;
}
.heritage-ui #root .anvil-master-console > div:first-child > span:first-child::before {
  content: "●";
  margin-right: 7px;
  color: #8fe3b5;
  text-shadow: 0 0 9px #68e4a9;
}
.heritage-ui #root .anvil-master-console > div:first-child > span:last-child {
  padding: 4px 5px;
  border: 1px solid #608772;
  border-radius: 4px;
  background: #172d28;
  color: #bdeccc;
  font: 900 8px ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .02em;
  text-align: right;
}
.heritage-ui #root .anvil-master-console > div:not(:first-child) {
  min-width: 0;
  gap: 5px;
  padding: 9px 10px;
  border: 1px solid #4f7868;
  border-radius: 8px;
  background: linear-gradient(145deg, #1d3932, #142925);
  box-shadow: inset 0 1px #a9d6aa1f, 0 2px 0 #0b1c19;
}
.heritage-ui #root .anvil-master-console > div:nth-child(3),
.heritage-ui #root .anvil-master-console > div:nth-child(4) {
  border-color: #866d52;
  background: linear-gradient(145deg, #3b3129, #282721);
}
.heritage-ui #root .anvil-master-console > div:nth-child(5),
.heritage-ui #root .anvil-master-console > div:nth-child(6) {
  border-color: #586e6d;
  background: linear-gradient(145deg, #243538, #19282c);
}
.heritage-ui #root .anvil-master-console > div:nth-child(7) {
  border-color: #6a667e;
  background: linear-gradient(145deg, #302d39, #22242d);
}
.heritage-ui #root .anvil-master-console > div:nth-child(8),
.heritage-ui #root .anvil-master-console > div:nth-child(9) {
  gap: 7px;
  padding: 11px 10px;
  border-color: #83735a;
  background: linear-gradient(145deg, #2f302c, #1a2526);
}
.heritage-ui #root .anvil-master-console > div:not(:first-child) > div:first-child {
  align-items: center;
  gap: 7px;
  min-width: 0;
  color: #d4e7d6;
  font-size: 10px;
  line-height: 1.2;
}
.heritage-ui #root .anvil-master-console > div:not(:first-child) > div:first-child > span:first-child {
  min-width: 0;
  color: #d9eadb;
  font: 900 10px ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .035em;
}
.heritage-ui #root .anvil-master-console > div:not(:first-child) > div:first-child > span:last-child:not(:first-child) {
  flex: 0 0 auto;
  color: #f3ce91;
  font-size: 12px;
  text-shadow: none;
}
.heritage-ui #root .anvil-master-console > div:not(:first-child) input[type="range"] {
  width: 100%;
  min-height: 25px;
  margin: 0;
  padding: 0;
  background: transparent;
  accent-color: #e8b266;
  cursor: pointer;
}
.heritage-ui #root .anvil-master-console > div:nth-child(2) input[type="range"] { accent-color: #74d6aa; }
.heritage-ui #root .anvil-master-console > div:nth-child(7) input[type="range"] { accent-color: #b7a7d8; }
.heritage-ui #root .anvil-master-console > div:not(:first-child) > span:last-child {
  color: #aabeb0;
  font-size: 9px;
  line-height: 1.35;
}
.heritage-ui #root .anvil-master-console > div:nth-child(5) button,
.heritage-ui #root .anvil-master-console > div:nth-child(6) button {
  min-width: 55px;
  min-height: 33px;
  padding: 5px 7px;
  border: 1px solid #728f80;
  border-radius: 5px;
  background: #102420;
  color: #d5eee0;
  font: 900 10px ui-monospace, SFMono-Regular, Menlo, monospace;
}
.heritage-ui #root .anvil-master-console > div:nth-child(8) > div:first-child,
.heritage-ui #root .anvil-master-console > div:nth-child(9) > div:first-child {
  padding-bottom: 5px;
  border-bottom: 1px solid #766e5c;
  color: #ebcb98;
  font: 900 10px ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .085em;
}
.heritage-ui #root .anvil-master-console > div:nth-child(8) button {
  min-width: 0;
  min-height: 37px;
  padding: 5px 3px;
  border-radius: 5px;
  font-size: 9px;
  line-height: 1.15;
}
.heritage-ui #root .anvil-master-console > div:nth-child(9) > div:not(:first-child) {
  gap: 4px;
  padding: 3px 0;
}
.heritage-ui #root .anvil-master-console > div:nth-child(9) > div:not(:first-child) > div:first-child {
  align-items: baseline;
  gap: 5px;
  color: #d9ded1;
  font-size: 9px;
}
.heritage-ui #root .anvil-master-console button:focus-visible,
.heritage-ui #root .anvil-master-console input:focus-visible {
  outline: 2px solid #ffdb98;
  outline-offset: 2px;
}
@media (min-width: 520px) and (max-width: 767px) {
  .heritage-ui #root .anvil-master-console {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
  }
  .heritage-ui #root .anvil-master-console > div:first-child,
  .heritage-ui #root .anvil-master-console > div:nth-child(8),
  .heritage-ui #root .anvil-master-console > div:nth-child(9) { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .heritage-ui #root .anvil-master-console button,
  .heritage-ui #root .anvil-master-console input { transition: none !important; }
}
