/* ===== Scoped ONLY to the shortcode container ===== */
#ifcg-onboarding{
  --brand:#F9C608;
  --primary:#36383a;
  --bg:#f6f7fb;
  --card:#fff;
  --text:#0f1220;
  --muted:#667085;
  --radius:16px;
  --shadow:0 10px 30px rgba(0,0,0,.08);
  --dot:28px;
  --gap:12px;
  --line:2px;
}

#ifcg-onboarding.ifcg-wrap{ max-width:960px; margin:0 auto; padding:clamp(16px,5vw,40px) }

/* Stepper */
#ifcg-onboarding .ifcg-steps{
  display:flex; gap:var(--gap); list-style:none; padding:0; margin:0 0 18px 0;
}
#ifcg-onboarding .ifcg-steps .step{
  position:relative; flex:1; display:flex; flex-direction:column; align-items:center;
}
#ifcg-onboarding .ifcg-steps .step span{
  width:var(--dot); height:var(--dot); border-radius:50%;
  display:grid; place-items:center; margin-top:28px; background:#e9eef5; position:relative; z-index:1;
}
/* connector: from this circle to next circle */
#ifcg-onboarding .ifcg-steps .step:not(:last-child)::after{
  content:""; position:absolute; top:50%; height:var(--line); background:#e0e6ef; transform:translateY(-50%);
  left: calc(50% + var(--dot)/2);
  right: calc(-50% - var(--gap) + var(--dot)/2);
}
/* active / done colors */
#ifcg-onboarding .ifcg-steps .step.is-active span,
#ifcg-onboarding .ifcg-steps .step.is-done span{ background: var(--brand); color:#111 }
#ifcg-onboarding .ifcg-steps .step.is-done::after{
  background: var(--brand);
}

/* Cards */
#ifcg-onboarding .ifcg-pane{ background:var(--card); border-radius:var(--radius); box-shadow:var(--shadow); padding:clamp(16px,4vw,28px) }
#ifcg-onboarding .ifcg-pane h2{ margin:0 0 10px 0 }
#ifcg-onboarding .ifcg-muted{ color:var(--muted) }
#ifcg-onboarding .ifcg-pane[data-step="2"]{
  display:flex;
  flex-direction:column;
  gap:6px;
}
#ifcg-onboarding .ifcg-pane[data-step="2"] h2,
#ifcg-onboarding .ifcg-pane[data-step="2"] .ifcg-actions{
  margin:0;
}
#ifcg-onboarding .ifcg-pane[data-step="2"] .ifcg-grid{
  column-gap:12px;
  row-gap:6px;
}
#ifcg-onboarding .ifcg-pane[data-step="2"] > .ifcg-label,
#ifcg-onboarding .ifcg-pane[data-step="2"] .ifcg-grid .ifcg-label{
  margin:0;
}
#ifcg-onboarding .ifcg-pane[data-step="2"] .ifcg-actions{
  margin-top:8px;
}

/* Grid */
#ifcg-onboarding .ifcg-grid{ display:grid; grid-template-columns:1fr; gap:12px }
#ifcg-onboarding .ifcg-grid .ifcg-label--full{ grid-column:1 / -1 }
@media (min-width:720px){ #ifcg-onboarding .ifcg-grid{ grid-template-columns:1fr 1fr } }

/* Labels & inputs */
#ifcg-onboarding .ifcg-label{ display:flex; flex-direction:column; gap:6px; font-weight:600 }
#ifcg-onboarding .ifcg-control{
  min-height:44px; width:100%; border:1px solid #e6e8f0; border-radius:12px; padding:.75rem .9rem;
  background:#fff; transition:border .15s, box-shadow .15s; box-sizing:border-box;
}
#ifcg-onboarding .ifcg-control:focus{ box-shadow:0 0 0 3px rgba(240, 192, 0, 0.25); outline:0 }
#ifcg-onboarding textarea.ifcg-control,
#ifcg-my-profile textarea.ifcg-control{
  min-height:120px;
  line-height:1.5;
  resize:vertical;
}
#ifcg-onboarding .ifcg-field-error{
  color:#b42318;
  font-size:.85rem;
  font-weight:600;
  line-height:1.35;
}
#ifcg-onboarding .ifcg-label.has-error .ifcg-control{
  border-color:#f04438;
}
#ifcg-onboarding .ifcg-city-select{
  display:flex;
  flex-direction:column;
  gap:8px;
}
#ifcg-onboarding .ifcg-city-select__control{
  display:flex;
  flex-direction:column;
  gap:8px;
}
#ifcg-onboarding .ifcg-city-select__badges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  min-height:0;
}
#ifcg-onboarding .ifcg-city-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:32px;
  padding:4px 6px 4px 10px;
  border:1px solid #e6e8f0;
  border-radius:999px;
  background:#fff9df;
  color:#2f2500;
  font-size:.9rem;
  font-weight:700;
}
#ifcg-onboarding .ifcg-city-badge__remove{
  width:22px;
  height:22px;
  border:0;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#f1e2a0;
  color:#2f2500;
  cursor:pointer;
  font:inherit;
  line-height:1;
  padding:0;
}
#ifcg-onboarding .ifcg-city-badge__remove:hover{
  background:#e6ce67;
}

