.djc-instagram-profile {
    display: grid;
    gap: 14px;
    min-width: 0;
}
.djc-instagram-shortcode,
.publicmain > .djc-instagram-profile {
    margin-block: 24px;
}
.djc-instagram-identity,
.djc-instagram-actions,
.djc-instagram-dialog-header {
    display: flex;
    align-items: center;
    gap: 12px;
}
.djc-instagram-identity > div { min-width: 0; }
.djc-instagram-avatar {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}
.djc-instagram-profile h2 { margin: 0; }
.djc-instagram-label,
.djc-instagram-handle { overflow-wrap: anywhere; }
.djc-instagram-profile .djc-instagram-description,
.djc-instagram-profile .djc-instagram-handle { margin: 0; }
.djc-instagram-actions { flex-wrap: wrap; }
.djc-instagram-actions > :is(a, button) { min-height: 44px; }

.djc-instagram-dialog {
    box-sizing: border-box;
    width: min(540px, calc(100% - 24px));
    max-width: none;
    max-height: 92dvh;
    padding: clamp(12px, 4vw, 24px);
    border: 1px solid var(--line, #383833);
    border-radius: var(--radius, 18px);
    background: var(--panel, #20201e);
    color: var(--ink, #f6f5ef);
    font-family: 'DM Sans', sans-serif;
}
.djc-instagram-dialog::backdrop { background: rgb(0 0 0 / 70%); }
.djc-instagram-dialog-header { justify-content: space-between; }
.djc-instagram-dialog-header h2 { margin: 0; color: inherit; font-family: Manrope, sans-serif; }
.djc-instagram-dialog-header button {
    min-width: 44px;
    min-height: 44px;
    border: 1px solid var(--line, #383833);
    border-radius: 8px;
    background: transparent;
    color: inherit;
    font-size: 24px;
    line-height: 1;
}
.djc-instagram-dialog p { color: var(--muted, #aaa99f); }
.djc-instagram-direct {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--ink, #f6f5ef);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.djc-instagram-dialog iframe {
    display: block;
    width: 100%;
    height: min(60dvh, 560px);
    border: 0;
    border-radius: 8px;
    background: #fff;
}
