.teldrive-portal {
  overflow: hidden;
  width: 100%;
  min-height: min(86vh, 920px);
  border: 1px solid rgba(73, 177, 245, 0.18);
  border-radius: 12px;
  background: var(--card-bg, #fff);
  box-shadow: 0 14px 36px rgba(27, 39, 54, 0.1);
}

.teldrive-portal__frame {
  display: block;
  width: 100%;
  height: min(86vh, 920px);
  min-height: 660px;
  border: 0;
  background: #fff;
}

.teldrive-portal__hint,
.teldrive-portal__fallback {
  margin-top: 0.85rem;
  color: var(--font-color, #4c4948);
  font-size: 0.95rem;
  text-align: center;
}

.teldrive-portal__hint {
  opacity: 0.78;
}

body:not(.teldrive-portal-open) [data-teldrive-hidden],
body.teldrive-portal-open [data-teldrive-shown] {
  display: none;
}

#card-info-btn[aria-controls="teldrive-portal"] {
  cursor: pointer;
}

#card-info-btn[aria-controls="teldrive-portal"][aria-expanded="true"] {
  filter: brightness(1.04);
}

@media (max-width: 768px) {
  .teldrive-portal {
    min-height: 78vh;
    border-radius: 10px;
  }

  .teldrive-portal__frame {
    height: 78vh;
    min-height: 540px;
  }
}

@media (prefers-color-scheme: dark) {
  .teldrive-portal {
    border-color: rgba(73, 177, 245, 0.28);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
  }
}
