.mobile-unsupported-notice {
  display: none;
}

/* Also matches mobile WebViews that report a desktop-like layout width. */
@media screen and (max-width: 767px), screen and (max-device-width: 767px) {
  html,
  body,
  #root,
  #creative-lab-root,
  #creative-work-root {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  body {
    position: fixed !important;
    inset: 0 !important;
    height: 100dvh !important;
  }

  .mobile-unsupported-notice {
    position: fixed !important;
    top: 0;
    left: 0;
    z-index: 9999;
    display: flex;
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100svh;
    padding:
      max(32px, env(safe-area-inset-top))
      28px
      max(32px, env(safe-area-inset-bottom));
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #080a0b;
    color: #f4f5f0;
    font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    text-align: center;
    transform: translateZ(0);
  }

  .mobile-unsupported-card {
    width: min(100%, 328px);
  }

  .mobile-unsupported-mark {
    margin: 0 0 42px;
    color: rgba(244, 245, 240, 0.5);
    font-family: Inter, "Helvetica Neue", Arial, sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 1;
  }

  .mobile-unsupported-signal {
    position: relative;
    width: 38px;
    height: 52px;
    margin: 0 auto 32px;
    border: 1px solid rgba(244, 245, 240, 0.72);
    border-radius: 5px;
  }

  .mobile-unsupported-signal::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    width: 10px;
    height: 1px;
    background: rgba(244, 245, 240, 0.56);
    transform: translateX(-50%);
  }

  .mobile-unsupported-signal::after {
    content: '';
    position: absolute;
    right: -7px;
    bottom: -7px;
    width: 15px;
    height: 15px;
    border: 1px solid #4eaa9c;
    background: #080a0b;
  }

  .mobile-unsupported-signal span,
  .mobile-unsupported-signal i,
  .mobile-unsupported-signal b {
    display: none;
  }

  .mobile-unsupported-card h1 {
    margin: 0;
    color: #f4f5f0;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.45;
  }

  .mobile-unsupported-copy {
    margin: 13px 0 0;
    color: rgba(244, 245, 240, 0.58);
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.7;
  }
}
