/* V2 BLINDS PHONE — capa final. Mantiene el contenido completo sin deformarlo. */

html.kpc-is-phone {
  background: #070a0d;
  overflow-x: hidden;
}

html.kpc-is-phone body {
  width: 100%;
  max-width: 560px;
  min-height: 100dvh;
  margin: 0 auto;
  overflow-x: hidden;
  box-shadow: 0 0 48px rgba(0, 0, 0, 0.42);
}

html.kpc-is-phone button,
html.kpc-is-phone a,
html.kpc-is-phone input[type="range"] {
  touch-action: manipulation;
}

html.kpc-is-phone button:focus-visible,
html.kpc-is-phone a:focus-visible,
html.kpc-is-phone input:focus-visible {
  outline: 3px solid #e4c98a;
  outline-offset: 3px;
}

html.kpc-is-phone .kpc-page,
html.kpc-is-phone .kpc-video-page {
  width: 100%;
  max-width: 100%;
  padding-inline: 14px;
}

html.kpc-is-phone .kpc-top {
  width: 100%;
  max-width: 100%;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

html.kpc-is-phone .kpc-nav-pill,
html.kpc-is-phone .kpc-lang,
html.kpc-is-phone .kpc-ghost {
  min-height: 42px;
}

html.kpc-is-phone body.kpc-album-home .kpc-ana-photos {
  grid-template-columns: 1fr !important;
  gap: 14px;
}

html.kpc-is-phone body.kpc-album-home .kpc-ana-card {
  border-radius: 16px;
}

html.kpc-is-phone body.kpc-album-home .kpc-ana-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

html.kpc-is-phone body.kpc-foto-page,
html.kpc-is-phone:has(body.kpc-foto-page) {
  height: auto !important;
  max-height: none !important;
  overflow-y: auto !important;
}

html.kpc-is-phone body.kpc-foto-page .kpc-foto-main {
  display: block !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  padding: 14px 12px 34px !important;
}

html.kpc-is-phone body.kpc-foto-page .kpc-ana-intro {
  display: flex !important;
  max-height: none !important;
  overflow: visible !important;
}

html.kpc-is-phone body.kpc-foto-page .kpc-ana-work {
  display: flex !important;
  flex-direction: column !important;
  width: 100%;
  height: auto !important;
  overflow: visible !important;
  gap: 14px !important;
}

html.kpc-is-phone body.kpc-foto-page .kpc-ana-print-sheet,
html.kpc-is-phone body.kpc-foto-page .kpc-ana-stage,
html.kpc-is-phone body.kpc-foto-page .kpc-ana-zoom {
  max-width: 100% !important;
}

html.kpc-is-phone body.kpc-foto-page .kpc-ana-stage {
  border-radius: 12px;
  overflow: hidden;
  background: #0a0d10;
}

html.kpc-is-phone body.kpc-foto-page .kpc-ana-zoom > img:first-of-type,
html.kpc-is-phone .kpc-zip-stage > img,
html.kpc-is-phone .kpc-zip-media img,
html.kpc-is-phone .kpc-zip-media video,
html.kpc-is-phone .kpc-zip-wide img,
html.kpc-is-phone .kpc-zip-pair img,
html.kpc-is-phone .kpc-zip-draw img {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
}

html.kpc-is-phone body.kpc-foto-page .kpc-ana-side {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  overflow: visible !important;
}

html.kpc-is-phone body.kpc-foto-page #kpc-ana-remote,
html.kpc-is-phone body.kpc-foto-page .kpc-vti,
html.kpc-is-phone body.kpc-foto-page .kpc-situo {
  width: min(184px, 100%) !important;
  max-width: 184px !important;
  margin-inline: auto !important;
  position: static !important;
  transform: none !important;
}

html.kpc-is-phone .kpc-situo-ch {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

html.kpc-is-phone .kpc-vti-chs button,
html.kpc-is-phone .kpc-situo-ch button,
html.kpc-is-phone .kpc-vti-pad button,
html.kpc-is-phone .kpc-situo-pad button {
  min-height: 42px !important;
  height: 42px !important;
  font-size: 13px !important;
}

html.kpc-is-phone .kpc-zip-demo,
html.kpc-is-phone .kpc-zip-hero,
html.kpc-is-phone .kpc-zip-pair,
html.kpc-is-phone .kpc-zip-anims,
html.kpc-is-phone .kpc-zip-kit,
html.kpc-is-phone .kpc-zip-story-photos,
html.kpc-is-phone .kpc-zip-story-draw,
html.kpc-is-phone .kpc-zip-story-tri {
  grid-template-columns: minmax(0, 1fr) !important;
}

html.kpc-is-phone #kpc-zip-remote.kpc-situo {
  width: 156px !important;
  max-width: 156px !important;
  margin: 0 auto !important;
  position: static !important;
}

html.kpc-is-phone .kpc-ana-lead-more,
html.kpc-is-phone .kpc-ana-telas-layer,
html.kpc-is-phone .kpc-fabric-zoom {
  padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
}

html.kpc-is-phone .kpc-ana-lead-more-card,
html.kpc-is-phone .kpc-ana-telas-card {
  width: 100%;
  max-height: 88dvh;
  border-radius: 16px;
  overscroll-behavior: contain;
}

html.kpc-is-phone .kpc-ana-lead-more-body p,
html.kpc-is-phone .kpc-zip-section p,
html.kpc-is-phone .kpc-prop-lead {
  font-size: 16px;
  line-height: 1.55;
}

html.kpc-is-phone .kpc-prop-tabs {
  display: grid !important;
  grid-template-columns: 1fr !important;
}

html.kpc-is-phone .kpc-prop-tab {
  min-height: 46px;
  font-size: 13px;
}

html.kpc-is-phone .kpc-prop-sheet img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (orientation: landscape) and (max-height: 600px) {
  html.kpc-is-phone body {
    max-width: none;
  }

  html.kpc-is-phone body.kpc-foto-page .kpc-ana-work {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 164px !important;
    align-items: start;
  }

  html.kpc-is-phone body.kpc-foto-page #kpc-ana-remote,
  html.kpc-is-phone body.kpc-foto-page .kpc-vti,
  html.kpc-is-phone body.kpc-foto-page .kpc-situo {
    width: 164px !important;
    max-width: 164px !important;
  }
}

/* R4 — visor móvil limpio, fotografía visible y controles definitivos. */
html.kpc-is-phone .kpc-ana-fabric-zoom-btn {
  position: relative !important;
  overflow: hidden !important;
}

html.kpc-is-phone .kpc-ana-fabric-action {
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 4px;
  z-index: 2;
  min-height: 24px;
  display: grid;
  place-items: center;
  padding: 3px 4px;
  border: 1px solid rgba(228, 201, 138, 0.75);
  border-radius: 7px;
  color: #f7ebd1;
  background: rgba(7, 11, 14, 0.86);
  font: 800 12px/1 system-ui, sans-serif;
  letter-spacing: 0.03em;
}

html:not(.kpc-is-phone) .kpc-ana-fabric-action {
  display: none !important;
}

html.kpc-is-phone body.kpc-foto-page #kpc-ana-remote.kpc-phone-remote:has([data-phone-night]) {
  grid-template-columns: minmax(70px, 1fr) repeat(5, minmax(38px, 42px)) !important;
}

