html.is-iphone-admin,
  html.is-iphone-admin body,
  html.is-iphone-admin #app {
    min-height: 100%;
    width: 100%;
  }

  html.is-iphone-admin body {
    margin: 0;
    background: #f5f5f7;
    -webkit-text-size-adjust: 100%;
  }

  html.is-iphone-admin .common-layout,
  html.is-iphone-admin .layout-shell,
  html.is-iphone-admin .content-shell {
    min-height: 100dvh;
    height: 100dvh;
    width: 100%;
  }

  html.is-iphone-admin .sidebar-container,
  html.is-iphone-admin .header-container,
  html.is-iphone-admin .tabs-container,
  html.is-iphone-admin .footer-container {
    display: none !important;
  }

  html.is-iphone-admin .main-container {
    padding-top: calc(54px + env(safe-area-inset-top)) !important;
    width: 100%;
  }

  html.is-iphone-admin .page-container {
    padding: 12px !important;
    background: #f5f5f7 !important;
    overflow: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  html.is-iphone-admin body.iphone-operation-open .page-container {
    visibility: hidden;
    pointer-events: none;
  }

  #iphone-operation-shell {
    color: #1d1d1f;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", sans-serif;
  }

  .iphone-admin-bar {
    position: fixed;
    z-index: 3001;
    top: 0;
    left: 0;
    right: 0;
    height: 54px;
    padding: env(safe-area-inset-top) 16px 0;
    box-sizing: content-box;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(250, 250, 252, 0.94);
    border-bottom: 1px solid rgba(60, 60, 67, 0.18);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    backdrop-filter: saturate(180%) blur(18px);
  }

  .iphone-menu-button {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    color: #c85d9d;
    background: #f8e9f2;
    font-size: 20px;
  }

  .iphone-admin-title {
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
  }

  .iphone-admin-title strong {
    overflow: hidden;
    font-size: 17px;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .iphone-admin-title span {
    margin-top: 2px;
    color: #86868b;
    font-size: 11px;
  }

  .iphone-operation-panel {
    display: none;
    position: fixed;
    z-index: 3000;
    inset: calc(54px + env(safe-area-inset-top)) 0 0;
    padding: 22px 16px calc(22px + env(safe-area-inset-bottom));
    overflow: auto;
    background: #f5f5f7;
    -webkit-overflow-scrolling: touch;
  }

  #iphone-operation-shell.is-open .iphone-operation-panel {
    display: block;
  }

  .iphone-list-heading {
    margin: 0 2px 18px;
  }

  .iphone-list-heading p {
    margin: 0 0 4px;
    color: #c85d9d;
    font-size: 13px;
    font-weight: 600;
  }

  .iphone-list-heading h1 {
    margin: 0;
    color: #1d1d1f;
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: 0;
  }

  .iphone-operation-list {
    margin: 0;
    padding: 0;
    overflow: hidden;
    list-style: none;
    background: #fff;
    border: 1px solid rgba(60, 60, 67, 0.12);
    border-radius: 8px;
  }

  .iphone-operation-list li + li {
    border-top: 1px solid rgba(60, 60, 67, 0.12);
  }

  .iphone-operation-row {
    width: 100%;
    min-height: 64px;
    padding: 10px 14px;
    border: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1d1d1f;
    background: #fff;
    text-align: left;
  }

  .iphone-operation-row:active,
  .iphone-operation-row.is-current {
    background: #fbf2f7;
  }

  .iphone-operation-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: #fff;
    background: #c85d9d;
    font-size: 18px;
  }

  .iphone-operation-copy {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .iphone-operation-copy strong {
    overflow-wrap: anywhere;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
  }

  .iphone-operation-copy small {
    margin-top: 3px;
    color: #8e8e93;
    font-size: 12px;
    line-height: 1.3;
  }

  .iphone-operation-row > .el-icon-arrow-right {
    color: #c7c7cc;
    font-size: 15px;
  }

  .iphone-operation-secondary {
    margin-top: 18px;
    border-top: 18px solid #f5f5f7 !important;
  }

  .iphone-operation-secondary > button > i:first-child {
    width: 36px;
    color: #c85d9d;
    font-size: 19px;
    text-align: center;
  }

  html.is-iphone-admin .el-table {
    width: 100% !important;
  }

  html.is-iphone-admin .el-table__body-wrapper,
  html.is-iphone-admin .el-table__header-wrapper {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  html.is-iphone-admin .el-dialog {
    width: calc(100vw - 24px) !important;
    margin-top: calc(env(safe-area-inset-top) + 16px) !important;
  }

  html.is-iphone-admin .el-message-box {
    width: calc(100vw - 32px) !important;
  }

  html.is-iphone-admin .el-pagination {
    white-space: normal;
  }

  html.is-iphone-admin .login .container {
    width: calc(100vw - 32px) !important;
    padding: 28px 22px !important;
    border-radius: 8px !important;
  }

  html.is-iphone-admin .login .remember-checkbox {
    margin: 0 0 22px !important;
    width: 100%;
    text-align: left;
  }

html.is-iphone-admin .el-login-footer {
    padding-bottom: env(safe-area-inset-bottom);
}
