/* Portal landing — default 80% view; user can adjust */
:root {
  --efms-landing-zoom: 0.8;
}

html.efms-landing-zoomed {
  zoom: var(--efms-landing-zoom);
}

@supports not (zoom: 0.8) {
  html.efms-landing-zoomed body {
    transform: scale(var(--efms-landing-zoom));
    transform-origin: top center;
    width: calc(100% / var(--efms-landing-zoom));
    margin: 0 auto;
  }
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.efms-zoom-ui {
  position: fixed;
  right: 16px;
  bottom: 88px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(11, 16, 32, 0.92);
  border: 1px solid rgba(34, 211, 238, 0.35);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  color: #e2e8f0;
  backdrop-filter: blur(12px);
}

.efms-zoom-ui button {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(91, 92, 240, 0.25);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.efms-zoom-ui button:hover {
  background: rgba(91, 92, 240, 0.45);
  border-color: rgba(34, 211, 238, 0.5);
}

.efms-zoom-ui .efms-zoom-label {
  min-width: 42px;
  text-align: center;
  font-weight: 700;
  color: #5eead4;
}

.efms-zoom-ui .efms-zoom-reset {
  width: auto;
  padding: 0 10px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 600;
}

@media (max-width: 640px) {
  .efms-zoom-ui {
    right: 10px;
    bottom: 78px;
    padding: 6px 8px;
  }
  .efms-zoom-ui button {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }
}