/* Buttons */
#ifcg-onboarding .ifcg-actions{ display:flex; gap:12px; justify-content:flex-end; margin-top:14px; flex-wrap:wrap }
#ifcg-onboarding .ifcg-btn{
  min-height:44px; border-radius:50px; padding:.75rem 1rem; border:1px solid #e6e8f0; background:#fff; cursor:pointer; font-weight:500;
}

#ifcg-onboarding .ifcg-btn:hover{
   border:1px solid var(--brand);  color: var(--brand); 
}

#ifcg-onboarding .ifcg-btn--primary {
    background: var(--brand);
    color: #fff;
}

#ifcg-onboarding .ifcg-btn--primary:hover {
    background: #fff;
    border-color: var(--brand);
    color: var(--brand);
}

#ifcg-onboarding .ifcg-btn[disabled]{ opacity:.6; pointer-events:none }

#ifcg-onboarding .ifcg-btn--verify,
#ifcg-my-profile .ifcg-btn--verify{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  box-sizing:border-box;
  text-align:center;
  text-decoration:none;
  font-size:1rem;
  line-height:1.4;
}

/* Type banner */
#ifcg-onboarding .type-banner{
  display:inline-flex; align-items:center; gap:8px; margin:10px 0 4px 0; padding:.6rem .9rem;
  border-radius:999px; font-weight:700; background:#eef2f7; color:#0f1220; border:1px solid #e6e8f0
}
#ifcg-onboarding .type-banner.type-partner{ background:#fff6df; color:#5b4100; border-color:#ffe2a6 }
#ifcg-onboarding .type-banner.type-influencer{ background:#eaf7ff; color:#003b52; border-color:#bfe7ff }

/* Toast */
#ifcg-onboarding .ifcg-toast{
  position:fixed; right:16px; bottom:16px; background:#111; color:#fff; padding:.7rem 1rem; border-radius:12px; box-shadow:var(--shadow)
}

/* Welcome hero */
#ifcg-onboarding .ifcg-pane--welcome { text-align:center; }
#ifcg-onboarding .ifcg-hero{
  display:flex; flex-direction:column; align-items:center; gap:8px;
}
#ifcg-onboarding .ifcg-hero__icon{
  width:56px; height:56px; border-radius:50%;
  display:grid; place-items:center;
  background: var(--brand); color:#111;
  box-shadow: var(--shadow);
}
#ifcg-onboarding .ifcg-hero__title{
  margin:10px 0 4px 0; font-size:1.5rem; line-height:1.2;
}
#ifcg-onboarding .ifcg-hero__subtitle{
  margin:0; font-weight:700;
}
#ifcg-onboarding .ifcg-hero__lead{
  margin:6px 0 0 0;
}

#ifcg-onboarding .ifcg-note{
  margin:6px 0 0 0; font-size:.9rem; color:var(--muted);
}

/* Social link cards */
#ifcg-onboarding .ifcg-sm-link{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; padding:.75rem .9rem; border:1px solid #e6e8f0; border-radius:12px; background:#fff;
}
#ifcg-onboarding .ifcg-sm-link__meta{ display:flex; flex-direction:column; gap:2px; font-weight:600; }
#ifcg-onboarding .ifcg-sm-link__meta span{ font-weight:400; color:var(--muted); }
#ifcg-onboarding .ifcg-sm-link__actions{ display:flex; align-items:center; gap:10px; }
#ifcg-onboarding .ifcg-sm-link__avatar{
  width:36px; height:36px; border-radius:50%; object-fit:cover; border:1px solid #e6e8f0;
}
#ifcg-onboarding .ifcg-sm-link__avatar--fallback{
  display:inline-flex; align-items:center; justify-content:center;
  background:#f3f4f6; color:#111827; font-size:12px; font-weight:700;
}

