[data-claim-profile-root] {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, calc(22px + env(safe-area-inset-bottom)));
  z-index: 110;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html.ig-import-active body > #root {
  display: none !important;
}

.claim-profile-button {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  background: #111827;
  color: #fff;
  box-shadow: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.claim-profile-actions-float {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.16);
  backdrop-filter: blur(14px);
}

.claim-profile-button {
  text-decoration: none;
}

.claim-profile-button--instagram {
  background: #df0a3d;
}

.claim-profile-button--instagram:hover {
  background: #c50936;
}

.claim-profile-actions-float button.claim-profile-button {
  background: #fff;
  color: #111827;
  border: 1px solid rgba(17, 24, 39, 0.1);
}

.claim-profile-actions-float button.claim-profile-button:hover {
  background: #f9fafb;
}

.claim-profile-button:hover {
  background: #000;
  transform: translateY(-1px);
  box-shadow: 0 22px 54px rgba(17, 24, 39, 0.28);
}

.claim-profile-button:focus-visible,
.claim-profile-modal button:focus-visible,
.claim-profile-modal input:focus-visible,
.claim-profile-modal textarea:focus-visible {
  outline: 3px solid rgba(224, 9, 62, 0.22);
  outline-offset: 2px;
}

.claim-profile-button svg {
  width: 17px;
  height: 17px;
}

.claim-profile-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(17, 24, 39, 0.48);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.claim-profile-modal {
  width: min(100%, 460px);
  max-height: min(720px, 92dvh);
  overflow: auto;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.26);
  color: #111827;
}

.claim-profile-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 22px 14px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.claim-profile-modal__eyebrow {
  margin: 0 0 6px;
  color: #df0a3d;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.claim-profile-modal h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: 0;
}

.claim-profile-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #f3f4f6;
  color: #4b5563;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.claim-profile-modal__body {
  padding: 18px 22px 22px;
}

.claim-profile-modal__body p {
  margin: 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.65;
}

.claim-profile-notice {
  margin: 16px 0;
  border-radius: 16px;
  background: #f9fafb;
  border: 1px solid rgba(17, 24, 39, 0.07);
  padding: 13px 14px;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.55;
}

.claim-profile-field {
  display: grid;
  gap: 7px;
  margin-top: 14px;
}

.claim-profile-field label {
  color: #374151;
  font-size: 12px;
  font-weight: 800;
}

.claim-profile-field input,
.claim-profile-field textarea {
  width: 100%;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 14px;
  background: #fff;
  color: #111827;
  padding: 12px 13px;
  font-size: 14px;
  line-height: 1.35;
}

.claim-profile-field textarea {
  min-height: 94px;
  resize: vertical;
}

.claim-profile-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.claim-profile-actions button,
.claim-profile-actions a {
  min-height: 44px;
  border-radius: 13px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.claim-profile-submit {
  flex: 1;
  border: 0;
  background: #df0a3d;
  color: #fff;
}

.claim-profile-cancel {
  border: 1px solid rgba(17, 24, 39, 0.1);
  background: #fff;
  color: #374151;
}

.claim-profile-toast {
  margin-top: 12px;
  color: #166534;
  background: #ecfdf3;
  border: 1px solid #bbf7d0;
  border-radius: 13px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 640px) {
  [data-claim-profile-root] {
    left: 14px;
    right: 14px;
    bottom: max(14px, calc(14px + env(safe-area-inset-bottom)));
  }

  .claim-profile-button {
    width: 100%;
    justify-content: center;
  }

  .claim-profile-actions-float {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    border-radius: 18px;
  }

  .claim-profile-backdrop {
    align-items: flex-end;
    padding: 12px;
  }

  .claim-profile-modal {
    border-radius: 20px;
  }

  .claim-profile-actions {
    flex-direction: column;
  }
}