html.kpc-is-phone #kpc-ana-remote.kpc-phone-remote > .kpc-phone-night {
  width: 42px !important;
  padding: 2px !important;
  font-size: 9px !important;
  line-height: 1.05 !important;
}

html.kpc-is-phone .kpc-phone-night span,
html.kpc-is-phone .kpc-phone-night b {
  display: block;
  font-size: 9px;
}

html.kpc-is-phone.kpc-foto-solo,
html.kpc-is-phone.kpc-foto-solo body.kpc-foto-page {
  width: 100% !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  overflow: hidden !important;
}

html.kpc-is-phone.kpc-foto-solo body.kpc-foto-page .kpc-top,
html.kpc-is-phone.kpc-foto-solo body.kpc-foto-page .kpc-ana-intro,
html.kpc-is-phone.kpc-foto-solo body.kpc-foto-page .kpc-foto-foot,
html.kpc-is-phone.kpc-foto-solo body.kpc-foto-page .kpc-ana-side,
html.kpc-is-phone.kpc-foto-solo body.kpc-foto-page .kpc-ana-carta {
  display: none !important;
}

html.kpc-is-phone.kpc-foto-solo body.kpc-foto-page .kpc-foto-main,
html.kpc-is-phone.kpc-foto-solo body.kpc-foto-page .kpc-ana-work,
html.kpc-is-phone.kpc-foto-solo body.kpc-foto-page .kpc-ana-print-sheet {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: 100dvh !important;
  min-height: 100dvh !important;
  max-height: 100dvh !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

html.kpc-is-phone.kpc-foto-solo body.kpc-foto-page #kpc-ana-stage.kpc-ana-stage {
  position: fixed !important;
  inset: 0 !important;
  z-index: 1000 !important;
  display: block !important;
  width: 100vw !important;
  max-width: 100vw !important;
  height: 100dvh !important;
  min-height: 100dvh !important;
  max-height: 100dvh !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  background: #070a0d !important;
  touch-action: none !important;
}

