.pisell-hdl-kiosk {
  .hdl-identity-screen {
    display: flex;
    width: 100%;
    min-height: 100%;
    flex: 1;
    flex-direction: column;
    overflow: auto;
    background:
      radial-gradient(
        circle at 50% 25%,
        rgba(178, 13, 18, 0.16),
        transparent 26rem
      ),
      #111;
    color: #fff;
  }

  .hdl-identity-screen__header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 58px;
    padding: 70px;
  }

  .hdl-identity-brand {
    display: grid;
    width: 117px;
    aspect-ratio: 1;
    place-items: center;
    border: 12px solid #ed1c24;
    border-radius: 50%;
    background: #171717;
    color: #fff;
    box-shadow: 0 13px 32px rgba(0, 0, 0, 0.24);
  }

  .hdl-identity-brand span {
    transform: rotate(-8deg);
    font-size: 35px;
    font-style: italic;
    font-weight: 900;
  }

  .hdl-identity-screen__header p {
    margin: 0;
    color: #ed1c24;
    font-size: 28px;
    font-weight: 950;
    text-transform: uppercase;
  }

  .hdl-identity-screen__header h1 {
    max-width: 821px;
    margin: 13px 0 0;
    font-size: 56px;
    font-weight: 950;
    line-height: 0.98;
  }

  .hdl-identity-screen__content {
    display: grid;
    flex: 1;
    place-items: center;
    align-content: center;
    gap: 26px;
    padding: 58px;
  }

  .hdl-identity-qr {
    display: flex;
    width: 559px;
    flex-direction: column;
    align-items: center;
    gap: 13px;
  }

  .hdl-identity-qr__grid {
    display: grid;
    width: 100%;
    aspect-ratio: 1;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    border: 15px solid #fff;
    border-radius: 15px;
    padding: 17px;
    background: #fff;
    box-shadow: 0 26px 76px rgba(0, 0, 0, 0.24);
  }

  .hdl-identity-qr__grid > span {
    border-radius: 2px;
    background: #edf1f7;
  }

  .hdl-identity-qr__grid > span.is-dark {
    background: #111827;
  }

  .hdl-identity-qr small {
    display: block;
    max-width: 389px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 16px;
    line-height: 1.2;
    text-align: center;
  }

  .hdl-identity-screen__auth {
    display: flex;
    width: min(445px, 100%);
    justify-content: center;
    border-radius: 24px;
    padding: 0 0 32px;
    background: #fff;
    color: #111827;
    box-shadow: 0 26px 76px rgba(0, 0, 0, 0.28);
    /* zoom 会让放大后的尺寸参与排版，不会像 transform 一样覆盖下方的 Skip。 */
    zoom: 1.3;
  }

  .hdl-identity-screen__auth .pisell-login2,
  .hdl-identity-screen__auth .pisell-register2 {
    width: 100%;
  }

  .hdl-identity-auth-panel {
    width: 100%;
  }

  .hdl-identity-auth-panel[aria-busy='true'] {
    pointer-events: none;
    opacity: 1;
  }

  .hdl-identity-auth-panel--disabled {
    display: grid;
    min-height: 194px;
    place-items: center;
    color: #667085;
    text-align: center;
  }

  .hdl-identity-screen__sms,
  .hdl-identity-screen__skip {
    min-width: min(454px, 957px);
    min-height: 84px;
    border: 0;
    border-radius: 1079px;
    padding: 0 45px;
    background: #fff;
    color: #111827;
    font-size: 35px;
    font-weight: 950;
    box-shadow: 0 11px 26px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    transition:
      transform 160ms ease,
      box-shadow 160ms ease;
    transform: scale(1.2);
    margin-top: 108px;
  }

  .hdl-identity-screen__skip {
    width: min(363px, calc(100% - 32px));
    min-width: 0;
    min-height: 67px;
    border: 1px solid #d0d5dd;
    padding: 0 36px;
    margin-top: 72px;
    font-size: 28px;
  }

  .hdl-identity-screen__sms:hover,
  .hdl-identity-screen__skip:hover {
    transform: translateY(-2px);
    box-shadow: 0 19px 39px rgba(255, 255, 255, 0.18);
  }

  .hdl-identity-screen__sms:active,
  .hdl-identity-screen__skip:active {
    transform: scale(0.98);
  }

  .hdl-identity-screen__error {
    display: flex;
    width: min(670px, 1050px);
    flex-direction: column;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 17px;
    padding: 17px 22px;
    background: rgba(143, 21, 21, 0.32);
    color: #fff;
    text-align: center;
  }

  .hdl-identity-screen__error small {
    color: rgba(255, 255, 255, 0.72);
  }
}
