.kpc-stage-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 168px;
  gap: 20px;
  align-items: start;
}
@media (max-width: 900px) {
  .kpc-stage-layout { grid-template-columns: 1fr; }
}

.kpc-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  background: #2a2218;
  border: 1px solid #3d3428;
}
.kpc-wall {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, #3a3228, #2a2218 70%, #1c1712);
}
.kpc-vano {
  position: absolute;
  overflow: hidden;
  box-shadow: inset 0 0 0 6px #1a1612;
}
.kpc-outside {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 16%, rgba(255, 214, 130, 0.5), transparent 30%),
    linear-gradient(180deg, #79b7e6 0%, #d5eaf6 40%, #6fb8b0 70%, #1a5c68 100%);
}
.kpc-outside-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.kpc-vano-label {
  position: absolute;
  left: 0;
  right: 0;
  top: -22px;
  text-align: center;
  color: #e4c98a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.kpc-stage.is-row {
  aspect-ratio: auto;
  min-height: 280px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 8px;
  padding: 32px 12px 14px;
  overflow: visible;
}
.kpc-stage.is-row .kpc-vano {
  position: relative;
  left: auto;
  top: auto;
  width: auto;
  height: 220px;
  overflow: visible;
  box-shadow: inset 0 0 0 4px #1a1612;
}
.kpc-stage.is-row .kpc-outside,
.kpc-stage.is-row .kpc-cloth,
.kpc-stage.is-row .kpc-cass {
  border-radius: 2px;
}
.kpc-row-name {
  margin: 8px 0 0;
  color: var(--gold, #c4a46a);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.kpc-end-play {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 168px;
  gap: 22px;
  align-items: end;
  margin-top: 10px;
}
.kpc-end-windows { min-width: 0; }
.kpc-end-play .kpc-remote {
  width: 168px;
  margin: 0;
}
@media (max-width: 900px) {
  .kpc-end-play { grid-template-columns: 1fr; }
  .kpc-end-play .kpc-remote { margin: 16px auto 0; }
}
.kpc-ch[data-cols="5"] {
  grid-template-columns: repeat(4, 1fr);
}
.kpc-ch[data-cols="5"] button:first-child {
  grid-column: 1 / -1;
}
.kpc-ch[data-cols="8"] {
  grid-template-columns: repeat(4, 1fr);
}
.kpc-ch[data-cols="8"] button {
  height: 26px;
  font-size: 9px;
}
.kpc-vano { --kpc-cass-h: 8px; }
.kpc-cloth {
  position: absolute;
  left: 0; right: 0;
  top: var(--kpc-cass-h, 8px);
  z-index: 2;
  overflow: hidden;
}
.kpc-vano.is-blackout,
.kpc-stage.is-blackout.is-row .kpc-vano {
  overflow: visible;
}
.kpc-stage.is-blackout.is-row .kpc-outside {
  overflow: hidden;
}
.kpc-cloth.is-blackout {
  z-index: 3;
  opacity: 1;
  mix-blend-mode: normal;
  -webkit-mask: none !important;
  mask: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}
.kpc-cass {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: var(--kpc-cass-h, 8px);
  background: linear-gradient(180deg, #cbb48a, #7a6540);
  z-index: 5;
}
.kpc-rail {
  position: absolute;
  left: 0;
  right: 0;
  top: 70%;
  height: 7px;
  margin-top: -7px;
  background: linear-gradient(180deg, #e8d6b0, #8a7348);
  z-index: 4;
  pointer-events: none;
}

.kpc-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
  margin: 8px 0 16px;
}
.kpc-color {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 72px;
  padding: 8px 6px 6px;
  border: 1px solid var(--line, #2a3540);
  border-radius: 12px;
  background: #121820;
  color: #d7dde3;
  cursor: pointer;
}
.kpc-color i {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25);
}
.kpc-color[data-color="white"] i { background: #e4d8c4; }
.kpc-color[data-color="pure-white"] i {
  background: #ffffff;
  box-shadow: inset 0 0 0 1px #9aa3ad;
}
.kpc-color[data-color="cream"] i { background: #d8c49a; }
.kpc-color[data-color="brown"] i { background: #6b4426; }
.kpc-color[data-color="black"] i { background: #141414; }
.kpc-color[data-color="gray"] i { background: #8a8a8a; }
.kpc-color[data-color="blue"] i { background: #3d5c7a; }
.kpc-color i.is-black { background: #141414; }
.kpc-color i.is-silver { background: linear-gradient(180deg, #e8ecef, #8a9298); }
.kpc-color i.is-white { background: #ffffff; box-shadow: inset 0 0 0 1px #9aa3ad; }
.kpc-color i.is-cream { background: #e8d5b4; }
.kpc-color i.is-bronze { background: #3a2c20; }

.kpc-hardware {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--line, #2a3540);
}
.kpc-hardware h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 16px;
  font-weight: 500;
}
.kpc-hardware p { color: #c5ced6; font-size: 17px; line-height: 1.65; max-width: 780px; }
.kpc-hardware-photo {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line, #2a3540);
  background: #d8d8d8;
}
.kpc-hardware-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
}
.kpc-hw-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.1fr) minmax(160px, 0.9fr) minmax(160px, 0.9fr);
  gap: 18px;
  align-items: stretch;
  margin: 22px 0 18px;
}
@media (max-width: 860px) {
  .kpc-hw-row { grid-template-columns: 1fr; }
}
.kpc-hw-model { min-width: 0; }
.kpc-cass-demo,
.kpc-fascia-demo {
  position: relative;
  height: 240px;
  background: #2a221c;
  border-radius: 14px;
  border: 1px solid #3a3540;
  overflow: hidden;
}
.kpc-cass-demo {
  display: flex;
  flex-direction: column;
  padding: 28px 22px 18px;
}
.kpc-hw-metal {
  flex: 0 0 36px;
  height: 36px;
  background: linear-gradient(180deg, #f4ead6, #d8c4a4 55%, #b49a78);
  border: 1px solid rgba(0, 0, 0, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28),
    0 5px 10px rgba(0, 0, 0, 0.4);
}
.kpc-cass-box { border-radius: 3px; }
.kpc-cass-rail {
  flex-basis: 14px;
  height: 14px;
  margin: 0 8px;
  border-radius: 2px;
}
.kpc-hw-cloth {
  background: repeating-linear-gradient(180deg, #d6c4a0 0 3px, #bcae8a 3px 6px);
  box-shadow: inset 0 10px 12px rgba(0, 0, 0, 0.18);
}
.kpc-cass-cloth {
  flex: 1;
  margin: 0 10px;
  min-height: 0;
}
.kpc-fascia-demo {
  padding: 14px 12px 12px 14px;
}
.kpc-fascia-frame {
  height: 100%;
  padding: 12px 14px 0 10px;
  background: linear-gradient(180deg, #d8d2c8 0%, #c4bdb2 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 0 0 5px #b8b0a4,
    0 0 0 7px #9a9288;
}
.kpc-fascia-open {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #1a1612;
  padding-top: 8px;
}
.kpc-fascia-plate {
  position: relative;
  z-index: 3;
  flex: 0 0 36px;
  border-radius: 0;
}
.kpc-fascia-cloth {
  flex: 1;
  min-height: 0;
}
.kpc-fascia-rail {
  flex: 0 0 14px;
  height: 14px;
  border-radius: 0;
  z-index: 3;
}
.kpc-color small {
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9aa7b3;
}
.kpc-color[aria-pressed="true"] {
  border-color: #c4a46a;
  color: #e4c98a;
}
.kpc-color[aria-pressed="true"] small { color: #e4c98a; }

.kpc-remote {
  width: 168px;
  border: 1px solid #5a5348;
  border-radius: 42px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 18%),
    linear-gradient(180deg, #3a3836 0%, #1c1b1a 42%, #121110 100%);
  padding: 12px 12px 14px;
  color: #eee;
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -10px 18px rgba(0, 0, 0, 0.28);
}
.kpc-remote-cap {
  width: 36px;
  height: 4px;
  margin: 2px auto 8px;
  border-radius: 99px;
  background: linear-gradient(180deg, #8a8070, #3a342c);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.kpc-remote-brand {
  text-align: center;
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c4a46a;
  margin-bottom: 6px;
  line-height: 1.25;
}
.kpc-remote h3 {
  margin: 0 0 10px;
  text-align: center;
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9a9080;
  font-weight: 500;
  line-height: 1.35;
}
.kpc-ch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-bottom: 10px;
}
.kpc-ch button, .kpc-pad button {
  position: relative;
  height: 28px;
  border-radius: 8px;
  border: 1px solid #4a453c;
  background: linear-gradient(180deg, #2c2a27, #1a1917);
  color: #e8e2d6;
  cursor: pointer;
  font-size: 9px;
  letter-spacing: 0.02em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.kpc-ch button:hover, .kpc-pad button:hover {
  border-color: #c4a46a;
  color: #f3e6c8;
}
.kpc-led {
  position: absolute;
  top: 4px;
  right: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #1a1a1a;
  box-shadow: inset 0 0 0 1px #050505;
  pointer-events: none;
}
.kpc-ch button[aria-pressed="true"] .kpc-led {
  background: #7a5a18;
  box-shadow: 0 0 6px rgba(196, 164, 106, 0.7);
}
.kpc-remote button.is-blink .kpc-led {
  background: #ffe08a;
  box-shadow: 0 0 8px #f0d48a, 0 0 14px rgba(228, 201, 138, 0.7);
  animation: kpc-led-blink 0.5s ease-in-out infinite;
}
@keyframes kpc-led-blink {
  0%, 100% { opacity: 0.28; }
  50% { opacity: 1; }
}
.kpc-ch button[aria-pressed="true"] { border-color: #c4a46a; color: #e4c98a; }
.kpc-pad { display: grid; gap: 6px; }
.kpc-pad .up, .kpc-pad .dn {
  height: 34px;
  font-size: 13px;
  border-radius: 18px;
}
.kpc-pad .my {
  height: 26px;
  letter-spacing: 0.16em;
  font-weight: 700;
  font-size: 10px;
  border-radius: 16px;
}
.kpc-remote small {
  display: block;
  margin-top: 9px;
  color: #8a8478;
  font-size: 8px;
  line-height: 1.35;
  text-align: center;
}