html.kpc-is-phone.kpc-foto-solo body.kpc-foto-page #kpc-ana-stage .kpc-ana-zoom {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  display: block !important;
  width: var(--kpc-solo-photo-w, 178dvh) !important;
  min-width: 0 !important;
  max-width: none !important;
  height: var(--kpc-solo-photo-h, 100dvh) !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  transform: translate(calc(-50% + var(--kpc-photo-pan, 0px)), -50%) !important;
  will-change: transform;
}

html.kpc-is-phone.kpc-foto-solo body.kpc-foto-page #kpc-ana-stage .kpc-ana-zoom > img:first-of-type {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: fill !important;
  opacity: 1 !important;
  visibility: visible !important;
}

html.kpc-is-phone.kpc-foto-solo .kpc-foto-solo-bar {
  position: fixed !important;
  top: max(8px, env(safe-area-inset-top)) !important;
  left: max(8px, env(safe-area-inset-left)) !important;
  z-index: 1300 !important;
  display: block !important;
  width: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
  background: transparent !important;
  pointer-events: none;
}

html.kpc-is-phone.kpc-foto-solo .kpc-foto-solo-name,
html.kpc-is-phone.kpc-foto-solo .kpc-foto-solo-back span {
  display: none !important;
}

html.kpc-is-phone.kpc-foto-solo .kpc-foto-solo-back {
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
  border: 1px solid rgba(228, 201, 138, 0.82) !important;
  border-radius: 50% !important;
  color: #f7ebd1 !important;
  background: rgba(7, 11, 14, 0.82) !important;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.42) !important;
  font-size: 0 !important;
  pointer-events: auto;
}

html.kpc-is-phone.kpc-foto-solo .kpc-foto-solo-back::before {
  content: "×";
  font: 500 30px/1 system-ui, sans-serif;
}

html.kpc-is-phone.kpc-foto-solo body.kpc-foto-page #kpc-ana-remote.kpc-phone-remote {
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  bottom: max(10px, env(safe-area-inset-bottom)) !important;
  z-index: 1250 !important;
  width: calc(100% - 20px) !important;
  max-width: 520px !important;
  transform: translateX(-50%) !important;
}

@media (max-width: 390px) {
  html.kpc-is-phone body.kpc-foto-page #kpc-ana-remote.kpc-phone-remote:has([data-phone-night]) {
    grid-template-columns: minmax(62px, 1fr) repeat(5, 38px) !important;
    gap: 3px !important;
  }

  html.kpc-is-phone #kpc-ana-remote.kpc-phone-remote > .kpc-phone-night {
    width: 38px !important;
  }
}

/* R2 — teléfono: fotografía protagonista y mando mínimo sobre la imagen. */
html.kpc-is-phone body.kpc-foto-page .kpc-ana-intro {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 10px !important;
}

html.kpc-is-phone body.kpc-foto-page .kpc-ana-intro-copy,
html.kpc-is-phone body.kpc-foto-page .kpc-ana-intro-tools {
  width: 100% !important;
  max-width: 100% !important;
}

html.kpc-is-phone body.kpc-foto-page .kpc-ana-intro-tools {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
}

html.kpc-is-phone body.kpc-foto-page .kpc-ana-fabrics:not(.is-chip) {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  gap: 8px !important;
}

html.kpc-is-phone body.kpc-foto-page .kpc-ana-fabric-side {
  width: 72px !important;
  max-width: 72px !important;
  margin: 0 !important;
  padding: 5px !important;
  border-radius: 12px !important;
}

html.kpc-is-phone body.kpc-foto-page .kpc-ana-fabric-side img,
html.kpc-is-phone body.kpc-foto-page .kpc-ana-fabric-zoom-btn img {
  width: 60px !important;
  height: 60px !important;
  object-fit: cover !important;
  border-radius: 9px !important;
}

html.kpc-is-phone body.kpc-foto-page .kpc-ana-night-sw {
  margin: 0 !important;
}

html.kpc-is-phone body.kpc-foto-page .kpc-ana-work,
html.kpc-is-phone.kpc-land body.kpc-foto-page .kpc-ana-work {
  display: block !important;
  width: 100% !important;
  margin-top: 10px !important;
}