#ifcg-onboarding .ifcg-social{ display:flex; flex-direction:column; gap:14px; }
#ifcg-onboarding .ifcg-social__intro{
  padding:12px 14px; border:1px solid #eceff5; border-radius:12px; background:#fbfcfe;
}
#ifcg-onboarding .ifcg-social__intro .ifcg-note{ margin:0; }
#ifcg-onboarding .ifcg-social__grid{
  display:grid; grid-template-columns:1fr; gap:14px;
}
@media (min-width:720px){
  #ifcg-onboarding .ifcg-social__grid{ grid-template-columns:1fr 1fr; }
}
#ifcg-onboarding .ifcg-sm-card{
  border:1px solid #e6e8f0;
  border-radius:16px;
  background:linear-gradient(180deg,#ffffff 0%, #fbfcff 100%);
  padding:16px;
  display:flex;
  flex-direction:column;
  gap:16px;
}
#ifcg-onboarding .ifcg-sm-card--instagram{
  background:
    radial-gradient(circle at top left, rgba(238,42,123,.12), transparent 36%),
    linear-gradient(180deg,#ffffff 0%, #fff9fc 100%);
}
#ifcg-onboarding .ifcg-sm-card--tiktok{
  background:
    radial-gradient(circle at top left, rgba(37,244,238,.13), transparent 34%),
    linear-gradient(180deg,#ffffff 0%, #f8fbff 100%);
}
#ifcg-onboarding .ifcg-sm-card__head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
}
#ifcg-onboarding .ifcg-sm-card__title-wrap{
  display:flex;
  flex-direction:column;
  gap:4px;
}
#ifcg-onboarding .ifcg-sm-card__platform-icon{
  width:42px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  margin-bottom:6px;
  box-shadow:0 10px 22px rgba(15,18,32,.08);
}
#ifcg-onboarding .ifcg-sm-card--instagram .ifcg-sm-card__platform-icon{
  background:linear-gradient(135deg,#fff0b8 0%, #ffd3e2 55%, #e2ddff 100%);
}
#ifcg-onboarding .ifcg-sm-card--instagram .ifcg-sm-card__platform-icon svg{
  width:24px;
  height:24px;
  display:block;
}
#ifcg-onboarding .ifcg-sm-card--tiktok .ifcg-sm-card__platform-icon{
  background:linear-gradient(135deg,#effffd 0%, #dff8ff 100%);
  color:#111827;
}
#ifcg-onboarding .ifcg-sm-card--tiktok .ifcg-sm-card__platform-icon svg{
  width:24px;
  height:24px;
  display:block;
}
#ifcg-onboarding .ifcg-sm-card__eyebrow{
  font-size:.75rem;
  line-height:1;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted);
  font-weight:700;
}
#ifcg-onboarding .ifcg-sm-card__title{
  font-size:1rem;
  line-height:1.25;
}
#ifcg-onboarding .ifcg-sm-card__status{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  padding:0 10px;
  border-radius:999px;
  border:1px solid #e6e8f0;
  background:#f8fafc;
  color:var(--muted);
  font-size:.8rem;
  font-weight:700;
  white-space:nowrap;
}
#ifcg-onboarding .ifcg-sm-card__status.is-linked{
  padding:4px;
  min-width:28px;
  background:#ecfdf3;
  border-color:#b7ebc6;
  color:#166534;
}
#ifcg-onboarding .ifcg-sm-card__status-check{
  width:18px;
  height:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:#16a34a;
  color:#fff;
}
#ifcg-onboarding .ifcg-sm-card__status-check svg{
  width:12px;
  height:12px;
  display:block;
}
#ifcg-onboarding .ifcg-sm-card__body{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
#ifcg-onboarding .ifcg-sm-card__identity{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
#ifcg-onboarding .ifcg-sm-card__meta{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0;
}
#ifcg-onboarding .ifcg-sm-card__handle{
  color:var(--text);
  font-weight:600;
  overflow-wrap:anywhere;
}

