/* Passive LCD material, shared chassis light, and restrained diffusion. */
.double-a-page [data-da80-chassis="true"] {
  --da80-light-x: 50%;
  --da80-light-y: 50%;
  --da80-light-shift: 0px;
}

.double-a-page {
  transition: background 220ms ease;
}

.double-a-page.da80-dark-room {
  background:
    radial-gradient(ellipse at 50% 10%, rgba(36, 31, 21, 0.035), transparent 38%),
    linear-gradient(180deg, #020202 0%, #010101 72%, #000 100%);
}

.double-a-page.da80-dark-room .double-a-page__header,
.double-a-page.da80-dark-room .double-a-page__footer {
  filter: brightness(0.28) saturate(0.68);
  transition: filter 220ms ease;
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__light-cast {
  position: absolute;
  z-index: 3;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 42% 34% at var(--da80-light-x) var(--da80-light-y),
      rgba(255, 247, 214, 0.12),
      transparent 72%
    ),
    linear-gradient(116deg, transparent 32%, rgba(255, 244, 204, 0.035) 48%, transparent 62%);
  mix-blend-mode: screen;
  opacity: 0.72;
  transition: opacity 160ms ease;
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__nightlight-scrim {
  position: absolute;
  z-index: 10;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(ellipse at 74% 22%, rgba(62, 55, 26, 0.06), transparent 32%),
    rgba(0, 1, 1, 0.76);
  transition: opacity 220ms ease;
}

.double-a-page [data-da80-chassis="true"][data-light="on"] .konami-doublea-machine__nightlight-scrim {
  opacity: 1;
}

.double-a-page [data-da80-chassis="true"][data-light="on"] .konami-doublea-machine__fasteners {
  opacity: 0.28;
  transition: opacity 220ms ease;
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__door-window {
  position: relative;
  overflow: hidden;
  clip-path: polygon(2% 0%, 98% 0%, 100% 6%, 100% 94%, 98% 100%, 2% 100%, 0% 94%, 0% 6%);
  background:
    radial-gradient(
      ellipse 54% 58% at var(--da80-light-x) var(--da80-light-y),
      rgba(229, 232, 202, 0.065),
      transparent 70%
    ),
    linear-gradient(122deg, rgba(226, 222, 193, 0.08), transparent 30%),
    rgba(4, 9, 8, 0.32);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__door-window::after {
  content: "";
  position: absolute;
  inset: -15%;
  pointer-events: none;
  clip-path: polygon(18% 0%, 34% 0%, 72% 100%, 54% 100%);
  background: linear-gradient(90deg, transparent, rgba(255, 250, 215, 0.07), transparent);
  transform: translateX(var(--da80-light-shift));
  transition: transform 180ms ease-out;
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-cassette {
  clip-path: polygon(2% 0%, 98% 0%, 100% 6%, 100% 94%, 98% 100%, 2% 100%, 0% 94%, 0% 6%);
  background:
    radial-gradient(
      ellipse 52% 68% at var(--da80-light-x) var(--da80-light-y),
      rgba(255, 250, 225, 0.11),
      transparent 72%
    ),
    linear-gradient(115deg, rgba(255, 255, 255, 0.38), transparent 26%),
    linear-gradient(180deg, #e7dfc9 0%, #cfc5aa 52%, #b8ad91 100%);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-transport__key {
  transition:
    transform 120ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 120ms ease,
    color 120ms ease;
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__display {
  position: relative;
  z-index: 14;
  overflow: hidden;
  isolation: isolate;
  clip-path: inset(0 round 2px);
  color: #202914;
  background:
    radial-gradient(
      ellipse at 46% 40%,
      rgba(185, 194, 118, 0.16),
      rgba(150, 160, 88, 0.05) 48%,
      transparent 78%
    ),
    #9aa264;
  box-shadow:
    inset 0 0 14px rgba(18, 22, 8, 0.26),
    inset 0 2px 3px rgba(255, 255, 215, 0.10),
    inset 0 -3px 6px rgba(30, 34, 14, 0.16),
    0 0 0 1px rgba(7, 8, 5, 0.85);
  transition:
    background 180ms ease,
    box-shadow 220ms ease,
    color 180ms ease;
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__display::after {
  content: "";
  position: absolute;
  z-index: 4;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__display-state-row,
.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__display-title,
.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__counter-row,
.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__status,
.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__program-lcd {
  position: relative;
  z-index: 2;
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__lcd-peak-meter {
  z-index: 2;
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__display-title,
.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__counter {
  color: #202914;
  filter:
    drop-shadow(0 0 0.45px rgba(31, 41, 18, 0.55))
    drop-shadow(0 0 1.15px rgba(31, 41, 18, 0.18));
  text-shadow:
    0 0 0.45px rgba(30, 40, 17, 0.65),
    0 0 1.1px rgba(30, 40, 17, 0.22);
  transition: text-shadow 120ms ease-out;
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__display-state-row,
.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__display-readout:not(.konami-doublea-machine__program-control):not(.konami-doublea-machine__machine-control),
.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__analysis-readout,
.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__status,
.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__counter-divider,
.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__duration {
  color: #202914;
  text-shadow:
    0 0 0.45px rgba(30, 40, 17, 0.65),
    0 0 1.1px rgba(30, 40, 17, 0.22);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__program-lcd {
  background:
    radial-gradient(ellipse at 46% 40%, rgba(185, 194, 118, 0.12), transparent 74%),
    #8f965f;
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__display.is-powering-on {
  animation: da80-lcd-power-on 260ms ease-out;
}

@keyframes da80-lcd-power-on {
  0% {
    filter: brightness(0.82) contrast(0.92);
  }

  55% {
    filter: brightness(1.04) contrast(1.02);
  }

  100% {
    filter: none;
  }
}

.double-a-page [data-da80-chassis="true"][data-light="on"] .konami-doublea-machine__display {
  background:
    radial-gradient(ellipse at 48% 42%, rgba(211, 222, 139, 0.22), rgba(170, 181, 97, 0.08) 56%, transparent 82%),
    #a2aa68;
  box-shadow:
    inset 0 0 14px rgba(18, 22, 8, 0.22),
    inset 0 2px 4px rgba(255, 255, 215, 0.13),
    inset 0 -3px 6px rgba(30, 34, 14, 0.14),
    0 0 0 1px rgba(7, 8, 5, 0.85),
    0 0 7px rgba(154, 170, 82, 0.14),
    0 0 30px 5px rgba(170, 153, 74, 0.15);
}

.double-a-page [data-da80-chassis="true"][data-light="on"] .konami-doublea-machine__display-title,
.double-a-page [data-da80-chassis="true"][data-light="on"] .konami-doublea-machine__counter,
.double-a-page [data-da80-chassis="true"][data-light="on"] .konami-doublea-machine__display-state-row,
.double-a-page [data-da80-chassis="true"][data-light="on"] .konami-doublea-machine__status,
.double-a-page [data-da80-chassis="true"][data-light="on"] .konami-doublea-machine__program-lcd {
  filter: brightness(1.08);
}

.double-a-page [data-da80-chassis="true"][data-light="on"] :is(button, input):focus-visible {
  position: relative;
  z-index: 11;
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__counter[data-previous-value] {
  text-shadow:
    0 0 0.7px currentColor,
    0 0 1.5px rgba(38, 48, 20, 0.34),
    0 1px 0 rgba(213, 225, 152, 0.4);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__transport-state,
.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__display-readout:not(.konami-doublea-machine__machine-control),
.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__analysis-readout,
.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__status,
.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__counter-divider,
.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__duration {
  text-shadow:
    0 0 0.35px currentColor,
    0 0 0.8px rgba(38, 48, 20, 0.2);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-cassette__reel-window {
  overflow: hidden;
  clip-path: polygon(4% 8%, 96% 8%, 100% 18%, 96% 90%, 4% 90%, 0% 82%, 0% 18%);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__program-control,
.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__machine-control,
.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__analysis-action {
  clip-path: polygon(3% 0%, 97% 0%, 100% 12%, 100% 88%, 97% 100%, 3% 100%, 0% 88%, 0% 12%);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__program-drawer {
  clip-path: polygon(1.5% 0%, 98.5% 0%, 100% 4%, 100% 96%, 98.5% 100%, 1.5% 100%, 0% 96%, 0% 4%);
}

/*
 * Progressive enhancement for browsers that support CSS Shapes Level 2.
 * Keep the polygon/inset masks above as the production fallback: these
 * contours are deliberately rigid and manufactured, not organic morphs.
 */
@supports (clip-path: shape(from 0% 0%, line to 100% 0%, close)) {
  .double-a-page [data-da80-chassis="true"] .konami-doublea-machine__door-window,
  .double-a-page [data-da80-chassis="true"] .konami-doublea-cassette {
    clip-path: shape(
      from 2% 0%,
      line to 98% 0%,
      curve to 100% 6% with 100% 1%,
      line to 100% 94%,
      curve to 98% 100% with 100% 99%,
      line to 2% 100%,
      curve to 0% 94% with 0% 99%,
      line to 0% 6%,
      curve to 2% 0% with 0% 1%,
      close
    );
  }

  .double-a-page [data-da80-chassis="true"] .konami-doublea-cassette__reel-window {
    clip-path: shape(
      from 4% 8%,
      line to 96% 8%,
      curve to 100% 18% with 100% 10%,
      line to 96% 90%,
      line to 4% 90%,
      curve to 0% 82% with 0% 90%,
      line to 0% 18%,
      curve to 4% 8% with 0% 10%,
      close
    );
  }

  .double-a-page [data-da80-chassis="true"] .konami-doublea-machine__display {
    clip-path: shape(
      from 1% 0%,
      line to 99% 0%,
      curve to 100% 3% with 100% 1%,
      line to 99% 100%,
      line to 1% 100%,
      curve to 0% 97% with 0% 99%,
      line to 0% 3%,
      curve to 1% 0% with 0% 1%,
      close
    );
  }

  .double-a-page [data-da80-chassis="true"] .konami-doublea-machine__program-control,
  .double-a-page [data-da80-chassis="true"] .konami-doublea-machine__machine-control,
  .double-a-page [data-da80-chassis="true"] .konami-doublea-machine__analysis-action {
    clip-path: shape(
      from 3% 0%,
      line to 97% 0%,
      curve to 100% 12% with 100% 3%,
      line to 100% 88%,
      curve to 97% 100% with 100% 97%,
      line to 3% 100%,
      curve to 0% 88% with 0% 97%,
      line to 0% 12%,
      curve to 3% 0% with 0% 3%,
      close
    );
  }

  .double-a-page [data-da80-chassis="true"] .konami-doublea-machine__program-drawer {
    clip-path: shape(
      from 1.5% 0%,
      line to 98.5% 0%,
      curve to 100% 4% with 100% 1%,
      line to 100% 96%,
      curve to 98.5% 100% with 100% 99%,
      line to 1.5% 100%,
      curve to 0% 96% with 0% 99%,
      line to 0% 4%,
      curve to 1.5% 0% with 0% 1%,
      close
    );
  }
}

/*
 * Damped hardware press. The individual translate/scale
 * properties compose with each control's existing transform instead of
 * replacing insertion, active-state, or faceplate positioning transforms.
 */
.double-a-page [data-da80-chassis="true"] [data-da80-mechanical-press="true"],
.double-a-page [data-double-a-exit][data-da80-mechanical-press="true"] {
  --da80-press-depth: 0;
  --da80-press-travel: 3px;
  translate: 0 calc(var(--da80-press-depth) * var(--da80-press-travel));
  scale: calc(1 - var(--da80-press-depth) * 0.008);
  transform-origin: center;
  will-change: translate, scale;
  box-shadow:
    inset 0 calc(1px + var(--da80-press-depth) * 2px)
      calc(1px + var(--da80-press-depth) * 3px)
      rgba(0, 0, 0, 0.42),
    inset 0 -5px calc(7px - var(--da80-press-depth) * 3px)
      rgba(0, 0, 0, 0.72),
    0 calc(4px - var(--da80-press-depth) * 3px)
      calc(7px - var(--da80-press-depth) * 3px)
      rgba(0, 0, 0, 0.72),
    0 0 0 1px rgba(0, 0, 0, 0.42);
}

.double-a-page [data-double-a-exit][data-da80-mechanical-press="true"] {
  transition:
    translate 120ms cubic-bezier(0.2, 0.8, 0.2, 1),
    scale 120ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 120ms ease;
}

.double-a-page [data-double-a-exit][data-da80-mechanical-press="true"]:active {
  --da80-press-depth: 1;
}

/* Automatic program-cassette presentation transitions. */
@media (prefers-reduced-motion: reduce) {
  .double-a-page [data-da80-chassis="true"] [data-da80-mechanical-press="true"],
  .double-a-page [data-double-a-exit][data-da80-mechanical-press="true"] {
    will-change: auto;
  }

  .double-a-page [data-double-a-exit][data-da80-mechanical-press="true"] {
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .double-a-page,
  .double-a-page.da80-dark-room .double-a-page__header,
  .double-a-page.da80-dark-room .double-a-page__footer,
  .double-a-page [data-da80-chassis="true"] .konami-doublea-machine__light-cast,
  .double-a-page [data-da80-chassis="true"] .konami-doublea-machine__nightlight-scrim,
  .double-a-page [data-da80-chassis="true"] .konami-doublea-machine__fasteners,
  .double-a-page [data-da80-chassis="true"] .konami-doublea-machine__door-window::after,
  .double-a-page [data-da80-chassis="true"] .konami-doublea-transport__key,
  .double-a-page [data-da80-chassis="true"] .konami-doublea-machine__display.is-powering-on,
  .double-a-page [data-da80-chassis="true"] .konami-doublea-machine__display-title,
  .double-a-page [data-da80-chassis="true"] .konami-doublea-machine__counter,
  .double-a-page [data-da80-chassis="true"] .konami-doublea-machine__display {
    transition: none;
  }

  .double-a-page [data-da80-chassis="true"] .konami-doublea-machine__display.is-powering-on {
    animation: none;
  }

}

/* Restrained weathered shading. */
.double-a-page [data-da80-chassis="true"] {
  --da80-weather-edge: rgba(70, 54, 32, 0.16);
  --da80-weather-recess: rgba(0, 0, 0, 0.16);
  --da80-weather-polish: rgba(235, 216, 170, 0.07);
}

.double-a-page [data-da80-chassis="true"].konami-doublea-machine {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.13), transparent 5%, transparent 95%, rgba(0, 0, 0, 0.14)),
    radial-gradient(ellipse at 50% 100%, rgba(0, 0, 0, 0.11), transparent 72%),
    linear-gradient(90deg, transparent 0 2.8%, rgba(255, 255, 255, 0.025) 2.9%, transparent 3.1% 96.9%, rgba(255, 255, 255, 0.025) 97%, transparent 97.2%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent 48%, rgba(0, 0, 0, 0.012)),
    linear-gradient(165deg, #272621 0%, var(--da-shell) 43%, #10100e 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    inset 0 -1px 0 #050504,
    inset 12px 0 18px rgba(0, 0, 0, 0.38),
    inset -12px 0 18px rgba(0, 0, 0, 0.38),
    inset 0 0 0 1px var(--da80-weather-edge),
    0 30px 60px rgba(0, 0, 0, 0.86);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__bay {
  border-color: #454238;
  background:
    radial-gradient(ellipse at 50% 60%, color-mix(in srgb, var(--konami-machine-signal) 8%, transparent), transparent 48%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.18), transparent 8%, transparent 92%, rgba(0, 0, 0, 0.2)),
    linear-gradient(180deg, color-mix(in srgb, var(--konami-machine-metal) 4%, transparent), transparent 48%, color-mix(in srgb, var(--konami-machine-metal) 2%, transparent)),
    var(--konami-machine-shadow);
  box-shadow:
    inset 0 12px 24px var(--konami-machine-shadow),
    inset 0 0 0 1px color-mix(in srgb, var(--konami-machine-signal) 11%, transparent),
    inset 0 0 14px var(--da80-weather-recess);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__door {
  border-color: #292923;
  box-shadow:
    inset 0 1px 0 #6e6a5d,
    inset 0 -1px 0 #050504,
    inset 0 0 18px rgba(0, 0, 0, 0.68),
    inset 0 0 0 1px var(--da80-weather-edge),
    0 9px 18px rgba(0, 0, 0, 0.84);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__door-window {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(0, 0, 0, 0.12), transparent 26%),
    radial-gradient(ellipse at 100% 100%, rgba(0, 0, 0, 0.13), transparent 28%),
    linear-gradient(117deg, transparent 38%, rgba(236, 232, 203, 0.012) 50%, transparent 62%),
    linear-gradient(120deg, rgba(220, 230, 210, 0.12), transparent 25%),
    linear-gradient(180deg, rgba(188, 214, 195, 0.025), transparent 50%, rgba(0, 0, 0, 0.025)),
    rgba(4, 9, 8, 0.46);
  box-shadow:
    inset 0 0 25px #000,
    inset 0 0 0 1px rgba(221, 213, 187, 0.09),
    inset 0 0 0 2px rgba(52, 42, 28, 0.12),
    0 0 8px rgba(150, 175, 144, 0.08);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-cassette {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(74, 57, 32, 0.09), transparent 62%),
    radial-gradient(ellipse 52% 68% at var(--da80-light-x) var(--da80-light-y), rgba(255, 250, 225, 0.11), transparent 72%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.38), transparent 26%),
    linear-gradient(90deg, rgba(114, 103, 78, 0.04), transparent 48%, rgba(114, 103, 78, 0.025)),
    linear-gradient(180deg, #e7dfc9 0%, #cfc5aa 52%, #b8ad91 100%);
  box-shadow:
    inset 0 1px 0 #fffdf0,
    inset 0 -7px 11px rgba(76, 67, 48, 0.3),
    inset 0 0 0 1px rgba(83, 70, 43, 0.14),
    0 13px 26px rgba(0, 0, 0, 0.86),
    0 0 0 1px rgba(255, 234, 187, 0.12);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-cassette::before,
.double-a-page [data-da80-chassis="true"] .konami-doublea-cassette::after {
  background: radial-gradient(circle at 34% 30%, #d0c6aa 0 18%, #6e6654 20% 58%, #312c22 60%);
  box-shadow: 0 0 0 1px rgba(70, 54, 31, 0.18), inset 0 0 2px rgba(0, 0, 0, 0.34);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__display {
  border-color: #080908;
  box-shadow:
    inset 0 0 14px rgba(18, 22, 8, 0.26),
    inset 0 2px 3px rgba(255, 255, 215, 0.1),
    inset 0 -3px 6px rgba(30, 34, 14, 0.16),
    inset 8px 0 12px rgba(0, 0, 0, 0.08),
    inset -8px 0 12px rgba(0, 0, 0, 0.08),
    inset 0 0 0 1px var(--da80-weather-edge),
    0 0 0 1px rgba(7, 8, 5, 0.85);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-transport__key:not([aria-pressed="true"]):not(:active) {
  background:
    linear-gradient(180deg, var(--da80-weather-polish), transparent 32%),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05) 48%, transparent),
    linear-gradient(180deg, #393936 0%, #242522 48%, #0c0d0c 100%);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-transport__key--stop,
.double-a-page [data-da80-chassis="true"] .konami-doublea-transport__key--toggle,
.double-a-page [data-da80-chassis="true"] .konami-doublea-transport__key--eject {
  border-top-color: #625d4f;
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__processing-quick > .konami-doublea-machine__processing-control-group {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.016), transparent 44%, rgba(0, 0, 0, 0.08));
  box-shadow: inset 0 1px rgba(235, 216, 170, 0.035), inset 0 -7px 10px rgba(0, 0, 0, 0.1);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__processing-quick > .konami-doublea-machine__processing-control-group:not(:last-child) {
  box-shadow: inset -1px 0 rgba(115, 105, 75, 0.34), inset 0 1px rgba(235, 216, 170, 0.035), inset 0 -7px 10px rgba(0, 0, 0, 0.1);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__machine-controls {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 46%, rgba(0, 0, 0, 0.1));
  box-shadow: inset 1px 0 rgba(115, 105, 75, 0.34), inset 0 -8px 12px rgba(0, 0, 0, 0.1);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__processing-control-group[data-control-kind="selector"] .konami-doublea-machine__processing-button::before {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38), inset 0 -3px 4px rgba(0, 0, 0, 0.4), 0 1px 0 #030403, 0 0 0 1px rgba(72, 55, 32, 0.12);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__processing-button:not([aria-pressed="true"]):not([aria-checked="true"]) {
  border-top-color: #5e594b;
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__processing-slider input::-webkit-slider-runnable-track {
  box-shadow: inset 0 2px 4px #000, inset 0 -1px rgba(255, 255, 255, 0.08), inset 0 0 0 1px rgba(91, 67, 33, 0.16), 0 1px rgba(255, 255, 255, 0.06);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__processing-slider input::-moz-range-track {
  box-shadow: inset 0 2px 4px #000, inset 0 -1px rgba(255, 255, 255, 0.08), inset 0 0 0 1px rgba(91, 67, 33, 0.16), 0 1px rgba(255, 255, 255, 0.06);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__processing-slider input::-webkit-slider-thumb {
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.46), inset 0 -2px 2px rgba(0, 0, 0, 0.42), 0 2px 4px #000, 0 0 4px rgba(229, 166, 78, 0.16);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__processing-slider input::-moz-range-thumb {
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.32), inset 0 -2px 2px rgba(0, 0, 0, 0.42), 0 2px 4px #000, 0 0 4px rgba(229, 166, 78, 0.16);
}

/* Tactile material tokens and diagnostics. */
.double-a-page [data-da80-chassis="true"] {
  --da80-material-chassis-high: #3e3e3b;
  --da80-material-chassis-mid: #242522;
  --da80-material-chassis-low: #0b0c0b;
  --da80-material-edge: rgba(238, 222, 177, 0.16);
  --da80-material-contact: rgba(0, 0, 0, 0.72);
  --da80-material-cast: rgba(0, 0, 0, 0.48);
  --da80-material-recess: rgba(0, 0, 0, 0.36);
  --da80-material-silver: #b8b5a7;
  --da80-material-amber: #efb44d;
  --da80-material-red: #d92f26;
  --da80-lcd-substrate: #9aa264;
  --da80-lcd-ink: #202914;
  --da80-ease-press: cubic-bezier(0.2, 0.8, 0.2, 1);
  --da80-ease-heavy: cubic-bezier(0.16, 0.84, 0.22, 1);
  --da80-ease-detent: cubic-bezier(0.22, 0.78, 0.24, 1);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__display {
  contain: layout paint;
  background-color: var(--da80-lcd-substrate);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__display-title,
.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__counter,
.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__display-state-row,
.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__status {
  color: var(--da80-lcd-ink);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-transport__key--eject {
  border-top-color: var(--da80-material-edge);
  transition-timing-function: var(--da80-ease-heavy);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-transport__key:not(.konami-doublea-transport__key--eject) {
  transition-timing-function: var(--da80-ease-press);
}

.double-a-page [data-da80-chassis="true"] [data-control-type="detented-rotary"] .konami-doublea-machine__processing-button::before,
.double-a-page [data-da80-chassis="true"] [data-control-type="detented-button"] {
  border-color: var(--da80-material-edge);
}

.double-a-page [data-da80-chassis="true"] [data-control-type="detented-rotary"] .konami-doublea-machine__processing-button::after {
  transition-timing-function: var(--da80-ease-detent);
}

.double-a-page [data-da80-chassis="true"] [data-da80-mechanical-press="true"] {
  /* The primary presentation loop owns motion; reserve promotion for active presses. */
  will-change: auto;
}

.double-a-page [data-da80-chassis="true"] [data-da80-mechanical-press="true"][data-press-depth]:not([data-press-depth="0"]) {
  will-change: translate, scale;
}

.double-a-page [data-da80-chassis="true"] [data-reel-motion="moving"] .konami-doublea-cassette__reel,
.double-a-page [data-da80-chassis="true"] [data-reel-motion="coasting"] .konami-doublea-cassette__reel {
  will-change: transform;
}

.double-a-page [data-da80-chassis="true"] [data-reel-motion="stopped"] .konami-doublea-cassette__reel {
  will-change: auto;
}

.double-a-page [data-da80-chassis="true"] :is(button, input):focus-visible {
  outline: 1px solid var(--da80-material-amber);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .double-a-page [data-da80-chassis="true"] [data-da80-mechanical-press="true"],
  .double-a-page [data-da80-chassis="true"] [data-reel-motion="moving"] .konami-doublea-cassette__reel,
  .double-a-page [data-da80-chassis="true"] [data-reel-motion="coasting"] .konami-doublea-cassette__reel {
    will-change: auto;
  }
}

/* Final physical-control material cascade. */
.double-a-page.konami-doublea-stage {
  padding: 10px 12px 14px;
}

.double-a-page [data-da80-chassis="true"].konami-doublea-machine {
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 4px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.34), transparent 4%, transparent 96%, rgba(0, 0, 0, 0.38)),
    radial-gradient(ellipse at 48% -12%, rgba(213, 199, 159, 0.085), transparent 43%),
    linear-gradient(165deg, #292925 0%, #171815 42%, #0b0c0b 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -2px 0 #030403,
    inset 13px 0 20px rgba(0, 0, 0, 0.46),
    inset -13px 0 20px rgba(0, 0, 0, 0.46),
    0 0 0 1px #050605,
    0 0 0 2px rgba(173, 156, 113, 0.16),
    0 26px 52px rgba(0, 0, 0, 0.88);
}

.double-a-page [data-da80-chassis="true"] :is(
  .konami-doublea-machine__section-label,
  .konami-doublea-machine__utility-label,
  .konami-doublea-machine__processing-control-heading,
  .konami-doublea-machine__processing-control-legend,
  .konami-doublea-transport__label
) {
  color: #c6b486;
  text-shadow: 0 1px 0 #020302;
}

/* Cassette bay: chassis lip, deep cavity, metal door frame, acrylic face. */
.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__bay {
  border: 8px solid #171815;
  border-top-color: #656257;
  border-right-color: #24241f;
  border-bottom-color: #070806;
  border-left-color: #45433b;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.035), transparent 22%),
    radial-gradient(ellipse at 50% 65%, rgba(126, 91, 43, 0.13), transparent 43%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.015) 0 1px, transparent 1px 5px),
    radial-gradient(ellipse at center, #242520 0%, #10110f 58%, #030403 100%);
  box-shadow:
    inset 0 20px 30px rgba(0, 0, 0, 0.98),
    inset 12px 0 20px rgba(0, 0, 0, 0.72),
    inset -12px 0 20px rgba(0, 0, 0, 0.72),
    inset 0 -2px 0 rgba(255, 255, 255, 0.035),
    0 0 0 1px #050504,
    0 0 0 2px rgba(201, 190, 157, 0.2),
    0 3px 0 rgba(255, 255, 255, 0.07);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__bay::before {
  inset: 9px 12px 11px;
  border: 1px solid #050605;
  box-shadow:
    inset 0 0 0 5px rgba(0, 0, 0, 0.48),
    inset 0 13px 24px rgba(0, 0, 0, 0.94),
    inset 0 -4px 10px rgba(186, 172, 133, 0.055),
    0 0 0 1px rgba(125, 120, 104, 0.23);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__bay::after {
  inset: 17px 23px auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(237, 218, 169, 0.28) 14%, rgba(255, 248, 220, 0.08) 58%, transparent);
  box-shadow: 0 166px 0 rgba(255, 255, 255, 0.055);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__door {
  border: 7px solid #24251f;
  border-top-color: #777367;
  border-right-color: #34342d;
  border-bottom-color: #070806;
  border-left-color: #4c4a41;
  background: linear-gradient(118deg, rgba(224, 209, 175, 0.12), transparent 33%);
  background-color: transparent;
  box-shadow:
    inset 0 0 0 1px #050605,
    inset 0 0 20px rgba(0, 0, 0, 0.84),
    0 10px 19px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(231, 218, 182, 0.12);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__door-window {
  border: 1px solid rgba(179, 190, 170, 0.22);
  background:
    linear-gradient(116deg, transparent 16%, rgba(230, 235, 211, 0.105) 28%, transparent 41%),
    linear-gradient(180deg, rgba(117, 133, 118, 0.075), transparent 43%),
    rgba(2, 5, 4, 0.22);
  box-shadow:
    inset 0 0 28px #000,
    inset 0 0 0 2px rgba(0, 0, 0, 0.72),
    0 1px 0 rgba(255, 255, 255, 0.09);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-cassette {
  box-shadow:
    inset 0 2px 0 #fffdf0,
    inset 0 -8px 13px rgba(76, 67, 48, 0.34),
    inset 0 0 0 1px rgba(83, 70, 43, 0.2),
    0 14px 28px rgba(0, 0, 0, 0.92),
    0 0 0 1px rgba(255, 234, 187, 0.2);
}

/* LCD sits behind a thick black aperture while retaining crisp pixels. */
.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__display {
  box-sizing: border-box;
  border: 7px solid #080907;
  border-top-color: #25261f;
  border-right-color: #050605;
  border-bottom-color: #020302;
  border-left-color: #161713;
  border-radius: 3px;
  background:
    radial-gradient(ellipse at 46% 40%, rgba(200, 207, 130, 0.2), rgba(150, 160, 88, 0.045) 52%, transparent 79%),
    #99a261;
  box-shadow:
    inset 0 0 18px rgba(18, 22, 8, 0.3),
    inset 0 2px 2px rgba(255, 255, 215, 0.11),
    inset 9px 0 13px rgba(0, 0, 0, 0.09),
    inset -9px 0 13px rgba(0, 0, 0, 0.09),
    0 0 0 1px #020302,
    0 0 0 3px #303129,
    0 7px 12px rgba(0, 0, 0, 0.68),
    0 0 18px rgba(153, 172, 82, 0.1);
}

/* Large cassette-deck keys with a visible top plate and front-face depth. */
.double-a-page [data-da80-chassis="true"] .konami-doublea-transport {
  gap: 9px;
  padding: 13px 11px 17px;
  border: 2px solid #050605;
  border-top-color: #555249;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.014) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, #1a1b17, #080907);
  box-shadow:
    inset 0 10px 16px rgba(0, 0, 0, 0.72),
    inset 0 -1px 0 rgba(255, 255, 255, 0.055),
    0 1px 0 rgba(255, 255, 255, 0.08);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-transport__key {
  min-height: 70px;
  border: 1px solid #050605;
  border-top-color: #7c786c;
  border-right-color: #171814;
  border-bottom-color: #020302;
  border-left-color: #48463e;
  border-radius: 3px;
  clip-path: polygon(3px 0, calc(100% - 3px) 0, 100% 5px, 100% 100%, 0 100%, 0 5px);
  color: #d6cfba;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.065) 48%, transparent),
    linear-gradient(180deg, #464641 0%, #30312d 39%, #1b1c19 66%, #0a0b09 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.21),
    inset 0 -9px 10px rgba(0, 0, 0, 0.82),
    0 5px 0 #050605,
    0 8px 11px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(180, 168, 137, 0.08);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-transport__key::before {
  inset: 4px 6px auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 247, 218, 0.3), transparent);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-transport__key:disabled {
  color: #8d897c;
  filter: brightness(0.88) saturate(0.82);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-transport__key:active:not(:disabled),
.double-a-page [data-da80-chassis="true"] .konami-doublea-transport__key[data-press-depth]:not([data-press-depth="0"]) {
  box-shadow:
    inset 0 6px 11px #050605,
    inset 0 1px 0 #252621,
    0 1px 0 #030403,
    0 2px 4px rgba(0, 0, 0, 0.72);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-transport__key--stop .konami-doublea-transport__lamp--stop,
.double-a-page [data-da80-chassis="true"] .konami-doublea-transport__key--stop[aria-pressed="true"] .konami-doublea-transport__lamp--stop {
  background: #91d866;
  box-shadow: inset 0 0 2px #efffd9, 0 0 6px rgba(145, 216, 102, 0.65);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-transport__key--eject {
  min-height: 75px;
  border-top-color: #a98d5b;
  color: #f0c36f;
  background:
    linear-gradient(90deg, transparent, rgba(255, 232, 183, 0.09) 48%, transparent),
    linear-gradient(180deg, #5a4e39 0%, #393126 40%, #201b16 68%, #0a0907 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 228, 169, 0.29),
    inset 0 -10px 11px rgba(0, 0, 0, 0.84),
    0 6px 0 #050403,
    0 9px 12px rgba(0, 0, 0, 0.74),
    0 0 0 1px rgba(223, 179, 93, 0.14);
}

/* Processing strip: every control sits in a shallow machined well. */
.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__processing-quick {
  gap: 0;
  padding: 9px 10px 10px;
  border: 2px solid #090a08;
  border-top-color: #565248;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.013) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, #1d1e1a, #0a0b09 84%);
  box-shadow: inset 0 8px 14px rgba(0, 0, 0, 0.32), inset 0 -2px 0 #040504, 0 1px 0 rgba(255, 255, 255, 0.07);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__processing-quick > .konami-doublea-machine__processing-control-group {
  position: relative;
  min-height: 86px;
  padding: 5px 5px 7px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 45%, rgba(0, 0, 0, 0.13));
  box-shadow: inset 0 1px 0 rgba(242, 221, 174, 0.045), inset 0 -8px 12px rgba(0, 0, 0, 0.17);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__processing-quick > .konami-doublea-machine__processing-control-group:not(:last-child) {
  box-shadow: inset -1px 0 rgba(139, 123, 87, 0.36), inset 0 1px rgba(242, 221, 174, 0.045), inset 0 -8px 12px rgba(0, 0, 0, 0.17);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__processing-quick .konami-doublea-machine__processing-button:disabled {
  opacity: 0.9;
  filter: brightness(0.9) saturate(0.82);
}

/* DSP, HX PRO, and EQ: deep slot plus a raised two-position lever. */
.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__processing-control-group[data-control-kind="toggle"] .konami-doublea-machine__processing-button {
  min-height: 63px;
  padding: 43px 2px 2px;
  color: #c5b78f;
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__processing-control-group[data-control-kind="toggle"] .konami-doublea-machine__processing-button::before {
  top: 5px;
  width: 42px;
  height: 38px;
  border: 2px solid #070806;
  border-top-color: #777267;
  border-left-color: #3b3a33;
  border-radius: 4px;
  background: linear-gradient(180deg, #20211c, #070806 72%);
  box-shadow: inset 0 8px 10px #000, inset 0 -1px 0 rgba(255, 255, 255, 0.1), 0 0 0 1px rgba(191, 174, 134, 0.16), 0 1px 0 rgba(255, 255, 255, 0.07);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__processing-control-group[data-control-kind="toggle"] .konami-doublea-machine__processing-button::after {
  top: 7px;
  width: 20px;
  height: 29px;
  transform: translate(-50%, 5px) rotate(12deg);
  transform-origin: 50% 88%;
  border: 1px solid #25251f;
  border-top-color: #d8d1bd;
  border-radius: 3px 3px 2px 2px;
  clip-path: polygon(12% 0, 100% 4%, 86% 100%, 0 96%);
  background: linear-gradient(90deg, #4a4941, #d8d1bd 43%, #6c6a5e 63%, #262720);
  box-shadow: inset 1px 0 rgba(255, 255, 255, 0.28), inset -2px 0 rgba(0, 0, 0, 0.35), 0 4px 4px #000;
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__processing-control-group[data-control-kind="toggle"] .konami-doublea-machine__processing-button[data-toggle-state="on"]::after {
  transform: translate(-50%, -1px) rotate(-12deg);
  box-shadow: inset 1px 0 rgba(255, 255, 255, 0.34), inset -2px 0 rgba(0, 0, 0, 0.35), 0 3px 4px #000, 0 0 6px rgba(236, 186, 81, 0.34);
}

/* NR OFF/B/C: a real three-position vertical selector with detents. */
.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__processing-control-group[data-control-kind="selector"]:not([data-selector-id]) .konami-doublea-machine__processing-button {
  min-height: 63px;
  padding: 45px 3px 2px;
  color: #c5b78f;
  background: transparent;
  box-shadow: none;
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__processing-control-group[data-control-kind="selector"]:not([data-selector-id]) .konami-doublea-machine__processing-button::before {
  top: 6px;
  left: 38%;
  width: 11px;
  height: 37px;
  transform: translateX(-50%);
  border: 2px solid #070806;
  border-top-color: #47453d;
  border-radius: 3px;
  background:
    radial-gradient(circle at 50% 5px, #7b6740 0 1px, transparent 2px),
    radial-gradient(circle at 50% 50%, #7b6740 0 1px, transparent 2px),
    radial-gradient(circle at 50% calc(100% - 5px), #7b6740 0 1px, transparent 2px),
    linear-gradient(90deg, #030403, #151611 50%, #030403);
  box-shadow: inset 0 2px 5px #000, 0 1px 0 rgba(255, 255, 255, 0.07);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__processing-control-group[data-control-kind="selector"]:not([data-selector-id]) .konami-doublea-machine__processing-button::after {
  top: 7px;
  left: 38%;
  width: 23px;
  height: 15px;
  transform: translate(-50%, var(--da-nr-travel, 22px));
  border: 1px solid #1b1b17;
  border-top-color: #cbc3ae;
  border-radius: 2px;
  background: linear-gradient(180deg, #bab4a5, #69675e 55%, #272822);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.4), inset 0 -3px rgba(0, 0, 0, 0.35), 0 3px 4px #000;
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__processing-control-group[data-control-kind="selector"]:not([data-selector-id]) .konami-doublea-machine__processing-button[data-selector-value="OFF"] { --da-nr-travel: 22px; }
.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__processing-control-group[data-control-kind="selector"]:not([data-selector-id]) .konami-doublea-machine__processing-button[data-selector-value="B"] { --da-nr-travel: 11px; }
.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__processing-control-group[data-control-kind="selector"]:not([data-selector-id]) .konami-doublea-machine__processing-button[data-selector-value="C"] { --da-nr-travel: 0px; }

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__processing-control-group[data-control-kind="selector"]:not([data-selector-id]) .konami-doublea-machine__processing-control-legend[data-detents="true"] {
  position: absolute;
  top: 23px;
  right: 8px;
  display: flex;
  width: auto;
  height: 34px;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 0.3rem;
  line-height: 1;
}

/* Tape Character and Mechanical Sound: large knurled aluminium knobs. */
.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__processing-control-group:is([data-selector-id="tape-character"], [data-selector-id="mechanical-sound"]) .konami-doublea-machine__processing-button {
  min-height: 69px;
  padding: 55px 1px 1px;
  background: radial-gradient(circle at 50% 27px, #030403 0 27px, rgba(176, 156, 108, 0.24) 28px, transparent 30px);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__processing-control-group:is([data-selector-id="tape-character"], [data-selector-id="mechanical-sound"]) .konami-doublea-machine__processing-button::before {
  top: 3px;
  width: 49px;
  height: 49px;
  border: 1px solid #171813;
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 255, 246, 0.8) 0 4%, transparent 17%),
    repeating-radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08) 0 1px, rgba(0, 0, 0, 0.035) 1px 2px),
    radial-gradient(circle, #ddd9cc 0 26%, #aaa79d 52%, transparent 60%),
    repeating-conic-gradient(from 0deg, #d9d5c8 0 3deg, #77766e 3deg 6deg, #b8b4a8 6deg 9deg);
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, 0.72),
    inset 0 -6px 7px rgba(0, 0, 0, 0.54),
    0 4px 0 #050605,
    0 7px 8px rgba(0, 0, 0, 0.62),
    0 0 0 3px #10110e,
    0 0 0 4px rgba(196, 180, 141, 0.22);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__processing-control-group:is([data-selector-id="tape-character"], [data-selector-id="mechanical-sound"]) .konami-doublea-machine__processing-button::after {
  top: 8px;
  width: 3px;
  height: 15px;
  transform-origin: 50% 19px;
  background: #3c3322;
  box-shadow: 0 0 0 1px rgba(255, 246, 215, 0.55), 0 1px 1px #191814;
}

/* EQ reset keeps its red identity, now with a recessed bezel and cap travel. */
.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__processing-control-group[data-control-kind="action"] .konami-doublea-machine__processing-button[aria-label="Reset equalization flat"] {
  width: 52px;
  height: 52px;
  min-height: 52px;
  padding: 29px 2px 3px;
  border: 2px solid #260807;
  border-top-color: #ff9278;
  background:
    radial-gradient(circle at 34% 23%, #ffc0ab 0 6%, transparent 7%),
    radial-gradient(circle at 42% 35%, #e14838, #a71313 58%, #3d090a 100%);
  box-shadow:
    inset 0 3px 3px rgba(255, 220, 198, 0.42),
    inset 0 -7px 8px rgba(45, 0, 0, 0.7),
    0 4px 0 #050604,
    0 7px 8px rgba(0, 0, 0, 0.62),
    0 0 0 4px #11120f,
    0 0 0 5px rgba(196, 161, 116, 0.16);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__processing-control-group[data-control-kind="action"] .konami-doublea-machine__processing-button[aria-label="Reset equalization flat"]:active:not(:disabled),
.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__processing-control-group[data-control-kind="action"] .konami-doublea-machine__processing-button[aria-label="Reset equalization flat"][data-press-depth]:not([data-press-depth="0"]) {
  box-shadow: inset 0 5px 8px rgba(43, 0, 0, 0.86), 0 1px 0 #050604, 0 0 0 4px #11120f, 0 0 0 5px rgba(196, 161, 116, 0.12);
}

/* Tape position: engraved scale, recessed groove, dimensional metal thumb. */
.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__utilities {
  padding: 8px 10px 10px;
  border: 2px solid #070806 !important;
  border-top-color: #4d4a40 !important;
  background: linear-gradient(180deg, #171814, #090a08) !important;
  box-shadow: inset 0 6px 10px rgba(0, 0, 0, 0.62), inset 0 -1px rgba(255, 255, 255, 0.05) !important;
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__progress-wrap {
  position: relative;
  padding-bottom: 12px;
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__progress-wrap::after {
  content: "";
  position: absolute;
  right: 3px;
  bottom: 1px;
  left: 3px;
  height: 8px;
  pointer-events: none;
  opacity: 0.54;
  background: repeating-linear-gradient(90deg, #9f916c 0 1px, transparent 1px 35px);
  clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__progress {
  height: 28px;
  opacity: 1;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__progress::-webkit-slider-runnable-track {
  height: 8px;
  border: 2px solid #040504;
  border-top-color: #292a24;
  border-radius: 2px;
  background: linear-gradient(90deg, #b68c45 var(--doublea-position), #080907 var(--doublea-position));
  box-shadow: inset 0 3px 5px #000, inset 0 -1px rgba(255, 255, 255, 0.08), 0 1px rgba(255, 255, 255, 0.07);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__progress::-webkit-slider-thumb {
  width: 30px;
  height: 26px;
  margin-top: -11px;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #24241f;
  border-top-color: #f0e8d5;
  border-radius: 5px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 4px),
    linear-gradient(90deg, #5c5b54, #ddd6c5 45%, #77756c 72%, #3c3d37);
  box-shadow: inset 0 2px rgba(255, 255, 255, 0.46), inset 0 -4px rgba(0, 0, 0, 0.32), 0 4px 5px #000, 0 0 0 2px #090a08;
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__progress::-moz-range-track {
  height: 6px;
  border: 2px solid #040504;
  border-radius: 2px;
  background: #080907;
  box-shadow: inset 0 3px 5px #000, inset 0 -1px rgba(255, 255, 255, 0.08);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__progress::-moz-range-progress {
  height: 6px;
  background: #b68c45;
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__progress::-moz-range-thumb {
  width: 30px;
  height: 26px;
  border: 1px solid #24241f;
  border-radius: 5px;
  background: linear-gradient(90deg, #5c5b54, #ddd6c5 45%, #77756c 72%, #3c3d37);
  box-shadow: inset 0 2px rgba(255, 255, 255, 0.46), inset 0 -4px rgba(0, 0, 0, 0.32), 0 4px 5px #000, 0 0 0 2px #090a08;
}

/* Peak Search: a small machined secondary button with an inset active state. */
.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__analysis-action {
  width: 58px;
  min-width: 58px;
  height: 58px;
  min-height: 58px;
  padding: 15px 5px 6px;
  border: 2px solid #161713;
  border-top-color: #d3cdbd;
  color: #e7d4a3;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 246, 0.74) 0 5%, transparent 6%),
    repeating-conic-gradient(from 0deg, rgba(255, 255, 255, 0.08) 0 4deg, rgba(0, 0, 0, 0.08) 4deg 8deg),
    radial-gradient(circle at 40% 32%, #9e9b91, #58574f 58%, #20211c 100%);
  box-shadow:
    inset 0 2px 2px rgba(255, 255, 255, 0.34),
    inset 0 -7px 8px rgba(0, 0, 0, 0.76),
    0 4px 0 #050604,
    0 7px 9px rgba(0, 0, 0, 0.64),
    0 0 0 3px #0b0c0a,
    0 0 0 4px rgba(202, 186, 149, 0.17);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__analysis-action::before {
  width: 6px;
  height: 6px;
  margin: -9px auto 5px;
  background: #7b5b27;
  box-shadow: inset 0 0 2px #000, 0 0 3px rgba(238, 181, 76, 0.28);
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__analysis-action:is(:active, [aria-pressed="true"]),
.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__analysis-action[data-press-depth]:not([data-press-depth="0"]) {
  box-shadow: inset 0 6px 9px #11120f, 0 1px 0 #050604, 0 0 0 3px #0b0c0a, 0 0 0 4px rgba(202, 186, 149, 0.12);
}

@media (max-width: 700px) {
  .double-a-page [data-da80-chassis="true"] .konami-doublea-transport__key {
    min-height: 58px;
  }

  .double-a-page [data-da80-chassis="true"] .konami-doublea-machine__processing-quick > .konami-doublea-machine__processing-control-group {
    min-height: 78px;
  }
}

/* Restrained vintage LCD character. */
.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__display {
  --da80-lcd-cell-size: 4px;
  --da80-lcd-ink: #202914;
  --da80-lcd-substrate: #99a261;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--da80-lcd-ink);
  background:
    radial-gradient(ellipse at 50% 42%, rgba(202, 211, 132, 0.12), transparent 62%),
    radial-gradient(ellipse at center, transparent 46%, rgba(24, 31, 12, 0.13) 100%),
    linear-gradient(180deg, rgba(255, 255, 215, 0.035), transparent 22%, rgba(30, 37, 15, 0.045)),
    linear-gradient(90deg, rgba(8, 12, 5, 0.035), transparent 13% 87%, rgba(8, 12, 5, 0.045)),
    var(--da80-lcd-substrate);
}

.double-a-page [data-da80-chassis="true"][data-light="on"] .konami-doublea-machine__display {
  --da80-lcd-substrate: #a2aa68;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(216, 226, 142, 0.18), transparent 64%),
    radial-gradient(ellipse at center, transparent 46%, rgba(24, 31, 12, 0.1) 100%),
    linear-gradient(180deg, rgba(255, 255, 215, 0.05), transparent 22%, rgba(30, 37, 15, 0.035)),
    linear-gradient(90deg, rgba(8, 12, 5, 0.025), transparent 13% 87%, rgba(8, 12, 5, 0.035)),
    var(--da80-lcd-substrate);
}

/* Fine 2D cell structure: visible up close, quiet at normal viewing distance. */
.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__display::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(31, 40, 16, 0.045) 0 1px, transparent 1px var(--da80-lcd-cell-size)),
    repeating-linear-gradient(0deg, rgba(255, 255, 216, 0.028) 0 1px, transparent 1px var(--da80-lcd-cell-size));
  background-size: var(--da80-lcd-cell-size) var(--da80-lcd-cell-size);
  mix-blend-mode: multiply;
  opacity: 0.58;
}

/* A thin glass layer adds restrained sheen and edge falloff without a glossy-screen look. */
.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__display::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    linear-gradient(112deg, transparent 0 27%, rgba(255, 250, 220, 0.045) 39%, transparent 51%),
    linear-gradient(90deg, rgba(8, 12, 5, 0.065), transparent 10% 89%, rgba(8, 12, 5, 0.085)),
    radial-gradient(ellipse at 50% -24%, rgba(255, 255, 224, 0.065), transparent 64%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 224, 0.09),
    inset 0 -7px 10px rgba(15, 21, 8, 0.07);
  opacity: 0.82;
}

/* Keep every LCD content zone above the cell matrix and below the glass. */
.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__display > .konami-doublea-machine__display-zone,
.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__display > .konami-doublea-machine__program-lcd {
  position: relative;
  z-index: 2;
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__display > .konami-doublea-machine__lcd-peak-meter {
  z-index: 2;
}

/* Older LCD response: a short, bounded persistence on the small Groove pixels only. */
.double-a-page[data-motion-policy="full"] [data-hardware-ui="retro-da80"] .konami-doublea-machine__lcd-creature-pixel {
  transition: background-color 95ms linear, box-shadow 95ms linear !important;
}

.double-a-page [data-da80-chassis="true"] .konami-doublea-machine__counter[data-previous-value] {
  text-shadow:
    0 0 0.35px currentColor,
    0 0 0.9px rgba(38, 48, 20, 0.16);
}
