.bx {
  width: 540px;
  height: 540px;
  background: #f0dcb9;
  color: #f7e8cc;
  font-family: "Zilla Slab", serif;
}

/* The square is shared out equally among the files and the trigger. */
.bx-zone {
  display: flex;
  flex-direction: column;
  width: 540px;
  height: 540px;
}

.bx-list {
  display: contents;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bx-band,
.bx-add {
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
  container-type: size;
  outline: none;
  transition: flex-grow 460ms cubic-bezier(0.45, 0, 0.2, 1);
}

.bx-band:has([data-leaving]) {
  flex-grow: 0.0001;
}

.bx-row,
.bx-add {
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 0 20px 0 34px;
}

.bx-row {
  height: 100%;
}

.bx-row[data-tone="1"] {
  background: #38211a;
}

.bx-row[data-tone="2"] {
  background: #693c25;
}

.bx-row[data-tone="3"] {
  background: #9d5f32;
}

.bx-row[data-tone="4"] {
  background: #cc904f;
  color: #38211a;
}

.bx-name {
  font-size: 54cqh;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.bx-ext {
  font-weight: 400;
  opacity: 0.62;
}

.bx-remove,
.bx-plus {
  position: relative;
  flex: none;
  width: 52cqh;
  height: 52cqh;
  max-width: 64px;
  max-height: 64px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: inherit;
  outline: none;
}

.bx-remove::before,
.bx-remove::after,
.bx-plus::before,
.bx-plus::after {
  content: "";
  position: absolute;
  top: calc(50% - 2px);
  left: 22%;
  width: 56%;
  height: 4px;
  background: currentColor;
}

.bx-remove::before,
.bx-remove::after {
  left: 14%;
  width: 72%;
}

.bx-remove::before {
  rotate: 45deg;
}

.bx-remove::after {
  rotate: -45deg;
}

.bx-plus::after {
  rotate: 90deg;
}

.bx-remove {
  transition: background-color 120ms linear;
}

.bx-remove:hover {
  background: rgba(247, 232, 204, 0.16);
}

.bx-add {
  border: 0;
  background: #f0dcb9;
  color: #38211a;
  font: inherit;
  text-align: left;
}
