.ios-install-guide {
  --ig-accent: #e97900;
  --ig-accent-start: #ffab2c;
  --ig-accent-end: #ed8000;
  --ig-bg: #fff9f0;
  --ig-text: #323232;
  --ig-wash-1: rgba(255, 153, 0, 0.18);
  --ig-wash-2: rgba(255, 180, 80, 0.17);
  color: var(--ig-text);
  background-color: var(--ig-bg);
  background-image:
    linear-gradient(181.791deg, var(--ig-wash-1) 0.3%, transparent 89.2%),
    linear-gradient(145.597deg, var(--ig-wash-2) 1.1%, transparent 37.6%);
  background-repeat: no-repeat;
  background-size: 100% 247px;
  min-height: 100dvh;
  font-family:
    -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    sans-serif;
}
.guide-theme-static {
  --ig-accent: #ef862f;
  --ig-accent-start: #ffa456;
  --ig-accent-end: #78bba3;
  --ig-bg: #fff7ee;
  --ig-text: #382b23;
  --ig-wash-1: #ffa45638;
  --ig-wash-2: #78bba32b;
}
.guide-theme-h5 {
  --ig-accent: var(--gold);
  --ig-accent-start: var(--member);
  --ig-accent-end: var(--gold);
  --ig-bg: var(--bg);
  --ig-text: var(--text);
  --ig-wash-1: #c99a2e38;
  --ig-wash-2: #d9a44129;
}
.ios-install-guide *,
.ios-install-guide *::before,
.ios-install-guide *::after {
  box-sizing: border-box;
}
.ig-inner {
  position: relative;
  margin: auto;
  min-height: 100dvh;
  width: 100%;
  max-width: 390px;
  overflow: hidden;
  padding-top: env(safe-area-inset-top, 0px);
}
.guide-theme-h5 .ig-inner {
  padding-top: var(--safe-top);
}
.ig-header-shape {
  pointer-events: none;
  position: absolute;
  left: -70px;
  top: 89px;
  width: 414px;
  height: 118px;
  max-width: none;
}
.ig-header {
  position: relative;
  z-index: 1;
  height: 100px;
}
.ig-back {
  position: absolute;
  left: 2px;
  top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ig-text);
  cursor: pointer;
}
.ig-back svg {
  width: 24px;
  height: 24px;
}
.ig-header h1 {
  position: absolute;
  inset-inline: 0;
  top: 42px;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
  pointer-events: none;
  color: var(--ig-text);
}
.ig-content {
  position: relative;
  z-index: 1;
  margin-top: -14px;
  padding-bottom: 44px;
}
.ig-content > section + section {
  margin-top: 24px;
}
.ig-step-heading {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 0 12px;
}
.ig-step-heading > span {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(
    90deg,
    var(--ig-accent-start),
    var(--ig-accent-end)
  );
  color: white;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}
