/* Customer phones use portrait; this screen never rotates or reloads the page. */
:root.portrait-required,
:root.portrait-required > body {
  overflow: hidden !important;
}

#portrait-notice {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 20px max(24px, env(safe-area-inset-right)) 20px max(24px, env(safe-area-inset-left));
  border: 0;
  background: #fff;
  color: #17181b;
  font-family: inherit;
  text-align: center;
  overscroll-behavior: contain;
  touch-action: none;
}

#portrait-notice[open] {
  display: grid;
  place-items: center;
}

#portrait-notice::backdrop {
  background: #fff;
}

.portrait-notice-content {
  max-width: 420px;
}

.portrait-notice-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 16px;
  font-weight: 650;
}

.portrait-notice-brand img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.portrait-notice-icon {
  display: block;
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
}

#portrait-notice h1 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -.025em;
  outline: none;
}

#portrait-notice p {
  margin: 0;
  color: #696d75;
  font-size: 15px;
  line-height: 1.4;
}
