/* Explain: Styling for the TikTok profile embed component. */
.profile-phone.tiktok-profile-phone {
    width: min(100%, 336px);
    border-width: 8px;
}
.tiktok-profile-screen {
    padding-top: 26px;
    overflow-x: hidden;
}
.tiktok-embed-host { width: 100%; }
.tiktok-profile-screen:not([data-state="ready"]) .tiktok-embed-host {
    position: absolute;
    inset: 26px 0 auto;
    visibility: hidden;
    pointer-events: none;
}
.tiktok-profile-frame {
    display: block;
    width: 100%;
    height: 640px;
    min-height: 480px;
    border: 0;
    background: var(--surface-color);
}
.tiktok-profile-consent,
.tiktok-profile-feedback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    min-height: 410px;
    padding: 28px 18px;
    text-align: center;
}
.tiktok-profile-consent > i {
    font-size: 32px;
    color: var(--text-color);
}
.tiktok-profile-consent h3 {
    font-size: 17px;
    line-height: 1.45;
    font-weight: 800;
    letter-spacing: -.025em;
}
.tiktok-profile-handle {
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
    overflow-wrap: anywhere;
}
.tiktok-profile-copy {
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}
.tiktok-profile-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.6;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.tiktok-profile-feedback .loading { color: var(--primary-color); }
@media (max-width: 360px) {
    .profile-stage.tiktok-profile-stage {
        width: calc(100% + 16px);
        max-width: calc(100vw - 16px);
    }
}