/* The lower-right amber key always names the mode the visitor can enter.
   A and B monitoring buttons remain directly under their tape bays. */
.pc-stage[data-mode] .pc-deck :is(.pc-compare, .pc-ab .pc-done) {
  position: absolute;
  isolation: isolate;
  left: calc(var(--face-x) + var(--key-left, .755) * var(--face-w));
  top: calc(var(--face-y) + .60 * var(--face-h));
  width: calc(var(--key-width, .215) * var(--face-w));
  height: calc(.252 * var(--face-h));
  min-width: 0;
  min-height: 32px;
  padding: 0 .3em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .25em;
  border: max(1.5px, .24cqw) solid #302e35;
  border-radius: 4% 3% 4% 3% / 10% 8% 11% 8%;
  background: #464550;
  color: #302c27;
  box-shadow: inset 0 .08em #79747b, 0 .09em #33303a;
  font: 500 var(--key-font, clamp(14px, 2.15cqw, 25px))/1.04 var(--studio-label);
  text-align: center;
  white-space: normal;
}
.pc-stage[data-mode] .pc-deck :is(.pc-compare, .pc-ab .pc-done)::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 2% 1.4% 5%;
  border: .3em solid transparent;
  border-image: var(--t700-image-studio-switch-cap) 10 19 10 18 fill / .3em .48em stretch;
  filter: drop-shadow(0 .055em .015em #292a32);
  pointer-events: none;
}
.pc-stage .pc-deck .pc-compare-caption {
  min-width: 0;
  line-height: 1.01;
}
.pc-stage .pc-deck .pc-compare-mark { flex: none; }
.pc-stage .pc-deck .pc-single-mark i {
  width: 1.36em;
  height: .99em;
  background:
    radial-gradient(circle at 29% 65%, #fff0d4 0 12%, transparent 14%),
    radial-gradient(circle at 72% 65%, #fff0d4 0 12%, transparent 14%),
    linear-gradient(#e4ceaa, #e4ceaa) center 17% / 71% 21% no-repeat,
    #4b4649;
}
@media (hover: hover) {
  .pc-stage[data-mode] .pc-deck :is(.pc-compare, .pc-ab .pc-done):hover::before { filter: brightness(1.06); }
}
.pc-stage[data-mode] .pc-deck :is(.pc-compare, .pc-ab .pc-done):active::before {
  transform: translateY(2%);
  filter: brightness(.96);
}
.pc-stage[data-mode] .pc-deck :is(.pc-compare, .pc-ab .pc-done):focus-visible {
  outline: 3px solid #ffedc5;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px #354758;
}
/* The wider analog window has a matching wide selector directly below it. */
.pc-deck .pc-compare {
  --key-left: .596;
  --key-width: .312;
  --key-font: clamp(15px, 2.8cqw, 30px);
}
@container (max-width: 510px) {
  .pc-stage .pc-deck :is(.pc-compare, .pc-ab .pc-done) .pc-compare-mark { display: none; }
}
@media (max-width: 900px), (max-width: 1100px) and (max-aspect-ratio: 1.12) {
  .pc-stage[data-mode] .pc-deck :is(.pc-compare, .pc-ab .pc-done) {
    top: calc(var(--face-y) + .535 * var(--face-h));
    min-height: 44px;
    padding-inline: .22em;
    font-size: clamp(15px, 2.68cqw, 19px);
  }
  /* The cap itself supplies the touch target without extending into either bay. */
  .pc-stage[data-mode] .pc-deck :is(.pc-compare, .pc-ab .pc-done)::after { content: none; }
}