.ig-step-heading > p {
  margin: 2px 0 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  color: var(--ig-text);
}
.ig-step-multiline > p {
  line-height: 21px;
}
.ig-image {
  position: relative;
  width: var(--image-width);
  max-width: calc(100% - 24px);
  aspect-ratio: var(--image-ratio);
  margin: 16px auto 0;
}
.ig-image-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 12px;
}
.ig-image-clip > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ig-arrow {
  position: absolute;
  width: 16px;
  height: 16px;
  max-width: none;
  pointer-events: none;
}
.ig-banner {
  margin-left: 44px;
  max-width: calc(100% - 56px);
}
.ig-banner .ig-image-clip {
  border-radius: 0;
}
.ig-step2_continue_dialog .ig-image-clip > img {
  position: absolute;
  left: -4.61058%;
  top: -5.71296%;
  width: 109.22115%;
  height: 114.02778%;
  max-width: none;
}
.ig-step3a_allow_download .ig-image-clip > img {
  position: absolute;
  left: -0.375%;
  top: 0;
  width: 100.75%;
  height: 101.15054%;
  max-width: none;
}
.ig-step3b_downloaded_file {
  margin-top: 12px;
}
.ig-step3b_downloaded_file .ig-image-clip > img {
  position: absolute;
  left: -0.28365%;
  top: 0.01852%;
  width: 100.57212%;
  height: 100.49074%;
  max-width: none;
}
.ig-step4b_vpn_management .ig-image-clip > img {
  position: absolute;
  left: 0.08013%;
  top: -0.07576%;
  width: 100.46474%;
  height: 99.86364%;
  max-width: none;
}
.ig-step5a_profile_list {
  margin-top: 20px;
}
.ig-complete {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 272px;
  max-width: calc(100% - 24px);
  height: 20px;
  margin: 24px auto 0;
}
.ig-complete span {
  flex-shrink: 0;
  color: var(--ig-accent);
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
}
.ig-complete i {
  width: 96px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ig-accent));
}
.ig-complete i:last-child {
  background: linear-gradient(90deg, var(--ig-accent), transparent);
}
.ig-phone {
  margin-top: 27px;
}
.ig-phone .ig-image-clip {
  border-radius: 0;
}
.ig-phone .ig-image-clip > img {
  object-position: top;
}
.ig-brand-cover {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #eee;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
}
.ig-brand-cover img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
  border-radius: 7px;
}
.ig-brand-cover strong,
.ig-brand-cover span {
  display: block;
  font-weight: 400;
}
.ig-brand-cover span {
  color: #aaa;
  font-size: 8px;
  margin-top: 1px;
}
.ig-step5a_profile_list .ig-brand-cover {
  left: 5%;
  top: 30%;
  width: 80%;
  height: 54%;
  background: #1d1d1d;
  padding: 2px 5px;
  border-radius: 5px;
}
.ig-step5b_install_profile .ig-brand-cover {
  left: 4.4%;
  top: 29.2%;
  width: 90.7%;
  height: 20.2%;
  background: #2b2b2b;
  padding: 4px 13px;
  border-radius: 8px 8px 0 0;
}
.ig-agree-origin {
  position: absolute;
  left: 9%;
  top: 49%;
  width: 83%;
  height: 15%;
  background: #1e1e1e;
  color: #999;
  font-size: 8px;
  line-height: 17px;
}
.ig-agree-copy {
  position: absolute;
  left: 6.5%;
  top: 67%;
  width: 87%;
  height: 20%;
  background: #2b2b2b;
  color: #fff;
  font-size: 11px;
  line-height: 22px;
  white-space: nowrap;
}
.ig-brand-banner {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px 5px;
  background: linear-gradient(
    100deg,
    var(--ig-accent-start),
    var(--ig-accent-end)
  );
  color: var(--ig-text);
  border: 1px solid #e99b3b;
  font-size: 10px;
  line-height: 1.5;
}
.ig-brand-banner > img.ig-banner-logo {
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 7px;
  flex-shrink: 0;
  object-fit: contain;
}
.ig-brand-banner > div {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
}
.ig-brand-banner strong {
  display: block;
  font-size: 10px;
  font-weight: 600;
}
.ig-brand-banner > div > span {
  display: block;
  font-size: 9px;
  margin-top: 3px;
}
.ig-brand-banner > b {
  flex-shrink: 0;
  color: #fff;
  border-radius: 16px;
  background: var(--ig-accent);
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 600;
}
.ig-banner-close {
  font-size: 22px;
  color: var(--ig-accent);
  line-height: 1;
  margin-left: 3px;
}
.ig-banner-arrow {
  position: absolute;
  top: -10px;
  right: 56px;
  width: 16px;
  height: 16px;
}
.ig-phone .ig-brand-phone {
  border: 5px solid #514f47;
  border-bottom: 0;
  border-radius: 46px 46px 0 0;
  padding: 7px;
  padding-bottom: 0;
  background: #050505;
}
.ig-phone-screen {
  position: relative;
  height: 100%;
  border-radius: 34px 34px 0 0;
  background: linear-gradient(
    125deg,
    var(--ig-accent-start),
    #826750 58%,
    var(--ig-accent-end)
  );
  color: #fff;
  overflow: hidden;
}
.ig-phone-time {
  position: absolute;
  left: 26px;
  top: 14px;
  font-size: 12px;
  font-weight: 600;
}
.ig-phone-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 103px;
  height: 26px;
  border-radius: 24px;
  background: #000;
}
.ig-phone-signal {
  position: absolute;
  right: 15px;
  top: 14px;
  font-size: 11px;
}
.ig-phone-app {
  position: absolute;
  left: 25px;
  top: 77px;
  text-align: center;
}
.ig-phone-app img {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  margin: auto;
}
.ig-phone-app span {
  display: block;
  font-size: 8px;
  margin-top: 6px;
}
.ig-back:focus-visible {
  outline: 2px solid var(--ig-accent);
  outline-offset: -4px;
  border-radius: 50%;
}
@media (max-width: 359px) {
  .ig-brand-banner {
    gap: 4px;
    padding-inline: 6px;
  }
  .ig-brand-banner > img.ig-banner-logo {
    width: 30px;
    height: 30px;
  }
  .ig-brand-banner strong {
    font-size: 8px;
  }
  .ig-brand-banner > div > span {
    font-size: 7px;
  }
  .ig-brand-banner > b {
    font-size: 8px;
    padding: 4px 6px;
  }
  .ig-banner-close {
    font-size: 18px;
  }
  .ig-agree-copy {
    font-size: 10px;
  }
}
