.fc {
  width: 540px;
  height: 540px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 18px 16px;
  background:
    linear-gradient(90deg, #2a1a10 0 10px, transparent 10px calc(100% - 10px), #2a1a10 calc(100% - 10px)),
    repeating-linear-gradient(0deg, #ffffff05 0 1px, transparent 1px 2px),
    linear-gradient(180deg, #2b2b2d, #1a1a1b);
  font-family: "Barlow Condensed", sans-serif;
}

.fc * { box-sizing: border-box; }

.fc-ch {
  width: 164px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 12px 10px 14px;
  border-radius: 3px;
  background:
    repeating-linear-gradient(90deg, #ffffff08 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #3d3e41, #2c2d30);
  box-shadow: inset 0 1px 0 #ffffff1a, inset 0 -1px 0 #0006, 0 0 0 1px #0008;
}

.fc-tape {
  width: 120px;
  height: 34px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #efe6c9, #e3d8b5);
  color: #1d2a6b;
  font-family: "Caveat Variable", cursive;
  font-size: 26px;
  font-weight: 600;
  rotate: -1.5deg;
  box-shadow: 0 1px 2px #0007;
  clip-path: polygon(2% 0, 98% 4%, 100% 96%, 1% 100%);
}

.fc-ch:nth-child(2) .fc-tape { rotate: 1deg; }

.fc-led {
  width: 104px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 3px;
  background: #160707;
  box-shadow: inset 0 2px 4px #000, 0 1px 0 #ffffff14;
  color: #ff3b26;
  font-family: "Share Tech Mono", monospace;
  font-size: 24px;
  text-shadow: 0 0 8px #ff3b2699;
  font-variant-numeric: tabular-nums;
}

.fc-body {
  position: relative;
  flex: 1;
  width: 100%;
  display: flex;
  justify-content: center;
}

.fc-scale {
  position: absolute;
  top: 22px;
  bottom: 22px;
  right: calc(50% + 58px);
  width: 30px;
}

.fc-scale span {
  position: absolute;
  right: 0;
  translate: 0 50%;
  color: #d8d6cf;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
}

.fc-scale span::after {
  content: "";
  position: absolute;
  right: -26px;
  top: 50%;
  width: 20px;
  height: 1px;
  background: #d8d6cf99;
}

.fc-control {
  height: 100%;
  width: 60px;
  display: flex;
  justify-content: center;
  padding: 22px 0;
}

.fc-slot {
  position: relative;
  width: 8px;
  height: 100%;
  border-radius: 4px;
  background: #050505;
  box-shadow: inset 0 1px 2px #000, 0 1px 0 #ffffff1f;
}

.fc-cap {
  left: 50%;
  translate: -50% 50%;
  width: 58px;
  height: 40px;
  border-radius: 4px;
  background:
    linear-gradient(180deg, transparent 47%, #1a1a1a 47% 53%, transparent 53%),
    repeating-linear-gradient(180deg, #0000 0 4px, #0000001f 4px 5px),
    linear-gradient(180deg, #f2f2f0 0%, #b9b9b6 45%, #8f8f8c 55%, #d9d9d6 100%);
  box-shadow: 0 6px 10px #000a, 0 1px 0 #fff inset, 0 0 0 1px #2228;
}

.fc-cap:has(:focus-visible),
.fc-cap[data-dragging] {
  box-shadow: 0 10px 16px #000c, 0 1px 0 #fff inset, 0 0 0 1px #2228, 0 0 0 3px #ff3b26aa;
}
