.ig-phone {
  --ig-inset: clamp(12px, 3.5vw, 23px);
  box-sizing: border-box;
  width: min(100%, 490px);
  margin-inline: auto;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #c9cdd2;
  border-radius: clamp(23px, 5vw, 35px);
  background: #fff;
  color: #101114;
  box-shadow: inset 0 0 0 1px #fff, 0 1px 0 1px #292d34, 0 13px 50px #0005;
  font: 400 15px/1.22 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  text-align: left;
  letter-spacing: normal;
}
.ig-phone *, .ig-phone *::before, .ig-phone *::after { box-sizing: border-box; }
.ig-phone svg { display: block; width: 24px; height: 24px; }
.ig-phone img { display: block; }
.ig-status, .ig-toolbar, .ig-system, .ig-identity, .ig-stats, .ig-highlights, .ig-tabs { display: flex; align-items: center; }
.ig-status {
  padding: 11px calc(var(--ig-inset) + 5px) 2px;
  justify-content: space-between;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.ig-system { gap: 4px; }
.ig-system svg { width: 15px; height: 15px; }
.ig-system i { width: 19px; height: 9px; border: 1px solid #717171; border-radius: 2.8px; position: relative; }
.ig-system i::before { content: ""; position: absolute; inset: 1px; background: #141414; border-radius: 1px; }
.ig-system i::after { content: ""; position: absolute; top: 2px; right: -3px; width: 2px; height: 3px; background: #737373; border-radius: 1px; }
.ig-toolbar { justify-content: space-between; height: 53px; padding: 0 var(--ig-inset); }
.ig-toolbar b { font-size: clamp(17px, 3.8vw, 20px); letter-spacing: -.035em; }
.ig-main { padding: 1px var(--ig-inset) 0; }
.ig-identity { gap: clamp(12px, 4.2vw, 27px); }
.ig-ring {
  display: grid; width: clamp(60px, 16vw, 84px); aspect-ratio: 1; flex: none;
  border-radius: 50%; padding: 2.5px;
  background: conic-gradient(from 27deg, #c828aa, #db266f, #ff943d, #ffc460, #df337d, #8a39c9, #c828aa);
}
.ig-ring > span { display: grid; place-items: center; background: #101012; border: 3px solid #fff; border-radius: 50%; }
.ig-ring img { height: 57%; width: 57%; object-fit: contain; }
.ig-info { flex: 1; min-width: 0; }
.ig-name { display: block; font-size: clamp(13px, 3vw, 16px); line-height: 1.2; padding-bottom: 9px; }
.ig-stats { align-items: flex-end; justify-content: space-between; gap: 2px; }
.ig-stats > div { display: grid; justify-items: center; gap: 4px; text-align: center; }
.ig-stats b, .ig-phone .growth-count { font-size: clamp(16px, 3.6vw, 20px); line-height: 1.1; font-weight: 700; }
.ig-stats span { font-size: clamp(10px, 2.6vw, 13px); }
.ig-phone .growth-count {
  position: static; transform: none; display: block; width: auto; height: auto;
  min-width: 5.5ch; padding: 3px 7px; margin-block: -3px; border-radius: 6px;
  background: #eaf4ff; color: #065bb3; letter-spacing: -.035em; font-family: inherit; font-variant-numeric: tabular-nums;
}
.ig-bio { display: grid; gap: 2px; margin-top: 11px; font-size: clamp(13px, 3vw, 15px); }
.ig-bio span { color: #65666b; }
.ig-bio strong { font-weight: 450; }
.ig-actions { display: grid; grid-template-columns: 1fr 1fr 34px; gap: 5px; margin-top: 11px; }
.ig-actions > span { display: grid; place-items: center; min-height: 33px; font-size: 14px; font-weight: 600; background: #f0f1f3; color: #151515; border-radius: 7px; }
.ig-actions > span:first-child { background: #455cf7; color: white; }
.ig-actions svg { width: 19px; height: 19px; }
.ig-highlights { margin: 16px 0 10px; justify-content: space-between; }
.ig-story { display: grid; justify-items: center; gap: 5px; }
.ig-story img { width: clamp(34px, 10.5vw, 54px); height: auto; aspect-ratio: 1; object-fit: cover; padding: 2px; background: white; border: 1px solid #d1d1d1; border-radius: 50%; }
.ig-story span { font-size: clamp(10px, 2.5vw, 12px); }
.ig-tabs { height: 41px; border-bottom: 1px solid #ddd; }
.ig-tabs > span { width: 33.333%; height: 100%; display: grid; place-items: center; color: #666; }
.ig-tabs > span:first-child { color: #070809; box-shadow: inset 0 -2px #181818; }
.ig-tabs svg { width: 23px; height: 23px; }
.ig-toast {
  position: absolute; z-index: 1; top: 26px; left: 10px; right: 10px; min-height: 49px;
  display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 9px;
  border: 1px solid #d9dfeb; border-radius: 17px; background: #f7f8fb; color: #14171d;
  box-shadow: 0 3px 12px #15253d29; pointer-events: none;
  opacity: 0; transform: translateY(-12px) scale(.98);
  transition: opacity .18s ease, transform .25s cubic-bezier(.2,.8,.2,1);
}
.ig-toast[hidden] { display: none; }
.ig-toast.is-visible { opacity: 1; transform: none; }
.ig-toast-avatar {
  display: grid; place-items: center; width: 32px; height: 32px; flex: none;
  background: var(--avatar-color, #365866); color: #fff; border-radius: 50%; font: 700 13px/1 system-ui;
}
.ig-toast-copy { display: grid; flex: 1; min-width: 0; gap: 1px; }
.ig-toast-copy b, .ig-toast-copy > span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; text-align: start; }
.ig-toast-copy b { font-size: 13px; direction: ltr; }
.ig-toast-copy > span { font-size: 12px; font-weight: 500; line-height: 1.5; }
.ig-toast-copy { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; direction: ltr; }
.ig-toast-mark { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 7px; color: white; background: radial-gradient(circle at 20% 105%, #ffc35c 8%, #f36450 32%, #d62781 60%, #733cd3 90%); }
.ig-toast-mark svg { width: 19px; height: 19px; }
@media (max-width: 350px) {
  .ig-phone { --ig-inset: 9px; }
  .ig-identity { gap: 8px; }
  .ig-main { padding-top: 3px; }
  .ig-ring { width: 53px; }
}
@media (prefers-reduced-motion: reduce) { .ig-toast { transition: none; transform: none; } }