#ifcg-onboarding .ifcg-instagram-verification,
#ifcg-my-profile .ifcg-instagram-verification{
  min-height:260px;
}

#ifcg-onboarding .ifcg-ig-state,
#ifcg-my-profile .ifcg-ig-state{
  display:flex;
  flex-direction:column;
  gap:12px;
}

#ifcg-onboarding .ifcg-ig-state[hidden],
#ifcg-my-profile .ifcg-ig-state[hidden]{
  display:none;
}

#ifcg-onboarding .ifcg-ig-state--verified,
#ifcg-my-profile .ifcg-ig-state--verified{
  flex-direction:row;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

/* Keep verification and unlink actions at the bottom of equal-height cards. */
#ifcg-onboarding .ifcg-sm-card > .ifcg-sm-card__body,
#ifcg-onboarding .ifcg-sm-card > .ifcg-ig-state,
#ifcg-my-profile .ifcg-sm-card > .ifcg-sm-card__body,
#ifcg-my-profile .ifcg-sm-card > .ifcg-ig-state{
  flex:1;
  flex-direction:column;
  align-items:stretch;
  justify-content:flex-start;
  flex-wrap:nowrap;
}

#ifcg-onboarding .ifcg-sm-card__body > .ifcg-btn--verify,
#ifcg-onboarding .ifcg-ig-state > .ifcg-btn--verify,
#ifcg-onboarding .ifcg-ig-state--verified > .ifcg-ig-actions,
#ifcg-my-profile .ifcg-sm-card__body > .ifcg-btn--verify,
#ifcg-my-profile .ifcg-ig-state > .ifcg-btn--verify,
#ifcg-my-profile .ifcg-ig-state--verified > .ifcg-ig-actions{
  margin-top:auto;
}

#ifcg-onboarding .ifcg-ig-state--verified > .ifcg-ig-actions,
#ifcg-my-profile .ifcg-ig-state--verified > .ifcg-ig-actions{
  width:100%;
}

#ifcg-onboarding .ifcg-ig-instructions,
#ifcg-my-profile .ifcg-ig-instructions{
  display:flex;
  flex-direction:column;
  gap:4px;
  color:var(--muted);
}

#ifcg-onboarding .ifcg-ig-instructions a,
#ifcg-my-profile .ifcg-ig-instructions a{
  color:var(--text);
  font-weight:700;
  text-decoration:none;
}

#ifcg-onboarding .ifcg-ig-code,
#ifcg-my-profile .ifcg-ig-code{
  width:100%;
  min-height:54px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px dashed #ccd3df;
  border-radius:12px;
  background:#fff;
  color:#0f1220;
  font-size:1.35rem;
  font-weight:800;
  letter-spacing:0;
  font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

#ifcg-onboarding .ifcg-ig-code[hidden],
#ifcg-my-profile .ifcg-ig-code[hidden]{
  display:none;
}

#ifcg-onboarding .ifcg-ig-actions,
#ifcg-my-profile .ifcg-ig-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

#ifcg-onboarding .ifcg-verified-date,
#ifcg-my-profile .ifcg-verified-date{
  display:inline-flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

#ifcg-onboarding .type-badge{
  display:inline-flex; align-items:center; justify-content:center;
  margin:8px 0 2px 0; padding:.35rem .8rem; border-radius:999px;
  font-weight:700; border:1px solid #e6e8f0; background:#eef2f7; color:#0f1220;
}
#ifcg-onboarding .type-badge.type-partner{ background:#fff6df; color:#5b4100; border-color:#ffe2a6 }
#ifcg-onboarding .type-badge.type-influencer{ background:#eaf7ff; color:#003b52; border-color:#bfe7ff }

/* Profile layout: avatar column + form column */
#ifcg-onboarding .profile{
  display:grid;
  grid-template-columns: 1fr;
  gap:6px;
  align-items:start;
}
#ifcg-onboarding .profile .ifcg-label,
#ifcg-onboarding .profile .ifcg-control{
  margin:0;
}
#ifcg-onboarding .profile .ifcg-avatar{
  margin-bottom:6px;
}


