#phonePortraitNotice[open] {
  position: fixed;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  box-sizing: border-box;
  margin: 0;
  padding: max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right))
    max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  border: 0;
  color: #f0f6f1;
  background: #102523;
  text-align: center;
}

#phonePortraitNotice svg {
  width: 36px;
  height: 36px;
  color: #cce7af;
}

#phonePortraitNotice h2 {
  margin: 0;
  font-size: 1.25rem;
}

html:has(#phonePortraitNotice[open]) { overflow: hidden; }
