.native-app--trippy-image-zoom {
  width: 100%;
  margin: 0;
  background: #000;
}

.native-app--trippy-image-zoom [hidden] {
  display: none !important;
}

.native-app--trippy-image-zoom .native-package-body {
  width: 100%;
  min-height: 0;
  padding: 0;
}

.native-app--trippy-image-zoom .trippy-image-zoom-stage {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: clamp(600px, 72vw, 820px);
  min-height: 600px;
  overflow: hidden;
  background: #000;
  box-sizing: border-box;
}

.native-app--trippy-image-zoom #trippy-image-zoom-view {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  opacity: 0;
  visibility: hidden;
  transform: translateZ(0);
}

.native-app--trippy-image-zoom .trippy-image-loading,
.native-app--trippy-image-zoom .trippy-image-start {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  padding: 24px;
  color: #f6f2ee;
  text-align: center;
  background: radial-gradient(circle, rgba(73, 23, 92, 0.32), rgba(0, 0, 0, 0.92) 68%);
}

.native-app--trippy-image-zoom .trippy-image-loading {
  font: 700 13px/1.4 system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  user-select: none;
  pointer-events: none;
}

.native-app--trippy-image-zoom .trippy-image-loading::before {
  content: '';
  width: 34px;
  height: 34px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: #d896ff;
  border-radius: 50%;
  animation: trippy-image-loader 0.8s linear infinite;
}

.native-app--trippy-image-zoom .trippy-image-start p {
  max-width: 430px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font: 500 13px/1.55 system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.native-app--trippy-image-zoom .trippy-image-start button {
  min-height: 48px;
  padding: 0 21px;
  color: #170a1d;
  background: linear-gradient(135deg, #f4d4ff, #c97bea);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 12px 36px rgba(186, 76, 225, 0.28);
  font: 800 13px/1 system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  letter-spacing: 0.025em;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.native-app--trippy-image-zoom .trippy-image-start button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.native-app--trippy-image-zoom .trippy-image-start button:active {
  transform: translateY(0) scale(0.98);
}

.native-app--trippy-image-zoom:fullscreen,
.native-app--trippy-image-zoom:-webkit-full-screen {
  width: 100vw !important;
  height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: #000;
}

.native-app--trippy-image-zoom:fullscreen .trippy-image-zoom-stage,
.native-app--trippy-image-zoom:-webkit-full-screen .trippy-image-zoom-stage {
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
}

@keyframes trippy-image-loader {
  to { transform: rotate(360deg); }
}

@media (max-width: 700px) {
  .native-app--trippy-image-zoom .trippy-image-zoom-stage {
    height: clamp(520px, 125vw, 680px);
    min-height: 520px;
  }
}