/* Avatar preview: centered square */
#ifcg-onboarding .ifcg-avatar{ display:flex; flex-direction:column; gap:12px; align-items:center; }
#ifcg-onboarding .ifcg-avatar__preview{
  width: 200px;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  background: #f2f5fa;
  border: 1px solid #e6e8f0;
  position: relative;
}
@media (max-width:480px){
  #ifcg-onboarding .ifcg-avatar__preview{ width:160px; height:160px; }
}
#ifcg-onboarding .ifcg-avatar__preview img{
  display:block; width:100%; height:100%; object-fit: cover; object-position: center;
}
#ifcg-onboarding .ifcg-avatar__error{
  margin: -4px 0 0;
  max-width: 240px;
  color: #b42318;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}
#ifcg-onboarding .ifcg-avatar.has-error .ifcg-avatar__preview{
  border-color: #f04438;
  box-shadow: 0 0 0 3px rgba(240, 68, 56, .14);
}

/* Uploading state */
#ifcg-onboarding .ifcg-avatar.is-uploading .ifcg-avatar__preview::after{
  content:""; position:absolute; inset:0; background:rgba(255,255,255,.65); border-radius:16px;
  backdrop-filter: blur(1px);
}
#ifcg-onboarding .ifcg-avatar.is-uploading .ifcg-avatar__preview::before{
  content:""; position:absolute; left:50%; top:50%;
  width:28px; height:28px; border-radius:50%;
  border:3px solid rgba(0,0,0,.2); border-top-color:#111;
  transform: translate(-50%,-50%); animation: ifcgspin .8s linear infinite;
}
@keyframes ifcgspin{ to{ transform: translate(-50%,-50%) rotate(360deg); } }

/* Disable/visual while uploading */
#ifcg-onboarding .ifcg-btn.is-loading{ pointer-events:none; opacity:.6; }

#ifcg-my-profile{
  --brand:#F9C608;
  --primary:#36383a;
  --bg:#f9f9f9;
  --card:#fff;
  --text:#0f1220;
  --muted:#667085;
  --radius:16px;
  --shadow:0 10px 30px rgba(0,0,0,.08);
}

body.ifcg-my-profile-page,
body.ifcg-my-profile-page .main-content,
body.ifcg-my-profile-page .page-control,
body.ifcg-my-profile-page .site-layout,
body.ifcg-my-profile-page .content-area,
body.ifcg-my-profile-page .site-main,
body.ifcg-my-profile-page #primary,
body.ifcg-my-profile-page #content{
  background:#f9f9f9;
}

#ifcg-my-profile.ifcg-wrap{
  max-width:1180px;
  margin:0 auto;
  padding:clamp(16px,5vw,40px);
  display:grid;
  grid-template-columns:180px minmax(0,960px);
  gap:24px;
  align-items:start;
}

#ifcg-my-profile .ifcg-profile-nav{
  position:sticky;
  top:24px;
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:6px 0;
}

body.admin-bar #ifcg-my-profile .ifcg-profile-nav{
  top:56px;
}

#ifcg-my-profile .ifcg-profile-nav a{
  position:relative;
  min-height:36px;
  display:flex;
  align-items:center;
  padding:8px 10px 8px 18px;
  color:var(--muted);
  font-size:.92rem;
  font-weight:700;
  line-height:1.25;
  text-decoration:none;
  border-radius:10px;
}

#ifcg-my-profile .ifcg-profile-nav a::before{
  content:"";
  position:absolute;
  left:0;
  top:9px;
  bottom:9px;
  width:3px;
  border-radius:999px;
  background:#d7dce6;
}

#ifcg-my-profile .ifcg-profile-nav a:hover,
#ifcg-my-profile .ifcg-profile-nav a.is-active{
  color:var(--text);
  background:#fff;
}

#ifcg-my-profile .ifcg-profile-nav a.is-active::before{
  background:var(--brand);
}

#ifcg-my-profile .ifcg-form{
  display:flex;
  flex-direction:column;
  gap:22px;
}

#ifcg-my-profile .ifcg-profile-card{
  display:flex;
  flex-direction:column;
  gap:22px;
  min-width:0;
}

#ifcg-my-profile .ifcg-profile-section{
  display:flex;
  flex-direction:column;
  gap:14px;
  padding-top:22px;
  border-top:1px solid #eceff5;
  scroll-margin-top:24px;
}

#ifcg-my-profile .ifcg-form:first-child .ifcg-profile-section:first-child{
  padding-top:0;
  border-top:0;
}

