button.kpc-fact,
a.kpc-fact {
  display: block;
  width: 100%;
  appearance: none;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
}
button.kpc-fact:hover,
button.kpc-fact:focus-visible,
a.kpc-fact:hover,
a.kpc-fact:focus-visible {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 1px var(--gold);
}
.kpc-fact-hint,
.kpc-fact-hint span {
  display: block;
  margin-top: 12px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.kpc-fact-hint span { margin-top: 0; }

.kpc-sx[hidden] { display: none !important; }
.kpc-sx {
  position: fixed;
  inset: 0;
  z-index: 80;
}
.kpc-sx-back {
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 10, 0.94);
}
.kpc-sx-sheet {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 28px));
  max-height: calc(100vh - 28px);
  overflow: auto;
  margin: 14px auto;
  padding: 22px 22px 26px;
  border: 1px solid #3d3420;
  border-radius: 16px;
  background: linear-gradient(180deg, #16120e, #0c0a08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}
.kpc-sx-nav {
  position: sticky;
  z-index: 12;
  top: -10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -10px -10px 16px;
  padding: 10px;
  border-bottom: 1px solid rgba(196, 164, 106, 0.28);
  background: rgba(18, 14, 10, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.kpc-sx-return {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: #1a140e;
  color: var(--gold-2);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  cursor: pointer;
}
.kpc-sx-return:hover,
.kpc-sx-return:focus-visible {
  border-color: #f0dba7;
  color: #fff4d6;
  outline: 2px solid #fff1c8;
  outline-offset: 2px;
}
.kpc-sx-x {
  position: static;
  flex: 0 0 44px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #1a140e;
  color: var(--gold);
  font-size: 20px;
  cursor: pointer;
}
.kpc-sx-x:hover { border-color: var(--gold); }
.kpc-sx-kicker {
  margin: 0 0 6px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.kpc-sx-sheet h3 {
  margin: 0 0 10px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 500;
}
.kpc-sx-lead {
  margin: 0 0 18px;
  color: #dce3ea;
  font-size: 16px;
  line-height: 1.5;
  max-width: 640px;
}
.kpc-sx-panel[hidden] { display: none !important; }

.kpc-sx-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.kpc-sx-one { display: grid; gap: 14px; }

.kpc-sx-shot {
  margin: 0;
  min-width: 0;
}
.kpc-sx-shot figcaption {
  margin-top: 8px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kpc-sx-frame {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #d8d2c6;
  box-shadow: inset 0 0 0 8px #cfc6b8, 0 10px 22px rgba(0, 0, 0, 0.35);
  aspect-ratio: 5 / 4;
}
.kpc-sx-frame img {
  position: absolute;
  inset: 8px 8px 22px;
  width: calc(100% - 16px);
  height: calc(100% - 30px);
  object-fit: cover;
  object-position: 38% 42%;
}
.kpc-sx-mesh {
  position: absolute;
  inset: 8px 8px 22px;
  background:
    linear-gradient(rgba(255, 248, 236, 0.08), rgba(214, 204, 186, 0.16)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.22) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(90deg, rgba(40, 32, 20, 0.18) 0 1px, transparent 1px 5px);
  pointer-events: none;
}
.kpc-sx-cass {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 8px;
  height: 14px;
  background: linear-gradient(180deg, #f3e6c8, #d2b072 55%, #8a7348);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}
.kpc-sx-sill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 22px;
  background: linear-gradient(180deg, #e8e2d6, #cfc6b8);
  color: #3a3228;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  display: grid;
  place-items: center;
}

.kpc-sx-benefit {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(180deg, #f0e6d4, #c8b89a);
  min-height: 280px;
}
.kpc-sx-benefit .kpc-sx-frame {
  margin: 18px 18px 0;
  box-shadow: inset 0 0 0 8px #cfc6b8, 0 8px 18px rgba(80, 50, 10, 0.18);
}
.kpc-sx-sun {
  position: absolute;
  top: -30px;
  right: -20px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff3c4 0%, #e4c46a 38%, rgba(228, 196, 106, 0) 70%);
  opacity: 0.85;
  pointer-events: none;
}
.kpc-sx-furn {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 18px;
  height: 72px;
  padding: 0 20px 10px;
}
.kpc-sx-sofa {
  width: 42%;
  height: 28px;
  border-radius: 8px 8px 3px 3px;
  background: #8a6a48;
  box-shadow: 0 -10px 0 8px #7a5c3c;
}
.kpc-sx-table {
  width: 18%;
  height: 16px;
  background: #c4a46a;
  border-radius: 2px;
  position: relative;
}
.kpc-sx-table::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 16px;
  height: 14px;
  background: #8a7348;
}
.kpc-sx-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.kpc-sx-pills li {
  border: 1px solid #5a4a28;
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--gold-2);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.kpc-sx-street {
  background: linear-gradient(180deg, #8aa8c8, #6a88a8);
  padding: 16px 14px 0;
  border-radius: 10px;
  overflow: hidden;
}
.kpc-sx-street .kpc-sx-frame {
  background: #9a8a78;
  box-shadow: inset 0 0 0 8px #7a6a58, 0 10px 22px rgba(0, 0, 0, 0.4);
}
.kpc-sx-street .kpc-sx-sill { background: #8a7a68; color: #2a2218; }
.kpc-sx-room {
  position: absolute;
  inset: 8px 8px 22px;
  background: #16120e;
}
.kpc-sx-room-sofa {
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 18%;
  height: 22%;
  border-radius: 6px 6px 2px 2px;
  background: #2a221c;
  box-shadow: 0 -12px 0 10px #241c18;
}
.kpc-sx-glow {
  position: absolute;
  top: 16%;
  right: 14%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff1b8;
  box-shadow: 0 0 34px 20px rgba(255, 220, 140, 0.55);
  pointer-events: none;
}
.kpc-sx-person {
  position: absolute;
  left: 48%;
  bottom: 14%;
  width: 32%;
  height: 66%;
  transform: translateX(-50%);
  fill: #080604;
  pointer-events: none;
}
.kpc-sx-street.is-day .kpc-sx-room {
  background: #2a241c;
}
.kpc-sx-street.is-day .kpc-sx-mesh {
  background:
    linear-gradient(rgba(244, 232, 210, 0.78), rgba(220, 200, 168, 0.86)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.28) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(90deg, rgba(80, 60, 30, 0.22) 0 1px, transparent 1px 5px);
}

.kpc-sx-street.is-night {
  background: linear-gradient(180deg, #1a2230, #0c1018);
}
.kpc-sx-street.is-night .kpc-sx-room {
  background: radial-gradient(circle at 50% 70%, #6a4a22 0%, #2a1c10 70%);
}
.kpc-sx-street.is-night .kpc-sx-room-sofa {
  background: #5a3c22;
  box-shadow: 0 -12px 0 10px #4a3018;
  opacity: 0.85;
}
.kpc-sx-street.is-night .kpc-sx-mesh {
  background:
    linear-gradient(rgba(80, 50, 20, 0.1), rgba(40, 24, 10, 0.14)),
    repeating-linear-gradient(0deg, rgba(255, 220, 160, 0.16) 0 1px, transparent 1px 6px),
    repeating-linear-gradient(90deg, rgba(20, 10, 0, 0.22) 0 1px, transparent 1px 6px);
}
.kpc-sx-lamp {
  position: absolute;
  top: 22%;
  right: 14%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #f0d78a;
  box-shadow: 0 0 28px 14px rgba(240, 215, 138, 0.55);
}
.kpc-sx-street.is-night .kpc-sx-person {
  fill: #120c08;
  opacity: 0.95;
}

.kpc-sx-bo .kpc-sx-cloth {
  position: absolute;
  inset: 8px 8px 22px;
  background: linear-gradient(180deg, #343434, #0b0b0b);
}
.kpc-sx-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.kpc-sx-links a {
  border: 1px solid #5a4a28;
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--gold);
  font-size: 13px;
}
.kpc-sx-links a:hover { border-color: var(--gold); background: #1a1408; }

body.kpc-sx-open { overflow: hidden; }

.kpc-sx-benefit.is-dark {
  background: linear-gradient(180deg, #2a241c, #12100c);
}
.kpc-sx-sun.is-blocked {
  opacity: 0.22;
  filter: grayscale(0.6);
}
.kpc-sx-furn.is-dim .kpc-sx-sofa {
  background: #3a2c20;
  box-shadow: 0 -10px 0 8px #2a2018;
}
.kpc-sx-furn.is-dim .kpc-sx-table { background: #5a4630; }
.kpc-sx-furn.is-dim .kpc-sx-table::before { background: #3a2c1c; }

.kpc-sx-guides {
  position: absolute;
  inset: 22px 8px 22px;
  pointer-events: none;
}
.kpc-sx-guides::before,
.kpc-sx-guides::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 10px;
  background: linear-gradient(180deg, #f3e6c8, #d2b072 55%, #8a7348);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}
.kpc-sx-guides::before { left: 0; }
.kpc-sx-guides::after { right: 0; }
.kpc-sx-sunleak {
  position: absolute;
  inset: 8px 8px 22px;
  z-index: 5;
  pointer-events: none;
  box-shadow:
    inset 10px 0 14px -6px rgba(255, 208, 70, 0.55),
    inset -10px 0 14px -6px rgba(255, 208, 70, 0.55);
}
.kpc-sx-sunleak::before,
.kpc-sx-sunleak::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, rgba(255, 244, 170, 0.72), rgba(255, 176, 36, 0.42));
  box-shadow: 0 0 14px 4px rgba(255, 196, 64, 0.45);
}
.kpc-sx-sunleak::before { left: 0; }
.kpc-sx-sunleak::after { right: 0; }
.kpc-sx-bo.is-leak .kpc-sx-cloth {
  left: 34px;
  right: 34px;
}
.kpc-sx-frame.is-sealed .kpc-sx-cloth {
  inset: 8px 8px 22px;
}
.kpc-sx-photo {
  overflow: hidden;
  border-radius: 10px;
  background: #14110e;
  min-height: 180px;
}
.kpc-sx-photo img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center 28%;
}
.kpc-sx-sub {
  margin: 16px 0 6px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.kpc-sx-fingers-board {
  display: grid;
  gap: 16px;
}
.kpc-sx-triple-box {
  position: relative;
  min-height: 220px;
  border-radius: 10px;
  overflow: hidden;
  background:
    linear-gradient(180deg, #d8cbb4, #b9a88c);
}
.kpc-sx-triple {
  position: absolute;
  left: 50%;
  top: 16px;
  width: 92px;
  height: 188px;
  transform: translateX(-50%);
}
.kpc-sx-triple i {
  position: absolute;
  top: 0;
  width: 30px;
  height: 100%;
  border-radius: 15px 15px 5px 5px;
  background: linear-gradient(90deg, #efe3cc, #d2b072 46%, #8a7348);
  box-shadow: inset 0 0 0 1px rgba(70, 48, 18, 0.28), 0 8px 14px rgba(0, 0, 0, 0.18);
}
.kpc-sx-triple i:nth-child(1) {
  left: 0;
  transform: rotate(-12deg);
  transform-origin: 50% 78px;
}
.kpc-sx-triple i:nth-child(2) { left: 31px; }
.kpc-sx-triple i:nth-child(3) {
  left: 62px;
  transform: rotate(12deg);
  transform-origin: 50% 78px;
}
.kpc-sx-triple b {
  position: absolute;
  left: 24px;
  top: 74px;
  width: 44px;
  height: 15px;
  border-radius: 8px;
  background: linear-gradient(180deg, #6a4e24, #3a2a14);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.kpc-sx-zb {
  position: absolute;
  inset: 8px 8px 22px;
  pointer-events: none;
  background: repeating-linear-gradient(
    180deg,
    rgba(244, 234, 214, 0.12) 0 16px,
    #2a2218 16px 32px
  );
}
.kpc-sx-zb.is-night {
  background: repeating-linear-gradient(
    180deg,
    #2a2218 0 30px,
    #1a1610 30px 34px
  );
}

.kpc-sx-layer-bo {
  position: absolute;
  inset: 8px 8px 22px;
  background: linear-gradient(180deg, #343434, #0b0b0b);
  clip-path: inset(0 0 42% 0);
}
.kpc-sx-layer-bo.is-full { clip-path: none; }
.kpc-sx-half {
  position: absolute;
  inset: 8px 8px 22px;
  overflow: hidden;
  clip-path: inset(0 0 46% 0);
}
.kpc-sx-half .kpc-sx-zb,
.kpc-sx-half .kpc-sx-mesh,
.kpc-sx-half .kpc-sx-cloth {
  position: absolute;
  inset: 0;
}
.kpc-sx-chain-col {
  position: absolute;
  top: 28px;
  bottom: 28px;
  width: 14px;
  background: repeating-linear-gradient(#c4a46a 0 6px, #8a7348 6px 10px);
  border-radius: 8px;
}
.kpc-sx-chain-col.is-l { left: 14px; }
.kpc-sx-chain-col.is-r { right: 14px; }
.kpc-sx-chain-col.is-on { box-shadow: 0 0 0 3px var(--gold); }

.kpc-sx-remote-demo {
  display: grid;
  gap: 10px;
  max-width: 280px;
  margin: 8px auto 0;
  padding: 16px;
  border: 1px solid #3d3420;
  border-radius: 14px;
  background: #14110e;
}
.kpc-sx-remote-demo > span {
  display: block;
  text-align: center;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.kpc-sx-remote-demo button span {
  color: inherit;
}
.kpc-sx-remote-demo b,
.kpc-sx-remote-demo button {
  display: grid;
  place-items: center;
  width: 100%;
  height: 36px;
  border: 1px solid #5a4a28;
  border-radius: 8px;
  background: #14110e;
  color: #f3efe6;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.kpc-sx-remote-demo button[aria-pressed="true"],
.kpc-sx-remote-demo button.is-lit {
  border-color: #f3e6c8;
  background: linear-gradient(180deg, #e6d08a, #c4a46a);
  color: #171208;
  box-shadow: 0 0 18px rgba(228, 196, 106, 0.55);
}
[data-sx-mode-panel] { margin-top: 16px; }

.kpc-sx-wand {
  position: absolute;
  z-index: 4;
  top: 8px;
  bottom: 8px;
  left: calc(100% - 8px);
  width: 22px;
  transform: translateX(-50%);
  pointer-events: none;
  animation: kpc-sx-wand-move 6.5s ease-in-out infinite;
}
.kpc-sx-wand-stick {
  position: absolute;
  left: 50%;
  top: 16%;
  width: 6px;
  height: 68%;
  transform: translateX(-50%);
  border-radius: 3px;
  background: linear-gradient(180deg, #f8ecd0, #d2b072 55%, #8a7348);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.28);
}
.kpc-sx-wand-knob {
  position: absolute;
  left: 50%;
  top: 11%;
  width: 14px;
  height: 14px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #e6d08a;
  box-shadow: 0 0 0 1px #8a7348;
}
.kpc-sx-wand-hand {
  position: absolute;
  left: 50%;
  bottom: 8%;
  width: 18px;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #c4a07a;
  box-shadow: 0 4px 0 #8a6a48;
}
.kpc-sx-drape-slide.kpc-sx-wand-cloth {
  animation: kpc-sx-wand-cloth 6.5s ease-in-out infinite;
}
@keyframes kpc-sx-wand-cloth {
  0%, 12% { width: calc(100% - 16px); }
  46%, 62% { width: 26%; }
  100% { width: calc(100% - 16px); }
}
@keyframes kpc-sx-wand-move {
  0%, 12% { left: calc(100% - 8px); }
  46%, 62% { left: calc(8px + 26%); }
  100% { left: calc(100% - 8px); }
}

.kpc-sx-wand {
  transform: translateX(-50%) rotate(-16deg);
  transform-origin: 50% 12%;
}
.kpc-sx-wand-stick {
  width: 7px;
  background: linear-gradient(180deg, #4a2c14, #1c1008 48%, #0a0704);
  box-shadow: 1px 0 0 #c4a46a, 0 0 0 1px #120c08;
}
.kpc-sx-wand-knob {
  background: #8a5a28;
  box-shadow: 0 0 0 1px #2a1810, 0 0 8px rgba(196, 164, 106, 0.45);
}

.kpc-sx-drape-slide {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 8px;
  width: calc(100% - 16px);
  background: repeating-linear-gradient(
    90deg,
    #d8c49a 0 10px,
    #c4a46a 10px 18px
  );
}

.kpc-sx-drape {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #d8d2c6;
  box-shadow: inset 0 0 0 8px #cfc6b8;
  aspect-ratio: 5 / 4;
}
.kpc-sx-drape img {
  position: absolute;
  inset: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  object-fit: cover;
  object-position: 38% 42%;
}
.kpc-sx-drape-stack {
  position: absolute;
  top: 8px;
  bottom: 8px;
  width: 28%;
  background: repeating-linear-gradient(
    90deg,
    #d8c49a 0 8px,
    #c4a46a 8px 14px
  );
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.25);
}
.kpc-sx-drape-stack.is-l { left: 8px; }
.kpc-sx-drape-stack.is-r { right: 8px; }
.kpc-sx-drape.is-closed .kpc-sx-drape-full {
  position: absolute;
  inset: 8px;
  background: repeating-linear-gradient(
    90deg,
    #d8c49a 0 10px,
    #c4a46a 10px 18px
  );
}
.kpc-sx-pinch-top {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 8px;
  height: 36px;
  background: repeating-radial-gradient(circle at 12px 36px, #c4a46a 0 10px, #8a7348 10px 16px);
}
[data-sx-panel="fingers"] .kpc-sx-pinch-top {
  background-image:
    radial-gradient(circle at 8px 28px, #efe3cc 0 6px, transparent 7px),
    radial-gradient(circle at 20px 28px, #efe3cc 0 6px, transparent 7px),
    radial-gradient(circle at 32px 28px, #efe3cc 0 6px, transparent 7px);
  background-size: 48px 36px;
  background-repeat: repeat-x;
  background-color: #8a7348;
}
.kpc-sx-ripple-top {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 8px;
  height: 28px;
  background:
    radial-gradient(ellipse 18px 16px at 10% 100%, #c4a46a 70%, transparent 71%),
    radial-gradient(ellipse 18px 16px at 30% 100%, #d8c49a 70%, transparent 71%),
    radial-gradient(ellipse 18px 16px at 50% 100%, #c4a46a 70%, transparent 71%),
    radial-gradient(ellipse 18px 16px at 70% 100%, #d8c49a 70%, transparent 71%),
    radial-gradient(ellipse 18px 16px at 90% 100%, #c4a46a 70%, transparent 71%),
    #8a7348;
}

.kpc-sx-dual-live {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  gap: 10px;
  align-items: stretch;
  margin-top: 8px;
}
.kpc-sx-pair.is-chain-pair {
  align-items: stretch;
}
.kpc-sx-solo-live {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
}
.kpc-sx-solo-live.is-right {
  grid-template-columns: minmax(0, 1fr) 64px;
}
.kpc-sx-chain-live {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 4px 10px;
  border: 1px solid #3d3420;
  border-radius: 12px;
  background: #14110e;
  overflow: visible;
}
.kpc-sx-chain-live > button {
  width: 36px;
  height: 36px;
  border: 1px solid #5a4a28;
  border-radius: 50%;
  background: #1a140e;
  color: var(--gold-2);
  font-size: 14px;
  cursor: pointer;
}
.kpc-sx-chain-live > button:hover {
  border-color: var(--gold);
}
.kpc-sx-chain-track {
  position: relative;
  flex: 1;
  width: 100%;
  min-height: 90px;
}
.kpc-sx-chain-beads {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 8px;
  transform: translateX(-50%);
  border-radius: 8px;
  background: repeating-linear-gradient(#e4c98a 0 5px, #8a7348 5px 9px);
  background-size: 8px 9px;
}
.kpc-sx-chain-live.is-up .kpc-sx-chain-beads {
  animation: kpc-sx-beads-roll 0.55s linear infinite;
}
.kpc-sx-chain-live.is-down .kpc-sx-chain-beads {
  animation: kpc-sx-beads-roll 0.55s linear infinite reverse;
}
@keyframes kpc-sx-beads-roll {
  to { background-position-y: 9px; }
}
.kpc-sx-chain-hand {
  position: absolute;
  top: 40%;
  width: 28px;
  height: 38px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  z-index: 2;
  transform: translateY(-50%);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45));
}
.kpc-sx-chain-live[data-sx-lift="sc"] .kpc-sx-chain-hand {
  right: -4px;
  left: auto;
}
.kpc-sx-chain-live[data-sx-lift="bo"] .kpc-sx-chain-hand {
  left: -4px;
  right: auto;
}
.kpc-sx-chain-hand-move {
  display: block;
  width: 100%;
  height: 100%;
}
.kpc-sx-chain-live.is-up .kpc-sx-chain-hand-move {
  animation: kpc-sx-hand-up 0.55s ease-in-out infinite;
}
.kpc-sx-chain-live.is-down .kpc-sx-chain-hand-move {
  animation: kpc-sx-hand-dn 0.55s ease-in-out infinite;
}
@keyframes kpc-sx-hand-up {
  0%, 100% { transform: translateY(6px); }
  50% { transform: translateY(-8px); }
}
@keyframes kpc-sx-hand-dn {
  0%, 100% { transform: translateY(-6px); }
  50% { transform: translateY(8px); }
}
.kpc-sx-chain-hand svg {
  display: block;
  width: 100%;
  height: 100%;
}
.kpc-sx-chain-live small {
  display: block;
  text-align: center;
  color: var(--gold-2);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}
.kpc-sx-live-win {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  border-radius: 10px;
  background: #d8d2c6;
  box-shadow: inset 0 0 0 8px #cfc6b8, 0 10px 22px rgba(0, 0, 0, 0.35);
  aspect-ratio: 5 / 4;
}
.kpc-sx-live-win img {
  position: absolute;
  inset: 8px 8px 22px;
  width: calc(100% - 16px);
  height: calc(100% - 30px);
  object-fit: cover;
  object-position: 38% 42%;
}
.kpc-sx-live-stage {
  position: absolute;
  inset: 8px 8px 22px;
  overflow: visible;
  --kpc-cass-h: 14px;
  pointer-events: none;
}
.kpc-sx-live-layer {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 50%;
  overflow: visible;
  pointer-events: none;
}
.kpc-sx-live-layer.is-bo {
  z-index: 2;
  background: linear-gradient(180deg, #c4a06a, #5a4030);
}
.kpc-sx-live-layer.is-sc {
  z-index: 3;
  background:
    linear-gradient(rgba(255, 248, 236, 0.1), rgba(214, 204, 186, 0.18)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.22) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(90deg, rgba(40, 32, 20, 0.18) 0 1px, transparent 1px 5px);
}
.kpc-sx-live-layer.is-zb {
  z-index: 3;
  background: repeating-linear-gradient(
    180deg,
    rgba(244, 234, 214, 0.18) 0 16px,
    #2a2218 16px 32px
  );
}
.kpc-sx-live-rail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 16px;
  border-radius: 1px;
  background: linear-gradient(180deg, #fff8ea 0%, #e8d08a 32%, #b8893c 68%, #6a4e24 100%);
  border-top: 1px solid rgba(255, 248, 230, 0.85);
  border-bottom: 1px solid #3a2a14;
  box-shadow:
    0 5px 10px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -2px 0 rgba(60, 40, 16, 0.4);
}
.kpc-sx-live-layer.is-sc .kpc-sx-live-rail {
  box-shadow:
    0 5px 10px rgba(0, 0, 0, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -2px 0 rgba(56, 189, 248, 0.28);
}
.kpc-sx-live-win .kpc-sx-cass { z-index: 6; }
.kpc-sx-live-win .kpc-sx-sill { z-index: 6; }
.kpc-sx-live-win .kpc-cloth {
  left: 0;
  right: 0;
}
.kpc-sx-live-win .kpc-cloth::after {
  display: none;
}
.kpc-sx-live-win .kpc-hem {
  left: 0;
  right: 0;
  z-index: 8;
}
.kpc-sx-live-win .kpc-hem-bar {
  height: 16px;
  top: -15px;
  background: linear-gradient(180deg, #fff8ea 0%, #e8d08a 32%, #b8893c 68%, #6a4e24 100%);
  border-top: 1px solid rgba(255, 248, 230, 0.85);
  border-bottom: 1px solid #3a2a14;
  box-shadow:
    0 5px 10px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -2px 0 rgba(60, 40, 16, 0.4);
}

.kpc-sx-motor-live {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-top: 8px;
}
.kpc-sx-motor-live .kpc-remote {
  width: 168px;
}
.kpc-sx-live-win .kpc-cloth.is-blackout { z-index: 2; }
.kpc-sx-live-win .kpc-cloth.is-screen { z-index: 3; }
.kpc-sx-openings {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}
.kpc-sx-openings .kpc-sx-drape { aspect-ratio: 4 / 3; }
.kpc-sx-drape-slide.is-owr {
  left: auto;
  right: 8px;
}
.kpc-sx-center {
  position: absolute;
  inset: 8px;
  pointer-events: none;
}
.kpc-sx-center i {
  position: absolute;
  top: 0;
  bottom: 0;
  width: var(--panel, 50%);
  background: repeating-linear-gradient(
    90deg,
    #d8c49a 0 10px,
    #c4a46a 10px 18px
  );
}
.kpc-sx-center .is-l { left: 0; }
.kpc-sx-center .is-r { right: 0; }

.kpc-sx-zb-height {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(168px, 0.85fr);
  gap: 16px;
  align-items: center;
}
.kpc-sx-zb-height-win {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border-radius: 10px;
  background: #d8d2c6;
  box-shadow: inset 0 0 0 8px #cfc6b8, 0 10px 22px rgba(0, 0, 0, 0.35);
  aspect-ratio: 5 / 4;
}
.kpc-sx-zb-height-win canvas {
  position: absolute;
  inset: 8px 8px 22px;
  display: block;
  width: calc(100% - 16px);
  height: calc(100% - 30px);
}
.kpc-sx-zb-height-win .kpc-sx-cass,
.kpc-sx-zb-height-win .kpc-sx-sill {
  z-index: 2;
}
.kpc-sx-zb-height-pad {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 14px 12px 16px;
  border: 1px solid #3d3420;
  border-radius: 14px;
  background: #14110e;
}
.kpc-sx-zb-height-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.kpc-sx-zb-height-pad p {
  margin: 0;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
}
.kpc-sx-zb-height-pad button {
  display: grid;
  place-items: center;
  min-height: 44px;
  border: 1px solid #5a4a28;
  border-radius: 8px;
  background: #14110e;
  color: #f3efe6;
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}
.kpc-sx-zb-height-pad button[aria-pressed="true"],
.kpc-sx-zb-height-pad button.is-lit {
  border-color: #f3e6c8;
  background: linear-gradient(180deg, #e6d08a, #c4a46a);
  color: #171208;
  box-shadow: 0 0 18px rgba(228, 196, 106, 0.55);
}