html.kpc-is-phone body.kpc-foto-page .kpc-ana-print-sheet,
html.kpc-is-phone body.kpc-foto-page .kpc-ana-stage {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
}

html.kpc-is-phone body.kpc-foto-page .kpc-ana-stage {
  position: relative !important;
  display: block !important;
  overflow: hidden !important;
  border-radius: 14px !important;
  background: transparent !important;
  cursor: default !important;
  touch-action: pan-y !important;
  container-type: normal !important;
}

html.kpc-is-phone body.kpc-foto-page .kpc-ana-zoom {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 auto !important;
  transform: none !important;
}

html.kpc-is-phone body.kpc-foto-page .kpc-ana-zoom > img:first-of-type {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
}

html.kpc-is-phone body.kpc-foto-page .kpc-ana-side {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 12px 0 0 !important;
  overflow: visible !important;
}

html.kpc-is-phone body.kpc-foto-page #kpc-ana-remote.kpc-phone-remote {
  position: absolute !important;
  left: 50% !important;
  right: auto !important;
  bottom: max(8px, env(safe-area-inset-bottom)) !important;
  z-index: 20 !important;
  display: grid !important;
  grid-template-columns: minmax(92px, 1fr) repeat(4, 42px) !important;
  align-items: center !important;
  gap: 5px !important;
  width: calc(100% - 16px) !important;
  max-width: 430px !important;
  min-height: 50px !important;
  margin: 0 !important;
  padding: 5px !important;
  border: 1px solid rgba(228, 201, 138, 0.72) !important;
  border-radius: 14px !important;
  background: rgba(7, 11, 14, 0.84) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.42) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  transform: translateX(-50%) !important;
}

html.kpc-is-phone .kpc-phone-channel,
html.kpc-is-phone .kpc-phone-channel select {
  width: 100%;
  min-width: 0;
}

html.kpc-is-phone .kpc-phone-channel select,
html.kpc-is-phone #kpc-ana-remote.kpc-phone-remote > button {
  height: 42px !important;
  min-height: 42px !important;
  border: 1px solid rgba(228, 201, 138, 0.52) !important;
  border-radius: 10px !important;
  color: #f3e6c8 !important;
  background: rgba(24, 30, 35, 0.94) !important;
  font: 800 13px/1 system-ui, sans-serif !important;
  letter-spacing: 0.03em !important;
}

html.kpc-is-phone .kpc-phone-channel select {
  padding: 0 24px 0 9px !important;
}

html.kpc-is-phone #kpc-ana-remote.kpc-phone-remote > button {
  display: grid !important;
  place-items: center !important;
  width: 42px !important;
  padding: 0 !important;
}

html.kpc-is-phone #kpc-ana-remote.kpc-phone-remote > button[aria-pressed="true"],
html.kpc-is-phone .kpc-phone-channel select:focus {
  color: #111713 !important;
  background: linear-gradient(180deg, #dceccd, #9fc590) !important;
  border-color: #476b4a !important;
}

html.kpc-is-phone .kpc-phone-sr {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

html.kpc-is-phone.kpc-in-phone-shell .kpc-music-dock {
  display: none !important;
}

html.kpc-is-phone:not(.kpc-in-phone-shell) .kpc-music-dock {
  flex: 1 1 100% !important;
  min-height: 38px !important;
  gap: 8px !important;
}

html.kpc-is-phone:not(.kpc-in-phone-shell) .kpc-music-btn {
  min-height: 36px !important;
  height: 36px !important;
  padding: 0 11px !important;
}

html.kpc-is-phone:not(.kpc-in-phone-shell) .kpc-music-vol-label {
  display: none !important;
}

html.kpc-is-phone:not(.kpc-in-phone-shell) .kpc-music-vol-wrap,
html.kpc-is-phone:not(.kpc-in-phone-shell) .kpc-music-vol {
  min-height: 36px !important;
  height: 36px !important;
}

@media (max-width: 390px) {
  html.kpc-is-phone body.kpc-foto-page #kpc-ana-remote.kpc-phone-remote {
    grid-template-columns: minmax(76px, 1fr) repeat(4, 39px) !important;
    gap: 4px !important;
  }

  html.kpc-is-phone #kpc-ana-remote.kpc-phone-remote > button {
    width: 39px !important;
  }
}

/* R3 — visor independiente: doble toque o botón AMPLIAR FOTO. */
html.kpc-is-phone .kpc-phone-photo-expand {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 22;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(228, 201, 138, 0.78);
  border-radius: 999px;
  color: #f3e6c8;
  background: rgba(7, 11, 14, 0.82);
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font: 800 11px/1 system-ui, sans-serif;
  letter-spacing: 0.06em;
}