#ifcg-my-profile .ifcg-section-divider{
  height:1px;
  background:#dfe4ee;
  margin:2px 0;
}

#ifcg-my-profile .ifcg-password-form .ifcg-profile-section{
  padding-top:0;
  border-top:0;
}

@media (max-width:900px){
  #ifcg-my-profile.ifcg-wrap{
    max-width:960px;
    grid-template-columns:1fr;
    gap:14px;
  }

  #ifcg-my-profile .ifcg-profile-nav{
    top:0;
    z-index:20;
    flex-direction:row;
    gap:6px;
    overflow-x:auto;
    padding:8px 0;
    background:#f9f9f9;
    -webkit-overflow-scrolling:touch;
  }

  body.admin-bar #ifcg-my-profile .ifcg-profile-nav{
    top:46px;
  }

  #ifcg-my-profile .ifcg-profile-nav a{
    flex:0 0 auto;
    min-height:34px;
    padding:8px 12px;
    white-space:nowrap;
    border:1px solid #e6e8f0;
    background:#fff;
  }

  #ifcg-my-profile .ifcg-profile-nav a::before{
    display:none;
  }

  #ifcg-my-profile .ifcg-profile-nav a.is-active{
    border-color:var(--brand);
    box-shadow:0 0 0 3px rgba(249, 198, 8, .18);
  }
}

#ifcg-my-profile .ifcg-pane{
  background:var(--card);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:clamp(16px,4vw,28px);
}

#ifcg-my-profile .ifcg-pane h2{ margin:0; }
#ifcg-my-profile .ifcg-muted{ color:var(--muted); }

#ifcg-my-profile .ifcg-section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

#ifcg-my-profile .ifcg-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}
#ifcg-my-profile .ifcg-grid .ifcg-label--full{ grid-column:1 / -1; }
@media (min-width:720px){
  #ifcg-my-profile .ifcg-grid{ grid-template-columns:1fr 1fr; }
}

#ifcg-my-profile .ifcg-label{
  display:flex;
  flex-direction:column;
  gap:6px;
  font-weight:600;
}

#ifcg-my-profile .ifcg-control{
  min-height:44px;
  width:100%;
  border:1px solid #e6e8f0;
  border-radius:12px;
  padding:.75rem .9rem;
  background:#fff;
  transition:border .15s, box-shadow .15s;
  box-sizing:border-box;
}

#ifcg-my-profile .ifcg-control:focus{
  box-shadow:0 0 0 3px rgba(240, 192, 0, 0.25);
  outline:0;
}

#ifcg-my-profile .ifcg-field-error,
#ifcg-my-profile .ifcg-avatar__error{
  color:#b42318;
  font-size:.85rem;
  font-weight:600;
  line-height:1.35;
}

#ifcg-my-profile .ifcg-label.has-error .ifcg-control{
  border-color:#f04438;
}

#ifcg-my-profile .ifcg-actions{
  display:flex;
  gap:12px;
  justify-content:flex-end;
  margin-top:14px;
  flex-wrap:wrap;
}

#ifcg-my-profile .ifcg-btn{
  min-height:44px;
  border-radius:50px;
  padding:.75rem 1rem;
  border:1px solid #e6e8f0;
  background:#fff;
  cursor:pointer;
  font-weight:500;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

#ifcg-my-profile .ifcg-btn:hover{
  border:1px solid var(--brand);
  color:var(--brand);
}

#ifcg-my-profile .ifcg-btn--primary{
  background:var(--brand);
  color:#fff;
}

#ifcg-my-profile .ifcg-btn--primary:hover{
  background:#fff;
  border-color:var(--brand);
  color:var(--brand);
}

#ifcg-my-profile .ifcg-btn[disabled],
#ifcg-my-profile .ifcg-btn.is-loading{
  opacity:.6;
  pointer-events:none;
}

#ifcg-my-profile .type-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.35rem .8rem;
  border-radius:999px;
  font-weight:700;
  border:1px solid #e6e8f0;
  background:#eef2f7;
  color:#0f1220;
}
#ifcg-my-profile .type-badge.type-partner{ background:#fff6df; color:#5b4100; border-color:#ffe2a6; }
#ifcg-my-profile .type-badge.type-influencer{ background:#eaf7ff; color:#003b52; border-color:#bfe7ff; }

#ifcg-my-profile .profile{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
  align-items:start;
}

