/* [MorphCast Portal GCS] portal_v2/portal.css version=2026-05-19T21:00:11.827Z */
  html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    overflow: auto;
  }

  #portalPage {
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    justify-items: center;
    align-items: start;
    background: white;
    position: relative;
    padding: 12px 16px;
  }

  #portalIframe {
    display: block;
    width: 100%;
    max-width: 1100px; 
    min-height: calc(100dvh - 24px);
    height: auto;
    border: 0;
    background: transparent;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition: opacity .25s ease-in-out;
  }
  #portalIframe.is-visible {
    visibility: visible;
    opacity: 1;
  }
  @media (max-width: 768px) {
    #portalIframe { min-height: calc(100dvh - 24px); }
  }

  #portalOverlay {
    position: fixed;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(2px);
    display: none;
    pointer-events: none;
    align-items: center;
    justify-content: flex-start;
    padding-top: 250px;
    flex-direction: column;
    gap: 16px;
    z-index: 2147483646;
  }
  #portalOverlay.is-active {
    display: flex;
    pointer-events: all;
  }

  .dots { display: flex; gap: 15px; }
  .dot {
    width: 40px; height: 40px;
    background: orange;
    border-radius: 50%;
    animation: bounce 1.5s infinite;
  }
  .dot:nth-child(2) { animation-delay: .3s; }
  .dot:nth-child(3) { animation-delay: .6s; }
  @keyframes bounce {
    0%, 80%, 100% { transform: scale(0); opacity: .5; }
    40% { transform: scale(1); opacity: 1; }
  }

  #portalOverlayMsg {
    margin: 0;
    font-weight: 600;
    color: gray;
    visibility: hidden;
  }
  #portalOverlay.is-active #portalOverlayMsg.is-visible {
    visibility: visible;
  }
