/* VerticalHint overlay for landscape mode */
#verticalOverlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  background: rgba(30,30,30,0.98);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 內層其實可以不用再寫 flex，一樣要吃滿高度就好 */
.vertical-hint-center {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
}

/* 新增：支援 100dvh 時用真正可視高度覆蓋 */
@supports (height: 100dvh) {
  #verticalOverlay,
  .vertical-hint-center {
    height: 100dvh;
    min-height: 100dvh;
  }
}

#verticalOverlay img {
  position: static;
  max-width: 60vw;
  max-height: 60vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}