#ifcg-my-profile .ifcg-avatar{
  display:flex;
  flex-direction:column;
  gap:12px;
  align-items:center;
}

#ifcg-my-profile .ifcg-avatar__preview{
  width:200px;
  height:200px;
  border-radius:16px;
  overflow:hidden;
  background:#f2f5fa;
  border:1px solid #e6e8f0;
  position:relative;
}
@media (max-width:480px){
  #ifcg-my-profile .ifcg-avatar__preview{ width:160px; height:160px; }
}
#ifcg-my-profile .ifcg-avatar__preview img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
#ifcg-my-profile .ifcg-avatar.has-error .ifcg-avatar__preview{
  border-color:#f04438;
  box-shadow:0 0 0 3px rgba(240, 68, 56, .14);
}
#ifcg-my-profile .ifcg-avatar.is-uploading .ifcg-avatar__preview::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(255,255,255,.65);
  border-radius:16px;
  backdrop-filter:blur(1px);
}
#ifcg-my-profile .ifcg-avatar.is-uploading .ifcg-avatar__preview::before{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:28px;
  height:28px;
  border-radius:50%;
  border:3px solid rgba(0,0,0,.2);
  border-top-color:#111;
  transform:translate(-50%,-50%);
  animation:ifcgspin .8s linear infinite;
}

#ifcg-my-profile .ifcg-city-select,
#ifcg-my-profile .ifcg-city-select__control{
  display:flex;
  flex-direction:column;
  gap:8px;
}
#ifcg-my-profile .ifcg-city-select__badges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  min-height:0;
}
#ifcg-my-profile .ifcg-city-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:32px;
  padding:4px 6px 4px 10px;
  border:1px solid #e6e8f0;
  border-radius:999px;
  background:#fff9df;
  color:#2f2500;
  font-size:.9rem;
  font-weight:700;
}
#ifcg-my-profile .ifcg-city-badge__remove{
  width:22px;
  height:22px;
  border:0;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#f1e2a0;
  color:#2f2500;
  cursor:pointer;
  font:inherit;
  line-height:1;
  padding:0;
}
#ifcg-my-profile .ifcg-city-badge__remove:hover{ background:#e6ce67; }

#ifcg-my-profile .ifcg-social{
  display:flex;
  flex-direction:column;
  gap:14px;
}
#ifcg-my-profile .ifcg-social__grid{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
}
@media (min-width:720px){
  #ifcg-my-profile .ifcg-social__grid{ grid-template-columns:1fr 1fr; }
}
#ifcg-my-profile .ifcg-sm-card{
  border:1px solid #e6e8f0;
  border-radius:16px;
  background:linear-gradient(180deg,#ffffff 0%, #fbfcff 100%);
  padding:16px;
  display:flex;
  flex-direction:column;
  gap:16px;
}
#ifcg-my-profile .ifcg-sm-card--instagram{
  background:
    radial-gradient(circle at top left, rgba(238,42,123,.12), transparent 36%),
    linear-gradient(180deg,#ffffff 0%, #fff9fc 100%);
}
#ifcg-my-profile .ifcg-sm-card--tiktok{
  background:
    radial-gradient(circle at top left, rgba(37,244,238,.13), transparent 34%),
    linear-gradient(180deg,#ffffff 0%, #f8fbff 100%);
}
#ifcg-my-profile .ifcg-sm-card__head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
}
#ifcg-my-profile .ifcg-sm-card__body{
  display:flex;
  flex:1;
  flex-direction:column;
  align-items:stretch;
  justify-content:flex-start;
  gap:12px;
  flex-wrap:nowrap;
}
#ifcg-my-profile .ifcg-sm-card__title-wrap{
  display:flex;
  flex-direction:column;
  gap:4px;
}
#ifcg-my-profile .ifcg-sm-card__meta{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0;
}
#ifcg-my-profile .ifcg-sm-card__platform-icon{
  width:42px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  margin-bottom:6px;
  box-shadow:0 10px 22px rgba(15,18,32,.08);
}
#ifcg-my-profile .ifcg-sm-card--instagram .ifcg-sm-card__platform-icon{
  background:linear-gradient(135deg,#fff0b8 0%, #ffd3e2 55%, #e2ddff 100%);
}
#ifcg-my-profile .ifcg-sm-card--tiktok .ifcg-sm-card__platform-icon{
  background:linear-gradient(135deg,#effffd 0%, #dff8ff 100%);
  color:#111827;
}
#ifcg-my-profile .ifcg-sm-card__platform-icon svg{
  width:24px;
  height:24px;
  display:block;
  flex:0 0 auto;
}
#ifcg-my-profile .ifcg-sm-card__eyebrow{
  font-size:.75rem;
  line-height:1;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted);
  font-weight:700;
}
#ifcg-my-profile .ifcg-sm-card__title{ font-size:1rem; line-height:1.25; }
#ifcg-my-profile .ifcg-sm-card__identity{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
#ifcg-my-profile .ifcg-sm-link__avatar{
  width:36px;
  height:36px;
  border-radius:50%;
  object-fit:cover;
  border:1px solid #e6e8f0;
}
#ifcg-my-profile .ifcg-sm-link__avatar--fallback{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#f3f4f6;
  color:#111827;
  font-size:12px;
  font-weight:700;
}
#ifcg-my-profile .ifcg-sm-card__handle{
  color:var(--text);
  font-weight:600;
  overflow-wrap:anywhere;
}
#ifcg-my-profile .ifcg-sm-card__status{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  padding:0 10px;
  border-radius:999px;
  border:1px solid #e6e8f0;
  background:#f8fafc;
  color:var(--muted);
  font-size:.8rem;
  font-weight:700;
  white-space:nowrap;
}
#ifcg-my-profile .ifcg-sm-card__status.is-linked{
  padding:4px;
  min-width:28px;
  background:#ecfdf3;
  border-color:#b7ebc6;
  color:#166534;
}
#ifcg-my-profile .ifcg-sm-card__status-check{
  width:18px;
  height:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:#16a34a;
  color:#fff;
}
#ifcg-my-profile .ifcg-sm-card__status-check svg{
  width:12px;
  height:12px;
  display:block;
}

