.sg-vpn-notice {
  position: relative;
  display: block;
  box-sizing: border-box;
  min-width: 0;
  margin: 16px 0 18px;
  padding: 0 0 0 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #f6f7ff;
  font-family: inherit;
  text-align: left;
}

.sg-vpn-notice::before {
  content: '';
  position: absolute;
  top: 1px;
  bottom: 0;
  left: 0;
  width: 3px;
  border-radius: 3px;
  background: #ffb32c;
}

.sg-vpn-notice .sg-vpn-notice-copy {
  min-width: 0;
  margin: 0;
  padding: 0;
}

.sg-vpn-notice-title {
  display: block;
  color: #f6f7ff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.35;
}

.sg-vpn-notice-title strong { color: #ffb32c; font-weight: 800; }

.sg-vpn-notice-description {
  display: block;
  margin-top: 3px;
  color: #a4afea;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}

.sg-vpn-dialog {
  box-sizing: border-box;
  width: min(460px, calc(100vw - 32px));
  max-width: 460px;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 26px 32px 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid #ffffffb3;
  border-radius: 28px;
  background: #fffdf8;
  color: #182032;
  color-scheme: light;
  font-family: inherit;
  text-align: center;
  box-shadow: 0 24px 80px #030a2466, 0 4px 16px #030a241f;
}

.sg-vpn-dialog::backdrop {
  background: #030b2394;
  backdrop-filter: blur(7px);
}

.sg-vpn-dialog button {
  font-family: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.sg-vpn-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #666b77;
}

.sg-vpn-close svg,
.sg-vpn-continue svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sg-vpn-symbol {
  display: grid;
  place-items: center;
  width: 128px;
  height: 112px;
  margin: 0 auto 18px;
}

.sg-vpn-symbol img {
  display: block;
  width: 128px;
  height: 128px;
  object-fit: contain;
  transform: translateY(-8px);
}

.sg-vpn-dialog h2 {
  max-width: 100%;
  margin: 0 auto 17px;
  color: #182032;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.18;
  text-wrap: balance;
}

.sg-vpn-heading-lead {
  display: block;
  margin-bottom: 3px;
  color: #354154;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.3;
}

.sg-vpn-heading-main {
  display: block;
  white-space: nowrap;
  line-height: 1.2;
}

.sg-vpn-heading-main strong {
  color: #101928;
  font-size: 1.16em;
  font-weight: 800;
  letter-spacing: -.04em;
}

.sg-vpn-dialog #sg-vpn-description {
  max-width: 350px;
  margin: 0 auto 12px;
  color: #354154;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  text-wrap: pretty;
}

.sg-vpn-dialog #sg-vpn-preservation {
  margin: 0 auto 25px;
  color: #566072;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.sg-vpn-continue {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid #747bc2;
  border-radius: 14px;
  background: #e5e9ff;
  color: #182032;
  box-shadow: inset 0 1px 0 #ffffffb3, 0 2px 0 #7d84cb26;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.35;
}

.sg-vpn-return {
  display: block;
  box-sizing: border-box;
  min-height: 44px;
  margin: 8px auto 0;
  padding: 10px 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #626978;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.sg-vpn-dialog button:focus-visible {
  outline: 3px solid #6059ae;
  outline-offset: 3px;
}

.sg-vpn-dialog h2:focus {
  outline: none;
}

.sg-vpn-dialog button:disabled {
  cursor: wait;
  opacity: .7;
}

@media (hover: hover) {
  .sg-vpn-close:hover,
  .sg-vpn-return:hover { background: #18203208; color: #182032; }
  .sg-vpn-continue:hover { background: #dce2ff; border-color: #6b72bb; }
}

@media (max-width: 480px) {
  .sg-vpn-notice { margin: 16px 0 18px; padding-left: 16px; }
  .sg-vpn-dialog { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); padding: 24px 24px 18px; border-radius: 24px; }
  .sg-vpn-symbol { margin-bottom: 16px; }
  .sg-vpn-dialog h2 { max-width: 100%; font-size: 30px; }
  .sg-vpn-heading-lead { font-size: 21px; }
  .sg-vpn-dialog #sg-vpn-description { font-size: 16px; }
  .sg-vpn-dialog #sg-vpn-preservation { margin-bottom: 22px; }
  .sg-vpn-continue { padding-inline: 12px; font-size: 15px; }
}

@media (max-height: 640px) {
  .sg-vpn-dialog { padding-top: 20px; padding-bottom: 12px; }
  .sg-vpn-symbol { width: 104px; height: 88px; margin-bottom: 12px; }
  .sg-vpn-symbol img { width: 104px; height: 104px; }
  .sg-vpn-dialog h2 { margin-bottom: 14px; font-size: 29px; }
  .sg-vpn-dialog #sg-vpn-preservation { margin-bottom: 18px; }
  .sg-vpn-continue { min-height: 52px; }
  .sg-vpn-return { margin-top: 4px; }
}
