body.is-double .kpc-win3,
body.is-double .kpc-french .kpc-pane {
  --kpc-cass-h: 26px;
}

.kpc-dbl-hero {
  min-height: 360px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #1c1814, #0c0a08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 26px;
}
.kpc-dbl-hero-frame {
  width: min(100%, 280px);
  height: 300px;
  background: #4a6a4a url("../assets/vista-jardin.png") center 38% / cover no-repeat;
  border: 10px solid #d4cdc2;
  box-shadow:
    inset 0 0 0 2px #b8b0a4,
    0 10px 24px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
}
.kpc-dbl-hero-cass {
  position: relative;
  z-index: 6;
  height: 26px;
  background: linear-gradient(180deg, #f4ead6, #d8c4a4 55%, #b49a78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 4px 8px rgba(0, 0, 0, 0.35);
}
.kpc-dbl-hero-sc {
  position: absolute;
  left: 0;
  right: 0;
  top: 26px;
  z-index: 4;
  height: 58%;
  background:
    repeating-linear-gradient(0deg, rgba(214, 196, 154, 0.55) 0 2px, transparent 2px 6px),
    repeating-linear-gradient(90deg, rgba(214, 196, 154, 0.55) 0 2px, transparent 2px 6px);
  box-shadow: 0 7px 12px rgba(0, 0, 0, 0.34);
}
.kpc-dbl-hero-bo {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 26px;
  z-index: 2;
  height: 28%;
  background: linear-gradient(180deg, #d8c49a, #b49a78);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.28);
}
.kpc-dbl-hero-sc::after,
.kpc-dbl-hero-bo::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 7px;
  background: linear-gradient(180deg, #f4ead6, #d8c4a4 55%, #9d8058);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
}
.kpc-dbl-hero-sc::after {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.42), inset 0 -1px 0 rgba(56, 189, 248, 0.35);
}
.kpc-dbl-hero-sg {
  position: absolute;
  top: 26px;
  bottom: 0;
  z-index: 3;
  width: 10px;
  background: linear-gradient(180deg, #f4ead6, #d8c4a4 55%, #b49a78);
}
.kpc-dbl-hero-sg.is-l { left: 0; }
.kpc-dbl-hero-sg.is-r { right: 0; }

body.is-double .kpc-cloth.is-screen {
  z-index: 5;
  filter: drop-shadow(0 4px 5px rgba(0, 0, 0, 0.24));
}
body.is-double .kpc-cloth.is-blackout {
  z-index: 3;
  left: 8px;
  right: 8px;
}

body.is-double .kpc-win3 > .kpc-dbl-sg,
body.is-double .kpc-french .kpc-pane > .kpc-dbl-sg {
  position: absolute;
  top: var(--kpc-cass-h, 26px);
  bottom: 0;
  width: 8px;
  z-index: 4;
  background: linear-gradient(180deg, #f4ead6, #d8c4a4 55%, #b49a78);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.45);
  animation: kpc-dbl-sg-blink 1.15s ease-in-out infinite;
  transition: filter 180ms ease, box-shadow 180ms ease;
  pointer-events: none;
}
body.is-double .kpc-win3 > .kpc-dbl-sg.is-sealed,
body.is-double .kpc-french .kpc-pane > .kpc-dbl-sg.is-sealed {
  animation: none;
  box-shadow:
    inset 0 0 0 2px #f0d78a,
    0 0 14px 3px rgba(228, 201, 138, 0.78);
  filter: brightness(1.45);
}
body.is-double .kpc-win3 > .kpc-dbl-sg {
  grid-column: 1 / -1;
  grid-row: 1;
}
body.is-double .kpc-dbl-sg.is-l { left: 0; }
body.is-double .kpc-dbl-sg.is-r { left: auto; right: 0; }

@keyframes kpc-dbl-sg-blink {
  0%, 100% {
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(228, 201, 138, 0);
    filter: brightness(1);
  }
  50% {
    box-shadow: inset 0 0 0 2px #f0d78a, 0 0 14px 3px rgba(228, 201, 138, 0.75);
    filter: brightness(1.4);
  }
}

body.is-double .kpc-chain.is-screen small { color: #e4c98a; }
body.is-double .kpc-chain.is-bo small { color: #f0d78a; }