#ifcg-my-profile .ifcg-toast{
  position:fixed;
  right:16px;
  bottom:16px;
  background:#111;
  color:#fff;
  padding:.7rem 1rem;
  border-radius:12px;
  box-shadow:var(--shadow);
}

body.ifcg-profile-modal-open{
  overflow:hidden;
}

#ifcg-my-profile .ifcg-profile-save-modal[hidden]{
  display:none;
}

#ifcg-my-profile .ifcg-profile-save-modal{
  position:fixed;
  inset:0;
  z-index:100000;
  display:grid;
  place-items:center;
  padding:20px;
}

#ifcg-my-profile .ifcg-profile-save-modal__backdrop{
  position:absolute;
  inset:0;
  background:rgba(15,18,32,.58);
  backdrop-filter:blur(3px);
}

#ifcg-my-profile .ifcg-profile-save-modal__dialog{
  position:relative;
  z-index:1;
  width:min(100%, 540px);
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
  padding:clamp(24px, 5vw, 36px);
  border:1px solid #e6e8f0;
  border-radius:20px;
  background:#fff;
  color:var(--text);
  text-align:center;
  box-shadow:0 24px 70px rgba(15,18,32,.25);
}

#ifcg-my-profile .ifcg-profile-save-modal__dialog:focus{
  outline:none;
}

#ifcg-my-profile .ifcg-profile-save-modal__icon{
  width:58px;
  height:58px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#ecfdf3;
  color:#15803d;
}

#ifcg-my-profile .ifcg-profile-save-modal__icon svg{
  width:32px;
  height:32px;
  display:block;
}

#ifcg-my-profile .ifcg-profile-save-modal__dialog h2,
#ifcg-my-profile .ifcg-profile-save-modal__dialog p{
  margin:0;
}

#ifcg-my-profile .ifcg-profile-save-modal__dialog h2{
  font-size:1.45rem;
  line-height:1.25;
}

#ifcg-my-profile .ifcg-profile-save-modal__dialog p{
  color:var(--muted);
  line-height:1.6;
}

#ifcg-my-profile .ifcg-profile-save-modal__detail{
  padding:12px 14px;
  border:1px solid #f1df95;
  border-radius:12px;
  background:#fff9df;
  color:#594600 !important;
}

#ifcg-my-profile .ifcg-profile-save-modal__dialog .ifcg-btn{
  min-width:160px;
  margin-top:4px;
}
