html, body {
  margin: 0;
  height: 100%;
  background: #1e1f2e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: -apple-system, "Segoe UI", Roboto, sans-serif;
}

#frameWrap {
  position: relative;
  height: 92vh;
  aspect-ratio: 4 / 5; /* alto > ancho => "portrait" para el JS interno, pero más ancho */
  max-width: 95vw;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  border-radius: 24px;
  overflow: hidden;
  background: #000;
}

iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

#hint {
  position: fixed;
  bottom: 10px;
  left: 0;
  right: 0;
  text-align: center;
  color: #9aa0b4;
  font-size: 12px;
}

#fileWarning {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #b45309;
  color: #fff;
  padding: 10px 16px;
  font-size: 13px;
  text-align: center;
  z-index: 999;
}
