#mobileOrientationGate, #mobileDisplayHelp {
  box-sizing: border-box;
  margin: auto;
  border: 0;
  color: #f0f5f1;
  background: #0d1a1e;
  font-family: var(--text, system-ui), sans-serif;
}
#mobileOrientationGate {display: none}
#mobileDisplayHelp:not([open]) {display: none}
#mobileDisplayHelp {
  position: fixed; inset: 0; z-index: 1000;
  height: fit-content;
  width: min(90vw, 28rem);
  max-height: 92vh;
  max-height: 92dvh;
  padding: 0;
  overflow-y: auto;
  border: 1px solid #54716e;
  border-radius: 12px;
}
#mobileDisplayHelp::backdrop {background: #040c10dc}
#mobileDisplayHelp .displayCard {padding: 22px; margin: auto}
.displayCard {
  max-width: 27rem;
  color: #eff5f2;
}
.displayCard h2 {
  margin: 0;
  color: #f1faf6;
  font: 750 clamp(24px, 7vw, 33px)/1.07 var(--display, system-ui),sans-serif;
  letter-spacing: -.035em;
}
.displayCard p {margin: 12px 0 0; line-height: 1.45; font-size: 15px; color: #dae4e3}
.displayCard .displayHint {font-size: 13px; color: #b9cbc9}
.displayCard .displayAction {
  margin-top: 18px;
  padding: 0 20px;
  min-height: 48px;
  border: 1px solid #bfefdf;
  border-radius: 5px;
  font: 700 15px/1.25 var(--text, system-ui),sans-serif;
  color: #122623;
  background: #b5eddf;
  touch-action: manipulation;
}
.displayCard .displayAction:focus-visible {outline: 3px solid white; outline-offset: 3px}
#mobileFullscreen {min-height: 44px; white-space: nowrap}
#screenFrame > #mobileFullscreen {
  position: fixed;
  top: max(6px, env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
  z-index: 3;
  padding: 4px 12px;
  border: 1px solid #789894;
  background: #0b1a20e8;
  border-radius: 5px;
}
.rotatePhone {
  width: 62px;
  height: 35px;
  display: inline-grid;
  place-items: center;
  border: 2px solid #b5eddf;
  border-radius: 8px;
  color: #b5eddf;
  margin: 0 auto 20px;
  transform: rotate(-10deg);
}
.rotatePhone i {width: 12px; height: 2px; background: currentColor; align-self: end; margin-bottom: 3px}
@media (hover: none) and (pointer: coarse) and (max-width: 600px) and (orientation: portrait) {
  #mobileOrientationGate {
    width: 100%; height: 100%; height: 100dvh;
    max-width: none; max-height: none;
    position: fixed; inset: 0; margin: 0;
    z-index: 2147483647;
    padding: max(24px, env(safe-area-inset-top)) max(23px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(23px, env(safe-area-inset-left));
    background: radial-gradient(ellipse at 50% 38%, #183337 0, #101e23 43%, #091215 82%);
    display: grid; overflow-y: auto; overscroll-behavior: contain;
  }
  #mobileOrientationGate::backdrop {background: #091215}
  #mobileOrientationGate .displayCard {margin: auto; text-align: center}
}
@media (hover: none) and (pointer: coarse) and (orientation: landscape) and (max-height: 600px) {
  html, body {overscroll-behavior: none}
}