html.kpc-is-phone.kpc-foto-solo .kpc-phone-photo-expand {
  display: none !important;
}

html.kpc-is-phone.kpc-foto-solo .kpc-foto-solo-bar {
  min-height: 48px !important;
  padding: 4px 10px !important;
}

html.kpc-is-phone.kpc-foto-solo .kpc-foto-main {
  padding: 0 !important;
}

html.kpc-is-phone.kpc-foto-solo .kpc-ana-work,
html.kpc-is-phone.kpc-land.kpc-foto-solo .kpc-ana-work {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
}

html.kpc-is-phone.kpc-foto-solo .kpc-ana-print-sheet,
html.kpc-is-phone.kpc-foto-solo body.kpc-foto-page .kpc-ana-stage {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  background: #090c10 !important;
  touch-action: none !important;
}

html.kpc-is-phone.kpc-foto-solo body.kpc-foto-page .kpc-ana-zoom {
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  display: block !important;
  width: auto !important;
  min-width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  aspect-ratio: var(--foto-ar) !important;
  transform: translateX(calc(-50% + var(--kpc-photo-pan, 0px))) !important;
  will-change: transform;
}

html.kpc-is-phone.kpc-foto-solo body.kpc-foto-page .kpc-ana-zoom > img:first-of-type {
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: fill !important;
}

html.kpc-is-phone.kpc-foto-solo body.kpc-foto-page #kpc-ana-remote.kpc-phone-remote {
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  bottom: max(10px, env(safe-area-inset-bottom)) !important;
  width: calc(100% - 20px) !important;
  max-width: 520px !important;
  transform: translateX(-50%) !important;
}

@media (orientation: landscape) and (max-height: 600px) {
  html.kpc-is-phone.kpc-foto-solo .kpc-foto-solo-bar {
    position: absolute !important;
    top: 5px;
    left: 5px;
    z-index: 30;
    width: auto;
    min-height: 40px !important;
    padding: 0 !important;
    background: transparent !important;
  }

  html.kpc-is-phone.kpc-foto-solo .kpc-foto-solo-name {
    display: none !important;
  }

  html.kpc-is-phone.kpc-foto-solo .kpc-foto-main {
    flex: 1 1 100% !important;
  }
}

/* R4 final — estas reglas deben quedar después de R2 y R3. */
html.kpc-is-phone.kpc-foto-solo .kpc-foto-solo-bar {
  position: fixed !important;
  top: max(8px, env(safe-area-inset-top)) !important;
  left: max(8px, env(safe-area-inset-left)) !important;
  z-index: 1300 !important;
  display: block !important;
  width: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
  background: transparent !important;
}

html.kpc-is-phone.kpc-foto-solo body.kpc-foto-page .kpc-ana-intro,
html.kpc-is-phone.kpc-foto-solo body.kpc-foto-page .kpc-top,
html.kpc-is-phone.kpc-foto-solo body.kpc-foto-page .kpc-foto-foot,
html.kpc-is-phone.kpc-foto-solo body.kpc-foto-page .kpc-ana-side {
  display: none !important;
}

html.kpc-is-phone.kpc-foto-solo body.kpc-foto-page #kpc-ana-stage.kpc-ana-stage {
  position: fixed !important;
  inset: 0 !important;
  z-index: 1000 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  margin: 0 !important;
  overflow: hidden !important;
}

html.kpc-is-phone.kpc-foto-solo body.kpc-foto-page #kpc-ana-stage .kpc-ana-zoom {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: var(--kpc-solo-photo-w, 178dvh) !important;
  min-width: 0 !important;
  max-width: none !important;
  height: var(--kpc-solo-photo-h, 100dvh) !important;
  max-height: none !important;
  transform: translate(calc(-50% + var(--kpc-photo-pan, 0px)), -50%) !important;
}

html.kpc-is-phone body.kpc-foto-page #kpc-ana-remote.kpc-phone-remote:has([data-phone-night]) {
  grid-template-columns: minmax(70px, 1fr) repeat(5, minmax(38px, 42px)) !important;
}

@media (max-width: 390px) {
  html.kpc-is-phone body.kpc-foto-page #kpc-ana-remote.kpc-phone-remote:has([data-phone-night]) {
    grid-template-columns: minmax(62px, 1fr) repeat(5, 38px) !important;
    gap: 3px !important;
  }
}
